1var A=Object.defineProperty;var P=(t,e,n)=>e in t?A(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var L=(t,e,n)=>P(t,typeof e!="symbol"?e+"":e,n);import{r as f}from"./chunk-KS7C4IRE-24GnSaS0.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"psearch-front@68f081a9"},t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[new t.Error().stack]=function(n){for(var o=1;o<arguments.length;o++){var r=arguments[o];if(r!=null)for(var s in r)r.hasOwnProperty(s)&&(n[s]=r[s])}return n}({},t._sentryModuleMetadata[new t.Error().stack],{"_sentryBundlerPluginAppKey:predictasearch-frontend-key":!0});var e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="e1c1ddc3-bb1a-4e32-99cd-65860beb4030",t._sentryDebugIdIdentifier="sentry-dbid-e1c1ddc3-bb1a-4e32-99cd-65860beb4030")}catch{}})();function B(){if(console&&console.warn){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];m(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e)}}const v={};function x(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];m(e[0])&&v[e[0]]||(m(e[0])&&(v[e[0]]=new Date),B(...e))}const k=(t,e)=>()=>{if(t.isInitialized)e();else{const n=()=>{setTimeout(()=>{t.off("initialized",n)},0),e()};t.on("initialized",n)}},M=(t,e,n)=>{t.loadNamespaces(e,k(t,n))},R=(t,e,n,o)=>{m(n)&&(n=[n]),n.forEach(r=>{t.options.ns.indexOf(r)<0&&t.options.ns.push(r)}),t.loadLanguages(e,k(t,o))},H=function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const o=e.languages[0],r=e.options?e.options.fallbackLng:!1,s=e.languages[e.languages.length-1];if(o.toLowerCase()==="cimode")return!0;const u=(w,b)=>{const a=e.services.backendConnector.state[`${w}|${b}`];return a===-1||a===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!u(e.isLanguageChangingTo,t)?!1:!!(e.hasResourceBundle(o,t)||!e.services.backendConnector.backend||e.options.resources&&!e.options.partialBundledLanguages||u(o,t)&&(!r||u(s,t)))},$=function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!e.languages||!e.languages.length?(x("i18n.languages were undefined or empty",e.languages),!0):e.options.ignoreJSONStructure!==void 0?e.hasLoadedNamespace(t,{lng:n.lng,precheck:(r,s)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!s(r.isLanguageChangingTo,t))return!1}}):H(t,e,n)},m=t=>typeof t=="string",j=t=>typeof t=="object"&&t!==null,U=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,D={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"â¦","…":"â¦","/":"/","/":"/"},q=t=>D[t],J=t=>t.replace(U,q);let C={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:J};const V=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};C={...C,...t}},K=()=>C;let z;const ee=t=>{z=t},W=()=>z,Y=f.createContext();class _{constructor(){L(this,"getUsedNamespaces",()=>Object.keys(this.usedNamespaces));this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}}const G=(t,e)=>{const n=f.useRef();return f.useEffect(()=>{n.current=t},[t,e]),n.current},F=(t,e,n,o)=>t.getFixedT(e,n,o),Q=(t,e,n,o)=>f.useCallback(F(t,e,n,o),[t,e,n,o]),te=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:n}=e,{i18n:o,defaultNS:r}=f.useContext(Y)||{},s=n||o||W();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new _),!s){x("You will need to pass in an i18next instance by using initReactI18next");const i=(d,l)=>m(l)?l:j(l)&&m(l.defaultValue)?l.defaultValue:Array.isArray(d)?d[d.length-1]:d,c=[i,{},!1];return c.t=i,c.i18n={},c.ready=!1,c}s.options.react&&s.options.react.wait!==void 0&&x("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const u={...K(),...s.options.react,...e},{useSuspense:w,keyPrefix:b}=u;let a=t||r||s.options&&s.options.defaultNS;a=m(a)?[a]:a||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(a);const g=(s.isInitialized||s.initializedStoreOnce)&&a.every(i=>$(i,s,u)),O=Q(s,e.lng||null,u.nsMode==="fallback"?a:a[0],b),E=()=>O,I=()=>F(s,e.lng||null,u.nsMode==="fallback"?a:a[0],b),[S,h]=f.useState(E);let y=a.join();e.lng&&(y=`${e.lng}${y}`);const T=G(y),p=f.useRef(!0);f.useEffect(()=>{const{bindI18n:i,bindI18nStore:c}=u;
vendor: 571 bytes, line 1
1p.current=!0,!g&&!w&&(e.lng?R(s,e.lng,a,()=>{p.current&&h(I)}):M(s,a,()=>{p.current&&h(I)})),g&&T&&T!==y&&p.current&&h(I);const d=()=>{p.current&&h(I)};return i&&s&&s.on(i,d),c&&s&&s.store.on(c,d),()=>{p.current=!1,i&&s&&i.split(" ").forEach(l=>s.off(l,d)),c&&s&&c.split(" ").forEach(l=>s.store.off(l,d))}},[s,y]),f.useEffect(()=>{p.current&&g&&h(E)},[s,b,g]);const N=[S,s,g];if(N.t=S,N.i18n=s,N.ready=g,g||!g&&!w)return N;throw new Promise(i=>{e.lng?R(s,e.lng,a,()=>i()):M(s,a,()=>i())})};export{Y as I,W as a,B as b,j as c,ee as d,K as g,m as i,V as s,te as u,x as w};
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.