PageSourceSearch

https://counselors.legal/_app/immutable/chunks/html.BVn2ZZBQ.js

js counselors.legal collected 2026-10-04 02:50:09 UTC 2,253 bytes, 1 lines download raw bytes

1import{n as _,k as l,m as p,o as v,t as h,Z as y,aa as w,ab as F,y as $,Q as E,P as T,E as N,ac as R}from"./entry.DIzPzUvt.js";import{e as u,f as A,g as P,s as m}from"./stores.BtBgi3Ih.js";import{p as D}from"./i18n.FUWHBVh-.js";function W(e,t,a,i,n){var r=e,o="",d;_(()=>{if(o===(o=t()??"")){l&&p();return}d!==void 0&&(T(d),d=void 0),o!==""&&(d=v(()=>{if(l){h.data;for(var s=p(),f=s;s!==null&&(s.nodeType!==8||s.data!=="");)f=s,s=y(s);if(s===null)throw w(),F;u(h,f),r=$(s);return}var b=o+"",c=A(b);u(E(c),c.lastChild),r.before(c)}))})}function j(e,t,...a){var i=e,n=R,r;_(()=>{n!==(n=t())&&(r&&(T(r),r=null),r=v(()=>n(i,...a)))},N),l&&(i=h)}const C=e=>P.filter(t=>t!==m).find(t=>e===`/${t}`||e.startsWith(`/${t}/`))??m,I=e=>e.replace(/\.[^/.]+$/,""),g=(e,t)=>e[e.length+t],M=e=>{const t={width:void 0,height:void 0},a=e.split("_"),i=g(a,-2),n=g(a,-1);return i&&n&&(/^w[0-9]+$/.test(i)&&(t.width=Number(i.replace(/^\D+/g,""))),/^h[0-9]+$/.test(n)&&(t.height=Number(n.replace(/^\D+/g,"")))),t},q=(e,t,a=1)=>{const i=`</${t}>`,n=new RegExp(`(?<=(${i}))`),r=e.split(n).filter(s=>s!==i),o=r.splice(0,a),d=r;return[o.join(""),d.join("")]},O=e=>{const[t,a]=e.split(/<h2(?: id="faq")?><span class="notranslate" translate="no">FAQ<\/span><\/h2>\n/);if(t===void 0)throw new Error("c in splitFaq should exist after Array.split");if(a===void 0)return[t,a];const i=new RegExp("(?=<h3.*?>(.*)</h3>)"),n=a.split(i).filter(r=>r.startsWith("<")).reduce((r,o)=>{let[d,s]=q(o,"h3");return s=s.replace(/^\n|\n$/g,""),r.push({title:d,content:s}),r},[]);return[t,n]},Q=(e,t)=>(t==="en"||(e=e.replace(/href="(.*?)?(#.*?)?"/g,(a,i,n)=>{const r=D[i??""];if(r===void 0)return a;const o=r[t];return o===void 0?a:`href="/${t}${o}${n??""}"`})),e),S=({message:e,path:t=[]})=>({code:"custom",message:e,path:t}),U=e=>t=>e({},t?{languageTag:t}:{}),Z=(e,t)=>e.map(a=>({id:a.id,mTitle:a.mTitle(t),mDescription:a.mDescription(t),headline:a.headline(t),description:a.description(t),datePublished:a.datePublished,date_published_text:a.date_published_text(t),dateModified:a.dateModified,date_modified_text:a.date_modified_text(t),authorName:a.authorName,authorType:a.authorType,authorUrl:a.authorUrl(t)}));export{M as a,j as b,Z as c,O as d,U as f,C as g,W as h,Q as l,I as r,q as s,S 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.