PageSourceSearch

https://laprensatexas.com/assets/ads.functions-ULQ7qU9e.js

js laprensatexas.com collected 2026-10-02 12:40:46 UTC 10,457 bytes, 1 lines download raw bytes

vendor: 4,416 bytes, line 1
1import{K as e,U as t,s as n}from"./link-DWghAheB.js";import{n as r,t as i}from"./createServerFn-C0ZD2_ly.js";import{A as a,D as o,E as s,M as c,N as l,O as u,S as d,T as f,d as p,j as m,l as h,r as g,t as _,u as v,w as y,y as b}from"./auth-middleware-D0ZxJphr.js";import{w as x}from"./index-Bbp8Tcfr.js";var S=class extends l{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=v(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),w(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return T(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return T(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof f(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!o(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&E(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||f(this.options.enabled,this.#t)!==f(t.enabled,this.#t)||s(this.options.staleTime,this.#t)!==s(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||f(this.options.enabled,this.#t)!==f(t.enabled,this.#t)||i!==this.#p)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return O(this,n)&&(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&this.#o.status===`pending`&&this.#o.reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(d)),t}#g(){this.#b();let e=s(this.options.staleTime,this.#t);if(p.isServer()||this.#r.isStale||!b(e))return;let t=a(this.#r.dataUpdatedAt,e)+1;this.#d=m.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#p=e,!(p.isServer()||f(this.options.enabled,this.#t)===!1||!b(this.#p)||this.#p===0)&&(this.#f=m.setInterval(()=>{(this.options.refetchIntervalInBackground||c.isFocused())&&this.#h()},this.#p))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#d!==void 0&&(m.clearTimeout(this.#d),this.#d=void 0)}#x(){this.#f!==void 0&&(m.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&w(e,t),o=i&&E(e,n,t,r);(a||o)&&(l={...l,...x(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:p,errorUpdatedAt:m,status:h}=l;d=l.data;let g=!1;if(t.placeholderData!==void 0&&d===void 0&&h===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,g=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#u?.state.data,this.#u):t.placeholderData,e!==void 0&&(h=`success`,d=y(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!g)if(i&&d===a?.data&&t.select===this.#c)d=this.#l;else try{this.#c=t.select,d=t.select(d),d=y(i?.data,d,t),this.#l=d,this.#s=null}catch(e){this.#s=e}this.#s&&(p=this.#s,d=this.#l,m=Date.now(),h=`error`);
1let _=l.fetchStatus===`fetching`,b=h===`pending`,S=h===`error`,C=b&&_,T=d!==void 0,O={status:h,fetchStatus:l.fetchStatus,isPending:b,isSuccess:h===`success`,isError:S,isInitialLoading:C,isLoading:C,data:d,dataUpdatedAt:l.dataUpdatedAt,error:p,errorUpdatedAt:m,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:_,isRefetching:_&&!b,isLoadingError:S&&!T,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:S&&T,isStale:D(e,t),refetch:this.refetch,promise:this.#o,isEnabled:f(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=O.data!==void 0,r=O.status===`error`&&!t,i=e=>{r?e.reject(O.error):t&&e.resolve(O.data)},a=()=>{let e=this.#o=O.promise=v();i(e)},o=this.#o;switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||O.data!==o.value)&&a();break;case`rejected`:(!r||O.error!==o.reason)&&a()}}return O}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#u=this.#t),!o(t,e)&&(this.#r=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#m.size)return!0;let r=new Set(n??this.#m);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})()}))}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#C(e){h.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function C(e,t){return f(t.enabled,e)!==!1&&e.state.data===void 0&&(e.state.status!==`error`||f(t.retryOnMount,e)!==!1)}function w(e,t){return C(e,t)||e.state.data!==void 0&&T(e,t,t.refetchOnMount)}function T(e,t,n){if(f(t.enabled,e)!==!1&&s(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&D(e,t)}return!1}function E(e,t,n,r){return(e!==t||f(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&D(e,n)}function D(e,t){return f(t.enabled,e)!==!1&&e.isStaleByTime(s(t.staleTime,e))}function O(e,t){return!o(e.getCurrentResult(),t)}n();var k=e(t(),1),A=k.createContext(!1),j=()=>k.useContext(A);A.Provider;function M(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var N=k.createContext(M()),P=()=>k.useContext(N),F=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?u(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},I=e=>{k.useEffect(()=>{e.clearReset()},[e])},L=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||u(n,[e.error,r])),R=(e,t)=>t.state.data===void 0,z=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},B=(e,t)=>e.isLoading&&e.isFetching&&!t,V=(e,t)=>e?.suspense&&t.isPending,H=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function U(e,t,n){let r=j(),i=P(),a=g(n),o=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);let s=a.getQueryCache().get(o.queryHash),c=e.subscribed!==!1;o._optimisticResults=r?`isRestoring`:c?`optimistic`:void 0,z(o),F(o,i,s),I(i);let l=!a.getQueryCache().get(o.queryHash),[u]=k.useState(()=>new t(a,o)),f=u.getOptimisticResult(o),m=!r&&c;if(k.useSyncExternalStore(k.useCallback(e=>{let t=m?u.subscribe(h.batchCalls(e)):d;return u.updateResult(),t},[u,m]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),k.useEffect(()=>{u.setOptions(o)},[o,u]),V(o,f))throw H(o,u,i);if(L({result:f,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw f.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,f),o.experimental_prefetchInRender&&!p.isServer()&&B(f,r)&&(l?H(o,u,i):s?.promise)?.catch(d).finally(()=>{u.updateResult()}),o.notifyOnChangeProps?f:u.trackResult(f)}function W(e,t){return U(e,S,t)}var G=[{id:`leaderboard-top`,name:`Top Leaderboard Banner`,unit:`Leaderboard 728 x 90`,width:728,height:90,placement:`leaderboard-top`,capacity:8,rotateSeconds:25,monthlyRate:300,pages:`Every page, above the masthead content`},{id:`sidebar-rectangle`,name:`Sidebar Ad (upper)`,unit:`Sidebar 300 x 240`,width:300,height:240,placement:`sidebar`,capacity:8,rotateSeconds:90,monthlyRate:150,pages:`Home, Articles, Gala, We The Women, top of right rail`},{id:`sidebar-tower`,name:`Sidebar Ad (tower)`,unit:`Sidebar 600 x 1000`,width:600,height:1e3,placement:`sidebar`,capacity:8,rotateSeconds:90,monthlyRate:250,pages:`Home, Articles, Gala, We The Women, middle of right rail`}
1,{id:`sidebar-rectangle-secondary`,name:`Sidebar Ad (lower)`,unit:`Sidebar 300 x 240`,width:300,height:240,placement:`sidebar`,capacity:8,rotateSeconds:90,monthlyRate:150,pages:`Home, Articles, bottom of right rail`},{id:`leaderboard-bottom`,name:`Bottom Leaderboard Banner`,unit:`Leaderboard 728 x 90`,width:728,height:90,placement:`leaderboard-bottom`,capacity:8,rotateSeconds:25,monthlyRate:200,pages:`Every page, above the footer`}];G.map(e=>e.id);function K(e){return G.find(t=>t.id===e)}var q=i({method:`GET`}).handler(r(`3c6741120538bbb9568423a750fe17642bfcca1250d0ec6eb64ec963583f52b5`)),J=i({method:`POST`}).handler(r(`55685dba2c9a60e2428ba88eb1e69e4f645ccaaafdf2b7d0c5add078ced0d130`)),Y=i({method:`GET`}).middleware([_]).handler(r(`1c0d775bb1f341a620da2f0db0e83233f9c2fad0e7b198020d1732be22fbc3dc`));export{K as a,R as c,G as i,S as l,q as n,W as o,J as r,U as s,Y as t};

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.