function dd(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function fd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wa={exports:{}},Il={},Ba={exports:{}},A={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var kr=Symbol.for("react.element"),pd=Symbol.for("react.portal"),hd=Symbol.for("react.fragment"),md=Symbol.for("react.strict_mode"),vd=Symbol.for("react.profiler"),gd=Symbol.for("react.provider"),yd=Symbol.for("react.context"),wd=Symbol.for("react.forward_ref"),xd=Symbol.for("react.suspense"),kd=Symbol.for("react.memo"),jd=Symbol.for("react.lazy"),js=Symbol.iterator;function Sd(e){return e===null||typeof e!="object"?null:(e=js&&e[js]||e["@@iterator"],typeof e=="function"?e:null)}var $a={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Va=Object.assign,Ha={};function Pn(e,t,n){this.props=e,this.context=t,this.refs=Ha,this.updater=n||$a}Pn.prototype.isReactComponent={};Pn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Pn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Qa(){}Qa.prototype=Pn.prototype;function Po(e,t,n){this.props=e,this.context=t,this.refs=Ha,this.updater=n||$a}var _o=Po.prototype=new Qa;_o.constructor=Po;Va(_o,Pn.prototype);_o.isPureReactComponent=!0;var Ss=Array.isArray,Ka=Object.prototype.hasOwnProperty,To={current:null},Ya={key:!0,ref:!0,__self:!0,__source:!0};function qa(e,t,n){var r,l={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Ka.call(t,r)&&!Ya.hasOwnProperty(r)&&(l[r]=t[r]);var a=arguments.length-2;if(a===1)l.children=n;else if(1>>1,ne=L[J];if(0>>1;Jl(ei,O))Dtl(_r,ei)?(L[J]=_r,L[Dt]=O,J=Dt):(L[J]=ei,L[Lt]=O,J=Lt);else if(Dtl(_r,O))L[J]=_r,L[Dt]=O,J=Dt;else break e}}return I}function l(L,I){var O=L.sortIndex-I.sortIndex;return O!==0?O:L.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var u=[],c=[],m=1,h=null,v=3,y=!1,w=!1,x=!1,C=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(L){for(var I=n(c);I!==null;){if(I.callback===null)r(c);else if(I.startTime<=L)r(c),I.sortIndex=I.expirationTime,t(u,I);else break;I=n(c)}}function g(L){if(x=!1,p(L),!w)if(n(u)!==null)w=!0,Tt(E);else{var I=n(c);I!==null&&bl(g,I.startTime-L)}}function E(L,I){w=!1,x&&(x=!1,f(D),D=-1),y=!0;var O=v;try{for(p(I),h=n(u);h!==null&&(!(h.expirationTime>I)||L&&!ie());){var J=h.callback;if(typeof J=="function"){h.callback=null,v=h.priorityLevel;var ne=J(h.expirationTime<=I);I=e.unstable_now(),typeof ne=="function"?h.callback=ne:h===n(u)&&r(u),p(I)}else r(u);h=n(u)}if(h!==null)var Pr=!0;else{var Lt=n(c);Lt!==null&&bl(g,Lt.startTime-I),Pr=!1}return Pr}finally{h=null,v=O,y=!1}}var T=!1,P=null,D=-1,U=5,z=-1;function ie(){return!(e.unstable_now()-zL||125J?(L.sortIndex=O,t(c,L),n(u)===null&&L===n(c)&&(x?(f(D),D=-1):x=!0,bl(g,O-J))):(L.sortIndex=ne,t(u,L),w||y||(w=!0,Tt(E))),L},e.unstable_shouldYield=ie,e.unstable_wrapCallback=function(L){var I=v;return function(){var O=v;v=I;try{return L.apply(this,arguments)}finally{v=O}}}})(eu);ba.exports=eu;var Od=ba.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Ad=k,Ee=Od;function j(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Li=Object.prototype.hasOwnProperty,Md=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Cs={},Es={};function Fd(e){return Li.call(Es,e)?!0:Li.call(Cs,e)?!1:Md.test(e)?Es[e]=!0:(Cs[e]=!0,!1)}function Ud(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Wd(e,t,n,r){if(t===null||typeof t>"u"||Ud(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ge(e,t,n,r,l,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ue[e]=new ge(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ue[t]=new ge(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ue[e]=new ge(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ue[e]=new ge(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ue[e]=new ge(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ue[e]=new ge(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ue[e]=new ge(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ue[e]=new ge(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ue[e]=new ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var Do=/[\-:]([a-z])/g;function Ro(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Do,Ro);ue[t]=new ge(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Do,Ro);ue[t]=new ge(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Do,Ro);ue[t]=new ge(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ue[e]=new ge(e,1,!1,e.toLowerCase(),null,!1,!1)});ue.xlinkHref=new ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ue[e]=new ge(e,1,!1,e.toLowerCase(),null,!0,!0)});function zo(e,t,n,r){var l=ue.hasOwnProperty(t)?ue[t]:null;(l!==null?l.type!==0:r||!(2a||l[s]!==i[a]){var u=` `+l[s].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=s&&0<=a);break}}}finally{ri=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wn(e):""}function Bd(e){switch(e.tag){case 5:return Wn(e.type);case 16:return Wn("Lazy");case 13:return Wn("Suspense");case 19:return Wn("SuspenseList");case 0:case 2:case 15:return e=li(e.type,!1),e;case 11:return e=li(e.type.render,!1),e;case 1:return e=li(e.type,!0),e;default:return""}}function Ii(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case en:return"Fragment";case bt:return"Portal";case Di:return"Profiler";case Io:return"StrictMode";case Ri:return"Suspense";case zi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ru:return(e.displayName||"Context")+".Consumer";case nu:return(e._context.displayName||"Context")+".Provider";case Oo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ao:return t=e.displayName||null,t!==null?t:Ii(e.type)||"Memo";case it:t=e._payload,e=e._init;try{return Ii(e(t))}catch{}}return null}function $d(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ii(t);case 8:return t===Io?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function iu(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Vd(e){var t=iu(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Dr(e){e._valueTracker||(e._valueTracker=Vd(e))}function ou(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=iu(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function al(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Oi(e,t){var n=t.checked;return q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function _s(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=kt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function su(e,t){t=t.checked,t!=null&&zo(e,"checked",t,!1)}function Ai(e,t){su(e,t);var n=kt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Mi(e,t.type,n):t.hasOwnProperty("defaultValue")&&Mi(e,t.type,kt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ts(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Mi(e,t,n){(t!=="number"||al(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Bn=Array.isArray;function pn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Rr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function rr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Kn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Hd=["Webkit","ms","Moz","O"];Object.keys(Kn).forEach(function(e){Hd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Kn[t]=Kn[e]})});function du(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Kn.hasOwnProperty(e)&&Kn[e]?(""+t).trim():t+"px"}function fu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=du(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Qd=q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Wi(e,t){if(t){if(Qd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function Bi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var $i=null;function Mo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Vi=null,hn=null,mn=null;function Rs(e){if(e=Nr(e)){if(typeof Vi!="function")throw Error(j(280));var t=e.stateNode;t&&(t=Ul(t),Vi(e.stateNode,e.type,t))}}function pu(e){hn?mn?mn.push(e):mn=[e]:hn=e}function hu(){if(hn){var e=hn,t=mn;if(mn=hn=null,Rs(e),t)for(e=0;e>>=0,e===0?32:31-(nf(e)/rf|0)|0}var zr=64,Ir=4194304;function $n(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function fl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~l;a!==0?r=$n(a):(i&=s,i!==0&&(r=$n(i)))}else s=n&~l,s!==0?r=$n(s):i!==0&&(r=$n(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function jr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-We(t),e[t]=n}function af(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=qn),Bs=" ",$s=!1;function Iu(e,t){switch(e){case"keyup":return Af.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ou(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var tn=!1;function Ff(e,t){switch(e){case"compositionend":return Ou(t);case"keypress":return t.which!==32?null:($s=!0,Bs);case"textInput":return e=t.data,e===Bs&&$s?null:e;default:return null}}function Uf(e,t){if(tn)return e==="compositionend"||!Qo&&Iu(e,t)?(e=Ru(),Zr=$o=ut=null,tn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ks(n)}}function Uu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Uu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Wu(){for(var e=window,t=al();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=al(e.document)}return t}function Ko(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function qf(e){var t=Wu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Uu(n.ownerDocument.documentElement,n)){if(r!==null&&Ko(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Ys(n,i);var s=Ys(n,r);l&&s&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,nn=null,Gi=null,Xn=null,Xi=!1;function qs(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Xi||nn==null||nn!==al(r)||(r=nn,"selectionStart"in r&&Ko(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Xn&&ur(Xn,r)||(Xn=r,r=ml(Gi,"onSelect"),0on||(e.current=no[on],no[on]=null,on--)}function B(e,t){on++,no[on]=e.current,e.current=t}var jt={},pe=Nt(jt),xe=Nt(!1),$t=jt;function xn(e,t){var n=e.type.contextTypes;if(!n)return jt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ke(e){return e=e.childContextTypes,e!=null}function gl(){H(xe),H(pe)}function ta(e,t,n){if(pe.current!==jt)throw Error(j(168));B(pe,t),B(xe,n)}function Gu(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(j(108,$d(e)||"Unknown",l));return q({},n,r)}function yl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jt,$t=pe.current,B(pe,e),B(xe,xe.current),!0}function na(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=Gu(e,t,$t),r.__reactInternalMemoizedMergedChildContext=e,H(xe),H(pe),B(pe,e)):H(xe),B(xe,n)}var Ge=null,Wl=!1,yi=!1;function Xu(e){Ge===null?Ge=[e]:Ge.push(e)}function op(e){Wl=!0,Xu(e)}function Ct(){if(!yi&&Ge!==null){yi=!0;var e=0,t=F;try{var n=Ge;for(F=1;e>=s,l-=s,Xe=1<<32-We(t)+l|n<D?(U=P,P=null):U=P.sibling;var z=v(f,P,p[D],g);if(z===null){P===null&&(P=U);break}e&&P&&z.alternate===null&&t(f,P),d=i(z,d,D),T===null?E=z:T.sibling=z,T=z,P=U}if(D===p.length)return n(f,P),Q&&Rt(f,D),E;if(P===null){for(;DD?(U=P,P=null):U=P.sibling;var ie=v(f,P,z.value,g);if(ie===null){P===null&&(P=U);break}e&&P&&ie.alternate===null&&t(f,P),d=i(ie,d,D),T===null?E=ie:T.sibling=ie,T=ie,P=U}if(z.done)return n(f,P),Q&&Rt(f,D),E;if(P===null){for(;!z.done;D++,z=p.next())z=h(f,z.value,g),z!==null&&(d=i(z,d,D),T===null?E=z:T.sibling=z,T=z);return Q&&Rt(f,D),E}for(P=r(f,P);!z.done;D++,z=p.next())z=y(P,f,D,z.value,g),z!==null&&(e&&z.alternate!==null&&P.delete(z.key===null?D:z.key),d=i(z,d,D),T===null?E=z:T.sibling=z,T=z);return e&&P.forEach(function(S){return t(f,S)}),Q&&Rt(f,D),E}function C(f,d,p,g){if(typeof p=="object"&&p!==null&&p.type===en&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Lr:e:{for(var E=p.key,T=d;T!==null;){if(T.key===E){if(E=p.type,E===en){if(T.tag===7){n(f,T.sibling),d=l(T,p.props.children),d.return=f,f=d;break e}}else if(T.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===it&&ia(E)===T.type){n(f,T.sibling),d=l(T,p.props),d.ref=Mn(f,T,p),d.return=f,f=d;break e}n(f,T);break}else t(f,T);T=T.sibling}p.type===en?(d=Bt(p.props.children,f.mode,g,p.key),d.return=f,f=d):(g=ol(p.type,p.key,p.props,null,f.mode,g),g.ref=Mn(f,d,p),g.return=f,f=g)}return s(f);case bt:e:{for(T=p.key;d!==null;){if(d.key===T)if(d.tag===4&&d.stateNode.containerInfo===p.containerInfo&&d.stateNode.implementation===p.implementation){n(f,d.sibling),d=l(d,p.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=Ei(p,f.mode,g),d.return=f,f=d}return s(f);case it:return T=p._init,C(f,d,T(p._payload),g)}if(Bn(p))return w(f,d,p,g);if(Rn(p))return x(f,d,p,g);Br(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,d!==null&&d.tag===6?(n(f,d.sibling),d=l(d,p),d.return=f,f=d):(n(f,d),d=Ci(p,f.mode,g),d.return=f,f=d),s(f)):n(f,d)}return C}var jn=ec(!0),tc=ec(!1),kl=Nt(null),jl=null,un=null,Xo=null;function Jo(){Xo=un=jl=null}function Zo(e){var t=kl.current;H(kl),e._currentValue=t}function io(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function gn(e,t){jl=e,Xo=un=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(we=!0),e.firstContext=null)}function Ie(e){var t=e._currentValue;if(Xo!==e)if(e={context:e,memoizedValue:t,next:null},un===null){if(jl===null)throw Error(j(308));un=e,jl.dependencies={lanes:0,firstContext:e}}else un=un.next=e;return t}var Ot=null;function bo(e){Ot===null?Ot=[e]:Ot.push(e)}function nc(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,bo(t)):(n.next=l.next,l.next=n),t.interleaved=n,tt(e,r)}function tt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ot=!1;function es(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function rc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ze(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function vt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,M&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,tt(e,n)}return l=r.interleaved,l===null?(t.next=t,bo(r)):(t.next=l.next,l.next=t),r.interleaved=t,tt(e,n)}function el(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Uo(e,n)}}function oa(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Sl(e,t,n,r){var l=e.updateQueue;ot=!1;var i=l.firstBaseUpdate,s=l.lastBaseUpdate,a=l.shared.pending;if(a!==null){l.shared.pending=null;var u=a,c=u.next;u.next=null,s===null?i=c:s.next=c,s=u;var m=e.alternate;m!==null&&(m=m.updateQueue,a=m.lastBaseUpdate,a!==s&&(a===null?m.firstBaseUpdate=c:a.next=c,m.lastBaseUpdate=u))}if(i!==null){var h=l.baseState;s=0,m=c=u=null,a=i;do{var v=a.lane,y=a.eventTime;if((r&v)===v){m!==null&&(m=m.next={eventTime:y,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var w=e,x=a;switch(v=t,y=n,x.tag){case 1:if(w=x.payload,typeof w=="function"){h=w.call(y,h,v);break e}h=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=x.payload,v=typeof w=="function"?w.call(y,h,v):w,v==null)break e;h=q({},h,v);break e;case 2:ot=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,v=l.effects,v===null?l.effects=[a]:v.push(a))}else y={eventTime:y,lane:v,tag:a.tag,payload:a.payload,callback:a.callback,next:null},m===null?(c=m=y,u=h):m=m.next=y,s|=v;if(a=a.next,a===null){if(a=l.shared.pending,a===null)break;v=a,a=v.next,v.next=null,l.lastBaseUpdate=v,l.shared.pending=null}}while(!0);if(m===null&&(u=h),l.baseState=u,l.firstBaseUpdate=c,l.lastBaseUpdate=m,t=l.shared.interleaved,t!==null){l=t;do s|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Qt|=s,e.lanes=s,e.memoizedState=h}}function sa(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=xi.transition;xi.transition={};try{e(!1),t()}finally{F=n,xi.transition=r}}function xc(){return Oe().memoizedState}function cp(e,t,n){var r=yt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},kc(e))jc(t,n);else if(n=nc(e,t,n,r),n!==null){var l=me();Be(n,e,r,l),Sc(n,t,r)}}function dp(e,t,n){var r=yt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(kc(e))jc(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(l.hasEagerState=!0,l.eagerState=a,$e(a,s)){var u=t.interleaved;u===null?(l.next=l,bo(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=nc(e,t,l,r),n!==null&&(l=me(),Be(n,e,r,l),Sc(n,t,r))}}function kc(e){var t=e.alternate;return e===Y||t!==null&&t===Y}function jc(e,t){Jn=Cl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Sc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Uo(e,n)}}var El={readContext:Ie,useCallback:ce,useContext:ce,useEffect:ce,useImperativeHandle:ce,useInsertionEffect:ce,useLayoutEffect:ce,useMemo:ce,useReducer:ce,useRef:ce,useState:ce,useDebugValue:ce,useDeferredValue:ce,useTransition:ce,useMutableSource:ce,useSyncExternalStore:ce,useId:ce,unstable_isNewReconciler:!1},fp={readContext:Ie,useCallback:function(e,t){return He().memoizedState=[e,t===void 0?null:t],e},useContext:Ie,useEffect:ua,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,nl(4194308,4,mc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return nl(4194308,4,e,t)},useInsertionEffect:function(e,t){return nl(4,2,e,t)},useMemo:function(e,t){var n=He();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=He();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=cp.bind(null,Y,e),[r.memoizedState,e]},useRef:function(e){var t=He();return e={current:e},t.memoizedState=e},useState:aa,useDebugValue:as,useDeferredValue:function(e){return He().memoizedState=e},useTransition:function(){var e=aa(!1),t=e[0];return e=up.bind(null,e[1]),He().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Y,l=He();if(Q){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),le===null)throw Error(j(349));Ht&30||sc(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,ua(uc.bind(null,r,i,e),[e]),r.flags|=2048,gr(9,ac.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=He(),t=le.identifierPrefix;if(Q){var n=Je,r=Xe;n=(r&~(1<<32-We(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=mr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Qe]=t,e[fr]=r,zc(e,t,!1,!1),t.stateNode=e;e:{switch(s=Bi(n,r),n){case"dialog":$("cancel",e),$("close",e),l=r;break;case"iframe":case"object":case"embed":$("load",e),l=r;break;case"video":case"audio":for(l=0;lCn&&(t.flags|=128,r=!0,Fn(i,!1),t.lanes=4194304)}else{if(!r)if(e=Nl(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Fn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Q)return de(t),null}else 2*Z()-i.renderingStartTime>Cn&&n!==1073741824&&(t.flags|=128,r=!0,Fn(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Z(),t.sibling=null,n=K.current,B(K,r?n&1|2:n&1),t):(de(t),null);case 22:case 23:return hs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Se&1073741824&&(de(t),t.subtreeFlags&6&&(t.flags|=8192)):de(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function xp(e,t){switch(qo(t),t.tag){case 1:return ke(t.type)&&gl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sn(),H(xe),H(pe),rs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ns(t),null;case 13:if(H(K),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));kn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return H(K),null;case 4:return Sn(),null;case 10:return Zo(t.type._context),null;case 22:case 23:return hs(),null;case 24:return null;default:return null}}var Vr=!1,fe=!1,kp=typeof WeakSet=="function"?WeakSet:Set,_=null;function cn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){G(e,t,r)}else n.current=null}function mo(e,t,n){try{n()}catch(r){G(e,t,r)}}var xa=!1;function jp(e,t){if(Ji=pl,e=Wu(),Ko(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,u=-1,c=0,m=0,h=e,v=null;t:for(;;){for(var y;h!==n||l!==0&&h.nodeType!==3||(a=s+l),h!==i||r!==0&&h.nodeType!==3||(u=s+r),h.nodeType===3&&(s+=h.nodeValue.length),(y=h.firstChild)!==null;)v=h,h=y;for(;;){if(h===e)break t;if(v===n&&++c===l&&(a=s),v===i&&++m===r&&(u=s),(y=h.nextSibling)!==null)break;h=v,v=h.parentNode}h=y}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Zi={focusedElem:e,selectionRange:n},pl=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var x=w.memoizedProps,C=w.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?x:Me(t.type,x),C);f.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(g){G(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return w=xa,xa=!1,w}function Zn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&mo(t,n,i)}l=l.next}while(l!==r)}}function Vl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function vo(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Ac(e){var t=e.alternate;t!==null&&(e.alternate=null,Ac(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Qe],delete t[fr],delete t[to],delete t[lp],delete t[ip])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Mc(e){return e.tag===5||e.tag===3||e.tag===4}function ka(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Mc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function go(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=vl));else if(r!==4&&(e=e.child,e!==null))for(go(e,t,n),e=e.sibling;e!==null;)go(e,t,n),e=e.sibling}function yo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(yo(e,t,n),e=e.sibling;e!==null;)yo(e,t,n),e=e.sibling}var se=null,Fe=!1;function lt(e,t,n){for(n=n.child;n!==null;)Fc(e,t,n),n=n.sibling}function Fc(e,t,n){if(Ke&&typeof Ke.onCommitFiberUnmount=="function")try{Ke.onCommitFiberUnmount(Ol,n)}catch{}switch(n.tag){case 5:fe||cn(n,t);case 6:var r=se,l=Fe;se=null,lt(e,t,n),se=r,Fe=l,se!==null&&(Fe?(e=se,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):se.removeChild(n.stateNode));break;case 18:se!==null&&(Fe?(e=se,n=n.stateNode,e.nodeType===8?gi(e.parentNode,n):e.nodeType===1&&gi(e,n),sr(e)):gi(se,n.stateNode));break;case 4:r=se,l=Fe,se=n.stateNode.containerInfo,Fe=!0,lt(e,t,n),se=r,Fe=l;break;case 0:case 11:case 14:case 15:if(!fe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&mo(n,t,s),l=l.next}while(l!==r)}lt(e,t,n);break;case 1:if(!fe&&(cn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){G(n,t,a)}lt(e,t,n);break;case 21:lt(e,t,n);break;case 22:n.mode&1?(fe=(r=fe)||n.memoizedState!==null,lt(e,t,n),fe=r):lt(e,t,n);break;default:lt(e,t,n)}}function ja(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new kp),t.forEach(function(r){var l=Dp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Ae(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=s),r&=~i}if(r=l,r=Z()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Np(r/1960))-r,10e?16:e,ct===null)var r=!1;else{if(e=ct,ct=null,Tl=0,M&6)throw Error(j(331));var l=M;for(M|=4,_=e.current;_!==null;){var i=_,s=i.child;if(_.flags&16){var a=i.deletions;if(a!==null){for(var u=0;uZ()-fs?Wt(e,0):ds|=n),je(e,t)}function Kc(e,t){t===0&&(e.mode&1?(t=Ir,Ir<<=1,!(Ir&130023424)&&(Ir=4194304)):t=1);var n=me();e=tt(e,t),e!==null&&(jr(e,t,n),je(e,n))}function Lp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Kc(e,n)}function Dp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(j(314))}r!==null&&r.delete(t),Kc(e,n)}var Yc;Yc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||xe.current)we=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return we=!1,yp(e,t,n);we=!!(e.flags&131072)}else we=!1,Q&&t.flags&1048576&&Ju(t,xl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;rl(e,t),e=t.pendingProps;var l=xn(t,pe.current);gn(t,n),l=is(null,t,r,e,l,n);var i=os();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ke(r)?(i=!0,yl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,es(t),l.updater=$l,t.stateNode=l,l._reactInternals=t,so(t,r,e,n),t=co(null,t,r,!0,i,n)):(t.tag=0,Q&&i&&Yo(t),he(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(rl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=zp(r),e=Me(r,e),l){case 0:t=uo(null,t,r,e,n);break e;case 1:t=ga(null,t,r,e,n);break e;case 11:t=ma(null,t,r,e,n);break e;case 14:t=va(null,t,r,Me(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Me(r,l),uo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Me(r,l),ga(e,t,r,l,n);case 3:e:{if(Lc(t),e===null)throw Error(j(387));r=t.pendingProps,i=t.memoizedState,l=i.element,rc(e,t),Sl(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=Nn(Error(j(423)),t),t=ya(e,t,r,n,l);break e}else if(r!==l){l=Nn(Error(j(424)),t),t=ya(e,t,r,n,l);break e}else for(Ne=mt(t.stateNode.containerInfo.firstChild),Ce=t,Q=!0,Ue=null,n=tc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(kn(),r===l){t=nt(e,t,n);break e}he(e,t,r,n)}t=t.child}return t;case 5:return lc(t),e===null&&lo(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,s=l.children,bi(r,l)?s=null:i!==null&&bi(r,i)&&(t.flags|=32),Tc(e,t),he(e,t,s,n),t.child;case 6:return e===null&&lo(t),null;case 13:return Dc(e,t,n);case 4:return ts(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=jn(t,null,r,n):he(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Me(r,l),ma(e,t,r,l,n);case 7:return he(e,t,t.pendingProps,n),t.child;case 8:return he(e,t,t.pendingProps.children,n),t.child;case 12:return he(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,s=l.value,B(kl,r._currentValue),r._currentValue=s,i!==null)if($e(i.value,s)){if(i.children===l.children&&!xe.current){t=nt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=Ze(-1,n&-n),u.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var m=c.pending;m===null?u.next=u:(u.next=m.next,m.next=u),c.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),io(i.return,n,t),a.lanes|=n;break}u=u.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(j(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),io(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}he(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,gn(t,n),l=Ie(l),r=r(l),t.flags|=1,he(e,t,r,n),t.child;case 14:return r=t.type,l=Me(r,t.pendingProps),l=Me(r.type,l),va(e,t,r,l,n);case 15:return Pc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Me(r,l),rl(e,t),t.tag=1,ke(r)?(e=!0,yl(t)):e=!1,gn(t,n),Nc(t,r,l),so(t,r,l,n),co(null,t,r,!0,e,n);case 19:return Rc(e,t,n);case 22:return _c(e,t,n)}throw Error(j(156,t.tag))};function qc(e,t){return ku(e,t)}function Rp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Re(e,t,n,r){return new Rp(e,t,n,r)}function vs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function zp(e){if(typeof e=="function")return vs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Oo)return 11;if(e===Ao)return 14}return 2}function wt(e,t){var n=e.alternate;return n===null?(n=Re(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ol(e,t,n,r,l,i){var s=2;if(r=e,typeof e=="function")vs(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case en:return Bt(n.children,l,i,t);case Io:s=8,l|=8;break;case Di:return e=Re(12,n,t,l|2),e.elementType=Di,e.lanes=i,e;case Ri:return e=Re(13,n,t,l),e.elementType=Ri,e.lanes=i,e;case zi:return e=Re(19,n,t,l),e.elementType=zi,e.lanes=i,e;case lu:return Ql(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case nu:s=10;break e;case ru:s=9;break e;case Oo:s=11;break e;case Ao:s=14;break e;case it:s=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=Re(s,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Bt(e,t,n,r){return e=Re(7,e,r,t),e.lanes=n,e}function Ql(e,t,n,r){return e=Re(22,e,r,t),e.elementType=lu,e.lanes=n,e.stateNode={isHidden:!1},e}function Ci(e,t,n){return e=Re(6,e,null,t),e.lanes=n,e}function Ei(e,t,n){return t=Re(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ip(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=oi(0),this.expirationTimes=oi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oi(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function gs(e,t,n,r,l,i,s,a,u){return e=new Ip(e,t,n,a,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Re(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},es(i),e}function Op(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Zc)}catch(e){console.error(e)}}Zc(),Za.exports=Pe;var Wp=Za.exports,La=Wp;Ti.createRoot=La.createRoot,Ti.hydrateRoot=La.hydrateRoot;/** * @remix-run/router v1.23.2 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function wr(){return wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function ks(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function $p(){return Math.random().toString(36).substr(2,8)}function Ra(e,t){return{usr:e.state,key:e.key,idx:t}}function So(e,t,n,r){return n===void 0&&(n=null),wr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ln(t):t,{state:n,key:t&&t.key||r||$p()})}function Rl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Ln(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Vp(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,s=l.history,a=dt.Pop,u=null,c=m();c==null&&(c=0,s.replaceState(wr({},s.state,{idx:c}),""));function m(){return(s.state||{idx:null}).idx}function h(){a=dt.Pop;let C=m(),f=C==null?null:C-c;c=C,u&&u({action:a,location:x.location,delta:f})}function v(C,f){a=dt.Push;let d=So(x.location,C,f);c=m()+1;let p=Ra(d,c),g=x.createHref(d);try{s.pushState(p,"",g)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;l.location.assign(g)}i&&u&&u({action:a,location:x.location,delta:1})}function y(C,f){a=dt.Replace;let d=So(x.location,C,f);c=m();let p=Ra(d,c),g=x.createHref(d);s.replaceState(p,"",g),i&&u&&u({action:a,location:x.location,delta:0})}function w(C){let f=l.location.origin!=="null"?l.location.origin:l.location.href,d=typeof C=="string"?C:Rl(C);return d=d.replace(/ $/,"%20"),X(f,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,f)}let x={get action(){return a},get location(){return e(l,s)},listen(C){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(Da,h),u=C,()=>{l.removeEventListener(Da,h),u=null}},createHref(C){return t(l,C)},createURL:w,encodeLocation(C){let f=w(C);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:v,replace:y,go(C){return s.go(C)}};return x}var za;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(za||(za={}));function Hp(e,t,n){return n===void 0&&(n="/"),Qp(e,t,n)}function Qp(e,t,n,r){let l=typeof t=="string"?Ln(t):t,i=En(l.pathname||"/",n);if(i==null)return null;let s=bc(e);Kp(s);let a=null;for(let u=0;a==null&&u{let u={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};u.relativePath.startsWith("/")&&(X(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=xt([r,u.relativePath]),m=n.concat(u);i.children&&i.children.length>0&&(X(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),bc(i.children,t,m,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:bp(c,i.index),routesMeta:m})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))l(i,s);else for(let u of ed(i.path))l(i,s,u)}),t}function ed(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let s=ed(r.join("/")),a=[];return a.push(...s.map(u=>u===""?i:[i,u].join("/"))),l&&a.push(...s),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function Kp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:eh(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Yp=/^:[\w-]+$/,qp=3,Gp=2,Xp=1,Jp=10,Zp=-2,Ia=e=>e==="*";function bp(e,t){let n=e.split("/"),r=n.length;return n.some(Ia)&&(r+=Zp),t&&(r+=Gp),n.filter(l=>!Ia(l)).reduce((l,i)=>l+(Yp.test(i)?qp:i===""?Xp:Jp),r)}function eh(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function th(e,t,n){let{routesMeta:r}=e,l={},i="/",s=[];for(let a=0;a{let{paramName:v,isOptional:y}=m;if(v==="*"){let x=a[h]||"";s=i.slice(0,i.length-x.length).replace(/(.)\/+$/,"$1")}const w=a[h];return y&&!w?c[v]=void 0:c[v]=(w||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:s,pattern:e}}function nh(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),ks(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function rh(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ks(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function En(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const lh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ih=e=>lh.test(e);function oh(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?Ln(e):e,i;if(n)if(ih(n))i=n;else{if(n.includes("//")){let s=n;n=n.replace(/\/\/+/g,"/"),ks(!1,"Pathnames cannot have embedded double slashes - normalizing "+(s+" -> "+n))}n.startsWith("/")?i=Oa(n.substring(1),"/"):i=Oa(n,t)}else i=t;return{pathname:i,search:uh(r),hash:ch(l)}}function Oa(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function Pi(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function sh(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function td(e,t){let n=sh(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function nd(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=Ln(e):(l=wr({},e),X(!l.pathname||!l.pathname.includes("?"),Pi("?","pathname","search",l)),X(!l.pathname||!l.pathname.includes("#"),Pi("#","pathname","hash",l)),X(!l.search||!l.search.includes("#"),Pi("#","search","hash",l)));let i=e===""||l.pathname==="",s=i?"/":l.pathname,a;if(s==null)a=n;else{let h=t.length-1;if(!r&&s.startsWith("..")){let v=s.split("/");for(;v[0]==="..";)v.shift(),h-=1;l.pathname=v.join("/")}a=h>=0?t[h]:"/"}let u=oh(l,a),c=s&&s!=="/"&&s.endsWith("/"),m=(i||s===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||m)&&(u.pathname+="/"),u}const xt=e=>e.join("/").replace(/\/\/+/g,"/"),ah=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),uh=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ch=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function dh(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const rd=["post","put","patch","delete"];new Set(rd);const fh=["get",...rd];new Set(fh);/** * React Router v6.30.3 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function xr(){return xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),k.useCallback(function(c,m){if(m===void 0&&(m={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let h=nd(c,JSON.parse(s),i,m.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:xt([t,h.pathname])),(m.replace?r.replace:r.push)(h,m.state,m)},[t,r,s,i,e])}const vh=k.createContext(null);function gh(e){let t=k.useContext(Pt).outlet;return t&&k.createElement(vh.Provider,{value:e},t)}function Zl(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=k.useContext(Et),{matches:l}=k.useContext(Pt),{pathname:i}=Dn(),s=JSON.stringify(td(l,r.v7_relativeSplatPath));return k.useMemo(()=>nd(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function yh(e,t){return wh(e,t)}function wh(e,t,n,r){Er()||X(!1);let{navigator:l}=k.useContext(Et),{matches:i}=k.useContext(Pt),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let u=s?s.pathnameBase:"/";s&&s.route;let c=Dn(),m;if(t){var h;let C=typeof t=="string"?Ln(t):t;u==="/"||(h=C.pathname)!=null&&h.startsWith(u)||X(!1),m=C}else m=c;let v=m.pathname||"/",y=v;if(u!=="/"){let C=u.replace(/^\//,"").split("/");y="/"+v.replace(/^\//,"").split("/").slice(C.length).join("/")}let w=Hp(e,{pathname:y}),x=Nh(w&&w.map(C=>Object.assign({},C,{params:Object.assign({},a,C.params),pathname:xt([u,l.encodeLocation?l.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?u:xt([u,l.encodeLocation?l.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),i,n,r);return t&&x?k.createElement(Jl.Provider,{value:{location:xr({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:dt.Pop}},x):x}function xh(){let e=_h(),t=dh(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:l},n):null,null)}const kh=k.createElement(xh,null);class jh extends k.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?k.createElement(Pt.Provider,{value:this.props.routeContext},k.createElement(id.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Sh(e){let{routeContext:t,match:n,children:r}=e,l=k.useContext(Xl);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),k.createElement(Pt.Provider,{value:t},r)}function Nh(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(l=n)==null?void 0:l.errors;if(a!=null){let m=s.findIndex(h=>h.route.id&&(a==null?void 0:a[h.route.id])!==void 0);m>=0||X(!1),s=s.slice(0,Math.min(s.length,m+1))}let u=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let m=0;m=0?s=s.slice(0,c+1):s=[s[0]];break}}}return s.reduceRight((m,h,v)=>{let y,w=!1,x=null,C=null;n&&(y=a&&h.route.id?a[h.route.id]:void 0,x=h.route.errorElement||kh,u&&(c<0&&v===0?(Lh("route-fallback"),w=!0,C=null):c===v&&(w=!0,C=h.route.hydrateFallbackElement||null)));let f=t.concat(s.slice(0,v+1)),d=()=>{let p;return y?p=x:w?p=C:h.route.Component?p=k.createElement(h.route.Component,null):h.route.element?p=h.route.element:p=m,k.createElement(Sh,{match:h,routeContext:{outlet:m,matches:f,isDataRoute:n!=null},children:p})};return n&&(h.route.ErrorBoundary||h.route.errorElement||v===0)?k.createElement(jh,{location:n.location,revalidation:n.revalidation,component:x,error:y,children:d(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):d()},null)}var sd=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(sd||{}),ad=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(ad||{});function Ch(e){let t=k.useContext(Xl);return t||X(!1),t}function Eh(e){let t=k.useContext(ld);return t||X(!1),t}function Ph(e){let t=k.useContext(Pt);return t||X(!1),t}function ud(e){let t=Ph(),n=t.matches[t.matches.length-1];return n.route.id||X(!1),n.route.id}function _h(){var e;let t=k.useContext(id),n=Eh(),r=ud();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Th(){let{router:e}=Ch(sd.UseNavigateStable),t=ud(ad.UseNavigateStable),n=k.useRef(!1);return od(()=>{n.current=!0}),k.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,xr({fromRouteId:t},i)))},[e,t])}const Aa={};function Lh(e,t,n){Aa[e]||(Aa[e]=!0)}function Dh(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Rh(e){return gh(e.context)}function Te(e){X(!1)}function zh(e){let{basename:t="/",children:n=null,location:r,navigationType:l=dt.Pop,navigator:i,static:s=!1,future:a}=e;Er()&&X(!1);let u=t.replace(/^\/*/,"/"),c=k.useMemo(()=>({basename:u,navigator:i,static:s,future:xr({v7_relativeSplatPath:!1},a)}),[u,a,i,s]);typeof r=="string"&&(r=Ln(r));let{pathname:m="/",search:h="",hash:v="",state:y=null,key:w="default"}=r,x=k.useMemo(()=>{let C=En(m,u);return C==null?null:{location:{pathname:C,search:h,hash:v,state:y,key:w},navigationType:l}},[u,m,h,v,y,w,l]);return x==null?null:k.createElement(Et.Provider,{value:c},k.createElement(Jl.Provider,{children:n,value:x}))}function Ih(e){let{children:t,location:n}=e;return yh(Co(t),n)}new Promise(()=>{});function Co(e,t){t===void 0&&(t=[]);let n=[];return k.Children.forEach(e,(r,l)=>{if(!k.isValidElement(r))return;let i=[...t,l];if(r.type===k.Fragment){n.push.apply(n,Co(r.props.children,i));return}r.type!==Te&&X(!1),!r.props.index||!r.props.children||X(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Co(r.props.children,i)),n.push(s)}),n}/** * React Router DOM v6.30.3 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function zl(){return zl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function Oh(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Ah(e,t){return e.button===0&&(!t||t==="_self")&&!Oh(e)}const Mh=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Fh=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],Uh="6";try{window.__reactRouterVersion=Uh}catch{}const Wh=k.createContext({isTransitioning:!1}),Bh="startTransition",Ma=_d[Bh];function $h(e){let{basename:t,children:n,future:r,window:l}=e,i=k.useRef();i.current==null&&(i.current=Bp({window:l,v5Compat:!0}));let s=i.current,[a,u]=k.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},m=k.useCallback(h=>{c&&Ma?Ma(()=>u(h)):u(h)},[u,c]);return k.useLayoutEffect(()=>s.listen(m),[s,m]),k.useEffect(()=>Dh(r),[r]),k.createElement(zh,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const Vh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Hh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,W=k.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:i,replace:s,state:a,target:u,to:c,preventScrollReset:m,viewTransition:h}=t,v=cd(t,Mh),{basename:y}=k.useContext(Et),w,x=!1;if(typeof c=="string"&&Hh.test(c)&&(w=c,Vh))try{let p=new URL(window.location.href),g=c.startsWith("//")?new URL(p.protocol+c):new URL(c),E=En(g.pathname,y);g.origin===p.origin&&E!=null?c=E+g.search+g.hash:x=!0}catch{}let C=ph(c,{relative:l}),f=Yh(c,{replace:s,state:a,target:u,preventScrollReset:m,relative:l,viewTransition:h});function d(p){r&&r(p),p.defaultPrevented||f(p)}return k.createElement("a",zl({},v,{href:w||C,onClick:x||i?r:d,ref:n,target:u}))}),Qh=k.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:l=!1,className:i="",end:s=!1,style:a,to:u,viewTransition:c,children:m}=t,h=cd(t,Fh),v=Zl(u,{relative:h.relative}),y=Dn(),w=k.useContext(ld),{navigator:x,basename:C}=k.useContext(Et),f=w!=null&&qh(v)&&c===!0,d=x.encodeLocation?x.encodeLocation(v).pathname:v.pathname,p=y.pathname,g=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;l||(p=p.toLowerCase(),g=g?g.toLowerCase():null,d=d.toLowerCase()),g&&C&&(g=En(g,C)||g);const E=d!=="/"&&d.endsWith("/")?d.length-1:d.length;let T=p===d||!s&&p.startsWith(d)&&p.charAt(E)==="/",P=g!=null&&(g===d||!s&&g.startsWith(d)&&g.charAt(d.length)==="/"),D={isActive:T,isPending:P,isTransitioning:f},U=T?r:void 0,z;typeof i=="function"?z=i(D):z=[i,T?"active":null,P?"pending":null,f?"transitioning":null].filter(Boolean).join(" ");let ie=typeof a=="function"?a(D):a;return k.createElement(W,zl({},h,{"aria-current":U,className:z,ref:n,style:ie,to:u,viewTransition:c}),typeof m=="function"?m(D):m)});var Eo;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Eo||(Eo={}));var Fa;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Fa||(Fa={}));function Kh(e){let t=k.useContext(Xl);return t||X(!1),t}function Yh(e,t){let{target:n,replace:r,state:l,preventScrollReset:i,relative:s,viewTransition:a}=t===void 0?{}:t,u=hh(),c=Dn(),m=Zl(e,{relative:s});return k.useCallback(h=>{if(Ah(h,n)){h.preventDefault();let v=r!==void 0?r:Rl(c)===Rl(m);u(e,{replace:v,state:l,preventScrollReset:i,relative:s,viewTransition:a})}},[c,u,m,r,l,n,e,i,s,a])}function qh(e,t){t===void 0&&(t={});let n=k.useContext(Wh);n==null&&X(!1);let{basename:r}=Kh(Eo.useViewTransitionState),l=Zl(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=En(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=En(n.nextLocation.pathname,r)||n.nextLocation.pathname;return No(l.pathname,s)!=null||No(l.pathname,i)!=null}const Gh=[{label:"Product",path:"/product"},{label:"Plans",path:"/plans"},{label:"About",path:"/about"},{label:"Contact",path:"/contact"}],Xh=()=>{const[e,t]=k.useState(!1),n=()=>t(l=>!l),r=()=>t(!1);return o.jsx("header",{className:"nav",children:o.jsxs("div",{className:"container nav-inner",children:[o.jsx(W,{to:"/",className:"brand",onClick:r,"aria-label":"SwiftDocket home",children:o.jsx("img",{src:"/sd-logo.png",alt:"SwiftDocket",className:"brand-logo"})}),o.jsxs("nav",{className:`nav-links ${e?"open":""}`,children:[o.jsx("div",{className:"nav-items",children:Gh.map(l=>o.jsx(Qh,{to:l.path,className:({isActive:i})=>i?"nav-link active":"nav-link",onClick:r,children:l.label},l.path))}),o.jsxs("div",{className:"nav-actions",children:[o.jsx("a",{className:"btn btn-secondary",href:"https://app.swiftdocket.com",children:"Log in"}),o.jsx(W,{to:"/contact#form",className:"btn btn-primary",onClick:r,children:"Book a Demo"})]})]}),o.jsxs("button",{className:"nav-toggle",type:"button",onClick:n,"aria-label":"Toggle menu",children:[o.jsx("span",{className:"nav-toggle-bar"}),o.jsx("span",{className:"nav-toggle-bar"}),o.jsx("span",{className:"nav-toggle-bar"})]})]})})},Jh=()=>{const e=new Date().getFullYear();return o.jsxs("footer",{className:"footer",children:[o.jsxs("div",{className:"container footer-inner",children:[o.jsxs("div",{className:"footer-brand",children:[o.jsx("img",{src:"/sd-logo.png",alt:"SwiftDocket",className:"footer-logo"}),o.jsx("p",{children:"Governed AI workflow automation for document-heavy legal operations, configured to each firm's documents, rules, and approvals."})]}),o.jsxs("div",{className:"footer-links",children:[o.jsxs("div",{children:[o.jsx("h4",{children:"Explore"}),o.jsx(W,{to:"/product",children:"Product"}),o.jsx(W,{to:"/plans",children:"Plans"}),o.jsx(W,{to:"/about",children:"About"}),o.jsx(W,{to:"/contact",children:"Contact"})]}),o.jsxs("div",{children:[o.jsx("h4",{children:"Legal"}),o.jsx(W,{to:"/privacy",children:"Privacy"}),o.jsx(W,{to:"/terms",children:"Terms"})]})]})]}),o.jsx("div",{className:"footer-meta",children:o.jsx("div",{className:"container",children:o.jsxs("p",{children:["© ",e," SwiftDocket. All rights reserved."]})})})]})},Zh=()=>o.jsxs("div",{className:"site",children:[o.jsx(Xh,{}),o.jsx("main",{className:"main",children:o.jsx(Rh,{})}),o.jsx(Jh,{})]}),bh=()=>{const{pathname:e,hash:t}=Dn();return k.useEffect(()=>{if(t){const n=t.replace("#",""),r=document.getElementById(n);if(r){r.scrollIntoView({behavior:"smooth",block:"start"});return}}window.scrollTo({top:0,left:0,behavior:"smooth"})},[e,t]),null},V=({title:e,subtitle:t,eyebrow:n,align:r="left",children:l})=>o.jsxs("div",{className:`section-heading ${r}`,children:[n&&o.jsx("span",{className:"section-eyebrow",children:n}),o.jsx("h2",{children:e}),t&&o.jsx("p",{children:t}),l]}),fn=({title:e,description:t,icon:n})=>o.jsxs("div",{className:"feature-card",children:[n&&o.jsx("div",{className:"feature-icon",children:n}),o.jsx("h3",{children:e}),o.jsx("p",{children:t})]}),_i=(e,t,n)=>{let r=document.head.querySelector(e);return r||(r=document.createElement("meta"),r.setAttribute(t,n),document.head.appendChild(r)),r},_t=({title:e,description:t})=>(k.useEffect(()=>{document.title=e,_i('meta[name="description"]',"name","description").setAttribute("content",t),_i('meta[property="og:title"]',"property","og:title").setAttribute("content",e),_i('meta[property="og:description"]',"property","og:description").setAttribute("content",t)},[e,t]),null),Gt={width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round"},Hn=()=>o.jsx("svg",{...Gt,children:o.jsx("path",{d:"M13 2 4 14h6l-1 8 9-12h-6z"})}),tr=()=>o.jsxs("svg",{...Gt,children:[o.jsx("path",{d:"M12 3 4.5 6v5.4c0 4.5 3 8.2 7.5 9.6 4.5-1.4 7.5-5.1 7.5-9.6V6L12 3z"}),o.jsx("path",{d:"M9 12.5 11.5 15 15.5 9"})]}),Mt=()=>o.jsxs("svg",{...Gt,children:[o.jsx("path",{d:"M7 3h6l4 4v14H7z"}),o.jsx("path",{d:"M13 3v4h4"}),o.jsx("path",{d:"M9 12h6"}),o.jsx("path",{d:"M9 16h6"})]}),sl=()=>o.jsxs("svg",{...Gt,children:[o.jsx("path",{d:"M16.5 19c0-2-2-3.5-4.5-3.5S7.5 17 7.5 19"}),o.jsx("circle",{cx:"12",cy:"8",r:"3"})]}),Ft=()=>o.jsxs("svg",{...Gt,children:[o.jsx("rect",{x:"3",y:"4",width:"7",height:"6",rx:"2"}),o.jsx("rect",{x:"14",y:"14",width:"7",height:"6",rx:"2"}),o.jsx("path",{d:"M10 7h4c2 0 3 1 3 3v4"})]}),Qn=()=>o.jsxs("svg",{...Gt,children:[o.jsx("path",{d:"M12 4v4"}),o.jsx("path",{d:"M12 16v4"}),o.jsx("path",{d:"M4 12h4"}),o.jsx("path",{d:"M16 12h4"}),o.jsx("path",{d:"M7 7l2 2"}),o.jsx("path",{d:"M15 15l2 2"}),o.jsx("path",{d:"M7 17l2-2"}),o.jsx("path",{d:"M15 9l2-2"})]}),Ut=()=>o.jsx("svg",{...Gt,children:o.jsx("path",{d:"M5 12l4 4 10-10"})}),em=()=>{const e=["Upload documents","Extract and validate","Review exceptions","Generate packet","Prepare handoff","Preserve audit trail"],t=["Raw documents","Extracted data","Review screen","Generated packet","Filing prep"],n=["Intake","Extract","Validate","Review","Generate","Handoff"],r=[{value:"6",label:"source files"},{value:"14",label:"extracted fields"},{value:"3",label:"validation checks"},{value:"2",label:"approval gates"}],l=[{title:"Civil Proposed Judgments",description:"Intake -> validation -> document generation -> filing prep for civil judgment workflows.",icon:o.jsx(Ft,{})},{title:"Motion Packages",description:"Assemble motions, exhibits, metadata, approvals, and filing prep in one governed workflow.",icon:o.jsx(Mt,{})},{title:"Eviction / Notice Workflows",description:"Standardize notices, supporting documents, approvals, service requirements, and exceptions.",icon:o.jsx(Ut,{})},{title:"NYSCEF, EDDS, and PACER Preparation",description:"Prepare filing-ready packets, metadata, artifacts, and handoff steps for court systems.",icon:o.jsx(Hn,{})},{title:"Document Generation and Packet Assembly",description:"Generate DOCX, PDF, ZIP, exhibit binders, and court-ready packets from approved data.",icon:o.jsx(Qn,{})},{title:"Firm-Specific Operations Tooling",description:"Build tools around your firm's internal process, users, systems, rules, and edge cases.",icon:o.jsx(sl,{})}],i=[{title:"Your documents and templates",description:"Configured to the files, templates, and inputs your workflow already relies on.",icon:o.jsx(Mt,{})},{title:"Your review and approval process",description:"Mapped to the review queues and approvals your team uses before work moves forward.",icon:o.jsx(Ut,{})},{title:"Your courts, agencies, and portals",description:"Tailored to the filing destinations and downstream systems your matters actually touch.",icon:o.jsx(Ft,{})},{title:"Your naming and packet rules",description:"Built around your packet structure, document ordering, and naming conventions.",icon:o.jsx(Qn,{})},{title:"Your exceptions and edge cases",description:"Configured for missing data, blockers, confidence issues, and non-standard paths.",icon:o.jsx(Hn,{})},{title:"Your users, roles, and permissions",description:"Aligned to your staff responsibilities, approvals, and workflow control points.",icon:o.jsx(sl,{})}],s=[{title:"Intake Agent",description:"Collects source files and organizes them into a workflow-ready record.",icon:o.jsx(Mt,{})},{title:"Extraction Agent",description:"Pulls key fields, dates, amounts, and metadata into structured review.",icon:o.jsx(Qn,{})},{title:"Validation Agent",description:"Checks rules, missing data, and filing requirements before work moves forward.",icon:o.jsx(Ut,{})},{title:"Drafting Agent",description:"Generates documents, packets, and artifacts from approved data and templates.",icon:o.jsx(Ft,{})},{title:"Filing Preparation Agent",description:"Prepares metadata, packet structure, and handoff steps for downstream filing systems.",icon:o.jsx(Hn,{})},{title:"Audit Agent",description:"Captures status, approvals, artifacts, and workflow history across the matter.",icon:o.jsx(tr,{})}],a=[{title:"Firm-isolated workspaces",description:"Separate environments for each firm's workflows, users, and data.",icon:o.jsx(tr,{})},{title:"Role-based access and permissions",description:"Map work, approvals, and visibility to the right staff roles.",icon:o.jsx(sl,{})},{title:"Human approval gates",description:"Nothing is finalized or handed off without review.",icon:o.jsx(Ut,{})},{title:"Confidence-aware extraction",description:"Surface uncertainty so staff can review exceptions before output.",icon:o.jsx(Qn,{})},{title:"Audit trails for workflow actions",description:"Track decisions, timestamps, and generated artifacts across the workflow.",icon:o.jsx(Ft,{})},{title:"Secure upload and download handling",description:"Control source files, generated packets, and downloads in one environment.",icon:o.jsx(Mt,{})},{title:"Filing handoff only after review",description:"Automation stays review-first where submission is involved.",icon:o.jsx(Hn,{})}];return o.jsxs("div",{children:[o.jsx(_t,{title:"SwiftDocket | Governed AI Workflow Automation for Law Firms",description:"SwiftDocket helps law firms automate document-heavy legal workflows with AI-assisted extraction, validation, document generation, filing preparation, human approval gates, and audit trails."}),o.jsx("section",{className:"hero",children:o.jsxs("div",{className:"container hero-grid",children:[o.jsxs("div",{className:"hero-copy",children:[o.jsx("h1",{children:"Automate legal document workflows - from intake to court-ready filings."}),o.jsx("p",{children:"SwiftDocket maps your firm's documents, rules, and approvals into controlled workflows that extract data, validate requirements, and generate filing-ready packages - with human review at every step."}),o.jsxs("div",{className:"hero-actions",children:[o.jsx(W,{to:"/contact#form",className:"btn btn-primary",children:"Book a Demo"}),o.jsx(W,{to:"/product",className:"btn btn-secondary",children:"See Product"})]}),o.jsx("p",{className:"hero-note",children:"Custom workflows. Human approval gates. Full audit trails."})]}),o.jsx("div",{className:"hero-divider","aria-hidden":"true"}),o.jsxs("div",{className:"hero-panel",children:[o.jsxs("div",{className:"hero-card workflow-cockpit",children:[o.jsxs("div",{className:"workflow-cockpit-header",children:[o.jsxs("div",{children:[o.jsx("span",{className:"callout-tag",children:"Case Workflow"}),o.jsx("h3",{children:"Civil Proposed Judgment"})]}),o.jsx("span",{className:"workflow-status-pill",children:"Review in progress"})]}),o.jsx("div",{className:"workflow-cockpit-path","aria-label":"Workflow progress",children:n.map((u,c)=>o.jsxs("div",{className:"workflow-cockpit-step",children:[o.jsx("span",{children:c+1}),o.jsx("strong",{children:u})]},u))}),o.jsx("div",{className:"workflow-cockpit-metrics",children:r.map(u=>o.jsxs("div",{className:"workflow-metric-card",children:[o.jsx("strong",{children:u.value}),o.jsx("span",{children:u.label})]},u.label))}),o.jsxs("div",{className:"workflow-cockpit-pills",children:[o.jsx("span",{children:"Firm-specific rules"}),o.jsx("span",{children:"Approval required"}),o.jsx("span",{children:"Audit trail preserved"})]})]}),o.jsx("div",{className:"hero-glow"})]})]})}),o.jsx("section",{className:"section section-power",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{eyebrow:"End-to-End Workflow",title:"From raw documents to a filing-ready packet - in one workflow.",subtitle:"SwiftDocket removes re-entry, reduces errors, and keeps your team focused on review instead of busywork.",align:"center"}),o.jsx("div",{className:"workflow-strip","aria-label":"End-to-end workflow",children:t.map((u,c)=>o.jsxs("div",{className:"workflow-strip-item",children:[o.jsx("span",{children:u}),c"}):null]},u))})]})}),o.jsx("section",{className:"section",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{eyebrow:"Use Cases",title:"Workflows your team is already doing - automated.",subtitle:"Configured around the document-heavy processes law firms repeat every week.",align:"center"}),o.jsx("div",{className:"grid cards-3",children:l.map(u=>o.jsx(fn,{...u},u.title))})]})}),o.jsx("section",{className:"section section-alt",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{eyebrow:"Governed AI",title:"Not a tool. Your workflow, systemized.",subtitle:"Not a generic chatbot. Not off-the-shelf filing software. SwiftDocket turns your actual legal process into a configured, review-first workflow."}),o.jsxs("div",{className:"category-layout",children:[o.jsx("div",{className:"feature-card category-copy-card",children:o.jsx("p",{children:"Every workflow is built around your firm's documents, templates, rules, approvals, and filing requirements."})}),o.jsx("div",{className:"feature-card category-copy-card",children:o.jsx("p",{children:"Work moves from intake to output through structured steps - with validation, review, and audit trails built in."})})]})]})}),o.jsx("section",{className:"section",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{eyebrow:"Customization",title:"Custom workflows, not generic automation.",subtitle:"No two firms run the same process. SwiftDocket is configured to yours.",align:"center"}),o.jsx("div",{className:"grid cards-3",children:i.map(u=>o.jsx(fn,{...u},u.title))}),o.jsx("p",{className:"section-emphasis-line",children:"We do not force your process into software - we build the software around your process."})]})}),o.jsx("section",{className:"section section-alt",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{eyebrow:"Workflow Agents",title:"AI agents that handle the busywork - your team stays in control.",subtitle:"Agents assist with intake, extraction, validation, drafting, filing preparation, and audit capture while attorneys and staff review and approve outputs.",align:"center"}),o.jsx("div",{className:"grid cards-3",children:s.map(u=>o.jsx(fn,{...u},u.title))})]})}),o.jsx("section",{className:"section",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{eyebrow:"Workflow Path",title:"How SwiftDocket works",subtitle:"A controlled path from intake to filing prep.",align:"center"}),o.jsx("div",{className:"workflow-stepper","aria-label":"How SwiftDocket works",children:e.map((u,c)=>o.jsxs("div",{className:"workflow-stepper-item",children:[o.jsx("span",{children:c+1}),o.jsx("p",{children:u})]},u))})]})}),o.jsx("section",{className:"section section-alt",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{eyebrow:"Before and After",title:"Less re-entry. Fewer errors. More control.",subtitle:"Move repeat work into a governed workflow while your team keeps final review.",align:"center"}),o.jsxs("div",{className:"grid cards-2 roi-grid",children:[o.jsxs("div",{className:"feature-card roi-card",children:[o.jsx("h3",{children:"Before"}),o.jsxs("ul",{className:"roi-list",children:[o.jsx("li",{children:"Re-entering the same data"}),o.jsx("li",{children:"Checking PDFs and spreadsheets manually"}),o.jsx("li",{children:"Chasing missing fields and approvals"}),o.jsx("li",{children:"Rebuilding packets from scratch"}),o.jsx("li",{children:"Limited visibility into status"})]})]}),o.jsxs("div",{className:"feature-card roi-card",children:[o.jsx("h3",{children:"After"}),o.jsxs("ul",{className:"roi-list",children:[o.jsx("li",{children:"Pre-filled review screens"}),o.jsx("li",{children:"Validation before generation"}),o.jsx("li",{children:"Approval gates before handoff"}),o.jsx("li",{children:"Filing-ready packets"}),o.jsx("li",{children:"Full audit trail"})]})]})]})]})}),o.jsx("section",{className:"section",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{eyebrow:"Control",title:"Designed for control, not blind automation",subtitle:"Governance is part of the workflow, not layered on after the fact.",align:"center"}),o.jsx("div",{className:"grid cards-3",children:a.map(u=>o.jsx(fn,{...u},u.title))})]})}),o.jsx("section",{className:"section cta cta-home",children:o.jsxs("div",{className:"container cta-card",children:[o.jsxs("div",{children:[o.jsx("h2",{children:"See SwiftDocket configured to your firm's workflow"}),o.jsx("p",{children:"We map the documents, rules, approvals, systems, and exception paths first, then show how the workflow runs inside the platform."})]}),o.jsxs("div",{className:"cta-actions",children:[o.jsx(W,{to:"/contact#form",className:"btn btn-primary",children:"Book a Demo"}),o.jsx(W,{to:"/plans",className:"btn btn-secondary",children:"View Plans"})]})]})})]})},Kr=({title:e,description:t,bullets:n,icon:r,reverse:l})=>o.jsxs("div",{className:`feature-section ${l?"reverse":""}`,children:[o.jsxs("div",{className:"feature-copy",children:[o.jsx("h3",{children:e}),o.jsx("p",{children:t}),o.jsx("ul",{children:n.map(i=>o.jsx("li",{children:i},i))})]}),o.jsx("div",{className:"feature-panel",children:o.jsxs("div",{className:"feature-panel-inner",children:[r,o.jsxs("div",{children:[o.jsx("h4",{children:e}),o.jsx("p",{children:t})]})]})})]}),tm=()=>{const e=[{title:"Intake",description:"Agents help collect source documents, templates, spreadsheets, and structured data into a workflow-ready record.",icon:o.jsx(Mt,{})},{title:"Extraction",description:"Agents extract key fields, parties, dates, amounts, exhibits, and filing metadata with confidence-aware outputs.",icon:o.jsx(Qn,{})},{title:"Validation",description:"Agents check workflow rules, court or agency requirements, missing fields, and exception conditions before the work moves forward.",icon:o.jsx(Ut,{})},{title:"Drafting",description:"Agents assist with document generation, packet assembly, working files, PDFs, ZIP packages, and filing-ready artifacts.",icon:o.jsx(Ft,{})},{title:"Filing preparation",description:"Agents prepare handoffs for downstream systems such as NYSCEF, EDDS, PACER, document-management tools, or internal filing processes where scoped.",icon:o.jsx(Hn,{})},{title:"Audit capture",description:"Agents help preserve status, approvals, timestamps, artifacts, and workflow history across each matter.",icon:o.jsx(tr,{})}],t=[{title:"Mapped to your documents, rules, and approvals",description:"Each workflow is configured to your firm's templates, review steps, naming rules, packet logic, and exception paths."},{title:"Built around how your team already works",description:"SwiftDocket adapts to your current operating process instead of forcing a one-size-fits-all workflow."},{title:"Review-first by default",description:"AI-assisted agents support repeatable workflow steps, while attorneys and staff review and approve outputs before finalization or filing."},{title:"Firm-specific workflow agents",description:"Agents are scoped to the workflows you actually run, not generic chat experiences disconnected from legal operations."}],n=[{title:"Court and agency handoffs",items:["NYSCEF where filing preparation or automation is scoped","EDDS workflows where relevant","PACER-related preparation and handoff paths where appropriate"]},{title:"Document and knowledge systems",items:["iManage where API access is available","NetDocuments where API access is available","SharePoint and internal repositories where permitted"]},{title:"Firm-specific destinations",items:["Internal portals and operational tools","Custom packet delivery workflows","Scoped integrations aligned to firm permissions and security review"]}],r=[{title:"Operations leaders",description:"Standardize repeatable work, improve visibility, and govern how automation is applied across the firm."},{title:"Paralegals and litigation staff",description:"Work through tailored review queues instead of rebuilding packets, re-entering data, or chasing missing information."},{title:"Firms with complex exception paths",description:"Scope workflows around your actual approvals, downstream systems, and non-standard document or filing requirements."}];return o.jsxs("div",{children:[o.jsx(_t,{title:"Product | SwiftDocket",description:"Explore SwiftDocket's governed legal workflow platform for intake, extraction, validation, review, document generation, packet assembly, and filing handoffs."}),o.jsx("section",{className:"hero hero-slim",children:o.jsxs("div",{className:"container hero-grid",children:[o.jsxs("div",{className:"hero-copy",children:[o.jsx("h1",{children:"A governed AI workflow platform for document-heavy legal teams."}),o.jsx("p",{children:"SwiftDocket helps firms turn repeat legal processes into review-first workflows powered by AI-assisted agents, validation rules, document generation, packet assembly, and filing handoffs."}),o.jsxs("div",{className:"hero-actions",children:[o.jsx(W,{to:"/contact#form",className:"btn btn-primary",children:"Book a Demo"}),o.jsx(W,{to:"/plans",className:"btn btn-secondary",children:"View Plans"})]})]}),o.jsx("div",{className:"hero-divider","aria-hidden":"true"}),o.jsxs("div",{className:"hero-panel",children:[o.jsxs("div",{className:"hero-card",children:[o.jsx("h3",{children:"Configured to your firm's workflow"}),o.jsxs("ul",{children:[o.jsxs("li",{children:[o.jsx(Ft,{}),o.jsx("span",{children:"Mapped to your documents, templates, rules, approvals, and exception paths"})]}),o.jsxs("li",{children:[o.jsx(Ut,{}),o.jsx("span",{children:"Review queues and approval gates before anything is finalized or submitted"})]}),o.jsxs("li",{children:[o.jsx(Mt,{}),o.jsx("span",{children:"Document generation, packet assembly, and filing-ready artifact handling"})]}),o.jsxs("li",{children:[o.jsx(tr,{}),o.jsx("span",{children:"Audit trails, permissions, and governed workflow visibility"})]})]})]}),o.jsx("div",{className:"hero-glow"})]})]})}),o.jsx("section",{className:"section demo-section",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{title:"SwiftDocket at a glance",subtitle:"A quick walkthrough of a governed legal workflow in the product.",align:"center"}),o.jsx("div",{className:"demo-video",children:o.jsxs("video",{controls:!0,playsInline:!0,preload:"metadata",children:[o.jsx("source",{src:"/swiftdocket-demo.mp4",type:"video/mp4"}),o.jsx("p",{children:"Your browser does not support the video tag."})]})})]})}),o.jsx("section",{className:"section section-alt",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{title:"Agents assist with repeatable workflow steps",subtitle:"They do not replace legal judgment. They help your team move structured work through governed workflow stages.",align:"center"}),o.jsx("div",{className:"callout-card product-agents-callout",children:o.jsxs("div",{children:[o.jsx("span",{className:"callout-tag",children:"Review-first"}),o.jsx("h3",{children:"Agents do not replace legal judgment."}),o.jsx("p",{children:"They assist with repeatable workflow steps - intake, extraction, validation, drafting, packaging, filing preparation, and audit capture - while attorneys and staff review and approve outputs."})]})}),o.jsx("div",{className:"grid cards-3 agent-grid",children:e.map(l=>o.jsx(fn,{...l},l.title))})]})}),o.jsx("section",{className:"section",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{title:"Custom workflows, not generic automation",subtitle:"SwiftDocket is tailored to how your team actually operates.",align:"center"}),o.jsx("div",{className:"grid cards-2",children:t.map(l=>o.jsxs("div",{className:"feature-card",children:[o.jsx("h3",{children:l.title}),o.jsx("p",{children:l.description})]},l.title))})]})}),o.jsx("section",{className:"section section-alt",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{title:"What the platform supports",subtitle:"One governed system for intake, review, document generation, packet assembly, and filing handoff."}),o.jsxs("div",{className:"feature-stack",children:[o.jsx(Kr,{title:"Workflow intake and matter setup",description:"Capture source documents, templates, spreadsheets, and structured inputs in one firm-specific workflow record.",bullets:["Tailored intake for PDFs, DOCX files, spreadsheets, and structured inputs","Matter-ready records organized around your workflow","Built around your naming conventions and source materials"],icon:o.jsx(Mt,{})}),o.jsx(Kr,{title:"Extraction, validation, and exception review",description:"AI-assisted agents and workflow rules help surface key fields, validation blockers, and review items before outputs move forward.",bullets:["Confidence-aware extraction","Validation against firm rules, workflow requirements, and filing needs","Exception review queues for staff and attorney approval"],icon:o.jsx(Ut,{}),reverse:!0}),o.jsx(Kr,{title:"Document generation and packet assembly",description:"Generate review-ready and filing-ready outputs from approved data and firm templates.",bullets:["DOCX, PDF, ZIP, and packet generation","Template-driven drafting mapped to approved workflow data","Packet assembly configured to your output and naming rules"],icon:o.jsx(Ft,{})}),o.jsx(Kr,{title:"Filing handoffs and audit capture",description:"Hand off reviewed work to court or agency systems where the workflow calls for it, with auditability preserved throughout.",bullets:["Review-first filing preparation","Downstream handoff for systems such as NYSCEF, EDDS, and PACER where scoped","Status, approvals, timestamps, and generated artifacts captured across the workflow"],icon:o.jsx(tr,{}),reverse:!0})]})]})}),o.jsx("section",{className:"section",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{title:"Integrations and downstream systems",subtitle:"Connections are scoped per client and configured around your permissions, APIs, and workflow requirements."}),o.jsx("div",{className:"grid cards-3",children:n.map(l=>o.jsxs("div",{className:"feature-card",children:[o.jsx("h3",{children:l.title}),o.jsx("ul",{className:"plan-list",children:l.items.map(i=>o.jsx("li",{children:i},i))})]},l.title))}),o.jsx("p",{className:"plan-note integration-note",children:"Integration availability depends on your firm's APIs, permissions, environment, and security review."})]})}),o.jsx("section",{className:"section section-alt",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{title:"Built for legal operations teams",subtitle:"Serious workflow software for firms that manage repeatable, document-heavy work.",align:"center"}),o.jsx("div",{className:"grid cards-3",children:r.map(l=>o.jsx(fn,{...l,icon:o.jsx(sl,{})},l.title))})]})}),o.jsx("section",{className:"section cta",children:o.jsxs("div",{className:"container cta-card",children:[o.jsxs("div",{children:[o.jsx("h2",{children:"See the product mapped to your workflow"}),o.jsx("p",{children:"We scope the documents, rules, approvals, systems, and exception paths first, then show how the workflow runs inside SwiftDocket."})]}),o.jsxs("div",{className:"cta-actions",children:[o.jsx(W,{to:"/contact#form",className:"btn btn-primary",children:"Book a Demo"}),o.jsx(W,{to:"/contact",className:"btn btn-secondary",children:"Contact Us"})]})]})})]})},nm=()=>{const[e,t]=k.useState(!1),n=[{title:"Platform access",detail:"Start with a firm-isolated platform workspace for governed, review-first legal workflow execution."},{title:"Workflow builds",detail:"Add firm-specific workflow agents, validation rules, review queues, and packet logic mapped to your process."},{title:"Support and growth",detail:"Expand workflows, support coverage, and custom automations as your firm's legal-operations needs evolve."}],r=["Firm-isolated workspace","AI-assisted workflow orchestration","Role-based access and permissions","Workflow, queue, and document management","Review queues and approval gates","Audit trails and workflow status history","Secure uploads and downloads","Generated document and artifact handling","Filing handoff support where scoped","Unlimited firm users (subject to reasonable use)","Hosting, monitoring, and infrastructure","Support request intake"],l=["Each workflow is configured to your firm's documents, templates, rules, approvals, and exception paths","Includes firm-specific workflow agents for intake, extraction, validation, drafting, packaging, and filing preparation where appropriate","Built with review-first checkpoints, approval gates, and auditability","Designed to evolve as court requirements, internal rules, or output needs change"],i=["Custom intake, extraction, and review workflows","Document generation, packet assembly, and artifact management","Filing preparation and portal handoff workflows","Structured data reuse across firm processes","Internal legal-operations tooling scoped to your team"],s=["Workflow tuning and rule updates","Template, packet, and exception-path adjustments","Priority issue handling and maintenance"],a=["Firm size and overall usage patterns","Number of configured workflows and their complexity","Document volumes, packet requirements, and filing handoff scope","Integrations, systems, and approval requirements","Onboarding, support, and ongoing change requirements"],u=[{question:"Do you charge per user?",answer:"No. Pricing is firm-based and includes unlimited users for the firm, subject to reasonable use."},{question:"Can we start small and add workflows later?",answer:"Yes. Most firms start with platform access plus one scoped workflow and expand over time."},{question:"Is SwiftDocket a generic legal tool?",answer:"No. SwiftDocket is configured per client. We map your process, encode your validation and approval rules, and build workflows tailored to your documents, courts, agencies, portals, and internal operations."},{question:"What does onboarding look like?",answer:"We map the workflow, identify the documents and systems involved, configure roles and approvals, and scope the initial build."},{question:"How are AI-assisted agents governed?",answer:"AI-assisted workflow agents are configured as part of scoped workflow builds and governed by firm-specific rules, permissions, and approval gates."},{question:"Can you build and host custom solutions for our firm?",answer:"Yes. SwiftDocket is designed to support firm-specific legal-operations automations and hosted workflow systems."},{question:"Is there a minimum term?",answer:"Terms depend on scope and support level and are discussed during scoping."}];return o.jsxs("div",{children:[o.jsx(_t,{title:"Plans | SwiftDocket",description:"Pricing for firm-based platform access, workflow builds, custom legal-operations automations, and support."}),o.jsxs("section",{className:"hero hero-slim",children:[o.jsxs("div",{className:"container hero-grid",children:[o.jsxs("div",{className:"hero-copy",children:[o.jsx("h1",{children:"Firm-based pricing for governed legal workflow automation"}),o.jsx("p",{children:"SwiftDocket pricing is based on platform access, scoped workflow builds, custom legal-operations automations, and ongoing support. The platform is configured to your firm's workflows, not sold as one-size-fits-all software."}),o.jsxs("div",{className:"hero-actions",children:[o.jsx(W,{to:"/contact#form",className:"btn btn-primary",children:"Book a Demo"}),o.jsx(W,{to:"/product",className:"btn btn-secondary",children:"See Product"})]})]}),o.jsx("div",{className:"hero-divider","aria-hidden":"true"}),o.jsxs("div",{className:"hero-panel",children:[o.jsxs("div",{className:"hero-card",children:[o.jsx("h3",{children:"How pricing works"}),o.jsx("ul",{children:n.map(c=>o.jsx("li",{children:o.jsxs("div",{children:[o.jsx("strong",{children:c.title}),o.jsx("p",{children:c.detail})]})},c.title))})]}),o.jsx("div",{className:"hero-glow"})]})]}),o.jsxs("nav",{className:"container pricing-anchor-nav","aria-label":"Pricing sections",children:[o.jsx("a",{href:"#platform-access",children:"Platform Access"}),o.jsx("a",{href:"#workflow-builds",children:"Workflow Builds"}),o.jsx("a",{href:"#custom-automations",children:"Custom Automations"}),o.jsx("a",{href:"#support",children:"Support"}),o.jsx("a",{href:"#pricing-faq",children:"FAQ"})]})]}),o.jsx("section",{id:"platform-access",className:"section",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{title:"Platform Access",subtitle:"A firm-ready foundation for governed, review-first legal workflow execution."}),o.jsxs("div",{className:"plan-grid",children:[o.jsxs("div",{className:"feature-card plan-primary",children:[o.jsx("span",{className:"plan-tag",children:"Required"}),o.jsx("h3",{children:"Platform Access"}),o.jsxs("div",{className:"plan-anchor",children:[o.jsx("span",{children:"Starting at $1,250 per firm / month"}),o.jsx("small",{className:"plan-note plan-note-muted",children:"Most firms fall within this range."}),o.jsx("small",{className:"plan-note",children:"Platform access powers firm-isolated workspaces, AI-assisted workflows, document management, review queues, audit trails, and filing handoffs where scoped."})]})]}),o.jsxs("div",{className:"plan-includes",children:[o.jsx("h3",{children:"Includes"}),o.jsx("ul",{id:"platform-includes",className:`pricing-included plan-includes-list ${e?"expanded":"collapsed"}`,children:r.map(c=>o.jsx("li",{children:c},c))}),o.jsx("button",{type:"button",className:"includes-toggle",onClick:()=>t(c=>!c),"aria-expanded":e,"aria-controls":"platform-includes",children:e?"Show less":"Show all"})]})]}),o.jsxs("div",{className:"feature-card plan-governance-note",children:[o.jsx("h3",{children:"Agent governance"}),o.jsx("p",{children:"AI-assisted workflow agents are configured as part of scoped workflow builds and governed by firm-specific rules, permissions, and approval gates."})]})]})}),o.jsx("section",{id:"workflow-builds",className:"section section-alt",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{title:"Workflow Builds",subtitle:"We design and implement custom workflows mapped to your firm's documents, rules, approvals, outputs, and filing destinations."}),o.jsxs("div",{className:"feature-card",children:[o.jsx("p",{className:"plan-price",children:"One-time build fee, scoped per workflow"}),o.jsx("p",{className:"plan-subtle",children:"Typical workflow builds are completed in weeks, not months."}),o.jsx("ul",{className:"plan-list",children:l.map(c=>o.jsx("li",{children:c},c))})]})]})}),o.jsx("section",{id:"custom-automations",className:"section",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{title:"Custom Legal-Operations Automations (Built + Hosted)",subtitle:"We scope, build, and host firm-specific workflow systems on SwiftDocket for repeatable legal-operations work."}),o.jsx("p",{className:"plan-subtle plan-subtle-inline",children:"Built on the same secure platform used for intake, validation, review, generation, packet assembly, and filing handoff."}),o.jsxs("div",{className:"feature-card",children:[o.jsx("p",{className:"plan-price",children:"One-time build fee, scoped per solution"}),o.jsx("p",{children:"Examples include:"}),o.jsx("ul",{className:"plan-list",children:i.map(c=>o.jsx("li",{children:c},c))})]})]})}),o.jsx("section",{id:"support",className:"section section-alt",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{title:"Support and Maintenance",subtitle:"Optional support plans for training, enhancements, rule updates, and priority assistance."}),o.jsxs("div",{className:"feature-card",children:[o.jsx("p",{className:"plan-price",children:"Optional monthly plans, scoped based on support level"}),o.jsx("p",{children:"Examples include:"}),o.jsx("ul",{className:"plan-list",children:s.map(c=>o.jsx("li",{children:c},c))})]})]})}),o.jsx("section",{className:"section",children:o.jsxs("div",{className:"container pricing-factors",children:[o.jsx(V,{title:"What affects pricing",subtitle:"We scope around the workflow your firm actually runs."}),o.jsx("ul",{children:a.map(c=>o.jsx("li",{children:c},c))})]})}),o.jsx("section",{id:"pricing-faq",className:"section section-alt",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{title:"Pricing questions",subtitle:"Quick answers before you request a quote.",align:"center"}),o.jsx("div",{className:"faq-grid",children:u.map((c,m)=>o.jsxs("details",{className:"faq-item",open:m===0,children:[o.jsx("summary",{children:c.question}),o.jsx("p",{children:c.answer})]},c.question))})]})}),o.jsx("section",{className:"section cta",children:o.jsxs("div",{className:"container cta-card",children:[o.jsxs("div",{children:[o.jsx("h2",{children:"Let's scope the workflow your firm actually runs"}),o.jsx("p",{children:"We map the documents, rules, approvals, systems, and exception paths first, then provide a scoped platform and build proposal."})]}),o.jsxs("div",{className:"cta-actions cta-actions-vertical",children:[o.jsx("p",{className:"cta-trust",children:"Firm-isolated workspaces | Approval gates | Audit trails"}),o.jsx(W,{to:"/contact#form",className:"btn btn-primary",children:"Book a Demo"}),o.jsx(W,{to:"/contact",className:"btn btn-secondary",children:"Contact Us"})]})]})})]})},rm=()=>{const e=[{title:"Custom workflows, not generic automation",description:"SwiftDocket is configured to each firm's documents, rules, approvals, systems, and exception paths."},{title:"Review-first by default",description:"AI-assisted agents support repeatable workflow steps, while attorneys and staff approve outputs before finalization or filing."},{title:"Governance built in",description:"Approval gates, audit trails, confidence-aware extraction, and permissions are part of the workflow itself."},{title:"Built around legal operations",description:"We focus on intake, extraction, validation, drafting, packaging, filing handoff, and audit capture for document-heavy teams."}];return o.jsxs("div",{children:[o.jsx(_t,{title:"About | SwiftDocket",description:"Learn how SwiftDocket approaches governed, firm-specific legal workflow automation for document-heavy legal operations."}),o.jsx("section",{className:"hero hero-slim",children:o.jsxs("div",{className:"container hero-grid",children:[o.jsxs("div",{className:"hero-copy",children:[o.jsx("h1",{children:"Governed workflow software for document-heavy legal operations."}),o.jsx("p",{children:"SwiftDocket was built to help law firms turn repeatable legal processes into review-first workflows with AI-assisted agents, validation rules, document generation, packet assembly, filing handoffs, and full auditability. The platform is configured around each firm's actual operating process."}),o.jsxs("div",{className:"hero-actions",children:[o.jsx(W,{to:"/contact#form",className:"btn btn-primary",children:"Book a Demo"}),o.jsx(W,{to:"/product",className:"btn btn-secondary",children:"See Product"})]})]}),o.jsx("div",{className:"hero-divider","aria-hidden":"true"}),o.jsxs("div",{className:"hero-panel",children:[o.jsxs("div",{className:"hero-card",children:[o.jsx("h3",{children:"Focus areas"}),o.jsxs("ul",{children:[o.jsx("li",{children:"Firm-specific workflow agents"}),o.jsx("li",{children:"Human review and approval gates"}),o.jsx("li",{children:"Document generation, packaging, and filing handoff"}),o.jsx("li",{children:"Firm-isolated access, permissions, and audit trails"})]})]}),o.jsx("div",{className:"hero-glow"})]})]})}),o.jsx("section",{className:"section",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{title:"Built around how legal teams actually operate",subtitle:"SwiftDocket is not a one-size-fits-all legal tool. Each workflow is scoped, mapped, and configured to the firm's actual documents, approvals, systems, and exception paths."}),o.jsxs("div",{className:"split",children:[o.jsxs("div",{children:[o.jsx("h3",{children:"Why we exist"}),o.jsx("p",{children:"Legal operations teams lose time to re-entry, manual packet building, document validation, and status chasing across systems and people. SwiftDocket exists to reduce that friction while keeping human review, firm control, and auditability in place."})]}),o.jsxs("div",{children:[o.jsx("h3",{children:"What we build"}),o.jsx("p",{children:"We build governed, firm-specific workflows for intake, extraction, validation, drafting, packaging, filing preparation, and downstream handoff. The platform is tailored to how each firm's team already works, not forced into a generic process."})]})]})]})}),o.jsx("section",{className:"section section-alt",children:o.jsxs("div",{className:"container",children:[o.jsx(V,{title:"What guides the platform",subtitle:"The operating principles behind SwiftDocket.",align:"center"}),o.jsx("div",{className:"grid cards-2",children:e.map(t=>o.jsxs("div",{className:"feature-card",children:[o.jsx("h3",{children:t.title}),o.jsx("p",{children:t.description})]},t.title))})]})}),o.jsx("section",{className:"section cta",children:o.jsxs("div",{className:"container cta-card",children:[o.jsxs("div",{children:[o.jsx("h2",{children:"See SwiftDocket mapped to your firm's process"}),o.jsx("p",{children:"We scope the documents, rules, approvals, systems, and exception paths first, then show how the workflow runs inside the platform."})]}),o.jsxs("div",{className:"cta-actions",children:[o.jsx(W,{to:"/contact#form",className:"btn btn-primary",children:"Book a Demo"}),o.jsx(W,{to:"/contact",className:"btn btn-secondary",children:"Contact Us"})]})]})})]})},Ua={name:"",firm:"",email:"",phone:"",role:"",message:""},lm=()=>{const[e,t]=k.useState(Ua),[n,r]=k.useState(!1),[l,i]=k.useState(null),[s,a]=k.useState(!1),u="https://api.staging.swiftdocket.com/contact/requests",c=["The workflow you want to automate","Source documents or templates involved","Systems involved, such as NYSCEF, EDDS, PACER, iManage, NetDocuments, SharePoint, or internal portals","Who reviews and approves outputs","What the final packet or filing handoff should look like"],m=["We map the workflow","We identify documents, rules, approvals, and systems","We scope the build","We configure a review-first workflow in SwiftDocket"],h=y=>{const{name:w,value:x}=y.target;t(C=>({...C,[w]:x}))},v=async y=>{y.preventDefault(),a(!0),i(null),r(!1);try{const w=await fetch(u,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e,context:{pageUrl:window.location.href,userAgent:window.navigator.userAgent}})});if(!w.ok){const x=await w.json().catch(()=>({}));throw new Error((x==null?void 0:x.error)||"Unable to submit your request right now.")}r(!0),t(Ua)}catch(w){const x=w instanceof Error?w.message:"Unable to submit your request right now.";i(x)}finally{a(!1)}};return o.jsxs("div",{children:[o.jsx(_t,{title:"Contact | SwiftDocket",description:"Book a demo or request access to map your legal workflow and scope a SwiftDocket automation build."}),o.jsx("section",{className:"hero hero-slim",children:o.jsxs("div",{className:"container hero-grid",children:[o.jsxs("div",{className:"hero-copy",children:[o.jsx("h1",{children:"Map the workflow your firm wants to run in SwiftDocket."}),o.jsx("p",{children:"SwiftDocket is configured to your firm's workflow. Tell us about the documents, rules, review steps, systems, filing destinations, and exception paths involved, and we will scope the right review-first build."}),o.jsxs("div",{className:"hero-actions",children:[o.jsx("a",{href:"#form",className:"btn btn-primary",children:"Book a Demo"}),o.jsx(W,{to:"/product",className:"btn btn-secondary",children:"See Product"})]})]}),o.jsx("div",{className:"hero-divider","aria-hidden":"true"}),o.jsxs("div",{className:"hero-panel",children:[o.jsxs("div",{className:"hero-card",children:[o.jsx("h3",{children:"What we scope"}),o.jsxs("ul",{children:[o.jsx("li",{children:"Configured to your firm's workflow"}),o.jsx("li",{children:"Mapped to your documents, rules, and approvals"}),o.jsx("li",{children:"Tailored intake, validation, generation, and filing handoff"}),o.jsx("li",{children:"Built around how your team already works"})]}),o.jsxs("div",{className:"hero-highlight",children:[o.jsx("strong",{children:"Prefer email?"}),o.jsx("p",{children:"Send us a note at support@swiftdocket.com."})]})]}),o.jsx("div",{className:"hero-glow"})]})]})}),o.jsx("section",{className:"section",children:o.jsxs("div",{className:"container contact-layout",children:[o.jsxs("div",{className:"contact-side",children:[o.jsx(V,{title:"Request access or a demo",subtitle:"Tell us about the workflow and we will respond with the right next step."}),o.jsxs("div",{className:"helper-stack",children:[o.jsxs("div",{className:"feature-card helper-card",children:[o.jsx("h3",{children:"What to include"}),o.jsx("ul",{className:"helper-list",children:c.map(y=>o.jsx("li",{children:y},y))})]}),o.jsxs("div",{className:"feature-card helper-card",children:[o.jsx("h3",{children:"What happens next"}),o.jsx("ol",{className:"helper-number-list",children:m.map(y=>o.jsx("li",{children:y},y))})]})]})]}),o.jsxs("div",{className:"contact-card",id:"form",children:[n&&o.jsx("div",{className:"alert success",children:"Thanks for reaching out. Our team will follow up shortly."}),l&&o.jsx("div",{className:"alert error",children:l}),o.jsxs("form",{className:"contact-form",onSubmit:v,children:[o.jsxs("div",{className:"form-row",children:[o.jsxs("label",{children:["Name",o.jsx("input",{type:"text",name:"name",value:e.name,onChange:h,placeholder:"Jane Doe",required:!0})]}),o.jsxs("label",{children:["Firm",o.jsx("input",{type:"text",name:"firm",value:e.firm,onChange:h,placeholder:"Acme Law",required:!0})]})]}),o.jsxs("div",{className:"form-row",children:[o.jsxs("label",{children:["Email",o.jsx("input",{type:"email",name:"email",value:e.email,onChange:h,placeholder:"name@firm.com",required:!0})]}),o.jsxs("label",{children:["Phone (optional)",o.jsx("input",{type:"tel",name:"phone",value:e.phone,onChange:h,placeholder:"(555) 123-4567"})]})]}),o.jsxs("label",{children:["Role (optional)",o.jsxs("select",{name:"role",value:e.role,onChange:h,children:[o.jsx("option",{value:"",children:"Select a role"}),o.jsx("option",{value:"Partner",children:"Partner"}),o.jsx("option",{value:"COO",children:"COO"}),o.jsx("option",{value:"Paralegal",children:"Paralegal"}),o.jsx("option",{value:"Litigation Staff",children:"Litigation Staff"}),o.jsx("option",{value:"Operations",children:"Operations"}),o.jsx("option",{value:"Other",children:"Other"})]})]}),o.jsxs("label",{children:["Message",o.jsx("textarea",{name:"message",value:e.message,onChange:h,placeholder:"Tell us about the workflow, source documents, templates, systems, review steps, approval gates, and filing handoff you want configured.",rows:5,required:!0})]}),o.jsx("button",{type:"submit",className:"btn btn-primary",disabled:s,children:s?"Submitting...":"Submit Request"})]})]})]})})]})},im=()=>o.jsxs("div",{children:[o.jsx(_t,{title:"Privacy | SwiftDocket",description:"Privacy information for SwiftDocket's governed legal workflow platform."}),o.jsx("section",{className:"hero hero-slim",children:o.jsx("div",{className:"container",children:o.jsx(V,{title:"Privacy Policy",subtitle:"Effective date: February 14, 2025"})})}),o.jsx("section",{className:"section legal",children:o.jsxs("div",{className:"container legal-content",children:[o.jsx("h3",{children:"1. Introduction"}),o.jsx("p",{children:'This Privacy Policy explains how SwiftDocket LLC ("SwiftDocket," "we," "us") collects, uses, and shares information when firms and authorized users access the SwiftDocket platform and related services (the "Services"). This policy applies to firm accounts and their users.'}),o.jsx("h3",{children:"2. Information We Collect"}),o.jsx("p",{children:"We collect information to operate and support the Services, including:"}),o.jsxs("ul",{children:[o.jsx("li",{children:"Account and contact information (such as names, email addresses, firm details)."}),o.jsx("li",{children:"Usage, audit, and log data (such as activity records, access logs, and system events)."}),o.jsx("li",{children:"Documents, filings, and related materials uploaded or generated through the Services."}),o.jsx("li",{children:"Information from connected systems when integrations are enabled at Customer's direction."}),o.jsx("li",{children:"Support communications and service requests."})]}),o.jsx("h3",{children:"3. How We Use Information"}),o.jsx("p",{children:"We use information to:"}),o.jsxs("ul",{children:[o.jsx("li",{children:"Provide, operate, and maintain the Services."}),o.jsx("li",{children:"Enable document, filing, review, and automation workflows."}),o.jsx("li",{children:"Provide customer support, training, and communications."}),o.jsx("li",{children:"Protect the security and integrity of the Services."}),o.jsx("li",{children:"Improve platform reliability, performance, and accuracy."})]}),o.jsx("h3",{children:"4. AI-Assisted Processing and System Improvement"}),o.jsx("p",{children:"SwiftDocket uses AI-assisted tools to extract structured data from documents and support configured workflows, including filing workflows where enabled. To improve extraction accuracy and workflow performance, SwiftDocket may analyze usage patterns and system outputs, including in aggregated or de-identified form. Where Customer Content is used to improve extraction or automation systems beyond providing the Services, such use will be limited, controlled, and consistent with customer agreements."}),o.jsx("h3",{children:"5. Sharing and Disclosure"}),o.jsx("p",{children:"We may share information:"}),o.jsxs("ul",{children:[o.jsx("li",{children:"With service providers and subprocessors that support the Services."}),o.jsx("li",{children:"With third-party systems when integrations are enabled at Customer's direction."}),o.jsx("li",{children:"To comply with legal obligations or valid legal process."})]}),o.jsx("p",{children:"We do not sell Customer Content or use it for advertising or marketing purposes."}),o.jsx("h3",{children:"6. Data Retention"}),o.jsx("p",{children:"We retain information as long as accounts are active or as instructed by the Customer. Upon termination, we will delete or return Customer Content within a reasonable timeframe, subject to legal retention requirements and backup practices."}),o.jsx("h3",{children:"7. Security Measures"}),o.jsx("p",{children:"We maintain reasonable administrative, technical, and organizational safeguards designed to protect information from unauthorized access, disclosure, or loss."}),o.jsx("h3",{children:"8. Your Rights and Choices"}),o.jsx("p",{children:"Users may request access to, correction of, or deletion of their information through their firm administrator or by contacting SwiftDocket. Requests will be handled consistent with applicable law and customer agreements."}),o.jsx("h3",{children:"9. Changes to This Policy"}),o.jsx("p",{children:"We may update this Privacy Policy from time to time. If we make material changes, we will provide notice through the Services or other appropriate channels."}),o.jsx("h3",{children:"10. Contact Information"}),o.jsx("p",{children:"For privacy questions, contact support@swiftdocket.com."})]})})]}),om=()=>o.jsxs("div",{children:[o.jsx(_t,{title:"Terms | SwiftDocket",description:"Terms of service for SwiftDocket's governed legal workflow platform."}),o.jsx("section",{className:"hero hero-slim",children:o.jsx("div",{className:"container",children:o.jsx(V,{title:"Terms of Service",subtitle:"Effective date: February 14, 2025"})})}),o.jsx("section",{className:"section legal",children:o.jsxs("div",{className:"container legal-content",children:[o.jsx("h3",{children:"1. Introduction"}),o.jsx("p",{children:'These Terms of Service ("Terms") govern access to and use of the SwiftDocket platform and related services (the "Services") provided by SwiftDocket LLC ("SwiftDocket," "we," "us"). These Terms apply to the firm or organization that accepts them ("Customer"). By accessing or using the Services, you represent that you have authority to bind the Customer and agree to these Terms on its behalf.'}),o.jsx("h3",{children:"2. Description of the Services"}),o.jsx("p",{children:"SwiftDocket is a legal-operations platform that supports document-heavy workflows for litigation teams, including data extraction, review, document generation, packaging, filing preparation, and submission workflows where enabled. The Services include AI-assisted data extraction and workflow automation, including patent-pending automated filing processes where applicable. SwiftDocket does not provide legal advice and does not replace attorney or paralegal judgment. All filings require human review and approval before submission."}),o.jsx("h3",{children:"3. Account Registration and Access"}),o.jsx("p",{children:"Access is provided through firm-based accounts. Firm administrators manage users and permissions and are responsible for maintaining accurate account information. Customer is responsible for all activity under its account and for safeguarding user credentials. Unlimited firm users are permitted, subject to reasonable use."}),o.jsx("h3",{children:"4. Acceptable Use"}),o.jsx("p",{children:"Customer and its users will use the Services in compliance with applicable law and these Terms. Prohibited activities include:"}),o.jsxs("ul",{children:[o.jsx("li",{children:"Using the Services for unlawful, infringing, or harmful activity."}),o.jsx("li",{children:"Attempting to bypass safeguards, security controls, or access restrictions."}),o.jsx("li",{children:"Interfering with or disrupting the Services, systems, or networks."}),o.jsx("li",{children:"Uploading malware or using the Services to distribute malicious code."})]}),o.jsx("p",{children:"Customer remains responsible for filings submitted through the Services and for confirming that all information is accurate and approved before submission."}),o.jsx("h3",{children:"5. Data Ownership and License"}),o.jsx("p",{children:'Customer retains all right, title, and interest in documents, filings, and firm-specific data provided or generated through the Services ("Customer Content"). Customer grants SwiftDocket a limited, non-exclusive, worldwide license to host, process, and use Customer Content solely to provide, operate, and support the Services.'}),o.jsx("p",{children:"SwiftDocket retains all right, title, and interest in the Services and related intellectual property, including the SwiftDocket platform, software, code, and system architecture; configured workflows and automation logic; templates, validation rules, and workflow designs; and any enhancements, improvements, or derivative works."}),o.jsx("p",{children:"Customer receives a limited, non-exclusive, non-transferable license to use the Services and any configured workflows during the term of the applicable agreement."}),o.jsx("p",{children:"For custom workflow builds, SwiftDocket retains ownership of the underlying workflows, logic, and implementation. Customer receives the right to use the configured workflows within its account. SwiftDocket may reuse generalized learnings, improvements, and non-customer-specific components."}),o.jsx("p",{children:"SwiftDocket may use aggregated, anonymized, or de-identified information derived from Customer Content to improve the performance, reliability, and accuracy of its extraction and automation systems. Any use of Customer Content for training or improving models beyond providing the Services will occur only as permitted by applicable agreements or with the Customer's explicit authorization."}),o.jsx("h3",{children:"6. Confidentiality"}),o.jsx("p",{children:"Each party will protect the other party's Confidential Information using reasonable care and will use it only to perform obligations under these Terms. Documents, filings, and related materials are treated as confidential client materials. Confidentiality obligations do not apply to information that is publicly available, independently developed, or rightfully received from a third party without restriction."}),o.jsx("h3",{children:"7. Third-Party Services and Integrations"}),o.jsx("p",{children:"The Services may connect to third-party systems (including document management systems) via APIs at Customer's direction. Third-party services are subject to their own terms and privacy practices. SwiftDocket is not responsible for third-party systems, availability, or security."}),o.jsx("h3",{children:"8. Fees and Payment"}),o.jsx("p",{children:"Fees are set forth in an order form, statement of work, or other written agreement between the parties. Customer will pay fees in accordance with the agreed payment terms. Taxes and similar charges are the responsibility of Customer unless otherwise specified."}),o.jsx("h3",{children:"9. Term and Termination"}),o.jsx("p",{children:"The term of these Terms begins on the effective date and continues for the period stated in the applicable order form unless earlier terminated. Either party may terminate for material breach that remains uncured after notice. Upon termination, Customer's access will end, and SwiftDocket will make Customer Content available for a reasonable period for export before deletion, subject to legal retention requirements."}),o.jsx("h3",{children:"10. Disclaimers"}),o.jsx("p",{children:'Except as expressly stated, the Services are provided "as is" and "as available." SwiftDocket disclaims all warranties, including implied warranties of merchantability, fitness for a particular purpose, and non-infringement. SwiftDocket does not guarantee that filings will be accepted by courts or agencies.'}),o.jsx("h3",{children:"11. Limitation of Liability"}),o.jsx("p",{children:"To the maximum extent permitted by law, neither party will be liable for indirect, incidental, special, consequential, or punitive damages. SwiftDocket's aggregate liability under these Terms will not exceed the fees paid or payable by Customer for the Services in the twelve (12) months preceding the event giving rise to the claim."}),o.jsx("h3",{children:"12. Governing Law"}),o.jsx("p",{children:"These Terms are governed by the laws of the State of New York, without regard to conflict of law principles."}),o.jsx("h3",{children:"13. Contact Information"}),o.jsx("p",{children:"For questions about these Terms, contact support@swiftdocket.com."})]})})]}),sm="london-fischer",am="London Fischer - Demos",um="Private demos for client review. Access is password-protected.",cm=[{file:"SwiftDocket_WordAddin_Demo.mp4",title:"SwiftDocket Word Add-in Demo",summary:"Template authoring directly inside Microsoft Word."}],dm={slug:sm,title:am,subtitle:um,videos:cm},Jt=dm,Yr="https://api.staging.swiftdocket.com".replace(/\/+$/,""),fm=()=>{const[e,t]=k.useState(!0),[n,r]=k.useState(!1),[l,i]=k.useState(""),[s,a]=k.useState(null),[u,c]=k.useState(!1),[m,h]=k.useState({}),[v,y]=k.useState({}),[w,x]=k.useState({}),C=k.useRef({}),f=Jt.slug,d=k.useMemo(()=>({login:`${Yr}/demo-auth/login`,session:`${Yr}/demo-auth/session`,logout:`${Yr}/demo-auth/logout`,sign:`${Yr}/demo-assets/sign`}),[]),p=(S,N)=>{C.current[S]=N},g=S=>{if(!(S!=null&&S.expiresAt))return!1;const N=Date.parse(S.expiresAt);return Number.isNaN(N)?!1:N-Date.now()>6e4},E=async()=>{t(!0),a(null);try{const S=await fetch(`${d.session}?slug=${encodeURIComponent(f)}`,{method:"GET",credentials:"include"});if(!S.ok){r(!1);return}const N=await S.json();r(!!N.authenticated)}catch{r(!1)}finally{t(!1)}};k.useEffect(()=>{E()},[]);const T=async S=>{const N=await fetch(`${d.sign}?slug=${encodeURIComponent(f)}&key=${encodeURIComponent(S)}`,{method:"GET",credentials:"include"});if(!N.ok){const oe=await N.json().catch(()=>({}));throw new Error(oe.error||"Could not retrieve video URL.")}const R=await N.json();if(!R.url||!R.expiresAt)throw new Error("Video URL response was incomplete.");return R},P=async S=>{const N=m[S];if(g(N))return N;x(R=>({...R,[S]:!0})),y(R=>({...R,[S]:""}));try{const R=await T(S);return h(oe=>({...oe,[S]:R})),R}catch(R){const oe=R instanceof Error?R.message:"Unable to load this video.";throw y(Tt=>({...Tt,[S]:oe})),R}finally{x(R=>({...R,[S]:!1}))}},D=async S=>{S.preventDefault(),c(!0),a(null);try{const N=await fetch(d.login,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({slug:f,password:l})});if(!N.ok){const R=await N.json().catch(()=>({}));throw new Error(R.error||"Password verification failed.")}i(""),r(!0)}catch(N){a(N instanceof Error?N.message:"Password verification failed.")}finally{c(!1)}},U=async S=>{try{const N=await P(S),R=C.current[S];if(!R)return;R.src!==N.url&&(R.src=N.url),await R.play().catch(()=>{})}catch{}},z=async S=>{try{const N=await P(S);window.open(N.url,"_blank","noopener,noreferrer")}catch{}},ie=async()=>{try{await fetch(d.logout,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({slug:f})})}finally{r(!1),h({}),y({})}};return e?o.jsx("section",{className:"demo-shell",children:o.jsx("div",{className:"demo-center-card",children:o.jsx("h1",{children:"Loading demo access..."})})}):n?o.jsx("section",{className:"demo-shell",children:o.jsxs("div",{className:"demo-page",children:[o.jsxs("header",{className:"demo-header",children:[o.jsxs("div",{children:[o.jsx("p",{className:"demo-kicker",children:"Private demos"}),o.jsx("h1",{children:Jt.title}),o.jsx("p",{children:Jt.subtitle})]}),o.jsx("button",{type:"button",className:"btn btn-secondary",onClick:ie,children:"Logout"})]}),o.jsx("div",{className:"demo-grid",children:Jt.videos.map(S=>{const N=m[S.file],R=!!w[S.file];return o.jsxs("article",{className:"demo-video-card",children:[o.jsxs("div",{className:"demo-video-head",children:[o.jsx("h2",{children:S.title}),S.summary?o.jsx("p",{children:S.summary}):null]}),o.jsx("div",{className:"demo-video-player",children:o.jsx("video",{controls:!0,preload:"metadata",ref:oe=>p(S.file,oe),src:(N==null?void 0:N.url)||void 0})}),o.jsxs("div",{className:"demo-video-actions",children:[o.jsx("button",{type:"button",className:"btn btn-primary",onClick:()=>void U(S.file),disabled:R,children:R?"Loading...":"Play"}),o.jsx("button",{type:"button",className:"btn btn-secondary",onClick:()=>void z(S.file),disabled:R,children:"Download"})]}),o.jsxs("div",{className:"demo-video-meta",children:[o.jsxs("div",{children:["File: ",S.file]}),N!=null&&N.signingMode?o.jsxs("div",{children:["Access: ",N.signingMode]}):null,N!=null&&N.expiresAt?o.jsxs("div",{children:["Link expires: ",new Date(N.expiresAt).toLocaleTimeString()]}):null,v[S.file]?o.jsx("div",{className:"demo-error",children:v[S.file]}):null]})]},S.file)})}),o.jsx("footer",{className:"demo-footer-note",children:"Confidential - not for redistribution."})]})}):o.jsx("section",{className:"demo-shell",children:o.jsxs("div",{className:"demo-center-card",children:[o.jsx("p",{className:"demo-kicker",children:"Private demos"}),o.jsx("h1",{children:Jt.title}),o.jsx("p",{children:Jt.subtitle}),o.jsxs("form",{className:"demo-password-form",onSubmit:D,children:[o.jsx("label",{htmlFor:"demoPassword",children:"Enter password"}),o.jsx("input",{id:"demoPassword",type:"password",value:l,onChange:S=>i(S.target.value),placeholder:"Password",autoComplete:"current-password",required:!0}),s?o.jsx("div",{className:"demo-error",children:s}):null,o.jsx("button",{type:"submit",className:"btn btn-primary",disabled:u,children:u?"Verifying...":"Unlock demos"})]})]})})},pm="merani-kamara",hm="Merani Kamara Law Group - Entered Judgment Demo",mm="Private demo for client review. Access is password-protected.",vm=[{file:"PCM_EJ_DEMO.mp4",title:"Entered Judgment Workflow Demo",summary:"Shows extraction, review, AI audit checks, and generated package downloads."}],gm={slug:pm,title:hm,subtitle:mm,videos:vm},Zt=gm,qr="https://api.staging.swiftdocket.com".replace(/\/+$/,""),ym=()=>{const[e,t]=k.useState(!0),[n,r]=k.useState(!1),[l,i]=k.useState(""),[s,a]=k.useState(null),[u,c]=k.useState(!1),[m,h]=k.useState({}),[v,y]=k.useState({}),[w,x]=k.useState({}),C=k.useRef({}),f=Zt.slug,d=k.useMemo(()=>({login:`${qr}/demo-auth/login`,session:`${qr}/demo-auth/session`,logout:`${qr}/demo-auth/logout`,sign:`${qr}/demo-assets/sign`}),[]),p=(S,N)=>{C.current[S]=N},g=S=>{if(!(S!=null&&S.expiresAt))return!1;const N=Date.parse(S.expiresAt);return Number.isNaN(N)?!1:N-Date.now()>6e4},E=async()=>{t(!0),a(null);try{const S=await fetch(`${d.session}?slug=${encodeURIComponent(f)}`,{method:"GET",credentials:"include"});if(!S.ok){r(!1);return}const N=await S.json();r(!!N.authenticated)}catch{r(!1)}finally{t(!1)}};k.useEffect(()=>{E()},[]);const T=async S=>{const N=await fetch(`${d.sign}?slug=${encodeURIComponent(f)}&key=${encodeURIComponent(S)}`,{method:"GET",credentials:"include"});if(!N.ok){const oe=await N.json().catch(()=>({}));throw new Error(oe.error||"Could not retrieve video URL.")}const R=await N.json();if(!R.url||!R.expiresAt)throw new Error("Video URL response was incomplete.");return R},P=async S=>{const N=m[S];if(g(N))return N;x(R=>({...R,[S]:!0})),y(R=>({...R,[S]:""}));try{const R=await T(S);return h(oe=>({...oe,[S]:R})),R}catch(R){const oe=R instanceof Error?R.message:"Unable to load this video.";throw y(Tt=>({...Tt,[S]:oe})),R}finally{x(R=>({...R,[S]:!1}))}},D=async S=>{S.preventDefault(),c(!0),a(null);try{const N=await fetch(d.login,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({slug:f,password:l})});if(!N.ok){const R=await N.json().catch(()=>({}));throw new Error(R.error||"Password verification failed.")}i(""),r(!0)}catch(N){a(N instanceof Error?N.message:"Password verification failed.")}finally{c(!1)}},U=async S=>{try{const N=await P(S),R=C.current[S];if(!R)return;R.src!==N.url&&(R.src=N.url),await R.play().catch(()=>{})}catch{}},z=async S=>{try{const N=await P(S);window.open(N.url,"_blank","noopener,noreferrer")}catch{}},ie=async()=>{try{await fetch(d.logout,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({slug:f})})}finally{r(!1),h({}),y({})}};return e?o.jsx("section",{className:"demo-shell",children:o.jsx("div",{className:"demo-center-card",children:o.jsx("h1",{children:"Loading demo access..."})})}):n?o.jsx("section",{className:"demo-shell",children:o.jsxs("div",{className:"demo-page",children:[o.jsxs("header",{className:"demo-header",children:[o.jsxs("div",{children:[o.jsx("p",{className:"demo-kicker",children:"Private demos"}),o.jsx("h1",{children:Zt.title}),o.jsx("p",{children:Zt.subtitle})]}),o.jsx("button",{type:"button",className:"btn btn-secondary",onClick:ie,children:"Logout"})]}),o.jsx("div",{className:"demo-grid",children:Zt.videos.map(S=>{const N=m[S.file],R=!!w[S.file];return o.jsxs("article",{className:"demo-video-card",children:[o.jsxs("div",{className:"demo-video-head",children:[o.jsx("h2",{children:S.title}),S.summary?o.jsx("p",{children:S.summary}):null]}),o.jsx("div",{className:"demo-video-player",children:o.jsx("video",{controls:!0,preload:"metadata",ref:oe=>p(S.file,oe),src:(N==null?void 0:N.url)||void 0})}),o.jsxs("div",{className:"demo-video-actions",children:[o.jsx("button",{type:"button",className:"btn btn-primary",onClick:()=>void U(S.file),disabled:R,children:R?"Loading...":"Play"}),o.jsx("button",{type:"button",className:"btn btn-secondary",onClick:()=>void z(S.file),disabled:R,children:"Download"})]}),o.jsxs("div",{className:"demo-video-meta",children:[o.jsxs("div",{children:["File: ",S.file]}),N!=null&&N.signingMode?o.jsxs("div",{children:["Access: ",N.signingMode]}):null,N!=null&&N.expiresAt?o.jsxs("div",{children:["Link expires: ",new Date(N.expiresAt).toLocaleTimeString()]}):null,v[S.file]?o.jsx("div",{className:"demo-error",children:v[S.file]}):null]})]},S.file)})}),o.jsx("footer",{className:"demo-footer-note",children:"Confidential - not for redistribution."})]})}):o.jsx("section",{className:"demo-shell",children:o.jsxs("div",{className:"demo-center-card",children:[o.jsx("p",{className:"demo-kicker",children:"Private demos"}),o.jsx("h1",{children:Zt.title}),o.jsx("p",{children:Zt.subtitle}),o.jsxs("form",{className:"demo-password-form",onSubmit:D,children:[o.jsx("label",{htmlFor:"demoPassword",children:"Enter password"}),o.jsx("input",{id:"demoPassword",type:"password",value:l,onChange:S=>i(S.target.value),placeholder:"Password",autoComplete:"current-password",required:!0}),s?o.jsx("div",{className:"demo-error",children:s}):null,o.jsx("button",{type:"submit",className:"btn btn-primary",disabled:u,children:u?"Verifying...":"Unlock demos"})]})]})})},wm=()=>o.jsxs("section",{className:"section",children:[o.jsx(_t,{title:"Page Not Found | SwiftDocket",description:"The page you requested could not be found."}),o.jsxs("div",{className:"container not-found",children:[o.jsx("h1",{children:"Page not found"}),o.jsx("p",{children:"That page does not exist. Head back to the home page."}),o.jsx(W,{to:"/",className:"btn btn-primary",children:"Go Home"})]})]});function xm(){return o.jsxs(o.Fragment,{children:[o.jsx(bh,{}),o.jsxs(Ih,{children:[o.jsx(Te,{path:"/demo/london-fischer",element:o.jsx(fm,{})}),o.jsx(Te,{path:"/demo/merani-kamara",element:o.jsx(ym,{})}),o.jsxs(Te,{element:o.jsx(Zh,{}),children:[o.jsx(Te,{path:"/",element:o.jsx(em,{})}),o.jsx(Te,{path:"/product",element:o.jsx(tm,{})}),o.jsx(Te,{path:"/plans",element:o.jsx(nm,{})}),o.jsx(Te,{path:"/about",element:o.jsx(rm,{})}),o.jsx(Te,{path:"/contact",element:o.jsx(lm,{})}),o.jsx(Te,{path:"/privacy",element:o.jsx(im,{})}),o.jsx(Te,{path:"/terms",element:o.jsx(om,{})}),o.jsx(Te,{path:"*",element:o.jsx(wm,{})})]})]})]})}Ti.createRoot(document.getElementById("root")).render(o.jsx(Xa.StrictMode,{children:o.jsx($h,{children:o.jsx(xm,{})})}));