1import{a as e,o as t}from"./rolldown-runtime-DAXXjFlN.js";import{Lt as n,n as r,pt as i}from"./dist-E2Iv6aiw.js";import{t as a}from"./imperative-api-g14dvONV.js";import{r as o,t as s}from"./module-DavDmrEE.js";import{t as c}from"./routes-B3r8itH1.js";import{n as l}from"./url-DAooEXw8.js";var u=t(n());r();var d=`returnTo`,f=[`/auth`];function p(e){return!e||!e.startsWith(`/`)||e.startsWith(`//`)?!1:!f.some(t=>e.startsWith(t))}function m(){if(i.OS!==`web`)return`/`;let e=l(d);return p(e)?e:`/`}function h(e){let t=e??null;return p(t)?`/auth/sign-in?${new URLSearchParams({[d]:t}).toString()}`:c.signIn}function g(e,t=`/`){return p(e??null)?e:t}var _={requiredBlinks:2,earBlinkThreshold:.2,earOpenThreshold:.26,minClosedMs:50,maxClosedMs:900,minBlinkGapMs:280,minLivenessScore:.7,minLiveScore:.4,minRealScore:.4,minGenderConfidence:.6,minGenderSamples:4,minGenderFacePixels:96,extraGenderSamples:5,genderBorderlineBand:.08,extraGenderSamplingMs:4e3,nativeGenderSampleEvery:3,sessionMinutes:15,nativeFrameIntervalMs:350,nativeCameraSettleMs:1200,nativeCameraResettleMs:350,earCalibrationSamples:6,softRetryDelayMs:1400,nativeDetectMaxSide:640,faceApiModelBaseUrl:`https://cdn.jsdelivr.net/npm/@vladmandic/[email protected]/model`,humanModelBaseUrl:`https://cdn.jsdelivr.net/npm/@vladmandic/[email protected]/models/`},v={dismissCooldownMs:600*1e3,dismissStorageKey:`sheconomy:gender-verify:dismissed-at`,restrictedQueryParam:`gender`,restrictedQueryValue:`restricted`,verifyQueryParam:`human`,verifyQueryValue:`verify`,returnToQueryParam:`returnTo`,verificationFlowStorageKey:`sheconomy:gender-verify:flow-open`,returnToStorageKey:`sheconomy:human-verify:return-to`},y=`We respect all users. Human verification only confirms that you are a real person and that access to women-first spaces is limited to women â for community safety and security. Checks run on-device; we do not upload your video.`,b=[33,160,158,133,153,144],x=[362,385,387,263,373,380];function S(e){return[`Read ${Math.round(e.femaleScore*100)}% female`,`${e.samples} samples`,`${e.blinks} blinks`,`${e.maxFacePixels}px face`].join(` · `)}function C(e){return C=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},C(e)}function w(){}var T={getItem:w,setItem:w,removeItem:w};function E(e){if((typeof self>`u`?`undefined`:C(self))!==`object`||!(e in self))return!1;try{var t=self[e],n=`redux-persist ${e} test`;t.setItem(n,`test`),t.getItem(n),t.removeItem(n)}catch{return!1}return!0}function D(e){var t=`${e}Storage`;return E(t)?self[t]:T}function O(e){var t=D(e);return{getItem:function(e){return new Promise(function(n,r){n(t.getItem(e))})},setItem:function(e,n){return new Promise(function(r,i){r(t.setItem(e,n))})},removeItem:function(e){return new Promise(function(n,r){n(t.removeItem(e))})}}}r();function k(){return{getItem:()=>Promise.resolve(null),setItem:()=>Promise.resolve(),removeItem:()=>Promise.resolve()}}function A(){return i.OS===`web`?typeof window<`u`?O(`local`):k():(s(),e(o)).default}var j=A();r();var{returnToStorageKey:M}=v;async function N(e){if(!e||!p(e)){await F();return}try{if(i.OS===`web`&&typeof window<`u`){window.sessionStorage.setItem(M,e);return}await j.setItem(M,e)}catch{}}async function P(){try{if(i.OS===`web`&&typeof window<`u`){let e=window.sessionStorage.getItem(M);if(e&&p(e))return e}let e=await j.getItem(M);return e&&p(e)?e:null}catch{return null}}async function F(){try{i.OS===`web`&&typeof window<`u`&&window.sessionStorage.removeItem(M),await j.removeItem(M)}catch{}}var I=new Set,L=null;function R(e={}){let t=e.returnTo?.trim()||null;L={returnTo:t},t&&N(t);for(let e of I)try{e({returnTo:t})}catch{}}function z(){return L}function B(){L=null}function V(e){if(I.add(e),L)try{e(L)}catch{}return()=>{I.delete(e)}}var{verifyQueryParam:H,verifyQueryValue:U,returnToQueryParam:W}=v;function G(e){let t=e.trim();if(!t||!t.includes(`${H}=`))return null;let n=t.indexOf(`?`);if(n<0)return null;let r=t.slice(0,n)||`/`,i=t.slice(n+1),a=new URLSearchParams(i);if(a.get(H)!==U)return null;let o=a.get(W),s=null;if(o)try{s=decodeURIComponent(o)}catch{s=o}a.delete(H),a.delete(W);let c=a.toString(),l=c?`${r}?${c}`:r;return R({returnTo:s}),{cleanedHref:l,returnTo:s}}r();function K(e){let[t=`/`,n=``]=e.split(`?`),r=t.replace(/\/$/,``),i=r===``?`/`:r;return n?`${i}?${n}`:i}function q(){return i.OS===`web`&&typeof window<`u`?window.location.pathname.replace(/\/$/,``)||`/`:``}function J(e){return i.OS!==`web`||typeof window>`u`?!1:K(`${window.location.pathname}${window.location.search}`)===K(e)}function Y(e){let[t=`/`]=e.split(`?`),n=t.replace(/\/$/,``)||`/`,r=q();return r?r===n:!1}function X(e){let t=e instanceof Error?e.message:String(e??``);return/navigate before mounting the Root Layout|Root Layout/i.test(t)}function Z(e){let t=()=>{try{let n=a.push(e);n&&typeof n.then==`function`&&n.catch(n=>{if(X(n)){setTimeout(t,50);return}console.warn(`[navigateApp] navigation failed`,e,n)})}catch(n){if(X(n)){setTimeout(t,50);return}console.warn(`[navigateApp] navigation failed`,e,n)}};if(i.OS===`web`){(0,u.startTransition)(t);return}t()}function Q(e,t){let n=typeof e==`string`?e:String(e),r=G(n);if(r){let e=r.cleanedHref;if(J(e)||Y(e))return;Z(e);return}J(n)||Z(n)}function $(e){Q(e)}export{g as S,S as _,R as a,m as b,F as c,j as d,_ as f,x as g,b as h,G as i,P as l,y as m,$ as n,z as o,v as p,B as r,V as s,Q as t,N as u,d as v,p as x,h as y};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.