1/*! For license information please see main.7bae4a3a.js.LICENSE.txt */ 2(()=>{"use strict";var e={4(e,t,n){var a=n(853),r=n(43),o=n(950);function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}var l=Symbol.for("react.element"),c=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),m=Symbol.for("react.consumer"),y=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),w=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var S=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var k=Symbol.for("react.memo_cache_sentinel"),j=Symbol.iterator;function N(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=j&&e[j]||e["@@iterator"])?e:null}var C=Symbol.for("react.client.reference");function E(e){if(null==e)return null;if("function"===typeof e)return e.$$typeof===C?null:e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case u:return"Fragment";case d:return"Portal";case h:return"Profiler";case f:return"StrictMode";case v:return"Suspense";case b:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case y:return(e.displayName||"Context")+".Provider";case m:return(e._context.displayName||"Context")+".Consumer";case g:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case x:return null!==(t=e.displayName||null)?t:E(e.type)||"Memo";case w:t=e._payload,e=e._init;try{return E(e(t))}catch(n){}}return null}var A,z,T=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=Object.assign;function F(e){if(void 0===A)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);A=t&&t[1]||"",z=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+A+e+z}var P=!1;function I(e,t){if(!e||P)return"";P=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(r){var a=r}Reflect.construct(e,[],n)}
vendor: 5,106 bytes, line 2
2else{try{n.call()}catch(o){a=o}e.call(n.prototype)}}else{try{throw Error()}catch(i){a=i}(n=e())&&"function"===typeof n.catch&&n.catch(function(){})}}catch(s){if(s&&a&&"string"===typeof s.stack)return[s.stack,a.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=a.DetermineComponentFrameRoot(),i=o[0],s=o[1];if(i&&s){var l=i.split("\n"),c=s.split("\n");for(r=a=0;a<l.length&&!l[a].includes("DetermineComponentFrameRoot");)a++;for(;r<c.length&&!c[r].includes("DetermineComponentFrameRoot");)r++;if(a===l.length||r===c.length)for(a=l.length-1,r=c.length-1;1<=a&&0<=r&&l[a]!==c[r];)r--;for(;1<=a&&0<=r;a--,r--)if(l[a]!==c[r]){if(1!==a||1!==r)do{if(a--,0>--r||l[a]!==c[r]){var d="\n"+l[a].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),d}}while(1<=a&&0<=r);break}}}finally{P=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?F(n):""}function M(e){switch(e.tag){case 26:case 27:case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 15:return e=I(e.type,!1);case 11:return e=I(e.type.render,!1);case 1:return e=I(e.type,!0);default:return""}}function L(e){try{var t="";do{t+=M(e),e=e.return}while(e);return t}catch(n){return"\nError generating stack: "+n.message+"\n"+n.stack}}function O(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function D(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function H(e){if(O(e)!==e)throw Error(i(188))}function _(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=_(e)))return t;e=e.sibling}return null}var W=Array.isArray,U=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V={pending:!1,data:null,method:null,action:null},Y=[],B=-1;function q(e){return{current:e}}function G(e){0>B||(e.current=Y[B],Y[B]=null,B--)}function K(e,t){B++,Y[B]=e.current,e.current=t}var Q=q(null),$=q(null),J=q(null),X=q(null);function Z(e,t){switch(K(J,t),K($,e),K(Q,null),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?$d(t):0;break;default:if(t=(e=8===e?t.parentNode:t).tagName,e=e.namespaceURI)t=Jd(e=$d(e),t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}G(Q),K(Q,t)}function ee(){G(Q),G($),G(J)}function te(e){null!==e.memoizedState&&K(X,e);var t=Q.current,n=Jd(t,e.type);t!==n&&(K($,e),K(Q,n))}function ne(e){$.current===e&&(G(Q),G($)),X.current===e&&(G(X),Lu._currentValue=V)}var ae=Object.prototype.hasOwnProperty,re=a.unstable_scheduleCallback,oe=a.unstable_cancelCallback,ie=a.unstable_shouldYield,se=a.unstable_requestPaint,le=a.unstable_now,ce=a.unstable_getCurrentPriorityLevel,de=a.unstable_ImmediatePriority,ue=a.unstable_UserBlockingPriority,fe=a.unstable_NormalPriority,he=a.unstable_LowPriority,pe=a.unstable_IdlePriority,me=a.log,ye=a.unstable_setDisableYieldValue,ge=null,ve=null;function be(e){if("function"===typeof me&&ye(e),ve&&"function"===typeof ve.setStrictMode)try{ve.setStrictMode(ge,e)}catch(t){}}var xe=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(we(e)/Se|0)|0},we=Math.log,Se=Math.LN2;var ke=128,je=4194304;function Ne(e){var t=42&e;if(0!==t)return t;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:return 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 4194176&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ce(e,t){var n=e.pendingLanes;if(0===n)return 0;var a=0,r=e.suspendedLanes,o=e.pingedLanes,i=e.warmLanes;e=0!==e.finishedLanes;var s=134217727&n;return 0!==s?0!==(n=s&~r)?a=Ne(n):0!==(o&=s)?a=Ne(o):e||0!==(i=s&~i)&&(a=Ne(i)):0!==(s=n&~r)?a=Ne(s):0!==o?a=Ne(o):e||0!==(i=n&~i)&&(a=Ne(i)),0===a?0:0!==t&&t!==a&&0===(t&r)&&((r=a&-a)>=(i=t&-t)||32===r&&0!==(4194176&i))?t:a}function Ee(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Ae(e,t){switch(e){case 1:case 2:case 4:case 8:return t+250;case 16:case 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 t+5e3;default:return-1}}function ze(){var e=ke;return 0===(4194176&(ke<<=1))&&(ke=128),e}function Te(){var e=je;return 0===(62914560&(je<<=1))&&(je=4194304),e}function Re(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}
2function Fe(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Pe(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-xe(t);e.entangledLanes|=t,e.entanglements[a]=1073741824|e.entanglements[a]|4194218&n}function Ie(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-xe(n),r=1<<a;r&t|e[a]&t&&(e[a]|=t),n&=~r}}function Me(e){return 2<(e&=-e)?8<e?0!==(134217727&e)?32:268435456:8:2}function Le(){var e=U.p;return 0!==e?e:void 0===(e=window.event)?32:Ju(e.type)}var Oe=Math.random().toString(36).slice(2),De="__reactFiber$"+Oe,He="__reactProps$"+Oe,_e="__reactContainer$"+Oe,We="__reactEvents$"+Oe,Ue="__reactListeners$"+Oe,Ve="__reactHandles$"+Oe,Ye="__reactResources$"+Oe,Be="__reactMarker$"+Oe;function qe(e){delete e[De],delete e[He],delete e[We],delete e[Ue],delete e[Ve]}function Ge(e){var t=e[De];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_e]||n[De]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=lu(e);null!==e;){if(n=e[De])return n;e=lu(e)}return t}n=(e=n).parentNode}return null}function Ke(e){if(e=e[De]||e[_e]){var t=e.tag;if(5===t||6===t||13===t||26===t||27===t||3===t)return e}return null}function Qe(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(i(33))}function $e(e){var t=e[Ye];return t||(t=e[Ye]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Je(e){e[Be]=!0}var Xe=new Set,Ze={};function et(e,t){tt(e,t),tt(e+"Capture",t)}function tt(e,t){for(Ze[e]=t,e=0;e<t.length;e++)Xe.add(t[e])}var nt=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),at=RegExp("^[: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]*$"),rt={},ot={};function it(e,t,n){if(r=t,ae.call(ot,r)||!ae.call(rt,r)&&(at.test(r)?ot[r]=!0:(rt[r]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var a=t.toLowerCase().slice(0,5);if("data-"!==a&&"aria-"!==a)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var r}function st(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function lt(e,t,n,a){if(null===a)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+a)}}function ct(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function dt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ut(e){e._valueTracker||(e._valueTracker=function(e){var t=dt(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var r=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){a=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(e){a=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ft(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=dt(e)?e.checked?"true":"false":e.value),(e=a)!==n&&(t.setValue(e),!0)}function ht(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var pt=/[\n"\\]/g;function mt(e){return e.replace(pt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function yt(e,t,n,a,r,o,i,s){e.name="",null!=i&&"function"!==typeof i&&"symbol"!==typeof i&&"boolean"!==typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+ct(t)):e.value!==""+ct(t)&&(e.value=""+ct(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?vt(e,i,ct(t)):null!=n?vt(e,i,ct(n)):null!=a&&e.removeAttribute("value"),null==r&&null!=o&&(e.defaultChecked=!!o),null!=r&&(e.checked=r&&"function"!==typeof r&&"symbol"!==typeof r),null!=s&&"function"!==typeof s&&"symbol"!==typeof s&&"boolean"!==typeof s?e.name=""+ct(s):e.removeAttribute("name")}function gt(e,t,n,a,r,o,i,s){if(null!=o&&"function"!==typeof o&&"symbol"!==typeof o&&"boolean"!==typeof o&&(e.type=o),null!=t||null!=n){if(!("submit"!==o&&"reset"!==o||void 0!==t&&null!==t))return;n=null!=n?""+ct(n):"",t=null!=t?""+ct(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}a="function"!==typeof(a=null!=a?a:r)&&"symbol"!==typeof a&&!!a,e.checked=s?e.checked:!!a,e.defaultChecked=!!a,null!=i&&"function"!==typeof i&&"symbol"!==typeof i&&"boolean"!==typeof i&&(e.name=i)}function vt(e,t,n){"number"===t&&ht(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function bt(e,t,n,a){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&a&&(e[n].defaultSelected=!0)}else{for(n=""+ct(n),t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(a&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function xt(e,t,n){null==t||((t=""+ct(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+ct(n):"":e.defaultValue!==t&&(e.defaultValue=t)}
vendor: 4,415 bytes, line 2
2function wt(e,t,n,a){if(null==t){if(null!=a){if(null!=n)throw Error(i(92));if(W(a)){if(1<a.length)throw Error(i(93));a=a[0]}n=a}null==n&&(n=""),t=n}n=ct(t),e.defaultValue=n,(a=e.textContent)===n&&""!==a&&null!==a&&(e.value=a)}function St(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var kt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function jt(e,t,n){var a=0===t.indexOf("--");null==n||"boolean"===typeof n||""===n?a?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":a?e.setProperty(t,n):"number"!==typeof n||0===n||kt.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Nt(e,t,n){if(null!=t&&"object"!==typeof t)throw Error(i(62));if(e=e.style,null!=n){for(var a in n)!n.hasOwnProperty(a)||null!=t&&t.hasOwnProperty(a)||(0===a.indexOf("--")?e.setProperty(a,""):"float"===a?e.cssFloat="":e[a]="");for(var r in t)a=t[r],t.hasOwnProperty(r)&&n[r]!==a&&jt(e,r,a)}else for(var o in t)t.hasOwnProperty(o)&&jt(e,o,t[o])}function Ct(e){if(-1===e.indexOf("-"))return!1;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 Et=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
2-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),At=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function zt(e){return At.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Tt=null;function Rt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ft=null,Pt=null;function It(e){var t=Ke(e);if(t&&(e=t.stateNode)){var n=e[He]||null;e:switch(e=t.stateNode,t.type){case"input":if(yt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+mt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var r=a[He]||null;if(!r)throw Error(i(90));yt(a,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)(a=n[t]).form===e.form&&ft(a)}break e;case"textarea":xt(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&bt(e,!!n.multiple,t,!1)}}}var Mt=!1;function Lt(e,t,n){if(Mt)return e(t,n);Mt=!0;try{return e(t)}finally{if(Mt=!1,(null!==Ft||null!==Pt)&&(Dc(),Ft&&(t=Ft,e=Pt,Pt=Ft=null,It(t),e)))for(t=0;t<e.length;t++)It(e[t])}}function Ot(e,t){var n=e.stateNode;if(null===n)return null;var a=n[He]||null;if(null===a)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(a=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!a;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var Dt=!1;if(nt)try{var Ht={};Object.defineProperty(Ht,"passive",{get:function(){Dt=!0}}),window.addEventListener("test",Ht,Ht),window.removeEventListener("test",Ht,Ht)}catch(Sf){Dt=!1}var _t=null,Wt=null,Ut=null;function Vt(){if(Ut)return Ut;var e,t,n=Wt,a=n.length,r="value"in _t?_t.value:_t.textContent,o=r.length;for(e=0;e<a&&n[e]===r[e];e++);var i=a-e;for(t=1;t<=i&&n[a-t]===r[o-t];t++);return Ut=r.slice(e,1<t?1-t:void 0)}function Yt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Bt(){return!0}function qt(){return!1}function Gt(e){function t(t,n,a,r,o){for(var i in this._reactName=t,this._targetInst=a,this.type=n,this.nativeEvent=r,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(r):r[i]);return this.isDefaultPrevented=(null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue)?Bt:qt,this.isPropagationStopped=qt,this}return R(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Bt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Bt)},persist:function(){},isPersistent:Bt}),t}var Kt,Qt,$t,Jt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xt=Gt(Jt),Zt=R({},Jt,{view:0,detail:0}),en=Gt(Zt),tn=R({},Zt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==$t&&($t&&"mousemove"===e.type?(Kt=e.screenX-$t.screenX,Qt=e.screenY-$t.screenY):Qt=Kt=0,$t=e),Kt)},movementY:function(e){return"movementY"in e?e.movementY:Qt}}),nn=Gt(tn),an=Gt(R({},tn,{dataTransfer:0})),rn=Gt(R({},Zt,{relatedTarget:0})),on=Gt(R({},Jt,{animationName:0,elapsedTime:0,pseudoElement:0})),sn=Gt(R({},Jt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),ln=Gt(R({},Jt,{data:0})),cn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},un={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=un[e])&&!!t[e]}function hn(){return fn}var pn=Gt(R({},Zt,{key:function(e){if(e.key){var t=cn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Yt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"ke
2yup"===e.type?dn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hn,charCode:function(e){return"keypress"===e.type?Yt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Yt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),mn=Gt(R({},tn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),yn=Gt(R({},Zt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hn})),gn=Gt(R({},Jt,{propertyName:0,elapsedTime:0,pseudoElement:0})),vn=Gt(R({},tn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),bn=Gt(R({},Jt,{newState:0,oldState:0})),xn=[9,13,27,32],wn=nt&&"CompositionEvent"in window,Sn=null;nt&&"documentMode"in document&&(Sn=document.documentMode);var kn=nt&&"TextEvent"in window&&!Sn,jn=nt&&(!wn||Sn&&8<Sn&&11>=Sn),Nn=String.fromCharCode(32),Cn=!1;function En(e,t){switch(e){case"keyup":return-1!==xn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function An(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var zn=!1;var Tn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Rn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Tn[e.type]:"textarea"===t}function Fn(e,t,n,a){Ft?Pt?Pt.push(a):Pt=[a]:Ft=a,0<(t=Ld(t,"onChange")).length&&(n=new Xt("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var Pn=null,In=null;function Mn(e){Ad(e,0)}function Ln(e){if(ft(Qe(e)))return e}function On(e,t){if("change"===e)return t}var Dn=!1;if(nt){var Hn;if(nt){var _n="oninput"in document;if(!_n){var Wn=document.createElement("div");Wn.setAttribute("oninput","return;"),_n="function"===typeof Wn.oninput}Hn=_n}else Hn=!1;Dn=Hn&&(!document.documentMode||9<document.documentMode)}function Un(){Pn&&(Pn.detachEvent("onpropertychange",Vn),In=Pn=null)}function Vn(e){if("value"===e.propertyName&&Ln(In)){var t=[];Fn(t,In,e,Rt(e)),Lt(Mn,t)}}function Yn(e,t,n){"focusin"===e?(Un(),In=n,(Pn=t).attachEvent("onpropertychange",Vn)):"focusout"===e&&Un()}function Bn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Ln(In)}function qn(e,t){if("click"===e)return Ln(t)}function Gn(e,t){if("input"===e||"change"===e)return Ln(t)}var Kn="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function Qn(e,t){if(Kn(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var r=n[a];if(!ae.call(t,r)||!Kn(e[r],t[r]))return!1}return!0}function $n(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Jn(e,t){var n,a=$n(e);for(e=0;a;){if(3===a.nodeType){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=$n(a)}}function Xn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Xn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Zn(e){for(var t=ht((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(a){n=!1}if(!n)break;t=ht((e=t.contentWindow).document)}return t}function ea(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function ta(e,t){var n=Zn(t);t=e.focusedElem;var a=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Xn(t.ownerDocument.documentElement,t)){if(null!==a&&ea(t))if(e=a.start,void 0===(n=a.end)&&(n=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(n,t.value.length);else if((n=(e=t.ownerDocument||document)&&e.defaultView||window).getSelection){n=n.getSelection();var r=t.textContent.length,o=Math.min(a.start,r);a=void 0===a.end?o:Math.min(a.end,r),!n.extend&&o>a&&(r=a,a=o,o=r),r=Jn(t,o);var i=Jn(t,a);r&&i&&(1!==n.rangeCount||n.anchorNode!==r.node||n.anchorOffset!==r.offset||n.focusNode!==i.node||n.focusOffset!==i.offset)&&((e=e.createRange()).setStart(r.node,r.offset),n.removeAllRanges(),o>a?(n.addRange(e),n.extend(i.node,i.offset)):(e.setEnd(i.node,i.offset),n.addRange(e)))}for(e=[],n=t;n=n.parentNode;)1===n.nodeType&&e.push({element:n,left:n.scrollLeft,top:n.scrollTop});
vendor: 5,735 bytes, line 2
2for("function"===typeof t.focus&&t.focus(),t=0;t<e.length;t++)(n=e[t]).element.scrollLeft=n.left,n.element.scrollTop=n.top}}var na=nt&&"documentMode"in document&&11>=document.documentMode,aa=null,ra=null,oa=null,ia=!1;function sa(e,t,n){var a=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;ia||null==aa||aa!==ht(a)||("selectionStart"in(a=aa)&&ea(a)?a={start:a.selectionStart,end:a.selectionEnd}:a={anchorNode:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset},oa&&Qn(oa,a)||(oa=a,0<(a=Ld(ra,"onSelect")).length&&(t=new Xt("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=aa)))}function la(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ca={animationend:la("Animation","AnimationEnd"),animationiteration:la("Animation","AnimationIteration"),animationstart:la("Animation","AnimationStart"),transitionrun:la("Transition","TransitionRun"),transitionstart:la("Transition","TransitionStart"),transitioncancel:la("Transition","TransitionCancel"),transitionend:la("Transition","TransitionEnd")},da={},ua={};function fa(e){if(da[e])return da[e];if(!ca[e])return e;var t,n=ca[e];for(t in n)if(n.hasOwnProperty(t)&&t in ua)return da[e]=n[t];return e}nt&&(ua=document.createElement("div").style,"AnimationEvent"in window||(delete ca.animationend.animation,delete ca.animationiteration.animation,delete ca.animationstart.animation),"TransitionEvent"in window||delete ca.transitionend.transition);var ha=fa("animationend"),pa=fa("animationiteration"),ma=fa("animationstart"),ya=fa("transitionrun"),ga=fa("transitionstart"),va=fa("transitioncancel"),ba=fa("transitionend"),xa=new Map,wa="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" ");function Sa(e,t){xa.set(e,t),et(t,[e])}var ka=[],ja=0,Na=0;function Ca(){for(var e=ja,t=Na=ja=0;t<e;){var n=ka[t];ka[t++]=null;var a=ka[t];ka[t++]=null;var r=ka[t];ka[t++]=null;var o=ka[t];if(ka[t++]=null,null!==a&&null!==r){var i=a.pending;null===i?r.next=r:(r.next=i.next,i.next=r),a.pending=r}0!==o&&Ta(n,r,o)}}function Ea(e,t,n,a){ka[ja++]=e,ka[ja++]=t,ka[ja++]=n,ka[ja++]=a,Na|=a,e.lanes|=a,null!==(e=e.alternate)&&(e.lanes|=a)}function Aa(e,t,n,a){return Ea(e,t,n,a),Ra(e)}function za(e,t){return Ea(e,null,null,t),Ra(e)}function Ta(e,t,n){e.lanes|=n;var a=e.alternate;null!==a&&(a.lanes|=n);for(var r=!1,o=e.return;null!==o;)o.childLanes|=n,null!==(a=o.alternate)&&(a.childLanes|=n),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(r=!0)),e=o,o=o.return;r&&null!==t&&3===e.tag&&(o=e.stateNode,r=31-xe(n),null===(e=(o=o.hiddenUpdates)[r])?o[r]=[t]:e.push(t),t.lane=536870912|n)}function Ra(e){if(50<Ac)throw Ac=0,zc=null,Error(i(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Fa={},Pa=new WeakMap;function Ia(e,t){if("object"===typeof e&&null!==e){var n=Pa.get(e);return void 0!==n?n:(t={value:e,source:t,stack:L(t)},Pa.set(e,t),t)}return{value:e,source:t,stack:L(t)}}var Ma=[],La=0,Oa=null,Da=0,Ha=[],_a=0,Wa=null,Ua=1,Va="";function Ya(e,t){Ma[La++]=Da,Ma[La++]=Oa,Oa=e,Da=t}function Ba(e,t,n){Ha[_a++]=Ua,Ha[_a++]=Va,Ha[_a++]=Wa,Wa=e;var a=Ua;e=Va;var r=32-xe(a)-1;a&=~(1<<r),n+=1;var o=32-xe(t)+r;if(30<o){var i=r-r%5;o=(a&(1<<i)-1).toString(32),a>>=i,r-=i,Ua=1<<32-xe(t)+r|n<<r|a,Va=o+e}else Ua=1<<o|n<<r|a,Va=e}function qa(e){null!==e.return&&(Ya(e,1),Ba(e,1,0))}function Ga(e){for(;e===Oa;)Oa=Ma[--La],Ma[La]=null,Da=Ma[--La],Ma[La]=null;for(;e===Wa;)Wa=Ha[--_a],Ha[_a]=null,Va=Ha[--_a],Ha[_a]=null,Ua=Ha[--_a],Ha[_a]=null}var Ka=null,Qa=null,$a=!1,Ja=null,Xa=!1,Za=Error(i(519));function er(e){throw or(Ia(Error(i(418,"")),e)),Za}function tr(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[De]=e,t[He]=a,n){case"dialog":zd("cancel",t),zd("close",t);break;case"iframe":case"object":case"embed":zd("load",t);break;case"video":case"audio":for(n=0;n<Cd.length;n++)zd(Cd[n],t);break;case"source":zd("error",t);break;case"img":case"image":case"link":zd("error",t),zd("load",t);break;case"details":zd("toggle",t);break;case"input":zd("invalid",t),gt(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),ut(t);break;case"select":zd("invalid",t);break;case"textarea":zd("invalid",t),wt(t,a.value,a.defaultValue,a.children),ut(t)}"string"!==typeof(n=a.children)&&"number"!==typeof n&&"bigint"!==typeof n||t.textContent===""+n||!0===a.suppressHydrationWarning||Ud(t.textContent,n)?(null!=a.popover&&(zd("beforetoggle",t),zd("toggle",t)),null!=a.onScroll&&zd("scroll",t),null!=a.onScrollEnd&&zd("scrollend",t),null!=a.onClick&&(t.onclick=Vd),t=!0):t=!1,t||er(e)}function nr(e){for(Ka=e.return;Ka;)switch(Ka.tag){case 3:case 27:return void(Xa=!0);case 5:case 13:return void(Xa=!1);default:Ka=Ka.return}}function ar(e){if(e!==Ka)return!1;if(!$a)return nr(e),$a=!0,!1;var t,n=!1;if((t=3!==e.tag&&27!==e.tag)&&((t=5===e.tag)&&(t=!("form"!==(t=e.type)&&"button"!==t)||Xd(e.type,e.memoizedProps)),t=!t),t&&(n=!0),n&&Qa&&er(e),nr(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,n=0;e;
2){if(8===e.nodeType)if("/$"===(t=e.data)){if(0===n){Qa=su(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++;e=e.nextSibling}Qa=null}}else Qa=Ka?su(e.stateNode.nextSibling):null;return!0}function rr(){Qa=Ka=null,$a=!1}function or(e){null===Ja?Ja=[e]:Ja.push(e)}var ir=Error(i(460)),sr=Error(i(474)),lr={then:function(){}};function cr(e){return"fulfilled"===(e=e.status)||"rejected"===e}function dr(){}function ur(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(dr,dr),t=n),t.status){case"fulfilled":return t.value;case"rejected":if((e=t.reason)===ir)throw Error(i(483));throw e;default:if("string"===typeof t.status)t.then(dr,dr);else{if(null!==(e=tc)&&100<e.shellSuspendCounter)throw Error(i(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":if((e=t.reason)===ir)throw Error(i(483));throw e}throw fr=t,ir}}var fr=null;function hr(){if(null===fr)throw Error(i(459));var e=fr;return fr=null,e}var pr=null,mr=0;function yr(e){var t=mr;return mr+=1,null===pr&&(pr=[]),ur(pr,e,t)}function gr(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function vr(e,t){if(t.$$typeof===l)throw Error(i(525));throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function br(e){return(0,e._init)(e._payload)}function xr(e){function t(t,n){if(e){var a=t.deletions;null===a?(t.deletions=[n],t.flags|=16):a.push(n)}}function n(n,a){if(!e)return null;for(;null!==a;)t(n,a),a=a.sibling;return null}function a(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function r(e,t){return(e=Ol(e,t)).index=0,e.sibling=null,e}function o(t,n,a){return t.index=a,e?null!==(a=t.alternate)?(a=a.index)<n?(t.flags|=33554434,n):a:(t.flags|=33554434,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=33554434),t}function l(e,t,n,a){return null===t||6!==t.tag?((t=Ul(n,e.mode,a)).return=e,t):((t=r(t,n)).return=e,t)}function f(e,t,n,a){var o=n.type;return o===u?p(e,t,n.props.children,a,n.key):null!==t&&(t.elementType===o||"object"===typeof o&&null!==o&&o.$$typeof===w&&br(o)===t.type)?(gr(t=r(t,n.props),n),t.return=e,t):(gr(t=Hl(n.type,n.key,n.props,null,e.mode,a),n),t.return=e,t)}function h(e,t,n,a){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vl(n,e.mode,a)).return=e,t):((t=r(t,n.children||[])).return=e,t)}function p(e,t,n,a,o){return null===t||7!==t.tag?((t=_l(n,e.mode,a,o)).return=e,t):((t=r(t,n)).return=e,t)}function m(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t||"bigint"===typeof t)return(t=Ul(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case c:return gr(n=Hl(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case d:return(t=Vl(t,e.mode,n)).return=e,t;case w:return m(e,t=(0,t._init)(t._payload),n)}if(W(t)||N(t))return(t=_l(t,e.mode,n,null)).return=e,t;if("function"===typeof t.then)return m(e,yr(t),n);if(t.$$typeof===y)return m(e,Cs(e,t),n);vr(e,t)}return null}function g(e,t,n,a){var r=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n||"bigint"===typeof n)return null!==r?null:l(e,t,""+n,a);if("object"===typeof n&&null!==n){switch(n.$$typeof){case c:return n.key===r?f(e,t,n,a):null;case d:return n.key===r?h(e,t,n,a):null;case w:return g(e,t,n=(r=n._init)(n._payload),a)}if(W(n)||N(n))return null!==r?null:p(e,t,n,a,null);if("function"===typeof n.then)return g(e,t,yr(n),a);if(n.$$typeof===y)return g(e,t,Cs(e,n),a);vr(e,n)}return null}function v(e,t,n,a,r){if("string"===typeof a&&""!==a||"number"===typeof a||"bigint"===typeof a)return l(t,e=e.get(n)||null,""+a,r);if("object"===typeof a&&null!==a){switch(a.$$typeof){case c:return f(t,e=e.get(null===a.key?n:a.key)||null,a,r);case d:return h(t,e=e.get(null===a.key?n:a.key)||null,a,r);case w:return v(e,t,n,a=(0,a._init)(a._payload),r)}if(W(a)||N(a))return p(t,e=e.get(n)||null,a,r,null);if("function"===typeof a.then)return v(e,t,n,yr(a),r);if(a.$$typeof===y)return v(e,t,n,Cs(t,a),r);vr(t,a)}return null}function b(l,f,h,p){if("object"===typeof h&&null!==h&&h.type===u&&null===h.key&&(h=h.props.children),"object"===typeof h&&null!==h){
vendor: 5,415 bytes, line 2
2switch(h.$$typeof){case c:e:{for(var x=h.key;null!==f;){if(f.key===x){if((x=h.type)===u){if(7===f.tag){n(l,f.sibling),(p=r(f,h.props.children)).return=l,l=p;break e}}else if(f.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===w&&br(x)===f.type){n(l,f.sibling),gr(p=r(f,h.props),h),p.return=l,l=p;break e}n(l,f);break}t(l,f),f=f.sibling}h.type===u?((p=_l(h.props.children,l.mode,p,h.key)).return=l,l=p):(gr(p=Hl(h.type,h.key,h.props,null,l.mode,p),h),p.return=l,l=p)}return s(l);case d:e:{for(x=h.key;null!==f;){if(f.key===x){if(4===f.tag&&f.stateNode.containerInfo===h.containerInfo&&f.stateNode.implementation===h.implementation){n(l,f.sibling),(p=r(f,h.children||[])).return=l,l=p;break e}n(l,f);break}t(l,f),f=f.sibling}(p=Vl(h,l.mode,p)).return=l,l=p}return s(l);case w:return b(l,f,h=(x=h._init)(h._payload),p)}if(W(h))return function(r,i,s,l){for(var c=null,d=null,u=i,f=i=0,h=null;null!==u&&f<s.length;f++){u.index>f?(h=u,u=null):h=u.sibling;var p=g(r,u,s[f],l);if(null===p){null===u&&(u=h);break}e&&u&&null===p.alternate&&t(r,u),i=o(p,i,f),null===d?c=p:d.sibling=p,d=p,u=h}if(f===s.length)return n(r,u),$a&&Ya(r,f),c;if(null===u){for(;f<s.length;f++)null!==(u=m(r,s[f],l))&&(i=o(u,i,f),null===d?c=u:d.sibling=u,d=u);return $a&&Ya(r,f),c}for(u=a(u);f<s.length;f++)null!==(h=v(u,r,f,s[f],l))&&(e&&null!==h.alternate&&u.delete(null===h.key?f:h.key),i=o(h,i,f),null===d?c=h:d.sibling=h,d=h);return e&&u.forEach(function(e){return t(r,e)}),$a&&Ya(r,f),c}(l,f,h,p);if(N(h)){if("function"!==typeof(x=N(h)))throw Error(i(150));return function(r,s,l,c){if(null==l)throw Error(i(151));for(var d=null,u=null,f=s,h=s=0,p=null,y=l.next();null!==f&&!y.done;h++,y=l.next()){f.index>h?(p=f,f=null):p=f.sibling;var b=g(r,f,y.value,c);if(null===b){null===f&&(f=p);break}e&&f&&null===b.alternate&&t(r,f),s=o(b,s,h),null===u?d=b:u.sibling=b,u=b,f=p}if(y.done)return n(r,f),$a&&Ya(r,h),d;if(null===f){for(;!y.done;h++,y=l.next())null!==(y=m(r,y.value,c))&&(s=o(y,s,h),null===u?d=y:u.sibling=y,u=y);return $a&&Ya(r,h),d}for(f=a(f);!y.done;h++,y=l.next())null!==(y=v(f,r,h,y.value,c))&&(e&&null!==y.alternate&&f.delete(null===y.key?h:y.key),s=o(y,s,h),null===u?d=y:u.sibling=y,u=y);return e&&f.forEach(function(e){return t(r,e)}),$a&&Ya(r,h),d}(l,f,h=x.call(h),p)}if("function"===typeof h.then)return b(l,f,yr(h),p);if(h.$$typeof===y)return b(l,f,Cs(l,h),p);vr(l,h)}return"string"===typeof h&&""!==h||"number"===typeof h||"bigint"===typeof h?(h=""+h,null!==f&&6===f.tag?(n(l,f.sibling),(p=r(f,h)).return=l,l=p):(n(l,f),(p=Ul(h,l.mode,p)).return=l,l=p),s(l)):n(l,f)}return function(e,t,n,a){try{mr=0;var r=b(e,t,n,a);return pr=null,r}catch(i){if(i===ir)throw i;var o=Ml(29,i,null,e.mode);return o.lanes=a,o.return=e,o}}}var wr=xr(!0),Sr=xr(!1),kr=q(null),jr=q(0);function Nr(e,t){K(jr,e=cc),K(kr,t),cc=e|t.baseLanes}function Cr(){K(jr,cc),K(kr,kr.current)}function Er(){cc=jr.current,G(kr),G(jr)}var Ar=q(null),zr=null;function Tr(e){var t=e.alternate;K(Ir,1&Ir.current),K(Ar,e),null===zr&&(null===t||null!==kr.current||null!==t.memoizedState)&&(zr=e)}function Rr(e){if(22===e.tag){if(K(Ir,Ir.current),K(Ar,e),null===zr){var t=e.alternate;null!==t&&null!==t.memoizedState&&(zr=e)}}else Fr()}function Fr(){K(Ir,Ir.current),K(Ar,Ar.current)}function Pr(e){G(Ar),zr===e&&(zr=null),G(Ir)}var Ir=q(0);function Mr(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Lr="undefined"!==typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Or=a.unstable_scheduleCallback,Dr=a.unstable_NormalPriority,Hr={$$typeof:y,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function _r(){return{controller:new Lr,data:new Map,refCount:0}}function Wr(e){e.refCount--,0===e.refCount&&Or(Dr,function(){e.controller.abort()})}var Ur=null,Vr=0,Yr=0,Br=null;function qr(){if(0===--Vr&&null!==Ur){null!==Br&&(Br.status="fulfilled");var e=Ur;Ur=null,Yr=0,Br=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Gr=T.S;T.S=function(e,t){"object"===typeof t&&null!==t&&"function"===typeof t.then&&function(e,t){if(null===Ur){var n=Ur=[];Vr=0,Yr=wd(),Br={status:"pending",value:void 0,then:function(e){n.push(e)}}}Vr++,t.then(qr,qr)}(0,t),null!==Gr&&Gr(e,t)};var Kr=q(null);function Qr(){var e=Kr.current;return null!==e?e:tc.pooledCache}function $r(e,t){K(Kr,null===t?Kr.current:t.pool)}function Jr(){var e=Qr();return null===e?null:{parent:Hr._currentValue,pool:e}}var Xr=0,Zr=null,eo=null,to=null,no=!1,ao=!1,ro=!1,oo=0,io=0,so=null,lo=0;function co(){throw Error(i(321))}function uo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Kn(e[n],t[n]))return!1;return!0}function fo(e,t,n,a,r,o){return Xr=o,Zr=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,T.H=null===e||null===e.memoizedState?Ci:Ei,ro=!1,o=n(a,r),ro=!1,ao&&(o=po(t,n,a,r)),ho(e),o}function ho(e){T.H=Ni;var t=null!==eo&&null!==eo.next;if(Xr=0,to=eo=Zr=null,no=!1,io=0,so=null,t)throw Error(i(300));
vendor: 4,414 bytes, line 2
2null===e||Yi||null!==(e=e.dependencies)&&ks(e)&&(Yi=!0)}function po(e,t,n,a){Zr=e;var r=0;do{if(ao&&(so=null),io=0,ao=!1,25<=r)throw Error(i(301));if(r+=1,to=eo=null,null!=e.updateQueue){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,null!=o.memoCache&&(o.memoCache.index=0)}T.H=Ai,o=t(n,a)}while(ao);return o}function mo(){var e=T.H,t=e.useState()[0];return t="function"===typeof t.then?wo(t):t,e=e.useState()[0],(null!==eo?eo.memoizedState:null)!==e&&(Zr.flags|=1024),t}function yo(){var e=0!==oo;return oo=0,e}function go(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function vo(e){if(no){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}no=!1}Xr=0,to=eo=Zr=null,ao=!1,io=oo=0,so=null}function bo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===to?Zr.memoizedState=to=e:to=to.next=e,to}function xo(){if(null===eo){var e=Zr.alternate;e=null!==e?e.memoizedState:null}else e=eo.next;var t=null===to?Zr.memoizedState:to.next;if(null!==t)to=t,eo=e;else{if(null===e){if(null===Zr.alternate)throw Error(i(467));throw Error(i(310))}e={memoizedState:(eo=e).memoizedState,baseState:eo.baseState,baseQueue:eo.baseQueue,queue:eo.queue,next:null},null===to?Zr.memoizedState=to=e:to=to.next=e}return to}function wo(e){var t=io;return io+=1,null===so&&(so=[]),e=ur(so,e,t),t=Zr,null===(null===to?t.memoizedState:to.next)&&(t=t.alternate,T.H=null===t||null===t.memoizedState?Ci:Ei),e}function So(e){if(null!==e&&"object"===typeof e){if("function"===typeof e.then)return wo(e);if(e.$$typeof===y)return Ns(e)}throw Error(i(438,String(e)))}function ko(e){var t=null,n=Zr.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var a=Zr.alternate;null!==a&&(null!==(a=a.updateQueue)&&(null!=(a=a.memoCache)&&(t={data:a.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},Zr.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=k;return t.index++,n}function jo(e,t){return"function"===typeof t?t(e):t}function No(e){return Co(xo(),eo,e)}function Co(e,t,n){var a=e.queue;if(null===a)throw Error(i(311));a.lastRenderedReducer=n;var r=e.baseQueue,o=a.pending;if(null!==o){if(null!==r){var s=r.next;r.next=o.next,o.next=s}t.baseQueue=r=o,a.pending=null}if(o=e.baseState,null===r)e.memoizedState=o;else{var l=s=null,c=null,d=t=r.next,u=!1;do{var f=-536870913&d.lane;if(f!==d.lane?(ac&f)===f:(Xr&f)===f){var h=d.revertLane;if(0===h)null!==c&&(c=c.next={lane:0,revertLane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),f===Yr&&(u=!0);else{if((Xr&h)===h){d=d.next,h===Yr&&(u=!0);continue}f={lane:0,revertLane:d.revertLane,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null},null===c?(l=c=f,s=o):c=c.next=f,Zr.lanes|=h,uc|=h}f=d.action,ro&&n(o,f),o=d.hasEagerState?d.eagerState:n(o,f)}else h={lane:f,revertLane:d.revertLane,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null},null===c?(l=c=h,s=o):c=c.next=h,Zr.lanes|=f,uc|=f;d=d.next}while(null!==d&&d!==t);if(null===c?s=o:c.next=l,!Kn(o,e.memoizedState)&&(Yi=!0,u&&null!==(n=Br)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=c,a.lastRenderedState=o}return null===r&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Eo(e){var t=xo(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var a=n.dispatch,r=n.pending,o=t.memoizedState;if(null!==r){n.pending=null;var s=r=r.next;do{o=e(o,s.action),s=s.next}while(s!==r);Kn(o,t.memoizedState)||(Yi=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,a]}function Ao(e,t,n){var a=Zr,r=xo(),o=$a;if(o){if(void 0===n)throw Error(i(407));n=n()}else n=t();var s=!Kn((eo||r).memoizedState,n);if(s&&(r.memoizedState=n,Yi=!0),r=r.queue,Zo(Ro.bind(null,a,r,e),[e]),r.getSnapshot!==t||s||null!==to&&1&to.memoizedState.tag){if(a.flags|=2048,Ko(9,To.bind(null,a,r,n,t),{destroy:void 0},null),null===tc)throw Error(i(349));o||0!==(60&Xr)||zo(a,t,n)}return n}function zo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Zr.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},Zr.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function To(e,t,n,a){t.value=n,t.getSnapshot=a,Fo(t)&&Po(e)}
2function Ro(e,t,n){return n(function(){Fo(t)&&Po(e)})}function Fo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Kn(e,n)}catch(a){return!0}}function Po(e){var t=za(e,2);null!==t&&Fc(t,e,2)}function Io(e){var t=bo();if("function"===typeof e){var n=e;if(e=n(),ro){be(!0);try{n()}finally{be(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jo,lastRenderedState:e},t}function Mo(e,t,n,a){return e.baseState=n,Co(e,eo,"function"===typeof a?a:jo)}function Lo(e,t,n,a,r){if(Si(e))throw Error(i(485));if(null!==(e=t.action)){var o={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};null!==T.T?n(!0):o.isTransition=!1,a(o),null===(n=t.pending)?(o.next=t.pending=o,Oo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Oo(e,t){var n=t.action,a=t.payload,r=e.state;if(t.isTransition){var o=T.T,i={};T.T=i;try{var s=n(r,a),l=T.S;null!==l&&l(i,s),Do(e,t,s)}catch(c){_o(e,t,c)}finally{T.T=o}}else try{Do(e,t,o=n(r,a))}catch(d){_o(e,t,d)}}function Do(e,t,n){null!==n&&"object"===typeof n&&"function"===typeof n.then?n.then(function(n){Ho(e,t,n)},function(n){return _o(e,t,n)}):Ho(e,t,n)}function Ho(e,t,n){t.status="fulfilled",t.value=n,Wo(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,Oo(e,n)))}function _o(e,t,n){var a=e.pending;if(e.pending=null,null!==a){a=a.next;do{t.status="rejected",t.reason=n,Wo(t),t=t.next}while(t!==a)}e.action=null}function Wo(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Uo(e,t){return t}function Vo(e,t){if($a){var n=tc.formState;if(null!==n){e:{var a=Zr;if($a){if(Qa){t:{for(var r=Qa,o=Xa;8!==r.nodeType;){if(!o){r=null;break t}if(null===(r=su(r.nextSibling))){r=null;break t}}r="F!"===(o=r.data)||"F"===o?r:null}if(r){Qa=su(r.nextSibling),a="F!"===r.data;break e}}er(a)}a=!1}a&&(t=n[0])}}return(n=bo()).memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:t},n.queue=a,n=bi.bind(null,Zr,a),a.dispatch=n,a=Io(!1),o=wi.bind(null,Zr,!1,a.queue),r={state:t,dispatch:null,action:e,pending:null},(a=bo()).queue=r,n=Lo.bind(null,Zr,r,o,n),r.dispatch=n,a.memoizedState=e,[t,n,!1]}function Yo(e){return Bo(xo(),eo,e)}function Bo(e,t,n){t=Co(e,t,Uo)[0],e=No(jo)[0],t="object"===typeof t&&null!==t&&"function"===typeof t.then?wo(t):t;var a=xo(),r=a.queue,o=r.dispatch;return n!==a.memoizedState&&(Zr.flags|=2048,Ko(9,qo.bind(null,r,n),{destroy:void 0},null)),[t,o,e]}function qo(e,t){e.action=t}function Go(e){var t=xo(),n=eo;if(null!==n)return Bo(t,n,e);xo(),t=t.memoizedState;var a=(n=xo()).queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Ko(e,t,n,a){return e={tag:e,create:t,inst:n,deps:a,next:null},null===(t=Zr.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},Zr.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Qo(){return xo().memoizedState}function $o(e,t,n,a){var r=bo();Zr.flags|=e,r.memoizedState=Ko(1|t,n,{destroy:void 0},void 0===a?null:a)}function Jo(e,t,n,a){var r=xo();a=void 0===a?null:a;var o=r.memoizedState.inst;null!==eo&&null!==a&&uo(a,eo.memoizedState.deps)?r.memoizedState=Ko(t,n,o,a):(Zr.flags|=e,r.memoizedState=Ko(1|t,n,o,a))}function Xo(e,t){$o(8390656,8,e,t)}function Zo(e,t){Jo(2048,8,e,t)}function ei(e,t){return Jo(4,2,e,t)}function ti(e,t){return Jo(4,4,e,t)}function ni(e,t){if("function"===typeof t){e=e();var n=t(e);return function(){"function"===typeof n?n():t(null)}}if(null!==t&&void 0!==t)return e=e(),t.current=e,function(){t.current=null}}function ai(e,t,n){n=null!==n&&void 0!==n?n.concat([e]):null,Jo(4,4,ni.bind(null,t,e),n)}function ri(){}function oi(e,t){var n=xo();t=void 0===t?null:t;var a=n.memoizedState;return null!==t&&uo(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function ii(e,t){var n=xo();t=void 0===t?null:t;var a=n.memoizedState;if(null!==t&&uo(t,a[1]))return a[0];if(a=e(),ro){be(!0);try{e()}finally{be(!1)}}return n.memoizedState=[a,t],a}function si(e,t,n){return void 0===n||0!==(1073741824&Xr)?e.memoizedState=t:(e.memoizedState=n,e=Rc(),Zr.lanes|=e,uc|=e,n)}function li(e,t,n,a){return Kn(n,t)?n:null!==kr.current?(e=si(e,n,a),Kn(e,t)||(Yi=!0),e):0===(42&Xr)?(Yi=!0,e.memoizedState=n):(e=Rc(),Zr.lanes|=e,uc|=e,t)}function ci(e,t,n,a,r){var o=U.p;U.p=0!==o&&8>o?o:8;var i=T.T,s={};T.T=s,wi(e,!1,t,n);try{var l=r(),c=T.S;if(null!==c&&c(s,l),null!==l&&"object"===typeof l&&"function"===typeof l.then)xi(e,t,function(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(a.status="rejected",a.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),a}(l,a),Tc());else xi(e,t,a,Tc())}catch(d){xi(e,t,{then:function(){},status:"rejected",reason:d},Tc())}finally{U.p=o,T.T=i}}function di(){}function ui(e,t,n,a){if(5!==e.tag)throw Error(i(476));var r=fi(e).queue;ci(e,r,t,V,null===n?di:function(){return hi(e),n(a)})}function fi(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:V,baseState:V,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:jo,lastRenderedState:V},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:jo,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function hi(e){xi(e,fi(e).next.queue,{},Tc())}function pi(){return Ns(Lu)}function mi(){return xo().memoizedState}function yi(){return xo().memoizedState}function gi(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Tc(),a=Fs(t,e=Rs(n),n);return null!==a&&(Fc(a,t,n),Ps(a,t,n)),t={cache:_r()},void(e.payload=t)}t=t.return}}
vendor: 4,264 bytes, line 2
2function vi(e,t,n){var a=Tc();n={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Si(e)?ki(t,n):null!==(n=Aa(e,t,n,a))&&(Fc(n,e,a),ji(n,t,a))}function bi(e,t,n){xi(e,t,n,Tc())}function xi(e,t,n,a){var r={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Si(e))ki(t,r);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=o(i,n);if(r.hasEagerState=!0,r.eagerState=s,Kn(s,i))return Ea(e,t,r,0),null===tc&&Ca(),!1}catch(l){}if(null!==(n=Aa(e,t,r,a)))return Fc(n,e,a),ji(n,t,a),!0}return!1}function wi(e,t,n,a){if(a={lane:2,revertLane:wd(),action:a,hasEagerState:!1,eagerState:null,next:null},Si(e)){if(t)throw Error(i(479))}else null!==(t=Aa(e,n,a,2))&&Fc(t,e,2)}function Si(e){var t=e.alternate;return e===Zr||null!==t&&t===Zr}function ki(e,t){ao=no=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ji(e,t,n){if(0!==(4194176&n)){var a=t.lanes;n|=a&=e.pendingLanes,t.lanes=n,Ie(e,n)}}var Ni={readContext:Ns,use:So,useCallback:co,useContext:co,useEffect:co,useImperativeHandle:co,useLayoutEffect:co,useInsertionEffect:co,useMemo:co,useReducer:co,useRef:co,useState:co,useDebugValue:co,useDeferredValue:co,useTransition:co,useSyncExternalStore:co,useId:co};Ni.useCacheRefresh=co,Ni.useMemoCache=co,Ni.useHostTransitionStatus=co,Ni.useFormState=co,Ni.useActionState=co,Ni.useOptimistic=co;var Ci={readContext:Ns,use:So,useCallback:function(e,t){return bo().memoizedState=[e,void 0===t?null:t],e},useContext:Ns,useEffect:Xo,useImperativeHandle:function(e,t,n){n=null!==n&&void 0!==n?n.concat([e]):null,$o(4194308,4,ni.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $o(4194308,4,e,t)},useInsertionEffect:function(e,t){$o(4,2,e,t)},useMemo:function(e,t){var n=bo();t=void 0===t?null:t;var a=e();if(ro){be(!0);try{e()}finally{be(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=bo();if(void 0!==n){var r=n(t);if(ro){be(!0);try{n(t)}finally{be(!1)}}}else r=t;return a.memoizedState=a.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},a.queue=e,e=e.dispatch=vi.bind(null,Zr,e),[a.memoizedState,e]},useRef:function(e){return e={current:e},bo().memoizedState=e},useState:function(e){var t=(e=Io(e)).queue,n=bi.bind(null,Zr,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ri,useDeferredValue:function(e,t){return si(bo(),e,t)},useTransition:function(){var e=Io(!1);return e=ci.bind(null,Zr,e.queue,!0,!1),bo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=Zr,r=bo();if($a){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===tc)throw Error(i(349));0!==(60&ac)||zo(a,t,n)}r.memoizedState=n;var o={value:n,getSnapshot:t};return r.queue=o,Xo(Ro.bind(null,a,o,e),[e]),a.flags|=2048,Ko(9,To.bind(null,a,o,n,t),{destroy:void 0},null),n},useId:function(){var e=bo(),t=tc.identifierPrefix;if($a){var n=Va;t=":"+t+"R"+(n=(Ua&~(1<<32-xe(Ua)-1)).toString(32)+n),0<(n=oo++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=lo++).toString(32)+":";return e.memoizedState=t},useCacheRefresh:function(){return bo().memoizedState=gi.bind(null,Zr)}};Ci.useMemoCache=ko,Ci.useHostTransitionStatus=pi,Ci.useFormState=Vo,Ci.useActionState=Vo,Ci.useOptimistic=function(e){var t=bo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=wi.bind(null,Zr,!0,n),n.dispatch=t,[e,t]};var Ei={readContext:Ns,use:So,useCallback:oi,useContext:Ns,useEffect:Zo,useImperativeHandle:ai,useInsertionEffect:ei,useLayoutEffect:ti,useMemo:ii,useReducer:No,useRef:Qo,useState:function(){return No(jo)},useDebugValue:ri,useDeferredValue:function(e,t){return li(xo(),eo.memoizedState,e,t)},useTransition:function(){var e=No(jo)[0],t=xo().memoizedState;return["boolean"===typeof e?e:wo(e),t]},useSyncExternalStore:Ao,useId:mi};Ei.useCacheRefresh=yi,Ei.useMemoCache=ko,Ei.useHostTransitionStatus=pi,Ei.useFormState=Yo,Ei.useActionState=Yo,Ei.useOptimistic=function(e,t){return Mo(xo(),0,e,t)};var Ai={readContext:Ns,use:So,useCallback:oi,useContext:Ns,useEffect:Zo,useImperativeHandle:ai,useInsertionEffect:ei,useLayoutEffect:ti,useMemo:ii,useReducer:Eo,useRef
2:Qo,useState:function(){return Eo(jo)},useDebugValue:ri,useDeferredValue:function(e,t){var n=xo();return null===eo?si(n,e,t):li(n,eo.memoizedState,e,t)},useTransition:function(){var e=Eo(jo)[0],t=xo().memoizedState;return["boolean"===typeof e?e:wo(e),t]},useSyncExternalStore:Ao,useId:mi};function zi(e,t,n,a){n=null===(n=n(a,t=e.memoizedState))||void 0===n?t:R({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}Ai.useCacheRefresh=yi,Ai.useMemoCache=ko,Ai.useHostTransitionStatus=pi,Ai.useFormState=Go,Ai.useActionState=Go,Ai.useOptimistic=function(e,t){var n=xo();return null!==eo?Mo(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])};var Ti={isMounted:function(e){return!!(e=e._reactInternals)&&O(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var a=Tc(),r=Rs(a);r.payload=t,void 0!==n&&null!==n&&(r.callback=n),null!==(t=Fs(e,r,a))&&(Fc(t,e,a),Ps(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=Tc(),r=Rs(a);r.tag=1,r.payload=t,void 0!==n&&null!==n&&(r.callback=n),null!==(t=Fs(e,r,a))&&(Fc(t,e,a),Ps(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Tc(),a=Rs(n);a.tag=2,void 0!==t&&null!==t&&(a.callback=t),null!==(t=Fs(e,a,n))&&(Fc(t,e,n),Ps(t,e,n))}};function Ri(e,t,n,a,r,o,i){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(a,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!Qn(n,a)||!Qn(r,o))}function Fi(e,t,n,a){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,a),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&Ti.enqueueReplaceState(t,t.state,null)}function Pi(e,t){var n=t;if("ref"in t)for(var a in n={},t)"ref"!==a&&(n[a]=t[a]);if(e=e.defaultProps)for(var r in n===t&&(n=R({},n)),e)void 0===n[r]&&(n[r]=e[r]);return n}var Ii="function"===typeof reportError?reportError:function(e){if("object"===typeof window&&"function"===typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"===typeof e&&null!==e&&"string"===typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"===typeof process&&"function"===typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function Mi(e){Ii(e)}function Li(e){console.error(e)}function Oi(e){Ii(e)}function Di(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function Hi(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function _i(e,t,n){return(n=Rs(n)).tag=3,n.payload={element:null},n.callback=function(){Di(e,t)},n}function Wi(e){return(e=Rs(e)).tag=3,e}function Ui(e,t,n,a){var r=n.type.getDerivedStateFromError;if("function"===typeof r){var o=a.value;e.payload=function(){return r(o)},e.callback=function(){Hi(t,n,a)}}var i=n.stateNode;null!==i&&"function"===typeof i.componentDidCatch&&(e.callback=function(){Hi(t,n,a),"function"!==typeof r&&(null===Sc?Sc=new Set([this]):Sc.add(this));var e=a.stack;this.componentDidCatch(a.value,{componentStack:null!==e?e:""})})}var Vi=Error(i(461)),Yi=!1;function Bi(e,t,n,a){t.child=null===e?Sr(t,null,n,a):wr(t,e.child,n,a)}function qi(e,t,n,a,r){n=n.render;var o=t.ref;if("ref"in a){var i={};for(var s in a)"ref"!==s&&(i[s]=a[s])}else i=a;return js(t),a=fo(e,t,n,i,o,r),s=yo(),null===e||Yi?($a&&s&&qa(t),t.flags|=1,Bi(e,t,a,r),t.child):(go(e,t,r),fs(e,t,r))}function Gi(e,t,n,a,r){if(null===e){var o=n.type;return"function"!==typeof o||Ll(o)||void 0!==o.defaultProps||null!==n.compare?((e=Hl(n.type,null,a,t,t.mode,r)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ki(e,t,o,a,r))}if(o=e.child,!hs(e,r)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:Qn)(i,a)&&e.ref===t.ref)return fs(e,t,r)}return t.flags|=1,(e=Ol(o,a)).ref=t.ref,e.return=t,t.child=e}function Ki(e,t,n,a,r){if(null!==e){var o=e.memoizedProps;if(Qn(o,a)&&e.ref===t.ref){if(Yi=!1,t.pendingProps=a=o,!hs(e,r))return t.lanes=e.lanes,fs(e,t,r);0!==(131072&e.flags)&&(Yi=!0)}}return Xi(e,t,n,a,r)}function Qi(e,t,n){var a=t.pendingProps,r=a.children,o=0!==(2&t.stateNode._pendingVisibility),i=null!==e?e.memoizedState:null;if(Ji(e,t),"hidden"===a.mode||o){if(0!==(128&t.flags)){if(a=null!==i?i.baseLanes|n:n,null!==e){for(r=t.child=e.child,o=0;null!==r;)o=o|r.lanes|r.childLanes,r=r.sibling;t.childLanes=o&~a}else t.childLanes=0,t.child=null;return $i(e,t,a,n)}if(0===(536870912&n))return t.lanes=t.childLanes=536870912,$i(e,t,null!==i?i.baseLanes|n:n,n);t.memoizedState={baseLanes:0,cachePool:null}
2,null!==e&&$r(0,null!==i?i.cachePool:null),null!==i?Nr(t,i):Cr(),Rr(t)}else null!==i?($r(0,i.cachePool),Nr(t,i),Fr(),t.memoizedState=null):(null!==e&&$r(0,null),Cr(),Fr());return Bi(e,t,r,n),t.child}function $i(e,t,n,a){var r=Qr();return r=null===r?null:{parent:Hr._currentValue,pool:r},t.memoizedState={baseLanes:n,cachePool:r},null!==e&&$r(0,null),Cr(),Rr(t),null!==e&&Ss(e,t,a,!0),null}function Ji(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=2097664);else{if("function"!==typeof n&&"object"!==typeof n)throw Error(i(284));null!==e&&e.ref===n||(t.flags|=2097664)}}function Xi(e,t,n,a,r){return js(t),n=fo(e,t,n,a,void 0,r),a=yo(),null===e||Yi?($a&&a&&qa(t),t.flags|=1,Bi(e,t,n,r),t.child):(go(e,t,r),fs(e,t,r))}function Zi(e,t,n,a,r,o){return js(t),t.updateQueue=null,n=po(t,a,n,r),ho(e),a=yo(),null===e||Yi?($a&&a&&qa(t),t.flags|=1,Bi(e,t,n,o),t.child):(go(e,t,o),fs(e,t,o))}function es(e,t,n,a,r){if(js(t),null===t.stateNode){var o=Fa,i=n.contextType;"object"===typeof i&&null!==i&&(o=Ns(i)),o=new n(a,o),t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,o.updater=Ti,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=a,o.state=t.memoizedState,o.refs={},zs(t),i=n.contextType,o.context="object"===typeof i&&null!==i?Ns(i):Fa,o.state=t.memoizedState,"function"===typeof(i=n.getDerivedStateFromProps)&&(zi(t,n,i,a),o.state=t.memoizedState),"function"===typeof n.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(i=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),i!==o.state&&Ti.enqueueReplaceState(o,o.state,null),Os(t,a,o,r),Ls(),o.state=t.memoizedState),"function"===typeof o.componentDidMount&&(t.flags|=4194308),a=!0}else if(null===e){o=t.stateNode;var s=t.memoizedProps,l=Pi(n,s);o.props=l;var c=o.context,d=n.contextType;i=Fa,"object"===typeof d&&null!==d&&(i=Ns(d));var u=n.getDerivedStateFromProps;d="function"===typeof u||"function"===typeof o.getSnapshotBeforeUpdate,s=t.pendingProps!==s,d||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s||c!==i)&&Fi(t,o,a,i),As=!1;var f=t.memoizedState;o.state=f,Os(t,a,o,r),Ls(),c=t.memoizedState,s||f!==c||As?("function"===typeof u&&(zi(t,n,u,a),c=t.memoizedState),(l=As||Ri(t,n,l,a,f,c,i))?(d||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||("function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"===typeof o.componentDidMount&&(t.flags|=4194308)):("function"===typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=c),o.props=a,o.state=c,o.context=i,a=l):("function"===typeof o.componentDidMount&&(t.flags|=4194308),a=!1)}else{o=t.stateNode,Ts(e,t),d=Pi(n,i=t.memoizedProps),o.props=d,u=t.pendingProps,f=o.context,c=n.contextType,l=Fa,"object"===typeof c&&null!==c&&(l=Ns(c)),(c="function"===typeof(s=n.getDerivedStateFromProps)||"function"===typeof o.getSnapshotBeforeUpdate)||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(i!==u||f!==l)&&Fi(t,o,a,l),As=!1,f=t.memoizedState,o.state=f,Os(t,a,o,r),Ls();var h=t.memoizedState;i!==u||f!==h||As||null!==e&&null!==e.dependencies&&ks(e.dependencies)?("function"===typeof s&&(zi(t,n,s,a),h=t.memoizedState),(d=As||Ri(t,n,d,a,f,h,l)||null!==e&&null!==e.dependencies&&ks(e.dependencies))?(c||"function"!==typeof o.UNSAFE_componentWillUpdate&&"function"!==typeof o.componentWillUpdate||("function"===typeof o.componentWillUpdate&&o.componentWillUpdate(a,h,l),"function"===typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(a,h,l)),"function"===typeof o.componentDidUpdate&&(t.flags|=4),"function"===typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=h),o.props=a,o.state=h,o.context=l,a=d):("function"!==typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),a=!1)}return o=a,Ji(e,t),a=0!==(128&t.flags),o||a?(o=t.stateNode,n=a&&"function"!==typeof n.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&a?(t.child=wr(t,e.child,null,r),t.child=wr(t,null,n,r)):Bi(e,t,n,r),t.memoizedState=o.state,e=t.child):e=fs(e,t,r),e}function ts(e,t,n,a){return rr(),t.flags|=256,Bi(e,t,n,a),t.child}var ns={dehydrated:null,treeContext:null,retryLane:0};function as(e){return{baseLanes:e,cachePool:Jr()}}function rs(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=pc),e}function os(e,t,n){var a,r=t.pendingProps,o=!1,s=0!==(128&t.flags);if((a=s)||(a=(null===e||null!==e.memoizedState)&&0!==(2&Ir.current)),a&&(o=!0,t.flags&=-129),a=0!==(32&t.flags),t.flags&=-33,null===e){if($a){if(o?Tr(t):Fr(),$a){var l,c=Qa;if(l=c){e:{for(l=c,c=Xa;8!==l.nodeType;){if(!c){c=null;break e}if(null===(l=su(l.nextSibling))){c=null;break e}}c=l}null!==c?(t.memoizedState={dehydrated:c,treeContext:null!==Wa?{id:Ua,overflow:Va}:null,retryLane:536870912},(l=Ml(18,null,null,0)).stateNode=c,l.return=t,t.child=l,Ka=t,Qa=null,l=!0):l=!1}l||er(t)}if(null!==(c=t.memoizedState)&&null!==(c=c.dehydrated))return"$!"===c.data?t.lanes=16:t.lanes=536870912,null;Pr(t)}return c=r.children,r=r.fallback,o?(Fr(),c=ss({mode:"hidden",children:c},o=t.mode),r=_l(r,o,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,(o=t.child).memoizedState=as(n),o.childLanes=rs(e,a,n),t.memoizedState=ns,r):(Tr(t),is(t,c))}if(null!==(l=e.memoizedState)&&null!==(c=l.dehydrated)){if(s)256&t.flags?(Tr(t),t.flags&=-257,t=ls(e,t,n)):null!==t.memoizedState?(Fr(),t.child=e.child,t.flags|=128,t=null):(Fr(),o=r.fallback,
vendor: 34,239 bytes, line 2
2c=t.mode,r=ss({mode:"visible",children:r.children},c),(o=_l(o,c,n,null)).flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,wr(t,e.child,null,n),(r=t.child).memoizedState=as(n),r.childLanes=rs(e,a,n),t.memoizedState=ns,t=o);else if(Tr(t),"$!"===c.data){if(a=c.nextSibling&&c.nextSibling.dataset)var d=a.dgst;a=d,(r=Error(i(419))).stack="",r.digest=a,or({value:r,source:null,stack:null}),t=ls(e,t,n)}else if(Yi||Ss(e,t,n,!1),a=0!==(n&e.childLanes),Yi||a){if(null!==(a=tc)){if(0!==(42&(r=n&-n)))r=1;else switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=16;break;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:case 4194304:case 8388608:case 16777216:case 33554432:r=64;break;case 268435456:r=134217728;break;default:r=0}if(0!==(r=0!==(r&(a.suspendedLanes|n))?0:r)&&r!==l.retryLane)throw l.retryLane=r,za(e,r),Fc(a,e,r),Vi}"$?"===c.data||Yc(),t=ls(e,t,n)}else"$?"===c.data?(t.flags|=128,t.child=e.child,t=sd.bind(null,e),c._reactRetry=t,t=null):(e=l.treeContext,Qa=su(c.nextSibling),Ka=t,$a=!0,Ja=null,Xa=!1,null!==e&&(Ha[_a++]=Ua,Ha[_a++]=Va,Ha[_a++]=Wa,Ua=e.id,Va=e.overflow,Wa=t),(t=is(t,r.children)).flags|=4096);return t}return o?(Fr(),o=r.fallback,c=t.mode,d=(l=e.child).sibling,(r=Ol(l,{mode:"hidden",children:r.children})).subtreeFlags=31457280&l.subtreeFlags,null!==d?o=Ol(d,o):(o=_l(o,c,n,null)).flags|=2,o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,null===(c=e.child.memoizedState)?c=as(n):(null!==(l=c.cachePool)?(d=Hr._currentValue,l=l.parent!==d?{parent:d,pool:d}:l):l=Jr(),c={baseLanes:c.baseLanes|n,cachePool:l}),o.memoizedState=c,o.childLanes=rs(e,a,n),t.memoizedState=ns,r):(Tr(t),e=(n=e.child).sibling,(n=Ol(n,{mode:"visible",children:r.children})).return=t,n.sibling=null,null!==e&&(null===(a=t.deletions)?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=n,t.memoizedState=null,n)}function is(e,t){return(t=ss({mode:"visible",children:t},e.mode)).return=e,e.child=t}function ss(e,t){return Wl(e,t,0,null)}function ls(e,t,n){return wr(t,e.child,null,n),(e=is(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function cs(e,t,n){e.lanes|=t;var a=e.alternate;null!==a&&(a.lanes|=t),xs(e.return,t,n)}function ds(e,t,n,a,r){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:r}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=a,o.tail=n,o.tailMode=r)}function us(e,t,n){var a=t.pendingProps,r=a.revealOrder,o=a.tail;if(Bi(e,t,a.children,n),0!==(2&(a=Ir.current)))a=1&a|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&cs(e,n,t);else if(19===e.tag)cs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}switch(K(Ir,a),r){case"forwards":for(n=t.child,r=null;null!==n;)null!==(e=n.alternate)&&null===Mr(e)&&(r=n),n=n.sibling;null===(n=r)?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),ds(t,!1,r,n,o);break;case"backwards":for(n=null,r=t.child,t.child=null;null!==r;){if(null!==(e=r.alternate)&&null===Mr(e)){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}ds(t,!0,n,null,o);break;case"together":ds(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function fs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),uc|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(Ss(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Ol(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ol(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function hs(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!ks(e))}function ps(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)Yi=!0;else{if(!hs(e,n)&&0===(128&t.flags))return Yi=!1,function(e,t,n){switch(t.tag){case 3:Z(t,t.stateNode.containerInfo),vs(t,Hr,e.memoizedState.cache),rr();break;case 27:case 5:te(t);break;case 4:Z(t,t.stateNode.containerInfo);break;case 10:vs(t,t.type,t.memoizedProps.value);break;case 13:var a=t.memoizedState;if(null!==a)return null!==a.dehydrated?(Tr(t),t.flags|=128,null):0!==(n&t.child.childLanes)?os(e,t,n):(Tr(t),null!==(e=fs(e,t,n))?e.sibling:null);Tr(t);break;case 19:var r=0!==(128&e.flags);if((a=0!==(n&t.childLanes))||(Ss(e,t,n,!1),a=0!==(n&t.childLanes)),r){if(a)return us(e,t,n);t.flags|=128}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null,r.lastEffect=null),K(Ir,Ir.current),a)break;return null;case 22:case 23:return t.lanes=0,Qi(e,t,n);case 24:vs(t,Hr,e.memoizedState.cache)}return fs(e,t,n)}(e,t,n);Yi=0!==(131072&e.flags)}else Yi=!1,$a&&0!==(1048576&t.flags)&&Ba(t,Da,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var a=t.elementType,r=a._init;if(a=r(a._payload),t.type=a,"function"!==typeof a){if(void 0!==a&&null!==a){if((r=a.$$typeof)===g){t.tag=11,t=qi(null,t,a,e,n);break e}if(r===x){t.tag=14,t=Gi(null,t,a,e,n);break e}}throw t=E(a)||a,Error(i(306,t,""))}Ll(a)?(e=Pi(a,e),t.tag=1,t=es(null,t,a,e,n)):(t.tag=0,t=Xi(null,t,a,e,n))}return t;case 0:return Xi(e,t,t.type,t.pendingProps,n);case 1:return es(e,t,a=t.type,r=Pi(a,t.pendingProps),n);case 3:e:{if(Z(t,t.stateNode.containerInfo),null===e)throw Error(i(387));var o=t.pendingProps;a=(r=t.memoizedState).element,Ts(e,t),Os(t,o,null,n);var s=t.memoizedState;if(o=s.cache,vs(t,Hr,o),o!==r.cache&&ws(t,[Hr],n,!0),Ls(),o=s.element,r.isDehydrated){if(r={element:o,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=r,t.memoizedState=r,256&t.flags){t=ts(e,t,o,n);break e}if(o!==a){or(a=Ia(Error(i(424)),t)),t=ts(e,t,o,n);break e}for(Qa=su(t.stateNode.containerInfo.firstChild),Ka=t,$a=!0,Ja=null,Xa=!0,n=Sr(t,null,o,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(rr(),o===a){t=fs(e,t,n);break e}Bi(e,t,o,n)}t=t.child}return t;case 26:return Ji(e,t),null===e?(n=yu(t.type,null,t.pendingProps,null))?t.memoizedState=n:$a||(n=t.type,e=t.pendingProps,(a=Qd(J.current).createElement(n))[De]=t,a[He]=e,qd(a,n,e),Je(a),t.stateNode=a):t.memoizedState=yu(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return te(t),null===e&&$a&&(a=t.stateNode=cu(t.type,t.pendingProps,J.current),Ka=t,Xa=!0,Qa=su(a.firstChild)),a=t.pendingProps.children,null!==e||$a?Bi(e,t,a,n):t.child=wr(t,null,a,n),Ji(e,t),t.child;case 5:return null===e&&$a&&((r=a=Qa)&&(null!==(a=function(e,t,n,a){for(;1===e.nodeType;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(a){if(!e[Be])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(o=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(o!==r.rel||e.getAttribute("href")!==(null==r.href?null:r.href)||e.getAttribute("crossorigin")!==(null==r.crossOrigin?null:r.crossOrigin)||e.getAttribute("title")!==(null==r.title?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((o=e.getAttribute("src"))!==(null==r.src?null:r.src)||e.getAttribute("type")!==(null==r.type?null:r.type)||e.getAttribute("crossorigin")!==(null==r.crossOrigin?null:r.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var o=null==r.name?null:""+r.name;if("hidden"===r.type&&e.getAttribute("name")===o)return e}if(null===(e=su(e.nextSibling)))break}return null}(a,t.type,t.pendingProps,Xa))?(t.stateNode=a,Ka=t,Qa=su(a.firstChild),Xa=!1,r=!0):r=!1),r||er(t)),te(t),r=t.type,o=t.pendingProps,s=null!==e?e.memoizedProps:null,a=o.children,Xd(r,o)?a=null:null!==s&&Xd(r,s)&&(t.flags|=32),null!==t.memoizedState&&(r=fo(e,t,mo,null,null,n),Lu._currentValue=r),Ji(e,t),Bi(e,t,a,n),t.child;case 6:return null===e&&$a&&((e=n=Qa)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=su(e.nextSibling)))return null}return e}(n,t.pendingProps,Xa))?(t.stateNode=n,Ka=t,Qa=null,e=!0):e=!1),e||er(t)),null;case 13:return os(e,t,n);case 4:return Z(t,t.stateNode.containerInfo),a=t.pendingProps,null===e?t.child=wr(t,null,a,n):Bi(e,t,a,n),t.child;case 11:return qi(e,t,t.type,t.pendingProps,n);case 7:return Bi(e,t,t.pendingProps,n),t.child;case 8:case 12:return Bi(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.pendingProps,vs(t,t.type,a.value),Bi(e,t,a.children,n),t.child;case 9:return r=t.type._context,a=t.pendingProps.children,js(t),a=a(r=Ns(r)),t.flags|=1,Bi(e,t,a,n),t.child;case 14:return Gi(e,t,t.type,t.pendingProps,n);case 15:return Ki(e,t,t.type,t.pendingProps,n);case 19:return us(e,t,n);case 22:return Qi(e,t,n);case 24:return js(t),a=Ns(Hr),null===e?(null===(r=Qr())&&(r=tc,o=_r(),r.pooledCache=o,o.refCount++,null!==o&&(r.pooledCacheLanes|=n),r=o),t.memoizedState={parent:a,cache:r},zs(t),vs(t,Hr,r)):(0!==(e.lanes&n)&&(Ts(e,t),Os(t,null,null,n),Ls()),r=e.memoizedState,o=t.memoizedState,r.parent!==a?(r={parent:a,cache:a},t.memoizedState=r,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=r),vs(t,Hr,a)):(a=o.cache,vs(t,Hr,a),a!==r.cache&&ws(t,[Hr],n,!0))),Bi(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}var ms=q(null),ys=null,gs=null;function vs(e,t,n){K(ms,t._currentValue),t._currentValue=n}function bs(e){e._currentValue=ms.current,G(ms)}function xs(e,t,n){for(;null!==e;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==a&&(a.childLanes|=t)):null!==a&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function ws(e,t,n,a){var r=e.child;for(null!==r&&(r.return=e);null!==r;){var o=r.dependencies;if(null!==o){var s=r.child;o=o.firstContext;e:for(;null!==o;){var l=o;o=r;for(var c=0;c<t.length;c++)if(l.context===t[c]){o.lanes|=n,null!==(l=o.alternate)&&(l.lanes|=n),xs(o.return,n,e),a||(s=null);break e}o=l.next}}else if(18===r.tag){if(null===(s=r.return))throw Error(i(341));s.lanes|=n,null!==(o=s.alternate)&&(o.lanes|=n),xs(s,n,e),s=null}else s=r.child;if(null!==s)s.return=r;else for(s=r;null!==s;){if(s===e){s=null;break}if(null!==(r=s.sibling)){r.return=s.return,s=r;break}s=s.return}r=s}}function Ss(e,t,n,a){e=null;for(var r=t,o=!1;null!==r;){if(!o)if(0!==(524288&r.flags))o=!0;else if(0!==(262144&r.flags))break;if(10===r.tag){var s=r.alternate;if(null===s)throw Error(i(387));if(null!==(s=s.memoizedProps)){var l=r.type;Kn(r.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(r===X.current){if(null===(s=r.alternate))throw Error(i(387));s.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(null!==e?e.push(Lu):e=[Lu])}r=r.return}null!==e&&ws(t,e,n,a),t.flags|=262144}function ks(e){for(e=e.firstContext;null!==e;){if(!Kn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function js(e){ys=e,gs=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Ns(e){return Es(ys,e)}function Cs(e,t){return null===ys&&js(e),Es(e,t)}function Es(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===gs){if(null===e)throw Error(i(308));gs=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else gs=gs.next=t;return n}var As=!1;function zs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ts(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Rs(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Fs(e,t,n){var a=e.updateQueue;if(null===a)return null;if(a=a.shared,0!==(2&ec)){var r=a.pending;return null===r?t.next=t:(t.next=r.next,r.next=t),a.pending=t,t=Ra(e),Ta(e,null,n),t}return Ea(e,a,t,n),Ra(e)}function Ps(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194176&n))){var a=t.lanes;n|=a&=e.pendingLanes,t.lanes=n,Ie(e,n)}}function Is(e,t){var n=e.updateQueue,a=e.alternate;if(null!==a&&n===(a=a.updateQueue)){var r=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===o?r=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?r=o=t:o=o.next=t}else r=o=t;return n={baseState:a.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:a.shared,callbacks:a.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Ms=!1;function Ls(){if(Ms){if(null!==Br)throw Br}}function Os(e,t,n,a){Ms=!1;var r=e.updateQueue;As=!1;var o=r.firstBaseUpdate,i=r.lastBaseUpdate,s=r.shared.pending;if(null!==s){r.shared.pending=null;var l=s,c=l.next;l.next=null,null===i?o=c:i.next=c,i=l;var d=e.alternate;null!==d&&((s=(d=d.updateQueue).lastBaseUpdate)!==i&&(null===s?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l))}if(null!==o){var u=r.baseState;for(i=0,d=c=l=null,s=o;;){var f=-536870913&s.lane,h=f!==s.lane;if(h?(ac&f)===f:(a&f)===f){0!==f&&f===Yr&&(Ms=!0),null!==d&&(d=d.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var p=e,m=s;f=t;var y=n;switch(m.tag){case 1:if("function"===typeof(p=m.payload)){u=p.call(y,u,f);break e}u=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(f="function"===typeof(p=m.payload)?p.call(y,u,f):p)||void 0===f)break e;u=R({},u,f);break e;case 2:As=!0}}null!==(f=s.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=r.callbacks)?r.callbacks=[f]:h.push(f))}else h={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===d?(c=d=h,l=u):d=d.next=h,i|=f;if(null===(s=s.next)){if(null===(s=r.shared.pending))break;s=(h=s).next,h.next=null,r.lastBaseUpdate=h,r.shared.pending=null}}null===d&&(l=u),r.baseState=l,r.firstBaseUpdate=c,r.lastBaseUpdate=d,null===o&&(r.shared.lanes=0),uc|=i,e.lanes=i,e.memoizedState=u}}function Ds(e,t){if("function"!==typeof e)throw Error(i(191,e));e.call(t)}function Hs(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)Ds(n[e],t)}function _s(e,t){try{var n=t.updateQueue,a=null!==n?n.lastEffect:null;if(null!==a){var r=a.next;n=r;do{if((n.tag&e)===e){a=void 0;var o=n.create,i=n.inst;a=o(),i.destroy=a}n=n.next}while(n!==r)}}catch(s){ad(t,t.return,s)}}function Ws(e,t,n){try{var a=t.updateQueue,r=null!==a?a.lastEffect:null;if(null!==r){var o=r.next;a=o;do{if((a.tag&e)===e){var i=a.inst,s=i.destroy;if(void 0!==s){i.destroy=void 0,r=t;var l=n;try{s()}catch(c){ad(r,l,c)}}}a=a.next}while(a!==o)}}catch(c){ad(t,t.return,c)}}function Us(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{Hs(t,n)}catch(a){ad(e,e.return,a)}}}function Vs(e,t,n){n.props=Pi(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){ad(e,t,a)}}function Ys(e,t){try{var n=e.ref;if(null!==n){var a=e.stateNode;switch(e.tag){case 26:case 27:case 5:var r=a;break;default:r=a}"function"===typeof n?e.refCleanup=n(r):n.current=r}}catch(o){ad(e,t,o)}}function Bs(e,t){var n=e.ref,a=e.refCleanup;if(null!==n)if("function"===typeof a)try{a()}catch(r){ad(e,t,r)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"===typeof n)try{n(null)}catch(o){ad(e,t,o)}else n.current=null}function qs(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break e;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(r){ad(e,e.return,r)}}function Gs(e,t,n){try{var a=e.stateNode;!function(e,t,n,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,o=null,s=null,l=null,c=null,d=null,u=null;for(p in n){var f=n[p];if(n.hasOwnProperty(p)&&null!=f)switch(p){case"checked":case"value":break;case"defaultValue":c=f;default:a.hasOwnProperty(p)||Yd(e,t,p,null,a,f)}}for(var h in a){var p=a[h];if(f=n[h],a.hasOwnProperty(h)&&(null!=p||null!=f))switch(h){case"type":o=p;break;case"name":r=p;break;case"checked":d=p;break;case"defaultChecked":u=p;break;case"value":s=p;break;case"defaultValue":l=p;break;case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(i(137,t));break;default:p!==f&&Yd(e,t,h,p,a,f)}}return void yt(e,s,l,c,d,u,o,r);case"select":for(o in p=s=l=h=null,n)if(c=n[o],n.hasOwnProperty(o)&&null!=c)switch(o){case"value":break;case"multiple":p=c;default:a.hasOwnProperty(o)||Yd(e,t,o,null,a,c)}for(r in a)if(o=a[r],c=n[r],a.hasOwnProperty(r)&&(null!=o||null!=c))switch(r){case"value":h=o;break;case"defaultValue":l=o;break;case"multiple":s=o;default:o!==c&&Yd(e,t,r,o,a,c)}return t=l,n=s,a=p,void(null!=h?bt(e,!!n,h,!1):!!a!==!!n&&(null!=t?bt(e,!!n,t,!0):bt(e,!!n,n?[]:"",!1)));case"textarea":for(l in p=h=null,n)if(r=n[l],n.hasOwnProperty(l)&&null!=r&&!a.hasOwnProperty(l))switch(l){case"value":case"children":break;default:Yd(e,t,l,null,a,r)}for(s in a)if(r=a[s],o=n[s],a.hasOwnProperty(s)&&(null!=r||null!=o))switch(s){case"value":h=r;break;case"defaultValue":p=r;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=r)throw Error(i(91));break;default:r!==o&&Yd(e,t,s,r,a,o)}return void xt(e,h,p);case"option":for(var m in n)if(h=n[m],n.hasOwnProperty(m)&&null!=h&&!a.hasOwnProperty(m))if("selected"===m)e.selected=!1;else Yd(e,t,m,null,a,h);for(c in a)if(h=a[c],p=n[c],a.hasOwnProperty(c)&&h!==p&&(null!=h||null!=p))if("selected"===c)e.selected=h&&"function"!==typeof h&&"symbol"!==typeof h;else Yd(e,t,c,h,a,p);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var y in n)h=n[y],n.hasOwnProperty(y)&&null!=h&&!a.hasOwnProperty(y)&&Yd(e,t,y,null,a,h);for(d in a)if(h=a[d],p=n[d],a.hasOwnProperty(d)&&h!==p&&(null!=h||null!=p))switch(d){case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(i(137,t));break;default:Yd(e,t,d,h,a,p)}return;default:if(Ct(t)){for(var g in n)h=n[g],n.hasOwnProperty(g)&&void 0!==h&&!a.hasOwnProperty(g)&&Bd(e,t,g,void 0,a,h);for(u in a)h=a[u],p=n[u],!a.hasOwnProperty(u)||h===p||void 0===h&&void 0===p||Bd(e,t,u,h,a,p);return}}for(var v in n)h=n[v],n.hasOwnProperty(v)&&null!=h&&!a.hasOwnProperty(v)&&Yd(e,t,v,null,a,h);for(f in a)h=a[f],p=n[f],!a.hasOwnProperty(f)||h===p||null==h&&null==p||Yd(e,t,f,h,a,p)}(a,e.type,n,t),a[He]=t}catch(r){ad(e,e.return,r)}}function Ks(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag||4===e.tag}function Qs(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Ks(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&27!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function $s(e,t,n){var a=e.tag;if(5===a||6===a)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Vd));else if(4!==a&&27!==a&&null!==(e=e.child))for($s(e,t,n),e=e.sibling;null!==e;)$s(e,t,n),e=e.sibling}function Js(e,t,n){var a=e.tag;if(5===a||6===a)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==a&&27!==a&&null!==(e=e.child))for(Js(e,t,n),e=e.sibling;null!==e;)Js(e,t,n),e=e.sibling}var Xs=!1,Zs=!1,el=!1,tl="function"===typeof WeakSet?WeakSet:Set,nl=null,al=!1;function rl(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:gl(e,n),4&a&&_s(5,n);break;case 1:if(gl(e,n),4&a)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(s){ad(n,n.return,s)}else{var r=Pi(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(l){ad(n,n.return,l)}}64&a&&Us(n),512&a&&Ys(n,n.return);break;case 3:if(gl(e,n),64&a&&null!==(a=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:e=n.child.stateNode}try{Hs(a,e)}catch(s){ad(n,n.return,s)}}break;case 26:gl(e,n),512&a&&Ys(n,n.return);break;case 27:case 5:gl(e,n),null===t&&4&a&&qs(n),512&a&&Ys(n,n.return);break;case 12:default:gl(e,n);break;case 13:gl(e,n),4&a&&dl(e,n);break;case 22:if(!(r=null!==n.memoizedState||Xs)){t=null!==t&&null!==t.memoizedState||Zs;var o=Xs,i=Zs;Xs=r,(Zs=t)&&!i?bl(e,n,0!==(8772&n.subtreeFlags)):gl(e,n),Xs=o,Zs=i}512&a&&("manual"===n.memoizedProps.mode?Ys(n,n.return):Bs(n,n.return))}}function ol(e){var t=e.alternate;null!==t&&(e.alternate=null,ol(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&qe(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var il=null,sl=!1;function ll(e,t,n){for(n=n.child;null!==n;)cl(e,t,n),n=n.sibling}function cl(e,t,n){if(ve&&"function"===typeof ve.onCommitFiberUnmount)try{ve.onCommitFiberUnmount(ge,n)}catch(i){}switch(n.tag){case 26:Zs||Bs(n,t),ll(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:Zs||Bs(n,t);var a=il,r=sl;for(il=n.stateNode,ll(e,t,n),t=(n=n.stateNode).attributes;t.length;)n.removeAttributeNode(t[0]);qe(n),il=a,sl=r;break;case 5:Zs||Bs(n,t);case 6:r=il;var o=sl;if(il=null,ll(e,t,n),sl=o,null!==(il=r))if(sl)try{e=il,a=n.stateNode,8===e.nodeType?e.parentNode.removeChild(a):e.removeChild(a)}catch(s){ad(n,t,s)}else try{il.removeChild(n.stateNode)}catch(s){ad(n,t,s)}break;case 18:null!==il&&(sl?(t=il,n=n.stateNode,8===t.nodeType?ou(t.parentNode,n):1===t.nodeType&&ou(t,n),yf(t)):ou(il,n.stateNode));break;case 4:a=il,r=sl,il=n.stateNode.containerInfo,sl=!0,ll(e,t,n),il=a,sl=r;break;case 0:case 11:case 14:case 15:Zs||Ws(2,n,t),Zs||Ws(4,n,t),ll(e,t,n);break;case 1:Zs||(Bs(n,t),"function"===typeof(a=n.stateNode).componentWillUnmount&&Vs(n,t,a)),ll(e,t,n);break;case 21:ll(e,t,n);break;case 22:Zs||Bs(n,t),Zs=(a=Zs)||null!==n.memoizedState,ll(e,t,n),Zs=a;break;default:ll(e,t,n)}}function dl(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{yf(e)}catch(n){ad(t,t.return,n)}}function ul(e,t){var n=function(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new tl),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new tl),t;default:throw Error(i(435,e.tag))}}(e);t.forEach(function(t){var a=ld.bind(null,e,t);n.has(t)||(n.add(t),t.then(a,a))})}function fl(e,t){var n=t.deletions;if(null!==n)for(var a=0;a<n.length;a++){var r=n[a],o=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 27:case 5:il=l.stateNode,sl=!1;break e;case 3:case 4:il=l.stateNode.containerInfo,sl=!0;break e}l=l.return}if(null===il)throw Error(i(160));cl(o,s,r),il=null,sl=!1,null!==(o=r.alternate)&&(o.return=null),r.return=null}if(13878&t.subtreeFlags)for(t=t.child;null!==t;)pl(t,e),t=t.sibling}var hl=null;function pl(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:fl(t,e),ml(e),4&a&&(Ws(3,e,e.return),_s(3,e),Ws(5,e,e.return));break;case 1:fl(t,e),ml(e),512&a&&(Zs||null===n||Bs(n,n.return)),64&a&&Xs&&(null!==(e=e.updateQueue)&&(null!==(a=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?a:n.concat(a))));break;case 26:var r=hl;if(fl(t,e),ml(e),512&a&&(Zs||null===n||Bs(n,n.return)),4&a){var o=null!==n?n.memoizedState:null;if(a=e.memoizedState,null===n)if(null===a)if(null===e.stateNode){e:{a=e.type,n=e.memoizedProps,r=r.ownerDocument||r;t:switch(a){case"title":(!(o=r.getElementsByTagName("title")[0])||o[Be]||o[De]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=r.createElement(a),r.head.insertBefore(o,r.querySelector("head > title"))),qd(o,a,n),o[De]=e,Je(o),a=o;break e;case"link":var s=Eu("link","href",r).get(a+(n.href||""));if(s)for(var l=0;l<s.length;l++)if((o=s[l]).getAttribute("href")===(null==n.href?null:n.href)&&o.getAttribute("rel")===(null==n.rel?null:n.rel)&&o.getAttribute("title")===(null==n.title?null:n.title)&&o.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){s.splice(l,1);break t}qd(o=r.createElement(a),a,n),r.head.appendChild(o);break;case"meta":if(s=Eu("meta","content",r).get(a+(n.content||"")))for(l=0;l<s.length;l++)if((o=s[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&o.getAttribute("name")===(null==n.name?null:n.name)&&o.getAttribute("property")===(null==n.property?null:n.property)&&o.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&o.getAttribute("charset")===(null==n.charSet?null:n.charSet)){s.splice(l,1);break t}qd(o=r.createElement(a),a,n),r.head.appendChild(o);break;default:throw Error(i(468,a))}o[De]=e,Je(o),a=o}e.stateNode=a}else Au(r,e.type,e.stateNode);else e.stateNode=Su(r,a,e.memoizedProps);else o!==a?(null===o?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):o.count--,null===a?Au(r,e.type,e.stateNode):Su(r,a,e.memoizedProps)):null===a&&null!==e.stateNode&&Gs(e,e.memoizedProps,n.memoizedProps)}break;case 27:if(4&a&&null===e.alternate){r=e.stateNode,o=e.memoizedProps;try{for(var c=r.firstChild;c;){var d=c.nextSibling,u=c.nodeName;c[Be]||"HEAD"===u||"BODY"===u||"SCRIPT"===u||"STYLE"===u||"LINK"===u&&"stylesheet"===c.rel.toLowerCase()||r.removeChild(c),c=d}for(var f=e.type,h=r.attributes;h.length;)r.removeAttributeNode(h[0]);qd(r,f,o),r[De]=e,r[He]=o}catch(m){ad(e,e.return,m)}}case 5:if(fl(t,e),ml(e),512&a&&(Zs||null===n||Bs(n,n.return)),32&e.flags){r=e.stateNode;try{St(r,"")}catch(m){ad(e,e.return,m)}}4&a&&null!=e.stateNode&&Gs(e,r=e.memoizedProps,null!==n?n.memoizedProps:r),1024&a&&(el=!0);break;case 6:if(fl(t,e),ml(e),4&a){if(null===e.stateNode)throw Error(i(162));a=e.memoizedProps,n=e.stateNode;try{n.nodeValue=a}catch(m){ad(e,e.return,m)}}break;case 3:if(Cu=null,r=hl,hl=fu(t.containerInfo),fl(t,e),hl=r,ml(e),4&a&&null!==n&&n.memoizedState.isDehydrated)try{yf(t.containerInfo)}catch(m){ad(e,e.return,m)}el&&(el=!1,yl(e));break;case 4:a=hl,hl=fu(e.stateNode.containerInfo),fl(t,e),ml(e),hl=a;break;case 12:fl(t,e),ml(e);break;case 13:fl(t,e),ml(e),8192&e.child.flags&&null!==e.memoizedState!==(null!==n&&null!==n.memoizedState)&&(bc=le()),4&a&&(null!==(a=e.updateQueue)&&(e.updateQueue=null,ul(e,a)));break;case 22:if(512&a&&(Zs||null===n||Bs(n,n.return)),c=null!==e.memoizedState,d=null!==n&&null!==n.memoizedState,Xs=(u=Xs)||c,Zs=(f=Zs)||d,fl(t,e),Zs=f,Xs=u,ml(e),(t=e.stateNode)._current=e,t._visibility&=-3,t._visibility|=2&t._pendingVisibility,8192&a&&(t._visibility=c?-2&t._visibility:1|t._visibility,c&&(t=Xs||Zs,null===n||d||t||vl(e)),null===e.memoizedProps||"manual"!==e.memoizedProps.mode))e:for(n=null,t=e;;){if(5===t.tag||26===t.tag||27===t.tag){if(null===n){d=n=t;try{if(r=d.stateNode,c)"function"===typeof(o=r.style).setProperty?o.setProperty("display","none","important"):o.display="none";else{s=d.stateNode;var p=void 0!==(l=d.memoizedProps.style)&&null!==l&&l.hasOwnProperty("display")?l.display:null;s.style.display=null==p||"boolean"===typeof p?"":(""+p).trim()}}catch(m){ad(d,d.return,m)}}}else if(6===t.tag){if(null===n){d=t;try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(m){ad(d,d.return,m)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&a&&(null!==(a=e.updateQueue)&&(null!==(n=a.retryQueue)&&(a.retryQueue=null,ul(e,n))));break;case 19:fl(t,e),ml(e),4&a&&(null!==(a=e.updateQueue)&&(e.updateQueue=null,ul(e,a)));break;case 21:break;default:fl(t,e),ml(e)}}function ml(e){var t=e.flags;if(2&t){try{if(27!==e.tag){e:{for(var n=e.return;null!==n;){if(Ks(n)){var a=n;break e}n=n.return}throw Error(i(160))}switch(a.tag){case 27:var r=a.stateNode;Js(e,Qs(e),r);break;case 5:var o=a.stateNode;32&a.flags&&(St(o,""),a.flags&=-33),Js(e,Qs(e),o);break;case 3:case 4:var s=a.stateNode.containerInfo;$s(e,Qs(e),s);break;default:throw Error(i(161))}}}catch(l){ad(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yl(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;yl(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function gl(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)rl(e,t.alternate,t),t=t.sibling}function vl(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ws(4,t,t.return),vl(t);break;case 1:Bs(t,t.return);var n=t.stateNode;"function"===typeof n.componentWillUnmount&&Vs(t,t.return,n),vl(t);break;case 26:case 27:case 5:Bs(t,t.return),vl(t);break;case 22:Bs(t,t.return),null===t.memoizedState&&vl(t);break;default:vl(t)}e=e.sibling}}function bl(e,t,n){for(n=n&&0!==(8772&t.subtreeFlags),t=t.child;null!==t;){var a=t.alternate,r=e,o=t,i=o.flags;switch(o.tag){case 0:case 11:case 15:bl(r,o,n),_s(4,o);break;case 1:if(bl(r,o,n),"function"===typeof(r=(a=o).stateNode).componentDidMount)try{r.componentDidMount()}catch(c){ad(a,a.return,c)}if(null!==(r=(a=o).updateQueue)){var s=a.stateNode;try{var l=r.shared.hiddenCallbacks;if(null!==l)for(r.shared.hiddenCallbacks=null,r=0;r<l.length;r++)Ds(l[r],s)}catch(c){ad(a,a.return,c)}}n&&64&i&&Us(o),Ys(o,o.return);break;case 26:case 27:case 5:bl(r,o,n),n&&null===a&&4&i&&qs(o),Ys(o,o.return);break;case 12:default:bl(r,o,n);break;case 13:bl(r,o,n),n&&4&i&&dl(r,o);break;case 22:null===o.memoizedState&&bl(r,o,n),Ys(o,o.return)}t=t.sibling}}function xl(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Wr(n))}function wl(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Wr(e))}function Sl(e,t,n,a){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)kl(e,t,n,a),t=t.sibling}function kl(e,t,n,a){var r=t.flags;switch(t.tag){case 0:case 11:case 15:Sl(e,t,n,a),2048&r&&_s(9,t);break;case 3:Sl(e,t,n,a),2048&r&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Wr(e)));break;case 12:if(2048&r){Sl(e,t,n,a),e=t.stateNode;try{var o=t.memoizedProps,i=o.id,s=o.onPostCommit;"function"===typeof s&&s(i,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(l){ad(t,t.return,l)}}else Sl(e,t,n,a);break;case 23:break;case 22:o=t.stateNode,null!==t.memoizedState?4&o._visibility?Sl(e,t,n,a):Nl(e,t):4&o._visibility?Sl(e,t,n,a):(o._visibility|=4,jl(e,t,n,a,0!==(10256&t.subtreeFlags))),2048&r&&xl(t.alternate,t);break;case 24:Sl(e,t,n,a),2048&r&&wl(t.alternate,t);break;default:Sl(e,t,n,a)}}function jl(e,t,n,a,r){for(r=r&&0!==(10256&t.subtreeFlags),t=t.child;null!==t;){var o=e,i=t,s=n,l=a,c=i.flags;switch(i.tag){case 0:case 11:case 15:jl(o,i,s,l,r),_s(8,i);break;case 23:break;case 22:var d=i.stateNode;null!==i.memoizedState?4&d._visibility?jl(o,i,s,l,r):Nl(o,i):(d._visibility|=4,jl(o,i,s,l,r)),r&&2048&c&&xl(i.alternate,i);break;case 24:jl(o,i,s,l,r),r&&2048&c&&wl(i.alternate,i);break;default:jl(o,i,s,l,r)}t=t.sibling}}function Nl(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,a=t,r=a.flags;switch(a.tag){case 22:Nl(n,a),2048&r&&xl(a.alternate,a);break;case 24:Nl(n,a),2048&r&&wl(a.alternate,a);break;default:Nl(n,a)}t=t.sibling}}var Cl=8192;function El(e){if(e.subtreeFlags&Cl)for(e=e.child;null!==e;)Al(e),e=e.sibling}function Al(e){switch(e.tag){case 26:El(e),e.flags&Cl&&null!==e.memoizedState&&function(e,t,n){if(null===Tu)throw Error(i(475));var a=Tu;if("stylesheet"===t.type&&("string"!==typeof n.media||!1!==matchMedia(n.media).matches)&&0===(4&t.state.loading)){if(null===t.instance){var r=gu(n.href),o=e.querySelector(vu(r));if(o)return null!==(e=o._p)&&"object"===typeof e&&"function"===typeof e.then&&(a.count++,a=Fu.bind(a),e.then(a,a)),t.state.loading|=4,t.instance=o,void Je(o);o=e.ownerDocument||e,n=bu(n),(r=du.get(r))&&ju(n,r),Je(o=o.createElement("link"));var s=o;s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),qd(o,"link",n),t.instance=o}null===a.stylesheets&&(a.stylesheets=new Map),a.stylesheets.set(t,e),(e=t.state.preload)&&0===(3&t.state.loading)&&(a.count++,t=Fu.bind(a),e.addEventListener("load",t),e.addEventListener("error",t))}}(hl,e.memoizedState,e.memoizedProps);break;case 5:default:El(e);break;case 3:case 4:var t=hl;hl=fu(e.stateNode.containerInfo),El(e),hl=t;break;case 22:null===e.memoizedState&&(null!==(t=e.alternate)&&null!==t.memoizedState?(t=Cl,Cl=16777216,El(e),Cl=t):El(e))}}function zl(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function Tl(e){var t=e.deletions;if(0!==(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var a=t[n];nl=a,Pl(a,e)}zl(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)Rl(e),e=e.sibling}function Rl(e){switch(e.tag){case 0:case 11:case 15:Tl(e),2048&e.flags&&Ws(9,e,e.return);break;case 3:case 12:default:Tl(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&4&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-5,Fl(e)):Tl(e)}}function Fl(e){var t=e.deletions;if(0!==(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var a=t[n];nl=a,Pl(a,e)}zl(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:Ws(8,t,t.return),Fl(t);break;case 22:4&(n=t.stateNode)._visibility&&(n._visibility&=-5,Fl(t));break;default:Fl(t)}e=e.sibling}}function Pl(e,t){for(;null!==nl;){var n=nl;switch(n.tag){case 0:case 11:case 15:Ws(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var a=n.memoizedState.cachePool.pool;null!=a&&a.refCount++}break;case 24:Wr(n.memoizedState.cache)}if(null!==(a=n.child))a.return=n,nl=a;else e:for(n=e;null!==nl;){var r=(a=nl).sibling,o=a.return;if(ol(a),a===n){nl=null;break e}if(null!==r){r.return=o,nl=r;break e}nl=o}}}function Il(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.t
2ype=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ml(e,t,n,a){return new Il(e,t,n,a)}function Ll(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ol(e,t){var n=e.alternate;return null===n?((n=Ml(e.tag,t,e.key,e.mode)).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=31457280&e.flags,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=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Dl(e,t){e.flags&=31457282;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Hl(e,t,n,a,r,o){var s=0;if(a=e,"function"===typeof e)Ll(e)&&(s=1);else if("string"===typeof e)s=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!==typeof t.precedence||"string"!==typeof t.href||""===t.href)break;return!0;case"link":if("string"!==typeof t.rel||"string"!==typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"===typeof t.precedence&&null==e);case"script":if(t.async&&"function"!==typeof t.async&&"symbol"!==typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"===typeof t.src)return!0}return!1}(e,n,Q.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case u:return _l(n.children,r,o,t);case f:s=8,r|=24;break;case h:return(e=Ml(12,n,t,2|r)).elementType=h,e.lanes=o,e;case v:return(e=Ml(13,n,t,r)).elementType=v,e.lanes=o,e;case b:return(e=Ml(19,n,t,r)).elementType=b,e.lanes=o,e;case S:return Wl(n,r,o,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case p:case y:s=10;break e;case m:s=9;break e;case g:s=11;break e;case x:s=14;break e;case w:s=16,a=null;break e}s=29,n=Error(i(130,null===e?"null":typeof e,"")),a=null}return(t=Ml(s,n,t,r)).elementType=e,t.type=a,t.lanes=o,t}function _l(e,t,n,a){return(e=Ml(7,e,a,t)).lanes=n,e}function Wl(e,t,n,a){(e=Ml(22,e,a,t)).elementType=S,e.lanes=n;var r={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var e=r._current;if(null===e)throw Error(i(456));if(0===(2&r._pendingVisibility)){var t=za(e,2);null!==t&&(r._pendingVisibility|=2,Fc(t,e,2))}},attach:function(){var e=r._current;if(null===e)throw Error(i(456));if(0!==(2&r._pendingVisibility)){var t=za(e,2);null!==t&&(r._pendingVisibility&=-3,Fc(t,e,2))}}};return e.stateNode=r,e}function Ul(e,t,n){return(e=Ml(6,e,null,t)).lanes=n,e}function Vl(e,t,n){return(t=Ml(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yl(e){e.flags|=4}function Bl(e,t){if("stylesheet"!==t.type||0!==(4&t.state.loading))e.flags&=-16777217;else if(e.flags|=16777216,!zu(t)){if(null!==(t=Ar.current)&&((4194176&ac)===ac?null!==zr:(62914560&ac)!==ac&&0===(536870912&ac)||t!==zr))throw fr=lr,sr;e.flags|=8192}}function ql(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Te():536870912,e.lanes|=t,mc|=t)}function Gl(e,t){if(!$a)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;null!==n;)null!==n.alternate&&(a=n),n=n.sibling;null===a?t||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Kl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,a=0;if(t)for(var r=e.child;null!==r;
vendor: 13,889 bytes, line 2
2)n|=r.lanes|r.childLanes,a|=31457280&r.subtreeFlags,a|=31457280&r.flags,r.return=e,r=r.sibling;else for(r=e.child;null!==r;)n|=r.lanes|r.childLanes,a|=r.subtreeFlags,a|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function Ql(e,t,n){var a=t.pendingProps;switch(Ga(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return Kl(t),null;case 3:return n=t.stateNode,a=null,null!==e&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),bs(Hr),ee(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(ar(t)?Yl(t):null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==Ja&&(Ic(Ja),Ja=null))),Kl(t),null;case 26:return n=t.memoizedState,null===e?(Yl(t),null!==n?(Kl(t),Bl(t,n)):(Kl(t),t.flags&=-16777217)):n?n!==e.memoizedState?(Yl(t),Kl(t),Bl(t,n)):(Kl(t),t.flags&=-16777217):(e.memoizedProps!==a&&Yl(t),Kl(t),t.flags&=-16777217),null;case 27:ne(t),n=J.current;var r=t.type;if(null!==e&&null!=t.stateNode)e.memoizedProps!==a&&Yl(t);else{if(!a){if(null===t.stateNode)throw Error(i(166));return Kl(t),null}e=Q.current,ar(t)?tr(t):(e=cu(r,a,n),t.stateNode=e,Yl(t))}return Kl(t),null;case 5:if(ne(t),n=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==a&&Yl(t);else{if(!a){if(null===t.stateNode)throw Error(i(166));return Kl(t),null}if(e=Q.current,ar(t))tr(t);else{switch(r=Qd(J.current),e){case 1:e=r.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=r.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=r.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=r.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":(e=r.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"===typeof a.is?r.createElement("select",{is:a.is}):r.createElement("select"),a.multiple?e.multiple=!0:a.size&&(e.size=a.size);break;default:e="string"===typeof a.is?r.createElement(n,{is:a.is}):r.createElement(n)}}e[De]=t,e[He]=a;e:for(r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&27!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;null===r.sibling;){if(null===r.return||r.return===t)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}t.stateNode=e;e:switch(qd(e,n,a),n){case"button":case"input":case"select":case"textarea":e=!!a.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Yl(t)}}return Kl(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==a&&Yl(t);else{if("string"!==typeof a&&null===t.stateNode)throw Error(i(166));if(e=J.current,ar(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,null!==(r=Ka))switch(r.tag){case 27:case 5:a=r.memoizedProps}e[De]=t,(e=!!(e.nodeValue===n||null!==a&&!0===a.suppressHydrationWarning||Ud(e.nodeValue,n)))||er(t)}else(e=Qd(e).createTextNode(a))[De]=t,t.stateNode=e}return Kl(t),null;case 13:if(a=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(r=ar(t),null!==a&&null!==a.dehydrated){if(null===e){if(!r)throw Error(i(318));if(!(r=null!==(r=t.memoizedState)?r.dehydrated:null))throw Error(i(317));r[De]=t}else rr(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Kl(t),r=!1}else null!==Ja&&(Ic(Ja),Ja=null),r=!0;if(!r)return 256&t.flags?(Pr(t),t):(Pr(t),null)}if(Pr(t),0!==(128&t.flags))return t.lanes=n,t;if(n=null!==a,e=null!==e&&null!==e.memoizedState,n){r=null,null!==(a=t.child).alternate&&null!==a.alternate.memoizedState&&null!==a.alternate.memoizedState.cachePool&&(r=a.alternate.memoizedState.cachePool.pool);var o=null;null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(o=a.memoizedState.cachePool.pool),o!==r&&(a.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),ql(t,t.updateQueue),Kl(t),null;case 4:return ee(),null===e&&Fd(t.stateNode.containerInfo),Kl(t),null;case 10:return bs(t.type),Kl(t),null;case 19:if(G(Ir),null===(r=t.memoizedState))return Kl(t),null;if(a=0!==(128&t.flags),null===(o=r.rendering))if(a)Gl(r,!1);else{if(0!==dc||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(o=Mr(e))){for(t.flags|=128,Gl(r,!1),e=o.updateQueue,t.updateQueue=e,ql(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Dl(n,e),n=n.sibling;return K(Ir,1&Ir.current|2),t.child}e=e.sibling}null!==r.tail&&le()>xc&&(t.flags|=128,a=!0,Gl(r,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=Mr(o))){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,ql(t,e),Gl(r,!0),null===r.tail&&"hidden"===r.tailMode&&!o.alternate&&!$a)return Kl(t),null}else 2*le()-r.renderingStartTime>xc&&536870912!==n&&(t.flags|=128,a=!0,Gl(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(null!==(e=r.last)?e.sibling=o:t.child=o,r.last=o)}return null!==r.tail?(t=r.tail,r.rendering=t,r.tail=t.sibling,r.renderingStartTime=le(),t.sibling=null,e=Ir.current,K(Ir,a?1&e|2:1&e),t):(Kl(t),null);case 22:case 23:return Pr(t),Er(),a=null!==t.memoizedState,null!==e?null!==e.memoizedState!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?0!==(536870912&n)&&0===(128&t.flags)&&(Kl(t),6&t.subtreeFlags&&(t.flags|=8192)):Kl(t),null!==(n=t.updateQueue)&&ql(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),a=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),null!==e&&G(Kr),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),bs(Hr),Kl(t),null;case 25:return null}throw Error(i(156,t.tag))}function $l(e,t){switch(Ga(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return bs(Hr),ee(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return ne(t),null;case 13:if(Pr(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));rr()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return G(Ir),null;case 4:return ee(),null;case 10:return bs(t.type),null;case 22:case 23:return Pr(t),Er(),null!==e&&G(Kr),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return bs(Hr),null;default:return null}}function Jl(e,t){switch(Ga(t),t.tag){case 3:bs(Hr),ee();break;case 26:case 27:case 5:ne(t);break;case 4:ee();break;case 13:Pr(t);break;case 19:G(Ir);break;case 10:bs(t.type);break;case 22:case 23:Pr(t),Er(),null!==e&&G(Kr);break;case 24:bs(Hr)}}var Xl={getCacheForType:function(e){var t=Ns(Hr),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n}},Zl="function"===typeof WeakMap?WeakMap:Map,ec=0,tc=null,nc=null,ac=0,rc=0,oc=null,ic=!1,sc=!1,lc=!1,cc=0,dc=0,uc=0,fc=0,hc=0,pc=0,mc=0,yc=null,gc=null,vc=!1,bc=0,xc=1/0,wc=null,Sc=null,kc=!1,jc=null,Nc=0,Cc=0,Ec=null,Ac=0,zc=null;function Tc(){if(0!==(2&ec)&&0!==ac)return ac&-ac;if(null!==T.T){return 0!==Yr?Yr:wd()}return Le()}function Rc(){0===pc&&(pc=0===(536870912&ac)||$a?ze():536870912);var e=Ar.current;return null!==e&&(e.flags|=32),pc}function Fc(e,t,n){(e===tc&&2===rc||null!==e.cancelPendingCommit)&&(_c(e,0),Oc(e,ac,pc,!1)),Fe(e,n),0!==(2&ec)&&e===tc||(e===tc&&(0===(2&ec)&&(fc|=n),4===dc&&Oc(e,ac,pc,!1)),md(e))}function Pc(e,t,n){if(0!==(6&ec))throw Error(i(327));for(var a=!n&&0===(60&t)&&0===(t&e.expiredLanes)||Ee(e,t),r=a?function(e,t){var n=ec;ec|=2;var a=Uc(),r=Vc();tc!==e||ac!==t?(wc=null,xc=le()+500,_c(e,t)):sc=Ee(e,t);e:for(;;)try{if(0!==rc&&null!==nc){t=nc;var o=oc;t:switch(rc){case 1:rc=0,oc=null,$c(e,t,o,1);break;case 2:if(cr(o)){rc=0,oc=null,Qc(t);break}t=function(){2===rc&&tc===e&&(rc=7),md(e)},o.then(t,t);break e;case 3:rc=7;break e;case 4:rc=5;break e;case 7:cr(o)?(rc=0,oc=null,Qc(t)):(rc=0,oc=null,$c(e,t,o,7));break;case 5:var s=null;switch(nc.tag){case 26:s=nc.memoizedState;case 5:case 27:var l=nc;if(!s||zu(s)){rc=0,oc=null;var c=l.sibling;if(null!==c)nc=c;else{var d=l.return;null!==d?(nc=d,Jc(d)):nc=null}break t}}rc=0,oc=null,$c(e,t,o,5);break;case 6:rc=0,oc=null,$c(e,t,o,6);break;case 8:Hc(),dc=6;break e;default:throw Error(i(462))}}Gc();break}catch(u){Wc(e,u)}return gs=ys=null,T.H=a,T.A=r,ec=n,null!==nc?0:(tc=null,ac=0,Ca(),dc)}(e,t):Bc(e,t,!0),o=a;;){if(0===r){sc&&!a&&Oc(e,t,0,!1);break}if(6===r)Oc(e,t,0,!ic);else{if(n=e.current.alternate,o&&!Lc(n)){r=Bc(e,t,!1),o=!1;continue}if(2===r){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=0!==(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;r=yc;var c=l.current.memoizedState.isDehydrated;if(c&&(_c(l,s).flags|=256),2!==(s=Bc(l,s,!1))){if(lc&&!c){l.errorRecoveryDisabledLanes|=o,fc|=o,r=4;break e}o=gc,gc=r,null!==o&&Ic(o)}r=s}if(o=!1,2!==r)continue}}if(1===r){_c(e,0),Oc(e,t,0,!0);break}e:{switch(a=e,r){case 0:case 1:throw Error(i(345));case 4:if((4194176&t)===t){Oc(a,t,pc,!ic);break e}break;case 2:gc=null;break;case 3:case 5:break;default:throw Error(i(329))}if(a.finishedWork=n,a.finishedLanes=t,(62914560&t)===t&&10<(o=bc+300-le())){if(Oc(a,t,pc,!ic),0!==Ce(a,0))break e;a.timeoutHandle=eu(Mc.bind(null,a,n,gc,wc,vc,t,pc,fc,mc,ic,2,-0,0),o)}else Mc(a,n,gc,wc,vc,t,pc,fc,mc,ic,0,-0,0)}}break}md(e)}function Ic(e){null===gc?gc=e:gc.push.apply(gc,e)}function Mc(e,t,n,a,r,o,s,l,c,d,u,f,h){var p=t.subtreeFlags;if((8192&p||16785408===(16785408&p))&&(Tu={stylesheets:null,count:0,unsuspend:Ru},Al(t),null!==(t=function(){if(null===Tu)throw Error(i(475));var e=Tu;return e.stylesheets&&0===e.count&&Iu(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Iu(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}())))return e.cancelPendingCommit=t(Zc.bind(null,e,n,a,r,s,l,c,1,f,h)),void Oc(e,o,s,!d);Zc(e,n,a,r,s,l,c,u,f,h)}function Lc(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var a=0;a<n.length;a++){var r=n[a],o=r.getSnapshot;r=r.value;try{if(!Kn(o(),r))return!1}catch(i){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Oc(e,t,n,a){t&=~hc,t&=~fc,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var r=t;0<r;){var o=31-xe(r),i=1<<o;a[o]=-1,r&=~i}0!==n&&Pe(e,n,t)}function Dc(){return 0!==(6&ec)||(yd(0,!1),!1)}function Hc(){if(null!==nc){if(0===rc)var e=nc.return;else gs=ys=null,vo(e=nc),pr=null,mr=0,e=nc;for(;null!==e;)Jl(e.alternate,e),e=e.return;nc=null}}function _c(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,tu(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Hc(),tc=e,nc=n=Ol(e.current,null),ac=t,rc=0,oc=null,ic=!1,sc=Ee(e,t),lc=!1,mc=pc=hc=fc=uc=dc=0,gc=yc=null,vc=!1,0!==(8&t)&&(t|=32&t);var a=e.entangledLanes;if(0!==a)for(e=e.entanglements,a&=t;0<a;){var r=31-xe(a),o=1<<r;t|=e[r],a&=~o}return cc=t,Ca(),n}function Wc(e,t){Zr=null,T.H=Ni,t===ir?(t=hr(),rc=3):t===sr?(t=hr(),rc=4):rc=t===Vi?8:null!==t&&"object"===typeof t&&"function"===typeof t.then?6:1,oc=t,null===nc&&(dc=1,Di(e,Ia(t,e.current)))}function Uc(){var e=T.H;return T.H=Ni,null===e?Ni:e}function Vc(){var e=T.A;return T.A=Xl,e}function Yc(){dc=4,ic||(4194176&ac)!==ac&&null!==Ar.current||(sc=!0),0===(134217727&uc)&&0===(134217727&fc)||null===tc||Oc(tc,ac,pc,!1)}function Bc(e,t,n){var a=ec;ec|=2;var r=Uc(),o=Vc();tc===e&&ac===t||(wc=null,_c(e,t)),t=!1;var i=dc;e:for(;;)try{if(0!==rc&&null!==nc){var s=nc,l=oc;switch(rc){case 8:Hc(),i=6;break e;case 3:case 2:case 6:null===Ar.current&&(t=!0);var c=rc;if(rc=0,oc=null,$c(e,s,l,c),n&&sc){i=0;break e}break;default:c=rc,rc=0,oc=null,$c(e,s,l,c)}}qc(),i=dc;break}catch(d){Wc(e,d)}return t&&e.shellSuspendCounter++,gs=ys=null,ec=a,T.H=r,T.A=o,null===nc&&(tc=null,ac=0,Ca()),i}function qc(){for(;null!==nc;)Kc(nc)}function Gc(){for(;null!==nc&&!ie();)Kc(nc)}function Kc(e){var t=ps(e.alternate,e,cc);e.memoizedProps=e.pendingProps,null===t?Jc(e):nc=t}function Qc(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Zi(n,t,t.pendingProps,t.type,void 0,ac);break;case 11:t=Zi(n,t,t.pendingProps,t.type.render,t.ref,ac);break;case 5:vo(t);default:Jl(n,t),t=ps(n,t=nc=Dl(t,cc),cc)}e.memoizedProps=e.pendingProps,null===t?Jc(e):nc=t}function $c(e,t,n,a){gs=ys=null,vo(t),pr=null,mr=0;var r=t.return;try{if(function(e,t,n,a,r){if(n.flags|=32768,null!==a&&"object"===typeof a&&"function"===typeof a.then){if(null!==(t=n.alternate)&&Ss(t,n,r,!0),null!==(n=Ar.current)){switch(n.tag){case 13:return null===zr?Yc():null===n.alternate&&0===dc&&(dc=3),n.flags&=-257,n.flags|=65536,n.lanes=r,a===lr?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([a]):t.add(a),rd(e,a,r)),!1;case 22:return n.flags|=65536,a===lr?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([a]):n.add(a),rd(e,a,r)),!1}throw Error(i(435,n.tag))}return rd(e,a,r),Yc(),!1}if($a)return null!==(t=Ar.current)?(0===(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=r,a!==Za&&or(Ia(e=Error(i(422),{cause:a}),n))):(a!==Za&&or(Ia(t=Error(i(423),{cause:a}),n)),(e=e.current.alternate).flags|=65536,r&=-r,e.lanes|=r,a=Ia(a,n),Is(e,r=_i(e.stateNode,a,r)),4!==dc&&(dc=2)),!1;var o=Error(i(520),{cause:a});if(o=Ia(o,n),null===yc?yc=[o]:yc.push(o),4!==dc&&(dc=2),null===t)return!0;a=Ia(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,Is(n,e=_i(n.stateNode,a,e)),!1;case 1:if(t=n.type,o=n.stateNode,0===(128&n.flags)&&("function"===typeof t.getDerivedStateFromError||null!==o&&"function"===typeof o.componentDidCatch&&(null===Sc||!Sc.has(o))))return n.flags|=65536,r&=-r,n.lanes|=r,Ui(r=Wi(r),e,
2n,a),Is(n,r),!1}n=n.return}while(null!==n);return!1}(e,r,t,n,ac))return dc=1,Di(e,Ia(n,e.current)),void(nc=null)}catch(o){if(null!==r)throw nc=r,o;return dc=1,Di(e,Ia(n,e.current)),void(nc=null)}32768&t.flags?($a||1===a?e=!0:sc||0!==(536870912&ac)?e=!1:(ic=e=!0,(2===a||3===a||6===a)&&(null!==(a=Ar.current)&&13===a.tag&&(a.flags|=16384))),Xc(t,e)):Jc(t)}function Jc(e){var t=e;do{if(0!==(32768&t.flags))return void Xc(t,ic);e=t.return;var n=Ql(t.alternate,t,cc);if(null!==n)return void(nc=n);if(null!==(t=t.sibling))return void(nc=t);nc=t=e}while(null!==t);0===dc&&(dc=5)}function Xc(e,t){do{var n=$l(e.alternate,e);if(null!==n)return n.flags&=32767,void(nc=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(nc=e);nc=e=n}while(null!==e);dc=6,nc=null}function Zc(e,t,n,a,r,o,s,l,c,d){var u=T.T,f=U.p;try{U.p=2,T.T=null,function(e,t,n,a,r,o,s,l){do{td()}while(null!==jc);if(0!==(6&ec))throw Error(i(327));var c=e.finishedWork;if(a=e.finishedLanes,null===c)return null;if(e.finishedWork=null,e.finishedLanes=0,c===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var d=c.lanes|c.childLanes;if(function(e,t,n,a,r,o){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(n=i&~n;0<n;){var d=31-xe(n),u=1<<d;s[d]=0,l[d]=-1;var f=c[d];if(null!==f)for(c[d]=null,d=0;d<f.length;d++){var h=f[d];null!==h&&(h.lane&=-536870913)}n&=~u}0!==a&&Pe(e,a,0),0!==o&&0===r&&0!==e.tag&&(e.suspendedLanes|=o&~(i&~t))}(e,a,d|=Na,o,s,l),e===tc&&(nc=tc=null,ac=0),0===(10256&c.subtreeFlags)&&0===(10256&c.flags)||kc||(kc=!0,Cc=d,Ec=n,function(e,t){re(e,t)}(fe,function(){return td(),null})),n=0!==(15990&c.flags),0!==(15990&c.subtreeFlags)||n?(n=T.T,T.T=null,o=U.p,U.p=2,s=ec,ec|=4,function(e,t){if(e=e.containerInfo,Gd=Yu,ea(e=Zn(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var a=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(a&&0!==a.rangeCount){n=a.anchorNode;var r=a.anchorOffset,o=a.focusNode;a=a.focusOffset;try{n.nodeType,o.nodeType}catch(y){n=null;break e}var s=0,l=-1,c=-1,d=0,u=0,f=e,h=null;t:for(;;){for(var p;f!==n||0!==r&&3!==f.nodeType||(l=s+r),f!==o||0!==a&&3!==f.nodeType||(c=s+a),3===f.nodeType&&(s+=f.nodeValue.length),null!==(p=f.firstChild);)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++d===r&&(l=s),h===o&&++u===a&&(c=s),null!==(p=f.nextSibling))break;h=(f=h).parentNode}f=p}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Kd={focusedElem:e,selectionRange:n},Yu=!1,nl=t;null!==nl;)if(e=(t=nl).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,nl=e;else for(;null!==nl;){switch(o=(t=nl).alternate,e=t.flags,t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(0!==(1024&e)&&null!==o){e=void 0,n=t,r=o.memoizedProps,o=o.memoizedState,a=n.stateNode;try{var m=Pi(n.type,r,(n.elementType,n.type));e=a.getSnapshotBeforeUpdate(m,o),a.__reactInternalSnapshotBeforeUpdate=e}catch(g){ad(n,n.return,g)}}break;case 3:if(0!==(1024&e))if(9===(n=(e=t.stateNode.containerInfo).nodeType))iu(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":iu(e);break;default:e.textContent=""}break;default:if(0!==(1024&e))throw Error(i(163))}if(null!==(e=t.sibling)){e.return=t.return,nl=e;break}nl=t.return}m=al,al=!1}(e,c),pl(c,e),ta(Kd,e.containerInfo),Yu=!!Gd,Kd=Gd=null,e.current=c,rl(e,c.alternate,c),se(),ec=s,U.p=o,T.T=n):e.current=c,kc?(kc=!1,jc=e,Nc=a):ed(e,d),d=e.pendingLanes,0===d&&(Sc=null),function(e){if(ve&&"function"===typeof ve.onCommitFiberRoot)try{ve.onCommitFiberRoot(ge,e,void 0,128===(128&e.current.flags))}catch(t){}}(c.stateNode),md(e),null!==t)for(r=e.onRecoverableError,c=0;c<t.length;c++)d=t[c],r(d.value,{componentStack:d.stack});0!==(3&Nc)&&td(),d=e.pendingLanes,0!==(4194218&a)&&0!==(42&d)?e===zc?Ac++:(Ac=0,zc=e):Ac=0,yd(0,!1)}(e,t,n,a,f,r,o,s)}finally{T.T=u,U.p=f}}function ed(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,Wr(t)))}function td(){if(null!==jc){var e=jc,t=Cc;Cc=0;var n=Me(Nc),a=T.T,r=U.p;try{if(U.p=32>n?32:n,T.T=null,null===jc)var o=!1;else{n=Ec,Ec=null;var s=jc,l=Nc;if(jc=null,Nc=0,0!==(6&ec))throw Error(i(331));var c=ec;if(ec|=4,Rl(s.current),kl(s,s.current,l,n),ec=c,yd(0,!1),ve&&"function"===typeof ve.onPostCommitFiberRoot)try{ve.onPostCommitFiberRoot(ge,
2s)}catch(d){}o=!0}return o}finally{U.p=r,T.T=a,ed(e,t)}}return!1}function nd(e,t,n){t=Ia(n,t),null!==(e=Fs(e,t=_i(e.stateNode,t,2),2))&&(Fe(e,2),md(e))}function ad(e,t,n){if(3===e.tag)nd(e,e,n);else for(;null!==t;){if(3===t.tag){nd(t,e,n);break}if(1===t.tag){var a=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof a.componentDidCatch&&(null===Sc||!Sc.has(a))){e=Ia(n,e),null!==(a=Fs(t,n=Wi(2),2))&&(Ui(n,a,t,e),Fe(a,2),md(a));break}}t=t.return}}function rd(e,t,n){var a=e.pingCache;if(null===a){a=e.pingCache=new Zl;var r=new Set;a.set(t,r)}else void 0===(r=a.get(t))&&(r=new Set,a.set(t,r));r.has(n)||(lc=!0,r.add(n),e=od.bind(null,e,t,n),t.then(e,e))}function od(e,t,n){var a=e.pingCache;null!==a&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,tc===e&&(ac&n)===n&&(4===dc||3===dc&&(62914560&ac)===ac&&300>le()-bc?0===(2&ec)&&_c(e,0):hc|=n,mc===ac&&(mc=0)),md(e)}function id(e,t){0===t&&(t=Te()),null!==(e=za(e,t))&&(Fe(e,t),md(e))}function sd(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),id(e,n)}function ld(e,t){var n=0;switch(e.tag){case 13:var a=e.stateNode,r=e.memoizedState;null!==r&&(n=r.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==a&&a.delete(t),id(e,n)}var cd=null,dd=null,ud=!1,fd=!1,hd=!1,pd=0;function md(e){var t;e!==dd&&null===e.next&&(null===dd?cd=dd=e:dd=dd.next=e),fd=!0,ud||(ud=!0,t=gd,au(function(){0!==(6&ec)?re(de,t):t()}))}function yd(e,t){if(!hd&&fd){hd=!0;do{for(var n=!1,a=cd;null!==a;){if(!t)if(0!==e){var r=a.pendingLanes;if(0===r)var o=0;else{var i=a.suspendedLanes,s=a.pingedLanes;o=(1<<31-xe(42|e)+1)-1,o=201326677&(o&=r&~(i&~s))?201326677&o|1:o?2|o:0}0!==o&&(n=!0,xd(a,o))}else o=ac,0===(3&(o=Ce(a,a===tc?o:0)))||Ee(a,o)||(n=!0,xd(a,o));a=a.next}}while(n);hd=!1}}function gd(){fd=ud=!1;var e=0;0!==pd&&(function(){var e=window.event;if(e&&"popstate"===e.type)return e!==Zd&&(Zd=e,!0);return Zd=null,!1}()&&(e=pd),pd=0);for(var t=le(),n=null,a=cd;null!==a;){var r=a.next,o=vd(a,t);0===o?(a.next=null,null===n?cd=r:n.next=r,null===r&&(dd=n)):(n=a,(0!==e||0!==(3&o))&&(fd=!0)),a=r}yd(e,!1)}function vd(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,r=e.expirationTimes,o=-62914561&e.pendingLanes;0<o;){var i=31-xe(o),s=1<<i,l=r[i];-1===l?0!==(s&n)&&0===(s&a)||(r[i]=Ae(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}if(n=ac,n=Ce(e,e===(t=tc)?n:0),a=e.callbackNode,0===n||e===t&&2===rc||null!==e.cancelPendingCommit)return null!==a&&null!==a&&oe(a),e.callbackNode=null,e.callbackPriority=0;if(0===(3&n)||Ee(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==a&&oe(a),Me(n)){case 2:case 8:n=ue;break;case 32:default:n=fe;break;case 268435456:n=pe}return a=bd.bind(null,e),n=re(n,a),e.callbackPriority=t,e.callbackNode=n,t}return null!==a&&null!==a&&oe(a),e.callbackPriority=2,e.callbackNode=null,2}function bd(e,t){var n=e.callbackNode;if(td()&&e.callbackNode!==n)return null;var a=ac;return 0===(a=Ce(e,e===tc?a:0))?null:(Pc(e,a,t),vd(e,le()),null!=e.callbackNode&&e.callbackNode===n?bd.bind(null,e):null)}function xd(e,t){if(td())return null;Pc(e,t,!0)}function wd(){return 0===pd&&(pd=ze()),pd}function Sd(e){return null==e||"symbol"===typeof e||"boolean"===typeof e?null:"function"===typeof e?e:zt(""+e)}function kd(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var jd=0;jd<wa.length;jd++){var Nd=wa[jd];Sa(Nd.toLowerCase(),"on"+(Nd[0].toUpperCase()+Nd.slice(1)))}Sa(ha,"onAnimationEnd"),Sa(pa,"onAnimationIteration"),Sa(ma,"onAnimationStart"),Sa("dblclick","onDoubleClick"),Sa("focusin","onFocus"),Sa("focusout","onBlur"),Sa(ya,"onTransitionRun"),Sa(ga,"onTransitionStart"),Sa(va,"onTransitionCancel"),Sa(ba,"onTransitionEnd"),tt("onMouseEnter",["mouseout","mouseover"]),tt("onMouseLeave",["mouseout","mouseover"]),tt("onPointerEnter",["pointerout","pointerover"]),tt("onPointerLeave",["pointerout","pointerover"]),et("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),et("onSelect","focusout contextmenu dragend focu
2sin keydown keyup mousedown mouseup selectionchange".split(" ")),et("onBeforeInput",["compositionend","keypress","textInput","paste"]),et("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),et("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),et("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Cd="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ed=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Cd));function Ad(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var a=e[n],r=a.event;a=a.listeners;e:{var o=void 0;if(t)for(var i=a.length-1;0<=i;i--){var s=a[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&r.isPropagationStopped())break e;o=s,r.currentTarget=c;try{o(r)}catch(d){Ii(d)}r.currentTarget=null,o=l}else for(i=0;i<a.length;i++){if(l=(s=a[i]).instance,c=s.currentTarget,s=s.listener,l!==o&&r.isPropagationStopped())break e;o=s,r.currentTarget=c;try{o(r)}catch(d){Ii(d)}r.currentTarget=null,o=l}}}}function zd(e,t){var n=t[We];void 0===n&&(n=t[We]=new Set);var a=e+"__bubble";n.has(a)||(Pd(t,e,2,!1),n.add(a))}function Td(e,t,n){var a=0;t&&(a|=4),Pd(n,e,a,t)}var Rd="_reactListening"+Math.random().toString(36).slice(2);function Fd(e){if(!e[Rd]){e[Rd]=!0,Xe.forEach(function(t){"selectionchange"!==t&&(Ed.has(t)||Td(t,!1,e),Td(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Rd]||(t[Rd]=!0,Td("selectionchange",!1,t))}}function Pd(e,t,n,a){switch(Ju(t)){case 2:var r=Bu;break;case 8:r=qu;break;default:r=Gu}n=r.bind(null,t,n,e),r=void 0,!Dt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(r=!0),a?void 0!==r?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):void 0!==r?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function Id(e,t,n,a,r){var o=a;if(0===(1&t)&&0===(2&t)&&null!==a)e:for(;;){if(null===a)return;var i=a.tag;if(3===i||4===i){var s=a.stateNode.containerInfo;if(s===r||8===s.nodeType&&s.parentNode===r)break;if(4===i)for(i=a.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===r||8===l.nodeType&&l.parentNode===r))return;i=i.return}for(;null!==s;){if(null===(i=Ge(s)))return;if(5===(l=i.tag)||6===l||26===l||27===l){a=o=i;continue e}s=s.parentNode}}a=a.return}Lt(function(){var a=o,r=Rt(n),i=[];e:{var s=xa.get(e);if(void 0!==s){var l=Xt,c=e;switch(e){case"keypress":if(0===Yt(n))break e;case"keydown":case"keyup":l=pn;break;case"focusin":c="focus",l=rn;break;case"focusout":c="blur",l=rn;break;case"beforeblur":case"afterblur":l=rn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=nn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=an;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=yn;break;case ha:case pa:case ma:l=on;break;case ba:l=gn;break;case"scroll":case"scrollend":l=en;break;case"wheel":l=vn;break;case"copy":case"cut":case"paste":l=sn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=mn;break;case"toggle":case"beforetoggle":l=bn}var d=0!==(4&t),u=!d&&("scroll"===e||"scrollend"===e),f=d?null!==s?s+"Capture":null:s;d=[];for(var h,p=a;null!==p;){var m=p;if(h=m.stateNode,5!==(m=m.tag)&&26!==m&&27!==m||null===h||null===f||null!=(m=Ot(p,f))&&d.push(Md(p,m,h)),u)break;p=p.return}0<d.length&&(s=new l(s,c,null,n,r),i.push({event:s,listeners:d}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===Tt||!(c=n.relatedTarget||n.fromElement)||!Ge(c)&&!c[_e])&&(l||s)&&(s=r.window===r?r:(s=r.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=a,null!==(c=(c=n.relatedTarget||n.toElement)?Ge(c):null)&&(u=O(c),d=c.tag,c!==u||5!==d&&27!==d&&6!==d)&&(c=null)):(l=null,c=a),l!==c)){if(d=nn,m="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(d=mn,m="onPointerLeave",f="onPointerEnter",p="pointer"),u=null==l?s:Qe(l),h=null==c?s:Qe(c),(s=new d(m,p+"leave",l,n,r)).target=u,s.relatedTarget=h,m=null,Ge(r)===a&&((d=new d(f,p+"enter",c,n,r)).target=h,d.relatedTarget=u,m=d),u=m,l&&c)e:{for(f=c,p=0,h=d=l;h;h=Od(h))p++;for(h=0,m=f;m;m=Od(m))h++;for(;0<p-h;)d=Od(d),p--;for(;0<h-p;)f=Od(f),h--;for(;p--;){if(d===f||null!==f&&d===f.alternate)break e;d=Od(d),f=Od(f)}d=null}else d=null;null!==l&&Dd(i,s,l,d,!1),null!==c&&null!==u&&Dd(i,u,c,d,!0)}if("select"===(l=(s=a?Qe(a):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var y=On;else if(Rn(s))if(Dn)y=Gn;else{y=Bn;var g=Yn}else!(l=s.nodeName)||"input"!==l.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?a&&Ct(a.elementType)&&(y=On):y=qn;switch(y&&(y=y(e,a))?Fn(i,y,n,r):(g&&g(e,s,a),"focusout"===e&&a&&"number"===s.type&&null!=a.memoizedProps.value&&vt(s,"number",s.value)),g=a?Qe(a):window,e){case"focusin":(Rn(g)||"true"===g.contentEditable)&&(aa=g,ra=a,oa=null);break;case"focusout":oa=ra=aa=null;break;case"mousedown":ia=!0;break;case"contextmenu":case"mouseup":case"dragend":ia=!1,sa(i,n,r);break;case"selectionchange":if(na)break;case"keydown":case"keyup":sa(i,n,r)}var v;if(wn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else zn?En(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");
2b&&(jn&&"ko"!==n.locale&&(zn||"onCompositionStart"!==b?"onCompositionEnd"===b&&zn&&(v=Vt()):(Wt="value"in(_t=r)?_t.value:_t.textContent,zn=!0)),0<(g=Ld(a,b)).length&&(b=new ln(b,e,null,n,r),i.push({event:b,listeners:g}),v?b.data=v:null!==(v=An(n))&&(b.data=v))),(v=kn?function(e,t){switch(e){case"compositionend":return An(t);case"keypress":return 32!==t.which?null:(Cn=!0,Nn);case"textInput":return(e=t.data)===Nn&&Cn?null:e;default:return null}}(e,n):function(e,t){if(zn)return"compositionend"===e||!wn&&En(e,t)?(e=Vt(),Ut=Wt=_t=null,zn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return jn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(b=Ld(a,"onBeforeInput")).length&&(g=new ln("onBeforeInput","beforeinput",null,n,r),i.push({event:g,listeners:b}),g.data=v)),function(e,t,n,a,r){if("submit"===t&&n&&n.stateNode===r){var o=Sd((r[He]||null).action),i=a.submitter;i&&null!==(t=(t=i[He]||null)?Sd(t.formAction):i.getAttribute("formAction"))&&(o=t,i=null);var s=new Xt("action","action",null,a,r);e.push({event:s,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(0!==pd){var e=i?kd(r,i):new FormData(r);ui(n,{pending:!0,data:e,method:r.method,action:o},null,e)}}else"function"===typeof o&&(s.preventDefault(),e=i?kd(r,i):new FormData(r),ui(n,{pending:!0,data:e,method:r.method,action:o},o,e))},currentTarget:r}]})}}(i,e,a,n,r)}Ad(i,t)})}function Md(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ld(e,t){for(var n=t+"Capture",a=[];null!==e;){var r=e,o=r.stateNode;5!==(r=r.tag)&&26!==r&&27!==r||null===o||(null!=(r=Ot(e,n))&&a.unshift(Md(e,r,o)),null!=(r=Ot(e,t))&&a.push(Md(e,r,o))),e=e.return}return a}function Od(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function Dd(e,t,n,a,r){for(var o=t._reactName,i=[];null!==n&&n!==a;){var s=n,l=s.alternate,c=s.stateNode;if(s=s.tag,null!==l&&l===a)break;5!==s&&26!==s&&27!==s||null===c||(l=c,r?null!=(c=Ot(n,o))&&i.unshift(Md(n,c,l)):r||null!=(c=Ot(n,o))&&i.push(Md(n,c,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Hd=/\r\n?/g,_d=/\u0000|\uFFFD/g;function Wd(e){return("string"===typeof e?e:""+e).replace(Hd,"\n").replace(_d,"")}function Ud(e,t){return t=Wd(t),Wd(e)===t}function Vd(){}function Yd(e,t,n,a,r,o){switch(n){case"children":"string"===typeof a?"body"===t||"textarea"===t&&""===a||St(e,a):("number"===typeof a||"bigint"===typeof a)&&"body"!==t&&St(e,""+a);break;case"className":st(e,"class",a);break;case"tabIndex":st(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":st(e,n,a);break;case"style":Nt(e,a,o);break;case"data":if("object"!==t){st(e,"data",a);break}case"src":case"href":if(""===a&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==a||"function"===typeof a||"symbol"===typeof a||"boolean"===typeof a){e.removeAttribute(n);break}a=zt(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if("function"===typeof a){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"===typeof o&&("formAction"===n?("input"!==t&&Yd(e,t,"name",r.name,r,null),Yd(e,t,"formEncType",r.formEncType,r,null),Yd(e,t,"formMethod",r.formMethod,r,null),Yd(e,t,"formTarget",r.formTarget,r,null)):(Yd(e,t,"encType",r.encType,r,null),Yd(e,t,"method",r.method,r,null),Yd(e,t,"target",r.target,r,null))),null==a||"symbol"===typeof a||"boolean"===typeof a){e.removeAttribute(n);break}a=zt(""+a),e.setAttribute(n,a);break;case"onClick":null!=a&&(e.onclick=Vd);break;case"onScroll":null!=a&&zd("scroll",e);break;case"onScrollEnd":null!=a&&zd("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=a){if("object"!==typeof a||!("__html"in a))throw Error(i(61));if(null!=(n=a.__html)){if(null!=r.children)throw Error(i(60));e.innerHTML=n}}break;case"multiple":e.multiple=a&&"function"!==typeof a&&"symbol"!==typeof a;break;case"muted":e.muted=a&&"function"!==typeof a&&"symbol"!==typeof a;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==a||"function"===typeof a||"boolean"===typeof a||"symbol"===typeof a){e.removeAttribute("xlink:href");break}n=zt(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=a&&"function"!==typeof a&&"symbol"!==typeof a?e.setAttribute(n,""+a):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
2ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&"function"!==typeof a&&"symbol"!==typeof a?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===a?e.setAttribute(n,""):!1!==a&&null!=a&&"function"!==typeof a&&"symbol"!==typeof a?e.setAttribute(n,a):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=a&&"function"!==typeof a&&"symbol"!==typeof a&&!isNaN(a)&&1<=a?e.setAttribute(n,a):e.removeAttribute(n);break;case"rowSpan":case"start":null==a||"function"===typeof a||"symbol"===typeof a||isNaN(a)?e.removeAttribute(n):e.setAttribute(n,a);break;case"popover":zd("beforetoggle",e),zd("toggle",e),it(e,"popover",a);break;case"xlinkActuate":lt(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":lt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":lt(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":lt(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":lt(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":lt(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":lt(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":lt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":lt(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":it(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&it(e,n=Et.get(n)||n,a)}}function Bd(e,t,n,a,r,o){switch(n){case"style":Nt(e,a,o);break;case"dangerouslySetInnerHTML":if(null!=a){if("object"!==typeof a||!("__html"in a))throw Error(i(61));if(null!=(n=a.__html)){if(null!=r.children)throw Error(i(60));e.innerHTML=n}}break;case"children":"string"===typeof a?St(e,a):("number"===typeof a||"bigint"===typeof a)&&St(e,""+a);break;case"onScroll":null!=a&&zd("scroll",e);break;case"onScrollEnd":null!=a&&zd("scrollend",e);break;case"onClick":null!=a&&(e.onclick=Vd);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:Ze.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),"function"===typeof(o=null!=(o=e[He]||null)?o[n]:null)&&e.removeEventListener(t,o,r),"function"!==typeof a)?n in e?e[n]=a:!0===a?e.setAttribute(n,""):it(e,n,a):("function"!==typeof o&&null!==o&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,r)))}}function qd(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":zd("error",e),zd("load",e);var a,r=!1,o=!1;for(a in n)if(n.hasOwnProperty(a)){var s=n[a];if(null!=s)switch(a){case"src":r=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:Yd(e,t,a,s,n,null)}}return o&&Yd(e,t,"srcSet",n.srcSet,n,null),void(r&&Yd(e,t,"src",n.src,n,null));case"input":zd("invalid",e);var l=a=s=o=null,c=null,d=null;for(r in n)if(n.hasOwnProperty(r)){var u=n[r];if(null!=u)switch(r){case"name":o=u;break;case"type":s=u;break;case"checked":c=u;break;case"defaultChecked":d=u;break;case"value":a=u;break;case"defaultValue":l=u;break;case"children":case"dangerouslySetInnerHTML":if(null!=u)throw Error(i(137,t));break;default:Yd(e,t,r,u,n,null)}}return gt(e,a,l,c,d,s,o,!1),void ut(e);case"select":for(o in zd("invalid",e),r=s=a=null,n)if(n.hasOwnProperty(o)&&null!=(l=n[o]))switch(o){case"value":a=l;break;case"defaultValue":s=l;break;case"multiple":r=l;default:Yd(e,t,o,l,n,null)}return t=a,n=s,e.multiple=!!r,void(null!=t?bt(e,!!r,t,!1):null!=n&&bt(e,!!r,n,!0));case"textarea":for(s in zd("invalid",e),a=o=r=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":r=l;break;case"defaultValue":o=l;break;case"children":a=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(i(91));break;default:Yd(e,t,s,l,n,null)}return wt(e,r,o,a),void ut(e);case"option":for(c in n)if(n.hasOwnProperty(c)&&null!=(r=n[c]))if("selected"===c)e.selected=r&&"function"!==typeof r&&"symbol"!==typeof r;else Yd(e,t,c,r,n,null);return;case"dialog":zd("cancel",e),zd("close",e);break;case"iframe":case"object":zd("load",e);break;case"video":case"audio":for(r=0;r<Cd.length;r++)zd(Cd[r],e);break;case"image":zd("error",e),zd("load",e);break;case"details":zd("toggle",e);break;case"embed":case"source":case"link":zd("error",e),zd("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(d in n)if(n.hasOwnProperty(d)&&null!=(r=n[d]))switch(d){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:Yd(e,t,d,r,n,null)}return;default:if(Ct(t)){for(u in n)n.hasOwnProperty(u)&&(void 0!==(r=n[u])&&Bd(e,t,u,r,n,void 0));return}}for(l in n)n.hasOwnProperty(l)&&(null!=(r=n[l])&&Yd(e,t,l,r,n,null))}var Gd=null,Kd=null;
2function Qd(e){return 9===e.nodeType?e:e.ownerDocument}function $d(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Jd(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function Xd(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"bigint"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Zd=null;var eu="function"===typeof setTimeout?setTimeout:void 0,tu="function"===typeof clearTimeout?clearTimeout:void 0,nu="function"===typeof Promise?Promise:void 0,au="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof nu?function(e){return nu.resolve(null).then(e).catch(ru)}:eu;function ru(e){setTimeout(function(){throw e})}function ou(e,t){var n=t,a=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===a)return e.removeChild(r),void yf(t);a--}else"$"!==n&&"$?"!==n&&"$!"!==n||a++;n=r}while(n);yf(t)}function iu(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":iu(n),qe(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function su(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"F!"===t||"F"===t)break;if("/$"===t)return null}}return e}function lu(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}function cu(e,t,n){switch(t=Qd(n),e){case"html":if(!(e=t.documentElement))throw Error(i(452));return e;case"head":if(!(e=t.head))throw Error(i(453));return e;case"body":if(!(e=t.body))throw Error(i(454));return e;default:throw Error(i(451))}}var du=new Map,uu=new Set;function fu(e){return"function"===typeof e.getRootNode?e.getRootNode():e.ownerDocument}var hu=U.d;U.d={f:function(){var e=hu.f(),t=Dc();return e||t},r:function(e){var t=Ke(e);null!==t&&5===t.tag&&"form"===t.type?hi(t):hu.r(e)},D:function(e){hu.D(e),mu("dns-prefetch",e,null)},C:function(e,t){hu.C(e,t),mu("preconnect",e,t)},L:function(e,t,n){hu.L(e,t,n);var a=pu;if(a&&e&&t){var r='link[rel="preload"][as="'+mt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(r+='[imagesrcset="'+mt(n.imageSrcSet)+'"]',"string"===typeof n.imageSizes&&(r+='[imagesizes="'+mt(n.imageSizes)+'"]')):r+='[href="'+mt(e)+'"]';var o=r;switch(t){case"style":o=gu(e);break;case"script":o=xu(e)}du.has(o)||(e=R({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),du.set(o,e),null!==a.querySelector(r)||"style"===t&&a.querySelector(vu(o))||"script"===t&&a.querySelector(wu(o))||(qd(t=a.createElement("link"),"link",e),Je(t),a.head.appendChild(t)))}},m:function(e,t){hu.m(e,t);var n=pu;if(n&&e){var a=t&&"string"===typeof t.as?t.as:"script",r='link[rel="modulepreload"][as="'+mt(a)+'"][href="'+mt(e)+'"]',o=r;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=xu(e)}if(!du.has(o)&&(e=R({rel:"modulepreload",href:e},t),du.set(o,e),null===n.querySelector(r))){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(wu(o)))return}qd(a=n.createElement("link"),"link",e),Je(a),n.head.appendChild(a)}}},X:function(e,t){hu.X(e,t);var n=pu;if(n&&e){var a=$e(n).hoistableScripts,r=xu(e),o=a.get(r);o||((o=n.querySelector(wu(r)))||(e=R({src:e,async:!0},t),(t=du.get(r))&&Nu(e,t),Je(o=n.createElement("script")),qd(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(r,o))}},S:function(e,t,n){hu.S(e,t,n);var a=pu;if(a&&e){var r=$e(a).hoistableStyles,o=gu(e);t=t||"default";var i=r.get(o);if(!i){var s={loading:0,preload:null};if(i=a.querySelector(vu(o)))s.loading=5;else{e=R({rel:"stylesheet",href:e,"data-precedence":t},n),(n=du.get(o))&&ju(e,n);var l=i=a.createElement("link");Je(l),qd(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,ku(i,t,a)}i={type:"stylesheet",instance:i,count:1,state:s},r.set(o,i)}}},M:function(e,t){hu.M(e,t);var n=pu;if(n&&e){var a=$e(n).hoistableScripts,r=xu(e),o=a.get(r);o||((o=n.querySelector(wu(r)))||(e=R({src:e,async:!0,type:"module"},t),(t=du.get(r))&&Nu(e,t),Je(o=n.createElement("script")),qd(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(r,o))}}};
vendor: 6,716 bytes, line 2
2var pu="undefined"===typeof document?null:document;function mu(e,t,n){var a=pu;if(a&&"string"===typeof t&&t){var r=mt(t);r='link[rel="'+e+'"][href="'+r+'"]',"string"===typeof n&&(r+='[crossorigin="'+n+'"]'),uu.has(r)||(uu.add(r),e={rel:e,crossOrigin:n,href:t},null===a.querySelector(r)&&(qd(t=a.createElement("link"),"link",e),Je(t),a.head.appendChild(t)))}}function yu(e,t,n,a){var r,o,s,l,c=(c=J.current)?fu(c):null;if(!c)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return"string"===typeof n.precedence&&"string"===typeof n.href?(t=gu(n.href),(a=(n=$e(c).hoistableStyles).get(t))||(a={type:"style",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"===typeof n.href&&"string"===typeof n.precedence){e=gu(n.href);var d=$e(c).hoistableStyles,u=d.get(e);if(u||(c=c.ownerDocument||c,u={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,u),(d=c.querySelector(vu(e)))&&!d._p&&(u.instance=d,u.state.loading=5),du.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},du.set(e,n),d||(r=c,o=e,s=n,l=u.state,r.querySelector('link[rel="preload"][as="style"]['+o+"]")?l.loading=1:(o=r.createElement("link"),l.preload=o,o.addEventListener("load",function(){return l.loading|=1}),o.addEventListener("error",function(){return l.loading|=2}),qd(o,"link",s),Je(o),r.head.appendChild(o))))),t&&null===a)throw Error(i(528,""));return u}if(t&&null!==a)throw Error(i(529,""));return null;case"script":return t=n.async,"string"===typeof(n=n.src)&&t&&"function"!==typeof t&&"symbol"!==typeof t?(t=xu(n),(a=(n=$e(c).hoistableScripts).get(t))||(a={type:"script",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function gu(e){return'href="'+mt(e)+'"'}function vu(e){return'link[rel="stylesheet"]['+e+"]"}function bu(e){return R({},e,{"data-precedence":e.precedence,precedence:null})}function xu(e){return'[src="'+mt(e)+'"]'}function wu(e){return"script[async]"+e}function Su(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+mt(n.href)+'"]');if(a)return t.instance=a,Je(a),a;var r=R({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Je(a=(e.ownerDocument||e).createElement("style")),qd(a,"style",r),ku(a,n.precedence,e),t.instance=a;case"stylesheet":r=gu(n.href);var o=e.querySelector(vu(r));if(o)return t.state.loading|=4,t.instance=o,Je(o),o;a=bu(n),(r=du.get(r))&&ju(a,r),Je(o=(e.ownerDocument||e).createElement("link"));var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),qd(o,"link",a),t.state.loading|=4,ku(o,n.precedence,e),t.instance=o;case"script":return o=xu(n.src),(r=e.querySelector(wu(o)))?(t.instance=r,Je(r),r):(a=n,(r=du.get(o))&&Nu(a=R({},n),r),Je(r=(e=e.ownerDocument||e).createElement("script")),qd(r,"link",a),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(i(443,t.type))}else"stylesheet"===t.type&&0===(4&t.state.loading)&&(a=t.instance,t.state.loading|=4,ku(a,n.precedence,e));return t.instance}function ku(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=a.length?a[a.length-1]:null,o=r,i=0;i<a.length;i++){var s=a[i];if(s.dataset.precedence===t)o=s;else if(o!==r)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function ju(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Nu(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var Cu=null;function Eu(e,t,n){if(null===Cu){var a=new Map,r=Cu=new Map;r.set(n,a)}else(a=(r=Cu).get(n))||(a=new Map,r.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var o=n[r];if(!(o[Be]||o[De]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var i=o.getAttribute(t)||"";i=e+i;var s=a.get(i);s?s.push(o):a.set(i,[o])}}return a}function Au(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function zu(e){return"stylesheet"!==e.type||0!==(3&e.state.loading)}var Tu=null;function Ru(){}function Fu(){if(this.count--,0===this.count)if(this.stylesheets)Iu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var Pu=null;function Iu(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,Pu=new Map,t.forEach(Mu,e),Pu=null,Fu.call(e))}function Mu(e,t){if(!(4&t.state.loading)){var n=Pu.get(e);if(n)var a=n.get(null);else{n=new Map,Pu.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<r.length;o++){var i=r[o];"LINK"!==i.nodeName&&"not all"===i.getAttribute("media")||(n.set(i.dataset.precedence,i),a=i)}a&&n.set(null,a)}i=(r=t.instance).getAttribute("data-precedence"),(o=n.get(i)||a)===a&&n.set(null,r),n.set(i,r),this.count++,a=Fu.bind(this),r.addEventListener("load",a),r.addEventListener("error",a),o?o.parentNode.insertBefore(r,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(r,e.firstChild),t.state.loading|=4}}var Lu={$$typeof:y,Provider:null,Consumer:null,_currentValue:V,_currentValue2:V,_threadCount:0};function Ou(e,t,n,a,r,o,i,s){this.tag=1,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Re(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Re(0),this.hiddenUpdates=Re(null),this.identifierPrefix=a,this.onUncaughtError=r,this.onCaughtError=o,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function Du(e,t,n,a,r,o,i,s,l,c,d,u){return e=new Ou(e,t,n,i,s,l,c,u),t=1,!0===o&&(t|=24),o=Ml(3,null,null,t),e.current=o,o.stateNode=e,(t=_r()).refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:a,isDehydrated:n,cache:t},zs(o),e}function Hu(e){return e?e=Fa:Fa}function _u(e,t,n,a,r,o){r=Hu(r),null===a.context?a.context=r:a.pendingContext=r,(a=Rs(t)).payload={element:n}
vendor: 4,082 bytes, line 2
2,null!==(o=void 0===o?null:o)&&(a.callback=o),null!==(n=Fs(e,a,t))&&(Fc(n,0,t),Ps(n,e,t))}function Wu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Uu(e,t){Wu(e,t),(e=e.alternate)&&Wu(e,t)}function Vu(e){if(13===e.tag){var t=za(e,67108864);null!==t&&Fc(t,0,67108864),Uu(e,67108864)}}var Yu=!0;function Bu(e,t,n,a){var r=T.T;T.T=null;var o=U.p;try{U.p=2,Gu(e,t,n,a)}finally{U.p=o,T.T=r}}function qu(e,t,n,a){var r=T.T;T.T=null;var o=U.p;try{U.p=8,Gu(e,t,n,a)}finally{U.p=o,T.T=r}}function Gu(e,t,n,a){if(Yu){var r=Ku(a);if(null===r)Id(e,t,a,Qu,n),sf(e,a);else if(function(e,t,n,a,r){switch(t){case"focusin":return Zu=lf(Zu,e,t,n,a,r),!0;case"dragenter":return ef=lf(ef,e,t,n,a,r),!0;case"mouseover":return tf=lf(tf,e,t,n,a,r),!0;case"pointerover":var o=r.pointerId;return nf.set(o,lf(nf.get(o)||null,e,t,n,a,r)),!0;case"gotpointercapture":return o=r.pointerId,af.set(o,lf(af.get(o)||null,e,t,n,a,r)),!0}return!1}(r,e,t,n,a))a.stopPropagation();else if(sf(e,a),4&t&&-1<of.indexOf(e)){for(;null!==r;){var o=Ke(r);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var i=Ne(o.pendingLanes);if(0!==i){var s=o;for(s.pendingLanes|=2,s.entangledLanes|=2;i;){var l=1<<31-xe(i);s.entanglements[1]|=l,i&=~l}md(o),0===(6&ec)&&(xc=le()+500,yd(0,!1))}}break;case 13:null!==(s=za(o,2))&&Fc(s,0,2),Dc(),Uu(o,2)}if(null===(o=Ku(a))&&Id(e,t,a,Qu,n),o===r)break;r=o}null!==r&&a.stopPropagation()}else Id(e,t,a,null,n)}}function Ku(e){return $u(e=Rt(e))}var Qu=null;function $u(e){if(Qu=null,null!==(e=Ge(e))){var t=O(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=D(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Qu=e,null}function Ju(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ce()){case de:return 2;case ue:return 8;case fe:case he:return 32;case pe:return 268435456;default:return 32}default:return 32}}var Xu=!1,Zu=null,ef=null,tf=null,nf=new Map,af=new Map,rf=[],of="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function sf(e,t){switch(e){case"focusin":case"focusout":Zu=null;break;case"dragenter":case"dragleave":ef=null;break;case"mouseover":case"mouseout":tf=null;break;case"pointerover":case"pointerout":nf.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":af.delete(t.pointerId)}}function lf(e,t,n,a,r,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:o,targetContainers:[r]},null!==t&&(null!==(t=Ke(t))&&Vu(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,null!==r&&-1===t.indexOf(r)&&t.push(r),e)}function cf(e){var t=Ge(e.target);if(null!==t){var n=O(t);
vendor: 4,931 bytes, line 2
2if(null!==n)if(13===(t=n.tag)){if(null!==(t=D(n)))return e.blockedOn=t,void function(e,t){var n=U.p;try{return U.p=e,t()}finally{U.p=n}}(e.priority,function(){if(13===n.tag){var e=Tc(),t=za(n,e);null!==t&&Fc(t,0,e),Uu(n,e)}})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function df(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ku(e.nativeEvent);if(null!==n)return null!==(t=Ke(n))&&Vu(t),e.blockedOn=n,!1;var a=new(n=e.nativeEvent).constructor(n.type,n);Tt=a,n.target.dispatchEvent(a),Tt=null,t.shift()}return!0}function uf(e,t,n){df(e)&&n.delete(t)}function ff(){Xu=!1,null!==Zu&&df(Zu)&&(Zu=null),null!==ef&&df(ef)&&(ef=null),null!==tf&&df(tf)&&(tf=null),nf.forEach(uf),af.forEach(uf)}function hf(e,t){e.blockedOn===t&&(e.blockedOn=null,Xu||(Xu=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,ff)))}var pf=null;function mf(e){pf!==e&&(pf=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){pf===e&&(pf=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],r=e[t+2];if("function"!==typeof a){if(null===$u(a||n))continue;break}var o=Ke(n);null!==o&&(e.splice(t,3),t-=3,ui(o,{pending:!0,data:r,method:n.method,action:a},a,r))}}))}function yf(e){function t(t){return hf(t,e)}null!==Zu&&hf(Zu,e),null!==ef&&hf(ef,e),null!==tf&&hf(tf,e),nf.forEach(t),af.forEach(t);for(var n=0;n<rf.length;n++){var a=rf[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<rf.length&&null===(n=rf[0]).blockedOn;)cf(n),null===n.blockedOn&&rf.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(a=0;a<n.length;a+=3){var r=n[a],o=n[a+1],i=r[He]||null;if("function"===typeof o)i||mf(n);else if(i){var s=null;if(o&&o.hasAttribute("formAction")){if(r=o,i=o[He]||null)s=i.formAction;else if(null!==$u(r))continue}else s=i.action;"function"===typeof s?n[a+1]=s:(n.splice(a,3),a-=3),mf(n)}}}function gf(e){this._internalRoot=e}function vf(e){this._internalRoot=e}vf.prototype.render=gf.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));_u(t.current,Tc(),e,t,null,null)},vf.prototype.unmount=gf.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;0===e.tag&&td(),_u(e.current,2,null,e,null,null),Dc(),t[_e]=null}},vf.prototype.unstable_scheduleHydration=function(e){if(e){var t=Le();e={blockedOn:null,target:e,priority:t};for(var n=0;n<rf.length&&0!==t&&t<rf[n].priority;n++);rf.splice(n,0,e),0===n&&cf(e)}};var bf=r.version;if("19.0.0"!==bf)throw Error(i(527,bf,"19.0.0"));U.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=O(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,a=t;;){var r=n.return;if(null===r)break;var o=r.alternate;if(null===o){if(null!==(a=r.return)){n=a;continue}break}if(r.child===o.child){for(o=r.child;o;){if(o===n)return H(r),e;if(o===a)return H(r),t;o=o.sibling}throw Error(i(188))}if(n.return!==a.return)n=r,a=o;else{for(var s=!1,l=r.child;l;){if(l===n){s=!0,n=r,a=o;break}if(l===a){s=!0,a=r,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,a=r;break}if(l===a){s=!0,a=o,n=r;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==a)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?_(e):null)?null:e.stateNode};var xf={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:T,findFiberByHostInstance:Ge,reconcilerVersion:"19.0.0"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var wf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!wf.isDisabled&&wf.supportsFiber)try{ge=wf.inject(xf),ve=wf}catch(kf){}}t.createRoot=function(e,t){if(!s(e))throw Error(i(299));var n=!1,a="",r=Mi,o=Li,l=Oi;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onUncaughtError&&(r=t.onUncaughtError),void 0!==t.onCaughtError&&(o=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError),void 0!==t.unstable_transitionCallbacks&&t.unstable_transitionCallbacks),t=Du(e,1,!1,null,0,n,a,r,o,l,0,null),e[_e]=t.current,Fd(8===e.nodeType?e.parentNode:e),new gf(t)},t.hydrateRoot=function(e,t,n){if(!s(e))throw Error(i(299));var a=!1,r="",o=Mi,l=Li,c=Oi,d=null;return null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(r=n.identifierPrefix),void 0!==n.onUncaughtError&&(o=n.onUncaughtError),void 0!==n.onCaughtError&&(l=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.unstable_transitionCallbacks&&n.unstable_transitionCallbacks,void 0!==n.formState&&(d=n.formState)),(t=Du(e,1,!0,t,0,a,r,o,l,c,0,d)).context=Hu(null),n=t.current,(r=Rs(a=Tc())
2).callback=null,Fs(n,r,a),t.current.lanes=a,Fe(t,a),md(t),e[_e]=t.current,Fd(e),new vf(t)},t.version="19.0.0"},43(e,t,n){e.exports=n(288)},288(e,t){var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,y={};function g(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||p}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("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")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=g.prototype;var x=b.prototype=new v;x.constructor=b,m(x,g.prototype),x.isPureReactComponent=!0;var w=Array.isArray,S={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function j(e,t,a,r,o,i){return a=i.ref,{$$typeof:n,type:e,key:t,ref:void 0!==a?a:null,props:i}}function N(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var C=/\/+/g;function E(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function A(){}function z(e,t,r,o,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,c,d=!1;if(null===e)d=!0;else switch(s){case"bigint":case"string":case"number":d=!0;break;case"object":switch(e.$$typeof){case n:case a:d=!0;break;case f:return z((d=e._init)(e._payload),t,r,o,i)}}if(d)return i=i(e),d=""===o?"."+E(e,0):o,w(i)?(r="",null!=d&&(r=d.replace(C,"$&/")+"/"),z(i,t,r,"",function(e){return e})):null!=i&&(N(i)&&(l=i,c=r+(null==i.key||e&&e.key===i.key?"":(""+i.key).replace(C,"$&/")+"/")+d,i=j(l.type,c,void 0,0,0,l.props)),t.push(i)),1;d=0;var u,p=""===o?".":o+":";if(w(e))for(var m=0;m<e.length;m++)d+=z(o=e[m],t,r,s=p+E(o,m),i);else if("function"===typeof(m=null===(u=e)||"object"!==typeof u?null:"function"===typeof(u=h&&u[h]||u["@@iterator"])?u:null))for(e=m.call(e),m=0;!(o=e.next()).done;)d+=z(o=o.value,t,r,s=p+E(o,m++),i);else if("object"===s){if("function"===typeof e.then)return z(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"===typeof e.status?e.then(A,A):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,r,o,i);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return d}function T(e,t,n){if(null==e)return e;var a=[],r=0;return z(e,a,"","",function(e){return t.call(n,e,r++)}),a}function R(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var F="function"===typeof reportError?reportError:function(e){if("object"===typeof window&&"function"===typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"===typeof e&&null!==e&&"string"===typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"===typeof process&&"function"===typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function P(){}t.Children={map:T,forEach:function(e,t,n){T(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return T(e,function(){t++}),t},toArray:function(e){return T(e,function(e){return e})||[]},only:function(e){if(!N(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=r,t.Profiler=i,t.PureComponent=b,t.StrictMode=o,t.Suspense=
2d,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,t.act=function(){throw Error("act(...) is not supported in production builds of React.")},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error("The argument must be a React element, but you passed "+e+".");var a=m({},e.props),r=e.key;if(null!=t)for(o in void 0!==t.ref&&void 0,void 0!==t.key&&(r=""+t.key),t)!k.call(t,o)||"key"===o||"__self"===o||"__source"===o||"ref"===o&&void 0===t.ref||(a[o]=t[o]);var o=arguments.length-2;if(1===o)a.children=n;else if(1<o){for(var i=Array(o),s=0;s<o;s++)i[s]=arguments[s+2];a.children=i}return j(e.type,r,void 0,0,0,a)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},t.createElement=function(e,t,n){var a,r={},o=null;if(null!=t)for(a in void 0!==t.key&&(o=""+t.key),t)k.call(t,a)&&"key"!==a&&"__self"!==a&&"__source"!==a&&(r[a]=t[a]);var i=arguments.length-2;if(1===i)r.children=n;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];r.children=s}if(e&&e.defaultProps)for(a in i=e.defaultProps)void 0===r[a]&&(r[a]=i[a]);return j(e,o,void 0,0,0,r)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=N,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=S.T,n={};S.T=n;try{var a=e(),r=S.S;null!==r&&r(n,a),"object"===typeof a&&null!==a&&"function"===typeof a.then&&a.then(P,F)}catch(o){F(o)}finally{S.T=t}},t.unstable_useCacheRefresh=function(){return S.H.useCacheRefresh()},t.use=function(e){return S.H.use(e)},t.useActionState=function(e,t,n){return S.H.useActionState(e,t,n)},t.useCallback=function(e,t){return S.H.useCallback(e,t)},t.useContext=function(e){return S.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return S.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return S.H.useEffect(e,t)},t.useId=function(){return S.H.useId()},t.useImperativeHandle=function(e,t,n){return S.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return S.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return S.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return S.H.useMemo(e,t)},t.useOptimistic=function(e,t){return S.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return S.H.useReducer(e,t,n)},t.useRef=function(e){return S.H.useRef(e)},t.useState=function(e){return S.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return S.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return S.H.useTransition()},t.version="19.0.0"},391(e,t,n){!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4)},579(e,t,n){e.exports=n(799)},672(e,t,n){var a=n(43);function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var i={d:{f:o,r:function(){throw Error(r(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},s=Symbol.for("react.portal");var l=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){return"font"===e?"":"string"===typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(r(299));return function(e,t,n){var a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==a?null:""+a,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=l.T,n=i.p;try{if(l.T=null,i.p=2,e)return e()}finally{l.T=t,i.p=n,i.d.f()}},t.preconnect=function(e,t){"string"===typeof e&&(t?t="string"===typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:t=null,i.d.C(e,t))},t.prefetchDNS=function(e){"string"===typeof e&&i.d.D(e)},t.preinit=function(e,t){if("string"===typeof e&&t&&"string"===typeof t.as){var n=t.as,a=c(n,t.crossOrigin),r="string"===typeof t.integrity?t.integrity:void 0,o="string"===typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?i.d.S(e,"string"===typeof t.precedence?t.precedence:void 0,{crossOrigin:a,integrity:r,fetchPriority:o}):"script"===n&&i.d.X(e,{crossOrigin:a,integrity:r,fetchPriority:o,nonce:"string"===typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"===typeof e)if("object"===typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:"string"===typeof t.integrity?t.integrity:void 0,nonce:"string"===typeof t.nonce?t.nonce:void 0})}}else null==t&&i.d.M(e)},t.preload=function(e,t){if("string"===typeof e&&"object"===typeof t&&null!==t&&"string"===typeof t.as){var n=t.as,a=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:a,integrity:"string"===typeof t.integrity?t.integrity:void 0,nonce:"string"===typeof t.nonce?t.nonce:void 0,type:"string"===typeof t.type?t.type:void 0,fetchPriority:"string"===typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"str
2ing"===typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"===typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"===typeof t.imageSizes?t.imageSizes:void 0,media:"string"===typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"===typeof e)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:"string"===typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"===typeof t.integrity?t.integrity:void 0})}else i.d.m(e)},t.requestFormReset=function(e){i.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},t.useFormStatus=function(){return l.H.useHostTransitionStatus()},t.version="19.0.0"},799(e,t){var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function r(e,t,a){var r=null;if(void 0!==a&&(r=""+a),void 0!==t.key&&(r=""+t.key),"key"in t)for(var o in a={},t)"key"!==o&&(a[o]=t[o]);else a=t;return t=a.ref,{$$typeof:n,type:e,key:r,ref:void 0!==t?t:null,props:a}}t.Fragment=a,t.jsx=r,t.jsxs=r},853(e,t,n){e.exports=n(896)},896(e,t){function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var a=n-1>>>1,r=e[a];if(!(0<o(r,t)))break e;e[a]=t,e[n]=r,n=a}}function a(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var a=0,r=e.length,i=r>>>1;a<i;){var s=2*(a+1)-1,l=e[s],c=s+1,d=e[c];if(0>o(l,n))c<r&&0>o(d,l)?(e[a]=d,e[c]=n,a=c):(e[a]=l,e[s]=n,a=s);else{if(!(c<r&&0>o(d,n)))break e;e[a]=d,e[c]=n,a=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"===typeof performance&&"function"===typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],d=[],u=1,f=null,h=3,p=!1,m=!1,y=!1,g="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=a(d);null!==t;){if(null===t.callback)r(d);else{if(!(t.startTime<=e))break;r(d),t.sortIndex=t.expirationTime,n(c,t)}t=a(d)}}function w(e){if(y=!1,x(e),!m)if(null!==a(c))m=!0,R();else{var t=a(d);null!==t&&F(w,t.startTime-e)}}var S,k=!1,j=-1,N=5,C=-1;function E(){return!(t.unstable_now()-C<N)}function A(){if(k){var e=t.unstable_now();C=e;var n=!0;try{e:{m=!1,y&&(y=!1,v(j),j=-1),p=!0;var o=h;try{t:{for(x(e),f=a(c);null!==f&&!(f.expirationTime>e&&E());){var i=f.callback;if("function"===typeof i){f.callback=null,h=f.priorityLevel;var s=i(f.expirationTime<=e);if(e=t.unstable_now(),"function"===typeof s){f.callback=s,x(e),n=!0;break t}f===a(c)&&r(c),x(e)}else r(c);f=a(c)}if(null!==f)n=!0;else{var l=a(d);null!==l&&F(w,l.startTime-e),n=!1}}break e}finally{f=null,h=o,p=!1}n=void 0}}finally{n?S():k=!1}}}if("function"===typeof b)S=function(){b(A)};else if("undefined"!==typeof MessageChannel){var z=new MessageChannel,T=z.port2;z.port1.onmessage=A,S=function(){T.postMessage(null)}}else S=function(){g(A,0)};function R(){k||(k=!0,S())}function F(e,n){j=g(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||p||(m=!0,R())},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return a(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,r,o){var i=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:u++,callback:r,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>i?(e.sortIndex=o,n(d,e),null===a(c)&&e===a(d)&&(y?(v(j),j=-1):y=!0,F(w,o-i))):(e.sortIndex=s,n(c,e),m||p||(m=!0,R())),e},t.unstable_shouldYield=E,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},950(e,t,n){!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(672)}},t={};function n(a){var r=t[a];
2if(void 0!==r)return r.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,n),o.exports}n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}();var a=n(43),r=n(391);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}function s(e,t,n){return(t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(e,t,n){d(e,t),t.set(e,n)}function f(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function h(e,t){return e.get(f(e,t))}function p(e,t,n){return e.set(f(e,t),n),n}var m="undefined"===typeof window||"Deno"in globalThis;function y(){}function g(e,t){return"function"===typeof e?e(t):e}function v(e,t){const{type:n="all",exact:a,fetchStatus:r,predicate:o,queryKey:i,stale:s}=e;
2if(i)if(a){if(t.queryHash!==x(i,t.options))return!1}else if(!S(t.queryKey,i))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!==typeof s||t.isStale()===s)&&((!r||r===t.state.fetchStatus)&&!(o&&!o(t)))}function b(e,t){const{exact:n,status:a,predicate:r,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(w(t.options.mutationKey)!==w(o))return!1}else if(!S(t.options.mutationKey,o))return!1}return(!a||t.state.status===a)&&!(r&&!r(t))}function x(e,t){return((null===t||void 0===t?void 0:t.queryKeyHashFn)||w)(e)}function w(e){return JSON.stringify(e,(e,t)=>N(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function S(e,t){return e===t||typeof e===typeof t&&(!(!e||!t||"object"!==typeof e||"object"!==typeof t)&&!Object.keys(t).some(n=>!S(e[n],t[n])))}function k(e,t){if(e===t)return e;const n=j(e)&&j(t);if(n||N(e)&&N(t)){const a=n?e:Object.keys(e),r=a.length,o=n?t:Object.keys(t),i=o.length,s=n?[]:{};let l=0;for(let c=0;c<i;c++){const r=n?c:o[c];(!n&&a.includes(r)||n)&&void 0===e[r]&&void 0===t[r]?(s[r]=void 0,l++):(s[r]=k(e[r],t[r]),s[r]===e[r]&&void 0!==e[r]&&l++)}return r===i&&l===r?e:s}return t}function j(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function N(e){if(!C(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!C(n)&&(!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function C(e){return"[object Object]"===Object.prototype.toString.call(e)}function E(e,t,n){return"function"===typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?k(e,t):t}function A(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const a=[...e,t];return n&&a.length>n?a.slice(1):a}function z(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const a=[t,...e];return n&&a.length>n?a.slice(0,-1):a}var T=Symbol();function R(e,t){return!e.queryFn&&null!==t&&void 0!==t&&t.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==T?e.queryFn:()=>Promise.reject(new Error("Missing queryFn: '".concat(e.queryHash,"'")))}function F(e,t){d(e,t),t.add(e)}var P,I,M,L,O,D,H=function(){let e=[],t=0,n=e=>{e()},a=e=>{e()},r=e=>setTimeout(e,0);const o=a=>{t?e.push(a):r(()=>{n(a)})};return{batch:o=>{let i;t++;try{i=o()}finally{t--,t||(()=>{const t=e;e=[],t.length&&r(()=>{a(()=>{t.forEach(e=>{n(e)})})})})()}return i},batchCalls:e=>function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];o(()=>{e(...n)})},schedule:o,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{a=e},setScheduler:e=>{r=e}}}(),_=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},W=new(P=new WeakMap,I=new WeakMap,M=new WeakMap,class extends _{constructor(){super(),u(this,P,void 0),u(this,I,void 0),u(this,M,void 0),p(M,this,e=>{if(!m&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}onSubscribe(){h(I,this)||this.setEventListener(h(M,this))}onUnsubscribe(){var e;this.hasListeners()||(null===(e=h(I,this))||void 0===e||e.call(this),p(I,this,void 0))}setEventListener(e){var t;p(M,this,e),null===(t=h(I,this))||void 0===t||t.call(this),p(I,this,e(e=>{"boolean"===typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){h(P,this)!==e&&(p(P,this,e),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){var e;return"boolean"===typeof h(P,this)?h(P,this):"hidden"!==(null===(e=globalThis.document)||void 0===e?void 0:e.visibilityState)}}),U=new(L=new WeakMap,O=new WeakMap,D=new WeakMap,class extends _{constructor(){super(),u(this,L,!0),u(this,O,void 0),u(this,D,void 0),p(D,this,e=>{if(!m&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n
2)}}})}onSubscribe(){h(O,this)||this.setEventListener(h(D,this))}onUnsubscribe(){var e;this.hasListeners()||(null===(e=h(O,this))||void 0===e||e.call(this),p(O,this,void 0))}setEventListener(e){var t;p(D,this,e),null===(t=h(O,this))||void 0===t||t.call(this),p(O,this,e(this.setOnline.bind(this)))}setOnline(e){h(L,this)!==e&&(p(L,this,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return h(L,this)}});function V(e){return Math.min(1e3*2**e,3e4)}function Y(e){return"online"!==(null!==e&&void 0!==e?e:"online")||U.isOnline()}var B,q=class extends Error{constructor(e){super("CancelledError"),this.revert=null===e||void 0===e?void 0:e.revert,this.silent=null===e||void 0===e?void 0:e.silent}};function G(e){return e instanceof q}function K(e){let t,n,a,r=!1,o=0,i=!1;const s=new Promise((e,t)=>{n=e,a=t}),l=()=>W.isFocused()&&("always"===e.networkMode||U.isOnline())&&e.canRun(),c=()=>Y(e.networkMode)&&e.canRun(),d=a=>{var r,o;i||(i=!0,null===(r=e.onSuccess)||void 0===r||r.call(e,a),null===(o=t)||void 0===o||o(),n(a))},u=n=>{var r,o;i||(i=!0,null===(r=e.onError)||void 0===r||r.call(e,n),null===(o=t)||void 0===o||o(),a(n))},f=()=>new Promise(n=>{var a;t=e=>{(i||l())&&n(e)},null===(a=e.onPause)||void 0===a||a.call(e)}).then(()=>{var n;(t=void 0,i)||(null===(n=e.onContinue)||void 0===n||n.call(e))}),h=()=>{if(i)return;let t;const n=0===o?e.initialPromise:void 0;try{t=null!==n&&void 0!==n?n:e.fn()}catch(a){t=Promise.reject(a)}Promise.resolve(t).then(d).catch(t=>{var n,a,s;if(i)return;const c=null!==(n=e.retry)&&void 0!==n?n:m?0:3,d=null!==(a=e.retryDelay)&&void 0!==a?a:V,p="function"===typeof d?d(o,t):d,y=!0===c||"number"===typeof c&&o<c||"function"===typeof c&&c(o,t);var g;!r&&y?(o++,null===(s=e.onFail)||void 0===s||s.call(e,o,t),(g=p,new Promise(e=>{setTimeout(e,g)})).then(()=>l()?void 0:f()).then(()=>{r?u(t):h()})):u(t)})};return{promise:s,cancel:t=>{var n;i||(u(new q(t)),null===(n=e.abort)||void 0===n||n.call(e))},continue:()=>{var e;return null===(e=t)||void 0===e||e(),s},cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:c,start:()=>(c()?h():f().then(h),s)}}var Q,$,J,X,Z,ee,te,ne,ae=(B=new WeakMap,class{constructor(){u(this,B,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){var e;this.clearGcTimeout(),"number"===typeof(e=this.gcTime)&&e>=0&&e!==1/0&&p(B,this,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,null!==e&&void 0!==e?e:m?1/0:3e5)}clearGcTimeout(){h(B,this)&&(clearTimeout(h(B,this)),p(B,this,void 0))}}),re=(Q=new WeakMap,$=new WeakMap,J=new WeakMap,X=new WeakMap,Z=new WeakMap,ee=new WeakMap,te=new WeakSet,class extends ae{constructor(e){var t;super(),F(this,te),u(this,Q,void 0),u(this,$,void 0),u(this,J,void 0),u(this,X,void 0),u(this,Z,void 0),u(this,ee,void 0),p(ee,this,!1),p(Z,this,e.defaultOptions),this.setOptions(e.options),this.observers=[],p(J,this,e.cache),this.queryKey=e.queryKey,this.queryHash=e.queryHash,p(Q,this,function(e){const t="function"===typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,a=n?"function"===typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!==a&&void 0!==a?a:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options)),this.state=null!==(t=e.state)&&void 0!==t?t:h(Q,this),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return null===(e=h(X,this))||void 0===e?void 0:e.promise}setOptions(e){this.options=c(c({},h(Z,this)),e),this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||h(J,this).remove(this)}setData(e,t){const n=E(this.state.data,e,this.options);return f(te,this,oe).call(this,{data:n,type:"success",dataUpdatedAt:null===t||void 0===t?void 0:t.updatedAt,manual:null===t||void 0===t?void 0:t.manual}),n}setState(e,t){f(te,this,oe).call(this,{type:"setState",state:e,setStateOptions:t})}cancel(e){var t,n;const a=null===(t=h(X,this))||void 0===t?void 0:t.promise;return null===(n=h(X,this))||void 0===n||n.cancel(e),a?a.then(y).catch(y):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(h(Q,this))}isActive(){return this.observers.some(e=>{return!1!==(t=e.options.enabled,n=this,"function"===typeof t?t(n):t);var t,n})}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.state.isInvalidated||void 0===this.state.data||!function(e,t){return Math.max(e+(t||0)-Date.now(),0)}(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find(e=>e.shouldFetchOnWindowFocus());null===t||void 0===t||t.refetch({cancelRefetch:!1}),null===(e=h(X,this))||void 0===e||e.continue()}onOnline(){var e;const t=this.observers.find(e=>e.shouldFetchOnReconnect());null===t||void 0===t||t.refetch({cancelRefetch:!1}),null===(e=h(X,this))||void 0===e||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),h(J,this).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(h(X,this)&&(h(ee,this)?h(X,this).cancel({revert:!0}):h(X,this).cancelRetry()),this.scheduleGc()),h(J,this).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||f(te,this,oe).call(this,{type:"invalidate"})}fetch(e,t){var n,a;if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&null!==t&&void 0!==t&&t.cancelRefetch)this.cancel({silent:!0});else if(h(X,this))return h(X,this).continueRetry(),h(X,this).promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}const r=new AbortController,o=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(p(ee,this,!0),r.signal)}
2)},i={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{const e=R(this.options,t),n={queryKey:this.queryKey,meta:this.meta};return o(n),p(ee,this,!1),this.options.persister?this.options.persister(e,n,this):e(n)}};var s;(o(i),null===(n=this.options.behavior)||void 0===n||n.onFetch(i,this),p($,this,this.state),"idle"===this.state.fetchStatus||this.state.fetchMeta!==(null===(a=i.fetchOptions)||void 0===a?void 0:a.meta))&&f(te,this,oe).call(this,{type:"fetch",meta:null===(s=i.fetchOptions)||void 0===s?void 0:s.meta});const l=e=>{var t,n,a,r;(G(e)&&e.silent||f(te,this,oe).call(this,{type:"error",error:e}),G(e))||(null===(t=(n=h(J,this).config).onError)||void 0===t||t.call(n,e,this),null===(a=(r=h(J,this).config).onSettled)||void 0===a||a.call(r,this.state.data,e,this));this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return p(X,this,K({initialPromise:null===t||void 0===t?void 0:t.initialPromise,fn:i.fetchFn,abort:r.abort.bind(r),onSuccess:e=>{var t,n,a,r;if(void 0!==e){try{this.setData(e)}catch(o){return void l(o)}null===(t=(n=h(J,this).config).onSuccess)||void 0===t||t.call(n,e,this),null===(a=(r=h(J,this).config).onSettled)||void 0===a||a.call(r,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1}else l(new Error("".concat(this.queryHash," data is undefined")))},onError:l,onFail:(e,t)=>{f(te,this,oe).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{f(te,this,oe).call(this,{type:"pause"})},onContinue:()=>{f(te,this,oe).call(this,{type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0})),h(X,this).start()}});function oe(e){this.state=(t=>{var n,a;switch(e.type){case"failed":return c(c({},t),{},{fetchFailureCount:e.failureCount,fetchFailureReason:e.error});case"pause":return c(c({},t),{},{fetchStatus:"paused"});case"continue":return c(c({},t),{},{fetchStatus:"fetching"});case"fetch":return c(c(c({},t),function(e,t){return c({fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Y(t.networkMode)?"fetching":"paused"},void 0===e&&{error:null,status:"pending"})}(t.data,this.options)),{},{fetchMeta:null!==(n=e.meta)&&void 0!==n?n:null});case"success":return c(c({},t),{},{data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!==(a=e.dataUpdatedAt)&&void 0!==a?a:Date.now(),error:null,isInvalidated:!1,status:"success"},!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":const r=e.error;return G(r)&&r.revert&&h($,this)?c(c({},h($,this)),{},{fetchStatus:"idle"}):c(c({},t),{},{error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"});case"invalidate":return c(c({},t),{},{isInvalidated:!0});case"setState":return c(c({},t),e.state)}})(this.state),H.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),h(J,this).notify({query:this,type:"updated",action:e})})}var ie,se,le,ce,de,ue,fe=(ne=new WeakMap,class extends _{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),u(this,ne,void 0),this.config=e,p(ne,this,new Map)}build(e,t,n){var a;const r=t.queryKey,o=null!==(a=t.queryHash)&&void 0!==a?a:x(r,t);let i=this.get(o);return i||(i=new re({cache:this,queryKey:r,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(i)),i}add(e){h(ne,this).has(e.queryHash)||(h(ne,this).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=h(ne,this).get(e.queryHash);t&&(e.destroy(),t===e&&h(ne,this).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){H.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return h(ne,this).get(e)}getAll(){return[...h(ne,this).values()]}find(e){const t=c({exact:!0},e);return this.getAll().find(e=>v(t,e))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>v(e,t)):t}notify(e){H.batch(()=>
2{this.listeners.forEach(t=>{t(e)})})}onFocus(){H.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){H.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}}),he=(ie=new WeakMap,se=new WeakMap,le=new WeakMap,ce=new WeakSet,class extends ae{constructor(e){super(),F(this,ce),u(this,ie,void 0),u(this,se,void 0),u(this,le,void 0),this.mutationId=e.mutationId,p(se,this,e.mutationCache),p(ie,this,[]),this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){h(ie,this).includes(e)||(h(ie,this).push(e),this.clearGcTimeout(),h(se,this).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){p(ie,this,h(ie,this).filter(t=>t!==e)),this.scheduleGc(),h(se,this).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){h(ie,this).length||("pending"===this.state.status?this.scheduleGc():h(se,this).remove(this))}continue(){var e,t;return null!==(e=null===(t=h(le,this))||void 0===t?void 0:t.continue())&&void 0!==e?e:this.execute(this.state.variables)}async execute(e){var t;p(le,this,K({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{f(ce,this,pe).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{f(ce,this,pe).call(this,{type:"pause"})},onContinue:()=>{f(ce,this,pe).call(this,{type:"continue"})},retry:null!==(t=this.options.retry)&&void 0!==t?t:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>h(se,this).canRun(this)}));const n="pending"===this.state.status,a=!h(le,this).canStart();try{var r,o,i,s,l,c,d,u;if(!n){var m,y,g,v;f(ce,this,pe).call(this,{type:"pending",variables:e,isPaused:a}),await(null===(m=(y=h(se,this).config).onMutate)||void 0===m?void 0:m.call(y,e,this));const t=await(null===(g=(v=this.options).onMutate)||void 0===g?void 0:g.call(v,e));t!==this.state.context&&f(ce,this,pe).call(this,{type:"pending",context:t,variables:e,isPaused:a})}const t=await h(le,this).start();return await(null===(r=(o=h(se,this).config).onSuccess)||void 0===r?void 0:r.call(o,t,e,this.state.context,this)),await(null===(i=(s=this.options).onSuccess)||void 0===i?void 0:i.call(s,t,e,this.state.context)),await(null===(l=(c=h(se,this).config).onSettled)||void 0===l?void 0:l.call(c,t,null,this.state.variables,this.state.context,this)),await(null===(d=(u=this.options).onSettled)||void 0===d?void 0:d.call(u,t,null,e,this.state.context)),f(ce,this,pe).call(this,{type:"success",data:t}),t}catch(E){try{var b,x,w,S,k,j,N,C;throw await(null===(b=(x=h(se,this).config).onError)||void 0===b?void 0:b.call(x,E,e,this.state.context,this)),await(null===(w=(S=this.options).onError)||void 0===w?void 0:w.call(S,E,e,this.state.context)),await(null===(k=(j=h(se,this).config).onSettled)||void 0===k?void 0:k.call(j,void 0,E,this.state.variables,this.state.context,this)),await(null===(N=(C=this.options).onSettled)||void 0===N?void 0:N.call(C,void 0,E,e,this.state.context)),E}finally{f(ce,this,pe).call(this,{type:"error",error:E})}}finally{h(se,this).runNext(this)}}});function pe(e){this.state=(t=>{switch(e.type){case"failed":return c(c({},t),{},{failureCount:e.failureCount,failureReason:e.error});case"pause":return c(c({},t),{},{isPaused:!0});case"continue":return c(c({},t),{},{isPaused:!1});case"pending":return c(c({},t),{},{context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()});case"success":return c(c({},t),{},{data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return c(c({},t),{},{data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"})}})(this.state),H.batch(()=>{h(ie,this).forEach(t=>{t.onMutationUpdate(e)}),h(se,this).notify({mutation:this,type:"updated",action:e})})}var me,ye,ge,ve,be,xe,we,Se,ke=(de=new WeakMap,ue=new WeakMap,class extends _{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),u(this,de,void 0),u(this,ue,void 0),this.config=e,p(de,this,new Map),p(ue,this,Date.now())}build(e,t,n){var a;const r=new he({mutationCache:this,mutationId:p(ue,this,(a=h(ue,this),++a)),options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){var t;const n=je(e),a=null!==(t=h(de,this).get(n))&&void 0!==t?t:[];a.push(e),h(de,this).set(n,a),this.notify({type:"added",mutation:e})}remove(e){const t=je(e);if(h(de,this).has(t)){var n;const a=null===(n=h(de,this).get(t))||void 0===n?void 0:n.filter(t=>t!==e);a&&(0===a.length?h(de,this).delete(t):h(de,this).set(t,a))}this.notify({type:"removed",mutation:e})}canRun(e){var t;const n=null===(t=h(de,this).get(je(e)))||void 0===t?void 0:t.find(e=>"pending"===e.state.status);return!n||n===e}runNext(e){var t,n;const a=null===(t=h(de,this).get(je(e)))||void 0===t?void 0:t.find(t=>
2t!==e&&t.state.isPaused);return null!==(n=null===a||void 0===a?void 0:a.continue())&&void 0!==n?n:Promise.resolve()}clear(){H.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...h(de,this).values()].flat()}find(e){const t=c({exact:!0},e);return this.getAll().find(e=>b(t,e))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.getAll().filter(t=>b(e,t))}notify(e){H.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return H.batch(()=>Promise.all(e.map(e=>e.continue().catch(y))))}});function je(e){var t,n;return null!==(t=null===(n=e.options.scope)||void 0===n?void 0:n.id)&&void 0!==t?t:String(e.mutationId)}function Ne(e){return{onFetch:(t,n)=>{var a,r,o;const i=t.options,s=null===(a=t.fetchOptions)||void 0===a||null===(a=a.meta)||void 0===a||null===(a=a.fetchMore)||void 0===a?void 0:a.direction,l=(null===(r=t.state.data)||void 0===r?void 0:r.pages)||[],c=(null===(o=t.state.data)||void 0===o?void 0:o.pageParams)||[];let d={pages:[],pageParams:[]},u=0;const f=async()=>{let n=!1;const a=R(t.options,t.fetchOptions),r=async(e,r,o)=>{if(n)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);const i={queryKey:t.queryKey,pageParam:r,direction:o?"backward":"forward",meta:t.options.meta};var s;s=i,Object.defineProperty(s,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",()=>{n=!0}),t.signal)});const l=await a(i),{maxPages:c}=t.options,d=o?z:A;return{pages:d(e.pages,l,c),pageParams:d(e.pageParams,r,c)}};if(s&&l.length){const e="backward"===s,t={pages:l,pageParams:c},n=(e?Ee:Ce)(i,t);d=await r(t,n,e)}else{const t=null!==e&&void 0!==e?e:l.length;do{var o;const e=0===u?null!==(o=c[0])&&void 0!==o?o:i.initialPageParam:Ce(i,d);if(u>0&&null==e)break;d=await r(d,e),u++}while(u<t)}return d};t.options.persister?t.fetchFn=()=>{var e,a;return null===(e=(a=t.options).persister)||void 0===e?void 0:e.call(a,f,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=f}}}function Ce(e,t){let{pages:n,pageParams:a}=t;const r=n.length-1;return n.length>0?e.getNextPageParam(n[r],n,a[r],a):void 0}function Ee(e,t){var n;let{pages:a,pageParams:r}=t;return a.length>0?null===(n=e.getPreviousPageParam)||void 0===n?void 0:n.call(e,a[0],a,r[0],r):void 0}var Ae=(me=new WeakMap,ye=new WeakMap,ge=new WeakMap,ve=new WeakMap,be=new WeakMap,xe=new WeakMap,we=new WeakMap,Se=new WeakMap,class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u(this,me,void 0),u(this,ye,void 0),u(this,ge,void 0),u(this,ve,void 0),u(this,be,void 0),u(this,xe,void 0),u(this,we,void 0),u(this,Se,void 0),p(me,this,e.queryCache||new fe),p(ye,this,e.mutationCache||new ke),p(ge,this,e.defaultOptions||{}),p(ve,this,new Map),p(be,this,new Map),p(xe,this,0)}mount(){var e;p(xe,this,(e=h(xe,this),e++,e)),1===h(xe,this)&&(p(we,this,W.subscribe(async e=>{e&&(await this.resumePausedMutations(),h(me,this).onFocus())})),p(Se,this,U.subscribe(async e=>{e&&(await this.resumePausedMutations(),h(me,this).onOnline())})))}unmount(){var e,t,n;p(xe,this,(e=h(xe,this),e--,e)),0===h(xe,this)&&(null===(t=h(we,this))||void 0===t||t.call(this),p(we,this,void 0),null===(n=h(Se,this))||void 0===n||n.call(this),p(Se,this,void 0))}isFetching(e){return h(me,this).findAll(c(c({},e),{},{fetchStatus:"fetching"})).length}isMutating(e){return h(ye,this).findAll(c(c({},e),{},{status:"pending"})).length}getQueryData(e){var t;const n=this.defaultQueryOptions({queryKey:e});return null===(t=h(me,this).get(n.queryHash))||void 0===t?void 0:t.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(void 0===t)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),a=h(me,this).build(this,n);return e.revalidateIfStale&&a.isStaleByTime(g(n.staleTime,a))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return h(me,this).findAll(e).map(e=>{let{queryKey:t,state:n}=e;return[t,n.data]})}setQueryData(e,t,n){const a=this.defaultQueryOptions({queryKey:e}),r=h(me,this).get(a.queryHash),o=function(e,t){return"function"===typeof e?e(t):e}(t,null===r||void 0===r?void 0:r.state.data);if(void 0!==o)return h(me,this).build(this,a).setData(o,c(c({},n),{},{manual:!0}))}
2setQueriesData(e,t,n){return H.batch(()=>h(me,this).findAll(e).map(e=>{let{queryKey:a}=e;return[a,this.setQueryData(a,t,n)]}))}getQueryState(e){var t;const n=this.defaultQueryOptions({queryKey:e});return null===(t=h(me,this).get(n.queryHash))||void 0===t?void 0:t.state}removeQueries(e){const t=h(me,this);H.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){const n=h(me,this),a=c({type:"active"},e);return H.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries(a,t)))}cancelQueries(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=c({revert:!0},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=H.batch(()=>h(me,this).findAll(e).map(e=>e.cancel(t)));return Promise.all(n).then(y).catch(y)}invalidateQueries(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return H.batch(()=>{var n,a;if(h(me,this).findAll(e).forEach(e=>{e.invalidate()}),"none"===e.refetchType)return Promise.resolve();const r=c(c({},e),{},{type:null!==(n=null!==(a=e.refetchType)&&void 0!==a?a:e.type)&&void 0!==n?n:"active"});return this.refetchQueries(r,t)})}refetchQueries(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;const a=c(c({},n),{},{cancelRefetch:null===(e=null===n||void 0===n?void 0:n.cancelRefetch)||void 0===e||e}),r=H.batch(()=>h(me,this).findAll(t).filter(e=>!e.isDisabled()).map(e=>{let t=e.fetch(void 0,a);return a.throwOnError||(t=t.catch(y)),"paused"===e.state.fetchStatus?Promise.resolve():t}));return Promise.all(r).then(y)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=h(me,this).build(this,t);return n.isStaleByTime(g(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(y).catch(y)}fetchInfiniteQuery(e){return e.behavior=Ne(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(y).catch(y)}ensureInfiniteQueryData(e){return e.behavior=Ne(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return U.isOnline()?h(ye,this).resumePausedMutations():Promise.resolve()}getQueryCache(){return h(me,this)}getMutationCache(){return h(ye,this)}getDefaultOptions(){return h(ge,this)}setDefaultOptions(e){p(ge,this,e)}setQueryDefaults(e,t){h(ve,this).set(w(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...h(ve,this).values()];let n={};return t.forEach(t=>{S(e,t.queryKey)&&(n=c(c({},n),t.defaultOptions))}),n}setMutationDefaults(e,t){h(be,this).set(w(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...h(be,this).values()];let n={};return t.forEach(t=>{S(e,t.mutationKey)&&(n=c(c({},n),t.defaultOptions))}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t=c(c(c(c({},h(ge,this).queries),this.getQueryDefaults(e.queryKey)),e),{},{_defaulted:!0});return t.queryHash||(t.queryHash=x(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),!0!==t.enabled&&t.queryFn===T&&(t.enabled=!1),t}defaultMutationOptions(e){return null!==e&&void 0!==e&&e._defaulted?e:c(c(c(c({},h(ge,this).mutations),(null===e||void 0===e?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey)),e),{},{_defaulted:!0})}clear(){h(me,this).clear(),h(ye,this).clear()}}),ze=n(579),Te=a.createContext(void 0),Re=e=>{let{client:t,children:n}=e;return a.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,ze.jsx)(Te.Provider,{value:t,children:n})};function Fe(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}const Pe=["sri"],Ie=["page"],Me=["page","matches"],Le=["onClick","discover","prefetch","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Oe=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],De=["discover","fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];var He="popstate";function _e(){return Ge(function(e,t){let{pathname:n,search:a,hash:r}=e.location;return Ye("",{pathname:n,search:a,hash:r},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"===typeof t?t:Be(t)},null,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}function We(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function Ue(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function Ve(e,t){return{usr:e.state,key:e.key,idx:t}}function Ye(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3?arguments[3]:void 0;return c(c({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?qe(t):t),{},{state:n,key:t&&t.key||a||Math.random().toString(36).substring(2,10)})}function Be(e){let{pathname:t="/",search:n="",hash:a=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),a&&"#"!==a&&(t+="#"===a.charAt(0)?a:"#"+a),t}function qe(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let a=e.indexOf("?");a>=0&&(t.search=e.substring(a),e=e.substring(0,a)),e&&(t.pathname=e)}return t}function Ge(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{window:r=document.defaultView,v5Compat:o=!1}=a,i=r.history,s="POP",l=null,d=u();function u(){return(i.state||{idx:null}).idx}function f(){s="POP";let e=u(),t=null==e?null:e-d;d=e,l&&l({action:s,location:p.location,delta:t})}function h(e){let t="null"!==r.location.origin?r.location.origin:r.location.href,n="string"===typeof e?e:Be(e);return n=n.replace(/ $/,"%20"),We(t,"No window.location.(origin|href) available to create URL for href: ".concat(n)),new URL(n,t)}null==d&&(d=0,i.replaceState(c(c({},i.state),{},{idx:d}),""));let p={get action(){return s},get location(){return e(r,i)},listen(e){if(l)throw new Error("A history only accepts one active listener");return r.addEventListener(He,f),l=e,()=>{r.removeEventListener(He,f),l=null}},createHref:e=>t(r,e),createURL:h,encodeLocation(e){let t=h(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s="PUSH";let a=Ye(p.location,e,t);n&&n(a,e),d=u()+1;let c=Ve(a,d),f=p.createHref(a);try{i.pushState(c,"",f)}catch(h){if(h instanceof DOMException&&"DataCloneError"===h.name)throw h;r.location.assign(f)}o&&l&&l({action:s,location:p.location,delta:1})},replace:function(e,t){s="REPLACE";let a=Ye(p.location,e,t);n&&n(a,e),d=u();let r=Ve(a,d),c=p.createHref(a);i.replaceState(r,"",c),o&&l&&l({action:s,location:p.location,delta:0})},go:e=>i.go(e)};return p}new WeakMap;function Ke(e,t){return Qe(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",!1)}function Qe(e,t,n,a){let r=dt(("string"===typeof t?qe(t):t).pathname||"/",n);if(null==r)return null;let o=$e(e);!function(e){e.sort((e,t)=>
2e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n]);return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(o);let i=null;for(let s=0;null==i&&s<o.length;++s){let e=ct(r);i=it(o[s],e,a)}return i}function $e(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",r=(e,r,o)=>{let i={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:r,route:e};i.relativePath.startsWith("/")&&(We(i.relativePath.startsWith(a),'Absolute route path "'.concat(i.relativePath,'" nested under path "').concat(a,'" is not valid. An absolute child route path must start with the combined path of all its parent routes.')),i.relativePath=i.relativePath.slice(a.length));let s=mt([a,i.relativePath]),l=n.concat(i);e.children&&e.children.length>0&&(We(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'.concat(s,'".')),$e(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:ot(s,e.index),routesMeta:l})};return e.forEach((e,t)=>{var n;if(""!==e.path&&null!==(n=e.path)&&void 0!==n&&n.includes("?"))for(let a of Je(e.path))r(e,t,a);else r(e,t)}),t}function Je(e){let t=e.split("/");if(0===t.length)return[];let[n,...a]=t,r=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===a.length)return r?[o,""]:[o];let i=Je(a.join("/")),s=[];return s.push(...i.map(e=>""===e?o:[o,e].join("/"))),r&&s.push(...i),s.map(t=>e.startsWith("/")&&""===t?"/":t)}var Xe=/^:[\w-]+$/,Ze=3,et=2,tt=1,nt=10,at=-2,rt=e=>"*"===e;function ot(e,t){let n=e.split("/"),a=n.length;return n.some(rt)&&(a+=at),t&&(a+=et),n.filter(e=>!rt(e)).reduce((e,t)=>e+(Xe.test(t)?Ze:""===t?tt:nt),a)}function it(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{routesMeta:a}=e,r={},o="/",i=[];for(let s=0;s<a.length;++s){let e=a[s],l=s===a.length-1,c="/"===o?t:t.slice(o.length)||"/",d=st({path:e.relativePath,caseSensitive:e.caseSensitive,end:l},c),u=e.route;if(!d&&l&&n&&!a[a.length-1].route.index&&(d=st({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},c)),!d)return null;
2Object.assign(r,d.params),i.push({params:r,pathname:mt([o,d.pathname]),pathnameBase:yt(mt([o,d.pathnameBase])),route:u}),"/"!==d.pathnameBase&&(o=mt([o,d.pathnameBase]))}return i}function st(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,a]=lt(e.path,e.caseSensitive,e.end),r=t.match(n);if(!r)return null;let o=r[0],i=o.replace(/(.)\/+$/,"$1"),s=r.slice(1);return{params:a.reduce((e,t,n)=>{let{paramName:a,isOptional:r}=t;if("*"===a){let e=s[n]||"";i=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[a]=r&&!l?void 0:(l||"").replace(/%2F/g,"/"),e},{}),pathname:o,pathnameBase:i,pattern:e}}function lt(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];Ue("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'.concat(e,'" will be treated as if it were "').concat(e.replace(/\*$/,"/*"),'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "').concat(e.replace(/\*$/,"/*"),'".'));let a=[],r="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(a.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(a.push({paramName:"*"}),r+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":""!==e&&"/"!==e&&(r+="(?:(?=\\/|$))"),[new RegExp(r,t?void 0:"i"),a]}function ct(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return Ue(!1,'The URL path "'.concat(e,'" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (').concat(t,").")),e}}function dt(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,a=e.charAt(n);return a&&"/"!==a?null:e.slice(n)||"/"}function ut(e,t,n,a){return"Cannot include a '".concat(e,"' character in a manually specified `to.").concat(t,"` field [").concat(JSON.stringify(a),"]. Please separate it out to the `to.").concat(n,'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.')}function ft(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function ht(e){let t=ft(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function pt(e,t,n){let a,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];"string"===typeof e?a=qe(e):(a=c({},e),We(!a.pathname||!a.pathname.includes("?"),ut("?","pathname","search",a)),We(!a.pathname||!a.pathname.includes("#"),ut("#","pathname","hash",a)),We(!a.search||!a.search.includes("#"),ut("#","search","hash",a)));let o,i=""===e||""===a.pathname,s=i?"/":a.pathname;if(null==s)o=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",{pathname:n,search:a="",hash:r=""}="string"===typeof e?qe(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:gt(a),hash:vt(r)}}(a,o),d=s&&"/"!==s&&s.endsWith("/"),u=(i||"."===s)&&n.endsWith("/");return l.pathname.endsWith("/")||!d&&!u||(l.pathname+="/"),l}var mt=e=>e.join("/").replace(/\/\/+/g,"/"),yt=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),gt=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",vt=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function bt(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var xt=["POST","PUT","PATCH","DELETE"],wt=(new Set(xt),["GET",...xt]);new Set(wt),Symbol("ResetLoaderData");var St=a.createContext(null);St.displayName="DataRouter";var kt=a.createContext(null);kt.displayName="DataRouterState";var jt=a.createContext({isTransitioning:!1});jt.displayName="ViewTransition";var Nt=a.createContext(new Map);Nt.displayName="Fetchers";var Ct=a.createContext(null);Ct.displayName="Await";var Et=a.createContext(null);Et.displayName="Navigation";var At=a.createContext(null);At.displayName="Location";var zt=a.createContext({outlet:null,matches:[],isDataRoute:!1});zt.displayName="Route";var Tt=a.createContext(null);Tt.displayName="RouteError";function Rt(){return null!=a.useContext(At)}function Ft(){return We(Rt(),"useLocation() may be used only in the context of a <Router> component."),a.useContext(At).location}var Pt="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function It(e){a.useContext(Et).static||a.useLayoutEffect(e)}function Mt(){let{isDataRoute:e}=a.useContext(zt);return e?function(){let{router:e}=Yt("useNavigate"),t=qt("useNavigate"),n=a.useRef(!1);It(()=>{n.current=!0});let r=a.useCallback(async function(a){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Ue(n.current,Pt),n.current&&("number"===typeof a?e.navigate(a):await e.navigate(a,c({fromRouteId:t},r)))},[e,t]);return r}():function(){We(Rt(),"useNavigate() may be used only in the context of a <Router> component.");
2let e=a.useContext(St),{basename:t,navigator:n}=a.useContext(Et),{matches:r}=a.useContext(zt),{pathname:o}=Ft(),i=JSON.stringify(ht(r)),s=a.useRef(!1);It(()=>{s.current=!0});let l=a.useCallback(function(a){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Ue(s.current,Pt),!s.current)return;if("number"===typeof a)return void n.go(a);let l=pt(a,JSON.parse(i),o,"path"===r.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:mt([t,l.pathname])),(r.replace?n.replace:n.push)(l,r.state,r)},[t,n,i,o,e]);return l}()}a.createContext(null);function Lt(e){let{relative:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{matches:n}=a.useContext(zt),{pathname:r}=Ft(),o=JSON.stringify(ht(n));return a.useMemo(()=>pt(e,JSON.parse(o),r,"path"===t),[e,o,r,t])}function Ot(e,t,n,r){We(Rt(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o,static:i}=a.useContext(Et),{matches:s}=a.useContext(zt),l=s[s.length-1],d=l?l.params:{},u=l?l.pathname:"/",f=l?l.pathnameBase:"/",h=l&&l.route;{let e=h&&h.path||"";Qt(u,!h||e.endsWith("*")||e.endsWith("*?"),'You rendered descendant <Routes> (or called `useRoutes()`) at "'.concat(u,'" (under <Route path="').concat(e,'">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won\'t match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="').concat(e,'"> to <Route path="').concat("/"===e?"*":"".concat(e,"/*"),'">.'))}let p,m=Ft();if(t){var y;let e="string"===typeof t?qe(t):t;We("/"===f||(null===(y=e.pathname)||void 0===y?void 0:y.startsWith(f)),'When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "'.concat(f,'" but pathname "').concat(e.pathname,'" was given in the `location` prop.')),p=e}else p=m;let g=p.pathname||"/",v=g;if("/"!==f){let e=f.replace(/^\//,"").split("/");v="/"+g.replace(/^\//,"").split("/").slice(e.length).join("/")}let b=!i&&n&&n.matches&&n.matches.length>0?n.matches:Ke(e,{pathname:v});Ue(h||null!=b,'No routes matched location "'.concat(p.pathname).concat(p.search).concat(p.hash,'" ')),Ue(null==b||void 0!==b[b.length-1].route.element||void 0!==b[b.length-1].route.Component||void 0!==b[b.length-1].route.lazy,'Matched leaf route at location "'.concat(p.pathname).concat(p.search).concat(p.hash,'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.'));let x=Ut(b&&b.map(e=>Object.assign({},e,{params:Object.assign({},d,e.params),pathname:mt([f,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?f:mt([f,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),s,n,r);return t&&x?a.createElement(At.Provider,{value:{location:c({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:"POP"}},x):x}function Dt(){let e=Gt(),t=bt(e)?"".concat(e.status," ").concat(e.statusText):e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=a.createElement(a.Fragment,null,a.createElement("p",null,"\ud83d\udcbf Hey developer \ud83d\udc4b"),a.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",a.createElement("code",{style:i},"ErrorBoundary")," or"," ",a.createElement("code",{style:i},"errorElement")," prop on your route.")),a.createElement(a.Fragment,null,a.createElement("h2",null,"Unexpected Application Error!"),a.createElement("h3",{style:{fontStyle:"italic"}},t),n?a.createElement("pre",{style:o},n):null,s)}var Ht=a.createElement(Dt,null),_t=class extends a.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?a.createElement(zt.Provider,{value:this.props.routeContext},a.createElement(Tt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};
2function Wt(e){let{routeContext:t,match:n,children:r}=e,o=a.useContext(St);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),a.createElement(zt.Provider,{value:t},r)}function Ut(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(null==e){if(!n)return null;if(n.errors)e=n.matches;else{if(0!==t.length||n.initialized||!(n.matches.length>0))return null;e=n.matches}}let r=e,o=null===n||void 0===n?void 0:n.errors;if(null!=o){let e=r.findIndex(e=>e.route.id&&void 0!==(null===o||void 0===o?void 0:o[e.route.id]));We(e>=0,"Could not find a matching route for errors on route IDs: ".concat(Object.keys(o).join(","))),r=r.slice(0,Math.min(r.length,e+1))}let i=!1,s=-1;if(n)for(let a=0;a<r.length;a++){let e=r[a];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(s=a),e.route.id){let{loaderData:t,errors:a}=n,o=e.route.loader&&!t.hasOwnProperty(e.route.id)&&(!a||void 0===a[e.route.id]);if(e.route.lazy||o){i=!0,r=s>=0?r.slice(0,s+1):[r[0]];break}}}return r.reduceRight((e,l,c)=>{let d,u=!1,f=null,h=null;n&&(d=o&&l.route.id?o[l.route.id]:void 0,f=l.route.errorElement||Ht,i&&(s<0&&0===c?(Qt("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),u=!0,h=null):s===c&&(u=!0,h=l.route.hydrateFallbackElement||null)));let p=t.concat(r.slice(0,c+1)),m=()=>{let t;return t=d?f:u?h:l.route.Component?a.createElement(l.route.Component,null):l.route.element?l.route.element:e,a.createElement(Wt,{match:l,routeContext:{outlet:e,matches:p,isDataRoute:null!=n},children:t})};return n&&(l.route.ErrorBoundary||l.route.errorElement||0===c)?a.createElement(_t,{location:n.location,revalidation:n.revalidation,component:f,error:d,children:m(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):m()},null)}function Vt(e){return"".concat(e," must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.")}function Yt(e){let t=a.useContext(St);return We(t,Vt(e)),t}function Bt(e){let t=a.useContext(kt);return We(t,Vt(e)),t}function qt(e){let t=function(e){let t=a.useContext(zt);return We(t,Vt(e)),t}(e),n=t.matches[t.matches.length-1];return We(n.route.id,"".concat(e,' can only be used on routes that contain a unique "id"')),n.route.id}function Gt(){var e;let t=a.useContext(Tt),n=Bt("useRouteError"),r=qt("useRouteError");return void 0!==t?t:null===(e=n.errors)||void 0===e?void 0:e[r]}var Kt={};function Qt(e,t,n){t||Kt[e]||(Kt[e]=!0,Ue(!1,n))}a.memo(function(e){let{routes:t,future:n,state:a}=e;return Ot(t,void 0,a,n)});function $t(e){let{to:t,replace:n,state:r,relative:o}=e;We(Rt(),"<Navigate> may be used only in the context of a <Router> component.");let{static:i}=a.useContext(Et);Ue(!i,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:s}=a.useContext(zt),{pathname:l}=Ft(),c=Mt(),d=pt(t,ht(s),l,"path"===o),u=JSON.stringify(d);return a.useEffect(()=>{c(JSON.parse(u),{replace:n,state:r,relative:o})},[c,u,o,n,r]),null}function Jt(e){We(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Xt(e){let{basename:t="/",children:n=null,location:r,navigationType:o="POP",navigator:i,static:s=!1}=e;We(!Rt(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=t.replace(/^\/*/,"/"),c=a.useMemo(()=>({basename:l,navigator:i,static:s,future:{}}),[l,i,s]);"string"===typeof r&&(r=qe(r));let{pathname:d="/",search:u="",hash:f="",state:h=null,key:p="default"}=r,m=a.useMemo(()=>{let e=dt(d,l);return null==e?null:{location:{pathname:e,search:u,hash:f,state:h,key:p},navigationType:o}},[l,d,u,f,h,p,o]);return Ue(null!=m,'<Router basename="'.concat(l,'"> is not able to match the URL "').concat(d).concat(u).concat(f,"\" because it does not start with the base
2name, so the <Router> won't render anything.")),null==m?null:a.createElement(Et.Provider,{value:c},a.createElement(At.Provider,{children:n,value:m}))}function Zt(e){let{children:t,location:n}=e;return Ot(en(t),n)}a.Component;function en(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];return a.Children.forEach(e,(e,r)=>{if(!a.isValidElement(e))return;let o=[...t,r];if(e.type===a.Fragment)return void n.push.apply(n,en(e.props.children,o));We(e.type===Jt,"[".concat("string"===typeof e.type?e.type:e.type.name,"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>")),We(!e.props.index||!e.props.children,"An index route cannot have child routes.");let i={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=en(e.props.children,o)),n.push(i)}),n}var tn="get",nn="application/x-www-form-urlencoded";function an(e){return null!=e&&"string"===typeof e.tagName}var rn=null;var on=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function sn(e){return null==e||on.has(e)?e:(Ue(!1,'"'.concat(e,'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` and will default to "').concat(nn,'"')),null)}function ln(e,t){let n,a,r,o,i;if(an(s=e)&&"form"===s.tagName.toLowerCase()){let i=e.getAttribute("action");a=i?dt(i,t):null,n=e.getAttribute("method")||tn,r=sn(e.getAttribute("enctype"))||nn,o=new FormData(e)}else if(function(e){return an(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return an(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||i.getAttribute("action");if(a=s?dt(s,t):null,n=e.getAttribute("formmethod")||i.getAttribute("method")||tn,r=sn(e.getAttribute("formenctype"))||sn(i.getAttribute("enctype"))||nn,o=new FormData(i,e),!function(){if(null===rn)try{new FormData(document.createElement("form"),0),rn=!1}catch(e){rn=!0}return rn}()){let{name:t,type:n,value:a}=e;if("image"===n){let e=t?"".concat(t,"."):"";o.append("".concat(e,"x"),"0"),o.append("".concat(e,"y"),"0")}else t&&o.append(t,a)}}else{if(an(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=tn,a=null,r=nn,i=e}var s;return o&&"text/plain"===r&&(i=o,o=void 0),{action:a,method:n.toLowerCase(),encType:r,formData:o,body:i}}function cn(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}async function dn(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error("Error loading route module `".concat(e.module,"`, reloading page...")),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function un(e){return null!=e&&"string"===typeof e.page}function fn(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"===typeof e.imageSrcSet&&"string"===typeof e.imageSizes:"string"===typeof e.rel&&"string"===typeof e.href)}function hn(e,t,n,a,r,o){let i=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>{var a;return n[t].pathname!==e.pathname||(null===(a=n[t].route.path)||void 0===a?void 0:a.endsWith("*"))&&n[t].params["*"]!==e.params["*"]};return"assets"===o?t.filter((e,t)=>i(e,t)||s(e,t)):"data"===o?t.filter((t,o)=>{let l=a.routes[t.route.id];if(!l||!l.hasLoader)return!1;if(i(t,o)||s(t,o))return!0;if(t.route.shouldRevalidate){var c;let a=t.route.shouldRevalidate({currentUrl:new URL(r.pathname+r.search+r.hash,window.origin),currentParam
2s:(null===(c=n[0])||void 0===c?void 0:c.params)||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"===typeof a)return a}return!0}):[]}function pn(e,t){let{includeHydrateFallback:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return a=e.map(e=>{let a=t.routes[e.route.id];if(!a)return[];let r=[a.module];return a.clientActionModule&&(r=r.concat(a.clientActionModule)),a.clientLoaderModule&&(r=r.concat(a.clientLoaderModule)),n&&a.hydrateFallbackModule&&(r=r.concat(a.hydrateFallbackModule)),a.imports&&(r=r.concat(a.imports)),r}).flat(1),[...new Set(a)];var a}function mn(e,t){let n=new Set,a=new Set(t);return e.reduce((e,r)=>{if(t&&!un(r)&&"script"===r.as&&r.href&&a.has(r.href))return e;let o=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let a of n)t[a]=e[a];return t}(r));return n.has(o)||(n.add(o),e.push({key:o,link:r})),e},[])}function yn(e){return{__html:e}}Symbol("SingleFetchRedirect");var gn=new Set([100,101,204,205]);function vn(e,t){let n="string"===typeof e?new URL(e,"undefined"===typeof window?"server://singlefetch/":window.location.origin):e;return"/"===n.pathname?n.pathname="_root.data":t&&"/"===dt(n.pathname,t)?n.pathname="".concat(t.replace(/\/$/,""),"/_root.data"):n.pathname="".concat(n.pathname.replace(/\/$/,""),".data"),n}a.Component;function bn(e){let{error:t,isOutsideRemixApp:n}=e;console.error(t);let r,o=a.createElement("script",{dangerouslySetInnerHTML:{__html:'\n console.log(\n "\ud83d\udcbf Hey developer \ud83d\udc4b. You can provide a way better UX than this when your app throws errors. Check out https://remix.run/guides/errors for more information."\n );\n '}});if(bt(t))return a.createElement(xn,{title:"Unhandled Thrown Response!"},a.createElement("h1",{style:{fontSize:"24px"}},t.status," ",t.statusText),o);if(t instanceof Error)r=t;else{let e=null==t?"Unknown Error":"object"===typeof t&&"toString"in t?t.toString():JSON.stringify(t);r=new Error(e)}return a.createElement(xn,{title:"Application Error!",isOutsideRemixApp:n},a.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),a.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},r.stack),o)}function xn(e){var t;let{title:n,renderScripts:r,isOutsideRemixApp:o,children:i}=e,{routeModules:s}=Nn();return null!==(t=s.root)&&void 0!==t&&t.Layout&&!o?i:a.createElement("html",{lang:"en"},a.createElement("head",null,a.createElement("meta",{charSet:"utf-8"}),a.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),a.createElement("title",null,n)),a.createElement("body",null,a.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},i,r?a.createElement(Fn,null):null)))}function wn(e){return!0===e}function Sn(){let e=a.useContext(St);return cn(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function kn(){let e=a.useContext(kt);return cn(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var jn=a.createContext(void 0);function Nn(){let e=a.useContext(jn);return cn(e,"You must render this element inside a <HydratedRouter> element"),e}function Cn(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function En(e,t,n){if(n&&!Rn)return[e[0]];if(t){let n=e.findIndex(e=>void 0!==t[e.route.id]);return e.slice(0,n+1)}return e}function An(e){let{page:t}=e,n=Fe(e,Ie),{router:r}=Sn(),o=a.useMemo(()=>Ke(r.routes,t,r.basename),[r.routes,t,r.basename]);return o?a.createElement(Tn,c({page:t,matches:o},n)):null}function zn(e){let{manifest:t,routeModules:n}=Nn(),[r,o]=a.useState([]);return a.useEffect(()=>{let a=!1;return async function(e,t,n){return mn((await Promise.all(e.map(async e=>{let a=t.routes[e.route.id];if(a){let e=await dn(a,n);return e.links?e.links():[]}return[]}))).flat(1).filter(fn).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?c(c({},e),{},{rel:"prefetch",as:"style"}):c(c({},e),{},{rel:"prefetch"})))}(e,t,n).then(e=>{a||o(e)}),()=>{a=!0}},[e,t,n]),r}function Tn(e){let{page:t,matches:n}=e,r=Fe(e,Me),o=Ft(),{manifest:i,routeModules:s}=Nn(),{basename:l}=Sn(),{loaderData:d,matches:u}=kn(),f=a.useMemo(()=>hn(t,n,u,i,o,"data"),[t,n,u,i,o]),h=a.useMemo(()=>hn(t,n,u,i,o,"assets"),[t,n,u,i,o]),p=a.useMemo(()=>
2{if(t===o.pathname+o.search+o.hash)return[];let e=new Set,a=!1;if(n.forEach(t=>{var n;let r=i.routes[t.route.id];r&&r.hasLoader&&(!f.some(e=>e.route.id===t.route.id)&&t.route.id in d&&null!==(n=s[t.route.id])&&void 0!==n&&n.shouldRevalidate||r.hasClientLoader?a=!0:e.add(t.route.id))}),0===e.size)return[];let r=vn(t,l);return a&&e.size>0&&r.searchParams.set("_routes",n.filter(t=>e.has(t.route.id)).map(e=>e.route.id).join(",")),[r.pathname+r.search]},[l,d,o,i,f,n,t,s]),m=a.useMemo(()=>pn(h,i),[h,i]),y=zn(h);return a.createElement(a.Fragment,null,p.map(e=>a.createElement("link",c({key:e,rel:"prefetch",as:"fetch",href:e},r))),m.map(e=>a.createElement("link",c({key:e,rel:"modulepreload",href:e},r))),y.map(e=>{let{key:t,link:n}=e;return a.createElement("link",c({key:t},n))}))}jn.displayName="FrameworkContext";var Rn=!1;function Fn(e){let{manifest:t,serverHandoffString:n,isSpaMode:r,ssr:o,renderMeta:i}=Nn(),{router:s,static:l,staticContext:d}=Sn(),{matches:u}=kn(),f=wn(o);i&&(i.didRenderScripts=!0);let h=En(u,null,r);a.useEffect(()=>{Rn=!0},[]);let p=a.useMemo(()=>{var r;let o=d?"window.__reactRouterContext = ".concat(n,";").concat("window.__reactRouterContext.stream = new ReadableStream({start(controller){window.__reactRouterContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());"):" ",i=l?"".concat(null!==(r=t.hmr)&&void 0!==r&&r.runtime?"import ".concat(JSON.stringify(t.hmr.runtime),";"):"").concat(f?"":"import ".concat(JSON.stringify(t.url)),";\n").concat(h.map((e,n)=>{let a="route".concat(n),r=t.routes[e.route.id];cn(r,"Route ".concat(e.route.id," not found in manifest"));let{clientActionModule:o,clientLoaderModule:i,clientMiddlewareModule:s,hydrateFallbackModule:l,module:c}=r,d=[...o?[{module:o,varName:"".concat(a,"_clientAction")}]:[],...i?[{module:i,varName:"".concat(a,"_clientLoader")}]:[],...s?[{module:s,varName:"".concat(a,"_clientMiddleware")}]:[],...l?[{module:l,varName:"".concat(a,"_HydrateFallback")}]:[],{module:c,varName:"".concat(a,"_main")}];return 1===d.length?"import * as ".concat(a," from ").concat(JSON.stringify(c),";"):[d.map(e=>"import * as ".concat(e.varName,' from "').concat(e.module,'";')).join("\n"),"const ".concat(a," = {").concat(d.map(e=>"...".concat(e.varName)).join(","),"};")].join("\n")}).join("\n"),"\n ").concat(f?"window.__reactRouterManifest = ".concat(JSON.stringify(function(e,t){let{sri:n}=e,a=Fe(e,Pe),r=new Set(t.state.matches.map(e=>e.route.id)),o=t.state.location.pathname.split("/").filter(Boolean),i=["/"];for(o.pop();o.length>0;)i.push("/".concat(o.join("/"))),o.pop();i.forEach(e=>{let n=Ke(t.routes,e,t.basename);n&&n.forEach(e=>r.add(e.route.id))});let s=[...r].reduce((e,t)=>Object.assign(e,{[t]:a.routes[t]}),{});return c(c({},a),{},{routes:s,sri:!!n||void 0})}(t,s),null,2),";"):"","\n window.__reactRouterRouteModules = {").concat(h.map((e,t)=>"".concat(JSON.stringify(e.route.id),":route").concat(t)).join(","),"};\n\nimport(").concat(JSON.stringify(t.entry.module),");"):" ";return a.createElement(a.Fragment,null,a.createElement("script",c(c({},e),{},{suppressHydrationWarning:!0,dangerouslySetInnerHTML:yn(o),type:void 0})),a.createElement("script",c(c({},e),{},{suppressHydrationWarning:!0,dangerouslySetInnerHTML:yn(i),type:"module",async:!0})))},[]),m=Rn?[]:(y=t.entry.imports.concat(pn(h,t,{includeHydrateFallback:!0})),[...new Set(y)]);var y;let g="object"===typeof t.sri?t.sri:{};return Rn?null:a.createElement(a.Fragment,null,"object"===typeof t.sri?a.createElement("script",{"rr-importmap":"",type:"importmap",suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:JSON.stringify({integrity:g})}}):null,f?null:a.createElement("link",{rel:"modulepreload",href:t.url,crossOrigin:e.crossOrigin,integrity:g[t.url],suppressHydrationWarning:!0}),a.createElement("link",{rel:"modulepreload",href:t.entry.module,crossOrigin:e.crossOrigin,integrity:g[t.entry.module],suppressHydrationWarning:!0}),m.map(t=>a.createElement("link",{key:t,rel:"modulepreload",href:t,crossOrigin:e.crossOrigin,integrity:g[t],suppressHydrationWarning:!0})),p)}function Pn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach(t=>{"function"===typeof t?t(e):null!=t&&(t.current=e)})}}var In="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement;try{In&&(window.__reactRouterVersion="7.5.1")}catch(Ys){}function Mn(e){let{basename:t,children:n,window:r}=e,o=a.useRef();null==o.current&&(o.current=_e({window:r,v5Compat:!0}));let i=o.current,[s,l]=a.useState({action:i.action,location:i.location}),c=a.useCallback(e=>{a.startTransition(()=>l(e))},[l]);return a.useLayoutEffect(()=>i.listen(c),[i,c]),a.createElement(Xt,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i})}var Ln=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,On=a.forwardRef(function(e,t){let n,{onClick:r,discover:o="render",prefetch:i="none",relative:s,reloadDocument:l,replace:d,state:u,target:f,to:h,preventScrollReset:p,viewTransition:m}=e,y=Fe(e,Le),{basename:g}=a.useContext(Et),v="string"===typeof h&&Ln.test(h),b=!1;if("string"===typeof h&&v&&(n=h,In))try{let e=new URL(window.location.href),t=h.startsWith("//")?new URL(e.protocol+h):new URL(h),n=dt(t.pathname,g);t.origin===e.origin&&null!=n?h=n+t.search+t.hash:b=!0}catch(Ys){Ue(!1,'<Link to="'.concat(h,'">
2 contains an invalid URL which will probably break when clicked - please update to a valid URL path.'))}let x=function(e){let{relative:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};We(Rt(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=a.useContext(Et),{hash:o,pathname:i,search:s}=Lt(e,{relative:t}),l=i;return"/"!==n&&(l="/"===i?n:mt([n,i])),r.createHref({pathname:l,search:s,hash:o})}(h,{relative:s}),[w,S,k]=function(e,t){let n=a.useContext(jn),[r,o]=a.useState(!1),[i,s]=a.useState(!1),{onFocus:l,onBlur:c,onMouseEnter:d,onMouseLeave:u,onTouchStart:f}=t,h=a.useRef(null);a.useEffect(()=>{if("render"===e&&s(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{s(e.isIntersecting)})},{threshold:.5});return h.current&&e.observe(h.current),()=>{e.disconnect()}}},[e]),a.useEffect(()=>{if(r){let e=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{o(!0)},m=()=>{o(!1),s(!1)};return n?"intent"!==e?[i,h,{}]:[i,h,{onFocus:Cn(l,p),onBlur:Cn(c,m),onMouseEnter:Cn(d,p),onMouseLeave:Cn(u,m),onTouchStart:Cn(f,p)}]:[!1,h,{}]}(i,y),j=function(e){let{target:t,replace:n,state:r,preventScrollReset:o,relative:i,viewTransition:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=Mt(),c=Ft(),d=Lt(e,{relative:i});return a.useCallback(a=>
2{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(a,t)){a.preventDefault();let t=void 0!==n?n:Be(c)===Be(d);l(e,{replace:t,state:r,preventScrollReset:o,relative:i,viewTransition:s})}},[c,l,d,n,r,t,e,o,i,s])}(h,{replace:d,state:u,target:f,preventScrollReset:p,relative:s,viewTransition:m});let N=a.createElement("a",c(c(c({},y),k),{},{href:n||x,onClick:b||l?r:function(e){r&&r(e),e.defaultPrevented||j(e)},ref:Pn(t,S),target:f,"data-discover":v||"render"!==o?void 0:"true"}));return w&&!v?a.createElement(a.Fragment,null,N,a.createElement(An,{page:x})):N});On.displayName="Link";var Dn=a.forwardRef(function(e,t){let{"aria-current":n="page",caseSensitive:r=!1,className:o="",end:i=!1,style:s,to:l,viewTransition:d,children:u}=e,f=Fe(e,Oe),h=Lt(l,{relative:f.relative}),p=Ft(),m=a.useContext(kt),{navigator:y,basename:g}=a.useContext(Et),v=null!=m&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=a.useContext(jt);We(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Wn("useViewTransitionState"),o=Lt(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=dt(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=dt(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=st(o.pathname,s)||null!=st(o.pathname,i)}(h)&&!0===d,b=y.encodeLocation?y.encodeLocation(h).pathname:h.pathname,x=p.pathname,w=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;r||(x=x.toLowerCase(),w=w?w.toLowerCase():null,b=b.toLowerCase()),w&&g&&(w=dt(w,g)||w);const S="/"!==b&&b.endsWith("/")?b.length-1:b.length;let k,j=x===b||!i&&x.startsWith(b)&&"/"===x.charAt(S),N=null!=w&&(w===b||!i&&w.startsWith(b)&&"/"===w.charAt(b.length)),C={isActive:j,isPending:N,isTransitioning:v},E=j?n:void 0;k="function"===typeof o?o(C):[o,j?"active":null,N?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let A="function"===typeof s?s(C):s;return a.createElement(On,c(c({},f),{},{"aria-current":E,className:k,ref:t,style:A,to:l,viewTransition:d}),"function"===typeof u?u(C):u)});Dn.displayName="NavLink";var Hn=a.forwardRef((e,t)=>{let{discover:n="render",fetcherKey:r,navigate:o,reloadDocument:i,replace:s,state:l,method:d=tn,action:u,onSubmit:f,relative:h,preventScrollReset:p,viewTransition:m}=e,y=Fe(e,De),g=Yn(),v=function(e){let{relative:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{basename:n}=a.useContext(Et),r=a.useContext(zt);We(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),i=c({},Lt(e||".",{relative:t})),s=Ft();if(null==e){i.search=s.search;let e=new URLSearchParams(i.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();i.search=n?"?".concat(n):""}}e&&"."!==e||!o.route.index||(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index");"/"!==n&&(i.pathname="/"===i.pathname?n:mt([n,i.pathname]));return Be(i)}(u,{relative:h}),b="get"===d.toLowerCase()?"get":"post",x="string"===typeof u&&Ln.test(u);return a.createElement("form",c(c({ref:t,method:b,action:v,onSubmit:i?f:e=>{if(f&&f(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,n=(null===t||void 0===t?void 0:t.getAttribute("formmethod"))||d;g(t||e.currentTarget,{fetcherKey:r,method:n,navigate:o,replace:s,state:l,relative:h,preventScrollReset:p,viewTransition:m})}},y),{},{"data-discover":x||"render"!==n?void 0:"true"}))});function _n(e){return"".concat(e," must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.")}function Wn(e){let t=a.useContext(St);return We(t,_n(e)),t}Hn.displayName="Form";var Un=0,Vn=()=>"__".concat(String(++Un),"__");function Yn(){let{router:e}=Wn("useSubmit"),{basename:t}=a.useContext(Et),n=qt("useRouteId");return a.useCallback(async function(a){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{action:o,method:i,encType:s,formData:l,body:c}=ln(a,t);
2if(!1===r.navigate){let t=r.fetcherKey||Vn();await e.fetch(t,n,r.action||o,{preventScrollReset:r.preventScrollReset,formData:l,body:c,formMethod:r.method||i,formEncType:r.encType||s,flushSync:r.flushSync})}else await e.navigate(r.action||o,{preventScrollReset:r.preventScrollReset,formData:l,body:c,formMethod:r.method||i,formEncType:r.encType||s,replace:r.replace,state:r.state,fromRouteId:n,flushSync:r.flushSync,viewTransition:r.viewTransition})},[e,t,n])}new TextEncoder;const Bn=e=>{const t=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()))(e);return t.charAt(0).toUpperCase()+t.slice(1)},qn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>Boolean(e)&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()};var Gn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Kn=["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"],Qn=(0,a.forwardRef)((e,t)=>{let{color:n="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:s="",children:l,iconNode:d}=e,u=Fe(e,Kn);return(0,a.createElement)("svg",c(c(c({ref:t},Gn),{},{width:r,height:r,stroke:n,strokeWidth:i?24*Number(o)/Number(r):o,className:qn("lucide",s)},!l&&!(e=>{for(const t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(u)&&{"aria-hidden":"true"}),u),[...d.map(e=>{let[t,n]=e;return(0,a.createElement)(t,n)}),...Array.isArray(l)?l:[l]])}),$n=["className"],Jn=(e,t)=>{const n=(0,a.forwardRef)((n,r)=>{let{className:o}=n,i=Fe(n,$n);return(0,a.createElement)(Qn,c({ref:r,iconNode:t,className:qn("lucide-".concat((s=Bn(e),s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase())),"lucide-".concat(e),o)},i));var s});return n.displayName=Bn(e),n},Xn=Jn("heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]),Zn=Jn("heart-handshake",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M12 5 9.04 7.96a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66",key:"4oyue0"}],["path",{d:"m18 15-2-2",key:"60u0ii"}],["path",{d:"m15 18-2-2",key:"6p76be"}]]),ea=Jn("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]),ta=Jn("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),na=Jn("scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]),aa=Jn("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]),ra=Jn("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]),oa=Jn("life-buoy",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]]),ia=Jn("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),sa=Jn("menu",[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]]),la=Jn("instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]),ca=Jn("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);function da(e){let{className:t=""}=e;return(0,ze.jsxs)("button",{type:"button",onClick:()=>{try{window.location.replace("https://www.bbc.co.uk/weather")}catch(e){window.location.href="https://www.bbc.co.uk/weather"}},"aria-label":"Quickly exit this site","data-testid":"quick-exit-button",className:"quick-exit tf-no-print inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full text-[12px] font-bold ".concat(t),style:{background:"var(--tf-exit-bg)",color:"var(--tf-text)",border:"1.5px solid var(--tf-exit-border)",letterSpacing:"0.04em"},children:[(0,ze.jsx)(ca,{size:14,strokeWidth:2.2}),"Exit Now"]})}const ua=Jn("pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]),fa=Jn("play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]),ha=Jn("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]),pa=Jn("leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]),ma=Jn("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}
2]]),ya=[{id:"reporting",title:"1. Reporting",subtitle:"You decide if, when, and how",body:"You can report to the police any time after an assault \u2014 there is no time limit for reporting rape or sexual offences in England, Wales, Scotland or Northern Ireland. Reporting is your choice. You can dial 999 if you are in immediate danger, 101 for non-emergencies, or attend a Sexual Assault Referral Centre (SARC) for a forensic medical examination without speaking to police first.\n\nYou have the right to be treated with dignity and respect. A specially trained officer (Sexual Offences Liaison Officer / SOIT) should support you throughout. You can request an officer of a specific gender.",tips:["You can give a video-recorded interview (ABE) instead of a written statement \u2014 it may later be used as your evidence-in-chief in court.","A SARC can preserve forensic evidence for up to 2 years even if you have not decided whether to report.",'You can choose to remain anonymous via "third-party reporting" \u2014 not only through Rape Crisis, but also via your GP, another health practitioner, a friend or family member, or any support organisation.']},{id:"investigation",title:"2. Police Investigation",subtitle:"Gathering evidence",body:"Police investigate by taking your statement, gathering forensic and digital evidence, and identifying witnesses. You should be kept informed at every key stage. If a suspect is arrested, they may be released under investigation or on bail with conditions.\n\nUnder the Victims' Code, you have the right to be told within 5 working days if a suspect is arrested, charged, released, or bailed.",tips:["You can refer yourself for an Independent Sexual Violence Advisor (ISVA) \u2014 a specialist who supports you through the entire process for free. You do not need a referral from the police or anyone else.","You can request a copy of your statement.","Investigations can take months. Ask your officer for regular updates."]},{id:"cps",title:"3. CPS Decision",subtitle:"Charging decision",body:"Police pass the file to the Crown Prosecution Service (CPS). A specialist Rape and Serious Sexual Offences (RASSO) prosecutor decides whether to charge, applying the Full Code Test: (1) is there enough evidence for a realistic prospect of conviction, and (2) is prosecution in the public interest.\n\nIf the CPS decides not to charge, you have the right under the Victims' Right to Review (VRR) scheme to ask for the decision to be reviewed.",tips:["You can request a meeting with the prosecutor before trial.","If the CPS does not charge, you have 3 months to request a review under VRR."]},{id:"court",title:"4. Going to Court",subtitle:"Crown Court trial",body:'Rape cases are heard in the Crown Court before a judge and jury. As the complainant, you are a witness for the prosecution. You will be cross-examined by the defence barrister. The judge controls the questioning and can stop questions that are inappropriate.\n\nYou are entitled to "special measures" to help you give your best evidence: giving evidence behind a screen, by live video link from a separate room, or pre-recorded cross-examination (Section 28). You can also request a court familiarisation visit before the trial.',tips:["You have lifetime anonymity from the moment you report \u2014 your name cannot be published.","You can have an ISVA or supporter with you at court (but not in the witness box).","Ask the Witness Care Unit about special measures as early as possible."]},{id:"verdict",title:"5. Verdict",subtitle:"Guilty, not guilty, or hung jury",body:'The jury of 12 decides the verdict. A "guilty" verdict requires them to be sure beyond reasonable doubt. The verdict is not a comment on whether you were believed \u2014 juries can only convict if the legal standard is met on the evidence presented.\n\nA "not guilty" verdict does not mean the jury thought you lied. Many survivors find this stage extremely difficult, regardless of outcome. Support is available either way.',tips:["Whatever the verdict, you deserve support afterwards. Reach out to Rape Crisis or your ISVA.","You can choose to receive the verdict in court, by phone, or in
2writing."]},{id:"sentencing",title:"6. Sentencing",subtitle:"If found guilty",body:"If the defendant is convicted, the judge will pass sentence \u2014 sometimes immediately, sometimes at a later hearing after pre-sentence reports. Sentencing is guided by the Sentencing Council guidelines.\n\nYou have the right to make a Victim Personal Statement (VPS) explaining how the crime has affected you. It will be read or played to the court before sentencing.",tips:["You can write your VPS in your own words and read it aloud, ask someone else to read it, or have it read silently by the judge.","Convicted sex offenders are placed on the Sex Offenders Register."]},{id:"appeals",title:"7. Appeals & After",subtitle:"What happens next",body:'The defendant may appeal against conviction or sentence. The Attorney General can refer "unduly lenient" sentences to the Court of Appeal within 28 days. You will be informed if an appeal is lodged.\n\nIf the offender is sentenced to 12+ months for a sexual offence, you can join the Victim Contact Scheme (VCS), which keeps you informed about release, parole hearings and licence conditions, and lets you submit a Victim Personal Statement to parole.',tips:["The Victim Contact Scheme is free and run by the Probation Service.","You can ask for licence conditions like exclusion zones to be considered before release."]}],ga=[{id:"sc-reporting",title:"1. Reporting to Police Scotland",subtitle:"You decide if, when, and how",body:"You can report to Police Scotland at any time \u2014 there is no time bar for reporting rape or sexual offences in Scotland. Dial 999 in an emergency, 101 for non-emergencies, or self-refer for a forensic medical exam via NHS 111 or a Sexual Assault Referral service.\n\nEvery Scottish police force has a National Sexual Crime Unit and a National Rape Investigation Unit staffed by trained officers. You have the right to be treated with dignity and to request an officer of a specific gender.",tips:["You can be interviewed on video (a Joint Investigative Interview or ABE-style interview) which may later be used as your evidence-in-chief.","A Scottish Forensic Medical Service exam (e.g. Archway in Glasgow) can preserve evidence without you deciding to report to police first.","You can access Rape Crisis Scotland's National Advocacy Project for free, independent support at any stage \u2014 you do not need a referral."]},{id:"sc-investigation",title:"2. Police Investigation",subtitle:"Gathering evidence in Scotland",body:"Police Scotland investigate by taking your statement, gathering forensic and digital evidence, and identifying witnesses. Suspects may be arrested, released on undertaking (with conditions), or held for court.\n\nYou should be kept informed at every key stage. Under the Standards of Service for Victims and Witnesses you have the right to information about arrest, charge, release and court dates.",tips:["You can refer yourself for a Rape Crisis Scotland advocacy worker at any stage \u2014 free, confidential and specialists in Scots law.","You can ask for a copy of your statement.","Investigations can take months. Ask your officer or advocacy worker for regular updates."]},{id:"sc-copfs",title:"3. COPFS Decision",subtitle:"Not the CPS \u2014 the Procurator Fiscal decides",body:"Police pass the file to the Crown Office and Procurator Fiscal Service (COPFS). A specialist prosecutor at the National Sexual Crimes Unit decides whether to prosecute, and in which court (Sheriff Court or High Court). A Procurator Fiscal Depute may interview you again (a 'precognition') to prepare the case.\n\nIf COPFS decides not to prosecute or to drop the case, you have the right to ask for that decision to be reviewed under the Victims' Right to Review scheme.",tips:["Corroboration is required in Scots law \u2014 a case must be supported by more than one source. Since October 2024, distress observed by a third party can corroborate a rape complaint.","You can request a meeting with the Procurator Fiscal Depute before trial.","If COPFS does not prosecute, you can ask for a review \u2014 ask your advocacy worker or COPFS directly."]},{id:"sc-court",title:"4. Going to Court",subtitle:"Sheriff Court or High Court of Justiciary",body:"Serious sexual offences (rape, sexual assault by penetration) are prosecuted on indictment at the High Court of Justiciary before a jury of 15. Less serious sexual offences are heard at the Sheriff Court. A new specialist Sexual Offences Court is being phased in under the Victims, Witnesses, and Justice Reform (Scotland) Act 2025.\n\nAs the complainer, you are a witness for the Crown. You will be cross-examined by defence counsel. The judge controls questioning and can stop inappropriate lines. You have automatic anonymity for life.",tips:["You have automatic anonymity by law \u2014 your name cannot be published in Scotland.","You are entitled to special measures: screens, live TV-link evidence, a supporter beside you, and \u2014 in the High Court \u2014 pre-recorded evidence so you never share a room with the accused.","You can have a Rape Crisis Scotland advocacy worker with you at court (but not in the witness box)."]},{id:"sc-verdict",title:"5. Verdict \u2014 Guilty or Not Guilty",subtitle:'The "not proven" verdict was abol
2ished on 1 January 2026',body:"From 1 January 2026 Scottish juries can only return Guilty or Not Guilty. A guilty verdict requires a two-thirds majority (10 of 15). The verdict is not a comment on whether you were believed \u2014 juries can only convict on the corroborated evidence presented.\n\nA 'not guilty' verdict does not mean the jury thought you lied. Many survivors find this stage extremely difficult, whatever the outcome. Support is available either way.",tips:["Whatever the verdict, you deserve support. Reach out to Rape Crisis Scotland or your advocacy worker.","You can choose to receive the verdict in court, by phone, or in writing."]},{id:"sc-sentencing",title:"6. Sentencing",subtitle:"If found guilty",body:"If the accused is convicted, the Sheriff or High Court judge passes sentence \u2014 sometimes immediately, sometimes after a Criminal Justice Social Work Report. Maximum sentence for rape is life imprisonment. The Sentencing Council for Scotland guidelines apply.\n\nYou have the right to make a Victim Statement describing how the crime has affected you. In High Court and specified solemn Sheriff cases the judge must consider it before sentencing.",tips:["You can write your Victim Statement in your own words. The judge must consider it before sentencing.","Convicted sex offenders in Scotland are placed on the Sex Offenders Register and managed under Multi-Agency Public Protection Arrangements (MAPPA)."]},{id:"sc-appeals",title:"7. Appeals & After",subtitle:"What happens next",body:"The convicted person may appeal against conviction or sentence to the High Court of Justiciary sitting as an Appeal Court. The Lord Advocate can refer unduly lenient sentences for review.\n\nIf the offender is sentenced to prison, you can register for the Victim Notification Scheme (VNS) run by the Scottish Prison Service to be told about release, transfer to open conditions, parole hearings and licence conditions.",tips:["The Victim Notification Scheme is free \u2014 you can register through mygov.scot or your advocacy worker.","You can ask for licence conditions like exclusion zones to be considered before release.","The Victims and Witnesses Commissioner (2025 Act) is a new independent voice to hold agencies to account."]}],va=[{id:"anonymity",title:"Lifetime Anonymity",body:"From the moment you report a sexual offence, you have lifetime anonymity by law (Sexual Offences (Amendment) Act 1992). Your name, address, photograph or any detail that could identify you cannot be published in the UK. Anyone who breaches this can be prosecuted."},{id:"isva",title:"Right to an ISVA",body:"You have the right to access an Independent Sexual Violence Advisor (ISVA) \u2014 a trained specialist who provides emotional and practical support throughout reporting, investigation, trial and beyond. ISVAs are free, independent of the police, and you can refer yourself directly \u2014 you do not need to have reported and you do not need anyone else to refer you."},{id:"information",title:"Right to be Informed",body:"Under the Victims' Code of Practice (England & Wales), you have the right to be told within 5 working days of key decisions: arrest, charge, bail, release, court dates, verdict and sentence. You can ask for a single point of contact."},{id:"special-measures",title:"Special Measures in Court",body:"You are automatically eligible for special measures in Crown Court. Options include: giving evidence behind a screen, via live video link from a separate room, having the public gallery cleared, pre-recorded evidence-in-chief (ABE interview), and pre-recorded cross-examination (Section 28)."},{id:"sexual-history",title:"Protection from Sexual History Questions",body:"Section 41 of the Youth Justice and Criminal Evidence Act 1999 restricts when the defence can ask about your previous sexual behaviour. The defence must apply to the judge for permission, and such questioning is only allowed in very limited circumstances."},{id:"vps",title:"Victim Personal Statement",body:"You have the right to make a Victim Personal Statement (VPS) describing how the crime has affected you emotionally, physically, financially and s
2ocially. It can be considered at sentencing and parole hearings. You can update it at later stages."},{id:"review",title:"Right to Review Decisions (VRR)",body:"If the police decide not to investigate, or the CPS decides not to charge or to stop a prosecution, you have the right to ask for that decision to be reviewed under the Victims' Right to Review schemes. Requests should normally be made within 3 months."},{id:"compensation",title:"Criminal Injuries Compensation",body:"You may be entitled to compensation through the Criminal Injuries Compensation Authority (CICA), even if no one is charged or convicted. Claims must normally be made within 2 years (though there are exceptions, especially for childhood abuse)."},{id:"support",title:"Right to Specialist Support",body:"You have the right to be referred to support services \u2014 including specialist sexual violence services like Rape Crisis \u2014 at any stage. Support is free, confidential, and you do not need to have reported to the police."},{id:"complaint",title:"Right to Complain",body:"If you feel you have not received the rights in the Victims' Code, you can complain to the agency involved (e.g. police, CPS) and, if unresolved, escalate to the Parliamentary and Health Service Ombudsman or the Independent Office for Police Conduct (IOPC)."}],ba=[{id:"sc-anonymity",title:"Automatic Lifetime Anonymity",body:"From the moment you report a sexual offence in Scotland, you have lifetime anonymity by law (Sexual Offences (Amendment) Act 1992, s.1 and s.5). Your name, address, photograph or any detail that could identify you cannot be published. Anyone who breaches this can be prosecuted."},{id:"sc-advocacy",title:"Free Specialist Advocacy (NAP)",body:"You have the right to access free, independent advocacy through Rape Crisis Scotland's National Advocacy Project (NAP). Advocacy workers understand Scots law, Police Scotland and COPFS. Support is confidential, and you can self-refer at any stage \u2014 before, during or after reporting."},{id:"sc-standards",title:"Standards of Service (2014 Act)",body:"Under the Victims and Witnesses (Scotland) Act 2014 you have statutory rights to respectful treatment, information about your case, and access to support. The Standards of Service code binds Police Scotland, COPFS, the Scottish Courts and Tribunals Service (SCTS), the Parole Board and the Scottish Prison Service."},{id:"sc-special-measures",title:"Special Measures in Court",body:"Under the Vulnerable Witnesses (Scotland) Act 2004 (strengthened in 2019) you are automatically eligible for special measures: giving evidence behind a screen, by live TV-link, with a supporter beside you, and \u2014 in the High Court and the new Sexual Offences Court \u2014 pre-recorded evidence so you never share a room with the accused."},{id:"sc-victim-statement",title:"Victim Statement",body:"You have the right to make a Victim Statement in High Court cases and specified solemn Sheriff cases, describing how the crime has affected you emotionally, physically, financially and socially. The judge must consider it before sentencing."},{id:"sc-vrr",title:"Victims' Right to Review (COPFS)",body:"If the Procurator Fiscal decides not to prosecute \u2014 or to discontinue a case \u2014 you have the right to ask for that decision to be reviewed by a senior prosecutor. Your advocacy worker or COPFS can guide you through the application."},{id:"sc-vns",title:"Victim Notification Scheme (VNS)",body:"Run by the Scottish Prison Service. You can register to be told when the person convicted is due to be released, moved to open conditions, or considered for parole. You can register through mygov.scot or via your advocacy worker."},{id:"sc-compensation",title:"Criminal Injuries Compensation",body:"You may be entitled to compensation through the Criminal Injuries Compensation Authority (CICA) \u2014 the scheme covers Scotland as well as England and Wales \u2014 even if no one is charged or convicted. Claims must normally be made within 2 years (with exceptions, especially for childhood abuse)."},{id:"sc-commissioner",title:"Victims and Witnesses Commissioner",body:"The Victims, Witnesses, and Justice Reform (Scotland) Act 2025 creates a new Commissioner to hold Scottish justice agencies to account on victims\u2019 rights and trauma-informed practice."},{id:"sc-support",title:"Right to Specialist Support",body:"You have the right to be referred to specialist services \u2014 Rape Crisis Scotland, Scottish Women's Aid, ASSIST, Archway SARC \u2014 at any stage. Support is free, confidential, and you do not need to have reported to Police Scotland."}],xa=[{id:"fight",letter:"F",name:"Fight",short:"Push back, shout, hit out",body:"The body floods with adrenaline. You may shout, struggle, hit, bite or argue. Some survivors describe feeling outside themselves while fighting. Fighting back is not always possible and not fighting is never your fault."},{id:"flight",letter:"F",name:"Flight",short:"Run, hide, leave the scene",body:'The brain pushes the body to move away \u2014 running, hiding, or trying to physically escape. After the event, "flight" can also look like avoiding places, people or thoughts that remind you of what happened.'},{id:"freeze",letter:"F",name:"Freeze",short:"Cannot move or speak",body:'Often called "tonic immobility." The body becomes still and the voice may disappear, even though the mind is alert. Freezing is extremely common during rape. It is an automatic survival response \u2014 NOT consent and not a sign of weakness.'},{id:"flop",letter:"F",name:"Flop",short:"Go limp, dissociate",body:'The body goes floppy and muscles relax. You may feel detached, as if you are watching from outside your body (dissociation). The brain is trying to make the experience survivable. This is a protective response, not "letting it happen."'},{id:"fawn",letter:"F",name:"Fawn",short:"Appease, comply, please",body:"You may smile, agree, comply, or even act friendly toward the person harming you. Fawning is the brain calculating that compliance is the safest way to survive. It does not mean you wanted it or that you consented."}],wa=[{id:"54321",title:"5-4-3-2-1 senses",duration:"2 min",steps:["Name 5 things you can SEE around you.","Name 4 things you can FEEL (your feet on the floor, fabric on skin).","Name 3 things you can HEAR right now.","Name 2 things you can SMELL \u2014 or two smells you like.","Name 1 thing you can TASTE \u2014 or a taste you enjoy."]},{id:"box",title:"Box breathing",duration:"1\u20133 min",steps:["Breathe IN through your nose for 4 slow counts.","HOLD your breath gently for 4 counts.","Breathe OUT through your mouth for 4 counts.","HOLD empty for 4 counts.","Repeat for 4\u20138 cycles. Stop sooner if it feels uncomfortable."]},{id:"orient",title:"Orienting to the room",duration:"1 min",steps:["Look slowly around you. Move only your eyes, then turn your head.",'S
2ay silently: "I am in (place). It is (year). I am (your age)."',"Find one object in the room that feels neutral or pleasant.","Notice the temperature of the air on your skin.","Take one slower breath. You are here, now."]},{id:"cold",title:"Cold water reset",duration:"30 sec",steps:["Splash cool water on your face, or hold a cold object (a can, ice cube wrapped in cloth).","Notice the temperature on your hands and face.","Cold activates the body's calming nerve (vagus nerve) and can interrupt panic quickly."]}],Sa=[{id:"i-just-froze",youtubeId:"O5h-N0N8DaY",title:'"I just froze" \u2014 Why people freeze during rape',source:"Rape Crisis Scotland",duration:"~2 min",summary:'Animated campaign film explaining freezing as an automatic survival response during sexual violence. Challenges the myth that there is a "right way" to react.'},{id:"window-of-tolerance",youtubeId:"PtDsHXXZjf4",title:'Understanding your "window of tolerance"',source:"Trauma educator",duration:"~4 min",summary:"Plain-language explainer on how trauma narrows your capacity to cope, why you may swing between hyperarousal (panic, anger) and hypoarousal (shutdown, numbness), and how to come back to centre."},{id:"fight-or-flight",youtubeId:"pes7H4ECTdw",title:"How trauma affects the brain and body",source:"Trauma education",duration:"~5 min",summary:'A short, accessible animation showing what happens inside the nervous system during and after a traumatic event \u2014 and why "normal" responses can feel anything but normal.'},{id:"grounding",youtubeId:"TNVlppGz0zM",title:"Grounding techniques for flashbacks & panic",source:"Therapist-led video",duration:"~6 min",summary:"Practical, do-along grounding exercises you can use when you feel overwhelmed, dissociated or have an intrusive memory. No equipment needed."}],ka=[{id:"gp",name:"Your GP",body:"Your GP can refer you to NHS talking therapies for trauma-focused CBT or EMDR, prescribe medication if needed, and refer to specialist sexual violence services. You do not need to disclose details \u2014 you can simply say you have experienced sexual trauma and want support."},{id:"nhs-talking",name:"NHS Talking Therapies (IAPT)",body:"Free NHS service offering trauma-focused therapy (CBT and, where available, EMDR) for adults in England. In most areas you can self-refer online without going through your GP. Availability varies widely by region \u2014 EMDR is not offered everywhere and wait lists can be long in many parts of the UK, so ask what other trauma-focused therapies your local service can provide in the meantime.",website:"https://www.nhs.uk/service-search/mental-health/find-a-psychological-therapies-service"},{id:"rape-crisis-counselling",name:"Rape Crisis Counselling",body:"Specialist long-term counselling from Rape Crisis centres across England and Wales. Free, confidential, and you do not need to have reported. Find your nearest centre to self-refer.",phone:"08088029999",phoneLabel:"0808 802 9999",website:"https://rapecrisis.org.uk/get-help/find-a-rape-crisis-centre/"},{id:"new-pathways-trauma",name:"New Pathways (Wales)",body:"Trauma-informed counselling, ISVA support, pre-court support and 24/7 SARC services for children, young people and adults of all genders. Areas covered: Merthyr Tydfil, Rhondda Cynon Taf, Bridgend, Swansea, Carmarthenshire, Cardiff, Newport and Risca \u2014 with virtual support across other parts of Wales. BSL counselling available.",phone:"01685379310",phoneLabel:"01685 379 310",website:"https://newpathways.org.uk"},{id:"survivors-trust",name:"The Survivors Trust",body:"UK-wide directory of specialist rape, sexual abuse and childhood sexual abuse therapy services. Helpline can refer you to your nearest member agency.",phone:"08088010818",phoneLabel:"0808 801 0818",website:"https://thesurvivorstrust.org/find-support"},{id:"ptsd-uk",name:"PTSD UK",body:"Charity dedicated solely to PTSD and complex PTSD. Plain-language information on symptoms, NHS-recommended treatments (trauma-focused CBT and EMDR), and how to access them.",website:"https://www.ptsduk.org"},{id:"mind",name:"Mind",body:"National mental-health charity. Information on trauma and PTSD, a confidential helpline, and a network of local Minds offering low-cost counselling and peer support.",phone:"03001233393",phoneLabel:"0300 123 3393",website:"https://www.mind.org.uk/information-support/types-of-mental-health-problems/post-traumatic-stress-disorder-ptsd-and-complex-ptsd/"},{id:"samaritans",name:"Samaritans",body:"If trauma symptoms are overwhelming, or you are having thoughts of harming yourself, Samaritans listen 24/7. You do not have to be in crisis to call.",phone:"116123",phoneLabel:"116 123",website:"https://www.samaritans.org"},{id:"khiron-clinics",name:"Khiron Clinics (private trauma treatment)",body:"Private UK trauma treatment service offering CQC-registered residential and outpatient care for complex trauma, PTSD, dissociation and anxiety. Fees apply \u2014 not free / not NHS. Self-pay or private health insurance. Contact them for fees and availability.",phone:"02036681606",phoneLabel:"020 3668 1606",website:"https://khironclinics.com"}],ja=["Intrusive thoughts or flashbacks","Sleep problems & nightmares","Hypervigilance \u2014 always on edge","Avoidance of places, people or reminders","Numbness or feeling disconnected","Difficulty concentrating","Strong startle response","Irritability or unexpected anger","Shame, guilt or self-blame","Changes in appetite or how your body feels"],Na=[{id:"coercive",title:"Coercive & controlling behaviour",body:"A pattern of acts designed to make you dependent, isolated, frightened or to deprive you of independence. Since 2015, this is a criminal offence in England & Wales (s.76 Serious Crime Act 2015) with up to 5 years' prison. It can include monitoring your movements, controlling money, dictating who you see, what you wear, what you eat, or making constant threats. You don't need physical injury to report it."},{id:"physical",title:"Physical abuse",body:"Any unwanted physical contact intended to hurt, frighten or control \u2014 hitting, slapping, kicking, choking (a specific offence in its own right since 2022), shoving, restraining, denying you sleep or medical care, harming pets to
2scare you."},{id:"sexual",title:"Sexual abuse within a relationship",body:"Rape, sexual assault, pressured or coerced sex, sharing or threatening to share intimate images, reproductive coercion (controlling contraception or forcing pregnancy/abortion). Marriage and relationships do not change the law \u2014 non-consensual sex is rape, full stop."},{id:"financial",title:"Economic & financial abuse",body:"Recognised in law since the Domestic Abuse Act 2021. Includes taking your wages, preventing you from working, running up debt in your name, refusing to let you access your own bank account, hiding household income, or controlling all spending. It's a deliberate trap."},{id:"emotional",title:"Emotional & psychological abuse",body:"Verbal attacks, humiliation, name-calling, gaslighting (making you doubt your memory or sanity), threats to harm you, your children, your pets or themselves, silent treatment, and isolation from family and friends. It leaves no bruises but causes lasting trauma \u2014 and it's recognised in UK law."}
2,{id:"tech",title:"Stalking, tech & digital abuse",body:'Following you, repeatedly contacting you, tracking your phone or car, hacking your accounts, installing spyware, demanding passwords, monitoring your social media, sharing or threatening to share intimate images ("revenge porn" \u2014 illegal since 2015). The Protection from Harassment Act 1997 and the Stalking Protection Act 2019 give you specific protections.\n\nFor step-by-step tech-safety guidance \u2014 checking your device for spyware, securing accounts, safe browsing, protecting children\u2019s devices \u2014 Refuge run a dedicated support service: https://refugetechsafety.org.'},{id:"so-called-honour",title:'"Honour"-based abuse, forced marriage & FGM',body:'Abuse carried out to protect or defend the "honour" of a family or community \u2014 including forced marriage (a criminal offence since 2014) and female genital mutilation (FGM). Specialist UK charity Karma Nirvana runs a national helpline (0800 5999 247) and you can apply for a Forced Marriage Protection Order or FGM Protection Order from the family court.'}],Ca=[{id:"coercive-offence",title:"Coercive control is a criminal offence",body:"Since 2015, controlling or coercive behaviour in an intimate or family relationship has been a specific criminal offence in England & Wales \u2014 even with no physical violence. You can report it to police on 999 (emergency) or 101. From 2023 the offence also covers former partners and family members regardless of whether you still live together."},{id:"dapn-dapo",title:"Domestic Abuse Protection Notices & Orders (DAPN / DAPO)",body:"Replacing the older DVPN/DVPO, DAPNs can be issued by police immediately to keep the perpetrator away from you (typically 48 hours), and DAPOs are longer-term court orders that can ban contact, exclude them from your home, and require behaviour-change programmes. Breaching either is itself a criminal offence.\n\nImportant: DAPNs and DAPOs are currently only available in certain UK areas as part of a ph
2ased rollout. Check whether your area is included on the official gov.uk list: https://www.gov.uk/government/publications/domestic-abuse-protection-notices-and-orders. If your area is not yet covered, you can still apply for a non-molestation order or occupation order via NCDV or the family court \u2014 see below."},{id:"non-mol",title:"Non-molestation order",body:"A family-court order banning a partner, ex or family member from harassing, threatening, or contacting you (and your children). NCDV (National Centre for Domestic Violence) can apply for one on your behalf, free, often within 24 hours \u2014 they are specialists in exactly this and are usually faster than a solicitor. You can also apply directly to the family court, and emergency 'without notice' applications can be heard the same day. Breach is a criminal offence carrying up to 5 years' prison."},{id:"occupation",title:"Occupation order",body:"A family-court order deciding who can live in the family home \u2014 it can require the abuser to leave, exclude them from a defined area around the property, or let you back in if you have been forced out. Often used alongside a non-molestation order."},{id:"clares-law",title:"Clare's Law (Domestic Violence Disclosure Scheme)",body:"You have the right to ask the police whether a current or former partner has a record of abusive behaviour ('right to ask'), and police can proactively tell you if they believe you are at risk ('right to know'). Apply via your local force or online."},{id:"sarahs-law",title:"Sarah's Law (Child Sex Offender Disclosure Scheme)",body:"Parents, carers and guardians can ask the police if someone with access to a child has a record of child sexual offences. Police will share information when it is necessary to protect the child."},{id:"forced-marriage",title:"Forced Marriage Protection Order",body:"Forced marriage has been a criminal offence in England, Wales and Scotland since 2014. You (or someone acting for you) can apply for an FMPO from the family court to prevent a forced marriage or remove you from one. The Forced Marriage Unit (FCDO) provides confidential UK-wide advice on 020 7008 0151."},{id:"da-act",title:"Domestic Abuse Act 2021 \u2014 what changed",body:"Created a statutory definition of domestic abuse covering physical, sexual, financial, emotional and coercive/controlling behaviour. Children who see, hear or experience the effects are recognised as victims in their own right. Survivors get a statutory right to local-authority refuge support, and DAPN/DAPO replace older orders. Non-fatal strangulation became a specific offence in 2022."},{id:"rights-as-victim",title:"Your rights as a victim",body:"Under the Victims' Code of Practice you have the right to specialist support (IDVAs \u2014 Independent Domestic Violence Advisors), to be kept informed at every key stage, to special measures in court (screens, video link, pre-recorded cross-examination), and to make a Victim Personal Statement. You can request a review of police or CPS decisions (VRR)."}],Ea={intro:"A safety plan is a personal, private set of steps that can help keep you and any children safer \u2014 whether you are still living with an abuser, planning to leave, or have already left. There is no single right plan. Use what is useful, ignore what is not. If anything below feels risky, skip it.",whileLiving:["Identify the rooms in the house with exits and avoid being cornered in the kitchen, bathroom or any room with weapons.",'Agree a code word with a trusted friend, neighbour or child that means "call 999 for me".',"Teach children that they should not try to intervene \u2014 their job is to get to a safe room and call 999.","Keep a charged phone somewhere accessible. If you cannot speak, dial 999 then press 55 (Silent Solution).","If you can, take photos / screenshots of injuries and abusive messages, and email them to yourself or a trusted person."],goBag:["ID: passport, driving licence, birth certificates (yours and children's), immigration papers","Money: cash, a spare bank card, building-society book","Keys: house, car, work","Medication and any repeat-prescription details","Phone, charger, and a list of important numbers on paper (in case the phone is taken)","Children's favourite toy, a change of clothes for everyone, sanitary items","Court orders, tenancy/mortgage papers, benefit letters, divorce papers","A spare set of p
2hotos / memories on a USB stick"],leaving:["Refuge UK offers emergency refuge places via the 24-hour National Domestic Abuse Helpline (0808 2000 247) \u2014 they can talk you through options without you needing to commit.","You can call 999 and ask to be taken to a refuge \u2014 the police will help.","Tell only people you trust 100%. Abusers often have access to phones, emails and bank accounts \u2014 set up a new email address from a device they don't use.","Change passwords for email, banking, social media; turn off location sharing on your phone (Find My, Google location, shared calendars).","If you have children, take their red book / NHS records if you can \u2014 but your safety comes first; these can all be replaced.","Apply for non-molestation and occupation orders via NCDV (National Centre for Domestic Violence, 0800 970 2070) \u2014 they are DA specialists, can act same-day and it is free. A solicitor or family court are alternatives; legal aid is usually available for domestic-abuse survivors."],afterLeaving:["Vary your routine \u2014 different routes to work, school, shops.","Tell your child's school, your GP, your workplace and any building security about the situation and share a photo of the abuser if helpful.",'Consider a personal-safety app (Hollie Guard, bSafe) and the police "Silent Solution" \u2014 dial 999 then press 55.',"Change locks; consider window alarms, a Ring-style camera, smart-bulb timers.","Keep copies of any breach (texts, emails, sightings) \u2014 police can act on a breach of a non-molestation order or DAPO.","Look after yourself: refuge counsellors, IDVAs, NHS talking therapies \u2014 you don't need to do this alone."]},Aa=[{id:"refuge-helpline",name:"National Domestic Abuse Helpline (Refuge)",tagline:"24/7, free, confidential",description:"Run by Refuge \u2014 the UK's largest specialist DV charity. Available 24/7 every day of the year. They can talk you through options, find a refuge place, or just listen. Translators available.",phone:"08082000247",phoneLabel:"0808 2000 247",website:"https://www.nationaldahelpline.org.uk",hours:"24/7",category:"helpline"},{id:"womens-aid",name:"Women's Aid",tagline:"Live Chat & Survivors' Forum",description:"Federation of over 170 local services. Free Live Chat (Mon\u2013Fri 10am\u20136pm, Sat\u2013Sun 10am\u20136pm), Survivors' Forum (24/7), and the Survivor's Handbook \u2014 practical, written-by-survivors guidance.",website:"https://www.womensaid.org.uk",hours:"Live chat: 10am\u20136pm daily",category:"specialist"},{id:"live-fear-free",name:"Live Fear Free (Welsh Women\u2019s Aid)",tagline:"Wales-wide \u2014 24/7, in Welsh or English",description:"The Welsh Government\u2019s free, confidential 24/7 helpline run by Welsh Women\u2019s Aid. Open to anyone in Wales affected by domestic abuse, sexual violence or other forms of violence against women \u2014 women, men, non-binary, family members, friends, and professionals. Available in Welsh, English, and via translators in over 100 languages. SMS, web chat and email options available.",phone:"08088010800",phoneLabel:"0808 80 10 800",website:"https://welshwomensaid.org.uk/what-we-do/live-fear-free-helpline/",hours:"24 hours a day, 7 days a week",category:"helpline"},{id:"mens-advice-line",name:"Men's Advice Line",tagline:"For male victims of domestic abuse",description:"Free, confidential helpline run by Respect for men experiencing abuse from a partner, ex-partner or family member \u2014 including gay, bi and trans men.",phone:"08088010327",phoneLabel:"0808 801 0327",website:"https://mensadviceline.org.uk",hours:"Mon\u2013Fri 10am\u20138pm",category:"specialist"},{id:"mankind-initiative",name:"Mankind Initiative",tagline:"UK charity for male victims of domestic abuse",description:"Confidential helpline supporting men in England, Scotland and Wales experiencing domestic abuse or coercive control from their partner, ex-partner or family member. Provides emotional and practical support, signposting to refuges and legal advice.",phone:"01823334244",phoneLabel:"01823 334244",website:"https://mankind.org.uk",hours:"Mon\u2013Fri 10am\u20134pm",category:"specialist"},{id:"survivors-uk-da",name:"SurvivorsUK",tagline:"Male survivors of sexual abuse & relationship abuse",description:"National UK charity supporting boys, men and non-binary people who have experienced any form of sexual violence \u2014 including within an abusive relationship. Free web chat, SMS and WhatsApp support, plus specialist ISVA / IDVA and counselling.",phone:"02035983898",phoneLabel:"020 3598 3898",website:"https://www.survivorsuk.org",hours:"See website for chat hours",category:"specialist"},{id:"karma-nirvana",name:"Karma Nirvana",tagline:'"Honour"-based abuse & forced marriage',description:'National UK helpline supporting victims of "honour"-based abuse and forced marriage. Operated by survivors. Also supports professionals working with affected communities.',phone:"08005999247",phoneLabel:"0800 5999 247",website:"https://karmanirvana.org.uk",hours:"Mon\u2013Fri 9am\u20135pm",category:"specialist"},{id:"fcdo-forced-marriage",name:"Forced Marriage Unit (FCDO)",tagline:"UK government \u2014 UK & overseas",description:"Joint Foreign & Commonwealth Office and Home Office unit providing confidential advice and support to people at risk of forced marriage, both in the UK and overseas.",phone:"02070080151",phoneLabel:"020 7008 0151",website:"https://www.gov.uk/guidance/forced-marriage",hours:"Mon\u2013Fri 9am\u20135pm (24/7 for emergencie
2s)",category:"specialist"},{id:"ncdv",name:"NCDV",tagline:"Free same-day legal orders",description:"National Centre for Domestic Violence helps you apply for emergency non-molestation, occupation and prohibited-steps orders \u2014 often within 24 hours. Free, regardless of financial circumstances.",phone:"08009702070",phoneLabel:"0800 970 2070",website:"https://www.ncdv.org.uk",hours:"24/7 helpline",category:"specialist"},{id:"galop-da",name:"Galop \u2014 LGBT+ domestic abuse",tagline:"For LGBT+ survivors",description:'Specialist UK LGBT+ anti-abuse charity. Free, confidential domestic abuse helpline staffed by LGBT+ people, for LGBT+ people experiencing domestic abuse, sexual violence, hate crime or so-called "conversion" therapy.',phone:"08009995428",phoneLabel:"0800 999 5428",website:"https://galop.org.uk",hours:"Mon\u2013Fri, see website",category:"specialist"},{id:"hourglass",name:"Hourglass",tagline:"Abuse of older people",description:"The only UK-wide charity dedicated to safer ageing. Free, confidential helpline for anyone (any age) concerned about the safety, dignity or finances of an older person \u2014 including coercion, neglect, theft and 'romance' scams.",phone:"08088088141",phoneLabel:"0808 808 8141",website:"https://wearehourglass.org",hours:"Mon\u2013Fri 9am\u20135pm",category:"specialist"},{id:"respect-phoneline",name:"Respect Phoneline",tagline:"For people worried about their own behaviour",description:"If you are concerned that your own behaviour is hurting your partner or family, this is a confidential, non-judgemental helpline that can help you change. Asking for help is a courageous step.",phone:"08088024040",phoneLabel:"0808 802 4040",website:"https://respectphoneline.org.uk",hours:"Mon\u2013Fri 10am\u20135pm",category:"specialist"},{id:"refuge-tech-safety",name:"Refuge Tech Safety",tagline:"Free UK support for tech-facilitated abuse",description:"Dedicated Refuge service helping survivors deal with tech abuse \u2014 stalkerware / spyware, tracking, image-based abuse, hacked accounts, safe browsing, protecting children\u2019s devices. Free step-by-step guides plus a specialist chat and phone service.",website:"https://refugetechsafety.org",hours:"See website for current phone / chat hours",category:"specialist"},{id:"supportline-da",name:"SupportLine",tagline:"Confidential emotional support helpline",description:"Confidential UK helpline for children, young adults and adults who are isolated, vulnerable, or affected by domestic violence, abuse, bullying, relationship or mental-health difficulties. Registered charity. Also reachable by email and post if the phone is not right for you.",phone:"01708765200",phoneLabel:"01708 765 200",website:"https://www.supportline.org.uk",hours:"See website for current phone hours \xb7 email daily",category:"helpline"}],za=[{id:"recognising",title:"1. Recognising abuse",subtitle:"You don't have to be sure to ask for help",body:"If something doesn\u2019t feel right \u2014 if you walk on eggshells, feel watched, controlled, isolated, frightened, demeaned, or financially trapped \u2014 you can talk it through anonymously with a specialist. You do not need bruises, you do not need certainty, and you do not need a label. Helpline workers are trained to listen without pressure.",tips:["Refuge\u2019s 24/7 National Domestic Abuse Helpline (0808 2000 247) and Women\u2019s Aid Live Chat will not record your name or call.","Coercive control became a criminal offence in 2015 \u2014 emotional, financial and digital abuse all count.","You can be referred to an IDVA (Independent Domestic Violence Advisor) without going to the police."]},{id:"safety",title:"2. Planning for safety",subtitle:"Your safety comes before reporting",body:"Before any contact with police, courts or family, a safety plan reduces risk. An IDVA, refuge worker or specialist helpline can help you build one \u2014 covering escape routes, a \u2018go bag\u2019, code words, what to take, and what to do if you can\u2019t leave today. Refuge can also arrange an emergency safe house if needed.",tips:["If you can\u2019t speak on a 999 call, press 55 \u2014 the Silent Solution alerts the operator.","Set up a new email account from a device the abuser doesn\u2019t have access to.","Change passwords; turn off location-sharing on phones and shared accounts."]},{id:"reporting",title:"3. Reporting (if and when you choose)",subtitle:"You decide whether and when to involve police",body:"Reporting to the police is your choice \u2014 you do not need to have reported to access domestic-abuse support. You can self-refer directly to any specialist DA service (Refuge, Women\u2019s Aid, your local IDVA/IDVA service) and they will triage you into an IDVA or lower-risk support locally \u2014 no police involvement required.\n\nIf you do want to report: call 999 in immediate danger, 101 for non-emergency, or attend any police station. You can also do third-party reporting via an IDVA, GP or specialist service. There is no time limit on reporting most domestic-abuse offences. You can request an officer of a specific gender and take a supporter with you.",tips:["You can give a video-recorded interview (ABE) instead of a written statement \u2014 this may later be used as your evidence in court.","Ask for the Public Protection Unit \u2014 specially trained officers handle DA cases.","You can withdraw a statement later \u2014 but the CPS may still continue the case if there is enough other evidence."]},{id:"protective-orders",title:"4. Immediate protection",subtitle:"DAPN, DAPO, non-molestation, occupation orders",body:"Police can issue a Domestic Abuse Protection Notice (DAPN) on the spot to keep the abuser away from you for up to 48 hours, then apply to court for a Domestic Abuse Protection Order (DAPO) lasting much longer. You can also apply to the family court yourself \u2014 emergency \u2018without-notice\u2019 non-molestation orders can be granted the same day. An occupation order can require the abuser to leave the family home. Breach of any of these is a criminal offence.",tips:["Legal aid is normally available for DV survivors regardless of income \u2014 NCDV (0800 970 2070) helps you apply in 24 hours, free.","Bring any photos, texts, voicemails, A&E records or witness statements to your application.","A non-molestation order can also protect any children in the household."]},{id:"investigation",title:"5. Police investigation",subtitle:"Gathering evidence",body:"Police will take statements, collect digital evidence (texts, call logs, location data), photograph injuries, interview witnesses, and may make an arrest. A DASH risk-assessment helps determine the level of danger and what support you need. You will normally be allocated a named officer and have the right to be updated within 5 working days of key decisions under the Victims\u2019 Code.",tips:["Ask for a Multi-Agency Risk Assessment Conference (MARAC) referral if your risk is high \u2014 police, council, NHS and refuges plan around your safety together.","You have the right to a copy of your statement.","You can be referred to an IDVA for the duration of the case."]},{id:"cps",title:"6. CPS charging decision",subtitle:"Decision to prosecute",body:"If police find enough evidence, they pass the case to the Crown Prosecution Service. The CPS applies the Full Code Test: (1) is there a realistic prospect of conviction, and (2) is prosecution in the public interest. DV cases have a strong presumption in favour of prosecution, even where the victim no longer wishes to support the case (\u2018evidence-led\u2019 prosecution), where there is enough other evidence. If the CPS decides not to charge, you have the right to ask for that decision to be reviewed (VRR).",tips:["You can request a meeting with the prosecutor before trial.","You can ask the CPS not to disclose your new address to the defence.","VRR requests should normally be made within 3 months."]},{id:"court",title:"7. Court",subtitle:"Magistrates or Crown Court",body:"Most DA offences start at the Magistrates Court. More serious ones (including coercive control, non-fatal strangulation, rape) go to the Crown Court before a judge and jury. You are entitled to \u2018special measures\u2019: screens in court, evidence by live video link, pre-recorded evidence and pre-recorded cross-examination (Section 28). The Witness Care Unit will keep you informed of dates. Specialist Domestic Abuse Courts and Independent Domestic Violence Advisors (IDVAs) support you throughout.",tips:["You can request a court familiarisation visit before the trial.","You can have an IDVA or supporter with you (but not in the witness box).","Cross-examination by the abuser in person is banned in DA cases \u2014 the court appoints an advocate to do this instead."]},{id:"after",title:"8. After the case",subtitle:"Verdict, sentence, recovery",body:"Sentencing can range from rehabilitation programmes (such as Building Better Relationships) and restraining orders to long custodial sentences for serious offences \u2014 coercive control carries up to 5 years, non-fatal strangulation up to 5 years, and most contact offences are aggravated when committed against a partner. You have the right to make a Victim Personal Statement before sentencing. If the offender gets 12 months or more, you can join the Victim Contact Scheme (VCS) to be told of release and licence conditions.\n\nWhatever the outcome, recovery support remains available: an IDVA, community counselling via specialist DA services or The Survivors Trust, and NHS trauma-focused CBT or EMDR (self-refer via NHS Talking Therapies where you live \u2014 note EMDR availability varies widely across the UK and wait lists can be long, so it is worth asking about interim support). Some refuges also offer in-house counselling but this is not universal \u2014 ask your local service what they provide.",tips:["A restraining order can be made even on acquittal if the court is satisfied it is needed.","You can apply to the Victim Contact Scheme any time after a 12+ month sentence is passed.","Criminal Injuries Compensation (CICA) may be available even if no one is convicted."]}],Ta=[{id:"da-act-2021",title:"You are recognised in law",body:"The Domestic Abuse Act 2021 sets a statutory definition of domestic abuse covering physical, sexual, financial, emotional and coercive/controlling behaviour by anyone you are personally connected to. Children who see, hear or experience its effects are recognised as victims in their own right. This is the legal foundation for every right below."},{id:"da-coercive-control",title:"Coercive control is a criminal offence",body:"Section 76 of the Serious Crime Act 2015 makes controlling or coercive behaviour in an intimate or family relationship a criminal offence in England & Wales, with up to 5 years\u2019 prison. Since 2023 it also applies to ex-partners and family members regardless of whether you still live together."},{id:"da-protective-orders",title:"Right to protective orders",body:"You have the right to apply for non-molestation and occupation orders in the family court \u2014 often the same day on a \u2018without notice\u2019 basis. Police can also issue immediate DAPNs and apply for DAPOs that ban contact, exclude an abuser from the home, and require behaviour-change programmes. Breach of any of these is itself a criminal offence."},{id:"da-legal-aid",title:"Right to legal aid",body:"Legal aid is normally available to survivors of domestic abuse regardless of income to apply for family-court orders. NCDV (0800 970 2070) can prepare and file applications within 24 hours, free."},{id:"da-clares-law",title:"Right to ask & right to know (Clare\u2019s Law)",body:"Under the Domestic Violence Disclosure Scheme you can ask police whether a current or former partner has a history of abusive behaviour (\u2018right to ask\u2019). Police can also proactively warn you when they believe you may be at risk (\u2018right to know\u2019)."},{id:"da-idva",title:"Right to a specialist advocate (IDVA)",body:"You have the right to be supported by an Independent Domestic Violence Advisor \u2014 a trained specialist who supports you through safety planning, courts, housing, benefits and recovery. IDVAs are independent of the police, free, and you don\u2019t have to have reported."},{id:"da-refuge",title:"Right to refuge and emergency housing",body:"The Domestic Abuse Act 2021 places a statutory duty on local authorities to provide safe accommodation for survivors and their children. Refuge or the National DA Helpline (0808 2000 247) can find an emergency space, 24/7."},{id:"da-special-measures",title:"Special measures in court",body:"Survivors of domestic abuse are automatically eligible for special measures: screens in the witness box, video link from a separate room, pre-recorded cross-examination (Section 28), and removal of wigs and gowns. Cross-examination by the abuser in person is banned."},{id:"da-vps",title:"Victim Personal Statement & contact scheme",body:"You have the right to make a Victim Personal Statement before sentencing, describing how the abuse has affected you. If the offender receives a 12-month sentence or more, you can join the Victim Contact Scheme to be told about release, licence conditions and parole hearings, and to submit a further statement."},{id:"da-vrr",title:"Right to review decisions (VRR)",body:"If police or the CPS decide not to investigate or prosecute, you have the right to ask for that decision to be reviewed under the Victims\u2019 Right to Review schemes. Requests should normally be made within 3 months."},{id:"da-cica",title:"Criminal Injuries Compensation (CICA)",body:"You may be entitled to compensation through CICA for physical or psychological injury \u2014 even if no one is charged or convicted. Claims should usually be made within 2 years (longer in childhood-abuse cases)."},{id:"da-children",title:"Children\u2019s rights",body:"Children who see, hear or experience the effects of domestic abuse are victims in their own right under the 2021 Act. They have a right to specialist support, to be safeguarded by the local authority, and to be heard in family-court decisions about contact and residence."}],Ra=["emergency","police-101","rape-crisis","new-pathways","cyfannol","calan-dvs","rasasc-north-wales","stepping-stones-north-wales","survivors-trust","victim-support","samaritans","sarc","galop","safeline","survivors-uk","into-the-light","supportline"];function Fa(){const e=[{label:"Breathe in",sub:"Through your nose",dur:4},{label:"Hold",sub:"Gently",dur:4},{label:"Breathe out",sub:"Through your mouth",dur:4},{label:"Hold",sub:"Empty lungs",dur:4}],[t,n]=(0,a.useState)(!1),[r,o]=(0,a.useState)(0),[i,s]=(0,a.useState)(e[0].dur),[l,c]=(0,a.useState)(0),d=(0,a.useRef)(null);(0,a.useEffect)(()=>
2{if(t)return d.current=setInterval(()=>{s(t=>t>1?t-1:(o(t=>{const n=(t+1)%e.length;return 0===n&&c(e=>e+1),n}),e[(r+1)%e.length].dur))},1e3),()=>clearInterval(d.current)},[t,r]);const u=e[r],f=0===r||1===r;return(0,ze.jsxs)("div",{className:"flex flex-col items-center pt-2 pb-4",children:[(0,ze.jsxs)("div",{className:"relative flex items-center justify-center",style:{width:220,height:220},children:[(0,ze.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0 rounded-full",style:{background:"conic-gradient(from -90deg, var(--tf-purple) 0deg, var(--tf-pink) 180deg, var(--tf-blue) 360deg)",opacity:.18,filter:"blur(2px)"}}),(0,ze.jsx)("div",{className:"absolute rounded-full",style:{width:"70%",height:"70%",background:"radial-gradient(circle at 35% 30%, #fff 0%, var(--tf-pink-soft) 40%, var(--tf-purple-light) 100%)",transform:"scale(".concat(f?1.18:.72,")"),transition:"transform 4s cubic-bezier(0.45, 0.05, 0.55, 0.95)",boxShadow:"0 18px 60px rgba(139,123,177,0.35)"}}),(0,ze.jsxs)("div",{className:"relative z-10 text-center",children:[(0,ze.jsx)("p",{className:"font-heading",style:{fontSize:26,color:"var(--tf-text)",lineHeight:1.05},children:u.label}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12,color:"var(--tf-text-secondary)"},children:u.sub}),(0,ze.jsx)("p",{className:"font-heading mt-3",style:{fontSize:44,color:"var(--tf-purple)",lineHeight:1,letterSpacing:"-0.02em"},children:i})]})]}),(0,ze.jsxs)("div",{className:"flex items-center gap-3 mt-6",children:[(0,ze.jsxs)("button",{type:"button",onClick:()=>n(e=>!e),"data-testid":"breather-toggle",className:"inline-flex items-center gap-2 px-5 py-3 rounded-full font-bold",style:{background:"var(--tf-purple)",color:"#fff",fontSize:13.5,border:"none",cursor:"pointer"},children:[t?(0,ze.jsx)(ua,{size:15}):(0,ze.jsx)(fa,{size:15,fill:"#fff"}),t?"Pause":l>0?"Continue":"Start"]}),(0,ze.jsxs)("button",{type:"button",onClick:()=>{n(!1),o(0),s(e[0].dur),c(0)},"data-testid":"breather-reset",className:"inline-flex items-center gap-1.5 px-4 py-3 rounded-full font-bold",style:{background:"#fff",color:"var(--tf-purple)",fontSize:13,border:"1px solid var(--tf-purple-light)",cursor:"pointer"},children:[(0,ze.jsx)(ha,{size:14}),"Reset"]})]}),(0,ze.jsxs)("p",{className:"font-body mt-4",style:{fontSize:12,color:"var(--tf-text-muted)"},children:["Cycles completed: ",(0,ze.jsx)("strong",{style:{color:"var(--tf-text-secondary)"},children:l})," \xb7 ","Aim for 4\u20138 \xb7 Stop sooner if uncomfortable."]})]})}function Pa(e){let{steps:t}=e;return(0,ze.jsx)("div",{className:"flex flex-col gap-3 mt-2",children:t.map((e,t)=>(0,ze.jsxs)("div",{className:"flex gap-3 items-start",children:[(0,ze.jsx)("div",{className:"w-7 h-7 rounded-full flex items-center justify-center flex-shrink-0",style:{background:"var(--tf-purple-light)",color:"var(--tf-purple-dark)",fontSize:12,fontWeight:700},children:t+1}),(0,ze.jsx)("p",{className:"font-body flex-1",style:{fontSize:14,lineHeight:1.65,color:"var(--tf-text-secondary)"},children:e})]},t))})}function Ia(){const{pathname:e}=Ft(),[t,n]=(0,a.useState)(!1),[r,o]=(0,a.useState)(null);(0,a.useEffect)(()=>{if(!t)return;const e=e=>{"Escape"===e.key&&(r?o(null):n(!1))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[t,r]),(0,a.useEffect)(()=>{if(t){const e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}},[t]);const i=(0,a.useCallback)(()=>{o(null),n(!1)},[]);if(e.startsWith("/app/grounding"))return null;const s=r?wa.find(e=>e.id===r):null;return(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsxs)("button",{type:"button",onClick:()=>n(!0),"data-testid":"grounding-fab","aria-label":"Open grounding exercises",className:"tf-no-print fixed z-40 inline-flex items-center gap-2 px-4 py-3 rounded-full font-bold",style:{right:16,bottom:"calc(env(safe-area-inset-bottom, 0px) + 72px)",background:"#fff",color:"var(--tf-purple)",border:"1.5px solid var(--tf-purple-light)",boxShadow:"0 8px 24px rgba(139,123,177,0.18)",fontSize:13,cursor:"pointer"},children:[(0,ze.jsx)(pa,{size:16}),(0,ze.jsx)("span",{children:"Ground me"})]}),t&&(0,ze.jsxs)("div",{className:"tf-no-print fixed inset-0 z-50 flex items-end sm:items-center justify-center","data-testid":"grounding-modal",role:"dialog","aria-modal":"true","aria-label":"Grounding exercises",children:[(0,ze.jsx)("button",{type:"button","aria-label":"Close grounding exercises",onClick:i,className:"absolute inset-0",style:{background:"rgba(42, 42, 53, 0.55)",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)",border:"none",cursor:"pointer"},"data-testid":"grounding-backdrop"}),(0,ze.jsxs)("div",{className:"relative w-full sm:max-w-md max-h-[88vh] overflow-y-auto",style:{background:"var(--tf-bg)",borderTopLeftRadius:28,borderTopRightRadius:28,borderBottomLeftRadius:"undefined"!==typeof window&&window.innerWidth>=640?28:0,borderBottomRightRadius:"undefined"!==typeof window&&window.innerWidth>=640?28:0,boxShadow:"0 -20px 60px rgba(42,42,53,0.25)",animation:"tf-fade-up 0.25s ease-out"},children:[(0,ze.jsxs)("div",{className:"sticky top-0 z-10 flex items-center justify-between px-5 py-3.5",style:{background:"rgba(253,252,254,0.95)",backdropFilter:"blur(10px)",borderBottom:"1px solid var(--tf-card-border)"},children:[s?(0,ze.jsxs)("button",{type:"button",onClick:()=>o(null),className:"inline-flex items-center gap-1 font-bold",style:{background:"transparent",border:"none",color:"var(--tf-text)",fontSize:13.5,cursor:"pointer"},"data-testid":"grounding-back",children:[(0,ze.jsx)(ma,{size:18})," All techniques"]}):(0,ze.jsxs)("div",{className:"flex items-center gap-2",children:[(0,ze.jsx)(pa,{size:16,color:"var(--tf-purple)"}),(0,ze.jsx)("span",{className:"font-bold",style:{color:"var(--tf-text)",fontSize:14},children:"Ground me"})]}),(0,ze.jsx)("button",{type:"button",onClick:i,"aria-label":"Close","data-testid":"grounding-close",className:"w-9 h-9 rounded-full inline-flex items-center justify-center",style:{background:"var(--tf-bg-secondary)",border:"none",color:"var(--tf-text)",cursor:"pointer"},children:(0,ze.jsx)(ia,{size:16})})]}),(0,ze.jsxs)("div",{className:"px-5 py-5 pb-7",children:[!s&&(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)("p",{className:"eyebrow",children:"FEELING OVERWHELMED?"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,lineHeight:1.15,color:"var(--tf-text)"},children:"You're safe right now."}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"Pick whichever feels easiest. There is no wrong way."}),(0,ze.jsx)("div",{className:"flex flex-col gap-2.5 mt-5",children:wa.map(e=>(0,ze.jsxs)("button",{type:"button",onClick:()=>o(e.id),"data-testid":"fab-technique-".concat(e.id),className:"text-left rounded-2xl p-4 flex items-center gap-3 transition-colors",style:{background:"#fff",border:"1px solid var(--tf-card-border)",cursor:"pointer"},children:[(0,ze.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-purple)"},children:(0,ze.jsx)(pa,{size:18})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("p",{className:"font-heading",style:{fontSize:15.5,color:"var(--tf-text)"},children:e.title}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:11.5,color:"var(--tf-text-muted)",marginTop:1,letterSpacing:"0.02em"},children:e.duration})]}),(0,ze.jsx)("span",{className:"font-bold",style:{color:"var(--tf-purple)",fontSize:13},children:"Start \u2192"})]},e.id))}),(0,ze.jsxs)("p",{className:"font-body mt-5 text-center",style:{fontSize:11.5,color:"var(--tf-text-muted)",lineHeight:1.55},children:["If you are in crisis, call Samaritans on"," ",(0,ze.jsx)("a",{href:"tel:116123",className:"tf-link",children:"116 123"})," ","(24/7) \u2014 or 999 in immediate danger."]})]}),s&&(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.18em",color:"var(--tf-purple)"},children:s.duration.toUpperCase()}),(0,ze.jsx)("h2",{className:"font-heading mt-1",style:{fontSize:24,lineHeight:1.15,color:"var(--tf-text)"},children:s.title}),"box"===s.id?(0,ze.jsx)(Fa,{}):(0,ze.jsx)(Pa,{steps:s.steps})]})]})]})]})]})}function Ma(){return(0,ze.jsxs)("button",{type:"button",onClick:()=>{try{window.location.replace("https://www.bbc.co.uk/weather")}catch(e){window.location.href="https://www.bbc.co.uk/weather"}},"aria-label":"Quickly exit this site","data-testid":"floating-quick-exit",className:"tf-no-print fixed z-40 inline-flex items-center gap-2 px-4 py-3 rounded-full font-bold",style:{left:16,bottom:"calc(env(safe-area-inset-bottom, 0px) + 72px)",background:"var(--tf-purple)",color:"#fff",border:"none",boxShadow:"0 10px 28px rgba(139,123,177,0.35)",fontSize:13.5,letterSpacing:"0.02em",cursor:"pointer"},children:[(0,ze.jsx)(ca,{size:16,strokeWidth:2.2}),(0,ze.jsx)("span",{children:"Exit Now"})]})}const La=Jn("accessibility",[["circle",{cx:"16",cy:"4",r:"1",key:"1grugj"}],["path",{d:"m18 19 1-7-6 1",key:"r0i19z"}],["path",{d:"m5 8 3-3 5.5 3-2.36 3.5",key:"9ptxx2"}],["path",{d:"M4.24 14.5a5 5 0 0 0 6.88 6",key:"10kmtu"}],["path",{d:"M13.76 17.5a5 5 0 0 0-6.88-6",key:"2qq6rc"}]]),Oa=Jn("type",[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]),Da=Jn("contrast",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 18a6 6 0 0 0 0-12v12z",key:"j4l70d"}]]),Ha=Jn("sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}
2]]),_a=Jn("underline",[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]]),Wa="tfi_a11y_v1",Ua={fontScale:1,highContrast:!1,dyslexiaFont:!1,reduceMotion:!1,underlineLinks:!1};function Va(){const[e,t]=(0,a.useState)(()=>c(c({},Ua),function(){try{const e=localStorage.getItem(Wa);if(!e)return null;const t=JSON.parse(e);return t&&"object"===typeof t?t:null}catch(e){return null}}()||{}));(0,a.useEffect)(()=>{!function(e){if("undefined"===typeof document)return;const t=document.documentElement;t.style.setProperty("--a11y-font-scale",String(e.fontScale||1)),t.classList.toggle("a11y-high-contrast",!!e.highContrast),t.classList.toggle("a11y-dyslexia",!!e.dyslexiaFont),t.classList.toggle("a11y-reduce-motion",!!e.reduceMotion),t.classList.toggle("a11y-underline-links",!!e.underlineLinks)}(e);try{localStorage.setItem(Wa,JSON.stringify(e))}catch(t){}},[e]);const n=(0,a.useCallback)(e=>{t(t=>c(c({},t),e))},[]),r=(0,a.useCallback)(()=>t(Ua),[]);return{settings:e,update:n,reset:r}}const Ya=[{value:.9,label:"Small"},{value:1,label:"Default"},{value:1.15,label:"Large"},{value:1.3,label:"XL"}];function Ba(e){let{icon:t,title:n,description:a,checked:r,onChange:o,testid:i}=e;return(0,ze.jsxs)("label",{"data-testid":i,className:"flex items-start gap-3 p-3 rounded-xl",style:{background:r?"var(--tf-bg-secondary)":"transparent",border:"1px solid var(--tf-card-border)",cursor:"pointer"},children:[(0,ze.jsx)("div",{className:"w-9 h-9 rounded-lg flex items-center justify-center flex-shrink-0 mt-0.5",style:{background:r?"var(--tf-purple)":"#fff",color:r?"#fff":"var(--tf-purple)",border:r?"none":"1px solid var(--tf-purple-light)"},children:(0,ze.jsx)(t,{size:16})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-text)"},children:n}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:11.5,color:"var(--tf-text-secondary)",marginTop:2,lineHeight:1.45},children:a})]}),(0,ze.jsx)("input",{type:"checkbox",className:"sr-only",checked:r,onChange:e=>o(e.target.checked)}),(0,ze.jsx)("span",{"aria-hidden":!0,className:"relative inline-block flex-shrink-0",style:{width:38,height:22,background:r?"var(--tf-purple)":"#d6d2dc",borderRadius:9999,transition:"background 0.2s ease",marginTop:8},children:(0,ze.jsx)("span",{style:{position:"absolute",top:2,left:r?18:2,width:18,height:18,background:"#fff",borderRadius:9999,transition:"left 0.2s ease",boxShadow:"0 1px 2px rgba(0,0,0,0.2)"}})})]})}function qa(){const{settings:e,update:t,reset:n}=Va(),[r,o]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(!r)return;const e=e=>{"Escape"===e.key&&o(!1)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[r]),(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)("button",{type:"button",onClick:()=>o(!0),"data-testid":"a11y-fab","aria-label":"Open accessibility settings",className:"tf-no-print fixed z-40 inline-flex items-center justify-center rounded-full",style:{right:16,bottom:"calc(env(safe-area-inset-bottom, 0px) + 138px)",width:48,height:48,background:"#fff",color:"var(--tf-purple)",border:"1.5px solid var(--tf-purple-light)",boxShadow:"0 8px 24px rgba(139,123,177,0.18)",cursor:"pointer"},children:(0,ze.jsx)(La,{size:20,strokeWidth:2.2})}),r&&(0,ze.jsxs)("div",{className:"tf-no-print fixed inset-0 z-50 flex items-stretch justify-end",role:"dialog","aria-modal":"true","aria-label":"Accessibility settings","data-testid":"a11y-panel",children:[(0,ze.jsx)("button",{type:"button","aria-label":"Close accessibility settings",onClick:()=>o(!1),className:"absolute inset-0",style:{background:"rgba(42,42,53,0.45)",backdropFilter:"blur(3px)",WebkitBackdropFilter:"blur(3px)",border:"none",cursor:"pointer"}}),(0,ze.jsxs)("aside",{className:"relative w-full sm:max-w-sm overflow-y-auto",style:{background:"var(--tf-bg)",boxShadow:"-12px 0 40px rgba(42,42,53,0.18)",animation:"tf-fade-up 0.25s ease-out"},children:[(0,ze.jsxs)("div",{className:"sticky top-0 z-10 flex items-center justify-between px-5 py-4",style:{background:"rgba(253,252,254,0.95)",backdropFilter:"blur(10px)",borderBottom:"1px solid var(--tf-card-border)"},children:[(0,ze.jsxs)("div",{className:"flex items-center gap-2",children:[(0,ze.jsx)(La,{size:16,color:"var(--tf-purple)"}),(0,ze.jsx)("span",{className:"font-bold",style:{color:"var(--tf-text)",fontSize:14},children:"Accessibility"})]}),(0,ze.jsx)("button",{type:"button",onClick:()=>o(!1),"aria-label":"Close","data-testid":"a11y-close",className:"w-9 h-9 rounded-full inline-flex items-center justify-center",style:{background:"var(--tf-bg-secondary)",border:"none",color:"var(--tf-text)",cursor:"pointer"},children:(0,ze.jsx)(ia,{size:16})})]}),(0,ze.jsxs)("div",{className:"px-5 py-5 pb-10",children:[(0,ze.jsx)("p",{className:"font-body",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.55},children:"Adjust the site to feel easier to use. Settings are saved in this browser."}),(0,ze.jsxs)("div",{className:"mt-6",children:[(0,ze.jsxs)("div",{className:"flex items-center gap-2 mb-3",children:[(0,ze.jsx)(Oa,{size:14,color:"var(--tf-purple)"}),(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:11.5,letterSpacing:"0.16em",color:"var(--tf-purple)"},children:"TEXT SIZE"})]}),(0,ze.jsx)("div",{className:"grid grid-cols-4 gap-2",children:Ya.map(n=>{const a=e.fontScale===n.value;return(0,ze.jsx)("button",{type:"button",onClick:()=>t({fontScale:n.value}),"data-testid":"a11y-text-".concat(n.label.toLowerCase()),className:"py-2 rounded-xl font-bold",style:{background:a?"var(--tf-purple)":"#fff",color:a?"#fff":"var(--tf-text-secondary)",border:"1px solid ".concat(a?"var(--tf-purple)":"var(--tf-card-border)"),fontSize:12.5,cursor:"pointer"},children:n.label},n.value)})})]}),(0,ze.jsxs)("div",{className:"mt-6 flex flex-col gap-2.5",children:[(0,ze.jsx)(Ba,{icon:Da,title:"High contrast",description:"Stronger text and edges on a near-white background.",checked:e.highContrast,onChange:e=>t({highContrast:e}),testid:"a11y-toggle-contrast"}),(0,ze.jsx)(Ba,{icon:ra,title:"Dyslexia-friendly font",description:"Switches to a heavier, more readable sans-serif throughout.",checked:e.dyslexiaFont,onChange:e=>t({dyslexiaFont:e}),testid:"a11y-toggle-dyslexia"}),(0,ze.jsx)(Ba,{icon:Ha,title:"Reduce motion",description:"Disables breathing animations, fades and other movement.",checked:e.reduceMotion,onChange:e=>t({reduceMotion:e}),testid:"a11y-toggle-motion"}
2),(0,ze.jsx)(Ba,{icon:_a,title:"Underline links",description:"Adds an underline to every link so they stand out.",checked:e.underlineLinks,onChange:e=>t({underlineLinks:e}),testid:"a11y-toggle-underline"})]}),(0,ze.jsxs)("button",{type:"button",onClick:n,"data-testid":"a11y-reset",className:"mt-6 inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full font-bold",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-text-secondary)",border:"none",fontSize:12,cursor:"pointer"},children:[(0,ze.jsx)(ha,{size:13}),"Reset to defaults"]}),(0,ze.jsx)("p",{className:"font-body mt-6",style:{fontSize:11.5,color:"var(--tf-text-muted)",lineHeight:1.55},children:'Your browser may also respect system settings such as "Reduce motion", large text, and dark mode automatically.'})]})]})]})]})}const Ga=[{code:"en",label:"English",native:"English",htmlLang:"en-GB"},{code:"cy",label:"Welsh",native:"Cymraeg",htmlLang:"cy"}],Ka={en:{"app.name":"The Full Impact","app.tagline":"Sexual violence & domestic abuse \xb7 Read in your browser","nav.home":"Home","nav.sv":"SV","nav.sv.full":"Sexual Violence","nav.da":"DA","nav.da.full":"Domestic Abuse","nav.rights":"Rights","nav.consent":"Consent","nav.support":"Support","nav.journal":"Journal","nav.trauma":"Trauma","btn.exit":"Exit Now","btn.exit.aria":"Exit this site immediately","btn.menu.open":"Open menu","btn.menu.close":"Close menu","btn.print":"Print / Save this page","btn.ground":"Ground me","btn.ground.aria":"Open grounding exercises","btn.close":"Close","btn.back":"Back","btn.refresh":"Refresh","btn.signout":"Sign out","btn.language.aria":"Change language","btn.accessibility":"Accessibility","btn.accessibility.aria":"Open accessibility settings","skip.main":"Skip to main content","nav.aria.primary":"Primary","nav.aria.mobile":"Mobile primary","nav.aria.tabbar":"Bottom tab bar","footer.line1":"Anonymous & free \xb7 Quick exit available on every page","footer.why":"Why I created this","footer.about":"About & Privacy","footer.accessibility":"Accessibility statement","footer.faq":"FAQ","footer.stats":"View visit stats","lang.switch.to.cy":"Cymraeg","lang.switch.to.en":"English","cy.pending.eyebrow":"CYMRAEG","cy.pending.title":"Cymraeg \u2014 coming soon","cy.pending.body":"The site chrome (menu, buttons, footer, accessibility statement) is available in Welsh. The long-form survivor guidance on this page is being professionally translated \u2014 we would rather wait than publish machine translation on a trauma-informed service. The English version below is available in full.","cy.pending.continue":"Continue in English","stats.login.title":"Admin sign-in","stats.login.label":"Admin key","stats.login.help":"Enter your admin key to view anonymous visit stats.","stats.login.submit":"Sign in","stats.login.error":"That admin key is not correct. Please try again."},cy:{"app.name":"The Full Impact","app.tagline":"Trais rhywiol a cham-drin domestig \xb7 Darllen yn eich porwr","nav.home":"Hafan","nav.sv":"TR","nav.sv.full":"Trais Rhywiol","nav.da":"CD","nav.da.full":"Cam-drin Domestig","nav.rights":"Hawliau","nav.consent":"Caniat\xe2d","nav.support":"Cymorth","nav.journal":"Dyddiadur","nav.trauma":"Trawma","btn.exit":"Gadael Nawr","btn.exit.aria":"Gadael y wefan hon ar unwaith","btn.menu.open":"Agor y ddewislen","btn.menu.close":"Cau\u2019r ddewislen","btn.print":"Argraffu / Cadw\u2019r dudalen hon","btn.ground":"Sadio fi","btn.ground.aria":"Agor ymarferion sadio","btn.close":"Cau","btn.back":"Yn \xf4l","btn.refresh":"Adnewyddu","btn.signout":"Allgofnodi","btn.language.aria":"Newid iaith","btn.accessibility":"Hygyrchedd","btn.accessibility.aria":"Agor gosodiadau hygyrchedd","skip.main":"Neidio i\u2019r prif gynnwys","nav.aria.primary":"Prif","nav.aria.mobile":"Prif ddewislen symudol","nav.aria.tabbar":"Bar tabiau ar y gwaelod","footer.line1":"Dienw ac am ddim \xb7 Gadael cyflym ar bob tudalen","footer.why":"Pam wnes i greu hwn","footer.about":"Amdanom a Phreifatrwydd","footer.accessibility":"Datganiad hygyrchedd","footer.faq":"Cwestiynau Cyffredin","footer.stats":"Gweld ystadegau ymweliadau","lang.switch.to.cy":"Cymraeg","lang.switch.to.en":"English","cy.pending.eyebrow":"CYMRAEG","cy.pending.title":"Cymraeg \u2014 yn dod yn fuan","cy.pending.body":"Mae elfennau\u2019r wefan (dewislen, botymau, troedyn, datganiad hygyrchedd) ar gael yn Gymraeg. Mae\u2019r wybodaeth fanwl i oroeswyr ar y dudalen hon yn cael ei chyfieithu\u2019n broffesiynol \u2014 mae\u2019n well gennym aros na chyhoeddi cyfieithiad peiriannol ar wasanaeth sy\u2019n ystyriol o drawma. Mae\u2019r fersiwn Saesneg isod ar gael yn llawn.","cy.pending.continue":"Parhau yn Saesneg","stats.login.title":"Mewngofnodi gweinyddwr","stats.login.label":"Allwedd gweinyddwr","stats.login.help":"Rhowch eich allwedd gweinyddwr i weld ystadegau ymweliadau dienw.","stats.login.submit":"Mewngofnodi","stats.login.error":"Nid yw\u2019r allwedd gweinyddwr yn gywir. Rhowch gynnig arall."}};const Qa="tf-lang",$a="en",Ja=(0,a.createContext)({lang:$a,setLang:()=>{},t:e=>e,isCy:!1,langs:Ga});function Xa(){if("undefined"===typeof window)return $a;try{const e=window.localStorage.getItem(Qa);if(e&&Ka[e])return e}catch(e){}return(navigator.languages||[navigator.language||""]).map(e=>e.toLowerCase()).some(e=>e.startsWith("cy"))?"cy":$a}function Za(e){let{children:t}=e;const[n,r]=(0,a.useState)(Xa);(0,a.useEffect)(()=>{const e=Ga.find(e=>e.code===n)||Ga[0];document.documentElement.lang=e.htmlLang;try{window.localStorage.setItem(Qa,n)}catch(t){}},[n]);const o=(0,a.useMemo)(()=>({lang:n,setLang:e=>Ka[e]?r(e):null,t:e=>function(e,t){const n=Ka[e]||Ka.en;return void 0!==n[t]?n[t]:void 0!==Ka.en[t]?Ka.en[t]:t}(n,e),isCy:"cy"===n,langs:Ga}),[n]);return(0,ze.jsx)(Ja.Provider,{value:o,children:t})}function er(){return(0,a.useContext)(Ja)}function tr(){const{t:e}=er();return(0,ze.jsx)("a",{href:"#main-content",className:"tf-skip-link","data-testid":"skip-to-main-content",children:e("skip.main")})}const nr=Jn("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);function ar(e){let{onSwitch:t}=e;const{lang:n,setLang:a,t:r}=er(),o="en"===n?"cy":"en",i=r("cy"===o?"lang.switch.to.cy":"lang.switch.to.en"),s="cy"===o?"cy":"en-GB";return(0,ze.jsxs)("button",{type:"button",onClick:()=>{a(o),"function"===typeof t&&t(o)},"data-testid":"language-toggle","aria-label":r("btn.language.aria"),className:"inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full font-bold tf-focus",style:{background:"#fff",color:"var(--tf-purple)",border:"1px solid var(--tf-purple-light)",fontSize:12,cursor:"pointer",minHeight:40},children:[(0,ze.jsx)(nr,{size:14,"aria-hidden":"true",focusable:"false"}),(0,ze.jsx)("span",{lang:s,children:i})]})}const rr=Jn("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);function or(){const[e,t]=(0,a.useState)(!1),n=(0,a.useRef)(null),r=(0,a.useRef)(null),o=function(){if("undefined"===typeof navigator)return{label:"On most browsers:",step:'Right-click the page and choose "Translate to\u2026" \u2014 or use the browser menu.'};const e=navigator.userAgent||"",t=/iPad|iPhone|iPod/.test(e)&&!window.MSStream,n=/Android/.test(e),a=/^((?!chrome|android).)*safari/i.test(e),r=/Firefox\//.test(e),o=/Edg\//.test(e),i=/Chrome\//.test(e)&&!o;if(t)return{label:"On this iPhone or iPad:",step:'Tap the AA button in the address bar, then choose "Translate to\u2026".'};if(n)return{label:"On this Android device:",step:'Tap the \u22ee menu (top right), then choose "Translate\u2026".'};if(a)return{label:"On this Mac (Safari):",step:"Click the translate icon in the address bar, or use View \u2192 Translate."};if(r)return{label:"On Firefox:",step:"Click the translate icon in the address bar (Firefox 118+), or install the Firefox Translations add-on."};
2if(i||o)return{label:"On this browser:",step:'Right-click anywhere on the page, then choose "Translate to\u2026".'};return{label:"On most browsers:",step:'Right-click the page and choose "Translate to\u2026", or use the browser menu.'}}();return(0,a.useEffect)(()=>{if(!e)return;const a=e=>{var n;"Escape"===e.key&&(t(!1),null===(n=r.current)||void 0===n||n.focus())},o=e=>{n.current&&!n.current.contains(e.target)&&r.current&&!r.current.contains(e.target)&&t(!1)};return window.addEventListener("keydown",a),window.addEventListener("mousedown",o),()=>{window.removeEventListener("keydown",a),window.removeEventListener("mousedown",o)}},[e]),(0,ze.jsxs)("div",{style:{position:"relative"},children:[(0,ze.jsx)("button",{ref:r,type:"button",onClick:()=>t(e=>!e),"data-testid":"translate-helper-toggle","aria-label":"Read this page in another language","aria-expanded":e,"aria-haspopup":"dialog",className:"inline-flex items-center justify-center rounded-full tf-focus",style:{background:"#fff",color:"var(--tf-purple-dark)",border:"1px solid var(--tf-purple-light)",width:40,height:40,cursor:"pointer",flexShrink:0},children:(0,ze.jsx)(rr,{size:16,"aria-hidden":"true",focusable:"false"})}),e&&(0,ze.jsxs)("div",{ref:n,role:"dialog","aria-label":"Translate this page","data-testid":"translate-helper-popover",className:"tf-fade-up",style:{position:"absolute",top:"calc(100% + 10px)",right:0,width:320,maxWidth:"calc(100vw - 24px)",background:"#fff",border:"1px solid var(--tf-card-border)",borderRadius:16,boxShadow:"0 20px 40px rgba(43, 22, 78, 0.14)",padding:18,zIndex:60,color:"var(--tf-text)"},children:[(0,ze.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,ze.jsxs)("div",{children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"READ IN ANOTHER LANGUAGE"}),(0,ze.jsx)("h3",{className:"font-heading mt-1",style:{fontSize:17,lineHeight:1.25,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Your browser can translate this page."})]}),(0,ze.jsx)("button",{type:"button",onClick:()=>t(!1),"aria-label":"Close translate helper","data-testid":"translate-helper-close",className:"tf-focus",style:{background:"transparent",border:"none",color:"var(--tf-text-muted)",cursor:"pointer",padding:2,flexShrink:0},children:(0,ze.jsx)(ia,{size:16,"aria-hidden":"true"})})]}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:13,lineHeight:1.55,color:"var(--tf-text-secondary)"},children:"Translation happens on your device \u2014 nothing is sent to us, and no account is needed."}),(0,ze.jsx)("p",{className:"font-body font-bold mt-4",style:{fontSize:12,color:"var(--tf-text)"},children:o.label}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:12.5,lineHeight:1.55,color:"var(--tf-text-secondary)",marginTop:2},children:o.step}),(0,ze.jsxs)("details",{className:"mt-4",style:{cursor:"pointer"},children:[(0,ze.jsx)("summary",{className:"font-body font-bold",style:{fontSize:12,color:"var(--tf-purple-dark)",listStyle:"none"},children:"How to do it on other browsers \u2192"}),(0,ze.jsxs)("ul",{className:"mt-3 flex flex-col gap-2 font-body",style:{fontSize:12,lineHeight:1.5,color:"var(--tf-text-secondary)",paddingLeft:0,listStyle:"none"},children:[(0,ze.jsxs)("li",{children:[(0,ze.jsx)("strong",{style:{color:"var(--tf-text)"},children:"Chrome / Edge (desktop):"})," ","right-click the page, then ",(0,ze.jsx)("em",{children:"Translate to\u2026"})]}),(0,ze.jsxs)("li",{children:[(0,ze.jsx)("strong",{style:{color:"var(--tf-text)"},children:"Safari (Mac):"})," ","click the translate icon in the address bar, or"," ",(0,ze.jsx)("em",{children:"View \u2192 Translate"})]}),(0,ze.jsxs)("li",{children:[(0,ze.jsx)("strong",{style:{color:"var(--tf-text)"},children:"Chrome (Android):"})," ","tap the \u22ee menu, then ",(0,ze.jsx)("em",{children:"Translate\u2026"})]}),(0,ze.jsxs)("li",{children:[(0,ze.jsx)("strong",{style:{color:"var(--tf-text)"},children:"Safari (iPhone / iPad):"})," ","tap the ",(0,ze.jsx)("em",{children:"AA"})," button in the address bar, then"," ",(0,ze.jsx)("em",{children:"Translate to\u2026"})]}),(0,ze.jsxs)("li",{children:[(0,ze.jsx)("strong",{style:{color:"var(--tf-text)"},children:"Firefox:"})," ","click the translate icon in the address bar (Firefox 118+), or install the ",(0,ze.jsx)("em",{children:"Firefox Translations"})," add-on."]})]})]}),(0,ze.jsx)("p",{className:"font-body mt-4",style:{fontSize:11.5,lineHeight:1.5,color:"var(--tf-text-muted)"},children:"Machine translation can be imperfect. For essential legal or safety information, please check with a qualified interpreter \u2014 most UK services below can arrange one at no cost."})]})]})}const ir=Jn("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);function sr(){const{isCy:e,t:t,setLang:n}=er();return e?(0,ze.jsx)("aside",{lang:"cy",role:"note","data-testid":"cy-pending-notice",className:"tf-card p-5 sm:p-6 mt-6",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #F4EFF8 100%)",borderColor:"var(--tf-purple-light)"},children:(0,ze.jsxs)("div",{className:"flex items-start gap-3",children:[(0,ze.jsx)("div",{className:"w-10 h-10 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-purple)",border:"1px solid var(--tf-purple-light)"},"aria-hidden":"true",children:(0,ze.jsx)(ir,{size:18})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple)"},children:t("cy.pending.eyebrow")}),(0,ze.jsx)("h2",{className:"font-heading mt-1",style:{fontSize:18,color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:t("cy.pending.title")}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.6},children:t("cy.pending.body")}),(0,ze.jsx)("button",{type:"button",onClick:()=>n("en"),"data-testid":"cy-pending-switch-en",className:"mt-3 inline-flex items-center gap-1.5 px-3 py-2 rounded-full font-bold tf-focus",style:{background:"var(--tf-purple)",color:"#fff",border:"none",fontSize:12,cursor:"pointer",minHeight:40},lang:"en-GB",children:t("cy.pending.continue")})]})]})}):null}var lr,cr=Object.defineProperty,dr=Object.getOwnPropertySymbols,ur=Object.prototype.hasOwnProperty,fr=Object.prototype.propertyIsEnumerable,hr=(e,t,n
vendor: 9,970 bytes, line 2
2)=>t in e?cr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pr=(e,t)=>{for(var n in t||(t={}))ur.call(t,n)&&hr(e,n,t[n]);if(dr)for(var n of dr(t))fr.call(t,n)&&hr(e,n,t[n]);return e},mr=(e,t)=>{var n={};for(var a in e)ur.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&dr)for(var a of dr(e))t.indexOf(a)<0&&fr.call(e,a)&&(n[a]=e[a]);return n};(e=>{const t=class t{constructor(e,n,a,o){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let i=[];for(let t=0;t<this.size;t++)i.push(!1);for(let t=0;t<this.size;t++)this.modules.push(i.slice()),this.isFunction.push(i.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(a);if(this.drawCodewords(s),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(o=t,e=n),this.applyMask(t)}}r(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(n,a){const r=e.QrSegment.makeSegments(n);return t.encodeSegments(r,a)}static encodeBinary(n,a){const r=e.QrSegment.makeBytes(n);return t.encodeSegments([r],a)}static encodeSegments(e,a){let o,s,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:40,d=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,u=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];if(!(t.MIN_VERSION<=l&&l<=c&&c<=t.MAX_VERSION)||d<-1||d>7)throw new RangeError("Invalid value");for(o=l;;o++){const n=8*t.getNumDataCodewords(o,a),r=i.getTotalBits(e,o);if(r<=n){s=r;break}if(o>=c)throw new RangeError("Data too long")}for(const n of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])u&&s<=8*t.getNumDataCodewords(o,n)&&(a=n);let f=[];for(const t of e){n(t.mode.modeBits,4,f),n(t.numChars,t.mode.numCharCountBits(o),f);for(const e of t.getData())f.push(e)}r(f.length==s);const h=8*t.getNumDataCodewords(o,a);r(f.length<=h),n(0,Math.min(4,h-f.length),f),n(0,(8-f.length%8)%8,f),r(f.length%8==0);for(let t=236;f.length<h;t^=253)n(t,8,f);let p=[];for(;8*p.length<f.length;)p.push(0);return f.forEach((e,t)=>p[t>>>3]|=e<<7-(7&t)),new t(o,a,p,d)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let n=0;n<this.size;n++)this.setFunctionModule(6,n,n%2==0),this.setFunctionModule(n,6,n%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let a=0;a<t;a++)0==n&&0==a||0==n&&a==t-1||n==t-1&&0==a||this.drawAlignmentPattern(e[n],e[a]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let n=t;for(let a=0;a<10;a++)n=n<<1^1335*(n>>>9);const o=21522^(t<<10|n);r(o>>>15==0);for(let r=0;r<=5;r++)this.setFunctionModule(8,r,a(o,r));this.setFunctionModule(8,7,a(o,6)),this.setFunctionModule(8,8,a(o,7)),this.setFunctionModule(7,8,a(o,8));for(let r=9;r<15;r++)this.setFunctionModule(14-r,8,a(o,r));for(let r=0;r<8;r++)this.setFunctionModule(this.size-1-r,8,a(o,r));for(let r=8;r<15;r++)this.setFunctionModule(8,this.size-15+r,a(o,r));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let n=0;n<12;n++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;r(t>>>18==0);for(let n=0;n<18;n++){const e=a(t,n),r=this.size-11+n%3,o=Math.floor(n/3);this.setFunctionModule(r,o,e),this.setFunctionModule(o,r,e)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let a=-4;a<=4;a++){const r=Math.max(Math.abs(a),Math.abs(n)),o=e+a,i=t+n;0<=o&&o<this.size&&0<=i&&i<this.size&&this.setFunctionModule(o,i,2!=r&&4!=r)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let a=-2;a<=2;a++)this.setFunctionModule(e+a,t+n,1!=Math.max(Math.abs(a),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){const n=this.version,a=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,a))throw new RangeError("Invalid argument");const o=t.NUM_ERROR_CORRECTION_BLOCKS[a.ordinal][n],i=t.ECC_CODEWORDS_PER_BLOCK[a.ordinal][n],s=Math.floor(t.getNumRawDataModules(n)/8),l=o-s%o,c=Math.floor(s/o);let d=[];const u=t.reedSolomonComputeDivisor(i);for(let r=0,h=0;r<o;r++){let n=e.slice(h,h+c-i+(r<l?0:1));h+=n.length;const a=t.reedSolomonComputeRemainder(n,u);r<l&&n.push(0),d.push(n.concat(a))}let f=[];for(let t=0;t<d[0].length;t++)d.forEach((e,n)=>{(t!=c-i||n>=l)&&f.push(e[t])});return r(f.length==s),f}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let n=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let r=0;r<this.size;r++)for(let o=0;o<2;o++){const i=t-o,s=0==(t+1&2)?this.size-1-r:r;!this.isFunction[s][i]&&n<8*e.length&&(this.modules[s][i]=a(e[n>>>3],7-(7&n)),n++)}}r(n==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let a;switch(e){case 0:a=(n+t)%2==0;break;case 1:a=t%2==0;break;case 2:a=n%3==0;break;case 3:a=(n+t)%3==0;break;case 4:a=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:a=n*t%2+n*t%3==0;break;case 6:a=(n*t%2+n*t%3)%2==0;break;case 7:a=((n+t)%2+n*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][n]&&a&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let r=0;r<this.size;r++){let n=!1,a=0,o=[0,0,0,0,0,0,0];for(let i=0;i<this.size;i++)this.modules[r][i]==n?(a++,5==a?e+=t.PENALTY_N1:a>5&&e++):(this.finderPenaltyAddHistory(a,o),n||(e+=this.finderPenaltyCountPatterns(o)*t.PENALTY_N3),n=this.modules[r][i],a=1);e+=this.finderPenaltyTerminateAndCount(n,a,o)*t.PENALTY_N3}for(let r=0;r<this.size;r++){let n=!1,a=0,o=[0,0,0,0,0,0,0];for(let i=0;i<this.size;i++)this.modules[i][r]==n?(a++,5==a?e+=t.PENALTY_N1:a>5&&e++):(this.finderPenaltyAddHistory(a,o),n||(e+=this.finderPenaltyCountPatterns(o)*t.PENALTY_N3),n=this.modules[i][r],a=1);e+=this.finderPenaltyTerminateAndCount(n,a,o)*t.PENALTY_N3}for(let r=0;r<this.size-1;r++)for(let n=0;n<this.size-1;n++){const a=this.modules[r][n];a==this.modules[r][n+1]&&a==this.modules[r+1][n]&&a==this.modules[r+1][n+1]&&(e+=t.PENALTY_N2)}let n=0;for(const t of this.modules)n=t.reduce((e,t)=>e+(t?1:0),n);const a=this.size*this.size,o=Math.ceil(Math.abs(20*n-10*a)/a)-1;return r(0<=o&&o<=9),e+=o*t.PENALTY_N4,r(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let n=[6];for(let a=this.size-7;n.length<e;a-=t)n.splice(1,0,a);return n}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version number out of range");let n=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return r(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let n=[];for(let t=0;t<e-1;t++)n.push(0);n.push(1);let a=1;for(let r=0;r<e;r++){for(let e=0;e<n.length;e++)n[e]=t.reedSolomonMultiply(n[e],a),e+1<n.length&&(n[e]^=n[e+1]);a=t.reedSolomonMultiply(a,2)}return n}static reedSolomonComputeRemainder(e,n){let a=n.map(e=>0);for(const r of e){const e=r^a.shift();a.push(0),n.forEach((n,r)=>a[r]^=t.reedSolomonMultiply(n,e))}return a}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let n=0;for(let a=7;a>=0;a--)n=n<<1^285*(n>>>7),n^=(t>>>a&1)*e;return r(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];r(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]];function n(e,t,n){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let a=t-1;a>=0;a--)n.push(e>>>a&1)}function a(e,t){return 0!=(e>>>t&1)}function r(e){if(!e)throw new Error("Assertion error")}e.QrCode=t;const o=class e{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(t){let a=[];for(const e of t)n(e,8,a);return new e(e.Mode.BYTE,t.length,a)}static makeNumeric(t){if(!e.isNumeric(t))throw new RangeError("String contains
2non-numeric characters");let a=[];for(let e=0;e<t.length;){const r=Math.min(t.length-e,3);n(parseInt(t.substring(e,e+r),10),3*r+1,a),e+=r}return new e(e.Mode.NUMERIC,t.length,a)}static makeAlphanumeric(t){if(!e.isAlphanumeric(t))throw new RangeError("String contains unencodable characters in alphanumeric mode");let a,r=[];for(a=0;a+2<=t.length;a+=2){let o=45*e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(a));o+=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(a+1)),n(o,11,r)}return a<t.length&&n(e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(a)),6,r),new e(e.Mode.ALPHANUMERIC,t.length,r)}static makeSegments(t){return""==t?[]:e.isNumeric(t)?[e.makeNumeric(t)]:e.isAlphanumeric(t)?[e.makeAlphanumeric(t)]:[e.makeBytes(e.toUtf8ByteArray(t))]}static makeEci(t){let a=[];if(t<0)throw new RangeError("ECI assignment value out of range");if(t<128)n(t,8,a);else if(t<16384)n(2,2,a),n(t,14,a);else{if(!(t<1e6))throw new RangeError("ECI assignment value out of range");n(6,3,a),n(t,21,a)}return new e(e.Mode.ECI,0,a)}static isNumeric(t){return e.NUMERIC_REGEX.test(t)}static isAlphanumeric(t){return e.ALPHANUMERIC_REGEX.test(t)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(const a of e){const e=a.mode.numCharCountBits(t);if(a.numChars>=1<<e)return 1/0;n+=4+e+a.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)"%"!=e.charAt(n)?t.push(e.charCodeAt(n)):(t.push(parseInt(e.substring(n+1,n+3),16)),n+=2);return t}};o.NUMERIC_REGEX=/^[0-9]*$/,o.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,o.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";let i=o;e.QrSegment=o})(lr||(lr={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};t.LOW=new t(0,1),t.MEDIUM=new t(1,0),t.QUARTILE=new t(2,3),t.HIGH=new t(3,2);e.Ecc=t})(t=e.QrCode||(e.QrCode={}))})(lr||(lr={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};t.NUMERIC=new t(1,[10,12,14]),t.ALPHANUMERIC=new t(2,[9,11,13]),t.BYTE=new t(4,[8,16,16]),t.KANJI=new t(8,[8,10,12]),t.ECI=new t(7,[0,0,0]);e.Mode=t})(t=e.QrSegment||(e.QrSegment={}))})(lr||(lr={}));var yr=lr,gr={L:yr.QrCode.Ecc.LOW,M:yr.QrCode.Ecc.MEDIUM,Q:yr.QrCode.Ecc.QUARTILE,H:yr.QrCode.Ecc.HIGH},vr=128,br="L",xr="#FFFFFF",wr="#000000",Sr=!1,kr=1;function jr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=[];return e.forEach(function(e,a){let r=null;e.forEach(function(o,i){if(!o&&null!==r)return n.push("M".concat(r+t," ").concat(a+t,"h").concat(i-r,"v1H").concat(r+t,"z")),void(r=null);if(i!==e.length-1)o&&null===r&&(r=i);else{if(!o)return;null===r?n.push("M".concat(i+t,",").concat(a+t," h1v1H").concat(i+t,"z")):n.push("M".concat(r+t,",").concat(a+t," h").concat(i+1-r,"v1H").concat(r+t,"z"))}})}),n.join("")}function Nr(e,t){return e.slice().map((e,n)=>n<t.y||n>=t.y+t.h?e:e.map((e,n)=>(n<t.x||n>=t.x+t.w)&&e))}function Cr(e){let{value:t,level:n,minVersion:r,includeMargin:o,marginSize:i,imageSettings:s,size:l,boostLevel:c}=e,d=a.useMemo(()=>{const e=(Array.isArray(t)?t:[t]).reduce((e,t)=>(e.push(...yr.QrSegment.makeSegments(t)),e),[]);return yr.QrCode.encodeSegments(e,gr[n],r,void 0,void 0,c)},[t,n,r,c]);const{cells:u,margin:f,numCells:h,calculatedImageSettings:p}=a.useMemo(()=>{let e=d.getModules();const t=function(e,t){return null!=t?Math.max(Math.floor(t),0):e?4:0}(o,i),n=e.length+2*t,a=function(e,t,n,a){if(null==a)return null;const r=e.length+2*n,o=Math.floor(.1*t),i=r/t,s=(a.width||o)*i,l=(a.height||o)*i,c=null==a.x?e.length/2-s/2:a.x*i,d=null==a.y?e.length/2-l/2:a.y*i,u=null==a.opacity?1:a.opacity;let f=null;if(a.excavate){let e=Math.floor(c),t=Math.floor(d);f={x:e,y:t,w:Math.ceil(s+c-e),h:Math.ceil(l+d-t)}}return{x:c,y:d,h:l,w:s,excavation:f,opacity:u,crossOrigin:a.crossOrigin}}(e,l,t,s);return{cells:e,margin:t,numCells:n,calculatedImageSettings:a}},[d,l,s,o,i]);return{qrcode:d,margin:f,cells:u,numCells:h,calculatedImageSettings:p}}var Er=function(){try{(new Path2D).addPath(new Path2D)}catch(Ys){return!1}return!0}();a.forwardRef(function(e,t){const n=e,{value:r,size:o=vr,level:i=br,bgColor:s=xr,fgColor:l=wr,includeMargin:c=Sr,minVersion:d=kr,boostLevel:u,marginSize:f,imageSettings:h}=n,p=mr(n,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:m}=p,y=mr(p,["style"]),g=null==h?void 0:h.src,v=a.useRef(null),b=a.useRef(null),x=a.useCallback(e=>{v.current=e,"function"===typeof t?t(e):t&&(t.current=e)},[t]),[w,S]=a.useState(!1),{margin:k,cells:j,numCells:N,calculatedImageSettings:C}=Cr({value:r,level:i,minVersion:d,boostLevel:u,includeMargin:c,marginSize:f,imageSettings:h,size:o});a.useEffect(()=>{if(null!=v.current){const e=v.current,t=e.getContext("2d");if(!t)return;let n=j;const a=b.current,r=null!=C&&null!==a&&a.complete&&0!==a.naturalHeight&&0!==a.naturalWi
2dth;r&&null!=C.excavation&&(n=Nr(j,C.excavation));const i=window.devicePixelRatio||1;e.height=e.width=o*i;const c=o/N*i;t.scale(c,c),t.fillStyle=s,t.fillRect(0,0,N,N),t.fillStyle=l,Er?t.fill(new Path2D(jr(n,k))):j.forEach(function(e,n){e.forEach(function(e,a){e&&t.fillRect(a+k,n+k,1,1)})}),C&&(t.globalAlpha=C.opacity),r&&t.drawImage(a,C.x+k,C.y+k,C.w,C.h)}}),a.useEffect(()=>{S(!1)},[g]);const E=pr({height:o,width:o},m);let A=null;return null!=g&&(A=a.createElement("img",{src:g,key:g,style:{display:"none"},onLoad:()=>{S(!0)},ref:b,crossOrigin:null==C?void 0:C.crossOrigin})),a.createElement(a.Fragment,null,a.createElement("canvas",pr({style:E,height:o,width:o,ref:x,role:"img"},y)),A)}).displayName="QRCodeCanvas";var Ar=a.forwardRef(function(e,t){const n=e,{value:r,size:o=vr,level:i=br,bgColor:s=xr,fgColor:l=wr,includeMargin:c=Sr,minVersion:d=kr,boostLevel:u,title:f,marginSize:h,imageSettings:p}=n,m=mr(n,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:y,cells:g,numCells:v,calculatedImageSettings:b}=Cr({value:r,level:i,minVersion:d,boostLevel:u,includeMargin:c,marginSize:h,imageSettings:p,size:o});let x=g,w=null;null!=p&&null!=b&&(null!=b.excavation&&(x=Nr(g,b.excavation)),w=a.createElement("image",{href:p.src,height:b.h,width:b.w,x:b.x+y,y:b.y+y,preserveAspectRatio:"none",opacity:b.opacity,crossOrigin:b.crossOrigin}));const S=jr(x,y);return a.createElement("svg",pr({height:o,width:o,viewBox:"0 0 ".concat(v," ").concat(v),ref:t,role:"img"},m),!!f&&a.createElement("title",null,f),a.createElement("path",{fill:s,d:"M0,0 h".concat(v,"v").concat(v,"H0z"),shapeRendering:"crispEdges"}),a.createElement("path",{fill:l,d:S,shapeRendering:"crispEdges"}),w)});Ar.displayName="QRCodeSVG";const zr=Jn("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),Tr=Jn("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),Rr=Jn("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]),Fr=Jn("printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]),Pr=Jn("layout-template",[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"9",height:"7",x:"3",y:"14",rx:"1",key:"jqznyg"}],["rect",{width:"5",height:"7",x:"16",y:"14",rx:"1",key:"q5h2i8"}]]),Ir=Jn("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),Mr="".concat("https://thefullimpact.org","/api"),Lr={"/":"landing","/app":"home","/app/process":"process","/app/rights":"rights","/app/consent":"consent","/app/crossed-the-line":"crossed_the_line","/app/domestic-abuse":"domestic_abuse","/app/support":"support","/app/journal":"journal","/app/guided-journal":"guided_journal","/app/faq":"faq","/app/trauma":"trauma","/app/grounding":"grounding","/app/help-now":"help_now"},Or=new Set(["qr","share-copy","share-native","share-print"]),Dr=/^[a-z0-9][a-z0-9-]{0,39}$/,Hr=/^[a-z0-9][a-z0-9_-]{0,39}$/,_r=["utm_source","utm_medium","utm_campaign","utm_content","utm_term"];function Wr(e){if(!e)return;try{const t="tfi_t_".concat(e);if(sessionStorage.getItem(t))return;sessionStorage.setItem(t,"1")}catch(n){}let t="{}";try{let e="";if(document.referrer)try{e=new URL(document.referrer).hostname.toLowerCase()}catch(a){e=""}const n=new Date,r=n.getHours(),o=(n.getDay()+6)%7;t=JSON.stringify({ref:e,hour:r,dow:o})}catch(r){}try{if(navigator.sendBeacon){const n=new Blob([t],{type:"application/json"});return void navigator.sendBeacon("".concat(Mr,"/track/").concat(e),n)}}catch(o){}try{fetch("".concat(Mr,"/track/").concat(e),{method:"POST",headers:{"Content-Type":"application/json"},body:t,keepalive:!0}
2).catch(()=>{})}catch(i){}}function Ur(e){Wr(e)}function Vr(e){let{url:t="https://thefullimpact.org/?src=qr"}=e;const n=t.replace(/^https?:\/\//,"").replace(/\?src=.*$/,"");return(0,ze.jsxs)("aside",{className:"tf-a5-poster","aria-hidden":"true","data-testid":"a5-poster",children:[(0,ze.jsxs)("div",{className:"tf-a5-inner",children:[(0,ze.jsxs)("div",{className:"tf-a5-left",children:[(0,ze.jsx)("p",{className:"tf-a5-eyebrow",children:"THE FULL IMPACT"}),(0,ze.jsxs)("h1",{className:"tf-a5-title",children:["You are believed.",(0,ze.jsx)("br",{}),"You are not alone."]}),(0,ze.jsxs)("p",{className:"tf-a5-lede",children:["A calm, anonymous UK guide for survivors of"," ",(0,ze.jsx)("strong",{children:"sexual violence"})," and"," ",(0,ze.jsx)("strong",{children:"domestic abuse"}),". Read privately in your browser \u2014 free, no sign-up, no tracking."]}),(0,ze.jsxs)("ul",{className:"tf-a5-list",children:[(0,ze.jsx)("li",{children:"The judicial process, explained gently"}),(0,ze.jsx)("li",{children:"Your UK rights & how ISVAs / IDVAs help"}),(0,ze.jsx)("li",{children:"Trauma, grounding tools & a private journal"}),(0,ze.jsx)("li",{children:"Specialist helplines across England & Wales"})]}),(0,ze.jsxs)("div",{className:"tf-a5-helplines",children:[(0,ze.jsx)("p",{className:"tf-a5-helplines-title",children:"In immediate danger \u2014 call 999"}),(0,ze.jsx)("p",{className:"tf-a5-helpline",children:"Rape Crisis 24/7 \xb7 0808 802 9999"}),(0,ze.jsx)("p",{className:"tf-a5-helpline",children:"Refuge (domestic abuse) 24/7 \xb7 0808 2000 247"}),(0,ze.jsx)("p",{className:"tf-a5-helpline",children:"Samaritans 24/7 \xb7 116 123"}),(0,ze.jsx)("p",{className:"tf-a5-helpline",children:"Live Fear Free (Wales) \xb7 0808 80 10 800"})]})]}),(0,ze.jsxs)("div",{className:"tf-a5-right",children:[(0,ze.jsx)("div",{className:"tf-a5-qr-wrap",children:(0,ze.jsx)(Ar,{value:t,size:280,level:"M",includeMargin:!1,bgColor:"#ffffff",fgColor:"#3F1F5B"})}),(0,ze.jsx)("p",{className:"tf-a5-scan-label",children:"SCAN TO OPEN"}),(0,ze.jsx)("p",{className:"tf-a5-url",children:n}),(0,ze.jsx)("p",{className:"tf-a5-badge",children:"FREE \xb7 ANONYMOUS \xb7 TRAUMA-INFORMED"})]})]}),(0,ze.jsxs)("p",{className:"tf-a5-footer",children:["\xa9 ",(new Date).getFullYear()," Angela Moreton \xb7 The Full Impact\u2122 \xb7 Content sourced from Rape Crisis, CPS, NHS, gov.uk. Not legal advice."]})]})}function Yr(e){let{url:t}=e;const n=t.replace(/^https?:\/\//,"").replace(/\?src=.*$/,"");return(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsxs)("div",{className:"tf-a5-left",children:[(0,ze.jsx)("p",{className:"tf-a5-eyebrow",children:"THE FULL IMPACT"}),(0,ze.jsxs)("h2",{className:"tf-a5-title",children:["You are believed.",(0,ze.jsx)("br",{}),"You are not alone."]}),(0,ze.jsxs)("p",{className:"tf-a5-lede",children:["A calm, anonymous UK guide for survivors of"," ",(0,ze.jsx)("strong",{children:"sexual violence"})," and"," ",(0,ze.jsx)("strong",{children:"domestic abuse"}),". Read privately in your browser \u2014 free, no sign-up, no tracking."]}),(0,ze.jsxs)("ul",{className:"tf-a5-list",children:[(0,ze.jsx)("li",{children:"The judicial process, explained gently"}),(0,ze.jsx)("li",{children:"Your UK rights & how ISVAs / IDVAs help"}),(0,ze.jsx)("li",{children:"Trauma, grounding tools & a private journal"}),(0,ze.jsx)("li",{children:"Specialist helplines across England & Wales"})]}),(0,ze.jsxs)("div",{className:"tf-a5-helplines",children:[(0,ze.jsx)("p",{className:"tf-a5-helplines-title",children:"In immediate danger \u2014 call 999"}),(0,ze.jsx)("p",{className:"tf-a5-helpline",children:"Rape Crisis 24/7 \xb7 0808 802 9999"}),(0,ze.jsx)("p",{className:"tf-a5-helpline",children:"Refuge (domestic abuse) 24/7 \xb7 0808 2000 247"}),(0,ze.jsx)("p",{className:"tf-a5-helpline",children:"Samaritans 24/7 \xb7 116 123"}),(0,ze.jsx)("p",{className:"tf-a5-helpline",children:"Live Fear Free (Wales) \xb7 0808 80 10 800"})]})]}),(0,ze.jsxs)("div",{className:"tf-a5-right",children:[(0,ze.jsx)("div",{className:"tf-a5-qr-wrap",children:(0,ze.jsx)(Ar,{value:t,size:220,level:"M",includeMargin:!1,bgColor:"#ffffff",fgColor:"#3F1F5B"})}),(0,ze.jsx)("p",{className:"tf-a5-scan-label",children:"SCAN TO OPEN"}),(0,ze.jsx)("p",{className:"tf-a5-url",children:n}),(0,ze.jsx)("p",{className:"tf-a5-badge",children:"FREE \xb7 ANONYMOUS \xb7 TRAUMA-INFORMED"})]})]})}function Br(e){let{url:t,count:n,layout:a}=e;const r=Array.from({length:n});return(0,ze.jsx)("aside",{className:"tf-a5-multi tf-a5-multi-".concat(a),"aria-hidden":"true","data-testid":"a5-multi-".concat(a),children:r.map((e,n)=>(0,ze.jsx)("div",{className:"tf-a5-cell",children:(0,ze.jsx)("div",{className:"tf-a5-inner",children:(0,ze.jsx)(Yr,{url:t})})}
2,n))})}function qr(e,t){try{const n=new URL(e);return n.searchParams.set("src",t),n.toString()}catch(n){return e}}function Gr(){const e=(0,a.useMemo)(()=>{if("undefined"===typeof window)return"https://thefullimpact.org";const e=window.location.origin;return/preview\.emergentagent\.com$/i.test(new URL(e).hostname)?"https://thefullimpact.org":e},[]),[t,n]=(0,a.useState)(!1),r=async()=>{const t=qr(e,"share-copy");try{await navigator.clipboard.writeText(t),n(!0),Ur("share-copy"),setTimeout(()=>n(!1),1800)}catch(a){const e=document.createElement("textarea");e.value=t,document.body.appendChild(e),e.select();try{document.execCommand("copy"),n(!0),Ur("share-copy"),setTimeout(()=>n(!1),1800)}catch(r){}document.body.removeChild(e)}},o=(e,t)=>{Ur(t),document.body.classList.add(e),window.print(),setTimeout(()=>document.body.classList.remove(e),400)},[i,s]=(0,a.useState)(!1),l=(0,a.useRef)(null),c=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(!i)return;const e=e=>{var t;"Escape"===e.key&&(s(!1),null===(t=c.current)||void 0===t||t.focus())},t=e=>{l.current&&!l.current.contains(e.target)&&c.current&&!c.current.contains(e.target)&&s(!1)};return window.addEventListener("keydown",e),window.addEventListener("mousedown",t),()=>{window.removeEventListener("keydown",e),window.removeEventListener("mousedown",t)}},[i]);const d=[{key:"single",label:"1 poster on A5 (landscape)",hint:"One full-size poster, ideal for a noticeboard.",action:()=>(Ur("share-print-poster"),document.body.classList.add("tf-print-poster"),window.print(),void setTimeout(()=>document.body.classList.remove("tf-print-poster"),400))},{key:"2up-a4",label:"2 posters on A4 (portrait)",hint:"Two full-size A5 posters, stacked. Standard home printer.",action:()=>o("tf-print-poster-2up-a4","share-print-poster-2up-a4")},{key:"4up-a3",label:"4 posters on A3 (landscape)",hint:"Four full-size A5 posters, 2\xd72. Needs an A3 printer.",action:()=>o("tf-print-poster-4up-a3","share-print-poster-4up-a3")},{key:"4up-a4-mini",label:"4 small handouts on A4 (landscape)",hint:"Four pocket-size handouts, cut in half for GP surgeries or IDVA drop-ins.",action:()=>o("tf-print-poster-4up-a4-mini","share-print-poster-4up-a4-mini")}],u=e.replace(/^https?:\/\//,""),f=qr(e,"qr"),h=qr(e,"qr");return(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)("section",{"data-testid":"share-card",className:"tf-share-card rounded-2xl p-5 sm:p-6",style:{background:"#fff",border:"1.5px solid var(--tf-purple-light)",boxShadow:"0 6px 20px rgba(139,123,177,0.08)"},"aria-labelledby":"share-card-title",children:(0,ze.jsxs)("div",{className:"flex items-start gap-5 flex-col sm:flex-row",children:[(0,ze.jsxs)("div",{className:"tf-share-qr flex-shrink-0 flex flex-col items-center gap-2 p-3 rounded-xl mx-auto sm:mx-0",style:{background:"var(--tf-bg-secondary)",border:"1px solid var(--tf-card-border)"},children:[(0,ze.jsx)("div",{className:"p-2 rounded-lg bg-white","aria-hidden":"true",children:(0,ze.jsx)(Ar,{value:f,size:112,level:"M",includeMargin:!1,bgColor:"#ffffff",fgColor:"#3F1F5B","data-testid":"share-qr"})}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:10.5,letterSpacing:"0.2em",color:"var(--tf-text-muted)",fontWeight:700},children:"SCAN TO OPEN"})]}
2),(0,ze.jsxs)("div",{className:"flex-1 min-w-0 w-full",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.24em",color:"var(--tf-purple)"},children:"SHARE THIS SITE"}),(0,ze.jsx)("h3",{id:"share-card-title",className:"font-heading mt-1",style:{fontSize:"clamp(18px, 2vw, 22px)",color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:"Hand out a calm survivor guide."}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:"For ISVAs, IDVAs, SARC staff, social workers and community organisations \u2014 print this card, scan the QR, or share the link directly."}),(0,ze.jsxs)("div",{className:"mt-4 flex items-center gap-2 rounded-full pl-4 pr-1.5 py-1.5",style:{background:"var(--tf-bg-secondary)",border:"1px solid var(--tf-card-border)"},children:[(0,ze.jsx)("span",{className:"font-body flex-1 min-w-0 truncate","data-testid":"share-url",style:{fontSize:13,color:"var(--tf-text)",fontWeight:600},title:e,children:u}),(0,ze.jsx)("button",{type:"button",onClick:r,"data-testid":"share-copy-button","aria-label":t?"Link copied to clipboard":"Copy link to clipboard",className:"tf-no-print inline-flex items-center gap-1.5 px-3 py-2 rounded-full font-bold tf-focus",style:{background:t?"var(--tf-purple)":"#fff",color:t?"#fff":"var(--tf-purple)",border:"1px solid var(--tf-purple-light)",fontSize:12,minHeight:36},children:t?(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)(zr,{size:13,strokeWidth:2.4}),"Copied"]}):(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)(Tr,{size:13,strokeWidth:2.2}),"Copy"]})})]}),(0,ze.jsxs)("div",{className:"tf-no-print mt-3 flex flex-wrap gap-2",children:[(0,ze.jsxs)("button",{type:"button",onClick:async()=>{if(navigator.share)try{await navigator.share({title:"The Full Impact",text:"A calm, anonymous UK guide for survivors of rape, sexual violence and domestic abuse.",url:qr(e,"share-native")}),Ur("share-native")}catch(t){}else r()},"data-testid":"share-native-button",className:"inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full font-bold tf-focus",style:{background:"var(--tf-purple)",color:"#fff",fontSize:12.5,minHeight:36},children:[(0,ze.jsx)(Rr,{size:13,strokeWidth:2.2}),"Share\u2026"]}),(0,ze.jsxs)("button",{type:"button",onClick:()=>{Ur("share-print"),document.body.classList.add("tf-print-share"),window.print(),setTimeout(()=>document.body.classList.remove("tf-print-share"),400)},"data-testid":"share-print-button",className:"inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full font-bold tf-focus",style:{background:"#fff",color:"var(--tf-purple)",border:"1px solid var(--tf-purple-light)",fontSize:12.5,minHeight:36},children:[(0,ze.jsx)(Fr,{size:13,strokeWidth:2.2}),"Print this card"]}),(0,ze.jsxs)("div",{style:{position:"relative"},children:[(0,ze.jsxs)("button",{ref:c,type:"button",onClick:()=>s(e=>!e),"data-testid":"share-print-poster-button","aria-haspopup":"menu","aria-expanded":i,"aria-label":"Print poster options",className:"inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full font-bold tf-focus",style:{background:"#fff",color:"var(--tf-purple)",border:"1px solid var(--tf-purple-light)",fontSize:12.5,minHeight:36},children:[(0,ze.jsx)(Pr,{size:13,strokeWidth:2.2}),"Print poster",(0,ze.jsx)(Ir,{size:13,strokeWidth:2.2})]}),i&&(0,ze.jsx)("div",{ref:l,role:"menu","aria-label":"Print poster layouts","data-testid":"share-print-poster-menu",className:"tf-fade-up",style:{position:"absolute",top:"calc(100% + 8px)",left:0,zIndex:60,width:320,maxWidth:"calc(100vw - 24px)",background:"#fff",border:"1px solid var(--tf-card-border)",borderRadius:14,boxShadow:"0 20px 40px rgba(43, 22, 78, 0.14)",padding:6},children:d.map(e=>(0,ze.jsxs)("button",{type:"button",role:"menuitem","data-testid":"share-print-poster-option-".concat(e.key),onClick:()=>{s(!1),e.action()},className:"w-full text-left rounded-lg tf-focus",style:{background:"transparent",border:"none",padding:"10px 12px",cursor:"pointer",color:"var(--tf-text)",display:"block"},onMouseEnter:e=>{e.currentTarget.style.background="var(--tf-bg-secondary)"},onMouseLeave:e=>{e.currentTarget.style.background="transparent"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)",margin:0},children:e.label}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:11.5,color:"var(--tf-text-secondary)",margin:"2px 0 0 0",lineHeight:1.4},children:e.hint})]},e.key))})]})]}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:11.5,color:"var(--tf-text-muted)",lineHeight:1.55},children:"Free \xb7 Anonymous \xb7 No sign-up \xb7 Works offline once loaded."})]})]})}),(0,ze.jsx)(Vr,{url:h}),(0,ze.jsx)(Br,{url:h,count:2,layout:"2up-a4"}),(0,ze.jsx)(Br,{url:h,count:4,layout:"4up-a3"}),(0,ze.jsx)(Br,{url:h,count:4,layout:"4up-a4-mini"})]})}const Kr=[{to:"/app",key:"home",icon:Xn,labelKey:"nav.home",fullKey:"nav.home"},{to:"/app/sexual-violence",key:"sv",icon:Zn,labelKey:"nav.sv",fullKey:"nav.sv.full",activeWhen:["/app/sexual-violence","/app/process","/app/rights","/app/trauma"]},{to:"/app/domestic-abuse",key:"da",icon:ea,labelKey:"nav.da",fullKey:"nav.da.full"},{to:"/app/rights",key:"rights",icon:ta,labelKey:"nav.rights",fullKey:"nav.rights"}
2,{to:"/app/consent",key:"consent",icon:na,labelKey:"nav.consent",fullKey:"nav.consent"},{to:"/app/support",key:"support",icon:aa,labelKey:"nav.support",fullKey:"nav.support"},{to:"/app/journal",key:"journal",icon:ra,labelKey:"nav.journal",fullKey:"nav.journal"},{to:"/app/trauma",key:"trauma",icon:oa,labelKey:"nav.trauma",fullKey:"nav.trauma"}];function Qr(e,t){return e.activeWhen?e.activeWhen.some(e=>t===e||t.startsWith("".concat(e,"/"))):t===e.to||"/app"!==e.to&&t.startsWith(e.to)}function $r(e){let{children:t}=e;const{pathname:n}=Ft(),[r,o]=(0,a.useState)(!1),{t:i}=er();return(0,ze.jsxs)("div",{className:"min-h-screen",style:{background:"var(--tf-bg)"},children:[(0,ze.jsx)(tr,{}),(0,ze.jsxs)("header",{className:"sticky top-0 z-40 tf-no-print",role:"banner",style:{background:"rgba(253,252,254,0.92)",backdropFilter:"blur(14px)",WebkitBackdropFilter:"blur(14px)",borderBottom:"1px solid var(--tf-card-border)"},children:[(0,ze.jsxs)("div",{className:"max-w-6xl mx-auto px-5 sm:px-8 py-3 flex items-center justify-between gap-3",children:[(0,ze.jsxs)(On,{to:"/","data-testid":"brand-link",className:"flex items-center gap-3 group",style:{textDecoration:"none"},children:[(0,ze.jsx)("div",{className:"w-9 h-9 rounded-xl flex items-center justify-center",style:{background:"linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%)"},children:(0,ze.jsx)("span",{className:"font-heading text-white text-lg",style:{lineHeight:1,paddingTop:2},children:"F"})}),(0,ze.jsxs)("div",{className:"flex flex-col",children:[(0,ze.jsx)("span",{className:"font-body font-bold tracking-[0.18em]",style:{fontSize:11,color:"var(--tf-purple-dark)"},children:"THE FULL IMPACT"}),(0,ze.jsx)("span",{className:"font-body hidden sm:block",style:{fontSize:10.5,color:"var(--tf-text-muted)"},children:"Sexual violence & domestic abuse \xb7 Read in your browser"})]})]}),(0,ze.jsx)("nav",{className:"hidden md:flex items-center gap-1","aria-label":i("nav.aria.primary"),children:Kr.map(e=>{const t=e.icon,a=Qr(e,n),r=i(e.labelKey),o=i(e.fullKey),s=r!==o;return(0,ze.jsxs)(On,{to:e.to,"data-testid":"nav-".concat(e.key),title:o,"aria-current":a?"page":void 0,"aria-label":s?o:void 0,className:"inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full text-[13px] font-bold transition-colors tf-focus",style:{color:a?"var(--tf-purple)":"var(--tf-text-secondary)",background:a?"var(--tf-bg-secondary)":"transparent",textDecoration:"none",minHeight:40},children:[(0,ze.jsx)(t,{size:14,strokeWidth:2,"aria-hidden":"true",focusable:"false"}),(0,ze.jsx)("span",{"aria-hidden":s?"true":void 0,children:r})]},e.to)})}),(0,ze.jsxs)("div",{className:"flex items-center gap-2",children:[(0,ze.jsx)("div",{className:"hidden md:block",children:(0,ze.jsx)(ar,{})}),(0,ze.jsx)(or,{}),(0,ze.jsx)(da,{}),(0,ze.jsx)("button",{type:"button",className:"md:hidden inline-flex items-center justify-center rounded-full tf-focus",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-text)",width:44,height:44,flexShrink:0},onClick:()=>o(!r),"aria-label":i(r?"btn.menu.close":"btn.menu.open"),"aria-expanded":r,"aria-controls":"mobile-nav-drawer","data-testid":"mobile-menu-toggle",children:r?(0,ze.jsx)(ia,{size:18,"aria-hidden":"true",focusable:"false"}):(0,ze.jsx)(sa,{size:18,"aria-hidden":"true",focusable:"false"})})]})]}),r&&(0,ze.jsx)("div",{id:"mobile-nav-drawer",className:"md:hidden border-t",style:{borderColor:"var(--tf-card-border)",background:"#fff"},children:(0,ze.jsxs)("nav",{className:"px-5 py-3 flex flex-col gap-1","aria-label":i("nav.aria.mobile"),children:[Kr.map(e=>{const t=e.icon,a=Qr(e,n);return(0,ze.jsxs)(On,{to:e.to,"data-testid":"mobile-nav-".concat(e.key),onClick:()=>o(!1),"aria-current":a?"page":void 0,className:"inline-flex items-center gap-3 px-3 py-3 rounded-xl text-[14px] font-bold tf-focus",style:{color:a?"var(--tf-purple)":"var(--tf-text)",background:a?"var(--tf-bg-secondary)":"transparent",textDecoration:"none",minHeight:44},children:[(0,ze.jsx)(t,{size:16,"aria-hidden":"true",focusable:"false"}),i(e.fullKey)]},e.to)}),(0,ze.jsx)("div",{className:"pt-3 mt-2",style:{borderTop:"1px solid var(--tf-card-border)"},children:(0,ze.jsx)(ar,{onSwitch:()=>o(!1)})})]})})]}),(0,ze.jsxs)("main",{id:"main-content",className:"pb-24 md:pb-12",tabIndex:-1,
2children:["/app/accessibility"!==n&&(0,ze.jsx)("div",{className:"max-w-6xl mx-auto px-5 sm:px-8 pt-6",children:(0,ze.jsx)(sr,{})}),t]}),(0,ze.jsxs)("footer",{className:"border-t tf-no-print",style:{borderColor:"var(--tf-card-border)",background:"var(--tf-bg-secondary)"},children:[(0,ze.jsxs)("div",{className:"max-w-6xl mx-auto px-5 sm:px-8 py-10 grid sm:grid-cols-3 gap-6",children:[(0,ze.jsxs)("div",{children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SOURCED FROM"}),(0,ze.jsx)("p",{className:"font-body text-[12.5px] mt-2",style:{color:"var(--tf-text-secondary)",lineHeight:1.6},children:"Rape Crisis England & Wales \xb7 CPS \xb7 Victims' Code of Practice \xb7 gov.uk \xb7 NHS \xb7 Mind \xb7 PTSD UK"})]}),(0,ze.jsxs)("div",{children:[(0,ze.jsx)("p",{className:"eyebrow",children:"IN URGENT NEED"}),(0,ze.jsxs)("p",{className:"font-body text-[12.5px] mt-2",style:{color:"var(--tf-text-secondary)",lineHeight:1.6},children:["Call ",(0,ze.jsx)("a",{href:"tel:999",className:"tf-link",children:"999"})," in immediate danger \xb7"," ",(0,ze.jsx)("a",{href:"tel:116123",className:"tf-link",children:"116 123"})," Samaritans \xb7"," ",(0,ze.jsx)("a",{href:"tel:08088029999",className:"tf-link",children:"0808 802 9999"})," Rape Crisis"]})]}),(0,ze.jsxs)("div",{children:[(0,ze.jsx)("p",{className:"eyebrow",children:"DISCLAIMER"}),(0,ze.jsx)("p",{className:"font-body text-[12px] mt-2",style:{color:"var(--tf-text-muted)",lineHeight:1.6},children:"The Full Impact provides general information for survivors of rape, sexual violence and domestic abuse in the UK. It is not legal advice. For legal advice please contact a solicitor or your ISVA / IDVA."})]})]}),(0,ze.jsx)("div",{className:"max-w-6xl mx-auto px-5 sm:px-8 pb-4 flex justify-center",children:(0,ze.jsxs)("a",{href:"https://www.instagram.com/thefullimpactcampaign?igsh=cHEyd2Jjbm9jMjhx",target:"_blank",rel:"noopener noreferrer","data-testid":"footer-instagram",className:"inline-flex items-center gap-2 px-4 py-2 rounded-full font-bold",style:{background:"#fff",color:"var(--tf-purple-dark)",border:"1px solid var(--tf-purple-light)",fontSize:13,textDecoration:"none"},children:[(0,ze.jsx)(la,{size:15}),"Follow @thefullimpactcampaign"]})}),(0,ze.jsx)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 pb-8",children:(0,ze.jsx)(Gr,{})}),(0,ze.jsxs)("div",{className:"max-w-6xl mx-auto px-5 sm:px-8 pb-8 text-center",children:[(0,ze.jsxs)("p",{className:"font-body",style:{fontSize:11.5,color:"var(--tf-text-muted)",lineHeight:1.6},children:["\xa9 ",(new Date).getFullYear()," ",(0,ze.jsx)("strong",{style:{color:"var(--tf-text-secondary)"},children:"Angela Moreton"}),". All rights reserved.",(0,ze.jsx)("br",{className:"sm:hidden"}),(0,ze.jsx)("span",{className:"hidden sm:inline",children:" \xb7 "}),"The Full Impact\u2122 \u2014 a trauma-informed survivor guide for the UK."]}),(0,ze.jsxs)("p",{className:"font-body mt-2 mx-auto",style:{fontSize:10.5,color:"var(--tf-text-muted)",lineHeight:1.6,maxWidth:720},children:["Original writing, design and selection of resources by Angela Moreton. Content licensed under"," ",(0,ze.jsx)("a",{href:"https://creativecommons.org/licenses/by-nc-nd/4.0/",target:"_blank",rel:"noopener noreferrer",className:"tf-link",children:"CC BY-NC-ND 4.0"})," ","\u2014 you may share it freely with attribution, but not commercially and not in modified form. Quoted material from Rape Crisis, CPS, NHS, gov.uk and other UK sources remains the copyright of its respective owners."]}),(0,ze.jsxs)("p",{className:"font-body mt-2",style:{fontSize:10.5,color:"var(--tf-text-muted)"},children:[i("footer.line1")," \xb7 "," ",(0,ze.jsx)(On,{to:"/app/why","data-testid":"footer-why-link",className:"tf-link",children:i("footer.why")})," ","\xb7"," ",(0,ze.jsx)(On,{to:"/app/about","data-testid":"footer-about-link",className:"tf-link",children:i("footer.about")})," ","\xb7"," ",(0,ze.jsx)(On,{to:"/app/accessibility","data-testid":"footer-a11y-link",className:"tf-link",children:i("footer.accessibility")})," ","\xb7"," ",(0,ze.jsx)(On,{to:"/app/compliance","data-testid":"footer-compliance-link",className:"tf-link",children:"Compliance summary"})," ","\xb7"," ",(0,ze.jsx)(On,{to:"/app/faq","data-testid":"footer-faq-link",className:"tf-link",children:i("footer.faq")})]})]})]}),(0,ze.jsx)("nav",{className:"md:hidden tf-tabbar tf-no-print fixed bottom-0 left-0 right-0 z-30",style:{paddingBottom:"env(safe-area-inset-bottom, 0px)"},"aria-label":i("nav.aria.tabbar"),children:(0,ze.jsx)("div",{className:"grid grid-cols-5 px-1 py-1.5",children:Kr.filter(e=>["/app","/app/sexual-violence","/app/domestic-abuse","/app/support","/app/journal"].includes(e.to)).map(e=>{const t=e.icon,a=Qr(e,n);return(0,ze.jsxs)(On,{to:e.to,"data-testid":"tab-".concat(e.key),"aria-current":a?"page":void 0,"aria-label":i(e.fullKey),className:"flex flex-col items-center justify-center gap-0.5 py-1.5 rounded-xl tf-focus",style:{color:a?"var(--tf-purple)":"var(--tf-text-muted)",textDecoration:"none",minHeight:44},children:[(0,ze.jsx)(t,{size:20,strokeWidth:a?2.2:1.8,"aria-hidden":"true",focusable:"false"}),(0,ze.jsx)("span",{className:"font-body",style:{fontSize:10.5,fontWeight:a?700:600},children:i(e.labelKey)})]},e.to)})})}),(0,ze.jsx)(Ia,{}),(0,ze.jsx)(Ma,{}),(0,ze.jsx)(qa,{})]})}const Jr=Jn("footprints",[["path",{d:"M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z",key:"1dudjm"}],["path",{d:"M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z",key:"l2t8xc"}],["path",{d:"M16 17h4",key:"1dejxt"}],["path",{d:"M4 13h4",key:"1bwh8b"}]]),Xr=Jn("heart-pulse",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"1uw2ng"}]]),Zr=Jn("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2
20 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]),eo=Jn("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),to=Jn("lock-keyhole",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]]),no=Jn("library",[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]]),ao="The Full Impact",ro="https://thefullimpact.org",oo="tf-page-schema";function io(e){let{title:t,description:n,path:r,breadcrumbs:o,schemaType:i="WebPage"}=e;return(0,a.useEffect)(()=>{if("undefined"===typeof document)return;const e=t?"".concat(t," \u2014 ").concat(ao):ao;document.title=e;const a=(e,t,n,a)=>{let r=document.head.querySelector(e);r||(r=document.createElement("meta"),r.setAttribute(t,n),document.head.appendChild(r)),r.setAttribute("content",a)};n&&(a('meta[name="description"]',"name","description",n),a('meta[property="og:description"]',"property","og:description",n),a('meta[name="twitter:description"]',"name","twitter:description",n)),a('meta[property="og:title"]',"property","og:title",e),a('meta[name="twitter:title"]',"name","twitter:title",e);const s="".concat(ro).concat(r||"");let l=document.head.querySelector('link[rel="canonical"]');l||(l=document.createElement("link"),l.setAttribute("rel","canonical"),document.head.appendChild(l)),l.setAttribute("href",s),a('meta[property="og:url"]',"property","og:url",s);const d=Array.isArray(o)&&o.length>0?o:[{name:"Home",path:"/"},...r&&"/"!==r&&t?[{name:t,path:r}]:[]],u={"@context":"https://schema.org","@graph":[c(c({"@type":i,"@id":"".concat(s,"#webpage"),url:s,name:e},n?{description:n}:{}),{},{inLanguage:"en-GB",isPartOf:{"@id":"".concat(ro,"/#website")},isAccessibleForFree:!0}),{"@type":"BreadcrumbList","@id":"".concat(s,"#breadcrumbs"),itemListElement:d.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,item:"".concat(ro).concat(e.path)}))}]};let f=document.getElementById(oo);f||(f=document.createElement("script"),f.type="application/ld+json",f.id=oo,document.head.appendChild(f)),f.textContent=JSON.stringify(u)},[t,n,r,o,i]),null}const so=[{to:"/app/crossed-the-line",title:"Was that assault?",body:'A calm guide for anyone unsure whether what happened counts, with quiet answers to the "but\u2026" thoughts that stop survivors naming it.',icon:Zn},{to:"/app/process",title:"The Judicial Process",body:"Step-by-step through reporting, investigation, CPS, court, verdict, sentencing and appeals \u2014 every stage explained gently.",icon:Jr},{to:"/app/rights",title:"Your Rights",body:"Lifetime anonymity, ISVA support, special measures in court, Victim Personal Statements \u2014 all 10 rights under UK law.",icon:ta},{to:"/app/support?tab=sv",title:"Sexual-violence support",body:"Rape Crisis, New Pathways, Survivors Trust, SARCs, Samaritans, Galop, Safeline \u2014 UK helplines you can call today.",icon:aa}],lo=[{to:"/app/crossed-the-line",title:"Is this abuse?",body:"A gentle guide to coercive control, emotional harm, financial abuse and digital monitoring \u2014 with quiet answers to the doubts that hold you back.",icon:Zn},{to:"/app/domestic-abuse#process",title:"DA Judicial Process",body:"From recognising abuse and safety planning, through reporting, DAPN/DAPO, MARAC, CPS, court and after the case.",icon:Jr},{to:"/app/domestic-abuse#rights",title:"Your DA Rights",body:"The Domestic Abuse Act 2021, coercive-control offence, protective orders, legal aid, Clare\u2019s Law, refuge and IDVA support.",icon:ta},{to:"/app/domestic-abuse#types",title:"Types of abuse",body:'The seven UK-recognised forms \u2014 coercive, physical, sexual, financial, emotional, stalking/tech, and "honour"-based abuse.',icon:ea},{to:"/app/domestic-abuse#safety",title:"Safety planning",body:'A personal plan for while you\u2019re still living together, a "go bag", leaving safely, and after you\u2019ve left.',icon:Zn},{to:"/app/support?tab=da",title:"DA support",body:"Refuge 24/7 helpline, Women\u2019s Aid, Men\u2019s Advice Line, Karma Nirvana, NCDV, Galop, Hourglass, Respect Phoneline.",icon:aa}],co=[{to:"/app/consent",title:"Consent \u2014 UK law",body:"Plain-language guide across England, Wales, Scotland and Northern Ireland. Freezing is not consent.",icon:na}
2,{to:"/app/journal",title:"Private Journal",body:"A calm place to write \u2014 with moods, stored only in your browser, and never shared.",icon:ra},{to:"/app/trauma",title:"Trauma & Healing",body:"Why your body reacted as it did, short videos, grounding tools and UK specialist help.",icon:Xr},{to:"/app/grounding",title:"Grounding Exercises",body:"Four short techniques to bring you back to the present when you feel panicked or stuck.",icon:pa}];function uo(){return(0,ze.jsxs)("div",{className:"min-h-screen tf-hero-gradient",children:[(0,ze.jsx)(io,{description:"A trauma-informed guide for survivors of sexual violence and domestic abuse in England, Wales and Scotland. Justice process, your rights, helplines, safety planning, grounding tools and a private journal \u2014 read anonymously in your browser.",path:"/"}),(0,ze.jsx)(Ma,{}),(0,ze.jsx)(qa,{}),(0,ze.jsxs)("header",{className:"max-w-6xl mx-auto px-5 sm:px-8 pt-6 flex items-center justify-between",children:[(0,ze.jsxs)(On,{to:"/",className:"flex items-center gap-3",style:{textDecoration:"none"},children:[(0,ze.jsx)("div",{className:"w-9 h-9 rounded-xl flex items-center justify-center",style:{background:"linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%)"},children:(0,ze.jsx)("span",{className:"font-heading text-white text-lg",style:{lineHeight:1,paddingTop:2},children:"F"})}),(0,ze.jsx)("span",{className:"font-body font-bold tracking-[0.18em]",style:{fontSize:11,color:"var(--tf-purple-dark)"},children:"THE FULL IMPACT"})]}),(0,ze.jsxs)("div",{className:"flex items-center gap-2",children:[(0,ze.jsxs)(On,{to:"/app/help-now","data-testid":"header-help-now",className:"hidden sm:inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full text-[12px] font-bold",style:{background:"#fff",color:"var(--tf-purple-dark)",border:"1px solid var(--tf-purple-light)",textDecoration:"none"},children:[(0,ze.jsx)(Zr,{size:13})," Find help now"]}),(0,ze.jsx)(or,{}),(0,ze.jsx)(da,{})]})]}),(0,ze.jsxs)("main",{id:"main-content",tabIndex:-1,children:[(0,ze.jsxs)("section",{className:"max-w-6xl mx-auto px-5 sm:px-8 pt-10 pb-12",children:[(0,ze.jsxs)("div",{className:"tf-fade-up",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SURVIVOR-BUILT \xb7 ENGLAND, WALES & SCOTLAND"}),(0,ze.jsxs)("h1",{className:"font-heading mt-4",style:{fontSize:"clamp(32px, 5vw, 54px)",lineHeight:1.05,letterSpacing:"-0.02em",color:"var(--tf-text)"},children:["The trauma-informed guide for"," ",(0,ze.jsx)("span",{style:{color:"var(--tf-purple-dark)"},children:"England"}),","," ",(0,ze.jsx)("span",{style:{color:"var(--tf-purple-dark)"},children:"Wales"})," and"," ",(0,ze.jsx)("span",{style:{color:"var(--tf-purple-dark)"},children:"Scotland"})," \u2014"," ",(0,ze.jsx)("span",{style:{color:"var(--tf-purple-dark)"},children:"sexual violence"})," and"," ",(0,ze.jsx)("span",{style:{color:"var(--tf-purple-dark)"},children:"domestic abuse"}),"."]}),(0,ze.jsx)("p",{className:"font-body mt-5 max-w-2xl",style:{fontSize:16,lineHeight:1.6,color:"var(--tf-text-secondary)"},children:"A calm, private companion to help you understand the process, know your rights, find specialist support, and gently work through what you're feeling."}),(0,ze.jsx)("div",{className:"mt-7 flex flex-wrap gap-3",children:(0,ze.jsxs)(On,{to:"/app/help-now","data-testid":"cta-find-help",className:"tf-btn-primary",children:[(0,ze.jsx)(Zr,{size:16})," Find help now"]})})]}),(0,ze.jsxs)("div",{className:"relative overflow-hidden mt-10",style:{borderRadius:20,width:"100%",aspectRatio:"6 / 1",maxHeight:180,boxShadow:"0 14px 36px rgba(139,123,177,0.18)"},children:[(0,ze.jsx)("img",{src:"https://static.prod-images.emergentagent.com/jobs/e4a56433-de33-48f0-9e84-678bcf45ff81/images/b7f8e511ce709b5c36d9fd28200b3149823628b0bc84c5b81888df044aeae659.png",alt:"Soft abstract watercolour background",className:"w-full h-full object-cover",style:{display:"block",objectPosition:"center 40%"}}),(0,ze.jsx)("div",{className:"absolute inset-0 flex items-center justify-center px-6",style:{background:"linear-gradient(90deg, rgba(253,252,254,0.55) 0%, rgba(253,252,254,0.25) 50%, rgba(253,252,254,0.55) 100%)"},children:(0,ze.jsxs)("p",{className:"font-heading text-center",style:{fontSize:"clamp(16px, 2vw, 22px)",lineHeight:1.25,color:"var(--tf-text)",letterSpacing:"-0.01em",textShadow:"0 1px 0 rgba(255,255,255,0.4)"},children:["You are believed."," ",(0,ze.jsx)("span",{style:{color:"var(--tf-purple-dark)"},children:"You are not alone."})]})})]})]}),(0,ze.jsxs)("section",{className:"max-w-6xl mx-auto px-5 sm:px-8 pt-6",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"EVERYTHING IS HERE \u2014 NO DOWNLOAD"}),(0,ze.jsxs)("h2",{className:"font-heading mt-3",style:{fontSize:"clamp(26px, 3.2vw, 36px)",lineHeight:1.1,color:"var(--tf-text)"},children:["Calm doorways",(0,ze.jsx)("br",{}),"into what you need."]}),(0,ze.jsx)("p",{className:"font-body mt-4 max-w-2xl",style:{fontSize:14.5,lineHeight:1.6,color:"var(--tf-text-secondary)"},children:"Choose the topic that fits \u2014 sexual violence on one side, domestic abuse on the other. The judicial process, your rights and helplines live inside each. Some doorways below are shared because they help with both."})]}),(0,ze.jsxs)("section",{className:"max-w-6xl mx-auto px-5 sm:px-8 pt-14",children:[(0,ze.jsxs)("div",{className:"flex items-center gap-3",style:{paddingBottom:16,borderBottom:"1px solid var(--tf-card-border)"},children:[(0,ze.jsx)("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center",style:{background:"var(--tf-blue-soft)",color:"var(--tf-purple-dark)"},children:(0,ze.jsx)(Xr,{size:20})}),(0,ze.jsxs)("div",{children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"SECTION 01"}),(0,ze.jsx)("h3",{className:"font-heading",style:{fontSize:"clamp(22px, 2.5vw, 28px)",color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Sexual violence"})]})]}),(0,ze.jsx)("div",{className:"mt-6 grid sm:grid-cols-2 lg:grid-cols-3 gap-5",children:so.map(e=>{const t=e.icon;return(0,ze.jsxs)(On,{to:e.to,"data-testid":"landing-sv-".concat(e.to.replace(/[^a-z0-9]/gi,"-")),className:"p-6 rounded-2xl group transition-all",style:{background:"var(--tf-bg-secondary)",textDecoration:"none",border:"1px solid transparent"},children:[(0,ze.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center mb-3",style:{background:"#fff",color:"var(--tf-purple-dark)"},children:(0,ze.jsx)(t,{size:20})}),(0,ze.jsx)("h4",{className:"font-heading",style:{fontSize:18,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:e.title}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:e.body}),(0,ze.jsxs)("span",{className:"inline-flex items-center gap-1 mt-3 font-bold",style:{color:"var(--tf-purple-dark)",fontSize:13},children:["Read it ",(0,ze.jsx)(eo,{size:13})]})]},e.title)})})]}),(0,ze.jsxs)("section",{className:"max-w-6xl mx-auto px-5 sm:px-8 pt-16",children:[(0,ze.jsxs)("div",{className:"flex items-center gap-3",style:{paddingBottom:16,borderBottom:"1px solid var(--tf-card-border)"},children:[(0,ze.jsx)("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center",style:{background:"var(--tf-pink-soft)",color:"var(--tf-purple-dark)"},children:(0,ze.jsx)(ea,{size:20})}),(0,ze.jsxs)("div",{children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"SECTION 02"}),(0,ze.jsx)("h3",{className:"font-heading",style:{fontSize:"clamp(22px, 2.5vw, 28px)",color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Domestic abuse"})]})]}),(0,ze.jsx)("div",{className:"mt-6 grid sm:grid-cols-2 lg:grid-cols-3 gap-5",children:lo.map(e=>{const t=e.icon;return(0,ze.jsxs)(On,{to:e.to,"data-testid":"landing-da-".concat(e.to.replace(/[^a-z0-9]/gi,"-")),className:"p-6 rounded-2xl group transition-all",style:{background:"var(--tf-bg-secondary)",textDecoration:"none",border:"1px solid transparent"},children:[(0,ze.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center mb-3",style:{background:"#fff",color:"var(--tf-purple-dark)"},children:(0,ze.jsx)(t,{size:20})}),(0,ze.jsx)("h4",{className:"font-heading",style:{fontSize:18,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:e.title}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:e.body}),(0,ze.jsxs)("span",{className:"inline-flex items-center gap-1 mt-3 font-bold",style:{color:"var(--tf-purple-dark)",fontSize:13},children:["Read it ",(0,ze.jsx)(eo,{size:13})]})]},e.title)})})]}),(0,ze.jsxs)("section",{className:"max-w-6xl mx-auto px-5 sm:px-8 pt-16 pb-10",children:[(0,ze.jsxs)("div",{className:"flex items-center gap-3",style:{paddingBottom:16,borderBottom:"1px solid var(--tf-card-border)"},children:[(0,ze.jsx)("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center",style:{background:"var(--tf-purple-light)",color:"var(--tf-purple-dark)"},children:(0,ze.jsx)(pa,{size:20})}),(0,ze.jsxs)("div",{children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"FOR BOTH"}),(0,ze.jsx)("h3",{className:"font-heading",style:{fontSize:"clamp(22px, 2.5vw, 28px)",color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Shared tools & healing"})]})]}),(0,ze.jsx)("div",{className:"mt-6 grid sm:grid-cols-3 gap-5",children:co.map(e=>{const t=e.icon;return(0,ze.jsxs)(On,{to:e.to,"data-testid":"landing-shared-".concat(e.to.split("/").pop()),className:"p-6 rounded-2xl group transition-all",style:{background:"var(--tf-bg-secondary)",textDecoration:"none",border:"1px solid transparent"},children:[(0,ze.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center mb-3",style:{background:"#fff",color:"var(--tf-purple-dark)"},children:(0,ze.jsx)(t,{size:20})}),(0,ze.jsx)("h4",{className:"font-heading",style:{fontSize:18,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:e.title}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:e.body}),(0,ze.jsxs)("span",{className:"inline-flex items-center gap-1 mt-3 font-bold",style:{color:"var(--tf-purple-dark)",fontSize:13},children:["Read it ",(0,ze.jsx)(eo,{size:13})]})]},e.title)})}),(0,ze.jsxs)(On,{to:"/app","data-testid":"cta-explore-app",className:"inline-flex items-center gap-2 mt-12",style:{color:"var(--tf-purple-dark)",fontWeight:700,textDecoration:"none",fontSize:14},children:["See everything in one place ",(0,ze.jsx)(eo,{size:14})]})]}),(0,ze.jsx)("section",{className:"border-y",style:{background:"#fff",borderColor:"var(--tf-card-border)"},children:(0,ze.jsx)("div",{className:"max-w-6xl mx-auto px-5 sm:px-8 py-8 grid grid-cols-2 sm:grid-cols-4 gap-3 sm:gap-4",children:[{icon:rr,title:"Read in your browser",body:"Nothing to download."},{icon:to,title:"Private by design",body:"No account, no sign-up."},{icon:no,title:"UK-specific guidance",body:"Rape Crisis \xb7 CPS \xb7 NHS \xb7 gov.uk."},{icon:Zn,title:"Trauma-informed",body:"Calm pacing \xb7 Quick exit."}].map(e=>{let{icon:t,title:n,body:a}=e;return(0,ze.jsxs)("div",{className:"flex items-start gap-2.5 p-3 rounded-xl",style:{background:"var(--tf-bg-secondary)"},children:[(0,ze.jsx)("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0",style:{background:"#fff",color:"var(--tf-purple-dark)"},children:(0,ze.jsx)(t,{size:15})}),(0,ze.jsxs)("div",{className:"min-w-0",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:12.5,color:"var(--tf-text)",lineHeight:1.25},children:n}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:11,color:"var(--tf-text-secondary)",marginTop:2,lineHeight:1.4},children:a})]})]},n)})})}),(0,ze.jsx)("section",{className:"px-5 sm:px-8 py-14",style:{background:"#FFFDFA"},children:(0,ze.jsx)("div",{className:"max-w-2xl mx-auto",children:(0,ze.jsxs)(On,{to:"/app/why","data-testid":"landing-why-card",className:"block rounded-2xl p-6 sm:p-7 transition-shadow",style:{background:"#fff",border:"1.5px solid var(--tf-purple-light)",boxShadow:"0 6px 20px rgba(139,123,177,0.08)",textDecoration:"none",color:"var(--tf-text)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.26em",color:"var(--tf-purple-dark)"},children:"A NOTE FROM ANGELA"}),(0,ze.jsx)("h3",{className:"mt-2",style:{fontSize:"clamp(22px, 3vw, 28px)",color:"var(--tf-text)",letterSpacing:"-0.015em",lineHeight:1.2,fontFamily:"Fraunces, Georgia, serif",fontWeight:500},children:"Information, autonomy and informed choice."}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"Why I created The Full Impact \u2014 and why every survivor should be given clear written information they can take away, read privately, and return to at their own pace."}),(0,ze.jsxs)("p",{className:"font-body mt-4 inline-flex items-center gap-1.5",style:{fontSize:13.5,color:"var(--tf-purple-dark)",fontWeight:700},children:["Read the note ",(0,ze.jsx)(eo,{size:14})]})]})})}),(0,ze.jsx)("section",{style:{background:"var(--tf-purple)"},children:(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-20 text-center",children:[(0,ze.jsxs)("h2",{className:"font-heading",style:{fontSize:"clamp(28px, 3.5vw, 38px)",lineHeight:1.15,color:"#fff"},children:["Whatever brought you here,",(0,ze.jsx)("br",{}),"you are welcome."]}),(0,ze.jsx)("p",{className:"font-body mt-5 mx-auto",style:{fontSize:15.5,lineHeight:1.6,color:"rgba(255,255,255,0.92)",maxWidth:540},children:"Take what helps. Leave what doesn't. There is no right way to use this \u2014 go gently with yourself."}),(0,ze.jsx)("div",{className:"mt-8 flex flex-wrap gap-3 justify-center",children:(0,ze.jsxs)(On,{to:"/app/help-now",className:"inline-flex items-center gap-2 px-6 py-3.5 rounded-full font-bold",style:{background:"#fff",color:"var(--tf-purple-dark)",textDecoration:"none"},children:[(0,ze.jsx)(Zr,{size:16})," Find help now"]})})]})})]}),(0,ze.jsx)("footer",{className:"py-10 px-5",style:{background:"var(--tf-bg)",borderTop:"1px solid var(--tf-card-border)"},children:(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto text-center",children:[(0,ze.jsxs)("a",{href:"https://www.instagram.com/thefullimpactcampaign?igsh=cHEyd2Jjbm9jMjhx",target:"_blank",rel:"noopener noreferrer","data-testid":"landing-instagram",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full font-bold mb-5",style:{background:"#fff",color:"var(--tf-purple-dark)",border:"1px solid var(--tf-purple-light)",fontSize:13.5,textDecoration:"none"},children:[(0,ze.jsx)(la,{size:15}),"Follow @thefullimpactcampaign"]}),(0,ze.jsx)("div",{className:"max-w-xl mx-auto mb-8 text-left",children:(0,ze.jsx)(Gr,{})}),(0,ze.jsxs)("p",{className:"font-body",style:{fontSize:12,color:"var(--tf-text-muted)",lineHeight:1.6},children:["\xa9 ",(new Date).getFullYear()," ",(0,ze.jsx)("strong",{style:{color:"var(--tf-text-secondary)"},children:"Angela Moreton"}),". All rights reserved."," \xb7 ","The Full Impact\u2122 \u2014 a trauma-informed survivor guide for England, Wales and Scotland."]}),(0,ze.jsxs)("p",{className:"font-body mt-3 mx-auto",style:{fontSize:11,color:"var(--tf-text-muted)",lineHeight:1.65,maxWidth:680},children:["Original writing, design and selection of resources by Angela Moreton.
2Content licensed under"," ",(0,ze.jsx)("a",{href:"https://creativecommons.org/licenses/by-nc-nd/4.0/",target:"_blank",rel:"noopener noreferrer",className:"tf-link",children:"CC BY-NC-ND 4.0"})," ","\u2014 share freely with attribution, not commercially and not modified. Quoted material from Rape Crisis, CPS, NHS and gov.uk remains the copyright of its respective owners."]}),(0,ze.jsx)("nav",{"aria-label":"Footer navigation",children:(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:11,color:"var(--tf-text-muted)"},children:["Anonymous & free \xb7 Read in your browser \xb7 Quick exit on every page \xb7 "," ",(0,ze.jsx)("a",{href:"/app/why","data-testid":"landing-footer-why",className:"tf-link",children:"Why I created this"})," ","\xb7"," ",(0,ze.jsx)("a",{href:"/app/about","data-testid":"landing-footer-about",className:"tf-link",children:"About & Privacy"})," ","\xb7"," ",(0,ze.jsx)("a",{href:"/app/accessibility","data-testid":"landing-footer-a11y",className:"tf-link",children:"Accessibility statement"})," ","\xb7"," ",(0,ze.jsx)("a",{href:"/app/compliance","data-testid":"landing-footer-compliance",className:"tf-link",children:"Compliance summary"})," ","\xb7"," ",(0,ze.jsx)("a",{href:"/app/faq","data-testid":"landing-footer-faq",className:"tf-link",children:"FAQ"})]})})]})})]})}const fo=Jn("circle-help",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),ho=Jn("pen-line",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}]]);function po(e){let{label:t="Print / Save as PDF",className:n=""}=e;return(0,ze.jsxs)("button",{type:"button",onClick:()=>{try{window.print()}catch(e){}},"data-testid":"print-button","aria-label":"Print or save this page as PDF",className:"tf-no-print inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full text-[12px] font-bold ".concat(n),style:{background:"#fff",color:"var(--tf-purple)",border:"1px solid var(--tf-purple-light)"},children:[(0,ze.jsx)(Fr,{size:13,strokeWidth:2.2}),t]})}const mo=[{id:"sv",eyebrow:"PATH 01",title:"Sexual violence",blurb:"Calm, step-by-step guidance for survivors of rape and sexual violence in England & Wales \u2014 whether or not you have reported.",accent:"linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%)",accentSoft:"linear-gradient(180deg, #FFFFFF 0%, #F4EFF8 100%)",icon:Zn,primary:{to:"/app/sexual-violence",label:"Start the guide"},links:[{to:"/app/sexual-violence",label:"Sexual violence hub"},{to:"/app/process",label:"The judicial process"},{to:"/app/rights",label:"Your rights & ISVAs"},{to:"/app/trauma",label:"Trauma & healing"},{to:"/app/support?tab=sv",label:"Specialist SV helplines"}],testid:"path-sv"},{id:"da",eyebrow:"PATH 02",title:"Domestic abuse",blurb:'For anyone experiencing coercive control, financial, emotional, physical or "honour"-based abuse \u2014 including same-sex relationships and male survivors.',accent:"linear-gradient(135deg, var(--tf-pink) 0%, var(--tf-purple) 100%)",accentSoft:"linear-gradient(180deg, #FFFFFF 0%, #FBEFF2 100%)",icon:ea,primary:{to:"/app/domestic-abuse",label:"Start the guide"},links:[{to:"/app/domestic-abuse",label:"Read the DA guide"},{to:"/app/domestic-abuse#safety",label:"Safety planning"},{to:"/app/domestic-abuse#legal",label:"Coercive control law"},{to:"/app/support?tab=da",label:"Specialist DV helplines"}],testid:"path-da"}],yo=[{to:"/app/support",title:"All support orgs",description:"Tap-to-call helplines across England & Wales.",icon:aa,testid:"more-support"},{to:"/app/journal",title:"Private journal",description:"Stays in your browser. Never uploaded.",icon:ra,testid:"more-journal"},{to:"/app/guided-journal",title:"Guided journal",description:"A calm 8-step trauma-informed reflection.",icon:Ha,testid:"more-guided-journal"},{to:"/app/trauma",title:"Trauma & healing",description:"Why your body reacted \u2014 and what helps.",icon:Xr,testid:"more-trauma"},{to:"/app/faq",title:"FAQ",description:"Common questions, answered simply.",icon:fo,testid:"more-faq"}];function go(e){let{path:t}=e;const n=t.icon;return(0,ze.jsxs)("article",{"data-testid":t.testid,className:"tf-card p-6 sm:p-7 flex flex-col",style:{background:t.accentSoft,borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsxs)("div",{className:"flex items-start gap-4",children:[(0,ze.jsx)("div",{className:"w-14 h-14 roun
2ded-2xl flex items-center justify-center flex-shrink-0",style:{background:t.accent,color:"#fff",boxShadow:"0 10px 24px rgba(139,123,177,0.28)"},children:(0,ze.jsx)(n,{size:22})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple)"},children:t.eyebrow}),(0,ze.jsx)("h2",{className:"font-heading mt-1",style:{fontSize:"clamp(22px, 2.6vw, 26px)",color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.2},children:t.title})]})]}),(0,ze.jsx)("p",{className:"font-body mt-4",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.65},children:t.blurb}),(0,ze.jsx)("ul",{className:"mt-5 flex flex-col",style:{borderTop:"1px solid var(--tf-card-border)"},children:t.links.map(e=>(0,ze.jsx)("li",{children:(0,ze.jsxs)(On,{to:e.to,"data-testid":"".concat(t.testid,"-link-").concat(e.label.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")),className:"flex items-center justify-between gap-3 py-3",style:{color:"var(--tf-text)",textDecoration:"none",borderBottom:"1px solid var(--tf-card-border)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:e.label}),(0,ze.jsx)(eo,{size:15,color:"var(--tf-purple)"})]})},e.to))}),(0,ze.jsxs)(On,{to:t.primary.to,"data-testid":"".concat(t.testid,"-primary"),className:"mt-6 inline-flex items-center justify-center gap-2 py-3 rounded-full font-bold",style:{background:t.accent,color:"#fff",textDecoration:"none",fontSize:14,boxShadow:"0 8px 22px rgba(139,123,177,0.28)"},children:[t.primary.label,(0,ze.jsx)(eo,{size:15})]})]})}function vo(){return(0,ze.jsxs)("div",{className:"max-w-5xl mx-auto px-5 sm:px-8 py-10","data-testid":"home-screen",children:[(0,ze.jsx)(io,{title:"Home",description:"Sexual violence and domestic abuse \u2014 your calm guide for England, Wales and Scotland. Choose your path: SV (judicial process, your rights, trauma) or DA (coercive control, safety planning, legal protections).",path:"/app"}),(0,ze.jsxs)("section",{className:"tf-card p-6 sm:p-8 text-center tf-fade-up",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #F8F4FB 100%)"},children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SURVIVOR-BUILT \xb7 ENGLAND, WALES & SCOTLAND"}),(0,ze.jsx)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(24px, 3.6vw, 32px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"You are believed. You are not alone."}),(0,ze.jsx)("p",{className:"font-body mt-4 mx-auto",style:{fontSize:14,lineHeight:1.6,color:"var(--tf-text-secondary)",maxWidth:520},children:"Choose the path that fits your situation. Everything is anonymous, free, and stays in your browser."})]}),(0,ze.jsxs)("section",{className:"mt-6 rounded-2xl p-4 flex items-center gap-3",style:{background:"var(--tf-purple)"},"data-testid":"crisis-banner",children:[(0,ze.jsx)("div",{className:"w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0",style:{background:"rgba(255,255,255,0.2)"},children:(0,ze.jsx)(Zr,{size:16,color:"#fff"})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("p",{className:"font-body font-bold text-[13.5px]",style:{color:"#fff"},children:"In immediate danger?"}),(0,ze.jsxs)("p",{className:"font-body text-[12px]",style:{color:"rgba(255,255,255,0.92)"},children:["Call ",(0,ze.jsx)("a",{href:"tel:999",className:"underline",style:{color:"#fff"},children:"999"})," \u2014 or"," ",(0,ze.jsx)("a",{href:"tel:101",className:"underline",style:{color:"#fff"},children:"101"})," for non-emergency police."]})]}),(0,ze.jsxs)(On,{to:"/app/support","data-testid":"goto-support-from-banner",className:"inline-flex items-center gap-1 px-3 py-2 rounded-full font-bold",style:{background:"#fff",color:"var(--tf-purple)",fontSize:12,textDecoration:"none"},children:["Help ",(0,ze.jsx)(eo,{size:13})]})]}),(0,ze.jsxs)("div",{className:"mt-10 mb-5 flex items-end justify-between gap-3 flex-wrap",children:[(0,ze.jsxs)("div",{children:[(0,ze.jsx)("p",{className:"eyebrow",children:"CHOOSE YOUR PATH"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Which one fits you today?"})]}),(0,ze.jsx)(po,{label:"Print this overview"})]}),(0,ze.jsx)("div",{className:"grid md:grid-cols-2 gap-5",children:mo.map(e=>(0,ze.jsx)(go,{path:e},e.id))}),(0,ze.jsx)(On,{to:"/app/why","data-testid":"home-why-card",className:"mt-10 block tf-card tf-card-hover p-5 sm:p-6",style:{textDecoration:"none",color:"var(--tf-text)",background:"#FFFDFA",borderColor:"var(--tf-purple-light)"},children:(0,ze.jsxs)("div",{className:"flex items-start gap-4",children:[(0,ze.jsx)("div",{className:"w-11 h-11 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:"linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%)",color:"#fff"},children:(0,ze.jsx)(ho,{size:18})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.24em",color:"var(--tf-purple)"},children:"A NOTE FROM ANGELA"}),(0,ze.jsx)("h3",{className:"font-heading mt-1",style:{fontSize:"clamp(18px, 2.2vw, 22px)",color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25,fontFamily:"Fraunces, Georgia, serif",fontWeight:500},children:"Information, autonomy and informed choice."}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"Why I created The Full Impact \u2014 and why every survivor should be given clear written information they can take away, read privately, and return to at their own pace."}),(0,ze.jsxs)("p",{className:"font-body mt-3 inline-flex items-center gap-1",style:{fontSize:13,color:"var(--tf-purple)",fontWeight:700},children:["Read the note ",(0,ze.jsx)(eo,{size:14})]})]})]})}),(0,ze.jsxs)("div",{className:"mt-12 mb-4",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"MORE RESOURCES"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:20,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"For both paths"})]}),(0,ze.jsx)("div",{className:"grid sm:grid-cols-2 md:grid-cols-3 gap-3",children:yo.map(e=>{const t=e.icon;return(0,ze.jsxs)(On,{to:e.to,"data-testid":e.testid,className:"tf-card tf-card-hover p-4 flex items-start gap-3",style:{textDecoration:"none",color:"var(--tf-text)"},children:[(0,ze.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-purple)"},children:(0,ze.jsx)(t,{size:18})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("h3",{className:"font-heading",style:{fontSize:15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:e.title}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.5},children:e.description})]})]},e.to)})}),(0,ze.jsxs)("div",{className:"mt-10 p-4 rounded-2xl flex items-center gap-3",style:{background:"var(--tf-bg-secondary)",border:"1px solid var(--tf-card-border)"},"data-testid":"anonymous-notice",children:[(0,ze.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0",style:{background:"#fff",color:"var(--tf-purple)"},children:(0,ze.jsx)(ta,{size:18})}),(0,ze.jsxs)("div",{children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)"},children:"Reading anonymously"}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:11.5,color:"var(--tf-text-secondary)",marginTop:2,lineHeight:1.5},children:"No account, no sign-up, no tracking. Anything you write in the journal stays in this browser."})]})]})]})}const bo=Jn("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),xo=Jn("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]),wo=Jn("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]),So=Jn("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]),ko="https://thefullimpact.org",jo="tfi_nation_v1",No=(0,a.createContext)({nation:"ew",setNation:()=>{}});function Co(e){let{children:t}=e;const[n,r]=(0,a.useState)("ew");(0,a.useEffect)(()=>{try{const e=window.localStorage.getItem(jo);"scotland"!==e&&"ew"!==e||r(e)}catch(e){}},[]);return(0,ze.jsx)(No.Provider,{value:{nation:n,setNation:e=>{if("ew"===e||"scotland"===e){r(e);try{window.localStorage.setItem(jo,e)}catch(t){}if(ko)try{fetch("".concat(ko,"/api/track/nation_").concat(e),{method:"POST",headers:{"Content-Type":"application/json"},body:"{}",keepalive:!0}
2).catch(()=>{})}catch(n){}window.scrollTo({top:0,left:0,behavior:"smooth"})}}},children:t})}function Eo(){return(0,a.useContext)(No)}function Ao(e){let{children:t}=e;const{nation:n}=Eo();return"ew"!==n?null:(0,ze.jsx)(ze.Fragment,{children:t})}function zo(e){let{children:t}=e;const{nation:n}=Eo();return"scotland"!==n?null:(0,ze.jsx)(ze.Fragment,{children:t})}const To=[{id:"999",label:"999",sub:"Emergency",tel:"999",tone:"urgent"},{id:"samaritans",label:"Samaritans",sub:"116 123 \xb7 24/7",tel:"116123",tone:"calm"}],Ro={sv:{ew:{id:"rape-crisis",label:"Rape Crisis",sub:"0808 802 9999 \xb7 24/7",tel:"08088029999",tone:"purple"},scotland:{id:"rape-crisis-scotland",label:"Rape Crisis Scotland",sub:"08088 01 03 02 \xb7 5pm\u2013midnight",tel:"08088010302",tone:"purple"}},da:{ew:{id:"refuge",label:"Refuge DV line",sub:"0808 2000 247 \xb7 24/7",tel:"08082000247",tone:"purple"},scotland:{id:"sdafmh",label:"Scotland DA line",sub:"0800 027 1234 \xb7 24/7",tel:"08000271234",tone:"purple"}}},Fo={urgent:{background:"var(--tf-purple)",color:"#fff",border:"1px solid var(--tf-purple)"},calm:{background:"#fff",color:"var(--tf-text)",border:"1px solid var(--tf-card-border)"},purple:{background:"var(--tf-bg-secondary)",color:"var(--tf-text)",border:"1px solid var(--tf-purple-light)"}};function Po(e){var t;let{variant:n="sv"}=e;const{nation:a}=Eo(),r=(null===(t=Ro[n])||void 0===t?void 0:t[a])||Ro[n].ew,o=[To[0],r,To[1]];return(0,ze.jsxs)("section",{"data-testid":"helplines-strip-".concat(n),className:"tf-no-print rounded-2xl p-3 sm:p-4 mt-6",style:{background:"#fff",border:"1px solid var(--tf-purple-light)"},children:[(0,ze.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-3 flex-wrap",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple)"},children:"QUICK HELP \xb7 TAP TO CALL"}),(0,ze.jsxs)("a",{href:"/app/support?tab=".concat(n),className:"inline-flex items-center gap-1 font-bold","data-testid":"helplines-strip-".concat(n,"-all"),style:{fontSize:11.5,color:"var(--tf-purple)",textDecoration:"none"},children:["All helplines",(0,ze.jsx)(So,{size:12})]})]}),(0,ze.jsx)("div",{className:"grid grid-cols-3 gap-2",children:o.map(e=>{const t=Fo[e.tone];return(0,ze.jsxs)("a",{href:"tel:".concat(e.tel),"data-testid":"helplines-strip-".concat(n,"-").concat(e.id),className:"flex items-center gap-2 sm:gap-3 px-3 py-2.5 rounded-xl font-bold transition-transform active:scale-[0.98]",style:c(c({},t),{},{textDecoration:"none"}),children:[(0,ze.jsx)(Zr,{size:15,strokeWidth:2.2,style:{flexShrink:0,opacity:"urgent"===e.tone?1:.85}}),(0,ze.jsxs)("span",{className:"flex flex-col leading-tight min-w-0",children:[(0,ze.jsx)("span",{className:"font-body",style:{fontSize:12.5,fontWeight:700},children:e.label}),(0,ze.jsx)("span",{className:"font-body truncate",style:{fontSize:10.5,opacity:"urgent"===e.tone?.92:.7,fontWeight:600},children:e.sub})]})]},e.id)})})]})}const Io=[{id:"ew",label:"England & Wales",short:"E&W"},{id:"scotland",label:"Scotland",short:"Scotland"}],Mo="tfi_picker_pulse_seen_v1";function Lo(e){let{testid:t="nation-picker",compact:n=!1}=e;const{nation:r,setNation:o}=Eo(),[i,s]=(0,a.useState)(!1),l=(0,a.useRef)(null);(0,a.useEffect)(()=>{try{if(window.localStorage.getItem(Mo))return}catch(t){return}const e=window.setTimeout(()=>s(!0),450);return l.current=window.setTimeout(()=>{s(!1);try{window.localStorage.setItem(Mo,"1")}catch(e){}},5300),()=>{window.clearTimeout(e),l.current&&window.clearTimeout(l.current)}},[]);const c=()=>{if(i){s(!1);try{window.localStorage.setItem(Mo,"1")}catch(e){}}};return(0,ze.jsxs)("section",{className:"tf-no-print mt-6","data-testid":t,"aria-label":"Choose which nation's law and support to read",children:[!n&&(0,ze.jsxs)("div",{className:"flex items-center gap-1.5 mb-2",children:[(0,ze.jsx)(wo,{size:13,color:"var(--tf-purple-dark)","aria-hidden":"true"}),(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:11,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"READING FOR"})]}),(0,ze.jsx)("div",{role:"tablist","aria-label":"Nation",className:"flex w-full p-1.5 rounded-2xl".concat(i?" tf-nation-picker-pulse":""),onMouseEnter:c,onFocus:c,style:{background:"#fff",border:"2px s
2olid var(--tf-purple-light)",boxShadow:"0 4px 14px rgba(35, 20, 70, 0.06)",maxWidth:520},children:Io.map(e=>{const n=r===e.id;return(0,ze.jsx)("button",{type:"button",role:"tab","aria-selected":n,tabIndex:n?0:-1,onClick:()=>{return t=e.id,c(),void o(t);var t},"data-testid":"".concat(t,"-").concat(e.id),className:"font-body font-bold transition-colors flex-1",style:{padding:"14px 18px",borderRadius:12,fontSize:15,cursor:"pointer",background:n?"var(--tf-purple)":"transparent",color:n?"#fff":"var(--tf-purple-dark)",border:"none",minHeight:52,boxShadow:n?"0 6px 16px rgba(139, 123, 177, 0.28)":"none",letterSpacing:"-0.005em"},children:e.label},e.id)})}),!n&&(0,ze.jsx)("p",{className:"font-body mt-2.5",style:{fontSize:12,color:"var(--tf-text-muted)",lineHeight:1.5,maxWidth:"38em"},children:"The law is different across the UK. Tap the nation that fits your situation \u2014 we'll show the right content and remember your choice on other pages. Northern Ireland: follow England & Wales guidance for now."})]})}function Oo(e){let{stage:t,idx:n,isLast:a,openIds:r,toggle:o}=e;const i=r.has(t.id);return(0,ze.jsxs)("div",{className:"relative pl-12","data-testid":"stage-".concat(t.id),children:[!a&&(0,ze.jsx)("span",{"aria-hidden":!0,className:"absolute",style:{left:18,top:36,bottom:-10,width:2,background:"linear-gradient(180deg, var(--tf-purple-light) 0%, transparent 100%)"}}),(0,ze.jsx)("div",{className:"absolute flex items-center justify-center",style:{left:0,top:0,width:38,height:38,borderRadius:19,background:"#fff",border:"2px solid var(--tf-purple)",color:"var(--tf-purple)",fontFamily:"Fraunces, serif",fontWeight:600,fontSize:15},children:n+1}),(0,ze.jsxs)("button",{type:"button",onClick:()=>o(t.id),"data-testid":"stage-toggle-".concat(t.id),className:"w-full text-left tf-card p-5 transition-shadow",style:{marginBottom:16,cursor:"pointer"},children:[(0,ze.jsxs)("div",{className:"flex items-start gap-3",children:[(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("h3",{className:"font-heading",style:{fontSize:19,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:t.title}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-purple)",fontWeight:700,letterSpacing:"0.02em"},children:t.subtitle})]}),i?(0,ze.jsx)(bo,{size:20,color:"var(--tf-text-muted)"}):(0,ze.jsx)(Ir,{size:20,color:"var(--tf-text-muted)"})]}),(0,ze.jsxs)("div",{className:"mt-4 pt-4 print-show","data-print-expand":"true",style:{borderTop:"1px solid var(--tf-card-border)",display:i?"block":"none"},children:[(0,ze.jsx)("div",{className:"tf-prose",children:t.body.split("\n\n").map((e,t)=>(0,ze.jsx)("p",{style:{fontSize:14,lineHeight:1.7},children:e},t))}),t.tips&&t.tips.length>0&&(0,ze.jsxs)("div",{className:"mt-4 p-4 rounded-xl",style:{background:"var(--tf-pink-soft)"},children:[(0,ze.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,ze.jsx)(xo,{size:15,color:"var(--tf-purple-dark)"}),(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:11.5,color:"var(--tf-purple-dark)",letterSpacing:"0.1em"},children:"GOOD TO KNOW"})]}),(0,ze.jsx)("ul",{className:"flex flex-col gap-2",children:t.tips.map((e,t)=>(0,ze.jsxs)("li",{className:"flex gap-2",children:[(0,ze.jsx)("span",{style:{width:5,height:5,borderRadius:2.5,background:"var(--tf-purple)",marginTop:9,flexShrink:0}}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:13,lineHeight:1.55,color:"var(--tf-text)"},children:e})]},t))})]})]})]})]})}function Do(){const{nation:e}=Eo(),t="scotland"===e?ga:ya,[n,r]=(0,a.useState)(new Set([t[0].id])),o=e=>{r(t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})};return(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"process-screen",children:[(0,ze.jsx)(io,{title:"The Judicial Process \u2014 Sexual Violence (UK)",description:"Step-by-step UK guide for survivors of rape and sexual violence \u2014 reporting, police investigation, CPS, court, verdict, sentencing and appeals.",path:"/app/process"}),(0,ze.jsx)("p",{className:"eyebrow",children:"THE JUDICIAL PROCESS \u2014 GENTLY EXPLAINED"}),(0,ze.jsx)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(28px, 4vw, 36px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Every stage, explained gently."}),(0,ze.jsx)("p",{className:"font-body mt-4 max-w-xl",style:{fontSize:14.5,color:"var(--tf-text-secondary)",lineHeight:1.65},children:"A trauma-informed walkthrough of how a rape or sexual offence case moves through the criminal justice system. Choose your nation below so we can show you the right pathway. Tap any stage to read more \u2014 go at your own pace."}),(0,ze.jsx)(Lo,{testid:"process-nation-picker"}),(0,ze.jsx)(Po,{variant:"sv"}),(0,ze.jsx)("section",{className:"mt-6 tf-card p-5 sm:p-6","data-testid":"sv-reassurance",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #F4EFF8 100%)",borderColor:"var(--tf-purple-light)"},children:(0,ze.jsxs)("div",{className:"flex items-start gap-4",children:[(0,ze.jsx)("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:"linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%)",color:"#fff",boxShadow:"0 8px 22px rgba(139,123,177,0.28)"},children:(0,ze.jsx)(ta,{size:20})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple)"},children:"BEFORE YOU READ ON"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:"clamp(20px, 2.4vw, 23px)",color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:"You are believed. It was not your fault."}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:"However you froze, fawned, complied or went quiet \u2014 that was your nervous system keeping you alive, not consent. What happened is not because of what you wore, what you said, what you didn't say, or who you trusted."}),(0,ze.jsxs)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["You do not have to report to deserve help. You can read a little, leave, and come back. ",(0,ze.jsx)("strong",{style:{color:"var(--tf-purple-dark)"},children:"You set the pace."})]}),(0,ze.jsx)("p",{className:"font-body mt-4 inline-flex items-center gap-2",style:{fontSize:11.5,fontWeight:700,letterSpacing:"0.16em",color:"var(--tf-purple-dark)"},children:"YOU ARE BELIEVED \xb7 YOU ARE NOT ALONE"})]})]})}),(0,ze.jsx)(zo,{children:(0,ze.jsx)("section",{className:"mt-8 tf-card p-5 sm:p-6","data-testid":"process-scotland-scope",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #F4EFF8 100%)",borderColor:"var(--tf-purple-light)"},children:(0,ze.jsxs)("div",{className:"flex items-start gap-4",children:[(0,ze.jsx)("div",{className:"w-11 h-11 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:"linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%)",color:"#fff"},"aria-hidden":"true",children:(0,ze.jsx)(wo,{size:20})}),(0,ze.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"A COMPLETELY SEPARATE LEGAL SYSTEM"}),(0,ze.jsx)("h2",{className:"font-heading mt-1",style:{fontSize:"clamp(20px, 2.4vw, 23px)",color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:"You are reading the Scottish judicial process."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["Scotland is not part of the England & Wales legal system \u2014 it has its own police (",(0,ze.jsx)("strong",{children:"Police Scotland"}),"), its own prosecutor (",(0,ze.jsx)("strong",{children:"COPFS"}),", not the CPS), its own courts (",(0,ze.jsx)("strong",{children:"Sheriff Court / High Court of Justiciary"}),"), its own specialist advocacy service (",(0,ze.jsx)("strong",{children:"Rape Crisis Scotland's National Advocacy Project"}),") \u2014 and since 1 January 2026 only two verdicts (",(0,ze.jsx)("em",{children:"Guilty"})," or ",(0,ze.jsx)("em",{children:"Not Guilty"}),"). Every stage below is the Scottish process."]})]})]})})}),(0,ze.jsxs)("div",{className:"flex gap-2 mt-6 mb-8 flex-wrap",children:[(0,ze.jsx)("button",{type:"button",onClick:()=>r(new Set(t.map(e=>e.id))),"data-testid":"expand-all",className:"tf-no-print px-3 py-1.5 rounded-full text-[12px] font-bold",style:{background:"#fff",color:"var(--tf-purple)",border:"1px solid var(--tf-purple-light)"},children:"Expand all"}),(0,ze.jsx)("button",{type:"button",onClick:()=>
2r(new Set),"data-testid":"collapse-all",className:"tf-no-print px-3 py-1.5 rounded-full text-[12px] font-bold",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-text-secondary)"},children:"Collapse all"}),(0,ze.jsx)(po,{label:"Print / Save this page"})]}),(0,ze.jsx)("div",{"data-testid":"scotland"===e?"process-stages-scotland":"process-stages-ew",children:t.map((e,a)=>(0,ze.jsx)(Oo,{stage:e,idx:a,isLast:a===t.length-1,openIds:n,toggle:o},e.id))}),(0,ze.jsx)(Ao,{children:(0,ze.jsxs)("section",{className:"mt-12 tf-card p-5 sm:p-6","data-testid":"process-consent-during-report",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #F8F4FB 100%)",borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"eyebrow",children:"CONSENT DURING YOUR REPORT"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"You keep the right to say yes \u2014 or no \u2014 at every step."}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:"Reporting does not mean handing over control. At each stage below you can say yes, no, or \u201cyes to some of it\u201d. Ask for time. Ask for an ISVA. Ask \u201cwhy do you need this?\u201d."}),(0,ze.jsxs)("ul",{className:"mt-4 flex flex-col gap-2.5",style:{listStyle:"none",padding:0},children:[(0,ze.jsxs)("li",{className:"tf-card p-3.5",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)"},children:"A forensic medical exam"}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"You can say yes, no, or \u201cyes to some parts, no to others\u201d. SARC nurses are trained to stop the moment you say so."})]}),(0,ze.jsxs)("li",{className:"tf-card p-3.5",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)"},children:"An ISVA"}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"You choose whether to accept independent sexual-violence advocacy. It is free and confidential."})]}),(0,ze.jsxs)("li",{className:"tf-card p-3.5",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)"},children:"Third-party materials"}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"School records, medical notes, therapy notes and phone data may be requested. You can refuse and ask why any specific item is needed."})]}),(0,ze.jsxs)("li",{className:"tf-card p-3.5",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)"},children:"A Victim Personal Statement"}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"You choose whether to write one and whether it is read out in court."})]}),(0,ze.jsxs)("li",{className:"tf-card p-3.5",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)"},children:"Special measures in court"}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"Screens, live video-link, a supporter, or pre-recorded evidence. You can ask for any of these \u2014 your ISVA will help."})]}),(0,ze.jsxs)("li",{className:"tf-card p-3.5",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)"},children:"Withdrawing from the process"}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"You can pause or withdraw a report. In some situations the police may proceed without you \u2014 your wishes should still be recorded and taken into account."})]})]}),(0,ze.jsx)(On,{to:"/app/consent","data-testid":"process-to-consent",className:"inline-flex items-center gap-1.5 mt-5",style:{color:"var(--tf-purple-dark)",fontWeight:700,fontSize:13,textDecoration:"none"},children:"Read the full consent guide \u2192"})]})}),(0,ze.jsxs)(zo,{children:[(0,ze.jsxs)("section",{className:"mt-12 tf-card p-5 sm:p-6","data-testid":"process-consent-during-report-scotland",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #F8F4FB 100%)",borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"eyebrow",children:"CONSENT DURING YOUR REPORT"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"You keep the right to say yes \u2014 or no \u2014 at every step."}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:"Reporting to Police Scotland or asking for a forensic medical exam is not one long yes \u2014 each stage is a separate choice, and you can say no or take a break at any moment."}),(0,ze.jsxs)("ul",{className:"mt-4 flex flex-col gap-3",style:{listStyle:"none",padding:0},children:[(0,ze.jsxs)("li",{className:"tf-card p-4",style:{borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-text)"},children:"The forensic medical exam"}),(0,ze.jsx)("p",{className:"font-body mt-1.5",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.65},children:"You choose which parts of the exam happen. You can pause, ask for a different clinician, or stop entirely. Samples can be stored for you to decide about reporting later. Archway (Glasgow) and comparable NHS services across every Scottish health board."})]}),(0,ze.jsxs)("li",{className:"tf-card p-4",style:{borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-text)"},children:"The police interview"}),(0,ze.jsx)("p",{className:"font-body mt-1.5",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.65},children:"You can ask for breaks, ask for questions to be repeated, ask for a specific officer, or ask for your Rape Crisis Scotland advocacy worker to be present. You can stop at any time."})]}),(0,ze.jsxs)("li",{className:"tf-card p-4",style:{borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-text)"},children:"Withdrawing or pausing"}),(0,ze.jsx)("p",{className:"font-body mt-1.5",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.65},children:"You can pause or withdraw a report to Police Scotland. In some situations COPFS may still proceed in the public interest \u2014 your wishes should still be recorded and taken into account."})]})]}),(0,ze.jsx)(On,{to:"/app/consent","data-testid":"process-to-consent-scotland",className:"inline-flex items-center gap-1.5 mt-5",style:{color:"var(--tf-purple-dark)",fontWeight:700,fontSize:13,textDecoration:"none"},children:"Read the full consent guide (Scots law) \u2192"})]}),(0,ze.jsxs)("section",{className:"mt-10","data-testid":"process-scotland-next",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"WHERE TO NEXT \u2014 IN SCOTLAND"}),(0,ze.jsxs)("div",{className:"mt-4 grid sm:grid-cols-2 gap-3",children:[(0,ze.jsxs)(On,{to:"/app/rights","data-testid":"process-scot-cta-rights",className:"tf-card tf-card-hover p-4 flex items-center justify-between gap-3",style:{textDecoration:"none",color:"var(--tf-text)",borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:"Your rights in Scotland"}),(0,ze.jsx)("span",{style:{fontSize:15,color:"var(--tf-purple-dark)"},children:"\u2192"})]}),(0,ze.jsxs)(On,{to:"/app/support?tab=sv","data-testid":"process-scot-cta-support",className:"tf-card tf-card-hover p-4 flex items-center justify-between gap-3",style:{textDecoration:"none",color:"var(--tf-text)",borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:"Scotland-specialist helplines"}),(0,ze.jsx)("span",{style:{fontSize:15,color:"var(--tf-purple-dark)"},children:"\u2192"})]}),(0,ze.jsxs)(On,{to:"/app/consent","data-testid":"process-scot-cta-consent",className:"tf-card tf-card-hover p-4 flex items-center justify-between gap-3",style:{textDecoration:"none",color:"var(--tf-text)",borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:"Consent in Scots law"}),(0,ze.jsx)("span",{style:{fontSize:15,color:"var(--tf-purple-dark)"},children:"\u2192"})]}),(0,ze.jsxs)(On,{to:"/app/crossed-the-line","data-testid":"process-scot-cta-crossed",className:"tf-card tf-card-hover p-4 flex items-center justify-between gap-3",style:{textDecoration:"none",color:"var(--tf-text)",borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:"Was it abuse or assault?"}),(0,ze.jsx)("span",{style:{fontSize:15,color:"var(--tf-purple-dark)"},children:"\u2192"})]})]})]})]}),(0,ze.jsx)("div",{className:"mt-10 p-5 rounded-2xl",style:{background:"var(--tf-bg-secondary)",border:"1px solid var(--tf-card-border)"},children:(0,ze.jsx)("p",{className:"font-body",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"scotland"===e?"Information adapted from Rape Crisis Scotland, COPFS, Police Scotland, mygov.scot, the Victims and Witnesses (Scotland) Act 2014 and the Victims, Witnesses, and Justice Reform (Scotland) Act 2025. This is not legal advice \u2014 please speak to a Scottish solicitor or your Rape Crisis Scotland advocacy worker for advice on your own case.":"Information adapted from Rape Crisis England & Wales, the Crown Prosecution Service, the Victims\u2019 Code of Practice, and gov.uk. This is not legal advice."})})]})}function Ho(){const{nation:e}=Eo(),t="scotland"===e?ba:va,[n,r]=(0,a.useState)(new Set);return(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"rights-screen",children:[(0,ze.jsx)(io,{title:"Your Rights \u2014 Sexual Violence Survivors UK",description:"Lifetime anonymity, ISVA support, special measures in court, Victim Personal Statements and more \u2014 10 UK legal rights for survivors of sexual offences.",path:"/app/rights"}),(0,ze.jsx)("p",{className:"eyebrow",children:"YOUR RIGHTS AS A SURVIVOR"}),(0,ze.jsx)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(28px, 4vw, 36px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"What the law guarantees you."}),(0,ze.jsx)("p",{className:"font-body mt-4 max-w-xl",style:{fontSize:14.5,color:"var(--tf-text-secondary)",lineHeight:1.65},children:"You have specific rights as a survivor of a sexual offence. Choose your nation below so we can show you the right protections, agencies and advocacy. Tap any right to read more."}),(0,ze.jsx)(Lo,{testid:"rights-nation-picker"}),(0,ze.jsx)(Po,{variant:"sv"}),(0,ze.jsx)("div",{className:"mt-6 flex gap-2 flex-wrap",children:(0,ze.jsx)(po,{label:"Print / Save this page"})}),(0,ze.jsx)(zo,{children:(0,ze.jsx)("section",{className:"mt-8 tf-card p-5 sm:p-6","data-testid":"rights-scotland-scope",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #F4EFF8 100%)",borderColor:"var(--tf-purple-light)"},children:(0,ze.jsxs)("div",{className:"flex items-start gap-4",children:[(0,ze.jsx)("div",{className:"w-11 h-11 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:"linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%)",color:"#fff"},"aria-hidden":"true",children:(0,ze.jsx)(wo,{size:20})}),(0,ze.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"A COMPLETELY SEPARATE LEGAL SYSTEM"}),(0,ze.jsx)("h2",{className:"font-heading mt-1",style:{fontSize:"clamp(20px, 2.4vw, 23px)",color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:"You are reading your rights in Scotland."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["Your rights in Scotland come from the ",(0,ze.jsx)("strong",{children:"Victims and Witnesses (Scotland) Act 2014"}),", the ",(0,ze.jsx)("strong",{children:"Vulnerable Witnesses (Scotland) Acts"}),", and the reforms in the ",(0,ze.jsx)("strong",{children:"Victims, Witnesses, and Justice Reform (Scotland) Act 2025"})," \u2014 delivered by Police Scotland, COPFS and the Scottish Courts & Tribunals Service. Every right below applies in Scotland."]})]})]})})}),(0,ze.jsx)("div",{className:"mt-8 flex flex-col gap-3","data-testid":"scotland"===e?"rights-list-scotland":"rights-list-ew",children:t.map(e=>{const t=n.has(e.id);return(0,ze.jsxs)("button",{type:"button",onClick:()=>{return t=e.id,r(e=>{const n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n});var t},"data-testid":"right-".concat(e.id),className:"tf-card text-left p-5 transition-shadow",style:{cursor:"pointer"},children:[(0,ze.jsxs)("div",{className:"flex items-center gap-4",children:[(0,ze.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0",style:{background:"var(--tf-purple-light)",color:"var(--tf-purple-dark)"},children:(0,ze.jsx)(ta,{size:18})}),(0,ze.jsx)("h3",{className:"font-heading flex-1",style:{fontSize:17,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:e.title}),t?(0,ze.jsx)(bo,{size:18,color:"var(--tf-text-muted)"}):(0,ze.jsx)(Ir,{size:18,color:"var(--tf-text-muted)"})]}),(0,ze.jsx)("div",{className:"mt-4 pt-4 tf-prose print-show","data-
2print-expand":"true",style:{borderTop:"1px solid var(--tf-card-border)",display:t?"block":"none"},children:(0,ze.jsx)("p",{style:{fontSize:14,lineHeight:1.7},children:e.body})})]},e.id)})}),(0,ze.jsxs)("div",{className:"mt-10 p-5 rounded-2xl",style:{background:"var(--tf-pink-soft)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)",marginBottom:4},children:"You can use these rights without reporting to the police."}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"scotland"===e?"Rape Crisis Scotland advocacy, Scottish Women's Aid, ASSIST and Archway SARC are always free and confidential \u2014 whether or not you speak to Police Scotland.":"Specialist support and the right to be heard exist independently of any criminal case."})]})]})}const _o=Jn("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]),Wo=Jn("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),Uo=[{id:"rape-crisis-scotland",name:"Rape Crisis Scotland",tagline:"Support after any experience of sexual violence, in Scotland.",description:"Free, confidential support. National Helpline runs every day 5pm\u2013midnight. Advocacy workers can help you through Police Scotland, COPFS and court.",phone:"08088010302",phoneLabel:"Call 08088 01 03 02",website:"https://www.rapecrisisscotland.org.uk",hours:"Daily 5pm\u2013midnight",category:"specialist",topic:"sv"},{id:"sdafmh",name:"Scotland's Domestic Abuse & Forced Marriage Helpline",tagline:"24/7 support for anyone affected by domestic abuse in Scotland.",description:"Free confidential helpline for women, men and non-binary survivors, families and friends. Run by Scottish Women\u2019s Aid.",phone:"08000271234",phoneLabel:"Call 0800 027 1234",website:"https://sdafmh.org.uk",hours:"24/7",category:"helpline",topic:"da"},{id:"scottish-womens-aid",name:"Scottish Women's Aid",tagline:"National network of local Women\u2019s Aid services across Scotland.",description:"Refuge, advocacy and support for women and children experiencing domestic abuse. Local services in every part of Scotland.",website:"https://womensaid.scot",hours:"Office hours + local services",category:"specialist",topic:"da"},{id:"amis",name:"Abused Men in Scotland (AMIS)",tagline:"Domestic abuse helpline for men in Scotland.",description:"Free, confidential helpline and one-to-one support for male survivors of domestic abuse in Scotland.",phone:"08088000024",phoneLabel:"Call 0808 800 0024",website:"https://www.amis.org.uk",hours:"Mon\u2013Fri office hours",category:"helpline",topic:"da"},{id:"lgbt-helpline-scotland",name:"LGBT Helpline Scotland",tagline:"Support for LGBT+ survivors in Scotland.",description:"Confidential emotional and practical support for LGBT+ people in Scotland, including anyone affected by domestic abuse or sexual violence.",phone:"03001232523",phoneLabel:"Call 0300 123 2523",website:"https://www.lgbthealth.org.uk/services-support/helpline/",hours:"See website",category:"specialist",topic:"sv"},{id:"archway-sarc",name:"Archway SARC (Glasgow)",tagline:"Scotland's specialist sexual-assault referral service, based in Glasgow.",description:"Forensic medical services, aftercare and referral to specialist support. Open 24/7 for anyone in the West of Scotland \u2014 call 111 out-of-hours to be referred.",phone:"01412118175",phoneLabel:"Call 0141 211 8175",website:"https://www.archway.sartsupport.scot.nhs.uk",hours:"24/7 (via 111 out-of-hours)",category:"medical",topic:"sv"}],Vo=[{id:"all",label:"All"},{id:"emergency",label:"Emergency"},{id:"helpline",label:"Helpline"},{id:"specialist",label:"Specialist"},{id:"medical",label:"Medical"}],Yo=[{id:"emergency",name:"Emergency Services",tagline:"If you are in immediate danger",description:"Call 999 if you are in immediate danger or have just been assaulted. If you cannot speak, press 55 when prompted on a mobile to alert the operator silently.",phone:"999",phoneLabel:"Call 999",hours:"24/7",category:"emergency"},{id:"police-101",name:"Police Non-Emergency",tagline:"Report or seek advice (non-urgent)",description:"Call 101 to report an offence that is not happening now, or to speak to your local police force for advice.",phone:"101",phoneLabel:"Call 101",hours:"24/7",category:"emergency"},{id:"rape-crisis",name:"Rape Crisis England & Wales",tagline:"24/7 Rape & Sexual Abuse Support Line",description:"Free, confidential specialist support for anyone aged 16+ who has experienced rape, sexual assault or any form of sexual violence at any point in their life. Live chat also available.",phone:"08088029999",phoneLabel:"0808 802 9999",website:"https://rapecrisis.org.uk",hours:"24 hours a day, 365 days a year",category:"helpline"},{id:"new-pathways",name:"New Pathways",tagline:"Mid, West & South Wales \u2014 sexual violence support",description:"Wales-based specialist charity providing free, confidential counselling, ISVA support, pre-court support, and SARC services (24/7 medical & forensic care) for survivors of rape and sexual abuse \u2014 children, young people and adults of all genders. Areas covered include Merthyr Tydfil (head office), Rhondd
2a Cynon Taf, Bridgend, Swansea, Carmarthenshire, Cardiff, Newport and Risca, with virtual support available across other parts of Wales. BSL counselling available.",phone:"01685379310",phoneLabel:"01685 379 310",website:"https://newpathways.org.uk",hours:"Mon\u2013Fri office hours \xb7 SARCs available 24/7",category:"specialist"},{id:"cyfannol",name:"Cyfannol Women\u2019s Aid",tagline:"South-East Wales (Gwent) \u2014 sexual violence & domestic abuse",description:"Trauma-informed, person-led specialist support for survivors of sexual violence and domestic abuse across Gwent (Torfaen, Newport, Blaenau Gwent, Caerphilly, Monmouthshire). Counselling, ISVA, group support and refuge services. For 24/7 access, call the Live Fear Free helpline (0808 80 10 800) and ask to be referred to Cyfannol.",phone:"03300564456",phoneLabel:"03300 564 456",website:"https://www.cyfannol.org.uk",hours:"Mon\u2013Fri office hours \xb7 24/7 via Live Fear Free",category:"specialist"},{id:"calan-dvs",name:"Calan DVS",tagline:"South & West Wales \u2014 sexual violence & domestic abuse",description:"Specialist support for survivors of sexual violence and domestic abuse across Neath Port Talbot, Carmarthenshire and surrounding areas. Free counselling, ISVA/IDVA support, group work and refuge services for all genders. Out of hours, call the Live Fear Free helpline (0808 80 10 800).",phone:"01639633580",phoneLabel:"01639 633 580",website:"https://www.calandvs.org.uk",hours:"Mon\u2013Fri office hours \xb7 24/7 via Live Fear Free",category:"specialist"},{id:"rasasc-north-wales",name:"RASASC North Wales",tagline:"North Wales \u2014 counselling & ISVA for survivors aged 3+",description:"Rape & Sexual Abuse Support Centre North Wales \u2014 free, confidential specialist counselling, ISVA support and information for anyone aged 3 and over who has experienced sexual violence or abuse, recent or historic. Covers Anglesey, Gwynedd, Conwy, Denbighshire, Flintshire and Wrexham.",phone:"01248670628",phoneLabel:"01248 670 628",website:"https://www.rasawales.org.uk",hours:"Mon\u2013Fri, see website for current hours",category:"specialist"},{id:"stepping-stones-north-wales",name:"Stepping Stones North Wales",tagline:"North Wales \u2014 adult survivors of child sexual abuse",description:"BACP-registered professional counselling for adult survivors (18+) of childhood sexual abuse \u2014 individual counselling, ISVA support, art therapy, education classes and family support. Free of charge. Covers the six counties of North Wales. Self-referral welcome.",phone:"01978352717",phoneLabel:"01978 352 717",website:"https://www.steppingstonesnorthwales.co.uk",hours:"Mon\u2013Fri 9:00\u201316:30 \xb7 24/7 via Live Fear Free",category:"specialist"},{id:"survivors-trust",name:"The Survivors Trust",tagline:"Helpline for all survivors",description:"Umbrella agency for specialist rape, sexual violence and childhood sexual abuse support services across the UK and Ireland. Free helpline for adult survivors of any age, gender or background.",phone:"08088010818",phoneLabel:"0808 801 0818",website:"https://thesurvivorstrust.org",hours:"Mon\u2013Fri, see website for current hours",category:"helpline"},{id:"victim-support",name:"Victim Support",tagline:"Help for victims of any crime",description:"Independent national charity offering free, confidential support to anyone affected by crime \u2014 whether or not it has been reported and however long ago it happened.",phone:"08081689111",phoneLabel:"0808 168 9111",website:"https://www.victimsupport.org.uk",hours:"24/7 Supportline",category:"helpline"},{id:"samaritans",name:"Samaritans",tagline:"Someone to talk to, anytime",description:"Free, confidential listening service for anyone struggling to cope or in emotional distress. You don't have to be suicidal to call.",phone:"116123",phoneLabel:"116 123",website:"https://www.samaritans.org",hours:"24/7",category:"helpline"},{id:"sarc",name:"SARCs (Sexual Assault Referral Centres)",tagline:"Medical care & forensic services",description:"SARCs provide free medical care, emotional support, and forensic examination after sexual assault \u2014 whether or not you decide to report to the police. Find your nearest SARC on the NHS website.",website:"https://www.nhs.u
2k/service-search/other-services/Rape-and-sexual-assault-referral-centres/LocationSearch/364",hours:"Varies by centre",category:"medical"},{id:"galop",name:"Galop",tagline:"LGBT+ anti-abuse charity",description:'Specialist support for LGBT+ people who have experienced sexual violence, domestic abuse, hate crime, or so-called "conversion" therapy.',phone:"08009995428",phoneLabel:"0800 999 5428",website:"https://galop.org.uk",hours:"Mon\u2013Fri, see website",category:"specialist"},{id:"safeline",name:"Safeline",tagline:"Support for men, women and young people",description:"National helpline supporting survivors of sexual abuse and rape, including a dedicated men's helpline and young people's service.",phone:"08088005005",phoneLabel:"0808 800 5005",website:"https://www.safeline.org.uk",hours:"See website for current hours",category:"specialist"},{id:"survivors-uk",name:"SurvivorsUK",tagline:"For male survivors of sexual violence",description:"National UK charity supporting boys, men and non-binary people who have experienced any kind of sexual violence \u2014 recent or historic. Free web chat, SMS and WhatsApp support, plus specialist ISVA and counselling services.",phone:"02035983898",phoneLabel:"020 3598 3898",website:"https://www.survivorsuk.org",hours:"See website for chat hours",category:"specialist"},{id:"into-the-light",name:"Into The Light",tagline:"London \xb7 non-recent childhood sexual abuse (18+)",description:"London-based specialist service offering one-to-one counselling, psycho-educational group courses, women\u2019s groups, workshops, information and resources to people of all genders who were sexually abused as a child or young person. Also offers workshops for partners, family and counsellors supporting survivors, and trauma-informed training for community groups and services. Face-to-face in London and online across the UK. For adults 18+. Member of The Survivors Trust. Contact by email at [email protected].",website:"https://www.intothelight.org.uk",hours:"See website \xb7 email daily",category:"specialist"},{id:"supportline",name:"SupportLine",tagline:"Confidential emotional support helpline",description:"Confidential UK helpline for children, young adults and adults who are isolated, vulnerable, or affected by abuse, sexual violence, domestic violence, bullying, relationship or mental-health difficulties. Registered charity. Also reachable by email and post if the phone is not right for you.",phone:"01708765200",phoneLabel:"01708 765 200",website:"https://www.supportline.org.uk",hours:"See website for current phone hours \xb7 email daily",category:"helpline"}].filter(e=>Ra.includes(e.id)),Bo=[{id:"sv",label:"Sexual violence",icon:Xr,intro:"Free, confidential UK services for anyone affected by rape or sexual violence \u2014 you don\u2019t need to have reported to access any of these.",orgs:Yo},{id:"da",label:"Domestic abuse",icon:ea,intro:"Free, confidential UK services for anyone experiencing or worried about domestic abuse \u2014 including coercive control, financial, emotional, \u201chonour\u201d-based and same-sex relationship abuse.",orgs:Aa}];function qo(e){let{o:t}=e;return(0,ze.jsxs)("div",{className:"tf-card p-5","data-testid":"org-".concat(t.id),children:[(0,ze.jsxs)("div",{className:"flex items-start gap-3",children:[(0,ze.jsx)("div",{className:"px-2 py-0.5 rounded-full text-[10px] font-bold",style:{background:"emergency"===t.category?"#F2DDE2":"helpline"===t.category?"#D8E2EE":"specialist"===t.category?"var(--tf-purple-light)":"#E6E0EE",color:"var(--tf-purple-dark)",letterSpacing:"0.08em",textTransform:"uppercase"},children:t.category}),t.hours&&(0,ze.jsxs)("div",{className:"ml-auto flex items-center gap-1",style:{color:"var(--tf-text-muted)",fontSize:11},children:[(0,ze.jsx)(_o,{size:11}),(0,ze.jsx)("span",{className:"font-body",children:t.hours})]})]}),(0,ze.jsx)("h3",{className:"font-heading mt-3",style:{fontSize:18.5,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:t.name}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:12.5,color:"var(--tf-purple)",fontWeight:700,marginTop:2},children:t.tagline}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:t.description}),(0,ze.jsxs)("div",{className:"mt-4 flex flex-wrap gap-2",children:[t.phone&&(0,ze.jsxs)("a",{href:"tel:".concat(t.phone),"data-testid":"call-".concat(t.id),className:"inline-flex items-center gap-1.5 px-4 py-2 rounded-full font-bold",style:{background:"var(--tf-purple)",color:"#fff",fontSize:12.5,textDecoration:"none"},children:[(0,ze.jsx)(Zr,{size:13}),t.phoneLabel||"Call ".concat(t.phone)]}),t.website&&(0,ze.jsxs)("a",{href:t.website,target:"_blank",rel:"noopener noreferrer","data-testid":"web-".concat(t.id),className:"inline-flex items-center gap-1.5 px-4 py-2 rounded-full font-bold",style:{background:"#fff",color:"var(--tf-purple)",fontSize:12.5,border:"1px solid var(--tf-purple-light)",textDecoration:"none"},children:[(0,ze.jsx)(So,{size:13}),"Visit website"]})]})]})}function Go(){const e=Ft(),t=Mt(),[n,r]=(0,a.useState)(""),[o,i]=(0,a.useState)("all"),s="da"===new URLSearchParams(e.search).get("tab")?"da":"sv",l=Bo.find(e=>e.id===s)||Bo[0],c=(0,a.useMemo)(()=>{const e=n.trim().toLowerCase();return l.orgs.filter(t=>("all"===o||t.category===o)&&(!e||(t.name.toLowerCase().includes(e)||t.tagline.toLowerCase().includes(e)||t.description.toLowerCase().includes(e))))},[n,o,l]);return(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"support-screen",children:[(0,ze.jsx)(io,{title:"UK Support Organisations \u2014 Sexual Violence & Domestic Abuse",description:"Free confidential UK helplines for survivors of sexual violence and domestic abuse \u2014 for women, men, non-binary and LGBT+. Includes Rape Crisis, Refuge, Women's Aid, SurvivorsUK, Mankind Initiative, Men's Advice Line, Survivors Trust, Samaritans, SARCs, Galop and NCDV.",path:"/app/support"}),(0,ze.jsx)("p",{className:"eyebrow",children:"SUPPORT ORGANISATIONS \xb7 ENGLAND, WALES & SCOTLAND"}),(0,ze.jsx)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(28px, 4vw, 36px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Free, confidential help across the UK."}),(0,ze.jsxs)("p",{className:"font-body mt-4 max-w-xl",style:{fontSize:14.5,color:"var(--tf-text-secondary)",lineHeight:1.65},children:["Choose the topic that fits best \u2014 sexual violence services on one tab, domestic abuse on the other. Tap to call or visit a website. Scottish specialist services are listed in a dedicated section at the bottom of each tab \u2014"," ",(0,ze.jsx)("a",{href:"#scotland",className:"tf-link","data-testid":"support-jump-scotland",children:"jump to Scotland"}),"."]}),(0,ze.jsx)("div",{className:"mt-6 flex gap-2 flex-wrap",children:(0,ze.jsx)(po,{label:"Print / Save this page"})}),(0,ze.jsx)("div",{className:"mt-7 grid grid-cols-2 gap-2 p-1.5 rounded-2xl tf-no-print",style:{background:"var(--tf-bg-secondary)",border:"1px solid var(--tf-card-border)"},role:"tablist",children:Bo.map(e=>{const n=e.icon,a=s===e.id;return(0,ze.jsxs)("button",{type:"button",role:"tab","aria-selected":a,onClick:()=>{var n;n=e.id,t("/app/support?tab=".concat(n),{replace:!1}),i("all")},"data-testid":"tab-support-".concat(e.id),className:"inline-flex items-center justify-center gap-2 py-2.5 rounded-xl font-bold transition-all",style:{background:a?"#fff":"transparent",color:a?"var(--tf-purple)":"var(--tf-text-secondary)",boxShadow:a?"0 4px 14px rgba(139,123,177,0.15)":"none",border:"none",fontSize:13.5,cursor:"pointer"},children:[(0,ze.jsx)(n,{size:15,strokeWidth:a?2.2:1.8}),e.label]},e.id)})}),(0,ze.jsx)("p",{className:"font-body mt-5",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:l.intro}),(0,ze.jsxs)("div",{className:"mt-5 flex flex-col gap-3 tf-no-print",children:[(0,ze.jsxs)("div",{className:"flex items-center gap-2 px-4 py-3 rounded-full",style:{background:"#fff",border:"1px solid var(--tf-card-border)"},children:[(0,ze.jsx)(Wo,{size:16,color:"var(--tf-text-muted)"}),(0,ze.jsx)("input",{type:"text",value:n,onChange:e=>r(e.target.value),placeholder:"Search ".concat(l.label.toLowerCase()," services\u2026"),"data-testid":"support-search",className:"flex-1 outline-none bg-transparent font-body",style:{fontSize:14,color:"var(--tf-text)"}})]}),(0,ze.jsx)("div",{className:"flex gap-2 flex-wrap",children:Vo.map(e=>{const t=o===e.id;return(0,ze.jsx)("button",{onClick:()=>i(e.id),"data-testid":"filter-".concat(e.id),className:"px-3.5 py-1.5 rounded-full text-[12px] font-bold transition-colors",style:{background:t?"var(--tf-purple)":"#fff",color:t?"#fff":"var(--tf-text-secondary)",border:"1px solid ".concat(t?"var(--tf-purple)":"var(--tf-card-border)"),cursor:"pointer"},children:e.label},e.id)})})]}),(0,ze.jsxs)("div",{className:"mt-8 flex flex-col gap-3",children:[c.map(e=>(0,ze.jsx)(qo,{o:e},e.id)),0===c.length&&(0,ze.jsx)("div",{className:"p-8 text-center rounded-2xl",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-text-muted)"},children:(0,ze.jsx)("p",{className:"font-body",style:{fontSize:13.5},children:"No services match your search. Try a different keyword or category."})})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"support-section-scotland",id:"scotland",style:{scrollMarginTop:96},children:[(0,ze.jsxs)("div",{className:"flex items-center gap-2",children:[(0,ze.jsx)(wo,{size:14,color:"var(--tf-purple-dark)","aria-hidden":"true"}),(0,ze.jsx)("p",{className:"eyebrow",children:"IN SCOTLAND \u2014 SPECIALIST HELPLINES"})]}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"If you are in Scotland"}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:"Scotland has its own specialist support network. These services are Scotland-based, understand Police Scotland, COPFS and Scots law, and are free and confidential."}),(0,ze.jsxs)("div",{className:"mt-5 flex flex-col gap-3",children:[Uo.filter(e=>e.topic===s).map(e=>(0,ze.jsx)(qo,{o:e},e.id)),0===Uo.filter(e=>e.topic===s).length&&(0,ze.jsx)("div",{className:"p-6 rounded-2xl",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-text-muted)"},children:(0,ze.jsxs)("p",{className:"font-body",style:{fontSize:13},children:["Switch tab above to see Scottish ","sv"===s?"domestic abuse":"sexual violence"," services too."]})})]})]})]})}const Ko=Jn("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]),Qo=Jn("file-json",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}
2]]),$o=Jn("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]),Jo=Jn("cloud-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5.782 5.782A7 7 0 0 0 9 19h8.5a4.5 4.5 0 0 0 1.307-.193",key:"yfwify"}],["path",{d:"M21.532 16.5A4.5 4.5 0 0 0 17.5 10h-1.79A7.008 7.008 0 0 0 10 5.07",key:"jlfiyv"}]]),Xo=Jn("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]),Zo="tfi_journal_entries_v1";function ei(e){try{localStorage.setItem(Zo,JSON.stringify(e))}catch(t){}}function ti(){const[e,t]=(0,a.useState)([]),[n,r]=(0,a.useState)(!0);(0,a.useEffect)(()=>{t(function(){try{const e=localStorage.getItem(Zo);if(!e)return[];const t=JSON.parse(e);return Array.isArray(t)?t:[]}catch(e){return[]}}()),r(!1)},[]);return{entries:e,loading:n,addEntry:(0,a.useCallback)(e=>{let{content:n,mood:a}=e;const r={id:"undefined"!==typeof crypto&&crypto.randomUUID?crypto.randomUUID():String(Date.now()),content:n,mood:a||null,created_at:(new Date).toISOString()};return t(e=>{const t=[r,...e];return ei(t),t}),r},[]),deleteEntry:(0,a.useCallback)(e=>{t(t=>{const n=t.filter(t=>t.id!==e);return ei(n),n})},[]),clearAll:(0,a.useCallback)(()=>{ei([]),t([])},[]),replaceAll:(0,a.useCallback)(e=>{if(!Array.isArray(e))return 0;const n=e.filter(e=>e&&"string"===typeof e.content&&e.content.trim()).map(e=>({id:"string"===typeof e.id&&e.id||("undefined"!==typeof crypto&&crypto.randomUUID?crypto.randomUUID():String(Date.now()+Math.random())),content:String(e.content),mood:e.mood&&"string"===typeof e.mood?e.mood:null,created_at:e.created_at&&"string"===typeof e.created_at?e.created_at:(new Date).toISOString()}));return n.sort((e,t)=>t.created_at.localeCompare(e.created_at)),ei(n),t(n),n.length},[])}}const ni="https://static.prod-images.emergentagent.com/jobs/e4a56433-de33-48f0-9e84-678bcf45ff81/images/66b640d47ffb68aa6564b4f20e079c0280ed4756cc3aec8b3de2b9b504cc868b.png",ai=[{id:"calm",label:"Calm",color:"#D8E2EE",emoji:"\ud83c\udf3f"},{id:"hopeful",label:"Hopeful",color:"#F2DDE2",emoji:"\u2728"},{id:"anxious",label:"Anxious",color:"#F2E8D8",emoji:"\ud83c\udf27"},{id:"sad",label:"Sad",color:"#E6E0EE",emoji:"\ud83d\udca7"},{id:"angry",label:"Angry",color:"#F4D9DC",emoji:"\ud83d\udd25"},{id:"numb",label:"Numb",color:"#E8E8EE",emoji:"\u26aa"}];function ri(e,t,n){const a=new Blob([t],{type:n}),r=URL.createObjectURL(a),o=document.createElement("a");o.href=r,o.download=e,o.style.display="none",document.body.appendChild(o),o.click(),setTimeout(()=>{document.body.removeChild(o),URL.revokeObjectURL(r)},100)}function oi(){const e=new Date,t=e=>String(e).padStart(2,"0");return"".concat(e.getFullYear(),"-").concat(t(e.getMonth()+1),"-").concat(t(e.getDate()))}function ii(){const{entries:e,loading:t,addEntry:n,deleteEntry:r,replaceAll:o}=ti(),[i,s]=(0,a.useState)(""),[l,c]=(0,a.useState)(null),[d,u]=(0,a.useState)(null),f=(0,a.useRef)(null),h=(0,a.useMemo)(()=>i.trim().split(/\s+/).filter(Boolean).length,[i]);return(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"journal-screen",children:[(0,ze.jsx)(io,{title:"Private Journal \u2014 Anonymous & Browser-Only",description:"A calm, private place to write. Anything you write stays in your browser \u2014 no account, no sign-up, no tracking.",path:"/app/journal"}),(0,ze.jsx)("p",{className:"eyebrow",children:"PRIVATE JOURNAL"}),(0,ze.jsx)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(28px, 4vw, 36px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"A gentle place for your thoughts."}),(0,ze.jsx)("p",{className:"font-body mt-4 max-w-xl",style:{fontSize:14.5,color:"var(--tf-text-secondary)",lineHeight:1.65},children:"Whatever you write here stays in this browser. Nothing is uploaded. Clearing your browser data will erase these entries."}),(0,ze.jsxs)("div",{className:"mt-6 flex gap-2 flex-wrap",children:[(0,ze.jsx)(po,{label:"Print / Save your entries"}),(0,ze.jsxs)("button",{type:"button",onClick:()=>
2{if(0===e.length)return;const t=[];t.push("THE FULL IMPACT \u2014 JOURNAL EXPORT"),t.push("Exported: ".concat((new Date).toLocaleString("en-GB"))),t.push("".concat(e.length," entr").concat(1===e.length?"y":"ies")),t.push("\u2014".repeat(60)),t.push(""),[...e].slice().sort((e,t)=>e.created_at.localeCompare(t.created_at)).forEach((e,n)=>{const a=new Date(e.created_at).toLocaleString("en-GB");t.push("#".concat(n+1," ").concat(a)),e.mood&&t.push("Mood: ".concat((e=>{var t;return(null===(t=ai.find(t=>t.id===e))||void 0===t?void 0:t.label)||"\u2014"})(e.mood))),t.push(""),t.push(e.content),t.push(""),t.push("\u2014".repeat(60)),t.push("")}),ri("the-full-impact-journal-".concat(oi(),".txt"),t.join("\n"),"text/plain;charset=utf-8")},"data-testid":"journal-download-txt",disabled:0===e.length,className:"tf-no-print inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full text-[12px] font-bold",style:{background:"#fff",color:"var(--tf-purple)",border:"1px solid var(--tf-purple-light)",opacity:0===e.length?.5:1,cursor:0===e.length?"not-allowed":"pointer"},children:[(0,ze.jsx)(Ko,{size:13}),"Download as text"]}),(0,ze.jsxs)("button",{type:"button",onClick:()=>{if(0===e.length)return;const t={app:"The Full Impact",version:1,exported_at:(new Date).toISOString(),entries:e};ri("the-full-impact-journal-backup-".concat(oi(),".json"),JSON.stringify(t,null,2),"application/json")},"data-testid":"journal-download-json",disabled:0===e.length,className:"tf-no-print inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full text-[12px] font-bold",style:{background:"#fff",color:"var(--tf-purple)",border:"1px solid var(--tf-purple-light)",opacity:0===e.length?.5:1,cursor:0===e.length?"not-allowed":"pointer"},children:[(0,ze.jsx)(Qo,{size:13}),"Download backup"]}),(0,ze.jsxs)("button",{type:"button",onClick:()=>{u(null),f.current&&f.current.click()},"data-testid":"journal-restore",className:"tf-no-print inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full text-[12px] font-bold",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-text-secondary)",border:"none",cursor:"pointer"},children:[(0,ze.jsx)($o,{size:13}),"Restore from file"]}),(0,ze.jsx)("input",{ref:f,type:"file",accept:"application/json,.json",onChange:async t=>{const n=t.target.files&&t.target.files[0];if(t.target.value="",n)try{const t=await n.text(),a=JSON.parse(t),r=Array.isArray(a)?a:null===a||void 0===a?void 0:a.entries;if(!Array.isArray(r))throw new Error("Not a valid journal backup file.");const i=e.length>0?"Replace your current ".concat(e.length," entry/entries with ").concat(r.length," from the backup? Existing entries will be removed."):"Import ".concat(r.length," entries from the backup?");if(!window.confirm(i))return;const s=o(r);u("Restored ".concat(s," entr").concat(1===s?"y":"ies"," from your backup file."))}catch(a){u("Sorry, that file could not be read as a journal backup. ".concat((null===a||void 0===a?void 0:a.message)||"").trim())}},style:{display:"none"},"data-testid":"journal-restore-input"})]}),d&&(0,ze.jsx)("div",{className:"mt-3 p-3 rounded-xl tf-no-print",style:{background:"var(--tf-pink-soft)",color:"var(--tf-text)",fontSize:12.5},"data-testid":"journal-import-msg",children:d}),(0,ze.jsxs)("div",{"data-testid":"guided-journal-cta",className:"mt-6 p-5 rounded-2xl tf-no-print",style:{background:"linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%)",color:"#fff",boxShadow:"0 10px 26px rgba(139,123,177,0.22)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"rgba(255,255,255,0.92)"},children:"NEW \xb7 GUIDED REFLECTION"}),(0,ze.jsx)("p",{className:"font-heading mt-1.5",style:{fontSize:19,color:"#fff",letterSpacing:"-0.01em",lineHeight:1.25},children:"Work through a calm, step-by-step journal"}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13,color:"rgba(255,255,255,0.92)",lineHeight:1.55},children:"Seven short prompts that remind you you're safe, that what happened was not your fault, and gently walk you through naming your feelings and finding one small act of self-kindness. Skip anything you're not ready for."}),(0,ze.jsxs)("div",{className:"mt-4 flex flex-col sm:flex-row gap-2",children:[(0,ze.jsxs)(On,{to:"/app/guided-journal","data-testid":"journal-cta-online",className:"inline-flex items-center justify-center gap-2 px-4 py-2.5 rounded-full font-bold",style:{background:"#fff",color:"var(--tf-purple-dark)",textDecoration:"none",fontSize:13,flex:1},children:[(0,ze.jsx)(Ha,{size:14}),"Start online"]}),(0,ze.jsxs)("a",{href:"https://customer-assets.emergentagent.com/job_justice-pathway-uk/artifacts/lq2f708l_The%20Full%20Impact%20Campaign%20%E2%80%94%20Guided%20Journal%20Workbook%20Colour.pdf%20%282%29.pdf",target:"_blank",rel:"noopener noreferrer",download:!0,"data-testid":"journal-cta-pdf-colour",className:"inline-flex items-center justify-center gap-2 px-4 py-2.5 rounded-full font-bold",style:{background:"rgba(255,255,255,0.18)",color:"#fff",border:"1px solid rgba(255,255,255,0.5)",textDecoration:"none",fontSize:13,flex:1},children:[(0,ze.jsx)(Ko,{size:14}),"PDF \u2014 Colour"]}),(0,ze.jsxs)("a",{href:"https://customer-assets.emergentagent.com/job_justice-pathway-uk/artifacts/ieg473n4_The%20Full%20Impact%20Campaign%20%E2%80%94%20Guided%20Journal%20Workbook%20Simple%20Black%20and%20White.pdf.pdf",target:"_blank",rel:"noopener noreferrer",download:!0,"data-testid":"journal-cta-pdf-bw",className:"inline-flex items-center justify-center gap-2 px-4 py-2.5 rounded-full font-bold",style:{background:"rgba(255,255,255,0.18)",color:"#fff",border:"1px solid rgba(255,255,255,0.5)",textDecoration:"none",fontSize:13,flex:1},children:[(0,ze.jsx)(Ko,{size:14}),"PDF \u2014 Black & White"]})]}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:11.5,color:"rgba(255,255,255,0.82)",lineHeight:1.5},children:"The PDFs open in a new tab. From there your browser's share / download menu will save them to your device. Print at home, or take a copy to your next ISVA, counselling or support session."})]}),(0,ze.jsxs)("div",{className:"mt-6 rounded-2xl p-4 flex items-center gap-4",style:{background:"var(--tf-bg-secondary)",border:"1px solid var(--tf-card-border)"},"data-testid":"privacy-card",children:[(0,ze.jsx)("img",{src:ni,alt:"","aria-hidden":!0,
2className:"w-10 h-10 object-contain",style:{opacity:.85}}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)"},children:"Stored only in your browser"}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:11.5,color:"var(--tf-text-secondary)",marginTop:2},children:"Anonymous mode \xb7 No sign-up \xb7 No cloud backup"})]}),(0,ze.jsxs)("div",{className:"flex items-center gap-1.5 px-3 py-1.5 rounded-full",style:{background:"#fff",color:"var(--tf-purple)"},children:[(0,ze.jsx)(Jo,{size:13}),(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:11.5},children:"Offline only"})]})]}),(0,ze.jsxs)("div",{className:"tf-card mt-6 p-6 tf-no-print",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)",marginBottom:12},children:"How are you feeling?"}),(0,ze.jsx)("div",{className:"flex flex-wrap gap-2",children:ai.map(e=>{const t=l===e.id;return(0,ze.jsxs)("button",{type:"button","data-testid":"mood-".concat(e.id),onClick:()=>c(t?null:e.id),className:"inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full transition-all",style:{background:e.color,border:"1.5px solid ".concat(t?"var(--tf-purple)":"transparent"),transform:t?"scale(1.02)":"scale(1)",cursor:"pointer"},children:[(0,ze.jsx)("span",{style:{fontSize:15},children:e.emoji}),(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:12.5,color:"var(--tf-text)"},children:e.label})]},e.id)})}),(0,ze.jsx)("textarea",{value:i,onChange:e=>s(e.target.value),"data-testid":"journal-input",placeholder:"Write whatever comes to mind. There is no right or wrong way to do this.",rows:8,className:"w-full mt-5 p-4 rounded-xl outline-none font-body",style:{background:"var(--tf-bg)",border:"1px solid var(--tf-card-border)",fontSize:15,lineHeight:1.6,color:"var(--tf-text)",resize:"vertical",minHeight:160}}),(0,ze.jsxs)("div",{className:"mt-4 flex items-center justify-between gap-3 flex-wrap",children:[(0,ze.jsxs)("span",{className:"font-body",style:{fontSize:12,color:"var(--tf-text-muted)"},children:[h," word",1===h?"":"s"]}),(0,ze.jsxs)("button",{type:"button",onClick:()=>{i.trim()&&(n({content:i.trim(),mood:l}),s(""),c(null))},disabled:!i.trim(),"data-testid":"journal-save-button",className:"tf-btn-primary",style:{opacity:i.trim()?1:.5,cursor:i.trim()?"pointer":"not-allowed"},children:[(0,ze.jsx)(zr,{size:16})," Save entry"]})]})]}),(0,ze.jsx)("p",{className:"font-body font-bold mt-10 mb-4",style:{fontSize:11.5,letterSpacing:"0.18em",color:"var(--tf-text-muted)"},children:0===e.length?"YOUR ENTRIES WILL APPEAR HERE":"".concat(e.length," ENTR").concat(1===e.length?"Y":"IES")}),t&&(0,ze.jsx)("p",{className:"font-body",style:{color:"var(--tf-text-secondary)"},children:"Loading\u2026"}),!t&&0===e.length&&(0,ze.jsxs)("div",{className:"p-8 rounded-2xl text-center flex flex-col items-center gap-3",style:{background:"var(--tf-bg-secondary)",border:"1px dashed var(--tf-card-border)"},"data-testid":"journal-empty",children:[(0,ze.jsx)("img",{src:ni,alt:"","aria-hidden":!0,className:"w-14 h-14 object-contain opacity-70"}),(0,ze.jsx)("p",{className:"font-body max-w-xs",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:"Whatever you write is just for you. Take your time."})]}),(0,ze.jsx)("div",{className:"flex flex-col gap-3",children:e.map(e=>{const t=ai.find(t=>t.id===e.mood);return(0,ze.jsxs)("div",{className:"tf-card p-5","data-testid":"entry-".concat(e.id),children:[(0,ze.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,ze.jsxs)("div",{className:"flex items-center gap-2",children:[t&&(0,ze.jsx)("div",{className:"w-8 h-8 rounded-full flex items-center justify-center",style:{background:t.color},children:(0,ze.jsx)("span",{style:{fontSize:14},children:t.emoji})}),(0,ze.jsx)("span",{className:"font-body",style:{fontSize:12,color:"var(--tf-text-secondary)"},children:(n=e.created_at,new Date(n).toLocaleDateString("en-GB",{day:"numeric",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"}))})]}),(0,ze.jsx)("button",{type:"button",onClick:()=>(e=>{window.confirm("Delete this entry? This cannot be undone.")&&r(e.id)})(e),"data-testid":"delete-".concat(e.id),"aria-label":"Delete entry",className:"p-2 rounded-full",style:{background:"transparent",color:"var(--tf-text-muted)"},children:(0,ze.jsx)(Xo,{size:15})})]}),(0,ze.jsx)("p",{className:"font-body whitespace-pre-wrap",style:{fontSize:14,lineHeight:1.65,color:"var(--tf-text)"},children:e.content})]},e.id);var n})}),(0,ze.jsxs)("div",{className:"mt-10 p-5 rounded-2xl flex items-start gap-3",style:{background:"var(--tf-pink-soft)"},children:[(0,ze.jsx)(Ha,{size:18,color:"var(--tf-purple-dark)"}),(0,ze.jsxs)("div",{children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)"},children:"Journaling can be hard."}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:12.5,color:"var(--tf-text-secondary)",marginTop:4,lineHeight:1.6},children:"If something brought up a strong feeling, try a grounding exercise \u2014 there's a shortcut at the bottom of the screen."})]})]})]})}function si(e){let{video:t}=e;const[n,r]=(0,a.useState)(!1),o="https://www.youtube.com/embed/".concat(t.youtubeId,"?rel=0&modestbranding=1&playsinline=1&autoplay=1"),i="https://img.youtube.com/vi/".concat(t.youtubeId,"/hqdefault.jpg"),s="https://www.youtube.com/watch?v=".concat(t.youtubeId);return(0,ze.jsxs)("div",{className:"tf-card overflow-hidden","data-testid":"video-".concat(t.id),children:[(0,ze.jsx)("div",{className:"relative",style:{aspectRatio:"16 / 9",background:"#000"},children:n?(0,ze.jsx)("iframe",{src:o,title:t.title,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 w-full h-full",style:{border:0}}):(0,ze.jsxs)("button",{type:"button",onClick:()=>r(!0),"data-testid":"play-".concat(t.id),className:"absolute inset-0 w-full h-full group",children:[(0,ze.jsx)("img",{src:i,alt:t.title,className:"w-full h-full object-cover"}),(0,ze.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",style:{background:"rgba(0,0,0,0.18)"}
2,children:(0,ze.jsx)("div",{className:"w-14 h-14 rounded-full flex items-center justify-center group-hover:scale-110 transition-transform",style:{background:"var(--tf-purple)",boxShadow:"0 8px 24px rgba(0,0,0,0.3)"},children:(0,ze.jsx)(fa,{size:22,fill:"#fff",color:"#fff"})})})]})}),(0,ze.jsxs)("div",{className:"p-5",children:[(0,ze.jsxs)("p",{className:"font-body font-bold",style:{fontSize:11,letterSpacing:"0.06em",color:"var(--tf-purple)"},children:[t.source,t.duration?" \xb7 ".concat(t.duration):""]}),(0,ze.jsx)("h4",{className:"font-heading mt-2",style:{fontSize:16.5,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:t.title}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.55},children:t.summary}),(0,ze.jsxs)("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 mt-3 font-bold",style:{color:"var(--tf-purple)",fontSize:12.5,textDecoration:"none"},children:[(0,ze.jsx)(So,{size:13})," Watch on YouTube"]})]})]})}function li(e){let{exercise:t}=e;const[n,r]=(0,a.useState)(!1);return(0,ze.jsxs)("button",{type:"button",onClick:()=>r(!n),className:"tf-card p-5 w-full text-left","data-testid":"grounding-".concat(t.id),children:[(0,ze.jsxs)("div",{className:"flex items-center gap-3",children:[(0,ze.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-purple)"},children:(0,ze.jsx)(pa,{size:18})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("p",{className:"font-heading",style:{fontSize:16,color:"var(--tf-text)"},children:t.title}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:11.5,color:"var(--tf-text-muted)",marginTop:1},children:t.duration})]}),n?(0,ze.jsx)(bo,{size:18,color:"var(--tf-text-muted)"}):(0,ze.jsx)(Ir,{size:18,color:"var(--tf-text-muted)"})]}),(0,ze.jsx)("div",{className:"mt-4 pt-4 print-show","data-print-expand":"true",style:{borderTop:"1px solid var(--tf-card-border)",display:n?"flex":"none",flexDirection:"column",gap:12},children:t.steps.map((e,t)=>(0,ze.jsxs)("div",{className:"flex gap-3 items-start",children:[(0,ze.jsx)("div",{className:"w-6 h-6 rounded-full flex items-center justify-center flex-shrink-0",style:{background:"var(--tf-purple-light)",color:"var(--tf-purple-dark)",fontSize:11,fontWeight:700,fontFamily:"Nunito"},children:t+1}),(0,ze.jsx)("p",{className:"font-body flex-1",style:{fontSize:13.5,lineHeight:1.6,color:"var(--tf-text-secondary)"},children:e})]},t))})]})}function ci(){return(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"trauma-screen",children:[(0,ze.jsx)(io,{title:"Trauma & Healing \u2014 Survivor Guide UK",description:"Why your body reacted the way it did \u2014 the 5 trauma responses, common after-effects, short explainer videos, grounding tools and UK specialist help.",path:"/app/trauma"}),(0,ze.jsx)("p",{className:"eyebrow",children:"TRAUMA & HEALING"}),(0,ze.jsx)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(28px, 4vw, 36px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Trauma responses are normal."}),(0,ze.jsx)("p",{className:"font-body mt-4 max-w-xl",style:{fontSize:15,color:"var(--tf-text-secondary)",lineHeight:1.65},children:"Your body and brain did exactly what they were designed to do \u2014 survive. Whatever you felt, did, or didn't do, was not your fault. This page explains common trauma responses, gives you grounding tools, and shows where to get specialist help in the UK."}),(0,ze.jsx)(Po,{variant:"sv"}),(0,ze.jsx)("div",{className:"mt-6 flex gap-2 flex-wrap",children:(0,ze.jsx)(po,{label:"Print / Save this page"})}),(0,ze.jsxs)("div",{className:"mt-10 mb-4",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"WHAT YOUR BRAIN DID"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)"},children:"The 5 trauma responses"})]}),(0,ze.jsx)("div",{className:"grid sm:grid-cols-2 gap-3",children:xa.map(e=>(0,ze.jsxs)("div",{className:"tf-card p-5","data-testid":"response-".concat(e.id),children:[(0,ze.jsx)("div",{className:"w-10 h-10 rounded-full flex items-center justify-center mb-3",style:{background:"var(--tf-purple-light)"},children:(0,ze.jsx)("span",{className:"font-heading",style:{fontSize:18,color:"var(--tf-purple-dark)"},children:e.letter})}),(0,ze.jsx)("h3",{className:"font-heading",style:{fontSize:18,color:"var(--tf-text)"},children:e.name}),(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:12,color:"var(--tf-purple)",letterSpacing:"0.02em",marginTop:2},children:e.short}),(0,ze.jsx)("p",{className:"font-body mt-2.5",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.55},children:e.body})]},e.id))}),(0,ze.jsxs)("div",{className:"mt-10 p-6 rounded-2xl",style:{background:"var(--tf-pink-soft)"},children:[(0,ze.jsx)("h3",{className:"font-heading",style:{fontSize:19,color:"var(--tf-text)"},children:"Common after-effects"}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13,color:"var(--tf-text)",lineHeight:1.55},children:"In the days, weeks or months after trauma, many survivors notice some of the following. These are normal nervous-system responses \u2014 not personal failings."}),(0,ze.jsx)("div",{className:"mt-4 flex flex-wrap gap-2",children:ja.map((e,t)=>(0,ze.jsxs)("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-full",style:{background:"#fff"},children:[(0,ze.jsx)("span",{style:{width:5,height:5,borderRadius:2.5,background:"var(--tf-purple)",display:"inline-block"}}),(0,ze.jsx)("span",{className:"font-body",style:{fontSize:12,color:"var(--tf-text)"},children:e})]},t))})]}),(0,ze.jsxs)("div",{className:"mt-12 mb-4",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"WATCH & LEARN"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)"},children:"Short videos that explain trauma"}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:"Tap a video to play. These are short, plain-language explainers from UK and trauma-education sources. Some viewers find this content emotional \u2014 please pause whenever you need."})]}),(0,ze.jsx)("div",{className:"grid sm:grid-cols-2 gap-4",children:Sa.map(e=>(0,ze.jsx)(si,{video:e},e.id))}),(0,ze.jsxs)("div",{className:"mt-12 mb-4",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"FEELING OVERWHELMED?"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)"},children:"Grounding techniques"}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:"Use any of these if you feel panicked, dissociated, or stuck in a flashback. They work by gently bringing your nervous system back to the present moment."})]}),(0,ze.jsx)("div",{className:"flex flex-col gap-3",children:wa.map(e=>(0,ze.jsx)(li,{exercise:e},e.id))}),(0,ze.jsxs)("div",{className:"mt-12 mb-4",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"GETTING SPECIALIST HELP IN THE UK"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)"},children:"Where to find trauma support"}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:"Trauma-focused therapy works. NICE (the NHS clinical-guidelines body) recommends trauma-focused CBT and EMDR as first-line treatments for PTSD. You do not need to have reported to access any of these services."})]}),(0,ze.jsx)("div",{className:"flex flex-col gap-3",children:ka.map(e=>(0,ze.jsxs)("div",{className:"tf-card p-5","data-testid":"service-".concat(e.id),children:[(0,ze.jsx)("h3",{className:"font-heading",style:{fontSize:17,color:"var(--tf-text)"},children:e.name}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.6},children:e.body}),(0,ze.jsxs)("div",{className:"mt-3 flex flex-wrap gap-2",children:[e.phone&&(0,ze.jsxs)("a",{href:"tel:".concat(e.phone),"data-testid":"service-call-".concat(e.id),className:"inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full font-bold",style:{background:"var(--tf-purple)",color:"#fff",fontSize:12,textDecoration:"none"},children:[(0,ze.jsx)(Zr,{size:12})," ",e.phoneLabel||"Call"]}),e.website&&(0,ze.jsxs)("a",{href:e.website,target:"_blank",rel:"noopener noreferrer","data-testid":"service-web-".concat(e.id),className:"inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full font-bold",style:{background:"var(--tf-bg)",color:"var(--tf-purple)",fontSize:12,border:"1px solid var(--tf-purple-light)",textDecoration:"none"},children:[(0,ze.jsx)(So,{size:12})," Visit"]})]})]},e.id))}),(0,ze.jsx)("div",{className:"mt-12 p-5 rounded-2xl",style:{background:"var(--tf-bg-secondary)",border:"1px solid var(--tf-card-border)"},children:(0,ze.jsxs)("p",{className:"font-body font-bold text-center",style:{fontSize:12.5,color:"var(--tf-purple-dark)",lineHeight:1.55},children:["If you are in crisis right now or thinking of harming yourself, please call Samaritans on",(0,ze.jsx)("a",{href:"tel:116123",className:"tf-link",children:" 116 123"})," (24/7) or NHS 111 \u2014 or 999 in immediate danger."]})})]})}function di(){return(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"grounding-screen",children:[(0,ze.jsx)(io,{title:"Grounding Exercises \u2014 Calm Down Tools UK",description:"Four short grounding techniques to bring you back to the present when you feel panicked, dissociated or stuck in a flashback. Free, in your browser.",path:"/app/grounding"}),(0,ze.jsxs)(On,{to:"/app","data-testid":"grounding-back",className:"inline-flex items-center gap-1 mb-6",style:{color:"var(--tf-text)",textDecoration:"none",fontSize:14,fontWeight:700},children:[(0,ze.jsx)(ma,{size:20})," Back"]}),(0,ze.jsx)("p",{className:"eyebrow",children:"FEELING OVERWHELMED?"}),(0,ze.jsx)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(28px, 4vw, 36px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"You're safe right now."}),(0,ze.jsx)("p",{className:"font-body mt-4 max-w-xl",style:{fontSize:14.5,color:"var(--tf-text-secondary)",lineHeight:1.65},children:"Try any one of these. They gently bring your nervous system back to the present. Take your time \u2014 there is no rush, and there is no wrong way to do this."}),(0,ze.jsx)("div",{className:"mt-6 flex gap-2 flex-wrap",children:(0,ze.jsx)(po,{label:"Print / Save this page"})}),(0,ze.jsx)("div",{className:"mt-8 flex flex-col gap-4",children:wa.map(e=>(0,ze.jsxs)("div",{className:"tf-card p-5","data-testid":"grounding-exercise-".concat(e.id),children:[(0,ze.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,ze.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-purple)"},children:(0,ze.jsx)(pa,{size:18})}),(0,ze.jsxs)("div",{children:[(0,ze.jsx)("p",{className:"font-heading",style:{fontSize:17,color:"var(--tf-text)"},children:e.title}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:11.5,color:"var(--tf-text-muted)",marginTop:1,letterSpacing:"0.02em"},children:e.duration})]})]}),(0,ze.jsx)("div",{className:"flex flex-col gap-3",children:e.steps.map((e,t)=>(0,ze.jsxs)("div",{className:"flex gap-3 items-start",children:[(0,ze.jsx)("div",{className:"w-6 h-6 rounded-full flex items-center justify-center flex-shrink-0",style:{background:"var(--tf-purple-light)",color:"var(--tf-purple-dark)",fontSize:11,fontWeight:700},children:t+1}),(0,ze.jsx)("p",{className:"font-body flex-1",style:{fontSize:14,lineHeight:1.65,color:"var(--tf-text-secondary)"},children:e})]},t))})]},e.id))}),(0,ze.jsxs)(On,{to:"/app/trauma","data-testid":"goto-trauma-from-grounding",className:"mt-8 flex items-center gap-3 p-4 rounded-2xl",style:{background:"var(--tf-pink-soft)",textDecoration:"none"},children:[(0,ze.jsxs)("div",{className:"flex-1",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-text)"},children:"Learn more about trauma responses"}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:12,color:"var(--tf-text-secondary)",marginTop:2},children:"Videos, the 5 trauma responses, and UK specialist help."})]}),(0,ze.jsx)(eo,{size:16,color:"var(--tf-purple)"})]}),(0,ze.jsx)("div",{className:"mt-10 pt-6",style:{borderTop:"1px solid var(--tf-card-border)"},children:(0,ze.jsxs)("p",{className:"font-body font-bold text-center",style:{fontSize:12.5,color:"var(--tf-purple-dark)",lineHeight:1.55},children:["If you are thinking of harming yourself, please call Samaritans on"," ",(0,ze.jsx)("a",{href:"tel:116123",className:"tf-link",children:"116 123"})," (24/7) \u2014 or 999 in immediate danger."]})})]})}const ui=[{id:"emergency",name:"999",label:"Emergency",body:"If you are in immediate danger or have just been assaulted. If you cannot speak, press 55 to alert the operator silently.",phone:"999"},{id:"police",name:"101",label:"Police non-emergency",body:"To report or ask for advice when it is not happening right now.",ph
2one:"101"},{id:"samaritans",name:"116 123",label:"Samaritans",body:"Free, 24/7 \u2014 for anyone struggling, in distress, or having thoughts of self-harm.",phone:"116123"}],fi=[{id:"rapecrisis",name:"Rape Crisis England & Wales",body:"24/7 free, confidential specialist support line for anyone 16+ affected by sexual violence, at any point in their life.",phone:"08088029999",phoneLabel:"0808 802 9999",url:"https://rapecrisis.org.uk"},{id:"newpathways",name:"New Pathways",body:"Wales-based charity offering counselling, ISVA support and SARC services for survivors of all genders.",phone:"01685379310",phoneLabel:"01685 379 310",url:"https://newpathways.org.uk"},{id:"survivorstrust",name:"The Survivors Trust",body:"UK-wide directory of specialist agencies. Helpline can refer you to your nearest member service.",phone:"08088010818",phoneLabel:"0808 801 0818",url:"https://thesurvivorstrust.org"},{id:"victimsupport",name:"Victim Support",body:"Free, confidential help for anyone affected by crime \u2014 whether or not you have reported.",phone:"08081689111",phoneLabel:"0808 168 9111",url:"https://www.victimsupport.org.uk"},{id:"galop",name:"Galop",body:"LGBT+ specialist support for survivors of sexual violence, domestic abuse and hate crime.",phone:"08009995428",phoneLabel:"0800 999 5428",url:"https://galop.org.uk"},{id:"safeline",name:"Safeline",body:"National helpline supporting survivors of sexual abuse and rape \u2014 including a men's helpline.",phone:"08088005005",phoneLabel:"0808 800 5005",url:"https://www.safeline.org.uk"},{id:"sarc",name:"SARCs \u2014 Sexual Assault Referral Centres",body:"Free medical care, emotional support and forensic examination \u2014 whether or not you decide to report.",url:"https://www.nhs.uk/service-search/other-services/Rape-and-sexual-assault-referral-centres/LocationSearch/364"}];function hi(){return(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"help-now-screen",children:[(0,ze.jsx)(io,{title:"Get Help Now \u2014 UK Helplines",description:"UK helplines you can contact right now \u2014 999, 101, Samaritans 116 123, Rape Crisis 0808 802 9999, Refuge 0808 2000 247, SurvivorsUK, Mankind Initiative, Men's Advice Line. Free and confidential, for women, men, non-binary and LGBT+ survivors.",path:"/app/help-now"}),(0,ze.jsx)("p",{className:"eyebrow",children:"GET HELP NOW"}),(0,ze.jsxs)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(28px, 4vw, 40px)",lineHeight:1.1,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:["You don't have to",(0,ze.jsx)("br",{}),"do this on your own."]}),(0,ze.jsx)("p",{className:"font-body mt-4 max-w-xl",style:{fontSize:15,color:"var(--tf-text-secondary)",lineHeight:1.65},children:"Below are UK services you can contact right now. All of them are free. You don't have to know what to say \u2014 they will help you find the words."}),(0,ze.jsx)("div",{className:"mt-6 flex gap-2 flex-wrap",children:(0,ze.jsx)(po,{label:"Print / Save this page"})}),(0,ze.jsxs)("div",{className:"mt-10",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"RIGHT NOW"}),(0,ze.jsx)("h2",{className:"font-heading mt-2 mb-5",style:{fontSize:24,color:"var(--tf-text)"},children:"If you need urgent help"}),(0,ze.jsx)("div",{className:"grid sm:grid-cols-3 gap-4",children:ui.map(e=>(0,ze.jsxs)("div",{className:"tf-card p-5","data-testid":"urgent-".concat(e.id),children:[(0,ze.jsx)("p",{className:"font-heading",style:{fontSize:32,color:"var(--tf-purple)",letterSpacing:"-0.01em",lineHeight:1},children:e.name}),(0,ze.jsx)("p",{className:"font-body font-bold mt-2",style:{fontSize:12,letterSpacing:"0.05em",color:"var(--tf-purple-dark)",textTransform:"uppercase"},children:e.label}),(0,ze.jsx)("p",{className:"font-body mt-2.5",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.55},children:e.body}),(0,ze.jsxs)("a",{href:"tel:".concat(e.phone),"data-testid":"urgent-call-".concat(e.id),className:"inline-flex items-center gap-1.5 mt-4 px-3.5 py-2 rounded-full font-bold",style:{background:"var(--tf-purple)",color:"#fff",fontSize:12.5,textDecoration:"none"},children:[(0,ze.jsx)(Zr,{size:13})," Call ",e.name]})]},e.id))})]}),(0,ze.jsxs)("div",{className:"mt-12",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SPECIALIST SUPPORT"}),(0,ze.jsx)("h2",{className:"font-heading mt-2 mb-5",style:{fontSize:24,color:"var(--tf-text)"},children:"Free, confidential helplines"}),(0,ze.jsx)("div",{className:"flex flex-col gap-3",children:fi.map(e=>(0,ze.jsxs)("div",{className:"tf-card p-5","data-testid":"spec-".concat(e.id),children:[(0,ze.jsx)("h3",{className:"font-heading",style:{fontSize:18,color:"var(--tf-text)"},children:e.name}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:e.body}),(0,ze.jsxs)("div",{className:"mt-3 flex flex-wrap gap-2",children:[e.phone&&(0,ze.jsxs)("a",{href:"tel:".concat(e.phone),className:"inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full font-bold",style:{background:"var(--tf-purple)",color:"#fff",fontSize:12,textDecoration:"none"},children:[(0,ze.jsx)(Zr,{size:12})," ",e.phoneLabel]}),e.url&&(0,ze.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full font-bold",style:{background:"var(--tf-bg)",color:"var(--tf-purple)",fontSize:12,border:"1px solid var(--tf-purple-light)",textDecoration:"none"},children:[(0,ze.jsx)(So,{size:12})," Visit website"]})]})]},e.id))})]})]})}const pi=Jn("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),mi=Jn("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]),yi=Jn("briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]),gi=Jn("door-open",[["path",{d:"M11 20H2",key:"nlcfvz"}],["path",{d:"M11 4.562v16.157a1 1 0 0 0 1.242.97L19 20V5.562a2 2 0 0 0-1.515-1.94l-4-1A2 2 0 0 0 11 4.561z",key:"au4z13"}],["path",{d:"M11 4H8a2 2 0 0 0-2 2v14",key:"74r1mk"}],["path",{d:"M14 12h.01",key:"1jfl7z"}],["path",{d:"M22 20h-3",key:"vhrsz"}]]);function vi(e){let{id:t,title:n,body:r,testid:o,icon:i}=e;const[s,l]=(0,a.useState)(!1);return(0,ze.jsxs)("button",{type:"button",onClick:()=>l(!s),"data-testid":o||"da-collapsible-".concat(t),className:"tf-card text-left p-5",style:{cursor:"pointer"},children:[(0,ze.jsxs)("div",{className:"flex items-center gap-3",children:[i&&(0,ze.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0",style:{background:"var(--tf-purple-light)",color:"var(--tf-purple-dark)"},children:(0,ze.jsx)(i,{size:18})}),(0,ze.jsx)("h3",{className:"font-heading flex-1",style:{fontSize:17,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:n}),s?(0,ze.jsx)(bo,{size:18,color:"var(--tf-text-muted)"}):(0,ze.jsx)(Ir,{size:18,color:"var(--tf-text-muted)"})]}),(0,ze.jsx)("div",{className:"mt-4 pt-4 tf-prose print-show","data-
2print-expand":"true",style:{borderTop:"1px solid var(--tf-card-border)",display:s?"block":"none"},children:(0,ze.jsx)("p",{style:{fontSize:14,lineHeight:1.7},children:r})})]})}function bi(e){let{title:t,items:n,icon:a,testid:r}=e;return(0,ze.jsxs)("div",{className:"tf-card p-5","data-testid":r,children:[(0,ze.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,ze.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-purple)"},children:(0,ze.jsx)(a,{size:18})}),(0,ze.jsx)("h3",{className:"font-heading",style:{fontSize:17,color:"var(--tf-text)"},children:t})]}),(0,ze.jsx)("ul",{className:"flex flex-col gap-2.5 mt-2",children:n.map((e,t)=>(0,ze.jsxs)("li",{className:"flex gap-2.5",children:[(0,ze.jsx)("span",{style:{width:5,height:5,borderRadius:2.5,background:"var(--tf-purple)",marginTop:9,flexShrink:0}}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:13.5,lineHeight:1.6,color:"var(--tf-text-secondary)"},children:e})]},t))})]})}function xi(e){let{stage:t,idx:n,isLast:r}=e;const[o,i]=(0,a.useState)(0===n);return(0,ze.jsxs)("div",{className:"relative pl-12","data-testid":"da-stage-".concat(t.id),children:[!r&&(0,ze.jsx)("span",{"aria-hidden":!0,className:"absolute",style:{left:18,top:36,bottom:-10,width:2,background:"linear-gradient(180deg, var(--tf-purple-light) 0%, transparent 100%)"}}),(0,ze.jsx)("div",{className:"absolute flex items-center justify-center",style:{left:0,top:0,width:38,height:38,borderRadius:19,background:"#fff",border:"2px solid var(--tf-purple)",color:"var(--tf-purple)",fontFamily:"Fraunces, serif",fontWeight:600,fontSize:15},children:n+1}),(0,ze.jsxs)("button",{type:"button",onClick:()=>i(!o),"data-testid":"da-stage-toggle-".concat(t.id),className:"w-full text-left tf-card p-5",style:{marginBottom:16,cursor:"pointer"},children:[(0,ze.jsxs)("div",{className:"flex items-start gap-3",children:[(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("h3",{className:"font-heading",style:{fontSize:19,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:t.title}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-purple)",fontWeight:700,letterSpacing:"0.02em"},children:t.subtitle})]}),o?(0,ze.jsx)(bo,{size:20,color:"var(--tf-text-muted)"}):(0,ze.jsx)(Ir,{size:20,color:"var(--tf-text-muted)"})]}),(0,ze.jsxs)("div",{className:"mt-4 pt-4 print-show","data-print-expand":"true",style:{borderTop:"1px solid var(--tf-card-border)",display:o?"block":"none"},children:[(0,ze.jsx)("div",{className:"tf-prose",children:t.body.split("\n\n").map((e,t)=>(0,ze.jsx)("p",{style:{fontSize:14,lineHeight:1.7},children:e},t))}),t.tips&&t.tips.length>0&&(0,ze.jsxs)("div",{className:"mt-4 p-4 rounded-xl",style:{background:"var(--tf-pink-soft)"},children:[(0,ze.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,ze.jsx)(xo,{size:15,color:"var(--tf-purple-dark)"}),(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:11.5,color:"var(--tf-purple-dark)",letterSpacing:"0.1em"},children:"GOOD TO KNOW"})]}),(0,ze.jsx)("ul",{className:"flex flex-col gap-2",children:t.tips.map((e,t)=>(0,ze.jsxs)("li",{className:"flex gap-2",children:[(0,ze.jsx)("span",{style:{width:5,height:5,borderRadius:2.5,background:"var(--tf-purple)",marginTop:9,flexShrink:0}}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:13,lineHeight:1.55,color:"var(--tf-text)"},children:e})]},t))})]})]})]})]})}function wi(){return(0,a.useEffect)(()=>{var e;if("undefined"===typeof window)return;const t=null===(e=window.location.hash)||void 0===e?void 0:e.replace("#","");if(!t)return;const n=setTimeout(()=>{const e=document.getElementById(t);e&&e.scrollIntoView({behavior:"smooth",block:"start"})},80);return()=>clearTimeout(n)},[]),(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"da-screen",children:[(0,ze.jsx)(io,{title:"Domestic Abuse \u2014 UK Guide for Survivors",description:"Coercive control, financial abuse, 'honour'-based abuse \u2014 the seven UK-recognised forms, your legal protections (Domestic Abuse Act 2021), safety planning, DA judicial process and specialist UK helplines for women, men, non-binary and LGBT+ survivors (Refuge, Women's Aid, Mankind Initiative, Men's Advice Line, NCDV, Galop).",path:"/app/domestic-abuse"}),(0,ze.jsx)("p",{className:"eyebrow",children:"DOMESTIC ABUSE \u2014 YOUR CALM GUIDE"}),(0,ze.jsxs)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(28px, 4vw, 36px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:["It isn't just bruises.",(0,ze.jsx)("br",{}),"It's a pattern."]}),(0,ze.jsx)("p",{className:"font-body mt-4 max-w-xl",style:{fontSize:14.5,color:"var(--tf-text-secondary)",lineHeight:1.65},children:"Domestic abuse takes many forms \u2014 physical, sexual, emotional, financial, coercive, digital. Cho
2ose your nation below so we can show you the right law, agencies and specialist support. You have the right to safety, to specialist support, and to leave \u2014 at the time and pace that is safest for you."}),(0,ze.jsx)(Lo,{testid:"da-nation-picker"}),(0,ze.jsx)("div",{className:"mt-6 flex gap-2 flex-wrap",children:(0,ze.jsx)(po,{label:"Print / Save this page"})}),(0,ze.jsx)("section",{className:"mt-6 tf-card p-5 sm:p-6","data-testid":"da-reassurance",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #FBEFF2 100%)",borderColor:"var(--tf-purple-light)"},children:(0,ze.jsxs)("div",{className:"flex items-start gap-4",children:[(0,ze.jsx)("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:"linear-gradient(135deg, var(--tf-pink) 0%, var(--tf-purple) 100%)",color:"#fff",boxShadow:"0 8px 22px rgba(217,169,180,0.32)"},children:(0,ze.jsx)(ta,{size:20})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple)"},children:"BEFORE YOU READ ON"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:"clamp(20px, 2.4vw, 23px)",color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:"You are not overreacting. A pattern is abuse \u2014 even without a single bruise."}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:"Coercive control, financial control, isolation, gaslighting, jealousy that calls itself love \u2014 these are abuse under UK law. You do not need physical injuries to deserve support, or to be believed."}),(0,ze.jsxs)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["You can read a little, leave, and come back. You can stay, plan, and leave when it is safest. ",(0,ze.jsx)("strong",{style:{color:"var(--tf-purple-dark)"},children:"You set the pace."})]}),(0,ze.jsx)("p",{className:"font-body mt-4 inline-flex items-center gap-2",style:{fontSize:11.5,fontWeight:700,letterSpacing:"0.16em",color:"var(--tf-purple-dark)"},children:"YOU ARE BELIEVED \xb7 YOU ARE NOT ALONE"})]})]})}),(0,ze.jsxs)("div",{className:"mt-6 rounded-2xl p-5 flex items-start gap-4",style:{background:"var(--tf-purple)"},"data-testid":"da-crisis-banner",children:[(0,ze.jsx)("div",{className:"w-11 h-11 rounded-full flex items-center justify-center flex-shrink-0",style:{background:"rgba(255,255,255,0.2)"},children:(0,ze.jsx)(pi,{size:20,color:"#fff"})}),(0,ze.jsxs)("div",{className:"flex-1",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:14,color:"#fff"},children:"In immediate danger?"}),(0,ze.jsxs)("p",{className:"font-body",style:{fontSize:13,color:"rgba(255,255,255,0.95)",marginTop:4,lineHeight:1.55},children:["Call ",(0,ze.jsx)("a",{href:"tel:999",className:"underline",style:{color:"#fff"},children:"999"}),". If you can't speak, dial 999 then press ",(0,ze.jsx)("strong",{children:"55"})," (Silent Solution) \u2014 the operator will know you need help. Or call the 24/7 National Domestic Abuse Helpline:"," ",(0,ze.jsx)("a",{href:"tel:08082000247",className:"underline",style:{color:"#fff"},children:"0808 2000 247"}),"."]})]})]}),(0,ze.jsx)(Po,{variant:"da"}),(0,ze.jsx)(On,{to:"/app/crossed-the-line","data-testid":"da-is-this-abuse",className:"mt-6 block tf-card tf-card-hover p-5",style:{textDecoration:"none",color:"var(--tf-text)",background:"#FFFDFA",borderColor:"var(--tf-purple-light)"},children:(0,ze.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,ze.jsxs)("div",{children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"IF YOU'RE DOUBTING YOURSELF"}),(0,ze.jsx)("h3",{className:"font-heading mt-1",style:{fontSize:20,color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:"Is this abuse?"}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"A gentle guide to recognising coercive control, emotional harm, financial abuse and digital monitoring \u2014 with quiet answers to the thoughts that keep survivors doubting themselves."})]}),(0,ze.jsx)(eo,{size:18,color:"var(--tf-purple-dark)",style:{flexShrink:0,marginTop:6}})]})}),(0,ze.jsxs)(Ao,{children:[(0,ze.jsxs)("div",{id:"types",className:"mt-10 mb-4",style:{scrollMarginTop:96},children:[(0,ze.jsx)("p",{className:"eyebrow",children:"WHAT DOMESTIC ABUSE LOOKS LIKE"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)"},children:"The seven forms recognised in UK law"}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:"The Domestic Abuse Act 2021 defines abuse broadly \u2014 not just physical. You may recognise one of these, several, or all of them."})]}),(0,ze.jsx)("div",{className:"flex flex-col gap-3",children:Na.map(e=>(0,ze.jsx)(vi,{id:e.id,title:e.title,body:e.body,testid:"da-type-".concat(e.id),icon:ta},e.id))}),(0,ze.jsxs)("div",{id:"legal",className:"mt-12 mb-4",style:{scrollMarginTop:96},children:[(0,ze.jsx)("p",{className:"eyebrow",children:"YOUR LEGAL PROTECTIONS"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)"},children:"UK laws on your side"}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:"Tap any law or order to read more. Legal aid is normally available to domestic abuse survivors, regardless of income."})]}),(0,ze.jsx)("div",{className:"flex flex-col gap-3",children:Ca.map(e=>(0,ze.jsx)(vi,{id:e.id,title:e.title,body:e.body,testid:"da-law-".concat(e.id),icon:ta},e.id))}),(0,ze.jsxs)("div",{id:"safety",className:"mt-12 mb-4",style:{scrollMarginTop:96},children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SAFETY PLANNING"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)"},children:"A safety plan, just for you"}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:Ea.intro})]}),(0,ze.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,ze.jsx)(bi,{title:"While still living together",items:Ea.whileLiving,icon:mi,testid:"safety-while-living"}),(0,ze.jsx)(bi,{title:"What to put in a 'go bag'",items:Ea.goBag,icon:yi,testid:"safety-go-bag"}),(0,ze.jsx)(bi,{title:"Leaving safely",items:Ea.leaving,icon:gi,testid:"safety-leaving"}),(0,ze.jsx)(bi,{title:"After you have left",items:Ea.afterLeaving,icon:xo,testid:"safety-after"})]}),(0,ze.jsxs)("div",{id:"process",className:"mt-12 mb-4",style:{scrollMarginTop:96},children:[(0,ze.jsx)("p",{className:"eyebrow",children:"THE JUDICIAL PROCESS FOR DOMESTIC ABUSE"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)"},children:"From recognising abuse to after the case"}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:"A trauma-informed walkthrough of how a domestic-abuse case can move through the UK system \u2014 including the steps you can take before any police involvement. Tap any stage to open it."})]}),(0,ze.jsx)("div",{"data-testid":"da-process",children:za.map((e,t)=>(0,ze.jsx)(xi,{stage:e,idx:t,isLast:t===za.length-1},e.id))}),(0,ze.jsxs)("div",{id:"rights",className:"mt-12 mb-4",style:{scrollMarginTop:96},children:[(0,ze.jsx)("p",{className:"eyebrow",children:"YOUR RIGHTS UNDER UK LAW"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)"},children:"What domestic-abuse survivors are entitled to"}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:"The Domestic Abuse Act 2021 and the Victims' Code give you specific rights. Tap any right to read more."})]}),(0,ze.jsx)("div",{className:"flex flex-col gap-3",children:Ta.map(e=>(0,ze.jsx)(vi,{id:e.id,title:e.title,body:e.body,testid:"da-right-".concat(e.id),icon:ta},e.id))}),(0,ze.jsxs)("div",{className:"mt-12 mb-4",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SPECIALIST UK HELP"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)"},children:"Helplines & services"}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:"All free. All confidential. You do not have to be ready to leave to call."})]}),(0,ze.jsx)("div",{className:"flex flex-col gap-3",children:Aa.map(e=>(0,ze.jsxs)("div",{className:"tf-card p-5","data-testid":"da-org-".concat(e.id),children:[e.hours&&(0,ze.jsxs)("div",{className:"flex items-center gap-1",style:{color:"var(--tf-text-muted)",fontSize:11},children:[(0,ze.jsx)(_o,{size:11}),(0,ze.jsx)("span",{className:"font-body",children:e.hours})]}),(0,ze.jsx)("h3",{className:"font-heading mt-2",style:{fontSize:18,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:e.name}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:12.5,color:"var(--tf-purple)",fontWeight:700,marginTop:2},children:e.tagline}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:e.description}),(0,ze.jsxs)("div",{className:"mt-4 flex flex-wrap gap-2",children:[e.phone&&(0,ze.jsxs)("a",{href:"tel:".concat(e.phone),"data-testid":"da-call-".concat(e.id),className:"inline-flex items-center gap-1.5 px-4 py-2 rounded-full font-bold",style:{background:"var(--tf-purple)",color:"#fff",fontSize:12.5,textDecoration:"none"},children:[(0,ze.jsx)(Zr,{size:13})," ",e.phoneLabel]}),e.website&&(0,ze.jsxs)("a",{href:e.website,target:"_blank",rel:"noopener noreferrer","data-testid":"da-web-".concat(e.id),className:"inline-flex items-center gap-1.5 px-4 py-2 rounded-full font-bold",style:{background:"#fff",color:"var(--tf-purple)",fontSize:12.5,border:"1px solid var(--tf-purple-light)",textDecoration:"none"},children:[(0,ze.jsx)(So,{size:13})," Visit website"]})]})]},e.id))})]}),(0,ze.jsxs)(zo,{children:[(0,ze.jsx)("section",{className:"mt-8 tf-card p-5 sm:p-6","data-testid":"da-scotland-scope",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #F4EFF8 100%)",borderColor:"var(--tf-purple-light)"},children:(0,ze.jsxs)("div",{className:"flex items-start gap-4",children:[(0,ze.jsx)("div",{className:"w-11 h-11 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:"linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%)",color:"#fff"},"aria-hidden":"true",children:(0,ze.jsx)(wo,{size:20})}),(0,ze.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"A COMPLETELY SEPARATE LEGAL SYSTEM"}),(0,ze.jsx)("h2",{className:"font-heading mt-1",style:{fontSize:"clamp(20px, 2.4vw, 23px)",color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:"You are reading domestic abuse in Scots law."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["Scotland has its own domestic-abuse statute \u2014 the"," ",(0,ze.jsx)("strong",{children:"Domestic Abuse (Scotland) Act 2018"})," \u2014 and in some ways it goes ",(0,ze.jsx)("strong",{children:"further"})," than E&W by treating physical abuse and coercive control as a single offence. Every section below is Scots law."]})]})]})}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"da-scot-types",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SCOTS LAW \xb7 WHAT DOMESTIC ABUSE LOOKS LIKE"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)"},children:"The single offence of \u201cabusive behaviour\u201d."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["The 2018 Act rolls up physical violence, threats, coercive control, isolation, financial abuse, monitoring, humiliation and sexual coercion into ",(0,ze.jsx)("strong",{children:"one offence"})," \u2014 \u201cengaging in an abusive course of behaviour\u201d. If a partner is doing any of the below, that alone is a crime in Scotland."]}),(0,ze.jsx)("ul",{className:"mt-5 grid sm:grid-cols-2 gap-3",style:{listStyle:"none",padding:0},children:[["Physical violence or threats","Hitting, restraining, throwing things, or threats of violence against you, children or pets."],["Coercive control","Rules, monitoring your movements, controlling what you wear or eat, tracking your phone."],["Financial abuse","Controlling your money, running up debt in your name, sabotaging your job."],["Isolation","Cutting you off from friends, family, work, faith community or online groups."],["Gaslighting & humiliation","Making you doubt yourself, name-calling, ridicule in public or private."],["Sexual coercion","Pressuring or forcing sex or sexual acts \u2014 a crime whether inside or outside a relationship."]].map(e=>{let[t,n]=e;return(0,ze.jsxs)("li",{className:"tf-card p-4",style:{borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-text)"},children:t}),(0,ze.jsx)("p",{className:"font-body mt-1.5",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.6},children:n})]},t)})})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"da-scot-legal",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SCOTS LAW \xb7 YOUR LEGAL PROTECTIONS"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)"},children:"Orders, disclosure and specialist advocacy."}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:"Scotland has its own protective orders and disclosure scheme. Legal aid is normally available for civil protective orders."}),(0,ze.jsx)("ul",{className:"mt-5 flex flex-col gap-3",style:{listStyle:"none",padding:0},children:[["Domestic Abuse (Scotland) Act 2018","Makes 'engaging in an abusive course of behaviour' a specific criminal offence \u2014 physical and psychological abuse together."],["DAPNs & DAPOs (2021 Act)","Police Scotland can issue a Domestic Abuse Protection Notice on the spot; a Sheriff can grant a longer Domestic Abuse Protection Order \u2014 banning contact, controlling behaviour and use of the home."],["DSDAS (the Scottish Clare\u2019s Law)","The Disclosure Scheme for Domestic Abuse Scotland: Right to Ask (public) and Power to Tell (police)."],["Non-harassment orders","Scottish courts can make one after conviction \u2014 breach is itself a criminal offence."],["MARAC (Scottish framework)","Multi-Agency Risk Assessment Conferences coordinated with Police Scotland Domestic Abuse Investigation Units."],["Scottish IDAA / ASSIST advocacy","Independent Domestic Abuse Advocacy from Scottish Women's Aid local services and ASSIST \u2014 free, confidential, independent of police."]].map(e=>{let[t,n]=e;return(0,ze.jsxs)("li",{className:"tf-card p-4",style:{borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-text)"},children:t}),(0,ze.jsx)("p",{className:"font-body mt-1.5",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.6},children:n})]},t)})})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"da-scot-helplines",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SCOTS LAW \xb7 SCOTTISH SPECIALIST HELPLINES"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)"},children:"Free, confidential, understand Scots law."}),(0,ze.jsx)("ul",{className:"mt-5 flex flex-col gap-3",style:{listStyle:"none",padding:0},children:[["Scotland's Domestic Abuse & Forced Marriage Helpline","0800 027 1234 \xb7 24 hours a day, every day","08000271234"],["Scottish Women's Aid","0131 226 6606 \xb7 Mon\u2013Fri office hours + local services","01312266606"],["Abused Men in Scotland (AMIS)","0808 800 0024 \xb7 Mon\u2013Fri office hours","08088000024"],["LGBT
2Helpline Scotland","0300 123 2523 \xb7 see website for hours","03001232523"]].map(e=>{let[t,n,a]=e;return(0,ze.jsxs)("li",{className:"tf-card p-4 flex items-start gap-3",style:{borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("div",{className:"w-9 h-9 rounded-xl flex items-center justify-center flex-shrink-0",style:{background:"var(--tf-purple)",color:"#fff"},"aria-hidden":"true",children:(0,ze.jsx)(wo,{size:16,strokeWidth:2.2})}),(0,ze.jsxs)("div",{className:"min-w-0",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-text)"},children:t}),(0,ze.jsx)("a",{href:"tel:".concat(a),className:"font-body",style:{fontSize:13,color:"var(--tf-purple-dark)",textDecoration:"underline",fontWeight:600},children:n})]})]},t)})})]})]}),(0,ze.jsxs)("section",{className:"mt-12 tf-card p-5 sm:p-6","data-testid":"da-consent-during-report",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #FBEFF2 100%)",borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"eyebrow",children:"CONSENT DURING YOUR REPORT"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"You keep the right to say yes \u2014 or no \u2014 at every step."}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:"Reporting does not mean losing control. Ask for time. Ask for an IDVA. Ask why anything is being requested."}),(0,ze.jsxs)("ul",{className:"mt-4 flex flex-col gap-2.5",style:{listStyle:"none",padding:0},children:[(0,ze.jsxs)("li",{className:"tf-card p-3.5",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)"},children:"An IDVA"}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"You choose whether to accept independent domestic-violence advocacy. It is free, confidential, and separate from the police."})]}),(0,ze.jsxs)("li",{className:"tf-card p-3.5",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)"},children:"A DASH risk assessment & MARAC referral"}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"For high-risk cases, agencies may share information at a MARAC (Multi-Agency Risk Assessment Conference). You can ask what is being shared and with whom."})]}),(0,ze.jsxs)("li",{className:"tf-card p-3.5",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)"},children:"Third-party materials"}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"Medical notes, phone messages, children's social-care records \u2014 you can refuse and ask why any specific item is needed."})]}),(0,ze.jsxs)("li",{className:"tf-card p-3.5",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)"},children:"Photographs, forensic evidence, medical records"}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"You choose whether photos are taken of any injuries, and whether medical records are shared with police."})]}),(0,ze.jsxs)("li",{className:"tf-card p-3.5",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)"},children:"A Victim Personal Statement & special measures"}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"You choose whether to write a VPS, and whether it is read out. Screens, video-link and a supporter can all be requested for court."})]}),(0,ze.jsxs)("li",{className:"tf-card p-3.5",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)"},children:"Withdrawing from the process"}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"You can pause or withdraw. In some DA cases (especially where coercive control is charged) the police can proceed without you \u2014 your wishes should still be recorded and taken into account."})]})]}),(0,ze.jsx)(On,{to:"/app/consent","data-testid":"da-to-consent",className:"inline-flex items-center gap-1.5 mt-5",style:{color:"var(--tf-purple-dark)",fontWeight:700,fontSize:13,textDecoration:"none"},children:"Read the full consent guide \u2192"})]}),(0,ze.jsxs)("div",{className:"mt-12 p-5 rounded-2xl",style:{background:"var(--tf-pink-soft)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold text-center",style:{fontSize:13,color:"var(--tf-text)",marginBottom:6},children:"You are not overreacting. You are not making it up. You are not to blame."}),(0,ze.jsx)("p",{className:"font-body text-center",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"Abuse thrives on isolation and self-doubt. Reaching out to a specialist helpline \u2014 even once, anonymously \u2014 is a powerful first step. They will not pressure you to do anything you're not ready for."})]})]})}
2const Si=Jn("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]),ki=Jn("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]),ji=Jn("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),Ni=Jn("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]),Ci=Jn("qr-code",[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]]),Ei=Jn("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);function Ai(){if("undefined"===typeof window)return"https://thefullimpact.org";try{const e=window.location.origin,t=new URL(e).hostname;return/preview\.emergentagent\.com$/i.test(t)?"https://thefullimpact.org":e}catch(e){return"https://thefullimpact.org"}}function zi(){const[e,t]=(0,a.useState)(""),[n,r]=(0,a.useState)(null),[o,i]=(0,a.useState)(!1),s=(0,a.useRef)(null),l=(0,a.useMemo)(()=>String(e||"").toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,40),[e]),c=n||l,d=(0,a.useMemo)(Ai,[]),u=c?"".concat(d,"/?src=qr&ref=").concat(c):"".concat(d,"/?src=qr"),f=u.replace(/^https?:\/\//,"");return(0,ze.jsxs)("section",{"data-testid":"stats-qr-builder",children:[(0,ze.jsxs)("div",{className:"mt-12 mb-3 flex items-center gap-2",children:[(0,ze.jsx)(Ci,{size:15,color:"var(--tf-purple-dark)","aria-hidden":"true"}),(0,ze.jsx)("p",{className:"eyebrow",children:"CUSTOM QR GENERATOR"})]}),(0,ze.jsxs)("p",{className:"font-body mb-4",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:["Make a QR code for a specific organisation (e.g. an SARC, ISVA service or university welfare office). Each scan is counted separately under"," ",(0,ze.jsx)("em",{children:"QR by source"})," below, so you can see which partners are handing the code out."]}),(0,ze.jsxs)("div",{className:"tf-card p-5 sm:p-6","data-testid":"qr-builder-card",children:[(0,ze.jsx)("label",{className:"font-body font-bold",htmlFor:"qr-label",style:{fontSize:13,color:"var(--tf-text)"},children:"Organisation or campaign name"}),(0,ze.jsx)("input",{id:"qr-label","data-testid":"qr-label-input",type:"text",placeholder:"e.g. SARC Manchester",value:e,maxLength:60,onChange:e=>{t(e.target.value),r(null)},className:"tf-focus",style:{display:"block",width:"100%",marginTop:8,padding:"10px 14px",border:"1px solid var(--tf-card-border)",borderRadius:12,fontSize:14,fontFamily:"inherit",color:"var(--tf-text)",background:"#fff"}}),(0,ze.jsxs)("p",{className:"font-body",style:{fontSize:12,color:"var(--tf-text-muted)",marginTop:6,lineHeight:1.5},children:["Slug: ",(0,ze.jsx)("code",{"data-testid":"qr-slug-preview",children:c||"(empty)"})," \u2014 this is the value that will appear in your stats."]}),(0,ze.jsx)("p",{className:"font-body font-bold mt-5",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"KNOWN PARTNERS"}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:12,color:"var(--tf-text-muted)",marginTop:4,lineHeight:1.5},children:"One-click chips for the QRs already out in the wild. Any of these will match existing UTM tags on printed materials."}),(0,ze.jsx)("div",{className:"flex flex-wrap gap-2 mt-2","data-testid":"qr-preset
2s",children:[{key:"gmp",label:"Greater Manchester Police"},{key:"askforangela",label:"Ask for Angela"},{key:"frsa",label:"FRSA"},{key:"mopac",label:"MOPAC"},{key:"manchestercity",label:"Manchester City / matchday"},{key:"sticker",label:"General stickers"},{key:"leaflet",label:"General leaflets"},{key:"general",label:"General Full Impact QR"}].map(e=>(0,ze.jsx)("button",{type:"button","data-testid":"qr-preset-".concat(e.key),onClick:()=>{t(e.label),r(e.key)},className:"tf-focus",style:{background:c===e.key?"var(--tf-purple)":"#fff",color:c===e.key?"#fff":"var(--tf-purple-dark)",border:"1px solid var(--tf-purple-light)",borderRadius:999,padding:"6px 12px",fontSize:12,fontWeight:700,cursor:"pointer"},children:e.label},e.key))}),(0,ze.jsxs)("div",{className:"mt-5 flex flex-col sm:flex-row gap-5 sm:items-start",children:[(0,ze.jsx)("div",{ref:s,"data-testid":"qr-preview",className:"flex-shrink-0 mx-auto sm:mx-0 p-3 rounded-xl",style:{background:"var(--tf-bg-secondary)",border:"1px solid var(--tf-card-border)",lineHeight:0},children:(0,ze.jsx)("div",{className:"p-2 rounded-lg bg-white",children:(0,ze.jsx)(Ar,{value:u,size:180,level:"M",includeMargin:!1,bgColor:"#ffffff",fgColor:"#3F1F5B"})})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"LINK ENCODED IN THE QR"}),(0,ze.jsx)("p",{className:"font-body mt-2","data-testid":"qr-encoded-url",style:{fontSize:12.5,lineHeight:1.5,color:"var(--tf-text)",wordBreak:"break-all",background:"var(--tf-bg-secondary)",border:"1px solid var(--tf-card-border)",borderRadius:10,padding:"10px 12px"},children:f}),(0,ze.jsxs)("div",{className:"mt-3 flex flex-wrap gap-2",children:[(0,ze.jsx)("button",{type:"button",onClick:async()=>{try{await navigator.clipboard.writeText(u),i(!0),setTimeout(()=>i(!1),1600)}catch(e){}},"data-testid":"qr-copy-button",className:"inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full font-bold tf-focus",style:{background:o?"var(--tf-purple)":"#fff",color:o?"#fff":"var(--tf-purple-dark)",border:"1px solid var(--tf-purple-light)",fontSize:12.5,minHeight:36},children:o?(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)(zr,{size:13,strokeWidth:2.4})," Link copied"]}):(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)(Tr,{size:13,strokeWidth:2.2})," Copy link"]})}),(0,ze.jsxs)("button",{type:"button",onClick:()=>{var e;const t=null===(e=s.current)||void 0===e?void 0:e.querySelector("svg");if(!t)return;const n=t.cloneNode(!0);n.setAttribute("xmlns","http://www.w3.org/2000/svg");const a=(new XMLSerializer).serializeToString(n),r=new Blob([a],{type:"image/svg+xml;charset=utf-8"}),o=URL.createObjectURL(r),i=new Image;i.onload=()=>{const e=880,t=document.createElement("canvas");t.width=e,t.height=e;const n=t.getContext("2d");n.fillStyle="#ffffff",n.fillRect(0,0,e,e),n.drawImage(i,0,0,e,e),URL.revokeObjectURL(o);const a=t.toDataURL("image/png"),r=document.createElement("a");r.href=a,r.download="tf-qr-".concat(c||"default",".png"),document.body.appendChild(r),r.click(),document.body.removeChild(r)},i.src=o},"data-testid":"qr-download-button",disabled:!c,className:"inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full font-bold tf-focus",style:{background:c?"var(--tf-purple)":"#E7E1EF",color:c?"#fff":"var(--tf-text-muted)",border:"none",fontSize:12.5,minHeight:36,cursor:c?"pointer":"not-allowed"},children:[(0,ze.jsx)(ji,{size:13,strokeWidth:2.2})," Download PNG"]})]}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:11.5,color:"var(--tf-text-muted)",marginTop:10,lineHeight:1.5},children:"Enter a name and the Download button becomes active. The PNG saves at ~800 \xd7 800 px \u2014 big enough for print. Send the same QR to the same organisation each time to keep their counter accurate."})]})]})]})]})}const Ti="".concat("https://thefullimpact.org","/api"),Ri="tfi_admin_key_v1",Fi={landing:"Landing page",home:"Home",process:"Sexual-violence judicial process",rights:"Your rights",consent:"Consent",crossed_the_line:"Was it abuse or assault?",domestic_abuse:"Domestic abuse",support:"Support organisations",journal:"Private journal",guided_journal:"Guided journal",faq:"FAQ",trauma:"Trauma & healing",grounding:"Grounding",help_now:"Help now"},Pi=[{slug:"share-copy",label:"Copy-link clicks"},{slug:"share-native",label:"Share\u2026 taps (native share)"},{slug:"share-print",label:"Print-card clicks"},{slug:"share-print-poster",label:"Print 1 A5-poster clicks"},{slug:"share-print-poster-2up-a4",label:"Print 2 on A4 clicks"},{slug:"share-print-poster-4up-a3",label:"Print 4 on A3 clicks"},{slug:"share-print-poster-4up-a4-mini",label:"Print 4 handouts on A4 clicks"},{slug:"consent-print-pocket-1",label:"Print 1 consent pocket card clicks"},{slug:"consent-print-pocket-10-a4",label:"Print 10 consent pocket cards clicks"},{slug:"arrival-qr",label:"Visits from QR-code scans"}
2,{slug:"arrival-share-copy",label:"Visits from copied links"},{slug:"arrival-share-native",label:"Visits from native-share links"},{slug:"arrival-share-print",label:"Visits from printed cards"}],Ii=new Set(Pi.map(e=>e.slug)),Mi=new Set(["nation_ew","nation_scotland"]),Li=new Set([...Ii,...Mi]),Oi=[{slug:"gmp",label:"Greater Manchester Police"},{slug:"askforangela",label:"Ask for Angela"},{slug:"frsa",label:"FRSA"},{slug:"mopac",label:"MOPAC"},{slug:"manchestercity",label:"Manchester City / matchday"},{slug:"sticker",label:"General stickers"},{slug:"leaflet",label:"General leaflets"},{slug:"general",label:"General Full Impact QR"}],Di=Object.fromEntries(Oi.map(e=>[e.slug,e.label])),Hi="arrival-partner-",_i=e=>"string"===typeof e&&e.startsWith(Hi),Wi=e=>e.replace(Hi,"").split("-").filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ");function Ui(e){return new Intl.NumberFormat("en-GB").format(e)}function Vi(e){if(!e)return"\u2014";try{return new Date(e).toLocaleString("en-GB",{day:"numeric",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"})}catch(t){return e}}function Yi(e){if(null===e||void 0===e)return"";const t=String(e);return/[",\n\r]/.test(t)?'"'.concat(t.replace(/"/g,'""'),'"'):t}function Bi(e){const t=function(e){const t=(new Date).toISOString(),n=[];n.push("# The Full Impact \u2014 anonymous visit stats export"),n.push("# Generated: ".concat(t)),n.push("# This export contains aggregate page-view counts only."),n.push("# No IP addresses, cookies, user agents or sessions are collected or exported."),n.push(""),n.push("## Summary"),n.push("metric,value"),n.push("total_page_views,".concat(e.total||0)),n.push(""),n.push("## Pages"),n.push("page_slug,page_label,count,last_seen"),(e.events||[]).filter(e=>!Li.has(e.event)&&!_i(e.event)).forEach(e=>{const t=e.event||e.name||"",a=Fi[t]||t;n.push([Yi(t),Yi(a),Yi(e.count||0),Yi(e.last_seen||"")].join(","))}),n.push(""),n.push("## Share & QR activity"),n.push("event_slug,event_label,count,last_seen");{const t=Object.fromEntries((e.events||[]).map(e=>[e.event,e]));Pi.forEach(e=>{const a=t[e.slug];n.push([Yi(e.slug),Yi(e.label),Yi(a&&a.count||0),Yi(a&&a.last_seen||"")].join(","))})}n.push(""),n.push("## QR by source (partner-tagged)"),n.push("partner_slug,partner_label,count,last_seen");{const t=new Map;Oi.forEach(e=>{t.set(e.slug,{slug:e.slug,label:e.label,count:0,last_seen:""})}),(e.events||[]).forEach(e=>{if(!_i(e.event))return;const n=e.event.replace(Hi,"");t.set(n,{slug:n,label:Di[n]||Wi(e.event),count:e.count||0,last_seen:e.last_seen||""})}),Array.from(t.values()).sort((e,t)=>(t.count||0)-(e.count||0)||e.label.localeCompare(t.label)).forEach(e=>{n.push([Yi(e.slug),Yi(e.label),Yi(e.count),Yi(e.last_seen)].join(","))})}return n.push(""),n.push("## Traffic sources (referrer domains)"),n.push("source,count,last_seen"),(e.sources||[]).forEach(e=>{n.push([Yi(e.source||"(direct)"),Yi(e.count||0),Yi(e.last_seen||"")].join(","))}),n.push(""),n.push("## Hour of day (0\u201323, UK time)"),n.push("hour,count"),(e.hours||[]).forEach(e=>{n.push("".concat(e.hour,",").concat(e.count||0))}),n.push(""),n.push("## Day of week (0=Sun \u2026 6=Sat)"),n.push("dow,count"),(e.dow||[]).forEach(e=>{n.push("".concat(e.dow,",").concat(e.count||0))}),n.push(""),n.push("## Daily totals (last 30 days)"),n.push("date,count"),(e.daily||[]).forEach(e=>{n.push("".concat(Yi(e.date||""),",").concat(e.count||0))}),n.join("\n")}(e),n=new Blob(["\ufeff"+t],{type:"text/csv;charset=utf-8"}),a=URL.createObjectURL(n),r=(new Date).toISOString().slice(0,10),o=document.createElement("a");o.href=a,o.download="thefullimpact-anonymous-stats-".concat(r,".csv"),o.rel="noopener",o.style.display="none",document.body.appendChild(o),o.click(),setTimeout(()=>{document.body.removeChild(o),URL.revokeObjectURL(a)},200)}function qi(e){let{onSubmit:t,error:n}=e;const{t:r}=er(),[o,i]=(0,a.useState)(""),s="stats-admin-key",l="stats-admin-key-error",c="stats-admin-key-help";return(0,ze.jsxs)("form",{onSubmit:e=>{e.preventDefault(),o.trim()&&t(o.trim())},className:"tf-card p-8 mt-10 max-w-md mx-auto","data-testid":"stats-login","aria-labelledby":"stats-login-title",noValidate:!0,children:[(0,ze.jsx)("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center mb-5 mx-auto",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-purple)"},"aria-hidden":"true",children:(0,ze.jsx)(Si,{size:20})}),(0,ze.jsx)("h2",{id:"stats-login-title",className:"font-heading text-center",style:{fontSize:22,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:r("stats.login.title")}),(0,ze.jsx)("p",{id:c,className:"font-body text-center mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:r("stats.login.help")}),(0,ze.jsx)("label",{htmlFor:s,className:"font-body font-bold mt-6 block",style:{fontSize:12.5,color:"var(--tf-text)",letterSpacing:"0.02em"},children:r("stats.login.label")}),(0,ze.jsx)("input",{id:s,name:"admin-key",type:"password",value:o,onChange:e=>i(e.target.value),autoFocus:!0,autoComplete:"current-password","aria-required":"true","aria-invalid":Boolean(n),"aria-describedby":"".concat(c).concat(n?" ".concat(l):""),"data-testid":"stats-password-input",className:"w-full mt-2 p-3.5 rounded-xl outline-none font-body tf-focus",style:{background:"var(--tf-bg)",border:"1px solid ".concat(n?"var(--tf-danger, #B85C6F)":"var(--tf-card-border)"),fontSize:15,color:"var(--tf-text)",minHeight:44}}),n&&(0,ze.jsx)("p",{id:l,role:"alert",className:"font-body mt-3 text-center",style:{fontSize:12.5,color:"var(--tf-danger, #B85C6F)"},children:n}),(0,ze.jsx)("button",{type:"submit","data-testid":"stats-password-submit",disabled:!o.trim(),className:"tf-btn-primary w-full justify-center mt-4 tf-focus",style:{opacity:o.trim()?1:.5,minHeight:44},children:r("stats.login.submit")})]})}function Gi(){const{t:e}=er(),[t,n]=(0,a.useState)(()=>{try{return localStorage.getItem(Ri)||""}catch(e){return""}}),[r,o]=(0,a.useState)(null),[i,s]=(0,a.useState)(!1),[l,c]=(0,a.useState)(null),d=async a=>{const r=void 0!==a?a:t;if(r){s(!0),c(null);try{const t=await fetch("".concat(Ti,"/stats"),{headers:{"X-Admin-Key":r}});if(401===t.status){c(e("stats.login.error")),n("");try{localStorage.removeItem(Ri)}catch(i){}return void o(null)}if(!t.ok)throw new Error("HTTP ".concat(t.status));const a=await t.json();o(a)}catch(Ys){c(Ys.message||"Failed to load stats")}
2finally{s(!1)}}else o(null)};(0,a.useEffect)(()=>{t&&Promise.resolve().then(()=>d(t))},[]);const u=e=>{n(e);try{localStorage.setItem(Ri,e)}catch(t){}d(e)};return t?(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"stats-screen",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"ANONYMOUS USAGE"}),(0,ze.jsxs)("div",{className:"flex items-end justify-between gap-3 flex-wrap mt-3",children:[(0,ze.jsx)("h1",{className:"font-heading",style:{fontSize:"clamp(28px, 4vw, 36px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"How many people The Full Impact has reached."}),(0,ze.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,ze.jsxs)("button",{type:"button",onClick:()=>d(),"data-testid":"stats-refresh",className:"inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full font-bold",style:{background:"#fff",color:"var(--tf-purple)",border:"1px solid var(--tf-purple-light)",fontSize:12,cursor:"pointer"},children:[(0,ze.jsx)(ki,{size:13}),"Refresh"]}),(0,ze.jsxs)("button",{type:"button",onClick:()=>r&&Bi(r),disabled:!r,"data-testid":"stats-download-csv",className:"inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full font-bold",style:{background:r?"var(--tf-purple)":"var(--tf-bg-secondary)",color:r?"#fff":"var(--tf-text-muted)",border:"none",fontSize:12,cursor:r?"pointer":"not-allowed",opacity:r?1:.6},children:[(0,ze.jsx)(ji,{size:13}),"Download CSV"]}),(0,ze.jsxs)("button",{type:"button",onClick:()=>{n(""),o(null);try{localStorage.removeItem(Ri)}catch(e){}},"data-testid":"stats-signout",className:"inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full font-bold",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-text-secondary)",border:"none",fontSize:12,cursor:"pointer"},children:[(0,ze.jsx)(ca,{size:13}),"Sign out"]})]})]}),(0,ze.jsxs)("p",{className:"font-body mt-4 max-w-xl",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.65},children:["We count page visits, nothing else. No IP addresses, no cookies, no identifiers \u2014 only a running tally of how many times each section has been opened. Tap"," ",(0,ze.jsx)("strong",{children:"Download CSV"})," to save an anonymous copy for funders or your board \u2014 it contains only these aggregate numbers, nothing personal."]}),i&&(0,ze.jsx)("p",{className:"font-body mt-8",style:{color:"var(--tf-text-secondary)"},children:"Loading\u2026"}),l&&(0,ze.jsx)("div",{className:"mt-6 p-4 rounded-2xl",style:{background:"var(--tf-pink-soft)",color:"var(--tf-text)"},children:(0,ze.jsx)("p",{className:"font-body",style:{fontSize:13},children:l})}),r&&(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsxs)("div",{className:"tf-card mt-8 p-6 flex items-center gap-4","data-testid":"stats-total",style:{background:"linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%)",color:"#fff",border:"none"},children:[(0,ze.jsx)("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:"rgba(255,255,255,0.18)"},children:(0,ze.jsx)(Ni,{size:22})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:11.5,letterSpacing:"0.18em"},children:"TOTAL PAGE VISITS"}),(0,ze.jsx)("p",{className:"font-heading",style:{fontSize:36,lineHeight:1,marginTop:4,letterSpacing:"-0.02em"},children:Ui(r.total||0)})]})]}),(()=>{const e=Object.fromEntries((r.events||[]).map(e=>[e.event,e])),t=e.nation_ew&&e.nation_ew.count||0,n=e.nation_scotland&&e.nation_scotland.count||0,a=t+n,o=a?Math.round(t/a*100):0,i=a?100-o:0;return(0,ze.jsxs)("div",{className:"tf-card mt-4 p-5","data-testid":"stats-nation-breakdown",children:[(0,ze.jsxs)("div",{className:"flex items-center gap-2",children:[(0,ze.jsx)(wo,{size:13,color:"var(--tf-purple-dark)","aria-hidden":"true"}),(0,ze.jsx)("p",{className:"eyebrow",children:"NATION PICKED BY SURVIVORS"})]}),(0,ze.jsx)("p",{className:"font-body mt-1.5",style:{fontSize:12,color:"var(--tf-text-muted)",lineHeight:1.55},children:"Counts every time someone taps a nation in the picker. Anonymous \u2014 no timestamps, no location, no user data."}),(0,ze.jsxs)("div",{className:"mt-4 grid grid-cols-2 gap-3",children:[(0,ze.jsxs)("div",{className:"tf-card p-3","data-testid":"stats-nation-ew",style:{borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"ENGLAND & WALES"}),(0,ze.jsx)("p",{className:"font-heading mt-1",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1},children:Ui(t)}),(0,ze.jsxs)("p",{className:"font-body mt-0.5",style:{fontSize:11,color:"var(--tf-text-muted)"},children:[o,"% of nation picks"]})]}),(0,ze.jsxs)("div",{className:"tf-card p-3","data-testid":"stats-nation-scotland",style:{borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"SCOTLAND"}),(0,ze.jsx)("p",{className:"font-heading mt-1",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1},children:Ui(n)}),(0,ze.jsxs)("p",{className:"font-body mt-0.5",style:{fontSize:11,color:"var(--tf-text-muted)"},children:[i,"% of nation picks"]})]})]}),(0,ze.jsxs)("div",{className:"mt-4 rounded-full overflow-hidden flex",style:{background:"var(--tf-bg-secondary)",height:8},"aria-hidden":"true",children:[(0,ze.jsx)("div",{style:{width:"".concat(o,"%"),background:"linear-gradient(90deg, var(--tf-purple) 0%, var(--tf-purple-dark) 100%)",transition:"width 0.6s ease"}}),(0,ze.jsx)("div",{style:{width:"".concat(i,"%"),background:"linear-gradient(90deg, var(--tf-pink) 0%, #C97F97 100%)",transition:"width 0.6s ease"}})]}),0===a&&(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:12,color:"var(--tf-text-muted)",lineHeight:1.55},children:"No nation picks recorded yet. Counts appear here as survivors tap the nation picker on any guide."})]})})(),(()=>{const e=Object.fromEntries((r.events||[]).map(e=>[e.event,e])),t=Pi.map(t=>({slug:t.slug,label:t.label,count:e[t.slug]&&e[t.slug].count||0,last_seen:e[t.slug]&&e[t.slug].last_seen||null})),n=t.reduce((e,t)=>
2e+t.count,0),a=Math.max(1,...t.map(e=>e.count));return(0,ze.jsxs)("section",{"data-testid":"stats-share-section",children:[(0,ze.jsxs)("div",{className:"mt-12 mb-3 flex items-center gap-2",children:[(0,ze.jsx)(Ni,{size:15,color:"var(--tf-purple)"}),(0,ze.jsx)("p",{className:"eyebrow",children:"SHARE & QR ACTIVITY"})]}),(0,ze.jsxs)("p",{className:"font-body mb-4",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:["How often the Share-this-site card is used, and how many visitors arrive from a QR-code scan, a copied link, the native share sheet, or a printed card. All aggregate, all anonymous \u2014 no idea"," ",(0,ze.jsx)("em",{children:"who"})," shared or scanned."]}),(0,ze.jsxs)("div",{className:"tf-card p-5 mb-4","data-testid":"stats-share-total",style:{background:"var(--tf-bg-secondary)",borderColor:"var(--tf-card-border)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"TOTAL SHARE EVENTS"}),(0,ze.jsx)("p",{className:"font-heading mt-1",style:{fontSize:26,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:Ui(n)})]}),(0,ze.jsxs)("div",{className:"tf-card p-4 flex flex-col gap-3",children:[t.map(e=>{const t=Math.round(e.count/a*100);return(0,ze.jsxs)("div",{"data-testid":"share-".concat(e.slug),children:[(0,ze.jsxs)("div",{className:"flex items-baseline justify-between gap-3",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-text)"},children:e.label}),(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-purple-dark)"},children:Ui(e.count)})]}),(0,ze.jsx)("div",{className:"mt-1.5 rounded-full overflow-hidden",style:{background:"var(--tf-bg-secondary)",height:5},children:(0,ze.jsx)("div",{style:{width:"".concat(t,"%"),height:"100%",background:"linear-gradient(90deg, var(--tf-purple) 0%, var(--tf-pink) 100%)"}})}),e.last_seen&&(0,ze.jsxs)("p",{className:"font-body mt-1",style:{fontSize:11,color:"var(--tf-text-muted)"},children:["Last: ",Vi(e.last_seen)]})]},e.slug)}),0===n&&(0,ze.jsx)("p",{className:"font-body",style:{color:"var(--tf-text-secondary)",fontSize:13},children:"No share activity recorded yet. Once ISVAs, IDVAs or others start scanning your QR code or tapping the Share c
2ard, the counts will appear here."})]})]})})(),(0,ze.jsx)(zi,{}),(()=>{const e=new Map;Oi.forEach(t=>{e.set(t.slug,{slug:t.slug,label:t.label,count:0,last_seen:null})}),(r.events||[]).forEach(t=>{if(!_i(t.event))return;const n=t.event.replace(Hi,""),a=Di[n]||Wi(t.event);e.set(n,{slug:n,label:a,count:t.count||0,last_seen:t.last_seen||null})});const t=Array.from(e.values()).sort((e,t)=>(t.count||0)!==(e.count||0)?(t.count||0)-(e.count||0):e.label.localeCompare(t.label)),n=Math.max(1,...t.map(e=>e.count||0)),a=t.reduce((e,t)=>e+(t.count||0),0);return(0,ze.jsxs)("section",{"data-testid":"stats-qr-by-source",children:[(0,ze.jsxs)("div",{className:"mt-12 mb-3 flex items-center gap-2",children:[(0,ze.jsx)(Ci,{size:15,color:"var(--tf-purple)"}),(0,ze.jsx)("p",{className:"eyebrow",children:"QR BY SOURCE"})]}),(0,ze.jsxs)("p",{className:"font-body mb-4",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:["Scans of each partner-tagged QR code. Your 8 known partners are always shown \u2014 a ",(0,ze.jsx)("strong",{children:"0"})," means that QR hasn't been scanned yet. Any new partner slugs that appear via UTM tags will slot in automatically."]}),(0,ze.jsxs)("div",{className:"tf-card p-4 mb-4","data-testid":"stats-partner-total",style:{background:"var(--tf-bg-secondary)",borderColor:"var(--tf-card-border)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"TOTAL PARTNER SCANS"}),(0,ze.jsx)("p",{className:"font-heading mt-1",style:{fontSize:22,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:Ui(a)})]}),(0,ze.jsx)("div",{className:"tf-card p-4 flex flex-col gap-3",children:t.map(e=>{const t=Math.round((e.count||0)/n*100),a=Boolean(Di[e.slug]);return(0,ze.jsxs)("div",{"data-testid":"partner-".concat(e.slug),children:[(0,ze.jsxs)("div",{className:"flex items-baseline justify-between gap-3",children:[(0,ze.jsxs)("div",{className:"min-w-0",children:[(0,ze.jsxs)("p",{className:"font-body font-bold truncate",style:{fontSize:13.5,color:"var(--tf-text)"},title:e.slug,children:[e.label,!a&&(0,ze.jsx)("span",{className:"font-body",style:{fontSize:10,letterSpacing:"0.18em",color:"var(--tf-purple-dark)",marginLeft:8,padding:"1px 6px",background:"var(--tf-bg-secondary)",borderRadius:6},children:"NEW"})]}),(0,ze.jsxs)("p",{className:"font-body",style:{fontSize:11,color:"var(--tf-text-muted)"},children:["utm_source=",e.slug]})]}),(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:15,color:e.count>0?"var(--tf-purple-dark)":"var(--tf-text-muted)"},children:Ui(e.count||0)})]}),(0,ze.jsx)("div",{className:"mt-1.5 rounded-full overflow-hidden",style:{background:"var(--tf-bg-secondary)",height:5},children:(0,ze.jsx)("div",{style:{width:"".concat(t,"%"),height:"100%",background:e.count>0?"linear-gradient(90deg, var(--tf-purple) 0%, var(--tf-pink) 100%)":"transparent"}})}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:11,color:"var(--tf-text-muted)"},children:e.last_seen?"Last scan: ".concat(Vi(e.last_seen)):"No scans yet"})]},e.slug)})})]})})(),(0,ze.jsxs)("div",{className:"mt-12 mb-3 flex items-center gap-2",children:[(0,ze.jsx)(Ni,{size:15,color:"var(--tf-purple)"}),(0,ze.jsx)("p",{className:"eyebrow",children:"PAGE VIEWS"})]}),(0,ze.jsxs)("div",{className:"flex flex-col gap-3",children:[(r.events||[]).filter(e=>!Li.has(e.event)&&!_i(e.event)).map(e=>{const t=(r.events||[]).filter(e=>!Li.has(e.event)&&!_i(e.event)),n=Math.max(1,...t.map(e=>e.count||0)),a=Math.round((e.count||0)/n*100);return(0,ze.jsxs)("div",{className:"tf-card p-4","data-testid":"stats-".concat(e.event),children:[(0,ze.jsxs)("div",{className:"flex items-baseline justify-between gap-3",children:[(0,ze.jsx)("p",{className:"font-heading",style:{fontSize:15.5,color:"var(--tf-text)"},children:Fi[e.event]||e.event}),(0,ze.jsx)("p",{className:"font-heading",style:{fontSize:18,color:"var(--tf-purple)",letterSpacing:"-0.01em"},children:Ui(e.count||0)})]}),(0,ze.jsx)("div",{className:"mt-3 rounded-full overflow-hidden",style:{background:"var(--tf-bg-secondary)",height:6},children:(0,ze.jsx)("div",{style:{width:"".concat(a,"%"),height:"100%",background:"linear-gradient(90deg, var(--tf-purple) 0%, var(--tf-pink) 100%)",transition:"width 0.6s ease"}})}),(0,ze.jsxs)("p",{className:"font-body mt-2",style:{fontSize:11,color:"var(--tf-text-muted)"},children:["Last visited: ",Vi(e.last_seen)]})]},e.event)}),0===(r.events||[]).filter(e=>!Li.has(e.event)&&!_i(e.event)).length&&(0,ze.jsx)("p",{className:"font-body",style:{color:"var(--tf-text-secondary)",fontSize:13.5},children:"No visits recorded yet. Numbers will appear here as people open the site."})]}),(0,ze.jsxs)("div",{className:"mt-12 mb-3 flex items-center gap-2",children:[(0,ze.jsx)(wo,{size:15,color:"var(--tf-purple)"}),(0,ze.jsx)("p",{className:"eyebrow",children:"WHERE VISITS COME FROM"})]}),(0,ze.jsx)("p",{className:"font-body mb-4",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:"Based on the browser referrer \u2014 \u201cDirect\u201d means the visitor typed the address, used a bookmark, or came from a private app (e.g. iMessage, email apps often hide the referrer)."}),(0,ze.jsx)("div",{className:"tf-card p-4 flex flex-col gap-2.5",children:(()=>{const e=r.sources||[];if(0===e.length)return(0,ze.jsx)("p",{className:"font-body",style:{fontSize:13,color:"var(--tf-text-muted)"},children:"No source data yet."});const t=Math.max(1,...e.map(e=>e.count||0));return e.map(e=>{const n=Math.round((e.count||0)/t*100);return(0,ze.jsxs)("div",{"data-testid":"source-".concat(e.source),children:[(0,ze.jsxs)("div",{className:"flex items-baseline justify-between gap-3",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-text)"},children:e.source}),(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-purple)"},children:Ui(e.count||0)})]}),(0,ze.jsx)("div",{className:"mt-1.5 rounded-full overflow-hidden",style:{background:"var(--tf-bg-secondary)",height:5},children:(0,ze.jsx)("div",{style:{width:"".concat(n,"%"),height:"100%",background:"linear-gradient(90deg, var(--tf-purple) 0%, var(--tf-pink) 100%)"}})})]},e.source)})})()}),(0,ze.jsxs)("div",{className:"mt-10 mb-3 flex items-center gap-2",children:[(0,ze.jsx)(_o,{size:15,color:"var(--tf-purple)"}),(0,ze.jsx)("p",{className:"eyebrow",children:"WHEN VISITS HAPPEN (HOUR OF DAY)"})]}),(0,ze.jsx)("p",{className:"font-body mb-3",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:"Local time of the visitor. Tallest bar = busiest hour."}),(0,ze.jsxs)("div",{className:"tf-card p-5",children:[(0,ze.jsx)("div",{className:"grid",style:{gridTemplateColumns:"repeat(24,
21fr)",gap:4,alignItems:"end",minHeight:110},children:Array.from({length:24},(e,t)=>{const n=(r.hours||[]).find(e=>e.hour===t),a=(null===n||void 0===n?void 0:n.count)||0,o=Math.max(1,...(r.hours||[]).map(e=>e.count||0)),i=Math.max(4,Math.round(a/o*100));return(0,ze.jsx)("div",{className:"flex flex-col items-center gap-1","data-testid":"hour-".concat(t),children:(0,ze.jsx)("div",{title:"".concat(t,":00 \u2014 ").concat(a," visits"),style:{width:"100%",height:"".concat(i,"%"),minHeight:4,background:a>0?"linear-gradient(180deg, var(--tf-pink) 0%, var(--tf-purple) 100%)":"var(--tf-bg-secondary)",borderRadius:3}})},t)})}),(0,ze.jsxs)("div",{className:"grid mt-2",style:{gridTemplateColumns:"repeat(8, 1fr)",fontSize:9.5,color:"var(--tf-text-muted)",fontWeight:600,textAlign:"center"},children:[(0,ze.jsx)("span",{children:"0"}),(0,ze.jsx)("span",{children:"3"}),(0,ze.jsx)("span",{children:"6"}),(0,ze.jsx)("span",{children:"9"}),(0,ze.jsx)("span",{children:"12"}),(0,ze.jsx)("span",{children:"15"}),(0,ze.jsx)("span",{children:"18"}),(0,ze.jsx)("span",{children:"21"})]})]}),(0,ze.jsxs)("div",{className:"mt-10 mb-3 flex items-center gap-2",children:[(0,ze.jsx)(Ei,{size:15,color:"var(--tf-purple)"}),(0,ze.jsx)("p",{className:"eyebrow",children:"BUSIEST DAYS"})]}),(0,ze.jsx)("div",{className:"tf-card p-5",children:(0,ze.jsx)("div",{className:"grid",style:{gridTemplateColumns:"repeat(7, 1fr)",gap:6,alignItems:"end",minHeight:90},children:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"].map((e,t)=>{const n=(r.dow||[]).find(e=>e.dow===t),a=(null===n||void 0===n?void 0:n.count)||0,o=Math.max(1,...(r.dow||[]).map(e=>e.count||0)),i=Math.max(6,Math.round(a/o*100));return(0,ze.jsxs)("div",{className:"flex flex-col items-center gap-1","data-testid":"dow-".concat(t),children:[(0,ze.jsx)("div",{style:{width:"100%",height:"".concat(i,"%"),minHeight:6,background:a>0?"linear-gradient(180deg, var(--tf-pink) 0%, var(--tf-purple) 100%)":"var(--tf-bg-secondary)",borderRadius:4},title:"".concat(e," \u2014 ").concat(a," visits")}),(0,ze.jsx)("span",{style:{fontSize:10,color:"var(--tf-text-muted)",fontWeight:700},children:e}),(0,ze.jsx)("span",{style:{fontSize:10.5,color:"var(--tf-text)",fontWeight:700},children:Ui(a)})]},e)})})}),(0,ze.jsxs)("div",{className:"mt-10 mb-3 flex items-center gap-2",children:[(0,ze.jsx)(Ei,{size:15,color:"var(--tf-purple)"}),(0,ze.jsx)("p",{className:"eyebrow",children:"LAST 30 DAYS"})]}),(0,ze.jsx)("div",{className:"tf-card p-5",children:(()=>{const e=r.daily||[];if(0===e.length)return(0,ze.jsx)("p",{className:"font-body",style:{fontSize:13,color:"var(--tf-text-muted)"},children:"No daily data yet."});const t=Math.max(1,...e.map(e=>e.count||0));return(0,ze.jsx)("div",{className:"grid",style:{gridTemplateColumns:"repeat(".concat(e.length,", 1fr)"),gap:3,alignItems:"end",minHeight:110},children:e.map(e=>{const n=Math.max(6,Math.round((e.count||0)/t*100)),a=new Date(e.date);return(0,ze.jsx)("div",{title:"".concat(e.date," \u2014 ").concat(e.count," visits"),style:{width:"100%",height:"".concat(n,"%"),minHeight:6,background:"linear-gradient(180deg, var(--tf-pink) 0%, var(--tf-purple) 100%)",borderRadius:3},"data-testid":"day-".concat(e.date),children:(0,ze.jsxs)("span",{className:"sr-only",children:[a.toDateString(),": ",e.count]})},e.date)})})})()})]}),(0,ze.jsx)("p",{className:"font-body mt-10 text-center",style:{fontSize:11.5,color:"var(--tf-text-muted)",lineHeight:1.6},children:"Each browser tab is counted once per section per session. No data leaves the visitor's device beyond the slug of the page they opened."})]}):(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"stats-screen",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"ADMIN"}),(0,ze.jsx)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(28px, 4vw, 36px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Visit statistics."}),(0,ze.jsx)(qi,{onSubmit:u,error:l})]})}const Ki=Jn("anchor",[["path",{d:"M12 22V8",key:"qkxhtm"}],["path",{d:"M5 12H2a10 10 0 0 0 20 0h-3",key:"1hv3nh"}],["circle",{cx:"12",cy:"5",r:"3",key:"rqqgnr"}]]),Qi=Jn("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),$i=Jn("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),Ji=[{kind:"affirmation",icon:ta,eyebrow:"BEFORE WE BEGIN",title:"You are safe right now.",body:"Before we start, take a moment. Look around you. Name three things you can see. Feel your feet on the floor and the air on your skin.\n\nThe past is not happening now. In this moment you are here, in this room, with this page. There is no rush. There is no wrong way to do this.",nextLabel:"I\u2019m ready"},{kind:"prompt",icon:Ki,eyebrow:"STEP 1 \xb7 GROUNDING",title:"How
2is your body feeling?",helper:"Just notice. Tight chest, heavy shoulders, fluttery stomach, foggy head, calm. Whatever is there is okay.",placeholder:"Right now my body feels\u2026",fieldKey:"body",optional:!0},{kind:"prompt",icon:Xn,eyebrow:"STEP 2 \xb7 WHY TODAY",title:"What brought you here today?",helper:"A sentence is enough. There\u2019s no need to explain it to anyone \u2014 this is only for you.",placeholder:"I came here because\u2026",fieldKey:"why",optional:!0},{kind:"chips",icon:Ha,eyebrow:"STEP 3 \xb7 NAMING IT",title:"What feelings are you carrying?",helper:"Tap anything that fits \u2014 you can choose as many as you like, or none. Naming feelings out loud (even silently) is an act of healing.",fieldKey:"feelings",options:["Numb","Angry","Frightened","Sad","Ashamed","Guilty","Confused","Exhausted","Hopeful","Stronger than yesterday","Disgusted","Empty","Alone","Relieved","Anxious","Calm"],optional:!0},{kind:"affirmation",icon:ta,eyebrow:"STEP 4 \xb7 READ THIS SLOWLY",title:"It was not your fault.",body:"What happened to you is not because of what you wore, where you were, what you drank, who you trusted, what you said, what you didn't say, what your body did, or what it didn't do.\n\nFreezing, fawning, complying, going quiet \u2014 these are survival responses. They are not consent. They are your nervous system trying to keep you alive.\n\nThe person who hurt you made a choice. You did not.",nextLabel:"Continue"},{kind:"prompt",icon:Zn,eyebrow:"STEP 5 \xb7 GENTLENESS",title:"What would you say to a friend going through this?",helper:"If your closest friend had been through what you have, what would you want them to hear? Try writing it as if you were speaking to them \u2014 then notice that the same words are for you too.",placeholder:"Dear friend\u2026",fieldKey:"to_friend",optional:!0},{kind:"prompt",icon:Qi,eyebrow:"STEP 6 \xb7 ONE SMALL THING",title:"One small kindness you can offer yourself today.",helper:'It does not have to be big. A glass of water. A nap. A cancelled plan. Five minutes outside. A favourite song. Saying "no". You deserve small good things, today, exactly as you are.',placeholder:"Today I will\u2026",fieldKey:"kindness",optional:!0},{kind:"final",icon:Xn,eyebrow:"YOU MADE IT THROUGH",title:"You are believed.\nYou are not alone.",body:"Whatever you wrote, whatever you skipped, however you got here \u2014 you did something brave by sitting with yourself.\n\nHealing is not linear. There will be good days and harder days, and both are part of it. Specialist UK support is here whenever you are ready.\n\nTake what helped today. Leave what didn\u2019t."}],Xi=Ji.filter(e=>"prompt"===e.kind||"chips"===e.kind).length,Zi="tfi_guided_draft_v1";function es(){try{sessionStorage.removeItem(Zi)}catch(e){}}function ts(e){let{label:t,selected:n,onClick:a}=e;return(0,ze.jsx)("button",{type:"button",onClick:a,className:"px-3 py-1.5 rounded-full font-bold transition-all",style:{background:n?"var(--tf-purple)":"#fff",color:n?"#fff":"var(--tf-text-secondary)",border:"1.5px solid ".concat(n?"var(--tf-purple)":"var(--tf-card-border)"),fontSize:12.5,cursor:"pointer"},"data-testid":"chip-".concat(t.toLowerCase().replace(/\s+/g,"-")),children:t})}function ns(){var e,t;const n=Mt(),{addEntry:r}=ti(),o=(0,a.useMemo)(()=>function(){try{const e=sessionStorage.getItem(Zi);return e?JSON.parse(e):null}catch(e){return null}}(),[]),[i,s]=(0,a.useState)(null!==(e=null===o||void 0===o?void 0:o.idx)&&void 0!==e?e:0),[l,d]=(0,a.useState)(null!==(t=null===o||void 0===o?void 0:o.answers)&&void 0!==t?t:{}),[u,f]=(0,a.useState)(!1);(0,a.useEffect)(()=>{!function(e){try{sessionStorage.setItem(Zi,JSON.stringify(e))}catch(t){}}({idx:i,answers:l})},[i,l]);const h=Ji[i],p=(0,a.useMemo)(()=>{let e=0;for(let t=0;t<=i;t+=1)"prompt"!==Ji[t].kind&&"chips"!==Ji[t].kind||(e+=1);return e},[i]),m=Math.round((i+1)/Ji.length*100),y=()=>s(e=>Math.min(Ji.length-1,e+1)),g=h.icon||pa,v="prompt"===h.kind||"chips"===h.kind,b=h.fieldKey&&"prompt"===h.kind&&l[h.fieldKey]||"",x=h.fieldKey&&"chips"===h.kind&&Array.isArray(l[h.fieldKey])?l[h.fieldKey]:[];return(0,ze.jsxs)("div",{className:"max-w-2xl mx-auto px-5 sm:px-8 py-10","data-testid":"guided-journal-screen",children:[(0,ze.jsx)(io,{title:"Guided Journal \\u2014 Trauma-informed Reflection",description:"A calm, step-by-step trauma-informed journal that reminds you you're safe, that what happened was not your fault, and gently walks you through naming feelings and finding small acts of self
2-kindness.",path:"/app/guided-journal"}),(0,ze.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-4 flex-wrap",children:[(0,ze.jsxs)(On,{to:"/app/journal",className:"inline-flex items-center gap-1 font-bold",style:{color:"var(--tf-text)",textDecoration:"none",fontSize:13},"data-testid":"guided-back-to-journal",children:[(0,ze.jsx)(ma,{size:18})," Free journal"]}),(0,ze.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,ze.jsxs)("a",{href:"https://customer-assets.emergentagent.com/job_justice-pathway-uk/artifacts/lq2f708l_The%20Full%20Impact%20Campaign%20%E2%80%94%20Guided%20Journal%20Workbook%20Colour.pdf%20%282%29.pdf",target:"_blank",rel:"noopener noreferrer","data-testid":"guided-pdf-colour",className:"tf-no-print inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full font-bold",style:{background:"var(--tf-purple)",color:"#fff",border:"none",fontSize:12,textDecoration:"none"},children:[(0,ze.jsx)(Ko,{size:13}),"PDF \u2014 Colour"]}),(0,ze.jsxs)("a",{href:"https://customer-assets.emergentagent.com/job_justice-pathway-uk/artifacts/ieg473n4_The%20Full%20Impact%20Campaign%20%E2%80%94%20Guided%20Journal%20Workbook%20Simple%20Black%20and%20White.pdf.pdf",target:"_blank",rel:"noopener noreferrer","data-testid":"guided-pdf-bw",className:"tf-no-print inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full font-bold",style:{background:"#fff",color:"var(--tf-purple)",border:"1px solid var(--tf-purple-light)",fontSize:12,textDecoration:"none"},children:[(0,ze.jsx)(Ko,{size:13}),"PDF \u2014 Black & White"]})]})]}),(0,ze.jsxs)("div",{className:"rounded-2xl p-4 mb-6 tf-no-print",style:{background:"var(--tf-pink-soft)",border:"1px solid var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.18em",color:"var(--tf-purple-dark)"},children:"TAKE IT WITH YOU"}),(0,ze.jsxs)("p",{className:"font-body mt-2",style:{fontSize:12.5,color:"var(--tf-text)",lineHeight:1.6},children:[(0,ze.jsx)("strong",{children:"Want a print-ready workbook?"})," Tap"," ",(0,ze.jsx)("em",{children:"PDF \u2014 Colour"})," for the fully branded lavender version, or"," ",(0,ze.jsx)("em",{children:"PDF \u2014 Black & White"})," for an ink-friendly print version. Both open on your device so you can save them, print them, or share them with someone supporting you."]})]}),(0,ze.jsxs)("div",{className:"rounded-2xl p-3 flex items-center gap-3 mb-6",style:{background:"var(--tf-bg-secondary)",border:"1px solid var(--tf-card-border)"},children:[(0,ze.jsx)("div",{className:"w-9 h-9 rounded-xl flex items-center justify-center",style:{background:"#fff",color:"var(--tf-purple)"},children:(0,ze.jsx)(Jo,{size:15})}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:12,color:"var(--tf-text-secondary)",lineHeight:1.55},children:"Nothing you write here is uploaded. You can stop, leave, or close this tab at any time \u2014 your draft stays only on this device."})]}),(0,ze.jsxs)("div",{className:"mb-6","data-testid":"guided-progress",children:[(0,ze.jsxs)("div",{className:"flex items-baseline justify-between mb-2",children:[(0,ze.jsxs)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.18em",color:"var(--tf-purple)"},children:["STEP ",i+1," OF ",Ji.length]}),v&&(0,ze.jsxs)("p",{className:"font-body",style:{fontSize:11,color:"var(--tf-text-muted)"},children:[p," of ",Xi," prompts"]})]}),(0,ze.jsx)("div",{className:"rounded-full overflow-hidden",style:{height:6,background:"var(--tf-bg-secondary)"},children:(0,ze.jsx)("div",{style:{width:"".concat(m,"%"),height:"100%",background:"linear-gradient(90deg, var(--tf-purple) 0%, var(--tf-pink) 100%)",transition:"width 0.4s ease"}})})]}),(0,ze.jsxs)("div",{className:"tf-card p-7 sm:p-9 tf-fade-up","data-testid":"guided-step-".concat(i),children:[(0,ze.jsx)("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center mb-5",style:{background:"affirmation"===h.kind||"final"===h.kind?"linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%)":"var(--tf-bg-secondary)",color:"affirmation"===h.kind||"final"===h.kind?"#fff":"var(--tf-purple)"},children:(0,ze.jsx)(g,{size:20})}),(0,ze.jsx)("p",{className:"eyebrow",children:h.eyebrow}),(0,ze.jsx)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(22px, 3vw, 28px)",lineHeight:1.2,color:"var(--tf-text)",letterSpacing:"-0.01em",whiteSpace:"pre-line"},children:h.title}),h.body&&(0,ze.jsx)("p",{className:"font-body mt-4",style:{fontSize:14.5,color:"var(--tf-text-secondary)",lineHeight:1.7,whiteSpace:"pre-line"},children:h.body}),h.helper&&(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.6},children:h.helper}),"prompt"===h.kind&&(0,ze.jsx)("textarea",{value:b,onChange:e=>{return t=h.fieldKey,n=e.target.value,d(e=>c(c({},e),{},{[t]:n}));var t,n},placeholder:h.placeholder||"",rows:6,"data-testid":"guided-input-".concat(h.fieldKey),className:"w-full mt-5 p-4 rounded-xl outline-none font-body",style:{background:"var(--tf-bg)",border:"1px solid var(--tf-card-border)",fontSize:15,lineHeight:1.6,color:"var(--tf-text)",resize:"vertical",minHeight:120}}),"chips"===h.kind&&(0,ze.jsx)("div",{className:"mt-5 flex flex-wrap gap-2",children:h.options.map(e=>(0,ze.jsx)(ts,{label:e,selected:x.includes(e),onClick:()=>{return t=h.fieldKey,n=e,void d(e=>{const a=Array.isArray(e[t])?e[t]:[],r=a.includes(n)?a.filter(e=>e!==n):[...a,n];return c(c({},e),{},{[t]:r})});var t,n}},e))}),(0,ze.jsxs)("div",{className:"mt-7 flex items-center justify-between gap-3 flex-wrap",children:[(0,ze.jsxs)("button",{type:"button",onClick:()=>s(e=>Math.max(0,e-1)),disabled:0===i,"data-testid":"guided-back",className:"inline-flex items-center gap-1 px-3.5 py-2 rounded-full font-bold",style:{background:"#fff",color:"var(--tf-text-secondary)",border:"1px solid var(--tf-card-border)",fontSize:12.5,cursor:0===i?"not-allowed":"pointer",opacity:0===i?.4:1},children:[(0,ze.jsx)(ma,{size:14}),"Back"]}),(0,ze.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[h.optional&&(0,ze.jsxs)("button",{type:"button",onClick:y,"data-testid":"guided-skip",className:"inline-flex items-center gap-1.5 px-3.5 py-2 rounded-full font-bold",style:{background:"transparent",color:"var(--tf-text-muted)",border:"none",fontSize:12.5,cursor:"pointer"},children:[(0,ze.jsx)(ua,{size:13}),"Skip"]}
2),"final"!==h.kind&&(0,ze.jsxs)("button",{type:"button",onClick:y,"data-testid":"guided-next",className:"tf-btn-primary",children:[h.nextLabel||"Next"," ",(0,ze.jsx)($i,{size:15})]}),"final"===h.kind&&(0,ze.jsx)("button",{type:"button",onClick:()=>{const e=function(e){const t=[];return t.push("Guided journal reflection"),t.push(""),e.body&&(t.push("How my body felt:"),t.push(e.body),t.push("")),e.why&&(t.push("Why I came here today:"),t.push(e.why),t.push("")),Array.isArray(e.feelings)&&e.feelings.length>0&&(t.push("Feelings I named: "+e.feelings.join(", ")),t.push("")),e.to_friend&&(t.push("What I would say to a friend (and to me):"),t.push(e.to_friend),t.push("")),e.kindness&&(t.push("One small kindness for myself today:"),t.push(e.kindness),t.push("")),t.push('\u2014 I read: "It was not my fault. I am believed. I am not alone."'),t.join("\n").trim()}(l);if(!e.trim())return es(),f(!0),void setTimeout(()=>n("/app/journal"),1200);r({content:e,mood:null}),es(),f(!0),setTimeout(()=>n("/app/journal"),1200)},"data-testid":"guided-finish",className:"tf-btn-primary",disabled:u,style:{opacity:u?.7:1},children:u?(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)(zr,{size:15})," Saved"]}):(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)(zr,{size:15})," Save to journal"]})})]})]})]},i),(0,ze.jsxs)("p",{className:"font-body mt-6 text-center",style:{fontSize:11.5,color:"var(--tf-text-muted)",lineHeight:1.55},children:["You can stop at any moment. Tap ",(0,ze.jsx)("strong",{children:"Exit Now"})," at the bottom-left of the page to leave the site instantly. Your draft is held only in this browser tab."]}),(0,ze.jsxs)("p",{className:"font-body mt-3 text-center",style:{fontSize:10.5,color:"var(--tf-text-muted)",lineHeight:1.55},children:["Guided journal \xa9 ",(new Date).getFullYear()," Angela Moreton \xb7 The Full Impact\u2122 \xb7 Personal use only \xb7 All rights reserved."]})]})}const as=[{id:"who-is-this-for",q:"Who is this site for?",a:"Anyone in the UK who has experienced \u2014 or is currently experiencing \u2014 sexual violence or domestic abuse, at any point in their life. It is also for the people who love them, and for professionals. Women, men, non-binary and LGBT+ survivors are all welcome here."},{id:"is-it-anonymous",q:"Is it really anonymous?",a:'Yes. There is no sign-up, no account, no cookies that track you. The journal and guided journal save only inside your browser \u2014 nothing you write is uploaded to a server. The only thing the site counts is an anonymous "page opened" event so the campaign knows how many people it has reached.'},{id:"do-i-have-to-report",q:"Do I have to report what happened to use this site?",a:"No. Nothing on this site requires you to have reported, to be ready to report, or to ever report. Specialist UK support \u2014 including Rape Crisis, Refuge, Women\u2019s Aid, Live Fear Free, ISVA and IDVA services \u2014 are all available whether you have reported or not."},{id:"quick-exit",q:'What does the "Exit Now" button do?',a:"It immediately replaces this site in your browser with bbc.co.uk/weather. It is on every page (top-right of the header, and as a floating button bottom-left). If someone walks in unexpectedly, tap it. The back button will not return to The Full Impact."},{id:"ground-me",q:'What is the "Ground me" button?',a:"A calm popup with four short grounding techniques (the 5-4-3-2-1 senses exercise, box-breathing with a live animation, orienting to the room, and a cold-water reset). Open it any time you feel panicked, dissociated, or stuck in a flashback. You can stop at any moment."},{id:"guided-journal",q:"What is the guided journal?",a:"A calm, step-by-step trauma-informed reflection. It walks y
2ou through eight gentle prompts \u2014 grounding, naming feelings, releasing self-blame, finding one small kindness for yourself today. You can skip anything, come back to it any time, and save the result to your private journal. It is also downloadable as a PDF workbook so you can do it on paper."},{id:"lost-data",q:"I cleared my browser \u2014 are my journal entries gone?",a:'Because the journal is anonymous and stored only in your browser, clearing browser data (or using private/incognito mode) will erase entries. To keep them long-term, use the "Download backup" button on the journal page to save a .json file, and "Restore from file" to bring them back later.'},{id:"who-built",q:"Who built The Full Impact?",a:"Angela Moreton \u2014 a UK survivor. Every word, prompt and resource on this site has been written by her or carefully sourced from Rape Crisis, the CPS, NHS, gov.uk and other UK specialist organisations."},{id:"copyright",q:"Can I share content from this site?",a:'Most of the website is shared under Creative Commons BY-NC-ND 4.0 \u2014 you may share it with attribution, but not commercially and not in modified form. The guided journal workbook specifically is "All Rights Reserved" because it is original creative writing. Personal use only; please ask before using it in training, publications, or anywhere paid (Instagram @thefullimpactcampaign).'},{id:"how-to-help",q:"How can I support the campaign?",a:"Follow @thefullimpactcampaign on Instagram, and share this site with anyone who might need it. Word of mouth is the most important thing."},{id:"in-crisis",q:"I am in crisis right now \u2014 what do I do?",a:"If you are in immediate danger, call 999. If you cannot speak, dial 999 and press 55 (Silent Solution). If you are struggling with your mental health or thoughts of self-harm, Samaritans answer 24/7 on 116 123. The full list of UK helplines is on the Help Now page."}];function rs(){const[e,t]=(0,a.useState)(new Set);return(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"faq-screen",children:[(0,ze.jsx)(io,{title:"FAQ \\u2014 Common Questions About The Full Impact",description:"Answers to common questions about The Full Impact: anonymity, the guided journal, quick exit, grounding tools, UK helplines, and copyright.",path:"/app/faq"}),(0,ze.jsx)("p",{className:"eyebrow",children:"FREQUENTLY ASKED"}),(0,ze.jsx)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(28px, 4vw, 36px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Common questions."}),(0,ze.jsx)("p",{className:"font-body mt-4 max-w-xl",style:{fontSize:14.5,color:"var(--tf-text-secondary)",lineHeight:1.65},children:"Quick answers about how the site works, your privacy, where the information comes from, and what to do if you need help right now."}),(0,ze.jsx)("div",{className:"mt-6 flex gap-2 flex-wrap",children:(0,ze.jsx)(po,{label:"Print / Save this page"})}),(0,ze.jsx)("div",{className:"mt-8 flex flex-col gap-3",children:as.map(n=>{const a=e.has(n.id);return(0,ze.jsxs)("button",{type:"button",onClick:()=>{return e=n.id,t(t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n});var e},"data-testid":"faq-".concat(n.id),className:"tf-card text-left p-5",style:{cursor:"pointer"},children:[(0,ze.jsxs)("div",{className:"flex items-center gap-4",children:[(0,ze.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0",style:{background:"var(--tf-purple-light)",color:"var(--tf-purple-dark)"},children:(0,ze.jsx)(fo,{size:18})}),(0,ze.jsx)("h3",{className:"font-heading flex-1",style:{fontSize:16.5,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:n.q}),a?(0,ze.jsx)(bo,{size:18,color:"var(--tf-text-muted)"}):(0,ze.jsx)(Ir,{size:18,color:"var(--tf-text-muted)"})]}),(0,ze.jsx)("div",{className:"mt-4 pt-4 tf-prose print-show","data-print-expand":"true",style:{borderTop:"1px solid var(--tf-card-border)",display:a?"block":"none"},children:(0,ze.jsx)("p",{style:{fontSize:14,lineHeight:1.7},children:n.a})})]},n.id)})})]})}const os=[{id:"process",eyebrow:"PART 01",icon:Jr,to:"/app/process",title:"The judicial process",body:"Reporting \xb7 police investigation \xb7 CPS \xb7 charging \xb7 court \xb7 verdict \xb7 sentencing \xb7 appeals \u2014 every stage explained gently, so you know
2what to expect before you decide anything.",cta:"Open the judicial process guide",testid:"sv-hub-process"},{id:"rights",eyebrow:"PART 02",icon:ta,to:"/app/rights",title:"Your rights & ISVAs",body:"Lifetime anonymity, an ISVA by your side, special measures in court, your Victim Personal Statement, the Victims' Right to Review \u2014 10 protections UK law guarantees you.",cta:"Read your rights",testid:"sv-hub-rights"},{id:"trauma",eyebrow:"PART 03",icon:Xr,to:"/app/trauma",title:"Trauma & healing",body:"The 5 trauma responses (freeze, fawn, fight, flight, flop), why your body did what it did, common after-effects, short explainer videos and grounding tools you can use right now.",cta:"Understand the response",testid:"sv-hub-trauma"},{id:"support",eyebrow:"PART 04",icon:aa,to:"/app/support?tab=sv",title:"Specialist SV helplines",body:"Free confidential UK services \u2014 Rape Crisis, The Survivors Trust, SurvivorsUK, Mankind Initiative, Galop and SARCs. You do not need to have reported to access any of these.",cta:"Browse helplines",testid:"sv-hub-support"}],is=[{to:"/app/guided-journal",title:"Guided journal",body:"A calm 8-step trauma-informed reflection \u2014 at your own pace, in this browser only.",icon:Ha,testid:"sv-hub-guided-journal"},{to:"/app/journal",title:"Private journal",body:"A free, simple notebook. Stays in your browser. Never uploaded anywhere.",icon:ra,testid:"sv-hub-journal"}];function ss(e){let{s:t,idx:n}=e;const a=t.icon;return(0,ze.jsx)("article",{"data-testid":t.testid,className:"tf-card p-6 sm:p-7",style:{background:n%2===0?"linear-gradient(180deg, #FFFFFF 0%, #F8F4FB 100%)":"#fff"},children:(0,ze.jsxs)("div",{className:"flex items-start gap-4",children:[(0,ze.jsx)("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-purple)",border:"1px solid var(--tf-purple-light)"},children:(0,ze.jsx)(a,{size:20})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple)"},children:t.eyebrow}),(0,ze.jsx)("h2",{className:"font-heading mt-1",style:{fontSize:"clamp(20px, 2.4vw, 23px)",color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:t.title}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:t.body}),(0,ze.jsxs)(On,{to:t.to,"data-testid":"".concat(t.testid,"-cta"),className:"mt-5 inline-flex items-center gap-2 px-4 py-2 rounded-full font-bold",style:{background:"var(--tf-purple)",color:"#fff",textDecoration:"none",fontSize:13,boxShadow:"0 8px 20px rgba(139,123,177,0.28)"},children:[t.cta,(0,ze.jsx)(eo,{size:14})]})]})]})})}function ls(){return(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"sv-hub-screen",children:[(0,ze.jsx)(io,{title:"Sexual Violence \u2014 UK Survivor Guide",description:"A calm, trauma-informed UK hub for survivors of rape and sexual violence \u2014 the judicial process, your rights & ISVAs, trauma responses, healing, and specialist UK helplines. Anonymous. Free.",path:"/app/sexual-violence"}),(0,ze.jsx)("p",{className:"eyebrow",children:"SEXUAL VIOLENCE \u2014 YOUR CALM GUIDE"}),(0,ze.jsx)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(28px, 4vw, 36px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"You decide. You set the pace."}),(0,ze.jsx)("p",{className:"font-body mt-4 max-w-xl",style:{fontSize:14.5,color:"var(--tf-text-secondary)",lineHeight:1.65},children:"Whether you reported yesterday, ten years ago, or never \u2014 this calm guide belongs to you. Read what helps. Skip what doesn't. Come back any time. Choose your nation below so we can show you the right agencies, laws and specialist support."}),(0,ze.jsx)(Lo,{testid:"sv-nation-picker"}),(0,ze.jsx)("div",{className:"mt-6 flex gap-2 flex-wrap",children:(0,ze.jsx)(po,{label:"Print / Save this page"})}),(0,ze.jsx)("section",{className:"mt-6 tf-card p-5 sm:p-6","data-testid":"sv-hub-reassurance",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #F4EFF8 100%)",borderColor:"var(--tf-purple-light)"},children:(0,ze.jsxs)("div",{className:"flex items-start gap-4",children:[(0,ze.jsx)("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:"linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%)",color:"#fff",boxShadow:"0 8px 22px rgba(139,123,177,0.28)"},children:(0,ze.jsx)(Zn,{size:20})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple)"},children:"BEFORE YOU READ ON"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:"clamp(20px, 2.4vw, 23px)",color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:"You are believed. It was not your fault."}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:"However you froze, fawned, complied or went quiet \u2014 that was your nervous system keeping you alive, not consent. What happened is not because of what you wore, what you said, what you didn't say, or who you trusted."}),(0,ze.jsxs)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["You do not have to report to deserve help."," ",(0,ze.jsx)("strong",{style:{color:"var(--tf-purple-dark)"},children:"You set the pace."})]}),(0,ze.jsx)("p",{className:"font-body mt-4",style:{fontSize:11.5,fontWeight:700,letterSpacing:"0.16em",color:"var(--tf-purple-dark)"},children:"YOU ARE BELIEVED \xb7 YOU ARE NOT ALONE"})]})]})}),(0,ze.jsxs)("section",{className:"mt-6 rounded-2xl p-5 flex items-start gap-4",style:{background:"var(--tf-purple)"},"data-testid":"sv-hub-crisis",children:[(0,ze.jsx)("div",{className:"w-11 h-11 rounded-full flex items-center justify-center flex-shrink-0",style:{background:"rgba(255,255,255,0.2)"},children:(0,ze.jsx)(pi,{size:20,color:"#fff"})}),(0,ze.jsxs)("div",{className:"flex-1",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:14,color:"#fff"},children:"In immediate danger or just attacked?"}),(0,ze.jsxs)("p",{className:"font-body",style:{fontSize:13,color:"rgba(255,255,255,0.95)",marginTop:4,lineHeight:1.55},children:["Call ",(0,ze.jsx)("a",{href:"tel:999",className:"underline",style:{color:"#fff"},children:"999"}),". For free 24/7 specialist support call Rape Crisis on"," ",(0,ze.jsx)("a",{href:"tel:08088029999",className:"underline",style:{color:"#fff"},children:"0808 802 9999"}),". You can also walk into a SARC for medical care without reporting."]})]})]}),(0,ze.jsx)(Po,{variant:"sv"}),(0,ze.jsx)(On,{to:"/app/crossed-the-line","data-testid":"sv-was-that-assault",className:"mt-6 block tf-card tf-card-hover p-5",style:{textDecoration:"none",color:"var(--tf-text)",background:"#FFFDFA",borderColor:"var(--tf-purple-light)"},children:(0,ze.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,ze.jsxs)("div",{children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"IF YOU'RE DOUBTING YOURSELF"}),(0,ze.jsx)("h3",{className:"font-heading mt-1",style:{fontSize:20,color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:"Was that assault?"}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"A calm, plain-language guide for anyone unsure whether what happened counts \u2014 with a section quietly answering the \u201cbut\u2026\u201d thoughts that stop survivors naming it."})]}),(0,ze.jsx)(eo,{size:18,color:"var(--tf-purple-dark)",style:{flexShrink:0,marginTop:6}})]})}),(0,ze.jsxs)("div",{className:"mt-10 mb-4",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"WHAT THIS GUIDE COVERS"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:22,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Four calm parts \u2014 start anywhere"})]}),(0,ze.jsx)("div",{className:"flex flex-col gap-4",children:os.map((e,t)=>(0,ze.jsx)(ss,{s:e,idx:t},e.id))}),(0,ze.jsxs)("div",{className:"mt-12 mb-4",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"WHEN YOU'RE READY"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:20,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Something private, just for you"})]}),(0,ze.jsx)("div",{className:"grid sm:grid-cols-2 gap-3",children:is.map(e=>{const t=e.icon;return(0,ze.jsxs)(On,{to:e.to,"data-testid":e.testid,className:"tf-card tf-card-hover p-4 flex items-start gap-3",style:{textDecoration:"none",color:"var(--tf-text)"},children:[(0,ze.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-purple)"},children:(0,ze.jsx)(t,{size:18})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("h3",{className:"font-heading",style:{fontSize:15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:e.title}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.5},children:e.body})]})]},e.to)})}),(0,ze.jsx)("div",{className:"mt-10 p-5 rounded-2xl",style:{background:"var(--tf-bg-secondary)",border:"1px solid var(--tf-card-border)"},children:(0,ze.jsx)("p",{className:"font-body",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"Information adapted from Rape Crisis (England & Wales) and Rape Crisis Scotland, the Crown Prosecution Service and COPFS, the Victims' Codes, NHS, Mind, PTSD UK and gov.uk / mygov.scot. This is not legal advice \u2014 for legal advice please speak to a solicitor, your ISVA (E&W) or your Rape Crisis Scotland advocacy worker."})})]})}const cs=Jn("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);function ds(e){let{icon:t,eyebrow:n,title:a,children:r,testid:o}=e;return(0,ze.jsx)("section",{"data-testid":o,className:"tf-card p-6 sm:p-7",style:{background:"#fff"},children:(0,ze.jsxs)("div",{className:"flex items-start gap-4",children:[(0,ze.jsx)("div",{className:"w-11 h-11 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-purple)",border:"1px solid var(--tf-purple-light)"},children:(0,ze.jsx)(t,{size:18})}),(0,ze.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple)"},children:n}),(0,ze.jsx)("h2",{className:"font-heading mt-1",style:{fontSize:"clamp(20px, 2.4vw, 23px)",color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:a}),(0,ze.jsx)("div",{className:"font-body mt-3 space-y-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:r})]})]})})}function us(){return(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"about-screen",children:[(0,ze.jsx)(io,{title:"About, Privacy & Contact \u2014 The Full Impact",description:"The Full Impact is a UK-based, non-commercial, trauma-informed survivor guide. Created by Angela Moreton. Anonymous, free, no tracking. Contact and privacy details.",path:"/app/about"}),(0,ze.jsx)("p",{className:"eyebrow",children:"ABOUT \xb7 PRIVACY \xb7 CONTACT"}),(0,ze.jsx)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(28px, 4vw, 36px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"A calm, anonymous UK survivor guide."}),(0,ze.jsx)("p",{className:"font-body mt-4 max-w-xl",style:{fontSize:14.5,color:"var(--tf-text-secondary)",lineHeight:1.65},children:"The Full Impact is a not-for-profit, non-commercial, trauma-informed information service for adult survivors of sexual violence and domestic abuse in England & Wales. It exists so anyone can read what they need, anonymously, without an account, sign-up, or anything stored about them."}),(0,ze.jsx)("div",{className:"mt-6 flex gap-2 flex-wrap",children:(0,ze.jsx)(po,{label:"Print / Save this page"})}),(0,ze.jsxs)("div",{className:"mt-8 flex flex-col gap-4",children:[(0,ze.jsxs)(ds,{icon:ir,eyebrow:"ABOUT",title:"What this site is \u2014 and isn't",testid:"about-mission",children:[(0,ze.jsxs)("p",{children:[(0,ze.jsx)("strong",{children:"What it is:"})," a free, plain-English UK guide explaining the criminal justice process for sexual offences, the Domestic Abuse Act 2021, coercive control law, safety planning, trauma responses, and where to find specialist support. Every helpline listed is an established UK charity or statutory service."]}),(0,ze.jsxs)("p",{children:[(0,ze.jsx)("strong",{children:"What it isn't:"})," a legal service, a counselling service, or a reporting platform. Nothing on this site is legal advice. For legal advice please speak to a solicitor or an ISVA/IDVA. For counselling, please contact one of the specialist services listed on the"," ",(0,ze.jsx)(On,{to:"/app/support",className:"tf-link",children:"Support"})," page."]}),(0,ze.jsxs)("p",{children:[(0,ze.jsx)("strong",{children:"Who built it:"})," Original writing, design and selection of resources by Angela Moreton, a survivor and trauma-informed researcher based in the United Kingdom. Material is quoted with attribution from Rape Crisis England & Wales, the Crown Prosecution Service, the Victims' Code of Practice, gov.uk, NHS, Mind and PTSD UK."]}),(0,ze.jsx)("p",{children:(0,ze.jsx)(On,{to:"/app/why","data-testid":"about-why-link",className:"tf-link",style:{fontWeight:700},children:"Read Angela's note \u2014 why she created The Full Impact \u2192"})}),(0,ze.jsxs)("p",{children:["Content is licensed under"," ",(0,ze.jsx)("a",{href:"https://creativecommons.org/licenses/by-nc-nd/4.0/",target:"_blank",rel:"noopener noreferrer",className:"tf-link","data-testid":"about-cc-link",children:"Creative
2Commons BY-NC-ND 4.0"})," ","\u2014 you may share it freely with attribution, but not commercially and not in modified form."]})]}),(0,ze.jsxs)(ds,{icon:Si,eyebrow:"PRIVACY",title:"What we store about you \u2014 almost nothing",testid:"about-privacy",children:[(0,ze.jsxs)("p",{children:[(0,ze.jsx)("strong",{children:"No accounts."})," There is no sign-up. We never ask for your name, email, phone number, address, or any identifying detail."]}),(0,ze.jsxs)("p",{children:[(0,ze.jsx)("strong",{children:"No personal tracking."})," We do not store your IP address, your user-agent, or any cookies that could identify you. There are no advertising trackers. There are no third-party social pixels."]}),(0,ze.jsxs)("p",{children:[(0,ze.jsx)("strong",{children:"What is counted (anonymously)."})," So we can prove this guide is useful when asking for funding or policy change, we count anonymous page views \u2014 \u201cthe rights page was viewed N times this week.\u201d That total is not linked to any person and cannot be traced back to you. Aggregate referral source (e.g. \u201ccame from Google\u201d) is recorded; specific URLs are not."]}),(0,ze.jsxs)("p",{children:[(0,ze.jsx)("strong",{children:"Anything you write in the Journal or Guided Journal"})," stays in your browser's local storage. It is ",(0,ze.jsx)("em",{children:"never"})," uploaded to any server. If you close the tab in private/incognito mode it is gone forever. You can clear it any time from your browser settings."]}),(0,ze.jsxs)("p",{children:[(0,ze.jsx)("strong",{children:"Quick Exit."})," Tapping \u201cExit Now\u201d (bottom-left of every page) immediately closes the tab or redirects to a neutral site, so the page you were reading does not stay in your tab history."]}),(0,ze.jsxs)("p",{children:[(0,ze.jsx)("strong",{children:"Hosting & cookies."})," The site is hosted on standard web infrastructure inside the European Economic Area. No advertising or cross-site tracking cookies are set. A small first-party analytics cookie may be used purely to deduplicate anonymous page-view counts and contains no personal data."]})]}),(0,ze.jsxs)(ds,{icon:ta,eyebrow:"SAFEGUARDING",title:"If you are in danger",testid:"about-safeguarding",children:[(0,ze.jsxs)("p",{children:["If you or someone else is in immediate danger, call"," ",(0,ze.jsx)("a",{href:"tel:999",className:"tf-link",children:"999"}),". If you cannot speak, dial 999 then press ",(0,ze.jsx)("strong",{children:"55"})," \u2014 the Silent Solution will alert the operator that you need help. For 24/7 specialist support call"," ",(0,ze.jsx)("a",{href:"tel:08088029999",className:"tf-link",children:"0808 802 9999"})," ","(Rape Crisis) or"," ",(0,ze.jsx)("a",{href:"tel:08082000247",className:"tf-link",children:"0808 2000 247"})," ","(National Domestic Abuse Helpline \xb7 Refuge)."]}),(0,ze.jsxs)("p",{children:["This site is not a crisis service. It does not record, escalate, or report anything you read or write. It cannot reply to messages. If you need someone to talk to right now, please contact one of the specialist organisations on the ",(0,ze.jsx)(On,{to:"/app/support",className:"tf-link",children:"Support"})," page."]})]}),(0,ze.jsxs)(ds,{icon:na,eyebrow:"ACCESSIBILITY",title:"Designed to be read by anyone, anywhere",testid:"about-accessibility",children:[(0,ze.jsx)("p",{children:"Every page works on mobile, tablet and desktop. There is a built-in accessibility panel (bottom-right) for larger text, higher contrast, a dyslexia-friendly font and reduced motion. Pages can be printed or saved as PDF for offline reading. Every helpline is a tap-to-call link on phones."}),(0,ze.jsx)("p",{children:"If anything on the site does not work for you, please get in touch (below) and we will fix it."})]}),(0,ze.jsxs)(ds,{icon:cs,eyebrow:"CONTACT",title:"Get in touch",testid:"about-contact",children:[(0,ze.jsx)("p",{children:"For permission requests (translations, training, research citations), to report a broken helpline number, to suggest a service to add, or to send corrections \u2014 please reach out via Instagram:"}),(0,ze.jsxs)("a",{href:"https://www.instagram.com/thefullimpactcampaign?igsh=cHEyd2Jjbm9jMjhx",target:"_blank",rel:"noopener noreferrer","data-testid":"about-instagram",className:"inline-flex items-center gap-2 px-4 py-2 rounded-full font-bold mt-2",style:{background:"#fff",color:"var(--tf-purple)",border:"1px solid var(--tf-purple-light)",fontSize:13,textDecoration:"none"},children:[(0,ze.jsx)(la,{size:15}),"@thefullimpactcampaign"]}),(0,ze.jsxs)("p",{children:["We aim to reply within a few working days. Please do ",(0,ze.jsx)("strong",{children:"not"})," ","send case details or anything we'd need to act on urgently \u2014 Instagram is not a safeguarding channel."]})]}),(0,ze.jsxs)(ds,{icon:Zr,eyebrow:"FOR WEB FILTER ADMINISTRATORS",title:"Site classification",testid:"about-classification",children:[(0,ze.jsxs)("p",{children:["If you are an IT or compliance team and this site has been blocked by your web filter, please note: ",(0,ze.jsx)("strong",{children:"thefullimpact.org"}
2)," is a non-commercial, trauma-informed information service for adult survivors of sexual violence and domestic abuse. It is"," ",(0,ze.jsx)("strong",{children:"not adult content"}),". It contains no images of violence, no graphic descriptions, and no user-generated content."]}),(0,ze.jsxs)("p",{children:["Suggested category: ",(0,ze.jsx)("em",{children:"Charitable / Health & Wellbeing / Reference"}),". We are happy to assist with categorisation reviews \u2014 please contact us via Instagram above."]})]}),(0,ze.jsx)(ds,{icon:Xn,eyebrow:"COPYRIGHT",title:"Use, share, attribute",testid:"about-copyright",children:(0,ze.jsxs)("p",{children:["\xa9 ",(new Date).getFullYear()," Angela Moreton. The Full Impact\u2122 \u2014 personal use only. All rights reserved on original writing, design and structure. Quoted material from Rape Crisis, CPS, NHS, gov.uk and other UK sources remains the copyright of its respective owners."]})})]})]})}function fs(){return(0,ze.jsxs)("div",{className:"tf-essay-page py-12 sm:py-16","data-testid":"why-screen",children:[(0,ze.jsx)(io,{title:"Information, autonomy and informed choice \u2014 why I created The Full Impact",description:"Angela Moreton on why survivors should be given clear, written information after a disclosure \u2014 so that they can return to it privately, at their own pace, and make informed choices.",path:"/app/why"}),(0,ze.jsxs)("div",{className:"max-w-[640px] mx-auto px-5 sm:px-6",children:[(0,ze.jsx)("p",{className:"font-body font-bold","data-testid":"why-eyebrow",style:{fontSize:10.5,letterSpacing:"0.28em",color:"var(--tf-purple)"},children:"A NOTE FROM ANGELA"}),(0,ze.jsx)("h1",{className:"font-heading mt-4","data-testid":"why-title",style:{fontSize:"clamp(30px, 5vw, 44px)",lineHeight:1.12,letterSpacing:"-0.015em",color:"var(--tf-text)"},children:"Information, autonomy and informed choice."}),(0,ze.jsx)("p",{className:"font-body mt-6",style:{fontSize:15,lineHeight:1.55,color:"var(--tf-text-secondary)"},children:"Why I created The Full Impact."}),(0,ze.jsx)("div",{className:"mt-6 mb-10",children:(0,ze.jsx)(po,{label:"Print / Save this piece"})}),(0,ze.jsxs)("article",{"data-testid":"why-article",className:"font-body tf-essay",style:{fontSize:17,lineHeight:1.75,color:"var(--tf-text)",fontFamily:"Fraunces, Georgia, serif",fontWeight:400},children:[(0,ze.jsx)("p",{children:"One of the main reasons I created The Full Impact was because of my own experience of approaching the police."}),(0,ze.jsx)("p",{children:"Initially, I was not looking to make a formal report. I wanted somebody to explain the process to me. I wanted to understand what would happen, what my options were, what my rights were and what support would be available so that I could take everything in and make an informed decision."}),(0,ze.jsx)("p",{children:"Once I began explaining what had happened, however, the situation moved very quickly and much of it felt as though it had been taken out of my hands."}),(0,ze.jsx)("p",{children:"I was not given one clear written source of information that I could take away and read in my own time. There was no simple leaflet or email bringing together the process, my rights, support, trauma responses and what might happen next."}),(0,ze.jsx)("blockquote",{className:"tf-pullquote",children:"For somebody dealing with trauma, that matters."}),(0,ze.jsx)("p",{children:"A disclosure or report can be an extremely stressful experience. People may be frightened, overwhelmed, dissociating or struggling to remember what they have been told. Information given verbally during one conversation may simply be too much to absorb."}),(0,ze.jsx)("p",{children:"That is why I believe survivors should routinely be given clear written information after a disclosure or first contact \u2014 whether through a leaflet, email, QR code or link to a trusted resource such as The Full Impact website."}),(0,ze.jsx)("p",{children:"The survivor could then return to that information privately, at their own pace and as many times as they need."}),(0,ze.jsx)("p",{children:"It could explain:"}),(0,ze.jsxs)("ul",{className:"tf-essay-list",children:[(0,ze.jsx)("li",{children:"what may happen next;"}),(0,ze.jsx)("li",{children:"what choices and rights the survivor has;"}),(0,ze.jsx)("li",{children:"what the police and other organisations may need to do and why;"}),(0,ze.jsx)("li",{children:"what an ISVA or IDVA is and how independent advocacy can help;"}),(0,ze.jsx)("li",{children:"where specialist support is available;"}),(0,ze.jsx)("li",{children:"common trauma responses and how trauma can affect memory, communication and decision-making;"}),(0,ze.jsx)("li",{children:"what happens if somebody is not ready to report;"}),(0,ze.jsx)("li",{children:"what to expect during an investigation or justice process;"}),(0,ze.jsx)("li",{children:"and where to go if they have further questions."})]}),(0,ze.jsx)("p",{children:"Providing information does not mean replacing professional advice or preventing organisations from carrying out safeguarding or legal responsibilities."}),(0,ze.jsx)("p",{children:"It means making sure that, as far as possible, the survivor understands what is happening around them."}),(0,ze.jsx)("p",{children:"For me, trauma-informed practice should include giving people information in a form they can take away, process and return to when they are ready."}),(0,ze.jsx)("blockquote",{className:"tf-pullquote",children:"A survivor should not have to remember everything they were told during one of the most stressful conversations of their life."}),(0,ze.jsx)("p",{className:"tf-essay-signoff",children:"That is
2why I created The Full Impact."}),(0,ze.jsxs)("p",{className:"tf-essay-signature",children:[(0,ze.jsx)("span",{children:"Angela Moreton"}),(0,ze.jsx)("span",{className:"font-body",style:{fontSize:12,letterSpacing:"0.18em",color:"var(--tf-purple)",display:"block",marginTop:4,fontWeight:700},children:"THE FULL IMPACT"})]})]}),(0,ze.jsxs)("div",{className:"mt-14 pt-10",style:{borderTop:"1px solid var(--tf-card-border)"},children:[(0,ze.jsx)("p",{className:"eyebrow",children:"WHERE TO NEXT"}),(0,ze.jsxs)("div",{className:"mt-5 flex flex-col gap-3",children:[(0,ze.jsxs)(On,{to:"/app/sexual-violence","data-testid":"why-cta-sv",className:"inline-flex items-center justify-between gap-3 py-3 px-4 rounded-2xl",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-text)",textDecoration:"none",border:"1px solid var(--tf-card-border)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:"Sexual violence \u2014 the calm guide"}),(0,ze.jsx)(eo,{size:16,color:"var(--tf-purple)"})]}),(0,ze.jsxs)(On,{to:"/app/domestic-abuse","data-testid":"why-cta-da",className:"inline-flex items-center justify-between gap-3 py-3 px-4 rounded-2xl",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-text)",textDecoration:"none",border:"1px solid var(--tf-card-border)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:"Domestic abuse \u2014 the calm guide"}),(0,ze.jsx)(eo,{size:16,color:"var(--tf-purple)"})]}),(0,ze.jsxs)(On,{to:"/app/about","data-testid":"why-cta-about",className:"inline-flex items-center justify-between gap-3 py-3 px-4 rounded-2xl",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-text)",textDecoration:"none",border:"1px solid var(--tf-card-border)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:"About, privacy & contact"}),(0,ze.jsx)(eo,{size:16,color:"var(--tf-purple)"})]}),(0,ze.jsxs)("a",{href:"https://www.instagram.com/thefullimpactcampaign",target:"_blank",rel:"noopener noreferrer","data-testid":"why-cta-instagram",className:"inline-flex items-center justify-between gap-3 py-3 px-4 rounded-2xl",style:{background:"var(--tf-bg-secondary)",color:"var(--tf-text)",textDecoration:"none",border:"1px solid var(--tf-card-border)"},children:[(0,ze.jsxs)("span",{className:"font-body font-bold inline-flex items-center gap-2",style:{fontSize:14},children:[(0,ze.jsx)(la,{size:15}),"Follow on Instagram"]}),(0,ze.jsx)(eo,{size:16,color:"var(--tf-purple)"})]})]})]})]})]})}function hs(){const e=(new Date).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"});return(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)("p",{className:"eyebrow",children:"ACCESSIBILITY STATEMENT"}),(0,ze.jsx)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(26px, 4vw, 34px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Accessibility on The Full Impact"}),(0,ze.jsx)("p",{className:"font-body mt-4",style:{fontSize:14.5,color:"var(--tf-text-secondary)",lineHeight:1.65},children:"The Full Impact is committed to making its website usable by as many people as possible, including survivors of sexual violence and domestic abuse who use assistive technologies, have cognitive or sensory disabilities, or access the site during periods of high stress or dissociation."}),(0,ze.jsx)("h2",{className:"tf-h2 mt-8",children:"What standard we aim for"}),(0,ze.jsxs)("p",{className:"tf-p",children:["We aim to meet ",(0,ze.jsx)("strong",{children:"Web Content Accessibility Guidelines (WCAG) 2.2 at Level AA"})," and the Welsh Government ",(0,ze.jsx)("strong",{children:"Digital Service Standard"}),". The site is being built and reviewed against these standards; it is not yet formally certified."]}),(0,ze.jsx)("h2",{className:"tf-h2 mt-8",children:"What we have done"}),(0,ze.jsxs)("ul",{className:"tf-ul",children:[(0,ze.jsxs)("li",{children:["Semantic HTML landmarks \u2014 one ",(0,ze.jsx)("code",{children:"<main>"})," per page, a real navigation region, page and section headings in order."]}),(0,ze.jsx)("li",{children:"A skip-to-main-content link as the first tab stop on every page."}),(0,ze.jsx)("li",{children:"Visible keyboard focus indicators on every interactive element."}),(0,ze.jsx)("li",{children:"Text and interactive elements meet WCAG AA colour-contrast ratios."}),(0,ze.jsx)("li",{children:"Touch targets are at least 44\xd744 CSS pixels."}),(0,ze.jsx)("li",{children:"Layout reflows without loss of function at 400% zoom on a 320px-wide viewport."}),(0,ze.jsx)("li",{children:"Accessibility settings panel \u2014 larger text, higher contrast, dyslexia-friendly font, reduced motion."}),(0,ze.jsxs)("li",{children:["The site honours the operating-system ",(0,ze.jsx)("em",{children:"prefers-reduced-motion"})," setting."]}),(0,ze.jsx)("li",{children:"No autoplay video or audio. No pop-ups."}),(0,ze.jsx)("li",{children:"All non-decorative images have text alternatives."}),(0,ze.jsx)("li",{children:"Every interactive element is reachable by keyboard alone. Modals return focus to their trigger on close and can be dismissed with Escape."}),(0,ze.jsx)("li",{children:"An anonymous quick-exit button is available on every page and is keyboard-operable."}),(0,ze.jsx)("li",{children:"Bilingual English/Welsh site chrome (menu, buttons, footer, this statement). Long-form survivor guidance is currently in English only \u2014 see below."})]}),(0,ze.jsx)("h2",{className:"tf-h2 mt-8",children:"What is not yet accessible"}),(0,ze.jsxs)("ul",{className:"tf-ul",children:[(0,ze.jsxs)("li",{children:[(0,ze.jsx)("strong",{children:"Welsh long-form content."})," The site chrome is bilingual, but the detailed survivor guidance is currently English-only. We are cho
2osing to wait for professional Welsh translation rather than publish machine translation on a trauma-informed service. Welsh-preferring users can access the English content, or reach Welsh helplines via ",(0,ze.jsx)("a",{className:"tf-link",href:"https://livefearfree.gov.wales",target:"_blank",rel:"noopener noreferrer",children:"Live Fear Free"}),"."]}),(0,ze.jsxs)("li",{children:[(0,ze.jsx)("strong",{children:"PDF workbooks."})," The Guided Journal PDFs (Colour and Black & White) are provided for print use and have not yet been individually accessibility-tagged. The same content is available on the Guided Journal page as fully accessible HTML."]}),(0,ze.jsxs)("li",{children:[(0,ze.jsx)("strong",{children:"Automated screen-reader testing."})," The site has been developed to WCAG 2.2 AA guidance but has not yet been independently audited by an external accessibility organisation."]})]}),(0,ze.jsx)("h2",{className:"tf-h2 mt-8",children:"If something is not accessible to you"}),(0,ze.jsxs)("p",{className:"tf-p",children:["Please tell us. We treat accessibility issues as urgent \u2014 this site exists so survivors can find what they need, and if it fails you it has failed. Contact us on Instagram"," ",(0,ze.jsxs)("a",{className:"tf-link",href:"https://www.instagram.com/thefullimpactcampaign",target:"_blank",rel:"noopener noreferrer","data-testid":"a11y-contact-instagram",children:[(0,ze.jsx)(la,{size:13,style:{display:"inline",verticalAlign:"middle"},"aria-hidden":"true",focusable:"false"})," @thefullimpactcampaign"]})," ","and briefly describe: the page you were on, what you tried to do, what happened, and (if you can) your device, browser and any assistive technology. We aim to reply within a few working days. If you need the information right now, please call one of the specialist helplines on the "," ",(0,ze.jsx)(On,{to:"/app/support",className:"tf-link",children:"Support"})," page."]}),(0,ze.jsx)("h2",{className:"tf-h2 mt-8",children:"Enforcement"}),(0,ze.jsx)("p",{className:"tf-p",children:"In England, Wales and Scotland, the Equality and Human Rights Commission (EHRC) enforces the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018. Although we are not a public-sector body, we hold ourselves to the same standard. If you are not satisfied with our response, you can contact the EHRC."}),(0,ze.jsx)("h2",{className:"tf-h2 mt-8",children:"Statement preparation"}),(0,ze.jsxs)("p",{className:"tf-p",children:["This statement was prepared on ",e,". The site is reviewed against WCAG 2.2 AA on an ongoing basis. We will update this statement each time we complete a substantive accessibility change."]})]})}function ps(){const e=(new Date).toLocaleDateString("cy-GB",{day:"numeric",month:"long",year:"numeric"});return(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)("p",{className:"eyebrow",children:"DATGANIAD HYGYRCHEDD"}),(0,ze.jsx)("h1",{className:"font-heading mt-3",style:{fontSize:"clamp(26px, 4vw, 34px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Hygyrchedd ar The Full Impact"}),(0,ze.jsx)("p",{className:"font-body mt-4",style:{fontSize:14.5,color:"var(--tf-text-secondary)",lineHeight:1.65},children:"Mae Ymgyrch The Full Impact wedi ymrwymo i wneud ei gwefan yn hygyrch i gymaint o bobl ag y bo modd, yn cynnwys goroeswyr trais rhywiol a cham-drin domestig sy\u2019n defnyddio technoleg gynorthwyol, sydd ag anableddau gwybyddol neu synhwyraidd, neu sy\u2019n defnyddio\u2019r safle yn ystod cyfnodau o straen uchel neu ddatgysylltiad."}),(0,ze.jsx)("h2",{className:"tf-h2 mt-8",children:"Y safon rydym yn anelu ati"}),(0,ze.jsxs)("p",{className:"tf-p",children:["Rydym yn anelu i fodloni ",(0,ze.jsx)("strong",{children:"Canllawiau Hygyrchedd Cynnwys Gwe (WCAG) 2.2 ar Lefel AA"})," a ",(0,ze.jsx)("strong",{children:"Safon Gwasanaeth Digidol"})," ","Llywodraeth Cymru. Mae\u2019r safle\u2019n cael ei adeiladu a\u2019i adolygu yn erbyn y safonau hyn; nid yw wedi\u2019i ardystio\u2019n ffurfiol eto."]}),(0,ze.jsx)("h2",{className:"tf-h2 mt-8",children:"Beth rydym wedi\u2019i wneud"}),(0,ze.jsxs)("ul",{className:"tf-ul",children:[(0,ze.jsxs)("li",{children:["Tirnodau HTML
2semantig \u2014 un ",(0,ze.jsx)("code",{children:"<main>"})," fesul tudalen, rhanbarth llywio go iawn, penawdau mewn trefn."]}),(0,ze.jsx)("li",{children:"Dolen \u201cneidio i\u2019r prif gynnwys\u201d fel y stop tab cyntaf ar bob tudalen."}),(0,ze.jsx)("li",{children:"Dangosyddion ffocws bysellfwrdd gweladwy ar bob elfen ryngweithiol."}),(0,ze.jsx)("li",{children:"Mae testun ac elfennau rhyngweithiol yn bodloni cymarebau cyferbyniad lliw WCAG AA."}),(0,ze.jsx)("li",{children:"Mae targedau cyffwrdd o leiaf 44\xd744 picsel CSS."}),(0,ze.jsx)("li",{children:"Mae\u2019r cynllun yn ail-lifo heb golli swyddogaeth ar chwyddo 400% ar borth gweld 320px o led."}),(0,ze.jsx)("li",{children:"Panel gosodiadau hygyrchedd \u2014 testun mwy, cyferbyniad uwch, ffont sy\u2019n hawdd i bobl ddyslecsig ei darllen, llai o symud."}),(0,ze.jsxs)("li",{children:["Mae\u2019r safle\u2019n parchu gosodiad ",(0,ze.jsx)("em",{children:"prefers-reduced-motion"})," y system weithredu."]}),(0,ze.jsx)("li",{children:"Dim fideo nac awdio awtoblae. Dim naidlenni."}),(0,ze.jsx)("li",{children:"Mae gan bob delwedd nad yw\u2019n addurniadol destun amgen."}),(0,ze.jsx)("li",{children:"Mae pob elfen ryngweithiol yn cyrraedd trwy fysellfwrdd yn unig. Mae modalau yn dychwelyd ffocws i\u2019w sbardun ar gau ac yn gadael cau \xe2\u2019r bysell Escape."}),(0,ze.jsx)("li",{children:"Botwm gadael cyflym dienw ar bob tudalen, y gellir ei weithredu \xe2\u2019r bysellfwrdd."}),(0,ze.jsx)("li",{children:"Elfennau\u2019r wefan yn ddwyieithog Saesneg/Cymraeg. Mae canllawiau manwl i oroeswyr yn Saesneg yn unig ar hyn o bryd \u2014 gweler isod."})]}),(0,ze.jsx)("h2",{className:"tf-h2 mt-8",children:"Beth sydd ddim yn hygyrch eto"}),(0,ze.jsxs)("ul",{className:"tf-ul",children:[(0,ze.jsxs)("li",{children:[(0,ze.jsx)("strong",{children:"Cynnwys hir yn Gymraeg."})," Mae elfennau\u2019r wefan yn ddwyieithog, ond mae\u2019r canllawiau manwl i oroeswyr yn Saesneg yn unig ar hyn o bryd. Rydym yn dewis aros am gyfieithiad proffesiynol Cymraeg yn hytrach na chyhoeddi cyfieithiad peiriannol ar wasanaeth sy\u2019n ystyriol o drawma. Gall defnyddwyr sy\u2019n gwneud dewis o\u2019r Gymraeg gyrraedd cynnwys Saesneg, neu gyrraedd llinellau cymorth Cymraeg trwy ",(0,ze.jsx)("a",{className:"tf-link",href:"https://livefearfree.gov.wales",target:"_blank",rel:"noopener noreferrer",children:"Byw Heb Ofn"}),"."]}),(0,ze.jsxs)("li",{children:[(0,ze.jsx)("strong",{children:"Llyfrau gwaith PDF."})," Nid yw PDFs y Dyddiadur Arweiniol (Lliw a Du a Gwyn) wedi eu tagio\u2019n unigol am hygyrchedd eto. Mae\u2019r un cynnwys ar gael ar y dudalen Dyddiadur Arweiniol fel HTML hygyrch llawn."]}),(0,ze.jsxs)("li",{children:[(0,ze.jsx)("strong",{children:"Profion darllenydd sgrin awtomatig."})," Datblygwyd y safle i ganllawiau WCAG 2.2 AA ond nid yw wedi cael ei archwilio\u2019n annibynnol eto gan sefydliad hygyrchedd allanol."]})]}),(0,ze.jsx)("h2",{className:"tf-h2 mt-8",children:"Os oes rhywbeth ddim yn hygyrch i chi"}),(0,ze.jsxs)("p",{className:"tf-p",children:["Dywedwch wrthym. Rydym yn trin materion hygyrchedd fel rhai brys \u2014 mae\u2019r safle hwn yn bodoli fel bod goroeswyr yn gallu dod o hyd i\u2019r hyn sydd ei angen arnyn nhw, ac os yw\u2019n eich methu chi mae wedi methu. Cysylltwch \xe2 ni ar Instagram"," ",(0,ze.jsxs)("a",{className:"tf-link",href:"https://www.instagram.com/thefullimpactcampaign",target:"_blank",rel:"noopener noreferrer",children:[(0,ze.jsx)(la,{size:13,style:{display:"inline",verticalAlign:"middle"},"aria-hidden":"true",focusable:"false"})," @thefullimpactcampaign"]})," ","gan ddisgrifio\u2019n gryno: y dudalen roeddech chi arni, beth roeddech chi\u2019n ceisio ei wneud, beth ddigwyddodd, a (os gallwch chi) eich dyfais, porwr ac unrhyw dechnoleg gynorthwyol. Rydym yn anelu at ateb o fewn ychydig ddyddiau gwaith. Os oes angen y wybodaeth arnoch chi nawr, ffoniwch un o\u2019r llinellau cymorth arbenigol ar y dudalen "," ",(0,ze.jsx)(On,{to:"/app/support",className:"tf-link",children:"Cymorth"}),"."]}),(0,ze.jsx)("h2",{className:"tf-h2 mt-8",children:"Gorfodi"}),(0,ze.jsx)("p",{className:"tf-p",children:"Yng Nghymru, Lloegr a\u2019r Alban, mae\u2019r Comisiwn Cydraddoldeb a Hawliau Dynol yn gorfodi Rheoliadau Hygyrchedd Cyrff Sector Cyhoeddus (Gwefannau a Chymwysiadau Symudol) (Rhif 2) 2018. Er nad ydym yn gorff sector cyhoeddus, rydym yn cadw ein hunain at yr un safon. Os nad ydych chi\u2019n fodlon \xe2\u2019n hymateb, gallwch chi gysylltu \xe2\u2019r Comisiwn."}),(0,ze.jsx)("h2",{className:"tf-h2 mt-8",children:"Paratoi\u2019r datganiad"}),(0,ze.jsxs)("p",{className:"tf-p",children:["Paratowyd y datganiad hwn ar ",e,". Adolygir y safle yn erbyn WCAG 2.2 AA yn barhaus. Byddwn yn diweddaru\u2019r datganiad hwn bob tro y byddwn yn cwblhau newid hygyrchedd sylweddol."]}
2)]})}function ms(){const{isCy:e}=er();return(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"a11y-screen",children:[(0,ze.jsx)(io,{title:e?"Datganiad Hygyrchedd":"Accessibility statement",description:e?"Datganiad hygyrchedd Ymgyrch The Full Impact \u2014 WCAG 2.2 AA a Safon Gwasanaeth Digidol Llywodraeth Cymru.":"The Full Impact's accessibility statement \u2014 WCAG 2.2 AA and the Welsh Government Digital Service Standard.",path:"/app/accessibility"}),e?(0,ze.jsx)(ps,{}):(0,ze.jsx)(hs,{}),(0,ze.jsx)("div",{className:"mt-8",children:(0,ze.jsx)(po,{label:e?"Argraffu / Cadw\u2019r dudalen hon":"Print / Save this page"})})]})}const ys=Jn("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),gs=Jn("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);function vs(e){let{label:t,value:n,testid:a}=e;return(0,ze.jsxs)("div",{className:"grid grid-cols-[130px_1fr] gap-3 py-2",style:{borderBottom:"1px solid var(--tf-card-border)"},"data-testid":a,children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.2em",color:"var(--tf-purple)",paddingTop:3},children:t}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:12.5,color:"var(--tf-text)",lineHeight:1.55},children:n})]})}function bs(e){let{children:t}=e;return(0,ze.jsxs)("li",{className:"flex items-start gap-2 py-1",style:{fontSize:12.5,color:"var(--tf-text)",lineHeight:1.55},children:[(0,ze.jsx)(ys,{size:14,strokeWidth:2.2,color:"var(--tf-purple)",style:{marginTop:3,flexShrink:0},"aria-hidden":"true"}),(0,ze.jsx)("span",{className:"font-body",children:t})]})}function xs(e){let{title:t,eyebrow:n,children:a}=e;return(0,ze.jsxs)("section",{className:"mt-6 tf-compliance-section",children:[n&&(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10,letterSpacing:"0.24em",color:"var(--tf-purple)"},children:n}),(0,ze.jsx)("h2",{className:"font-heading mt-1",style:{fontSize:17,color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:t}),(0,ze.jsx)("div",{className:"mt-3",children:a})]})}function ws(){const e=(new Date).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"});return(0,ze.jsxs)("div",{className:"tf-compliance-page py-8 sm:py-10","data-testid":"compliance-screen",children:[(0,ze.jsx)(io,{title:"Accessibility & bilingual readiness",description:"A one-page summary of the WCAG 2.2 AA accessibility measures and Welsh-language readiness of The Full Impact \u2014 designed to accompany grant applications.",path:"/app/compliance"}),(0,ze.jsxs)("div",{className:"max-w-[760px] mx-auto px-5 sm:px-8",children:[(0,ze.jsxs)("div",{className:"tf-no-print flex items-center justify-between gap-3 mb-6",children:[(0,ze.jsxs)(On,{to:"/app","data-testid":"compliance-back",className:"inline-flex items-center gap-1.5 font-body font-bold tf-link",style:{fontSize:13},children:[(0,ze.jsx)(gs,{size:14})," Back to home"]}),(0,ze.jsx)(po,{label:"Print / Save as PDF"})]}),(0,ze.jsxs)("header",{className:"tf-compliance-header",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.28em",color:"var(--tf-purple)"},children:"THE FULL IMPACT \xb7 ONE-PAGE SUMMARY"}),(0,ze.jsx)("h1",{className:"font-heading mt-2","data-testid":"compliance-title",style:{fontSize:"clamp(24px, 3.4vw, 30px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.015em"},children:"Digital accessibility & bilingual readiness"}),(0,ze.jsxs)("p",{className:"font-body mt-2",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.55},children:["A concise summary of the accessibility standards, bilingual foundation and privacy posture of the campaign \u2014 prepared for funders, commissioners and partner organisations. Issued ",e,"."]})]}),(0,ze.jsxs)("div",{className:"mt-6 rounded-xl p-4",style:{background:"var(--tf-bg-secondary)",border:"1px solid var(--tf-card-border)"},children:[(0,ze.jsx)(vs,{label:"ORGANISATION",value:"The Full Impact \u2014 Angela Moreton",testid:"row-org"}),(0,ze.jsx)(vs,{label:"COVERAGE",value:"England & Wales (UK-focused survivor guidance)",testid:"row-coverage"}),(0,ze.jsx)(vs,{label:"AUDIENCE",value:"Survivors of rape, sexual violence and domestic abuse; ISVAs, IDVAs, SARC staff, social workers.",testid:"row-audience"}),(0,ze.jsx)(vs,{label:"LICENSING",value:"Content under Creative
2Commons BY-NC-ND 4.0. Guided journal: All Rights Reserved.",testid:"row-licensing"}),(0,ze.jsx)(vs,{label:"COST TO USER",value:"Free. Anonymous. No sign-up, no accounts, no tracking cookies.",testid:"row-cost"})]}),(0,ze.jsx)(xs,{eyebrow:"SECTION 01",title:"WCAG 2.2 AA measures implemented",children:(0,ze.jsxs)("ul",{children:[(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("strong",{children:"Skip-to-content"})," link on every page for keyboard and screen-reader users (WCAG 2.4.1 Bypass Blocks)."]}),(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("strong",{children:"Visible focus rings"})," on all interactive elements, meeting the AA focus appearance requirements (WCAG 2.4.7 / 2.4.11)."]}),(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("strong",{children:"Minimum target size"})," of 44\u2009\xd7\u200944\xa0px for buttons, tabs and mobile nav (WCAG 2.5.8 Target Size \u2014 Minimum)."]}),(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("strong",{children:"ARIA landmarks & labels"})," on headers, navigation, main and footer; abbreviations (SV, DA) exposed as accessible names."]}),(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("strong",{children:"Colour contrast"})," checked for body text, links and buttons against WCAG AA contrast ratios; calm purple/pink palette tested against white and neutral backgrounds."]}),(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("strong",{children:"User-controlled Accessibility Panel"})," \u2014 text-size scaling, high-contrast toggle, reduced-motion mode, dyslexia-friendly font, all persisted per browser via localStorage."]}),(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("strong",{children:"Reduced-motion support"})," honouring"," ",(0,ze.jsx)("code",{children:"prefers-reduced-motion"})," and the user toggle."]}),(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("strong",{children:"Trauma-informed patterns"}),' \u2014 Quick Exit button on every page, "Ground me" breathing modal, no auto-playing media, no forced pop-ups.']}),(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("strong",{children:"Semantic HTML & heading hierarchy"})," \u2014 one"," ",(0,ze.jsx)("code",{children:"h1"})," per page, logical h2/h3 order, list semantics for structured guidance."]}),(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("strong",{children:"Print stylesheet"})," \u2014 every long-form guide and the guided journal are printable / saveable as PDF for offline reading."]})]})}),(0,ze.jsxs)(xs,{eyebrow:"SECTION 02",title:"Bilingual English / Welsh readiness",children:[(0,ze.jsx)("p",{className:"font-body",style:{fontSize:12.5,color:"var(--tf-text)",lineHeight:1.6},children:"The application ships with a full bilingual infrastructure so that Welsh translation can be added by a qualified translator without any further engineering work."}),(0,ze.jsxs)("ul",{className:"mt-2",children:[(0,ze.jsxs)(bs,{children:["React Context-based i18n (",(0,ze.jsx)("code",{children:"LanguageContext"}),") with a persisted user preference \u2014 ",(0,ze.jsx)("em",{children:"English"})," or ",(0,ze.jsx)("em",{children:"Cymraeg"}),"."]}),(0,ze.jsxs)(bs,{children:["Central ",(0,ze.jsx)("code",{children:"translations.js"})," dictionary \u2014 navigation, actions, footer and page chrome are already translation-ready."]}),(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("code",{children:"lang"})," attribute updated on the document root when the user switches language (WCAG 3.1.1 Language of Page)."]}),(0,ze.jsx)(bs,{children:"Regional specialist Welsh services listed in the SV support directory."}),(0,ze.jsx)(bs,{children:'A visible "Cymraeg pending" notice explains where translation is not yet verified by a Welsh-speaker \u2014 avoiding machine-translated content on a sensitive site.'})]})]}),(0,ze.jsx)(xs,{eyebrow:"SECTION 03",title:"Privacy & safeguarding posture",children:(0,ze.jsxs)("ul",{children:[(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("strong",{children:"No accounts, no sign-up, no personal data collected."}),"\xa0Journal entries stay in the reader\u2019s browser (localStorage) and are never uploaded."]}),(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("strong",{children:"Anonymous, aggregate visit counts only"})," \u2014 the backend stores per-page hit counters with no IP, user agent or fingerprint."]}
2),(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("strong",{children:"Quick Exit"})," button visible on every page \u2014 one tap redirects to a neutral site and replaces history entry."]}),(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("strong",{children:"Admin analytics"})," gated behind an environment key and hidden from the public interface."]}),(0,ze.jsxs)(bs,{children:[(0,ze.jsx)("strong",{children:"Trust signals"})," \u2014"," ",(0,ze.jsx)("code",{children:"/.well-known/security.txt"}),", JSON-LD schema and canonical meta tags, deployed to counter false-positive spam classification by gateway vendors (Sophos, Cisco Talos)."]})]})}),(0,ze.jsxs)(xs,{eyebrow:"SECTION 04",title:"Content sourcing & editorial review",children:[(0,ze.jsx)("p",{className:"font-body",style:{fontSize:12.5,color:"var(--tf-text)",lineHeight:1.6},children:"Survivor-facing information is drawn from reputable UK sources and reviewed against the current Victims\u2019 Code of Practice."}),(0,ze.jsxs)("ul",{className:"mt-2",children:[(0,ze.jsx)(bs,{children:"Rape Crisis England & Wales"}),(0,ze.jsx)(bs,{children:"Crown Prosecution Service (CPS)"}),(0,ze.jsx)(bs,{children:"Victims\u2019 Code of Practice"}),(0,ze.jsx)(bs,{children:"gov.uk, NHS, Mind, PTSD UK"}),(0,ze.jsx)(bs,{children:"Refuge, Women\u2019s Aid, Galop, Karma Nirvana, ManKind"})]})]}),(0,ze.jsx)("footer",{className:"mt-10 pt-5 tf-compliance-footer",style:{borderTop:"1px solid var(--tf-card-border)"},children:(0,ze.jsxs)("p",{className:"font-body",style:{fontSize:11,color:"var(--tf-text-muted)",lineHeight:1.6},children:["\xa9 ",(new Date).getFullYear()," Angela Moreton \xb7 The Full Impact\u2122. This summary describes the state of the platform on the date issued and is provided for information only. It is not a substitute for an independent accessibility audit. Enquiries:"," ",(0,ze.jsx)("a",{href:"https://www.instagram.com/thefullimpactcampaign",className:"tf-link",target:"_blank",rel:"noopener noreferrer",children:"@thefullimpactcampaign"}),"."]})})]})]})}const Ss=Jn("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]),ks=Jn("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]),js=["Enthusiastic yes","Freely given","Awake & sober enough","Can be withdrawn"],Ns=["Silence or freezing","Yes under pressure","Asleep or too drunk","Absence of a “no”"];function Cs(e){let{url:t}=e;const n=t.replace(/^https?:\/\//,"").replace(/\?src=.*$/,"");return(0,ze.jsxs)("div",{className:"tf-pc-body",children:[(0,ze.jsx)("p",{className:"tf-pc-eyebrow",children:"CONSENT \xb7 A QUICK GUIDE"}),(0,ze.jsxs)("div",{className:"tf-pc-cols",children:[(0,ze.jsxs)("div",{className:"tf-pc-col tf-pc-col-yes",children:[(0,ze.jsx)("p",{className:"tf-pc-col-title",children:"LOOKS LIKE"}),(0,ze.jsx)("ul",{children:js.map(e=>(0,ze.jsx)("li",{dangerouslySetInnerHTML:{__html:"\u2713 ".concat(e)}},e))})]}),(0,ze.jsxs)("div",{className:"tf-pc-col tf-pc-col-no",children:[(0,ze.jsx)("p",{className:"tf-pc-col-title",children:"IS NOT"}),(0,ze.jsx)("ul",{children:Ns.map(e=>(0,ze.jsx)("li",{dangerouslySetInnerHTML:{__html:"\u2717 ".concat(e)}},e))})]})]}),(0,ze.jsxs)("div",{className:"tf-pc-footer",children:[(0,ze.jsx)("div",{className:"tf-pc-qr",children:(0,ze.jsx)(Ar,{value:t,size:68,level:"M",includeMargin:!1,bgColor:"#ffffff",fgColor:"#3F1F5B"})}),(0,ze.jsxs)("div",{className:"tf-pc-caption",children:[(0,ze.jsx)("p",{className:"tf-pc-brand",children:"The Full Impact"}),(0,ze.jsxs)("p",{className:"tf-pc-url",children:[n,"/app/consent"]}),(0,ze.jsx)("p",{className:"tf-pc-scan",children:"Scan for the full UK guide"})]})]})]})}function Es(e){let{url:t}=e;return(0,ze.jsx)("aside",{className:"tf-pc-single","aria-hidden":"true","data-testid":"consent-pocket-card",children:(0,ze.jsx)("div",{className:"tf-pc-card",children:(0,ze.jsx)(Cs,{url:t})})})}function As(e){let{url:t,count:n=10,layout:a="10-a4"}=e;const r=Array.from({length:n});return(0,ze.jsx)("aside",{className:"tf-pc-multi tf-pc-multi-".concat(a),"aria-hidden":"true","data-testid":"consent-pocket-multi-".concat(a),children:r.map((e,n)=>(0,ze.jsx)("div",{className:"tf-pc-card",children:(0,ze.jsx)(Cs,{url:t})},n))})}const zs=['An enthusiastic, active "yes".',"Given freely, without pressure or fear.","From someone who is awake, sober enough, and understanding.","For this specific thing, not something else.","Something either person can take back at any moment."],Ts=["Silence, freezing, going still or complying to survive.",'A "yes" given because you were pressured, threatened or trapped.',"From someone asleep, unconscious, or too drunk / drugged to choose.","Consent to one act does not mean consent to another.",'The absence of a "no".'],Rs=[{label:"Fight",body:"Pushing back, hitting, shouting."},{label:"Flight",body:"Trying to get away."},{label:"Freeze",body:"Going still, unable to move or speak (tonic immobility)."},{label:"Fawn",body:"Complying, being polite, going along with it to survive."},{label:"Flop",body:"Going limp, dissociating, feeling as if it wasn\u2019t happening to you."}],Fs=[{label:"Sexual Offences Act 2003 (England & Wales)",url:"https://www.legislation.gov.uk/ukpga/2003/42/contents"},{label:"Sexual Offences (Scotland) Act 2009",url:"https://www.legislation.gov.uk/asp/2009/9/contents"},{label:"Sexual Offences (Northern Ireland) Order 2008",url:"https://www.legislation.gov.uk/nisi/2008/1769/contents"},{label:"Police, Crime, Sentencing and Courts Act 2022 (positions of trust)",url:"https://www.legislation.gov.uk/ukpga/2022/32/contents/enacted"},{label:"Serious Crime Act 2015 (grooming, coercive & controlling behaviour)",url:"https://www.legislation.gov.uk/ukpga/2015/9/contents"},{label:"Domestic Abuse Act 2021",url:"https://www.legislation.gov.uk/ukpga/2021/17/contents/enacted"},{label:"Modern Slavery Act 2015",url:"https://www.legislation.gov.uk/ukpga/2015/30/contents/enacted"},{label:"NSPCC \u2014 What is grooming?",url:"https://www.nspcc.org.uk/wh
2at-is-child-abuse/types-of-abuse/grooming/"},{label:"CPS legal guidance \u2014 Rape and Sexual Offences",url:"https://www.cps.gov.uk/legal-guidance/rape-and-sexual-offences-overview-and-index-2020-updated-guidance"},{label:"Rape Crisis England & Wales \u2014 About consent",url:"https://rapecrisis.org.uk/get-informed/about-sexual-violence/consent/"},{label:"Rape Crisis Scotland",url:"https://www.rapecrisisscotland.org.uk/"},{label:"Nexus NI",url:"https://nexusni.org/"},{label:"NSPCC \u2014 Age of consent",url:"https://www.nspcc.org.uk/keeping-children-safe/sex-relationships/sex-law-teenagers/"}];function Ps(e){let{items:t,positive:n}=e;const a=n?ys:Ss,r=n?"var(--tf-purple-dark)":"#B85C6F";return(0,ze.jsx)("ul",{style:{listStyle:"none",padding:0,margin:0},className:"flex flex-col gap-3",children:t.map(e=>(0,ze.jsxs)("li",{className:"flex items-start gap-2.5",children:[(0,ze.jsx)(a,{size:16,strokeWidth:2.2,color:r,style:{marginTop:3,flexShrink:0},"aria-hidden":"true"}),(0,ze.jsx)("span",{className:"font-body",style:{fontSize:13.5,lineHeight:1.55,color:"var(--tf-text)"},children:e})]},e))})}function Is(){const e=(()=>{if("undefined"===typeof window)return"https://thefullimpact.org/?src=qr";try{const e=window.location.origin,t=new URL(e).hostname;return/preview\.emergentagent\.com$/i.test(t)?"https://thefullimpact.org/?src=qr":"".concat(e,"/?src=qr")}catch(e){return"https://thefullimpact.org/?src=qr"}})(),[t,n]=(0,a.useState)(!1),r=(0,a.useRef)(null),o=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(!t)return;const e=e=>{var t;"Escape"===e.key&&(n(!1),null===(t=o.current)||void 0===t||t.focus())},a=e=>{r.current&&!r.current.contains(e.target)&&o.current&&!o.current.contains(e.target)&&n(!1)};return window.addEventListener("keydown",e),window.addEventListener("mousedown",a),()=>{window.removeEventListener("keydown",e),window.removeEventListener("mousedown",a)}},[t]);const i=(e,t)=>{Ur(t),document.body.classList.add(e),window.print(),setTimeout(()=>document.body.classList.remove(e),400)},s=[{key:"single",label:"1 preview card on A4",hint:"One card, centred on an A4 sheet. For a quick preview or a single hand-out.",action:()=>i("tf-print-consent-card","consent-print-pocket-1")},{key:"10-a4",label:"10 pocket cards on A4 (portrait)",hint:"Ten business-card-sized cards, 2 \xd7 5 grid with faint cut guides.",action:()=>i("tf-print-consent-card-10-a4","consent-print-pocket-10-a4")}];return(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"consent-screen",children:[(0,ze.jsx)(io,{title:"Consent \u2014 UK law explained",description:"A plain-language, trauma-informed UK guide to what consent means in law across England, Wales, Scotland and Northern Ireland. Freezing is not consent.",path:"/app/consent"}),(0,ze.jsx)("p",{className:"eyebrow",children:"UK LAW \u2014 CONSENT EXPLAINED"}),(0,ze.jsx)("h1",{className:"font-heading mt-3","data-testid":"consent-title",style:{fontSize:"clamp(28px, 4vw, 36px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Consent \u2014 what it means, and what it doesn't."}),(0,ze.jsx)("p",{className:"font-body mt-4 max-w-xl",style:{fontSize:14.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:"If you're not sure whether what happened to you counts as rape or sexual assault, this page explains the law in plain words. Choose your nation below so we can show you the right guidance. Nothing here is legal advice."}),(0,ze.jsx)(Lo,{testid:"consent-nation-picker"}),(0,ze.jsx)(Po,{variant:"sv"}),(0,ze.jsx)("section",{className:"mt-6 tf-card p-5 sm:p-6","data-testid":"consent-reassurance",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #F4EFF8 100%)",borderColor:"var(--tf-purple-light)"},children:(0,ze.jsxs)("div",{className:"flex items-start gap-4",children:[(0,ze.jsx)("div",{className:"w-11 h-11 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:"linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%)",color:"#fff"},children:(0,ze.jsx)(ta,{size:20})}),(0,ze.jsxs)("div",{children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"BEFORE YOU READ ON"}),(0,ze.jsx)("h2",{className:"font-heading mt-1",style:{fontSize:"clamp(19px, 2.4vw, 22px)",color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:"You are believed. It was not your fault."}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:"Freezing, fawning, going quiet, complying to survive \u2014 none of that is consent. Reading this page is not a commitment to report anything. It is y
2ours to keep, come back to, or share with someone you trust."})]})]})}),(0,ze.jsx)("div",{className:"mt-6",children:(0,ze.jsx)(po,{label:"Print / Save this page"})}),(0,ze.jsxs)(Ao,{children:[(0,ze.jsxs)("section",{className:"mt-12","data-testid":"consent-section-definition",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SECTION 01"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"What consent means in law."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["In England & Wales, the law says: ",(0,ze.jsx)("em",{children:"\u201cA person consents if they agree by choice, and have the freedom and capacity to make that choice.\u201d"})," ","Three words matter \u2014 ",(0,ze.jsx)("strong",{children:"agreement"}),", ",(0,ze.jsx)("strong",{children:"freedom"}),","," ",(0,ze.jsx)("strong",{children:"capacity"}),"."]}),(0,ze.jsx)("div",{className:"mt-5 grid sm:grid-cols-3 gap-3",children:[{word:"AGREEMENT",body:'A "yes" has to be actively given. Silence isn\u2019t a yes. Not saying "no" isn\u2019t a yes.'},{word:"FREEDOM",body:"You have to be free to say no without fear. Threats, pressure, coercion, or feeling trapped can all remove freedom."},{word:"CAPACITY",body:"You have to be capable of choosing. Asleep, unconscious, very drunk, drugged, or unable to understand \u2014 all remove capacity."}].map(e=>(0,ze.jsxs)("div",{className:"tf-card p-4","data-testid":"consent-word-".concat(e.word.toLowerCase()),children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:e.word}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13,color:"var(--tf-text)",lineHeight:1.6},children:e.body})]},e.word))})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"consent-section-visual",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SECTION 02"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"What consent looks like \u2014 and what it doesn't."}),(0,ze.jsxs)("div",{className:"mt-5 grid sm:grid-cols-2 gap-4",children:[(0,ze.jsxs)("div",{className:"tf-card p-5","data-testid":"consent-visual-yes",style:{background:"#FFFFFF",borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"CONSENT LOOKS LIKE"}),(0,ze.jsx)("div",{className:"mt-3",children:(0,ze.jsx)(Ps,{items:zs,positive:!0})})]}),(0,ze.jsxs)("div",{className:"tf-card p-5","data-testid":"consent-visual-no",style:{background:"#FFFFFF",borderColor:"#F0D6DE"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"#B85C6F"},children:"CONSENT IS NOT"}),(0,ze.jsx)("div",{className:"mt-3",children:(0,ze.jsx)(Ps,{items:Ts,positive:!1})})]})]}),(0,ze.jsxs)("div",{className:"mt-5 flex flex-wrap items-center gap-3",children:[(0,ze.jsxs)("div",{style:{position:"relative"},children:[(0,ze.jsxs)("button",{ref:o,type:"button",onClick:()=>n(e=>!e),"data-testid":"consent-pocket-print-button","aria-haspopup":"menu","aria-expanded":t,"aria-label":"Print a pocket-size consent card",className:"inline-flex items-center gap-1.5 px-4 py-2 rounded-full font-bold tf-focus",style:{background:"#fff",color:"var(--tf-purple-dark)",border:"1px solid var(--tf-purple-light)",fontSize:13,minHeight:40},children:[(0,ze.jsx)(ks,{size:14,strokeWidth:2.2}),"Print pocket card",(0,ze.jsx)(Ir,{size:13,strokeWidth:2.2})]}),t&&(0,ze.jsx)("div",{ref:r,role:"menu","aria-label":"Pocket-card print layouts","data-testid":"consent-pocket-print-menu",className:"tf-fade-up",style:{position:"absolute",top:"calc(100% + 8px)",left:0,zIndex:60,width:320,maxWidth:"calc(100vw - 24px)",background:"#fff",border:"1px solid var(--tf-card-border)",borderRadius:14,boxShadow:"0 20px 40px rgba(43, 22, 78, 0.14)",padding:6},children:s.map(e=>(0,ze.jsxs)("button",{type:"button",role:"menuitem","data-testid":"consent-pocket-option-".concat(e.key),onClick:()=>{n(!1),e.action()},className:"w-full text-left rounded-lg tf-focus",style:{background:"transparent",border:"none",padding:"10px 12px",cursor:"pointer",color:"var(--tf-text)",display:"block"},onMouseEnter:e=>{e.currentTarget.style.background="var(--tf-bg-secondary)"},onMouseLeave:e=>{e.currentTarget.style.background="transparent"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13,color:"var(--tf-text)",margin:0},children:e.label}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:11.5,color:"var(--tf-text-secondary)",margin:"2px 0 0 0",lineHeight:1.4},children:e.hint})]},e.key))})]}),(0,ze.jsx)("p",{className:"font-body",style:{fontSize:12,color:"var(--tf-text-secondary)",lineHeight:1.4},children:"Business-card-sized. QR points to the full Consent guide."})]})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"consent-section-freeze",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SECTION 03"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Freezing is not consent."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["Many survivors ask, ",(0,ze.jsx)("em",{children:"\u201cI didn't fight or shout \u2014 was it really rape?\u201d"})," ","Yes, it can be. UK prosecutors formally recognise five trauma responses. None of them is consent."]}),(0,ze.jsx)("div",{className:"mt-4 grid sm:grid-cols-2 lg:grid-cols-3 gap-3",children:Rs.map(e=>(0,ze.jsxs)("div",{className:"tf-card p-4","data-testid":"consent-5f-".concat(e.label.toLowerCase()),children:[(0,ze.jsx)("p",{className:"font-heading",style:{fontSize:17,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:e.label}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.55},children:e.body})]},e.label))})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"consent-section-age",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SECTION 04"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Age of consent across the UK."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["The age of consent is ",(0,ze.jsx)("strong",{children:"16"})," across the whole of the UK \u2014 England, Wales, Scotland and Northern Ireland. It applies equally regardless of gender or sexual orientation. Two important exceptions raise it to ",(0,ze.jsx)("strong",{children:"18"}),":"]}),(0,ze.jsxs)("ul",{className:"mt-4 flex flex-col gap-3",style:{listStyle:"none",padding:0},children:[(0,ze.jsxs)("li",{className:"tf-card p-4",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-text)"},children:"Positions of trust \u2014 age 18"}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.6},children:"Teachers, carers, doctors, sports coaches, faith leaders, youth workers \u2014 anyone with authority or care over you. Extended in 2022 to include sports coaches and faith leaders."})]}),(0,ze.jsxs)("li",{className:"tf-card p-4",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-text)"},children:"Indecent images \u2014 age 18"}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.6}
2,children:"Any sexual image of someone under 18 is illegal \u2014 even a self-taken image, even if the person consented at the time."})]}),(0,ze.jsxs)("li",{className:"tf-card p-4",style:{background:"var(--tf-pink-soft)",borderColor:"var(--tf-pink)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-text)"},children:"Under 13 \u2014 cannot consent, ever"}),(0,ze.jsxs)("p",{className:"font-body mt-1",style:{fontSize:13,color:"var(--tf-text)",lineHeight:1.6},children:["The law treats a child under 13 as unable to consent, in every circumstance. This is called ",(0,ze.jsx)("em",{children:"strict liability"}),"."]})]})]})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"consent-section-older",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SECTION 05"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"When someone much older pursues you just after 16."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:[(0,ze.jsx)("em",{children:"\u201cBut she was 16, so it was legal\u201d"})," is one of the most common things older abusers say \u2014 and one of the most common things survivors are told afterwards. The truth is more careful than that, and the law knows it."]}),(0,ze.jsxs)("div",{className:"mt-5 tf-card p-5","data-testid":"consent-why-16",style:{background:"#FFFDFA",borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"WHY THE AGE OF CONSENT IS 16"}),(0,ze.jsxs)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text)",lineHeight:1.7},children:["The UK age of consent was raised to 16 in 1885, after decades of campaigning to protect children from adult sexual exploitation. It was set \u2014 and remains set \u2014 as a ",(0,ze.jsx)("strong",{children:"floor, not a permission slip"}),". The point of the law is to protect young people during a period of continued development, while they are still finishing their understanding of adult relationships, sex and boundaries."]})]}),(0,ze.jsxs)("div",{className:"mt-4 grid sm:grid-cols-2 gap-4",children:[(0,ze.jsxs)("div",{className:"tf-card p-5","data-testid":"consent-16-does-not",style:{background:"#FFFDFB",borderColor:"#F0D6DE"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"#B85C6F"},children:"REACHING 16 DOES NOT MEAN"}),(0,ze.jsx)("div",{className:"mt-3",children:(0,ze.jsx)(Ps,{positive:!1,items:["Older adults have permission to pursue you.",'The relationship is equal because "you\u2019re both consenting".',"What happened is safe from criminal law just because of a date on the calendar.","The state has stopped caring about how someone treats you."]})})]}),(0,ze.jsxs)("div",{className:"tf-card p-5","data-testid":"consent-16-does",style:{background:"#FFFFFF",borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"REACHING 16 DOES MEAN"}),(0,ze.jsx)("div",{className:"mt-3",children:(0,ze.jsx)(Ps,{positive:!0,items:["Age alone can no longer be the basis for a prosecution against your partner.","Every other element of consent still applies \u2014 agreement, freedom, capacity.","Grooming, coercive control, exploitation and abuse of trust remain crimes."]})})]})]}),(0,ze.jsx)("p",{className:"eyebrow mt-8",children:"WHAT THE LAW CAN STILL DO"}),(0,ze.jsx)("h3",{className:"font-heading mt-2",style:{fontSize:19,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Being 16 doesn't put anyone above the law."}),(0,ze.jsx)("ul",{className:"mt-4 flex flex-col gap-3",style:{listStyle:"none",padding:0},children:[{title:"Section 74 \u2014 freedom",body:'If an older adult used their power, money, experience, isolation, or a pattern of grooming to secure a "yes", your freedom to say no may have been removed. Legal consent may not exist, even where you were over 16.'},{title:"Sexual communication with a child",body:"Any sexual message from an adult to someone under 16 is a crime (Serious Crime Act 2015, s.67). Messages sent before your 16th birthday remain evidence of a pattern of behaviour."},{title:"Meeting a child following grooming",body:"A crime under the Sexual Offences Act 2003, s.15 (applies to under-16s). Prior grooming behaviour can still be considered as evidence after that age."},{title:"Positions of trust \u2014 age 18",body:"Teachers, coaches, faith leaders, carers, doctors, youth workers \u2014 the age of consent is 18, regardless of anything else."},{title:"Coercive & controlling behaviour",body:"A crime under the Serious Crime Act 2015 (s.76) and the Domestic Abuse Act 2021. It applies even if you never lived together, and even in a first relationship."},{title:"Modern slavery",body:"If you were given money, drugs, alcohol, gifts or somewhere to escape to in exchange for sex or c
2ompany, that can be exploitation under the Modern Slavery Act 2015."}].map(e=>(0,ze.jsxs)("li",{className:"tf-card p-4","data-testid":"consent-law-".concat(e.title.split(" ")[0].toLowerCase()),children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-text)"},children:e.title}),(0,ze.jsx)("p",{className:"font-body mt-1",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.6},children:e.body})]},e.title))}),(0,ze.jsx)("p",{className:"eyebrow mt-8",children:"WHAT GROOMING LOOKS LIKE"}),(0,ze.jsx)("h3",{className:"font-heading mt-2",style:{fontSize:19,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"A pattern, not one moment."}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:"The signs adults are trained to spot include:"}),(0,ze.jsx)("ul",{className:"mt-3 flex flex-col gap-2","data-testid":"consent-grooming-signs",style:{listStyle:"none",padding:0},children:['A big age gap made to feel "mature" or "special".',"Gifts, money, alcohol, drugs, or a place to escape to.","Isolation from friends and family.","Secrets \u2014 being told the relationship must stay private.","Love-bombing \u2014 intense affection very early on.",'Testing boundaries with jokes, "accidental" touches, or explicit images.',"Blaming you for anything sexual, or making you feel you owe them."].map(e=>(0,ze.jsxs)("li",{className:"flex items-start gap-2.5",children:[(0,ze.jsx)(ys,{size:15,strokeWidth:2.2,color:"var(--tf-purple-dark)",style:{marginTop:3,flexShrink:0},"aria-hidden":"true"}),(0,ze.jsx)("span",{className:"font-body",style:{fontSize:13.5,lineHeight:1.55,color:"var(--tf-text)"},children:e})]},e))}),(0,ze.jsx)("div",{className:"mt-5 tf-card p-5","data-testid":"consent-not-your-fault",style:{background:"var(--tf-pink-soft)",borderColor:"var(--tf-pink)"},children:(0,ze.jsxs)("p",{className:"font-body",style:{fontSize:14,color:"var(--tf-text)",lineHeight:1.65},children:[(0,ze.jsx)("strong",{children:"If any of that describes what happened to you:"})," it was not a relationship between equals, and it was not your fault. Age is one factor. The pattern of behaviour is the bigger one."]})}),(0,ze.jsxs)("div",{className:"mt-4 tf-card p-5","data-testid":"consent-under-18-callout",style:{background:"#FFFFFF",borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"IF YOU ARE UNDER 18 NOW"}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13.5,color:"var(--tf-text)",lineHeight:1.7},children:"You can speak to someone in confidence, at any time, for free:"}),(0,ze.jsxs)("ul",{className:"mt-3 flex flex-col gap-2",style:{listStyle:"none",padding:0},children:[(0,ze.jsxs)("li",{className:"font-body",style:{fontSize:13.5,color:"var(--tf-text)"},children:[(0,ze.jsx)("strong",{children:"Childline"})," \xb7 ",(0,ze.jsx)("a",{href:"tel:08001111",className:"tf-link",children:"0800 1111"})," \xb7 24/7 \xb7 they won't tell anyone unless you say so."]}),(0,ze.jsxs)("li",{className:"font-body",style:{fontSize:13.5,color:"var(--tf-text)"},children:[(0,ze.jsx)("strong",{children:"NSPCC"})," (for you, or a trusted adult ringing on your behalf) \xb7 ",(0,ze.jsx)("a",{href:"tel:08088005000",className:"tf-link",children:"0808 800 5000"})]}),(0,ze.jsxs)("li",{className:"font-body",style:{fontSize:13.5,color:"var(--tf-text)"},children:[(0,ze.jsx)("strong",{children:"Report abuse online"})," \xb7"," ",(0,ze.jsx)("a",{href:"https://www.ceop.police.uk/safety-centre/",target:"_blank",rel:"noopener noreferrer",className:"tf-link",children:"CEOP (police)"})]})]})]})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"consent-section-marriage",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SECTION 06"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Marriage, relationships, and condom removal."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:[(0,ze.jsx)("strong",{children:"Being married, in a civil partnership, or in a long-term relationship does not give anyone consent to sex."})," Marital rape has been a criminal offence in the UK since 1991. Every act still needs the same three things \u2014 agreement, freedom, capacity."]}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["Removing a condom during sex without the other person's agreement (sometimes called ",(0,ze.jsx)("em",{children:"\u201cstealthing\u201d"}),"), or agreeing to use one and then not doing so, ",(0,ze.jsx)("strong",{children:"is not consented sex under UK law"}),". English and Scottish courts have treated it as rape."]})]})]}),(0,ze.jsxs)(zo,{children:[(0,ze.jsx)("section",{className:"mt-8 tf-card p-5 sm:p-6","data-testid":"consent-scotland-scope",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #F4EFF8 100%)",borderColor:"var(--tf-purple-light)"},children:(0,ze.jsxs)("div",{className:"flex items-start gap-4",children:[(0,ze.jsx)("div",{className:"w-11 h-11 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:"linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%)",color:"#fff"},"aria-hidden":"true",children:(0,ze.jsx)(wo,{size:20})}),(0,ze.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"A COMPLETELY SEPARATE LEGAL SYSTEM"}),(0,ze.jsx)("h2",{className:"font-heading mt-1",style:{fontSize:"clamp(20px, 2.4vw, 23px)",color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:"You are reading consent under Scots law."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["Scotland is not part of the England & Wales legal system \u2014 it has its own statute (the ",(0,ze.jsx)("strong",{children:"Sexual Offences (Scotland) Act 2009"}),"), its own language for consent (",(0,ze.jsx)("em",{children:"\u201cfree agreement\u201d"}),"), and its own list of situations that remove it. Every section below is Scots law."]})]})]})}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"consent-scot-section-definition",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SECTION 01 \xb7 SCOTS LAW"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"}
2,children:"What consent means in Scots law."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["The Sexual Offences (Scotland) Act 2009 defines consent as"," ",(0,ze.jsx)("em",{children:"\u201cfree agreement\u201d"})," (s.12). Three ideas matter \u2014"," ",(0,ze.jsx)("strong",{children:"agreement"}),", ",(0,ze.jsx)("strong",{children:"freedom"}),","," ",(0,ze.jsx)("strong",{children:"capacity"}),"."]}),(0,ze.jsx)("div",{className:"mt-5 grid sm:grid-cols-3 gap-3",children:[{word:"AGREEMENT",body:'A "yes" has to be actively given. Silence isn\u2019t a yes. Not saying "no" isn\u2019t a yes.'},{word:"FREEDOM",body:"You have to be free to say no without fear. Threats, pressure, coercion, unlawful detention or feeling trapped all remove freedom."},{word:"CAPACITY",body:"You have to be capable of choosing. Asleep, unconscious, incapacitated by drink or drugs, unable to communicate \u2014 all remove capacity."}].map(e=>(0,ze.jsxs)("div",{className:"tf-card p-4","data-testid":"consent-scot-word-".concat(e.word.toLowerCase()),children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:e.word}),(0,ze.jsx)("p",{className:"font-body mt-2",style:{fontSize:13,color:"var(--tf-text)",lineHeight:1.6},children:e.body})]},e.word))})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"consent-scot-section-s13",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SECTION 02 \xb7 SCOTS LAW"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Situations that remove \u201cfree agreement\u201d."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["Section 13 of the 2009 Act sets out the specific circumstances in which Scots law treats there as being ",(0,ze.jsx)("strong",{children:"no consent"}),". If any of these apply, it wasn't consent \u2014 regardless of what the other person believed."]}),(0,ze.jsx)("ul",{className:"mt-5 grid sm:grid-cols-2 gap-3",style:{listStyle:"none",padding:0},children:[["Force or the threat of force","Physical force, or fear of force, against you or someone else."],["Unlawful detention","Being held against your will, formally or informally."],["Asleep or unconscious","Consent cannot be given by someone who is not awake."],["Incapacitated by drink or drugs","Unable to consent because of alcohol, prescription or recreational drugs \u2014 including anything spiked."],["Unable to communicate refusal","A physical or mental condition preventing you from refusing."],["Deception about the act","Being deceived about the nature or purpose of what was happening."],["Mistake about identity","The other person impersonated someone known to you (e.g. a partner)."],["Agreement by another person","Someone else agreeing on your behalf is not consent."]].map(e=>{let[t,n]=e;return(0,ze.jsxs)("li",{className:"tf-card p-4",style:{borderColor:"var(--tf-purple-light)"},children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:13.5,color:"var(--tf-text)"},children:t}),(0,ze.jsx)("p",{className:"font-body mt-1.5",style:{fontSize:13,color:"var(--tf-text-secondary)",lineHeight:1.6},children:n})]},t)})})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"consent-scot-section-freeze",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SECTION 03 \xb7 SCOTS LAW"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Freeze, fawn or silence is not consent."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["Section 15 of the 2009 Act confirms that consent to conduct does not include conduct beyond it. And under s.16, a defendant cannot rely on \u201cI thought there was consent\u201d unless they took"," ",(0,ze.jsx)("strong",{children:"reasonable steps"})," to check. Freezing, fawning, going along with something out of fear, or being too intoxicated to refuse \u2014 none of these are consent in Scots law."]})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"consent-scot-section-age",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SECTION 04 \xb7 SCOTS LAW"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Age of consent \u2014 16, the same as E&W."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["Under the 2009 Act, the age of consent in Scotland is ",(0,ze.jsx)("strong",{children:"16"}),", regardless of sex or gender. Sexual activity with anyone under 13 is treated as the most serious category of offence. Between 13 and 15, it is still an offence but the specific charge depends on age difference."]})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"consent-scot-section-trust",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SECTION 05 \xb7 SCOTS LAW"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Position of trust \u2014 up to age 18."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["Teachers, care workers, faith leaders, sports coaches and anyone in a defined position of trust commit an offence if they engage in sexual activity with a young person under 18, ",(0,ze.jsx)("strong",{children:"even if the young person appeared to agree"}),". The imbalance of power removes true free agreement."]})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"consent-scot-section-rape",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SECTION 06 \xb7 SCOTS LAW"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Rape, sexual assault & stealthing."}),(0,ze.jsxs)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:["Scots law defines ",(0,ze.jsx)("strong",{children:"rape"})," (s.1) more narrowly than E&W \u2014 penile penetration only. Non-penile penetration is charged as",(0,ze.jsx)("strong",{children:" sexual assault by penetration"})," (s.2) and carries the same maximum sentence: life imprisonment. Removing a condom during sex without agreement (\u201cstealthing\u201d) or agreeing to use one and then not doing so ",(0,ze.jsx)("strong",{children:"is not consented sex"})," \u2014 Scottish courts have treated it as rape."]})]})]}),(0,ze.jsx)("section",{className:"mt-12 rounded-2xl p-5","data-testid":"consent-closing",style:{background:"var(--tf-bg-secondary)",border:"1px solid var(--tf-card-border)"},children:(0,ze.jsxs)("p",{className:"font-body text-center",style:{fontSize:13.5,color:"var(--tf-text)",lineHeight:1.7},children:["Reading the law is not a commitment to report. It is information \u2014 yours to keep, come back to, or share.",(0,ze.jsx)("br",{}),(0,ze.jsx)("strong",{children:"Whatever you choose, you are believed."})]})}),(0,ze.jsxs)("section",{className:"mt-10","data-testid":"consent-next",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"WHERE TO NEXT"}),(0,ze.jsxs)("div",{className:"mt-4 grid sm:grid-cols-2 gap-3",children:[(0,ze.jsxs)(On,{to:"/app/rights","data-testid":"consent-cta-rights",className:"tf-card tf-card-hover p-4 flex items-center justify-between gap-3",style:{textDecoration:"none",color:"var(--tf-text)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:"Your rights & ISVAs"}),(0,ze.jsx)(eo,{size:15,color:"var(--tf-purple-dark)"})]}),(0,ze.jsxs)(On,{to:"/app/process","data-testid":"consent-cta-process",className:"tf-card tf-card-hover p-4 flex items-center justify-between gap-3",style:{textDecoration:"none",color:"var(--tf-text)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:"What happens if you report (SV)"}),(0,ze.jsx)(eo,{size:15,color:"var(--tf-purple-dark)"})]}),(0,ze.jsxs)(On,{to:"/app/domestic-abuse","data-testid":"consent-cta-da",className:"tf-card tf-card-hover p-4 flex items-center justify-between gap-3",style:{textDecoration:"none",color:"var(--tf-text)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:"Domestic abuse \u2014 the calm guide"}),(0,ze.jsx)(eo,{size:15,color:"var(--tf-purple-dark)"})]}),(0,ze.jsxs)(On,{to:"/app/support","data-testid":"consent-cta-support",className:"tf-card tf-card-hover p-4 flex items-center justify-between gap-3",style:{textDecoration:"none",color:"var(--tf-text)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:"Specialist UK helplines"}),(0,ze.jsx)(eo,{size:15,color:"var(--tf-purple-dark)"})]})]})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"consent-sources",children:[(0,ze.jsxs)("div",{className:"flex items-center gap-2",children:[(0,ze.jsx)(ra,{size:15,color:"var(--tf-purple-dark)","aria-hidden":"true"}),(0,ze.jsx)("p",{className:"eyebrow",children:"SOURCES & FURTHER READING"})]}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:12.5,color:"var(--tf-text-secondary)",lineHeight:1.55},children:"The information above is drawn from the following UK legislation, prosecuting guidance and specialist services. Follow any link to check the wording for yourself."}),(0,ze.jsx)("ul",{className:"mt-4 flex flex-col gap-2",style:{listStyle:"none",padding:0},children:Fs.map(e=>(0,ze.jsx)("li",{children:(0,ze.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"tf-link",style:{fontSize:13,lineHeight:1.55},children:[e.label," \u2192"]})},e.url))}),(0,ze.jsx)("p",{className:"font-body mt-5",style:{fontSize:11.5,color:"var(--tf-text-muted)",lineHeight:1.55},children:"This page is a plain-language guide, not legal advice. For advice about your own situation, please speak to a specialist ISVA, IDVA, Rape Crisis centre or solicitor."})]}),(0,ze.jsx)(Es,{url:e}),(0,ze.jsx)(As,{url:e,count:10,layout:"10-a4"})]})}const Ms=[{key:"physical",title:"Physical",items:["Any unwanted touch, grabbing, hitting, pushing or restraining.","Blocking your exit from a room, car, or house.","Throwing things at you or breaking your belongings.","Hurting a pet as a way of hurting you.",'Any of the above when they were "just drunk", "in a mood", or "didn\u2019t really mean it".']},{key:"sexual",title:"Sexual",items:["Kissing, touching or undressing you without a clear yes.","Carrying on after you said no, went quiet, or froze.","Removing a condom, or agreeing to use one and then not doing so.","Sending, sharing or demanding intimate images \u2014 or threatening to.","Pressuring, badgering or wearing you down until you agreed.","Anything sexual with you while you were asleep, unconscious, or too drunk / drugged to choose."]},{key:"emotional",title:"Emotional & verbal",items:["Name-calling, ridicule, humiliation \u2014 in private or in front of others.","Silent treatment or withdrawing affection to punish you.",'Telling you what happened didn\u2019t happen, or that you\u2019re "too sensitive" ("gaslighting").',"Threats \u2014 to hurt you, hurt themselves, take the children, out you, or ruin your reputation."]},{key:"coercive",title:"Coercive control",items:["Deciding what you wear, who you see, when you leave the house.","Checking your phone, messages or receipts \u2014 with or without your knowledge.","Isolating you from friends, family or work.","Making you account for every hour of your day.","Punishing you \u2014 with anger, silence or withdrawal \u2014 when you push back."]},{key:"financial",title:"Financial",items:["Controlling how much money you can spend, or on what.","Running up debt in your name, or refusing to let you have your own account.","Sabotaging your job \u2014 turning up, ringing your workplace, making you late.","Stopping you from working or studying."]},{key:"digital",title:"Digital",items:["Tracking your location without your agreement.","Reading your messages, emails or search history.",'Demanding your passwords \u2014 or having them "just in case".',"Monitoring your social media, or making you post, delete or unfollow.",'Ringing or texting many times a day to "check on you".']},{key:"trust",title:"Someone in a position of trust",items:["A teacher, tutor, coach, doctor, therapist, faith leader, youth worker, carer or boss.","Anything sexual, romantic or overly personal \u2014 even if you agreed at the time.","Gifts, favours or secrets that made you feel special or singled out.",'Meetings that "had to be private", messaging outside working hours, closed doors.']}],Ls=[{excuse:"\u201cBut they said sorry.\u201d",rebuttal:"Sorry doesn\u2019t undo it. Hurt-and-apologise cycles are the classic pattern of abuse."},{excuse:"\u201cBut I was drunk.\u201d",rebuttal:"Too drunk to choose means you didn\u2019t consent. Alcohol removes capacity, not responsibility from the other person."},{excuse:"\u201cBut we\u2019re in a relationship.\u201d",rebuttal:"Being together isn\u2019t standing consent. Every act still needs agreement, freedom and capacity \u2014 every time."},{excuse:"\u201cBut they never hit me.\u201d",rebuttal:"Hitting isn\u2019t the threshold. Coercive control, emotional abuse and financial abuse all cross the line."},{excuse:"\u201cBut I laughed / went along with it.\u201d",rebuttal:"Freeze and fawn are trauma responses \u2014 not consent. Complying to survive is still surviving."},{excuse:"\u201cBut nothing physical happened.\u201d",rebuttal:"Emotional harm is real harm. You are allowed to
2name it, and to leave because of it."},{excuse:"\u201cBut it was only once.\u201d",rebuttal:"Once is enough. Naming what happened isn\u2019t a scale you have to fill."},{excuse:"\u201cBut they said they love me.\u201d",rebuttal:"Love and harm are not opposites. Someone can care about you and still cross a line."},{excuse:"\u201cBut nobody will believe me.\u201d",rebuttal:"You do not need anyone else to believe you before you get support. Specialist services believe survivors as a matter of practice."}],Os=[{label:"Women's Aid \u2014 What is domestic abuse?",url:"https://www.womensaid.org.uk/information-support/what-is-domestic-abuse/"},{label:"Refuge \u2014 Types of domestic abuse",url:"https://refuge.org.uk/i-need-help-now/what-is-domestic-abuse/"},{label:"Rape Crisis E&W \u2014 About sexual violence",url:"https://rapecrisis.org.uk/get-informed/about-sexual-violence/"},{label:"SafeLives \u2014 Recognising domestic abuse",url:"https://safelives.org.uk/knowledge-hub/spotlights/"},{label:"gov.uk \u2014 Controlling or coercive behaviour",url:"https://www.gov.uk/government/publications/statutory-guidance-framework-controlling-or-coercive-behaviour-in-an-intimate-or-family-relationship"},{label:"NSPCC \u2014 What is grooming?",url:"https://www.nspcc.org.uk/what-is-child-abuse/types-of-abuse/grooming/"}];function Ds(e){let{group:t}=e;return(0,ze.jsxs)("div",{className:"tf-card p-5","data-testid":"crossed-group-".concat(t.key),children:[(0,ze.jsx)("h3",{className:"font-heading",style:{fontSize:18,color:"var(--tf-text)",letterSpacing:"-0.01em",margin:0},dangerouslySetInnerHTML:{__html:t.title}}),(0,ze.jsx)("ul",{style:{listStyle:"none",padding:0,margin:"10px 0 0 0"},className:"flex flex-col gap-2",children:t.items.map(e=>(0,ze.jsxs)("li",{className:"flex items-start gap-2.5",children:[(0,ze.jsx)("span",{"aria-hidden":"true",style:{marginTop:8,flexShrink:0,width:6,height:6,borderRadius:999,background:"var(--tf-purple-dark)"}}),(0,ze.jsx)("span",{className:"font-body",style:{fontSize:13.5,lineHeight:1.55,color:"var(--tf-text)"},children:e})]},e))})]})}function Hs(){return(0,ze.jsxs)("div",{className:"max-w-3xl mx-auto px-5 sm:px-8 py-10","data-testid":"crossed-screen",children:[(0,ze.jsx)(io,{title:"Was it abuse or assault?",description:"If you're unsure whether what happened counts as abuse, assault or coercive control, this trauma-informed UK guide can help you name it \u2014 with quiet answers to the doubts that stop survivors naming it.",path:"/app/crossed-the-line"}),(0,ze.jsx)("p",{className:"eyebrow",children:"FOR ANYONE DOUBTING WHAT HAPPENED"}),(0,ze.jsx)("h1",{className:"font-heading mt-3","data-testid":"crossed-title",style:{fontSize:"clamp(28px, 4vw, 36px)",lineHeight:1.15,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"Was it abuse or assault?"}),(0,ze.jsx)("p",{className:"font-body mt-4 max-w-xl",style:{fontSize:14.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:"If you're even asking this question, your instincts are already telling you something. Your feelings are information. You don't need proof, and you don't need to name it before you get support. The signs are the same UK-wide \u2014 the law that names them differs, so choose your nation below."}),(0,ze.jsx)(Lo,{testid:"crossed-nation-picker"}),(0,ze.jsx)(Po,{variant:"sv"}),(0,ze.jsx)("section",{className:"mt-6 tf-card p-5 sm:p-6","data-testid":"crossed-reassurance",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #F4EFF8 100%)",borderColor:"var(--tf-purple-light)"},children:(0,ze.jsxs)("div",{className:"flex items-start gap-4",children:[(0,ze.jsx)("div",{className:"w-11 h-11 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:"linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%)",color:"#fff"},children:(0,ze.jsx)(Zn,{size:20})}),(0,ze.jsxs)("div",{children:[(0,ze.jsx)("p",{className:"font-body font-bold",style:{fontSize:10.5,letterSpacing:"0.22em",color:"var(--tf-purple-dark)"},children:"BEFORE YOU READ ON"}),(0,ze.jsx)("h2",{className:"font-heading mt-1",style:{fontSize:"clamp(19px, 2.4vw, 22px)",color:"var(--tf-text)",letterSpacing:"-0.01em",lineHeight:1.25},children:"Trust your gut."}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.7},children:"You don't need a checklist to end a relationship, a friendship, or a job. You don't need \"proof\" to feel unsafe. The list below is here to help you name what happened \u2014 not to test you."})]})]})}),(0,ze.jsx)("div",{className:"mt-6",children:(0,ze.jsx)(po,{label:"Print / Save this page"})}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"crossed-section-groups",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SECTION 01"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"What abuse or assault can look like."}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:"Not every situation looks the same. Skim the groups below and stop at any that feel close to yours. Even one item can be enough."}),(0,ze.jsx)("div",{className:"mt-5 grid sm:grid-cols-2 gap-3",children:Ms.map(e=>(0,ze.jsx)(Ds,{group:e},e.key))})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"crossed-section-but",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"SECTION 02"}),(0,ze.jsx)("h2",{className:"font-heading mt-2",style:{fontSize:24,color:"var(--tf-text)",letterSpacing:"-0.01em"},children:"The thoughts that stop people naming it."}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{fontSize:14,color:"var(--tf-text-secondary)",lineHeight:1.7},children:"Almost every survivor has thought at least one of these. They are quiet, and they are strong. Here is a gentler answer to each."}),(0,ze.jsx)("ul",{className:"mt-4 flex flex-col gap-3",style:{listStyle:"none",padding:0},children:Ls.map(e=>(0,ze.jsxs)("li",{className:"tf-card p-4","data-testid":"crossed-but-item",children:[(0,ze.jsx)("p",{className:"font-body",style:{fontSize:14,color:"var(--tf-text)",fontStyle:"italic",fontWeight:700,lineHeight:1.55},children:e.excuse}),(0,ze.jsx)("p",{className:"font-body mt-1.5",style:{fontSize:13.5,color:"var(--tf-text-secondary)",lineHeight:1.65},children:e.rebuttal})]},e.excuse))})]}),(0,ze.jsx)("section",{className:"mt-12 rounded-2xl p-5","data-testid":"crossed-closing",style:{background:"var(--tf-bg-secondary)",border:"1px solid var(--tf-card-border)"},children:(0,ze.jsxs)("p",{className:"font-body text-center",style:{fontSize:13.5,color:"var(--tf-text)",lineHeight:1.7},children:["If any of this matches, it wasn't your fault, and you are allowed to
2name it.",(0,ze.jsx)("br",{}),(0,ze.jsx)("strong",{children:"You are believed. Take the next step at your own pace."})]})}),(0,ze.jsxs)("section",{className:"mt-10","data-testid":"crossed-next",children:[(0,ze.jsx)("p",{className:"eyebrow",children:"WHERE TO NEXT"}),(0,ze.jsxs)("div",{className:"mt-4 grid sm:grid-cols-2 gap-3",children:[(0,ze.jsxs)(On,{to:"/app/consent","data-testid":"crossed-cta-consent",className:"tf-card tf-card-hover p-4 flex items-center justify-between gap-3",style:{textDecoration:"none",color:"var(--tf-text)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:"Consent \u2014 what it means in UK law"}),(0,ze.jsx)(eo,{size:15,color:"var(--tf-purple-dark)"})]}),(0,ze.jsxs)(On,{to:"/app/domestic-abuse","data-testid":"crossed-cta-da",className:"tf-card tf-card-hover p-4 flex items-center justify-between gap-3",style:{textDecoration:"none",color:"var(--tf-text)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:"Domestic abuse \u2014 the calm guide"}),(0,ze.jsx)(eo,{size:15,color:"var(--tf-purple-dark)"})]}),(0,ze.jsxs)(On,{to:"/app/process","data-testid":"crossed-cta-process",className:"tf-card tf-card-hover p-4 flex items-center justify-between gap-3",style:{textDecoration:"none",color:"var(--tf-text)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:"If you're thinking about reporting (SV)"}),(0,ze.jsx)(eo,{size:15,color:"var(--tf-purple-dark)"})]}),(0,ze.jsxs)(On,{to:"/app/support","data-testid":"crossed-cta-support",className:"tf-card tf-card-hover p-4 flex items-center justify-between gap-3",style:{textDecoration:"none",color:"var(--tf-text)"},children:[(0,ze.jsx)("span",{className:"font-body font-bold",style:{fontSize:14},children:"Specialist UK helplines"}),(0,ze.jsx)(eo,{size:15,color:"var(--tf-purple-dark)"})]})]})]}),(0,ze.jsxs)("section",{className:"mt-12","data-testid":"crossed-sources",children:[(0,ze.jsxs)("div",{className:"flex items-center gap-2",children:[(0,ze.jsx)(ra,{size:15,color:"var(--tf-purple-dark)","aria-hidden":"true"}),(0,ze.jsx)("p",{className:"eyebrow",children:"SOURCES & FURTHER READING"})]}),(0,ze.jsx)("ul",{className:"mt-4 flex flex-col gap-2",style:{listStyle:"none",padding:0},children:Os.map(e=>(0,ze.jsx)("li",{children:(0,ze.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"tf-link",style:{fontSize:13,lineHeight:1.55},dangerouslySetInnerHTML:{__html:"".concat(e.label," \u2192")}})},e.url))}),(0,ze.jsx)("p",{className:"font-body mt-5",style:{fontSize:11.5,color:"var(--tf-text-muted)",lineHeight:1.55},children:"This page is a plain-language guide, not legal advice. For advice about your own situation, please speak to a specialist ISVA, IDVA, Rape Crisis centre or solicitor."})]})]})}function _s(){return(0,ze.jsxs)("div",{className:"max-w-xl mx-auto px-6 py-20 text-center",children:[(0,ze.jsx)("h1",{className:"font-heading",style:{fontSize:30,color:"var(--tf-text)"},children:"Page not found"}),(0,ze.jsx)("p",{className:"font-body mt-3",style:{color:"var(--tf-text-secondary)"},children:"The page you were looking for doesn't exist."}),(0,ze.jsx)("a",{href:"/",className:"tf-link mt-6 inline-block","data-testid":"notfound-home",children:"\u2190 Back to home"})]})}function Ws(){const{pathname:e}=Ft();return function(){const{pathname:e}=Ft();(0,a.useEffect)(()=>{Wr(Lr[e]||null);try{const e=new URL(window.location.href),t=e.searchParams.get("src"),n=e.searchParams.get("ref"),a=e.searchParams.get("utm_source"),r=e.searchParams.get("utm_medium"),o=a?a.toLowerCase():"",i=r?r.toLowerCase():"";let s=!1;if(t&&Or.has(t)&&(Wr("arrival-".concat(t)),e.searchParams.delete("src"),s=!0),n&&Dr.test(n)&&(Wr("arrival-partner-".concat(n)),e.searchParams.delete("ref"),s=!0),o&&Hr.test(o)&&(Wr("arrival-partner-".concat(o)),"qr"===i&&Wr("arrival-qr")),_r.forEach(t=>{e.searchParams.has(t)&&(e.searchParams.delete(t),s=!0)}),s){const t=e.pathname+(e.search?e.search:"")+e.hash;window.history.replaceState({},"",t)}}catch(t){}},[e])}(),a.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"instant"})},[e]),null}const Us=function(){return(0,ze.jsx)("div",{className:"App",children:(0,ze.jsx)(Za,{children:(0,ze.jsx)(Co,{children:(0,ze.jsxs)(Mn,{children:[(0,ze.jsx)(Ws,{}),(0,ze.jsxs)(Zt,{children:[(0,ze.jsx)(Jt,{path:"/",element:(0,ze.jsx)(uo,{})}),(0,ze.jsx)(Jt,{path:"/app",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(vo,{})})}),(0,ze.jsx)(Jt,{path:"/app/sexual-violence",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(ls,{})})}),(0,ze.jsx)(Jt,{path:"/app/process",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(Do,{})})}),(0,ze.jsx)(Jt,{path:"/app/rights",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(Ho,{})})}),(0,ze.jsx)(Jt,{path:"/app/domestic-abuse",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(wi,{})})}),(0,ze.jsx)(Jt,{path:"/app/support",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(Go,{})})}),(0,ze.jsx)(Jt,{path:"/app/journal",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(ii,{})})}),(0,ze.jsx)(Jt,{path:"/app/trauma",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(ci,{})})}),(0,ze.jsx)(Jt,{path:"/app/grounding",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(di,{})})}),(0,ze.jsx)(Jt,{path:"/app/help-now",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(hi,{})})}),(0,ze.jsx)(Jt,{path:"/app/guided-journal",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(ns,{})})}),(0,ze.jsx)(Jt,{path:"/app/faq",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(rs,{})})}),(0,ze.jsx)(Jt,{path:"/app/stats",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(Gi,{})})}),(0,ze.jsx)(Jt,{path:"/app/about",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(us,{})})}),(0,ze.jsx)(Jt,{path:"/app/why",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(fs,{})})}),(0,ze.jsx)(Jt,{path:"/app/accessibility",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(ms,{})})}),(0,ze.jsx)(Jt,{path:"/app/compliance",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(ws,{})})}),(0,ze.jsx)(Jt,{path:"/app/consent",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(Is,{})})}),(0,ze.jsx)(Jt,{path:"/app/crossed-the-line",element:(0,ze.jsx)($r,{children:(0,ze.jsx)(Hs,{})})}),(0,ze.jsx)(Jt,{path:"/help-now",element:(0,ze.jsx)($t,{to:"/app/help-now",replace:!0})}),(0,ze.jsx)(Jt,{path:"*",element:(0,ze.jsx)(_s,{})})]})]})})})})},Vs=new Ae({defaultOptions:{queries:{staleTime:6e4,refetchOnWindowFocus:!1}}});r.createRoot(document.getElementById("root")).render((0,ze.jsx)(a.StrictMode,{children:(0,ze.jsx)(Re,{client:Vs,children:(0,ze.jsx)(Us,{})})}))})(); 3//# sourceMappingURL=main.7bae4a3a.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.