@tryghost/portal 2.31.2 → 2.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +14 -10
- package/umd/portal.min.js +63 -56
- package/umd/portal.min.js.map +1 -1
package/umd/portal.min.js
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".gh-portal-account-header{display:flex;flex-direction:column;align-items:center;margin:0 0 32px}.gh-portal-account-header .gh-portal-avatar{margin:6px 0 8px!important}.gh-portal-account-data{margin-bottom:40px}footer.gh-portal-account-footer{display:flex}.gh-portal-account-footer.paid{margin-top:12px}.gh-portal-account-footermenu{display:flex;align-items:center;list-style:none;padding:0;margin:0}.gh-portal-account-footerright{display:flex;flex-grow:1;align-items:center;justify-content:flex-end}.gh-portal-account-footermenu li{margin-right:16px}.gh-portal-account-footermenu li:last-of-type{margin-right:0}.gh-portal-freeaccount-newsletter{display:flex;align-items:center;justify-content:space-between;margin-top:24px}.gh-portal-freeaccount-newsletter .label{display:flex;flex-direction:column;flex-grow:1}.gh-portal-free-ctatext{margin-top:-12px}.gh-portal-cancelcontinue-container{margin:24px 0 32px}.gh-portal-list-detail .gh-portal-email-notice{display:flex;align-items:center;gap:5px;margin-top:6px;color:var(--red);font-weight:500;font-size:1.25rem;letter-spacing:.2px}.gh-portal-email-notice-icon{width:20px;height:20px}.gh-portal-billing-button-loader{width:32px;height:32px;margin-right:-3px;opacity:.6}.gh-portal-product-icon{width:52px;margin-right:12px;border-radius:2px}.gh-portal-account-discountcontainer{position:relative;display:flex;align-items:center}.gh-portal-account-old-price{text-decoration:line-through;color:var(--grey9)!important}.gh-portal-account-tagicon{width:16px;height:16px;color:var(--brandcolor);margin-right:5px;z-index:999}@media (max-width: 390px){.gh-portal-account-footer{padding:0!important}}@media (max-width: 340px){.gh-portal-account-footer{padding:0!important;flex-wrap:wrap;gap:12px}.gh-portal-account-footer .gh-portal-account-footerright{justify-content:flex-start}}.gh-email-suppressed-page-title{margin-bottom:14px}.gh-email-suppressed-page-icon{display:block;width:38px;height:38px;margin:0 auto 18px}.gh-email-suppressed-page-text{padding:0 14px;text-align:center;color:var(--grey6)}.gh-email-faq-footer-text{color:var(--grey8)}.gh-portal-list-detail.email-newsletter .gh-email-faq-page-button{display:block;margin-top:3px}.accountEmail .gh-email-faq-page-button{margin-left:4px}.emailReceivingFAQ .gh-portal-btn-back,.emailReceivingFAQ .gh-portal-btn-back:hover{left:calc(6vmin - 14px)}.emailReceivingFAQ .gh-portal-closeicon-container{right:calc(6vmin - 20px)}@media (max-width: 480px){.emailReceivingFAQ .gh-portal-btn-back,.emailReceivingFAQ .gh-portal-btn-back:hover{left:16px}.emailReceivingFAQ .gh-portal-closeicon-container{right:24px}}.gh-email-faq-page-button{color:var(--brandcolor);cursor:pointer;background:none;transition:color linear .1s;font-size:1.45rem}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
(function(
|
|
2
|
+
(function(ve){typeof define=="function"&&define.amd?define(ve):ve()})(function(){var du,Gg,Vg;"use strict";var lC=Object.defineProperty;var cC=(ve,tt,He)=>tt in ve?lC(ve,tt,{enumerable:!0,configurable:!0,writable:!0,value:He}):ve[tt]=He;var Q=(ve,tt,He)=>(cC(ve,typeof tt!="symbol"?tt+"":tt,He),He);function ve(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tt={exports:{}},He={};/*
|
|
3
3
|
object-assign
|
|
4
4
|
(c) Sindre Sorhus
|
|
5
5
|
@license MIT
|
|
6
|
-
*/var
|
|
6
|
+
*/var hu=Object.getOwnPropertySymbols,Jg=Object.prototype.hasOwnProperty,Qg=Object.prototype.propertyIsEnumerable;function Xg(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Zg(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(r.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var gu=Zg()?Object.assign:function(e,t){for(var n,r=Xg(e),i,o=1;o<arguments.length;o++){n=Object(arguments[o]);for(var a in n)Jg.call(n,a)&&(r[a]=n[a]);if(hu){i=hu(n);for(var s=0;s<i.length;s++)Qg.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},yu={exports:{}},R={};/** @license React v17.0.2
|
|
7
7
|
* react.production.min.js
|
|
8
8
|
*
|
|
9
9
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
10
10
|
*
|
|
11
11
|
* This source code is licensed under the MIT license found in the
|
|
12
12
|
* LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/var
|
|
13
|
+
*/var rs=gu,Nn=60103,bu=60106;R.Fragment=60107,R.StrictMode=60108,R.Profiler=60114;var vu=60109,ku=60110,wu=60112;R.Suspense=60113;var xu=60115,Su=60116;if(typeof Symbol=="function"&&Symbol.for){var We=Symbol.for;Nn=We("react.element"),bu=We("react.portal"),R.Fragment=We("react.fragment"),R.StrictMode=We("react.strict_mode"),R.Profiler=We("react.profiler"),vu=We("react.provider"),ku=We("react.context"),wu=We("react.forward_ref"),R.Suspense=We("react.suspense"),xu=We("react.memo"),Su=We("react.lazy")}var Eu=typeof Symbol=="function"&&Symbol.iterator;function ey(e){return e===null||typeof e!="object"?null:(e=Eu&&e[Eu]||e["@@iterator"],typeof e=="function"?e:null)}function Tr(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Cu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$u={};function Tn(e,t,n){this.props=e,this.context=t,this.refs=$u,this.updater=n||Cu}Tn.prototype.isReactComponent={},Tn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(Tr(85));this.updater.enqueueSetState(this,e,t,"setState")},Tn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _u(){}_u.prototype=Tn.prototype;function is(e,t,n){this.props=e,this.context=t,this.refs=$u,this.updater=n||Cu}var os=is.prototype=new _u;os.constructor=is,rs(os,Tn.prototype),os.isPureReactComponent=!0;var as={current:null},Pu=Object.prototype.hasOwnProperty,ju={key:!0,ref:!0,__self:!0,__source:!0};function Nu(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)Pu.call(t,r)&&!ju.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:Nn,type:e,key:o,ref:a,props:i,_owner:as.current}}function ty(e,t){return{$$typeof:Nn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ss(e){return typeof e=="object"&&e!==null&&e.$$typeof===Nn}function ny(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Tu=/\/+/g;function ls(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ny(""+e.key):t.toString(36)}function Wi(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Nn:case bu:a=!0}}if(a)return a=e,i=i(a),e=r===""?"."+ls(a,0):r,Array.isArray(i)?(n="",e!=null&&(n=e.replace(Tu,"$&/")+"/"),Wi(i,t,n,"",function(u){return u})):i!=null&&(ss(i)&&(i=ty(i,n+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(Tu,"$&/")+"/")+e)),t.push(i)),1;if(a=0,r=r===""?".":r+":",Array.isArray(e))for(var s=0;s<e.length;s++){o=e[s];var l=r+ls(o,s);a+=Wi(o,t,n,l,i)}else if(l=ey(e),typeof l=="function")for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=r+ls(o,s++),a+=Wi(o,t,n,l,i);else if(o==="object")throw t=""+e,Error(Tr(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return a}function Gi(e,t,n){if(e==null)return e;var r=[],i=0;return Wi(e,r,"","",function(o){return t.call(n,o,i++)}),r}function ry(e){if(e._status===-1){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(n){e._status===0&&(n=n.default,e._status=1,e._result=n)},function(n){e._status===0&&(e._status=2,e._result=n)})}if(e._status===1)return e._result;throw e._result}var Iu={current:null};function ht(){var e=Iu.current;if(e===null)throw Error(Tr(321));return e}var iy={ReactCurrentDispatcher:Iu,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:as,IsSomeRendererActing:{current:!1},assign:rs};R.Children={map:Gi,forEach:function(e,t,n){Gi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Gi(e,function(){t++}),t},toArray:function(e){return Gi(e,function(t){return t})||[]},only:function(e){if(!ss(e))throw Error(Tr(143));return e}},R.Component=Tn,R.PureComponent=is,R.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=iy,R.cloneElement=function(e,t,n){if(e==null)throw Error(Tr(267,e));var r=rs({},e.props),i=e.key,o=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,a=as.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)Pu.call(t,l)&&!ju.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var u=0;u<l;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:Nn,type:e.type,key:i,ref:o,props:r,_owner:a}},R.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:ku,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:vu,_context:e},e.Consumer=e},R.createElement=Nu,R.createFactory=function(e){var t=Nu.bind(null,e);return t.type=e,t},R.createRef=function(){return{current:null}},R.forwardRef=function(e){return{$$typeof:wu,render:e}},R.isValidElement=ss,R.lazy=function(e){return{$$typeof:Su,_payload:{_status:-1,_result:e},_init:ry}},R.memo=function(e,t){return{$$typeof:xu,type:e,compare:t===void 0?null:t}},R.useCallback=function(e,t){return ht().useCallback(e,t)},R.useContext=function(e,t){return ht().useContext(e,t)},R.useDebugValue=function(){},R.useEffect=function(e,t){return ht().useEffect(e,t)},R.useImperativeHandle=function(e,t,n){return ht().useImperativeHandle(e,t,n)},R.useLayoutEffect=function(e,t){return ht().useLayoutEffect(e,t)},R.useMemo=function(e,t){return ht().useMemo(e,t)},R.useReducer=function(e,t,n){return ht().useReducer(e,t,n)},R.useRef=function(e){return ht().useRef(e)},R.useState=function(e){return ht().useState(e)},R.version="17.0.2",yu.exports=R;var w=yu.exports;const O=ve(w);/** @license React v17.0.2
|
|
14
14
|
* react-jsx-runtime.production.min.js
|
|
15
15
|
*
|
|
16
16
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
17
17
|
*
|
|
18
18
|
* This source code is licensed under the MIT license found in the
|
|
19
19
|
* LICENSE file in the root directory of this source tree.
|
|
20
|
-
*/var
|
|
20
|
+
*/var oy=w,Du=60103;if(He.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var Au=Symbol.for;Du=Au("react.element"),He.Fragment=Au("react.fragment")}var ay=oy.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,sy=Object.prototype.hasOwnProperty,ly={key:!0,ref:!0,__self:!0,__source:!0};function Mu(e,t,n){var r,i={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)sy.call(t,r)&&!ly.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Du,type:e,key:o,ref:a,props:i,_owner:ay.current}}He.jsx=Mu,He.jsxs=Mu,tt.exports=He;var c=tt.exports,Ru={exports:{}},De={},Ou={exports:{}},Lu={};/** @license React v0.20.2
|
|
21
21
|
* scheduler.production.min.js
|
|
22
22
|
*
|
|
23
23
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
24
24
|
*
|
|
25
25
|
* This source code is licensed under the MIT license found in the
|
|
26
26
|
* LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/(function(e){var t,n,r,i;if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}if(typeof window>"u"||typeof MessageChannel!="function"){var l=null,u=null,p=function(){if(l!==null)try{var
|
|
27
|
+
*/(function(e){var t,n,r,i;if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}if(typeof window>"u"||typeof MessageChannel!="function"){var l=null,u=null,p=function(){if(l!==null)try{var $=e.unstable_now();l(!0,$),l=null}catch(D){throw setTimeout(p,0),D}};t=function($){l!==null?setTimeout(t,0,$):(l=$,setTimeout(p,0))},n=function($,D){u=setTimeout($,D)},r=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,m=window.clearTimeout;if(typeof console<"u"){var g=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof g!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var b=!1,x=null,y=-1,f=5,h=0;e.unstable_shouldYield=function(){return e.unstable_now()>=h},i=function(){},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):f=0<$?Math.floor(1e3/$):5};var v=new MessageChannel,k=v.port2;v.port1.onmessage=function(){if(x!==null){var $=e.unstable_now();h=$+f;try{x(!0,$)?k.postMessage(null):(b=!1,x=null)}catch(D){throw k.postMessage(null),D}}else b=!1},t=function($){x=$,b||(b=!0,k.postMessage(null))},n=function($,D){y=d(function(){$(e.unstable_now())},D)},r=function(){m(y),y=-1}}function C($,D){var M=$.length;$.push(D);e:for(;;){var Y=M-1>>>1,ne=$[Y];if(ne!==void 0&&0<T(ne,D))$[Y]=D,$[M]=ne,M=Y;else break e}}function S($){return $=$[0],$===void 0?null:$}function j($){var D=$[0];if(D!==void 0){var M=$.pop();if(M!==D){$[0]=M;e:for(var Y=0,ne=$.length;Y<ne;){var Ie=2*(Y+1)-1,Be=$[Ie],jt=Ie+1,Nt=$[jt];if(Be!==void 0&&0>T(Be,M))Nt!==void 0&&0>T(Nt,Be)?($[Y]=Nt,$[jt]=M,Y=jt):($[Y]=Be,$[Ie]=M,Y=Ie);else if(Nt!==void 0&&0>T(Nt,M))$[Y]=Nt,$[jt]=M,Y=jt;else break e}}return D}return null}function T($,D){var M=$.sortIndex-D.sortIndex;return M!==0?M:$.id-D.id}var _=[],U=[],Fe=1,Z=null,te=3,et=!1,mt=!1,ft=!1;function Pt($){for(var D=S(U);D!==null;){if(D.callback===null)j(U);else if(D.startTime<=$)j(U),D.sortIndex=D.expirationTime,C(_,D);else break;D=S(U)}}function jr($){if(ft=!1,Pt($),!mt)if(S(_)!==null)mt=!0,t(jn);else{var D=S(U);D!==null&&n(jr,D.startTime-$)}}function jn($,D){mt=!1,ft&&(ft=!1,r()),et=!0;var M=te;try{for(Pt(D),Z=S(_);Z!==null&&(!(Z.expirationTime>D)||$&&!e.unstable_shouldYield());){var Y=Z.callback;if(typeof Y=="function"){Z.callback=null,te=Z.priorityLevel;var ne=Y(Z.expirationTime<=D);D=e.unstable_now(),typeof ne=="function"?Z.callback=ne:Z===S(_)&&j(_),Pt(D)}else j(_);Z=S(_)}if(Z!==null)var Ie=!0;else{var Be=S(U);Be!==null&&n(jr,Be.startTime-D),Ie=!1}return Ie}finally{Z=null,te=M,et=!1}}var pu=i;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function($){$.callback=null},e.unstable_continueExecution=function(){mt||et||(mt=!0,t(jn))},e.unstable_getCurrentPriorityLevel=function(){return te},e.unstable_getFirstCallbackNode=function(){return S(_)},e.unstable_next=function($){switch(te){case 1:case 2:case 3:var D=3;break;default:D=te}var M=te;te=D;try{return $()}finally{te=M}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=pu,e.unstable_runWithPriority=function($,D){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var M=te;te=$;try{return D()}finally{te=M}},e.unstable_scheduleCallback=function($,D,M){var Y=e.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0<M?Y+M:Y):M=Y,$){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=M+ne,$={id:Fe++,callback:D,priorityLevel:$,startTime:M,expirationTime:ne,sortIndex:-1},M>Y?($.sortIndex=M,C(U,$),S(_)===null&&$===S(U)&&(ft?r():ft=!0,n(jr,M-Y))):($.sortIndex=ne,C(_,$),mt||et||(mt=!0,t(jn))),$},e.unstable_wrapCallback=function($){var D=te;return function(){var M=te;te=D;try{return $.apply(this,arguments)}finally{te=M}}}})(Lu),Ou.exports=Lu;var cy=Ou.exports;/** @license React v17.0.2
|
|
28
28
|
* react-dom.production.min.js
|
|
29
29
|
*
|
|
30
30
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
31
31
|
*
|
|
32
32
|
* This source code is licensed under the MIT license found in the
|
|
33
33
|
* LICENSE file in the root directory of this source tree.
|
|
34
|
-
*/var
|
|
35
|
-
`+
|
|
34
|
+
*/var Vi=w,W=gu,ie=cy;function E(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!Vi)throw Error(E(227));var zu=new Set,Ir={};function an(e,t){In(e,t),In(e+"Capture",t)}function In(e,t){for(Ir[e]=t,e=0;e<t.length;e++)zu.add(t[e])}var gt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),uy=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Uu=Object.prototype.hasOwnProperty,Yu={},Fu={};function dy(e){return Uu.call(Fu,e)?!0:Uu.call(Yu,e)?!1:uy.test(e)?Fu[e]=!0:(Yu[e]=!0,!1)}function py(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function my(e,t,n,r){if(t===null||typeof t>"u"||py(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ke(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var se={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){se[e]=new ke(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];se[t]=new ke(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){se[e]=new ke(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){se[e]=new ke(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){se[e]=new ke(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){se[e]=new ke(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){se[e]=new ke(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){se[e]=new ke(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){se[e]=new ke(e,5,!1,e.toLowerCase(),null,!1,!1)});var cs=/[\-:]([a-z])/g;function us(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(cs,us);se[t]=new ke(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(cs,us);se[t]=new ke(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(cs,us);se[t]=new ke(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){se[e]=new ke(e,1,!1,e.toLowerCase(),null,!1,!1)}),se.xlinkHref=new ke("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){se[e]=new ke(e,1,!1,e.toLowerCase(),null,!0,!0)});function ds(e,t,n,r){var i=se.hasOwnProperty(t)?se[t]:null,o=i!==null?i.type===0:r?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");o||(my(t,n,i,r)&&(n=null),r||i===null?dy(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var sn=Vi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Dr=60103,ln=60106,Tt=60107,ps=60108,Ar=60114,ms=60109,fs=60110,qi=60112,Mr=60113,Ki=60120,Ji=60115,hs=60116,gs=60121,ys=60128,Bu=60129,bs=60130,vs=60131;if(typeof Symbol=="function"&&Symbol.for){var oe=Symbol.for;Dr=oe("react.element"),ln=oe("react.portal"),Tt=oe("react.fragment"),ps=oe("react.strict_mode"),Ar=oe("react.profiler"),ms=oe("react.provider"),fs=oe("react.context"),qi=oe("react.forward_ref"),Mr=oe("react.suspense"),Ki=oe("react.suspense_list"),Ji=oe("react.memo"),hs=oe("react.lazy"),gs=oe("react.block"),oe("react.scope"),ys=oe("react.opaque.id"),Bu=oe("react.debug_trace_mode"),bs=oe("react.offscreen"),vs=oe("react.legacy_hidden")}var Hu=typeof Symbol=="function"&&Symbol.iterator;function Rr(e){return e===null||typeof e!="object"?null:(e=Hu&&e[Hu]||e["@@iterator"],typeof e=="function"?e:null)}var ks;function Or(e){if(ks===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ks=t&&t[1]||""}return`
|
|
35
|
+
`+ks+e}var ws=!1;function Qi(e,t){if(!e||ws)return"";ws=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&typeof l.stack=="string"){for(var i=l.stack.split(`
|
|
36
36
|
`),o=r.stack.split(`
|
|
37
37
|
`),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(a!==1||s!==1)do if(a--,s--,0>s||i[a]!==o[s])return`
|
|
38
|
-
`+i[a].replace(" at new "," at ");while(1<=a&&0<=s);break}}}finally{ps=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Dr(e):""}function Hg(e){switch(e.tag){case 5:return Dr(e.type);case 16:return Dr("Lazy");case 13:return Dr("Suspense");case 19:return Dr("SuspenseList");case 0:case 2:case 15:return e=Gi(e.type,!1),e;case 11:return e=Gi(e.type.render,!1),e;case 22:return e=Gi(e.type._render,!1),e;case 1:return e=Gi(e.type,!0),e;default:return""}}function $n(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Pt:return"Fragment";case on:return"Portal";case $r:return"Profiler";case rs:return"StrictMode";case Tr:return"Suspense";case Yi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case os:return(e.displayName||"Context")+".Consumer";case is:return(e._context.displayName||"Context")+".Provider";case Ui:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case Hi:return $n(e.type);case ss:return $n(e._render);case as:t=e._payload,e=e._init;try{return $n(e(t))}catch{}}return null}function Nt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Au(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Gg(e){var t=Au(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function qi(e){e._valueTracker||(e._valueTracker=Gg(e))}function Lu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Au(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function fs(e,t){var n=t.checked;return H({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Mu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Nt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Iu(e,t){t=t.checked,t!=null&&ns(e,"checked",t,!1)}function hs(e,t){Iu(e,t);var n=Nt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ms(e,t.type,n):t.hasOwnProperty("defaultValue")&&ms(e,t.type,Nt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function zu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ms(e,t,n){(t!=="number"||Wi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function qg(e){var t="";return Bi.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function gs(e,t){return e=H({children:void 0},t),(t=qg(t.children))&&(e.children=t),e}function Tn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Nt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function ys(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(S(91));return H({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Fu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(S(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(S(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Nt(n)}}function Bu(e,t){var n=Nt(t.value),r=Nt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Uu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var vs={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Yu(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function bs(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Yu(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Vi,Hu=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!==vs.svg||"innerHTML"in e)e.innerHTML=t;else{for(Vi=Vi||document.createElement("div"),Vi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Vi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Or(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ar={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Wg=["Webkit","ms","Moz","O"];Object.keys(Ar).forEach(function(e){Wg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ar[t]=Ar[e]})});function Gu(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ar.hasOwnProperty(e)&&Ar[e]?(""+t).trim():t+"px"}function qu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Gu(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Vg=H({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function xs(e,t){if(t){if(Vg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function ks(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ws(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _s=null,Rn=null,Dn=null;function Wu(e){if(e=ei(e)){if(typeof _s!="function")throw Error(S(280));var t=e.stateNode;t&&(t=fo(t),_s(e.stateNode,e.type,t))}}function Vu(e){Rn?Dn?Dn.push(e):Dn=[e]:Rn=e}function Ku(){if(Rn){var e=Rn,t=Dn;if(Dn=Rn=null,Wu(e),t)for(e=0;e<t.length;e++)Wu(t[e])}}function Ss(e,t){return e(t)}function Qu(e,t,n,r,i){return e(t,n,r,i)}function Es(){}var Ju=Ss,an=!1,Cs=!1;function js(){(Rn!==null||Dn!==null)&&(Es(),Ku())}function Kg(e,t,n){if(Cs)return e(t,n);Cs=!0;try{return Ju(e,t,n)}finally{Cs=!1,js()}}function Lr(e,t){var n=e.stateNode;if(n===null)return null;var r=fo(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(S(231,t,typeof n));return n}var Ps=!1;if(ft)try{var Mr={};Object.defineProperty(Mr,"passive",{get:function(){Ps=!0}}),window.addEventListener("test",Mr,Mr),window.removeEventListener("test",Mr,Mr)}catch{Ps=!1}function Qg(e,t,n,r,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(p){this.onError(p)}}var Ir=!1,Ki=null,Qi=!1,Ns=null,Jg={onError:function(e){Ir=!0,Ki=e}};function Xg(e,t,n,r,i,o,a,s,l){Ir=!1,Ki=null,Qg.apply(Jg,arguments)}function Zg(e,t,n,r,i,o,a,s,l){if(Xg.apply(this,arguments),Ir){if(Ir){var u=Ki;Ir=!1,Ki=null}else throw Error(S(198));Qi||(Qi=!0,Ns=u)}}function sn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&1026&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Xu(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Zu(e){if(sn(e)!==e)throw Error(S(188))}function ey(e){var t=e.alternate;if(!t){if(t=sn(e),t===null)throw Error(S(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Zu(i),e;if(o===r)return Zu(i),t;o=o.sibling}throw Error(S(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a)throw Error(S(189))}}if(n.alternate!==r)throw Error(S(190))}if(n.tag!==3)throw Error(S(188));return n.stateNode.current===n?e:t}function ed(e){if(e=ey(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function td(e,t){for(var n=e.alternate;t!==null;){if(t===e||t===n)return!0;t=t.return}return!1}var nd,$s,rd,id,Ts=!1,Ze=[],$t=null,Tt=null,Rt=null,zr=new Map,Fr=new Map,Br=[],od="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Rs(e,t,n,r,i){return{blockedOn:e,domEventName:t,eventSystemFlags:n|16,nativeEvent:i,targetContainers:[r]}}function ad(e,t){switch(e){case"focusin":case"focusout":$t=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":Rt=null;break;case"pointerover":case"pointerout":zr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fr.delete(t.pointerId)}}function Ur(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e=Rs(t,n,r,i,o),t!==null&&(t=ei(t),t!==null&&$s(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function ty(e,t,n,r,i){switch(t){case"focusin":return $t=Ur($t,e,t,n,r,i),!0;case"dragenter":return Tt=Ur(Tt,e,t,n,r,i),!0;case"mouseover":return Rt=Ur(Rt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return zr.set(o,Ur(zr.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Fr.set(o,Ur(Fr.get(o)||null,e,t,n,r,i)),!0}return!1}function ny(e){var t=ln(e.target);if(t!==null){var n=sn(t);if(n!==null){if(t=n.tag,t===13){if(t=Xu(n),t!==null){e.blockedOn=t,id(e.lanePriority,function(){ie.unstable_runWithPriority(e.priority,function(){rd(n)})});return}}else if(t===3&&n.stateNode.hydrate){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ji(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Is(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n!==null)return t=ei(n),t!==null&&$s(t),e.blockedOn=n,!1;t.shift()}return!0}function sd(e,t,n){Ji(e)&&n.delete(t)}function ry(){for(Ts=!1;0<Ze.length;){var e=Ze[0];if(e.blockedOn!==null){e=ei(e.blockedOn),e!==null&&nd(e);break}for(var t=e.targetContainers;0<t.length;){var n=Is(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n!==null){e.blockedOn=n;break}t.shift()}e.blockedOn===null&&Ze.shift()}$t!==null&&Ji($t)&&($t=null),Tt!==null&&Ji(Tt)&&(Tt=null),Rt!==null&&Ji(Rt)&&(Rt=null),zr.forEach(sd),Fr.forEach(sd)}function Yr(e,t){e.blockedOn===t&&(e.blockedOn=null,Ts||(Ts=!0,ie.unstable_scheduleCallback(ie.unstable_NormalPriority,ry)))}function ld(e){function t(i){return Yr(i,e)}if(0<Ze.length){Yr(Ze[0],e);for(var n=1;n<Ze.length;n++){var r=Ze[n];r.blockedOn===e&&(r.blockedOn=null)}}for($t!==null&&Yr($t,e),Tt!==null&&Yr(Tt,e),Rt!==null&&Yr(Rt,e),zr.forEach(t),Fr.forEach(t),n=0;n<Br.length;n++)r=Br[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Br.length&&(n=Br[0],n.blockedOn===null);)ny(n),n.blockedOn===null&&Br.shift()}function Xi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var On={animationend:Xi("Animation","AnimationEnd"),animationiteration:Xi("Animation","AnimationIteration"),animationstart:Xi("Animation","AnimationStart"),transitionend:Xi("Transition","TransitionEnd")},Ds={},cd={};ft&&(cd=document.createElement("div").style,"AnimationEvent"in window||(delete On.animationend.animation,delete On.animationiteration.animation,delete On.animationstart.animation),"TransitionEvent"in window||delete On.transitionend.transition);function Zi(e){if(Ds[e])return Ds[e];if(!On[e])return e;var t=On[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in cd)return Ds[e]=t[n];return e}var ud=Zi("animationend"),dd=Zi("animationiteration"),pd=Zi("animationstart"),fd=Zi("transitionend"),hd=new Map,Os=new Map,iy=["abort","abort",ud,"animationEnd",dd,"animationIteration",pd,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",fd,"transitionEnd","waiting","waiting"];function As(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Os.set(r,t),hd.set(r,i),nn(i,[r])}}var oy=ie.unstable_now;oy();var B=8;function An(e){if(1&e)return B=15,1;if(2&e)return B=14,2;if(4&e)return B=13,4;var t=24&e;return t!==0?(B=12,t):e&32?(B=11,32):(t=192&e,t!==0?(B=10,t):e&256?(B=9,256):(t=3584&e,t!==0?(B=8,t):e&4096?(B=7,4096):(t=4186112&e,t!==0?(B=6,t):(t=62914560&e,t!==0?(B=5,t):e&67108864?(B=4,67108864):e&134217728?(B=3,134217728):(t=805306368&e,t!==0?(B=2,t):1073741824&e?(B=1,1073741824):(B=8,e))))))}function ay(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function sy(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(S(358,e))}}function Hr(e,t){var n=e.pendingLanes;if(n===0)return B=0;var r=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(o!==0)r=o,i=B=15;else if(o=n&134217727,o!==0){var l=o&~a;l!==0?(r=An(l),i=B):(s&=o,s!==0&&(r=An(s),i=B))}else o=n&~a,o!==0?(r=An(o),i=B):s!==0&&(r=An(s),i=B);if(r===0)return 0;if(r=31-Dt(r),r=n&((0>r?0:1<<r)<<1)-1,t!==0&&t!==r&&!(t&a)){if(An(t),i<=B)return t;B=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Dt(t),i=1<<n,r|=e[n],t&=~i;return r}function md(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function eo(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=Ln(24&~t),e===0?eo(10,t):e;case 10:return e=Ln(192&~t),e===0?eo(8,t):e;case 8:return e=Ln(3584&~t),e===0&&(e=Ln(4186112&~t),e===0&&(e=512)),e;case 2:return t=Ln(805306368&~t),t===0&&(t=268435456),t}throw Error(S(358,e))}function Ln(e){return e&-e}function Ls(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function to(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,e=e.eventTimes,t=31-Dt(t),e[t]=n}var Dt=Math.clz32?Math.clz32:uy,ly=Math.log,cy=Math.LN2;function uy(e){return e===0?32:31-(ly(e)/cy|0)|0}var dy=ie.unstable_UserBlockingPriority,py=ie.unstable_runWithPriority,no=!0;function fy(e,t,n,r){an||Es();var i=Ms,o=an;an=!0;try{Qu(i,e,t,n,r)}finally{(an=o)||js()}}function hy(e,t,n,r){py(dy,Ms.bind(null,e,t,n,r))}function Ms(e,t,n,r){if(no){var i;if((i=(t&4)===0)&&0<Ze.length&&-1<od.indexOf(e))e=Rs(null,e,t,n,r),Ze.push(e);else{var o=Is(e,t,n,r);if(o===null)i&&ad(e,r);else{if(i){if(-1<od.indexOf(e)){e=Rs(o,e,t,n,r),Ze.push(e);return}if(ty(o,e,t,n,r))return;ad(e,r)}Gd(e,t,r,null,n)}}}}function Is(e,t,n,r){var i=ws(r);if(i=ln(i),i!==null){var o=sn(i);if(o===null)i=null;else{var a=o.tag;if(a===13){if(i=Xu(o),i!==null)return i;i=null}else if(a===3){if(o.stateNode.hydrate)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Gd(e,t,r,i,n),null}var Ot=null,zs=null,ro=null;function gd(){if(ro)return ro;var e,t=zs,n=t.length,r,i="value"in Ot?Ot.value:Ot.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===i[o-r];r++);return ro=i.slice(e,1<r?1-r:void 0)}function io(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function oo(){return!0}function yd(){return!1}function Pe(e){function t(n,r,i,o,a){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?oo:yd,this.isPropagationStopped=yd,this}return H(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=oo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=oo)},persist:function(){},isPersistent:oo}),t}var Mn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fs=Pe(Mn),Gr=H({},Mn,{view:0,detail:0}),my=Pe(Gr),Bs,Us,qr,ao=H({},Gr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Hs,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==qr&&(qr&&e.type==="mousemove"?(Bs=e.screenX-qr.screenX,Us=e.screenY-qr.screenY):Us=Bs=0,qr=e),Bs)},movementY:function(e){return"movementY"in e?e.movementY:Us}}),vd=Pe(ao),gy=H({},ao,{dataTransfer:0}),yy=Pe(gy),vy=H({},Gr,{relatedTarget:0}),Ys=Pe(vy),by=H({},Mn,{animationName:0,elapsedTime:0,pseudoElement:0}),xy=Pe(by),ky=H({},Mn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),wy=Pe(ky),_y=H({},Mn,{data:0}),bd=Pe(_y),Sy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ey={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Cy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Cy[e])?!!t[e]:!1}function Hs(){return jy}var Py=H({},Gr,{key:function(e){if(e.key){var t=Sy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=io(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ey[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Hs,charCode:function(e){return e.type==="keypress"?io(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?io(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ny=Pe(Py),$y=H({},ao,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xd=Pe($y),Ty=H({},Gr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Hs}),Ry=Pe(Ty),Dy=H({},Mn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Oy=Pe(Dy),Ay=H({},ao,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ly=Pe(Ay),My=[9,13,27,32],Gs=ft&&"CompositionEvent"in window,Wr=null;ft&&"documentMode"in document&&(Wr=document.documentMode);var Iy=ft&&"TextEvent"in window&&!Wr,kd=ft&&(!Gs||Wr&&8<Wr&&11>=Wr),wd=String.fromCharCode(32),_d=!1;function Sd(e,t){switch(e){case"keyup":return My.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ed(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var In=!1;function zy(e,t){switch(e){case"compositionend":return Ed(t);case"keypress":return t.which!==32?null:(_d=!0,wd);case"textInput":return e=t.data,e===wd&&_d?null:e;default:return null}}function Fy(e,t){if(In)return e==="compositionend"||!Gs&&Sd(e,t)?(e=gd(),ro=zs=Ot=null,In=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return kd&&t.locale!=="ko"?null:t.data;default:return null}}var By={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Cd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!By[e.type]:t==="textarea"}function jd(e,t,n,r){Vu(r),t=lo(t,"onChange"),0<t.length&&(n=new Fs("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vr=null,Kr=null;function Uy(e){Fd(e,0)}function so(e){var t=Yn(e);if(Lu(t))return e}function Yy(e,t){if(e==="change")return t}var Pd=!1;if(ft){var qs;if(ft){var Ws="oninput"in document;if(!Ws){var Nd=document.createElement("div");Nd.setAttribute("oninput","return;"),Ws=typeof Nd.oninput=="function"}qs=Ws}else qs=!1;Pd=qs&&(!document.documentMode||9<document.documentMode)}function $d(){Vr&&(Vr.detachEvent("onpropertychange",Td),Kr=Vr=null)}function Td(e){if(e.propertyName==="value"&&so(Kr)){var t=[];if(jd(t,Kr,e,ws(e)),e=Uy,an)e(t);else{an=!0;try{Ss(e,t)}finally{an=!1,js()}}}}function Hy(e,t,n){e==="focusin"?($d(),Vr=t,Kr=n,Vr.attachEvent("onpropertychange",Td)):e==="focusout"&&$d()}function Gy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return so(Kr)}function qy(e,t){if(e==="click")return so(t)}function Wy(e,t){if(e==="input"||e==="change")return so(t)}function Vy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Oe=typeof Object.is=="function"?Object.is:Vy,Ky=Object.prototype.hasOwnProperty;function Qr(e,t){if(Oe(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Ky.call(t,n[r])||!Oe(e[n[r]],t[n[r]]))return!1;return!0}function Rd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Dd(e,t){var n=Rd(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Rd(n)}}function Od(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Od(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ad(){for(var e=window,t=Wi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wi(e.document)}return t}function Vs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Qy=ft&&"documentMode"in document&&11>=document.documentMode,zn=null,Ks=null,Jr=null,Qs=!1;function Ld(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Qs||zn==null||zn!==Wi(r)||(r=zn,"selectionStart"in r&&Vs(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Jr&&Qr(Jr,r)||(Jr=r,r=lo(Ks,"onSelect"),0<r.length&&(t=new Fs("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=zn)))}As("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),As("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),As(iy,2);for(var Md="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Js=0;Js<Md.length;Js++)Os.set(Md[Js],0);Nn("onMouseEnter",["mouseout","mouseover"]),Nn("onMouseLeave",["mouseout","mouseover"]),Nn("onPointerEnter",["pointerout","pointerover"]),Nn("onPointerLeave",["pointerout","pointerover"]),nn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),nn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),nn("onBeforeInput",["compositionend","keypress","textInput","paste"]),nn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),nn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),nn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Id=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xr));function zd(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Zg(r,t,void 0,e),e.currentTarget=null}function Fd(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;zd(i,s,u),o=l}else for(a=0;a<r.length;a++){if(s=r[a],l=s.instance,u=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;zd(i,s,u),o=l}}}if(Qi)throw e=Ns,Qi=!1,Ns=null,e}function U(e,t){var n=Jd(t),r=e+"__bubble";n.has(r)||(Hd(t,e,2,!1),n.add(r))}var Bd="_reactListening"+Math.random().toString(36).slice(2);function Ud(e){e[Bd]||(e[Bd]=!0,Nu.forEach(function(t){Id.has(t)||Yd(t,!1,e,null),Yd(t,!0,e,null)}))}function Yd(e,t,n,r){var i=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,o=n;if(e==="selectionchange"&&n.nodeType!==9&&(o=n.ownerDocument),r!==null&&!t&&Id.has(e)){if(e!=="scroll")return;i|=2,o=r}var a=Jd(o),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(i|=4),Hd(o,e,i,t),a.add(s))}function Hd(e,t,n,r){var i=Os.get(t);switch(i===void 0?2:i){case 0:i=fy;break;case 1:i=hy;break;default:i=Ms}n=i.bind(null,t,n,e),i=void 0,!Ps||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Gd(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(a===4)for(a=r.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;a=a.return}for(;s!==null;){if(a=ln(s),a===null)return;if(l=a.tag,l===5||l===6){r=o=a;continue e}s=s.parentNode}}r=r.return}Kg(function(){var u=o,p=ws(n),d=[];e:{var f=hd.get(e);if(f!==void 0){var y=Fs,v=e;switch(e){case"keypress":if(io(n)===0)break e;case"keydown":case"keyup":y=Ny;break;case"focusin":v="focus",y=Ys;break;case"focusout":v="blur",y=Ys;break;case"beforeblur":case"afterblur":y=Ys;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=vd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=yy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=Ry;break;case ud:case dd:case pd:y=xy;break;case fd:y=Oy;break;case"scroll":y=my;break;case"wheel":y=Ly;break;case"copy":case"cut":case"paste":y=wy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=xd}var w=(t&4)!==0,g=!w&&e==="scroll",h=w?f!==null?f+"Capture":null:f;w=[];for(var m=u,b;m!==null;){b=m;var k=b.stateNode;if(b.tag===5&&k!==null&&(b=k,h!==null&&(k=Lr(m,h),k!=null&&w.push(Zr(m,k,b)))),g)break;m=m.return}0<w.length&&(f=new y(f,v,null,n,p),d.push({event:f,listeners:w}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",f&&!(t&16)&&(v=n.relatedTarget||n.fromElement)&&(ln(v)||v[Un]))break e;if((y||f)&&(f=p.window===p?p:(f=p.ownerDocument)?f.defaultView||f.parentWindow:window,y?(v=n.relatedTarget||n.toElement,y=u,v=v?ln(v):null,v!==null&&(g=sn(v),v!==g||v.tag!==5&&v.tag!==6)&&(v=null)):(y=null,v=u),y!==v)){if(w=vd,k="onMouseLeave",h="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(w=xd,k="onPointerLeave",h="onPointerEnter",m="pointer"),g=y==null?f:Yn(y),b=v==null?f:Yn(v),f=new w(k,m+"leave",y,n,p),f.target=g,f.relatedTarget=b,k=null,ln(p)===u&&(w=new w(h,m+"enter",v,n,p),w.target=b,w.relatedTarget=g,k=w),g=k,y&&v)t:{for(w=y,h=v,m=0,b=w;b;b=Fn(b))m++;for(b=0,k=h;k;k=Fn(k))b++;for(;0<m-b;)w=Fn(w),m--;for(;0<b-m;)h=Fn(h),b--;for(;m--;){if(w===h||h!==null&&w===h.alternate)break t;w=Fn(w),h=Fn(h)}w=null}else w=null;y!==null&&qd(d,f,y,w,!1),v!==null&&g!==null&&qd(d,g,v,w,!0)}}e:{if(f=u?Yn(u):window,y=f.nodeName&&f.nodeName.toLowerCase(),y==="select"||y==="input"&&f.type==="file")var E=Yy;else if(Cd(f))if(Pd)E=Wy;else{E=Gy;var _=Hy}else(y=f.nodeName)&&y.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(E=qy);if(E&&(E=E(e,u))){jd(d,E,n,p);break e}_&&_(e,f,u),e==="focusout"&&(_=f._wrapperState)&&_.controlled&&f.type==="number"&&ms(f,"number",f.value)}switch(_=u?Yn(u):window,e){case"focusin":(Cd(_)||_.contentEditable==="true")&&(zn=_,Ks=u,Jr=null);break;case"focusout":Jr=Ks=zn=null;break;case"mousedown":Qs=!0;break;case"contextmenu":case"mouseup":case"dragend":Qs=!1,Ld(d,n,p);break;case"selectionchange":if(Qy)break;case"keydown":case"keyup":Ld(d,n,p)}var N;if(Gs)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else In?Sd(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(kd&&n.locale!=="ko"&&(In||T!=="onCompositionStart"?T==="onCompositionEnd"&&In&&(N=gd()):(Ot=p,zs="value"in Ot?Ot.value:Ot.textContent,In=!0)),_=lo(u,T),0<_.length&&(T=new bd(T,e,null,n,p),d.push({event:T,listeners:_}),N?T.data=N:(N=Ed(n),N!==null&&(T.data=N)))),(N=Iy?zy(e,n):Fy(e,n))&&(u=lo(u,"onBeforeInput"),0<u.length&&(p=new bd("onBeforeInput","beforeinput",null,n,p),d.push({event:p,listeners:u}),p.data=N))}Fd(d,t)})}function Zr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function lo(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Lr(e,n),o!=null&&r.unshift(Zr(e,o,i)),o=Lr(e,t),o!=null&&r.push(Zr(e,o,i))),e=e.return}return r}function Fn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function qd(e,t,n,r,i){for(var o=t._reactName,a=[];n!==null&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(l!==null&&l===r)break;s.tag===5&&u!==null&&(s=u,i?(l=Lr(n,o),l!=null&&a.unshift(Zr(n,l,s))):i||(l=Lr(n,o),l!=null&&a.push(Zr(n,l,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}function co(){}var Xs=null,Zs=null;function Wd(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function el(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Vd=typeof setTimeout=="function"?setTimeout:void 0,Jy=typeof clearTimeout=="function"?clearTimeout:void 0;function tl(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Bn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function Kd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var nl=0;function Xy(e){return{$$typeof:ls,toString:e,valueOf:e}}var uo=Math.random().toString(36).slice(2),At="__reactFiber$"+uo,po="__reactProps$"+uo,Un="__reactContainer$"+uo,Qd="__reactEvents$"+uo;function ln(e){var t=e[At];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Un]||n[At]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Kd(e);e!==null;){if(n=e[At])return n;e=Kd(e)}return t}e=n,n=e.parentNode}return null}function ei(e){return e=e[At]||e[Un],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Yn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(S(33))}function fo(e){return e[po]||null}function Jd(e){var t=e[Qd];return t===void 0&&(t=e[Qd]=new Set),t}var rl=[],Hn=-1;function Lt(e){return{current:e}}function Y(e){0>Hn||(e.current=rl[Hn],rl[Hn]=null,Hn--)}function V(e,t){Hn++,rl[Hn]=e.current,e.current=t}var Mt={},fe=Lt(Mt),Se=Lt(!1),cn=Mt;function Gn(e,t){var n=e.type.contextTypes;if(!n)return Mt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ee(e){return e=e.childContextTypes,e!=null}function ho(){Y(Se),Y(fe)}function Xd(e,t,n){if(fe.current!==Mt)throw Error(S(168));V(fe,t),V(Se,n)}function Zd(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in e))throw Error(S(108,$n(t)||"Unknown",i));return H({},n,r)}function mo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mt,cn=fe.current,V(fe,e),V(Se,Se.current),!0}function ep(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=Zd(e,t,cn),r.__reactInternalMemoizedMergedChildContext=e,Y(Se),Y(fe),V(fe,e)):Y(Se),V(Se,n)}var il=null,un=null,Zy=ie.unstable_runWithPriority,ol=ie.unstable_scheduleCallback,al=ie.unstable_cancelCallback,ev=ie.unstable_shouldYield,tp=ie.unstable_requestPaint,sl=ie.unstable_now,tv=ie.unstable_getCurrentPriorityLevel,go=ie.unstable_ImmediatePriority,np=ie.unstable_UserBlockingPriority,rp=ie.unstable_NormalPriority,ip=ie.unstable_LowPriority,op=ie.unstable_IdlePriority,ll={},nv=tp!==void 0?tp:function(){},ht=null,yo=null,cl=!1,ap=sl(),he=1e4>ap?sl:function(){return sl()-ap};function qn(){switch(tv()){case go:return 99;case np:return 98;case rp:return 97;case ip:return 96;case op:return 95;default:throw Error(S(332))}}function sp(e){switch(e){case 99:return go;case 98:return np;case 97:return rp;case 96:return ip;case 95:return op;default:throw Error(S(332))}}function dn(e,t){return e=sp(e),Zy(e,t)}function ti(e,t,n){return e=sp(e),ol(e,t,n)}function et(){if(yo!==null){var e=yo;yo=null,al(e)}lp()}function lp(){if(!cl&&ht!==null){cl=!0;var e=0;try{var t=ht;dn(99,function(){for(;e<t.length;e++){var n=t[e];do n=n(!0);while(n!==null)}}),ht=null}catch(n){throw ht!==null&&(ht=ht.slice(e+1)),ol(go,et),n}finally{cl=!1}}}var rv=rn.ReactCurrentBatchConfig;function Ge(e,t){if(e&&e.defaultProps){t=H({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var vo=Lt(null),bo=null,Wn=null,xo=null;function ul(){xo=Wn=bo=null}function dl(e){var t=vo.current;Y(vo),e.type._context._currentValue=t}function cp(e,t){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)===t){if(n===null||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,n!==null&&(n.childLanes|=t);e=e.return}}function Vn(e,t){bo=e,xo=Wn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(qe=!0),e.firstContext=null)}function Ae(e,t){if(xo!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(xo=e,t=1073741823),t={context:e,observedBits:t,next:null},Wn===null){if(bo===null)throw Error(S(308));Wn=t,bo.dependencies={lanes:0,firstContext:t,responders:null}}else Wn=Wn.next=t;return e._currentValue}var It=!1;function pl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function up(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function zt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ft(e,t){if(e=e.updateQueue,e!==null){e=e.shared;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function dp(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ni(e,t,n,r){var i=e.updateQueue;It=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,u=l.next;l.next=null,a===null?o=u:a.next=u,a=l;var p=e.alternate;if(p!==null){p=p.updateQueue;var d=p.lastBaseUpdate;d!==a&&(d===null?p.firstBaseUpdate=u:d.next=u,p.lastBaseUpdate=l)}}if(o!==null){d=i.baseState,a=0,p=u=l=null;do{s=o.lane;var f=o.eventTime;if((r&s)===s){p!==null&&(p=p.next={eventTime:f,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var y=e,v=o;switch(s=t,f=n,v.tag){case 1:if(y=v.payload,typeof y=="function"){d=y.call(f,d,s);break e}d=y;break e;case 3:y.flags=y.flags&-4097|64;case 0:if(y=v.payload,s=typeof y=="function"?y.call(f,d,s):y,s==null)break e;d=H({},d,s);break e;case 2:It=!0}}o.callback!==null&&(e.flags|=32,s=i.effects,s===null?i.effects=[o]:s.push(o))}else f={eventTime:f,lane:s,tag:o.tag,payload:o.payload,callback:o.callback,next:null},p===null?(u=p=f,l=d):p=p.next=f,a|=s;if(o=o.next,o===null){if(s=i.shared.pending,s===null)break;o=s.next,s.next=null,i.lastBaseUpdate=s,i.shared.pending=null}}while(1);p===null&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=p,hi|=a,e.lanes=a,e.memoizedState=d}}function pp(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(S(191,i));i.call(r)}}}var fp=new Bi.Component().refs;function ko(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:H({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var wo={isMounted:function(e){return(e=e._reactInternals)?sn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ne(),i=Yt(e),o=zt(r,i);o.payload=t,n!=null&&(o.callback=n),Ft(e,o),Ht(e,i,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ne(),i=Yt(e),o=zt(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),Ft(e,o),Ht(e,i,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ne(),r=Yt(e),i=zt(n,r);i.tag=2,t!=null&&(i.callback=t),Ft(e,i),Ht(e,r,n)}};function hp(e,t,n,r,i,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,a):t.prototype&&t.prototype.isPureReactComponent?!Qr(n,r)||!Qr(i,o):!0}function mp(e,t,n){var r=!1,i=Mt,o=t.contextType;return typeof o=="object"&&o!==null?o=Ae(o):(i=Ee(t)?cn:fe.current,r=t.contextTypes,o=(r=r!=null)?Gn(e,i):Mt),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=wo,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function gp(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&wo.enqueueReplaceState(t,t.state,null)}function fl(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=fp,pl(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Ae(o):(o=Ee(t)?cn:fe.current,i.context=Gn(e,o)),ni(e,n,i,r),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(ko(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&wo.enqueueReplaceState(i,i.state,null),ni(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var _o=Array.isArray;function ri(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(S(309));var r=n.stateNode}if(!r)throw Error(S(147,e));var i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=r.refs;a===fp&&(a=r.refs={}),o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(S(284));if(!n._owner)throw Error(S(290,e))}return e}function So(e,t){if(e.type!=="textarea")throw Error(S(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function yp(e){function t(g,h){if(e){var m=g.lastEffect;m!==null?(m.nextEffect=h,g.lastEffect=h):g.firstEffect=g.lastEffect=h,h.nextEffect=null,h.flags=8}}function n(g,h){if(!e)return null;for(;h!==null;)t(g,h),h=h.sibling;return null}function r(g,h){for(g=new Map;h!==null;)h.key!==null?g.set(h.key,h):g.set(h.index,h),h=h.sibling;return g}function i(g,h){return g=Wt(g,h),g.index=0,g.sibling=null,g}function o(g,h,m){return g.index=m,e?(m=g.alternate,m!==null?(m=m.index,m<h?(g.flags=2,h):m):(g.flags=2,h)):h}function a(g){return e&&g.alternate===null&&(g.flags=2),g}function s(g,h,m,b){return h===null||h.tag!==6?(h=Kl(m,g.mode,b),h.return=g,h):(h=i(h,m),h.return=g,h)}function l(g,h,m,b){return h!==null&&h.elementType===m.type?(b=i(h,m.props),b.ref=ri(g,h,m),b.return=g,b):(b=Uo(m.type,m.key,m.props,null,g.mode,b),b.ref=ri(g,h,m),b.return=g,b)}function u(g,h,m,b){return h===null||h.tag!==4||h.stateNode.containerInfo!==m.containerInfo||h.stateNode.implementation!==m.implementation?(h=Ql(m,g.mode,b),h.return=g,h):(h=i(h,m.children||[]),h.return=g,h)}function p(g,h,m,b,k){return h===null||h.tag!==7?(h=nr(m,g.mode,b,k),h.return=g,h):(h=i(h,m),h.return=g,h)}function d(g,h,m){if(typeof h=="string"||typeof h=="number")return h=Kl(""+h,g.mode,m),h.return=g,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Nr:return m=Uo(h.type,h.key,h.props,null,g.mode,m),m.ref=ri(g,null,h),m.return=g,m;case on:return h=Ql(h,g.mode,m),h.return=g,h}if(_o(h)||Rr(h))return h=nr(h,g.mode,m,null),h.return=g,h;So(g,h)}return null}function f(g,h,m,b){var k=h!==null?h.key:null;if(typeof m=="string"||typeof m=="number")return k!==null?null:s(g,h,""+m,b);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Nr:return m.key===k?m.type===Pt?p(g,h,m.props.children,b,k):l(g,h,m,b):null;case on:return m.key===k?u(g,h,m,b):null}if(_o(m)||Rr(m))return k!==null?null:p(g,h,m,b,null);So(g,m)}return null}function y(g,h,m,b,k){if(typeof b=="string"||typeof b=="number")return g=g.get(m)||null,s(h,g,""+b,k);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Nr:return g=g.get(b.key===null?m:b.key)||null,b.type===Pt?p(h,g,b.props.children,k,b.key):l(h,g,b,k);case on:return g=g.get(b.key===null?m:b.key)||null,u(h,g,b,k)}if(_o(b)||Rr(b))return g=g.get(m)||null,p(h,g,b,k,null);So(h,b)}return null}function v(g,h,m,b){for(var k=null,E=null,_=h,N=h=0,T=null;_!==null&&N<m.length;N++){_.index>N?(T=_,_=null):T=_.sibling;var j=f(g,_,m[N],b);if(j===null){_===null&&(_=T);break}e&&_&&j.alternate===null&&t(g,_),h=o(j,h,N),E===null?k=j:E.sibling=j,E=j,_=T}if(N===m.length)return n(g,_),k;if(_===null){for(;N<m.length;N++)_=d(g,m[N],b),_!==null&&(h=o(_,h,N),E===null?k=_:E.sibling=_,E=_);return k}for(_=r(g,_);N<m.length;N++)T=y(_,g,N,m[N],b),T!==null&&(e&&T.alternate!==null&&_.delete(T.key===null?N:T.key),h=o(T,h,N),E===null?k=T:E.sibling=T,E=T);return e&&_.forEach(function(z){return t(g,z)}),k}function w(g,h,m,b){var k=Rr(m);if(typeof k!="function")throw Error(S(150));if(m=k.call(m),m==null)throw Error(S(151));for(var E=k=null,_=h,N=h=0,T=null,j=m.next();_!==null&&!j.done;N++,j=m.next()){_.index>N?(T=_,_=null):T=_.sibling;var z=f(g,_,j.value,b);if(z===null){_===null&&(_=T);break}e&&_&&z.alternate===null&&t(g,_),h=o(z,h,N),E===null?k=z:E.sibling=z,E=z,_=T}if(j.done)return n(g,_),k;if(_===null){for(;!j.done;N++,j=m.next())j=d(g,j.value,b),j!==null&&(h=o(j,h,N),E===null?k=j:E.sibling=j,E=j);return k}for(_=r(g,_);!j.done;N++,j=m.next())j=y(_,g,N,j.value,b),j!==null&&(e&&j.alternate!==null&&_.delete(j.key===null?N:j.key),h=o(j,h,N),E===null?k=j:E.sibling=j,E=j);return e&&_.forEach(function(Be){return t(g,Be)}),k}return function(g,h,m,b){var k=typeof m=="object"&&m!==null&&m.type===Pt&&m.key===null;k&&(m=m.props.children);var E=typeof m=="object"&&m!==null;if(E)switch(m.$$typeof){case Nr:e:{for(E=m.key,k=h;k!==null;){if(k.key===E){switch(k.tag){case 7:if(m.type===Pt){n(g,k.sibling),h=i(k,m.props.children),h.return=g,g=h;break e}break;default:if(k.elementType===m.type){n(g,k.sibling),h=i(k,m.props),h.ref=ri(g,k,m),h.return=g,g=h;break e}}n(g,k);break}else t(g,k);k=k.sibling}m.type===Pt?(h=nr(m.props.children,g.mode,b,m.key),h.return=g,g=h):(b=Uo(m.type,m.key,m.props,null,g.mode,b),b.ref=ri(g,h,m),b.return=g,g=b)}return a(g);case on:e:{for(k=m.key;h!==null;){if(h.key===k)if(h.tag===4&&h.stateNode.containerInfo===m.containerInfo&&h.stateNode.implementation===m.implementation){n(g,h.sibling),h=i(h,m.children||[]),h.return=g,g=h;break e}else{n(g,h);break}else t(g,h);h=h.sibling}h=Ql(m,g.mode,b),h.return=g,g=h}return a(g)}if(typeof m=="string"||typeof m=="number")return m=""+m,h!==null&&h.tag===6?(n(g,h.sibling),h=i(h,m),h.return=g,g=h):(n(g,h),h=Kl(m,g.mode,b),h.return=g,g=h),a(g);if(_o(m))return v(g,h,m,b);if(Rr(m))return w(g,h,m,b);if(E&&So(g,m),typeof m>"u"&&!k)switch(g.tag){case 1:case 22:case 0:case 11:case 15:throw Error(S(152,$n(g.type)||"Component"))}return n(g,h)}}var Eo=yp(!0),vp=yp(!1),ii={},tt=Lt(ii),oi=Lt(ii),ai=Lt(ii);function pn(e){if(e===ii)throw Error(S(174));return e}function hl(e,t){switch(V(ai,t),V(oi,e),V(tt,ii),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:bs(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=bs(t,e)}Y(tt),V(tt,t)}function Kn(){Y(tt),Y(oi),Y(ai)}function bp(e){pn(ai.current);var t=pn(tt.current),n=bs(t,e.type);t!==n&&(V(oi,e),V(tt,n))}function ml(e){oi.current===e&&(Y(tt),Y(oi))}var K=Lt(0);function Co(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&64)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var mt=null,Bt=null,nt=!1;function xp(e,t){var n=Ie(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function kp(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function gl(e){if(nt){var t=Bt;if(t){var n=t;if(!kp(e,t)){if(t=Bn(n.nextSibling),!t||!kp(e,t)){e.flags=e.flags&-1025|2,nt=!1,mt=e;return}xp(mt,n)}mt=e,Bt=Bn(t.firstChild)}else e.flags=e.flags&-1025|2,nt=!1,mt=e}}function wp(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;mt=e}function jo(e){if(e!==mt)return!1;if(!nt)return wp(e),nt=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!el(t,e.memoizedProps))for(t=Bt;t;)xp(e,t),t=Bn(t.nextSibling);if(wp(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(S(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Bt=Bn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Bt=null}}else Bt=mt?Bn(e.stateNode.nextSibling):null;return!0}function yl(){Bt=mt=null,nt=!1}var Qn=[];function vl(){for(var e=0;e<Qn.length;e++)Qn[e]._workInProgressVersionPrimary=null;Qn.length=0}var si=rn.ReactCurrentDispatcher,Le=rn.ReactCurrentBatchConfig,li=0,X=null,me=null,le=null,Po=!1,ci=!1;function Ce(){throw Error(S(321))}function bl(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Oe(e[n],t[n]))return!1;return!0}function xl(e,t,n,r,i,o){if(li=o,X=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,si.current=e===null||e.memoizedState===null?ov:av,e=n(r,i),ci){o=0;do{if(ci=!1,!(25>o))throw Error(S(301));o+=1,le=me=null,t.updateQueue=null,si.current=sv,e=n(r,i)}while(ci)}if(si.current=Ro,t=me!==null&&me.next!==null,li=0,le=me=X=null,Po=!1,t)throw Error(S(300));return e}function fn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return le===null?X.memoizedState=le=e:le=le.next=e,le}function hn(){if(me===null){var e=X.alternate;e=e!==null?e.memoizedState:null}else e=me.next;var t=le===null?X.memoizedState:le.next;if(t!==null)le=t,me=e;else{if(e===null)throw Error(S(310));me=e,e={memoizedState:me.memoizedState,baseState:me.baseState,baseQueue:me.baseQueue,queue:me.queue,next:null},le===null?X.memoizedState=le=e:le=le.next=e}return le}function rt(e,t){return typeof t=="function"?t(e):t}function ui(e){var t=hn(),n=t.queue;if(n===null)throw Error(S(311));n.lastRenderedReducer=e;var r=me,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(i!==null){i=i.next,r=r.baseState;var s=a=o=null,l=i;do{var u=l.lane;if((li&u)===u)s!==null&&(s=s.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),r=l.eagerReducer===e?l.eagerState:e(r,l.action);else{var p={lane:u,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};s===null?(a=s=p,o=r):s=s.next=p,X.lanes|=u,hi|=u}l=l.next}while(l!==null&&l!==i);s===null?o=r:s.next=a,Oe(r,t.memoizedState)||(qe=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function di(e){var t=hn(),n=t.queue;if(n===null)throw Error(S(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);Oe(o,t.memoizedState)||(qe=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function _p(e,t,n){var r=t._getVersion;r=r(t._source);var i=t._workInProgressVersionPrimary;if(i!==null?e=i===r:(e=e.mutableReadLanes,(e=(li&e)===e)&&(t._workInProgressVersionPrimary=r,Qn.push(t))),e)return n(t._source);throw Qn.push(t),Error(S(350))}function Sp(e,t,n,r){var i=xe;if(i===null)throw Error(S(349));var o=t._getVersion,a=o(t._source),s=si.current,l=s.useState(function(){return _p(i,t,n)}),u=l[1],p=l[0];l=le;var d=e.memoizedState,f=d.refs,y=f.getSnapshot,v=d.source;d=d.subscribe;var w=X;return e.memoizedState={refs:f,source:t,subscribe:r},s.useEffect(function(){f.getSnapshot=n,f.setSnapshot=u;var g=o(t._source);if(!Oe(a,g)){g=n(t._source),Oe(p,g)||(u(g),g=Yt(w),i.mutableReadLanes|=g&i.pendingLanes),g=i.mutableReadLanes,i.entangledLanes|=g;for(var h=i.entanglements,m=g;0<m;){var b=31-Dt(m),k=1<<b;h[b]|=g,m&=~k}}},[n,t,r]),s.useEffect(function(){return r(t._source,function(){var g=f.getSnapshot,h=f.setSnapshot;try{h(g(t._source));var m=Yt(w);i.mutableReadLanes|=m&i.pendingLanes}catch(b){h(function(){throw b})}})},[t,r]),Oe(y,n)&&Oe(v,t)&&Oe(d,r)||(e={pending:null,dispatch:null,lastRenderedReducer:rt,lastRenderedState:p},e.dispatch=u=Sl.bind(null,X,e),l.queue=e,l.baseQueue=null,p=_p(i,t,n),l.memoizedState=l.baseState=p),p}function Ep(e,t,n){var r=hn();return Sp(r,e,t,n)}function pi(e){var t=fn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:rt,lastRenderedState:e},e=e.dispatch=Sl.bind(null,X,e),[t.memoizedState,e]}function No(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=X.updateQueue,t===null?(t={lastEffect:null},X.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Cp(e){var t=fn();return e={current:e},t.memoizedState=e}function $o(){return hn().memoizedState}function kl(e,t,n,r){var i=fn();X.flags|=e,i.memoizedState=No(1|t,n,void 0,r===void 0?null:r)}function wl(e,t,n,r){var i=hn();r=r===void 0?null:r;var o=void 0;if(me!==null){var a=me.memoizedState;if(o=a.destroy,r!==null&&bl(r,a.deps)){No(t,n,o,r);return}}X.flags|=e,i.memoizedState=No(1|t,n,o,r)}function jp(e,t){return kl(516,4,e,t)}function To(e,t){return wl(516,4,e,t)}function Pp(e,t){return wl(4,2,e,t)}function Np(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function $p(e,t,n){return n=n!=null?n.concat([e]):null,wl(4,2,Np.bind(null,t,e),n)}function _l(){}function Tp(e,t){var n=hn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&bl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Rp(e,t){var n=hn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&bl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function iv(e,t){var n=qn();dn(98>n?98:n,function(){e(!0)}),dn(97<n?97:n,function(){var r=Le.transition;Le.transition=1;try{e(!1),t()}finally{Le.transition=r}})}function Sl(e,t,n){var r=Ne(),i=Yt(e),o={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(a===null?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===X||a!==null&&a===X)ci=Po=!0;else{if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var s=t.lastRenderedState,l=a(s,n);if(o.eagerReducer=a,o.eagerState=l,Oe(l,s))return}catch{}finally{}Ht(e,i,r)}}var Ro={readContext:Ae,useCallback:Ce,useContext:Ce,useEffect:Ce,useImperativeHandle:Ce,useLayoutEffect:Ce,useMemo:Ce,useReducer:Ce,useRef:Ce,useState:Ce,useDebugValue:Ce,useDeferredValue:Ce,useTransition:Ce,useMutableSource:Ce,useOpaqueIdentifier:Ce,unstable_isNewReconciler:!1},ov={readContext:Ae,useCallback:function(e,t){return fn().memoizedState=[e,t===void 0?null:t],e},useContext:Ae,useEffect:jp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,kl(4,2,Np.bind(null,t,e),n)},useLayoutEffect:function(e,t){return kl(4,2,e,t)},useMemo:function(e,t){var n=fn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=fn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=Sl.bind(null,X,e),[r.memoizedState,e]},useRef:Cp,useState:pi,useDebugValue:_l,useDeferredValue:function(e){var t=pi(e),n=t[0],r=t[1];return jp(function(){var i=Le.transition;Le.transition=1;try{r(e)}finally{Le.transition=i}},[e]),n},useTransition:function(){var e=pi(!1),t=e[0];return e=iv.bind(null,e[1]),Cp(e),[e,t]},useMutableSource:function(e,t,n){var r=fn();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},Sp(r,e,t,n)},useOpaqueIdentifier:function(){if(nt){var e=!1,t=Xy(function(){throw e||(e=!0,n("r:"+(nl++).toString(36))),Error(S(355))}),n=pi(t)[1];return!(X.mode&2)&&(X.flags|=516,No(5,function(){n("r:"+(nl++).toString(36))},void 0,null)),t}return t="r:"+(nl++).toString(36),pi(t),t},unstable_isNewReconciler:!1},av={readContext:Ae,useCallback:Tp,useContext:Ae,useEffect:To,useImperativeHandle:$p,useLayoutEffect:Pp,useMemo:Rp,useReducer:ui,useRef:$o,useState:function(){return ui(rt)},useDebugValue:_l,useDeferredValue:function(e){var t=ui(rt),n=t[0],r=t[1];return To(function(){var i=Le.transition;Le.transition=1;try{r(e)}finally{Le.transition=i}},[e]),n},useTransition:function(){var e=ui(rt)[0];return[$o().current,e]},useMutableSource:Ep,useOpaqueIdentifier:function(){return ui(rt)[0]},unstable_isNewReconciler:!1},sv={readContext:Ae,useCallback:Tp,useContext:Ae,useEffect:To,useImperativeHandle:$p,useLayoutEffect:Pp,useMemo:Rp,useReducer:di,useRef:$o,useState:function(){return di(rt)},useDebugValue:_l,useDeferredValue:function(e){var t=di(rt),n=t[0],r=t[1];return To(function(){var i=Le.transition;Le.transition=1;try{r(e)}finally{Le.transition=i}},[e]),n},useTransition:function(){var e=di(rt)[0];return[$o().current,e]},useMutableSource:Ep,useOpaqueIdentifier:function(){return di(rt)[0]},unstable_isNewReconciler:!1},lv=rn.ReactCurrentOwner,qe=!1;function je(e,t,n,r){t.child=e===null?vp(t,null,n,r):Eo(t,e.child,n,r)}function Dp(e,t,n,r,i){n=n.render;var o=t.ref;return Vn(t,i),r=xl(e,t,n,r,o,i),e!==null&&!qe?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,gt(e,t,i)):(t.flags|=1,je(e,t,r,i),t.child)}function Op(e,t,n,r,i,o){if(e===null){var a=n.type;return typeof a=="function"&&!Wl(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Ap(e,t,a,r,i,o)):(e=Uo(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}return a=e.child,!(i&o)&&(i=a.memoizedProps,n=n.compare,n=n!==null?n:Qr,n(i,r)&&e.ref===t.ref)?gt(e,t,o):(t.flags|=1,e=Wt(a,r),e.ref=t.ref,e.return=t,t.child=e)}function Ap(e,t,n,r,i,o){if(e!==null&&Qr(e.memoizedProps,r)&&e.ref===t.ref)if(qe=!1,(o&i)!==0)e.flags&16384&&(qe=!0);else return t.lanes=e.lanes,gt(e,t,o);return Cl(e,t,n,r,o)}function El(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden"||r.mode==="unstable-defer-without-hiding")if(!(t.mode&4))t.memoizedState={baseLanes:0},Bo(t,n);else if(n&1073741824)t.memoizedState={baseLanes:0},Bo(t,o!==null?o.baseLanes:n);else return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Bo(t,e),null;else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,Bo(t,r);return je(e,t,i,n),t.child}function Lp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=128)}function Cl(e,t,n,r,i){var o=Ee(n)?cn:fe.current;return o=Gn(t,o),Vn(t,i),n=xl(e,t,n,r,o,i),e!==null&&!qe?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,gt(e,t,i)):(t.flags|=1,je(e,t,n,i),t.child)}function Mp(e,t,n,r,i){if(Ee(n)){var o=!0;mo(t)}else o=!1;if(Vn(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),mp(t,n,r),fl(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ae(u):(u=Ee(n)?cn:fe.current,u=Gn(t,u));var p=n.getDerivedStateFromProps,d=typeof p=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&gp(t,a,r,u),It=!1;var f=t.memoizedState;a.state=f,ni(t,r,a,i),l=t.memoizedState,s!==r||f!==l||Se.current||It?(typeof p=="function"&&(ko(t,n,p,r),l=t.memoizedState),(s=It||hp(t,n,s,r,f,l,u))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4)):(typeof a.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4),r=!1)}else{a=t.stateNode,up(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Ge(t.type,s),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=Ae(l):(l=Ee(n)?cn:fe.current,l=Gn(t,l));var y=n.getDerivedStateFromProps;(p=typeof y=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==d||f!==l)&&gp(t,a,r,l),It=!1,f=t.memoizedState,a.state=f,ni(t,r,a,i);var v=t.memoizedState;s!==d||f!==v||Se.current||It?(typeof y=="function"&&(ko(t,n,y,r),v=t.memoizedState),(u=It||hp(t,n,u,r,f,v,l))?(p||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,v,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,v,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=v),a.props=r,a.state=v,a.context=l,r=u):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),r=!1)}return jl(e,t,n,r,o,i)}function jl(e,t,n,r,i,o){Lp(e,t);var a=(t.flags&64)!==0;if(!r&&!a)return i&&ep(t,n,!1),gt(e,t,o);r=t.stateNode,lv.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Eo(t,e.child,null,o),t.child=Eo(t,null,s,o)):je(e,t,s,o),t.memoizedState=r.state,i&&ep(t,n,!0),t.child}function Ip(e){var t=e.stateNode;t.pendingContext?Xd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Xd(e,t.context,!1),hl(e,t.containerInfo)}var Do={dehydrated:null,retryLane:0};function zp(e,t,n){var r=t.pendingProps,i=K.current,o=!1,a;return(a=(t.flags&64)!==0)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-65):e!==null&&e.memoizedState===null||r.fallback===void 0||r.unstable_avoidThisFallback===!0||(i|=1),V(K,i&1),e===null?(r.fallback!==void 0&&gl(t),e=r.children,i=r.fallback,o?(e=Fp(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Do,e):typeof r.unstable_expectedLoadTime=="number"?(e=Fp(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Do,t.lanes=33554432,e):(n=Vl({mode:"visible",children:e},t.mode,n,null),n.return=t,t.child=n)):e.memoizedState!==null?o?(r=Up(e,t,r.children,r.fallback,n),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:n}:{baseLanes:i.baseLanes|n},o.childLanes=e.childLanes&~n,t.memoizedState=Do,r):(n=Bp(e,t,r.children,n),t.memoizedState=null,n):o?(r=Up(e,t,r.children,r.fallback,n),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:n}:{baseLanes:i.baseLanes|n},o.childLanes=e.childLanes&~n,t.memoizedState=Do,r):(n=Bp(e,t,r.children,n),t.memoizedState=null,n)}function Fp(e,t,n,r){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},!(i&2)&&o!==null?(o.childLanes=0,o.pendingProps=t):o=Vl(t,i,0,null),n=nr(n,i,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function Bp(e,t,n,r){var i=e.child;return e=i.sibling,n=Wt(i,{mode:"visible",children:n}),!(t.mode&2)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function Up(e,t,n,r,i){var o=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:n};return!(o&2)&&t.child!==a?(n=t.child,n.childLanes=0,n.pendingProps=s,a=n.lastEffect,a!==null?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Wt(a,s),e!==null?r=Wt(e,r):(r=nr(r,o,i,null),r.flags|=2),r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Yp(e,t){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),cp(e.return,t)}function Pl(e,t,n,r,i,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i,a.lastEffect=o)}function Hp(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(je(e,t,r.children,n),r=K.current,r&2)r=r&1|2,t.flags|=64;else{if(e!==null&&e.flags&64)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Yp(e,n);else if(e.tag===19)Yp(e,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(V(K,r),!(t.mode&2))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Co(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Pl(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Co(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Pl(t,!0,n,null,o,t.lastEffect);break;case"together":Pl(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function gt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),hi|=t.lanes,n&t.childLanes){if(e!==null&&t.child!==e.child)throw Error(S(153));if(t.child!==null){for(e=t.child,n=Wt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Wt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}return null}var Gp,Nl,qp,Wp;Gp=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Nl=function(){},qp=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,pn(tt.current);var o=null;switch(n){case"input":i=fs(e,i),r=fs(e,r),o=[];break;case"option":i=gs(e,i),r=gs(e,r),o=[];break;case"select":i=H({},i,{value:void 0}),r=H({},r,{value:void 0}),o=[];break;case"textarea":i=ys(e,i),r=ys(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=co)}xs(n,r);var a;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Pr.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(s=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Pr.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&U("scroll",e),o||s===l||(o=[])):typeof l=="object"&&l!==null&&l.$$typeof===ls?l.toString():(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},Wp=function(e,t,n,r){n!==r&&(t.flags|=4)};function fi(e,t){if(!nt)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function cv(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Ee(t.type)&&ho(),null;case 3:return Kn(),Y(Se),Y(fe),vl(),r=t.stateNode,r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(jo(t)?t.flags|=4:r.hydrate||(t.flags|=256)),Nl(t),null;case 5:ml(t);var i=pn(ai.current);if(n=t.type,e!==null&&t.stateNode!=null)qp(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(t.stateNode===null)throw Error(S(166));return null}if(e=pn(tt.current),jo(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[At]=t,r[po]=o,n){case"dialog":U("cancel",r),U("close",r);break;case"iframe":case"object":case"embed":U("load",r);break;case"video":case"audio":for(e=0;e<Xr.length;e++)U(Xr[e],r);break;case"source":U("error",r);break;case"img":case"image":case"link":U("error",r),U("load",r);break;case"details":U("toggle",r);break;case"input":Mu(r,o),U("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},U("invalid",r);break;case"textarea":Fu(r,o),U("invalid",r)}xs(n,o),e=null;for(var a in o)o.hasOwnProperty(a)&&(i=o[a],a==="children"?typeof i=="string"?r.textContent!==i&&(e=["children",i]):typeof i=="number"&&r.textContent!==""+i&&(e=["children",""+i]):Pr.hasOwnProperty(a)&&i!=null&&a==="onScroll"&&U("scroll",r));switch(n){case"input":qi(r),zu(r,o,!0);break;case"textarea":qi(r),Uu(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=co)}r=e,t.updateQueue=r,r!==null&&(t.flags|=4)}else{switch(a=i.nodeType===9?i:i.ownerDocument,e===vs.html&&(e=Yu(n)),e===vs.html?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[At]=t,e[po]=r,Gp(e,t,!1,!1),t.stateNode=e,a=ks(n,r),n){case"dialog":U("cancel",e),U("close",e),i=r;break;case"iframe":case"object":case"embed":U("load",e),i=r;break;case"video":case"audio":for(i=0;i<Xr.length;i++)U(Xr[i],e);i=r;break;case"source":U("error",e),i=r;break;case"img":case"image":case"link":U("error",e),U("load",e),i=r;break;case"details":U("toggle",e),i=r;break;case"input":Mu(e,r),i=fs(e,r),U("invalid",e);break;case"option":i=gs(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=H({},r,{value:void 0}),U("invalid",e);break;case"textarea":Fu(e,r),i=ys(e,r),U("invalid",e);break;default:i=r}xs(n,i);var s=i;for(o in s)if(s.hasOwnProperty(o)){var l=s[o];o==="style"?qu(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Hu(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Or(e,l):typeof l=="number"&&Or(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Pr.hasOwnProperty(o)?l!=null&&o==="onScroll"&&U("scroll",e):l!=null&&ns(e,o,l,a))}switch(n){case"input":qi(e),zu(e,r,!1);break;case"textarea":qi(e),Uu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Nt(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Tn(e,!!r.multiple,o,!1):r.defaultValue!=null&&Tn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=co)}Wd(n,r)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)Wp(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(S(166));n=pn(ai.current),pn(tt.current),jo(t)?(r=t.stateNode,n=t.memoizedProps,r[At]=t,r.nodeValue!==n&&(t.flags|=4)):(r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[At]=t,t.stateNode=r)}return null;case 13:return Y(K),r=t.memoizedState,t.flags&64?(t.lanes=n,t):(r=r!==null,n=!1,e===null?t.memoizedProps.fallback!==void 0&&jo(t):n=e.memoizedState!==null,r&&!n&&t.mode&2&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||K.current&1?ce===0&&(ce=3):((ce===0||ce===3)&&(ce=4),xe===null||!(hi&134217727)&&!(Xn&134217727)||er(xe,ge))),(r||n)&&(t.flags|=4),null);case 4:return Kn(),Nl(t),e===null&&Ud(t.stateNode.containerInfo),null;case 10:return dl(t),null;case 17:return Ee(t.type)&&ho(),null;case 19:if(Y(K),r=t.memoizedState,r===null)return null;if(o=(t.flags&64)!==0,a=r.rendering,a===null)if(o)fi(r,!1);else{if(ce!==0||e!==null&&e.flags&64)for(e=t.child;e!==null;){if(a=Co(e),a!==null){for(t.flags|=64,fi(r,!1),o=a.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),r.lastEffect===null&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return V(K,K.current&1|2),t.child}e=e.sibling}r.tail!==null&&he()>Fl&&(t.flags|=64,o=!0,fi(r,!1),t.lanes=33554432)}else{if(!o)if(e=Co(a),e!==null){if(t.flags|=64,o=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),fi(r,!0),r.tail===null&&r.tailMode==="hidden"&&!a.alternate&&!nt)return t=t.lastEffect=r.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*he()-r.renderingStartTime>Fl&&n!==1073741824&&(t.flags|=64,o=!0,fi(r,!1),t.lanes=33554432);r.isBackwards?(a.sibling=t.child,t.child=a):(n=r.last,n!==null?n.sibling=a:t.child=a,r.last=a)}return r.tail!==null?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=he(),n.sibling=null,t=K.current,V(K,o?t&1|2:t&1),n):null;case 23:case 24:return ql(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&r.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(S(156,t.tag))}function uv(e){switch(e.tag){case 1:Ee(e.type)&&ho();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Kn(),Y(Se),Y(fe),vl(),t=e.flags,t&64)throw Error(S(285));return e.flags=t&-4097|64,e;case 5:return ml(e),null;case 13:return Y(K),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return Y(K),null;case 4:return Kn(),null;case 10:return dl(e),null;case 23:case 24:return ql(),null;default:return null}}function $l(e,t){try{var n="",r=t;do n+=Hg(r),r=r.return;while(r);var i=n}catch(o){i=`
|
|
38
|
+
`+i[a].replace(" at new "," at ");while(1<=a&&0<=s);break}}}finally{ws=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Or(e):""}function fy(e){switch(e.tag){case 5:return Or(e.type);case 16:return Or("Lazy");case 13:return Or("Suspense");case 19:return Or("SuspenseList");case 0:case 2:case 15:return e=Qi(e.type,!1),e;case 11:return e=Qi(e.type.render,!1),e;case 22:return e=Qi(e.type._render,!1),e;case 1:return e=Qi(e.type,!0),e;default:return""}}function Dn(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Tt:return"Fragment";case ln:return"Portal";case Ar:return"Profiler";case ps:return"StrictMode";case Mr:return"Suspense";case Ki:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case fs:return(e.displayName||"Context")+".Consumer";case ms:return(e._context.displayName||"Context")+".Provider";case qi:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case Ji:return Dn(e.type);case gs:return Dn(e._render);case hs:t=e._payload,e=e._init;try{return Dn(e(t))}catch{}}return null}function It(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Wu(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hy(e){var t=Wu(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Xi(e){e._valueTracker||(e._valueTracker=hy(e))}function Gu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Wu(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Zi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function xs(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Vu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=It(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function qu(e,t){t=t.checked,t!=null&&ds(e,"checked",t,!1)}function Ss(e,t){qu(e,t);var n=It(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Es(e,t.type,n):t.hasOwnProperty("defaultValue")&&Es(e,t.type,It(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ku(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Es(e,t,n){(t!=="number"||Zi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function gy(e){var t="";return Vi.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function Cs(e,t){return e=W({children:void 0},t),(t=gy(t.children))&&(e.children=t),e}function An(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+It(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function $s(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(E(91));return W({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ju(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(E(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(E(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:It(n)}}function Qu(e,t){var n=It(t.value),r=It(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Xu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var _s={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Zu(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ps(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Zu(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var eo,ed=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!==_s.svg||"innerHTML"in e)e.innerHTML=t;else{for(eo=eo||document.createElement("div"),eo.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=eo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Lr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var zr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},yy=["Webkit","ms","Moz","O"];Object.keys(zr).forEach(function(e){yy.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),zr[t]=zr[e]})});function td(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||zr.hasOwnProperty(e)&&zr[e]?(""+t).trim():t+"px"}function nd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=td(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var by=W({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function js(e,t){if(t){if(by[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function Ns(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ts(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Is=null,Mn=null,Rn=null;function rd(e){if(e=ii(e)){if(typeof Is!="function")throw Error(E(280));var t=e.stateNode;t&&(t=vo(t),Is(e.stateNode,e.type,t))}}function id(e){Mn?Rn?Rn.push(e):Rn=[e]:Mn=e}function od(){if(Mn){var e=Mn,t=Rn;if(Rn=Mn=null,rd(e),t)for(e=0;e<t.length;e++)rd(t[e])}}function Ds(e,t){return e(t)}function ad(e,t,n,r,i){return e(t,n,r,i)}function As(){}var sd=Ds,cn=!1,Ms=!1;function Rs(){(Mn!==null||Rn!==null)&&(As(),od())}function vy(e,t,n){if(Ms)return e(t,n);Ms=!0;try{return sd(e,t,n)}finally{Ms=!1,Rs()}}function Ur(e,t){var n=e.stateNode;if(n===null)return null;var r=vo(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(E(231,t,typeof n));return n}var Os=!1;if(gt)try{var Yr={};Object.defineProperty(Yr,"passive",{get:function(){Os=!0}}),window.addEventListener("test",Yr,Yr),window.removeEventListener("test",Yr,Yr)}catch{Os=!1}function ky(e,t,n,r,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(p){this.onError(p)}}var Fr=!1,to=null,no=!1,Ls=null,wy={onError:function(e){Fr=!0,to=e}};function xy(e,t,n,r,i,o,a,s,l){Fr=!1,to=null,ky.apply(wy,arguments)}function Sy(e,t,n,r,i,o,a,s,l){if(xy.apply(this,arguments),Fr){if(Fr){var u=to;Fr=!1,to=null}else throw Error(E(198));no||(no=!0,Ls=u)}}function un(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&1026&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ld(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function cd(e){if(un(e)!==e)throw Error(E(188))}function Ey(e){var t=e.alternate;if(!t){if(t=un(e),t===null)throw Error(E(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return cd(i),e;if(o===r)return cd(i),t;o=o.sibling}throw Error(E(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a)throw Error(E(189))}}if(n.alternate!==r)throw Error(E(190))}if(n.tag!==3)throw Error(E(188));return n.stateNode.current===n?e:t}function ud(e){if(e=Ey(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function dd(e,t){for(var n=e.alternate;t!==null;){if(t===e||t===n)return!0;t=t.return}return!1}var pd,zs,md,fd,Us=!1,nt=[],Dt=null,At=null,Mt=null,Br=new Map,Hr=new Map,Wr=[],hd="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ys(e,t,n,r,i){return{blockedOn:e,domEventName:t,eventSystemFlags:n|16,nativeEvent:i,targetContainers:[r]}}function gd(e,t){switch(e){case"focusin":case"focusout":Dt=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":Mt=null;break;case"pointerover":case"pointerout":Br.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hr.delete(t.pointerId)}}function Gr(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e=Ys(t,n,r,i,o),t!==null&&(t=ii(t),t!==null&&zs(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Cy(e,t,n,r,i){switch(t){case"focusin":return Dt=Gr(Dt,e,t,n,r,i),!0;case"dragenter":return At=Gr(At,e,t,n,r,i),!0;case"mouseover":return Mt=Gr(Mt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Br.set(o,Gr(Br.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Hr.set(o,Gr(Hr.get(o)||null,e,t,n,r,i)),!0}return!1}function $y(e){var t=dn(e.target);if(t!==null){var n=un(t);if(n!==null){if(t=n.tag,t===13){if(t=ld(n),t!==null){e.blockedOn=t,fd(e.lanePriority,function(){ie.unstable_runWithPriority(e.priority,function(){md(n)})});return}}else if(t===3&&n.stateNode.hydrate){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ro(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Vs(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n!==null)return t=ii(n),t!==null&&zs(t),e.blockedOn=n,!1;t.shift()}return!0}function yd(e,t,n){ro(e)&&n.delete(t)}function _y(){for(Us=!1;0<nt.length;){var e=nt[0];if(e.blockedOn!==null){e=ii(e.blockedOn),e!==null&&pd(e);break}for(var t=e.targetContainers;0<t.length;){var n=Vs(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n!==null){e.blockedOn=n;break}t.shift()}e.blockedOn===null&&nt.shift()}Dt!==null&&ro(Dt)&&(Dt=null),At!==null&&ro(At)&&(At=null),Mt!==null&&ro(Mt)&&(Mt=null),Br.forEach(yd),Hr.forEach(yd)}function Vr(e,t){e.blockedOn===t&&(e.blockedOn=null,Us||(Us=!0,ie.unstable_scheduleCallback(ie.unstable_NormalPriority,_y)))}function bd(e){function t(i){return Vr(i,e)}if(0<nt.length){Vr(nt[0],e);for(var n=1;n<nt.length;n++){var r=nt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Dt!==null&&Vr(Dt,e),At!==null&&Vr(At,e),Mt!==null&&Vr(Mt,e),Br.forEach(t),Hr.forEach(t),n=0;n<Wr.length;n++)r=Wr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Wr.length&&(n=Wr[0],n.blockedOn===null);)$y(n),n.blockedOn===null&&Wr.shift()}function io(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var On={animationend:io("Animation","AnimationEnd"),animationiteration:io("Animation","AnimationIteration"),animationstart:io("Animation","AnimationStart"),transitionend:io("Transition","TransitionEnd")},Fs={},vd={};gt&&(vd=document.createElement("div").style,"AnimationEvent"in window||(delete On.animationend.animation,delete On.animationiteration.animation,delete On.animationstart.animation),"TransitionEvent"in window||delete On.transitionend.transition);function oo(e){if(Fs[e])return Fs[e];if(!On[e])return e;var t=On[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in vd)return Fs[e]=t[n];return e}var kd=oo("animationend"),wd=oo("animationiteration"),xd=oo("animationstart"),Sd=oo("transitionend"),Ed=new Map,Bs=new Map,Py=["abort","abort",kd,"animationEnd",wd,"animationIteration",xd,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Sd,"transitionEnd","waiting","waiting"];function Hs(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Bs.set(r,t),Ed.set(r,i),an(i,[r])}}var jy=ie.unstable_now;jy();var F=8;function Ln(e){if(1&e)return F=15,1;if(2&e)return F=14,2;if(4&e)return F=13,4;var t=24&e;return t!==0?(F=12,t):e&32?(F=11,32):(t=192&e,t!==0?(F=10,t):e&256?(F=9,256):(t=3584&e,t!==0?(F=8,t):e&4096?(F=7,4096):(t=4186112&e,t!==0?(F=6,t):(t=62914560&e,t!==0?(F=5,t):e&67108864?(F=4,67108864):e&134217728?(F=3,134217728):(t=805306368&e,t!==0?(F=2,t):1073741824&e?(F=1,1073741824):(F=8,e))))))}function Ny(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Ty(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(E(358,e))}}function qr(e,t){var n=e.pendingLanes;if(n===0)return F=0;var r=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(o!==0)r=o,i=F=15;else if(o=n&134217727,o!==0){var l=o&~a;l!==0?(r=Ln(l),i=F):(s&=o,s!==0&&(r=Ln(s),i=F))}else o=n&~a,o!==0?(r=Ln(o),i=F):s!==0&&(r=Ln(s),i=F);if(r===0)return 0;if(r=31-Rt(r),r=n&((0>r?0:1<<r)<<1)-1,t!==0&&t!==r&&!(t&a)){if(Ln(t),i<=F)return t;F=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Rt(t),i=1<<n,r|=e[n],t&=~i;return r}function Cd(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function ao(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=zn(24&~t),e===0?ao(10,t):e;case 10:return e=zn(192&~t),e===0?ao(8,t):e;case 8:return e=zn(3584&~t),e===0&&(e=zn(4186112&~t),e===0&&(e=512)),e;case 2:return t=zn(805306368&~t),t===0&&(t=268435456),t}throw Error(E(358,e))}function zn(e){return e&-e}function Ws(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function so(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,e=e.eventTimes,t=31-Rt(t),e[t]=n}var Rt=Math.clz32?Math.clz32:Ay,Iy=Math.log,Dy=Math.LN2;function Ay(e){return e===0?32:31-(Iy(e)/Dy|0)|0}var My=ie.unstable_UserBlockingPriority,Ry=ie.unstable_runWithPriority,lo=!0;function Oy(e,t,n,r){cn||As();var i=Gs,o=cn;cn=!0;try{ad(i,e,t,n,r)}finally{(cn=o)||Rs()}}function Ly(e,t,n,r){Ry(My,Gs.bind(null,e,t,n,r))}function Gs(e,t,n,r){if(lo){var i;if((i=(t&4)===0)&&0<nt.length&&-1<hd.indexOf(e))e=Ys(null,e,t,n,r),nt.push(e);else{var o=Vs(e,t,n,r);if(o===null)i&&gd(e,r);else{if(i){if(-1<hd.indexOf(e)){e=Ys(o,e,t,n,r),nt.push(e);return}if(Cy(o,e,t,n,r))return;gd(e,r)}tp(e,t,r,null,n)}}}}function Vs(e,t,n,r){var i=Ts(r);if(i=dn(i),i!==null){var o=un(i);if(o===null)i=null;else{var a=o.tag;if(a===13){if(i=ld(o),i!==null)return i;i=null}else if(a===3){if(o.stateNode.hydrate)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return tp(e,t,r,i,n),null}var Ot=null,qs=null,co=null;function $d(){if(co)return co;var e,t=qs,n=t.length,r,i="value"in Ot?Ot.value:Ot.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===i[o-r];r++);return co=i.slice(e,1<r?1-r:void 0)}function uo(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function po(){return!0}function _d(){return!1}function je(e){function t(n,r,i,o,a){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?po:_d,this.isPropagationStopped=_d,this}return W(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=po)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=po)},persist:function(){},isPersistent:po}),t}var Un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ks=je(Un),Kr=W({},Un,{view:0,detail:0}),zy=je(Kr),Js,Qs,Jr,mo=W({},Kr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zs,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Jr&&(Jr&&e.type==="mousemove"?(Js=e.screenX-Jr.screenX,Qs=e.screenY-Jr.screenY):Qs=Js=0,Jr=e),Js)},movementY:function(e){return"movementY"in e?e.movementY:Qs}}),Pd=je(mo),Uy=W({},mo,{dataTransfer:0}),Yy=je(Uy),Fy=W({},Kr,{relatedTarget:0}),Xs=je(Fy),By=W({},Un,{animationName:0,elapsedTime:0,pseudoElement:0}),Hy=je(By),Wy=W({},Un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Gy=je(Wy),Vy=W({},Un,{data:0}),jd=je(Vy),qy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ky={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Jy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Qy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Jy[e])?!!t[e]:!1}function Zs(){return Qy}var Xy=W({},Kr,{key:function(e){if(e.key){var t=qy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=uo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ky[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zs,charCode:function(e){return e.type==="keypress"?uo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?uo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Zy=je(Xy),eb=W({},mo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Nd=je(eb),tb=W({},Kr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zs}),nb=je(tb),rb=W({},Un,{propertyName:0,elapsedTime:0,pseudoElement:0}),ib=je(rb),ob=W({},mo,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),ab=je(ob),sb=[9,13,27,32],el=gt&&"CompositionEvent"in window,Qr=null;gt&&"documentMode"in document&&(Qr=document.documentMode);var lb=gt&&"TextEvent"in window&&!Qr,Td=gt&&(!el||Qr&&8<Qr&&11>=Qr),Id=String.fromCharCode(32),Dd=!1;function Ad(e,t){switch(e){case"keyup":return sb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Md(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yn=!1;function cb(e,t){switch(e){case"compositionend":return Md(t);case"keypress":return t.which!==32?null:(Dd=!0,Id);case"textInput":return e=t.data,e===Id&&Dd?null:e;default:return null}}function ub(e,t){if(Yn)return e==="compositionend"||!el&&Ad(e,t)?(e=$d(),co=qs=Ot=null,Yn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Td&&t.locale!=="ko"?null:t.data;default:return null}}var db={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Rd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!db[e.type]:t==="textarea"}function Od(e,t,n,r){id(r),t=ho(t,"onChange"),0<t.length&&(n=new Ks("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Xr=null,Zr=null;function pb(e){Jd(e,0)}function fo(e){var t=Gn(e);if(Gu(t))return e}function mb(e,t){if(e==="change")return t}var Ld=!1;if(gt){var tl;if(gt){var nl="oninput"in document;if(!nl){var zd=document.createElement("div");zd.setAttribute("oninput","return;"),nl=typeof zd.oninput=="function"}tl=nl}else tl=!1;Ld=tl&&(!document.documentMode||9<document.documentMode)}function Ud(){Xr&&(Xr.detachEvent("onpropertychange",Yd),Zr=Xr=null)}function Yd(e){if(e.propertyName==="value"&&fo(Zr)){var t=[];if(Od(t,Zr,e,Ts(e)),e=pb,cn)e(t);else{cn=!0;try{Ds(e,t)}finally{cn=!1,Rs()}}}}function fb(e,t,n){e==="focusin"?(Ud(),Xr=t,Zr=n,Xr.attachEvent("onpropertychange",Yd)):e==="focusout"&&Ud()}function hb(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return fo(Zr)}function gb(e,t){if(e==="click")return fo(t)}function yb(e,t){if(e==="input"||e==="change")return fo(t)}function bb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ae=typeof Object.is=="function"?Object.is:bb,vb=Object.prototype.hasOwnProperty;function ei(e,t){if(Ae(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!vb.call(t,n[r])||!Ae(e[n[r]],t[n[r]]))return!1;return!0}function Fd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Bd(e,t){var n=Fd(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Fd(n)}}function Hd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Hd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Wd(){for(var e=window,t=Zi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Zi(e.document)}return t}function rl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var kb=gt&&"documentMode"in document&&11>=document.documentMode,Fn=null,il=null,ti=null,ol=!1;function Gd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ol||Fn==null||Fn!==Zi(r)||(r=Fn,"selectionStart"in r&&rl(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ti&&ei(ti,r)||(ti=r,r=ho(il,"onSelect"),0<r.length&&(t=new Ks("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Fn)))}Hs("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Hs("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Hs(Py,2);for(var Vd="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),al=0;al<Vd.length;al++)Bs.set(Vd[al],0);In("onMouseEnter",["mouseout","mouseover"]),In("onMouseLeave",["mouseout","mouseover"]),In("onPointerEnter",["pointerout","pointerover"]),In("onPointerLeave",["pointerout","pointerover"]),an("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),an("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),an("onBeforeInput",["compositionend","keypress","textInput","paste"]),an("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),an("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),an("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ni="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),qd=new Set("cancel close invalid load scroll toggle".split(" ").concat(ni));function Kd(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Sy(r,t,void 0,e),e.currentTarget=null}function Jd(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;Kd(i,s,u),o=l}else for(a=0;a<r.length;a++){if(s=r[a],l=s.instance,u=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;Kd(i,s,u),o=l}}}if(no)throw e=Ls,no=!1,Ls=null,e}function B(e,t){var n=sp(t),r=e+"__bubble";n.has(r)||(ep(t,e,2,!1),n.add(r))}var Qd="_reactListening"+Math.random().toString(36).slice(2);function Xd(e){e[Qd]||(e[Qd]=!0,zu.forEach(function(t){qd.has(t)||Zd(t,!1,e,null),Zd(t,!0,e,null)}))}function Zd(e,t,n,r){var i=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,o=n;if(e==="selectionchange"&&n.nodeType!==9&&(o=n.ownerDocument),r!==null&&!t&&qd.has(e)){if(e!=="scroll")return;i|=2,o=r}var a=sp(o),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(i|=4),ep(o,e,i,t),a.add(s))}function ep(e,t,n,r){var i=Bs.get(t);switch(i===void 0?2:i){case 0:i=Oy;break;case 1:i=Ly;break;default:i=Gs}n=i.bind(null,t,n,e),i=void 0,!Os||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function tp(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(a===4)for(a=r.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;a=a.return}for(;s!==null;){if(a=dn(s),a===null)return;if(l=a.tag,l===5||l===6){r=o=a;continue e}s=s.parentNode}}r=r.return}vy(function(){var u=o,p=Ts(n),d=[];e:{var m=Ed.get(e);if(m!==void 0){var g=Ks,b=e;switch(e){case"keypress":if(uo(n)===0)break e;case"keydown":case"keyup":g=Zy;break;case"focusin":b="focus",g=Xs;break;case"focusout":b="blur",g=Xs;break;case"beforeblur":case"afterblur":g=Xs;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=Pd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=Yy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=nb;break;case kd:case wd:case xd:g=Hy;break;case Sd:g=ib;break;case"scroll":g=zy;break;case"wheel":g=ab;break;case"copy":case"cut":case"paste":g=Gy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Nd}var x=(t&4)!==0,y=!x&&e==="scroll",f=x?m!==null?m+"Capture":null:m;x=[];for(var h=u,v;h!==null;){v=h;var k=v.stateNode;if(v.tag===5&&k!==null&&(v=k,f!==null&&(k=Ur(h,f),k!=null&&x.push(ri(h,k,v)))),y)break;h=h.return}0<x.length&&(m=new g(m,b,null,n,p),d.push({event:m,listeners:x}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",m&&!(t&16)&&(b=n.relatedTarget||n.fromElement)&&(dn(b)||b[Wn]))break e;if((g||m)&&(m=p.window===p?p:(m=p.ownerDocument)?m.defaultView||m.parentWindow:window,g?(b=n.relatedTarget||n.toElement,g=u,b=b?dn(b):null,b!==null&&(y=un(b),b!==y||b.tag!==5&&b.tag!==6)&&(b=null)):(g=null,b=u),g!==b)){if(x=Pd,k="onMouseLeave",f="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(x=Nd,k="onPointerLeave",f="onPointerEnter",h="pointer"),y=g==null?m:Gn(g),v=b==null?m:Gn(b),m=new x(k,h+"leave",g,n,p),m.target=y,m.relatedTarget=v,k=null,dn(p)===u&&(x=new x(f,h+"enter",b,n,p),x.target=v,x.relatedTarget=y,k=x),y=k,g&&b)t:{for(x=g,f=b,h=0,v=x;v;v=Bn(v))h++;for(v=0,k=f;k;k=Bn(k))v++;for(;0<h-v;)x=Bn(x),h--;for(;0<v-h;)f=Bn(f),v--;for(;h--;){if(x===f||f!==null&&x===f.alternate)break t;x=Bn(x),f=Bn(f)}x=null}else x=null;g!==null&&np(d,m,g,x,!1),b!==null&&y!==null&&np(d,y,b,x,!0)}}e:{if(m=u?Gn(u):window,g=m.nodeName&&m.nodeName.toLowerCase(),g==="select"||g==="input"&&m.type==="file")var C=mb;else if(Rd(m))if(Ld)C=yb;else{C=hb;var S=fb}else(g=m.nodeName)&&g.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(C=gb);if(C&&(C=C(e,u))){Od(d,C,n,p);break e}S&&S(e,m,u),e==="focusout"&&(S=m._wrapperState)&&S.controlled&&m.type==="number"&&Es(m,"number",m.value)}switch(S=u?Gn(u):window,e){case"focusin":(Rd(S)||S.contentEditable==="true")&&(Fn=S,il=u,ti=null);break;case"focusout":ti=il=Fn=null;break;case"mousedown":ol=!0;break;case"contextmenu":case"mouseup":case"dragend":ol=!1,Gd(d,n,p);break;case"selectionchange":if(kb)break;case"keydown":case"keyup":Gd(d,n,p)}var j;if(el)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else Yn?Ad(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(Td&&n.locale!=="ko"&&(Yn||T!=="onCompositionStart"?T==="onCompositionEnd"&&Yn&&(j=$d()):(Ot=p,qs="value"in Ot?Ot.value:Ot.textContent,Yn=!0)),S=ho(u,T),0<S.length&&(T=new jd(T,e,null,n,p),d.push({event:T,listeners:S}),j?T.data=j:(j=Md(n),j!==null&&(T.data=j)))),(j=lb?cb(e,n):ub(e,n))&&(u=ho(u,"onBeforeInput"),0<u.length&&(p=new jd("onBeforeInput","beforeinput",null,n,p),d.push({event:p,listeners:u}),p.data=j))}Jd(d,t)})}function ri(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ho(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Ur(e,n),o!=null&&r.unshift(ri(e,o,i)),o=Ur(e,t),o!=null&&r.push(ri(e,o,i))),e=e.return}return r}function Bn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function np(e,t,n,r,i){for(var o=t._reactName,a=[];n!==null&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(l!==null&&l===r)break;s.tag===5&&u!==null&&(s=u,i?(l=Ur(n,o),l!=null&&a.unshift(ri(n,l,s))):i||(l=Ur(n,o),l!=null&&a.push(ri(n,l,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}function go(){}var sl=null,ll=null;function rp(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function cl(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ip=typeof setTimeout=="function"?setTimeout:void 0,wb=typeof clearTimeout=="function"?clearTimeout:void 0;function ul(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Hn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function op(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var dl=0;function xb(e){return{$$typeof:ys,toString:e,valueOf:e}}var yo=Math.random().toString(36).slice(2),Lt="__reactFiber$"+yo,bo="__reactProps$"+yo,Wn="__reactContainer$"+yo,ap="__reactEvents$"+yo;function dn(e){var t=e[Lt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Wn]||n[Lt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=op(e);e!==null;){if(n=e[Lt])return n;e=op(e)}return t}e=n,n=e.parentNode}return null}function ii(e){return e=e[Lt]||e[Wn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Gn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(E(33))}function vo(e){return e[bo]||null}function sp(e){var t=e[ap];return t===void 0&&(t=e[ap]=new Set),t}var pl=[],Vn=-1;function zt(e){return{current:e}}function H(e){0>Vn||(e.current=pl[Vn],pl[Vn]=null,Vn--)}function q(e,t){Vn++,pl[Vn]=e.current,e.current=t}var Ut={},me=zt(Ut),Ce=zt(!1),pn=Ut;function qn(e,t){var n=e.type.contextTypes;if(!n)return Ut;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function $e(e){return e=e.childContextTypes,e!=null}function ko(){H(Ce),H(me)}function lp(e,t,n){if(me.current!==Ut)throw Error(E(168));q(me,t),q(Ce,n)}function cp(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in e))throw Error(E(108,Dn(t)||"Unknown",i));return W({},n,r)}function wo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ut,pn=me.current,q(me,e),q(Ce,Ce.current),!0}function up(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=cp(e,t,pn),r.__reactInternalMemoizedMergedChildContext=e,H(Ce),H(me),q(me,e)):H(Ce),q(Ce,n)}var ml=null,mn=null,Sb=ie.unstable_runWithPriority,fl=ie.unstable_scheduleCallback,hl=ie.unstable_cancelCallback,Eb=ie.unstable_shouldYield,dp=ie.unstable_requestPaint,gl=ie.unstable_now,Cb=ie.unstable_getCurrentPriorityLevel,xo=ie.unstable_ImmediatePriority,pp=ie.unstable_UserBlockingPriority,mp=ie.unstable_NormalPriority,fp=ie.unstable_LowPriority,hp=ie.unstable_IdlePriority,yl={},$b=dp!==void 0?dp:function(){},yt=null,So=null,bl=!1,gp=gl(),fe=1e4>gp?gl:function(){return gl()-gp};function Kn(){switch(Cb()){case xo:return 99;case pp:return 98;case mp:return 97;case fp:return 96;case hp:return 95;default:throw Error(E(332))}}function yp(e){switch(e){case 99:return xo;case 98:return pp;case 97:return mp;case 96:return fp;case 95:return hp;default:throw Error(E(332))}}function fn(e,t){return e=yp(e),Sb(e,t)}function oi(e,t,n){return e=yp(e),fl(e,t,n)}function rt(){if(So!==null){var e=So;So=null,hl(e)}bp()}function bp(){if(!bl&&yt!==null){bl=!0;var e=0;try{var t=yt;fn(99,function(){for(;e<t.length;e++){var n=t[e];do n=n(!0);while(n!==null)}}),yt=null}catch(n){throw yt!==null&&(yt=yt.slice(e+1)),fl(xo,rt),n}finally{bl=!1}}}var _b=sn.ReactCurrentBatchConfig;function Ge(e,t){if(e&&e.defaultProps){t=W({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Eo=zt(null),Co=null,Jn=null,$o=null;function vl(){$o=Jn=Co=null}function kl(e){var t=Eo.current;H(Eo),e.type._context._currentValue=t}function vp(e,t){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)===t){if(n===null||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,n!==null&&(n.childLanes|=t);e=e.return}}function Qn(e,t){Co=e,$o=Jn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ve=!0),e.firstContext=null)}function Me(e,t){if($o!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&($o=e,t=1073741823),t={context:e,observedBits:t,next:null},Jn===null){if(Co===null)throw Error(E(308));Jn=t,Co.dependencies={lanes:0,firstContext:t,responders:null}}else Jn=Jn.next=t;return e._currentValue}var Yt=!1;function wl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function kp(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ft(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bt(e,t){if(e=e.updateQueue,e!==null){e=e.shared;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function wp(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ai(e,t,n,r){var i=e.updateQueue;Yt=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,u=l.next;l.next=null,a===null?o=u:a.next=u,a=l;var p=e.alternate;if(p!==null){p=p.updateQueue;var d=p.lastBaseUpdate;d!==a&&(d===null?p.firstBaseUpdate=u:d.next=u,p.lastBaseUpdate=l)}}if(o!==null){d=i.baseState,a=0,p=u=l=null;do{s=o.lane;var m=o.eventTime;if((r&s)===s){p!==null&&(p=p.next={eventTime:m,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var g=e,b=o;switch(s=t,m=n,b.tag){case 1:if(g=b.payload,typeof g=="function"){d=g.call(m,d,s);break e}d=g;break e;case 3:g.flags=g.flags&-4097|64;case 0:if(g=b.payload,s=typeof g=="function"?g.call(m,d,s):g,s==null)break e;d=W({},d,s);break e;case 2:Yt=!0}}o.callback!==null&&(e.flags|=32,s=i.effects,s===null?i.effects=[o]:s.push(o))}else m={eventTime:m,lane:s,tag:o.tag,payload:o.payload,callback:o.callback,next:null},p===null?(u=p=m,l=d):p=p.next=m,a|=s;if(o=o.next,o===null){if(s=i.shared.pending,s===null)break;o=s.next,s.next=null,i.lastBaseUpdate=s,i.shared.pending=null}}while(1);p===null&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=p,bi|=a,e.lanes=a,e.memoizedState=d}}function xp(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(E(191,i));i.call(r)}}}var Sp=new Vi.Component().refs;function _o(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:W({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Po={isMounted:function(e){return(e=e._reactInternals)?un(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ne(),i=Gt(e),o=Ft(r,i);o.payload=t,n!=null&&(o.callback=n),Bt(e,o),Vt(e,i,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ne(),i=Gt(e),o=Ft(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),Bt(e,o),Vt(e,i,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ne(),r=Gt(e),i=Ft(n,r);i.tag=2,t!=null&&(i.callback=t),Bt(e,i),Vt(e,r,n)}};function Ep(e,t,n,r,i,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,a):t.prototype&&t.prototype.isPureReactComponent?!ei(n,r)||!ei(i,o):!0}function Cp(e,t,n){var r=!1,i=Ut,o=t.contextType;return typeof o=="object"&&o!==null?o=Me(o):(i=$e(t)?pn:me.current,r=t.contextTypes,o=(r=r!=null)?qn(e,i):Ut),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Po,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function $p(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Po.enqueueReplaceState(t,t.state,null)}function xl(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Sp,wl(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Me(o):(o=$e(t)?pn:me.current,i.context=qn(e,o)),ai(e,n,i,r),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(_o(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Po.enqueueReplaceState(i,i.state,null),ai(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var jo=Array.isArray;function si(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(E(309));var r=n.stateNode}if(!r)throw Error(E(147,e));var i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=r.refs;a===Sp&&(a=r.refs={}),o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(E(284));if(!n._owner)throw Error(E(290,e))}return e}function No(e,t){if(e.type!=="textarea")throw Error(E(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function _p(e){function t(y,f){if(e){var h=y.lastEffect;h!==null?(h.nextEffect=f,y.lastEffect=f):y.firstEffect=y.lastEffect=f,f.nextEffect=null,f.flags=8}}function n(y,f){if(!e)return null;for(;f!==null;)t(y,f),f=f.sibling;return null}function r(y,f){for(y=new Map;f!==null;)f.key!==null?y.set(f.key,f):y.set(f.index,f),f=f.sibling;return y}function i(y,f){return y=Jt(y,f),y.index=0,y.sibling=null,y}function o(y,f,h){return y.index=h,e?(h=y.alternate,h!==null?(h=h.index,h<f?(y.flags=2,f):h):(y.flags=2,f)):f}function a(y){return e&&y.alternate===null&&(y.flags=2),y}function s(y,f,h,v){return f===null||f.tag!==6?(f=ic(h,y.mode,v),f.return=y,f):(f=i(f,h),f.return=y,f)}function l(y,f,h,v){return f!==null&&f.elementType===h.type?(v=i(f,h.props),v.ref=si(y,f,h),v.return=y,v):(v=qo(h.type,h.key,h.props,null,y.mode,v),v.ref=si(y,f,h),v.return=y,v)}function u(y,f,h,v){return f===null||f.tag!==4||f.stateNode.containerInfo!==h.containerInfo||f.stateNode.implementation!==h.implementation?(f=oc(h,y.mode,v),f.return=y,f):(f=i(f,h.children||[]),f.return=y,f)}function p(y,f,h,v,k){return f===null||f.tag!==7?(f=or(h,y.mode,v,k),f.return=y,f):(f=i(f,h),f.return=y,f)}function d(y,f,h){if(typeof f=="string"||typeof f=="number")return f=ic(""+f,y.mode,h),f.return=y,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Dr:return h=qo(f.type,f.key,f.props,null,y.mode,h),h.ref=si(y,null,f),h.return=y,h;case ln:return f=oc(f,y.mode,h),f.return=y,f}if(jo(f)||Rr(f))return f=or(f,y.mode,h,null),f.return=y,f;No(y,f)}return null}function m(y,f,h,v){var k=f!==null?f.key:null;if(typeof h=="string"||typeof h=="number")return k!==null?null:s(y,f,""+h,v);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Dr:return h.key===k?h.type===Tt?p(y,f,h.props.children,v,k):l(y,f,h,v):null;case ln:return h.key===k?u(y,f,h,v):null}if(jo(h)||Rr(h))return k!==null?null:p(y,f,h,v,null);No(y,h)}return null}function g(y,f,h,v,k){if(typeof v=="string"||typeof v=="number")return y=y.get(h)||null,s(f,y,""+v,k);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Dr:return y=y.get(v.key===null?h:v.key)||null,v.type===Tt?p(f,y,v.props.children,k,v.key):l(f,y,v,k);case ln:return y=y.get(v.key===null?h:v.key)||null,u(f,y,v,k)}if(jo(v)||Rr(v))return y=y.get(h)||null,p(f,y,v,k,null);No(f,v)}return null}function b(y,f,h,v){for(var k=null,C=null,S=f,j=f=0,T=null;S!==null&&j<h.length;j++){S.index>j?(T=S,S=null):T=S.sibling;var _=m(y,S,h[j],v);if(_===null){S===null&&(S=T);break}e&&S&&_.alternate===null&&t(y,S),f=o(_,f,j),C===null?k=_:C.sibling=_,C=_,S=T}if(j===h.length)return n(y,S),k;if(S===null){for(;j<h.length;j++)S=d(y,h[j],v),S!==null&&(f=o(S,f,j),C===null?k=S:C.sibling=S,C=S);return k}for(S=r(y,S);j<h.length;j++)T=g(S,y,j,h[j],v),T!==null&&(e&&T.alternate!==null&&S.delete(T.key===null?j:T.key),f=o(T,f,j),C===null?k=T:C.sibling=T,C=T);return e&&S.forEach(function(U){return t(y,U)}),k}function x(y,f,h,v){var k=Rr(h);if(typeof k!="function")throw Error(E(150));if(h=k.call(h),h==null)throw Error(E(151));for(var C=k=null,S=f,j=f=0,T=null,_=h.next();S!==null&&!_.done;j++,_=h.next()){S.index>j?(T=S,S=null):T=S.sibling;var U=m(y,S,_.value,v);if(U===null){S===null&&(S=T);break}e&&S&&U.alternate===null&&t(y,S),f=o(U,f,j),C===null?k=U:C.sibling=U,C=U,S=T}if(_.done)return n(y,S),k;if(S===null){for(;!_.done;j++,_=h.next())_=d(y,_.value,v),_!==null&&(f=o(_,f,j),C===null?k=_:C.sibling=_,C=_);return k}for(S=r(y,S);!_.done;j++,_=h.next())_=g(S,y,j,_.value,v),_!==null&&(e&&_.alternate!==null&&S.delete(_.key===null?j:_.key),f=o(_,f,j),C===null?k=_:C.sibling=_,C=_);return e&&S.forEach(function(Fe){return t(y,Fe)}),k}return function(y,f,h,v){var k=typeof h=="object"&&h!==null&&h.type===Tt&&h.key===null;k&&(h=h.props.children);var C=typeof h=="object"&&h!==null;if(C)switch(h.$$typeof){case Dr:e:{for(C=h.key,k=f;k!==null;){if(k.key===C){switch(k.tag){case 7:if(h.type===Tt){n(y,k.sibling),f=i(k,h.props.children),f.return=y,y=f;break e}break;default:if(k.elementType===h.type){n(y,k.sibling),f=i(k,h.props),f.ref=si(y,k,h),f.return=y,y=f;break e}}n(y,k);break}else t(y,k);k=k.sibling}h.type===Tt?(f=or(h.props.children,y.mode,v,h.key),f.return=y,y=f):(v=qo(h.type,h.key,h.props,null,y.mode,v),v.ref=si(y,f,h),v.return=y,y=v)}return a(y);case ln:e:{for(k=h.key;f!==null;){if(f.key===k)if(f.tag===4&&f.stateNode.containerInfo===h.containerInfo&&f.stateNode.implementation===h.implementation){n(y,f.sibling),f=i(f,h.children||[]),f.return=y,y=f;break e}else{n(y,f);break}else t(y,f);f=f.sibling}f=oc(h,y.mode,v),f.return=y,y=f}return a(y)}if(typeof h=="string"||typeof h=="number")return h=""+h,f!==null&&f.tag===6?(n(y,f.sibling),f=i(f,h),f.return=y,y=f):(n(y,f),f=ic(h,y.mode,v),f.return=y,y=f),a(y);if(jo(h))return b(y,f,h,v);if(Rr(h))return x(y,f,h,v);if(C&&No(y,h),typeof h>"u"&&!k)switch(y.tag){case 1:case 22:case 0:case 11:case 15:throw Error(E(152,Dn(y.type)||"Component"))}return n(y,f)}}var To=_p(!0),Pp=_p(!1),li={},it=zt(li),ci=zt(li),ui=zt(li);function hn(e){if(e===li)throw Error(E(174));return e}function Sl(e,t){switch(q(ui,t),q(ci,e),q(it,li),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ps(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ps(t,e)}H(it),q(it,t)}function Xn(){H(it),H(ci),H(ui)}function jp(e){hn(ui.current);var t=hn(it.current),n=Ps(t,e.type);t!==n&&(q(ci,e),q(it,n))}function El(e){ci.current===e&&(H(it),H(ci))}var K=zt(0);function Io(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&64)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var bt=null,Ht=null,ot=!1;function Np(e,t){var n=Le(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Tp(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function Cl(e){if(ot){var t=Ht;if(t){var n=t;if(!Tp(e,t)){if(t=Hn(n.nextSibling),!t||!Tp(e,t)){e.flags=e.flags&-1025|2,ot=!1,bt=e;return}Np(bt,n)}bt=e,Ht=Hn(t.firstChild)}else e.flags=e.flags&-1025|2,ot=!1,bt=e}}function Ip(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;bt=e}function Do(e){if(e!==bt)return!1;if(!ot)return Ip(e),ot=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!cl(t,e.memoizedProps))for(t=Ht;t;)Np(e,t),t=Hn(t.nextSibling);if(Ip(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(E(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ht=Hn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ht=null}}else Ht=bt?Hn(e.stateNode.nextSibling):null;return!0}function $l(){Ht=bt=null,ot=!1}var Zn=[];function _l(){for(var e=0;e<Zn.length;e++)Zn[e]._workInProgressVersionPrimary=null;Zn.length=0}var di=sn.ReactCurrentDispatcher,Re=sn.ReactCurrentBatchConfig,pi=0,X=null,he=null,le=null,Ao=!1,mi=!1;function _e(){throw Error(E(321))}function Pl(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ae(e[n],t[n]))return!1;return!0}function jl(e,t,n,r,i,o){if(pi=o,X=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,di.current=e===null||e.memoizedState===null?jb:Nb,e=n(r,i),mi){o=0;do{if(mi=!1,!(25>o))throw Error(E(301));o+=1,le=he=null,t.updateQueue=null,di.current=Tb,e=n(r,i)}while(mi)}if(di.current=Lo,t=he!==null&&he.next!==null,pi=0,le=he=X=null,Ao=!1,t)throw Error(E(300));return e}function gn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return le===null?X.memoizedState=le=e:le=le.next=e,le}function yn(){if(he===null){var e=X.alternate;e=e!==null?e.memoizedState:null}else e=he.next;var t=le===null?X.memoizedState:le.next;if(t!==null)le=t,he=e;else{if(e===null)throw Error(E(310));he=e,e={memoizedState:he.memoizedState,baseState:he.baseState,baseQueue:he.baseQueue,queue:he.queue,next:null},le===null?X.memoizedState=le=e:le=le.next=e}return le}function at(e,t){return typeof t=="function"?t(e):t}function fi(e){var t=yn(),n=t.queue;if(n===null)throw Error(E(311));n.lastRenderedReducer=e;var r=he,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(i!==null){i=i.next,r=r.baseState;var s=a=o=null,l=i;do{var u=l.lane;if((pi&u)===u)s!==null&&(s=s.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),r=l.eagerReducer===e?l.eagerState:e(r,l.action);else{var p={lane:u,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};s===null?(a=s=p,o=r):s=s.next=p,X.lanes|=u,bi|=u}l=l.next}while(l!==null&&l!==i);s===null?o=r:s.next=a,Ae(r,t.memoizedState)||(Ve=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function hi(e){var t=yn(),n=t.queue;if(n===null)throw Error(E(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);Ae(o,t.memoizedState)||(Ve=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Dp(e,t,n){var r=t._getVersion;r=r(t._source);var i=t._workInProgressVersionPrimary;if(i!==null?e=i===r:(e=e.mutableReadLanes,(e=(pi&e)===e)&&(t._workInProgressVersionPrimary=r,Zn.push(t))),e)return n(t._source);throw Zn.push(t),Error(E(350))}function Ap(e,t,n,r){var i=we;if(i===null)throw Error(E(349));var o=t._getVersion,a=o(t._source),s=di.current,l=s.useState(function(){return Dp(i,t,n)}),u=l[1],p=l[0];l=le;var d=e.memoizedState,m=d.refs,g=m.getSnapshot,b=d.source;d=d.subscribe;var x=X;return e.memoizedState={refs:m,source:t,subscribe:r},s.useEffect(function(){m.getSnapshot=n,m.setSnapshot=u;var y=o(t._source);if(!Ae(a,y)){y=n(t._source),Ae(p,y)||(u(y),y=Gt(x),i.mutableReadLanes|=y&i.pendingLanes),y=i.mutableReadLanes,i.entangledLanes|=y;for(var f=i.entanglements,h=y;0<h;){var v=31-Rt(h),k=1<<v;f[v]|=y,h&=~k}}},[n,t,r]),s.useEffect(function(){return r(t._source,function(){var y=m.getSnapshot,f=m.setSnapshot;try{f(y(t._source));var h=Gt(x);i.mutableReadLanes|=h&i.pendingLanes}catch(v){f(function(){throw v})}})},[t,r]),Ae(g,n)&&Ae(b,t)&&Ae(d,r)||(e={pending:null,dispatch:null,lastRenderedReducer:at,lastRenderedState:p},e.dispatch=u=Dl.bind(null,X,e),l.queue=e,l.baseQueue=null,p=Dp(i,t,n),l.memoizedState=l.baseState=p),p}function Mp(e,t,n){var r=yn();return Ap(r,e,t,n)}function gi(e){var t=gn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:at,lastRenderedState:e},e=e.dispatch=Dl.bind(null,X,e),[t.memoizedState,e]}function Mo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=X.updateQueue,t===null?(t={lastEffect:null},X.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Rp(e){var t=gn();return e={current:e},t.memoizedState=e}function Ro(){return yn().memoizedState}function Nl(e,t,n,r){var i=gn();X.flags|=e,i.memoizedState=Mo(1|t,n,void 0,r===void 0?null:r)}function Tl(e,t,n,r){var i=yn();r=r===void 0?null:r;var o=void 0;if(he!==null){var a=he.memoizedState;if(o=a.destroy,r!==null&&Pl(r,a.deps)){Mo(t,n,o,r);return}}X.flags|=e,i.memoizedState=Mo(1|t,n,o,r)}function Op(e,t){return Nl(516,4,e,t)}function Oo(e,t){return Tl(516,4,e,t)}function Lp(e,t){return Tl(4,2,e,t)}function zp(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Up(e,t,n){return n=n!=null?n.concat([e]):null,Tl(4,2,zp.bind(null,t,e),n)}function Il(){}function Yp(e,t){var n=yn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Pl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Fp(e,t){var n=yn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Pl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Pb(e,t){var n=Kn();fn(98>n?98:n,function(){e(!0)}),fn(97<n?97:n,function(){var r=Re.transition;Re.transition=1;try{e(!1),t()}finally{Re.transition=r}})}function Dl(e,t,n){var r=Ne(),i=Gt(e),o={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(a===null?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===X||a!==null&&a===X)mi=Ao=!0;else{if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var s=t.lastRenderedState,l=a(s,n);if(o.eagerReducer=a,o.eagerState=l,Ae(l,s))return}catch{}finally{}Vt(e,i,r)}}var Lo={readContext:Me,useCallback:_e,useContext:_e,useEffect:_e,useImperativeHandle:_e,useLayoutEffect:_e,useMemo:_e,useReducer:_e,useRef:_e,useState:_e,useDebugValue:_e,useDeferredValue:_e,useTransition:_e,useMutableSource:_e,useOpaqueIdentifier:_e,unstable_isNewReconciler:!1},jb={readContext:Me,useCallback:function(e,t){return gn().memoizedState=[e,t===void 0?null:t],e},useContext:Me,useEffect:Op,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Nl(4,2,zp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Nl(4,2,e,t)},useMemo:function(e,t){var n=gn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=gn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=Dl.bind(null,X,e),[r.memoizedState,e]},useRef:Rp,useState:gi,useDebugValue:Il,useDeferredValue:function(e){var t=gi(e),n=t[0],r=t[1];return Op(function(){var i=Re.transition;Re.transition=1;try{r(e)}finally{Re.transition=i}},[e]),n},useTransition:function(){var e=gi(!1),t=e[0];return e=Pb.bind(null,e[1]),Rp(e),[e,t]},useMutableSource:function(e,t,n){var r=gn();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},Ap(r,e,t,n)},useOpaqueIdentifier:function(){if(ot){var e=!1,t=xb(function(){throw e||(e=!0,n("r:"+(dl++).toString(36))),Error(E(355))}),n=gi(t)[1];return!(X.mode&2)&&(X.flags|=516,Mo(5,function(){n("r:"+(dl++).toString(36))},void 0,null)),t}return t="r:"+(dl++).toString(36),gi(t),t},unstable_isNewReconciler:!1},Nb={readContext:Me,useCallback:Yp,useContext:Me,useEffect:Oo,useImperativeHandle:Up,useLayoutEffect:Lp,useMemo:Fp,useReducer:fi,useRef:Ro,useState:function(){return fi(at)},useDebugValue:Il,useDeferredValue:function(e){var t=fi(at),n=t[0],r=t[1];return Oo(function(){var i=Re.transition;Re.transition=1;try{r(e)}finally{Re.transition=i}},[e]),n},useTransition:function(){var e=fi(at)[0];return[Ro().current,e]},useMutableSource:Mp,useOpaqueIdentifier:function(){return fi(at)[0]},unstable_isNewReconciler:!1},Tb={readContext:Me,useCallback:Yp,useContext:Me,useEffect:Oo,useImperativeHandle:Up,useLayoutEffect:Lp,useMemo:Fp,useReducer:hi,useRef:Ro,useState:function(){return hi(at)},useDebugValue:Il,useDeferredValue:function(e){var t=hi(at),n=t[0],r=t[1];return Oo(function(){var i=Re.transition;Re.transition=1;try{r(e)}finally{Re.transition=i}},[e]),n},useTransition:function(){var e=hi(at)[0];return[Ro().current,e]},useMutableSource:Mp,useOpaqueIdentifier:function(){return hi(at)[0]},unstable_isNewReconciler:!1},Ib=sn.ReactCurrentOwner,Ve=!1;function Pe(e,t,n,r){t.child=e===null?Pp(t,null,n,r):To(t,e.child,n,r)}function Bp(e,t,n,r,i){n=n.render;var o=t.ref;return Qn(t,i),r=jl(e,t,n,r,o,i),e!==null&&!Ve?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,vt(e,t,i)):(t.flags|=1,Pe(e,t,r,i),t.child)}function Hp(e,t,n,r,i,o){if(e===null){var a=n.type;return typeof a=="function"&&!nc(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Wp(e,t,a,r,i,o)):(e=qo(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}return a=e.child,!(i&o)&&(i=a.memoizedProps,n=n.compare,n=n!==null?n:ei,n(i,r)&&e.ref===t.ref)?vt(e,t,o):(t.flags|=1,e=Jt(a,r),e.ref=t.ref,e.return=t,t.child=e)}function Wp(e,t,n,r,i,o){if(e!==null&&ei(e.memoizedProps,r)&&e.ref===t.ref)if(Ve=!1,(o&i)!==0)e.flags&16384&&(Ve=!0);else return t.lanes=e.lanes,vt(e,t,o);return Ml(e,t,n,r,o)}function Al(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden"||r.mode==="unstable-defer-without-hiding")if(!(t.mode&4))t.memoizedState={baseLanes:0},Vo(t,n);else if(n&1073741824)t.memoizedState={baseLanes:0},Vo(t,o!==null?o.baseLanes:n);else return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Vo(t,e),null;else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,Vo(t,r);return Pe(e,t,i,n),t.child}function Gp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=128)}function Ml(e,t,n,r,i){var o=$e(n)?pn:me.current;return o=qn(t,o),Qn(t,i),n=jl(e,t,n,r,o,i),e!==null&&!Ve?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,vt(e,t,i)):(t.flags|=1,Pe(e,t,n,i),t.child)}function Vp(e,t,n,r,i){if($e(n)){var o=!0;wo(t)}else o=!1;if(Qn(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),Cp(t,n,r),xl(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=Me(u):(u=$e(n)?pn:me.current,u=qn(t,u));var p=n.getDerivedStateFromProps,d=typeof p=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&$p(t,a,r,u),Yt=!1;var m=t.memoizedState;a.state=m,ai(t,r,a,i),l=t.memoizedState,s!==r||m!==l||Ce.current||Yt?(typeof p=="function"&&(_o(t,n,p,r),l=t.memoizedState),(s=Yt||Ep(t,n,s,r,m,l,u))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4)):(typeof a.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4),r=!1)}else{a=t.stateNode,kp(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Ge(t.type,s),a.props=u,d=t.pendingProps,m=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=Me(l):(l=$e(n)?pn:me.current,l=qn(t,l));var g=n.getDerivedStateFromProps;(p=typeof g=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==d||m!==l)&&$p(t,a,r,l),Yt=!1,m=t.memoizedState,a.state=m,ai(t,r,a,i);var b=t.memoizedState;s!==d||m!==b||Ce.current||Yt?(typeof g=="function"&&(_o(t,n,g,r),b=t.memoizedState),(u=Yt||Ep(t,n,u,r,m,b,l))?(p||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,b,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,b,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=b),a.props=r,a.state=b,a.context=l,r=u):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=256),r=!1)}return Rl(e,t,n,r,o,i)}function Rl(e,t,n,r,i,o){Gp(e,t);var a=(t.flags&64)!==0;if(!r&&!a)return i&&up(t,n,!1),vt(e,t,o);r=t.stateNode,Ib.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=To(t,e.child,null,o),t.child=To(t,null,s,o)):Pe(e,t,s,o),t.memoizedState=r.state,i&&up(t,n,!0),t.child}function qp(e){var t=e.stateNode;t.pendingContext?lp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&lp(e,t.context,!1),Sl(e,t.containerInfo)}var zo={dehydrated:null,retryLane:0};function Kp(e,t,n){var r=t.pendingProps,i=K.current,o=!1,a;return(a=(t.flags&64)!==0)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-65):e!==null&&e.memoizedState===null||r.fallback===void 0||r.unstable_avoidThisFallback===!0||(i|=1),q(K,i&1),e===null?(r.fallback!==void 0&&Cl(t),e=r.children,i=r.fallback,o?(e=Jp(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=zo,e):typeof r.unstable_expectedLoadTime=="number"?(e=Jp(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=zo,t.lanes=33554432,e):(n=rc({mode:"visible",children:e},t.mode,n,null),n.return=t,t.child=n)):e.memoizedState!==null?o?(r=Xp(e,t,r.children,r.fallback,n),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:n}:{baseLanes:i.baseLanes|n},o.childLanes=e.childLanes&~n,t.memoizedState=zo,r):(n=Qp(e,t,r.children,n),t.memoizedState=null,n):o?(r=Xp(e,t,r.children,r.fallback,n),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:n}:{baseLanes:i.baseLanes|n},o.childLanes=e.childLanes&~n,t.memoizedState=zo,r):(n=Qp(e,t,r.children,n),t.memoizedState=null,n)}function Jp(e,t,n,r){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},!(i&2)&&o!==null?(o.childLanes=0,o.pendingProps=t):o=rc(t,i,0,null),n=or(n,i,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function Qp(e,t,n,r){var i=e.child;return e=i.sibling,n=Jt(i,{mode:"visible",children:n}),!(t.mode&2)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function Xp(e,t,n,r,i){var o=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:n};return!(o&2)&&t.child!==a?(n=t.child,n.childLanes=0,n.pendingProps=s,a=n.lastEffect,a!==null?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Jt(a,s),e!==null?r=Jt(e,r):(r=or(r,o,i,null),r.flags|=2),r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Zp(e,t){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),vp(e.return,t)}function Ol(e,t,n,r,i,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i,a.lastEffect=o)}function em(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Pe(e,t,r.children,n),r=K.current,r&2)r=r&1|2,t.flags|=64;else{if(e!==null&&e.flags&64)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Zp(e,n);else if(e.tag===19)Zp(e,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(q(K,r),!(t.mode&2))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Io(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ol(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Io(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ol(t,!0,n,null,o,t.lastEffect);break;case"together":Ol(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function vt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),bi|=t.lanes,n&t.childLanes){if(e!==null&&t.child!==e.child)throw Error(E(153));if(t.child!==null){for(e=t.child,n=Jt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Jt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}return null}var tm,Ll,nm,rm;tm=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ll=function(){},nm=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,hn(it.current);var o=null;switch(n){case"input":i=xs(e,i),r=xs(e,r),o=[];break;case"option":i=Cs(e,i),r=Cs(e,r),o=[];break;case"select":i=W({},i,{value:void 0}),r=W({},r,{value:void 0}),o=[];break;case"textarea":i=$s(e,i),r=$s(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=go)}js(n,r);var a;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ir.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(s=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ir.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&B("scroll",e),o||s===l||(o=[])):typeof l=="object"&&l!==null&&l.$$typeof===ys?l.toString():(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},rm=function(e,t,n,r){n!==r&&(t.flags|=4)};function yi(e,t){if(!ot)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Db(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return $e(t.type)&&ko(),null;case 3:return Xn(),H(Ce),H(me),_l(),r=t.stateNode,r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Do(t)?t.flags|=4:r.hydrate||(t.flags|=256)),Ll(t),null;case 5:El(t);var i=hn(ui.current);if(n=t.type,e!==null&&t.stateNode!=null)nm(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(t.stateNode===null)throw Error(E(166));return null}if(e=hn(it.current),Do(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Lt]=t,r[bo]=o,n){case"dialog":B("cancel",r),B("close",r);break;case"iframe":case"object":case"embed":B("load",r);break;case"video":case"audio":for(e=0;e<ni.length;e++)B(ni[e],r);break;case"source":B("error",r);break;case"img":case"image":case"link":B("error",r),B("load",r);break;case"details":B("toggle",r);break;case"input":Vu(r,o),B("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},B("invalid",r);break;case"textarea":Ju(r,o),B("invalid",r)}js(n,o),e=null;for(var a in o)o.hasOwnProperty(a)&&(i=o[a],a==="children"?typeof i=="string"?r.textContent!==i&&(e=["children",i]):typeof i=="number"&&r.textContent!==""+i&&(e=["children",""+i]):Ir.hasOwnProperty(a)&&i!=null&&a==="onScroll"&&B("scroll",r));switch(n){case"input":Xi(r),Ku(r,o,!0);break;case"textarea":Xi(r),Xu(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=go)}r=e,t.updateQueue=r,r!==null&&(t.flags|=4)}else{switch(a=i.nodeType===9?i:i.ownerDocument,e===_s.html&&(e=Zu(n)),e===_s.html?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Lt]=t,e[bo]=r,tm(e,t,!1,!1),t.stateNode=e,a=Ns(n,r),n){case"dialog":B("cancel",e),B("close",e),i=r;break;case"iframe":case"object":case"embed":B("load",e),i=r;break;case"video":case"audio":for(i=0;i<ni.length;i++)B(ni[i],e);i=r;break;case"source":B("error",e),i=r;break;case"img":case"image":case"link":B("error",e),B("load",e),i=r;break;case"details":B("toggle",e),i=r;break;case"input":Vu(e,r),i=xs(e,r),B("invalid",e);break;case"option":i=Cs(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=W({},r,{value:void 0}),B("invalid",e);break;case"textarea":Ju(e,r),i=$s(e,r),B("invalid",e);break;default:i=r}js(n,i);var s=i;for(o in s)if(s.hasOwnProperty(o)){var l=s[o];o==="style"?nd(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&ed(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Lr(e,l):typeof l=="number"&&Lr(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Ir.hasOwnProperty(o)?l!=null&&o==="onScroll"&&B("scroll",e):l!=null&&ds(e,o,l,a))}switch(n){case"input":Xi(e),Ku(e,r,!1);break;case"textarea":Xi(e),Xu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+It(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?An(e,!!r.multiple,o,!1):r.defaultValue!=null&&An(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=go)}rp(n,r)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)rm(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(E(166));n=hn(ui.current),hn(it.current),Do(t)?(r=t.stateNode,n=t.memoizedProps,r[Lt]=t,r.nodeValue!==n&&(t.flags|=4)):(r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Lt]=t,t.stateNode=r)}return null;case 13:return H(K),r=t.memoizedState,t.flags&64?(t.lanes=n,t):(r=r!==null,n=!1,e===null?t.memoizedProps.fallback!==void 0&&Do(t):n=e.memoizedState!==null,r&&!n&&t.mode&2&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||K.current&1?ce===0&&(ce=3):((ce===0||ce===3)&&(ce=4),we===null||!(bi&134217727)&&!(tr&134217727)||rr(we,ge))),(r||n)&&(t.flags|=4),null);case 4:return Xn(),Ll(t),e===null&&Xd(t.stateNode.containerInfo),null;case 10:return kl(t),null;case 17:return $e(t.type)&&ko(),null;case 19:if(H(K),r=t.memoizedState,r===null)return null;if(o=(t.flags&64)!==0,a=r.rendering,a===null)if(o)yi(r,!1);else{if(ce!==0||e!==null&&e.flags&64)for(e=t.child;e!==null;){if(a=Io(e),a!==null){for(t.flags|=64,yi(r,!1),o=a.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),r.lastEffect===null&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return q(K,K.current&1|2),t.child}e=e.sibling}r.tail!==null&&fe()>Kl&&(t.flags|=64,o=!0,yi(r,!1),t.lanes=33554432)}else{if(!o)if(e=Io(a),e!==null){if(t.flags|=64,o=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),yi(r,!0),r.tail===null&&r.tailMode==="hidden"&&!a.alternate&&!ot)return t=t.lastEffect=r.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*fe()-r.renderingStartTime>Kl&&n!==1073741824&&(t.flags|=64,o=!0,yi(r,!1),t.lanes=33554432);r.isBackwards?(a.sibling=t.child,t.child=a):(n=r.last,n!==null?n.sibling=a:t.child=a,r.last=a)}return r.tail!==null?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=fe(),n.sibling=null,t=K.current,q(K,o?t&1|2:t&1),n):null;case 23:case 24:return tc(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&r.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(E(156,t.tag))}function Ab(e){switch(e.tag){case 1:$e(e.type)&&ko();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Xn(),H(Ce),H(me),_l(),t=e.flags,t&64)throw Error(E(285));return e.flags=t&-4097|64,e;case 5:return El(e),null;case 13:return H(K),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return H(K),null;case 4:return Xn(),null;case 10:return kl(e),null;case 23:case 24:return tc(),null;default:return null}}function zl(e,t){try{var n="",r=t;do n+=fy(r),r=r.return;while(r);var i=n}catch(o){i=`
|
|
39
39
|
Error generating stack: `+o.message+`
|
|
40
|
-
`+o.stack}return{value:e,source:t,stack:i}}function Tl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var dv=typeof WeakMap=="function"?WeakMap:Map;function Vp(e,t,n){n=zt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Lo||(Lo=!0,Bl=r),Tl(e,t)},n}function Kp(e,t,n){n=zt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return Tl(e,t),r(i)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){typeof r!="function"&&(it===null?it=new Set([this]):it.add(this),Tl(e,t));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}var pv=typeof WeakSet=="function"?WeakSet:Set;function Qp(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(n){qt(e,n)}else t.current=null}function fv(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var n=e.memoizedProps,r=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?n:Ge(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&tl(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(S(163))}function hv(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var i=e;r=i.next,i=i.tag,i&4&&i&1&&(pf(n,e),wv(n,e)),e=r}while(e!==t)}return;case 1:e=n.stateNode,n.flags&4&&(t===null?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Ge(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=n.updateQueue,t!==null&&pp(n,t,e);return;case 3:if(t=n.updateQueue,t!==null){if(e=null,n.child!==null)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}pp(n,t,e)}return;case 5:e=n.stateNode,t===null&&n.flags&4&&Wd(n.type,n.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:n.memoizedState===null&&(n=n.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&ld(n))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(S(163))}function Jp(e,t){for(var n=e;;){if(n.tag===5){var r=n.stateNode;if(t)r=r.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=i!=null&&i.hasOwnProperty("display")?i.display:null,r.style.display=Gu("display",i)}}else if(n.tag===6)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((n.tag!==23&&n.tag!==24||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Xp(e,t){if(un&&typeof un.onCommitFiberUnmount=="function")try{un.onCommitFiberUnmount(il,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var n=e=e.next;do{var r=n,i=r.destroy;if(r=r.tag,i!==void 0)if(r&4)pf(t,n);else{r=t;try{i()}catch(o){qt(r,o)}}n=n.next}while(n!==e)}break;case 1:if(Qp(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){qt(t,o)}break;case 5:Qp(t);break;case 4:nf(e,t)}}function Zp(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function ef(e){return e.tag===5||e.tag===3||e.tag===4}function tf(e){e:{for(var t=e.return;t!==null;){if(ef(t))break e;t=t.return}throw Error(S(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:t=t.containerInfo,r=!0;break;case 4:t=t.containerInfo,r=!0;break;default:throw Error(S(161))}n.flags&16&&(Or(t,""),n.flags&=-17);e:t:for(n=e;;){for(;n.sibling===null;){if(n.return===null||ef(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2)){n=n.stateNode;break e}}r?Rl(e,n,t):Dl(e,n,t)}function Rl(e,t,n){var r=e.tag,i=r===5||r===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=co));else if(r!==4&&(e=e.child,e!==null))for(Rl(e,t,n),e=e.sibling;e!==null;)Rl(e,t,n),e=e.sibling}function Dl(e,t,n){var r=e.tag,i=r===5||r===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Dl(e,t,n),e=e.sibling;e!==null;)Dl(e,t,n),e=e.sibling}function nf(e,t){for(var n=t,r=!1,i,o;;){if(!r){r=n.return;e:for(;;){if(r===null)throw Error(S(160));switch(i=r.stateNode,r.tag){case 5:o=!1;break e;case 3:i=i.containerInfo,o=!0;break e;case 4:i=i.containerInfo,o=!0;break e}r=r.return}r=!0}if(n.tag===5||n.tag===6){e:for(var a=e,s=n,l=s;;)if(Xp(a,l),l.child!==null&&l.tag!==4)l.child.return=l,l=l.child;else{if(l===s)break e;for(;l.sibling===null;){if(l.return===null||l.return===s)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}o?(a=i,s=n.stateNode,a.nodeType===8?a.parentNode.removeChild(s):a.removeChild(s)):i.removeChild(n.stateNode)}else if(n.tag===4){if(n.child!==null){i=n.stateNode.containerInfo,o=!0,n.child.return=n,n=n.child;continue}}else if(Xp(e,n),n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return,n.tag===4&&(r=!1)}n.sibling.return=n.return,n=n.sibling}}function Ol(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var r=n=n.next;do(r.tag&3)===3&&(e=r.destroy,r.destroy=void 0,e!==void 0&&e()),r=r.next;while(r!==n)}return;case 1:return;case 5:if(n=t.stateNode,n!=null){r=t.memoizedProps;var i=e!==null?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,o!==null){for(n[po]=r,e==="input"&&r.type==="radio"&&r.name!=null&&Iu(n,r),ks(e,i),t=ks(e,r),i=0;i<o.length;i+=2){var a=o[i],s=o[i+1];a==="style"?qu(n,s):a==="dangerouslySetInnerHTML"?Hu(n,s):a==="children"?Or(n,s):ns(n,a,s,t)}switch(e){case"input":hs(n,r);break;case"textarea":Bu(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,o=r.value,o!=null?Tn(n,!!r.multiple,o,!1):e!==!!r.multiple&&(r.defaultValue!=null?Tn(n,!!r.multiple,r.defaultValue,!0):Tn(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(S(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:n=t.stateNode,n.hydrate&&(n.hydrate=!1,ld(n.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(zl=he(),Jp(t.child,!0)),rf(t);return;case 19:rf(t);return;case 17:return;case 23:case 24:Jp(t,t.memoizedState!==null);return}throw Error(S(163))}function rf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new pv),t.forEach(function(r){var i=Ev.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function mv(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var gv=Math.ceil,Oo=rn.ReactCurrentDispatcher,Al=rn.ReactCurrentOwner,D=0,xe=null,re=null,ge=0,mn=0,Ll=Lt(0),ce=0,Ao=null,Jn=0,hi=0,Xn=0,Ml=0,Il=null,zl=0,Fl=1/0;function Zn(){Fl=he()+500}var P=null,Lo=!1,Bl=null,it=null,Ut=!1,mi=null,gi=90,Ul=[],Yl=[],yt=null,yi=0,Hl=null,Mo=-1,vt=0,Io=0,vi=null,zo=!1;function Ne(){return D&48?he():Mo!==-1?Mo:Mo=he()}function Yt(e){if(e=e.mode,!(e&2))return 1;if(!(e&4))return qn()===99?1:2;if(vt===0&&(vt=Jn),rv.transition!==0){Io!==0&&(Io=Il!==null?Il.pendingLanes:0),e=vt;var t=4186112&~Io;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=qn(),D&4&&e===98?e=eo(12,vt):(e=ay(e),e=eo(e,vt)),e}function Ht(e,t,n){if(50<yi)throw yi=0,Hl=null,Error(S(185));if(e=Fo(e,t),e===null)return null;to(e,t,n),e===xe&&(Xn|=t,ce===4&&er(e,ge));var r=qn();t===1?D&8&&!(D&48)?Gl(e):(Me(e,n),D===0&&(Zn(),et())):(!(D&4)||r!==98&&r!==99||(yt===null?yt=new Set([e]):yt.add(e)),Me(e,n)),Il=e}function Fo(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}function Me(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var s=31-Dt(a),l=1<<s,u=o[s];if(u===-1){if(!(l&r)||l&i){u=t,An(l);var p=B;o[s]=10<=p?u+250:6<=p?u+5e3:-1}}else u<=t&&(e.expiredLanes|=l);a&=~l}if(r=Hr(e,e===xe?ge:0),t=B,r===0)n!==null&&(n!==ll&&al(n),e.callbackNode=null,e.callbackPriority=0);else{if(n!==null){if(e.callbackPriority===t)return;n!==ll&&al(n)}t===15?(n=Gl.bind(null,e),ht===null?(ht=[n],yo=ol(go,lp)):ht.push(n),n=ll):t===14?n=ti(99,Gl.bind(null,e)):(n=sy(t),n=ti(n,of.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function of(e){if(Mo=-1,Io=vt=0,D&48)throw Error(S(327));var t=e.callbackNode;if(Gt()&&e.callbackNode!==t)return null;var n=Hr(e,e===xe?ge:0);if(n===0)return null;var r=n,i=D;D|=16;var o=cf();(xe!==e||ge!==r)&&(Zn(),tr(e,r));do try{bv();break}catch(s){lf(e,s)}while(1);if(ul(),Oo.current=o,D=i,re!==null?r=0:(xe=null,ge=0,r=ce),Jn&Xn)tr(e,0);else if(r!==0){if(r===2&&(D|=64,e.hydrate&&(e.hydrate=!1,tl(e.containerInfo)),n=md(e),n!==0&&(r=bi(e,n))),r===1)throw t=Ao,tr(e,0),er(e,n),Me(e,he()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(S(345));case 2:gn(e);break;case 3:if(er(e,n),(n&62914560)===n&&(r=zl+500-he(),10<r)){if(Hr(e,0)!==0)break;if(i=e.suspendedLanes,(i&n)!==n){Ne(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Vd(gn.bind(null,e),r);break}gn(e);break;case 4:if(er(e,n),(n&4186112)===n)break;for(r=e.eventTimes,i=-1;0<n;){var a=31-Dt(n);o=1<<a,a=r[a],a>i&&(i=a),n&=~o}if(n=i,n=he()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*gv(n/1960))-n,10<n){e.timeoutHandle=Vd(gn.bind(null,e),n);break}gn(e);break;case 5:gn(e);break;default:throw Error(S(329))}}return Me(e,he()),e.callbackNode===t?of.bind(null,e):null}function er(e,t){for(t&=~Ml,t&=~Xn,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Dt(t),r=1<<n;e[n]=-1,t&=~r}}function Gl(e){if(D&48)throw Error(S(327));if(Gt(),e===xe&&e.expiredLanes&ge){var t=ge,n=bi(e,t);Jn&Xn&&(t=Hr(e,t),n=bi(e,t))}else t=Hr(e,0),n=bi(e,t);if(e.tag!==0&&n===2&&(D|=64,e.hydrate&&(e.hydrate=!1,tl(e.containerInfo)),t=md(e),t!==0&&(n=bi(e,t))),n===1)throw n=Ao,tr(e,0),er(e,t),Me(e,he()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,gn(e),Me(e,he()),null}function yv(){if(yt!==null){var e=yt;yt=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,Me(t,he())})}et()}function af(e,t){var n=D;D|=1;try{return e(t)}finally{D=n,D===0&&(Zn(),et())}}function sf(e,t){var n=D;D&=-2,D|=8;try{return e(t)}finally{D=n,D===0&&(Zn(),et())}}function Bo(e,t){V(Ll,mn),mn|=t,Jn|=t}function ql(){mn=Ll.current,Y(Ll)}function tr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Jy(n)),re!==null)for(n=re.return;n!==null;){var r=n;switch(r.tag){case 1:r=r.type.childContextTypes,r!=null&&ho();break;case 3:Kn(),Y(Se),Y(fe),vl();break;case 5:ml(r);break;case 4:Kn();break;case 13:Y(K);break;case 19:Y(K);break;case 10:dl(r);break;case 23:case 24:ql()}n=n.return}xe=e,re=Wt(e.current,null),ge=mn=Jn=t,ce=0,Ao=null,Ml=Xn=hi=0}function lf(e,t){do{var n=re;try{if(ul(),si.current=Ro,Po){for(var r=X.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Po=!1}if(li=0,le=me=X=null,ci=!1,Al.current=null,n===null||n.return===null){ce=1,Ao=t,re=null;break}e:{var o=e,a=n.return,s=n,l=t;if(t=ge,s.flags|=2048,s.firstEffect=s.lastEffect=null,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l;if(!(s.mode&2)){var p=s.alternate;p?(s.updateQueue=p.updateQueue,s.memoizedState=p.memoizedState,s.lanes=p.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=(K.current&1)!==0,f=a;do{var y;if(y=f.tag===13){var v=f.memoizedState;if(v!==null)y=v.dehydrated!==null;else{var w=f.memoizedProps;y=w.fallback===void 0?!1:w.unstable_avoidThisFallback!==!0?!0:!d}}if(y){var g=f.updateQueue;if(g===null){var h=new Set;h.add(u),f.updateQueue=h}else g.add(u);if(!(f.mode&2)){if(f.flags|=64,s.flags|=16384,s.flags&=-2981,s.tag===1)if(s.alternate===null)s.tag=17;else{var m=zt(-1,1);m.tag=2,Ft(s,m)}s.lanes|=1;break e}l=void 0,s=t;var b=o.pingCache;if(b===null?(b=o.pingCache=new dv,l=new Set,b.set(u,l)):(l=b.get(u),l===void 0&&(l=new Set,b.set(u,l))),!l.has(s)){l.add(s);var k=Sv.bind(null,o,u,s);u.then(k,k)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(f!==null);l=Error(($n(s.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
40
|
+
`+o.stack}return{value:e,source:t,stack:i}}function Ul(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Mb=typeof WeakMap=="function"?WeakMap:Map;function im(e,t,n){n=Ft(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Fo||(Fo=!0,Jl=r),Ul(e,t)},n}function om(e,t,n){n=Ft(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return Ul(e,t),r(i)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){typeof r!="function"&&(st===null?st=new Set([this]):st.add(this),Ul(e,t));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}var Rb=typeof WeakSet=="function"?WeakSet:Set;function am(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(n){Kt(e,n)}else t.current=null}function Ob(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var n=e.memoizedProps,r=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?n:Ge(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&ul(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(E(163))}function Lb(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var i=e;r=i.next,i=i.tag,i&4&&i&1&&(wm(n,e),Gb(n,e)),e=r}while(e!==t)}return;case 1:e=n.stateNode,n.flags&4&&(t===null?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Ge(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=n.updateQueue,t!==null&&xp(n,t,e);return;case 3:if(t=n.updateQueue,t!==null){if(e=null,n.child!==null)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}xp(n,t,e)}return;case 5:e=n.stateNode,t===null&&n.flags&4&&rp(n.type,n.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:n.memoizedState===null&&(n=n.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&bd(n))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(E(163))}function sm(e,t){for(var n=e;;){if(n.tag===5){var r=n.stateNode;if(t)r=r.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=i!=null&&i.hasOwnProperty("display")?i.display:null,r.style.display=td("display",i)}}else if(n.tag===6)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((n.tag!==23&&n.tag!==24||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function lm(e,t){if(mn&&typeof mn.onCommitFiberUnmount=="function")try{mn.onCommitFiberUnmount(ml,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var n=e=e.next;do{var r=n,i=r.destroy;if(r=r.tag,i!==void 0)if(r&4)wm(t,n);else{r=t;try{i()}catch(o){Kt(r,o)}}n=n.next}while(n!==e)}break;case 1:if(am(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){Kt(t,o)}break;case 5:am(t);break;case 4:pm(e,t)}}function cm(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function um(e){return e.tag===5||e.tag===3||e.tag===4}function dm(e){e:{for(var t=e.return;t!==null;){if(um(t))break e;t=t.return}throw Error(E(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:t=t.containerInfo,r=!0;break;case 4:t=t.containerInfo,r=!0;break;default:throw Error(E(161))}n.flags&16&&(Lr(t,""),n.flags&=-17);e:t:for(n=e;;){for(;n.sibling===null;){if(n.return===null||um(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2)){n=n.stateNode;break e}}r?Yl(e,n,t):Fl(e,n,t)}function Yl(e,t,n){var r=e.tag,i=r===5||r===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=go));else if(r!==4&&(e=e.child,e!==null))for(Yl(e,t,n),e=e.sibling;e!==null;)Yl(e,t,n),e=e.sibling}function Fl(e,t,n){var r=e.tag,i=r===5||r===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Fl(e,t,n),e=e.sibling;e!==null;)Fl(e,t,n),e=e.sibling}function pm(e,t){for(var n=t,r=!1,i,o;;){if(!r){r=n.return;e:for(;;){if(r===null)throw Error(E(160));switch(i=r.stateNode,r.tag){case 5:o=!1;break e;case 3:i=i.containerInfo,o=!0;break e;case 4:i=i.containerInfo,o=!0;break e}r=r.return}r=!0}if(n.tag===5||n.tag===6){e:for(var a=e,s=n,l=s;;)if(lm(a,l),l.child!==null&&l.tag!==4)l.child.return=l,l=l.child;else{if(l===s)break e;for(;l.sibling===null;){if(l.return===null||l.return===s)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}o?(a=i,s=n.stateNode,a.nodeType===8?a.parentNode.removeChild(s):a.removeChild(s)):i.removeChild(n.stateNode)}else if(n.tag===4){if(n.child!==null){i=n.stateNode.containerInfo,o=!0,n.child.return=n,n=n.child;continue}}else if(lm(e,n),n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return,n.tag===4&&(r=!1)}n.sibling.return=n.return,n=n.sibling}}function Bl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var r=n=n.next;do(r.tag&3)===3&&(e=r.destroy,r.destroy=void 0,e!==void 0&&e()),r=r.next;while(r!==n)}return;case 1:return;case 5:if(n=t.stateNode,n!=null){r=t.memoizedProps;var i=e!==null?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,o!==null){for(n[bo]=r,e==="input"&&r.type==="radio"&&r.name!=null&&qu(n,r),Ns(e,i),t=Ns(e,r),i=0;i<o.length;i+=2){var a=o[i],s=o[i+1];a==="style"?nd(n,s):a==="dangerouslySetInnerHTML"?ed(n,s):a==="children"?Lr(n,s):ds(n,a,s,t)}switch(e){case"input":Ss(n,r);break;case"textarea":Qu(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,o=r.value,o!=null?An(n,!!r.multiple,o,!1):e!==!!r.multiple&&(r.defaultValue!=null?An(n,!!r.multiple,r.defaultValue,!0):An(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(E(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:n=t.stateNode,n.hydrate&&(n.hydrate=!1,bd(n.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(ql=fe(),sm(t.child,!0)),mm(t);return;case 19:mm(t);return;case 17:return;case 23:case 24:sm(t,t.memoizedState!==null);return}throw Error(E(163))}function mm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Rb),t.forEach(function(r){var i=Kb.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function zb(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var Ub=Math.ceil,Uo=sn.ReactCurrentDispatcher,Hl=sn.ReactCurrentOwner,A=0,we=null,re=null,ge=0,bn=0,Wl=zt(0),ce=0,Yo=null,er=0,bi=0,tr=0,Gl=0,Vl=null,ql=0,Kl=1/0;function nr(){Kl=fe()+500}var P=null,Fo=!1,Jl=null,st=null,Wt=!1,vi=null,ki=90,Ql=[],Xl=[],kt=null,wi=0,Zl=null,Bo=-1,wt=0,Ho=0,xi=null,Wo=!1;function Ne(){return A&48?fe():Bo!==-1?Bo:Bo=fe()}function Gt(e){if(e=e.mode,!(e&2))return 1;if(!(e&4))return Kn()===99?1:2;if(wt===0&&(wt=er),_b.transition!==0){Ho!==0&&(Ho=Vl!==null?Vl.pendingLanes:0),e=wt;var t=4186112&~Ho;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=Kn(),A&4&&e===98?e=ao(12,wt):(e=Ny(e),e=ao(e,wt)),e}function Vt(e,t,n){if(50<wi)throw wi=0,Zl=null,Error(E(185));if(e=Go(e,t),e===null)return null;so(e,t,n),e===we&&(tr|=t,ce===4&&rr(e,ge));var r=Kn();t===1?A&8&&!(A&48)?ec(e):(Oe(e,n),A===0&&(nr(),rt())):(!(A&4)||r!==98&&r!==99||(kt===null?kt=new Set([e]):kt.add(e)),Oe(e,n)),Vl=e}function Go(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}function Oe(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var s=31-Rt(a),l=1<<s,u=o[s];if(u===-1){if(!(l&r)||l&i){u=t,Ln(l);var p=F;o[s]=10<=p?u+250:6<=p?u+5e3:-1}}else u<=t&&(e.expiredLanes|=l);a&=~l}if(r=qr(e,e===we?ge:0),t=F,r===0)n!==null&&(n!==yl&&hl(n),e.callbackNode=null,e.callbackPriority=0);else{if(n!==null){if(e.callbackPriority===t)return;n!==yl&&hl(n)}t===15?(n=ec.bind(null,e),yt===null?(yt=[n],So=fl(xo,bp)):yt.push(n),n=yl):t===14?n=oi(99,ec.bind(null,e)):(n=Ty(t),n=oi(n,fm.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function fm(e){if(Bo=-1,Ho=wt=0,A&48)throw Error(E(327));var t=e.callbackNode;if(qt()&&e.callbackNode!==t)return null;var n=qr(e,e===we?ge:0);if(n===0)return null;var r=n,i=A;A|=16;var o=bm();(we!==e||ge!==r)&&(nr(),ir(e,r));do try{Bb();break}catch(s){ym(e,s)}while(1);if(vl(),Uo.current=o,A=i,re!==null?r=0:(we=null,ge=0,r=ce),er&tr)ir(e,0);else if(r!==0){if(r===2&&(A|=64,e.hydrate&&(e.hydrate=!1,ul(e.containerInfo)),n=Cd(e),n!==0&&(r=Si(e,n))),r===1)throw t=Yo,ir(e,0),rr(e,n),Oe(e,fe()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(E(345));case 2:vn(e);break;case 3:if(rr(e,n),(n&62914560)===n&&(r=ql+500-fe(),10<r)){if(qr(e,0)!==0)break;if(i=e.suspendedLanes,(i&n)!==n){Ne(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ip(vn.bind(null,e),r);break}vn(e);break;case 4:if(rr(e,n),(n&4186112)===n)break;for(r=e.eventTimes,i=-1;0<n;){var a=31-Rt(n);o=1<<a,a=r[a],a>i&&(i=a),n&=~o}if(n=i,n=fe()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ub(n/1960))-n,10<n){e.timeoutHandle=ip(vn.bind(null,e),n);break}vn(e);break;case 5:vn(e);break;default:throw Error(E(329))}}return Oe(e,fe()),e.callbackNode===t?fm.bind(null,e):null}function rr(e,t){for(t&=~Gl,t&=~tr,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Rt(t),r=1<<n;e[n]=-1,t&=~r}}function ec(e){if(A&48)throw Error(E(327));if(qt(),e===we&&e.expiredLanes&ge){var t=ge,n=Si(e,t);er&tr&&(t=qr(e,t),n=Si(e,t))}else t=qr(e,0),n=Si(e,t);if(e.tag!==0&&n===2&&(A|=64,e.hydrate&&(e.hydrate=!1,ul(e.containerInfo)),t=Cd(e),t!==0&&(n=Si(e,t))),n===1)throw n=Yo,ir(e,0),rr(e,t),Oe(e,fe()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,vn(e),Oe(e,fe()),null}function Yb(){if(kt!==null){var e=kt;kt=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,Oe(t,fe())})}rt()}function hm(e,t){var n=A;A|=1;try{return e(t)}finally{A=n,A===0&&(nr(),rt())}}function gm(e,t){var n=A;A&=-2,A|=8;try{return e(t)}finally{A=n,A===0&&(nr(),rt())}}function Vo(e,t){q(Wl,bn),bn|=t,er|=t}function tc(){bn=Wl.current,H(Wl)}function ir(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,wb(n)),re!==null)for(n=re.return;n!==null;){var r=n;switch(r.tag){case 1:r=r.type.childContextTypes,r!=null&&ko();break;case 3:Xn(),H(Ce),H(me),_l();break;case 5:El(r);break;case 4:Xn();break;case 13:H(K);break;case 19:H(K);break;case 10:kl(r);break;case 23:case 24:tc()}n=n.return}we=e,re=Jt(e.current,null),ge=bn=er=t,ce=0,Yo=null,Gl=tr=bi=0}function ym(e,t){do{var n=re;try{if(vl(),di.current=Lo,Ao){for(var r=X.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Ao=!1}if(pi=0,le=he=X=null,mi=!1,Hl.current=null,n===null||n.return===null){ce=1,Yo=t,re=null;break}e:{var o=e,a=n.return,s=n,l=t;if(t=ge,s.flags|=2048,s.firstEffect=s.lastEffect=null,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l;if(!(s.mode&2)){var p=s.alternate;p?(s.updateQueue=p.updateQueue,s.memoizedState=p.memoizedState,s.lanes=p.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=(K.current&1)!==0,m=a;do{var g;if(g=m.tag===13){var b=m.memoizedState;if(b!==null)g=b.dehydrated!==null;else{var x=m.memoizedProps;g=x.fallback===void 0?!1:x.unstable_avoidThisFallback!==!0?!0:!d}}if(g){var y=m.updateQueue;if(y===null){var f=new Set;f.add(u),m.updateQueue=f}else y.add(u);if(!(m.mode&2)){if(m.flags|=64,s.flags|=16384,s.flags&=-2981,s.tag===1)if(s.alternate===null)s.tag=17;else{var h=Ft(-1,1);h.tag=2,Bt(s,h)}s.lanes|=1;break e}l=void 0,s=t;var v=o.pingCache;if(v===null?(v=o.pingCache=new Mb,l=new Set,v.set(u,l)):(l=v.get(u),l===void 0&&(l=new Set,v.set(u,l))),!l.has(s)){l.add(s);var k=qb.bind(null,o,u,s);u.then(k,k)}m.flags|=4096,m.lanes=t;break e}m=m.return}while(m!==null);l=Error((Dn(s.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
41
41
|
|
|
42
|
-
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}ce!==5&&(ce=2),l=$l(l,s),f=a;do{switch(f.tag){case 3:o=l,f.flags|=4096,t&=-t,f.lanes|=t;var E=Vp(f,o,t);dp(f,E);break e;case 1:o=l;var _=f.type,N=f.stateNode;if(!(f.flags&64)&&(typeof _.getDerivedStateFromError=="function"||N!==null&&typeof N.componentDidCatch=="function"&&(it===null||!it.has(N)))){f.flags|=4096,t&=-t,f.lanes|=t;var T=Kp(f,o,t);dp(f,T);break e}}f=f.return}while(f!==null)}df(n)}catch(j){t=j,re===n&&n!==null&&(re=n=n.return);continue}break}while(1)}function cf(){var e=Oo.current;return Oo.current=Ro,e===null?Ro:e}function bi(e,t){var n=D;D|=16;var r=cf();xe===e&&ge===t||tr(e,t);do try{vv();break}catch(i){lf(e,i)}while(1);if(ul(),D=n,Oo.current=r,re!==null)throw Error(S(261));return xe=null,ge=0,ce}function vv(){for(;re!==null;)uf(re)}function bv(){for(;re!==null&&!ev();)uf(re)}function uf(e){var t=hf(e.alternate,e,mn);e.memoizedProps=e.pendingProps,t===null?df(e):re=t,Al.current=null}function df(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&2048){if(n=uv(t),n!==null){n.flags&=2047,re=n;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}else{if(n=cv(n,t,mn),n!==null){re=n;return}if(n=t,n.tag!==24&&n.tag!==23||n.memoizedState===null||mn&1073741824||!(n.mode&4)){for(var r=0,i=n.child;i!==null;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}e!==null&&!(e.flags&2048)&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}if(t=t.sibling,t!==null){re=t;return}re=t=e}while(t!==null);ce===0&&(ce=5)}function gn(e){var t=qn();return dn(99,xv.bind(null,e,t)),null}function xv(e,t){do Gt();while(mi!==null);if(D&48)throw Error(S(327));var n=e.finishedWork;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(S(177));e.callbackNode=null;var r=n.lanes|n.childLanes,i=r,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var a=e.eventTimes,s=e.expirationTimes;0<o;){var l=31-Dt(o),u=1<<l;i[l]=0,a[l]=-1,s[l]=-1,o&=~u}if(yt!==null&&!(r&24)&&yt.has(e)&&yt.delete(e),e===xe&&(re=xe=null,ge=0),1<n.flags?n.lastEffect!==null?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,r!==null){if(i=D,D|=32,Al.current=null,Xs=no,a=Ad(),Vs(a)){if("selectionStart"in a)s={start:a.selectionStart,end:a.selectionEnd};else e:if(s=(s=a.ownerDocument)&&s.defaultView||window,(u=s.getSelection&&s.getSelection())&&u.rangeCount!==0){s=u.anchorNode,o=u.anchorOffset,l=u.focusNode,u=u.focusOffset;try{s.nodeType,l.nodeType}catch{s=null;break e}var p=0,d=-1,f=-1,y=0,v=0,w=a,g=null;t:for(;;){for(var h;w!==s||o!==0&&w.nodeType!==3||(d=p+o),w!==l||u!==0&&w.nodeType!==3||(f=p+u),w.nodeType===3&&(p+=w.nodeValue.length),(h=w.firstChild)!==null;)g=w,w=h;for(;;){if(w===a)break t;if(g===s&&++y===o&&(d=p),g===l&&++v===u&&(f=p),(h=w.nextSibling)!==null)break;w=g,g=w.parentNode}w=h}s=d===-1||f===-1?null:{start:d,end:f}}else s=null;s=s||{start:0,end:0}}else s=null;Zs={focusedElem:a,selectionRange:s},no=!1,vi=null,zo=!1,P=r;do try{kv()}catch(j){if(P===null)throw Error(S(330));qt(P,j),P=P.nextEffect}while(P!==null);vi=null,P=r;do try{for(a=e;P!==null;){var m=P.flags;if(m&16&&Or(P.stateNode,""),m&128){var b=P.alternate;if(b!==null){var k=b.ref;k!==null&&(typeof k=="function"?k(null):k.current=null)}}switch(m&1038){case 2:tf(P),P.flags&=-3;break;case 6:tf(P),P.flags&=-3,Ol(P.alternate,P);break;case 1024:P.flags&=-1025;break;case 1028:P.flags&=-1025,Ol(P.alternate,P);break;case 4:Ol(P.alternate,P);break;case 8:s=P,nf(a,s);var E=s.alternate;Zp(s),E!==null&&Zp(E)}P=P.nextEffect}}catch(j){if(P===null)throw Error(S(330));qt(P,j),P=P.nextEffect}while(P!==null);if(k=Zs,b=Ad(),m=k.focusedElem,a=k.selectionRange,b!==m&&m&&m.ownerDocument&&Od(m.ownerDocument.documentElement,m)){for(a!==null&&Vs(m)&&(b=a.start,k=a.end,k===void 0&&(k=b),"selectionStart"in m?(m.selectionStart=b,m.selectionEnd=Math.min(k,m.value.length)):(k=(b=m.ownerDocument||document)&&b.defaultView||window,k.getSelection&&(k=k.getSelection(),s=m.textContent.length,E=Math.min(a.start,s),a=a.end===void 0?E:Math.min(a.end,s),!k.extend&&E>a&&(s=a,a=E,E=s),s=Dd(m,E),o=Dd(m,a),s&&o&&(k.rangeCount!==1||k.anchorNode!==s.node||k.anchorOffset!==s.offset||k.focusNode!==o.node||k.focusOffset!==o.offset)&&(b=b.createRange(),b.setStart(s.node,s.offset),k.removeAllRanges(),E>a?(k.addRange(b),k.extend(o.node,o.offset)):(b.setEnd(o.node,o.offset),k.addRange(b)))))),b=[],k=m;k=k.parentNode;)k.nodeType===1&&b.push({element:k,left:k.scrollLeft,top:k.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<b.length;m++)k=b[m],k.element.scrollLeft=k.left,k.element.scrollTop=k.top}no=!!Xs,Zs=Xs=null,e.current=n,P=r;do try{for(m=e;P!==null;){var _=P.flags;if(_&36&&hv(m,P.alternate,P),_&128){b=void 0;var N=P.ref;if(N!==null){var T=P.stateNode;switch(P.tag){case 5:b=T;break;default:b=T}typeof N=="function"?N(b):N.current=b}}P=P.nextEffect}}catch(j){if(P===null)throw Error(S(330));qt(P,j),P=P.nextEffect}while(P!==null);P=null,nv(),D=i}else e.current=n;if(Ut)Ut=!1,mi=e,gi=t;else for(P=r;P!==null;)t=P.nextEffect,P.nextEffect=null,P.flags&8&&(_=P,_.sibling=null,_.stateNode=null),P=t;if(r=e.pendingLanes,r===0&&(it=null),r===1?e===Hl?yi++:(yi=0,Hl=e):yi=0,n=n.stateNode,un&&typeof un.onCommitFiberRoot=="function")try{un.onCommitFiberRoot(il,n,void 0,(n.current.flags&64)===64)}catch{}if(Me(e,he()),Lo)throw Lo=!1,e=Bl,Bl=null,e;return D&8||et(),null}function kv(){for(;P!==null;){var e=P.alternate;zo||vi===null||(P.flags&8?td(P,vi)&&(zo=!0):P.tag===13&&mv(e,P)&&td(P,vi)&&(zo=!0));var t=P.flags;t&256&&fv(e,P),!(t&512)||Ut||(Ut=!0,ti(97,function(){return Gt(),null})),P=P.nextEffect}}function Gt(){if(gi!==90){var e=97<gi?97:gi;return gi=90,dn(e,_v)}return!1}function wv(e,t){Ul.push(t,e),Ut||(Ut=!0,ti(97,function(){return Gt(),null}))}function pf(e,t){Yl.push(t,e),Ut||(Ut=!0,ti(97,function(){return Gt(),null}))}function _v(){if(mi===null)return!1;var e=mi;if(mi=null,D&48)throw Error(S(331));var t=D;D|=32;var n=Yl;Yl=[];for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1],a=i.destroy;if(i.destroy=void 0,typeof a=="function")try{a()}catch(l){if(o===null)throw Error(S(330));qt(o,l)}}for(n=Ul,Ul=[],r=0;r<n.length;r+=2){i=n[r],o=n[r+1];try{var s=i.create;i.destroy=s()}catch(l){if(o===null)throw Error(S(330));qt(o,l)}}for(s=e.current.firstEffect;s!==null;)e=s.nextEffect,s.nextEffect=null,s.flags&8&&(s.sibling=null,s.stateNode=null),s=e;return D=t,et(),!0}function ff(e,t,n){t=$l(n,t),t=Vp(e,t,1),Ft(e,t),t=Ne(),e=Fo(e,1),e!==null&&(to(e,1,t),Me(e,t))}function qt(e,t){if(e.tag===3)ff(e,e,t);else for(var n=e.return;n!==null;){if(n.tag===3){ff(n,e,t);break}else if(n.tag===1){var r=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(it===null||!it.has(r))){e=$l(t,e);var i=Kp(n,e,1);if(Ft(n,i),i=Ne(),n=Fo(n,1),n!==null)to(n,1,i),Me(n,i);else if(typeof r.componentDidCatch=="function"&&(it===null||!it.has(r)))try{r.componentDidCatch(t,e)}catch{}break}}n=n.return}}function Sv(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ne(),e.pingedLanes|=e.suspendedLanes&n,xe===e&&(ge&n)===n&&(ce===4||ce===3&&(ge&62914560)===ge&&500>he()-zl?tr(e,0):Ml|=n),Me(e,t)}function Ev(e,t){var n=e.stateNode;n!==null&&n.delete(t),t=0,t===0&&(t=e.mode,t&2?t&4?(vt===0&&(vt=Jn),t=Ln(62914560&~vt),t===0&&(t=4194304)):t=qn()===99?1:2:t=1),n=Ne(),e=Fo(e,t),e!==null&&(to(e,t,n),Me(e,n))}var hf;hf=function(e,t,n){var r=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||Se.current)qe=!0;else if(n&r)qe=!!(e.flags&16384);else{switch(qe=!1,t.tag){case 3:Ip(t),yl();break;case 5:bp(t);break;case 1:Ee(t.type)&&mo(t);break;case 4:hl(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var i=t.type._context;V(vo,i._currentValue),i._currentValue=r;break;case 13:if(t.memoizedState!==null)return n&t.child.childLanes?zp(e,t,n):(V(K,K.current&1),t=gt(e,t,n),t!==null?t.sibling:null);V(K,K.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&64){if(r)return Hp(e,t,n);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),V(K,K.current),r)break;return null;case 23:case 24:return t.lanes=0,El(e,t,n)}return gt(e,t,n)}else qe=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=Gn(t,fe.current),Vn(t,n),i=xl(null,t,r,e,i,n),t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ee(r)){var o=!0;mo(t)}else o=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,pl(t);var a=r.getDerivedStateFromProps;typeof a=="function"&&ko(t,r,a,e),i.updater=wo,t.stateNode=i,i._reactInternals=t,fl(t,r,e,n),t=jl(null,t,r,!0,o,n)}else t.tag=0,je(null,t,i,n),t=t.child;return t;case 16:i=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=i._init,i=o(i._payload),t.type=i,o=t.tag=jv(i),e=Ge(i,e),o){case 0:t=Cl(null,t,i,e,n);break e;case 1:t=Mp(null,t,i,e,n);break e;case 11:t=Dp(null,t,i,e,n);break e;case 14:t=Op(null,t,i,Ge(i.type,e),r,n);break e}throw Error(S(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),Cl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),Mp(e,t,r,i,n);case 3:if(Ip(t),r=t.updateQueue,e===null||r===null)throw Error(S(282));if(r=t.pendingProps,i=t.memoizedState,i=i!==null?i.element:null,up(e,t),ni(t,r,null,n),r=t.memoizedState.element,r===i)yl(),t=gt(e,t,n);else{if(i=t.stateNode,(o=i.hydrate)&&(Bt=Bn(t.stateNode.containerInfo.firstChild),mt=t,o=nt=!0),o){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)o=e[i],o._workInProgressVersionPrimary=e[i+1],Qn.push(o);for(n=vp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|1024,n=n.sibling}else je(e,t,r,n),yl();t=t.child}return t;case 5:return bp(t),e===null&&gl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,el(r,i)?a=null:o!==null&&el(r,o)&&(t.flags|=16),Lp(e,t),je(e,t,a,n),t.child;case 6:return e===null&&gl(t),null;case 13:return zp(e,t,n);case 4:return hl(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Eo(t,null,r,n):je(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),Dp(e,t,r,i,n);case 7:return je(e,t,t.pendingProps,n),t.child;case 8:return je(e,t,t.pendingProps.children,n),t.child;case 12:return je(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value;var s=t.type._context;if(V(vo,s._currentValue),s._currentValue=o,a!==null)if(s=a.value,o=Oe(s,o)?0:(typeof r._calculateChangedBits=="function"?r._calculateChangedBits(s,o):1073741823)|0,o===0){if(a.children===i.children&&!Se.current){t=gt(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){a=s.child;for(var u=l.firstContext;u!==null;){if(u.context===r&&u.observedBits&o){s.tag===1&&(u=zt(-1,n&-n),u.tag=2,Ft(s,u)),s.lanes|=n,u=s.alternate,u!==null&&(u.lanes|=n),cp(s.return,n),l.lanes|=n;break}u=u.next}}else a=s.tag===10&&s.type===t.type?null:s.child;if(a!==null)a.return=s;else for(a=s;a!==null;){if(a===t){a=null;break}if(s=a.sibling,s!==null){s.return=a.return,a=s;break}a=a.return}s=a}je(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,o=t.pendingProps,r=o.children,Vn(t,n),i=Ae(i,o.unstable_observedBits),r=r(i),t.flags|=1,je(e,t,r,n),t.child;case 14:return i=t.type,o=Ge(i,t.pendingProps),o=Ge(i.type,o),Op(e,t,i,o,r,n);case 15:return Ap(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Ee(r)?(e=!0,mo(t)):e=!1,Vn(t,n),mp(t,r,i),fl(t,r,i,n),jl(null,t,r,!0,e,n);case 19:return Hp(e,t,n);case 23:return El(e,t,n);case 24:return El(e,t,n)}throw Error(S(156,t.tag))};function Cv(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Ie(e,t,n,r){return new Cv(e,t,n,r)}function Wl(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jv(e){if(typeof e=="function")return Wl(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ui)return 11;if(e===Hi)return 14}return 2}function Wt(e,t){var n=e.alternate;return n===null?(n=Ie(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Uo(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")Wl(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Pt:return nr(n.children,i,o,t);case Du:a=8,i|=16;break;case rs:a=8,i|=1;break;case $r:return e=Ie(12,n,t,i|8),e.elementType=$r,e.type=$r,e.lanes=o,e;case Tr:return e=Ie(13,n,t,i),e.type=Tr,e.elementType=Tr,e.lanes=o,e;case Yi:return e=Ie(19,n,t,i),e.elementType=Yi,e.lanes=o,e;case cs:return Vl(n,i,o,t);case us:return e=Ie(24,n,t,i),e.elementType=us,e.lanes=o,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case is:a=10;break e;case os:a=9;break e;case Ui:a=11;break e;case Hi:a=14;break e;case as:a=16,r=null;break e;case ss:a=22;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=Ie(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function nr(e,t,n,r){return e=Ie(7,e,r,t),e.lanes=n,e}function Vl(e,t,n,r){return e=Ie(23,e,r,t),e.elementType=cs,e.lanes=n,e}function Kl(e,t,n){return e=Ie(6,e,null,t),e.lanes=n,e}function Ql(e,t,n){return t=Ie(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Pv(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ls(0),this.expirationTimes=Ls(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ls(0),this.mutableSourceEagerHydrationData=null}function Nv(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:on,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Yo(e,t,n,r){var i=t.current,o=Ne(),a=Yt(i);e:if(n){n=n._reactInternals;t:{if(sn(n)!==n||n.tag!==1)throw Error(S(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(Ee(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(s!==null);throw Error(S(171))}if(n.tag===1){var l=n.type;if(Ee(l)){n=Zd(n,l,s);break e}}n=s}else n=Mt;return t.context===null?t.context=n:t.pendingContext=n,t=zt(o,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),Ft(i,t),Ht(i,a,o),a}function Jl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function mf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Xl(e,t){mf(e,t),(e=e.alternate)&&mf(e,t)}function $v(){return null}function Zl(e,t,n){var r=n!=null&&n.hydrationOptions!=null&&n.hydrationOptions.mutableSources||null;if(n=new Pv(e,t,n!=null&&n.hydrate===!0),t=Ie(3,null,null,t===2?7:t===1?3:0),n.current=t,t.stateNode=n,pl(t),e[Un]=n.current,Ud(e.nodeType===8?e.parentNode:e),r)for(e=0;e<r.length;e++){t=r[e];var i=t._getVersion;i=i(t._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[t,i]:n.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=n}Zl.prototype.render=function(e){Yo(e,this._internalRoot,null,null)},Zl.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Yo(null,e,null,function(){t[Un]=null})};function xi(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Tv(e,t){if(t||(t=e?e.nodeType===9?e.documentElement:e.firstChild:null,t=!(!t||t.nodeType!==1||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Zl(e,0,t?{hydrate:!0}:void 0)}function Ho(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if(typeof i=="function"){var s=i;i=function(){var u=Jl(a);s.call(u)}}Yo(t,a,e,i)}else{if(o=n._reactRootContainer=Tv(n,r),a=o._internalRoot,typeof i=="function"){var l=i;i=function(){var u=Jl(a);l.call(u)}}sf(function(){Yo(t,a,e,i)})}return Jl(a)}nd=function(e){if(e.tag===13){var t=Ne();Ht(e,4,t),Xl(e,4)}},$s=function(e){if(e.tag===13){var t=Ne();Ht(e,67108864,t),Xl(e,67108864)}},rd=function(e){if(e.tag===13){var t=Ne(),n=Yt(e);Ht(e,n,t),Xl(e,n)}},id=function(e,t){return t()},_s=function(e,t,n){switch(t){case"input":if(hs(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=fo(r);if(!i)throw Error(S(90));Lu(r),hs(r,i)}}}break;case"textarea":Bu(e,n);break;case"select":t=n.value,t!=null&&Tn(e,!!n.multiple,t,!1)}},Ss=af,Qu=function(e,t,n,r,i){var o=D;D|=4;try{return dn(98,e.bind(null,t,n,r,i))}finally{D=o,D===0&&(Zn(),et())}},Es=function(){!(D&49)&&(yv(),Gt())},Ju=function(e,t){var n=D;D|=2;try{return e(t)}finally{D=n,D===0&&(Zn(),et())}};function gf(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!xi(t))throw Error(S(200));return Nv(e,t,null,n)}var Rv={Events:[ei,Yn,fo,Vu,Ku,Gt,{current:!1}]},ki={findFiberByHostInstance:ln,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Dv={bundleType:ki.bundleType,version:ki.version,rendererPackageName:ki.rendererPackageName,rendererConfig:ki.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:rn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ed(e),e===null?null:e.stateNode},findFiberByHostInstance:ki.findFiberByHostInstance||$v,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Go=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Go.isDisabled&&Go.supportsFiber)try{il=Go.inject(Dv),un=Go}catch{}}De.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Rv,De.createPortal=gf,De.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(S(188)):Error(S(268,Object.keys(e)));return e=ed(t),e=e===null?null:e.stateNode,e},De.flushSync=function(e,t){var n=D;if(n&48)return e(t);D|=1;try{if(e)return dn(99,e.bind(null,t))}finally{D=n,et()}},De.hydrate=function(e,t,n){if(!xi(t))throw Error(S(200));return Ho(null,e,t,!0,n)},De.render=function(e,t,n){if(!xi(t))throw Error(S(200));return Ho(null,e,t,!1,n)},De.unmountComponentAtNode=function(e){if(!xi(e))throw Error(S(40));return e._reactRootContainer?(sf(function(){Ho(null,null,e,!1,function(){e._reactRootContainer=null,e[Un]=null})}),!0):!1},De.unstable_batchedUpdates=af,De.unstable_createPortal=function(e,t){return gf(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},De.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!xi(n))throw Error(S(200));if(e==null||e._reactInternals===void 0)throw Error(S(38));return Ho(e,t,n,!1,r)},De.version="17.0.2";function yf(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(yf)}catch(e){console.error(e)}}yf(),Cu.exports=De;var ec=Cu.exports;const Ov=Re(ec),xS="",vf=Object.prototype.toString;function tc(e){switch(vf.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return or(e,Error)}}function rr(e,t){return vf.call(e)===`[object ${t}]`}function bf(e){return rr(e,"ErrorEvent")}function xf(e){return rr(e,"DOMError")}function Av(e){return rr(e,"DOMException")}function yn(e){return rr(e,"String")}function kf(e){return e===null||typeof e!="object"&&typeof e!="function"}function ir(e){return rr(e,"Object")}function nc(e){return typeof Event<"u"&&or(e,Event)}function Lv(e){return typeof Element<"u"&&or(e,Element)}function Mv(e){return rr(e,"RegExp")}function rc(e){return!!(e&&e.then&&typeof e.then=="function")}function Iv(e){return ir(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function zv(e){return typeof e=="number"&&e!==e}function or(e,t){try{return e instanceof t}catch{return!1}}function qo(e){return e&&e.Math==Math?e:void 0}const ze=typeof globalThis=="object"&&qo(globalThis)||typeof window=="object"&&qo(window)||typeof self=="object"&&qo(self)||typeof global=="object"&&qo(global)||function(){return this}()||{};function wi(){return ze}function ic(e,t,n){const r=n||ze,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const Fv=wi(),Bv=80;function oc(e,t={}){try{let n=e;const r=5,i=[];let o=0,a=0;const s=" > ",l=s.length;let u;const p=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||Bv;for(;n&&o++<r&&(u=Uv(n,p),!(u==="html"||o>1&&a+i.length*l+u.length>=d));)i.push(u),a+=u.length,n=n.parentNode;return i.reverse().join(s)}catch{return"<unknown>"}}function Uv(e,t){const n=e,r=[];let i,o,a,s,l;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());const u=t&&t.length?t.filter(d=>n.getAttribute(d)).map(d=>[d,n.getAttribute(d)]):null;if(u&&u.length)u.forEach(d=>{r.push(`[${d[0]}="${d[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&yn(i))for(o=i.split(/\s+/),l=0;l<o.length;l++)r.push(`.${o[l]}`);const p=["aria-label","type","name","title","alt"];for(l=0;l<p.length;l++)a=p[l],s=n.getAttribute(a),s&&r.push(`[${a}="${s}"]`);return r.join("")}function Yv(){try{return Fv.document.location.href}catch{return""}}class ye extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}const Hv=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Gv(e){return e==="http"||e==="https"}function _i(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${a}`}function qv(e){const t=Hv.exec(e);if(!t)throw new ye(`Invalid Sentry Dsn: ${e}`);const[n,r,i="",o,a="",s]=t.slice(1);let l="",u=s;const p=u.split("/");if(p.length>1&&(l=p.slice(0,-1).join("/"),u=p.pop()),u){const d=u.match(/^\d+/);d&&(u=d[0])}return wf({host:o,pass:i,path:l,projectId:u,port:a,protocol:n,publicKey:r})}function wf(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Wv(e){if(!(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__))return;const{port:t,projectId:n,protocol:r}=e;if(["protocol","publicKey","host","projectId"].forEach(o=>{if(!e[o])throw new ye(`Invalid Sentry Dsn: ${o} missing`)}),!n.match(/^\d+$/))throw new ye(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!Gv(r))throw new ye(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(t&&isNaN(parseInt(t,10)))throw new ye(`Invalid Sentry Dsn: Invalid port ${t}`);return!0}function _f(e){const t=typeof e=="string"?qv(e):wf(e);return Wv(t),t}const Vv="Sentry Logger ",Wo=["debug","info","warn","error","log","assert","trace"];function Sf(e){if(!("console"in ze))return e();const t=ze.console,n={};Wo.forEach(r=>{const i=t[r]&&t[r].__sentry_original__;r in t&&i&&(n[r]=t[r],t[r]=i)});try{return e()}finally{Object.keys(n).forEach(r=>{t[r]=n[r]})}}function Ef(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Wo.forEach(n=>{t[n]=(...r)=>{e&&Sf(()=>{ze.console[n](`${Vv}[${n}]:`,...r)})}}):Wo.forEach(n=>{t[n]=()=>{}}),t}let O;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?O=ic("logger",Ef):O=Ef();function Si(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Cf(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const i=e[r];try{n.push(String(i))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function Kv(e,t,n=!1){return yn(e)?Mv(t)?t.test(e):yn(t)?n?e===t:e.includes(t):!1:!1}function Vo(e,t=[],n=!1){return t.some(r=>Kv(e,r,n))}function ue(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);if(typeof i=="function")try{jf(i,r)}catch{}e[t]=i}function ac(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function jf(e,t){const n=t.prototype||{};e.prototype=t.prototype=n,ac(e,"__sentry_original__",t)}function sc(e){return e.__sentry_original__}function Qv(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function Pf(e){if(tc(e))return{message:e.message,name:e.name,stack:e.stack,...$f(e)};if(nc(e)){const t={type:e.type,target:Nf(e.target),currentTarget:Nf(e.currentTarget),...$f(e)};return typeof CustomEvent<"u"&&or(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Nf(e){try{return Lv(e)?oc(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function $f(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function Jv(e,t=40){const n=Object.keys(Pf(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Si(n[0],t);for(let r=n.length;r>0;r--){const i=n.slice(0,r).join(", ");if(!(i.length>t))return r===n.length?i:Si(i,t)}return""}function lc(e){return cc(e,new Map)}function cc(e,t){if(ir(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=cc(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(cc(i,t))}),r}return e}const Tf=50,Rf=/\(error: (.*)\)/;function Df(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{const i=[],o=n.split(`
|
|
43
|
-
`);for(let a=r;a<o.length;a++){const s=o[a];if(s.length>1024)continue;const l=
|
|
42
|
+
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}ce!==5&&(ce=2),l=zl(l,s),m=a;do{switch(m.tag){case 3:o=l,m.flags|=4096,t&=-t,m.lanes|=t;var C=im(m,o,t);wp(m,C);break e;case 1:o=l;var S=m.type,j=m.stateNode;if(!(m.flags&64)&&(typeof S.getDerivedStateFromError=="function"||j!==null&&typeof j.componentDidCatch=="function"&&(st===null||!st.has(j)))){m.flags|=4096,t&=-t,m.lanes|=t;var T=om(m,o,t);wp(m,T);break e}}m=m.return}while(m!==null)}km(n)}catch(_){t=_,re===n&&n!==null&&(re=n=n.return);continue}break}while(1)}function bm(){var e=Uo.current;return Uo.current=Lo,e===null?Lo:e}function Si(e,t){var n=A;A|=16;var r=bm();we===e&&ge===t||ir(e,t);do try{Fb();break}catch(i){ym(e,i)}while(1);if(vl(),A=n,Uo.current=r,re!==null)throw Error(E(261));return we=null,ge=0,ce}function Fb(){for(;re!==null;)vm(re)}function Bb(){for(;re!==null&&!Eb();)vm(re)}function vm(e){var t=Sm(e.alternate,e,bn);e.memoizedProps=e.pendingProps,t===null?km(e):re=t,Hl.current=null}function km(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&2048){if(n=Ab(t),n!==null){n.flags&=2047,re=n;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}else{if(n=Db(n,t,bn),n!==null){re=n;return}if(n=t,n.tag!==24&&n.tag!==23||n.memoizedState===null||bn&1073741824||!(n.mode&4)){for(var r=0,i=n.child;i!==null;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}e!==null&&!(e.flags&2048)&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}if(t=t.sibling,t!==null){re=t;return}re=t=e}while(t!==null);ce===0&&(ce=5)}function vn(e){var t=Kn();return fn(99,Hb.bind(null,e,t)),null}function Hb(e,t){do qt();while(vi!==null);if(A&48)throw Error(E(327));var n=e.finishedWork;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(E(177));e.callbackNode=null;var r=n.lanes|n.childLanes,i=r,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var a=e.eventTimes,s=e.expirationTimes;0<o;){var l=31-Rt(o),u=1<<l;i[l]=0,a[l]=-1,s[l]=-1,o&=~u}if(kt!==null&&!(r&24)&&kt.has(e)&&kt.delete(e),e===we&&(re=we=null,ge=0),1<n.flags?n.lastEffect!==null?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,r!==null){if(i=A,A|=32,Hl.current=null,sl=lo,a=Wd(),rl(a)){if("selectionStart"in a)s={start:a.selectionStart,end:a.selectionEnd};else e:if(s=(s=a.ownerDocument)&&s.defaultView||window,(u=s.getSelection&&s.getSelection())&&u.rangeCount!==0){s=u.anchorNode,o=u.anchorOffset,l=u.focusNode,u=u.focusOffset;try{s.nodeType,l.nodeType}catch{s=null;break e}var p=0,d=-1,m=-1,g=0,b=0,x=a,y=null;t:for(;;){for(var f;x!==s||o!==0&&x.nodeType!==3||(d=p+o),x!==l||u!==0&&x.nodeType!==3||(m=p+u),x.nodeType===3&&(p+=x.nodeValue.length),(f=x.firstChild)!==null;)y=x,x=f;for(;;){if(x===a)break t;if(y===s&&++g===o&&(d=p),y===l&&++b===u&&(m=p),(f=x.nextSibling)!==null)break;x=y,y=x.parentNode}x=f}s=d===-1||m===-1?null:{start:d,end:m}}else s=null;s=s||{start:0,end:0}}else s=null;ll={focusedElem:a,selectionRange:s},lo=!1,xi=null,Wo=!1,P=r;do try{Wb()}catch(_){if(P===null)throw Error(E(330));Kt(P,_),P=P.nextEffect}while(P!==null);xi=null,P=r;do try{for(a=e;P!==null;){var h=P.flags;if(h&16&&Lr(P.stateNode,""),h&128){var v=P.alternate;if(v!==null){var k=v.ref;k!==null&&(typeof k=="function"?k(null):k.current=null)}}switch(h&1038){case 2:dm(P),P.flags&=-3;break;case 6:dm(P),P.flags&=-3,Bl(P.alternate,P);break;case 1024:P.flags&=-1025;break;case 1028:P.flags&=-1025,Bl(P.alternate,P);break;case 4:Bl(P.alternate,P);break;case 8:s=P,pm(a,s);var C=s.alternate;cm(s),C!==null&&cm(C)}P=P.nextEffect}}catch(_){if(P===null)throw Error(E(330));Kt(P,_),P=P.nextEffect}while(P!==null);if(k=ll,v=Wd(),h=k.focusedElem,a=k.selectionRange,v!==h&&h&&h.ownerDocument&&Hd(h.ownerDocument.documentElement,h)){for(a!==null&&rl(h)&&(v=a.start,k=a.end,k===void 0&&(k=v),"selectionStart"in h?(h.selectionStart=v,h.selectionEnd=Math.min(k,h.value.length)):(k=(v=h.ownerDocument||document)&&v.defaultView||window,k.getSelection&&(k=k.getSelection(),s=h.textContent.length,C=Math.min(a.start,s),a=a.end===void 0?C:Math.min(a.end,s),!k.extend&&C>a&&(s=a,a=C,C=s),s=Bd(h,C),o=Bd(h,a),s&&o&&(k.rangeCount!==1||k.anchorNode!==s.node||k.anchorOffset!==s.offset||k.focusNode!==o.node||k.focusOffset!==o.offset)&&(v=v.createRange(),v.setStart(s.node,s.offset),k.removeAllRanges(),C>a?(k.addRange(v),k.extend(o.node,o.offset)):(v.setEnd(o.node,o.offset),k.addRange(v)))))),v=[],k=h;k=k.parentNode;)k.nodeType===1&&v.push({element:k,left:k.scrollLeft,top:k.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<v.length;h++)k=v[h],k.element.scrollLeft=k.left,k.element.scrollTop=k.top}lo=!!sl,ll=sl=null,e.current=n,P=r;do try{for(h=e;P!==null;){var S=P.flags;if(S&36&&Lb(h,P.alternate,P),S&128){v=void 0;var j=P.ref;if(j!==null){var T=P.stateNode;switch(P.tag){case 5:v=T;break;default:v=T}typeof j=="function"?j(v):j.current=v}}P=P.nextEffect}}catch(_){if(P===null)throw Error(E(330));Kt(P,_),P=P.nextEffect}while(P!==null);P=null,$b(),A=i}else e.current=n;if(Wt)Wt=!1,vi=e,ki=t;else for(P=r;P!==null;)t=P.nextEffect,P.nextEffect=null,P.flags&8&&(S=P,S.sibling=null,S.stateNode=null),P=t;if(r=e.pendingLanes,r===0&&(st=null),r===1?e===Zl?wi++:(wi=0,Zl=e):wi=0,n=n.stateNode,mn&&typeof mn.onCommitFiberRoot=="function")try{mn.onCommitFiberRoot(ml,n,void 0,(n.current.flags&64)===64)}catch{}if(Oe(e,fe()),Fo)throw Fo=!1,e=Jl,Jl=null,e;return A&8||rt(),null}function Wb(){for(;P!==null;){var e=P.alternate;Wo||xi===null||(P.flags&8?dd(P,xi)&&(Wo=!0):P.tag===13&&zb(e,P)&&dd(P,xi)&&(Wo=!0));var t=P.flags;t&256&&Ob(e,P),!(t&512)||Wt||(Wt=!0,oi(97,function(){return qt(),null})),P=P.nextEffect}}function qt(){if(ki!==90){var e=97<ki?97:ki;return ki=90,fn(e,Vb)}return!1}function Gb(e,t){Ql.push(t,e),Wt||(Wt=!0,oi(97,function(){return qt(),null}))}function wm(e,t){Xl.push(t,e),Wt||(Wt=!0,oi(97,function(){return qt(),null}))}function Vb(){if(vi===null)return!1;var e=vi;if(vi=null,A&48)throw Error(E(331));var t=A;A|=32;var n=Xl;Xl=[];for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1],a=i.destroy;if(i.destroy=void 0,typeof a=="function")try{a()}catch(l){if(o===null)throw Error(E(330));Kt(o,l)}}for(n=Ql,Ql=[],r=0;r<n.length;r+=2){i=n[r],o=n[r+1];try{var s=i.create;i.destroy=s()}catch(l){if(o===null)throw Error(E(330));Kt(o,l)}}for(s=e.current.firstEffect;s!==null;)e=s.nextEffect,s.nextEffect=null,s.flags&8&&(s.sibling=null,s.stateNode=null),s=e;return A=t,rt(),!0}function xm(e,t,n){t=zl(n,t),t=im(e,t,1),Bt(e,t),t=Ne(),e=Go(e,1),e!==null&&(so(e,1,t),Oe(e,t))}function Kt(e,t){if(e.tag===3)xm(e,e,t);else for(var n=e.return;n!==null;){if(n.tag===3){xm(n,e,t);break}else if(n.tag===1){var r=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(st===null||!st.has(r))){e=zl(t,e);var i=om(n,e,1);if(Bt(n,i),i=Ne(),n=Go(n,1),n!==null)so(n,1,i),Oe(n,i);else if(typeof r.componentDidCatch=="function"&&(st===null||!st.has(r)))try{r.componentDidCatch(t,e)}catch{}break}}n=n.return}}function qb(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ne(),e.pingedLanes|=e.suspendedLanes&n,we===e&&(ge&n)===n&&(ce===4||ce===3&&(ge&62914560)===ge&&500>fe()-ql?ir(e,0):Gl|=n),Oe(e,t)}function Kb(e,t){var n=e.stateNode;n!==null&&n.delete(t),t=0,t===0&&(t=e.mode,t&2?t&4?(wt===0&&(wt=er),t=zn(62914560&~wt),t===0&&(t=4194304)):t=Kn()===99?1:2:t=1),n=Ne(),e=Go(e,t),e!==null&&(so(e,t,n),Oe(e,n))}var Sm;Sm=function(e,t,n){var r=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||Ce.current)Ve=!0;else if(n&r)Ve=!!(e.flags&16384);else{switch(Ve=!1,t.tag){case 3:qp(t),$l();break;case 5:jp(t);break;case 1:$e(t.type)&&wo(t);break;case 4:Sl(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var i=t.type._context;q(Eo,i._currentValue),i._currentValue=r;break;case 13:if(t.memoizedState!==null)return n&t.child.childLanes?Kp(e,t,n):(q(K,K.current&1),t=vt(e,t,n),t!==null?t.sibling:null);q(K,K.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&64){if(r)return em(e,t,n);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),q(K,K.current),r)break;return null;case 23:case 24:return t.lanes=0,Al(e,t,n)}return vt(e,t,n)}else Ve=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=qn(t,me.current),Qn(t,n),i=jl(null,t,r,e,i,n),t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,$e(r)){var o=!0;wo(t)}else o=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,wl(t);var a=r.getDerivedStateFromProps;typeof a=="function"&&_o(t,r,a,e),i.updater=Po,t.stateNode=i,i._reactInternals=t,xl(t,r,e,n),t=Rl(null,t,r,!0,o,n)}else t.tag=0,Pe(null,t,i,n),t=t.child;return t;case 16:i=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=i._init,i=o(i._payload),t.type=i,o=t.tag=Qb(i),e=Ge(i,e),o){case 0:t=Ml(null,t,i,e,n);break e;case 1:t=Vp(null,t,i,e,n);break e;case 11:t=Bp(null,t,i,e,n);break e;case 14:t=Hp(null,t,i,Ge(i.type,e),r,n);break e}throw Error(E(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),Ml(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),Vp(e,t,r,i,n);case 3:if(qp(t),r=t.updateQueue,e===null||r===null)throw Error(E(282));if(r=t.pendingProps,i=t.memoizedState,i=i!==null?i.element:null,kp(e,t),ai(t,r,null,n),r=t.memoizedState.element,r===i)$l(),t=vt(e,t,n);else{if(i=t.stateNode,(o=i.hydrate)&&(Ht=Hn(t.stateNode.containerInfo.firstChild),bt=t,o=ot=!0),o){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)o=e[i],o._workInProgressVersionPrimary=e[i+1],Zn.push(o);for(n=Pp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|1024,n=n.sibling}else Pe(e,t,r,n),$l();t=t.child}return t;case 5:return jp(t),e===null&&Cl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,cl(r,i)?a=null:o!==null&&cl(r,o)&&(t.flags|=16),Gp(e,t),Pe(e,t,a,n),t.child;case 6:return e===null&&Cl(t),null;case 13:return Kp(e,t,n);case 4:return Sl(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=To(t,null,r,n):Pe(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),Bp(e,t,r,i,n);case 7:return Pe(e,t,t.pendingProps,n),t.child;case 8:return Pe(e,t,t.pendingProps.children,n),t.child;case 12:return Pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value;var s=t.type._context;if(q(Eo,s._currentValue),s._currentValue=o,a!==null)if(s=a.value,o=Ae(s,o)?0:(typeof r._calculateChangedBits=="function"?r._calculateChangedBits(s,o):1073741823)|0,o===0){if(a.children===i.children&&!Ce.current){t=vt(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){a=s.child;for(var u=l.firstContext;u!==null;){if(u.context===r&&u.observedBits&o){s.tag===1&&(u=Ft(-1,n&-n),u.tag=2,Bt(s,u)),s.lanes|=n,u=s.alternate,u!==null&&(u.lanes|=n),vp(s.return,n),l.lanes|=n;break}u=u.next}}else a=s.tag===10&&s.type===t.type?null:s.child;if(a!==null)a.return=s;else for(a=s;a!==null;){if(a===t){a=null;break}if(s=a.sibling,s!==null){s.return=a.return,a=s;break}a=a.return}s=a}Pe(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,o=t.pendingProps,r=o.children,Qn(t,n),i=Me(i,o.unstable_observedBits),r=r(i),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return i=t.type,o=Ge(i,t.pendingProps),o=Ge(i.type,o),Hp(e,t,i,o,r,n);case 15:return Wp(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,$e(r)?(e=!0,wo(t)):e=!1,Qn(t,n),Cp(t,r,i),xl(t,r,i,n),Rl(null,t,r,!0,e,n);case 19:return em(e,t,n);case 23:return Al(e,t,n);case 24:return Al(e,t,n)}throw Error(E(156,t.tag))};function Jb(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Le(e,t,n,r){return new Jb(e,t,n,r)}function nc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Qb(e){if(typeof e=="function")return nc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===qi)return 11;if(e===Ji)return 14}return 2}function Jt(e,t){var n=e.alternate;return n===null?(n=Le(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qo(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")nc(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Tt:return or(n.children,i,o,t);case Bu:a=8,i|=16;break;case ps:a=8,i|=1;break;case Ar:return e=Le(12,n,t,i|8),e.elementType=Ar,e.type=Ar,e.lanes=o,e;case Mr:return e=Le(13,n,t,i),e.type=Mr,e.elementType=Mr,e.lanes=o,e;case Ki:return e=Le(19,n,t,i),e.elementType=Ki,e.lanes=o,e;case bs:return rc(n,i,o,t);case vs:return e=Le(24,n,t,i),e.elementType=vs,e.lanes=o,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ms:a=10;break e;case fs:a=9;break e;case qi:a=11;break e;case Ji:a=14;break e;case hs:a=16,r=null;break e;case gs:a=22;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=Le(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function or(e,t,n,r){return e=Le(7,e,r,t),e.lanes=n,e}function rc(e,t,n,r){return e=Le(23,e,r,t),e.elementType=bs,e.lanes=n,e}function ic(e,t,n){return e=Le(6,e,null,t),e.lanes=n,e}function oc(e,t,n){return t=Le(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Xb(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ws(0),this.expirationTimes=Ws(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ws(0),this.mutableSourceEagerHydrationData=null}function Zb(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ln,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Ko(e,t,n,r){var i=t.current,o=Ne(),a=Gt(i);e:if(n){n=n._reactInternals;t:{if(un(n)!==n||n.tag!==1)throw Error(E(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if($e(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(s!==null);throw Error(E(171))}if(n.tag===1){var l=n.type;if($e(l)){n=cp(n,l,s);break e}}n=s}else n=Ut;return t.context===null?t.context=n:t.pendingContext=n,t=Ft(o,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),Bt(i,t),Vt(i,a,o),a}function ac(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Em(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function sc(e,t){Em(e,t),(e=e.alternate)&&Em(e,t)}function ev(){return null}function lc(e,t,n){var r=n!=null&&n.hydrationOptions!=null&&n.hydrationOptions.mutableSources||null;if(n=new Xb(e,t,n!=null&&n.hydrate===!0),t=Le(3,null,null,t===2?7:t===1?3:0),n.current=t,t.stateNode=n,wl(t),e[Wn]=n.current,Xd(e.nodeType===8?e.parentNode:e),r)for(e=0;e<r.length;e++){t=r[e];var i=t._getVersion;i=i(t._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[t,i]:n.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=n}lc.prototype.render=function(e){Ko(e,this._internalRoot,null,null)},lc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Ko(null,e,null,function(){t[Wn]=null})};function Ei(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function tv(e,t){if(t||(t=e?e.nodeType===9?e.documentElement:e.firstChild:null,t=!(!t||t.nodeType!==1||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new lc(e,0,t?{hydrate:!0}:void 0)}function Jo(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if(typeof i=="function"){var s=i;i=function(){var u=ac(a);s.call(u)}}Ko(t,a,e,i)}else{if(o=n._reactRootContainer=tv(n,r),a=o._internalRoot,typeof i=="function"){var l=i;i=function(){var u=ac(a);l.call(u)}}gm(function(){Ko(t,a,e,i)})}return ac(a)}pd=function(e){if(e.tag===13){var t=Ne();Vt(e,4,t),sc(e,4)}},zs=function(e){if(e.tag===13){var t=Ne();Vt(e,67108864,t),sc(e,67108864)}},md=function(e){if(e.tag===13){var t=Ne(),n=Gt(e);Vt(e,n,t),sc(e,n)}},fd=function(e,t){return t()},Is=function(e,t,n){switch(t){case"input":if(Ss(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=vo(r);if(!i)throw Error(E(90));Gu(r),Ss(r,i)}}}break;case"textarea":Qu(e,n);break;case"select":t=n.value,t!=null&&An(e,!!n.multiple,t,!1)}},Ds=hm,ad=function(e,t,n,r,i){var o=A;A|=4;try{return fn(98,e.bind(null,t,n,r,i))}finally{A=o,A===0&&(nr(),rt())}},As=function(){!(A&49)&&(Yb(),qt())},sd=function(e,t){var n=A;A|=2;try{return e(t)}finally{A=n,A===0&&(nr(),rt())}};function Cm(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ei(t))throw Error(E(200));return Zb(e,t,null,n)}var nv={Events:[ii,Gn,vo,id,od,qt,{current:!1}]},Ci={findFiberByHostInstance:dn,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},rv={bundleType:Ci.bundleType,version:Ci.version,rendererPackageName:Ci.rendererPackageName,rendererConfig:Ci.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:sn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ud(e),e===null?null:e.stateNode},findFiberByHostInstance:Ci.findFiberByHostInstance||ev,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Qo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Qo.isDisabled&&Qo.supportsFiber)try{ml=Qo.inject(rv),mn=Qo}catch{}}De.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nv,De.createPortal=Cm,De.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(E(188)):Error(E(268,Object.keys(e)));return e=ud(t),e=e===null?null:e.stateNode,e},De.flushSync=function(e,t){var n=A;if(n&48)return e(t);A|=1;try{if(e)return fn(99,e.bind(null,t))}finally{A=n,rt()}},De.hydrate=function(e,t,n){if(!Ei(t))throw Error(E(200));return Jo(null,e,t,!0,n)},De.render=function(e,t,n){if(!Ei(t))throw Error(E(200));return Jo(null,e,t,!1,n)},De.unmountComponentAtNode=function(e){if(!Ei(e))throw Error(E(40));return e._reactRootContainer?(gm(function(){Jo(null,null,e,!1,function(){e._reactRootContainer=null,e[Wn]=null})}),!0):!1},De.unstable_batchedUpdates=hm,De.unstable_createPortal=function(e,t){return Cm(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},De.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ei(n))throw Error(E(200));if(e==null||e._reactInternals===void 0)throw Error(E(38));return Jo(e,t,n,!1,r)},De.version="17.0.2";function $m(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE($m)}catch(e){console.error(e)}}$m(),Ru.exports=De;var cc=Ru.exports;const iv=ve(cc),uC="",_m=Object.prototype.toString;function uc(e){switch(_m.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return lr(e,Error)}}function ar(e,t){return _m.call(e)===`[object ${t}]`}function Pm(e){return ar(e,"ErrorEvent")}function jm(e){return ar(e,"DOMError")}function ov(e){return ar(e,"DOMException")}function kn(e){return ar(e,"String")}function Nm(e){return e===null||typeof e!="object"&&typeof e!="function"}function sr(e){return ar(e,"Object")}function dc(e){return typeof Event<"u"&&lr(e,Event)}function av(e){return typeof Element<"u"&&lr(e,Element)}function sv(e){return ar(e,"RegExp")}function pc(e){return!!(e&&e.then&&typeof e.then=="function")}function lv(e){return sr(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function cv(e){return typeof e=="number"&&e!==e}function lr(e,t){try{return e instanceof t}catch{return!1}}function Xo(e){return e&&e.Math==Math?e:void 0}const ze=typeof globalThis=="object"&&Xo(globalThis)||typeof window=="object"&&Xo(window)||typeof self=="object"&&Xo(self)||typeof global=="object"&&Xo(global)||function(){return this}()||{};function $i(){return ze}function mc(e,t,n){const r=n||ze,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const uv=$i(),dv=80;function fc(e,t={}){try{let n=e;const r=5,i=[];let o=0,a=0;const s=" > ",l=s.length;let u;const p=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||dv;for(;n&&o++<r&&(u=pv(n,p),!(u==="html"||o>1&&a+i.length*l+u.length>=d));)i.push(u),a+=u.length,n=n.parentNode;return i.reverse().join(s)}catch{return"<unknown>"}}function pv(e,t){const n=e,r=[];let i,o,a,s,l;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());const u=t&&t.length?t.filter(d=>n.getAttribute(d)).map(d=>[d,n.getAttribute(d)]):null;if(u&&u.length)u.forEach(d=>{r.push(`[${d[0]}="${d[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&kn(i))for(o=i.split(/\s+/),l=0;l<o.length;l++)r.push(`.${o[l]}`);const p=["aria-label","type","name","title","alt"];for(l=0;l<p.length;l++)a=p[l],s=n.getAttribute(a),s&&r.push(`[${a}="${s}"]`);return r.join("")}function mv(){try{return uv.document.location.href}catch{return""}}const fv="Sentry Logger ",Zo=["debug","info","warn","error","log","assert","trace"];function Tm(e){if(!("console"in ze))return e();const t=ze.console,n={};Zo.forEach(r=>{const i=t[r]&&t[r].__sentry_original__;r in t&&i&&(n[r]=t[r],t[r]=i)});try{return e()}finally{Object.keys(n).forEach(r=>{t[r]=n[r]})}}function Im(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Zo.forEach(n=>{t[n]=(...r)=>{e&&Tm(()=>{ze.console[n](`${fv}[${n}]:`,...r)})}}):Zo.forEach(n=>{t[n]=()=>{}}),t}let I;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?I=mc("logger",Im):I=Im();const hv=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function gv(e){return e==="http"||e==="https"}function _i(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${a}`}function yv(e){const t=hv.exec(e);if(!t){console.error(`Invalid Sentry Dsn: ${e}`);return}const[n,r,i="",o,a="",s]=t.slice(1);let l="",u=s;const p=u.split("/");if(p.length>1&&(l=p.slice(0,-1).join("/"),u=p.pop()),u){const d=u.match(/^\d+/);d&&(u=d[0])}return Dm({host:o,pass:i,path:l,projectId:u,port:a,protocol:n,publicKey:r})}function Dm(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function bv(e){if(!(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__))return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(a=>e[a]?!1:(I.error(`Invalid Sentry Dsn: ${a} missing`),!0))?!1:n.match(/^\d+$/)?gv(r)?t&&isNaN(parseInt(t,10))?(I.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(I.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(I.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function Am(e){const t=typeof e=="string"?yv(e):Dm(e);if(!(!t||!bv(t)))return t}class qe extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}function Pi(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Mm(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const i=e[r];try{n.push(String(i))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function vv(e,t,n=!1){return kn(e)?sv(t)?t.test(e):kn(t)?n?e===t:e.includes(t):!1:!1}function ea(e,t=[],n=!1){return t.some(r=>vv(e,r,n))}function ue(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);if(typeof i=="function")try{Rm(i,r)}catch{}e[t]=i}function hc(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function Rm(e,t){const n=t.prototype||{};e.prototype=t.prototype=n,hc(e,"__sentry_original__",t)}function gc(e){return e.__sentry_original__}function kv(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function Om(e){if(uc(e))return{message:e.message,name:e.name,stack:e.stack,...zm(e)};if(dc(e)){const t={type:e.type,target:Lm(e.target),currentTarget:Lm(e.currentTarget),...zm(e)};return typeof CustomEvent<"u"&&lr(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Lm(e){try{return av(e)?fc(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function zm(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function wv(e,t=40){const n=Object.keys(Om(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Pi(n[0],t);for(let r=n.length;r>0;r--){const i=n.slice(0,r).join(", ");if(!(i.length>t))return r===n.length?i:Pi(i,t)}return""}function yc(e){return bc(e,new Map)}function bc(e,t){if(sr(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=bc(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(bc(i,t))}),r}return e}const Um=50,Ym=/\(error: (.*)\)/;function Fm(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{const i=[],o=n.split(`
|
|
43
|
+
`);for(let a=r;a<o.length;a++){const s=o[a];if(s.length>1024)continue;const l=Ym.test(s)?s.replace(Ym,"$1"):s;if(!l.match(/\S*Error: /)){for(const u of t){const p=u(l);if(p){i.push(p);break}}if(i.length>=Um)break}}return Sv(i)}}function xv(e){return Array.isArray(e)?Fm(...e):e}function Sv(e){if(!e.length)return[];const t=e.slice(0,Um),n=t[t.length-1].function;n&&/sentryWrapped/.test(n)&&t.pop(),t.reverse();const r=t[t.length-1].function;return r&&/captureMessage|captureException/.test(r)&&t.pop(),t.map(i=>({...i,filename:i.filename||t[t.length-1].filename,function:i.function||"?"}))}const vc="<anonymous>";function Qt(e){try{return!e||typeof e!="function"?vc:e.name||vc}catch{return vc}}const kc=$i();function Bm(){if(!("fetch"in kc))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function wc(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Ev(){if(!Bm())return!1;if(wc(kc.fetch))return!0;let e=!1;const t=kc.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=wc(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}const ta=$i();function Cv(){const e=ta.chrome,t=e&&e.app&&e.app.runtime,n="history"in ta&&!!ta.history.pushState&&!!ta.history.replaceState;return!t&&n}const G=$i(),ji="__sentry_xhr_v2__",Ni={},Hm={};function $v(e){if(!Hm[e])switch(Hm[e]=!0,e){case"console":_v();break;case"dom":Mv();break;case"xhr":Nv();break;case"fetch":Pv();break;case"history":Tv();break;case"error":Rv();break;case"unhandledrejection":Ov();break;default:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn("unknown instrumentation type:",e);return}}function Xt(e,t){Ni[e]=Ni[e]||[],Ni[e].push(t),$v(e)}function Ke(e,t){if(!(!e||!Ni[e]))for(const n of Ni[e]||[])try{n(t)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.error(`Error while triggering instrumentation handler.
|
|
44
44
|
Type: ${e}
|
|
45
|
-
Name: ${
|
|
46
|
-
Error:`,r)}}function r0(){"console"in G&&Wo.forEach(function(e){e in G.console&&ue(G.console,e,function(t){return function(...n){We("console",{args:n,level:e}),t&&t.apply(G.console,n)}})})}function i0(){e0()&&ue(G,"fetch",function(e){return function(...t){const{method:n,url:r}=o0(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return We("fetch",{...i}),e.apply(G,t).then(o=>(We("fetch",{...i,endTimestamp:Date.now(),response:o}),o),o=>{throw We("fetch",{...i,endTimestamp:Date.now(),error:o}),o})}})}function fc(e,t){return!!e&&typeof e=="object"&&!!e[t]}function Lf(e){return typeof e=="string"?e:e?fc(e,"url")?e.url:e.toString?e.toString():"":""}function o0(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:Lf(n),method:fc(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:Lf(t),method:fc(t,"method")?String(t.method).toUpperCase():"GET"}}function a0(){if(!("XMLHttpRequest"in G))return;const e=XMLHttpRequest.prototype;ue(e,"open",function(t){return function(...n){const r=n[1],i=this[Ei]={method:yn(n[0])?n[0].toUpperCase():n[0],url:n[1],request_headers:{}};yn(r)&&i.method==="POST"&&r.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const o=()=>{const a=this[Ei];if(a&&this.readyState===4){try{a.status_code=this.status}catch{}We("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?ue(this,"onreadystatechange",function(a){return function(...s){return o(),a.apply(this,s)}}):this.addEventListener("readystatechange",o),ue(this,"setRequestHeader",function(a){return function(...s){const[l,u]=s,p=this[Ei];return p&&(p.request_headers[l.toLowerCase()]=u),a.apply(this,s)}}),t.apply(this,n)}}),ue(e,"send",function(t){return function(...n){const r=this[Ei];return r&&n[0]!==void 0&&(r.body=n[0]),We("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}let Qo;function s0(){if(!t0())return;const e=G.onpopstate;G.onpopstate=function(...n){const r=G.location.href,i=Qo;if(Qo=r,We("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const i=r.length>2?r[2]:void 0;if(i){const o=Qo,a=String(i);Qo=a,We("history",{from:o,to:a})}return n.apply(this,r)}}ue(G.history,"pushState",t),ue(G.history,"replaceState",t)}const l0=1e3;let Jo,Xo;function c0(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch{}return!1}function u0(e){if(e.type!=="keypress")return!1;try{const t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch{}return!0}function Mf(e,t=!1){return n=>{if(!n||Xo===n||u0(n))return;const r=n.type==="keypress"?"input":n.type;Jo===void 0?(e({event:n,name:r,global:t}),Xo=n):c0(Xo,n)&&(e({event:n,name:r,global:t}),Xo=n),clearTimeout(Jo),Jo=G.setTimeout(()=>{Jo=void 0},l0)}}function d0(){if(!("document"in G))return;const e=We.bind(null,"dom"),t=Mf(e,!0);G.document.addEventListener("click",t,!1),G.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const r=G[n]&&G[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(ue(r,"addEventListener",function(i){return function(o,a,s){if(o==="click"||o=="keypress")try{const l=this,u=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},p=u[o]=u[o]||{refCount:0};if(!p.handler){const d=Mf(e);p.handler=d,i.call(this,o,d,s)}p.refCount++}catch{}return i.call(this,o,a,s)}}),ue(r,"removeEventListener",function(i){return function(o,a,s){if(o==="click"||o=="keypress")try{const l=this,u=l.__sentry_instrumentation_handlers__||{},p=u[o];p&&(p.refCount--,p.refCount<=0&&(i.call(this,o,p.handler,s),p.handler=void 0,delete u[o]),Object.keys(u).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return i.call(this,o,a,s)}}))})}let Zo=null;function p0(){Zo=G.onerror,G.onerror=function(e,t,n,r,i){return We("error",{column:r,error:i,line:n,msg:e,url:t}),Zo&&!Zo.__SENTRY_LOADER__?Zo.apply(this,arguments):!1},G.onerror.__SENTRY_INSTRUMENTED__=!0}let ea=null;function f0(){ea=G.onunhandledrejection,G.onunhandledrejection=function(e){return We("unhandledrejection",e),ea&&!ea.__SENTRY_LOADER__?ea.apply(this,arguments):!0},G.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function h0(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let o=0;o<t.length;o++)if(t[o]===i)return!0;return t.push(i),!1}function r(i){if(e)t.delete(i);else for(let o=0;o<t.length;o++)if(t[o]===i){t.splice(o,1);break}}return[n,r]}function ar(){const e=ze,t=e.crypto||e.msCrypto;if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");const n=t&&t.getRandomValues?()=>t.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function If(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function Qt(e){const{message:t,event_id:n}=e;if(t)return t;const r=If(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function hc(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function ji(e,t){const n=If(e);if(!n)return;const r={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&"data"in t){const o={...i&&i.data,...t.data};n.mechanism.data=o}}function zf(e){if(e&&e.__sentry_captured__)return!0;try{ac(e,"__sentry_captured__",!0)}catch{}return!1}function Ff(e){return Array.isArray(e)?e:[e]}function m0(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function g0(){return"npm"}function y0(){return!m0()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function v0(e,t){return e.require(t)}function Jt(e,t=1/0,n=1/0){try{return mc("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function Bf(e,t=3,n=100*1024){const r=Jt(e,t);return w0(r)>n?Bf(e,t-1,n):r}function mc(e,t,n=1/0,r=1/0,i=h0()){const[o,a]=i;if(t===null||["number","boolean","string"].includes(typeof t)&&!zv(t))return t;const s=b0(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;let l=n;if(typeof t.__sentry_override_normalization_depth__=="number"&&(l=t.__sentry_override_normalization_depth__),l===0)return s.replace("object ","");if(o(t))return"[Circular ~]";const u=t;if(u&&typeof u.toJSON=="function")try{const y=u.toJSON();return mc("",y,l-1,r,i)}catch{}const p=Array.isArray(t)?[]:{};let d=0;const f=Pf(t);for(const y in f){if(!Object.prototype.hasOwnProperty.call(f,y))continue;if(d>=r){p[y]="[MaxProperties ~]";break}const v=f[y];p[y]=mc(y,v,l-1,r,i),d++}return a(t),p}function b0(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(Iv(t))return"[SyntheticEvent]";if(typeof t=="number"&&t!==t)return"[NaN]";if(t===void 0)return"[undefined]";if(typeof t=="function")return`[Function: ${Vt(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=x0(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function x0(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function k0(e){return~-encodeURI(e).split(/%..|./).length}function w0(e){return k0(JSON.stringify(e))}var bt;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(bt||(bt={}));function vn(e){return new ke(t=>{t(e)})}function ta(e){return new ke((t,n)=>{n(e)})}class ke{__init(){this._state=bt.PENDING}__init2(){this._handlers=[]}constructor(t){ke.prototype.__init.call(this),ke.prototype.__init2.call(this),ke.prototype.__init3.call(this),ke.prototype.__init4.call(this),ke.prototype.__init5.call(this),ke.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new ke((r,i)=>{this._handlers.push([!1,o=>{if(!t)r(o);else try{r(t(o))}catch(a){i(a)}},o=>{if(!n)i(o);else try{r(n(o))}catch(a){i(a)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new ke((n,r)=>{let i,o;return this.then(a=>{o=!1,i=a,t&&t()},a=>{o=!0,i=a,t&&t()}).then(()=>{if(o){r(i);return}n(i)})})}__init3(){this._resolve=t=>{this._setResult(bt.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(bt.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===bt.PENDING){if(rc(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===bt.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===bt.RESOLVED&&n[1](this._value),this._state===bt.REJECTED&&n[2](this._value),n[0]=!0)})}}}function _0(e){const t=[];function n(){return e===void 0||t.length<e}function r(a){return t.splice(t.indexOf(a),1)[0]}function i(a){if(!n())return ta(new ye("Not adding Promise because buffer limit was reached."));const s=a();return t.indexOf(s)===-1&&t.push(s),s.then(()=>r(s)).then(null,()=>r(s).then(null,()=>{})),s}function o(a){return new ke((s,l)=>{let u=t.length;if(!u)return s(!0);const p=setTimeout(()=>{a&&a>0&&s(!1)},a);t.forEach(d=>{vn(d).then(()=>{--u||(clearTimeout(p),s(!0))},l)})})}return{$:t,add:i,drain:o}}function gc(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}const S0=["fatal","error","warning","log","info","debug"];function E0(e){return e==="warn"?"warning":S0.includes(e)?e:"log"}const Uf=wi(),yc={nowSeconds:()=>Date.now()/1e3};function C0(){const{performance:e}=Uf;if(!e||!e.now)return;const t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}function j0(){try{return v0(module,"perf_hooks").performance}catch{return}}const vc=y0()?j0():C0(),Yf=vc===void 0?yc:{nowSeconds:()=>(vc.timeOrigin+vc.now())/1e3},na=yc.nowSeconds.bind(yc),Hf=Yf.nowSeconds.bind(Yf);(()=>{const{performance:e}=Uf;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,o=i<t,a=e.timing&&e.timing.navigationStart,l=typeof a=="number"?Math.abs(a+n-r):t,u=l<t;return o||u?i<=l?e.timeOrigin:a:r})();function Pi(e,t=[]){return[e,t]}function P0(e,t){const[n,r]=e;return[n,[...r,t]]}function Gf(e,t){const n=e[1];for(const r of n){const i=r[0].type;if(t(r,i))return!0}return!1}function bc(e,t){return(t||new TextEncoder).encode(e)}function N0(e,t){const[n,r]=e;let i=JSON.stringify(n);function o(a){typeof i=="string"?i=typeof a=="string"?i+a:[bc(i,t),a]:i.push(typeof a=="string"?bc(a,t):a)}for(const a of r){const[s,l]=a;if(o(`
|
|
45
|
+
Name: ${Qt(n)}
|
|
46
|
+
Error:`,r)}}function _v(){"console"in G&&Zo.forEach(function(e){e in G.console&&ue(G.console,e,function(t){return function(...n){Ke("console",{args:n,level:e}),t&&t.apply(G.console,n)}})})}function Pv(){Ev()&&ue(G,"fetch",function(e){return function(...t){const{method:n,url:r}=jv(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return Ke("fetch",{...i}),e.apply(G,t).then(o=>(Ke("fetch",{...i,endTimestamp:Date.now(),response:o}),o),o=>{throw Ke("fetch",{...i,endTimestamp:Date.now(),error:o}),o})}})}function xc(e,t){return!!e&&typeof e=="object"&&!!e[t]}function Wm(e){return typeof e=="string"?e:e?xc(e,"url")?e.url:e.toString?e.toString():"":""}function jv(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:Wm(n),method:xc(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:Wm(t),method:xc(t,"method")?String(t.method).toUpperCase():"GET"}}function Nv(){if(!("XMLHttpRequest"in G))return;const e=XMLHttpRequest.prototype;ue(e,"open",function(t){return function(...n){const r=n[1],i=this[ji]={method:kn(n[0])?n[0].toUpperCase():n[0],url:n[1],request_headers:{}};kn(r)&&i.method==="POST"&&r.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const o=()=>{const a=this[ji];if(a&&this.readyState===4){try{a.status_code=this.status}catch{}Ke("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?ue(this,"onreadystatechange",function(a){return function(...s){return o(),a.apply(this,s)}}):this.addEventListener("readystatechange",o),ue(this,"setRequestHeader",function(a){return function(...s){const[l,u]=s,p=this[ji];return p&&(p.request_headers[l.toLowerCase()]=u),a.apply(this,s)}}),t.apply(this,n)}}),ue(e,"send",function(t){return function(...n){const r=this[ji];return r&&n[0]!==void 0&&(r.body=n[0]),Ke("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}let na;function Tv(){if(!Cv())return;const e=G.onpopstate;G.onpopstate=function(...n){const r=G.location.href,i=na;if(na=r,Ke("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const i=r.length>2?r[2]:void 0;if(i){const o=na,a=String(i);na=a,Ke("history",{from:o,to:a})}return n.apply(this,r)}}ue(G.history,"pushState",t),ue(G.history,"replaceState",t)}const Iv=1e3;let ra,ia;function Dv(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch{}return!1}function Av(e){if(e.type!=="keypress")return!1;try{const t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch{}return!0}function Gm(e,t=!1){return n=>{if(!n||ia===n||Av(n))return;const r=n.type==="keypress"?"input":n.type;ra===void 0?(e({event:n,name:r,global:t}),ia=n):Dv(ia,n)&&(e({event:n,name:r,global:t}),ia=n),clearTimeout(ra),ra=G.setTimeout(()=>{ra=void 0},Iv)}}function Mv(){if(!("document"in G))return;const e=Ke.bind(null,"dom"),t=Gm(e,!0);G.document.addEventListener("click",t,!1),G.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const r=G[n]&&G[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(ue(r,"addEventListener",function(i){return function(o,a,s){if(o==="click"||o=="keypress")try{const l=this,u=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},p=u[o]=u[o]||{refCount:0};if(!p.handler){const d=Gm(e);p.handler=d,i.call(this,o,d,s)}p.refCount++}catch{}return i.call(this,o,a,s)}}),ue(r,"removeEventListener",function(i){return function(o,a,s){if(o==="click"||o=="keypress")try{const l=this,u=l.__sentry_instrumentation_handlers__||{},p=u[o];p&&(p.refCount--,p.refCount<=0&&(i.call(this,o,p.handler,s),p.handler=void 0,delete u[o]),Object.keys(u).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return i.call(this,o,a,s)}}))})}let oa=null;function Rv(){oa=G.onerror,G.onerror=function(e,t,n,r,i){return Ke("error",{column:r,error:i,line:n,msg:e,url:t}),oa&&!oa.__SENTRY_LOADER__?oa.apply(this,arguments):!1},G.onerror.__SENTRY_INSTRUMENTED__=!0}let aa=null;function Ov(){aa=G.onunhandledrejection,G.onunhandledrejection=function(e){return Ke("unhandledrejection",e),aa&&!aa.__SENTRY_LOADER__?aa.apply(this,arguments):!0},G.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function Lv(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let o=0;o<t.length;o++)if(t[o]===i)return!0;return t.push(i),!1}function r(i){if(e)t.delete(i);else for(let o=0;o<t.length;o++)if(t[o]===i){t.splice(o,1);break}}return[n,r]}function cr(){const e=ze,t=e.crypto||e.msCrypto;if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");const n=t&&t.getRandomValues?()=>t.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function Vm(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function Zt(e){const{message:t,event_id:n}=e;if(t)return t;const r=Vm(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function Sc(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function Ti(e,t){const n=Vm(e);if(!n)return;const r={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&"data"in t){const o={...i&&i.data,...t.data};n.mechanism.data=o}}function qm(e){if(e&&e.__sentry_captured__)return!0;try{hc(e,"__sentry_captured__",!0)}catch{}return!1}function Km(e){return Array.isArray(e)?e:[e]}function zv(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function Uv(){return"npm"}function Yv(){return!zv()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Fv(e,t){return e.require(t)}function en(e,t=100,n=1/0){try{return Ec("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function Jm(e,t=3,n=100*1024){const r=en(e,t);return Gv(r)>n?Jm(e,t-1,n):r}function Ec(e,t,n=1/0,r=1/0,i=Lv()){const[o,a]=i;if(t==null||["number","boolean","string"].includes(typeof t)&&!cv(t))return t;const s=Bv(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;const l=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(l===0)return s.replace("object ","");if(o(t))return"[Circular ~]";const u=t;if(u&&typeof u.toJSON=="function")try{const g=u.toJSON();return Ec("",g,l-1,r,i)}catch{}const p=Array.isArray(t)?[]:{};let d=0;const m=Om(t);for(const g in m){if(!Object.prototype.hasOwnProperty.call(m,g))continue;if(d>=r){p[g]="[MaxProperties ~]";break}const b=m[g];p[g]=Ec(g,b,l-1,r,i),d++}return a(t),p}function Bv(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(lv(t))return"[SyntheticEvent]";if(typeof t=="number"&&t!==t)return"[NaN]";if(typeof t=="function")return`[Function: ${Qt(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=Hv(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function Hv(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function Wv(e){return~-encodeURI(e).split(/%..|./).length}function Gv(e){return Wv(JSON.stringify(e))}var xt;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(xt||(xt={}));function wn(e){return new xe(t=>{t(e)})}function sa(e){return new xe((t,n)=>{n(e)})}class xe{__init(){this._state=xt.PENDING}__init2(){this._handlers=[]}constructor(t){xe.prototype.__init.call(this),xe.prototype.__init2.call(this),xe.prototype.__init3.call(this),xe.prototype.__init4.call(this),xe.prototype.__init5.call(this),xe.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new xe((r,i)=>{this._handlers.push([!1,o=>{if(!t)r(o);else try{r(t(o))}catch(a){i(a)}},o=>{if(!n)i(o);else try{r(n(o))}catch(a){i(a)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new xe((n,r)=>{let i,o;return this.then(a=>{o=!1,i=a,t&&t()},a=>{o=!0,i=a,t&&t()}).then(()=>{if(o){r(i);return}n(i)})})}__init3(){this._resolve=t=>{this._setResult(xt.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(xt.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===xt.PENDING){if(pc(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===xt.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===xt.RESOLVED&&n[1](this._value),this._state===xt.REJECTED&&n[2](this._value),n[0]=!0)})}}}function Vv(e){const t=[];function n(){return e===void 0||t.length<e}function r(a){return t.splice(t.indexOf(a),1)[0]}function i(a){if(!n())return sa(new qe("Not adding Promise because buffer limit was reached."));const s=a();return t.indexOf(s)===-1&&t.push(s),s.then(()=>r(s)).then(null,()=>r(s).then(null,()=>{})),s}function o(a){return new xe((s,l)=>{let u=t.length;if(!u)return s(!0);const p=setTimeout(()=>{a&&a>0&&s(!1)},a);t.forEach(d=>{wn(d).then(()=>{--u||(clearTimeout(p),s(!0))},l)})})}return{$:t,add:i,drain:o}}function Cc(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}const qv=["fatal","error","warning","log","info","debug"];function Kv(e){return e==="warn"?"warning":qv.includes(e)?e:"log"}const Qm=$i(),$c={nowSeconds:()=>Date.now()/1e3};function Jv(){const{performance:e}=Qm;if(!e||!e.now)return;const t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}function Qv(){try{return Fv(module,"perf_hooks").performance}catch{return}}const _c=Yv()?Qv():Jv(),Xm=_c===void 0?$c:{nowSeconds:()=>(_c.timeOrigin+_c.now())/1e3},la=$c.nowSeconds.bind($c),Zm=Xm.nowSeconds.bind(Xm);(()=>{const{performance:e}=Qm;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,o=i<t,a=e.timing&&e.timing.navigationStart,l=typeof a=="number"?Math.abs(a+n-r):t,u=l<t;return o||u?i<=l?e.timeOrigin:a:r})();function Ii(e,t=[]){return[e,t]}function Xv(e,t){const[n,r]=e;return[n,[...r,t]]}function ef(e,t){const n=e[1];for(const r of n){const i=r[0].type;if(t(r,i))return!0}return!1}function Pc(e,t){return(t||new TextEncoder).encode(e)}function Zv(e,t){const[n,r]=e;let i=JSON.stringify(n);function o(a){typeof i=="string"?i=typeof a=="string"?i+a:[Pc(i,t),a]:i.push(typeof a=="string"?Pc(a,t):a)}for(const a of r){const[s,l]=a;if(o(`
|
|
47
47
|
${JSON.stringify(s)}
|
|
48
|
-
`),typeof l=="string"||l instanceof Uint8Array)o(l);else{let u;try{u=JSON.stringify(l)}catch{u=JSON.stringify(Jt(l))}o(u)}}return typeof i=="string"?i:$0(i)}function $0(e){const t=e.reduce((i,o)=>i+o.length,0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}function T0(e,t){const n=typeof e.data=="string"?bc(e.data,t):e.data;return[lc({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const R0={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor"};function qf(e){return R0[e]}function Wf(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function D0(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&{dsn:_i(r)},...i&&{trace:lc({...i})}}}function O0(e,t,n){const r=[{type:"client_report"},{timestamp:n||na(),discarded_events:e}];return Pi(t?{dsn:t}:{},[r])}const A0=60*1e3;function L0(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?A0:r-t}function M0(e,t){return e[t]||e.all||0}function I0(e,t,n=Date.now()){return M0(e,t)>n}function z0(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},o=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(o)for(const s of o.trim().split(",")){const[l,u]=s.split(":",2),p=parseInt(l,10),d=(isNaN(p)?60:p)*1e3;if(!u)i.all=r+d;else for(const f of u.split(";"))i[f]=r+d}else a?i.all=r+L0(a,r):t===429&&(i.all=r+60*1e3);return i}const Vf="production";function F0(e){const t=Hf(),n={sid:ar(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>U0(n)};return e&&sr(n,e),n}function sr(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Hf(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:ar()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function B0(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),sr(e,n)}function U0(e){return lc({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const Y0=100;class bn{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(t){const n=new bn;return t&&(n._breadcrumbs=[...t._breadcrumbs],n._tags={...t._tags},n._extra={...t._extra},n._contexts={...t._contexts},n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=[...t._eventProcessors],n._requestSession=t._requestSession,n._attachments=[...t._attachments],n._sdkProcessingMetadata={...t._sdkProcessingMetadata}),n}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&sr(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){const n=t(this);return n instanceof bn?n:this}return t instanceof bn?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):ir(t)&&(t=t,this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,n){const r=typeof n=="number"?n:Y0;if(r<=0)return this;const i={timestamp:na(),...t};return this._breadcrumbs=[...this._breadcrumbs,i].slice(-r),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,n={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const r=this._span.transaction;if(r){t.sdkProcessingMetadata={dynamicSamplingContext:r.getDynamicSamplingContext(),...t.sdkProcessingMetadata};const i=r.name;i&&(t.tags={transaction:i,...t.tags})}}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...Kf(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,n,r,i=0){return new ke((o,a)=>{const s=t[i];if(n===null||typeof s!="function")o(n);else{const l=s({...n},r);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&s.id&&l===null&&O.log(`Event processor "${s.id}" dropped event`),rc(l)?l.then(u=>this._notifyEventProcessors(t,u,r,i+1).then(o)).then(null,a):this._notifyEventProcessors(t,l,r,i+1).then(o).then(null,a)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?Ff(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function Kf(){return ic("globalEventProcessors",()=>[])}function xc(e){Kf().push(e)}const Qf=4,H0=100;class Jf{constructor(t,n=new bn,r=Qf){this._version=r,this._stack=[{scope:n}],t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){const n=this.getStackTop();n.client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){const t=bn.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(t){const n=this.pushScope();try{t(n)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:ar(),i=new Error("Sentry syntheticException");return this._withClient((o,a)=>{o.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},a)}),r}captureMessage(t,n,r){const i=this._lastEventId=r&&r.event_id?r.event_id:ar(),o=new Error(t);return this._withClient((a,s)=>{a.captureMessage(t,n,{originalException:t,syntheticException:o,...r,event_id:i},s)}),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:ar();return t.type||(this._lastEventId=r),this._withClient((i,o)=>{i.captureEvent(t,{...n,event_id:r},o)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:a=H0}=i.getOptions&&i.getOptions()||{};if(a<=0)return;const l={timestamp:na(),...t},u=o?Sf(()=>o(l,n)):l;u!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",u,n),r.addBreadcrumb(u,a))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,n){this.getScope().setTag(t,n)}setExtra(t,n){this.getScope().setExtra(t,n)}setContext(t,n){this.getScope().setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();r&&t(n)}run(t){const n=Xf(this);try{t(this)}finally{Xf(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){const r=this._callExtensionMethod("startTransaction",t,n);return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&!r&&console.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
|
|
48
|
+
`),typeof l=="string"||l instanceof Uint8Array)o(l);else{let u;try{u=JSON.stringify(l)}catch{u=JSON.stringify(en(l))}o(u)}}return typeof i=="string"?i:ek(i)}function ek(e){const t=e.reduce((i,o)=>i+o.length,0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}function tk(e,t){const n=typeof e.data=="string"?Pc(e.data,t):e.data;return[yc({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const nk={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor"};function tf(e){return nk[e]}function nf(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function rk(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&{dsn:_i(r)},...i&&{trace:yc({...i})}}}function ik(e,t,n){const r=[{type:"client_report"},{timestamp:n||la(),discarded_events:e}];return Ii(t?{dsn:t}:{},[r])}const ok=60*1e3;function ak(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?ok:r-t}function sk(e,t){return e[t]||e.all||0}function lk(e,t,n=Date.now()){return sk(e,t)>n}function ck(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},o=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(o)for(const s of o.trim().split(",")){const[l,u]=s.split(":",2),p=parseInt(l,10),d=(isNaN(p)?60:p)*1e3;if(!u)i.all=r+d;else for(const m of u.split(";"))i[m]=r+d}else a?i.all=r+ak(a,r):t===429&&(i.all=r+60*1e3);return i}const rf="production";function uk(e){const t=Zm(),n={sid:cr(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>pk(n)};return e&&ur(n,e),n}function ur(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Zm(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:cr()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function dk(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),ur(e,n)}function pk(e){return yc({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const mk=100;class xn{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(t){const n=new xn;return t&&(n._breadcrumbs=[...t._breadcrumbs],n._tags={...t._tags},n._extra={...t._extra},n._contexts={...t._contexts},n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=[...t._eventProcessors],n._requestSession=t._requestSession,n._attachments=[...t._attachments],n._sdkProcessingMetadata={...t._sdkProcessingMetadata}),n}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&ur(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){const n=t(this);return n instanceof xn?n:this}return t instanceof xn?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):sr(t)&&(t=t,this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,n){const r=typeof n=="number"?n:mk;if(r<=0)return this;const i={timestamp:la(),...t};return this._breadcrumbs=[...this._breadcrumbs,i].slice(-r),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,n={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const r=this._span.transaction;if(r){t.sdkProcessingMetadata={dynamicSamplingContext:r.getDynamicSamplingContext(),...t.sdkProcessingMetadata};const i=r.name;i&&(t.tags={transaction:i,...t.tags})}}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...of(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,n,r,i=0){return new xe((o,a)=>{const s=t[i];if(n===null||typeof s!="function")o(n);else{const l=s({...n},r);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&s.id&&l===null&&I.log(`Event processor "${s.id}" dropped event`),pc(l)?l.then(u=>this._notifyEventProcessors(t,u,r,i+1).then(o)).then(null,a):this._notifyEventProcessors(t,l,r,i+1).then(o).then(null,a)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?Km(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function of(){return mc("globalEventProcessors",()=>[])}function jc(e){of().push(e)}const af=4,fk=100;class sf{constructor(t,n=new xn,r=af){this._version=r,this._stack=[{scope:n}],t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){const n=this.getStackTop();n.client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){const t=xn.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(t){const n=this.pushScope();try{t(n)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:cr(),i=new Error("Sentry syntheticException");return this._withClient((o,a)=>{o.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},a)}),r}captureMessage(t,n,r){const i=this._lastEventId=r&&r.event_id?r.event_id:cr(),o=new Error(t);return this._withClient((a,s)=>{a.captureMessage(t,n,{originalException:t,syntheticException:o,...r,event_id:i},s)}),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:cr();return t.type||(this._lastEventId=r),this._withClient((i,o)=>{i.captureEvent(t,{...n,event_id:r},o)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:a=fk}=i.getOptions&&i.getOptions()||{};if(a<=0)return;const l={timestamp:la(),...t},u=o?Tm(()=>o(l,n)):l;u!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",u,n),r.addBreadcrumb(u,a))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,n){this.getScope().setTag(t,n)}setExtra(t,n){this.getScope().setExtra(t,n)}setContext(t,n){this.getScope().setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();r&&t(n)}run(t){const n=lf(this);try{t(this)}finally{lf(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){const r=this._callExtensionMethod("startTransaction",t,n);return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&!r&&console.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
|
|
49
49
|
Sentry.addTracingExtensions();
|
|
50
50
|
Sentry.init({...});
|
|
51
|
-
`),r}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const n=this.getStackTop().scope,r=n.getSession();r&&B0(r),this._sendSessionUpdate(),n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:o=Vf}=r&&r.getOptions()||{},{userAgent:a}=ze.navigator||{},s=F0({release:i,environment:o,user:n.getUser(),...a&&{userAgent:a},...t}),l=n.getSession&&n.getSession();return l&&l.status==="ok"&&sr(l,{status:"exited"}),this.endSession(),n.setSession(s),s}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return!!(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop(),r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}_withClient(t){const{scope:n,client:r}=this.getStackTop();r&&t(r,n)}_callExtensionMethod(t,...n){const i=ra().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function ra(){return ze.__SENTRY__=ze.__SENTRY__||{extensions:{},hub:void 0},ze}function Xf(e){const t=ra(),n=kc(t);return Zf(t,e),n}function ee(){const e=ra();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return G0(e)}function G0(e=ra()){return(!q0(e)||kc(e).isOlderThan(Qf))&&Zf(e,new Jf),kc(e)}function q0(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function kc(e){return ic("hub",()=>new Jf,e)}function Zf(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function eh(e,t){return ee().captureException(e,{captureContext:t})}function th(e){ee().withScope(e)}const W0="7";function nh(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function V0(e){return`${nh(e)}${e.projectId}/envelope/`}function K0(e,t){return Qv({sentry_key:e.publicKey,sentry_version:W0,...t&&{sentry_client:`${t.name}/${t.version}`}})}function Q0(e,t={}){const n=typeof t=="string"?t:t.tunnel,r=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return n||`${V0(e)}?${K0(e,r)}`}function J0(e,t){const n=_f(e),r=`${nh(n)}embed/error-page/`;let i=`dsn=${_i(n)}`;for(const o in t)if(o!=="dsn")if(o==="user"){const a=t.user;if(!a)continue;a.name&&(i+=`&name=${encodeURIComponent(a.name)}`),a.email&&(i+=`&email=${encodeURIComponent(a.email)}`)}else i+=`&${encodeURIComponent(o)}=${encodeURIComponent(t[o])}`;return`${r}?${i}`}function X0(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function Z0(e,t,n,r){const i=Wf(n),o={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&{dsn:_i(t)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e];return Pi(o,[a])}function eb(e,t,n,r){const i=Wf(n),o=e.type&&e.type!=="replay_event"?e.type:"event";X0(e,n&&n.sdk);const a=D0(e,i,r,t);return delete e.sdkProcessingMetadata,Pi(a,[[{type:o},e]])}const rh=[];function tb(e){const t={};return e.forEach(n=>{const{name:r}=n,i=t[r];i&&!i.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.keys(t).map(n=>t[n])}function nb(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(a=>{a.isDefaultInstance=!0});let r;Array.isArray(n)?r=[...t,...n]:typeof n=="function"?r=Ff(n(t)):r=t;const i=tb(r),o=ib(i,a=>a.name==="Debug");if(o!==-1){const[a]=i.splice(o,1);i.push(a)}return i}function rb(e){const t={};return e.forEach(n=>{n&&ih(n,t)}),t}function ih(e,t){t[e.name]=e,rh.indexOf(e.name)===-1&&(e.setupOnce(xc,ee),rh.push(e.name),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.log(`Integration installed: ${e.name}`))}function ib(e,t){for(let n=0;n<e.length;n++)if(t(e[n])===!0)return n;return-1}function ob(e,t,n,r){const{normalizeDepth:i=3,normalizeMaxBreadth:o=1e3}=e,a={...t,event_id:t.event_id||n.event_id||ar(),timestamp:t.timestamp||na()},s=n.integrations||e.integrations.map(p=>p.name);ab(a,e),lb(a,s),t.type===void 0&&sb(a,e.stackParser);let l=r;n.captureContext&&(l=bn.clone(l).update(n.captureContext));let u=vn(a);if(l){if(l.getAttachments){const p=[...n.attachments||[],...l.getAttachments()];p.length&&(n.attachments=p)}u=l.applyToEvent(a,n)}return u.then(p=>typeof i=="number"&&i>0?cb(p,i,o):p)}function ab(e,t){const{environment:n,release:r,dist:i,maxValueLength:o=250}=t;"environment"in e||(e.environment="environment"in t?n:Vf),e.release===void 0&&r!==void 0&&(e.release=r),e.dist===void 0&&i!==void 0&&(e.dist=i),e.message&&(e.message=Si(e.message,o));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=Si(a.value,o));const s=e.request;s&&s.url&&(s.url=Si(s.url,o))}const oh=new WeakMap;function sb(e,t){const n=ze._sentryDebugIds;if(!n)return;let r;const i=oh.get(t);i?r=i:(r=new Map,oh.set(t,r));const o=Object.keys(n).reduce((l,u)=>{let p;const d=r.get(u);d?p=d:(p=t(u),r.set(u,p));for(let f=p.length-1;f>=0;f--){const y=p[f];if(y.filename){l[y.filename]=n[u];break}}return l},{}),a=new Set;try{e.exception.values.forEach(l=>{l.stacktrace.frames.forEach(u=>{u.filename&&a.add(u.filename)})})}catch{}e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const s=e.debug_meta.images;a.forEach(l=>{o[l]&&s.push({type:"sourcemap",code_file:l,debug_id:o[l]})})}function lb(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function cb(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(i=>({...i,...i.data&&{data:Jt(i.data,t,n)}}))},...e.user&&{user:Jt(e.user,t,n)},...e.contexts&&{contexts:Jt(e.contexts,t,n)},...e.extra&&{extra:Jt(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Jt(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(i=>(i.data&&(i.data=Jt(i.data,t,n)),i))),r}const ah="Not capturing exception because it's already been captured.";class xn{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}__init5(){this._hooks={}}constructor(t){if(xn.prototype.__init.call(this),xn.prototype.__init2.call(this),xn.prototype.__init3.call(this),xn.prototype.__init4.call(this),xn.prototype.__init5.call(this),this._options=t,t.dsn){this._dsn=_f(t.dsn);const n=Q0(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.warn("No DSN provided, client will not do anything.")}captureException(t,n,r){if(zf(t)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.log(ah);return}let i=n&&n.event_id;return this._process(this.eventFromException(t,n).then(o=>this._captureEvent(o,n,r)).then(o=>{i=o})),i}captureMessage(t,n,r,i){let o=r&&r.event_id;const a=kf(t)?this.eventFromMessage(String(t),n,r):this.eventFromException(t,r);return this._process(a.then(s=>this._captureEvent(s,r,i)).then(s=>{o=s})),o}captureEvent(t,n,r){if(n&&n.originalException&&zf(n.originalException)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.log(ah);return}let i=n&&n.event_id;return this._process(this._captureEvent(t,n,r).then(o=>{i=o})),i}captureSession(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.warn("SDK not enabled, will not capture session.");return}typeof t.release!="string"?(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),sr(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;return n?this._isClientDoneProcessing(t).then(r=>n.flush(t).then(i=>r&&i)):vn(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,n))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=rb(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){ih(t,this._integrations)}sendEvent(t,n={}){if(this._dsn){let r=eb(t,this._dsn,this._options._metadata,this._options.tunnel);for(const o of n.attachments||[])r=P0(r,T0(o,this._options.transportOptions&&this._options.transportOptions.textEncoder));const i=this._sendEnvelope(r);i&&i.then(o=>this.emit("afterSendEvent",t,o),null)}}sendSession(t){if(this._dsn){const n=Z0(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}}recordDroppedEvent(t,n,r){if(this._options.sendClientReports){const i=`${t}:${n}`;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.log(`Adding outcome: "${i}"`),this._outcomes[i]=this._outcomes[i]+1||1}}on(t,n){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(n)}emit(t,...n){this._hooks[t]&&this._hooks[t].forEach(r=>r(...n))}_updateSessionFromEvent(t,n){let r=!1,i=!1;const o=n.exception&&n.exception.values;if(o){i=!0;for(const l of o){const u=l.mechanism;if(u&&u.handled===!1){r=!0;break}}}const a=t.status==="ok";(a&&t.errors===0||a&&r)&&(sr(t,{...r&&{status:"crashed"},errors:t.errors||Number(i||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new ke(n=>{let r=0;const i=1,o=setInterval(()=>{this._numProcessing==0?(clearInterval(o),n(!0)):(r+=i,t&&r>=t&&(clearInterval(o),n(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._dsn!==void 0}_prepareEvent(t,n,r){const i=this.getOptions(),o=Object.keys(this._integrations);return!n.integrations&&o.length>0&&(n.integrations=o),ob(i,t,n,r)}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(i=>i.event_id,i=>{if(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__){const o=i;o.logLevel==="log"?O.log(o.message):O.warn(o)}})}_processEvent(t,n,r){const i=this.getOptions(),{sampleRate:o}=i;if(!this._isEnabled())return ta(new ye("SDK not enabled, will not capture event.","log"));const a=lh(t),s=sh(t),l=t.type||"error",u=`before send for type \`${l}\``;if(s&&typeof o=="number"&&Math.random()>o)return this.recordDroppedEvent("sample_rate","error",t),ta(new ye(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));const p=l==="replay_event"?"replay":l;return this._prepareEvent(t,n,r).then(d=>{if(d===null)throw this.recordDroppedEvent("event_processor",p,t),new ye("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return d;const y=db(i,d,n);return ub(y,u)}).then(d=>{if(d===null)throw this.recordDroppedEvent("before_send",p,t),new ye(`${u} returned \`null\`, will not send event.`,"log");const f=r&&r.getSession();!a&&f&&this._updateSessionFromEvent(f,d);const y=d.transaction_info;if(a&&y&&d.transaction!==t.transaction){const v="custom";d.transaction_info={...y,source:v}}return this.sendEvent(d,n),d}).then(null,d=>{throw d instanceof ye?d:(this.captureException(d,{data:{__sentry__:!0},originalException:d}),new ye(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
52
|
-
Reason: ${d}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_sendEnvelope(t){if(this._transport&&this._dsn)return this.emit("beforeEnvelope",t),this._transport.send(t).then(null,n=>{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&
|
|
53
|
-
Event: ${
|
|
54
|
-
Event: ${
|
|
55
|
-
Event: ${
|
|
56
|
-
Event: ${
|
|
57
|
-
Url: ${
|
|
58
|
-
Event: ${
|
|
59
|
-
Url: ${oa(e)}`),!0)}function yb(e,t){return e.type||!t||!t.length?!1:kb(e).some(n=>Vo(n,t))}function vb(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?Vo(n,t):!1}function bb(e,t){if(!t||!t.length)return!1;const n=oa(e);return n?Vo(n,t):!1}function xb(e,t){if(!t||!t.length)return!0;const n=oa(e);return n?Vo(n,t):!0}function kb(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.error(`Cannot extract message for event ${Qt(e)}`),[]}return[]}function wb(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function _b(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function oa(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?_b(t):null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.error(`Cannot extract url for event ${Qt(e)}`),null}}const M=ze;let wc=0;function ph(){return wc>0}function Sb(){wc++,setTimeout(()=>{wc--})}function cr(e,t={},n){if(typeof e!="function")return e;try{const i=e.__sentry_wrapped__;if(i)return i;if(sc(e))return e}catch{return e}const r=function(){const i=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);const o=i.map(a=>cr(a,t));return e.apply(this,o)}catch(o){throw Sb(),th(a=>{a.addEventProcessor(s=>(t.mechanism&&(hc(s,void 0,void 0),ji(s,t.mechanism)),s.extra={...s.extra,arguments:i},s)),eh(o)}),o}};try{for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}catch{}jf(r,e),ac(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function fh(e,t){const n=Sc(e,t),r={type:t&&t.name,value:Pb(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function Eb(e,t,n,r){const o=ee().getClient(),a=o&&o.getOptions().normalizeDepth,s={exception:{values:[{type:nc(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${Jv(t)}`}]},extra:{__serialized__:Bf(t,a)}};if(n){const l=Sc(e,n);l.length&&(s.exception.values[0].stacktrace={frames:l})}return s}function _c(e,t){return{exception:{values:[fh(e,t)]}}}function Sc(e,t){const n=t.stacktrace||t.stack||"",r=jb(t);try{return e(n,r)}catch{}return[]}const Cb=/Minified React error #\d+;/i;function jb(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(Cb.test(e.message))return 1}return 0}function Pb(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function Nb(e,t,n,r){const i=n&&n.syntheticException||void 0,o=Ec(e,t,i,r);return ji(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),vn(o)}function $b(e,t,n="info",r,i){const o=r&&r.syntheticException||void 0,a=Cc(e,t,o,i);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),vn(a)}function Ec(e,t,n,r,i){let o;if(bf(t)&&t.error)return _c(e,t.error);if(xf(t)||Av(t)){const a=t;if("stack"in t)o=_c(e,t);else{const s=a.name||(xf(a)?"DOMError":"DOMException"),l=a.message?`${s}: ${a.message}`:s;o=Cc(e,l,n,r),hc(o,l)}return"code"in a&&(o.tags={...o.tags,"DOMException.code":`${a.code}`}),o}return tc(t)?_c(e,t):ir(t)||nc(t)?(o=Eb(e,t,n,i),ji(o,{synthetic:!0}),o):(o=Cc(e,t,n,r),hc(o,`${t}`,void 0),ji(o,{synthetic:!0}),o)}function Cc(e,t,n,r){const i={message:t};if(r&&n){const o=Sc(e,n);o.length&&(i.exception={values:[{value:t,stacktrace:{frames:o}}]})}return i}const aa=1024,hh="Breadcrumbs";class $i{static __initStatic(){this.id=hh}__init(){this.name=$i.id}constructor(t){$i.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&Kt("console",Rb),this.options.dom&&Kt("dom",Tb(this.options.dom)),this.options.xhr&&Kt("xhr",Db),this.options.fetch&&Kt("fetch",Ob),this.options.history&&Kt("history",Ab)}addSentryBreadcrumb(t){this.options.sentry&&ee().addBreadcrumb({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:Qt(t)},{event:t})}}$i.__initStatic();function Tb(e){function t(n){let r,i=typeof e=="object"?e.serializeAttribute:void 0,o=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;o&&o>aa&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.warn(`\`dom.maxStringLength\` cannot exceed ${aa}, but a value of ${o} was configured. Sentry will use ${aa} instead.`),o=aa),typeof i=="string"&&(i=[i]);try{const a=n.event;r=Lb(a)?oc(a.target,{keyAttrs:i,maxStringLength:o}):oc(a,{keyAttrs:i,maxStringLength:o})}catch{r="<unknown>"}r.length!==0&&ee().addBreadcrumb({category:`ui.${n.name}`,message:r},{event:n.event,name:n.name,global:n.global})}return t}function Rb(e){for(let n=0;n<e.args.length;n++)if(e.args[n]==="ref=Ref<"){e.args[n+1]="viewRef";break}const t={category:"console",data:{arguments:e.args,logger:"console"},level:E0(e.level),message:Cf(e.args," ")};if(e.level==="assert")if(e.args[0]===!1)t.message=`Assertion failed: ${Cf(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);else return;ee().addBreadcrumb(t,{input:e.args,level:e.level})}function Db(e){const{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[Ei];if(!t||!n||!r)return;const{method:i,url:o,status_code:a,body:s}=r,l={method:i,url:o,status_code:a},u={xhr:e.xhr,input:s,startTimestamp:t,endTimestamp:n};ee().addBreadcrumb({category:"xhr",data:l,type:"http"},u)}function Ob(e){const{startTimestamp:t,endTimestamp:n}=e;if(n&&!(e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"))if(e.error){const r=e.fetchData,i={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n};ee().addBreadcrumb({category:"fetch",data:r,level:"error",type:"http"},i)}else{const r={...e.fetchData,status_code:e.response&&e.response.status},i={input:e.args,response:e.response,startTimestamp:t,endTimestamp:n};ee().addBreadcrumb({category:"fetch",data:r,type:"http"},i)}}function Ab(e){let t=e.from,n=e.to;const r=gc(M.location.href);let i=gc(t);const o=gc(n);i.path||(i=r),r.protocol===o.protocol&&r.host===o.host&&(n=o.relative),r.protocol===i.protocol&&r.host===i.host&&(t=i.relative),ee().addBreadcrumb({category:"navigation",data:{from:t,to:n}})}function Lb(e){return e&&!!e.target}function Mb(e,{metadata:t,tunnel:n,dsn:r}){const i={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:_i(r)}},o=Ib(e);return Pi(i,[o])}function Ib(e){return[{type:"user_report"},e]}class zb extends xn{constructor(t){const n=M.SENTRY_SDK_SOURCE||g0();t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${n}:@sentry/browser`,version:ia}],version:ia},super(t),t.sendClientReports&&M.document&&M.document.addEventListener("visibilitychange",()=>{M.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return Nb(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return $b(this._options.stackParser,t,n,r,this._options.attachStacktrace)}sendEvent(t,n){const r=this.getIntegrationById(hh);r&&r.addSentryBreadcrumb&&r.addSentryBreadcrumb(t),super.sendEvent(t,n)}captureUserFeedback(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.warn("SDK not enabled, will not capture user feedback.");return}const n=Mb(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){const t=this._clearOutcomes();if(t.length===0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.log("Sending outcomes:",t);const n=O0(t,this._options.tunnel&&_i(this._dsn));this._sendEnvelope(n)}}let Ti;function Fb(){if(Ti)return Ti;if(pc(M.fetch))return Ti=M.fetch.bind(M);const e=M.document;let t=M.fetch;if(e&&typeof e.createElement=="function")try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return Ti=t.bind(M)}function Bb(){Ti=void 0}function Ub(e,t=Fb()){let n=0,r=0;function i(o){const a=o.body.length;n+=a,r++;const s={body:o.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{return t(e.url,s).then(l=>(n-=a,r--,{statusCode:l.status,headers:{"x-sentry-rate-limits":l.headers.get("X-Sentry-Rate-Limits"),"retry-after":l.headers.get("Retry-After")}}))}catch(l){return Bb(),n-=a,r--,ta(l)}}return ch(e,i)}const Yb=4;function Hb(e){function t(n){return new ke((r,i)=>{const o=new XMLHttpRequest;o.onerror=i,o.onreadystatechange=()=>{o.readyState===Yb&&r({statusCode:o.status,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")}})},o.open("POST",e.url);for(const a in e.headers)Object.prototype.hasOwnProperty.call(e.headers,a)&&o.setRequestHeader(a,e.headers[a]);o.send(n.body)})}return ch(e,t)}const sa="?",Gb=30,qb=40,Wb=50;function jc(e,t,n,r){const i={filename:e,function:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}const Vb=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Kb=/\((\S*)(?::(\d+))(?::(\d+))\)/,Qb=[Gb,e=>{const t=Vb.exec(e);if(t){if(t[2]&&t[2].indexOf("eval")===0){const o=Kb.exec(t[2]);o&&(t[2]=o[1],t[3]=o[2],t[4]=o[3])}const[r,i]=mh(t[1]||sa,t[2]);return jc(i,r,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],Jb=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Xb=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Zb=[Wb,e=>{const t=Jb.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const o=Xb.exec(t[3]);o&&(t[1]=t[1]||"eval",t[3]=o[1],t[4]=o[2],t[5]="")}let r=t[3],i=t[1]||sa;return[i,r]=mh(i,r),jc(r,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],e1=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,t1=Df(...[Qb,Zb,[qb,e=>{const t=e1.exec(e);return t?jc(t[2],t[1]||sa,+t[3],t[4]?+t[4]:void 0):void 0}]]),mh=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:sa,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};class Xt{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=Xt.id}__init2(){this._installFunc={onerror:n1,onunhandledrejection:r1}}constructor(t){Xt.prototype.__init.call(this),Xt.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const n in t){const r=this._installFunc[n];r&&t[n]&&(a1(n),r(),this._installFunc[n]=void 0)}}}Xt.__initStatic();function n1(){Kt("error",e=>{const[t,n,r]=vh();if(!t.getIntegration(Xt))return;const{msg:i,url:o,line:a,column:s,error:l}=e;if(ph()||l&&l.__sentry_own_request__)return;const u=l===void 0&&yn(i)?o1(i,o,a,s):gh(Ec(n,l||i,void 0,r,!1),o,a,s);u.level="error",yh(t,l,u,"onerror")})}function r1(){Kt("unhandledrejection",e=>{const[t,n,r]=vh();if(!t.getIntegration(Xt))return;let i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch{}if(ph()||i&&i.__sentry_own_request__)return!0;const o=kf(i)?i1(i):Ec(n,i,void 0,r,!0);o.level="error",yh(t,i,o,"onunhandledrejection")})}function i1(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function o1(e,t,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let o=bf(e)?e.message:e,a="Error";const s=o.match(i);return s&&(a=s[1],o=s[2]),gh({exception:{values:[{type:a,value:o}]}},t,n,r)}function gh(e,t,n,r){const i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],u=isNaN(parseInt(r,10))?void 0:r,p=isNaN(parseInt(n,10))?void 0:n,d=yn(t)&&t.length>0?t:Yv();return l.length===0&&l.push({colno:u,filename:d,function:"?",in_app:!0,lineno:p}),e}function a1(e){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.log(`Global Handler attached: ${e}`)}function yh(e,t,n,r){ji(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function vh(){const e=ee(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}const s1=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class Ri{static __initStatic(){this.id="TryCatch"}__init(){this.name=Ri.id}constructor(t){Ri.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&ue(M,"setTimeout",bh),this._options.setInterval&&ue(M,"setInterval",bh),this._options.requestAnimationFrame&&ue(M,"requestAnimationFrame",l1),this._options.XMLHttpRequest&&"XMLHttpRequest"in M&&ue(XMLHttpRequest.prototype,"send",c1);const t=this._options.eventTarget;t&&(Array.isArray(t)?t:s1).forEach(u1)}}Ri.__initStatic();function bh(e){return function(...t){const n=t[0];return t[0]=cr(n,{mechanism:{data:{function:Vt(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function l1(e){return function(t){return e.apply(this,[cr(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Vt(e)},handled:!0,type:"instrument"}})])}}function c1(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in n&&typeof n[i]=="function"&&ue(n,i,function(o){const a={mechanism:{data:{function:i,handler:Vt(o)},handled:!0,type:"instrument"}},s=sc(o);return s&&(a.mechanism.data.handler=Vt(s)),cr(o,a)})}),e.apply(this,t)}}function u1(e){const t=M,n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(ue(n,"addEventListener",function(r){return function(i,o,a){try{typeof o.handleEvent=="function"&&(o.handleEvent=cr(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Vt(o),target:e},handled:!0,type:"instrument"}}))}catch{}return r.apply(this,[i,cr(o,{mechanism:{data:{function:"addEventListener",handler:Vt(o),target:e},handled:!0,type:"instrument"}}),a])}}),ue(n,"removeEventListener",function(r){return function(i,o,a){const s=o;try{const l=s&&s.__sentry_wrapped__;l&&r.call(this,i,l,a)}catch{}return r.call(this,i,s,a)}}))}const d1="cause",p1=5;class ur{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=ur.id}constructor(t={}){ur.prototype.__init.call(this),this._key=t.key||d1,this._limit=t.limit||p1}setupOnce(){const t=ee().getClient();t&&xc((n,r)=>{const i=ee().getIntegration(ur);return i?f1(t.getOptions().stackParser,i._key,i._limit,n,r):n})}}ur.__initStatic();function f1(e,t,n,r,i){if(!r.exception||!r.exception.values||!i||!or(i.originalException,Error))return r;const o=xh(e,n,i.originalException,t);return r.exception.values=[...o,...r.exception.values],r}function xh(e,t,n,r,i=[]){if(!or(n[r],Error)||i.length+1>=t)return i;const o=fh(e,n[r]);return xh(e,t,n[r],r,[o,...i])}class dr{constructor(){dr.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=dr.id}setupOnce(){xc(t=>{if(ee().getIntegration(dr)){if(!M.navigator&&!M.location&&!M.document)return t;const n=t.request&&t.request.url||M.location&&M.location.href,{referrer:r}=M.document||{},{userAgent:i}=M.navigator||{},o={...t.request&&t.request.headers,...r&&{Referer:r},...i&&{"User-Agent":i}},a={...t.request,...n&&{url:n},headers:o};return{...t,request:a}}return t})}}dr.__initStatic();class pr{constructor(){pr.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=pr.id}setupOnce(t,n){const r=i=>{if(i.type)return i;const o=n().getIntegration(pr);if(o){try{if(h1(i,o._previousEvent))return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return o._previousEvent=i}return o._previousEvent=i}return i};r.id=this.name,t(r)}}pr.__initStatic();function h1(e,t){return t?!!(m1(e,t)||g1(e,t)):!1}function m1(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!wh(e,t)||!kh(e,t))}function g1(e,t){const n=_h(t),r=_h(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!wh(e,t)||!kh(e,t))}function kh(e,t){let n=Sh(e),r=Sh(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let i=0;i<r.length;i++){const o=r[i],a=n[i];if(o.filename!==a.filename||o.lineno!==a.lineno||o.colno!==a.colno||o.function!==a.function)return!1}return!0}function wh(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function _h(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Sh(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch{return}}const y1=[new lr,new Ni,new Ri,new $i,new Xt,new ur,new pr,new dr];function v1(e={}){e.defaultIntegrations===void 0&&(e.defaultIntegrations=y1),e.release===void 0&&(typeof __SENTRY_RELEASE__=="string"&&(e.release=__SENTRY_RELEASE__),M.SENTRY_RELEASE&&M.SENTRY_RELEASE.id&&(e.release=M.SENTRY_RELEASE.id)),e.autoSessionTracking===void 0&&(e.autoSessionTracking=!0),e.sendClientReports===void 0&&(e.sendClientReports=!0);const t={...e,stackParser:Xv(e.stackParser||t1),integrations:nb(e),transport:e.transport||(Of()?Ub:Hb)};pb(zb,t),e.autoSessionTracking&&b1()}function Eh(e={},t=ee()){if(!M.document){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.error("Global document not defined in showReportDialog call");return}const{client:n,scope:r}=t.getStackTop(),i=e.dsn||n&&n.getDsn();if(!i){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.error("DSN not configured for showReportDialog call");return}r&&(e.user={...r.getUser(),...e.user}),e.eventId||(e.eventId=t.lastEventId());const o=M.document.createElement("script");o.async=!0,o.src=J0(i,e),e.onLoad&&(o.onload=e.onLoad);const a=M.document.head||M.document.body;a?a.appendChild(o):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.error("Not injecting report dialog. No injection point found in HTML")}function Ch(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function b1(){if(typeof M.document>"u"){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&O.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}const e=ee();e.captureSession&&(Ch(e),Kt("history",({from:t,to:n})=>{t===void 0||t===n||Ch(ee())}))}function x1(e){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:ia}],version:ia},v1(e)}var jh={exports:{}},I={};/** @license React v16.13.1
|
|
51
|
+
`),r}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const n=this.getStackTop().scope,r=n.getSession();r&&dk(r),this._sendSessionUpdate(),n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:o=rf}=r&&r.getOptions()||{},{userAgent:a}=ze.navigator||{},s=uk({release:i,environment:o,user:n.getUser(),...a&&{userAgent:a},...t}),l=n.getSession&&n.getSession();return l&&l.status==="ok"&&ur(l,{status:"exited"}),this.endSession(),n.setSession(s),s}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return!!(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop(),r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}_withClient(t){const{scope:n,client:r}=this.getStackTop();r&&t(r,n)}_callExtensionMethod(t,...n){const i=ca().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function ca(){return ze.__SENTRY__=ze.__SENTRY__||{extensions:{},hub:void 0},ze}function lf(e){const t=ca(),n=Nc(t);return cf(t,e),n}function ee(){const e=ca();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return hk(e)}function hk(e=ca()){return(!gk(e)||Nc(e).isOlderThan(af))&&cf(e,new sf),Nc(e)}function gk(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function Nc(e){return mc("hub",()=>new sf,e)}function cf(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function uf(e,t){return ee().captureException(e,{captureContext:t})}function df(e){ee().withScope(e)}const yk="7";function pf(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function bk(e){return`${pf(e)}${e.projectId}/envelope/`}function vk(e,t){return kv({sentry_key:e.publicKey,sentry_version:yk,...t&&{sentry_client:`${t.name}/${t.version}`}})}function kk(e,t={}){const n=typeof t=="string"?t:t.tunnel,r=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return n||`${bk(e)}?${vk(e,r)}`}function wk(e,t){const n=Am(e);if(!n)return"";const r=`${pf(n)}embed/error-page/`;let i=`dsn=${_i(n)}`;for(const o in t)if(o!=="dsn")if(o==="user"){const a=t.user;if(!a)continue;a.name&&(i+=`&name=${encodeURIComponent(a.name)}`),a.email&&(i+=`&email=${encodeURIComponent(a.email)}`)}else i+=`&${encodeURIComponent(o)}=${encodeURIComponent(t[o])}`;return`${r}?${i}`}function xk(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function Sk(e,t,n,r){const i=nf(n),o={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&{dsn:_i(t)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Ii(o,[a])}function Ek(e,t,n,r){const i=nf(n),o=e.type&&e.type!=="replay_event"?e.type:"event";xk(e,n&&n.sdk);const a=rk(e,i,r,t);return delete e.sdkProcessingMetadata,Ii(a,[[{type:o},e]])}const mf=[];function Ck(e){const t={};return e.forEach(n=>{const{name:r}=n,i=t[r];i&&!i.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.keys(t).map(n=>t[n])}function $k(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(a=>{a.isDefaultInstance=!0});let r;Array.isArray(n)?r=[...t,...n]:typeof n=="function"?r=Km(n(t)):r=t;const i=Ck(r),o=Pk(i,a=>a.name==="Debug");if(o!==-1){const[a]=i.splice(o,1);i.push(a)}return i}function _k(e){const t={};return e.forEach(n=>{n&&ff(n,t)}),t}function ff(e,t){t[e.name]=e,mf.indexOf(e.name)===-1&&(e.setupOnce(jc,ee),mf.push(e.name),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.log(`Integration installed: ${e.name}`))}function Pk(e,t){for(let n=0;n<e.length;n++)if(t(e[n])===!0)return n;return-1}function jk(e,t,n,r){const{normalizeDepth:i=3,normalizeMaxBreadth:o=1e3}=e,a={...t,event_id:t.event_id||n.event_id||cr(),timestamp:t.timestamp||la()},s=n.integrations||e.integrations.map(p=>p.name);Nk(a,e),Ik(a,s),t.type===void 0&&Tk(a,e.stackParser);let l=r;n.captureContext&&(l=xn.clone(l).update(n.captureContext));let u=wn(a);if(l){if(l.getAttachments){const p=[...n.attachments||[],...l.getAttachments()];p.length&&(n.attachments=p)}u=l.applyToEvent(a,n)}return u.then(p=>typeof i=="number"&&i>0?Dk(p,i,o):p)}function Nk(e,t){const{environment:n,release:r,dist:i,maxValueLength:o=250}=t;"environment"in e||(e.environment="environment"in t?n:rf),e.release===void 0&&r!==void 0&&(e.release=r),e.dist===void 0&&i!==void 0&&(e.dist=i),e.message&&(e.message=Pi(e.message,o));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=Pi(a.value,o));const s=e.request;s&&s.url&&(s.url=Pi(s.url,o))}const hf=new WeakMap;function Tk(e,t){const n=ze._sentryDebugIds;if(!n)return;let r;const i=hf.get(t);i?r=i:(r=new Map,hf.set(t,r));const o=Object.keys(n).reduce((l,u)=>{let p;const d=r.get(u);d?p=d:(p=t(u),r.set(u,p));for(let m=p.length-1;m>=0;m--){const g=p[m];if(g.filename){l[g.filename]=n[u];break}}return l},{}),a=new Set;try{e.exception.values.forEach(l=>{l.stacktrace.frames.forEach(u=>{u.filename&&a.add(u.filename)})})}catch{}e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const s=e.debug_meta.images;a.forEach(l=>{o[l]&&s.push({type:"sourcemap",code_file:l,debug_id:o[l]})})}function Ik(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function Dk(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(i=>({...i,...i.data&&{data:en(i.data,t,n)}}))},...e.user&&{user:en(e.user,t,n)},...e.contexts&&{contexts:en(e.contexts,t,n)},...e.extra&&{extra:en(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=en(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(i=>(i.data&&(i.data=en(i.data,t,n)),i))),r}const gf="Not capturing exception because it's already been captured.";class Sn{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}__init5(){this._hooks={}}constructor(t){if(Sn.prototype.__init.call(this),Sn.prototype.__init2.call(this),Sn.prototype.__init3.call(this),Sn.prototype.__init4.call(this),Sn.prototype.__init5.call(this),this._options=t,t.dsn?this._dsn=Am(t.dsn):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn("No DSN provided, client will not do anything."),this._dsn){const n=kk(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}}captureException(t,n,r){if(qm(t)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.log(gf);return}let i=n&&n.event_id;return this._process(this.eventFromException(t,n).then(o=>this._captureEvent(o,n,r)).then(o=>{i=o})),i}captureMessage(t,n,r,i){let o=r&&r.event_id;const a=Nm(t)?this.eventFromMessage(String(t),n,r):this.eventFromException(t,r);return this._process(a.then(s=>this._captureEvent(s,r,i)).then(s=>{o=s})),o}captureEvent(t,n,r){if(n&&n.originalException&&qm(n.originalException)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.log(gf);return}let i=n&&n.event_id;return this._process(this._captureEvent(t,n,r).then(o=>{i=o})),i}captureSession(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn("SDK not enabled, will not capture session.");return}typeof t.release!="string"?(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),ur(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;return n?this._isClientDoneProcessing(t).then(r=>n.flush(t).then(i=>r&&i)):wn(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,n))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=_k(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){ff(t,this._integrations)}sendEvent(t,n={}){if(this._dsn){let r=Ek(t,this._dsn,this._options._metadata,this._options.tunnel);for(const o of n.attachments||[])r=Xv(r,tk(o,this._options.transportOptions&&this._options.transportOptions.textEncoder));const i=this._sendEnvelope(r);i&&i.then(o=>this.emit("afterSendEvent",t,o),null)}}sendSession(t){if(this._dsn){const n=Sk(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}}recordDroppedEvent(t,n,r){if(this._options.sendClientReports){const i=`${t}:${n}`;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.log(`Adding outcome: "${i}"`),this._outcomes[i]=this._outcomes[i]+1||1}}on(t,n){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(n)}emit(t,...n){this._hooks[t]&&this._hooks[t].forEach(r=>r(...n))}_updateSessionFromEvent(t,n){let r=!1,i=!1;const o=n.exception&&n.exception.values;if(o){i=!0;for(const l of o){const u=l.mechanism;if(u&&u.handled===!1){r=!0;break}}}const a=t.status==="ok";(a&&t.errors===0||a&&r)&&(ur(t,{...r&&{status:"crashed"},errors:t.errors||Number(i||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new xe(n=>{let r=0;const i=1,o=setInterval(()=>{this._numProcessing==0?(clearInterval(o),n(!0)):(r+=i,t&&r>=t&&(clearInterval(o),n(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._dsn!==void 0}_prepareEvent(t,n,r){const i=this.getOptions(),o=Object.keys(this._integrations);return!n.integrations&&o.length>0&&(n.integrations=o),jk(i,t,n,r)}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(i=>i.event_id,i=>{if(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__){const o=i;o.logLevel==="log"?I.log(o.message):I.warn(o)}})}_processEvent(t,n,r){const i=this.getOptions(),{sampleRate:o}=i;if(!this._isEnabled())return sa(new qe("SDK not enabled, will not capture event.","log"));const a=bf(t),s=yf(t),l=t.type||"error",u=`before send for type \`${l}\``;if(s&&typeof o=="number"&&Math.random()>o)return this.recordDroppedEvent("sample_rate","error",t),sa(new qe(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));const p=l==="replay_event"?"replay":l;return this._prepareEvent(t,n,r).then(d=>{if(d===null)throw this.recordDroppedEvent("event_processor",p,t),new qe("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return d;const g=Mk(i,d,n);return Ak(g,u)}).then(d=>{if(d===null)throw this.recordDroppedEvent("before_send",p,t),new qe(`${u} returned \`null\`, will not send event.`,"log");const m=r&&r.getSession();!a&&m&&this._updateSessionFromEvent(m,d);const g=d.transaction_info;if(a&&g&&d.transaction!==t.transaction){const b="custom";d.transaction_info={...g,source:b}}return this.sendEvent(d,n),d}).then(null,d=>{throw d instanceof qe?d:(this.captureException(d,{data:{__sentry__:!0},originalException:d}),new qe(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
52
|
+
Reason: ${d}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_sendEnvelope(t){if(this._transport&&this._dsn)return this.emit("beforeEnvelope",t),this._transport.send(t).then(null,n=>{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.error("Error while sending event:",n)});(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map(n=>{const[r,i]=n.split(":");return{reason:r,category:i,quantity:t[n]}})}}function Ak(e,t){const n=`${t} must return \`null\` or a valid event.`;if(pc(e))return e.then(r=>{if(!sr(r)&&r!==null)throw new qe(n);return r},r=>{throw new qe(`${t} rejected with ${r}`)});if(!sr(e)&&e!==null)throw new qe(n);return e}function Mk(e,t,n){const{beforeSend:r,beforeSendTransaction:i}=e;return yf(t)&&r?r(t,n):bf(t)&&i?i(t,n):t}function yf(e){return e.type===void 0}function bf(e){return e.type==="transaction"}function Rk(e,t){t.debug===!0&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?I.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=ee();n.getScope().update(t.initialScope);const i=new e(t);n.bindClient(i)}const Ok=30;function vf(e,t,n=Vv(e.bufferSize||Ok)){let r={};const i=a=>n.drain(a);function o(a){const s=[];if(ef(a,(d,m)=>{const g=tf(m);if(lk(r,g)){const b=kf(d,m);e.recordDroppedEvent("ratelimit_backoff",g,b)}else s.push(d)}),s.length===0)return wn();const l=Ii(a[0],s),u=d=>{ef(l,(m,g)=>{const b=kf(m,g);e.recordDroppedEvent(d,tf(g),b)})},p=()=>t({body:Zv(l,e.textEncoder)}).then(d=>(d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),r=ck(r,d),d),d=>{throw u("network_error"),d});return n.add(p).then(d=>d,d=>{if(d instanceof qe)return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.error("Skipped sending event because buffer is full."),u("queue_overflow"),wn();throw d})}return o.__sentry__baseTransport__=!0,{send:o,flush:i}}function kf(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}const ua="7.54.0";let wf;class Di{constructor(){Di.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=Di.id}setupOnce(){wf=Function.prototype.toString;try{Function.prototype.toString=function(...t){const n=gc(this)||this;return wf.apply(n,t)}}catch{}}}Di.__initStatic();const Lk=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],zk=[/^.*healthcheck.*$/,/^.*healthy.*$/,/^.*live.*$/,/^.*ready.*$/,/^.*heartbeat.*$/,/^.*\/health$/,/^.*\/healthz$/];class dr{static __initStatic(){this.id="InboundFilters"}__init(){this.name=dr.id}constructor(t={}){this._options=t,dr.prototype.__init.call(this)}setupOnce(t,n){const r=i=>{const o=n();if(o){const a=o.getIntegration(dr);if(a){const s=o.getClient(),l=s?s.getOptions():{},u=Uk(a._options,l);return Yk(i,u)?null:i}}return i};r.id=this.name,t(r)}}dr.__initStatic();function Uk(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Lk],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:zk],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function Yk(e,t){return t.ignoreInternal&&Vk(e)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn(`Event dropped due to being internal Sentry Error.
|
|
53
|
+
Event: ${Zt(e)}`),!0):Fk(e,t.ignoreErrors)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
54
|
+
Event: ${Zt(e)}`),!0):Bk(e,t.ignoreTransactions)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
55
|
+
Event: ${Zt(e)}`),!0):Hk(e,t.denyUrls)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
56
|
+
Event: ${Zt(e)}.
|
|
57
|
+
Url: ${da(e)}`),!0):Wk(e,t.allowUrls)?!1:((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
58
|
+
Event: ${Zt(e)}.
|
|
59
|
+
Url: ${da(e)}`),!0)}function Fk(e,t){return e.type||!t||!t.length?!1:Gk(e).some(n=>ea(n,t))}function Bk(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?ea(n,t):!1}function Hk(e,t){if(!t||!t.length)return!1;const n=da(e);return n?ea(n,t):!1}function Wk(e,t){if(!t||!t.length)return!0;const n=da(e);return n?ea(n,t):!0}function Gk(e){if(e.message)return[e.message];if(e.exception){const{values:t}=e.exception;try{const{type:n="",value:r=""}=t&&t[t.length-1]||{};return[`${r}`,`${n}: ${r}`]}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.error(`Cannot extract message for event ${Zt(e)}`),[]}}return[]}function Vk(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function qk(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function da(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?qk(t):null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.error(`Cannot extract url for event ${Zt(e)}`),null}}const L=ze;let Tc=0;function xf(){return Tc>0}function Kk(){Tc++,setTimeout(()=>{Tc--})}function pr(e,t={},n){if(typeof e!="function")return e;try{const i=e.__sentry_wrapped__;if(i)return i;if(gc(e))return e}catch{return e}const r=function(){const i=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);const o=i.map(a=>pr(a,t));return e.apply(this,o)}catch(o){throw Kk(),df(a=>{a.addEventProcessor(s=>(t.mechanism&&(Sc(s,void 0,void 0),Ti(s,t.mechanism)),s.extra={...s.extra,arguments:i},s)),uf(o)}),o}};try{for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}catch{}Rm(r,e),hc(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Sf(e,t){const n=Dc(e,t),r={type:t&&t.name,value:Zk(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function Jk(e,t,n,r){const o=ee().getClient(),a=o&&o.getOptions().normalizeDepth,s={exception:{values:[{type:dc(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${wv(t)}`}]},extra:{__serialized__:Jm(t,a)}};if(n){const l=Dc(e,n);l.length&&(s.exception.values[0].stacktrace={frames:l})}return s}function Ic(e,t){return{exception:{values:[Sf(e,t)]}}}function Dc(e,t){const n=t.stacktrace||t.stack||"",r=Xk(t);try{return e(n,r)}catch{}return[]}const Qk=/Minified React error #\d+;/i;function Xk(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(Qk.test(e.message))return 1}return 0}function Zk(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function ew(e,t,n,r){const i=n&&n.syntheticException||void 0,o=Ac(e,t,i,r);return Ti(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),wn(o)}function tw(e,t,n="info",r,i){const o=r&&r.syntheticException||void 0,a=Mc(e,t,o,i);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),wn(a)}function Ac(e,t,n,r,i){let o;if(Pm(t)&&t.error)return Ic(e,t.error);if(jm(t)||ov(t)){const a=t;if("stack"in t)o=Ic(e,t);else{const s=a.name||(jm(a)?"DOMError":"DOMException"),l=a.message?`${s}: ${a.message}`:s;o=Mc(e,l,n,r),Sc(o,l)}return"code"in a&&(o.tags={...o.tags,"DOMException.code":`${a.code}`}),o}return uc(t)?Ic(e,t):sr(t)||dc(t)?(o=Jk(e,t,n,i),Ti(o,{synthetic:!0}),o):(o=Mc(e,t,n,r),Sc(o,`${t}`,void 0),Ti(o,{synthetic:!0}),o)}function Mc(e,t,n,r){const i={message:t};if(r&&n){const o=Dc(e,n);o.length&&(i.exception={values:[{value:t,stacktrace:{frames:o}}]})}return i}const pa=1024,Ef="Breadcrumbs";class Ai{static __initStatic(){this.id=Ef}__init(){this.name=Ai.id}constructor(t){Ai.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&Xt("console",rw),this.options.dom&&Xt("dom",nw(this.options.dom)),this.options.xhr&&Xt("xhr",iw),this.options.fetch&&Xt("fetch",ow),this.options.history&&Xt("history",aw)}addSentryBreadcrumb(t){this.options.sentry&&ee().addBreadcrumb({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:Zt(t)},{event:t})}}Ai.__initStatic();function nw(e){function t(n){let r,i=typeof e=="object"?e.serializeAttribute:void 0,o=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;o&&o>pa&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn(`\`dom.maxStringLength\` cannot exceed ${pa}, but a value of ${o} was configured. Sentry will use ${pa} instead.`),o=pa),typeof i=="string"&&(i=[i]);try{const a=n.event;r=sw(a)?fc(a.target,{keyAttrs:i,maxStringLength:o}):fc(a,{keyAttrs:i,maxStringLength:o})}catch{r="<unknown>"}r.length!==0&&ee().addBreadcrumb({category:`ui.${n.name}`,message:r},{event:n.event,name:n.name,global:n.global})}return t}function rw(e){for(let n=0;n<e.args.length;n++)if(e.args[n]==="ref=Ref<"){e.args[n+1]="viewRef";break}const t={category:"console",data:{arguments:e.args,logger:"console"},level:Kv(e.level),message:Mm(e.args," ")};if(e.level==="assert")if(e.args[0]===!1)t.message=`Assertion failed: ${Mm(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);else return;ee().addBreadcrumb(t,{input:e.args,level:e.level})}function iw(e){const{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[ji];if(!t||!n||!r)return;const{method:i,url:o,status_code:a,body:s}=r,l={method:i,url:o,status_code:a},u={xhr:e.xhr,input:s,startTimestamp:t,endTimestamp:n};ee().addBreadcrumb({category:"xhr",data:l,type:"http"},u)}function ow(e){const{startTimestamp:t,endTimestamp:n}=e;if(n&&!(e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"))if(e.error){const r=e.fetchData,i={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n};ee().addBreadcrumb({category:"fetch",data:r,level:"error",type:"http"},i)}else{const r={...e.fetchData,status_code:e.response&&e.response.status},i={input:e.args,response:e.response,startTimestamp:t,endTimestamp:n};ee().addBreadcrumb({category:"fetch",data:r,type:"http"},i)}}function aw(e){let t=e.from,n=e.to;const r=Cc(L.location.href);let i=Cc(t);const o=Cc(n);i.path||(i=r),r.protocol===o.protocol&&r.host===o.host&&(n=o.relative),r.protocol===i.protocol&&r.host===i.host&&(t=i.relative),ee().addBreadcrumb({category:"navigation",data:{from:t,to:n}})}function sw(e){return e&&!!e.target}function lw(e,{metadata:t,tunnel:n,dsn:r}){const i={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:_i(r)}},o=cw(e);return Ii(i,[o])}function cw(e){return[{type:"user_report"},e]}class uw extends Sn{constructor(t){const n=L.SENTRY_SDK_SOURCE||Uv();t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${n}:@sentry/browser`,version:ua}],version:ua},super(t),t.sendClientReports&&L.document&&L.document.addEventListener("visibilitychange",()=>{L.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return ew(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return tw(this._options.stackParser,t,n,r,this._options.attachStacktrace)}sendEvent(t,n){const r=this.getIntegrationById(Ef);r&&r.addSentryBreadcrumb&&r.addSentryBreadcrumb(t),super.sendEvent(t,n)}captureUserFeedback(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn("SDK not enabled, will not capture user feedback.");return}const n=lw(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){const t=this._clearOutcomes();if(t.length===0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.log("Sending outcomes:",t);const n=ik(t,this._options.tunnel&&_i(this._dsn));this._sendEnvelope(n)}}let Mi;function dw(){if(Mi)return Mi;if(wc(L.fetch))return Mi=L.fetch.bind(L);const e=L.document;let t=L.fetch;if(e&&typeof e.createElement=="function")try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return Mi=t.bind(L)}function pw(){Mi=void 0}function mw(e,t=dw()){let n=0,r=0;function i(o){const a=o.body.length;n+=a,r++;const s={body:o.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{return t(e.url,s).then(l=>(n-=a,r--,{statusCode:l.status,headers:{"x-sentry-rate-limits":l.headers.get("X-Sentry-Rate-Limits"),"retry-after":l.headers.get("Retry-After")}}))}catch(l){return pw(),n-=a,r--,sa(l)}}return vf(e,i)}const fw=4;function hw(e){function t(n){return new xe((r,i)=>{const o=new XMLHttpRequest;o.onerror=i,o.onreadystatechange=()=>{o.readyState===fw&&r({statusCode:o.status,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")}})},o.open("POST",e.url);for(const a in e.headers)Object.prototype.hasOwnProperty.call(e.headers,a)&&o.setRequestHeader(a,e.headers[a]);o.send(n.body)})}return vf(e,t)}const ma="?",gw=30,yw=40,bw=50;function Rc(e,t,n,r){const i={filename:e,function:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}const vw=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,kw=/\((\S*)(?::(\d+))(?::(\d+))\)/,ww=[gw,e=>{const t=vw.exec(e);if(t){if(t[2]&&t[2].indexOf("eval")===0){const o=kw.exec(t[2]);o&&(t[2]=o[1],t[3]=o[2],t[4]=o[3])}const[r,i]=Cf(t[1]||ma,t[2]);return Rc(i,r,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],xw=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Sw=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Ew=[bw,e=>{const t=xw.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const o=Sw.exec(t[3]);o&&(t[1]=t[1]||"eval",t[3]=o[1],t[4]=o[2],t[5]="")}let r=t[3],i=t[1]||ma;return[i,r]=Cf(i,r),Rc(r,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],Cw=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,$w=Fm(...[ww,Ew,[yw,e=>{const t=Cw.exec(e);return t?Rc(t[2],t[1]||ma,+t[3],t[4]?+t[4]:void 0):void 0}]]),Cf=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:ma,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};class tn{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=tn.id}__init2(){this._installFunc={onerror:_w,onunhandledrejection:Pw}}constructor(t){tn.prototype.__init.call(this),tn.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const n in t){const r=this._installFunc[n];r&&t[n]&&(Tw(n),r(),this._installFunc[n]=void 0)}}}tn.__initStatic();function _w(){Xt("error",e=>{const[t,n,r]=Pf();if(!t.getIntegration(tn))return;const{msg:i,url:o,line:a,column:s,error:l}=e;if(xf()||l&&l.__sentry_own_request__)return;const u=l===void 0&&kn(i)?Nw(i,o,a,s):$f(Ac(n,l||i,void 0,r,!1),o,a,s);u.level="error",_f(t,l,u,"onerror")})}function Pw(){Xt("unhandledrejection",e=>{const[t,n,r]=Pf();if(!t.getIntegration(tn))return;let i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch{}if(xf()||i&&i.__sentry_own_request__)return!0;const o=Nm(i)?jw(i):Ac(n,i,void 0,r,!0);o.level="error",_f(t,i,o,"onunhandledrejection")})}function jw(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Nw(e,t,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let o=Pm(e)?e.message:e,a="Error";const s=o.match(i);return s&&(a=s[1],o=s[2]),$f({exception:{values:[{type:a,value:o}]}},t,n,r)}function $f(e,t,n,r){const i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],u=isNaN(parseInt(r,10))?void 0:r,p=isNaN(parseInt(n,10))?void 0:n,d=kn(t)&&t.length>0?t:mv();return l.length===0&&l.push({colno:u,filename:d,function:"?",in_app:!0,lineno:p}),e}function Tw(e){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.log(`Global Handler attached: ${e}`)}function _f(e,t,n,r){Ti(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function Pf(){const e=ee(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}const Iw=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class Ri{static __initStatic(){this.id="TryCatch"}__init(){this.name=Ri.id}constructor(t){Ri.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&ue(L,"setTimeout",jf),this._options.setInterval&&ue(L,"setInterval",jf),this._options.requestAnimationFrame&&ue(L,"requestAnimationFrame",Dw),this._options.XMLHttpRequest&&"XMLHttpRequest"in L&&ue(XMLHttpRequest.prototype,"send",Aw);const t=this._options.eventTarget;t&&(Array.isArray(t)?t:Iw).forEach(Mw)}}Ri.__initStatic();function jf(e){return function(...t){const n=t[0];return t[0]=pr(n,{mechanism:{data:{function:Qt(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function Dw(e){return function(t){return e.apply(this,[pr(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Qt(e)},handled:!0,type:"instrument"}})])}}function Aw(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in n&&typeof n[i]=="function"&&ue(n,i,function(o){const a={mechanism:{data:{function:i,handler:Qt(o)},handled:!0,type:"instrument"}},s=gc(o);return s&&(a.mechanism.data.handler=Qt(s)),pr(o,a)})}),e.apply(this,t)}}function Mw(e){const t=L,n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(ue(n,"addEventListener",function(r){return function(i,o,a){try{typeof o.handleEvent=="function"&&(o.handleEvent=pr(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Qt(o),target:e},handled:!0,type:"instrument"}}))}catch{}return r.apply(this,[i,pr(o,{mechanism:{data:{function:"addEventListener",handler:Qt(o),target:e},handled:!0,type:"instrument"}}),a])}}),ue(n,"removeEventListener",function(r){return function(i,o,a){const s=o;try{const l=s&&s.__sentry_wrapped__;l&&r.call(this,i,l,a)}catch{}return r.call(this,i,s,a)}}))}const Rw="cause",Ow=5;class mr{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=mr.id}constructor(t={}){mr.prototype.__init.call(this),this._key=t.key||Rw,this._limit=t.limit||Ow}setupOnce(){const t=ee().getClient();t&&jc((n,r)=>{const i=ee().getIntegration(mr);return i?Lw(t.getOptions().stackParser,i._key,i._limit,n,r):n})}}mr.__initStatic();function Lw(e,t,n,r,i){if(!r.exception||!r.exception.values||!i||!lr(i.originalException,Error))return r;const o=Nf(e,n,i.originalException,t);return r.exception.values=[...o,...r.exception.values],r}function Nf(e,t,n,r,i=[]){if(!lr(n[r],Error)||i.length+1>=t)return i;const o=Sf(e,n[r]);return Nf(e,t,n[r],r,[o,...i])}class fr{constructor(){fr.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=fr.id}setupOnce(){jc(t=>{if(ee().getIntegration(fr)){if(!L.navigator&&!L.location&&!L.document)return t;const n=t.request&&t.request.url||L.location&&L.location.href,{referrer:r}=L.document||{},{userAgent:i}=L.navigator||{},o={...t.request&&t.request.headers,...r&&{Referer:r},...i&&{"User-Agent":i}},a={...t.request,...n&&{url:n},headers:o};return{...t,request:a}}return t})}}fr.__initStatic();class hr{constructor(){hr.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=hr.id}setupOnce(t,n){const r=i=>{if(i.type)return i;const o=n().getIntegration(hr);if(o){try{if(zw(i,o._previousEvent))return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return o._previousEvent=i}return o._previousEvent=i}return i};r.id=this.name,t(r)}}hr.__initStatic();function zw(e,t){return t?!!(Uw(e,t)||Yw(e,t)):!1}function Uw(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!If(e,t)||!Tf(e,t))}function Yw(e,t){const n=Df(t),r=Df(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!If(e,t)||!Tf(e,t))}function Tf(e,t){let n=Af(e),r=Af(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let i=0;i<r.length;i++){const o=r[i],a=n[i];if(o.filename!==a.filename||o.lineno!==a.lineno||o.colno!==a.colno||o.function!==a.function)return!1}return!0}function If(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function Df(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Af(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch{return}}const Fw=[new dr,new Di,new Ri,new Ai,new tn,new mr,new hr,new fr];function Bw(e={}){e.defaultIntegrations===void 0&&(e.defaultIntegrations=Fw),e.release===void 0&&(typeof __SENTRY_RELEASE__=="string"&&(e.release=__SENTRY_RELEASE__),L.SENTRY_RELEASE&&L.SENTRY_RELEASE.id&&(e.release=L.SENTRY_RELEASE.id)),e.autoSessionTracking===void 0&&(e.autoSessionTracking=!0),e.sendClientReports===void 0&&(e.sendClientReports=!0);const t={...e,stackParser:xv(e.stackParser||$w),integrations:$k(e),transport:e.transport||(Bm()?mw:hw)};Rk(uw,t),e.autoSessionTracking&&Hw()}function Mf(e={},t=ee()){if(!L.document){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.error("Global document not defined in showReportDialog call");return}const{client:n,scope:r}=t.getStackTop(),i=e.dsn||n&&n.getDsn();if(!i){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.error("DSN not configured for showReportDialog call");return}r&&(e.user={...r.getUser(),...e.user}),e.eventId||(e.eventId=t.lastEventId());const o=L.document.createElement("script");o.async=!0,o.src=wk(i,e),e.onLoad&&(o.onload=e.onLoad);const a=L.document.head||L.document.body;a?a.appendChild(o):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.error("Not injecting report dialog. No injection point found in HTML")}function Rf(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function Hw(){if(typeof L.document>"u"){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}const e=ee();e.captureSession&&(Rf(e),Xt("history",({from:t,to:n})=>{t===void 0||t===n||Rf(ee())}))}function Ww(e){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:ua}],version:ua},Bw(e)}var Of={exports:{}},z={};/** @license React v16.13.1
|
|
60
60
|
* react-is.production.min.js
|
|
61
61
|
*
|
|
62
62
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
63
63
|
*
|
|
64
64
|
* This source code is licensed under the MIT license found in the
|
|
65
65
|
* LICENSE file in the root directory of this source tree.
|
|
66
|
-
*/var ae=typeof Symbol=="function"&&Symbol.for,
|
|
66
|
+
*/var ae=typeof Symbol=="function"&&Symbol.for,Oc=ae?Symbol.for("react.element"):60103,Lc=ae?Symbol.for("react.portal"):60106,fa=ae?Symbol.for("react.fragment"):60107,ha=ae?Symbol.for("react.strict_mode"):60108,ga=ae?Symbol.for("react.profiler"):60114,ya=ae?Symbol.for("react.provider"):60109,ba=ae?Symbol.for("react.context"):60110,zc=ae?Symbol.for("react.async_mode"):60111,va=ae?Symbol.for("react.concurrent_mode"):60111,ka=ae?Symbol.for("react.forward_ref"):60112,wa=ae?Symbol.for("react.suspense"):60113,Gw=ae?Symbol.for("react.suspense_list"):60120,xa=ae?Symbol.for("react.memo"):60115,Sa=ae?Symbol.for("react.lazy"):60116,Vw=ae?Symbol.for("react.block"):60121,qw=ae?Symbol.for("react.fundamental"):60117,Kw=ae?Symbol.for("react.responder"):60118,Jw=ae?Symbol.for("react.scope"):60119;function Te(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Oc:switch(e=e.type,e){case zc:case va:case fa:case ga:case ha:case wa:return e;default:switch(e=e&&e.$$typeof,e){case ba:case ka:case Sa:case xa:case ya:return e;default:return t}}case Lc:return t}}}function Lf(e){return Te(e)===va}z.AsyncMode=zc,z.ConcurrentMode=va,z.ContextConsumer=ba,z.ContextProvider=ya,z.Element=Oc,z.ForwardRef=ka,z.Fragment=fa,z.Lazy=Sa,z.Memo=xa,z.Portal=Lc,z.Profiler=ga,z.StrictMode=ha,z.Suspense=wa,z.isAsyncMode=function(e){return Lf(e)||Te(e)===zc},z.isConcurrentMode=Lf,z.isContextConsumer=function(e){return Te(e)===ba},z.isContextProvider=function(e){return Te(e)===ya},z.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Oc},z.isForwardRef=function(e){return Te(e)===ka},z.isFragment=function(e){return Te(e)===fa},z.isLazy=function(e){return Te(e)===Sa},z.isMemo=function(e){return Te(e)===xa},z.isPortal=function(e){return Te(e)===Lc},z.isProfiler=function(e){return Te(e)===ga},z.isStrictMode=function(e){return Te(e)===ha},z.isSuspense=function(e){return Te(e)===wa},z.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===fa||e===va||e===ga||e===ha||e===wa||e===Gw||typeof e=="object"&&e!==null&&(e.$$typeof===Sa||e.$$typeof===xa||e.$$typeof===ya||e.$$typeof===ba||e.$$typeof===ka||e.$$typeof===qw||e.$$typeof===Kw||e.$$typeof===Jw||e.$$typeof===Vw)},z.typeOf=Te,Of.exports=z;var Qw=Of.exports,zf=Qw,Xw={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Zw={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Uf={};Uf[zf.ForwardRef]=Xw,Uf[zf.Memo]=Zw;function ex(e){const t=e.match(/^([^.]+)/);return t!==null&&parseInt(t[0])>=17}const Yf={componentStack:null,error:null,eventId:null};function tx(e,t){const n=new WeakMap;function r(i,o){if(!n.has(i)){if(i.cause)return n.set(i,!0),r(i.cause,o);i.cause=o}}r(e,t)}class Oi extends w.Component{__init(){this.state=Yf}__init2(){this._openFallbackReportDialog=!0}constructor(t){super(t),Oi.prototype.__init.call(this),Oi.prototype.__init2.call(this),Oi.prototype.__init3.call(this);const n=ee().getClient();n&&n.on&&t.showDialog&&(this._openFallbackReportDialog=!1,n.on("afterSendEvent",r=>{!r.type&&r.event_id===this._lastEventId&&Mf({...t.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(t,{componentStack:n}){const{beforeCapture:r,onError:i,showDialog:o,dialogOptions:a}=this.props;df(s=>{if(ex(w.version)&&uc(t)){const u=new Error(t.message);u.name=`React ErrorBoundary ${u.name}`,u.stack=n,tx(t,u)}r&&r(s,t,n);const l=uf(t,{contexts:{react:{componentStack:n}}});i&&i(t,n,l),o&&(this._lastEventId=l,this._openFallbackReportDialog&&Mf({...a,eventId:l})),this.setState({error:t,componentStack:n,eventId:l})})}componentDidMount(){const{onMount:t}=this.props;t&&t()}componentWillUnmount(){const{error:t,componentStack:n,eventId:r}=this.state,{onUnmount:i}=this.props;i&&i(t,n,r)}__init3(){this.resetErrorBoundary=()=>{const{onReset:t}=this.props,{error:n,componentStack:r,eventId:i}=this.state;t&&t(n,r,i),this.setState(Yf)}}render(){const{fallback:t,children:n}=this.props,r=this.state;if(r.error){let i;return typeof t=="function"?i=t({error:r.error,componentStack:r.componentStack,resetError:this.resetErrorBoundary,eventId:r.eventId}):i=t,w.isValidElement(i)?i:(t&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&I.warn("fallback did not produce a valid ReactElement"),null)}return typeof n=="function"?n():n}}class Uc extends w.Component{constructor(){super(...arguments);Q(this,"handleLoad",()=>{this.setupFrameBaseStyle()})}componentDidMount(){this.node.addEventListener("load",this.handleLoad)}componentWillUnmout(){this.node.removeEventListener("load",this.handleLoad)}setupFrameBaseStyle(){this.node.contentDocument&&(this.iframeHtml=this.node.contentDocument.documentElement,this.iframeHead=this.node.contentDocument.head,this.iframeRoot=this.node.contentDocument.body,this.forceUpdate())}render(){const{children:n,head:r,title:i="",style:o={},dataTestId:a="",...s}=this.props;return c.jsxs("iframe",{srcDoc:"<!DOCTYPE html>","data-testid":a,ref:l=>this.node=l,title:i,style:o,frameBorder:"0",...s,children:[this.iframeHead&&cc.createPortal(r,this.iframeHead),this.iframeRoot&&cc.createPortal(n,this.iframeRoot)]})}}const Yc=e=>w.createElement("svg",{id:"Regular",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e},w.createElement("defs",null,w.createElement("style",null,".cls-1{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.8px;}")),w.createElement("circle",{className:"cls-1",cx:12,cy:9.75,r:5.25}),w.createElement("path",{className:"cls-1",d:"M18.913,20.876a9.746,9.746,0,0,0-13.826,0"}),w.createElement("circle",{className:"cls-1",cx:12,cy:12,r:11.25})),Ff=`
|
|
67
67
|
.gh-portal-avatar {
|
|
68
68
|
position: relative;
|
|
69
69
|
display: flex;
|
|
@@ -86,7 +86,7 @@ Url: ${oa(e)}`),!0)}function yb(e,t){return e.type||!t||!t.length?!1:kb(e).some(
|
|
|
86
86
|
opacity: 1;
|
|
87
87
|
max-width: unset;
|
|
88
88
|
}
|
|
89
|
-
`,
|
|
89
|
+
`,nx=({style:e={}})=>({avatarContainer:{...e.avatarContainer||{}},gravatar:{...e.avatarContainer||{}},userIcon:{width:"34px",height:"34px",color:"#fff",...e.userIcon||{}}});function Fc({gravatar:e,style:t}){let n=nx({style:t});return c.jsxs("figure",{className:"gh-portal-avatar",style:n.avatarContainer,children:[c.jsx(Yc,{style:n.userIcon}),e?c.jsx("img",{style:n.gravatar,src:e,alt:""}):null]})}const N=O.createContext({site:{},member:{},action:"",lastPage:"",brandColor:"",pageData:{},onAction:(e,t)=>({action:e,data:t})}),rx=e=>w.createElement("svg",{width:21,height:24,viewBox:"0 0 21 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},w.createElement("path",{d:"M10.533 11.267c2.835 0 5.134-2.299 5.134-5.134C15.667 3.298 13.368 1 10.533 1 7.698 1 5.4 3.298 5.4 6.133s2.298 5.134 5.133 5.134zM1 23c0-2.529 1.004-4.953 2.792-6.741 1.788-1.788 4.213-2.792 6.741-2.792 2.529 0 4.954 1.004 6.741 2.792 1.788 1.788 2.793 4.212 2.793 6.74",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ix=e=>w.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e},w.createElement("g",{fill:"none",fillRule:"evenodd"},w.createElement("path",{stroke:"#FFF",strokeWidth:1.5,strokeLinecap:"round",d:"M12.5 2v20M2 12.5h20"}))),ox=e=>w.createElement("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},w.createElement("path",{d:"M23.5 6v14.25c0 .597-.237 1.169-.659 1.591-.422.422-.994.659-1.591.659s-1.169-.237-1.591-.659c-.422-.422-.659-.994-.659-1.591V3c0-.398-.158-.78-.44-1.06-.28-.282-.662-.44-1.06-.44h-15c-.398 0-.78.158-1.06.44C1.157 2.22 1 2.601 1 3v17.25c0 .597.237 1.169.659 1.591.422.422.994.659 1.591.659h18M4.75 15h10.5M4.75 18h6",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),w.createElement("path",{d:"M14.5 5.25h-9c-.414 0-.75.336-.75.75v4.5c0 .414.336.75.75.75h9c.414 0 .75-.336.75-.75V6c0-.414-.336-.75-.75-.75z",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ax=e=>w.createElement("svg",{width:24,height:18,viewBox:"0 0 24 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},w.createElement("path",{d:"M21.75 1.5H2.25c-.828 0-1.5.672-1.5 1.5v12c0 .828.672 1.5 1.5 1.5h19.5c.828 0 1.5-.672 1.5-1.5V3c0-.828-.672-1.5-1.5-1.5zM15.687 6.975L19.5 10.5M8.313 6.975L4.5 10.5",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),w.createElement("path",{d:"M22.88 2.014l-9.513 6.56C12.965 8.851 12.488 9 12 9s-.965-.149-1.367-.426L1.12 2.014",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),sx=e=>w.createElement("svg",{width:26,height:26,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},w.createElement("path",{d:"M17.903 12.016c-.332-1.665-1.491-3.032-3.031-3.654M11.037 8.4C9.252 9.163 8 10.935 8 13c0 .432.055.85.158 1.25M10.44 17.296c.748.447 1.624.704 2.56.704 1.71 0 3.22-.858 4.12-2.167M15.171 21.22c3.643-.96 6.329-4.276 6.329-8.22 0-1.084-.203-2.121-.573-3.075M18.611 6.615C17.114 5.3 15.151 4.5 13 4.5c-2.149 0-4.112.797-5.608 2.113M5.112 9.826c-.395.98-.612 2.052-.612 3.174 0 4.015 2.783 7.38 6.526 8.27",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"}),w.createElement("path",{d:"M8.924 24.29c1.273.46 2.645.71 4.076.71 5.52 0 10.17-3.727 11.57-8.803M6.712 2.777C3.285 4.89 1 8.678 1 13c0 3.545 1.537 6.731 3.982 8.928M24.849 11.089C23.933 5.369 18.977 1 13 1c-.69 0-1.367.058-2.025.17",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"})),Bc=`
|
|
90
90
|
/* Colors
|
|
91
91
|
/* ----------------------------------------------------- */
|
|
92
92
|
:root {
|
|
@@ -307,11 +307,17 @@ Url: ${oa(e)}`),!0)}function yb(e,t){return e.type||!t||!t.length?!1:kb(e).some(
|
|
|
307
307
|
padding: 10vmin 28px;
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
.gh-
|
|
310
|
+
.gh-desktop-only {
|
|
311
311
|
display: none;
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
|
-
|
|
314
|
+
|
|
315
|
+
@media (min-width: 481px) {
|
|
316
|
+
.gh-mobile-only {
|
|
317
|
+
display: none;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
`,lx=Bc+`
|
|
315
321
|
.gh-portal-triggerbtn-wrapper {
|
|
316
322
|
display: inline-flex;
|
|
317
323
|
align-items: flex-start;
|
|
@@ -385,11 +391,11 @@ Url: ${oa(e)}`),!0)}function yb(e,t){return e.type||!t||!t.length?!1:kb(e).some(
|
|
|
385
391
|
width: 60px;
|
|
386
392
|
height: 60px;
|
|
387
393
|
}
|
|
388
|
-
`+Rh,xt=e=>{if(!e)return"";const t=new Date(e),n={year:"numeric",month:"short",day:"numeric"};return t.toLocaleDateString("en-GB",n)};function Ac(){const[e]=window.location.hash.substr(1).split("?");e&&/^\/portal\/?(?:\/(\w+(?:\/\w+)*))?\/?$/.test(e)&&window.history.pushState("",document.title,window.location.pathname+window.location.search)}function I1({page:e}){const t={signin:"#/portal/signin",signup:"#/portal/signup"};return Object.keys(t).includes(e)?t[e]:t.default}function Dh({page:e,siteUrl:t}){const n=t||`${window.location.protocol}//${window.location.host}${window.location.pathname}`,r=I1({page:e});return`${n}${r}`}function fr(){return!(navigator&&navigator.cookieEnabled)}function z1({event:e}){var i,o,a,s;const n=(((s=(a=(o=(i=e==null?void 0:e.exception)==null?void 0:i.values)==null?void 0:o[0])==null?void 0:a.stacktrace)==null?void 0:s.frames)||[]).map(l=>l.filename).filter(l=>!!l);return(n[n.length-1]||"").includes("@tryghost/portal")}function Ve({member:e={}}){if(kt({member:e})){const n=(e.subscriptions||[]).find(r=>["active","trialing","unpaid","past_due"].includes(r.status));return!(n!=null&&n.price)&&(n!=null&&n.plan)&&(n.price=n.plan),n}return null}function hr({member:e={}}){if(!e)return!1;const t=Ve({member:e});if(t){const{price:n}=t;return n&&n.amount===0}else if(!t&&e.paid)return!0;return!1}function kt({member:e={}}){return e&&e.paid}function F1({product:e}){return e!=null&&e.monthlyPrice?e.monthlyPrice.currency:null}function Oi({member:e}){var t,n,r;return((r=(n=(t=e==null?void 0:e.subscriptions)==null?void 0:t[0])==null?void 0:n.tier)==null?void 0:r.expiry_at)!==void 0}function Lc({member:e}){var t,n,r;return(r=(n=(t=e==null?void 0:e.subscriptions)==null?void 0:t[0])==null?void 0:n.tier)!=null&&r.expiry_at?xt(e.subscriptions[0].tier.expiry_at):""}function B1({site:e,member:t}){const n=kn({member:t}),r=n==null?void 0:n.currency,i=xa({site:e});return n!=null&&n.id?i.filter(o=>Pa(F1({product:o}),r)):i}function U1({prices:e,currency:t}){return e.filter(n=>Pa(n.currency||"",t||""))}function Oh({subscription:e}){var t,n;return e&&e.price?{...e.price,stripe_price_id:e.price.id,id:e.price.price_id,price:e.price.amount/100,name:e.price.nickname,tierId:(t=e.tier)==null?void 0:t.id,cadence:((n=e.price)==null?void 0:n.interval)==="month"?"month":"year",currency:e.price.currency.toLowerCase(),currency_symbol:de(e.price.currency)}:null}function kn({member:e}){const t=Ve({member:e});return Oh({subscription:t})}function Y1({priceId:e,site:t,member:n}){const r=kn({member:n}),{tierId:i,cadence:o}=_n({site:t,priceId:e});return(r==null?void 0:r.tierId)===i&&(r==null?void 0:r.cadence)===o}function H1({member:e,subscriptionId:t}){return kt({member:e})?(e.subscriptions||[]).find(r=>r.id===t):null}function Ah({member:e}){var n;const t=Ve({member:e});return((n=t==null?void 0:t.tier)==null?void 0:n.name)||""}function va({plans:e,site:t={}}){return e=e||Ca({site:t}),!e||e.length===0||e.length===1&&e[0].type==="free"}function G1(e,t){const r=xa({site:e}).find(i=>i.type==="paid");return t==="monthly"?{cadence:"month",tierId:r.id}:t==="yearly"?{cadence:"year",tierId:r.id}:{priceId:t}}function q1({site:e={},priceId:t}){const n=Ea({site:e});if(t==="free")return!n||n.length===0||n.find(r=>r.type==="free");if(n&&n.length>0&&t==="monthly"){const r=n.find(o=>o.name==="Monthly"),i=n.find(o=>o.interval==="month");return r||i}else if(n&&n.length>0&&t==="yearly"){const r=n.find(o=>o.name==="Yearly"),i=n.find(o=>o.interval==="year");return r||i}else if(n&&n.length>0&&t)return n.find(r=>r.id===t);return null}function ot({site:e={},pageQuery:t=""}){return Ca({site:e,pageQuery:t}).length===0||e&&e.members_signup_access==="invite"}function ba({site:e}){const{portal_products:t}=e||{};return!!t}function Lh({site:e}){return(e==null?void 0:e.comments_enabled)&&(e==null?void 0:e.comments_enabled)!=="off"}function W1({site:e}){var t,n,r,i,o,a;try{if(!e)return null;if(e.tiers&&(e.products=e.tiers),e.products=(t=e.products)==null?void 0:t.map(s=>({...s,monthlyPrice:s.monthly_price,yearlyPrice:s.yearly_price})),e.is_stripe_configured=!!e.paid_members_enabled,e.members_signup_access="all",e.members_enabled||(e.members_signup_access="none"),e.members_invite_only&&(e.members_signup_access="invite"),e.allow_self_signup=!1,e.members_signup_access!=="all"&&(e.allow_self_signup=!1),e.paid_members_enabled&&(e.allow_self_signup=!0),(n=e.portal_plans)!=null&&n.includes("free")&&(e.allow_self_signup=!0),(i=(r=e.products)==null?void 0:r[0])!=null&&i.visibility){e.portal_products=e.products.filter(l=>l.visibility!=="none"&&l.type==="paid").map(l=>l.id);const s=e.products.find(l=>l.type==="free");s&&(e.portal_plans=(o=e.portal_plans)==null?void 0:o.filter(l=>l!=="free"),(s==null?void 0:s.visibility)==="public"&&((a=e.portal_plans)==null||a.push("free")))}return e}catch(s){console.warn("[Portal] Failed to read site data:",s)}}function xa({site:e}){const{portal_products:t,products:n=[],portal_plans:r=[]}=e||{};return!r.includes("monthly")&&!r.includes("yearly")?[]:n.filter(i=>!!i).filter(i=>e.is_stripe_configured?!0:i.type!=="paid").filter(i=>!!(i.monthlyPrice&&i.yearlyPrice)).filter(i=>Object.keys(i.monthlyPrice).length>0&&Object.keys(i.yearlyPrice).length>0).filter(i=>t&&n.length>1?t.includes(i.id):!0).sort((i,o)=>{var a,s;return((a=i==null?void 0:i.monthlyPrice)==null?void 0:a.amount)-((s=o==null?void 0:o.monthlyPrice)==null?void 0:s.amount)}).map(i=>(i.monthlyPrice={...i.monthlyPrice,currency_symbol:de(i.monthlyPrice.currency)},i.yearlyPrice={...i.yearlyPrice,currency_symbol:de(i.yearlyPrice.currency)},i))}function mr({site:e}){const{products:t=[]}=e||{};return t.find(n=>n.type==="free")}function Mc({site:e}){const{products:t=[],portal_plans:n=[]}=e||{};return!n.includes("monthly")&&!n.includes("yearly")?[]:t.filter(r=>!!r).filter(r=>!!(r.monthlyPrice&&r.yearlyPrice)).filter(r=>Object.keys(r.monthlyPrice).length>0&&Object.keys(r.yearlyPrice).length>0).sort((r,i)=>{var o,a;return((o=r==null?void 0:r.monthlyPrice)==null?void 0:o.amount)-((a=i==null?void 0:i.monthlyPrice)==null?void 0:a.amount)}).map(r=>(r.monthlyPrice={...r.monthlyPrice,currency_symbol:de(r.monthlyPrice.currency)},r.yearlyPrice={...r.yearlyPrice,currency_symbol:de(r.yearlyPrice.currency)},r))}function ka({site:e,pageQuery:t}){const n=xa({site:e});return t==="free"&&wn({site:e})?[]:(wn({site:e})&&n.unshift({id:"free"}),n)}function wa({site:e}){return ka({site:e}).some(n=>!!(n!=null&&n.trial_days))}function Mh({site:e}){const t=mr({site:e});return(t==null?void 0:t.benefits)||[]}function Ih({site:e}){return Sa({site:e})?"Free membership":"Free"}function zh({site:e}){const t=mr({site:e});return t==null?void 0:t.description}function V1({site:e}){var n;const t=mr({site:e});return!!(t!=null&&t.description||(n=t==null?void 0:t.benefits)!=null&&n.length)}function gr({site:e,productId:t}){return Mc({site:e}).find(r=>r.id===t)}function K1({site:e=null,products:t=null}){return!e&&!t?[]:(t||xa({site:e})).reduce((i,o)=>(o.monthlyPrice&&o.yearlyPrice&&(i.push(o.monthlyPrice),i.push(o.yearlyPrice)),i),[])}function wn({site:e}){const{allow_self_signup:t,portal_plans:n}=e||{};return t&&n.includes("free")}function yr({site:e}){const{newsletters:t=[]}=e||{};return t==null||t.sort((n,r)=>n.sort_order-r.sort_order),t}function _a({site:e}){const{newsletters:t}=e||{};return(t==null?void 0:t.length)>1}function Fh({member:e}){var t;return(t=e==null?void 0:e.email_suppression)==null?void 0:t.suppressed}function Sa({site:e}){return ka({site:e}).length===1&&wn({site:e})}function Ic({sub:e}={}){return!!(e!=null&&e.trial_end_at&&!Bh(new Date(e==null?void 0:e.trial_end_at)))}function Bh(e){const t=new Date;return t.setHours(0,0,0,0),e<t}function Uh({site:e,priceId:t}){return t==="free"?mr({site:e}):Mc({site:e}).find(r=>{var i,o;return((i=r==null?void 0:r.monthlyPrice)==null?void 0:i.id)===t||((o=r==null?void 0:r.yearlyPrice)==null?void 0:o.id)===t})}function _n({site:e,priceId:t}){var o;if(t==="free")return mr({site:e});const r=Mc({site:e}).find(a=>{var s,l;return((s=a==null?void 0:a.monthlyPrice)==null?void 0:s.id)===t||((l=a==null?void 0:a.yearlyPrice)==null?void 0:l.id)===t});let i="month";return((o=r==null?void 0:r.yearlyPrice)==null?void 0:o.id)===t&&(i="year"),{tierId:r==null?void 0:r.id,cadence:i}}function Ea({site:e,products:t=null}){const{portal_plans:n=[],is_stripe_configured:r}=e||{};return r?K1({site:e,products:t}).filter(o=>!!(o&&o.id)).map(o=>({...o,price_id:o.id,price:o.amount/100,name:o.nickname,currency_symbol:de(o.currency)})).filter(o=>o.amount!==0&&o.type==="recurring").filter(o=>o.interval==="month"?n.includes("monthly"):o.interval==="year"?n.includes("yearly"):!1).sort((o,a)=>o.amount-a.amount).sort((o,a)=>!o.currency||!a.currency?0:o.currency.localeCompare(a.currency,void 0,{ignorePunctuation:!0})):[]}function Q1({site:e}){const t=Ea({site:e});let n={currency:"usd",currency_symbol:"$"};return(t==null?void 0:t.length)>0&&(n.currency=t[0].currency,n.currency_symbol=t[0].currency_symbol),n}function Ca({site:e={},pageQuery:t=""}={}){const{allow_self_signup:n,portal_plans:r}=e||{},i=[];if(n&&r.includes("free")){const a=Q1({site:e});i.push({id:"free",type:"free",price:0,amount:0,name:Ih({site:e}),...a})}return t==="free"&&wn({site:e})||Ea({site:e}).forEach(s=>{i.push(s)}),i}const J1=({member:e})=>e?e.email:"",zc=({member:e})=>e?e.email_suppression:"",X1=({site:e})=>e&&e.firstpromoter_account,Z1=({member:e})=>e?e.name:"",ja=({site:e})=>{var n;const{members_support_address:t}=e||{};if((t==null?void 0:t.indexOf("@"))<0){const r=Fc({site:e}),i=(r==null?void 0:r.replace(/^(www)\.(?=[^/]*\..{2,5})/,""))||"";return`${t}@${i}`}if(((n=t==null?void 0:t.split("@"))==null?void 0:n.length)>1){const[r,i]=t.split("@"),o=(i==null?void 0:i.replace(/^(www)\.(?=[^/]*\..{2,5})/,""))||"";return`${r}@${o}`}return t||""},ex=({site:e})=>{const t=yr({site:e}),n=t==null?void 0:t[0];if(n)return n.sender_email||`noreply@${Fc({site:e})}`},Fc=({site:e})=>{try{return new URL(e.url).origin.replace(/^http(s?):\/\//,"").replace(/\/$/,"")}catch{return e.url.replace(/^http(s?):\/\//,"").replace(/\/$/,"")}},de=e=>Intl.NumberFormat("en",{currency:e,style:"currency"}).format(0).replace(/[\d\s.]/g,""),Bc=e=>isNaN(e)?0:e/100,tx=(e={})=>{const t=de(e.currency),n=Bc(e.amount);return`${t}${n}/${e.interval}`},vr=e=>e==null?"":e.toLocaleString(),Q=({type:e,status:t,autoHide:n,duration:r=2600,closeable:i,state:o,message:a,meta:s={}})=>{let l=0;return o&&o.popupNotification&&(l=(o.popupNotification.count||0)+1),{type:e,status:t,autoHide:n,closeable:i,duration:r,meta:s,message:a,count:l}};function Pa(e,t){return(e==null?void 0:e.toLowerCase())===(t==null?void 0:t.toLowerCase())}function Yh({site:e,pageQuery:t}){var i,o;const n=/^(?:(\S+?))?\/monthly$/,r=/^(?:(\S+?))?\/yearly$/;if(n.test(t||"")){const[,a]=t.match(n),s=gr({site:e,productId:a});return(i=s==null?void 0:s.monthlyPrice)==null?void 0:i.id}else if(r.test(t||"")){const[,a]=t.match(r),s=gr({site:e,productId:a});return(o=s==null?void 0:s.yearlyPrice)==null?void 0:o.id}return null}const nx=({offer:e,price:t,useFormatted:n=!1})=>{const r=t.amount;let i;return e.type==="fixed"&&Pa(e.currency,t.currency)?(i=(r-e.amount)/100,i=i>0?i:0):e.type==="percent"?i=(r-r*e.amount/100)/100:i=r/100,n?Intl.NumberFormat("en",{currency:t==null?void 0:t.currency,style:"currency"}).format(i):i},rx=({site:e,offer:t})=>(t==null?void 0:t.status)!=="active"?!1:!!gr({site:e,productId:t.tier.id});function ix({tier:e,priceId:t}){return e!=null&&e.monthly_price?{id:`price-${t}`,active:!0,type:"recurring",nickname:"Monthly",currency:e.currency,amount:e.monthly_price,interval:"month"}:null}function ox({tier:e,priceId:t}){return e!=null&&e.yearly_price?{id:`price-${t}`,active:!0,type:"recurring",nickname:"Yearly",currency:e.currency,amount:e.yearly_price,interval:"year"}:null}function ax({tier:e}){var t;return(t=e==null?void 0:e.benefits)==null?void 0:t.map(n=>({name:n}))}const sx=({tiers:e})=>{let t=0;return e.map(n=>{let r=ix({tier:n,priceId:t});t+=1;let i=ox({tier:n,priceId:t});t+=1;let o=ax({tier:n});return{...n,benefits:o,monthly_price:r,yearly_price:i}})};function Na(){const e="ghost-history";try{const t=localStorage.getItem(e);if(t){const n=JSON.parse(t);if(Array.isArray(n))return n}}catch(t){console.warn("[Portal] Failed to load member URL history:",t)}}function lx({member:e}){if(!(e!=null&&e.created_at))return!1;const t=new Date,n=new Date(e.created_at),r=t.getTime()-n.getTime();return Math.round(r/(1e3*60*60))<24}const cx=function(){return ux()||Hh()},ux=function(){const[e]=window.location.hash.substr(1).split("?");return e==="/portal/preview"},Hh=function(){const[e]=window.location.hash.substr(1).split("?");return e==="/portal/preview/offer"},dx={preview:cx,offerPreview:Hh,dev:function({customSiteUrl:e=""}={}){return!1},test:function(){return!1}},q=(e=[],t={})=>e.some(n=>{const r=dx[n];return!!(r&&r(t))}),Gh={"icon-1":R1,"icon-2":D1,"icon-3":O1,"icon-4":A1,"icon-5":L1},qh=({brandColor:e,hasText:t})=>({frame:{zIndex:"3999998",position:"fixed",bottom:"0",right:"0",width:"500px",maxWidth:"500px",height:"98px",animation:"250ms ease 0s 1 normal none running animation-bhegco",transition:"opacity 0.3s ease 0s",overflow:"hidden",...{...t?{}:{width:"105px"},...q(["preview"])?{opacity:1}:{}}},userIcon:{width:"34px",height:"34px",color:"#fff"},buttonIcon:{width:"24px",height:"24px",color:"#fff"},closeIcon:{width:"20px",height:"20px",color:"#fff"}});class Wh extends W.Component{constructor(t){super(t),this.state={},this.container=W.createRef(),this.height=null,this.width=null}updateHeight(t){this.props.updateHeight&&this.props.updateHeight(t)}updateWidth(t){this.props.updateWidth&&this.props.updateWidth(t)}componentDidMount(){this.container&&(this.height=this.container.current&&this.container.current.offsetHeight,this.width=this.container.current&&this.container.current.offsetWidth,this.updateHeight(this.height),this.updateWidth(this.width))}componentDidUpdate(){if(this.container){const t=this.container.current&&this.container.current.offsetHeight;let n=this.container.current&&this.container.current.offsetWidth;t!==this.height&&(this.height=t,this.updateHeight(this.height)),n!==this.width&&(this.width=n,this.updateWidth(this.width))}}renderTriggerIcon(){const{portal_button_icon:t="",portal_button_style:n=""}=this.context.site||{},r=qh({brandColor:this.context.brandColor}),i=this.context.member&&this.context.member.avatar_image;if(!n.includes("icon")&&!this.context.member)return null;if(i)return c.jsx(Dc,{gravatar:i});if(this.context.member)return c.jsx(Rc,{style:r.userIcon});if(Object.keys(Gh).includes(t)){const o=Gh[t];return c.jsx(o,{style:r.buttonIcon})}else return t?c.jsx("img",{style:{width:"26px",height:"26px"},src:t,alt:""}):(this.hasText()&&(r.userIcon.width="26px",r.userIcon.height="26px"),c.jsx(Rc,{style:r.userIcon}))}hasText(){const{portal_button_signup_text:t,portal_button_style:n}=this.context.site;return["icon-and-text","text-only"].includes(n)&&!this.context.member&&t}renderText(){const{portal_button_signup_text:t}=this.context.site;return this.hasText()?c.jsxs("span",{className:"gh-portal-triggerbtn-label",children:[" ",t," "]}):null}onToggle(){const{showPopup:t,member:n,site:r}=this.context;if(t)this.context.onAction("closePopup");else{const i=ot({site:r})?"signin":"signup",o=n?"accountHome":i;this.context.onAction("openPopup",{page:o})}}render(){const t=this.hasText(),{member:n}=this.context,r=n?"halo":"";return t?c.jsx("div",{className:"gh-portal-triggerbtn-wrapper",ref:this.container,children:c.jsxs("div",{className:"gh-portal-triggerbtn-container with-label",onClick:i=>this.onToggle(i),"data-testid":"portal-trigger-button",children:[this.renderTriggerIcon(),t?this.renderText():""]})}):c.jsx("div",{className:"gh-portal-triggerbtn-wrapper",children:c.jsx("div",{className:"gh-portal-triggerbtn-container "+r,onClick:i=>this.onToggle(i),"data-testid":"portal-trigger-button",children:this.renderTriggerIcon()})})}}J(Wh,"contextType",$);class Vh extends W.Component{constructor(t){super(t),this.state={width:null}}onWidthChange(t){this.setState({width:t})}hasText(){const{portal_button_signup_text:t,portal_button_style:n}=this.context.site;return["icon-and-text","text-only"].includes(n)&&!this.context.member&&t}renderFrameStyles(){const t=`
|
|
394
|
+
`+Ff,St=e=>{if(!e)return"";const t=new Date(e),n={year:"numeric",month:"short",day:"numeric"};return t.toLocaleDateString("en-GB",n)};function Hc(){const[e]=window.location.hash.substr(1).split("?");e&&/^\/portal\/?(?:\/(\w+(?:\/\w+)*))?\/?$/.test(e)&&window.history.pushState("",document.title,window.location.pathname+window.location.search)}function cx({page:e}){const t={signin:"#/portal/signin",signup:"#/portal/signup"};return Object.keys(t).includes(e)?t[e]:t.default}function Bf({page:e,siteUrl:t}){const n=t||`${window.location.protocol}//${window.location.host}${window.location.pathname}`,r=cx({page:e});return`${n}${r}`}function gr(){return!(navigator&&navigator.cookieEnabled)}function ux({event:e}){var i,o,a,s;const n=(((s=(a=(o=(i=e==null?void 0:e.exception)==null?void 0:i.values)==null?void 0:o[0])==null?void 0:a.stacktrace)==null?void 0:s.frames)||[]).map(l=>l.filename).filter(l=>!!l);return(n[n.length-1]||"").includes("@tryghost/portal")}function Je({member:e={}}){if(Et({member:e})){const n=(e.subscriptions||[]).find(r=>["active","trialing","unpaid","past_due"].includes(r.status));return!(n!=null&&n.price)&&(n!=null&&n.plan)&&(n.price=n.plan),n}return null}function yr({member:e={}}){if(!e)return!1;const t=Je({member:e});if(t){const{price:n}=t;return n&&n.amount===0}else if(!t&&e.paid)return!0;return!1}function Et({member:e={}}){return e&&e.paid}function dx({product:e}){return e!=null&&e.monthlyPrice?e.monthlyPrice.currency:null}function Li({member:e}){var t,n,r;return((r=(n=(t=e==null?void 0:e.subscriptions)==null?void 0:t[0])==null?void 0:n.tier)==null?void 0:r.expiry_at)!==void 0}function Wc({member:e}){var t,n,r;return(r=(n=(t=e==null?void 0:e.subscriptions)==null?void 0:t[0])==null?void 0:n.tier)!=null&&r.expiry_at?St(e.subscriptions[0].tier.expiry_at):""}function px({site:e,member:t}){const n=En({member:t}),r=n==null?void 0:n.currency,i=Ca({site:e});return n!=null&&n.id?i.filter(o=>Da(dx({product:o}),r)):i}function mx({prices:e,currency:t}){return e.filter(n=>Da(n.currency||"",t||""))}function Hf({subscription:e}){var t,n;return e&&e.price?{...e.price,stripe_price_id:e.price.id,id:e.price.price_id,price:e.price.amount/100,name:e.price.nickname,tierId:(t=e.tier)==null?void 0:t.id,cadence:((n=e.price)==null?void 0:n.interval)==="month"?"month":"year",currency:e.price.currency.toLowerCase(),currency_symbol:de(e.price.currency)}:null}function En({member:e}){const t=Je({member:e});return Hf({subscription:t})}function fx({priceId:e,site:t,member:n}){const r=En({member:n}),{tierId:i,cadence:o}=$n({site:t,priceId:e});return(r==null?void 0:r.tierId)===i&&(r==null?void 0:r.cadence)===o}function hx({member:e,subscriptionId:t}){return Et({member:e})?(e.subscriptions||[]).find(r=>r.id===t):null}function Wf({member:e}){var n;const t=Je({member:e});return((n=t==null?void 0:t.tier)==null?void 0:n.name)||""}function zi({plans:e,site:t={}}){return e=e||Ta({site:t}),!e||e.length===0||e.length===1&&e[0].type==="free"}function gx(e,t){const r=Ca({site:e}).find(i=>i.type==="paid");return t==="monthly"?{cadence:"month",tierId:r.id}:t==="yearly"?{cadence:"year",tierId:r.id}:{priceId:t}}function yx({site:e={},priceId:t}){const n=Na({site:e});if(t==="free")return!n||n.length===0||n.find(r=>r.type==="free");if(n&&n.length>0&&t==="monthly"){const r=n.find(o=>o.name==="Monthly"),i=n.find(o=>o.interval==="month");return r||i}else if(n&&n.length>0&&t==="yearly"){const r=n.find(o=>o.name==="Yearly"),i=n.find(o=>o.interval==="year");return r||i}else if(n&&n.length>0&&t)return n.find(r=>r.id===t);return null}function lt({site:e={},pageQuery:t=""}){return Ta({site:e,pageQuery:t}).length===0||e&&e.members_signup_access==="invite"}function Ea({site:e}){const{portal_products:t}=e||{};return!!t}function Gf({site:e}){return(e==null?void 0:e.comments_enabled)&&(e==null?void 0:e.comments_enabled)!=="off"}function bx({site:e}){var t,n,r,i,o,a;try{if(!e)return null;if(e.tiers&&(e.products=e.tiers),e.products=(t=e.products)==null?void 0:t.map(s=>({...s,monthlyPrice:s.monthly_price,yearlyPrice:s.yearly_price})),e.is_stripe_configured=!!e.paid_members_enabled,e.members_signup_access="all",e.members_enabled||(e.members_signup_access="none"),e.members_invite_only&&(e.members_signup_access="invite"),e.allow_self_signup=!1,e.members_signup_access!=="all"&&(e.allow_self_signup=!1),e.paid_members_enabled&&(e.allow_self_signup=!0),(n=e.portal_plans)!=null&&n.includes("free")&&(e.allow_self_signup=!0),(i=(r=e.products)==null?void 0:r[0])!=null&&i.visibility){e.portal_products=e.products.filter(l=>l.visibility!=="none"&&l.type==="paid").map(l=>l.id);const s=e.products.find(l=>l.type==="free");s&&(e.portal_plans=(o=e.portal_plans)==null?void 0:o.filter(l=>l!=="free"),(s==null?void 0:s.visibility)==="public"&&((a=e.portal_plans)==null||a.push("free")))}return e}catch(s){console.warn("[Portal] Failed to read site data:",s)}}function Ca({site:e}){const{portal_products:t,products:n=[],portal_plans:r=[]}=e||{};return!r.includes("monthly")&&!r.includes("yearly")?[]:n.filter(i=>!!i).filter(i=>e.is_stripe_configured?!0:i.type!=="paid").filter(i=>!!(i.monthlyPrice&&i.yearlyPrice)).filter(i=>Object.keys(i.monthlyPrice).length>0&&Object.keys(i.yearlyPrice).length>0).filter(i=>t&&n.length>1?t.includes(i.id):!0).sort((i,o)=>{var a,s;return((a=i==null?void 0:i.monthlyPrice)==null?void 0:a.amount)-((s=o==null?void 0:o.monthlyPrice)==null?void 0:s.amount)}).map(i=>(i.monthlyPrice={...i.monthlyPrice,currency_symbol:de(i.monthlyPrice.currency)},i.yearlyPrice={...i.yearlyPrice,currency_symbol:de(i.yearlyPrice.currency)},i))}function br({site:e}){const{products:t=[]}=e||{};return t.find(n=>n.type==="free")}function Gc({site:e}){const{products:t=[],portal_plans:n=[]}=e||{};return!n.includes("monthly")&&!n.includes("yearly")?[]:t.filter(r=>!!r).filter(r=>!!(r.monthlyPrice&&r.yearlyPrice)).filter(r=>Object.keys(r.monthlyPrice).length>0&&Object.keys(r.yearlyPrice).length>0).sort((r,i)=>{var o,a;return((o=r==null?void 0:r.monthlyPrice)==null?void 0:o.amount)-((a=i==null?void 0:i.monthlyPrice)==null?void 0:a.amount)}).map(r=>(r.monthlyPrice={...r.monthlyPrice,currency_symbol:de(r.monthlyPrice.currency)},r.yearlyPrice={...r.yearlyPrice,currency_symbol:de(r.yearlyPrice.currency)},r))}function $a({site:e,pageQuery:t}){const n=Ca({site:e});return t==="free"&&Cn({site:e})?[]:(Cn({site:e})&&n.unshift({id:"free"}),n)}function _a({site:e}){return $a({site:e}).some(n=>!!(n!=null&&n.trial_days))}function Vf({site:e}){const t=br({site:e});return(t==null?void 0:t.benefits)||[]}function qf({site:e}){return ja({site:e})?"Free membership":"Free"}function Kf({site:e}){const t=br({site:e});return t==null?void 0:t.description}function vx({site:e}){var n;const t=br({site:e});return!!(t!=null&&t.description||(n=t==null?void 0:t.benefits)!=null&&n.length)}function vr({site:e,productId:t}){return Gc({site:e}).find(r=>r.id===t)}function kx({site:e=null,products:t=null}){return!e&&!t?[]:(t||Ca({site:e})).reduce((i,o)=>(o.monthlyPrice&&o.yearlyPrice&&(i.push(o.monthlyPrice),i.push(o.yearlyPrice)),i),[])}function Cn({site:e}){const{allow_self_signup:t,portal_plans:n}=e||{};return t&&n.includes("free")}function kr({site:e}){const{newsletters:t=[]}=e||{};return t==null||t.sort((n,r)=>n.sort_order-r.sort_order),t}function Pa({site:e}){const{newsletters:t}=e||{};return(t==null?void 0:t.length)>1}function Jf({member:e}){var t;return(t=e==null?void 0:e.email_suppression)==null?void 0:t.suppressed}function ja({site:e}){return $a({site:e}).length===1&&Cn({site:e})}function Vc({sub:e}={}){return!!(e!=null&&e.trial_end_at&&!Qf(new Date(e==null?void 0:e.trial_end_at)))}function Qf(e){const t=new Date;return t.setHours(0,0,0,0),e<t}function Xf({site:e,priceId:t}){return t==="free"?br({site:e}):Gc({site:e}).find(r=>{var i,o;return((i=r==null?void 0:r.monthlyPrice)==null?void 0:i.id)===t||((o=r==null?void 0:r.yearlyPrice)==null?void 0:o.id)===t})}function $n({site:e,priceId:t}){var o;if(t==="free")return br({site:e});const r=Gc({site:e}).find(a=>{var s,l;return((s=a==null?void 0:a.monthlyPrice)==null?void 0:s.id)===t||((l=a==null?void 0:a.yearlyPrice)==null?void 0:l.id)===t});let i="month";return((o=r==null?void 0:r.yearlyPrice)==null?void 0:o.id)===t&&(i="year"),{tierId:r==null?void 0:r.id,cadence:i}}function Na({site:e,products:t=null}){const{portal_plans:n=[],is_stripe_configured:r}=e||{};return r?kx({site:e,products:t}).filter(o=>!!(o&&o.id)).map(o=>({...o,price_id:o.id,price:o.amount/100,name:o.nickname,currency_symbol:de(o.currency)})).filter(o=>o.amount!==0&&o.type==="recurring").filter(o=>o.interval==="month"?n.includes("monthly"):o.interval==="year"?n.includes("yearly"):!1).sort((o,a)=>o.amount-a.amount).sort((o,a)=>!o.currency||!a.currency?0:o.currency.localeCompare(a.currency,void 0,{ignorePunctuation:!0})):[]}function wx({site:e}){const t=Na({site:e});let n={currency:"usd",currency_symbol:"$"};return(t==null?void 0:t.length)>0&&(n.currency=t[0].currency,n.currency_symbol=t[0].currency_symbol),n}function Ta({site:e={},pageQuery:t=""}={}){const{allow_self_signup:n,portal_plans:r}=e||{},i=[];if(n&&r.includes("free")){const a=wx({site:e});i.push({id:"free",type:"free",price:0,amount:0,name:qf({site:e}),...a})}return t==="free"&&Cn({site:e})||Na({site:e}).forEach(s=>{i.push(s)}),i}const xx=({member:e})=>e?e.email:"",qc=({member:e})=>e?e.email_suppression:"",Sx=({site:e})=>e&&e.firstpromoter_account,Ex=({member:e})=>e?e.name:"",Ia=({site:e})=>{var n;const{members_support_address:t}=e||{};if((t==null?void 0:t.indexOf("@"))<0){const r=Kc({site:e}),i=(r==null?void 0:r.replace(/^(www)\.(?=[^/]*\..{2,5})/,""))||"";return`${t}@${i}`}if(((n=t==null?void 0:t.split("@"))==null?void 0:n.length)>1){const[r,i]=t.split("@"),o=(i==null?void 0:i.replace(/^(www)\.(?=[^/]*\..{2,5})/,""))||"";return`${r}@${o}`}return t||""},Cx=({site:e})=>{const t=kr({site:e}),n=t==null?void 0:t[0];if(n)return n.sender_email||`noreply@${Kc({site:e})}`},Kc=({site:e})=>{try{return new URL(e.url).origin.replace(/^http(s?):\/\//,"").replace(/\/$/,"")}catch{return e.url.replace(/^http(s?):\/\//,"").replace(/\/$/,"")}},de=e=>Intl.NumberFormat("en",{currency:e,style:"currency"}).format(0).replace(/[\d\s.]/g,""),Jc=e=>isNaN(e)?0:e/100,$x=(e={})=>{const t=de(e.currency),n=Jc(e.amount);return`${t}${n}/${e.interval}`},wr=e=>e==null?"":e.toLocaleString(),J=({type:e,status:t,autoHide:n,duration:r=2600,closeable:i,state:o,message:a,meta:s={}})=>{let l=0;return o&&o.popupNotification&&(l=(o.popupNotification.count||0)+1),{type:e,status:t,autoHide:n,closeable:i,duration:r,meta:s,message:a,count:l}};function Da(e,t){return(e==null?void 0:e.toLowerCase())===(t==null?void 0:t.toLowerCase())}function Zf({site:e,pageQuery:t}){var i,o;const n=/^(?:(\S+?))?\/monthly$/,r=/^(?:(\S+?))?\/yearly$/;if(n.test(t||"")){const[,a]=t.match(n),s=vr({site:e,productId:a});return(i=s==null?void 0:s.monthlyPrice)==null?void 0:i.id}else if(r.test(t||"")){const[,a]=t.match(r),s=vr({site:e,productId:a});return(o=s==null?void 0:s.yearlyPrice)==null?void 0:o.id}return null}const _x=({offer:e,price:t,useFormatted:n=!1})=>{const r=t.amount;let i;return e.type==="fixed"&&Da(e.currency,t.currency)?(i=(r-e.amount)/100,i=i>0?i:0):e.type==="percent"?i=(r-r*e.amount/100)/100:i=r/100,n?Intl.NumberFormat("en",{currency:t==null?void 0:t.currency,style:"currency"}).format(i):i},Px=({site:e,offer:t})=>(t==null?void 0:t.status)!=="active"?!1:!!vr({site:e,productId:t.tier.id});function jx({tier:e,priceId:t}){return e!=null&&e.monthly_price?{id:`price-${t}`,active:!0,type:"recurring",nickname:"Monthly",currency:e.currency,amount:e.monthly_price,interval:"month"}:null}function Nx({tier:e,priceId:t}){return e!=null&&e.yearly_price?{id:`price-${t}`,active:!0,type:"recurring",nickname:"Yearly",currency:e.currency,amount:e.yearly_price,interval:"year"}:null}function Tx({tier:e}){var t;return(t=e==null?void 0:e.benefits)==null?void 0:t.map(n=>({name:n}))}const Ix=({tiers:e})=>{let t=0;return e.map(n=>{let r=jx({tier:n,priceId:t});t+=1;let i=Nx({tier:n,priceId:t});t+=1;let o=Tx({tier:n});return{...n,benefits:o,monthly_price:r,yearly_price:i}})};function Aa(){const e="ghost-history";try{const t=localStorage.getItem(e);if(t){const n=JSON.parse(t);if(Array.isArray(n))return n}}catch(t){console.warn("[Portal] Failed to load member URL history:",t)}}function Dx({member:e}){if(!(e!=null&&e.created_at))return!1;const t=new Date,n=new Date(e.created_at),r=t.getTime()-n.getTime();return Math.round(r/(1e3*60*60))<24}const Ax=function(){return Mx()||eh()},Mx=function(){const[e]=window.location.hash.substr(1).split("?");return e==="/portal/preview"},eh=function(){const[e]=window.location.hash.substr(1).split("?");return e==="/portal/preview/offer"},Rx={preview:Ax,offerPreview:eh,dev:function({customSiteUrl:e=""}={}){return!1},test:function(){return!1}},V=(e=[],t={})=>e.some(n=>{const r=Rx[n];return!!(r&&r(t))}),th={"icon-1":rx,"icon-2":ix,"icon-3":ox,"icon-4":ax,"icon-5":sx},nh=({brandColor:e,hasText:t})=>({frame:{zIndex:"3999998",position:"fixed",bottom:"0",right:"0",width:"500px",maxWidth:"500px",height:"98px",animation:"250ms ease 0s 1 normal none running animation-bhegco",transition:"opacity 0.3s ease 0s",overflow:"hidden",...{...t?{}:{width:"105px"},...V(["preview"])?{opacity:1}:{}}},userIcon:{width:"34px",height:"34px",color:"#fff"},buttonIcon:{width:"24px",height:"24px",color:"#fff"},closeIcon:{width:"20px",height:"20px",color:"#fff"}});class rh extends O.Component{constructor(t){super(t),this.state={},this.container=O.createRef(),this.height=null,this.width=null}updateHeight(t){this.props.updateHeight&&this.props.updateHeight(t)}updateWidth(t){this.props.updateWidth&&this.props.updateWidth(t)}componentDidMount(){this.container&&(this.height=this.container.current&&this.container.current.offsetHeight,this.width=this.container.current&&this.container.current.offsetWidth,this.updateHeight(this.height),this.updateWidth(this.width))}componentDidUpdate(){if(this.container){const t=this.container.current&&this.container.current.offsetHeight;let n=this.container.current&&this.container.current.offsetWidth;t!==this.height&&(this.height=t,this.updateHeight(this.height)),n!==this.width&&(this.width=n,this.updateWidth(this.width))}}renderTriggerIcon(){const{portal_button_icon:t="",portal_button_style:n=""}=this.context.site||{},r=nh({brandColor:this.context.brandColor}),i=this.context.member&&this.context.member.avatar_image;if(!n.includes("icon")&&!this.context.member)return null;if(i)return c.jsx(Fc,{gravatar:i});if(this.context.member)return c.jsx(Yc,{style:r.userIcon});if(Object.keys(th).includes(t)){const o=th[t];return c.jsx(o,{style:r.buttonIcon})}else return t?c.jsx("img",{style:{width:"26px",height:"26px"},src:t,alt:""}):(this.hasText()&&(r.userIcon.width="26px",r.userIcon.height="26px"),c.jsx(Yc,{style:r.userIcon}))}hasText(){const{portal_button_signup_text:t,portal_button_style:n}=this.context.site;return["icon-and-text","text-only"].includes(n)&&!this.context.member&&t}renderText(){const{portal_button_signup_text:t}=this.context.site;return this.hasText()?c.jsxs("span",{className:"gh-portal-triggerbtn-label",children:[" ",t," "]}):null}onToggle(){const{showPopup:t,member:n,site:r}=this.context;if(t)this.context.onAction("closePopup");else{const i=lt({site:r})?"signin":"signup",o=n?"accountHome":i;this.context.onAction("openPopup",{page:o})}}render(){const t=this.hasText(),{member:n}=this.context,r=n?"halo":"";return t?c.jsx("div",{className:"gh-portal-triggerbtn-wrapper",ref:this.container,children:c.jsxs("div",{className:"gh-portal-triggerbtn-container with-label",onClick:i=>this.onToggle(i),"data-testid":"portal-trigger-button",children:[this.renderTriggerIcon(),t?this.renderText():""]})}):c.jsx("div",{className:"gh-portal-triggerbtn-wrapper",children:c.jsx("div",{className:"gh-portal-triggerbtn-container "+r,onClick:i=>this.onToggle(i),"data-testid":"portal-trigger-button",children:this.renderTriggerIcon()})})}}Q(rh,"contextType",N);class ih extends O.Component{constructor(t){super(t),this.state={width:null}}onWidthChange(t){this.setState({width:t})}hasText(){const{portal_button_signup_text:t,portal_button_style:n}=this.context.site;return["icon-and-text","text-only"].includes(n)&&!this.context.member&&t}renderFrameStyles(){const t=`
|
|
389
395
|
:root {
|
|
390
396
|
--brandcolor: ${this.context.brandColor}
|
|
391
397
|
}
|
|
392
|
-
`+
|
|
398
|
+
`+lx;return c.jsx("style",{dangerouslySetInnerHTML:{__html:t}})}render(){const{portal_button:t}=this.context.site,{showPopup:n}=this.context;if(!t||V(["offerPreview"]))return null;const r=this.hasText(),o={...nh({brandColor:this.context.brandColor,hasText:r}).frame};if(this.state.width){const a=this.state.width+2;o.width=`${a}px`}return c.jsx(Uc,{dataTestId:"portal-trigger-frame",className:"gh-portal-triggerbtn-iframe",style:o,title:"portal-trigger",head:this.renderFrameStyles(),children:c.jsx(rh,{isPopupOpen:n,updateWidth:a=>this.onWidthChange(a)})})}}Q(ih,"contextType",N);const Ox=Bc+`
|
|
393
399
|
.gh-portal-notification-wrapper {
|
|
394
400
|
position: relative;
|
|
395
401
|
overflow: hidden;
|
|
@@ -520,11 +526,11 @@ Url: ${oa(e)}`),!0)}function yb(e,t){return e.type||!t||!t.length?!1:kb(e).some(
|
|
|
520
526
|
animation-name: notification-slideout-mobile;
|
|
521
527
|
}
|
|
522
528
|
}
|
|
523
|
-
`,
|
|
529
|
+
`,Qc=e=>w.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e},w.createElement("defs",null,w.createElement("style",null,".a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.2px !important;}")),w.createElement("path",{className:"a",d:"M.75 23.249l22.5-22.5M23.25 23.249L.75.749"})),oh=e=>w.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e},w.createElement("defs",null,w.createElement("style",null,".checkmark-icon-fill{fill:currentColor;}")),w.createElement("path",{className:"checkmark-icon-fill",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})),Xc=e=>w.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e},w.createElement("defs",null,w.createElement("style",null,".warning-icon-fill{fill:currentColor;}")),w.createElement("path",{className:"warning-icon-fill",d:"M23.25,23.235a.75.75,0,0,0,.661-1.105l-11.25-21a.782.782,0,0,0-1.322,0l-11.25,21A.75.75,0,0,0,.75,23.235ZM12,20.485a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,12,20.485Zm0-12.25a1,1,0,0,1,1,1V14.7a1,1,0,0,1-2,0V9.235A1,1,0,0,1,12,8.235Z"})),Lx=({qsParams:e,action:t,status:n})=>{if(n&&["true","false"].includes(n)){const r=JSON.parse(n);return{type:t,status:r?"success":"error",duration:3e3,autoHide:!!r}}return{}},zx=({status:e,billingOnly:t})=>{if(!t&&["success"].includes(e))return{type:"stripe:checkout",status:["success"].includes(e)?"success":"warning",duration:3e3,autoHide:!0};if(t&&["billing-update-success","billing-update-cancel"].includes(e))return{type:"stripe:billing-update",status:e==="billing-update-success"?"success":"warning",duration:3e3,autoHide:!0,closeable:!0}},ah=(e=[])=>{const t=window.location.search||"",n=new URLSearchParams(t);e.forEach(i=>{n.delete(i)});const r=n.toString()?`?${n}`:"";window.history.replaceState({},"",`${window.location.pathname}${r}`)};function sh({billingOnly:e=!1}={}){const t=window.location.search;if(!t)return null;const n=new URLSearchParams(t),r=n.get("action"),i=n.get("success"),o=n.get("stripe");let a=null;return o?zx({qsParams:n,status:o,billingOnly:e}):r&&i&&!e?Lx({qsParams:n,action:r,status:i}):a}const Ux=()=>({frame:{zIndex:"4000000",position:"fixed",top:"0",right:"0",maxWidth:"415px",width:"100%",height:"120px",animation:"250ms ease 0s 1 normal none running animation-bhegco",transition:"opacity 0.3s ease 0s",overflow:"hidden"}}),Yx=({type:e,status:t,context:n})=>{const r=n.t,i=Bf({page:"signin",siteUrl:n.site.url}),o=Bf({page:"signup",siteUrl:n.site.url});if(e==="signin"&&t==="success"&&n.member){const a=n.member.firstname||"";return c.jsxs("p",{children:[a?r("Welcome back, {{name}}!",a):r("Welcome back!"),c.jsx("br",{}),r("You've successfully signed in.")]})}else{if(e==="signin"&&t==="error")return c.jsxs("p",{children:[r("Could not sign in. Login link expired.")," ",c.jsx("a",{href:i,target:"_parent",children:r("Click here to retry")})]});if(e==="signup"&&t==="success")return c.jsxs("p",{children:["You've successfully subscribed to ",c.jsx("br",{}),c.jsx("strong",{children:n.site.title})]});if(e==="signup-paid"&&t==="success")return c.jsxs("p",{children:["You've successfully subscribed to ",c.jsx("br",{}),c.jsx("strong",{children:n.site.title})]});if(e==="updateEmail"&&t==="success")return c.jsx("p",{children:r("Success! Your email is updated.")});if(e==="updateEmail"&&t==="error")return c.jsx("p",{children:r("Could not update email! Invalid link.")});if(e==="signup"&&t==="error")return c.jsxs("p",{children:[r("Signup error: Invalid link"),c.jsx("br",{}),c.jsx("a",{href:o,target:"_parent",children:r("Click here to retry")})]});if(e==="signup-paid"&&t==="error")return c.jsxs("p",{children:[r("Signup error: Invalid link"),c.jsx("br",{}),c.jsx("a",{href:o,target:"_parent",children:r("Click here to retry")})]});if(e==="stripe:checkout"&&t==="success")return n.member?c.jsx("p",{children:r("Success! Your account is fully activated, you now have access to all content.")}):c.jsx("p",{children:r("Success! Check your email for magic link to sign-in.")});if(e==="stripe:checkout"&&t==="warning")return n.member?c.jsx("p",{children:r("Plan upgrade was cancelled.")}):c.jsx("p",{children:r("Plan checkout was cancelled.")})}return c.jsx("p",{children:r(t==="success"?"Success":"Error")})};class lh extends O.Component{constructor(){super(),this.state={className:""}}componentWillUnmount(){clearTimeout(this.timeoutId)}onNotificationClose(){this.props.onHideNotification()}componentDidUpdate(){const{showPopup:t}=this.context;!this.state.className&&t&&this.setState({className:"slideout"})}componentDidMount(){const{autoHide:t,duration:n=2400}=this.props,{showPopup:r}=this.context;r?this.setState({className:"slideout"}):t&&(this.timeoutId=setTimeout(()=>{this.setState({className:"slideout"})},n))}onAnimationEnd(t){(t.animationName==="notification-slideout"||t.animationName==="notification-slideout-mobile")&&this.props.onHideNotification(t)}render(){const{type:t,status:n}=this.props,{className:r=""}=this.state,i=n?` ${n}`:" neutral",o=r?` ${r}`:"";return c.jsx("div",{className:"gh-portal-notification-wrapper",children:c.jsxs("div",{className:`gh-portal-notification${i}${o}`,onAnimationEnd:a=>this.onAnimationEnd(a),children:[n==="error"?c.jsx(Xc,{className:"gh-portal-notification-icon error",alt:""}):c.jsx(oh,{className:"gh-portal-notification-icon success",alt:""}),c.jsx(Yx,{type:t,status:n,context:this.context}),c.jsx(Qc,{className:"gh-portal-notification-closeicon",alt:"Close",onClick:a=>this.onNotificationClose(a)})]})})}}Q(lh,"contextType",N);class ch extends O.Component{constructor(){super();const{type:t,status:n,autoHide:r,duration:i}=sh()||{};this.state={active:!0,type:t,status:n,autoHide:r,duration:i,className:""}}onHideNotification(){const t=this.state.type,n=[];["signin","signup"].includes(t)?n.push("action","success"):["stripe:checkout"].includes(t)&&n.push("stripe"),ah(n),this.context.onAction("refreshMemberData"),this.setState({active:!1})}renderFrameStyles(){const t=`
|
|
524
530
|
:root {
|
|
525
531
|
--brandcolor: ${this.context.brandColor}
|
|
526
532
|
}
|
|
527
|
-
`+
|
|
533
|
+
`+Ox;return c.jsx("style",{dangerouslySetInnerHTML:{__html:t}})}render(){const n={...Ux({brandColor:this.context.brandColor}).frame};if(!this.state.active)return null;const{type:r,status:i,autoHide:o,duration:a}=this.state;return r&&i?c.jsx(Uc,{style:n,title:"portal-notification",head:this.renderFrameStyles(),className:"gh-portal-notification-iframe",children:c.jsx(lh,{type:r,status:i,autoHide:o,duration:a,onHideNotification:s=>this.onHideNotification(s)})}):null}}Q(ch,"contextType",N);const Ui=e=>w.createElement("svg",{id:"loader-1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"40px",height:"40px",viewBox:"0 0 40 40",enableBackground:"new 0 0 40 40",xmlSpace:"preserve",...e},w.createElement("path",{opacity:.2,fill:"#000",d:"M20.201,5.169c-8.254,0-14.946,6.692-14.946,14.946c0,8.255,6.692,14.946,14.946,14.946 s14.946-6.691,14.946-14.946C35.146,11.861,28.455,5.169,20.201,5.169z M20.201,31.749c-6.425,0-11.634-5.208-11.634-11.634 c0-6.425,5.209-11.634,11.634-11.634c6.425,0,11.633,5.209,11.633,11.634C31.834,26.541,26.626,31.749,20.201,31.749z"}),w.createElement("path",{fill:"#000",d:"M26.013,10.047l1.654-2.866c-2.198-1.272-4.743-2.012-7.466-2.012h0v3.312h0 C22.32,8.481,24.301,9.057,26.013,10.047z"},w.createElement("animateTransform",{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 20 20",to:"360 20 20",dur:"0.5s",repeatCount:"indefinite"}))),Fx=`
|
|
528
534
|
.gh-portal-btn-main {
|
|
529
535
|
box-shadow: none;
|
|
530
536
|
position: relative;
|
|
@@ -576,7 +582,7 @@ Url: ${oa(e)}`),!0)}function yb(e,t){return e.type||!t||!t.length?!1:kb(e).some(
|
|
|
576
582
|
.gh-portal-loadingicon.dark rect {
|
|
577
583
|
fill: var(--grey0);
|
|
578
584
|
}
|
|
579
|
-
`,
|
|
585
|
+
`,Bx=({brandColor:e,retry:t,disabled:n,style:r={},isPrimary:i})=>{let o=e||"#3eb0ef",a="1.0",s="auto";return n&&(a="0.5",s="none"),{button:{...i?{color:"#fff"}:{},...i?{backgroundColor:o}:{},opacity:a,pointerEvents:s,...r||{}}}};function pe({label:e,onClick:t,disabled:n=!1,retry:r=!1,brandColor:i,isRunning:o,isPrimary:a=!0,isDestructive:s=!1,classes:l="",style:u={},tabindex:p=void 0,dataTestId:d}){let m=Bx({disabled:n,retry:r,brandColor:i,style:u,isPrimary:a}),g="gh-portal-btn";a&&(g+=" gh-portal-btn-main gh-portal-btn-primary"),s&&(g+=" gh-portal-btn-destructive"),l&&(g+=" "+l),gr()&&(n=!0);const b=a?"gh-portal-loadingicon":"gh-portal-loadingicon dark";return c.jsx("button",{className:g,style:m.button,onClick:x=>t(x),disabled:n,type:"submit",tabIndex:p,"data-test-button":d,children:o?c.jsx(Ui,{className:b}):e})}const Hx=e=>w.createElement("svg",{id:"Regular",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e},w.createElement("defs",null,w.createElement("style",null,".cls-1{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;fill-rule:evenodd;}")),w.createElement("path",{className:"cls-1",d:"M16.25,23.25,5.53,12.53a.749.749,0,0,1,0-1.06L16.25.75"})),Wx=`
|
|
580
586
|
.gh-portal-btn-back,
|
|
581
587
|
.gh-portal-btn-back:hover {
|
|
582
588
|
box-shadow: none;
|
|
@@ -613,7 +619,7 @@ Url: ${oa(e)}`),!0)}function yb(e,t){return e.type||!t||!t.length?!1:kb(e).some(
|
|
|
613
619
|
margin-top: 1px;
|
|
614
620
|
margin-right: 2px;
|
|
615
621
|
}
|
|
616
|
-
`;function
|
|
622
|
+
`;function xr({label:e=null,brandColor:t="#3eb0ef",hidden:n=!1,onClick:r}){const{t:i}=w.useContext(N);return n?null:(e===null&&(e=i("Back")),c.jsxs("button",{className:"gh-portal-btn gh-portal-btn-back",onClick:o=>r(o),children:[c.jsx(Hx,{})," ",e]}))}const Gx=`
|
|
617
623
|
.gh-portal-for-switch label,
|
|
618
624
|
.gh-portal-for-switch .container {
|
|
619
625
|
position: relative;
|
|
@@ -682,8 +688,8 @@ Url: ${oa(e)}`),!0)}function yb(e,t){return e.type||!t||!t.length?!1:kb(e).some(
|
|
|
682
688
|
width: 38px !important;
|
|
683
689
|
height: 22px !important;
|
|
684
690
|
}
|
|
685
|
-
`;function
|
|
686
|
-
`;let
|
|
691
|
+
`;function Ma({id:e,label:t="",onToggle:n,checked:r=!1,dataTestId:i="switch-input"}){const{action:o}=w.useContext(N),[a,s]=w.useState(r),l=["updateNewsletter:failed","updateNewsletter:success"].includes(o);return w.useEffect(()=>{s(r)},[r,l]),c.jsx("div",{className:"gh-portal-for-switch","data-test-switch":i,children:c.jsxs("label",{className:"switch",htmlFor:e,children:[c.jsx("input",{type:"checkbox",checked:a,id:e,onChange:()=>{},"aria-label":t}),c.jsx("span",{className:"input-toggle-component",onClick:u=>{s(!a),n(u,!a)},"data-testid":i})]})})}const Vx=`.gh-portal-account-header{display:flex;flex-direction:column;align-items:center;margin:0 0 32px}.gh-portal-account-header .gh-portal-avatar{margin:6px 0 8px!important}.gh-portal-account-data{margin-bottom:40px}footer.gh-portal-account-footer{display:flex}.gh-portal-account-footer.paid{margin-top:12px}.gh-portal-account-footermenu{display:flex;align-items:center;list-style:none;padding:0;margin:0}.gh-portal-account-footerright{display:flex;flex-grow:1;align-items:center;justify-content:flex-end}.gh-portal-account-footermenu li{margin-right:16px}.gh-portal-account-footermenu li:last-of-type{margin-right:0}.gh-portal-freeaccount-newsletter{display:flex;align-items:center;justify-content:space-between;margin-top:24px}.gh-portal-freeaccount-newsletter .label{display:flex;flex-direction:column;flex-grow:1}.gh-portal-free-ctatext{margin-top:-12px}.gh-portal-cancelcontinue-container{margin:24px 0 32px}.gh-portal-list-detail .gh-portal-email-notice{display:flex;align-items:center;gap:5px;margin-top:6px;color:var(--red);font-weight:500;font-size:1.25rem;letter-spacing:.2px}.gh-portal-email-notice-icon{width:20px;height:20px}.gh-portal-billing-button-loader{width:32px;height:32px;margin-right:-3px;opacity:.6}.gh-portal-product-icon{width:52px;margin-right:12px;border-radius:2px}.gh-portal-account-discountcontainer{position:relative;display:flex;align-items:center}.gh-portal-account-old-price{text-decoration:line-through;color:var(--grey9)!important}.gh-portal-account-tagicon{width:16px;height:16px;color:var(--brandcolor);margin-right:5px;z-index:999}@media (max-width: 390px){.gh-portal-account-footer{padding:0!important}}@media (max-width: 340px){.gh-portal-account-footer{padding:0!important;flex-wrap:wrap;gap:12px}.gh-portal-account-footer .gh-portal-account-footerright{justify-content:flex-start}}
|
|
692
|
+
`;let ye=(du=class extends O.Component{constructor(){super(...arguments);Q(this,"closePopup",()=>{this.context.onAction("closePopup")})}render(){const{onClick:n}=this.props;return c.jsx("div",{className:"gh-portal-closeicon-container","data-test-button":"close-popup",children:c.jsx(Qc,{className:"gh-portal-closeicon",alt:"Close",onClick:n||this.closePopup})})}},Q(du,"contextType",N),du);const uh=e=>w.createElement("svg",{width:15,height:14,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},w.createElement("path",{d:"M1 6.89286L6.10714 12L13.9643 1",stroke:"#222222",strokeWidth:2}));function qx(e,t){if(isNaN(e)||isNaN(t))return 0;const n=e?100-Math.floor(t/12*100/e):0;return n>=1&&n<100?n:0}const Kx=({site:e})=>`
|
|
687
693
|
.gh-portal-products {
|
|
688
694
|
display: flex;
|
|
689
695
|
flex-direction: column;
|
|
@@ -1185,7 +1191,8 @@ Url: ${oa(e)}`),!0)}function yb(e,t){return e.type||!t||!t.length?!1:kb(e).some(
|
|
|
1185
1191
|
min-height: unset;
|
|
1186
1192
|
}
|
|
1187
1193
|
}
|
|
1188
|
-
`,xr=W.createContext({selectedInterval:"month",selectedProduct:"free",selectedPlan:null,setSelectedProduct:null});function Ex({product:e}){return!e.benefits||!e.benefits.length?null:e.benefits.map((t,n)=>{const r=(t==null?void 0:t.id)||`benefit-${n}`;return c.jsxs("div",{className:"gh-portal-product-benefit",children:[c.jsx(em,{className:"gh-portal-benefit-checkmark",alt:""}),c.jsx("div",{className:"gh-portal-benefit-title",children:t.name})]},r)})}function Hc({product:e,hide:t=!1}){if(!e.benefits||!e.benefits.length||t)return null;let n="gh-portal-product-benefits";return c.jsx("div",{className:n,children:c.jsx(Ex,{product:e})})}function tm({price:e}){const{site:t}=x.useContext($),{portal_plans:n}=t;return!n.includes("monthly")||!n.includes("yearly")?c.jsx("div",{className:"gh-portal-product-alternative-price"}):c.jsx("div",{className:"gh-portal-product-alternative-price",children:tx(e)})}function Cx({trialDays:e,discount:t,selectedInterval:n}){const{site:r,t:i}=x.useContext($);return wa({site:r})?e?c.jsx("span",{className:"gh-portal-discount-label",children:i("{{trialDays}} days free",{trialDays:e})}):null:n==="year"?c.jsx("span",{className:"gh-portal-discount-label",children:i("{{discount}}% discount",{discount:t})}):null}function nm({product:e}){const{selectedInterval:t}=x.useContext(xr),{site:n}=x.useContext($),r=e.monthlyPrice,i=e.yearlyPrice,o=e.trial_days,a=t==="month"?r:i,s=t==="month"?i:r;if(!r||!i)return null;const l=_x(e.monthlyPrice.amount,e.yearlyPrice.amount),u=de(a.currency);return wa({site:n})?c.jsx(c.Fragment,{children:c.jsxs("div",{className:"gh-portal-product-card-pricecontainer",children:[c.jsxs("div",{className:"gh-portal-product-card-price-trial",children:[c.jsxs("div",{className:"gh-portal-product-price",children:[c.jsx("span",{className:"currency-sign"+(u.length>1?" long":""),children:u}),c.jsx("span",{className:"amount","data-testid":"product-amount",children:vr(Bc(a.amount))}),c.jsxs("span",{className:"billing-period",children:["/",a.interval]})]}),c.jsx(Cx,{trialDays:o,discount:l,selectedInterval:t})]}),t==="year"?c.jsx(rm,{discount:l,trialDays:o}):"",c.jsx(tm,{price:s})]})}):c.jsxs("div",{className:"gh-portal-product-card-pricecontainer",children:[c.jsxs("div",{className:"gh-portal-product-card-price-trial",children:[c.jsxs("div",{className:"gh-portal-product-price",children:[c.jsx("span",{className:"currency-sign"+(u.length>1?" long":""),children:u}),c.jsx("span",{className:"amount","data-testid":"product-amount",children:vr(Bc(a.amount))}),c.jsxs("span",{className:"billing-period",children:["/",a.interval]})]}),t==="year"?c.jsx(rm,{discount:l}):""]}),c.jsx(tm,{price:s})]})}function jx({products:e,handleChooseSignup:t,error:n}){const{site:r,action:i}=x.useContext($),{selectedProduct:o,setSelectedProduct:a}=x.useContext(xr);let s=o==="free"?"gh-portal-product-card free checked":"gh-portal-product-card free";const l=mr({site:r});let u=zh({site:r}),p=i==="signup:running";fr()&&(p=!0);let d="$";e&&e[1]?d=de(e[1].monthlyPrice.currency):d="$";const f=Sa({site:r}),y=Mh({site:r});if(f){if(!u&&!y.length)return null;s+=" only-free"}return!u&&!y.length&&(u="Free preview"),c.jsx(c.Fragment,{children:c.jsxs("div",{className:s,onClick:v=>{v.stopPropagation(),a("free")},"data-test-tier":"free",children:[c.jsxs("div",{className:"gh-portal-product-card-header",children:[c.jsx("h4",{className:"gh-portal-product-name",children:Ih({site:r})}),f?"":c.jsx("div",{className:"gh-portal-product-card-pricecontainer free-trial-disabled",children:c.jsxs("div",{className:"gh-portal-product-price",children:[c.jsx("span",{className:"currency-sign"+(d.length>1?" long":""),children:d}),c.jsx("span",{className:"amount","data-testid":"product-amount",children:"0"})]})})]}),c.jsxs("div",{className:"gh-portal-product-card-details",children:[c.jsxs("div",{className:"gh-portal-product-card-detaildata",children:[u?c.jsx("div",{className:"gh-portal-product-description","data-testid":"product-description",children:u}):"",c.jsx(Hc,{product:l})]}),f?"":c.jsxs("div",{className:"gh-portal-btn-product",children:[c.jsx("button",{"data-test-button":"select-tier",className:"gh-portal-btn",disabled:p,onClick:v=>{t(v,"free")},children:o==="free"&&p?c.jsx(Ai,{className:"gh-portal-loadingicon"}):"Choose"}),n&&c.jsx("div",{className:"gh-portal-error-message",children:n})]})]})]})})}function Px({selectedProduct:e,product:t,disabled:n,noOfProducts:r,trialDays:i}){return e===t.id&&n?c.jsx(Ai,{className:"gh-portal-loadingicon"}):i>0?"Start "+i+"-day free trial":r>1?"Choose":"Continue"}function Nx({product:e,products:t,selectedInterval:n,handleChooseSignup:r,error:i}){var y;const{selectedProduct:o,setSelectedProduct:a}=x.useContext(xr),{action:s}=x.useContext($),l=e.trial_days,u=o===e.id?"gh-portal-product-card checked":"gh-portal-product-card",p=(y=t==null?void 0:t.filter(v=>v.type==="paid"))==null?void 0:y.length;let d=!!["signup:running","checkoutPlan:running"].includes(s);fr()&&(d=!0);let f=e.description;return(!e.benefits||!e.benefits.length)&&!f&&(f="Full access"),c.jsx(c.Fragment,{children:c.jsxs("div",{className:u,onClick:v=>{v.stopPropagation(),a(e.id)},"data-test-tier":"paid",children:[c.jsxs("div",{className:"gh-portal-product-card-header",children:[c.jsx("h4",{className:"gh-portal-product-name",children:e.name}),c.jsx(nm,{product:e})]}),c.jsxs("div",{className:"gh-portal-product-card-details",children:[c.jsxs("div",{className:"gh-portal-product-card-detaildata",children:[c.jsx("div",{className:"gh-portal-product-description","data-testid":"product-description",children:f}),c.jsx(Hc,{product:e})]}),c.jsxs("div",{className:"gh-portal-btn-product",children:[c.jsx("button",{"data-test-button":"select-tier",disabled:d,className:"gh-portal-btn",onClick:v=>{const w=Gc({products:t,selectedInterval:n,selectedProduct:e.id});r(v,w.id)},children:c.jsx(Px,{selectedProduct:o,product:e,disabled:d,noOfProducts:p,trialDays:l})}),i&&c.jsx("div",{className:"gh-portal-error-message",children:i})]})]})]},e.id)})}function $x({product:e,products:t,selectedInterval:n,errors:r}){const i=Gc({products:t,selectedInterval:n,selectedProduct:e.id});return i&&i.id&&r&&r[i.id]?r[i.id]:null}function Tx({products:e,selectedInterval:t,handleChooseSignup:n,errors:r}){return e.map(i=>{const o=$x({product:i,products:e,selectedInterval:t,errors:r});return i.id==="free"?c.jsx(jx,{products:e,handleChooseSignup:n,error:o},i.id):c.jsx(Nx,{products:e,product:i,selectedInterval:t,handleChooseSignup:n,error:o},i.id)})}function rm({discount:e,trialDays:t}){const{site:n}=x.useContext($),{portal_plans:r}=n;return e===0||!r.includes("monthly")?null:wa({site:n})?c.jsx(c.Fragment,{children:c.jsxs("span",{className:"gh-portal-discount-label-trial",children:[e,"% discount"]})}):c.jsx(c.Fragment,{children:c.jsxs("span",{className:"gh-portal-discount-label",children:[e,"% discount"]})})}function im({products:e,selectedInterval:t,setSelectedInterval:n}){const{site:r,t:i}=x.useContext($),{portal_plans:o}=r;return!o.includes("monthly")||!o.includes("yearly")?null:c.jsx("div",{className:"gh-portal-logged-out-form-container",children:c.jsxs("div",{className:"gh-portal-products-pricetoggle"+(t==="month"?" left":""),children:[c.jsx("button",{"data-test-button":"switch-monthly",className:"gh-portal-btn"+(t==="month"?" active":""),onClick:a=>{n("month")},children:i("Monthly")}),c.jsx("button",{"data-test-button":"switch-yearly",className:"gh-portal-btn"+(t==="year"?" active":""),onClick:a=>{n("year")},children:i("Yearly")})]})})}function Gc({products:e,selectedProduct:t,selectedInterval:n}){let r=null;if(t==="free")r={id:"free"};else{let i=e.find(o=>o.id===t);i||(i=e.find(o=>o.type==="paid")),r=n==="month"?i==null?void 0:i.monthlyPrice:i==null?void 0:i.yearlyPrice}return r}function Ta({portalPlans:e,selectedInterval:t="year"}){if(t==="month"&&e.includes("monthly"))return"month";if(t==="year"&&e.includes("yearly"))return"year";if(e.includes("monthly"))return"month";if(e.includes("yearly"))return"year"}function om({onPlanSelect:e,products:t,type:n=null,handleChooseSignup:r,errors:i}){var h,m;const{site:o}=x.useContext($),{portal_plans:a}=o,s=Ta({portalPlans:a}),l=t.length>0?t[0].id:"free",[u,p]=x.useState(s),[d,f]=x.useState(l),y=Gc({products:t,selectedInterval:u,selectedProduct:d}),v=Ta({portalPlans:a,selectedInterval:u});if(x.useEffect(()=>{f(l)},[l]),x.useEffect(()=>{e(null,y.id)},[y.id,e]),!a.includes("monthly")&&!a.includes("yearly")||t.length===0)return null;let w="gh-portal-products";n==="upgrade"&&(w+=" gh-portal-upgrade-product");let g=((h=t.find(b=>b.id===d))==null?void 0:h.id)||((m=t.find(b=>b.type==="paid"))==null?void 0:m.id);return c.jsx(xr.Provider,{value:{selectedInterval:v,selectedProduct:g,setSelectedProduct:f},children:c.jsxs("section",{className:w,children:[Sa({site:o})?"":c.jsx(im,{products:t,selectedInterval:v,setSelectedInterval:p}),c.jsx("div",{className:"gh-portal-products-grid",children:c.jsx(Tx,{products:t,selectedInterval:v,handleChooseSignup:r,errors:i})})]})})}function Rx({onPlanSelect:e,selectedPlan:t,products:n,type:r=null}){var h;const{site:i,member:o}=x.useContext($),{portal_plans:a}=i,s=kn({member:o}),l=Uh({site:i,priceId:s.id}),u=Ta({portalPlans:a,selectedInterval:s.interval}),p=(l==null?void 0:l.id)||((h=n==null?void 0:n[0])==null?void 0:h.id),[d,f]=x.useState(u),[y,v]=x.useState(p),w=Ta({portalPlans:a,selectedInterval:d});if(x.useEffect(()=>{v(p)},[p]),!a.includes("monthly")&&!a.includes("yearly")||n.length===0)return null;let g="gh-portal-products";return r==="upgrade"&&(g+=" gh-portal-upgrade-product"),r==="changePlan"&&(g+=" gh-portal-upgrade-product gh-portal-change-plan"),c.jsx(xr.Provider,{value:{selectedInterval:w,selectedProduct:y,selectedPlan:t,setSelectedProduct:v},children:c.jsxs("section",{className:g,children:[c.jsx(im,{selectedInterval:w,setSelectedInterval:f}),c.jsx("div",{className:"gh-portal-products-grid",children:c.jsx(Ax,{products:n,onPlanSelect:e})})]})})}function Dx({product:e,selectedPrice:t,activePrice:n}){return e!=null&&e.description?c.jsx("div",{className:"gh-portal-product-description","data-testid":"product-description",children:e.description}):null}function Ox({product:e,onPlanSelect:t}){const{member:n,site:r}=x.useContext($),{selectedProduct:i,setSelectedProduct:o,selectedInterval:a}=x.useContext(xr),s=i===e.id?"gh-portal-product-card checked":"gh-portal-product-card",l=e.monthlyPrice,u=e.yearlyPrice,p=kn({member:n}),d=a==="month"?l:u,f=Y1({member:n,site:r,priceId:d.id});return c.jsxs("div",{className:s+(f?" disabled":""),onClick:y=>{y.stopPropagation(),o(e.id)},"data-test-tier":"paid",children:[c.jsxs("div",{className:"gh-portal-product-card-header",children:[c.jsx("h4",{className:"gh-portal-product-name",children:e.name}),c.jsx(nm,{product:e})]}),c.jsxs("div",{className:"gh-portal-product-card-details",children:[c.jsxs("div",{className:"gh-portal-product-card-detaildata",children:[e.description?c.jsx(Dx,{product:e,selectedPrice:d,activePrice:p}):"",c.jsx(Hc,{product:e})]}),f?c.jsx("div",{className:"gh-portal-btn-product",children:c.jsx("span",{className:"gh-portal-current-plan",children:c.jsx("span",{children:"Current plan"})})}):c.jsx("div",{className:"gh-portal-btn-product",children:c.jsx("button",{"data-test-button":"select-tier",className:"gh-portal-btn",onClick:()=>{t(null,d==null?void 0:d.id)},children:"Choose"})})]})]},e.id)}function Ax({products:e,onPlanSelect:t}){return e.map(n=>n.id==="free"?null:c.jsx(Ox,{product:n,onPlanSelect:t},n.id))}function Lx({products:e,selectedPlan:t,onPlanSelect:n,onPlanCheckout:r,changePlan:i=!1}){return fr()&&(n=()=>{}),i?c.jsx("section",{className:"gh-portal-plans",children:c.jsx("div",{children:c.jsx(Rx,{type:"changePlan",products:e,selectedPlan:t,onPlanSelect:n})})}):c.jsx("section",{className:"gh-portal-plans",children:c.jsx("div",{children:c.jsx(om,{type:"upgrade",products:e,onPlanSelect:n,handleChooseSignup:(...a)=>{r(...a)}})})})}const Mx=`
|
|
1194
|
+
`,Sr=O.createContext({selectedInterval:"month",selectedProduct:"free",selectedPlan:null,setSelectedProduct:null});function Jx({product:e}){return!e.benefits||!e.benefits.length?null:e.benefits.map((t,n)=>{const r=(t==null?void 0:t.id)||`benefit-${n}`;return c.jsxs("div",{className:"gh-portal-product-benefit",children:[c.jsx(uh,{className:"gh-portal-benefit-checkmark",alt:""}),c.jsx("div",{className:"gh-portal-benefit-title",children:t.name})]},r)})}function Zc({product:e,hide:t=!1}){if(!e.benefits||!e.benefits.length||t)return null;let n="gh-portal-product-benefits";return c.jsx("div",{className:n,children:c.jsx(Jx,{product:e})})}function dh({price:e}){const{site:t}=w.useContext(N),{portal_plans:n}=t;return!n.includes("monthly")||!n.includes("yearly")?c.jsx("div",{className:"gh-portal-product-alternative-price"}):c.jsx("div",{className:"gh-portal-product-alternative-price",children:$x(e)})}function Qx({trialDays:e,discount:t,selectedInterval:n}){const{site:r,t:i}=w.useContext(N);return _a({site:r})?e?c.jsx("span",{className:"gh-portal-discount-label",children:i("{{trialDays}} days free",{trialDays:e})}):null:n==="year"?c.jsx("span",{className:"gh-portal-discount-label",children:i("{{discount}}% discount",{discount:t})}):null}function ph({product:e}){const{selectedInterval:t}=w.useContext(Sr),{site:n}=w.useContext(N),r=e.monthlyPrice,i=e.yearlyPrice,o=e.trial_days,a=t==="month"?r:i,s=t==="month"?i:r;if(!r||!i)return null;const l=qx(e.monthlyPrice.amount,e.yearlyPrice.amount),u=de(a.currency);return _a({site:n})?c.jsx(c.Fragment,{children:c.jsxs("div",{className:"gh-portal-product-card-pricecontainer",children:[c.jsxs("div",{className:"gh-portal-product-card-price-trial",children:[c.jsxs("div",{className:"gh-portal-product-price",children:[c.jsx("span",{className:"currency-sign"+(u.length>1?" long":""),children:u}),c.jsx("span",{className:"amount","data-testid":"product-amount",children:wr(Jc(a.amount))}),c.jsxs("span",{className:"billing-period",children:["/",a.interval]})]}),c.jsx(Qx,{trialDays:o,discount:l,selectedInterval:t})]}),t==="year"?c.jsx(mh,{discount:l,trialDays:o}):"",c.jsx(dh,{price:s})]})}):c.jsxs("div",{className:"gh-portal-product-card-pricecontainer",children:[c.jsxs("div",{className:"gh-portal-product-card-price-trial",children:[c.jsxs("div",{className:"gh-portal-product-price",children:[c.jsx("span",{className:"currency-sign"+(u.length>1?" long":""),children:u}),c.jsx("span",{className:"amount","data-testid":"product-amount",children:wr(Jc(a.amount))}),c.jsxs("span",{className:"billing-period",children:["/",a.interval]})]}),t==="year"?c.jsx(mh,{discount:l}):""]}),c.jsx(dh,{price:s})]})}function Xx({products:e,handleChooseSignup:t,error:n}){const{site:r,action:i}=w.useContext(N),{selectedProduct:o,setSelectedProduct:a}=w.useContext(Sr);let s=o==="free"?"gh-portal-product-card free checked":"gh-portal-product-card free";const l=br({site:r});let u=Kf({site:r}),p=i==="signup:running";gr()&&(p=!0);let d="$";e&&e[1]?d=de(e[1].monthlyPrice.currency):d="$";const m=ja({site:r}),g=Vf({site:r});if(m){if(!u&&!g.length)return null;s+=" only-free"}return!u&&!g.length&&(u="Free preview"),c.jsx(c.Fragment,{children:c.jsxs("div",{className:s,onClick:b=>{b.stopPropagation(),a("free")},"data-test-tier":"free",children:[c.jsxs("div",{className:"gh-portal-product-card-header",children:[c.jsx("h4",{className:"gh-portal-product-name",children:qf({site:r})}),m?"":c.jsx("div",{className:"gh-portal-product-card-pricecontainer free-trial-disabled",children:c.jsxs("div",{className:"gh-portal-product-price",children:[c.jsx("span",{className:"currency-sign"+(d.length>1?" long":""),children:d}),c.jsx("span",{className:"amount","data-testid":"product-amount",children:"0"})]})})]}),c.jsxs("div",{className:"gh-portal-product-card-details",children:[c.jsxs("div",{className:"gh-portal-product-card-detaildata",children:[u?c.jsx("div",{className:"gh-portal-product-description","data-testid":"product-description",children:u}):"",c.jsx(Zc,{product:l})]}),m?"":c.jsxs("div",{className:"gh-portal-btn-product",children:[c.jsx("button",{"data-test-button":"select-tier",className:"gh-portal-btn",disabled:p,onClick:b=>{t(b,"free")},children:o==="free"&&p?c.jsx(Ui,{className:"gh-portal-loadingicon"}):"Choose"}),n&&c.jsx("div",{className:"gh-portal-error-message",children:n})]})]})]})})}function Zx({selectedProduct:e,product:t,disabled:n,noOfProducts:r,trialDays:i}){return e===t.id&&n?c.jsx(Ui,{className:"gh-portal-loadingicon"}):i>0?"Start "+i+"-day free trial":r>1?"Choose":"Continue"}function e0({product:e,products:t,selectedInterval:n,handleChooseSignup:r,error:i}){var g;const{selectedProduct:o,setSelectedProduct:a}=w.useContext(Sr),{action:s}=w.useContext(N),l=e.trial_days,u=o===e.id?"gh-portal-product-card checked":"gh-portal-product-card",p=(g=t==null?void 0:t.filter(b=>b.type==="paid"))==null?void 0:g.length;let d=!!["signup:running","checkoutPlan:running"].includes(s);gr()&&(d=!0);let m=e.description;return(!e.benefits||!e.benefits.length)&&!m&&(m="Full access"),c.jsx(c.Fragment,{children:c.jsxs("div",{className:u,onClick:b=>{b.stopPropagation(),a(e.id)},"data-test-tier":"paid",children:[c.jsxs("div",{className:"gh-portal-product-card-header",children:[c.jsx("h4",{className:"gh-portal-product-name",children:e.name}),c.jsx(ph,{product:e})]}),c.jsxs("div",{className:"gh-portal-product-card-details",children:[c.jsxs("div",{className:"gh-portal-product-card-detaildata",children:[c.jsx("div",{className:"gh-portal-product-description","data-testid":"product-description",children:m}),c.jsx(Zc,{product:e})]}),c.jsxs("div",{className:"gh-portal-btn-product",children:[c.jsx("button",{"data-test-button":"select-tier",disabled:d,className:"gh-portal-btn",onClick:b=>{const x=eu({products:t,selectedInterval:n,selectedProduct:e.id});r(b,x.id)},children:c.jsx(Zx,{selectedProduct:o,product:e,disabled:d,noOfProducts:p,trialDays:l})}),i&&c.jsx("div",{className:"gh-portal-error-message",children:i})]})]})]},e.id)})}function t0({product:e,products:t,selectedInterval:n,errors:r}){const i=eu({products:t,selectedInterval:n,selectedProduct:e.id});return i&&i.id&&r&&r[i.id]?r[i.id]:null}function n0({products:e,selectedInterval:t,handleChooseSignup:n,errors:r}){return e.map(i=>{const o=t0({product:i,products:e,selectedInterval:t,errors:r});return i.id==="free"?c.jsx(Xx,{products:e,handleChooseSignup:n,error:o},i.id):c.jsx(e0,{products:e,product:i,selectedInterval:t,handleChooseSignup:n,error:o},i.id)})}function mh({discount:e,trialDays:t}){const{site:n,t:r}=w.useContext(N),{portal_plans:i}=n;return e===0||!i.includes("monthly")?null:_a({site:n})?c.jsx(c.Fragment,{children:c.jsx("span",{className:"gh-portal-discount-label-trial",children:r("{{discount}}% discount",{discount:e})})}):c.jsx(c.Fragment,{children:c.jsx("span",{className:"gh-portal-discount-label",children:r("{{discount}}% discount",{discount:e})})})}function fh({products:e,selectedInterval:t,setSelectedInterval:n}){const{site:r,t:i}=w.useContext(N),{portal_plans:o}=r;return!o.includes("monthly")||!o.includes("yearly")?null:c.jsx("div",{className:"gh-portal-logged-out-form-container",children:c.jsxs("div",{className:"gh-portal-products-pricetoggle"+(t==="month"?" left":""),children:[c.jsx("button",{"data-test-button":"switch-monthly",className:"gh-portal-btn"+(t==="month"?" active":""),onClick:a=>{n("month")},children:i("Monthly")}),c.jsx("button",{"data-test-button":"switch-yearly",className:"gh-portal-btn"+(t==="year"?" active":""),onClick:a=>{n("year")},children:i("Yearly")})]})})}function eu({products:e,selectedProduct:t,selectedInterval:n}){let r=null;if(t==="free")r={id:"free"};else{let i=e.find(o=>o.id===t);i||(i=e.find(o=>o.type==="paid")),r=n==="month"?i==null?void 0:i.monthlyPrice:i==null?void 0:i.yearlyPrice}return r}function Ra({portalPlans:e,selectedInterval:t="year"}){if(t==="month"&&e.includes("monthly"))return"month";if(t==="year"&&e.includes("yearly"))return"year";if(e.includes("monthly"))return"month";if(e.includes("yearly"))return"year"}function hh({onPlanSelect:e,products:t,type:n=null,handleChooseSignup:r,errors:i}){var f,h;const{site:o}=w.useContext(N),{portal_plans:a}=o,s=Ra({portalPlans:a}),l=t.length>0?t[0].id:"free",[u,p]=w.useState(s),[d,m]=w.useState(l),g=eu({products:t,selectedInterval:u,selectedProduct:d}),b=Ra({portalPlans:a,selectedInterval:u});if(w.useEffect(()=>{m(l)},[l]),w.useEffect(()=>{e(null,g.id)},[g.id,e]),!a.includes("monthly")&&!a.includes("yearly")||t.length===0)return null;let x="gh-portal-products";n==="upgrade"&&(x+=" gh-portal-upgrade-product");let y=((f=t.find(v=>v.id===d))==null?void 0:f.id)||((h=t.find(v=>v.type==="paid"))==null?void 0:h.id);return c.jsx(Sr.Provider,{value:{selectedInterval:b,selectedProduct:y,setSelectedProduct:m},children:c.jsxs("section",{className:x,children:[ja({site:o})?"":c.jsx(fh,{products:t,selectedInterval:b,setSelectedInterval:p}),c.jsx("div",{className:"gh-portal-products-grid",children:c.jsx(n0,{products:t,selectedInterval:b,handleChooseSignup:r,errors:i})})]})})}function r0({onPlanSelect:e,selectedPlan:t,products:n,type:r=null}){var f;const{site:i,member:o}=w.useContext(N),{portal_plans:a}=i,s=En({member:o}),l=Xf({site:i,priceId:s.id}),u=Ra({portalPlans:a,selectedInterval:s.interval}),p=(l==null?void 0:l.id)||((f=n==null?void 0:n[0])==null?void 0:f.id),[d,m]=w.useState(u),[g,b]=w.useState(p),x=Ra({portalPlans:a,selectedInterval:d});if(w.useEffect(()=>{b(p)},[p]),!a.includes("monthly")&&!a.includes("yearly")||n.length===0)return null;let y="gh-portal-products";return r==="upgrade"&&(y+=" gh-portal-upgrade-product"),r==="changePlan"&&(y+=" gh-portal-upgrade-product gh-portal-change-plan"),c.jsx(Sr.Provider,{value:{selectedInterval:x,selectedProduct:g,selectedPlan:t,setSelectedProduct:b},children:c.jsxs("section",{className:y,children:[c.jsx(fh,{selectedInterval:x,setSelectedInterval:m}),c.jsx("div",{className:"gh-portal-products-grid",children:c.jsx(a0,{products:n,onPlanSelect:e})})]})})}function i0({product:e,selectedPrice:t,activePrice:n}){return e!=null&&e.description?c.jsx("div",{className:"gh-portal-product-description","data-testid":"product-description",children:e.description}):null}function o0({product:e,onPlanSelect:t}){const{member:n,site:r,t:i}=w.useContext(N),{selectedProduct:o,setSelectedProduct:a,selectedInterval:s}=w.useContext(Sr),l=o===e.id?"gh-portal-product-card checked":"gh-portal-product-card",u=e.monthlyPrice,p=e.yearlyPrice,d=En({member:n}),m=s==="month"?u:p,g=fx({member:n,site:r,priceId:m.id});return c.jsxs("div",{className:l+(g?" disabled":""),onClick:b=>{b.stopPropagation(),a(e.id)},"data-test-tier":"paid",children:[c.jsxs("div",{className:"gh-portal-product-card-header",children:[c.jsx("h4",{className:"gh-portal-product-name",children:e.name}),c.jsx(ph,{product:e})]}),c.jsxs("div",{className:"gh-portal-product-card-details",children:[c.jsxs("div",{className:"gh-portal-product-card-detaildata",children:[e.description?c.jsx(i0,{product:e,selectedPrice:m,activePrice:d}):"",c.jsx(Zc,{product:e})]}),g?c.jsx("div",{className:"gh-portal-btn-product",children:c.jsx("span",{className:"gh-portal-current-plan",children:c.jsx("span",{children:i("Current plan")})})}):c.jsx("div",{className:"gh-portal-btn-product",children:c.jsx("button",{"data-test-button":"select-tier",className:"gh-portal-btn",onClick:()=>{t(null,m==null?void 0:m.id)},children:i("Choose")})})]})]},e.id)}function a0({products:e,onPlanSelect:t}){return e.map(n=>n.id==="free"?null:c.jsx(o0,{product:n,onPlanSelect:t},n.id))}function s0({products:e,selectedPlan:t,onPlanSelect:n,onPlanCheckout:r,changePlan:i=!1}){return gr()&&(n=()=>{}),i?c.jsx("section",{className:"gh-portal-plans",children:c.jsx("div",{children:c.jsx(r0,{type:"changePlan",products:e,selectedPlan:t,onPlanSelect:n})})}):c.jsx("section",{className:"gh-portal-plans",children:c.jsx("div",{children:c.jsx(hh,{type:"upgrade",products:e,onPlanSelect:n,handleChooseSignup:(...a)=>{r(...a)}})})})}var gh={exports:{}},l0="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",c0=l0,u0=c0;function yh(){}function bh(){}bh.resetWarningCache=yh;var d0=function(){function e(r,i,o,a,s,l){if(l!==u0){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:bh,resetWarningCache:yh};return n.PropTypes=n,n};gh.exports=d0();var p0=gh.exports;const tu=ve(p0);var vh={exports:{}};(function(e){function t(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(vh);var kh=vh.exports;const wh=ve(kh);var xh={exports:{}},Sh={exports:{}},Eh={exports:{}};(function(e){function t(n){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Eh);var Oa=Eh.exports,Ch={exports:{}};(function(e){var t=Oa.default;function n(r,i){if(t(r)!=="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var a=o.call(r,i||"default");if(t(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Ch);var m0=Ch.exports;(function(e){var t=Oa.default,n=m0;function r(i){var o=n(i,"string");return t(o)==="symbol"?o:String(o)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Sh);var $h=Sh.exports;(function(e){var t=$h;function n(i,o){for(var a=0;a<o.length;a++){var s=o[a];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,t(s.key),s)}}function r(i,o,a){return o&&n(i.prototype,o),a&&n(i,a),Object.defineProperty(i,"prototype",{writable:!1}),i}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(xh);var _h=xh.exports;const Ph=ve(_h);function f0(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function h0(e,t){if(e==null)return{};var n=f0(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var La="TOKEN_PLACEHOLDER",Yi="TOKEN_OPEN_TAG",za="TOKEN_CLOSE_TAG",Ua="TOKEN_SELF_TAG",Ya="TOKEN_TEXT",jh="NODE_FRAGMENT",Nh="NODE_TAG_ELEMENT",Th="NODE_VOID_ELEMENT",Ih="NODE_PLACEHOLDER",Dh="NODE_TEXT",g0=["type","children"],Se=function(){function e(t){var n=t.type,r=t.children,i=h0(t,g0);wh(this,e),this.type=n,this.children=r||[];for(var o in i)this[o]=i[o];i.token&&(this.string=i.token.string)}return Ph(e,[{key:"appendChild",value:function(n){this.children.push(n)}},{key:"isLeaf",get:function(){return this.children.length===0}}]),e}();Se.createTagNode=function(e,t){return new Se({type:Nh,children:t,name:e.name,token:e})},Se.createFragmentNode=function(e){return new Se({type:jh,children:e})},Se.createVoidNode=function(e){return new Se({type:Th,name:e.name,token:e})},Se.createTextNode=function(e){return new Se({type:Dh,text:e.string,token:e})},Se.createPlaceholderNode=function(e){return new Se({type:Ih,name:e.name,token:e})};var y0=[{type:La,regex:/{\s*(\w+)\s*}/g},{type:Yi,regex:/<(\w+)>/g},{type:za,regex:/<\/(\w+)>/g},{type:Ua,regex:/<(\w+)\s*\/>/g}],Qe=[{type:La,regex:/{{\s*(\w+)\s*}}/g},{type:Yi,regex:/<(\w+)>/g},{type:za,regex:/<\/(\w+)>/g},{type:Ua,regex:/<(\w+)\s*\/>/g}];function b0(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=v0(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1195
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,s;return{s:function(){n=n.call(e)},n:function(){var u=n.next();return o=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(a)throw s}}}}function v0(e,t){if(e){if(typeof e=="string")return Ah(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ah(e,t)}}function Ah(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function k0(e,t){var n=[],r=b0(t),i;try{for(r.s();!(i=r.n()).done;)for(var o=i.value,a=o.type,s=o.regex,l;(l=s.exec(e))!==null;)n.push({type:a,string:l[0],name:l[1],start:l.index,end:l.index+l[0].length})}catch(g){r.e(g)}finally{r.f()}n.sort(function(g,b){return g.start-b.start});var u=[],p=0;n.forEach(function(g){if(g.start===p){p=g.end;return}var b=g.start,x=e.substring(p,b);u.push({type:Ya,string:x,text:x,start:p,end:b}),p=g.end});var d=e.substring(p);d!==""&&u.push({type:Ya,string:d,start:p,end:e.length});var m=[].concat(u,n).sort(function(g,b){return g.start-b.start});return m}function w0(e,t){t||(t=y0);var n=k0(e,t),r=new x0(n);return r.parse()}var Fi="Syntax error. Please check if each open tag is closed correctly",Mh={type:"EPSILON"},x0=function(){function e(t){wh(this,e),this.tokens=[].concat(t),this.tags=[]}return Ph(e,[{key:"parse",value:function(){var n=this.document();if(!this.predict(Mh.type))throw new Error(Fi);return n}},{key:"document",value:function(){var n=this.elementOrData();return Se.createFragmentNode(n)}},{key:"element",value:function(){var n=this.openTag(),r=this.elementOrData();return this.endTag(),Se.createTagNode(n,r)}},{key:"openTag",value:function(){if(!this.predict(Yi))throw new Error(Fi);return this.pushTag(this.lookahead),this.match(Yi)}},{key:"elementOrData",value:function(){var n=[];if(this.predict(Yi)&&(n.push(this.element()),n=n.concat(this.elementOrData())),this.predict(Ua,Ya,La)){var r=this.match(this.lookahead.type),i;switch(r.type){case Ua:i=Se.createVoidNode(r);break;case Ya:i=Se.createTextNode(r);break;case La:i=Se.createPlaceholderNode(r);break}n.push(i),n=n.concat(this.elementOrData())}return n}},{key:"endTag",value:function(){if(!this.predict(za))throw new Error(Fi);var n=this.tags.pop();if(n.name!==this.lookahead.name)throw new Error(Fi);this.match(za)}},{key:"lookahead",get:function(){return this.tokens.length===0?Mh:this.tokens[0]}},{key:"predict",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return r.includes(this.lookahead.type)}},{key:"match",value:function(n){if(!this.predict(n))throw new Error(Fi);var r=this.tokens.shift();return r}},{key:"pushTag",value:function(n){this.tags.push(n)}}]),e}(),S0=function e(t,n,r){var i=t.children.map(function(l,u){return O.createElement(O.Fragment,{key:r+u},e(l,n,r))});switch(t.type){case Dh:return t.text;case jh:return O.createElement(O.Fragment,null,i);case Th:{var o=n[t.name];return typeof o=="function"?o():o||O.createElement(t.name,null)}case Nh:{var a=n[t.name];if(a===void 0)return O.createElement(t.name,null,i);if(typeof a=="function")return a(i);if(O.isValidElement(a)){if(O.Children.count(a.props.children)!==0)throw new Error("when passing an element as value, the element should not contains children");return O.cloneElement(a,{children:i})}throw new Error('Invalid mapping value for "'.concat(t.name,'". Only element or render function are accepted'))}case Ih:{var s=n[t.name];return s===void 0?(console.warn('missing "'.concat(t.name,'" in mapping')),t.string):typeof s=="function"?s():s}default:return}};function Ue(e){var t=e.string,n=e.syntax,r=e.mapping,i=r===void 0?{}:r,o=e.graceful,a=o===void 0?!0:o;try{var s=w0(t,n);return S0(s,i,t)}catch(l){if(a)return console.error(l),t;throw l}}Ue.propTypes={string:tu.string.isRequired,mapping:tu.object,graceful:tu.bool};const E0=`
|
|
1189
1196
|
.account-plan.full-size .gh-portal-main-title {
|
|
1190
1197
|
font-size: 3.2rem;
|
|
1191
1198
|
margin-top: 44px;
|
|
@@ -1214,7 +1221,7 @@ Url: ${oa(e)}`),!0)}function yb(e,t){return e.type||!t||!t.length?!1:kb(e).some(
|
|
|
1214
1221
|
height: 62px;
|
|
1215
1222
|
padding: 6px 12px;
|
|
1216
1223
|
}
|
|
1217
|
-
`;function
|
|
1224
|
+
`;function C0({confirmationType:e,t}){if(e==="changePlan")return t("Confirm subscription");if(e==="cancel")return t("Cancel subscription");if(e==="subscribe")return t("Subscribe")}const $0=({onBack:e,showConfirmation:t,confirmationType:n})=>{const{member:r,t:i}=w.useContext(N);let o=Et({member:r})?"Change plan":"Choose a plan";return t&&(o=C0({confirmationType:n,t:i})),c.jsx("header",{className:"gh-portal-detail-header",children:c.jsx("h3",{className:"gh-portal-main-title",children:o})})},_0=({member:e,onCancelSubscription:t,action:n,brandColor:r})=>{const{site:i,t:o}=w.useContext(N);if(!e.paid)return null;const a=Je({member:e});if(!a||a.cancel_at_period_end)return null;const s=o("Cancel subscription"),l=["cancelSubscription:running"].includes(n),u=!!l,p=!!a.cancel_at_period_end,d=!a.cancelAtPeriodEnd;return c.jsx("div",{className:"gh-portal-expire-container",children:c.jsx(pe,{dataTestId:"cancel-subscription",onClick:m=>{t({subscriptionId:a.id,cancelAtPeriodEnd:!0})},isRunning:l,disabled:u,isPrimary:p,isDestructive:d,classes:Ea({site:i})?"gh-portal-btn-text mt2 mb4":"",brandColor:r,label:s,style:{width:"100%"}})})},P0=({plan:e,type:t,onConfirm:n})=>{const{site:r,action:i,member:o,brandColor:a,t:s}=w.useContext(N),[l,u]=w.useState(""),p=Je({member:o}),d=["updateSubscription:running","checkoutPlan:running","cancelSubscription:running"].includes(i),m=s("Confirm"),g=St(p.current_period_end),b=En({member:o});let x=s("Starting {{startDate}}",{startDate:g});b.id!==e.id&&(x=s("Starting today"));const y=wr(e.price),f=`${e.currency_symbol}${y}/${e.interval} – ${x}`,h=Xf({site:r,priceId:e==null?void 0:e.id}),v=Ea({site:r})?h==null?void 0:h.name:s("Price");return t==="changePlan"?c.jsxs("div",{className:"gh-portal-logged-out-form-container",children:[c.jsxs("div",{className:"gh-portal-list mb6",children:[c.jsx("section",{children:c.jsxs("div",{className:"gh-portal-list-detail",children:[c.jsx("h3",{children:s("Account")}),c.jsx("p",{children:o.email})]})}),c.jsx("section",{children:c.jsxs("div",{className:"gh-portal-list-detail",children:[c.jsx("h3",{children:v}),c.jsx("p",{children:f})]})})]}),c.jsx(pe,{dataTestId:"confirm-action",onClick:k=>n(k,e),isRunning:d,isPrimary:!0,brandColor:a,label:m,style:{width:"100%",height:"40px"}})]}):c.jsxs("div",{className:"gh-portal-logged-out-form-container gh-portal-cancellation-form",children:[c.jsx("p",{children:c.jsx(Ue,{syntax:Qe,string:s("If you cancel your subscription now, you will continue to have access until {{periodEnd}}."),mapping:{periodEnd:c.jsx("strong",{children:St(p.current_period_end)})}})}),c.jsxs("section",{className:"gh-portal-input-section",children:[c.jsx("div",{className:"gh-portal-input-labelcontainer",children:c.jsx("label",{className:"gh-portal-input-label",children:s("Cancellation reason")})}),c.jsx("textarea",{"data-test-input":"cancellation-reason",className:"gh-portal-input",label:"Cancellation reason",type:"text",name:"cancellation_reason",placeholder:"",value:l,onChange:k=>u(k.target.value),rows:"2",maxLength:"500"},"cancellation_reason")]}),c.jsx(pe,{dataTestId:"confirm-cancel-subscription",onClick:k=>n(k,l),isRunning:d,isPrimary:!0,brandColor:a,label:s("Confirm cancellation"),style:{width:"100%",height:"40px"}})]})},j0=({plans:e,selectedPlan:t,onPlanSelect:n,onCancelSubscription:r})=>{const{member:i,action:o,brandColor:a}=w.useContext(N);return c.jsxs("section",{children:[c.jsx("div",{className:"gh-portal-section gh-portal-accountplans-main",children:c.jsx(Rh,{showLabel:!1,plans:e,selectedPlan:t,onPlanSelect:n,changePlan:!0})}),c.jsx(_0,{member:i,onCancelSubscription:r,action:o,brandColor:a})]})};function Rh({showLabel:e,plans:t,selectedPlan:n,onPlanSelect:r,onPlanCheckout:i,changePlan:o=!1}){const{site:a,member:s}=w.useContext(N),l=px({site:a,member:s});return c.jsx(s0,{products:l,selectedPlan:n,changePlan:o,onPlanSelect:r,onPlanCheckout:i})}const N0=({plans:e,selectedPlan:t,onPlanSelect:n,onPlanCheckout:r})=>{let i="";return e.length===1&&(i="singleplan"),c.jsx("section",{children:c.jsx("div",{className:`gh-portal-section gh-portal-accountplans-main ${i}`,children:c.jsx(Rh,{showLabel:!1,plans:e,selectedPlan:t,onPlanSelect:n,onPlanCheckout:r})})})},T0=({plans:e,selectedPlan:t,confirmationPlan:n,confirmationType:r,showConfirmation:i=!1,onPlanSelect:o,onPlanCheckout:a,onConfirm:s,onCancelSubscription:l})=>{const{member:u}=w.useContext(N),p=Li({member:u})&&yr({member:u});return!Et({member:u})||p?c.jsx(N0,{plans:e,selectedPlan:t,onPlanSelect:o,onPlanCheckout:a}):i?c.jsx(P0,{plan:n,type:r,onConfirm:s}):c.jsx(j0,{plans:e,selectedPlan:t,onCancelSubscription:l,onPlanSelect:o})};class Oh extends O.Component{constructor(n,r){super(n,r);Q(this,"onPlanSelect",(n,r)=>{n==null||n.preventDefault();const{member:i}=this.context,o=Li({member:i})?yr({member:i}):!1;if(!Et({member:i})||o)this.timeoutId=setTimeout(()=>{this.setState(()=>({selectedPlan:r}))},5);else{const a=this.prices.find(u=>u.id===r),l=this.getActivePriceId({member:i})?"changePlan":"subscribe";r!==this.state.selectedPlan&&this.setState({confirmationPlan:a,confirmationType:l,showConfirmation:!0})}});this.state=this.getInitialState()}componentDidMount(){const{member:n}=this.context;n||this.context.onAction("switchPage",{page:"signin"})}componentWillUnmount(){clearTimeout(this.timeoutId)}getInitialState(){const{member:n,site:r}=this.context;this.prices=Na({site:r});let i=En({member:n});i&&(this.prices=mx({prices:this.prices,currency:i.currency}));let o=i?this.prices.find(s=>s.id===i.id):null;return!Et({member:n})&&this.prices.length>0&&(o=this.prices[0]),{selectedPlan:o?o.id:null}}handleSignout(n){n.preventDefault(),this.context.onAction("signout")}onBack(n){this.state.showConfirmation?this.cancelConfirmPage():this.context.onAction("back")}cancelConfirmPage(){this.setState({showConfirmation:!1,confirmationPlan:null,confirmationType:null})}onPlanCheckout(n,r){const{onAction:i,member:o}=this.context;let{confirmationPlan:a,selectedPlan:s}=this.state;r&&(s=r);const l=Li({member:o})?!yr({member:o}):!0;if(Et({member:o})&&l){const u=Je({member:o}),p=u?u.id:"";p&&i("updateSubscription",{plan:a.name,planId:a.id,subscriptionId:p,cancelAtPeriodEnd:!1})}else i("checkoutPlan",{plan:s})}onCancelSubscription({subscriptionId:n,cancelAtPeriodEnd:r}){const{member:i}=this.context,o=hx({subscriptionId:n,member:i}),a=Hf({subscription:o});this.setState({showConfirmation:!0,confirmationPlan:a,confirmationType:"cancel"})}onCancelSubscriptionConfirmation(n){const{member:r}=this.context,i=Je({member:r});if(!i)return null;this.context.onAction("cancelSubscription",{subscriptionId:i.id,cancelAtPeriodEnd:!0,cancellationReason:n})}getActivePriceId({member:n}){const r=En({member:n});return r?r.id:null}onConfirm(n,r){const{confirmationType:i}=this.state;if(i==="cancel")return this.onCancelSubscriptionConfirmation(r);if(["changePlan","subscribe"].includes(i))return this.onPlanCheckout()}render(){const n=this.prices,{selectedPlan:r,showConfirmation:i,confirmationPlan:o,confirmationType:a}=this.state,{lastPage:s}=this.context;return c.jsx(c.Fragment,{children:c.jsxs("div",{className:"gh-portal-content",children:[c.jsx(xr,{onClick:l=>this.onBack(l),hidden:!s&&!i}),c.jsx(ye,{}),c.jsx($0,{onBack:l=>this.onBack(l),confirmationType:a,showConfirmation:i}),c.jsx(T0,{plans:n,selectedPlan:r,showConfirmation:i,confirmationPlan:o,confirmationType:a,onConfirm:(...l)=>this.onConfirm(...l),onCancelSubscription:l=>this.onCancelSubscription(l),onPlanSelect:this.onPlanSelect,onPlanCheckout:(l,u)=>this.onPlanCheckout(l,u)})]})})}}Q(Oh,"contextType",N);const I0=`
|
|
1218
1225
|
.gh-portal-input {
|
|
1219
1226
|
-webkit-appearance: none;
|
|
1220
1227
|
-moz-appearance: none;
|
|
@@ -1275,7 +1282,7 @@ Url: ${oa(e)}`),!0)}function yb(e,t){return e.type||!t||!t.length?!1:kb(e).some(
|
|
|
1275
1282
|
.gh-portal-popup-container:not(.preview) .gh-portal-input:disabled::placeholder {
|
|
1276
1283
|
color: var(--grey9);
|
|
1277
1284
|
}
|
|
1278
|
-
`;function
|
|
1285
|
+
`;function D0({message:e,style:t}){return e?c.jsx("p",{style:{...t||{}},children:e}):null}function A0({name:e,id:t,label:n,hideLabel:r,type:i,value:o,placeholder:a,disabled:s=!1,onChange:l=()=>{},onBlur:u=()=>{},onKeyDown:p=()=>{},tabindex:d,maxlength:m,autoFocus:g,errorMessage:b}){const x=w.useRef(null);t=t||`input-${e}`;const y=r?"gh-portal-input-label hidden":"gh-portal-input-label",f=b?"gh-portal-input error":"gh-portal-input";gr()&&(s=!0),V(["preview"])&&(s=!0);let h="",v="",k="";switch(t){case"input-email":h="off",v="off",k="off";break;case"input-name":h="off",v="off";break}return w.useEffect(()=>{g&&x.current.focus()},[g]),c.jsxs("section",{className:"gh-portal-input-section",children:[c.jsxs("div",{className:"gh-portal-input-labelcontainer",children:[c.jsxs("label",{htmlFor:t,className:y,children:[" ",n," "]}),c.jsx(D0,{message:b,name:e})]}),c.jsx("input",{"data-test-input":t,ref:x,id:t,className:f,type:i,name:e,value:o,placeholder:a,onChange:C=>l(C,e),onKeyDown:C=>p(C,e),onBlur:C=>u(C,e),disabled:s,tabIndex:d,maxLength:m,autoComplete:h,autoCorrect:v,autoCapitalize:k,"aria-label":n})]})}class Lh extends O.Component{render(){const{t}=this.context;return c.jsx(c.Fragment,{children:c.jsxs("button",{className:"gh-portal-btn gh-portal-btn-site-title-back",onClick:()=>{this.props.onBack?this.props.onBack():this.context.onAction("closePopup")},children:[c.jsx("span",{children:"← "})," ",t("Back")]})})}}Q(Lh,"contextType",N);const M0=e=>w.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",...e},w.createElement("g",{transform:"matrix(0.6666666666666666,0,0,0.6666666666666666,0,0)"},w.createElement("path",{d:"M19.5,9.5h-.75V6.75a6.75,6.75,0,0,0-13.5,0V9.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-7.5,9a2,2,0,1,1,2-2A2,2,0,0,1,12,18.5ZM16.25,9a.5.5,0,0,1-.5.5H8.25a.5.5,0,0,1-.5-.5V6.75a4.25,4.25,0,0,1,8.5,0Z",style:{fill:"#000000"}})));function R0({newsletter:e,subscribedNewsletters:t,setSubscribedNewsletters:n,t:r}){const i=t.some(o=>o.id===(e==null?void 0:e.id));return e.paid?c.jsxs("section",{className:"gh-portal-list-toggle-wrapper","data-test-toggle-wrapper":!0,children:[c.jsxs("div",{className:"gh-portal-list-detail gh-portal-list-big",children:[c.jsx("h3",{children:e.name}),c.jsx("p",{children:e.description})]}),c.jsx("div",{class:"gh-portal-lock-icon-container",children:c.jsx(M0,{className:"gh-portal-lock-icon",alt:"",title:r("Unlock access to all newsletters by becoming a paid subscriber.")})})]}):c.jsxs("section",{className:"gh-portal-list-toggle-wrapper","data-test-toggle-wrapper":!0,children:[c.jsxs("div",{className:"gh-portal-list-detail gh-portal-list-big",children:[c.jsx("h3",{children:e.name}),c.jsx("p",{children:e.description})]}),c.jsx("div",{children:c.jsx(Ma,{id:e.id,onToggle:(o,a)=>{let s=[];a?s=t.filter(l=>l.id!==e.id).concat(e):s=t.filter(l=>l.id!==e.id),n(s)},checked:i})})]})}function O0({subscribedNewsletters:e,setSubscribedNewsletters:t}){const{site:n,t:r}=w.useContext(N);return kr({site:n}).map(o=>c.jsx(R0,{newsletter:o,subscribedNewsletters:e,setSubscribedNewsletters:t,t:r},o==null?void 0:o.id))}function nu({pageData:e,onBack:t}){const{brandColor:n,site:r,onAction:i,action:o,t:a}=w.useContext(N),l=kr({site:r}).filter(x=>x.subscribe_on_signup);let u=!1;o==="signup:running"&&(u=!0);let p=a("Continue"),d=!1;o==="signup:failed"&&(p=a("Retry"),d=!0);const m=o==="signup:running",[g,b]=w.useState(l);return c.jsxs("div",{className:"gh-portal-content with-footer gh-portal-newsletter-selection",children:[c.jsx("p",{className:"gh-portal-text-center gh-portal-text-large",children:a("Choose your newsletters")}),c.jsx("div",{className:"gh-portal-section",children:c.jsx("div",{className:"gh-portal-list",children:c.jsx(O0,{subscribedNewsletters:g,setSubscribedNewsletters:b})})}),c.jsx("footer",{className:"gh-portal-action-footer",children:c.jsxs("div",{style:{width:"100%"},children:[c.jsx("div",{style:{marginBottom:"20px"},children:c.jsx(pe,{isRunning:u,retry:d,disabled:m,onClick:x=>{let y=g.map(C=>({id:C.id}));const{name:f,email:h,plan:v,offerId:k}=e;i("signup",{name:f,email:h,plan:v,newsletters:y,offerId:k})},brandColor:n,label:p,style:{width:"100%"}})}),zi({site:r})?null:c.jsx("div",{children:c.jsx("button",{className:"gh-portal-btn gh-portal-btn-link gh-portal-btn-different-plan",onClick:()=>{t()},children:c.jsx("span",{children:a("Choose a different plan")})})})]})})]})}const L0=({field:e,onChange:t,onBlur:n=()=>{},onKeyDown:r=()=>{}})=>e?c.jsx(c.Fragment,{children:c.jsx(A0,{label:e.label,type:e.type,name:e.name,placeholder:e.placeholder,disabled:e.disabled,value:e.value,onKeyDown:r,onChange:i=>t(i,e),onBlur:i=>n(i,e),tabIndex:e.tabindex,errorMessage:e.errorMessage,autoFocus:e.autoFocus},e.name)}):null;class Fa extends w.Component{constructor(t){super(t),this.state={}}render(){const{fields:t,onChange:n,onBlur:r,onKeyDown:i}=this.props,o=t.map(a=>c.jsx(L0,{field:a,onChange:n,onBlur:r,onKeyDown:i},a.name));return c.jsx(c.Fragment,{children:o})}}const z0=e=>!!e&&/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(String(e).toLowerCase()),U0=({field:e})=>{if(e.required&&!e.value)switch(e.name){case"name":return"Enter your name";case"email":return"Enter your email address";default:return`Please enter ${e.name}`}return e.type==="email"&&!z0(e.value)?"Invalid email address":null},Ba=({fields:e})=>{const t={};return e.forEach(n=>{const r=n.name,i=U0({field:n});t[r]=i}),t},Y0=e=>w.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e},w.createElement("defs",null,w.createElement("style",null,".inviteicon{fill: currentColor;}")),w.createElement("path",{className:"inviteicon",d:"M23.991 11.464l-.036-.146-.028-.068-.011-.027-.115-.114-.018-.021-.008-.005h-.001l-3.774-2.596v-7.987c0-.276-.224-.5-.5-.5h-15c-.276 0-.5.224-.5.5v7.987l-3.774 2.595-.003.002-.006.004-.015.016-.118.118-.011.027-.028.068-.036.146-.009.037v10.5c0 1.103.897 2 2 2h20c1.103 0 2-.897 2-2v-10.5l-.009-.036zm-1.383.03l-2.608 1.738v-3.531l2.608 1.793zm-18.608 1.738l-2.608-1.739 2.608-1.792v3.531zm18 9.768h-20c-.551 0-1-.449-1-1v-9.566l5.223 3.482c.085.057.181.084.276.084.162 0 .32-.078.417-.223.153-.23.091-.54-.139-.693l-1.777-1.185v-12.899h14v12.899l-1.777 1.185c-.23.153-.292.463-.139.693.096.145.255.223.416.223.095 0 .191-.027.277-.084l5.223-3.482v9.566c0 .551-.449 1-1 1zM15.812 16.109c-.088-.07-.198-.109-.312-.109h-7c-.114 0-.224.039-.312.109l-5 4c-.215.173-.25.487-.078.703.173.215.487.251.703.078l4.862-3.89h6.649l4.863 3.891c.093.073.203.109.313.109.147 0 .292-.065.391-.188.172-.216.137-.53-.078-.703l-5.001-4zM11.706 12.779c.087.064.191.096.294.096s.207-.032.294-.096c.482-.35 4.706-3.497 4.706-6.101 0-1.868-1.387-2.984-2.728-2.984-.772 0-1.674.379-2.272 1.368-.598-.988-1.5-1.368-2.272-1.368-1.341-.001-2.728 1.116-2.728 2.984 0 2.604 4.224 5.751 4.706 6.101zm-1.978-8.086c.844 0 1.511.681 1.786 1.822.108.45.864.45.973 0 .274-1.141.942-1.822 1.786-1.822.85 0 1.728.742 1.728 1.984 0 1.646-2.658 4.037-4 5.072-1.342-1.035-4-3.426-4-5.072-.001-1.241.877-1.984 1.727-1.984z"})),F0=`
|
|
1279
1286
|
.gh-portal-back-sitetitle {
|
|
1280
1287
|
position: absolute;
|
|
1281
1288
|
top: 35px;
|
|
@@ -1579,7 +1586,7 @@ footer.gh-portal-signup-footer.invite-only .gh-portal-signup-message {
|
|
|
1579
1586
|
transform: translateX(-50%);
|
|
1580
1587
|
}
|
|
1581
1588
|
}
|
|
1582
|
-
`;class
|
|
1589
|
+
`;class zh extends O.Component{constructor(n){super(n);Q(this,"handleSelectPlan",(n,r)=>{n&&n.preventDefault(),this.timeoutId=setTimeout(()=>{this.setState(i=>({plan:r}))},5)});this.state={name:"",email:"",plan:"free",showNewsletterSelection:!1,termsCheckboxChecked:!1}}componentDidMount(){const{member:n}=this.context;n&&this.context.onAction("switchPage",{page:"accountHome"}),this.handleSelectedPlan()}componentDidUpdate(){this.handleSelectedPlan()}handleSelectedPlan(){const{site:n,pageQuery:r}=this.context,i=Ta({site:n,pageQuery:r}),o=this.getSelectedPriceId(i,this.state.plan);o!==this.state.plan&&this.setState({plan:o})}componentWillUnmount(){clearTimeout(this.timeoutId)}getFormErrors(n){const i=this.context.site.portal_signup_checkbox_required&&this.context.site.portal_signup_terms_html&&!n.termsCheckboxChecked;return{...Ba({fields:this.getInputFields({state:n})}),checkbox:i}}doSignup(){this.setState(n=>({errors:this.getFormErrors(n)}),()=>{const{site:n,onAction:r}=this.context,{name:i,email:o,plan:a,errors:s}=this.state;s&&Object.values(s).filter(u=>!!u).length>0||(Pa({site:n})?this.setState({showNewsletterSelection:!0,pageData:{name:i,email:o,plan:a},errors:{}}):(this.setState({errors:{}}),r("signup",{name:i,email:o,plan:a})))})}handleSignup(n){n.preventDefault(),this.doSignup()}handleChooseSignup(n,r){n.preventDefault(),this.setState({plan:r},()=>{this.doSignup()})}handleInputChange(n,r){const i=r.name,o=n.target.value;this.setState({[i]:o})}onKeyDown(n){n.keyCode===13&&this.handleSignup(n)}getSelectedPriceId(n=[],r){return!n||n.length===0?"free":n.some(o=>o.id===r)?r:n[0].id||"free"}getInputFields({state:n,fieldNames:r}){const{site:{portal_name:i},t:o}=this.context,a=n.errors||{},s=[{type:"email",value:n.email,placeholder:"jamie@example.com",label:o("Email"),name:"email",required:!0,tabindex:2,errorMessage:a.email||""}];return i&&s.unshift({type:"text",value:n.name,placeholder:"Jamie Larson",label:o("Name"),name:"name",required:!0,tabindex:1,errorMessage:a.name||""}),s[0].autoFocus=!0,r&&r.length>0?s.filter(l=>r.includes(l.name)):s}renderSignupTerms(){var u;const{site:n}=this.context;if(n.portal_signup_terms_html===null||n.portal_signup_terms_html==="")return null;const r=p=>{this.setState({termsCheckboxChecked:p.target.checked})},i=c.jsx("div",{className:"gh-portal-signup-terms-content",dangerouslySetInnerHTML:{__html:n.portal_signup_terms_html}}),o=n.portal_signup_checkbox_required?c.jsxs("label",{children:[c.jsx("input",{type:"checkbox",checked:!!this.state.termsCheckboxChecked,required:!0,onChange:r}),c.jsx("span",{class:"checkbox"}),i]}):i,s=`gh-portal-signup-terms ${(u=this.state.errors)!=null&&u.checkbox?"gh-portal-error":""}`,l=p=>{p.target.tagName==="A"&&(p.preventDefault(),window.open(p.target.href,"_blank"))};return c.jsx("div",{className:s,onClick:l,children:o})}renderSubmitButton(){const{action:n,site:r,brandColor:i,pageQuery:o,t:a}=this.context;if(lt({site:r,pageQuery:o}))return null;let s=a("Continue");const l=o==="free"&&Cn({site:r});if(zi({site:r})||l)s=a("Sign up");else return null;let u=!1;n==="signup:running"&&(s=a("Sending..."),u=!0);let p=!1;n==="signup:failed"&&(s=a("Retry"),p=!0);const d=n==="signup:running";return c.jsx(pe,{style:{width:"100%"},retry:p,onClick:m=>this.handleSignup(m),disabled:d,brandColor:i,label:s,isRunning:u,tabIndex:"3"})}renderProducts(){const{site:n,pageQuery:r,t:i}=this.context,o=$a({site:n,pageQuery:r}),a=this.state.errors||{},s={};return Object.keys(a).length>0&&this.state.plan&&(s[this.state.plan]=i("Please fill in required fields")),c.jsx(c.Fragment,{children:c.jsx(hh,{handleChooseSignup:(...l)=>this.handleChooseSignup(...l),products:o,onPlanSelect:this.handleSelectPlan,errors:s})})}renderFreeTrialMessage(){const{site:n,t:r}=this.context;return _a({site:n})&&!lt({site:n})?c.jsx("p",{className:"gh-portal-free-trial-notification","data-testid":"free-trial-notification-text",children:r("After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.")}):null}renderLoginMessage(){const{brandColor:n,onAction:r,t:i}=this.context;return c.jsxs("div",{children:[this.renderFreeTrialMessage(),c.jsxs("div",{className:"gh-portal-signup-message",children:[c.jsx("div",{children:i("Already a member?")}),c.jsx("button",{"data-test-button":"signin-switch",className:"gh-portal-btn gh-portal-btn-link",style:{color:n},onClick:()=>r("switchPage",{page:"signin"}),children:c.jsx("span",{children:i("Sign in")})})]})]})}renderForm(){const n=this.getInputFields({state:this.state}),{site:r,pageQuery:i,t:o}=this.context;if(this.state.showNewsletterSelection)return c.jsx(nu,{pageData:this.state.pageData,onBack:()=>{this.setState({showNewsletterSelection:!1})}});if(lt({site:r,pageQuery:i}))return c.jsx("section",{children:c.jsxs("div",{className:"gh-portal-section",children:[c.jsx("p",{className:"gh-portal-invite-only-notification","data-testid":"invite-only-notification-text",children:o("This site is invite-only, contact the owner for access.")}),this.renderLoginMessage()]})});const a=Vf({site:r}),s=Kf({site:r}),l=i==="free"&&Cn({site:r}),u=ja({site:r})||l,p=!l&&(a.length||s);return c.jsx("section",{className:"gh-portal-signup",children:c.jsxs("div",{className:"gh-portal-section",children:[c.jsx("div",{className:"gh-portal-logged-out-form-container",children:c.jsx(Fa,{fields:n,onChange:(d,m)=>this.handleInputChange(d,m),onKeyDown:d=>this.onKeyDown(d)})}),c.jsxs("div",{children:[u?c.jsxs(c.Fragment,{children:[this.renderProducts(),c.jsx("div",{className:"gh-portal-signup-terms-wrapper free-only",children:this.renderSignupTerms()})]}):c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"gh-portal-signup-terms-wrapper",children:this.renderSignupTerms()}),this.renderProducts()]}),u?c.jsx("div",{className:"gh-portal-btn-container"+(p?" sticky m24":""),children:c.jsxs("div",{className:"gh-portal-logged-out-form-container",children:[this.renderSubmitButton(),this.renderLoginMessage()]})}):this.renderLoginMessage()]})]})})}renderSiteLogo(){const{site:n,pageQuery:r}=this.context,i=n.icon;return i?c.jsx("img",{className:"gh-portal-signup-logo",src:i,alt:n.title}):lt({site:n,pageQuery:r})?c.jsx(Y0,{className:"gh-portal-icon gh-portal-icon-invitation"}):null}renderFormHeader(){const{site:n}=this.context,r=n.title||"";return c.jsxs("header",{className:"gh-portal-signup-header",children:[this.renderSiteLogo(),c.jsx("h1",{className:"gh-portal-main-title","data-testid":"site-title-text",children:r})]})}getClassNames(){const{site:n,pageQuery:r}=this.context,i=Ta({site:n,pageQuery:r}),o=this.getInputFields({state:this.state});let a="",s="";return(i.length<=1||lt({site:n}))&&(i.length===1&&i[0].type==="free"||lt({site:n,pageQuery:r})?(a=vx({site:n})?"singleplan":"noplan",o.length===1&&(a="single-field"),lt({site:n})&&(s="invite-only",a="invite-only")):a="singleplan"),{sectionClass:a,footerClass:s}}render(){let{sectionClass:n}=this.getClassNames();return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"gh-portal-back-sitetitle",children:c.jsx(Lh,{onBack:()=>{this.state.showNewsletterSelection?this.setState({showNewsletterSelection:!1}):this.context.onAction("closePopup")}})}),c.jsx(ye,{}),c.jsxs("div",{className:"gh-portal-content signup "+n,children:[this.renderFormHeader(),this.renderForm()]})]})}}Q(zh,"contextType",N);const B0=e=>w.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e},w.createElement("defs",null,w.createElement("style",null,".a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1px;}")),w.createElement("rect",{className:"a",x:.75,y:4.5,width:22.5,height:15,rx:1.5,ry:1.5}),w.createElement("line",{className:"a",x1:15.687,y1:9.975,x2:19.5,y2:13.5}),w.createElement("line",{className:"a",x1:8.313,y1:9.975,x2:4.5,y2:13.5}),w.createElement("path",{className:"a",d:"M22.88,5.014l-9.513,6.56a2.406,2.406,0,0,1-2.734,0L1.12,5.014"})),H0=`
|
|
1583
1590
|
.gh-portal-icon-envelope {
|
|
1584
1591
|
width: 44px;
|
|
1585
1592
|
margin: 12px 0 10px;
|
|
@@ -1596,7 +1603,7 @@ footer.gh-portal-signup-footer.invite-only .gh-portal-signup-message {
|
|
|
1596
1603
|
text-align: center;
|
|
1597
1604
|
margin-bottom: 30px;
|
|
1598
1605
|
}
|
|
1599
|
-
`;class
|
|
1606
|
+
`;class Uh extends O.Component{renderFormHeader(){const{t}=this.context;let n=t("Now check your email!"),r=t("A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.");return this.context.lastPage==="signup"&&(n=t("Now check your email!"),r=t("To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!")),c.jsxs("section",{className:"gh-portal-inbox-notification",children:[c.jsxs("header",{className:"gh-portal-header",children:[c.jsx(B0,{className:"gh-portal-icon gh-portal-icon-envelope"}),c.jsx("h2",{className:"gh-portal-main-title",children:n})]}),c.jsx("p",{children:r})]})}renderLoginMessage(){const{t}=this.context;return c.jsx(c.Fragment,{children:c.jsx("div",{style:{color:"#1d1d1d",fontWeight:"bold",cursor:"pointer"},onClick:()=>this.context.onAction("switchPage",{page:"signin"}),children:t("Back to Log in")})})}handleClose(t){this.context.onAction("closePopup")}renderCloseButton(){const{t}=this.context,n=t("Close");return c.jsx(pe,{style:{width:"100%"},onClick:r=>this.handleClose(r),brandColor:this.context.brandColor,label:n})}render(){return c.jsxs("div",{className:"gh-portal-content",children:[c.jsx(ye,{}),this.renderFormHeader(),this.renderCloseButton()]})}}Q(Uh,"contextType",N);const W0=`
|
|
1600
1607
|
.gh-portal-popupnotification {
|
|
1601
1608
|
position: absolute;
|
|
1602
1609
|
top: 8px;
|
|
@@ -1667,29 +1674,29 @@ footer.gh-portal-signup-footer.invite-only .gh-portal-signup-message {
|
|
|
1667
1674
|
}
|
|
1668
1675
|
|
|
1669
1676
|
@keyframes popupnotification-slidein {
|
|
1670
|
-
0% {
|
|
1671
|
-
transform: translateY(-10px);
|
|
1677
|
+
0% {
|
|
1678
|
+
transform: translateY(-10px);
|
|
1672
1679
|
opacity: 0;
|
|
1673
1680
|
}
|
|
1674
1681
|
60% { transform: translateY(2px); }
|
|
1675
|
-
100% {
|
|
1676
|
-
transform: translateY(0);
|
|
1682
|
+
100% {
|
|
1683
|
+
transform: translateY(0);
|
|
1677
1684
|
opacity: 1.0;
|
|
1678
1685
|
}
|
|
1679
1686
|
}
|
|
1680
1687
|
|
|
1681
1688
|
@keyframes popupnotification-slideout {
|
|
1682
|
-
0% {
|
|
1689
|
+
0% {
|
|
1683
1690
|
transform: translateY(0);
|
|
1684
1691
|
opacity: 1.0;
|
|
1685
1692
|
}
|
|
1686
1693
|
40% { transform: translateY(2px); }
|
|
1687
|
-
100% {
|
|
1694
|
+
100% {
|
|
1688
1695
|
transform: translateY(-10px);
|
|
1689
1696
|
opacity: 0;
|
|
1690
1697
|
}
|
|
1691
1698
|
}
|
|
1692
|
-
`,
|
|
1699
|
+
`,G0=({hide:e=!1,onClose:t})=>e?null:c.jsx(Qc,{className:"closeicon",alt:"Close",onClick:t}),V0=({message:e,site:t,t:n})=>{const i=`mailto:${Ia({site:t})}`;return e?c.jsx("p",{children:e}):c.jsx("p",{children:c.jsx(Ue,{syntax:Qe,string:n("An unexpected error occured. Please try again or <a>contact support</a> if the error persists."),mapping:{a:c.jsx("a",{href:i,onClick:()=>{i&&window.open(i)}})}})})};class Yh extends O.Component{constructor(){super(),this.state={className:""}}onAnimationEnd(t){const{popupNotification:n}=this.context,{type:r}=n||{};t.animationName==="popupnotification-slideout"&&(r==="stripe:billing-update"&&ah(["stripe"]),this.context.onAction("clearPopupNotification"))}closeNotification(t){this.context.onAction("clearPopupNotification")}componentDidUpdate(){const{popupNotification:t}=this.context;t.count!==this.state.notificationCount&&(clearTimeout(this.timeoutId),this.handlePopupNotification({popupNotification:t}))}handlePopupNotification({popupNotification:t}){if(this.setState({notificationCount:t.count}),t.autoHide){const{duration:n=2600}=t;this.timeoutId=setTimeout(()=>{this.setState(r=>r.className!=="slideout"?{className:"slideout",notificationCount:t.count}:{})},n)}}componentDidMount(){const{popupNotification:t}=this.context;this.handlePopupNotification({popupNotification:t})}componentWillUnmount(){clearTimeout(this.timeoutId)}render(){const{popupNotification:t,site:n,t:r}=this.context,{className:i}=this.state,{type:o,status:a,closeable:s,message:l}=t,u=a?` ${a}`:"",p=i?` ${i}`:"";return c.jsxs("div",{className:`gh-portal-popupnotification${u}${p}`,onAnimationEnd:d=>this.onAnimationEnd(d),children:[a==="error"?c.jsx(Xc,{className:"gh-portal-popupnotification-icon error",alt:""}):c.jsx(oh,{className:"gh-portal-popupnotification-icon success",alt:""}),c.jsx(V0,{type:o,status:a,message:l,site:n,t:r}),c.jsx(G0,{hide:!s,onClose:d=>this.closeNotification(d)})]})}}Q(Yh,"contextType",N);const q0=({site:e})=>`
|
|
1693
1700
|
.gh-portal-offer {
|
|
1694
1701
|
padding-bottom: 0;
|
|
1695
1702
|
overflow: unset;
|
|
@@ -1822,7 +1829,7 @@ footer.gh-portal-signup-footer.invite-only .gh-portal-signup-message {
|
|
|
1822
1829
|
.gh-portal-offer .gh-portal-signup-terms.gh-portal-error {
|
|
1823
1830
|
margin: 0;
|
|
1824
1831
|
}
|
|
1825
|
-
`;class pm extends W.Component{constructor(t,n){var r,i;super(t,n),this.state={name:((r=n==null?void 0:n.member)==null?void 0:r.name)||"",email:((i=n==null?void 0:n.member)==null?void 0:i.email)||"",plan:"free",showNewsletterSelection:!1,termsCheckboxChecked:!1}}getFormErrors(t){const r=this.context.site.portal_signup_checkbox_required&&!t.termsCheckboxChecked;return{...Da({fields:this.getInputFields({state:t})}),checkbox:r}}getInputFields({state:t,fieldNames:n}){const{portal_name:r}=this.context.site,{member:i,t:o}=this.context,a=t.errors||{},s=[{type:"email",value:(i==null?void 0:i.email)||t.email,placeholder:"jamie@example.com",label:o("Email"),name:"email",disabled:!!i,required:!0,tabindex:2,errorMessage:a.email||""}];let l=!!r;return i&&!(i!=null&&i.name)&&(l=!1),l&&s.unshift({type:"text",value:(i==null?void 0:i.name)||t.name,placeholder:"Jamie Larson",label:o("Name"),name:"name",disabled:!!i,required:!0,tabindex:1,errorMessage:a.name||""}),s[0].autoFocus=!0,n&&n.length>0?s.filter(u=>n.includes(u.name)):s}renderSignupTerms(){var l;const{site:t}=this.context;if(t.portal_signup_terms_html===null||t.portal_signup_terms_html==="")return null;const n=u=>{this.setState({termsCheckboxChecked:u.target.checked})},r=c.jsx("div",{className:"gh-portal-signup-terms-content",dangerouslySetInnerHTML:{__html:t.portal_signup_terms_html}}),i=t.portal_signup_checkbox_required?c.jsxs("label",{children:[c.jsx("input",{type:"checkbox",checked:!!this.state.termsCheckboxChecked,required:!0,onChange:n}),c.jsx("span",{class:"checkbox"}),r]}):r,a=`gh-portal-signup-terms ${(l=this.state.errors)!=null&&l.checkbox?"gh-portal-error":""}`,s=u=>{u.target.tagName==="A"&&(u.preventDefault(),window.open(u.target.href,"_blank"))};return c.jsx("div",{className:a,onClick:s,children:i})}onKeyDown(t){t.keyCode===13&&this.handleSignup(t)}handleSignup(t){t.preventDefault();const{pageData:n,site:r}=this.context;if(!n)return null;const i=gr({site:r,productId:n.tier.id}),o=n.cadence==="month"?i.monthlyPrice:i.yearlyPrice;this.setState(a=>({errors:this.getFormErrors(a)}),()=>{const{onAction:a}=this.context,{name:s,email:l,errors:u}=this.state;if(!(u&&Object.values(u).filter(d=>!!d).length>0)){const d={name:s,email:l,plan:o==null?void 0:o.id,offerId:n==null?void 0:n.id};_a({site:r})?this.setState({showNewsletterSelection:!0,pageData:d,errors:{}}):(a("signup",d),this.setState({errors:{}}))}})}handleInputChange(t,n){const r=n.name,i=t.target.value;this.setState({[r]:i})}renderSiteLogo(){const{site:t}=this.context,n=t.icon;return n?c.jsx("img",{className:"gh-portal-signup-logo",src:n,alt:t.title}):null}renderFormHeader(){const{site:t}=this.context,n=t.title||"";return c.jsxs("header",{className:"gh-portal-signup-header",children:[this.renderSiteLogo(),c.jsx("h2",{className:"gh-portal-main-title",children:n})]})}renderForm(){const t=this.getInputFields({state:this.state});return this.state.showNewsletterSelection?c.jsx(qc,{pageData:this.state.pageData,onBack:()=>{this.setState({showNewsletterSelection:!1})}}):c.jsx("section",{children:c.jsx("div",{className:"gh-portal-section",children:c.jsx(Ra,{fields:t,onChange:(n,r)=>this.handleInputChange(n,r),onKeyDown:n=>this.onKeyDown(n)})})})}renderSubmitButton(){const{action:t,brandColor:n,t:r}=this.context,{pageData:i}=this.context;let o=r("Continue");i.type==="trial"&&(o=r("Start {{amount}}-day free trial",{amount:i.amount}));let a=!1;t==="signup:running"&&(o=r("Sending..."),a=!0);let s=!1;t==="signup:failed"&&(o=r("Retry"),s=!0);const l=t==="signup:running";return c.jsx(pe,{style:{width:"100%"},retry:s,onClick:u=>this.handleSignup(u),disabled:l,brandColor:n,label:o,isRunning:a,tabindex:"3",classes:"sticky bottom"})}renderLoginMessage(){const{member:t}=this.context;if(t)return null;const{brandColor:n,onAction:r,t:i}=this.context;return c.jsxs("div",{className:"gh-portal-signup-message",children:[c.jsx("div",{children:i("Already a member?")}),c.jsx("button",{className:"gh-portal-btn gh-portal-btn-link",style:{color:n},onClick:()=>r("switchPage",{page:"signin"}),children:c.jsx("span",{children:i("Sign in")})})]})}renderOfferTag(){const{pageData:t}=this.context;return t.amount<=0?c.jsx(c.Fragment,{}):t.type==="fixed"?c.jsxs("h5",{className:"gh-portal-discount-label",children:[de(t.currency),t.amount/100," off"]}):t.type==="trial"?c.jsxs("h5",{className:"gh-portal-discount-label",children:[t.amount," days free"]}):c.jsxs("h5",{className:"gh-portal-discount-label",children:[t.amount,"% off"]})}renderBenefits({product:t}){const n=t.benefits||[];if(!(n!=null&&n.length))return;const r=n.map((i,o)=>c.jsxs("div",{className:"gh-portal-product-benefit",children:[c.jsx(em,{className:"gh-portal-benefit-checkmark"}),c.jsx("div",{className:"gh-portal-benefit-title",children:i.name})]},`${i.name}-${o}`));return c.jsx("div",{className:"gh-portal-product-benefits",children:r})}getOriginalPrice({offer:t,product:n}){const r=t.cadence==="month"?n.monthlyPrice:n.yearlyPrice,i=this.renderRoundedPrice(r.amount/100);return`${de(r.currency)}${i}/${t.cadence}`}getUpdatedPrice({offer:t,product:n}){const r=t.cadence==="month"?n.monthlyPrice:n.yearlyPrice,i=r.amount;let o;return t.type==="fixed"&&Pa(t.currency,r.currency)?(o=(i-t.amount)/100,o>0?o:0):t.type==="percent"?(o=(i-i*t.amount/100)/100,o):i/100}renderRoundedPrice(t){if(t%1!==0){const n=Math.round(t*100)/100;return Number(n).toFixed(2)}return t}getOffAmount({offer:t}){return t.type==="fixed"?`${de(t.currency)}${t.amount/100}`:t.type==="percent"?`${t.amount}%`:t.type==="trial"?t.amount:""}renderOfferMessage({offer:t,product:n,price:r}){const i=t.duration;let o="";const a=this.getOriginalPrice({offer:t,product:n});let s="";if(i==="once")o=`for first ${t.cadence}`,s=`Renews at ${a}.`;else if(i==="forever")o="forever";else if(i==="repeating"){const l=t.duration_in_months||"";l===1?o="for first month":o=`for first ${l} months`,s=`Renews at ${a}.`}return i==="trial"?c.jsxs("p",{className:"footnote",children:["Try free for ",t.amount," days, then ",a,". ",c.jsx("span",{class:"gh-portal-cancel",children:"Cancel anytime."})]}):c.jsxs("p",{className:"footnote",children:[this.getOffAmount({offer:t})," off ",o,". ",s]})}renderProductLabel({product:t,offer:n}){const{site:r,t:i}=this.context;return ba({site:r})?c.jsxs("h4",{className:"gh-portal-plan-name",children:[t.name," - ",n.cadence==="month"?i("Monthly"):i("Yearly")]}):c.jsx("h4",{className:"gh-portal-plan-name",children:n.cadence==="month"?i("Monthly"):i("Yearly")})}renderUpdatedTierPrice({offer:t,currencyClass:n,updatedPrice:r,price:i}){return t.type==="trial"?c.jsx("div",{className:"gh-portal-product-card-pricecontainer offer-type-trial",children:c.jsxs("div",{className:"gh-portal-product-price",children:[c.jsx("span",{className:"currency-sign "+n,children:de(i.currency)}),c.jsx("span",{className:"amount",children:vr(this.renderRoundedPrice(r))})]})}):c.jsx("div",{className:"gh-portal-product-card-pricecontainer",children:c.jsxs("div",{className:"gh-portal-product-price",children:[c.jsx("span",{className:"currency-sign "+n,children:de(i.currency)}),c.jsx("span",{className:"amount",children:vr(this.renderRoundedPrice(r))})]})})}renderOldTierPrice({offer:t,price:n}){return t.type==="trial"?null:c.jsxs("div",{className:"gh-portal-offer-oldprice",children:[de(n.currency)," ",vr(n.amount/100)]})}renderProductCard({product:t,offer:n,currencyClass:r,updatedPrice:i,price:o,benefits:a}){const{t:s}=this.context;return this.state.showNewsletterSelection?null:c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"gh-portal-product-card top",children:c.jsxs("div",{className:"gh-portal-product-card-header",children:[c.jsxs("h4",{className:"gh-portal-product-name",children:[t.name," - ",n.cadence==="month"?s("Monthly"):s("Yearly")]}),this.renderOldTierPrice({offer:n,price:o}),this.renderUpdatedTierPrice({offer:n,currencyClass:r,updatedPrice:i,price:o}),this.renderOfferMessage({offer:n,product:t,price:o})]})}),c.jsxs("div",{children:[c.jsx("div",{className:"gh-portal-product-card bottom",children:c.jsxs("div",{className:"gh-portal-product-card-detaildata",children:[t.description?c.jsx("div",{className:"gh-portal-product-description",children:t.description}):"",a.length?this.renderBenefits({product:t}):""]})}),c.jsxs("div",{className:"gh-portal-btn-container sticky m32",children:[c.jsx("div",{className:"gh-portal-signup-terms-wrapper",children:this.renderSignupTerms()}),this.renderSubmitButton()]}),this.renderLoginMessage()]})]})}render(){const{pageData:t,site:n}=this.context;if(!t)return null;const r=gr({site:n,productId:t.tier.id});if(!r)return null;const i=t.cadence==="month"?r.monthlyPrice:r.yearlyPrice,o=this.getUpdatedPrice({offer:t,product:r}),a=r.benefits||[],s=de(i.currency).length>1?"long":"";return c.jsx(c.Fragment,{children:c.jsxs("div",{className:"gh-portal-content gh-portal-offer",children:[c.jsx(ve,{}),this.renderFormHeader(),c.jsxs("div",{className:"gh-portal-offer-bar",children:[c.jsxs("div",{className:"gh-portal-offer-title",children:[t.display_title?c.jsx("h4",{children:t.display_title}):c.jsx("h4",{className:"placeholder",children:"Black Friday"}),this.renderOfferTag()]}),t.display_description?c.jsx("p",{children:t.display_description}):""]}),this.renderForm(),this.renderProductCard({product:r,offer:t,currencyClass:s,updatedPrice:o,price:i,benefits:a})]})})}}J(pm,"contextType",$);const fm=e=>x.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},x.createElement("defs",null,x.createElement("style",null,"path{stroke:currentColor;}")),x.createElement("path",{d:"M9.20837 15.8011C9.83721 15.4781 10.4682 15.1573 11.1013 14.8386C22.77 8.94169 22.1989 10.0903 32.1897 10.0903C36.3605 10.0903 38.4812 12.8045 39.7132 16.7796V16.8053L42.7451 26.9244V26.9436C42.8892 27.4178 42.92 27.9192 42.835 28.4075C42.75 28.8958 42.5516 29.3572 42.2558 29.7549C41.9599 30.1525 41.5748 30.4751 41.1316 30.6967C40.6883 30.9184 40.1992 31.0329 39.7036 31.0311H31.9073C31.4217 31.0324 30.9426 31.144 30.5064 31.3574C30.0701 31.5708 29.688 31.8805 29.3888 32.2631C29.0915 32.6461 28.8867 33.0927 28.7904 33.568C28.6941 34.0433 28.7089 34.5344 28.8337 35.003L30.2358 40.2935C30.3448 40.7044 30.3548 41.1353 30.265 41.5508C30.1752 41.9662 29.9882 42.3545 29.7192 42.6837C29.4535 43.0094 29.1162 43.2693 28.7335 43.4432C28.3508 43.6172 27.9332 43.7004 27.5131 43.6864C27.093 43.6724 26.6818 43.5617 26.3115 43.3627C25.9412 43.1637 25.6219 42.882 25.3784 42.5394L17.6046 30.5883C17.3083 30.1754 16.9182 29.8388 16.4664 29.6062C16.0146 29.3736 15.514 29.2517 15.0058 29.2504H9.20837M6 32.4587H9.20833V10.0003H6",stroke:"black",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})),hm=e=>x.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},x.createElement("defs",null,x.createElement("style",null,"path{stroke:currentColor;}")),x.createElement("path",{d:"M9.20837 33.8868C9.83721 34.2098 10.4682 34.5306 11.1013 34.8493C22.77 40.7462 22.1989 39.5976 32.1897 39.5976C36.3605 39.5976 38.4812 36.8834 39.7132 32.9083V32.8826L42.7451 22.7635V22.7443C42.8892 22.2701 42.92 21.7687 42.835 21.2804C42.75 20.7922 42.5516 20.3307 42.2558 19.9331C41.9599 19.5355 41.5748 19.2129 41.1316 18.9912C40.6883 18.7695 40.1992 18.655 39.7036 18.6568H31.9073C31.4217 18.6555 30.9426 18.5439 30.5064 18.3305C30.0701 18.1171 29.688 17.8074 29.3888 17.4248C29.0915 17.0418 28.8867 16.5952 28.7904 16.1199C28.6941 15.6446 28.7089 15.1535 28.8337 14.6849L30.2358 9.39439C30.3448 8.98352 30.3548 8.55265 30.265 8.13716C30.1752 7.72167 29.9882 7.33339 29.7192 7.00418C29.4535 6.67851 29.1162 6.41858 28.7335 6.24467C28.3508 6.07075 27.9332 5.98754 27.5131 6.00151C27.093 6.01548 26.6818 6.12626 26.3115 6.32522C25.9412 6.52418 25.6219 6.80594 25.3784 7.14856L17.6046 19.0996C17.3083 19.5125 16.9182 19.8491 16.4664 20.0817C16.0146 20.3143 15.514 20.4362 15.0058 20.4375H9.20837M6 17.2292H9.20833V39.6876H6",stroke:"black",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})),lk=e=>x.createElement("svg",{width:96,height:56,viewBox:"0 0 96 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},x.createElement("path",{d:"M9.00004 34.973C9.66499 35.3085 10.3322 35.6418 11.0017 35.9729C23.3405 42.0995 22.7366 40.9062 33.3011 40.9062C37.7115 40.9062 39.954 38.0862 41.2567 33.9563V33.9296L44.4627 23.4164V23.3964C44.6151 22.9038 44.6477 22.3828 44.5578 21.8756C44.4679 21.3683 44.2581 20.8888 43.9453 20.4757C43.6324 20.0626 43.2253 19.7275 42.7565 19.4972C42.2878 19.2669 41.7706 19.1479 41.2466 19.1498H33.0026C32.489 19.1484 31.9825 19.0325 31.5211 18.8108C31.0598 18.5891 30.6558 18.2673 30.3394 17.8698C30.025 17.4718 29.8084 17.0078 29.7066 16.5141C29.6048 16.0203 29.6205 15.51 29.7525 15.0232L31.235 9.5266C31.3503 9.09972 31.3609 8.65208 31.2659 8.2204C31.171 7.78873 30.9732 7.38533 30.6888 7.0433C30.4078 6.70494 30.0511 6.43489 29.6465 6.2542C29.2418 6.07351 28.8002 5.98706 28.3559 6.00157C27.9117 6.01609 27.4769 6.13118 27.0854 6.33789C26.6938 6.5446 26.3562 6.83734 26.0987 7.19329L17.8784 19.6098C17.5652 20.0388 17.1527 20.3885 16.6749 20.6301C16.1971 20.8718 15.6678 20.9985 15.1304 20.9998H9.00004M9 17.6666L9 40.9997",stroke:"black",strokeWidth:2.85,strokeLinecap:"round",strokeLinejoin:"round"}),x.createElement("path",{d:"M86.2148 20.027C85.5499 19.6915 84.8826 19.3582 84.2132 19.0271C71.8743 12.9005 72.4782 14.0938 61.9137 14.0938C57.5034 14.0938 55.2609 16.9138 53.9581 21.0437V21.0704L50.7521 31.5836V31.6036C50.5997 32.0962 50.5672 32.6172 50.657 33.1244C50.7469 33.6317 50.9567 34.1112 51.2695 34.5243C51.5824 34.9374 51.9896 35.2725 52.4583 35.5028C52.927 35.7331 53.4442 35.8521 53.9683 35.8502H62.2123C62.7258 35.8516 63.2324 35.9675 63.6937 36.1892C64.155 36.4109 64.5591 36.7327 64.8754 37.1302C65.1899 37.5282 65.4064 37.9922 65.5082 38.4859C65.61 38.9797 65.5943 39.49 65.4624 39.9768L63.9798 45.4734C63.8646 45.9003 63.854 46.3479 63.9489 46.7796C64.0439 47.2113 64.2416 47.6147 64.526 47.9567C64.807 48.2951 65.1637 48.5651 65.5684 48.7458C65.973 48.9265 66.4147 49.0129 66.8589 48.9984C67.3031 48.9839 67.7379 48.8688 68.1295 48.6621C68.521 48.4554 68.8587 48.1627 69.1162 47.8067L77.3364 35.3902C77.6497 34.9612 78.0622 34.6115 78.5399 34.3699C79.0177 34.1282 79.547 34.0015 80.0844 34.0002H86.2148M86.2148 37.3334V14.0003",stroke:"black",strokeWidth:2.85,strokeLinecap:"round",strokeLinejoin:"round"}));class wt extends Error{static async fromApiResponse(t){if(t.status===400||t.status===429)try{const n=await t.json();if(n.errors&&Array.isArray(n.errors)&&n.errors.length>0&&n.errors[0].message)return new wt(n.errors[0].message)}catch{return!1}}static getMessageFromError(t,n){return t instanceof wt?t.message:n}}function Oa({siteUrl:e=window.location.origin,apiUrl:t,apiKey:n}){const r="members/api";function i({type:l,resource:u}){if(l==="members")return`${e.replace(/\/$/,"")}/${r}/${u}/`}function o({resource:l,params:u=""}){return t&&n?`${t.replace(/\/$/,"")}/${l}/?key=${n}&limit=all${u}`:""}function a({url:l,method:u="GET",headers:p={},credentials:d=void 0,body:f=void 0}){return fetch(l,{method:u,headers:p,credentials:d,body:f})}const s={};return s.site={read(){const l=i({type:"members",resource:"site"});return a({url:l,method:"GET",headers:{"Content-Type":"application/json"}}).then(function(u){if(u.ok)return u.json();throw new Error("Failed to fetch site data")})},newsletters(){const l=o({resource:"newsletters"});return a({url:l,method:"GET",headers:{"Content-Type":"application/json"}}).then(function(u){if(u.ok)return u.json();throw new Error("Failed to fetch site data")})},tiers(){const l=o({resource:"tiers",params:"&include=monthly_price,yearly_price,benefits"});return a({url:l,method:"GET",headers:{"Content-Type":"application/json"}}).then(function(u){if(u.ok)return u.json();throw new Error("Failed to fetch site data")})},settings(){const l=o({resource:"settings"});return a({url:l,method:"GET",headers:{"Content-Type":"application/json"}}).then(function(u){if(u.ok)return u.json();throw new Error("Failed to fetch site data")})},offer({offerId:l}){const u=o({resource:`offers/${l}`});return a({url:u,method:"GET",headers:{"Content-Type":"application/json"}}).then(function(p){if(p.ok)return p.json();throw new Error("Failed to fetch offer data")})}},s.feedback={async add({uuid:l,postId:u,score:p}){let d=i({type:"members",resource:"feedback"});d=d+`?uuid=${l}`;const y=await a({url:d,method:"POST",headers:{"Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify({feedback:[{post_id:u,score:p}]})});if(y.ok)return y.json();throw await wt.fromApiResponse(y)??new Error("Failed to save feedback")}},s.member={identity(){const l=i({type:"members",resource:"session"});return a({url:l,credentials:"same-origin"}).then(function(u){return!u.ok||u.status===204?null:u.text()})},sessionData(){const l=i({type:"members",resource:"member"});return a({url:l,credentials:"same-origin"}).then(function(u){return!u.ok||u.status===204?null:u.json()})},update({name:l,subscribed:u,newsletters:p,enableCommentNotifications:d}){const f=i({type:"members",resource:"member"}),y={name:l,subscribed:u,newsletters:p};return d!==void 0&&(y.enable_comment_notifications=d),a({url:f,method:"PUT",headers:{"Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(y)}).then(function(v){return v.ok?v.json():null})},deleteSuppression(){const l=i({type:"members",resource:"member/suppression"});return a({url:l,method:"DELETE"}).then(function(u){if(!u.ok)throw new Error("Your email has failed to resubscribe, please try again");return!0})},async sendMagicLink({email:l,emailType:u,labels:p,name:d,oldEmail:f,newsletters:y,redirect:v}){const w=i({type:"members",resource:"send-magic-link"}),g={name:d,email:l,newsletters:y,oldEmail:f,emailType:u,labels:p,requestSrc:"portal",redirect:v},h=Na();h&&(g.urlHistory=h);const m=await a({url:w,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(g)});if(m.ok)return"Success";{const b=await wt.fromApiResponse(m);throw b||new Error("Failed to send magic link email")}},signout(){const l=i({type:"members",resource:"session"});return a({url:l,method:"DELETE"}).then(function(u){if(u.ok)return window.location.replace(e),"Success";throw new Error("Failed to signout")})},async newsletters({uuid:l}){let u=i({type:"members",resource:"member/newsletters"});return u=u+`?uuid=${l}`,a({url:u,credentials:"same-origin"}).then(function(p){return!p.ok||p.status===204?null:p.json()})},async updateNewsletters({uuid:l,newsletters:u,enableCommentNotifications:p}){let d=i({type:"members",resource:"member/newsletters"});d=d+`?uuid=${l}`;const f={newsletters:u};return p!==void 0&&(f.enable_comment_notifications=p),a({url:d,method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(f)}).then(function(y){if(y.ok)return y.json();throw new Error("Failed to update email preferences")})},async updateEmailAddress({email:l}){const u=await s.member.identity(),p=i({type:"members",resource:"member/email"});return a({url:p,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,identity:u})}).then(function(f){if(f.ok)return"Success";throw new Error("Failed to send email address verification email")})},async checkoutPlan({plan:l,tierId:u,cadence:p,cancelUrl:d,successUrl:f,email:y,name:v,offerId:w,newsletters:g,metadata:h={}}={}){var N,T;const m=new URL(e),b=await s.member.identity(),k=i({type:"members",resource:"create-stripe-checkout-session"});if(!d){const j=window.location.href.startsWith(m.href)?new URL(window.location.href):new URL(e);j.searchParams.set("stripe","cancel"),d=j.href}const E={name:v,newsletters:JSON.stringify(g),requestSrc:"portal",fp_tid:(T=(N=window.FPROM||window.$FPROM)==null?void 0:N.data)==null?void 0:T.tid,urlHistory:Na(),...h},_={priceId:w?null:l,offerId:w,identity:b,metadata:E,successUrl:f,cancelUrl:d};return y&&(_.customerEmail=y),u&&p&&(delete _.priceId,_.tierId=w?null:u,_.cadence=w?null:p),a({url:k,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(_)}).then(async function(j){var z,Be;if(!j.ok){const Z=await j.json(),te=((Be=(z=Z==null?void 0:Z.errors)==null?void 0:z[0])==null?void 0:Be.message)||"Failed to signup, please try again.";throw new Error(te)}return j.json()}).then(function(j){return j.url?window.location.assign(j.url):window.Stripe(j.publicKey).redirectToCheckout({sessionId:j.sessionId}).then(function(Be){if(Be.error)throw new Error(Be.error.message)})})},async editBilling({successUrl:l,cancelUrl:u,subscriptionId:p}={}){const d=new URL(e),f=await s.member.identity(),y=i({type:"members",resource:"create-stripe-update-session"});if(!l){const v=new URL(e);v.searchParams.set("stripe","billing-update-success"),l=v.href}if(!u){const v=window.location.href.startsWith(d.href)?new URL(window.location.href):new URL(e);v.searchParams.set("stripe","billing-update-cancel"),u=v.href}return a({url:y,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({identity:f,subscription_id:p,successUrl:l,cancelUrl:u})}).then(function(v){if(!v.ok)throw new Error("Unable to create stripe checkout session");return v.json()}).then(function(v){return window.Stripe(v.publicKey).redirectToCheckout({sessionId:v.sessionId})}).then(function(v){if(v.error)throw new Error(v.error.message)}).catch(function(v){throw v})},async updateSubscription({subscriptionId:l,tierId:u,cadence:p,planId:d,smartCancel:f,cancelAtPeriodEnd:y,cancellationReason:v}){const w=await s.member.identity(),g=i({type:"members",resource:"subscriptions"})+l+"/",h={smart_cancel:f,cancel_at_period_end:y,cancellation_reason:v,identity:w,priceId:d};return u&&p&&(delete h.priceId,h.tierId=u,h.cadence=p),a({url:g,method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(h)})}},s.init=async()=>{let[l]=await Promise.all([s.member.sessionData()]),u={},p=[],d=[],f={};try{[{settings:f},{tiers:d},{newsletters:p}]=await Promise.all([s.site.settings(),s.site.tiers(),s.site.newsletters()]),u={...f,newsletters:p,tiers:sx({tiers:d})}}catch{}return u=W1({site:u}),{site:u,member:l}},s}class mm extends W.Component{render(){return c.jsx("div",{style:{display:"flex",flexDirection:"column",color:"#313131"},children:c.jsx("div",{style:{paddingLeft:"16px",paddingRight:"16px",paddingTop:"12px",height:"50px"},children:c.jsx(Ai,{className:"gh-portal-loadingicon dark"})})})}}const ck=`
|
|
1832
|
+
`;class Fh extends O.Component{constructor(t,n){var r,i;super(t,n),this.state={name:((r=n==null?void 0:n.member)==null?void 0:r.name)||"",email:((i=n==null?void 0:n.member)==null?void 0:i.email)||"",plan:"free",showNewsletterSelection:!1,termsCheckboxChecked:!1}}getFormErrors(t){const r=this.context.site.portal_signup_checkbox_required&&!t.termsCheckboxChecked;return{...Ba({fields:this.getInputFields({state:t})}),checkbox:r}}getInputFields({state:t,fieldNames:n}){const{portal_name:r}=this.context.site,{member:i,t:o}=this.context,a=t.errors||{},s=[{type:"email",value:(i==null?void 0:i.email)||t.email,placeholder:"jamie@example.com",label:o("Email"),name:"email",disabled:!!i,required:!0,tabindex:2,errorMessage:a.email||""}];let l=!!r;return i&&!(i!=null&&i.name)&&(l=!1),l&&s.unshift({type:"text",value:(i==null?void 0:i.name)||t.name,placeholder:"Jamie Larson",label:o("Name"),name:"name",disabled:!!i,required:!0,tabindex:1,errorMessage:a.name||""}),s[0].autoFocus=!0,n&&n.length>0?s.filter(u=>n.includes(u.name)):s}renderSignupTerms(){var l;const{site:t}=this.context;if(t.portal_signup_terms_html===null||t.portal_signup_terms_html==="")return null;const n=u=>{this.setState({termsCheckboxChecked:u.target.checked})},r=c.jsx("div",{className:"gh-portal-signup-terms-content",dangerouslySetInnerHTML:{__html:t.portal_signup_terms_html}}),i=t.portal_signup_checkbox_required?c.jsxs("label",{children:[c.jsx("input",{type:"checkbox",checked:!!this.state.termsCheckboxChecked,required:!0,onChange:n}),c.jsx("span",{class:"checkbox"}),r]}):r,a=`gh-portal-signup-terms ${(l=this.state.errors)!=null&&l.checkbox?"gh-portal-error":""}`,s=u=>{u.target.tagName==="A"&&(u.preventDefault(),window.open(u.target.href,"_blank"))};return c.jsx("div",{className:a,onClick:s,children:i})}onKeyDown(t){t.keyCode===13&&this.handleSignup(t)}handleSignup(t){t.preventDefault();const{pageData:n,site:r}=this.context;if(!n)return null;const i=vr({site:r,productId:n.tier.id}),o=n.cadence==="month"?i.monthlyPrice:i.yearlyPrice;this.setState(a=>({errors:this.getFormErrors(a)}),()=>{const{onAction:a}=this.context,{name:s,email:l,errors:u}=this.state;if(!(u&&Object.values(u).filter(d=>!!d).length>0)){const d={name:s,email:l,plan:o==null?void 0:o.id,offerId:n==null?void 0:n.id};Pa({site:r})?this.setState({showNewsletterSelection:!0,pageData:d,errors:{}}):(a("signup",d),this.setState({errors:{}}))}})}handleInputChange(t,n){const r=n.name,i=t.target.value;this.setState({[r]:i})}renderSiteLogo(){const{site:t}=this.context,n=t.icon;return n?c.jsx("img",{className:"gh-portal-signup-logo",src:n,alt:t.title}):null}renderFormHeader(){const{site:t}=this.context,n=t.title||"";return c.jsxs("header",{className:"gh-portal-signup-header",children:[this.renderSiteLogo(),c.jsx("h2",{className:"gh-portal-main-title",children:n})]})}renderForm(){const t=this.getInputFields({state:this.state});return this.state.showNewsletterSelection?c.jsx(nu,{pageData:this.state.pageData,onBack:()=>{this.setState({showNewsletterSelection:!1})}}):c.jsx("section",{children:c.jsx("div",{className:"gh-portal-section",children:c.jsx(Fa,{fields:t,onChange:(n,r)=>this.handleInputChange(n,r),onKeyDown:n=>this.onKeyDown(n)})})})}renderSubmitButton(){const{action:t,brandColor:n,t:r}=this.context,{pageData:i}=this.context;let o=r("Continue");i.type==="trial"&&(o=r("Start {{amount}}-day free trial",{amount:i.amount}));let a=!1;t==="signup:running"&&(o=r("Sending..."),a=!0);let s=!1;t==="signup:failed"&&(o=r("Retry"),s=!0);const l=t==="signup:running";return c.jsx(pe,{style:{width:"100%"},retry:s,onClick:u=>this.handleSignup(u),disabled:l,brandColor:n,label:o,isRunning:a,tabindex:"3",classes:"sticky bottom"})}renderLoginMessage(){const{member:t}=this.context;if(t)return null;const{brandColor:n,onAction:r,t:i}=this.context;return c.jsxs("div",{className:"gh-portal-signup-message",children:[c.jsx("div",{children:i("Already a member?")}),c.jsx("button",{className:"gh-portal-btn gh-portal-btn-link",style:{color:n},onClick:()=>r("switchPage",{page:"signin"}),children:c.jsx("span",{children:i("Sign in")})})]})}renderOfferTag(){const{pageData:t,t:n}=this.context;return t.amount<=0?c.jsx(c.Fragment,{}):t.type==="fixed"?c.jsx("h5",{className:"gh-portal-discount-label",children:n("{{amount}} off",{amount:`${de(t.currency)}${t.amount/100}`})}):t.type==="trial"?c.jsx("h5",{className:"gh-portal-discount-label",children:n("{{amount}} days free",{amount:t.amount})}):c.jsx("h5",{className:"gh-portal-discount-label",children:n("{{amount}} off",{amount:t.amount+"%"})})}renderBenefits({product:t}){const n=t.benefits||[];if(!(n!=null&&n.length))return;const r=n.map((i,o)=>c.jsxs("div",{className:"gh-portal-product-benefit",children:[c.jsx(uh,{className:"gh-portal-benefit-checkmark"}),c.jsx("div",{className:"gh-portal-benefit-title",children:i.name})]},`${i.name}-${o}`));return c.jsx("div",{className:"gh-portal-product-benefits",children:r})}getOriginalPrice({offer:t,product:n}){const r=t.cadence==="month"?n.monthlyPrice:n.yearlyPrice,i=this.renderRoundedPrice(r.amount/100);return`${de(r.currency)}${i}/${t.cadence}`}getUpdatedPrice({offer:t,product:n}){const r=t.cadence==="month"?n.monthlyPrice:n.yearlyPrice,i=r.amount;let o;return t.type==="fixed"&&Da(t.currency,r.currency)?(o=(i-t.amount)/100,o>0?o:0):t.type==="percent"?(o=(i-i*t.amount/100)/100,o):i/100}renderRoundedPrice(t){if(t%1!==0){const n=Math.round(t*100)/100;return Number(n).toFixed(2)}return t}getOffAmount({offer:t}){return t.type==="fixed"?`${de(t.currency)}${t.amount/100}`:t.type==="percent"?`${t.amount}%`:t.type==="trial"?t.amount:""}renderOfferMessage({offer:t,product:n,price:r,t:i}){const o={forever:i("{{amount}} off forever.",{amount:this.getOffAmount({offer:t})}),firstPeriod:i("{{amount}} off for first {{period}}.",{amount:this.getOffAmount({offer:t}),period:t.cadence}),firstNMonths:i("{{amount}} off for first {{number}} months.",{amount:this.getOffAmount({offer:t}),number:t.duration_in_months||""})},a=this.getOriginalPrice({offer:t,product:n}),s=i("Renews at {{price}}.",{price:a});let l="",u=!1;const p=t.duration;return p==="once"?(l=o.firstPeriod,u=!0):p==="forever"?l=o.forever:p==="repeating"&&((t.duration_in_months||"")===1?l=o.firstPeriod:l=o.firstNMonths,u=!0),p==="trial"?c.jsxs("p",{className:"footnote",children:[i("Try free for {{amount}} days, then {{originalPrice}}.",{amount:t.amount,originalPrice:a})," ",c.jsx("span",{class:"gh-portal-cancel",children:i("Cancel anytime.")})]}):c.jsxs("p",{className:"footnote",children:[l," ",u?s:""]})}renderProductLabel({product:t,offer:n}){const{site:r,t:i}=this.context;return Ea({site:r})?c.jsxs("h4",{className:"gh-portal-plan-name",children:[t.name," - ",n.cadence==="month"?i("Monthly"):i("Yearly")]}):c.jsx("h4",{className:"gh-portal-plan-name",children:n.cadence==="month"?i("Monthly"):i("Yearly")})}renderUpdatedTierPrice({offer:t,currencyClass:n,updatedPrice:r,price:i}){return t.type==="trial"?c.jsx("div",{className:"gh-portal-product-card-pricecontainer offer-type-trial",children:c.jsxs("div",{className:"gh-portal-product-price",children:[c.jsx("span",{className:"currency-sign "+n,children:de(i.currency)}),c.jsx("span",{className:"amount",children:wr(this.renderRoundedPrice(r))})]})}):c.jsx("div",{className:"gh-portal-product-card-pricecontainer",children:c.jsxs("div",{className:"gh-portal-product-price",children:[c.jsx("span",{className:"currency-sign "+n,children:de(i.currency)}),c.jsx("span",{className:"amount",children:wr(this.renderRoundedPrice(r))})]})})}renderOldTierPrice({offer:t,price:n}){return t.type==="trial"?null:c.jsxs("div",{className:"gh-portal-offer-oldprice",children:[de(n.currency)," ",wr(n.amount/100)]})}renderProductCard({product:t,offer:n,currencyClass:r,updatedPrice:i,price:o,benefits:a}){const{t:s}=this.context;return this.state.showNewsletterSelection?null:c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"gh-portal-product-card top",children:c.jsxs("div",{className:"gh-portal-product-card-header",children:[c.jsxs("h4",{className:"gh-portal-product-name",children:[t.name," - ",n.cadence==="month"?s("Monthly"):s("Yearly")]}),this.renderOldTierPrice({offer:n,price:o}),this.renderUpdatedTierPrice({offer:n,currencyClass:r,updatedPrice:i,price:o}),this.renderOfferMessage({offer:n,product:t,price:o,t:s})]})}),c.jsxs("div",{children:[c.jsx("div",{className:"gh-portal-product-card bottom",children:c.jsxs("div",{className:"gh-portal-product-card-detaildata",children:[t.description?c.jsx("div",{className:"gh-portal-product-description",children:t.description}):"",a.length?this.renderBenefits({product:t}):""]})}),c.jsxs("div",{className:"gh-portal-btn-container sticky m32",children:[c.jsx("div",{className:"gh-portal-signup-terms-wrapper",children:this.renderSignupTerms()}),this.renderSubmitButton()]}),this.renderLoginMessage()]})]})}render(){const{pageData:t,site:n,t:r}=this.context;if(!t)return null;const i=vr({site:n,productId:t.tier.id});if(!i)return null;const o=t.cadence==="month"?i.monthlyPrice:i.yearlyPrice,a=this.getUpdatedPrice({offer:t,product:i}),s=i.benefits||[],l=de(o.currency).length>1?"long":"";return c.jsx(c.Fragment,{children:c.jsxs("div",{className:"gh-portal-content gh-portal-offer",children:[c.jsx(ye,{}),this.renderFormHeader(),c.jsxs("div",{className:"gh-portal-offer-bar",children:[c.jsxs("div",{className:"gh-portal-offer-title",children:[t.display_title?c.jsx("h4",{children:t.display_title}):c.jsx("h4",{className:"placeholder",children:r("Black Friday")}),this.renderOfferTag()]}),t.display_description?c.jsx("p",{children:t.display_description}):""]}),this.renderForm(),this.renderProductCard({product:i,offer:t,currencyClass:l,updatedPrice:a,price:o,benefits:s})]})})}}Q(Fh,"contextType",N);const Bh=e=>w.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},w.createElement("defs",null,w.createElement("style",null,"path{stroke:currentColor;}")),w.createElement("path",{d:"M9.20837 15.8011C9.83721 15.4781 10.4682 15.1573 11.1013 14.8386C22.77 8.94169 22.1989 10.0903 32.1897 10.0903C36.3605 10.0903 38.4812 12.8045 39.7132 16.7796V16.8053L42.7451 26.9244V26.9436C42.8892 27.4178 42.92 27.9192 42.835 28.4075C42.75 28.8958 42.5516 29.3572 42.2558 29.7549C41.9599 30.1525 41.5748 30.4751 41.1316 30.6967C40.6883 30.9184 40.1992 31.0329 39.7036 31.0311H31.9073C31.4217 31.0324 30.9426 31.144 30.5064 31.3574C30.0701 31.5708 29.688 31.8805 29.3888 32.2631C29.0915 32.6461 28.8867 33.0927 28.7904 33.568C28.6941 34.0433 28.7089 34.5344 28.8337 35.003L30.2358 40.2935C30.3448 40.7044 30.3548 41.1353 30.265 41.5508C30.1752 41.9662 29.9882 42.3545 29.7192 42.6837C29.4535 43.0094 29.1162 43.2693 28.7335 43.4432C28.3508 43.6172 27.9332 43.7004 27.5131 43.6864C27.093 43.6724 26.6818 43.5617 26.3115 43.3627C25.9412 43.1637 25.6219 42.882 25.3784 42.5394L17.6046 30.5883C17.3083 30.1754 16.9182 29.8388 16.4664 29.6062C16.0146 29.3736 15.514 29.2517 15.0058 29.2504H9.20837M6 32.4587H9.20833V10.0003H6",stroke:"black",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})),Hh=e=>w.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},w.createElement("defs",null,w.createElement("style",null,"path{stroke:currentColor;}")),w.createElement("path",{d:"M9.20837 33.8868C9.83721 34.2098 10.4682 34.5306 11.1013 34.8493C22.77 40.7462 22.1989 39.5976 32.1897 39.5976C36.3605 39.5976 38.4812 36.8834 39.7132 32.9083V32.8826L42.7451 22.7635V22.7443C42.8892 22.2701 42.92 21.7687 42.835 21.2804C42.75 20.7922 42.5516 20.3307 42.2558 19.9331C41.9599 19.5355 41.5748 19.2129 41.1316 18.9912C40.6883 18.7695 40.1992 18.655 39.7036 18.6568H31.9073C31.4217 18.6555 30.9426 18.5439 30.5064 18.3305C30.0701 18.1171 29.688 17.8074 29.3888 17.4248C29.0915 17.0418 28.8867 16.5952 28.7904 16.1199C28.6941 15.6446 28.7089 15.1535 28.8337 14.6849L30.2358 9.39439C30.3448 8.98352 30.3548 8.55265 30.265 8.13716C30.1752 7.72167 29.9882 7.33339 29.7192 7.00418C29.4535 6.67851 29.1162 6.41858 28.7335 6.24467C28.3508 6.07075 27.9332 5.98754 27.5131 6.00151C27.093 6.01548 26.6818 6.12626 26.3115 6.32522C25.9412 6.52418 25.6219 6.80594 25.3784 7.14856L17.6046 19.0996C17.3083 19.5125 16.9182 19.8491 16.4664 20.0817C16.0146 20.3143 15.514 20.4362 15.0058 20.4375H9.20837M6 17.2292H9.20833V39.6876H6",stroke:"black",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})),K0=e=>w.createElement("svg",{width:96,height:56,viewBox:"0 0 96 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},w.createElement("path",{d:"M9.00004 34.973C9.66499 35.3085 10.3322 35.6418 11.0017 35.9729C23.3405 42.0995 22.7366 40.9062 33.3011 40.9062C37.7115 40.9062 39.954 38.0862 41.2567 33.9563V33.9296L44.4627 23.4164V23.3964C44.6151 22.9038 44.6477 22.3828 44.5578 21.8756C44.4679 21.3683 44.2581 20.8888 43.9453 20.4757C43.6324 20.0626 43.2253 19.7275 42.7565 19.4972C42.2878 19.2669 41.7706 19.1479 41.2466 19.1498H33.0026C32.489 19.1484 31.9825 19.0325 31.5211 18.8108C31.0598 18.5891 30.6558 18.2673 30.3394 17.8698C30.025 17.4718 29.8084 17.0078 29.7066 16.5141C29.6048 16.0203 29.6205 15.51 29.7525 15.0232L31.235 9.5266C31.3503 9.09972 31.3609 8.65208 31.2659 8.2204C31.171 7.78873 30.9732 7.38533 30.6888 7.0433C30.4078 6.70494 30.0511 6.43489 29.6465 6.2542C29.2418 6.07351 28.8002 5.98706 28.3559 6.00157C27.9117 6.01609 27.4769 6.13118 27.0854 6.33789C26.6938 6.5446 26.3562 6.83734 26.0987 7.19329L17.8784 19.6098C17.5652 20.0388 17.1527 20.3885 16.6749 20.6301C16.1971 20.8718 15.6678 20.9985 15.1304 20.9998H9.00004M9 17.6666L9 40.9997",stroke:"black",strokeWidth:2.85,strokeLinecap:"round",strokeLinejoin:"round"}),w.createElement("path",{d:"M86.2148 20.027C85.5499 19.6915 84.8826 19.3582 84.2132 19.0271C71.8743 12.9005 72.4782 14.0938 61.9137 14.0938C57.5034 14.0938 55.2609 16.9138 53.9581 21.0437V21.0704L50.7521 31.5836V31.6036C50.5997 32.0962 50.5672 32.6172 50.657 33.1244C50.7469 33.6317 50.9567 34.1112 51.2695 34.5243C51.5824 34.9374 51.9896 35.2725 52.4583 35.5028C52.927 35.7331 53.4442 35.8521 53.9683 35.8502H62.2123C62.7258 35.8516 63.2324 35.9675 63.6937 36.1892C64.155 36.4109 64.5591 36.7327 64.8754 37.1302C65.1899 37.5282 65.4064 37.9922 65.5082 38.4859C65.61 38.9797 65.5943 39.49 65.4624 39.9768L63.9798 45.4734C63.8646 45.9003 63.854 46.3479 63.9489 46.7796C64.0439 47.2113 64.2416 47.6147 64.526 47.9567C64.807 48.2951 65.1637 48.5651 65.5684 48.7458C65.973 48.9265 66.4147 49.0129 66.8589 48.9984C67.3031 48.9839 67.7379 48.8688 68.1295 48.6621C68.521 48.4554 68.8587 48.1627 69.1162 47.8067L77.3364 35.3902C77.6497 34.9612 78.0622 34.6115 78.5399 34.3699C79.0177 34.1282 79.547 34.0015 80.0844 34.0002H86.2148M86.2148 37.3334V14.0003",stroke:"black",strokeWidth:2.85,strokeLinecap:"round",strokeLinejoin:"round"}));class Ct extends Error{static async fromApiResponse(t){if(t.status===400||t.status===429)try{const n=await t.json();if(n.errors&&Array.isArray(n.errors)&&n.errors.length>0&&n.errors[0].message)return new Ct(n.errors[0].message)}catch{return!1}}static getMessageFromError(t,n){return t instanceof Ct?t.message:n}}function Ha({siteUrl:e=window.location.origin,apiUrl:t,apiKey:n}){const r="members/api";function i({type:l,resource:u}){if(l==="members")return`${e.replace(/\/$/,"")}/${r}/${u}/`}function o({resource:l,params:u=""}){return t&&n?`${t.replace(/\/$/,"")}/${l}/?key=${n}&limit=all${u}`:""}function a({url:l,method:u="GET",headers:p={},credentials:d=void 0,body:m=void 0}){return fetch(l,{method:u,headers:p,credentials:d,body:m})}const s={};return s.site={read(){const l=i({type:"members",resource:"site"});return a({url:l,method:"GET",headers:{"Content-Type":"application/json"}}).then(function(u){if(u.ok)return u.json();throw new Error("Failed to fetch site data")})},newsletters(){const l=o({resource:"newsletters"});return a({url:l,method:"GET",headers:{"Content-Type":"application/json"}}).then(function(u){if(u.ok)return u.json();throw new Error("Failed to fetch site data")})},tiers(){const l=o({resource:"tiers",params:"&include=monthly_price,yearly_price,benefits"});return a({url:l,method:"GET",headers:{"Content-Type":"application/json"}}).then(function(u){if(u.ok)return u.json();throw new Error("Failed to fetch site data")})},settings(){const l=o({resource:"settings"});return a({url:l,method:"GET",headers:{"Content-Type":"application/json"}}).then(function(u){if(u.ok)return u.json();throw new Error("Failed to fetch site data")})},offer({offerId:l}){const u=o({resource:`offers/${l}`});return a({url:u,method:"GET",headers:{"Content-Type":"application/json"}}).then(function(p){if(p.ok)return p.json();throw new Error("Failed to fetch offer data")})}},s.feedback={async add({uuid:l,postId:u,score:p}){let d=i({type:"members",resource:"feedback"});d=d+`?uuid=${l}`;const g=await a({url:d,method:"POST",headers:{"Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify({feedback:[{post_id:u,score:p}]})});if(g.ok)return g.json();throw await Ct.fromApiResponse(g)??new Error("Failed to save feedback")}},s.member={identity(){const l=i({type:"members",resource:"session"});return a({url:l,credentials:"same-origin"}).then(function(u){return!u.ok||u.status===204?null:u.text()})},sessionData(){const l=i({type:"members",resource:"member"});return a({url:l,credentials:"same-origin"}).then(function(u){return!u.ok||u.status===204?null:u.json()})},update({name:l,subscribed:u,newsletters:p,enableCommentNotifications:d}){const m=i({type:"members",resource:"member"}),g={name:l,subscribed:u,newsletters:p};return d!==void 0&&(g.enable_comment_notifications=d),a({url:m,method:"PUT",headers:{"Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(g)}).then(function(b){return b.ok?b.json():null})},deleteSuppression(){const l=i({type:"members",resource:"member/suppression"});return a({url:l,method:"DELETE"}).then(function(u){if(!u.ok)throw new Error("Your email has failed to resubscribe, please try again");return!0})},async sendMagicLink({email:l,emailType:u,labels:p,name:d,oldEmail:m,newsletters:g,redirect:b}){const x=i({type:"members",resource:"send-magic-link"}),y={name:d,email:l,newsletters:g,oldEmail:m,emailType:u,labels:p,requestSrc:"portal",redirect:b},f=Aa();f&&(y.urlHistory=f);const h=await a({url:x,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(y)});if(h.ok)return"Success";{const v=await Ct.fromApiResponse(h);throw v||new Error("Failed to send magic link email")}},signout(){const l=i({type:"members",resource:"session"});return a({url:l,method:"DELETE"}).then(function(u){if(u.ok)return window.location.replace(e),"Success";throw new Error("Failed to signout")})},async newsletters({uuid:l}){let u=i({type:"members",resource:"member/newsletters"});return u=u+`?uuid=${l}`,a({url:u,credentials:"same-origin"}).then(function(p){return!p.ok||p.status===204?null:p.json()})},async updateNewsletters({uuid:l,newsletters:u,enableCommentNotifications:p}){let d=i({type:"members",resource:"member/newsletters"});d=d+`?uuid=${l}`;const m={newsletters:u};return p!==void 0&&(m.enable_comment_notifications=p),a({url:d,method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(m)}).then(function(g){if(g.ok)return g.json();throw new Error("Failed to update email preferences")})},async updateEmailAddress({email:l}){const u=await s.member.identity(),p=i({type:"members",resource:"member/email"});return a({url:p,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,identity:u})}).then(function(m){if(m.ok)return"Success";throw new Error("Failed to send email address verification email")})},async checkoutPlan({plan:l,tierId:u,cadence:p,cancelUrl:d,successUrl:m,email:g,name:b,offerId:x,newsletters:y,metadata:f={}}={}){var j,T;const h=new URL(e),v=await s.member.identity(),k=i({type:"members",resource:"create-stripe-checkout-session"});if(!d){const _=window.location.href.startsWith(h.href)?new URL(window.location.href):new URL(e);_.searchParams.set("stripe","cancel"),d=_.href}const C={name:b,newsletters:JSON.stringify(y),requestSrc:"portal",fp_tid:(T=(j=window.FPROM||window.$FPROM)==null?void 0:j.data)==null?void 0:T.tid,urlHistory:Aa(),...f},S={priceId:x?null:l,offerId:x,identity:v,metadata:C,successUrl:m,cancelUrl:d};return g&&(S.customerEmail=g),u&&p&&(delete S.priceId,S.tierId=x?null:u,S.cadence=x?null:p),a({url:k,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(S)}).then(async function(_){var U,Fe;if(!_.ok){const Z=await _.json(),te=((Fe=(U=Z==null?void 0:Z.errors)==null?void 0:U[0])==null?void 0:Fe.message)||"Failed to signup, please try again.";throw new Error(te)}return _.json()}).then(function(_){return _.url?window.location.assign(_.url):window.Stripe(_.publicKey).redirectToCheckout({sessionId:_.sessionId}).then(function(Fe){if(Fe.error)throw new Error(Fe.error.message)})})},async editBilling({successUrl:l,cancelUrl:u,subscriptionId:p}={}){const d=new URL(e),m=await s.member.identity(),g=i({type:"members",resource:"create-stripe-update-session"});if(!l){const b=new URL(e);b.searchParams.set("stripe","billing-update-success"),l=b.href}if(!u){const b=window.location.href.startsWith(d.href)?new URL(window.location.href):new URL(e);b.searchParams.set("stripe","billing-update-cancel"),u=b.href}return a({url:g,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({identity:m,subscription_id:p,successUrl:l,cancelUrl:u})}).then(function(b){if(!b.ok)throw new Error("Unable to create stripe checkout session");return b.json()}).then(function(b){return window.Stripe(b.publicKey).redirectToCheckout({sessionId:b.sessionId})}).then(function(b){if(b.error)throw new Error(b.error.message)}).catch(function(b){throw b})},async updateSubscription({subscriptionId:l,tierId:u,cadence:p,planId:d,smartCancel:m,cancelAtPeriodEnd:g,cancellationReason:b}){const x=await s.member.identity(),y=i({type:"members",resource:"subscriptions"})+l+"/",f={smart_cancel:m,cancel_at_period_end:g,cancellation_reason:b,identity:x,priceId:d};return u&&p&&(delete f.priceId,f.tierId=u,f.cadence=p),a({url:y,method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(f)})}},s.init=async()=>{let[l]=await Promise.all([s.member.sessionData()]),u={},p=[],d=[],m={};try{[{settings:m},{tiers:d},{newsletters:p}]=await Promise.all([s.site.settings(),s.site.tiers(),s.site.newsletters()]),u={...m,newsletters:p,tiers:Ix({tiers:d})}}catch{}return u=bx({site:u}),{site:u,member:l}},s}class Wh extends O.Component{render(){return c.jsx("div",{style:{display:"flex",flexDirection:"column",color:"#313131"},children:c.jsx("div",{style:{paddingLeft:"16px",paddingRight:"16px",paddingTop:"12px",height:"50px"},children:c.jsx(Ui,{className:"gh-portal-loadingicon dark"})})})}}const J0=`
|
|
1826
1833
|
.gh-portal-feedback {
|
|
1827
1834
|
|
|
1828
1835
|
}
|
|
@@ -1976,8 +1983,8 @@ footer.gh-portal-signup-footer.invite-only .gh-portal-signup-message {
|
|
|
1976
1983
|
}
|
|
1977
1984
|
}
|
|
1978
1985
|
}
|
|
1979
|
-
`;function
|
|
1980
|
-
`,
|
|
1986
|
+
`;function Q0({error:e}){const{onAction:t,t:n}=w.useContext(N);return c.jsxs("div",{className:"gh-portal-content gh-portal-feedback with-footer",children:[c.jsx(ye,{}),c.jsx("div",{class:"gh-feedback-icon gh-feedback-icon-error",children:c.jsx(K0,{})}),c.jsx("h1",{className:"gh-portal-main-title",children:n("Sorry, that didn’t work.")}),c.jsx("div",{children:c.jsx("p",{className:"gh-portal-text-center",children:e})}),c.jsx(pe,{style:{width:"100%"},retry:!1,onClick:()=>t("closePopup"),disabled:!1,brandColor:"#000000",label:n("Close"),isRunning:!1,tabindex:"3",classes:"sticky bottom"})]})}const X0=({onConfirm:e,loading:t,initialScore:n})=>{const{onAction:r,brandColor:i,t:o}=w.useContext(N),[a,s]=w.useState(n),l=g=>{g.stopPropagation()},u=()=>{r("closePopup")},p=async g=>{g.stopPropagation(),await e(a)},d=g=>{const b="gh-feedback-button";return g===a?`${b} gh-feedback-button-selected`:b},m=g=>g===a?{color:i}:{};return c.jsxs("div",{className:"gh-portal-confirm-dialog",onMouseDown:l,children:[c.jsx("h1",{className:"gh-portal-confirm-title",children:o("Give feedback on this post")}),c.jsxs("div",{className:"gh-feedback-buttons-group",children:[c.jsxs("button",{className:d(1),style:m(1),onClick:()=>s(1),children:[c.jsx(Hh,{}),o("More like this")]}),c.jsxs("button",{className:d(0),style:m(0),onClick:()=>s(0),children:[c.jsx(Bh,{}),o("Less like this")]})]}),c.jsx(pe,{classes:"gh-portal-confirm-button",retry:!1,onClick:p,disabled:!1,brandColor:i,label:o("Submit feedback"),isRunning:t,tabindex:"3"}),c.jsx(ye,{close:()=>u()})]})};async function Z0({siteUrl:e,uuid:t,postId:n,score:r}){await Ha({siteUrl:e}).feedback.add({uuid:t,postId:n,score:r})}const e1=({action:e,score:t})=>(w.useEffect(()=>{e(t)}),c.jsx(Wh,{})),t1=({positive:e})=>{const{onAction:t,brandColor:n,t:r}=w.useContext(N),i=e?c.jsx(Hh,{}):c.jsx(Bh,{});return c.jsxs("div",{className:"gh-portal-content gh-portal-feedback",children:[c.jsx(ye,{}),c.jsx("div",{className:"gh-feedback-icon",children:i}),c.jsx("h1",{className:"gh-portal-main-title",children:r("Thanks for the feedback!")}),c.jsx("p",{className:"gh-portal-text-center",children:r("Your input helps shape what gets published.")}),c.jsx(pe,{style:{width:"100%"},retry:!1,onClick:()=>t("closePopup"),disabled:!1,brandColor:n,label:r("Close"),isRunning:!1,tabindex:"3",classes:"sticky bottom"})]})};function n1(){const{site:e,pageData:t,member:n,t:r}=w.useContext(N),{uuid:i,postId:o,score:a}=t,[s,l]=w.useState(a),u=s===1,p=!!n,[d,m]=w.useState(p),[g,b]=w.useState(p),[x,y]=w.useState(null),f=async v=>{b(!0);try{await Z0({siteUrl:e.url,uuid:i,postId:o,score:v}),l(v)}catch(k){const C=Ct.getMessageFromError(k,r("There was a problem submitting your feedback. Please try again a little later."));y(C)}b(!1)},h=async v=>{await f(v),m(!0)};if(x)return c.jsx(Q0,{error:x});if(d){if(g)return c.jsx(e1,{action:f,score:s})}else return c.jsx(X0,{onConfirm:h,loading:g,initialScore:s});return c.jsx(t1,{positive:u})}const r1=`.gh-email-suppressed-page-title{margin-bottom:14px}.gh-email-suppressed-page-icon{display:block;width:38px;height:38px;margin:0 auto 18px}.gh-email-suppressed-page-text{padding:0 14px;text-align:center;color:var(--grey6)}.gh-email-faq-footer-text{color:var(--grey8)}.gh-portal-list-detail.email-newsletter .gh-email-faq-page-button{display:block;margin-top:3px}.accountEmail .gh-email-faq-page-button{margin-left:4px}.emailReceivingFAQ .gh-portal-btn-back,.emailReceivingFAQ .gh-portal-btn-back:hover{left:calc(6vmin - 14px)}.emailReceivingFAQ .gh-portal-closeicon-container{right:calc(6vmin - 20px)}@media (max-width: 480px){.emailReceivingFAQ .gh-portal-btn-back,.emailReceivingFAQ .gh-portal-btn-back:hover{left:16px}.emailReceivingFAQ .gh-portal-closeicon-container{right:24px}}.gh-email-faq-page-button{color:var(--brandcolor);cursor:pointer;background:none;transition:color linear .1s;font-size:1.45rem}
|
|
1987
|
+
`,i1="",o1="",a1=`
|
|
1981
1988
|
.gh-portal-main-title {
|
|
1982
1989
|
text-align: center;
|
|
1983
1990
|
color: var(--grey0);
|
|
@@ -2759,7 +2766,7 @@ footer.gh-portal-signup-footer.invite-only .gh-portal-signup-message {
|
|
|
2759
2766
|
.pl10 { padding-left: 40px; }
|
|
2760
2767
|
|
|
2761
2768
|
.hidden { display: none !important; }
|
|
2762
|
-
`,
|
|
2769
|
+
`,s1=`
|
|
2763
2770
|
@media (max-width: 1440px) {
|
|
2764
2771
|
.gh-portal-popup-container:not(.full-size):not(.large-size):not(.preview) {
|
|
2765
2772
|
width: 480px;
|
|
@@ -2951,7 +2958,7 @@ footer.gh-portal-signup-footer.invite-only .gh-portal-signup-message {
|
|
|
2951
2958
|
font-size: 16px !important;
|
|
2952
2959
|
}
|
|
2953
2960
|
}
|
|
2954
|
-
`,
|
|
2961
|
+
`,l1=`
|
|
2955
2962
|
.gh-portal-popup-wrapper.multiple-products .gh-portal-input-section {
|
|
2956
2963
|
max-width: 420px;
|
|
2957
2964
|
margin: 0 auto;
|
|
@@ -3151,11 +3158,11 @@ footer.gh-portal-signup-footer.invite-only .gh-portal-signup-message {
|
|
|
3151
3158
|
.gh-portal-hide {
|
|
3152
3159
|
display: none;
|
|
3153
3160
|
}
|
|
3154
|
-
`;function wk({site:e}){return Oc+bk+wx+Mx+Gx+Sx({site:e})+kx+yx+xx+Rh+rk+tk+sk({site:e})+ik+xk+kk+ck+gk+yk+vk}class gm extends W.Component{constructor(t){super(t),this.state={email:""}}componentDidMount(){const{member:t}=this.context;t&&this.context.onAction("switchPage",{page:"accountHome"})}handleSignin(t){t.preventDefault(),this.setState(n=>({errors:Da({fields:this.getInputFields({state:n})})}),async()=>{const{email:n,errors:r}=this.state,{redirect:i}=this.context.pageData??{};r&&Object.values(r).filter(a=>!!a).length>0||this.context.onAction("signin",{email:n,redirect:i})})}handleInputChange(t,n){const r=n.name;this.setState({[r]:t.target.value})}onKeyDown(t){t.keyCode===13&&this.handleSignin(t)}getInputFields({state:t}){const{t:n}=this.context,r=t.errors||{};return[{type:"email",value:t.email,placeholder:"jamie@example.com",label:n("Email"),name:"email",required:!0,errorMessage:r.email||"",autoFocus:!0}]}renderSubmitButton(){const{action:t,t:n}=this.context;let r=!1;const i=t==="signin:running";let o=n(i?"Sending login link...":"Continue");const a=!!i;return t==="signin:failed"&&(o=n("Retry"),r=!0),c.jsx(pe,{dataTestId:"signin",retry:r,style:{width:"100%"},onClick:s=>this.handleSignin(s),disabled:a,brandColor:this.context.brandColor,label:o,isRunning:i})}renderSignupMessage(){const{brandColor:t,t:n}=this.context;return c.jsxs("div",{className:"gh-portal-signup-message",children:[c.jsx("div",{children:n("Don't have an account?")}),c.jsx("button",{"data-test-button":"signup-switch",className:"gh-portal-btn gh-portal-btn-link",style:{color:t},onClick:()=>this.context.onAction("switchPage",{page:"signup"}),children:c.jsx("span",{children:n("Sign up")})})]})}renderForm(){return c.jsx("section",{children:c.jsx("div",{className:"gh-portal-section",children:c.jsx(Ra,{fields:this.getInputFields({state:this.state}),onChange:(t,n)=>this.handleInputChange(t,n),onKeyDown:(t,n)=>this.onKeyDown(t,n)})})})}renderSiteLogo(){const t=this.context.site.icon;return t?c.jsx("img",{className:"gh-portal-signup-logo",src:t,alt:this.context.site.title}):null}renderFormHeader(){const{t}=this.context;return c.jsxs("header",{className:"gh-portal-signin-header",children:[this.renderSiteLogo(),c.jsx("h1",{className:"gh-portal-main-title",children:t("Sign in")})]})}render(){return c.jsxs(c.Fragment,{children:[c.jsx(ve,{}),c.jsxs("div",{className:"gh-portal-logged-out-form-container",children:[c.jsxs("div",{className:"gh-portal-content signin",children:[this.renderFormHeader(),this.renderForm()]}),c.jsxs("footer",{className:"gh-portal-signin-footer",children:[this.renderSubmitButton(),this.renderSignupMessage()]})]})]})}}J(gm,"contextType",$);const _k=({onClose:e,handleSignout:t,supportAddress:n=""})=>{const r=`mailto:${n}`;return c.jsxs("footer",{className:"gh-portal-account-footer",children:[c.jsx("ul",{className:"gh-portal-account-footermenu",children:c.jsx("li",{children:c.jsx("button",{"data-test-button":"footer-signout",className:"gh-portal-btn",name:"logout","aria-label":"logout",onClick:i=>t(i),children:"Sign out"})})}),c.jsx("div",{className:"gh-portal-account-footerright",children:c.jsx("ul",{className:"gh-portal-account-footermenu",children:c.jsx("li",{children:c.jsx("a",{"data-test-link":"footer-support",className:"gh-portal-btn gh-portal-btn-branded",href:r,onClick:()=>{r&&window.open(r)},children:"Contact support"})})})})]})},Sk=()=>{const{member:e,brandColor:t,t:n}=x.useContext($),r=e.avatar_image;return c.jsxs("header",{className:"gh-portal-account-header",children:[c.jsx(Dc,{gravatar:r,style:{userIcon:{color:t,width:"56px",height:"56px",padding:"2px"}}}),c.jsx("h2",{className:"gh-portal-main-title",children:n("Your account")})]})},Ek=()=>{const{site:e,action:t,brandColor:n,onAction:r}=x.useContext($),{is_stripe_configured:i}=e;if(!i||va({site:e}))return null;const o=["checkoutPlan:running"].includes(t),a=()=>{r("switchPage",{page:"accountPlan",lastPage:"accountHome"})};return c.jsx(pe,{dataTestId:"view-plans",isRunning:o,label:"View plans",onClick:()=>a(),brandColor:n,style:{width:"100%"}})},Ck=()=>{const{member:e,site:t}=x.useContext($),{is_stripe_configured:n}=t;if(!n||va({site:t}))return null;const r=Ve({member:e}),i=hr({member:e});if(i&&!r)return null;if(r){const o=r==null?void 0:r.current_period_end;if(i&&Lc({member:e})){const a=Lc({member:e}),s=xt(a);return c.jsx("div",{className:"gh-portal-section",children:c.jsxs("p",{className:"gh-portal-text-center gh-portal-free-ctatext",children:["Your subscription will expire on ",s]})})}if(r!=null&&r.cancel_at_period_end)return null;if(Ic({sub:r})){const a=xt(r.trial_end_at);return c.jsx("div",{className:"gh-portal-section",children:c.jsxs("p",{className:"gh-portal-text-center gh-portal-free-ctatext",children:["Your subscription will start on ",a]})})}return c.jsx("div",{className:"gh-portal-section",children:c.jsxs("p",{className:"gh-portal-text-center gh-portal-free-ctatext",children:["Your subscription will renew on ",xt(o)]})})}return c.jsxs("div",{className:"gh-portal-section",children:[c.jsx("p",{className:"gh-portal-text-center gh-portal-free-ctatext",children:"You currently have a free membership, upgrade to a paid subscription for full access."}),c.jsx(Ek,{})]})},jk=()=>{const{member:e,onAction:t,action:n,brandColor:r}=x.useContext($),i=Ve({member:e});if(!i||!i.cancel_at_period_end)return null;const o=i.cancel_at_period_end?"Continue subscription":"Cancel subscription",a=["cancelSubscription:running"].includes(n),s=!!a,l=!!i.cancel_at_period_end,u=()=>{if(!i.cancel_at_period_end)return null;const p=i.current_period_end;return c.jsxs("p",{className:"gh-portal-text-center gh-portal-free-ctatext",children:["Your subscription will expire on ",xt(p)]})};return c.jsxs("div",{className:"gh-portal-cancelcontinue-container",children:[c.jsx(u,{}),c.jsx(pe,{onClick:p=>{t("continueSubscription",{subscriptionId:i.id})},isRunning:a,disabled:s,isPrimary:l,brandColor:r,label:o,style:{width:"100%"}})]})},Pk=e=>x.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},x.createElement("defs",null,x.createElement("style",null,".a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}")),x.createElement("path",{d:"M22.939 2.56V8.817C22.9391 9.61244 22.6232 10.3754 22.061 10.938L10.5 22.5C10.2187 22.7812 9.83721 22.9392 9.43946 22.9392C9.04172 22.9392 8.66026 22.7812 8.37896 22.5L1.49997 15.62C1.21876 15.3387 1.06079 14.9572 1.06079 14.5595C1.06079 14.1618 1.21876 13.7803 1.49997 13.499L13.061 1.938C13.6236 1.37572 14.3865 1.0599 15.182 1.06H21.439C21.8368 1.06 22.2183 1.21803 22.4996 1.49934C22.7809 1.78064 22.939 2.16217 22.939 2.56V2.56Z",className:"a"}),x.createElement("path",{d:"M17.689 7.81C16.8605 7.81 16.189 7.13842 16.189 6.31C16.189 5.48157 16.8605 4.81 17.689 4.81C18.5174 4.81 19.189 5.48157 19.189 6.31C19.189 7.13842 18.5174 7.81 17.689 7.81Z",className:"a"})),Nk=()=>{const{member:e,site:t,onAction:n}=x.useContext($),r=()=>{const d=Ve({member:e});n("editBilling",{subscriptionId:d.id})},i=()=>{const{is_stripe_configured:d}=t;d&&n("switchPage",{page:"accountPlan",lastPage:"accountHome"})},o=({price:d,isComplimentary:f,subscription:y})=>{const{offer:v,start_date:w}=y||{};let g="";if(d){const{amount:_=0,currency:N,interval:T}=d;g=`${Intl.NumberFormat("en",{currency:N,style:"currency"}).format(_/100)}/${T}`}let h=Tk({price:d,offer:v,subscriptionStartDate:w});const m=Lc({member:e});f&&(m?g=`Complimentary - Expires ${m}`:g=g?`Complimentary (${g})`:"Complimentary");let b="";h&&(b="gh-portal-account-old-price");const k=()=>h?c.jsxs("p",{className:"gh-portal-account-discountcontainer",children:[c.jsx(Pk,{className:"gh-portal-account-tagicon"}),c.jsx("span",{children:h})]}):null,E=Ic({sub:y});return E&&(b="gh-portal-account-old-price"),E?c.jsxs(c.Fragment,{children:[c.jsx("p",{className:b,children:g}),c.jsx($k,{subscription:y})]}):c.jsxs(c.Fragment,{children:[c.jsx("p",{className:b,children:g}),c.jsx(k,{})]})},a=({isComplimentary:d})=>(Oi({member:e})?!1:d)||va({site:t})?null:c.jsx("button",{className:"gh-portal-btn gh-portal-btn-list",onClick:y=>i(),"data-test-button":"change-plan",children:"Change"}),s=({defaultCardLast4:d})=>{if(d){const f=`**** **** **** ${d}`;return c.jsx("p",{children:f})}return null},l=({defaultCardLast4:d,isComplimentary:f})=>{const{action:y}=x.useContext($),v=y==="editBilling:running"?c.jsx(Ai,{className:"gh-portal-billing-button-loader"}):"Update";return f?null:c.jsxs("section",{children:[c.jsxs("div",{className:"gh-portal-list-detail",children:[c.jsx("h3",{children:"Billing info"}),c.jsx(s,{defaultCardLast4:d})]}),c.jsx("button",{className:"gh-portal-btn gh-portal-btn-list",onClick:w=>r(),"data-test-button":"update-billing",children:v})]})},u=Ve({member:e}),p=hr({member:e});if(u||p){const{price:d,default_payment_card_last4:f}=u||{};let y="Plan";return ba({site:t})&&Ah({member:e})&&(y=Ah({member:e})),c.jsxs(c.Fragment,{children:[c.jsxs("section",{children:[c.jsxs("div",{className:"gh-portal-list-detail",children:[c.jsx("h3",{children:y}),c.jsx(o,{price:d,isComplimentary:p,subscription:u})]}),c.jsx(a,{isComplimentary:p})]}),c.jsx(l,{isComplimentary:p,defaultCardLast4:f})]})}return null};function $k({subscription:e,priceLabel:t}){if(Ic({sub:e})){const n=xt(e.trial_end_at);return c.jsx("p",{className:"gh-portal-account-discountcontainer",children:c.jsx("div",{children:c.jsxs("span",{children:["Free Trial – Ends ",n]})})})}return null}function Tk({offer:e,price:t,subscriptionStartDate:n}){let r="";if((e==null?void 0:e.type)==="trial"||(e==null?void 0:e.duration)==="once")return"";if(e){const i=e.duration;let o="";if(i==="forever")o="Forever";else if(i==="repeating"){const a=e.duration_in_months||0;let s=new Date(n),l=new Date(s.setMonth(s.getMonth()+a));if(Bh(l))return"";o=`Ends ${xt(l)}`}r=`${nx({offer:e,price:t,useFormatted:!0})}/${t.interval}${o?` — ${o}`:""}`}return r}function Rk(){const{member:e,site:t,onAction:n}=x.useContext($);let{newsletters:r}=e;const i=!!(r!=null&&r.length);let o=i?"Subscribed":"Unsubscribed";const a=(s,l)=>{var d;s.preventDefault();const u=yr({site:t}),p=(d=e==null?void 0:e.newsletters)!=null&&d.length?[]:u;n("updateNewsletterPreference",{newsletters:p})};return c.jsxs("section",{children:[c.jsxs("div",{className:"gh-portal-list-detail email-newsletter",children:[c.jsx("h3",{children:"Email newsletter"}),c.jsxs("p",{children:[o," ",zc({member:e})&&i&&c.jsx("button",{className:"gh-portal-btn-text gh-email-faq-page-button",onClick:()=>n("switchPage",{page:"emailReceivingFAQ",lastPage:"accountHome"}),children:"Not receiving emails?"})]})]}),c.jsx("div",{children:c.jsx($a,{dataTestId:"default-newsletter-toggle",id:"default-newsletter-toggle",onToggle:s=>{a(s)},checked:i})})]})}const ym=e=>x.createElement("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",...e},x.createElement("path",{d:"m12.79 12.376 4.08 4.079m-4.08 0 4.08-4.08",stroke:"red",strokeWidth:1.35,strokeLinecap:"round",strokeLinejoin:"round"}),x.createElement("path",{d:"m10.439 17.994-2.664-2.652-2.86 1.478.111-4.239m0 0L1.677 9.232a1.344 1.344 0 0 1-.366-1.222 1.369 1.369 0 0 1 .904-1.05l13.111-4.374a1.369 1.369 0 0 1 1.76 1.758L15 10m-9.974 2.581 11.67-9.727",stroke:"#A3A3A3",strokeWidth:1.35,strokeLinecap:"round",strokeLinejoin:"round"}));function Dk(){const{onAction:e,member:t,t:n}=x.useContext($),r=Fh({member:t}),i=r?"emailSuppressed":"accountEmail";return c.jsxs("section",{children:[c.jsxs("div",{className:"gh-portal-list-detail",children:[c.jsx("h3",{children:n("Emails")}),r?c.jsxs("p",{className:"gh-portal-email-notice",children:[c.jsx(ym,{className:"gh-portal-email-notice-icon"}),c.jsxs("span",{children:["You're ",c.jsx("span",{className:"gh-mobile-shortener",children:"currently "}),"not receiving emails"]})]}):c.jsx("p",{children:n("Update your preferences")})]}),c.jsx("button",{className:"gh-portal-btn gh-portal-btn-list",onClick:o=>{e("switchPage",{page:i,lastPage:"accountHome"})},"data-test-button":"manage-newsletters",children:n("Manage")})]})}const Ok=()=>{const{member:e,onAction:t,site:n}=x.useContext($),{name:r,email:i}=e,o=()=>{t("switchPage",{page:"accountProfile",lastPage:"accountHome"})},a=_a({site:n})||Lh({site:n})||Fh({member:e});return c.jsx("div",{children:c.jsxs("div",{className:"gh-portal-list",children:[c.jsxs("section",{children:[c.jsxs("div",{className:"gh-portal-list-detail",children:[c.jsx("h3",{children:r||"Account"}),c.jsx("p",{children:i})]}),c.jsx("button",{"data-test-button":"edit-profile",className:"gh-portal-btn gh-portal-btn-list",onClick:s=>o(),children:"Edit"})]}),c.jsx(Nk,{}),a?c.jsx(Dk,{}):c.jsx(Rk,{})]})})},Ak=()=>c.jsxs("div",{className:"gh-portal-content gh-portal-account-main",children:[c.jsx(ve,{}),c.jsx(Sk,{}),c.jsxs("section",{className:"gh-portal-account-data",children:[c.jsx(Ck,{}),c.jsx(jk,{}),c.jsx(Ok,{})]})]});class vm extends W.Component{componentDidMount(){const{member:t}=this.context;t||this.context.onAction("switchPage",{page:"signin",pageData:{redirect:window.location.href}})}handleSignout(t){t.preventDefault(),this.context.onAction("signout")}render(){const{member:t,site:n}=this.context,r=ja({site:n});return t?c.jsxs("div",{className:"gh-portal-account-wrapper",children:[c.jsx(Ak,{}),c.jsx(_k,{onClose:()=>this.context.onAction("closePopup"),handleSignout:i=>this.handleSignout(i),supportAddress:r})]}):null}}J(vm,"contextType",$);class bm extends W.Component{constructor(t,n){super(t,n);const{name:r="",email:i=""}=n.member||{};this.state={name:r,email:i}}componentDidMount(){const{member:t}=this.context;t||this.context.onAction("switchPage",{page:"signin"})}handleSignout(t){t.preventDefault(),this.context.onAction("signout")}onBack(t){this.context.onAction("back")}onProfileSave(t){t.preventDefault(),this.setState(n=>({errors:Da({fields:this.getInputFields({state:n})})}),()=>{const{email:n,name:r,errors:i}=this.state;i&&Object.values(i).filter(a=>!!a).length>0||(this.context.onAction("clearPopupNotification"),this.context.onAction("updateProfile",{email:n,name:r}))})}renderSaveButton(){const{t}=this.context,n=this.context.action==="updateProfile:running";let r=t("Save");this.context.action==="updateProfile:failed"&&(r=t("Retry"));const i=!!n;return c.jsx(pe,{dataTestId:"save-button",isRunning:n,onClick:o=>this.onProfileSave(o),disabled:i,brandColor:this.context.brandColor,label:r,style:{width:"100%"}})}renderDeleteAccountButton(){const{t}=this.context;return c.jsx("div",{style:{cursor:"pointer",color:"red"},role:"button",children:t("Delete account")})}renderAccountFooter(){return c.jsx("footer",{className:"gh-portal-action-footer",children:this.renderSaveButton()})}renderHeader(){const{t}=this.context;return c.jsxs("header",{className:"gh-portal-detail-header",children:[c.jsx(br,{brandColor:this.context.brandColor,hidden:!this.context.lastPage,onClick:n=>this.onBack(n)}),c.jsx("h3",{className:"gh-portal-main-title",children:t("Account settings")})]})}renderUserAvatar(){const t=this.context.member&&this.context.member.avatar_image,n={position:"relative",display:"flex",width:"64px",height:"64px",marginBottom:"6px",borderRadius:"100%",boxShadow:"0 0 0 3px #fff",border:"1px solid gray",overflow:"hidden",justifyContent:"center",alignItems:"center"};return c.jsx("div",{style:n,children:c.jsx(Dc,{gravatar:t,style:{userIcon:{color:"black",width:"56px",height:"56px"}}})})}handleInputChange(t,n){const r=n.name;this.setState({[r]:t.target.value})}getInputFields({state:t,fieldNames:n}){const{t:r}=this.context,i=t.errors||{},o=[{type:"text",value:t.name,placeholder:"Jamie Larson",label:r("Name"),name:"name",required:!0,errorMessage:i.name||""},{type:"email",value:t.email,placeholder:"jamie@example.com",label:r("Email"),name:"email",required:!0,errorMessage:i.email||""}];return n&&n.length>0?o.filter(a=>n.includes(a.name)):o}onKeyDown(t){t.keyCode===13&&this.onProfileSave(t)}renderProfileData(){return c.jsx("div",{className:"gh-portal-section",children:c.jsx(Ra,{fields:this.getInputFields({state:this.state}),onChange:(t,n)=>this.handleInputChange(t,n),onKeyDown:(t,n)=>this.onKeyDown(t,n)})})}render(){const{member:t}=this.context;return t?c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:"gh-portal-content with-footer",children:[c.jsx(ve,{}),this.renderHeader(),c.jsx("div",{className:"gh-portal-section",children:this.renderProfileData()})]}),this.renderAccountFooter()]}):null}}J(bm,"contextType",$);const Lk=e=>x.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e},x.createElement("defs",null,x.createElement("style",null,`.a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px!important;}
|
|
3155
|
-
`)),x.createElement("title",null,"check-circle-1"),x.createElement("path",{className:"a",d:"M6,13.223,8.45,16.7a1.049,1.049,0,0,0,1.707.051L18,6.828"}),x.createElement("circle",{className:"a",cx:12,cy:11.999,r:11.25}));function Mk(){const{brandColor:e,lastPage:t,onAction:n,t:r}=x.useContext($);return c.jsxs("header",{className:"gh-portal-detail-header",children:[c.jsx(br,{brandColor:e,hidden:!t,onClick:i=>{n("back")}}),c.jsx("h3",{className:"gh-portal-main-title",children:r("Email preferences")})]})}function xm({show:e,checked:t}){let n=[];return e&&n.push("gh-portal-checkmark-show"),t&&n.push("gh-portal-toggle-checked"),n.push("gh-portal-checkmark-container"),c.jsx("div",{className:n.join(" "),children:c.jsx(Lk,{className:"gh-portal-checkmark-icon",alt:""})})}function Ik({newsletter:e,subscribedNewsletters:t,setSubscribedNewsletters:n}){const r=t.some(l=>l.id===(e==null?void 0:e.id)),[i,o]=x.useState(!1),[a,s]=x.useState(null);return c.jsxs("section",{className:"gh-portal-list-toggle-wrapper","data-test-toggle-wrapper":!0,children:[c.jsxs("div",{className:"gh-portal-list-detail",children:[c.jsx("h3",{children:e.name}),c.jsx("p",{children:e==null?void 0:e.description})]}),c.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[c.jsx(xm,{show:i,checked:r}),c.jsx($a,{id:e.id,onToggle:(l,u)=>{let p=[];if(u){p=t.filter(f=>f.id!==e.id).concat(e),o(!0),clearTimeout(a);let d=setTimeout(()=>{o(!1)},2e3);s(d)}else{p=t.filter(f=>f.id!==e.id),o(!0),clearTimeout(a);let d=setTimeout(()=>{o(!1)},2e3);s(d)}n(p)},checked:r})]})]})}function zk({updateCommentNotifications:e,isCommentsEnabled:t,enableCommentNotifications:n}){const{t:r}=x.useContext($),i=!!n,[o,a]=x.useState(!1),[s,l]=x.useState(null);return t?c.jsxs("section",{className:"gh-portal-list-toggle-wrapper","data-test-toggle-wrapper":!0,children:[c.jsxs("div",{className:"gh-portal-list-detail",children:[c.jsx("h3",{children:r("Comments")}),c.jsx("p",{children:r("Get notified when someone replies to your comment")})]}),c.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[c.jsx(xm,{show:o,checked:i}),c.jsx($a,{id:"comments",onToggle:(u,p)=>{a(!0),clearTimeout(s);let d=setTimeout(()=>{a(!1)},2e3);l(d),e(p)},checked:i})]})]}):null}function Fk({subscribedNewsletters:e,setSubscribedNewsletters:t}){const{site:n}=x.useContext($);return yr({site:n}).map(i=>c.jsx(Ik,{newsletter:i,subscribedNewsletters:e,setSubscribedNewsletters:t},i==null?void 0:i.id))}function Bk({site:e,isPaid:t}){const{t:n}=x.useContext($);return t?c.jsx("p",{style:{textAlign:"center",marginTop:"12px",marginBottom:"0",color:"var(--grey6)"},children:n("Unsubscribing from emails will not cancel your paid subscription to {{title}}",{title:e==null?void 0:e.title})}):null}function km({notification:e,subscribedNewsletters:t,updateSubscribedNewsletters:n,updateCommentNotifications:r,unsubscribeAll:i,isPaidMember:o,isCommentsEnabled:a,enableCommentNotifications:s}){const{brandColor:l,onAction:u,member:p,site:d,t:f}=x.useContext($),y=!(t!=null&&t.length)&&(a&&!s||!a),w=e||(()=>null);return c.jsxs("div",{className:"gh-portal-content with-footer",children:[c.jsx(ve,{}),c.jsx(Mk,{}),c.jsx(w,{}),c.jsx("div",{className:"gh-portal-section flex",children:c.jsxs("div",{className:"gh-portal-list",children:[c.jsx(Fk,{subscribedNewsletters:t,setSubscribedNewsletters:g=>{let h=g.map(m=>({id:m.id}));n(h)}}),c.jsx(zk,{isCommentsEnabled:a,enableCommentNotifications:s,updateCommentNotifications:r})]})}),c.jsxs("footer",{className:"gh-portal-action-footer"+(zc({member:p})?" gh-feature-suppressions":""),children:[c.jsxs("div",{style:{width:"100%"},children:[c.jsx(pe,{isRunning:!1,onClick:g=>{i()},disabled:y,brandColor:l,isPrimary:!1,label:f("Unsubscribe from all emails"),isDestructive:!0,style:{width:"100%"},dataTestId:"unsubscribe-from-all-emails"}),c.jsx(Bk,{isPaid:o,site:d})]}),zc({member:p})&&!y&&c.jsxs("div",{className:"gh-portal-footer-secondary",children:[c.jsx("span",{className:"gh-portal-footer-secondary-light",children:f("Not receiving emails?")}),c.jsxs("button",{className:"gh-portal-btn-text gh-email-faq-page-button",onClick:()=>u("switchPage",{page:"emailReceivingFAQ"}),children:[f("Get help")," →"]})]})]})]})}function Uk(){const{member:e,onAction:t,site:n,t:r}=x.useContext($);x.useEffect(()=>{e||t("switchPage",{page:"signin"})},[e,t]);const i=[...(e==null?void 0:e.newsletters)||[]],[o,a]=x.useState(i),{comments_enabled:s}=n,{enable_comment_notifications:l}=e||{};return x.useEffect(()=>{a((e==null?void 0:e.newsletters)||[])},[e==null?void 0:e.newsletters]),c.jsx(km,{notification:null,subscribedNewsletters:o,updateSubscribedNewsletters:u=>{a(u),t("updateNewsletterPreference",{newsletters:u})},updateCommentNotifications:async u=>{t("updateNewsletterPreference",{enableCommentNotifications:u})},unsubscribeAll:()=>{a([]),t("showPopupNotification",{action:"updated:success",message:r("Email preference updated.")});const u={newsletters:[]};s&&(u.enableCommentNotifications=!1),t("updateNewsletterPreference",u)},isPaidMember:kt({member:e}),isCommentsEnabled:s!=="off",enableCommentNotifications:l})}function Yk(){const{site:e}=x.useContext($),t=e.icon;return t?c.jsx("img",{className:"gh-portal-unsubscribe-logo",src:t,alt:e.title}):null}function Hk(){const{site:e}=x.useContext($),t=e.title||"";return c.jsxs("header",{className:"gh-portal-header",children:[c.jsx(Yk,{}),c.jsx("h2",{className:"gh-portal-publication-title",children:t})]})}async function Wc({api:e,memberUuid:t,newsletters:n,enableCommentNotifications:r}){try{return await e.member.updateNewsletters({uuid:t,newsletters:n,enableCommentNotifications:r})}catch{}}function Gk(){const{site:e,pageData:t,onAction:n,t:r}=x.useContext($),i=Oa({siteUrl:e.url}),[o,a]=x.useState(),s=yr({site:e}),l=s.filter(m=>m.subscribe_on_signup),[u,p]=x.useState(!1),[d,f]=x.useState(l),[y,v]=x.useState(!1),{comments_enabled:w}=e,{enable_comment_notifications:g=!1}=o||{};if(x.useEffect(()=>{const m=Oa({siteUrl:e.url});(async()=>{const b=await m.member.newsletters({uuid:t.uuid});a(b);const k=(b==null?void 0:b.newsletters)||[];if(f(k),(s==null?void 0:s.length)===1&&!w){const E=await Wc({api:m,memberUuid:t.uuid,newsletters:[]});f(E.newsletters)}else if(t.newsletterUuid){const E=await Wc({api:m,memberUuid:t.uuid,newsletters:k==null?void 0:k.filter(_=>_.uuid!==t.newsletterUuid)});f(E.newsletters)}else if(t.comments&&w){const E=await Wc({api:m,memberUuid:t.uuid,enableCommentNotifications:!1});a(E)}})()},[w,t.uuid,t.newsletterUuid,t.comments,e.url,s==null?void 0:s.length]),o===null)return c.jsxs("div",{className:"gh-portal-content gh-portal-feedback with-footer",children:[c.jsx(ve,{}),c.jsx("div",{class:"gh-feedback-icon gh-feedback-icon-error",children:c.jsx(Yc,{})}),c.jsx("h1",{className:"gh-portal-main-title",children:r("That didn't go to plan")}),c.jsx("div",{children:c.jsx("p",{className:"gh-portal-text-center",children:r("We couldn't unsubscribe you as the email address was not found. Please contact the site owner.")})}),c.jsx(pe,{style:{width:"100%"},retry:!1,onClick:()=>n("closePopup"),disabled:!1,brandColor:"#000000",label:r("Close"),isRunning:!1,tabindex:"3",classes:"sticky bottom"})]});if((s==null?void 0:s.length)===1&&!w&&!y)return c.jsxs("div",{className:"gh-portal-content gh-portal-unsubscribe with-footer",children:[c.jsx(ve,{}),c.jsx(Hk,{}),c.jsx("h1",{className:"gh-portal-main-title",children:r("Successfully unsubscribed")}),c.jsxs("div",{children:[c.jsxs("p",{className:"gh-portal-text-center",children:[c.jsx("strong",{children:o==null?void 0:o.email})," will no longer receive this newsletter."]}),c.jsxs("p",{className:"gh-portal-text-center",children:["Didn't mean to do this? Manage your preferences",c.jsx("button",{className:"gh-portal-btn-link gh-portal-btn-branded gh-portal-btn-inline",onClick:()=>{v(!0)},children:"here"}),"."]})]})]});const h=()=>{if(t.comments&&w){const k=u?"gh-portal-hide":"";return c.jsx(c.Fragment,{children:c.jsxs("p",{className:`gh-portal-text-center gh-portal-header-message ${k}`,children:[c.jsx("strong",{children:o==null?void 0:o.email})," will no longer receive emails when someone replies to your comments."]})})}const m=s==null?void 0:s.find(k=>k.uuid===t.newsletterUuid),b=u?"gh-portal-hide":"";return c.jsx(c.Fragment,{children:c.jsxs("p",{className:`gh-portal-text-center gh-portal-header-message ${b}`,children:[c.jsx("strong",{children:o==null?void 0:o.email})," will no longer receive ",c.jsx("strong",{children:m==null?void 0:m.name})," newsletter."]})})};return c.jsx(km,{notification:h,subscribedNewsletters:d,updateSubscribedNewsletters:async m=>{f(m),p(!0),await i.member.updateNewsletters({uuid:t.uuid,newsletters:m})},updateCommentNotifications:async m=>{const b=await i.member.updateNewsletters({uuid:t.uuid,enableCommentNotifications:m});a(b)},unsubscribeAll:async()=>{p(!0),f([]),n("showPopupNotification",{action:"updated:success",message:r("Email preference updated.")});const m=await i.member.updateNewsletters({uuid:t.uuid,newsletters:[],enableCommentNotifications:!1});a(m)},isPaidMember:(o==null?void 0:o.status)!=="free",isCommentsEnabled:w!=="off",enableCommentNotifications:g})}function qk(){const{brandColor:e,lastPage:t,onAction:n,action:r,site:i,t:o}=x.useContext($);x.useEffect(()=>{["removeEmailFromSuppressionList:success"].includes(r)&&n("refreshMemberData"),["removeEmailFromSuppressionList:failed","refreshMemberData:failed"].includes(r)&&n("back"),["refreshMemberData:success"].includes(r)&&(_a({site:i})||Lh({site:i})?(n("switchPage",{page:"accountEmail",lastPage:"accountHome"}),n("showPopupNotification",{message:o("You have been successfully resubscribed")})):n("back"))},[r,n,i,o]);const a=["removeEmailFromSuppressionList:running","refreshMemberData:running"].includes(r),s=()=>{n("removeEmailFromSuppressionList")};return c.jsxs("div",{className:"gh-email-suppressed-page",children:[c.jsxs("header",{className:"gh-portal-detail-header",children:[c.jsx(br,{brandColor:e,hidden:!t,onClick:()=>{n("back")}}),c.jsx(ve,{})]}),c.jsx(ym,{className:"gh-email-suppressed-page-icon"}),c.jsxs("div",{className:"gh-email-suppressed-page-text",children:[c.jsx("h3",{className:"gh-portal-main-title gh-email-suppressed-page-title",children:o("Emails disabled")}),c.jsx("p",{children:o("You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.")})]}),c.jsx(pe,{dataTestId:"resubscribe-email",classes:"gh-portal-confirm-button",onClick:s,disabled:a,brandColor:e,label:o("Re-enable emails"),isRunning:a})]})}function Wk(){const{brandColor:e,onAction:t,site:n}=x.useContext($),r=`mailto:${ja({site:n})}`;return c.jsxs("div",{className:"gh-email-suppression-faq",children:[c.jsxs("header",{className:"gh-portal-detail-header",children:[c.jsx(br,{brandColor:e,onClick:()=>{t("switchPage",{page:"emailSuppressed",lastPage:"accountHome"})}}),c.jsx(ve,{})]}),c.jsxs("div",{class:"gh-longform",children:[c.jsx("h3",{children:"Why has my email been disabled?"}),c.jsx("p",{children:"Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce)."}),c.jsx("h4",{children:"Spam complaints"}),c.jsx("p",{children:"If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages."}),c.jsx("p",{children:"If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen."}),c.jsx("p",{children:"Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox."}),c.jsx("h4",{children:"Permanent failure (bounce)"}),c.jsx("p",{children:"When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent."}),c.jsx("p",{children:"In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account."}),c.jsx("p",{children:"If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen."}),c.jsx("p",{children:c.jsx("a",{className:"gh-portal-btn gh-portal-btn-branded",href:r,onClick:()=>{r&&window.open(r)},children:"Need more help? Contact support"})})]})]})}function Vk(){const{brandColor:e,onAction:t,site:n,lastPage:r,member:i}=x.useContext($),o=ja({site:n}),a=`mailto:${o}`,s=ex({site:n});return c.jsxs("div",{className:"gh-email-receiving-faq",children:[c.jsxs("header",{className:"gh-portal-detail-header",children:[c.jsx(br,{brandColor:e,onClick:()=>{r?t("switchPage",{page:"accountHome"}):t("switchPage",{page:"accountEmail",lastPage:"accountHome"})}}),c.jsx(ve,{})]}),c.jsxs("div",{class:"gh-longform",children:[c.jsx("h3",{children:"Help! I'm not receiving emails"}),c.jsx("p",{children:"If you're not receiving the email newsletter you've subscribed to, here are few things to check."}),c.jsx("h4",{children:"Verify your email address is correct"}),c.jsxs("p",{children:["The email address we have for you is ",c.jsx("strong",{children:i.email})," — if that's not correct, you can update it in your ",c.jsx("button",{className:"gh-portal-btn-text",onClick:()=>t("switchPage",{lastPage:"emailReceivingFAQ",page:"accountProfile"}),children:"account settings area"}),"."]}),c.jsx("h4",{children:"Check spam & promotions folders"}),c.jsx("p",{children:`Make sure emails aren't accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".`}),c.jsx("h4",{children:"Create a new contact"}),c.jsxs("p",{children:["In your email client add ",c.jsx("strong",{children:s})," to your contacts list. This signals to your mail provider that emails sent from this address should be trusted."]}),c.jsx("h4",{children:"Send an email and say hi!"}),c.jsxs("p",{children:["Send an email to ",c.jsx("strong",{children:s})," and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted."]}),c.jsx("h4",{children:"Check with your mail provider"}),c.jsxs("p",{children:["If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from ",c.jsx("strong",{children:s})]}),c.jsx("h4",{children:"Get in touch for help"}),c.jsxs("p",{children:["If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting ",c.jsx("a",{href:a,onClick:()=>{a&&window.open(a)},children:o}),"."]})]})]})}const Vc={signin:gm,signup:cm,accountHome:vm,accountPlan:sm,accountProfile:bm,accountEmail:Uk,signupNewsletter:qc,unsubscribe:Gk,magiclink:um,loading:mm,offer:pm,feedback:mk,emailSuppressed:qk,emailSuppressionFAQ:Wk,emailReceivingFAQ:Vk},Kc=function({page:e}){return Object.keys(Vc).includes(e)?e:"signup"},Kk=function({page:e}){return e.includes("account")},Qk=function({page:e}){return e.includes("offer")},Jk=e=>x.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM11.8326 2.33879C6.37785 2.95189 3.95901 5.20797 3.41126 9.74699C3.34896 10.2632 3.22642 10.7805 3.10443 11.2954C2.93277 12.02 2.76221 12.74 2.76221 13.4458C2.76221 17.9885 6.5856 21.556 11.1283 21.556C12.8959 21.556 14.4433 20.8144 15.8756 20.048C19.0536 18.3478 22.0328 16.2597 22.0328 12.5411C22.0328 9.91512 20.1051 7.56932 18.466 5.5747C18.3834 5.47416 18.3015 5.37451 18.2206 5.27577C17.3866 4.25742 14.4333 2.04643 11.8326 2.33879Z",fill:"#15171A"}));class Qc extends W.Component{render(){return c.jsxs("a",{href:"https://ghost.org",target:"_blank",rel:"noopener noreferrer",onClick:()=>{window.open("https://ghost.org","_blank")},children:[c.jsx(Jk,{}),"Powered by Ghost"]})}}J(Qc,"contextType",$);const wm=({member:e})=>({modalContainer:{zIndex:"3999999",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",overflow:"hidden"},frame:{common:{margin:"auto",position:"relative",padding:"0",outline:"0",width:"100%",opacity:"1",overflow:"hidden",height:"100%"}},page:{links:{width:"600px"}}});function Xk({message:e}){return fr()?c.jsx("div",{className:"gh-portal-cookiebanner",children:e}):null}class _m extends W.Component{componentDidMount(){this.node&&!q(["preview"])&&!this.props.isMobile&&(this.node.focus(),this.keyUphandler=t=>{t.key==="Escape"&&this.dismissPopup(t)},this.node.ownerDocument.removeEventListener("keyup",this.keyUphandler),this.node.ownerDocument.addEventListener("keyup",this.keyUphandler)),this.sendContainerHeightChangeEvent()}dismissPopup(t){var i;const n=t.target&&t.target.tagName;(n!=="INPUT"||n==="INPUT"&&!((i=t==null?void 0:t.target)!=null&&i.value))&&this.context.onAction("closePopup")}sendContainerHeightChangeEvent(){var t,n;this.node&&q(["preview"])&&((t=this.node)==null?void 0:t.clientHeight)!==this.lastContainerHeight&&(this.lastContainerHeight=(n=this.node)==null?void 0:n.clientHeight,window.document.body.style.overflow="hidden",window.document.body.style["scrollbar-width"]="none",window.parent.postMessage({type:"portal-preview-updated",payload:{height:this.lastContainerHeight}},"*"))}componentDidUpdate(){this.sendContainerHeightChangeEvent()}componentWillUnmount(){this.node&&this.node.ownerDocument.removeEventListener("keyup",this.keyUphandler)}handlePopupClose(t){q(["preview"])||t.target===t.currentTarget&&this.context.onAction("closePopup")}renderActivePage(){const{page:t}=this.context;Kc({page:t});const n=Vc[t];return c.jsx(n,{})}renderPopupNotification(){const{popupNotification:t}=this.context;return!t||!t.type?null:c.jsx(dm,{})}render(){const{page:t,pageQuery:n,site:r,customSiteUrl:i}=this.context,a=ka({site:r}).length;Kc({page:t});const l={...wm({page:t}).page[t]};let u="",p="regular",d="",f=t;switch(t){case"signup":d="Cookies must be enabled in your browser to sign up.";break;case"signin":d="Cookies must be enabled in your browser to sign in.";break;case"accountHome":f="account-home";break;case"accountProfile":f="account-profile";break;case"accountPlan":f="account-plan";break;default:d="Cookies must be enabled in your browser.",f=t;break}a>1&&!ot({site:r,pageQuery:n})&&t==="signup"&&(f+=" full-size",p="full");const y=wn({site:r});(y&&a>2||!y&&a>1)&&t==="accountPlan"&&(f+=" full-size",p="full"),(t==="emailSuppressionFAQ"||t==="emailReceivingFAQ")&&(f+=" large-size");let v="gh-portal-popup-container";q(["preview"])&&(f+=" preview"),q(["preview"],{customSiteUrl:i})&&!r.disableBackground&&(v+=" preview"),q(["dev"])&&(v+=" dev");const w=`${v} ${u} ${f}`;return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"gh-portal-popup-wrapper "+f,onClick:g=>this.handlePopupClose(g),children:c.jsxs("div",{className:w,style:l,ref:g=>this.node=g,tabIndex:-1,children:[c.jsx(Xk,{message:d}),this.renderPopupNotification(),this.renderActivePage(),p==="full"?c.jsx("div",{className:"gh-portal-powered inside "+(q(["preview"])?"hidden ":"")+f,children:c.jsx(Qc,{})}):""]})}),c.jsx("div",{className:"gh-portal-powered outside "+(q(["preview"])?"hidden ":"")+f,children:c.jsx(Qc,{})})]})}}J(_m,"contextType",$);class Sm extends W.Component{constructor(t){super(t),this.state={height:null}}renderCurrentPage(t){const n=Vc[t];return c.jsx(n,{})}onHeightChange(t){this.setState({height:t})}handlePopupClose(t){t.preventDefault(),t.target===t.currentTarget&&this.context.onAction("closePopup")}renderFrameStyles(){const{site:t}=this.context,n=wk({site:t}),r=`
|
|
3161
|
+
`;function c1({site:e}){return Bc+a1+Vx+E0+I0+Kx({site:e})+Gx+Fx+Wx+Ff+H0+F0+q0({site:e})+W0+s1+l1+J0+r1+i1+o1}class Gh extends O.Component{constructor(t){super(t),this.state={email:""}}componentDidMount(){const{member:t}=this.context;t&&this.context.onAction("switchPage",{page:"accountHome"})}handleSignin(t){t.preventDefault(),this.setState(n=>({errors:Ba({fields:this.getInputFields({state:n})})}),async()=>{const{email:n,errors:r}=this.state,{redirect:i}=this.context.pageData??{};r&&Object.values(r).filter(a=>!!a).length>0||this.context.onAction("signin",{email:n,redirect:i})})}handleInputChange(t,n){const r=n.name;this.setState({[r]:t.target.value})}onKeyDown(t){t.keyCode===13&&this.handleSignin(t)}getInputFields({state:t}){const{t:n}=this.context,r=t.errors||{};return[{type:"email",value:t.email,placeholder:"jamie@example.com",label:n("Email"),name:"email",required:!0,errorMessage:r.email||"",autoFocus:!0}]}renderSubmitButton(){const{action:t,t:n}=this.context;let r=!1;const i=t==="signin:running";let o=n(i?"Sending login link...":"Continue");const a=!!i;return t==="signin:failed"&&(o=n("Retry"),r=!0),c.jsx(pe,{dataTestId:"signin",retry:r,style:{width:"100%"},onClick:s=>this.handleSignin(s),disabled:a,brandColor:this.context.brandColor,label:o,isRunning:i})}renderSignupMessage(){const{brandColor:t,t:n}=this.context;return c.jsxs("div",{className:"gh-portal-signup-message",children:[c.jsx("div",{children:n("Don't have an account?")}),c.jsx("button",{"data-test-button":"signup-switch",className:"gh-portal-btn gh-portal-btn-link",style:{color:t},onClick:()=>this.context.onAction("switchPage",{page:"signup"}),children:c.jsx("span",{children:n("Sign up")})})]})}renderForm(){return c.jsx("section",{children:c.jsx("div",{className:"gh-portal-section",children:c.jsx(Fa,{fields:this.getInputFields({state:this.state}),onChange:(t,n)=>this.handleInputChange(t,n),onKeyDown:(t,n)=>this.onKeyDown(t,n)})})})}renderSiteLogo(){const t=this.context.site.icon;return t?c.jsx("img",{className:"gh-portal-signup-logo",src:t,alt:this.context.site.title}):null}renderFormHeader(){const{t}=this.context;return c.jsxs("header",{className:"gh-portal-signin-header",children:[this.renderSiteLogo(),c.jsx("h1",{className:"gh-portal-main-title",children:t("Sign in")})]})}render(){return c.jsxs(c.Fragment,{children:[c.jsx(ye,{}),c.jsxs("div",{className:"gh-portal-logged-out-form-container",children:[c.jsxs("div",{className:"gh-portal-content signin",children:[this.renderFormHeader(),this.renderForm()]}),c.jsxs("footer",{className:"gh-portal-signin-footer",children:[this.renderSubmitButton(),this.renderSignupMessage()]})]})]})}}Q(Gh,"contextType",N);const u1=({onClose:e,handleSignout:t,supportAddress:n="",t:r})=>{const i=`mailto:${n}`;return c.jsxs("footer",{className:"gh-portal-account-footer",children:[c.jsx("ul",{className:"gh-portal-account-footermenu",children:c.jsx("li",{children:c.jsx("button",{"data-test-button":"footer-signout",className:"gh-portal-btn",name:"logout","aria-label":"logout",onClick:o=>t(o),children:r("Sign out")})})}),c.jsx("div",{className:"gh-portal-account-footerright",children:c.jsx("ul",{className:"gh-portal-account-footermenu",children:c.jsx("li",{children:c.jsx("a",{"data-test-link":"footer-support",className:"gh-portal-btn gh-portal-btn-branded",href:i,onClick:()=>{i&&window.open(i)},children:r("Contact support")})})})})]})},d1=()=>{const{member:e,brandColor:t,t:n}=w.useContext(N),r=e.avatar_image;return c.jsxs("header",{className:"gh-portal-account-header",children:[c.jsx(Fc,{gravatar:r,style:{userIcon:{color:t,width:"56px",height:"56px",padding:"2px"}}}),c.jsx("h2",{className:"gh-portal-main-title",children:n("Your account")})]})},p1=()=>{const{site:e,action:t,brandColor:n,onAction:r,t:i}=w.useContext(N),{is_stripe_configured:o}=e;if(!o||zi({site:e}))return null;const a=["checkoutPlan:running"].includes(t),s=()=>{r("switchPage",{page:"accountPlan",lastPage:"accountHome"})};return c.jsx(pe,{dataTestId:"view-plans",isRunning:a,label:i("View plans"),onClick:()=>s(),brandColor:n,style:{width:"100%"}})},m1=()=>{const{member:e,site:t,t:n}=w.useContext(N),{is_stripe_configured:r}=t;if(!r||zi({site:t}))return null;const i=Je({member:e}),o=yr({member:e});if(o&&!i)return null;if(i){const a=i==null?void 0:i.current_period_end;if(o&&Wc({member:e})){const s=Wc({member:e}),l=St(s);return c.jsx("div",{className:"gh-portal-section",children:c.jsx("p",{className:"gh-portal-text-center gh-portal-free-ctatext",children:n("Your subscription will expire on {{expiryDate}}",{expiryDate:l})})})}if(i!=null&&i.cancel_at_period_end)return null;if(Vc({sub:i})){const s=St(i.trial_end_at);return c.jsx("div",{className:"gh-portal-section",children:c.jsx("p",{className:"gh-portal-text-center gh-portal-free-ctatext",children:n("Your subscription will start on {{subscriptionStart}}",{subscriptionStart:s})})})}return c.jsx("div",{className:"gh-portal-section",children:c.jsx("p",{className:"gh-portal-text-center gh-portal-free-ctatext",children:n("Your subscription will renew on {{renewalDate}}",{renewalDate:St(a)})})})}return c.jsxs("div",{className:"gh-portal-section",children:[c.jsx("p",{className:"gh-portal-text-center gh-portal-free-ctatext",children:n("You currently have a free membership, upgrade to a paid subscription for full access.")}),c.jsx(p1,{})]})},f1=()=>{const{member:e,onAction:t,action:n,brandColor:r,t:i}=w.useContext(N),o=Je({member:e});if(!o||!o.cancel_at_period_end)return null;const a=o.cancel_at_period_end?i("Continue subscription"):i("Cancel subscription"),s=["cancelSubscription:running"].includes(n),l=!!s,u=!!o.cancel_at_period_end,p=()=>{if(!o.cancel_at_period_end)return null;const d=o.current_period_end;return c.jsx("p",{className:"gh-portal-text-center gh-portal-free-ctatext",children:i("Your subscription will expire on {{expiryDate}}",{expiryDate:St(d)})})};return c.jsxs("div",{className:"gh-portal-cancelcontinue-container",children:[c.jsx(p,{}),c.jsx(pe,{onClick:d=>{t("continueSubscription",{subscriptionId:o.id})},isRunning:s,disabled:l,isPrimary:u,brandColor:r,label:a,style:{width:"100%"}})]})},h1=e=>w.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},w.createElement("defs",null,w.createElement("style",null,".a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}")),w.createElement("path",{d:"M22.939 2.56V8.817C22.9391 9.61244 22.6232 10.3754 22.061 10.938L10.5 22.5C10.2187 22.7812 9.83721 22.9392 9.43946 22.9392C9.04172 22.9392 8.66026 22.7812 8.37896 22.5L1.49997 15.62C1.21876 15.3387 1.06079 14.9572 1.06079 14.5595C1.06079 14.1618 1.21876 13.7803 1.49997 13.499L13.061 1.938C13.6236 1.37572 14.3865 1.0599 15.182 1.06H21.439C21.8368 1.06 22.2183 1.21803 22.4996 1.49934C22.7809 1.78064 22.939 2.16217 22.939 2.56V2.56Z",className:"a"}),w.createElement("path",{d:"M17.689 7.81C16.8605 7.81 16.189 7.13842 16.189 6.31C16.189 5.48157 16.8605 4.81 17.689 4.81C18.5174 4.81 19.189 5.48157 19.189 6.31C19.189 7.13842 18.5174 7.81 17.689 7.81Z",className:"a"})),g1=()=>{const{member:e,site:t,onAction:n,t:r}=w.useContext(N),i=()=>{const m=Je({member:e});n("editBilling",{subscriptionId:m.id})},o=()=>{const{is_stripe_configured:m}=t;m&&n("switchPage",{page:"accountPlan",lastPage:"accountHome"})},a=({price:m,isComplimentary:g,subscription:b})=>{const{offer:x,start_date:y}=b||{};let f="";if(m){const{amount:j=0,currency:T,interval:_}=m;f=`${Intl.NumberFormat("en",{currency:T,style:"currency"}).format(j/100)}/${_}`}let h=b1({price:m,offer:x,subscriptionStartDate:y,t:r});const v=Wc({member:e});g&&(v?f=`${r("Complimentary")} - ${r("Expires {{expiryDate}}",{expiryDate:v})}`:f=f?`${r("Complimentary")} (${f})`:r("Complimentary"));let k="";h&&(k="gh-portal-account-old-price");const C=()=>h?c.jsxs("p",{className:"gh-portal-account-discountcontainer",children:[c.jsx(h1,{className:"gh-portal-account-tagicon"}),c.jsx("span",{children:h})]}):null,S=Vc({sub:b});return S&&(k="gh-portal-account-old-price"),S?c.jsxs(c.Fragment,{children:[c.jsx("p",{className:k,children:f}),c.jsx(y1,{subscription:b,t:r})]}):c.jsxs(c.Fragment,{children:[c.jsx("p",{className:k,children:f}),c.jsx(C,{})]})},s=({isComplimentary:m})=>(Li({member:e})?!1:m)||zi({site:t})?null:c.jsx("button",{className:"gh-portal-btn gh-portal-btn-list",onClick:b=>o(),"data-test-button":"change-plan",children:r("Change")}),l=({defaultCardLast4:m})=>{if(m){const g=`**** **** **** ${m}`;return c.jsx("p",{children:g})}return null},u=({defaultCardLast4:m,isComplimentary:g})=>{const{action:b}=w.useContext(N),x=b==="editBilling:running"?c.jsx(Ui,{className:"gh-portal-billing-button-loader"}):r("Update");return g?null:c.jsxs("section",{children:[c.jsxs("div",{className:"gh-portal-list-detail",children:[c.jsx("h3",{children:r("Billing info")}),c.jsx(l,{defaultCardLast4:m})]}),c.jsx("button",{className:"gh-portal-btn gh-portal-btn-list",onClick:y=>i(),"data-test-button":"update-billing",children:x})]})},p=Je({member:e}),d=yr({member:e});if(p||d){const{price:m,default_payment_card_last4:g}=p||{};let b=r("Plan");return Ea({site:t})&&Wf({member:e})&&(b=Wf({member:e})),c.jsxs(c.Fragment,{children:[c.jsxs("section",{children:[c.jsxs("div",{className:"gh-portal-list-detail",children:[c.jsx("h3",{children:b}),c.jsx(a,{price:m,isComplimentary:d,subscription:p})]}),c.jsx(s,{isComplimentary:d})]}),c.jsx(u,{isComplimentary:d,defaultCardLast4:g})]})}return null};function y1({subscription:e,priceLabel:t,t:n}){if(Vc({sub:e})){const r=St(e.trial_end_at);return c.jsx("p",{className:"gh-portal-account-discountcontainer",children:c.jsx("div",{children:c.jsx("span",{children:n("Free Trial – Ends {{trialEnd}}",{trialEnd:r})})})})}return null}function b1({offer:e,price:t,subscriptionStartDate:n,t:r}){let i="";if((e==null?void 0:e.type)==="trial"||(e==null?void 0:e.duration)==="once")return"";if(e){const o=e.duration;let a="";if(o==="forever")a=r("Forever");else if(o==="repeating"){const s=e.duration_in_months||0;let l=new Date(n),u=new Date(l.setMonth(l.getMonth()+s));if(Qf(u))return"";a=r("Ends {{offerEndDate}}",{offerEndDate:St(u)})}i=`${_x({offer:e,price:t,useFormatted:!0})}/${t.interval}${a?` — ${a}`:""}`}return i}function v1(){const{member:e,site:t,onAction:n,t:r}=w.useContext(N);let{newsletters:i}=e;const o=!!(i!=null&&i.length);let a=r(o?"Subscribed":"Unsubscribed");const s=(l,u)=>{var m;l.preventDefault();const p=kr({site:t}),d=(m=e==null?void 0:e.newsletters)!=null&&m.length?[]:p;n("updateNewsletterPreference",{newsletters:d})};return c.jsxs("section",{children:[c.jsxs("div",{className:"gh-portal-list-detail email-newsletter",children:[c.jsx("h3",{children:r("Email newsletter")}),c.jsxs("p",{children:[a," ",qc({member:e})&&o&&c.jsx("button",{className:"gh-portal-btn-text gh-email-faq-page-button",onClick:()=>n("switchPage",{page:"emailReceivingFAQ",lastPage:"accountHome"}),children:r("Not receiving emails?")})]})]}),c.jsx("div",{children:c.jsx(Ma,{dataTestId:"default-newsletter-toggle",id:"default-newsletter-toggle",onToggle:l=>{s(l)},checked:o})})]})}const Vh=e=>w.createElement("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",...e},w.createElement("path",{d:"m12.79 12.376 4.08 4.079m-4.08 0 4.08-4.08",stroke:"red",strokeWidth:1.35,strokeLinecap:"round",strokeLinejoin:"round"}),w.createElement("path",{d:"m10.439 17.994-2.664-2.652-2.86 1.478.111-4.239m0 0L1.677 9.232a1.344 1.344 0 0 1-.366-1.222 1.369 1.369 0 0 1 .904-1.05l13.111-4.374a1.369 1.369 0 0 1 1.76 1.758L15 10m-9.974 2.581 11.67-9.727",stroke:"#A3A3A3",strokeWidth:1.35,strokeLinecap:"round",strokeLinejoin:"round"}));function k1(){const{onAction:e,member:t,t:n}=w.useContext(N),r=Jf({member:t}),i=r?"emailSuppressed":"accountEmail";return c.jsxs("section",{children:[c.jsxs("div",{className:"gh-portal-list-detail",children:[c.jsx("h3",{children:n("Emails")}),r?c.jsxs("p",{className:"gh-portal-email-notice",children:[c.jsx(Vh,{className:"gh-portal-email-notice-icon"}),c.jsx("span",{className:"gh-mobile-only",children:n("You're not receiving emails")}),c.jsx("span",{className:"gh-desktop-only",children:n("You're currently not receiving emails")})]}):c.jsx("p",{children:n("Update your preferences")})]}),c.jsx("button",{className:"gh-portal-btn gh-portal-btn-list",onClick:o=>{e("switchPage",{page:i,lastPage:"accountHome"})},"data-test-button":"manage-newsletters",children:n("Manage")})]})}const w1=()=>{const{member:e,onAction:t,site:n,t:r}=w.useContext(N),{name:i,email:o}=e,a=()=>{t("switchPage",{page:"accountProfile",lastPage:"accountHome"})},s=Pa({site:n})||Gf({site:n})||Jf({member:e});return c.jsx("div",{children:c.jsxs("div",{className:"gh-portal-list",children:[c.jsxs("section",{children:[c.jsxs("div",{className:"gh-portal-list-detail",children:[c.jsx("h3",{children:i||"Account"}),c.jsx("p",{children:o})]}),c.jsx("button",{"data-test-button":"edit-profile",className:"gh-portal-btn gh-portal-btn-list",onClick:l=>a(),children:r("Edit")})]}),c.jsx(g1,{}),s?c.jsx(k1,{}):c.jsx(v1,{})]})})},x1=()=>c.jsxs("div",{className:"gh-portal-content gh-portal-account-main",children:[c.jsx(ye,{}),c.jsx(d1,{}),c.jsxs("section",{className:"gh-portal-account-data",children:[c.jsx(m1,{}),c.jsx(f1,{}),c.jsx(w1,{})]})]});class qh extends O.Component{componentDidMount(){const{member:t}=this.context;t||this.context.onAction("switchPage",{page:"signin",pageData:{redirect:window.location.href}})}handleSignout(t){t.preventDefault(),this.context.onAction("signout")}render(){const{member:t,site:n,t:r}=this.context,i=Ia({site:n});return t?c.jsxs("div",{className:"gh-portal-account-wrapper",children:[c.jsx(x1,{}),c.jsx(u1,{onClose:()=>this.context.onAction("closePopup"),handleSignout:o=>this.handleSignout(o),supportAddress:i,t:r})]}):null}}Q(qh,"contextType",N);class Kh extends O.Component{constructor(t,n){super(t,n);const{name:r="",email:i=""}=n.member||{};this.state={name:r,email:i}}componentDidMount(){const{member:t}=this.context;t||this.context.onAction("switchPage",{page:"signin"})}handleSignout(t){t.preventDefault(),this.context.onAction("signout")}onBack(t){this.context.onAction("back")}onProfileSave(t){t.preventDefault(),this.setState(n=>({errors:Ba({fields:this.getInputFields({state:n})})}),()=>{const{email:n,name:r,errors:i}=this.state;i&&Object.values(i).filter(a=>!!a).length>0||(this.context.onAction("clearPopupNotification"),this.context.onAction("updateProfile",{email:n,name:r}))})}renderSaveButton(){const{t}=this.context,n=this.context.action==="updateProfile:running";let r=t("Save");this.context.action==="updateProfile:failed"&&(r=t("Retry"));const i=!!n;return c.jsx(pe,{dataTestId:"save-button",isRunning:n,onClick:o=>this.onProfileSave(o),disabled:i,brandColor:this.context.brandColor,label:r,style:{width:"100%"}})}renderDeleteAccountButton(){const{t}=this.context;return c.jsx("div",{style:{cursor:"pointer",color:"red"},role:"button",children:t("Delete account")})}renderAccountFooter(){return c.jsx("footer",{className:"gh-portal-action-footer",children:this.renderSaveButton()})}renderHeader(){const{t}=this.context;return c.jsxs("header",{className:"gh-portal-detail-header",children:[c.jsx(xr,{brandColor:this.context.brandColor,hidden:!this.context.lastPage,onClick:n=>this.onBack(n)}),c.jsx("h3",{className:"gh-portal-main-title",children:t("Account settings")})]})}renderUserAvatar(){const t=this.context.member&&this.context.member.avatar_image,n={position:"relative",display:"flex",width:"64px",height:"64px",marginBottom:"6px",borderRadius:"100%",boxShadow:"0 0 0 3px #fff",border:"1px solid gray",overflow:"hidden",justifyContent:"center",alignItems:"center"};return c.jsx("div",{style:n,children:c.jsx(Fc,{gravatar:t,style:{userIcon:{color:"black",width:"56px",height:"56px"}}})})}handleInputChange(t,n){const r=n.name;this.setState({[r]:t.target.value})}getInputFields({state:t,fieldNames:n}){const{t:r}=this.context,i=t.errors||{},o=[{type:"text",value:t.name,placeholder:"Jamie Larson",label:r("Name"),name:"name",required:!0,errorMessage:i.name||""},{type:"email",value:t.email,placeholder:"jamie@example.com",label:r("Email"),name:"email",required:!0,errorMessage:i.email||""}];return n&&n.length>0?o.filter(a=>n.includes(a.name)):o}onKeyDown(t){t.keyCode===13&&this.onProfileSave(t)}renderProfileData(){return c.jsx("div",{className:"gh-portal-section",children:c.jsx(Fa,{fields:this.getInputFields({state:this.state}),onChange:(t,n)=>this.handleInputChange(t,n),onKeyDown:(t,n)=>this.onKeyDown(t,n)})})}render(){const{member:t}=this.context;return t?c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:"gh-portal-content with-footer",children:[c.jsx(ye,{}),this.renderHeader(),c.jsx("div",{className:"gh-portal-section",children:this.renderProfileData()})]}),this.renderAccountFooter()]}):null}}Q(Kh,"contextType",N);const S1=e=>w.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e},w.createElement("defs",null,w.createElement("style",null,`.a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px!important;}
|
|
3162
|
+
`)),w.createElement("title",null,"check-circle-1"),w.createElement("path",{className:"a",d:"M6,13.223,8.45,16.7a1.049,1.049,0,0,0,1.707.051L18,6.828"}),w.createElement("circle",{className:"a",cx:12,cy:11.999,r:11.25}));function E1(){const{brandColor:e,lastPage:t,onAction:n,t:r}=w.useContext(N);return c.jsxs("header",{className:"gh-portal-detail-header",children:[c.jsx(xr,{brandColor:e,hidden:!t,onClick:i=>{n("back")}}),c.jsx("h3",{className:"gh-portal-main-title",children:r("Email preferences")})]})}function Jh({show:e,checked:t}){let n=[];return e&&n.push("gh-portal-checkmark-show"),t&&n.push("gh-portal-toggle-checked"),n.push("gh-portal-checkmark-container"),c.jsx("div",{className:n.join(" "),children:c.jsx(S1,{className:"gh-portal-checkmark-icon",alt:""})})}function C1({newsletter:e,subscribedNewsletters:t,setSubscribedNewsletters:n}){const r=t.some(l=>l.id===(e==null?void 0:e.id)),[i,o]=w.useState(!1),[a,s]=w.useState(null);return c.jsxs("section",{className:"gh-portal-list-toggle-wrapper","data-test-toggle-wrapper":!0,children:[c.jsxs("div",{className:"gh-portal-list-detail",children:[c.jsx("h3",{children:e.name}),c.jsx("p",{children:e==null?void 0:e.description})]}),c.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[c.jsx(Jh,{show:i,checked:r}),c.jsx(Ma,{id:e.id,onToggle:(l,u)=>{let p=[];if(u){p=t.filter(m=>m.id!==e.id).concat(e),o(!0),clearTimeout(a);let d=setTimeout(()=>{o(!1)},2e3);s(d)}else{p=t.filter(m=>m.id!==e.id),o(!0),clearTimeout(a);let d=setTimeout(()=>{o(!1)},2e3);s(d)}n(p)},checked:r})]})]})}function $1({updateCommentNotifications:e,isCommentsEnabled:t,enableCommentNotifications:n}){const{t:r}=w.useContext(N),i=!!n,[o,a]=w.useState(!1),[s,l]=w.useState(null);return t?c.jsxs("section",{className:"gh-portal-list-toggle-wrapper","data-test-toggle-wrapper":!0,children:[c.jsxs("div",{className:"gh-portal-list-detail",children:[c.jsx("h3",{children:r("Comments")}),c.jsx("p",{children:r("Get notified when someone replies to your comment")})]}),c.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[c.jsx(Jh,{show:o,checked:i}),c.jsx(Ma,{id:"comments",onToggle:(u,p)=>{a(!0),clearTimeout(s);let d=setTimeout(()=>{a(!1)},2e3);l(d),e(p)},checked:i})]})]}):null}function _1({subscribedNewsletters:e,setSubscribedNewsletters:t}){const{site:n}=w.useContext(N);return kr({site:n}).map(i=>c.jsx(C1,{newsletter:i,subscribedNewsletters:e,setSubscribedNewsletters:t},i==null?void 0:i.id))}function P1({site:e,isPaid:t}){const{t:n}=w.useContext(N);return t?c.jsx("p",{style:{textAlign:"center",marginTop:"12px",marginBottom:"0",color:"var(--grey6)"},children:n("Unsubscribing from emails will not cancel your paid subscription to {{title}}",{title:e==null?void 0:e.title})}):null}function Qh({notification:e,subscribedNewsletters:t,updateSubscribedNewsletters:n,updateCommentNotifications:r,unsubscribeAll:i,isPaidMember:o,isCommentsEnabled:a,enableCommentNotifications:s}){const{brandColor:l,onAction:u,member:p,site:d,t:m}=w.useContext(N),g=!(t!=null&&t.length)&&(a&&!s||!a),x=e||(()=>null);return c.jsxs("div",{className:"gh-portal-content with-footer",children:[c.jsx(ye,{}),c.jsx(E1,{}),c.jsx(x,{}),c.jsx("div",{className:"gh-portal-section flex",children:c.jsxs("div",{className:"gh-portal-list",children:[c.jsx(_1,{subscribedNewsletters:t,setSubscribedNewsletters:y=>{let f=y.map(h=>({id:h.id}));n(f)}}),c.jsx($1,{isCommentsEnabled:a,enableCommentNotifications:s,updateCommentNotifications:r})]})}),c.jsxs("footer",{className:"gh-portal-action-footer"+(qc({member:p})?" gh-feature-suppressions":""),children:[c.jsxs("div",{style:{width:"100%"},children:[c.jsx(pe,{isRunning:!1,onClick:y=>{i()},disabled:g,brandColor:l,isPrimary:!1,label:m("Unsubscribe from all emails"),isDestructive:!0,style:{width:"100%"},dataTestId:"unsubscribe-from-all-emails"}),c.jsx(P1,{isPaid:o,site:d})]}),qc({member:p})&&!g&&c.jsxs("div",{className:"gh-portal-footer-secondary",children:[c.jsx("span",{className:"gh-portal-footer-secondary-light",children:m("Not receiving emails?")}),c.jsxs("button",{className:"gh-portal-btn-text gh-email-faq-page-button",onClick:()=>u("switchPage",{page:"emailReceivingFAQ"}),children:[m("Get help")," →"]})]})]})]})}function j1(){const{member:e,onAction:t,site:n,t:r}=w.useContext(N);w.useEffect(()=>{e||t("switchPage",{page:"signin"})},[e,t]);const i=[...(e==null?void 0:e.newsletters)||[]],[o,a]=w.useState(i),{comments_enabled:s}=n,{enable_comment_notifications:l}=e||{};return w.useEffect(()=>{a((e==null?void 0:e.newsletters)||[])},[e==null?void 0:e.newsletters]),c.jsx(Qh,{notification:null,subscribedNewsletters:o,updateSubscribedNewsletters:u=>{a(u),t("updateNewsletterPreference",{newsletters:u})},updateCommentNotifications:async u=>{t("updateNewsletterPreference",{enableCommentNotifications:u})},unsubscribeAll:()=>{a([]),t("showPopupNotification",{action:"updated:success",message:r("Email preference updated.")});const u={newsletters:[]};s&&(u.enableCommentNotifications=!1),t("updateNewsletterPreference",u)},isPaidMember:Et({member:e}),isCommentsEnabled:s!=="off",enableCommentNotifications:l})}function N1(){const{site:e}=w.useContext(N),t=e.icon;return t?c.jsx("img",{className:"gh-portal-unsubscribe-logo",src:t,alt:e.title}):null}function T1(){const{site:e}=w.useContext(N),t=e.title||"";return c.jsxs("header",{className:"gh-portal-header",children:[c.jsx(N1,{}),c.jsx("h2",{className:"gh-portal-publication-title",children:t})]})}async function ru({api:e,memberUuid:t,newsletters:n,enableCommentNotifications:r}){try{return await e.member.updateNewsletters({uuid:t,newsletters:n,enableCommentNotifications:r})}catch{}}function I1(){const{site:e,pageData:t,onAction:n,t:r}=w.useContext(N),i=Ha({siteUrl:e.url}),[o,a]=w.useState(),s=kr({site:e}),l=s.filter(h=>h.subscribe_on_signup),[u,p]=w.useState(!1),[d,m]=w.useState(l),[g,b]=w.useState(!1),{comments_enabled:x}=e,{enable_comment_notifications:y=!1}=o||{};if(w.useEffect(()=>{const h=Ha({siteUrl:e.url});(async()=>{const v=await h.member.newsletters({uuid:t.uuid});a(v);const k=(v==null?void 0:v.newsletters)||[];if(m(k),(s==null?void 0:s.length)===1&&!x){const C=await ru({api:h,memberUuid:t.uuid,newsletters:[]});m(C.newsletters)}else if(t.newsletterUuid){const C=await ru({api:h,memberUuid:t.uuid,newsletters:k==null?void 0:k.filter(S=>S.uuid!==t.newsletterUuid)});m(C.newsletters)}else if(t.comments&&x){const C=await ru({api:h,memberUuid:t.uuid,enableCommentNotifications:!1});a(C)}})()},[x,t.uuid,t.newsletterUuid,t.comments,e.url,s==null?void 0:s.length]),o===null)return c.jsxs("div",{className:"gh-portal-content gh-portal-feedback with-footer",children:[c.jsx(ye,{}),c.jsx("div",{class:"gh-feedback-icon gh-feedback-icon-error",children:c.jsx(Xc,{})}),c.jsx("h1",{className:"gh-portal-main-title",children:r("That didn't go to plan")}),c.jsx("div",{children:c.jsx("p",{className:"gh-portal-text-center",children:r("We couldn't unsubscribe you as the email address was not found. Please contact the site owner.")})}),c.jsx(pe,{style:{width:"100%"},retry:!1,onClick:()=>n("closePopup"),disabled:!1,brandColor:"#000000",label:r("Close"),isRunning:!1,tabindex:"3",classes:"sticky bottom"})]});if((s==null?void 0:s.length)===1&&!x&&!g)return c.jsxs("div",{className:"gh-portal-content gh-portal-unsubscribe with-footer",children:[c.jsx(ye,{}),c.jsx(T1,{}),c.jsx("h1",{className:"gh-portal-main-title",children:r("Successfully unsubscribed")}),c.jsxs("div",{children:[c.jsx("p",{className:"gh-portal-text-center",children:c.jsx(Ue,{syntax:Qe,string:r("{{memberEmail}} will no longer receive this newsletter."),mapping:{memberEmail:c.jsx("strong",{children:o==null?void 0:o.email})}})}),c.jsx("p",{className:"gh-portal-text-center",children:c.jsx(Ue,{syntax:Qe,string:r("Didn't mean to do this? Manage your preferences <button>here</button>."),mapping:{button:c.jsx("button",{className:"gh-portal-btn-link gh-portal-btn-branded gh-portal-btn-inline",onClick:()=>{b(!0)}})}})})]})]});const f=()=>{if(t.comments&&x){const k=u?"gh-portal-hide":"";return c.jsx(c.Fragment,{children:c.jsx("p",{className:`gh-portal-text-center gh-portal-header-message ${k}`,children:c.jsx(Ue,{syntax:Qe,string:r("{{memberEmail}} will no longer receive emails when someone replies to your comments."),mapping:{memberEmail:c.jsx("strong",{children:o==null?void 0:o.email})}})})})}const h=s==null?void 0:s.find(k=>k.uuid===t.newsletterUuid),v=u?"gh-portal-hide":"";return c.jsx(c.Fragment,{children:c.jsx("p",{className:`gh-portal-text-center gh-portal-header-message ${v}`,children:c.jsx(Ue,{syntax:Qe,string:r("{{memberEmail}} will no longer receive {{newsletterName}} newsletter."),mapping:{memberEmail:c.jsx("strong",{children:o==null?void 0:o.email}),newsletterName:c.jsx("strong",{children:h==null?void 0:h.name})}})})})};return c.jsx(Qh,{notification:f,subscribedNewsletters:d,updateSubscribedNewsletters:async h=>{m(h),p(!0),await i.member.updateNewsletters({uuid:t.uuid,newsletters:h})},updateCommentNotifications:async h=>{const v=await i.member.updateNewsletters({uuid:t.uuid,enableCommentNotifications:h});a(v)},unsubscribeAll:async()=>{p(!0),m([]),n("showPopupNotification",{action:"updated:success",message:r("Email preference updated.")});const h=await i.member.updateNewsletters({uuid:t.uuid,newsletters:[],enableCommentNotifications:!1});a(h)},isPaidMember:(o==null?void 0:o.status)!=="free",isCommentsEnabled:x!=="off",enableCommentNotifications:y})}function D1(){const{brandColor:e,lastPage:t,onAction:n,action:r,site:i,t:o}=w.useContext(N);w.useEffect(()=>{["removeEmailFromSuppressionList:success"].includes(r)&&n("refreshMemberData"),["removeEmailFromSuppressionList:failed","refreshMemberData:failed"].includes(r)&&n("back"),["refreshMemberData:success"].includes(r)&&(Pa({site:i})||Gf({site:i})?(n("switchPage",{page:"accountEmail",lastPage:"accountHome"}),n("showPopupNotification",{message:o("You have been successfully resubscribed")})):n("back"))},[r,n,i,o]);const a=["removeEmailFromSuppressionList:running","refreshMemberData:running"].includes(r),s=()=>{n("removeEmailFromSuppressionList")};return c.jsxs("div",{className:"gh-email-suppressed-page",children:[c.jsxs("header",{className:"gh-portal-detail-header",children:[c.jsx(xr,{brandColor:e,hidden:!t,onClick:()=>{n("back")}}),c.jsx(ye,{})]}),c.jsx(Vh,{className:"gh-email-suppressed-page-icon"}),c.jsxs("div",{className:"gh-email-suppressed-page-text",children:[c.jsx("h3",{className:"gh-portal-main-title gh-email-suppressed-page-title",children:o("Emails disabled")}),c.jsx("p",{children:o("You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.")})]}),c.jsx(pe,{dataTestId:"resubscribe-email",classes:"gh-portal-confirm-button",onClick:s,disabled:a,brandColor:e,label:o("Re-enable emails"),isRunning:a})]})}function A1(){const{brandColor:e,onAction:t,site:n,t:r}=w.useContext(N),i=`mailto:${Ia({site:n})}`;return c.jsxs("div",{className:"gh-email-suppression-faq",children:[c.jsxs("header",{className:"gh-portal-detail-header",children:[c.jsx(xr,{brandColor:e,onClick:()=>{t("switchPage",{page:"emailSuppressed",lastPage:"accountHome"})}}),c.jsx(ye,{})]}),c.jsxs("div",{class:"gh-longform",children:[c.jsx("h3",{children:r("Why has my email been disabled?")}),c.jsx("p",{children:r("Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).")}),c.jsx("h4",{children:r("Spam complaints")}),c.jsx("p",{children:r("If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.")}),c.jsx("p",{children:r("If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.")}),c.jsx("p",{children:r("Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.")}),c.jsx("h4",{children:r("Permanent failure (bounce)")}),c.jsx("p",{children:r("When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.")}),c.jsx("p",{children:r("In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.")}),c.jsx("p",{children:r("If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.")}),c.jsx("p",{children:c.jsx("a",{className:"gh-portal-btn gh-portal-btn-branded",href:i,onClick:()=>{i&&window.open(i)},children:r("Need more help? Contact support")})})]})]})}function M1(){const{brandColor:e,onAction:t,site:n,lastPage:r,member:i,t:o}=w.useContext(N),a=Ia({site:n}),s=`mailto:${a}`,l=Cx({site:n});return c.jsxs("div",{className:"gh-email-receiving-faq",children:[c.jsxs("header",{className:"gh-portal-detail-header",children:[c.jsx(xr,{brandColor:e,onClick:()=>{r?t("switchPage",{page:"accountHome"}):t("switchPage",{page:"accountEmail",lastPage:"accountHome"})}}),c.jsx(ye,{})]}),c.jsxs("div",{class:"gh-longform",children:[c.jsx("h3",{children:o("Help! I'm not receiving emails")}),c.jsx("p",{children:o("If you're not receiving the email newsletter you've subscribed to, here are few things to check.")}),c.jsx("h4",{children:o("Verify your email address is correct")}),c.jsx("p",{children:c.jsx(Ue,{syntax:Qe,string:o("The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>."),mapping:{memberEmail:c.jsx("strong",{children:i.email}),button:c.jsx("button",{className:"gh-portal-btn-text",onClick:()=>t("switchPage",{lastPage:"emailReceivingFAQ",page:"accountProfile"})})}})}),c.jsx("h4",{children:o("Check spam & promotions folders")}),c.jsx("p",{children:o(`Make sure emails aren't accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".`)}),c.jsx("h4",{children:o("Create a new contact")}),c.jsx("p",{children:c.jsx(Ue,{syntax:Qe,string:o("In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted."),mapping:{senderEmail:c.jsx("strong",{children:l})}})}),c.jsx("h4",{children:o("Send an email and say hi!")}),c.jsx("p",{children:c.jsx(Ue,{syntax:Qe,string:o("Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted."),mapping:{senderEmail:c.jsx("strong",{children:l})}})}),c.jsx("h4",{children:o("Check with your mail provider")}),c.jsx("p",{children:c.jsx(Ue,{syntax:Qe,string:o("If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}"),mapping:{senderEmail:c.jsx("strong",{children:l})}})}),c.jsx("h4",{children:o("Get in touch for help")}),c.jsx("p",{children:c.jsx(Ue,{syntax:Qe,string:o("If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}."),mapping:{supportAddress:c.jsx("a",{href:s,onClick:()=>{s&&window.open(s)},children:a})}})})]})]})}const iu={signin:Gh,signup:zh,accountHome:qh,accountPlan:Oh,accountProfile:Kh,accountEmail:j1,signupNewsletter:nu,unsubscribe:I1,magiclink:Uh,loading:Wh,offer:Fh,feedback:n1,emailSuppressed:D1,emailSuppressionFAQ:A1,emailReceivingFAQ:M1},ou=function({page:e}){return Object.keys(iu).includes(e)?e:"signup"},R1=function({page:e}){return e.includes("account")},O1=function({page:e}){return e.includes("offer")},L1=e=>w.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM11.8326 2.33879C6.37785 2.95189 3.95901 5.20797 3.41126 9.74699C3.34896 10.2632 3.22642 10.7805 3.10443 11.2954C2.93277 12.02 2.76221 12.74 2.76221 13.4458C2.76221 17.9885 6.5856 21.556 11.1283 21.556C12.8959 21.556 14.4433 20.8144 15.8756 20.048C19.0536 18.3478 22.0328 16.2597 22.0328 12.5411C22.0328 9.91512 20.1051 7.56932 18.466 5.5747C18.3834 5.47416 18.3015 5.37451 18.2206 5.27577C17.3866 4.25742 14.4333 2.04643 11.8326 2.33879Z",fill:"#15171A"}));class au extends O.Component{render(){return c.jsxs("a",{href:"https://ghost.org",target:"_blank",rel:"noopener noreferrer",onClick:()=>{window.open("https://ghost.org","_blank")},children:[c.jsx(L1,{}),"Powered by Ghost"]})}}Q(au,"contextType",N);const Xh=({member:e})=>({modalContainer:{zIndex:"3999999",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",overflow:"hidden"},frame:{common:{margin:"auto",position:"relative",padding:"0",outline:"0",width:"100%",opacity:"1",overflow:"hidden",height:"100%"}},page:{links:{width:"600px"}}});function z1({message:e}){return gr()?c.jsx("div",{className:"gh-portal-cookiebanner",children:e}):null}class Zh extends O.Component{componentDidMount(){this.node&&!V(["preview"])&&!this.props.isMobile&&(this.node.focus(),this.keyUphandler=t=>{t.key==="Escape"&&this.dismissPopup(t)},this.node.ownerDocument.removeEventListener("keyup",this.keyUphandler),this.node.ownerDocument.addEventListener("keyup",this.keyUphandler)),this.sendContainerHeightChangeEvent()}dismissPopup(t){var i;const n=t.target&&t.target.tagName;(n!=="INPUT"||n==="INPUT"&&!((i=t==null?void 0:t.target)!=null&&i.value))&&this.context.onAction("closePopup")}sendContainerHeightChangeEvent(){var t,n;this.node&&V(["preview"])&&((t=this.node)==null?void 0:t.clientHeight)!==this.lastContainerHeight&&(this.lastContainerHeight=(n=this.node)==null?void 0:n.clientHeight,window.document.body.style.overflow="hidden",window.document.body.style["scrollbar-width"]="none",window.parent.postMessage({type:"portal-preview-updated",payload:{height:this.lastContainerHeight}},"*"))}componentDidUpdate(){this.sendContainerHeightChangeEvent()}componentWillUnmount(){this.node&&this.node.ownerDocument.removeEventListener("keyup",this.keyUphandler)}handlePopupClose(t){V(["preview"])||t.target===t.currentTarget&&this.context.onAction("closePopup")}renderActivePage(){const{page:t}=this.context;ou({page:t});const n=iu[t];return c.jsx(n,{})}renderPopupNotification(){const{popupNotification:t}=this.context;return!t||!t.type?null:c.jsx(Yh,{})}render(){const{page:t,pageQuery:n,site:r,customSiteUrl:i}=this.context,a=$a({site:r}).length;ou({page:t});const l={...Xh({page:t}).page[t]};let u="",p="regular",d="",m=t;switch(t){case"signup":d="Cookies must be enabled in your browser to sign up.";break;case"signin":d="Cookies must be enabled in your browser to sign in.";break;case"accountHome":m="account-home";break;case"accountProfile":m="account-profile";break;case"accountPlan":m="account-plan";break;default:d="Cookies must be enabled in your browser.",m=t;break}a>1&&!lt({site:r,pageQuery:n})&&t==="signup"&&(m+=" full-size",p="full");const g=Cn({site:r});(g&&a>2||!g&&a>1)&&t==="accountPlan"&&(m+=" full-size",p="full"),(t==="emailSuppressionFAQ"||t==="emailReceivingFAQ")&&(m+=" large-size");let b="gh-portal-popup-container";V(["preview"])&&(m+=" preview"),V(["preview"],{customSiteUrl:i})&&!r.disableBackground&&(b+=" preview"),V(["dev"])&&(b+=" dev");const x=`${b} ${u} ${m}`;return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"gh-portal-popup-wrapper "+m,onClick:y=>this.handlePopupClose(y),children:c.jsxs("div",{className:x,style:l,ref:y=>this.node=y,tabIndex:-1,children:[c.jsx(z1,{message:d}),this.renderPopupNotification(),this.renderActivePage(),p==="full"?c.jsx("div",{className:"gh-portal-powered inside "+(V(["preview"])?"hidden ":"")+m,children:c.jsx(au,{})}):""]})}),c.jsx("div",{className:"gh-portal-powered outside "+(V(["preview"])?"hidden ":"")+m,children:c.jsx(au,{})})]})}}Q(Zh,"contextType",N);class eg extends O.Component{constructor(t){super(t),this.state={height:null}}renderCurrentPage(t){const n=iu[t];return c.jsx(n,{})}onHeightChange(t){this.setState({height:t})}handlePopupClose(t){t.preventDefault(),t.target===t.currentTarget&&this.context.onAction("closePopup")}renderFrameStyles(){const{site:t}=this.context,n=c1({site:t}),r=`
|
|
3156
3163
|
:root {
|
|
3157
3164
|
--brandcolor: ${this.context.brandColor}
|
|
3158
3165
|
}
|
|
3159
|
-
`+n;return c.jsxs(c.Fragment,{children:[c.jsx("style",{dangerouslySetInnerHTML:{__html:r}}),c.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"})]})}renderFrameContainer(){const{member:t,site:n,customSiteUrl:r}=this.context,i=wm({member:t}),o=window.innerWidth<480,a={...i.frame.common};let s="gh-portal-popup-background";return q(["preview"])&&(i.modalContainer.zIndex="3999997"),q(["preview"],{customSiteUrl:r})&&!n.disableBackground&&(s+=" preview"),q(["dev"])&&(s+=" dev"),c.jsx("div",{style:i.modalContainer,children:c.jsxs(Tc,{style:a,title:"portal-popup",head:this.renderFrameStyles(),dataTestId:"portal-popup-frame",children:[c.jsx("div",{className:s,onClick:l=>this.handlePopupClose(l)}),c.jsx(_m,{isMobile:o})]})})}render(){const{showPopup:t}=this.context;return t?this.renderFrameContainer():null}}J(Sm,"contextType",$),Aa({products:Jc({numOfProducts:1})});function we(){return(new Date().getTime()/1e3|0).toString(16)+"xxxxxxxxxxxxxxxx".replace(/[x]/g,function(){return(Math.random()*16|0).toString(16)}).toLowerCase()}function Aa({title:e="The Blueprint",description:t="Thoughts, stories and ideas.",logo:n="https://static.ghost.org/v4.0.0/images/ghost-orb-1.png",icon:r="https://static.ghost.org/v4.0.0/images/ghost-orb-1.png",url:i="https://portal.localhost",plans:o={monthly:5e3,yearly:15e4,currency:"USD"},products:a=Jc({numOfProducts:1}),portalProducts:s=a.map(N=>N.id),accentColor:l="#45C32E",portalPlans:u=["free","monthly","yearly"],allowSelfSignup:p=!0,membersSignupAccess:d="all",freePriceName:f="Free",freePriceDescription:y="Free preview",isStripeConfigured:v=!0,portalButton:w=!0,portalName:g=!0,portalButtonIcon:h="icon-1",portalButtonSignupText:m="Subscribe now",portalButtonStyle:b="icon-and-text",membersSupportAddress:k="support@example.com",newsletters:E=[],commentsEnabled:_}={}){return{title:e,description:t,logo:n,icon:r,accent_color:l,url:i,plans:o,products:a,portal_products:s,allow_self_signup:p,members_signup_access:d,free_price_name:f,free_price_description:y,is_stripe_configured:v,portal_button:w,portal_name:g,portal_plans:u,portal_button_icon:h,portal_button_signup_text:m,portal_button_style:b,members_support_address:k,comments_enabled:!!_,newsletters:E}}function Em({name:e="Black Friday",code:t="black-friday",displayTitle:n="Black Friday Sale!",displayDescription:r="Special deal for Black Friday. Subscribe now for only $15 per month and get additional benefits like accessing our podcast.",type:i="percent",cadence:o="month",amount:a=50,duration:s="repeating",durationInMonths:l=null,currencyRestriction:u=!1,currency:p=null,status:d="active",tierId:f="",tierName:y="Basic"}={}){return{id:`offer_${we()}`,name:e,code:t,display_title:n,display_description:r,type:i,cadence:o,amount:a,duration:s,duration_in_months:l,currency_restriction:u,currency:p,status:d,tier:{id:`${f}`,name:y}}}function Ke({name:e="Jamie Larson",email:t="jamie@example.com",firstname:n="Jamie",subscriptions:r=[],paid:i=!1,avatarImage:o="",subscribed:a=!0,email_suppression:s={suppressed:!1,info:null}}={}){return{uuid:`member_${we()}`,email:t,name:e,firstname:n,paid:i,subscribed:a,avatar_image:o,subscriptions:r,email_suppression:s}}function Jc({numOfProducts:e=3}={}){const n=[kr({name:"Bronze",description:"Access to all members articles",monthlyPrice:Fe({interval:"month",amount:700}),yearlyPrice:Fe({interval:"year",amount:7e3}),numOfBenefits:2}),kr({name:"Silver",description:"Access to all members articles and weekly podcast",monthlyPrice:Fe({interval:"month",amount:1200}),yearlyPrice:Fe({interval:"year",amount:12e3}),numOfBenefits:3}),kr({name:"Friends of the Blueprint",description:"Get access to everything and lock in early adopter pricing for life + listen to my podcast",monthlyPrice:Fe({interval:"month",amount:18e3}),yearlyPrice:Fe({interval:"year",amount:17e3}),numOfBenefits:4})].slice(0,e),r=Cm({});return[...n,r]}function kr({type:e="paid",name:t="Basic",description:n="",id:r=`product_${we()}`,monthlyPrice:i=Fe(),yearlyPrice:o=Fe({interval:"year"}),numOfBenefits:a=2}){return{id:r,name:t,description:n,monthlyPrice:e==="free"?null:i,yearlyPrice:e==="free"?null:o,type:e,benefits:jm({numOfBenefits:a})}}function Cm({name:e="Free tier",description:t="Free tier description",id:n=`product_${we()}`,numOfBenefits:r=2}){return{id:n,name:e,type:"free",description:t,benefits:jm({numOfBenefits:r})}}function jm({numOfBenefits:e}){return[La({name:"Limited early adopter pricing"}),La({name:"Latest gear reviews"}),La({name:"Weekly email newsletter"}),La({name:"Listen to my podcast"})].slice(0,e)}function La({id:e=`benefit_${we()}`,name:t="Benefit"}){return{id:e,name:t}}function Fe({interval:e="month",amount:t=e==="month"?500:5e3,nickname:n=e==="month"?"Monthly":"Yearly",description:r=null,currency:i="usd",active:o=!0,id:a=`price_${we()}`}={}){return{id:a,active:o,nickname:n,currency:i,amount:t,interval:e,description:r,stripe_price_id:`price_${we()}`,stripe_product_id:`prod_${we()}`,type:"recurring"}}function Sn({id:e=`sub_${we()}`,status:t="active",currency:n="USD",interval:r="year",amount:i=r==="month"?500:5e3,nickname:o=r==="month"?"Monthly":"Yearly",cardLast4:a="4242",offer:s=ew,priceId:l=`price_${we()}`,startDate:u="2021-10-05T03:18:30.000Z",currentPeriodEnd:p="2022-10-05T03:18:30.000Z",cancelAtPeriodEnd:d=!1}={}){return{id:e,customer:{id:`cus_${we()}`,name:"Jamie",email:"jamie@example.com"},plan:{id:`price_${we()}`,nickname:o,amount:i,interval:r,currency:n},offer:s,status:t,start_date:u,default_payment_card_last4:a,cancel_at_period_end:d,cancellation_reason:null,current_period_end:p,price:{id:`stripe_price_${we()}`,price_id:l,nickname:o,amount:i,interval:r,type:"recurring",currency:n,product:{id:`stripe_prod_${we()}`,product_id:`prod_${we()}`}}}}function Pm(){const e=Jc({numOfProducts:1}),t=e.map(r=>r.id);return Aa({products:e,portalPlans:["free","monthly","yearly"],portalProducts:t})}Pm();const Zk=Aa({products:[kr({numOfBenefits:2,type:"free"})]}),ew=Em({tierId:(wg=Zk.products[0])==null?void 0:wg.id});Ke(),Ke({paid:!0,subscriptions:[Sn()]}),Ke({paid:!0,subscriptions:[]}),Ke({paid:!0,subscriptions:[Sn({amount:0})]}),Ke({paid:!0,subscriptions:[Sn({amount:1500,startDate:"2019-05-01T11:42:40.000Z",currentPeriodEnd:"2021-06-05T11:42:40.000Z"})]}),Pm();const Ma=[Cm({name:"Free",description:"Free tier description which is actually a pretty long description",numOfBenefits:2}),kr({name:"The Blueprint",description:"",monthlyPrice:Fe({interval:"month",amount:500}),yearlyPrice:Fe({interval:"year",amount:5e3}),numOfBenefits:3}),kr({name:"Friends of the Blueprint Silver",description:"Access to all members articles and weekly podcast",monthlyPrice:Fe({interval:"month",amount:1200}),yearlyPrice:Fe({interval:"year",amount:11e3}),numOfBenefits:4})],wr=Aa({title:"The Blueprint",description:"Thoughts, stories and ideas.",logo:"https://static.ghost.org/v4.0.0/images/ghost-orb-1.png",icon:"https://static.ghost.org/v4.0.0/images/ghost-orb-1.png",accentColor:"#45C32E",url:"https://portal.localhost",plans:{monthly:5e3,yearly:15e4,currency:"USD"},products:Ma,portalProducts:Ma.map(e=>e.id),allowSelfSignup:!0,membersSignupAccess:"all",freePriceName:"Free",freePriceDescription:"Free preview",isStripeConfigured:!0,portalButton:!0,portalName:!0,portalPlans:["free","monthly","yearly"],portalButtonIcon:"icon-1",portalButtonSignupText:"Subscribe now",portalButtonStyle:"icon-and-text",membersSupportAddress:"support@example.com",commentsEnabled:!0,newsletters:[{id:"weekly",name:"Weekly Rundown",description:"Best of last week",subscribe_on_signup:!0,paid:!0},{id:"daily",name:"Daily Brief",description:"One email every day",subscribe_on_signup:!1,paid:!1}]}),Nm=Em({tierId:(_g=wr.products[1])==null?void 0:_g.id}),Ia={free:Ke({name:"Jamie Larson",email:"jamie@example.com",firstname:"Jamie",subscriptions:[],paid:!1,avatarImage:"",subscribed:!0}),paid:Ke({paid:!0,subscriptions:[Sn({status:"active",currency:"USD",interval:"year",amount:5e3,cardLast4:"4242",startDate:"2021-10-05T03:18:30.000Z",currentPeriodEnd:"2022-10-05T03:18:30.000Z",cancelAtPeriodEnd:!1})]}),complimentary:Ke({paid:!0,subscriptions:[]}),complimentaryWithSubscription:Ke({paid:!0,subscriptions:[Sn({amount:0})]}),preview:Ke({paid:!0,subscriptions:[Sn({amount:1500,startDate:"2019-05-01T11:42:40.000Z",currentPeriodEnd:"2021-06-05T11:42:40.000Z"})]})};function tw(){var n;if(!Ma||!Ma[1])return null;let e=(n=wr==null?void 0:wr.products)==null?void 0:n[1].monthlyPrice,t=Ke({paid:!0,subscriptions:[Sn({offer:null,priceId:e==null?void 0:e.id,status:"active",currency:e==null?void 0:e.currency,interval:e==null?void 0:e.interval,amount:e==null?void 0:e.amount,cardLast4:"4242",startDate:"2021-10-05T03:18:30.000Z",currentPeriodEnd:"2022-10-05T03:18:30.000Z",cancelAtPeriodEnd:!1})]});return{site:wr,member:t}}function nw({data:e,state:t}){return{page:e.page,popupNotification:null,lastPage:e.lastPage||null,pageData:e.pageData||t.pageData}}function rw({state:e}){return{showPopup:!e.showPopup}}function iw({data:e}){return{showPopup:!0,page:e.page,...e.pageQuery?{pageQuery:e.pageQuery}:{},...e.pageData?{pageData:e.pageData}:{}}}function ow({state:e}){return e.lastPage?{page:e.lastPage}:$m({state:e})}function $m({state:e}){return Ac(),{showPopup:!1,lastPage:null,pageQuery:"",popupNotification:null,page:e.page==="magiclink"?"":e.page}}function aw({data:e}){return{showNotification:!0,...e}}function sw({state:e}){return{showNotification:!1}}async function lw({api:e,state:t}){try{return await e.member.signout(),{action:"signout:success"}}catch{return{action:"signout:failed",popupNotification:Q({type:"signout:failed",autoHide:!1,closeable:!0,state:t,status:"error",message:"Failed to log out, please try again"})}}}async function cw({data:e,api:t,state:n}){try{return await t.member.sendMagicLink({...e,emailType:"signin"}),{page:"magiclink",lastPage:"signin"}}catch(r){return{action:"signin:failed",popupNotification:Q({type:"signin:failed",autoHide:!1,closeable:!0,state:n,status:"error",message:wt.getMessageFromError(r,"Failed to log in, please try again")})}}}async function uw({data:e,state:t,api:n}){try{let{plan:r,tierId:i,cadence:o,email:a,name:s,newsletters:l,offerId:u}=e;if(r.toLowerCase()==="free")await n.member.sendMagicLink({emailType:"signup",...e});else return i&&o?await n.member.checkoutPlan({plan:r,tierId:i,cadence:o,email:a,name:s,newsletters:l,offerId:u}):({tierId:i,cadence:o}=_n({site:t==null?void 0:t.site,priceId:r}),await n.member.checkoutPlan({plan:r,tierId:i,cadence:o,email:a,name:s,newsletters:l,offerId:u})),{page:"loading"};return{page:"magiclink",lastPage:"signup"}}catch(r){const i=(r==null?void 0:r.message)||"Failed to sign up, please try again";return{action:"signup:failed",popupNotification:Q({type:"signup:failed",autoHide:!1,closeable:!0,state:t,status:"error",message:i})}}}async function dw({data:e,state:t,api:n}){try{let{plan:r,offerId:i,tierId:o,cadence:a}=e;(!o||!a)&&({tierId:o,cadence:a}=_n({site:t==null?void 0:t.site,priceId:r})),await n.member.checkoutPlan({plan:r,tierId:o,cadence:a,offerId:i,metadata:{checkoutType:"upgrade"}})}catch{return{action:"checkoutPlan:failed",popupNotification:Q({type:"checkoutPlan:failed",autoHide:!1,closeable:!0,state:t,status:"error",message:"Failed to process checkout, please try again"})}}}async function pw({data:e,state:t,api:n}){try{const{plan:r,planId:i,subscriptionId:o,cancelAtPeriodEnd:a}=e,{tierId:s,cadence:l}=_n({site:t==null?void 0:t.site,priceId:i});await n.member.updateSubscription({planName:r,tierId:s,cadence:l,subscriptionId:o,cancelAtPeriodEnd:a,planId:i});const u=await n.member.sessionData(),p="updateSubscription:success";return{action:p,popupNotification:Q({type:p,autoHide:!0,closeable:!0,state:t,status:"success",message:"Subscription plan updated successfully"}),page:"accountHome",member:u}}catch{return{action:"updateSubscription:failed",popupNotification:Q({type:"updateSubscription:failed",autoHide:!1,closeable:!0,state:t,status:"error",message:"Failed to update subscription, please try again"})}}}async function fw({data:e,state:t,api:n}){try{const{subscriptionId:r,cancellationReason:i}=e;return await n.member.updateSubscription({subscriptionId:r,smartCancel:!0,cancellationReason:i}),{action:"cancelSubscription:success",page:"accountHome",member:await n.member.sessionData()}}catch{return{action:"cancelSubscription:failed",popupNotification:Q({type:"cancelSubscription:failed",autoHide:!1,closeable:!0,state:t,status:"error",message:"Failed to cancel subscription, please try again"})}}}async function hw({data:e,state:t,api:n}){try{const{subscriptionId:r}=e;return await n.member.updateSubscription({subscriptionId:r,cancelAtPeriodEnd:!1}),{action:"continueSubscription:success",page:"accountHome",member:await n.member.sessionData()}}catch{return{action:"continueSubscription:failed",popupNotification:Q({type:"continueSubscription:failed",autoHide:!1,closeable:!0,state:t,status:"error",message:"Failed to cancel subscription, please try again"})}}}async function mw({data:e,state:t,api:n}){try{await n.member.editBilling(e)}catch{return{action:"editBilling:failed",popupNotification:Q({type:"editBilling:failed",autoHide:!1,closeable:!0,state:t,status:"error",message:"Failed to update billing information, please try again"})}}}async function gw(){return{popupNotification:null}}async function yw({data:e,state:t}){let{action:n,message:r=""}=e;return n=n||"showPopupNotification:success",{popupNotification:Q({type:n,autoHide:!0,closeable:!0,state:t,status:"success",message:r})}}async function vw({data:e,state:t,api:n}){try{const{newsletters:r,enableCommentNotifications:i}=e;if(!r&&i===void 0)return{};const o={};return r&&(o.newsletters=r),i!==void 0&&(o.enableCommentNotifications=i),{action:"updateNewsletterPref:success",member:await n.member.update(o)}}catch{return{action:"updateNewsletterPref:failed",popupNotification:Q({type:"updateNewsletter:failed",autoHide:!0,closeable:!0,state:t,status:"error",message:"Failed to update newsletter settings"})}}}async function bw({state:e,api:t}){try{return await t.member.deleteSuppression(),{action:"removeEmailFromSuppressionList:success",popupNotification:Q({type:"removeEmailFromSuppressionList:success",autoHide:!0,closeable:!0,state:e,status:"success",message:"You have been successfully resubscribed"})}}catch{return{action:"removeEmailFromSuppressionList:failed",popupNotification:Q({type:"removeEmailFromSuppressionList:failed",autoHide:!0,closeable:!0,state:e,status:"error",message:"Your email has failed to resubscribe, please try again"})}}}async function xw({data:e,state:t,api:n}){try{const{subscribed:r}=e,i=await n.member.update({subscribed:r});if(!i)throw new Error("Failed to update newsletter");const o="updateNewsletter:success";return{action:o,member:i,popupNotification:Q({type:o,autoHide:!0,closeable:!0,state:t,status:"success",message:"Email newsletter settings updated"})}}catch{return{action:"updateNewsletter:failed",popupNotification:Q({type:"updateNewsletter:failed",autoHide:!0,closeable:!0,state:t,status:"error",message:"Failed to update newsletter settings"})}}}async function kw({data:e,state:t,api:n}){const{email:r}=e,i=J1({member:t.member});if(r!==i)try{return await n.member.updateEmailAddress({email:r}),{success:!0}}catch(o){return{success:!1,error:o}}return null}async function ww({data:e,state:t,api:n}){const{name:r}=e;if(Z1({member:t.member})!==r)try{const o=await n.member.update({name:r});if(!o)throw new Error("Failed to update member");return{member:o,success:!0}}catch(o){return{success:!1,error:o}}return null}async function _w({state:e,api:t}){if(e.member)try{const n=await t.member.sessionData();return n?{member:n,success:!0,action:"refreshMemberData:success"}:null}catch(n){return{success:!1,error:n,action:"refreshMemberData:failed"}}return null}async function Sw({data:e,state:t,api:n}){const[r,i]=await Promise.all([ww({data:e,state:t,api:n}),kw({data:e,state:t,api:n})]);if(r&&i){if(i.success)return{action:"updateProfile:success",...r.success?{member:r.member}:{},page:"accountHome",popupNotification:Q({type:"updateProfile:success",autoHide:!0,closeable:!0,status:"success",state:t,message:"Check your inbox to verify email update"})};const o=r.success?"Failed to send verification email":"Failed to update account data";return{action:"updateProfile:failed",...r.success?{member:r.member}:{},popupNotification:Q({type:"updateProfile:failed",autoHide:!0,closeable:!0,status:"error",message:o,state:t})}}else if(r){const o=r.success?"updateProfile:success":"updateProfile:failed",a=r.success?"success":"error",s=r.success?"Account details updated successfully":"Failed to update account details";return{action:o,...r.success?{member:r.member}:{},...r.success?{page:"accountHome"}:{},popupNotification:Q({type:o,autoHide:r.success,closeable:!0,status:a,state:t,message:s})}}else if(i){const o=i.success?"updateProfile:success":"updateProfile:failed",a=i.success?"success":"error",s=i.success?"Check your inbox to verify email update":"Failed to send verification email";return{action:o,...i.success?{page:"accountHome"}:{},popupNotification:Q({type:o,autoHide:i.success,closeable:!0,status:a,state:t,message:s})}}return{action:"updateProfile:success",page:"accountHome",popupNotification:Q({type:"updateProfile:success",autoHide:!0,closeable:!0,status:"success",state:t,message:"Account details updated successfully"})}}const Ew={togglePopup:rw,openPopup:iw,closePopup:$m,switchPage:nw,openNotification:aw,closeNotification:sw,back:ow,signout:lw,signin:cw,signup:uw,updateSubscription:pw,cancelSubscription:fw,continueSubscription:hw,updateNewsletter:xw,updateProfile:Sw,refreshMemberData:_w,clearPopupNotification:gw,editBilling:mw,checkoutPlan:dw,updateNewsletterPreference:vw,showPopupNotification:yw,removeEmailFromSuppressionList:bw};async function Cw({action:e,data:t,state:n,api:r}){const i=Ew[e];return i?await i({data:t,state:n,api:r})||{}:{}}const $S="";function jw({event:e,form:t,errorEl:n,siteUrl:r,submitHandler:i}){var w;t.removeEventListener("submit",i),e.preventDefault(),n&&(n.innerText=""),t.classList.remove("success","invalid","error");let o=e.target.querySelector("input[data-members-email]"),a=e.target.querySelector("input[data-members-name]"),s=((w=t==null?void 0:t.dataset)==null?void 0:w.membersAutoredirect)||"true",l=o==null?void 0:o.value,u=a&&a.value||void 0,p,d=[],f=e.target.querySelectorAll("input[data-members-label]")||[];for(let g=0;g<f.length;++g)d.push(f[g].value);t.dataset.membersForm&&(p=t.dataset.membersForm),t.classList.add("loading");const y=Na(),v={email:l,emailType:p,labels:d,name:u,autoRedirect:s==="true"};y&&(v.urlHistory=y),fetch(`${r}/members/api/send-magic-link/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(v)}).then(function(g){if(t.addEventListener("submit",i),t.classList.remove("loading"),g.ok)t.classList.add("success");else return wt.fromApiResponse(g).then(h=>{throw h})}).catch(g=>{n&&(n.innerText=wt.getMessageFromError(g,"There was an error sending the email, please try again")),t.classList.add("error")})}function Pw({event:e,el:t,errorEl:n,siteUrl:r,site:i,member:o,clickHandler:a}){t.removeEventListener("click",a),e.preventDefault();let s=t.dataset.membersPlan,l=G1(i,s.toLowerCase()),u=t.dataset.membersSuccess,p=t.dataset.membersCancel,d,f;u&&(d=new URL(u,window.location.href).href),p&&(f=new URL(p,window.location.href).href),n&&(n.innerText=""),t.classList.add("loading");const y=o?{checkoutType:"upgrade"}:{},v=Na();return v&&(y.urlHistory=v),fetch(`${r}/members/api/session`,{credentials:"same-origin"}).then(function(w){return w.ok?w.text():null}).then(function(w){return fetch(`${r}/members/api/create-stripe-checkout-session/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...l,identity:w,successUrl:d,cancelUrl:f,metadata:y})}).then(function(g){if(!g.ok)throw new Error("Could not create stripe checkout session");return g.json()})}).then(function(w){return w.url?window.location.assign(w.url):window.Stripe(w.publicKey).redirectToCheckout({sessionId:w.sessionId}).then(function(h){if(h.error)throw new Error(h.error.message)})}).catch(function(w){console.error(w),t.addEventListener("click",a),t.classList.remove("loading"),n&&(n.innerText=w.message),t.classList.add("error")})}function Nw({siteUrl:e,site:t,member:n}){e&&(e=e.replace(/\/$/,""),Array.prototype.forEach.call(document.querySelectorAll("form[data-members-form]"),function(r){let i=r.querySelector("[data-members-error]");function o(a){jw({event:a,errorEl:i,form:r,siteUrl:e,submitHandler:o})}r.addEventListener("submit",o)}),Array.prototype.forEach.call(document.querySelectorAll("[data-members-plan]"),function(r){let i=r.querySelector("[data-members-error]");function o(a){Pw({el:r,event:a,errorEl:i,member:n,site:t,siteUrl:e,clickHandler:o})}r.addEventListener("click",o)}),Array.prototype.forEach.call(document.querySelectorAll("[data-members-edit-billing]"),function(r){let i=r.querySelector("[data-members-error]"),o=r.dataset.membersSuccess,a=r.dataset.membersCancel,s,l;o&&(s=new URL(o,window.location.href).href),a&&(l=new URL(a,window.location.href).href);function u(p){r.removeEventListener("click",u),p.preventDefault(),i&&(i.innerText=""),r.classList.add("loading"),fetch(`${e}/members/api/session`,{credentials:"same-origin"}).then(function(d){return d.ok?d.text():null}).then(function(d){return fetch(`${e}/members/api/create-stripe-update-session/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({identity:d,successUrl:s,cancelUrl:l})}).then(function(f){if(!f.ok)throw new Error("Could not create stripe checkout session");return f.json()})}).then(function(d){return window.Stripe(d.publicKey).redirectToCheckout({sessionId:d.sessionId})}).then(function(d){if(d.error)throw new Error(d.error.message)}).catch(function(d){console.error(d),r.addEventListener("click",u),r.classList.remove("loading"),i&&(i.innerText=d.message),r.classList.add("error")})}r.addEventListener("click",u)}),Array.prototype.forEach.call(document.querySelectorAll("[data-members-signout]"),function(r){function i(o){r.removeEventListener("click",i),o.preventDefault(),r.classList.remove("error"),r.classList.add("loading"),fetch(`${e}/members/api/session`,{method:"DELETE"}).then(function(a){a.ok?window.location.replace(e):(r.addEventListener("click",i),r.classList.remove("loading"),r.classList.add("error"))})}r.addEventListener("click",i)}),Array.prototype.forEach.call(document.querySelectorAll("[data-members-cancel-subscription]"),function(r){let i=r.parentElement.querySelector("[data-members-error]");function o(a){r.removeEventListener("click",o),a.preventDefault(),r.classList.remove("error"),r.classList.add("loading");let s=r.dataset.membersCancelSubscription;return i&&(i.innerText=""),fetch(`${e}/members/api/session`,{credentials:"same-origin"}).then(function(l){return l.ok?l.text():null}).then(function(l){return fetch(`${e}/members/api/subscriptions/${s}/`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({identity:l,smart_cancel:!0})})}).then(function(l){l.ok?window.location.reload():(r.addEventListener("click",o),r.classList.remove("loading"),r.classList.add("error"),i&&(i.innerText="There was an error cancelling your subscription, please try again."))})}r.addEventListener("click",o)}),Array.prototype.forEach.call(document.querySelectorAll("[data-members-continue-subscription]"),function(r){let i=r.parentElement.querySelector("[data-members-error]");function o(a){r.removeEventListener("click",o),a.preventDefault(),r.classList.remove("error"),r.classList.add("loading");let s=r.dataset.membersContinueSubscription;return i&&(i.innerText=""),fetch(`${e}/members/api/session`,{credentials:"same-origin"}).then(function(l){return l.ok?l.text():null}).then(function(l){return fetch(`${e}/members/api/subscriptions/${s}/`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({identity:l,cancel_at_period_end:!1})})}).then(function(l){l.ok?window.location.reload():(r.addEventListener("click",o),r.classList.remove("loading"),r.classList.add("error"),i&&(i.innerText="There was an error continuing your subscription, please try again."))})}r.addEventListener("click",o)}))}const $w={"{{discount}}% discount":"{{discount}}% afslag","{{trialDays}} days free":"{{trialDays}} dae gratis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"'n Aanmeldskakel is na u epos gestuur. As dit nie binne 3 minute aankom nie, moet u asseblief u spam-vouer nagaan.",Account:"Rekening","Account settings":"Rekening instellings","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Na afloop van die gratis proeftydperk sal u die vasgestelde pry vir die vlak wat u gekies het, betaal. U kan altyd voor die tyd kanselleer.","Already a member?":"Is u reeds 'n lid?",Back:"Terug","Back to Log in":"Terug na aanmelding","Cancel subscription":"Kanselleer inskrywing","Cancellation reason":"Kansellasie rede","Choose a different plan":"Kies 'n ander plan","Choose your newsletters":"Kies u nuusbriefs",Close:"Sluit",Comments:"Kommentaar",Confirm:"Bevestig",Continue:"Gaan voort","Delete account":"Verwyder rekening","Don't have an account?":"Het u nie 'n rekening nie?",Email:"E-pos","Email preference updated.":"E-pos instellings opgedateer.","Email preferences":"E-pos instellings",Emails:"E-posse","Emails disabled":"E-posse afgeskakel","Get help":"Kry hulp","Get notified when someone replies to your comment":"Ontvang 'n kennisgewing wanneer iemand op u kommentaar reageer","Give feedback on this post":"Gee terugvoering oor hierdie pos","Less like this":"Minder soos hierdie",Manage:"Bestuur",Monthly:"Maandeliks","More like this":"Meer soos hierdie",Name:"Naam","Not receiving emails?":"Ontvang u nie e-posse nie?","Now check your email!":"Kyk nou u e-pos!",Price:"Prys","Re-enable emails":"Her-aktiveer eposse",Retry:"Probeer weer",Save:"Stoor","Sending login link...":"Stuur aanmeldskakel...","Sending...":"Stuur...","Sign in":"Meld aan","Sign up":"Registreer","Start {{amount}}-day free trial":"Begin {{amount}}-dag gratis proeftydperk","Submit feedback":"Stuur terugvoering","Successfully unsubscribed":"Suksesvol afgemeld","Thanks for the feedback!":"Dankie vir die terugvoering!","That didn't go to plan":"Dit het nie volgens plan verloop nie","This site is invite-only, contact the owner for access.":"Hierdie webwerf is slegs op uitnodiging, kontak die eienaar vir toegang.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Om die registrasie te voltooi, kliek op die bevestigingskakel in jou inboks. As dit nie binne 3 minute aankom nie, kontroleer asseblief jou spam-vouer!","Unsubscribe from all emails":"Meld af van alle e-posse","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Deur van eposse af te skakel, sal nie u betaalde subskripsie van {{title}} kanselleer nie","Update your preferences":"Opdateer u voorkeure","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Ons kon u nie afskakel nie, omdat die e-pos adres nie gevind is nie. Kontak asseblief die webwerf eienaar.",Yearly:"Jaarliks","You have been successfully resubscribed":"U is suksesvol heringeskryf","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"U ontvang nie e-posse nie, omdat u onlangs 'n boodskap as spam gemerk het, of omdat boodskappe nie na die e-pos adres wat u verskaf het gestuur kon word nie.","Your account":"U rekening","Your input helps shape what gets published.":"U insette help om te bepaal wat gepubliseer word."},Tw={"{{discount}}% discount":"отстъпка {{discount}}%","{{trialDays}} days free":"{{trialDays}} дни безплатен достъп","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Връзка за влизане беше изпратена към пощенската Ви кутия. Ако писмото не пристигне до 3 минути, провете дали не е категоризирана като нежелано писмо.",Account:"Вашият акаунт","Account settings":"Настройки на акаунта Ви","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"След прикючване на безплатния достъп ще бъдете таксувани според обявените цени. Можете да се откажете преди изтичането на безплатния достъп.","Already a member?":"Вече сте абонат на сайта?",Back:"Обратно","Back to Log in":"Обратно към формата за влизане","Cancel subscription":"Откажи абонамент","Cancellation reason":"Причина за отказ","Choose a different plan":"Избеи различен план","Choose your newsletters":"Избери твоят бюлетин",Close:"Затвори",Comments:"Коментари",Confirm:"Потвърди",Continue:"Продължи","Delete account":"Изтрий акаунт","Don't have an account?":"Намате акаунт за достъп?",Email:"Пощенски адрес","Email preference updated.":"Параметри на пощенския адрес са обновени.","Email preferences":"Параметри на пощенския адрес ",Emails:"Пощенски адреси","Emails disabled":"Писмата са преустновени","Get help":"Получете помощ","Get notified when someone replies to your comment":"Бъдете уведомявани, ако някой отговори на Ваш коментар","Give feedback on this post":"Моля за Вашият отзив за публикацията","Less like this":"",Manage:"Управлявай",Monthly:"Месечно","More like this":"Повече материали с подобно съдържание",Name:"Име","Not receiving emails?":"Не получавате поща?","Now check your email!":"Провете си пощенската кутия!",Price:"Цена","Re-enable emails":"Позволете отново изпращането на писма",Retry:"Отново",Save:"Запиши","Sending login link...":"Изпращане на връзка за влизане...","Sending...":"Изпращане...","Sign in":"Влизане","Sign up":"Регистриране","Start {{amount}}-day free trial":"Започване на {{amount}}-дневен безплатен достъп.","Submit feedback":"Изпрати отзив","Successfully unsubscribed":"Успешно разабониране","Thanks for the feedback!":"Благодарим за изпратеният отзив!","That didn't go to plan":"Нещо се обърка и не се случи както трябваше","This site is invite-only, contact the owner for access.":"Сайтът е само с покани. Свържете се със собственика за да получите достъп.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"За да прикючите вашата регистрация беше изпратена връзка за влизане към пощенската Ви кутия. Ако писмото не пристигне до 3 минути, провете дали не е категоризирана като нежелано писмо.","Unsubscribe from all emails":"Прекрати изпращането на всякакви писма","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Спирането на изпращането на писма, няма да ти прекрати абонамента и регистрацията в {{title}}","Update your preferences":"Обнови твоите предпочитания/настройки","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Този пощенски адрес който опитвате да разабонирате, изглежда невалиден. Моля свържете се със собственика на сайта.",Yearly:"Годишно","You have been successfully resubscribed":"Успешно беше подновен абонаментът","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Не получавате писма защото или пощенският адрес е невалиден, или писмата се класифицират като нежелана поща.","Your account":"Твоята регистрация","Your input helps shape what gets published.":"Вашият принос помага да се оформи това, което се публикува."},Rw={"{{discount}}% discount":"{{discount}}% de descompte","{{trialDays}} days free":"{{trialDays}} dies de franc","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"S'ha enviat un enllaç d'inici de sessió al teu correu electrònic. Si no t'arriba en 3 minuts, reivsa la teva carpeta de correu brossa.",Account:"Compte","Account settings":"Configuració del compte","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Després que finalitzi el període de prova gratuït, se't cobrarà el preu regular del nivell que hagis triat. Sempre pots cancel·lar abans d'això.","Already a member?":"Ja ets membre?",Back:"Tornar enrere","Back to Log in":"TOrnar al inici de sessió","Cancel subscription":"Cancel·la la subscripció","Cancellation reason":"Motiu de la cancel·lació","Choose a different plan":"Seleccioneu un pla diferent","Choose your newsletters":"Selecciona els teus butlletins",Close:"Tancar",Comments:"Comentaris",Confirm:"Confirmar",Continue:"Continuar","Delete account":"Esborra compte","Don't have an account?":"No tens un compte?",Email:"Correu electrònic","Email preference updated.":"Preferència del correu electrònic actualitzada","Email preferences":"Preferència del correu electrònic",Emails:"Correus electrònics","Emails disabled":"Correus electrònics desactivats","Get help":"Demanar ajuda","Get notified when someone replies to your comment":"Rep notificacions quan algú et respongui al teu comentari","Give feedback on this post":"Enviar comentaris sobre aquesta publicació","Less like this":"Menys com aquesta",Manage:"Gestionar",Monthly:"Mensual","More like this":"Més com aquesta",Name:"Nom","Not receiving emails?":"No reps els correus electrònics?","Now check your email!":"Revisar ara el teu correu electrònic!",Price:"Preu","Re-enable emails":"Torna a activar els correus electrònics",Retry:"Torna-ho a provar",Save:"Desa","Sending login link...":"Enviant enllaç d'inici de sesió...","Sending...":"Enviant","Sign in":"Inici de sesió","Sign up":"Registrar-se","Start {{amount}}-day free trial":"Comença el període de proves de {{amount}} dies","Submit feedback":"Enviar comentaris","Successfully unsubscribed":"T'has donat de baixa correctament","Thanks for the feedback!":"Gràcies pels teus comentaris!","That didn't go to plan":"Això no ha anat com estava previst","This site is invite-only, contact the owner for access.":"Aquest llog és només per invitació, contacta amb el propietari per obtenir accés.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Per completar el registre, fes clic sobre l'enllaç de confirmació al teu correu electrònic. Si no t'arria en 3 minuts, revisa la teva carpeta de correu brossa!","Unsubscribe from all emails":"Cancel·la les subscripcions a tots els correus electrònics","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Cancel·lar la subscripció al teu correu electrònic no cancel·larà la teva subscripció de pagament a {{title}}","Update your preferences":"Actualitza les preferències","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"No hem pogut cancel·lar la teva subscripció ja que no s'ha trobar la direcció de correu electrònic. Si us plau, contacta amb el propietari del lloc web.",Yearly:"Anual","You have been successfully resubscribed":"T'has tornat a subscribir amb èxit","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"No estas reben correus electrònics perquè has marcat recentment com SPAM o perque no s'han pogut entregar els missatges a la direcció de correu electrònic proporcionada.","Your account":"El teu copte","Your input helps shape what gets published.":"La teva opinió ajuda a definir el que es publica."},Dw={"{{discount}}% discount":"{{discount}}% sleva","{{trialDays}} days free":"{{trialDays}} dní zdarma","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Odkaz pro přihlášení byl odeslán do vaší e-mailové schránky. Pokud nepřijde do 3 minut, zkontrolujte prosím svou složku nevyžádaných zpráv (spam).",Account:"Účet","Account settings":"Nastavení účtu","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Po skončení zkušební doby vám bude účtována běžná cena pro vybranou úroveň. Vždy můžete předtím zrušit odběr.","Already a member?":"Již jste členem?",Back:"Zpět","Back to Log in":"Zpět na přihlášení","Cancel subscription":"Zrušit odběr","Cancellation reason":"Důvod zrušení","Choose a different plan":"Vybrat jiný plán","Choose your newsletters":"Vyberte si newsletter",Close:"Zavřít",Comments:"Komentáře",Confirm:"Potvrdit",Continue:"Pokračovat","Delete account":"Smazat účet","Don't have an account?":"Nemáte účet?",Email:"E-mail","Email preference updated.":"Předvolby e-mailu byly aktualizovány.","Email preferences":"Předvolby e-mailu",Emails:"E-maily","Emails disabled":"E-maily vypnuty","Get help":"Získat pomoc","Get notified when someone replies to your comment":"Dostávat upozornění, když někdo odpoví na váš komentář","Give feedback on this post":"Dát zpětnou vazbu k tomuto příspěvku","Less like this":"Méně podobných",Manage:"Spravovat",Monthly:"Měsíčně","More like this":"Víc podobných",Name:"Jméno","Not receiving emails?":"Nepřicházejí vám e-maily?","Now check your email!":"Zkontrolujte svou e-mailovou schránku!",Price:"Cena","Re-enable emails":"Znovu povolit e-maily",Retry:"Zkusit znovu",Save:"Uložit","Sending login link...":"Odesílání přihlašovacího odkazu...","Sending...":"Odesílání...","Sign in":"Přihlásit se","Sign up":"Registrovat se","Start {{amount}}-day free trial":"Začít {{amount}}denní zkušební verzi zdarma","Submit feedback":"Odeslat zpětnou vazbu","Successfully unsubscribed":"Úspěšné odhlášení","Thanks for the feedback!":"Děkujeme za zpětnou vazbu!","That didn't go to plan":"Něco se nepovedlo","This site is invite-only, contact the owner for access.":"Tento web je pouze pro pozvané, kontaktujte provozovatele pro přístup.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Pro dokončení registrace klikněte na potvrzovací odkaz ve vaší e-mailové schránce. Pokud nepřijde do 3 minut, zkontrolujte prosím složku nevyžádaných zpráv (spam)!","Unsubscribe from all emails":"Odhlásit se od všech e-mailů","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Odhlášení ze newsletterů nezruší váš placený odběr {{title}}","Update your preferences":"Aktualizovat předvolby","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Nemohli jsme vás odhlásit, protože e-mailová adresa nebyla nalezena. Kontaktujte prosím provozovatele webu.",Yearly:"Ročně","You have been successfully resubscribed":"Úspěšně jste se opět přihlásili k odběru","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Nepřicházejí vám e-maily, protože jste buď označili nedávnou zprávu jako spam, nebo doručování zpráv na vámi zadaný e-mail nefunguje.","Your account":"Váš účet","Your input helps shape what gets published.":"Vaše připomínky pomáhají spoluvytvářet obsah webu."},Ow={"{{discount}}% discount":"{{discount}}% rabat","{{trialDays}} days free":"{{trialDays}} dage gratis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Der er blevet sendt en link til din email, du kan bruge til at logge ind med. Hvis det ikke kommer frem indenfor 3 minutter, så tjek din spam mappe.",Account:"Konto","Account settings":"Kontoindstillinger","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Når din gratis prøveperiode udløber, vil du blive opkrævet den normale pris for det abonnement du har valgt. Du kan selvfølgelig altid annullere dit abonnement inden.","Already a member?":"Er du allerede medlem?",Back:"Tilbage","Back to Log in":"Tilbage til log ind","Cancel subscription":"Annuller abonnement","Cancellation reason":"Årsag til annullering","Choose a different plan":"Vælg et andet abonnement","Choose your newsletters":"Hvilke nyhedsbreve ønsker du",Close:"Luk",Comments:"Kommentarer",Confirm:"Bekræft",Continue:"Fortsæt","Delete account":"Slet konto","Don't have an account?":"Har du ikke en konto?",Email:"E-mail","Email preference updated.":"E-mail præferencer blev opdateret.","Email preferences":"E-mail præferencer",Emails:"E-mails","Emails disabled":"E-mails deaktiveret","Get help":"Få hjælp","Get notified when someone replies to your comment":"Bliv notificeret når nogen svarer på din kommentar","Give feedback on this post":"Giv feedback til dette indlæg","Less like this":"Mindre af dette",Manage:"Administrer",Monthly:"Månedlig","More like this":"Mere af dette",Name:"Navn","Not receiving emails?":"Modtager du ikke e-mails?","Now check your email!":"Tjek din e-mail!",Price:"Pris","Re-enable emails":"Genaktiver e-mails",Retry:"Prøv igen",Save:"Gem","Sending login link...":"Sender link til log ind","Sending...":"Sender","Sign in":"Log ind","Sign up":"Bliv medlem","Start {{amount}}-day free trial":"Start {{amount}}-dages gratis prøveperiode","Submit feedback":"Send feedback","Successfully unsubscribed":"Du er nu afmeldt","Thanks for the feedback!":"Tak for din feedback!","That didn't go to plan":"Det gik ikke helt efter planen","This site is invite-only, contact the owner for access.":"Denne sider kræver at du skal være inviteret. Kontakt ejeres for at få adgang.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"For at gennemføre oprettelsen af din konto, skal du klikke på bekræftelseslinket i din e-mail indbakke. Hvis det ikke kommer indenfor 3 minutter, så tjek venligst din spam mappe!","Unsubscribe from all emails":"Afmeld alle e-mails","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Du annullerer ikke dit abonnement på {{title}} ved at afmelde dig fra alle e-mails","Update your preferences":"Opdater dine præferencer","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Vi kunne ikke afmelde dig, da e-mailen ikke blev fundet. Kontakt venligst ejeren af siden.",Yearly:"Årlig","You have been successfully resubscribed":"Du er nu tilmeldt igen","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Du modtager ikke e-mails fordi du enten har markeret en af de seneste mails som spam, eller fordi e-mails ikke kunne leveres til den oplyste e-mailadresse.","Your account":"Din konto","Your input helps shape what gets published.":"Dit input hjælper med at forme det der bliver publiceret."},Aw={"{{discount}}% discount":"{{discount}}% Rabatt","{{trialDays}} days free":"{{trialDays}} Tage kostenlos","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Ein Login-Link wurde an Deine E-Mail-Adresse gesendet. Falls die E-Mail nicht innerhalb von 3 Minuten ankommt, überprüfe bitte Deinen Spam-Ordner.",Account:"Benutzerkonto","Account settings":"Benutzerkonto-Einstellungen","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Wenn das kostenlose Testabo endet, wirst Du den regulären Preis für den gewählten Tarif bezahlen. Du kannst das Abonnement jederzeit kündigen.","Already a member?":"Bereits Mitglied?",Back:"Zurück","Back to Log in":"Zurück zur Anmeldung","Cancel subscription":"Abonnierung kündigen","Cancellation reason":"Kündigungsgrund","Choose a different plan":"Wähle einen anderen Plan","Choose your newsletters":"Wähle Deine Newsletter",Close:"Schließen",Comments:"Kommentare",Confirm:"Bestätigen",Continue:"Weiter","Delete account":"Konto löschen","Don't have an account?":"Noch kein Konto?",Email:"Email","Email preference updated.":"Email Einstellungen aktualisiert.","Email preferences":"Email Einstellungen",Emails:"Emails","Emails disabled":"Emails deaktiviert","Get help":"Hilfe erhalten","Get notified when someone replies to your comment":"Erhalte eine Benachrichtigung, wenn jemand auf Deinen Kommentar antwortet","Give feedback on this post":"Gebe Feedback zu diesem Beitrag","Less like this":"Weniger davon",Manage:"Verwalten",Monthly:"Monatlich","More like this":"Mehr davon",Name:"Name","Not receiving emails?":"Keine Emails erhalten?","Now check your email!":"Überprüfe jetzt Deine E-Mails!",Price:"Preis","Re-enable emails":"Emails wieder aktivieren",Retry:"Nochmals versuchen",Save:"Speichern","Sending login link...":"Sende Login-Link...","Sending...":"Sende...","Sign in":"Einloggen","Sign up":"Registrieren","Start {{amount}}-day free trial":"Starte {{amount}}-tägiges kostenloses Testabo","Submit feedback":"Feedback senden","Successfully unsubscribed":"Erfolgreich abgemeldet","Thanks for the feedback!":"Danke für das Feedback!","That didn't go to plan":"Das verlief nicht nach Plan","This site is invite-only, contact the owner for access.":"Diese Seite ist nur nach Einladung zugänglich. Bitte kontaktiere den Seitenbetreiber.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Um die Registrierung abzuschließen, klicke auf den Bestätigungslink in Deinem E-Mail Postfach. Falls die E-Mail nicht innerhalb von 3 Minuten ankommt, überprüfe bitte Deinen Spam-Ordner!","Unsubscribe from all emails":"Von allen Emails abmelden","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Wenn Du Dich von Emails abmeldest, wird Dein bezahltes Abonnement bei {{title}} nicht gekündigt","Update your preferences":"Aktualisiere Deine Einstellungen","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Wir konnten Dich nicht abmelden, da die E-Mail-Adresse nicht gefunden wurde. Bitte kontaktiere den Seitenbetreiber.",Yearly:"Jährlich","You have been successfully resubscribed":"Du wurdest erfolgreich wieder angemeldet","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Du erhältst keine Emails, da Du entweder eine kürzlich empfangene Nachricht als Spam markiert hast oder weil Nachrichten nicht an Deine angegebene E-Mail-Adresse zugestellt werden konnten.","Your account":"Dein Konto","Your input helps shape what gets published.":"Deine Eingaben helfen dabei, was veröffentlicht wird."},Lw={"{{discount}}% discount":"","{{trialDays}} days free":"","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"",Account:"","Account settings":"","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"","Already a member?":"",Back:"","Back to Log in":"","Cancel subscription":"","Cancellation reason":"","Choose a different plan":"","Choose your newsletters":"",Close:"",Comments:"",Confirm:"",Continue:"","Delete account":"","Don't have an account?":"",Email:"","Email preference updated.":"","Email preferences":"",Emails:"","Emails disabled":"","Get help":"","Get notified when someone replies to your comment":"","Give feedback on this post":"","Less like this":"",Manage:"",Monthly:"","More like this":"",Name:"","Not receiving emails?":"","Now check your email!":"",Price:"","Re-enable emails":"",Retry:"",Save:"","Sending login link...":"","Sending...":"","Sign in":"","Sign up":"","Start {{amount}}-day free trial":"","Submit feedback":"","Successfully unsubscribed":"","Thanks for the feedback!":"","That didn't go to plan":"","This site is invite-only, contact the owner for access.":"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Unsubscribe from all emails":"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"","Update your preferences":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"",Yearly:"","You have been successfully resubscribed":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"","Your account":"","Your input helps shape what gets published.":""},Mw={"{{discount}}% discount":"{{discount}}% rabato","{{trialDays}} days free":"{{trialDays}} tagoj senpagaj","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Sendis ensalutan ligilon al via enirkesto. Se ĝi ne alvenas post 3 minutoj, nepre kontrolu vian trudmesaĝdosieron.",Account:"Konto","Account settings":"Kontagordoj","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Post senpaga provo finiĝos, vi pagos la regulan prezon por la nivelo, kiun vi elektis. Vi ĉiam povas nuligi antaŭ tiam.","Already a member?":"Ĉu membro jam?",Back:"Reen","Back to Log in":"Reen al Ensaluto","Cancel subscription":"Nuligu abonon","Cancellation reason":"Nuliga kialo","Choose a different plan":"Elektu alian planon","Choose your newsletters":"Elektu viajn bultenojn",Close:"Fermu",Comments:"Komentoj",Confirm:"Konfirmu",Continue:"Daŭrigu","Delete account":"Forigu konton","Don't have an account?":"Ĉu ne havas konton?",Email:"Retadreso","Email preference updated.":"Retpoŝta agordo ĝisdatigita.","Email preferences":"Retpoŝtaj agordoj",Emails:"Retpoŝtoj","Emails disabled":"Retpoŝtoj malŝaltitaj","Get help":"Ricevi helpon","Get notified when someone replies to your comment":"Estu sciiga kiam iu respondos al via komento","Give feedback on this post":"Donu komentojn pri ĉi tiu afiŝo","Less like this":"Malpli tiel",Manage:"Administru",Monthly:"Monate","More like this":"Pli kiel ĉi tio",Name:"Nomo","Not receiving emails?":"","Now check your email!":"Bonvolu kontroli vian retpoŝton nun!",Price:"Kosto","Re-enable emails":"Reŝalti retpoŝtojn",Retry:"Reprovu",Save:"Konservi","Sending login link...":"Sendanta ensaluta ligilo...","Sending...":"Sendante...","Sign in":"Ensalutu","Sign up":"Aliĝu","Start {{amount}}-day free trial":"Komencu senpaga {{amount}}-taga provo","Submit feedback":"Sendu rimarkojn","Successfully unsubscribed":"Sukcese malabonita","Thanks for the feedback!":"Dankon pro la rimarkoj!","That didn't go to plan":"Tio ne iris laŭ la intenco","This site is invite-only, contact the owner for access.":"Ĉi tiu retejo estas nur por invitiĝuloj, kontaktu la proprietulo por alireblo.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Por kompletigi aliĝon, premu la konfirman ligilon en via enirkesto. Se ĝi ne alvenas ene de 3 minutoj, kontrolu vian trudmesaĝdosieron!","Unsubscribe from all emails":"Malabonu de ĉiuj retpoŝtoj","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Malabonigi de retpoŝtoj ne nuligos vian pagitan abonon al {{title}}","Update your preferences":"Ĝisdatigu viajn agordojn","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Ni ne povis malaboni vin ĉar la retadreso ne estis trovita. Bonvolu kontakti la proprietulo de la retejo",Yearly:"Jare","You have been successfully resubscribed":"Vi sukcese reaboniĝis","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Vi ne ricevas retpoŝtojn ĉar vi aŭ markis lastatempan mesaĝon kiel trudmesaĝo, aŭ ĉar mesaĝoj ne povis liveri al via provizita retadreso.","Your account":"Via konto","Your input helps shape what gets published.":"Via enigo helpas formi kio estas aperigita."},Iw={"{{discount}}% discount":"{{discount}}% de descuento","{{trialDays}} days free":"{{trialDays}} días gratis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Se ha enviado un enlace de inicio de sesión a tu correo. Si no llega en 3 minutos, revisa tu carpeta de spam.",Account:"Cuenta","Account settings":"Configuración de la cuenta","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Después de que finalice el período de prueba gratuito, se te cobrará el precio regular del nivel que hayas elegido. Siempre puedes cancelar antes de eso.","Already a member?":"¿Ya eres miembro?",Back:"Atrás","Back to Log in":"Volver al inicio de sesión","Cancel subscription":"Cancelar suscripción","Cancellation reason":"Razón de cancelación","Choose a different plan":"Elige un plan diferente","Choose your newsletters":"Elige tus boletines",Close:"Cerrar",Comments:"Comentarios",Confirm:"Confirmar",Continue:"Continuar","Delete account":"Eliminar cuenta","Don't have an account?":"¿No tienes una cuenta?",Email:"Correo electrónico","Email preference updated.":"Preferencia de correo electrónico actualizada.","Email preferences":"Preferencias de correo electrónico",Emails:"Correos electrónicos","Emails disabled":"Correos electrónicos desactivados","Get help":"Obtener ayuda","Get notified when someone replies to your comment":"Recibe notificaciones cuando alguien responda a tu comentario","Give feedback on this post":"Envía comentarios sobre esta publicación","Less like this":"Menos como esto",Manage:"Administrar",Monthly:"Mensual","More like this":"Más como esto",Name:"Nombre","Not receiving emails?":"¿No recibes correos electrónicos?","Now check your email!":"¡Ahora revisa tu correo electrónico!",Price:"Precio","Re-enable emails":"Reactivar correos electrónicos",Retry:"Reintentar",Save:"Guardar","Sending login link...":"Enviando enlace de inicio de sesión...","Sending...":"Enviando...","Sign in":"Iniciar sesión","Sign up":"Registrarse","Start {{amount}}-day free trial":"Comienza el período de prueba gratuito de {{amount}} días","Submit feedback":"Enviar comentarios","Successfully unsubscribed":"Te has dado de baja correctamente","Thanks for the feedback!":"¡Gracias por tus comentarios!","That didn't go to plan":"Eso no salió según lo planeado","This site is invite-only, contact the owner for access.":"Este sitio es solo por invitación, contacta al propietario para obtener acceso.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Para completar el registro, haz clic en el enlace de confirmación en tu correo electrónico. Si no llega en 3 minutos, ¡revisa tu carpeta de spam!","Unsubscribe from all emails":"Cancelar suscripción a todos los correos electrónicos","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Cancelar la suscripción a los correos electrónicos no cancelará tu suscripción de pago a {{title}}","Update your preferences":"Actualiza tus preferencias","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"No pudimos cancelar tu suscripción ya que no se encontró la dirección de correo electrónico. Por favor, contacta al propietario del sitio.",Yearly:"Anual","You have been successfully resubscribed":"Te has vuelto a suscribir con éxito","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"No estás recibiendo correos electrónicos porque marcaste un mensaje reciente como spam o porque no se pudieron entregar los mensajes a la dirección de correo electrónico proporcionada.","Your account":"Tu cuenta","Your input helps shape what gets published.":"Tu opinión ayuda a definir lo que se publica."},zw={"{{discount}}% discount":"{{discount}}% de réduction","{{trialDays}} days free":"{{trialDays}} jours gratuits","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Un lien de connexion a été envoyé dans votre boîte de réception. S’il n’arrive pas dans les 3 minutes, vérifiez votre dossier spam.",Account:"Compte","Account settings":"Paramètres du compte","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"À la fin de la période d’essai gratuite, le prix normal de l’abonnement choisi sera facturé. Vous pouvez toujours annuler d’ici là.","Already a member?":"Déjà membre ?",Back:"Retour","Back to Log in":"Retour à Connexion","Cancel subscription":"Annuler l’abonnement","Cancellation reason":"Raison pour l’annulation","Choose a different plan":"Choisir un autre abonnement","Choose your newsletters":"Choisir les newsletters",Close:"Fermer",Comments:"Commentaires",Confirm:"Confirmer",Continue:"Continuer","Delete account":"Fermer le compte","Don't have an account?":"Vous n’avez pas encore de compte ?",Email:"E-mail","Email preference updated.":"Préférences d’e-mail mises à jour.","Email preferences":"Préférences d’e-mail",Emails:"E-mails","Emails disabled":"E-mails désactivés","Get help":"Obtenir de l’aide","Get notified when someone replies to your comment":"Soyez notifié lorsque quelqu’un répond à votre commentaire","Give feedback on this post":"Donnez votre avis sur cet article","Less like this":"Moins de ça",Manage:"Gérer",Monthly:"Mensuel","More like this":"Plus de ça",Name:"Nom","Not receiving emails?":"Vous n’avez pas reçu d’e-mails ?","Now check your email!":"Veuillez maintenant vérifier votre boite de réception.",Price:"Prix","Re-enable emails":"Ré-activer les e-mails",Retry:"Réesayer",Save:"Sauvegarder","Sending login link...":"Envoi du lien de connexion…","Sending...":"Envoi…","Sign in":"Se connecter","Sign up":"S’enregistrer","Start {{amount}}-day free trial":"Commencer l’essai gratuit de {{amount}} jours","Submit feedback":"Envoyez votre avis","Successfully unsubscribed":"Désabonnement réussi","Thanks for the feedback!":"Merci pour votre avis !","That didn't go to plan":"Cela n’a pas fonctionné comme prévu","This site is invite-only, contact the owner for access.":"Ce site est réservé aux invités, contactez le propriétaire pour y accéder.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Pour confirmer votre inscription, cliquez sur le lien de confirmation envoyé dans votre boite de réception. S’il ne vous parvient pas dans les 3 minutes, vérifiez votre dossier spam.","Unsubscribe from all emails":"Se désinscrire de tous les e-mails","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"La désinscription des e-mails n’annulera pas votre abonnement payant à {{title}}","Update your preferences":"Mettez à jour vos préférences","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"La désinscription n’a pas fonctionné car votre adresse e-mail n’a pas été trouvée. Merci de contacter le propriétaire du site.",Yearly:"Annuel","You have been successfully resubscribed":"Vous avez été réinscrit avec succès","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Vous ne recevez pas d’e-mails parce que vous avez marqué un message récent comme spam, ou parce que les messages n’ont pas pu être livrés à l’adresse e-mail que vous aviez indiquée.","Your account":"Votre compte","Your input helps shape what gets published.":"Votre avis aide à améliorer ce qui est publié."},Fw={"{{discount}}% discount":"{{discount}}% kedvezmény","{{trialDays}} days free":"{{trialDays}} nap ingyen","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"A bejelentkezéshez szükséges linket elküldtük a megadott email címre. Ha nem érkezne meg 3 percen belül, kérjük ellenőrizze a spam mappát!",Account:"Fiók","Account settings":"Fiók beállítások","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Az ingyenes próbaidőszak lejárta után a kiválasztott csomag normál díját fogjuk felszámolni. A feliratkozás bármikor ingyenesen lemondható a próbaidőszak alatt.","Already a member?":"Már van fiókja?",Back:"Vissza","Back to Log in":"Vissza a bejelentkezéshez","Cancel subscription":"Feliratkozás megszűntetése","Cancellation reason":"A megszűntetés oka","Choose a different plan":"Válasszon másik csomagot","Choose your newsletters":"Válassza ki a hírleveleket",Close:"Bezár",Comments:"Kommentek",Confirm:"Jóváhgyás",Continue:"Folytatás","Delete account":"Fiók törlése","Don't have an account?":"Még nincs fiókja?",Email:"Email","Email preference updated.":"Email beállítások elmentve","Email preferences":"Email beállítások",Emails:"Email-ek","Emails disabled":"Email-ek kikapcsolva","Get help":"Kérjen segítséget","Get notified when someone replies to your comment":"Értesítést kérek ha valaki válaszol a kommentemre","Give feedback on this post":"Hogy tetszett ez a cikk?","Less like this":"Kevesebb ilyet",Manage:"Kezelés",Monthly:"Havi","More like this":"Több ilyet",Name:"Név","Not receiving emails?":"Nem érkeznek meg az email-ek?","Now check your email!":"Ellenőrizze az postafiókját",Price:"Ár","Re-enable emails":"Email-ek aktiválása",Retry:"Újra",Save:"Mentés","Sending login link...":"Bejelenkezési link küldése...","Sending...":"Küldés...","Sign in":"Bejelentkezés","Sign up":"Regisztráció","Start {{amount}}-day free trial":"{{amount}} napos próbaidőszak kezdése","Submit feedback":"Visszajelzés küldése","Successfully unsubscribed":"Sikeres leiratkozás","Thanks for the feedback!":"Köszönjük a visszajelzést","That didn't go to plan":"Hiba történt","This site is invite-only, contact the owner for access.":"A website csak meghívóval látogatható. Meghívóért lépjen kapcsolatba az oldal tulajdonosával!","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"A regisztráció befejezéséhez kérjük kattintson az email-ben kapott linkre. Ha a link nem érkezne meg 3 percen belül kérjük ellenőrizze a spam mappát.","Unsubscribe from all emails":"Leiratkozás minden email-ről","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Az email-ről történő leiratkozás nem szűnteti meg a fiókját","Update your preferences":"Beállítások mentése","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Ehhez az email-hez nem tartozik fiók. Kérjük lépjen kapcsolatba az oldal tulajdonosával.",Yearly:"Éves","You have been successfully resubscribed":"Sikeres feliratkozás","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Azért nem kap email-t mert vagy spam-nek jelölt egy tőlünk kapott hírlevelet, vagy azért mert a megadott email cím nem tud üzeneteket fogadni.","Your account":"Fiók","Your input helps shape what gets published.":"A visszajelzése segít abban, hogy mit publikáljunk"},Bw={"{{discount}}% discount":"Diskon {{discount}}%","{{trialDays}} days free":"Gratis {{trialDays}} hari","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Tautan masuk telah dikirimkan ke kotak masuk Anda. Jika tidak diterima dalam waktu 3 menit, pastikan untuk memeriksa folder spam Anda.",Account:"Akun","Account settings":"Pengaturan akun","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Setelah percobaan gratis berakhir, Anda akan dikenai biaya harga normal untuk tingkatan yang Anda pilih. Anda selalu dapat membatalkannya sebelum itu.","Already a member?":"Sudah menjadi anggota?",Back:"Kembali","Back to Log in":"Kembali ke Masuk","Cancel subscription":"Batalkan langganan","Cancellation reason":"Alasan pembatalan","Choose a different plan":"Pilih paket yang berbeda","Choose your newsletters":"Pilih buletin Anda",Close:"Tutup",Comments:"Komentar",Confirm:"Konfirmasi",Continue:"Lanjutkan","Delete account":"Hapus akun","Don't have an account?":"Belum punya akun?",Email:"Email","Email preference updated.":"Preferensi email diperbarui.","Email preferences":"Preferensi email.",Emails:"Email","Emails disabled":"Email dinonaktifkan","Get help":"Dapatkan bantuan","Get notified when someone replies to your comment":"Dapatkan pemberitahuan ketika seseorang menjawab komentar Anda","Give feedback on this post":"Berikan masukan pada postingan ini","Less like this":"Kurangi yang seperti ini",Manage:"Kelola",Monthly:"Bulanan","More like this":"Lebih banyak yang seperti ini",Name:"Nama","Not receiving emails?":"Tidak menerima email?","Now check your email!":"Sekarang periksa email Anda!",Price:"Harga","Re-enable emails":"Aktifkan kembali email",Retry:"Coba lagi",Save:"Simpan","Sending login link...":"Mengirim tautan masuk...","Sending...":"Mengirim...","Sign in":"Masuk","Sign up":"Daftar","Start {{amount}}-day free trial":"Mulai percobaan gratis selama {{amount}} hari","Submit feedback":"Kirim masukan","Successfully unsubscribed":"Berhasil berhenti berlangganan","Thanks for the feedback!":"Terima kasih atas masukannya!","That didn't go to plan":"Itu tidak berjalan sesuai rencana","This site is invite-only, contact the owner for access.":"Situs ini hanya untuk yang diundang, hubungi pemiliknya untuk mendapatkan akses.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Untuk menyelesaikan pendaftaran, klik tautan konfirmasi di kotak masuk Anda. Jika tidak diterima dalam waktu 3 menit, pastikan untuk memeriksa folder spam Anda!","Unsubscribe from all emails":"Berhenti berlangganan dari semua email","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Berhenti berlangganan dari email tidak akan membatalkan langganan berbayar Anda ke {{title}}","Update your preferences":"Perbarui preferensi Anda","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Kami tidak dapat menghentikan langganan Anda karena alamat email tidak ditemukan. Harap hubungi pemilik situs.",Yearly:"Tahunan","You have been successfully resubscribed":"Anda telah berhasil berlangganan kembali","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Anda tidak menerima email karena Anda telah menandai pesan terbaru sebagai spam, atau karena pesan tidak dapat dikirimkan ke alamat email yang Anda berikan.","Your account":"Akun Anda","Your input helps shape what gets published.":"Masukan Anda membantu membentuk apa yang dipublikasikan."},Uw={"{{discount}}% discount":"{{discount}}% di sconto","{{trialDays}} days free":"{{trialDays}} giorni gratis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Un link di accesso è stato inviato alla tua casella di posta. Se non la ricevi entro 3 minuti, controlla nella posta indesiderata.",Account:"Account","Account settings":"Impostazioni account","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Al termine della prova gratuita, ti verrà addebitato il prezzo regolare del livello scelto. Puoi sempre annullare prima della fine della prova gratuita.","Already a member?":"Sei già iscritto?",Back:"Indietro","Back to Log in":"Torna al Log-in","Cancel subscription":"Cancella l'abbonamento","Cancellation reason":"Motivo della cancellazione","Choose a different plan":"Scegli un piano differente","Choose your newsletters":"Scegli la tua newsletter",Close:"Chiudi",Comments:"Commenti",Confirm:"Conferma",Continue:"Continua","Delete account":"Cancella account","Don't have an account?":"Non hai un account?",Email:"Email","Email preference updated.":"Impostazioni email aggiornate.","Email preferences":"Impostazioni email",Emails:"Email","Emails disabled":"Email disattivate","Get help":"Chiedi aiuto","Get notified when someone replies to your comment":"Ricevi una notifica quando qualcuno risponde ad un tuo commento","Give feedback on this post":"Manda un feedback per questo post","Less like this":"Meno come questo",Manage:"Gestisci",Monthly:"Mensile","More like this":"Più come questo",Name:"Nome","Not receiving emails?":"Non ricevi le email?","Now check your email!":"Ora controlla la tua email!",Price:"Prezzo","Re-enable emails":"Attiva nuovamente le email",Retry:"Riprova",Save:"Salva","Sending login link...":"Invio link di accesso...","Sending...":"Invio...","Sign in":"Accedi","Sign up":"Iscriviti","Start {{amount}}-day free trial":"Inizia i {{amount}} giorni di prova gratuita","Submit feedback":"Invia feedback","Successfully unsubscribed":"Cancellazione effettuata con successo","Thanks for the feedback!":"Grazie per i feedback!","That didn't go to plan":"Questo non era previsto","This site is invite-only, contact the owner for access.":"Questo sito è accessibile solo su invito, contatta il proprietario per poter accedere.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Per completare l'accesso, clicca il link di conferma inviato alla tua email. Se non lo ricevi entro 3 minuti, controlla nella posta indesiderata!","Unsubscribe from all emails":"Cancella l'iscrizione da tutte le email","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"L'annullamento dell'iscrizione alle email non annullerà l'abbonamento a {{title}}","Update your preferences":"Aggiorna le tue preferenze","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Non è stato possibile annullare l'iscrizione poiché l'indirizzo email non è stato trovato. Si prega di contattare il proprietario del sito.",Yearly:"Annuale","You have been successfully resubscribed":"Iscrizione effettuata con successo","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Non ricevi email perché hai contrassegnato un messaggio recente come spam o perché non è stato possibile recapitare i messaggi all'indirizzo email fornito.","Your account":"Il tuo account","Your input helps shape what gets published.":"Il tuo contributo aiuta a dare forma a ciò che viene pubblicato."},Yw={"{{discount}}% discount":"{{discount}}% хямдрал","{{trialDays}} days free":"{{trialDays}} өдөр үнэгүй","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Таны имэйл рүү нэвтрэх холбоосыг илгээлээ. Хэрвээ 3 минутын дотор ирэхгүй бол спамаа шалгана уу.",Account:"Бүртгэл","Account settings":"Бүртгэлийн тохиргоо","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Үнэгүй туршилтын хугацаа дуусахад таны данснаас сонгосон багцын үнэ хасагдана. Гэвч та өмнө нь цуцлах боломжтой.","Already a member?":"Бүртгэлтэй юу?",Back:"Буцах","Back to Log in":"Нэвтрэх хэсэг рүү буцах","Cancel subscription":"Захиалгаа цуцлах","Cancellation reason":"Цуцалсан шалтгаан","Choose a different plan":"Өөр багц сонгох","Choose your newsletters":"Товхимолоо сонгох",Close:"Хаах",Comments:"Сэтгэгдлүүд",Confirm:"Баталгаажуулах",Continue:"Үргэлжлүүлэх","Delete account":"Бүртгэлээ устгах","Don't have an account?":"Бүргэлгүй юу?",Email:"Имэйл","Email preference updated.":"Имэйлийн тохиргоо шинэчлэгдлээ.","Email preferences":"Имэйлийн тохиргоо",Emails:"Имэйлүүд","Emails disabled":"Имэйлийг идэхгүй болгосон","Get help":"Тусламж","Get notified when someone replies to your comment":"Хэн нэгэн таны сэтгэгдэлд хариу бичих үед мэдэгдэх","Give feedback on this post":"Энэ нийтлэлд саналаа өгөх","Less like this":"Таалагдсангүй",Manage:"Удирдах",Monthly:"Сарын","More like this":"Таалагдлаа",Name:"Нэр","Not receiving emails?":"Имэйл ирээгүй юу?","Now check your email!":"Одоо имэйлээ шалгана уу!",Price:"Үнэ","Re-enable emails":"Имэйлийг дахин идэвхжүүлэх",Retry:"Дахин оролдох",Save:"Хадгалах","Sending login link...":"Нэвтрэх холбоосыг илгээж байна...","Sending...":"Илгээж байна...","Sign in":"Нэвтрэх","Sign up":"Бүртгүүлэх","Start {{amount}}-day free trial":"{{amount}} өдрийн үнэгүй туршилтыг эхлүүлэх","Submit feedback":"Саналаа илгээх","Successfully unsubscribed":"Захиалгыг амжилттай цуцаллаа","Thanks for the feedback!":"Саналаа илгээсэнд баярлалаа!","That didn't go to plan":"","This site is invite-only, contact the owner for access.":"Энэхүү сайт руу зөвхөн урилгаар нэвтрэх боломжтой тул та админд нь хандана уу.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Тан руу илгээсэн баталгаажуулах холбоос дээр дарж бүртгэлээ дуусгана уу. Хэрвээ 3 минутын дотор ирэхгүй бол спамаа шалгана уу!","Unsubscribe from all emails":"Бүх имэйлийг зогсоох","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Имэйлийг зогсоосон ч таны {{title}} төлбөртэй захиалга цуцлагдахгүй","Update your preferences":"Тохиргоогоо шинэчлэх","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Энэхүү имэйл хаяг олдоогүй учир захиалгыг цуцлах боломжгүй. Та сайтын админд хандана уу.",Yearly:"Жилийн","You have been successfully resubscribed":"Таны захиалга амжилттай дахин идэвхжлээ","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Таны имэйл хүлээж авахгүй байгаа шалтгаан нь нэг бол та аль нэг имэйлийг спам гэж тэмдэглэсэн, эсвэл таны хаяг имэйл хүлээж авах боломжгүй байна.","Your account":"Таны бүртгэл","Your input helps shape what gets published.":"Таны санал дараа дараагийн нийтлэлийг илүү чанартай болгоход туслана"},Hw={"{{discount}}% discount":"{{discount}}% korting","{{trialDays}} days free":"{{trialDays}} dagen gratis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Je hebt een email met een login link ontvangen. Check je spamfolder als hij niet binnen de 3 minuten aankomt.",Account:"Account","Account settings":"Gegevens","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Na de proefperiode zal het normale tarief in rekening worden gebracht voor het door jou gekozen abonnement.","Already a member?":"Al lid?",Back:"Terug","Back to Log in":"Terug naar inloggen","Cancel subscription":"Abonnement opzeggen","Cancellation reason":"Reden voor opzegging","Choose a different plan":"Kies een ander abonnement","Choose your newsletters":"Kies jouw nieuwsbrieven",Close:"Sluiten",Comments:"Reacties",Confirm:"Bevestigen",Continue:"Doorgaan","Delete account":"Account verwijderen","Don't have an account?":"Heb je nog geen account?",Email:"E-mail","Email preference updated.":"E-mailinstellingen aanpassen","Email preferences":"E-mailinstellingen",Emails:"E-mails","Emails disabled":"E-mails zijn uitgeschakeld","Get help":"Lees meer","Get notified when someone replies to your comment":"Blijf op de hoogte als iemand op jouw reactie reageert","Give feedback on this post":"Deel je mening over dit artikel","Less like this":"Minder hiervan",Manage:"Beheer",Monthly:"Maandelijks","More like this":"Meer hiervan",Name:"Naam","Not receiving emails?":"Ontvang je geen e-mails?","Now check your email!":"Bekijk nu jouw e-mails!",Price:"Prijs","Re-enable emails":"E-mails weer inschakelen",Retry:"Opnieuw proberen",Save:"Opslaan","Sending login link...":"Inloglink versturen...","Sending...":"Versturen...","Sign in":"Inloggen","Sign up":"Registreren","Start {{amount}}-day free trial":"Start gratis je {{amount}}-daagse proefperiode","Submit feedback":"Deel je feedback","Successfully unsubscribed":"Succesvol uitgeschreven","Thanks for the feedback!":"Bedankt voor je feedback!","That didn't go to plan":"Er ging iets mis","This site is invite-only, contact the owner for access.":"Deze site is alleen toegankelijk op uitnodiging, neem contact op met de eigenaar.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Klik op de bevestigingslink in de e-mail om je registratie af te ronden. Check ook je spamfolder als hij niet binnen de 3 minuten aankomt.","Unsubscribe from all emails":"Uitschrijven voor alles","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Je betaalde abonnement voor {{title}} wordt niet geannuleerd als je je uitschrijft voor e-mails","Update your preferences":"Voorkeuren aanpassen","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Het is niet gelukt om je uit te schrijven, omdat je e-mailadres niet is gevonden. Neem contact met ons op.",Yearly:"Jaarlijks","You have been successfully resubscribed":"Je bent weer succesvol geabonneerd","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Je ontvangt geen e-mails omdat je ofwel een recent bericht als spam had gemarkeerd, of omdat de berichten niet verzonden konden worden naar jouw e-mailadres.","Your account":"Jouw account","Your input helps shape what gets published.":"Jouw mening helpt bepalen wat er gepubliceerd wordt."},Gw={"{{discount}}% discount":"{{discount}}% rabatt","{{trialDays}} days free":"{{trialDays}} dager gratis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"En påloggingslenke har blitt sendt til innboksen din. Hvis den ikke kommer innen 3 minutter, må du sjekke søppelposten din.",Account:"Konto","Account settings":"Kontoinnstillinger","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Etter at en gratis prøveperiode er over, vil du bli belastet den vanlige prisen for nivået du har valgt. Du kan alltid avbryte før det.","Already a member?":"Allerede medlem?",Back:"Tilbake","Back to Log in":"Tilbake til innlogging","Cancel subscription":"Avbryt abonnement","Cancellation reason":"Grunn til avbryting","Choose a different plan":"Velg et annet nivå","Choose your newsletters":"Velg dine nyhetsbrev",Close:"Lukk",Comments:"Kommentarer",Confirm:"Bekreft",Continue:"Fortsett","Delete account":"Slett konto","Don't have an account?":"Har du ikke konto?",Email:"Epost","Email preference updated.":"Innstillinger for epost oppdatert","Email preferences":"Innstillinger for epost",Emails:"Epost","Emails disabled":"Epost deaktivert","Get help":"Få hjelp","Get notified when someone replies to your comment":"Få varsel dersom noen svarer på kommentaren din","Give feedback on this post":"Gi tilbakemelding på dette innlegget","Less like this":"Mindre som dette",Manage:"Administrer",Monthly:"Månedlig","More like this":"Mer som dette",Name:"Navn","Not receiving emails?":"Mottar du ikke epost?","Now check your email!":"Sjekk eposten din!",Price:"Pris","Re-enable emails":"Re-aktiver epost",Retry:"Prøv på nytt",Save:"Lagre","Sending login link...":"Sender påloggingslenke","Sending...":"Sender...","Sign in":"Logg inn","Sign up":"Opprett bruker","Start {{amount}}-day free trial":"Start gratis prøveperiode på {{amount}} dager","Submit feedback":"Send tilbakemelding","Successfully unsubscribed":"Avmelding vellykket","Thanks for the feedback!":"Takk for tilbakemeldingen!","That didn't go to plan":"Det gikk ikke som planlagt","This site is invite-only, contact the owner for access.":"Denne siten er kun fo inviterte. Kontakt eieren for invitasjon.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"For å fullføre registreringen, klikk på bekreftelseslenken i innboksen din. Hvis den ikke kommer innen 3 minutter, må du sjekke søppelposten din!","Unsubscribe from all emails":"Meld deg av mottak av all epost","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Å melde seg av e-poster vil ikke avbryte abonnementet ditt på {{title}}","Update your preferences":"Oppdater dine valg","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Vi kunne ikke melde deg av siden e-postadressen ikke ble funnet. Vennligst kontakt nettstedseieren.",Yearly:"Årlig","You have been successfully resubscribed":"Du har blitt meldt på igjen","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Du mottar ikke e-post fordi du enten nylig har merket en melding som spam, eller fordi meldinger ikke kunne leveres til den oppgitte e-postadressen din.","Your account":"Din konto","Your input helps shape what gets published.":"Din tilbakemelding bidrar til å forme hva som blir publisert."},qw={"{{discount}}% discount":"Rabat {{discount}}%","{{trialDays}} days free":"{{trialDays}} darmowych dni","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Link do logowania został wysłany do twojej skrzynki odbiorczej. Jeśli nie dotrze w ciągu 3 minut, sprawdź swój folder spamu.",Account:"Konto","Account settings":"Ustawienia konta","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Po zakończeniu okresu próbnego zostanie naliczona regularna opłata za wybrany poziom subskrypcji. Zawsze możesz anulować subskrypcję zanim to nastąpi.","Already a member?":"Masz już konto?",Back:"Wstecz","Back to Log in":"Wróć do logowania","Cancel subscription":"Anuluj subskrypcję","Cancellation reason":"Powód anulowania","Choose a different plan":"Wybierz inny plan","Choose your newsletters":"Wybierz swoje newslettery",Close:"Zamknij",Comments:"Komentarze",Confirm:"Potwierdź",Continue:"Dalej","Delete account":"Skasuj konto","Don't have an account?":"Nie masz jeszcze konta?",Email:"Email","Email preference updated.":"Ustawienia email zaktualizowane","Email preferences":"Ustawienia email",Emails:"Emaile","Emails disabled":"Wysyłanie emaili zablokowane","Get help":"Uzyskaj pomoc","Get notified when someone replies to your comment":"Otrzymaj powiadomienie gdy ktoś odpowie na twój komentarz","Give feedback on this post":"Oceń ten wpis","Less like this":"Mniej podobnych",Manage:"Zarządzaj",Monthly:"Miesięcznie","More like this":"Więcej podobnych",Name:"Imię i nazwisko","Not receiving emails?":"Nie dostajesz emaili?","Now check your email!":"Teraz sprawdź swoją pocztę!",Price:"Cena","Re-enable emails":"Włącz ponownie emaile",Retry:"Powtórz",Save:"Zapisz","Sending login link...":"Wysyłanie linku do logowania...","Sending...":"Wysyłanie...","Sign in":"Zaloguj się","Sign up":"Zarejestruj się","Start {{amount}}-day free trial":"Rozpocznij {{amount}}-dniowy okres próbny","Submit feedback":"Wyślij ocenę","Successfully unsubscribed":"Wypisanie udane","Thanks for the feedback!":"Dziękujemy za ocenę!","That didn't go to plan":"Coś poszło nie tak","This site is invite-only, contact the owner for access.":"Ta strona jest tylko na zaproszenie, skontaktuj się z właścicielem aby uzyskać dostęp.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Aby dokończyć rejestrację, kliknij w link przesłany na twoją skrzynkę pocztową. Jeśli nie dotrze on w ciągu 3 minut, sprawdź folder spamu!","Unsubscribe from all emails":"Wypisz się w wszystkich emaili","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Wypisanie się z otrzymywania emaili nie powoduje anulowania płatnej subskrypcji {{title}}","Update your preferences":"Zaktualizuj preferencje","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Nie udało się wypisać, bo nie znaleziono adresu email. Skontaktuj się w właścicielem strony.",Yearly:"Rocznie","You have been successfully resubscribed":"Zostałeś ponownie zapisany","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Nie otrzymujesz powiadomień email, ponieważ oznaczyłeś ostatnią wiadomość jako spam lub nie udało się dostarczyć wiadomości na podany adres email.","Your account":"Twoje konto","Your input helps shape what gets published.":"Twoja ocena pomoże nam lepiej kształtować nasz publikacje."},Ww={"{{discount}}% discount":"{{discount}}% de desconto","{{trialDays}} days free":"{{trialDays}} dias grátis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Um link de acesso foi enviado para o teu email. Se o email não chegar dentro de 3 minutos, verifica a pasta de spam/lixo do teu email.",Account:"Conta","Account settings":"Definições de conta","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Após o fim do teste grátis, será cobrado o valor normal para o nível escolhido. Podes sempre cancelar até esse momento para evitar ser cobrado.","Already a member?":"Já és membro?",Back:"Voltar","Back to Log in":"Voltar ao login","Cancel subscription":"Cancelar subscrição","Cancellation reason":"Motivo para o cancelamento","Choose a different plan":"Escolhe um plano diferente","Choose your newsletters":"Escolhe as tuas newsletters",Close:"Fechar",Comments:"Comentários",Confirm:"Confirmar",Continue:"Continuar","Delete account":"Eliminar a conta","Don't have an account?":"Não tens conta?",Email:"Email","Email preference updated.":"Preferências de email atualizadas.","Email preferences":"Preferências de email",Emails:"Emails","Emails disabled":"Email desativado","Get help":"Obter ajuda","Get notified when someone replies to your comment":"Ser notificado quando alguém responde a um comentário teu","Give feedback on this post":"Dar feedback a este artigo","Less like this":"Menos como este",Manage:"Gerir",Monthly:"Mensalmente","More like this":"Mais como este",Name:"Nome","Not receiving emails?":"Não recebes os emails?","Now check your email!":"Verifica o teu email agora!",Price:"Preço","Re-enable emails":"Reativar emails",Retry:"Tentar novamente",Save:"Guardar","Sending login link...":"A enviar link de acesso...","Sending...":"A enviar...","Sign in":"Entrar","Sign up":"Registar","Start {{amount}}-day free trial":"Iniciar teste de {{amount}} dias","Submit feedback":"Enviar feedback","Successfully unsubscribed":"Subscrição cancelada com sucesso","Thanks for the feedback!":"Obrigado pelo teu feedback!","That didn't go to plan":"Algo não correu como planeado","This site is invite-only, contact the owner for access.":"O acesso a este site é feito apenas por convite. Entra em contacto com o proprietário para teres acesso.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Para completar o registo, clica no link de confirmação enviado para o teu email. Se não o receberes dentro de 3 minutos, verifica a pasta de spam/lixo do teu email!","Unsubscribe from all emails":"Cancelar subscrição de todos os emails","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Cancelar a subscrição dos emails não irá cancelar a tua subscrição paga em {{title}}","Update your preferences":"Atualizar as tuas preferências","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Não conseguimos cancelar a tua subscrição, uma vez que o endereço de email não foi encontrado. Por favor contacta o proprietário do site.",Yearly:"Anualmente","You have been successfully resubscribed":"A tua subscrição foi renovada com sucesso","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Não estás a receber emails porque marcaste recentemente uma das nossas mensagens como spam, ou porque as mensagens não puderam ser entregues no endereço de email indicado.","Your account":"A tua conta","Your input helps shape what gets published.":"O teu feedback ajuda a decidir o conteúdo que será publicado no futuro."},Vw={"{{discount}}% discount":"{{discount}}% de desconto","{{trialDays}} days free":"{{trialDays}} dias grátis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Um link de acesso foi enviado para o seu e-mail. Se a mensagem não chegar dentro de 3 minutos, verifique sua pasta de spam.",Account:"Conta","Account settings":"Configurações de conta","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Quando o teste grátis acabar, será cobrado o preço normal do plano que você escolheu. Você sempre pode cancelar antes.","Already a member?":"Já é membro?",Back:"Voltar","Back to Log in":"Voltar para login","Cancel subscription":"Cancelar inscrição","Cancellation reason":"Motivo do cancelamento","Choose a different plan":"Escolher um plano diferente","Choose your newsletters":"Escolher suas newsletters",Close:"Fechar",Comments:"Comentários",Confirm:"Confirmar",Continue:"Continuar","Delete account":"Excluir conta","Don't have an account?":"Não tem uma conta?",Email:"E-mail","Email preference updated.":"Preferências de e-mail atualizadas.","Email preferences":"Preferências de e-mail",Emails:"E-mails","Emails disabled":"E-mails desativados","Get help":"Obter ajuda","Get notified when someone replies to your comment":"Receber notificação quando alguém responder seu comentário","Give feedback on this post":"Enviar feedback sobre esta postagem","Less like this":"Menos como este",Manage:"Gerenciar",Monthly:"Mensal","More like this":"Mais como este",Name:"Nome","Not receiving emails?":"Não está recebendo e-mails?","Now check your email!":"Agora veja seu e-mail!",Price:"Preço","Re-enable emails":"Reativar e-mails",Retry:"Tentar de novo",Save:"Salvar","Sending login link...":"Enviando link de acesso...","Sending...":"Enviando...","Sign in":"Entrar","Sign up":"Cadastrar","Start {{amount}}-day free trial":"Começar teste grátis de {{amount}} dias","Submit feedback":"Enviar avaliação","Successfully unsubscribed":"Inscrição cancelada com sucesso","Thanks for the feedback!":"Obrigado pela avaliação!","That didn't go to plan":"Algo não saiu como planejado","This site is invite-only, contact the owner for access.":"Este site é apenas para convidados. Contate o proprietário para obter acesso.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Para completar o cadastro, clique no link de confirmação enviado para sua caixa de entrada. Se o link não chegar detro de 3 minutos, confira a pasta de spam!","Unsubscribe from all emails":"Cancelar inscrição em todos os e-mails","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Cancelar a inscrição nos e-mails não cancelará sua assinatura paga em {{title}}","Update your preferences":"Atualizar preferências","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Não conseguimos cancelar sua inscrição já que o e-mail não foi encontrado. Por favor, entre em contato com o proprietário do site.",Yearly:"Anualmente","You have been successfully resubscribed":"Você foi reinscrito com sucesso","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Você não está recebendo e-mails porque, ou classificou uma mensagem recente como spam, ou as mensagens não puderam ser entregues no endereço de e-mail que você forneceu.","Your account":"Sua conta","Your input helps shape what gets published.":"Sua resposta ajuda a moldar o que será publicado."},Kw={"{{discount}}% discount":"Скидка {{discount}}%","{{trialDays}} days free":"{{trialDays}} дня(-ей) бесплатно","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Ссылка для входа была отправлена вам на email. Если письмо долго не приходит, проверьте папку Спам.",Account:"Аккаунт","Account settings":"Настройки аккаунта","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"После окончания бесплатного периода с вас будут взиматься регулярные платежи по выбранному тарифу. До этого момента вы можете отменить подписку в любое время.","Already a member?":"Уже есть аккаунт?",Back:"Назад","Back to Log in":"Вернуться ко входу","Cancel subscription":"Отменить подписку","Cancellation reason":"Причина отмены","Choose a different plan":"Выберите другой план","Choose your newsletters":"Выберите рассылки",Close:"Закрыть",Comments:"Комментарии",Confirm:"Подтвердить",Continue:"Продолжить","Delete account":"Удалить аккаунт","Don't have an account?":"У вас нет аккаунта?",Email:"Email","Email preference updated.":"Настройки электронной почты обновлены.","Email preferences":"Настройки электронной почты",Emails:"Письма","Emails disabled":"Письма отключены","Get help":"Получить помощь","Get notified when someone replies to your comment":"Оповещать, когда кто-то отвечает на ваш комментарий","Give feedback on this post":"Оставить отзыв на эту публикацию","Less like this":"Меньше подобного",Manage:"Управление",Monthly:"Ежемесячно","More like this":"Больше подобного",Name:"Имя","Not receiving emails?":"Не получаете письма?","Now check your email!":"Теперь проверьте свою электронную почту!",Price:"Цена","Re-enable emails":"Снова включить письма",Retry:"Повторить попытку",Save:"Сохранить","Sending login link...":"Отправка ссылки для входа...","Sending...":"Отправка...","Sign in":"Войти","Sign up":"Зарегистрироваться","Start {{amount}}-day free trial":"Начать {{amount}}-дневный пробный период","Submit feedback":"Отправить отзыв","Successfully unsubscribed":"Подписка успешно отменена","Thanks for the feedback!":"Спасибо за отзыв!","That didn't go to plan":"Что-то пошло не так","This site is invite-only, contact the owner for access.":"Этот сайт доступен только по приглашениям, свяжитесь с владельцем для получения доступа.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Чтобы завершить регистрацию, нажмите на ссылку подтверждения в вашем почтовом ящике. Если она не придет в течение 3 минут, проверьте папку Спам!","Unsubscribe from all emails":"Отписаться от всех писем","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Отключение рассылки не отменит вашу платную подписку на {{title}}","Update your preferences":"Обновить настройки","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Мы не смогли отменить вашу подписку, так как адрес электронной почты не найден. Пожалуйста, свяжитесь с владельцем сайта.",Yearly:"Ежегодно","You have been successfully resubscribed":"Вы снова подписаны на рассылку","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Вы не получаете письма, так как либо вы пометили недавнее сообщение как спам, либо сообщения не могут быть доставлены на указанный вами email.","Your account":"Ваш аккаунт","Your input helps shape what gets published.":"Ваш отзыв поможет решить, что будет опубликовано дальше."},Qw={"{{discount}}% discount":"{{discount}}% වට්ටම්","{{trialDays}} days free":"දින {{trialDays}} ක් දක්වා නොමිලේ","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"වෙබ් අඩවියට පිවිසීම සඳහා ලින්කුවක් ඔබගේ විද්යුත් ලිපිනය වෙත යවා ඇත. එය විනාඩි 3ක් ඇතුළත නොපැමිණියේ නම් ස්පෑම් ෆෝල්ඩරය පරීක්ෂා කරන්න.",Account:"ගිණුම","Account settings":"ගිණුම් සැකසුම්","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.","Already a member?":"දැනටමත් සාමාජිකයෙක්ද?",Back:"ආපසු","Back to Log in":"ලොග් වීම සඳහා ආපසු","Cancel subscription":"Subscription එක අවලංගු කරන්න","Cancellation reason":"අවලංගු කිරිමට හේතුව","Choose a different plan":"වෙනත් plan එකක් තෝරන්න","Choose your newsletters":"ඔබගේ newsletter වර්ගය තෝරන්න",Close:"වසන්න",Comments:"ප්රතිචාර",Confirm:"තහවුරු කරන්න",Continue:"ඉදිරියට යන්න","Delete account":"ගිණුම Delete කරන්න","Don't have an account?":"ගිණුමක් නොමැතිද?",Email:"Email","Email preference updated.":"Email preference updated.","Email preferences":"Email preferences",Emails:"ඊමේල්","Emails disabled":"Emails disabled","Get help":"සහාය ලබාගන්න","Get notified when someone replies to your comment":"ඔබේ ප්රතිචාරයට යම් අයෙකු පිළිතුරු දුන් විට දැනුම් දෙන්න","Give feedback on this post":"මෙම post එකට ඔබේ අදහස එක් කරන්න","Less like this":"Less like this",Manage:"කළමනාකරණය කරන්න",Monthly:"මාසිකව","More like this":"More like this",Name:"නම","Not receiving emails?":"Emails ලැබෙන්නෙ නැද්ද?","Now check your email!":"දැන් ඔබගේ email එක පරික්ෂා කරන්න!",Price:"මිල","Re-enable emails":"ඉමේල් නැවත සක්රීය කරන්න",Retry:"නැවත උත්සහකරන්න",Save:"Save","Sending login link...":"පිවිසුම් සබැඳිය යවමින්...","Sending...":"යවමින්...","Sign in":"ලොග් වෙන්න","Sign up":"ලියාපදිංචි වෙන්න","Start {{amount}}-day free trial":"{{amount}}-day free trial එක ආරම්භකරන්න","Submit feedback":"ප්රතිචාරය යොමුකරන්න","Successfully unsubscribed":"සාර්ථකව unsubscribed කර ඇත","Thanks for the feedback!":"ප්රතිචාරය සඳහා ස්තූතියි!","That didn't go to plan":"ඒය සැලැස්මට අනුකූලව සිදු වුණේ නෑ","This site is invite-only, contact the owner for access.":"මෙම වෙබ් අඩවිය ආරාධිතයන් සඳහා පමණි, ප්රවේශ වීම සඳහා හිමිකරු අමතන්න.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!","Unsubscribe from all emails":"Unsubscribe from all emails","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Unsubscribing from emails will not cancel your paid subscription to {{title}}","Update your preferences":"Update your preferences","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"We couldn't unsubscribe you as the email address was not found. Please contact the site owner.",Yearly:"වාර්ෂිකව","You have been successfully resubscribed":"ඔබ සාර්ථකව නැවත subscribe කර ඇත","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.","Your account":"ඔබගේ ගිණුම","Your input helps shape what gets published.":"Your input helps shape what gets published."},Jw={"{{discount}}% discount":"{{discount}}% popust","{{trialDays}} days free":"{{trialDays}} dni brezplačno","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Povezava za prijavo je bila poslana na vašo e-pošto. Če ne prispe v treh minutah, preverite mapo za neželeno pošto.",Account:"Račun","Account settings":"Nastavitve računa","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Po koncu brezplačnega preizkusa se vam zaračuna redna cena za izbrano stopnjo. Pred tem jo lahko vedno prekličete.","Already a member?":"Ste že član?",Back:"Nazaj","Back to Log in":"Nazaj na prijavo","Cancel subscription":"Prekliči naročnino","Cancellation reason":"Razlog za preklic","Choose a different plan":"Izberite drug načrt","Choose your newsletters":"Izberite svoje novice",Close:"Zapri",Comments:"Komentarji",Confirm:"Potrdi",Continue:"Nadaljuj","Delete account":"Izbriši račun","Don't have an account?":"Nimate računa?",Email:"E-pošta","Email preference updated.":"E-poštne nastavitve posodobljene","Email preferences":"Nastavitve e-pošte",Emails:"E-pošta","Emails disabled":"E-pošta onemogočena","Get help":"Pomoč","Get notified when someone replies to your comment":"Prejmite obvestilo, ko nekdo odgovori na vaš komentar","Give feedback on this post":"Podajte povratne informacije o tej objavi","Less like this":"Ni mi všeč",Manage:"Upravljanje",Monthly:"Mesečno","More like this":"Všeč mi je",Name:"Ime","Not receiving emails?":"Ne prejemate e-poštnih sporočil?","Now check your email!":"Preverite e-pošto!",Price:"Cena","Re-enable emails":"Ponovna vključitev e-poštnih sporočil",Retry:"Cena",Save:"Shrani","Sending login link...":"Pošiljanje povezave za prijavo...","Sending...":"Pošiljanje...","Sign in":"Prijava","Sign up":"Registracija","Start {{amount}}-day free trial":"Začetek {{amount}}-dnevnega brezplačnega preizkusa","Submit feedback":"Pošljite povratno informacijo","Successfully unsubscribed":"Uspešno ste se odjavili","Thanks for the feedback!":"Hvala za povratne informacije!","That didn't go to plan":"To ni šlo po načrtu","This site is invite-only, contact the owner for access.":"To spletno mesto je dostopno samo s povabilom, obrnite se na lastnika.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Dokončatje prijavo s klikom na povezavo, ki ste jo dobili na vaš e-poštni naslov. Če je ne prejmete v treh minutah, preverite mapo za neželeno pošto!","Unsubscribe from all emails":"Odjava od vseh e-poštnih sporočil","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Odjava od e-poštnih sporočil ne bo preklicala vaše plačane naročnine na {{title}}","Update your preferences":"Posodobite svoje nastavitve","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Nismo vas mogli odjaviti, ker e-poštnega naslova nismo našli. Prosimo, da se obrnete na lastnika spletnega mesta.",Yearly:"Letno","You have been successfully resubscribed":"Uspešno ste bili ponovno naročeni","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Ne prejemate e-poštnih sporočil, ker ste naše sporočilo nedavno označili kot neželeno pošto ali, ker sporočil ni bilo mogoče dostaviti na vaš e-poštni naslov.","Your account":"Vaš račun","Your input helps shape what gets published.":"Vaš prispevek se nam pomaga odločati, kaj objavimo."},Xw={"{{discount}}% discount":"{{discount}}% rabatt","{{trialDays}} days free":"{{trialDays}} dagar gratis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"En inloggningslänk har skickats till din inkorg. Om den inte anländer inom 3 minuter, kontrollera din skräppostmapp.",Account:"Konto","Account settings":"Kontoinställningar","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Efter att en gratis provperiod avslutas debiteras du det ordinarie priset för den nivå du har valt. Du kan alltid avbryta innan dess.","Already a member?":"Redan medlem?",Back:"Tillbaka","Back to Log in":"Tillbaka till inloggning","Cancel subscription":"Avbryt prenumeration","Cancellation reason":"Anledning till avslut","Choose a different plan":"Välj en annan prenumeration","Choose your newsletters":"Välj dina nyhetsbrev",Close:"Stäng",Comments:"Kommentarer",Confirm:"Bekräfta",Continue:"Fortsätt","Delete account":"Radera konto","Don't have an account?":"Har du inget konto?",Email:"E-post","Email preference updated.":"Inställningar för e-post uppdaterade.","Email preferences":"E-postinställningar",Emails:"E-postmeddelanden","Emails disabled":"E-post inaktiverad","Get help":"Få hjälp","Get notified when someone replies to your comment":"Få en avisering när någon svarar på din kommentar","Give feedback on this post":"Ge feedback på det här inlägget","Less like this":"Mindre sånt här",Manage:"Hantera",Monthly:"Månadsvis","More like this":"Mer sånt här",Name:"Namn","Not receiving emails?":"Får du inga e-postmeddelanden?","Now check your email!":"Kolla nu din e-post!",Price:"Pris","Re-enable emails":"Återaktivera e-post",Retry:"Försök igen",Save:"Spara","Sending login link...":"Skickar inloggningslänk...","Sending...":"Skickar...","Sign in":"Logga in","Sign up":"Registrera dig","Start {{amount}}-day free trial":"Starta {{amount}}-dagars gratis testperiod","Submit feedback":"Skicka feedback","Successfully unsubscribed":"Prenumerationen avslutades framgångsrikt","Thanks for the feedback!":"Tack för din feedback!","That didn't go to plan":"Det där fungerade inte som tänkt","This site is invite-only, contact the owner for access.":"Den här sidan är endast för inbjudna, kontakta ägaren för åtkomst.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"För att slutföra registreringen, klicka på bekräftelselänken i din inkorg. Om den inte kommer fram inom 3 minuter, kolla din skräppostmapp!","Unsubscribe from all emails":"Avregistrera från alla e-postutskick","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Avregistrering från e-postmeddelanden kommer inte att avbryta din betalda prenumeration på {{title}}","Update your preferences":"Uppdatera dina inställningar","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Vi kunde inte avsluta din prenumeration eftersom e-postadressen inte hittades. Vänligen kontakta webbplatsens ägare.",Yearly:"Årligen","You have been successfully resubscribed":"Du har nu prenumererat igen","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Du får inte e-postmeddelanden eftersom du antingen markerade ett nyligt meddelande som skräppost, eller för att meddelanden inte kunde levereras till din angivna e-postadress.","Your account":"Ditt konto","Your input helps shape what gets published.":"Din åsikt hjälper till att forma vad som publiceras."},Zw={"{{discount}}% discount":"%{{discount}} indirim","{{trialDays}} days free":"{{trialDays}} gün ücretsiz","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Gelen kutuna bir giriş linki gönderildi. Eğer 3 dakika içinde ulaşmazsa spam klasörünü kontrol ettiğinden emin ol.",Account:"Hesap","Account settings":"Hesap ayarları","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Ücretsiz deneme süresi bittikten sonra seçtiğin kategorinin normal fiyatından ücretlendirileceksin. O zamana kadar her an iptal edebilirsin.","Already a member?":"Zaten üye misin?",Back:"Geri dön","Back to Log in":"Giriş ekranına geri dön","Cancel subscription":"Aboneliği iptal et","Cancellation reason":"İptal sebebi","Choose a different plan":"Farklı bir plan seç","Choose your newsletters":"Haber e-postanı seç",Close:"Kapat",Comments:"Yorumlar",Confirm:"Onayla",Continue:"Devam et","Delete account":"Hesabı sil","Don't have an account?":"Hesabın yok mu?",Email:"E-posta","Email preference updated.":"E-posta tercihi güncellendi.","Email preferences":"E-posta tercihleri",Emails:"E-postalar","Emails disabled":"E-postalar devre dışı","Get help":"Yardım al","Get notified when someone replies to your comment":"Birisi yorumuna cevap yazdığında bildirim al","Give feedback on this post":"Gönderiye geri bildirim ver","Less like this":"Bunun gibi daha az",Manage:"Yönet",Monthly:"Aylık","More like this":"Bunun gibi daha fazla",Name:"İsim","Not receiving emails?":"E-posta almıyor musun?","Now check your email!":"Şimdi e-posta kutunu kontrol et!",Price:"Fiyat","Re-enable emails":"E-postaları yeniden etkinleştir",Retry:"Tekrar dene",Save:"Kaydet","Sending login link...":"Giriş linki gönderiliyor...","Sending...":"Gönderiliyor...","Sign in":"Giriş yap","Sign up":"Kayıt ol","Start {{amount}}-day free trial":"{{amount}} gün ücretsiz deneme süresini başlat","Submit feedback":"Geri bildirim gönder","Successfully unsubscribed":"Abonelikten başarıyla çıkıldı","Thanks for the feedback!":"Geri bildirim için teşekkürler!","That didn't go to plan":"Bir şeyler ters gitti","This site is invite-only, contact the owner for access.":"Bu site sadece davetiyesi olanlar içindir, erişim için site sahibiyle iletişime geç.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Kaydını tamamlamak için gelen kutuna gönderilen onay linkine tıkla. Eğer 3 dakika içinde ulaşmazsa spam klasörünü kontrol et!","Unsubscribe from all emails":"Tüm e-postaların aboneliğinden çık","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"E-postaların aboneliğinden çıkmak, {{title}} sitesine olan ücretli aboneliğini iptal etmeyecek","Update your preferences":"Tercihlerini güncelle","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"E-posta adresi bulunamadığı için seni abonelikten çıkaramıyoruz. Lütfen site sahibiyle iletişime geç.",Yearly:"Yıllık","You have been successfully resubscribed":"Başarıyla yeniden abone oldun","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"E-postaları almıyorsun çünkü yakınlarda gönderilen bir mesajı spam olarak işaretledin ya da mesajlar verilen e-posta adresine teslim edilemedi.","Your account":"Hesabın","Your input helps shape what gets published.":"Yorumun yayımlanan içeriklerin şekillenmesine yardımcı olur."},e_={"{{discount}}% discount":"Знижка {{discount}}%","{{trialDays}} days free":"Безплатно {{trialDays}} дні(-в)","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Посилання для входу було надіслано на твою пошту. Якщо воно не прийде протягом 3 хвилин, перевірь папку спам.",Account:"Oбліковий запис","Account settings":"Налаштування облікового запису","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Після закінчення безплатного періоду, з тебе буде стягнена вартість за обраний тариф. Ти завжди можеш скасувати послугу до цього часу.","Already a member?":"Вже зареєстрований?",Back:"Назад","Back to Log in":"Повернутись до входу","Cancel subscription":"Скасуй підписку","Cancellation reason":"Причина скасування","Choose a different plan":"Вибари інший план","Choose your newsletters":"Вибери свої підписки",Close:"Закрий",Comments:"Коментарі",Confirm:"Підтвердь",Continue:"Далі","Delete account":"Видалити обліковий запис","Don't have an account?":"Не маєш облікового запису?",Email:"Електронна пошта","Email preference updated.":"Налаштування електронної пошти оновлені.","Email preferences":"Налаштування електронної пошти",Emails:"Електронні листи","Emails disabled":"Електронна пошта вимкнена","Get help":"Отримати допомогу","Get notified when someone replies to your comment":"Повідомляй коли хтось відповість на твій коментар","Give feedback on this post":"Дати відгук на цю публікацію","Less like this":"Менше подібних",Manage:"Управління",Monthly:"Місячно","More like this":"Більше подібних",Name:"Ім'я","Not receiving emails?":"Не приходять листи?","Now check your email!":"А тепер перевір свою пошту!",Price:"Ціна","Re-enable emails":"Знову включити пошту",Retry:"Повтори спробу",Save:"Збережи","Sending login link...":"Відправляється посилання для входу...","Sending...":"Відправляється...","Sign in":"Вхід","Sign up":"Реєстрація","Start {{amount}}-day free trial":"Почни {{amount}}-денний безплатний період","Submit feedback":"Вишли відгук","Successfully unsubscribed":"Підписку успішно скасовано","Thanks for the feedback!":"Дякуємо за відгук!","That didn't go to plan":"Щось пішло не так","This site is invite-only, contact the owner for access.":"Цей сайт доступний тільки за запрошенням, звернись до власника сайта для доступу.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Щоб завершити реєстрацію, натисни посилання в своїй електронній пошті для підтвердження. Якщо електронний лист не прийде протягом 3 хвилин, перевір папку спам!","Unsubscribe from all emails":"Відписатись від усіх листів","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Відписка від листів не скасує твою платну підписку на {{title}}","Update your preferences":"Онови свої налаштування","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Ми не можемо відписати тебе, оскільки адреса електронної пошти не знайдена. Будь ласка, зв'яжись з власником сайту.",Yearly:"Річно","You have been successfully resubscribed":"Тебе успішно підписано знову","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Не приходять листи, оскільки останній отриманий лист був тобою позначений як спам, або листи не можуть бути доставлені на твою адресу електронної пошти.","Your account":"Твій обліковий запис","Your input helps shape what gets published.":"Твій відгук допоможе вирішити що публікувати далі."},t_={"{{discount}}% discount":"{{discount}}% chegirma","{{trialDays}} days free":"{{trialDays}} kun bepul","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Kirish havolasi email pochtangizga yuborildi. Agar u 3 daqiqada kelmasa, spam bo'limini tekshiring",Account:"Hisob","Account settings":"Hisob sozlamalari","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Bepul sinov muddati tugagandan so'ng, siz tanlagan daraja uchun odatdagi narxdan undiriladi. Undan oldin istalgan vaqtda bekor qilishingiz mumkin.","Already a member?":"Allaqachon a'zomisiz?",Back:"Orqaga","Back to Log in":"Kirish sahifasiga qaytish","Cancel subscription":"Obunani bekor qilish","Cancellation reason":"Bekor qilish sababi","Choose a different plan":"Boshqa rejani tanlang","Choose your newsletters":"Pochta xabarlarini tanlang",Close:"Yopmoq",Comments:"Izohlar",Confirm:"Tasdiqlamoq",Continue:"Davom etmoq","Delete account":"Hisobni o'chirmoq","Don't have an account?":"Hisobingiz yoqmi?",Email:"Email","Email preference updated.":"Email sozlamalari yangilandi.","Email preferences":"Email sozlamalari",Emails:"Elektron xatlar","Emails disabled":"Elektron pochta xabarlari o‘chirilgan","Get help":"Yordam olmoq","Get notified when someone replies to your comment":"Kimdir sharhingizga javob bersa, bildirishnoma oling","Give feedback on this post":"Ushbu post haqida fikr bildiring","Less like this":"Bu kabi kamroq",Manage:"Boshqarmoq",Monthly:"Oylik","More like this":"Ko'proq shunga o'xshash",Name:"Ism","Not receiving emails?":"Elektron xatlar olmayapsizmi?","Now check your email!":"Endi elektron pochtangizni tekshiring!",Price:"Narx","Re-enable emails":"Elektron pochta xabarlarini qayta yoqing",Retry:"Qayta urinmoq",Save:"Saqlamoq","Sending login link...":"Kirish havolasi yuborilmoqda...","Sending...":"Yuborilmoqda...","Sign in":"Kirish","Sign up":"Ro'yxatdan o'tmoq","Start {{amount}}-day free trial":"{{amount}}-kun sinov muddatini boshlang","Submit feedback":"Izoh yuboring","Successfully unsubscribed":"Obuna muvaffaqiyatli bekor qilindi","Thanks for the feedback!":"Izoh uchun rahmat!","That didn't go to plan":"Bu rejaga mos kelmadi","This site is invite-only, contact the owner for access.":"Bu saytda faqat taklif qilinadi, kirish uchun egasiga murojaat qiling.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Ro‘yxatdan o‘tishni yakunlash uchun pochta qutingizdagi tasdiqlash havolasini bosing. Agar u 3 daqiqada kelmasa, spam jildini tekshiring!","Unsubscribe from all emails":"Barcha elektron pochta xabarlariga obunani bekor qiling","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Elektron pochtalarga obunani bekor qilish {{title}}ga pulli obunanu bekor qilmaydi","Update your preferences":"Sozlamalarni yangilash","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Email manzili topilmagani uchun obunangizni bekor qila olmadik. Iltimos, sayt egasi bilan bog'laning.",Yearly:"Yillik","You have been successfully resubscribed":"Siz muvaffaqiyatli qayta obuna bo'ldingiz","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Siz e-pochta xabarlarini olmayapsiz, chunki siz oxirgi xabarni spam deb belgilagansiz yoki xabarlar taqdim etilgan elektron pochta manzilingizga yetkazilmagan.","Your account":"Sizning hisobingiz","Your input helps shape what gets published.":""},n_={"{{discount}}% discount":"Giảm {{discount}}%","{{trialDays}} days free":"{{trialDays}} ngày miễn phí còn lại","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Liên kết đăng nhập đã được gửi đến hộp thư của bạn. Nếu trong vòng 3 phút bạn vẫn chưa thấy, hãy kiểm tra thư hộp thư rác của bạn.",Account:"Tài khoản","Account settings":"Cài đặt","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Sau khi kết thúc thời gian dùng thử miễn phí, bạn sẽ được tính giá thường cho gói dịch vụ mà bạn đã chọn. Bạn có thể hủy trước khi thời gian dùng thử kết thúc.","Already a member?":"Bạn đã là thành viên?",Back:"Quay về","Back to Log in":"Quay về đăng nhập","Cancel subscription":"Hủy thuê bao","Cancellation reason":"Lý do hủy thuê bao","Choose a different plan":"Chọn gói dịch vụ khác","Choose your newsletters":"Chọn bản tin bạn muốn nhận",Close:"Đóng",Comments:"Bình luận",Confirm:"Xác nhận",Continue:"Tiếp tục","Delete account":"Xóa tài khoản","Don't have an account?":"Bạn chưa có tài khoản?",Email:"Email","Email preference updated.":"Cập nhật email","Email preferences":"Cài đặt email",Emails:"Emails","Emails disabled":"Tắt chức năng email","Get help":"Trợ giúp","Get notified when someone replies to your comment":"Nhận thông báo khi có ai đó trả lời bình luận","Give feedback on this post":"Phản hồi bài viết này","Less like this":"Không thích lắm",Manage:"Quản lý",Monthly:"Mỗi tháng","More like this":"Thích bài viết dạng này",Name:"Tên","Not receiving emails?":"Bạn không nhận được email?","Now check your email!":"Kiểm tra email ngay bây giờ!",Price:"Giá","Re-enable emails":"Kích hoạt lại email nhận",Retry:"Thử lại",Save:"Lưu","Sending login link...":"Đang gửi liên kết đăng nhập","Sending...":"Đang gửi","Sign in":"Đăng nhập","Sign up":"Đăng ký","Start {{amount}}-day free trial":"Bắt đầu dùng thử {{amount}} ngày","Submit feedback":"Gửi phản hồi","Successfully unsubscribed":"Đã hủy đăng ký thành công","Thanks for the feedback!":"Cám ơn phản hồi của bạn!","That didn't go to plan":"Không thực hiện được","This site is invite-only, contact the owner for access.":"Trang web này chỉ dành cho những người được mời, hãy liên hệ với chủ sở hữu để có quyền truy cập.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Để hoàn tất đăng ký, hãy nhấp vào liên kết xác nhận trong hộp thư đến của bạn. Nếu nó không đến trong vòng 3 phút, hãy kiểm tra thư mục thư rác của bạn!","Unsubscribe from all emails":"Hủy theo dõi tất cả email","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Việc hủy đăng ký nhận email sẽ không hủy gói đăng ký trả phí của bạn đối với {{title}}","Update your preferences":"Cập nhật cài đặt","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Chúng tôi không thể hủy đăng ký bạn vì không tìm thấy địa chỉ email. Vui lòng liên hệ với chủ sở hữu trang web.",Yearly:"Mỗi năm","You have been successfully resubscribed":"Bạn đã đăng ký lại thành công","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Bạn không nhận được email vì bạn đã đánh dấu thư gần đây là thư rác, hoặc vì không thể gửi thư đến địa chỉ email bạn đã cung cấp.","Your account":"Tài khoản của bạn","Your input helps shape what gets published.":"Thông tin của bạn giúp định hình nội dung được xuất bản."},r_={"{{discount}}% discount":"{{discount}}% 折扣","{{trialDays}} days free":"{{trialDays}} 天免费试用","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"登录链接已经发送到您的收件箱。如果在3分钟内还没有收到,请务必检查您的垃圾邮件文件夹。",Account:"账户","Account settings":"账户设置","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"免费试用结束后,您将被收取所选套餐的标定价格。在此之前,您可以随时取消。","Already a member?":"已经是会员了?",Back:"返回","Back to Log in":"返回登录","Cancel subscription":"取消订阅","Cancellation reason":"取消原因","Choose a different plan":"选择其他订阅方案","Choose your newsletters":"选择你的刊物",Close:"关闭",Comments:"评论",Confirm:"确认",Continue:"继续","Delete account":"删除账户","Don't have an account?":"还没有账户吗?",Email:"电子邮件","Email preference updated.":"电子邮件偏好已更新。","Email preferences":"电子邮件偏好设置",Emails:"电子邮件列表","Emails disabled":"关闭电子邮件列表","Get help":"获取帮助","Get notified when someone replies to your comment":"当有人回复您的评论时,将会收到通知","Give feedback on this post":"对这篇文章提供建议","Less like this":"不喜欢",Manage:"管理",Monthly:"月付","More like this":"喜欢",Name:"名字","Not receiving emails?":"无法收到电子邮件?","Now check your email!":"现在请检查您的电子邮件!",Price:"价格","Re-enable emails":"重启电子邮件",Retry:"重试",Save:"保存","Sending login link...":"正在发送登录链接...","Sending...":"发送中...","Sign in":"登录","Sign up":"注册","Start {{amount}}-day free trial":"开始 {{amount}}-天免费试用","Submit feedback":"提交建议","Successfully unsubscribed":"成功取消订阅","Thanks for the feedback!":"感谢您的建议!","That didn't go to plan":"似乎出错了","This site is invite-only, contact the owner for access.":"此网站仅限邀请,联系所有者以获取访问","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"要完成注册,请点击您收件箱中的确认链接。如果在3分钟内没有收到,请检查一下您的垃圾邮件文件夹!","Unsubscribe from all emails":"取消所有邮件订阅","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"取消邮件订阅不会取消您对 {{title}} 的付费订阅。","Update your preferences":"更新您的偏好设置","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"我们无法取消您的订阅,因为找不到该电子邮件地址。请联系网站所有者。",Yearly:"年付","You have been successfully resubscribed":"您已成功重新订阅","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"您收不到电子邮件是因为您可能将最近的某个消息标记为垃圾邮件,或者无法将消息发送到您提供的电子邮件地址。","Your account":"你的账户","Your input helps shape what gets published.":"您的建议将使我们变得更好。"};var Tm;function Rm(){return Tm||(Tm={"/i18n/locales/af/portal.json":function(){return $w},"/i18n/locales/bg/portal.json":function(){return Tw},"/i18n/locales/ca/portal.json":function(){return Rw},"/i18n/locales/cs/portal.json":function(){return Dw},"/i18n/locales/da/portal.json":function(){return Ow},"/i18n/locales/de/portal.json":function(){return Aw},"/i18n/locales/en/portal.json":function(){return Lw},"/i18n/locales/eo/portal.json":function(){return Mw},"/i18n/locales/es/portal.json":function(){return Iw},"/i18n/locales/fr/portal.json":function(){return zw},"/i18n/locales/hu/portal.json":function(){return Fw},"/i18n/locales/id/portal.json":function(){return Bw},"/i18n/locales/it/portal.json":function(){return Uw},"/i18n/locales/mn/portal.json":function(){return Yw},"/i18n/locales/nl/portal.json":function(){return Hw},"/i18n/locales/no/portal.json":function(){return Gw},"/i18n/locales/pl/portal.json":function(){return qw},"/i18n/locales/pt/portal.json":function(){return Ww},"/i18n/locales/pt-br/portal.json":function(){return Vw},"/i18n/locales/ru/portal.json":function(){return Kw},"/i18n/locales/si/portal.json":function(){return Qw},"/i18n/locales/sl/portal.json":function(){return Jw},"/i18n/locales/sv/portal.json":function(){return Xw},"/i18n/locales/tr/portal.json":function(){return Zw},"/i18n/locales/uk/portal.json":function(){return e_},"/i18n/locales/uz/portal.json":function(){return t_},"/i18n/locales/vi/portal.json":function(){return n_},"/i18n/locales/zh/portal.json":function(){return r_}})}function i_(e){function t(n){var r=Dm(n,e);if(r!==null)return Rm()[r]();throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}return t.resolve=function(n){var r=Dm(n,e);return r!==null?r:require.resolve(n)},t}function Dm(e,t){var n=o_(e);e=za(e);var r;e[0]==="/"&&(t="");for(var i=Rm(),o=["",".js",".json"];n?r=za(t+"/node_modules/"+e):r=za(t+"/"+e),!r.endsWith("/..");){for(var a=0;a<o.length;a++){var s=r+o[a];if(i[s])return s}if(!n)break;var l=za(t+"/..");if(l===t)break;t=l}return null}function o_(e){var t=e[0];if(t==="/"||t==="\\")return!1;var n=e[1],r=e[2];return!(t==="."&&(!n||n==="/"||n==="\\")||t==="."&&n==="."&&(!r||r==="/"||r==="\\")||n===":"&&(r==="/"||r==="\\"))}function za(e){e=e.replace(/\\/g,"/");for(var t=e.split("/"),n=t[0]==="",r=1;r<t.length;r++)(t[r]==="."||t[r]==="")&&t.splice(r--,1);for(var r=1;r<t.length;r++)t[r]===".."&&r>0&&t[r-1]!==".."&&t[r-1]!=="."&&(t.splice(--r,2),r--);return e=t.join("/"),n&&e[0]!=="/"?e="/"+e:e.length===0&&(e="."),e}var Xc={exports:{}},Om={exports:{}};(function(e){function t(n){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Om);var Fa=Om.exports,Am={exports:{}};(function(e){function t(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Am);var a_=Am.exports,Lm={exports:{}},Mm={exports:{}},Im={exports:{}};(function(e){var t=Fa.default;function n(r,i){if(t(r)!=="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var a=o.call(r,i||"default");if(t(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Im);var s_=Im.exports;(function(e){var t=Fa.default,n=s_;function r(i){var o=n(i,"string");return t(o)==="symbol"?o:String(o)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Mm);var zm=Mm.exports;(function(e){var t=zm;function n(i,o){for(var a=0;a<o.length;a++){var s=o[a];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,t(s.key),s)}}function r(i,o,a){return o&&n(i.prototype,o),a&&n(i,a),Object.defineProperty(i,"prototype",{writable:!1}),i}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Lm);var l_=Lm.exports,Fm={exports:{}};(function(e){function t(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Fm);var Bm=Fm.exports,Um={exports:{}},Ym={exports:{}};(function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,a){return o.__proto__=a,o},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Ym);var c_=Ym.exports;(function(e){var t=c_;function n(r,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(i&&i.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),i&&t(r,i)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Um);var u_=Um.exports,Hm={exports:{}};(function(e){var t=Fa.default,n=Bm;function r(i,o){if(o&&(t(o)==="object"||typeof o=="function"))return o;if(o!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n(i)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Hm);var d_=Hm.exports,Gm={exports:{}};(function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Gm);var p_=Gm.exports,qm={exports:{}};(function(e){var t=zm;function n(r,i,o){return i=t(i),i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(qm);var f_=qm.exports,Wm={exports:{}},Vm={exports:{}};(function(e){function t(n){if(Array.isArray(n))return n}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Vm);var h_=Vm.exports,Km={exports:{}};(function(e){function t(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Km);var m_=Km.exports,Qm={exports:{}},Jm={exports:{}};(function(e){function t(n,r){(r==null||r>n.length)&&(r=n.length);for(var i=0,o=new Array(r);i<r;i++)o[i]=n[i];return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Jm);var g_=Jm.exports;(function(e){var t=g_;function n(r,i){if(r){if(typeof r=="string")return t(r,i);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return t(r,i)}}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Qm);var y_=Qm.exports,Xm={exports:{}};(function(e){function t(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3160
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Xm);var v_=Xm.exports;(function(e){var t=h_,n=m_,r=y_,i=v_;function o(a){return t(a)||n(a)||r(a)||i()}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports})(Wm);var b_=Wm.exports,x_=Fa,k_=a_,w_=l_,__=Bm,S_=u_,E_=d_,C_=p_,j_=f_,P_=b_;function _t(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var Li=_t(x_),at=_t(k_),st=_t(w_),En=_t(__),Ba=_t(S_),Mi=_t(E_),Zt=_t(C_),en=_t(j_),N_=_t(P_);function Zm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function eg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Zm(Object(n),!0).forEach(function(r){en.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zm(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var $_={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,n){console&&console[t]&&console[t].apply(console,n)}},T_=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};at.default(this,e),this.init(t,n)}return st.default(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||$_,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"log","",!0)}},{key:"warn",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","",!0)}},{key:"error",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"error","")}},{key:"deprecate",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(n,r,i,o){return o&&!this.debug?null:(typeof n[0]=="string"&&(n[0]="".concat(i).concat(this.prefix," ").concat(n[0])),this.logger[r](n))}},{key:"create",value:function(n){return new e(this.logger,eg(eg({},{prefix:"".concat(this.prefix,":").concat(n,":")}),this.options))}},{key:"clone",value:function(n){return n=n||this.options,n.prefix=n.prefix||this.prefix,new e(this.logger,n)}}]),e}(),lt=new T_,tn=function(){function e(){at.default(this,e),this.observers={}}return st.default(e,[{key:"on",value:function(n,r){var i=this;return n.split(" ").forEach(function(o){i.observers[o]=i.observers[o]||[],i.observers[o].push(r)}),this}},{key:"off",value:function(n,r){if(this.observers[n]){if(!r){delete this.observers[n];return}this.observers[n]=this.observers[n].filter(function(i){return i!==r})}}},{key:"emit",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(this.observers[n]){var a=[].concat(this.observers[n]);a.forEach(function(l){l.apply(void 0,i)})}if(this.observers["*"]){var s=[].concat(this.observers["*"]);s.forEach(function(l){l.apply(l,[n].concat(i))})}}}]),e}();function Ii(){var e,t,n=new Promise(function(r,i){e=r,t=i});return n.resolve=e,n.reject=t,n}function tg(e){return e==null?"":""+e}function R_(e,t,n){e.forEach(function(r){t[r]&&(n[r]=t[r])})}function Zc(e,t,n){function r(s){return s&&s.indexOf("###")>-1?s.replace(/###/g,"."):s}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={}}return i()?{}:{obj:e,k:r(o.shift())}}function ng(e,t,n){var r=Zc(e,t,Object),i=r.obj,o=r.k;i[o]=n}function D_(e,t,n,r){var i=Zc(e,t,Object),o=i.obj,a=i.k;o[a]=o[a]||[],r&&(o[a]=o[a].concat(n)),r||o[a].push(n)}function Ua(e,t){var n=Zc(e,t),r=n.obj,i=n.k;if(r)return r[i]}function O_(e,t,n){var r=Ua(e,n);return r!==void 0?r:Ua(t,n)}function rg(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):rg(e[r],t[r],n):e[r]=t[r]);return e}function _r(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var A_={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function L_(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return A_[t]}):e}var Ya=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,M_=[" ",",","?","!",";"];function I_(e,t,n){t=t||"",n=n||"";var r=M_.filter(function(s){return t.indexOf(s)<0&&n.indexOf(s)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),o=!i.test(e);if(!o){var a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}function Ha(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;o<r.length;++o){if(!i||typeof i[r[o]]=="string"&&o+1<r.length)return;if(i[r[o]]===void 0){for(var a=2,s=r.slice(o,o+a).join(n),l=i[s];l===void 0&&r.length>o+a;)a++,s=r.slice(o,o+a).join(n),l=i[s];if(l===void 0)return;if(l===null)return null;if(t.endsWith(s)){if(typeof l=="string")return l;if(s&&typeof l[s]=="string")return l[s]}var u=r.slice(o+a).join(n);return u?Ha(l,u,n):void 0}i=i[r[o]]}return i}}function ig(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ga(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ig(Object(n),!0).forEach(function(r){en.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ig(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function z_(e){var t=F_();return function(){var r=Zt.default(e),i;if(t){var o=Zt.default(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Mi.default(this,i)}}function F_(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var B_=function(e){Ba.default(n,e);var t=z_(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return at.default(this,n),i=t.call(this),Ya&&tn.call(En.default(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return st.default(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,p=[i,o];a&&typeof a!="string"&&(p=p.concat(a)),a&&typeof a=="string"&&(p=p.concat(l?a.split(l):a)),i.indexOf(".")>-1&&(p=i.split("."));var d=Ua(this.data,p);return d||!u||typeof a!="string"?d:Ha(this.data&&this.data[i]&&this.data[i][o],a,l)}},{key:"addResource",value:function(i,o,a,s){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var p=[i,o];a&&(p=p.concat(u?a.split(u):a)),i.indexOf(".")>-1&&(p=i.split("."),s=o,o=p[1]),this.addNamespaces(o),ng(this.data,p,s),l.silent||this.emit("added",i,o,a,s)}},{key:"addResources",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var l in a)(typeof a[l]=="string"||Object.prototype.toString.apply(a[l])==="[object Array]")&&this.addResource(i,o,l,a[l],{silent:!0});s.silent||this.emit("added",i,o,a)}},{key:"addResourceBundle",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},p=[i,o];i.indexOf(".")>-1&&(p=i.split("."),s=a,a=o,o=p[1]),this.addNamespaces(o);var d=Ua(this.data,p)||{};s?rg(d,a,l):d=Ga(Ga({},d),a),ng(this.data,p,d),u.silent||this.emit("added",i,o,a)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?Ga(Ga({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),a=o&&Object.keys(o)||[];return!!a.find(function(s){return o[s]&&Object.keys(o[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(tn),og={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,i,o){var a=this;return t.forEach(function(s){a.processors[s]&&(n=a.processors[s].process(n,r,i,o))}),n}};function ag(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function _e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ag(Object(n),!0).forEach(function(r){en.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ag(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function U_(e){var t=Y_();return function(){var r=Zt.default(e),i;if(t){var o=Zt.default(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Mi.default(this,i)}}function Y_(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var sg={},lg=function(e){Ba.default(n,e);var t=U_(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return at.default(this,n),i=t.call(this),Ya&&tn.call(En.default(i)),R_(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,En.default(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=lt.create("translator"),i}return st.default(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var a=this.resolve(i,o);return a&&a.res!==void 0}},{key:"extractFromKey",value:function(i,o){var a=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");var s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,l=o.ns||this.options.defaultNS||[],u=a&&i.indexOf(a)>-1,p=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!I_(i,a,s);if(u&&!p){var d=i.match(this.interpolator.nestingRegexp);if(d&&d.length>0)return{key:i,namespaces:l};var f=i.split(a);(a!==s||a===s&&this.options.ns.indexOf(f[0])>-1)&&(l=f.shift()),i=f.join(s)}return typeof l=="string"&&(l=[l]),{key:i,namespaces:l}}},{key:"translate",value:function(i,o,a){var s=this;if(Li.default(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var l=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,p=this.extractFromKey(i[i.length-1],o),d=p.key,f=p.namespaces,y=f[f.length-1],v=o.lng||this.language,w=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(v&&v.toLowerCase()==="cimode"){if(w){var g=o.nsSeparator||this.options.nsSeparator;return l?{res:"".concat(y).concat(g).concat(d),usedKey:d,exactUsedKey:d,usedLng:v,usedNS:y}:"".concat(y).concat(g).concat(d)}return l?{res:d,usedKey:d,exactUsedKey:d,usedLng:v,usedNS:y}:d}var h=this.resolve(i,o),m=h&&h.res,b=h&&h.usedKey||d,k=h&&h.exactUsedKey||d,E=Object.prototype.toString.apply(m),_=["[object Number]","[object Function]","[object RegExp]"],N=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,T=!this.i18nFormat||this.i18nFormat.handleAsObject,j=typeof m!="string"&&typeof m!="boolean"&&typeof m!="number";if(T&&m&&j&&_.indexOf(E)<0&&!(typeof N=="string"&&E==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var z=this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,m,_e(_e({},o),{},{ns:f})):"key '".concat(d," (").concat(this.language,")' returned an object instead of string.");return l?(h.res=z,h):z}if(u){var Be=E==="[object Array]",Z=Be?[]:{},te=Be?k:b;for(var Je in m)if(Object.prototype.hasOwnProperty.call(m,Je)){var ut="".concat(te).concat(u).concat(Je);Z[Je]=this.translate(ut,_e(_e({},o),{joinArrays:!1,ns:f})),Z[Je]===ut&&(Z[Je]=m[Je])}m=Z}}else if(T&&typeof N=="string"&&E==="[object Array]")m=m.join(N),m&&(m=this.extendTranslation(m,i,o,a));else{var dt=!1,Et=!1,Er=o.count!==void 0&&typeof o.count!="string",Cn=n.hasDefaultValue(o),nu=Er?this.pluralResolver.getSuffix(v,o.count,o):"",C=o["defaultValue".concat(nu)]||o.defaultValue;!this.isValidLookup(m)&&Cn&&(dt=!0,m=C),this.isValidLookup(m)||(Et=!0,m=d);var R=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,A=R&&Et?void 0:m,F=Cn&&C!==m&&this.options.updateMissing;if(Et||dt||F){if(this.logger.log(F?"updateKey":"missingKey",v,y,d,F?C:m),u){var ne=this.resolve(d,_e(_e({},o),{},{keySeparator:!1}));ne&&ne.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var Te=[],Ue=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Ue&&Ue[0])for(var Ct=0;Ct<Ue.length;Ct++)Te.push(Ue[Ct]);else this.options.saveMissingTo==="all"?Te=this.languageUtils.toResolveHierarchy(o.lng||this.language):Te.push(o.lng||this.language);var jt=function(Cr,iu,Sg){var Eg=Cn&&Sg!==m?Sg:A;s.options.missingKeyHandler?s.options.missingKeyHandler(Cr,y,iu,Eg,F,o):s.backendConnector&&s.backendConnector.saveMissing&&s.backendConnector.saveMissing(Cr,y,iu,Eg,F,o),s.emit("missingKey",Cr,y,iu,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Er?Te.forEach(function(ru){s.pluralResolver.getSuffixes(ru,o).forEach(function(Cr){jt([ru],d+Cr,o["defaultValue".concat(Cr)]||C)})}):jt(Te,d,C))}m=this.extendTranslation(m,i,o,h,a),Et&&m===d&&this.options.appendNamespaceToMissingKey&&(m="".concat(y,":").concat(d)),(Et||dt)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(y,":").concat(d):d,dt?m:void 0):m=this.options.parseMissingKeyHandler(m))}return l?(h.res=m,h):m}},{key:"extendTranslation",value:function(i,o,a,s,l){var u=this;if(this.i18nFormat&&this.i18nFormat.parse)i=this.i18nFormat.parse(i,_e(_e({},this.options.interpolation.defaultVariables),a),s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!a.skipInterpolation){a.interpolation&&this.interpolator.init(_e(_e({},a),{interpolation:_e(_e({},this.options.interpolation),a.interpolation)}));var p=typeof i=="string"&&(a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),d;if(p){var f=i.match(this.interpolator.nestingRegexp);d=f&&f.length}var y=a.replace&&typeof a.replace!="string"?a.replace:a;if(this.options.interpolation.defaultVariables&&(y=_e(_e({},this.options.interpolation.defaultVariables),y)),i=this.interpolator.interpolate(i,y,a.lng||this.language,a),p){var v=i.match(this.interpolator.nestingRegexp),w=v&&v.length;d<w&&(a.nest=!1)}!a.lng&&this.options.compatibilityAPI!=="v1"&&s&&s.res&&(a.lng=s.usedLng),a.nest!==!1&&(i=this.interpolator.nest(i,function(){for(var m=arguments.length,b=new Array(m),k=0;k<m;k++)b[k]=arguments[k];return l&&l[0]===b[0]&&!a.context?(u.logger.warn("It seems you are nesting recursively key: ".concat(b[0]," in key: ").concat(o[0])),null):u.translate.apply(u,b.concat([o]))},a)),a.interpolation&&this.interpolator.reset()}var g=a.postProcess||this.options.postProcess,h=typeof g=="string"?[g]:g;return i!=null&&h&&h.length&&a.applyPostProcessor!==!1&&(i=og.handle(h,i,o,this.options&&this.options.postProcessPassResolved?_e({i18nResolved:s},a):a,this)),i}},{key:"resolve",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,l,u,p,d;return typeof i=="string"&&(i=[i]),i.forEach(function(f){if(!o.isValidLookup(s)){var y=o.extractFromKey(f,a),v=y.key;l=v;var w=y.namespaces;o.options.fallbackNS&&(w=w.concat(o.options.fallbackNS));var g=a.count!==void 0&&typeof a.count!="string",h=g&&!a.ordinal&&a.count===0&&o.pluralResolver.shouldUseIntlApi(),m=a.context!==void 0&&(typeof a.context=="string"||typeof a.context=="number")&&a.context!=="",b=a.lngs?a.lngs:o.languageUtils.toResolveHierarchy(a.lng||o.language,a.fallbackLng);w.forEach(function(k){o.isValidLookup(s)||(d=k,!sg["".concat(b[0],"-").concat(k)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(d)&&(sg["".concat(b[0],"-").concat(k)]=!0,o.logger.warn('key "'.concat(l,'" for languages "').concat(b.join(", "),`" won't get resolved as namespace "`).concat(d,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(function(E){if(!o.isValidLookup(s)){p=E;var _=[v];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(_,v,E,k,a);else{var N;g&&(N=o.pluralResolver.getSuffix(E,a.count,a));var T="".concat(o.options.pluralSeparator,"zero");if(g&&(_.push(v+N),h&&_.push(v+T)),m){var j="".concat(v).concat(o.options.contextSeparator).concat(a.context);_.push(j),g&&(_.push(j+N),h&&_.push(j+T))}}for(var z;z=_.pop();)o.isValidLookup(s)||(u=z,s=o.getResource(E,k,z,a))}}))})}}),{res:s,usedKey:l,exactUsedKey:u,usedLng:p,usedNS:d}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,a,s):this.resourceStore.getResource(i,o,a,s)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)&&o===a.substring(0,o.length)&&i[a]!==void 0)return!0;return!1}}]),n}(tn);function eu(e){return e.charAt(0).toUpperCase()+e.slice(1)}var cg=function(){function e(t){at.default(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=lt.create("languageUtils")}return st.default(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=eu(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=eu(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=eu(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var a=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(a))&&(i=a)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var a=r.getLanguagePartFromCode(o);if(r.isSupportedCode(a))return i=a;i=r.options.supportedLngs.find(function(s){if(s===a)return s;if(!(s.indexOf("-")<0&&a.indexOf("-")<0)&&s.indexOf(a)===0)return s})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),a=[],s=function(u){u&&(i.isSupportedCode(u)?a.push(u):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(n))):typeof n=="string"&&s(this.formatLanguageCode(n)),o.forEach(function(l){a.indexOf(l)<0&&s(i.formatLanguageCode(l))}),a}}]),e}(),H_=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],G_={1:function(t){return+(t>1)},2:function(t){return+(t!=1)},3:function(t){return 0},4:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},5:function(t){return t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},6:function(t){return t==1?0:t>=2&&t<=4?1:2},7:function(t){return t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},8:function(t){return t==1?0:t==2?1:t!=8&&t!=11?2:3},9:function(t){return+(t>=2)},10:function(t){return t==1?0:t==2?1:t<7?2:t<11?3:4},11:function(t){return t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3},12:function(t){return+(t%10!=1||t%100==11)},13:function(t){return+(t!==0)},14:function(t){return t==1?0:t==2?1:t==3?2:3},15:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2},16:function(t){return t%10==1&&t%100!=11?0:t!==0?1:2},17:function(t){return t==1||t%10==1&&t%100!=11?0:1},18:function(t){return t==0?0:t==1?1:2},19:function(t){return t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3},20:function(t){return t==1?0:t==0||t%100>0&&t%100<20?1:2},21:function(t){return t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0},22:function(t){return t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3}},q_=["v1","v2","v3"],ug={zero:0,one:1,two:2,few:3,many:4,other:5};function W_(){var e={};return H_.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:G_[t.fc]}})}),e}var V_=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};at.default(this,e),this.languageUtils=t,this.options=n,this.logger=lt.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=W_()}return st.default(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(a,s){return ug[a]-ug[s]}).map(function(a){return"".concat(r.options.prepend).concat(a)}):o.numbers.map(function(a){return r.getSuffix(n,a,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),a=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return i.options.prepend&&a.toString()?i.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!q_.includes(this.options.compatibilityJSON)}}]),e}();function dg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Qe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dg(Object(n),!0).forEach(function(r){en.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function pg(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=O_(e,t,n);return!o&&i&&typeof n=="string"&&(o=Ha(e,n,r),o===void 0&&(o=Ha(t,n,r))),o}var K_=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};at.default(this,e),this.logger=lt.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return st.default(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:L_,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?_r(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?_r(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?_r(r.nestingPrefix):r.nestingPrefixEscaped||_r("$t("),this.nestingSuffix=r.nestingSuffix?_r(r.nestingSuffix):r.nestingSuffixEscaped||_r(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var a=this,s,l,u,p=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d(g){return g.replace(/\$/g,"$$$$")}var f=function(h){if(h.indexOf(a.formatSeparator)<0){var m=pg(r,p,h,a.options.keySeparator,a.options.ignoreJSONStructure);return a.alwaysFormat?a.format(m,void 0,i,Qe(Qe(Qe({},o),r),{},{interpolationkey:h})):m}var b=h.split(a.formatSeparator),k=b.shift().trim(),E=b.join(a.formatSeparator).trim();return a.format(pg(r,p,k,a.options.keySeparator,a.options.ignoreJSONStructure),E,i,Qe(Qe(Qe({},o),r),{},{interpolationkey:k}))};this.resetRegExp();var y=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,v=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,w=[{regex:this.regexpUnescape,safeValue:function(h){return d(h)}},{regex:this.regexp,safeValue:function(h){return a.escapeValue?d(a.escape(h)):d(h)}}];return w.forEach(function(g){for(u=0;s=g.regex.exec(n);){var h=s[1].trim();if(l=f(h),l===void 0)if(typeof y=="function"){var m=y(n,s,o);l=typeof m=="string"?m:""}else if(o&&Object.prototype.hasOwnProperty.call(o,h))l="";else if(v){l=s[0];continue}else a.logger.warn("missed to pass in variable ".concat(h," for interpolating ").concat(n)),l="";else typeof l!="string"&&!a.useRawValueToEscape&&(l=tg(l));var b=g.safeValue(l);if(n=n.replace(s[0],b),v?(g.regex.lastIndex+=l.length,g.regex.lastIndex-=s[0].length):g.regex.lastIndex=0,u++,u>=a.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,l;function u(y,v){var w=this.nestingOptionsSeparator;if(y.indexOf(w)<0)return y;var g=y.split(new RegExp("".concat(w,"[ ]*{"))),h="{".concat(g[1]);y=g[0],h=this.interpolate(h,l);var m=h.match(/'/g),b=h.match(/"/g);(m&&m.length%2===0&&!b||b.length%2!==0)&&(h=h.replace(/'/g,'"'));try{l=JSON.parse(h),v&&(l=Qe(Qe({},v),l))}catch(k){return this.logger.warn("failed parsing options string in nesting for key ".concat(y),k),"".concat(y).concat(w).concat(h)}return delete l.defaultValue,y}for(;a=this.nestingRegexp.exec(n);){var p=[];l=Qe({},o),l=l.replace&&typeof l.replace!="string"?l.replace:l,l.applyPostProcessor=!1,delete l.defaultValue;var d=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){var f=a[1].split(this.formatSeparator).map(function(y){return y.trim()});a[1]=f.shift(),p=f,d=!0}if(s=r(u.call(this,a[1].trim(),l),l),s&&a[0]===n&&typeof s!="string")return s;typeof s!="string"&&(s=tg(s)),s||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(n)),s=""),d&&(s=p.reduce(function(y,v){return i.format(y,v,o.lng,Qe(Qe({},o),{},{interpolationkey:a[1].trim()}))},s.trim())),n=n.replace(a[0],s),this.regexp.lastIndex=0}return n}}]),e}();function fg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function St(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fg(Object(n),!0).forEach(function(r){en.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Q_(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(t==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(t==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(a){if(a){var s=a.split(":"),l=N_.default(s),u=l[0],p=l.slice(1),d=p.join(":").trim().replace(/^'+|'+$/g,"");n[u.trim()]||(n[u.trim()]=d),d==="false"&&(n[u.trim()]=!1),d==="true"&&(n[u.trim()]=!0),isNaN(d)||(n[u.trim()]=parseInt(d,10))}})}}return{formatName:t,formatOptions:n}}function Sr(e){var t={};return function(r,i,o){var a=i+JSON.stringify(o),s=t[a];return s||(s=e(i,o),t[a]=s),s(r)}}var J_=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};at.default(this,e),this.logger=lt.create("formatter"),this.options=t,this.formats={number:Sr(function(n,r){var i=new Intl.NumberFormat(n,St({},r));return function(o){return i.format(o)}}),currency:Sr(function(n,r){var i=new Intl.NumberFormat(n,St(St({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:Sr(function(n,r){var i=new Intl.DateTimeFormat(n,St({},r));return function(o){return i.format(o)}}),relativetime:Sr(function(n,r){var i=new Intl.RelativeTimeFormat(n,St({},r));return function(o){return i.format(o,r.range||"day")}}),list:Sr(function(n,r){var i=new Intl.ListFormat(n,St({},r));return function(o){return i.format(o)}})},this.init(t)}return st.default(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=Sr(r)}},{key:"format",value:function(n,r,i){var o=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=r.split(this.formatSeparator),l=s.reduce(function(u,p){var d=Q_(p),f=d.formatName,y=d.formatOptions;if(o.formats[f]){var v=u;try{var w=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},g=w.locale||w.lng||a.locale||a.lng||i;v=o.formats[f](u,g,St(St(St({},y),a),w))}catch(h){o.logger.warn(h)}return v}else o.logger.warn("there was no format function for ".concat(f));return u},n);return l}}]),e}();function hg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function mg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?hg(Object(n),!0).forEach(function(r){en.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function X_(e){var t=Z_();return function(){var r=Zt.default(e),i;if(t){var o=Zt.default(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Mi.default(this,i)}}function Z_(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function eS(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var tS=function(e){Ba.default(n,e);var t=X_(n);function n(r,i,o){var a,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return at.default(this,n),a=t.call(this),Ya&&tn.call(En.default(a)),a.backend=r,a.store=i,a.services=o,a.languageUtils=o.languageUtils,a.options=s,a.logger=lt.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=s.maxParallelReads||10,a.readingCalls=0,a.maxRetries=s.maxRetries>=0?s.maxRetries:5,a.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(o,s.backend,s),a}return st.default(n,[{key:"queueLoad",value:function(i,o,a,s){var l=this,u={},p={},d={},f={};return i.forEach(function(y){var v=!0;o.forEach(function(w){var g="".concat(y,"|").concat(w);!a.reload&&l.store.hasResourceBundle(y,w)?l.state[g]=2:l.state[g]<0||(l.state[g]===1?p[g]===void 0&&(p[g]=!0):(l.state[g]=1,v=!1,p[g]===void 0&&(p[g]=!0),u[g]===void 0&&(u[g]=!0),f[w]===void 0&&(f[w]=!0)))}),v||(d[y]=!0)}),(Object.keys(u).length||Object.keys(p).length)&&this.queue.push({pending:p,pendingCount:Object.keys(p).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(u),pending:Object.keys(p),toLoadLanguages:Object.keys(d),toLoadNamespaces:Object.keys(f)}}},{key:"loaded",value:function(i,o,a){var s=i.split("|"),l=s[0],u=s[1];o&&this.emit("failedLoading",l,u,o),a&&this.store.addResourceBundle(l,u,a),this.state[i]=o?-1:2;var p={};this.queue.forEach(function(d){D_(d.loaded,[l],u),eS(d,i),o&&d.errors.push(o),d.pendingCount===0&&!d.done&&(Object.keys(d.loaded).forEach(function(f){p[f]||(p[f]={});var y=d.loaded[f];y.length&&y.forEach(function(v){p[f][v]===void 0&&(p[f][v]=!0)})}),d.done=!0,d.errors.length?d.callback(d.errors):d.callback())}),this.emit("loaded",p),this.queue=this.queue.filter(function(d){return!d.done})}},{key:"read",value:function(i,o,a){var s=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,p=arguments.length>5?arguments[5]:void 0;if(!i.length)return p(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:a,tried:l,wait:u,callback:p});return}this.readingCalls++;var d=function(w,g){if(s.readingCalls--,s.waitingReads.length>0){var h=s.waitingReads.shift();s.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(w&&g&&l<s.maxRetries){setTimeout(function(){s.read.call(s,i,o,a,l+1,u*2,p)},u);return}p(w,g)},f=this.backend[a].bind(this.backend);if(f.length===2){try{var y=f(i,o);y&&typeof y.then=="function"?y.then(function(v){return d(null,v)}).catch(d):d(null,y)}catch(v){d(v)}return}return f(i,o,d)}},{key:"prepareLoading",value:function(i,o){var a=this,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),l&&l();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var u=this.queueLoad(i,o,s,l);if(!u.toLoad.length)return u.pending.length||l(),null;u.toLoad.forEach(function(p){a.loadOne(p)})}},{key:"load",value:function(i,o,a){this.prepareLoading(i,o,{},a)}},{key:"reload",value:function(i,o,a){this.prepareLoading(i,o,{reload:!0},a)}},{key:"loadOne",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=i.split("|"),l=s[0],u=s[1];this.read(l,u,"read",void 0,void 0,function(p,d){p&&o.logger.warn("".concat(a,"loading namespace ").concat(u," for language ").concat(l," failed"),p),!p&&d&&o.logger.log("".concat(a,"loaded namespace ").concat(u," for language ").concat(l),d),o.loaded(i,p,d)})}},{key:"saveMissing",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},p=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(a,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){var d=mg(mg({},u),{},{isUpdate:l}),f=this.backend.create.bind(this.backend);if(f.length<6)try{var y;f.length===5?y=f(i,o,a,s,d):y=f(i,o,a,s),y&&typeof y.then=="function"?y.then(function(v){return p(null,v)}).catch(p):p(null,y)}catch(v){p(v)}else f(i,o,a,s,p,d)}!i||!i[0]||this.store.addResource(i[0],o,a,s)}}}]),n}(tn);function gg(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(Li.default(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),Li.default(t[2])==="object"||Li.default(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,i){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function yg(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function vg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ct(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vg(Object(n),!0).forEach(function(r){en.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function nS(e){var t=rS();return function(){var r=Zt.default(e),i;if(t){var o=Zt.default(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Mi.default(this,i)}}function rS(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function qa(){}function iS(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var Wa=function(e){Ba.default(n,e);var t=nS(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(at.default(this,n),r=t.call(this),Ya&&tn.call(En.default(r)),r.options=yg(i),r.services={},r.logger=lt,r.modules={external:[]},iS(En.default(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),Mi.default(r,En.default(r));setTimeout(function(){r.init(i,o)},0)}return r}return st.default(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(a=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var s=gg();this.options=ct(ct(ct({},s),this.options),yg(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=ct(ct({},s.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function l(h){return h?typeof h=="function"?new h:h:null}if(!this.options.isClone){this.modules.logger?lt.init(l(this.modules.logger),this.options):lt.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=J_);var p=new cg(this.options);this.store=new B_(this.options.resources,this.options);var d=this.services;d.logger=lt,d.resourceStore=this.store,d.languageUtils=p,d.pluralResolver=new V_(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(d.formatter=l(u),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new K_(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new tS(l(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(h){for(var m=arguments.length,b=new Array(m>1?m-1:0),k=1;k<m;k++)b[k-1]=arguments[k];i.emit.apply(i,[h].concat(b))}),this.modules.languageDetector&&(d.languageDetector=l(this.modules.languageDetector),d.languageDetector.init&&d.languageDetector.init(d,this.options.detection,this.options)),this.modules.i18nFormat&&(d.i18nFormat=l(this.modules.i18nFormat),d.i18nFormat.init&&d.i18nFormat.init(this)),this.translator=new lg(this.services,this.options),this.translator.on("*",function(h){for(var m=arguments.length,b=new Array(m>1?m-1:0),k=1;k<m;k++)b[k-1]=arguments[k];i.emit.apply(i,[h].concat(b))}),this.modules.external.forEach(function(h){h.init&&h.init(i)})}if(this.format=this.options.interpolation.format,a||(a=qa),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.length>0&&f[0]!=="dev"&&(this.options.lng=f[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var y=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];y.forEach(function(h){i[h]=function(){var m;return(m=i.store)[h].apply(m,arguments)}});var v=["addResource","addResources","addResourceBundle","removeResourceBundle"];v.forEach(function(h){i[h]=function(){var m;return(m=i.store)[h].apply(m,arguments),i}});var w=Ii(),g=function(){var m=function(k,E){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),w.resolve(E),a(k,E)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return m(null,i.t.bind(i));i.changeLanguage(i.options.lng,m)};return this.options.resources||!this.options.initImmediate?g():setTimeout(g,0),w}},{key:"loadResources",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qa,s=a,l=typeof i=="string"?i:this.language;if(typeof i=="function"&&(s=i),!this.options.resources||this.options.partialBundledLanguages){if(l&&l.toLowerCase()==="cimode")return s();var u=[],p=function(y){if(y){var v=o.services.languageUtils.toResolveHierarchy(y);v.forEach(function(w){u.indexOf(w)<0&&u.push(w)})}};if(l)p(l);else{var d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.forEach(function(f){return p(f)})}this.options.preload&&this.options.preload.forEach(function(f){return p(f)}),this.services.backendConnector.load(u,this.options.ns,function(f){!f&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),s(f)})}else s(null)}},{key:"reloadResources",value:function(i,o,a){var s=Ii();return i||(i=this.languages),o||(o=this.options.ns),a||(a=qa),this.services.backendConnector.reload(i,o,function(l){s.resolve(),a(l)}),s}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&og.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o<this.languages.length;o++){var a=this.languages[o];if(!(["cimode","dev"].indexOf(a)>-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}},{key:"changeLanguage",value:function(i,o){var a=this;this.isLanguageChangingTo=i;var s=Ii();this.emit("languageChanging",i);var l=function(f){a.language=f,a.languages=a.services.languageUtils.toResolveHierarchy(f),a.resolvedLanguage=void 0,a.setResolvedLanguage(f)},u=function(f,y){y?(l(y),a.translator.changeLanguage(y),a.isLanguageChangingTo=void 0,a.emit("languageChanged",y),a.logger.log("languageChanged",y)):a.isLanguageChangingTo=void 0,s.resolve(function(){return a.t.apply(a,arguments)}),o&&o(f,function(){return a.t.apply(a,arguments)})},p=function(f){!i&&!f&&a.services.languageDetector&&(f=[]);var y=typeof f=="string"?f:a.services.languageUtils.getBestMatchFromCodes(f);y&&(a.language||l(y),a.translator.language||a.translator.changeLanguage(y),a.services.languageDetector&&a.services.languageDetector.cacheUserLanguage&&a.services.languageDetector.cacheUserLanguage(y)),a.loadResources(y,function(v){u(v,y)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?p(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(p):this.services.languageDetector.detect(p):p(i),s}},{key:"getFixedT",value:function(i,o,a){var s=this,l=function u(p,d){var f;if(Li.default(d)!=="object"){for(var y=arguments.length,v=new Array(y>2?y-2:0),w=2;w<y;w++)v[w-2]=arguments[w];f=s.options.overloadTranslationOptionHandler([p,d].concat(v))}else f=ct({},d);f.lng=f.lng||u.lng,f.lngs=f.lngs||u.lngs,f.ns=f.ns||u.ns,f.keyPrefix=f.keyPrefix||a||u.keyPrefix;var g=s.options.keySeparator||".",h;return f.keyPrefix&&Array.isArray(p)?h=p.map(function(m){return"".concat(f.keyPrefix).concat(g).concat(m)}):h=f.keyPrefix?"".concat(f.keyPrefix).concat(g).concat(p):p,s.t(h,f)};return typeof i=="string"?l.lng=i:l.lngs=i,l.ns=o,l.keyPrefix=a,l}},{key:"t",value:function(){var i;return this.translator&&(i=this.translator).translate.apply(i,arguments)}},{key:"exists",value:function(){var i;return this.translator&&(i=this.translator).exists.apply(i,arguments)}},{key:"setDefaultNamespace",value:function(i){this.options.defaultNS=i}},{key:"hasLoadedNamespace",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],l=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var p=function(y,v){var w=o.services.backendConnector.state["".concat(y,"|").concat(v)];return w===-1||w===2};if(a.precheck){var d=a.precheck(this,p);if(d!==void 0)return d}return!!(this.hasResourceBundle(s,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||p(s,i)&&(!l||p(u,i)))}},{key:"loadNamespaces",value:function(i,o){var a=this,s=Ii();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(l){a.options.ns.indexOf(l)<0&&a.options.ns.push(l)}),this.loadResources(function(l){s.resolve(),o&&o(l)}),s):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var a=Ii();typeof i=="string"&&(i=[i]);var s=this.options.preload||[],l=i.filter(function(u){return s.indexOf(u)<0});return l.length?(this.options.preload=s.concat(l),this.loadResources(function(u){a.resolve(),o&&o(u)}),a):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new cg(gg());return o.indexOf(a.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qa,s=ct(ct(ct({},this.options),o),{isClone:!0}),l=new n(s);(o.debug!==void 0||o.prefix!==void 0)&&(l.logger=l.logger.clone(o));var u=["store","services","language"];return u.forEach(function(p){l[p]=i[p]}),l.services=ct({},this.services),l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l.translator=new lg(l.services,l.options),l.translator.on("*",function(p){for(var d=arguments.length,f=new Array(d>1?d-1:0),y=1;y<d;y++)f[y-1]=arguments[y];l.emit.apply(l,[p].concat(f))}),l.init(s,a),l.translator.options=l.options,l.translator.backendConnector.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(tn);en.default(Wa,"createInstance",function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Wa(e,t)});var bg=Wa.createInstance();bg.createInstance=Wa.createInstance;var oS=bg;const aS=oS,xg=["af","bg","ca","cs","da","de","en","eo","es","fr","hu","id","it","mn","nl","no","pl","pt","pt-br","ru","si","sl","sv","tr","uk","uz","vi","zh"];Xc.exports=(e="en",t="portal")=>{const n=aS.createInstance();return n.init({lng:e,nsSeparator:!1,keySeparator:!1,returnEmptyString:!1,fallbackLng:!1,ns:t,defaultNS:t,resources:xg.reduce((r,i)=>(r[i]={[t]:i_("/i18n/lib")(`../locales/${i}/${t}.json`)},r),{})}),n},Xc.exports.SUPPORTED_LOCALES=xg;var sS=Xc.exports,lS=sS;const cS=Re(lS),uS={showPopup:!0,site:wr,member:Ia.free,page:"accountEmail",...tw(),pageData:Nm};function dS({site:e,children:t}){const{portal_sentry:n}=e||{};return n&&n.dsn?c.jsx(Di,{children:t}):c.jsx(c.Fragment,{children:t})}class pS extends W.Component{constructor(t){super(t),this.setupCustomTriggerButton(t),this.state={site:null,member:null,page:"loading",showPopup:!1,action:"init:running",initStatus:"running",lastPage:null,customSiteUrl:t.customSiteUrl}}componentDidMount(){this.initSetup()}componentDidUpdate(t,n){var r,i,o;if(n.showPopup!==this.state.showPopup){this.handleCustomTriggerClassUpdate();try{this.state.showPopup?(this.bodyScroll=(o=(i=(r=window.document)==null?void 0:r.body)==null?void 0:i.style)==null?void 0:o.overflow,window.document.body.style.overflow="hidden"):window.document.body.style.overflow=this.bodyScroll||""}catch{}}if(this.state.initStatus==="success"&&n.initStatus!==this.state.initStatus){const{siteUrl:a}=this.props,s=this.getContextFromState();this.sendPortalReadyEvent(),Nw({siteUrl:a,site:s.site,member:s.member})}}componentWillUnmount(){clearTimeout(this.timeoutId),this.customTriggerButtons&&this.customTriggerButtons.forEach(t=>{t.removeEventListener("click",this.clickHandler)}),window.removeEventListener("hashchange",this.hashHandler,!1)}sendPortalReadyEvent(){window.self!==window.parent&&window.parent.postMessage({type:"portal-ready",payload:{}},"*")}setupCustomTriggerButton(){this.clickHandler=r=>{r.preventDefault();const i=r.currentTarget,o=i&&i.dataset.portal,{page:a,pageQuery:s}=this.getPageFromLinkPath(o)||{};this.state.initStatus==="success"&&(s&&s!=="free"?this.handleSignupQuery({site:this.state.site,pageQuery:s}):this.dispatchAction("openPopup",{page:a,pageQuery:s}))};const t="[data-portal]",n="gh-portal-close";this.customTriggerButtons=document.querySelectorAll(t)||[],this.customTriggerButtons.forEach(r=>{r.classList.add(n),r.removeEventListener("click",this.clickHandler),r.addEventListener("click",this.clickHandler)})}handleCustomTriggerClassUpdate(){var r;const t="gh-portal-open",n="gh-portal-close";(r=this.customTriggerButtons)==null||r.forEach(i=>{const o=this.state.showPopup?t:n,a=this.state.showPopup?n:t;i.classList.add(o),i.classList.remove(a)})}async initSetup(){try{const{site:t,member:n,page:r,showPopup:i,popupNotification:o,lastPage:a,pageQuery:s,pageData:l}=await this.fetchData(),u=this.props.siteI18nEnabled?t.locale:"en",p=cS(u,"portal"),d={site:t,member:n,page:r,lastPage:a,pageQuery:s,showPopup:i,pageData:l,popupNotification:o,t:p.t,action:"init:success",initStatus:"success"};if(this.handleSignupQuery({site:t,pageQuery:s,member:n}),this.setState(d),this.hashHandler=()=>{this.updateStateForPreviewLinks()},window.addEventListener("hashchange",this.hashHandler,!1),!n){const f=document.querySelectorAll("[data-lexical-signup-form]");f.length>0&&f.forEach(y=>{y.style.display=""})}}catch(t){console.error("[Portal] Failed to initialize:",t),this.setState({action:"init:failed",initStatus:"failed"})}}async fetchData(){const{site:t,member:n}=await this.fetchApiData(),{site:r,...i}=this.fetchDevData(),{site:o,...a}=this.fetchLinkData(),{site:s,...l}=this.fetchPreviewData(),{site:u,...p}=this.fetchNotificationData();return{member:n,page:"",site:{...t,...o,...s,...u,...r,plans:{...(r||{}).plans,...(t||{}).plans,...(s||{}).plans}},...i,...a,...p,...l}}fetchDevData(){return q(["dev"])&&!this.state.customSiteUrl?uS:q(["test"])?{showPopup:this.props.showPopup!==void 0?this.props.showPopup:!0}:{}}fetchOfferQueryStrData(t=""){const n=new URLSearchParams(t),r={};for(let i of n.entries()){const o=i[0],a=decodeURIComponent(i[1]);o==="name"?r.name=a||"":o==="code"?r.code=a||"":o==="display_title"?r.display_title=a||"":o==="display_description"?r.display_description=a||"":o==="type"?r.type=a||"":o==="cadence"?r.cadence=a||"":o==="duration"?r.duration=a||"":o==="duration_in_months"&&!isNaN(Number(a))?r.duration_in_months=Number(a):o==="amount"&&!isNaN(Number(a))?r.amount=Number(a):o==="currency"?r.currency=a||"":o==="status"?r.status=a||"":o==="tier_id"&&(r.tier={id:a||Nm.tier.id})}return{page:"offer",pageData:r}}fetchQueryStrData(t=""){const n=new URLSearchParams(t),r={site:{plans:{}}},i=[];let o,a=null,s,l,u;for(let p of n.entries()){const d=p[0],f=decodeURIComponent(p[1]);if(d==="button")r.site.portal_button=JSON.parse(f);else if(d==="name")r.site.portal_name=JSON.parse(f);else if(d==="isFree"&&JSON.parse(f))i.push("free");else if(d==="isMonthly"&&JSON.parse(f))i.push("monthly");else if(d==="isYearly"&&JSON.parse(f))i.push("yearly");else if(d==="portalPrices")o=f?f.split(","):[];else if(d==="portalProducts")a=f?f.split(","):[];else if(d==="page"&&f)r.page=f;else if(d==="accentColor"&&(f===""||f))r.site.accent_color=f;else if(d==="buttonIcon"&&f)r.site.portal_button_icon=f;else if(d==="signupButtonText")r.site.portal_button_signup_text=f||"";else if(d==="signupTermsHtml")r.site.portal_signup_terms_html=f||"";else if(d==="signupCheckboxRequired")r.site.portal_signup_checkbox_required=JSON.parse(f);else if(d==="buttonStyle"&&f)r.site.portal_button_style=f;else if(d==="monthlyPrice"&&!isNaN(Number(f)))r.site.plans.monthly=Number(f),s=Number(f);else if(d==="yearlyPrice"&&!isNaN(Number(f)))r.site.plans.yearly=Number(f),l=Number(f);else if(d==="currency"&&f){const y=f.toUpperCase();r.site.plans.currency=y,r.site.plans.currency_symbol=de(y),u=y}else d==="disableBackground"?r.site.disableBackground=JSON.parse(f):d==="allowSelfSignup"?r.site.allow_self_signup=JSON.parse(f):d==="membersSignupAccess"&&f&&(r.site.members_signup_access=f)}return r.site.portal_plans=i,r.site.portal_products=a,o?r.site.portal_plans=o:s&&l&&u&&(r.site.prices=[{id:"monthly",stripe_price_id:"dummy_stripe_monthly",stripe_product_id:"dummy_stripe_product",active:1,nickname:"Monthly",currency:u,amount:s,type:"recurring",interval:"month"},{id:"yearly",stripe_price_id:"dummy_stripe_yearly",stripe_product_id:"dummy_stripe_product",active:1,nickname:"Yearly",currency:u,amount:l,type:"recurring",interval:"year"}]),r}fetchNotificationData(){const{type:t,status:n,duration:r,autoHide:i,closeable:o}=Jh({billingOnly:!0})||{};return["stripe:billing-update"].includes(t)?n==="success"?{showPopup:!0,popupNotification:Q({type:t,status:n,duration:r,closeable:o,autoHide:i,state:this.state,message:n==="success"?"Billing info updated successfully":""})}:{showPopup:!0}:{}}fetchLinkData(){const t=new URLSearchParams(window.location.search);if(t.get("uuid")&&t.get("action")==="unsubscribe")return{showPopup:!0,page:"unsubscribe",pageData:{uuid:t.get("uuid"),newsletterUuid:t.get("newsletter"),comments:t.get("comments")}};const[n,r]=window.location.hash.substr(1).split("?"),i=new URLSearchParams(r??""),o=/^(?:(\w+?))?\/monthly$/,a=/^(?:(\w+?))?\/yearly$/,s=/^offers\/(\w+?)\/?$/,l=/^\/portal\/?(?:\/(\w+(?:\/\w+)*))?\/?$/,u=/^\/feedback\/(\w+?)\/(\w+?)\/?$/;if(n&&u.test(n)&&i.get("uuid")){const[,p,d]=n.match(u),f=parseInt(d);if(f===1||f===0)return{showPopup:!0,page:"feedback",pageData:{uuid:i.get("uuid"),postId:p,score:f}}}if(n&&l.test(n)){const[,p]=n.match(l),{page:d,pageQuery:f}=this.getPageFromLinkPath(p)||{},y=["accountPlan","accountProfile"].includes(d)?"accountHome":null;return{showPopup:!(["monthly","yearly"].includes(f)||o.test(f)||a.test(f)||s.test(f)),...d?{page:d}:{},...f?{pageQuery:f}:{},...y?{lastPage:y}:{}}}return{}}fetchPreviewData(){const[,t]=window.location.hash.substr(1).split("?");if(q(["preview"])){let n={};return q(["offerPreview"])?n=this.fetchOfferQueryStrData(t):n=this.fetchQueryStrData(t),{...n,showPopup:!0}}return{}}getColorOverride(){const t=document.querySelector("script[data-ghost]");return t&&t.dataset.accentColor?t.dataset.accentColor:!1}async fetchApiData(){const{siteUrl:t,customSiteUrl:n,apiUrl:r,apiKey:i}=this.props;try{this.GhostApi=this.props.api||Oa({siteUrl:t,apiUrl:r,apiKey:i});const{site:o,member:a}=await this.GhostApi.init(),s=this.getColorOverride();return s&&(o.accent_color=s),this.setupFirstPromoter({site:o,member:a}),this.setupSentry({site:o}),{site:o,member:a}}catch(o){if(q(["dev","test"],{customSiteUrl:n}))return{};throw o}}setupSentry({site:t}){if(q(["test"]))return null;const{portal_sentry:n,portal_version:r,version:i}=t,a=`portal@2.31.2|ghost@${i}`;n&&n.dsn&&x1({dsn:n.dsn,environment:n.env||"development",release:a,beforeSend:s=>z1({event:s})?s:null,allowUrls:[/https?:\/\/((www)\.)?unpkg\.com\/@tryghost\/portal/]})}setupFirstPromoter({site:t,member:n}){if(q(["test"]))return null;const r=X1({site:t});let i=Fc({site:t});if(i=i==null?void 0:i.replace(/^(\S*\.)?(\S*\.\S*)$/i,".$2"),r&&i){const o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src="https://cdn.firstpromoter.com/fprom.js",o.onload=o.onreadystatechange=function(){let s=this.readyState;if(!s||s==="complete"||s==="loaded")try{if(window.$FPROM.init(r,i),lx({member:n})){const l=n.email,u=n.uuid;if(window.$FPROM)window.$FPROM.trackSignup({email:l,uid:u});else{const p=window._fprom||[];window._fprom=p,p.push(["event","signup"]),p.push(["email",l]),p.push(["uid",u])}}}catch{}};const a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(o,a)}}async dispatchAction(t,n){clearTimeout(this.timeoutId),this.setState({action:`${t}:running`});try{const r=await Cw({action:t,data:n,state:this.state,api:this.GhostApi});this.setState(r),r&&r.action&&!r.action.includes(":failed")&&(this.timeoutId=setTimeout(()=>{this.setState({action:""})},2e3))}catch(r){const i=Q({type:`${t}:failed`,autoHide:!0,closeable:!0,status:"error",state:this.state,meta:{error:r}});this.setState({action:`${t}:failed`,popupNotification:i})}}updateStateForPreviewLinks(){const{site:t,...n}=this.fetchPreviewData(),{site:r,...i}=this.fetchLinkData(),o={site:{...this.state.site,...r||{},...t||{},plans:{...this.state.site&&this.state.site.plans,...(r||{}).plans,...(t||{}).plans}},...i,...n};this.handleSignupQuery({site:o.site,pageQuery:o.pageQuery}),this.setState(o)}async handleOfferQuery({site:t,offerId:n,member:r=this.state.member}){const{portal_button:i}=t;if(Ac(),!kt({member:r}))try{const o=await this.GhostApi.site.offer({offerId:n}),a=o==null?void 0:o.offers[0];if(rx({site:t,offer:a}))if(i)this.dispatchAction("openPopup",{page:"offer",pageData:o==null?void 0:o.offers[0]});else{const s=gr({site:t,productId:a.tier.id}),l=a.cadence==="month"?s.monthlyPrice:s.yearlyPrice;if(this.dispatchAction("openPopup",{page:"loading"}),r){const{tierId:u,cadence:p}=_n({site:t,priceId:l.id});this.dispatchAction("checkoutPlan",{plan:l.id,offerId:n,tierId:u,cadence:p})}else{const{tierId:u,cadence:p}=_n({site:t,priceId:l.id});this.dispatchAction("signup",{plan:l.id,offerId:n,tierId:u,cadence:p})}}}catch{}}handleSignupQuery({site:t,pageQuery:n,member:r}){const i=/^offers\/(\w+?)\/?$/;let o=n;if(i.test(n||"")){const[,s]=n.match(i);this.handleOfferQuery({site:t,offerId:s,member:r});return}Yh({site:t,pageQuery:n})&&(o=Yh({site:t,pageQuery:n}));const a=q1({site:t,priceId:o});if(n&&n!=="free"){Ac();const s=(a==null?void 0:a.id)||o;s!=="free"&&this.dispatchAction("openPopup",{page:"loading"});const{tierId:l,cadence:u}=_n({site:t,priceId:s});this.dispatchAction("signup",{plan:s,tierId:l,cadence:u})}}getPageFromLinkPath(t){const n=/^signup\/?(?:\/(\w+?))?\/?$/,r=/^signup\/?(?:\/(\w+?))\/monthly\/?$/,i=/^signup\/?(?:\/(\w+?))\/yearly\/?$/;if(/^offers\/(\w+?)\/?$/.test(t))return{pageQuery:t};if(t==="signup")return{page:"signup"};if(r.test(t)){const[,a]=t.match(r);return{page:"signup",pageQuery:`${a}/monthly`}}else if(i.test(t)){const[,a]=t.match(i);return{page:"signup",pageQuery:`${a}/yearly`}}else if(n.test(t)){const[,a]=t.match(n);return{page:"signup",pageQuery:a}}else{if(t==="signup/free")return{page:"signup",pageQuery:"free"};if(t==="signup/monthly")return{page:"signup",pageQuery:"monthly"};if(t==="signup/yearly")return{page:"signup",pageQuery:"yearly"};if(t==="signin")return{page:"signin"};if(t==="account")return{page:"accountHome"};if(t==="account/plans")return{page:"accountPlan"};if(t==="account/profile")return{page:"accountProfile"};if(t==="account/newsletters")return{page:"accountEmail"}}return{}}getAccentColor(){const{accent_color:t}=this.state.site||{};return t}getContextPage({site:t,page:n,member:r}){if(!n){const i=ot({site:t})?"signin":"signup";n=r?"accountHome":i}return n==="accountPlan"&&hr({member:r})&&!Oi({member:r})&&(n="accountHome"),Kc({page:n})}getContextMember({page:t,member:n,customSiteUrl:r}){return q(["dev","preview"],{customSiteUrl:r})?Kk({page:t})||Qk({page:t})?q(["dev"],{customSiteUrl:r})?n||Ia.free:q(["preview"])?Ia.preview:Ia.paid:null:n}getContextFromState(){const{site:t,member:n,action:r,page:i,lastPage:o,showPopup:a,pageQuery:s,pageData:l,popupNotification:u,customSiteUrl:p,t:d}=this.state,f=this.getContextPage({site:t,page:i,member:n}),y=this.getContextMember({page:f,member:n,customSiteUrl:p});return{site:t,action:r,brandColor:this.getAccentColor(),page:f,pageQuery:s,pageData:l,member:y,lastPage:o,showPopup:a,popupNotification:u,customSiteUrl:p,t:d,onAction:(v,w)=>this.dispatchAction(v,w)}}render(){return this.state.initStatus==="success"?c.jsx(dS,{site:this.state.site,children:c.jsxs($.Provider,{value:this.getContextFromState(),children:[c.jsx(Sm,{}),c.jsx(Vh,{}),c.jsx(Zh,{})]})}):null}}const kg="ghost-portal-root";function fS(){const e=document.createElement("div");e.id=kg,document.body.appendChild(e)}function hS(){const e=document.querySelector("script[data-ghost]");if(e){const t=e.dataset.i18n==="true",n=e.dataset.ghost,r=e.dataset.key,i=e.dataset.api;return{siteUrl:n,apiKey:r,apiUrl:i,siteI18nEnabled:t}}return{}}function mS(){const e=new URL(window.location.href);e.searchParams.get("token")&&(e.searchParams.delete("token"),window.history.replaceState({},document.title,e.href))}function gS({siteUrl:e}){fS(),mS()}function yS(){const{siteUrl:e,apiKey:t,apiUrl:n,siteI18nEnabled:r}=hS(),i=e||window.location.origin;gS({siteUrl:i}),Ov.render(c.jsx(W.StrictMode,{children:c.jsx(pS,{siteUrl:i,customSiteUrl:e,apiKey:t,apiUrl:n,siteI18nEnabled:r})}),document.getElementById(kg))}yS()});
|
|
3166
|
+
`+n;return c.jsxs(c.Fragment,{children:[c.jsx("style",{dangerouslySetInnerHTML:{__html:r}}),c.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"})]})}renderFrameContainer(){const{member:t,site:n,customSiteUrl:r}=this.context,i=Xh({member:t}),o=window.innerWidth<480,a={...i.frame.common};let s="gh-portal-popup-background";return V(["preview"])&&(i.modalContainer.zIndex="3999997"),V(["preview"],{customSiteUrl:r})&&!n.disableBackground&&(s+=" preview"),V(["dev"])&&(s+=" dev"),c.jsx("div",{style:i.modalContainer,children:c.jsxs(Uc,{style:a,title:"portal-popup",head:this.renderFrameStyles(),dataTestId:"portal-popup-frame",children:[c.jsx("div",{className:s,onClick:l=>this.handlePopupClose(l)}),c.jsx(Zh,{isMobile:o})]})})}render(){const{showPopup:t}=this.context;return t?this.renderFrameContainer():null}}Q(eg,"contextType",N),Wa({products:su({numOfProducts:1})});function Ee(){return(new Date().getTime()/1e3|0).toString(16)+"xxxxxxxxxxxxxxxx".replace(/[x]/g,function(){return(Math.random()*16|0).toString(16)}).toLowerCase()}function Wa({title:e="The Blueprint",description:t="Thoughts, stories and ideas.",logo:n="https://static.ghost.org/v4.0.0/images/ghost-orb-1.png",icon:r="https://static.ghost.org/v4.0.0/images/ghost-orb-1.png",url:i="https://portal.localhost",plans:o={monthly:5e3,yearly:15e4,currency:"USD"},products:a=su({numOfProducts:1}),portalProducts:s=a.map(j=>j.id),accentColor:l="#45C32E",portalPlans:u=["free","monthly","yearly"],allowSelfSignup:p=!0,membersSignupAccess:d="all",freePriceName:m="Free",freePriceDescription:g="Free preview",isStripeConfigured:b=!0,portalButton:x=!0,portalName:y=!0,portalButtonIcon:f="icon-1",portalButtonSignupText:h="Subscribe now",portalButtonStyle:v="icon-and-text",membersSupportAddress:k="support@example.com",newsletters:C=[],commentsEnabled:S}={}){return{title:e,description:t,logo:n,icon:r,accent_color:l,url:i,plans:o,products:a,portal_products:s,allow_self_signup:p,members_signup_access:d,free_price_name:m,free_price_description:g,is_stripe_configured:b,portal_button:x,portal_name:y,portal_plans:u,portal_button_icon:f,portal_button_signup_text:h,portal_button_style:v,members_support_address:k,comments_enabled:!!S,newsletters:C}}function tg({name:e="Black Friday",code:t="black-friday",displayTitle:n="Black Friday Sale!",displayDescription:r="Special deal for Black Friday. Subscribe now for only $15 per month and get additional benefits like accessing our podcast.",type:i="percent",cadence:o="month",amount:a=50,duration:s="repeating",durationInMonths:l=null,currencyRestriction:u=!1,currency:p=null,status:d="active",tierId:m="",tierName:g="Basic"}={}){return{id:`offer_${Ee()}`,name:e,code:t,display_title:n,display_description:r,type:i,cadence:o,amount:a,duration:s,duration_in_months:l,currency_restriction:u,currency:p,status:d,tier:{id:`${m}`,name:g}}}function Xe({name:e="Jamie Larson",email:t="jamie@example.com",firstname:n="Jamie",subscriptions:r=[],paid:i=!1,avatarImage:o="",subscribed:a=!0,email_suppression:s={suppressed:!1,info:null}}={}){return{uuid:`member_${Ee()}`,email:t,name:e,firstname:n,paid:i,subscribed:a,avatar_image:o,subscriptions:r,email_suppression:s}}function su({numOfProducts:e=3}={}){const n=[Er({name:"Bronze",description:"Access to all members articles",monthlyPrice:Ye({interval:"month",amount:700}),yearlyPrice:Ye({interval:"year",amount:7e3}),numOfBenefits:2}),Er({name:"Silver",description:"Access to all members articles and weekly podcast",monthlyPrice:Ye({interval:"month",amount:1200}),yearlyPrice:Ye({interval:"year",amount:12e3}),numOfBenefits:3}),Er({name:"Friends of the Blueprint",description:"Get access to everything and lock in early adopter pricing for life + listen to my podcast",monthlyPrice:Ye({interval:"month",amount:18e3}),yearlyPrice:Ye({interval:"year",amount:17e3}),numOfBenefits:4})].slice(0,e),r=ng({});return[...n,r]}function Er({type:e="paid",name:t="Basic",description:n="",id:r=`product_${Ee()}`,monthlyPrice:i=Ye(),yearlyPrice:o=Ye({interval:"year"}),numOfBenefits:a=2}){return{id:r,name:t,description:n,monthlyPrice:e==="free"?null:i,yearlyPrice:e==="free"?null:o,type:e,benefits:rg({numOfBenefits:a})}}function ng({name:e="Free tier",description:t="Free tier description",id:n=`product_${Ee()}`,numOfBenefits:r=2}){return{id:n,name:e,type:"free",description:t,benefits:rg({numOfBenefits:r})}}function rg({numOfBenefits:e}){return[Ga({name:"Limited early adopter pricing"}),Ga({name:"Latest gear reviews"}),Ga({name:"Weekly email newsletter"}),Ga({name:"Listen to my podcast"})].slice(0,e)}function Ga({id:e=`benefit_${Ee()}`,name:t="Benefit"}){return{id:e,name:t}}function Ye({interval:e="month",amount:t=e==="month"?500:5e3,nickname:n=e==="month"?"Monthly":"Yearly",description:r=null,currency:i="usd",active:o=!0,id:a=`price_${Ee()}`}={}){return{id:a,active:o,nickname:n,currency:i,amount:t,interval:e,description:r,stripe_price_id:`price_${Ee()}`,stripe_product_id:`prod_${Ee()}`,type:"recurring"}}function _n({id:e=`sub_${Ee()}`,status:t="active",currency:n="USD",interval:r="year",amount:i=r==="month"?500:5e3,nickname:o=r==="month"?"Monthly":"Yearly",cardLast4:a="4242",offer:s=Y1,priceId:l=`price_${Ee()}`,startDate:u="2021-10-05T03:18:30.000Z",currentPeriodEnd:p="2022-10-05T03:18:30.000Z",cancelAtPeriodEnd:d=!1}={}){return{id:e,customer:{id:`cus_${Ee()}`,name:"Jamie",email:"jamie@example.com"},plan:{id:`price_${Ee()}`,nickname:o,amount:i,interval:r,currency:n},offer:s,status:t,start_date:u,default_payment_card_last4:a,cancel_at_period_end:d,cancellation_reason:null,current_period_end:p,price:{id:`stripe_price_${Ee()}`,price_id:l,nickname:o,amount:i,interval:r,type:"recurring",currency:n,product:{id:`stripe_prod_${Ee()}`,product_id:`prod_${Ee()}`}}}}function ig(){const e=su({numOfProducts:1}),t=e.map(r=>r.id);return Wa({products:e,portalPlans:["free","monthly","yearly"],portalProducts:t})}ig();const U1=Wa({products:[Er({numOfBenefits:2,type:"free"})]}),Y1=tg({tierId:(Gg=U1.products[0])==null?void 0:Gg.id});Xe(),Xe({paid:!0,subscriptions:[_n()]}),Xe({paid:!0,subscriptions:[]}),Xe({paid:!0,subscriptions:[_n({amount:0})]}),Xe({paid:!0,subscriptions:[_n({amount:1500,startDate:"2019-05-01T11:42:40.000Z",currentPeriodEnd:"2021-06-05T11:42:40.000Z"})]}),ig();const Va=[ng({name:"Free",description:"Free tier description which is actually a pretty long description",numOfBenefits:2}),Er({name:"The Blueprint",description:"",monthlyPrice:Ye({interval:"month",amount:500}),yearlyPrice:Ye({interval:"year",amount:5e3}),numOfBenefits:3}),Er({name:"Friends of the Blueprint Silver",description:"Access to all members articles and weekly podcast",monthlyPrice:Ye({interval:"month",amount:1200}),yearlyPrice:Ye({interval:"year",amount:11e3}),numOfBenefits:4})],Cr=Wa({title:"The Blueprint",description:"Thoughts, stories and ideas.",logo:"https://static.ghost.org/v4.0.0/images/ghost-orb-1.png",icon:"https://static.ghost.org/v4.0.0/images/ghost-orb-1.png",accentColor:"#45C32E",url:"https://portal.localhost",plans:{monthly:5e3,yearly:15e4,currency:"USD"},products:Va,portalProducts:Va.map(e=>e.id),allowSelfSignup:!0,membersSignupAccess:"all",freePriceName:"Free",freePriceDescription:"Free preview",isStripeConfigured:!0,portalButton:!0,portalName:!0,portalPlans:["free","monthly","yearly"],portalButtonIcon:"icon-1",portalButtonSignupText:"Subscribe now",portalButtonStyle:"icon-and-text",membersSupportAddress:"support@example.com",commentsEnabled:!0,newsletters:[{id:"weekly",name:"Weekly Rundown",description:"Best of last week",subscribe_on_signup:!0,paid:!0},{id:"daily",name:"Daily Brief",description:"One email every day",subscribe_on_signup:!1,paid:!1}]}),og=tg({tierId:(Vg=Cr.products[1])==null?void 0:Vg.id}),qa={free:Xe({name:"Jamie Larson",email:"jamie@example.com",firstname:"Jamie",subscriptions:[],paid:!1,avatarImage:"",subscribed:!0}),paid:Xe({paid:!0,subscriptions:[_n({status:"active",currency:"USD",interval:"year",amount:5e3,cardLast4:"4242",startDate:"2021-10-05T03:18:30.000Z",currentPeriodEnd:"2022-10-05T03:18:30.000Z",cancelAtPeriodEnd:!1})]}),complimentary:Xe({paid:!0,subscriptions:[]}),complimentaryWithSubscription:Xe({paid:!0,subscriptions:[_n({amount:0})]}),preview:Xe({paid:!0,subscriptions:[_n({amount:1500,startDate:"2019-05-01T11:42:40.000Z",currentPeriodEnd:"2021-06-05T11:42:40.000Z"})]})};function F1(){var n;if(!Va||!Va[1])return null;let e=(n=Cr==null?void 0:Cr.products)==null?void 0:n[1].monthlyPrice,t=Xe({paid:!0,subscriptions:[_n({offer:null,priceId:e==null?void 0:e.id,status:"active",currency:e==null?void 0:e.currency,interval:e==null?void 0:e.interval,amount:e==null?void 0:e.amount,cardLast4:"4242",startDate:"2021-10-05T03:18:30.000Z",currentPeriodEnd:"2022-10-05T03:18:30.000Z",cancelAtPeriodEnd:!1})]});return{site:Cr,member:t}}function B1({data:e,state:t}){return{page:e.page,popupNotification:null,lastPage:e.lastPage||null,pageData:e.pageData||t.pageData}}function H1({state:e}){return{showPopup:!e.showPopup}}function W1({data:e}){return{showPopup:!0,page:e.page,...e.pageQuery?{pageQuery:e.pageQuery}:{},...e.pageData?{pageData:e.pageData}:{}}}function G1({state:e}){return e.lastPage?{page:e.lastPage}:ag({state:e})}function ag({state:e}){return Hc(),{showPopup:!1,lastPage:null,pageQuery:"",popupNotification:null,page:e.page==="magiclink"?"":e.page}}function V1({data:e}){return{showNotification:!0,...e}}function q1({state:e}){return{showNotification:!1}}async function K1({api:e,state:t}){try{return await e.member.signout(),{action:"signout:success"}}catch{return{action:"signout:failed",popupNotification:J({type:"signout:failed",autoHide:!1,closeable:!0,state:t,status:"error",message:"Failed to log out, please try again"})}}}async function J1({data:e,api:t,state:n}){try{return await t.member.sendMagicLink({...e,emailType:"signin"}),{page:"magiclink",lastPage:"signin"}}catch(r){return{action:"signin:failed",popupNotification:J({type:"signin:failed",autoHide:!1,closeable:!0,state:n,status:"error",message:Ct.getMessageFromError(r,"Failed to log in, please try again")})}}}async function Q1({data:e,state:t,api:n}){try{let{plan:r,tierId:i,cadence:o,email:a,name:s,newsletters:l,offerId:u}=e;if(r.toLowerCase()==="free")await n.member.sendMagicLink({emailType:"signup",...e});else return i&&o?await n.member.checkoutPlan({plan:r,tierId:i,cadence:o,email:a,name:s,newsletters:l,offerId:u}):({tierId:i,cadence:o}=$n({site:t==null?void 0:t.site,priceId:r}),await n.member.checkoutPlan({plan:r,tierId:i,cadence:o,email:a,name:s,newsletters:l,offerId:u})),{page:"loading"};return{page:"magiclink",lastPage:"signup"}}catch(r){const i=(r==null?void 0:r.message)||"Failed to sign up, please try again";return{action:"signup:failed",popupNotification:J({type:"signup:failed",autoHide:!1,closeable:!0,state:t,status:"error",message:i})}}}async function X1({data:e,state:t,api:n}){try{let{plan:r,offerId:i,tierId:o,cadence:a}=e;(!o||!a)&&({tierId:o,cadence:a}=$n({site:t==null?void 0:t.site,priceId:r})),await n.member.checkoutPlan({plan:r,tierId:o,cadence:a,offerId:i,metadata:{checkoutType:"upgrade"}})}catch{return{action:"checkoutPlan:failed",popupNotification:J({type:"checkoutPlan:failed",autoHide:!1,closeable:!0,state:t,status:"error",message:"Failed to process checkout, please try again"})}}}async function Z1({data:e,state:t,api:n}){try{const{plan:r,planId:i,subscriptionId:o,cancelAtPeriodEnd:a}=e,{tierId:s,cadence:l}=$n({site:t==null?void 0:t.site,priceId:i});await n.member.updateSubscription({planName:r,tierId:s,cadence:l,subscriptionId:o,cancelAtPeriodEnd:a,planId:i});const u=await n.member.sessionData(),p="updateSubscription:success";return{action:p,popupNotification:J({type:p,autoHide:!0,closeable:!0,state:t,status:"success",message:"Subscription plan updated successfully"}),page:"accountHome",member:u}}catch{return{action:"updateSubscription:failed",popupNotification:J({type:"updateSubscription:failed",autoHide:!1,closeable:!0,state:t,status:"error",message:"Failed to update subscription, please try again"})}}}async function eS({data:e,state:t,api:n}){try{const{subscriptionId:r,cancellationReason:i}=e;return await n.member.updateSubscription({subscriptionId:r,smartCancel:!0,cancellationReason:i}),{action:"cancelSubscription:success",page:"accountHome",member:await n.member.sessionData()}}catch{return{action:"cancelSubscription:failed",popupNotification:J({type:"cancelSubscription:failed",autoHide:!1,closeable:!0,state:t,status:"error",message:"Failed to cancel subscription, please try again"})}}}async function tS({data:e,state:t,api:n}){try{const{subscriptionId:r}=e;return await n.member.updateSubscription({subscriptionId:r,cancelAtPeriodEnd:!1}),{action:"continueSubscription:success",page:"accountHome",member:await n.member.sessionData()}}catch{return{action:"continueSubscription:failed",popupNotification:J({type:"continueSubscription:failed",autoHide:!1,closeable:!0,state:t,status:"error",message:"Failed to cancel subscription, please try again"})}}}async function nS({data:e,state:t,api:n}){try{await n.member.editBilling(e)}catch{return{action:"editBilling:failed",popupNotification:J({type:"editBilling:failed",autoHide:!1,closeable:!0,state:t,status:"error",message:"Failed to update billing information, please try again"})}}}async function rS(){return{popupNotification:null}}async function iS({data:e,state:t}){let{action:n,message:r=""}=e;return n=n||"showPopupNotification:success",{popupNotification:J({type:n,autoHide:!0,closeable:!0,state:t,status:"success",message:r})}}async function oS({data:e,state:t,api:n}){try{const{newsletters:r,enableCommentNotifications:i}=e;if(!r&&i===void 0)return{};const o={};return r&&(o.newsletters=r),i!==void 0&&(o.enableCommentNotifications=i),{action:"updateNewsletterPref:success",member:await n.member.update(o)}}catch{return{action:"updateNewsletterPref:failed",popupNotification:J({type:"updateNewsletter:failed",autoHide:!0,closeable:!0,state:t,status:"error",message:"Failed to update newsletter settings"})}}}async function aS({state:e,api:t}){try{return await t.member.deleteSuppression(),{action:"removeEmailFromSuppressionList:success",popupNotification:J({type:"removeEmailFromSuppressionList:success",autoHide:!0,closeable:!0,state:e,status:"success",message:"You have been successfully resubscribed"})}}catch{return{action:"removeEmailFromSuppressionList:failed",popupNotification:J({type:"removeEmailFromSuppressionList:failed",autoHide:!0,closeable:!0,state:e,status:"error",message:"Your email has failed to resubscribe, please try again"})}}}async function sS({data:e,state:t,api:n}){try{const{subscribed:r}=e,i=await n.member.update({subscribed:r});if(!i)throw new Error("Failed to update newsletter");const o="updateNewsletter:success";return{action:o,member:i,popupNotification:J({type:o,autoHide:!0,closeable:!0,state:t,status:"success",message:"Email newsletter settings updated"})}}catch{return{action:"updateNewsletter:failed",popupNotification:J({type:"updateNewsletter:failed",autoHide:!0,closeable:!0,state:t,status:"error",message:"Failed to update newsletter settings"})}}}async function lS({data:e,state:t,api:n}){const{email:r}=e,i=xx({member:t.member});if(r!==i)try{return await n.member.updateEmailAddress({email:r}),{success:!0}}catch(o){return{success:!1,error:o}}return null}async function cS({data:e,state:t,api:n}){const{name:r}=e;if(Ex({member:t.member})!==r)try{const o=await n.member.update({name:r});if(!o)throw new Error("Failed to update member");return{member:o,success:!0}}catch(o){return{success:!1,error:o}}return null}async function uS({state:e,api:t}){if(e.member)try{const n=await t.member.sessionData();return n?{member:n,success:!0,action:"refreshMemberData:success"}:null}catch(n){return{success:!1,error:n,action:"refreshMemberData:failed"}}return null}async function dS({data:e,state:t,api:n}){const[r,i]=await Promise.all([cS({data:e,state:t,api:n}),lS({data:e,state:t,api:n})]);if(r&&i){if(i.success)return{action:"updateProfile:success",...r.success?{member:r.member}:{},page:"accountHome",popupNotification:J({type:"updateProfile:success",autoHide:!0,closeable:!0,status:"success",state:t,message:"Check your inbox to verify email update"})};const o=r.success?"Failed to send verification email":"Failed to update account data";return{action:"updateProfile:failed",...r.success?{member:r.member}:{},popupNotification:J({type:"updateProfile:failed",autoHide:!0,closeable:!0,status:"error",message:o,state:t})}}else if(r){const o=r.success?"updateProfile:success":"updateProfile:failed",a=r.success?"success":"error",s=r.success?"Account details updated successfully":"Failed to update account details";return{action:o,...r.success?{member:r.member}:{},...r.success?{page:"accountHome"}:{},popupNotification:J({type:o,autoHide:r.success,closeable:!0,status:a,state:t,message:s})}}else if(i){const o=i.success?"updateProfile:success":"updateProfile:failed",a=i.success?"success":"error",s=i.success?"Check your inbox to verify email update":"Failed to send verification email";return{action:o,...i.success?{page:"accountHome"}:{},popupNotification:J({type:o,autoHide:i.success,closeable:!0,status:a,state:t,message:s})}}return{action:"updateProfile:success",page:"accountHome",popupNotification:J({type:"updateProfile:success",autoHide:!0,closeable:!0,status:"success",state:t,message:"Account details updated successfully"})}}const pS={togglePopup:H1,openPopup:W1,closePopup:ag,switchPage:B1,openNotification:V1,closeNotification:q1,back:G1,signout:K1,signin:J1,signup:Q1,updateSubscription:Z1,cancelSubscription:eS,continueSubscription:tS,updateNewsletter:sS,updateProfile:dS,refreshMemberData:uS,clearPopupNotification:rS,editBilling:nS,checkoutPlan:X1,updateNewsletterPreference:oS,showPopupNotification:iS,removeEmailFromSuppressionList:aS};async function mS({action:e,data:t,state:n,api:r}){const i=pS[e];return i?await i({data:t,state:n,api:r})||{}:{}}const kC="";function fS({event:e,form:t,errorEl:n,siteUrl:r,submitHandler:i}){var x;t.removeEventListener("submit",i),e.preventDefault(),n&&(n.innerText=""),t.classList.remove("success","invalid","error");let o=e.target.querySelector("input[data-members-email]"),a=e.target.querySelector("input[data-members-name]"),s=((x=t==null?void 0:t.dataset)==null?void 0:x.membersAutoredirect)||"true",l=o==null?void 0:o.value,u=a&&a.value||void 0,p,d=[],m=e.target.querySelectorAll("input[data-members-label]")||[];for(let y=0;y<m.length;++y)d.push(m[y].value);t.dataset.membersForm&&(p=t.dataset.membersForm),t.classList.add("loading");const g=Aa(),b={email:l,emailType:p,labels:d,name:u,autoRedirect:s==="true"};g&&(b.urlHistory=g),fetch(`${r}/members/api/send-magic-link/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)}).then(function(y){if(t.addEventListener("submit",i),t.classList.remove("loading"),y.ok)t.classList.add("success");else return Ct.fromApiResponse(y).then(f=>{throw f})}).catch(y=>{n&&(n.innerText=Ct.getMessageFromError(y,"There was an error sending the email, please try again")),t.classList.add("error")})}function hS({event:e,el:t,errorEl:n,siteUrl:r,site:i,member:o,clickHandler:a}){t.removeEventListener("click",a),e.preventDefault();let s=t.dataset.membersPlan,l=gx(i,s.toLowerCase()),u=t.dataset.membersSuccess,p=t.dataset.membersCancel,d,m;u&&(d=new URL(u,window.location.href).href),p&&(m=new URL(p,window.location.href).href),n&&(n.innerText=""),t.classList.add("loading");const g=o?{checkoutType:"upgrade"}:{},b=Aa();return b&&(g.urlHistory=b),fetch(`${r}/members/api/session`,{credentials:"same-origin"}).then(function(x){return x.ok?x.text():null}).then(function(x){return fetch(`${r}/members/api/create-stripe-checkout-session/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...l,identity:x,successUrl:d,cancelUrl:m,metadata:g})}).then(function(y){if(!y.ok)throw new Error("Could not create stripe checkout session");return y.json()})}).then(function(x){return x.url?window.location.assign(x.url):window.Stripe(x.publicKey).redirectToCheckout({sessionId:x.sessionId}).then(function(f){if(f.error)throw new Error(f.error.message)})}).catch(function(x){console.error(x),t.addEventListener("click",a),t.classList.remove("loading"),n&&(n.innerText=x.message),t.classList.add("error")})}function gS({siteUrl:e,site:t,member:n}){e&&(e=e.replace(/\/$/,""),Array.prototype.forEach.call(document.querySelectorAll("form[data-members-form]"),function(r){let i=r.querySelector("[data-members-error]");function o(a){fS({event:a,errorEl:i,form:r,siteUrl:e,submitHandler:o})}r.addEventListener("submit",o)}),Array.prototype.forEach.call(document.querySelectorAll("[data-members-plan]"),function(r){let i=r.querySelector("[data-members-error]");function o(a){hS({el:r,event:a,errorEl:i,member:n,site:t,siteUrl:e,clickHandler:o})}r.addEventListener("click",o)}),Array.prototype.forEach.call(document.querySelectorAll("[data-members-edit-billing]"),function(r){let i=r.querySelector("[data-members-error]"),o=r.dataset.membersSuccess,a=r.dataset.membersCancel,s,l;o&&(s=new URL(o,window.location.href).href),a&&(l=new URL(a,window.location.href).href);function u(p){r.removeEventListener("click",u),p.preventDefault(),i&&(i.innerText=""),r.classList.add("loading"),fetch(`${e}/members/api/session`,{credentials:"same-origin"}).then(function(d){return d.ok?d.text():null}).then(function(d){return fetch(`${e}/members/api/create-stripe-update-session/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({identity:d,successUrl:s,cancelUrl:l})}).then(function(m){if(!m.ok)throw new Error("Could not create stripe checkout session");return m.json()})}).then(function(d){return window.Stripe(d.publicKey).redirectToCheckout({sessionId:d.sessionId})}).then(function(d){if(d.error)throw new Error(d.error.message)}).catch(function(d){console.error(d),r.addEventListener("click",u),r.classList.remove("loading"),i&&(i.innerText=d.message),r.classList.add("error")})}r.addEventListener("click",u)}),Array.prototype.forEach.call(document.querySelectorAll("[data-members-signout]"),function(r){function i(o){r.removeEventListener("click",i),o.preventDefault(),r.classList.remove("error"),r.classList.add("loading"),fetch(`${e}/members/api/session`,{method:"DELETE"}).then(function(a){a.ok?window.location.replace(e):(r.addEventListener("click",i),r.classList.remove("loading"),r.classList.add("error"))})}r.addEventListener("click",i)}),Array.prototype.forEach.call(document.querySelectorAll("[data-members-cancel-subscription]"),function(r){let i=r.parentElement.querySelector("[data-members-error]");function o(a){r.removeEventListener("click",o),a.preventDefault(),r.classList.remove("error"),r.classList.add("loading");let s=r.dataset.membersCancelSubscription;return i&&(i.innerText=""),fetch(`${e}/members/api/session`,{credentials:"same-origin"}).then(function(l){return l.ok?l.text():null}).then(function(l){return fetch(`${e}/members/api/subscriptions/${s}/`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({identity:l,smart_cancel:!0})})}).then(function(l){l.ok?window.location.reload():(r.addEventListener("click",o),r.classList.remove("loading"),r.classList.add("error"),i&&(i.innerText="There was an error cancelling your subscription, please try again."))})}r.addEventListener("click",o)}),Array.prototype.forEach.call(document.querySelectorAll("[data-members-continue-subscription]"),function(r){let i=r.parentElement.querySelector("[data-members-error]");function o(a){r.removeEventListener("click",o),a.preventDefault(),r.classList.remove("error"),r.classList.add("loading");let s=r.dataset.membersContinueSubscription;return i&&(i.innerText=""),fetch(`${e}/members/api/session`,{credentials:"same-origin"}).then(function(l){return l.ok?l.text():null}).then(function(l){return fetch(`${e}/members/api/subscriptions/${s}/`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({identity:l,cancel_at_period_end:!1})})}).then(function(l){l.ok?window.location.reload():(r.addEventListener("click",o),r.classList.remove("loading"),r.classList.add("error"),i&&(i.innerText="There was an error continuing your subscription, please try again."))})}r.addEventListener("click",o)}))}const yS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% afslag","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} dae gratis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"'n Aanmeldskakel is na u epos gestuur. As dit nie binne 3 minute aankom nie, moet u asseblief u spam-vouer nagaan.",Account:"Rekening","Account settings":"Rekening instellings","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Na afloop van die gratis proeftydperk sal u die vasgestelde pry vir die vlak wat u gekies het, betaal. U kan altyd voor die tyd kanselleer.","Already a member?":"Is u reeds 'n lid?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Terug","Back to Log in":"Terug na aanmelding","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Kanselleer inskrywing","Cancellation reason":"Kansellasie rede",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Kies 'n ander plan","Choose your newsletters":"Kies u nuusbriefs","Click here to retry":"",Close:"Sluit",Comments:"Kommentaar",Complimentary:"",Confirm:"Bevestig","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Gaan voort","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Verwyder rekening","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Het u nie 'n rekening nie?",Edit:"",Email:"E-pos","Email newsletter":"","Email preference updated.":"E-pos instellings opgedateer.","Email preferences":"E-pos instellings",Emails:"E-posse","Emails disabled":"E-posse afgeskakel","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Kry hulp","Get in touch for help":"","Get notified when someone replies to your comment":"Ontvang 'n kennisgewing wanneer iemand op u kommentaar reageer","Give feedback on this post":"Gee terugvoering oor hierdie pos","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Minder soos hierdie",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Bestuur",Monthly:"Maandeliks","More like this":"Meer soos hierdie",Name:"Naam","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Ontvang u nie e-posse nie?","Now check your email!":"Kyk nou u e-pos!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Prys","Re-enable emails":"Her-aktiveer eposse","Renews at {{price}}.":"",Retry:"Probeer weer",Save:"Stoor","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Stuur aanmeldskakel...","Sending...":"Stuur...","Sign in":"Meld aan","Sign out":"","Sign up":"Registreer","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Begin {{amount}}-dag gratis proeftydperk","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Stuur terugvoering",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Suksesvol afgemeld","Thanks for the feedback!":"Dankie vir die terugvoering!","That didn't go to plan":"Dit het nie volgens plan verloop nie","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Hierdie webwerf is slegs op uitnodiging, kontak die eienaar vir toegang.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Om die registrasie te voltooi, kliek op die bevestigingskakel in jou inboks. As dit nie binne 3 minute aankom nie, kontroleer asseblief jou spam-vouer!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Meld af van alle e-posse",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Deur van eposse af te skakel, sal nie u betaalde subskripsie van {{title}} kanselleer nie",Update:"","Update your preferences":"Opdateer u voorkeure","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Ons kon u nie afskakel nie, omdat die e-pos adres nie gevind is nie. Kontak asseblief die webwerf eienaar.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Jaarliks","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"U is suksesvol heringeskryf","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"U ontvang nie e-posse nie, omdat u onlangs 'n boodskap as spam gemerk het, of omdat boodskappe nie na die e-pos adres wat u verskaf het gestuur kon word nie.","You've successfully signed in.":"","Your account":"U rekening","Your input helps shape what gets published.":"U insette help om te bepaal wat gepubliseer word.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},bS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"отстъпка {{discount}}%","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} дни безплатен достъп","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Връзка за влизане беше изпратена към пощенската Ви кутия. Ако писмото не пристигне до 3 минути, провете дали не е категоризирана като нежелано писмо.",Account:"Вашият акаунт","Account settings":"Настройки на акаунта Ви","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"След прикючване на безплатния достъп ще бъдете таксувани според обявените цени. Можете да се откажете преди изтичането на безплатния достъп.","Already a member?":"Вече сте абонат на сайта?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Обратно","Back to Log in":"Обратно към формата за влизане","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Откажи абонамент","Cancellation reason":"Причина за отказ",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Избеи различен план","Choose your newsletters":"Избери твоят бюлетин","Click here to retry":"",Close:"Затвори",Comments:"Коментари",Complimentary:"",Confirm:"Потвърди","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Продължи","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Изтрий акаунт","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Намате акаунт за достъп?",Edit:"",Email:"Пощенски адрес","Email newsletter":"","Email preference updated.":"Параметри на пощенския адрес са обновени.","Email preferences":"Параметри на пощенския адрес ",Emails:"Пощенски адреси","Emails disabled":"Писмата са преустновени","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Получете помощ","Get in touch for help":"","Get notified when someone replies to your comment":"Бъдете уведомявани, ако някой отговори на Ваш коментар","Give feedback on this post":"Моля за Вашият отзив за публикацията","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Управлявай",Monthly:"Месечно","More like this":"Повече материали с подобно съдържание",Name:"Име","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Не получавате поща?","Now check your email!":"Провете си пощенската кутия!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Цена","Re-enable emails":"Позволете отново изпращането на писма","Renews at {{price}}.":"",Retry:"Отново",Save:"Запиши","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Изпращане на връзка за влизане...","Sending...":"Изпращане...","Sign in":"Влизане","Sign out":"","Sign up":"Регистриране","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Започване на {{amount}}-дневен безплатен достъп.","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Изпрати отзив",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Успешно разабониране","Thanks for the feedback!":"Благодарим за изпратеният отзив!","That didn't go to plan":"Нещо се обърка и не се случи както трябваше","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Сайтът е само с покани. Свържете се със собственика за да получите достъп.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"За да прикючите вашата регистрация беше изпратена връзка за влизане към пощенската Ви кутия. Ако писмото не пристигне до 3 минути, провете дали не е категоризирана като нежелано писмо.","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Прекрати изпращането на всякакви писма",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Спирането на изпращането на писма, няма да ти прекрати абонамента и регистрацията в {{title}}",Update:"","Update your preferences":"Обнови твоите предпочитания/настройки","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Този пощенски адрес който опитвате да разабонирате, изглежда невалиден. Моля свържете се със собственика на сайта.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Годишно","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Успешно беше подновен абонаментът","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Не получавате писма защото или пощенският адрес е невалиден, или писмата се класифицират като нежелана поща.","You've successfully signed in.":"","Your account":"Твоята регистрация","Your input helps shape what gets published.":"Вашият принос помага да се оформи това, което се публикува.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},vS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% de descompte","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} dies de franc","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"S'ha enviat un enllaç d'inici de sessió al teu correu electrònic. Si no t'arriba en 3 minuts, reivsa la teva carpeta de correu brossa.",Account:"Compte","Account settings":"Configuració del compte","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Després que finalitzi el període de prova gratuït, se't cobrarà el preu regular del nivell que hagis triat. Sempre pots cancel·lar abans d'això.","Already a member?":"Ja ets membre?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Tornar enrere","Back to Log in":"TOrnar al inici de sessió","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Cancel·la la subscripció","Cancellation reason":"Motiu de la cancel·lació",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Seleccioneu un pla diferent","Choose your newsletters":"Selecciona els teus butlletins","Click here to retry":"",Close:"Tancar",Comments:"Comentaris",Complimentary:"",Confirm:"Confirmar","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Continuar","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Esborra compte","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"No tens un compte?",Edit:"",Email:"Correu electrònic","Email newsletter":"","Email preference updated.":"Preferència del correu electrònic actualitzada","Email preferences":"Preferència del correu electrònic",Emails:"Correus electrònics","Emails disabled":"Correus electrònics desactivats","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Demanar ajuda","Get in touch for help":"","Get notified when someone replies to your comment":"Rep notificacions quan algú et respongui al teu comentari","Give feedback on this post":"Enviar comentaris sobre aquesta publicació","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Menys com aquesta",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Gestionar",Monthly:"Mensual","More like this":"Més com aquesta",Name:"Nom","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"No reps els correus electrònics?","Now check your email!":"Revisar ara el teu correu electrònic!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Preu","Re-enable emails":"Torna a activar els correus electrònics","Renews at {{price}}.":"",Retry:"Torna-ho a provar",Save:"Desa","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Enviant enllaç d'inici de sesió...","Sending...":"Enviant","Sign in":"Inici de sesió","Sign out":"","Sign up":"Registrar-se","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Comença el període de proves de {{amount}} dies","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Enviar comentaris",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"T'has donat de baixa correctament","Thanks for the feedback!":"Gràcies pels teus comentaris!","That didn't go to plan":"Això no ha anat com estava previst","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Aquest llog és només per invitació, contacta amb el propietari per obtenir accés.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Per completar el registre, fes clic sobre l'enllaç de confirmació al teu correu electrònic. Si no t'arria en 3 minuts, revisa la teva carpeta de correu brossa!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Cancel·la les subscripcions a tots els correus electrònics",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Cancel·lar la subscripció al teu correu electrònic no cancel·larà la teva subscripció de pagament a {{title}}",Update:"","Update your preferences":"Actualitza les preferències","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"No hem pogut cancel·lar la teva subscripció ja que no s'ha trobar la direcció de correu electrònic. Si us plau, contacta amb el propietari del lloc web.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Anual","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"T'has tornat a subscribir amb èxit","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"No estas reben correus electrònics perquè has marcat recentment com SPAM o perque no s'han pogut entregar els missatges a la direcció de correu electrònic proporcionada.","You've successfully signed in.":"","Your account":"El teu copte","Your input helps shape what gets published.":"La teva opinió ajuda a definir el que es publica.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},kS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% sleva","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} dní zdarma","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Odkaz pro přihlášení byl odeslán do vaší e-mailové schránky. Pokud nepřijde do 3 minut, zkontrolujte prosím svou složku nevyžádaných zpráv (spam).",Account:"Účet","Account settings":"Nastavení účtu","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Po skončení zkušební doby vám bude účtována běžná cena pro vybranou úroveň. Vždy můžete předtím zrušit odběr.","Already a member?":"Již jste členem?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Zpět","Back to Log in":"Zpět na přihlášení","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Zrušit odběr","Cancellation reason":"Důvod zrušení",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Vybrat jiný plán","Choose your newsletters":"Vyberte si newsletter","Click here to retry":"",Close:"Zavřít",Comments:"Komentáře",Complimentary:"",Confirm:"Potvrdit","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Pokračovat","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Smazat účet","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Nemáte účet?",Edit:"",Email:"E-mail","Email newsletter":"","Email preference updated.":"Předvolby e-mailu byly aktualizovány.","Email preferences":"Předvolby e-mailu",Emails:"E-maily","Emails disabled":"E-maily vypnuty","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Získat pomoc","Get in touch for help":"","Get notified when someone replies to your comment":"Dostávat upozornění, když někdo odpoví na váš komentář","Give feedback on this post":"Dát zpětnou vazbu k tomuto příspěvku","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Méně podobných",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Spravovat",Monthly:"Měsíčně","More like this":"Víc podobných",Name:"Jméno","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Nepřicházejí vám e-maily?","Now check your email!":"Zkontrolujte svou e-mailovou schránku!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Cena","Re-enable emails":"Znovu povolit e-maily","Renews at {{price}}.":"",Retry:"Zkusit znovu",Save:"Uložit","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Odesílání přihlašovacího odkazu...","Sending...":"Odesílání...","Sign in":"Přihlásit se","Sign out":"","Sign up":"Registrovat se","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Začít {{amount}}denní zkušební verzi zdarma","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Odeslat zpětnou vazbu",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Úspěšné odhlášení","Thanks for the feedback!":"Děkujeme za zpětnou vazbu!","That didn't go to plan":"Něco se nepovedlo","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Tento web je pouze pro pozvané, kontaktujte provozovatele pro přístup.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Pro dokončení registrace klikněte na potvrzovací odkaz ve vaší e-mailové schránce. Pokud nepřijde do 3 minut, zkontrolujte prosím složku nevyžádaných zpráv (spam)!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Odhlásit se od všech e-mailů",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Odhlášení ze newsletterů nezruší váš placený odběr {{title}}",Update:"","Update your preferences":"Aktualizovat předvolby","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Nemohli jsme vás odhlásit, protože e-mailová adresa nebyla nalezena. Kontaktujte prosím provozovatele webu.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Ročně","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Úspěšně jste se opět přihlásili k odběru","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Nepřicházejí vám e-maily, protože jste buď označili nedávnou zprávu jako spam, nebo doručování zpráv na vámi zadaný e-mail nefunguje.","You've successfully signed in.":"","Your account":"Váš účet","Your input helps shape what gets published.":"Vaše připomínky pomáhají spoluvytvářet obsah webu.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},wS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% rabat","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} dage gratis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Der er blevet sendt en link til din email, du kan bruge til at logge ind med. Hvis det ikke kommer frem indenfor 3 minutter, så tjek din spam mappe.",Account:"Konto","Account settings":"Kontoindstillinger","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Når din gratis prøveperiode udløber, vil du blive opkrævet den normale pris for det abonnement du har valgt. Du kan selvfølgelig altid annullere dit abonnement inden.","Already a member?":"Er du allerede medlem?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Tilbage","Back to Log in":"Tilbage til log ind","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Annuller abonnement","Cancellation reason":"Årsag til annullering",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Vælg et andet abonnement","Choose your newsletters":"Hvilke nyhedsbreve ønsker du","Click here to retry":"",Close:"Luk",Comments:"Kommentarer",Complimentary:"",Confirm:"Bekræft","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Fortsæt","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Slet konto","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Har du ikke en konto?",Edit:"",Email:"E-mail","Email newsletter":"","Email preference updated.":"E-mail præferencer blev opdateret.","Email preferences":"E-mail præferencer",Emails:"E-mails","Emails disabled":"E-mails deaktiveret","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Få hjælp","Get in touch for help":"","Get notified when someone replies to your comment":"Bliv notificeret når nogen svarer på din kommentar","Give feedback on this post":"Giv feedback til dette indlæg","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Mindre af dette",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Administrer",Monthly:"Månedlig","More like this":"Mere af dette",Name:"Navn","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Modtager du ikke e-mails?","Now check your email!":"Tjek din e-mail!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Pris","Re-enable emails":"Genaktiver e-mails","Renews at {{price}}.":"",Retry:"Prøv igen",Save:"Gem","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Sender link til log ind","Sending...":"Sender","Sign in":"Log ind","Sign out":"","Sign up":"Bliv medlem","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Start {{amount}}-dages gratis prøveperiode","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Send feedback",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Du er nu afmeldt","Thanks for the feedback!":"Tak for din feedback!","That didn't go to plan":"Det gik ikke helt efter planen","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Denne sider kræver at du skal være inviteret. Kontakt ejeres for at få adgang.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"For at gennemføre oprettelsen af din konto, skal du klikke på bekræftelseslinket i din e-mail indbakke. Hvis det ikke kommer indenfor 3 minutter, så tjek venligst din spam mappe!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Afmeld alle e-mails",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Du annullerer ikke dit abonnement på {{title}} ved at afmelde dig fra alle e-mails",Update:"","Update your preferences":"Opdater dine præferencer","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Vi kunne ikke afmelde dig, da e-mailen ikke blev fundet. Kontakt venligst ejeren af siden.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Årlig","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Du er nu tilmeldt igen","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Du modtager ikke e-mails fordi du enten har markeret en af de seneste mails som spam, eller fordi e-mails ikke kunne leveres til den oplyste e-mailadresse.","You've successfully signed in.":"","Your account":"Din konto","Your input helps shape what gets published.":"Dit input hjælper med at forme det der bliver publiceret.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},xS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% Rabatt","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} Tage kostenlos","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Ein Login-Link wurde an Deine E-Mail-Adresse gesendet. Falls die E-Mail nicht innerhalb von 3 Minuten ankommt, überprüfe bitte Deinen Spam-Ordner.",Account:"Benutzerkonto","Account settings":"Benutzerkonto-Einstellungen","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Wenn das kostenlose Testabo endet, wirst Du den regulären Preis für den gewählten Tarif bezahlen. Du kannst das Abonnement jederzeit kündigen.","Already a member?":"Bereits Mitglied?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Zurück","Back to Log in":"Zurück zur Anmeldung","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Abonnierung kündigen","Cancellation reason":"Kündigungsgrund",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Wähle einen anderen Plan","Choose your newsletters":"Wähle Deine Newsletter","Click here to retry":"",Close:"Schließen",Comments:"Kommentare",Complimentary:"",Confirm:"Bestätigen","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Weiter","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Konto löschen","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Noch kein Konto?",Edit:"",Email:"Email","Email newsletter":"","Email preference updated.":"Email Einstellungen aktualisiert.","Email preferences":"Email Einstellungen",Emails:"Emails","Emails disabled":"Emails deaktiviert","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Hilfe erhalten","Get in touch for help":"","Get notified when someone replies to your comment":"Erhalte eine Benachrichtigung, wenn jemand auf Deinen Kommentar antwortet","Give feedback on this post":"Gebe Feedback zu diesem Beitrag","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Weniger davon",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Verwalten",Monthly:"Monatlich","More like this":"Mehr davon",Name:"Name","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Keine Emails erhalten?","Now check your email!":"Überprüfe jetzt Deine E-Mails!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Preis","Re-enable emails":"Emails wieder aktivieren","Renews at {{price}}.":"",Retry:"Nochmals versuchen",Save:"Speichern","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Sende Login-Link...","Sending...":"Sende...","Sign in":"Einloggen","Sign out":"","Sign up":"Registrieren","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Starte {{amount}}-tägiges kostenloses Testabo","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Feedback senden",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Erfolgreich abgemeldet","Thanks for the feedback!":"Danke für das Feedback!","That didn't go to plan":"Das verlief nicht nach Plan","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Diese Seite ist nur nach Einladung zugänglich. Bitte kontaktiere den Seitenbetreiber.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Um die Registrierung abzuschließen, klicke auf den Bestätigungslink in Deinem E-Mail Postfach. Falls die E-Mail nicht innerhalb von 3 Minuten ankommt, überprüfe bitte Deinen Spam-Ordner!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Von allen Emails abmelden",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Wenn Du Dich von Emails abmeldest, wird Dein bezahltes Abonnement bei {{title}} nicht gekündigt",Update:"","Update your preferences":"Aktualisiere Deine Einstellungen","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Wir konnten Dich nicht abmelden, da die E-Mail-Adresse nicht gefunden wurde. Bitte kontaktiere den Seitenbetreiber.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Jährlich","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Du wurdest erfolgreich wieder angemeldet","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Du erhältst keine Emails, da Du entweder eine kürzlich empfangene Nachricht als Spam markiert hast oder weil Nachrichten nicht an Deine angegebene E-Mail-Adresse zugestellt werden konnten.","You've successfully signed in.":"","Your account":"Dein Konto","Your input helps shape what gets published.":"Deine Eingaben helfen dabei, was veröffentlicht wird.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},SS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"",Account:"","Account settings":"","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"","Already a member?":"","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"","Back to Log in":"","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"","Cancellation reason":"",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"","Choose your newsletters":"","Click here to retry":"",Close:"",Comments:"",Complimentary:"",Confirm:"","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"",Edit:"",Email:"","Email newsletter":"","Email preference updated.":"","Email preferences":"",Emails:"","Emails disabled":"","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"","Get in touch for help":"","Get notified when someone replies to your comment":"","Give feedback on this post":"","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"",Monthly:"","More like this":"",Name:"","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"","Now check your email!":"","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"","Re-enable emails":"","Renews at {{price}}.":"",Retry:"",Save:"","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"","Sending...":"","Sign in":"","Sign out":"","Sign up":"","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"","Starting {{startDate}}":"","Starting today":"","Submit feedback":"",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"","Thanks for the feedback!":"","That didn't go to plan":"","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"",Update:"","Update your preferences":"","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"","You've successfully signed in.":"","Your account":"","Your input helps shape what gets published.":"","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},ES={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% rabato","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} tagoj senpagaj","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Sendis ensalutan ligilon al via enirkesto. Se ĝi ne alvenas post 3 minutoj, nepre kontrolu vian trudmesaĝdosieron.",Account:"Konto","Account settings":"Kontagordoj","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Post senpaga provo finiĝos, vi pagos la regulan prezon por la nivelo, kiun vi elektis. Vi ĉiam povas nuligi antaŭ tiam.","Already a member?":"Ĉu membro jam?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Reen","Back to Log in":"Reen al Ensaluto","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Nuligu abonon","Cancellation reason":"Nuliga kialo",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Elektu alian planon","Choose your newsletters":"Elektu viajn bultenojn","Click here to retry":"",Close:"Fermu",Comments:"Komentoj",Complimentary:"",Confirm:"Konfirmu","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Daŭrigu","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Forigu konton","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Ĉu ne havas konton?",Edit:"",Email:"Retadreso","Email newsletter":"","Email preference updated.":"Retpoŝta agordo ĝisdatigita.","Email preferences":"Retpoŝtaj agordoj",Emails:"Retpoŝtoj","Emails disabled":"Retpoŝtoj malŝaltitaj","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Ricevi helpon","Get in touch for help":"","Get notified when someone replies to your comment":"Estu sciiga kiam iu respondos al via komento","Give feedback on this post":"Donu komentojn pri ĉi tiu afiŝo","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Malpli tiel",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Administru",Monthly:"Monate","More like this":"Pli kiel ĉi tio",Name:"Nomo","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"","Now check your email!":"Bonvolu kontroli vian retpoŝton nun!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Kosto","Re-enable emails":"Reŝalti retpoŝtojn","Renews at {{price}}.":"",Retry:"Reprovu",Save:"Konservi","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Sendanta ensaluta ligilo...","Sending...":"Sendante...","Sign in":"Ensalutu","Sign out":"","Sign up":"Aliĝu","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Komencu senpaga {{amount}}-taga provo","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Sendu rimarkojn",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Sukcese malabonita","Thanks for the feedback!":"Dankon pro la rimarkoj!","That didn't go to plan":"Tio ne iris laŭ la intenco","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Ĉi tiu retejo estas nur por invitiĝuloj, kontaktu la proprietulo por alireblo.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Por kompletigi aliĝon, premu la konfirman ligilon en via enirkesto. Se ĝi ne alvenas ene de 3 minutoj, kontrolu vian trudmesaĝdosieron!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Malabonu de ĉiuj retpoŝtoj",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Malabonigi de retpoŝtoj ne nuligos vian pagitan abonon al {{title}}",Update:"","Update your preferences":"Ĝisdatigu viajn agordojn","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Ni ne povis malaboni vin ĉar la retadreso ne estis trovita. Bonvolu kontakti la proprietulo de la retejo","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Jare","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Vi sukcese reaboniĝis","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Vi ne ricevas retpoŝtojn ĉar vi aŭ markis lastatempan mesaĝon kiel trudmesaĝo, aŭ ĉar mesaĝoj ne povis liveri al via provizita retadreso.","You've successfully signed in.":"","Your account":"Via konto","Your input helps shape what gets published.":"Via enigo helpas formi kio estas aperigita.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},CS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% de descuento","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} días gratis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Se ha enviado un enlace de inicio de sesión a tu correo. Si no llega en 3 minutos, revisa tu carpeta de spam.",Account:"Cuenta","Account settings":"Configuración de la cuenta","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Después de que finalice el período de prueba gratuito, se te cobrará el precio regular del nivel que hayas elegido. Siempre puedes cancelar antes de eso.","Already a member?":"¿Ya eres miembro?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Atrás","Back to Log in":"Volver al inicio de sesión","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Cancelar suscripción","Cancellation reason":"Razón de cancelación",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Elige un plan diferente","Choose your newsletters":"Elige tus boletines","Click here to retry":"",Close:"Cerrar",Comments:"Comentarios",Complimentary:"",Confirm:"Confirmar","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Continuar","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Eliminar cuenta","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"¿No tienes una cuenta?",Edit:"",Email:"Correo electrónico","Email newsletter":"","Email preference updated.":"Preferencia de correo electrónico actualizada.","Email preferences":"Preferencias de correo electrónico",Emails:"Correos electrónicos","Emails disabled":"Correos electrónicos desactivados","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Obtener ayuda","Get in touch for help":"","Get notified when someone replies to your comment":"Recibe notificaciones cuando alguien responda a tu comentario","Give feedback on this post":"Envía comentarios sobre esta publicación","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Menos como esto",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':'Asegúrese de que los correos electrónicos no terminen accidentalmente en las carpetas de correo no deseado o promociones de su bandeja de entrada. Si lo son, haga clic en "Mark as not spam" y/o "Move to inbox".',Manage:"Administrar",Monthly:"Mensual","More like this":"Más como esto",Name:"Nombre","Need more help? Contact support":"Necesitas más ayuda? Contacta la manutención","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"Los boletines se pueden deshabilitar en su cuenta por dos razones: Un correo electrónico anterior se marcó como correo no deseado o el intento de enviar un correo electrónico resultó en una falla permanente (bounce).","Not receiving emails?":"¿No recibes correos electrónicos?","Now check your email!":"¡Ahora revisa tu correo electrónico!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"Una vez que se haya vuelto a suscribir, si aún no ve los correos electrónicos en su bandeja de entrada, verifique su carpeta de correo no deseado. Algunos proveedores de bandejas de entrada mantienen un registro de quejas de spam anteriores y continuarán marcando los correos electrónicos. Si esto sucede, marque el último boletín como 'No es spam' para moverlo nuevamente a su bandeja de entrada principal.","Permanent failure (bounce)":"Falla permanente (bounce)",Plan:"Plan","Plan checkout was cancelled.":"El pago de plan fue cancelado.","Plan upgrade was cancelled.":"La actualización de plan fue cancelado.","Please fill in required fields":"Por favor llene los campos requridos.",Price:"Precio","Re-enable emails":"Reactivar correos electrónicos","Renews at {{price}}.":"Se renueva en {{price}}.",Retry:"Reintentar",Save:"Guardar","Send an email and say hi!":"¡Envía un correo electronico y saluda!","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"¡Envia un correo electronico a {{senderEmail}} y saluda! Esto también puede ayudar a indicarle a su proveedor de correo que se debe confiar en los correos electrónicos hacia y desde esta dirección.","Sending login link...":"Enviando enlace de inicio de sesión...","Sending...":"Enviando...","Sign in":"Iniciar sesión","Sign out":"Terminar sesión","Sign up":"Registrarse","Signup error: Invalid link":"Error de registro: Enlace inválido","Sorry, that didn’t work.":"Lo siento, eso no funcionó.","Spam complaints":"Quejas de spam","Start {{amount}}-day free trial":"Comienza el período de prueba gratuito de {{amount}} días","Starting {{startDate}}":"A partir de {{startDate}}","Starting today":"A partir de hoy","Submit feedback":"Enviar comentarios",Subscribe:"Suscribir",Subscribed:"Suscrito",Success:"Éxito","Success! Check your email for magic link to sign-in.":"¡Éxito! Revise su correo electrónico para ver el enlace mágico para iniciar sesión.","Success! Your account is fully activated, you now have access to all content.":"¡Éxito! Su cuenta está completamente activada, ahora tiene acceso a todo el contenido.","Success! Your email is updated.":"¡Éxito! Su correo electrónico está actualizado.","Successfully unsubscribed":"Te has dado de baja correctamente","Thanks for the feedback!":"¡Gracias por tus comentarios!","That didn't go to plan":"Eso no salió según lo planeado","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"La dirección de correo electrónico que tenemos para usted es {{memberEmail}} - si eso no es correcto, puede actualizarlo en su <button> área de configuracion de la cuenta <button>.","There was a problem submitting your feedback. Please try again a little later.":"Hubo un problema al enviar sus comentarios. Vuelva a intentarlo un poco más tarde.","This site is invite-only, contact the owner for access.":"Este sitio es solo por invitación, contacta al propietario para obtener acceso.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Para completar el registro, haz clic en el enlace de confirmación en tu correo electrónico. Si no llega en 3 minutos, ¡revisa tu carpeta de spam!","Try free for {{amount}} days, then {{originalPrice}}.":"Prueba gratis por {{amount}} dias, luego {{originalPrice}}.","Unlock access to all newsletters by becoming a paid subscriber.":"Desbloquee el acceso a todos los boletines convirtiéndose en un suscriptor pago.","Unsubscribe from all emails":"Cancelar suscripción a todos los correos electrónicos",Unsubscribed:"Dado de baja","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Cancelar la suscripción a los correos electrónicos no cancelará tu suscripción de pago a {{title}}",Update:"Actualizar","Update your preferences":"Actualiza tus preferencias","Verify your email address is correct":"Verifique que su dirección de correo electrónico sea correcta","View plans":"Ver planes","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"No pudimos cancelar tu suscripción ya que no se encontró la dirección de correo electrónico. Por favor, contacta al propietario del sitio.","Welcome back, {{name}}!":"¡Bienvenido de nuevo, {{name}}!","Welcome back!":"¡Bienvenido de nuevo!","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"Cuando una bandeja de entrada no acepta un correo electrónico, comúnmente se le llama rebote. En muchos casos, esto puede ser temporal. Sin embargo, en algunos casos, un correo electrónico rebotado puede devolverse como una falla permanente cuando una dirección de correo electrónico no es válida o no existe.","Why has my email been disabled?":"¿Por qué mi correo electronico ha sido desabilitado.",Yearly:"Anual","You currently have a free membership, upgrade to a paid subscription for full access.":"Usted tiene una membresía gratuita, actualice a una suscripción paga para obtener acceso completo.","You have been successfully resubscribed":"Te has vuelto a suscribir con éxito","You're currently not receiving emails":"Actualmente no estás recibiendo correos electrónicos","You're not receiving emails":"No estás recibiendo correos electrónicos","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"No estás recibiendo correos electrónicos porque marcaste un mensaje reciente como spam o porque no se pudieron entregar los mensajes a la dirección de correo electrónico proporcionada.","You've successfully signed in.":"Has iniciado sesión correctamente.","Your account":"Tu cuenta","Your input helps shape what gets published.":"Tu opinión ayuda a definir lo que se publica.","Your subscription will expire on {{expiryDate}}":"Su suscripción caducará el {{expiryDate}} ","Your subscription will renew on {{renewalDate}}":"Su suscripción se renovará el {{renewalDate}}","Your subscription will start on {{subscriptionStart}}":"Su suscripción comenzará el {{subscriptionStart}}"},$S={"{{amount}} days free":"{{amount}} päivää ilmaiseksi","{{amount}} off":"{{amount}} pois","{{amount}} off for first {{number}} months.":"{{amount}} pois ensimmäisestä {{number}} kuukaudesta","{{amount}} off for first {{period}}.":"{{amount}} pois ensimmäisestä {{period}}","{{amount}} off forever.":"{{amount}} pois ikuisesti","{{discount}}% discount":"{{discount}}% alennus","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"{{memberEmail}} ei enää jatkossa saa {{newsletterName}} uutiskirjettä.","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"{{memberEmail}} ei lähetetä enää jatkossa sähköpostia jos joku vastaa kommenttiisi.","{{memberEmail}} will no longer receive this newsletter.":"{{memberEmail}} ei enää lähetetä tätä uutiskirjettä.","{{trialDays}} days free":"{{trialDays}} päivää ilmaiseksi","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Kirjautumislinkki on lähetetty sähköpostiisi. Jos se ei tule 3 minuutin kuluessa, muista katsoa spam-kansiosi.",Account:"Oma tili","Account settings":"Tilin asetukset","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Kun ilmainen kokeilusi loppuu, sinulta veloitetaan valitsemasi tilauksen kuukausimaksu. Voit aina peruuttaa tilauksesi ennen tätä.","Already a member?":"Oletko jo jäsen?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"Odottamaton virhe syntyi, yritäthän uudestaan tai <a>contact support</a> jos ongelma jatkuu.",Back:"Takaisin","Back to Log in":"Takaisin kirjautumiseen","Billing info":"Maksutiedot","Black Friday":"Black Friday","Cancel anytime.":"Peruuta milloin vain","Cancel subscription":"Peruuta tilaus","Cancellation reason":"Syy peruutukselle",Change:"Vaihda","Check spam & promotions folders":"Katso spam & promotions kansiot","Check with your mail provider":"Tarkista sähköpostitarjoajaltasi",Choose:"Valitse","Choose a different plan":"Valitse toinen tilaus","Choose your newsletters":"Valitse uutiskirjeesi","Click here to retry":"Klikkaa tästä kokeillaksesi uudestaan",Close:"Sulje",Comments:"Kommentit",Complimentary:"Ilmainen",Confirm:"Vahvista","Confirm cancellation":"Vahvista peruutus","Confirm subscription":"Vahvista tilaus","Contact support":"Ota yhteyttä tukeen",Continue:"Jatka","Continue subscription":"Jatka tilaustasi","Could not sign in. Login link expired.":"Kirjautuminen epäonnistui. Kirjautumislinkki on vanhentunut.","Could not update email! Invalid link.":"Sähköpostia ei pystytty päivittämään! Linkki ei toimi.","Create a new contact":"Luo uusi kontakti","Current plan":"Nykyinen tilaus","Delete account":"Poista tilisi","Didn't mean to do this? Manage your preferences <button>here</button>.":"Etkö tarkoittanut tehdä näin? Muokkaa valintojasi <button>here</button>","Don't have an account?":"Eikö sinulla ole tiliä?",Edit:"Muokkaa",Email:"Sähköposti","Email newsletter":"Uutiskirje sähköpostiin","Email preference updated.":"Sähköpostiasetukset päivitetty","Email preferences":"Sähköpostiasetukset",Emails:"Sähköpostit","Emails disabled":"Sähköpostit pois käytöstä","Ends {{offerEndDate}}":"Loppuu {{offerEndDate}}",Error:"Virhe","Expires {{expiryDate}}":"Vanhenee {{expiryDate}}",Forever:"Ikuisesti","Free Trial – Ends {{trialEnd}}":"Ilmainen kokeilu – Loppuu {{trialEnd}}","Get help":"Pyydä apua","Get in touch for help":"Ota yhteyttä saadaksesi apua","Get notified when someone replies to your comment":"Saa viesti kun joku vastaa kommenttiisi","Give feedback on this post":"Anna palautetta tähän postaukseen","Help! I'm not receiving emails":"Apua! En saa sähköposteja","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"Jos uutiskirje on merkitty spammiksi, sähköpostit tähän osoitteeseen on estetty, jotta et enää vastaanota viestejä osoitteeseen","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"Jos spam-valitus oli aiheeton, tai haluaisit saada taas viestejä, voit uudelleen ilmoittautua sähköposteihin painamalla nappia edellisellä sivulla.","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"Jos haluat perua tilauksesi nyt, sinulla on vielä oikeus materiaaliin {{periodEnd}} asti","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"Jos sinulla on yritys- tai valtion sähköposti, pyydä IT-osastoa hyväksymään sähköpostit lähettäjältä {{senderEmail}}","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"Jos haluat saada taas sähköposteja, paras tapa jatkaa on tarkistaa sähköpostiosoitteesi ja sitten klikata uudelleen uutiskirjeeseen osallistumista edellisellä sivulla.","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"Jos et saa uutiskirjettä sähköpostiisi, tässä on muutama asia tarkistettavaksi:","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"Jos et vieläkään saa uutiskirjeitä, ota yhteyttä {{supportAddress}}","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"Jos uutiskirjeen lähetyksessä tapahtuu pysyvä ongelma, sähköpostien lähetys keskeytetään.","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"Sähköpostiasetuksissasi lisää {{senderEmail}} kontakteihisi. Tämä antaa viestin sähköpostitarjoajalle, että viestit tästä osoitteesta ovat hyväksyttäviä.","Less like this":"Vähemmän tämän kaltaisia",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':'Varmista, että sähköpostit eivät mene Spam- tai roskapostikansioihin, Jos näin käy, klikkaa "Mark as not spam" ja/tai "Move to inbox".',Manage:"Hallitse",Monthly:"Kuukausittainen","More like this":"Lisää tämän kaltaista",Name:"Nimi","Need more help? Contact support":"Tarvitsetko lisää apua? Ota yhteyttä tukeen","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"Uutiskirjeet sähköpostiisi voivat peruuntua kahdesta syystä: edellinen sähköposti oli merkattu spammiksi, tai sähköpostin lähetyksestä tuli bounce.","Not receiving emails?":"Etkö saa sähköposteja?","Now check your email!":"Nyt tarkista sähköpostisi","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"Kun olet tilannut sähköpostit uudelleen ja et vieläkään saa posteja, katso ensimmäiseksi spam-kansio. Jotkut tarjoajat pitävät listaa ennen merkityistä viesteistä ja estävät niitä jatkossakin. Jos näin tapahtuu, merkitse viesti Not Spam ja siirrä se postilaatikkoosi.","Permanent failure (bounce)":"Pysyvä virhe (bounce)",Plan:"Tilaus","Plan checkout was cancelled.":"Tilauksen checkout on peruttu","Plan upgrade was cancelled.":"Tilauksen korotus on peruttu","Please fill in required fields":"Täytä tarvittavat kentät",Price:"Hinta","Re-enable emails":"Uudelleen hyväksy sähköpostit","Renews at {{price}}.":"Tilaus päivittyy hinnalla {{price}}.",Retry:"Kokeile uudestaan",Save:"Tallenna","Send an email and say hi!":"Lähetä sähköposti ja sano moi!","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"Lähetä sähköposti osoitteeseen {{senderEmail}} ja sano hei. Tämä viestii tarjoajalle, että osoite on hyväksytty.","Sending login link...":"Lähetetään kirjautumislinkkiä...","Sending...":"Lähetetään...","Sign in":"Kirjaudu sisään","Sign out":"Kirjaudu ulos","Sign up":"Rekisteröidy","Signup error: Invalid link":"Virhe rekisteröinnissä: Linkki ei toimi","Sorry, that didn’t work.":"Anteeksi, tämä ei onnistunut","Spam complaints":"Spam-valitukset","Start {{amount}}-day free trial":"Aloita {{amount}}-päivän kokeilu","Starting {{startDate}}":"Aloitetaan {{startDate}}","Starting today":"Alkaa tänään","Submit feedback":"Anna palautetta",Subscribe:"Tilaa",Subscribed:"Tilaus onnistunut",Success:"Onnistunut","Success! Check your email for magic link to sign-in.":"Onnistui! Katso sähköpostisi kirjautumislinkkiä varten","Success! Your account is fully activated, you now have access to all content.":"Onnistui! Tilisi on aktivoitu ja sinulla on pääsy sisältöihin","Success! Your email is updated.":"Onnistui! Sähköpostisi on päivitetty","Successfully unsubscribed":"Tilauksen peruutus onnistui","Thanks for the feedback!":"Kiitos palautteestasi!","That didn't go to plan":"Tämä ei mennyt suunnitelmien mukaan","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"Meillä oli ongelma palautteesi lähetyksen kanssa. Kokeleithan myöhemmin uudestaan.","This site is invite-only, contact the owner for access.":"Tämä sivu on vain kutsutuille, ota yhteyttä omistajaan saadaksesi pääsyoikeuden.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Viimeistelläksesi rekisteröitymisen, klikkaa vahvistuslinkkiä sähköpostissasi. Jos sitä ei saavu 3 minuutin kuluessa, tarkista roskapostikansiosi!","Try free for {{amount}} days, then {{originalPrice}}.":"Kokeile ilmaiseksi {{amount}} päivää, sen jälkeen hinta on {{originalPrice}}.","Unlock access to all newsletters by becoming a paid subscriber.":"Avaa pääsy kaikkiin uutiskirjeisiin maksullisella tilauksella.","Unsubscribe from all emails":"Peruuta kaikki sähköpostit",Unsubscribed:"Tilaus peruutettu","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Sähköpostien peruuttaminen ei peruuta maksullista tilaustasi {{title}}",Update:"Päivitä","Update your preferences":"Päivitä asetuksesi","Verify your email address is correct":"Vahvista sähköpostiosoitteesi oikeellisuus","View plans":"Katso tilausvaihtoehtoja","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Emme voineet peruuttaa tilaustasi, koska sähköpostiosoitetta ei löytynyt. Ota yhteyttä sivuston omistajaan.","Welcome back, {{name}}!":"Tervetuloa takaisin, {{name}}!","Welcome back!":"Tervetuloa takaisin!","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"ksissa “bounssannut” sähköposti voi kuitenkin palautua pysyvänä virheenä, kun sähköpostiosoite on virheellinen tai sitä ei ole olemassa.","Why has my email been disabled?":"Miksi sähköpostini on poistettu käytöstä?",Yearly:"Vuosittainen","You currently have a free membership, upgrade to a paid subscription for full access.":"Sinulla on tällä hetkellä ilmainen jäsenyys, päivitä maksulliseksi tilaukseksi saadaksesi täyden pääsyn.","You have been successfully resubscribed":"Olet tilannut uudelleen onnistuneesti","You're currently not receiving emails":"Et tällä hetkellä ole saamassa sähköposteja","You're not receiving emails":"Et saa sähköposteja","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Et saa sähköposteja siksi, että joko merkitsit äskettäisen viestin roskapostiksi tai siksi, että viestejä ei voitu toimittaa antamaasi sähköpostiosoitteeseen.","You've successfully signed in.":"Olet kirjautunut sisään onnistuneesti","Your account":"Tilisi","Your input helps shape what gets published.":"Antamasi palautteen avulla muokataan julkaistavaa sisältöä","Your subscription will expire on {{expiryDate}}":"Tilauksesi päättyy {{expiryDate}}","Your subscription will renew on {{renewalDate}}":"Tilauksesi uusiutuu {{renewalDate}}","Your subscription will start on {{subscriptionStart}}":"Tilauksesi alkaa {{subscriptionStart}}"},_S={"{{amount}} days free":"{{amount}} jours gratuits","{{amount}} off":"{{amount}} de réduction","{{amount}} off for first {{number}} months.":"{{amount}} de réduction pour les {{number}} premiers mois.","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% de réduction","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"{{memberEmail}} ne recevra plus la newsletter {{newsletterName}}.","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"{{memberEmail}} ne recevra plus d'e-mails lorsque quelqu'un répond à vos commentaires.","{{memberEmail}} will no longer receive this newsletter.":"{{memberEmail}} ne recevra plus cette newsletter.","{{trialDays}} days free":"{{trialDays}} jours gratuits","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Un lien de connexion a été envoyé dans votre boîte de réception. S’il n’arrive pas dans les 3 minutes, vérifiez votre dossier spam.",Account:"Compte","Account settings":"Paramètres du compte","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"À la fin de la période d’essai gratuite, le prix normal de l’abonnement choisi sera facturé. Vous pouvez toujours annuler d’ici là.","Already a member?":"Déjà membre ?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"Une erreur inattendue s'est produite. Veuillez réessayer ou <a>contacter le support</a> si l'erreur persiste.",Back:"Retour","Back to Log in":"Retour à Connexion","Billing info":"Informations sur la facturation","Black Friday":"Black Friday","Cancel anytime.":"Annuler à tout moment.","Cancel subscription":"Annuler l’abonnement","Cancellation reason":"Raison de l’annulation",Change:"Changer","Check spam & promotions folders":"Vérifiez les dossiers de spam et de promotion","Check with your mail provider":"Vérifiez auprès de votre fournisseur d'e-mail",Choose:"Choisir","Choose a different plan":"Choisir un autre abonnement","Choose your newsletters":"Choisir les newsletters","Click here to retry":"Cliquez ici pour réessayer",Close:"Fermer",Comments:"Commentaires",Complimentary:"",Confirm:"Confirmer","Confirm cancellation":"Confirmer l'annulation","Confirm subscription":"Confirmer l'abonnement","Contact support":"Contacter le support",Continue:"Continuer","Continue subscription":"Continuer l'abonnement","Could not sign in. Login link expired.":"Impossible de se connecter. Le lien de connexion a expiré.","Could not update email! Invalid link.":"Impossible de mettre à jour l'e-mail ! Lien invalide.","Create a new contact":"Créer un nouveau contact","Current plan":"Plan actuel","Delete account":"Fermer le compte","Didn't mean to do this? Manage your preferences <button>here</button>.":"Vous ne vouliez pas faire ça ? Gérez vos préférences <button>ici</button>.","Don't have an account?":"Vous n’avez pas encore de compte ?",Edit:"Modifier",Email:"E-mail","Email newsletter":"E-mail de la newsletter","Email preference updated.":"Préférences d’e-mail mises à jour.","Email preferences":"Préférences d’e-mail",Emails:"E-mails","Emails disabled":"E-mails désactivés","Ends {{offerEndDate}}":"Se termine le {{offerEndDate}}",Error:"Erreur","Expires {{expiryDate}}":"Expire le {{expiryDate}}",Forever:"Pour toujours","Free Trial – Ends {{trialEnd}}":"Essai gratuit - Se termine le {{trialEnd}}","Get help":"Obtenir de l’aide","Get in touch for help":"Contactez-nous pour obtenir de l'aide","Get notified when someone replies to your comment":"Soyez notifié lorsque quelqu’un répond à votre commentaire","Give feedback on this post":"Donnez votre avis sur cet article","Help! I'm not receiving emails":"À l'aide ! Je ne reçois pas d'e-mails","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"Si une newsletter est signalée comme étant du spam, les e-mails sont automatiquement désactivés pour cette adresse afin que vous ne receviez plus de messages indésirables.","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"Si vous annulez votre abonnement maintenant, vous continuerez à y avoir accès jusqu'au {{periodEnd}}.","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"Si vous ne recevez pas la newsletter par e-mail à laquelle vous vous êtes abonné, voici quelques points à vérifier.","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Moins de ça",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Gérer",Monthly:"Mensuel","More like this":"Plus de ça",Name:"Nom","Need more help? Contact support":"Besoin d'aide? Contactez le support","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Vous n’avez pas reçu d’e-mails ?","Now check your email!":"Veuillez maintenant vérifier votre boite de réception.","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"Forfait","Plan checkout was cancelled.":"Le paiement du forfait a été annulé.","Plan upgrade was cancelled.":"La mise à niveau du forfait a été annulée.","Please fill in required fields":"Veuillez remplir les champs requis",Price:"Prix","Re-enable emails":"Ré-activer les e-mails","Renews at {{price}}.":"Renouvellement à {{price}}.",Retry:"Réesayer",Save:"Sauvegarder","Send an email and say hi!":"Envoyez un e-mail et dites bonjour !","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Envoi du lien de connexion…","Sending...":"Envoi…","Sign in":"Se connecter","Sign out":"Se déconnecter","Sign up":"S’enregistrer","Signup error: Invalid link":"Erreur d'inscription : lien invalide","Sorry, that didn’t work.":"Désolé, ça n'a pas fonctionné.","Spam complaints":"Plaintes pour spam","Start {{amount}}-day free trial":"Commencer l’essai gratuit de {{amount}} jours","Starting {{startDate}}":"À partir du {{startDate}}","Starting today":"À partir d'aujourd'hui","Submit feedback":"Envoyez votre avis",Subscribe:"S'abonner",Subscribed:"Abonné(e)",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Désabonnement réussi","Thanks for the feedback!":"Merci pour votre avis !","That didn't go to plan":"Cela n’a pas fonctionné comme prévu","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"Il y a eu un problème pour soumettre votre commentaire. Veuillez réessayer un peu plus tard.","This site is invite-only, contact the owner for access.":"Ce site est réservé aux invités, contactez le propriétaire pour y accéder.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Pour confirmer votre inscription, cliquez sur le lien de confirmation envoyé dans votre boite de réception. S’il ne vous parvient pas dans les 3 minutes, vérifiez votre dossier spam.","Try free for {{amount}} days, then {{originalPrice}}.":"Essayez gratuitement pendant {{amount}} jours, puis {{originalPrice}}.","Unlock access to all newsletters by becoming a paid subscriber.":"Débloquez l'accès à toutes les newsletters en devenant un abonné payant.","Unsubscribe from all emails":"Se désinscrire de tous les e-mails",Unsubscribed:"Désabonné(e)","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"La désinscription des e-mails n’annulera pas votre abonnement payant à {{title}}",Update:"Mise à jour","Update your preferences":"Mettez à jour vos préférences","Verify your email address is correct":"Vérifiez que votre adresse e-mail est correcte","View plans":"Voir les plans","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"La désinscription n’a pas fonctionné car votre adresse e-mail n’a pas été trouvée. Merci de contacter le propriétaire du site.","Welcome back, {{name}}!":"Bon retour parmi nous, {{name}} !","Welcome back!":"Bon retour parmi nous !","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"Pourquoi mon e-mail a-t-il été désactivé ?",Yearly:"Annuel","You currently have a free membership, upgrade to a paid subscription for full access.":"Vous avez actuellement un abonnement gratuit, passez à un abonnement payant pour un accès complet.","You have been successfully resubscribed":"Vous avez été réinscrit avec succès","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Vous ne recevez pas d’e-mails parce que vous avez marqué un message récent comme spam, ou parce que les messages n’ont pas pu être livrés à l’adresse e-mail que vous aviez indiquée.","You've successfully signed in.":"Vous vous êtes connecté avec succès.","Your account":"Votre compte","Your input helps shape what gets published.":"Votre avis aide à améliorer ce qui est publié.","Your subscription will expire on {{expiryDate}}":"Votre abonnement expirera le {{expiryDate}}","Your subscription will renew on {{renewalDate}}":"Votre abonnement sera renouvelé le {{renewalDate}}","Your subscription will start on {{subscriptionStart}}":"Votre abonnement débutera le {{subscriptionStart}}"},PS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% kedvezmény","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} nap ingyen","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"A bejelentkezéshez szükséges linket elküldtük a megadott email címre. Ha nem érkezne meg 3 percen belül, kérjük ellenőrizze a spam mappát!",Account:"Fiók","Account settings":"Fiók beállítások","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Az ingyenes próbaidőszak lejárta után a kiválasztott csomag normál díját fogjuk felszámolni. A feliratkozás bármikor ingyenesen lemondható a próbaidőszak alatt.","Already a member?":"Már van fiókja?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Vissza","Back to Log in":"Vissza a bejelentkezéshez","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Feliratkozás megszűntetése","Cancellation reason":"A megszűntetés oka",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Válasszon másik csomagot","Choose your newsletters":"Válassza ki a hírleveleket","Click here to retry":"",Close:"Bezár",Comments:"Kommentek",Complimentary:"",Confirm:"Jóváhgyás","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Folytatás","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Fiók törlése","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Még nincs fiókja?",Edit:"",Email:"Email","Email newsletter":"","Email preference updated.":"Email beállítások elmentve","Email preferences":"Email beállítások",Emails:"Email-ek","Emails disabled":"Email-ek kikapcsolva","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Kérjen segítséget","Get in touch for help":"","Get notified when someone replies to your comment":"Értesítést kérek ha valaki válaszol a kommentemre","Give feedback on this post":"Hogy tetszett ez a cikk?","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Kevesebb ilyet",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Kezelés",Monthly:"Havi","More like this":"Több ilyet",Name:"Név","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Nem érkeznek meg az email-ek?","Now check your email!":"Ellenőrizze az postafiókját","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Ár","Re-enable emails":"Email-ek aktiválása","Renews at {{price}}.":"",Retry:"Újra",Save:"Mentés","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Bejelenkezési link küldése...","Sending...":"Küldés...","Sign in":"Bejelentkezés","Sign out":"","Sign up":"Regisztráció","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"{{amount}} napos próbaidőszak kezdése","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Visszajelzés küldése",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Sikeres leiratkozás","Thanks for the feedback!":"Köszönjük a visszajelzést","That didn't go to plan":"Hiba történt","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"A website csak meghívóval látogatható. Meghívóért lépjen kapcsolatba az oldal tulajdonosával!","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"A regisztráció befejezéséhez kérjük kattintson az email-ben kapott linkre. Ha a link nem érkezne meg 3 percen belül kérjük ellenőrizze a spam mappát.","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Leiratkozás minden email-ről",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Az email-ről történő leiratkozás nem szűnteti meg a fiókját",Update:"","Update your preferences":"Beállítások mentése","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Ehhez az email-hez nem tartozik fiók. Kérjük lépjen kapcsolatba az oldal tulajdonosával.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Éves","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Sikeres feliratkozás","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Azért nem kap email-t mert vagy spam-nek jelölt egy tőlünk kapott hírlevelet, vagy azért mert a megadott email cím nem tud üzeneteket fogadni.","You've successfully signed in.":"","Your account":"Fiók","Your input helps shape what gets published.":"A visszajelzése segít abban, hogy mit publikáljunk","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},jS={"{{amount}} days free":"Gratis {{amount}} hari","{{amount}} off":"Diskon {{amount}}","{{amount}} off for first {{number}} months.":"Diskon {{amount}} untuk {{number}} bulan pertama.","{{amount}} off for first {{period}}.":"Diskon {{amount}} untuk {{period}} pertama.","{{amount}} off forever.":"Diskon {{amount}} selamanya.","{{discount}}% discount":"Diskon {{discount}}%","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"{{memberEmail}} tidak akan menerima buletin {{newsletterName}} lagi.","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"{{memberEmail}} tidak akan lagi menerima email ketika seseorang membalas komentar Anda.","{{memberEmail}} will no longer receive this newsletter.":"{{memberEmail}} tidak akan menerima buletin ini lagi.","{{trialDays}} days free":"Gratis {{trialDays}} hari","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Tautan masuk telah dikirimkan ke kotak masuk Anda. Jika tidak diterima dalam waktu 3 menit, pastikan untuk memeriksa folder spam Anda.",Account:"Akun","Account settings":"Pengaturan akun","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Setelah percobaan gratis berakhir, Anda akan dikenai biaya harga normal untuk tingkatan yang Anda pilih. Anda selalu dapat membatalkannya sebelum itu.","Already a member?":"Sudah menjadi anggota?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"Terjadi kesalahan tak terduga. Harap coba lagi atau <a>hubungi layanan dukungan</a> jika kesalahan tetap berlanjut.",Back:"Kembali","Back to Log in":"Kembali ke Masuk","Billing info":"Info pembayaran","Black Friday":"Black Friday","Cancel anytime.":"Batalkan kapan saja.","Cancel subscription":"Batalkan langganan","Cancellation reason":"Alasan pembatalan",Change:"Ubah","Check spam & promotions folders":"Periksa folder spam & promosi","Check with your mail provider":"Hubungi penyedia layanan email Anda",Choose:"Pilih","Choose a different plan":"Pilih paket yang berbeda","Choose your newsletters":"Pilih buletin Anda","Click here to retry":"Klik di sini untuk mencoba lagi",Close:"Tutup",Comments:"Komentar",Complimentary:"Pemberian gratis",Confirm:"Konfirmasi","Confirm cancellation":"Konfirmasi pembatalan","Confirm subscription":"Konfirmasi langganan","Contact support":"Hubungi layanan dukungan",Continue:"Lanjutkan","Continue subscription":"Lanjutkan berlangganan","Could not sign in. Login link expired.":"Tidak dapat masuk. Tautan untuk masuk telah kedaluwarsa.","Could not update email! Invalid link.":"Tidak dapat memperbarui email! Tautan tidak valid.","Create a new contact":"Buat kontak baru","Current plan":"Paket saat ini","Delete account":"Hapus akun","Didn't mean to do this? Manage your preferences <button>here</button>.":"Tidak bermaksud melakukan ini? Kelola preferensi Anda <button>di sini</button>.","Don't have an account?":"Belum punya akun?",Edit:"Edit",Email:"Email","Email newsletter":"Buletin email","Email preference updated.":"Preferensi email diperbarui.","Email preferences":"Preferensi email.",Emails:"Email","Emails disabled":"Email dinonaktifkan","Ends {{offerEndDate}}":"Berakhir {{offerEndDate}}",Error:"Eror","Expires {{expiryDate}}":"kedaluwarsa {{expiryDate}}",Forever:"Selamanya","Free Trial – Ends {{trialEnd}}":"Percobaan Gratis – Berakhir {{trialEnd}}","Get help":"Dapatkan bantuan","Get in touch for help":"Hubungi untuk mednapatkan bantuan","Get notified when someone replies to your comment":"Dapatkan pemberitahuan ketika seseorang menjawab komentar Anda","Give feedback on this post":"Berikan masukan pada postingan ini","Help! I'm not receiving emails":"Tolong! Saya tidak menerima email","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"Jika buletin ditandai sebagai spam, email secara otomatis dinonaktifkan untuk alamat tersebut guna memastikan Anda tidak lagi menerima pesan yang tidak diinginkan.","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"Jika keluhan spam tersebut tidak disengaja, atau Anda ingin mulai menerima email lagi, Anda dapat berlangganan kembali untuk menerima email dengan mengklik tombol di layar sebelumnya.","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"Jika Anda membatalkan langganan sekarang, Anda akan tetap memiliki akses hingga {{periodEnd}}.","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"Jika Anda memiliki akun email perusahaan atau pemerintah, hubungi departemen IT Anda dan mintalah mereka untuk mengizinkan pengiriman email dari {{senderEmail}} diterima.","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"Jika Anda ingin mulai menerima email lagi, langkah-langkah terbaik selanjutnya adalah memeriksa alamat email Anda pada data yang tersimpan untuk memastikan tidak ada masalah, kemudian klik tombol 'berlangganan kembali' pada layar sebelumnya.","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"Jika Anda tidak menerima buletin email langganan Anda, berikut adalah beberapa hal yang perlu diperiksa.","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"Jika Anda telah melakukan semua pemeriksaan tersebut dan masih belum menerima email, Anda dapat menghubungi kami melalui kontak {{supportAddress}} untuk mendapatkan bantuan.","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"Jika terjadi kegagalan permanen saat mencoba mengirim buletin, email akan dinonaktifkan pada akun tersebut.","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"Pada klien email Anda, tambahkan {{senderEmail}} ke daftar kontak Anda. Hal ini akan memberikan sinyal kepada layanan email Anda bahwa email yang dikirim dari alamat ini harus dipercaya.","Less like this":"Kurangi yang seperti ini",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':'Pastikan email tidak berakhir di kotak masuk Spam atau Promosi Anda secara tidak sengaja. Jika ya, klik "Tandai sebagai bukan spam" dan/atau "Pindahkan ke kotak masuk".',Manage:"Kelola",Monthly:"Bulanan","More like this":"Lebih banyak yang seperti ini",Name:"Nama","Need more help? Contact support":"Perlu bantuan lebih lanjut? Hubungi layanan dukungan","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"Buletin dapat dinonaktifkan pada akun Anda dengan dua alasan: Email sebelumnya ditandai sebagai spam, atau percobaan pengiriman email menghasilkan kegagalan permanen (bounce).","Not receiving emails?":"Tidak menerima email?","Now check your email!":"Sekarang periksa email Anda!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"Setelah berlangganan kembali, jika Anda masih tidak melihat email di kotak masuk Anda, periksa folder spam. Beberapa penyedia layanan kotak masuk menyimpan catatan keluhan spam sebelumnya dan akan terus menandai email tersebut. Jika hal ini terjadi, tandai buletin terbaru sebagai 'Bukan spam' untuk memindahkannya kembali ke kotak masuk utama Anda.","Permanent failure (bounce)":"Kegagalan permanen (bounce)",Plan:"Paket","Plan checkout was cancelled.":"Pembayaran paket dibatalkan.","Plan upgrade was cancelled.":"Peningkatan paket dibatalkan.","Please fill in required fields":"Harap isi kolom yang wajib diisi",Price:"Harga","Re-enable emails":"Aktifkan kembali email","Renews at {{price}}.":"Perpanjang dengan harga {{price}}",Retry:"Coba lagi",Save:"Simpan","Send an email and say hi!":"Kirimkan email dan ucapan hai!","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"Kirim email ke {{senderEmail}} dan ucapan halo. Hal ini juga dapat membantu memberi sinyal kepada penyedia layanan email Anda bahwa email yang dikirim ke dan dari alamat ini harus dipercaya.","Sending login link...":"Mengirim tautan masuk...","Sending...":"Mengirim...","Sign in":"Masuk","Sign out":"Keluar","Sign up":"Daftar","Signup error: Invalid link":"Kesalahan pendaftaran: Tautan tidak valid","Sorry, that didn’t work.":"Maaf, itu tidak berhasil.","Spam complaints":"Keluhan spam","Start {{amount}}-day free trial":"Mulai percobaan gratis selama {{amount}} hari","Starting {{startDate}}":"Dimulai pada {{startDate}}.","Starting today":"Dimulai hari ini","Submit feedback":"Kirim masukan",Subscribe:"Berlangganan",Subscribed:"Telah berlangganan",Success:"Berhasil","Success! Check your email for magic link to sign-in.":"Berhasil! Periksa email Anda untuk mendapatkan tautan ajaib untuk masuk.","Success! Your account is fully activated, you now have access to all content.":"Berhasil! Akun Anda telah diaktifkan sepenuhnya, sekarang Anda memiliki akses ke semua konten.","Success! Your email is updated.":"Berhasil! Email Anda telah diperbarui.","Successfully unsubscribed":"Berhasil berhenti berlangganan","Thanks for the feedback!":"Terima kasih atas masukannya!","That didn't go to plan":"Itu tidak berjalan sesuai rencana","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"Alamat email Anda yang kami miliki adalah {{memberEmail}} — jika itu tidak benar, Anda dapat memperbarui di <button>area pengaturan akun</button> Anda.","There was a problem submitting your feedback. Please try again a little later.":"Terjadi masalah saat mengirimkan masukan Anda. Coba lagi nanti.","This site is invite-only, contact the owner for access.":"Situs ini hanya untuk yang diundang, hubungi pemiliknya untuk mendapatkan akses.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Untuk menyelesaikan pendaftaran, klik tautan konfirmasi di kotak masuk Anda. Jika tidak diterima dalam waktu 3 menit, pastikan untuk memeriksa folder spam Anda!","Try free for {{amount}} days, then {{originalPrice}}.":"Coba gratis selama {{amount}} hari, kemudian {{originalPrice}}.","Unlock access to all newsletters by becoming a paid subscriber.":"Buka akses ke semua buletin dengan menjadi pelanggan berbayar.","Unsubscribe from all emails":"Berhenti berlangganan dari semua email",Unsubscribed:"Tidak berlangganan","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Berhenti berlangganan dari email tidak akan membatalkan langganan berbayar Anda ke {{title}}",Update:"Perbarui","Update your preferences":"Perbarui preferensi Anda","Verify your email address is correct":"Verifikasi bahwa alamat email Anda benar","View plans":"Lihat paket","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Kami tidak dapat menghentikan langganan Anda karena alamat email tidak ditemukan. Harap hubungi pemilik situs.","Welcome back, {{name}}!":"Selamat datang kembali, {{name}}!","Welcome back!":"Selamat datang kembali!","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"Ketika sebuah kotak masuk gagal menerima sebuah email, hal tersebut umumnya disebut sebagai bounce. Dalam banyak kasus, ini bisa bersifat sementara. Namun, dalam beberapa kasus, email yang terbounce dapat dikembalikan sebagai kegagalan permanen ketika alamat email yang dituju tidak valid atau tidak ada.","Why has my email been disabled?":"Mengapa email saya dinonaktifkan?",Yearly:"Tahunan","You currently have a free membership, upgrade to a paid subscription for full access.":"Saat ini Anda memiliki keanggotaan gratis, tingkatkan ke langganan berbayar untuk akses penuh","You have been successfully resubscribed":"Anda telah berhasil berlangganan kembali","You're currently not receiving emails":"Anda saat ini tidak menerima email.","You're not receiving emails":"Anda tidak menerima email.","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Anda tidak menerima email karena Anda telah menandai pesan terbaru sebagai spam, atau karena pesan tidak dapat dikirimkan ke alamat email yang Anda berikan.","You've successfully signed in.":"Anda telah berhasil masuk.","Your account":"Akun Anda","Your input helps shape what gets published.":"Masukan Anda membantu membentuk apa yang dipublikasikan.","Your subscription will expire on {{expiryDate}}":"Langganan Anda akan berakhir pada {{expiryDate}}","Your subscription will renew on {{renewalDate}}":"Langganan Anda akan diperpanjang pada {{renewalDate}}","Your subscription will start on {{subscriptionStart}}":"Langganan Anda akan dimulai pada {{subscriptionStart}}"},NS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% di sconto","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} giorni gratis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Un link di accesso è stato inviato alla tua casella di posta. Se non la ricevi entro 3 minuti, controlla nella posta indesiderata.",Account:"Account","Account settings":"Impostazioni account","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Al termine della prova gratuita, ti verrà addebitato il prezzo regolare del livello scelto. Puoi sempre annullare prima della fine della prova gratuita.","Already a member?":"Sei già iscritto?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Indietro","Back to Log in":"Torna al Log-in","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Cancella l'abbonamento","Cancellation reason":"Motivo della cancellazione",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Scegli un piano differente","Choose your newsletters":"Scegli la tua newsletter","Click here to retry":"",Close:"Chiudi",Comments:"Commenti",Complimentary:"",Confirm:"Conferma","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Continua","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Cancella account","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Non hai un account?",Edit:"",Email:"Email","Email newsletter":"","Email preference updated.":"Impostazioni email aggiornate.","Email preferences":"Impostazioni email",Emails:"Email","Emails disabled":"Email disattivate","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Chiedi aiuto","Get in touch for help":"","Get notified when someone replies to your comment":"Ricevi una notifica quando qualcuno risponde ad un tuo commento","Give feedback on this post":"Manda un feedback per questo post","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Meno come questo",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Gestisci",Monthly:"Mensile","More like this":"Più come questo",Name:"Nome","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Non ricevi le email?","Now check your email!":"Ora controlla la tua email!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Prezzo","Re-enable emails":"Attiva nuovamente le email","Renews at {{price}}.":"",Retry:"Riprova",Save:"Salva","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Invio link di accesso...","Sending...":"Invio...","Sign in":"Accedi","Sign out":"","Sign up":"Iscriviti","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Inizia i {{amount}} giorni di prova gratuita","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Invia feedback",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Cancellazione effettuata con successo","Thanks for the feedback!":"Grazie per i feedback!","That didn't go to plan":"Questo non era previsto","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Questo sito è accessibile solo su invito, contatta il proprietario per poter accedere.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Per completare l'accesso, clicca il link di conferma inviato alla tua email. Se non lo ricevi entro 3 minuti, controlla nella posta indesiderata!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Cancella l'iscrizione da tutte le email",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"L'annullamento dell'iscrizione alle email non annullerà l'abbonamento a {{title}}",Update:"","Update your preferences":"Aggiorna le tue preferenze","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Non è stato possibile annullare l'iscrizione poiché l'indirizzo email non è stato trovato. Si prega di contattare il proprietario del sito.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Annuale","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Iscrizione effettuata con successo","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Non ricevi email perché hai contrassegnato un messaggio recente come spam o perché non è stato possibile recapitare i messaggi all'indirizzo email fornito.","You've successfully signed in.":"","Your account":"Il tuo account","Your input helps shape what gets published.":"Il tuo contributo aiuta a dare forma a ciò che viene pubblicato.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},TS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% 할인","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}}일 무료","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"로그인 링크가 이메일로 전송되었습니다. 3분 내에 도착하지 않으면 스팸 폴더를 확인해주세요.",Account:"계정","Account settings":"계정 설정","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"무료 체험이 종료되면 선택한 요금제의 정상 가격이 청구됩니다. 그 전에 언제든지 취소할 수 있습니다.","Already a member?":"이미 회원이신가요?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"뒤로","Back to Log in":"로그인으로 돌아가기","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"구독 취소","Cancellation reason":"취소 사유",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"다른 요금제 선택","Choose your newsletters":"뉴스레터 선택","Click here to retry":"",Close:"닫기",Comments:"댓글",Complimentary:"",Confirm:"확인","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"계속","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"계정 삭제","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"계정이 없으신가요?",Edit:"",Email:"이메일","Email newsletter":"","Email preference updated.":"이메일 기본 설정이 업데이트되었습니다.","Email preferences":"이메일 설정",Emails:"이메일","Emails disabled":"이메일 사용 중지됨","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"도움말 받기","Get in touch for help":"","Get notified when someone replies to your comment":"댓글에 대한 답변이 올라오면 알림 받기","Give feedback on this post":"이 게시물에 대한 의견 제공하기","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"비슷한 게시물 줄이기",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"관리",Monthly:"월간","More like this":"비슷한 게시물 더 보기",Name:"이름","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"이메일을 받지 못하고 계신가요?","Now check your email!":"지금 이메일을 확인해주세요!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"가격","Re-enable emails":"이메일 재활성화","Renews at {{price}}.":"",Retry:"다시 시도",Save:"저장","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"로그인 링크 전송 중...","Sending...":"전송 중...","Sign in":"로그인","Sign out":"","Sign up":"가입하기","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"{{amount}}일 동안의 무료 체험 시작","Starting {{startDate}}":"","Starting today":"","Submit feedback":"의견 제출",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"구독이 성공적으로 취소되었습니다","Thanks for the feedback!":"의견을 보내주셔서 감사합니다!","That didn't go to plan":"계획대로 진행되지 않았습니다","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"위 사이트는 초대된 사용자만 사용이 가능합니다. 접근을 위해서는 관리자에게 연락하세요.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"가입을 완료하려면 이메일의 확인 링크를 클릭하세요. 3분 이내에 도착하지 않으면 스팸 폴더를 확인해주세요!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"모든 이메일 구독 취소",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"이메일 구독 취소는 {{title}}에 대한 유료 구독을 취소하지 않습니다",Update:"","Update your preferences":"설정 업데이트","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"이메일 주소를 찾을 수 없어 구독을 취소할 수 없습니다. 사이트 관리자에게 문의하세요.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"연간","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"성공적으로 재구독되었습니다","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"최근 메시지를 스팸으로 표시했거나 메시지를 제공된 이메일 주소로 전달할 수 없어 이메일을 받지 못하고 계십니다.","You've successfully signed in.":"","Your account":"계정","Your input helps shape what gets published.":"귀하의 의견은 게시물을 제공하기 위해 큰 도움이 됩니다.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},IS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% хямдрал","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} өдөр үнэгүй","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Таны имэйл рүү нэвтрэх холбоосыг илгээлээ. Хэрвээ 3 минутын дотор ирэхгүй бол спамаа шалгана уу.",Account:"Бүртгэл","Account settings":"Бүртгэлийн тохиргоо","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Үнэгүй туршилтын хугацаа дуусахад таны данснаас сонгосон багцын үнэ хасагдана. Гэвч та өмнө нь цуцлах боломжтой.","Already a member?":"Бүртгэлтэй юу?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Буцах","Back to Log in":"Нэвтрэх хэсэг рүү буцах","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Захиалгаа цуцлах","Cancellation reason":"Цуцалсан шалтгаан",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Өөр багц сонгох","Choose your newsletters":"Товхимолоо сонгох","Click here to retry":"",Close:"Хаах",Comments:"Сэтгэгдлүүд",Complimentary:"",Confirm:"Баталгаажуулах","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Үргэлжлүүлэх","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Бүртгэлээ устгах","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Бүргэлгүй юу?",Edit:"",Email:"Имэйл","Email newsletter":"","Email preference updated.":"Имэйлийн тохиргоо шинэчлэгдлээ.","Email preferences":"Имэйлийн тохиргоо",Emails:"Имэйлүүд","Emails disabled":"Имэйлийг идэхгүй болгосон","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Тусламж","Get in touch for help":"","Get notified when someone replies to your comment":"Хэн нэгэн таны сэтгэгдэлд хариу бичих үед мэдэгдэх","Give feedback on this post":"Энэ нийтлэлд саналаа өгөх","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Таалагдсангүй",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Удирдах",Monthly:"Сарын","More like this":"Таалагдлаа",Name:"Нэр","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Имэйл ирээгүй юу?","Now check your email!":"Одоо имэйлээ шалгана уу!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Үнэ","Re-enable emails":"Имэйлийг дахин идэвхжүүлэх","Renews at {{price}}.":"",Retry:"Дахин оролдох",Save:"Хадгалах","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Нэвтрэх холбоосыг илгээж байна...","Sending...":"Илгээж байна...","Sign in":"Нэвтрэх","Sign out":"","Sign up":"Бүртгүүлэх","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"{{amount}} өдрийн үнэгүй туршилтыг эхлүүлэх","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Саналаа илгээх",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Захиалгыг амжилттай цуцаллаа","Thanks for the feedback!":"Саналаа илгээсэнд баярлалаа!","That didn't go to plan":"","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Энэхүү сайт руу зөвхөн урилгаар нэвтрэх боломжтой тул та админд нь хандана уу.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Тан руу илгээсэн баталгаажуулах холбоос дээр дарж бүртгэлээ дуусгана уу. Хэрвээ 3 минутын дотор ирэхгүй бол спамаа шалгана уу!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Бүх имэйлийг зогсоох",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Имэйлийг зогсоосон ч таны {{title}} төлбөртэй захиалга цуцлагдахгүй",Update:"","Update your preferences":"Тохиргоогоо шинэчлэх","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Энэхүү имэйл хаяг олдоогүй учир захиалгыг цуцлах боломжгүй. Та сайтын админд хандана уу.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Жилийн","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Таны захиалга амжилттай дахин идэвхжлээ","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Таны имэйл хүлээж авахгүй байгаа шалтгаан нь нэг бол та аль нэг имэйлийг спам гэж тэмдэглэсэн, эсвэл таны хаяг имэйл хүлээж авах боломжгүй байна.","You've successfully signed in.":"","Your account":"Таны бүртгэл","Your input helps shape what gets published.":"Таны санал дараа дараагийн нийтлэлийг илүү чанартай болгоход туслана","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},DS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% korting","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} dagen gratis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Je hebt een email met een login link ontvangen. Check je spamfolder als hij niet binnen de 3 minuten aankomt.",Account:"Account","Account settings":"Gegevens","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Na de proefperiode zal het normale tarief in rekening worden gebracht voor het door jou gekozen abonnement.","Already a member?":"Al lid?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Terug","Back to Log in":"Terug naar inloggen","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Abonnement opzeggen","Cancellation reason":"Reden voor opzegging",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Kies een ander abonnement","Choose your newsletters":"Kies jouw nieuwsbrieven","Click here to retry":"",Close:"Sluiten",Comments:"Reacties",Complimentary:"",Confirm:"Bevestigen","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Doorgaan","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Account verwijderen","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Heb je nog geen account?",Edit:"",Email:"E-mail","Email newsletter":"","Email preference updated.":"E-mailinstellingen aanpassen","Email preferences":"E-mailinstellingen",Emails:"E-mails","Emails disabled":"E-mails zijn uitgeschakeld","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Lees meer","Get in touch for help":"","Get notified when someone replies to your comment":"Blijf op de hoogte als iemand op jouw reactie reageert","Give feedback on this post":"Deel je mening over dit artikel","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Minder hiervan",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Beheer",Monthly:"Maandelijks","More like this":"Meer hiervan",Name:"Naam","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Ontvang je geen e-mails?","Now check your email!":"Bekijk nu jouw e-mails!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Prijs","Re-enable emails":"E-mails weer inschakelen","Renews at {{price}}.":"",Retry:"Opnieuw proberen",Save:"Opslaan","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Inloglink versturen...","Sending...":"Versturen...","Sign in":"Inloggen","Sign out":"","Sign up":"Registreren","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Start gratis je {{amount}}-daagse proefperiode","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Deel je feedback",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Succesvol uitgeschreven","Thanks for the feedback!":"Bedankt voor je feedback!","That didn't go to plan":"Er ging iets mis","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Deze site is alleen toegankelijk op uitnodiging, neem contact op met de eigenaar.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Klik op de bevestigingslink in de e-mail om je registratie af te ronden. Check ook je spamfolder als hij niet binnen de 3 minuten aankomt.","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Uitschrijven voor alles",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Je betaalde abonnement voor {{title}} wordt niet geannuleerd als je je uitschrijft voor e-mails",Update:"","Update your preferences":"Voorkeuren aanpassen","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Het is niet gelukt om je uit te schrijven, omdat je e-mailadres niet is gevonden. Neem contact met ons op.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Jaarlijks","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Je bent weer succesvol geabonneerd","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Je ontvangt geen e-mails omdat je ofwel een recent bericht als spam had gemarkeerd, of omdat de berichten niet verzonden konden worden naar jouw e-mailadres.","You've successfully signed in.":"","Your account":"Jouw account","Your input helps shape what gets published.":"Jouw mening helpt bepalen wat er gepubliceerd wordt.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},AS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% rabatt","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} dager gratis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"En påloggingslenke har blitt sendt til innboksen din. Hvis den ikke kommer innen 3 minutter, må du sjekke søppelposten din.",Account:"Konto","Account settings":"Kontoinnstillinger","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Etter at en gratis prøveperiode er over, vil du bli belastet den vanlige prisen for nivået du har valgt. Du kan alltid avbryte før det.","Already a member?":"Allerede medlem?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Tilbake","Back to Log in":"Tilbake til innlogging","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Avbryt abonnement","Cancellation reason":"Grunn til avbryting",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Velg et annet nivå","Choose your newsletters":"Velg dine nyhetsbrev","Click here to retry":"",Close:"Lukk",Comments:"Kommentarer",Complimentary:"",Confirm:"Bekreft","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Fortsett","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Slett konto","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Har du ikke konto?",Edit:"",Email:"Epost","Email newsletter":"","Email preference updated.":"Innstillinger for epost oppdatert","Email preferences":"Innstillinger for epost",Emails:"Epost","Emails disabled":"Epost deaktivert","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Få hjelp","Get in touch for help":"","Get notified when someone replies to your comment":"Få varsel dersom noen svarer på kommentaren din","Give feedback on this post":"Gi tilbakemelding på dette innlegget","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Mindre som dette",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Administrer",Monthly:"Månedlig","More like this":"Mer som dette",Name:"Navn","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Mottar du ikke epost?","Now check your email!":"Sjekk eposten din!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Pris","Re-enable emails":"Re-aktiver epost","Renews at {{price}}.":"",Retry:"Prøv på nytt",Save:"Lagre","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Sender påloggingslenke","Sending...":"Sender...","Sign in":"Logg inn","Sign out":"","Sign up":"Opprett bruker","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Start gratis prøveperiode på {{amount}} dager","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Send tilbakemelding",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Avmelding vellykket","Thanks for the feedback!":"Takk for tilbakemeldingen!","That didn't go to plan":"Det gikk ikke som planlagt","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Denne siten er kun fo inviterte. Kontakt eieren for invitasjon.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"For å fullføre registreringen, klikk på bekreftelseslenken i innboksen din. Hvis den ikke kommer innen 3 minutter, må du sjekke søppelposten din!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Meld deg av mottak av all epost",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Å melde seg av e-poster vil ikke avbryte abonnementet ditt på {{title}}",Update:"","Update your preferences":"Oppdater dine valg","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Vi kunne ikke melde deg av siden e-postadressen ikke ble funnet. Vennligst kontakt nettstedseieren.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Årlig","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Du har blitt meldt på igjen","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Du mottar ikke e-post fordi du enten nylig har merket en melding som spam, eller fordi meldinger ikke kunne leveres til den oppgitte e-postadressen din.","You've successfully signed in.":"","Your account":"Din konto","Your input helps shape what gets published.":"Din tilbakemelding bidrar til å forme hva som blir publisert.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},MS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"Rabat {{discount}}%","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} darmowych dni","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Link do logowania został wysłany do twojej skrzynki odbiorczej. Jeśli nie dotrze w ciągu 3 minut, sprawdź swój folder spamu.",Account:"Konto","Account settings":"Ustawienia konta","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Po zakończeniu okresu próbnego zostanie naliczona regularna opłata za wybrany poziom subskrypcji. Zawsze możesz anulować subskrypcję zanim to nastąpi.","Already a member?":"Masz już konto?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Wstecz","Back to Log in":"Wróć do logowania","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Anuluj subskrypcję","Cancellation reason":"Powód anulowania",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Wybierz inny plan","Choose your newsletters":"Wybierz swoje newslettery","Click here to retry":"",Close:"Zamknij",Comments:"Komentarze",Complimentary:"",Confirm:"Potwierdź","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Dalej","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Skasuj konto","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Nie masz jeszcze konta?",Edit:"",Email:"Email","Email newsletter":"","Email preference updated.":"Ustawienia email zaktualizowane","Email preferences":"Ustawienia email",Emails:"Emaile","Emails disabled":"Wysyłanie emaili zablokowane","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Uzyskaj pomoc","Get in touch for help":"","Get notified when someone replies to your comment":"Otrzymaj powiadomienie gdy ktoś odpowie na twój komentarz","Give feedback on this post":"Oceń ten wpis","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Mniej podobnych",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Zarządzaj",Monthly:"Miesięcznie","More like this":"Więcej podobnych",Name:"Imię i nazwisko","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Nie dostajesz emaili?","Now check your email!":"Teraz sprawdź swoją pocztę!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Cena","Re-enable emails":"Włącz ponownie emaile","Renews at {{price}}.":"",Retry:"Powtórz",Save:"Zapisz","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Wysyłanie linku do logowania...","Sending...":"Wysyłanie...","Sign in":"Zaloguj się","Sign out":"","Sign up":"Zarejestruj się","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Rozpocznij {{amount}}-dniowy okres próbny","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Wyślij ocenę",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Wypisanie udane","Thanks for the feedback!":"Dziękujemy za ocenę!","That didn't go to plan":"Coś poszło nie tak","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Ta strona jest tylko na zaproszenie, skontaktuj się z właścicielem aby uzyskać dostęp.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Aby dokończyć rejestrację, kliknij w link przesłany na twoją skrzynkę pocztową. Jeśli nie dotrze on w ciągu 3 minut, sprawdź folder spamu!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Wypisz się w wszystkich emaili",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Wypisanie się z otrzymywania emaili nie powoduje anulowania płatnej subskrypcji {{title}}",Update:"","Update your preferences":"Zaktualizuj preferencje","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Nie udało się wypisać, bo nie znaleziono adresu email. Skontaktuj się w właścicielem strony.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Rocznie","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Zostałeś ponownie zapisany","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Nie otrzymujesz powiadomień email, ponieważ oznaczyłeś ostatnią wiadomość jako spam lub nie udało się dostarczyć wiadomości na podany adres email.","You've successfully signed in.":"","Your account":"Twoje konto","Your input helps shape what gets published.":"Twoja ocena pomoże nam lepiej kształtować nasz publikacje.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},RS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% de desconto","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} dias grátis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Um link de acesso foi enviado para o teu email. Se o email não chegar dentro de 3 minutos, verifica a pasta de spam/lixo do teu email.",Account:"Conta","Account settings":"Definições de conta","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Após o fim do teste grátis, será cobrado o valor normal para o nível escolhido. Podes sempre cancelar até esse momento para evitar ser cobrado.","Already a member?":"Já és membro?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Voltar","Back to Log in":"Voltar ao login","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Cancelar subscrição","Cancellation reason":"Motivo para o cancelamento",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Escolhe um plano diferente","Choose your newsletters":"Escolhe as tuas newsletters","Click here to retry":"",Close:"Fechar",Comments:"Comentários",Complimentary:"",Confirm:"Confirmar","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Continuar","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Eliminar a conta","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Não tens conta?",Edit:"",Email:"Email","Email newsletter":"","Email preference updated.":"Preferências de email atualizadas.","Email preferences":"Preferências de email",Emails:"Emails","Emails disabled":"Email desativado","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Obter ajuda","Get in touch for help":"","Get notified when someone replies to your comment":"Ser notificado quando alguém responde a um comentário teu","Give feedback on this post":"Dar feedback a este artigo","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Menos como este",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Gerir",Monthly:"Mensalmente","More like this":"Mais como este",Name:"Nome","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Não recebes os emails?","Now check your email!":"Verifica o teu email agora!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Preço","Re-enable emails":"Reativar emails","Renews at {{price}}.":"",Retry:"Tentar novamente",Save:"Guardar","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"A enviar link de acesso...","Sending...":"A enviar...","Sign in":"Entrar","Sign out":"","Sign up":"Registar","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Iniciar teste de {{amount}} dias","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Enviar feedback",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Subscrição cancelada com sucesso","Thanks for the feedback!":"Obrigado pelo teu feedback!","That didn't go to plan":"Algo não correu como planeado","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"O acesso a este site é feito apenas por convite. Entra em contacto com o proprietário para teres acesso.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Para completar o registo, clica no link de confirmação enviado para o teu email. Se não o receberes dentro de 3 minutos, verifica a pasta de spam/lixo do teu email!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Cancelar subscrição de todos os emails",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Cancelar a subscrição dos emails não irá cancelar a tua subscrição paga em {{title}}",Update:"","Update your preferences":"Atualizar as tuas preferências","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Não conseguimos cancelar a tua subscrição, uma vez que o endereço de email não foi encontrado. Por favor contacta o proprietário do site.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Anualmente","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"A tua subscrição foi renovada com sucesso","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Não estás a receber emails porque marcaste recentemente uma das nossas mensagens como spam, ou porque as mensagens não puderam ser entregues no endereço de email indicado.","You've successfully signed in.":"","Your account":"A tua conta","Your input helps shape what gets published.":"O teu feedback ajuda a decidir o conteúdo que será publicado no futuro.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},OS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% de desconto","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} dias grátis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Um link de acesso foi enviado para o seu e-mail. Se a mensagem não chegar dentro de 3 minutos, verifique sua pasta de spam.",Account:"Conta","Account settings":"Configurações de conta","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Quando o teste grátis acabar, será cobrado o preço normal do plano que você escolheu. Você sempre pode cancelar antes.","Already a member?":"Já é membro?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Voltar","Back to Log in":"Voltar para login","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Cancelar inscrição","Cancellation reason":"Motivo do cancelamento",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Escolher um plano diferente","Choose your newsletters":"Escolher suas newsletters","Click here to retry":"",Close:"Fechar",Comments:"Comentários",Complimentary:"",Confirm:"Confirmar","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Continuar","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Excluir conta","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Não tem uma conta?",Edit:"",Email:"E-mail","Email newsletter":"","Email preference updated.":"Preferências de e-mail atualizadas.","Email preferences":"Preferências de e-mail",Emails:"E-mails","Emails disabled":"E-mails desativados","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Obter ajuda","Get in touch for help":"","Get notified when someone replies to your comment":"Receber notificação quando alguém responder seu comentário","Give feedback on this post":"Enviar feedback sobre esta postagem","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Menos como este",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Gerenciar",Monthly:"Mensal","More like this":"Mais como este",Name:"Nome","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Não está recebendo e-mails?","Now check your email!":"Agora veja seu e-mail!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Preço","Re-enable emails":"Reativar e-mails","Renews at {{price}}.":"",Retry:"Tentar de novo",Save:"Salvar","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Enviando link de acesso...","Sending...":"Enviando...","Sign in":"Entrar","Sign out":"","Sign up":"Cadastrar","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Começar teste grátis de {{amount}} dias","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Enviar avaliação",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Inscrição cancelada com sucesso","Thanks for the feedback!":"Obrigado pela avaliação!","That didn't go to plan":"Algo não saiu como planejado","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Este site é apenas para convidados. Contate o proprietário para obter acesso.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Para completar o cadastro, clique no link de confirmação enviado para sua caixa de entrada. Se o link não chegar detro de 3 minutos, confira a pasta de spam!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Cancelar inscrição em todos os e-mails",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Cancelar a inscrição nos e-mails não cancelará sua assinatura paga em {{title}}",Update:"","Update your preferences":"Atualizar preferências","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Não conseguimos cancelar sua inscrição já que o e-mail não foi encontrado. Por favor, entre em contato com o proprietário do site.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Anualmente","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Você foi reinscrito com sucesso","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Você não está recebendo e-mails porque, ou classificou uma mensagem recente como spam, ou as mensagens não puderam ser entregues no endereço de e-mail que você forneceu.","You've successfully signed in.":"","Your account":"Sua conta","Your input helps shape what gets published.":"Sua resposta ajuda a moldar o que será publicado.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},LS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"Reducere de {{discount}}%","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} zile gratuite","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Un link de autentificare a fost trimis în inbox-ul tău. Dacă nu ajunge în 3 minute, asigură-te că verifici folderul de spam.",Account:"Cont","Account settings":"Setări cont","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"După ce expiră perioada de încercare gratuită, vei fi taxat la prețul obișnuit pentru nivelul pe care l-ai ales. Poți anula în orice moment înainte de aceasta.","Already a member?":"Ești deja membru?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Înapoi","Back to Log in":"Înapoi la Autentificare","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Anulează abonamentul","Cancellation reason":"Motivul anulării",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Alege un plan diferit","Choose your newsletters":"Alege-ți newsletterele","Click here to retry":"",Close:"Închide",Comments:"Comentarii",Complimentary:"",Confirm:"Confirmă","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Continuă","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Șterge contul","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Nu ai un cont?",Edit:"",Email:"Email","Email newsletter":"","Email preference updated.":"Preferințele de email au fost actualizate.","Email preferences":"Preferințe de email",Emails:"Emailuri","Emails disabled":"Emailuri dezactivate","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Obține ajutor","Get in touch for help":"","Get notified when someone replies to your comment":"Primește notificare când cineva răspunde la comentariul tău","Give feedback on this post":"Oferă feedback despre acest articol","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Mai puțin de genul acesta",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Administrează",Monthly:"Lunar","More like this":"Mai multe de genul acesta",Name:"Nume","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Nu primești emailuri?","Now check your email!":"Acum verifică-ți emailul!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Preț","Re-enable emails":"Activează din nou emailurile","Renews at {{price}}.":"",Retry:"Reîncearcă",Save:"Salvează","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Se trimite link-ul de autentificare...","Sending...":"Se trimite...","Sign in":"Autentificare","Sign out":"","Sign up":"Înregistrare","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Începe perioada gratuită de {{amount}} zile","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Trimite feedback",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Dezabonare realizată cu succes","Thanks for the feedback!":"Mulțumim pentru feedback!","That didn't go to plan":"Asta nu a mers conform planului","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Acest site este disponibil doar pe bază de invitație, contactează proprietarul pentru acces.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Pentru a finaliza înregistrarea, apasă pe link-ul de confirmare din inbox-ul tău. Dacă nu ajunge în 3 minute, verifică folderul de spam!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Dezabonează-te de la toate emailurile",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Dezabonarea de la emailuri nu va anula abonamentul plătit la {{title}}",Update:"","Update your preferences":"Actualizează-ți preferințele","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Nu am putut să te dezabonăm deoarece adresa de email nu a fost găsită. Te rugăm să contactezi proprietarul site-ului.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Anual","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Te-ai reabonat cu succes","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Nu primești emailuri deoarece fie ai marcat un mesaj recent ca spam, fie pentru că mesajele nu pot fi livrate la adresa ta de email furnizată.","You've successfully signed in.":"","Your account":"Contul tău","Your input helps shape what gets published.":"Contribuția ta ajută la conturarea a ceea ce se publică.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},zS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"Скидка {{discount}}%","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} дня(-ей) бесплатно","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Ссылка для входа была отправлена вам на email. Если письмо долго не приходит, проверьте папку Спам.",Account:"Аккаунт","Account settings":"Настройки аккаунта","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"После окончания бесплатного периода с вас будут взиматься регулярные платежи по выбранному тарифу. До этого момента вы можете отменить подписку в любое время.","Already a member?":"Уже есть аккаунт?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Назад","Back to Log in":"Вернуться ко входу","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Отменить подписку","Cancellation reason":"Причина отмены",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Выберите другой план","Choose your newsletters":"Выберите рассылки","Click here to retry":"",Close:"Закрыть",Comments:"Комментарии",Complimentary:"",Confirm:"Подтвердить","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Продолжить","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Удалить аккаунт","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"У вас нет аккаунта?",Edit:"",Email:"Email","Email newsletter":"","Email preference updated.":"Настройки электронной почты обновлены.","Email preferences":"Настройки электронной почты",Emails:"Письма","Emails disabled":"Письма отключены","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Получить помощь","Get in touch for help":"","Get notified when someone replies to your comment":"Оповещать, когда кто-то отвечает на ваш комментарий","Give feedback on this post":"Оставить отзыв на эту публикацию","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Меньше подобного",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Управление",Monthly:"Ежемесячно","More like this":"Больше подобного",Name:"Имя","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Не получаете письма?","Now check your email!":"Теперь проверьте свою электронную почту!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Цена","Re-enable emails":"Снова включить письма","Renews at {{price}}.":"",Retry:"Повторить попытку",Save:"Сохранить","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Отправка ссылки для входа...","Sending...":"Отправка...","Sign in":"Войти","Sign out":"","Sign up":"Зарегистрироваться","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Начать {{amount}}-дневный пробный период","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Отправить отзыв",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Подписка успешно отменена","Thanks for the feedback!":"Спасибо за отзыв!","That didn't go to plan":"Что-то пошло не так","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Этот сайт доступен только по приглашениям, свяжитесь с владельцем для получения доступа.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Чтобы завершить регистрацию, нажмите на ссылку подтверждения в вашем почтовом ящике. Если она не придет в течение 3 минут, проверьте папку Спам!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Отписаться от всех писем",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Отключение рассылки не отменит вашу платную подписку на {{title}}",Update:"","Update your preferences":"Обновить настройки","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Мы не смогли отменить вашу подписку, так как адрес электронной почты не найден. Пожалуйста, свяжитесь с владельцем сайта.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Ежегодно","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Вы снова подписаны на рассылку","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Вы не получаете письма, так как либо вы пометили недавнее сообщение как спам, либо сообщения не могут быть доставлены на указанный вами email.","You've successfully signed in.":"","Your account":"Ваш аккаунт","Your input helps shape what gets published.":"Ваш отзыв поможет решить, что будет опубликовано дальше.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},US={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% වට්ටම්","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"දින {{trialDays}} ක් දක්වා නොමිලේ","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"වෙබ් අඩවියට පිවිසීම සඳහා ලින්කුවක් ඔබගේ විද්යුත් ලිපිනය වෙත යවා ඇත. එය විනාඩි 3ක් ඇතුළත නොපැමිණියේ නම් ස්පෑම් ෆෝල්ඩරය පරීක්ෂා කරන්න.",Account:"ගිණුම","Account settings":"ගිණුම් සැකසුම්","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.","Already a member?":"දැනටමත් සාමාජිකයෙක්ද?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"ආපසු","Back to Log in":"ලොග් වීම සඳහා ආපසු","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Subscription එක අවලංගු කරන්න","Cancellation reason":"අවලංගු කිරිමට හේතුව",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"වෙනත් plan එකක් තෝරන්න","Choose your newsletters":"ඔබගේ newsletter වර්ගය තෝරන්න","Click here to retry":"",Close:"වසන්න",Comments:"ප්රතිචාර",Complimentary:"",Confirm:"තහවුරු කරන්න","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"ඉදිරියට යන්න","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"ගිණුම Delete කරන්න","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"ගිණුමක් නොමැතිද?",Edit:"",Email:"Email","Email newsletter":"","Email preference updated.":"Email preference updated.","Email preferences":"Email preferences",Emails:"ඊමේල්","Emails disabled":"Emails disabled","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"සහාය ලබාගන්න","Get in touch for help":"","Get notified when someone replies to your comment":"ඔබේ ප්රතිචාරයට යම් අයෙකු පිළිතුරු දුන් විට දැනුම් දෙන්න","Give feedback on this post":"මෙම post එකට ඔබේ අදහස එක් කරන්න","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Less like this",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"කළමනාකරණය කරන්න",Monthly:"මාසිකව","More like this":"More like this",Name:"නම","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Emails ලැබෙන්නෙ නැද්ද?","Now check your email!":"දැන් ඔබගේ email එක පරික්ෂා කරන්න!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"මිල","Re-enable emails":"ඉමේල් නැවත සක්රීය කරන්න","Renews at {{price}}.":"",Retry:"නැවත උත්සහකරන්න",Save:"Save","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"පිවිසුම් සබැඳිය යවමින්...","Sending...":"යවමින්...","Sign in":"ලොග් වෙන්න","Sign out":"","Sign up":"ලියාපදිංචි වෙන්න","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"{{amount}}-day free trial එක ආරම්භකරන්න","Starting {{startDate}}":"","Starting today":"","Submit feedback":"ප්රතිචාරය යොමුකරන්න",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"සාර්ථකව unsubscribed කර ඇත","Thanks for the feedback!":"ප්රතිචාරය සඳහා ස්තූතියි!","That didn't go to plan":"ඒය සැලැස්මට අනුකූලව සිදු වුණේ නෑ","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"මෙම වෙබ් අඩවිය ආරාධිතයන් සඳහා පමණි, ප්රවේශ වීම සඳහා හිමිකරු අමතන්න.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Unsubscribe from all emails",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Unsubscribing from emails will not cancel your paid subscription to {{title}}",Update:"","Update your preferences":"Update your preferences","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"We couldn't unsubscribe you as the email address was not found. Please contact the site owner.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"වාර්ෂිකව","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"ඔබ සාර්ථකව නැවත subscribe කර ඇත","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.","You've successfully signed in.":"","Your account":"ඔබගේ ගිණුම","Your input helps shape what gets published.":"Your input helps shape what gets published.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},YS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% popust","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} dni brezplačno","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Povezava za prijavo je bila poslana na vašo e-pošto. Če ne prispe v treh minutah, preverite mapo za neželeno pošto.",Account:"Račun","Account settings":"Nastavitve računa","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Po koncu brezplačnega preizkusa se vam zaračuna redna cena za izbrano stopnjo. Pred tem jo lahko vedno prekličete.","Already a member?":"Ste že član?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Nazaj","Back to Log in":"Nazaj na prijavo","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Prekliči naročnino","Cancellation reason":"Razlog za preklic",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Izberite drug načrt","Choose your newsletters":"Izberite svoje novice","Click here to retry":"",Close:"Zapri",Comments:"Komentarji",Complimentary:"",Confirm:"Potrdi","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Nadaljuj","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Izbriši račun","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Nimate računa?",Edit:"",Email:"E-pošta","Email newsletter":"","Email preference updated.":"E-poštne nastavitve posodobljene","Email preferences":"Nastavitve e-pošte",Emails:"E-pošta","Emails disabled":"E-pošta onemogočena","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Pomoč","Get in touch for help":"","Get notified when someone replies to your comment":"Prejmite obvestilo, ko nekdo odgovori na vaš komentar","Give feedback on this post":"Podajte povratne informacije o tej objavi","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Ni mi všeč",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Upravljanje",Monthly:"Mesečno","More like this":"Všeč mi je",Name:"Ime","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Ne prejemate e-poštnih sporočil?","Now check your email!":"Preverite e-pošto!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Cena","Re-enable emails":"Ponovna vključitev e-poštnih sporočil","Renews at {{price}}.":"",Retry:"Cena",Save:"Shrani","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Pošiljanje povezave za prijavo...","Sending...":"Pošiljanje...","Sign in":"Prijava","Sign out":"","Sign up":"Registracija","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Začetek {{amount}}-dnevnega brezplačnega preizkusa","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Pošljite povratno informacijo",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Uspešno ste se odjavili","Thanks for the feedback!":"Hvala za povratne informacije!","That didn't go to plan":"To ni šlo po načrtu","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"To spletno mesto je dostopno samo s povabilom, obrnite se na lastnika.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Dokončatje prijavo s klikom na povezavo, ki ste jo dobili na vaš e-poštni naslov. Če je ne prejmete v treh minutah, preverite mapo za neželeno pošto!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Odjava od vseh e-poštnih sporočil",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Odjava od e-poštnih sporočil ne bo preklicala vaše plačane naročnine na {{title}}",Update:"","Update your preferences":"Posodobite svoje nastavitve","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Nismo vas mogli odjaviti, ker e-poštnega naslova nismo našli. Prosimo, da se obrnete na lastnika spletnega mesta.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Letno","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Uspešno ste bili ponovno naročeni","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Ne prejemate e-poštnih sporočil, ker ste naše sporočilo nedavno označili kot neželeno pošto ali, ker sporočil ni bilo mogoče dostaviti na vaš e-poštni naslov.","You've successfully signed in.":"","Your account":"Vaš račun","Your input helps shape what gets published.":"Vaš prispevek se nam pomaga odločati, kaj objavimo.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},FS={"{{amount}} days free":"{{amount}} dite falas","{{amount}} off":"{{amount}} zbritje","{{amount}} off for first {{number}} months.":"{{amount}} zbritje në {{number}} muajt e parë","{{amount}} off for first {{period}}.":"{{amount}} zbritje per {{period}} e parë","{{amount}} off forever.":"{{amount}} zbritje pergjithmone.","{{discount}}% discount":"{{discount}}% zbritje","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"{{memberEmail}} nuk do te marre me buletinin e {{newsletterName}}","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"{{memberEmail}} nuk do të marrë më email kur dikush u përgjigjet komenteve tuaja.","{{memberEmail}} will no longer receive this newsletter.":"{{memberEmail}} nuk do te marre me kete buletin.","{{trialDays}} days free":"{{trialDays}} dite falas","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Një lidhje identifikimi është dërguar në kutinë tuaj hyrëse. Nëse nuk arrin për 3 minuta, sigurohuni që të kontrolloni dosjen tuaj të postës së padëshiruar.",Account:"Llogaria","Account settings":"Cilësimet e llogarisë","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Pasi të përfundojë një provë falas, ju do të tarifoheni me çmimin e rregullt për nivelin që keni zgjedhur. Mund të anuloni gjithmonë përpara kësaj.","Already a member?":"Tashme nje antar?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"Ndodhi një gabim i papritur. Provo sërish ose <a>kontakto mbështetjen</a> nëse gabimi vazhdon.",Back:"Kthehu","Back to Log in":"Kthehu tek identifikimi","Billing info":"Te dhenat e faturimit","Black Friday":"E premtja e zeze","Cancel anytime.":"Anullo ne cdo kohe.","Cancel subscription":"Anullo abonimin","Cancellation reason":"Arsyeja e anullimit",Change:"Ndrysho","Check spam & promotions folders":"Kontrolloni dosjet e postës së padëshiruar dhe promovimeve ","Check with your mail provider":"Kontrolloni me ofruesin tuaj të postës",Choose:"Zgjidh","Choose a different plan":"Zgjidh nje plan ndryshe","Choose your newsletters":"Zgjidh buletinin tend","Click here to retry":"Kliko ketu per te provuar perseri",Close:"Mbyll",Comments:"Komentet",Complimentary:"Pa pagesë",Confirm:"Konfirmo","Confirm cancellation":"Konfirmo anullimin","Confirm subscription":"Konfirmo abonimin","Contact support":"Kontakto suportin",Continue:"Vazhdoni","Continue subscription":"Vazhdoni abonimin","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"Shto nje kontakt te ri","Current plan":"Plani aktual","Delete account":"Fshini llogarine","Didn't mean to do this? Manage your preferences <button>here</button>.":"Nuk doje ta bëje këtë? Menaxho preferencat e tua <button>këtu</button>.","Don't have an account?":"Nuk keni nje llogari?",Edit:"Modifiko",Email:"Email","Email newsletter":"Buletini i emailit","Email preference updated.":"Preferenca e emailit u përditësua.","Email preferences":"Preferenat e emailit",Emails:"Emailet","Emails disabled":"Emailet e çaktivizuara","Ends {{offerEndDate}}":"Perfundon {{offerEndDate}}",Error:"Gabim","Expires {{expiryDate}}":"Mbaron",Forever:"Pergjithmone","Free Trial – Ends {{trialEnd}}":"Prova falas – mbaron {{trialEnd}}","Get help":"Merr ndihme","Get in touch for help":"Kontaktoni për ndihmë","Get notified when someone replies to your comment":"","Give feedback on this post":"Ler nje koment ne kete post","Help! I'm not receiving emails":"Ndihme! Nuk po marr emaile","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"Nëse një buletin shënohet si i padëshiruar, emailet çaktivizohen automatikisht për atë adresë për t'u siguruar që nuk do të merrni më mesazhe të padëshiruara.","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"Nëse ankesa për postën e padëshiruar ishte aksidentale, ose dëshironi të filloni të merrni përsëri email, mund të regjistroheni përsëri në email duke klikuar butonin në ekranin e mëparshëm.","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"Nëse e anuloni abonimin tuaj tani, do të vazhdoni të keni akses deri në {{periodEnd}}.","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"Nëse keni një llogari të postës elektronike të korporatës ose të qeverisë, kontaktoni departamentin tuaj të IT dhe kërkojuni që të lejojnë marrjen e emaileve nga {{senderEmail}}","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"Nëse dëshironi të filloni të merrni përsëri emaile, hapat më të mirë të metejshem janë të kontrolloni adresën tuaj të emailit në dosje për ndonjë problem dhe më pas klikoni Ri-abonohu në ekranin e mëparshëm.","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"Nëse nuk po merrni buletinin me email në të cilin jeni abonuar, këtu janë disa gjëra për të kontrolluar.","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"Nëse i keni përfunduar të gjitha këto kontrolle dhe ende nuk po merrni email, mund të kontaktoni për të marrë mbështetje duke kontaktuar {{supportAddress}}.","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"Në rast se merret një dështim i përhershëm gjatë përpjekjes për të dërguar një buletin, emailet do të çaktivizohen në llogari.","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"Në klientin tuaj të postës elektronike shtoni {{senderEmail}} në listën tuaj të kontakteve. Kjo i sinjalizon ofruesit tuaj të postës elektronike që emailet e dërguara nga kjo adresë duhet të jenë të besueshme.","Less like this":"Me pak si kjo",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':'Sigurohuni që emailet të mos përfundojnë aksidentalisht në dosjet e postës së padëshiruar ose të promovimeve të kutisë suaj hyrëse. Nëse janë, klikoni në "Shëno si jo të padëshiruar" dhe/ose "Lëviz te kutia hyrëse".',Manage:"Menaxho",Monthly:"Mujore","More like this":"Me shume si kjo",Name:"Emri","Need more help? Contact support":"Te duhet me shume ndihme? Kontakto suportin","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"Buletinet mund të çaktivizohen në llogarinë tuaj për dy arsye: Një email i mëparshëm u shënua si i padëshiruar, ose përpjekja për të dërguar një email rezultoi në një dështim të përhershëm (kercim).","Not receiving emails?":"Nuk po merr emaile?","Now check your email!":"Kontrollo emailin tend tani!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"Pasi të regjistroheni përsëri, nëse ende nuk i shihni emailet në kutinë tuaj hyrëse, kontrolloni dosjen tuaj të postës së padëshiruar. Disa ofrues të kutisë hyrëse mbajnë një regjistër të ankesave të mëparshme të postës së padëshiruar dhe do të vazhdojnë të raportojnë emailet. Nëse kjo ndodh, shëno buletinin më të fundit si 'Jo e padëshiruar' për ta zhvendosur atë në kutinë hyrëse kryesore.","Permanent failure (bounce)":"Deshtim i perhershem (kercim)",Plan:"Plani","Plan checkout was cancelled.":"Pagesa e planit u anullua.","Plan upgrade was cancelled.":"Përmirësimi i planit u anullua.","Please fill in required fields":"Ju lutem plotesoni fushat e kerkuara",Price:"Çmimi","Re-enable emails":"Ri-aktivizo emailet","Renews at {{price}}.":"Rinovohet per {{price}} ",Retry:"Provo perseri",Save:"Ruaj","Send an email and say hi!":"Dergo nje email dhe thuaj pershendetje!","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"Dërgo një email te {{senderEmail}} dhe thuaj përshëndetje. Kjo mund të ndihmojë gjithashtu t'i sinjalizojë ofruesit tuaj të postës elektronike se emailet drejt-dhe-nga kjo adresë duhet të jenë të besueshme.","Sending login link...":"Duke derguar linkun e identifikimit...","Sending...":"Duke derguar...","Sign in":"Hyr","Sign out":"Dil","Sign up":"Rregjistrohu","Signup error: Invalid link":"Gabim ne rregjistrim: Link i pavlefshem","Sorry, that didn’t work.":"Na vjen keq, kjo nuk funksionoi.","Spam complaints":"Ankesat për mesazhe të padëshiruara","Start {{amount}}-day free trial":"","Starting {{startDate}}":"Duke filluar {{startDate}}","Starting today":"Duke filluar nga sot","Submit feedback":"Dergo komente",Subscribe:"Abonohu",Subscribed:"Abonuar",Success:"Sukses","Success! Check your email for magic link to sign-in.":"Sukses! Kontrollo emailin tend per linkun magjik te indentifikimit.","Success! Your account is fully activated, you now have access to all content.":"Sukses! Llogaria jote eshte plotesisht e aktivizuar, tashme ju keni akses ne te githe kontentin","Success! Your email is updated.":"Sukses! Emaili yt eshte rifreskuar","Successfully unsubscribed":"Çabonuar me sukses","Thanks for the feedback!":"Faleminderit per komentin!","That didn't go to plan":"Kjo nuk shkoi sipas planit","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"Pati një problem me dërgimin e komenteve tuaja. Ju lutemi provoni sërish pak më vonë.","This site is invite-only, contact the owner for access.":"Kjo faqe eshte vetem me ftesa, kontaktoni zoteruesin per akses.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Për të përfunduar regjistrimin, klikoni lidhjen e konfirmimit në kutinë tuaj hyrëse. Nëse nuk arrin brenda 3 minutash, kontrolloni dosjen tuaj të postës elektronike!","Try free for {{amount}} days, then {{originalPrice}}.":"Provo falas per {{amount}} dite, pastaj {{originalPrice}}.","Unlock access to all newsletters by becoming a paid subscriber.":"Zhbllokoni aksesin per te gjitha buletinet duke u bere nje abonues me pagese.","Unsubscribe from all emails":"Çregjistrohu nga të gjitha emailet",Unsubscribed:"I çabonuar","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Çregjistrimi nga emailet nuk do ta anulojë abonimin tuaj me pagesë në {{title}}",Update:"Rifresko","Update your preferences":"Përditësoni preferencat tuaja","Verify your email address is correct":"Verifikoni që adresa juaj e emailit është e saktë","View plans":"Shiko planet","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"","Welcome back, {{name}}!":"Mire se erdhe, {{name}}!","Welcome back!":"Mire se erdhe!","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"Kur një kuti hyrëse dështon të pranojë një email, zakonisht quhet kthim. Në shumë raste, kjo mund të jetë e përkohshme. Megjithatë, në disa raste, një email i kthyer mund të kthehet si një dështim i përhershëm kur një adresë emaili është e pavlefshme ose nuk ekziston.","Why has my email been disabled?":"Pse është çaktivizuar emaili im?",Yearly:"Vjetore","You currently have a free membership, upgrade to a paid subscription for full access.":"Ju keni aktualisht nje antaresim falas, beni abonimin me pagese per akses te plote. ","You have been successfully resubscribed":"Ju jeni ri-abonuar me sukses","You're currently not receiving emails":"Aktualisht nuk po merrni emaile","You're not receiving emails":"Ju nuk po merrni emaile","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Ju nuk po merrni email sepse ose keni shënuar një mesazh të fundit si të padëshiruar, ose sepse mesazhet nuk mund të dërgoheshin në adresën tuaj të emailit të dhënë.","You've successfully signed in.":"Ju jeni identifikuar me sukses.","Your account":"Llogaria juar","Your input helps shape what gets published.":"Të dhënat tuaja ndihmojnë në formimin e asaj që publikohet.","Your subscription will expire on {{expiryDate}}":"Abonimi juaj do te skadoje ne {{expiryDate}}","Your subscription will renew on {{renewalDate}}":"Abonimi juaj to te rinovohet ne {{renewalDate}}","Your subscription will start on {{subscriptionStart}}":"Abonimi juaj do te filloje ne {{subscriptionStart}}"},BS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% popust","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} dana besplatno","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Link za logovanje je poslat na Vašu email adresu. Ukoliko ne stigne za 3 minuta proverite spam folder.",Account:"Nalog","Account settings":"Podešavanja naloga","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Nakon što probni period istekne, izvršiće se naplata za plan koji ste izabrali. Uvek možete da otkažete pretplatu pre toga.","Already a member?":"Već ste član?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Nazad","Back to Log in":"Nazad na logovanje","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Otkaži pretplatu","Cancellation reason":"Razlog za otkazivanje",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Izaberi drugi plan","Choose your newsletters":"Izaberi ","Click here to retry":"",Close:"Zatvori",Comments:"Komentari",Complimentary:"",Confirm:"Potvrdi","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Nastavi","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Obriši nalog","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Nemate nalog?",Edit:"",Email:"Email","Email newsletter":"","Email preference updated.":"Email podešavanja su sačuvana.","Email preferences":"Email podešavanja",Emails:"Email-ovi","Emails disabled":"Isključeni email-ovi","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Potražite pomoć","Get in touch for help":"","Get notified when someone replies to your comment":"Obavestite me ako neko odgovori na moj komentar:","Give feedback on this post":"Ostavite komentar na ovaj post","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Manje sadržaja kao ovaj",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Podešavanja",Monthly:"Mesečno","More like this":"Više sadržaja kao ovaj",Name:"Ime","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Ne dobijate e-poštu?","Now check your email!":"Proverite Vaš email!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Cena","Re-enable emails":"Omogući email adrese ponovo","Renews at {{price}}.":"",Retry:"Pokušaj opet",Save:"Snimi","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Link za logovanje se šalje...","Sending...":"Slanje...","Sign in":"Prijava","Sign out":"","Sign up":"Registracija","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Počni {{amount}} dana besplatnu probu","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Pošalji povratne informacije",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Uspešna odjava","Thanks for the feedback!":"Hvala za povratne informacije!","That didn't go to plan":"Nešto nije kako treba","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Ovaj sajt je samo za članove, kontaktirajte vlasnika kako bi dobili pristup.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Kliknite na link da biste završili registraciju. Ukoliko ne stigne za 3 minuta proverite spam folder!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Odjavite se sa svih email-ova",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Odjavljivanjem sa email-ova nećete prekinuti Vašu pretplatu na {{title}}",Update:"","Update your preferences":"Izmenite Vaša podešavanja","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Nismo uspeli da odjavimo email. Molimo Vas kontaktirajte vlasnika sajta.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Godišnje","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Uspešno ste se prijavili ponovo","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Ne primate e-poruke zato što ste nedavnu poruku označili kao nepoželjnu ili zato što poruke nisu mogle da se isporuče na adresu e-pošte koju ste naveli.","You've successfully signed in.":"","Your account":"Vaš nalog","Your input helps shape what gets published.":"Vaš doprinos pomaže u oblikovanju onoga što se objavljuje.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},HS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% rabatt","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} dagar gratis","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"En inloggningslänk har skickats till din inkorg. Om den inte anländer inom 3 minuter, kontrollera din skräppostmapp.",Account:"Konto","Account settings":"Kontoinställningar","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Efter att en gratis provperiod avslutas debiteras du det ordinarie priset för den nivå du har valt. Du kan alltid avbryta innan dess.","Already a member?":"Redan medlem?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Tillbaka","Back to Log in":"Tillbaka till inloggning","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Avbryt prenumeration","Cancellation reason":"Anledning till avslut",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Välj en annan prenumeration","Choose your newsletters":"Välj dina nyhetsbrev","Click here to retry":"",Close:"Stäng",Comments:"Kommentarer",Complimentary:"",Confirm:"Bekräfta","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Fortsätt","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Radera konto","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Har du inget konto?",Edit:"",Email:"E-post","Email newsletter":"","Email preference updated.":"Inställningar för e-post uppdaterade.","Email preferences":"E-postinställningar",Emails:"E-postmeddelanden","Emails disabled":"E-post inaktiverad","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Få hjälp","Get in touch for help":"","Get notified when someone replies to your comment":"Få en avisering när någon svarar på din kommentar","Give feedback on this post":"Ge feedback på det här inlägget","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Mindre sånt här",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Hantera",Monthly:"Månadsvis","More like this":"Mer sånt här",Name:"Namn","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Får du inga e-postmeddelanden?","Now check your email!":"Kolla nu din e-post!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Pris","Re-enable emails":"Återaktivera e-post","Renews at {{price}}.":"",Retry:"Försök igen",Save:"Spara","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Skickar inloggningslänk...","Sending...":"Skickar...","Sign in":"Logga in","Sign out":"","Sign up":"Registrera dig","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Starta {{amount}}-dagars gratis testperiod","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Skicka feedback",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Prenumerationen avslutades framgångsrikt","Thanks for the feedback!":"Tack för din feedback!","That didn't go to plan":"Det där fungerade inte som tänkt","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Den här sidan är endast för inbjudna, kontakta ägaren för åtkomst.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"För att slutföra registreringen, klicka på bekräftelselänken i din inkorg. Om den inte kommer fram inom 3 minuter, kolla din skräppostmapp!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Avregistrera från alla e-postutskick",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Avregistrering från e-postmeddelanden kommer inte att avbryta din betalda prenumeration på {{title}}",Update:"","Update your preferences":"Uppdatera dina inställningar","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Vi kunde inte avsluta din prenumeration eftersom e-postadressen inte hittades. Vänligen kontakta webbplatsens ägare.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Årligen","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Du har nu prenumererat igen","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Du får inte e-postmeddelanden eftersom du antingen markerade ett nyligt meddelande som skräppost, eller för att meddelanden inte kunde levereras till din angivna e-postadress.","You've successfully signed in.":"","Your account":"Ditt konto","Your input helps shape what gets published.":"Din åsikt hjälper till att forma vad som publiceras.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},WS={"{{amount}} days free":"{{amount}} gün ücretsiz","{{amount}} off":"{{amount}} indirim","{{amount}} off for first {{number}} months.":"İlk {{number}} ay için {{amount}} indirim.","{{amount}} off for first {{period}}.":"İlk {{period}} için {{amount}} indirim.","{{amount}} off forever.":"Sonsuza kadar {{amount}} indirim.","{{discount}}% discount":"%{{discount}} indirim","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"{{memberEmail}} artık {{newsletterName}} haber bülteni almayacak.","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"{{memberEmail}}, yorumlarınıza yanıt verildiğinde artık e-posta almayacak.","{{memberEmail}} will no longer receive this newsletter.":"{{memberEmail}} artık bu haber bültenini almayacak.","{{trialDays}} days free":"{{trialDays}} gün ücretsiz","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Gelen kutuna bir giriş linki gönderildi. Eğer 3 dakika içinde ulaşmazsa spam klasörünü kontrol ettiğinden emin ol.",Account:"Hesap","Account settings":"Hesap ayarları","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Ücretsiz deneme süresi bittikten sonra seçtiğin kategorinin normal fiyatından ücretlendirileceksin. O zamana kadar her an iptal edebilirsin.","Already a member?":"Zaten üye misin?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"Beklenmeyen bir hata oluştu. Lütfen tekrar deneyin veya hata devam ederse <a>destek ile iletişime geçin</a>.",Back:"Geri dön","Back to Log in":"Giriş ekranına geri dön","Billing info":"Fatura bilgisi","Black Friday":"Muhteşem Cuma","Cancel anytime.":"İstediğiniz zaman iptal edin.","Cancel subscription":"Aboneliği iptal et","Cancellation reason":"İptal sebebi",Change:"Değiştir","Check spam & promotions folders":"Spam ve promosyonlar klasörlerini kontrol edin","Check with your mail provider":"Posta sağlayıcınızla kontrol edin",Choose:"Seç","Choose a different plan":"Farklı bir plan seç","Choose your newsletters":"Haber e-postanı seç","Click here to retry":"Tekrar denemek için buraya tıkla",Close:"Kapat",Comments:"Yorumlar",Complimentary:"",Confirm:"Onayla","Confirm cancellation":"İptal İşlemini Onayla","Confirm subscription":"Aboneliği onayla","Contact support":"Desteğe başvurun",Continue:"Devam et","Continue subscription":"Aboneliğe devam et","Could not sign in. Login link expired.":"Oturum açılamadı. Oturum açma bağlantısının süresi doldu.","Could not update email! Invalid link.":"E-posta güncellenemedi! Geçersiz link.","Create a new contact":"Yeni bir kullanıcı oluştur","Current plan":"Mevcut plan","Delete account":"Hesabı sil","Didn't mean to do this? Manage your preferences <button>here</button>.":"Bunu yapmak istemedin mi? Tercihlerinizi <button>buradan</button> yönetin.","Don't have an account?":"Hesabın yok mu?",Edit:"Düzenle",Email:"E-posta","Email newsletter":"E-posta bülteni","Email preference updated.":"E-posta tercihi güncellendi.","Email preferences":"E-posta tercihleri",Emails:"E-postalar","Emails disabled":"E-postalar devre dışı","Ends {{offerEndDate}}":"{{offerEndDate}} tarihinde bitiyor",Error:"Hata","Expires {{expiryDate}}":"{{expiryDate}} tarihinde sona eriyor",Forever:"Süresiz","Free Trial – Ends {{trialEnd}}":"Ücretsiz Deneme – {{trialEnd}} tarihinde sona erer","Get help":"Yardım al","Get in touch for help":"Yardım için iletişime geçin","Get notified when someone replies to your comment":"Birisi yorumuna cevap yazdığında bildirim al","Give feedback on this post":"Gönderiye geri bildirim ver","Help! I'm not receiving emails":"Yardım! e-postası alamıyorum","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"Bir haber bülteni spam olarak işaretlenirse, artık istenmeyen mesaj almadığınızdan emin olmak için bu adres için e-postalar otomatik olarak devre dışı bırakılır.","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"Spam şikayeti yanlışlıkla olduysa veya tekrar e-posta almaya başlamak istiyorsanız, önceki ekrandaki düğmeyi tıklayarak e-postalara yeniden abone olabilirsiniz.","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"Aboneliğinizi şimdi iptal ederseniz, {{periodEnd}} tarihine kadar erişiminiz devam edecek.","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"Kurumsal veya devlet e-posta hesabınız varsa BT departmanınıza ulaşın ve {{senderEmail}} adresinden e-posta alınmasına izin vermelerini isteyin.","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"Tekrar e-posta almaya başlamak istiyorsanız, bundan sonraki en iyi adım, dosyadaki e-posta adresinizde herhangi bir sorun olup olmadığını kontrol etmek ve ardından önceki ekranda yeniden abone ol'u tıklamaktır.","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"Abone olduğunuz e-posta bültenini almıyorsanız, kontrol etmeniz gereken birkaç şey var.","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"Tüm bu kontrolleri tamamlamanıza rağmen hala e-posta almıyorsanız, {{supportAddress}} ile iletişime geçerek destek almak için ulaşabilirsiniz.","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"Haber bülteni göndermeye çalışırken kalıcı bir hata alınması durumunda, hesapta e-postalar devre dışı bırakılır.","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"E-posta istemcinizde {{senderEmail}} adresini kişi listenize ekleyin. Bu, posta sağlayıcınıza bu adresten gönderilen e-postaların güvenilir olması gerektiğini bildirir.","Less like this":"Bunun gibi daha az",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':'E-postaların yanlışlıkla gelen kutunuzun Spam veya Promosyonlar klasörlerine düşmediğinden emin olun. Varsa, "Spam değil olarak işaretle" ve/veya "Gelen kutusuna taşı"yı tıklayın.',Manage:"Yönet",Monthly:"Aylık","More like this":"Bunun gibi daha fazla",Name:"İsim","Need more help? Contact support":"Daha fazla yardıma mı ihtiyacınız var? Desteğe başvurun","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"Bültenler, hesabınızda iki nedenden dolayı devre dışı bırakılabilir: Önceki bir e-posta istenmeyen posta olarak işaretlendi veya bir e-posta gönderilmeye çalışıldığında kalıcı bir başarısızlıkla (geri dönme) sonuçlandı.","Not receiving emails?":"E-posta almıyor musun?","Now check your email!":"Şimdi e-posta kutunu kontrol et!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"Yeniden abone olduktan sonra, gelen kutunuzda hala e-posta göremiyorsanız spam klasörünüzü kontrol edin. Bazı gelen kutusu sağlayıcıları, önceki spam şikayetlerinin kaydını tutar ve e-postaları işaretlemeye devam eder. Böyle bir durumda, birincil gelen kutunuza geri taşımak için en son haber bültenini 'Spam değil' olarak işaretleyin.","Permanent failure (bounce)":"Kalıcı başarısızlık (sıçra)",Plan:"Plan","Plan checkout was cancelled.":"Plan ödemesi iptal edildi.","Plan upgrade was cancelled.":"Plan yükseltme iptal edildi.","Please fill in required fields":"Lütfen gerekli alanları doldurunuz",Price:"Fiyat","Re-enable emails":"E-postaları yeniden etkinleştir","Renews at {{price}}.":"{{price}} karşılığında yenilenir.",Retry:"Tekrar dene",Save:"Kaydet","Send an email and say hi!":"Bir e-posta gönderin ve merhaba deyin!","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"{{senderEmail}} adresine bir e-posta gönderin ve merhaba deyin. Bu, posta sağlayıcınıza bu adresten gelen ve bu adresten gelen e-postalara güvenilmesi gerektiğinin sinyalini de verebilir.","Sending login link...":"Giriş linki gönderiliyor...","Sending...":"Gönderiliyor...","Sign in":"Giriş yap","Sign out":"Çıkış yap","Sign up":"Kayıt ol","Signup error: Invalid link":"Kayıt hatası: Geçersiz bağlantı","Sorry, that didn’t work.":"Üzgünüm, bu işe yaramadı.","Spam complaints":"Spam şikayetleri","Start {{amount}}-day free trial":"{{amount}} gün ücretsiz deneme süresini başlat","Starting {{startDate}}":"{{startDate}} tarihinden itibaren","Starting today":"Bugün başlıyor","Submit feedback":"Geri bildirim gönder",Subscribe:"Abone",Subscribed:"Abone olundu",Success:"Başarılı","Success! Check your email for magic link to sign-in.":"Başarılı! Oturum açmak için sihirli bağlantı için e-postanızı kontrol edin.","Success! Your account is fully activated, you now have access to all content.":"Başarılı! Hesabınız tamamen etkinleştirildi, artık tüm içeriğe erişebilirsiniz.","Success! Your email is updated.":"Başarılı! E-postanız güncellendi.","Successfully unsubscribed":"Abonelikten başarıyla çıkıldı","Thanks for the feedback!":"Geri bildirim için teşekkürler!","That didn't go to plan":"Bir şeyler ters gitti","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"Geri bildiriminiz gönderilirken bir sorun oluştu. Lütfen biraz sonra tekrar deneyin.","This site is invite-only, contact the owner for access.":"Bu site sadece davetiyesi olanlar içindir, erişim için site sahibiyle iletişime geç.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Kaydını tamamlamak için gelen kutuna gönderilen onay linkine tıkla. Eğer 3 dakika içinde ulaşmazsa spam klasörünü kontrol et!","Try free for {{amount}} days, then {{originalPrice}}.":"{{amount}} gün ücretsiz deneyin, ardından {{originalPrice}}.","Unlock access to all newsletters by becoming a paid subscriber.":"Ücretli bir abone olarak tüm haber bültenlerine erişimin kilidini açın.","Unsubscribe from all emails":"Tüm e-postaların aboneliğinden çık",Unsubscribed:"Abonelikten çıkıldı","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"E-postaların aboneliğinden çıkmak, {{title}} sitesine olan ücretli aboneliğini iptal etmeyecek",Update:"Güncelle","Update your preferences":"Tercihlerini güncelle","Verify your email address is correct":"E-posta adresinizin doğru olduğunu doğrulayın","View plans":"Planları göster","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"E-posta adresi bulunamadığı için seni abonelikten çıkaramıyoruz. Lütfen site sahibiyle iletişime geç.","Welcome back, {{name}}!":"Tekrar hoş geldin {{name}}!","Welcome back!":"Tekrar hoşgeldiniz!","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"Bir gelen kutusu bir e-postayı kabul edemediğinde buna genellikle geri dönen denir. Çoğu durumda, bu geçici olabilir. Bununla birlikte, bazı durumlarda, bir e-posta adresi geçersiz olduğunda veya mevcut olmadığında, geri dönen bir e-posta kalıcı bir başarısızlık olarak döndürülebilir.","Why has my email been disabled?":"E-postam neden devre dışı bırakıldı?",Yearly:"Yıllık","You currently have a free membership, upgrade to a paid subscription for full access.":"Şu anda ücretsiz üyeliğiniz var, tam erişim için ücretli aboneliğe yükseltin.","You have been successfully resubscribed":"Başarıyla yeniden abone oldun","You're currently not receiving emails":"Şu anda e-posta almıyorsunuz","You're not receiving emails":"E-posta almıyorsunuz","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"E-postaları almıyorsun çünkü yakınlarda gönderilen bir mesajı spam olarak işaretledin ya da mesajlar verilen e-posta adresine teslim edilemedi.","You've successfully signed in.":"Başarıyla oturum açtınız.","Your account":"Hesabın","Your input helps shape what gets published.":"Yorumun yayımlanan içeriklerin şekillenmesine yardımcı olur.","Your subscription will expire on {{expiryDate}}":"Aboneliğiniz {{expiryDate}} tarihinde sona erecek","Your subscription will renew on {{renewalDate}}":"Aboneliğiniz {{renewalDate}} tarihinde yenilenecek","Your subscription will start on {{subscriptionStart}}":"Aboneliğiniz {{subscriptionStart}} tarihinde başlayacak"},GS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"Знижка {{discount}}%","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"Безплатно {{trialDays}} дні(-в)","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Посилання для входу було надіслано на твою пошту. Якщо воно не прийде протягом 3 хвилин, перевірь папку спам.",Account:"Oбліковий запис","Account settings":"Налаштування облікового запису","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Після закінчення безплатного періоду, з тебе буде стягнена вартість за обраний тариф. Ти завжди можеш скасувати послугу до цього часу.","Already a member?":"Вже зареєстрований?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Назад","Back to Log in":"Повернутись до входу","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Скасуй підписку","Cancellation reason":"Причина скасування",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Вибари інший план","Choose your newsletters":"Вибери свої підписки","Click here to retry":"",Close:"Закрий",Comments:"Коментарі",Complimentary:"",Confirm:"Підтвердь","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Далі","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Видалити обліковий запис","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Не маєш облікового запису?",Edit:"",Email:"Електронна пошта","Email newsletter":"","Email preference updated.":"Налаштування електронної пошти оновлені.","Email preferences":"Налаштування електронної пошти",Emails:"Електронні листи","Emails disabled":"Електронна пошта вимкнена","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Отримати допомогу","Get in touch for help":"","Get notified when someone replies to your comment":"Повідомляй коли хтось відповість на твій коментар","Give feedback on this post":"Дати відгук на цю публікацію","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Менше подібних",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Управління",Monthly:"Місячно","More like this":"Більше подібних",Name:"Ім'я","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Не приходять листи?","Now check your email!":"А тепер перевір свою пошту!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Ціна","Re-enable emails":"Знову включити пошту","Renews at {{price}}.":"",Retry:"Повтори спробу",Save:"Збережи","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Відправляється посилання для входу...","Sending...":"Відправляється...","Sign in":"Вхід","Sign out":"","Sign up":"Реєстрація","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Почни {{amount}}-денний безплатний період","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Вишли відгук",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Підписку успішно скасовано","Thanks for the feedback!":"Дякуємо за відгук!","That didn't go to plan":"Щось пішло не так","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Цей сайт доступний тільки за запрошенням, звернись до власника сайта для доступу.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Щоб завершити реєстрацію, натисни посилання в своїй електронній пошті для підтвердження. Якщо електронний лист не прийде протягом 3 хвилин, перевір папку спам!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Відписатись від усіх листів",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Відписка від листів не скасує твою платну підписку на {{title}}",Update:"","Update your preferences":"Онови свої налаштування","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Ми не можемо відписати тебе, оскільки адреса електронної пошти не знайдена. Будь ласка, зв'яжись з власником сайту.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Річно","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Тебе успішно підписано знову","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Не приходять листи, оскільки останній отриманий лист був тобою позначений як спам, або листи не можуть бути доставлені на твою адресу електронної пошти.","You've successfully signed in.":"","Your account":"Твій обліковий запис","Your input helps shape what gets published.":"Твій відгук допоможе вирішити що публікувати далі.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},VS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"{{discount}}% chegirma","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} kun bepul","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Kirish havolasi email pochtangizga yuborildi. Agar u 3 daqiqada kelmasa, spam bo'limini tekshiring",Account:"Hisob","Account settings":"Hisob sozlamalari","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Bepul sinov muddati tugagandan so'ng, siz tanlagan daraja uchun odatdagi narxdan undiriladi. Undan oldin istalgan vaqtda bekor qilishingiz mumkin.","Already a member?":"Allaqachon a'zomisiz?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Orqaga","Back to Log in":"Kirish sahifasiga qaytish","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Obunani bekor qilish","Cancellation reason":"Bekor qilish sababi",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Boshqa rejani tanlang","Choose your newsletters":"Pochta xabarlarini tanlang","Click here to retry":"",Close:"Yopmoq",Comments:"Izohlar",Complimentary:"",Confirm:"Tasdiqlamoq","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Davom etmoq","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Hisobni o'chirmoq","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Hisobingiz yoqmi?",Edit:"",Email:"Email","Email newsletter":"","Email preference updated.":"Email sozlamalari yangilandi.","Email preferences":"Email sozlamalari",Emails:"Elektron xatlar","Emails disabled":"Elektron pochta xabarlari o‘chirilgan","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Yordam olmoq","Get in touch for help":"","Get notified when someone replies to your comment":"Kimdir sharhingizga javob bersa, bildirishnoma oling","Give feedback on this post":"Ushbu post haqida fikr bildiring","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Bu kabi kamroq",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Boshqarmoq",Monthly:"Oylik","More like this":"Ko'proq shunga o'xshash",Name:"Ism","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Elektron xatlar olmayapsizmi?","Now check your email!":"Endi elektron pochtangizni tekshiring!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Narx","Re-enable emails":"Elektron pochta xabarlarini qayta yoqing","Renews at {{price}}.":"",Retry:"Qayta urinmoq",Save:"Saqlamoq","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Kirish havolasi yuborilmoqda...","Sending...":"Yuborilmoqda...","Sign in":"Kirish","Sign out":"","Sign up":"Ro'yxatdan o'tmoq","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"{{amount}}-kun sinov muddatini boshlang","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Izoh yuboring",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Obuna muvaffaqiyatli bekor qilindi","Thanks for the feedback!":"Izoh uchun rahmat!","That didn't go to plan":"Bu rejaga mos kelmadi","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Bu saytda faqat taklif qilinadi, kirish uchun egasiga murojaat qiling.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Ro‘yxatdan o‘tishni yakunlash uchun pochta qutingizdagi tasdiqlash havolasini bosing. Agar u 3 daqiqada kelmasa, spam jildini tekshiring!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Barcha elektron pochta xabarlariga obunani bekor qiling",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Elektron pochtalarga obunani bekor qilish {{title}}ga pulli obunanu bekor qilmaydi",Update:"","Update your preferences":"Sozlamalarni yangilash","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Email manzili topilmagani uchun obunangizni bekor qila olmadik. Iltimos, sayt egasi bilan bog'laning.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Yillik","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Siz muvaffaqiyatli qayta obuna bo'ldingiz","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Siz e-pochta xabarlarini olmayapsiz, chunki siz oxirgi xabarni spam deb belgilagansiz yoki xabarlar taqdim etilgan elektron pochta manzilingizga yetkazilmagan.","You've successfully signed in.":"","Your account":"Sizning hisobingiz","Your input helps shape what gets published.":"","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},qS={"{{amount}} days free":"","{{amount}} off":"","{{amount}} off for first {{number}} months.":"","{{amount}} off for first {{period}}.":"","{{amount}} off forever.":"","{{discount}}% discount":"Giảm {{discount}}%","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"","{{memberEmail}} will no longer receive this newsletter.":"","{{trialDays}} days free":"{{trialDays}} ngày miễn phí còn lại","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"Liên kết đăng nhập đã được gửi đến hộp thư của bạn. Nếu trong vòng 3 phút bạn vẫn chưa thấy, hãy kiểm tra thư hộp thư rác của bạn.",Account:"Tài khoản","Account settings":"Cài đặt","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"Sau khi kết thúc thời gian dùng thử miễn phí, bạn sẽ được tính giá thường cho gói dịch vụ mà bạn đã chọn. Bạn có thể hủy trước khi thời gian dùng thử kết thúc.","Already a member?":"Bạn đã là thành viên?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"",Back:"Quay về","Back to Log in":"Quay về đăng nhập","Billing info":"","Black Friday":"","Cancel anytime.":"","Cancel subscription":"Hủy thuê bao","Cancellation reason":"Lý do hủy thuê bao",Change:"","Check spam & promotions folders":"","Check with your mail provider":"",Choose:"","Choose a different plan":"Chọn gói dịch vụ khác","Choose your newsletters":"Chọn bản tin bạn muốn nhận","Click here to retry":"",Close:"Đóng",Comments:"Bình luận",Complimentary:"",Confirm:"Xác nhận","Confirm cancellation":"","Confirm subscription":"","Contact support":"",Continue:"Tiếp tục","Continue subscription":"","Could not sign in. Login link expired.":"","Could not update email! Invalid link.":"","Create a new contact":"","Current plan":"","Delete account":"Xóa tài khoản","Didn't mean to do this? Manage your preferences <button>here</button>.":"","Don't have an account?":"Bạn chưa có tài khoản?",Edit:"",Email:"Email","Email newsletter":"","Email preference updated.":"Cập nhật email","Email preferences":"Cài đặt email",Emails:"Emails","Emails disabled":"Tắt chức năng email","Ends {{offerEndDate}}":"",Error:"","Expires {{expiryDate}}":"",Forever:"","Free Trial – Ends {{trialEnd}}":"","Get help":"Trợ giúp","Get in touch for help":"","Get notified when someone replies to your comment":"Nhận thông báo khi có ai đó trả lời bình luận","Give feedback on this post":"Phản hồi bài viết này","Help! I'm not receiving emails":"","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"","Less like this":"Không thích lắm",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"",Manage:"Quản lý",Monthly:"Mỗi tháng","More like this":"Thích bài viết dạng này",Name:"Tên","Need more help? Contact support":"","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"","Not receiving emails?":"Bạn không nhận được email?","Now check your email!":"Kiểm tra email ngay bây giờ!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"","Permanent failure (bounce)":"",Plan:"","Plan checkout was cancelled.":"","Plan upgrade was cancelled.":"","Please fill in required fields":"",Price:"Giá","Re-enable emails":"Kích hoạt lại email nhận","Renews at {{price}}.":"",Retry:"Thử lại",Save:"Lưu","Send an email and say hi!":"","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"","Sending login link...":"Đang gửi liên kết đăng nhập","Sending...":"Đang gửi","Sign in":"Đăng nhập","Sign out":"","Sign up":"Đăng ký","Signup error: Invalid link":"","Sorry, that didn’t work.":"","Spam complaints":"","Start {{amount}}-day free trial":"Bắt đầu dùng thử {{amount}} ngày","Starting {{startDate}}":"","Starting today":"","Submit feedback":"Gửi phản hồi",Subscribe:"",Subscribed:"",Success:"","Success! Check your email for magic link to sign-in.":"","Success! Your account is fully activated, you now have access to all content.":"","Success! Your email is updated.":"","Successfully unsubscribed":"Đã hủy đăng ký thành công","Thanks for the feedback!":"Cám ơn phản hồi của bạn!","That didn't go to plan":"Không thực hiện được","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"","This site is invite-only, contact the owner for access.":"Trang web này chỉ dành cho những người được mời, hãy liên hệ với chủ sở hữu để có quyền truy cập.","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Để hoàn tất đăng ký, hãy nhấp vào liên kết xác nhận trong hộp thư đến của bạn. Nếu nó không đến trong vòng 3 phút, hãy kiểm tra thư mục thư rác của bạn!","Try free for {{amount}} days, then {{originalPrice}}.":"","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"Hủy theo dõi tất cả email",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"Việc hủy đăng ký nhận email sẽ không hủy gói đăng ký trả phí của bạn đối với {{title}}",Update:"","Update your preferences":"Cập nhật cài đặt","Verify your email address is correct":"","View plans":"","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"Chúng tôi không thể hủy đăng ký bạn vì không tìm thấy địa chỉ email. Vui lòng liên hệ với chủ sở hữu trang web.","Welcome back, {{name}}!":"","Welcome back!":"","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"","Why has my email been disabled?":"",Yearly:"Mỗi năm","You currently have a free membership, upgrade to a paid subscription for full access.":"","You have been successfully resubscribed":"Bạn đã đăng ký lại thành công","You're currently not receiving emails":"","You're not receiving emails":"","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"Bạn không nhận được email vì bạn đã đánh dấu thư gần đây là thư rác, hoặc vì không thể gửi thư đến địa chỉ email bạn đã cung cấp.","You've successfully signed in.":"","Your account":"Tài khoản của bạn","Your input helps shape what gets published.":"Thông tin của bạn giúp định hình nội dung được xuất bản.","Your subscription will expire on {{expiryDate}}":"","Your subscription will renew on {{renewalDate}}":"","Your subscription will start on {{subscriptionStart}}":""},KS={"{{amount}} days free":"{{amount}}天免费","{{amount}} off":"减免{{amount}}","{{amount}} off for first {{number}} months.":"前{{number}}月减免{{amount}}","{{amount}} off for first {{period}}.":"首{{period}}减免{{amount}}","{{amount}} off forever.":"永久减免{{amount}}","{{discount}}% discount":"{{discount}}% 折扣","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"{{memberEmail}}将不会再收到{{newsletterName}}的刊物。","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"{{memberEmail}}将不会再收到评论回复提醒邮件。","{{memberEmail}} will no longer receive this newsletter.":"{{memberEmail}}将不会再收到本刊物。","{{trialDays}} days free":"{{trialDays}} 天免费试用","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"登录链接已经发送到您的收件箱。如果在3分钟内还没有收到,请务必检查您的垃圾邮件文件夹。",Account:"账户","Account settings":"账户设置","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"免费试用结束后,您将被收取所选套餐的标定价格。在此之前,您可以随时取消。","Already a member?":"已经是会员了?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"遇到意外错误。请重试,若持续出现请<a>联系支持服务</a>。",Back:"返回","Back to Log in":"返回登录","Billing info":"账单信息","Black Friday":"黑五促销","Cancel anytime.":"随时取消","Cancel subscription":"取消订阅","Cancellation reason":"取消原因",Change:"变更","Check spam & promotions folders":"检查垃圾邮件与促销邮件目录","Check with your mail provider":"与您的邮件服务商确认",Choose:"选择","Choose a different plan":"选择其他订阅方案","Choose your newsletters":"选择您的刊物","Click here to retry":"请点此处重试",Close:"关闭",Comments:"评论",Complimentary:"赠送",Confirm:"确认","Confirm cancellation":"确认取消","Confirm subscription":"确认订阅","Contact support":"联系支持服务",Continue:"继续","Continue subscription":"继续订阅","Could not sign in. Login link expired.":"无法登录。登录链接已过期。","Could not update email! Invalid link.":"无法更新电子邮件!链接无效。","Create a new contact":"创建新联系","Current plan":"当前订阅","Delete account":"删除账户","Didn't mean to do this? Manage your preferences <button>here</button>.":"误操作?在<button>这里</button>管理您的配置。","Don't have an account?":"还没有账户吗?",Edit:"编辑",Email:"电子邮件","Email newsletter":"电子邮件快报","Email preference updated.":"电子邮件偏好已更新。","Email preferences":"电子邮件偏好设置",Emails:"电子邮件列表","Emails disabled":"关闭电子邮件列表","Ends {{offerEndDate}}":"于{{offerEndDate}}结束",Error:"错误","Expires {{expiryDate}}":"于{{expiryDate}}过期",Forever:"永久","Free Trial – Ends {{trialEnd}}":"免费试用 - {{trialEnd}}结束","Get help":"获取帮助","Get in touch for help":"联系以获取帮助","Get notified when someone replies to your comment":"当有人回复您的评论时,将会收到通知","Give feedback on this post":"对这篇文章提供建议","Help! I'm not receiving emails":"求助!我没有收到电子邮件","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"如果有快报被标记为垃圾邮件,则自动拒绝该地址的邮件以确保后续不再接收不想要的消息。","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"如果误标记为垃圾邮件,或者您希望再次开启邮件接收,您可以通过点击上一页的按钮重新订阅。","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"如果现在取消订阅,当前订阅在{{periodEnd}}依旧有效。","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"如果您使用公司或者政府邮件账户,请联系相应IT部门以允许从{{senderEmail}}接收邮件。","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"如果您希望重新开始接收邮件,接下来最好先检查存档的电子邮件地址,然后在之前的页面点击重新订阅。","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"如果没有收到订阅快报,请检查以下事项。","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"如果您已经完成全部检查项目却依旧没有收到邮件,您可以联系{{supportAddress}}获取支持。","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"当尝试发送快报时遇到永久错误,向该账户的发送邮件的功能将被禁用。","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"在您的电子邮件客户端将 {{senderEmail}} 加入联系人列表。这将向您的邮件供应商表明来自该地址的邮件是可信的。","Less like this":"不喜欢",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"确保邮件没有被意外标记为垃圾或者促销邮件。如果是,点击“非垃圾邮件”或者“移动到收件箱”。",Manage:"管理",Monthly:"月付","More like this":"喜欢",Name:"名字","Need more help? Contact support":"需要更多帮助?联系支持服务","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"您账户的快报被禁用的可能原因有两个:先前的电子邮件被标记为垃圾邮件,或者发送邮件遇到永久错误 (bounce)","Not receiving emails?":"无法收到电子邮件?","Now check your email!":"现在请检查您的电子邮件!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"重新订阅后在收件箱依旧没有看到邮件,请检查您的垃圾邮件箱。一些服务商会保留之前的垃圾邮件记录并持续标记。如果是这样,请将最新的快报标记为“非垃圾邮件”并将其移动到收件箱。","Permanent failure (bounce)":"永久错误 (bounce)",Plan:"订阅计划","Plan checkout was cancelled.":"订阅付款已取消。","Plan upgrade was cancelled.":"订阅升级已取消。","Please fill in required fields":"请填写必须项目",Price:"价格","Re-enable emails":"重启电子邮件","Renews at {{price}}.":"以{{price}}的价格续费。",Retry:"重试",Save:"保存","Send an email and say hi!":"发送邮件问好!","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"发送邮件到{{senderEmail}}问好。这有助于您的邮件服务商将该地址的往来邮件判定为可信邮件。","Sending login link...":"正在发送登录链接...","Sending...":"发送中...","Sign in":"登录","Sign out":"退出","Sign up":"注册","Signup error: Invalid link":"注册错误:链接无效","Sorry, that didn’t work.":"抱歉,该操作无法完成。","Spam complaints":"垃圾邮件","Start {{amount}}-day free trial":"开始 {{amount}}-天免费试用","Starting {{startDate}}":"从{{startDate}}开始","Starting today":"从今天开始","Submit feedback":"提交建议",Subscribe:"订阅",Subscribed:"已订阅",Success:"成功","Success! Check your email for magic link to sign-in.":"成功!检查您的电子邮箱以获取登录链接。","Success! Your account is fully activated, you now have access to all content.":"成功!您的账户已经完全激活,您现在可以访问全部内容了。","Success! Your email is updated.":"成功!您的电子邮件已更新。","Successfully unsubscribed":"成功取消订阅","Thanks for the feedback!":"感谢您的建议!","That didn't go to plan":"似乎出错了","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"","There was a problem submitting your feedback. Please try again a little later.":"提交您的反馈时遇到错误。请稍后重试。","This site is invite-only, contact the owner for access.":"此网站仅限邀请,联系所有者以获取访问","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"要完成注册,请点击您收件箱中的确认链接。如果在3分钟内没有收到,请检查一下您的垃圾邮件文件夹!","Try free for {{amount}} days, then {{originalPrice}}.":"{{amount}}天免费试用,之后{{originalPrice}}。","Unlock access to all newsletters by becoming a paid subscriber.":"成为付费订阅用户以解锁全部快报。","Unsubscribe from all emails":"取消所有邮件订阅",Unsubscribed:"取消订阅","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"取消邮件订阅不会取消您对 {{title}} 的付费订阅。",Update:"更新","Update your preferences":"更新您的偏好设置","Verify your email address is correct":"确认您的电子邮件地址是正确的","View plans":"查阅订阅计划","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"我们无法取消您的订阅,因为找不到该电子邮件地址。请联系网站所有者。","Welcome back, {{name}}!":"欢迎回来,{{name}}!","Welcome back!":"欢迎回来!","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"收件箱无法接收邮件时称为“反弹”。大多数时候这是临时的。但是某些情况下,无效或者不存在的邮件地址反弹的邮件会被认定为永久错误。","Why has my email been disabled?":"为什么我的邮件功能被禁用了?",Yearly:"年付","You currently have a free membership, upgrade to a paid subscription for full access.":"您当前为免费用户,升级为付费订阅以获取全部内容。","You have been successfully resubscribed":"您已成功重新订阅","You're currently not receiving emails":"您当前不会接收电子邮件。","You're not receiving emails":"您当前不会接收电子邮件。","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"您收不到电子邮件是因为您可能将最近的某个消息标记为垃圾邮件,或者无法将消息发送到您提供的电子邮件地址。","You've successfully signed in.":"您已成功登录。","Your account":"您的账户","Your input helps shape what gets published.":"您的建议将使我们变得更好。","Your subscription will expire on {{expiryDate}}":"您的订阅将在{{expiryDate}}到期","Your subscription will renew on {{renewalDate}}":"您的订阅将在{{renewalDate}}续费","Your subscription will start on {{subscriptionStart}}":"您的订阅将于{{subscriptionStart}}开始"},JS={"{{amount}} days free":"{{amount}}天免費","{{amount}} off":"{{amount}}元優惠","{{amount}} off for first {{number}} months.":"前{{number}}個月有{{amount}}元優惠","{{amount}} off for first {{period}}.":"首{{period}}有{{amount}}元優惠","{{amount}} off forever.":"永久{{amount}}元優惠","{{discount}}% discount":"{{discount}}% 折扣","{{memberEmail}} will no longer receive {{newsletterName}} newsletter.":"{{memberEmail}}將不再收到{{newsletterName}}的電子報。","{{memberEmail}} will no longer receive emails when someone replies to your comments.":"{{memberEmail}}將不再收到他人回覆您的評論時的通知。","{{memberEmail}} will no longer receive this newsletter.":"{{memberEmail}}將不再收到此電子報。","{{trialDays}} days free":"{{trialDays}} 天免費試用","A login link has been sent to your inbox. If it doesn't arrive in 3 minutes, be sure to check your spam folder.":"登錄連結已經發送到您的收件夾。如果在3分鐘內還沒有收到,請務必檢查您的垃圾郵件收件夾。",Account:"帳號","Account settings":"帳號設置","After a free trial ends, you will be charged the regular price for the tier you've chosen. You can always cancel before then.":"免費試用結束後,您將被收取所選套餐的標定價格。在此之前,您可以隨時取消。","Already a member?":"已經是會員了?","An unexpected error occured. Please try again or <a>contact support</a> if the error persists.":"發生了意外錯誤。請重試或若錯誤持續出現,請<a>聯繫客服</a>。",Back:"返回","Back to Log in":"返回登入","Billing info":"帳單內容","Black Friday":"黑色星期五促銷","Cancel anytime.":"隨時取消","Cancel subscription":"取消訂閱","Cancellation reason":"取消原因",Change:"修改","Check spam & promotions folders":"檢查垃圾收件夾或是促銷信件資料夾","Check with your mail provider":"請與您的電子信箱服務提供商確認",Choose:"選擇","Choose a different plan":"選擇其他訂閱方案","Choose your newsletters":"選擇您的電子報","Click here to retry":"點擊重試",Close:"關閉",Comments:"留言",Complimentary:"贈送",Confirm:"確認","Confirm cancellation":"確認取消","Confirm subscription":"確認訂閱","Contact support":"聯繫客服",Continue:"繼續","Continue subscription":"繼續訂閱","Could not sign in. Login link expired.":"無法登入。登入連結已過期。","Could not update email! Invalid link.":"無法更新 email!連結無效。","Create a new contact":"建立新聯絡人","Current plan":"目前方案","Delete account":"刪除帳號","Didn't mean to do this? Manage your preferences <button>here</button>.":"不小心按到?在<button>這裡</button>可以更改您的偏好設定。","Don't have an account?":"還沒有帳號嗎?",Edit:"編輯",Email:"email","Email newsletter":"電子報","Email preference updated.":"email 偏好已更新。","Email preferences":"email 偏好設定",Emails:"email 列表","Emails disabled":"關閉 email 列表","Ends {{offerEndDate}}":"於{{offerEndDate}}結束",Error:"錯誤","Expires {{expiryDate}}":"於{{expiryDate}}過期",Forever:"永久","Free Trial – Ends {{trialEnd}}":"免費試用 - 於{{trialEnd}}结束","Get help":"獲得幫助","Get in touch for help":"聯繫以獲得幫助","Get notified when someone replies to your comment":"當有人回覆您的留言時通知我","Give feedback on this post":"就這篇文章提供回饋","Help! I'm not receiving emails":"求救!我沒有收到 email","If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.":"如果有電子報被標記為垃圾郵件,該地址的郵件將自動停用,以確保您不再收到任何不需要的訊息。","If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.":"如果垃圾郵件投訴是意外的,或者您希望重新開始接收郵件,您可以點擊上一個畫面上的按鈕重新訂閱郵件。","If you cancel your subscription now, you will continue to have access until {{periodEnd}}.":"如果現在取消訂閱,您將在{{periodEnd}}之前繼續使用服務。","If you have a corporate or government email account, reach out to your IT department and ask them to allow emails to be received from {{senderEmail}}":"如果您有企業或政府郵件帳戶,請聯繫您的IT部門,要求他們允許從{{senderEmail}}接收郵件。","If you would like to start receiving emails again, the best next steps are to check your email address on file for any issues and then click resubscribe on the previous screen.":"如果您希望重新開始接收郵件,最好的下一步是檢查您存檔的郵件地址是否存在任何問題,然後在上一個畫面上點擊重新訂閱。","If you're not receiving the email newsletter you've subscribed to, here are few things to check.":"如果您沒有收到您訂閱的電子報,請檢查以下幾個事項。","If you've completed all these checks and you're still not receiving emails, you can reach out to get support by contacting {{supportAddress}}.":"如果您已經完成了所有這些檢查,但仍然沒有收到郵件,您可以通過聯繫{{supportAddress}}獲取支援。","In the event a permanent failure is received when attempting to send a newsletter, emails will be disabled on the account.":"當嘗試發送電子報時收到永久失敗的情況,該帳戶的郵件功能將被停用。","In your email client add {{senderEmail}} to your contacts list. This signals to your mail provider that emails sent from this address should be trusted.":"在您的email客戶端中將{{senderEmail}}添加到您的聯絡人列表中。這將向您的郵件提供商發出信號,表示應該信任從該地址發送的郵件。","Less like this":"較不感興趣",'Make sure emails aren\'t accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on "Mark as not spam" and/or "Move to inbox".':"請確保郵件沒有意外地被歸類為垃圾郵件或推廣郵件收件夾。如果有,請點擊“標記為非垃圾郵件”和/或“移至收件夾”。",Manage:"管理",Monthly:"每月","More like this":"較感興趣",Name:"名字","Need more help? Contact support":"需要更多幫助?聯繫支援服務","Newsletters can be disabled on your account for two reasons: A previous email was marked as spam, or attempting to send an email resulted in a permanent failure (bounce).":"您的帳戶可能會因兩個原因而禁用快報功能:先前的郵件被標記為垃圾郵件,或者嘗試發送郵件時出現永久失敗(退回)。","Not receiving emails?":"未收到 email?","Now check your email!":"現在檢查您的 email!","Once resubscribed, if you still don't see emails in your inbox, check your spam folder. Some inbox providers keep a record of previous spam complaints and will continue to flag emails. If this happens, mark the latest newsletter as 'Not spam' to move it back to your primary inbox.":"重新訂閱後,如果您在收件夾中仍然看不到郵件,請檢查您的垃圾郵件夾。一些收件夾提供商會保留先前的垃圾郵件投訴記錄並持續標記郵件。如果發生這種情況,請將最新的電子報標記為'非垃圾郵件',將其移回到您的主要收件夾。","Permanent failure (bounce)":"永久錯誤 (退回)",Plan:"訂閱","Plan checkout was cancelled.":"訂閱付款已取消。","Plan upgrade was cancelled.":"訂閱升級已取消。","Please fill in required fields":"請填寫必填項目",Price:"價格","Re-enable emails":"重新啟用 email","Renews at {{price}}.":"以{{price}}的價格續約。",Retry:"重試",Save:"儲存","Send an email and say hi!":"發送email問好!","Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.":"發送 email 給{{senderEmail}}並問好。這也有助於向您的 email 提供商傳達這個網址的往來郵件應該被信任。","Sending login link...":"正在發送登入連結...","Sending...":"發送中...","Sign in":"登入","Sign out":"登出","Sign up":"註冊","Signup error: Invalid link":"註冊錯誤:連結無效","Sorry, that didn’t work.":"抱歉,该操作無法完成。","Spam complaints":"垃圾信件","Start {{amount}}-day free trial":"開始 {{amount}} 天免費試用","Starting {{startDate}}":"從{{startDate}}開始","Starting today":"從今天開始","Submit feedback":"提交建議",Subscribe:"訂閱",Subscribed:"已訂閱",Success:"成功","Success! Check your email for magic link to sign-in.":"成功!請檢查您的 email 以獲取登入的魔法連結。","Success! Your account is fully activated, you now have access to all content.":"成功!您的帳號已完全啟用,現在可以訪問所有內容。","Success! Your email is updated.":"成功!您的 email 已更新。","Successfully unsubscribed":"成功取消訂閱","Thanks for the feedback!":"感謝您的建議!","That didn't go to plan":"似乎出錯了","The email address we have for you is {{memberEmail}} — if that's not correct, you can update it in your <button>account settings area</button>.":"我們所持有的您的 email 地址是 {{memberEmail}} — 如果這不正確,您可以在<button>帳號設定區域</button>進行更新。","There was a problem submitting your feedback. Please try again a little later.":"提交您的回饋時遇到問題。請稍後再試。","This site is invite-only, contact the owner for access.":"此網站僅限邀請,請聯繫擁有者獲取訪問權限。","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"要完成註冊,請點擊您收件箱中的確認連結。如果在3分鐘內沒有收到,請檢查您的垃圾郵件收件夾!","Try free for {{amount}} days, then {{originalPrice}}.":"免費試用{{amount}}天,然後{{originalPrice}}。","Unlock access to all newsletters by becoming a paid subscriber.":"","Unsubscribe from all emails":"取消所有電子報訂閱",Unsubscribed:"","Unsubscribing from emails will not cancel your paid subscription to {{title}}":"取消電子報訂閱不會取消您對{{title}}的付費訂閱。",Update:"更新","Update your preferences":"更新您的偏好設置","Verify your email address is correct":"確認你的email是正確的","View plans":"查詢訂閱計畫","We couldn't unsubscribe you as the email address was not found. Please contact the site owner.":"我們無法取消您的訂閱,因為找不到該 email 地址。請聯繫網站管理員。","Welcome back, {{name}}!":"歡迎回來,{{name}}!","Welcome back!":"歡迎回來!","When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.":"當收件匣無法接收郵件時,通常稱之為退回。在許多情況下,這可能是暫時的。然而,在某些情況下,當郵件地址無效或不存在時,退回的郵件可能會被視為永久失敗。","Why has my email been disabled?":"為什麼我的電子郵件被禁用了?",Yearly:"年付","You currently have a free membership, upgrade to a paid subscription for full access.":"您目前是免費會員,升級至付費訂閱以獲得完整存取權。","You have been successfully resubscribed":"您已成功重新訂閱","You're currently not receiving emails":"您目前無法接收郵件。","You're not receiving emails":"您無法接收郵件。","You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.":"您無法接收郵件,可能是因為您最近將某個郵件標記為垃圾郵件,或者郵件無法發送到您提供的 email。","You've successfully signed in.":"您已成功登入。","Your account":"您的帳號","Your input helps shape what gets published.":"您的建議有助於改善我們的內容。","Your subscription will expire on {{expiryDate}}":"您的訂閱將於{{expiryDate}}到期","Your subscription will renew on {{renewalDate}}":"您的訂閱將於{{renewalDate}}自動續訂","Your subscription will start on {{subscriptionStart}}":"您的訂閱將於{{subscriptionStart}}開始"};var sg;function lg(){return sg||(sg={"/i18n/locales/af/portal.json":function(){return yS},"/i18n/locales/bg/portal.json":function(){return bS},"/i18n/locales/ca/portal.json":function(){return vS},"/i18n/locales/cs/portal.json":function(){return kS},"/i18n/locales/da/portal.json":function(){return wS},"/i18n/locales/de/portal.json":function(){return xS},"/i18n/locales/en/portal.json":function(){return SS},"/i18n/locales/eo/portal.json":function(){return ES},"/i18n/locales/es/portal.json":function(){return CS},"/i18n/locales/fi/portal.json":function(){return $S},"/i18n/locales/fr/portal.json":function(){return _S},"/i18n/locales/hu/portal.json":function(){return PS},"/i18n/locales/id/portal.json":function(){return jS},"/i18n/locales/it/portal.json":function(){return NS},"/i18n/locales/ko/portal.json":function(){return TS},"/i18n/locales/mn/portal.json":function(){return IS},"/i18n/locales/nl/portal.json":function(){return DS},"/i18n/locales/no/portal.json":function(){return AS},"/i18n/locales/pl/portal.json":function(){return MS},"/i18n/locales/pt/portal.json":function(){return RS},"/i18n/locales/pt-BR/portal.json":function(){return OS},"/i18n/locales/ro/portal.json":function(){return LS},"/i18n/locales/ru/portal.json":function(){return zS},"/i18n/locales/si/portal.json":function(){return US},"/i18n/locales/sl/portal.json":function(){return YS},"/i18n/locales/sq/portal.json":function(){return FS},"/i18n/locales/sr/portal.json":function(){return BS},"/i18n/locales/sv/portal.json":function(){return HS},"/i18n/locales/tr/portal.json":function(){return WS},"/i18n/locales/uk/portal.json":function(){return GS},"/i18n/locales/uz/portal.json":function(){return VS},"/i18n/locales/vi/portal.json":function(){return qS},"/i18n/locales/zh/portal.json":function(){return KS},"/i18n/locales/zh-Hant/portal.json":function(){return JS}})}function QS(e){function t(n){var r=cg(n,e);if(r!==null)return lg()[r]();throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}return t.resolve=function(n){var r=cg(n,e);return r!==null?r:require.resolve(n)},t}function cg(e,t){var n=XS(e);e=Ka(e);var r;e[0]==="/"&&(t="");for(var i=lg(),o=["",".js",".json"];n?r=Ka(t+"/node_modules/"+e):r=Ka(t+"/"+e),!r.endsWith("/..");){for(var a=0;a<o.length;a++){var s=r+o[a];if(i[s])return s}if(!n)break;var l=Ka(t+"/..");if(l===t)break;t=l}return null}function XS(e){var t=e[0];if(t==="/"||t==="\\")return!1;var n=e[1],r=e[2];return!(t==="."&&(!n||n==="/"||n==="\\")||t==="."&&n==="."&&(!r||r==="/"||r==="\\")||n===":"&&(r==="/"||r==="\\"))}function Ka(e){e=e.replace(/\\/g,"/");for(var t=e.split("/"),n=t[0]==="",r=1;r<t.length;r++)(t[r]==="."||t[r]==="")&&t.splice(r--,1);for(var r=1;r<t.length;r++)t[r]===".."&&r>0&&t[r-1]!==".."&&t[r-1]!=="."&&(t.splice(--r,2),r--);return e=t.join("/"),n&&e[0]!=="/"?e="/"+e:e.length===0&&(e="."),e}var lu={exports:{}},ug={exports:{}};(function(e){function t(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(ug);var dg=ug.exports,pg={exports:{}},mg={exports:{}};(function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,a){return o.__proto__=a,o},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(mg);var ZS=mg.exports;(function(e){var t=ZS;function n(r,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(i&&i.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),i&&t(r,i)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(pg);var eE=pg.exports,fg={exports:{}};(function(e){var t=Oa.default,n=dg;function r(i,o){if(o&&(t(o)==="object"||typeof o=="function"))return o;if(o!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n(i)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(fg);var tE=fg.exports,hg={exports:{}};(function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(hg);var nE=hg.exports,gg={exports:{}};(function(e){var t=$h;function n(r,i,o){return i=t(i),i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(gg);var rE=gg.exports,yg={exports:{}},bg={exports:{}};(function(e){function t(n){if(Array.isArray(n))return n}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(bg);var iE=bg.exports,vg={exports:{}};(function(e){function t(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(vg);var oE=vg.exports,kg={exports:{}},wg={exports:{}};(function(e){function t(n,r){(r==null||r>n.length)&&(r=n.length);for(var i=0,o=new Array(r);i<r;i++)o[i]=n[i];return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(wg);var aE=wg.exports;(function(e){var t=aE;function n(r,i){if(r){if(typeof r=="string")return t(r,i);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return t(r,i)}}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(kg);var sE=kg.exports,xg={exports:{}};(function(e){function t(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3167
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(xg);var lE=xg.exports;(function(e){var t=iE,n=oE,r=sE,i=lE;function o(a){return t(a)||n(a)||r(a)||i()}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports})(yg);var cE=yg.exports,uE=Oa,dE=kh,pE=_h,mE=dg,fE=eE,hE=tE,gE=nE,yE=rE,bE=cE;function $t(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var $r=$t(uE),ct=$t(dE),ut=$t(pE),Pn=$t(mE),Ja=$t(fE),Bi=$t(hE),nn=$t(gE),rn=$t(yE),vE=$t(bE);function Sg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Eg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Sg(Object(n),!0).forEach(function(r){rn.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var kE={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,n){console&&console[t]&&console[t].apply(console,n)}},wE=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ct.default(this,e),this.init(t,n)}return ut.default(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||kE,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"log","",!0)}},{key:"warn",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","",!0)}},{key:"error",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"error","")}},{key:"deprecate",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(n,r,i,o){return o&&!this.debug?null:(typeof n[0]=="string"&&(n[0]="".concat(i).concat(this.prefix," ").concat(n[0])),this.logger[r](n))}},{key:"create",value:function(n){return new e(this.logger,Eg(Eg({},{prefix:"".concat(this.prefix,":").concat(n,":")}),this.options))}},{key:"clone",value:function(n){return n=n||this.options,n.prefix=n.prefix||this.prefix,new e(this.logger,n)}}]),e}(),dt=new wE,on=function(){function e(){ct.default(this,e),this.observers={}}return ut.default(e,[{key:"on",value:function(n,r){var i=this;return n.split(" ").forEach(function(o){i.observers[o]=i.observers[o]||[],i.observers[o].push(r)}),this}},{key:"off",value:function(n,r){if(this.observers[n]){if(!r){delete this.observers[n];return}this.observers[n]=this.observers[n].filter(function(i){return i!==r})}}},{key:"emit",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(this.observers[n]){var a=[].concat(this.observers[n]);a.forEach(function(l){l.apply(void 0,i)})}if(this.observers["*"]){var s=[].concat(this.observers["*"]);s.forEach(function(l){l.apply(l,[n].concat(i))})}}}]),e}();function Hi(){var e,t,n=new Promise(function(r,i){e=r,t=i});return n.resolve=e,n.reject=t,n}function Cg(e){return e==null?"":""+e}function xE(e,t,n){e.forEach(function(r){t[r]&&(n[r]=t[r])})}function cu(e,t,n){function r(s){return s&&s.indexOf("###")>-1?s.replace(/###/g,"."):s}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={}}return i()?{}:{obj:e,k:r(o.shift())}}function $g(e,t,n){var r=cu(e,t,Object),i=r.obj,o=r.k;i[o]=n}function SE(e,t,n,r){var i=cu(e,t,Object),o=i.obj,a=i.k;o[a]=o[a]||[],r&&(o[a]=o[a].concat(n)),r||o[a].push(n)}function Qa(e,t){var n=cu(e,t),r=n.obj,i=n.k;if(r)return r[i]}function EE(e,t,n){var r=Qa(e,n);return r!==void 0?r:Qa(t,n)}function _g(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):_g(e[r],t[r],n):e[r]=t[r]);return e}function _r(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var CE={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function $E(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return CE[t]}):e}var Xa=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,_E=[" ",",","?","!",";"];function PE(e,t,n){t=t||"",n=n||"";var r=_E.filter(function(s){return t.indexOf(s)<0&&n.indexOf(s)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),o=!i.test(e);if(!o){var a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}function Za(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;o<r.length;++o){if(!i||typeof i[r[o]]=="string"&&o+1<r.length)return;if(i[r[o]]===void 0){for(var a=2,s=r.slice(o,o+a).join(n),l=i[s];l===void 0&&r.length>o+a;)a++,s=r.slice(o,o+a).join(n),l=i[s];if(l===void 0)return;if(l===null)return null;if(t.endsWith(s)){if(typeof l=="string")return l;if(s&&typeof l[s]=="string")return l[s]}var u=r.slice(o+a).join(n);return u?Za(l,u,n):void 0}i=i[r[o]]}return i}}function Pg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function es(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Pg(Object(n),!0).forEach(function(r){rn.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function jE(e){var t=NE();return function(){var r=nn.default(e),i;if(t){var o=nn.default(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Bi.default(this,i)}}function NE(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var TE=function(e){Ja.default(n,e);var t=jE(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return ct.default(this,n),i=t.call(this),Xa&&on.call(Pn.default(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return ut.default(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,p=[i,o];a&&typeof a!="string"&&(p=p.concat(a)),a&&typeof a=="string"&&(p=p.concat(l?a.split(l):a)),i.indexOf(".")>-1&&(p=i.split("."));var d=Qa(this.data,p);return d||!u||typeof a!="string"?d:Za(this.data&&this.data[i]&&this.data[i][o],a,l)}},{key:"addResource",value:function(i,o,a,s){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var p=[i,o];a&&(p=p.concat(u?a.split(u):a)),i.indexOf(".")>-1&&(p=i.split("."),s=o,o=p[1]),this.addNamespaces(o),$g(this.data,p,s),l.silent||this.emit("added",i,o,a,s)}},{key:"addResources",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var l in a)(typeof a[l]=="string"||Object.prototype.toString.apply(a[l])==="[object Array]")&&this.addResource(i,o,l,a[l],{silent:!0});s.silent||this.emit("added",i,o,a)}},{key:"addResourceBundle",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},p=[i,o];i.indexOf(".")>-1&&(p=i.split("."),s=a,a=o,o=p[1]),this.addNamespaces(o);var d=Qa(this.data,p)||{};s?_g(d,a,l):d=es(es({},d),a),$g(this.data,p,d),u.silent||this.emit("added",i,o,a)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?es(es({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),a=o&&Object.keys(o)||[];return!!a.find(function(s){return o[s]&&Object.keys(o[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(on),jg={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,i,o){var a=this;return t.forEach(function(s){a.processors[s]&&(n=a.processors[s].process(n,r,i,o))}),n}};function Ng(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function be(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ng(Object(n),!0).forEach(function(r){rn.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ng(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function IE(e){var t=DE();return function(){var r=nn.default(e),i;if(t){var o=nn.default(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Bi.default(this,i)}}function DE(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Tg={},Ig=function(e){Ja.default(n,e);var t=IE(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ct.default(this,n),i=t.call(this),Xa&&on.call(Pn.default(i)),xE(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,Pn.default(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=dt.create("translator"),i}return ut.default(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var a=this.resolve(i,o);return a&&a.res!==void 0}},{key:"extractFromKey",value:function(i,o){var a=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");var s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,l=o.ns||this.options.defaultNS||[],u=a&&i.indexOf(a)>-1,p=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!PE(i,a,s);if(u&&!p){var d=i.match(this.interpolator.nestingRegexp);if(d&&d.length>0)return{key:i,namespaces:l};var m=i.split(a);(a!==s||a===s&&this.options.ns.indexOf(m[0])>-1)&&(l=m.shift()),i=m.join(s)}return typeof l=="string"&&(l=[l]),{key:i,namespaces:l}}},{key:"translate",value:function(i,o,a){var s=this;if($r.default(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),$r.default(o)==="object"&&(o=be({},o)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var l=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,p=this.extractFromKey(i[i.length-1],o),d=p.key,m=p.namespaces,g=m[m.length-1],b=o.lng||this.language,x=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(b&&b.toLowerCase()==="cimode"){if(x){var y=o.nsSeparator||this.options.nsSeparator;return l?{res:"".concat(g).concat(y).concat(d),usedKey:d,exactUsedKey:d,usedLng:b,usedNS:g}:"".concat(g).concat(y).concat(d)}return l?{res:d,usedKey:d,exactUsedKey:d,usedLng:b,usedNS:g}:d}var f=this.resolve(i,o),h=f&&f.res,v=f&&f.usedKey||d,k=f&&f.exactUsedKey||d,C=Object.prototype.toString.apply(h),S=["[object Number]","[object Function]","[object RegExp]"],j=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,T=!this.i18nFormat||this.i18nFormat.handleAsObject,_=typeof h!="string"&&typeof h!="boolean"&&typeof h!="number";if(T&&h&&_&&S.indexOf(C)<0&&!(typeof j=="string"&&C==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var U=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,h,be(be({},o),{},{ns:m})):"key '".concat(d," (").concat(this.language,")' returned an object instead of string.");return l?(f.res=U,f):U}if(u){var Fe=C==="[object Array]",Z=Fe?[]:{},te=Fe?k:v;for(var et in h)if(Object.prototype.hasOwnProperty.call(h,et)){var mt="".concat(te).concat(u).concat(et);Z[et]=this.translate(mt,be(be({},o),{joinArrays:!1,ns:m})),Z[et]===mt&&(Z[et]=h[et])}h=Z}}else if(T&&typeof j=="string"&&C==="[object Array]")h=h.join(j),h&&(h=this.extendTranslation(h,i,o,a));else{var ft=!1,Pt=!1,jr=o.count!==void 0&&typeof o.count!="string",jn=n.hasDefaultValue(o),pu=jr?this.pluralResolver.getSuffix(b,o.count,o):"",$=o["defaultValue".concat(pu)]||o.defaultValue;!this.isValidLookup(h)&&jn&&(ft=!0,h=$),this.isValidLookup(h)||(Pt=!0,h=d);var D=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,M=D&&Pt?void 0:h,Y=jn&&$!==h&&this.options.updateMissing;if(Pt||ft||Y){if(this.logger.log(Y?"updateKey":"missingKey",b,g,d,Y?$:h),u){var ne=this.resolve(d,be(be({},o),{},{keySeparator:!1}));ne&&ne.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var Ie=[],Be=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Be&&Be[0])for(var jt=0;jt<Be.length;jt++)Ie.push(Be[jt]);else this.options.saveMissingTo==="all"?Ie=this.languageUtils.toResolveHierarchy(o.lng||this.language):Ie.push(o.lng||this.language);var Nt=function(Nr,fu,qg){var Kg=jn&&qg!==h?qg:M;s.options.missingKeyHandler?s.options.missingKeyHandler(Nr,g,fu,Kg,Y,o):s.backendConnector&&s.backendConnector.saveMissing&&s.backendConnector.saveMissing(Nr,g,fu,Kg,Y,o),s.emit("missingKey",Nr,g,fu,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&jr?Ie.forEach(function(mu){s.pluralResolver.getSuffixes(mu,o).forEach(function(Nr){Nt([mu],d+Nr,o["defaultValue".concat(Nr)]||$)})}):Nt(Ie,d,$))}h=this.extendTranslation(h,i,o,f,a),Pt&&h===d&&this.options.appendNamespaceToMissingKey&&(h="".concat(g,":").concat(d)),(Pt||ft)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?h=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(g,":").concat(d):d,ft?h:void 0):h=this.options.parseMissingKeyHandler(h))}return l?(f.res=h,f):h}},{key:"extendTranslation",value:function(i,o,a,s,l){var u=this;if(this.i18nFormat&&this.i18nFormat.parse)i=this.i18nFormat.parse(i,be(be({},this.options.interpolation.defaultVariables),a),s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!a.skipInterpolation){a.interpolation&&this.interpolator.init(be(be({},a),{interpolation:be(be({},this.options.interpolation),a.interpolation)}));var p=typeof i=="string"&&(a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),d;if(p){var m=i.match(this.interpolator.nestingRegexp);d=m&&m.length}var g=a.replace&&typeof a.replace!="string"?a.replace:a;if(this.options.interpolation.defaultVariables&&(g=be(be({},this.options.interpolation.defaultVariables),g)),i=this.interpolator.interpolate(i,g,a.lng||this.language,a),p){var b=i.match(this.interpolator.nestingRegexp),x=b&&b.length;d<x&&(a.nest=!1)}!a.lng&&this.options.compatibilityAPI!=="v1"&&s&&s.res&&(a.lng=s.usedLng),a.nest!==!1&&(i=this.interpolator.nest(i,function(){for(var h=arguments.length,v=new Array(h),k=0;k<h;k++)v[k]=arguments[k];return l&&l[0]===v[0]&&!a.context?(u.logger.warn("It seems you are nesting recursively key: ".concat(v[0]," in key: ").concat(o[0])),null):u.translate.apply(u,v.concat([o]))},a)),a.interpolation&&this.interpolator.reset()}var y=a.postProcess||this.options.postProcess,f=typeof y=="string"?[y]:y;return i!=null&&f&&f.length&&a.applyPostProcessor!==!1&&(i=jg.handle(f,i,o,this.options&&this.options.postProcessPassResolved?be({i18nResolved:s},a):a,this)),i}},{key:"resolve",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,l,u,p,d;return typeof i=="string"&&(i=[i]),i.forEach(function(m){if(!o.isValidLookup(s)){var g=o.extractFromKey(m,a),b=g.key;l=b;var x=g.namespaces;o.options.fallbackNS&&(x=x.concat(o.options.fallbackNS));var y=a.count!==void 0&&typeof a.count!="string",f=y&&!a.ordinal&&a.count===0&&o.pluralResolver.shouldUseIntlApi(),h=a.context!==void 0&&(typeof a.context=="string"||typeof a.context=="number")&&a.context!=="",v=a.lngs?a.lngs:o.languageUtils.toResolveHierarchy(a.lng||o.language,a.fallbackLng);x.forEach(function(k){o.isValidLookup(s)||(d=k,!Tg["".concat(v[0],"-").concat(k)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(d)&&(Tg["".concat(v[0],"-").concat(k)]=!0,o.logger.warn('key "'.concat(l,'" for languages "').concat(v.join(", "),`" won't get resolved as namespace "`).concat(d,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),v.forEach(function(C){if(!o.isValidLookup(s)){p=C;var S=[b];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(S,b,C,k,a);else{var j;y&&(j=o.pluralResolver.getSuffix(C,a.count,a));var T="".concat(o.options.pluralSeparator,"zero");if(y&&(S.push(b+j),f&&S.push(b+T)),h){var _="".concat(b).concat(o.options.contextSeparator).concat(a.context);S.push(_),y&&(S.push(_+j),f&&S.push(_+T))}}for(var U;U=S.pop();)o.isValidLookup(s)||(u=U,s=o.getResource(C,k,U,a))}}))})}}),{res:s,usedKey:l,exactUsedKey:u,usedLng:p,usedNS:d}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,a,s):this.resourceStore.getResource(i,o,a,s)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)&&o===a.substring(0,o.length)&&i[a]!==void 0)return!0;return!1}}]),n}(on);function uu(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Dg=function(){function e(t){ct.default(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=dt.create("languageUtils")}return ut.default(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=uu(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=uu(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=uu(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var a=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(a))&&(i=a)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var a=r.getLanguagePartFromCode(o);if(r.isSupportedCode(a))return i=a;i=r.options.supportedLngs.find(function(s){if(s===a)return s;if(!(s.indexOf("-")<0&&a.indexOf("-")<0)&&s.indexOf(a)===0)return s})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),a=[],s=function(u){u&&(i.isSupportedCode(u)?a.push(u):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(n))):typeof n=="string"&&s(this.formatLanguageCode(n)),o.forEach(function(l){a.indexOf(l)<0&&s(i.formatLanguageCode(l))}),a}}]),e}(),AE=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],ME={1:function(t){return+(t>1)},2:function(t){return+(t!=1)},3:function(t){return 0},4:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},5:function(t){return t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},6:function(t){return t==1?0:t>=2&&t<=4?1:2},7:function(t){return t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},8:function(t){return t==1?0:t==2?1:t!=8&&t!=11?2:3},9:function(t){return+(t>=2)},10:function(t){return t==1?0:t==2?1:t<7?2:t<11?3:4},11:function(t){return t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3},12:function(t){return+(t%10!=1||t%100==11)},13:function(t){return+(t!==0)},14:function(t){return t==1?0:t==2?1:t==3?2:3},15:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2},16:function(t){return t%10==1&&t%100!=11?0:t!==0?1:2},17:function(t){return t==1||t%10==1&&t%100!=11?0:1},18:function(t){return t==0?0:t==1?1:2},19:function(t){return t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3},20:function(t){return t==1?0:t==0||t%100>0&&t%100<20?1:2},21:function(t){return t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0},22:function(t){return t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3}},RE=["v1","v2","v3"],Ag={zero:0,one:1,two:2,few:3,many:4,other:5};function OE(){var e={};return AE.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:ME[t.fc]}})}),e}var LE=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ct.default(this,e),this.languageUtils=t,this.options=n,this.logger=dt.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=OE()}return ut.default(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(a,s){return Ag[a]-Ag[s]}).map(function(a){return"".concat(r.options.prepend).concat(a)}):o.numbers.map(function(a){return r.getSuffix(n,a,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),a=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return i.options.prepend&&a.toString()?i.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!RE.includes(this.options.compatibilityJSON)}}]),e}();function Mg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ze(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Mg(Object(n),!0).forEach(function(r){rn.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Rg(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=EE(e,t,n);return!o&&i&&typeof n=="string"&&(o=Za(e,n,r),o===void 0&&(o=Za(t,n,r))),o}var zE=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ct.default(this,e),this.logger=dt.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return ut.default(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:$E,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?_r(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?_r(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?_r(r.nestingPrefix):r.nestingPrefixEscaped||_r("$t("),this.nestingSuffix=r.nestingSuffix?_r(r.nestingSuffix):r.nestingSuffixEscaped||_r(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var a=this,s,l,u,p=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d(y){return y.replace(/\$/g,"$$$$")}var m=function(f){if(f.indexOf(a.formatSeparator)<0){var h=Rg(r,p,f,a.options.keySeparator,a.options.ignoreJSONStructure);return a.alwaysFormat?a.format(h,void 0,i,Ze(Ze(Ze({},o),r),{},{interpolationkey:f})):h}var v=f.split(a.formatSeparator),k=v.shift().trim(),C=v.join(a.formatSeparator).trim();return a.format(Rg(r,p,k,a.options.keySeparator,a.options.ignoreJSONStructure),C,i,Ze(Ze(Ze({},o),r),{},{interpolationkey:k}))};this.resetRegExp();var g=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,b=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,x=[{regex:this.regexpUnescape,safeValue:function(f){return d(f)}},{regex:this.regexp,safeValue:function(f){return a.escapeValue?d(a.escape(f)):d(f)}}];return x.forEach(function(y){for(u=0;s=y.regex.exec(n);){var f=s[1].trim();if(l=m(f),l===void 0)if(typeof g=="function"){var h=g(n,s,o);l=typeof h=="string"?h:""}else if(o&&Object.prototype.hasOwnProperty.call(o,f))l="";else if(b){l=s[0];continue}else a.logger.warn("missed to pass in variable ".concat(f," for interpolating ").concat(n)),l="";else typeof l!="string"&&!a.useRawValueToEscape&&(l=Cg(l));var v=y.safeValue(l);if(n=n.replace(s[0],v),b?(y.regex.lastIndex+=l.length,y.regex.lastIndex-=s[0].length):y.regex.lastIndex=0,u++,u>=a.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,l;function u(g,b){var x=this.nestingOptionsSeparator;if(g.indexOf(x)<0)return g;var y=g.split(new RegExp("".concat(x,"[ ]*{"))),f="{".concat(y[1]);g=y[0],f=this.interpolate(f,l);var h=f.match(/'/g),v=f.match(/"/g);(h&&h.length%2===0&&!v||v.length%2!==0)&&(f=f.replace(/'/g,'"'));try{l=JSON.parse(f),b&&(l=Ze(Ze({},b),l))}catch(k){return this.logger.warn("failed parsing options string in nesting for key ".concat(g),k),"".concat(g).concat(x).concat(f)}return delete l.defaultValue,g}for(;a=this.nestingRegexp.exec(n);){var p=[];l=Ze({},o),l=l.replace&&typeof l.replace!="string"?l.replace:l,l.applyPostProcessor=!1,delete l.defaultValue;var d=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){var m=a[1].split(this.formatSeparator).map(function(g){return g.trim()});a[1]=m.shift(),p=m,d=!0}if(s=r(u.call(this,a[1].trim(),l),l),s&&a[0]===n&&typeof s!="string")return s;typeof s!="string"&&(s=Cg(s)),s||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(n)),s=""),d&&(s=p.reduce(function(g,b){return i.format(g,b,o.lng,Ze(Ze({},o),{},{interpolationkey:a[1].trim()}))},s.trim())),n=n.replace(a[0],s),this.regexp.lastIndex=0}return n}}]),e}();function Og(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function _t(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Og(Object(n),!0).forEach(function(r){rn.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Og(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function UE(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(t==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(t==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(a){if(a){var s=a.split(":"),l=vE.default(s),u=l[0],p=l.slice(1),d=p.join(":").trim().replace(/^'+|'+$/g,"");n[u.trim()]||(n[u.trim()]=d),d==="false"&&(n[u.trim()]=!1),d==="true"&&(n[u.trim()]=!0),isNaN(d)||(n[u.trim()]=parseInt(d,10))}})}}return{formatName:t,formatOptions:n}}function Pr(e){var t={};return function(r,i,o){var a=i+JSON.stringify(o),s=t[a];return s||(s=e(i,o),t[a]=s),s(r)}}var YE=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ct.default(this,e),this.logger=dt.create("formatter"),this.options=t,this.formats={number:Pr(function(n,r){var i=new Intl.NumberFormat(n,_t({},r));return function(o){return i.format(o)}}),currency:Pr(function(n,r){var i=new Intl.NumberFormat(n,_t(_t({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:Pr(function(n,r){var i=new Intl.DateTimeFormat(n,_t({},r));return function(o){return i.format(o)}}),relativetime:Pr(function(n,r){var i=new Intl.RelativeTimeFormat(n,_t({},r));return function(o){return i.format(o,r.range||"day")}}),list:Pr(function(n,r){var i=new Intl.ListFormat(n,_t({},r));return function(o){return i.format(o)}})},this.init(t)}return ut.default(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=Pr(r)}},{key:"format",value:function(n,r,i){var o=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=r.split(this.formatSeparator),l=s.reduce(function(u,p){var d=UE(p),m=d.formatName,g=d.formatOptions;if(o.formats[m]){var b=u;try{var x=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},y=x.locale||x.lng||a.locale||a.lng||i;b=o.formats[m](u,y,_t(_t(_t({},g),a),x))}catch(f){o.logger.warn(f)}return b}else o.logger.warn("there was no format function for ".concat(m));return u},n);return l}}]),e}();function Lg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function zg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Lg(Object(n),!0).forEach(function(r){rn.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function FE(e){var t=BE();return function(){var r=nn.default(e),i;if(t){var o=nn.default(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Bi.default(this,i)}}function BE(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function HE(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var WE=function(e){Ja.default(n,e);var t=FE(n);function n(r,i,o){var a,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return ct.default(this,n),a=t.call(this),Xa&&on.call(Pn.default(a)),a.backend=r,a.store=i,a.services=o,a.languageUtils=o.languageUtils,a.options=s,a.logger=dt.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=s.maxParallelReads||10,a.readingCalls=0,a.maxRetries=s.maxRetries>=0?s.maxRetries:5,a.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(o,s.backend,s),a}return ut.default(n,[{key:"queueLoad",value:function(i,o,a,s){var l=this,u={},p={},d={},m={};return i.forEach(function(g){var b=!0;o.forEach(function(x){var y="".concat(g,"|").concat(x);!a.reload&&l.store.hasResourceBundle(g,x)?l.state[y]=2:l.state[y]<0||(l.state[y]===1?p[y]===void 0&&(p[y]=!0):(l.state[y]=1,b=!1,p[y]===void 0&&(p[y]=!0),u[y]===void 0&&(u[y]=!0),m[x]===void 0&&(m[x]=!0)))}),b||(d[g]=!0)}),(Object.keys(u).length||Object.keys(p).length)&&this.queue.push({pending:p,pendingCount:Object.keys(p).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(u),pending:Object.keys(p),toLoadLanguages:Object.keys(d),toLoadNamespaces:Object.keys(m)}}},{key:"loaded",value:function(i,o,a){var s=i.split("|"),l=s[0],u=s[1];o&&this.emit("failedLoading",l,u,o),a&&this.store.addResourceBundle(l,u,a),this.state[i]=o?-1:2;var p={};this.queue.forEach(function(d){SE(d.loaded,[l],u),HE(d,i),o&&d.errors.push(o),d.pendingCount===0&&!d.done&&(Object.keys(d.loaded).forEach(function(m){p[m]||(p[m]={});var g=d.loaded[m];g.length&&g.forEach(function(b){p[m][b]===void 0&&(p[m][b]=!0)})}),d.done=!0,d.errors.length?d.callback(d.errors):d.callback())}),this.emit("loaded",p),this.queue=this.queue.filter(function(d){return!d.done})}},{key:"read",value:function(i,o,a){var s=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,p=arguments.length>5?arguments[5]:void 0;if(!i.length)return p(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:a,tried:l,wait:u,callback:p});return}this.readingCalls++;var d=function(x,y){if(s.readingCalls--,s.waitingReads.length>0){var f=s.waitingReads.shift();s.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(x&&y&&l<s.maxRetries){setTimeout(function(){s.read.call(s,i,o,a,l+1,u*2,p)},u);return}p(x,y)},m=this.backend[a].bind(this.backend);if(m.length===2){try{var g=m(i,o);g&&typeof g.then=="function"?g.then(function(b){return d(null,b)}).catch(d):d(null,g)}catch(b){d(b)}return}return m(i,o,d)}},{key:"prepareLoading",value:function(i,o){var a=this,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),l&&l();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var u=this.queueLoad(i,o,s,l);if(!u.toLoad.length)return u.pending.length||l(),null;u.toLoad.forEach(function(p){a.loadOne(p)})}},{key:"load",value:function(i,o,a){this.prepareLoading(i,o,{},a)}},{key:"reload",value:function(i,o,a){this.prepareLoading(i,o,{reload:!0},a)}},{key:"loadOne",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=i.split("|"),l=s[0],u=s[1];this.read(l,u,"read",void 0,void 0,function(p,d){p&&o.logger.warn("".concat(a,"loading namespace ").concat(u," for language ").concat(l," failed"),p),!p&&d&&o.logger.log("".concat(a,"loaded namespace ").concat(u," for language ").concat(l),d),o.loaded(i,p,d)})}},{key:"saveMissing",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},p=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(a,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){var d=zg(zg({},u),{},{isUpdate:l}),m=this.backend.create.bind(this.backend);if(m.length<6)try{var g;m.length===5?g=m(i,o,a,s,d):g=m(i,o,a,s),g&&typeof g.then=="function"?g.then(function(b){return p(null,b)}).catch(p):p(null,g)}catch(b){p(b)}else m(i,o,a,s,p,d)}!i||!i[0]||this.store.addResource(i[0],o,a,s)}}}]),n}(on);function Ug(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if($r.default(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),$r.default(t[2])==="object"||$r.default(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,i){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Yg(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Fg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function pt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Fg(Object(n),!0).forEach(function(r){rn.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function GE(e){var t=VE();return function(){var r=nn.default(e),i;if(t){var o=nn.default(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Bi.default(this,i)}}function VE(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ts(){}function qE(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var ns=function(e){Ja.default(n,e);var t=GE(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(ct.default(this,n),r=t.call(this),Xa&&on.call(Pn.default(r)),r.options=Yg(i),r.services={},r.logger=dt,r.modules={external:[]},qE(Pn.default(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),Bi.default(r,Pn.default(r));setTimeout(function(){r.init(i,o)},0)}return r}return ut.default(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(a=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var s=Ug();this.options=pt(pt(pt({},s),this.options),Yg(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=pt(pt({},s.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function l(f){return f?typeof f=="function"?new f:f:null}if(!this.options.isClone){this.modules.logger?dt.init(l(this.modules.logger),this.options):dt.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=YE);var p=new Dg(this.options);this.store=new TE(this.options.resources,this.options);var d=this.services;d.logger=dt,d.resourceStore=this.store,d.languageUtils=p,d.pluralResolver=new LE(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(d.formatter=l(u),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new zE(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new WE(l(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(f){for(var h=arguments.length,v=new Array(h>1?h-1:0),k=1;k<h;k++)v[k-1]=arguments[k];i.emit.apply(i,[f].concat(v))}),this.modules.languageDetector&&(d.languageDetector=l(this.modules.languageDetector),d.languageDetector.init&&d.languageDetector.init(d,this.options.detection,this.options)),this.modules.i18nFormat&&(d.i18nFormat=l(this.modules.i18nFormat),d.i18nFormat.init&&d.i18nFormat.init(this)),this.translator=new Ig(this.services,this.options),this.translator.on("*",function(f){for(var h=arguments.length,v=new Array(h>1?h-1:0),k=1;k<h;k++)v[k-1]=arguments[k];i.emit.apply(i,[f].concat(v))}),this.modules.external.forEach(function(f){f.init&&f.init(i)})}if(this.format=this.options.interpolation.format,a||(a=ts),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var m=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);m.length>0&&m[0]!=="dev"&&(this.options.lng=m[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var g=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];g.forEach(function(f){i[f]=function(){var h;return(h=i.store)[f].apply(h,arguments)}});var b=["addResource","addResources","addResourceBundle","removeResourceBundle"];b.forEach(function(f){i[f]=function(){var h;return(h=i.store)[f].apply(h,arguments),i}});var x=Hi(),y=function(){var h=function(k,C){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),x.resolve(C),a(k,C)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return h(null,i.t.bind(i));i.changeLanguage(i.options.lng,h)};return this.options.resources||!this.options.initImmediate?y():setTimeout(y,0),x}},{key:"loadResources",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ts,s=a,l=typeof i=="string"?i:this.language;if(typeof i=="function"&&(s=i),!this.options.resources||this.options.partialBundledLanguages){if(l&&l.toLowerCase()==="cimode")return s();var u=[],p=function(g){if(g){var b=o.services.languageUtils.toResolveHierarchy(g);b.forEach(function(x){u.indexOf(x)<0&&u.push(x)})}};if(l)p(l);else{var d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.forEach(function(m){return p(m)})}this.options.preload&&this.options.preload.forEach(function(m){return p(m)}),this.services.backendConnector.load(u,this.options.ns,function(m){!m&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),s(m)})}else s(null)}},{key:"reloadResources",value:function(i,o,a){var s=Hi();return i||(i=this.languages),o||(o=this.options.ns),a||(a=ts),this.services.backendConnector.reload(i,o,function(l){s.resolve(),a(l)}),s}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&jg.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o<this.languages.length;o++){var a=this.languages[o];if(!(["cimode","dev"].indexOf(a)>-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}},{key:"changeLanguage",value:function(i,o){var a=this;this.isLanguageChangingTo=i;var s=Hi();this.emit("languageChanging",i);var l=function(m){a.language=m,a.languages=a.services.languageUtils.toResolveHierarchy(m),a.resolvedLanguage=void 0,a.setResolvedLanguage(m)},u=function(m,g){g?(l(g),a.translator.changeLanguage(g),a.isLanguageChangingTo=void 0,a.emit("languageChanged",g),a.logger.log("languageChanged",g)):a.isLanguageChangingTo=void 0,s.resolve(function(){return a.t.apply(a,arguments)}),o&&o(m,function(){return a.t.apply(a,arguments)})},p=function(m){!i&&!m&&a.services.languageDetector&&(m=[]);var g=typeof m=="string"?m:a.services.languageUtils.getBestMatchFromCodes(m);g&&(a.language||l(g),a.translator.language||a.translator.changeLanguage(g),a.services.languageDetector&&a.services.languageDetector.cacheUserLanguage&&a.services.languageDetector.cacheUserLanguage(g)),a.loadResources(g,function(b){u(b,g)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?p(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(p):this.services.languageDetector.detect(p):p(i),s}},{key:"getFixedT",value:function(i,o,a){var s=this,l=function u(p,d){var m;if($r.default(d)!=="object"){for(var g=arguments.length,b=new Array(g>2?g-2:0),x=2;x<g;x++)b[x-2]=arguments[x];m=s.options.overloadTranslationOptionHandler([p,d].concat(b))}else m=pt({},d);m.lng=m.lng||u.lng,m.lngs=m.lngs||u.lngs,m.ns=m.ns||u.ns,m.keyPrefix=m.keyPrefix||a||u.keyPrefix;var y=s.options.keySeparator||".",f;return m.keyPrefix&&Array.isArray(p)?f=p.map(function(h){return"".concat(m.keyPrefix).concat(y).concat(h)}):f=m.keyPrefix?"".concat(m.keyPrefix).concat(y).concat(p):p,s.t(f,m)};return typeof i=="string"?l.lng=i:l.lngs=i,l.ns=o,l.keyPrefix=a,l}},{key:"t",value:function(){var i;return this.translator&&(i=this.translator).translate.apply(i,arguments)}},{key:"exists",value:function(){var i;return this.translator&&(i=this.translator).exists.apply(i,arguments)}},{key:"setDefaultNamespace",value:function(i){this.options.defaultNS=i}},{key:"hasLoadedNamespace",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=a.lng||this.resolvedLanguage||this.languages[0],l=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var p=function(g,b){var x=o.services.backendConnector.state["".concat(g,"|").concat(b)];return x===-1||x===2};if(a.precheck){var d=a.precheck(this,p);if(d!==void 0)return d}return!!(this.hasResourceBundle(s,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||p(s,i)&&(!l||p(u,i)))}},{key:"loadNamespaces",value:function(i,o){var a=this,s=Hi();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(l){a.options.ns.indexOf(l)<0&&a.options.ns.push(l)}),this.loadResources(function(l){s.resolve(),o&&o(l)}),s):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var a=Hi();typeof i=="string"&&(i=[i]);var s=this.options.preload||[],l=i.filter(function(u){return s.indexOf(u)<0});return l.length?(this.options.preload=s.concat(l),this.loadResources(function(u){a.resolve(),o&&o(u)}),a):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new Dg(Ug());return o.indexOf(a.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ts,s=pt(pt(pt({},this.options),o),{isClone:!0}),l=new n(s);(o.debug!==void 0||o.prefix!==void 0)&&(l.logger=l.logger.clone(o));var u=["store","services","language"];return u.forEach(function(p){l[p]=i[p]}),l.services=pt({},this.services),l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l.translator=new Ig(l.services,l.options),l.translator.on("*",function(p){for(var d=arguments.length,m=new Array(d>1?d-1:0),g=1;g<d;g++)m[g-1]=arguments[g];l.emit.apply(l,[p].concat(m))}),l.init(s,a),l.translator.options=l.options,l.translator.backendConnector.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(on);rn.default(ns,"createInstance",function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new ns(e,t)});var Bg=ns.createInstance();Bg.createInstance=ns.createInstance;var KE=Bg;const JE=KE,Hg=["af","bg","ca","cs","da","de","en","eo","es","fi","fr","hu","id","it","ko","mn","nl","no","pl","pt","pt-BR","ro","ru","si","sl","sq","sr","sv","tr","uk","uz","vi","zh","zh-Hant"];lu.exports=(e="en",t="portal")=>{const n=JE.createInstance();return n.init({lng:e,nsSeparator:!1,keySeparator:!1,returnEmptyString:!1,fallbackLng:!1,ns:t,defaultNS:t,resources:Hg.reduce((r,i)=>(r[i]={[t]:QS("/i18n/lib")(`../locales/${i}/${t}.json`)},r),{})}),n},lu.exports.SUPPORTED_LOCALES=Hg;var QE=lu.exports,XE=QE;const ZE=ve(XE),eC={showPopup:!0,site:Cr,member:qa.free,page:"accountEmail",...F1(),pageData:og};function tC({site:e,children:t}){const{portal_sentry:n}=e||{};return n&&n.dsn?c.jsx(Oi,{children:t}):c.jsx(c.Fragment,{children:t})}class nC extends O.Component{constructor(t){super(t),this.setupCustomTriggerButton(t),this.state={site:null,member:null,page:"loading",showPopup:!1,action:"init:running",initStatus:"running",lastPage:null,customSiteUrl:t.customSiteUrl}}componentDidMount(){this.initSetup()}componentDidUpdate(t,n){var r,i,o;if(n.showPopup!==this.state.showPopup){this.handleCustomTriggerClassUpdate();try{this.state.showPopup?(this.bodyScroll=(o=(i=(r=window.document)==null?void 0:r.body)==null?void 0:i.style)==null?void 0:o.overflow,window.document.body.style.overflow="hidden"):window.document.body.style.overflow=this.bodyScroll||""}catch{}}if(this.state.initStatus==="success"&&n.initStatus!==this.state.initStatus){const{siteUrl:a}=this.props,s=this.getContextFromState();this.sendPortalReadyEvent(),gS({siteUrl:a,site:s.site,member:s.member})}}componentWillUnmount(){clearTimeout(this.timeoutId),this.customTriggerButtons&&this.customTriggerButtons.forEach(t=>{t.removeEventListener("click",this.clickHandler)}),window.removeEventListener("hashchange",this.hashHandler,!1)}sendPortalReadyEvent(){window.self!==window.parent&&window.parent.postMessage({type:"portal-ready",payload:{}},"*")}setupCustomTriggerButton(){this.clickHandler=r=>{r.preventDefault();const i=r.currentTarget,o=i&&i.dataset.portal,{page:a,pageQuery:s}=this.getPageFromLinkPath(o)||{};this.state.initStatus==="success"&&(s&&s!=="free"?this.handleSignupQuery({site:this.state.site,pageQuery:s}):this.dispatchAction("openPopup",{page:a,pageQuery:s}))};const t="[data-portal]",n="gh-portal-close";this.customTriggerButtons=document.querySelectorAll(t)||[],this.customTriggerButtons.forEach(r=>{r.classList.add(n),r.removeEventListener("click",this.clickHandler),r.addEventListener("click",this.clickHandler)})}handleCustomTriggerClassUpdate(){var r;const t="gh-portal-open",n="gh-portal-close";(r=this.customTriggerButtons)==null||r.forEach(i=>{const o=this.state.showPopup?t:n,a=this.state.showPopup?n:t;i.classList.add(o),i.classList.remove(a)})}async initSetup(){try{const{site:t,member:n,page:r,showPopup:i,popupNotification:o,lastPage:a,pageQuery:s,pageData:l}=await this.fetchData(),u=this.props.siteI18nEnabled?t.locale:"en",p=ZE(u,"portal"),d={site:t,member:n,page:r,lastPage:a,pageQuery:s,showPopup:i,pageData:l,popupNotification:o,t:p.t,action:"init:success",initStatus:"success"};if(this.handleSignupQuery({site:t,pageQuery:s,member:n}),this.setState(d),this.hashHandler=()=>{this.updateStateForPreviewLinks()},window.addEventListener("hashchange",this.hashHandler,!1),!n){const m=document.querySelectorAll("[data-lexical-signup-form]");m.length>0&&m.forEach(g=>{g.style.display=""})}}catch(t){console.error("[Portal] Failed to initialize:",t),this.setState({action:"init:failed",initStatus:"failed"})}}async fetchData(){const{site:t,member:n}=await this.fetchApiData(),{site:r,...i}=this.fetchDevData(),{site:o,...a}=this.fetchLinkData(),{site:s,...l}=this.fetchPreviewData(),{site:u,...p}=this.fetchNotificationData();return{member:n,page:"",site:{...t,...o,...s,...u,...r,plans:{...(r||{}).plans,...(t||{}).plans,...(s||{}).plans}},...i,...a,...p,...l}}fetchDevData(){return V(["dev"])&&!this.state.customSiteUrl?eC:V(["test"])?{showPopup:this.props.showPopup!==void 0?this.props.showPopup:!0}:{}}fetchOfferQueryStrData(t=""){const n=new URLSearchParams(t),r={};for(let i of n.entries()){const o=i[0],a=decodeURIComponent(i[1]);o==="name"?r.name=a||"":o==="code"?r.code=a||"":o==="display_title"?r.display_title=a||"":o==="display_description"?r.display_description=a||"":o==="type"?r.type=a||"":o==="cadence"?r.cadence=a||"":o==="duration"?r.duration=a||"":o==="duration_in_months"&&!isNaN(Number(a))?r.duration_in_months=Number(a):o==="amount"&&!isNaN(Number(a))?r.amount=Number(a):o==="currency"?r.currency=a||"":o==="status"?r.status=a||"":o==="tier_id"&&(r.tier={id:a||og.tier.id})}return{page:"offer",pageData:r}}fetchQueryStrData(t=""){const n=new URLSearchParams(t),r={site:{plans:{}}},i=[];let o,a=null,s,l,u;for(let p of n.entries()){const d=p[0],m=decodeURIComponent(p[1]);if(d==="button")r.site.portal_button=JSON.parse(m);else if(d==="name")r.site.portal_name=JSON.parse(m);else if(d==="isFree"&&JSON.parse(m))i.push("free");else if(d==="isMonthly"&&JSON.parse(m))i.push("monthly");else if(d==="isYearly"&&JSON.parse(m))i.push("yearly");else if(d==="portalPrices")o=m?m.split(","):[];else if(d==="portalProducts")a=m?m.split(","):[];else if(d==="page"&&m)r.page=m;else if(d==="accentColor"&&(m===""||m))r.site.accent_color=m;else if(d==="buttonIcon"&&m)r.site.portal_button_icon=m;else if(d==="signupButtonText")r.site.portal_button_signup_text=m||"";else if(d==="signupTermsHtml")r.site.portal_signup_terms_html=m||"";else if(d==="signupCheckboxRequired")r.site.portal_signup_checkbox_required=JSON.parse(m);else if(d==="buttonStyle"&&m)r.site.portal_button_style=m;else if(d==="monthlyPrice"&&!isNaN(Number(m)))r.site.plans.monthly=Number(m),s=Number(m);else if(d==="yearlyPrice"&&!isNaN(Number(m)))r.site.plans.yearly=Number(m),l=Number(m);else if(d==="currency"&&m){const g=m.toUpperCase();r.site.plans.currency=g,r.site.plans.currency_symbol=de(g),u=g}else d==="disableBackground"?r.site.disableBackground=JSON.parse(m):d==="allowSelfSignup"?r.site.allow_self_signup=JSON.parse(m):d==="membersSignupAccess"&&m&&(r.site.members_signup_access=m)}return r.site.portal_plans=i,r.site.portal_products=a,o?r.site.portal_plans=o:s&&l&&u&&(r.site.prices=[{id:"monthly",stripe_price_id:"dummy_stripe_monthly",stripe_product_id:"dummy_stripe_product",active:1,nickname:"Monthly",currency:u,amount:s,type:"recurring",interval:"month"},{id:"yearly",stripe_price_id:"dummy_stripe_yearly",stripe_product_id:"dummy_stripe_product",active:1,nickname:"Yearly",currency:u,amount:l,type:"recurring",interval:"year"}]),r}fetchNotificationData(){const{type:t,status:n,duration:r,autoHide:i,closeable:o}=sh({billingOnly:!0})||{};return["stripe:billing-update"].includes(t)?n==="success"?{showPopup:!0,popupNotification:J({type:t,status:n,duration:r,closeable:o,autoHide:i,state:this.state,message:n==="success"?"Billing info updated successfully":""})}:{showPopup:!0}:{}}fetchLinkData(){const t=new URLSearchParams(window.location.search);if(t.get("uuid")&&t.get("action")==="unsubscribe")return{showPopup:!0,page:"unsubscribe",pageData:{uuid:t.get("uuid"),newsletterUuid:t.get("newsletter"),comments:t.get("comments")}};const[n,r]=window.location.hash.substr(1).split("?"),i=new URLSearchParams(r??""),o=/^(?:(\w+?))?\/monthly$/,a=/^(?:(\w+?))?\/yearly$/,s=/^offers\/(\w+?)\/?$/,l=/^\/portal\/?(?:\/(\w+(?:\/\w+)*))?\/?$/,u=/^\/feedback\/(\w+?)\/(\w+?)\/?$/;if(n&&u.test(n)&&i.get("uuid")){const[,p,d]=n.match(u),m=parseInt(d);if(m===1||m===0)return{showPopup:!0,page:"feedback",pageData:{uuid:i.get("uuid"),postId:p,score:m}}}if(n&&l.test(n)){const[,p]=n.match(l),{page:d,pageQuery:m}=this.getPageFromLinkPath(p)||{},g=["accountPlan","accountProfile"].includes(d)?"accountHome":null;return{showPopup:!(["monthly","yearly"].includes(m)||o.test(m)||a.test(m)||s.test(m)),...d?{page:d}:{},...m?{pageQuery:m}:{},...g?{lastPage:g}:{}}}return{}}fetchPreviewData(){const[,t]=window.location.hash.substr(1).split("?");if(V(["preview"])){let n={};return V(["offerPreview"])?n=this.fetchOfferQueryStrData(t):n=this.fetchQueryStrData(t),{...n,showPopup:!0}}return{}}getColorOverride(){const t=document.querySelector("script[data-ghost]");return t&&t.dataset.accentColor?t.dataset.accentColor:!1}async fetchApiData(){const{siteUrl:t,customSiteUrl:n,apiUrl:r,apiKey:i}=this.props;try{this.GhostApi=this.props.api||Ha({siteUrl:t,apiUrl:r,apiKey:i});const{site:o,member:a}=await this.GhostApi.init(),s=this.getColorOverride();return s&&(o.accent_color=s),this.setupFirstPromoter({site:o,member:a}),this.setupSentry({site:o}),{site:o,member:a}}catch(o){if(V(["dev","test"],{customSiteUrl:n}))return{};throw o}}setupSentry({site:t}){if(V(["test"]))return null;const{portal_sentry:n,portal_version:r,version:i}=t,a=`portal@2.33.0|ghost@${i}`;n&&n.dsn&&Ww({dsn:n.dsn,environment:n.env||"development",release:a,beforeSend:s=>ux({event:s})?s:null,allowUrls:[/https?:\/\/((www)\.)?unpkg\.com\/@tryghost\/portal/]})}setupFirstPromoter({site:t,member:n}){if(V(["test"]))return null;const r=Sx({site:t});let i=Kc({site:t});if(i=i==null?void 0:i.replace(/^(\S*\.)?(\S*\.\S*)$/i,".$2"),r&&i){const o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src="https://cdn.firstpromoter.com/fprom.js",o.onload=o.onreadystatechange=function(){let s=this.readyState;if(!s||s==="complete"||s==="loaded")try{if(window.$FPROM.init(r,i),Dx({member:n})){const l=n.email,u=n.uuid;if(window.$FPROM)window.$FPROM.trackSignup({email:l,uid:u});else{const p=window._fprom||[];window._fprom=p,p.push(["event","signup"]),p.push(["email",l]),p.push(["uid",u])}}}catch{}};const a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(o,a)}}async dispatchAction(t,n){clearTimeout(this.timeoutId),this.setState({action:`${t}:running`});try{const r=await mS({action:t,data:n,state:this.state,api:this.GhostApi});this.setState(r),r&&r.action&&!r.action.includes(":failed")&&(this.timeoutId=setTimeout(()=>{this.setState({action:""})},2e3))}catch(r){const i=J({type:`${t}:failed`,autoHide:!0,closeable:!0,status:"error",state:this.state,meta:{error:r}});this.setState({action:`${t}:failed`,popupNotification:i})}}updateStateForPreviewLinks(){const{site:t,...n}=this.fetchPreviewData(),{site:r,...i}=this.fetchLinkData(),o={site:{...this.state.site,...r||{},...t||{},plans:{...this.state.site&&this.state.site.plans,...(r||{}).plans,...(t||{}).plans}},...i,...n};this.handleSignupQuery({site:o.site,pageQuery:o.pageQuery}),this.setState(o)}async handleOfferQuery({site:t,offerId:n,member:r=this.state.member}){const{portal_button:i}=t;if(Hc(),!Et({member:r}))try{const o=await this.GhostApi.site.offer({offerId:n}),a=o==null?void 0:o.offers[0];if(Px({site:t,offer:a}))if(i)this.dispatchAction("openPopup",{page:"offer",pageData:o==null?void 0:o.offers[0]});else{const s=vr({site:t,productId:a.tier.id}),l=a.cadence==="month"?s.monthlyPrice:s.yearlyPrice;if(this.dispatchAction("openPopup",{page:"loading"}),r){const{tierId:u,cadence:p}=$n({site:t,priceId:l.id});this.dispatchAction("checkoutPlan",{plan:l.id,offerId:n,tierId:u,cadence:p})}else{const{tierId:u,cadence:p}=$n({site:t,priceId:l.id});this.dispatchAction("signup",{plan:l.id,offerId:n,tierId:u,cadence:p})}}}catch{}}handleSignupQuery({site:t,pageQuery:n,member:r}){const i=/^offers\/(\w+?)\/?$/;let o=n;if(i.test(n||"")){const[,s]=n.match(i);this.handleOfferQuery({site:t,offerId:s,member:r});return}Zf({site:t,pageQuery:n})&&(o=Zf({site:t,pageQuery:n}));const a=yx({site:t,priceId:o});if(n&&n!=="free"){Hc();const s=(a==null?void 0:a.id)||o;s!=="free"&&this.dispatchAction("openPopup",{page:"loading"});const{tierId:l,cadence:u}=$n({site:t,priceId:s});this.dispatchAction("signup",{plan:s,tierId:l,cadence:u})}}getPageFromLinkPath(t){const n=/^signup\/?(?:\/(\w+?))?\/?$/,r=/^signup\/?(?:\/(\w+?))\/monthly\/?$/,i=/^signup\/?(?:\/(\w+?))\/yearly\/?$/;if(/^offers\/(\w+?)\/?$/.test(t))return{pageQuery:t};if(t==="signup")return{page:"signup"};if(r.test(t)){const[,a]=t.match(r);return{page:"signup",pageQuery:`${a}/monthly`}}else if(i.test(t)){const[,a]=t.match(i);return{page:"signup",pageQuery:`${a}/yearly`}}else if(n.test(t)){const[,a]=t.match(n);return{page:"signup",pageQuery:a}}else{if(t==="signup/free")return{page:"signup",pageQuery:"free"};if(t==="signup/monthly")return{page:"signup",pageQuery:"monthly"};if(t==="signup/yearly")return{page:"signup",pageQuery:"yearly"};if(t==="signin")return{page:"signin"};if(t==="account")return{page:"accountHome"};if(t==="account/plans")return{page:"accountPlan"};if(t==="account/profile")return{page:"accountProfile"};if(t==="account/newsletters")return{page:"accountEmail"}}return{}}getAccentColor(){const{accent_color:t}=this.state.site||{};return t}getContextPage({site:t,page:n,member:r}){if(!n){const i=lt({site:t})?"signin":"signup";n=r?"accountHome":i}return n==="accountPlan"&&yr({member:r})&&!Li({member:r})&&(n="accountHome"),ou({page:n})}getContextMember({page:t,member:n,customSiteUrl:r}){return V(["dev","preview"],{customSiteUrl:r})?R1({page:t})||O1({page:t})?V(["dev"],{customSiteUrl:r})?n||qa.free:V(["preview"])?qa.preview:qa.paid:null:n}getContextFromState(){const{site:t,member:n,action:r,page:i,lastPage:o,showPopup:a,pageQuery:s,pageData:l,popupNotification:u,customSiteUrl:p,t:d}=this.state,m=this.getContextPage({site:t,page:i,member:n}),g=this.getContextMember({page:m,member:n,customSiteUrl:p});return{site:t,action:r,brandColor:this.getAccentColor(),page:m,pageQuery:s,pageData:l,member:g,lastPage:o,showPopup:a,popupNotification:u,customSiteUrl:p,t:d,onAction:(b,x)=>this.dispatchAction(b,x)}}render(){return this.state.initStatus==="success"?c.jsx(tC,{site:this.state.site,children:c.jsxs(N.Provider,{value:this.getContextFromState(),children:[c.jsx(eg,{}),c.jsx(ih,{}),c.jsx(ch,{})]})}):null}}const Wg="ghost-portal-root";function rC(){const e=document.createElement("div");e.id=Wg,document.body.appendChild(e)}function iC(){const e=document.querySelector("script[data-ghost]");if(e){const t=e.dataset.i18n==="true",n=e.dataset.ghost,r=e.dataset.key,i=e.dataset.api;return{siteUrl:n,apiKey:r,apiUrl:i,siteI18nEnabled:t}}return{}}function oC(){const e=new URL(window.location.href);e.searchParams.get("token")&&(e.searchParams.delete("token"),window.history.replaceState({},document.title,e.href))}function aC({siteUrl:e}){rC(),oC()}function sC(){const{siteUrl:e,apiKey:t,apiUrl:n,siteI18nEnabled:r}=iC(),i=e||window.location.origin;aC({siteUrl:i}),iv.render(c.jsx(O.StrictMode,{children:c.jsx(nC,{siteUrl:i,customSiteUrl:e,apiKey:t,apiUrl:n,siteI18nEnabled:r})}),document.getElementById(Wg))}sC()});
|
|
3161
3168
|
//# sourceMappingURL=portal.min.js.map
|