1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8039],{11012:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(30772).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},30772:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var s=r(12115),n=r(30907);let i=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var a=r(71265);let o=(e,t)=>{let r=(0,s.forwardRef)(({className:r,...o},c)=>(0,s.createElement)(a.default,{ref:c,iconNode:t,className:(0,n.z)(`lucide-${i(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...o}));return r.displayName=i(e),r}},30907:(e,t,r)=>{"use strict";r.d(t,{z:()=>s});let s=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()},35887:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var s=r(95155),n=r(12115),i=r(73321),a=r(89239),o=r(81477),c=r(11012),l=r(82749),u=r(45425),d=r(46204);class m extends Error{constructor(e,t,r,s,n=!0){super(e),this.name=this.constructor.name,this.code=t,this.status=r,this.details=s,this.isOperational=n,Error.captureStackTrace(this,this.constructor)}}function f({error:e,reset:t}){let r=(0,i.useRouter)();return(0,n.useEffect)(()=>{var t;let r,s;t={digest:e.digest,page:"error.tsx"},(s={message:(r=function(e){var t;if(e instanceof m)return e;if(e instanceof Error)return new m(e.message,"UNKNOWN_ERROR");if("object"==typeof(t=e)&&null!==t&&("message"in t||"error"in t)){let t=e.details&&"object"==typeof e.details?e.details:void 0;return new m(e.message||"An error occurred",e.code,e.status||e.statusCode,t)}return"string"==typeof e?new m(e,"UNKNOWN_ERROR"):new m("An unexpected error occurred","UNKNOWN_ERROR")}(e)).message,code:r.code,status:r.status,details:{...r.details,...t},timestamp:new Date().toISOString()}).url=window.location.href,s.userAgent=window.navigator.userAgent,(0,d.s)({message:s.message,digest:"string"==typeof t?.digest?t.digest:r.code,url:s.url,userAgent:s.userAgent})},[e]),(0,s.jsx)("div",{className:"min-h-screen flex items-center justify-center p-4 bg-surface-950",children:(0,s.jsxs)(o.Zp,{className:"max-w-2xl w-full",children:[(0,s.jsx)(o.aR,{children:(0,s.jsxs)("div",{className:"flex items-start gap-4",children:[(0,s.jsx)("div",{className:"flex-shrink-0",children:(0,s.jsx)("div",{className:"w-12 h-12 rounded-xl bg-danger-500/10 border border-danger-500/30 flex items-center justify-center",children:(0,s.jsx)(c.A,{className:"w-6 h-6 text-danger-500"})})}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)(o.ZB,{className:"text-xl text-danger-500 mb-2",children:"Something went wrong"}),(0,s.jsx)("p",{className:"text-surface-300 text-sm",children:"We apologize for the inconvenience. An unexpected error has occurred, and our team has been notified. Please try refreshing the page or return to the home page."})]})]})}),!1,(0,s.jsx)(o.wL,{children:(0,s.jsxs)("div",{className:"flex items-center gap-3 w-full",children:[(0,s.jsx)(a.$,{onClick:t,variant:"primary",leftIcon:(0,s.jsx)(l.A,{className:"w-4 h-4"}),className:"flex-1",children:"Try Again"}),(0,s.jsx)(a.$,{onClick:()=>{r.push("/")},variant:"outline",leftIcon:(0,s.jsx)(u.A,{className:"w-4 h-4"}),className:"flex-1",children:"Go Home"})]})})]})})}},40980:(e,t,r)=>{"use strict";let s;r.d(t,{AI:()=>w,Cv:()=>y,HY:()=>m,IZ:()=>_,Oz:()=>k,P8:()=>N,ZV:()=>p,cn:()=>l,fm:()=>j,fw:()=>f,l9:()=>g,mv:()=>C,p_:()=>E,vv:()=>h});var n=r(29722),i=r(622),a=r(56533),o=r(7273),c=r(41463);function l(...e){return(0,i.QP)((0,n.$)(e))}let u=(c.env.NEXT_PUBLIC_LIVE_DASHBOARD_HOSTS||"app.genesisre.io,genesisre.io,app.genesisbureau.com,genesisbureau.com").split(",").map(e=>e.trim().toLowerCase()).filter(Boolean),d="live".trim().toLowerCase();function m(){let e=d?!!["live","prod","production"].includes(d)||!["nonlive","non-live","demo","test","qa","preview","staging","dev","development"].includes(d)&&null:null;if(null!==e)return e;if(window.location?.hostname){let e;return(e=String(window.location.hostname||"").trim().toLowerCase()).length>0&&u.includes(e)}return"production"==="production".trim().toLowerCase()}function f(e){let t="string"==typeof e?(0,a.H)(e):e;return(0,o.m)(t,{addSuffix:!0})}function h(e,t="USD"){return new Intl.NumberFormat("en-US",{style:"currency",currency:t,minimumFractionDigits:0,maximumFractionDigits:0}).format(e)}function p(e){return new Intl.NumberFormat("en-US").format(e)}function g(e,t=1){return`${(100*e).toFixed(t)}%`}function w(e){let t=String(e||"").trim().toUpperCase();return t.startsWith("MTG-")||t.startsWith("LOAN-")||t.startsWith("SMOKE-MORTGAGE")?"mortgage":t.startsWith("BRK-")||t.startsWith("RMX-")||t.startsWith("SMOKE-BROKERAGE")?"brokerage":"title"}let x=new Set(["TITLE-20251217-142011Z-216B","TITLE-20251217-142057Z-PKJC","TITLE-20251217-165820Z-CODX"]),v=(s=(c.env.NEXT_PUBLIC_PILOT_FILE_ID_BLOCKLIST||"").trim())?new Set(s.split(",").map(e=>
1e.trim().toUpperCase()).filter(Boolean)):new Set;function y(e){let t=String(e||"").trim().toUpperCase();return x.has(t)||v.has(t)||/^F-\d+$/.test(t)||t.startsWith("QAINT-")||t.startsWith("QAINT2-")||t.startsWith("LIVECHECK-")||t.startsWith("PRECISION-")||t.startsWith("PILOTCHECK-")||t.startsWith("OPS-E2E-")||t.startsWith("SMOKE-")||t.startsWith("DEMO-")||t.startsWith("IDEM-")||t.startsWith("IDEMP-")||t.startsWith("S3-CHECK-")||t.startsWith("XRPL-SMOKE-")||t.includes("SMOKE-")||t.includes("-SMOKE-")||t.includes("DEMO-")||t.includes("-DEMO-")}function N(e){return e.replace(/_/g," ").replace(/\./g,": ").toLowerCase().replace(/\b\w/g,e=>e.toUpperCase())}let b=new Set(["mortgage.docs.complete","brokerage.docs.complete"]),A=[/\.docs\.complete$/i];function C(e){let t=String(e||"").trim();if(!t)return!1;let r=t.toLowerCase();return!(b.has(r)||A.some(e=>e.test(r)))}function E(e){return Array.isArray(e)&&0!==e.length?e.map(e=>String(e||"").trim()).filter(Boolean).filter(e=>C(e)):[]}function _(e){let t=String(e||"").trim().toLowerCase();return t&&C(t)?["wire.","control.missing.","pack.","anchor.not_anchored.","sanctions.hit","idv.failed","frc_not_eligible",".missing_",".file_not_found",".past_due_open_items",".closing_imminent_blocked"].some(e=>t.includes(e))?"blocking":(["warning",".pending","payoff_stale",".closing_soon_open_items","last_minute_change"].some(e=>t.includes(e)),"warning"):"informational"}function j(e){let t=Array.isArray(e)?e.map(e=>String(e||"").trim()).filter(Boolean):[],r=t.filter(e=>C(e)),s=t.filter(e=>!C(e)),n=r.filter(e=>"blocking"===_(e)),i=r.filter(e=>"warning"===_(e));return{all:t,actionable:r,blocking:n,warning:i,informational:s}}function k(e){return e>=90?"text-success-500":e>=70?"text-warning-500":"text-danger-500"}},45425:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(30772).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},46204:(e,t,r)=>{"use strict";function s(e,t){if("string"!=typeof e)return;let r=e.trim();return r?r.slice(0,t):void 0}function n(e){if("string"==typeof e)try{return new URL(e,"https://telemetry.invalid").pathname.replace(/^(\/c\/v|\/verify\/freight(?:-docs)?)\/[^/]+$/,"$1/[share]").slice(0,400)}catch{return}}r.d(t,{s:()=>o});let i="/api/telemetry/client-errors";function a(e){if("string"==typeof e)return e.trim()||void 0}function o(e){var t;let r,o=a(e.message);if(!o)return;let c=JSON.stringify({message:(r=s((t={message:o,digest:a(e.digest),url:a(e.url)??a(window.location?.href),userAgent:a(e.userAgent)??("u">typeof navigator?a(navigator.userAgent):a(window.navigator?.userAgent))}).message,240))?r.replace(/https?:\/\/[^\s'"<>]+/gi,"[url]").replace(/\b(token|secret|password|api[_-]?key|authorization)\s*[=:]\s*[^\s,;]+/gi,"$1=[redacted]"):void 0,digest:s(t.digest,200),url_path:n(t.url_path)??n(t.url),userAgent:s(t.userAgent,400)}),l=!0;if("u">typeof navigator&&"function"==typeof navigator.sendBeacon)try{let e=new Blob([c],{type:"application/json"});l=!1===navigator.sendBeacon(i,e)}catch{l=!0}l&&"function"==typeof fetch&&fetch(i,{method:"POST",headers:{"content-type":"application/json"},body:c,keepalive:!0}).catch(()=>void 0)}},55234:(e,t,r)=>{Promise.resolve().then(r.bind(r,35887))},71265:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var s=r(12115),n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},i=r(30907);let a=(0,s.createContext)({}),o=(0,s.forwardRef)(({color:e,size:t,strokeWidth:r,absoluteStrokeWidth:o,className:c="",children:l,iconNode:u,...d},m)=>{let{size:f=24,strokeWidth:h=2,absoluteStrokeWidth:p=!1,color:g="currentColor",className:w=""}=(0,s.useContext)(a)??{},x=o??p?24*Number(r??h)/Number(t??f):r??h;return(0,s.createElement)("svg",{ref:m,...n,width:t??f??n.width,height:t??f??n.height,stroke:e??g,strokeWidth:x,className:(0,i.z)("lucide",w,c),...!l&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...u.map(([e,t])=>(0,s.createElement)(e,t)),...Array.isArray(l)?l:[l]])})},81477:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>m,ZB:()=>u,Zp:()=>c,aR:()=>l,wL:()=>f});var s=r(95155),n=r(12115),i=r(40980);let a={default:"card-base",interactive:"card-interactive",selected:"card-selected",glass:"glass-panel"},o={none:"p-0",sm:"p-3",md:"p-4",lg:"p-6"},c=(0,n.forwardRef)(({className:e,variant:t="default",padding:r="md",children:n,...c},l)=>(0,s.jsx)("div",{ref:l,className:(0,i.cn)(a[t],"md"!==r&&o[r],e),...c,children:n}));function l({className:e,children:t,...r}){return(0,s.jsx)("div",{className:(0,i.cn)("flex items-center justify-between mb-4",e),...r,children:t})}function u({className:e,children:t,...r}){return(0,s.jsx)("h3",{className:(0,i.cn)("text-lg font-semibold text-surface-100",e),...r,children:t})}function d({className:e,children:t,...r}){return(0,s.jsx)("p",{className:(0,i.cn)("text-sm text-surface-400",e),...r,children:t})}function m({className:e,children:t,...r}){return(0,s.jsx)("div",{className:(0,i.cn)("",e),...r,children:t})}function f({className:e,children:t,...r}){return(0,s.jsx)("div",{className:(0,i.cn)("flex items-center justify-end gap-2 mt-4 pt-4 border-t border-surface-700/50",e),...r,children:t})}
1c.displayName="Card"},82749:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(30772).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},89239:(e,t,r)=>{"use strict";r.d(t,{$:()=>c,K:()=>u});var s=r(95155),n=r(12115),i=r(40980);let a={primary:"btn-primary",secondary:"btn-secondary",ghost:"btn-ghost",danger:"btn-danger",success:"btn-success",outline:"btn bg-transparent border border-surface-600 text-surface-200 hover:bg-surface-800 hover:border-surface-500 focus:ring-surface-500"},o={sm:"text-xs px-3 py-1.5",md:"text-sm px-4 py-2",lg:"text-base px-5 py-2.5",icon:"p-2 aspect-square"},c=(0,n.forwardRef)(({className:e,variant:t="primary",size:r="md",loading:n=!1,leftIcon:c,rightIcon:u,disabled:d,children:m,...f},h)=>(0,s.jsxs)("button",{ref:h,disabled:d||n,className:(0,i.cn)(a[t],o[r],n&&"opacity-70 cursor-wait",e),...f,children:[n?(0,s.jsx)(l,{className:"w-4 h-4"}):c,m,!n&&u]}));function l({className:e}){return(0,s.jsxs)("svg",{className:(0,i.cn)("animate-spin",e),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,s.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,s.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}function u({children:e,className:t,variant:r="ghost",size:n="icon",...a}){return(0,s.jsx)(c,{variant:r,size:n,className:(0,i.cn)("rounded-lg",t),...a,children:e})}c.displayName="Button"}},e=>{e.O(0,[8669,8441,3794,7358],()=>e(e.s=55234)),_N_E=e.O()}]);
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.