PFS tools and processes
All of the resources below are free and you are very welcome to share these resources. If you are sharing, please ensure that copyright information is still included. Thank you!
s.CookieStore.prototype,property:"delete",value:async function(){let t=Array.from(arguments);if(!f(1===t.length?t[0].name:t[0],e))return i.apply(this,t)},enumerable:!0}),a({context:globalThis.cookieStore,property:"prototype",value:globalThis.CookieStore.prototype,enumerable:!1}),a({context:globalThis,property:"cookieStore",value:globalThis.cookieStore,enumerable:!0}),{get:r,getAll:o,set:n,delete:i}}(e,void 0),cookie:g()}),P="tbReady",C="security_overrideGlobals",{experiments:D,siteFeaturesConfigs:M,accessTokensUrl:O}=window.viewerModel,$={},j=(t=b(T,E),S(x,"specs.thunderbolt.browserCacheReload")&&(b(k,E)||t?m("removeItem"):function(){if("undefined"!=typeof window){let e=performance.getEntriesByType("navigation")[0];return"back_forward"===(e?.type||"")}return!1}()&&function(){let{counter:e}=function(){let e=m("getItem");if(e){let[t,r]=e.split("-"),o=r?parseInt(r,10):0;if(o>=3){let e=t?Number(t):0;if(Date.now()-e>6e4)return{counter:0}}return{counter:o}}return{counter:0}}();e<3?(function(e=1){m("setItem",`${Date.now()}-${e}`)}(e+1),window.location.reload()):console.error("ATS: Max reload attempts reached")}()),r=h(T),o=h(T,location.hostname),E.set.call(document,r),E.set.call(document,o),t);j&&($["client-binding"]=j);let A=fetch;addEventListener(P,function e(t){let{logger:r}=t.detail;try{window.tb.init({fetch:A,fetchHeaders:$})}catch(t){let e=Error("TB003");r.meter(`${C}_${e.message}`,{paramsOverrides:{errorType:C,eventString:e.message}}),window?.viewerModel?.mode.debug&&console.error(t)}finally{removeEventListener(P,e)}}),S(D,"specs.thunderbolt.hardenFetchAndXHR")||(window.fetchDynamicModel=()=>M.sessionManager.isRunningInDifferentSiteContext?Promise.resolve({}):fetch((()=>{try{let e="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,t=globalThis?.parent!==globalThis,r=new URL(O,location.href);return(t||e)&&(r.searchParams.set("ifr",String(t)),r.searchParams.set("worker",String(e))),r.href}catch{return O}})(),{credentials:"same-origin",headers:$}).then(function(e){if(!e.ok)throw Error(`[${e.status}]${e.statusText}`);return e.json()}),window.dynamicModelPromise=window.fetchDynamicModel())})(); //# sourceMappingURL=https://static.parastorage.com/services/wix-thunderbolt/dist/handleAccessTokens.inline.3250797b.bundle.min.js.map
All of the resources below are free and you are very welcome to share these resources. If you are sharing, please ensure that copyright information is still included. Thank you!