PageSourceSearch

https://ofw.ourfamilywizard.com/app/assets/index-COb6_314.js

js ourfamilywizard.com collected 2026-10-01 11:41:51 UTC 5,204 bytes, 10 lines download raw bytes

1import{r as i,eq as z}from"./WarningIcon-hckcyQCq.js";import{g as W,s as P,h as M,u as B,d as N,i as A,c as O,j as q,l as G,R as X,D as H,k as j,m as _,n as J}from"./index-CyOgdaKV.js";/**
2 * React Router DOM v6.30.6
3 *
4 * Copyright (c) Remix Software Inc.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE.md file in the root directory of this source tree.
8 *
9 * @license MIT
10 */function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},y.apply(null,arguments)}function D(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}function Q(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Y(e,t){return e.button===0&&(!t||t==="_self")&&!Q(e)}function E(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let a=e[n];return t.concat(Array.isArray(a)?a.map(r=>[n,r]):[[n,a]])},[]))}function Z(e,t){let n=E(e);return t&&t.forEach((a,r)=>{n.has(r)||t.getAll(r).forEach(s=>{n.append(r,s)})}),n}const $=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],ee=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],te="6";try{window.__reactRouterVersion=te}catch{}const ae=i.createContext({isTransitioning:!1}),ne="startTransition",F=z[ne];function he(e){let{basename:t,children:n,future:a,window:r}=e,s=i.useRef();s.current==null&&(s.current=q({window:r,v5Compat:!0}));let l=s.current,[u,f]=i.useState({action:l.action,location:l.location}),{v7_startTransition:o}=a||{},p=i.useCallback(d=>{o&&F?F(()=>f(d)):f(d)},[f,o]);return i.useLayoutEffect(()=>l.listen(p),[l,p]),i.useEffect(()=>G(a),[a]),i.createElement(X,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:l,future:a})}const re=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ie=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,oe=i.forwardRef(function(t,n){let{onClick:a,relative:r,reloadDocument:s,replace:l,state:u,target:f,to:o,preventScrollReset:p,viewTransition:d}=t,w=D(t,$),{basename:L}
10=i.useContext(W),v,g=!1;if(typeof o=="string"&&ie.test(o)&&(v=o,re))try{let m=new URL(window.location.href),c=o.startsWith("//")?new URL(m.protocol+o):new URL(o),C=P(c.pathname,L);c.origin===m.origin&&C!=null?o=C+c.search+c.hash:g=!0}catch{}let R=M(o,{relative:r}),S=le(o,{replace:l,state:u,target:f,preventScrollReset:p,relative:r,viewTransition:d});function h(m){a&&a(m),m.defaultPrevented||S(m)}return i.createElement("a",y({},w,{href:v||R,onClick:g||s?a:h,ref:n,target:f}))}),me=i.forwardRef(function(t,n){let{"aria-current":a="page",caseSensitive:r=!1,className:s="",end:l=!1,style:u,to:f,viewTransition:o,children:p}=t,d=D(t,ee),w=A(f,{relative:d.relative}),L=N(),v=i.useContext(H),{navigator:g,basename:R}=i.useContext(W),S=v!=null&&ce(w)&&o===!0,h=g.encodeLocation?g.encodeLocation(w).pathname:w.pathname,m=L.pathname,c=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;r||(m=m.toLowerCase(),c=c?c.toLowerCase():null,h=h.toLowerCase()),c&&R&&(c=P(c,R)||c);const C=h!=="/"&&h.endsWith("/")?h.length-1:h.length;let T=m===h||!l&&m.startsWith(h)&&m.charAt(C)==="/",k=c!=null&&(c===h||!l&&c.startsWith(h)&&c.charAt(h.length)==="/"),x={isActive:T,isPending:k,isTransitioning:S},K=T?a:void 0,b;typeof s=="function"?b=s(x):b=[s,T?"active":null,k?"pending":null,S?"transitioning":null].filter(Boolean).join(" ");let I=typeof u=="function"?u(x):u;return i.createElement(oe,y({},d,{"aria-current":K,className:b,ref:n,style:I,to:f,viewTransition:o}),typeof p=="function"?p(x):p)});var U;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(U||(U={}));var V;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(V||(V={}));function se(e){let t=i.useContext(J);return t||j(!1),t}function le(e,t){let{target:n,replace:a,state:r,preventScrollReset:s,relative:l,viewTransition:u}=t===void 0?{}:t,f=B(),o=N(),p=A(e,{relative:l});return i.useCallback(d=>{if(Y(d,n)){d.preventDefault();let w=a!==void 0?a:O(o)===O(p);f(e,{replace:w,state:r,preventScrollReset:s,relative:l,viewTransition:u})}},[o,f,p,a,r,n,e,s,l,u])}function pe(e){let t=i.useRef(E(e)),n=i.useRef(!1),a=N(),r=i.useMemo(()=>Z(a.search,n.current?null:t.current),[a.search]),s=B(),l=i.useCallback((u,f)=>{const o=E(typeof u=="function"?u(r):u);n.current=!0,s("?"+o,f)},[s,r]);return[r,l]}function ce(e,t){t===void 0&&(t={});let n=i.useContext(ae);n==null&&j(!1);let{basename:a}=se(U.useViewTransitionState),r=A(e,{relative:t.relative});if(!n.isTransitioning)return!1;let s=P(n.currentLocation.pathname,a)||n.currentLocation.pathname,l=P(n.nextLocation.pathname,a)||n.nextLocation.pathname;return _(r.pathname,l)!=null||_(r.pathname,s)!=null}export{he as B,oe as L,me as N,pe as u};

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.