vendor: 4,363 bytes, lines 1-9
1var zC=e=>{throw TypeError(e)};var mx=(e,t,r)=>t.has(e)||zC("Cannot "+r);var Z=(e,t,r)=>(mx(e,t,"read from private field"),r?r.call(e):t.get(e)),Ze=(e,t,r)=>t.has(e)?zC("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Qe=(e,t,r,n)=>(mx(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),lt=(e,t,r)=>(mx(e,t,"access private method"),r);var kf=(e,t,r,n)=>({set _(s){Qe(e,t,s,r)},get _(){return Z(e,t,n)}});function Y6(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const s in n)if(s!=="default"&&!(s in e)){const i=Object.getOwnPropertyDescriptor(n,s);i&&Object.defineProperty(e,s,i.get?i:{enumerable:!0,get:()=>n[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(s){if(s.ep)return;s.ep=!0;const i=r(s);fetch(s.href,i)}})();function Ew(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var px={exports:{}},Ed={},gx={exports:{}},dt={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var JC;function X6(){if(JC)return dt;JC=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),o=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.iterator;function p(q){return q===null||typeof q!="object"?null:(q=m&&q[m]||q["@@iterator"],typeof q=="function"?q:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,g={};function b(q,L,J){this.props=q,this.context=L,this.refs=g,this.updater=J||x}b.prototype.isReactComponent={},b.prototype.setState=function(q,L){if(typeof q!="object"&&typeof q!="function"&&q!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,q,L,"setState")},b.prototype.forceUpdate=function(q){this.updater.enqueueForceUpdate(this,q,"forceUpdate")};function v(){}v.prototype=b.prototype;function N(q,L,J){this.props=q,this.context=L,this.refs=g,this.updater=J||x}var F=N.prototype=new v;F.constructor=N,w(F,b.prototype),F.isPureReactComponent=!0;var S=Array.isArray,E=Object.prototype.hasOwnProperty,D={current:null},T={key:!0,ref:!0,__self:!0,__source:!0};function k(q,L,J){var Q,O={},G=null,le=null;if(L!=null)for(Q in L.ref!==void 0&&(le=L.ref),L.key!==void 0&&(G=""+L.key),L)E.call(L,Q)&&!T.hasOwnProperty(Q)&&(O[Q]=L[Q]);var ye=arguments.length-2;if(ye===1)O.children=J;else if(1<ye){for(var xe=Array(ye),be=0;be<ye;be++)xe[be]=arguments[be+2];O.children=xe}if(q&&q.defaultProps)for(Q in ye=q.defaultProps,ye)O[Q]===void 0&&(O[Q]=ye[Q]);return{$$typeof:e,type:q,key:G,ref:le,props:O,_owner:D.current}}function I(q,L){return{$$typeof:e,type:q.type,key:L,ref:q.ref,props:q.props,_owner:q._owner}}function Y(q){return typeof q=="object"&&q!==null&&q.$$typeof===e}function ee(q){var L={"=":"=0",":":"=2"};return"$"+q.replace(/[=:]/g,function(J){return L[J]})}var ie=/\/+/g;function W(q,L){return typeof q=="object"&&q!==null&&q.key!=null?ee(""+q.key):L.toString(36)}function ce(q,L,J,Q,O){var G=typeof q;(G==="undefined"||G==="boolean")&&(q=null);var le=!1;if(q===null)le=!0;else switch(G){case"string":case"number":le=!0;break;case"object":switch(q.$$typeof){case e:case t:le=!0}}
vendor: 4,121 bytes, line 9
9if(le)return le=q,O=O(le),q=Q===""?"."+W(le,0):Q,S(O)?(J="",q!=null&&(J=q.replace(ie,"$&/")+"/"),ce(O,L,J,"",function(be){return be})):O!=null&&(Y(O)&&(O=I(O,J+(!O.key||le&&le.key===O.key?"":(""+O.key).replace(ie,"$&/")+"/")+q)),L.push(O)),1;if(le=0,Q=Q===""?".":Q+":",S(q))for(var ye=0;ye<q.length;ye++){G=q[ye];var xe=Q+W(G,ye);le+=ce(G,L,J,xe,O)}else if(xe=p(q),typeof xe=="function")for(q=xe.call(q),ye=0;!(G=q.next()).done;)G=G.value,xe=Q+W(G,ye++),le+=ce(G,L,J,xe,O);else if(G==="object")throw L=String(q),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(q).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.");return le}function we(q,L,J){if(q==null)return q;var Q=[],O=0;return ce(q,Q,"","",function(G){return L.call(J,G,O++)}),Q}function ne(q){if(q._status===-1){var L=q._result;L=L(),L.then(function(J){(q._status===0||q._status===-1)&&(q._status=1,q._result=J)},function(J){(q._status===0||q._status===-1)&&(q._status=2,q._result=J)}),q._status===-1&&(q._status=0,q._result=L)}if(q._status===1)return q._result.default;throw q._result}var re={current:null},X={transition:null},de={ReactCurrentDispatcher:re,ReactCurrentBatchConfig:X,ReactCurrentOwner:D};function ae(){throw Error("act(...) is not supported in production builds of React.")}return dt.Children={map:we,forEach:function(q,L,J){we(q,function(){L.apply(this,arguments)},J)},count:function(q){var L=0;return we(q,function(){L++}),L},toArray:function(q){return we(q,function(L){return L})||[]},only:function(q){if(!Y(q))throw Error("React.Children.only expected to receive a single React element child.");return q}},dt.Component=b,dt.Fragment=r,dt.Profiler=s,dt.PureComponent=N,dt.StrictMode=n,dt.Suspense=d,dt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=de,dt.act=ae,dt.cloneElement=function(q,L,J){if(q==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+q+".");var Q=w({},q.props),O=q.key,G=q.ref,le=q._owner;if(L!=null){if(L.ref!==void 0&&(G=L.ref,le=D.current),L.key!==void 0&&(O=""+L.key),q.type&&q.type.defaultProps)var ye=q.type.defaultProps;for(xe in L)E.call(L,xe)&&!T.hasOwnProperty(xe)&&(Q[xe]=L[xe]===void 0&&ye!==void 0?ye[xe]:L[xe])}var xe=arguments.length-2;if(xe===1)Q.children=J;else if(1<xe){ye=Array(xe);for(var be=0;be<xe;be++)ye[be]=arguments[be+2];Q.children=ye}return{$$typeof:e,type:q.type,key:O,ref:G,props:Q,_owner:le}},dt.createContext=function(q){return q={$$typeof:o,_currentValue:q,_currentValue2:q,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},q.Provider={$$typeof:i,_context:q},q.Consumer=q},dt.createElement=k,dt.createFactory=function(q){var L=k.bind(null,q);return L.type=q,L},dt.createRef=function(){return{current:null}},dt.forwardRef=function(q){return{$$typeof:c,render:q}},dt.isValidElement=Y,dt.lazy=function(q){return{$$typeof:h,_payload:{_status:-1,_result:q},_init:ne}},dt.memo=function(q,L){return{$$typeof:u,type:q,compare:L===void 0?null:L}},dt.startTransition=function(q){var L=X.transition;X.transition={};try{q()}finally{X.transition=L}},dt.unstable_act=ae,dt.useCallback=function(q,L){return re.current.useCallback(q,L)},dt.useContext=function(q){return re.current.useContext(q)},dt.useDebugValue=function(){},dt.useDeferredValue=function(q){return re.current.useDeferredValue(q)},dt.useEffect=function(q,L){return re.current.useEffect(q,L)},dt.useId=function(){return re.current.useId()},dt.useImperativeHandle=function(q,L,J){return re.current.useImperativeHandle(q,L,J)},dt.useInsertionEffect=function(q,L){return re.current.useInsertionEffect(q,L)},dt.useLayoutEffect=function(q,L){return re.current.useLayoutEffect(q,L)},dt.useMemo=function(q,L){return re.current.useMemo(q,L)},dt.useReducer=function(q,L,J){return re.current.useReducer(q,L,J)},dt.useRef=function(q){return re.current.useRef(q)},dt.useState=function(q){return re.current.useState(q)},dt.useSyncExternalStore=function(q,L,J){return re.current.useSyncExternalStore(q,L,J)},dt.useTransition=function(){return re.current.useTransition()}
vendor: 1,962 bytes, lines 9-25
9,dt.version="18.3.1",dt}var qC;function Tw(){return qC||(qC=1,gx.exports=X6()),gx.exports}/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var $C;function Z6(){if($C)return Ed;$C=1;var e=Tw(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function o(c,d,u){var h,m={},p=null,x=null;u!==void 0&&(p=""+u),d.key!==void 0&&(p=""+d.key),d.ref!==void 0&&(x=d.ref);for(h in d)n.call(d,h)&&!i.hasOwnProperty(h)&&(m[h]=d[h]);if(c&&c.defaultProps)for(h in d=c.defaultProps,d)m[h]===void 0&&(m[h]=d[h]);return{$$typeof:t,type:c,key:p,ref:x,props:m,_owner:s.current}}return Ed.Fragment=r,Ed.jsx=o,Ed.jsxs=o,Ed}var YC;function eU(){return YC||(YC=1,px.exports=Z6()),px.exports}var a=eU(),B=Tw();const Pt=Ew(B),Hp=Y6({__proto__:null,default:Pt},[B]);var _f={},xx={exports:{}},Pn={},yx={exports:{}},bx={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */var XC;function tU(){return XC||(XC=1,(function(e){function t(X,de){var ae=X.length;X.push(de);e:for(;0<ae;){var q=ae-1>>>1,L=X[q];if(0<s(L,de))X[q]=de,X[ae]=L,ae=q;else break e}}function r(X){return X.length===0?null:X[0]}function n(X){if(X.length===0)return null;var de=X[0],ae=X.pop();if(ae!==de){X[0]=ae;e:for(var q=0,L=X.length,J=L>>>1;q<J;){var Q=2*(q+1)-1,O=X[Q],G=Q+1,le=X[G];if(0>s(O,ae))G<L&&0>s(le,O)?(X[q]=le,X[G]=ae,q=G):(X[q]=O,X[Q]=ae,q=Q);else if(G<L&&0>s(le,ae))X[q]=le,X[G]=ae,q=G;else break e}}return de}function s(X,de){var ae=X.sortIndex-de.sortIndex;
vendor: 16,910 bytes, lines 25-37
25return ae!==0?ae:X.id-de.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,c=o.now();e.unstable_now=function(){return o.now()-c}}var d=[],u=[],h=1,m=null,p=3,x=!1,w=!1,g=!1,b=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function F(X){for(var de=r(u);de!==null;){if(de.callback===null)n(u);else if(de.startTime<=X)n(u),de.sortIndex=de.expirationTime,t(d,de);else break;de=r(u)}}function S(X){if(g=!1,F(X),!w)if(r(d)!==null)w=!0,ne(E);else{var de=r(u);de!==null&&re(S,de.startTime-X)}}function E(X,de){w=!1,g&&(g=!1,v(k),k=-1),x=!0;var ae=p;try{for(F(de),m=r(d);m!==null&&(!(m.expirationTime>de)||X&&!ee());){var q=m.callback;if(typeof q=="function"){m.callback=null,p=m.priorityLevel;var L=q(m.expirationTime<=de);de=e.unstable_now(),typeof L=="function"?m.callback=L:m===r(d)&&n(d),F(de)}else n(d);m=r(d)}if(m!==null)var J=!0;else{var Q=r(u);Q!==null&&re(S,Q.startTime-de),J=!1}return J}finally{m=null,p=ae,x=!1}}var D=!1,T=null,k=-1,I=5,Y=-1;function ee(){return!(e.unstable_now()-Y<I)}function ie(){if(T!==null){var X=e.unstable_now();Y=X;var de=!0;try{de=T(!0,X)}finally{de?W():(D=!1,T=null)}}else D=!1}var W;if(typeof N=="function")W=function(){N(ie)};else if(typeof MessageChannel<"u"){var ce=new MessageChannel,we=ce.port2;ce.port1.onmessage=ie,W=function(){we.postMessage(null)}}else W=function(){b(ie,0)};function ne(X){T=X,D||(D=!0,W())}function re(X,de){k=b(function(){X(e.unstable_now())},de)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(X){X.callback=null},e.unstable_continueExecution=function(){w||x||(w=!0,ne(E))},e.unstable_forceFrameRate=function(X){0>X||125<X?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<X?Math.floor(1e3/X):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return r(d)},e.unstable_next=function(X){switch(p){case 1:case 2:case 3:var de=3;break;default:de=p}var ae=p;p=de;try{return X()}finally{p=ae}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(X,de){switch(X){case 1:case 2:case 3:case 4:case 5:break;default:X=3}var ae=p;p=X;try{return de()}finally{p=ae}},e.unstable_scheduleCallback=function(X,de,ae){var q=e.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?q+ae:q):ae=q,X){case 1:var L=-1;break;case 2:L=250;break;case 5:L=1073741823;break;case 4:L=1e4;break;default:L=5e3}return L=ae+L,X={id:h++,callback:de,priorityLevel:X,startTime:ae,expirationTime:L,sortIndex:-1},ae>q?(X.sortIndex=ae,t(u,X),r(d)===null&&X===r(u)&&(g?(v(k),k=-1):g=!0,re(S,ae-q))):(X.sortIndex=L,t(d,X),w||x||(w=!0,ne(E))),X},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(X){var de=p;return function(){var ae=p;p=de;try{return X.apply(this,arguments)}finally{p=ae}}}})(bx)),bx}var ZC;function rU(){return ZC||(ZC=1,yx.exports=tU()),yx.exports}/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var eB;function nU(){if(eB)return Pn;eB=1;var e=Tw(),t=rU();function r(l){for(var A="https://reactjs.org/docs/error-decoder.html?invariant="+l,f=1;f<arguments.length;f++)A+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+l+"; visit "+A+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=new Set,s={};function i(l,A){o(l,A),o(l+"Capture",A)}function o(l,A){for(s[l]=A,l=0;l<A.length;l++)n.add(A[l])}var c=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),d=Object.prototype.hasOwnProperty,u=/^[: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]*$/,h={},m={};function p(l){return d.call(m,l)?!0:d.call(h,l)?!1:u.test(l)?m[l]=!0:(h[l]=!0,!1)}function x(l,A,f,y){if(f!==null&&f.type===0)return!1;switch(typeof A){case"function":case"symbol":return!0;case"boolean":return y?!1:f!==null?!f.acceptsBooleans:(l=l.toLowerCase().slice(0,5),l!=="data-"&&l!=="aria-");default:return!1}}function w(l,A,f,y){if(A===null||typeof A>"u"||x(l,A,f,y))return!0;if(y)return!1;if(f!==null)switch(f.type){case 3:return!A;case 4:return A===!1;case 5:return isNaN(A);case 6:return isNaN(A)||1>A}return!1}function g(l,A,f,y,C,j,_){this.acceptsBooleans=A===2||A===3||A===4,this.attributeName=y,this.attributeNamespace=C,this.mustUseProperty=f,this.propertyName=l,this.type=A,this.sanitizeURL=j,this.removeEmptyString=_}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(l){b[l]=new g(l,0,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var A=l[0];b[A]=new g(A,1,!1,l[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){b[l]=new g(l,2,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){b[l]=new g(l,2,!1,l,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(l){b[l]=new g(l,3,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){b[l]=new g(l,3,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){b[l]=new g(l,4,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){b[l]=new g(l,6,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){b[l]=new g(l,5,!1,l.toLowerCase(),null,!1,!1)});var v=/[\-:]([a-z])/g;function N(l){return l[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(l){var A=l.replace(v,N);b[A]=new g(A,1,!1,l,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(l){var A=l.replace(v,N);b[A]=new g(A,1,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var A=l.replace(v,N);b[A]=new g(A,1,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){b[l]=new g(l,1,!1,l.toLowerCase(),null,!1,!1)}),b.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){b[l]=new g(l,1,!1,l.toLowerCase(),null,!0,!0)});function F(l,A,f,y){var C=b.hasOwnProperty(A)?b[A]:null;(C!==null?C.type!==0:y||!(2<A.length)||A[0]!=="o"&&A[0]!=="O"||A[1]!=="n"&&A[1]!=="N")&&(w(A,f,C,y)&&(f=null),y||C===null?p(A)&&(f===null?l.removeAttribute(A):l.setAttribute(A,""+f)):C.mustUseProperty?l[C.propertyName]=f===null?C.type===3?!1:"":f:(A=C.attributeName,y=C.attributeNamespace,f===null?l.removeAttribute(A):(C=C.type,f=C===3||C===4&&f===!0?"":""+f,y?l.setAttributeNS(y,A,f):l.setAttribute(A,f))))}var S=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=Symbol.for("react.element"),D=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),Y=Symbol.for("react.provider"),ee=Symbol.for("react.context"),ie=Symbol.for("react.forward_ref"),W=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),we=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),re=Symbol.for("react.offscreen"),X=Symbol.iterator;function de(l){return l===null||typeof l!="object"?null:(l=X&&l[X]||l["@@iterator"],typeof l=="function"?l:null)}var ae=Object.assign,q;function L(l){if(q===void 0)try{throw Error()}catch(f){var A=f.stack.trim().match(/\n( *(at )?)/);q=A&&A[1]||""}return` 34`+q+l}var J=!1;function Q(l,A){if(!l||J)return"";J=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(A)if(A=function(){throw Error()},Object.defineProperty(A.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(A,[])}catch(ge){var y=ge}Reflect.construct(l,[],A)}else{try{A.call()}catch(ge){y=ge}l.call(A.prototype)}else{try{throw Error()}catch(ge){y=ge}l()}}catch(ge){if(ge&&y&&typeof ge.stack=="string"){for(var C=ge.stack.split(` 35`),j=y.stack.split(` 36`),_=C.length-1,z=j.length-1;1<=_&&0<=z&&C[_]!==j[z];)z--;for(;1<=_&&0<=z;_--,z--)if(C[_]!==j[z]){if(_!==1||z!==1)do if(_--,z--,0>z||C[_]!==j[z]){var te=` 37`+C[_].replace(" at new "," at ");return l.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",l.displayName)),te}while(1<=_&&0<=z);break}}}finally{J=!1,Error.prepareStackTrace=f}return(l=l?l.displayName||l.name:"")?L(l):""}function O(l){switch(l.tag){case 5:return L(l.type);case 16:return L("Lazy");case 13:return L("Suspense");case 19:return L("SuspenseList");case 0:case 2:case 15:return l=Q(l.type,!1),l;case 11:return l=Q(l.type.render,!1),l;case 1:return l=Q(l.type,!0),l;default:return""}}function G(l){if(l==null)return null;if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case T:return"Fragment";case D:return"Portal";case I:return"Profiler";case k:return"StrictMode";case W:return"Suspense";case ce:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case ee:return(l.displayName||"Context")+".Consumer";case Y:return(l._context.displayName||"Context")+".Provider";case ie:var A=l.render;return l=l.displayName,l||(l=A.displayName||A.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case we:return A=l.displayName||null,A!==null?A:G(l.type)||"Memo";case ne:A=l._payload,l=l._init;try{return G(l(A))}catch{}}return null}function le(l){var A=l.type;switch(l.tag){case 24:return"Cache";case 9:return(A.displayName||"Context")+".Consumer";case 10:return(A._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return l=A.render,l=l.displayName||l.name||"",A.displayName||(l!==""?"ForwardRef("+l+")":"ForwardRef");case 7:return"Fragment";case 5:return A;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return G(A);case 8:return A===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A}return null}function ye(l){switch(typeof l){case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function xe(l){var A=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(A==="checkbox"||A==="radio")}function be(l){var A=xe(l)?"checked":"value",f=Object.getOwnPropertyDescriptor(l.constructor.prototype,A),y=""+l[A];if(!l.hasOwnProperty(A)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var C=f.get,j=f.set;return Object.defineProperty(l,A,{configurable:!0,get:function(){return C.call(this)},set:function(_){y=""+_,j.call(this,_)}}),Object.defineProperty(l,A,{enumerable:f.enumerable}),{getValue:function(){return y},setValue:function(_){y=""+_},stopTracking:function(){l._valueTracker=null,delete l[A]}}}}function Fe(l){l._valueTracker||(l._valueTracker=be(l))}function Pe(l){if(!l)return!1;var A=l._valueTracker;if(!A)return!0;var f=A.getValue(),y="";return l&&(y=xe(l)?l.checked?"true":"false":l.value),l=y,l!==f?(A.setValue(l),!0):!1}function it(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}function et(l,A){var f=A.checked;return ae({},A,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??l._wrapperState.initialChecked})}function cr(l,A){var f=A.defaultValue==null?"":A.defaultValue,y=A.checked!=null?A.checked:A.defaultChecked;f=ye(A.value!=null?A.value:f),l._wrapperState={initialChecked:y,initialValue:f,controlled:A.type==="checkbox"||A.type==="radio"?A.checked!=null:A.value!=null}}function pt(l,A){A=A.checked,A!=null&&F(l,"checked",A,!1)}function Me(l,A){pt(l,A);var f=ye(A.value),y=A.type;if(f!=null)y==="number"?(f===0&&l.value===""||l.value!=f)&&(l.value=""+f):l.value!==""+f&&(l.value=""+f);else if(y==="submit"||y==="reset"){l.removeAttribute("value");return}A.hasOwnProperty("value")?Ur(l,A.type,f):A.hasOwnProperty("defaultValue")&&Ur(l,A.type,ye(A.defaultValue)),A.checked==null&&A.defaultChecked!=null&&(l.defaultChecked=!!A.defaultChecked)}function Kr(l,A,f){if(A.hasOwnProperty("value")||A.hasOwnProperty("defaultValue")){var y=A.type;if(!(y!=="submit"&&y!=="reset"||A.value!==void 0&&A.value!==null))return;A=""+l._wrapperState.initialValue,f||A===l.value||(l.value=A),l.defaultValue=A}f=l.name,f!==""&&(l.name=""),l.defaultChecked=!!l._wrapperState.initialChecked,f!==""&&(l.name=f)}function Ur(l,A,f){(A!=="number"||it(l.ownerDocument)!==l)&&(f==null?l.defaultValue=""+l._wrapperState.initialValue:l.defaultValue!==""+f&&(l.defaultValue=""+f))}var qn=Array.isArray;function $n(l,A,f,y){if(l=l.options,A){A={};for(var C=0;C<f.length;C++)A["$"+f[C]]=!0;for(f=0;f<l.length;f++)C=A.hasOwnProperty("$"+l[f].value),l[f].selected!==C&&(l[f].selected=C),C&&y&&(l[f].defaultSelected=!0)}else{for(f=""+ye(f),A=null,C=0;C<l.length;C++){if(l[C].value===f){l[C].selected=!0,y&&(l[C].defaultSelected=!0);return}A!==null||l[C].disabled||(A=l[C])}A!==null&&(A.selected=!0)}}function Xl(l,A){if(A.dangerouslySetInnerHTML!=null)throw Error(r(91));return ae({},A,{value:void 0,defaultValue:void 0,children:""+l._wrapperState.initialValue})}function Zl(l,A){var f=A.value;if(f==null){if(f=A.children,A=A.defaultValue,f!=null){if(A!=null)throw Error(r(92));if(qn(f)){if(1<f.length)throw Error(r(93));f=f[0]}A=f}A==null&&(A=""),f=A}l._wrapperState={initialValue:ye(f)}}function Yn(l,A){var f=ye(A.value),y=ye(A.defaultValue);f!=null&&(f=""+f,f!==l.value&&(l.value=f),A.defaultValue==null&&l.defaultValue!==f&&(l.defaultValue=f)),y!=null&&(l.defaultValue=""+y)}function Oo(l){var A=l.textContent;A===l._wrapperState.initialValue&&A!==""&&A!==null&&(l.value=A)}function ec(l){switch(l){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ho(l,A){return l==null||l==="http://www.w3.org/1999/xhtml"?ec(A):l==="http://www.w3.org/2000/svg"&&A==="foreignObject"?"http://www.w3.org/1999/xhtml":l}var fa,yh=(function(l){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(A,f,y,C){MSApp.execUnsafeLocalFunction(function(){return l(A,f,y,C)})}:l})(function(l,A){if(l.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in l)l.innerHTML=A;else{for(fa=fa||document.createElement("div"),fa.innerHTML="<svg>"+A.valueOf().toString()+"</svg>",A=fa.firstChild;l.firstChild;)l.removeChild(l.firstChild);for(;A.firstChild;)l.appendChild(A.firstChild)}});function xi(l,A){if(A){var f=l.firstChild;
vendor: 1,181 bytes, line 37
37if(f&&f===l.lastChild&&f.nodeType===3){f.nodeValue=A;return}}l.textContent=A}var yi={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},bh=["Webkit","ms","Moz","O"];Object.keys(yi).forEach(function(l){bh.forEach(function(A){A=A+l.charAt(0).toUpperCase()+l.substring(1),yi[A]=yi[l]})});function VA(l,A,f){return A==null||typeof A=="boolean"||A===""?"":f||typeof A!="number"||A===0||yi.hasOwnProperty(l)&&yi[l]?(""+A).trim():A+"px"}function KA(l,A){l=l.style;for(var f in A)if(A.hasOwnProperty(f)){var y=f.indexOf("--")===0,C=VA(f,A[f],y);f==="float"&&(f="cssFloat"),y?l.setProperty(f,C):l[f]=C}
vendor: 32,871 bytes, lines 37-38
37}var wh=ae({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function GA(l,A){if(A){if(wh[l]&&(A.children!=null||A.dangerouslySetInnerHTML!=null))throw Error(r(137,l));if(A.dangerouslySetInnerHTML!=null){if(A.children!=null)throw Error(r(60));if(typeof A.dangerouslySetInnerHTML!="object"||!("__html"in A.dangerouslySetInnerHTML))throw Error(r(61))}if(A.style!=null&&typeof A.style!="object")throw Error(r(62))}}function WA(l,A){if(l.indexOf("-")===-1)return typeof A.is=="string";switch(l){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 tc=null;function rc(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var nc=null,bi=null,wi=null;function Vo(l){if(l=fd(l)){if(typeof nc!="function")throw Error(r(280));var A=l.stateNode;A&&(A=Gh(A),nc(l.stateNode,l.type,A))}}function vh(l){bi?wi?wi.push(l):wi=[l]:bi=l}function Ch(){if(bi){var l=bi,A=wi;if(wi=bi=null,Vo(l),A)for(l=0;l<A.length;l++)Vo(A[l])}}function Bh(l,A){return l(A)}function Nh(){}var zA=!1;function Fh(l,A,f){if(zA)return l(A,f);zA=!0;try{return Bh(l,A,f)}finally{zA=!1,(bi!==null||wi!==null)&&(Nh(),Ch())}}function Ko(l,A){var f=l.stateNode;if(f===null)return null;var y=Gh(f);if(y===null)return null;f=y[A];e:switch(A){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(y=!y.disabled)||(l=l.type,y=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!y;break e;default:l=!1}if(l)return null;if(f&&typeof f!="function")throw Error(r(231,A,typeof f));return f}var JA=!1;if(c)try{var Is={};Object.defineProperty(Is,"passive",{get:function(){JA=!0}}),window.addEventListener("test",Is,Is),window.removeEventListener("test",Is,Is)}catch{JA=!1}function I0(l,A,f,y,C,j,_,z,te){var ge=Array.prototype.slice.call(arguments,3);try{A.apply(f,ge)}catch(Se){this.onError(Se)}}var Go=!1,ac=null,U=!1,M=null,P={onError:function(l){Go=!0,ac=l}};function R(l,A,f,y,C,j,_,z,te){Go=!1,ac=null,I0.apply(P,arguments)}function H(l,A,f,y,C,j,_,z,te){if(R.apply(this,arguments),Go){if(Go){var ge=ac;Go=!1,ac=null}else throw Error(r(198));U||(U=!0,M=ge)}}function K(l){var A=l,f=l;if(l.alternate)for(;A.return;)A=A.return;else{l=A;do A=l,(A.flags&4098)!==0&&(f=A.return),l=A.return;while(l)}return A.tag===3?f:null}function fe(l){if(l.tag===13){var A=l.memoizedState;if(A===null&&(l=l.alternate,l!==null&&(A=l.memoizedState)),A!==null)return A.dehydrated}return null}function Be(l){if(K(l)!==l)throw Error(r(188))}function he(l){var A=l.alternate;if(!A){if(A=K(l),A===null)throw Error(r(188));return A!==l?null:l}for(var f=l,y=A;;){var C=f.return;if(C===null)break;var j=C.alternate;if(j===null){if(y=C.return,y!==null){f=y;continue}break}if(C.child===j.child){for(j=C.child;j;){if(j===f)return Be(C),l;if(j===y)return Be(C),A;j=j.sibling}throw Error(r(188))}if(f.return!==y.return)f=C,y=j;else{for(var _=!1,z=C.child;z;){if(z===f){_=!0,f=C,y=j;break}if(z===y){_=!0,y=C,f=j;break}z=z.sibling}if(!_){for(z=j.child;z;){if(z===f){_=!0,f=j,y=C;break}if(z===y){_=!0,y=j,f=C;break}z=z.sibling}if(!_)throw Error(r(189))}}if(f.alternate!==y)throw Error(r(190))}if(f.tag!==3)throw Error(r(188));return f.stateNode.current===f?l:A}function me(l){return l=he(l),l!==null?pe(l):null}function pe(l){if(l.tag===5||l.tag===6)return l;for(l=l.child;l!==null;){var A=pe(l);if(A!==null)return A;l=l.sibling}return null}var Ee=t.unstable_scheduleCallback,Re=t.unstable_cancelCallback,Ke=t.unstable_shouldYield,_e=t.unstable_requestPaint,ke=t.unstable_now,ot=t.unstable_getCurrentPriorityLevel,Lt=t.unstable_ImmediatePriority,Ot=t.unstable_UserBlockingPriority,Ar=t.unstable_NormalPriority,Wo=t.unstable_LowPriority,vi=t.unstable_IdlePriority,ls=null,Ir=null;function qA(l){if(Ir&&typeof Ir.onCommitFiberRoot=="function")try{Ir.onCommitFiberRoot(ls,l,void 0,(l.current.flags&128)===128)}catch{}}var dr=Math.clz32?Math.clz32:mD,hD=Math.log,fD=Math.LN2;function mD(l){return l>>>=0,l===0?32:31-(hD(l)/fD|0)|0}var jh=64,Sh=4194304;function $A(l){switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return l&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return l}}function Eh(l,A){var f=l.pendingLanes;if(f===0)return 0;var y=0,C=l.suspendedLanes,j=l.pingedLanes,_=f&268435455;if(_!==0){var z=_&~C;z!==0?y=$A(z):(j&=_,j!==0&&(y=$A(j)))}else _=f&~C,_!==0?y=$A(_):j!==0&&(y=$A(j));if(y===0)return 0;if(A!==0&&A!==y&&(A&C)===0&&(C=y&-y,j=A&-A,C>=j||C===16&&(j&4194240)!==0))return A;if((y&4)!==0&&(y|=f&16),A=l.entangledLanes,A!==0)for(l=l.entanglements,A&=y;0<A;)f=31-dr(A),C=1<<f,y|=l[f],A&=~C;return y}function pD(l,A){switch(l){case 1:case 2:case 4:return A+250;case 8: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 A+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function gD(l,A){for(var f=l.suspendedLanes,y=l.pingedLanes,C=l.expirationTimes,j=l.pendingLanes;0<j;){var _=31-dr(j),z=1<<_,te=C[_];te===-1?((z&f)===0||(z&y)!==0)&&(C[_]=pD(z,A)):te<=A&&(l.expiredLanes|=z),j&=~z}}function L0(l){return l=l.pendingLanes&-1073741825,l!==0?l:l&1073741824?1073741824:0}function Bv(){var l=jh;return jh<<=1,(jh&4194240)===0&&(jh=64),l}function P0(l){for(var A=[],f=0;31>f;f++)A.push(l);return A}function YA(l,A,f){l.pendingLanes|=A,A!==536870912&&(l.suspendedLanes=0,l.pingedLanes=0),l=l.eventTimes,A=31-dr(A),l[A]=f}function xD(l,A){var f=l.pendingLanes&~A;l.pendingLanes=A,l.suspendedLanes=0,l.pingedLanes=0,l.expiredLanes&=A,l.mutableReadLanes&=A,l.entangledLanes&=A,A=l.entanglements;var y=l.eventTimes;for(l=l.expirationTimes;0<f;){var C=31-dr(f),j=1<<C;A[C]=0,y[C]=-1,l[C]=-1,f&=~j}}function R0(l,A){var f=l.entangledLanes|=A;for(l=l.entanglements;f;){var y=31-dr(f),C=1<<y;C&A|l[y]&A&&(l[y]|=A),f&=~C}}var Ft=0;function Nv(l){return l&=-l,1<l?4<l?(l&268435455)!==0?16:536870912:4:1}var Fv,M0,jv,Sv,Ev,Q0=!1,Th=[],Ci=null,Bi=null,Ni=null,XA=new Map,ZA=new Map,Fi=[],yD="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 submit".split(" ");function Tv(l,A){switch(l){case"focusin":case"focusout":Ci=null;break;case"dragenter":case"dragleave":Bi=null;break;case"mouseover":case"mouseout":Ni=null;break;case"pointerover":case"pointerout":XA.delete(A.pointerId);break;case"gotpointercapture":case"lostpointercapture":ZA.delete(A.pointerId)}}function ed(l,A,f,y,C,j){return l===null||l.nativeEvent!==j?(l={blockedOn:A,domEventName:f,eventSystemFlags:y,nativeEvent:j,targetContainers:[C]},A!==null&&(A=fd(A),A!==null&&M0(A)),l):(l.eventSystemFlags|=y,A=l.targetContainers,C!==null&&A.indexOf(C)===-1&&A.push(C),l)}function bD(l,A,f,y,C){switch(A){case"focusin":return Ci=ed(Ci,l,A,f,y,C),!0;case"dragenter":return Bi=ed(Bi,l,A,f,y,C),!0;case"mouseover":return Ni=ed(Ni,l,A,f,y,C),!0;case"pointerover":var j=C.pointerId;return XA.set(j,ed(XA.get(j)||null,l,A,f,y,C)),!0;case"gotpointercapture":return j=C.pointerId,ZA.set(j,ed(ZA.get(j)||null,l,A,f,y,C)),!0}return!1}function kv(l){var A=zo(l.target);if(A!==null){var f=K(A);if(f!==null){if(A=f.tag,A===13){if(A=fe(f),A!==null){l.blockedOn=A,Ev(l.priority,function(){jv(f)});return}}else if(A===3&&f.stateNode.current.memoizedState.isDehydrated){l.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}l.blockedOn=null}function kh(l){if(l.blockedOn!==null)return!1;for(var A=l.targetContainers;0<A.length;){var f=H0(l.domEventName,l.eventSystemFlags,A[0],l.nativeEvent);if(f===null){f=l.nativeEvent;var y=new f.constructor(f.type,f);tc=y,f.target.dispatchEvent(y),tc=null}else return A=fd(f),A!==null&&M0(A),l.blockedOn=f,!1;A.shift()}return!0}function _v(l,A,f){kh(l)&&f.delete(A)}function wD(){Q0=!1,Ci!==null&&kh(Ci)&&(Ci=null),Bi!==null&&kh(Bi)&&(Bi=null),Ni!==null&&kh(Ni)&&(Ni=null),XA.forEach(_v),ZA.forEach(_v)}function td(l,A){l.blockedOn===A&&(l.blockedOn=null,Q0||(Q0=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,wD)))}function rd(l){function A(C){return td(C,l)}if(0<Th.length){td(Th[0],l);for(var f=1;f<Th.length;f++){var y=Th[f];y.blockedOn===l&&(y.blockedOn=null)}}for(Ci!==null&&td(Ci,l),Bi!==null&&td(Bi,l),Ni!==null&&td(Ni,l),XA.forEach(A),ZA.forEach(A),f=0;f<Fi.length;f++)y=Fi[f],y.blockedOn===l&&(y.blockedOn=null);for(;0<Fi.length&&(f=Fi[0],f.blockedOn===null);)kv(f),f.blockedOn===null&&Fi.shift()}var sc=S.ReactCurrentBatchConfig,_h=!0;function vD(l,A,f,y){var C=Ft,j=sc.transition;sc.transition=null;try{Ft=1,O0(l,A,f,y)}finally{Ft=C,sc.transition=j}}function CD(l,A,f,y){var C=Ft,j=sc.transition;sc.transition=null;try{Ft=4,O0(l,A,f,y)}finally{Ft=C,sc.transition=j}}function O0(l,A,f,y){if(_h){var C=H0(l,A,f,y);if(C===null)sg(l,A,y,Dh,f),Tv(l,y);else if(bD(C,l,A,f,y))y.stopPropagation();else if(Tv(l,y),A&4&&-1<yD.indexOf(l)){for(;C!==null;){var j=fd(C);if(j!==null&&Fv(j),j=H0(l,A,f,y),j===null&&sg(l,A,y,Dh,f),j===C)break;C=j}C!==null&&y.stopPropagation()}else sg(l,A,y,null,f)}}var Dh=null;function H0(l,A,f,y){if(Dh=null,l=rc(y),l=zo(l),l!==null)if(A=K(l),A===null)l=null;else if(f=A.tag,f===13){if(l=fe(A),l!==null)return l;l=null}else if(f===3){if(A.stateNode.current.memoizedState.isDehydrated)return A.tag===3?A.stateNode.containerInfo:null;l=null}else A!==l&&(l=null);return Dh=l,null}function Dv(l){switch(l){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ot()){case Lt:return 1;case Ot:return 4;case Ar:case Wo:return 16;case vi:return 536870912;default:return 16}default:return 16}}var ji=null,V0=null,Uh=null;function Uv(){if(Uh)return Uh;var l,A=V0,f=A.length,y,C="value"in ji?ji.value:ji.textContent,j=C.length;for(l=0;l<f&&A[l]===C[l];l++);var _=f-l;for(y=1;y<=_&&A[f-y]===C[j-y];y++);return Uh=C.slice(l,1<y?1-y:void 0)}function Ih(l){var A=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&A===13&&(l=13)):l=A,l===10&&(l=13),32<=l||l===13?l:0}function Lh(){return!0}function Iv(){return!1}function Xn(l){function A(f,y,C,j,_){this._reactName=f,this._targetInst=C,this.type=y,this.nativeEvent=j,this.target=_,this.currentTarget=null;for(var z in l)l.hasOwnProperty(z)&&(f=l[z],this[z]=f?f(j):j[z]);return this.isDefaultPrevented=(j.defaultPrevented!=null?j.defaultPrevented:j.returnValue===!1)?Lh:Iv,this.isPropagationStopped=Iv,this}return ae(A.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=Lh)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Lh)},persist:function(){},isPersistent:Lh}),A}var ic={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},K0=Xn(ic),nd=ae({},ic,{view:0,detail:0}),BD=Xn(nd),G0,W0,ad,Ph=ae({},nd,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:J0,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==ad&&(ad&&l.type==="mousemove"?(G0=l.screenX-ad.screenX,W0=l.screenY-ad.screenY):W0=G0=0,ad=l),G0)},movementY:function(l){return"movementY"in l?l.movementY:W0}}),Lv=Xn(Ph),ND=ae({},Ph,{dataTransfer:0}),FD=Xn(ND),jD=ae({},nd,{relatedTarget:0}),z0=Xn(jD),SD=ae({},ic,{animationName:0,elapsedTime:0,pseudoElement:0}),ED=Xn(SD),TD=ae({},ic,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),kD=Xn(TD),_D=ae({},ic,{data:0}),Pv=Xn(_D),DD={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},UD={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"},ID={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function LD(l){var A=this.nativeEvent;return A.getModifierState?A.getModifierState(l):(l=ID[l])?!!A[l]:!1}function J0(){return LD}var PD=ae({},nd,{key:function(l){if(l.key){var A=DD[l.key]||l.key;if(A!=="Unidentified")return A}return l.type==="keypress"?(l=Ih(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?UD[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:J0,charCode:function(l){return l.type==="keypress"?Ih(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Ih(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),RD=Xn(PD),MD=ae({},Ph,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Rv=Xn(MD),QD=ae({},nd,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:J0}),OD=Xn(QD),HD=ae({},ic,{propertyName:0,elapsedTime:0,pseudoElement:0}),VD=Xn(HD),KD=ae({},Ph,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),GD=Xn(KD),WD=[9,13,27,32],q0=c&&"CompositionEvent"in window,sd=null;c&&"documentMode"in document&&(sd=document.documentMode);var zD=c&&"TextEvent"in window&&!sd,Mv=c&&(!q0||sd&&8<sd&&11>=sd),Qv=" ",Ov=!1;function Hv(l,A){switch(l){case"keyup":return WD.indexOf(A.keyCode)!==-1;case"keydown":return A.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vv(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var oc=!1;function JD(l,A){switch(l){case"compositionend":return Vv(A);case"keypress":return A.which!==32?null:(Ov=!0,Qv);case"textInput":return l=A.data,l===Qv&&Ov?null:l;default:return null}}function qD(l,A){if(oc)return l==="compositionend"||!q0&&Hv(l,A)?(l=Uv(),Uh=V0=ji=null,oc=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(A.ctrlKey||A.altKey||A.metaKey)||A.ctrlKey&&A.altKey){if(A.char&&1<A.char.length)return A.char;if(A.which)return String.fromCharCode(A.which)}return null;case"compositionend":return Mv&&A.locale!=="ko"?null:A.data;default:return null}}var $D={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 Kv(l){var A=l&&l.nodeName&&l.nodeName.toLowerCase();return A==="input"?!!$D[l.type]:A==="textarea"}function Gv(l,A,f,y){vh(y),A=Hh(A,"onChange"),0<A.length&&(f=new K0("onChange","change",null,f,y),l.push({event:f,listeners:A}))}var id=null,od=null;function YD(l){c2(l,0)}function Rh(l){var A=uc(l);if(Pe(A))return l}function XD(l,A){if(l==="change")return A}var Wv=!1;if(c){var $0;if(c){var Y0="oninput"in document;if(!Y0){var zv=document.createElement("div");zv.setAttribute("oninput","return;"),Y0=typeof zv.oninput=="function"}$0=Y0}else $0=!1;Wv=$0&&(!document.documentMode||9<document.documentMode)}function Jv(){id&&(id.detachEvent("onpropertychange",qv),od=id=null)}function qv(l){if(l.propertyName==="value"&&Rh(od)){var A=[];Gv(A,od,l,rc(l)),Fh(YD,A)}}function ZD(l,A,f){l==="focusin"?(Jv(),id=A,od=f,id.attachEvent("onpropertychange",qv)):l==="focusout"&&Jv()}function e6(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Rh(od)}function t6(l,A){if(l==="click")return Rh(A)}function r6(l,A){if(l==="input"||l==="change")return Rh(A)}function n6(l,A){return l===A&&(l!==0||1/l===1/A)||l!==l&&A!==A}var Ra=typeof Object.is=="function"?Object.is:n6;function ld(l,A){if(Ra(l,A))return!0;if(typeof l!="object"||l===null||typeof A!="object"||A===null)return!1;var f=Object.keys(l),y=Object.keys(A);if(f.length!==y.length)return!1;for(y=0;y<f.length;y++){var C=f[y];if(!d.call(A,C)||!Ra(l[C],A[C]))return!1}return!0}function $v(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function Yv(l,A){var f=$v(l);l=0;for(var y;f;){if(f.nodeType===3){if(y=l+f.textContent.length,l<=A&&y>=A)return{node:f,offset:A-l};l=y}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=$v(f)}}function Xv(l,A){return l&&A?l===A?!0:l&&l.nodeType===3?!1:A&&A.nodeType===3?Xv(l,A.parentNode):"contains"in l?l.contains(A):l.compareDocumentPosition?!!(l.compareDocumentPosition(A)&16):!1:!1}function Zv(){for(var l=window,A=it();A instanceof l.HTMLIFrameElement;){try{var f=typeof A.contentWindow.location.href=="string"}catch{f=!1}if(f)l=A.contentWindow;else break;A=it(l.document)}return A}function X0(l){var A=l&&l.nodeName&&l.nodeName.toLowerCase();return A&&(A==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||A==="textarea"||l.contentEditable==="true")}function a6(l){var A=Zv(),f=l.focusedElem,y=l.selectionRange;if(A!==f&&f&&f.ownerDocument&&Xv(f.ownerDocument.documentElement,f)){if(y!==null&&X0(f)){if(A=y.start,l=y.end,l===void 0&&(l=A),"selectionStart"in f)f.selectionStart=A,f.selectionEnd=Math.min(l,f.value.length);else if(l=(A=f.ownerDocument||document)&&A.defaultView||window,l.getSelection){l=l.getSelection();var C=f.textContent.length,j=Math.min(y.start,C);y=y.end===void 0?j:Math.min(y.end,C),!l.extend&&j>y&&(C=y,y=j,j=C),C=Yv(f,j);var _=Yv(f,y);C&&_&&(l.rangeCount!==1||l.anchorNode!==C.node||l.anchorOffset!==C.offset||l.focusNode!==_.node||l.focusOffset!==_.offset)&&(A=A.createRange(),A.setStart(C.node,C.offset),l.removeAllRanges(),j>y?(l.addRange(A),l.extend(_.node,_.offset)):(A.setEnd(_.node,_.offset),l.addRange(A)))}}for(A=[],l=f;l=l.parentNode;)l.nodeType===1&&A.push({element:l,left:l.scrollLeft,top:l.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<A.length;f++)l=A[f],l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}var s6=c&&"documentMode"in document&&11>=document.documentMode,lc=null,Z0=null,cd=null,eg=!1;function e2(l,A,f){var y=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;eg||lc==null||lc!==it(y)||(y=lc,"selectionStart"in y&&X0(y)?y={start:y.selectionStart,end:y.selectionEnd}:(y=(y.ownerDocument&&y.ownerDocument.defaultView||window).getSelection(),y={anchorNode:y.anchorNode,anchorOffset:y.anchorOffset,focusNode:y.focusNode,focusOffset:y.focusOffset}),cd&&ld(cd,y)||(cd=y,y=Hh(Z0,"onSelect"),0<y.length&&(A=new K0("onSelect","select",null,A,f),l.push({event:A,listeners:y}),A.target=lc)))}function Mh(l,A){var f={};return f[l.toLowerCase()]=A.toLowerCase(),f["Webkit"+l]="webkit"+A,f["Moz"+l]="moz"+A,f}var cc={animationend:Mh("Animation","AnimationEnd"),animationiteration:Mh("Animation","AnimationIteration"),animationstart:Mh("Animation","AnimationStart"),transitionend:Mh("Transition","TransitionEnd")},tg={},t2={};c&&(t2=document.createElement("div").style,"AnimationEvent"in window||(delete cc.animationend.animation,delete cc.animationiteration.animation,delete cc.animationstart.animation),"TransitionEvent"in window||delete cc.transitionend.transition);function Qh(l){if(tg[l])return tg[l];if(!cc[l])return l;var A=cc[l],f;for(f in A)if(A.hasOwnProperty(f)&&f in t2)return tg[l]=A[f];return l}var r2=Qh("animationend"),n2=Qh("animationiteration"),a2=Qh("animationstart"),s2=Qh("transitionend"),i2=new Map,o2="abort auxClick 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 toggle touchMove waiting wheel".split(" ");function Si(l,A){i2.set(l,A),i(A,[l])}for(var rg=0;rg<o2.length;rg++){var ng=o2[rg],i6=ng.toLowerCase(),o6=ng[0].toUpperCase()+ng.slice(1);Si(i6,"on"+o6)}Si(r2,"onAnimationEnd"),Si(n2,"onAnimationIteration"),Si(a2,"onAnimationStart"),Si("dblclick","onDoubleClick"),Si("focusin","onFocus"),Si("focusout","onBlur"),Si(s2,"onTransitionEnd"),o("onMouseEnter",["mouseout","mouseover"]),o("onMouseLeave",["mouseout","mouseover"]),o("onPointerEnter",["pointerout","pointerover"]),o("onPointerLeave",["pointerout","pointerover"]),i("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),i("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),i("onBeforeInput",["compositionend","keypress","textInput","paste"]),i("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ad="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(" "),l6=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ad));function l2(l,A,f){var y=l.type||"unknown-event";l.currentTarget=f,H(y,A,void 0,l),l.currentTarget=null}function c2(l,A){A=(A&4)!==0;for(var f=0;f<l.length;f++){var y=l[f],C=y.event;y=y.listeners;e:{var j=void 0;if(A)for(var _=y.length-1;0<=_;_--){var z=y[_],te=z.instance,ge=z.currentTarget;if(z=z.listener,te!==j&&C.isPropagationStopped())break e;l2(C,z,ge),j=te}else for(_=0;_<y.length;_++){if(z=y[_],te=z.instance,ge=z.currentTarget,z=z.listener,te!==j&&C.isPropagationStopped())break e;l2(C,z,ge),j=te}}}if(U)throw l=M,U=!1,M=null,l}function Kt(l,A){var f=A[dg];f===void 0&&(f=A[dg]=new Set);var y=l+"__bubble";f.has(y)||(A2(A,l,2,!1),f.add(y))}function ag(l,A,f){var y=0;A&&(y|=4),A2(f,l,y,A)}var Oh="_reactListening"+Math.random().toString(36).slice(2);function dd(l){if(!l[Oh]){l[Oh]=!0,n.forEach(function(f){f!=="selectionchange"&&(l6.has(f)||ag(f,!1,l),ag(f,!0,l))});var A=l.nodeType===9?l:l.ownerDocument;A===null||A[Oh]||(A[Oh]=!0,ag("selectionchange",!1,A))}}function A2(l,A,f,y){switch(Dv(A)){case 1:var C=vD;break;case 4:C=CD;break;default:C=O0}f=C.bind(null,A,f,l),C=void 0,!JA||A!=="touchstart"&&A!=="touchmove"&&A!=="wheel"||(C=!0),y?C!==void 0?l.addEventListener(A,f,{capture:!0,passive:C}):l.addEventListener(A,f,!0):C!==void 0?l.addEventListener(A,f,{passive:C}):l.addEventListener(A,f,!1)}function sg(l,A,f,y,C){var j=y;if((A&1)===0&&(A&2)===0&&y!==null)e:for(;;){if(y===null)return;var _=y.tag;if(_===3||_===4){var z=y.stateNode.containerInfo;if(z===C||z.nodeType===8&&z.parentNode===C)break;if(_===4)for(_=y.return;_!==null;){var te=_.tag;if((te===3||te===4)&&(te=_.stateNode.containerInfo,te===C||te.nodeType===8&&te.parentNode===C))return;_=_.return}for(;z!==null;){if(_=zo(z),_===null)return;if(te=_.tag,te===5||te===6){y=j=_;continue e}z=z.parentNode}}y=y.return}Fh(function(){var ge=j,Se=rc(f),Te=[];e:{var je=i2.get(l);if(je!==void 0){var Ve=K0,ze=l;switch(l){case"keypress":if(Ih(f)===0)break e;case"keydown":case"keyup":Ve=RD;break;case"focusin":ze="focus",Ve=z0;break;case"focusout":ze="blur",Ve=z0;break;case"beforeblur":case"afterblur":Ve=z0;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ve=Lv;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ve=FD;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ve=OD;break;case r2:case n2:case a2:Ve=ED;break;case s2:Ve=VD;break;case"scroll":Ve=BD;break;case"wheel":Ve=GD;break;case"copy":case"cut":case"paste":Ve=kD;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ve=Rv}var Ye=(A&4)!==0,ur=!Ye&&l==="scroll",Ae=Ye?je!==null?je+"Capture":null:je;Ye=[];for(var se=ge,ue;se!==null;){ue=se;var De=ue.stateNode;if(ue.tag===5&&De!==null&&(ue=De,Ae!==null&&(De=Ko(se,Ae),De!=null&&Ye.push(ud(se,De,ue)))),ur)break;se=se.return}0<Ye.length&&(je=new Ve(je,ze,null,f,Se),Te.push({event:je,listeners:Ye}))}}if((A&7)===0){e:{if(je=l==="mouseover"||l==="pointerover",Ve=l==="mouseout"||l==="pointerout",je&&f!==tc&&(ze=f.relatedTarget||f.fromElement)&&(zo(ze)||ze[Ls]))break e;if((Ve||je)&&(je=Se.window===Se?Se:(je=Se.ownerDocument)?je.defaultView||je.parentWindow:window,Ve?(ze=f.relatedTarget||f.toElement,Ve=ge,ze=ze?zo(ze):null,ze!==null&&(ur=K(ze),ze!==ur||ze.tag!==5&&ze.tag!==6)&&(ze=null)):(Ve=null,ze=ge),Ve!==ze)){if(Ye=Lv,De="onMouseLeave",Ae="onMouseEnter",se="mouse",(l==="pointerout"||l==="pointerover")&&(Ye=Rv,De="onPointerLeave",Ae="onPointerEnter",se="pointer"),ur=Ve==null?je:uc(Ve),ue=ze==null?je:uc(ze),je=new Ye(De,se+"leave",Ve,f,Se),je.target=ur,je.relatedTarget=ue,De=null,zo(Se)===ge&&(Ye=new Ye(Ae,se+"enter",ze,f,Se),Ye.target=ue,Ye.relatedTarget=ur,De=Ye),ur=De,Ve&&ze)t:{for(Ye=Ve,Ae=ze,se=0,ue=Ye;ue;ue=Ac(ue))se++;for(ue=0,De=Ae;De;De=Ac(De))ue++;for(;0<se-ue;)Ye=Ac(Ye),se--;for(;0<ue-se;)Ae=Ac(Ae),ue--;for(;se--;){if(Ye===Ae||Ae!==null&&Ye===Ae.alternate)break t;Ye=Ac(Ye),Ae=Ac(Ae)}Ye=null}else Ye=null;Ve!==null&&d2(Te,je,Ve,Ye,!1),ze!==null&&ur!==null&&d2(Te,ur,ze,Ye,!0)}}e:{if(je=ge?uc(ge):window,Ve=je.nodeName&&je.nodeName.toLowerCase(),Ve==="select"||Ve==="input"&&je.type==="file")var Xe=XD;else if(Kv(je))if(Wv)Xe=r6;else{Xe=e6;var tt=ZD}else(Ve=je.nodeName)&&Ve.toLowerCase()==="input"&&(je.type==="checkbox"||je.type==="radio")&&(Xe=t6);if(Xe&&(Xe=Xe(l,ge))){Gv(Te,Xe,f,Se);break e}tt&&tt(l,je,ge),l==="focusout"&&(tt=je._wrapperState)&&tt.controlled&&je.type==="number"&&Ur(je,"number",je.value)}switch(tt=ge?uc(ge):window,l){case"focusin":(Kv(tt)||tt.contentEditable==="true")&&(lc=tt,Z0=ge,cd=null);break;case"focusout":cd=Z0=lc=null;break;case"mousedown":eg=!0;break;case"contextmenu":case"mouseup":case"dragend":eg=!1,e2(Te,f,Se);break;case"selectionchange":if(s6)break;case"keydown":case"keyup":e2(Te,f,Se)}var rt;if(q0)e:{switch(l){case"compositionstart":var st="onCompositionStart";break e;case"compositionend":st="onCompositionEnd";break e;case"compositionupdate":st="onCompositionUpdate";break e}st=void 0}else oc?Hv(l,f)&&(st="onCompositionEnd"):l==="keydown"&&f.keyCode===229&&(st="onCompositionStart");st&&(Mv&&f.locale!=="ko"&&(oc||st!=="onCompositionStart"?st==="onCompositionEnd"&&oc&&(rt=Uv()):(ji=Se,V0="value"in ji?ji.value:ji.textContent,oc=!0)),tt=Hh(ge,st),0<tt.length&&(st=new Pv(st,l,null,f,Se),Te.push({event:st,listeners:tt}),rt?st.data=rt:(rt=Vv(f),rt!==null&&(st.data=rt)))),(rt=zD?JD(l,f):qD(l,f))&&(ge=Hh(ge,"onBeforeInput"),0<ge.length&&(Se=new Pv("onBeforeInput","beforeinput",null,f,Se),Te.push({event:Se,listeners:ge}),Se.data=rt))}c2(Te,A)})}function ud(l,A,f){return{instance:l,listener:A,currentTarget:f}}function Hh(l,A){for(var f=A+"Capture",y=[];l!==null;){var C=l,j=C.stateNode;C.tag===5&&j!==null&&(C=j,j=Ko(l,f),j!=null&&y.unshift(ud(l,j,C)),j=Ko(l,A),j!=null&&y.push(ud(l,j,C))),l=l.return}return y}function Ac(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5);return l||null}function d2(l,A,f,y,C){for(var j=A._reactName,_=[];f!==null&&f!==y;){var z=f,te=z.alternate,ge=z.stateNode;if(te!==null&&te===y)break;z.tag===5&&ge!==null&&(z=ge,C?(te=Ko(f,j),te!=null&&_.unshift(ud(f,te,z))):C||(te=Ko(f,j),te!=null&&_.push(ud(f,te,z)))),f=f.return}_.length!==0&&l.push({event:A,listeners:_})}var c6=/\r\n?/g,A6=/\u0000|\uFFFD/g;function u2(l){return(typeof l=="string"?l:""+l).replace(c6,` 38`).replace(A6,"")}function Vh(l,A,f){if(A=u2(A),u2(l)!==A&&f)throw Error(r(425))}function Kh(){}var ig=null,og=null;function lg(l,A){return l==="textarea"||l==="noscript"||typeof A.children=="string"||typeof A.children=="number"||typeof A.dangerouslySetInnerHTML=="object"&&A.dangerouslySetInnerHTML!==null&&A.dangerouslySetInnerHTML.__html!=null}var cg=typeof setTimeout=="function"?setTimeout:void 0,d6=typeof clearTimeout=="function"?clearTimeout:void 0,h2=typeof Promise=="function"?Promise:void 0,u6=typeof queueMicrotask=="function"?queueMicrotask:typeof h2<"u"?function(l){return h2.resolve(null).then(l).catch(h6)}:cg;function h6(l){setTimeout(function(){throw l})}function Ag(l,A){var f=A,y=0;do{var C=f.nextSibling;if(l.removeChild(f),C&&C.nodeType===8)if(f=C.data,f==="/$"){if(y===0){l.removeChild(C),rd(A);return}y--}else f!=="$"&&f!=="$?"&&f!=="$!"||y++;f=C}while(f);rd(A)}function Ei(l){for(;l!=null;l=l.nextSibling){var A=l.nodeType;if(A===1||A===3)break;if(A===8){if(A=l.data,A==="$"||A==="$!"||A==="$?")break;if(A==="/$")return null}}return l}function f2(l){l=l.previousSibling;for(var A=0;l;){if(l.nodeType===8){var f=l.data;if(f==="$"||f==="$!"||f==="$?"){if(A===0)return l;A--}else f==="/$"&&A++}l=l.previousSibling}return null}var dc=Math.random().toString(36).slice(2),cs="__reactFiber$"+dc,hd="__reactProps$"+dc,Ls="__reactContainer$"+dc,dg="__reactEvents$"+dc,f6="__reactListeners$"+dc,m6="__reactHandles$"+dc;function zo(l){var A=l[cs];if(A)return A;for(var f=l.parentNode;f;){if(A=f[Ls]||f[cs]){if(f=A.alternate,A.child!==null||f!==null&&f.child!==null)for(l=f2(l);l!==null;){if(f=l[cs])return f;l=f2(l)}return A}l=f,f=l.parentNode}return null}function fd(l){return l=l[cs]||l[Ls],!l||l.tag!==5&&l.tag!==6&&l.tag!==13&&l.tag!==3?null:l}function uc(l){if(l.tag===5||l.tag===6)return l.stateNode;throw Error(r(33))}function Gh(l){return l[hd]||null}var ug=[],hc=-1;function Ti(l){return{current:l}}function Gt(l){0>hc||(l.current=ug[hc],ug[hc]=null,hc--)}function Ht(l,A){hc++,ug[hc]=l.current,l.current=A}var ki={},ln=Ti(ki),_n=Ti(!1),Jo=ki;function fc(l,A){var f=l.type.contextTypes;if(!f)return ki;var y=l.stateNode;if(y&&y.__reactInternalMemoizedUnmaskedChildContext===A)return y.__reactInternalMemoizedMaskedChildContext;var C={},j;for(j in f)C[j]=A[j];return y&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=A,l.__reactInternalMemoizedMaskedChildContext=C),C}function Dn(l){return l=l.childContextTypes,l!=null}function Wh(){Gt(_n),Gt(ln)}function m2(l,A,f){if(ln.current!==ki)throw Error(r(168));Ht(ln,A),Ht(_n,f)}function p2(l,A,f){var y=l.stateNode;if(A=A.childContextTypes,typeof y.getChildContext!="function")return f;y=y.getChildContext();
vendor: 9,959 bytes, line 38
38for(var C in y)if(!(C in A))throw Error(r(108,le(l)||"Unknown",C));return ae({},f,y)}function zh(l){return l=(l=l.stateNode)&&l.__reactInternalMemoizedMergedChildContext||ki,Jo=ln.current,Ht(ln,l),Ht(_n,_n.current),!0}function g2(l,A,f){var y=l.stateNode;if(!y)throw Error(r(169));f?(l=p2(l,A,Jo),y.__reactInternalMemoizedMergedChildContext=l,Gt(_n),Gt(ln),Ht(ln,l)):Gt(_n),Ht(_n,f)}var Ps=null,Jh=!1,hg=!1;function x2(l){Ps===null?Ps=[l]:Ps.push(l)}function p6(l){Jh=!0,x2(l)}function _i(){if(!hg&&Ps!==null){hg=!0;var l=0,A=Ft;try{var f=Ps;for(Ft=1;l<f.length;l++){var y=f[l];do y=y(!0);while(y!==null)}Ps=null,Jh=!1}catch(C){throw Ps!==null&&(Ps=Ps.slice(l+1)),Ee(Lt,_i),C}finally{Ft=A,hg=!1}}return null}var mc=[],pc=0,qh=null,$h=0,ma=[],pa=0,qo=null,Rs=1,Ms="";function $o(l,A){mc[pc++]=$h,mc[pc++]=qh,qh=l,$h=A}function y2(l,A,f){ma[pa++]=Rs,ma[pa++]=Ms,ma[pa++]=qo,qo=l;var y=Rs;l=Ms;var C=32-dr(y)-1;y&=~(1<<C),f+=1;var j=32-dr(A)+C;if(30<j){var _=C-C%5;j=(y&(1<<_)-1).toString(32),y>>=_,C-=_,Rs=1<<32-dr(A)+C|f<<C|y,Ms=j+l}else Rs=1<<j|f<<C|y,Ms=l}function fg(l){l.return!==null&&($o(l,1),y2(l,1,0))}function mg(l){for(;l===qh;)qh=mc[--pc],mc[pc]=null,$h=mc[--pc],mc[pc]=null;for(;l===qo;)qo=ma[--pa],ma[pa]=null,Ms=ma[--pa],ma[pa]=null,Rs=ma[--pa],ma[pa]=null}var Zn=null,ea=null,Jt=!1,Ma=null;function b2(l,A){var f=ba(5,null,null,0);f.elementType="DELETED",f.stateNode=A,f.return=l,A=l.deletions,A===null?(l.deletions=[f],l.flags|=16):A.push(f)}function w2(l,A){switch(l.tag){case 5:var f=l.type;return A=A.nodeType!==1||f.toLowerCase()!==A.nodeName.toLowerCase()?null:A,A!==null?(l.stateNode=A,Zn=l,ea=Ei(A.firstChild),!0):!1;case 6:return A=l.pendingProps===""||A.nodeType!==3?null:A,A!==null?(l.stateNode=A,Zn=l,ea=null,!0):!1;case 13:return A=A.nodeType!==8?null:A,A!==null?(f=qo!==null?{id:Rs,overflow:Ms}:null,l.memoizedState={dehydrated:A,treeContext:f,retryLane:1073741824},f=ba(18,null,null,0),f.stateNode=A,f.return=l,l.child=f,Zn=l,ea=null,!0):!1;default:return!1}}function pg(l){return(l.mode&1)!==0&&(l.flags&128)===0}function gg(l){if(Jt){var A=ea;if(A){var f=A;if(!w2(l,A)){if(pg(l))throw Error(r(418));A=Ei(f.nextSibling);var y=Zn;A&&w2(l,A)?b2(y,f):(l.flags=l.flags&-4097|2,Jt=!1,Zn=l)}}else{if(pg(l))throw Error(r(418));l.flags=l.flags&-4097|2,Jt=!1,Zn=l}}}function v2(l){for(l=l.return;l!==null&&l.tag!==5&&l.tag!==3&&l.tag!==13;)l=l.return;Zn=l}function Yh(l){if(l!==Zn)return!1;if(!Jt)return v2(l),Jt=!0,!1;var A;if((A=l.tag!==3)&&!(A=l.tag!==5)&&(A=l.type,A=A!=="head"&&A!=="body"&&!lg(l.type,l.memoizedProps)),A&&(A=ea)){if(pg(l))throw C2(),Error(r(418));for(;A;)b2(l,A),A=Ei(A.nextSibling)}if(v2(l),l.tag===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(r(317));e:{for(l=l.nextSibling,A=0;l;){if(l.nodeType===8){var f=l.data;if(f==="/$"){if(A===0){ea=Ei(l.nextSibling);break e}A--}else f!=="$"&&f!=="$!"&&f!=="$?"||A++}l=l.nextSibling}ea=null}}else ea=Zn?Ei(l.stateNode.nextSibling):null;return!0}function C2(){for(var l=ea;l;)l=Ei(l.nextSibling)}function gc(){ea=Zn=null,Jt=!1}function xg(l){Ma===null?Ma=[l]:Ma.push(l)}var g6=S.ReactCurrentBatchConfig;function md(l,A,f){if(l=f.ref,l!==null&&typeof l!="function"&&typeof l!="object"){if(f._owner){if(f=f._owner,f){if(f.tag!==1)throw Error(r(309));var y=f.stateNode}if(!y)throw Error(r(147,l));var C=y,j=""+l;return A!==null&&A.ref!==null&&typeof A.ref=="function"&&A.ref._stringRef===j?A.ref:(A=function(_){var z=C.refs;_===null?delete z[j]:z[j]=_},A._stringRef=j,A)}if(typeof l!="string")throw Error(r(284));if(!f._owner)throw Error(r(290,l))}return l}function Xh(l,A){throw l=Object.prototype.toString.call(A),Error(r(31,l==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":l))}function B2(l){var A=l._init;return A(l._payload)}function N2(l){function A(Ae,se){if(l){var ue=Ae.deletions;ue===null?(Ae.deletions=[se],Ae.flags|=16):ue.push(se)}}function f(Ae,se){if(!l)return null;for(;se!==null;)A(Ae,se),se=se.sibling;return null}function y(Ae,se){for(Ae=new Map;se!==null;)se.key!==null?Ae.set(se.key,se):Ae.set(se.index,se),se=se.sibling;return Ae}function C(Ae,se){return Ae=Qi(Ae,se),Ae.index=0,Ae.sibling=null,Ae}function j(Ae,se,ue){return Ae.index=ue,l?(ue=Ae.alternate,ue!==null?(ue=ue.index,ue<se?(Ae.flags|=2,se):ue):(Ae.flags|=2,se)):(Ae.flags|=1048576,se)}function _(Ae){return l&&Ae.alternate===null&&(Ae.flags|=2),Ae}function z(Ae,se,ue,De){return se===null||se.tag!==6?(se=cx(ue,Ae.mode,De),se.return=Ae,se):(se=C(se,ue),se.return=Ae,se)}function te(Ae,se,ue,De){var Xe=ue.type;return Xe===T?Se(Ae,se,ue.props.children,De,ue.key):se!==null&&(se.elementType===Xe||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===ne&&B2(Xe)===se.type)?(De=C(se,ue.props),De.ref=md(Ae,se,ue),De.return=Ae,De):(De=Cf(ue.type,ue.key,ue.props,null,Ae.mode,De),De.ref=md(Ae,se,ue),De.return=Ae,De)}function ge(Ae,se,ue,De){return se===null||se.tag!==4||se.stateNode.containerInfo!==ue.containerInfo||se.stateNode.implementation!==ue.implementation?(se=Ax(ue,Ae.mode,De),se.return=Ae,se):(se=C(se,ue.children||[]),se.return=Ae,se)}function Se(Ae,se,ue,De,Xe){return se===null||se.tag!==7?(se=al(ue,Ae.mode,De,Xe),se.return=Ae,se):(se=C(se,ue),se.return=Ae,se)}function Te(Ae,se,ue){if(typeof se=="string"&&se!==""||typeof se=="number")return se=cx(""+se,Ae.mode,ue),se.return=Ae,se;if(typeof se=="object"&&se!==null){switch(se.$$typeof){case E:return ue=Cf(se.type,se.key,se.props,null,Ae.mode,ue),ue.ref=md(Ae,null,se),ue.return=Ae,ue;case D:return se=Ax(se,Ae.mode,ue),se.return=Ae,se;case ne:var De=se._init;return Te(Ae,De(se._payload),ue)}if(qn(se)||de(se))return se=al(se,Ae.mode,ue,null),se.return=Ae,se;Xh(Ae,se)}return null}function je(Ae,se,ue,De){var Xe=se!==null?se.key:null;if(typeof ue=="string"&&ue!==""||typeof ue=="number")return Xe!==null?null:z(Ae,se,""+ue,De);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case E:return ue.key===Xe?te(Ae,se,ue,De):null;case D:return ue.key===Xe?ge(Ae,se,ue,De):null;case ne:return Xe=ue._init,je(Ae,se,Xe(ue._payload),De)}if(qn(ue)||de(ue))return Xe!==null?null:Se(Ae,se,ue,De,null);Xh(Ae,ue)}return null}function Ve(Ae,se,ue,De,Xe){if(typeof De=="string"&&De!==""||typeof De=="number")return Ae=Ae.get(ue)||null,z(se,Ae,""+De,Xe);if(typeof De=="object"&&De!==null){switch(De.$$typeof){case E:return Ae=Ae.get(De.key===null?ue:De.key)||null,te(se,Ae,De,Xe);case D:return Ae=Ae.get(De.key===null?ue:De.key)||null,ge(se,Ae,De,Xe);case ne:var tt=De._init;return Ve(Ae,se,ue,tt(De._payload),Xe)}if(qn(De)||de(De))return Ae=Ae.get(ue)||null,Se(se,Ae,De,Xe,null);Xh(se,De)}return null}function ze(Ae,se,ue,De){for(var Xe=null,tt=null,rt=se,st=se=0,Rr=null;rt!==null&&st<ue.length;st++){rt.index>st?(Rr=rt,rt=null):Rr=rt.sibling;var xt=je(Ae,rt,ue[st],De);if(xt===null){rt===null&&(rt=Rr);break}l&&rt&&xt.alternate===null&&A(Ae,rt),se=j(xt,se,st),tt===null?Xe=xt:tt.sibling=xt,tt=xt,rt=Rr}if(st===ue.length)return f(Ae,rt),Jt&&$o(Ae,st),Xe;if(rt===null){for(;st<ue.length;st++)rt=Te(Ae,ue[st],De),rt!==null&&(se=j(rt,se,st),tt===null?Xe=rt:tt.sibling=rt,tt=rt);return Jt&&$o(Ae,st),Xe}for(rt=y(Ae,rt);st<ue.length;st++)Rr=Ve(rt,Ae,st,ue[st],De),Rr!==null&&(l&&Rr.alternate!==null&&rt.delete(Rr.key===null?st:Rr.key),se=j(Rr,se,st),tt===null?Xe=Rr:tt.sibling=Rr,tt=Rr);return l&&rt.forEach(function(Oi){return A(Ae,Oi)}),Jt&&$o(Ae,st),Xe}function Ye(Ae,se,ue,De){var Xe=de(ue);if(typeof Xe!="function")throw Error(r(150));if(ue=Xe.call(ue),ue==null)throw Error(r(151));for(var tt=Xe=null,rt=se,st=se=0,Rr=null,xt=ue.next();rt!==null&&!xt.done;st++,xt=ue.next()){rt.index>st?(Rr=rt,rt=null):Rr=rt.sibling;var Oi=je(Ae,rt,xt.value,De);if(Oi===null){rt===null&&(rt=Rr);break}l&&rt&&Oi.alternate===null&&A(Ae,rt),se=j(Oi,se,st),tt===null?Xe=Oi:tt.sibling=Oi,tt=Oi,rt=Rr}if(xt.done)return f(Ae,rt),Jt&&$o(Ae,st),Xe;if(rt===null){for(;!xt.done;st++,xt=ue.next())xt=Te(Ae,xt.value,De),xt!==null&&(se=j(xt,se,st),tt===null?Xe=xt:tt.sibling=xt,tt=xt);return Jt&&$o(Ae,st),Xe}for(rt=y(Ae,rt);!xt.done;st++,xt=ue.next())xt=Ve(rt,Ae,st,xt.value,De),xt!==null&&(l&&xt.alternate!==null&&rt.delete(xt.key===null?st:xt.key),se=j(xt,se,st),tt===null?Xe=xt:tt.sibling=xt,tt=xt);return l&&rt.forEach(function($6){return A(Ae,$6)}),Jt&&$o(Ae,st),Xe}function ur(Ae,se,ue,De){if(typeof ue=="object"&&ue!==null&&ue.type===T&&ue.key===null&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case E:e:{for(var Xe=ue.key,tt=se;tt!==null;){if(tt.key===Xe){if(Xe=ue.type,Xe===T){if(tt.tag===7){f(Ae,tt.sibling),se=C(tt,ue.props.children),se.return=Ae,Ae=se;break e}}else if(tt.elementType===Xe||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===ne&&B2(Xe)===tt.type){f(Ae,tt.sibling),se=C(tt,ue.props),se.ref=md(Ae,tt,ue),se.return=Ae,Ae=se;break e}f(Ae,tt);break}else A(Ae,tt);tt=tt.sibling}ue.type===T?(se=al(ue.props.children,Ae.mode,De,ue.key),se.return=Ae,Ae=se):(De=Cf(ue.type,ue.key,ue.props,null,Ae.mode,De),De.ref=md(Ae,se,ue),De.return=Ae,Ae=De)}return _(Ae);case D:e:{for(tt=ue.key;se!==null;){if(se.key===tt)if(se.tag===4&&se.stateNode.containerInfo===ue.containerInfo&&se.stateNode.implementation===ue.implementation){f(Ae,se.sibling),se=C(se,ue.children||[]),se.return=Ae,Ae=se;break e}else{f(Ae,se);break}else A(Ae,se);se=se.sibling}se=Ax(ue,Ae.mode,De),se.return=Ae,Ae=se}return _(Ae);case ne:return tt=ue._init,ur(Ae,se,tt(ue._payload),De)}if(qn(ue))return ze(Ae,se,ue,De);if(de(ue))return Ye(Ae,se,ue,De);Xh(Ae,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"?(ue=""+ue,se!==null&&se.tag===6?(f(Ae,se.sibling),se=C(se,ue),se.return=Ae,Ae=se):(f(Ae,se),se=cx(ue,Ae.mode,De),se.return=Ae,Ae=se),_(Ae)):f(Ae,se)}return ur}var xc=N2(!0),F2=N2(!1),Zh=Ti(null),ef=null,yc=null,yg=null;function bg(){yg=yc=ef=null}function wg(l){var A=Zh.current;Gt(Zh),l._currentValue=A}function vg(l,A,f){for(;l!==null;){var y=l.alternate;if((l.childLanes&A)!==A?(l.childLanes|=A,y!==null&&(y.childLanes|=A)):y!==null&&(y.childLanes&A)!==A&&(y.childLanes|=A),l===f)break;l=l.return}}
vendor: 1,852 bytes, line 38
38function bc(l,A){ef=l,yg=yc=null,l=l.dependencies,l!==null&&l.firstContext!==null&&((l.lanes&A)!==0&&(Un=!0),l.firstContext=null)}function ga(l){var A=l._currentValue;if(yg!==l)if(l={context:l,memoizedValue:A,next:null},yc===null){if(ef===null)throw Error(r(308));yc=l,ef.dependencies={lanes:0,firstContext:l}}else yc=yc.next=l;return A}var Yo=null;function Cg(l){Yo===null?Yo=[l]:Yo.push(l)}function j2(l,A,f,y){var C=A.interleaved;return C===null?(f.next=f,Cg(A)):(f.next=C.next,C.next=f),A.interleaved=f,Qs(l,y)}function Qs(l,A){l.lanes|=A;var f=l.alternate;for(f!==null&&(f.lanes|=A),f=l,l=l.return;l!==null;)l.childLanes|=A,f=l.alternate,f!==null&&(f.childLanes|=A),f=l,l=l.return;return f.tag===3?f.stateNode:null}var Di=!1;function Bg(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function S2(l,A){l=l.updateQueue,A.updateQueue===l&&(A.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,effects:l.effects})}function Os(l,A){return{eventTime:l,lane:A,tag:0,payload:null,callback:null,next:null}}function Ui(l,A,f){var y=l.updateQueue;if(y===null)return null;if(y=y.shared,(gt&2)!==0){var C=y.pending;return C===null?A.next=A:(A.next=C.next,C.next=A),y.pending=A,Qs(l,f)}return C=y.interleaved,C===null?(A.next=A,Cg(y)):(A.next=C.next,C.next=A),y.interleaved=A,Qs(l,f)}function tf(l,A,f){if(A=A.updateQueue,A!==null&&(A=A.shared,(f&4194240)!==0)){var y=A.lanes;y&=l.pendingLanes,f|=y,A.lanes=f,R0(l,f)}}function E2(l,A){var f=l.updateQueue,y=l.alternate;if(y!==null&&(y=y.updateQueue,f===y)){var C=null,j=null;if(f=f.firstBaseUpdate,f!==null){do{var _={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};j===null?C=j=_:j=j.next=_,f=f.next}
vendor: 4,824 bytes, line 38
38while(f!==null);j===null?C=j=A:j=j.next=A}else C=j=A;f={baseState:y.baseState,firstBaseUpdate:C,lastBaseUpdate:j,shared:y.shared,effects:y.effects},l.updateQueue=f;return}l=f.lastBaseUpdate,l===null?f.firstBaseUpdate=A:l.next=A,f.lastBaseUpdate=A}function rf(l,A,f,y){var C=l.updateQueue;Di=!1;var j=C.firstBaseUpdate,_=C.lastBaseUpdate,z=C.shared.pending;if(z!==null){C.shared.pending=null;var te=z,ge=te.next;te.next=null,_===null?j=ge:_.next=ge,_=te;var Se=l.alternate;Se!==null&&(Se=Se.updateQueue,z=Se.lastBaseUpdate,z!==_&&(z===null?Se.firstBaseUpdate=ge:z.next=ge,Se.lastBaseUpdate=te))}if(j!==null){var Te=C.baseState;_=0,Se=ge=te=null,z=j;do{var je=z.lane,Ve=z.eventTime;if((y&je)===je){Se!==null&&(Se=Se.next={eventTime:Ve,lane:0,tag:z.tag,payload:z.payload,callback:z.callback,next:null});e:{var ze=l,Ye=z;switch(je=A,Ve=f,Ye.tag){case 1:if(ze=Ye.payload,typeof ze=="function"){Te=ze.call(Ve,Te,je);break e}Te=ze;break e;case 3:ze.flags=ze.flags&-65537|128;case 0:if(ze=Ye.payload,je=typeof ze=="function"?ze.call(Ve,Te,je):ze,je==null)break e;Te=ae({},Te,je);break e;case 2:Di=!0}}z.callback!==null&&z.lane!==0&&(l.flags|=64,je=C.effects,je===null?C.effects=[z]:je.push(z))}else Ve={eventTime:Ve,lane:je,tag:z.tag,payload:z.payload,callback:z.callback,next:null},Se===null?(ge=Se=Ve,te=Te):Se=Se.next=Ve,_|=je;if(z=z.next,z===null){if(z=C.shared.pending,z===null)break;je=z,z=je.next,je.next=null,C.lastBaseUpdate=je,C.shared.pending=null}}while(!0);if(Se===null&&(te=Te),C.baseState=te,C.firstBaseUpdate=ge,C.lastBaseUpdate=Se,A=C.shared.interleaved,A!==null){C=A;do _|=C.lane,C=C.next;while(C!==A)}else j===null&&(C.shared.lanes=0);el|=_,l.lanes=_,l.memoizedState=Te}}function T2(l,A,f){if(l=A.effects,A.effects=null,l!==null)for(A=0;A<l.length;A++){var y=l[A],C=y.callback;if(C!==null){if(y.callback=null,y=f,typeof C!="function")throw Error(r(191,C));C.call(y)}}}var pd={},As=Ti(pd),gd=Ti(pd),xd=Ti(pd);function Xo(l){if(l===pd)throw Error(r(174));return l}function Ng(l,A){switch(Ht(xd,A),Ht(gd,l),Ht(As,pd),l=A.nodeType,l){case 9:case 11:A=(A=A.documentElement)?A.namespaceURI:Ho(null,"");break;default:l=l===8?A.parentNode:A,A=l.namespaceURI||null,l=l.tagName,A=Ho(A,l)}Gt(As),Ht(As,A)}function wc(){Gt(As),Gt(gd),Gt(xd)}function k2(l){Xo(xd.current);var A=Xo(As.current),f=Ho(A,l.type);A!==f&&(Ht(gd,l),Ht(As,f))}function Fg(l){gd.current===l&&(Gt(As),Gt(gd))}var Yt=Ti(0);function nf(l){for(var A=l;A!==null;){if(A.tag===13){var f=A.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return A}else if(A.tag===19&&A.memoizedProps.revealOrder!==void 0){if((A.flags&128)!==0)return A}else if(A.child!==null){A.child.return=A,A=A.child;continue}if(A===l)break;for(;A.sibling===null;){if(A.return===null||A.return===l)return null;A=A.return}A.sibling.return=A.return,A=A.sibling}return null}var jg=[];function Sg(){for(var l=0;l<jg.length;l++)jg[l]._workInProgressVersionPrimary=null;jg.length=0}var af=S.ReactCurrentDispatcher,Eg=S.ReactCurrentBatchConfig,Zo=0,Xt=null,jr=null,Lr=null,sf=!1,yd=!1,bd=0,x6=0;function cn(){throw Error(r(321))}function Tg(l,A){if(A===null)return!1;for(var f=0;f<A.length&&f<l.length;f++)if(!Ra(l[f],A[f]))return!1;return!0}function kg(l,A,f,y,C,j){if(Zo=j,Xt=A,A.memoizedState=null,A.updateQueue=null,A.lanes=0,af.current=l===null||l.memoizedState===null?v6:C6,l=f(y,C),yd){j=0;do{if(yd=!1,bd=0,25<=j)throw Error(r(301));j+=1,Lr=jr=null,A.updateQueue=null,af.current=B6,l=f(y,C)}while(yd)}if(af.current=cf,A=jr!==null&&jr.next!==null,Zo=0,Lr=jr=Xt=null,sf=!1,A)throw Error(r(300));return l}function _g(){var l=bd!==0;return bd=0,l}function ds(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Lr===null?Xt.memoizedState=Lr=l:Lr=Lr.next=l,Lr}function xa(){if(jr===null){var l=Xt.alternate;l=l!==null?l.memoizedState:null}else l=jr.next;var A=Lr===null?Xt.memoizedState:Lr.next;if(A!==null)Lr=A,jr=l;else{if(l===null)throw Error(r(310));jr=l,l={memoizedState:jr.memoizedState,baseState:jr.baseState,baseQueue:jr.baseQueue,queue:jr.queue,next:null},Lr===null?Xt.memoizedState=Lr=l:Lr=Lr.next=l}return Lr}function wd(l,A){return typeof A=="function"?A(l):A}function Dg(l){var A=xa(),f=A.queue;if(f===null)throw Error(r(311));f.lastRenderedReducer=l;var y=jr,C=y.baseQueue,j=f.pending;if(j!==null){if(C!==null){var _=C.next;C.next=j.next,j.next=_}y.baseQueue=C=j,f.pending=null}if(C!==null){j=C.next,y=y.baseState;var z=_=null,te=null,ge=j;do{var Se=ge.lane;if((Zo&Se)===Se)te!==null&&(te=te.next={lane:0,action:ge.action,hasEagerState:ge.hasEagerState,eagerState:ge.eagerState,next:null}),y=ge.hasEagerState?ge.eagerState:l(y,ge.action);else{var Te={lane:Se,action:ge.action,hasEagerState:ge.hasEagerState,eagerState:ge.eagerState,next:null};te===null?(z=te=Te,_=y):te=te.next=Te,Xt.lanes|=Se,el|=Se}ge=ge.next}
vendor: 4,835 bytes, line 38
38while(ge!==null&&ge!==j);te===null?_=y:te.next=z,Ra(y,A.memoizedState)||(Un=!0),A.memoizedState=y,A.baseState=_,A.baseQueue=te,f.lastRenderedState=y}if(l=f.interleaved,l!==null){C=l;do j=C.lane,Xt.lanes|=j,el|=j,C=C.next;while(C!==l)}else C===null&&(f.lanes=0);return[A.memoizedState,f.dispatch]}function Ug(l){var A=xa(),f=A.queue;if(f===null)throw Error(r(311));f.lastRenderedReducer=l;var y=f.dispatch,C=f.pending,j=A.memoizedState;if(C!==null){f.pending=null;var _=C=C.next;do j=l(j,_.action),_=_.next;while(_!==C);Ra(j,A.memoizedState)||(Un=!0),A.memoizedState=j,A.baseQueue===null&&(A.baseState=j),f.lastRenderedState=j}return[j,y]}function _2(){}function D2(l,A){var f=Xt,y=xa(),C=A(),j=!Ra(y.memoizedState,C);if(j&&(y.memoizedState=C,Un=!0),y=y.queue,Ig(L2.bind(null,f,y,l),[l]),y.getSnapshot!==A||j||Lr!==null&&Lr.memoizedState.tag&1){if(f.flags|=2048,vd(9,I2.bind(null,f,y,C,A),void 0,null),Pr===null)throw Error(r(349));(Zo&30)!==0||U2(f,A,C)}return C}function U2(l,A,f){l.flags|=16384,l={getSnapshot:A,value:f},A=Xt.updateQueue,A===null?(A={lastEffect:null,stores:null},Xt.updateQueue=A,A.stores=[l]):(f=A.stores,f===null?A.stores=[l]:f.push(l))}function I2(l,A,f,y){A.value=f,A.getSnapshot=y,P2(A)&&R2(l)}function L2(l,A,f){return f(function(){P2(A)&&R2(l)})}function P2(l){var A=l.getSnapshot;l=l.value;try{var f=A();return!Ra(l,f)}catch{return!0}}function R2(l){var A=Qs(l,1);A!==null&&Va(A,l,1,-1)}function M2(l){var A=ds();return typeof l=="function"&&(l=l()),A.memoizedState=A.baseState=l,l={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wd,lastRenderedState:l},A.queue=l,l=l.dispatch=w6.bind(null,Xt,l),[A.memoizedState,l]}function vd(l,A,f,y){return l={tag:l,create:A,destroy:f,deps:y,next:null},A=Xt.updateQueue,A===null?(A={lastEffect:null,stores:null},Xt.updateQueue=A,A.lastEffect=l.next=l):(f=A.lastEffect,f===null?A.lastEffect=l.next=l:(y=f.next,f.next=l,l.next=y,A.lastEffect=l)),l}function Q2(){return xa().memoizedState}function of(l,A,f,y){var C=ds();Xt.flags|=l,C.memoizedState=vd(1|A,f,void 0,y===void 0?null:y)}function lf(l,A,f,y){var C=xa();y=y===void 0?null:y;var j=void 0;if(jr!==null){var _=jr.memoizedState;if(j=_.destroy,y!==null&&Tg(y,_.deps)){C.memoizedState=vd(A,f,j,y);return}}Xt.flags|=l,C.memoizedState=vd(1|A,f,j,y)}function O2(l,A){return of(8390656,8,l,A)}function Ig(l,A){return lf(2048,8,l,A)}function H2(l,A){return lf(4,2,l,A)}function V2(l,A){return lf(4,4,l,A)}function K2(l,A){if(typeof A=="function")return l=l(),A(l),function(){A(null)};if(A!=null)return l=l(),A.current=l,function(){A.current=null}}function G2(l,A,f){return f=f!=null?f.concat([l]):null,lf(4,4,K2.bind(null,A,l),f)}function Lg(){}function W2(l,A){var f=xa();A=A===void 0?null:A;var y=f.memoizedState;return y!==null&&A!==null&&Tg(A,y[1])?y[0]:(f.memoizedState=[l,A],l)}function z2(l,A){var f=xa();A=A===void 0?null:A;var y=f.memoizedState;return y!==null&&A!==null&&Tg(A,y[1])?y[0]:(l=l(),f.memoizedState=[l,A],l)}function J2(l,A,f){return(Zo&21)===0?(l.baseState&&(l.baseState=!1,Un=!0),l.memoizedState=f):(Ra(f,A)||(f=Bv(),Xt.lanes|=f,el|=f,l.baseState=!0),A)}function y6(l,A){var f=Ft;Ft=f!==0&&4>f?f:4,l(!0);var y=Eg.transition;Eg.transition={};try{l(!1),A()}finally{Ft=f,Eg.transition=y}}function q2(){return xa().memoizedState}function b6(l,A,f){var y=Ri(l);if(f={lane:y,action:f,hasEagerState:!1,eagerState:null,next:null},$2(l))Y2(A,f);else if(f=j2(l,A,f,y),f!==null){var C=wn();Va(f,l,y,C),X2(f,A,y)}}function w6(l,A,f){var y=Ri(l),C={lane:y,action:f,hasEagerState:!1,eagerState:null,next:null};if($2(l))Y2(A,C);else{var j=l.alternate;if(l.lanes===0&&(j===null||j.lanes===0)&&(j=A.lastRenderedReducer,j!==null))try{var _=A.lastRenderedState,z=j(_,f);if(C.hasEagerState=!0,C.eagerState=z,Ra(z,_)){var te=A.interleaved;te===null?(C.next=C,Cg(A)):(C.next=te.next,te.next=C),A.interleaved=C;return}}catch{}finally{}f=j2(l,A,C,y),f!==null&&(C=wn(),Va(f,l,y,C),X2(f,A,y))}}function $2(l){var A=l.alternate;return l===Xt||A!==null&&A===Xt}function Y2(l,A){yd=sf=!0;var f=l.pending;f===null?A.next=A:(A.next=f.next,f.next=A),l.pending=A}function X2(l,A,f){if((f&4194240)!==0){var y=A.lanes;y&=l.pendingLanes,f|=y,A.lanes=f,R0(l,f)}}var cf={readContext:ga,useCallback:cn,useContext:cn,useEffect:cn,useImperativeHandle:cn,useInsertionEffect:cn,useLayoutEffect:cn,useMemo:cn,useReducer:cn,useRef:cn,useState:cn,useDebugValue:cn,useDeferredValue:cn,useTransition:cn,useMutableSource:cn,useSyncExternalStore:cn,useId:cn,unstable_isNewReconciler:!1},v6={readContext:ga,useCallback:function(l,A){return ds().memoizedState=[l,A===void 0?null:A],l},useContext:ga,useEffect:O2,useImperativeHandle:function(l,A,f){return f=f!=null?f.concat([l]):null,of(4194308,4,K2.bind(null,A,l),f)},useLayoutEffect:function(l,A){return of(4194308,4,l,A)},useInsertionEffect:function(l,A){return of(4,2,l,A)}
vendor: 7,299 bytes, lines 38-40
38,useMemo:function(l,A){var f=ds();return A=A===void 0?null:A,l=l(),f.memoizedState=[l,A],l},useReducer:function(l,A,f){var y=ds();return A=f!==void 0?f(A):A,y.memoizedState=y.baseState=A,l={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:A},y.queue=l,l=l.dispatch=b6.bind(null,Xt,l),[y.memoizedState,l]},useRef:function(l){var A=ds();return l={current:l},A.memoizedState=l},useState:M2,useDebugValue:Lg,useDeferredValue:function(l){return ds().memoizedState=l},useTransition:function(){var l=M2(!1),A=l[0];return l=y6.bind(null,l[1]),ds().memoizedState=l,[A,l]},useMutableSource:function(){},useSyncExternalStore:function(l,A,f){var y=Xt,C=ds();if(Jt){if(f===void 0)throw Error(r(407));f=f()}else{if(f=A(),Pr===null)throw Error(r(349));(Zo&30)!==0||U2(y,A,f)}C.memoizedState=f;var j={value:f,getSnapshot:A};return C.queue=j,O2(L2.bind(null,y,j,l),[l]),y.flags|=2048,vd(9,I2.bind(null,y,j,f,A),void 0,null),f},useId:function(){var l=ds(),A=Pr.identifierPrefix;if(Jt){var f=Ms,y=Rs;f=(y&~(1<<32-dr(y)-1)).toString(32)+f,A=":"+A+"R"+f,f=bd++,0<f&&(A+="H"+f.toString(32)),A+=":"}else f=x6++,A=":"+A+"r"+f.toString(32)+":";return l.memoizedState=A},unstable_isNewReconciler:!1},C6={readContext:ga,useCallback:W2,useContext:ga,useEffect:Ig,useImperativeHandle:G2,useInsertionEffect:H2,useLayoutEffect:V2,useMemo:z2,useReducer:Dg,useRef:Q2,useState:function(){return Dg(wd)},useDebugValue:Lg,useDeferredValue:function(l){var A=xa();return J2(A,jr.memoizedState,l)},useTransition:function(){var l=Dg(wd)[0],A=xa().memoizedState;return[l,A]},useMutableSource:_2,useSyncExternalStore:D2,useId:q2,unstable_isNewReconciler:!1},B6={readContext:ga,useCallback:W2,useContext:ga,useEffect:Ig,useImperativeHandle:G2,useInsertionEffect:H2,useLayoutEffect:V2,useMemo:z2,useReducer:Ug,useRef:Q2,useState:function(){return Ug(wd)},useDebugValue:Lg,useDeferredValue:function(l){var A=xa();return jr===null?A.memoizedState=l:J2(A,jr.memoizedState,l)},useTransition:function(){var l=Ug(wd)[0],A=xa().memoizedState;return[l,A]},useMutableSource:_2,useSyncExternalStore:D2,useId:q2,unstable_isNewReconciler:!1};function Qa(l,A){if(l&&l.defaultProps){A=ae({},A),l=l.defaultProps;for(var f in l)A[f]===void 0&&(A[f]=l[f]);return A}return A}function Pg(l,A,f,y){A=l.memoizedState,f=f(y,A),f=f==null?A:ae({},A,f),l.memoizedState=f,l.lanes===0&&(l.updateQueue.baseState=f)}var Af={isMounted:function(l){return(l=l._reactInternals)?K(l)===l:!1},enqueueSetState:function(l,A,f){l=l._reactInternals;var y=wn(),C=Ri(l),j=Os(y,C);j.payload=A,f!=null&&(j.callback=f),A=Ui(l,j,C),A!==null&&(Va(A,l,C,y),tf(A,l,C))},enqueueReplaceState:function(l,A,f){l=l._reactInternals;var y=wn(),C=Ri(l),j=Os(y,C);j.tag=1,j.payload=A,f!=null&&(j.callback=f),A=Ui(l,j,C),A!==null&&(Va(A,l,C,y),tf(A,l,C))},enqueueForceUpdate:function(l,A){l=l._reactInternals;var f=wn(),y=Ri(l),C=Os(f,y);C.tag=2,A!=null&&(C.callback=A),A=Ui(l,C,y),A!==null&&(Va(A,l,y,f),tf(A,l,y))}};function Z2(l,A,f,y,C,j,_){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(y,j,_):A.prototype&&A.prototype.isPureReactComponent?!ld(f,y)||!ld(C,j):!0}function eC(l,A,f){var y=!1,C=ki,j=A.contextType;return typeof j=="object"&&j!==null?j=ga(j):(C=Dn(A)?Jo:ln.current,y=A.contextTypes,j=(y=y!=null)?fc(l,C):ki),A=new A(f,j),l.memoizedState=A.state!==null&&A.state!==void 0?A.state:null,A.updater=Af,l.stateNode=A,A._reactInternals=l,y&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=C,l.__reactInternalMemoizedMaskedChildContext=j),A}function tC(l,A,f,y){l=A.state,typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps(f,y),typeof A.UNSAFE_componentWillReceiveProps=="function"&&A.UNSAFE_componentWillReceiveProps(f,y),A.state!==l&&Af.enqueueReplaceState(A,A.state,null)}function Rg(l,A,f,y){var C=l.stateNode;C.props=f,C.state=l.memoizedState,C.refs={},Bg(l);var j=A.contextType;typeof j=="object"&&j!==null?C.context=ga(j):(j=Dn(A)?Jo:ln.current,C.context=fc(l,j)),C.state=l.memoizedState,j=A.getDerivedStateFromProps,typeof j=="function"&&(Pg(l,A,j,f),C.state=l.memoizedState),typeof A.getDerivedStateFromProps=="function"||typeof C.getSnapshotBeforeUpdate=="function"||typeof C.UNSAFE_componentWillMount!="function"&&typeof C.componentWillMount!="function"||(A=C.state,typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount(),A!==C.state&&Af.enqueueReplaceState(C,C.state,null),rf(l,f,C,y),C.state=l.memoizedState),typeof C.componentDidMount=="function"&&(l.flags|=4194308)}function vc(l,A){try{var f="",y=A;do f+=O(y),y=y.return;while(y);var C=f}catch(j){C=` 39Error generating stack: `+j.message+` 40`+j.stack}return{value:l,source:A,stack:C,digest:null}}function Mg(l,A,f){return{value:l,source:null,stack:f??null,digest:A??null}}function Qg(l,A){try{console.error(A.value)}catch(f){setTimeout(function(){throw f})}}var N6=typeof WeakMap=="function"?WeakMap:Map;function rC(l,A,f){f=Os(-1,f),f.tag=3,f.payload={element:null};var y=A.value;return f.callback=function(){gf||(gf=!0,tx=y),Qg(l,A)},f}function nC(l,A,f){f=Os(-1,f),f.tag=3;var y=l.type.getDerivedStateFromError;if(typeof y=="function"){var C=A.value;f.payload=function(){return y(C)},f.callback=function(){Qg(l,A)}}var j=l.stateNode;return j!==null&&typeof j.componentDidCatch=="function"&&(f.callback=function(){Qg(l,A),typeof y!="function"&&(Li===null?Li=new Set([this]):Li.add(this));var _=A.stack;this.componentDidCatch(A.value,{componentStack:_!==null?_:""})}),f}function aC(l,A,f){var y=l.pingCache;if(y===null){y=l.pingCache=new N6;var C=new Set;y.set(A,C)}else C=y.get(A),C===void 0&&(C=new Set,y.set(A,C));C.has(f)||(C.add(f),l=M6.bind(null,l,A,f),A.then(l,l))}function sC(l){do{var A;if((A=l.tag===13)&&(A=l.memoizedState,A=A!==null?A.dehydrated!==null:!0),A)return l;l=l.return}while(l!==null);return null}function iC(l,A,f,y,C){return(l.mode&1)===0?(l===A?l.flags|=65536:(l.flags|=128,f.flags|=131072,f.flags&=-52805,f.tag===1&&(f.alternate===null?f.tag=17:(A=Os(-1,1),A.tag=2,Ui(f,A,1))),f.lanes|=1),l):(l.flags|=65536,l.lanes=C,l)}var F6=S.ReactCurrentOwner,Un=!1;function bn(l,A,f,y){A.child=l===null?F2(A,null,f,y):xc(A,l.child,f,y)}function oC(l,A,f,y,C){f=f.render;var j=A.ref;return bc(A,C),y=kg(l,A,f,y,j,C),f=_g(),l!==null&&!Un?(A.updateQueue=l.updateQueue,A.flags&=-2053,l.lanes&=~C,Hs(l,A,C)):(Jt&&f&&fg(A),A.flags|=1,bn(l,A,y,C),A.child)}function lC(l,A,f,y,C){if(l===null){var j=f.type;return typeof j=="function"&&!lx(j)&&j.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(A.tag=15,A.type=j,cC(l,A,j,y,C)):(l=Cf(f.type,null,y,A,A.mode,C),l.ref=A.ref,l.return=A,A.child=l)}if(j=l.child,(l.lanes&C)===0){var _=j.memoizedProps;if(f=f.compare,f=f!==null?f:ld,f(_,y)&&l.ref===A.ref)return Hs(l,A,C)}return A.flags|=1,l=Qi(j,y),l.ref=A.ref,l.return=A,A.child=l}function cC(l,A,f,y,C){if(l!==null){var j=l.memoizedProps;if(ld(j,y)&&l.ref===A.ref)if(Un=!1,A.pendingProps=y=j,(l.lanes&C)!==0)(l.flags&131072)!==0&&(Un=!0);else return A.lanes=l.lanes,Hs(l,A,C)}return Og(l,A,f,y,C)}function AC(l,A,f){var y=A.pendingProps,C=y.children,j=l!==null?l.memoizedState:null;if(y.mode==="hidden")if((A.mode&1)===0)A.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ht(Bc,ta),ta|=f;
vendor: 34,747 bytes, line 40
40else{if((f&1073741824)===0)return l=j!==null?j.baseLanes|f:f,A.lanes=A.childLanes=1073741824,A.memoizedState={baseLanes:l,cachePool:null,transitions:null},A.updateQueue=null,Ht(Bc,ta),ta|=l,null;A.memoizedState={baseLanes:0,cachePool:null,transitions:null},y=j!==null?j.baseLanes:f,Ht(Bc,ta),ta|=y}else j!==null?(y=j.baseLanes|f,A.memoizedState=null):y=f,Ht(Bc,ta),ta|=y;return bn(l,A,C,f),A.child}function dC(l,A){var f=A.ref;(l===null&&f!==null||l!==null&&l.ref!==f)&&(A.flags|=512,A.flags|=2097152)}function Og(l,A,f,y,C){var j=Dn(f)?Jo:ln.current;return j=fc(A,j),bc(A,C),f=kg(l,A,f,y,j,C),y=_g(),l!==null&&!Un?(A.updateQueue=l.updateQueue,A.flags&=-2053,l.lanes&=~C,Hs(l,A,C)):(Jt&&y&&fg(A),A.flags|=1,bn(l,A,f,C),A.child)}function uC(l,A,f,y,C){if(Dn(f)){var j=!0;zh(A)}else j=!1;if(bc(A,C),A.stateNode===null)uf(l,A),eC(A,f,y),Rg(A,f,y,C),y=!0;else if(l===null){var _=A.stateNode,z=A.memoizedProps;_.props=z;var te=_.context,ge=f.contextType;typeof ge=="object"&&ge!==null?ge=ga(ge):(ge=Dn(f)?Jo:ln.current,ge=fc(A,ge));var Se=f.getDerivedStateFromProps,Te=typeof Se=="function"||typeof _.getSnapshotBeforeUpdate=="function";Te||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(z!==y||te!==ge)&&tC(A,_,y,ge),Di=!1;var je=A.memoizedState;_.state=je,rf(A,y,_,C),te=A.memoizedState,z!==y||je!==te||_n.current||Di?(typeof Se=="function"&&(Pg(A,f,Se,y),te=A.memoizedState),(z=Di||Z2(A,f,z,y,je,te,ge))?(Te||typeof _.UNSAFE_componentWillMount!="function"&&typeof _.componentWillMount!="function"||(typeof _.componentWillMount=="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount=="function"&&_.UNSAFE_componentWillMount()),typeof _.componentDidMount=="function"&&(A.flags|=4194308)):(typeof _.componentDidMount=="function"&&(A.flags|=4194308),A.memoizedProps=y,A.memoizedState=te),_.props=y,_.state=te,_.context=ge,y=z):(typeof _.componentDidMount=="function"&&(A.flags|=4194308),y=!1)}else{_=A.stateNode,S2(l,A),z=A.memoizedProps,ge=A.type===A.elementType?z:Qa(A.type,z),_.props=ge,Te=A.pendingProps,je=_.context,te=f.contextType,typeof te=="object"&&te!==null?te=ga(te):(te=Dn(f)?Jo:ln.current,te=fc(A,te));var Ve=f.getDerivedStateFromProps;(Se=typeof Ve=="function"||typeof _.getSnapshotBeforeUpdate=="function")||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(z!==Te||je!==te)&&tC(A,_,y,te),Di=!1,je=A.memoizedState,_.state=je,rf(A,y,_,C);var ze=A.memoizedState;z!==Te||je!==ze||_n.current||Di?(typeof Ve=="function"&&(Pg(A,f,Ve,y),ze=A.memoizedState),(ge=Di||Z2(A,f,ge,y,je,ze,te)||!1)?(Se||typeof _.UNSAFE_componentWillUpdate!="function"&&typeof _.componentWillUpdate!="function"||(typeof _.componentWillUpdate=="function"&&_.componentWillUpdate(y,ze,te),typeof _.UNSAFE_componentWillUpdate=="function"&&_.UNSAFE_componentWillUpdate(y,ze,te)),typeof _.componentDidUpdate=="function"&&(A.flags|=4),typeof _.getSnapshotBeforeUpdate=="function"&&(A.flags|=1024)):(typeof _.componentDidUpdate!="function"||z===l.memoizedProps&&je===l.memoizedState||(A.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||z===l.memoizedProps&&je===l.memoizedState||(A.flags|=1024),A.memoizedProps=y,A.memoizedState=ze),_.props=y,_.state=ze,_.context=te,y=ge):(typeof _.componentDidUpdate!="function"||z===l.memoizedProps&&je===l.memoizedState||(A.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||z===l.memoizedProps&&je===l.memoizedState||(A.flags|=1024),y=!1)}return Hg(l,A,f,y,j,C)}function Hg(l,A,f,y,C,j){dC(l,A);var _=(A.flags&128)!==0;if(!y&&!_)return C&&g2(A,f,!1),Hs(l,A,j);y=A.stateNode,F6.current=A;var z=_&&typeof f.getDerivedStateFromError!="function"?null:y.render();return A.flags|=1,l!==null&&_?(A.child=xc(A,l.child,null,j),A.child=xc(A,null,z,j)):bn(l,A,z,j),A.memoizedState=y.state,C&&g2(A,f,!0),A.child}function hC(l){var A=l.stateNode;A.pendingContext?m2(l,A.pendingContext,A.pendingContext!==A.context):A.context&&m2(l,A.context,!1),Ng(l,A.containerInfo)}function fC(l,A,f,y,C){return gc(),xg(C),A.flags|=256,bn(l,A,f,y),A.child}var Vg={dehydrated:null,treeContext:null,retryLane:0};function Kg(l){return{baseLanes:l,cachePool:null,transitions:null}}function mC(l,A,f){var y=A.pendingProps,C=Yt.current,j=!1,_=(A.flags&128)!==0,z;if((z=_)||(z=l!==null&&l.memoizedState===null?!1:(C&2)!==0),z?(j=!0,A.flags&=-129):(l===null||l.memoizedState!==null)&&(C|=1),Ht(Yt,C&1),l===null)return gg(A),l=A.memoizedState,l!==null&&(l=l.dehydrated,l!==null)?((A.mode&1)===0?A.lanes=1:l.data==="$!"?A.lanes=8:A.lanes=1073741824,null):(_=y.children,l=y.fallback,j?(y=A.mode,j=A.child,_={mode:"hidden",children:_},(y&1)===0&&j!==null?(j.childLanes=0,j.pendingProps=_):j=Bf(_,y,0,null),l=al(l,y,f,null),j.return=A,l.return=A,j.sibling=l,A.child=j,A.child.memoizedState=Kg(f),A.memoizedState=Vg,l):Gg(A,_));if(C=l.memoizedState,C!==null&&(z=C.dehydrated,z!==null))return j6(l,A,_,y,z,C,f);if(j){j=y.fallback,_=A.mode,C=l.child,z=C.sibling;var te={mode:"hidden",children:y.children};return(_&1)===0&&A.child!==C?(y=A.child,y.childLanes=0,y.pendingProps=te,A.deletions=null):(y=Qi(C,te),y.subtreeFlags=C.subtreeFlags&14680064),z!==null?j=Qi(z,j):(j=al(j,_,f,null),j.flags|=2),j.return=A,y.return=A,y.sibling=j,A.child=y,y=j,j=A.child,_=l.child.memoizedState,_=_===null?Kg(f):{baseLanes:_.baseLanes|f,cachePool:null,transitions:_.transitions},j.memoizedState=_,j.childLanes=l.childLanes&~f,A.memoizedState=Vg,y}return j=l.child,l=j.sibling,y=Qi(j,{mode:"visible",children:y.children}),(A.mode&1)===0&&(y.lanes=f),y.return=A,y.sibling=null,l!==null&&(f=A.deletions,f===null?(A.deletions=[l],A.flags|=16):f.push(l)),A.child=y,A.memoizedState=null,y}function Gg(l,A){return A=Bf({mode:"visible",children:A},l.mode,0,null),A.return=l,l.child=A}function df(l,A,f,y){return y!==null&&xg(y),xc(A,l.child,null,f),l=Gg(A,A.pendingProps.children),l.flags|=2,A.memoizedState=null,l}function j6(l,A,f,y,C,j,_){if(f)return A.flags&256?(A.flags&=-257,y=Mg(Error(r(422))),df(l,A,_,y)):A.memoizedState!==null?(A.child=l.child,A.flags|=128,null):(j=y.fallback,C=A.mode,y=Bf({mode:"visible",children:y.children},C,0,null),j=al(j,C,_,null),j.flags|=2,y.return=A,j.return=A,y.sibling=j,A.child=y,(A.mode&1)!==0&&xc(A,l.child,null,_),A.child.memoizedState=Kg(_),A.memoizedState=Vg,j);if((A.mode&1)===0)return df(l,A,_,null);if(C.data==="$!"){if(y=C.nextSibling&&C.nextSibling.dataset,y)var z=y.dgst;return y=z,j=Error(r(419)),y=Mg(j,y,void 0),df(l,A,_,y)}if(z=(_&l.childLanes)!==0,Un||z){if(y=Pr,y!==null){switch(_&-_){case 4:C=2;break;case 16:C=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:C=32;break;case 536870912:C=268435456;break;default:C=0}C=(C&(y.suspendedLanes|_))!==0?0:C,C!==0&&C!==j.retryLane&&(j.retryLane=C,Qs(l,C),Va(y,l,C,-1))}return ox(),y=Mg(Error(r(421))),df(l,A,_,y)}return C.data==="$?"?(A.flags|=128,A.child=l.child,A=Q6.bind(null,l),C._reactRetry=A,null):(l=j.treeContext,ea=Ei(C.nextSibling),Zn=A,Jt=!0,Ma=null,l!==null&&(ma[pa++]=Rs,ma[pa++]=Ms,ma[pa++]=qo,Rs=l.id,Ms=l.overflow,qo=A),A=Gg(A,y.children),A.flags|=4096,A)}function pC(l,A,f){l.lanes|=A;var y=l.alternate;y!==null&&(y.lanes|=A),vg(l.return,A,f)}function Wg(l,A,f,y,C){var j=l.memoizedState;j===null?l.memoizedState={isBackwards:A,rendering:null,renderingStartTime:0,last:y,tail:f,tailMode:C}:(j.isBackwards=A,j.rendering=null,j.renderingStartTime=0,j.last=y,j.tail=f,j.tailMode=C)}function gC(l,A,f){var y=A.pendingProps,C=y.revealOrder,j=y.tail;if(bn(l,A,y.children,f),y=Yt.current,(y&2)!==0)y=y&1|2,A.flags|=128;else{if(l!==null&&(l.flags&128)!==0)e:for(l=A.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&pC(l,f,A);else if(l.tag===19)pC(l,f,A);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===A)break e;for(;l.sibling===null;){if(l.return===null||l.return===A)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}y&=1}if(Ht(Yt,y),(A.mode&1)===0)A.memoizedState=null;else switch(C){case"forwards":for(f=A.child,C=null;f!==null;)l=f.alternate,l!==null&&nf(l)===null&&(C=f),f=f.sibling;f=C,f===null?(C=A.child,A.child=null):(C=f.sibling,f.sibling=null),Wg(A,!1,C,f,j);break;case"backwards":for(f=null,C=A.child,A.child=null;C!==null;){if(l=C.alternate,l!==null&&nf(l)===null){A.child=C;break}l=C.sibling,C.sibling=f,f=C,C=l}Wg(A,!0,f,null,j);break;case"together":Wg(A,!1,null,null,void 0);break;default:A.memoizedState=null}return A.child}function uf(l,A){(A.mode&1)===0&&l!==null&&(l.alternate=null,A.alternate=null,A.flags|=2)}function Hs(l,A,f){if(l!==null&&(A.dependencies=l.dependencies),el|=A.lanes,(f&A.childLanes)===0)return null;if(l!==null&&A.child!==l.child)throw Error(r(153));if(A.child!==null){for(l=A.child,f=Qi(l,l.pendingProps),A.child=f,f.return=A;l.sibling!==null;)l=l.sibling,f=f.sibling=Qi(l,l.pendingProps),f.return=A;f.sibling=null}return A.child}function S6(l,A,f){switch(A.tag){case 3:hC(A),gc();break;case 5:k2(A);break;case 1:Dn(A.type)&&zh(A);break;case 4:Ng(A,A.stateNode.containerInfo);break;case 10:var y=A.type._context,C=A.memoizedProps.value;Ht(Zh,y._currentValue),y._currentValue=C;break;case 13:if(y=A.memoizedState,y!==null)return y.dehydrated!==null?(Ht(Yt,Yt.current&1),A.flags|=128,null):(f&A.child.childLanes)!==0?mC(l,A,f):(Ht(Yt,Yt.current&1),l=Hs(l,A,f),l!==null?l.sibling:null);Ht(Yt,Yt.current&1);break;case 19:if(y=(f&A.childLanes)!==0,(l.flags&128)!==0){if(y)return gC(l,A,f);A.flags|=128}if(C=A.memoizedState,C!==null&&(C.rendering=null,C.tail=null,C.lastEffect=null),Ht(Yt,Yt.current),y)break;return null;case 22:case 23:return A.lanes=0,AC(l,A,f)}return Hs(l,A,f)}var xC,zg,yC,bC;xC=function(l,A){for(var f=A.child;f!==null;){if(f.tag===5||f.tag===6)l.appendChild(f.stateNode);else if(f.tag!==4&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===A)break;for(;f.sibling===null;){if(f.return===null||f.return===A)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},zg=function(){},yC=function(l,A,f,y){var C=l.memoizedProps;if(C!==y){l=A.stateNode,Xo(As.current);var j=null;switch(f){case"input":C=et(l,C),y=et(l,y),j=[];break;case"select":C=ae({},C,{value:void 0}),y=ae({},y,{value:void 0}),j=[];break;case"textarea":C=Xl(l,C),y=Xl(l,y),j=[];break;default:typeof C.onClick!="function"&&typeof y.onClick=="function"&&(l.onclick=Kh)}GA(f,y);var _;f=null;for(ge in C)if(!y.hasOwnProperty(ge)&&C.hasOwnProperty(ge)&&C[ge]!=null)if(ge==="style"){var z=C[ge];for(_ in z)z.hasOwnProperty(_)&&(f||(f={}),f[_]="")}else ge!=="dangerouslySetInnerHTML"&&ge!=="children"&&ge!=="suppressContentEditableWarning"&&ge!=="suppressHydrationWarning"&&ge!=="autoFocus"&&(s.hasOwnProperty(ge)?j||(j=[]):(j=j||[]).push(ge,null));for(ge in y){var te=y[ge];if(z=C!=null?C[ge]:void 0,y.hasOwnProperty(ge)&&te!==z&&(te!=null||z!=null))if(ge==="style")if(z){for(_ in z)!z.hasOwnProperty(_)||te&&te.hasOwnProperty(_)||(f||(f={}),f[_]="");for(_ in te)te.hasOwnProperty(_)&&z[_]!==te[_]&&(f||(f={}),f[_]=te[_])}else f||(j||(j=[]),j.push(ge,f)),f=te;else ge==="dangerouslySetInnerHTML"?(te=te?te.__html:void 0,z=z?z.__html:void 0,te!=null&&z!==te&&(j=j||[]).push(ge,te)):ge==="children"?typeof te!="string"&&typeof te!="number"||(j=j||[]).push(ge,""+te):ge!=="suppressContentEditableWarning"&&ge!=="suppressHydrationWarning"&&(s.hasOwnProperty(ge)?(te!=null&&ge==="onScroll"&&Kt("scroll",l),j||z===te||(j=[])):(j=j||[]).push(ge,te))}f&&(j=j||[]).push("style",f);var ge=j;(A.updateQueue=ge)&&(A.flags|=4)}},bC=function(l,A,f,y){f!==y&&(A.flags|=4)};function Cd(l,A){if(!Jt)switch(l.tailMode){case"hidden":A=l.tail;for(var f=null;A!==null;)A.alternate!==null&&(f=A),A=A.sibling;f===null?l.tail=null:f.sibling=null;break;case"collapsed":f=l.tail;for(var y=null;f!==null;)f.alternate!==null&&(y=f),f=f.sibling;y===null?A||l.tail===null?l.tail=null:l.tail.sibling=null:y.sibling=null}}function An(l){var A=l.alternate!==null&&l.alternate.child===l.child,f=0,y=0;if(A)for(var C=l.child;C!==null;)f|=C.lanes|C.childLanes,y|=C.subtreeFlags&14680064,y|=C.flags&14680064,C.return=l,C=C.sibling;else for(C=l.child;C!==null;)f|=C.lanes|C.childLanes,y|=C.subtreeFlags,y|=C.flags,C.return=l,C=C.sibling;return l.subtreeFlags|=y,l.childLanes=f,A}function E6(l,A,f){var y=A.pendingProps;switch(mg(A),A.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return An(A),null;case 1:return Dn(A.type)&&Wh(),An(A),null;case 3:return y=A.stateNode,wc(),Gt(_n),Gt(ln),Sg(),y.pendingContext&&(y.context=y.pendingContext,y.pendingContext=null),(l===null||l.child===null)&&(Yh(A)?A.flags|=4:l===null||l.memoizedState.isDehydrated&&(A.flags&256)===0||(A.flags|=1024,Ma!==null&&(ax(Ma),Ma=null))),zg(l,A),An(A),null;case 5:Fg(A);var C=Xo(xd.current);if(f=A.type,l!==null&&A.stateNode!=null)yC(l,A,f,y,C),l.ref!==A.ref&&(A.flags|=512,A.flags|=2097152);else{if(!y){if(A.stateNode===null)throw Error(r(166));return An(A),null}if(l=Xo(As.current),Yh(A)){y=A.stateNode,f=A.type;var j=A.memoizedProps;switch(y[cs]=A,y[hd]=j,l=(A.mode&1)!==0,f){case"dialog":Kt("cancel",y),Kt("close",y);break;case"iframe":case"object":case"embed":Kt("load",y);break;case"video":case"audio":for(C=0;C<Ad.length;C++)Kt(Ad[C],y);break;case"source":Kt("error",y);break;case"img":case"image":case"link":Kt("error",y),Kt("load",y);break;case"details":Kt("toggle",y);break;case"input":cr(y,j),Kt("invalid",y);break;case"select":y._wrapperState={wasMultiple:!!j.multiple},Kt("invalid",y);break;case"textarea":Zl(y,j),Kt("invalid",y)}GA(f,j),C=null;for(var _ in j)if(j.hasOwnProperty(_)){var z=j[_];_==="children"?typeof z=="string"?y.textContent!==z&&(j.suppressHydrationWarning!==!0&&Vh(y.textContent,z,l),C=["children",z]):typeof z=="number"&&y.textContent!==""+z&&(j.suppressHydrationWarning!==!0&&Vh(y.textContent,z,l),C=["children",""+z]):s.hasOwnProperty(_)&&z!=null&&_==="onScroll"&&Kt("scroll",y)}switch(f){case"input":Fe(y),Kr(y,j,!0);break;case"textarea":Fe(y),Oo(y);break;case"select":case"option":break;default:typeof j.onClick=="function"&&(y.onclick=Kh)}y=C,A.updateQueue=y,y!==null&&(A.flags|=4)}else{_=C.nodeType===9?C:C.ownerDocument,l==="http://www.w3.org/1999/xhtml"&&(l=ec(f)),l==="http://www.w3.org/1999/xhtml"?f==="script"?(l=_.createElement("div"),l.innerHTML="<script><\/script>",l=l.removeChild(l.firstChild)):typeof y.is=="string"?l=_.createElement(f,{is:y.is}):(l=_.createElement(f),f==="select"&&(_=l,y.multiple?_.multiple=!0:y.size&&(_.size=y.size))):l=_.createElementNS(l,f),l[cs]=A,l[hd]=y,xC(l,A,!1,!1),A.stateNode=l;e:{switch(_=WA(f,y),f){case"dialog":Kt("cancel",l),Kt("close",l),C=y;break;case"iframe":case"object":case"embed":Kt("load",l),C=y;break;case"video":case"audio":for(C=0;C<Ad.length;C++)Kt(Ad[C],l);C=y;break;case"source":Kt("error",l),C=y;break;case"img":case"image":case"link":Kt("error",l),Kt("load",l),C=y;break;case"details":Kt("toggle",l),C=y;break;case"input":cr(l,y),C=et(l,y),Kt("invalid",l);break;case"option":C=y;break;case"select":l._wrapperState={wasMultiple:!!y.multiple},C=ae({},y,{value:void 0}),Kt("invalid",l);break;case"textarea":Zl(l,y),C=Xl(l,y),Kt("invalid",l);break;default:C=y}GA(f,C),z=C;for(j in z)if(z.hasOwnProperty(j)){var te=z[j];j==="style"?KA(l,te):j==="dangerouslySetInnerHTML"?(te=te?te.__html:void 0,te!=null&&yh(l,te)):j==="children"?typeof te=="string"?(f!=="textarea"||te!=="")&&xi(l,te):typeof te=="number"&&xi(l,""+te):j!=="suppressContentEditableWarning"&&j!=="suppressHydrationWarning"&&j!=="autoFocus"&&(s.hasOwnProperty(j)?te!=null&&j==="onScroll"&&Kt("scroll",l):te!=null&&F(l,j,te,_))}switch(f){case"input":Fe(l),Kr(l,y,!1);break;case"textarea":Fe(l),Oo(l);break;case"option":y.value!=null&&l.setAttribute("value",""+ye(y.value));break;case"select":l.multiple=!!y.multiple,j=y.value,j!=null?$n(l,!!y.multiple,j,!1):y.defaultValue!=null&&$n(l,!!y.multiple,y.defaultValue,!0);break;default:typeof C.onClick=="function"&&(l.onclick=Kh)}switch(f){case"button":case"input":case"select":case"textarea":y=!!y.autoFocus;break e;case"img":y=!0;break e;default:y=!1}}y&&(A.flags|=4)}A.ref!==null&&(A.flags|=512,A.flags|=2097152)}return An(A),null;case 6:if(l&&A.stateNode!=null)bC(l,A,l.memoizedProps,y);else{if(typeof y!="string"&&A.stateNode===null)throw Error(r(166));if(f=Xo(xd.current),Xo(As.current),Yh(A)){if(y=A.stateNode,f=A.memoizedProps,y[cs]=A,(j=y.nodeValue!==f)&&(l=Zn,l!==null))switch(l.tag){case 3:Vh(y.nodeValue,f,(l.mode&1)!==0);break;case 5:l.memoizedProps.suppressHydrationWarning!==!0&&Vh(y.nodeValue,f,(l.mode&1)!==0)}j&&(A.flags|=4)}else y=(f.nodeType===9?f:f.ownerDocument).createTextNode(y),y[cs]=A,A.stateNode=y}return An(A),null;case 13:if(Gt(Yt),y=A.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(Jt&&ea!==null&&(A.mode&1)!==0&&(A.flags&128)===0)C2(),gc(),A.flags|=98560,j=!1;else if(j=Yh(A),y!==null&&y.dehydrated!==null){if(l===null){if(!j)throw Error(r(318));if(j=A.memoizedState,j=j!==null?j.dehydrated:null,!j)throw Error(r(317));j[cs]=A}else gc(),(A.flags&128)===0&&(A.memoizedState=null),A.flags|=4;An(A),j=!1}else Ma!==null&&(ax(Ma),Ma=null),j=!0;if(!j)return A.flags&65536?A:null}return(A.flags&128)!==0?(A.lanes=f,A):(y=y!==null,y!==(l!==null&&l.memoizedState!==null)&&y&&(A.child.flags|=8192,(A.mode&1)!==0&&(l===null||(Yt.current&1)!==0?Sr===0&&(Sr=3):ox())),A.updateQueue!==null&&(A.flags|=4),An(A),null);case 4:return wc(),zg(l,A),l===null&&dd(A.stateNode.containerInfo),An(A),null;case 10:return wg(A.type._context),An(A),null;case 17:return Dn(A.type)&&Wh(),An(A),null;case 19:if(Gt(Yt),j=A.memoizedState,j===null)return An(A),null;if(y=(A.flags&128)!==0,_=j.rendering,_===null)if(y)Cd(j,!1);else{if(Sr!==0||l!==null&&(l.flags&128)!==0)for(l=A.child;l!==null;){if(_=nf(l),_!==null){for(A.flags|=128,Cd(j,!1),y=_.updateQueue,y!==null&&(A.updateQueue=y,A.flags|=4),A.subtreeFlags=0,y=f,f=A.child;f!==null;)j=f,l=y,j.flags&=14680066,_=j.alternate,_===null?(j.childLanes=0,j.lanes=l,j.child=null,j.subtreeFlags=0,j.memoizedProps=null,j.memoizedState=null,j.updateQueue=null,j.dependencies=null,j.stateNode=null):(j.childLanes=_.childLanes,j.lanes=_.lanes,j.child=_.child,j.subtreeFlags=0,j.deletions=null,j.memoizedProps=_.memoizedProps,j.memoizedState=_.memoizedState,j.updateQueue=_.updateQueue,j.type=_.type,l=_.dependencies,j.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),f=f.sibling;return Ht(Yt,Yt.current&1|2),A.child}l=l.sibling}j.tail!==null&&ke()>Nc&&(A.flags|=128,y=!0,Cd(j,!1),A.lanes=4194304)}else{if(!y)if(l=nf(_),l!==null){if(A.flags|=128,y=!0,f=l.updateQueue,f!==null&&(A.updateQueue=f,A.flags|=4),Cd(j,!0),j.tail===null&&j.tailMode==="hidden"&&!_.alternate&&!Jt)return An(A),null}else 2*ke()-j.renderingStartTime>Nc&&f!==1073741824&&(A.flags|=128,y=!0,Cd(j,!1),A.lanes=4194304);j.isBackwards?(_.sibling=A.child,A.child=_):(f=j.last,f!==null?f.sibling=_:A.child=_,j.last=_)}return j.tail!==null?(A=j.tail,j.rendering=A,j.tail=A.sibling,j.renderingStartTime=ke(),A.sibling=null,f=Yt.current,Ht(Yt,y?f&1|2:f&1),A):(An(A),null);case 22:case 23:return ix(),y=A.memoizedState!==null,l!==null&&l.memoizedState!==null!==y&&(A.flags|=8192),y&&(A.mode&1)!==0?(ta&1073741824)!==0&&(An(A),A.subtreeFlags&6&&(A.flags|=8192)):An(A),null;case 24:return null;case 25:return null}throw Error(r(156,A.tag))}function T6(l,A){switch(mg(A),A.tag){case 1:return Dn(A.type)&&Wh(),l=A.flags,l&65536?(A.flags=l&-65537|128,A):null;case 3:return wc(),Gt(_n),Gt(ln),Sg(),l=A.flags,(l&65536)!==0&&(l&128)===0?(A.flags=l&-65537|128,A):null;case 5:return Fg(A),null;case 13:if(Gt(Yt),l=A.memoizedState,l!==null&&l.dehydrated!==null){if(A.alternate===null)throw Error(r(340));gc()}return l=A.flags,l&65536?(A.flags=l&-65537|128,A):null;case 19:return Gt(Yt),null;case 4:return wc(),null;case 10:return wg(A.type._context),null;case 22:case 23:return ix(),null;case 24:return null;default:return null}}var hf=!1,dn=!1,k6=typeof WeakSet=="function"?WeakSet:Set,We=null;function Cc(l,A){var f=l.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(y){rr(l,A,y)}else f.current=null}function Jg(l,A,f){try{f()}catch(y){rr(l,A,y)}}var wC=!1;function _6(l,A){if(ig=_h,l=Zv(),X0(l)){if("selectionStart"in l)var f={start:l.selectionStart,end:l.selectionEnd};else e:{f=(f=l.ownerDocument)&&f.defaultView||window;var y=f.getSelection&&f.getSelection();if(y&&y.rangeCount!==0){f=y.anchorNode;var C=y.anchorOffset,j=y.focusNode;y=y.focusOffset;try{f.nodeType,j.nodeType}catch{f=null;break e}var _=0,z=-1,te=-1,ge=0,Se=0,Te=l,je=null;t:for(;;){for(var Ve;Te!==f||C!==0&&Te.nodeType!==3||(z=_+C),Te!==j||y!==0&&Te.nodeType!==3||(te=_+y),Te.nodeType===3&&(_+=Te.nodeValue.length),(Ve=Te.firstChild)!==null;)je=Te,Te=Ve;for(;;){if(Te===l)break t;if(je===f&&++ge===C&&(z=_),je===j&&++Se===y&&(te=_),(Ve=Te.nextSibling)!==null)break;Te=je,je=Te.parentNode}Te=Ve}f=z===-1||te===-1?null:{start:z,end:te}}else f=null}f=f||{start:0,end:0}}else f=null;for(og={focusedElem:l,selectionRange:f},_h=!1,We=A;We!==null;)if(A=We,l=A.child,(A.subtreeFlags&1028)!==0&&l!==null)l.return=A,We=l;else for(;We!==null;){A=We;try{var ze=A.alternate;if((A.flags&1024)!==0)switch(A.tag){case 0:case 11:case 15:break;case 1:if(ze!==null){var Ye=ze.memoizedProps,ur=ze.memoizedState,Ae=A.stateNode,se=Ae.getSnapshotBeforeUpdate(A.elementType===A.type?Ye:Qa(A.type,Ye),ur);Ae.__reactInternalSnapshotBeforeUpdate=se}break;case 3:var ue=A.stateNode.containerInfo;ue.nodeType===1?ue.textContent="":ue.nodeType===9&&ue.documentElement&&ue.removeChild(ue.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(De){rr(A,A.return,De)}if(l=A.sibling,l!==null){l.return=A.return,We=l;break}We=A.return}return ze=wC,wC=!1,ze}function Bd(l,A,f){var y=A.updateQueue;if(y=y!==null?y.lastEffect:null,y!==null){var C=y=y.next;do{if((C.tag&l)===l){var j=C.destroy;C.destroy=void 0,j!==void 0&&Jg(A,f,j)}C=C.next}while(C!==y)}}function ff(l,A){if(A=A.updateQueue,A=A!==null?A.lastEffect:null,A!==null){var f=A=A.next;do{if((f.tag&l)===l){var y=f.create;f.destroy=y()}f=f.next}while(f!==A)}}function qg(l){var A=l.ref;if(A!==null){var f=l.stateNode;switch(l.tag){case 5:l=f;break;default:l=f}typeof A=="function"?A(l):A.current=l}}function vC(l){var A=l.alternate;A!==null&&(l.alternate=null,vC(A)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(A=l.stateNode,A!==null&&(delete A[cs],delete A[hd],delete A[dg],delete A[f6],delete A[m6])),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}function CC(l){return l.tag===5||l.tag===3||l.tag===4}function BC(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||CC(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function $g(l,A,f){var y=l.tag;if(y===5||y===6)l=l.stateNode,A?f.nodeType===8?f.parentNode.insertBefore(l,A):f.insertBefore(l,A):(f.nodeType===8?(A=f.parentNode,A.insertBefore(l,f)):(A=f,A.appendChild(l)),f=f._reactRootContainer,f!=null||A.onclick!==null||(A.onclick=Kh));else if(y!==4&&(l=l.child,l!==null))for($g(l,A,f),l=l.sibling;l!==null;)$g(l,A,f),l=l.sibling}function Yg(l,A,f){var y=l.tag;if(y===5||y===6)l=l.stateNode,A?f.insertBefore(l,A):f.appendChild(l);else if(y!==4&&(l=l.child,l!==null))for(Yg(l,A,f),l=l.sibling;l!==null;)Yg(l,A,f),l=l.sibling}var Gr=null,Oa=!1;function Ii(l,A,f){for(f=f.child;f!==null;)NC(l,A,f),f=f.sibling}function NC(l,A,f){if(Ir&&typeof Ir.onCommitFiberUnmount=="function")try{Ir.onCommitFiberUnmount(ls,f)}catch{}switch(f.tag){case 5:dn||Cc(f,A);case 6:var y=Gr,C=Oa;Gr=null,Ii(l,A,f),Gr=y,Oa=C,Gr!==null&&(Oa?(l=Gr,f=f.stateNode,l.nodeType===8?l.parentNode.removeChild(f):l.removeChild(f)):Gr.removeChild(f.stateNode));break;case 18:Gr!==null&&(Oa?(l=Gr,f=f.stateNode,l.nodeType===8?Ag(l.parentNode,f):l.nodeType===1&&Ag(l,f),rd(l)):Ag(Gr,f.stateNode));break;case 4:y=Gr,C=Oa,Gr=f.stateNode.containerInfo,Oa=!0,Ii(l,A,f),Gr=y,Oa=C;break;case 0:case 11:case 14:case 15:if(!dn&&(y=f.updateQueue,y!==null&&(y=y.lastEffect,y!==null))){C=y=y.next;do{var j=C,_=j.destroy;j=j.tag,_!==void 0&&((j&2)!==0||(j&4)!==0)&&Jg(f,A,_),C=C.next}while(C!==y)}Ii(l,A,f);break;case 1:if(!dn&&(Cc(f,A),y=f.stateNode,typeof y.componentWillUnmount=="function"))try{y.props=f.memoizedProps,y.state=f.memoizedState,y.componentWillUnmount()}catch(z){rr(f,A,z)}Ii(l,A,f);break;case 21:Ii(l,A,f);break;case 22:f.mode&1?(dn=(y=dn)||f.memoizedState!==null,Ii(l,A,f),dn=y):Ii(l,A,f);break;default:Ii(l,A,f)}}function FC(l){var A=l.updateQueue;if(A!==null){l.updateQueue=null;var f=l.stateNode;f===null&&(f=l.stateNode=new k6),A.forEach(function(y){var C=O6.bind(null,l,y);f.has(y)||(f.add(y),y.then(C,C))})}}function Ha(l,A){var f=A.deletions;if(f!==null)for(var y=0;y<f.length;y++){var C=f[y];try{var j=l,_=A,z=_;e:for(;z!==null;){switch(z.tag){case 5:Gr=z.stateNode,Oa=!1;break e;case 3:Gr=z.stateNode.containerInfo,Oa=!0;break e;case 4:Gr=z.stateNode.containerInfo,Oa=!0;break e}z=z.return}if(Gr===null)throw Error(r(160));NC(j,_,C),Gr=null,Oa=!1;var te=C.alternate;te!==null&&(te.return=null),C.return=null}catch(ge){rr(C,A,ge)}}if(A.subtreeFlags&12854)for(A=A.child;A!==null;)jC(A,l),A=A.sibling}function jC(l,A){var f=l.alternate,y=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:if(Ha(A,l),us(l),y&4){try{Bd(3,l,l.return),ff(3,l)}catch(Ye){rr(l,l.return,Ye)}try{Bd(5,l,l.return)}catch(Ye){rr(l,l.return,Ye)}}break;case 1:Ha(A,l),us(l),y&512&&f!==null&&Cc(f,f.return);break;case 5:if(Ha(A,l),us(l),y&512&&f!==null&&Cc(f,f.return),l.flags&32){var C=l.stateNode;try{xi(C,"")}catch(Ye){rr(l,l.return,Ye)}}if(y&4&&(C=l.stateNode,C!=null)){var j=l.memoizedProps,_=f!==null?f.memoizedProps:j,z=l.type,te=l.updateQueue;if(l.updateQueue=null,te!==null)try{z==="input"&&j.type==="radio"&&j.name!=null&&pt(C,j),WA(z,_);var ge=WA(z,j);for(_=0;_<te.length;_+=2){var Se=te[_],Te=te[_+1];Se==="style"?KA(C,Te):Se==="dangerouslySetInnerHTML"?yh(C,Te):Se==="children"?xi(C,Te):F(C,Se,Te,ge)}switch(z){case"input":Me(C,j);break;case"textarea":Yn(C,j);break;case"select":var je=C._wrapperState.wasMultiple;C._wrapperState.wasMultiple=!!j.multiple;var Ve=j.value;Ve!=null?$n(C,!!j.multiple,Ve,!1):je!==!!j.multiple&&(j.defaultValue!=null?$n(C,!!j.multiple,j.defaultValue,!0):$n(C,!!j.multiple,j.multiple?[]:"",!1))}C[hd]=j}catch(Ye){rr(l,l.return,Ye)}}break;case 6:if(Ha(A,l),us(l),y&4){if(l.stateNode===null)throw Error(r(162));C=l.stateNode,j=l.memoizedProps;try{C.nodeValue=j}catch(Ye){rr(l,l.return,Ye)}}break;case 3:if(Ha(A,l),us(l),y&4&&f!==null&&f.memoizedState.isDehydrated)try{rd(A.containerInfo)}catch(Ye){rr(l,l.return,Ye)}break;case 4:Ha(A,l),us(l);break;case 13:Ha(A,l),us(l),C=l.child,C.flags&8192&&(j=C.memoizedState!==null,C.stateNode.isHidden=j,!j||C.alternate!==null&&C.alternate.memoizedState!==null||(ex=ke())),y&4&&FC(l);break;case 22:if(Se=f!==null&&f.memoizedState!==null,l.mode&1?(dn=(ge=dn)||Se,Ha(A,l),dn=ge):Ha(A,l),us(l),y&8192){if(ge=l.memoizedState!==null,(l.stateNode.isHidden=ge)&&!Se&&(l.mode&1)!==0)for(We=l,Se=l.child;Se!==null;){for(Te=We=Se;We!==null;){switch(je=We,Ve=je.child,je.tag){case 0:case 11:case 14:case 15:Bd(4,je,je.return);break;case 1:Cc(je,je.return);var ze=je.stateNode;if(typeof ze.componentWillUnmount=="function"){y=je,f=je.return;try{A=y,ze.props=A.memoizedProps,ze.state=A.memoizedState,ze.componentWillUnmount()}catch(Ye){rr(y,f,Ye)}}break;case 5:Cc(je,je.return);break;case 22:if(je.memoizedState!==null){TC(Te);continue}}Ve!==null?(Ve.return=je,We=Ve):TC(Te)}Se=Se.sibling}e:for(Se=null,Te=l;;){if(Te.tag===5){if(Se===null){Se=Te;try{C=Te.stateNode,ge?(j=C.style,typeof j.setProperty=="function"?j.setProperty("display","none","important"):j.display="none"):(z=Te.stateNode,te=Te.memoizedProps.style,_=te!=null&&te.hasOwnProperty("display")?te.display:null,z.style.display=VA("display",_))}catch(Ye){rr(l,l.return,Ye)}}}else if(Te.tag===6){if(Se===null)try{Te.stateNode.nodeValue=ge?"":Te.memoizedProps}catch(Ye){rr(l,l.return,Ye)}}else if((Te.tag!==22&&Te.tag!==23||Te.memoizedState===null||Te===l)&&Te.child!==null){Te.child.return=Te,Te=Te.child;continue}if(Te===l)break e;for(;Te.sibling===null;){if(Te.return===null||Te.return===l)break e;Se===Te&&(Se=null),Te=Te.return}Se===Te&&(Se=null),Te.sibling.return=Te.return,Te=Te.sibling}}break;case 19:Ha(A,l),us(l),y&4&&FC(l);break;case 21:break;default:Ha(A,l),us(l)}}function us(l){var A=l.flags;if(A&2){try{e:{for(var f=l.return;f!==null;){if(CC(f)){var y=f;break e}f=f.return}throw Error(r(160))}switch(y.tag){case 5:var C=y.stateNode;y.flags&32&&(xi(C,""),y.flags&=-33);var j=BC(l);Yg(l,j,C);break;case 3:case 4:var _=y.stateNode.containerInfo,z=BC(l);$g(l,z,_);break;default:throw Error(r(161))}}catch(te){rr(l,l.return,te)}l.flags&=-3}A&4096&&(l.flags&=-4097)}function D6(l,A,f){We=l,SC(l)}function SC(l,A,f){for(var y=(l.mode&1)!==0;We!==null;){var C=We,j=C.child;if(C.tag===22&&y){var _=C.memoizedState!==null||hf;if(!_){var z=C.alternate,te=z!==null&&z.memoizedState!==null||dn;z=hf;var ge=dn;if(hf=_,(dn=te)&&!ge)for(We=C;We!==null;)_=We,te=_.child,_.tag===22&&_.memoizedState!==null?kC(C):te!==null?(te.return=_,We=te):kC(C);for(;j!==null;)We=j,SC(j),j=j.sibling;We=C,hf=z,dn=ge}EC(l)}else(C.subtreeFlags&8772)!==0&&j!==null?(j.return=C,We=j):EC(l)}}function EC(l){for(;We!==null;){var A=We;if((A.flags&8772)!==0){var f=A.alternate;try{if((A.flags&8772)!==0)switch(A.tag){case 0:case 11:case 15:dn||ff(5,A);break;case 1:var y=A.stateNode;if(A.flags&4&&!dn)if(f===null)y.componentDidMount();else{var C=A.elementType===A.type?f.memoizedProps:Qa(A.type,f.memoizedProps);y.componentDidUpdate(C,f.memoizedState,y.__reactInternalSnapshotBeforeUpdate)}var j=A.updateQueue;j!==null&&T2(A,j,y);break;case 3:var _=A.updateQueue;if(_!==null){if(f=null,A.child!==null)switch(A.child.tag){case 5:f=A.child.stateNode;break;case 1:f=A.child.stateNode}T2(A,_,f)}break;case 5:var z=A.stateNode;if(f===null&&A.flags&4){f=z;var te=A.memoizedProps;switch(A.type){case"button":case"input":case"select":case"textarea":te.autoFocus&&f.focus();break;case"img":te.src&&(f.src=te.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(A.memoizedState===null){var ge=A.alternate;if(ge!==null){var Se=ge.memoizedState;if(Se!==null){var Te=Se.dehydrated;Te!==null&&rd(Te)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}dn||A.flags&512&&qg(A)}catch(je){rr(A,A.return,je)}}if(A===l){We=null;break}if(f=A.sibling,f!==null){f.return=A.return,We=f;break}We=A.return}}function TC(l){for(;We!==null;){var A=We;if(A===l){We=null;break}var f=A.sibling;if(f!==null){f.return=A.return,We=f;break}We=A.return}}function kC(l){for(;We!==null;){var A=We;try{switch(A.tag){case 0:case 11:case 15:var f=A.return;try{ff(4,A)}catch(te){rr(A,f,te)}break;case 1:var y=A.stateNode;if(typeof y.componentDidMount=="function"){var C=A.return;try{y.componentDidMount()}catch(te){rr(A,C,te)}}var j=A.return;try{qg(A)}catch(te){rr(A,j,te)}break;case 5:var _=A.return;try{qg(A)}catch(te){rr(A,_,te)}}}catch(te){rr(A,A.return,te)}if(A===l){We=null;break}var z=A.sibling;if(z!==null){z.return=A.return,We=z;break}We=A.return}}var U6=Math.ceil,mf=S.ReactCurrentDispatcher,Xg=S.ReactCurrentOwner,ya=S.ReactCurrentBatchConfig,gt=0,Pr=null,yr=null,Wr=0,ta=0,Bc=Ti(0),Sr=0,Nd=null,el=0,pf=0,Zg=0,Fd=null,In=null,ex=0,Nc=1/0,Vs=null,gf=!1,tx=null,Li=null,xf=!1,Pi=null,yf=0,jd=0,rx=null,bf=-1,wf=0;function wn(){return(gt&6)!==0?ke():bf!==-1?bf:bf=ke()}function Ri(l){return(l.mode&1)===0?1:(gt&2)!==0&&Wr!==0?Wr&-Wr:g6.transition!==null?(wf===0&&(wf=Bv()),wf):(l=Ft,l!==0||(l=window.event,l=l===void 0?16:Dv(l.type)),l)}function Va(l,A,f,y){if(50<jd)throw jd=0,rx=null,Error(r(185));YA(l,f,y),((gt&2)===0||l!==Pr)&&(l===Pr&&((gt&2)===0&&(pf|=f),Sr===4&&Mi(l,Wr)),Ln(l,y),f===1&>===0&&(A.mode&1)===0&&(Nc=ke()+500,Jh&&_i()))}function Ln(l,A){var f=l.callbackNode;gD(l,A);var y=Eh(l,l===Pr?Wr:0);if(y===0)f!==null&&Re(f),l.callbackNode=null,l.callbackPriority=0;else if(A=y&-y,l.callbackPriority!==A){if(f!=null&&Re(f),A===1)l.tag===0?p6(DC.bind(null,l)):x2(DC.bind(null,l)),u6(function(){(gt&6)===0&&_i()}),f=null;else{switch(Nv(y)){case 1:f=Lt;break;case 4:f=Ot;break;case 16:f=Ar;break;case 536870912:f=vi;break;default:f=Ar}f=OC(f,_C.bind(null,l))}l.callbackPriority=A,l.callbackNode=f}}function _C(l,A){if(bf=-1,wf=0,(gt&6)!==0)throw Error(r(327));var f=l.callbackNode;if(Fc()&&l.callbackNode!==f)return null;var y=Eh(l,l===Pr?Wr:0);if(y===0)return null;if((y&30)!==0||(y&l.expiredLanes)!==0||A)A=vf(l,y);else{A=y;var C=gt;gt|=2;var j=IC();(Pr!==l||Wr!==A)&&(Vs=null,Nc=ke()+500,rl(l,A));do try{P6();break}catch(z){UC(l,z)}while(!0);bg(),mf.current=j,gt=C,yr!==null?A=0:(Pr=null,Wr=0,A=Sr)}if(A!==0){if(A===2&&(C=L0(l),C!==0&&(y=C,A=nx(l,C))),A===1)throw f=Nd,rl(l,0),Mi(l,y),Ln(l,ke()),f;if(A===6)Mi(l,y);else{if(C=l.current.alternate,(y&30)===0&&!I6(C)&&(A=vf(l,y),A===2&&(j=L0(l),j!==0&&(y=j,A=nx(l,j))),A===1))throw f=Nd,rl(l,0),Mi(l,y),Ln(l,ke()),f;switch(l.finishedWork=C,l.finishedLanes=y,A){case 0:case 1:throw Error(r(345));case 2:nl(l,In,Vs);break;case 3:if(Mi(l,y),(y&130023424)===y&&(A=ex+500-ke(),10<A)){if(Eh(l,0)!==0)break;if(C=l.suspendedLanes,(C&y)!==y){wn(),l.pingedLanes|=l.suspendedLanes&C;break}l.timeoutHandle=cg(nl.bind(null,l,In,Vs),A);break}nl(l,In,Vs);break;case 4:if(Mi(l,y),(y&4194240)===y)break;for(A=l.eventTimes,C=-1;0<y;){var _=31-dr(y);j=1<<_,_=A[_],_>C&&(C=_),y&=~j}if(y=C,y=ke()-y,y=(120>y?120:480>y?480:1080>y?1080:1920>y?1920:3e3>y?3e3:4320>y?4320:1960*U6(y/1960))-y,10<y){l.timeoutHandle=cg(nl.bind(null,l,In,Vs),y);break}nl(l,In,Vs);break;case 5:nl(l,In,Vs);break;default:throw Error(r(329))}}}return Ln(l,ke()),l.callbackNode===f?_C.bind(null,l):null}function nx(l,A){var f=Fd;return l.current.memoizedState.isDehydrated&&(rl(l,A).flags|=256),l=vf(l,A),l!==2&&(A=In,In=f,A!==null&&ax(A)),l}function ax(l){In===null?In=l:In.push.apply(In,l)}function I6(l){for(var A=l;;){if(A.flags&16384){var f=A.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var y=0;y<f.length;y++){var C=f[y],j=C.getSnapshot;C=C.value;try{if(!Ra(j(),C))return!1}catch{return!1}}}if(f=A.child,A.subtreeFlags&16384&&f!==null)f.return=A,A=f;else{if(A===l)break;for(;A.sibling===null;){if(A.return===null||A.return===l)return!0;A=A.return}A.sibling.return=A.return,A=A.sibling}}return!0}function Mi(l,A){for(A&=~Zg,A&=~pf,l.suspendedLanes|=A,l.pingedLanes&=~A,l=l.expirationTimes;0<A;){var f=31-dr(A),y=1<<f;l[f]=-1,A&=~y}}function DC(l){if((gt&6)!==0)throw Error(r(327));Fc();var A=Eh(l,0);if((A&1)===0)return Ln(l,ke()),null;var f=vf(l,A);if(l.tag!==0&&f===2){var y=L0(l);y!==0&&(A=y,f=nx(l,y))}
vendor: 9,530 bytes, line 40
40if(f===1)throw f=Nd,rl(l,0),Mi(l,A),Ln(l,ke()),f;if(f===6)throw Error(r(345));return l.finishedWork=l.current.alternate,l.finishedLanes=A,nl(l,In,Vs),Ln(l,ke()),null}function sx(l,A){var f=gt;gt|=1;try{return l(A)}finally{gt=f,gt===0&&(Nc=ke()+500,Jh&&_i())}}function tl(l){Pi!==null&&Pi.tag===0&&(gt&6)===0&&Fc();var A=gt;gt|=1;var f=ya.transition,y=Ft;try{if(ya.transition=null,Ft=1,l)return l()}finally{Ft=y,ya.transition=f,gt=A,(gt&6)===0&&_i()}}function ix(){ta=Bc.current,Gt(Bc)}function rl(l,A){l.finishedWork=null,l.finishedLanes=0;var f=l.timeoutHandle;if(f!==-1&&(l.timeoutHandle=-1,d6(f)),yr!==null)for(f=yr.return;f!==null;){var y=f;switch(mg(y),y.tag){case 1:y=y.type.childContextTypes,y!=null&&Wh();break;case 3:wc(),Gt(_n),Gt(ln),Sg();break;case 5:Fg(y);break;case 4:wc();break;case 13:Gt(Yt);break;case 19:Gt(Yt);break;case 10:wg(y.type._context);break;case 22:case 23:ix()}f=f.return}if(Pr=l,yr=l=Qi(l.current,null),Wr=ta=A,Sr=0,Nd=null,Zg=pf=el=0,In=Fd=null,Yo!==null){for(A=0;A<Yo.length;A++)if(f=Yo[A],y=f.interleaved,y!==null){f.interleaved=null;var C=y.next,j=f.pending;if(j!==null){var _=j.next;j.next=C,y.next=_}f.pending=y}Yo=null}return l}function UC(l,A){do{var f=yr;try{if(bg(),af.current=cf,sf){for(var y=Xt.memoizedState;y!==null;){var C=y.queue;C!==null&&(C.pending=null),y=y.next}sf=!1}if(Zo=0,Lr=jr=Xt=null,yd=!1,bd=0,Xg.current=null,f===null||f.return===null){Sr=1,Nd=A,yr=null;break}e:{var j=l,_=f.return,z=f,te=A;if(A=Wr,z.flags|=32768,te!==null&&typeof te=="object"&&typeof te.then=="function"){var ge=te,Se=z,Te=Se.tag;if((Se.mode&1)===0&&(Te===0||Te===11||Te===15)){var je=Se.alternate;je?(Se.updateQueue=je.updateQueue,Se.memoizedState=je.memoizedState,Se.lanes=je.lanes):(Se.updateQueue=null,Se.memoizedState=null)}var Ve=sC(_);if(Ve!==null){Ve.flags&=-257,iC(Ve,_,z,j,A),Ve.mode&1&&aC(j,ge,A),A=Ve,te=ge;var ze=A.updateQueue;if(ze===null){var Ye=new Set;Ye.add(te),A.updateQueue=Ye}else ze.add(te);break e}else{if((A&1)===0){aC(j,ge,A),ox();break e}te=Error(r(426))}}else if(Jt&&z.mode&1){var ur=sC(_);if(ur!==null){(ur.flags&65536)===0&&(ur.flags|=256),iC(ur,_,z,j,A),xg(vc(te,z));break e}}j=te=vc(te,z),Sr!==4&&(Sr=2),Fd===null?Fd=[j]:Fd.push(j),j=_;do{switch(j.tag){case 3:j.flags|=65536,A&=-A,j.lanes|=A;var Ae=rC(j,te,A);E2(j,Ae);break e;case 1:z=te;var se=j.type,ue=j.stateNode;if((j.flags&128)===0&&(typeof se.getDerivedStateFromError=="function"||ue!==null&&typeof ue.componentDidCatch=="function"&&(Li===null||!Li.has(ue)))){j.flags|=65536,A&=-A,j.lanes|=A;var De=nC(j,z,A);E2(j,De);break e}}j=j.return}while(j!==null)}PC(f)}catch(Xe){A=Xe,yr===f&&f!==null&&(yr=f=f.return);continue}break}while(!0)}function IC(){var l=mf.current;return mf.current=cf,l===null?cf:l}function ox(){(Sr===0||Sr===3||Sr===2)&&(Sr=4),Pr===null||(el&268435455)===0&&(pf&268435455)===0||Mi(Pr,Wr)}function vf(l,A){var f=gt;gt|=2;var y=IC();(Pr!==l||Wr!==A)&&(Vs=null,rl(l,A));do try{L6();break}catch(C){UC(l,C)}while(!0);if(bg(),gt=f,mf.current=y,yr!==null)throw Error(r(261));return Pr=null,Wr=0,Sr}function L6(){for(;yr!==null;)LC(yr)}function P6(){for(;yr!==null&&!Ke();)LC(yr)}function LC(l){var A=QC(l.alternate,l,ta);l.memoizedProps=l.pendingProps,A===null?PC(l):yr=A,Xg.current=null}function PC(l){var A=l;do{var f=A.alternate;if(l=A.return,(A.flags&32768)===0){if(f=E6(f,A,ta),f!==null){yr=f;return}}else{if(f=T6(f,A),f!==null){f.flags&=32767,yr=f;return}if(l!==null)l.flags|=32768,l.subtreeFlags=0,l.deletions=null;else{Sr=6,yr=null;return}}if(A=A.sibling,A!==null){yr=A;return}yr=A=l}while(A!==null);Sr===0&&(Sr=5)}function nl(l,A,f){var y=Ft,C=ya.transition;try{ya.transition=null,Ft=1,R6(l,A,f,y)}finally{ya.transition=C,Ft=y}return null}function R6(l,A,f,y){do Fc();while(Pi!==null);if((gt&6)!==0)throw Error(r(327));f=l.finishedWork;var C=l.finishedLanes;if(f===null)return null;if(l.finishedWork=null,l.finishedLanes=0,f===l.current)throw Error(r(177));l.callbackNode=null,l.callbackPriority=0;var j=f.lanes|f.childLanes;if(xD(l,j),l===Pr&&(yr=Pr=null,Wr=0),(f.subtreeFlags&2064)===0&&(f.flags&2064)===0||xf||(xf=!0,OC(Ar,function(){return Fc(),null})),j=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||j){j=ya.transition,ya.transition=null;var _=Ft;Ft=1;var z=gt;gt|=4,Xg.current=null,_6(l,f),jC(f,l),a6(og),_h=!!ig,og=ig=null,l.current=f,D6(f),_e(),gt=z,Ft=_,ya.transition=j}else l.current=f;if(xf&&(xf=!1,Pi=l,yf=C),j=l.pendingLanes,j===0&&(Li=null),qA(f.stateNode),Ln(l,ke()),A!==null)for(y=l.onRecoverableError,f=0;f<A.length;f++)C=A[f],y(C.value,{componentStack:C.stack,digest:C.digest});if(gf)throw gf=!1,l=tx,tx=null,l;return(yf&1)!==0&&l.tag!==0&&Fc(),j=l.pendingLanes,(j&1)!==0?l===rx?jd++:(jd=0,rx=l):jd=0,_i(),null}function Fc(){if(Pi!==null){var l=Nv(yf),A=ya.transition,f=Ft;try{if(ya.transition=null,Ft=16>l?16:l,Pi===null)var y=!1;else{if(l=Pi,Pi=null,yf=0,(gt&6)!==0)throw Error(r(331));var C=gt;for(gt|=4,We=l.current;We!==null;){var j=We,_=j.child;if((We.flags&16)!==0){var z=j.deletions;if(z!==null){for(var te=0;te<z.length;te++){var ge=z[te];for(We=ge;We!==null;){var Se=We;switch(Se.tag){case 0:case 11:case 15:Bd(8,Se,j)}var Te=Se.child;if(Te!==null)Te.return=Se,We=Te;else for(;We!==null;){Se=We;var je=Se.sibling,Ve=Se.return;if(vC(Se),Se===ge){We=null;break}if(je!==null){je.return=Ve,We=je;break}We=Ve}}}var ze=j.alternate;if(ze!==null){var Ye=ze.child;if(Ye!==null){ze.child=null;do{var ur=Ye.sibling;Ye.sibling=null,Ye=ur}while(Ye!==null)}}We=j}}if((j.subtreeFlags&2064)!==0&&_!==null)_.return=j,We=_;else e:for(;We!==null;){if(j=We,(j.flags&2048)!==0)switch(j.tag){case 0:case 11:case 15:Bd(9,j,j.return)}var Ae=j.sibling;if(Ae!==null){Ae.return=j.return,We=Ae;break e}We=j.return}}var se=l.current;for(We=se;We!==null;){_=We;var ue=_.child;if((_.subtreeFlags&2064)!==0&&ue!==null)ue.return=_,We=ue;else e:for(_=se;We!==null;){if(z=We,(z.flags&2048)!==0)try{switch(z.tag){case 0:case 11:case 15:ff(9,z)}}catch(Xe){rr(z,z.return,Xe)}if(z===_){We=null;break e}var De=z.sibling;if(De!==null){De.return=z.return,We=De;break e}We=z.return}}if(gt=C,_i(),Ir&&typeof Ir.onPostCommitFiberRoot=="function")try{Ir.onPostCommitFiberRoot(ls,l)}catch{}y=!0}return y}finally{Ft=f,ya.transition=A}}return!1}function RC(l,A,f){A=vc(f,A),A=rC(l,A,1),l=Ui(l,A,1),A=wn(),l!==null&&(YA(l,1,A),Ln(l,A))}function rr(l,A,f){if(l.tag===3)RC(l,l,f);else for(;A!==null;){if(A.tag===3){RC(A,l,f);break}else if(A.tag===1){var y=A.stateNode;if(typeof A.type.getDerivedStateFromError=="function"||typeof y.componentDidCatch=="function"&&(Li===null||!Li.has(y))){l=vc(f,l),l=nC(A,l,1),A=Ui(A,l,1),l=wn(),A!==null&&(YA(A,1,l),Ln(A,l));break}}A=A.return}}function M6(l,A,f){var y=l.pingCache;y!==null&&y.delete(A),A=wn(),l.pingedLanes|=l.suspendedLanes&f,Pr===l&&(Wr&f)===f&&(Sr===4||Sr===3&&(Wr&130023424)===Wr&&500>ke()-ex?rl(l,0):Zg|=f),Ln(l,A)}function MC(l,A){A===0&&((l.mode&1)===0?A=1:(A=Sh,Sh<<=1,(Sh&130023424)===0&&(Sh=4194304)));var f=wn();l=Qs(l,A),l!==null&&(YA(l,A,f),Ln(l,f))}function Q6(l){var A=l.memoizedState,f=0;A!==null&&(f=A.retryLane),MC(l,f)}function O6(l,A){var f=0;switch(l.tag){case 13:var y=l.stateNode,C=l.memoizedState;C!==null&&(f=C.retryLane);break;case 19:y=l.stateNode;break;default:throw Error(r(314))}y!==null&&y.delete(A),MC(l,f)}var QC;QC=function(l,A,f){if(l!==null)if(l.memoizedProps!==A.pendingProps||_n.current)Un=!0;else{if((l.lanes&f)===0&&(A.flags&128)===0)return Un=!1,S6(l,A,f);Un=(l.flags&131072)!==0}else Un=!1,Jt&&(A.flags&1048576)!==0&&y2(A,$h,A.index);switch(A.lanes=0,A.tag){case 2:var y=A.type;uf(l,A),l=A.pendingProps;var C=fc(A,ln.current);bc(A,f),C=kg(null,A,y,l,C,f);var j=_g();return A.flags|=1,typeof C=="object"&&C!==null&&typeof C.render=="function"&&C.$$typeof===void 0?(A.tag=1,A.memoizedState=null,A.updateQueue=null,Dn(y)?(j=!0,zh(A)):j=!1,A.memoizedState=C.state!==null&&C.state!==void 0?C.state:null,Bg(A),C.updater=Af,A.stateNode=C,C._reactInternals=A,Rg(A,y,l,f),A=Hg(null,A,y,!0,j,f)):(A.tag=0,Jt&&j&&fg(A),bn(null,A,C,f),A=A.child),A;case 16:y=A.elementType;e:{switch(uf(l,A),l=A.pendingProps,C=y._init,y=C(y._payload),A.type=y,C=A.tag=V6(y),l=Qa(y,l),C){case 0:A=Og(null,A,y,l,f);break e;case 1:A=uC(null,A,y,l,f);break e;case 11:A=oC(null,A,y,l,f);break e;case 14:A=lC(null,A,y,Qa(y.type,l),f);break e}throw Error(r(306,y,""))}return A;case 0:return y=A.type,C=A.pendingProps,C=A.elementType===y?C:Qa(y,C),Og(l,A,y,C,f);case 1:return y=A.type,C=A.pendingProps,C=A.elementType===y?C:Qa(y,C),uC(l,A,y,C,f);case 3:e:{if(hC(A),l===null)throw Error(r(387));y=A.pendingProps,j=A.memoizedState,C=j.element,S2(l,A),rf(A,y,null,f);var _=A.memoizedState;if(y=_.element,j.isDehydrated)if(j={element:y,isDehydrated:!1,cache:_.cache,pendingSuspenseBoundaries:_.pendingSuspenseBoundaries,transitions:_.transitions},A.updateQueue.baseState=j,A.memoizedState=j,A.flags&256){C=vc(Error(r(423)),A),A=fC(l,A,y,f,C);break e}else if(y!==C){C=vc(Error(r(424)),A),A=fC(l,A,y,f,C);break e}else for(ea=Ei(A.stateNode.containerInfo.firstChild),Zn=A,Jt=!0,Ma=null,f=F2(A,null,y,f),A.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(gc(),y===C){A=Hs(l,A,f);break e}bn(l,A,y,f)}A=A.child}return A;case 5:return k2(A),l===null&&gg(A),y=A.type,C=A.pendingProps,j=l!==null?l.memoizedProps:null,_=C.children,lg(y,C)?_=null:j!==null&&lg(y,j)&&(A.flags|=32),dC(l,A),bn(l,A,_,f),A.child;case 6:return l===null&&gg(A),null;case 13:return mC(l,A,f);case 4:return Ng(A,A.stateNode.containerInfo),y=A.pendingProps,l===null?A.child=xc(A,null,y,f):bn(l,A,y,f),A.child;case 11:return y=A.type,C=A.pendingProps,C=A.elementType===y?C:Qa(y,C),oC(l,A,y,C,f);
vendor: 9,334 bytes, line 40
40case 7:return bn(l,A,A.pendingProps,f),A.child;case 8:return bn(l,A,A.pendingProps.children,f),A.child;case 12:return bn(l,A,A.pendingProps.children,f),A.child;case 10:e:{if(y=A.type._context,C=A.pendingProps,j=A.memoizedProps,_=C.value,Ht(Zh,y._currentValue),y._currentValue=_,j!==null)if(Ra(j.value,_)){if(j.children===C.children&&!_n.current){A=Hs(l,A,f);break e}}else for(j=A.child,j!==null&&(j.return=A);j!==null;){var z=j.dependencies;if(z!==null){_=j.child;for(var te=z.firstContext;te!==null;){if(te.context===y){if(j.tag===1){te=Os(-1,f&-f),te.tag=2;var ge=j.updateQueue;if(ge!==null){ge=ge.shared;var Se=ge.pending;Se===null?te.next=te:(te.next=Se.next,Se.next=te),ge.pending=te}}j.lanes|=f,te=j.alternate,te!==null&&(te.lanes|=f),vg(j.return,f,A),z.lanes|=f;break}te=te.next}}else if(j.tag===10)_=j.type===A.type?null:j.child;else if(j.tag===18){if(_=j.return,_===null)throw Error(r(341));_.lanes|=f,z=_.alternate,z!==null&&(z.lanes|=f),vg(_,f,A),_=j.sibling}else _=j.child;if(_!==null)_.return=j;else for(_=j;_!==null;){if(_===A){_=null;break}if(j=_.sibling,j!==null){j.return=_.return,_=j;break}_=_.return}j=_}bn(l,A,C.children,f),A=A.child}return A;case 9:return C=A.type,y=A.pendingProps.children,bc(A,f),C=ga(C),y=y(C),A.flags|=1,bn(l,A,y,f),A.child;case 14:return y=A.type,C=Qa(y,A.pendingProps),C=Qa(y.type,C),lC(l,A,y,C,f);case 15:return cC(l,A,A.type,A.pendingProps,f);case 17:return y=A.type,C=A.pendingProps,C=A.elementType===y?C:Qa(y,C),uf(l,A),A.tag=1,Dn(y)?(l=!0,zh(A)):l=!1,bc(A,f),eC(A,y,C),Rg(A,y,C,f),Hg(null,A,y,!0,l,f);case 19:return gC(l,A,f);case 22:return AC(l,A,f)}throw Error(r(156,A.tag))};function OC(l,A){return Ee(l,A)}function H6(l,A,f,y){this.tag=l,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=A,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=y,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ba(l,A,f,y){return new H6(l,A,f,y)}function lx(l){return l=l.prototype,!(!l||!l.isReactComponent)}function V6(l){if(typeof l=="function")return lx(l)?1:0;if(l!=null){if(l=l.$$typeof,l===ie)return 11;if(l===we)return 14}return 2}function Qi(l,A){var f=l.alternate;return f===null?(f=ba(l.tag,A,l.key,l.mode),f.elementType=l.elementType,f.type=l.type,f.stateNode=l.stateNode,f.alternate=l,l.alternate=f):(f.pendingProps=A,f.type=l.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=l.flags&14680064,f.childLanes=l.childLanes,f.lanes=l.lanes,f.child=l.child,f.memoizedProps=l.memoizedProps,f.memoizedState=l.memoizedState,f.updateQueue=l.updateQueue,A=l.dependencies,f.dependencies=A===null?null:{lanes:A.lanes,firstContext:A.firstContext},f.sibling=l.sibling,f.index=l.index,f.ref=l.ref,f}function Cf(l,A,f,y,C,j){var _=2;if(y=l,typeof l=="function")lx(l)&&(_=1);else if(typeof l=="string")_=5;else e:switch(l){case T:return al(f.children,C,j,A);case k:_=8,C|=8;break;case I:return l=ba(12,f,A,C|2),l.elementType=I,l.lanes=j,l;case W:return l=ba(13,f,A,C),l.elementType=W,l.lanes=j,l;case ce:return l=ba(19,f,A,C),l.elementType=ce,l.lanes=j,l;case re:return Bf(f,C,j,A);default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case Y:_=10;break e;case ee:_=9;break e;case ie:_=11;break e;case we:_=14;break e;case ne:_=16,y=null;break e}throw Error(r(130,l==null?l:typeof l,""))}return A=ba(_,f,A,C),A.elementType=l,A.type=y,A.lanes=j,A}function al(l,A,f,y){return l=ba(7,l,y,A),l.lanes=f,l}function Bf(l,A,f,y){return l=ba(22,l,y,A),l.elementType=re,l.lanes=f,l.stateNode={isHidden:!1},l}function cx(l,A,f){return l=ba(6,l,null,A),l.lanes=f,l}function Ax(l,A,f){return A=ba(4,l.children!==null?l.children:[],l.key,A),A.lanes=f,A.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},A}function K6(l,A,f,y,C){this.tag=A,this.containerInfo=l,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=P0(0),this.expirationTimes=P0(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=P0(0),this.identifierPrefix=y,this.onRecoverableError=C,this.mutableSourceEagerHydrationData=null}function dx(l,A,f,y,C,j,_,z,te){return l=new K6(l,A,f,z,te),A===1?(A=1,j===!0&&(A|=8)):A=0,j=ba(3,null,null,A),l.current=j,j.stateNode=l,j.memoizedState={element:y,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bg(j),l}function G6(l,A,f){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:D,key:y==null?null:""+y,children:l,containerInfo:A,implementation:f}}function HC(l){if(!l)return ki;l=l._reactInternals;e:{if(K(l)!==l||l.tag!==1)throw Error(r(170));var A=l;do{switch(A.tag){case 3:A=A.stateNode.context;break e;case 1:if(Dn(A.type)){A=A.stateNode.__reactInternalMemoizedMergedChildContext;break e}}A=A.return}while(A!==null);throw Error(r(171))}if(l.tag===1){var f=l.type;if(Dn(f))return p2(l,f,A)}return A}function VC(l,A,f,y,C,j,_,z,te){return l=dx(f,y,!0,l,C,j,_,z,te),l.context=HC(null),f=l.current,y=wn(),C=Ri(f),j=Os(y,C),j.callback=A??null,Ui(f,j,C),l.current.lanes=C,YA(l,C,y),Ln(l,y),l}function Nf(l,A,f,y){var C=A.current,j=wn(),_=Ri(C);return f=HC(f),A.context===null?A.context=f:A.pendingContext=f,A=Os(j,_),A.payload={element:l},y=y===void 0?null:y,y!==null&&(A.callback=y),l=Ui(C,A,_),l!==null&&(Va(l,C,_,j),tf(l,C,_)),_}function Ff(l){if(l=l.current,!l.child)return null;switch(l.child.tag){case 5:return l.child.stateNode;default:return l.child.stateNode}}function KC(l,A){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var f=l.retryLane;l.retryLane=f!==0&&f<A?f:A}}function ux(l,A){KC(l,A),(l=l.alternate)&&KC(l,A)}function W6(){return null}var GC=typeof reportError=="function"?reportError:function(l){console.error(l)};function hx(l){this._internalRoot=l}jf.prototype.render=hx.prototype.render=function(l){var A=this._internalRoot;if(A===null)throw Error(r(409));Nf(l,A,null,null)},jf.prototype.unmount=hx.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var A=l.containerInfo;tl(function(){Nf(null,l,null,null)}),A[Ls]=null}};function jf(l){this._internalRoot=l}jf.prototype.unstable_scheduleHydration=function(l){if(l){var A=Sv();l={blockedOn:null,target:l,priority:A};for(var f=0;f<Fi.length&&A!==0&&A<Fi[f].priority;f++);Fi.splice(f,0,l),f===0&&kv(l)}};function fx(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function Sf(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11&&(l.nodeType!==8||l.nodeValue!==" react-mount-point-unstable "))}function WC(){}function z6(l,A,f,y,C){if(C){if(typeof y=="function"){var j=y;y=function(){var ge=Ff(_);j.call(ge)}}var _=VC(A,y,l,0,null,!1,!1,"",WC);return l._reactRootContainer=_,l[Ls]=_.current,dd(l.nodeType===8?l.parentNode:l),tl(),_}for(;C=l.lastChild;)l.removeChild(C);if(typeof y=="function"){var z=y;y=function(){var ge=Ff(te);z.call(ge)}}var te=dx(l,0,!1,null,null,!1,!1,"",WC);return l._reactRootContainer=te,l[Ls]=te.current,dd(l.nodeType===8?l.parentNode:l),tl(function(){Nf(A,te,f,y)}),te}function Ef(l,A,f,y,C){var j=f._reactRootContainer;if(j){var _=j;if(typeof C=="function"){var z=C;C=function(){var te=Ff(_);z.call(te)}}Nf(A,_,l,C)}else _=z6(f,A,l,C,y);return Ff(_)}Fv=function(l){switch(l.tag){case 3:var A=l.stateNode;if(A.current.memoizedState.isDehydrated){var f=$A(A.pendingLanes);f!==0&&(R0(A,f|1),Ln(A,ke()),(gt&6)===0&&(Nc=ke()+500,_i()))}break;case 13:tl(function(){var y=Qs(l,1);if(y!==null){var C=wn();Va(y,l,1,C)}}),ux(l,1)}},M0=function(l){if(l.tag===13){var A=Qs(l,134217728);if(A!==null){var f=wn();Va(A,l,134217728,f)}ux(l,134217728)}},jv=function(l){if(l.tag===13){var A=Ri(l),f=Qs(l,A);if(f!==null){var y=wn();Va(f,l,A,y)}ux(l,A)}},Sv=function(){return Ft},Ev=function(l,A){var f=Ft;try{return Ft=l,A()}finally{Ft=f}},nc=function(l,A,f){switch(A){case"input":if(Me(l,f),A=f.name,f.type==="radio"&&A!=null){for(f=l;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll("input[name="+JSON.stringify(""+A)+'][type="radio"]'),A=0;A<f.length;A++){var y=f[A];if(y!==l&&y.form===l.form){var C=Gh(y);if(!C)throw Error(r(90));Pe(y),Me(y,C)}}}break;case"textarea":Yn(l,f);break;case"select":A=f.value,A!=null&&$n(l,!!f.multiple,A,!1)}},Bh=sx,Nh=tl;var J6={usingClientEntryPoint:!1,Events:[fd,uc,Gh,vh,Ch,sx]},Sd={findFiberByHostInstance:zo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},q6={bundleType:Sd.bundleType,version:Sd.version,rendererPackageName:Sd.rendererPackageName,rendererConfig:Sd.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:S.ReactCurrentDispatcher,findHostInstanceByFiber:function(l){return l=me(l),l===null?null:l.stateNode},findFiberByHostInstance:Sd.findFiberByHostInstance||W6,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Tf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tf.isDisabled&&Tf.supportsFiber)try{ls=Tf.inject(q6),Ir=Tf}catch{}}return Pn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J6,Pn.createPortal=function(l,A){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!fx(A))throw Error(r(200));return G6(l,A,null,f)},Pn.createRoot=function(l,A){if(!fx(l))throw Error(r(299));var f=!1,y="",C=GC;return A!=null&&(A.unstable_strictMode===!0&&(f=!0),A.identifierPrefix!==void 0&&(y=A.identifierPrefix),A.onRecoverableError!==void 0&&(C=A.onRecoverableError)),A=dx(l,1,!1,null,null,f,!1,y,C),l[Ls]=A.current,dd(l.nodeType===8?l.parentNode:l),new hx(A)},Pn.findDOMNode=function(l){if(l==null)return null;if(l.nodeType===1)return l;var A=l._reactInternals;if(A===void 0)throw typeof l.render=="function"?Error(r(188)):(l=Object.keys(l).join(","),Error(r(268,l)));return l=me(A),l=l===null?null:l.stateNode,l},Pn.flushSync=function(l){return tl(l)},Pn.hydrate=function(l,A,f){if(!Sf(A))throw Error(r(200));return Ef(null,l,A,!0,f)},Pn.hydrateRoot=function(l,A,f){if(!fx(l))throw Error(r(405));var y=f!=null&&f.hydratedSources||null,C=!1,j="",_=GC;if(f!=null&&(f.unstable_strictMode===!0&&(C=!0),f.identifierPrefix!==void 0&&(j=f.identifierPrefix),f.onRecoverableError!==void 0&&(_=f.onRecoverableError)),A=VC(A,null,l,1,f??null,C,!1,j,_),l[Ls]=A.current,dd(l),y)for(l=0;l<y.length;l++)f=y[l],C=f._getVersion,C=C(f._source),A.mutableSourceEagerHydrationData==null?A.mutableSourceEagerHydrationData=[f,C]:A.mutableSourceEagerHydrationData.push(f,C);return new jf(A)},Pn.render=function(l,A,f){if(!Sf(A))throw Error(r(200));return Ef(null,l,A,!1,f)},Pn.unmountComponentAtNode=function(l){if(!Sf(l))throw Error(r(40));return l._reactRootContainer?(tl(function(){Ef(null,null,l,!1,function(){l._reactRootContainer=null,l[Ls]=null})}),!0):!1},Pn.unstable_batchedUpdates=sx,Pn.unstable_renderSubtreeIntoContainer=function(l,A,f,y){if(!Sf(f))throw Error(r(200));if(l==null||l._reactInternals===void 0)throw Error(r(38));return Ef(l,A,f,!1,y)},Pn.version="18.3.1-next-f1338f8080-20240426",Pn}var tB;function B3(){if(tB)return xx.exports;tB=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),xx.exports=nU(),xx.exports}var rB;function aU(){if(rB)return _f;rB=1;var e=B3();return _f.createRoot=e.createRoot,_f.hydrateRoot=e.hydrateRoot,_f}var sU=aU();const iU=Ew(sU),oU=20,lU=1e6,Xs={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let wx=0;function cU(){return wx=(wx+1)%Number.MAX_VALUE,wx.toString()}const vx=new Map,nB=e=>{if(vx.has(e))return;const t=setTimeout(()=>{vx.delete(e),su({type:Xs.REMOVE_TOAST,toastId:e})},lU);vx.set(e,t)},AU=(e,t)=>{switch(t.type){case Xs.ADD_TOAST:return{...e,toasts:[t.toast,...e.toasts].slice(0,oU)};case Xs.UPDATE_TOAST:return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case Xs.DISMISS_TOAST:{const{toastId:r}=t;return r?nB(r):e.toasts.forEach(n=>{nB(n.id)}),{...e,toasts:e.toasts.map(n=>
vendor: 16,384 bytes, lines 40-245
40n.id===r||r===void 0?{...n,open:!1}:n)}}case Xs.REMOVE_TOAST:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)}}},Tm=[];let km={toasts:[]};function su(e){km=AU(km,e),Tm.forEach(t=>{t(km)})}function dU({...e}){const t=cU(),r=s=>su({type:Xs.UPDATE_TOAST,toast:{...s,id:t}}),n=()=>su({type:Xs.DISMISS_TOAST,toastId:t});return su({type:Xs.ADD_TOAST,toast:{...e,id:t,open:!0,onOpenChange:s=>{s||n()}}}),{id:t,dismiss:n,update:r}}function uU(){const[e,t]=B.useState(km);return B.useEffect(()=>(Tm.push(t),()=>{const r=Tm.indexOf(t);r>-1&&Tm.splice(r,1)}),[e]),{...e,toast:dU,dismiss:r=>su({type:Xs.DISMISS_TOAST,toastId:r})}}function N3(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=N3(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function F3(){for(var e,t,r=0,n="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=N3(e))&&(n&&(n+=" "),n+=t);return n}const aB=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,sB=F3,j3=(e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return sB(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:s,defaultVariants:i}=t,o=Object.keys(s).map(u=>{const h=r==null?void 0:r[u],m=i==null?void 0:i[u];if(h===null)return null;const p=aB(h)||aB(m);return s[u][p]}),c=r&&Object.entries(r).reduce((u,h)=>{let[m,p]=h;return p===void 0||(u[m]=p),u},{}),d=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((u,h)=>{let{class:m,className:p,...x}=h;return Object.entries(x).every(w=>{let[g,b]=w;return Array.isArray(b)?b.includes({...i,...c}[g]):{...i,...c}[g]===b})?[...u,m,p]:u},[]);return sB(e,o,d,r==null?void 0:r.class,r==null?void 0:r.className)};/** 41 * @license lucide-react v0.475.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const hU=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),S3=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim();/** 46 * @license lucide-react v0.475.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var fU={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"};/** 51 * @license lucide-react v0.475.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const mU=B.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:s="",children:i,iconNode:o,...c},d)=>B.createElement("svg",{ref:d,...fU,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:S3("lucide",s),...c},[...o.map(([u,h])=>B.createElement(u,h)),...Array.isArray(i)?i:[i]]));/** 56 * @license lucide-react v0.475.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const Ue=(e,t)=>{const r=B.forwardRef(({className:n,...s},i)=>B.createElement(mU,{ref:i,iconNode:t,className:S3(`lucide-${hU(e)}`,n),...s}));return r.displayName=`${e}`,r};/** 61 * @license lucide-react v0.475.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const pU=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],rn=Ue("ArrowLeft",pU);/** 66 * @license lucide-react v0.475.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const gU=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],bt=Ue("ArrowRight",gU);/** 71 * @license lucide-react v0.475.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const xU=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],Kn=Ue("Award",xU);/** 76 * @license lucide-react v0.475.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const yU=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.9 4.9 14.2 14.2",key:"1m5liu"}]],$u=Ue("Ban",yU);/** 81 * @license lucide-react v0.475.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const bU=[["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"}]],wU=Ue("BookOpen",bU);/** 86 * @license lucide-react v0.475.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const vU=[["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"}]],Qt=Ue("Calendar",vU);/** 91 * @license lucide-react v0.475.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const CU=[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],Yu=Ue("Camera",CU);/** 96 * @license lucide-react v0.475.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const BU=[["line",{x1:"18",x2:"18",y1:"20",y2:"10",key:"1xfpm4"}],["line",{x1:"12",x2:"12",y1:"20",y2:"4",key:"be30l9"}],["line",{x1:"6",x2:"6",y1:"20",y2:"14",key:"1r4le6"}]],NU=Ue("ChartNoAxesColumn",BU);/** 101 * @license lucide-react v0.475.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const FU=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Fs=Ue("Check",FU);/** 106 * @license lucide-react v0.475.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const jU=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Ia=Ue("ChevronDown",jU);/** 111 * @license lucide-react v0.475.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const SU=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],E3=Ue("ChevronLeft",SU);/** 116 * @license lucide-react v0.475.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const EU=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],es=Ue("ChevronRight",EU);/** 121 * @license lucide-react v0.475.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const TU=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],T3=Ue("ChevronUp",TU);/** 126 * @license lucide-react v0.475.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const kU=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],kl=Ue("CircleAlert",kU);/** 131 * @license lucide-react v0.475.0 - ISC 132 * 133 * This source code is licensed under the ISC license. 134 * See the LICENSE file in the root directory of this source tree. 135 */const _U=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],an=Ue("CircleCheckBig",_U);/** 136 * @license lucide-react v0.475.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const DU=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],La=Ue("CircleCheck",DU);/** 141 * @license lucide-react v0.475.0 - ISC 142 * 143 * This source code is licensed under the ISC license. 144 * See the LICENSE file in the root directory of this source tree. 145 */const UU=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]],IU=Ue("CirclePlus",UU);/** 146 * @license lucide-react v0.475.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const LU=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]],iB=Ue("CircleUser",LU);/** 151 * @license lucide-react v0.475.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const PU=[["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"}]],bA=Ue("CircleX",PU);/** 156 * @license lucide-react v0.475.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree. 160 */const RU=[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]],k3=Ue("Clapperboard",RU);/** 161 * @license lucide-react v0.475.0 - ISC 162 * 163 * This source code is licensed under the ISC license. 164 * See the LICENSE file in the root directory of this source tree. 165 */const MU=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],wo=Ue("Clock",MU);/** 166 * @license lucide-react v0.475.0 - ISC 167 * 168 * This source code is licensed under the ISC license. 169 * See the LICENSE file in the root directory of this source tree. 170 */const QU=[["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"}]],_3=Ue("Copy",QU);/** 171 * @license lucide-react v0.475.0 - ISC 172 * 173 * This source code is licensed under the ISC license. 174 * See the LICENSE file in the root directory of this source tree. 175 */const OU=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],HU=Ue("CreditCard",OU);/** 176 * @license lucide-react v0.475.0 - ISC 177 * 178 * This source code is licensed under the ISC license. 179 * See the LICENSE file in the root directory of this source tree. 180 */const VU=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]],Xu=Ue("Download",VU);/** 181 * @license lucide-react v0.475.0 - ISC 182 * 183 * This source code is licensed under the ISC license. 184 * See the LICENSE file in the root directory of this source tree. 185 */const KU=[["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"}]],li=Ue("ExternalLink",KU);/** 186 * @license lucide-react v0.475.0 - ISC 187 * 188 * This source code is licensed under the ISC license. 189 * See the LICENSE file in the root directory of this source tree. 190 */const GU=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],D3=Ue("EyeOff",GU);/** 191 * @license lucide-react v0.475.0 - ISC 192 * 193 * This source code is licensed under the ISC license. 194 * See the LICENSE file in the root directory of this source tree. 195 */const WU=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],ko=Ue("Eye",WU);/** 196 * @license lucide-react v0.475.0 - ISC 197 * 198 * This source code is licensed under the ISC license. 199 * See the LICENSE file in the root directory of this source tree. 200 */const zU=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],kw=Ue("Facebook",zU);/** 201 * @license lucide-react v0.475.0 - ISC 202 * 203 * This source code is licensed under the ISC license. 204 * See the LICENSE file in the root directory of this source tree. 205 */const JU=[["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:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]],qU=Ue("FileSpreadsheet",JU);/** 206 * @license lucide-react v0.475.0 - ISC 207 * 208 * This source code is licensed under the ISC license. 209 * See the LICENSE file in the root directory of this source tree. 210 */const $U=[["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"}]],js=Ue("FileText",$U);/** 211 * @license lucide-react v0.475.0 - ISC 212 * 213 * This source code is licensed under the ISC license. 214 * See the LICENSE file in the root directory of this source tree. 215 */const YU=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]],Dr=Ue("Film",YU);/** 216 * @license lucide-react v0.475.0 - ISC 217 * 218 * This source code is licensed under the ISC license. 219 * See the LICENSE file in the root directory of this source tree. 220 */const XU=[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]],U3=Ue("Filter",XU);/** 221 * @license lucide-react v0.475.0 - ISC 222 * 223 * This source code is licensed under the ISC license. 224 * See the LICENSE file in the root directory of this source tree. 225 */const ZU=[["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"}]],Gn=Ue("Globe",ZU);/** 226 * @license lucide-react v0.475.0 - ISC 227 * 228 * This source code is licensed under the ISC license. 229 * See the LICENSE file in the root directory of this source tree. 230 */const eI=[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]],tI=Ue("ImagePlus",eI);/** 231 * @license lucide-react v0.475.0 - ISC 232 * 233 * This source code is licensed under the ISC license. 234 * See the LICENSE file in the root directory of this source tree. 235 */const rI=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],nI=Ue("Inbox",rI);/** 236 * @license lucide-react v0.475.0 - ISC 237 * 238 * This source code is licensed under the ISC license. 239 * See the LICENSE file in the root directory of this source tree. 240 */const aI=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],sI=Ue("Info",aI);/** 241 * @license lucide-react v0.475.0 - ISC 242 * 243 * This source code is licensed under the ISC license. 244 * See the LICENSE file in the root directory of this source tree. 245 */const iI=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16
24511.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"}]],Vp=Ue("Instagram",iI);/** 246 * @license lucide-react v0.475.0 - ISC 247 * 248 * This source code is licensed under the ISC license. 249 * See the LICENSE file in the root directory of this source tree. 250 */const oI=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],lI=Ue("LayoutGrid",oI);/** 251 * @license lucide-react v0.475.0 - ISC 252 * 253 * This source code is licensed under the ISC license. 254 * See the LICENSE file in the root directory of this source tree. 255 */const cI=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],AI=Ue("Link2",cI);/** 256 * @license lucide-react v0.475.0 - ISC 257 * 258 * This source code is licensed under the ISC license. 259 * See the LICENSE file in the root directory of this source tree. 260 */const dI=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],uI=Ue("Link",dI);/** 261 * @license lucide-react v0.475.0 - ISC 262 * 263 * This source code is licensed under the ISC license. 264 * See the LICENSE file in the root directory of this source tree. 265 */const hI=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],fI=Ue("Linkedin",hI);/** 266 * @license lucide-react v0.475.0 - ISC 267 * 268 * This source code is licensed under the ISC license. 269 * See the LICENSE file in the root directory of this source tree. 270 */const mI=[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]],pI=Ue("List",mI);/** 271 * @license lucide-react v0.475.0 - ISC 272 * 273 * This source code is licensed under the ISC license. 274 * See the LICENSE file in the root directory of this source tree. 275 */const gI=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],ir=Ue("LoaderCircle",gI);/** 276 * @license lucide-react v0.475.0 - ISC 277 * 278 * This source code is licensed under the ISC license. 279 * See the LICENSE file in the root directory of this source tree. 280 */const xI=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]],yI=Ue("LockOpen",xI);/** 281 * @license lucide-react v0.475.0 - ISC 282 * 283 * This source code is licensed under the ISC license. 284 * See the LICENSE file in the root directory of this source tree. 285 */const bI=[["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"}]],pi=Ue("Lock",bI);/** 286 * @license lucide-react v0.475.0 - ISC 287 * 288 * This source code is licensed under the ISC license. 289 * See the LICENSE file in the root directory of this source tree. 290 */const wI=[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]],vI=Ue("LogIn",wI);/** 291 * @license lucide-react v0.475.0 - ISC 292 * 293 * This source code is licensed under the ISC license. 294 * See the LICENSE file in the root directory of this source tree. 295 */const CI=[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]],I3=Ue("LogOut",CI);/** 296 * @license lucide-react v0.475.0 - ISC 297 * 298 * This source code is licensed under the ISC license. 299 * See the LICENSE file in the root directory of this source tree. 300 */const BI=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]],En=Ue("Mail",BI);/** 301 * @license lucide-react v0.475.0 - ISC 302 * 303 * This source code is licensed under the ISC license. 304 * See the LICENSE file in the root directory of this source tree. 305 */const NI=[["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"}]],da=Ue("MapPin",NI);/** 306 * @license lucide-react v0.475.0 - ISC 307 * 308 * This source code is licensed under the ISC license. 309 * See the LICENSE file in the root directory of this source tree. 310 */const FI=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],jI=Ue("Menu",FI);/** 311 * @license lucide-react v0.475.0 - ISC 312 * 313 * This source code is licensed under the ISC license. 314 * See the LICENSE file in the root directory of this source tree. 315 */const SI=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]],_w=Ue("MessageCircle",SI);/** 316 * @license lucide-react v0.475.0 - ISC 317 * 318 * This source code is licensed under the ISC license. 319 * See the LICENSE file in the root directory of this source tree. 320 */const EI=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],Cx=Ue("MessageSquare",EI);/** 321 * @license lucide-react v0.475.0 - ISC 322 * 323 * This source code is licensed under the ISC license. 324 * See the LICENSE file in the root directory of this source tree. 325 */const TI=[["path",{d:"m11 7.601-5.994 8.19a1 1 0 0 0 .1 1.298l.817.818a1 1 0 0 0 1.314.087L15.09 12",key:"80a601"}],["path",{d:"M16.5 21.174C15.5 20.5 14.372 20 13 20c-2.058 0-3.928 2.356-6 2-2.072-.356-2.775-3.369-1.5-4.5",key:"j0ngtp"}],["circle",{cx:"16",cy:"7",r:"5",key:"d08jfb"}]],kI=Ue("MicVocal",TI);/** 326 * @license lucide-react v0.475.0 - ISC 327 * 328 * This source code is licensed under the ISC license. 329 * See the LICENSE file in the root directory of this source tree. 330 */const _I=[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]],L3=Ue("Mic",_I);/** 331 * @license lucide-react v0.475.0 - ISC 332 * 333 * This source code is licensed under the ISC license. 334 * See the LICENSE file in the root directory of this source tree. 335 */const DI=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]],UI=Ue("Network",DI);/** 336 * @license lucide-react v0.475.0 - ISC 337 * 338 * This source code is licensed under the ISC license. 339 * See the LICENSE file in the root directory of this source tree. 340 */const II=[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]],Gy=Ue("Newspaper",II);/** 341 * @license lucide-react v0.475.0 - ISC 342 * 343 * This source code is licensed under the ISC license. 344 * See the LICENSE file in the root directory of this source tree. 345 */const LI=[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]],P3=Ue("PenTool",LI);/** 346 * @license lucide-react v0.475.0 - ISC 347 * 348 * This source code is licensed under the ISC license. 349 * See the LICENSE file in the root directory of this source tree. 350 */const PI=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],Dw=Ue("Pencil",PI);/** 351 * @license lucide-react v0.475.0 - ISC 352 * 353 * This source code is licensed under the ISC license. 354 * See the LICENSE file in the root directory of this source tree. 355 */const RI=[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],Wy=Ue("Phone",RI);/** 356 * @license lucide-react v0.475.0 - ISC 357 * 358 * This source code is licensed under the ISC license. 359 * See the LICENSE file in the root directory of this source tree. 360 */const MI=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Kp=Ue("Plus",MI);/** 361 * @license lucide-react v0.475.0 - ISC 362 * 363 * This source code is licensed under the ISC license. 364 * See the LICENSE file in the root directory of this source tree. 365 */const QI=[["path",{d:"M18 7c0-5.333-8-5.333-8 0",key:"1prm2n"}],["path",{d:"M10 7v14",key:"18tmcs"}],["path",{d:"M6 21h12",key:"4dkmi1"}],["path",{d:"M6 13h10",key:"ybwr4a"}]],OI=Ue("PoundSterling",QI);/** 366 * @license lucide-react v0.475.0 - ISC 367 * 368 * This source code is licensed under the ISC license. 369 * See the LICENSE file in the root directory of this source tree. 370 */const HI=[["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"}]],R3=Ue("QrCode",HI);/** 371 * @license lucide-react v0.475.0 - ISC 372 * 373 * This source code is licensed under the ISC license. 374 * See the LICENSE file in the root directory of this source tree. 375 */const VI=[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]],KI=Ue("Radio",VI);/** 376 * @license lucide-react v0.475.0 - ISC 377 * 378 * This source code is licensed under the ISC license. 379 * See the LICENSE file in the root directory of this source tree. 380 */const GI=[["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"}]],vu=Ue("RefreshCw",GI);/** 381 * @license lucide-react v0.475.0 - ISC 382 * 383 * This source code is licensed under the ISC license. 384 * See the LICENSE file in the root directory of this source tree. 385 */const WI=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 12h10",key:"b7w52i"}]],zI=Ue("ScanLine",WI);/** 386 * @license lucide-react v0.475.0 - ISC 387 * 388 * This source code is licensed under the ISC license. 389 * See the LICENSE file in the root directory of this source tree. 390 */const JI=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],ks=Ue("Search",JI);/** 391 * @license lucide-react v0.475.0 - ISC 392 * 393 * This source code is licensed under the ISC license. 394 * See the LICENSE file in the root directory of this source tree. 395 */const qI=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],or=Ue("Send",qI);/** 396 * @license lucide-react v0.475.0 - ISC 397 * 398 * This source code is licensed under the ISC license. 399 * See the LICENSE file in the root directory of this source tree. 400 */const $I=[["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"}]],YI=Ue("Share2",$I);/** 401 * @license lucide-react v0.475.0 - ISC 402 * 403 * This source code is licensed under the ISC license. 404 * See the LICENSE file in the root directory of this source tree. 405 */const XI=[["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",ke
405y:"oel41y"}]],M3=Ue("Shield",XI);/** 406 * @license lucide-react v0.475.0 - ISC 407 * 408 * This source code is licensed under the ISC license. 409 * See the LICENSE file in the root directory of this source tree. 410 */const ZI=[["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"}]],Sn=Ue("Sparkles",ZI);/** 411 * @license lucide-react v0.475.0 - ISC 412 * 413 * This source code is licensed under the ISC license. 414 * See the LICENSE file in the root directory of this source tree. 415 */const e9=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],It=Ue("Star",e9);/** 416 * @license lucide-react v0.475.0 - ISC 417 * 418 * This source code is licensed under the ISC license. 419 * See the LICENSE file in the root directory of this source tree. 420 */const t9=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],Q3=Ue("Tag",t9);/** 421 * @license lucide-react v0.475.0 - ISC 422 * 423 * This source code is licensed under the ISC license. 424 * See the LICENSE file in the root directory of this source tree. 425 */const r9=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],ts=Ue("Ticket",r9);/** 426 * @license lucide-react v0.475.0 - ISC 427 * 428 * This source code is licensed under the ISC license. 429 * See the LICENSE file in the root directory of this source tree. 430 */const n9=[["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"}]],SA=Ue("Trash2",n9);/** 431 * @license lucide-react v0.475.0 - ISC 432 * 433 * This source code is licensed under the ISC license. 434 * See the LICENSE file in the root directory of this source tree. 435 */const a9=[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]],s9=Ue("TrendingUp",a9);/** 436 * @license lucide-react v0.475.0 - ISC 437 * 438 * This source code is licensed under the ISC license. 439 * See the LICENSE file in the root directory of this source tree. 440 */const i9=[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]],ut=Ue("Trophy",i9);/** 441 * @license lucide-react v0.475.0 - ISC 442 * 443 * This source code is licensed under the ISC license. 444 * See the LICENSE file in the root directory of this source tree. 445 */const o9=[["rect",{width:"20",height:"15",x:"2",y:"7",rx:"2",ry:"2",key:"10ag99"}],["polyline",{points:"17 2 12 7 7 2",key:"11pgbg"}]],ci=Ue("Tv",o9);/** 446 * @license lucide-react v0.475.0 - ISC 447 * 448 * This source code is licensed under the ISC license. 449 * See the LICENSE file in the root directory of this source tree. 450 */const l9=[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]],Uw=Ue("Twitter",l9);/** 451 * @license lucide-react v0.475.0 - ISC 452 * 453 * This source code is licensed under the ISC license. 454 * See the LICENSE file in the root directory of this source tree. 455 */const c9=[["polyline",{points:"4 7 4 4 20 4 20 7",key:"1nosan"}],["line",{x1:"9",x2:"15",y1:"20",y2:"20",key:"swin9y"}],["line",{x1:"12",x2:"12",y1:"4",y2:"20",key:"1tx1rr"}]],zy=Ue("Type",c9);/** 456 * @license lucide-react v0.475.0 - ISC 457 * 458 * This source code is licensed under the ISC license. 459 * See the LICENSE file in the root directory of this source tree. 460 */const A9=[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]],d9=Ue("Undo2",A9);/** 461 * @license lucide-react v0.475.0 - ISC 462 * 463 * This source code is licensed under the ISC license. 464 * See the LICENSE file in the root directory of this source tree. 465 */const u9=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]],Cu=Ue("Upload",u9);/** 466 * @license lucide-react v0.475.0 - ISC 467 * 468 * This source code is licensed under the ISC license. 469 * See the LICENSE file in the root directory of this source tree. 470 */const h9=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],f9=Ue("UserPlus",h9);/** 471 * @license lucide-react v0.475.0 - ISC 472 * 473 * This source code is licensed under the ISC license. 474 * See the LICENSE file in the root directory of this source tree. 475 */const m9=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],vo=Ue("User",m9);/** 476 * @license lucide-react v0.475.0 - ISC 477 * 478 * This source code is licensed under the ISC license. 479 * See the LICENSE file in the root directory of this source tree. 480 */const p9=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]],$t=Ue("Users",p9);/** 481 * @license lucide-react v0.475.0 - ISC 482 * 483 * This source code is licensed under the ISC license. 484 * See the LICENSE file in the root directory of this source tree. 485 */const g9=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],O3=Ue("Video",g9);/** 486 * @license lucide-react v0.475.0 - ISC 487 * 488 * This source code is licensed under the ISC license. 489 * See the LICENSE file in the root directory of this source tree. 490 */const x9=[["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}],["path",{d:"M5 7c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v12H5V7Z",key:"1ezoue"}],["path",{d:"M22 19H2",key:"nuriw5"}]],Gp=Ue("Vote",x9);/** 491 * @license lucide-react v0.475.0 - ISC 492 * 493 * This source code is licensed under the ISC license. 494 * See the LICENSE file in the root directory of this source tree. 495 */const y9=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 3,480 bytes, lines 495-505
495],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],tr=Ue("X",y9);/** 496 * @license lucide-react v0.475.0 - ISC 497 * 498 * This source code is licensed under the ISC license. 499 * See the LICENSE file in the root directory of this source tree. 500 */const b9=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],w9=Ue("Youtube",b9);/** 501 * @license lucide-react v0.475.0 - ISC 502 * 503 * This source code is licensed under the ISC license. 504 * See the LICENSE file in the root directory of this source tree. 505 */const v9=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],H3=Ue("Zap",v9),C9=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},B9=(e,t)=>({classGroupId:e,validator:t}),V3=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),Ym="-",oB=[],N9="arbitrary..",F9=e=>{const t=S9(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return j9(o);const c=o.split(Ym),d=c[0]===""&&c.length>1?1:0;return K3(c,d,t)},getConflictingClassGroupIds:(o,c)=>{if(c){const d=n[o],u=r[o];return d?u?C9(u,d):d:u||oB}return r[o]||oB}}},K3=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const s=e[t],i=r.nextPart.get(s);if(i){const u=K3(e,t+1,i);if(u)return u}const o=r.validators;if(o===null)return;const c=t===0?e.join(Ym):e.slice(t).join(Ym),d=o.length;for(let u=0;u<d;u++){const h=o[u];if(h.validator(c))return h.classGroupId}},j9=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?N9+n:void 0})(),S9=e=>{const{theme:t,classGroups:r}=e;return E9(r,t)},E9=(e,t)=>{const r=V3();for(const n in e){const s=e[n];Iw(s,r,n,t)}return r},Iw=(e,t,r,n)=>{const s=e.length;for(let i=0;i<s;i++){const o=e[i];T9(o,t,r,n)}},T9=(e,t,r,n)=>{if(typeof e=="string"){k9(e,t,r);return}if(typeof e=="function"){_9(e,t,r,n);return}D9(e,t,r,n)},k9=(e,t,r)=>{const n=e===""?t:G3(t,e);n.classGroupId=r},_9=(e,t,r,n)=>{if(U9(e)){Iw(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(B9(r,e))},D9=(e,t,r,n)=>{const s=Object.entries(e),i=s.length;for(let o=0;o<i;o++){const[c,d]=s[o];Iw(d,G3(t,c),r,n)}},G3=(e,t)=>{let r=e;const n=t.split(Ym),s=n.length;for(let i=0;i<s;i++){const o=n[i];let c=r.nextPart.get(o);c||(c=V3(),r.nextPart.set(o,c)),r=c}return r},U9=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,I9=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const s=(i,o)=>{r[i]=o,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(i){let o=r[i];if(o!==void 0)return o;if((o=n[i])!==void 0)return s(i,o),o},set(i,o){i in r?r[i]=o:s(i,o)}}},Jy="!",lB=":",L9=[],cB=(e,t,r,n,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:s}),P9=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=s=>{const i=[];let o=0,c=0,d=0,u;const h=s.length;for(let g=0;g<h;g++){const b=s[g];if(o===0&&c===0){if(b===lB){i.push(s.slice(d,g)),d=g+1;continue}if(b==="/"){u=g;continue}}b==="["?o++:b==="]"?o--:b==="("?c++:b===")"&&c--}const m=i.length===0?s:s.slice(d);let p=m,x=!1;
vendor: 5,755 bytes, line 505
505m.endsWith(Jy)?(p=m.slice(0,-1),x=!0):m.startsWith(Jy)&&(p=m.slice(1),x=!0);const w=u&&u>d?u-d:void 0;return cB(i,x,p,w)};if(t){const s=t+lB,i=n;n=o=>o.startsWith(s)?i(o.slice(s.length)):cB(L9,!1,o,void 0,!0)}if(r){const s=n;n=i=>r({className:i,parseClassName:s})}return n},R9=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let s=[];for(let i=0;i<r.length;i++){const o=r[i],c=o[0]==="[",d=t.has(o);c||d?(s.length>0&&(s.sort(),n.push(...s),s=[]),n.push(o)):s.push(o)}return s.length>0&&(s.sort(),n.push(...s)),n}},M9=e=>({cache:I9(e.cacheSize),parseClassName:P9(e),sortModifiers:R9(e),...F9(e)}),Q9=/\s+/,O9=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s,sortModifiers:i}=t,o=[],c=e.trim().split(Q9);let d="";for(let u=c.length-1;u>=0;u-=1){const h=c[u],{isExternal:m,modifiers:p,hasImportantModifier:x,baseClassName:w,maybePostfixModifierPosition:g}=r(h);if(m){d=h+(d.length>0?" "+d:d);continue}let b=!!g,v=n(b?w.substring(0,g):w);if(!v){if(!b){d=h+(d.length>0?" "+d:d);continue}if(v=n(w),!v){d=h+(d.length>0?" "+d:d);continue}b=!1}const N=p.length===0?"":p.length===1?p[0]:i(p).join(":"),F=x?N+Jy:N,S=F+v;if(o.indexOf(S)>-1)continue;o.push(S);const E=s(v,b);for(let D=0;D<E.length;++D){const T=E[D];o.push(F+T)}d=h+(d.length>0?" "+d:d)}return d},H9=(...e)=>{let t=0,r,n,s="";for(;t<e.length;)(r=e[t++])&&(n=W3(r))&&(s&&(s+=" "),s+=n);return s},W3=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=W3(e[n]))&&(r&&(r+=" "),r+=t);return r},V9=(e,...t)=>{let r,n,s,i;const o=d=>{const u=t.reduce((h,m)=>m(h),e());return r=M9(u),n=r.cache.get,s=r.cache.set,i=c,c(d)},c=d=>{const u=n(d);if(u)return u;const h=O9(d,r);return s(d,h),h};return i=o,(...d)=>i(H9(...d))},K9=[],Er=e=>{const t=r=>r[e]||K9;return t.isThemeGetter=!0,t},z3=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,J3=/^\((?:(\w[\w-]*):)?(.+)\)$/i,G9=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,W9=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,z9=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,J9=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,q9=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$9=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Hi=e=>G9.test(e),At=e=>!!e&&!Number.isNaN(Number(e)),Vi=e=>!!e&&Number.isInteger(Number(e)),Bx=e=>e.endsWith("%")&&At(e.slice(0,-1)),Ks=e=>W9.test(e),q3=()=>!0,Y9=e=>z9.test(e)&&!J9.test(e),Lw=()=>!1,X9=e=>q9.test(e),Z9=e=>$9.test(e),eL=e=>!Je(e)&&!qe(e),tL=e=>_o(e,X3,Lw),Je=e=>z3.test(e),sl=e=>_o(e,Z3,Y9),AB=e=>_o(e,cL,At),rL=e=>_o(e,tS,q3),nL=e=>_o(e,eS,Lw),dB=e=>_o(e,$3,Lw),aL=e=>_o(e,Y3,Z9),Df=e=>_o(e,rS,X9),qe=e=>J3.test(e),Td=e=>Kl(e,Z3),sL=e=>Kl(e,eS),uB=e=>Kl(e,$3),iL=e=>Kl(e,X3),oL=e=>Kl(e,Y3),Uf=e=>Kl(e,rS,!0),lL=e=>Kl(e,tS,!0),_o=(e,t,r)=>{const n=z3.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},Kl=(e,t,r=!1)=>{const n=J3.exec(e);return n?n[1]?t(n[1]):r:!1},$3=e=>e==="position"||e==="percentage",Y3=e=>e==="image"||e==="url",X3=e=>e==="length"||e==="size"||e==="bg-size",Z3=e=>e==="length",cL=e=>e==="number",eS=e=>e==="family-name",tS=e=>e==="number"||e==="weight",rS=e=>e==="shadow",AL=()=>{const e=Er("color"),t=Er("font"),r=Er("text"),n=Er("font-weight"),s=Er("tracking"),i=Er("leading"),o=Er("breakpoint"),c=Er("container"),d=Er("spacing"),u=Er("radius"),h=Er("shadow"),m=Er("inset-shadow"),p=Er("text-shadow"),x=Er("drop-shadow"),w=Er("blur"),g=Er("perspective"),b=Er("aspect"),v=Er("ease"),N=Er("animate"),F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...S(),qe,Je],D=()=>["auto","hidden","clip","visible","scroll"],T=()=>["auto","contain","none"],k=()=>[qe,Je,d],I=()=>[Hi,"full","auto",...k()],Y=()=>[Vi,"none","subgrid",qe,Je],ee=()=>["auto",{span:["full",Vi,qe,Je]},Vi,qe,Je],ie=()=>[Vi,"auto",qe,Je],W=()=>["auto","min","max","fr",qe,Je],ce=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],we=()=>["start","end","center","stretch","center-safe","end-safe"],ne=()=>["auto",...k()],re=()=>[Hi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],X=()=>[Hi,"screen","full","dvw","lvw","svw","min","max","fit",...k()],de=()=>[Hi,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],ae=()=>[e,qe,Je],q=()=>[...S(),uB,dB,{position:[qe,Je]}],L=()=>["no-repeat",{repeat:["","x","y","space","round"]}],J=()=>["auto","cover","contain",iL,tL,{size:[qe,Je]}],Q=()=>[Bx,Td,sl],O=()=>["","none","full",u,qe,Je],G=()=>["",At,Td,sl],le=()=>["solid","dashed","dotted","double"],ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],xe=()=>[At,Bx,uB,dB],be=()=>["","none",w,qe,Je],Fe=()=>["none",At,qe,Je],Pe=()=>["none",At,qe,Je],it=()=>[At,qe,Je],et=()=>[Hi,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ks],breakpoint:[Ks],color:[q3],container:[Ks],"drop-shadow":[Ks],ease:["in","out","in-out"],font:[eL],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ks],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ks],shadow:[Ks],spacing:["px",At],text:[Ks],"text-shadow":[Ks],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Hi,Je,qe,b]}
vendor: 6,131 bytes, line 505
505],container:["container"],columns:[{columns:[At,Je,qe,c]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{"inset-s":I(),start:I()}],end:[{"inset-e":I(),end:I()}],"inset-bs":[{"inset-bs":I()}],"inset-be":[{"inset-be":I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[Vi,"auto",qe,Je]}],basis:[{basis:[Hi,"full","auto",c,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[At,Hi,"auto","initial","none",Je]}],grow:[{grow:["",At,qe,Je]}],shrink:[{shrink:["",At,qe,Je]}],order:[{order:[Vi,"first","last","none",qe,Je]}],"grid-cols":[{"grid-cols":Y()}],"col-start-end":[{col:ee()}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":Y()}],"row-start-end":[{row:ee()}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":W()}],"auto-rows":[{"auto-rows":W()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...ce(),"normal"]}],"justify-items":[{"justify-items":[...we(),"normal"]}],"justify-self":[{"justify-self":["auto",...we()]}],"align-content":[{content:["normal",...ce()]}],"align-items":[{items:[...we(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...we(),{baseline:["","last"]}]}],"place-content":[{"place-content":ce()}],"place-items":[{"place-items":[...we(),"baseline"]}],"place-self":[{"place-self":["auto",...we()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:ne()}],mx:[{mx:ne()}],my:[{my:ne()}],ms:[{ms:ne()}],me:[{me:ne()}],mbs:[{mbs:ne()}],mbe:[{mbe:ne()}],mt:[{mt:ne()}],mr:[{mr:ne()}],mb:[{mb:ne()}],ml:[{ml:ne()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:re()}],"inline-size":[{inline:["auto",...X()]}],"min-inline-size":[{"min-inline":["auto",...X()]}],"max-inline-size":[{"max-inline":["none",...X()]}],"block-size":[{block:["auto",...de()]}],"min-block-size":[{"min-block":["auto",...de()]}],"max-block-size":[{"max-block":["none",...de()]}],w:[{w:[c,"screen",...re()]}],"min-w":[{"min-w":[c,"screen","none",...re()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[o]},...re()]}],h:[{h:["screen","lh",...re()]}],"min-h":[{"min-h":["screen","lh","none",...re()]}],"max-h":[{"max-h":["screen","lh",...re()]}],"font-size":[{text:["base",r,Td,sl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,lL,rL]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Bx,Je]}],"font-family":[{font:[sL,nL,t]}],"font-features":[{"font-features":[Je]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,qe,Je]}],"line-clamp":[{"line-clamp":[At,"none",qe,AB]}],leading:[{leading:[i,...k()]}],"list-image":[{"list-image":["none",qe,Je]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",qe,Je]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ae()}],"text-color":[{text:ae()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:[At,"from-font","auto",qe,sl]}],"text-decoration-color":[{decoration:ae()}],"underline-offset":[{"underline-offset":[At,"auto",qe,Je]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",qe,Je]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",qe,Je]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:q()}],"bg-repeat":[{bg:L()}],"bg-size":[{bg:J()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Vi,qe,Je],radial:["",qe,Je],conic:[Vi,qe,Je]},oL,aL]}],"bg-color":[{bg:ae()}],"gradient-from-pos":[{from:Q()}
vendor: 7,413 bytes, line 505
505],"gradient-via-pos":[{via:Q()}],"gradient-to-pos":[{to:Q()}],"gradient-from":[{from:ae()}],"gradient-via":[{via:ae()}],"gradient-to":[{to:ae()}],rounded:[{rounded:O()}],"rounded-s":[{"rounded-s":O()}],"rounded-e":[{"rounded-e":O()}],"rounded-t":[{"rounded-t":O()}],"rounded-r":[{"rounded-r":O()}],"rounded-b":[{"rounded-b":O()}],"rounded-l":[{"rounded-l":O()}],"rounded-ss":[{"rounded-ss":O()}],"rounded-se":[{"rounded-se":O()}],"rounded-ee":[{"rounded-ee":O()}],"rounded-es":[{"rounded-es":O()}],"rounded-tl":[{"rounded-tl":O()}],"rounded-tr":[{"rounded-tr":O()}],"rounded-br":[{"rounded-br":O()}],"rounded-bl":[{"rounded-bl":O()}],"border-w":[{border:G()}],"border-w-x":[{"border-x":G()}],"border-w-y":[{"border-y":G()}],"border-w-s":[{"border-s":G()}],"border-w-e":[{"border-e":G()}],"border-w-bs":[{"border-bs":G()}],"border-w-be":[{"border-be":G()}],"border-w-t":[{"border-t":G()}],"border-w-r":[{"border-r":G()}],"border-w-b":[{"border-b":G()}],"border-w-l":[{"border-l":G()}],"divide-x":[{"divide-x":G()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":G()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...le(),"hidden","none"]}],"divide-style":[{divide:[...le(),"hidden","none"]}],"border-color":[{border:ae()}],"border-color-x":[{"border-x":ae()}],"border-color-y":[{"border-y":ae()}],"border-color-s":[{"border-s":ae()}],"border-color-e":[{"border-e":ae()}],"border-color-bs":[{"border-bs":ae()}],"border-color-be":[{"border-be":ae()}],"border-color-t":[{"border-t":ae()}],"border-color-r":[{"border-r":ae()}],"border-color-b":[{"border-b":ae()}],"border-color-l":[{"border-l":ae()}],"divide-color":[{divide:ae()}],"outline-style":[{outline:[...le(),"none","hidden"]}],"outline-offset":[{"outline-offset":[At,qe,Je]}],"outline-w":[{outline:["",At,Td,sl]}],"outline-color":[{outline:ae()}],shadow:[{shadow:["","none",h,Uf,Df]}],"shadow-color":[{shadow:ae()}],"inset-shadow":[{"inset-shadow":["none",m,Uf,Df]}],"inset-shadow-color":[{"inset-shadow":ae()}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ae()}],"ring-offset-w":[{"ring-offset":[At,sl]}],"ring-offset-color":[{"ring-offset":ae()}],"inset-ring-w":[{"inset-ring":G()}],"inset-ring-color":[{"inset-ring":ae()}],"text-shadow":[{"text-shadow":["none",p,Uf,Df]}],"text-shadow-color":[{"text-shadow":ae()}],opacity:[{opacity:[At,qe,Je]}],"mix-blend":[{"mix-blend":[...ye(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ye()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[At]}],"mask-image-linear-from-pos":[{"mask-linear-from":xe()}],"mask-image-linear-to-pos":[{"mask-linear-to":xe()}],"mask-image-linear-from-color":[{"mask-linear-from":ae()}],"mask-image-linear-to-color":[{"mask-linear-to":ae()}],"mask-image-t-from-pos":[{"mask-t-from":xe()}],"mask-image-t-to-pos":[{"mask-t-to":xe()}],"mask-image-t-from-color":[{"mask-t-from":ae()}],"mask-image-t-to-color":[{"mask-t-to":ae()}],"mask-image-r-from-pos":[{"mask-r-from":xe()}],"mask-image-r-to-pos":[{"mask-r-to":xe()}],"mask-image-r-from-color":[{"mask-r-from":ae()}],"mask-image-r-to-color":[{"mask-r-to":ae()}],"mask-image-b-from-pos":[{"mask-b-from":xe()}],"mask-image-b-to-pos":[{"mask-b-to":xe()}],"mask-image-b-from-color":[{"mask-b-from":ae()}],"mask-image-b-to-color":[{"mask-b-to":ae()}],"mask-image-l-from-pos":[{"mask-l-from":xe()}],"mask-image-l-to-pos":[{"mask-l-to":xe()}],"mask-image-l-from-color":[{"mask-l-from":ae()}],"mask-image-l-to-color":[{"mask-l-to":ae()}],"mask-image-x-from-pos":[{"mask-x-from":xe()}],"mask-image-x-to-pos":[{"mask-x-to":xe()}],"mask-image-x-from-color":[{"mask-x-from":ae()}],"mask-image-x-to-color":[{"mask-x-to":ae()}],"mask-image-y-from-pos":[{"mask-y-from":xe()}],"mask-image-y-to-pos":[{"mask-y-to":xe()}],"mask-image-y-from-color":[{"mask-y-from":ae()}],"mask-image-y-to-color":[{"mask-y-to":ae()}],"mask-image-radial":[{"mask-radial":[qe,Je]}],"mask-image-radial-from-pos":[{"mask-radial-from":xe()}],"mask-image-radial-to-pos":[{"mask-radial-to":xe()}],"mask-image-radial-from-color":[{"mask-radial-from":ae()}],"mask-image-radial-to-color":[{"mask-radial-to":ae()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":S()}],"mask-image-conic-pos":[{"mask-conic":[At]}],"mask-image-conic-from-pos":[{"mask-conic-from":xe()}],"mask-image-conic-to-pos":[{"mask-conic-to":xe()}],"mask-image-conic-from-color":[{"mask-conic-from":ae()}],"mask-image-conic-to-color":[{"mask-conic-to":ae()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:q()}],"mask-repeat":[{mask:L()}],"mask-size":[{mask:J()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",qe,Je]}],filter:[{filter:["","none",qe,Je]}],blur:[{blur:be()}],brightness:[{brightness:[At,qe,Je]}],contrast:[{contrast:[At,qe,Je]}],"drop-shadow":[{"drop-shadow":["","none",x,Uf,Df]}],"drop-shadow-color":[{"drop-shadow":ae()}],grayscale:[{grayscale:["",At,qe,Je]}],"hue-rotate":[{"hue-rotate":[At,qe,Je]}],invert:[{invert:["",At,qe,Je]}],saturate:[{saturate:[At,qe,Je]}],sepia:[{sepia:["",At,qe,Je]}],"backdrop-filter":[{"backdrop-filter":["","none",qe,Je]}],"backdrop-blur":[{"backdrop-blur":be()}],"backdrop-brightness":[{"backdrop-brightness":[At,qe,Je]}],"backdrop-contrast":[{"backdrop-contrast":[At,qe,Je]}],"backdrop-grayscale":[{"backdrop-grayscale":["",At,qe,Je]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[At,qe,Je]}],"backdrop-invert":[{"backdrop-invert":["",At,qe,Je]}],"backdrop-opacity":[{"backdrop-opacity":[At,qe,Je]}],"backdrop-saturate":[{"backdrop-saturate":[At,qe,Je]}],"backdrop-sepia":[{"backdrop-sepia":["",At,qe,Je]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",qe,Je]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[At,"initial",qe,Je]}],ease:[{ease:["linear","initial",v,qe,Je]}],delay:[{delay:[At,qe,Je]}],animate:[{animate:["none",N,qe,Je]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,qe,Je]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:Fe()}],"rotate-x":[{"rotate-x":Fe()}],"rotate-y":[{"rotate-y":Fe()}],"rotate-z":[{"rotate-z":Fe()}],scale:[{scale:Pe()}],"scale-x":[{"scale-x":Pe()}],"scale-y":[{"scale-y":Pe()}],"scale-z":[{"scale-z":Pe()}],"scale-3d":["scale-3d"],skew:[{skew:it()}],"skew-x":[{"skew-x":it()}],"skew-y":[{"skew-y":it()}],transform:[{transform:[qe,Je,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:et()}],"translate-x":[{"translate-x":et()}],"translate-y":[{"translate-y":et()}],"translate-z":[{"translate-z":et()}],"translate-none":["translate-none"],accent:[{accent:ae()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ae()}
vendor: 6,105 bytes, line 505
505],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",qe,Je]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mbs":[{"scroll-mbs":k()}],"scroll-mbe":[{"scroll-mbe":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pbs":[{"scroll-pbs":k()}],"scroll-pbe":[{"scroll-pbe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",qe,Je]}],fill:[{fill:["none",...ae()]}],"stroke-w":[{stroke:[At,Td,sl,AB]}],stroke:[{stroke:["none",...ae()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},dL=V9(AL);function yn(...e){return dL(F3(e))}const nS=B.forwardRef(({...e},t)=>a.jsx("div",{ref:t,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...e}));nS.displayName="ToastProvider";const aS=B.forwardRef(({...e},t)=>a.jsx("div",{ref:t,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...e}));aS.displayName="ToastViewport";const uL=j3("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),sS=B.forwardRef(({className:e,variant:t,...r},n)=>
505a.jsx("div",{ref:n,className:yn(uL({variant:t}),e),...r}));sS.displayName="Toast";const hL=B.forwardRef(({className:e,...t},r)=>a.jsx("div",{ref:r,className:yn("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));hL.displayName="ToastAction";const iS=B.forwardRef(({className:e,...t},r)=>a.jsx("button",{ref:r,className:yn("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:a.jsx(tr,{className:"h-4 w-4"})}));iS.displayName="ToastClose";const oS=B.forwardRef(({className:e,...t},r)=>a.jsx("div",{ref:r,className:yn("text-sm font-semibold",e),...t}));oS.displayName="ToastTitle";const lS=B.forwardRef(({className:e,...t},r)=>a.jsx("div",{ref:r,className:yn("text-sm opacity-90",e),...t}));lS.displayName="ToastDescription";function fL(){const{toasts:e}=uU();return a.jsxs(nS,{children:[e.map(function({id:t,title:r,description:n,action:s,...i}){return a.jsxs(sS,{...i,children:[a.jsxs("div",{className:"grid gap-1",children:[r&&a.jsx(oS,{children:r}),n&&a.jsx(lS,{children:n})]}),s,a.jsx(iS,{})]},t)}),a.jsx(aS,{})]})}var EA=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(){}},mL={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Xi,Sw,h3,pL=(h3=class{constructor(){Ze(this,Xi,mL);Ze(this,Sw,!1)}setTimeoutProvider(e){Qe(this,Xi,e)}setTimeout(e,t){return Z(this,Xi).setTimeout(e,t)}clearTimeout(e){Z(this,Xi).clearTimeout(e)}setInterval(e,t){return Z(this,Xi).setInterval(e,t)}clearInterval(e){Z(this,Xi).clearInterval(e)}},Xi=new WeakMap,Sw=new WeakMap,h3),hl=new pL;function gL(e){setTimeout(e,0)}var _l=typeof window>"u"||"Deno"in globalThis;function Bn(){}function xL(e,t){return typeof e=="function"?e(t):e}function qy(e){return typeof e=="number"&&e>=0&&e!==1/0}function cS(e,t){return Math.max(e+(t||0)-Date.now(),0)}function po(e,t){return typeof e=="function"?e(t):e}function Ta(e,t){return typeof e=="function"?e(t):e}function hB(e,t){const{type:r="all",exact:n,fetchStatus:s,predicate:i,queryKey:o,stale:c}=e;if(o){if(n){if(t.queryHash!==Pw(o,t.options))return!1}else if(!Bu(t.queryKey,o))return!1}if(r!=="all"){const d=t.isActive();if(r==="active"&&!d||r==="inactive"&&d)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||s&&s!==t.state.fetchStatus||i&&!i(t))}function fB(e,t){const{exact:r,status:n,predicate:s,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(r){if(Dl(t.options.mutationKey)!==Dl(i))return!1}else if(!Bu(t.options.mutationKey,i))return!1}return!(n&&t.state.status!==n||s&&!s(t))}function Pw(e,t){return((t==null?void 0:t.queryKeyHashFn)||Dl)(e)}function Dl(e){return JSON.stringify(e,(t,r)=>$y(r)?Object.keys(r).sort().reduce((n,s)=>(n[s]=r[s],n),{}):r)}function Bu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(r=>Bu(e[r],t[r])):!1}var yL=Object.prototype.hasOwnProperty;function AS(e,t,r=0){if(e===t)return e;if(r>500)return t;const n=mB(e)&&mB(t);if(!n&&!($y(e)&&$y(t)))return t;const i=(n?e:Object.keys(e)).length,o=n?t:Object.keys(t),c=o.length,d=n?new Array(c):{};let u=0;for(let h=0;h<c;h++){const m=n?h:o[h],p=e[m],x=t[m];if(p===x){d[m]=p,(n?h<i:yL.call(e,m))&&u++;continue}if(p===null||x===null||typeof p!="object"||typeof x!="object"){d[m]=x;continue}const w=AS(p,x,r+1);d[m]=w,w===p&&u++}return i===c&&u===i?e:d}function Xm(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function mB(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function $y(e){if(!pB(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!pB(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function pB(e){return Object.prototype.toString.call(e)==="[object Object]"}function bL(e){return new Promise(t=>{hl.setTimeout(t,e)})}function Yy(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?AS(e,t):t}function wL(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function vL(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var Rw=Symbol();function dS(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Rw?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Mw(e,t){return typeof e=="function"?e(...t):!!e}function CL(e,t,r){let n=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??(s=t()),n||(n=!0,s.aborted?r():s.addEventListener("abort",r,{once:!0})),s)}),e}
vendor: 3,133 bytes, line 505
505var gl,Zi,lA,f3,BL=(f3=class extends EA{constructor(){super();Ze(this,gl);Ze(this,Zi);Ze(this,lA);Qe(this,lA,t=>{if(!_l&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){Z(this,Zi)||this.setEventListener(Z(this,lA))}onUnsubscribe(){var t;this.hasListeners()||((t=Z(this,Zi))==null||t.call(this),Qe(this,Zi,void 0))}setEventListener(t){var r;Qe(this,lA,t),(r=Z(this,Zi))==null||r.call(this),Qe(this,Zi,t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()}))}setFocused(t){Z(this,gl)!==t&&(Qe(this,gl,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){var t;return typeof Z(this,gl)=="boolean"?Z(this,gl):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},gl=new WeakMap,Zi=new WeakMap,lA=new WeakMap,f3),Qw=new BL;function Xy(){let e,t;const r=new Promise((s,i)=>{e=s,t=i});r.status="pending",r.catch(()=>{});function n(s){Object.assign(r,s),delete r.resolve,delete r.reject}return r.resolve=s=>{n({status:"fulfilled",value:s}),e(s)},r.reject=s=>{n({status:"rejected",reason:s}),t(s)},r}var NL=gL;function FL(){let e=[],t=0,r=c=>{c()},n=c=>{c()},s=NL;const i=c=>{t?e.push(c):s(()=>{r(c)})},o=()=>{const c=e;e=[],c.length&&s(()=>{n(()=>{c.forEach(d=>{r(d)})})})};return{batch:c=>{let d;t++;try{d=c()}finally{t--,t||o()}return d},batchCalls:c=>(...d)=>{i(()=>{c(...d)})},schedule:i,setNotifyFunction:c=>{r=c},setBatchNotifyFunction:c=>{n=c},setScheduler:c=>{s=c}}}var kr=FL(),cA,eo,AA,m3,jL=(m3=class extends EA{constructor(){super();Ze(this,cA,!0);Ze(this,eo);Ze(this,AA);Qe(this,AA,t=>{if(!_l&&window.addEventListener){const r=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",n)}}})}onSubscribe(){Z(this,eo)||this.setEventListener(Z(this,AA))}onUnsubscribe(){var t;this.hasListeners()||((t=Z(this,eo))==null||t.call(this),Qe(this,eo,void 0))}setEventListener(t){var r;Qe(this,AA,t),(r=Z(this,eo))==null||r.call(this),Qe(this,eo,t(this.setOnline.bind(this)))}setOnline(t){Z(this,cA)!==t&&(Qe(this,cA,t),this.listeners.forEach(n=>{n(t)}))}isOnline(){return Z(this,cA)}},cA=new WeakMap,eo=new WeakMap,AA=new WeakMap,m3),Zm=new jL;function SL(e){return Math.min(1e3*2**e,3e4)}function uS(e){return(e??"online")==="online"?Zm.isOnline():!0}var Zy=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function hS(e){let t=!1,r=0,n;const s=Xy(),i=()=>s.status!=="pending",o=g=>{var b;if(!i()){const v=new Zy(g);p(v),(b=e.onCancel)==null||b.call(e,v)}},c=()=>{t=!0},d=()=>{t=!1},u=()=>Qw.isFocused()&&(e.networkMode==="always"||Zm.isOnline())&&e.canRun(),h=()=>uS(e.networkMode)&&e.canRun(),m=g=>{i()||(n==null||n(),s.resolve(g))},p=g=>{i()||(n==null||n(),s.reject(g))},x=()=>new Promise(g=>{var b;n=v=>{(i()||u())&&g(v)},(b=e.onPause)==null||b.call(e)}).then(()=>{var g;n=void 0,i()||(g=e.onContinue)==null||g.call(e)}),w=()=>
vendor: 4,359 bytes, line 505
505{if(i())return;let g;const b=r===0?e.initialPromise:void 0;try{g=b??e.fn()}catch(v){g=Promise.reject(v)}Promise.resolve(g).then(m).catch(v=>{var D;if(i())return;const N=e.retry??(_l?0:3),F=e.retryDelay??SL,S=typeof F=="function"?F(r,v):F,E=N===!0||typeof N=="number"&&r<N||typeof N=="function"&&N(r,v);if(t||!E){p(v);return}r++,(D=e.onFail)==null||D.call(e,r,v),bL(S).then(()=>u()?void 0:x()).then(()=>{t?p(v):w()})})};return{promise:s,status:()=>s.status,cancel:o,continue:()=>(n==null||n(),s),cancelRetry:c,continueRetry:d,canStart:h,start:()=>(h()?w():x().then(w),s)}}var xl,p3,fS=(p3=class{constructor(){Ze(this,xl)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),qy(this.gcTime)&&Qe(this,xl,hl.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(_l?1/0:300*1e3))}clearGcTimeout(){Z(this,xl)&&(hl.clearTimeout(Z(this,xl)),Qe(this,xl,void 0))}},xl=new WeakMap,p3),yl,dA,Sa,bl,Qr,Gu,wl,qa,zs,g3,EL=(g3=class extends fS{constructor(t){super();Ze(this,qa);Ze(this,yl);Ze(this,dA);Ze(this,Sa);Ze(this,bl);Ze(this,Qr);Ze(this,Gu);Ze(this,wl);Qe(this,wl,!1),Qe(this,Gu,t.defaultOptions),this.setOptions(t.options),this.observers=[],Qe(this,bl,t.client),Qe(this,Sa,Z(this,bl).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Qe(this,yl,xB(this.options)),this.state=t.state??Z(this,yl),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=Z(this,Qr))==null?void 0:t.promise}setOptions(t){if(this.options={...Z(this,Gu),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const r=xB(this.options);r.data!==void 0&&(this.setState(gB(r.data,r.dataUpdatedAt)),Qe(this,yl,r))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&Z(this,Sa).remove(this)}setData(t,r){const n=Yy(this.state.data,t,this.options);return lt(this,qa,zs).call(this,{data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(t,r){lt(this,qa,zs).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){var n,s;const r=(n=Z(this,Qr))==null?void 0:n.promise;return(s=Z(this,Qr))==null||s.cancel(t),r?r.then(Bn).catch(Bn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(Z(this,yl))}isActive(){return this.observers.some(t=>Ta(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Rw||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>po(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!cS(this.state.dataUpdatedAt,t)}onFocus(){var r;const t=this.observers.find(n=>n.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(r=Z(this,Qr))==null||r.continue()}onOnline(){var r;const t=this.observers.find(n=>n.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(r=Z(this,Qr))==null||r.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),Z(this,Sa).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(Z(this,Qr)&&(Z(this,wl)?Z(this,Qr).cancel({revert:!0}):Z(this,Qr).cancelRetry()),this.scheduleGc()),Z(this,Sa).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||lt(this,qa,zs).call(this,{type:"invalidate"})}async fetch(t,r){var d,u,h,m,p,x,w,g,b,v,N,F;if(this.state.fetchStatus!=="idle"&&((d=Z(this,Qr))==null?void 0:d.status())!=="rejected"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(Z(this,Qr))return Z(this,Qr).continueRetry(),Z(this,Qr).promise}if(t&&this.setOptions(t),!this.options.queryFn){const S=this.observers.find(E=>E.options.queryFn);S&&this.setOptions(S.options)}const n=new AbortController,s=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>(Qe(this,wl,!0),n.signal)}
505)},i=()=>{const S=dS(this.options,r),D=(()=>{const T={client:Z(this,bl),queryKey:this.queryKey,meta:this.meta};return s(T),T})();return Qe(this,wl,!1),this.options.persister?this.options.persister(S,D,this):S(D)},c=(()=>{const S={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:Z(this,bl),state:this.state,fetchFn:i};return s(S),S})();(u=this.options.behavior)==null||u.onFetch(c,this),Qe(this,dA,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((h=c.fetchOptions)==null?void 0:h.meta))&<(this,qa,zs).call(this,{type:"fetch",meta:(m=c.fetchOptions)==null?void 0:m.meta}),Qe(this,Qr,hS({initialPromise:r==null?void 0:r.initialPromise,fn:c.fetchFn,onCancel:S=>{S instanceof Zy&&S.revert&&this.setState({...Z(this,dA),fetchStatus:"idle"}),n.abort()},onFail:(S,E)=>{lt(this,qa,zs).call(this,{type:"failed",failureCount:S,error:E})},onPause:()=>{lt(this,qa,zs).call(this,{type:"pause"})},onContinue:()=>{lt(this,qa,zs).call(this,{type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0}));try{const S=await Z(this,Qr).start();if(S===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(S),(x=(p=Z(this,Sa).config).onSuccess)==null||x.call(p,S,this),(g=(w=Z(this,Sa).config).onSettled)==null||g.call(w,S,this.state.error,this),S}catch(S){if(S instanceof Zy){if(S.silent)return Z(this,Qr).promise;if(S.revert){if(this.state.data===void 0)throw S;return this.state.data}}throw lt(this,qa,zs).call(this,{type:"error",error:S}),(v=(b=Z(this,Sa).config).onError)==null||v.call(b,S,this),(F=(N=Z(this,Sa).config).onSettled)==null||F.call(N,this.state.data,S,this),S}finally{this.scheduleGc()}}},yl=new WeakMap,dA=new WeakMap,Sa=new WeakMap,bl=new WeakMap,Qr=new WeakMap,Gu=new WeakMap,wl=new WeakMap,qa=new WeakSet,zs=function(t){const r=n=>{switch(t.type){case"failed":return{...n,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...mS(n.data,this.options),fetchMeta:t.meta??null};case"success":const s={...n,...gB(t.data,t.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return Qe(this,dA,t.manual?s:void 0),s;case"error":const i=t.error;return{...n,error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=r(this.state),kr.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),Z(this,Sa).notify({query:this,type:"updated",action:t})})},g3);function mS(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:uS(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function gB(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function xB(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Mn,ft,Wu,vn,vl,uA,Js,to,zu,hA,fA,Cl,Bl,ro,mA,Nt,Vd,eb,tb,rb,nb,ab,sb,ib,pS,x3,TL=(x3=class extends EA{constructor(t,r){super();Ze(this,Nt);Ze(this,Mn);Ze(this,ft);Ze(this,Wu);Ze(this,vn);Ze(this,vl);Ze(this,uA);Ze(this,Js);Ze(this,to);Ze(this,zu);Ze(this,hA);Ze(this,fA);Ze(this,Cl);Ze(this,Bl);Ze(this,ro);Ze(this,mA,new Set);this.options=r,Qe(this,Mn,t),Qe(this,to,null),Qe(this,Js,Xy()),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(Z(this,ft).addObserver(this),yB(Z(this,ft),this.options)?lt(this,Nt,Vd).call(this):this.updateResult(),lt(this,Nt,nb).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ob(Z(this,ft),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ob(Z(this,ft),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,lt(this,Nt,ab).call(this),lt(this,Nt,sb).call(this),Z(this,ft).removeObserver(this)}setOptions(t){const r=this.options,n=Z(this,ft);if(this.options=Z(this,Mn).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Ta(this.options.enabled,Z(this,ft))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");lt(this,Nt,ib).call(this),Z(this,ft).setOptions(this.options),r._defaulted&&!Xm(this.options,r)&&Z(this,Mn).getQueryCache().notify({type:"observerOptionsUpdated",query:Z(this,ft),observer:this});const s=this.hasListeners();s&&bB(Z(this,ft),n,this.options,r)&<(this,Nt,Vd).call(this),this.updateResult(),s&&(Z(this,ft)!==n||Ta(this.options.enabled,Z(this,ft))!==Ta(r.enabled,Z(this,ft))||po(this.options.staleTime,Z(this,ft))!==po(r.staleTime,Z(this,ft)))&<(this,Nt,eb).call(this);const i=lt(this,Nt,tb).call(this);s&&(Z(this,ft)!==n||Ta(this.options.enabled,Z(this,ft))!==Ta(r.enabled,Z(this,ft))||i!==Z(this,ro))&<(this,Nt,rb).call(this,i)}getOptimisticResult(t){const r=Z(this,Mn).getQueryCache().build(Z(this,Mn),t),n=this.createResult(r,t);return _L(this,n)&&(Qe(this,vn,n),Qe(this,uA,this.options),Qe(this,vl,Z(this,ft).state)),n}getCurrentResult(){return Z(this,vn)}trackResult(t,r){return new Proxy(t,{get:(n,s)=>(this.trackProp(s),r==null||r(s),s==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&Z(this,Js).status==="pending"&&Z(this,Js).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(n,s))})}trackProp(t){Z(this,mA).add(t)}getCurrentQuery(){return Z(this,ft)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=Z(this,Mn).defaultQueryOptions(t),n=Z(this,Mn).getQueryCache().build(Z(this,Mn),r);return n.fetch().then(()=>this.createResult(n,r))}fetch(t){return lt(this,Nt,Vd).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),Z(this,vn)))}createResult(t,r){var I;const n=Z(this,ft),s=this.options,i=Z(this,vn),o=Z(this,vl),c=Z(this,uA),u=t!==n?t.state:Z(this,Wu),{state:h}=t;let m={...h},p=!1,x;if(r._optimisticResults){const Y=this.hasListeners(),ee=!Y&&yB(t,r),ie=Y&&bB(t,n,r,s);(ee||ie)&&(m={...m,...mS(h.data,t.options)}),r._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:w,errorUpdatedAt:g,status:b}=m;x=m.data;let v=!1;if(r.placeholderData!==void 0&&x===void 0&&b==="pending"){let Y;i!=null&&i.isPlaceholderData&&r.placeholderData===(c==null?void 0:c.placeholderData)?(Y=i.data,v=!0):Y=typeof r.placeholderData=="function"?r.placeholderData((I=Z(this,fA))==null?void 0:I.state.data,Z(this,fA)):r.placeholderData,Y!==void 0&&(b="success",x=Yy(i==null?void 0:i.data,Y,r),p=!0)}if(r.select&&x!==void 0&&!v)if(i&&x===(o==null?void 0:o.data)&&r.select===Z(this,zu))x=Z(this,hA);else try{Qe(this,zu,r.select),x=r.select(x),x=Yy(i==null?void 0:i.data,x,r),Qe(this,hA,x),Qe(this,to,null)}catch(Y){Qe(this,to,Y)}
vendor: 1,418 bytes, line 505
505Z(this,to)&&(w=Z(this,to),x=Z(this,hA),g=Date.now(),b="error");const N=m.fetchStatus==="fetching",F=b==="pending",S=b==="error",E=F&&N,D=x!==void 0,k={status:b,fetchStatus:m.fetchStatus,isPending:F,isSuccess:b==="success",isError:S,isInitialLoading:E,isLoading:E,data:x,dataUpdatedAt:m.dataUpdatedAt,error:w,errorUpdatedAt:g,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>u.dataUpdateCount||m.errorUpdateCount>u.errorUpdateCount,isFetching:N,isRefetching:N&&!F,isLoadingError:S&&!D,isPaused:m.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:S&&D,isStale:Ow(t,r),refetch:this.refetch,promise:Z(this,Js),isEnabled:Ta(r.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const Y=k.data!==void 0,ee=k.status==="error"&&!Y,ie=we=>{ee?we.reject(k.error):Y&&we.resolve(k.data)},W=()=>{const we=Qe(this,Js,k.promise=Xy());ie(we)},ce=Z(this,Js);switch(ce.status){case"pending":t.queryHash===n.queryHash&&ie(ce);break;case"fulfilled":(ee||k.data!==ce.value)&&W();break;case"rejected":(!ee||k.error!==ce.reason)&&W();break}}return k}updateResult(){const t=Z(this,vn),r=this.createResult(Z(this,ft),this.options);if(Qe(this,vl,Z(this,ft).state),Qe(this,uA,this.options),Z(this,vl).data!==void 0&&Qe(this,fA,Z(this,ft)),Xm(r,t))return;Qe(this,vn,r);const n=()=>
vendor: 1,031 bytes, line 505
505{if(!t)return!0;const{notifyOnChangeProps:s}=this.options,i=typeof s=="function"?s():s;if(i==="all"||!i&&!Z(this,mA).size)return!0;const o=new Set(i??Z(this,mA));return this.options.throwOnError&&o.add("error"),Object.keys(Z(this,vn)).some(c=>{const d=c;return Z(this,vn)[d]!==t[d]&&o.has(d)})};lt(this,Nt,pS).call(this,{listeners:n()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&<(this,Nt,nb).call(this)}},Mn=new WeakMap,ft=new WeakMap,Wu=new WeakMap,vn=new WeakMap,vl=new WeakMap,uA=new WeakMap,Js=new WeakMap,to=new WeakMap,zu=new WeakMap,hA=new WeakMap,fA=new WeakMap,Cl=new WeakMap,Bl=new WeakMap,ro=new WeakMap,mA=new WeakMap,Nt=new WeakSet,Vd=function(t){lt(this,Nt,ib).call(this);let r=Z(this,ft).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(Bn)),r},eb=function(){lt(this,Nt,ab).call(this);const t=po(this.options.staleTime,Z(this,ft));if(_l||Z(this,vn).isStale||!qy(t))return;const n=cS(Z(this,vn).dataUpdatedAt,t)+1;Qe(this,Cl,hl.setTimeout(()=>{Z(this,vn).isStale||this.updateResult()}
vendor: 5,738 bytes, line 505
505,n))},tb=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(Z(this,ft)):this.options.refetchInterval)??!1},rb=function(t){lt(this,Nt,sb).call(this),Qe(this,ro,t),!(_l||Ta(this.options.enabled,Z(this,ft))===!1||!qy(Z(this,ro))||Z(this,ro)===0)&&Qe(this,Bl,hl.setInterval(()=>{(this.options.refetchIntervalInBackground||Qw.isFocused())&<(this,Nt,Vd).call(this)},Z(this,ro)))},nb=function(){lt(this,Nt,eb).call(this),lt(this,Nt,rb).call(this,lt(this,Nt,tb).call(this))},ab=function(){Z(this,Cl)&&(hl.clearTimeout(Z(this,Cl)),Qe(this,Cl,void 0))},sb=function(){Z(this,Bl)&&(hl.clearInterval(Z(this,Bl)),Qe(this,Bl,void 0))},ib=function(){const t=Z(this,Mn).getQueryCache().build(Z(this,Mn),this.options);if(t===Z(this,ft))return;const r=Z(this,ft);Qe(this,ft,t),Qe(this,Wu,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},pS=function(t){kr.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(Z(this,vn))}),Z(this,Mn).getQueryCache().notify({query:Z(this,ft),type:"observerResultsUpdated"})})},x3);function kL(e,t){return Ta(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function yB(e,t){return kL(e,t)||e.state.data!==void 0&&ob(e,t,t.refetchOnMount)}function ob(e,t,r){if(Ta(t.enabled,e)!==!1&&po(t.staleTime,e)!=="static"){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&Ow(e,t)}return!1}function bB(e,t,r,n){return(e!==t||Ta(n.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&Ow(e,r)}function Ow(e,t){return Ta(t.enabled,e)!==!1&&e.isStaleByTime(po(t.staleTime,e))}function _L(e,t){return!Xm(e.getCurrentResult(),t)}function wB(e){return{onFetch:(t,r)=>{var h,m,p,x,w;const n=t.options,s=(p=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:p.direction,i=((x=t.state.data)==null?void 0:x.pages)||[],o=((w=t.state.data)==null?void 0:w.pageParams)||[];let c={pages:[],pageParams:[]},d=0;const u=async()=>{let g=!1;const b=F=>{CL(F,()=>t.signal,()=>g=!0)},v=dS(t.options,t.fetchOptions),N=async(F,S,E)=>{if(g)return Promise.reject();if(S==null&&F.pages.length)return Promise.resolve(F);const T=(()=>{const ee={client:t.client,queryKey:t.queryKey,pageParam:S,direction:E?"backward":"forward",meta:t.options.meta};return b(ee),ee})(),k=await v(T),{maxPages:I}=t.options,Y=E?vL:wL;return{pages:Y(F.pages,k,I),pageParams:Y(F.pageParams,S,I)}};if(s&&i.length){const F=s==="backward",S=F?DL:vB,E={pages:i,pageParams:o},D=S(n,E);c=await N(E,D,F)}else{const F=e??i.length;do{const S=d===0?o[0]??n.initialPageParam:vB(n,c);if(d>0&&S==null)break;c=await N(c,S),d++}while(d<F)}return c};t.options.persister?t.fetchFn=()=>{var g,b;return(b=(g=t.options).persister)==null?void 0:b.call(g,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=u}}}function vB(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function DL(e,{pages:t,pageParams:r}){var n;return t.length>0?(n=e.getPreviousPageParam)==null?void 0:n.call(e,t[0],t,r[0],r):void 0}var Ju,gs,un,Nl,xs,Wi,y3,UL=(y3=class extends fS{constructor(t){super();Ze(this,xs);Ze(this,Ju);Ze(this,gs);Ze(this,un);Ze(this,Nl);Qe(this,Ju,t.client),this.mutationId=t.mutationId,Qe(this,un,t.mutationCache),Qe(this,gs,[]),this.state=t.state||gS(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){Z(this,gs).includes(t)||(Z(this,gs).push(t),this.clearGcTimeout(),Z(this,un).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Qe(this,gs,Z(this,gs).filter(r=>r!==t)),this.scheduleGc(),Z(this,un).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){Z(this,gs).length||(this.state.status==="pending"?this.scheduleGc():Z(this,un).remove(this))}continue(){var t;return((t=Z(this,Nl))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,c,d,u,h,m,p,x,w,g,b,v,N,F,S,E,D,T;const r=()=>{lt(this,xs,Wi).call(this,{type:"continue"})},n={client:Z(this,Ju),meta:this.options.meta,mutationKey:this.options.mutationKey};Qe(this,Nl,hS({fn:()=>this.options.mutationFn?this.options.mutationFn(t,n):Promise.reject(new Error("No mutationFn found")),onFail:(k,I)=>{lt(this,xs,Wi).call(this,{type:"failed",failureCount:k,error:I})},onPause:()=>{lt(this,xs,Wi).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Z(this,un).canRun(this)}));const s=this.state.status==="pending",i=!Z(this,Nl).canStart();try{if(s)r();else{lt(this,xs,Wi).call(this,{type:"pending",variables:t,isPaused:i}),Z(this,un).config.onMutate&&await Z(this,un).config.onMutate(t,this,n);const I=await((c=(o=this.options).onMutate)==null?void 0:c.call(o,t,n));I!==this.state.context&<(this,xs,Wi).call(this,{type:"pending",context:I,variables:t,isPaused:i})}const k=await Z(this,Nl).start();return await((u=(d=Z(this,un).config).onSuccess)==null?void 0:u.call(d,k,t,this.state.context,this,n)),await((m=(h=this.options).onSuccess)==null?void 0:m.call(h,k,t,this.state.context,n)),await((x=(p=Z(this,un).config).onSettled)==null?void 0:x.call(p,k,null,this.state.variables,this.state.context,this,n)),await((g=(w=this.options).onSettled)==null?void 0:g.call(w,k,null,t,this.state.context,n)),lt(this,xs,Wi).call(this,{type:"success",data:k}),k}catch(k){try{await((v=(b=Z(this,un).config).onError)==null?void 0:v.call(b,k,t,this.state.context,this,n))}catch(I){Promise.reject(I)}try{await((F=(N=this.options).onError)==null?void 0:F.call(N,k,t,this.state.context,n))}catch(I){Promise.reject(I)}
505try{await((E=(S=Z(this,un).config).onSettled)==null?void 0:E.call(S,void 0,k,this.state.variables,this.state.context,this,n))}catch(I){Promise.reject(I)}try{await((T=(D=this.options).onSettled)==null?void 0:T.call(D,void 0,k,t,this.state.context,n))}catch(I){Promise.reject(I)}throw lt(this,xs,Wi).call(this,{type:"error",error:k}),k}finally{Z(this,un).runNext(this)}}},Ju=new WeakMap,gs=new WeakMap,un=new WeakMap,Nl=new WeakMap,xs=new WeakSet,Wi=function(t){const r=n=>{switch(t.type){case"failed":return{...n,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),kr.batch(()=>{Z(this,gs).forEach(n=>{n.onMutationUpdate(t)}),Z(this,un).notify({mutation:this,type:"updated",action:t})})},y3);function gS(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var qs,$a,qu,b3,IL=(b3=class extends EA{constructor(t={}){super();Ze(this,qs);Ze(this,$a);Ze(this,qu);this.config=t,Qe(this,qs,new Set),Qe(this,$a,new Map),Qe(this,qu,0)}build(t,r,n){const s=new UL({client:t,mutationCache:this,mutationId:++kf(this,qu)._,options:t.defaultMutationOptions(r),state:n});return this.add(s),s}add(t){Z(this,qs).add(t);const r=If(t);if(typeof r=="string"){const n=Z(this,$a).get(r);n?n.push(t):Z(this,$a).set(r,[t])}this.notify({type:"added",mutation:t})}remove(t){if(Z(this,qs).delete(t)){const r=If(t);if(typeof r=="string"){const n=Z(this,$a).get(r);if(n)if(n.length>1){const s=n.indexOf(t);s!==-1&&n.splice(s,1)}else n[0]===t&&Z(this,$a).delete(r)}}this.notify({type:"removed",mutation:t})}canRun(t){const r=If(t);if(typeof r=="string"){const n=Z(this,$a).get(r),s=n==null?void 0:n.find(i=>i.state.status==="pending");return!s||s===t}else return!0}runNext(t){var n;const r=If(t);if(typeof r=="string"){const s=(n=Z(this,$a).get(r))==null?void 0:n.find(i=>i!==t&&i.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){kr.batch(()=>{Z(this,qs).forEach(t=>{this.notify({type:"removed",mutation:t})}),Z(this,qs).clear(),Z(this,$a).clear()})}getAll(){return Array.from(Z(this,qs))}find(t){const r={exact:!0,...t};return this.getAll().find(n=>fB(r,n))}findAll(t={}){return this.getAll().filter(r=>fB(t,r))}notify(t){kr.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>
vendor: 5,122 bytes, line 505
505r.state.isPaused);return kr.batch(()=>Promise.all(t.map(r=>r.continue().catch(Bn))))}},qs=new WeakMap,$a=new WeakMap,qu=new WeakMap,b3);function If(e){var t;return(t=e.options.scope)==null?void 0:t.id}var $s,no,Qn,Ys,oi,_m,lb,w3,LL=(w3=class extends EA{constructor(r,n){super();Ze(this,oi);Ze(this,$s);Ze(this,no);Ze(this,Qn);Ze(this,Ys);Qe(this,$s,r),this.setOptions(n),this.bindMethods(),lt(this,oi,_m).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(r){var s;const n=this.options;this.options=Z(this,$s).defaultMutationOptions(r),Xm(this.options,n)||Z(this,$s).getMutationCache().notify({type:"observerOptionsUpdated",mutation:Z(this,Qn),observer:this}),n!=null&&n.mutationKey&&this.options.mutationKey&&Dl(n.mutationKey)!==Dl(this.options.mutationKey)?this.reset():((s=Z(this,Qn))==null?void 0:s.state.status)==="pending"&&Z(this,Qn).setOptions(this.options)}onUnsubscribe(){var r;this.hasListeners()||(r=Z(this,Qn))==null||r.removeObserver(this)}onMutationUpdate(r){lt(this,oi,_m).call(this),lt(this,oi,lb).call(this,r)}getCurrentResult(){return Z(this,no)}reset(){var r;(r=Z(this,Qn))==null||r.removeObserver(this),Qe(this,Qn,void 0),lt(this,oi,_m).call(this),lt(this,oi,lb).call(this)}mutate(r,n){var s;return Qe(this,Ys,n),(s=Z(this,Qn))==null||s.removeObserver(this),Qe(this,Qn,Z(this,$s).getMutationCache().build(Z(this,$s),this.options)),Z(this,Qn).addObserver(this),Z(this,Qn).execute(r)}},$s=new WeakMap,no=new WeakMap,Qn=new WeakMap,Ys=new WeakMap,oi=new WeakSet,_m=function(){var n;const r=((n=Z(this,Qn))==null?void 0:n.state)??gS();Qe(this,no,{...r,isPending:r.status==="pending",isSuccess:r.status==="success",isError:r.status==="error",isIdle:r.status==="idle",mutate:this.mutate,reset:this.reset})},lb=function(r){kr.batch(()=>{var n,s,i,o,c,d,u,h;if(Z(this,Ys)&&this.hasListeners()){const m=Z(this,no).variables,p=Z(this,no).context,x={client:Z(this,$s),meta:this.options.meta,mutationKey:this.options.mutationKey};if((r==null?void 0:r.type)==="success"){try{(s=(n=Z(this,Ys)).onSuccess)==null||s.call(n,r.data,m,p,x)}catch(w){Promise.reject(w)}try{(o=(i=Z(this,Ys)).onSettled)==null||o.call(i,r.data,null,m,p,x)}catch(w){Promise.reject(w)}}else if((r==null?void 0:r.type)==="error"){try{(d=(c=Z(this,Ys)).onError)==null||d.call(c,r.error,m,p,x)}catch(w){Promise.reject(w)}try{(h=(u=Z(this,Ys)).onSettled)==null||h.call(u,void 0,r.error,m,p,x)}catch(w){Promise.reject(w)}}}this.listeners.forEach(m=>{m(Z(this,no))})})},w3),ys,v3,PL=(v3=class extends EA{constructor(t={}){super();Ze(this,ys);this.config=t,Qe(this,ys,new Map)}build(t,r,n){const s=r.queryKey,i=r.queryHash??Pw(s,r);let o=this.get(i);return o||(o=new EL({client:t,queryKey:s,queryHash:i,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(s)}),this.add(o)),o}add(t){Z(this,ys).has(t.queryHash)||(Z(this,ys).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=Z(this,ys).get(t.queryHash);r&&(t.destroy(),r===t&&Z(this,ys).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){kr.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return Z(this,ys).get(t)}getAll(){return[...Z(this,ys).values()]}find(t){const r={exact:!0,...t};return this.getAll().find(n=>hB(r,n))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(n=>hB(t,n)):r}notify(t){kr.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){kr.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){kr.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},ys=new WeakMap,v3),nr,ao,so,pA,gA,io,xA,yA,C3,RL=(C3=class{constructor(e={}){Ze(this,nr);Ze(this,ao);Ze(this,so);Ze(this,pA);Ze(this,gA);Ze(this,io);Ze(this,xA);Ze(this,yA);Qe(this,nr,e.queryCache||new PL),Qe(this,ao,e.mutationCache||new IL),Qe(this,so,e.defaultOptions||{}),Qe(this,pA,new Map),Qe(this,gA,new Map),Qe(this,io,0)}mount(){kf(this,io)._++,Z(this,io)===1&&(Qe(this,xA,Qw.subscribe(async e=>{e&&(await this.resumePausedMutations(),Z(this,nr).onFocus())})),Qe(this,yA,Zm.subscribe(async e=>{e&&(await this.resumePausedMutations(),Z(this,nr).onOnline())})))}unmount(){var e,t;kf(this,io)._--,Z(this,io)===0&&((e=Z(this,xA))==null||e.call(this),Qe(this,xA,void 0),(t=Z(this,yA))==null||t.call(this),Qe(this,yA,void 0))}isFetching(e){return Z(this,nr).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return Z(this,ao).findAll({...e,status:"pending"}).length}getQueryData(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=Z(this,nr).get(t.queryHash))==null?void 0:r.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=Z(this,nr).build(this,t),n=r.state.data;return n===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(po(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return Z(this,nr).findAll(e).map(({queryKey:t,state:r})=>{const n=r.data;return[t,n]})}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),s=Z(this,nr).get(n.queryHash),i=s==null?void 0:s.state.data,o=xL(t,i);if(o!==void 0)return Z(this,nr).build(this,n).setData(o,{...r,manual:!0})}
505setQueriesData(e,t,r){return kr.batch(()=>Z(this,nr).findAll(e).map(({queryKey:n})=>[n,this.setQueryData(n,t,r)]))}getQueryState(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=Z(this,nr).get(t.queryHash))==null?void 0:r.state}removeQueries(e){const t=Z(this,nr);kr.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=Z(this,nr);return kr.batch(()=>(r.findAll(e).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},n=kr.batch(()=>Z(this,nr).findAll(e).map(s=>s.cancel(r)));return Promise.all(n).then(Bn).catch(Bn)}invalidateQueries(e,t={}){return kr.batch(()=>(Z(this,nr).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},n=kr.batch(()=>Z(this,nr).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let i=s.fetch(void 0,r);return r.throwOnError||(i=i.catch(Bn)),s.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(n).then(Bn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=Z(this,nr).build(this,t);return r.isStaleByTime(po(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Bn).catch(Bn)}fetchInfiniteQuery(e){return e.behavior=wB(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Bn).catch(Bn)}ensureInfiniteQueryData(e){return e.behavior=wB(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Zm.isOnline()?Z(this,ao).resumePausedMutations():Promise.resolve()}getQueryCache(){return Z(this,nr)}getMutationCache(){return Z(this,ao)}getDefaultOptions(){return Z(this,so)}setDefaultOptions(e){Qe(this,so,e)}setQueryDefaults(e,t){Z(this,pA).set(Dl(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...Z(this,pA).values()],r={};return t.forEach(n=>{Bu(e,n.queryKey)&&Object.assign(r,n.defaultOptions)}),r}setMutationDefaults(e,t){Z(this,gA).set(Dl(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...Z(this,gA).values()],r={};return t.forEach(n=>{Bu(e,n.mutationKey)&&Object.assign(r,n.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...Z(this,so).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Pw(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Rw&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...Z(this,so).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){Z(this,nr).clear(),Z(this,ao).clear()}},nr=new WeakMap,ao=new WeakMap,so=new WeakMap,pA=new WeakMap,gA=new WeakMap,io=new WeakMap,xA=new WeakMap,yA=new WeakMap,C3),xS=B.createContext(void 0),Do=e=>{const t=B.useContext(xS);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},ML=({client:e,children:t})=>(B.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),a.jsx(xS.Provider,{value:e,children:t})),yS=B.createContext(!1),QL=()=>B.useContext(yS);yS.Provider;function OL(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var HL=B.createContext(OL()),VL=()=>B.useContext(HL),KL=(e,t,r)=>{const n=r!=null&&r.state.error&&typeof e.throwOnError=="function"?Mw(e.throwOnError,[r.state.error,r]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||n)&&(t.isReset()||(e.retryOnMount=!1))},GL=e=>{B.useEffect(()=>{e.clearReset()},[e])},WL=({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:s})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(s&&e.data===void 0||Mw(r,[e.error,n])),zL=e=>{if(e.suspense){const r=s=>s==="static"?s:Math.max(s??1e3,1e3),n=e.staleTime;e.staleTime=typeof n=="function"?(...s)=>r(n(...s)):r(n),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},JL=(e,t)=>e.isLoading&&e.isFetching&&!t,qL=(e,t)=>
505(e==null?void 0:e.suspense)&&t.isPending,CB=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function $L(e,t,r){var p,x,w,g;const n=QL(),s=VL(),i=Do(),o=i.defaultQueryOptions(e);(x=(p=i.getDefaultOptions().queries)==null?void 0:p._experimental_beforeQuery)==null||x.call(p,o);const c=i.getQueryCache().get(o.queryHash);o._optimisticResults=n?"isRestoring":"optimistic",zL(o),KL(o,s,c),GL(s);const d=!i.getQueryCache().get(o.queryHash),[u]=B.useState(()=>new t(i,o)),h=u.getOptimisticResult(o),m=!n&&e.subscribed!==!1;if(B.useSyncExternalStore(B.useCallback(b=>{const v=m?u.subscribe(kr.batchCalls(b)):Bn;return u.updateResult(),v},[u,m]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),B.useEffect(()=>{u.setOptions(o)},[o,u]),qL(o,h))throw CB(o,u,s);if(WL({result:h,errorResetBoundary:s,throwOnError:o.throwOnError,query:c,suspense:o.suspense}))throw h.error;if((g=(w=i.getDefaultOptions().queries)==null?void 0:w._experimental_afterQuery)==null||g.call(w,o,h),o.experimental_prefetchInRender&&!_l&&JL(h,n)){const b=d?CB(o,u,s):c==null?void 0:c.promise;b==null||b.catch(Bn).finally(()=>{u.updateResult()})}return o.notifyOnChangeProps?h:u.trackResult(h)}function vt(e,t){return $L(e,TL)}function cb(e,t){const r=Do(),[n]=B.useState(()=>new LL(r,e));B.useEffect(()=>{n.setOptions(e)},[n,e]);const s=B.useSyncExternalStore(B.useCallback(o=>n.subscribe(kr.batchCalls(o)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),i=B.useCallback((o,c)=>{n.mutate(o,c).catch(Bn)},[n]);if(s.error&&Mw(n.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:i,mutateAsync:s.mutate}}const YL=new RL({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});var Zu=B3();const XL=Ew(Zu);/** 506 * @remix-run/router v1.23.2 507 * 508 * Copyright (c) Remix Software Inc. 509 * 510 * This source code is licensed under the MIT license found in the 511 * LICENSE.md file in the root directory of this source tree. 512 * 513 * @license MIT 514 */function Nu(){return Nu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Nu.apply(this,arguments)}var oo;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(oo||(oo={}));const BB="popstate";function ZL(e){e===void 0&&(e={});function t(n,s){let{pathname:i,search:o,hash:c}=n.location;return Ab("",{pathname:i,search:o,hash:c},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function r(n,s){return typeof s=="string"?s:ep(s)}return tP(t,r,null,e)}function Br(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Hw(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function eP(){return Math.random().toString(36).substr(2,8)}function NB(e,t){return{usr:e.state,key:e.key,idx:t}}function Ab(e,t,r,n){return r===void 0&&(r=null),Nu({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?TA(t):t,{state:r,key:t&&t.key||n||eP()})}function ep(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function TA(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function tP(e,t,r,n){n===void 0&&(n={});let{window:s=document.defaultView,v5Compat:i=!1}=n,o=s.history,c=oo.Pop,d=null,u=h();u==null&&(u=0,o.replaceState(Nu({},o.state,{idx:u}),""));function h(){return(o.state||{idx:null}).idx}function m(){c=oo.Pop;let b=h(),v=b==null?null:b-u;u=b,d&&d({action:c,location:g.location,delta:v})}function p(b,v){c=oo.Push;let N=Ab(g.location,b,v);u=h()+1;let F=NB(N,u),S=g.createHref(N);try{o.pushState(F,"",S)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;s.location.assign(S)}i&&d&&d({action:c,location:g.location,delta:1})}function x(b,v){c=oo.Replace;let N=Ab(g.location,b,v);u=h();let F=NB(N,u),S=g.createHref(N);o.replaceState(F,"",S),i&&d&&d({action:c,location:g.location,delta:0})}function w(b){let v=s.location.origin!=="null"?s.location.origin:s.location.href,N=typeof b=="string"?b:ep(b);return N=N.replace(/ $/,"%20"),Br(v,"No window.location.(origin|href) available to create URL for href: "+N),new URL(N,v)}let g={get action(){return c},get location(){return e(s,o)},listen(b){if(d)throw new Error("A history only accepts one active listener");return s.addEventListener(BB,m),d=b,()=>{s.removeEventListener(BB,m),d=null}},createHref(b){return t(s,b)},createURL:w,encodeLocation(b){let v=w(b);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:p,replace:x,go(b){return o.go(b)}};return g}var FB;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(FB||(FB={}));function rP(e,t,r){return r===void 0&&(r="/"),nP(e,t,r)}function nP(e,t,r,n){let s=typeof t=="string"?TA(t):t,i=Vw(s.pathname||"/",r);if(i==null)return null;let o=bS(e);aP(o);let c=null;for(let d=0;c==null&&d<o.length;++d){let u=pP(i);c=hP(o[d],u)}return c}function bS(e,t,r,n){t===void 0&&(t=[]),r===void 0&&(r=[]),n===void 0&&(n="");let s=(i,o,c)=>{let d={relativePath:c===void 0?i.path||"":c,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};d.relativePath.startsWith("/")&&(Br(d.relativePath.startsWith(n),'Absolute route path "'+d.relativePath+'" nested under path '+('"'+n+'" is not val
514id. An absolute child route path ')+"must start with the combined path of all its parent routes."),d.relativePath=d.relativePath.slice(n.length));let u=go([n,d.relativePath]),h=r.concat(d);i.children&&i.children.length>0&&(Br(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),bS(i.children,t,h,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:dP(u,i.index),routesMeta:h})};return e.forEach((i,o)=>{var c;if(i.path===""||!((c=i.path)!=null&&c.includes("?")))s(i,o);else for(let d of wS(i.path))s(i,o,d)}),t}function wS(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,s=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return s?[i,""]:[i];let o=wS(n.join("/")),c=[];return c.push(...o.map(d=>d===""?i:[i,d].join("/"))),s&&c.push(...o),c.map(d=>e.startsWith("/")&&d===""?"/":d)}function aP(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:uP(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const sP=/^:[\w-]+$/,iP=3,oP=2,lP=1,cP=10,AP=-2,jB=e=>e==="*";function dP(e,t){let r=e.split("/"),n=r.length;return r.some(jB)&&(n+=AP),t&&(n+=oP),r.filter(s=>!jB(s)).reduce((s,i)=>s+(sP.test(i)?iP:i===""?lP:cP),n)}function uP(e,t){return e.length===t.length&&e.slice(0,-1).every((n,s)=>n===t[s])?e[e.length-1]-t[t.length-1]:0}function hP(e,t,r){let{routesMeta:n}=e,s={},i="/",o=[];for(let c=0;c<n.length;++c){let d=n[c],u=c===n.length-1,h=i==="/"?t:t.slice(i.length)||"/",m=fP({path:d.relativePath,caseSensitive:d.caseSensitive,end:u},h),p=d.route;if(!m)return null;
vendor: 4,333 bytes, lines 514-523
514Object.assign(s,m.params),o.push({params:s,pathname:go([i,m.pathname]),pathnameBase:wP(go([i,m.pathnameBase])),route:p}),m.pathnameBase!=="/"&&(i=go([i,m.pathnameBase]))}return o}function fP(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=mP(e.path,e.caseSensitive,e.end),s=t.match(r);if(!s)return null;let i=s[0],o=i.replace(/(.)\/+$/,"$1"),c=s.slice(1);return{params:n.reduce((u,h,m)=>{let{paramName:p,isOptional:x}=h;if(p==="*"){let g=c[m]||"";o=i.slice(0,i.length-g.length).replace(/(.)\/+$/,"$1")}const w=c[m];return x&&!w?u[p]=void 0:u[p]=(w||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:e}}function mP(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Hw(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,c,d)=>(n.push({paramName:c,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),n]}function pP(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Hw(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Vw(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}const gP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,xP=e=>gP.test(e);function yP(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:s=""}=typeof e=="string"?TA(e):e,i;if(r)if(xP(r))i=r;else{if(r.includes("//")){let o=r;r=r.replace(/\/\/+/g,"/"),Hw(!1,"Pathnames cannot have embedded double slashes - normalizing "+(o+" -> "+r))}r.startsWith("/")?i=SB(r.substring(1),"/"):i=SB(r,t)}else i=t;return{pathname:i,search:vP(n),hash:CP(s)}}function SB(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?r.length>1&&r.pop():s!=="."&&r.push(s)}),r.length>1?r.join("/"):"/"}function Nx(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function bP(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function vS(e,t){let r=bP(e);return t?r.map((n,s)=>s===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function CS(e,t,r,n){n===void 0&&(n=!1);let s;typeof e=="string"?s=TA(e):(s=Nu({},e),Br(!s.pathname||!s.pathname.includes("?"),Nx("?","pathname","search",s)),Br(!s.pathname||!s.pathname.includes("#"),Nx("#","pathname","hash",s)),Br(!s.search||!s.search.includes("#"),Nx("#","search","hash",s)));let i=e===""||s.pathname==="",o=i?"/":s.pathname,c;if(o==null)c=r;else{let m=t.length-1;if(!n&&o.startsWith("..")){let p=o.split("/");for(;p[0]==="..";)p.shift(),m-=1;s.pathname=p.join("/")}c=m>=0?t[m]:"/"}let d=yP(s,c),u=o&&o!=="/"&&o.endsWith("/"),h=(i||o===".")&&r.endsWith("/");return!d.pathname.endsWith("/")&&(u||h)&&(d.pathname+="/"),d}const go=e=>e.join("/").replace(/\/\/+/g,"/"),wP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),vP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,CP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function BP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const BS=["post","put","patch","delete"];new Set(BS);const NP=["get",...BS];new Set(NP);/** 515 * React Router v6.30.3 516 * 517 * Copyright (c) Remix Software Inc. 518 * 519 * This source code is licensed under the MIT license found in the 520 * LICENSE.md file in the root directory of this source tree. 521 * 522 * @license MIT 523 */function Fu(){return Fu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
vendor: 5,436 bytes, line 523
523for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Fu.apply(this,arguments)}const Kw=B.createContext(null),FP=B.createContext(null),Gl=B.createContext(null),Wp=B.createContext(null),Uo=B.createContext({outlet:null,matches:[],isDataRoute:!1}),NS=B.createContext(null);function jP(e,t){let{relative:r}=t===void 0?{}:t;eh()||Br(!1);let{basename:n,navigator:s}=B.useContext(Gl),{hash:i,pathname:o,search:c}=jS(e,{relative:r}),d=o;return n!=="/"&&(d=o==="/"?n:go([n,o])),s.createHref({pathname:d,search:c,hash:i})}function eh(){return B.useContext(Wp)!=null}function Io(){return eh()||Br(!1),B.useContext(Wp).location}function FS(e){B.useContext(Gl).static||B.useLayoutEffect(e)}function Lo(){let{isDataRoute:e}=B.useContext(Uo);return e?QP():SP()}function SP(){eh()||Br(!1);let e=B.useContext(Kw),{basename:t,future:r,navigator:n}=B.useContext(Gl),{matches:s}=B.useContext(Uo),{pathname:i}=Io(),o=JSON.stringify(vS(s,r.v7_relativeSplatPath)),c=B.useRef(!1);return FS(()=>{c.current=!0}),B.useCallback(function(u,h){if(h===void 0&&(h={}),!c.current)return;if(typeof u=="number"){n.go(u);return}let m=CS(u,JSON.parse(o),i,h.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:go([t,m.pathname])),(h.replace?n.replace:n.push)(m,h.state,h)},[t,n,o,i,e])}function zp(){let{matches:e}=B.useContext(Uo),t=e[e.length-1];return t?t.params:{}}function jS(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=B.useContext(Gl),{matches:s}=B.useContext(Uo),{pathname:i}=Io(),o=JSON.stringify(vS(s,n.v7_relativeSplatPath));return B.useMemo(()=>CS(e,JSON.parse(o),i,r==="path"),[e,o,i,r])}function EP(e,t){return TP(e,t)}function TP(e,t,r,n){eh()||Br(!1);let{navigator:s}=B.useContext(Gl),{matches:i}=B.useContext(Uo),o=i[i.length-1],c=o?o.params:{};o&&o.pathname;let d=o?o.pathnameBase:"/";o&&o.route;let u=Io(),h;if(t){var m;let b=typeof t=="string"?TA(t):t;d==="/"||(m=b.pathname)!=null&&m.startsWith(d)||Br(!1),h=b}else h=u;let p=h.pathname||"/",x=p;if(d!=="/"){let b=d.replace(/^\//,"").split("/");x="/"+p.replace(/^\//,"").split("/").slice(b.length).join("/")}let w=rP(e,{pathname:x}),g=IP(w&&w.map(b=>Object.assign({},b,{params:Object.assign({},c,b.params),pathname:go([d,s.encodeLocation?s.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?d:go([d,s.encodeLocation?s.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),i,r,n);return t&&g?B.createElement(Wp.Provider,{value:{location:Fu({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:oo.Pop}},g):g}function kP(){let e=MP(),t=BP(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return B.createElement(B.Fragment,null,B.createElement("h2",null,"Unexpected Application Error!"),B.createElement("h3",{style:{fontStyle:"italic"}},t),r?B.createElement("pre",{style:s},r):null,null)}const _P=B.createElement(kP,null);class DP extends B.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?B.createElement(Uo.Provider,{value:this.props.routeContext},B.createElement(NS.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function UP(e){let{routeContext:t,match:r,children:n}=e,s=B.useContext(Kw);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),B.createElement(Uo.Provider,{value:t},n)}function IP(e,t,r,n){var s;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var i;if(!r)return null;if(r.errors)e=r.matches;else if((i=n)!=null&&i.v7_partialHydration&&t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let o=e,c=(s=r)==null?void 0:s.errors;if(c!=null){let h=o.findIndex(m=>m.route.id&&(c==null?void 0:c[m.route.id])!==void 0);h>=0||Br(!1),o=o.slice(0,Math.min(o.length,h+1))}let d=!1,u=-1;if(r&&n&&n.v7_partialHydration)for(let h=0;h<o.length;h++){let m=o[h];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(u=h),m.route.id){let{loaderData:p,errors:x}=r,w=m.route.loader&&p[m.route.id]===void 0&&(!x||x[m.route.id]===void 0);if(m.route.lazy||w){d=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((h,m,p)=>{let x,w=!1,g=null,b=null;r&&(x=c&&m.route.id?c[m.route.id]:void 0,g=m.route.errorElement||_P,d&&(u<0&&p===0?(OP("route-fallback"),w=!0,b=null):u===p&&(w=!0,b=m.route.hydrateFallbackElement||null)));let v=t.concat(o.slice(0,p+1)),N=()=>{let F;return x?F=g:w?F=b:m.route.Component?F=B.createElement(m.route.Component,null):m.route.element?F=m.route.element:F=h,B.createElement(UP,{match:m,routeContext:{outlet:h,matches:v,isDataRoute:r!=null},children:F})};return r&&(m.route.ErrorBoundary||m.route.errorElement||p===0)?B.createElement(DP,{location:r.location,revalidation:r.revalidation,component:g,error:x,children:N(),routeC
523ontext:{outlet:null,matches:v,isDataRoute:!0}}):N()},null)}var SS=(function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e})(SS||{}),ES=(function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e})(ES||{});function LP(e){let t=B.useContext(Kw);return t||Br(!1),t}function PP(e){let t=B.useContext(FP);return t||Br(!1),t}function RP(e){let t=B.useContext(Uo);return t||Br(!1),t}function TS(e){let t=RP(),r=t.matches[t.matches.length-1];return r.route.id||Br(!1),r.route.id}function MP(){var e;let t=B.useContext(NS),r=PP(),n=TS();return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function QP(){let{router:e}=LP(SS.UseNavigateStable),t=TS(ES.UseNavigateStable),r=B.useRef(!1);return FS(()=>{r.current=!0}),B.useCallback(function(s,i){i===void 0&&(i={}),r.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,Fu({fromRouteId:t},i)))},[e,t])}const EB={};function OP(e,t,r){EB[e]||(EB[e]=!0)}function HP(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function _t(e){Br(!1)}function VP(e){let{basename:t="/",children:r=null,location:n,navigationType:s=oo.Pop,navigator:i,static:o=!1,future:c}=e;eh()&&Br(!1);let d=t.replace(/^\/*/,"/"),u=B.useMemo(()=>({basename:d,navigator:i,static:o,future:Fu({v7_relativeSplatPath:!1},c)}),[d,c,i,o]);typeof n=="string"&&(n=TA(n));let{pathname:h="/",search:m="",hash:p="",state:x=null,key:w="default"}=n,g=B.useMemo(()=>{let b=Vw(h,d);return b==null?null:{location:{pathname:b,search:m,hash:p,state:x,key:w},navigationType:s}},[d,h,m,p,x,w,s]);return g==null?null:B.createElement(Gl.Provider,{value:u},B.createElement(Wp.Provider,{children:r,value:g}))}function KP(e){let{children:t,location:r}=e;return EP(db(t),r)}new Promise(()=>{});function db(e,t){t===void 0&&(t=[]);let r=[];return B.Children.forEach(e,(n,s)=>{if(!B.isValidElement(n))return;let i=[...t,s];if(n.type===B.Fragment){r.push.apply(r,db(n.props.children,i));return}n.type!==_t&&Br(!1),!n.props.index||!n.props.children||Br(!1);let o={id:n.props.id||i.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(o.children=db(n.props.children,i)),r.push(o)}),r}/** 524 * React Router DOM v6.30.3 525 * 526 * Copyright (c) Remix Software Inc. 527 * 528 * This source code is licensed under the MIT license found in the 529 * LICENSE.md file in the root directory of this source tree. 530 * 531 * @license MIT 532 */function ub(){return ub=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ub.apply(this,arguments)}function GP(e,t){if(e==null)return{};var r={},n=Object.keys(e),s,i;for(i=0;i<n.length;i++)s=n[i],!(t.indexOf(s)>=0)&&(r[s]=e[s]);return r}function WP(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function zP(e,t){return e.button===0&&(!t||t==="_self")&&!WP(e)}function hb(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(s=>[r,s]):[[r,n]])},[]))}function JP(e,t){let r=hb(e);return t&&t.forEach((n,s)=>{r.has(s)||t.getAll(s).forEach(i=>{r.append(s,i)})}),r}const qP=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],$P="6";try{window.__reactRouterVersion=$P}catch{}const YP="startTransition",TB=Hp[YP];function XP(e){let{basename:t,children:r,future:n,window:s}=e,i=B.useRef();i.current==null&&(i.current=ZL({window:s,v5Compat:!0}));let o=i.current,[c,d]=B.useState({action:o.action,location:o.location}),{v7_startTransition:u}=n||{},h=B.useCallback(m=>{u&&TB?TB(()=>d(m)):d(m)},[d,u]);return B.useLayoutEffect(()=>o.listen(h),[o,h]),B.useEffect(()=>HP(n),[n]),B.createElement(VP,{basename:t,children:r,location:c.location,navigationType:c.action,navigator:o,future:n})}const ZP=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",e7=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,He=B.forwardRef(function(t,r){let{onClick:n,relative:s,reloadDocument:i,replace:o,state:c,target:d,to:u,preventScrollReset:h,viewTransition:m}=t,p=GP(t,qP),{basename:x}=B.useContext(Gl),w,g=!1;if(typeof u=="string"&&e7.test(u)&&(w=u,ZP))try{let F=new URL(window.location.href),S=u.startsWith("//")?new URL(F.protocol+u):new URL(u),E=Vw(S.pathname,x);
532S.origin===F.origin&&E!=null?u=E+S.search+S.hash:g=!0}catch{}let b=jP(u,{relative:s}),v=t7(u,{replace:o,state:c,target:d,preventScrollReset:h,relative:s,viewTransition:m});function N(F){n&&n(F),F.defaultPrevented||v(F)}return B.createElement("a",ub({},p,{href:w||b,onClick:g||i?n:N,ref:r,target:d}))});var kB;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(kB||(kB={}));var _B;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(_B||(_B={}));function t7(e,t){let{target:r,replace:n,state:s,preventScrollReset:i,relative:o,viewTransition:c}=t===void 0?{}:t,d=Lo(),u=Io(),h=jS(e,{relative:o});return B.useCallback(m=>{if(zP(m,r)){m.preventDefault();let p=n!==void 0?n:ep(u)===ep(h);d(e,{replace:p,state:s,preventScrollReset:i,relative:o,viewTransition:c})}},[u,d,h,n,s,r,e,i,o,c])}function Gw(e){let t=B.useRef(hb(e)),r=B.useRef(!1),n=Io(),s=B.useMemo(()=>JP(n.search,r.current?null:t.current),[n.search]),i=Lo(),o=B.useCallback((c,d)=>{const u=hb(typeof c=="function"?c(s):c);r.current=!0,i("?"+u,d)},[i,s]);return[s,o]}function kS(e,t){return function(){return e.apply(t,arguments)}}const{toString:r7}=Object.prototype,{getPrototypeOf:Jp}=Object,{iterator:qp,toStringTag:_S}=Symbol,$p=(e=>t=>{const r=r7.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),ss=e=>(e=e.toLowerCase(),t=>$p(t)===e),Yp=e=>t=>typeof t===e,{isArray:Ul}=Array,wA=Yp("undefined");function kA(e){return e!==null&&!wA(e)&&e.constructor!==null&&!wA(e.constructor)&&Hn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const DS=ss("ArrayBuffer");function n7(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&DS(e.buffer),t}const a7=Yp("string"),Hn=Yp("function"),US=Yp("number"),th=e=>e!==null&&typeof e=="object",s7=e=>e===!0||e===!1,Dm=e=>{if($p(e)!=="object")return!1;const t=Jp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(_S in e)&&!(qp in e)},i7=e=>{if(!th(e)||kA(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},o7=ss("Date"),l7=ss("File"),c7=e=>!!(e&&typeof e.uri<"u"),A7=e=>e&&typeof e.getParts<"u",d7=ss("Blob"),u7=ss("FileList"),h7=e=>th(e)&&Hn(e.pipe);function f7(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const DB=f7(),UB=typeof DB.FormData<"u"?DB.FormData:void 0,m7=e=>{if(!e)return!1;if(UB&&e instanceof UB)return!0;const t=Jp(e);if(!t||t===Object.prototype||!Hn(e.append))return!1;const r=$p(e);return r==="formdata"||r==="object"&&Hn(e.toString)&&e.toString()==="[object FormData]"},p7=ss("URLSearchParams"),[g7,x7,y7,b7]=["ReadableStream","Request","Response","Headers"].map(ss),w7=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function rh(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),Ul(e))for(n=0,s=e.length;n<s;n++)t.call(null,e[n],n,e);else{if(kA(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let c;for(n=0;n<o;n++)c=i[n],t.call(null,e[c],c,e)}}function IS(e,t){if(kA(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,s;for(;n-- >0;)if(s=r[n],t===s.toLowerCase())return s;return null}const fl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,LS=e=>!wA(e)&&e!==fl;function fb(...e){const{caseless:t,skipUndefined:r}=LS(this)&&this||{},n={},s=(i,o)=>{if(o==="__proto__"||o==="constructor"||o==="prototype")return;const c=t&&typeof o=="string"&&IS(n,o)||o,d=mb(n,c)?n[c]:void 0;Dm(d)&&Dm(i)?n[c]=fb(d,i):Dm(i)?n[c]=fb({},i):Ul(i)?n[c]=i.slice():(!r||!wA(i))&&(n[c]=i)};for(let i=0,o=e.length;i<o;i++){const c=e[i];if(!c||kA(c)||(rh(c,s),typeof c!="object"||Ul(c)))continue;const d=Object.getOwnPropertySymbols(c);for(let u=0;u<d.length;u++){const h=d[u];D7.call(c,h)&&s(c[h],h)}}return n}const v7=(e,t,r,{allOwnKeys:n}={})=>(rh(t,(s,i)=>{r&&Hn(s)?Object.defineProperty(e,i,{__proto__:null,value:kS(s,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{__proto__:null,value:s,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),C7=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),B7=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,
vendor: 4,502 bytes, lines 532-533
532configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},N7=(e,t,r,n)=>{let s,i,o;const c={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)o=s[i],(!n||n(o,e,t))&&!c[o]&&(t[o]=e[o],c[o]=!0);e=r!==!1&&Jp(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},F7=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},j7=e=>{if(!e)return null;if(Ul(e))return e;let t=e.length;if(!US(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},S7=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Jp(Uint8Array)),E7=(e,t)=>{const n=(e&&e[qp]).call(e);let s;for(;(s=n.next())&&!s.done;){const i=s.value;t.call(e,i[0],i[1])}},T7=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},k7=ss("HTMLFormElement"),_7=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,s){return n.toUpperCase()+s}),mb=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),{propertyIsEnumerable:D7}=Object.prototype,U7=ss("RegExp"),PS=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};rh(r,(s,i)=>{let o;(o=t(s,i,e))!==!1&&(n[i]=o||s)}),Object.defineProperties(e,n)},I7=e=>{PS(e,(t,r)=>{if(Hn(e)&&["arguments","caller","callee"].includes(r))return!1;const n=e[r];if(Hn(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},L7=(e,t)=>{const r={},n=s=>{s.forEach(i=>{r[i]=!0})};return Ul(e)?n(e):n(String(e).split(t)),r},P7=()=>{},R7=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function M7(e){return!!(e&&Hn(e.append)&&e[_S]==="FormData"&&e[qp])}const Q7=e=>{const t=new WeakSet,r=n=>{if(th(n)){if(t.has(n))return;if(kA(n))return n;if(!("toJSON"in n)){t.add(n);const s=Ul(n)?[]:{};return rh(n,(i,o)=>{const c=r(i);!wA(c)&&(s[o]=c)}),t.delete(n),s}}return n};return r(e)},O7=ss("AsyncFunction"),H7=e=>e&&(th(e)||Hn(e))&&Hn(e.then)&&Hn(e.catch),RS=((e,t)=>e?setImmediate:t?((r,n)=>(fl.addEventListener("message",({source:s,data:i})=>{s===fl&&i===r&&n.length&&n.shift()()},!1),s=>{n.push(s),fl.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Hn(fl.postMessage)),V7=typeof queueMicrotask<"u"?queueMicrotask.bind(fl):typeof process<"u"&&process.nextTick||RS,K7=e=>e!=null&&Hn(e[qp]),oe={isArray:Ul,isArrayBuffer:DS,isBuffer:kA,isFormData:m7,isArrayBufferView:n7,isString:a7,isNumber:US,isBoolean:s7,isObject:th,isPlainObject:Dm,isEmptyObject:i7,isReadableStream:g7,isRequest:x7,isResponse:y7,isHeaders:b7,isUndefined:wA,isDate:o7,isFile:l7,isReactNativeBlob:c7,isReactNative:A7,isBlob:d7,isRegExp:U7,isFunction:Hn,isStream:h7,isURLSearchParams:p7,isTypedArray:S7,isFileList:u7,forEach:rh,merge:fb,extend:v7,trim:w7,stripBOM:C7,inherits:B7,toFlatObject:N7,kindOf:$p,kindOfTest:ss,endsWith:F7,toArray:j7,forEachEntry:E7,matchAll:T7,isHTMLForm:k7,hasOwnProperty:mb,hasOwnProp:mb,reduceDescriptors:PS,freezeMethods:I7,toObjectSet:L7,toCamelCase:_7,noop:P7,toFiniteNumber:R7,findKey:IS,global:fl,isContextDefined:LS,isSpecCompliantForm:M7,toJSONObject:Q7,isAsyncFn:O7,isThenable:H7,setImmediate:RS,asap:V7,isIterable:K7},G7=oe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),W7=e=>{const t={};let r,n,s;return e&&e.split(` 533`).forEach(function(o){s=o.indexOf(":"),r=o.substring(0,s).trim().toLowerCase(),n=o.substring(s+1).trim(),!(!r||t[r]&&G7[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t};function z7(e){let t=0,r=e.length;for(;t<r;){const n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;r>t;){const n=e.charCodeAt(r-1);if(n!==9&&n!==32)break;r-=1}return t===0&&r===e.length?e:e.slice(t,r)}const J7=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),q7=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Ww(e,t){return oe.isArray(e)?e.map(r=>Ww(r,t)):z7(String(e).replace(t,""))}const $7=e=>Ww(e,J7),Y7=e=>Ww(e,q7);function MS(e){const t=Object.create(null);return oe.forEach(e.toJSON(),(r,n)=>{t[n]=Y7(r)}),t}const IB=Symbol("internals");function kd(e){return e&&String(e).trim().toLowerCase()}function Um(e){return e===!1||e==null?e:oe.isArray(e)?e.map(Um):$7(String(e))}function X7(e){const t=Object.create(null),r=/([^\s,;
533=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Z7=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Fx(e,t,r,n,s){if(oe.isFunction(n))return n.call(this,t,r);if(s&&(t=r),!!oe.isString(t)){if(oe.isString(n))return t.indexOf(n)!==-1;if(oe.isRegExp(n))return n.test(t)}}function eR(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function tR(e,t){const r=oe.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{__proto__:null,value:function(s,i,o){return this[n].call(this,t,s,i,o)},configurable:!0})})}let Tn=class{constructor(t){t&&this.set(t)}set(t,r,n){const s=this;function i(c,d,u){const h=kd(d);if(!h)return;const m=oe.findKey(s,h);(!m||s[m]===void 0||u===!0||u===void 0&&s[m]!==!1)&&(s[m||d]=Um(c))}const o=(c,d)=>oe.forEach(c,(u,h)=>i(u,h,d));if(oe.isPlainObject(t)||t instanceof this.constructor)o(t,r);else if(oe.isString(t)&&(t=t.trim())&&!Z7(t))o(W7(t),r);else if(oe.isObject(t)&&oe.isIterable(t)){let c={},d,u;for(const h of t){if(!oe.isArray(h))throw new TypeError("Object iterator must return a key-value pair");c[u=h[0]]=(d=c[u])?oe.isArray(d)?[...d,h[1]]:[d,h[1]]:h[1]}o(c,r)}else t!=null&&i(r,t,n);return this}get(t,r){if(t=kd(t),t){const n=oe.findKey(this,t);if(n){const s=this[n];if(!r)return s;if(r===!0)return X7(s);if(oe.isFunction(r))return r.call(this,s,n);if(oe.isRegExp(r))return r.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=kd(t),t){const n=oe.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Fx(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let s=!1;function i(o){if(o=kd(o),o){const c=oe.findKey(n,o);c&&(!r||Fx(n,n[c],c,r))&&(delete n[c],s=!0)}}return oe.isArray(t)?t.forEach(i):i(t),s}clear(t){const r=Object.keys(this);let n=r.length,s=!1;for(;n--;){const i=r[n];(!t||Fx(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const r=this,n={};return oe.forEach(this,(s,i)=>{const o=oe.findKey(n,i);if(o){r[o]=Um(s),delete r[i];return}const c=t?eR(i):String(i).trim();c!==i&&delete r[i],r[c]=Um(s),n[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return oe.forEach(this,(n,s)=>{n!=null&&n!==!1&&(r[s]=t&&oe.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` 534`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(s=>n.set(s)),n}static accessor(t){const n=(this[IB]=this[IB]={accessors:{}}).accessors,s=this.prototype;function i(o){const c=kd(o);n[c]||(tR(s,o),n[c]=!0)}return oe.isArray(t)?t.forEach(i):i(t),this}};Tn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);oe.reduceDescriptors(Tn.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});oe.freezeMethods(Tn);const rR="[REDACTED ****]";function nR(e){if(oe.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(oe.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function aR(e,t){const r=new Set(t.map(i=>String(i).toLowerCase())),n=[],s=i=>{if(i===null||typeof i!="object"||oe.isBuffer(i))return i;if(n.indexOf(i)!==-1)return;i instanceof Tn&&(i=i.toJSON()),n.push(i);let o;if(oe.isArray(i))o=[],i.forEach((c,d)=>{const u=s(c);oe.isUndefined(u)||(o[d]=u)});else{if(!oe.isPlainObject(i)&&nR(i))return n.pop(),i;o=Object.create(null);for(const[c,d]of Object.entries(i)){const u=r.has(c.toLowerCase())?rR:s(d);oe.isUndefined(u)||(o[c]=u)}}return n.pop(),o};return s(e)}let $e=class QS extends Error{static from(t,r,n,s,i,o){const c=new QS(t.message,r||t.code,n,s,i);return c.cause=t,c.name=t.name,t.status!=null&&c.status==null&&(c.status=t.status),o&&Object.assign(c,o),c}constructor(t,r,n,s,i){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),n&&(this.config=n),s&&(this.request=s),i&&(this.response=i,this.status=i.status)}toJSON(){const t=this.config,r=t&&oe.hasOwnProp(t,"redact")?t.redact:void 0,n=oe.isArray(r)&&r.length>0?aR(t,r):oe.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};$e.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";$e.ERR_BAD_OPTION="ERR_BAD_OPTION";$e.ECONNABORTED="ECONNABORTED";$e.ETIMEDOUT="ETIMEDOUT";$e.ECONNREFUSED="ECONNREFUSED";$e.ERR_NETWORK="ERR_NETWORK";$e.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";$e.ERR_DEPRECATED="ERR_DEPRECATED";$e.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";$e.ERR_BAD_REQUEST="ERR_BAD_REQUEST";$e.ERR_CANCELED="ERR_CANCELED";$e.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";$e.ERR_INVALID_URL="ERR_INVALID_URL";$e.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const sR=null;function pb(e){return oe.isPlainObject(e)||oe.isArray(e)}function OS(e){return oe.endsWith(e,"[]")?e.slice(0,-2):e}function jx(e,t,r){return e?e.concat(t).map(function(s,i){return s=OS(s),!r&&i?"["+s+"]":s}).join(r?".":""):t}function iR(e){return oe.isArray(e)&&!e.some(pb)}const oR=oe.toFlatObject(oe,{},null,function(t){return/^is[A-Z]/.test(t)});function Xp(e,t,r){if(!oe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=oe.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,v){return!oe.isUndefined(v[b])});const n=r.metaTokens,s=r.visitor||m,i=r.dots,o=r.indexes,c=r.Blob||typeof Blob<"u"&&Blob,d=r.maxDepth===void 0?100:r.maxDepth,u=c&&oe.isSpecCompliantForm(t);if(!oe.isFunction(s))throw new TypeError("visitor must be a function");function h(g){if(g===null)return"";if(oe.isDate(g))return g.toISOString();if(oe.isBoolean(g))return g.toString();if(!u&&oe.isBlob(g))throw new $e("Blob is not supported. Use a Buffer instead.");return oe.isArrayBuffer(g)||oe.isTypedArray(g)?u&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function m(g,b,v){let N=g;if(oe.isReactNative(t)&&oe.isReactNativeBlob(g))return t.append(jx(v,b,i),h(g)),!1;if(g&&!v&&typeof g=="object"){if(oe.endsWith(b,"{}"))b=n?b:b.slice(0,-2),g=JSON.stringify(g);else if(oe.isArray(g)&&iR(g)||(oe.isFileList(g)||oe.endsWith(b,"[]"))&&(N=oe.toArray(g)))return b=OS(b),N.forEac
vendor: 13,568 bytes, line 534
534h(function(S,E){!(oe.isUndefined(S)||S===null)&&t.append(o===!0?jx([b],E,i):o===null?b:b+"[]",h(S))}),!1}return pb(g)?!0:(t.append(jx(v,b,i),h(g)),!1)}const p=[],x=Object.assign(oR,{defaultVisitor:m,convertValue:h,isVisitable:pb});function w(g,b,v=0){if(!oe.isUndefined(g)){if(v>d)throw new $e("Object is too deeply nested ("+v+" levels). Max depth: "+d,$e.ERR_FORM_DATA_DEPTH_EXCEEDED);if(p.indexOf(g)!==-1)throw new Error("Circular reference detected in "+b.join("."));p.push(g),oe.forEach(g,function(F,S){(!(oe.isUndefined(F)||F===null)&&s.call(t,F,oe.isString(S)?S.trim():S,b,x))===!0&&w(F,b?b.concat(S):[S],v+1)}),p.pop()}}if(!oe.isObject(e))throw new TypeError("data must be an object");return w(e),t}function LB(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function zw(e,t){this._pairs=[],e&&Xp(e,this,t)}const HS=zw.prototype;HS.append=function(t,r){this._pairs.push([t,r])};HS.toString=function(t){const r=t?function(n){return t.call(this,n,LB)}:LB;return this._pairs.map(function(s){return r(s[0])+"="+r(s[1])},"").join("&")};function lR(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function VS(e,t,r){if(!t)return e;const n=r&&r.encode||lR,s=oe.isFunction(r)?{serialize:r}:r,i=s&&s.serialize;let o;if(i?o=i(t,s):o=oe.isURLSearchParams(t)?t.toString():new zw(t,s).toString(n),o){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class PB{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){oe.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Jw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1},cR=typeof URLSearchParams<"u"?URLSearchParams:zw,AR=typeof FormData<"u"?FormData:null,dR=typeof Blob<"u"?Blob:null,uR={isBrowser:!0,classes:{URLSearchParams:cR,FormData:AR,Blob:dR},protocols:["http","https","file","blob","url","data"]},qw=typeof window<"u"&&typeof document<"u",gb=typeof navigator=="object"&&navigator||void 0,hR=qw&&(!gb||["ReactNative","NativeScript","NS"].indexOf(gb.product)<0),fR=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",mR=qw&&window.location.href||"http://localhost",pR=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:qw,hasStandardBrowserEnv:hR,hasStandardBrowserWebWorkerEnv:fR,navigator:gb,origin:mR},Symbol.toStringTag,{value:"Module"})),Xr={...pR,...uR};function gR(e,t){return Xp(e,new Xr.classes.URLSearchParams,{visitor:function(r,n,s,i){return Xr.isNode&&oe.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function xR(e){return oe.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function yR(e){const t={},r=Object.keys(e);let n;const s=r.length;let i;for(n=0;n<s;n++)i=r[n],t[i]=e[i];return t}function KS(e){function t(r,n,s,i){let o=r[i++];if(o==="__proto__")return!0;const c=Number.isFinite(+o),d=i>=r.length;return o=!o&&oe.isArray(s)?s.length:o,d?(oe.hasOwnProp(s,o)?s[o]=oe.isArray(s[o])?s[o].concat(n):[s[o],n]:s[o]=n,!c):((!oe.hasOwnProp(s,o)||!oe.isObject(s[o]))&&(s[o]=[]),t(r,n,s[o],i)&&oe.isArray(s[o])&&(s[o]=yR(s[o])),!c)}if(oe.isFormData(e)&&oe.isFunction(e.entries)){const r={};return oe.forEachEntry(e,(n,s)=>{t(xR(n),s,r,0)}),r}return null}const jc=(e,t)=>e!=null&&oe.hasOwnProp(e,t)?e[t]:void 0;function bR(e,t,r){if(oe.isString(e))try{return(t||JSON.parse)(e),oe.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const nh={transitional:Jw,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",s=n.indexOf("application/json")>-1,i=oe.isObject(t);if(i&&oe.isHTMLForm(t)&&(t=new FormData(t)),oe.isFormData(t))return s?JSON.stringify(KS(t)):t;if(oe.isArrayBuffer(t)||oe.isBuffer(t)||oe.isStream(t)||oe.isFile(t)||oe.isBlob(t)||oe.isReadableStream(t))return t;if(oe.isArrayBufferView(t))return t.buffer;if(oe.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(i){const d=jc(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return gR(t,d).toString();if((c=oe.isFileList(t))||n.indexOf("multipart/form-data")>-1){const u=jc(this,"env"),h=u&&u.FormData;return Xp(c?{"files[]":t}:t,h&&new h,d)}}return i||s?(r.setContentType("application/json",!1),bR(t)):t}],transformResponse:[function(t){const r=jc(this,"transitional")||nh.transitional,n=r&&r.forcedJSONParsing,s=jc(this,"responseType"),i=s==="json";if(oe.isResponse(t)||oe.isReadableStream(t))return t;if(t&&oe.isString(t)&&(n&&!s||i)){const c=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(t,jc(this,"parseReviver"))}catch(d){if(c)throw d.name==="SyntaxError"?$e.from(d,$e.ERR_BAD_RESPONSE,this,null,jc(this,"response")):d}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xr.classes.FormData,Blob:Xr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};oe.forEach(["delete","get","head","post","put","patch","query"],e=>{nh.headers[e]={}});function Sx(e,t){const r=this||nh,n=t||r,s=Tn.from(n.headers);let i=n.data;return oe.forEach(e,function(c){i=c.call(r,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function GS(e){return!!(e&&e.__CANCEL__)}let ah=class extends $e{constructor(t,r,n){super(t??"canceled",$e.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}};function WS(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new $e("Request failed with status code "+r.status,r.status>=400&&r.status<500?$e.ERR_BAD_REQUEST:$e.ERR_BAD_RESPONSE,r.config,r.request,r))}function wR(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function vR(e,t){e=e||10;const r=new Array(e),n=new Array(e);let s=0,i=0,o;return t=t!==void 0?t:1e3,function(d){const u=Date.now(),h=n[i];o||(o=u),r[s]=d,n[s]=u;let m=i,p=0;for(;m!==s;)p+=r[m++],m=m%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),u-o<t)return;const x=h&&u-h;return x?Math.round(p*1e3/x):void 0}}function CR(e,t){let r=0,n=1e3/t,s,i;const o=(u,h=Date.now())=>{r=h,s=null,i&&(clearTimeout(i),i=null),e(...u)};return[(...u)=>{const h=Date.now(),m=h-r;m>=n?o(u,h):(s=u,i||(i=setTimeout(()=>{i=null,o(s)},n-m)))},()=>s&&o(s)]}const tp=(e,t,r=3)=>{let n=0;const s=vR(50,250);return CR(i=>{if(!i||typeof i.loaded!="number")return;const o=i.loaded,c=i.lengthComputable?i.total:void 0,d=c!=null?Math.min(o,c):o,u=Math.max(0,d-n),h=s(u);n=Math.max(n,d);const m={loaded:d,total:c,progress:c?d/c:void 0,bytes:u,rate:h||void 0,estimated:h&&c?(c-d)/h:void 0,event:i,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(m)},r)},RB=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},MB=e=>(...t)=>oe.asap(()=>e(...t)),BR=Xr.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Xr.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Xr.origin),Xr.navigator&&/(msie|trident)/i.test(Xr.navigator.userAgent)):()=>!0,NR=Xr.hasStandardBrowserEnv?{write(e,t,r,n,s,i,o){if(typeof document>"u")return;const c=[`${e}=${encodeURIComponent(t)}`];oe.isNumber(r)&&c.push(`expires=${new Date(r).toUTCString()}`),oe.isString(n)&&c.push(`path=${n}`),oe.isString(s)&&c.push(`domain=${s}`),i===!0&&c.push("secure"),oe.isString(o)&&c.push(`SameSite=${o}`),document.cookie=c.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let r=0;r<t.length;r++){const n=t[r].replace(/^\s+/,""),s=n.indexOf("=");if(s!==-1&&n.slice(0,s)===e)return decodeURIComponent(n.slice(s+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function FR(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function jR(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function zS(e,t,r){let n=!FR(t);return e&&(n||r===!1)?jR(e,t):t}const QB=e=>e instanceof Tn?{...e}:e;function Il(e,t){t=t||{};const r=Object.create(null);Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function n(u,h,m,p){return oe.isPlainObject(u)&&oe.isPlainObject(h)?oe.merge.call({caseless:p},u,h):oe.isPlainObject(h)?oe.merge({},h):oe.isArray(h)?h.slice():h}function s(u,h,m,p){if(oe.isUndefined(h)){if(!oe.isUndefined(u))return n(void 0,u,m,p)}else return n(u,h,m,p)}function i(u,h){if(!oe.isUndefined(h))return n(void 0,h)}function o(u,h){if(oe.isUndefined(h)){if(!oe.isUndefined(u))return n(void 0,u)}else return n(void 0,h)}function c(u,h,m){if(oe.hasOwnProp(t,m))return n(u,h);if(oe.hasOwnProp(e,m))return n(void 0,u)}const d={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:c,headers:(u,h,m)=>s(QB(u),QB(h),m,!0)};return oe.forEach(Object.keys({...e,...t}),function(h){if(h==="__proto__"||h==="constructor"||h==="prototype")return;const m=oe.hasOwnProp(d,h)?d[h]:s,p=oe.hasOwnProp(e,h)?e[h]:void 0,x=oe.hasOwnProp(t,h)?t[h]:void 0,w=m(p,x,h);oe.isUndefined(w)&&m!==c||(r[h]=w)}),r}const SR=["content-type","content-length"];function ER(e,t,r){if(r!=="content-only"){e.set(t);return}Object.entries(t).forEach(([n,s])=>{SR.includes(n.toLowerCase())&&e.set(n,s)})}const TR=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16)));function JS(e){const t=Il({},e),r=p=>oe.hasOwnProp(t,p)?t[p]:void 0,n=r("data");let s=r("withXSRFToken");const i=r("xsrfHeaderName"),o=r("xsrfCookieName");let c=r("headers");const d=r("auth"),u=r("baseURL"),h=r("allowAbsoluteUrls"),m=r("url");if(t.headers=c=Tn.from(c),t.url=VS(zS(u,m,h),r("params"),r("paramsSerializer")),d&&c.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?TR(d.password):""))),oe.isFormData(n)&&(Xr.hasStandardBrowserEnv||Xr.hasStandardBrowserWebWorkerEnv||oe.isReactNative(n)?c.setContentType(void 0):oe.isFunction(n.getHeaders)&&ER(c,n.getHeaders(),r("formDataHeaderPolicy"))),Xr.hasStandardBrowserEnv&&(oe.isFunction(s)&&(s=s(t)),s===!0||s==null&&BR(t.url))){const x=i&&o&&NR.read(o);x&&c.set(i,x)}return t}const kR=typeof XMLHttpRequest<"u",_R=kR&&function(e){return new Promise(function(r,n){const s=JS(e);let i=s.data;const o=Tn.from(s.headers).normalize();let{responseType:c,onUploadProgress:d,onDownloadProgress:u}=s,h,m,p,x,w;function g(){x&&x(),w&&w(),s.cancelToken&&s.cancelToken.unsubscribe(h),s.signal&&s.signal.removeEventListener("abort",h)}let b=new XMLHttpRequest;b.open(s.method.toUpperCase(),s.url,!0),b.timeout=s.timeout;function v(){if(!b)return;const F=Tn.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),E={data:!c||c==="text"||c==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:F,config:e,request:b};WS(function(T){r(T),g()},function(T){n(T),g()},E),b=null}"onloadend"in b?b.onloadend=v:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.startsWith("file:"))||setTimeout(v)},b.onabort=function(){b&&(n(new $e("Request aborted",$e.ECONNABORTED,e,b)),g(),b=null)},b.onerror=function(S){const E=S&&S.message?S.message:"Network Error",D=new $e(E,$e.ERR_NETWORK,e,b);D.event=S||null,n(D),g(),b=null},b.ontimeout=function(){let S=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const E=s.transitional||Jw;s.timeoutErrorMessage&&(S=s.timeoutErrorMessage),n(new $e(S,E.clarifyTimeoutError?$e.ETIMEDOUT:$e.ECONNABORTED,e,b)),g(),b=null},i===void 0&&o.setContentType(null),"setRequestHeader"in b&&oe.forEach(MS(o),function(S,E){b.setRequestHeader(E,S)}),oe.isUndefined(s.withCredentials)||(b.withCredentials=!!s.withCredentials),c&&c!=="json"&&(b.responseType=s.responseType),u&&([p,w]=tp(u,!0),b.addEventListener("progress",p)),d&&b.upload&&([m,x]=tp(d),b.upload.addEventListener("progress",m),b.upload.addEventListener("loadend",x)),(s.cancelToken||s.signal)&&(h=F=>{b&&(n(!F||F.type?new ah(null,e,b):F),b.abort(),g(),b=null)},s.cancelToken&&s.cancelToken.subscribe(h),s.signal&&(s.signal.aborted?h():s.signal.addEventListener("abort",h)));const N=wR(s.url);if(N&&!Xr.protocols.includes(N)){n(new $e("Unsupported protocol "+N+":",$e.ERR_BAD_REQUEST,e));return}b.send(i||null)})},DR=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const r=new AbortController;let n=!1;const s=function(d){if(!n){n=!0,o();const u=d instanceof Error?d:this.reason;r.abort(u instanceof $e?u:new ah(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,s(new $e(`timeout of ${t}ms exceeded`,$e.ETIMEDOUT))},t);const o=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(s):d.removeEventListener("abort",s)}),e=null)};e.forEach(d=>d.addEventListener("abort",s));const{signal:c}=r;return c.unsubscribe=()=>
vendor: 5,960 bytes, line 534
534oe.asap(o),c},UR=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,s;for(;n<r;)s=n+t,yield e.slice(n,s),n=s},IR=async function*(e,t){for await(const r of LR(e))yield*UR(r,t)},LR=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},OB=(e,t,r,n)=>{const s=IR(e,t);let i=0,o,c=d=>{o||(o=!0,n&&n(d))};return new ReadableStream({async pull(d){try{const{done:u,value:h}=await s.next();if(u){c(),d.close();return}let m=h.byteLength;if(r){let p=i+=m;r(p)}d.enqueue(new Uint8Array(h))}catch(u){throw c(u),u}},cancel(d){return c(d),s.return()}},{highWaterMark:2})};function PR(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const r=e.slice(5,t),n=e.slice(t+1);if(/;base64/i.test(r)){let o=n.length;const c=n.length;for(let x=0;x<c;x++)if(n.charCodeAt(x)===37&&x+2<c){const w=n.charCodeAt(x+1),g=n.charCodeAt(x+2);(w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102)&&(g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102)&&(o-=2,x+=2)}let d=0,u=c-1;const h=x=>x>=2&&n.charCodeAt(x-2)===37&&n.charCodeAt(x-1)===51&&(n.charCodeAt(x)===68||n.charCodeAt(x)===100);u>=0&&(n.charCodeAt(u)===61?(d++,u--):h(u)&&(d++,u-=3)),d===1&&u>=0&&(n.charCodeAt(u)===61||h(u))&&d++;const p=Math.floor(o/4)*3-(d||0);return p>0?p:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(n,"utf8");let i=0;for(let o=0,c=n.length;o<c;o++){const d=n.charCodeAt(o);if(d<128)i+=1;else if(d<2048)i+=2;else if(d>=55296&&d<=56319&&o+1<c){const u=n.charCodeAt(o+1);u>=56320&&u<=57343?(i+=4,o++):i+=3}else i+=3}return i}const $w="1.17.0",HB=64*1024,{isFunction:Lf}=oe,RR=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16))),VB=e=>{if(!oe.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},KB=(e,...t)=>{try{return!!e(...t)}catch{return!1}},MR=e=>{const t=e.indexOf("://");let r=e;return t!==-1&&(r=r.slice(t+3)),r.includes("@")||r.includes(":")},QR=e=>{const t=oe.global!==void 0&&oe.global!==null?oe.global:globalThis,{ReadableStream:r,TextEncoder:n}=t;e=oe.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:s,Request:i,Response:o}=e,c=s?Lf(s):typeof fetch=="function",d=Lf(i),u=Lf(o);if(!c)return!1;const h=c&&Lf(r),m=c&&(typeof n=="function"?(v=>N=>v.encode(N))(new n):async v=>new Uint8Array(await new i(v).arrayBuffer())),p=d&&h&&KB(()=>{let v=!1;const N=new i(Xr.origin,{body:new r,method:"POST",get duplex(){return v=!0,"half"}}),F=N.headers.has("Content-Type");return N.body!=null&&N.body.cancel(),v&&!F}),x=u&&h&&KB(()=>oe.isReadableStream(new o("").body)),w={stream:x&&(v=>v.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(v=>{!w[v]&&(w[v]=(N,F)=>{let S=N&&N[v];if(S)return S.call(N);throw new $e(`Response type '${v}' is not supported`,$e.ERR_NOT_SUPPORT,F)})});const g=async v=>{if(v==null)return 0;if(oe.isBlob(v))return v.size;if(oe.isSpecCompliantForm(v))return(await new i(Xr.origin,{method:"POST",body:v}).arrayBuffer()).byteLength;if(oe.isArrayBufferView(v)||oe.isArrayBuffer(v))return v.byteLength;if(oe.isURLSearchParams(v)&&(v=v+""),oe.isString(v))return(await m(v)).byteLength},b=async(v,N)=>{const F=oe.toFiniteNumber(v.getContentLength());return F??g(N)};return async v=>{let{url:N,method:F,data:S,signal:E,cancelToken:D,timeout:T,onDownloadProgress:k,onUploadProgress:I,responseType:Y,headers:ee,withCredentials:ie="same-origin",fetchOptions:W,maxContentLength:ce,maxBodyLength:we}=JS(v);const ne=oe.isNumber(ce)&&ce>-1,re=oe.isNumber(we)&&we>-1,X=Q=>oe.hasOwnProp(v,Q)?v[Q]:void 0;let de=s||fetch;Y=Y?(Y+"").toLowerCase():"text";let ae=DR([E,D&&D.toAbortSignal()],T),q=null;const L=ae&&ae.unsubscribe&&(()=>{ae.unsubscribe()});let J;try{let Q;const O=X("auth");if(O){const Fe=O.username||"",Pe=O.password||"";Q={username:Fe,password:Pe}}if(MR(N)){const Fe=new URL(N,Xr.origin);if(!Q&&(Fe.username||Fe.password)){const Pe=VB(Fe.username),it=VB(Fe.password);Q={username:Pe,password:it}}(Fe.username||Fe.password)&&(Fe.username="",Fe.password="",N=Fe.href)}if(Q&&(ee.delete("authorization"),ee.set("Authorization","Basic "+btoa(RR((Q.username||"")+":"+(Q.password||""))))),ne&&typeof N=="string"&&N.startsWith("data:")&&PR(N)>ce)throw new $e("maxContentLength size of "+ce+" exceeded",$e.ERR_BAD_RESPONSE,v,q);if(re&&F!=="get"&&F!=="head"){const Fe=await b(ee,S);if(typeof Fe=="number"&&isFinite(Fe)&&Fe>we)throw new $e("Request body larger than maxBodyLength limit",$e.ERR_BAD_REQUEST,v,q)}if(I&&p&&F!=="get"&&F!=="head"&&(J=await b(ee,S))!==0){let Fe=new i(N,{method:"POST",body:S,duplex:"half"}),Pe;if(oe.isFormData(S)&&(Pe=Fe.headers.get("content-type"))&&ee.setContentType(Pe),Fe.body){const[it,et]=RB(J,tp(MB(I)));S=OB(Fe.body,HB,it,et)}}oe.isString(ie)||(ie=ie?"include":"omit");const G=d&&"credentials"in i.prototype;if(oe.isFormData(S)){const Fe=ee.getContentType();Fe&&/^multipart\/form-data/i.test(Fe)&&!/boundary=/i.test(Fe)&&ee.delete("content-type")}ee.set("User-Agent","axios/"+$w,!1);const le={...W,signal:ae,method:F.toUpperCase(),headers:MS(ee.normalize()),body:S,duplex:"half",credentials:G?ie:void 0};q=d&&new i(N,le);let ye=await(d?de(q,W):de(N,le));if(ne){const Fe=oe.toFiniteNumber(ye.headers.get("content-length"));if(Fe!=null&&Fe>ce)throw new $e("maxContentLength size of "+ce+" exceeded",$e.ERR_BAD_RESPONSE,v,q)}const xe=x&&(Y==="stream"||Y==="response");if(x&&ye.body&&(k||ne||xe&&L)){const Fe={};["status","statusText","headers"].forEach(Me=>{Fe[Me]=ye[Me]});const Pe=oe.toFiniteNumber(ye.headers.get("content-length")),[it,et]=k&&RB(Pe,tp(MB(k),!0))||[];let cr=0;const pt=Me=>{if(ne&&(cr=Me,cr>ce))throw new $e("maxContentLength size of "+ce+" exceeded",$e.ERR_BAD_RESPONSE,v,q);it&&it(Me)};ye=new o(OB(ye.body,HB,pt,()=>{et&&et(),L&&L()}),Fe)}Y=Y||"text";let be=await w[oe.findKey(w,Y)||"text"](ye,v);if(ne&&!x&&!xe){let Fe;
vendor: 7,817 bytes, lines 534-540
534if(be!=null&&(typeof be.byteLength=="number"?Fe=be.byteLength:typeof be.size=="number"?Fe=be.size:typeof be=="string"&&(Fe=typeof n=="function"?new n().encode(be).byteLength:be.length)),typeof Fe=="number"&&Fe>ce)throw new $e("maxContentLength size of "+ce+" exceeded",$e.ERR_BAD_RESPONSE,v,q)}return!xe&&L&&L(),await new Promise((Fe,Pe)=>{WS(Fe,Pe,{data:be,headers:Tn.from(ye.headers),status:ye.status,statusText:ye.statusText,config:v,request:q})})}catch(Q){if(L&&L(),ae&&ae.aborted&&ae.reason instanceof $e){const O=ae.reason;throw O.config=v,q&&(O.request=q),Q!==O&&(O.cause=Q),O}throw Q&&Q.name==="TypeError"&&/Load failed|fetch/i.test(Q.message)?Object.assign(new $e("Network Error",$e.ERR_NETWORK,v,q,Q&&Q.response),{cause:Q.cause||Q}):$e.from(Q,Q&&Q.code,v,q,Q&&Q.response)}}},OR=new Map,qS=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:s}=t,i=[n,s,r];let o=i.length,c=o,d,u,h=OR;for(;c--;)d=i[c],u=h.get(d),u===void 0&&h.set(d,u=c?new Map:QR(t)),h=u;return u};qS();const Yw={http:sR,xhr:_R,fetch:{get:qS}};oe.forEach(Yw,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const GB=e=>`- ${e}`,HR=e=>oe.isFunction(e)||e===null||e===!1;function VR(e,t){e=oe.isArray(e)?e:[e];const{length:r}=e;let n,s;const i={};for(let o=0;o<r;o++){n=e[o];let c;if(s=n,!HR(n)&&(s=Yw[(c=String(n)).toLowerCase()],s===void 0))throw new $e(`Unknown adapter '${c}'`);if(s&&(oe.isFunction(s)||(s=s.get(t))))break;i[c||"#"+o]=s}if(!s){const o=Object.entries(i).map(([d,u])=>`adapter ${d} `+(u===!1?"is not supported by the environment":"is not available in the build"));let c=r?o.length>1?`since : 535`+o.map(GB).join(` 536`):" "+GB(o[0]):"as no adapter specified";throw new $e("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return s}const $S={getAdapter:VR,adapters:Yw};function Ex(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ah(null,e)}function WB(e){return Ex(e),e.headers=Tn.from(e.headers),e.data=Sx.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),$S.getAdapter(e.adapter||nh.adapter,e)(e).then(function(n){Ex(e),e.response=n;try{n.data=Sx.call(e,e.transformResponse,n)}finally{delete e.response}return n.headers=Tn.from(n.headers),n},function(n){if(!GS(n)&&(Ex(e),n&&n.response)){e.response=n.response;try{n.response.data=Sx.call(e,e.transformResponse,n.response)}finally{delete e.response}n.response.headers=Tn.from(n.response.headers)}return Promise.reject(n)})}const Zp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Zp[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const zB={};Zp.transitional=function(t,r,n){function s(i,o){return"[Axios v"+$w+"] Transitional option '"+i+"'"+o+(n?". "+n:"")}return(i,o,c)=>{if(t===!1)throw new $e(s(o," has been removed"+(r?" in "+r:"")),$e.ERR_DEPRECATED);return r&&!zB[o]&&(zB[o]=!0,console.warn(s(o," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,o,c):!0}};Zp.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function KR(e,t,r){if(typeof e!="object")throw new $e("options must be an object",$e.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let s=n.length;for(;s-- >0;){const i=n[s],o=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(o){const c=e[i],d=c===void 0||o(c,i,e);if(d!==!0)throw new $e("option "+i+" must be "+d,$e.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new $e("Unknown option "+i,$e.ERR_BAD_OPTION)}}const Im={assertOptions:KR,validators:Zp},Rn=Im.validators;let Fl=class{constructor(t){this.defaults=t||{},this.interceptors={request:new PB,response:new PB}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const i=(()=>{if(!s.stack)return"";const o=s.stack.indexOf(` 537`);return o===-1?"":s.stack.slice(o+1)})();try{if(!n.stack)n.stack=i;else if(i){const o=i.indexOf(` 538`),c=o===-1?-1:i.indexOf(` 539`,o+1),d=c===-1?"":i.slice(c+1);String(n.stack).endsWith(d)||(n.stack+=` 540`+i)}}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Il(this.defaults,r);const{transitional:n,paramsSerializer:s,headers:i}=r;n!==void 0&&Im.assertOptions(n,{silentJSONParsing:Rn.transitional(Rn.boolean),forcedJSONParsing:Rn.transitional(Rn.boolean),clarifyTimeoutError:Rn.transitional(Rn.boolean),legacyInterceptorReqResOrdering:Rn.transitional(Rn.boolean),advertiseZstdAcceptEncoding:Rn.transitional(Rn.boolean)},!1),s!=null&&(oe.isFunction(s)?r.paramsSerializer={serialize:s}:Im.assertOptions(s,{encode:Rn.function,serialize:Rn.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Im.assertOptions(r,{baseUrl:Rn.spelling("baseURL"),withXsrfToken:Rn.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=i&&oe.merge(i.common,i[r.method]);i&&oe.forEach(["delete","get","head","post","put","patch","query","common"],w=>{delete i[w]}),r.headers=Tn.concat(o,i);const c=[];let d=!0;this.interceptors.request.forEach(function(g){if(typeof g.runWhen=="function"&&g.runWhen(r)===!1)return;d=d&&g.synchronous;const b=r.transitional||Jw;b&&b.legacyInterceptorReqResOrdering?c.unshift(g.fulfilled,g.rejected):c.push(g.fulfilled,g.rejected)});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let h,m=0,p;if(!d){const w=[WB.bind(this),void 0];for(w.unshift(...c),w.push(...u),p=w.length,h=Promise.resolve(r);m<p;)h=h.then(w[m++],w[m++]);return h}p=c.length;let x=r;for(;m<p;){const w=c[m++],g=c[m++];try{x=w(x)}catch(b){g.call(this,b);break}}try{h=WB.call(this,x)}catch(w){return Promise.reject(w)}for(m=0,p=u.length;m<p;)h=h.then(u[m++],u[m++]);return h}getUri(t){t=Il(this.defaults,t);const r=zS(t.baseURL,t.url,t.allowAbsoluteUrls);return VS(r,t.params,t.paramsSerializer)}};oe.forEach(["delete","get","head","options"],function(t){Fl.prototype[t]=function(r,n){return this.request(Il(n||{},{method:t,url:r,data:(n||{}).data}))}});oe.forEach(["post","put","patch","query"],function(t){function r(n){return function(i,o,c){return this.request(Il(c||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Fl.prototype[t]=r(),t!=="query"&&(Fl.prototype[t+"Form"]=r(!0))});let GR=class YS{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(s=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](s);n._listeners=null}),this.promise.then=s=>{let i;const o=new Promise(c=>{n.subscribe(c),i=c}).then(s);return o.cancel=function(){n.unsubscribe(i)},o},t(function(i,o,c){n.reason||(n.reason=new ah(i,o,c),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new YS(function(s){t=s}),cancel:t}}};function WR(e){return function(r){return e.apply(null,r)}}function zR(e){return oe.isObject(e)&&e.isAxiosError===!0}const xb={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
540alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(xb).forEach(([e,t])=>{xb[t]=e});function XS(e){const t=new Fl(e),r=kS(Fl.prototype.request,t);return oe.extend(r,Fl.prototype,t,{allOwnKeys:!0}),oe.extend(r,t,null,{allOwnKeys:!0}),r.create=function(s){return XS(Il(e,s))},r}const gr=XS(nh);gr.Axios=Fl;gr.CanceledError=ah;gr.CancelToken=GR;gr.isCancel=GS;gr.VERSION=$w;gr.toFormData=Xp;gr.AxiosError=$e;gr.Cancel=gr.CanceledError;gr.all=function(t){return Promise.all(t)};gr.spread=WR;gr.isAxiosError=zR;gr.mergeConfig=Il;gr.AxiosHeaders=Tn;gr.formToJSON=e=>KS(oe.isHTMLForm(e)?new FormData(e):e);gr.getAdapter=$S.getAdapter;gr.HttpStatusCode=xb;gr.default=gr;const{Axios:ehe,AxiosError:the,CanceledError:rhe,isCancel:nhe,CancelToken:ahe,VERSION:she,all:ihe,Cancel:ohe,isAxiosError:lhe,spread:che,toFormData:Ahe,AxiosHeaders:dhe,HttpStatusCode:uhe,formToJSON:hhe,getAdapter:fhe,mergeConfig:mhe,create:phe}=gr,JR=typeof window>"u",JB=!JR&&window.self!==window.top,Tx=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),zr=[];for(let e=0;e<256;++e)zr.push((e+256).toString(16).slice(1));function qR(e,t=0){return(zr[e[t+0]]+zr[e[t+1]]+zr[e[t+2]]+zr[e[t+3]]+"-"+zr[e[t+4]]+zr[e[t+5]]+"-"+zr[e[t+6]]+zr[e[t+7]]+"-"+zr[e[t+8]]+zr[e[t+9]]+"-"+zr[e[t+10]]+zr[e[t+11]]+zr[e[t+12]]+zr[e[t+13]]+zr[e[t+14]]+zr[e[t+15]]).toLowerCase()}let kx;const $R=new Uint8Array(16);function YR(){if(!kx){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");kx=crypto.getRandomValues.bind(crypto)}return kx($R)}const XR=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),qB={randomUUID:XR};function ZR(e,t,r){var s;e=e||{};const n=e.random??((s=e.rng)==null?void 0:s.call(e))??YR();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,qR(n)}function eM(e,t,r){return qB.randomUUID&&!e?qB.randomUUID():ZR(e)}const _d=typeof window<"u"?window:{base44SharedInstances:{}};function tM(e,t){return _d.base44SharedInstances||(_d.base44SharedInstances={}),_d.base44SharedInstances[e]||(_d.base44SharedInstances[e]={instance:t()}),_d.base44SharedInstances[e].instance}const rM="__user_heartbeat_event__",nM="__initialization_event__",aM="__session_duration_event__",$B="analytics-enable",YB="base44_analytics_session_id",sM={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},iM="analytics",Rt=tM(iM,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,config:{...sM,...fM()}})),oM=({axiosClient:e,serverUrl:t,appId:r,userAuthModule:n})=>{var s;const{maxQueueSize:i,throttleTime:o,batchSize:c}=Rt.config;if(!(!((s=Rt.config)===null||s===void 0)&&s.enabled))return{track:()=>{},cleanup:()=>{}};let d;const u=`${t}/api/apps/${r}/analytics/track/batch`,h=async F=>{await e.request({method:"POST",url:`/apps/${r}/analytics/track/batch`,data:{events:F}})},m=F=>{try{const S=JSON.stringify({events:F}),E=new Blob([S],{type:"application/json"});return typeof navigator>"u"||S.length>6e4||!navigator.sendBeacon(u,E)}catch{return!1}},p=async(F,S={})=>
540{if(F.length===0)return;const E=await hM(n),D=F.map(uM(E));try{(!S.isBeacon||!m(D))&&await h(D)}catch{}},x=()=>{ZB(p,{throttleTime:o,batchSize:c})},w=F=>{if(Rt.requestsQueue.length>=i)return;const S=dM();Rt.requestsQueue.push({...F,...S}),x()},g=()=>{ZB(p,{throttleTime:o,batchSize:c}),d=e4(w),cM()},b=()=>{XB(),d==null||d(),AM(w);const F=Rt.requestsQueue.splice(0);p(F,{isBeacon:!0})},v=()=>{typeof window>"u"||(document.visibilityState==="hidden"?b():document.visibilityState==="visible"&&g())},N=()=>{XB(),d==null||d(),typeof window<"u"&&window.removeEventListener("visibilitychange",v)};return x(),d=e4(w),lM(w),typeof window<"u"&&window.addEventListener("visibilitychange",v),{track:w,cleanup:N}};function XB(){Rt.isProcessing=!1}async function ZB(e,t){if(Rt.isProcessing)return;Rt.isProcessing=!0;const{throttleTime:r=1e3,batchSize:n=30}=t??{};for(;Rt.isProcessing&&Rt.requestsQueue.length>0;){const s=Rt.requestsQueue.splice(0,n);s.length&&await e(s),await new Promise(i=>setTimeout(i,r))}Rt.isProcessing=!1}function e4(e){var t;if(Rt.isHeartBeatProcessing||((t=Rt.config.heartBeatInterval)!==null&&t!==void 0?t:0)<10)return()=>{};Rt.isHeartBeatProcessing=!0;const r=setInterval(()=>{e({eventName:rM})},Rt.config.heartBeatInterval);return()=>{clearInterval(r),Rt.isHeartBeatProcessing=!1}}function lM(e){typeof window>"u"||Rt.wasInitializationTracked||(Rt.wasInitializationTracked=!0,e({eventName:nM,properties:{referrer:document==null?void 0:document.referrer}}))}function cM(){typeof window>"u"||Rt.sessionStartTime!==null||(Rt.sessionStartTime=new Date().toISOString())}function AM(e){if(typeof window>"u"||Rt.sessionStartTime===null)return;const t=new Date().getTime()-new Date(Rt.sessionStartTime).getTime();Rt.sessionStartTime=null,e({eventName:aM,properties:{sessionDuration:t}})}function dM(){return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"?window.location.pathname:null}}function uM(e){return t=>({event_name:t.eventName,properties:t.properties,timestamp:t.timestamp,page_url:t.pageUrl,...e})}let _x=null;async function hM(e){if(!Rt.sessionContext){if(!_x){const t=Xw();_x=e.me().then(r=>({user_id:r.id,session_id:t})).catch(()=>({user_id:null,session_id:t}))}Rt.sessionContext=await _x}return Rt.sessionContext}function fM(){if(typeof window>"u")return;const t=new URLSearchParams(window.location.search).get($B);if(t==null||!t.length)return;const r=new URLSearchParams(window.location.search);r.delete($B);const n=window.location.pathname+(r.toString()?"?"+r.toString():"");return window.history.replaceState({},"",n),{enabled:t==="true"}}function Xw(){if(typeof window>"u")return Tx();try{const e=localStorage.getItem(YB);if(!e){const t=Tx();return localStorage.setItem(YB,t),t}return e}catch{return Tx()}}class mM extends Error{constructor(t,r,n,s,i){super(t),this.name="Base44Error",this.status=r,this.code=n,this.data=s,this.originalError=i}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function Kd({baseURL:e,headers:t={},token:r,interceptResponses:n=!0,onError:s}){const i=gr.create({baseURL:e,headers:{"Content-Type":"application/json",Accept:"application/json",...t}});return r&&(i.defaults.headers.common.Authorization=`Bearer ${r}`),i.interceptors.request.use(o=>{typeof window<"u"&&(o.headers.set("X-Origin-URL",window.location.href),o.headers.get("Authorization")||o.headers.set("X-Base44-Anonymous-Id",Xw()));const c=eM();if(o.requestId=c,JB)try{window.parent.postMessage({type:"api-request-start",requestId:c,data:{url:e+o.url,method:o.method,body:o.data instanceof FormData?"[FormData object]":o.data}},"*")}catch{}return o}),n&&i.interceptors.response.use(o=>{var c;const d=(c=o.config)===null||c===void 0?void 0:c.requestId;try{JB&&d&&window.parent.postMessage({type:"api-request-end",requestId:d,data:{statusCode:o.status,response:o.data}},"*")}catch{}return o.data},o=>{var c,d,u,h,m,p,x,w;const g=((d=(c=o.response)===null||c===void 0?void 0:c.data)===null||d===void 0?void 0:d.message)||((h=(u=o.response)===null||u===void 0?void 0:u.data)===null||h===void 0?void 0:h.detail)||o.message,b=new mM(g,(m=o.response)===null||m===void 0?void 0:m.status,(x=(p=o.response)===null||p===void 0?void 0:p.data)===null||x===void 0?void 0:x.code,(w=o.response)===null||w===void 0?void 0:w.data,o);return s==null||s(b),Promise.reject(b)}),i}function t4(e){const{axios:t,appId:r,getSocket:n}=e;return new Proxy({}
540,{get(s,i){if(!(typeof i!="string"||i==="then"||i.startsWith("_")))return gM(t,r,i,n)}})}function pM(e){var t;try{const r=JSON.parse(e);return{type:r.type,data:r.data,id:r.id||((t=r.data)===null||t===void 0?void 0:t.id),timestamp:r.timestamp||new Date().toISOString()}}catch(r){return console.warn("[Base44 SDK] Failed to parse realtime message:",r),null}}function gM(e,t,r,n){const s=`/apps/${t}/entities/${r}`;return{async list(i,o,c,d){const u={};return i&&(u.sort=i),o&&(u.limit=o),c&&(u.skip=c),d&&(u.fields=Array.isArray(d)?d.join(","):d),e.get(s,{params:u})},async filter(i,o,c,d,u){const h={q:JSON.stringify(i)};return o&&(h.sort=o),c&&(h.limit=c),d&&(h.skip=d),u&&(h.fields=Array.isArray(u)?u.join(","):u),e.get(s,{params:h})},async get(i){return e.get(`${s}/${i}`)},async create(i){return e.post(s,i)},async update(i,o){return e.put(`${s}/${i}`,o)},async delete(i){return e.delete(`${s}/${i}`)},async deleteMany(i){return e.delete(s,{data:i})},async bulkCreate(i){return e.post(`${s}/bulk`,i)},async updateMany(i,o){return e.patch(`${s}/update-many`,{query:i,data:o})},async bulkUpdate(i){return e.put(`${s}/bulk`,i)},async importEntities(i){const o=new FormData;return o.append("file",i,i.name),e.post(`${s}/import`,o,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(i){const o=`entities:${t}:${r}`;return n().subscribeToRoom(o,{update_model:u=>{var h;const m=pM(u.data);if(m){m.type!=="delete"&&(!((h=m.data)===null||h===void 0)&&h._oversize)&&console.error(`[Base44 SDK] Realtime broadcast for ${r}#${m.id} was oversize and got slimmed for transport. Fields >10 KB are empty and the rest of the record may be a stub. Call \`entities.${r}.get("${m.id}")\` to fetch the full record.`);try{i(m)}catch(p){console.error("[Base44 SDK] Subscription callback error:",p)}}}})}}}function xM(e,t){return{async call(r,n,s){if(!(r!=null&&r.trim()))throw new Error("Integration slug is required and cannot be empty");if(!(n!=null&&n.trim()))throw new Error("Operation ID is required and cannot be empty");const{pathParams:i,queryParams:o,...c}=s??{},d={...c,...i&&{path_params:i},...o&&{query_params:o}};return await e.post(`/apps/${t}/integrations/custom/${r}/${n}`,d)}}}function r4(e,t){const r=xM(e,t);return new Proxy({},{get(n,s){if(!(typeof s!="string"||s==="then"||s.startsWith("_")))return s==="custom"?r:new Proxy({},{get(i,o){if(!(typeof o!="string"||o==="then"||o.startsWith("_")))return async c=>{if(typeof c=="string")throw new Error(`Integration ${o} must receive an object with named parameters, received: ${c}`);let d,u;return c instanceof FormData||c&&Object.values(c).some(h=>h instanceof File)?(d=new FormData,Object.keys(c).forEach(h=>{c[h]instanceof File?d.append(h,c[h],c[h].name):typeof c[h]=="object"&&c[h]!==null?d.append(h,JSON.stringify(c[h])):d.append(h,c[h])}),u="multipart/form-data"):(d=c,u="application/json"),s==="Core"?e.post(`/apps/${t}/integration-endpoints/Core/${o}`,d||c,{headers:{"Content-Type":u}}):e.post(`/apps/${t}/integration-endpoints/installable/${s}/integration-endpoints/${o}`,d||c,{headers:{"Content-Type":u}})}}})}})}function yM(){return typeof window>"u"?!1:window!==window.parent}function bM(e,t,r){const i=Math.round(window.screenX+(window.outerWidth-500)/2),o=Math.round(window.screenY+(window.outerHeight-600)/2),c=window.open(e,"base44_auth",`width=500,height=600,left=${i},top=${o},resizable=yes,scrollbars=yes`);if(!c)return;const d=()=>{window.removeEventListener("message",u),clearInterval(h),c.closed||c.close()},u=m=>{var p;if(m.origin!==r||m.source!==c||!(!((p=m.data)===null||p===void 0)&&p.access_token))return;d();const x=new URL(t),{access_token:w,is_new_user:g}=m.data;x.searchParams.set("access_token",w),g!=null&&x.searchParams.set("is_new_user",String(g)),window.location.href=x.toString()},h=setInterval(()=>{c.closed&&d()},500);window.addEventListener("message",u)}function wM(e,t,r,n){return{async me(){return e.get(`/apps/${r}/entities/User/me`)},async updateMe(s){return e.put(`/apps/${r}/entities/User/me`,s)},redirectToLogin(s){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const i=s?new URL(s,window.location.origin).toString():window.location.href,o=`${n.appBaseUrl}/login?from_url=${encodeURIComponent(i)}`;window.location.href=o},loginWithProvider(s,i="/"){const o=new URL(i,window.location.origin).toString(),c=`app_id=${r}&from_url=${encodeURIComponent(o)}`;let d;s==="sso"?d=`/apps/${r}/auth/sso/login`:d=`/apps/auth${s==="google"?"":`/${s}`}/login`;const u=`${n.appBaseUrl}/api${d}?${c}`;if(yM()){const h=`${u}&popup_origin=${encodeURIComponent(window.location.origin)}`;return bM(h,o,window.location.origin)}window.location.href=u}
540,logout(s){if(delete e.defaults.headers.common.Authorization,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(c){console.error("Failed to remove token from localStorage:",c)}const i=s||window.location.href,o=`${n.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(i)}`;window.location.href=o}},setToken(s,i=!0){if(s&&(e.defaults.headers.common.Authorization=`Bearer ${s}`,t.defaults.headers.common.Authorization=`Bearer ${s}`,i&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",s),window.localStorage.setItem("token",s)}catch(o){console.error("Failed to save token to localStorage:",o)}},async loginViaEmailPassword(s,i,o){var c;try{const d=await e.post(`/apps/${r}/auth/login`,{email:s,password:i,...o&&{turnstile_token:o}}),{access_token:u,user:h}=d;return u&&this.setToken(u),{access_token:u,user:h}}catch(d){throw((c=d.response)===null||c===void 0?void 0:c.status)===401&&await this.logout(),d}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(s,i){return e.post(`/apps/${r}/users/invite-user`,{user_email:s,role:i})},register(s){return e.post(`/apps/${r}/auth/register`,s)},verifyOtp({email:s,otpCode:i}){return e.post(`/apps/${r}/auth/verify-otp`,{email:s,otp_code:i})},resendOtp(s){return e.post(`/apps/${r}/auth/resend-otp`,{email:s})},resetPasswordRequest(s){return e.post(`/apps/${r}/auth/reset-password-request`,{email:s})},resetPassword({resetToken:s,newPassword:i}){return e.post(`/apps/${r}/auth/reset-password`,{reset_token:s,new_password:i})},changePassword({userId:s,currentPassword:i,newPassword:o}){return e.post(`/apps/${r}/auth/change-password`,{user_id:s,current_password:i,new_password:o})}}}function vM(e,t){return{async getAccessToken(r){const n=`/apps/${t}/auth/sso/accesstoken/${r}`;return e.get(n)}}}function CM(e,t){return{async getAccessToken(r){if(!r||typeof r!="string")throw new Error("Integration type is required and must be a string");return(await e.get(`/apps/${t}/external-auth/tokens/${r}`)).access_token},async getConnection(r){var n;if(!r||typeof r!="string")throw new Error("Integration type is required and must be a string");const i=await e.get(`/apps/${t}/external-auth/tokens/${r}`);return{accessToken:i.access_token,connectionConfig:(n=i.connection_config)!==null&&n!==void 0?n:null}},async getWorkspaceConnection(r){var n;if(!r||typeof r!="string")throw new Error("Connector ID is required and must be a string");const i=await e.get(`/apps/${t}/external-auth/tokens/connectors/${r}`);return{accessToken:i.access_token,connectionConfig:(n=i.connection_config)!==null&&n!==void 0?n:null}},async getCurrentAppUserAccessToken(r){if(!r||typeof r!="string")throw new Error("Connector ID is required and must be a string");return(await e.get(`/apps/${t}/app-user-auth/connectors/${r}/token`)).access_token},async getCurrentAppUserConnection(r){var n;if(!r||typeof r!="string")throw new Error("Connector ID is required and must be a string");const i=await e.get(`/apps/${t}/app-user-auth/connectors/${r}/token`);return{accessToken:i.access_token,connectionConfig:(n=i.connection_config)!==null&&n!==void 0?n:null}}}}function BM(e,t){return{async connectAppUser(r){if(!r||typeof r!="string")throw new Error("Connector ID is required and must be a string");return(await e.post(`/apps/${t}/app-user-auth/connectors/${r}/initiate`)).redirect_url},async disconnectAppUser(r){if(!r||typeof r!="string")throw new Error("Connector ID is required and must be a string");await e.delete(`/apps/${t}/app-user-auth/connectors/${r}`)}}}function ju(e={}){const{storageKey:t="base44_access_token",paramName:r="access_token",saveToStorage:n=!0,removeFromUrl:s=!0}=e;let i=null;if(typeof window<"u"&&window.location)try{const o=new URLSearchParams(window.location.search);if(i=o.get(r),i){if(n&&NM(i,{storageKey:t}),s){o.delete(r);const c=`${window.location.pathname}${o.toString()?`?${o.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,c)}return i}}catch(o){console.error("Error retrieving token from URL:",o)}if(typeof window<"u"&&window.localStorage)try{return i=window.localStorage.getItem(t),i}catch(o){console.error("Error retrieving token from local storage:",o)}return null}function NM(e,t){const{storageKey:r="base44_access_token"}=t;if(typeof window>"u"||!window.localStorage||!e)return!1;try{return window.localStorage.setItem(r,e),window.localStorage.setItem("token",e),!0}catch(n){return console.error("Error saving token to local storage:",n),!1}}function n4(e,t,r){const n=(i,o)=>i?`${String(i).replace(/\/$/,"")}${o}`:o,s=i=>{const o=new Headers;if(r!=null&&r.getAuthHeaders){const c=r.getAuthHeaders();
540Object.entries(c).forEach(([d,u])=>{u!=null&&o.set(d,String(u))})}return i&&new Headers(i).forEach((c,d)=>{o.set(d,c)}),o};return{async invoke(i,o){if(typeof o=="string")throw new Error(`Function ${i} must receive an object with named parameters, received: ${o}`);let c,d;return o instanceof FormData||o&&Object.values(o).some(u=>u instanceof File)?(c=new FormData,Object.keys(o).forEach(u=>{o[u]instanceof File?c.append(u,o[u],o[u].name):typeof o[u]=="object"&&o[u]!==null?c.append(u,JSON.stringify(o[u])):c.append(u,o[u])}),d="multipart/form-data"):(c=o,d="application/json"),e.post(`/apps/${t}/functions/${i}`,c||o,{headers:{"Content-Type":d}})},async fetch(i,o={}){const d=`/functions${i.startsWith("/")?i:`/${i}`}`,u=s(o.headers),h={...o,headers:u};return await fetch(n(r==null?void 0:r.baseURL,d),h)}}}function a4({axios:e,getSocket:t,appId:r,serverUrl:n,token:s}){const i=`/apps/${r}/agents`,o={},c=()=>e.get(`${i}/conversations`),d=g=>e.get(`${i}/conversations/${g}`);return{getConversations:c,getConversation:d,listConversations:g=>e.get(`${i}/conversations`,{params:g}),createConversation:g=>e.post(`${i}/conversations`,g),addMessage:async(g,b)=>e.post(`${i}/conversations/v2/${g.id}/messages`,b),subscribeToConversation:(g,b)=>{const v=`/agent-conversations/${g}`,N=t(),F=d(g).then(S=>(o[g]=S,S));return N.subscribeToRoom(v,{connect:()=>{},update_model:async({data:S})=>{const E=JSON.parse(S);if(E._message){await F;const D=E._message,T=o[g];if(T){const k=T.messages||[],I=k.findIndex(ee=>ee.id===D.id),Y=I!==-1?k.map((ee,ie)=>ie===I?D:ee):[...k,D];o[g]={...T,messages:Y},b==null||b(o[g])}}}})},getWhatsAppConnectURL:g=>{const b=`${n}/api/apps/${r}/agents/${encodeURIComponent(g)}/whatsapp`,v=s??ju();return v?`${b}?token=${v}`:b},getTelegramConnectURL:g=>{const b=`${n}/api/apps/${r}/agents/${encodeURIComponent(g)}/telegram`,v=s??ju();return v?`${b}?token=${v}`:b}}}function s4(e,t){const r=`/app-logs/${t}`;return{async logUserInApp(n){await e.post(`${r}/log-user-in-app/${n}`)},async fetchLogs(n={}){return await e.get(r,{params:n})},async getStats(n={}){return await e.get(`${r}/stats`,{params:n})}}}function FM(e,t){return{async inviteUser(r,n){if(n!=="user"&&n!=="admin")throw new Error(`Invalid role: "${n}". Role must be either "user" or "admin".`);return await e.post(`/apps/${t}/runtime/users/invite-user`,{user_email:r,role:n})}}}const Ss=Object.create(null);Ss.open="0";Ss.close="1";Ss.ping="2";Ss.pong="3";Ss.message="4";Ss.upgrade="5";Ss.noop="6";const Lm=Object.create(null);Object.keys(Ss).forEach(e=>{Lm[Ss[e]]=e});const yb={type:"error",data:"parser error"},ZS=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",eE=typeof ArrayBuffer=="function",tE=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,Zw=({type:e,data:t},r,n)=>ZS&&t instanceof Blob?r?n(t):i4(t,n):eE&&(t instanceof ArrayBuffer||tE(t))?r?n(t):i4(new Blob([t]),n):n(Ss[e]+(t||"")),i4=(e,t)=>{const r=new FileReader;return r.onload=function(){const n=r.result.split(",")[1];t("b"+(n||""))},r.readAsDataURL(e)};function o4(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let Dx;function jM(e,t){if(ZS&&e.data instanceof Blob)return e.data.arrayBuffer().then(o4).then(t);if(eE&&(e.data instanceof ArrayBuffer||tE(e.data)))return t(o4(e.data));Zw(e,!1,r=>{Dx||(Dx=new TextEncoder),t(Dx.encode(r))})}const l4="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Gd=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<l4.length;e++)Gd[l4.charCodeAt(e)]=e;const SM=e=>{let t=e.length*.75,r=e.length,n,s=0,i,o,c,d;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const u=new ArrayBuffer(t),h=new Uint8Array(u);for(n=0;n<r;n+=4)i=Gd[e.charCodeAt(n)],o=Gd[e.charCodeAt(n+1)],c=Gd[e.charCodeAt(n+2)],d=Gd[e.charCodeAt(n+3)],h[s++]=i<<2|o>>4,h[s++]=(o&15)<<4|c>>2,h[s++]=(c&3)<<6|d&63;return u},EM=typeof ArrayBuffer=="function",e1=(e,t)=>{if(typeof e!="string")return{type:"message",data:rE(e,t)};const r=e.charAt(0);return r==="b"?{type:"message",data:TM(e.substring(1),t)}:Lm[r]?e.length>1?{type:Lm[r],data:e.substring(1)}:{type:Lm[r]}:yb},TM=(e,t)=>{if(EM){const r=SM(e);return rE(r,t)}else return{base64:!0,data:e}},rE=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},nE="�",kM=(e,t)=>{const r=e.length,n=new Array(r);let s=0;e.forEach((i,o)=>{Zw(i,!1,c=>{n[o]=c,++s===r&&t(n.join(nE))})})},_M=(e,t)=>{const r=e.split(nE),n=[];for(let s=0;s<r.length;s++){const i=e1(r[s],t);
vendor: 3,828 bytes, line 540
540if(n.push(i),i.type==="error")break}return n};function DM(){return new TransformStream({transform(e,t){jM(e,r=>{const n=r.length;let s;if(n<126)s=new Uint8Array(1),new DataView(s.buffer).setUint8(0,n);else if(n<65536){s=new Uint8Array(3);const i=new DataView(s.buffer);i.setUint8(0,126),i.setUint16(1,n)}else{s=new Uint8Array(9);const i=new DataView(s.buffer);i.setUint8(0,127),i.setBigUint64(1,BigInt(n))}e.data&&typeof e.data!="string"&&(s[0]|=128),t.enqueue(s),t.enqueue(r)})}})}let Ux;function Pf(e){return e.reduce((t,r)=>t+r.length,0)}function Rf(e,t){if(e[0].length===t)return e.shift();const r=new Uint8Array(t);let n=0;for(let s=0;s<t;s++)r[s]=e[0][n++],n===e[0].length&&(e.shift(),n=0);return e.length&&n<e[0].length&&(e[0]=e[0].slice(n)),r}function UM(e,t){Ux||(Ux=new TextDecoder);const r=[];let n=0,s=-1,i=!1;return new TransformStream({transform(o,c){for(r.push(o);;){if(n===0){if(Pf(r)<1)break;const d=Rf(r,1);i=(d[0]&128)===128,s=d[0]&127,s<126?n=3:s===126?n=1:n=2}else if(n===1){if(Pf(r)<2)break;const d=Rf(r,2);s=new DataView(d.buffer,d.byteOffset,d.length).getUint16(0),n=3}else if(n===2){if(Pf(r)<8)break;const d=Rf(r,8),u=new DataView(d.buffer,d.byteOffset,d.length),h=u.getUint32(0);if(h>Math.pow(2,21)-1){c.enqueue(yb);break}s=h*Math.pow(2,32)+u.getUint32(4),n=3}else{if(Pf(r)<s)break;const d=Rf(r,s);c.enqueue(e1(i?d:Ux.decode(d),t)),n=0}if(s===0||s>e){c.enqueue(yb);break}}}})}const aE=4;function Cr(e){if(e)return IM(e)}function IM(e){for(var t in Cr.prototype)e[t]=Cr.prototype[t];return e}Cr.prototype.on=Cr.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};Cr.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this};Cr.prototype.off=Cr.prototype.removeListener=Cr.prototype.removeAllListeners=Cr.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var r=this._callbacks["$"+e];if(!r)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var n,s=0;s<r.length;s++)if(n=r[s],n===t||n.fn===t){r.splice(s,1);break}return r.length===0&&delete this._callbacks["$"+e],this};Cr.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(r){r=r.slice(0);for(var n=0,s=r.length;n<s;++n)r[n].apply(this,t)}return this};Cr.prototype.emitReserved=Cr.prototype.emit;Cr.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};Cr.prototype.hasListeners=function(e){return!!this.listeners(e).length};const e0=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,r)=>r(t,0),ka=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),LM="arraybuffer";function sE(e,...t){return t.reduce((r,n)=>(e.hasOwnProperty(n)&&(r[n]=e[n]),r),{})}const PM=ka.setTimeout,RM=ka.clearTimeout;function t0(e,t){t.useNativeTimers?(e.setTimeoutFn=PM.bind(ka),e.clearTimeoutFn=RM.bind(ka)):(e.setTimeoutFn=ka.setTimeout.bind(ka),e.clearTimeoutFn=ka.clearTimeout.bind(ka))}const MM=1.33;function QM(e){return typeof e=="string"?OM(e):Math.ceil((e.byteLength||e.size)*MM)}function OM(e){let t=0,r=0;for(let n=0,s=e.length;n<s;n++)t=e.charCodeAt(n),t<128?r+=1:t<2048?r+=2:t<55296||t>=57344?r+=3:(n++,r+=4);return r}function iE(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function HM(e){let t="";for(let r in e)e.hasOwnProperty(r)&&(t.length&&(t+="&"),t+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t}function VM(e){let t={},r=e.split("&");for(let n=0,s=r.length;n<s;n++){let i=r[n].split("=");
vendor: 6,261 bytes, line 540
540t[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return t}class KM extends Error{constructor(t,r,n){super(t),this.description=r,this.context=n,this.type="TransportError"}}class t1 extends Cr{constructor(t){super(),this.writable=!1,t0(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,r,n){return super.emitReserved("error",new KM(t,r,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const r=e1(t,this.socket.binaryType);this.onPacket(r)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,r={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(r)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const r=HM(t);return r.length?"?"+r:""}}class GM extends t1{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const r=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let n=0;this._polling&&(n++,this.once("pollComplete",function(){--n||r()})),this.writable||(n++,this.once("drain",function(){--n||r()}))}else r()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const r=n=>{if(this.readyState==="opening"&&n.type==="open"&&this.onOpen(),n.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(n)};_M(t,this.socket.binaryType).forEach(r),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,kM(t,r=>{this.doWrite(r,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",r=this.query||{};return this.opts.timestampRequests!==!1&&(r[this.opts.timestampParam]=iE()),!this.supportsBinary&&!r.sid&&(r.b64=1),this.createUri(t,r)}}let oE=!1;try{oE=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const WM=oE;function zM(){}class JM extends GM{constructor(t){if(super(t),typeof location<"u"){const r=location.protocol==="https:";let n=location.port;n||(n=r?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||n!==t.port}}doWrite(t,r){const n=this.request({method:"POST",data:t});n.on("success",r),n.on("error",(s,i)=>{this.onError("xhr post error",s,i)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(r,n)=>{this.onError("xhr poll error",r,n)}),this.pollXhr=t}}class vs extends Cr{constructor(t,r,n){super(),this.createRequest=t,t0(this,n),this._opts=n,this._method=n.method||"GET",this._uri=r,this._data=n.data!==void 0?n.data:null,this._create()}_create(){var t;const r=sE(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");r.xdomain=!!this._opts.xd;const n=this._xhr=this.createRequest(r);try{n.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let s in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(s)&&n.setRequestHeader(s,this._opts.extraHeaders[s])}}catch{}if(this._method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(n),"withCredentials"in n&&(n.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(n.timeout=this._opts.requestTimeout),n.onreadystatechange=()=>{var s;n.readyState===3&&((s=this._opts.cookieJar)===null||s===void 0||s.parseCookies(n.getResponseHeader("set-cookie"))),n.readyState===4&&(n.status===200||n.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof n.status=="number"?n.status:0)},0))},n.send(this._data)}catch(s){this.setTimeoutFn(()=>{this._onError(s)},0);return}typeof document<"u"&&(this._index=vs.requestsCount++,vs.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=zM,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete vs.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}vs.requestsCount=0;vs.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",c4);else if(typeof addEventListener=="function"){const e="onpagehide"in ka?"pagehide":"unload";addEventListener(e,c4,!1)}}function c4(){for(let e in vs.requests)vs.requests.hasOwnProperty(e)&&vs.requests[e].abort()}const qM=(function(){const e=lE({xdomain:!1});return e&&e.responseType!==null})();class $M extends JM{constructor(t){super(t);const r=t&&t.forceBase64;this.supportsBinary=qM&&!r}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new vs(lE,this.uri(),t)}}function lE(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||WM))return new XMLHttpRequest}catch{}if(!t)try{return new ka[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const cE=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class YM extends t1{get name(){return"websocket"}doOpen(){const t=this.uri(),r=this.opts.protocols,n=cE?{}:sE(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,r,n)}catch(s){return this.emitReserved("error",s)}
vendor: 15,989 bytes, line 540
540this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let r=0;r<t.length;r++){const n=t[r],s=r===t.length-1;Zw(n,this.supportsBinary,i=>{try{this.doWrite(n,i)}catch{}s&&e0(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",r=this.query||{};return this.opts.timestampRequests&&(r[this.opts.timestampParam]=iE()),this.supportsBinary||(r.b64=1),this.createUri(t,r)}}const Ix=ka.WebSocket||ka.MozWebSocket;class XM extends YM{createSocket(t,r,n){return cE?new Ix(t,r,n):r?new Ix(t,r):new Ix(t)}doWrite(t,r){this.ws.send(r)}}class ZM extends t1{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const r=UM(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=t.readable.pipeThrough(r).getReader(),s=DM();s.readable.pipeTo(t.writable),this._writer=s.writable.getWriter();const i=()=>{n.read().then(({done:c,value:d})=>{c||(this.onPacket(d),i())}).catch(c=>{})};i();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this._writer.write(o).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let r=0;r<t.length;r++){const n=t[r],s=r===t.length-1;this._writer.write(n).then(()=>{s&&e0(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const eQ={websocket:XM,webtransport:ZM,polling:$M},tQ=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,rQ=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function bb(e){if(e.length>8e3)throw"URI too long";const t=e,r=e.indexOf("["),n=e.indexOf("]");r!=-1&&n!=-1&&(e=e.substring(0,r)+e.substring(r,n).replace(/:/g,";")+e.substring(n,e.length));let s=tQ.exec(e||""),i={},o=14;for(;o--;)i[rQ[o]]=s[o]||"";return r!=-1&&n!=-1&&(i.source=t,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=nQ(i,i.path),i.queryKey=aQ(i,i.query),i}function nQ(e,t){const r=/\/{2,9}/g,n=t.replace(r,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&n.splice(0,1),t.slice(-1)=="/"&&n.splice(n.length-1,1),n}function aQ(e,t){const r={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(n,s,i){s&&(r[s]=i)}),r}const wb=typeof addEventListener=="function"&&typeof removeEventListener=="function",Pm=[];wb&&addEventListener("offline",()=>{Pm.forEach(e=>e())},!1);class xo extends Cr{constructor(t,r){if(super(),this.binaryType=LM,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(r=t,t=null),t){const n=bb(t);r.hostname=n.host,r.secure=n.protocol==="https"||n.protocol==="wss",r.port=n.port,n.query&&(r.query=n.query)}else r.host&&(r.hostname=bb(r.host).host);t0(this,r),this.secure=r.secure!=null?r.secure:typeof location<"u"&&location.protocol==="https:",r.hostname&&!r.port&&(r.port=this.secure?"443":"80"),this.hostname=r.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=r.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},r.transports.forEach(n=>{const s=n.prototype.name;this.transports.push(s),this._transportsByName[s]=n}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},r),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=VM(this.opts.query)),wb&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Pm.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const r=Object.assign({},this.opts.query);r.EIO=aE,r.transport=t,this.id&&(r.sid=this.id);const n=Object.assign({},this.opts,{query:r,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](n)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&xo.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const r=this.createTransport(t);r.open(),this.setTransport(r)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",r=>this._onClose("transport close",r))}onOpen(){this.readyState="open",xo.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const r=new Error("server error");r.code=t.data,this._onError(r);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let r=1;for(let n=0;n<this.writeBuffer.length;n++){const s=this.writeBuffer[n].data;if(s&&(r+=QM(s)),n>0&&r>this._maxPayload)return this.writeBuffer.slice(0,n);r+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,e0(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,r,n){return this._sendPacket("message",t,r,n),this}send(t,r,n){return this._sendPacket("message",t,r,n),this}_sendPacket(t,r,n,s){if(typeof r=="function"&&(s=r,r=void 0),typeof n=="function"&&(s=n,n=null),this.readyState==="closing"||this.readyState==="closed")return;n=n||{},n.compress=n.compress!==!1;const i={type:t,data:r,options:n};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),s&&this.once("flush",s),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},r=()=>{this.off("upgrade",r),this.off("upgradeError",r),t()},n=()=>{this.once("upgrade",r),this.once("upgradeError",r)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():t()}):this.upgrading?n():t()),this}_onError(t){if(xo.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,r){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),wb&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const n=Pm.indexOf(this._offlineEventListener);n!==-1&&Pm.splice(n,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,r),this.writeBuffer=[],this._prevBufferLen=0}}}xo.protocol=aE;class sQ extends xo{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let r=this.createTransport(t),n=!1;xo.priorWebsocketSuccess=!1;const s=()=>{n||(r.send([{type:"ping",data:"probe"}]),r.once("packet",m=>{if(!n)if(m.type==="pong"&&m.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",r),!r)return;xo.priorWebsocketSuccess=r.name==="websocket",this.transport.pause(()=>{n||this.readyState!=="closed"&&(h(),this.setTransport(r),r.send([{type:"upgrade"}]),this.emitReserved("upgrade",r),r=null,this.upgrading=!1,this.flush())})}else{const p=new Error("probe error");p.transport=r.name,this.emitReserved("upgradeError",p)}}))};function i(){n||(n=!0,h(),r.close(),r=null)}const o=m=>{const p=new Error("probe error: "+m);p.transport=r.name,i(),this.emitReserved("upgradeError",p)};function c(){o("transport closed")}function d(){o("socket closed")}function u(m){r&&m.name!==r.name&&i()}const h=()=>{r.removeListener("open",s),r.removeListener("error",o),r.removeListener("close",c),this.off("close",d),this.off("upgrading",u)};r.once("open",s),r.once("error",o),r.once("close",c),this.once("close",d),this.once("upgrading",u),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{n||r.open()},200):r.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const r=[];for(let n=0;n<t.length;n++)~this.transports.indexOf(t[n])&&r.push(t[n]);return r}}let iQ=class extends sQ{constructor(t,r={}){const n=typeof t=="object"?t:r;(!n.transports||n.transports&&typeof n.transports[0]=="string")&&(n.transports=(n.transports||["polling","websocket","webtransport"]).map(s=>eQ[s]).filter(s=>!!s)),super(t,n)}};function oQ(e,t="",r){let n=e;r=r||typeof location<"u"&&location,e==null&&(e=r.protocol+"//"+r.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=r.protocol+e:e=r.host+e),/^(https?|wss?):\/\//.test(e)||(typeof r<"u"?e=r.protocol+"//"+e:e="https://"+e),n=bb(e)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";const i=n.host.indexOf(":")!==-1?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+i+":"+n.port+t,n.href=n.protocol+"://"+i+(r&&r.port===n.port?"":":"+n.port),n}const lQ=typeof ArrayBuffer=="function",cQ=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,AE=Object.prototype.toString,AQ=typeof Blob=="function"||typeof Blob<"u"&&AE.call(Blob)==="[object BlobConstructor]",dQ=typeof File=="function"||typeof File<"u"&&AE.call(File)==="[object FileConstructor]";function r1(e){return lQ&&(e instanceof ArrayBuffer||cQ(e))||AQ&&e instanceof Blob||dQ&&e instanceof File}function Rm(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let r=0,n=e.length;r<n;r++)if(Rm(e[r]))return!0;return!1}if(r1(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return Rm(e.toJSON(),!0);for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&Rm(e[r]))return!0;return!1}function uQ(e){const t=[],r=e.data,n=e;return n.data=vb(r,t),n.attachments=t.length,{packet:n,buffers:t}}function vb(e,t){if(!e)return e;if(r1(e)){const r={_placeholder:!0,num:t.length};return t.push(e),r}else if(Array.isArray(e)){const r=new Array(e.length);for(let n=0;n<e.length;n++)r[n]=vb(e[n],t);return r}else if(typeof e=="object"&&!(e instanceof Date)){const r={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=vb(e[n],t));return r}return e}function hQ(e,t){return e.data=Cb(e.data,t),delete e.attachments,e}function Cb(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let r=0;r<e.length;r++)e[r]=Cb(e[r],t);else if(typeof e=="object")for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=Cb(e[r],t));return e}const fQ=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var mt;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(mt||(mt={}));class mQ{constructor(t){this.replacer=t}encode(t){return(t.type===mt.EVENT||t.type===mt.ACK)&&Rm(t)?this.encodeAsBinary({type:t.type===mt.EVENT?mt.BINARY_EVENT:mt.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let r=""+t.type;return(t.type===mt.BINARY_EVENT||t.type===mt.BINARY_ACK)&&(r+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(r+=t.nsp+","),t.id!=null&&(r+=t.id),t.data!=null&&(r+=JSON.stringify(t.data,this.replacer)),r}encodeAsBinary(t){const r=uQ(t),n=this.encodeAsString(r.packet),s=r.buffers;return s.unshift(n),s}}class n1 extends Cr{constructor(t){super(),this.reviver=t}add(t){let r;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");r=this.decodeString(t);const n=r.type===mt.BINARY_EVENT;n||r.type===mt.BINARY_ACK?(r.type=n?mt.EVENT:mt.ACK,this.reconstructor=new pQ(r),r.attachments===0&&super.emitReserved("decoded",r)):super.emitReserved("decoded",r)}else if(r1(t)||t.base64)if(this.reconstructor)r=this.reconstructor.takeBinaryData(t),r&&(this.reconstructor=null,super.emitReserved("decoded",r));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let r=0;const n={type:Number(t.charAt(0))};if(mt[n.type]===void 0)throw new Error("unknown packet type "+n.type);if(n.type===mt.BINARY_EVENT||n.type===mt.BINARY_ACK){const i=r+1;for(;t.charAt(++r)!=="-"&&r!=t.length;);const o=t.substring(i,r);if(o!=Number(o)||t.charAt(r)!=="-")throw new Error("Illegal attachments");n.attachments=Number(o)}if(t.charAt(r+1)==="/"){const i=r+1;for(;++r&&!(t.charAt(r)===","||r===t.length););n.nsp=t.substring(i,r)}else n.nsp="/";const s=t.charAt(r+1);if(s!==""&&Number(s)==s){const i=r+1;for(;++r;){const o=t.charAt(r);if(o==null||Number(o)!=o){--r;break}if(r===t.length)break}n.id=Number(t.substring(i,r+1))}
vendor: 4,501 bytes, line 540
540if(t.charAt(++r)){const i=this.tryParse(t.substr(r));if(n1.isPayloadValid(n.type,i))n.data=i;else throw new Error("invalid payload")}return n}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,r){switch(t){case mt.CONNECT:return A4(r);case mt.DISCONNECT:return r===void 0;case mt.CONNECT_ERROR:return typeof r=="string"||A4(r);case mt.EVENT:case mt.BINARY_EVENT:return Array.isArray(r)&&(typeof r[0]=="number"||typeof r[0]=="string"&&fQ.indexOf(r[0])===-1);case mt.ACK:case mt.BINARY_ACK:return Array.isArray(r)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class pQ{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const r=hQ(this.reconPack,this.buffers);return this.finishedReconstruction(),r}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function A4(e){return Object.prototype.toString.call(e)==="[object Object]"}const gQ=Object.freeze(Object.defineProperty({__proto__:null,Decoder:n1,Encoder:mQ,get PacketType(){return mt}},Symbol.toStringTag,{value:"Module"}));function Ya(e,t,r){return e.on(t,r),function(){e.off(t,r)}}const xQ=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class dE extends Cr{constructor(t,r,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=r,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Ya(t,"open",this.onopen.bind(this)),Ya(t,"packet",this.onpacket.bind(this)),Ya(t,"error",this.onerror.bind(this)),Ya(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...r){var n,s,i;if(xQ.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(r.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(r),this;const o={type:mt.EVENT,data:r};if(o.options={},o.options.compress=this.flags.compress!==!1,typeof r[r.length-1]=="function"){const h=this.ids++,m=r.pop();this._registerAckCallback(h,m),o.id=h}const c=(s=(n=this.io.engine)===null||n===void 0?void 0:n.transport)===null||s===void 0?void 0:s.writable,d=this.connected&&!(!((i=this.io.engine)===null||i===void 0)&&i._hasPingExpired());return this.flags.volatile&&!c||(d?(this.notifyOutgoingListeners(o),this.packet(o)):this.sendBuffer.push(o)),this.flags={},this}_registerAckCallback(t,r){var n;const s=(n=this.flags.timeout)!==null&&n!==void 0?n:this._opts.ackTimeout;if(s===void 0){this.acks[t]=r;return}const i=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let c=0;c<this.sendBuffer.length;c++)this.sendBuffer[c].id===t&&this.sendBuffer.splice(c,1);r.call(this,new Error("operation has timed out"))},s),o=(...c)=>{this.io.clearTimeoutFn(i),r.apply(this,c)};o.withError=!0,this.acks[t]=o}emitWithAck(t,...r){return new Promise((n,s)=>{const i=(o,c)=>o?s(o):n(c);i.withError=!0,r.push(i),this.emit(t,...r)})}_addToQueue(t){let r;typeof t[t.length-1]=="function"&&(r=t.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((s,...i)=>(this._queue[0],s!==null?n.tryCount>this._opts.retries&&(this._queue.shift(),r&&r(s)):(this._queue.shift(),r&&r(null,...i)),n.pending=!1,this._drainQueue())),this._queue.push(n),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const r=this._queue[0];r.pending&&!t||(r.pending=!0,r.tryCount++,this.flags=r.flags,this.emit.apply(this,r.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:mt.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,r){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,r),this._clearAcks()}
vendor: 7,087 bytes, line 540
540_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(n=>String(n.id)===t)){const n=this.acks[t];delete this.acks[t],n.withError&&n.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case mt.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case mt.EVENT:case mt.BINARY_EVENT:this.onevent(t);break;case mt.ACK:case mt.BINARY_ACK:this.onack(t);break;case mt.DISCONNECT:this.ondisconnect();break;case mt.CONNECT_ERROR:this.destroy();const n=new Error(t.data.message);n.data=t.data.data,this.emitReserved("connect_error",n);break}}onevent(t){const r=t.data||[];t.id!=null&&r.push(this.ack(t.id)),this.connected?this.emitEvent(r):this.receiveBuffer.push(Object.freeze(r))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const r=this._anyListeners.slice();for(const n of r)n.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const r=this;let n=!1;return function(...s){n||(n=!0,r.packet({type:mt.ACK,id:t,data:s}))}}onack(t){const r=this.acks[t.id];typeof r=="function"&&(delete this.acks[t.id],r.withError&&t.data.unshift(null),r.apply(this,t.data))}onconnect(t,r){this.id=t,this.recovered=r&&this._pid===r,this._pid=r,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:mt.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const r=this._anyListeners;for(let n=0;n<r.length;n++)if(t===r[n])return r.splice(n,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const r=this._anyOutgoingListeners;for(let n=0;n<r.length;n++)if(t===r[n])return r.splice(n,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const r=this._anyOutgoingListeners.slice();for(const n of r)n.apply(this,t.data)}}}function _A(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}_A.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=(Math.floor(t*10)&1)==0?e-r:e+r}return Math.min(e,this.max)|0};_A.prototype.reset=function(){this.attempts=0};_A.prototype.setMin=function(e){this.ms=e};_A.prototype.setMax=function(e){this.max=e};_A.prototype.setJitter=function(e){this.jitter=e};class Bb extends Cr{constructor(t,r){var n;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(r=t,t=void 0),r=r||{},r.path=r.path||"/socket.io",this.opts=r,t0(this,r),this.reconnection(r.reconnection!==!1),this.reconnectionAttempts(r.reconnectionAttempts||1/0),this.reconnectionDelay(r.reconnectionDelay||1e3),this.reconnectionDelayMax(r.reconnectionDelayMax||5e3),this.randomizationFactor((n=r.randomizationFactor)!==null&&n!==void 0?n:.5),this.backoff=new _A({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(r.timeout==null?2e4:r.timeout),this._readyState="closed",this.uri=t;const s=r.parser||gQ;this.encoder=new s.Encoder,this.decoder=new s.Decoder,this._autoConnect=r.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var r;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(r=this.backoff)===null||r===void 0||r.setMin(t),this)}randomizationFactor(t){var r;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(r=this.backoff)===null||r===void 0||r.setJitter(t),this)}reconnectionDelayMax(t){var r;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(r=this.backoff)===null||r===void 0||r.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new iQ(this.uri,this.opts);const r=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const s=Ya(r,"open",function(){n.onopen(),t&&t()}),i=c=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",c),t?t(c):this.maybeReconnectOnOpen()},o=Ya(r,"error",i);if(this._timeout!==!1){const c=this._timeout,d=this.setTimeoutFn(()=>{s(),i(new Error("timeout")),r.close()},c);this.opts.autoUnref&&d.unref(),this.subs.push(()=>{this.clearTimeoutFn(d)})}return this.subs.push(s),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Ya(t,"ping",this.onping.bind(this)),Ya(t,"data",this.ondata.bind(this)),Ya(t,"error",this.onerror.bind(this)),Ya(t,"close",this.onclose.bind(this)),Ya(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(r){this.onclose("parse error",r)}}ondecoded(t){e0(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,r){let n=this.nsps[t];return n?this._autoConnect&&!n.active&&n.connect():(n=new dE(this,t,r),this.nsps[t]=n),n}_destroy(t){const r=Object.keys(this.nsps);for(const n of r)if(this.nsps[n].active)return;this._close()}_packet(t){const r=this.encoder.encode(t);for(let n=0;n<r.length;n++)this.engine.write(r[n],t.options)}
540cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,r){var n;this.cleanup(),(n=this.engine)===null||n===void 0||n.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,r),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const r=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(s=>{s?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",s)):t.onreconnect()}))},r);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const Dd={};function Mm(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const r=oQ(e,t.path||"/socket.io"),n=r.source,s=r.id,i=r.path,o=Dd[s]&&i in Dd[s].nsps,c=t.forceNew||t["force new connection"]||t.multiplex===!1||o;let d;return c?d=new Bb(n,t):(Dd[s]||(Dd[s]=new Bb(n,t)),d=Dd[s]),r.query&&!t.query&&(t.query=r.queryKey),d.socket(r.path,t)}Object.assign(Mm,{Manager:Bb,Socket:dE,io:Mm,connect:Mm});const yQ=250;function d4(e,t){var r;const n=(r=e.token)!==null&&r!==void 0?r:ju(),s={app_id:e.appId,token:n};n||(s.anonymous_id=Xw());const i=Mm(e.serverUrl,{path:e.mountPath,transports:e.transports,query:s});return i.on("connect",async()=>{var o;return console.log("connect",i.id),(o=t.connect)===null||o===void 0?void 0:o.call(t)}),i.on("update_model",async o=>{var c;return(c=t.update_model)===null||c===void 0?void 0:c.call(t,o)}),i.on("error",async o=>{var c;return(c=t.error)===null||c===void 0?void 0:c.call(t,o)}),i.on("connect_error",async o=>{var c;return console.error("connect_error",o),(c=t.error)===null||c===void 0?void 0:c.call(t,o)}),i}function bQ({config:e}){let t={...e};const r={},n={},s={connect:async()=>{const v=[];Object.keys(r).forEach(N=>{const F=p(N);F.length!==0&&(u(N),F.forEach(({connect:S})=>{const E=async()=>S==null?void 0:S();v.push(E())}))}),await Promise.all(v)},update_model:async v=>{const F=p(v.room).map(S=>{var E;return(E=S.update_model)===null||E===void 0?void 0:E.call(S,v)});await Promise.all(F)},error:async v=>{console.error("error",v);const N=Object.values(r).flat().map(F=>{var S;return(S=F.error)===null||S===void 0?void 0:S.call(F,v)});await Promise.all(N)}};let i=d4(e,s);function o(){c()}function c(){w(),i&&i.disconnect()}function d(v){o(),t={...t,...v},i=d4(t,s)}function u(v){i.emit("join",v)}function h(v){i.emit("leave",v)}async function m(v,N){var F;const S=JSON.stringify(N);return(F=s.update_model)===null||F===void 0?void 0:F.call(s,{room:v,data:S})}function p(v){var N;return(N=r[v])!==null&&N!==void 0?N:[]}function x(v){const N=n[v];N&&(clearTimeout(N),delete n[v])}function w(){Object.keys(n).forEach(v=>{var N,F;clearTimeout(n[v]),delete n[v],((F=(N=r[v])===null||N===void 0?void 0:N.length)!==null&&F!==void 0?F:0)===0&&delete r[v]})}function g(v){x(v),n[v]=setTimeout(()=>{var N,F;delete n[v],!(((F=(N=r[v])===null||N===void 0?void 0:N.length)!==null&&F!==void 0?F:0)>0)&&(h(v),delete r[v])},yQ)}return{socket:i,subscribeToRoom:(v,N)=>{r[v]?x(v):(u(v),r[v]=[]),r[v].push(N);let F=!1;return()=>{var S,E;F||(F=!0,r[v]=(E=(S=r[v])===null||S===void 0?void 0:S.filter(D=>D!==N))!==null&&E!==void 0?E:[],r[v].length===0&&g(v))}},updateConfig:d,updateModel:m,disconnect:c}}function wQ(e){var t,r;const{serverUrl:n="https://base44.app",appId:s,token:i,serviceToken:o,requiresAuth:c=!1,appBaseUrl:d,options:u,functionsVersion:h,headers:m}=e,p=typeof d=="string"?d:"",x={serverUrl:n,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:s,token:i};let w=null;const g=()=>(w||(w=bQ({config:x})),w),b={...m,"X-App-Id":String(s)},v=h?{...b,"Base44-Functions-Version":h}:b,N=Kd({baseURL:`${n}/api`,headers:b,token:i,onError:u==null?void 0:u.onError}),F=Kd({baseURL:`${n}/api`,headers:v,token:i,interceptResponses:!1,onError:u==null?void 0:u.onError}),S={...b,...i?{"on-behalf-of":`Bearer ${i}`}:{}},E=Kd({baseURL:`${n}/api`,headers:S,token:o,onError:u==null?void 0:u.onError}),D=Kd({baseURL:`${n}/api`,headers:v,token:o,interceptResponses:!1}),T=wM(N,F,s,{appBaseUrl:p});if(typeof window<"u"){const ee=i||ju();ee&&T.setToken(ee)}
540const k={entities:t4({axios:N,appId:s,getSocket:g}),integrations:r4(N,s),connectors:BM(N,s),auth:T,functions:n4(F,s,{getAuthHeaders:()=>{const ee={},ie=i||ju();return ie&&(ee.Authorization=`Bearer ${ie}`),ee},baseURL:(t=F.defaults)===null||t===void 0?void 0:t.baseURL}),agents:a4({axios:N,getSocket:g,appId:s,serverUrl:n,token:i}),appLogs:s4(N,s),users:FM(N,s),analytics:oM({axiosClient:N,serverUrl:n,appId:s,userAuthModule:T}),cleanup:()=>{k.analytics.cleanup(),w&&w.disconnect()}},I={entities:t4({axios:E,appId:s,getSocket:g}),integrations:r4(E,s),sso:vM(E,s),connectors:CM(E,s),functions:n4(D,s,{getAuthHeaders:()=>{const ee={};return o&&(ee.Authorization=`Bearer ${o}`),ee},baseURL:(r=D.defaults)===null||r===void 0?void 0:r.baseURL}),agents:a4({axios:E,getSocket:g,appId:s,serverUrl:n,token:i}),appLogs:s4(E,s),cleanup:()=>{w&&w.disconnect()}};return c&&typeof window<"u"&&setTimeout(async()=>{try{await k.auth.isAuthenticated()||k.auth.redirectToLogin(window.location.href)}catch(ee){console.error("Authentication check failed:",ee),k.auth.redirectToLogin(window.location.href)}},0),{...k,setToken(ee){k.auth.setToken(ee),w&&w.updateConfig({token:ee}),x.token=ee},getConfig(){return{serverUrl:n,appId:s,requiresAuth:c}},get asServiceRole(){if(!o)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return I}}}const uE=typeof window>"u",vQ=uE?{localStorage:new Map}:window,iu=vQ.localStorage,CQ=e=>e.replace(/([A-Z])/g,"_$1").toLowerCase(),Sc=(e,{defaultValue:t=void 0,removeFromUrl:r=!1}={})=>{if(uE)return t;const n=`base44_${CQ(e)}`,s=new URLSearchParams(window.location.search),i=s.get(e);if(r){s.delete(e);const c=`${window.location.pathname}${s.toString()?`?${s.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,c)}if(i)return iu.setItem(n,i),i;if(t)return iu.setItem(n,t),t;const o=iu.getItem(n);return o||null},BQ=()=>(Sc("clear_access_token")==="true"&&(iu.removeItem("base44_access_token"),iu.removeItem("token")),{appId:Sc("app_id",{defaultValue:"699ba2407533cd3b00af8c87"}),token:Sc("access_token",{removeFromUrl:!0}),fromUrl:Sc("from_url",{defaultValue:window.location.href}),functionsVersion:Sc("functions_version",{defaultValue:"prod"}),appBaseUrl:Sc("app_base_url",{defaultValue:void 0})}),Wd={...BQ()},{appId:NQ,token:FQ,functionsVersion:jQ,appBaseUrl:SQ}=Wd,Ce=wQ({appId:NQ,token:FQ,functionsVersion:jQ,serverUrl:"",requiresAuth:!1,appBaseUrl:SQ}),hE=B.createContext(),EQ=({children:e})=>{const[t,r]=B.useState(null),[n,s]=B.useState(!1),[i,o]=B.useState(!0),[c,d]=B.useState(!0),[u,h]=B.useState(null),[m,p]=B.useState(null);B.useEffect(()=>{x()},[]);const x=async()=>{var v,N;try{d(!0),h(null);const F=Kd({baseURL:"/api/apps/public",headers:{"X-App-Id":Wd.appId},token:Wd.token,interceptResponses:!0});try{const S=await F.get(`/prod/public-settings/by-id/${Wd.appId}`);p(S),Wd.token?await w():(o(!1),s(!1)),d(!1)}catch(S){if(console.error("App state check failed:",S),S.status===403&&((N=(v=S.data)==null?void 0:v.extra_data)!=null&&N.reason)){const E=S.data.extra_data.reason;h(E==="auth_required"?{type:"auth_required",message:"Authentication required"}:E==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:E,message:S.message})}else h({type:"unknown",message:S.message||"Failed to load app"});d(!1),o(!1)}}catch(F){console.error("Unexpected error:",F),h({type:"unknown",message:F.message||"An unexpected error occurred"}),d(!1),o(!1)}},w=async()=>{try{o(!0);const v=await Ce.auth.me();r(v),s(!0),o(!1)}catch(v){console.error("User auth check failed:",v),o(!1),s(!1),(v.status===401||v.status===403)&&h({type:"auth_required",message:"Authentication required"})}},g=(v=!0)=>{r(null),s(!1),v?Ce.auth.logout(window.location.href):Ce.auth.logout()},b=()=>{Ce.auth.redirectToLogin(window.location.href)};return a.jsx(hE.Provider,{value:{user:t,isAuthenticated:n,isLoadingAuth:i,isLoadingPublicSettings:c,authError:u,appPublicSettings:m,logout:g,navigateToLogin:b,checkAppState:x},children:e})},fE=()=>{const e=B.useContext(hE);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e},a1=B.createContext({});function s1(e){const t=B.useRef(null);return t.current===null&&(t.current=e()),t.current}const r0=B.createContext(null),i1=B.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class TQ extends B.Component{getSnapshotBeforeUpdate(t){const r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){const n=this.props.sizeRef.current;n.height=r.offsetHeight||0,n.width=r.offsetWidth||0,n.top=r.offsetTop,n.left=r.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function kQ({children:e,isPresent:t}){const r=B.useId(),n=B.useRef(null),s=B.useRef({width:0,height:0,top:0,left:0}),{nonce:i}=B.useContext(i1);return B.useInsertionEffect(()=>{const{width:o,height:c,top:d,left:u}=s.current;if(t||!n.current||!o||!c)return;n.current.dataset.motionPopId=r;const h=document.createElement("style");return i&&(h.nonce=i),document.head.appendChild(h),h.sheet&&h.sheet.insertRule(` 541 [data-motion-pop-id="${r}"] { 542 position: absolute !important; 543 width: ${o}px !important; 544 height: ${c}px !important; 545 top: ${d}px !important; 546 left: ${u}px !important; 547 } 548 `),()=>{document.head.removeChild(h)}},[t]),a.jsx(TQ,{isPresent:t,childRef:n,sizeRef:s,children:B.cloneElement(e,{ref:n})})}const _Q=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:s,presenceAffectsLayout:i,mode:o})=>{const c=s1(DQ),d=B.useId(),u=B.useCallback(m=>{c.set(m,!0);for(const p of c.values())if(!p)return;n&&n()},[c,n]),h=B.useMemo(()=>({id:d,initial:t,isPresent:r,custom:s,onExitComplete:u,register:m=>(c.set(m,!1),()=>c.delete(m))}),i?[Math.random(),u]:[r,u]);return B.useMemo(()=>
vendor: 41,308 bytes, line 548
548{c.forEach((m,p)=>c.set(p,!1))},[r]),B.useEffect(()=>{!r&&!c.size&&n&&n()},[r]),o==="popLayout"&&(e=a.jsx(kQ,{isPresent:r,children:e})),a.jsx(r0.Provider,{value:h,children:e})};function DQ(){return new Map}function mE(e=!0){const t=B.useContext(r0);if(t===null)return[!0,null];const{isPresent:r,onExitComplete:n,register:s}=t,i=B.useId();B.useEffect(()=>{e&&s(i)},[e]);const o=B.useCallback(()=>e&&n&&n(i),[i,n,e]);return!r&&n?[!1,o]:[!0]}const Mf=e=>e.key||"";function u4(e){const t=[];return B.Children.forEach(e,r=>{B.isValidElement(r)&&t.push(r)}),t}const o1=typeof window<"u",pE=o1?B.useLayoutEffect:B.useEffect,Mt=({children:e,custom:t,initial:r=!0,onExitComplete:n,presenceAffectsLayout:s=!0,mode:i="sync",propagate:o=!1})=>{const[c,d]=mE(o),u=B.useMemo(()=>u4(e),[e]),h=o&&!c?[]:u.map(Mf),m=B.useRef(!0),p=B.useRef(u),x=s1(()=>new Map),[w,g]=B.useState(u),[b,v]=B.useState(u);pE(()=>{m.current=!1,p.current=u;for(let S=0;S<b.length;S++){const E=Mf(b[S]);h.includes(E)?x.delete(E):x.get(E)!==!0&&x.set(E,!1)}},[b,h.length,h.join("-")]);const N=[];if(u!==w){let S=[...u];for(let E=0;E<b.length;E++){const D=b[E],T=Mf(D);h.includes(T)||(S.splice(E,0,D),N.push(D))}i==="wait"&&N.length&&(S=N),v(u4(S)),g(u);return}const{forceRender:F}=B.useContext(a1);return a.jsx(a.Fragment,{children:b.map(S=>{const E=Mf(S),D=o&&!c?!1:u===b||h.includes(E),T=()=>{if(x.has(E))x.set(E,!0);else return;let k=!0;x.forEach(I=>{I||(k=!1)}),k&&(F==null||F(),v(p.current),o&&(d==null||d()),n&&n())};return a.jsx(_Q,{isPresent:D,initial:!m.current||r?void 0:!1,custom:D?void 0:t,presenceAffectsLayout:s,mode:i,onExitComplete:D?void 0:T,children:S},E)})})},ca=e=>e;let gE=ca;function l1(e){let t;return()=>(t===void 0&&(t=e()),t)}const vA=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},ti=e=>e*1e3,ri=e=>e/1e3,UQ={useManualTiming:!1};function IQ(e){let t=new Set,r=new Set,n=!1,s=!1;const i=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function c(u){i.has(u)&&(d.schedule(u),e()),u(o)}const d={schedule:(u,h=!1,m=!1)=>{const x=m&&n?t:r;return h&&i.add(u),x.has(u)||x.add(u),u},cancel:u=>{r.delete(u),i.delete(u)},process:u=>{if(o=u,n){s=!0;return}n=!0,[t,r]=[r,t],t.forEach(c),t.clear(),n=!1,s&&(s=!1,d.process(u))}};return d}const Qf=["read","resolveKeyframes","update","preRender","render","postRender"],LQ=40;function xE(e,t){let r=!1,n=!0;const s={delta:0,timestamp:0,isProcessing:!1},i=()=>r=!0,o=Qf.reduce((v,N)=>(v[N]=IQ(i),v),{}),{read:c,resolveKeyframes:d,update:u,preRender:h,render:m,postRender:p}=o,x=()=>{const v=performance.now();r=!1,s.delta=n?1e3/60:Math.max(Math.min(v-s.timestamp,LQ),1),s.timestamp=v,s.isProcessing=!0,c.process(s),d.process(s),u.process(s),h.process(s),m.process(s),p.process(s),s.isProcessing=!1,r&&t&&(n=!1,e(x))},w=()=>{r=!0,n=!0,s.isProcessing||e(x)};return{schedule:Qf.reduce((v,N)=>{const F=o[N];return v[N]=(S,E=!1,D=!1)=>(r||w(),F.schedule(S,E,D)),v},{}),cancel:v=>{for(let N=0;N<Qf.length;N++)o[Qf[N]].cancel(v)},state:s,steps:o}}const{schedule:Wt,cancel:Co,state:qr,steps:Lx}=xE(typeof requestAnimationFrame<"u"?requestAnimationFrame:ca,!0),yE=B.createContext({strict:!1}),h4={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},CA={};for(const e in h4)CA[e]={isEnabled:t=>h4[e].some(r=>!!t[r])};function PQ(e){for(const t in e)CA[t]={...CA[t],...e[t]}}const RQ=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function rp(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||RQ.has(e)}let bE=e=>!rp(e);function MQ(e){e&&(bE=t=>t.startsWith("on")?!rp(t):e(t))}try{MQ(require("@emotion/is-prop-valid").default)}catch{}function QQ(e,t,r){const n={};for(const s in e)s==="values"&&typeof e.values=="object"||(bE(s)||r===!0&&rp(s)||!t&&!rp(s)||e.draggable&&s.startsWith("onDrag"))&&(n[s]=e[s]);return n}function OQ(e){if(typeof Proxy>"u")return e;const t=new Map,r=(...n)=>e(...n);return new Proxy(r,{get:(n,s)=>s==="create"?e:(t.has(s)||t.set(s,e(s)),t.get(s))})}const n0=B.createContext({});function Su(e){return typeof e=="string"||Array.isArray(e)}function a0(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const c1=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],A1=["initial",...c1];function s0(e){return a0(e.animate)||A1.some(t=>Su(e[t]))}function wE(e){return!!(s0(e)||e.variants)}function HQ(e,t){if(s0(e)){const{initial:r,animate:n}=e;return{initial:r===!1||Su(r)?r:void 0,animate:Su(n)?n:void 0}}return e.inherit!==!1?t:{}}function VQ(e){const{initial:t,animate:r}=HQ(e,B.useContext(n0));return B.useMemo(()=>({initial:t,animate:r}),[f4(t),f4(r)])}function f4(e){return Array.isArray(e)?e.join(" "):e}const KQ=Symbol.for("motionComponentSymbol");function zc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function GQ(e,t,r){return B.useCallback(n=>{n&&e.onMount&&e.onMount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):zc(r)&&(r.current=n))},[t])}const d1=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),WQ="framerAppearId",vE="data-"+d1(WQ),{schedule:u1}=xE(queueMicrotask,!1),CE=B.createContext({});function zQ(e,t,r,n,s){var i,o;const{visualElement:c}=B.useContext(n0),d=B.useContext(yE),u=B.useContext(r0),h=B.useContext(i1).reducedMotion,m=B.useRef(null);n=n||d.renderer,!m.current&&n&&(m.current=n(e,{visualState:t,parent:c,props:r,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:h}));const p=m.current,x=B.useContext(CE);p&&!p.projection&&s&&(p.type==="html"||p.type==="svg")&&JQ(m.current,r,s,x);const w=B.useRef(!1);B.useInsertionEffect(()=>{p&&w.current&&p.update(r,u)});const g=r[vE],b=B.useRef(!!g&&!(!((i=window.MotionHandoffIsComplete)===null||i===void 0)&&i.call(window,g))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,g)));return pE(()=>{p&&(w.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),u1.render(p.render),b.current&&p.animationState&&p.animationState.animateChanges())}),B.useEffect(()=>{p&&(!b.current&&p.animationState&&p.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{var v;(v=window.MotionHandoffMarkAsComplete)===null||v===void 0||v.call(window,g)}),b.current=!1))}),p}function JQ(e,t,r,n){const{layoutId:s,layout:i,drag:o,dragConstraints:c,layoutScroll:d,layoutRoot:u}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:BE(e.parent)),e.projection.setOptions({layoutId:s,layout:i,alwaysMeasureLayout:!!o||c&&zc(c),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:n,layoutScroll:d,layoutRoot:u})}function BE(e){if(e)return e.options.allowProjection!==!1?e.projection:BE(e.parent)}function qQ({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:s}){var i,o;e&&PQ(e);function c(u,h){let m;const p={...B.useContext(i1),...u,layoutId:$Q(u)},{isStatic:x}=p,w=VQ(u),g=n(u,x);if(!x&&o1){YQ();const b=XQ(p);m=b.MeasureLayout,w.visualElement=zQ(s,g,p,t,b.ProjectionNode)}return a.jsxs(n0.Provider,{value:w,children:[m&&w.visualElement?a.jsx(m,{visualElement:w.visualElement,...p}):null,r(s,u,GQ(g,w.visualElement,h),g,x,w.visualElement)]})}c.displayName=`motion.${typeof s=="string"?s:`create(${(o=(i=s.displayName)!==null&&i!==void 0?i:s.name)!==null&&o!==void 0?o:""})`}`;const d=B.forwardRef(c);return d[KQ]=s,d}function $Q({layoutId:e}){const t=B.useContext(a1).id;return t&&e!==void 0?t+"-"+e:e}function YQ(e,t){B.useContext(yE).strict}function XQ(e){const{drag:t,layout:r}=CA;if(!t&&!r)return{};const n={...t,...r};return{MeasureLayout:t!=null&&t.isEnabled(e)||r!=null&&r.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}const ZQ=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function h1(e){return typeof e!="string"||e.includes("-")?!1:!!(ZQ.indexOf(e)>-1||/[A-Z]/u.test(e))}function m4(e){const t=[{},{}];return e==null||e.values.forEach((r,n)=>{t[0][n]=r.get(),t[1][n]=r.getVelocity()}),t}function f1(e,t,r,n){if(typeof t=="function"){const[s,i]=m4(n);t=t(r!==void 0?r:e.custom,s,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,i]=m4(n);t=t(r!==void 0?r:e.custom,s,i)}return t}const Nb=e=>Array.isArray(e),eO=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),tO=e=>Nb(e)?e[e.length-1]||0:e,pn=e=>!!(e&&e.getVelocity);function Qm(e){const t=pn(e)?e.get():e;return eO(t)?t.toValue():t}function rO({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:r},n,s,i){const o={latestValues:nO(n,s,i,e),renderState:t()};return r&&(o.onMount=c=>r({props:n,current:c,...o}),o.onUpdate=c=>r(c)),o}const NE=e=>(t,r)=>{const n=B.useContext(n0),s=B.useContext(r0),i=()=>rO(e,t,n,s);return r?i():s1(i)};function nO(e,t,r,n){const s={},i=n(e,{});for(const p in i)s[p]=Qm(i[p]);let{initial:o,animate:c}=e;const d=s0(e),u=wE(e);t&&u&&!d&&e.inherit!==!1&&(o===void 0&&(o=t.initial),c===void 0&&(c=t.animate));let h=r?r.initial===!1:!1;h=h||o===!1;const m=h?c:o;if(m&&typeof m!="boolean"&&!a0(m)){const p=Array.isArray(m)?m:[m];for(let x=0;x<p.length;x++){const w=f1(e,p[x]);if(w){const{transitionEnd:g,transition:b,...v}=w;for(const N in v){let F=v[N];if(Array.isArray(F)){const S=h?F.length-1:0;F=F[S]}F!==null&&(s[N]=F)}for(const N in g)s[N]=g[N]}}}return s}const DA=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Wl=new Set(DA),FE=e=>t=>typeof t=="string"&&t.startsWith(e),jE=FE("--"),aO=FE("var(--"),m1=e=>aO(e)?sO.test(e.split("/*")[0].trim()):!1,sO=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,SE=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Ai=(e,t,r)=>r>t?t:r<e?e:r,UA={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Eu={...UA,transform:e=>Ai(0,1,e)},Of={...UA,default:1},sh=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),zi=sh("deg"),Cs=sh("%"),nt=sh("px"),iO=sh("vh"),oO=sh("vw"),p4={...Cs,parse:e=>Cs.parse(e)/100,transform:e=>Cs.transform(e*100)},lO={borderWidth:nt,borderTopWidth:nt,borderRightWidth:nt,borderBottomWidth:nt,borderLeftWidth:nt,borderRadius:nt,radius:nt,borderTopLeftRadius:nt,borderTopRightRadius:nt,borderBottomRightRadius:nt,borderBottomLeftRadius:nt,width:nt,maxWidth:nt,height:nt,maxHeight:nt,top:nt,right:nt,bottom:nt,left:nt,padding:nt,paddingTop:nt,paddingRight:nt,paddingBottom:nt,paddingLeft:nt,margin:nt,marginTop:nt,marginRight:nt,marginBottom:nt,marginLeft:nt,backgroundPositionX:nt,backgroundPositionY:nt},cO={rotate:zi,rotateX:zi,rotateY:zi,rotateZ:zi,scale:Of,scaleX:Of,scaleY:Of,scaleZ:Of,skew:zi,skewX:zi,skewY:zi,distance:nt,translateX:nt,translateY:nt,translateZ:nt,x:nt,y:nt,z:nt,perspective:nt,transformPerspective:nt,opacity:Eu,originX:p4,originY:p4,originZ:nt},g4={...UA,transform:Math.round},p1={...lO,...cO,zIndex:g4,size:nt,fillOpacity:Eu,strokeOpacity:Eu,numOctaves:g4},AO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},dO=DA.length;function uO(e,t,r){let n="",s=!0;for(let i=0;i<dO;i++){const o=DA[i],c=e[o];if(c===void 0)continue;let d=!0;if(typeof c=="number"?d=c===(o.startsWith("scale")?1:0):d=parseFloat(c)===0,!d||r){const u=SE(c,p1[o]);if(!d){s=!1;const h=AO[o]||o;n+=`${h}(${u}) `}r&&(t[o]=u)}}return n=n.trim(),r?n=r(t,s?"":n):s&&(n="none"),n}function g1(e,t,r){const{style:n,vars:s,transformOrigin:i}=e;let o=!1,c=!1;for(const d in t){const u=t[d];if(Wl.has(d)){o=!0;continue}else if(jE(d)){s[d]=u;continue}else{const h=SE(u,p1[d]);d.startsWith("origin")?(c=!0,i[d]=h):n[d]=h}}if(t.transform||(o||r?n.transform=uO(t,e.transform,r):n.transform&&(n.transform="none")),c){const{originX:d="50%",originY:u="50%",originZ:h=0}=i;n.transformOrigin=`${d} ${u} ${h}`}}const hO={offset:"stroke-dashoffset",array:"stroke-dasharray"},fO={offset:"strokeDashoffset",array:"strokeDasharray"};function mO(e,t,r=1,n=0,s=!0){e.pathLength=1;const i=s?hO:fO;e[i.offset]=nt.transform(-n);const o=nt.transform(t),c=nt.transform(r);e[i.array]=`${o} ${c}`}function x4(e,t,r){return typeof e=="string"?e:nt.transform(t+r*e)}function pO(e,t,r){const n=x4(t,e.x,e.width),s=x4(r,e.y,e.height);return`${n} ${s}`}function x1(e,{attrX:t,attrY:r,attrScale:n,originX:s,originY:i,pathLength:o,pathSpacing:c=1,pathOffset:d=0,...u},h,m){if(g1(e,u,m),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:x,dimensions:w}=e;p.transform&&(w&&(x.transform=p.transform),delete p.transform),w&&(s!==void 0||i!==void 0||x.transform)&&(x.transformOrigin=pO(w,s!==void 0?s:.5,i!==void 0?i:.5)),t!==void 0&&(p.x=t),r!==void 0&&(p.y=r),n!==void 0&&(p.scale=n),o!==void 0&&mO(p,o,c,d,!1)}const y1=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),EE=()=>({...y1(),attrs:{}}),b1=e=>typeof e=="string"&&e.toLowerCase()==="svg";function TE(e,{style:t,vars:r},n,s){Object.assign(e.style,t,s&&s.getProjectionStyles(n));for(const i in r)e.style.setProperty(i,r[i])}const kE=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function _E(e,t,r,n){TE(e,t,void 0,n);for(const s in t.attrs)e.setAttribute(kE.has(s)?s:d1(s),t.attrs[s])}const np={};function gO(e){Object.assign(np,e)}function DE(e,{layout:t,layoutId:r}){return Wl.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!np[e]||e==="opacity")}function w1(e,t,r){var n;const{style:s}=e,i={};for(const o in s)(pn(s[o])||t.style&&pn(t.style[o])||DE(o,e)||((n=r==null?void 0:r.getValue(o))===null||n===void 0?void 0:n.liveStyle)!==void 0)&&(i[o]=s[o]);return i}function UE(e,t,r){const n=w1(e,t,r);for(const s in e)if(pn(e[s])||pn(t[s])){const i=DA.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;n[i]=e[s]}return n}function xO(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const y4=["x","y","width","height","cx","cy","r"],yO={useVisualState:NE({scrapeMotionValuesFromProps:UE,createRenderState:EE,onUpdate:({props:e,prevProps:t,current:r,renderState:n,latestValues:s})=>{if(!r)return;let i=!!e.drag;if(!i){for(const c in s)if(Wl.has(c)){i=!0;break}}if(!i)return;let o=!t;if(t)for(let c=0;c<y4.length;c++){const d=y4[c];e[d]!==t[d]&&(o=!0)}o&&Wt.read(()=>{xO(r,n),Wt.render(()=>{x1(n,s,b1(r.tagName),e.transformTemplate),_E(r,n)})})}})},bO={useVisualState:NE({scrapeMotionValuesFromProps:w1,createRenderState:y1})};function IE(e,t,r){for(const n in t)!pn(t[n])&&!DE(n,r)&&(e[n]=t[n])}function wO({transformTemplate:e},t){return B.useMemo(()=>{const r=y1();return g1(r,t,e),Object.assign({},r.vars,r.style)},[t])}function vO(e,t){const r=e.style||{},n={};return IE(n,r,e),Object.assign(n,wO(e,t)),n}function CO(e,t){const r={},n=vO(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r}function BO(e,t,r,n){const s=B.useMemo(()=>{const i=EE();return x1(i,t,b1(n),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};IE(i,e.style,e),s.style={...i,...s.style}}return s}function NO(e=!1){return(r,n,s,{latestValues:i},o)=>{const d=(h1(r)?BO:CO)(n,i,o,r),u=QQ(n,typeof r=="string",e),h=r!==B.Fragment?{...u,...d,ref:s}:{},{children:m}=n,p=B.useMemo(()=>pn(m)?m.get():m,[m]);return B.createElement(r,{...h,children:p})}}function FO(e,t){return function(n,{forwardMotionProps:s}={forwardMotionProps:!1}){const o={...h1(n)?yO:bO,preloadedFeatures:e,useRender:NO(s),createVisualElement:t,Component:n};return qQ(o)}}function LE(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function i0(e,t,r){const n=e.getProps();return f1(n,t,r!==void 0?r:n.custom,e)}const jO=l1(()=>window.ScrollTimeline!==void 0);class SO{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,r){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=r}attachTimeline(t,r){const n=this.animations.map(s=>{if(jO()&&s.attachTimeline)return s.attachTimeline(t);if(typeof r=="function")return r(s)});return()=>{n.forEach((s,i)=>{s&&s(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let r=0;r<this.animations.length;r++)t=Math.max(t,this.animations[r].duration);return t}runAll(t){this.animations.forEach(r=>r[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class EO extends SO{then(t,r){return Promise.all(this.animations).then(t).catch(r)}}function v1(e,t){return e?e[t]||e.default||e:void 0}const Fb=2e4;function PE(e){let t=0;const r=50;let n=e.next(t);for(;!n.done&&t<Fb;)t+=r,n=e.next(t);return t>=Fb?1/0:t}function C1(e){return typeof e=="function"}function b4(e,t){e.timeline=t,e.onfinish=null}const B1=e=>Array.isArray(e)&&typeof e[0]=="number",TO={linearEasing:void 0};function kO(e,t){const r=l1(e);return()=>{var n;return(n=TO[t])!==null&&n!==void 0?n:r()}}const ap=kO(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),RE=(e,t,r=10)=>{let n="";const s=Math.max(Math.round(t/r),2);for(let i=0;i<s;i++)n+=e(vA(0,s-1,i))+", ";return`linear(${n.substring(0,n.length-2)})`};function ME(e){return!!(typeof e=="function"&&ap()||!e||typeof e=="string"&&(e in jb||ap())||B1(e)||Array.isArray(e)&&e.every(ME))}const zd=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,jb={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:zd([0,.65,.55,1]),circOut:zd([.55,0,1,.45]),backIn:zd([.31,.01,.66,-.59]),backOut:zd([.33,1.53,.69,.99])};function QE(e,t){if(e)return typeof e=="function"&&ap()?RE(e,t):B1(e)?zd(e):Array.isArray(e)?e.map(r=>QE(r,t)||jb.easeOut):jb[e]}const za={x:!1,y:!1};function OE(){return za.x||za.y}function HE(e,t,r){var n;if(e instanceof Element)return[e];if(typeof e=="string"){let s=document;const i=(n=void 0)!==null&&n!==void 0?n:s.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function VE(e,t){const r=HE(e),n=new AbortController,s={passive:!0,...t,signal:n.signal};return[r,s,()=>n.abort()]}function w4(e){return t=>{t.pointerType==="touch"||OE()||e(t)}}function _O(e,t,r={}){const[n,s,i]=VE(e,r),o=w4(c=>{const{target:d}=c,u=t(c);if(typeof u!="function"||!d)return;const h=w4(m=>{u(m),d.removeEventListener("pointerleave",h)});d.addEventListener("pointerleave",h,s)});return n.forEach(c=>{c.addEventListener("pointerenter",o,s)}),i}const KE=(e,t)=>t?e===t?!0:KE(e,t.parentElement):!1,N1=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,DO=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function UO(e){return DO.has(e.tagName)||e.tabIndex!==-1}const Jd=new WeakSet;function v4(e){return t=>{t.key==="Enter"&&e(t)}}function Px(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const IO=(e,t)=>{const r=e.currentTarget;if(!r)return;const n=v4(()=>{if(Jd.has(r))return;Px(r,"down");const s=v4(()=>{Px(r,"up")}),i=()=>Px(r,"cancel");r.addEventListener("keyup",s,t),r.addEventListener("blur",i,t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)};function C4(e){return N1(e)&&!OE()}function LO(e,t,r={}){const[n,s,i]=VE(e,r),o=c=>{const d=c.currentTarget;if(!C4(c)||Jd.has(d))return;Jd.add(d);const u=t(c),h=(x,w)=>{window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",p),!(!C4(x)||!Jd.has(d))&&(Jd.delete(d),typeof u=="function"&&u(x,{success:w}))},m=x=>{h(x,r.useGlobalTarget||KE(d,x.target))},p=x=>{h(x,!1)};window.addEventListener("pointerup",m,s),window.addEventListener("pointercancel",p,s)};return n.forEach(c=>{!UO(c)&&c.getAttribute("tabindex")===null&&(c.tabIndex=0),(r.useGlobalTarget?window:c).addEventListener("pointerdown",o,s),c.addEventListener("focus",u=>IO(u,s),s)}),i}function PO(e){return e==="x"||e==="y"?za[e]?null:(za[e]=!0,()=>{za[e]=!1}):za.x||za.y?null:(za.x=za.y=!0,()=>{za.x=za.y=!1})}const GE=new Set(["width","height","top","left","right","bottom",...DA]);let Om;function RO(){Om=void 0}const Bs={now:()=>(Om===void 0&&Bs.set(qr.isProcessing||UQ.useManualTiming?qr.timestamp:performance.now()),Om),set:e=>{Om=e,queueMicrotask(RO)}};function F1(e,t){e.indexOf(t)===-1&&e.push(t)}function j1(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class S1{constructor(){this.subscriptions=[]}add(t){return F1(this.subscriptions,t),()=>j1(this.subscriptions,t)}notify(t,r,n){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,r,n);else for(let i=0;i<s;i++){const o=this.subscriptions[i];o&&o(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function WE(e,t){return t?e*(1e3/t):0}const B4=30,MO=e=>!isNaN(parseFloat(e));class QO{constructor(t,r={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,s=!0)=>{const i=Bs.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),s&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=Bs.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=MO(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new S1);const n=this.events[t].add(r);return t==="change"?()=>{n(),Wt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,n){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Bs.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>B4)return 0;const r=Math.min(this.updatedAt-this.prevUpdatedAt,B4);return WE(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Tu(e,t){return new QO(e,t)}function OO(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Tu(r))}function HO(e,t){const r=i0(e,t);let{transitionEnd:n={},transition:s={},...i}=r||{};i={...i,...n};for(const o in i){const c=tO(i[o]);OO(e,o,c)}}function VO(e){return!!(pn(e)&&e.add)}function Sb(e,t){const r=e.getValue("willChange");if(VO(r))return r.add(t)}function zE(e){return e.props[vE]}const JE=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,KO=1e-7,GO=12;function WO(e,t,r,n,s){let i,o,c=0;do o=t+(r-t)/2,i=JE(o,n,s)-e,i>0?r=o:t=o;while(Math.abs(i)>KO&&++c<GO);return o}function ih(e,t,r,n){if(e===t&&r===n)return ca;const s=i=>WO(i,0,1,e,r);return i=>i===0||i===1?i:JE(s(i),t,n)}const qE=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,$E=e=>t=>1-e(1-t),YE=ih(.33,1.53,.69,.99),E1=$E(YE),XE=qE(E1),ZE=e=>(e*=2)<1?.5*E1(e):.5*(2-Math.pow(2,-10*(e-1))),T1=e=>1-Math.sin(Math.acos(e)),eT=$E(T1),tT=qE(T1),rT=e=>/^0[^.\s]+$/u.test(e);function zO(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||rT(e):!0}const ou=e=>Math.round(e*1e5)/1e5,k1=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function JO(e){return e==null}const qO=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,_1=(e,t)=>r=>!!(typeof r=="string"&&qO.test(r)&&r.startsWith(e)||t&&!JO(r)&&Object.prototype.hasOwnProperty.call(r,t)),nT=(e,t,r)=>n=>{if(typeof n!="string")return n;const[s,i,o,c]=n.match(k1);return{[e]:parseFloat(s),[t]:parseFloat(i),[r]:parseFloat(o),alpha:c!==void 0?parseFloat(c):1}},$O=e=>Ai(0,255,e),Rx={...UA,transform:e=>Math.round($O(e))},ml={test:_1("rgb","red"),parse:nT("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Rx.transform(e)+", "+Rx.transform(t)+", "+Rx.transform(r)+", "+ou(Eu.transform(n))+")"};function YO(e){let t="",r="",n="",s="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),s=e.substring(4,5),t+=t,r+=r,n+=n,s+=s),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:s?parseInt(s,16)/255:1}}const Eb={test:_1("#"),parse:YO,transform:ml.transform},Jc={test:_1("hsl","hue"),parse:nT("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Cs.transform(ou(t))+", "+Cs.transform(ou(r))+", "+ou(Eu.transform(n))+")"},fn={test:e=>ml.test(e)||Eb.test(e)||Jc.test(e),parse:e=>ml.test(e)?ml.parse(e):Jc.test(e)?Jc.parse(e):Eb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ml.transform(e):Jc.transform(e)},XO=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ZO(e){var t,r;return isNaN(e)&&typeof e=="string"&&(((t=e.match(k1))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(XO))===null||r===void 0?void 0:r.length)||0)>0}const aT="number",sT="color",eH="var",tH="var(",N4="${}",rH=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ku(e){const t=e.toString(),r=[],n={color:[],number:[],var:[]},s=[];let i=0;const c=t.replace(rH,d=>(fn.test(d)?(n.color.push(i),s.push(sT),r.push(fn.parse(d))):d.startsWith(tH)?(n.var.push(i),s.push(eH),r.push(d)):(n.number.push(i),s.push(aT),r.push(parseFloat(d))),++i,N4)).split(N4);return{values:r,split:c,indexes:n,types:s}}function iT(e){return ku(e).values}function oT(e){const{split:t,types:r}=ku(e),n=t.length;return s=>{let i="";for(let o=0;o<n;o++)if(i+=t[o],s[o]!==void 0){const c=r[o];c===aT?i+=ou(s[o]):c===sT?i+=fn.transform(s[o]):i+=s[o]}return i}}const nH=e=>typeof e=="number"?0:e;function aH(e){const t=iT(e);return oT(e)(t.map(nH))}const Bo={test:ZO,parse:iT,createTransformer:oT,getAnimatableNone:aH},sH=new Set(["brightness","contrast","saturate","opacity"]);function iH(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(k1)||[];if(!n)return e;const s=r.replace(n,"");let i=sH.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+s+")"}const oH=/\b([a-z-]*)\(.*?\)/gu,Tb={...Bo,getAnimatableNone:e=>{const t=e.match(oH);return t?t.map(iH).join(" "):e}},lH={...p1,color:fn,backgroundColor:fn,outlineColor:fn,fill:fn,stroke:fn,borderColor:fn,borderTopColor:fn,borderRightColor:fn,borderBottomColor:fn,borderLeftColor:fn,filter:Tb,WebkitFilter:Tb},D1=e=>lH[e];function lT(e,t){let r=D1(e);return r!==Tb&&(r=Bo),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const cH=new Set(["auto","none","0"]);function AH(e,t,r){let n=0,s;for(;n<e.length&&!s;){const i=e[n];typeof i=="string"&&!cH.has(i)&&ku(i).values.length&&(s=e[n]),n++}if(s&&r)for(const i of t)e[i]=lT(r,s)}const F4=e=>e===UA||e===nt,j4=(e,t)=>parseFloat(e.split(", ")[t]),S4=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;const s=n.match(/^matrix3d\((.+)\)$/u);if(s)return j4(s[1],t);{const i=n.match(/^matrix\((.+)\)$/u);return i?j4(i[1],e):0}},dH=new Set(["x","y","z"]),uH=DA.filter(e=>!dH.has(e));function hH(e){const t=[];return uH.forEach(r=>{const n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}const BA={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:S4(4,13),y:S4(5,14)};BA.translateX=BA.x;BA.translateY=BA.y;const jl=new Set;let kb=!1,_b=!1;function cT(){if(_b){const e=Array.from(jl).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),r=new Map;t.forEach(n=>{const s=hH(n);s.length&&(r.set(n,s),n.render())}),e.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render();const s=r.get(n);s&&s.forEach(([i,o])=>{var c;(c=n.getValue(i))===null||c===void 0||c.set(o)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}_b=!1,kb=!1,jl.forEach(e=>e.complete()),jl.clear()}function AT(){jl.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(_b=!0)})}function fH(){AT(),cT()}class U1{constructor(t,r,n,s,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=n,this.motionValue=s,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(jl.add(this),kb||(kb=!0,Wt.read(AT),Wt.resolveKeyframes(cT))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:r,element:n,motionValue:s}=this;for(let i=0;i<t.length;i++)if(t[i]===null)if(i===0){const o=s==null?void 0:s.get(),c=t[t.length-1];if(o!==void 0)t[0]=o;else if(n&&r){const d=n.readValue(r,c);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=c),s&&o===void 0&&s.set(t[0])}else t[i]=t[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),jl.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,jl.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const dT=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),mH=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function pH(e){const t=mH.exec(e);if(!t)return[,];const[,r,n,s]=t;return[`--${r??n}`,s]}function uT(e,t,r=1){const[n,s]=pH(e);if(!n)return;const i=window.getComputedStyle(t).getPropertyValue(n);if(i){const o=i.trim();return dT(o)?parseFloat(o):o}return m1(s)?uT(s,t,r+1):s}const hT=e=>t=>t.test(e),gH={test:e=>e==="auto",parse:e=>e},fT=[UA,nt,Cs,zi,oO,iO,gH],E4=e=>fT.find(hT(e));class mT extends U1{constructor(t,r,n,s,i){super(t,r,n,s,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:r,name:n}=this;if(!r||!r.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let u=t[d];if(typeof u=="string"&&(u=u.trim(),m1(u))){const h=uT(u,r.current);h!==void 0&&(t[d]=h),d===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!GE.has(n)||t.length!==2)return;const[s,i]=t,o=E4(s),c=E4(i);if(o!==c)if(F4(o)&&F4(c))for(let d=0;d<t.length;d++){const u=t[d];typeof u=="string"&&(t[d]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:r}=this,n=[];for(let s=0;s<t.length;s++)zO(t[s])&&n.push(s);n.length&&AH(t,n,r)}measureInitialState(){const{element:t,unresolvedKeyframes:r,name:n}=this;if(!t||!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=BA[n](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;const s=r[r.length-1];s!==void 0&&t.getValue(n,s).jump(s,!1)}measureEndState(){var t;const{element:r,name:n,unresolvedKeyframes:s}=this;if(!r||!r.current)return;const i=r.getValue(n);i&&i.jump(this.measuredOrigin,!1);const o=s.length-1,c=s[o];s[o]=BA[n](r.measureViewportBox(),window.getComputedStyle(r.current)),c!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=c),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([d,u])=>{r.getValue(d).set(u)}),this.resolveNoneKeyframes()}}const T4=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Bo.test(e)||e==="0")&&!e.startsWith("url("));function xH(e){const t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function yH(e,t,r,n){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],o=T4(s,t),c=T4(i,t);return!o||!c?!1:xH(e)||(r==="spring"||C1(r))&&n}const bH=e=>e!==null;function o0(e,{repeat:t,repeatType:r="loop"},n){const s=e.filter(bH),i=t&&r!=="loop"&&t%2===1?0:s.length-1;return!i||n===void 0?s[i]:n}const wH=40;class pT{constructor({autoplay:t=!0,delay:r=0,type:n="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:o="loop",...c}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Bs.now(),this.options={autoplay:t,delay:r,type:n,repeat:s,repeatDelay:i,repeatType:o,...c},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>wH?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&fH(),this._resolved}onKeyframesResolved(t,r){this.resolvedAt=Bs.now(),this.hasAttemptedResolve=!0;const{name:n,type:s,velocity:i,delay:o,onComplete:c,onUpdate:d,isGenerator:u}=this.options;if(!u&&!yH(t,n,s,i))if(o)this.options.duration=0;else{d&&d(o0(t,this.options,r)),c&&c(),this.resolveFinishedPromise();return}const h=this.initPlayback(t,r);h!==!1&&(this._resolved={keyframes:t,finalKeyframe:r,...h},this.onPostResolved())}onPostResolved(){}then(t,r){return this.currentFinishedPromise.then(t,r)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const er=(e,t,r)=>e+(t-e)*r;function Mx(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function vH({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let s=0,i=0,o=0;if(!t)s=i=o=r;else{const c=r<.5?r*(1+t):r+t-r*t,d=2*r-c;s=Mx(d,c,e+1/3),i=Mx(d,c,e),o=Mx(d,c,e-1/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:n}}function sp(e,t){return r=>r>0?t:e}const Qx=(e,t,r)=>{const n=e*e,s=r*(t*t-n)+n;return s<0?0:Math.sqrt(s)},CH=[Eb,ml,Jc],BH=e=>CH.find(t=>t.test(e));function k4(e){const t=BH(e);if(!t)return!1;let r=t.parse(e);return t===Jc&&(r=vH(r)),r}const _4=(e,t)=>{const r=k4(e),n=k4(t);if(!r||!n)return sp(e,t);const s={...r};return i=>(s.red=Qx(r.red,n.red,i),s.green=Qx(r.green,n.green,i),s.blue=Qx(r.blue,n.blue,i),s.alpha=er(r.alpha,n.alpha,i),ml.transform(s))},NH=(e,t)=>r=>t(e(r)),oh=(...e)=>e.reduce(NH),Db=new Set(["none","hidden"]);function FH(e,t){return Db.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function jH(e,t){return r=>er(e,t,r)}function I1(e){return typeof e=="number"?jH:typeof e=="string"?m1(e)?sp:fn.test(e)?_4:TH:Array.isArray(e)?gT:typeof e=="object"?fn.test(e)?_4:SH:sp}function gT(e,t){const r=[...e],n=r.length,s=e.map((i,o)=>I1(i)(i,t[o]));return i=>{for(let o=0;o<n;o++)r[o]=s[o](i);return r}}function SH(e,t){const r={...e,...t},n={};for(const s in r)e[s]!==void 0&&t[s]!==void 0&&(n[s]=I1(e[s])(e[s],t[s]));return s=>{for(const i in n)r[i]=n[i](s);return r}}function EH(e,t){var r;const n=[],s={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const o=t.types[i],c=e.indexes[o][s[o]],d=(r=e.values[c])!==null&&r!==void 0?r:0;n[i]=d,s[o]++}return n}const TH=(e,t)=>{const r=Bo.createTransformer(t),n=ku(e),s=ku(t);return n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length?Db.has(e)&&!s.values.length||Db.has(t)&&!n.values.length?FH(e,t):oh(gT(EH(n,s),s.values),r):sp(e,t)};function xT(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?er(e,t,r):I1(e)(e,t)}const kH=5;function yT(e,t,r){const n=Math.max(t-kH,0);return WE(r-e(n),t-n)}const ar={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Ox=.001;function _H({duration:e=ar.duration,bounce:t=ar.bounce,velocity:r=ar.velocity,mass:n=ar.mass}){let s,i,o=1-t;o=Ai(ar.minDamping,ar.maxDamping,o),e=Ai(ar.minDuration,ar.maxDuration,ri(e)),o<1?(s=u=>{const h=u*o,m=h*e,p=h-r,x=Ub(u,o),w=Math.exp(-m);return Ox-p/x*w},i=u=>{const m=u*o*e,p=m*r+r,x=Math.pow(o,2)*Math.pow(u,2)*e,w=Math.exp(-m),g=Ub(Math.pow(u,2),o);return(-s(u)+Ox>0?-1:1)*((p-x)*w)/g}):(s=u=>{const h=Math.exp(-u*e),m=(u-r)*e+1;return-Ox+h*m},i=u=>{const h=Math.exp(-u*e),m=(r-u)*(e*e);return h*m});const c=5/e,d=UH(s,i,c);if(e=ti(e),isNaN(d))return{stiffness:ar.stiffness,damping:ar.damping,duration:e};{const u=Math.pow(d,2)*n;return{stiffness:u,damping:o*2*Math.sqrt(n*u),duration:e}}}const DH=12;function UH(e,t,r){let n=r;for(let s=1;s<DH;s++)n=n-e(n)/t(n);return n}function Ub(e,t){return e*Math.sqrt(1-t*t)}const IH=["duration","bounce"],LH=["stiffness","damping","mass"];function D4(e,t){return t.some(r=>e[r]!==void 0)}function PH(e){let t={velocity:ar.velocity,stiffness:ar.stiffness,damping:ar.damping,mass:ar.mass,isResolvedFromDuration:!1,...e};if(!D4(e,LH)&&D4(e,IH))if(e.visualDuration){const r=e.visualDuration,n=2*Math.PI/(r*1.2),s=n*n,i=2*Ai(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:ar.mass,stiffness:s,damping:i}}else{const r=_H(e);t={...t,...r,mass:ar.mass},t.isResolvedFromDuration=!0}return t}function bT(e=ar.visualDuration,t=ar.bounce){const r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:n,restDelta:s}=r;const i=r.keyframes[0],o=r.keyframes[r.keyframes.length-1],c={done:!1,value:i},{stiffness:d,damping:u,mass:h,duration:m,velocity:p,isResolvedFromDuration:x}=PH({...r,velocity:-ri(r.velocity||0)}),w=p||0,g=u/(2*Math.sqrt(d*h)),b=o-i,v=ri(Math.sqrt(d/h)),N=Math.abs(b)<5;n||(n=N?ar.restSpeed.granular:ar.restSpeed.default),s||(s=N?ar.restDelta.granular:ar.restDelta.default);let F;if(g<1){const E=Ub(v,g);F=D=>{const T=Math.exp(-g*v*D);return o-T*((w+g*v*b)/E*Math.sin(E*D)+b*Math.cos(E*D))}}else if(g===1)F=E=>o-Math.exp(-v*E)*(b+(w+v*b)*E);else{const E=v*Math.sqrt(g*g-1);F=D=>{const T=Math.exp(-g*v*D),k=Math.min(E*D,300);return o-T*((w+g*v*b)*Math.sinh(k)+E*b*Math.cosh(k))/E}}const S={calculatedDuration:x&&m||null,next:E=>{const D=F(E);if(x)c.done=E>=m;else{let T=0;g<1&&(T=E===0?ti(w):yT(F,E,D));const k=Math.abs(T)<=n,I=Math.abs(o-D)<=s;c.done=k&&I}return c.value=c.done?o:D,c},toString:()=>{const E=Math.min(PE(S),Fb),D=RE(T=>S.next(E*T).value,E,30);return E+"ms "+D}};return S}function U4({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:s=10,bounceStiffness:i=500,modifyTarget:o,min:c,max:d,restDelta:u=.5,restSpeed:h}){const m=e[0],p={done:!1,value:m},x=k=>c!==void 0&&k<c||d!==void 0&&k>d,w=k=>c===void 0?d:d===void 0||Math.abs(c-k)<Math.abs(d-k)?c:d;let g=r*t;const b=m+g,v=o===void 0?b:o(b);v!==b&&(g=v-m);const N=k=>-g*Math.exp(-k/n),F=k=>v+N(k),S=k=>{const I=N(k),Y=F(k);p.done=Math.abs(I)<=u,p.value=p.done?v:Y};let E,D;const T=k=>{x(p.value)&&(E=k,D=bT({keyframes:[p.value,w(p.value)],velocity:yT(F,k,p.value),damping:s,stiffness:i,restDelta:u,restSpeed:h}
vendor: 4,565 bytes, line 548
548))};return T(0),{calculatedDuration:null,next:k=>{let I=!1;return!D&&E===void 0&&(I=!0,S(k),T(k)),E!==void 0&&k>=E?D.next(k-E):(!I&&S(k),p)}}}const RH=ih(.42,0,1,1),MH=ih(0,0,.58,1),wT=ih(.42,0,.58,1),QH=e=>Array.isArray(e)&&typeof e[0]!="number",OH={linear:ca,easeIn:RH,easeInOut:wT,easeOut:MH,circIn:T1,circInOut:tT,circOut:eT,backIn:E1,backInOut:XE,backOut:YE,anticipate:ZE},I4=e=>{if(B1(e)){gE(e.length===4);const[t,r,n,s]=e;return ih(t,r,n,s)}else if(typeof e=="string")return OH[e];return e};function HH(e,t,r){const n=[],s=r||xT,i=e.length-1;for(let o=0;o<i;o++){let c=s(e[o],e[o+1]);if(t){const d=Array.isArray(t)?t[o]||ca:t;c=oh(d,c)}n.push(c)}return n}function VH(e,t,{clamp:r=!0,ease:n,mixer:s}={}){const i=e.length;if(gE(i===t.length),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const c=HH(t,n,s),d=c.length,u=h=>{if(o&&h<e[0])return t[0];let m=0;if(d>1)for(;m<e.length-2&&!(h<e[m+1]);m++);const p=vA(e[m],e[m+1],h);return c[m](p)};return r?h=>u(Ai(e[0],e[i-1],h)):u}function KH(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const s=vA(0,t,n);e.push(er(r,1,s))}}function GH(e){const t=[0];return KH(t,e.length-1),t}function WH(e,t){return e.map(r=>r*t)}function zH(e,t){return e.map(()=>t||wT).splice(0,e.length-1)}function ip({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const s=QH(n)?n.map(I4):I4(n),i={done:!1,value:t[0]},o=WH(r&&r.length===t.length?r:GH(t),e),c=VH(o,t,{ease:Array.isArray(s)?s:zH(t,s)});return{calculatedDuration:e,next:d=>(i.value=c(d),i.done=d>=e,i)}}const JH=e=>{const t=({timestamp:r})=>e(r);return{start:()=>Wt.update(t,!0),stop:()=>Co(t),now:()=>qr.isProcessing?qr.timestamp:Bs.now()}},qH={decay:U4,inertia:U4,tween:ip,keyframes:ip,spring:bT},$H=e=>e/100;class L1 extends pT{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:d}=this.options;d&&d()};const{name:r,motionValue:n,element:s,keyframes:i}=this.options,o=(s==null?void 0:s.KeyframeResolver)||U1,c=(d,u)=>this.onKeyframesResolved(d,u);this.resolver=new o(i,c,r,n,s),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:r="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:i,velocity:o=0}=this.options,c=C1(r)?r:qH[r]||ip;let d,u;c!==ip&&typeof t[0]!="number"&&(d=oh($H,xT(t[0],t[1])),t=[0,100]);const h=c({...this.options,keyframes:t});i==="mirror"&&(u=c({...this.options,keyframes:[...t].reverse(),velocity:-o})),h.calculatedDuration===null&&(h.calculatedDuration=PE(h));const{calculatedDuration:m}=h,p=m+s,x=p*(n+1)-s;return{generator:h,mirroredGenerator:u,mapPercentToKeyframes:d,calculatedDuration:m,resolvedDuration:p,totalDuration:x}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,r=!1){const{resolved:n}=this;if(!n){const{keyframes:k}=this.options;return{done:!0,value:k[k.length-1]}}const{finalKeyframe:s,generator:i,mirroredGenerator:o,mapPercentToKeyframes:c,keyframes:d,calculatedDuration:u,totalDuration:h,resolvedDuration:m}=n;if(this.startTime===null)return i.next(0);const{delay:p,repeat:x,repeatType:w,repeatDelay:g,onUpdate:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-h/this.speed,this.startTime)),r?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const v=this.currentTime-p*(this.speed>=0?1:-1),N=this.speed>=0?v<0:v>h;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=h);let F=this.currentTime,S=i;if(x){const k=Math.min(this.currentTime,h)/m;let I=Math.floor(k),Y=k%1;!Y&&k>=1&&(Y=1),Y===1&&I--,I=Math.min(I,x+1),!!(I%2)&&(w==="reverse"?(Y=1-Y,g&&(Y-=g/m)):w==="mirror"&&(S=o)),F=Ai(0,1,Y)*m}const E=N?{done:!1,value:d[0]}:S.next(F);c&&(E.value=c(E.value));let{done:D}=E;!N&&u!==null&&(D=this.speed>=0?this.currentTime>=h:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&D);return T&&s!==void 0&&(E.value=o0(d,this.options,s)),b&&b(E.value),T&&this.finish(),E}get duration(){const{resolved:t}=this;return t?ri(t.calculatedDuration):0}
vendor: 54,441 bytes, line 548
548get time(){return ri(this.currentTime)}set time(t){t=ti(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=ri(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=JH,onPlay:r,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),r&&r();const s=this.driver.now();this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=s):this.startTime=n??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const YH=new Set(["opacity","clipPath","filter","transform"]);function XH(e,t,r,{delay:n=0,duration:s=300,repeat:i=0,repeatType:o="loop",ease:c="easeInOut",times:d}={}){const u={[t]:r};d&&(u.offset=d);const h=QE(c,s);return Array.isArray(h)&&(u.easing=h),e.animate(u,{delay:n,duration:s,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:i+1,direction:o==="reverse"?"alternate":"normal"})}const ZH=l1(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),op=10,eV=2e4;function tV(e){return C1(e.type)||e.type==="spring"||!ME(e.ease)}function rV(e,t){const r=new L1({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let n={done:!1,value:e[0]};const s=[];let i=0;for(;!n.done&&i<eV;)n=r.sample(i),s.push(n.value),i+=op;return{times:void 0,keyframes:s,duration:i-op,ease:"linear"}}const vT={anticipate:ZE,backInOut:XE,circInOut:tT};function nV(e){return e in vT}class L4 extends pT{constructor(t){super(t);const{name:r,motionValue:n,element:s,keyframes:i}=this.options;this.resolver=new mT(i,(o,c)=>this.onKeyframesResolved(o,c),r,n,s),this.resolver.scheduleResolve()}initPlayback(t,r){let{duration:n=300,times:s,ease:i,type:o,motionValue:c,name:d,startTime:u}=this.options;if(!c.owner||!c.owner.current)return!1;if(typeof i=="string"&&ap()&&nV(i)&&(i=vT[i]),tV(this.options)){const{onComplete:m,onUpdate:p,motionValue:x,element:w,...g}=this.options,b=rV(t,g);t=b.keyframes,t.length===1&&(t[1]=t[0]),n=b.duration,s=b.times,i=b.ease,o="keyframes"}const h=XH(c.owner.current,d,t,{...this.options,duration:n,times:s,ease:i});return h.startTime=u??this.calcStartTime(),this.pendingTimeline?(b4(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{const{onComplete:m}=this.options;c.set(o0(t,this.options,r)),m&&m(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:n,times:s,type:o,ease:i,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:r}=t;return ri(r)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:r}=t;return ri(r.currentTime||0)}set time(t){const{resolved:r}=this;if(!r)return;const{animation:n}=r;n.currentTime=ti(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:r}=t;return r.playbackRate}set speed(t){const{resolved:r}=this;if(!r)return;const{animation:n}=r;n.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:r}=t;return r.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:r}=t;return r.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:r}=this;if(!r)return ca;const{animation:n}=r;b4(n,t)}return ca}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.playState==="finished"&&this.updateFinishedPromise(),r.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:r,keyframes:n,duration:s,type:i,ease:o,times:c}=t;if(r.playState==="idle"||r.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:h,onComplete:m,element:p,...x}=this.options,w=new L1({...x,keyframes:n,duration:s,type:i,ease:o,times:c,isGenerator:!0}),g=ti(this.time);u.setWithVelocity(w.sample(g-op).value,w.sample(g).value,op)}const{onStop:d}=this.options;d&&d(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:r,name:n,repeatDelay:s,repeatType:i,damping:o,type:c}=t;if(!r||!r.owner||!(r.owner.current instanceof HTMLElement))return!1;const{onUpdate:d,transformTemplate:u}=r.owner.getProps();return ZH()&&n&&YH.has(n)&&!d&&!u&&!s&&i!=="mirror"&&o!==0&&c!=="inertia"}}const aV={type:"spring",stiffness:500,damping:25,restSpeed:10},sV=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),iV={type:"keyframes",duration:.8},oV={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},lV=(e,{keyframes:t})=>t.length>2?iV:Wl.has(e)?e.startsWith("scale")?sV(t[1]):aV:oV;function cV({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:s,repeat:i,repeatType:o,repeatDelay:c,from:d,elapsed:u,...h}){return!!Object.keys(h).length}const P1=(e,t,r,n={},s,i)=>o=>{const c=v1(n,e)||{},d=c.delay||n.delay||0;let{elapsed:u=0}=n;u=u-ti(d);let h={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...c,delay:-u,onUpdate:p=>{t.set(p),c.onUpdate&&c.onUpdate(p)},onComplete:()=>{o(),c.onComplete&&c.onComplete()},name:e,motionValue:t,element:i?void 0:s};cV(c)||(h={...h,...lV(e,h)}),h.duration&&(h.duration=ti(h.duration)),h.repeatDelay&&(h.repeatDelay=ti(h.repeatDelay)),h.from!==void 0&&(h.keyframes[0]=h.from);let m=!1;if((h.type===!1||h.duration===0&&!h.repeatDelay)&&(h.duration=0,h.delay===0&&(m=!0)),m&&!i&&t.get()!==void 0){const p=o0(h.keyframes,c);if(p!==void 0)return Wt.update(()=>{h.onUpdate(p),h.onComplete()}),new EO([])}return!i&&L4.supports(h)?new L4(h):new L1(h)};function AV({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function CT(e,t,{delay:r=0,transitionOverride:n,type:s}={}){var i;let{transition:o=e.getDefaultTransition(),transitionEnd:c,...d}=t;n&&(o=n);const u=[],h=s&&e.animationState&&e.animationState.getState()[s];for(const m in d){const p=e.getValue(m,(i=e.latestValues[m])!==null&&i!==void 0?i:null),x=d[m];if(x===void 0||h&&AV(h,m))continue;const w={delay:r,...v1(o||{},m)};let g=!1;if(window.MotionHandoffAnimation){const v=zE(e);if(v){const N=window.MotionHandoffAnimation(v,m,Wt);N!==null&&(w.startTime=N,g=!0)}}Sb(e,m),p.start(P1(m,p,x,e.shouldReduceMotion&&GE.has(m)?{type:!1}:w,e,g));const b=p.animation;b&&u.push(b)}return c&&Promise.all(u).then(()=>{Wt.update(()=>{c&&HO(e,c)})}),u}function Ib(e,t,r={}){var n;const s=i0(e,t,r.type==="exit"?(n=e.presenceContext)===null||n===void 0?void 0:n.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=s||{};r.transitionOverride&&(i=r.transitionOverride);const o=s?()=>Promise.all(CT(e,s,r)):()=>Promise.resolve(),c=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:h=0,staggerChildren:m,staggerDirection:p}=i;return dV(e,t,h+u,m,p,r)}:()=>Promise.resolve(),{when:d}=i;if(d){const[u,h]=d==="beforeChildren"?[o,c]:[c,o];return u().then(()=>h())}else return Promise.all([o(),c(r.delay)])}function dV(e,t,r=0,n=0,s=1,i){const o=[],c=(e.variantChildren.size-1)*n,d=s===1?(u=0)=>u*n:(u=0)=>c-u*n;return Array.from(e.variantChildren).sort(uV).forEach((u,h)=>{u.notify("AnimationStart",t),o.push(Ib(u,t,{...i,delay:r+d(h)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(o)}function uV(e,t){return e.sortNodePosition(t)}function hV(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const s=t.map(i=>Ib(e,i,r));n=Promise.all(s)}else if(typeof t=="string")n=Ib(e,t,r);else{const s=typeof t=="function"?i0(e,t,r.custom):t;n=Promise.all(CT(e,s,r))}return n.then(()=>{e.notify("AnimationComplete",t)})}const fV=A1.length;function BT(e){if(!e)return;if(!e.isControllingVariants){const r=e.parent?BT(e.parent)||{}:{};return e.props.initial!==void 0&&(r.initial=e.props.initial),r}const t={};for(let r=0;r<fV;r++){const n=A1[r],s=e.props[n];(Su(s)||s===!1)&&(t[n]=s)}return t}const mV=[...c1].reverse(),pV=c1.length;function gV(e){return t=>Promise.all(t.map(({animation:r,options:n})=>hV(e,r,n)))}function xV(e){let t=gV(e),r=P4(),n=!0;const s=d=>(u,h)=>{var m;const p=i0(e,h,d==="exit"?(m=e.presenceContext)===null||m===void 0?void 0:m.custom:void 0);if(p){const{transition:x,transitionEnd:w,...g}=p;u={...u,...g,...w}}return u};function i(d){t=d(e)}function o(d){const{props:u}=e,h=BT(e.parent)||{},m=[],p=new Set;let x={},w=1/0;for(let b=0;b<pV;b++){const v=mV[b],N=r[v],F=u[v]!==void 0?u[v]:h[v],S=Su(F),E=v===d?N.isActive:null;E===!1&&(w=b);let D=F===h[v]&&F!==u[v]&&S;if(D&&n&&e.manuallyAnimateOnMount&&(D=!1),N.protectedKeys={...x},!N.isActive&&E===null||!F&&!N.prevProp||a0(F)||typeof F=="boolean")continue;const T=yV(N.prevProp,F);let k=T||v===d&&N.isActive&&!D&&S||b>w&&S,I=!1;const Y=Array.isArray(F)?F:[F];let ee=Y.reduce(s(v),{});E===!1&&(ee={});const{prevResolvedValues:ie={}}=N,W={...ie,...ee},ce=re=>{k=!0,p.has(re)&&(I=!0,p.delete(re)),N.needsAnimating[re]=!0;const X=e.getValue(re);X&&(X.liveStyle=!1)};for(const re in W){const X=ee[re],de=ie[re];if(x.hasOwnProperty(re))continue;let ae=!1;Nb(X)&&Nb(de)?ae=!LE(X,de):ae=X!==de,ae?X!=null?ce(re):p.add(re):X!==void 0&&p.has(re)?ce(re):N.protectedKeys[re]=!0}N.prevProp=F,N.prevResolvedValues=ee,N.isActive&&(x={...x,...ee}),n&&e.blockInitialAnimation&&(k=!1),k&&(!(D&&T)||I)&&m.push(...Y.map(re=>({animation:re,options:{type:v}})))}if(p.size){const b={};p.forEach(v=>{const N=e.getBaseTarget(v),F=e.getValue(v);F&&(F.liveStyle=!0),b[v]=N??null}),m.push({animation:b})}let g=!!m.length;return n&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(g=!1),n=!1,g?t(m):Promise.resolve()}function c(d,u){var h;if(r[d].isActive===u)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(p=>{var x;return(x=p.animationState)===null||x===void 0?void 0:x.setActive(d,u)}),r[d].isActive=u;const m=o(d);for(const p in r)r[p].protectedKeys={};return m}return{animateChanges:o,setActive:c,setAnimateFunction:i,getState:()=>r,reset:()=>{r=P4(),n=!0}}}function yV(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!LE(t,e):!1}function il(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function P4(){return{animate:il(!0),whileInView:il(),whileHover:il(),whileTap:il(),whileDrag:il(),whileFocus:il(),exit:il()}}class Po{constructor(t){this.isMounted=!1,this.node=t}update(){}}class bV extends Po{constructor(t){super(t),t.animationState||(t.animationState=xV(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();a0(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let wV=0;class vV extends Po{constructor(){super(...arguments),this.id=wV++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;const s=this.node.animationState.setActive("exit",!t);r&&!t&&s.then(()=>r(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const CV={animation:{Feature:bV},exit:{Feature:vV}};function _u(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}function lh(e){return{point:{x:e.pageX,y:e.pageY}}}const BV=e=>t=>N1(t)&&e(t,lh(t));function lu(e,t,r,n){return _u(e,t,BV(r),n)}const R4=(e,t)=>Math.abs(e-t);function NV(e,t){const r=R4(e.x,t.x),n=R4(e.y,t.y);return Math.sqrt(r**2+n**2)}class NT{constructor(t,r,{transformPagePoint:n,contextWindow:s,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=Vx(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,x=NV(m.offset,{x:0,y:0})>=3;if(!p&&!x)return;const{point:w}=m,{timestamp:g}=qr;this.history.push({...w,timestamp:g});const{onStart:b,onMove:v}=this.handlers;p||(b&&b(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,m)},this.handlePointerMove=(m,p)=>{this.lastMoveEvent=m,this.lastMoveEventInfo=Hx(p,this.transformPagePoint),Wt.update(this.updatePoint,!0)},this.handlePointerUp=(m,p)=>{this.end();const{onEnd:x,onSessionEnd:w,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=Vx(m.type==="pointercancel"?this.lastMoveEventInfo:Hx(p,this.transformPagePoint),this.history);this.startEvent&&x&&x(m,b),w&&w(m,b)},!N1(t))return;this.dragSnapToOrigin=i,this.handlers=r,this.transformPagePoint=n,this.contextWindow=s||window;const o=lh(t),c=Hx(o,this.transformPagePoint),{point:d}=c,{timestamp:u}=qr;this.history=[{...d,timestamp:u}];const{onSessionStart:h}=r;h&&h(t,Vx(c,this.history)),this.removeListeners=oh(lu(this.contextWindow,"pointermove",this.handlePointerMove),lu(this.contextWindow,"pointerup",this.handlePointerUp),lu(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Co(this.updatePoint)}}function Hx(e,t){return t?{point:t(e.point)}:e}function M4(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Vx({point:e},t){return{point:e,delta:M4(e,FT(t)),offset:M4(e,FV(t)),velocity:jV(t,.1)}}function FV(e){return e[0]}function FT(e){return e[e.length-1]}function jV(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const s=FT(e);for(;r>=0&&(n=e[r],!(s.timestamp-n.timestamp>ti(t)));)r--;if(!n)return{x:0,y:0};const i=ri(s.timestamp-n.timestamp);if(i===0)return{x:0,y:0};const o={x:(s.x-n.x)/i,y:(s.y-n.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}const jT=1e-4,SV=1-jT,EV=1+jT,ST=.01,TV=0-ST,kV=0+ST;function ua(e){return e.max-e.min}function _V(e,t,r){return Math.abs(e-t)<=r}function Q4(e,t,r,n=.5){e.origin=n,e.originPoint=er(t.min,t.max,e.origin),e.scale=ua(r)/ua(t),e.translate=er(r.min,r.max,e.origin)-e.originPoint,(e.scale>=SV&&e.scale<=EV||isNaN(e.scale))&&(e.scale=1),(e.translate>=TV&&e.translate<=kV||isNaN(e.translate))&&(e.translate=0)}function cu(e,t,r,n){Q4(e.x,t.x,r.x,n?n.originX:void 0),Q4(e.y,t.y,r.y,n?n.originY:void 0)}function O4(e,t,r){e.min=r.min+t.min,e.max=e.min+ua(t)}function DV(e,t,r){O4(e.x,t.x,r.x),O4(e.y,t.y,r.y)}function H4(e,t,r){e.min=t.min-r.min,e.max=e.min+ua(t)}function Au(e,t,r){H4(e.x,t.x,r.x),H4(e.y,t.y,r.y)}function UV(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?er(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?er(r,e,n.max):Math.min(e,r)),e}function V4(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function IV(e,{top:t,left:r,bottom:n,right:s}){return{x:V4(e.x,r,s),y:V4(e.y,t,n)}}function K4(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function LV(e,t){return{x:K4(e.x,t.x),y:K4(e.y,t.y)}}function PV(e,t){let r=.5;const n=ua(e),s=ua(t);return s>n?r=vA(t.min,t.max-n,e.min):n>s&&(r=vA(e.min,e.max-s,t.min)),Ai(0,1,r)}function RV(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const Lb=.35;function MV(e=Lb){return e===!1?e=0:e===!0&&(e=Lb),{x:G4(e,"left","right"),y:G4(e,"top","bottom")}}function G4(e,t,r){return{min:W4(e,t),max:W4(e,r)}}function W4(e,t){return typeof e=="number"?e:e[t]||0}const z4=()=>({translate:0,scale:1,origin:0,originPoint:0}),qc=()=>({x:z4(),y:z4()}),J4=()=>({min:0,max:0}),mr=()=>({x:J4(),y:J4()});function Na(e){return[e("x"),e("y")]}function ET({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function QV({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function OV(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function Kx(e){return e===void 0||e===1}function Pb({scale:e,scaleX:t,scaleY:r}){return!Kx(e)||!Kx(t)||!Kx(r)}function ll(e){return Pb(e)||TT(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function TT(e){return q4(e.x)||q4(e.y)}function q4(e){return e&&e!=="0%"}function lp(e,t,r){const n=e-r,s=t*n;return r+s}function $4(e,t,r,n,s){return s!==void 0&&(e=lp(e,s,n)),lp(e,r,n)+t}function Rb(e,t=0,r=1,n,s){e.min=$4(e.min,t,r,n,s),e.max=$4(e.max,t,r,n,s)}function kT(e,{x:t,y:r}){Rb(e.x,t.translate,t.scale,t.originPoint),Rb(e.y,r.translate,r.scale,r.originPoint)}const Y4=.999999999999,X4=1.0000000000001;function HV(e,t,r,n=!1){const s=r.length;if(!s)return;t.x=t.y=1;let i,o;for(let c=0;c<s;c++){i=r[c],o=i.projectionDelta;const{visualElement:d}=i.options;d&&d.props.style&&d.props.style.display==="contents"||(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Yc(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,kT(e,o)),n&&ll(i.latestValues)&&Yc(e,i.latestValues))}t.x<X4&&t.x>Y4&&(t.x=1),t.y<X4&&t.y>Y4&&(t.y=1)}function $c(e,t){e.min=e.min+t,e.max=e.max+t}function Z4(e,t,r,n,s=.5){const i=er(e.min,e.max,s);Rb(e,t,r,i,n)}function Yc(e,t){Z4(e.x,t.x,t.scaleX,t.scale,t.originX),Z4(e.y,t.y,t.scaleY,t.scale,t.originY)}function _T(e,t){return ET(OV(e.getBoundingClientRect(),t))}function VV(e,t,r){const n=_T(e,r),{scroll:s}=t;return s&&($c(n.x,s.offset.x),$c(n.y,s.offset.y)),n}const DT=({current:e})=>e?e.ownerDocument.defaultView:null,KV=new WeakMap;class GV{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=mr(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;const s=h=>{const{dragSnapToOrigin:m}=this.getProps();m?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(lh(h).point)},i=(h,m)=>{const{drag:p,dragPropagation:x,onDragStart:w}=this.getProps();if(p&&!x&&(this.openDragLock&&this.openDragLock(),this.openDragLock=PO(p),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Na(b=>{let v=this.getAxisMotionValue(b).get()||0;if(Cs.test(v)){const{projection:N}=this.visualElement;if(N&&N.layout){const F=N.layout.layoutBox[b];F&&(v=ua(F)*(parseFloat(v)/100))}}this.originPoint[b]=v}),w&&Wt.postRender(()=>w(h,m)),Sb(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(h,m)=>{const{dragPropagation:p,dragDirectionLock:x,onDirectionLock:w,onDrag:g}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:b}=m;if(x&&this.currentDirection===null){this.currentDirection=WV(b),this.currentDirection!==null&&w&&w(this.currentDirection);return}this.updateAxis("x",m.point,b),this.updateAxis("y",m.point,b),this.visualElement.render(),g&&g(h,m)},c=(h,m)=>this.stop(h,m),d=()=>Na(h=>{var m;return this.getAnimationState(h)==="paused"&&((m=this.getAxisMotionValue(h).animation)===null||m===void 0?void 0:m.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new NT(t,{onSessionStart:s,onStart:i,onMove:o,onSessionEnd:c,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:DT(this.visualElement)})}stop(t,r){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:s}=r;this.startAnimation(s);const{onDragEnd:i}=this.getProps();i&&Wt.postRender(()=>i(t,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){const{drag:s}=this.getProps();if(!n||!Hf(t,s,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=UV(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){var t;const{dragConstraints:r,dragElastic:n}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,i=this.constraints;r&&zc(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&s?this.constraints=IV(s.layoutBox,r):this.constraints=!1,this.elastic=MV(n),i!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&Na(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=RV(s.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!zc(t))return!1;const n=t.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const i=VV(n,s.root,this.visualElement.getTransformPagePoint());let o=LV(s.layout.layoutBox,i);if(r){const c=r(QV(o));this.hasMutatedConstraints=!!c,c&&(o=ET(c))}return o}startAnimation(t){const{drag:r,dragMomentum:n,dragElastic:s,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:c}=this.getProps(),d=this.constraints||{},u=Na(h=>{if(!Hf(h,r,this.currentDirection))return;let m=d&&d[h]||{};o&&(m={min:0,max:0});const p=s?200:1e6,x=s?40:1e7,w={type:"inertia",velocity:n?t[h]:0,bounceStiffness:p,bounceDamping:x,timeConstant:750,restDelta:1,restSpeed:10,...i,...m};return this.startAxisValueAnimation(h,w)});return Promise.all(u).then(c)}startAxisValueAnimation(t,r){const n=this.getAxisMotionValue(t);return Sb(this.visualElement,t),n.start(P1(t,n,0,r,this.visualElement,!1))}stopAnimation(){Na(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Na(t=>{var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.pause()})}getAnimationState(t){var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.state}getAxisMotionValue(t){const r=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),s=n[r];return s||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Na(r=>{const{drag:n}=this.getProps();if(!Hf(r,n,this.currentDirection))return;const{projection:s}=this.visualElement,i=this.getAxisMotionValue(r);if(s&&s.layout){const{min:o,max:c}=s.layout.layoutBox[r];i.set(t[r]-er(o,c,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!zc(r)||!n||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};Na(o=>{const c=this.getAxisMotionValue(o);if(c&&this.constraints!==!1){const d=c.get();s[o]=PV({min:d,max:d},this.constraints[o])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Na(o=>{if(!Hf(o,t,null))return;const c=this.getAxisMotionValue(o),{min:d,max:u}=this.constraints[o];c.set(er(d,u,s[o]))})}addListeners(){if(!this.visualElement.current)return;KV.set(this.visualElement,this);const t=this.visualElement.current,r=lu(t,"pointerdown",d=>{const{drag:u,dragListener:h=!0}=this.getProps();u&&h&&this.start(d)}),n=()=>{const{dragConstraints:d}=this.getProps();zc(d)&&d.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,i=s.addEventListener("measure",n);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),Wt.read(n);const o=_u(window,"resize",()=>this.scalePositionWithinConstraints()),c=s.addEventListener("didUpdate",(({delta:d,hasLayoutChanged:u})=>{this.isDragging&&u&&(Na(h=>{const m=this.getAxisMotionValue(h);m&&(this.originPoint[h]+=d[h].translate,m.set(m.get()+d[h].translate))}),this.visualElement.render())}));return()=>{o(),r(),i(),c&&c()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:s=!1,dragConstraints:i=!1,dragElastic:o=Lb,dragMomentum:c=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:s,dragConstraints:i,dragElastic:o,dragMomentum:c}}}function Hf(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function WV(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class zV extends Po{constructor(t){super(t),this.removeGroupControls=ca,this.removeListeners=ca,this.controls=new GV(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ca}unmount(){this.removeGroupControls(),this.removeListeners()}}const eN=e=>(t,r)=>{e&&Wt.postRender(()=>e(t,r))};class JV extends Po{constructor(){super(...arguments),this.removePointerDownListener=ca}onPointerDown(t){this.session=new NT(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:DT(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:s}=this.node.getProps();return{onSessionStart:eN(t),onStart:eN(r),onMove:n,onEnd:(i,o)=>{delete this.session,s&&Wt.postRender(()=>s(i,o))}}}mount(){this.removePointerDownListener=lu(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Hm={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tN(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ud={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(nt.test(e))e=parseFloat(e);else return e;const r=tN(e,t.target.x),n=tN(e,t.target.y);return`${r}% ${n}%`}},qV={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,s=Bo.parse(e);if(s.length>5)return n;const i=Bo.createTransformer(e),o=typeof s[0]!="number"?1:0,c=r.x.scale*t.x,d=r.y.scale*t.y;s[0+o]/=c,s[1+o]/=d;const u=er(c,d,.5);return typeof s[2+o]=="number"&&(s[2+o]/=u),typeof s[3+o]=="number"&&(s[3+o]/=u),i(s)}};class $V extends B.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:s}=this.props,{projection:i}=t;gO(YV),i&&(r.group&&r.group.add(i),n&&n.register&&s&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Hm.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:n,drag:s,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,s||t.layoutDependency!==r||r===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||Wt.postRender(()=>{const c=o.getStack();(!c||!c.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),u1.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:s}=t;s&&(s.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(s),n&&n.deregister&&n.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function UT(e){const[t,r]=mE(),n=B.useContext(a1);return a.jsx($V,{...e,layoutGroup:n,switchLayoutGroup:B.useContext(CE),isPresent:t,safeToRemove:r})}const YV={borderRadius:{...Ud,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ud,borderTopRightRadius:Ud,borderBottomLeftRadius:Ud,borderBottomRightRadius:Ud,boxShadow:qV};function XV(e,t,r){const n=pn(e)?e:Tu(e);return n.start(P1("",n,t,r)),n.animation}function ZV(e){return e instanceof SVGElement&&e.tagName!=="svg"}const eK=(e,t)=>e.depth-t.depth;class tK{constructor(){this.children=[],this.isDirty=!1}add(t){F1(this.children,t),this.isDirty=!0}remove(t){j1(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(eK),this.isDirty=!1,this.children.forEach(t)}}function rK(e,t){const r=Bs.now(),n=({timestamp:s})=>{const i=s-r;i>=t&&(Co(n),e(i-t))};return Wt.read(n,!0),()=>Co(n)}const IT=["TopLeft","TopRight","BottomLeft","BottomRight"],nK=IT.length,rN=e=>typeof e=="string"?parseFloat(e):e,nN=e=>typeof e=="number"||nt.test(e);function aK(e,t,r,n,s,i){s?(e.opacity=er(0,r.opacity!==void 0?r.opacity:1,sK(n)),e.opacityExit=er(t.opacity!==void 0?t.opacity:1,0,iK(n))):i&&(e.opacity=er(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let o=0;o<nK;o++){const c=`border${IT[o]}Radius`;let d=aN(t,c),u=aN(r,c);if(d===void 0&&u===void 0)continue;d||(d=0),u||(u=0),d===0||u===0||nN(d)===nN(u)?(e[c]=Math.max(er(rN(d),rN(u),n),0),(Cs.test(u)||Cs.test(d))&&(e[c]+="%")):e[c]=u}(t.rotate||r.rotate)&&(e.rotate=er(t.rotate||0,r.rotate||0,n))}function aN(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const sK=LT(0,.5,eT),iK=LT(.5,.95,ca);function LT(e,t,r){return n=>n<e?0:n>t?1:r(vA(e,t,n))}function sN(e,t){e.min=t.min,e.max=t.max}function wa(e,t){sN(e.x,t.x),sN(e.y,t.y)}function iN(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function oN(e,t,r,n,s){return e-=t,e=lp(e,1/r,n),s!==void 0&&(e=lp(e,1/s,n)),e}function oK(e,t=0,r=1,n=.5,s,i=e,o=e){if(Cs.test(t)&&(t=parseFloat(t),t=er(o.min,o.max,t/100)-o.min),typeof t!="number")return;let c=er(i.min,i.max,n);e===i&&(c-=t),e.min=oN(e.min,t,r,c,s),e.max=oN(e.max,t,r,c,s)}function lN(e,t,[r,n,s],i,o){oK(e,t[r],t[n],t[s],t.scale,i,o)}const lK=["x","scaleX","originX"],cK=["y","scaleY","originY"];function cN(e,t,r,n){lN(e.x,t,lK,r?r.x:void 0,n?n.x:void 0),lN(e.y,t,cK,r?r.y:void 0,n?n.y:void 0)}function AN(e){return e.translate===0&&e.scale===1}function PT(e){return AN(e.x)&&AN(e.y)}function dN(e,t){return e.min===t.min&&e.max===t.max}function AK(e,t){return dN(e.x,t.x)&&dN(e.y,t.y)}function uN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function RT(e,t){return uN(e.x,t.x)&&uN(e.y,t.y)}function hN(e){return ua(e.x)/ua(e.y)}function fN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class dK{constructor(){this.members=[]}add(t){F1(this.members,t),t.scheduleRender()}remove(t){if(j1(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(s=>t===s);if(r===0)return!1;let n;for(let s=r;s>=0;s--){const i=this.members[s];if(i.isPresent!==!1){n=i;break}}return n?(this.promote(n),!0):!1}promote(t,r){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:s}=t.options;s===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function uK(e,t,r){let n="";const s=e.x.translate/t.x,i=e.y.translate/t.y,o=(r==null?void 0:r.z)||0;if((s||i||o)&&(n=`translate3d(${s}px, ${i}px, ${o}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{transformPerspective:u,rotate:h,rotateX:m,rotateY:p,skewX:x,skewY:w}=r;u&&(n=`perspective(${u}px) ${n}`),h&&(n+=`rotate(${h}deg) `),m&&(n+=`rotateX(${m}deg) `),p&&(n+=`rotateY(${p}deg) `),x&&(n+=`skewX(${x}deg) `),w&&(n+=`skewY(${w}deg) `)}const c=e.x.scale*t.x,d=e.y.scale*t.y;return(c!==1||d!==1)&&(n+=`scale(${c}, ${d})`),n||"none"}const cl={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},qd=typeof window<"u"&&window.MotionDebug!==void 0,Gx=["","X","Y","Z"],hK={visibility:"hidden"},mN=1e3;let fK=0;function Wx(e,t,r,n){const{latestValues:s}=t;s[e]&&(r[e]=s[e],t.setStaticValue(e,0),n&&(n[e]=0))}function MT(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const r=zE(t);if(window.MotionHasOptimisedAnimation(r,"transform")){const{layout:s,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",Wt,!(s||i))}const{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&MT(n)}function QT({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:s}){return class{constructor(o={},c=t==null?void 0:t()){this.id=fK++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,qd&&(cl.totalNodes=cl.resolvedTargetDeltas=cl.recalculatedProjection=0),this.nodes.forEach(gK),this.nodes.forEach(vK),this.nodes.forEach(CK),this.nodes.forEach(xK),qd&&window.MotionDebug.record(cl)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0;for(let d=0;d<this.path.length;d++)this.path[d].shouldResetTransform=!0;this.root===this&&(this.nodes=new tK)}addEventListener(o,c){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new S1),this.eventHandlers.get(o).add(c)}notifyListeners(o,...c){const d=this.eventHandlers.get(o);d&&d.notify(...c)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,c=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=ZV(o),this.instance=o;const{layoutId:d,layout:u,visualElement:h}=this.options;if(h&&!h.current&&h.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),c&&(u||d)&&(this.isLayoutDirty=!0),e){let m;const p=()=>this.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,m&&m(),m=rK(p,250),Hm.hasAnimatedSinceResize&&(Hm.hasAnimatedSinceResize=!1,this.nodes.forEach(gN))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&h&&(d||u)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:p,hasRelativeTargetChanged:x,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||h.getDefaultTransition()||SK,{onLayoutAnimationStart:b,onLayoutAnimationComplete:v}=h.getProps(),N=!this.targetLayout||!RT(this.targetLayout,w)||x,F=!p&&x;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||F||p&&(N||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(m,F);const S={...v1(g,"layout"),onPlay:b,onComplete:v};(h.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else p||gN(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Co(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(BK),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&MT(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let h=0;h<this.path.length;h++){const m=this.path[h];m.shouldResetTransform=!0,m.updateScroll("snapshot"),m.options.layoutRoot&&m.willUpdate(!1)}const{layoutId:c,layout:d}=this.options;if(c===void 0&&!d)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(pN);return}this.isUpdating||this.nodes.forEach(bK),this.isUpdating=!1,this.nodes.forEach(wK),this.nodes.forEach(mK),this.nodes.forEach(pK),this.clearAllSnapshots();const c=Bs.now();qr.delta=Ai(0,1e3/60,c-qr.timestamp),qr.timestamp=c,qr.isProcessing=!0,Lx.update.process(qr),Lx.preRender.process(qr),Lx.render.process(qr),qr.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,u1.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(yK),this.sharedNodes.forEach(NK)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Wt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Wt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let d=0;d<this.path.length;d++)this.path[d].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=mr(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:c}=this.options;c&&c.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let c=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(c=!1),c){const d=n(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:d,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:d}}}resetTransform(){if(!s)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,c=this.projectionDelta&&!PT(this.projectionDelta),d=this.getTransformTemplate(),u=d?d(this.latestValues,""):void 0,h=u!==this.prevTransformTemplateValue;o&&(c||ll(this.latestValues)||h)&&(s(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const c=this.measurePageBox();let d=this.removeElementScroll(c);return o&&(d=this.removeTransform(d)),EK(d),{animationId:this.root.animationId,measuredBox:c,layoutBox:d,latestValues:{},source:this.id}}measurePageBox(){var o;const{visualElement:c}=this.options;if(!c)return mr();const d=c.measureViewportBox();if(!(((o=this.scroll)===null||o===void 0?void 0:o.wasRoot)||this.path.some(TK))){const{scroll:h}=this.root;h&&($c(d.x,h.offset.x),$c(d.y,h.offset.y))}return d}removeElementScroll(o){var c;const d=mr();if(wa(d,o),!((c=this.scroll)===null||c===void 0)&&c.wasRoot)return d;for(let u=0;u<this.path.length;u++){const h=this.path[u],{scroll:m,options:p}=h;h!==this.root&&m&&p.layoutScroll&&(m.wasRoot&&wa(d,o),$c(d.x,m.offset.x),$c(d.y,m.offset.y))}return d}applyTransform(o,c=!1){const d=mr();wa(d,o);for(let u=0;u<this.path.length;u++){const h=this.path[u];!c&&h.options.layoutScroll&&h.scroll&&h!==h.root&&Yc(d,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),ll(h.latestValues)&&Yc(d,h.latestValues)}return ll(this.latestValues)&&Yc(d,this.latestValues),d}removeTransform(o){const c=mr();wa(c,o);for(let d=0;d<this.path.length;d++){const u=this.path[d];if(!u.instance||!ll(u.latestValues))continue;Pb(u.latestValues)&&u.updateSnapshot();const h=mr(),m=u.measurePageBox();wa(h,m),cN(c,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,h)}return ll(this.latestValues)&&cN(c,this.latestValues),c}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==qr.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var c;const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==d;if(!(o||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:m,layoutId:p}=this.options;if(!(!this.layout||!(m||p))){if(this.resolvedRelativeTargetAt=qr.timestamp,!this.targetDelta&&!this.relativeTarget){const x=this.getClosestProjectingParent();x&&x.layout&&this.animationProgress!==1?(this.relativeParent=x,this.forceRelativeParentToResolveTarget(),this.relativeTarget=mr(),this.relativeTargetOrigin=mr(),Au(this.relativeTargetOrigin,this.layout.layoutBox,x.layout.layoutBox),wa(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=mr(),this.targetWithTransforms=mr()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),DV(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):wa(this.target,this.layout.layoutBox),kT(this.target,this.targetDelta)):wa(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const x=this.getClosestProjectingParent();x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?(this.relativeParent=x,this.forceRelativeParentToResolveTarget(),this.relativeTarget=mr(),this.relativeTargetOrigin=mr(),Au(this.relativeTargetOrigin,this.target,x.target),wa(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}qd&&cl.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Pb(this.parent.latestValues)||TT(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;const c=this.getLead(),d=!!this.resumingFrom||this!==c;let u=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(u=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===qr.timestamp&&(u=!1),u)return;const{layout:h,layoutId:m}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||m))return;wa(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,x=this.treeScale.y;HV(this.layoutCorrected,this.treeScale,this.path,d),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox,c.targetWithTransforms=mr());const{target:w}=c;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(iN(this.prevProjectionDelta.x,this.projectionDelta.x),iN(this.prevProjectionDelta.y,this.projectionDelta.y)),cu(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==x||!fN(this.projectionDelta.x,this.prevProjectionDelta.x)||!fN(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w)),qd&&cl.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var c;if((c=this.options.visualElement)===null||c===void 0||c.scheduleRender(),o){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=qc(),this.projectionDelta=qc(),this.projectionDeltaWithTransform=qc()}setAnimationOrigin(o,c=!1){const d=this.snapshot,u=d?d.latestValues:{},h={...this.latestValues},m=qc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!c;const p=mr(),x=d?d.source:void 0,w=this.layout?this.layout.source:void 0,g=x!==w,b=this.getStack(),v=!b||b.members.length<=1,N=!!(g&&!v&&this.options.crossfade===!0&&!this.path.some(jK));this.animationProgress=0;let F;this.mixTargetDelta=S=>{const E=S/1e3;xN(m.x,o.x,E),xN(m.y,o.y,E),this.setTargetDelta(m),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Au(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),FK(this.relativeTarget,this.relativeTargetOrigin,p,E),F&&AK(this.relativeTarget,F)&&(this.isProjectionDirty=!1),F||(F=mr()),wa(F,this.relativeTarget)),g&&(this.animationValues=h,aK(h,u,this.latestValues,E,N,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Co(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Wt.update(()=>{Hm.hasAnimatedSinceResize=!0,this.currentAnimation=XV(0,mN,{...o,onUpdate:c=>{this.mixTargetDelta(c),o.onUpdate&&o.onUpdate(c)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(mN),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:c,target:d,layout:u,latestValues:h}=o;if(!(!c||!d||!u)){if(this!==o&&this.layout&&u&&OT(this.options.animationType,this.layout.layoutBox,u.layoutBox)){d=this.target||mr();const m=ua(this.layout.layoutBox.x);d.x.min=o.target.x.min,d.x.max=d.x.min+m;const p=ua(this.layout.layoutBox.y);d.y.min=o.target.y.min,d.y.max=d.y.min+p}wa(c,d),Yc(c,h),cu(this.projectionDeltaWithTransform,this.layoutCorrected,c,h)}}registerSharedNode(o,c){this.sharedNodes.has(o)||this.sharedNodes.set(o,new dK),this.sharedNodes.get(o).add(c);const u=c.options.initialPromotionConfig;c.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(c):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:c}=this.options;return c?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:c}=this.options;return c?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:c,preserveFollowOpacity:d}={}){const u=this.getStack();u&&u.promote(this,d),o&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let c=!1;const{latestValues:d}=o;if((d.z||d.rotate||d.rotateX||d.rotateY||d.rotateZ||d.skewX||d.skewY)&&(c=!0),!c)return;const u={};d.z&&Wx("z",o,u,this.animationValues);for(let h=0;h<Gx.length;h++)Wx(`rotate${Gx[h]}`,o,u,this.animationValues),Wx(`skew${Gx[h]}`,o,u,this.animationValues);o.render();for(const h in u)o.setStaticValue(h,u[h]),this.animationValues&&(this.animationValues[h]=u[h]);o.scheduleRender()}getProjectionStyles(o){var c,d;if(!this.instance||this.isSVG)return;if(!this.isVisible)return hK;const u={visibility:""},h=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=Qm(o==null?void 0:o.pointerEvents)||"",u.transform=h?h(this.latestValues,""):"none",u;const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){const g={};return this.options.layoutId&&(g.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,g.pointerEvents=Qm(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!ll(this.latestValues)&&(g.transform=h?h({},""):"none",this.hasProjected=!1),g}const p=m.animationValues||m.latestValues;this.applyTransformsToTarget(),u.transform=uK(this.projectionDeltaWithTransform,this.treeScale,p),h&&(u.transform=h(p,u.transform));const{x,y:w}=this.projectionDelta;u.transformOrigin=`${x.origin*100}% ${w.origin*100}% 0`,m.animationValues?u.opacity=m===this?(d=(c=p.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&d!==void 0?d:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:u.opacity=m===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const g in np){if(p[g]===void 0)continue;const{correct:b,applyTo:v}=np[g],N=u.transform==="none"?p[g]:b(p[g],m);if(v){const F=v.length;for(let S=0;S<F;S++)u[v[S]]=N}else u[g]=N}return this.options.layoutId&&(u.pointerEvents=m===this?Qm(o==null?void 0:o.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var c;return(c=o.currentAnimation)===null||c===void 0?void 0:c.stop()}),this.root.nodes.forEach(pN),this.root.sharedNodes.clear()}}}function mK(e){e.updateLayout()}function pK(e){var t;const r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:s}=e.layout,{animationType:i}=e.options,o=r.source!==e.layout.source;i==="size"?Na(m=>{const p=o?r.measuredBox[m]:r.layoutBox[m],x=ua(p);p.min=n[m].min,p.max=p.min+x}):OT(i,r.layoutBox,n)&&Na(m=>{const p=o?r.measuredBox[m]:r.layoutBox[m],x=ua(n[m]);p.max=p.min+x,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[m].max=e.relativeTarget[m].min+x)});const c=qc();cu(c,n,r.layoutBox);const d=qc();o?cu(d,e.applyTransform(s,!0),r.measuredBox):cu(d,n,r.layoutBox);const u=!PT(c);let h=!1;if(!e.resumeFrom){const m=e.getClosestProjectingParent();if(m&&!m.resumeFrom){const{snapshot:p,layout:x}=m;if(p&&x){const w=mr();Au(w,r.layoutBox,p.layoutBox);const g=mr();Au(g,n,x.layoutBox),RT(w,g)||(h=!0),m.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=w,e.relativeParent=m)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:d,layoutDelta:c,hasLayoutChanged:u,hasRelativeTargetChanged:h})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function gK(e){qd&&cl.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function xK(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function yK(e){e.clearSnapshot()}function pN(e){e.clearMeasurements()}function bK(e){e.isLayoutDirty=!1}function wK(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function gN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function vK(e){e.resolveTargetDelta()}function CK(e){e.calcProjection()}
vendor: 6,595 bytes, line 548
548function BK(e){e.resetSkewAndRotation()}function NK(e){e.removeLeadSnapshot()}function xN(e,t,r){e.translate=er(t.translate,0,r),e.scale=er(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function yN(e,t,r,n){e.min=er(t.min,r.min,n),e.max=er(t.max,r.max,n)}function FK(e,t,r,n){yN(e.x,t.x,r.x,n),yN(e.y,t.y,r.y,n)}function jK(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const SK={duration:.45,ease:[.4,0,.1,1]},bN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),wN=bN("applewebkit/")&&!bN("chrome/")?Math.round:ca;function vN(e){e.min=wN(e.min),e.max=wN(e.max)}function EK(e){vN(e.x),vN(e.y)}function OT(e,t,r){return e==="position"||e==="preserve-aspect"&&!_V(hN(t),hN(r),.2)}function TK(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const kK=QT({attachResizeListener:(e,t)=>_u(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),zx={current:void 0},HT=QT({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!zx.current){const e=new kK({});e.mount(window),e.setOptions({layoutScroll:!0}),zx.current=e}return zx.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),_K={pan:{Feature:JV},drag:{Feature:zV,ProjectionNode:HT,MeasureLayout:UT}};function CN(e,t,r){const{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover",r==="Start");const s="onHover"+r,i=n[s];i&&Wt.postRender(()=>i(t,lh(t)))}class DK extends Po{mount(){const{current:t}=this.node;t&&(this.unmount=_O(t,r=>(CN(this.node,r,"Start"),n=>CN(this.node,n,"End"))))}unmount(){}}class UK extends Po{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=oh(_u(this.node.current,"focus",()=>this.onFocus()),_u(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function BN(e,t,r){const{props:n}=e;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap",r==="Start");const s="onTap"+(r==="End"?"":r),i=n[s];i&&Wt.postRender(()=>i(t,lh(t)))}class IK extends Po{mount(){const{current:t}=this.node;t&&(this.unmount=LO(t,r=>(BN(this.node,r,"Start"),(n,{success:s})=>BN(this.node,n,s?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Mb=new WeakMap,Jx=new WeakMap,LK=e=>{const t=Mb.get(e.target);t&&t(e)},PK=e=>{e.forEach(LK)};function RK({root:e,...t}){const r=e||document;Jx.has(r)||Jx.set(r,{});const n=Jx.get(r),s=JSON.stringify(t);return n[s]||(n[s]=new IntersectionObserver(PK,{root:e,...t})),n[s]}function MK(e,t,r){const n=RK(t);return Mb.set(e,r),n.observe(e),()=>{Mb.delete(e),n.unobserve(e)}}const QK={some:0,all:1};class OK extends Po{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:s="some",once:i}=t,o={root:r?r.current:void 0,rootMargin:n,threshold:typeof s=="number"?s:QK[s]},c=d=>{const{isIntersecting:u}=d;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:h,onViewportLeave:m}=this.node.getProps(),p=u?h:m;p&&p(d)};return MK(this.node.current,o,c)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(HK(t,r))&&this.startObserver()}unmount(){}}function HK({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const VK={inView:{Feature:OK},tap:{Feature:IK},focus:{Feature:UK},hover:{Feature:DK}},KK={layout:{ProjectionNode:HT,MeasureLayout:UT}},Qb={current:null},VT={current:!1};function GK(){if(VT.current=!0,!!o1)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Qb.current=e.matches;e.addListener(t),t()}else Qb.current=!1}const WK=[...fT,fn,Bo],zK=e=>WK.find(hT(e)),NN=new WeakMap;function JK(e,t,r){for(const n in t){const s=t[n],i=r[n];if(pn(s))e.addValue(n,s);else if(pn(i))e.addValue(n,Tu(s,{owner:e}));else if(i!==s)if(e.hasValue(n)){const o=e.getValue(n);o.liveStyle===!0?o.jump(s):o.hasAnimated||o.set(s)}else{const o=e.getStaticValue(n);e.addValue(n,Tu(o!==void 0?o:s,{owner:e}))}}for(const n in r)t[n]===void 0&&e.removeValue(n);return t}const FN=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class qK{scrapeMotionValuesFromProps(t,r,n){return{}}constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:s,blockInitialAnimation:i,visualState:o},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=U1,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const x=Bs.now();this.renderScheduledAt<x&&(this.renderScheduledAt=x,Wt.render(this.render,!1,!0))};const{latestValues:d,renderState:u,onUpdate:h}=o;this.onUpdate=h,this.latestValues=d,this.baseTarget={...d},this.initialValues=r.initial?{...d}:{},this.renderState=u,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=c,this.blockInitialAnimation=!!i,this.isControllingVariants=s0(r),this.isVariantNode=wE(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:m,...p}=this.scrapeMotionValuesFromProps(r,{},this);for(const x in p){const w=p[x];d[x]!==void 0&&pn(w)&&w.set(d[x],!1)}}mount(t){this.current=t,NN.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
vendor: 5,772 bytes, line 548
548h((r,n)=>this.bindToMotionValue(n,r)),VT.current||GK(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Qb.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){NN.delete(this.current),this.projection&&this.projection.unmount(),Co(this.notifyUpdate),Co(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const r=this.features[t];r&&(r.unmount(),r.isMounted=!1)}this.current=null}bindToMotionValue(t,r){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const n=Wl.has(t),s=r.on("change",c=>{this.latestValues[t]=c,this.props.onUpdate&&Wt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=r.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,r)),this.valueSubscriptions.set(t,()=>{s(),i(),o&&o(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in CA){const r=CA[t];if(!r)continue;const{isEnabled:n,Feature:s}=r;if(!this.features[t]&&s&&n(this.props)&&(this.features[t]=new s(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):mr()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let n=0;n<FN.length;n++){const s=FN[n];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const i="on"+s,o=t[i];o&&(this.propEventSubscriptions[s]=this.on(s,o))}this.prevMotionValues=JK(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){const n=this.values.get(t);r!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,r),this.values.set(t,r),this.latestValues[t]=r.get())}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&r!==void 0&&(n=Tu(r===null?void 0:r,{owner:this}),this.addValue(t,n)),n}readValue(t,r){var n;let s=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options);return s!=null&&(typeof s=="string"&&(dT(s)||rT(s))?s=parseFloat(s):!zK(s)&&Bo.test(r)&&(s=lT(t,r)),this.setBaseTarget(t,pn(s)?s.get():s)),pn(s)?s.get():s}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;const{initial:n}=this.props;let s;if(typeof n=="string"||typeof n=="object"){const o=f1(this.props,n,(r=this.presenceContext)===null||r===void 0?void 0:r.custom);o&&(s=o[t])}if(n&&s!==void 0)return s;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!pn(i)?i:this.initialValues[t]!==void 0&&s===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new S1),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class KT extends qK{constructor(){super(...arguments),this.KeyframeResolver=mT}sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;pn(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}}function $K(e){return window.getComputedStyle(e)}class YK extends KT{constructor(){super(...arguments),this.type="html",this.renderInstance=TE}readValueFromInstance(t,r){if(Wl.has(r)){const n=D1(r);return n&&n.default||0}else{const n=$K(t),s=(jE(r)?n.getPropertyValue(r):n[r])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:r}){return _T(t,r)}build(t,r,n){g1(t,r,n.transformTemplate)}scrapeMotionValuesFromProps(t,r,n){return w1(t,r,n)}}class XK extends KT{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=mr}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(Wl.has(r)){const n=D1(r);return n&&n.default||0}return r=kE.has(r)?r:d1(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,n){return UE(t,r,n)}
548build(t,r,n){x1(t,r,this.isSVGTag,n.transformTemplate)}renderInstance(t,r,n,s){_E(t,r,n,s)}mount(t){this.isSVGTag=b1(t.tagName),super.mount(t)}}const ZK=(e,t)=>h1(e)?new XK(t):new YK(t,{allowProjection:e!==B.Fragment}),eG=FO({...CV,...VK,..._K,...KK},ZK),V=OQ(eG),tG={some:0,all:1};function rG(e,t,{root:r,margin:n,amount:s="some"}={}){const i=HE(e),o=new WeakMap,c=u=>{u.forEach(h=>{const m=o.get(h.target);if(h.isIntersecting!==!!m)if(h.isIntersecting){const p=t(h);typeof p=="function"?o.set(h.target,p):d.unobserve(h.target)}else typeof m=="function"&&(m(h),o.delete(h.target))})},d=new IntersectionObserver(c,{root:r,rootMargin:n,threshold:typeof s=="number"?s:tG[s]});return i.forEach(u=>d.observe(u)),()=>d.disconnect()}function GT(e,{root:t,margin:r,amount:n,once:s=!1}={}){const[i,o]=B.useState(!1);return B.useEffect(()=>{if(!e.current||s&&i)return;const c=()=>(o(!0),s?void 0:()=>o(!1)),d={root:t&&t.current||void 0,margin:r,amount:n};return rG(e.current,c,d)},[t,e,r,s,n]),i}const Ec=["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/78dadde01__V7A5294.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/229675ea1__V7A5280.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/195ac0b92__V7A4961.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/d8a5d03e7__V7A4928.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/e96af4ff8_BV7A0857.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/7190c5e67_BV7A0837.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/31675fd62__V7A0824.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/3964da4d9__V7A0791.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6491dc20a__V7A4843.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/d6418460b__V7A54621.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/40237273e__V7A5514.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/eac9c6bce__V7A5527.jpg"],nG=[{year:"1999",title:"Academy Founded",desc:"The National Film Academy is established in the United Kingdom â born from a belief that audiences, not just industry insiders, should have a say in celebrating cinema's finest.",color:"from-[#7C3AED] to-[#4C1D95]",accent:"#7C3AED",img:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/fdc6f75c3_493128197_3917653858486185_1152427277301381336_n.jpg",icon:It},{year:"2015",title:"National Film Awards Launch",desc:"The inaugural National Film Awards ceremony takes place in London. Over 756,000 fans vote across 15 categories. Dame Judi Dench receives the first ever Lifetime Achievement Award.",color:"from-[#D4AF37] to-[#B8941F]",accent:"#D4AF37",img:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/fdc6f75c3_493128197_3917653858486185_1152427277301381336_n.jpg",icon:ut},{year:"2018",title:"USA Expansion",desc:"The National Film Awards launches in the United States at the Globe Theatre in Los Angeles, bringing the fan-voted format to American audiences for the first time.",color:"from-[#DC2626] to-[#7F1D1D]",accent:"#DC2626",img:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/e96af4ff8_BV7A0857.jpg",icon:Gn},{year:"2022",title:"Asia Launch",desc:"The National Film Awards expands into Asia, honouring the vibrant and rapidly growing film industries across the region â from Bollywood to Korean cinema.",color:"from-[#059669] to-[#064E3B]",accent:"#059669",img:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/78dadde01__
548V7A5294.jpg",icon:Dr},{year:"2023",title:"South Africa â NF&TV Awards",desc:"The National Film and TV Awards launches in South Africa, celebrating the extraordinary storytelling traditions and rapidly growing screen industries of the continent.",color:"from-[#0047AB] to-[#1E3A8A]",accent:"#0047AB",img:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/229675ea1__V7A5280.jpg",icon:da},{year:"2026",title:"12th Annual Ceremony",desc:"The most anticipated edition yet. The National Film Awards UK celebrates its 12th year at Porchester Hall, London â with global expansion continuing across new territories.",color:"from-[#C41E3A] to-[#7F1D1D]",accent:"#C41E3A",img:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/40237273e__V7A5514.jpg",icon:Sn}],aG=[{icon:ut,title:"Annual Film Awards",desc:"The National Film Awards â the world's most democratic film awards â publicly voted by millions of fans across the globe.",color:"bg-[#D4AF37]",border:"border-[#D4AF37]"},{icon:$t,title:"Talent Support",desc:"We support, mentor, and promote filmmakers, actors, actresses, and all the creative talent that makes up the motion picture industry.",color:"bg-[#0047AB]",border:"border-[#0047AB]"},{icon:Yu,title:"Festivals & Premieres",desc:"Annual film festivals, premieres, workshops, conferences and seminars held across the UK, France, Germany, and the USA.",color:"bg-[#7C3AED]",border:"border-[#7C3AED]"},{icon:Gn,title:"Global Reach",desc:"Operating across 5 continents with territories in the UK, USA, Asia, South Africa, and beyond â uniting cinema fans worldwide.",color:"bg-[#059669]",border:"border-[#059669]"}],sG=[{value:"1999",label:"Year Founded",color:"text-[#D4AF37]"},{value:"4.7M+",label:"Peak Votes Cast",color:"text-[#0047AB]"},{value:"11",label:"Annual Ceremonies",color:"text-[#7C3AED]"},{value:"5",label:"Global Territories",color:"text-[#DC2626]"},{value:"30+",label:"Award Categories",color:"text-[#059669]"},{value:"25+",label:"Years of Excellence",color:"text-[#C41E3A]"}];
548function iG(){const[e,t]=B.useState(0),[r,n]=B.useState(null);return a.jsxs("div",{className:"pt-24 lg:pt-28 bg-[#0A0A0A] min-h-screen",children:[a.jsxs("section",{className:"relative min-h-[90vh] flex items-end overflow-hidden",children:[a.jsxs("div",{className:"absolute inset-0",children:[a.jsx(V.img,{src:Ec[e],initial:{opacity:0,scale:1.05},animate:{opacity:1,scale:1},transition:{duration:.8},className:"w-full h-full object-cover object-top absolute inset-0",style:{objectPosition:"center 20%"}},e),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0A0A0A] via-[#0A0A0A]/60 to-[#0A0A0A]/20"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#0A0A0A]/70 to-transparent"})]}),a.jsx("div",{className:"absolute right-6 top-1/2 -translate-y-1/2 z-20 flex flex-col gap-2 hidden lg:flex",children:Ec.slice(0,6).map((s,i)=>a.jsx("button",{onClick:()=>t(i),className:`w-14 h-14 rounded-lg overflow-hidden border-2 transition-all duration-300 ${e===i?"border-[#D4AF37] scale-110":"border-white/20 hover:border-white/60"}`,children:a.jsx("img",{src:s,alt:"",className:"w-full h-full object-cover object-top"})},i))}),a.jsx("div",{className:"relative z-10 max-w-[1400px] mx-auto px-6 lg:px-10 pb-20 w-full",children:a.jsxs(V.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.9},children:[a.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[a.jsx("div",{className:"px-3 py-1 bg-[#D4AF37] rounded-full text-white text-[10px] font-bold tracking-[0.2em] uppercase",children:"Est. 1999"}),a.jsx("div",{className:"px-3 py-1 border border-white/20 rounded-full text-white/60 text-[10px] font-bold tracking-[0.2em] uppercase",children:"One of the World's Biggest Film Academies"})]}),a.jsxs("h1",{className:"font-editorial text-5xl sm:text-7xl lg:text-8xl font-bold text-white leading-tight mb-6",children:["National",a.jsx("br",{}),a.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-[#D4AF37] via-[#F0D882] to-[#D4AF37]",children:"Film Academy"})]}),a.jsx("p",{className:"text-white/60 text-xl leading-relaxed max-w-2xl mb-8",children:"Supporting, mentoring, and promoting the talent that makes up the motion picture industry â since 1999."}),a.jsx("div",{className:"flex gap-2 lg:hidden mb-4 overflow-x-auto",children:Ec.slice(0,6).map((s,i)=>a.jsx("button",{onClick:()=>t(i),className:`flex-shrink-0 w-12 h-12 rounded-lg overflow-hidden border-2 transition-all ${e===i?"border-[#D4AF37]":"border-white/20"}`,children:a.jsx("img",{src:s,alt:"",className:"w-full h-full object-cover"})},i))})]})})]}),a.jsx("section",{className:"bg-[#111] border-y border-white/5",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 py-10",children:a.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 gap-6",children:sG.map((s,i)=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:i*.07},className:"text-center",children:[a.jsx("p",{className:`font-editorial text-3xl lg:text-4xl font-bold ${s.color} mb-1`,children:s.value}),a.jsx("p",{className:"text-white/40 text-xs font-semibold tracking-wider uppercase",children:s.label})]},s.label))})})}),a.jsx("section",{className:"py-24 lg:py-32",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:a.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[a.jsxs(V.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},children:[a.jsxs("div",{className:"flex items-center gap-2 mb-5",children:[a.jsx(It,{className:"w-4 h-4 text-[#D4AF37]"}),a.jsx("span",{className:"text-[11px] font-semibold tracking-[0.2em] uppercase text-[#D4AF37]",children:"About the Academy"})]}),a.jsxs("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white mb-6 leading-tight",children:["One of the World's",a.jsx("br",{}),a.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-[#D4AF37] to-[#F0D882]",children:"Biggest Film Academies"})]}),a.jsxs("div",{className:"space-y-5 text-white/60 leading-relaxed text-lg",children:[a.jsxs("p",{children:["Founded in ",a.jsx("strong",{className:"text-white",children:"1999"}),", the National Film Academy is one of the biggest film and television academies in the world. We support, mentor, and promote filmmakers, actors, actresses, and all the creative talent that makes up the motion picture industry."]}),a.jsxs("p",{children:["The Academy is responsible for the annual ",a.jsx("strong",{className:"text-[#D4AF37]",children:"National Film Awards"}),", which launched in 2015 and has since grown into a global phenomenon â expanding into the USA in 2018, Asia in 2022, and South Africa in 2023 with the National Film and TV Awards."]}
548),a.jsxs("p",{children:["The Academy puts on a series of annual ",a.jsx("strong",{className:"text-white",children:"festivals, premieres, workshops, conferences, and seminars"})," across the UK, France, Germany, and the USA â connecting talent with opportunity at every level."]})]})]}),a.jsx(V.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"grid grid-cols-2 gap-4",children:Ec.slice(0,4).map((s,i)=>a.jsx("div",{className:`rounded-2xl overflow-hidden border-2 border-white/10 ${i===0?"row-span-2":""}`,style:{height:i===0?"auto":"180px"},children:a.jsx("img",{src:s,alt:"",className:"w-full h-full object-cover object-top hover:scale-105 transition-transform duration-500",style:{height:i===0?"376px":"180px"}})},i))})]})})}),a.jsx("section",{className:"py-20 bg-[#0D0D0D]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"text-center mb-14",children:[a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white mb-3",children:"What We Do"}),a.jsx("p",{className:"text-white/40 text-lg",children:"Four pillars of the National Film Academy"})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:aG.map((s,i)=>a.jsxs(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:i*.1},className:`rounded-2xl p-6 border-2 ${s.border} bg-white/5 hover:bg-white/10 transition-all duration-300 group`,children:[a.jsx("div",{className:`w-12 h-12 rounded-xl ${s.color} flex items-center justify-center mb-5 shadow-lg`,children:a.jsx(s.icon,{className:"w-6 h-6 text-white"})}),a.jsx("h3",{className:"font-editorial text-xl font-bold text-white mb-3",children:s.title}),a.jsx("p",{className:"text-white/50 text-sm leading-relaxed",children:s.desc})]},s.title))})]})}),a.jsx("section",{className:"py-24 lg:py-32",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsxs("div",{className:"flex items-center gap-2 justify-center mb-4",children:[a.jsx(Qt,{className:"w-4 h-4 text-[#D4AF37]"}),a.jsx("span",{className:"text-[11px] font-semibold tracking-[0.2em] uppercase text-[#D4AF37]",children:"Our Journey"})]}),a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white",children:"A Legacy of Excellence"})]}),a.jsx("div",{className:"space-y-6",children:nG.map((s,i)=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:i*.08},onClick:()=>n(r===i?null:i),className:`rounded-2xl border-2 overflow-hidden cursor-pointer transition-all duration-300 ${r===i?`border-[${s.accent}]`:"border-white/10 hover:border-white/30"}`,children:[a.jsx("div",{className:`bg-gradient-to-r ${s.color} p-[2px]`,children:a.jsxs("div",{className:"bg-[#111] rounded-[14px] p-6 flex items-center gap-6",children:[a.jsx("div",{className:`w-16 h-16 rounded-xl bg-gradient-to-br ${s.color} flex items-center justify-center flex-shrink-0 shadow-lg`,children:a.jsx(s.icon,{className:"w-7 h-7 text-white"})}),a.jsxs("div",{className:"flex-1",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-1",children:[a.jsx("span",{className:`text-2xl font-editorial font-bold text-transparent bg-clip-text bg-gradient-to-r ${s.color}`,children:s.year}),a.jsx("span",{className:"text-white/20 text-lg",children:"·"}),a.jsx("span",{className:"text-white font-semibold text-lg",children:s.title})]}),a.jsx("p",{className:"text-white/40 text-sm",children:s.desc})]}),a.jsx("div",{className:"flex-shrink-0 hidden lg:block",children:a.jsx("img",{src:s.img,alt:"",className:"w-20 h-16 object-cover rounded-xl border border-white/10"})}),a.jsx(es,{className:`w-5 h-5 text-white/30 flex-shrink-0 transition-transform duration-300 ${r===i?"rotate-90":""}`})]})}),a.jsx(Mt,{children:r===i&&a.jsx(V.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:"overflow-hidden",children:a.jsx("div",{className:"bg-[#0D0D0D] px-6 pb-6",children:a.jsx("div",{className:"grid grid-cols-3 sm:grid-cols-4 md:grid-cols-6 gap-3 pt-4",children:Ec.slice(0,6).map((o,c)=>a.jsx("div",{className:"rounded-xl overflow-hidden border border-white/10 aspect-square",children:a.jsx("img",{src:o,alt:"",className:"w-full h-full object-cover"})},c))})})})})]},s.year))})]})}),a.jsx("section",{className:"py-20 bg-[#0D0D0D]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white mb-3",children:"Through the Years"}),a.jsx("p",{className:"text-white/40",children:"Moments from our ceremonies, red carpets, and events worldwide"})]}),a.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-3",children:Ec.map((s,i)=>a.jsx(V.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:i*.05},onClick:()=>t(i),className:`rounded-2xl overflow-hidden border-2 transition-all duration-300 cursor-pointer group ${i%5===0?"row-span-2":""} border-white/10 hover:border-[#D4AF37]`,children:a.jsx("img",{src:s,alt:"",className:"w-full h-full object-cover object-top group-hover:scale-105 transition-transform duration-500",style:{height:i%5===0?"320px":"155px"}})},i))})]})}),a.jsx("section",{className:"py-24 bg-[#0A0A0A]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"text-center mb-14",children:[a.jsx(Gn,{className:"w-8 h-8 text-[#D4AF37] mx-auto mb-4"}),a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white mb-3",children:"Global Territories"}),a.jsx("p",{className:"text-white/40 text-lg",children:"The National Film Awards â a worldwide movement"})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-
5485",children:[{territory:"United Kingdom",flag:"ð¬ð§",year:"2015",desc:"Annual National Film Awards at Porchester Hall, London. The original â now in its 12th edition.",color:"from-[#C41E3A] to-[#7F1D1D]",status:"Active"},{territory:"United States",flag:"ðºð¸",year:"2018",desc:"Launched at the Globe Theatre in Los Angeles. Celebrates American and international cinema.",color:"from-[#0047AB] to-[#1E3A8A]",status:"Active"},{territory:"Asia",flag:"ð",year:"2022",desc:"Honouring Bollywood, K-cinema, and the rich tapestry of Asian storytelling traditions.",color:"from-[#059669] to-[#064E3B]",status:"Active"},{territory:"South Africa",flag:"ð¿ð¦",year:"2023",desc:"The National Film & TV Awards â celebrating South African and continental African screen talent.",color:"from-[#D4AF37] to-[#B8941F]",status:"Active"}].map((s,i)=>a.jsxs(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:i*.1},className:"rounded-2xl overflow-hidden border-2 border-white/10 hover:border-white/30 transition-all duration-300 group",children:[a.jsxs("div",{className:`bg-gradient-to-br ${s.color} p-6`,children:[a.jsxs("div",{className:"flex items-start justify-between mb-4",children:[a.jsx("span",{className:"text-5xl",children:s.flag}),a.jsx("span",{className:"px-2 py-0.5 bg-white/20 text-white text-[10px] font-bold tracking-wider uppercase rounded-full",children:s.status})]}),a.jsxs("p",{className:"text-white/60 text-[10px] font-bold tracking-[0.2em] uppercase mb-1",children:["Since ",s.year]}),a.jsx("h3",{className:"font-editorial text-xl font-bold text-white",children:s.territory})]}),a.jsx("div",{className:"bg-[#111] px-6 py-5",children:a.jsx("p",{className:"text-white/50 text-sm leading-relaxed",children:s.desc})})]},s.territory))})]})}),a.jsx("section",{className:"py-16 bg-[#111] border-t border-white/5",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 text-center",children:[a.jsx("p",{className:"text-white/20 text-xs font-bold tracking-[0.3em] uppercase mb-8",children:"As Seen In"}),a.jsx("div",{className:"flex flex-wrap items-center justify-center gap-10",children:["BBC","Sky News","The Guardian","Variety","Hollywood Reporter","Screen Daily","The Times","Evening Standard"].map(s=>a.jsx("span",{className:"text-white/15 font-editorial text-xl font-bold hover:text-white/40 transition-colors cursor-default",children:s},s))})]})})]})}const Bt=B.forwardRef(({className:e,type:t,...r},n)=>a.jsx("input",{type:t,className:yn("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...r}));Bt.displayName="Input";const oG="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),WT=["All","Actor","Actress","Director","Producer","Writer","Cinematographer","Composer","Other"],lG=[{id:"s1",name:"Daniel Craig",profession:"Actor",nationality:"British",born_year:1968,bio:"Best known for his portrayal of James Bond, Daniel Craig is one of Britain's most acclaimed actors.",known_for:["Casino Royale","Spectre","No Time to Die"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/8/87/Daniel_Craig_in_2012.jpg/440px-Daniel_Craig_in_2012.jpg",is_verified:!0},{id:"s2",name:"Keira Knightley",profession:"Actress",nationality:"British",born_year:1985,bio:"Award-winning British actress known for her roles in period dramas and blockbuster films.",known_for:["Pirates of the Caribbean","Pride & Prejudice","Atonement"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Keira_Knightley_2013.jpg/440px-Keira_Knightley_2013.jpg",is_verified:!0},{id:"s3",name:"Idris Elba",profession:"Actor",nationality:"British",born_year:1972,bio:"Versatile British actor renowned for The Wire, Luther, and his commanding screen presence.",known_for:["The Wire","Luther","Beasts of No Nation"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/0/09/Idris_Elba-5551_crop.jpg/440px-Idris_Elba-5551_crop.jpg",is_verified:!0},{id:"s4",name:"Kate Winslet",profession:"Actress",nationality:"British",born_year:1975,bio:"Academy Award and BAFTA winning actress celebrated for her extraordinary range.",known_for:["Titanic","The Reader","Eter
548nal Sunshine"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/6/60/Kate_Winslet_2023.jpg/440px-Kate_Winslet_2023.jpg",is_verified:!0},{id:"s5",name:"Tom Hardy",profession:"Actor",nationality:"British",born_year:1977,bio:"Critically acclaimed actor known for transformative performances across a diverse range of roles.",known_for:["Mad Max: Fury Road","Venom","The Dark Knight Rises"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Tom_Hardy_by_Gage_Skidmore.jpg/440px-Tom_Hardy_by_Gage_Skidmore.jpg",is_verified:!0},{id:"s6",name:"Emma Thompson",profession:"Actress",nationality:"British",born_year:1959,bio:"Dual Academy Award winner â one of Britain's greatest acting talents.",known_for:["Howards End","Sense and Sensibility","Nanny McPhee"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/9/94/Emma_Thompson_2018.jpg/440px-Emma_Thompson_2018.jpg",is_verified:!0},{id:"s7",name:"Chiwetel Ejiofor",profession:"Actor",nationality:"British",born_year:1977,bio:"BAFTA-winning actor and director, celebrated for 12 Years a Slave and much more.",known_for:["12 Years a Slave","Kinky Boots","Doctor Strange"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/3/34/Chiwetel_Ejiofor_in_2014.jpg/440px-Chiwetel_Ejiofor_in_2014.jpg",is_verified:!0},{id:"s8",name:"Judi Dench",profession:"Actress",nationality:"British",born_year:1934,bio:"Dame Judi Dench is one of Britain's most celebrated and decorated screen talents.",known_for:["Shakespeare in Love","Iris","Notes on a Scandal"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/d/d8/Judi_Dench_at_the_2009_Cannes_Film_Festival.jpg/440px-Judi_Dench_at_the_2009_Cannes_Film_Festival.jpg",is_verified:!0},{id:"s9",name:"Cate Blanchett",profession:"Actress",nationality:"British",born_year:1969,bio:"Two-time Academy Award winner known for breathtaking versatility and screen authority.",known_for:["Blue Jasmine","The Aviator","Elizabeth"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/7/7a/Cate_Blanchett_Cannes_2018.jpg/440px-Cate_Blanchett_Cannes_2018.jpg",is_verified:!0},{id:"s10",name:"Gary Oldman",profession:"Actor",nationality:"British",born_year:1958,bio:"Academy Award-winning character actor revered for complete disappearance into every role.",known_for:["Darkest Hour","Tinker Tailor Soldier Spy","Harry Potter"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gary_Oldman_at_the_San_Diego_Comic-Con_2013.jpg/440px-Gary_Oldman_at_the_San_Diego_Comic-Con_2013.jpg",is_verified:!0},{id:"s11",name:"Helena Bonham Carter",profession:"Actress",nationality:"British",born_year:1966,bio:"Iconic British actress celebrated for fearless eccentricity and dramatic depth.",known_for:["The King's Speech","Fight Club","Harry Potter"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Helena_Bonham_Carter_at_the_BAFTAs%2C_2011.jpg/440px-Helena_Bonham_Carter_at_the_BAFTAs%2C_2011.jpg",is_verified:!0},{id:"s12",name:"Colin Firth",profession:"Actor",nationality:"British",born_year:1960,bio:"Academy Award-winning actor known for poise, charm and extraordinary dramatic range.",known_for:["The King's Speech","Bridget Jones's Diary","Mamma Mia!"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Colin_Firth_TIFF_2011.jpg/440px-Colin_Firth_TIFF_2011.jpg",is_verified:!0}];function cG({profile:e,onSelect:t}){return a.jsxs(V.div,{whileHover:{y:-6,scale:1.02},onClick:()=>t(e),className:"group bg-white rounded-2xl overflow-hidden shadow-md border border-[#C9A84C]/10 hover:border-[#C9A84C]/40 hover:shadow-xl transition-all cursor-pointer",children:[a.jsxs("div",{className:"aspect-[3/4] overflow-hidden relative bg-gradient-to-br from-[#0f3460] to-[#1a1a2e]",children:[e.profile_image?a.jsx("img",{src:e.profile_image,alt:e.name,className:"w-full h-full object-cover object-top group-hover:scale-105 transition-transform duration-700"}):a.jsx("div",{className:"w-full h-full flex items-center justify-center",children:a.jsx(vo,{className:"w-16 h-16 text-[#C9A84C]/30"})}),e.is_verified&&a.jsx("div",{className:"absolute top-3 right-3 w-7 h-7 bg-[#C9A84C] rounded-full flex items-center justify-center shadow-lg",children:a.jsx(It,{className:"w-3.5 h-3.5 text-white",f
548ill:"white"})}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition-opacity"})]}),a.jsxs("div",{className:"p-4",children:[a.jsx("h3",{className:"font-editorial font-black text-[#1A1A1A] text-base leading-tight",children:e.name}),a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black uppercase tracking-wider mt-0.5",children:e.profession}),e.nationality&&a.jsx("p",{className:"text-[#8A8578] text-xs mt-1",children:e.nationality})]})]})}function AG({profile:e,onClose:t}){var i;const[r,n]=B.useState(!1),s=e.agent_name||e.agent_email||e.agency;return a.jsx(V.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[100] bg-black/70 backdrop-blur-sm flex items-center justify-center p-4",onClick:t,children:a.jsxs(V.div,{initial:{scale:.9,y:40},animate:{scale:1,y:0},exit:{scale:.9,y:40},transition:{type:"spring",stiffness:200,damping:20},className:"bg-white rounded-3xl shadow-2xl max-w-2xl w-full max-h-[90vh] overflow-y-auto",onClick:o=>o.stopPropagation(),children:[a.jsxs("div",{className:"relative h-64 bg-gradient-to-br from-[#0f3460] to-[#1a1a2e] overflow-hidden rounded-t-3xl",children:[e.profile_image&&a.jsx("img",{src:e.profile_image,alt:e.name,className:"w-full h-full object-cover object-top opacity-80"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#1A1A1A]/80 to-transparent"}),a.jsx("button",{onClick:t,className:"absolute top-4 right-4 w-10 h-10 bg-white/20 rounded-full flex items-center justify-center hover:bg-white/40 transition-all",children:a.jsx(tr,{className:"w-5 h-5 text-white"})}),a.jsxs("div",{className:"absolute bottom-5 left-6",children:[e.is_verified&&a.jsxs("div",{className:"flex items-center gap-1.5 bg-[#C9A84C] px-3 py-1 rounded-full mb-2 w-fit",children:[a.jsx(It,{className:"w-3 h-3 text-white",fill:"white"}),a.jsx("span",{className:"text-white text-[10px] font-black uppercase tracking-wider",children:"NFA Verified"})]}),a.jsx("h2",{className:"font-editorial text-4xl font-black text-white",children:e.name}),a.jsxs("p",{className:"text-[#C9A84C] text-sm font-bold mt-1",children:[e.profession,e.born_year?` · b. ${e.born_year}`:"",e.nationality?` · ${e.nationality}`:""]})]})]}),a.jsxs("div",{className:"p-8",children:[e.bio&&a.jsx("p",{className:"text-[#5A5A5A] leading-relaxed mb-6",children:e.bio}),((i=e.known_for)==null?void 0:i.length)>0&&a.jsxs("div",{className:"mb-6",children:[a.jsx("p",{className:"text-xs font-black uppercase tracking-wider text-[#1A1A1A] mb-3",children:"Known For"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:e.known_for.map((o,c)=>a.jsx("span",{className:"px-3 py-1.5 bg-[#C9A84C]/10 text-[#C9A84C] text-xs font-bold rounded-full",children:o},c))})]}),a.jsxs("div",{className:"flex gap-3 mb-8",children:[e.social_imdb&&a.jsxs("a",{href:e.social_imdb,target:"_blank",rel:"noopener",className:"flex items-center gap-1.5 px-4 py-2 bg-[#f5c518] text-black text-xs font-black rounded-full",children:[a.jsx(li,{className:"w-3 h-3"})," IMDb"]}),e.social_instagram&&a.jsxs("a",{href:e.social_instagram,target:"_blank",rel:"noopener",className:"flex items-center gap-1.5 px-4 py-2 bg-gradient-to-r from-[#833ab4] to-[#fd1d1d] text-white text-xs font-black rounded-full",children:[a.jsx(Vp,{className:"w-3 h-3"})," Instagram"]}),e.social_website&&a.jsxs("a",{href:e.social_website,target:"_blank",rel:"noopener",className:"flex items-center gap-1.5 px-4 py-2 bg-[#1A1A1A] text-white text-xs font-black rounded-full",children:[a.jsx(Gn,{className:"w-3 h-3"})," Website"]})]}),a.jsxs("div",{className:"bg-gradient-to-br from-[#0f3460]/8 to-[#C9A84C]/8 rounded-2xl border border-[#C9A84C]/20 p-6",children:[a.jsxs("div",{className:"flex items-center justify-between mb-3",children:[a.jsx("p",{className:"font-black text-[#1A1A1A] text-sm uppercase tracking-wider",children:"Agent / Manager Contact"}),a.jsxs("div",{className:"flex items-center gap-1.5 text-[#C9A84C]",children:[a.jsx(pi,{className:"w-3.5 h-3.5"}),a.jsx("span",{className:"text-[10px] font-black uppercase tracking-wider",children:"Premium"})]})]}),r&&s?a.jsxs("div",{className:"space-y-2 text-sm",children:[e.agency&&a.jsxs("p",{children:[a.jsx("span",{className:"font-bold text-[#1A1A1A]",children:"Agency:"})," ",a.jsx("span",{className:"text-[#5A5A5A]",children:e.agency})]}),e.agent_name&&a.jsxs("p",{children:[a.jsx("span",{className:"font-bold text-[#1A1A1A]",children:"Contact:"})," ",a.jsx("span",{className:"text-[#5A5A5A]",children:e.agent_name})]}),e.agent_email&&a.jsxs("p",{children:[a.jsx("span",{className:"font-bold text-[#1A1A1A]",children:"Email:"})," ",a.jsx("span",{className:"text-[#C9A84C]",children:e.agent_email})]}),e.agent_phone&&a.jsxs("p",{children:[a.jsx("span",{className:"font-bold text-[#1A1A1A]",children:"Phone:"})," ",a.jsx("span",{className:"text-[#5A5A5A]",children:e.agent_phone})]})]}):a.jsxs("div",{className:"text-center py-2",children:[a.jsx("p",{className:"text-[#5A5A5A] text-sm mb-4",children:"Subscribe to reveal agent & manager contact details for booking enquiries."}),a.jsx("button",{onClick:()=>n(!0),className:"px-6 py-3 bg-[#C9A84C] text-white text-sm font-bold uppercase tracking-wider rounded-full hover:bg-[#b8941f] transition-all",children:"Unlock Contact â £9.99/mo"})]})]})]})]})})}function dG({onClose:e}
548){const[t,r]=B.useState({name:"",profession:"Actor",bio:"",nationality:"British",known_for:""}),[n,s]=B.useState(!1),i=o=>{o.preventDefault(),s(!0)};return a.jsx(V.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[100] bg-black/70 backdrop-blur-sm flex items-center justify-center p-4",onClick:e,children:a.jsxs(V.div,{initial:{scale:.9,y:40},animate:{scale:1,y:0},className:"bg-white rounded-3xl shadow-2xl max-w-xl w-full max-h-[90vh] overflow-y-auto p-8",onClick:o=>o.stopPropagation(),children:[a.jsx("button",{onClick:e,className:"absolute top-4 right-4 w-9 h-9 bg-[#f8f6f1] rounded-full flex items-center justify-center",children:a.jsx(tr,{className:"w-4 h-4 text-[#5A5A5A]"})}),n?a.jsxs("div",{className:"text-center py-10",children:[a.jsx("div",{className:"w-16 h-16 bg-[#C9A84C] rounded-full flex items-center justify-center mx-auto mb-5",children:a.jsx(or,{className:"w-8 h-8 text-white"})}),a.jsx("h3",{className:"font-editorial text-3xl font-black text-[#1A1A1A] mb-3",children:"Application Received!"}),a.jsx("p",{className:"text-[#5A5A5A]",children:"Your profile application has been submitted. Our team will review and activate your listing. You'll receive an email within 48 hours."})]}):a.jsxs(a.Fragment,{children:[a.jsx("h2",{className:"font-editorial text-3xl font-black text-[#1A1A1A] mb-2",children:"Join the Registry"}),a.jsx("p",{className:"text-[#5A5A5A] text-sm mb-6",children:"Create your professional profile in the NFA Academy Registry. £9.99/month recurring â cancel anytime."}),a.jsxs("form",{onSubmit:i,className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-black uppercase tracking-wider text-[#1A1A1A] mb-1.5",children:"Full Name *"}),a.jsx(Bt,{required:!0,value:t.name,onChange:o=>r({...t,name:o.target.value}),placeholder:"Your name as it appears on screen",className:"h-11 rounded-xl border-[#C9A84C]/20"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-black uppercase tracking-wider text-[#1A1A1A] mb-1.5",children:"Profession *"}),a.jsx("select",{required:!0,value:t.profession,onChange:o=>r({...t,profession:o.target.value}),className:"w-full h-11 rounded-xl border border-[#C9A84C]/20 px-3 text-sm text-[#1A1A1A] bg-white",children:WT.filter(o=>o!=="All").map(o=>a.jsx("option",{children:o},o))})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-black uppercase tracking-wider text-[#1A1A1A] mb-1.5",children:"Nationality"}),a.jsx(Bt,{value:t.nationality,onChange:o=>r({...t,nationality:o.target.value}),placeholder:"e.g. British",className:"h-11 rounded-xl border-[#C9A84C]/20"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-black uppercase tracking-wider text-[#1A1A1A] mb-1.5",children:"Short Bio *"}),a.jsx("textarea",{required:!0,value:t.bio,onChange:o=>r({...t,bio:o.target.value}),placeholder:"Tell us about yourself (max 200 words)",className:"w-full rounded-xl border border-[#C9A84C]/20 p-3 text-sm text-[#1A1A1A] h-24 resize-none"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-black uppercase tracking-wider text-[#1A1A1A] mb-1.5",children:"Known For (comma separated)"}),a.jsx(Bt,{value:t.known_for,onChange:o=>r({...t,known_for:o.target.value}),placeholder:"e.g. EastEnders, Sherlock, The Crown",className:"h-11 rounded-xl border-[#C9A84C]/20"})]}),a.jsxs("div",{className:"bg-[#C9A84C]/10 rounded-xl p-4 text-sm text-[#5A5A5A]",children:[a.jsx("p",{className:"font-bold text-[#1A1A1A] mb-1",children:"£9.99 / month"}),a.jsx("p",{children:"Your profile will be listed in the NFA Academy Registry. Upgrade to Premium to include your agent/manager contact details for booking enquiries."})]}),a.jsx("button",{type:"submit",className:"w-full py-4 bg-[#C9A84C] text-white font-bold text-sm uppercase tracking-wider rounded-xl hover:bg-[#b8941f] transition-all",children:"Submit Application"})]})]})]})})}
548function uG(){const[e,t]=B.useState(""),[r,n]=B.useState("All"),[s,i]=B.useState("All"),[o,c]=B.useState(null),[d,u]=B.useState(!1),{data:h=[]}=vt({queryKey:["registry-profiles"],queryFn:()=>Ce.entities.RegistryProfile.list("name"),initialData:[]}),p=(h.length>0?h:lG).filter(x=>{var v;const w=!e||x.name.toLowerCase().includes(e.toLowerCase())||((v=x.bio)==null?void 0:v.toLowerCase().includes(e.toLowerCase())),g=r==="All"||x.name.toUpperCase().startsWith(r),b=s==="All"||x.profession===s;return w&&g&&b});return a.jsxs("div",{className:"pt-24 lg:pt-28 min-h-screen bg-[#FFFEF9]",children:[a.jsxs("section",{className:"relative py-20 bg-gradient-to-br from-[#0a0a14] via-[#0f3460] to-[#1a1a2e] overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 opacity-10",children:a.jsx("div",{className:"absolute top-1/2 left-1/4 w-[400px] h-[400px] rounded-full bg-[#C9A84C] blur-3xl"})}),a.jsx("div",{className:"relative max-w-[1700px] mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col lg:flex-row items-start lg:items-end justify-between gap-8",children:[a.jsxs(V.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.4em] uppercase mb-4",children:"Discover"}),a.jsxs("h1",{className:"font-editorial text-5xl sm:text-7xl font-black text-white leading-tight mb-4",children:["Academy",a.jsx("br",{}),a.jsx("span",{style:{WebkitTextStroke:"2px #C9A84C",color:"transparent"},children:"Registry"})]}),a.jsx("p",{className:"text-white/70 text-lg max-w-xl",children:"An AâZ of British screen talent â actors, actresses, directors, and producers. Discover who's who in British cinema."})]}),a.jsx(V.button,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.3},onClick:()=>u(!0),className:"flex-none px-8 py-4 bg-[#C9A84C] text-white font-bold text-sm uppercase tracking-wider rounded-full shadow-2xl hover:bg-[#b8941f] transition-all whitespace-nowrap",children:"+ Join the Registry"})]})})]}),a.jsxs("div",{className:"bg-[#C9A84C] py-3 px-6 flex items-center justify-center gap-3 text-white text-sm font-bold",children:[a.jsx(pi,{className:"w-4 h-4"}),a.jsx("span",{children:"Agent & manager contact details available to premium subscribers â £9.99/month"})]}),a.jsx("section",{className:"sticky top-[72px] z-30 bg-white border-b border-[#C9A84C]/10 shadow-sm py-4",children:a.jsxs("div",{className:"max-w-[1700px] mx-auto px-6 lg:px-12 flex flex-col sm:flex-row gap-4 items-start sm:items-center",children:[a.jsxs("div",{className:"relative flex-1 max-w-sm",children:[a.jsx(ks,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-4 h-4 text-[#8A8578]"}),a.jsx(Bt,{placeholder:"Search by name or film...",value:e,onChange:x=>t(x.target.value),className:"pl-11 h-10 rounded-xl border-[#C9A84C]/20 text-sm"})]}),a.jsx("div",{className:"flex gap-2 flex-wrap",children:WT.map(x=>a.jsx("button",{onClick:()=>i(x),className:`px-4 py-1.5 rounded-full text-xs font-bold uppercase tracking-wider transition-all ${s===x?"bg-[#C9A84C] text-white":"bg-[#f8f6f1] text-[#5A5A5A] hover:bg-[#C9A84C]/10"}`,children:x},x))})]})}),a.jsx("div",{className:"bg-[#f8f6f1] border-b border-[#C9A84C]/10 py-3 overflow-x-auto",children:a.jsxs("div",{className:"max-w-[1700px] mx-auto px-6 lg:px-12 flex gap-1 min-w-max",children:[a.jsx("button",{onClick:()=>n("All"),className:`px-3 py-1.5 rounded-lg text-[11px] font-black uppercase tracking-wider transition-all ${r==="All"?"bg-[#C9A84C] text-white":"text-[#8A8578] hover:text-[#C9A84C]"}`,children:"All"}),oG.map(x=>a.jsx("button",{onClick:()=>n(x),className:`w-8 h-8 rounded-lg text-[11px] font-black transition-all ${r===x?"bg-[#C9A84C] text-white":"text-[#8A8578] hover:text-[#C9A84C]"}`,children:x},x))]})}),a.jsx("section",{className:"py-12",children:a.jsxs("div",{className:"max-w-[1700px] mx-auto px-6 lg:px-12",children:[a.jsxs("p",{className:"text-[#8A8578] text-sm mb-6",children:[p.length," talent",p.length!==1?"s":""," listed"]}),p.length===0?a.jsxs("div",{className:"text-center py-24",children:[a.jsx(vo,{className:"w-12 h-12 text-[#C9A84C]/30 mx-auto mb-4"}),a.jsx("p",{className:"text-[#8A8578] text-lg font-bold",children:"No profiles found"}),a.jsxs("p",{className:"text-[#8A8578] text-sm mt-1",children:["Try adjusting your filters or ",a.jsx("button",{onClick:()=>u(!0),className:"text-[#C9A84C] underline",children:"register your profile"})]})]}):a.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-5",children:p.map((x,w)=>a.jsx(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:w%12*.04},children:a.jsx(cG,{profile:x,onSelect:c}
548)},x.id))})]})}),a.jsxs(Mt,{children:[o&&a.jsx(AG,{profile:o,onClose:()=>c(null)}),d&&a.jsx(dG,{onClose:()=>u(!1)})]})]})}const R1=B.forwardRef(({className:e,...t},r)=>a.jsx("textarea",{className:yn("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...t}));R1.displayName="Textarea";const hG=["Actor","Actress","Director","Producer","Writer","Cinematographer","Composer","Other"];function fG({status:e}){return e==="success"?a.jsxs("span",{className:"flex items-center gap-1 text-green-600 text-xs font-bold",children:[a.jsx(an,{className:"w-3.5 h-3.5"})," Imported"]}):e==="error"?a.jsxs("span",{className:"flex items-center gap-1 text-red-500 text-xs font-bold",children:[a.jsx(bA,{className:"w-3.5 h-3.5"})," Failed"]}):e==="loading"?a.jsxs("span",{className:"flex items-center gap-1 text-[#C9A84C] text-xs font-bold",children:[a.jsx(ir,{className:"w-3.5 h-3.5 animate-spin"})," Searching..."]}):null}function mG(){var Q,O;
548const[e,t]=B.useState("bulk"),[r,n]=B.useState(""),[s,i]=B.useState(""),[o,c]=B.useState("Actor"),[d,u]=B.useState([]),[h,m]=B.useState(null),[p,x]=B.useState([]),[w,g]=B.useState(!1),[b,v]=B.useState(!1),[N,F]=B.useState([]),[S,E]=B.useState(!1),[D,T]=B.useState([]),[k,I]=B.useState(0),[Y,ee]=B.useState(0),ie=Do(),{data:W=[],isLoading:ce,refetch:we}=vt({queryKey:["admin-registry-profiles"],queryFn:()=>Ce.entities.RegistryProfile.list("name"),initialData:[]}),ne=async()=>{if(!s.trim())return;g(!0),m(null);const G=await Ce.functions.invoke("aiRegistrySearch",{query:s});m(G.data),g(!1)},re=G=>{x(le=>le.includes(G)?le.filter(ye=>ye!==G):[...le,G])},X=async()=>{p.length!==0&&await ae(p)},de=async()=>{const G=r.split(` 549`).map(le=>le.trim()).filter(Boolean);G.length!==0&&await ae(G)},ae=async G=>{var xe;v(!0),F(G.map(be=>({name:be,status:"loading"}))),t("bulk");const ye=((xe=(await Ce.functions.invoke("aiRegistryImport",{names:G,profession:o})).data)==null?void 0:xe.results)||[];F(ye),u(be=>[...ye,...be]),v(!1),ie.invalidateQueries({queryKey:["admin-registry-profiles"]}),we()},q=async G=>{await Ce.entities.RegistryProfile.delete(G),we(),ie.invalidateQueries({queryKey:["admin-registry-profiles"]})},L=async(G,le)=>{await Ce.entities.RegistryProfile.update(G,{is_verified:le}),we()},J=async()=>{E(!0),T([]);let G=0,le=!1;for(;!le;){const xe=(await Ce.functions.invoke("bulkRegistryPopulate",{batchIndex:G})).data;ee(xe.totalBatches||0),I(G+1),T(be=>[...be,...xe.results||[]]),le=xe.done,G++,le||await new Promise(be=>setTimeout(be,500))}E(!1),ie.invalidateQueries({queryKey:["admin-registry-profiles"]}),we()};return a.jsxs("div",{className:"pt-24 min-h-screen bg-[#f8f6f1]",children:[a.jsx("div",{className:"bg-gradient-to-r from-[#0a0a14] to-[#0f3460] py-10 px-6 lg:px-12",children:a.jsxs("div",{className:"max-w-[1600px] mx-auto flex items-end justify-between gap-6 flex-wrap",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.4em] uppercase mb-2",children:"Admin Panel"}),a.jsx("h1",{className:"font-editorial text-4xl font-black text-white",children:"AI Registry Manager"}),a.jsx("p",{className:"text-white/60 text-sm mt-1",children:"Use AI to automatically find and import talent profiles from the web"})]}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsxs("div",{className:"bg-white/10 rounded-xl px-4 py-2 text-center",children:[a.jsx("p",{className:"text-2xl font-black text-[#C9A84C]",children:W.length}),a.jsx("p",{className:"text-white/60 text-[10px] uppercase tracking-wider",children:"Total Profiles"})]}),a.jsxs("div",{className:"bg-white/10 rounded-xl px-4 py-2 text-center",children:[a.jsx("p",{className:"text-2xl font-black text-green-400",children:W.filter(G=>G.is_verified).length}),a.jsx("p",{className:"text-white/60 text-[10px] uppercase tracking-wider",children:"Verified"})]})]})]})}),a.jsx("div",{className:"bg-white border-b border-[#C9A84C]/10 sticky top-[72px] z-20",children:a.jsx("div",{className:"max-w-[1600px] mx-auto px-6 lg:px-12 flex gap-1 py-2",children:[{id:"bulk",label:"Bulk AI Import"},{id:"search",label:"AI Talent Search"},{id:"manage",label:`Manage Profiles (${W.length})`}].map(G=>a.jsx("button",{onClick:()=>t(G.id),className:`px-5 py-2.5 rounded-xl text-sm font-bold transition-all ${e===G.id?"bg-[#C9A84C] text-white":"text-[#5A5A5A] hover:bg-[#C9A84C]/10"}`,children:G.label},G.id))})}),a.jsxs("div",{className:"max-w-[1600px] mx-auto px-6 lg:px-12 py-10",children:[e==="bulk"&&a.jsxs("div",{className:"grid lg:grid-cols-2 gap-8",children:[a.jsxs("div",{children:[a.jsxs("div",{className:"bg-white rounded-2xl shadow-sm border border-[#C9A84C]/10 p-6",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-5",children:[a.jsx(Sn,{className:"w-5 h-5 text-[#C9A84C]"}),a.jsx("h2",{className:"font-editorial text-xl font-black text-[#1A1A1A]",children:"AI Bulk Import"})]}),a.jsx("p",{className:"text-[#5A5A5A] text-sm mb-5",children:"Enter one talent name per line. The AI will search the internet to automatically populate their full profile, photo, bio, known works, and agent contact details."}),a.jsxs("div",{className:"mb-4",children:[a.jsx("label",{className:"block text-xs font-black uppercase tracking-wider text-[#1A1A1A] mb-2",children:"Default Profession"}),a.jsx("select",{value:o,onChange:G=>c(G.target.value),className:"w-full h-10 rounded-xl border border-[#C9A84C]/20 px-3 text-sm bg-white text-[#1A1A1A]",children:hG.map(G=>a.jsx("option",{children:G},G))})]}),a.jsxs("div",{className:"mb-4",children:[a.jsx("label",{className:"block text-xs font-black uppercase tracking-wider text-[#1A1A1A] mb-2",children:"Names (one per line)"}),a.jsx(R1,{value:r,onChange:G=>n(G.target.value),placeholder:`Benedict Cumberbatch 550Olivia Colman 551Richard E Grant 552Emma Stone 553Hugh Jackman`,className:"rounded-xl border-[#C9A84C]/20 resize-none h-48 font-mono text-sm"}),a.jsxs("p",{className:"text-[#8A8578] text-xs mt-1",children:[r.split(`
554`).filter(Boolean).length," names entered"]})]}),a.jsx("button",{onClick:de,disabled:b||!r.trim(),className:"w-full py-3 bg-[#C9A84C] text-white font-bold text-sm uppercase tracking-wider rounded-xl hover:bg-[#b8941f] disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2 transition-all",children:b?a.jsxs(a.Fragment,{children:[a.jsx(ir,{className:"w-4 h-4 animate-spin"})," AI Importing..."]}):a.jsxs(a.Fragment,{children:[a.jsx(Cu,{className:"w-4 h-4"})," Start AI Import"]})})]}),a.jsxs("div",{className:"mt-4 bg-gradient-to-br from-[#0a0a14] to-[#0f3460] rounded-2xl p-5 text-white",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[a.jsx(Sn,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsx("p",{className:"text-xs font-black uppercase tracking-wider text-[#C9A84C]",children:"Auto-Populate 200 Profiles"})]}),a.jsx("p",{className:"text-white/60 text-xs mb-4",children:"Automatically import a curated list of 200 well-known actors, actresses, directors, producers, writers & more â with AI-sourced bios, photos, and agent details."}),S&&a.jsxs("div",{className:"mb-3",children:[a.jsxs("div",{className:"flex items-center justify-between mb-1",children:[a.jsxs("span",{className:"text-xs text-white/60",children:["Batch ",k," of ",Y]}),a.jsxs("span",{className:"text-xs text-[#C9A84C]",children:[D.length," imported"]})]}),a.jsx("div",{className:"h-1.5 bg-white/10 rounded-full overflow-hidden",children:a.jsx("div",{className:"h-full bg-[#C9A84C] rounded-full transition-all",style:{width:`${Y?k/Y*100:0}%`}})}),a.jsx("div",{className:"mt-2 max-h-24 overflow-y-auto space-y-1",children:D.slice(-5).map((G,le)=>a.jsxs("p",{className:`text-xs ${G.status==="success"?"text-green-400":"text-red-400"}`,children:[G.status==="success"?"â":"â"," ",G.name]},le))})]}),a.jsx("button",{onClick:J,disabled:S,className:"w-full py-2.5 bg-[#C9A84C] text-black font-bold text-xs uppercase tracking-wider rounded-xl hover:bg-[#F0D882] disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2 transition-all",children:S?a.jsxs(a.Fragment,{children:[a.jsx(ir,{className:"w-3.5 h-3.5 animate-spin"})," Importing... (",D.length," done)"]}):a.jsxs(a.Fragment,{children:[a.jsx(Sn,{className:"w-3.5 h-3.5"})," Start Auto-Populate 200 Profiles"]})})]})]}),a.jsx("div",{children:a.jsxs("div",{className:"bg-white rounded-2xl shadow-sm border border-[#C9A84C]/10 p-6 h-full",children:[a.jsx("h2",{className:"font-editorial text-xl font-black text-[#1A1A1A] mb-5",children:"Import Log"}),N.length===0?a.jsxs("div",{className:"flex flex-col items-center justify-center h-48 text-center",children:[a.jsx(Sn,{className:"w-10 h-10 text-[#C9A84C]/30 mb-3"}),a.jsx("p",{className:"text-[#8A8578] text-sm",children:"Import results will appear here"})]}):a.jsx("div",{className:"space-y-2 max-h-[500px] overflow-y-auto pr-2",children:N.map((G,le)=>{var ye,xe;return a.jsxs(V.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:le*.05},className:"flex items-center justify-between py-3 px-4 bg-[#f8f6f1] rounded-xl",children:[a.jsxs("div",{className:"flex items-center gap-3",children:[(ye=G.data)!=null&&ye.profile_image?a.jsx("img",{src:G.data.profile_image,alt:G.name,className:"w-9 h-9 rounded-full object-cover border-2 border-[#C9A84C]/20"}):a.jsx("div",{className:"w-9 h-9 rounded-full bg-[#C9A84C]/10 flex items-center justify-center",children:a.jsx(vo,{className:"w-4 h-4 text-[#C9A84C]"})}),a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-bold text-[#1A1A1A]",children:G.name}),((xe=G.data)==null?void 0:xe.profession)&&a.jsx("p",{className:"text-xs text-[#8A8578]",children:G.data.profession})]})]}),a.jsx(fG,{status:G.status})]},le)})})]})})]}),e==="search"&&a.jsxs("div",{children:[a.jsxs("div",{className:"bg-white rounded-2xl shadow-sm border border-[#C9A84C]/10 p-6 mb-6",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[a.jsx(ks,{className:"w-5 h-5 text-[#C9A84C]"}),a.jsx("h2",{className:"font-editorial text-xl font-black text-[#1A1A1A]",children:"AI Talent Discovery"})]}),a.jsx("p",{className:"text-[#5A5A5A] text-sm mb-5",children:"Describe the type of talent you want to add and AI will suggest a list of matching names from its knowledge of British cinema and TV."}),a.jsxs("div",{className:"flex gap-3",children:[a.jsx(Bt,{value:s,onChange:G=>i(G.target.value),onKeyDown:G=>G.key==="Enter"&&ne(),placeholder:"e.g. 'Top British actresses who won BAFTAs' or 'British horror directors'",className:"flex-1 h-12 rounded-xl border-[#C9A84C]/20"}),a.jsxs("button",{onClick:ne,disabled:w,className:"px-6 py-3 bg-[#C9A84C] text-white font-bold text-sm rounded-xl hover:bg-[#b8941f] disabled:opacity-50 flex items-center gap-2 transition-all",children:[w?a.jsx(ir,{className:"w-4 h-4 animate-spin"}):a.jsx(Sn,{className:"w-4 h-4"}),w?"Searching...":"AI Search"]})]}),a.jsx("div",{className:"flex flex-wrap gap-2 mt-4",children:["Top 20 British Actors","BAFTA Best Actress Winners","British Film Directors","Emerging British Talent 2020s","British Comedy A
554ctors","British Producers"].map(G=>a.jsx("button",{onClick:()=>{i(G)},className:"px-3 py-1.5 bg-[#f8f6f1] text-[#5A5A5A] text-xs font-bold rounded-full hover:bg-[#C9A84C]/10 hover:text-[#C9A84C] transition-all",children:G},G))})]}),h&&a.jsxs("div",{className:"bg-white rounded-2xl shadow-sm border border-[#C9A84C]/10 p-6",children:[a.jsxs("div",{className:"flex items-center justify-between mb-5 flex-wrap gap-3",children:[a.jsxs("div",{children:[a.jsxs("h3",{className:"font-editorial text-xl font-black text-[#1A1A1A]",children:["AI Found ",((Q=h.talent)==null?void 0:Q.length)||0," Talents"]}),h.query_summary&&a.jsx("p",{className:"text-[#5A5A5A] text-sm mt-1",children:h.query_summary})]}),a.jsxs("div",{className:"flex gap-3",children:[a.jsx("button",{onClick:()=>{var G;return x(((G=h.talent)==null?void 0:G.map(le=>le.name))||[])},className:"px-4 py-2 border border-[#C9A84C] text-[#C9A84C] text-xs font-bold rounded-xl hover:bg-[#C9A84C]/10 transition-all",children:"Select All"}),a.jsxs("button",{onClick:X,disabled:p.length===0||b,className:"px-5 py-2 bg-[#C9A84C] text-white text-xs font-bold rounded-xl hover:bg-[#b8941f] disabled:opacity-50 flex items-center gap-2 transition-all",children:[b?a.jsx(ir,{className:"w-3.5 h-3.5 animate-spin"}):a.jsx(Cu,{className:"w-3.5 h-3.5"}),"Import Selected (",p.length,")"]})]})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-3",children:(O=h.talent)==null?void 0:O.map((G,le)=>a.jsx(V.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:le*.04},onClick:()=>re(G.name),className:`p-4 rounded-xl border-2 cursor-pointer transition-all ${p.includes(G.name)?"border-[#C9A84C] bg-[#C9A84C]/8":"border-[#C9A84C]/10 hover:border-[#C9A84C]/30 bg-[#f8f6f1]"}`,children:a.jsxs("div",{className:"flex items-start gap-3",children:[a.jsx("div",{className:`w-5 h-5 rounded-full border-2 flex-none mt-0.5 flex items-center justify-center transition-all ${p.includes(G.name)?"bg-[#C9A84C] border-[#C9A84C]":"border-[#C9A84C]/30"}`,children:p.includes(G.name)&&a.jsx(an,{className:"w-3 h-3 text-white"})}),a.jsxs("div",{children:[a.jsx("p",{className:"font-bold text-[#1A1A1A] text-sm",children:G.name}),a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-bold uppercase tracking-wider",children:G.profession}),G.brief_note&&a.jsx("p",{className:"text-[#8A8578] text-xs mt-1 leading-relaxed",children:G.brief_note})]})]})},le))})]})]}),e==="manage"&&a.jsxs("div",{children:[a.jsxs("div",{className:"flex items-center justify-between mb-5 flex-wrap gap-4",children:[a.jsx("h2",{className:"font-editorial text-2xl font-black text-[#1A1A1A]",children:"All Registry Profiles"}),a.jsxs("button",{onClick:()=>we(),className:"flex items-center gap-2 px-4 py-2 border border-[#C9A84C]/20 text-[#C9A84C] text-xs font-bold rounded-xl hover:bg-[#C9A84C]/10 transition-all",children:[a.jsx(vu,{className:"w-3.5 h-3.5"})," Refresh"]})]}),ce?a.jsx("div",{className:"flex items-center justify-center py-24",children:a.jsx(ir,{className:"w-8 h-8 text-[#C9A84C] animate-spin"})}):a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4",children:W.map(G=>a.jsxs(V.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"bg-white rounded-2xl border border-[#C9A84C]/10 overflow-hidden group",children:[a.jsxs("div",{className:"h-40 overflow-hidden bg-gradient-to-br from-[#0f3460] to-[#1a1a2e] relative",children:[G.profile_image?a.jsx("img",{src:G.profile_image,alt:G.name,className:"w-full h-full object-cover object-top"}):a.jsx("div",{className:"w-full h-full flex items-center justify-center",children:a.jsx(vo,{className:"w-12 h-12 text-[#C9A84C]/30"})}),G.is_verified&&a.jsx("div",{className:"absolute top-2 right-2 px-2 py-0.5 bg-[#C9A84C] rounded-full text-white text-[9px] font-black uppercase tracking-wider",children:"Verified"})]}),a.jsxs("div",{className:"p-4",children:[a.jsx("h3",{className:"font-editorial font-black text-[#1A1A1A] text-sm leading-tight",children:G.name}),a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black uppercase tracking-wider mt-0.5",children:G.profession}),G.nationality&&a.jsx("p",{className:"text-[#8A8578] text-xs mt-1",children:G.nationality}),G.agency&&a.jsxs("p",{className:"text-[#5A5A5A] text-xs mt-0.5 truncate",children:["Agent: ",G.agency]}),a.jsxs("div",{className:"flex items-center gap-2 mt-3",children:[a.jsx("button",{onClick:()=>L(G.id,!G.is_verified),className:`flex-1 py-1.5 text-[10px] font-bold rounded-lg transition-all ${G.is_verified?"bg-green-100 text-green-700 hover:bg-green-200":"bg-[#f8f6f1] text-[#5A5A5A] hover:bg-[#C9A84C]/10 hover:text-[#C9A84C]"}`,children:G.is_verified?"â Verified":"Verify"}),a.jsx("button",{onClick:()=>
554q(G.id),className:"p-1.5 rounded-lg text-red-400 hover:bg-red-50 hover:text-red-600 transition-all",children:a.jsx(SA,{className:"w-3.5 h-3.5"})})]})]})]},G.id))})]})]})]})}function at(e){return"/"+e.replace(/ /g,"-")}function pG(){const[e]=Gw(),t=parseInt(e.get("year"))||2025,{data:r,isLoading:n}=vt({queryKey:["awards-year",t],queryFn:async()=>(await Ce.entities.AwardsYear.filter({year:t}))[0]}),{data:s=[],isLoading:i}=vt({queryKey:["winners-by-year",t],queryFn:()=>Ce.entities.Winner.filter({year:t}),initialData:[]}),o=u=>{const h=u.filter(p=>!p.category.toLowerCase().includes("tv")&&!p.category.toLowerCase().includes("series")),m=u.filter(p=>p.category.toLowerCase().includes("tv")||p.category.toLowerCase().includes("series"));return{film:h,tv:m}},{film:c,tv:d}=o(s);return n||i?a.jsx("div",{className:"min-h-screen flex items-center justify-center",children:a.jsx("p",{className:"text-[#5A5A5A]",children:"Loading..."})}):r?a.jsxs("div",{className:"pt-24 lg:pt-28 min-h-screen bg-[#FFFEF9]",children:[a.jsxs("section",{className:"py-16 lg:py-20 bg-gradient-to-br from-[#2D2D2D] via-[#1a1a1a] to-[#0a0a0a] relative overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 opacity-10",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23D4AF37' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E")`}}),a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 relative",children:[a.jsxs(He,{to:at("Winners"),className:"inline-flex items-center gap-2 text-white/70 hover:text-white mb-8 transition-colors",children:[a.jsx(rn,{className:"w-4 h-4"}),"Back to Winners"]}),a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center",children:[a.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-white/10 backdrop-blur-sm rounded-full mb-6",children:[a.jsx(ut,{className:"w-4 h-4 text-[#D4AF37]"}),a.jsxs("span",{className:"text-[11px] font-bold tracking-[0.2em] uppercase text-white",children:[r.ceremony_number,"th Annual Ceremony"]})]}),a.jsxs("h1",{className:"font-editorial text-5xl lg:text-7xl font-bold text-white mb-6",children:[t," Winners"]}),r.headline&&a.jsx("p",{className:"text-white/90 text-xl lg:text-2xl max-w-3xl mx-auto mb-8",children:r.headline}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-8 text-white/80",children:[r.date&&a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Qt,{className:"w-5 h-5 text-[#D4AF37]"}),a.jsx("span",{children:new Date(r.date).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"})})]}),r.venue&&a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(da,{className:"w-5 h-5 text-[#D4AF37]"}),a.jsxs("span",{children:[r.venue,", ",r.city]})]}),r.total_votes&&a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx($t,{className:"w-5 h-5 text-[#D4AF37]"}),a.jsxs("span",{children:[(r.total_votes/1e6).toFixed(1),"M Public Votes"]})]})]})]})]})]}),c.length>0&&a.jsx("section",{className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-[#2D2D2D] mb-12",children:"Film Winners"}),a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map((u,h)=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:h*.05},className:"bg-[#FFFEF9] rounded-2xl overflow-hidden border border-[#D4AF37]/10 hover:shadow-lg transition-all duration-300",children:[u.image&&a.jsx("div",{className:"h-64 overflow-hidden",children:a.jsx("img",{src:u.image,alt:u.person_name||u.title,className:"w-full h-full object-cover"})}),a.jsxs("div",{className:"p-6",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[a.jsx(ut,{className:"w-4 h-4 text-[#D4AF37]"}),a.jsx("p",{className:"text-[#D4AF37] text-xs font-bold tracking-wider up
554percase",children:u.category})]}),a.jsx("h3",{className:"font-editorial text-xl font-semibold text-[#2D2D2D] mb-2",children:u.person_name||u.title}),u.title&&u.person_name&&a.jsx("p",{className:"text-[#5A5A5A] text-sm",children:u.title})]})]},u.id))})]})}),d.length>0&&a.jsx("section",{className:"py-20 bg-[#FAFAF8]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-[#2D2D2D] mb-12",children:"Television Winners"}),a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:d.map((u,h)=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:h*.05},className:"bg-white rounded-2xl overflow-hidden border border-[#D4AF37]/10 hover:shadow-lg transition-all duration-300",children:[u.image&&a.jsx("div",{className:"h-64 overflow-hidden",children:a.jsx("img",{src:u.image,alt:u.person_name||u.title,className:"w-full h-full object-cover"})}),a.jsxs("div",{className:"p-6",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[a.jsx(ut,{className:"w-4 h-4 text-[#D4AF37]"}),a.jsx("p",{className:"text-[#D4AF37] text-xs font-bold tracking-wider uppercase",children:u.category})]}),a.jsx("h3",{className:"font-editorial text-xl font-semibold text-[#2D2D2D] mb-2",children:u.person_name||u.title}),u.title&&u.person_name&&a.jsx("p",{className:"text-[#5A5A5A] text-sm",children:u.title})]})]},u.id))})]})})]}):a.jsx("div",{className:"min-h-screen flex items-center justify-center",children:a.jsxs("div",{className:"text-center",children:[a.jsx("p",{className:"text-[#5A5A5A] mb-4",children:"Awards year not found"}),a.jsx(He,{to:at("Winners"),className:"text-[#D4AF37] hover:underline",children:"View all winners"})]})})}const gG=[{name:"United Kingdom",flag:"ð¬ð§",editions:11,since:2015,image:"https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?w=600&q=80",desc:"The original home of the National Film Awards, celebrating British and international cinema."},{name:"United States",flag:"ðºð¸",editions:5,since:2018,image:"https://images.unsplash.com/photo-1534190239940-9ba8944ea261?w=600&q=80",desc:"Bringing the celebrated format to the heart of the global film industry."},{name:"Africa",flag:"ð",editions:4,since:2020,image:"https://images.unsplash.com/photo-1547471080-7cc2caa01a7e?w=600&q=80",desc:"Celebrating the extraordinary storytelling traditions of African cinema."},{name:"Asia",flag:"ð",editions:3,since:2022,image:"https://images.unsplash.com/photo-1480796927426-f609979314bd?w=600&q=80",desc:"Honouring the vibrant film industries across the Asian continent."},{name:"South America",flag:"ð",editions:2,since:2024,image:"https://images.unsplash.com/photo-1483729558449-99ef09a8c325?w=600&q=80",desc:"Recognising the passionate and artistic cinema of South America."}],xG=["Best Film","Best Director","Best Actor","Best Actress","Best Supporting Actor","Best Supporting Actress","Best Documentary","Best International Film","Best Short Film","Best Debut Director","Best Screenplay","Best Cinematography","Best Visual Effects","Best Comedy","Best Thriller","Best Horror"];function yG(){return a.jsxs("div",{className:"pt-24 lg:pt-28",children:[a.jsxs("section",{className:"relative py-20 lg:py-32 overflow-hidden",children:[a.jsxs("div",{className:"absolute inset-0",children:[a.jsx("img",{src:"https://images.unsplash.com/photo-1594909122845-11baa439b7bf?w=1600&q=80",alt:"",className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-white/95 via-white/80 to-white/40"})]}),a.jsx("div",{className:"relative z-10 max-w-[1400px] mx-auto px-6 lg:px-10",children:a.jsxs(V.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},className:"max-w-2xl",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[a.jsx(ut,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsx("span",{className:"text-[11px] font-sans-refined font-semibold tracking-[0.2em] uppercase text-[#C9A84C]",children:"Awards Overview"})]}),a.jsxs("h1",{className:"font-editorial text-4xl sm:text-5xl lg:text-6xl font-bold text-[#1A1A1A] leading-tight mb-6",children:["The National",a.jsx("br",{}),a.jsx("span",{className:"gold-gradient",children:"Film Awards"})]}),a.jsx("p",{className:"text-[#8A8578] text-lg leading-relaxed max-w-lg",children:"The world's most prestigious publicly voted film awards, celebrating cinematic excellence across five continents and over 100 categories."})]})})]}),a.jsx("section",{className:"py-24 lg:py-32 bg-[#FAFAF8]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx(Gn,{className:"w-5 h-5 text-[#C9A84C] mx-auto mb-3"}),a.jsx("h2",{className:"font-editorial text-3xl lg:text-4xl font-bold text-[#1A1A1A]",children:"Global Territories"})]}),a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:gG.map((e,t)=>a.jsxs(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},className:"group bg-white rounded-2xl overflow-hidden shadow-sm border border-[#C9A84C]/5 hover:shadow-lg transition-all duration-500",children:[a.jsxs("div",{className:"relative h-48 overflow-hidden",children:[a.jsx("img",{src:e.image,alt:e.name,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 to-transparent"}),a.jsxs("div",{className:"absolute bottom-4 left-5 flex items-center gap-2",children:[a.jsx("span",{className:"text-2xl",children:e.flag}),a.jsx("span",{className:"text-white font-editorial text-lg font-semibold",children:e.name})]})]}),a.jsxs("div",{className:"p-6",children:[a.jsx("p",{className:"text-[#8A8578] text-sm leading-relaxed mb-4",children:e.desc}),a.jsxs("div",{className:"flex items-center gap-6 text-xs text-[#C9A84C] font-sans-refined font-semibold",children:[a.jsxs("span",{children:[e.editions," Editions"]}),a.jsxs("span",{children:["Since ",e.since]})]})]})]},e.name))})]})}),a.jsx("section",{className:"py-24 lg:py-32 bg-white",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx(It,{className:"w-5 h-5 text-[#C9A84C] mx-auto mb-3"}),a.jsx("h2",{className:"font-editorial text-3xl lg:text-4xl font-bold text-[#1A1A1A] mb-4",children:"Award Categories"}),a.jsx("p",{className:"text-[#8A8578] max-w-lg mx-auto",children:"Over 100 categories across all territories, celebrating every facet of cinematic achievement."})]}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:xG.map(e=>a.jsx("div",{className:"p-4 rounded-xl border border-[#C9A84C]/10 bg-[#F5F0E8]/30 text-center hover:border-[#C9A84C]/30 hover:bg-[#F5F0E8] transition-all",children:a.jsx("p",{className:"text-sm font-sans-refined font-medium text-[#1A1A1A]",children:e})},e))})]})}),a.jsx("section",{className:"py-20 cream-gradient text-center",children:a.jsxs("div",{className:"max-w-xl mx-auto px-6",children:[a.jsx("h3",{className:"font-editorial text-2xl lg:text-3xl font-bold text-[#1A1A1A] mb-6",children:"Ready to Explore?"}),a.jsxs("div",{className:"flex flex-wrap gap-4 justify-center",children:[a.jsxs(He,{to:at("Awards2026"),className:"inline-flex items-center gap-2 px-7 py-3 bg-[#C9A84C] text-white text-[12px] font-sans-refined font-semibold tracking-[0.1em] uppercase rounded-full hover:bg-[#B8973B] transition-all",children:["2026 Awards ",a.jsx(bt,{className:"w-4 h-4"})]}),a.jsx(He,{to:at("PastEditions"),className:"inline-flex items-center gap-2 px-7 py-3 border border-[#C9A84C] text-[#C9A84C] text-[12px] font-sans-refined font-semibold tracking-[0.1em] uppercase rounded-full hover:bg-[#C9A84C] hover:text-white transition-all",children:"Past Editions"})]})]})})]})}function zT({tier:e,onClose:t}){const[r,n]=B.useState(1),[s,i]=B.useState(!1),[o,c]=B.useState(""),[d,u]=B.useState({holderName:"",holderEmail:"",holderPhone:"",quantity:e.tableOf10?e.seats:1,attendeeNames:Array(e.tableOf10?e.seats:1).fill("")}),h=e.tableOf10?e.seats:10,m=b=>{const v=[...d.attendeeNames];for(;v.length<b;)v.push("");return v.slice(0,b)},p=b=>{u(v=>({...v,quantity:b,attendeeNames:m(b)}))},x=async()=>{var b,v;
554if(c(""),!d.holderName.trim()||!d.holderEmail.trim()){c("Please enter your name and email.");return}if(!d.holderEmail.includes("@")){c("Please enter a valid email address.");return}i(!0);try{const N=await Ce.functions.invoke("stripeCreateCheckout",{packageId:e.id,quantity:e.tableOf10?1:d.quantity,holderName:d.holderName,holderEmail:d.holderEmail,holderPhone:d.holderPhone,attendeeNames:d.attendeeNames.filter(F=>F.trim()),successUrl:`${window.location.origin}/booking-success`,cancelUrl:`${window.location.origin}/Tickets`});(b=N.data)!=null&&b.url?window.location.href=N.data.url:c(((v=N.data)==null?void 0:v.error)||"Unable to create checkout session. Please try again.")}catch(N){c(N.message||"Something went wrong. Please try again.")}finally{i(!1)}},w=parseInt(e.price.replace(/[^0-9]/g,"")),g=e.tableOf10?w:w*d.quantity;return a.jsx(Mt,{children:a.jsx(V.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center p-4",style:{background:"rgba(0,0,0,0.85)"},onClick:b=>b.target===b.currentTarget&&t(),children:a.jsxs(V.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95},className:"bg-[#111] border border-[#D4AF37]/40 rounded-2xl w-full max-w-lg max-h-[90vh] overflow-y-auto",children:[a.jsxs("div",{className:"flex items-start justify-between p-6 border-b border-white/10",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-[#D4AF37] text-[10px] font-black tracking-[0.3em] uppercase mb-1",children:"National Film Awards 2026"}),a.jsx("h2",{className:"text-white font-bold text-xl",children:e.name}),a.jsx("p",{className:"text-white/40 text-sm mt-1",children:"1 July 2026 · Central London"})]}),a.jsx("button",{onClick:t,className:"text-white/40 hover:text-white ml-4 mt-1",children:a.jsx(tr,{className:"w-5 h-5"})})]}),a.jsxs("div",{className:"p-6 space-y-5",children:[a.jsxs("div",{className:"bg-[#0A0A0A] border border-white/10 rounded-xl p-4 flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-white/50 text-xs font-bold",children:e.tableOf10?`${e.seats} seats`:`${d.quantity} à ${e.price}`}),a.jsxs("p",{className:"text-white font-bold text-lg",children:["£",g.toLocaleString()]})]}),!e.tableOf10&&a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("button",{onClick:()=>d.quantity>1&&p(d.quantity-1),className:"w-8 h-8 rounded-full bg-white/10 hover:bg-white/20 text-white font-bold flex items-center justify-center transition-all",children:"â"}),a.jsx("span",{className:"text-white font-black text-lg w-6 text-center",children:d.quantity}),a.jsx("button",{onClick:()=>d.quantity<h&&p(d.quantity+1),className:"w-8 h-8 rounded-full bg-white/10 hover:bg-white/20 text-white font-bold flex items-center justify-center transition-all",children:"+"})]})]}),a.jsxs("div",{className:"space-y-3",children:[a.jsx("p",{className:"text-white/50 text-xs font-black tracking-widest uppercase",children:"Lead Ticket Holder"}),a.jsxs("div",{className:"relative",children:[a.jsx(vo,{className:"absolute left-3 top-3.5 w-4 h-4 text-white/30"}),a.jsx("input",{type:"text",placeholder:"Full Name *",value:d.holderName,onChange:b=>u(v=>({...v,holderName:b.target.value})),className:"w-full bg-[#0A0A0A] border border-white/15 rounded-xl pl-10 pr-4 py-3 text-white placeholder-white/30 text-sm focus:outline-none focus:border-[#D4AF37]/60"})]}),a.jsxs("div",{className:"relative",children:[a.jsx(En,{className:"absolute left-3 top-3.5 w-4 h-4 text-white/30"}),a.jsx("input",{type:"email",placeholder:"Email Address *",value:d.holderEmail,onChange:b=>u(v=>({...v,holderEmail:b.target.value})),className:"w-full bg-[#0A0A0A] border border-white/15 rounded-xl pl-10 pr-4 py-3 text-white placeholder-white/30 text-sm focus:outline-none focus:border-[#D4AF37]/60"})]}),a.jsxs("div",{className:"relative",children:[a.jsx(Wy,{className:"absolute left-3 top-3.5 w-4 h-4 text-white/30"}),a.jsx("input",{type:"tel",placeholder:"Phone Number (optional)",value:d.holderPhone,onChange:b=>u(v=>({...v,holderPhone:b.target.value})),className:"w-full bg-[#0A0A0A] border border-white/15 rounded-xl pl-10 pr-4 py-3 text-white placeholder-white/30 text-sm focus:outline-none focus:border-[#D4AF37]/60"})]})]}),d.quantity>1&&a.jsxs("div",{className:"space-y-3",children:[a.jsxs("p",{className:"text-white/50 text-xs font-black tracking-widest uppercase flex items-center gap-2",children:[a.jsx($t,{className:"w-3 h-3"})," Attendee Names"]}),d.attendeeNames.map((b,v)=>a.jsx("input",{type:"text",placeholder:`Attendee ${v+1} Full Name`,value:b,onChange:N=>{const F=[...d.attendeeNames];F[v]=N.target.value,u(S=>({...S,attendeeNames:F}
554))},className:"w-full bg-[#0A0A0A] border border-white/15 rounded-xl px-4 py-3 text-white placeholder-white/30 text-sm focus:outline-none focus:border-[#D4AF37]/60"},v))]}),o&&a.jsx("p",{className:"text-red-400 text-sm bg-red-500/10 border border-red-500/20 rounded-xl px-4 py-3",children:o}),a.jsx("button",{onClick:x,disabled:s,className:"w-full bg-[#D4AF37] hover:bg-[#C9A84C] disabled:opacity-60 text-black font-black text-sm py-4 rounded-xl transition-all flex items-center justify-center gap-2",children:s?a.jsxs(a.Fragment,{children:[a.jsx(ir,{className:"w-4 h-4 animate-spin"})," Redirecting to Payment..."]}):a.jsxs(a.Fragment,{children:["Proceed to Payment ",a.jsx(es,{className:"w-4 h-4"})]})}),a.jsxs("p",{className:"text-red-400/80 text-xs text-center font-semibold bg-red-500/10 border border-red-500/20 rounded-xl px-4 py-2.5",children:["All ticket purchases are final. No refunds or exchanges under any circumstances. By proceeding to payment you agree to the ",a.jsx("a",{href:"/terms-and-conditions",target:"_blank",className:"underline hover:text-red-300",children:"Terms & Conditions"}),"."]}),a.jsx("p",{className:"text-white/30 text-xs text-center",children:"Secure payment powered by Stripe. Your card details are never stored on our servers."})]})]})})})}const qx=["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/229675ea1__V7A5280.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/d6418460b__V7A54621.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/eac9c6bce__V7A5527.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/ed8533c22_503390523_3953610731557164_710091716931929636_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/b2803fdec_503574329_3953610728223831_7431130656005881454_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/28581470f_503841034_3953610721557165_2605187336219016605_n.jpg"],bG=[{url:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/8b9a1b3ec__V7A5269.jpg",year:2025,span:"col-span-1 row-span-2"},{url:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/40237273e__V7A5514.jpg",year:2025,span:"col-span-1"},{url:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/360461940_503475885_3953610284890542_3189969820215366845_n.jpg",year:2018,span:"col-span-1"},{url:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/ed0057623_BV7A5729.jpg",year:2025,span:"col-span-2"},{url:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6d6d5b8ad_503356460_3953610401557197_96857310345810940_n.jpg",year:2018,span:"col-span-1"},{url:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/c49fdafbd__V7A5381.jpg",year:2025,span:"col-span-1"},{url:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/e52f42b78_503578327_3953610734890497_22480419277452005_n.jpg",year:2018,span:"col-span-1"}],jN=[{id:"standard",tier:"Standard",name:"Awards â Standard Seats",price:"£199",label:"Awards â Standard Seats",features:["Ceremony Attendance","Standard Seating","Welcome Reception","Certificate of Attendance"],featured:!1,isTable:!1,tableOf10:!1,seats:1},{id:"awards-only",tier:"VIP",name:"Awards Only (VIP)",price:"£299",label:"Awards Only",features:["Priority VIP Seating","VIP Pre-Show Lounge","Wine Reception","Exclusive Gift Bag","Photo Opportunity"],featured:!0,isTable:!1,tableOf10:!1,seats:1},{id:"awards-afterparty",tier:"VIP + Afterparty",name:"Awards & Afterparty (VIP)",price:"£349",label:"Awards & Afterparty",features:["Pri
554ority VIP Seating","VIP Pre-Show Lounge","Wine Reception","Exclusive Gift Bag","Afterparty Access"],featured:!1,isTable:!1,tableOf10:!1,seats:1},{id:"table-awards",tier:"VIP Table",name:"Table of 10 â Awards Only",price:"£2,999",label:"Table of 10 â Awards Only",features:["Full Table of 10","Premium Table Position","Dedicated Host","Wine Service","Brand Visibility"],featured:!1,isTable:!0,tableOf10:!0,seats:10},{id:"table-afterparty",tier:"VIP Table + Afterparty",name:"Table of 10 â Awards & Afterparty",price:"£3,490",label:"Table of 10 â Awards & Afterparty",features:["Full Table of 10","Premium Table Position","Dedicated Host","Wine Service","Afterparty Access for All"],featured:!1,isTable:!0,tableOf10:!0,seats:10}],wG=[{icon:or,title:"Nominations Open",date:"Now Open",status:"done"},{icon:It,title:"Nominees Announced",date:"4 May 2026",status:"active"},{icon:$t,title:"Public Voting",date:"MayâJune 2026",status:"upcoming"},{icon:ts,title:"The Ceremony",date:"1 July 2026",status:"upcoming"}];function vG(e){const[t,r]=B.useState({});return B.useEffect(()=>{const n=()=>{const i=new Date(e)-new Date;if(i<=0)return r({days:0,hours:0,minutes:0,seconds:0});r({days:Math.floor(i/864e5),hours:Math.floor(i/36e5%24),minutes:Math.floor(i/6e4%60),seconds:Math.floor(i/1e3%60)})};n();const s=setInterval(n,1e3);return()=>clearInterval(s)},[e]),t}function Vf({value:e,label:t}){return a.jsxs("div",{className:"flex flex-col items-center",children:[a.jsx("div",{className:"bg-black/50 backdrop-blur-sm border border-[#C9A84C]/30 rounded-2xl px-4 py-3 min-w-[72px] text-center",children:a.jsx("span",{className:"font-editorial text-3xl lg:text-5xl font-bold text-white tabular-nums",children:String(e??0).padStart(2,"0")})}),a.jsx("span",{className:"text-[10px] font-semibold tracking-[0.2em] uppercase text-[#C9A84C] mt-2",children:t})]})}
554function CG(){const[e,t]=B.useState(0);return B.useEffect(()=>{const r=setInterval(()=>t(n=>(n+1)%qx.length),5500);return()=>clearInterval(r)},[]),a.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[a.jsx(Mt,{mode:"sync",children:a.jsx(V.img,{src:qx[e],alt:"",initial:{opacity:0,scale:1.04},animate:{opacity:1,scale:1},exit:{opacity:0},transition:{duration:1.4},className:"absolute inset-0 w-full h-full object-cover object-center"},e)}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black via-black/55 to-black/10"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-black/60 to-transparent"}),a.jsx("div",{className:"absolute bottom-8 right-10 z-10 flex gap-2",children:qx.map((r,n)=>a.jsx("button",{onClick:()=>t(n),className:`rounded-full transition-all duration-300 ${n===e?"bg-[#C9A84C] w-6 h-1.5":"bg-white/30 w-1.5 h-1.5 hover:bg-white/60"}`},n))})]})}function BG(){const e=vG("2026-07-01T18:00:00"),[t,r]=B.useState(null);return a.jsxs("div",{className:"bg-[#0A0A0A] min-h-screen",children:[a.jsxs("section",{className:"relative min-h-screen flex flex-col justify-end overflow-hidden pt-24",children:[a.jsx(CG,{}),a.jsx("div",{className:"relative z-10 max-w-[1400px] mx-auto px-6 lg:px-10 pb-20 w-full",children:a.jsxs(V.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.9},children:[a.jsx("span",{className:"text-[11px] font-semibold tracking-[0.25em] uppercase text-[#C9A84C] mb-4 block",children:"The 12th Annual Ceremony · 1 July 2026 · Central London"}),a.jsxs("h1",{className:"font-editorial text-5xl sm:text-7xl lg:text-8xl font-bold text-white leading-[1.0] mb-6",children:["National Film",a.jsx("br",{}),a.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-[#C9A84C] via-[#F0D882] to-[#C9A84C]",children:"Awards 2026"})]}),a.jsxs("div",{className:"mb-10",children:[a.jsx("p",{className:"text-[10px] font-semibold tracking-[0.2em] uppercase text-white/40 mb-4",children:"Ceremony Begins In"}),a.jsxs("div",{className:"flex items-start gap-2 sm:gap-4 flex-wrap",children:[a.jsx(Vf,{value:e.days,label:"Days"}),a.jsx("span",{className:"text-white/20 text-3xl font-light mt-3",children:":"}),a.jsx(Vf,{value:e.hours,label:"Hours"}),a.jsx("span",{className:"text-white/20 text-3xl font-light mt-3",children:":"}),a.jsx(Vf,{value:e.minutes,label:"Mins"}),a.jsx("span",{className:"text-white/20 text-3xl font-light mt-3",children:":"}),a.jsx(Vf,{value:e.seconds,label:"Secs"})]})]}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsxs("a",{href:"#tickets",className:"inline-flex items-center gap-2 px-8 py-4 bg-[#C9A84C] text-black text-[12px] font-bold tracking-[0.1em] uppercase rounded-full hover:bg-[#F0D882] transition-all shadow-lg shadow-[#C9A84C]/30",children:[a.jsx(ts,{className:"w-4 h-4"})," Get Tickets"]}),a.jsxs(He,{to:"/voting",className:"inline-flex items-center gap-2 px-8 py-4 border border-white/20 text-white text-[12px] font-semibold tracking-[0.1em] uppercase rounded-full hover:border-[#C9A84C] hover:text-[#C9A84C] transition-all backdrop-blur-sm",children:[a.jsx(It,{className:"w-4 h-4"})," Vote Now"]})]})]})})]}),a.jsx("section",{className:"py-14 bg-[#111111] border-y border-white/5",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-10",children:[{icon:Qt,label:"Date",value:"1 July 2026",sub:"Wednesday Evening"},{icon:da,label:"Location",value:"Central London",sub:"United Kingdom"},{icon:$t,label:"Nominations Close",value:"4 May 2026",sub:"Nominees announced that day"}].map((n,s)=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.1},className:"flex items-center gap-5",children:[a.jsx("div",{className:"w-14 h-14 rounded-2xl bg-[#C9A84C]/10 border border-[#C9A84C]/20 flex items-center justify-center flex-shrink-0",children:a.jsx(n.icon,{className:"w-6 h-6 text-[#C9A84C]"})}),a.jsxs("div",{children:[a.jsx("p",{className:"text-[10px] font-semibold tracking-[0.15em] uppercase text-white/30",children:n.label}),a.jsx("p",{className:"font-editorial text-xl font-semibold text-white",children:n.value}),a.jsx("p",{className:"text-xs text-white/40",children:n.sub})]})]},n.label))})})}),a.jsx("section",{className:"py-12 bg-gradient-to-r from-[#C9A84C] via-[#F0D882] to-[#C9A84C]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 flex flex-col md:flex-row items-center justify-between gap-6",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-black/60 text-xs font-bold tracking-widest uppercase mb-1",children:"Voting Now Open"}),a.jsx("h2",{className:"font-editorial text-2xl lg:text-3xl font-bold text-black",children:"Nominees Announced · Public Voting Now Open"})]}),a.jsxs(He,{to:"/voting",className:"flex-shrink-0 inline-flex items-center gap-2 px-8 py-4 bg-black text-[#C9A84C] text-[12px] font-bold tracking-[0.1em] uppercase rounded-full hover:bg-black/80 transition-all whitespace-nowrap",children:[a.jsx(It,{className:"w-4 h-4"})," Vote Now ",a.jsx(bt,{className:"w-4 h-4"})]})]})}),a.jsxs("section",{className:"py-20 bg-[#0A0A0A]",children:[a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 mb-10",children:[a.jsx("p",{className:"text-[10px] font-semibold tracking-[0.25em] uppercase text-[#C9A84C] mb-3",children:"The NFA Legacy"}),a.jsx("h2",{className:"font-editorial text-3xl lg:text-4xl font-bold text-white",children:"Years of Cinematic Excellence"})]}),a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 grid grid-cols-3 grid-rows-2 gap-3 h-[500px] lg:h-[600px]",children:bG.map((n,s)=>a.jsxs(V.div,{initial:{opacity:0,scale:.97},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:s*.08},className:`${n.span} relative overflow-hidden rounded-2xl group`,children:[a.jsx("img",{src:n.url,alt:"",className:"w-full h-full object-cover object-top group-hover:scale-105 transition-transform duration-700"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition-opacity"}),a.jsx("div",{className:"absolute bottom-4 left-4 opacity-0 group-hover:opacity-100 transition-opacity",children:a.jsx("span",{className:"text-[10px] font-bold tracking-widest uppercase text-[#C9A84C]",children:n.year})})]},s))})]}),a.jsx("section",{className:"py-24 bg-[#111111]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx(wo,{className:"w-5 h-5 text-[#C9A84C] mx-auto mb-3"}),a.jsx("h2",{className:"font-editorial text-3xl lg:text-4xl font-bold text-white",children:"The Road to 202
5546"})]}),a.jsx("div",{className:"grid md:grid-cols-4 gap-6",children:wG.map((n,s)=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.15},className:`relative p-6 rounded-2xl border ${n.status==="active"?"bg-gradient-to-br from-[#C9A84C] to-[#A8873B] border-[#C9A84C] shadow-lg shadow-[#C9A84C]/20":(n.status==="done","bg-white/5 border-white/10")}`,children:[a.jsx(n.icon,{className:`w-6 h-6 mb-4 ${n.status==="active"?"text-black":"text-[#C9A84C]"}`}),a.jsx("p",{className:`text-xs font-semibold tracking-wider uppercase mb-2 ${n.status==="active"?"text-black/60":"text-white/40"}`,children:n.date}),a.jsx("h3",{className:`font-editorial text-lg font-semibold ${n.status==="active"?"text-black":"text-white"}`,children:n.title}),n.status==="active"&&a.jsx("span",{className:"inline-block mt-3 px-3 py-1 bg-black/20 rounded-full text-[10px] font-bold tracking-wider uppercase text-black",children:"Coming Soon"}),n.status==="done"&&a.jsx("span",{className:"inline-block mt-3 px-3 py-1 bg-white/10 rounded-full text-[10px] font-bold tracking-wider uppercase text-white/40",children:"Complete"})]},n.title))})]})}),a.jsx("section",{id:"tickets",className:"py-24 lg:py-32 bg-[#0A0A0A]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx(ts,{className:"w-5 h-5 text-[#C9A84C] mx-auto mb-3"}),a.jsx("h2",{className:"font-editorial text-3xl lg:text-5xl font-bold text-white mb-4",children:"Secure Your Place"}),a.jsx("p",{className:"text-white/40 max-w-lg mx-auto",children:"Join us for the most anticipated evening in publicly voted cinema â 1 July 2026, Central London."})]}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6 mb-6",children:jN.filter(n=>!n.isTable).map((n,s)=>a.jsxs(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.1},className:`rounded-2xl p-8 border relative overflow-hidden ${n.featured?"bg-gradient-to-br from-[#C9A84C] to-[#A8873B] border-[#C9A84C] shadow-xl shadow-[#C9A84C]/20":"bg-white/5 border-white/10 hover:border-[#C9A84C]/30 transition-colors"}`,children:[n.featured&&a.jsx("div",{className:"absolute top-4 right-4 bg-black/20 text-black text-[10px] font-bold tracking-widest uppercase px-3 py-1 rounded-full",children:"Most Popular"}),a.jsx("p",{className:`text-[11px] font-semibold tracking-[0.15em] uppercase mb-1 ${n.featured?"text-black/60":"text-[#C9A84C]"}`,children:n.label}),a.jsx("p",{className:`font-editorial text-4xl font-bold mb-1 ${n.featured?"text-black":"text-white"}`,children:n.price}),a.jsx("p",{className:`text-xs mb-6 ${n.featured?"text-black/50":"text-white/30"}`,children:"per person"}),a.jsx("ul",{className:"space-y-3 mb-8",children:n.features.map(i=>a.jsxs("li",{className:`text-sm flex items-center gap-2 ${n.featured?"text-black/80":"text-white/60"}`,children:[a.jsx("div",{className:`w-1.5 h-1.5 rounded-full flex-shrink-0 ${n.featured?"bg-black":"bg-[#C9A84C]"}`}),i]},i))}),a.jsx("button",{onClick:()=>r(n),className:`w-full py-3 rounded-full text-[12px] font-bold tracking-[0.1em] uppercase transition-all ${n.featured?"bg-black text-[#C9A84C] hover:bg-black/80":"bg-[#C9A84C] text-black hover:bg-[#F0D882]"}`,children:"Book Now"})]},n.tier))}),a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:jN.filter(n=>n.isTable).map((n,s)=>a.jsxs(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.1},className:"rounded-2xl p-8 border border-white/10 bg-white/5 hover:border-[#C9A84C]/30 transition-colors",children:[a.jsxs("div",{className:"flex items-start justify-between mb-4",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-[11px] font-semibold tracking-[0.15em] uppercase text-[#C9A84C] mb-1",children:n.label}),a.jsx("p",{className:"font-editorial text-4xl font-bold text-white",children:n.price}),a.jsx("p",{className:"text-xs text-white/30 mt-1",children:"table of 10"})]}),a.jsxs("div",{className:"bg-[#C9A84C]/10 border border-[#C9A84C]/20 rounded-xl px-4 py-2 text-center",children:[a.jsx("p",{className:"text-2xl font-bold text-[#C9A84C]",children:"Ã10"}),a.jsx("p",{className:"text-[9px] uppercase tracking-wider text-[#C9A84C]/60",children:"seats"})]})]}),a.jsx("ul",{className:"grid grid-cols-2 gap-2 mb-8",children:n.features.map(i=>a.jsxs("li",{className:"text-sm flex items-center gap-2 text-white/60",children:[a.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-[#C9A84C] flex-shrink-0"}),i]},i))}),a.jsx("button",{onClick:()=>r(n),className:"w-full py-3 rounded-full text-[12px] font-bold tracking-[0.1em] uppercase bg-[#C9A84C] text-black hover:bg-[#F0D882] transition-all",children:"Book Table"})]},n.tier))}),a.jsxs("p",{className:"text-center text-white/30 text-sm mt-8",children:["For group bookings or bespoke packages, contact"," ",a.jsx("a",{href:"mailto:[email protected]",className:"text-[#C9A84C] hover:underline",children:"[email protected]"})]})]})}),t&&a.jsx(zT,{tier:t,onClose:()=>r(null)}),a.jsxs("section",{className:"relative py-24 overflow-hidden",children:[a.jsxs("div",{className:"absolute inset-0",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/20a839289_7f674117dd66ce7e0ac278b373a6cfdb.jpg",alt:"",className:"w-full h-full object-cover object-center"}),a.jsx("div",{className:"absolute inset-0 bg-black/80"})]}),a.jsx("div",{className:"relative z-10 max-w-[1400px] mx-auto px-6 lg:px-10 text-center",children:a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("p",{className:"text-[11px] font-semibold tracking-[0.25em] uppercase text-[#C9A84C] mb-4",children:"Voting Now Open"}),a.jsxs("h2",{className:"font-editorial text-4xl lg:text-6xl font-bold text-white mb-6",children:["Your Vote.",a.jsx("br",{}),"Their Legacy."]}),a.jsx("p",{className:"text-white/50 max-w-lg mx-auto mb-10 text-lg",children:"Cast your vote and help decide who takes home the most coveted awards in British cinema."}),a.jsxs("div",{className:"flex flex-wrap gap-4 justify-center",children:[a.jsxs(He,{to:"/voting",className:"inline-flex items-center gap-2 px-8 py-4 bg-[#C9A84C] text-black text-[12px] font-bold tracking-[0.1em] uppercase rounded-full hover:bg-[#F0D882] transition-all",children:[a.jsx(It,{className:"w-4 h-4"})," Vote Now"]}),a.jsxs("a",{href:"#tickets",className:"inline-flex items-center gap-2 px-8 py-4 border border-white/20 text-white text-[12px] font-semibold tracking-[0.1em] uppercase rounded-full hover:border-[#C9A84C] hover:text-[#C9A84C] transition-all",children:[a.jsx(ts,{className:"w-4 h-4"})," Get Tickets"]})]})]})})]})]})}const NG=[{name:"Best Film",icon:Dr,count:"11 editions"},{name:"Best Director",icon:O3,count:"11 editions"},{name:"Best Actor",icon:Kn,count:"11 editions"},{name:"Best Actress",icon:It,count:"11 editions"},{name:"Best Supporting Actor",icon:Kn,count:"11 editions"},{name:"Best Supporting Actress",icon:It,count:"11 editions"},{name:"Best Documentary",icon:Dr,count:"8 editions"},{name:"Best International Film",icon:ut,count:"7 editions"}],FG=[{name:"Best Drama Series",icon:ci,count:"6 editions"},{name:"Best Comedy Series",icon:ci,count:"6 editions"},{name:"Best Actor - Drama",icon:Kn,count:"6 editions"},{name:"Best Actress - Drama",icon:It,count:"6 editions"}];
554function jG(){const[e,t]=B.useState("film");return a.jsx("div",{className:"pt-24 lg:pt-28",children:a.jsx("section",{className:"py-20 lg:py-28 bg-[#FFFEF9]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-16",children:[a.jsx("h1",{className:"font-editorial text-5xl sm:text-6xl lg:text-7xl font-bold text-[#2D2D2D] mb-4",children:"Award Categories"}),a.jsx("p",{className:"text-[#5A5A5A] text-lg max-w-lg mx-auto",children:"Explore all categories and their nominee history."})]}),a.jsxs("div",{className:"flex justify-center gap-4 mb-12",children:[a.jsx("button",{onClick:()=>t("film"),className:`px-8 py-3 rounded-full text-sm font-bold tracking-wider uppercase transition-all ${e==="film"?"bg-[#D4AF37] text-white shadow-lg":"bg-white text-[#5A5A5A] border-2 border-[#D4AF37]/20"}`,children:"Film"}),a.jsx("button",{onClick:()=>t("tv"),className:`px-8 py-3 rounded-full text-sm font-bold tracking-wider uppercase transition-all ${e==="tv"?"bg-[#D4AF37] text-white shadow-lg":"bg-white text-[#5A5A5A] border-2 border-[#D4AF37]/20"}`,children:"Television"})]}),a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:(e==="film"?NG:FG).map((r,n)=>a.jsx(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:n*.05},children:a.jsxs(He,{to:at("Winners")+`?category=${r.name}`,className:"block bg-white rounded-2xl p-8 shadow-lg hover:shadow-xl transition-all group",children:[a.jsx("div",{className:"w-14 h-14 rounded-xl bg-[#D4AF37]/10 flex items-center justify-center mb-5 group-hover:bg-[#D4AF37] transition-colors",children:a.jsx(r.icon,{className:"w-7 h-7 text-[#D4AF37] group-hover:text-white transition-colors"})}),a.jsx("h3",{className:"font-editorial text-xl font-bold text-[#2D2D2D] mb-2 group-hover:text-[#D4AF37] transition-colors",children:r.name}),a.jsx("p",{className:"text-[#5A5A5A] text-sm",children:r.count})]})},r.name))})]})})})}const $x="https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/c326a17d4_TheComedyAwardslogo.png",SG="https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/d3b9586ec_BritishComedyFestivallogodesign.png",EG=["Best Comedy Film","Best Comedy TV Series","Best Stand-Up Comedian","Best Comedy Actor","Best Comedy Actress","Best Comedy Newcomer","Best Comedy Screenplay","Best Comedy Panel Show","Best Comedy Podcast","Best Live Comedy Show","Best International Comedy","Lifetime Achievement in Comedy"],TG=[{value:"1M+",label:"Public Votes",icon:$t},{value:"12+",label:"Award Categories",icon:ut},{value:"15",label:"Territories",icon:Gn},{value:"2026",label:"Inaugural Edition",icon:It}];
554function kG(){const[e,t]=B.useState(null);return a.jsxs("div",{className:"pt-24 lg:pt-28 min-h-screen bg-[#0D0D0D] text-white overflow-x-hidden",children:[a.jsxs("section",{className:"relative min-h-[90vh] flex items-center justify-center overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#2a1800] via-[#1a1000] to-[#0D0D0D]"}),a.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_left,_rgba(212,140,0,0.25)_0%,_transparent_60%)]"}),a.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_bottom_right,_rgba(180,100,0,0.15)_0%,_transparent_60%)]"}),a.jsx("div",{className:"absolute top-10 right-10 opacity-5 text-[300px] select-none pointer-events-none font-editorial",children:"ð"}),a.jsx("div",{className:"absolute bottom-10 left-10 opacity-5 text-[200px] select-none pointer-events-none font-editorial",children:"ð"}),a.jsxs("div",{className:"relative z-10 max-w-6xl mx-auto px-6 lg:px-10 text-center",children:[a.jsx(V.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.6},className:"inline-flex items-center gap-2 mb-8 px-5 py-2 rounded-full border border-amber-500/30 bg-amber-500/10 backdrop-blur-sm",children:a.jsx("span",{className:"text-amber-400 text-xs font-bold tracking-[0.25em] uppercase",children:"Presented by the National Film Academy"})}),a.jsx(V.div,{initial:{opacity:0,scale:.85},animate:{opacity:1,scale:1},transition:{duration:.8,delay:.2,type:"spring"},className:"flex justify-center mb-8",children:a.jsx("img",{src:$x,alt:"The Comedy Awards",className:"w-full max-w-lg drop-shadow-2xl"})}),a.jsx(V.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.5},className:"text-amber-100/70 text-lg lg:text-xl max-w-2xl mx-auto mb-12 leading-relaxed",children:"The UK's premier fan-voted comedy awards â celebrating the best in comedy film, television, stand-up, and beyond."}),a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.7},className:"flex flex-wrap items-center justify-center gap-4",children:[a.jsx("button",{className:"px-8 py-4 bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-400 hover:to-amber-500 text-black font-bold rounded-full transition-all duration-300 shadow-lg shadow-amber-500/30 hover:shadow-amber-500/50 hover:scale-105 text-sm tracking-wide uppercase",children:"Vote Now"}),a.jsx("button",{className:"px-8 py-4 border-2 border-amber-500/50 text-amber-300 hover:border-amber-400 hover:text-amber-200 font-bold rounded-full transition-all duration-300 text-sm tracking-wide uppercase",children:"View Nominees"})]})]}),a.jsx("div",{className:"absolute bottom-8 left-1/2 -translate-x-1/2",children:a.jsx(V.div,{animate:{y:[0,8,0]},transition:{duration:2,repeat:1/0},className:"w-6 h-10 border-2 border-amber-500/30 rounded-full flex justify-center pt-2",children:a.jsx("div",{className:"w-1 h-2 bg-amber-500/60 rounded-full"})})})]}),a.jsx("section",{className:"bg-gradient-to-r from-amber-600 to-amber-700 py-8",children:a.jsx("div",{className:"max-w-6xl mx-auto px-6 lg:px-10",children:a.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-6",children:TG.map((r,n)=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.1},className:"text-center",children:[a.jsx(r.icon,{className:"w-6 h-6 mx-auto mb-2 text-amber-100/70"}),a.jsx("p",{className:"font-editorial text-3xl font-bold text-white",children:r.value}),a.jsx("p",{className:"text-amber-100/70 text-sm font-medium",children:r.label})]},r.label))})})}),a.jsx("section",{className:"py-24 px-6 lg:px-10",children:a.jsx("div",{className:"max-w-6xl mx-auto",children:a.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[a.jsxs(V.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},children:[a.jsx("p",{className:"text-amber-500 text-xs font-bold tracking-[0.25em] uppercase mb-3",children:"About"}),a.jsxs("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white mb-6 leading-tight",children:["The UK's Fan-Voted",a.jsx("br",{}),a.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-amber-400 to-amber-600",children:"Comedy Awards"})]}),a.jsxs("div",{className:"space-y-4 text-white/60 text-base leading-relaxed",children:[a.jsxs("p",{children:["The Comedy Awards are produced and presented by the ",a.jsx("strong",{className:"text-white",children:"National Film Academy"}
554)," â the same organisation behind the prestigious National Film Awards UK, now celebrating over a decade of championing fan-voted excellence in screen entertainment."]}),a.jsx("p",{children:"Unlike industry panels or critic-led ceremonies, The Comedy Awards are entirely decided by the public â putting the power of recognition in the hands of comedy fans across the UK and beyond."}),a.jsx("p",{children:"From beloved sitcoms and blockbuster comedy films to stand-up specials and podcast sensations, The Comedy Awards honours every corner of the comedy world."})]}),a.jsx("div",{className:"mt-8 flex flex-wrap gap-3",children:["Fan-Voted","UK-Based","All Genres","Annual Ceremony"].map(r=>a.jsx("span",{className:"px-4 py-2 rounded-full border border-amber-500/30 text-amber-400 text-sm font-semibold bg-amber-500/5",children:r},r))})]}),a.jsx(V.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"relative",children:a.jsxs("div",{className:"relative rounded-3xl overflow-hidden border-2 border-amber-500/20 bg-gradient-to-br from-amber-500/10 to-amber-700/5 p-10 flex items-center justify-center",style:{minHeight:"380px"},children:[a.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,_rgba(212,140,0,0.12)_0%,_transparent_70%)]"}),a.jsx("img",{src:$x,alt:"The Comedy Awards",className:"relative z-10 w-full max-w-sm drop-shadow-2xl"}),a.jsx("div",{className:"absolute top-4 right-4 w-16 h-16 rounded-full bg-amber-500/10 border border-amber-500/20 flex items-center justify-center",children:a.jsx(ut,{className:"w-7 h-7 text-amber-500"})})]})})]})})}),a.jsx("section",{className:"py-24 px-6 lg:px-10 bg-[#111111]",children:a.jsxs("div",{className:"max-w-6xl mx-auto",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-14",children:[a.jsx("p",{className:"text-amber-500 text-xs font-bold tracking-[0.25em] uppercase mb-3",children:"The Categories"}),a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white mb-4",children:"Award Categories"}),a.jsx("p",{className:"text-white/50 text-base max-w-xl mx-auto",children:"Every category is nominated and voted for by the public â comedy fans decide who wins."})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:EG.map((r,n)=>a.jsx(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.05},onMouseEnter:()=>t(n),onMouseLeave:()=>t(null),className:`relative rounded-2xl border p-5 transition-all duration-300 cursor-default group overflow-hidden ${e===n?"border-amber-500 bg-amber-500/10 shadow-lg shadow-amber-500/10":"border-white/10 bg-white/[0.03] hover:border-amber-500/50"}`,children:a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:`w-9 h-9 rounded-full flex items-center justify-center flex-shrink-0 transition-colors ${e===n?"bg-amber-500":"bg-amber-500/10"}`,children:a.jsx(Kn,{className:`w-4 h-4 transition-colors ${e===n?"text-black":"text-amber-500"}`})}),a.jsx("span",{className:"text-white font-semibold text-sm",children:r})]})},r))})]})}),a.jsx("section",{className:"py-24 px-6 lg:px-10",children:a.jsx("div",{className:"max-w-6xl mx-auto",children:a.jsxs(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"rounded-3xl overflow-hidden border-2 border-amber-500/20 bg-gradient-to-br from-[#1a1000] to-[#0D0D0D] relative",children:[a.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,_rgba(212,140,0,0.18)_0%,_transparent_60%)]"}),a.jsx("div",{className:"absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-amber-500 via-amber-400 to-amber-600"}),a.jsxs("div",{className:"relative z-10 grid lg:grid-cols-2 gap-0 items-center",children:[a.jsxs("div",{className:"p-10 lg:p-14",children:[a.jsxs("div",{className:"inline-flex items-center gap-2 mb-6 px-4 py-2 rounded-full bg-amber-500/15 border border-amber-500/30",children:[a.jsx("span",{className:"w-2 h-2 rounded-full bg-amber-400 animate-pulse"}),a.jsx("span",{className:"text-amber-400 text-xs font-bold tracking-[0.2em] uppercase",children:"Also from the National Film Academy"})]}),a.jsxs("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white mb-5 leading-tight",children:["British Comedy",a.jsx("br",{}),a.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-amber-400 to-amber-600",children:"Festival 2026"})]}),a.jsxs("p",{className:"text-white/60 text-base leading-relaxed mb-6",children:["The National Film Academy also produces the ",a.jsx("strong",{className:"text-white",children:"British Comedy Festival"})," â the UK's biggest celebration of comedy. Bringing together the finest names in stand-up, sketch, sitcom, film, and live performance for an unmissable annual event."]}),a.jsx("div",{className:"space-y-3 mb-8",children:[{icon:kI,text:"Stand-up, sketch & live performances"},{icon:Dr,text:"Comedy film screenings & previews"},{icon:ut,text:"The Comedy Awards ceremony"},{icon:$t,text:"Industry panels & networking events"}].map(({icon:r,text:n})=>a.jsxs("div",{className:"flex items-center gap-3 text-white/70",children:[a.jsx("div",{className:"w-8 h-8 rounded-full bg-amber-500/15 flex items-center justify-center flex-shrink-0",children:a.jsx(r,{className:"w-4 h-4 text-amber-400"})}),a.jsx("span",{className:"text-sm font-medium",children:n})]},n))}),a.jsxs("a",{href:"https://www.britishcomedyfestival.com",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-3 px-8 py-4 bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-400 hover:to-amber-500 text-black font-bold rounded-full transition-all duration-300 shadow-lg shadow-amber-500/30 hover:shadow-amber-500/50 hover:scale-105 text-sm tracking-wide uppercase group",children:["Visit britishcomedyfestival.com",a.jsx(li,{className:"w-4 h-4 group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-transform"})]})]}),a.jsx("div",{className:"flex items-center justify-center p-10 lg:p-14 bg-gradient-to-br from-amber-600/10 to-transparent lg:border-l border-amber-500/10",children:a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,_rgba(212,140,0,0.25)_0%,_transparent_70%)] scale-150"}),a.jsx("img",{src:SG,alt:"British Comedy Festival",className:"relative z-10 w-full max-w-sm drop-shadow-2xl hover:scale-105 transition-transform duration-500"})]})})]})]})})}),a.jsx("section",{className:"py-24 px-6 lg:px-10 bg-[#111111]",children:a.jsxs("div",{className:"max-w-5xl mx-auto",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-14",children:[a.jsx("p",{className:"text-amber-500 text-xs font-bold tracking-[0.25em] uppercase mb-3",children:"The Process"}),a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white mb-4",children:"How It Works"}),a.jsx("p",{className:"text-white/50 text-base max-w-xl mx-auto",children:"The Comedy Awards are entirely driven by public participation â from nominations to the final vote."})]}),a.jsx("div",{className:"grid sm:grid-cols-3 gap-8",children:[{step:"01",title:"Nominate",desc:"Fans submit their favourite comedy performances, films, shows and talent across all categories.",icon:It},{step:"02",title:"Vote",desc:"Once nominations close, the shortlist is revealed and the public votes for their winners.",icon:$t},{step:"03",title:"Celebrate",desc:"Winners are announced at the live Comedy Awards ceremony as part of the British Comedy Festival.",icon:ut}].map((r,n)=>a.jsxs(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.15},className:"relative text-center",children:[n<2&&a.jsx("div",{className:"hidden sm:block absolute top-10 left-[calc(50%+40px)] right-[-50%] h-px bg-gradient-to-r from-amber-500/40 to-transparent"}),a.jsx("div",{className:"w-20 h-20 rounded-full bg-gradient-to-br from-amber-500 to-amber-700 flex items-center justify-center mx-auto mb-6 shadow-xl shadow-amber-500/20",children:a.jsx(r.icon,{className:"w-9 h-9 text-black"})}),a.jsx("div",{className:"text-amber-500/50 font-editorial text-5xl font-bold absolute top-0 right-8 leading-none select-none",children:r.step}),a.jsx("h3",{className:"font-editorial text-2xl font-bold text-white mb-3",children:r.title}),a.jsx("p",{className:"text-white/50 text-sm leading-relaxed",children:r.desc})]},r.step))})]})}),a.jsxs("section",{className:"py-24 px-6 lg:px-10 relative overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-amber-700/20 via-[#0D0D0D] to-[#0D0D0D]"}),a.jsx("div",{className:"relative z-10 max-w-3xl mx-auto text-center",children:a.jsxs(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("img",{src:$x,alt:"The Comedy Awards",className:"w-64 mx-auto mb-8 opacity-90"}),a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white mb-5",children:"Cast Your Vote"}),a.jsx("p",{className:"text-white/60 text-lg mb-10 leading-relaxed",children:"The Comedy Awards are decided by you. Vote for your favourites and help crown the UK's best in comedy."}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx("button",{className:"px-10 py-4 bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-400 hover:to-amber-500 text-black font-bold rounded-full transition-all duration-300 shadow-lg shadow-amber-500/30 hover:scale-105 text-sm tracking-wide uppercase",children:"Vote Now"}),a.jsxs("a",{href:"https://www.britishcomedyfestival.com",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-10 py-4 border-2 border-amber-500/50 text-amber-300 hover:border-amber-400 hover:text-amber-200 font-bold rounded-full transition-all duration-300 text-sm tracking-wide uppercase",children:["British Comedy Festival",a.jsx(li,{className:"w-4 h-4"})]})]})]})})]})]})}const SN=[{year:2025,region:"UK",city:"London",venue:"The Grosvenor House",status:"past"},{year:2024,region:"UK",city:"London",venue:"The Grosvenor House",status:"past"},{year:2024,region:"USA",city:"Los Angeles",venue:"Beverly Hilton",status:"past"},{year:2023,region:"UK",city:"London",venue:"The Grosvenor House",status:"past"},{year:2023,region:"USA",city:"Los Angeles",venue:"Beverly Hilton",status:"past"},{year:2023,region:"Africa",city:"Johannesburg",venue:"Sandton Convention Centre",status:"past"}],_G=["All","UK","USA","Africa","Asia","South America"];
554function DG(){const[e,t]=B.useState("All"),r=e==="All"?SN:SN.filter(n=>n.region===e);return a.jsx("div",{className:"pt-24 lg:pt-28",children:a.jsx("section",{className:"py-20 bg-gradient-to-br from-[#FFFEF9] to-[#FFF9F0]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-16",children:[a.jsx(Gn,{className:"w-6 h-6 text-[#D4AF37] mx-auto mb-4"}),a.jsx("h1",{className:"font-editorial text-5xl sm:text-6xl lg:text-7xl font-bold text-[#2D2D2D] mb-4",children:"Global Editions"}),a.jsx("p",{className:"text-[#5A5A5A] text-lg max-w-lg mx-auto",children:"Explore our awards ceremonies across five continents."})]}),a.jsx("div",{className:"flex justify-center gap-3 mb-12 flex-wrap",children:_G.map(n=>a.jsx("button",{onClick:()=>t(n),className:`px-6 py-2 rounded-full text-sm font-bold tracking-wider uppercase transition-all ${e===n?"bg-[#D4AF37] text-white shadow-lg":"bg-white text-[#5A5A5A] border-2 border-[#D4AF37]/20"}`,children:n},n))}),a.jsx("div",{className:"max-w-4xl mx-auto space-y-6",children:r.map((n,s)=>a.jsx(V.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:s*.05},className:"bg-white rounded-2xl p-6 lg:p-8 shadow-lg hover:shadow-xl transition-all",children:a.jsxs("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between gap-6",children:[a.jsxs("div",{className:"flex items-center gap-6",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("p",{className:"font-editorial text-4xl font-bold text-[#D4AF37]",children:n.year}),a.jsx("p",{className:"text-xs text-[#5A5A5A] uppercase tracking-wider font-semibold",children:n.region})]}),a.jsx("div",{className:"h-12 w-px bg-[#D4AF37]/20"}),a.jsxs("div",{children:[a.jsxs("div",{className:"flex items-center gap-2 text-[#5A5A5A] mb-2",children:[a.jsx(da,{className:"w-4 h-4"}),a.jsx("p",{className:"font-semibold text-sm",children:n.city})]}),a.jsxs("div",{className:"flex items-center gap-2 text-[#5A5A5A]",children:[a.jsx(Qt,{className:"w-4 h-4"}),a.jsx("p",{className:"text-sm",children:n.venue})]})]})]}),a.jsx(He,{to:at("Winners")+`?year=${n.year}®ion=${n.region}`,className:"inline-flex items-center gap-2 px-6 py-3 bg-[#D4AF37] text-white rounded-full hover:bg-[#B8941F] transition-all font-bold text-sm",children:"View Winners"})]})},`${n.year}-${n.region}`))})]})})})}
554function JT(){const[e,t]=B.useState([]),[r,n]=B.useState(!0),[s,i]=B.useState(null);return B.useEffect(()=>{(async()=>{try{const d=(await Ce.entities.EventYear.list("-year",50)).filter(m=>m.is_published).map(m=>({year:m.year,title:m.title,source:"event"}));let u=[];try{const m=await Ce.entities.GalleryImage.list("-year",500);u=[...new Set(m.map(x=>x.year).filter(Boolean))].filter(x=>!d.some(w=>w.year===x)).map(x=>{const w=m.filter(g=>g.year===x).length;return{year:x,title:`${x} National Film Awards`,source:"legacy",count:w}})}catch(m){console.error("GalleryImage fetch failed:",m)}try{const m=await Ce.entities.GalleryItem.list("-year",500);[...new Set(m.map(x=>x.year).filter(Boolean))].forEach(x=>{!d.some(w=>w.year===x)&&!u.some(w=>w.year===x)&&u.push({year:x,title:`${x} National Film Awards`,source:"legacy",count:m.filter(w=>w.year===x).length})})}catch(m){console.error("GalleryItem fetch failed:",m)}const h=[...d,...u].sort((m,p)=>p.year-m.year);t(h)}catch(c){console.error(c),i(c.message||"Failed to load")}finally{n(!1)}})()},[]),a.jsxs("div",{className:"min-h-screen bg-[#0E0E10] pt-20",children:[a.jsx("header",{className:"border-b border-[#C29F0E]/15",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 py-16 text-center",children:[a.jsx(He,{to:"/",className:"text-[#C29F0E] text-xs font-semibold tracking-[0.35em] uppercase mb-3 inline-block",children:"National Film Awards"}),a.jsx("h1",{className:"font-editorial text-5xl md:text-6xl font-bold text-white mb-3",children:"The Gallery"}),a.jsx("p",{className:"text-gray-400 max-w-xl mx-auto",children:"A prestige archive of photography from the National Film Awards â captured by our assigned photographers, organised by year and album section."})]})}),a.jsx("main",{className:"max-w-7xl mx-auto px-4 py-12",children:r?a.jsx("div",{className:"flex justify-center py-20",children:a.jsx(ir,{className:"w-8 h-8 animate-spin text-[#C29F0E]"})}):s?a.jsxs("p",{className:"text-red-400 text-center py-20",children:["Error: ",s]}):e.length===0?a.jsx("p",{className:"text-gray-500 text-center py-20",children:"No galleries published yet."}):a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:e.map(o=>a.jsxs(He,{to:`/gallery/${o.year}`,className:"group relative aspect-[4/3] rounded-2xl overflow-hidden bg-[#1A1A1D] border border-[#C29F0E]/15 hover:border-[#C29F0E]/40 transition-all",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#C29F0E]/10 to-transparent"}),a.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center p-8",children:[a.jsx("p",{className:"text-[#C29F0E] text-xs font-semibold tracking-[0.3em] uppercase mb-2",children:"Awards"}),a.jsx("h2",{className:"font-editorial text-6xl font-bold text-white mb-2",children:o.year}),a.jsx("p",{className:"text-gray-400 text-sm text-center",children:o.title}),o.source==="legacy"&&a.jsx("p",{className:"text-gray-600 text-xs mt-1",children:"Archive Gallery"}),a.jsxs("div",{className:"mt-4 flex items-center gap-2 text-[#C29F0E] text-sm font-semibold opacity-0 group-hover:opacity-100 transition-opacity",children:["View Gallery ",a.jsx(bt,{className:"w-4 h-4"})]})]})]},`${o.source}-${o.year}`))})})]})}function UG(){return a.jsx(JT,{})}const Yx=["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6c0bfa1b8_481453290_3863177027267202_1175996927229100547_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/0eb2e3313_481468649_3863177010600537_7371497541929764589_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/abbba01eb_mondaymotivationtheamazingamandaclapham1presentsatthisyearsprestigiousnationalfilmaw.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/a152e6904_503489597_3953226154928955_7861093215880431672_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/1be0de326_481278082_3863177263933845_4183991051875811933_n.jpg"],EN=["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/ea70f6d3a_494444026_1251915936943603_7920033234429562141_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/8d3ec6c5e_494099037_1253842550084275_9190513571412543830_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/749890af9_GemmaJones.jpg"];
554function IG(){const[e,t]=B.useState(0),[r,n]=B.useState(0),[s,i]=B.useState(null),{data:o}=vt({queryKey:["current-awards-year"],queryFn:async()=>(await Ce.entities.AwardsYear.filter({status:"upcoming"},"-year",1))[0]});return B.useEffect(()=>{const c=setInterval(()=>{t(d=>(d+1)%Yx.length)},4500);return()=>clearInterval(c)},[]),B.useEffect(()=>{const c=setInterval(()=>{n(d=>(d+1)%EN.length)},3500);return()=>clearInterval(c)},[]),a.jsxs("section",{className:"relative min-h-screen pt-[72px] overflow-hidden bg-[#0a0a14]",children:[a.jsxs("div",{className:"absolute inset-0 z-0",children:[a.jsx(Mt,{mode:"wait",children:a.jsx(V.img,{src:Yx[e],alt:"",initial:{opacity:0,scale:1.06},animate:{opacity:1,scale:1},exit:{opacity:0},transition:{duration:1.4},className:"w-full h-full object-cover object-top"},e)}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#0a0a14]/95 via-[#0a0a14]/70 to-[#0a0a14]/20"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0a0a14] via-transparent to-[#0a0a14]/50"})]}),a.jsx("div",{className:"absolute top-[72px] left-0 right-0 h-px bg-gradient-to-r from-transparent via-[#C9A84C]/60 to-transparent z-10"}),a.jsx("div",{className:"relative z-10 max-w-[1700px] mx-auto px-6 lg:px-12 min-h-[calc(100vh-72px)] flex items-center",children:a.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center w-full py-16",children:[a.jsxs(V.div,{initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{duration:.9},children:[a.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[a.jsx("div",{className:"h-px w-12 bg-[#C9A84C]"}),a.jsxs("span",{className:"text-[10px] font-black tracking-[0.4em] uppercase text-[#C9A84C]",children:[(o==null?void 0:o.ceremony_number)||12,"th Annual Edition · 2026"]})]}),a.jsxs("h1",{className:"font-editorial leading-[0.88] mb-8",children:[a.jsx("span",{className:"block text-[4.5rem] sm:text-[6rem] lg:text-[7rem] font-black text-white tracking-tight drop-shadow-2xl",children:"National"}),a.jsx("span",{className:"block text-[4.5rem] sm:text-[6rem] lg:text-[7rem] font-black text-white tracking-tight drop-shadow-2xl",children:"Film"}),a.jsx("span",{className:"block text-[4.5rem] sm:text-[6rem] lg:text-[7rem] font-black tracking-tight",style:{WebkitTextStroke:"2px #C9A84C",color:"transparent",textShadow:"none"},children:"Awards"})]}),a.jsx("p",{className:"text-white/70 text-lg lg:text-xl font-light max-w-md mb-10 leading-relaxed",children:"The world's most prestigious public-voted film ceremony â celebrating cinematic excellence across five continents."}),a.jsx("div",{className:"flex flex-wrap items-center gap-4 mb-14",children:a.jsxs(He,{to:"/winners-2026",className:"group px-8 py-4 bg-[#C9A84C] text-white text-sm font-bold tracking-wider uppercase rounded-full shadow-2xl hover:bg-[#b8941f] transition-all inline-flex items-center gap-3",children:["NFA 2026 - Winners",a.jsx(bt,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]})}),a.jsx("div",{className:"flex gap-3",children:Yx.map((c,d)=>a.jsx("button",{onClick:()=>t(d),className:`relative overflow-hidden rounded-xl transition-all duration-300 ${d===e?"w-16 h-10 ring-2 ring-[#C9A84C]":"w-10 h-10 opacity-50 hover:opacity-80"}`,children:a.jsx("img",{src:c,alt:"",className:"w-full h-full object-cover"})},d))})]}),a.jsxs("div",{className:"relative hidden lg:flex items-center justify-center h-[600px]",children:[a.jsxs(V.div,{initial:{opacity:0,scale:.9,rotate:2},animate:{opacity:1,scale:1,rotate:0},transition:{delay:.4,duration:1},whileHover:{scale:1.03,rotate:-1},className:"absolute top-0 right-0 w-[360px] h-[480px] rounded-3xl overflow-hidden shadow-[0_40px_80px_rgba(0,0,0,0.6)] border border-[#C9A84C]/30 cursor-pointer",children:[a.jsx(Mt,{mode:"wait",children:a.jsx(V.img,{src:EN[r],alt:"",initial:{opacity:0,scale:1.1},animate:{opacity:1,scale:1},exit:{opacity:0},transition:{duration:1},className:"w-full h-full object-cover"},r)}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0a0a14]/60 to-transparent"}),a.jsx("div",{className:"absolute bottom-5 left-5",children:a.jsx("span",{className:"text-white/70 text-[10px] uppercase tracking-widest",children:"Ceremony Moments"})})]}),a.jsxs(V.div,{initial:{opacity:0,x:-40,rotate:-4}
554,animate:{opacity:1,x:0,rotate:-5},transition:{delay:.7,duration:1},whileHover:{rotate:-2,scale:1.05},className:"absolute bottom-10 left-0 w-[260px] h-[340px] rounded-2xl overflow-hidden shadow-2xl border-4 border-white/10 border-[#C9A84C]/20 cursor-pointer",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/95a440e81_497599037_3931837883734449_5209807313219186672_n.jpg",alt:"",className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0a0a14]/70 to-transparent"})]}),a.jsxs(V.div,{initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},transition:{delay:1.2,type:"spring",stiffness:200},className:"absolute top-12 left-8 bg-[#C9A84C] text-white rounded-2xl p-4 shadow-2xl text-center z-20",children:[a.jsx(It,{className:"w-5 h-5 mx-auto mb-1",fill:"white"}),a.jsxs("p",{className:"text-xs font-black tracking-wide uppercase leading-tight",children:["Awards",a.jsx("br",{}),"Season"]}),a.jsx("p",{className:"text-[10px] font-bold opacity-80 mt-1",children:"2026"})]}),a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.4},className:"absolute bottom-28 right-0 bg-[#1a1a2e]/90 backdrop-blur-md border border-[#C9A84C]/30 text-white rounded-2xl px-5 py-3 shadow-xl z-20",children:[a.jsx("p",{className:"text-2xl font-black text-[#C9A84C]",children:"3.9M+"}),a.jsx("p",{className:"text-[10px] text-white/60 uppercase tracking-widest",children:"Votes Cast"})]})]})]})}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-32 bg-gradient-to-t from-[#0a0a14] to-transparent z-10"})]})}function LG(){const{data:e=[]}=vt({queryKey:["news-ticker"],queryFn:()=>Ce.entities.NewsArticle.list("-published_date",10),initialData:[]}),t=e.length>0?e.map(n=>n.title):["11th Annual National Film Awards Celebrates Record 3.9 Million Votes","Alstelle Joins the National Film Awards 2026 as Official Partner","Tempest Car Hire Sponsors NFA South Africa","NFA Short Film Prize â Entries Now Open","National Film Awards UK 2025 Nominations Revealed","Become a Member of the National Film Academy"],r=[...t,...t];return a.jsx("div",{className:"bg-[#0a0a14] border-y border-[#C9A84C]/20 py-3 overflow-hidden",children:a.jsxs("div",{className:"flex items-center",children:[a.jsxs("div",{className:"flex-none flex items-center gap-2 px-4 lg:px-6 border-r border-[#C9A84C]/30 mr-4",children:[a.jsx("div",{className:"w-2 h-2 rounded-full bg-[#e94560] animate-pulse"}),a.jsx(H3,{className:"w-3 h-3 text-[#C9A84C]"}),a.jsx("span",{className:"text-[10px] font-black uppercase tracking-widest text-[#C9A84C] whitespace-nowrap",children:"Latest"})]}),a.jsx("div",{className:"overflow-hidden flex-1",children:a.jsx(V.div,{animate:{x:["0%","-50%"]},transition:{duration:40,repeat:1/0,ease:"linear"},className:"flex gap-12 whitespace-nowrap",children:r.map((n,s)=>a.jsxs("span",{className:"text-white/80 text-sm font-semibold inline-flex items-center gap-4",children:[n,a.jsx("span",{className:"text-[#C9A84C] font-black",children:"·"})]},s))})})]})})}const PG=[{icon:ut,value:"3.9M+",label:"Global Votes Cast",color:"bg-[#C9A84C]"},{icon:Dr,value:"12th",label:"Annual Edition 2026",color:"bg-[#0f3460]"},{icon:Gn,value:"5",label:"Continents Represented",color:"bg-[#e94560]"},{icon:$t,value:"1998",label:"Established",color:"bg-[#533483]"}];function RG(){return a.jsx("section",{className:"py-0 bg-[#FFFEF9]",children:a.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4",children:PG.map((e,t)=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},className:`${e.color} p-10 lg:p-12 flex flex-col justify-between min-h-[200px] group hover:brightness-110 transition-all`,children:[a.jsx(e.icon,{className:"w-10 h-10 text-white/60"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-5xl lg:text-6xl font-editorial font-black text-white mb-2",children:e.value}),a.jsx("p",{className:"text-white/70 text-xs uppercase tracking-widest font-semibold",children:e.label})]})]},t))})})}const MG=[{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/1be0de326_481278082_3863177263933845_4183991051875811933_n.jpg",tall:!0},{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/ea70f6d3a_494444026_1251915936943603_7920033234429562141_n.jpg"},{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/8d3ec6c5e_494099037_1253842550084275_9190513571412543830_n.jpg"},{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/749890af9_GemmaJones.jpg",tall:!0},{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/95a440e81_497599037_3931837883734449_5209807313219186672_n.jpg"},{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/92966c8ec_497461638_3931836257067945_5116001914130461743_n.jpg"},{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/a353c823f_503841034_3953608318224072_5568492226923181665_n.jpg"},{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/28e90c6d3_500887476_3946944412223796_3729955734621019396_n.jpg"},{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/15c15ed09_496632659_3931836803734557_1177846313558204504_n.jpg"},{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/47b4139df_493950850_3917649201819984_8793047601667456918_n.jpg",tall:!0},{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6ef848688_503609747_3953611464890424_3594818089942226113_n.jpg"}];function QG(){return a.jsx("section",{className:"py-24 bg-[#1a1a2e] overflow-hidden",children:a.jsxs("div",{className:"max-w-[1700px] mx-auto px-6 lg:px-12",children:[a.jsxs("div",{className:"flex items-end justify-between mb-12",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.4em] uppercase mb-3",children:"Gallery"}),a.jsxs("h2",{className:"font-editorial text-5xl lg:text-6xl font-black text-white leading-tight",children:["Moments That",a.jsx("br",{}),a.jsx("span",{style:{WebkitTextStroke:"2px #C9A84C",color:"transparent"},children:"Define Us"})]})]}),a.jsxs(He,{to:at("Gallery"),className:"hidden sm:flex items-center gap-2 text-[#C9A84C] font-bold text-sm hover:gap-4 transition-all",children:["Full Gallery ",a.jsx(bt,{className:"w-4 h-4"})]})]}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3",children:MG.map((e,t)=>a.jsxs(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.06},whileHover:{scale:1.03,zIndex:10},className:`relative overflow-hidden rounded-2xl group cursor-pointer ${e.tall?"row-span-2":""}`,children:[a.jsx("div",{className:e.tall?"aspect-[2/3]":"aspect-square",children:a.jsx("img",{src:e.src,alt:"",className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-700"})}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#C9A84C]/60 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"})]},t))})]})})}function TN({year:e}){const t=B.useRef(null),r=GT(t,{once:!0});return a.jsx(V.div,{ref:t,initial:{opacity:0,scale:.5,y:20},animate:r?{opacity:1,scale:1,y:0}:{},transition:{type:"spring",stiffness:180,damping:12,delay:.1},className:"text-5xl lg:text-6xl font-editorial font-black text-[#C9A84C] mb-1 leading-none",children:e})}
554function OG(){const[e,t]=B.useState(!1),r="HurC7WCVvRE",n=`https://img.youtube.com/vi/${r}/maxresdefault.jpg`,s=`https://www.youtube-nocookie.com/embed/${r}?autoplay=1&controls=1&rel=0&playsinline=1`;return a.jsx(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"relative rounded-2xl overflow-hidden group shadow-lg",children:a.jsx("div",{className:"aspect-[4/3] relative bg-black",children:e?a.jsx("iframe",{src:s,className:"w-full h-full absolute inset-0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Johnny Depp â NFA"}):a.jsxs(a.Fragment,{children:[a.jsx("img",{src:n,alt:"Johnny Depp",className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-black/40"}),a.jsx("button",{onClick:()=>t(!0),className:"absolute inset-0 flex items-center justify-center group/play",children:a.jsx("div",{className:"w-20 h-20 rounded-full bg-white/20 backdrop-blur-sm border-2 border-white/60 flex items-center justify-center group-hover/play:scale-110 transition-transform duration-200",children:a.jsx("div",{className:"w-0 h-0 border-t-[14px] border-t-transparent border-l-[24px] border-l-white border-b-[14px] border-b-transparent ml-2"})})}),a.jsxs("div",{className:"absolute bottom-4 left-4 pointer-events-none",children:[a.jsx("div",{className:"text-4xl font-editorial font-black text-[#C9A84C] mb-1 leading-none",children:"2024"}),a.jsx("h3",{className:"font-editorial text-lg font-black text-white",children:"Johnny Depp"}),a.jsx("p",{className:"text-white/60 text-xs",children:"Actor"})]})]})})})}
554function HG(){const[e,t]=B.useState(!1),r="pNGJGPCBKFE",n=`https://img.youtube.com/vi/${r}/maxresdefault.jpg`,s=`https://www.youtube-nocookie.com/embed/${r}?autoplay=1&controls=1&rel=0&playsinline=1`;return a.jsx(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"relative rounded-2xl overflow-hidden group shadow-lg col-span-2",children:a.jsx("div",{className:"aspect-[4/3] relative bg-black",children:e?a.jsx("iframe",{src:s,className:"w-full h-full absolute inset-0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Rowan Atkinson â NFA"}):a.jsxs(a.Fragment,{children:[a.jsx("img",{src:n,alt:"Rowan Atkinson",className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-black/40"}),a.jsx("button",{onClick:()=>t(!0),className:"absolute inset-0 flex items-center justify-center group/play",children:a.jsx("div",{className:"w-20 h-20 rounded-full bg-white/20 backdrop-blur-sm border-2 border-white/60 flex items-center justify-center group-hover/play:scale-110 transition-transform duration-200",children:a.jsx("div",{className:"w-0 h-0 border-t-[14px] border-t-transparent border-l-[24px] border-l-white border-b-[14px] border-b-transparent ml-2"})})}),a.jsxs("div",{className:"absolute bottom-4 left-4 pointer-events-none",children:[a.jsx("div",{className:"text-4xl font-editorial font-black text-[#C9A84C] mb-1 leading-none",children:"2020"}),a.jsx("h3",{className:"font-editorial text-lg font-black text-white",children:"Rowan Atkinson"}),a.jsx("p",{className:"text-white/60 text-xs",children:"Actor & Comedian"})]})]})})})}function VG(){const{data:e=[]}=vt({queryKey:["lifetime-editorial"],queryFn:()=>Ce.entities.LifetimeAchievement.list("-year",6),initialData:[]}),t=e[0],r=e.slice(1,5);return a.jsx("section",{className:"py-24 bg-[#FFFEF9] overflow-hidden",children:a.jsxs("div",{className:"max-w-[1700px] mx-auto px-6 lg:px-12",children:[a.jsxs("div",{className:"flex items-end justify-between mb-12",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.4em] uppercase mb-3",children:"Hall of Fame"}),a.jsxs("h2",{className:"font-editorial text-5xl lg:text-6xl font-black text-[#1A1A1A] leading-tight",children:["Lifetime",a.jsx("br",{}),a.jsx("span",{className:"text-[#C9A84C]",children:"Achievement"})]})]}),a.jsxs(He,{to:at("LifetimeAchievement"),className:"flex items-center gap-2 px-6 py-3 bg-[#1A1A1A] text-white text-xs font-bold tracking-wider uppercase rounded-full hover:bg-[#C9A84C] transition-all group",children:["View Full List ",a.jsx(bt,{className:"w-3.5 h-3.5 group-hover:translate-x-1 transition-transform"})]})]}),a.jsxs("div",{className:"grid lg:grid-cols-[2fr_1fr_1fr] gap-4 auto-rows-auto",children:[t&&a.jsx(V.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"relative row-span-2 rounded-3xl overflow-hidden group cursor-pointer shadow-2xl",children:a.jsxs(He,{to:at("LifetimeAchievementDetail")+`?id=${t.id}`,children:[a.jsx("div",{className:"aspect-[3/4] lg:aspect-auto lg:h-full min-h-[500px]",children:t.hero_image?a.jsx("img",{src:t.hero_image,alt:t.name,className:"w-full h-full object-cover object-center group-hover:scale-105 transition-transform duration-700"}):a.jsx("div",{className:"w-full h-full bg-gradient-to-br from-[#0f3460] to-[#1a1a2e] flex items-center justify-center",children:a.jsx(ut,{className:"w-24 h-24 text-[#C9A84C]/30"})})}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#1A1A1A] via-[#1A1A1A]/40 to-transparent"}),a.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-8",children:[a.jsx(TN,{year:t.year}),a.jsx("div",{className:"inline-flex px-3 py-1.5 bg-[#C9A84C] rounded-full text-white text-[10px] font-black tracking-wider uppercase mb-3",children:"Recipient"}),a.jsx("h3",{className:"font-editorial text-3xl font-black text-white mb-1",children:t.name}),t.role&&a.jsx("p",{className:"text-white/60 text-sm",children:t.role})]})]})}),r.filter(n=>n.name!=="Rowan Atkinson"&&n.name!=="Hugh Grant"&&n.name!=="Johnny Depp").map((n,s)=>a.jsx(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.08},className:"relative rounded-2xl overflow-hidden group cursor-pointer shadow-lg",children:a.jsxs(He,{to:at("LifetimeAchievementDetail")+`?id=${n.id}`,children:[a.jsx("div",{className:"aspect-[4/3]",children:n.hero_image?a.jsx("img",{src:n.hero_image,alt:n.name,className:"w-full h-full object-cover object-top group-hover:scale-105 transition-transform duration-700"}):a.jsx("div",{className:"w-full h-full bg-gradient-to-br from-[#533483] to-[#1a1a2e] flex items-center justify-center",children:a.jsx(ut,{className:"w-12 h-12 text-[#C9A84C]/30"})})}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#1A1A1A]/90 to-transparent"}),a.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-5",children:[a.jsx(TN,{year:n.year}),a.jsx("h3",{className:"font-editorial text-lg font-black text-white",children:n.name}),n.role&&a.jsx("p",{className:"text-white/60 text-xs",children:n.role})]})]})},n.id)),r.some(n=>n.name==="Rowan Atkinson"||n.name==="Hugh Grant")&&a.jsx(HG,{}),r.some(n=>n.name==="Johnny Depp")&&a.jsx(OG,{})]}),a.jsx("div",{className:"mt-8 text-center lg:hidden",children:a.jsxs(He,{to:at("LifetimeAchievement"),className:"inline-flex items-center gap-2 px-8 py-4 bg-[#1A1A1A] text-white font-bold text-sm uppercase tracking-wider rounded-full",children:["View Full List ",a.jsx(bt,{className:"w-4 h-4"})]})})]})})}function KG({year:e}){const t=B.useRef(null),r=GT(t,{once:!0});return a.jsx(V.span,{ref:t,initial:{opacity:0,y:20,scale:.6},animate:r?{opacity:1,y:0,scale:1}:{},transition:{type:"spring",stiffness:200,damping:15},className:"block text-3xl font-editorial font-black text-[#C9A84C] mb-1",children:e})}function GG(){const{data:e=[]}=vt({queryKey:["nfa-icons-section"],queryFn:()=>Ce.entities.NFAIconRecipient.list("-year",12),initialData:[]});return a.jsx("section",{className:"py-24 bg-gradient-to-br from-[#0f3460] via-[#16213e] to-[#0a0a14] overflow-hidden",children:a.jsxs("div",{className:"max-w-[1700px] mx-auto px-6 lg:px-12",children:[a.jsxs(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mb-16 max-w-3xl",children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.4em] uppercase mb-5",children:"Special Recognition"}),a.jsxs("h2",{className:"font-editorial leading-tight mb-6",children:[a.jsx("span",{className:"block text-5xl lg:text-7xl font-black text-white",children:"Here are some of the"}),a.jsx("span",{className:"block text-5xl lg:text-7xl font-black",style:{WebkitTextStroke:"2px #C9A84C",color:"transparent"},children:"Amazing Icons"}),a.jsx("span",{className:"block text-5xl lg:text-7xl font-black text-white",children:"honoured by the Academy"}),a.jsx("span",{className:"block text-3xl lg:text-4xl font-black text-white/50 mt-2",children:"throughout the years"})]}),a.jsx("div",{className:"w-24 h-1 bg-gradient-to-r from-[#C9A84C] to-[#FFD700]"})]}),a.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-4 mb-12",children:e.map((t,r)=>a.jsx(V.div,{initial:{opacity:0,scale:.8,y:30},whileInView:{opacity:1,scale:1,y:0},viewport:{once:!0},transition:{delay:r*.06,type:"spring",stiffness:150},whileHover:{y:-10,scale:1.05},className:"group relative",children:a.jsxs("div",{className:"relative rounded-2xl overflow-hidden shadow-xl border border-[#C9A84C]/20 bg-white/5",children:[a.jsx("div",{className:"aspect-[3/4]",children:t.hero_image?a.jsx("img",{src:t.hero_image,alt:t.name,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-700"}):a.jsx("div",{className:"w-full h-full bg-gradient-to-br from-[#533483] to-[#1a1a2e] flex items-center justify-center",children:a.jsx(ut,{className:"w-10 h-10 text-[#C9A84C]/40"})})}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/90 via-black/20 to-transparent"}),a.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-3",children:[a.jsx(KG,{year:t.year}),a.jsx("h3",{className:"font-editorial text-sm font-black text-white leading-tight",children:t.name}),t.role&&a.jsx("p",{className:"text-white/50 text-[9px] mt-0.5",children:t.role})]})]})},t.id))}),a.jsx(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center",children:a.jsxs(He,{to:at("Winners"),className:"inline-flex items-center gap-3 px-8 py-4 border-2 border-[#C9A84C] text-[#C9A84C] font-bold text-sm tracking-wider up
554percase rounded-full hover:bg-[#C9A84C] hover:text-white transition-all",children:["View All Icon Recipients ",a.jsx(bt,{className:"w-4 h-4"})]})})]})})}function WG(){const e=[{id:"1",person_name:"Kate Beckinsale",category:"Best Actress",year:2022,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/83200a7c4_katebeckinsale-right.jpg"},{id:"2",person_name:"Ben Miller",category:"Best Actor in a TV Series",year:2023,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/a841c1390_ben2.jpg"},{id:"3",person_name:"Mathew Horne",category:"Best Supporting Actor",year:2022,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/0f89231e3_mathew-horne-original.jpg"},{id:"4",person_name:"Taron Egerton",category:"Best Actor",year:2023,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/3ea9beed7_TaronEgerton.jpg"},{id:"5",person_name:"Rupert Everett",category:"Best Actor",year:2019,image:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/4fb72c4f1_rupert.jpg"},{id:"6",person_name:"Daniel Kaluuya",category:"Best Newcomer",year:2018,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/197784a6b_danielkaluya2.jpg"},{id:"7",person_name:"Ricky Gervais",category:"Best Comedy",year:2017,image:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/60e65c8ed_Ricky-Gervais-01.jpg"},{id:"8",person_name:"Terry Pheto",category:"Best Supporting Actress",year:2017,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/52dd2466e_terrypheto.jpeg"},{id:"9",person_name:"Jennifer Metcalfe",category:"Best Actress in a TV Series",year:2023,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/b733ec2fc_jennifer2.jpg"}];return a.jsx("section",{className:"py-24 bg-[#f8f6f1] overflow-hidden",children:a.jsxs("div",{className:"max-w-[1700px] mx-auto px-6 lg:px-12",children:[a.jsxs("div",{className:"flex items-end justify-between mb-12",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("p",{className:"text-[#C9A84C] text-xl lg:text-2xl font-black tracking-[0.4em] uppercase mb-3",children:"Past Academy"}),a.jsx("h2",{className:"font-editorial text-5xl lg:text-6xl font-black text-[#1A1A1A] leading-tight",children:a.jsx("span",{className:"text-[#C9A84C]",children:"Winners"})})]}),a.jsxs(He,{to:at("Winners"),className:"hidden sm:flex items-center gap-2 text-[#C9A84C] font-bold text-sm hover:gap-4 transition-all",children:["All Winners ",a.jsx(bt,{className:"w-4 h-4"})]})]}),a.jsx("div",{className:"flex gap-5 overflow-x-auto pb-4 snap-x snap-mandatory scrollbar-none",children:e.map((t,r)=>a.jsxs(V.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:r*.06},className:"flex-none w-52 snap-start group",children:[a.jsxs("div",{className:"relative rounded-2xl overflow-hidden shadow-lg bg-white mb-4",children:[a.jsx("div",{className:"aspect-[3/4]",children:t.image?a.jsx("img",{src:t.image,alt:t.person_name,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"}):a.jsx("div",{className:"w-full h-full bg-gradient-to-br from-[#f8f6f1] to-[#e8d5a0] flex items-center justify-center",children:a.jsx(ut,{className:"w-12 h-12 text-[#C9A84C]/40"})})}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#1A1A1A]/80 to-transparent opacity-0 group-hover:opacity-100 transition-opacity"}),a.jsx("div",{className:"absolute top-3 right-3",children:a.jsx("div",{className:"w-9 h-9 rounded-full bg-[#C9A84C] flex items-center justify-center shadow-lg",children:a.jsx(ut,{className:"w-4 h-4 text-white"})})})]}),a.jsx("p",{className:"text-sm font-bold text-[#1A1A1A] group-hover:text-[#C9A84C] transition-colors truncate",children:t.person_name||t.title}),a.jsx("p",{className:"text-[#C9A84C] text-xs font-semibold uppercase tracking-wider truncate",children:t.category}),a.jsx("p",{className:"text-[#8A8578] text-xs",children:t.year})]},t.id))})]})})}const kN=[{id:"pr-nominations-2026",title:"12th Annual NFA 2026 â Full Nominations Revealed",category:"Nomination News",date:"May 4, 2026",image:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/12716a33a_503609375_3953610361557201_1552236414844032115_n.jpg",excerpt:"Over 1 million public submissions. 28 categories. Public voting opens â 4 May through 27 June 2026. Discover every nominee across film and television.",customLink:"/nominations-2026"},{id:"pr-leger-holidays-2026",title:"Leger Holidays Returns as Official Sponsor of the Best British Film Category at NFA 2026",category:"Sponsor Announcements",date:"April 7, 2026",image:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/ef488e0f6_luxuria-coach-in-tuscany-39683.jpg",excerpt:"The UK's leading escorted holiday provider returns for a third consecutive year as Official Sponsor of the Best British Film category at the 12th Annual National Film Awards.",customLink:"/leger-holidays-2026"},{id:"pr-monday-republic-2026",title:"MondayRepublic.com Announced as Gold Sponsor of the 12th Annual National Film Awards 2026",category:"Sponsor Announcements",date:"March 2, 2026",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/1faad09ae_MondayRepublic.png",excerpt:"Dynamic global marketplace MondayRepublic.com joins as Gold Sponsor â empowering brands to buy, sell, connect and scale within a trusted commercial ecosystem at the 12th Annual NFA 2026.",slug:"monday-republic"},{id:"pr-dechavel-2026",title:"Dechavel Named Platinum Partner of the 12th Annual National Film Awards 2026",category:"Sponsor Announcements",date:"January 15, 2026",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/a4bd36d5c_Dechaveleleganceincreamandgold.png",excerpt:"Distinguished luxury fashion house Dechavel becomes the first Platinum Partner of the 12th Annual National Film Awards, set for 1 July 2026.",slug:"dechavel"},{id:"pr-alstelle-2026",title:"Alstelle Joins the National Film Awards 2026 as Official Bronze Category Sponsor",category:"Sponsor Announcements",date:"December 29, 2025",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/3b18b5faf_Alstelle_Photo99_071025.jpg",excerpt:"Clean luxury beauty brand Alstelle brings its ritual-based philosophy to cinema's most celebrated stage as Official Bronze Category Sponsor.",slug:"alstelle"},{id:"pr-imean-2026",title:"IMEAN BEAUTY Returns as Official Bronze Sponsor for Second Consecutive Year",category:"Sponsor Announcements",date:"December 20, 2025",image:"https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=800&q=80",excerpt:"High-performance clean skincare brand IMEAN BEAUTY confirms its return as Official Bronze Category Sponsor of the 12th Annual NFA 2026.",slug:"imean-beauty"},{id:"ceremony-2025",title:"NFA 2025 Celebrates Record 3.9 Million Public Votes at 11th Annual Ceremony",category:"Ceremony Reports",date:"July 10, 2025",image:"https://images.unsplash.com/photo-1594909122845-11baa439b7bf?w=800&q=80",excerpt:"Danny Dyer, Emma Thompson and Stephanie Beacham lead a glamorous night of wins at the most-attended ceremony in NFA history."},{id:"nom-2025",title:"11th Annual NFA 2025 â Full Nominations Revealed",category:"Nomination News",date:"June 12, 2025",image:"https://images.unsplash.com/photo-1478720568477-152d9b164e26?w=800&q=80",excerpt:"Public voting is now open for the 11th Annual National Film Awards UK. Discover who has been nominated across all categories."},{id:"icon-award-2025",title:"Top 11 Iconic Moments from 11 Years of the National Film Awards UK",category:"Academy News",date:"May 19, 2025",image:"https://images.unsplash.com/photo-1594909122845-11baa439b7bf?w=800&q=80",excerpt:"From Dame Judi Dench to Samuel L. Jackson â a look back at the moments that defined a decade of cinematic celebration at the NFA."}],Ob={"Sponsor Announcements":"#C9A84C","Nomination News":"#0066CC","Ceremony Reports":"#E91E63","Academy News":"#2D5A27","Media Coverage":"#8B6B9D","Press Releases":"#E63946"};function zG({article:e,onClose:t}){if(!e)return null;const r=Ob[e.category]||"#C9A84C";return a.jsx(Mt,{children:a.jsx(V.div,{initial:{opacity:0}
554,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/60 backdrop-blur-sm z-50 flex items-center justify-center p-4",onClick:t,children:a.jsxs(V.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95},className:"bg-white rounded-3xl max-w-xl w-full overflow-hidden shadow-2xl",onClick:n=>n.stopPropagation(),children:[a.jsxs("div",{className:"relative h-56 overflow-hidden",children:[a.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent"}),a.jsx("button",{onClick:t,className:"absolute top-4 right-4 w-8 h-8 rounded-full bg-white/20 backdrop-blur-sm flex items-center justify-center hover:bg-white/40 transition-all",children:a.jsx(tr,{className:"w-4 h-4 text-white"})}),a.jsx("div",{className:"absolute bottom-4 left-5",children:a.jsx("span",{className:"px-3 py-1 text-white text-[10px] font-black uppercase tracking-wider rounded-full",style:{backgroundColor:r},children:e.category})})]}),a.jsxs("div",{className:"p-8",children:[a.jsxs("div",{className:"flex items-center gap-2 text-[#8A8578] text-xs mb-3",children:[a.jsx(Qt,{className:"w-3.5 h-3.5"}),e.date]}),a.jsx("h2",{className:"font-editorial text-2xl font-bold text-[#1A1A1A] mb-4 leading-tight",children:e.title}),a.jsx("p",{className:"text-[#5A5A5A] leading-relaxed text-sm mb-6",children:e.excerpt}),a.jsxs(He,{to:at("Newsroom"),className:"inline-flex items-center gap-2 text-[#C9A84C] font-bold text-sm hover:gap-3 transition-all",children:["View in Newsroom ",a.jsx(bt,{className:"w-4 h-4"})]})]})]})})})}
554function JG(){const[e,t]=B.useState(null),r=kN[0],n=kN.slice(1,4),s=i=>{i.customLink?window.location.href=i.customLink:i.slug?window.location.href=at(`SponsorArticle?sponsor=${i.slug}`):t(i)};return a.jsxs("section",{className:"py-24 bg-[#FFFEF9]",children:[a.jsxs("div",{className:"max-w-[1700px] mx-auto px-6 lg:px-12",children:[a.jsxs("div",{className:"flex items-end justify-between mb-12",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.4em] uppercase mb-3",children:"Latest"}),a.jsx("h2",{className:"font-editorial text-5xl lg:text-6xl font-black text-[#1A1A1A] leading-tight",children:"Newsroom"})]}),a.jsxs(He,{to:at("Newsroom"),className:"hidden sm:flex items-center gap-2 text-[#C9A84C] font-bold text-sm hover:gap-4 transition-all",children:["All News ",a.jsx(bt,{className:"w-4 h-4"})]})]}),a.jsxs("div",{className:"grid lg:grid-cols-[1.6fr_1fr] gap-6",children:[r&&a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"group cursor-pointer",onClick:()=>s(r),children:[a.jsxs("div",{className:"relative rounded-3xl overflow-hidden shadow-2xl mb-5",children:[a.jsx("div",{className:"aspect-video",children:a.jsx("img",{src:r.image,alt:r.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"})}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#1A1A1A]/70 to-transparent"}),a.jsx("div",{className:"absolute top-5 left-5",children:a.jsx("span",{className:"px-4 py-2 text-white text-[10px] font-black tracking-wider uppercase rounded-full",style:{backgroundColor:Ob[r.category]||"#C9A84C"},children:r.category})}),a.jsx("div",{className:"absolute top-5 right-5",children:a.jsx("span",{className:"px-3 py-1.5 bg-[#C9A84C] text-black text-[9px] font-black tracking-wider uppercase rounded-full",children:"New"})})]}),a.jsx("h3",{className:"font-editorial text-3xl lg:text-4xl font-black text-[#1A1A1A] group-hover:text-[#C9A84C] transition-colors leading-tight mb-3",children:r.title}),r.excerpt&&a.jsx("p",{className:"text-[#5A5A5A] text-base leading-relaxed line-clamp-2",children:r.excerpt}),a.jsxs("div",{className:"flex items-center gap-2 mt-3 text-[#8A8578] text-xs",children:[a.jsx(Qt,{className:"w-3.5 h-3.5"})," ",r.date]})]}),a.jsx("div",{className:"flex flex-col gap-5",children:n.map((i,o)=>a.jsx(V.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:o*.08},className:"group border-b border-[#C9A84C]/10 pb-5 last:border-0 cursor-pointer",onClick:()=>s(i),children:a.jsxs("div",{className:"flex gap-4 items-start",children:[a.jsx("div",{className:"flex-none w-24 h-20 rounded-xl overflow-hidden",children:a.jsx("img",{src:i.image,alt:i.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"})}),a.jsxs("div",{className:"flex-1 min-w-0",children:[a.jsx("span",{className:"text-[10px] font-black tracking-wider uppercase",style:{color:Ob[i.category]||"#C9A84C"},children:i.category}),a.jsx("h4",{className:"font-editorial text-lg font-black text-[#1A1A1A] group-hover:text-[#C9A84C] transition-colors leading-snug line-clamp-2 mt-1",children:i.title}),a.jsxs("div",{className:"flex items-center gap-1 mt-2 text-[#8A8578] text-xs",children:[a.jsx(Qt,{className:"w-3 h-3"})," ",i.date]})]})]})},i.id))})]})]}),a.jsx(zG,{article:e,onClose:()=>t(null)})]})}const qG=[{id:"pr-leger-holidays-2026",title:"Leger Holidays Returns as Official Sponsor of the Best British Film Category at NFA 2026",category:"Sponsor News",date:"April 7, 2026",image:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/ef488e0f6_luxuria-coach-in-tuscany-39683.jpg",excerpt:"The UK's leading escorted holiday provider returns for a third consecutive year as Official Sponsor of the Best British Film category at the 12th Annual National Film Awards.",customLink:"/leger-holidays-2026"},{id:"pr-monday-republic-2026",title:"MondayRepublic.com Announced as Gold Sponsor of the 12th Annual National Film Awards 2026",category:"Sponsor News",date:"March 2, 2026",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/1faad09ae_MondayRepublic.png",excerpt:"Dynamic global marketplace MondayRepublic.com joins as Gold Sponsor â empowering brands to buy, sell, connect and scale.",slug:"monday-republic"},{id:"pr-dechavel-2026",title:"Dechavel Named Platinum Partner of the 12th Annual National Film Awards 2026",category:"Sponsor News",date:"January 15, 2026",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/a4bd36d5c_Dechaveleleganceincreamandgold.png",excerpt:"Distinguished luxury fashion house Dechavel becomes the first Platinum Partner of the 12th Annual National Film Awards 2026.",slug:"dechavel"},{id:"pr-alstelle-2026",title:"Alstelle Joins the National Film Awards 2026 as Official Bronze Category Sponsor",category:"Sponsor News",date:"December 29, 2025",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/3b18b5faf_Alstelle_Photo99_071025.jpg",excerpt:"Clean luxury beauty brand Alstelle brings its ritual-based philosophy to cinema's most celebrated stage.",slug:"alstelle"}];function $G(){return a.jsx("section",{className:"py-24 bg-[#f8f6f1]",children:a.jsxs("div",{className:"max-w-[1700px] mx-auto px-6 lg:px-12",children:[a.jsxs("div",{className:"flex items-end justify-between mb-12",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.4em] uppercase mb-3",children:"Partners & Sponsors"}),a.jsxs("h2",{className:"font-editorial text-5xl lg:text-6xl font-black text-[#1A1A1A] leading-tight",children:["Sponsor ",a.jsx("span",{className:"text-[#C9A84C]",children:"News"})]})]}),a.jsxs(He,{to:at("Sponsors"),className:"hidden sm:flex items-center gap-2 text-[#C9A84C] font-bold text-sm hover:gap-4 transition-all",children:["Become a Sponsor ",a.jsx(bt,{className:"w-4 h-4"})]})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:qG.map((e,t)=>a.jsx(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},children:a.jsxs(He,{to:e.customLink||at(`SponsorArticle?sponsor=${e.slug}`),className:"group bg-white rounded-2xl overflow-hidden shadow-lg border border-[#C9A84C]/10 hover:shadow-xl hover:border-[#C9A84C]/40 transition-all block",children:[a.jsxs("div",{className:"aspect-video overflow-hidden bg-[#111] relative",children:[a.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500 group-hover:brightness-110"}),a.jsx("div",{className:"absolute top-3 left-3",children:a.jsx("span",{className:"px-3 py-1 bg-[#C9A84C] text-black text-[9px] font-black uppercase tracking-wider rounded-full",children:e.category})})]}),a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"font-editorial text-xl font-black text-[#1A1A1A] mt-2 mb-3 group-hover:text-[#C9A84C] transition-colors leading-tight line-clamp-2",children:e.title}),a.jsx("p",{className:"text-[#5A5A5A] text-sm leading-relaxed line-clamp-2",children:e.excerpt}),a.jsxs("div",{className:"flex items-center justify-between mt-4",children:[a.jsxs("div",{className:"flex items-center gap-1 text-[#8A8578] text-xs",children:[a.jsx(Qt,{className:"w-3 h-3"})," ",e.date]}),a.jsxs("span",{className:"inline-flex items-center gap-1 text-[#C9A84C] text-xs font-bold group-hover:gap-2 transition-all",children:["Read Story ",a.jsx(bt,{className:"w-3 h-3"})]})]})]})]})},e.id))})]})})}const Xx=[{quote:"Being recognised by the National Film Awards is something I'll always treasure. The British public's support means everything.",name:"Stephanie Beacham",role:"Actress · NFA 2025 Lifetime Achievement Recipient",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/0dc32ffff_CelebratingsuccessattheNationalFilmAwards.png"},{quote:"The National Film Awards is one of the most respected ceremonies in the industry. To be honoured here, voted for by the public, is truly special.",name:"Johnny Depp",role:"Actor · NFA 2024 Lifetime Achievement Recipient",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6435493a0_JohnnyDeppattheNationalFilmAwards.png"},{quote:"The NFA celebrates the very best of British cinema. It's a night that every filmmaker aspires to be part of.",name:"Hugh Grant",role:"Actor · NFA 2023 Lifetime Achievement Recipient",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/57a342b7c_HughGrantattheNationalFilmAwards.png"},{quote:"To be part of the National Film Awards is an incredible honour. This ceremony truly celebrates the heart of British entertainment.",name:"Anita Dobson",role:"Actress · NFA 2022 Lifetime Achievement Recipient",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/145d12f74_482031893_3863176943933877_55323297900475427_n.jpg"}];
554function YG(){const[e,t]=B.useState(0),[r,n]=B.useState(1);B.useEffect(()=>{const o=setInterval(()=>{n(1),t(c=>(c+1)%Xx.length)},5e3);return()=>clearInterval(o)},[]);const s=o=>{n(o>e?1:-1),t(o)},i=Xx[e];return a.jsxs("div",{className:"relative max-w-4xl mx-auto",children:[a.jsxs(V.div,{initial:{opacity:0,x:r*60},animate:{opacity:1,x:0},exit:{opacity:0,x:-r*60},transition:{duration:.5},className:"flex flex-col sm:flex-row items-center gap-8 bg-white/5 border border-[#C9A84C]/20 rounded-3xl p-8 lg:p-10",children:[a.jsx("div",{className:"flex-none w-24 h-24 sm:w-32 sm:h-32 rounded-2xl overflow-hidden border-4 border-[#C9A84C]/30 shadow-2xl",children:a.jsx("img",{src:i.image,alt:i.name,className:"w-full h-full object-cover object-top"})}),a.jsxs("div",{className:"flex-1 text-center sm:text-left",children:[a.jsx("p",{className:"text-3xl text-[#C9A84C] font-editorial mb-3",children:'"'}),a.jsxs("p",{className:"text-white/80 text-lg leading-relaxed italic mb-4",children:['"',i.quote,'"']}),a.jsx("p",{className:"text-[#C9A84C] font-black text-base",children:i.name}),a.jsx("p",{className:"text-white/40 text-xs uppercase tracking-widest mt-1",children:i.role})]})]},e),a.jsx("div",{className:"flex justify-center gap-2 mt-6",children:Xx.map((o,c)=>a.jsx("button",{onClick:()=>s(c),className:`rounded-full transition-all duration-300 ${c===e?"w-6 h-2 bg-[#C9A84C]":"w-2 h-2 bg-white/20"}`},c))})]})}function XG(){const{data:e=[]}=vt({queryKey:["sponsors-editorial"],queryFn:()=>Ce.entities.Sponsor.filter({is_current:!0},"tier",12),initialData:[]}),t=[...e,...e];return a.jsx("section",{className:"py-24 bg-[#0a0a14] overflow-hidden",children:a.jsxs("div",{className:"max-w-[1700px] mx-auto px-6 lg:px-12",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.4em] uppercase mb-4",children:"Partners & Sponsors"}),a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-black text-white mb-2",children:"Celebrated with the World's Finest"}),a.jsxs(He,{to:at("Sponsors"),className:"inline-flex items-center gap-2 text-[#C9A84C] text-sm font-bold mt-4 hover:gap-4 transition-all",children:["View All Sponsors ",a.jsx(bt,{className:"w-4 h-4"})]})]}),e.length>0?a.jsx("div",{className:"overflow-hidden mb-20",children:a.jsx(V.div,{animate:{x:["0%","-50%"]},transition:{duration:30,repeat:1/0,ease:"linear"},className:"flex gap-6 w-max",children:t.map((r,n)=>a.jsx("div",{className:"flex-none bg-white/5 border border-white/10 hover:border-[#C9A84C]/40 rounded-2xl px-8 py-5 flex items-center justify-center min-w-[180px] h-20 transition-all hover:bg-white/10",children:r.logo_url?a.jsx("img",{src:r.logo_url,alt:r.name,className:"max-h-10 max-w-[150px] object-contain opacity-60 hover:opacity-100 transition-opacity"}):a.jsx("p",{className:"text-white/50 font-bold text-sm text-center",children:r.name})},n))})}):a.jsx("div",{className:"flex flex-wrap justify-center gap-4 mb-20",children:["Alstelle","Tempest Car Hire","Dechavel"].map((r,n)=>a.jsx("div",{className:"bg-white/5 border border-white/10 rounded-2xl px-8 py-5 min-w-[160px] h-16 flex items-center justify-center",children:a.jsx("p",{className:"text-white/40 font-bold text-sm",children:r})},n))}),a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.4em] uppercase mb-4",children:"Voices of the Industry"}),a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-black text-white",children:"What They Say"})]}),a.jsx(YG,{})]})})}const ZG=`https://images.weserv.nl/?url=${encodeURIComponent("base44.app/api/apps/699ba2407533cd3b00af8c87/files/mp/public/699ba2407533cd3b00af8c87/da7b45a2a_IMG_2856.jpg")}&w=1200&output=jpg&q=75`;function eW(){const e=Lo();return a.jsx("section",{className:"py-20 bg-[#FFFEF9]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-12",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"flex items-end justify-between mb-12",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.4em] uppercase mb-3",children:"Latest Announcement"}),a.jsxs("h2",{className:"font-editorial text-5xl lg:text-6xl font-black text-[#1A1A1A] leading-tight",children:["Winners ",a.jsx("span",{className:"text-[#C9A84C]",children:"Revealed"})]})]}),a.jsxs("button",{onClick:()=>e("/winners-2026"),className:"hidden sm:flex items-center gap-2 text-[#C9A84C] font-bold text-sm hover:gap-4 transition-all",children:["Full Press Release ",a.jsx(bt,{className:"w-4 h-4"})]})]}),a.jsx(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},children:a.jsx("div",{onClick:()=>e("/winners-2026"),className:"group block relative rounded-3xl overflow-hidden shadow-2xl cursor-pointer",children:a.jsxs("div",{className:"relative h-[480px] sm:h-[580px] lg:h-[640px] overflow-hidden",children:[a.jsx("img",{src:ZG,alt:"National Film Awards 2026 Winners",className:"w-full h-full object-cover object-top group-hover:scale-[1.02] transition-transform duration-700"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0D0A04] via-[#0D0A04]/50 to-transparent"}),a.jsxs("div",{className:"absolute top-6 left-6 flex gap-3",children:[a.jsx("span",{className:"px-4 py-1.5 bg-[#D4AF37] text-white text-[10px] font-black uppercase tracking-[0.25em] rounded-full",children:"For Immediate Release"}),a.jsx("span",{className:"px-4 py-1.5 bg-white/15 backdrop-blur-sm text-white text-[10px] font-black uppercase tracking-[0.25em] rounded-full border border-white/20",children:"2 July 2026"})]}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 p-8 sm:p-12",children:a.jsxs("div",{className:"max-w-3xl",children:[a.jsx("p",{className:"text-[#D4AF37] text-xs font-black tracking-[0.3em] uppercase mb-3",children:"Winners · 12th Annual National Film Awards"}),a.jsxs("h3",{className:"font-editorial text-3xl sm:text-4xl lg:text-5xl font-bold text-white leading-[1.1] mb-4",children:["Winners of the 12th Annual",a.jsx("br",{}),a.jsx("em",{className:"not-italic text-[#D4AF37]",children:"National Film Awards 2026"})]}),a.jsx("p",{className:"text-white/80 text-lg font-light leading-relaxed mb-6 max-w-2xl",children:"A record-breaking 2.7 million public votes. 28 categories. Hosted by Cait King at Porchester Hall, broadcast live on Channel One TV. See every winner in full."}),a.jsxs("div",{className:"flex flex-wrap gap-4 items-center",children:[a.jsxs("span",{className:"inline-flex items-center gap-2 px-6 py-3 bg-[#D4AF37] text-white text-sm font-bold tracking-wide rounded-sm group-hover:bg-[#B8941F] transition-colors",children:[a.jsx(Kn,{className:"w-4 h-4"})," See All Winners"]}),a.jsxs("span",{className:"flex items-center gap-2 text-white/60 text-sm",children:[a.jsx(ci,{className:"w-4 h-4"})," Live on Channel One TV"]}),a.jsxs("span",{className:"flex items-center gap-2 text-white/60 text-sm",children:[a.jsx(Qt,{className:"w-4 h-4"})," 1 July 2026 · Porchester Hall, London"]})]})]})})]})})}),a.jsx(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.2},className:"grid grid-cols-2 sm:grid-cols-4 gap-4 mt-6",children:[{value:"2.7M",label:"Public Votes"},{value:"28",label:"Categories Won"},{value:"12th",label:"Annual Edition"},{value:"1 Jul",label:"Ceremony Night"}].map(({value:t,label:r})=>
vendor: 17,172 bytes, line 554
554a.jsxs("div",{className:"bg-[#F8F6F1] border border-[#E8D9B0] rounded-2xl p-5 text-center",children:[a.jsx("p",{className:"font-editorial text-3xl font-bold text-[#D4AF37] mb-1",children:t}),a.jsx("p",{className:"text-xs font-bold tracking-[0.2em] uppercase text-[#6B5A3A]",children:r})]},r))})]})})}function tW(){return a.jsxs("div",{className:"overflow-x-hidden",children:[a.jsx(IG,{}),a.jsx(LG,{}),a.jsx(eW,{}),a.jsx(RG,{}),a.jsx(VG,{}),a.jsx(QG,{}),a.jsx(GG,{}),a.jsx(WG,{}),a.jsx(JG,{}),a.jsx($G,{}),a.jsx(XG,{})]})}function _N(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function ch(...e){return t=>{let r=!1;const n=e.map(s=>{const i=_N(s,t);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():_N(e[s],null)}}}}function sn(...e){return B.useCallback(ch(...e),e)}var rW=Symbol.for("react.lazy"),cp=Hp[" use ".trim().toString()];function nW(e){return typeof e=="object"&&e!==null&&"then"in e}function qT(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===rW&&"_payload"in e&&nW(e._payload)}function aW(e){const t=iW(e),r=B.forwardRef((n,s)=>{let{children:i,...o}=n;qT(i)&&typeof cp=="function"&&(i=cp(i._payload));const c=B.Children.toArray(i),d=c.find(lW);if(d){const u=d.props.children,h=c.map(m=>m===d?B.Children.count(u)>1?B.Children.only(null):B.isValidElement(u)?u.props.children:null:m);return a.jsx(t,{...o,ref:s,children:B.isValidElement(u)?B.cloneElement(u,void 0,h):null})}return a.jsx(t,{...o,ref:s,children:i})});return r.displayName=`${e}.Slot`,r}var sW=aW("Slot");function iW(e){const t=B.forwardRef((r,n)=>{let{children:s,...i}=r;if(qT(s)&&typeof cp=="function"&&(s=cp(s._payload)),B.isValidElement(s)){const o=AW(s),c=cW(i,s.props);return s.type!==B.Fragment&&(c.ref=n?ch(n,o):o),B.cloneElement(s,c)}return B.Children.count(s)>1?B.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var oW=Symbol("radix.slottable");function lW(e){return B.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===oW}function cW(e,t){const r={...t};for(const n in t){const s=e[n],i=t[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...c)=>{const d=i(...c);return s(...c),d}:s&&(r[n]=s):n==="style"?r[n]={...s,...i}:n==="className"&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...e,...r}}function AW(e){var n,s;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const dW=j3("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Zt=B.forwardRef(({className:e,variant:t,size:r,asChild:n=!1,...s},i)=>{const o=n?sW:"button";return a.jsx(o,{className:yn(dW({variant:t,size:r,className:e})),ref:i,...s})});Zt.displayName="Button";function DN(e,[t,r]){return Math.min(r,Math.max(t,e))}function wr(e,t,{checkForDefaultPrevented:r=!0}={}){return function(s){if(e==null||e(s),r===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function M1(e,t=[]){let r=[];function n(i,o){const c=B.createContext(o),d=r.length;r=[...r,o];const u=m=>{var v;const{scope:p,children:x,...w}=m,g=((v=p==null?void 0:p[e])==null?void 0:v[d])||c,b=B.useMemo(()=>w,Object.values(w));return a.jsx(g.Provider,{value:b,children:x})};u.displayName=i+"Provider";function h(m,p){var g;const x=((g=p==null?void 0:p[e])==null?void 0:g[d])||c,w=B.useContext(x);if(w)return w;if(o!==void 0)return o;throw new Error(`\`${m}\` must be used within \`${i}\``)}return[u,h]}const s=()=>{const i=r.map(o=>B.createContext(o));return function(c){const d=(c==null?void 0:c[e])||i;return B.useMemo(()=>({[`__scope${e}`]:{...c,[e]:d}}),[c,d])}};return s.scopeName=e,[n,uW(s,...t)]}function uW(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const o=n.reduce((c,{useScope:d,scopeName:u})=>{const m=d(i)[`__scope${u}`];return{...c,...m}},{});return B.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}function UN(e){const t=hW(e),r=B.forwardRef((n,s)=>{const{children:i,...o}=n,c=B.Children.toArray(i),d=c.find(mW);if(d){const u=d.props.children,h=c.map(m=>m===d?B.Children.count(u)>1?B.Children.only(null):B.isValidElement(u)?u.props.children:null:m);return a.jsx(t,{...o,ref:s,children:B.isValidElement(u)?B.cloneElement(u,void 0,h):null})}return a.jsx(t,{...o,ref:s,children:i})});return r.displayName=`${e}.Slot`,r}function hW(e){const t=B.forwardRef((r,n)=>{const{children:s,...i}=r;if(B.isValidElement(s)){const o=gW(s),c=pW(i,s.props);return s.type!==B.Fragment&&(c.ref=n?ch(n,o):o),B.cloneElement(s,c)}return B.Children.count(s)>1?B.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var fW=Symbol("radix.slottable");function mW(e){return B.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===fW}function pW(e,t){const r={...t};for(const n in t){const s=e[n],i=t[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...c)=>{const d=i(...c);return s(...c),d}:s&&(r[n]=s):n==="style"?r[n]={...s,...i}:n==="className"&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...e,...r}}function gW(e){var n,s;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function xW(e){const t=e+"CollectionProvider",[r,n]=M1(t),[s,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),o=g=>{const{scope:b,children:v}=g,N=Pt.useRef(null),F=Pt.useRef(new Map).current;return a.jsx(s,{scope:b,itemMap:F,collectionRef:N,children:v})};o.displayName=t;const c=e+"CollectionSlot",d=UN(c),u=Pt.forwardRef((g,b)=>{const{scope:v,children:N}=g,F=i(c,v),S=sn(b,F.collectionRef);return a.jsx(d,{ref:S,children:N})});u.displayName=c;const h=e+"CollectionItemSlot",m="data-radix-collection-item",p=UN(h),x=Pt.forwardRef((g,b)=>{const{scope:v,children:N,...F}=g,S=Pt.useRef(null),E=sn(b,S),D=i(h,v);return Pt.useEffect(()=>(D.itemMap.set(S,{ref:S,...F}),()=>void D.itemMap.delete(S))),a.jsx(p,{[m]:"",ref:E,children:N})});x.displayName=h;function w(g){const b=i(e+"CollectionConsumer",g);return Pt.useCallback(()=>{const N=b.collectionRef.current;if(!N)return[];const F=Array.from(N.querySelectorAll(`[${m}]`));return Array.from(b.itemMap.values()).sort((D,T)=>F.indexOf(D.ref.current)-F.indexOf(T.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:o,Slot:u,ItemSlot:x},w,n]}var yW=B.createContext(void 0);function bW(e){const t=B.useContext(yW);return e||t||"ltr"}function wW(e){const t=vW(e),r=B.forwardRef((n,s)=>{const{children:i,...o}=n,c=B.Children.toArray(i),d=c.find(BW);if(d){const u=d.props.children,h=c.map(m=>m===d?B.Children.count(u)>1?B.Children.only(null):B.isValidElement(u)?u.props.children:null:m);return a.jsx(t,{...o,ref:s,children:B.isValidElement(u)?B.cloneElement(u,void 0,h):null})}return a.jsx(t,{...o,ref:s,children:i})});return r.displayName=`${e}.Slot`,r}function vW(e){const t=B.forwardRef((r,n)=>{const{children:s,...i}=r;if(B.isValidElement(s)){const o=FW(s),c=NW(i,s.props);return s.type!==B.Fragment&&(c.ref=n?ch(n,o):o),B.cloneElement(s,c)}return B.Children.count(s)>1?B.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var CW=Symbol("radix.slottable");function BW(e){return B.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===CW}function NW(e,t){const r={...t};for(const n in t){const s=e[n],i=t[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...c)=>{const d=i(...c);return s(...c),d}:s&&(r[n]=s):n==="style"?r[n]={...s,...i}:n==="className"&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...e,...r}}function FW(e){var n,s;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var jW=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],xr=jW.reduce((e,t)=>{const r=wW(`Primitive.${t}`),n=B.forwardRef((s,i)=>{const{asChild:o,...c}=s,d=o?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...c,ref:i})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function SW(e,t){e&&Zu.flushSync(()=>e.dispatchEvent(t))}function Ll(e){const t=B.useRef(e);return B.useEffect(()=>{t.current=e}),B.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}function EW(e,t=globalThis==null?void 0:globalThis.document){const r=Ll(e);B.useEffect(()=>{const n=s=>{s.key==="Escape"&&r(s)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var TW="DismissableLayer",Hb="dismissableLayer.update",kW="dismissableLayer.pointerDownOutside",_W="dismissableLayer.focusOutside",IN,$T=B.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),YT=B.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:o,onDismiss:c,...d}=e,u=B.useContext($T),[h,m]=B.useState(null),p=(h==null?void 0:h.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,x]=B.useState({}),w=sn(t,T=>m(T)),g=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),v=g.indexOf(b),N=h?g.indexOf(h):-1,F=u.layersWithOutsidePointerEventsDisabled.size>0,S=N>=v,E=IW(T=>{const k=T.target,I=[...u.branches].some(Y=>Y.contains(k));!S||I||(s==null||s(T),o==null||o(T),T.defaultPrevented||c==null||c())},p),D=LW(T=>{const k=T.target;[...u.branches].some(Y=>Y.contains(k))||(i==null||i(T),o==null||o(T),T.defaultPrevented||c==null||c())},p);return EW(T=>{N===u.layers.size-1&&(n==null||n(T),!T.defaultPrevented&&c&&(T.preventDefault(),c()))},p),B.useEffect(()=>{if(h)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(IN=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(h)),u.layers.add(h),LN(),()=>{r&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=IN)}},[h,p,r,u]),B.useEffect(()=>()=>{h&&(u.layers.delete(h),u.layersWithOutsidePointerEventsDisabled.delete(h),LN())},[h,u]),B.useEffect(()=>{const T=()=>x({});return document.addEventListener(Hb,T),()=>document.removeEventListener(Hb,T)},[]),a.jsx(xr.div,{...d,ref:w,style:{pointerEvents:F?S?"auto":"none":void 0,...e.style},onFocusCapture:wr(e.onFocusCapture,D.onFocusCapture),onBlurCapture:wr(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:wr(e.onPointerDownCapture,E.onPointerDownCapture)})});YT.displayName=TW;var DW="DismissableLayerBranch",UW=B.forwardRef((e,t)=>{const r=B.useContext($T),n=B.useRef(null),s=sn(t,n);return B.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),a.jsx(xr.div,{...e,ref:s})});UW.displayName=DW;function IW(e,t=globalThis==null?void 0:globalThis.document){const r=Ll(e),n=B.useRef(!1),s=B.useRef(()=>{});return B.useEffect(()=>{const i=c=>{if(c.target&&!n.current){let d=function(){XT(kW,r,u,{discrete:!0})};const u={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=d,t.addEventListener("click",s.current,{once:!0})):d()}else t.removeEventListener("click",s.current);n.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",i),t.removeEventListener("click",s.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function LW(e,t=globalThis==null?void 0:globalThis.document){const r=Ll(e),n=B.useRef(!1);return B.useEffect(()=>{const s=i=>{i.target&&!n.current&&XT(_W,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function LN(){const e=new CustomEvent(Hb);document.dispatchEvent(e)}function XT(e,t,r,{discrete:n}){const s=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&s.addEventListener(e,t,{once:!0}),n?SW(s,i):s.dispatchEvent(i)}var Zx=0;function PW(){B.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??PN()),document.body.insertAdjacentElement("beforeend",e[1]??PN()),Zx++,()=>{Zx===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Zx--}},[])}function PN(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var ey="focusScope.autoFocusOnMount",ty="focusScope.autoFocusOnUnmount",RN={bubbles:!1,cancelable:!0},RW="FocusScope",ZT=B.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:s,onUnmountAutoFocus:i,...o}=e,[c,d]=B.useState(null),u=Ll(s),h=Ll(i),m=B.useRef(null),p=sn(t,g=>d(g)),x=B.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;B.useEffect(()=>{if(n){let g=function(F){if(x.paused||!c)return;const S=F.target;c.contains(S)?m.current=S:Ji(m.current,{select:!0})},b=function(F){if(x.paused||!c)return;const S=F.relatedTarget;S!==null&&(c.contains(S)||Ji(m.current,{select:!0}))},v=function(F){if(document.activeElement===document.body)for(const E of F)E.removedNodes.length>0&&Ji(c)};document.addEventListener("focusin",g),document.addEventListener("focusout",b);const N=new MutationObserver(v);return c&&N.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b),N.disconnect()}}},[n,c,x.paused]),B.useEffect(()=>{if(c){QN.add(x);const g=document.activeElement;if(!c.contains(g)){const v=new CustomEvent(ey,RN);c.addEventListener(ey,u),c.dispatchEvent(v),v.defaultPrevented||(MW(KW(ek(c)),{select:!0}),document.activeElement===g&&Ji(c))}return()=>{c.removeEventListener(ey,u),setTimeout(()=>{const v=new CustomEvent(ty,RN);c.addEventListener(ty,h),c.dispatchEvent(v),v.defaultPrevented||Ji(g??document.body,{select:!0}),c.removeEventListener(ty,h),QN.remove(x)},0)}}},[c,u,h,x]);const w=B.useCallback(g=>{if(!r&&!n||x.paused)return;const b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,v=document.activeElement;if(b&&v){const N=g.currentTarget,[F,S]=QW(N);F&&S?!g.shiftKey&&v===S?(g.preventDefault(),r&&Ji(F,{select:!0})):g.shiftKey&&v===F&&(g.preventDefault(),r&&Ji(S,{select:!0})):v===N&&g.preventDefault()}},[r,n,x.paused]);return a.jsx(xr.div,{tabIndex:-1,...o,ref:p,onKeyDown:w})});ZT.displayName=RW;function MW(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Ji(n,{select:t}),document.activeElement!==r)return}function QW(e){const t=ek(e),r=MN(t,e),n=MN(t.reverse(),e);return[r,n]}function ek(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const s=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||s?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function MN(e,t){for(const r of e)if(!OW(r,{upTo:t}))return r}function OW(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function HW(e){return e instanceof HTMLInputElement&&"select"in e}function Ji(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&HW(e)&&t&&e.select()}}var QN=VW();function VW(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=ON(e,t),e.unshift(t)},remove(t){var r;e=ON(e,t),(r=e[0])==null||r.resume()}}}function ON(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function KW(e){return e.filter(t=>t.tagName!=="A")}var Wn=globalThis!=null&&globalThis.document?B.useLayoutEffect:()=>{},GW=Hp[" useId ".trim().toString()]||(()=>{}),WW=0;
vendor: 12,356 bytes, line 554
554function Q1(e){const[t,r]=B.useState(GW());return Wn(()=>{r(n=>n??String(WW++))},[e]),t?`radix-${t}`:""}const zW=["top","right","bottom","left"],No=Math.min,ia=Math.max,Ap=Math.round,Kf=Math.floor,Ns=e=>({x:e,y:e}),JW={left:"right",right:"left",bottom:"top",top:"bottom"},qW={start:"end",end:"start"};function Vb(e,t,r){return ia(e,No(t,r))}function di(e,t){return typeof e=="function"?e(t):e}function ui(e){return e.split("-")[0]}function IA(e){return e.split("-")[1]}function O1(e){return e==="x"?"y":"x"}function H1(e){return e==="y"?"height":"width"}const $W=new Set(["top","bottom"]);function ws(e){return $W.has(ui(e))?"y":"x"}function V1(e){return O1(ws(e))}function YW(e,t,r){r===void 0&&(r=!1);const n=IA(e),s=V1(e),i=H1(s);let o=s==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=dp(o)),[o,dp(o)]}function XW(e){const t=dp(e);return[Kb(e),t,Kb(t)]}function Kb(e){return e.replace(/start|end/g,t=>qW[t])}const HN=["left","right"],VN=["right","left"],ZW=["top","bottom"],ez=["bottom","top"];function tz(e,t,r){switch(e){case"top":case"bottom":return r?t?VN:HN:t?HN:VN;case"left":case"right":return t?ZW:ez;default:return[]}}function rz(e,t,r,n){const s=IA(e);let i=tz(ui(e),r==="start",n);return s&&(i=i.map(o=>o+"-"+s),t&&(i=i.concat(i.map(Kb)))),i}function dp(e){return e.replace(/left|right|bottom|top/g,t=>JW[t])}function nz(e){return{top:0,right:0,bottom:0,left:0,...e}}function tk(e){return typeof e!="number"?nz(e):{top:e,right:e,bottom:e,left:e}}function up(e){const{x:t,y:r,width:n,height:s}=e;return{width:n,height:s,top:r,left:t,right:t+n,bottom:r+s,x:t,y:r}}function KN(e,t,r){let{reference:n,floating:s}=e;const i=ws(t),o=V1(t),c=H1(o),d=ui(t),u=i==="y",h=n.x+n.width/2-s.width/2,m=n.y+n.height/2-s.height/2,p=n[c]/2-s[c]/2;let x;switch(d){case"top":x={x:h,y:n.y-s.height};break;case"bottom":x={x:h,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:m};break;case"left":x={x:n.x-s.width,y:m};break;default:x={x:n.x,y:n.y}}switch(IA(t)){case"start":x[o]-=p*(r&&u?-1:1);break;case"end":x[o]+=p*(r&&u?-1:1);break}return x}async function az(e,t){var r;t===void 0&&(t={});const{x:n,y:s,platform:i,rects:o,elements:c,strategy:d}=e,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:p=!1,padding:x=0}=di(t,e),w=tk(x),b=c[p?m==="floating"?"reference":"floating":m],v=up(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(b)))==null||r?b:b.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:h,strategy:d})),N=m==="floating"?{x:n,y:s,width:o.floating.width,height:o.floating.height}:o.reference,F=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),S=await(i.isElement==null?void 0:i.isElement(F))?await(i.getScale==null?void 0:i.getScale(F))||{x:1,y:1}:{x:1,y:1},E=up(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:N,offsetParent:F,strategy:d}):N);return{top:(v.top-E.top+w.top)/S.y,bottom:(E.bottom-v.bottom+w.bottom)/S.y,left:(v.left-E.left+w.left)/S.x,right:(E.right-v.right+w.right)/S.x}}const sz=async(e,t,r)=>{const{placement:n="bottom",strategy:s="absolute",middleware:i=[],platform:o}=r,c=i.filter(Boolean),d=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:s}),{x:h,y:m}=KN(u,n,d),p=n,x={},w=0;for(let b=0;b<c.length;b++){var g;const{name:v,fn:N}=c[b],{x:F,y:S,data:E,reset:D}=await N({x:h,y:m,initialPlacement:n,placement:p,strategy:s,middlewareData:x,rects:u,platform:{...o,detectOverflow:(g=o.detectOverflow)!=null?g:az},elements:{reference:e,floating:t}});h=F??h,m=S??m,x={...x,[v]:{...x[v],...E}},D&&w<=50&&(w++,typeof D=="object"&&(D.placement&&(p=D.placement),D.rects&&(u=D.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:s}):D.rects),{x:h,y:m}=KN(u,p,d)),b=-1)}return{x:h,y:m,placement:p,strategy:s,middlewareData:x}},iz=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:s,rects:i,platform:o,elements:c,middlewareData:d}=t,{element:u,padding:h=0}=di(e,t)||{};if(u==null)return{};const m=tk(h),p={x:r,y:n},x=V1(s),w=H1(x),g=await o.getDimensions(u),b=x==="y",v=b?"top":"left",N=b?"bottom":"right",F=b?"clientHeight":"clientWidth",S=i.reference[w]+i.reference[x]-p[x]-i.floating[w],E=p[x]-i.reference[x],D=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let T=D?D[F]:0;(!T||!await(o.isElement==null?void 0:o.isElement(D)))&&(T=c.floating[F]||i.floating[w]);const k=S/2-E/2,I=T/2-g[w]/2-1,Y=No(m[v],I),ee=No(m[N],I),ie=Y,W=T-g[w]-ee,ce=T/2-g[w]/2+k,we=Vb(ie,ce,W),ne=!d.arrow&&IA(s)!=null&&ce!==we&&i.reference[w]/2-(ce<ie?Y:ee)-g[w]/2<0,re=ne?ce<ie?ce-ie:ce-W:0;return{[x]:p[x]+re,data:{[x]:we,centerOffset:ce-we-re,...ne&&{alignmentOffset:re}},reset:ne}}}),oz=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:s,middlewareData:i,rects:o,initialPlacement:c,platform:d,elements:u}=t,{mainAxis:h=!0,crossAxis:m=!0,fallbackPlacements:p,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:g=!0,...b}=di(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const v=ui(s),N=ws(c),F=ui(c)===c,S=await(d.isRTL==null?void 0:d.isRTL(u.floating)),E=p||(F||!g?[dp(c)]:XW(c)),D=w!=="none";!p&&D&&E.push(...rz(c,g,w,S));const T=[c,...E],k=await d.detectOverflow(t,b),I=[];let Y=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&I.push(k[v]),m){const ce=YW(s,o,S);I.push(k[ce[0]],k[ce[1]])}if(Y=[...Y,{placement:s,overflows:I}],!I.every(ce=>ce<=0)){var ee,ie;const ce=(((ee=i.flip)==null?void 0:ee.index)||0)+1,we=T[ce];if(we&&(!(m==="alignment"?N!==ws(we):!1)||Y.every(X=>ws(X.placement)===N?X.overflows[0]>0:!0)))return{data:{index:ce,overflows:Y},reset:{placement:we}};let ne=(ie=Y.filter(re=>re.overflows[0]<=0).sort((re,X)=>re.overflows[1]-X.overflows[1])[0])==null?void 0:ie.placement;if(!ne)switch(x){case"bestFit":{var W;const re=(W=Y.filter(X=>{if(D){const de=ws(X.placement);return de===N||de==="y"}return!0}).map(X=>[X.placement,X.overflows.filter(de=>de>0).reduce((de,ae)=>de+ae,0)]).sort((X,de)=>X[1]-de[1])[0])==null?void 0:W[0];re&&(ne=re);break}case"initialPlacement":ne=c;break}if(s!==ne)return{reset:{placement:ne}}}return{}}}};function GN(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function WN(e){return zW.some(t=>e[t]>=0)}const lz=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:n}=t,{strategy:s="referenceHidden",...i}=di(e,t);switch(s){case"referenceHidden":{const o=await n.detectOverflow(t,{...i,elementContext:"reference"}),c=GN(o,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:WN(c)}}}case"escaped":{const o=await n.detectOverflow(t,{...i,altBoundary:!0}),c=GN(o,r.floating);return{data:{escapedOffsets:c,escaped:WN(c)}}}default:return{}}}}},rk=new Set(["left","top"]);async function cz(e,t){const{placement:r,platform:n,elements:s}=e,i=await(n.isRTL==null?void 0:n.isRTL(s.floating)),o=ui(r),c=IA(r),d=ws(r)==="y",u=rk.has(o)?-1:1,h=i&&d?-1:1,m=di(t,e);let{mainAxis:p,crossAxis:x,alignmentAxis:w}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof w=="number"&&(x=c==="end"?w*-1:w),d?{x:x*h,y:p*u}:{x:p*u,y:x*h}}const Az=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:s,y:i,placement:o,middlewareData:c}=t,d=await cz(t,e);return o===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:s+d.x,y:i+d.y,data:{...d,placement:o}}}}},dz=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:s,platform:i}=t,{mainAxis:o=!0,crossAxis:c=!1,limiter:d={fn:v=>{let{x:N,y:F}=v;return{x:N,y:F}}},...u}=di(e,t),h={x:r,y:n},m=await i.detectOverflow(t,u),p=ws(ui(s)),x=O1(p);let w=h[x],g=h[p];if(o){const v=x==="y"?"top":"left",N=x==="y"?"bottom":"right",F=w+m[v],S=w-m[N];w=Vb(F,w,S)}if(c){const v=p==="y"?"top":"left",N=p==="y"?"bottom":"right",F=g+m[v],S=g-m[N];g=Vb(F,g,S)}const b=d.fn({...t,[x]:w,[p]:g});return{...b,data:{x:b.x-r,y:b.y-n,enabled:{[x]:o,[p]:c}}}}}},uz=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:s,rects:i,middlewareData:o}=t,{offset:c=0,mainAxis:d=!0,crossAxis:u=!0}=di(e,t),h={x:r,y:n},m=ws(s),p=O1(m);let x=h[p],w=h[m];const g=di(c,t),b=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(d){const F=p==="y"?"height":"width",S=i.reference[p]-i.floating[F]+b.mainAxis,E=i.reference[p]+i.reference[F]-b.mainAxis;x<S?x=S:x>E&&(x=E)}if(u){var v,N;const F=p==="y"?"width":"height",S=rk.has(ui(s)),E=i.reference[m]-i.floating[F]+(S&&((v=o.offset)==null?void 0:v[m])||0)+(S?0:b.crossAxis),D=i.reference[m]+i.reference[F]+(S?0:((N=o.offset)==null?void 0:N[m])||0)-(S?b.crossAxis:0);w<E?w=E:w>D&&(w=D)}return{[p]:x,[m]:w}}}},hz=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:s,rects:i,platform:o,elements:c}=t,{apply:d=()=>{},...u}=di(e,t),h=await o.detectOverflow(t,u),m=ui(s),p=IA(s),x=ws(s)==="y",{width:w,height:g}=i.floating;let b,v;m==="top"||m==="bottom"?(b=m,v=p===(await(o.isRTL==null?void 0:o.isRTL(c.floating))?"start":"end")?"left":"right"):(v=m,b=p==="end"?"top":"bottom");const N=g-h.top-h.bottom,F=w-h.left-h.right,S=No(g-h[b],N),E=No(w-h[v],F),D=!t.middlewareData.shift;let T=S,k=E;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(k=F),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(T=N),D&&!p){const Y=ia(h.left,0),ee=ia(h.right,0),ie=ia(h.top,0),W=ia(h.bottom,0);x?k=w-2*(Y!==0||ee!==0?Y+ee:ia(h.left,h.right)):T=g-2*(ie!==0||W!==0?ie+W:ia(h.top,h.bottom))}await d({...t,availableWidth:k,availableHeight:T});const I=await o.getDimensions(c.floating);return w!==I.width||g!==I.height?{reset:{rects:!0}}:{}}}};function l0(){return typeof window<"u"}function LA(e){return nk(e)?(e.nodeName||"").toLowerCase():"#document"}function Aa(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function _s(e){var t;return(t=(nk(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function nk(e){return l0()?e instanceof Node||e instanceof Aa(e).Node:!1}function ns(e){return l0()?e instanceof Element||e instanceof Aa(e).Element:!1}function Es(e){return l0()?e instanceof HTMLElement||e instanceof Aa(e).HTMLElement:!1}function zN(e){return!l0()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Aa(e).ShadowRoot}const fz=new Set(["inline","contents"]);function Ah(e){const{overflow:t,overflowX:r,overflowY:n,display:s}=as(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!fz.has(s)}const mz=new Set(["table","td","th"]);function pz(e){return mz.has(LA(e))}const gz=[":popover-open",":modal"];function c0(e){return gz.some(t=>{try{return e.matches(t)}catch{return!1}})}const xz=["transform","translate","scale","rotate","perspective"],yz=["transform","translate","scale","rotate","perspective","filter"],bz=["paint","layout","strict","content"];function K1(e){const t=G1(),r=ns(e)?as(e):e;return xz.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||yz.some(n=>(r.willChange||"").includes(n))||bz.some(n=>(r.contain||"").includes(n))}function wz(e){let t=Fo(e);for(;Es(t)&&!NA(t);){if(K1(t))return t;if(c0(t))return null;t=Fo(t)}return null}function G1(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const vz=new Set(["html","body","#document"]);function NA(e){return vz.has(LA(e))}function as(e){return Aa(e).getComputedStyle(e)}function A0(e){return ns(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Fo(e){if(LA(e)==="html")return e;const t=e.assignedSlot||e.parentNode||zN(e)&&e.host||_s(e);return zN(t)?t.host:t}function ak(e){const t=Fo(e);return NA(t)?e.ownerDocument?e.ownerDocument.body:e.body:Es(t)&&Ah(t)?t:ak(t)}function Du(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const s=ak(e),i=s===((n=e.ownerDocument)==null?void 0:n.body),o=Aa(s);if(i){const c=Gb(o);
vendor: 18,576 bytes, line 554
554return t.concat(o,o.visualViewport||[],Ah(s)?s:[],c&&r?Du(c):[])}return t.concat(s,Du(s,[],r))}function Gb(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function sk(e){const t=as(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const s=Es(e),i=s?e.offsetWidth:r,o=s?e.offsetHeight:n,c=Ap(r)!==i||Ap(n)!==o;return c&&(r=i,n=o),{width:r,height:n,$:c}}function W1(e){return ns(e)?e:e.contextElement}function tA(e){const t=W1(e);if(!Es(t))return Ns(1);const r=t.getBoundingClientRect(),{width:n,height:s,$:i}=sk(t);let o=(i?Ap(r.width):r.width)/n,c=(i?Ap(r.height):r.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!c||!Number.isFinite(c))&&(c=1),{x:o,y:c}}const Cz=Ns(0);function ik(e){const t=Aa(e);return!G1()||!t.visualViewport?Cz:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Bz(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Aa(e)?!1:t}function Pl(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect(),i=W1(e);let o=Ns(1);t&&(n?ns(n)&&(o=tA(n)):o=tA(e));const c=Bz(i,r,n)?ik(i):Ns(0);let d=(s.left+c.x)/o.x,u=(s.top+c.y)/o.y,h=s.width/o.x,m=s.height/o.y;if(i){const p=Aa(i),x=n&&ns(n)?Aa(n):n;let w=p,g=Gb(w);for(;g&&n&&x!==w;){const b=tA(g),v=g.getBoundingClientRect(),N=as(g),F=v.left+(g.clientLeft+parseFloat(N.paddingLeft))*b.x,S=v.top+(g.clientTop+parseFloat(N.paddingTop))*b.y;d*=b.x,u*=b.y,h*=b.x,m*=b.y,d+=F,u+=S,w=Aa(g),g=Gb(w)}}return up({width:h,height:m,x:d,y:u})}function d0(e,t){const r=A0(e).scrollLeft;return t?t.left+r:Pl(_s(e)).left+r}function ok(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-d0(e,r),s=r.top+t.scrollTop;return{x:n,y:s}}function Nz(e){let{elements:t,rect:r,offsetParent:n,strategy:s}=e;const i=s==="fixed",o=_s(n),c=t?c0(t.floating):!1;if(n===o||c&&i)return r;let d={scrollLeft:0,scrollTop:0},u=Ns(1);const h=Ns(0),m=Es(n);if((m||!m&&!i)&&((LA(n)!=="body"||Ah(o))&&(d=A0(n)),Es(n))){const x=Pl(n);u=tA(n),h.x=x.x+n.clientLeft,h.y=x.y+n.clientTop}const p=o&&!m&&!i?ok(o,d):Ns(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-d.scrollLeft*u.x+h.x+p.x,y:r.y*u.y-d.scrollTop*u.y+h.y+p.y}}function Fz(e){return Array.from(e.getClientRects())}function jz(e){const t=_s(e),r=A0(e),n=e.ownerDocument.body,s=ia(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=ia(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let o=-r.scrollLeft+d0(e);const c=-r.scrollTop;return as(n).direction==="rtl"&&(o+=ia(t.clientWidth,n.clientWidth)-s),{width:s,height:i,x:o,y:c}}const JN=25;function Sz(e,t){const r=Aa(e),n=_s(e),s=r.visualViewport;let i=n.clientWidth,o=n.clientHeight,c=0,d=0;if(s){i=s.width,o=s.height;const h=G1();(!h||h&&t==="fixed")&&(c=s.offsetLeft,d=s.offsetTop)}const u=d0(n);if(u<=0){const h=n.ownerDocument,m=h.body,p=getComputedStyle(m),x=h.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,w=Math.abs(n.clientWidth-m.clientWidth-x);w<=JN&&(i-=w)}else u<=JN&&(i+=u);return{width:i,height:o,x:c,y:d}}const Ez=new Set(["absolute","fixed"]);function Tz(e,t){const r=Pl(e,!0,t==="fixed"),n=r.top+e.clientTop,s=r.left+e.clientLeft,i=Es(e)?tA(e):Ns(1),o=e.clientWidth*i.x,c=e.clientHeight*i.y,d=s*i.x,u=n*i.y;return{width:o,height:c,x:d,y:u}}function qN(e,t,r){let n;if(t==="viewport")n=Sz(e,r);else if(t==="document")n=jz(_s(e));else if(ns(t))n=Tz(t,r);else{const s=ik(e);n={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return up(n)}function lk(e,t){const r=Fo(e);return r===t||!ns(r)||NA(r)?!1:as(r).position==="fixed"||lk(r,t)}function kz(e,t){const r=t.get(e);if(r)return r;let n=Du(e,[],!1).filter(c=>ns(c)&&LA(c)!=="body"),s=null;const i=as(e).position==="fixed";let o=i?Fo(e):e;for(;ns(o)&&!NA(o);){const c=as(o),d=K1(o);!d&&c.position==="fixed"&&(s=null),(i?!d&&!s:!d&&c.position==="static"&&!!s&&Ez.has(s.position)||Ah(o)&&!d&&lk(e,o))?n=n.filter(h=>h!==o):s=c,o=Fo(o)}return t.set(e,n),n}function _z(e){let{element:t,boundary:r,rootBoundary:n,strategy:s}=e;const o=[...r==="clippingAncestors"?c0(t)?[]:kz(t,this._c):[].concat(r),n],c=o[0],d=o.reduce((u,h)=>{const m=qN(t,h,s);return u.top=ia(m.top,u.top),u.right=No(m.right,u.right),u.bottom=No(m.bottom,u.bottom),u.left=ia(m.left,u.left),u},qN(t,c,s));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Dz(e){const{width:t,height:r}=sk(e);return{width:t,height:r}}function Uz(e,t,r){const n=Es(t),s=_s(t),i=r==="fixed",o=Pl(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const d=Ns(0);function u(){d.x=d0(s)}if(n||!n&&!i)if((LA(t)!=="body"||Ah(s))&&(c=A0(t)),n){const x=Pl(t,!0,i,t);d.x=x.x+t.clientLeft,d.y=x.y+t.clientTop}else s&&u();i&&!n&&s&&u();const h=s&&!n&&!i?ok(s,c):Ns(0),m=o.left+c.scrollLeft-d.x-h.x,p=o.top+c.scrollTop-d.y-h.y;return{x:m,y:p,width:o.width,height:o.height}}function ry(e){return as(e).position==="static"}function $N(e,t){if(!Es(e)||as(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return _s(e)===r&&(r=r.ownerDocument.body),r}function ck(e,t){const r=Aa(e);if(c0(e))return r;if(!Es(e)){let s=Fo(e);for(;s&&!NA(s);){if(ns(s)&&!ry(s))return s;s=Fo(s)}return r}let n=$N(e,t);for(;n&&pz(n)&&ry(n);)n=$N(n,t);return n&&NA(n)&&ry(n)&&!K1(n)?r:n||wz(e)||r}const Iz=async function(e){const t=this.getOffsetParent||ck,r=this.getDimensions,n=await r(e.floating);return{reference:Uz(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Lz(e){return as(e).direction==="rtl"}const Pz={convertOffsetParentRelativeRectToViewportRelativeRect:Nz,getDocumentElement:_s,getClippingRect:_z,getOffsetParent:ck,getElementRects:Iz,getClientRects:Fz,getDimensions:Dz,getScale:tA,isElement:ns,isRTL:Lz};function Ak(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Rz(e,t){let r=null,n;const s=_s(e);function i(){var c;clearTimeout(n),(c=r)==null||c.disconnect(),r=null}function o(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),i();const u=e.getBoundingClientRect(),{left:h,top:m,width:p,height:x}=u;if(c||t(),!p||!x)return;const w=Kf(m),g=Kf(s.clientWidth-(h+p)),b=Kf(s.clientHeight-(m+x)),v=Kf(h),F={rootMargin:-w+"px "+-g+"px "+-b+"px "+-v+"px",threshold:ia(0,No(1,d))||1};let S=!0;function E(D){const T=D[0].intersectionRatio;if(T!==d){if(!S)return o();T?o(!1,T):n=setTimeout(()=>{o(!1,1e-7)},1e3)}T===1&&!Ak(u,e.getBoundingClientRect())&&o(),S=!1}try{r=new IntersectionObserver(E,{...F,root:s.ownerDocument})}catch{r=new IntersectionObserver(E,F)}r.observe(e)}return o(!0),i}function Mz(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,u=W1(e),h=s||i?[...u?Du(u):[],...Du(t)]:[];h.forEach(v=>{s&&v.addEventListener("scroll",r,{passive:!0}),i&&v.addEventListener("resize",r)});const m=u&&c?Rz(u,r):null;let p=-1,x=null;o&&(x=new ResizeObserver(v=>{let[N]=v;N&&N.target===u&&x&&(x.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var F;(F=x)==null||F.observe(t)})),r()}),u&&!d&&x.observe(u),x.observe(t));let w,g=d?Pl(e):null;d&&b();function b(){const v=Pl(e);g&&!Ak(g,v)&&r(),g=v,w=requestAnimationFrame(b)}return r(),()=>{var v;h.forEach(N=>{s&&N.removeEventListener("scroll",r),i&&N.removeEventListener("resize",r)}),m==null||m(),(v=x)==null||v.disconnect(),x=null,d&&cancelAnimationFrame(w)}}const Qz=Az,Oz=dz,Hz=oz,Vz=hz,Kz=lz,YN=iz,Gz=uz,Wz=(e,t,r)=>{const n=new Map,s={platform:Pz,...r},i={...s.platform,_c:n};return sz(e,t,{...s,platform:i})};var zz=typeof document<"u",Jz=function(){},Vm=zz?B.useLayoutEffect:Jz;function hp(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!hp(e[n],t[n]))return!1;return!0}if(s=Object.keys(e),r=s.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,s[n]))return!1;for(n=r;n--!==0;){const i=s[n];if(!(i==="_owner"&&e.$$typeof)&&!hp(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function dk(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function XN(e,t){const r=dk(e);return Math.round(t*r)/r}function ny(e){const t=B.useRef(e);return Vm(()=>{t.current=e}),t}function qz(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:s,elements:{reference:i,floating:o}={},transform:c=!0,whileElementsMounted:d,open:u}=e,[h,m]=B.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,x]=B.useState(n);hp(p,n)||x(n);const[w,g]=B.useState(null),[b,v]=B.useState(null),N=B.useCallback(X=>{X!==D.current&&(D.current=X,g(X))},[]),F=B.useCallback(X=>{X!==T.current&&(T.current=X,v(X))},[]),S=i||w,E=o||b,D=B.useRef(null),T=B.useRef(null),k=B.useRef(h),I=d!=null,Y=ny(d),ee=ny(s),ie=ny(u),W=B.useCallback(()=>{if(!D.current||!T.current)return;const X={placement:t,strategy:r,middleware:p};ee.current&&(X.platform=ee.current),Wz(D.current,T.current,X).then(de=>{const ae={...de,isPositioned:ie.current!==!1};ce.current&&!hp(k.current,ae)&&(k.current=ae,Zu.flushSync(()=>{m(ae)}))})},[p,t,r,ee,ie]);Vm(()=>{u===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,m(X=>({...X,isPositioned:!1})))},[u]);const ce=B.useRef(!1);Vm(()=>(ce.current=!0,()=>{ce.current=!1}),[]),Vm(()=>{if(S&&(D.current=S),E&&(T.current=E),S&&E){if(Y.current)return Y.current(S,E,W);W()}},[S,E,W,Y,I]);const we=B.useMemo(()=>({reference:D,floating:T,setReference:N,setFloating:F}),[N,F]),ne=B.useMemo(()=>({reference:S,floating:E}),[S,E]),re=B.useMemo(()=>{const X={position:r,left:0,top:0};if(!ne.floating)return X;const de=XN(ne.floating,h.x),ae=XN(ne.floating,h.y);return c?{...X,transform:"translate("+de+"px, "+ae+"px)",...dk(ne.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:de,top:ae}},[r,c,ne.floating,h.x,h.y]);return B.useMemo(()=>({...h,update:W,refs:we,elements:ne,floatingStyles:re}),[h,W,we,ne,re])}const $z=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:s}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?YN({element:n.current,padding:s}).fn(r):{}:n?YN({element:n,padding:s}).fn(r):{}}}},Yz=(e,t)=>({...Qz(e),options:[e,t]}),Xz=(e,t)=>({...Oz(e),options:[e,t]}),Zz=(e,t)=>({...Gz(e),options:[e,t]}),eJ=(e,t)=>({...Hz(e),options:[e,t]}),tJ=(e,t)=>({...Vz(e),options:[e,t]}),rJ=(e,t)=>({...Kz(e),options:[e,t]}),nJ=(e,t)=>({...$z(e),options:[e,t]});var aJ="Arrow",uk=B.forwardRef((e,t)=>{const{children:r,width:n=10,height:s=5,...i}=e;return a.jsx(xr.svg,{...i,ref:t,width:n,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});uk.displayName=aJ;var sJ=uk;function iJ(e){const[t,r]=B.useState(void 0);return Wn(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let o,c;if("borderBoxSize"in i){const d=i.borderBoxSize,u=Array.isArray(d)?d[0]:d;o=u.inlineSize,c=u.blockSize}else o=e.offsetWidth,c=e.offsetHeight;r({width:o,height:c})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var z1="Popper",[hk,fk]=M1(z1),[oJ,mk]=hk(z1),pk=e=>{const{__scopePopper:t,children:r}=e,[n,s]=B.useState(null);return a.jsx(oJ,{scope:t,anchor:n,onAnchorChange:s,children:r})};pk.displayName=z1;var gk="PopperAnchor",xk=B.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...s}=e,i=mk(gk,r),o=B.useRef(null),c=sn(t,o),d=B.useRef(null);return B.useEffect(()=>{const u=d.current;d.current=(n==null?void 0:n.current)||o.current,u!==d.current&&i.onAnchorChange(d.current)}),n?null:a.jsx(xr.div,{...s,ref:c})});xk.displayName=gk;var J1="PopperContent",[lJ,cJ]=hk(J1),yk=B.forwardRef((e,t)=>{var le,ye,xe,be,Fe,Pe;const{__scopePopper:r,side:n="bottom",sideOffset:s=0,align:i="center",alignOffset:o=0,arrowPadding:c=0,avoidCollisions:d=!0,collisionBoundary:u=[],collisionPadding:h=0,sticky:m="partial",hideWhenDetached:p=!1,updatePositionStrategy:x="optimized",onPlaced:w,...g}=e,b=mk(J1,r),[v,N]=B.useState(null),F=sn(t,it=>N(it)),[S,E]=B.useState(null),D=iJ(S),T=(D==null?void 0:D.width)??0,k=(D==null?void 0:D.height)??0,I=n+(i!=="center"?"-"+i:""),Y=typeof h=="number"?h:{top:0,right:0,bottom:0,left:0,...h},ee=Array.isArray(u)?u:[u],ie=ee.length>0,W={padding:Y,boundary:ee.filter(dJ),altBoundary:ie},{refs:ce,floatingStyles:we,placement:ne,isPositioned:re,middlewareData:X}=qz({strategy:"fixed",placement:I,whileElementsMounted:(...it)=>Mz(...it,{animationFrame:x==="always"}),elements:{reference:b.anchor},middleware:[Yz({mainAxis:s+k,alignmentAxis:o}),d&&Xz({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?Zz():void 0,...W}),d&&eJ({...W}),tJ({...W,apply:({elements:it,rects:et,availableWidth:cr,availableHeight:pt})=>{const{width:Me,height:Kr}=et.reference,Ur=it.floating.style;Ur.setProperty("--radix-popper-available-width",`${cr}px`),Ur.setProperty("--radix-popper-available-height",`${pt}px`),Ur.setProperty("--radix-popper-anchor-width",`${Me}px`),Ur.setProperty("--radix-popper-anchor-height",`${Kr}px`)}}),S&&nJ({element:S,padding:c}),uJ({arrowWidth:T,arrowHeight:k}),p&&rJ({strategy:"referenceHidden",...W})]}),[de,ae]=vk(ne),q=Ll(w);Wn(()=>{re&&(q==null||q())},[re,q]);const L=(le=X.arrow)==null?void 0:le.x,J=(ye=X.arrow)==null?void 0:ye.y,Q=((xe=X.arrow)==null?void 0:xe.centerOffset)!==0,[O,G]=B.useState();return Wn(()=>{v&&G(window.getComputedStyle(v).zIndex)},[v]),a.jsx("div",{ref:ce.setFloating,"data-radix-popper-content-wrapper":"",style:{...we,transform:re?we.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:O,"--radix-popper-transform-origin":[(be=X.transformOrigin)==null?void 0:be.x,(Fe=X.transformOrigin)==null?void 0:Fe.y].join(" "),...((Pe=X.hide)==null?void 0:Pe.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:a.jsx(lJ,{scope:r,placedSide:de,onArrowChange:E,arrowX:L,arrowY:J,shouldHideArrow:Q,children:a.jsx(xr.div,{"data-side":de,"data-align":ae,...g,ref:F,style:{...g.style,animation:re?void 0:"none"}})})})});yk.displayName=J1;var bk="PopperArrow",AJ={top:"bottom",right:"left",bottom:"top",left:"right"},wk=B.forwardRef(function(t,r){const{__scopePopper:n,...s}=t,i=cJ(bk,n),o=AJ[i.placedSide];return a.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:a.jsx(sJ,{...s,ref:r,style:{...s.style,display:"block"}})})});wk.displayName=bk;function dJ(e){return e!==null}var uJ=e=>({name:"transformOrigin",options:e,fn(t){var b,v,N;const{placement:r,rects:n,middlewareData:s}=t,o=((b=s.arrow)==null?void 0:b.centerOffset)!==0,c=o?0:e.arrowWidth,d=o?0:e.arrowHeight,[u,h]=vk(r),m={start:"0%",center:"50%",end:"100%"}[h],p=(((v=s.arrow)==null?void 0:v.x)??0)+c/2,x=(((N=s.arrow)==null?void 0:N.y)??0)+d/2;let w="",g="";return u==="bottom"?(w=o?m:`${p}px`,g=`${-d}px`):u==="top"?(w=o?m:`${p}px`,g=`${n.floating.height+d}px`):u==="right"?(w=`${-d}px`,g=o?m:`${x}px`):u==="left"&&(w=`${n.floating.width+d}px`,g=o?m:`${x}px`),{data:{x:w,y:g}}}});function vk(e){const[t,r="center"]=e.split("-");return[t,r]}var hJ=pk,fJ=xk,mJ=yk,pJ=wk,gJ="Portal",Ck=B.forwardRef((e,t)=>{var c;const{container:r,...n}=e,[s,i]=B.useState(!1);Wn(()=>i(!0),[]);const o=r||s&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return o?XL.createPortal(a.jsx(xr.div,{...n,ref:t}),o):null});Ck.displayName=gJ;function xJ(e){const t=yJ(e),r=B.forwardRef((n,s)=>{const{children:i,...o}=n,c=B.Children.toArray(i),d=c.find(wJ);if(d){const u=d.props.children,h=c.map(m=>m===d?B.Children.count(u)>1?B.Children.only(null):B.isValidElement(u)?u.props.children:null:m);return a.jsx(t,{...o,ref:s,children:B.isValidElement(u)?B.cloneElement(u,void 0,h):null})}return a.jsx(t,{...o,ref:s,children:i})});return r.displayName=`${e}.Slot`,r}function yJ(e){const t=B.forwardRef((r,n)=>{const{children:s,...i}=r;if(B.isValidElement(s)){const o=CJ(s),c=vJ(i,s.props);return s.type!==B.Fragment&&(c.ref=n?ch(n,o):o),B.cloneElement(s,c)}return B.Children.count(s)>1?B.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var bJ=Symbol("radix.slottable");function wJ(e){return B.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===bJ}function vJ(e,t){const r={...t};for(const n in t){const s=e[n],i=t[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...c)=>{const d=i(...c);return s(...c),d}:s&&(r[n]=s):n==="style"?r[n]={...s,...i}:n==="className"&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...e,...r}}function CJ(e){var n,s;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var BJ=Hp[" useInsertionEffect ".trim().toString()]||Wn;function ZN({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[s,i,o]=NJ({defaultProp:t,onChange:r}),c=e!==void 0,d=c?e:s;{const h=B.useRef(e!==void 0);B.useEffect(()=>{const m=h.current;m!==c&&console.warn(`${n} is changing from ${m?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),h.current=c},[c,n])}const u=B.useCallback(h=>{var m;if(c){const p=FJ(h)?h(e):h;p!==e&&((m=o.current)==null||m.call(o,p))}else i(h)},[c,e,i,o]);return[d,u]}function NJ({defaultProp:e,onChange:t}){const[r,n]=B.useState(e),s=B.useRef(r),i=B.useRef(t);return BJ(()=>{i.current=t},[t]),B.useEffect(()=>{var o;s.current!==r&&((o=i.current)==null||o.call(i,r),s.current=r)},[r,s]),[r,n,i]}function FJ(e){return typeof e=="function"}function jJ(e){const t=B.useRef({value:e,previous:e});return B.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Bk=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),SJ="VisuallyHidden",EJ=B.forwardRef((e,t)=>
vendor: 13,445 bytes, lines 554-594
554a.jsx(xr.span,{...e,ref:t,style:{...Bk,...e.style}}));EJ.displayName=SJ;var TJ=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Tc=new WeakMap,Gf=new WeakMap,Wf={},ay=0,Nk=function(e){return e&&(e.host||Nk(e.parentNode))},kJ=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Nk(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},_J=function(e,t,r,n){var s=kJ(t,Array.isArray(e)?e:[e]);Wf[r]||(Wf[r]=new WeakMap);var i=Wf[r],o=[],c=new Set,d=new Set(s),u=function(m){!m||c.has(m)||(c.add(m),u(m.parentNode))};s.forEach(u);var h=function(m){!m||d.has(m)||Array.prototype.forEach.call(m.children,function(p){if(c.has(p))h(p);else try{var x=p.getAttribute(n),w=x!==null&&x!=="false",g=(Tc.get(p)||0)+1,b=(i.get(p)||0)+1;Tc.set(p,g),i.set(p,b),o.push(p),g===1&&w&&Gf.set(p,!0),b===1&&p.setAttribute(r,"true"),w||p.setAttribute(n,"true")}catch(v){console.error("aria-hidden: cannot operate on ",p,v)}})};return h(t),c.clear(),ay++,function(){o.forEach(function(m){var p=Tc.get(m)-1,x=i.get(m)-1;Tc.set(m,p),i.set(m,x),p||(Gf.has(m)||m.removeAttribute(n),Gf.delete(m)),x||m.removeAttribute(r)}),ay--,ay||(Tc=new WeakMap,Tc=new WeakMap,Gf=new WeakMap,Wf={})}},DJ=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),s=TJ(e);return s?(n.push.apply(n,Array.from(s.querySelectorAll("[aria-live], script"))),_J(n,s,r,"aria-hidden")):function(){return null}},bs=function(){return bs=Object.assign||function(t){for(var r,n=1,s=arguments.length;n<s;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},bs.apply(this,arguments)};function Fk(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(r[n[s]]=e[n[s]]);return r}function UJ(e,t,r){if(r||arguments.length===2)for(var n=0,s=t.length,i;n<s;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var Km="right-scroll-bar-position",Gm="width-before-scroll-bar",IJ="with-scroll-bars-hidden",LJ="--removed-body-scroll-bar-size";function sy(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function PJ(e,t){var r=B.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var s=r.value;s!==n&&(r.value=n,r.callback(n,s))}}}})[0];return r.callback=t,r.facade}var RJ=typeof window<"u"?B.useLayoutEffect:B.useEffect,eF=new WeakMap;function MJ(e,t){var r=PJ(null,function(n){return e.forEach(function(s){return sy(s,n)})});return RJ(function(){var n=eF.get(r);if(n){var s=new Set(n),i=new Set(e),o=r.current;s.forEach(function(c){i.has(c)||sy(c,null)}),i.forEach(function(c){s.has(c)||sy(c,o)})}eF.set(r,e)},[e]),r}function QJ(e){return e}function OJ(e,t){t===void 0&&(t=QJ);var r=[],n=!1,s={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(i){var o=t(i,n);return r.push(o),function(){r=r.filter(function(c){return c!==o})}},assignSyncMedium:function(i){for(n=!0;r.length;){var o=r;r=[],o.forEach(i)}r={push:function(c){return i(c)},filter:function(){return r}}},assignMedium:function(i){n=!0;var o=[];if(r.length){var c=r;r=[],c.forEach(i),o=r}var d=function(){var h=o;o=[],h.forEach(i)},u=function(){return Promise.resolve().then(d)};u(),r={push:function(h){o.push(h),u()},filter:function(h){return o=o.filter(h),r}}}};return s}function HJ(e){e===void 0&&(e={});var t=OJ(null);return t.options=bs({async:!0,ssr:!1},e),t}var jk=function(e){var t=e.sideCar,r=Fk(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return B.createElement(n,bs({},r))};jk.isSideCarExport=!0;function VJ(e,t){return e.useMedium(t),jk}var Sk=HJ(),iy=function(){},u0=B.forwardRef(function(e,t){var r=B.useRef(null),n=B.useState({onScrollCapture:iy,onWheelCapture:iy,onTouchMoveCapture:iy}),s=n[0],i=n[1],o=e.forwardProps,c=e.children,d=e.className,u=e.removeScrollBar,h=e.enabled,m=e.shards,p=e.sideCar,x=e.noRelative,w=e.noIsolation,g=e.inert,b=e.allowPinchZoom,v=e.as,N=v===void 0?"div":v,F=e.gapMode,S=Fk(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=p,D=MJ([r,t]),T=bs(bs({},S),s);return B.createElement(B.Fragment,null,h&&B.createElement(E,{sideCar:Sk,removeScrollBar:u,shards:m,noRelative:x,noIsolation:w,inert:g,setCallbacks:i,allowPinchZoom:!!b,lockRef:r,gapMode:F}),o?B.cloneElement(B.Children.only(c),bs(bs({},T),{ref:D})):B.createElement(N,bs({},T,{className:d,ref:D}),c))});u0.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};u0.classNames={fullWidth:Gm,zeroRight:Km};var KJ=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function GJ(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=KJ();return t&&e.setAttribute("nonce",t),e}function WJ(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function zJ(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var JJ=function(){var e=0,t=null;return{add:function(r){e==0&&(t=GJ())&&(WJ(t,r),zJ(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},qJ=function(){var e=JJ();return function(t,r){B.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Ek=function(){var e=qJ(),t=function(r){var n=r.styles,s=r.dynamic;return e(n,s),null};return t},$J={left:0,top:0,right:0,gap:0},oy=function(e){return parseInt(e||"",10)||0},YJ=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[oy(r),oy(n),oy(s)]},XJ=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return $J;var t=YJ(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},ZJ=Ek(),rA="data-scroll-locked",eq=function(e,t,r,n){var s=e.left,i=e.top,o=e.right,c=e.gap;return r===void 0&&(r="margin"),` 555 .`.concat(IJ,` { 556 overflow: hidden `).concat(n,`; 557 padding-right: `).concat(c,"px ").concat(n,`; 558 } 559 body[`).concat(rA,`] { 560 overflow: hidden `).concat(n,`; 561 overscroll-behavior: contain; 562 `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` 563 padding-left: `.concat(s,`px; 564 padding-top: `).concat(i,`px; 565 padding-right: `).concat(o,`px; 566 margin-left:0; 567 margin-top:0; 568 margin-right: `).concat(c,"px ").concat(n,`; 569 `),r==="padding"&&"padding-right: ".concat(c,"px ").concat(n,";")].filter(Boolean).join(""),` 570 } 571 572 .`).concat(Km,` { 573 right: `).concat(c,"px ").concat(n,`; 574 } 575 576 .`).concat(Gm,` { 577 margin-right: `).concat(c,"px ").concat(n,`; 578 } 579 580 .`).concat(Km," .").concat(Km,` { 581 right: 0 `).concat(n,`; 582 } 583 584 .`).concat(Gm," .").concat(Gm,` { 585 margin-right: 0 `).concat(n,`; 586 } 587 588 body[`).concat(rA,`] { 589 `).concat(LJ,": ").concat(c,`px; 590 } 591`)},tF=function(){var e=parseInt(document.body.getAttribute(rA)||"0",10);return isFinite(e)?e:0},tq=function(){B.useEffect(function(){return document.body.setAttribute(rA,(tF()+1).toString()),function(){var e=tF()-1;e<=0?document.body.removeAttribute(rA):document.body.setAttribute(rA,e.toString())}},[])},rq=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,s=n===void 0?"margin":n;tq();var i=B.useMemo(function(){return XJ(s)},[s]);return B.createElement(ZJ,{styles:eq(i,!t,s,r?"":"!important")})},Wb=!1;if(typeof window<"u")try{var zf=Object.defineProperty({},"passive",{get:function(){return Wb=!0,!0}});window.addEventListener("test",zf,zf),window.removeEventListener("test",zf,zf)}catch{Wb=!1}var kc=Wb?{passive:!1}:!1,nq=function(e){return e.tagName==="TEXTAREA"},Tk=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!nq(e)&&r[t]==="visible")},aq=function(e){return Tk(e,"overflowY")},sq=function(e){return Tk(e,"overflowX")},rF=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var s=kk(e,n);if(s){var i=_k(e,n),o=i[1],c=i[2];if(o>c)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},iq=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},oq=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},kk=function(e,t){return e==="v"?aq(t):sq(t)},_k=function(e,t){return e==="v"?iq(t):oq(t)},lq=function(e,t){return e==="h"&&t==="rtl"?-1:1},cq=function(e,t,r,n,s){var i=lq(e,window.getComputedStyle(t).direction),o=i*n,c=r.target,d=t.contains(c),u=!1,h=o>0,m=0,p=0;do{if(!c)break;var x=_k(e,c),w=x[0],g=x[1],b=x[2],v=g-b-i*w;(w||v)&&kk(e,c)&&(m+=v,p+=w);var N=c.parentNode;c=N&&N.nodeType===Node.DOCUMENT_FRAGMENT_NODE?N.host:N}while(!d&&c!==document.body||d&&(t.contains(c)||t===c));return(h&&Math.abs(m)<1||!h&&Math.abs(p)<1)&&(u=!0),u},Jf=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},nF=function(e){return[e.deltaX,e.deltaY]},aF=function(e){return e&&"current"in e?e.current:e},Aq=function(e,t){return e[0]===t[0]&&e[1]===t[1]},dq=function(e){return` 592 .block-interactivity-`.concat(e,` {pointer-events: none;} 593 .allow-interactivity-`).concat(e,` {pointer-events: all;} 594`)},uq=0,_c=[];function hq(e){var t=B.useRef([]),r=B.useRef([0,0]),n=B.useRef(),s=B.useState(uq++)[0],i=B.useState(Ek)[0],o=B.useRef(e);B.useEffect(function(){o.current=e},[e]),B.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var g=UJ([e.lockRef.current],(e.shards||[]).map(aF),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var c=B.useCallback(function(g,b){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!o.current.allowPinchZoom;var v=Jf(g),N=r.current,F="deltaX"in g?g.deltaX:N[0]-v[0],S="deltaY"in g?g.deltaY:N[1]-v[1],E,D=g.target,T=Math.abs(F)>Math.abs(S)?"h":"v";if("touches"in g&&T==="h"&&D.type==="range")return!1;var k=window.getSelection(),I=k&&k.anchorNode,Y=I?I===D||I.contains(D):!1;if(Y)return!1;var ee=rF(T,D);if(!ee)return!0;if(ee?E=T:(E=T==="v"?"h":"v",ee=rF(T,D)),!ee)return!1;if(!n.current&&"changedTouches"in g&&(F||S)&&(n.current=E),!E)return!0;var ie=n.current||E;return cq(ie,b,g,ie==="h"?F:S)},[]),d=B.useCallback(function(g){var b=g;if(!(!_c.length||_c[_c.length-1]!==i)){var v="deltaY"in b?nF(b):Jf(b),N=t.current.filter(function(E){return E.name===b.type&&(E.target===b.target||b.target===E.shadowParent)&&Aq(E.delta,v)})[0];if(N&&N.should){b.cancelable&&b.preventDefault();return}if(!N){var F=(o.current.shards||[]).map(aF).filter(Boolean).filter(function(E){return E.contains(b.target)}),S=F.length>0?c(b,F[0]):!o.current.noIsolation;S&&b.cancelable&&b.preventDefault()}}},[]),u=B.useCallback(function(g,b,v,N){var F={name:g,delta:b,target:v,should:N,shadowParent:fq(v)};t.current.push(F),setTimeout(function(){t.current=t.current.filter(function(S){return S!==F})},1)},[]),h=B.useCallback(function(g){r.current=Jf(g),n.current=void 0},[]),m=B.useCallback(function(g){u(g.type,nF(g),g.target,c(g,e.lockRef.current))},[]),p=B.useCallback(function(g){u(g.type,Jf(g),g.target,c(g,e.lockRef.current))},[]);B.useEffect(function(){return _c.push(i),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:p}),document.addEventListener("wheel",d,kc),document.addEventListener("touchmove",d,kc),document.addEventListener("touchstart",h,kc),function(){_c=_c.filter(function(g){return g!==i}),document.removeEventListener("wheel",d,kc),document.removeEventListener("touchmove",d,kc),document.removeEventListener("touchstart",h,kc)}},[]);var x=e.removeScrollBar,w=e.inert;return B.createElement(B.Fragment,null,w?B.createElement(i,{styles:dq(s)}):null,x?B.createElement(rq,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function fq(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const mq=VJ(Sk,hq);var Dk=B.forwardRef(function(e,t){return B.createElement(u0,bs({},e,{ref:t,sideCar:mq}))});Dk.classNames=u0.classNames;var pq=[" ","Enter","ArrowUp","ArrowDown"],gq=[" ","Enter"],Rl="Select",[h0,f0,xq]=xW(Rl),[PA]=M1(Rl,[xq,fk]),m0=fk(),[yq,Ro]=PA(Rl),[bq,wq]=PA(Rl),Uk=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:s,onOpenChange:i,value:o,defaultValue:c,onValueChange:d,dir:u,name:h,autoComplete:m,disabled:p,required:x,form:w}=e,g=m0(t),[b,v]=B.useState(null),[N,F]=B.useState(null),[S,E]=B.useState(!1),D=bW(u),[T,k]=ZN({prop:n,defaultProp:s??!1,onChange:i,caller:Rl}),[I,Y]=ZN({prop:o,defaultProp:c,onChange:d,caller:Rl}
vendor: 16,089 bytes, line 594
594),ee=B.useRef(null),ie=b?w||!!b.closest("form"):!0,[W,ce]=B.useState(new Set),we=Array.from(W).map(ne=>ne.props.value).join(";");return a.jsx(hJ,{...g,children:a.jsxs(yq,{required:x,scope:t,trigger:b,onTriggerChange:v,valueNode:N,onValueNodeChange:F,valueNodeHasChildren:S,onValueNodeHasChildrenChange:E,contentId:Q1(),value:I,onValueChange:Y,open:T,onOpenChange:k,dir:D,triggerPointerDownPosRef:ee,disabled:p,children:[a.jsx(h0.Provider,{scope:t,children:a.jsx(bq,{scope:e.__scopeSelect,onNativeOptionAdd:B.useCallback(ne=>{ce(re=>new Set(re).add(ne))},[]),onNativeOptionRemove:B.useCallback(ne=>{ce(re=>{const X=new Set(re);return X.delete(ne),X})},[]),children:r})}),ie?a.jsxs(a8,{"aria-hidden":!0,required:x,tabIndex:-1,name:h,autoComplete:m,value:I,onChange:ne=>Y(ne.target.value),disabled:p,form:w,children:[I===void 0?a.jsx("option",{value:""}):null,Array.from(W)]},we):null]})})};Uk.displayName=Rl;var Ik="SelectTrigger",Lk=B.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...s}=e,i=m0(r),o=Ro(Ik,r),c=o.disabled||n,d=sn(t,o.onTriggerChange),u=f0(r),h=B.useRef("touch"),[m,p,x]=i8(g=>{const b=u().filter(F=>!F.disabled),v=b.find(F=>F.value===o.value),N=o8(b,g,v);N!==void 0&&o.onValueChange(N.value)}),w=g=>{c||(o.onOpenChange(!0),x()),g&&(o.triggerPointerDownPosRef.current={x:Math.round(g.pageX),y:Math.round(g.pageY)})};return a.jsx(fJ,{asChild:!0,...i,children:a.jsx(xr.button,{type:"button",role:"combobox","aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":"none",dir:o.dir,"data-state":o.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":s8(o.value)?"":void 0,...s,ref:d,onClick:wr(s.onClick,g=>{g.currentTarget.focus(),h.current!=="mouse"&&w(g)}),onPointerDown:wr(s.onPointerDown,g=>{h.current=g.pointerType;const b=g.target;b.hasPointerCapture(g.pointerId)&&b.releasePointerCapture(g.pointerId),g.button===0&&g.ctrlKey===!1&&g.pointerType==="mouse"&&(w(g),g.preventDefault())}),onKeyDown:wr(s.onKeyDown,g=>{const b=m.current!=="";!(g.ctrlKey||g.altKey||g.metaKey)&&g.key.length===1&&p(g.key),!(b&&g.key===" ")&&pq.includes(g.key)&&(w(),g.preventDefault())})})})});Lk.displayName=Ik;var Pk="SelectValue",Rk=B.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:s,children:i,placeholder:o="",...c}=e,d=Ro(Pk,r),{onValueNodeHasChildrenChange:u}=d,h=i!==void 0,m=sn(t,d.onValueNodeChange);return Wn(()=>{u(h)},[u,h]),a.jsx(xr.span,{...c,ref:m,style:{pointerEvents:"none"},children:s8(d.value)?a.jsx(a.Fragment,{children:o}):i})});Rk.displayName=Pk;var vq="SelectIcon",Mk=B.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...s}=e;return a.jsx(xr.span,{"aria-hidden":!0,...s,ref:t,children:n||"â¼"})});Mk.displayName=vq;var Cq="SelectPortal",Qk=e=>a.jsx(Ck,{asChild:!0,...e});Qk.displayName=Cq;var Ml="SelectContent",Ok=B.forwardRef((e,t)=>{const r=Ro(Ml,e.__scopeSelect),[n,s]=B.useState();if(Wn(()=>{s(new DocumentFragment)},[]),!r.open){const i=n;return i?Zu.createPortal(a.jsx(Hk,{scope:e.__scopeSelect,children:a.jsx(h0.Slot,{scope:e.__scopeSelect,children:a.jsx("div",{children:e.children})})}),i):null}return a.jsx(Vk,{...e,ref:t})});Ok.displayName=Ml;var Ja=10,[Hk,Mo]=PA(Ml),Bq="SelectContentImpl",Nq=xJ("SelectContent.RemoveScroll"),Vk=B.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:i,onPointerDownOutside:o,side:c,sideOffset:d,align:u,alignOffset:h,arrowPadding:m,collisionBoundary:p,collisionPadding:x,sticky:w,hideWhenDetached:g,avoidCollisions:b,...v}=e,N=Ro(Ml,r),[F,S]=B.useState(null),[E,D]=B.useState(null),T=sn(t,le=>S(le)),[k,I]=B.useState(null),[Y,ee]=B.useState(null),ie=f0(r),[W,ce]=B.useState(!1),we=B.useRef(!1);B.useEffect(()=>{if(F)return DJ(F)},[F]),PW();const ne=B.useCallback(le=>{const[ye,...xe]=ie().map(Pe=>Pe.ref.current),[be]=xe.slice(-1),Fe=document.activeElement;for(const Pe of le)if(Pe===Fe||(Pe==null||Pe.scrollIntoView({block:"nearest"}),Pe===ye&&E&&(E.scrollTop=0),Pe===be&&E&&(E.scrollTop=E.scrollHeight),Pe==null||Pe.focus(),document.activeElement!==Fe))return},[ie,E]),re=B.useCallback(()=>ne([k,F]),[ne,k,F]);B.useEffect(()=>{W&&re()},[W,re]);const{onOpenChange:X,triggerPointerDownPosRef:de}=N;B.useEffect(()=>{if(F){let le={x:0,y:0};const ye=be=>{var Fe,Pe;le={x:Math.abs(Math.round(be.pageX)-(((Fe=de.current)==null?void 0:Fe.x)??0)),y:Math.abs(Math.round(be.pageY)-(((Pe=de.current)==null?void 0:Pe.y)??0))}},xe=be=>{le.x<=10&&le.y<=10?be.preventDefault():F.contains(be.target)||X(!1),document.removeEventListener("pointermove",ye),de.current=null};return de.current!==null&&(document.addEventListener("pointermove",ye),document.addEventListener("pointerup",xe,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ye),document.removeEventListener("pointerup",xe,{capture:!0})}}},[F,X,de]),B.useEffect(()=>{const le=()=>X(!1);return window.addEventListener("blur",le),window.addEventListener("resize",le),()=>{window.removeEventListener("blur",le),window.removeEventListener("resize",le)}},[X]);const[ae,q]=i8(le=>{const ye=ie().filter(Fe=>!Fe.disabled),xe=ye.find(Fe=>Fe.ref.current===document.activeElement),be=o8(ye,le,xe);be&&setTimeout(()=>be.ref.current.focus())}),L=B.useCallback((le,ye,xe)=>{const be=!we.current&&!xe;(N.value!==void 0&&N.value===ye||be)&&(I(le),be&&(we.current=!0))},[N.value]),J=B.useCallback(()=>F==null?void 0:F.focus(),[F]),Q=B.useCallback((le,ye,xe)=>{const be=!we.current&&!xe;(N.value!==void 0&&N.value===ye||be)&&ee(le)},[N.value]),O=n==="popper"?zb:Kk,G=O===zb?{side:c,sideOffset:d,align:u,alignOffset:h,arrowPadding:m,collisionBoundary:p,collisionPadding:x,sticky:w,hideWhenDetached:g,avoidCollisions:b}:{};return a.jsx(Hk,{scope:r,content:F,viewport:E,onViewportChange:D,itemRefCallback:L,selectedItem:k,onItemLeave:J,itemTextRefCallback:Q,focusSelectedItem:re,selectedItemText:Y,position:n,isPositioned:W,searchRef:ae,children:a.jsx(Dk,{as:Nq,allowPinchZoom:!0,children:a.jsx(ZT,{asChild:!0,trapped:N.open,onMountAutoFocus:le=>{le.preventDefault()},onUnmountAutoFocus:wr(s,le=>{var ye;(ye=N.trigger)==null||ye.focus({preventScroll:!0}),le.preventDefault()}),children:a.jsx(YT,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:le=>le.preventDefault(),onDismiss:()=>N.onOpenChange(!1),children:a.jsx(O,{role:"listbox",id:N.contentId,"data-state":N.open?"open":"closed",dir:N.dir,onContextMenu:le=>le.preventDefault(),...v,...G,onPlaced:()=>ce(!0),ref:T,style:{display:"flex",flexDirection:"column",outline:"none",...v.style},onKeyDown:wr(v.onKeyDown,le=>{const ye=le.ctrlKey||le.altKey||le.metaKey;if(le.key==="Tab"&&le.preventDefault(),!ye&&le.key.length===1&&q(le.key),["ArrowUp","ArrowDown","Home","End"].includes(le.key)){let be=ie().filter(Fe=>!Fe.disabled).map(Fe=>Fe.ref.current);if(["ArrowUp","End"].includes(le.key)&&(be=be.slice().reverse()),["ArrowUp","ArrowDown"].includes(le.key)){const Fe=le.target,Pe=be.indexOf(Fe);be=be.slice(Pe+1)}setTimeout(()=>ne(be)),le.preventDefault()}})})})})})})});Vk.displayName=Bq;var Fq="SelectItemAlignedPosition",Kk=B.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...s}=e,i=Ro(Ml,r),o=Mo(Ml,r),[c,d]=B.useState(null),[u,h]=B.useState(null),m=sn(t,T=>h(T)),p=f0(r),x=B.useRef(!1),w=B.useRef(!0),{viewport:g,selectedItem:b,selectedItemText:v,focusSelectedItem:N}=o,F=B.useCallback(()=>{if(i.trigger&&i.valueNode&&c&&u&&g&&b&&v){const T=i.trigger.getBoundingClientRect(),k=u.getBoundingClientRect(),I=i.valueNode.getBoundingClientRect(),Y=v.getBoundingClientRect();if(i.dir!=="rtl"){const Fe=Y.left-k.left,Pe=I.left-Fe,it=T.left-Pe,et=T.width+it,cr=Math.max(et,k.width),pt=window.innerWidth-Ja,Me=DN(Pe,[Ja,Math.max(Ja,pt-cr)]);c.style.minWidth=et+"px",c.style.left=Me+"px"}else{const Fe=k.right-Y.right,Pe=window.innerWidth-I.right-Fe,it=window.innerWidth-T.right-Pe,et=T.width+it,cr=Math.max(et,k.width),pt=window.innerWidth-Ja,Me=DN(Pe,[Ja,Math.max(Ja,pt-cr)]);c.style.minWidth=et+"px",c.style.right=Me+"px"}const ee=p(),ie=window.innerHeight-Ja*2,W=g.scrollHeight,ce=window.getComputedStyle(u),we=parseInt(ce.borderTopWidth,10),ne=parseInt(ce.paddingTop,10),re=parseInt(ce.borderBottomWidth,10),X=parseInt(ce.paddingBottom,10),de=we+ne+W+X+re,ae=Math.min(b.offsetHeight*5,de),q=window.getComputedStyle(g),L=parseInt(q.paddingTop,10),J=parseInt(q.paddingBottom,10),Q=T.top+T.height/2-Ja,O=ie-Q,G=b.offsetHeight/2,le=b.offsetTop+G,ye=we+ne+le,xe=de-ye;if(ye<=Q){const Fe=ee.length>0&&b===ee[ee.length-1].ref.current;c.style.bottom="0px";const Pe=u.clientHeight-g.offsetTop-g.offsetHeight,it=Math.max(O,G+(Fe?J:0)+Pe+re),et=ye+it;c.style.height=et+"px"}else{const Fe=ee.length>0&&b===ee[0].ref.current;c.style.top="0px";const it=Math.max(Q,we+g.offsetTop+(Fe?L:0)+G)+xe;c.style.height=it+"px",g.scrollTop=ye-Q+g.offsetTop}c.style.margin=`${Ja}px 0`,c.style.minHeight=ae+"px",c.style.maxHeight=ie+"px",n==null||n(),requestAnimationFrame(()=>x.current=!0)}},[p,i.trigger,i.valueNode,c,u,g,b,v,i.dir,n]);Wn(()=>F(),[F]);const[S,E]=B.useState();Wn(()=>{u&&E(window.getComputedStyle(u).zIndex)},[u]);const D=B.useCallback(T=>{T&&w.current===!0&&(F(),N==null||N(),w.current=!1)},[F,N]);return a.jsx(Sq,{scope:r,contentWrapper:c,shouldExpandOnScrollRef:x,onScrollButtonChange:D,children:a.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S},children:a.jsx(xr.div,{...s,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});Kk.displayName=Fq;var jq="SelectPopperPosition",zb=B.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:s=Ja,...i}=e,o=m0(r);return a.jsx(mJ,{...o,...i,ref:t,align:n,collisionPadding:s,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});zb.displayName=jq;var[Sq,q1]=PA(Ml,{}),Jb="SelectViewport",Gk=B.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:n,...s}=e,i=Mo(Jb,r),o=q1(Jb,r),c=sn(t,i.onViewportChange),d=B.useRef(0);return a.jsxs(a.Fragment,{children:[a.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),a.jsx(h0.Slot,{scope:r,children:a.jsx(xr.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:wr(s.onScroll,u=>{const h=u.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:p}=o;if(p!=null&&p.current&&m){const x=Math.abs(d.current-h.scrollTop);if(x>0){const w=window.innerHeight-Ja*2,g=parseFloat(m.style.minHeight),b=parseFloat(m.style.height),v=Math.max(g,b);if(v<w){const N=v+x,F=Math.min(w,N),S=N-F;m.style.height=F+"px",m.style.bottom==="0px"&&(h.scrollTop=S>0?S:0,m.style.justifyContent="flex-end")}}}d.current=h.scrollTop})})})]})});Gk.displayName=Jb;var Wk="SelectGroup",[Eq,Tq]=PA(Wk),kq=B.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,s=Q1();return a.jsx(Eq,{scope:r,id:s,children:a.jsx(xr.div,{role:"group","aria-labelledby":s,...n,ref:t})})});kq.displayName=Wk;var zk="SelectLabel",Jk=B.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,s=Tq(zk,r);return a.jsx(xr.div,{id:s.id,...n,ref:t})});Jk.displayName=zk;var fp="SelectItem",[_q,qk]=PA(fp),$k=B.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:s=!1,textValue:i,...o}=e,c=Ro(fp,r),d=Mo(fp,r),u=c.value===n,[h,m]=B.useState(i??""),[p,x]=B.useState(!1),w=sn(t,N=>{var F;return(F=d.itemRefCallback)==null?void 0:F.call(d,N,n,s)}),g=Q1(),b=B.useRef("touch"),v=()=>{s||(c.onValueChange(n),c.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return a.jsx(_q,{scope:r,value:n,disabled:s,textId:g,isSelected:u,onItemTextChange:B.useCallback(N=>{m(F=>F||((N==null?void 0:N.textContent)??"").trim())},[]),children:a.jsx(h0.ItemSlot,{scope:r,value:n,disabled:s,textValue:h,children:a.jsx(xr.div,{role:"option","aria-labelledby":g,"data-highlighted":p?"":void 0,"aria-selected":u&&p,"data-state":u?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...o,ref:w,onFocus:wr(o.onFocus,()=>x(!0)),onBlur:wr(o.onBlur,()=>x(!1)),onClick:wr(o.onClick,()=>{b.current!=="mouse"&&v()}),onPointerUp:wr(o.onPointerUp,()=>{b.current==="mouse"&&v()}),onPointerDown:wr(o.onPointerDown,N=>{b.current=N.pointerType}),onPointerMove:wr(o.onPointerMove,N=>{var F;b.current=N.pointerType,s?(F=d.onItemLeave)==null||F.call(d):b.current==="mouse"&&N.currentTarget.focus({preventScroll:!0})}),onPointerLeave:wr(o.onPointerLeave,N=>{var F;N.currentTarget===document.activeElement&&((F=d.onItemLeave)==null||F.call(d))}),onKeyDown:wr(o.onKeyDown,N=>{var S;((S=d.searchRef)==null?void 0:S.current)!==""&&N.key===" "||(gq.includes(N.key)&&v(),N.key===" "&&N.preventDefault())})})})})});$k.displayName=fp;var $d="SelectItemText",Yk=B.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:s,...i}=e,o=Ro($d,r),c=Mo($d,r),d=qk($d,r),u=wq($d,r),[h,m]=B.useState(null),p=sn(t,v=>m(v),d.onItemTextChange,v=>{var N;return(N=c.itemTextRefCallback)==null?void 0:N.call(c,v,d.value,d.disabled)}),x=h==null?void 0:h.textContent,w=B.useMemo(()=>a.jsx("option",{value:d.value,disabled:d.disabled,children:x},d.value),[d.disabled,d.value,x]),{onNativeOptionAdd:g,onNativeOptionRemove:b}=u;return Wn(()=>(g(w),()=>b(w)),[g,b,w]),a.jsxs(a.Fragment,{children:[a.jsx(xr.span,{id:d.textId,...i,ref:p}),d.isSelected&&o.valueNode&&!o.valueNodeHasChildren?Zu.createPortal(i.children,o.valueNode):null]})});Yk.displayName=$d;var Xk="SelectItemIndicator",Zk=B.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return qk(Xk,r).isSelected?a.jsx(xr.span,{"aria-hidden":!0,...n,ref:t}):null});Zk.displayName=Xk;var qb="SelectScrollUpButton",e8=B.forwardRef((e,t)=>{const r=Mo(qb,e.__scopeSelect),n=q1(qb,e.__scopeSelect),[s,i]=B.useState(!1),o=sn(t,n.onScrollButtonChange);return Wn(()=>{if(r.viewport&&r.isPositioned){let c=function(){const u=d.scrollTop>0;i(u)};const d=r.viewport;return c(),d.addEventListener("scroll",c),()=>d.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),s?a.jsx(r8,{...e,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:d}=r;c&&d&&(c.scrollTop=c.scrollTop-d.offsetHeight)}}):null});e8.displayName=qb;var $b="SelectScrollDownButton",t8=B.forwardRef((e,t)=>{const r=Mo($b,e.__scopeSelect),n=q1($b,e.__scopeSelect),[s,i]=B.useState(!1),o=sn(t,n.onScrollButtonChange);return Wn(()=>{if(r.viewport&&r.isPositioned){let c=function(){const u=d.scrollHeight-d.clientHeight,h=Math.ceil(d.scrollTop)<u;i(h)};const d=r.viewport;return c(),d.addEventListener("scroll",c),()=>d.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),s?a.jsx(r8,{...e,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:d}=r;c&&d&&(c.scrollTop=c.scrollTop+d.offsetHeight)}}):null});t8.displayName=$b;var r8=B.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...s}=e,i=Mo("SelectScrollButton",r),o=B.useRef(null),c=f0(r),d=B.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return B.useEffect(()=>()=>d(),[d]),Wn(()=>{var h;const u=c().find(m=>m.ref.current===document.activeElement);(h=u==null?void 0:u.ref.current)==null||h.scrollIntoView({block:"nearest"})},[c]),a.jsx(xr.div,{"aria-hidden":!0,...s,ref:t,style:{flexShrink:0,...s.style},onPointerDown:wr(s.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(n,50))}),onPointerMove:wr(s.onPointerMove,()=>{var u;(u=i.onItemLeave)==null||u.call(i),o.current===null&&(o.current=window.setInterval(n,50))}),onPointerLeave:wr(s.onPointerLeave,()=>{d()})})}),Dq="SelectSeparator",n8=B.forwardRef((e,t)=>
vendor: 4,320 bytes, line 594
594{const{__scopeSelect:r,...n}=e;return a.jsx(xr.div,{"aria-hidden":!0,...n,ref:t})});n8.displayName=Dq;var Yb="SelectArrow",Uq=B.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,s=m0(r),i=Ro(Yb,r),o=Mo(Yb,r);return i.open&&o.position==="popper"?a.jsx(pJ,{...s,...n,ref:t}):null});Uq.displayName=Yb;var Iq="SelectBubbleInput",a8=B.forwardRef(({__scopeSelect:e,value:t,...r},n)=>{const s=B.useRef(null),i=sn(n,s),o=jJ(t);return B.useEffect(()=>{const c=s.current;if(!c)return;const d=window.HTMLSelectElement.prototype,h=Object.getOwnPropertyDescriptor(d,"value").set;if(o!==t&&h){const m=new Event("change",{bubbles:!0});h.call(c,t),c.dispatchEvent(m)}},[o,t]),a.jsx(xr.select,{...r,style:{...Bk,...r.style},ref:i,defaultValue:t})});a8.displayName=Iq;function s8(e){return e===""||e===void 0}function i8(e){const t=Ll(e),r=B.useRef(""),n=B.useRef(0),s=B.useCallback(o=>{const c=r.current+o;t(c),(function d(u){r.current=u,window.clearTimeout(n.current),u!==""&&(n.current=window.setTimeout(()=>d(""),1e3))})(c)},[t]),i=B.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return B.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,s,i]}function o8(e,t,r){const s=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=r?e.indexOf(r):-1;let o=Lq(e,Math.max(i,0));s.length===1&&(o=o.filter(u=>u!==r));const d=o.find(u=>u.textValue.toLowerCase().startsWith(s.toLowerCase()));return d!==r?d:void 0}function Lq(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var Pq=Uk,l8=Lk,Rq=Rk,Mq=Mk,Qq=Qk,c8=Ok,Oq=Gk,A8=Jk,d8=$k,Hq=Yk,Vq=Zk,u8=e8,h8=t8,f8=n8;const lo=Pq,co=Rq,Zs=B.forwardRef(({className:e,children:t,...r},n)=>a.jsxs(l8,{ref:n,className:yn("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...r,children:[t,a.jsx(Mq,{asChild:!0,children:a.jsx(Ia,{className:"h-4 w-4 opacity-50"})})]}));Zs.displayName=l8.displayName;const m8=B.forwardRef(({className:e,...t},r)=>a.jsx(u8,{ref:r,className:yn("flex cursor-default items-center justify-center py-1",e),...t,children:a.jsx(T3,{className:"h-4 w-4"})}));m8.displayName=u8.displayName;const p8=B.forwardRef(({className:e,...t},r)=>a.jsx(h8,{ref:r,className:yn("flex cursor-default items-center justify-center py-1",e),...t,children:a.jsx(Ia,{className:"h-4 w-4"})}));p8.displayName=h8.displayName;const ei=B.forwardRef(({className:e,children:t,position:r="popper",...n},s)=>a.jsx(Qq,{children:a.jsxs(c8,{ref:s,className:yn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,...n,children:[a.jsx(m8,{}),a.jsx(Oq,{className:yn("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),a.jsx(p8,{})]})}));ei.displayName=c8.displayName;const Kq=B.forwardRef(({className:e,...t},r)=>a.jsx(A8,{ref:r,className:yn("px-2 py-1.5 text-sm font-semibold",e),...t}));Kq.displayName=A8.displayName;const jn=B.forwardRef(({className:e,children:t,...r},n)=>a.jsxs(d8,{ref:n,className:yn("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:[a.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(Vq,{children:a.jsx(Fs,{className:"h-4 w-4"})})}),a.jsx(Hq,{children:t})]}));jn.displayName=d8.displayName;const Gq=B.forwardRef(({className:e,...t},r)=>a.jsx(f8,{ref:r,className:yn("-mx-1 my-1 h-px bg-muted",e),...t}));Gq.displayName=f8.displayName;
594const Wq=[{icon:Dr,title:"Choose Type",desc:"Select whether you're nominating a film or television production."},{icon:js,title:"Select Category",desc:"Browse our comprehensive category list and choose the most appropriate category."},{icon:Cu,title:"Provide Details",desc:"Submit nominee information, production details, and supporting materials."},{icon:an,title:"Confirmation",desc:"Receive confirmation and track your submission status."}];function zq(){const[e,t]=B.useState(0),[r,n]=B.useState({type:"",category:"",title:"",name:"",company:""});return a.jsxs("div",{className:"pt-24 lg:pt-28",children:[a.jsx("div",{className:"bg-[#1A1208] border-b border-[#C9A84C]/30",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 py-4 flex flex-col sm:flex-row items-center justify-between gap-3",children:[a.jsxs("div",{className:"flex items-center gap-3 text-center sm:text-left",children:[a.jsx(Gp,{className:"w-5 h-5 text-[#D4AF37] flex-shrink-0"}),a.jsxs("p",{className:"text-white text-sm font-medium",children:[a.jsx("span",{className:"text-[#D4AF37] font-bold",children:"NFA 2026 nominations are closed."})," Voting is now live â cast your vote for the 12th Annual National Film Awards."]})]}),a.jsxs("a",{href:"https://nationalfilmawards.co.uk/voting",className:"flex-shrink-0 inline-flex items-center gap-2 px-5 py-2 bg-[#D4AF37] text-white text-sm font-bold rounded-full hover:bg-[#B8941F] transition-colors whitespace-nowrap",children:["Vote Now ",a.jsx(bt,{className:"w-3.5 h-3.5"})]})]})}),a.jsx("section",{className:"py-20 bg-gradient-to-br from-[#FFFEF9] to-[#FFF9F0]",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center max-w-3xl mx-auto",children:[a.jsx(or,{className:"w-6 h-6 text-[#D4AF37] mx-auto mb-4"}),a.jsx("h1",{className:"font-editorial text-5xl sm:text-6xl lg:text-7xl font-bold text-[#2D2D2D] mb-6",children:"How to Nominate"}),a.jsx("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-[#D4AF37]/10 border border-[#D4AF37]/40 rounded-full mb-5",children:a.jsx("span",{className:"text-[#C9A84C] text-xs font-black tracking-[0.2em] uppercase",children:"Nominations Open for NFA 2027"})}),a.jsxs("p",{className:"text-[#5A5A5A] text-xl leading-relaxed",children:["Submit your nominations for the ",a.jsx("strong",{className:"text-[#2D2D2D]",children:"National Film Awards 2027"})," in four simple steps."]})]})})}),a.jsx("section",{className:"py-24 bg-white",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsx("div",{className:"grid md:grid-cols-4 gap-8 mb-20",children:Wq.map((s,i)=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:i*.1},className:"text-center",children:[a.jsx("div",{className:"w-16 h-16 rounded-full bg-[#D4AF37]/10 flex items-center justify-center mx-auto mb-5",children:a.jsx(s.icon,{className:"w-8 h-8 text-[#D4AF37]"})}),a.jsx("h3",{className:"font-editorial text-xl font-bold text-[#2D2D2D] mb-3",children:s.title}),a.jsx("p",{className:"text-[#5A5A5A] text-sm leading-relaxed",children:s.desc})]},s.title))}),a.jsxs("div",{className:"max-w-3xl mx-auto bg-[#F8F6F1] rounded-3xl p-8 lg:p-12",children:[a.jsx("h2",{className:"font-editorial text-3xl font-bold text-[#2D2D2D] mb-2",children:"Submit Nomination"}),a.jsx("p",{className:"text-[#8A7A5A] text-sm mb-8",children:"NFA 2027 â Nominations now open"}),e===0&&a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-sm font-bold uppercase tracking-wider text-[#5A5A5A] mb-3",children:"Type"}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("button",{onClick:()=>n({...r,type:"film"}),className:`p-6 rounded-xl border-2 transition-all ${r.type==="film"?"border-[#D4AF37] bg-[#D4AF37]/5":"border-[#D4AF37]/20 hover:border-[#D4AF37]/40"}`,children:[a.jsx(Dr,{className:"w-8 h-8 text-[#D4AF37] mx-auto mb-3"}),a.jsx("p",{className:"font-bold text-[#2D2D2D]",children:"Film"})]}),a.jsxs("button",{onClick:()=>n({...r,type:"tv"}),className:`p-6 rounded-xl border-2 transition-all ${r.type==="tv"?"border-[#D4AF37] bg-[#D4AF37]/5":"border-[#D4AF37]/20 hover:border-[#D4AF37]/40"}`,children:[a.jsx(ci,{className:"w-8 h-8 text-[#D4AF37] mx-auto mb-3"}),a.jsx("p",{className:"font-bold text-[#2D2D2D]",children:"Television"})]})]})]}),a.jsx(Zt,{onClick:()=>r.type&&t(1),disabled:!r.type,className:"w-full h-12 bg-[#D4AF37] hover:bg-[#B8941F] text-white font-bold rounded-xl",children:"Continue"})]}),e===1&&a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-sm font-bold uppercase tracking-wider text-[#5A5A5A] mb-3",children:"Category"}),a.jsxs(lo,{value:r.category,onValueChange:s=>n({...r,category:s}),children:[a.jsx(Zs,{className:"h-12 border-2 border-[#D4AF37]/20",children:a.jsx(co,{placeholder:"Select category"})}),a.jsxs(ei,{children:[a.jsx(jn,{value:"best-film",children:"Best Film"}),a.jsx(jn,{value:"best-director",children:"Best Director"}),a.jsx(jn,{value:"best-actor",children:"Best Actor"}),a.jsx(jn,{value:"best-actress",children:"Best Actress"})]})]})]}),a.jsxs("div",{className:"flex gap-3",children:[a.jsx(Zt,{onClick:()=>t(0),variant:"outline",className:"flex-1 h-12 border-2 border-[#D4AF37]/20",children:"Back"}),a.jsx(Zt,{onClick:()=>r.category&&t(2),disabled:!r.category,className:"flex-1 h-12 bg-[#D4AF37] hover:bg-[#B8941F] text-white font-bold",children:"Continue"})]})]}),e===2&&a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-sm font-bold uppercase tracking-wider text-[#5A5A5A] mb-3",children:"Production Title"}),a.jsx(Bt,{value:r.title,onChange:s=>n({...r,title:s.target.value}),className:"h-12 border-2 border-[#D4AF37]/20"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-sm font-bold uppercase tracking-wider text-[#5A5A5A] mb-3",children:"Nominee Name"}),a.jsx(Bt,{value:r.name,onChange:s=>n({...r,name:s.target.value}),className:"h-12 border-2 border-[#D4AF37]/20"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-sm font-bold uppercase tracking-wider text-[#5A5A5A] mb-3",children:"Production Company"}),a.jsx(Bt,{value:r.company,onChange:s=>n({...r,company:s.target.value}),className:"h-12 border-2 border-[#D4AF37]/20"})]}),a.jsxs("div",{className:"flex gap-3",children:[a.jsx(Zt,{onClick:()=>t(1),variant:"outline",className:"flex-1 h-12 border-2 border-[#D4AF37]/20",children:"Back"}),a.jsx(Zt,{onClick:()=>r.title&&r.name&&t(3),disabled:!r.title||!r.name,className:"flex-1 h-12 bg-[#D4AF37] hover:bg-[#B8941F] text-white font-bold",children:"Submit"})]})]}),e===3&&a.jsxs("div",{className:"text-center py-12",children:[a.jsx("div",{className:"w-20 h-20 rounded-full bg-[#D4AF37]/10 flex items-center justify-center mx-auto mb-6",children:a.jsx(an,{className:"w-10 h-10 text-[#D4AF37]"})}),a.jsx("h3",{className:"font-editorial text-3xl font-bold text-[#2D2D2D] mb-4",children:"Submission Received"}),a.jsx("p",{className:"text-[#5A5A5A] mb-8",children:"Your nomination has been successfully submitted for review."}),a.jsx(Zt,{onClick:()=>{t(0),n({type:"",category:"",title:"",name:"",company:""})},className:"bg-[#D4AF37] hover:bg-[#B8941F]",children:"Submit Another"})]})]})]})})]})}
594function Jq(){const[e,t]=B.useState(null),{data:r=[],isLoading:n}=vt({queryKey:["lifetime-achievement-all"],queryFn:()=>Ce.entities.LifetimeAchievement.list("-year"),initialData:[]});return a.jsxs("div",{className:"pt-20 lg:pt-24",children:[a.jsx("section",{className:"py-12 bg-[#FAFAF8]",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center",children:[a.jsx("h1",{className:"font-editorial text-4xl sm:text-5xl lg:text-6xl font-bold text-[#1A1A1A] mb-4",children:"Lifetime Achievement"}),a.jsx("p",{className:"text-[#8A8578] text-lg max-w-xl mx-auto",children:"Honouring cinema's greatest legends"})]})})}),a.jsx("section",{className:"py-16 bg-white",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:n?a.jsx("div",{className:"text-center py-20",children:a.jsx("p",{className:"text-[#5A5A5A]",children:"Loading recipients..."})}):a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:r.map((s,i)=>a.jsx(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:i*.1},children:a.jsx(He,{to:at("LifetimeAchievementDetail")+`?id=${s.id}`,className:"group block",children:a.jsxs("div",{className:"relative rounded-2xl overflow-hidden h-[500px]",children:[a.jsx("img",{src:s.hero_image,alt:s.name,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-black/10 to-transparent"}),a.jsxs("div",{className:"absolute bottom-8 left-6 right-6",children:[a.jsxs("span",{className:"text-[#C9A84C] text-xs font-sans-refined font-bold tracking-[0.2em] uppercase block mb-2",children:[s.year," Recipient"]}),a.jsx("h3",{className:"font-editorial text-2xl font-bold text-white",children:s.name}),s.role&&a.jsx("p",{className:"text-white/80 text-sm mt-1",children:s.role})]})]})})},s.id))})})}),a.jsx(Mt,{children:e&&a.jsx(V.div,{initial:{opacity:0}
594,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 bg-black/95 overflow-y-auto",onClick:()=>t(null),children:a.jsxs(V.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:s=>s.stopPropagation(),className:"min-h-screen",children:[a.jsxs("div",{className:"relative w-full h-screen",children:[a.jsx("img",{src:e.portrait,alt:e.name,className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black via-black/50 to-transparent"}),a.jsx("div",{className:"absolute inset-0 flex flex-col justify-end",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 pb-20",children:[a.jsxs("span",{className:"text-[#C9A84C] text-sm font-sans-refined font-bold tracking-[0.2em] uppercase block mb-4",children:[e.year," Lifetime Achievement Recipient"]}),a.jsx("h1",{className:"font-editorial text-5xl sm:text-6xl lg:text-7xl font-bold text-white mb-6",children:e.name}),a.jsxs("p",{className:"font-editorial text-xl lg:text-2xl italic text-white/90 max-w-3xl leading-relaxed",children:['"',e.quote,'"']})]})}),a.jsx("button",{onClick:()=>t(null),className:"fixed top-6 right-6 w-12 h-12 rounded-full bg-white/10 backdrop-blur-md flex items-center justify-center hover:bg-white/20 transition-colors z-10",children:a.jsx(tr,{className:"w-6 h-6 text-white"})})]}),a.jsx("div",{className:"bg-[#FAFAF8] py-20",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 mb-16",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-sm font-sans-refined font-bold tracking-[0.2em] uppercase text-[#C9A84C] mb-6",children:"Biography"}),a.jsx("p",{className:"text-[#8A8578] text-lg leading-relaxed mb-6",children:e.bio}),a.jsx("p",{className:"text-[#8A8578] text-lg leading-relaxed",children:e.career})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-sm font-sans-refined font-bold tracking-[0.2em] uppercase text-[#C9A84C] mb-6",children:"Key Achievements"}),a.jsx("ul",{className:"space-y-4",children:e.achievements.map(s=>a.jsxs("li",{className:"flex items-start gap-4 text-base text-[#8A8578]",children:[a.jsx("div",{className:"w-2 h-2 rounded-full bg-[#C9A84C] mt-2 flex-shrink-0"}),s]},s))})]})]}),a.jsx("h3",{className:"text-sm font-sans-refined font-bold tracking-[0.2em] uppercase text-[#C9A84C] mb-8",children:"Gallery"}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[e.image,e.portrait,e.image,e.portrait].map((s,i)=>a.jsx("div",{className:"aspect-square rounded-xl overflow-hidden",children:a.jsx("img",{src:s,alt:"",className:"w-full h-full object-cover"})},i))})]})})]})})})]})}function qq(){const[e]=Gw(),t=e.get("id"),{data:r,isLoading:n}=vt({queryKey:["lifetime-achievement",t],queryFn:async()=>(await Ce.entities.LifetimeAchievement.filter({id:t}))[0],enabled:!!t});return n?a.jsx("div",{className:"min-h-screen flex items-center justify-center",children:a.jsx("p",{className:"text-[#5A5A5A]",children:"Loading..."})}):r?a.jsxs("div",{className:"pt-24 lg:pt-28 min-h-screen bg-[#FFFEF9]",children:[a.jsxs("section",{className:"relative py-20 lg:py-32 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0",children:r.hero_image&&a.jsxs(a.Fragment,{children:[a.jsx("img",{src:r.hero_image,alt:r.name,className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#2D2D2D] via-[#2D2D2D]/70 to-transparent"})]})}),a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 relative",children:[a.jsxs(He,{to:at("LifetimeAchievement"),className:"inline-flex items-center gap-2 text-white/70 hover:text-white mb-12 transition-colors",children:[a.jsx(rn,{className:"w-4 h-4"}),"Back to Recipients"]}),a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"max-w-4xl",children:[a.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-white/10 backdrop-blur-sm rounded-full mb-6",children:[a.jsx(Kn,{className:"w-4 h-4 text-[#D4AF37]"}),a.jsx("span",{className:"text-[11px] font-bold tracking-[0.2em] uppercase text-white",children:"Lifetime Achievement Award"})]}),a.jsx("h1",{className:"font-editorial text-5xl lg:text-7xl font-bold text-white mb-6",children:r.name}),r.role&&a.jsx("p",{className:"text-[#F0D882] text-2xl lg:text-3xl mb-6",children:r.role}),a.jsxs("div",{className:"flex items-center gap-2 text-white/80 mb-8",children:[a.jsx(Qt,{className:"w-5 h-5 text-[#D4AF37]"}),a.jsxs("span",{className:"text-lg",children:[r.year," Recipient"]})]}),r.quote&&a.jsxs("blockquote",{className:"border-l-4 border-[#D4AF37] pl-6 py-4 text-white/90 text-xl lg:text-2xl italic",children:['"',r.quote,'"']})]})]})]}),r.short_bio&&a.jsx("section",{className:"py-20 bg-white",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:a.jsx("div",{className:"max-w-4xl mx-auto",children:a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-[#2D2D2D] mb-8",children:"Biography"}),a.jsx("div",{className:"prose prose-lg max-w-none",children:a.jsx("p",{className:"text-[#5A5A5A] text-lg leading-relaxed whitespace-pre-line",children:r.short_bio})})]})})})}),r.gallery_images&&r.gallery_images.length>0&&a.jsx("section",{className:"py-20 bg-[#FAFAF8]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-[#2D2D2D] mb-12",children:"Gallery"}),a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:r.gallery_images.map((s,i)=>a.jsx(V.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:i*.1},className:"rounded-2xl overflow-hidden shadow-lg hover:shadow-xl transition-all duration-300",children:a.jsx("img",{src:s,alt:`${r.name} - ${i+1}`,className:"w-full h-80 object-cover"})},i))})]})})]}):a.jsx("div",{className:"min-h-screen flex items-center justify-center",children:a.jsxs("div",{className:"text-center",children:[a.jsx("p",{className:"text-[#5A5A5A] mb-4",children:"Recipient not found"}),a.jsx(He,{to:at("LifetimeAchievement"),className:"text-[#D4AF37] hover:underline",children:"View all recipients"})]})})}const $q="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),Yq=["All","Actor","Actress","Director","Producer","Writer","Cinematographer","Composer","Other"];function Xq({filters:e,onChange:t,resultCount:r}){const{search:n,letter:s,profession:i,verifiedOnly:o}=e,c=(u,h)=>t({...e,[u]:h}),d=n||s!=="All"||i!=="All"||o;return a.jsxs("div",{className:"sticky top-[72px] z-30 bg-white border-b border-[#C9A84C]/10 shadow-sm",children:[a.jsxs("div",{className:"max-w-[1700px] mx-auto px-6 lg:px-12 py-4 flex flex-col sm:flex-row gap-3 items-start sm:items-center",children:[a.jsxs("div",{className:"relative flex-1 max-w-sm",children:[a.jsx(ks,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-4 h-4 text-[#8A8578]"}),a.jsx(Bt,{placeholder:"Search name, film, role...",value:n,onChange:u=>c("search",u.target.value),className:"pl-11 h-10 rounded-xl border-[#C9A84C]/20 text-sm"})]}),a.jsxs("div",{className:"flex gap-2 flex-wrap items-center",children:[Yq.map(u=>a.jsx("button",{onClick:()=>c("profession",u),className:`px-3 py-1.5 rounded-full text-[11px] font-bold uppercase tracking-wider transition-all ${i===u?"bg-[#C9A84C] text-white":"bg-[#f8f6f1] text-[#5A5A5A] hover:bg-[#C9A84C]/10"}`,children:u},u)),a.jsx("button",{onClick:()=>c("verifiedOnly",!o),className:`px-3 py-1.5 rounded-full text-[11px] font-bold uppercase tracking-wider transition-all flex items-center gap-1 ${o?"bg-[#0f3460] text-white":"bg-[#f8f6f1] text-[#5A5A5A] hover:bg-[#0f3460]/10"}`,children:"â
Verified Only"}),d&&a.jsxs("button",{onClick:()=>t({search:"",letter:"All",profession:"All",verifiedOnly:!1}),className:"flex items-center gap-1 text-xs text-red-400 hover:text-red-600 font-bold",children:[a.jsx(tr,{className:"w-3.5 h-3.5"})," Clear"]})]}),a.jsxs("p",{className:"text-[#8A8578] text-sm ml-auto whitespace-nowrap",children:[r," member",r!==1?"s":""]})]}),a.jsx("div",{className:"bg-[#faf9f6] border-t border-[#C9A84C]/8 py-2.5 overflow-x-auto",children:a.jsxs("div",{className:"max-w-[1700px] mx-auto px-6 lg:px-12 flex gap-0.5 min-w-max",children:[a.jsx("button",{onClick:()=>c("letter","All"),className:`px-3 py-1.5 rounded-lg text-[11px] font-black uppercase tracking-wider transition-all ${s==="All"?"bg-[#C9A84C] text-white":"text-[#8A8578] hover:text-[#C9A84C]"}`,children:"All"}),$q.map(u=>a.jsx("button",{onClick:()=>c("letter",u),className:`w-8 h-7 rounded-lg text-[11px] font-black transition-all ${s===u?"bg-[#C9A84C] text-white":"text-[#8A8578] hover:text-[#C9A84C]"}`,children:u},u))]})})]})}function Zq({profile:e,onSelect:t,onMessage:r,isOwn:n}){return a.jsxs(V.div,{whileHover:{y:-4,scale:1.02},className:"group bg-white rounded-2xl overflow-hidden shadow-sm border border-[#C9A84C]/10 hover:border-[#C9A84C]/40 hover:shadow-xl transition-all cursor-pointer",children:[a.jsxs("div",{className:"aspect-[3/4] overflow-hidden relative bg-gradient-to-br from-[#0f3460] to-[#1a1a2e]",onClick:()=>t(e),children:[e.profile_image?a.jsx("img",{src:e.profile_image,alt:e.name,className:"w-full h-full object-cover object-top group-hover:scale-105 transition-transform duration-700"}):a.jsx("div",{className:"w-full h-full flex items-center justify-center",children:a.jsx(vo,{className:"w-12 h-12 text-[#C9A84C]/30"})}),e.is_verified&&a.jsx("div",{className:"absolute top-3 right-3 w-7 h-7 bg-[#C9A84C] rounded-full flex items-center justify-center shadow-lg",children:a.jsx(It,{className:"w-3.5 h-3.5 text-white",f
594ill:"white"})}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent opacity-0 group-hover:opacity-100 transition-opacity"}),!n&&a.jsx("button",{onClick:s=>{s.stopPropagation(),r(e)},className:"absolute bottom-3 right-3 w-9 h-9 bg-[#C9A84C] rounded-full flex items-center justify-center shadow-lg opacity-0 group-hover:opacity-100 transition-all hover:bg-[#b8941f]",title:"Send message",children:a.jsx(_w,{className:"w-4 h-4 text-white"})})]}),a.jsxs("div",{className:"p-3",onClick:()=>t(e),children:[a.jsx("h3",{className:"font-editorial font-black text-[#1A1A1A] text-sm leading-tight",children:e.name}),a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black uppercase tracking-wider mt-0.5",children:e.profession}),e.nationality&&a.jsxs("p",{className:"text-[#8A8578] text-[10px] mt-1 flex items-center gap-1",children:[a.jsx(da,{className:"w-2.5 h-2.5"})," ",e.nationality]})]})]})}function e$({profile:e,onClose:t,onMessage:r,isOwn:n,isLoggedIn:s}){var o;const i=e.agent_name||e.agent_email||e.agency;return a.jsx(V.div,{initial:{opacity:0}
594,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[150] bg-black/70 backdrop-blur-sm flex items-center justify-center p-4",onClick:t,children:a.jsxs(V.div,{initial:{scale:.9,y:40},animate:{scale:1,y:0},exit:{scale:.9,y:40},transition:{type:"spring",stiffness:200,damping:20},className:"bg-white rounded-3xl shadow-2xl max-w-2xl w-full max-h-[90vh] overflow-y-auto",onClick:c=>c.stopPropagation(),children:[a.jsxs("div",{className:"relative h-64 bg-gradient-to-br from-[#0f3460] to-[#1a1a2e] overflow-hidden rounded-t-3xl flex-shrink-0",children:[e.profile_image&&a.jsx("img",{src:e.profile_image,alt:e.name,className:"w-full h-full object-cover object-top opacity-80"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#1A1A1A]/90 to-transparent"}),a.jsx("button",{onClick:t,className:"absolute top-4 right-4 w-10 h-10 bg-white/20 rounded-full flex items-center justify-center hover:bg-white/40 transition-all",children:a.jsx(tr,{className:"w-5 h-5 text-white"})}),a.jsx("div",{className:"absolute bottom-5 left-6 right-6",children:a.jsxs("div",{className:"flex items-start justify-between",children:[a.jsxs("div",{children:[e.is_verified&&a.jsxs("div",{className:"flex items-center gap-1.5 bg-[#C9A84C] px-3 py-1 rounded-full mb-2 w-fit",children:[a.jsx(It,{className:"w-3 h-3 text-white",fill:"white"}),a.jsx("span",{className:"text-white text-[10px] font-black uppercase tracking-wider",children:"NFA Verified"})]}),a.jsx("h2",{className:"font-editorial text-3xl sm:text-4xl font-black text-white",children:e.name}),a.jsxs("div",{className:"flex flex-wrap items-center gap-3 mt-1",children:[a.jsx("p",{className:"text-[#C9A84C] text-sm font-bold",children:e.profession}),e.nationality&&a.jsxs("p",{className:"text-white/60 text-sm flex items-center gap-1",children:[a.jsx(da,{className:"w-3 h-3"})," ",e.nationality]}),e.born_year&&a.jsxs("p",{className:"text-white/60 text-sm flex items-center gap-1",children:[a.jsx(Qt,{className:"w-3 h-3"})," b. ",e.born_year]})]})]}),s&&!n&&a.jsxs("button",{onClick:()=>r(e),className:"flex-shrink-0 flex items-center gap-2 px-4 py-2 bg-[#C9A84C] text-white text-xs font-bold rounded-full hover:bg-[#b8941f] transition-all",children:[a.jsx(_w,{className:"w-3.5 h-3.5"})," Message"]})]})})]}),a.jsxs("div",{className:"p-6 sm:p-8 space-y-6",children:[e.bio&&a.jsx("p",{className:"text-[#5A5A5A] leading-relaxed text-sm sm:text-base",children:e.bio}),((o=e.known_for)==null?void 0:o.length)>0&&a.jsxs("div",{children:[a.jsx("p",{className:"text-xs font-black uppercase tracking-wider text-[#1A1A1A] mb-3",children:"Known For"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:e.known_for.map((c,d)=>a.jsx("span",{className:"px-3 py-1.5 bg-[#C9A84C]/10 text-[#C9A84C] text-xs font-bold rounded-full",children:c},d))})]}),(e.social_imdb||e.social_instagram||e.social_website)&&a.jsxs("div",{className:"flex flex-wrap gap-3",children:[e.social_imdb&&a.jsxs("a",{href:e.social_imdb,target:"_blank",rel:"noopener",className:"flex items-center gap-1.5 px-4 py-2 bg-[#f5c518] text-black text-xs font-black rounded-full",children:[a.jsx(li,{className:"w-3 h-3"})," IMDb"]}),e.social_instagram&&a.jsxs("a",{href:e.social_instagram,target:"_blank",rel:"noopener",className:"flex items-center gap-1.5 px-4 py-2 bg-gradient-to-r from-[#833ab4] to-[#fd1d1d] text-white text-xs font-black rounded-full",children:[a.jsx(Vp,{className:"w-3 h-3"})," Instagram"]}),e.social_website&&a.jsxs("a",{href:e.social_website,target:"_blank",rel:"noopener",className:"flex items-center gap-1.5 px-4 py-2 bg-[#1A1A1A] text-white text-xs font-black rounded-full",children:[a.jsx(Gn,{className:"w-3 h-3"})," Website"]})]}),a.jsxs("div",{className:"bg-gradient-to-br from-[#0f3460]/8 to-[#C9A84C]/8 rounded-2xl border border-[#C9A84C]/20 p-5",children:[a.jsxs("div",{className:"flex items-center justify-between mb-3",children:[a.jsx("p",{className:"font-black text-[#1A1A1A] text-sm uppercase tracking-wider",children:"Agent / Manager Contact"}),a.jsxs("div",{className:"flex items-center gap-1.5 text-[#C9A84C]",children:[a.jsx(pi,{className:"w-3.5 h-3.5"}),a.jsx("span",{className:"text-[10px] font-black uppercase tracking-wider",children:"Premium"})]})]}),e.subscription_active&&i?a.jsxs("div",{className:"space-y-2 text-sm",children:[e.agency&&a.jsxs("p",{children:[a.jsx("span",{className:"font-bold text-[#1A1A1A]",children:"Agency:"})," ",a.jsx("span",{className:"text-[#5A5A5A]",children:e.agency})]}),e.agent_name&&a.jsxs("p",{children:[a.jsx("span",{className:"font-bold text-[#1A1A1A]",children:"Contact:"})," ",a.jsx("span",{className:"text-[#5A5A5A]",children:e.agent_name})]}),e.agent_email&&a.jsxs("p",{children:[a.jsx("span",{className:"font-bold text-[#1A1A1A]",children:"Email:"})," ",a.jsx("a",{href:`mailto:${e.agent_email}`,className:"text-[#C9A84C] underline",children:e.agent_email})]}),e.agent_phone&&a.jsxs("p",{children:[a.jsx("span",{className:"font-bold text-[#1A1A1A]",children:"Phone:"})," ",a.jsx("span",{className:"text-[#5A5A5A]",children:e.agent_phone})]})]}):a.jsxs("div",{className:"text-center py-2",children:[a.jsx("p",{className:"text-[#5A5A5A] text-sm mb-4",children:"Subscribe to reveal agent & manager contact details for booking enquiries."}),a.jsx("button",{className:"px-6 py-2.5 bg-[#C9A84C] text-white text-sm font-bold uppercase tracking-wider rounded-full hover:bg-[#b8941f] transition-all",children:"Unlock Contact â £9.99/mo"})]})]})]})]})})}function t$({recipient:e,sender:t,onClose:r}){var p;const[n,s]=B.useState(""),[i,o]=B.useState(""),[c,d]=B.useState(!1),[u,h]=B.useState(!1),m=async x=>{x.preventDefault(),i.trim()&&(d(!0),await Ce.entities.Message.create({from_email:t.email,from_name:t.full_name,to_email:e.agent_email||e.id,to_profile_id:e.id,subject:n||`Message from ${t.full_name}`,body:i,is_read:!1}),d(!1),h(!0))};return a.jsx(V.div,{initial:{opacity:0}
594,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[200] bg-black/70 backdrop-blur-sm flex items-center justify-center p-4",onClick:r,children:a.jsxs(V.div,{initial:{scale:.9,y:30},animate:{scale:1,y:0},exit:{scale:.9,y:30},transition:{type:"spring",stiffness:220,damping:22},className:"bg-white rounded-3xl shadow-2xl max-w-md w-full p-8",onClick:x=>x.stopPropagation(),children:[a.jsx("button",{onClick:r,className:"absolute top-4 right-4 w-9 h-9 bg-[#f8f6f1] rounded-full flex items-center justify-center hover:bg-[#ede9e0]",children:a.jsx(tr,{className:"w-4 h-4 text-[#5A5A5A]"})}),u?a.jsxs("div",{className:"text-center py-6",children:[a.jsx("div",{className:"w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4",children:a.jsx(an,{className:"w-8 h-8 text-green-500"})}),a.jsx("h3",{className:"font-editorial text-2xl font-black text-[#1A1A1A] mb-2",children:"Message Sent!"}),a.jsxs("p",{className:"text-[#5A5A5A] text-sm",children:["Your message to ",a.jsx("span",{className:"font-bold text-[#1A1A1A]",children:e.name})," has been delivered."]}),a.jsx("button",{onClick:r,className:"mt-6 px-6 py-2.5 bg-[#C9A84C] text-white font-bold text-sm rounded-full hover:bg-[#b8941f] transition-all",children:"Done"})]}):a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[a.jsx("div",{className:"w-12 h-12 rounded-full overflow-hidden bg-[#0f3460] flex-shrink-0",children:e.profile_image?a.jsx("img",{src:e.profile_image,alt:e.name,className:"w-full h-full object-cover object-top"}):a.jsx("div",{className:"w-full h-full flex items-center justify-center text-white font-bold text-lg",children:(p=e.name)==null?void 0:p[0]})}),a.jsxs("div",{children:[a.jsx("p",{className:"text-xs text-[#8A8578]",children:"Message to"}),a.jsx("p",{className:"font-editorial font-black text-[#1A1A1A] text-lg",children:e.name}),a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black uppercase tracking-wider",children:e.profession})]})]}),a.jsxs("form",{onSubmit:m,className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-black uppercase tracking-wider text-[#1A1A1A] mb-1.5",children:"Subject"}),a.jsx(Bt,{value:n,onChange:x=>s(x.target.value),placeholder:"e.g. Collaboration enquiry",className:"h-10 rounded-xl border-[#C9A84C]/20 text-sm"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-black uppercase tracking-wider text-[#1A1A1A] mb-1.5",children:"Message *"}),a.jsx("textarea",{required:!0,value:i,onChange:x=>o(x.target.value),placeholder:"Write your message...",className:"w-full rounded-xl border border-[#C9A84C]/20 p-3 text-sm text-[#1A1A1A] h-32 resize-none focus:outline-none focus:ring-2 focus:ring-[#C9A84C]/30"})]}),a.jsxs("button",{type:"submit",disabled:c||!i.trim(),className:"w-full py-3 bg-[#C9A84C] text-white font-bold text-sm uppercase tracking-wider rounded-xl hover:bg-[#b8941f] transition-all flex items-center justify-center gap-2 disabled:opacity-50",children:[a.jsx(or,{className:"w-4 h-4"}),c?"Sendingâ¦":"Send Message"]})]})]})]})})}function is(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function Ql(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const g8=6048e5,r$=864e5;let n$={};function p0(){return n$}function Uu(e,t){var c,d,u,h;const r=p0(),n=(t==null?void 0:t.weekStartsOn)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.weekStartsOn)??r.weekStartsOn??((h=(u=r.locale)==null?void 0:u.options)==null?void 0:h.weekStartsOn)??0,s=is(e),i=s.getDay(),o=(i<n?7:0)+i-n;return s.setDate(s.getDate()-o),s.setHours(0,0,0,0),s}function mp(e){return Uu(e,{weekStartsOn:1})}function x8(e){const t=is(e),r=t.getFullYear(),n=Ql(e,0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);const s=mp(n),i=Ql(e,0);i.setFullYear(r,0,4),i.setHours(0,0,0,0);const o=mp(i);return t.getTime()>=s.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function sF(e){const t=is(e);return t.setHours(0,0,0,0),t}function iF(e){const t=is(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function a$(e,t){const r=sF(e),n=sF(t),s=+r-iF(r),i=+n-iF(n);return Math.round((s-i)/r$)}function s$(e){const t=x8(e),r=Ql(e,0);return r.setFullYear(t,0,4),r.setHours(0,0,0,0),mp(r)}function i$(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function o$(e){if(!i$(e)&&typeof e!="number")return!1;const t=is(e);return!isNaN(Number(t))}function l$(e){const t=is(e),r=Ql(e,0);return r.setFullYear(t.getFullYear(),0,1),r.setHours(0,0,0,0),r}const c$={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},A$=(e,t,r)=>{let n;const s=c$[e];return typeof s=="string"?n=s:t===1?n=s.one:n=s.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function ly(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const d$={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},u$={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},h$={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},f$={date:ly({formats:d$,defaultWidth:"full"}),time:ly({formats:u$,defaultWidth:"full"}),dateTime:ly({formats:h$,defaultWidth:"full"})},m$={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},p$=(e,t,r,n)=>m$[e];function Id(e){return(t,r)=>{const n=r!=null&&r.context?String(r.context):"standalone";let s;if(n==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,c=r!=null&&r.width?String(r.width):o;s=e.formattingValues[c]||e.formattingValues[o]}else{const o=e.defaultWidth,c=r!=null&&r.width?String(r.width):e.defaultWidth;s=e.values[c]||e.values[o]}const i=e.argumentCallback?e.argumentCallback(t):t;return s[i]}}const g$={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},x$={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},y$={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},b$={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
594ay","Saturday"]},w$={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},v$={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},C$=(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},B$={ordinalNumber:C$,era:Id({values:g$,defaultWidth:"wide"}),quarter:Id({values:x$,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Id({values:y$,defaultWidth:"wide"}),day:Id({values:b$,defaultWidth:"wide"}),dayPeriod:Id({values:w$,defaultWidth:"wide",formattingValues:v$,defaultFormattingWidth:"wide"})};function Ld(e){return(t,r={})=>{const n=r.width,s=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(s);if(!i)return null;const o=i[0],c=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(c)?F$(c,m=>m.test(o)):N$(c,m=>m.test(o));let u;u=e.valueCallback?e.valueCallback(d):d,u=r.valueCallback?r.valueCallback(u):u;const h=t.slice(o.length);return{value:u,rest:h}}}function N$(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function F$(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function j$(e){return(t,r={})=>{const n=t.match(e.matchPattern);if(!n)return null;const s=n[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;const c=t.slice(s.length);return{value:o,rest:c}}}const S$=/^(\d+)(th|st|nd|rd)?/i,E$=/\d+/i,T$={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},k$={any:[/^b/i,/^(a|c)/i]},_$={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},D$={any:[/1/i,/2/i,/3/i,/4/i]},U$={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},I$={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},L$={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},P$={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},R$={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},M$={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Q$={ordinalNumber:j$({matchPattern:S$,parsePattern:E$,valueCallback:e=>parseInt(e,10)}),era:Ld({matchPatterns:T$,defaultMatchWidth:"wide",parsePatterns:k$,defaultParseWidth:"any"}),quarter:Ld({matchPatterns:_$,defaultMatchWidth:"wide",parsePatterns:D$,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ld({matchPatterns:U$,defaultMatchWidth:"wide",parsePatterns:I$,defaultParseWidth:"any"}),day:Ld({matchPatterns:L$,defaultMatchWidth:"wide",parsePatterns:P$,defaultParseWidth:"any"}),dayPeriod:Ld({matchPatterns:R$,defaultMatchWidth:"any",parsePatterns:M$,defaultParseWidth:"any"})},O$={code:"en-US",formatDistance:A$,formatLong:f$,formatRelative:p$,localize:B$,match:Q$,options:{weekStartsOn:0,firstWeekContainsDate:1}};function H$(e){const t=is(e);return a$(t,l$(t))+1}function V$(e){const t=is(e),r=+mp(t)-+s$(t);return Math.round(r/g8)+1}function y8(e,t){var h,m,p,x;const r=is(e),n=r.getFullYear(),s=p0(),i=(t==null?void 0:t.firstWeekContainsDate)??((m=(
vendor: 10,763 bytes, line 594
594h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??s.firstWeekContainsDate??((x=(p=s.locale)==null?void 0:p.options)==null?void 0:x.firstWeekContainsDate)??1,o=Ql(e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);const c=Uu(o,t),d=Ql(e,0);d.setFullYear(n,0,i),d.setHours(0,0,0,0);const u=Uu(d,t);return r.getTime()>=c.getTime()?n+1:r.getTime()>=u.getTime()?n:n-1}function K$(e,t){var c,d,u,h;const r=p0(),n=(t==null?void 0:t.firstWeekContainsDate)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??r.firstWeekContainsDate??((h=(u=r.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??1,s=y8(e,t),i=Ql(e,0);return i.setFullYear(s,0,n),i.setHours(0,0,0,0),Uu(i,t)}function G$(e,t){const r=is(e),n=+Uu(r,t)-+K$(r,t);return Math.round(n/g8)+1}function St(e,t){const r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}const Ki={y(e,t){const r=e.getFullYear(),n=r>0?r:1-r;return St(t==="yy"?n%100:n,t.length)},M(e,t){const r=e.getMonth();return t==="M"?String(r+1):St(r+1,2)},d(e,t){return St(e.getDate(),t.length)},a(e,t){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return St(e.getHours()%12||12,t.length)},H(e,t){return St(e.getHours(),t.length)},m(e,t){return St(e.getMinutes(),t.length)},s(e,t){return St(e.getSeconds(),t.length)},S(e,t){const r=t.length,n=e.getMilliseconds(),s=Math.trunc(n*Math.pow(10,r-3));return St(s,t.length)}},Dc={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},oF={G:function(e,t,r){const n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){const n=e.getFullYear(),s=n>0?n:1-n;return r.ordinalNumber(s,{unit:"year"})}return Ki.y(e,t)},Y:function(e,t,r,n){const s=y8(e,n),i=s>0?s:1-s;if(t==="YY"){const o=i%100;return St(o,2)}return t==="Yo"?r.ordinalNumber(i,{unit:"year"}):St(i,t.length)},R:function(e,t){const r=x8(e);return St(r,t.length)},u:function(e,t){const r=e.getFullYear();return St(r,t.length)},Q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return St(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return St(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){const n=e.getMonth();switch(t){case"M":case"MM":return Ki.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){const n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return St(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){const s=G$(e,n);return t==="wo"?r.ordinalNumber(s,{unit:"week"}):St(s,t.length)},I:function(e,t,r){const n=V$(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):St(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):Ki.d(e,t)},D:function(e,t,r){const n=H$(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):St(n,t.length)},E:function(e,t,r){const n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){const s=e.getDay(),i=(s-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return St(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(s,{width:"short",context:"formatting"});case"eeee":default:return r.day(s,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){const s=e.getDay(),i=(s-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return St(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(s,{width:"narrow",context:"standalone"});case"cccccc":return r.day(s,{width:"short",context:"standalone"});case"cccc":default:return r.day(s,{width:"wide",context:"standalone"})}},i:function(e,t,r){const n=e.getDay(),s=n===0?7:n;switch(t){case"i":return String(s);case"ii":return St(s,t.length);case"io":return r.ordinalNumber(s,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){const s=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(e,t,r){const n=e.getHours();let s;switch(n===12?s=Dc.noon:n===0?s=Dc.midnight:s=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(e,t,r){const n=e.getHours();let s;switch(n>=17?s=Dc.evening:n>=12?s=Dc.afternoon:n>=4?s=Dc.morning:s=Dc.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return Ki.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):Ki.H(e,t)},K:function(e,t,r){const n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):St(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):St(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):Ki.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):Ki.s(e,t)},S:function(e,t){return Ki.S(e,t)},X:function(e,t,r){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return cF(n);case"XXXX":case"XX":return Al(n);case"XXXXX":case"XXX":default:return Al(n,":")}},x:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"x":return cF(n);case"xxxx":case"xx":return Al(n);case"xxxxx":case"xxx":default:return Al(n,":")}},O:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+lF(n,":");case"OOOO":default:return"GMT"+Al(n,":")}},z:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+lF(n,":");case"zzzz":default:return"GMT"+Al(n,":")}},t:function(e,t,r){const n=Math.trunc(e.getTime()/1e3);return St(n,t.length)},T:function(e,t,r){const n=e.getTime();return St(n,t.length)}};function lF(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),s=Math.trunc(n/60),i=n%60;return i===0?r+String(s):r+String(s)+t+St(i,2)}function cF(e,t){return e%60===0?(e>0?"-":"+")+St(Math.abs(e)/60,2):Al(e,t)}function Al(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),s=St(Math.trunc(n/60),2),i=St(n%60,2);return r+s+t+i}const AF=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},b8=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},W$=(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],n=r[1],s=r[2];if(!s)return AF(e,t);let i;switch(n){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",AF(n,t)).replace("{{time}}",b8(s,t))},z$={p:b8,P:W$},J$=/^D+$/,q$=/^Y+$/,$$=["D","DD","YY","YYYY"];function Y$(e){return J$.test(e)}function X$(e){return q$.test(e)}function Z$(e,t,r){const n=eY(e,t,r);if(console.warn(n),$$.includes(e))throw new RangeError(n)}function eY(e,t,r){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const tY=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,rY=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,nY=/^'([^]*?)'?$/,aY=/''/g,sY=/[a-zA-Z]/;function iY(e,t,r){var h,m,p,x;const n=p0(),s=n.locale??O$,i=n.firstWeekContainsDate??((m=(h=n.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??1,o=n.weekStartsOn??((x=(p=n.locale)==null?void 0:p.options)==null?void 0:x.weekStartsOn)??0,c=is(e);if(!o$(c))throw new RangeError("Invalid time value");let d=t.match(rY).map(w=>{const g=w[0];if(g==="p"||g==="P"){const b=z$[g];return b(w,s.formatLong)}return w}).join("").match(tY).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const g=w[0];if(g==="'")return{isToken:!1,value:oY(w)};if(oF[g])return{isToken:!0,value:w};
594if(g.match(sY))throw new RangeError("Format string contains an unescaped latin alphabet character `"+g+"`");return{isToken:!1,value:w}});s.localize.preprocessor&&(d=s.localize.preprocessor(c,d));const u={firstWeekContainsDate:i,weekStartsOn:o,locale:s};return d.map(w=>{if(!w.isToken)return w.value;const g=w.value;(X$(g)||Y$(g))&&Z$(g,t,String(e));const b=oF[g[0]];return b(c,g,s.localize,u)}).join("")}function oY(e){const t=e.match(nY);return t?t[1].replace(aY,"'"):e}function lY({message:e,onBack:t}){const r=Do();return Pt.useEffect(()=>{e.is_read||Ce.entities.Message.update(e.id,{is_read:!0}).then(()=>{r.invalidateQueries(["inbox"]),r.invalidateQueries(["unread-messages"])})},[e.id]),a.jsxs("div",{className:"flex flex-col h-full",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[a.jsx("button",{onClick:t,className:"w-9 h-9 rounded-full bg-[#f8f6f1] flex items-center justify-center hover:bg-[#ede9e0]",children:a.jsx(rn,{className:"w-4 h-4 text-[#5A5A5A]"})}),a.jsxs("div",{children:[a.jsx("p",{className:"font-bold text-[#1A1A1A] text-sm",children:e.subject||"No subject"}),a.jsxs("p",{className:"text-[#8A8578] text-xs",children:["From: ",e.from_name||e.from_email]})]})]}),a.jsx("div",{className:"bg-[#f8f6f1] rounded-2xl p-5 text-sm text-[#5A5A5A] leading-relaxed flex-1",children:e.body}),a.jsx("p",{className:"text-[#8A8578] text-xs mt-4 text-right",children:e.created_date?iY(new Date(e.created_date),"d MMM yyyy, HH:mm"):""})]})}function cY({user:e,onClose:t}){const[r,n]=B.useState(null),{data:s=[]}=vt({queryKey:["inbox",e.email],queryFn:()=>Ce.entities.Message.filter({to_email:e.email},"-created_date",50),initialData:[]});return a.jsx(V.div,{initial:{opacity:0}
594,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[200] bg-black/60 backdrop-blur-sm flex items-stretch justify-end",onClick:t,children:a.jsxs(V.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",stiffness:260,damping:28},className:"bg-white w-full max-w-md h-full shadow-2xl flex flex-col",onClick:i=>i.stopPropagation(),children:[a.jsxs("div",{className:"p-6 border-b border-[#C9A84C]/10 flex items-center justify-between flex-shrink-0",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"font-editorial text-2xl font-black text-[#1A1A1A]",children:"Inbox"}),a.jsxs("p",{className:"text-[#8A8578] text-sm",children:[s.length," message",s.length!==1?"s":""]})]}),a.jsx("button",{onClick:t,className:"w-10 h-10 bg-[#f8f6f1] rounded-full flex items-center justify-center hover:bg-[#ede9e0]",children:a.jsx(tr,{className:"w-5 h-5 text-[#5A5A5A]"})})]}),a.jsx("div",{className:"flex-1 overflow-y-auto p-6",children:r?a.jsx(lY,{message:r,onBack:()=>n(null)}):s.length===0?a.jsxs("div",{className:"text-center py-16",children:[a.jsx(En,{className:"w-10 h-10 text-[#C9A84C]/30 mx-auto mb-3"}),a.jsx("p",{className:"text-[#8A8578] font-bold",children:"No messages yet"}),a.jsx("p",{className:"text-[#8A8578] text-sm mt-1",children:"Messages from other members will appear here"})]}):a.jsx("div",{className:"space-y-2",children:s.map(i=>{var o,c;return a.jsxs("button",{onClick:()=>n(i),className:`w-full text-left flex items-start gap-3 p-4 rounded-2xl border transition-all hover:shadow-md ${i.is_read?"bg-white border-[#C9A84C]/10":"bg-[#C9A84C]/5 border-[#C9A84C]/25"}`,children:[a.jsx("div",{className:"w-9 h-9 rounded-full bg-[#0f3460] flex-shrink-0 flex items-center justify-center text-white text-sm font-black mt-0.5",children:(c=(o=i.from_name||i.from_email)==null?void 0:o[0])==null?void 0:c.toUpperCase()}),a.jsxs("div",{className:"flex-1 min-w-0",children:[a.jsxs("div",{className:"flex items-center justify-between mb-0.5",children:[a.jsx("p",{className:`text-sm font-bold truncate ${i.is_read?"text-[#5A5A5A]":"text-[#1A1A1A]"}`,children:i.from_name||i.from_email}),!i.is_read&&a.jsx("span",{className:"w-2 h-2 bg-[#C9A84C] rounded-full flex-shrink-0 ml-2"})]}),a.jsx("p",{className:`text-xs mb-1 ${i.is_read?"text-[#8A8578]":"text-[#1A1A1A] font-semibold"}`,children:i.subject||"No subject"}),a.jsx("p",{className:"text-[#8A8578] text-xs truncate",children:i.body})]}),a.jsx(es,{className:"w-4 h-4 text-[#8A8578] flex-shrink-0 mt-1"})]},i.id)})})})]})})}const AY=[{id:"s1",name:"Daniel Craig",profession:"Actor",nationality:"British",born_year:1968,bio:"Best known for his portrayal of James Bond, Daniel Craig is one of Britain's most acclaimed actors.",known_for:["Casino Royale","Spectre","No Time to Die"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/8/87/Daniel_Craig_in_2012.jpg/440px-Daniel_Craig_in_2012.jpg",is_verified:!0},{id:"s2",name:"Keira Knightley",profession:"Actress",nationality:"British",born_year:1985,bio:"Award-winning British actress known for her roles in period dramas and blockbuster films.",known_for:["Pirates of the Caribbean","Pride & Prejudice","Atonement"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Keira_Knightley_2013.jpg/440px-Keira_Knightley_2013.jpg",is_verified:!0},{id:"s3",name:"Idris Elba",profession:"Actor",nationality:"British",born_year:1972,bio:"Versatile British actor renowned for The Wire, Luther, and his commanding screen presence.",known_for:["The Wire","Luther","Beasts of No Nation"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/0/09/Idris_Elba-5551_crop.jpg/440px-Idris_Elba-5551_crop.jpg",is_verified:!0},{id:"s4",name:"Kate Winslet",profession:"Actress",nationality:"British",born_year:1975,bio:"Academy Award and BAFTA winning actress celebrated for her extraordinary range.",known_for:["Titanic","The Reader","Eternal Sunshine"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/6/60/Kate_Winslet_2023.jpg/440px-Kate_Winslet_2023.jpg",is_verified:!0},{id:"s5",name:"Tom Hardy",profession:"Actor",nationality:"British",born_year:1977,bio:"Critically acclaimed actor known for transformative performances across a diverse range of roles.",known_for:["Mad Max: Fury Road","Venom","The Dark Knight Rises"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Tom_Hardy_by_Gage_Skidmore.jpg/440px-Tom_Hardy_by_Gage_Skidmore.jpg",is_verified:!0},{id:"s6",name:"Emma Thompson",profession:"Actress",nationality:"British",born_year:1959,b
594io:"Dual Academy Award winner â one of Britain's greatest acting talents.",known_for:["Howards End","Sense and Sensibility","Nanny McPhee"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/9/94/Emma_Thompson_2018.jpg/440px-Emma_Thompson_2018.jpg",is_verified:!0},{id:"s7",name:"Chiwetel Ejiofor",profession:"Actor",nationality:"British",born_year:1977,bio:"BAFTA-winning actor and director, celebrated for 12 Years a Slave and much more.",known_for:["12 Years a Slave","Kinky Boots","Doctor Strange"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/3/34/Chiwetel_Ejiofor_in_2014.jpg/440px-Chiwetel_Ejiofor_in_2014.jpg",is_verified:!0},{id:"s8",name:"Judi Dench",profession:"Actress",nationality:"British",born_year:1934,bio:"Dame Judi Dench is one of Britain's most celebrated and decorated screen talents.",known_for:["Shakespeare in Love","Iris","Notes on a Scandal"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/d/d8/Judi_Dench_at_the_2009_Cannes_Film_Festival.jpg/440px-Judi_Dench_at_the_2009_Cannes_Film_Festival.jpg",is_verified:!0},{id:"s9",name:"Gary Oldman",profession:"Actor",nationality:"British",born_year:1958,bio:"Academy Award-winning character actor revered for complete disappearance into every role.",known_for:["Darkest Hour","Tinker Tailor Soldier Spy","Harry Potter"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gary_Oldman_at_the_San_Diego_Comic-Con_2013.jpg/440px-Gary_Oldman_at_the_San_Diego_Comic-Con_2013.jpg",is_verified:!0},{id:"s10",name:"Colin Firth",profession:"Actor",nationality:"British",born_year:1960,bio:"Academy Award-winning actor known for poise, charm and extraordinary dramatic range.",known_for:["The King's Speech","Bridget Jones's Diary","Mamma Mia!"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Colin_Firth_TIFF_2011.jpg/440px-Colin_Firth_TIFF_2011.jpg",is_verified:!0},{id:"s11",name:"Helena Bonham Carter",profession:"Actress",nationality:"British",born_year:1966,bio:"Iconic British actress celebrated for fearless eccentricity and dramatic depth.",known_for:["The King's Speech","Fight Club","Harry Potter"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Helena_Bonham_Carter_at_the_BAFTAs%2C_2011.jpg/440px-Helena_Bonham_Carter_at_the_BAFTAs%2C_2011.jpg",is_verified:!0},{id:"s12",name:"Cate Blanchett",profession:"Actress",nationality:"British",born_year:1969,bio:"Two-time Academy Award winner known for breathtaking versatility and screen authority.",known_for:["Blue Jasmine","The Aviator","Elizabeth"],profile_image:"https://upload.wikimedia.org/wikipedia/commons/thumb/7/7a/Cate_Blanchett_Cannes_2018.jpg/440px-Cate_Blanchett_Cannes_2018.jpg",is_verified:!0}];
594function dY(){const[e,t]=B.useState({search:"",letter:"All",profession:"All",verifiedOnly:!1}),[r,n]=B.useState(null),[s,i]=B.useState(null),[o,c]=B.useState(!1),[d,u]=B.useState("grid"),{data:h}=vt({queryKey:["dir-user"],queryFn:()=>Ce.auth.me(),retry:!1}),{data:m=[]}=vt({queryKey:["registry-profiles"],queryFn:()=>Ce.entities.RegistryProfile.list("name"),initialData:[]}),{data:p=[]}=vt({queryKey:["unread-messages",h==null?void 0:h.email],queryFn:()=>Ce.entities.Message.filter({to_email:h==null?void 0:h.email,is_read:!1}),enabled:!!h,initialData:[]}),x=m.length>0?m:AY,w=B.useMemo(()=>x.filter(v=>{var T,k,I;const N=e.search.toLowerCase(),F=!N||v.name.toLowerCase().includes(N)||((T=v.bio)==null?void 0:T.toLowerCase().includes(N))||((k=v.known_for)==null?void 0:k.some(Y=>Y.toLowerCase().includes(N)))||((I=v.nationality)==null?void 0:I.toLowerCase().includes(N)),S=e.letter==="All"||v.name.toUpperCase().startsWith(e.letter),E=e.profession==="All"||v.profession===e.profession,D=!e.verifiedOnly||v.is_verified;return F&&S&&E&&D}),[x,e]),g=B.useMemo(()=>{const v={};return w.forEach(N=>{const F=N.name[0].toUpperCase();v[F]||(v[F]=[]),v[F].push(N)}),Object.entries(v).sort(([N],[F])=>N.localeCompare(F))},[w]),b=v=>{if(!h){Ce.auth.redirectToLogin(window.location.href);return}i(v)};return a.jsxs("div",{className:"pt-24 lg:pt-28 min-h-screen bg-[#FFFEF9]",children:[a.jsxs("section",{className:"relative py-16 bg-gradient-to-br from-[#0a0a14] via-[#0f3460] to-[#1a1a2e] overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 opacity-10",children:a.jsx("div",{className:"absolute top-1/2 left-1/3 w-[500px] h-[500px] rounded-full bg-[#C9A84C] blur-3xl"})}),a.jsxs("div",{className:"relative max-w-[1700px] mx-auto px-6 lg:px-12",children:[a.jsxs("div",{className:"flex flex-col lg:flex-row items-start lg:items-center justify-between gap-6",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},children:[a.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[a.jsx($t,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.4em] uppercase",children:"Academy Members"})]}),a.jsxs("h1",{className:"font-editorial text-4xl sm:text-6xl font-black text-white leading-tight mb-3",children:["Member",a.jsx("br",{}),a.jsx("span",{style:{WebkitTextStroke:"2px #C9A84C",color:"transparent"},children:"Directory"})]}),a.jsx("p",{className:"text-white/60 text-base max-w-lg",children:"Connect with fellow NFA Academy members â search, discover, and collaborate with British screen talent."})]}),a.jsxs(V.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.2},className:"flex items-center gap-3",children:[h&&a.jsxs("button",{onClick:()=>c(!0),className:"relative flex items-center gap-2 px-5 py-3 bg-white/10 hover:bg-white/20 text-white text-sm font-bold rounded-full border border-white/20 transition-all",children:[a.jsx(nI,{className:"w-4 h-4"}),"Inbox",p.length>0&&a.jsx("span",{className:"absolute -top-1.5 -right-1.5 w-5 h-5 bg-[#C9A84C] text-white text-[10px] font-black rounded-full flex items-center justify-center",children:p.length})]}),a.jsxs("div",{className:"flex bg-white/10 rounded-full p-1 border border-white/20",children:[a.jsx("button",{onClick:()=>u("grid"),className:`p-2 rounded-full transition-all ${d==="grid"?"bg-[#C9A84C] text-white":"text-white/60 hover:text-white"}`,children:a.jsx(lI,{className:"w-4 h-4"})}),a.jsx("button",{onClick:()=>u("list"),className:`p-2 rounded-full transition-all ${d==="list"?"bg-[#C9A84C] text-white":"text-white/60 hover:text-white"}`,children:a.jsx(pI,{className:"w-4 h-4"})})]})]})]}),a.jsx("div",{className:"flex gap-6 mt-8",children:[{label:"Total Members",val:x.length},{label:"NFA Verified",val:x.filter(v=>v.is_verified).length},{label:"Professions",val:[...new Set(x.map(v=>v.profession))].length}].map((v,N)=>a.jsxs("div",{className:"text-center",children:[a.jsx("p",{className:"font-editorial text-2xl font-black text-[#C9A84C]",children:v.val}),a.jsx("p",{className:"text-white/50 text-[10px] uppercase tracking-wider",children:v.label})]},N))})]})]}),a.jsx(Xq,{filters:e,onChange:t,resultCount:w.length}),a.jsx("section",{className:"py-10",children:a.jsx("div",{className:"max-w-[1700px] mx-auto px-6 lg:px-12",children:w.length===0?a.jsxs("div",{className:"text-center py-24",children:[a.jsx($t,{className:"w-12 h-12 text-[#C9A84C]/30 mx-auto mb-4"}),a.jsx("p",{className:"text-[#8A8578] text-lg font-bold",children:"No members found"}),a.jsx("p",{className:"text-[#8A8578] text-sm mt-1",children:"Try adjusting your search or filters"})]}):d==="grid"?a.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-4",children:w.map((v,N)=>a.jsx(V.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:N%12*.03},children:a.jsx(Zq,{profile:v,onSelect:n,onMessage:b,isOwn:(h==null?void 0:h.email)===v.created_by})},v.id))}):a.jsx("div",{className:"space-y-8",children:g.map(([v,N])=>a.jsxs("div",{children:[a.jsx("h2",{className:"font-editorial text-4xl font-black text-[#C9A84C]/30 mb-4 pb-2 border-b border-[#C9A84C]/10",children:v}),a.jsx("div",{className:"space-y-2",children:N.map(F=>{var S;return a.jsxs(V.div,{initial:{opacity:0,x:-10}
594,animate:{opacity:1,x:0},className:"flex items-center gap-4 p-4 bg-white rounded-2xl border border-[#C9A84C]/10 hover:border-[#C9A84C]/30 hover:shadow-md transition-all group cursor-pointer",onClick:()=>n(F),children:[a.jsx("div",{className:"w-12 h-12 rounded-full overflow-hidden bg-gradient-to-br from-[#0f3460] to-[#1a1a2e] flex-shrink-0",children:F.profile_image?a.jsx("img",{src:F.profile_image,alt:F.name,className:"w-full h-full object-cover object-top"}):a.jsx("div",{className:"w-full h-full flex items-center justify-center text-[#C9A84C] font-black text-lg",children:F.name[0]})}),a.jsxs("div",{className:"flex-1 min-w-0",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("p",{className:"font-editorial font-black text-[#1A1A1A] text-base",children:F.name}),F.is_verified&&a.jsx(It,{className:"w-3.5 h-3.5 text-[#C9A84C]",fill:"#C9A84C"})]}),a.jsxs("p",{className:"text-[#C9A84C] text-[10px] font-black uppercase tracking-wider",children:[F.profession,F.nationality?` · ${F.nationality}`:""]}),((S=F.known_for)==null?void 0:S.length)>0&&a.jsx("p",{className:"text-[#8A8578] text-xs mt-0.5 truncate",children:F.known_for.slice(0,3).join(", ")})]}),h&&h.email!==F.created_by&&a.jsx("button",{onClick:E=>{E.stopPropagation(),b(F)},className:"flex-shrink-0 w-9 h-9 bg-[#C9A84C]/10 hover:bg-[#C9A84C] rounded-full flex items-center justify-center transition-all group/btn",children:a.jsx(_w,{className:"w-4 h-4 text-[#C9A84C] group-hover/btn:text-white"})})]},F.id)})})]},v))})})}),a.jsxs(Mt,{children:[r&&a.jsx(e$,{profile:r,onClose:()=>n(null),onMessage:b,isOwn:(h==null?void 0:h.email)===r.created_by,isLoggedIn:!!h}),s&&h&&a.jsx(t$,{recipient:s,sender:h,onClose:()=>i(null)}),o&&h&&a.jsx(cY,{user:h,onClose:()=>c(!1)})]})]})}const uY=[{icon:Dr,title:"Academy Registry Profile",desc:"Your professional profile listed in the AâZ of British screen talent, visible to casting directors and industry professionals."},{icon:$t,title:"Industry Network Access",desc:"Connect with fellow NFA members, attend exclusive member-only networking events and screenings."},{icon:Kn,title:"Priority Nomination Access",desc:"Get early access to NFA nomination submissions and member voting before the public window opens."},{icon:It,title:"NFA Member Badge",desc:"Carry the verified NFA Member badge on your profile and digital presence â a mark of industry recognition."},{icon:pi,title:"Agent Contact Visibility",desc:"Premium members' agent and manager contact details are visible to verified industry subscribers searching the Registry."},{icon:HU,title:"Event Discounts",desc:"Exclusive discounts on NFA ceremony tickets, festival passes and partner events across the UK."}];function hY(){const{data:e}=vt({queryKey:["members-user"],queryFn:()=>Ce.auth.me(),retry:!1}),t=()=>{Ce.auth.redirectToLogin(window.location.href)};return a.jsxs("div",{className:"pt-24 min-h-screen bg-[#FFFEF9]",children:[a.jsxs("section",{className:"relative py-24 bg-gradient-to-br from-[#0a0a14] via-[#0f3460] to-[#1a1a2e] overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 opacity-10",children:a.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[600px] rounded-full bg-[#C9A84C] blur-3xl"})}),a.jsxs("div",{className:"relative max-w-[1100px] mx-auto px-6 text-center",children:[a.jsxs(V.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},children:[a.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-[#C9A84C]/20 border border-[#C9A84C]/30 rounded-full text-[#C9A84C] text-xs font-black tracking-widest uppercase mb-6",children:[a.jsx(It,{className:"w-3.5 h-3.5"})," NFA Membership"]}),a.jsxs("h1",{className:"font-editorial text-5xl sm:text-7xl font-black text-white leading-tight mb-6",children:["Become an",a.jsx("br",{}),a.jsx("span",{style:{WebkitTextStroke:"2px #C9A84C",color:"transparent"},children:"Academy Member"})]}),a.jsx("p",{className:"text-white/70 text-xl max-w-2xl mx-auto leading-relaxed",children:"Join the National Film Academy and get your professional profile listed in our exclusive Registry â the go-to directory for British screen talent."})]}),a.jsxs(V.div,{initial:{opacity:0,y:20}
594,animate:{opacity:1,y:0},transition:{delay:.3},className:"mt-12 inline-block bg-white/5 border border-[#C9A84C]/30 rounded-3xl p-8 text-center",children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black uppercase tracking-widest mb-2",children:"Membership from"}),a.jsx("p",{className:"font-editorial text-6xl font-black text-white",children:"£9.99"}),a.jsx("p",{className:"text-white/60 text-sm mt-1",children:"per month · cancel anytime"}),a.jsx("div",{className:"flex gap-3 mt-6 justify-center",children:e?a.jsxs(He,{to:at("AcademyRegistry"),className:"px-8 py-3 bg-[#C9A84C] text-white text-sm font-bold rounded-full hover:bg-[#b8941f] transition-all flex items-center gap-2",children:["View Your Profile ",a.jsx(bt,{className:"w-4 h-4"})]}):a.jsxs(a.Fragment,{children:[a.jsx("button",{onClick:t,className:"px-6 py-3 border border-[#C9A84C] text-[#C9A84C] text-sm font-bold rounded-full hover:bg-[#C9A84C]/10 transition-all",children:"Sign In"}),a.jsxs("button",{onClick:t,className:"px-6 py-3 bg-[#C9A84C] text-white text-sm font-bold rounded-full hover:bg-[#b8941f] transition-all flex items-center gap-2",children:["Join Now ",a.jsx(bt,{className:"w-4 h-4"})]})]})})]})]})]}),a.jsx("section",{className:"py-20",children:a.jsxs("div",{className:"max-w-[1200px] mx-auto px-6",children:[a.jsxs("div",{className:"text-center mb-14",children:[a.jsx("h2",{className:"font-editorial text-4xl font-black text-[#1A1A1A] mb-3",children:"What You Get"}),a.jsx("p",{className:"text-[#5A5A5A] text-lg",children:"Everything included in your NFA Membership"})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:uY.map((r,n)=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.08},className:"bg-white rounded-2xl border border-[#C9A84C]/10 p-6 hover:border-[#C9A84C]/30 hover:shadow-lg transition-all",children:[a.jsx("div",{className:"w-12 h-12 bg-[#C9A84C]/10 rounded-xl flex items-center justify-center mb-4",children:a.jsx(r.icon,{className:"w-6 h-6 text-[#C9A84C]"})}),a.jsx("h3",{className:"font-editorial text-lg font-black text-[#1A1A1A] mb-2",children:r.title}),a.jsx("p",{className:"text-[#5A5A5A] text-sm leading-relaxed",children:r.desc})]},n))})]})}),a.jsx("section",{className:"py-16 bg-gradient-to-br from-[#0f3460] to-[#0a0a14]",children:a.jsxs("div",{className:"max-w-2xl mx-auto px-6 text-center",children:[a.jsx("h2",{className:"font-editorial text-4xl font-black text-white mb-4",children:"Ready to Join?"}),a.jsx("p",{className:"text-white/70 mb-8",children:"Sign in if you already have an account, or create a new membership today."}),e?a.jsxs("div",{className:"bg-white/10 rounded-2xl p-6",children:[a.jsxs("p",{className:"text-white font-bold mb-2",children:["Welcome back, ",e.full_name,"!"]}),a.jsx("p",{className:"text-white/60 text-sm mb-4",children:"You're signed in. Visit the Academy Registry to manage your profile."}),a.jsxs(He,{to:at("AcademyRegistry"),className:"inline-flex items-center gap-2 px-8 py-3 bg-[#C9A84C] text-white font-bold rounded-full hover:bg-[#b8941f] transition-all text-sm",children:["Go to Registry ",a.jsx(bt,{className:"w-4 h-4"})]})]}):a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[a.jsx("button",{onClick:t,className:"px-8 py-4 border-2 border-[#C9A84C] text-[#C9A84C] font-bold rounded-full hover:bg-[#C9A84C]/10 transition-all text-sm uppercase tracking-wider",children:"Sign In to My Account"}),a.jsxs("button",{onClick:t,className:"px-8 py-4 bg-[#C9A84C] text-white font-bold rounded-full hover:bg-[#b8941f] transition-all text-sm uppercase tracking-wider flex items-center gap-2 justify-center",children:["Start Membership â £9.99/mo ",a.jsx(bt,{className:"w-4 h-4"})]})]})]})})]})}const fY=[{q:"Who can enter the NFA Short Film Prize?",a:"Any filmmaker, amateur or professional, with a short film under 30 minutes is eligible to enter. Films must have been completed in the last 24 months."},{q:"What are the entry fees?",a:"Early bird: £25. Standard entry: £35. All entries include feedback from our judging panel."},{q:"What genres are accepted?",a:"All genres are welcome â drama, documentary, animation, comedy, horror, and experimental. There are dedicated categories for each."},{q:"When are the deadlines?",a:"Early bird deadline: 31st March 2026. Final deadline: 30th June 2026. Winners announced at the NFA ceremony in 2026."},{q:"Can I submit internationally?",a:"Yes! The NFA Short Film Prize is open to filmmakers worldwide, though films must have English subtitles if not in English."}];
594function mY(){const[e,t]=B.useState(null),[r,n]=B.useState({name:"",email:"",film_title:"",genre:"",duration:"",synopsis:"",link:""}),[s,i]=B.useState(!1),o=c=>{c.preventDefault(),i(!0)};return a.jsxs("div",{className:"pt-24 lg:pt-28 min-h-screen bg-[#FFFEF9]",children:[a.jsxs("section",{className:"relative py-24 bg-gradient-to-br from-[#0a0a14] via-[#0f3460] to-[#1a1a2e] overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 opacity-10",children:a.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[600px] rounded-full bg-[#C9A84C] blur-3xl"})}),a.jsxs("div",{className:"relative max-w-[1200px] mx-auto px-6 text-center",children:[a.jsxs(V.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},children:[a.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-[#C9A84C]/20 border border-[#C9A84C]/30 rounded-full text-[#C9A84C] text-xs font-black tracking-widest uppercase mb-6",children:[a.jsx(Dr,{className:"w-3.5 h-3.5"})," NFA Short Film Prize"]}),a.jsxs("h1",{className:"font-editorial text-5xl sm:text-7xl font-black text-white leading-tight mb-6",children:["Your Short Film.",a.jsx("br",{}),a.jsx("span",{style:{WebkitTextStroke:"2px #C9A84C",color:"transparent"},children:"Our Stage."})]}),a.jsx("p",{className:"text-white/70 text-xl max-w-2xl mx-auto leading-relaxed",children:"The National Film Awards Short Film Prize celebrates emerging and established filmmakers pushing the boundaries of short-form cinema."})]}),a.jsx(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},className:"flex flex-wrap justify-center gap-6 mt-12",children:[{icon:Kn,label:"Cash Prize",val:"£2,500"},{icon:Dr,label:"Max Duration",val:"30 mins"},{icon:wo,label:"Deadline",val:"30 June 2026"}].map((c,d)=>a.jsxs("div",{className:"bg-white/5 border border-[#C9A84C]/20 rounded-2xl px-8 py-5 text-center",children:[a.jsx(c.icon,{className:"w-6 h-6 text-[#C9A84C] mx-auto mb-2"}),a.jsx("p",{className:"text-2xl font-editorial font-black text-[#C9A84C]",children:c.val}),a.jsx("p",{className:"text-white/50 text-xs uppercase tracking-wider mt-1",children:c.label})]},d))})]})]}),a.jsx("section",{className:"py-20",children:a.jsxs("div",{className:"max-w-3xl mx-auto px-6",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[a.jsx("h2",{className:"font-editorial text-4xl font-black text-[#1A1A1A] mb-3",children:"Enter the Prize"}),a.jsx("p",{className:"text-[#5A5A5A]",children:"Complete the form below to submit your short film for consideration."})]}),s?a.jsxs(V.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},className:"text-center py-16 bg-gradient-to-br from-[#0f3460]/10 to-[#C9A84C]/10 rounded-3xl border border-[#C9A84C]/20",children:[a.jsx("div",{className:"w-20 h-20 rounded-full bg-[#C9A84C] flex items-center justify-center mx-auto mb-6",children:a.jsx(or,{className:"w-10 h-10 text-white"})}),a.jsx("h3",{className:"font-editorial text-3xl font-black text-[#1A1A1A] mb-3",children:"Entry Received!"}),a.jsx("p",{className:"text-[#5A5A5A] max-w-md mx-auto",children:"Thank you for entering the NFA Short Film Prize. We'll be in touch with next steps shortly."})]}):a.jsxs("form",{onSubmit:o,className:"space-y-5 bg-white rounded-3xl shadow-xl border border-[#C9A84C]/10 p-8 lg:p-10",children:[a.jsxs("div",{className:"grid sm:grid-cols-2 gap-5",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-bold text-[#1A1A1A] mb-2 uppercase tracking-wider",children:"Your Name *"}),a.jsx(Bt,{required:!0,value:r.name,onChange:c=>n({...r,name:c.target.value}),placeholder:"Full name",className:"h-12 rounded-xl border-[#C9A84C]/20"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-bold text-[#1A1A1A] mb-2 uppercase tracking-wider",children:"Email Address *"}),a.jsx(Bt,{required:!0,type:"email",value:r.email,onChange:c=>n({...r,email:c.target.value}),placeholder:"[email protected]",className:"h-12 rounded-xl border-[#C9A84C]/20"})]})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-bold text-[#1A1A1A] mb-2 uppercase tracking-wider",children:"Film Title *"}),a.jsx(Bt,{required:!0,value:r.film_title,onChange:c=>n({...r,film_title:c.target.value}),placeholder:"Title of your short film",className:"h-12 rounded-xl border-[#C9A84C]/20"})]}),a.jsxs("div",{className:"grid sm:grid-cols-2 gap-5",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-bold text-[#1A1A1A] mb-2 uppercase tracking-wider",children:"Genre *"}),a.jsx(Bt,{required:!0,value:r.genre,onChange:c=>n({...r,genre:c.target.value}),placeholder:"e.g. Drama, Comedy, Documentary",className:"h-12 rounded-xl border-[#C9A84C]/20"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-bold text-[#1A1A1A] mb-2 uppercase tracking-wider",children:"Duration *"}),a.jsx(Bt,{required:!0,value:r.duration,onChange:c=>n({...r,duration:c.target.value}),placeholder:"e.g. 12 minutes",className:"h-12 rounded-xl border-[#C9A84C]/20"})]})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-bold text-[#1A1A1A] mb-2 uppercase tracking-wider",children:"Synopsis *"}),a.jsx(R1,{required:!0,value:r.synopsis,onChange:c=>n({...r,synopsis:c.target.value}),placeholder:"Brief description of your film (max 300 words)",className:"rounded-xl border-[#C9A84C]/20 resize-none h-28"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-bold text-[#1A1A1A] mb-2 uppercase tracking-wider",children:"Screener Link *"}),a.jsx(Bt,{required:!0,value:r.link,onChange:c=>n({...r,link:c.target.value}),placeholder:"Vimeo / YouTube private link",className:"h-12 rounded-xl border-[#C9A84C]/20"})]}),a.jsxs("button",{type:"submit",className:"w-full py-4 bg-[#C9A84C] hover:bg-[#b8941f] text-white font-bold text-sm tracking-wider up
594percase rounded-xl shadow-lg transition-all flex items-center justify-center gap-2",children:[a.jsx(or,{className:"w-4 h-4"})," Submit Entry"]})]})]})}),a.jsx("section",{className:"py-16 bg-[#f8f6f1]",children:a.jsxs("div",{className:"max-w-3xl mx-auto px-6",children:[a.jsx("h2",{className:"font-editorial text-4xl font-black text-[#1A1A1A] mb-10 text-center",children:"Frequently Asked Questions"}),a.jsx("div",{className:"space-y-3",children:fY.map((c,d)=>a.jsxs(V.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:d*.06},className:"bg-white rounded-2xl border border-[#C9A84C]/10 overflow-hidden",children:[a.jsxs("button",{onClick:()=>t(e===d?null:d),className:"w-full flex items-center justify-between px-6 py-5 text-left hover:bg-[#C9A84C]/5 transition-all",children:[a.jsx("span",{className:"font-bold text-[#1A1A1A] text-sm",children:c.q}),e===d?a.jsx(T3,{className:"w-4 h-4 text-[#C9A84C] flex-none"}):a.jsx(Ia,{className:"w-4 h-4 text-[#C9A84C] flex-none"})]}),e===d&&a.jsx(V.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},className:"px-6 pb-5",children:a.jsx("p",{className:"text-[#5A5A5A] text-sm leading-relaxed",children:c.a})})]},d))})]})})]})}const Pd=["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/229675ea1__V7A5280.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/78dadde01__V7A5294.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/195ac0b92__V7A4961.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/d8a5d03e7__V7A4928.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/e96af4ff8_BV7A0857.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/7190c5e67_BV7A0837.jpg"],pY=[{value:"107",label:"Films Screened",color:"text-[#D4AF37]",border:"border-[#D4AF37]"},{value:"14",label:"Countries",color:"text-[#0047AB]",border:"border-[#0047AB]"},{value:"14+",label:"Languages",color:"text-[#7C3AED]",border:"border-[#7C3AED]"},{value:"7",label:"World Premieres",color:"text-[#DC2626]",border:"border-[#DC2626]"},{value:"23",label:"NFA Premieres",color:"text-[#059669]",border:"border-[#059669]"},{value:"5th",label:"Year in Luxury Weekly Top 15",color:"text-[#C41E3A]",border:"border-[#C41E3A]"}],gY=[{icon:L3,title:"Industry Panels & Q&As",desc:"Intimate conversations with acclaimed directors, producers, and performers â direct access to the minds behind the films.",color:"bg-[#D4AF37]",border:"border-[#D4AF37]/40"},{icon:wU,title:"Filmmaking Workshops & Masterclasses",desc:"Hands-on sessions led by industry professionals covering everything from screenwriting and cinematography to post-production and distribution.",color:"bg-[#0047AB]",border:"border-[#0047AB]/40"},{icon:UI,title:"Networking Events & Media Mixers",desc:"Curated social events that connect filmmakers, journalists, agents, distributors, and film lovers in one dynamic space.",color:"bg-[#7C3AED]",border:"border-[#7C3AED]/40"},{icon:Kn,title:"Special NFA Screenings",desc:"Exclusive screenings of National Film Awards shortlisted films â giving audiences a first look at this year's most celebrated cinema.",color:"bg-[#C41E3A]",border:"border-[#C41E3A]/40"}],cy=["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/31675fd62__V7A0824.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/3964da4d9__V7A0791.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6491dc20a__V7A4843.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/d6418460b__V7A54621.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/40237273e__V7A5514.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/eac9c6bce__V7A5527.jpg"];
594function xY(){const[e,t]=B.useState(0);return a.jsxs("div",{className:"pt-24 lg:pt-28 bg-[#0A0A0A] min-h-screen",children:[a.jsxs("section",{className:"relative min-h-[92vh] flex items-end overflow-hidden",children:[a.jsx(Mt,{mode:"wait",children:a.jsx(V.img,{src:Pd[e],initial:{opacity:0,scale:1.06},animate:{opacity:1,scale:1},exit:{opacity:0},transition:{duration:.9},className:"absolute inset-0 w-full h-full object-cover",style:{objectPosition:"center 15%"}},e)}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0A0A0A] via-[#0A0A0A]/65 to-[#0A0A0A]/10"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#0A0A0A]/80 to-transparent"}),a.jsx("div",{className:"absolute right-6 top-1/2 -translate-y-1/2 z-20 flex-col gap-2 hidden lg:flex",children:Pd.map((r,n)=>a.jsx("button",{onClick:()=>t(n),className:`w-14 h-14 rounded-xl overflow-hidden border-2 transition-all duration-300 ${e===n?"border-[#D4AF37] scale-110 shadow-lg shadow-[#D4AF37]/30":"border-white/20 hover:border-white/60"}`,children:a.jsx("img",{src:r,alt:"",className:"w-full h-full object-cover object-top"})},n))}),a.jsx("div",{className:"relative z-10 max-w-[1400px] mx-auto px-6 lg:px-10 pb-20 w-full",children:a.jsxs(V.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.9},children:[a.jsxs("div",{className:"flex flex-wrap items-center gap-3 mb-6",children:[a.jsxs("div",{className:"flex items-center gap-2 px-4 py-1.5 bg-[#D4AF37] rounded-full text-white text-[10px] font-bold tracking-[0.2em] uppercase",children:[a.jsx(Dr,{className:"w-3 h-3"})," Annual Event"]}),a.jsxs("div",{className:"flex items-center gap-2 px-4 py-1.5 border border-white/20 rounded-full text-white/60 text-[10px] font-bold tracking-[0.2em] uppercase",children:[a.jsx(da,{className:"w-3 h-3"})," London, United Kingdom"]}),a.jsx("div",{className:"px-4 py-1.5 border border-[#D4AF37]/40 rounded-full text-[#D4AF37] text-[10px] font-bold tracking-[0.2em] uppercase",children:"Top 15 Film Festivals â Luxury Weekly"})]}),a.jsxs("h1",{className:"font-editorial text-5xl sm:text-7xl lg:text-8xl font-bold text-white leading-tight mb-5",children:["National",a.jsx("br",{}),a.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-[#D4AF37] via-[#F0D882] to-[#D4AF37]",children:"Film Festival"})]}),a.jsx("p",{className:"text-white/60 text-xl leading-relaxed max-w-2xl mb-8",children:"Where global storytelling meets cinematic excellence in the heart of London."}),a.jsx("div",{className:"flex gap-2 overflow-x-auto lg:hidden mb-6",children:Pd.map((r,n)=>a.jsx("button",{onClick:()=>t(n),className:`flex-shrink-0 w-12 h-12 rounded-xl overflow-hidden border-2 transition-all ${e===n?"border-[#D4AF37]":"border-white/20"}`,children:a.jsx("img",{src:r,alt:"",className:"w-full h-full object-cover"})},n))}),a.jsx("blockquote",{className:"border-l-4 border-[#D4AF37] pl-6 italic text-white/50 text-lg max-w-xl",children:'"The National Film Festival is more than just screenings â it is a platform for discovery, dialogue, and inspiration."'})]})})]}),a.jsx("section",{className:"bg-[#111] border-y border-white/5",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 py-10",children:a.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 gap-6",children:pY.map((r,n)=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.07},className:`text-center p-4 rounded-2xl border ${r.border} bg-white/3`,children:[a.jsx("p",{className:`font-editorial text-3xl lg:text-4xl font-bold ${r.color} mb-1`,children:r.value}),a.jsx("p",{className:"text-white/40 text-xs font-semibold tracking-wider uppercase leading-tight",children:r.label})]},r.label))})})}),a.jsx("section",{className:"py-24 lg:py-32",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:a.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[a.jsxs(V.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},children:[a.jsxs("div",{className:"flex items-center gap-2 mb-5",children:[a.jsx(Dr,{className:"w-4 h-4 text-[#D4AF37]"}),a.jsx("span",{className:"text-[11px] font-semibold tracking-[0.2em] uppercase text-[#D4AF37]",children:"What Is the Festival?"})]}),a.jsxs("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white mb-6 leading-tight",children:["An Annual Celebration",a.jsx("br",{}),a.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-[#D4AF37] to-[#F0D882]",children:"of Cinema"})]}),a.jsxs("div",{className:"space-y-5 text-white/60 leading-relaxed text-lg",children:[a.jsx("p",{children:"The National Film Festival is an annual celebration of cinema that brings together thousands of film lovers, industry professionals, actors, directors, producers, writers, and journalists from around the globe."}),a.jsxs("p",{children:["Held in ",a.jsx("strong",{className:"text-white",children:"London"})," â one of the world's leading cultural capitals â the festival curates a prestigious line-up of films that embody originality, bold storytelling, and visual brilliance."]}),a.jsxs("p",{children:["It features a mix of ",a.jsx("strong",{className:"text-[#D4AF37]",children:"world premieres"}),", independent gems, and hand-picked selections from the National Film Awards â showcasing the very best in contemporary cinema from established filmmakers and rising talent alike."]}),a.jsxs("p",{children:["The National Film Festival serves as a vital intersection between ",a.jsx("strong",{className:"text-white",children:"creativity, culture, and commerce"})," â giving filmmakers global exposure while allowing audiences to engage directly with the creators behind the screen."]})]})]}),a.jsx(V.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"grid grid-cols-2 gap-4",children:cy.slice(0,4).map((r,n)=>a.jsx("div",{className:`rounded-2xl overflow-hidden border-2 border-white/10 hover:border-[#D4AF37]/60 transition-all duration-300 ${n===0?"col-span-2":""}`,children:a.jsx("img",{src:r,alt:"",className:"w-full object-cover object-top hover:scale-105 transition-transform duration-500",style:{height:n===0?"260px":"170px"}})},n))})]})})}),a.jsx("section",{className:"py-20 bg-[#0D0D0D]",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:a.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"rounded-3xl overflow-hidden border-2 border-[#0047AB]/40 relative",children:[a.jsx("img",{src:cy[4],alt:"Festival audience",className:"w-full h-80 lg:h-96 object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0A0A0A]/80 to-transparent flex items-end p-6",children:a.jsx("p",{className:"text-white/50 text-sm italic",children:"Above: A full house at one of the festival's featured screenings"})})]}),a.jsxs(V.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},children:[a.jsxs("div",{className:"flex items-center gap-2 mb-5",children:[a.jsx(Gn,{className:"w-4 h-4 text-[#0047AB]"}),a.jsx("span",{className:"text-[11px] font-semibold tracking-[0.2em] uppercase text-[#0047AB]",children:"International Reach"})]}),a.jsxs("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white mb-6 leading-tight",children:["Cinema Without",a.jsx("br",{}),a.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-[#0047AB] to-[#60A5FA]",children:"Borders"})]}),a.jsxs("p",{className:"text-white/60 text-lg leading-relaxed mb-8",children:["In its most recent edition, the festival screened ",a.jsx("strong",{className:"text-white",children:"107 films"})," â including features, shorts, and documentaries â from ",a.jsx("strong",{className:"text-white",children:"14 countries"}),", in more than ",a.jsx("strong",{className:"text-white",children:"14 languages"}),"."]}),a.jsx("div",{className:"grid grid-cols-3 gap-4 mb-8",children:[{val:"107",label:"Films",color:"border-[#D4AF37] text-[#D4AF37]"},{val:"14",label:"Countries",color:"border-[#0047AB] text-[#60A5FA]"},{val:"7",label:"World Premieres",color:"border-[#7C3AED] text-[#A78BFA]"}].map(r=>a.jsxs("div",{className:`rounded-2xl border-2 ${r.color} bg-white/5 p-4 text-center`,children:[a.jsx("p",{className:`font-editorial text-3xl font-bold ${r.color.split(" ")[1]} mb-1`,children:r.val}),a.jsx("p",{className:"text-white/40 text-xs uppercase tracking-wider",children:r.label})]},r.label))}),a.jsxs("div",{className:"bg-gradient-to-r from-[#D4AF37]/10 to-[#D4AF37]/5 border-2 border-[#D4AF37]/30 rounded-2xl p-5 flex items-start gap-4",children:[a.jsx(ut,{className:"w-8 h-8 text-[#D4AF37] flex-shrink-0 mt-0.5"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-white font-bold mb-1",children:"Luxury Weekly â Top 15 Film Festivals in the World"}),a.jsxs("p",{className:"text-white/50 text-sm",children:["Included for the ",a.jsx("strong",{className:"text-[#D4AF37]",children:"fifth consecutive year"})," â a testament to the festival's global prestige and cultural impact."]})]})]})]})]})})}),a.jsx("section",{className:"py-24 lg:py-32",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"text-center mb-14",children:[a.jsxs("div",{className:"flex items-center gap-2 justify-center mb-4",children:[a.jsx(Qt,{className:"w-4 h-4 text-[#D4AF37]"}),a.jsx("span",{className:"text-[11px] font-semibold tracking-[0.2em] uppercase text-[#D4AF37]",children:"Year-Round Activities"})]}),a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white mb-3",children:"More Than Just Screenings"}),a.jsx("p",{className:"text-white/40 text-lg max-w-2xl mx-auto",children:"The festival hosts a full programme of events designed to educate, inspire, and connect the global film community."})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:gY.map((r,n)=>a.jsxs(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.1},className:`rounded-2xl border-2 ${r.border} bg-white/5 p-6 hover:bg-white/10 transition-all duration-300 group`,children:[a.jsx("div",{className:`w-12 h-12 rounded-xl ${r.color} flex items-center justify-center mb-5 shadow-lg`,children:a.jsx(r.icon,{className:"w-6 h-6 text-white"})}),a.jsx("h3",{className:"font-editorial text-xl font-bold text-white mb-3",children:r.title}),a.jsx("p",{className:"text-white/50 text-sm leading-relaxed",children:r.desc})]},r.title))})]})}),a.jsx("section",{className:"py-16 bg-[#0D0D0D]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("h2",{className:"font-editorial text-3xl lg:text-4xl font-bold text-white mb-2",children:"Festival Moments"}),a.jsx("p",{className:"text-white/40",children:"Captured on the red carpet and beyond"})]}),a.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-3",children:[...Pd,...cy].map((r,n)=>a.jsx(V.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:n*.04},className:`rounded-2xl overflow-hidden border-2 border-white/10 hover:border-[#D4AF37] transition-all duration-300 group ${n%7===0?"col-span-2":""}`,children:a.jsx("img",{src:r,alt:"",className:"w-full h-full object-cover object-top group-hover:scale-105 transition-transform duration-500",style:{height:n%7===0?"220px":"160px"}})},n))})]})}),a.jsx("section",{className:"py-24",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:a.jsxs(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"rounded-3xl overflow-hidden border-2 border-[#D4AF37]/30 relative",children:[a.jsxs("div",{className:"absolute inset-0",children:[a.jsx("img",{src:Pd[1],alt:"",className:"w-full h-full object-cover object-top opacity-20"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#0A0A0A] via-[#0A0A0A]/90 to-[#0A0A0A]/70"})]}),a.jsx("div",{className:"relative z-10 p-12 lg:p-16",children:a.jsxs("div",{className:"max-w-2xl",children:[a.jsx(Sn,{className:"w-8 h-8 text-[#D4AF37] mb-5"}),a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white mb-4 leading-tight",children:"Want to Get Involved?"}),a.jsx("p",{className:"text-white/60 text-lg leading-relaxed mb-8",children:"Whether you're a filmmaker, speaker, media professional, or sponsor â there's a place for you at the National Film Festival. We'd love to hear from you."}),a.jsxs("div",{className:"bg-white/5 border-2 border-[#D4AF37]/30 rounded-2xl p-6 mb-8 flex items-start gap-4",children:[a.jsx(En,{className:"w-6 h-6 text-[#D4AF37] flex-shrink-0 mt-1"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-white font-semibold mb-1",children:"Contact Our Festival Team"}),a.jsx("a",{href:"mailto:[email protected]",className:"text-[#D4AF37] text-lg font-bold hover:underline",children:"[email protected]"}),a.jsx("p",{className:"text-white/40 text-sm mt-2",children:"Include your name, role, and how you'd like to participate â filmmaker, speaker, media, sponsor, etc."})]})]}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-2 px-8 py-4 bg-[#D4AF37] text-white font-bold text-[12px] tracking-[0.1em] uppercase rounded-full hover:bg-[#B8941F] transition-all shadow-lg shadow-[#D4AF37]/20",children:[a.jsx(En,{className:"w-4 h-4"})," Get In Touch"]}),a.jsxs("a",{href:"/Nominees",className:"flex items-center gap-2 px-8 py-4 border-2 border-white/20 text-white font-bold text-[12px] tracking-[0.1em] uppercase rounded-full hover:border-[#D4AF37] hover:text-[#D4AF37] transition-all",children:[a.jsx(Dr,{className:"w-4 h-4"})," View Nominees"]})]})]})})]})})})]})}function yY({title:e,url:t}){const[r,n]=B.useState(!1),s=t||window.location.href,i=encodeURIComponent(e||document.title),o=encodeURIComponent(s),c=()=>{navigator.clipboard.writeText(s),n(!0),setTimeout(()=>n(!1),2e3)},d=[{label:"Facebook",icon:kw,href:`https://www.facebook.com/sharer/sharer.php?u=${o}`,color:"hover:bg-[#1877F2] hover:border-[#1877F2]"},{label:"Twitter",icon:Uw,href:`https://twitter.com/intent/tweet?text=${i}&url=${o}`,color:"hover:bg-[#1DA1F2] hover:border-[#1DA1F2]"},{label:"Instagram",icon:Vp,href:"https://www.instagram.com/",color:"hover:bg-gradient-to-br hover:from-[#f09433] hover:via-[#e6683c] hover:to-[#bc1888] hover:border-[#e6683c]"}];return a.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[a.jsx("span",{className:"text-xs font-bold tracking-wider up
594percase text-[#8A8578] mr-1",children:"Share"}),d.map(({label:u,icon:h,href:m,color:p})=>a.jsx("a",{href:m,target:"_blank",rel:"noopener noreferrer","aria-label":`Share on ${u}`,className:`w-9 h-9 rounded-full border border-[#D4AF37]/30 flex items-center justify-center text-[#8A8578] hover:text-white transition-all duration-200 ${p}`,children:a.jsx(h,{className:"w-4 h-4"})},u)),a.jsx("button",{onClick:c,"aria-label":"Copy link",className:"w-9 h-9 rounded-full border border-[#D4AF37]/30 flex items-center justify-center text-[#8A8578] hover:bg-[#D4AF37] hover:border-[#D4AF37] hover:text-white transition-all duration-200",children:r?a.jsx(Fs,{className:"w-4 h-4"}):a.jsx(AI,{className:"w-4 h-4"})})]})}function bY(){const[e]=Gw(),t=e.get("id"),{data:r,isLoading:n}=vt({queryKey:["news-article",t],queryFn:async()=>(await Ce.entities.NewsArticle.filter({id:t}))[0],enabled:!!t}),{data:s=[]}=vt({queryKey:["related-articles",r==null?void 0:r.category],queryFn:async()=>r?(await Ce.entities.NewsArticle.filter({category:r.category},"-published_date",4)).filter(o=>o.id!==r.id).slice(0,3):[],enabled:!!r,initialData:[]});return n?a.jsx("div",{className:"min-h-screen flex items-center justify-center",children:a.jsx("p",{className:"text-[#5A5A5A]",children:"Loading..."})}):r?a.jsxs("div",{className:"pt-24 lg:pt-28 min-h-screen bg-[#FFFEF9]",children:[r.image_url&&a.jsxs("section",{className:"relative h-[60vh] overflow-hidden",children:[a.jsx("img",{src:r.image_url,alt:r.title,className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#2D2D2D]/80 via-transparent to-transparent"})]}),a.jsx("section",{className:"py-16 lg:py-20",children:a.jsxs("div",{className:"max-w-[900px] mx-auto px-6 lg:px-10",children:[a.jsxs(He,{to:at("Newsroom"),className:"inline-flex items-center gap-2 text-[#5A5A5A] hover:text-[#2D2D2D] mb-8 transition-colors",children:[a.jsx(rn,{className:"w-4 h-4"}),"Back to Newsroom"]}),a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},children:[a.jsxs("div",{className:"flex items-center gap-2 mb-6",children:[a.jsx(Q3,{className:"w-4 h-4 text-[#D4AF37]"}),a.jsx("span",{className:"px-4 py-2 bg-[#D4AF37]/10 text-[#D4AF37] rounded-full text-xs font-bold tracking-wider uppercase",children:r.category})]}),a.jsx("h1",{className:"font-editorial text-4xl lg:text-6xl font-bold text-[#2D2D2D] mb-6",children:r.title}),a.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-4 text-[#5A5A5A] mb-12 pb-8 border-b border-[#D4AF37]/10",children:[r.published_date&&a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Qt,{className:"w-4 h-4"}),a.jsx("span",{children:new Date(r.published_date).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"})})]}),a.jsx(yY,{title:r.title})]}),r.excerpt&&a.jsx("p",{className:"text-xl lg:text-2xl text-[#5A5A5A] leading-relaxed mb-12 font-light",children:r.excerpt}),r.content&&a.jsx("div",{className:"prose prose-lg max-w-none",children:a.jsx("div",{className:"text-[#2D2D2D] text-lg leading-relaxed whitespace-pre-line",children:r.content})})]})]})}),s.length>0&&a.jsx("section",{className:"py-20 bg-[#FAFAF8]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsx("h2",{className:"font-editorial text-3xl lg:text-4xl font-bold text-[#2D2D2D] mb-12",children:"Related Articles"}),a.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:s.map(i=>a.jsxs(He,{to:at("NewsArticle")+`?id=${i.id}`,className:"group",children:[a.jsxs("div",{className:"relative rounded-2xl overflow-hidden mb-5 h-64 shadow-lg hover:shadow-xl transition-all duration-300",children:[a.jsx("img",{src:i.image_url,alt:i.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#2D2D2D]/60 to-transparent"}),a.jsx("div",{className:"absolute top-4 left-4",children:a.jsx("span",{className:"px-3 py-1 bg-white/95 backdrop-blur-sm rounded-full text-[10px] font-bold tracking-wider uppercase text-[#D4AF37]",children:i.category})})]}),a.jsx("h3",{className:"font-editorial text-xl font-semibold text-[#2D2D2D] group-hover:text-[#D4AF37] transition-colors",children:i.title})]},i.id))})]})})]}):a.jsx("div",{className:"min-h-screen flex items-center justify-center",children:a.jsxs("div",{className:"text-center",children:[a.jsx("p",{className:"text-[#5A5A5A] mb-4",children:"Article not found"}),a.jsx(He,{to:at("Newsroom"),className:"text-[#D4AF37] hover:underline",children:"Back to Newsroom"})]})})}const w8=[{id:"nominations-2026",title:"National Film Awards 2026: Full Nominations Announced for 12th Annual Ceremony",category:"Nomination News",date:"May 4, 2026",year:2026,image:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/12716a33a_503609375_3953610361557201_1552236414844032115_n.jpg",excerpt:"The National Film Academy today announces the official nominations for the 12th Annual National Film Awards UK â over 1 million+ public submissions, 28 categories, and public voting open now through 27 June 2026.",featured:!0,tag:"New",customLink:"/nominations-2026"},{id:"casting-everyday-heroes-2026",title:"National Film Academy Announce
594s Casting for New Television Series Everyday Heroes",category:"Academy News",date:"March 6, 2026",year:2026,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/f92a86c69_CastingcallforEverydayHeroesseries.png",excerpt:"The National Film Academy has officially opened casting for its upcoming television series Everyday Heroes, celebrating inspiring stories of individuals making a positive impact within their communities.",featured:!0,slug:null},{id:"astelle-best-newcomer-2026",title:"Astelle Announced as Official Sponsor of the Best Newcomer Award at the National Film Awards 2026",category:"Sponsor Announcements",date:"March 24, 2026",year:2026,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/3b18b5faf_Alstelle_Photo99_071025.jpg",excerpt:"The National Film Awards 2026 proudly announces Astelle as the official sponsor of the Best Newcomer Award, a category dedicated to recognising emerging talent making a powerful impact within the film and television industry.",tag:"New",content:`London, United Kingdom 595 596The National Film Awards 2026 proudly announces Astelle as the official sponsor of the Best Newcomer Award, a category dedicated to recognising emerging talent making a powerful impact within the film and television industry. 597 598Known for its refined approach to modern luxury and its commitment to celebrating life's most meaningful moments, Astelle's partnership with the National Film Awards represents a natural alignment between rising talent and the beginning of remarkable journeys. 599 600The Best Newcomer category holds a unique place within the awards, shining a spotlight on individuals whose performances signal the future of the industry. It is a moment of recognition that often marks the start of long and successful careers, making it a fitting association for a brand rooted in celebration, milestones and lasting memories. 601 602Through this partnership, Astelle will play a central role in honouring the next generation of actors and creatives, reinforcing its position as a brand that celebrates not only achievements, but the journeys that lead to them. 603 604A spokesperson for the National Film Awards commented: 605 606"Welcoming Astelle as the sponsor of the Best Newcomer Award is a significant addition to the 2026 ceremony. This category represents the future of film and television, and Astelle's presence brings a sense of elegance and meaning to that moment of discovery and recognition." 607 608As part of the collaboration, Astelle will be integrated across key moments of the awards, including category presentation, winner announcements, and post-event media coverage, ensuring strong visibility across both industry and consumer audiences. 609 610The National Film Awards, established by the National Film Academy, continues to recognise excellence across film and television, with over 1 million+ public votes cast annually, making it one of the most respected consumer-voted awards platforms globally. 611 612The 2026 ceremony will bring together leading actors, filmmakers, media and industry figures for an evening celebrating creativity, achievement and the future of entertainment. 613 614ENDS 615 616Media Enquiries: 617National Film Awards 618[email protected] 619www.nationalfilmawards.co.uk`,slug:null},{id:"leger-holidays-2026",title:"Leger Holidays Returns for a Third Consecutive Year as Sponsor of the National Film Awards 2026",category:"Sponsor Announcements",date:"April 14, 2026",year:2026,image:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/ef488e0f6_luxuria-coach-in-tuscany-39683.jpg",excerpt:"The National Film Academy confirms that Leger Holidays returns for a third successive year as official sponsor of the Best British Film category at the 12th Annual National Film Awards.",tag:"New",slug:"leger-holidays-2026"},{id:"pr-monday-republic-2026",title:"MondayRepublic.com Announced as Gold Sponsor of the 12th Annual National Film Awards 2026",category:"Sponsor Announcements",date:"March 2, 2026",year:2026,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/1faad09ae_MondayRepublic.png",excerpt:"Dynamic global marketplace MondayRepublic.com joins as Gold Sponsor â empowering brands to buy, sell, connect and scale within a trusted commercial ecosystem at the 12th Annual NFA 2026.",tag:"New",slug:"monday-republic"},{id:"pr-dechavel-2026",title:"Dechavel Named Platinum Partner of the 12th Annual National Film Awards 2026",category:"Sponsor Announcements",date:"January 15, 2026",year:2026,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/a4bd36d5c_Dechaveleleganceincreamandgold.png",excerpt:"Distinguished luxury fashion house Dechavel becomes the first Platinum Partner of the 12th Annual National Film Awards, set for 1 July 2026 at a prestigious London venue.",featured:!0,tag:"New",slug:"dechavel"},{id:"pr-alstelle-2026",title:"Alstelle Joins the National Film Awards 2026 as Official Bronze Category Sponsor",category:"Sponsor Announcements",date:"December 29, 2025",year:2026,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/3b18b5faf_Alstelle_Photo99_071025.jpg",excerpt:"Clean luxury beauty brand Alstelle brings its ritual-based philosophy to cinema's most celebrated stage as Official Bronze Category Sponsor.",tag:"New",slug:"alstelle"},{id:"pr-imean-2026",title:"IMEAN BEAUTY Returns as Official Bronze Sponsor for Second Consecutive Year",category:"Sponsor Announcements",date:"December 20, 2025",year:2026,image:"https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=800&q=80",excerpt:"High-performance clean skincare brand IMEAN BEAUTY, with 27 years of expertise,
619confirms its return as Official Bronze Category Sponsor of the 12th Annual NFA 2026.",tag:"New",slug:"imean-beauty"},{id:"nom-2025",title:"11th Annual NFA 2025 â Full Nominations Revealed",category:"Nomination News",date:"June 12, 2025",year:2025,image:"https://images.unsplash.com/photo-1478720568477-152d9b164e26?w=800&q=80",excerpt:"Public voting is now open for the 11th Annual National Film Awards UK. Discover who has been nominated across all categories â the public vote is all that counts."},{id:"wow-2025",title:"WOW Facial Confirmed as Official Bronze Sponsor â NFA 2025",category:"Sponsor Announcements",date:"May 2025",year:2025,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/8c90c4b5c_WOWFacial.png",excerpt:"Launched in 2019 by Claire Williams, WOW Facial's six-stage hyper-personalised skin treatments come to the red carpet of the 11th Annual National Film Awards.",slug:"wow-facial"},{id:"ceremony-2025",title:"NFA 2025 Celebrates Record 3.9 Million Public Votes at 11th Annual Ceremony",category:"Ceremony Reports",date:"July 10, 2025",year:2025,image:"https://images.unsplash.com/photo-1594909122845-11baa439b7bf?w=800&q=80",excerpt:"Danny Dyer, Emma Thompson and Stephanie Beacham lead a glamorous night of wins at the most-attended ceremony in NFA history. Full winners list inside."},{id:"oliphenolia-2024",title:"OliPhenolia Named Silver Sponsor of the 10th Anniversary NFA 2024",category:"Sponsor Announcements",date:"March 2024",year:2024,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/a721d489e_oliphenolia-header-2023.jpg",excerpt:"Fattoria La Vialla's OliPhenolia â with 45+ years of biodynamic practice and three Global Beauty Gold Awards â joins the 10th Anniversary NFA as Silver Sponsor.",slug:"fattoria-la-vialla"},{id:"leger-2024",title:"Leger Holidays Confirmed as Official Sponsor of NFA 2024",category:"Sponsor Announcements",date:"February 2024",year:2024,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/cab847bc7_ledgers.jpg",excerpt:"The UK's leading escorted holiday provider with 40+ years of award-winning expertise joins forces with the 10th Anniversary National Film Awards 2024.",slug:"leger-holidays"},{id:"nom-2024",title:"10th Anniversary NFA 2024 â Nominations Announced",category:"Nomination News",date:"March 2024",year:2024,image:"https://images.unsplash.com/photo-1485846234645-a62644f84728?w=800&q=80",excerpt:"The 10th Anniversary nominations have been revealed. Public voting is now open across all 24 categories â from Best Film to Best International Director."},{id:"fiji-2023",title:"FIJI Water Returns as Official Bronze Sponsor â NFA 2023",category:"Sponsor Announcements",date:"April 2023",year:2023,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/5e8ae311c_fijiwater.jpg",excerpt:"FIJI Water returns exclusively served to nominees and guests, debuting new 100% recycled plastic bottles â the first major UK event to showcase them.",slug:"fiji-water"},{id:"sabrhero-2023",title:"SABRHERO Announced as Bronze Category Sponsor â NFA 2023",category:"Sponsor Announcements",date:"March 2023",year:2023,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/11d002094_SABRHERO-FIRST-PAGE-750x450-1.jpg",excerpt:"British luxury sports brand SABRHERO, founded by international tennis champion Alpha Ambaye, is confirmed as Bronze Category Sponsor of the 9th Annual NFA.",slug:"sabrhero"},{id:"purebeauty-2023",title:"Pure Beauty Collagen Announced as Bronze Sponsor â NFA 2023",category:"Sponsor Announcements",date:"March 2023",year:2023,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/8c8fe2fe5_purebeauty.png",excerpt:"Japanese-manufactured marine collagen supplement brand Pure Beauty Collagen joins the 9th Annual NFA as Bronze Sponsor.",slug:"pure-beauty-collagen"},{id:"nom-2023",title:"9th Annual NFA 2023 â Nominations Announced",category:"Nomination News",date:"March 2023",year:2023,image:"https://images.unsplash.com/photo-1524712245354-2c4e5e7121c0?w=800&q=80",excerpt:"The 9th Annual National Film Awards nominations are revealed. Thousands of public nominations submitted in record time â voting opens now."},{id:"vapiano-2022",title:"Vapiano Confirmed as Official Restaurant Partner â NFA 2022",category:"Sponsor Announcements",date:"April 2022",year:2022,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/e3c02611b_Vapiano10452-1-750x450.jpg",excerpt:"Launched in 2002 in Hamburg, Vapiano transformed casual dining with open kitchens. The UK partner joins as Best Drama category sponsor at the 11th Annual NFA.",slug:"vapiano"},{id:"denman-2022",title:"Denman Joins as Bronze Category Sponsor â NFA 2022",category:"Sponsor Announcements",date:"March 2022",year:2022,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6a89fa4da_Denman.jpg",excerpt:"80+ years of Hair Brilliance. The iconic Denman brand sponsors Best TV Drama Series at the 8th Annual National Film Awards.",slug:"denman"},{id:"havaianas-2022",title:"Havaianas Announced as Bronze Sponsor â NFA 2022",category:"Sponsor Announcements",date:"April 2022",year:2022,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/c0afd686b_Havaianas-Red-Oval-Logo-1536x1086-1-750x450.jpg",excerpt:"The original Brazilian flip flop brand since 1962 joins the 8th Annual National Film Awards at Porchester Hall, London â 4 July 2022.",slug:"havaianas"},{id:"nom-2022",title:"8th Annual NFA 2022 â Nominations Announced",category:"Nomination News",date:"April 2022",year:2022,image:"https://images.unsplash.com/photo-1440404653325-ab127d49abc1?w=800&q=80",excerpt:"The 8th Annual National Film Awards UK nominations are officially revealed. Public voting is open across all categories."},{id:"heineken-2019",title:"Heineken Named Official Beer Sponsor â 5th Anniversary NFA 2019",category:"Sponsor Announcements",date:"March 2019",year:2019,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/3e7d93e43_HEINEKEN.jpg",excerpt:"The UK's leading pub and beer company with 6 iconic brands and 2,900 pubs joins the 5th Anniversary NFA, featuring the launch of Heineken 0.0.",slug:"heineken"},{id:"nom-2019",title:"5th Anniversary NFA 2019 â Nominations Revealed",category:"Nomination News",date:"March 2019",year:2019,image:"https://images.unsplash.com/photo-1517604931442-7e0c8ed2963c?w=800&q=80",excerpt:"The 5th Anniversary NFA nominations are in â featuring the biggest names in British and international cinema. Vote now for your favourite."},{id:"collagin-2018",title:"CollaGin Named Official Gin Partner â 4th Annual NFA 2018",category:"Sponsor Announcements",date:"March 2018",year:2018,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/983d50fa1_CollaGin-NFAs-Advert-3MM-BLEED-REV3-pdf.jpg",excerpt:"The world's first gin with pure collagen â 11 botanicals, velvety smooth â joins as Official Gin Partner and Best Independent Film category sponsor.",slug:"collagin"},{id:"elevatione-2018",title:"Ãlévatione Named Official Skin Care Partner â NFA 2018",category:"Sponsor Announcements",date:"March 2018",year:2018,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/22ea40556_elevatione.jpg",excerpt:"Inspired by Salvador DalÃ, Ãlévatione's time-defying skincare with 12 boutiques worldwide joins as Official Skin Care Partner of the 8th Anniversary NFA.",slug:"elevatione"},{id:"instantprint-2018",title:"instantprint Joins as Official Print Partner â NFA 2018",category:"Sponsor Announcements",date:"March 2018",year:2018,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/5422af010_INSTAPRINT.png",excerpt:"The UK's leading online printer joins as Official Partner and Best Documentary category sponsor â bridging print and cinema excellence.",slug:"instantprint"},{id:"avlon-2018",title:"Avlon Named Official Partner â 4th Annual NFA 2018",category:"Sponsor Announcements",date:"February 2018",year:2018,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/f2fcb6c98_Avlon.png",excerpt:"Founded 1984 by Dr Ali N. Syed, the world leader in professional haircare for diverse textures sponsors Best Thriller at the National Film Awards.",slug:"avlon"},{id:"thomas-henry-2018",title:"Thomas Henry Confirmed as Official Drinks Partner â NFA 2018",category:"Sponsor Announcements",date:"February 2018",year:2018,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/04af55407_thomashenry.jpg",excerpt:"Berlin's premium soft drinks brand, founded 2010, crafting the perfect pour â joins as Official Partner of the 4th Annual National Film Awards.",slug:"thomas-henry"},{id:"nom-2018",title:"4th Annual NFA 2018 â Nominations Announced",category:"Nomination News",date:"February 2018",year:2018,image:"https://images.unsplash.com/photo-1536440136628-849c177e76a1?w=800&q=80",excerpt:"The 4th Annual National Film Awards nominations are revealed. Public voting is open â every vote counts."},{id:"gold-collagen-2016",title:"GOLD COLLAGEN® Named Best Actress Category Sponsor â NFA 2016",category:"Sponsor Announcements",date:"February 2016",year:2016,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/12885e8c2_GoldCollagen.jpg",excerpt:"Patented liquid beauty supplement, 20x more effective than topical creams. GOLD COLLAGEN® acquires naming rights to the Best Actress category â nominees including Marion Cotillard.",slug:"gold-collagen"},{id:"metcalfes-2016",title:"Metcalfe's Skinny Named Official Popcorn Sponsor â NFA 2016",category:"Sponsor Announcements",date:"February 2016",year:2016,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/0c53f060a_Metcalfes-skinny-impulse-range.jpg",excerpt:"UK's #1 premium cinema snack brand joins as Official Popcorn Sponsor and Best British Film category sponsor at the 2nd Annual National Film Awards.",slug:"metcalfes-skinny"},{id:"nom-2016",title:"2nd Annual NFA 2016 â Full Nominations Revealed",category:"Nomination News",date:"February 2016",year:2016,image:"https://images.unsplash.com/photo-1478720568477-152d9b164e26?w=800&q=80",excerpt:"The 2nd Annual National Film Awards nominations span 22 categories. Marion Cotillard, Carey Mulligan and Tom Hardy among the biggest names nominated."},{id:"o2-2015",title:"O2 Announced as Headline Sponsor of the Inaugural NFA 2015",category:"Sponsor Announcements",date:"2015",year:2015,image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/ceeb252dc_NFAO2.png",excerpt:"30M+ UK customers. O2, a champion of live entertainment, confirmed as Official Sponsor of the very first National Film Awards UK ceremony.",slug:"o2"},{id:"nom-2015",title:"National Film Awards UK â Inaugural 2015 Nominations Announced",category:"Nomination News",date:"2015",year:2015,image:"https://images.unsplash.com/photo-1485846234645-a62644f84728?w=800&q=80",excerpt:"The first-ever National Film Awards UK nominations are revealed, spanning 12 categories celebrating the very best of British and international cinema."}
619,{id:"global-expansion-2026",title:"NFA Announces Global Expansion Strategy for 2026",category:"Academy News",date:"April 2025",year:2025,image:"https://images.unsplash.com/photo-1517604931442-7e0c8ed2963c?w=800&q=80",excerpt:"New territories and partnerships signal the next chapter in the Academy's mission to celebrate cinema worldwide â South Africa, USA and Asia among new additions."},{id:"icon-award-2025",title:"Top 11 Iconic Moments from 11 Years of the National Film Awards UK",category:"Academy News",date:"May 19, 2025",year:2025,image:"https://images.unsplash.com/photo-1594909122845-11baa439b7bf?w=800&q=80",excerpt:"From Dame Judi Dench to Samuel L. Jackson â a look back at the moments that defined a decade of cinematic celebration at the NFA."}],wY=["All","Press Releases","Nomination News","Sponsor Announcements","Media Coverage","Ceremony Reports","Academy News"],Ay=[{outlet:"The Guardian",title:"National Film Awards: Public Power Comes to the Red Carpet",date:"July 2025",logo:"ð¬ð§",url:"#",color:"#005689"},{outlet:"The Independent",title:"NFA 2025: A Night of Records and Surprises at the Ceremony",date:"July 2025",logo:"ð°",url:"#",color:"#e30613"},{outlet:"Evening Standard",title:"Stars Light Up London for the 11th Annual National Film Awards",date:"July 2025",logo:"â",url:"#",color:"#003580"},{outlet:"OK! Magazine",title:"Red Carpet Glamour: The Best Dressed at NFA 2025",date:"July 2025",logo:"â¨",url:"#",color:"#ff6600"},{outlet:"Screen International",title:"How the NFA Changed British Film Recognition Forever",date:"June 2025",logo:"ð¬",url:"#",color:"#1a1a1a"},{outlet:"Variety",title:"UK's Fan-Voted Film Awards Continue Rapid Growth",date:"May 2025",logo:"ð",url:"#",color:"#f5a623"},{outlet:"Hollywood Reporter",title:"National Film Awards UK: The Academy Where the Public Rules",date:"April 2025",logo:"ðª",url:"#",color:"#c8002d"},{outlet:"Time Out London",title:"Best Events This Summer: NFA Ceremony at the Top",date:"June 2024",logo:"ð",url:"#",color:"#e91e63"},{outlet:"Tatler",title:"Inside the Most Glamorous Night on the British Film Calendar",date:"July 2024",logo:"ð",url:"#",color:"#2d5016"},{outlet:"GQ UK",title:"The Style Moments That Defined NFA 2024",date:"July 2024",logo:"ð©",url:"#",color:"#1a1a1a"}],vY=["All Years","2026","2025","2024","2023","2022","2019","2018","2016","2015"];function CY(){const e=Lo(),[t,r]=B.useState("All"),[n,s]=B.useState(""),[i,o]=B.useState("All Years"),[c,d]=B.useState(!1),{data:u=[]}=vt({queryKey:["newsArticles"],queryFn:()=>Ce.entities.NewsArticle.list("-published_date",100)}),h=[...u.map(v=>({id:v.id,title:v.title,category:v.category,date:new Date(v.published_date).toLocaleDateString("en-GB",{year:"numeric",month:"long",day:"numeric"}),year:new Date(v.published_date).getFullYear(),image:v.image_url,excerpt:v.excerpt,content:v.content,featured:v.is_featured,slug:null})),...w8],m=v=>{v.slug==="leger-holidays-2026"?e("/leger-holidays-2026"):v.slug?e(at(`SponsorArticle?sponsor=${v.slug}`)):e(`/newsroom/${v.id}`)},p=h.find(v=>v.featured)||h[0],x=h.filter(v=>{const N=t==="All"||v.category===t,F=i==="All Years"||String(v.year)===i,S=!n||v.title.toLowerCase().includes(n.toLowerCase())||v.excerpt.toLowerCase().includes(n.toLowerCase());return N&&F&&S}),w=t==="All"&&!n&&i==="All Years"?x.slice(1):x,g=t==="All"&&!n&&i==="All Years",b={"Sponsor Announcements":"#C9A84C","Nomination News":"#0066CC","Ceremony Reports":"#E91E63","Academy News":"#2D5A27","Media Coverage":"#8B6B9D","Press Releases":"#E63946"};return a.jsxs("div",{className:"pt-24 lg:pt-28 bg-[#FAFAF8] min-h-screen",children:[a.jsxs("section",{className:"bg-[#0D0D0D] relative overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 opacity-5",style:{backgroundImage:"radial-gradient(circle, #C9A84C 1px, transparent 1px)",backgroundSize:"40px 40px"}}),a.jsx("div",{className:"absolute top-0 left-1/4 w-72 h-72 bg-[#C9A84C]/10 rounded-full blur-3xl"}),a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 py-16 lg:py-20 relative z-10",children:a.jsxs(V.div,{initial:{opacity:0,y:20}
619,animate:{opacity:1,y:0},className:"flex flex-col lg:flex-row lg:items-end lg:justify-between gap-8",children:[a.jsxs("div",{children:[a.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[a.jsx("div",{className:"w-2 h-2 rounded-full bg-[#C9A84C] animate-pulse"}),a.jsx("span",{className:"text-[#C9A84C] text-xs font-bold tracking-[0.3em] uppercase",children:"NFA Press Office"})]}),a.jsx("h1",{className:"font-editorial text-5xl lg:text-7xl font-bold text-white leading-none mb-4",children:"Newsroom"}),a.jsx("p",{className:"text-white/40 text-lg max-w-xl",children:"Official press releases, sponsor announcements, nomination news and media coverage from the National Film Academy."})]}),a.jsx("div",{className:"grid grid-cols-3 gap-3 lg:min-w-[320px]",children:[{n:h.filter(v=>v.category==="Sponsor Announcements").length+"+",l:"Sponsor Stories"},{n:h.filter(v=>v.category==="Nomination News").length+"+",l:"Nomination Releases"},{n:Ay.length+"+",l:"Media Features"}].map(v=>a.jsxs("div",{className:"bg-white/5 border border-white/10 rounded-2xl py-4 px-3 text-center",children:[a.jsx("p",{className:"font-editorial text-2xl font-bold text-[#C9A84C]",children:v.n}),a.jsx("p",{className:"text-white/30 text-[10px] mt-1 uppercase tracking-wider",children:v.l})]},v.l))})]})})]}),a.jsx("section",{className:"sticky top-[72px] z-30 bg-white border-b border-[#C9A84C]/10 shadow-sm",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 py-4",children:a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 items-stretch sm:items-center",children:[a.jsxs("div",{className:"relative flex-1 max-w-md",children:[a.jsx(ks,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-4 h-4 text-[#8A8578]"}),a.jsx("input",{type:"text",placeholder:"Search press releases...",value:n,onChange:v=>s(v.target.value),className:"w-full pl-11 pr-4 py-2.5 rounded-full border border-[#C9A84C]/20 text-sm text-[#1A1A1A] placeholder-[#8A8578] focus:outline-none focus:ring-2 focus:ring-[#C9A84C]/30 bg-[#FAFAF8]"}),n&&a.jsx("button",{onClick:()=>s(""),className:"absolute right-4 top-1/2 -translate-y-1/2 text-[#8A8578] hover:text-[#1A1A1A]",children:a.jsx(tr,{className:"w-3.5 h-3.5"})})]}),a.jsx("div",{className:"flex items-center gap-2 overflow-x-auto pb-1 flex-1",children:wY.map(v=>a.jsx("button",{onClick:()=>r(v),className:`flex-shrink-0 px-4 py-2 rounded-full text-[11px] font-bold tracking-wide transition-all ${t===v?"bg-[#C9A84C] text-white shadow-md":"bg-[#F5F0E8] text-[#8A8578] hover:bg-[#C9A84C]/10 hover:text-[#C9A84C]"}`,children:v},v))}),a.jsxs("div",{className:"relative flex-shrink-0",children:[a.jsxs("button",{onClick:()=>d(!c),className:"flex items-center gap-2 px-4 py-2.5 rounded-full border border-[#C9A84C]/20 text-[11px] font-bold text-[#8A8578] hover:border-[#C9A84C] hover:text-[#C9A84C] transition-all bg-[#FAFAF8]",children:[a.jsx(U3,{className:"w-3.5 h-3.5"}),i,a.jsx(Ia,{className:`w-3.5 h-3.5 transition-transform ${c?"rotate-180":""}`})]}),a.jsx(Mt,{children:c&&a.jsx(V.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:8},className:"absolute right-0 top-full mt-2 bg-white rounded-2xl shadow-xl border border-[#C9A84C]/10 z-50 overflow-hidden min-w-[140px]",children:vY.map(v=>a.jsx("button",{onClick:()=>{o(v),d(!1)},className:`w-full text-left px-4 py-2.5 text-sm font-semibold transition-all ${i===v?"bg-[#C9A84C] text-white":"text-[#1A1A1A] hover:bg-[#C9A84C]/5 hover:text-[#C9A84C]"}`,children:v},v))})})]})]})})}),a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 py-12",children:[g&&p&&a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"mb-14",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-6",children:[a.jsx(It,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsx("span",{className:"text-[#C9A84C] text-xs font-black tracking-[0.25em] uppercase",children:"Latest Release"})]}),a.jsxs("div",{className:"grid lg:grid-cols-[1.4fr_1fr] gap-0 rounded-3xl overflow-hidden shadow-2xl border border-[#C9A84C]/10 group cursor-pointer",onClick:()=>m(p),children:[a.jsxs("div",{className:"relative h-72 lg:h-auto overflow-hidden",children:[a.jsx("img",{src:p.image,alt:p.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent to-black/20 lg:bg-gradient-to-t lg:from-transparent"}),a.jsx("div",{className:"absolute top-5 left-5",children:a.jsx("span",{className:"px-3 py-1.5 bg-[#C9A84C] text-black text-[10px] font-black uppercase tracking-wider rounded-full",children:"New 2026"})})]}),a.jsxs("div",{className:"bg-[#1A1A1A] p-8 lg:p-12 flex flex-col justify-between",children:[a.jsxs("div",{children:[a.jsx("span",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.2em] uppercase",children:p.category}),a.jsx("h2",{className:"font-editorial text-3xl lg:text-4xl font-bold text-white mt-3 mb-4 leading-tight group-hover:text-[#C9A84C] transition-colors",children:p.title}),a.jsx("p",{className:"text-white/50 leading-relaxed text-sm",children:p.excerpt})]}),a.jsxs("div",{className:"flex items-center justify-between mt-8 pt-6 border-t border-white/10",children:[a.jsxs("div",{className:"flex items-center gap-2 text-white/30 text-xs",children:[a.jsx(Qt,{className:"w-3.5 h-3.5"}),p.date]}),a.jsxs("span",{className:"inline-flex items-center gap-1.5 text-[#C9A84C] font-bold text-sm group-hover:gap-3 transition-all",children:["Read Release ",a.jsx(bt,{className:"w-4 h-4"})]})]})]})]})]}),(n||i!=="All Years"||t!=="All")&&a.jsxs("div",{className:"mb-6 text-sm text-[#8A8578]",children:["Found ",a.jsx("span",{className:"font-bold text-[#1A1A1A]",children:x.length})," results",n&&a.jsxs(a.Fragment,{children:[' for "',a.jsx("span",{className:"font-bold text-[#C9A84C]",children:n}),'"']}),i!=="All Years"&&a.jsxs(a.Fragment,{children:[" in ",a.jsx("span",{className:"font-bold text-[#C9A84C]",children:i})]}),t!=="All"&&a.jsxs(a.Fragment,{children:[" · ",a.jsx("span",{className:"font-bold text-[#C9A84C]",children:t})]})]}),w.length>0&&a.jsxs("div",{className:"mb-20",children:[(t!=="All"||n||i!=="All Years")&&a.jsxs("div",{className:"flex items-center gap-2 mb-6",children:[a.jsx(js,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsx("span",{className:"text-[#1A1A1A] font-bold text-sm",children:t==="All"?"All Press Releases":t})]}),g&&a.jsxs("div",{className:"flex items-center gap-2 mb-6",children:[a.jsx(Gy,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsx("span",{className:"text-[#1A1A1A] font-bold text-sm",children:"Recent Releases"})]}),a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:w.map((v,N)=>{const F=b[v.category]||"#C9A84C";return a.jsxs(V.article,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:N%6*.07},className:"group bg-white rounded-2xl overflow-hidden border border-[#
619E8D5A0]/30 hover:shadow-xl transition-all duration-300 cursor-pointer",onClick:()=>m(v),children:[a.jsxs("div",{className:"relative h-48 overflow-hidden",children:[a.jsx("img",{src:v.image,alt:v.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 to-transparent"}),a.jsxs("div",{className:"absolute top-3 left-3 flex gap-2",children:[a.jsx("span",{className:"px-2.5 py-1 text-white text-[9px] font-black uppercase tracking-wider rounded-full",style:{backgroundColor:F},children:v.category}),v.tag&&a.jsx("span",{className:"px-2.5 py-1 bg-white text-black text-[9px] font-black uppercase tracking-wider rounded-full",children:v.tag})]}),a.jsx("div",{className:"absolute bottom-3 left-3",children:a.jsxs("span",{className:"text-white/60 text-[10px] flex items-center gap-1",children:[a.jsx(Qt,{className:"w-3 h-3"}),v.date]})})]}),a.jsxs("div",{className:"p-5",children:[a.jsx("h3",{className:"font-editorial text-lg font-bold text-[#1A1A1A] leading-tight group-hover:text-[#C9A84C] transition-colors mb-2 line-clamp-2",children:v.title}),a.jsx("p",{className:"text-[#8A8578] text-sm leading-relaxed line-clamp-2 mb-4",children:v.excerpt}),a.jsxs("span",{className:"inline-flex items-center gap-1 text-xs font-bold group-hover:gap-2 transition-all",style:{color:F},children:[v.slug?"Read Full Story":"View Release"," ",a.jsx(bt,{className:"w-3 h-3"})]})]})]},v.id)})})]}),x.length===0&&a.jsxs("div",{className:"text-center py-24 text-[#8A8578]",children:[a.jsx(Gy,{className:"w-12 h-12 mx-auto mb-4 opacity-30"}),a.jsx("p",{className:"font-editorial text-2xl font-bold mb-2",children:"No results found"}),a.jsx("p",{className:"text-sm",children:"Try adjusting your search or filters."})]}),(t==="All"||t==="Media Coverage")&&!n&&a.jsxs(V.section,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mb-20",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[a.jsx("div",{className:"w-1 h-8 rounded-full bg-[#C9A84C]"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.25em] uppercase mb-0.5",children:"Press & Media"}),a.jsx("h2",{className:"font-editorial text-2xl font-bold text-[#1A1A1A]",children:"Media Coverage"})]})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-5 gap-4",children:Ay.map((v,N)=>a.jsxs(V.a,{href:v.url,initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:N*.05},className:"group bg-white border border-[#E8D5A0]/30 rounded-2xl p-5 hover:shadow-lg transition-all duration-300 hover:border-[#C9A84C]/30 cursor-pointer block",children:[a.jsxs("div",{className:"flex items-center justify-between mb-3",children:[a.jsx("span",{className:"text-2xl",children:v.logo}),a.jsx(li,{className:"w-3.5 h-3.5 text-[#8A8578] opacity-0 group-hover:opacity-100 transition-opacity"})]}),a.jsx("p",{className:"font-bold text-xs",style:{color:v.color},children:v.outlet}),a.jsx("p",{className:"text-[#1A1A1A] text-[11px] leading-tight mt-1 font-medium line-clamp-3 group-hover:text-[#C9A84C] transition-colors",children:v.title}),a.jsx("p",{className:"text-[#8A8578] text-[10px] mt-2",children:v.date})]},N))})]}),(t==="All"||t==="Press Releases")&&!n&&a.jsxs(V.section,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"rounded-3xl overflow-hidden bg-[#0D0D0D] relative",children:[a.jsx("div",{className:"absolute inset-0 opacity-5",style:{backgroundImage:"radial-gradient(circle, #C9A84C 1px, transparent 1px)",backgroundSize:"40px 40px"}}),a.jsxs("div",{className:"relative grid lg:grid-cols-2 gap-0",children:[a.jsxs("div",{className:"p-10 lg:p-14",children:[a.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 bg-[#C9A84C]/10 border border-[#C9A84C]/20 rounded-full mb-6",children:[a.jsx(L3,{className:"w-3.5 h-3.5 text-[#C9A84C]"}),a.jsx("span",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.2em] uppercase",children:"Press Office"})]}),a.jsxs("h2",{className:"font-editorial text-3xl lg:text-4xl font-bold text-white mb-4",children:["Media Enquiries &",a.jsx("br",{}),"Press Accreditation"]}),a.jsx("p",{className:"text-white/40 text-sm leading-relaxed mb-8 max-w-md",children:"For press releases, interview requests, photography accreditation, and broadcast rights for the 12th Annual National Film Awards 2026."}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsxs("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-2 px-7 py-3.5 bg-gradient-to-r from-[#C9A84C] to-[#E8A500] text-black font-black text-sm rounded-full hover:shadow-lg hover:shadow-[#C9A84C]/30 transition-all",children:["Press Enquiries ",a.jsx(bt,{className:"w-4 h-4"})]}),a.jsx(He,{to:at("Sponsors"),className:"inline-flex items-center gap-2 px-7 py-3.5 border border-white/15 text-white/60 hover:text-white hover:border-white/30 font-bold text-sm rounded-full transition-all",children:"Sponsor Stories"})]})]}),a.jsx("div",{className:"bg-white/5 border-l border-white/5 p-10 lg:p-14 flex flex-col justify-center gap-6",children:[{icon:js,label:"Press Releases",val:`${h.length} releases`},{icon:$t,label:"Sponsor Stories",val:"20+ partners"},{icon:KI,label:"Media Coverage",val:`${Ay.length} features`},{icon:Kn,label:"Ceremony Reports",val:"11 annual editions"}].map(({icon:v,label:N,val:F})=>
619a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#C9A84C]/10 flex items-center justify-center flex-shrink-0",children:a.jsx(v,{className:"w-4.5 h-4.5 text-[#C9A84C]"})}),a.jsxs("div",{children:[a.jsx("p",{className:"text-white/30 text-[10px] uppercase tracking-wider",children:N}),a.jsx("p",{className:"text-white font-bold text-sm",children:F})]})]},N))})]})]})]})]})}const Xb=["Best Film","Best Actress","Best Actor","Best Supporting Actress","Best Supporting Actor","Best Newcomer","Best Drama","Best Thriller","Best Independent Film","Best Action in a Film/Series","Outstanding Performance","Best Director","Best Screenplay","Best Cinematography","Best Documentary","Best International Film","Best Short Film","Best Animated Film","Best Comedy","Best Horror Film"],Zb=["Best Actress in a TV Series","Best Actor in a TV Series","Best Supporting Actress in a TV Series","Best Supporting Actor in a TV Series","Best TV Drama Series","Best TV Comedy Series","Best Reality Show"],BY=[...Xb.map(e=>({name:e,type:"Film"})),...Zb.map(e=>({name:e,type:"TV"}))],dF={category:"",nominee_name:"",film_title:"",production_company:"",country:"",submitter_name:"",submitter_email:"",statement:""};
619function NY(){const[e,t]=B.useState("film"),[r,n]=B.useState(""),[s,i]=B.useState(dF),[o,c]=B.useState(1),[d,u]=B.useState(!1),[h,m]=B.useState(""),p=e==="film"?Xb:Zb,x=v=>{n(v),i(N=>({...N,category:v})),c(2),window.scrollTo({top:0,behavior:"smooth"})},w=v=>{i(N=>({...N,[v.target.name]:v.target.value})),m("")},g=async v=>{var N,F;if(v.preventDefault(),m(""),!s.nominee_name.trim())return m("Please enter the nominee's name.");if(!s.submitter_email.trim()||!s.submitter_email.includes("@"))return m("Please enter a valid email address.");if(!s.statement.trim())return m("Please provide a supporting statement.");u(!0);try{await Ce.integrations.Core.SendEmail({to:"[email protected]",subject:`NFA 2026 Nomination: ${s.category} â ${s.nominee_name}`,body:` 620NATIONAL FILM AWARDS 2026 â NOMINATION SUBMISSION 621 622Category: ${s.category} 623Nominee Name: ${s.nominee_name} 624Film / Show Title: ${s.film_title||"N/A"} 625Production Company: ${s.production_company||"N/A"} 626Country: ${s.country||"N/A"} 627 628Supporting Statement: 629${s.statement} 630 631--- 632Submitted by: ${s.submitter_name||"Anonymous"} 633Submitter Email: ${s.submitter_email} 634 `.trim()}),await Ce.integrations.Core.SendEmail({to:s.submitter_email,from_name:"National Film Awards",subject:"We've received your nomination â NFA 2026",body:` 635Dear ${s.submitter_name||"Film Fan"}, 636 637Thank you for submitting your nomination for the 12th Annual National Film Awards 2026. 638 639Here is a summary of your submission: 640 641Category: ${s.category} 642Nominee: ${s.nominee_name} 643${s.film_title?`Film/Show: ${s.film_title}`:""} 644 645Our academy panel will review all nominations to ensure they meet eligibility criteria. Shortlisted nominees will be announced on 4 May 2026. 646 647The ceremony takes place on 1 July 2026 in Central London. 648 649Thank you for being part of cinema history. 650 651With warmth, 652The National Film Awards Team 653nationalfilmawards.co.uk 654 `.trim()}),c(3),window.scrollTo({top:0,behavior:"smooth"})}catch(S){const E=((F=(N=S==null?void 0:S.response)==null?void 0:N.data)==null?void 0:F.error)||(S==null?void 0:S.message)||"";console.error("Nomination submit error:",E),m(E?`Submission failed: ${E}. Please try again or email [email protected] directly.`:"Something went wrong. Please try again or email [email protected] directly.")}finally{u(!1)}},b=()=>{i(dF),n(""),c(1),m("")};return a.jsxs("div",{className:"pt-24 lg:pt-28 min-h-screen bg-[#FAFAF8]",children:[a.jsxs("section",{className:"relative py-16 lg:py-24 overflow-hidden bg-[#0A0A0A]",children:[a.jsxs("div",{className:"absolute inset-0",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/229675ea1__V7A5280.jpg",alt:"",className:"w-full h-full object-cover object-center opacity-30"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#0A0A0A] via-[#0A0A0A]/80 to-transparent"})]}),a.jsx("div",{className:"relative z-10 max-w-[1400px] mx-auto px-6 lg:px-10",children:a.jsxs(V.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},className:"max-w-2xl",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[a.jsx(or,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsx("span",{className:"text-[11px] font-semibold tracking-[0.2em] uppercase text-[#C9A84C]",children:"Nominations 2026"})]}),a.jsxs("h1",{className:"font-editorial text-4xl sm:text-5xl lg:text-6xl font-bold text-white leading-tight mb-4",children:["Nominate for the",a.jsx("br",{}),a.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-[#C9A84C] to-[#F0D882]",children:"12th Annual Awards"})]}),a.jsxs("p",{className:"text-white/50 text-lg leading-relaxed max-w-lg",children:["Help shape the future of publicly voted cinema recognition. Nominees announced ",a.jsx("strong",{className:"text-[#C9A84C]",children:"4 May 2026"}),"."]})]})})]}),a.jsx("div",{className:"bg-white border-b border-[#C9A84C]/10 sticky top-16 lg:top-20 z-30",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 py-4 flex items-center gap-4",children:[{n:1,label:"Cho
654ose Category"},{n:2,label:"Nomination Details"},{n:3,label:"Submitted"}].map((v,N)=>a.jsxs(Pt.Fragment,{children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("div",{className:`w-7 h-7 rounded-full flex items-center justify-center text-xs font-bold transition-colors ${o>=v.n?"bg-[#C9A84C] text-white":"bg-[#C9A84C]/10 text-[#C9A84C]"}`,children:o>v.n?"â":v.n}),a.jsx("span",{className:`text-xs font-semibold hidden sm:block ${o>=v.n?"text-[#1A1A1A]":"text-[#8A8578]"}`,children:v.label})]}),N<2&&a.jsx("div",{className:`flex-1 h-0.5 rounded-full ${o>v.n?"bg-[#C9A84C]":"bg-[#C9A84C]/10"}`})]},v.n))})}),a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 py-16",children:a.jsxs(Mt,{mode:"wait",children:[o===1&&a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("h2",{className:"font-editorial text-3xl lg:text-4xl font-bold text-[#1A1A1A] mb-3",children:"Select a Category"}),a.jsxs("p",{className:"text-[#8A8578]",children:[BY.length," categories across Film and TV. Choose the one that best fits your nomination."]})]}),a.jsx("div",{className:"flex justify-center mb-8",children:a.jsxs("div",{className:"inline-flex bg-white border border-[#C9A84C]/20 rounded-full p-1 gap-1",children:[a.jsxs("button",{onClick:()=>t("film"),className:`flex items-center gap-2 px-6 py-2 rounded-full text-sm font-semibold transition-all ${e==="film"?"bg-[#C9A84C] text-white":"text-[#8A8578] hover:text-[#1A1A1A]"}`,children:[a.jsx(Dr,{className:"w-4 h-4"})," Film (",Xb.length,")"]}),a.jsxs("button",{onClick:()=>t("tv"),className:`flex items-center gap-2 px-6 py-2 rounded-full text-sm font-semibold transition-all ${e==="tv"?"bg-[#C9A84C] text-white":"text-[#8A8578] hover:text-[#1A1A1A]"}`,children:[a.jsx(ci,{className:"w-4 h-4"})," TV (",Zb.length,")"]})]})}),a.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-3",children:p.map((v,N)=>a.jsxs(V.button,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:N*.03},onClick:()=>x(v),className:"text-left p-5 rounded-2xl bg-white border border-[#C9A84C]/10 hover:border-[#C9A84C] hover:shadow-lg hover:shadow-[#C9A84C]/10 transition-all group",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx("p",{className:"text-sm font-semibold text-[#1A1A1A] group-hover:text-[#C9A84C] transition-colors leading-tight",children:v}),a.jsx(Ia,{className:"w-4 h-4 text-[#C9A84C] opacity-0 group-hover:opacity-100 transition-opacity rotate-[-90deg]"})]}),a.jsxs("p",{className:"text-xs text-[#8A8578] mt-1",children:[e==="film"?"Film":"TV"," Category"]})]},v))})]},"step1"),o===2&&a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},className:"max-w-2xl mx-auto",children:[a.jsxs("div",{className:"mb-8",children:[a.jsx("button",{onClick:()=>c(1),className:"text-[#C9A84C] text-sm font-semibold flex items-center gap-1 mb-4 hover:underline",children:"â Back to Categories"}),a.jsxs("div",{className:"bg-[#C9A84C]/10 border border-[#C9A84C]/20 rounded-2xl px-5 py-4 mb-6",children:[a.jsx("p",{className:"text-[10px] font-bold tracking-widest uppercase text-[#C9A84C] mb-1",children:"Selected Category"}),a.jsx("p",{className:"font-editorial text-2xl font-bold text-[#1A1A1A]",children:r})]}),a.jsx("h2",{className:"font-editorial text-2xl lg:text-3xl font-bold text-[#1A1A1A] mb-2",children:"Nomination Details"}),a.jsx("p",{className:"text-[#8A8578] text-sm",children:"Fill in the details below. Fields marked * are required."})]}),a.jsxs("form",{onSubmit:g,className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-bold tracking-wider uppercase text-[#1A1A1A] mb-2",children:"Nominee Name *"}),a.jsx("input",{name:"nominee_name",value:s.nominee_name,onChange:w,placeholder:"Full name of the person or film you're nominating",required:!0,className:"w-full px-4 py-3 rounded-xl border border-[#C9A84C]/20 bg-white text-[#1A1A1A] placeholder-[#8A8578] focus:outline-none focus:border-[#C9A84C] focus:ring-2 focus:ring-[#C9A84C]/10 transition"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-bold tracking-wider up
654percase text-[#1A1A1A] mb-2",children:"Film / Show Title"}),a.jsx("input",{name:"film_title",value:s.film_title,onChange:w,placeholder:"e.g. Oppenheimer, The Bear",className:"w-full px-4 py-3 rounded-xl border border-[#C9A84C]/20 bg-white text-[#1A1A1A] placeholder-[#8A8578] focus:outline-none focus:border-[#C9A84C] focus:ring-2 focus:ring-[#C9A84C]/10 transition"})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-bold tracking-wider uppercase text-[#1A1A1A] mb-2",children:"Production Company"}),a.jsx("input",{name:"production_company",value:s.production_company,onChange:w,placeholder:"Studio or distributor",className:"w-full px-4 py-3 rounded-xl border border-[#C9A84C]/20 bg-white text-[#1A1A1A] placeholder-[#8A8578] focus:outline-none focus:border-[#C9A84C] focus:ring-2 focus:ring-[#C9A84C]/10 transition"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-bold tracking-wider uppercase text-[#1A1A1A] mb-2",children:"Country"}),a.jsx("input",{name:"country",value:s.country,onChange:w,placeholder:"Country of origin",className:"w-full px-4 py-3 rounded-xl border border-[#C9A84C]/20 bg-white text-[#1A1A1A] placeholder-[#8A8578] focus:outline-none focus:border-[#C9A84C] focus:ring-2 focus:ring-[#C9A84C]/10 transition"})]})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-bold tracking-wider uppercase text-[#1A1A1A] mb-2",children:"Supporting Statement *"}),a.jsx("textarea",{name:"statement",value:s.statement,onChange:w,rows:5,placeholder:"Tell us why this nominee deserves recognition. Why do they stand out this year?",required:!0,className:"w-full px-4 py-3 rounded-xl border border-[#C9A84C]/20 bg-white text-[#1A1A1A] placeholder-[#8A8578] focus:outline-none focus:border-[#C9A84C] focus:ring-2 focus:ring-[#C9A84C]/10 transition resize-none"})]}),a.jsxs("div",{className:"border-t border-[#C9A84C]/10 pt-6",children:[a.jsx("p",{className:"text-xs font-bold tracking-wider uppercase text-[#8A8578] mb-4",children:"Your Details"}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-bold tracking-wider uppercase text-[#1A1A1A] mb-2",children:"Your Name"}),a.jsx("input",{name:"submitter_name",value:s.submitter_name,onChange:w,placeholder:"Your full name",className:"w-full px-4 py-3 rounded-xl border border-[#C9A84C]/20 bg-white text-[#1A1A1A] placeholder-[#8A8578] focus:outline-none focus:border-[#C9A84C] focus:ring-2 focus:ring-[#C9A84C]/10 transition"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-xs font-bold tracking-wider uppercase text-[#1A1A1A] mb-2",children:"Your Email *"}),a.jsx("input",{name:"submitter_email",type:"email",value:s.submitter_email,onChange:w,placeholder:"[email protected]",required:!0,className:"w-full px-4 py-3 rounded-xl border border-[#C9A84C]/20 bg-white text-[#1A1A1A] placeholder-[#8A8578] focus:outline-none focus:border-[#C9A84C] focus:ring-2 focus:ring-[#C9A84C]/10 transition"})]})]}),a.jsx("p",{className:"text-xs text-[#8A8578] mt-3",children:"A confirmation will be sent to your email. Your details will not be shared publicly."})]}),h&&a.jsxs("div",{className:"flex items-center gap-2 bg-red-50 border border-red-200 text-red-700 rounded-xl px-4 py-3 text-sm",children:[a.jsx(kl,{className:"w-4 h-4 flex-shrink-0"}),h]}),a.jsx("button",{type:"submit",disabled:d,className:"w-full py-4 bg-[#C9A84C] text-white font-bold text-[13px] tracking-[0.1em] uppercase rounded-full hover:bg-[#B8973B] transition-all shadow-lg shadow-[#C9A84C]/20 disabled:opacity-60 flex items-center justify-center gap-2",children:d?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"w-4 h-4 border-2 border-white/30 border-t-white rounded-full animate-spin"}),"Submitting..."]}):a.jsxs(a.Fragment,{children:[a.jsx(or,{className:"w-4 h-4"}),"Submit Nomination"]})})]})]},"step2"),o===3&&a.jsxs(V.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"max-w-xl mx-auto text-center py-12",children:[a.jsx(V.div,{initial:{scale:0},animate:{scale:1},transition:{delay:.2,type:"spring"},className:"w-24 h-24 bg-[#C9A84C]/10 rounded-full flex items-center justify-center mx-auto mb-8",children:a.jsx(an,{className:"w-12 h-12 text-[#C9A84C]"})}),a.jsx("h2",{className:"font-editorial text-3xl lg:text-4xl font-bold text-[#1A1A1A] mb-4",children:"Nomination Received!"}),a.jsxs("p",{className:"text-[#8A8578] text-lg mb-3",children:["Thank you for nominating ",a.jsx("strong",{className:"text-[#1A1A1A]",children:s.nominee_name})," for ",a.jsx("strong",{className:"text-[#1A1A1A]",children:s.category}),"."]}),a.jsxs("p",{className:"text-[#8A8578] mb-3",children:["A confirmation has been sent to ",a.jsx("strong",{className:"text-[#1A1A1A]",children:s.submitter_email}),"."]}),a.jsxs("p",{className:"text-[#8A8578] text-sm mb-10",children:["Our academy panel will review all nominations. Shortlisted nominees will be announced on ",a.jsx("strong",{className:"text-[#C9A84C]",children:"4 May 2026"}),"."]}),a.jsxs("div",{className:"flex flex-wrap gap-4 justify-center",children:[a.jsx("button",{onClick:b,className:"px-8 py-4 bg-[#C9A84C] text-white font-bold text-[12px] tracking-[0.1em] uppercase rounded-full hover:bg-[#B8973B] transition-all",children:"Submit Another Nomination"}),a.jsx("a",{href:"/",className:"px-8 py-4 border border-[#C9A84C]/30 text-[#C9A84C] font-bold text-[12px] tracking-[0.1em] uppercase rounded-full hover:border-[#C9A84C] transition-all",children:"Back to Home"})]})]},"step3")]})})]})}const uF={2015:{edition:"1st Annual",year:2015,date:"31 March 2015",location:"London, United Kingdom",broadcast:"Sky 192 â
65412 April 2015",nominationsOpen:"1 â 19 December 2014",votingPeriod:"12 Jan â 12 Mar 2015",totalVotes:"756,000+",categories:"15",territories:"5",lifetimeAchievement:"Dame Judi Dench",recordHolder:{title:"Belle â 6 Nominations",tags:["Best Drama","Best Screenplay","Best Director","Best Actor","Best Newcomer","Best Breakthrough"],subtitle:"Directed by Amma Asante · Starring Gugu Mbatha-Raw & Tom Felton"},pressRelease:`London, 12th of January 2015 â The National Film Academy has today announced the nominations for the prestigious National Film Awards 2015. The NFA is the only motion picture awards ceremony worldwide to be held in the UK, North America, South America, Australia and Asia with all categories nominated and voted for by movie fans in each territory. 655 656This year's 1st annual National Film Awards 2015 for the UK takes place in London, on the 31st of March 2015. 657 658Historical, Period Drama Belle leads with a record x6 nominations for Best Drama, Best Screenplay, Best Director nomination for Amma Asante whilst Tom Felton picks up Best Actor and central character Gugu Mbatha-Raw picks up nominations for Best Newcomer and Best Breakthrough Performance for her central role as Dido Elizabeth Belle in the film. 659 660A prestigious list of seasoned and new breakthrough talent including; Ben Affleck for "Gone Girl", André Benjamin for "Jimi: All Is By My Side", David Oyelowo for "Selma", James Buckley for "The Inbetweeners 2", Benedict Cumberbatch for "The Imitation Game", Tom Felton for "Belle", Jack O'Connell for "71", Brendan Gleeson for "Calvary", Asa Butterfield for "X+Y", Andrew Scott for "Pride" all battle it out for the Best Actor category. 661 662Andy Bradshaw, Vice President of the National Film Academy, commented "2014 has been an exciting and successful year for the motion picture industry... The National Film Awards provides movie fans the unique opportunity to take part in the process of nominating and also voting for who they believe stood out for them." 663 664Over 756,000 movie fans took to the National Film Awards website to cast their submissions in the 15 categories. Voting officially commenced 12/01/15 until the 12th of March 2015 with winners announced at the ceremony on the 31st of March 2015 and televised for broadcast on Sky 192 on the 12th of April. 665 666British film, stage and television actress, Dame Judi Dench is set to receive the Lifetime Achievement Award. 667 668For PR/Media Accreditation: Lisa Fuller â [email protected] 669For VIP/Celebrity/Talent Submissions: [email protected] 670Follow NFA on Twitter: @thefilmawards`,gallery:["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/fdc6f75c3_493128197_3917653858486185_1152427277301381336_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/2d5804715_493876548_3917723008479270_5492482352172510808_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/334dfad7a_494179961_3917653581819546_4600295118886127367_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/a4c0a0e63_493948755_3917653878486183_5839046734519939273_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/2f3918bbd_493982186_3917655571819347_3691024337518528392_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/dc104816a_494595543_3917723085145929_820052188069681330_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/f6a30d158_494251013_3917723125145925_8022363257740029650_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/1e0cd2935_493907485_3917653611819543_3551457929256554281_n.jpg"],nominations:[{category:"Best International Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Boyhoo
670d","Selma","The Imitation Game","The Theory of Everything","Wild","Annie","Guardians of the Galaxy","Gone Girl","The Fault in Our Stars","Calvary"]},{category:"Best Comedy",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["The Inbetweeners 2","Almost Married","A Long Way Down","Cuban Fury","Frank","Mrs Brown's Boys D'Movie","What We Did on Our Holiday"]},{category:"Best Action",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["Slow West","The Railway Man","The Knife That Killed Me","Trash","Plastic","Top Dog","The Guvnors"]},{category:"Best Drama",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Belle","Calvary","Half of a Yellow Sun","Jimmy's Hall","Pride","The Fault in Our Stars","Redirected","The Fold","Starred Up","Mr Turner"]},{category:"Best Independent Feature",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["One Rogue Reporter","Montana","The Newspaper","Abducted","The Guvnors","Pride","Half of A Yellow Sun"]},{category:"Best Documentary",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["American Interior","Next Goal Wins","NOW: In The Wings On A World Stage","20,000 Days on Earth","Night Will Fall","The Possibilities are Endless","Dispatches: Children on the Frontline","The Stuart Hall Project","Don't Call Me Crazy","Algorithms"]},{category:"Best Thriller",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["A Most Wanted Man","Black Sea","Honour","Only Lovers Left Alive","Locke","The Double","The Riot Club","The Two Faces of January"]},{category:"Best Actor",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Ben Affleck â Gone Girl","André Benjamin â Jimi: All Is By My Side","David Oyelowo â Selma","James Buckley â The Inbetweeners 2","Benedict Cumberbatch â The Imitation Game","Tom Felton â Belle","Simon Bird â The Inbetweeners 2","Jack O'Connell â 71","Brendan Gleeson â Calvary","Asa Butterfield â X+Y","Andrew Scott â Pride"]},{category:"Best Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Shailene Woodley â The Fault in Our Stars","Gugu Mbatha-Raw â Beyond the Lights","Quvenzhané Wallis â Annie","Sameena Jabeen Ahmed â Catch Me Daddy","Cheng Pei Pei â Lifting","Alicia Vikander â Testament of Youth","Keira Knightley â The Imitation Game","Imelda Staunton â Pride","Dorothy Atkinson â Mr Turner","Thandie Newton â Half of a Yellow Sun"]},{category:"Best Director",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Amma Asante â Belle","Mike Leigh â Mr. Turner","Yann Demange â 71","Matthew Warchus â Pride","John Michael McDonagh â Calvary","Lenny Abrahamson â Frank","Philippe Falardeau â The Good Lie"]},{category:"Best Screenplay",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Belle","The Fault in Our Stars","Electricity","The Theory of Everything","Hello Carter","The Good Lie","Half of a Yellow Sun"]},{category:"Best Breakthrough Performance",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["Gugu Mbatha-Raw â Belle","Andrew Scott â Pride","Michael Fassbender â Frank","Rafe Spall â X+Y","Keira Knightley â The Imitation Game","Reese Witherspoon â The Good Lie","Jamie Foxx â Annie","Chiwetel Ejiofor â Half of a Yellow Sun","Shailene Woodley â The Fault in Our Stars"]},{category:"Best Newcomer",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Gugu Mbatha-Raw â Belle","Cara Delevingne â The Face of an Angel","Liam Walpole â The Goob","Kuoth Wiel â The Good Lie","Jordan Kensington â The Newspaper","Sameena Jabeen Ahmed â Catch Me Daddy","Quvenzhané Wallis â Annie","Harley Sylvester â The Guvnors","Arnold Oceng â The Good Lie"]},{category:"Best Foreign Language Film",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Ida (Poland)","Force Majeure (Sweden)","The Liberator (Venezuela)","Accused (Netherlands)","Wild Tales (Argentina)","Human Capital (Italy)"]},{category:"Best Short Film",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["Slap","Echo","Dinner and a Movie","The Karman Line","Emotional Fusebox","Dust","That's
670Not Supposed to Happen","Yoke Farm","My Friend Ivor"]}]},2016:{edition:"2nd Annual",year:2016,date:"31 March 2016",location:"London, United Kingdom",broadcast:"Sky Showcase (Sky 261, Freesat 402, Freeview 254)",nominationsOpen:"1 May 2015 â 4 January 2016",votingPeriod:"15 Jan â 25 Mar 2016",totalVotes:"1.3 million+",categories:"18",territories:"5",lifetimeAchievement:"Helen Mirren",recordHolder:{title:"Spectre & Kingsman â 4 Nominations Each",tags:["Best International Film","Best Action","Best British Film","Best Screenplay"],subtitle:"Daniel Craig (Spectre) · Matthew Vaughn, dir. (Kingsman: The Secret Service)"},pressRelease:`London, 11th of January 2016 â The National Film Academy has today announced the nominations for the prestigious 2nd annual National Film Awards UK 2016. 671 672Michael Fassbender, Helena Bonham Carter, Sienna Miller, Alicia Vikander, Colin Firth, John Boyega, Simon Pegg, and Daniel Craig top the list of nominations. 673 674This year's 2nd annual National Film Awards 2016 for the UK takes place in London, on the 31st of March 2016. 675 676British film, stage and television actress, Helen Mirren is set to receive the Lifetime Achievement Award. 677 678Rise of the Footsoldier II, Spectre, The Second Best Exotic Marigold Hotel, Kingsman (The Secret Service), North v South, Macbeth, A Royal Night Out, Absolutely Anything go head to head to claim the Best British Film 2016 whilst Spectre and Kingsman both battle it out with a record x4 nominations each. 679 680The nominees for Global Contribution to Motion Picture include: Hugh Grant, Denzel Washington, Ben Kingsley, Meryl Streep, Harrison Ford, Samuel L Jackson, Michael Caine, Leonardo DiCaprio and Kevin Spacey. 681 682A list of new breakthrough talent also make the NFA 2016 shortlist in Best Newcomer: Taron Egerton (Kingsman), Agyness Deyn (Sunset Song), Bel Powley (A Royal Night Out), Milo Parker (Mr. Holmes), John Boyega (Star Wars: The Force Awakens), Abigail Hardingham (Nina Forever), Kodi Smit-McPhee (Slow West), Sonoya Mizuno (Ex-Machina), Karidja Touré (Girlhood) and Hermione Corfield (Mission Impossible: Rogue Nation). 683 684Over 1.3 million movie fans took to the National Film Awards UK website to cast their submissions in the 18 categories. Voting officially commences 15/01/16 until the 25th of March 2016 with winners announced at the ceremony on 31st of March 2016, televised for broadcast on Sky Showcase. 685 686Helen Mirren is set to receive the Lifetime Achievement Award. 687 688For Media Accreditation: [email protected] 689For Celebrity/Brand Partnerships: Lisa Fuller â [email protected]`,gallery:["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/bc2be2d87_496632659_3931836803734557_1177846313558204504_n1.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6301c1ed3_497461638_3931836257067945_5116001914130461743_n1.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6eeb14027_497495088_3931837817067789_7394911317567318133_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/13d451cae_497477398_3931835390401365_6754245215589223906_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/3c4c68cdc_496940134_3931834407068130_612515247948293069_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/ccfb7d655_497510283_3931835800401324_2678468434363338251_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/26bdab8f1_496082021_3931834497068121_8003815382529129054_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/04b10726c_496819463_3931835760401328_7024670760211368631_n.jpg"],nominations:[{category:"Best International Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Star Wars â The Force Awakens","Spectre","Kingsman: The Secret Service","Ex-Machina","Girlhood","45 Years","Macbeth","Mission Impossible (Rogue Nation)","The Wedding Ringer","Fast and Furious 7"]},{category:"Best Comedy",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Absolutely Anything","Burn, Burn, Burn","Lost in Karastan","Man Up","The Lobster","The Second Best Exotic Marigold Hotel"]},{category:"Best Action",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["Chasing Robert Barker","Containment","Star Wars â The Force Awakens","Spectre","Kidnapping Mr Heineken","Kingsman: The Secret Service","Remainder","The Man from U.N.C.L.E","The Rise of the Krays"]},{category:"Best Drama",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["45 Years","A Patch of Fog","A Royal Night Out","A Reason to Leave","Captain Webb","Gholam","Macbeth","Little Pieces","The Danish Girl","The Lady in the Van","Youth"]},{category:"Best Independent Feature",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["Carol","The Gunman","Capsule","Never Let Go","Residue","Rise of the Footsoldier II","Feast of Varasani"]}
689,{category:"Best Documentary",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Amy","Andrew Carnegie, Rags to Riches, Power to Peace","How to Change the World","The Fear of 13","The Emperor's New Clothes","The Hardstop"]},{category:"Best Thriller",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["And Then I Was French","Awaiting","Dartmoor Killing","Banjo","Never Let Go","North v South","Redistributors","Rise of the Foot Soldier II"]},{category:"Best British Film",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Rise of the Footsoldier II","Spectre","The Second Best Exotic Marigold Hotel","Kingsman (The Secret Service)","North v South","Macbeth","A Royal Night Out","Absolutely Anything"]},{category:"Best Actor",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Tom Courtenay â 45 Years","Colin Farrell â The Lobster","Michael Fassbender â Macbeth","Colin Firth â Kingsman","Tom Hardy â Legend","Tom Hiddleston â High-Rise","Daniel Craig â Spectre","Taron Egerton â Kingsman","Dev Patel â The Second Best Exotic Marigold Hotel","Simon Pegg â Absolutely Anything","Gudmundur Thorvaldsson â Chasing Robert Parker","Keith Allen â North v South"]},{category:"Best Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Marion Cotillard â Macbeth","Carey Mulligan â Suffragette","Charlotte Rampling â 45 Years","Saoirse Ronan â Brooklyn","Natalia Tena â Residue","Freema Agyeman â North v South","Alicia Vikander â The Danish Girl","Natalie Emmanuel â Fast and Furious 7","Louise Brealey â Containment","Daisy Ridley â Star Wars: The Force Awakens"]},{category:"Best Director",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Andrew Haigh â 45 Years","Asif Kapadia â Amy","JJ Abrams â Star Wars: The Force Awakens","Alex Garland â Ex Machina","Yorgos Lanthimos â The Lobster","Justin Kurzel â Macbeth","Matthew Vaughn â Kingsman","John Maclean â Slow West","Ricci Harnett â Rise of the Footsoldier II","Stephen Fingleton â The Survivalist"]},{category:"Best Screenplay",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["London Road","Kingsman â The Secret Service","Ex-Machina","Brooklyn","Son of Saul","Slow West","Macbeth","Hector","Spectre"]},{category:"Best Breakthrough Performance",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["John Boyega â Star Wars","Domhnall Gleeson â Ex-Machina","Colin Firth â Kingsman","Nathalie Emmanuel â Fast and Furious 7","Michael Fassbender â Slow West","Ricci Harnett â Rise of the Footsoldier II","Alicia Vikander â Ex-Machina","Daisy Ridley â Star Wars","Jim Sturgess â Kidnapping Mr. Heineken","Maggie Smith â The Lady in the Van"]},{category:"Best Newcomer",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Taron Egerton â Kingsman","Agyness Deyn â Sunset Song","Bel Powley â A Royal Night Out","Milo Parker â Mr. Holmes","John Boyega â Star Wars","Abigail Hardingham â Nina Forever","Kodi Smit-McPhee â Slow West","Sonoya Mizuno â Ex-Machina","Karidja Touré â Girlhood","Hermione Corfield â Mission Impossible: Rogue Nation"]},{category:"Best Foreign Language Film",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Rams (Iceland)","The Assassin (Taiwan)","The Second Mother (Brazil)","The Club (Chile)","A Pigeon Sat on a Branch Reflecting on Existence (Sweden)","Mustang (France)","Son of Saul (Hungary)","A War (Denmark)","The Brand New Testament (Belgium)","The Fencer (Finland)","Labyrinth of Lies (Germany)"]},{category:"Best Supporting Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Helena Bonham Carter â Suffragette","Lara Pulver â A Patch of Fog","Olivia Colman â The Lobster","Anne-Marie Duff â Suffragette","Naomie Harris â Spectre","Alexandra Evans â Redistributors","Julie Walters â Brooklyn","Sofia Boutella â Kingsman","Nathalie Emmanuel â Fast and Furious 7","Slaine Kelly â Rise of the Footsoldier II"]},{category:"Best Supporting Actor",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Luke Evans â High-Rise","Rupert Everett â A Royal Night Out","Samuel L Jackson â Kingsman","Brendan Gleeson â Suffragette","Domhnall Gleeson â Brooklyn","Sean Harris â Macbeth","Ben Whishaw â The Lobster","John Boyega â Star Wars","Michael Caine â Kingsman","Patrick Regis â Chasing Robert Barker"]},{category:"Best Short Film",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["7 Sheep","Black Sheep","160 Characters","Above","Balcony","Absence","Band Call","Camrex","Family Trip","Finding Fanon","New Eyes"]},{category:"Global Contribution to Motion Picture",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Hugh Grant","Denzel Washington","Ben Kingsley","Meryl Streep","Helen Mirren","Harrison Ford","Samuel L Jackson","Michael Caine","Leonardo DiCaprio","Kevin Spacey"]}]},2017:{edition:"3rd Annual",year:2017,date:"29 March 2017",location:"London, United Kingdom",broadcast:"Sky Showcase (Sky 261, Freesat 402, Freeview 254)",nominationsOpen:"Public vote â announced 23 January 2017",votingPeriod:"23 Jan â 23 Mar 2017",totalVotes:"1.9 million+",categories:"18",territories:"5",lifetimeAchievement:"Sir David Jason & Nicholas
689Lyndhurst",recordHolder:{title:"Under the Shadow â Multiple Nominations",tags:["Best International Film","Best Actress","Best Thriller","Best Independent Feature","Best Supporting Actress","Best Screenplay"],subtitle:"Dir. Babak Anvari · Starring Narges Rashidi & Avin Manshadi"},pressRelease:`London, 23rd January 2017 â Ewan McGregor, Catherine Zeta Jones, Michael Fassbender and Gemma Jones are among acts shortlisted for this year's National Film Awards UK. 690 691The National Film Academy has today announced the nominations for the ceremony, which takes place in London on March 29 and will be broadcast on Sky Showcase, Sky channel 261. 692 693Over 1.9 million fans cast their vote across 18 categories to decide the nominations. Movie fans can now vote for the winners on the official Academy website at www.nationalfilmawards.org. 694 695Leading actress, Catherine Zeta Jones who recently starred as Rose Winters in Dad's Army joins fellow stars Joan Collins, Kelsey Grammer, Hugh Grant, Julie Andrews, Pierce Brosnan, Simon Pegg, John Cleese, Jude Law and James Nesbit as they go head to head in the Global Contribution to Motion Picture category. 696 697Best Actor nominees include Michael Fassbender for Trespass Against Us and Eddie Redmayne for Fantastic Beasts And Where To Find Them. Best Actress nominees include Narges Rashidi for Under the Shadow, Gemma Jones for Bridget Jones's Baby, and Sasha Lane for American Honey. 698 699The National Film Academy is set to honour Sir David Jason and Nicholas Lyndhurst â best known for their hit TV drama Only Fools and Horses â with a
699Lifetime Achievement Award. 700 701The National Film Academy is also running a competition for the public to submit their Short Film for a chance to win the Best Short Film 2017 award and a publicity/marketing prize worth over £50,000. 702 703For Media Accreditation: Richard Goldstein â [email protected] 704NFA 2017 Short Film competition: Andy Bradshaw â [email protected] 705Celebrity/Brand Partnerships: Lisa Fuller â [email protected]`,gallery:["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/4b40af6d9_500255082_3946948632223374_6411853215849322910_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6b9f2390d_500126290_3946948692223368_5814656308654476537_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/203b3f86c_500904972_3946948675556703_6020580423130548799_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/8275ca1b3_500831772_3946944598890444_8010621788052568009_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/b2d9ac4d8_500240903_3946944745557096_2070552428076805578_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/1696355cf_500216725_3946944348890469_2327306243823688953_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/17ae75fab_500304243_3946944542223783_7691192067473405902_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/3880045d8_501748200_3946939142224323_4261918620665979822_n.jpg"],nominations:[{category:"Best Actor",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Max Records â I Am Not a Serial Killer","Michael Fassbender â Trespass Against Us","Shia LaBeouf â American Honey","Steve Brandon â My Feral Heart","Eddie Redmayne â Fantastic Beasts","Will Poulter â Kids in Love","David Oyelowo â A United Kingdom","Ewan McGregor â Our Kind of Traitor","Sacha Baron Cohen â Grimsby","Matthew Horne â Breaking the Bank","Tom Sturridge â Remainder","Daniel Radcliffe â Now You See Me 2"]},{category:"Best Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Jodie Whittaker â Adult Life Skills","Kate Dickie â Couple in a Hole","Narges Rashidi â Under the Shadow","Jennifer Saunders â Absolutely Fabulous: The Movie","Sasha Lane â American Honey","Lupita Nyong'o â Queen of Katwe","Gemma Jones â Bridget Jones's Baby","Gemma Arterton â The Girl with All the Gifts","Renée Zellweger â Bridget Jones's Baby","Gugu Mbatha-Raw â Miss Sloane"]},{category:"Best Newcomer",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Lucas Hedges","Laia Costa","Tom Holland","Ruth Negga","Anya Taylor-Joy","Avin Manshadi","Jana Perez","Morfydd Clark"]},{category:"Best Breakthrough Performance",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["Arnold Oceng â Brotherhood","Riz Ahmed â Rogue One: A Star Wars Story","Hayley Squires â I, Daniel Blake","Bel Powley â Diary of a Teenage Girl","Jodie Whittaker â Adult Life Skills","Avin Manshadi â Under the Shadow","Jonathan Readwin â Stoner Express"]},{category:"Best Supporting Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Avin Manshadi â Under the Shadow","Gemma Arterton â The Girl with All the Gifts","Naomie Harris â Our Kind of Traitor","Shana Swash â My Feral Heart","Joanna Lumley â Absolutely Fabulous: The Movie","Terry Pheto â A United Kingdom","Alma Jodorowsky â Kids in Love","Gemma Jones â Bridget Jones's Baby"]},{category:"Best Supporting Actor",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Arnize Kene â The Pass","Jamie Dornan â Anthropoid","Sean Harris â Trespass Against Us","Mark Strong â Grimsby","Jim Broadbent â Bridget Jones's Baby","Arnold Oceng â Brotherhood"]},{category:"Best International Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Mustang","Moonlight","Fantastic Beasts And Where To Find Them","Miles Ahead","Our Little Sister","American Honey","Queen of Katwe","Sticky Notes","Now You See Me 2"]},{category:"Best Comedy",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Absolutely Fabulous: The Movie","Dad's Army","David Brent: Life On The Road","Grimsby","War On Everyone","Bridget Jones's Baby","Breaking the Bank","Adult Life Skills","The Young Offenders"]},{category:"Best Action",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["Brotherhood","E
705ddie the Eagle","The Girl with All the Gifts","The Guv'nor","The Fall of the Krays"]},{category:"Best Drama",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["A Hundred Streets","Our Kind of Traitor","Sand Castle","After Love","I, Daniel Blake","Noble","Remainder","American Honey"]},{category:"Best Independent Feature",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["Couple in a Hole","Under the Shadow","Chicken","The Fall of the Krays","Mob Handed","The Contract","Our Kind of Traitor","Amstardam"]},{category:"Best Documentary",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Fire at Sea","Britain's Billionaire Immigrants","Stupid Man, Smartphone","Abused: the Untold Story","The Confession: Living the War on Terror","Five Days on Lesvos","A Plastic Ocean"]},{category:"Best Thriller",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Stratton","The Ones Below","The Other Side Of The Door","Under the Shadow","Plan Z","Gozo"]},{category:"Best British Film",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Kids In Love","Our Kind of Traitor","Grimsby","A United Kingdom","5 Greedy Bankers","Chicken","A Street Cat Named Bob","Adult Life Skills"]},{category:"Best Director",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Mandie Fletcher â Absolutely Fabulous: The Movie","Jim O'Hanlon â A Hundred Streets","Noel Clarke â Brotherhood","Oliver Parker â Dad's Army","Dexter Fletcher â Eddie The Eagle","Chris Foggin â Kids in Love","Ricky Gervais â Life on the Road","Susanna White â Our Kind of Traitor","Fernando Coimbra â Sand Castle","Rachel Tunnard â Adult Life Skills","Babak Anvari â Under the Shadow","Amma Asante â A United Kingdom"]},{category:"Best Screenplay",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Andrea Arnold â American Honey","Babak Anvari â Under the Shadow","Rachel Tunnard â Adult Life Skills","Chris Roessner â Sand Castle","Guy Hibbert â A United Kingdom","Simon Farnaby & Julian Barratt â Mindhorn","Andrew Baldwin & James Watkins â The Take"]},{category:"Best Foreign Language Film",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Neruda (Chile)","Divines (France)","Julieta (Spain)","Raw (France)","Dusky Paradise (Germany)","Kamper (Poland)","The Farm (Puerto Rico)"]},{category:"Global Contribution to Motion Picture",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Joan Collins","Kelsey Grammer","Hugh Grant","Julie Andrews","Pierce Brosnan","Simon Pegg","John Cleese","Jude Law","Catherine Zeta Jones","James Nesbit"]}]},2018:{edition:"4th Annual",year:2018,date:"28 March 2018",location:"The Porchester, London",broadcast:"Sky Showcase (Sky 261, Freesat 402, Freeview 254)",nominationsOpen:"Announced 15 January 2018",votingPeriod:"15 Jan â 20 Mar 2018",totalVotes:"2.4 million+",categories:"19",territories:"5",lifetimeAchievement:"TBC",recordHolder:{title:"Kingsman: The Golden Circle â 9 Nominations",tags:["Best British Film","Best International Film","Best Comedy","Best Director","Best Actor","Best Supporting Actress","Best Supporting Actor","Best Breakthrough Performance","Best Breakthrough Performance"],subtitle:"Dir. Matthew Vaughn · Starring Taron Egerton, Halle Berry, Colin Firth & Keith Allen"},pressRelease:`London, 15th January 2018 â Jude Law, Julie Andrews, Ewan McGregor, Daniel Kaluuya, Harry Styles, Halle Berry & Gemma Arterton are among stars shortlisted for this year's prestigious National Film Awards UK in 2018. 706 707The National Film Academy today announced the nominations for the National Film Awards UK for 2018. 708 709This year a record 2.4 million movie fans nominated across 18 categories to make up the official shortlist. 710 711Dunkirk is nominated in three categories including Best British Film, Best Director, and Best Newcomer for pop star turned actor Harry Styles who receives a nod for his performance as Alex. Styles goes head to head with 'Get Out' star Daniel Kaluuya and an array of new talent including Harry Gilby (Just Charlie), Harry Michell (Chubby Funny), Cosmo Jarvis (Lady Macbeth), Lily Newmark (Pin Cushion), Naomi Ackie (Lady Macbeth) and Ella Purnell (Access All Areas). 712 713Guy Ritchie's King Arthur: Legend of the Sword receives three nominations in the Best Drama, Best Action and Best Director categories. 714 715Sir Elton John receives his first National Film Academy nomination for 'Best Breakthrough Performance' following his cameo appearance in Kingsman (The Golden Circle). The film also receives a record nine Academy nominations including Best British Film, Best International Film, Best Comedy and Director Matthew Vaughn picks up a nomination for Best Director. Taron Egerton is nominated in the Best Actor category whilst Halle Berry is nominated for two categories â Best Supporting Actress & Best Breakthrough Performance for her role as 'Ginger'. 716 717Gemma Arterton picks up a nomination in the Best Actress category for her role as Catrin Cole in Their Finest. 718 719Voting goes live from the 15th of January 2018 until the 20th of March 2018. Winners will be announced at the awards ceremony taking place at The Porchester on the 28th of March with highlights televised for broadcast on Sky Showcase. 720 721For Media Accreditation: Richard Goldstein â [email protected] 722For Celebrity/Brand Partnerships: Alice Studdert Kennedy â [email protected] 723NFA 2018 Short Film competition: Andy Bradshaw â [email protected] 724Follow on Social Media: #NationalFilmAwardsUK`,gallery:["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/ed8533c22_503390523_3953610731557164_710091716931929636_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/360461940_503475885_3953610284890542_3189969820215366845_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/b2803fdec_503574329_3953610728223831_7431130656005881454_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/28f3987c9_503581685_3953610421557195_5464203452597966052_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6d6d5b8ad_503356460_3953610401557197_96857310345810940_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/e52f42b78_503578327_3953610734890497_22480419277452005_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/28581470f_503841034_3953610721557165_2605187336219016605_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/2866fde1a_503541666_3953611808223723_2741734470466630198_n.jpg"],nominations:[{category:"Best Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Alice Lowe â Prevenge","Florence Pugh â Lady Macbeth","Gemma Arterton â Their Finest","Tatjana Nardone â Redwood","Ruth Wilson â Dark River","Emily Beecham â Daphne","Kristin Scott Thomas â The Party","Nathalie Emmanuel â Fast & Furious 8"]},{category:"Best Actor",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Jamie Bell â 6 Days","Ray Winstone â Jawbone","Mike Beckingham â Redwood","Daniel Kaluuya â Get Out","Bill Nighy â The Limehouse Golem","Craig Fairbrass â Rise of the Footsoldier 3","Matt Lucas â Brian Pern: A Tribute","Ewan McGregor â T2 Trainspotting","Paddy Considine â Journeyman","Taron Egerton â Kingsman: The Golden Circle","Jude Law â King Arthur: Legend of the Sword","Rupert Grint â Snatch"]},{category:"Best Newcomer",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Daniel Kaluuya â Get Out","Harry Styles â Dunkirk","Harry Gilby â Just Charlie","Harry Michell â Chubby Funny","Cosmo Jarvis â Lady Macbeth","Lily Newmark â Pin Cushion","Naomi Ackie â Lady Macbeth","Ella Purnell â Acce
724ss All Areas"]},{category:"Best Supporting Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Naomi Ackie â Lady Macbeth","Patricia Clarkson â The Party","Julie Walters â Film Stars Don't Die in Liverpool","Kelly Macdonald â Goodbye Christopher Robin","Judith Roberts â You Were Never Really Here","Halle Berry â Kingsman: The Golden Circle","Jane Asher â Brian Pern: A Tribute","Elarica Johnson â How to Talk to Girls at Parties"]},{category:"Best Supporting Actor",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Robert Webb â Back","Sam Gillet â A Caribbean Dream","Keith Allen â Kingsman: The Golden Circle","Jordan Stephens â Access All Areas","Paul Whitehouse â Brian Pern: A Tribute","Lucien Laviscount â Snatch","Matt Lucas â Brian Pern: A Tribute","Joseph Vijay â Mersal"]},{category:"Best Breakthrough Performance",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["Harry Styles â Dunkirk","Mark Strong â 6 Days","Halle Berry â Kingsman: The Golden Circle","Johnny Harris â Jawbone","Daniel Kaluuya â Get Out","Margaret Mulubwa â I Am Not a Witch","Sir Elton John â Kingsman: The Golden Circle","Simon Day â Brian Pern: A Tribute","Marc Warren â Snatch"]},{category:"Best Drama",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["The Limehouse Golem","My Cousin Rachel","Breathe","I Am Not a Witch","You Were Never Really Here","Borg vs McEnroe","Three Billboards Outside Ebbing, Missouri","A Caribbean Dream","The Hatton Garden Job","King Arthur: Legend of the Sword"]},{category:"Best TV Drama Series",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Broadchurch S3","Guerrilla","White Gold","Taboo","Howards End","Back","Halcyon","Snatch","The Cuckoo's Calling"]},{category:"Best Thriller",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Prevenge","Redwood","You Were Never Really Here","Eat Locals","The Moving Theatre","Hellriser","The Snowman"]},{category:"Best Foreign Language Film",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Happy End (France)","Loveless (Russia)","In the Fade (Germany/France)","The Square (Sweden/Germany/France)","A Fantastic Woman (Chile)","Vaya (South Africa)","The Insult (Lebanon)","Mersal (India)"]},{category:"Best Action",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["Antimatter","Trespass Against Us","Jawbone","Baby Driver","Essex Heist","Smoking Guns","Borg vs McEnroe","King Arthur: Legend of the Sword","We Still Steal the Old Way"]},{category:"Best Independent Film",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["God's Own Country","Film Stars Don't Die in Liverpool","The Intent","Jawbone","My Name is Lenny","Lady Macbeth","Rise of the Footsoldier 3","Eat Locals"]},{category:"Best Screenplay",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Francis Lee â God's Own Country","Alice Birch â Lady Macbeth","Lynne Ramsay â You Were Never Really Here","Martin McDonagh â Three Billboards Outside Ebbing, Missouri","Simon Amstell â Carnage: Swallowing the Past","Shakirah Bourne â A Caribbean Dream","Oliver Veysey â Access All Areas"]},{category:"Best Documentary",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Kingdom of Us","Almost Heaven","Halfway","Williams","My Generation","Blue Planet 2","Dark States","The Moving Theatre"]},{category:"Best British Film",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Dunkirk","T2 Trainspotting","Kingsman: The Golden Circle","Goodbye Christopher Robin","Victoria & Abdul","6 Days","Lady Macbeth","Journeyman"]},{category:"Best Comedy",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["T2 Trainspotting","Mindhorn","The Party","Carnage: Swallowing the Past","Kingsman: The Golden Circle","Access All Areas","Brian Pern: A Tribute"]},{category:"Best Director",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Christopher Nolan â Dunkirk","Danny Boyle â T2 Trainspotting","Rungano Nyoni â I Am Not a Witch","William Oldroyd â Lady Macbeth","Andy Serkis â Breathe","Lynne Ramsay â You Were Never Really Here","Matthew Vaughn â Kingsman: The Golden Circle","Guy Ritchie â King Arthur: Legend of the Sword"]},{category:"Best International Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Get Out","Bright","G
724irls Trip","Kingsman: The Golden Circle","Borg vs McEnroe","The Shape of Water","Roman J. Israel, Esq.","American Made","The Wedding Party 2"]},{category:"Global Contribution to Motion Picture",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Julie Andrews","Judi Dench","Sean Connery","Halle Berry","John Cleese","Rowan Atkinson","Tom Cruise","Colin Firth"]}]},2019:{edition:"5th Annual",year:2019,date:"27 March 2019",location:"London, United Kingdom",broadcast:"Sky Showcase (Sky 261, Freesat 402, Freeview 254)",nominationsOpen:"Announced 7 January 2019",votingPeriod:"9 Jan â 20 Mar 2019",totalVotes:"1.9 million+",categories:"25",territories:"5",lifetimeAchievement:"TBC",recordHolder:{title:"5th Anniversary Edition â 25 Categories",tags:["Best International Film","Best British Film","Best Actress","Best Actor","Best Director","Best Documentary","Best Animation"],subtitle:"Presented by Fashion Nitty · Sponsored by Heineken · Celebrating 5 years of fan-voted cinema"},pressRelease:`London, 7th January 2019 â Keira Knightley, Rob Brydon, Michael Caine, Steve Coogan and Gemma Arterton are among the stars shortlisted for this year's National Film Awards UK. 725 726The National Film Academy announced the official nominations today after a successful launch of its US version last month at the Globe Theatre in Los Angeles. This year the National Film Awards UK celebrates its 5th anniversary with the awards show set to take place on the 27th of March 2019. 727 728Over 1.9 million fans cast their vote across 25 categories to decide the nominations. Viewers can now vote for the winners on the official Academy website at www.nationalfilmawards.org. 729 730Aquaman, Crazy Rich Asians, Tomb Raider, Den of Thieves, Avengers: Infinity War, Johnny English Strikes Again, Game Night, Black Panther, A Star is Born and Creed 2 make the shortlist for the Best International Film category. 731 732The nominees for the Global Contribution to Motion Picture category include Michael Caine, Jennifer Saunders, Julie Andrews, Pierce Brosnan, Michael Gambon and Angela Lansbury. 733 734Heineken has been announced as Official Beer sponsor whilst online fashion outlet Fashion Nitty is presenting sponsor for the entire awards. Emma Jenkins, Head of Marketing for Fashion Nitty commented: "We are pleased to continue our relationship with the National Film Academy by signing a 5-year sponsorship deal. The fit with the National Film Awards UK and Fashion Nitty in terms of our target audience is perfect." 735 736Voting officially commences 9/01/19 until the 20/03/19 with winners announced at the star-studded ceremony on the 27th of March 2019 and televised for broadcast on Sky Showcase (Sky 261, Freesat 402, Freeview 254). 737 738For Media Accreditation: Richard Goldstein â [email protected] 739For Celebrity/Brand Partnerships: Lisa Fuller â [email protected] 740NFA 2019 Short Film competition: Andy Bradshaw â [email protected] 741Follow on Social Media: #NationalFilmAwardsUK`,gallery:["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/86f32d750_55881987_2219941698257418_3837873133780467712_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/15c3588c3_56205105_2219941711590750_8072996588860997632_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/20a5ffd52_55549744_2219941814924073_5697286534894452736_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/b26c1601a_55564306_2219937621591159_1968279595023073280_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/b52f702ea_55931052_2219939841590937_5012775293165764608_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/2d2908e88_55719468_2219938098257778_8896154515980419072_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6d0008d74_55711623_2219940491590872_1711261935917334528_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/40dd5ec8e_55892483_2219940634924191_431872507939651584_n.jpg"],nominations:[{category:"Best Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Ali Bastian â Hooligan Escape","Olivia Colman â The Favourite","Gemma Arterton â The Escape","Rachel Weisz â Disobedience","Maxine Peake â Funny Cow","Keira Knightley â Colette","Sophie Kennedy Clark â Obey","Emma Rigby â The Fe
741stival","Alicia Vikander â Tomb Raider"]},{category:"Best Actor",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Marcus Rutherford â Obey","Brad Moore â Gloves Off","Steve Coogan â Stan & Ollie","Scott Adkins â Accident Man","Rupert Everett â The Happy Prince","Aml Ameen â Yardie","Liam Neeson â The Commuter","Michael Caine â King of Thieves","Clive Owen â Anon"]},{category:"Best Newcomer",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Jessie Buckley â The Beast","Liv Hill â Jelly Fish","Molly Wright â Apostasy","Justin Clarke â The Intent 2","Marcus Rutherford â Obey","Cynthia Erivo â Widows","Tilda Cobham-Hervey â Hotel Mumbai"]},{category:"Best Supporting Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Sophie Kennedy Clark â Obey","Denise Van Outen â Gloves Off","Emma Stone â The Favourite","Molly Wright â Apostasy","Cynthia Erivo â Widows","Charlotte Milchard â Scott and Sid","Sinead Matthews â Jelly Fish"]},{category:"Best Supporting Actor",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Ricky Tomlinson â Gloves Off","Steve Buscemi â Lean On Pete","Michael Gambon â King of Thieves","Alessandro Nivola â Disobedience","Barry Keoghan â American Animals","Ray Winstone â King of Thieves","Jason Harvey â Retreat","Simon Pegg â Terminal"]},{category:"Best Breakthrough Performance",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["Fraser James â Yardie","Hannah Tointon â The Festival","Joe Thomas â The Festival","Justin Clarke â The Intent 2","Marcus Rutherford â Obey","Cynthia Erivo â Widows","Sophie Kennedy Clark â Obey","Denise Van Outen â Gloves Off"]},{category:"Best Drama",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Obey","The Happy Prince","The Intent 2","The Escape","Widows","Yardie","The Commuter","Scott and Sid","Anon"]},{category:"Best TV Drama Series",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Collateral (Netflix/BBC2)","Black Mirror","Black Earth Rising (BBC)","Bodyguard (BBC)","Kiri (Channel 4)","The Split (BBC)","Bulletproof (Sky One)","Britannia (Amazon Prime)","McMafia (BBC One/AMC)","Derry Girls (Channel 4)"]},{category:"Best Thriller",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Beyond the Woods","The Redeeming","RedCon-1","Annihilation","Chuck Steel: Night of the Trampires","16/03","Final Score","Black Site"]},{category:"Best Action",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["The Intent 2","Outlawed","Hooligan Escape","RedCon-1","Accident Man","Annihilation","Widows","Yardie","The Commuter","King of Thieves"]},{category:"Best Performance in an Animation Film",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Rob Brydon â Early Man","Domhnall Gleeson â Peter Rabbit","Johnny Vegas â Early Man","Daisy Ridley â Peter Rabbit","Paul Whitehouse â Chuck Steel","Kayvan Novak â Early Man","James McAvoy â Sherlock Gnomes","Richard Ayoade â Early Man","Helena Bonham Carter â Sgt. Stubby","Jennifer Saunders â Chuck Steel"]},{category:"Best Independent Film",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["The Intent 2","Dead Ringer","Two Graves","Beast","The Favourite","Lean On Pete","You Were Never Really Here","Yardie","16/03","Accident Man"]},{category:"Best Screenplay",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["RedCon-1","Gloves Off","American Animals","You Were Never Really Here","Stan & Ollie","The Beast","Widows","The Commuter","16/03"]},{category:"Best Documentary",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["All or Nothing","Looking for Lennon","Chosen Men","After the Screaming Stops","Trevor McDonald and the Killer Nurse","20 Feet from Stardom","The September Issue","Dynasties"]},{category:"Best British Film",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["The Intent 2","Obey","Gloves Off","Beast","Disobedience","You Were Never Really Here","Yardie","King of Thieves","Scott and Sid"]},{category:"Best Comedy",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Gloves Off","Early Man","Chuck Steel: Night of the Trampires","Johnny English Strikes Again","The Festival","Stan & Ollie","The More You Ignore Me","Patrick"]},{category:"Best Animation Film",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Early Man","Chuck Steel: Night of the Trampires","Peter Rabbit","Sherlock Gnomes","Sgt. Stubby: An American Hero","Captain Morten and the Spider Queen"]},{category:"Best Feature Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["16/03","Aquaman","I Am Vengeance","The Festival","Sunset Contract","Retreat","Gloves Off"]},{category:"Best Director",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Winston Azzopardi â The Boat","Steven Nesbit â Gloves Off","Michael Pearce â The Beast","Idris Elba â Yardie","Daniel Kokotajlo â Apostasy","Alex Garland â Annihilation","Matt Palmer â Calibre","Richard Billingham â Ray & Liz","Steve McQueen â Widows"]}
741,{category:"Best Producer",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["Anna Griffin â Calibre","Faye Ward â Stan & Ollie","Kristian Brodie â Beast","Graham King & Jim Beach â Bohemian Rhapsody","Kristina à berg â The Nile Hilton Incident","Andrea Cornwell & Marcie MacLellan â Apostasy","Katherine Butler et al. â American Animals"]},{category:"Best Film Distribution Company",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Guerrilla Films","Momentum Pictures/Entertainment One","Studio Canal UK","Carnaby International","Verve Pictures","Pathé","Evolutionary Films"]},{category:"Best Film Production Company",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Lionsgate UK","Film4 Productions","DNA Films","Working Title Films","Carnaby International","Warner Bros. Pictures","20th Century Fox","Studio Canal"]},{category:"Best Foreign Language Film",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Ramkahani (Nepal)","The Night Comes for Us (Indonesia)","Revolution X: The Movie (Bulgaria)","La ch'tite famille (France)","New Money (Nigeria)","Kobiety mafii (Poland)","Kääntöpiste (Finland/Sweden)","Five Fingers for Marseilles (South Africa)","Os Farofeiros (Brazil)","Klassentreffen (Germany)"]},{category:"Best International Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Aquaman","Crazy Rich Asians","Tomb Raider","Den of Thieves","Avengers: Infinity War","Johnny English Strikes Again","Game Night","Rampage","Black Panther","A Star is Born","Creed 2"]},{category:"Global Contribution to Motion Picture",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Michael Caine","Jennifer Saunders","Julie Andrews","Pierce Brosnan","Michael Gambon","Angela Lansbury"]}]},2020:{edition:"6th Annual",year:2020,date:"20 March 2020",location:"London, United Kingdom",broadcast:"Sky Showcase (Sky 261, Freesat 402, Freeview 254)",nominationsOpen:"Announced 13 January 2020",votingPeriod:"13 Jan â 10 Mar 2020",totalVotes:"2.9 million+",categories:"26",territories:"5",lifetimeAchievement:"TBC",recordHolder:{title:"Record 2.9 Million Votes â 26 Categories",tags:["Best British Film","Best Actress","Best Actor","Best TV Drama","Best Director","Best Documentary"],subtitle:"Rocketman & Blue Story lead nominations · Ricky Gervais nominated for After Life"},pressRelease:`London, 13th January 2020 â The National Film Academy has announced the nominations for the National Film Awards UK in 2020. 742 743The National Film Awards UK takes place on the 20th of March 2020 in London and will be broadcast exclusively on Sky Showcase and syndicated in all major territories around the world. 744 745The Best Actor category sees Jason Statham get a nod for his role in Fast & Furious: Hobbs & Shaw. Statham goes head to head with Taron Egerton (Rocketman), Dev Patel (The Personal History of David Copperfield), Sam Adewunmi (The Last Tree), Tom Burke (The Souvenir), Adewale Akinnuoye-Agbaje (Farming), Richard Dreyfuss (Astronaut), Timothy Spall (Mrs Lowry & Son) and Daniel Kaluuya (Queen & Slim). 746 747Renée Zellweger's performance in Judy earns her a Best Actress nod. She joins a shortlist including Jessie Buckley (Wild Rose), Sally Hawkins (Eternal Beauty), Kate Beckinsale (Farming), Emilia Clarke (Last Christmas), Vanessa Redgrave (Mrs Lowry & Son), Keira Knightley (The Aftermath), Meera Syal (Yesterday), Lesley Manville (Ordinary Love) and Ella Balinska (Charlie's Angels). 748 749Over 2.9 million fans submitted their nominations across 26 categories and the public nationwide can vote via www.nationalfilmawards.org/voting. 750 751NFA alumni Ricky Gervais is nominated for Best Actor in a TV Series for his role in After Life and the series itself receives a nod for Best TV Drama Series, going head to head with Peaky Blinders, The War of the Worlds, Sex Education, Chernobyl, Years and Years and more. 752 753This year, Anthony Hopkins, Hugh Grant, Pierce Brosnan, John Cleese and Rowan Atkinson all lead nominations for Global Contribution to Motion Picture. 754 755Voting ends on the 10th of March 2020 with winners announced at the ceremony on the 20th of March 2020. 756 757For Media Accreditation: Richard Goldstein â [email protected] 758For Celebrity/Brand Partnerships: Lisa Fuller â [email protected] 759NFA 2020 Short Film competition: Andy Bradshaw â [email protected] 760Follow on Social Media: #NationalFilmAwardsUK`,gallery:["https://images.unsplash.com/photo-1478720568477-152d9b164e26?w=1400&q=80"],nominations:[{category:"Best Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Renée Zellweger â Judy","Jessie Buckley â Wild Rose","Sally Hawkins â Eternal Beauty","Kate Beckinsale â Farming","Emilia Clarke â Last Christmas","Karla-Simone Spence â Blue Story","Vanessa Redgrave â Mrs Lowry & Son","Keira Knightley â The Aftermath","Meera Syal â Yesterday","Lesley Manville â Ordinary Love","Ella Balinska â Charlie's Angels"]},{category:"Best Actor",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Dev Patel â The Personal History of David Copperfield","Sam Adewunmi â The Last Tree","Tom Burke â The Souvenir","Adewale Akinnuoye-Agbaje â Farming","Richard Dreyfuss â Astronaut","Timothy Spall â Mrs Lowry & Son","Taron Egerton â Rocketman","Daniel Kaluuya â Queen & Slim","Jason Statham â Fast & Furious: Hobbs & Shaw"]},{category:"Best Newcomer",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Mhairi Calvey","Louis Ashbourne Serkis","Billy Barratt","Andrew Onwubolu","Karla-Simone Spence","Micheal Ward","Ella Balinska","Sam Adewunmi","Vicky Knight","Honor Swinton Byrne"]},{category:"Best Actress in a TV Series",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Helen McCrory â Peaky Blinders","Olivia Colman â The Crown","T'Nia Miller â Years & Years","Ruth Jones â Gavin & Stacey","Siobhan Finneran â A Confession","Sian Brooke â Good Omens","Nathalie Emmanuel â Four Weddings & a Funeral","Mandeep Dhillon â After Life"]},{category:"Best Actor in a TV Series",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Cillian Murphy â Peaky Blinders","Ashley Walters â Top Boy","Tobias Menzies â The Crown","Kane Robinson â Top Boy","Matthew Horne â Gavin & Stacey","Rory Kinnear â Years and Years","Ricky Gervais â After Life","Martin Freeman â A Confession","David Tennant â Good Omens"]},{category:"Best Supporting Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Julie Walters â Wild Rose","Tilda
760Swinton â The Personal History of David Copperfield","Jessica Barden â Scarborough","Emma Thompson â Last Christmas","Gemma Jones â Rocketman","Karla-Simone Spence â Blue Story","Vanessa Kirby â Fast & Furious: Hobbs & Shaw"]},{category:"Best Supporting Actor",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Chiwetel Ejiofor â The Boy Who Harnessed the Wind","Hugh Laurie â The Personal History of David Copperfield","Ralph Fiennes â Official Secrets","Rob Brydon â Blinded by the Light","Jamie Bell â Rocketman","Lee Mack â Horrible Histories: The Movie","Sanjeev Bhaskar â Yesterday","Khali Best â Blue Story"]},{category:"Best Drama",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Beats","Farming","The Flood","The Party's Just Beginning","Scarborough","Bait","The Good Liar","Ordinary Love"]},{category:"Best TV Drama Series",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Peaky Blinders","The War of the Worlds","Sex Education","The Capture","Gavin & Stacey (A Special Christmas)","Chernobyl","Years and Years","Beecham House","A Confession","After Life","The Feed"]},{category:"Best Thriller",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["The Haunting of Borley Rectory","The Isle","Crucible of the Vampire","Rabid","The Hole in the Ground","The Tombs"]},{category:"Best Action",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["1917","Official Secrets","The Aftermath","The Aeronauts","Avengement","Acceptable Damage","Blue Story","Boyz in the Wood"]},{category:"Best Independent Film",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["Blue Story","The Personal History of David Copperfield","Rise of the Footsoldier: Marbella","King of Crime","The Corrupted","Rabid","Astronaut","The Last Tree"]},{category:"Best Screenplay",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Blue Story","Scarborough","Madness in the Method","Extra Ordinary","Astronaut","The Souvenir","The Kid Who Would Be King","The Boy Who Harnessed the Wind","The Gentlemen"]},{category:"Best Documentary",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Diego Maradona","For Sama","Last Breath","Tell Me Who I Am","The Big Meeting","Liam Gallagher: As It Was","The Ponds"]},{category:"Best British Film",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Blue Story","The Corrupted","Beats","Scarborough","Mrs Lowry & Son","Rocketman","The Gentlemen","Animals","Eternal Beauty","Lynn + Lucy"]},{category:"Best Comedy",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Eaten by Lions","Rupert, Rupert & Rupert","Beats","Madness in the Method","Extra Ordinary","Last Christmas","Blinded by the Light","Horrible Histories: The Movie â Rotten Romans","Yesterday"]},{category:"Best Animation Film",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["A Shaun the Sheep Movie: Farmageddon","Home Sweet Home","Flying Octopus","Substance","The Penguin Who Couldn't Swim","Chin Up","Moment of Clarity"]},{category:"Outstanding Performance",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Kris Hitchen â Sorry We Missed You","Vanessa Redgrave â Mrs Lowry & Son","Louis Ashbourne Serkis â The Kid Who Would Be King","Keira Knightley â Official Secrets","Taron Egerton â Rocketman","Himesh Patel â Yesterday","Micheal Ward â Blue Story","Eddie Redmayne â The Aeronauts","Idris Elba â Fast & Furious: Hobbs & Shaw","Liam Neeson â Ordinary Love"]},{category:"Best Feature Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["The Corrupted","Lucas & Albert","Rabid","Scarborough","Astronaut","1917","Sorry We Missed You","Fighting with My Family"]},{category:"Best Director",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Chiwetel Ejiofor â The Boy Who Harnessed the Wind","Shelagh McLeod â Astronaut","Mark Jenkin â Bait","Guy Ritchie â The Gentlemen","Sam Mendes â 1917","Ken Loach â Sorry We Missed You","Stephen Merchant â Fighting with My Family","Andrew Onwubolu â Blue Story","Dexter Fletcher â Rocketman"]}
760,{category:"Best Producer",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["Damien Jones & Joy Gharoro-Akpojotor â Blue Story","Debbie Gray â Mrs Lowry & Son","Christopher Granier-Deferre â Scarborough","Myf Hopkins & Lee Thomas â The Last Tree","Faye Ward â Wild Rose","Ged Doherty et al. â Official Secrets"]},{category:"Best Film Distribution Company",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Evolutionary Films","Curzon Artificial Eye","Vertigo Releasing","Dartmouth Films","Paramount Pictures UK","Modern Films","ICA Cinema Distribution"]},{category:"Best Film Production Company",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Fable Pictures","Heyday Films","Working Title Films","Carnaby International","Warner Bros. Pictures","Monumental Pictures","Potboiler","Wellington Films","Sigma Films"]},{category:"Best Foreign Language Film",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Botoxx","Grâce à Dieu","Le Grand Bain (France)","Queen of Hearts (Sweden)","Noah Land (Turkey)","Mistresses (Russia)","The Conquest of Siberia (Russia)","Jessica Forever (France)","Five is the Perfect Number (Italy)","While At War (Spain)","Los Japón (Spain)"]},{category:"Best International Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["The Boy Who Harnessed the Wind","Knives Out","John Wick: Chapter 3","Rocketman","The Keeper","Queen & Slim","Charlie's Angels","Fast & Furious: Hobbs & Shaw","The Gentlemen"]},{category:"Global Contribution to Motion Picture",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Anthony Hopkins","Hugh Grant","Pierce Brosnan","John Cleese","Rowan Atkinson"]}]},2021:{edition:"7th Annual",year:2021,date:"1 July 2021",location:"Porchester Hall, London W2",broadcast:"Sky Showcase (Sky 261, Freesat 402, Freeview 254)",nominationsOpen:"Announced 25 May 2021",votingPeriod:"25 May â 10 Jun 2021",totalVotes:"2.9 million+",categories:"26",territories:"5",lifetimeAchievement:"Rowan Atkinson",recordHolder:{title:"Rowan Atkinson â Lifetime Achievement Award",tags:["Mr. Bean","Blackadder","Johnny English","Global Icon"],subtitle:"The legendary actor & comedian honoured at the 7th Annual NFA UK"},pressRelease:`London, 25th May 2021 â Renée Zellweger, Ricky Gervais, Rowan Atkinson, Kate Beckinsale, David Tennant, Eddie Redmayne, and Liam Neeson are among the stars nominated at the 2021 National Film Awards UK. 761 762The National Film Academy has announced the nominations for the National Film Awards UK in 2021. 763 764The National Film Awards UK takes place on the 1st of July 2021 at the Porchester Hall in London W2. 765 766The nominees are carried from last year's 6th Annual NFA 2020 nominees with an addition of 3 categories that represent 2021 nominations due to the postponement of last year's ceremony. 767 768Renée Zellweger's performance in Judy earns her a Best Actress nod. She joins a shortlist including Jessie Buckley (Wild Rose), Sally Hawkins (Eternal Beauty), Kate Beckinsale (Farming), Emilia Clarke (Last Christmas), Vanessa Redgrave (Mrs Lowry & Son), Keira Knightley (The Aftermath), Meera Syal (Yesterday), Lesley Manville (Ordinary Love) and Ella Balinska (Charlie's Angels). 769 770This year's legendary actor, Rowan Atkinson â famous for his Mr. Bean character â is set to receive this year's Lifetime Achievement Award. 771 772Over 2.9 million fans submitted their nominations across 26 categories and the public nationwide can vote via www.nationalfilmawards.org/voting. 773 774Voting ends on the 10th of June 2021 with winners announced at the ceremony on the 1st of July 2021. 775 776For Media Accreditation: Richard Goldstein â [email protected] 777For Celebrity/Brand Partnerships: Lisa Fuller â [email protected] 778NFA 2021 Short Film competition: Andy Bradshaw â [email protected] 779Follow on Social Media: #NationalFilmAwardsUK`,gallery:["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/e736f2c42_PSX_20240704_102047.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6bdcd1c47_PSX_20240704_102004.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/e93f7faf7_PSX_20240704_102705.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/e94b5f482_PSX_20240704_102158.jpg"],nominations:[{category:"Best Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Renée Zellweger â Judy","Jessie Buckley â Wild Rose","Sally Hawkins â Eternal Beauty","Kate Beckinsale â Farming","Emilia Clarke â Last Christmas","Karla-Simone Spence â Blue Story","Vanessa Redgrave â Mrs Lowry & Son","Keira Knightley â The Aftermath","Meera Syal â Yesterday","Lesley Manville â Ordinary Love","Ella Balinska â Charlie's Angels"]},{category:"Best Actor",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Dev Patel â The Personal History of David Copperfield","Sam Adewunmi â The Last Tree","Tom Burke â The Souvenir","Adewale Akinnuoye-Agbaje â Farming","Richard Dreyfuss â Astronaut","Timothy Spall â Mrs Lowry & Son","Taron Egerton â Rocketman","Daniel Kaluuya â Queen & Slim","Jason Statham â Fast & Furious: Hobbs & Shaw"]},{category:"Best Newcomer",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Mhairi Calvey","Louis Ashbourne Serkis","Billy Barratt","Andrew Onwubolu","Karla-Simone Spence","Micheal Ward","Ella Balinska","Sam Adewunmi","Vicky Knight","Honor Swinton Byrne"]},{category:"Best Actress in a TV Series",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Helen McCrory â Peaky Blinders","Olivia Colman â The Crown","T'Nia Miller â Years & Years","Ruth Jones â Gavin & Stacey","Siobhan Finneran â A Confession","Sian Brooke â Good Omens","Nathalie Emmanuel â Four Weddings & a Funeral","Mandeep Dhillon â After Life"]},{category:"Best Actor in a TV Series",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Cillian Murphy â Peaky Blinders","Ashley Walters â Top Boy","Tobias Menzies â The Crown","Kane Robinson â Top Boy","Matthew Horne â Gavin & Stacey","Rory Kinnear â Years and Years","Ricky Gervais â After Life","Martin Freeman â A Confession","David Tennant â Good Omens"]},{category:"Best Supporting Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Julie Walters â Wild Rose","Tilda
779Swinton â The Personal History of David Copperfield","Jessica Barden â Scarborough","Emma Thompson â Last Christmas","Gemma Jones â Rocketman","Karla-Simone Spence â Blue Story","Vanessa Kirby â Fast & Furious: Hobbs & Shaw"]},{category:"Best Supporting Actor",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Chiwetel Ejiofor â The Boy Who Harnessed the Wind","Hugh Laurie â The Personal History of David Copperfield","Ralph Fiennes â Official Secrets","Rob Brydon â Blinded by the Light","Jamie Bell â Rocketman","Lee Mack â Horrible Histories: The Movie","Sanjeev Bhaskar â Yesterday","Khali Best â Blue Story"]},{category:"Best Drama",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Beats","Farming","The Flood","The Party's Just Beginning","Scarborough","Bait","The Good Liar","Ordinary Love"]},{category:"Best TV Drama Series",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Peaky Blinders","The War of the Worlds","Sex Education","The Capture","Gavin & Stacey (A Special Christmas)","Chernobyl","Years and Years","Beecham House","A Confession","After Life","The Feed"]},{category:"Best Thriller",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["The Haunting of Borley Rectory","The Isle","Crucible of the Vampire","Rabid","The Hole in the Ground","The Tombs"]},{category:"Best Action",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["1917","Official Secrets","The Aftermath","The Aeronauts","Avengement","Acceptable Damage","Blue Story","Boyz in the Wood"]},{category:"Best Independent Film",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["Blue Story","The Personal History of David Copperfield","Rise of the Footsoldier: Marbella","King of Crime","The Corrupted","Rabid","Astronaut","The Last Tree"]},{category:"Best Screenplay",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Blue Story","Scarborough","Madness in the Method","Extra Ordinary","Astronaut","The Souvenir","The Kid Who Would Be King","The Boy Who Harnessed the Wind","The Gentlemen"]},{category:"Best Documentary",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Diego Maradona","For Sama","Last Breath","Tell Me Who I Am","The Big Meeting","Liam Gallagher: As It Was","The Ponds"]},{category:"Best British Film",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Blue Story","The Corrupted","Beats","Scarborough","Mrs Lowry & Son","Rocketman","The Gentlemen","Animals","Eternal Beauty","Lynn + Lucy"]},{category:"Best Comedy",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Eaten by Lions","Rupert, Rupert & Rupert","Beats","Madness in the Method","Extra Ordinary","Last Christmas","Blinded by the Light","Horrible Histories: The Movie â Rotten Romans","Yesterday"]},{category:"Best Animation Film",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["A Shaun the Sheep Movie: Farmageddon","Home Sweet Home","Flying Octopus","Substance","The Penguin Who Couldn't Swim","Chin Up","Moment of Clarity"]},{category:"Outstanding Performance",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Kris Hitchen â Sorry We Missed You","Vanessa Redgrave â Mrs Lowry & Son","Louis Ashbourne Serkis â The Kid Who Would Be King","Keira Knightley â Official Secrets","Taron Egerton â Rocketman","Himesh Patel â Yesterday","Micheal Ward â Blue Story","Eddie Redmayne â The Aeronauts","Idris Elba â Fast & Furious: Hobbs & Shaw","Liam Neeson â Ordinary Love"]},{category:"Best Feature Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["The Corrupted","Lucas & Albert","Rabid","Scarborough","Astronaut","1917","Sorry We Missed You","Fighting with My Family"]},{category:"Best Director",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Chiwetel Ejiofor â The Boy Who Harnessed the Wind","Shelagh McLeod â Astronaut","Mark Jenkin â Bait","Guy Ritchie â The Gentlemen","Sam Mendes â 1917","Ken Loach â Sorry We Missed You","Stephen Merchant â Fighting with My Family","Andrew Onwubolu â Blue Story","Dexter Fletcher â Rocketman"]}
779,{category:"Best Producer",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["Damien Jones & Joy Gharoro-Akpojotor â Blue Story","Debbie Gray â Mrs Lowry & Son","Christopher Granier-Deferre â Scarborough","Myf Hopkins & Lee Thomas â The Last Tree","Faye Ward â Wild Rose","Ged Doherty et al. â Official Secrets"]},{category:"Best Film Distribution Company",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Evolutionary Films","Curzon Artificial Eye","Vertigo Releasing","Dartmouth Films","Paramount Pictures UK","Modern Films","ICA Cinema Distribution"]},{category:"Best Film Production Company",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Fable Pictures","Heyday Films","Working Title Films","Carnaby International","Warner Bros. Pictures","Monumental Pictures","Potboiler","Wellington Films","Sigma Films"]},{category:"Best Foreign Language Film",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Botoxx","Grâce à Dieu","Le Grand Bain (France)","Queen of Hearts (Sweden)","Noah Land (Turkey)","Mistresses (Russia)","The Conquest of Siberia (Russia)","Jessica Forever (France)","Five is the Perfect Number (Italy)","While At War (Spain)","Los Japón (Spain)"]},{category:"Best International Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["The Boy Who Harnessed the Wind","Knives Out","John Wick: Chapter 3","Rocketman","The Keeper","Queen & Slim","Charlie's Angels","Fast & Furious: Hobbs & Shaw","The Gentlemen"]},{category:"Best Screenplay in a TV Series",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Lupin","Emily in Paris","After Life","The Irregulars","The Queen's Gambit","Bridgerton","The Crown"]},{category:"Global Contribution to Motion Picture",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Anthony Hopkins","Hugh Grant","Pierce Brosnan","John Cleese","Rowan Atkinson"]}]},2022:{edition:"8th Annual",year:2022,date:"4 July 2022",location:"The Porchester, London",broadcast:"Sky Showcase (Sky 261, Freesat 402, Freeview 254)",nominationsOpen:"Announced 20 April 2022",votingPeriod:"20 Apr â 20 Jun 2022",totalVotes:"3.5 million+",categories:"26",territories:"5",lifetimeAchievement:"TBC",recordHolder:{title:"Emily in Paris â 6 Nominations",tags:["Best TV Drama Series","Best Actor in a TV Series","Best Actress in a TV Series","Best Supporting Actor in a TV Series","Best Supporting Actress in a TV Series"],subtitle:"Lily Collins, Lucien Laviscount & Lucas Bravo lead · Squid Game also dominates with 5 nods"},pressRelease:`London, 20th April 2022 â The National Film Academy has today announced the nominations for the 8th annual National Film Awards UK set to take place on the 4th of July 2022 at The Porchester in London. 780 781Spider-Man: No Way Home, No Time to Die, I Care A Lot, The Harder They Fall, Don't Look Up, Spencer, King Richard, and People Just Do Nothing: Big in Japan make the shortlist for Best International Film. 782 783The Best Actor category sees Jude Law get a nod for his role as Albus Dumbledore in Fantastic Beasts: The Secrets of Dumbledore. Also nominated are Riz Ahmed (Encounter), Ben Whishaw (Surge), Michael Caine (Twist), Chiwetel Ejiofor (The Man Who Fell to Earth), Neil Maskell (Bull), and Stephen Merchant (The Outlaws). 784 785Judi Dench's performance as 'Granny' in Belfast earns her a Best Actress nod. She joins a shortlist including Anne Hathaway (Locked Down), Billie Piper (Rare Beasts), Rosamund Pike (I Care A Lot), Kate Beckinsale (Jolt), Samantha Morton (Save The Cinema), Anjana Vasan (We Are Lady Parts) and Thandiwe Newton (God's Country). 786 787Over 3.5 million film and television fans submitted their nominations via the official National Film Academy website. Public voting starts 20th April 2022 and ends 20th June 2022. 788 789Emily in Paris leads with 6 nominations including Best TV Drama Series, Best Actor in a TV Series for Lucien Laviscount, Best Supporting Actor for Lucas Bravo, Best Supporting Actress for Philippine Leroy-Beaulieu and Ashley Park, and Best Actress in a TV Series for Lily Collins. Squid Game also receives 5 nominations across multiple categories. 790
791For Media Accreditation: Richard Goldstein â [email protected] 792For Celebrity/Brand Partnerships: Lisa Fuller â [email protected] 793NFA 2022 Short Film competition: Andy Bradshaw â [email protected] 794Follow on Social Media: #NationalFilmAwardsUK`,gallery:["https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?w=1400&q=80"],nominations:[{category:"Best Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Judi Dench â Belfast","Anne Hathaway â Locked Down","Billie Piper â Rare Beasts","Rosamund Pike â I Care A Lot","Kate Beckinsale â Jolt","Samantha Morton â Save The Cinema","Anjana Vasan â We Are Lady Parts","Thandiwe Newton â God's Country"]},{category:"Best Actor",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Jude Law â Fantastic Beasts: The Secrets of Dumbledore","Riz Ahmed â Encounter","Ben Whishaw â Surge","Michael Caine â Twist","Chiwetel Ejiofor â The Man Who Fell to Earth","Neil Maskell â Bull","Stephen Merchant â The Outlaws"]},{category:"Best Newcomer",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Charlie Shotwell â The Nest","Amelie Bea Smith â Hollington Drive","Fflyn Edwards â Save the Cinema","Lauryn Ajufo â Boiling Point","Temiloluwa Otedola â Citation","Olive Tennant â Belfast","Bukky Bakray â Rocks","Freddie Spry â Spencer","Han So-hee â My Name"]},{category:"Best Actress in a TV Series",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Lily Collins â Emily in Paris","Cush Jumbo â Stay Close","Thaddea Graham â The Irregulars","Katherine Ryan â The Duchess","Simona Brown â Behind Her Eyes","Gugu Mbatha-Raw â The Girl Before","Hannah Ware â The One","Han So-hee â My Name"]},{category:"Best Actor in a TV Series",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Lucien Laviscount â Emily in Paris","James Nesbitt â Stay Close","Tom Bateman â Behind Her Eyes","Ben Miller â Professor T","David Tennant â Around The World in 80 Days","Lee Jung-jae â Squid Game","Babou Ceesay â Wolfe","Omar Sy â Lupin","Bradley Walsh â The Larkins"]},{category:"Best Supporting Actor",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Richard Ayoade â The Souvenir Part II","Ray Panthaki â Boiling Point","Tom Felton â Save The Cinema","Matt Smith â Last Night in Soho","Matthew Horne â The Nan Movie","Kodi Smit-McPhee â The Power of the Dog","Ciarán Hinds â Belfast"]},{category:"Best Supporting Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Nathalie Richard â After Love","Tilda Swinton â The Souvenir Part II","Lashana Lynch â No Time To Die","Susan Wokoma â Save The Cinema","Lauryn Ajufo â Boiling Point","Helen Mirren â The Duke"]},{category:"Best Supporting Actress in a TV Series",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Philippine Leroy-Beaulieu â Emily in Paris","Ashley Park â Emily in Paris","Eliza Butterworth â The North Water","Emma Naomi â Professor T","Jessica Plummer â The Girl Before","Tracy Ifeachor â Show Trial","Adjoa Andoh â Bridgerton","Jung Ho Yeon â Squid Game"]},{category:"Best Supporting Actor in a TV Series",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Lucas Bravo â Emily in Paris","Paterson Joseph â Vigil","Oh Yeong-su â Squid Game","Colin Farrell â The North Water","Regé-Jean Page â Bridgerton","Lucien Laviscount â Emily in Paris","Eric Kofi-Abrefa â The One"]},{category:"Best TV Drama Series",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Emily in Paris","Stay Close","The Irregulars","Behind Her Eyes","The North Water","Professor T","Bridgerton","The One","Squid Game"]},{category:"Best Drama",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Twist","After Love","The Power of the Dog","Save The Cinema","Boiling Point","Citation"]},{category:"Best Thriller",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Titane","Fixed","Last Night in Soho","Censor","In The Earth","Zebra Girl"]},{category:"Best Action",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["Bull","No Time To Die","Top Boy","Around The World in 80 Days","Lupin","Anatomy of a Scandal","Squid Game"]},{category:"Best Independent Film",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["BLONDE. Purple","A Bird Flew in","A Violent Man","Ali & Ava","Boiling Point","Bull","Róise and Frank","The Prototype","Rise of the Footsoldier: Origins"]}
794,{category:"Best Screenplay",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Clio Barnard â Ali & Ava","Aleem Khan â After Love","Jeymes Samuel & Boaz Yakin â The Harder They Fall","Stephen Brown et al. â The Prototype","Catherine Tate & Brett Goldstein â The Nan Movie","Richard Bean & Clive Coleman â The Duke","Zach Baylin â King Richard"]},{category:"Best Documentary",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Jimmy Savile: A British Horror Story","Uprising","The Tinder Swindler","Cow","Finding Jack Charlton","Caring for Derek","The Real Charlie Chaplin","Getting Away with Murder(s)"]},{category:"Best British Film",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Last Night in Soho","Ali & Ava","Limbo","Surge","The Nest","Belfast","Six Minutes to Midnight"]},{category:"Best Comedy",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Last Train to Christmas","We Are Lady Parts","The Nan Movie","The Duke","People Just Do Nothing: Big in Japan","Father Christmas is Back"]},{category:"Outstanding Performance",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Jude Hill â Belfast","Charlie Shotwell â The Nest","Billie Piper â Rare Beasts","Lashana Lynch â No Time To Die","Lauryn Ajufo â Boiling Point","Benedict Cumberbatch â The Power of the Dog","Jamie Dornan â Belfast","Temiloluwa Otedola â Citation","Craig Fairbrass â A Violent Man"]},{category:"Best Feature Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Wildfire","After Love","Surge","Rocks","Locked Down","The Father","Rise of the Footsoldier: Origins","Belfast","Last Night in Soho"]},{category:"Best Director",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Sean Durkin â The Nest","Ben Sharrock â Limbo","Martin Owen â Twist","Andy Goddard â Six Minutes to Midnight","Billie Piper â Rare Beasts","Jane Campion â The Power of the Dog"]},{category:"Best Producer",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["Ronan Bennett â Top Boy","Claire Jones & Tim Sealey â People Just Do Nothing: Big in Japan","Michael G. Wilson & Barbara Broccoli â No Time to Die","Matthieu de Braconier & Gabrielle Dumon â After Love","Nira Park et al. â Last Night in Soho"]},{category:"Best Film Distribution Company",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["eOne","Lionsgate","Momentum Pictures","Studio Canal","Pathé","Vertigo Releasing"]},{category:"Best Film Production Company",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Film4 Productions","Element Pictures","Elevation Pictures","Darren Star Productions","Head Gear Films"]},{category:"Best Foreign Language Film",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Drive My Car (Japan)","Miss Viborg (Denmark)","You Resemble Me (France)","Parallel Mothers (Spain)","Petite Maman (France)","Sooryavanshi (India)","The Worst Person in the World (Norway)","9 (Argentina)"]},{category:"Best International Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Spider-Man: No Way Home","No Time to Die","I Care A Lot","Citation","The Harder They Fall","Don't Look Up","Spencer","King Richard","People Just Do Nothing: Big in Japan"]},{category:"Global Contribution to Motion Picture",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Anthony Hopkins â The Father","Jim Broadbent â The Duke","John Cleese â Father Christmas is Back","Colin Firth â Operation Mincemeat","Kate Winslet â Ammonite"]}]},2023:{edition:"9th Annual",year:2023,date:"3 July 2023",location:"Porchester Hall, London",broadcast:"VooVix TV",nominationsOpen:"Announced 17 May 2023",votingPeriod:"17 May â 27 Jun 2023",totalVotes:"TBC",categories:"28",territories:"15",lifetimeAchievement:"TBC",recordHolder:{title:"Last Sentinel & Rye Lane â Multi-Category Nominees",tags:["Best Actress","Best Actor","Best Thriller","Best Action","Best Independent Film","Best Drama"],subtitle:"Operation Fortune: Ruse de Guerre · What's Love Got to Do With It? also lead across categories"},pressRelease:`London, 17th May 2023 â The National Film Academy today unveiled the official nominees for the highly anticipated 9th annual National Film Awards. The nominees, featuring a stellar line-up of talented individuals, films, and TV series, set the stage for an unforgettable evening of recognition and celebration. 795 796Leading the pack, Kate Bosworth, Lily James, and Olivia Colman are among the remarkable actresses vying for the coveted Best Actress award, showcasing their extraordinary talent in films such as "
796Last Sentinel," "What's Love Got To Do With It?," and "Empire of Light." 797 798In the Best Actor category, Lucien Laviscount, Jason Statham, and Taron Egerton delivered stellar performances in "Last Sentinel," "Operation Fortune: Ruse de Guerre," and "Tetris," respectively. 799 800Films such as "Last Sentinel," "Rye Lane," and "Operation Fortune" have received nominations across various categories. The Best Actress in a TV Series category features Máiréad Tyers for "Extraordinary," Jennifer Metcalfe for "Hollyoaks," and India Amarteifio for "Queen Charlotte: A Bridgerton Story." 801 802In celebration of the 9th annual NFA, the National Film Academy also announced the launch of its first-ever members social network platform â a pioneering initiative uniting the entire film industry. 803 804The awards show was broadcast live on VooVix TV on the 3rd of July 2023. 805 806For press inquiries: Jamie Walsh â [email protected] 807Vote at: www.nationalfilmacademy.org`,gallery:["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/a1ad77f37_503861049_3953611468223757_8449192171062566416_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/668be98dd_494099037_1253842550084275_9190513571412543830_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/ebb931d21_481333128_3863175993933972_374097663704270083_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/b53c8cbdc_502610853_3952457401672497_7702892707987022853_n.jpg"],nominations:[{category:"Best Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Kate Bosworth â Last Sentinel","Lily James â What's Love Got To Do With It?","Ashley Madekwe â The Strays","Olivia Colman â Empire of Light","Jennifer Saunders â Allelujah","Helena Bonham Carter â Nolly","Gemma Arterton â Funny Woman","Kate Beckinsale â Fool's Paradise","Emma Mackey â Emily"]},{category:"Best Actor",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Lucien Laviscount â Last Sentinel","Jason Statham â Operation Fortune: Ruse de Guerre","Rory Kinnear â Bank of Dave","Natey Jones â Pretty Red Dress","Taron Egerton â Tetris","Colin Farrell â The Banshees of Inisherin","Henry Cavill â Enola Holmes 2","Idris Elba â Luther: The Fallen Sun","Ralph Fiennes â The Menu"]},{category:"Best Newcomer",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Bugzy Malone â Operation Fortune","David Jonsson â Rye Lane","Arsema Thomas â Queen Charlotte: A Bridgerton Story","Vivian Oparah â Rye Lane","Noah Caplan â Stepping Stone","Alexandra Burke â Pretty Red Dress","Ncuti Gatwa","India Amarteifio â Queen Charlotte: A Bridgerton Story","Louis Partridge â Enola Holmes","Halle Bailey â The Little Mermaid"]},{category:"Best Actress in a TV Series",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Máiréad Tyers â Extraordinary","Jennifer Metcalfe â Hollyoaks","Lily Allen â Dreamland","India Amarteifio â Queen Charlotte: A Bridgerton Story","Billie Piper â I Hate Suzie Too","Jasmine Jobson â Top Boy","Charlotte Ritchie â YOU","Freema Agyeman â Dreamland","Melia Kreiling â Mammals"]},{category:"Best Actor in a TV Series",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Richard Blackwood â Hollyoaks","Penn Badgley â You","Nick Pickard â Hollyoaks","James Corden â Mammals","Ashley Thomas â Great Expectations","Adeel Akhtar â Sherwood","Kane Robinson â Top Boy","Ncuti Gatwa â Doctor Who"]},{category:"Best Supporting Actor",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Asim Chaudhry â What's Love Got To Do With It?","Simon Manyonda â Rye Lane","Ricci Harnett â Love Without Walls","Hugh Grant â Operation Fortune","Nicholas Hoult â The Menu","Paul Kaye â Bank of Dave"]},{category:"Best Supporting Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Emma Thompson â What's Love Got To Do With It?","Poppy Allen-Quarmby â Rye Lane","Mara Huf â Tetris","Lourdes Faberes â Operation Fortune","Phoebe Dynevor â Bank of Dave","Patsy Kensit â Renegades"]},{category:"Best Supporting Actress in a TV Series",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Arsema Thomas â Queen Charlotte: A Bridgerton Story","Tilly Keeper â You","Louisa Binder â Hotel Portofino","Romola Garai â Becoming Elizabeth","Shalom Brune-Franklin â The Tourist","Sofia Oxenham â Extraordinary"]},{category:"Best Supporting Actor in a TV Series",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Jamie Lomas â Hollyoaks","Corey Mylchreest â Queen Charlotte: A Bridgerton Story","Ed Speleers â You","Dizzee Rascal â Jungle","Bilal Hasna â Extraordinary","Richard Blackwood â Hollyoaks","Kiell Smith-Bynoe â Dreamland"]},{category:"Best TV Drama Series",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Extraordinary","Hollyoaks","Dreamland","Jungle","Queen Charlotte: A Bridgerton Story","Lockwood & Co.","Mammals","You","EastEnders","Doctor Who"]},{category:"Best Drama",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Last Sentinel","Tetris","Rye Lane","The Strays","Queen Cleopatra","Girl","Master Gardener","The Banshees of Inisherin","Empire of Light"]},{category:"Best Thriller",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Last Sentinel","Unwelcome","I Came By","The Ledge","The Stranger in Our Bed","Winnie the Pooh: Blood and Honey"]},{category:"Best Action",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["Last Sentinel","Operation Fortune: Ruse de Guerre","Luther: The Fallen Sun","Queen Cleopatra","Queen Charlotte: A Bridgerton Story","Renegades","Accident Man: Hitman's Holiday","Enola Holmes 2","Hitmen"]},{category:"Best Independent Film",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["What's Love Got to Do with It?","Manfish","Bank of Dave","Drift","Casting Kill","Breaking Infinity","Jungle Cry","Girl","Love Without Walls","Tales of Babylon"]},{category:"Best Screenplay",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Jemima Khan â What's Love Got to Do With It?","Adura Onashile â Girl","Frances O'Connor â Emily","Savvas D. Michael â Hitmen","Jane Gull â Love Without Walls","Nathan Bryon & Tom Melia â Rye Lane"]},{category:"Best Documentary",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Zuckerberg: King of the Metaverse","The Real Mo Farah","Escape From Kabul Airport","How To Survive a Dictator With Munya Chawawa","Harry Potter 20th Anniversary: Return to Hogwarts","Lewis Capaldi: How I'm Feeling Now","My Old School","The Other Fellow"]}
807,{category:"Best British Film",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["What's Love Got to Do with It?","Operation Fortune: Ruse de Guerre","Rye Lane","Blue Jean","Love Without Walls","Dream Agency","I Used to Be Famous","I Am Ruth","The House"]},{category:"Best Comedy",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["What's Love Got To Do With It?","Rye Lane","Keep Calm & Carry On","Fool's Paradise","Good Luck to You, Leo Grande","Brian and Charles","I Used to Be Famous","Mammals"]},{category:"Outstanding Performance",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Keanu Reeves â John Wick","Cynthia Erivo â Drift","Anya Taylor-Joy â The Menu","Hugh Grant â Operation Fortune","India Amarteifio â Queen Charlotte: A Bridgerton Story","Bally Gill â Allelujah","Adele James â Queen Cleopatra","Daniel Radcliffe â Weird: The Al Yankovic Story","Stephen Merchant â The Outlaws","Millie Bobby Brown â Enola Holmes 2"]},{category:"Best Feature Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Operation Fortune: Ruse de Guerre","Breaking Infinity","Coyote","Emily","The Menu","Bank of Dave","The Hitmen","Wolf Garden"]},{category:"Best Director",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Guy Ritchie â Operation Fortune","Shekhar Kapur â What's Love Got To Do With It?","Chris Foggin â Bank of Dave","Nathaniel Martello-White â The Strays","Georgia Oakley â Blue Jean","Tina Gharavi â Queen Cleopatra","Adura Onashile â Girl","Marianna Dean â Breaking Infinity","Mark Mylod â The Menu"]},{category:"Best Producer",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["Kayleigh-Paige Rees â Keep Calm & Carry On","Iain Canning et al. â The Son","Adam McKay & Betsy Koch â The Menu","Karl Hall et al. â Bank of Dave","Nicky Kentish Barnes et al. â What's Love Got to Do with It?","Peter Chernin et al. â Luther: The Fallen Sun"]},{category:"Best Streaming Platform",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["BritBox","Apple TV+","Prime Video UK","Mubi","Netflix","NOW","Paramount+","Channel 4","Shudder","Sky Go"]},{category:"Best Film Production Company",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Working Title Films","StudioCanal UK","Film4 Productions","Heyday Films","Warp Films","DNA Films","See-Saw Films"]},{category:"Best Foreign Language Film",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Property (Brazil)","Rheingold (Germany)","All Quiet on the Western Front (Germany)","Queens on the Run (Mexico)","Pathaan (India)","Techno Brothers (Japan)","Alcarrà s (Spain)","Saint Omer (France)","Hilma (Sweden)","Battle on Buka Street (Nigeria)","Amandla (South Africa)"]},{category:"Best International Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Polite Society","John Wick","Creed III","Emancipation","The Menu","The Little Mermaid","Luther: The Fallen Sun"]},{category:"Global Contribution to Motion Picture",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Daniel Craig","Ralph Fiennes","Dame Joan Collins","Hugh Grant","Emma Thompson","Pierce Brosnan","Stephen Fry","Glenda Jackson","John Cleese"]}]},2024:{edition:"10th Annual",year:2024,date:"3 July 2024",location:"Porchester Hall, London",broadcast:"VooVix TV",nominationsOpen:"Announced 29 April 2024",votingPeriod:"29 Apr â 29 Jun 2024",totalVotes:"4.7 million+",categories:"30",territories:"15",lifetimeAchievement:"TBC",recordHolder:{title:"10th Anniversary Edition â A Decade of Excellence",tags:["Best British Film","Best Actress","Best Actor","Best International Film","Best Director","Best TV Drama"],subtitle:"Barbie · Saltburn · The Kitchen · Poor Things lead across categories · 4.7M academy members worldwide"},pressRelease:`London, UK â 29th April 2024 â The National Film Academy proudly unveils the nominations for the highly anticipated 10th National Film Awards, marking a decade of honouring excellence in film and television. 808 809This year's 10th anniversary ceremony takes place on the 3rd of July 2024 at the iconic Porchester Hall in London, promising to be an unforgettable celebration of cinematic excellence featuring nominees from across the globe. 810 811In the Best Actress category, distinguished performers including Patricia Hodge ("Arthur'
811s Whisky"), Rosamund Pike ("Saltburn"), and Margot Robbie ("Barbie") compete alongside Jo Hartley ("Swede Caroline"), Eiza González ("The Ministry of Ungentlemanly Warfare"), and Emma Stone ("Poor Things"). 812 813The Best Actor category features Barry Keoghan ("Saltburn"), Kevin Hart ("Lift"), and Ewan McGregor ("Bleeding Love") vying for top honours alongside Kane Robinson ("The Kitchen") and LaKeith Stanfield ("Book of Clarence"). 814 815The Best British Film category celebrates homegrown talent including "Scoop," "Wicked Little Letters," "Back to Black," "Poor Things," "The Kitchen," "Swede Caroline," "Seize Them!," and "Bleeding Love." 816 817In the Global Contribution to Motion Picture 2024 category, Margot Robbie, Bill Nighy, Anthony Hopkins, Johnny Depp, Michael Caine, Richard E. Grant, Guy Ritchie, and Ian McKellen are all nominated. 818 819The winners will be broadcast live on VooVix TV. Public voting ran from 29th April to 29th June 2024. VIP tickets were available via Ticket Republic. 820 821For media inquiries: Jamie Walsh â [email protected] | Lisa Fuller â [email protected]`,gallery:["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/e96af4ff8_BV7A0857.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/7190c5e67_BV7A0837.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/31675fd62__V7A0824.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/3964da4d9__V7A0791.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/07f7599d3__V7A0777.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/b0b4c71af__V7A0725.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/276e5c1e9__V7A0708.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/b0384de0a__V7A0616.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/bb58fd4a6__V7A0605.jpg"],nominations:[{category:"Best Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Patricia Hodge â Arthur's Whisky","Rosamund Pike â Saltburn","Jo Hartley â Swede Caroline","Margot Robbie â Barbie","Eiza González â The Ministry of Ungentlemanly Warfare","Emma Stone â Poor Things","Phoebe Dynevor â Fair Play","Fantasia Barrino â The Color Purple","Clara McGregor â Bleeding Love","Billie Piper â Scoop","Olivia Colman â Wicked Little Letters"]},{category:"Best Actor",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Barry Keoghan â Saltburn","Kane Robinson â The Kitchen","Kevin Hart â Lift","Kingsley Ben-Adir â Bob Marley: One Love","Ewan McGregor â Bleeding Love","LaKeith Stanfield â Book of Clarence","Adam Deacon â Sumotherhood","Jason Statham â The Beekeeper","Henry Cavill â The Ministry of Ungentlemanly Warfare"]},{category:"Best Newcomer",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Jedaiah Bannerman â The Kitchen","Jude Carmichael â Tribal Mark","Ceara Coveney â Hoard","Mia McKenna Bruce â How to Have Sex","Danielle Vitalis â The Great Escaper","Ambika Mod â One Day","Gus Turner â Ted Lasso","Hope Ikpoku Jnr â The Kitchen","Nell Fisher â Bookworm"]},{category:"Best Actress in a TV Series",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Kaya Scodelario â The Gentlemen","Jennifer Metcalfe â Hollyoaks","Michelle Keegan â Fool Me Once","Suranne Jones â Vigil","Jorgie Porter â Hollyoaks","Natalie Cassidy â EastEnders","Kate Ford â Coronation Street","Michelle Hardwick â Emmerdale","Ambika Mod â One Day","Michelle Collins â EastEnders"]},{category:"Best Actor in a TV Series",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Robert Carlyle â The Full Monty","Theo James â The Gentlemen","Jamie Lomas â Hollyoaks","Ralf Little â Death in Paradise","Nick Pickard â Hollyoaks","Adam Woodyatt â EastEnders","Simon Gregson â Coronation Street","Chris Bisson â Emmerdale","Leo Woodall â One Day","Colin Salmon â EastEnders"]},{category:"Best Supporting Actor",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Ian Wright â The Kitchen","Micheal Ward â The Book of Clarence","Timothy Spall â Wicked
821Little Letters","Nick Moran â Firecracker","Ewan Mitchell â Saltburn","Callum Scott Howells â The Beautiful Game","Sam John â Hoard","Jazzie Zonzolo â Sumotherhood"]},{category:"Best Supporting Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Lulu â Arthur's Whisky","Aisling Bea â Swede Caroline","Teyana Taylor â The Book of Clarence","Helena Bonham Carter â One Life","Ãrsula Corberó â Lift","Augusta Woods â Firecracker","Sasha Alexander â Bleeding Love","Aleah Aberdeen â Saltburn"]},{category:"Best Supporting Actress in a TV Series",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Joanna Lumley â Fool Me Once","Amy Walsh â Emmerdale","Joely Richardson â The Gentlemen","Amber Grappy â One Day","Talitha Wing â The Full Monty","Jess Hong â 3 Body Problem","Joséphine Jobert â Death in Paradise","Jo Martin â Dreaming Whilst Black","Molly Rainford â EastEnders"]},{category:"Best Supporting Actor in a TV Series",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Danny John-Jules â Death in Paradise","Ray Winstone â The Gentlemen","Steve McFadden â EastEnders","Adeel Akhtar â Fool Me Once","Ashley Taylor Dawson â Hollyoaks","Vinnie Jones â The Gentlemen","Paul Barber â The Full Monty","Brendan Quinn â One Day","Matt Di Angelo â EastEnders"]},{category:"Best TV Drama Series",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["The Full Monty","Coronation Street","The Gentlemen","3 Body Problem","Emmerdale","Death in Paradise","Dreaming Whilst Black","Hollyoaks","One Day"]},{category:"Best Drama",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["The Kitchen","Saltburn","Bleeding Love","The Book of Clarence","The Beautiful Game","Back to Black","One Life","Hoard"]},{category:"Best Thriller",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Saltburn","The End We Start From","Damsel","Gassed Up","The Lesson","Raging Grace","Firecracker","Civil War"]},{category:"Best Action",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["Damsel","Trigger Point","Fool Me Once","Vigil","Culprits","The Ministry of Ungentlemanly Warfare","The Last Rifleman","An Irish Angel","Fyre Rises"]},{category:"Best Independent Film",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["Rise of the Footsoldier: Vengeance","Bolan's Shoes","Sparrow's Call","The Letter Writer","Kneecap","The Outrun","Night Shoot","A Million Days","An Irish Angel","Bermondsey Tales: Fall of the Roman Empire","Dan Hawk Psychic Detective"]},{category:"Best Screenplay",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Luna Carmoon â Hoard","Paul Laverty â The Old Oak","William Ivory â The Great Escaper","Paul Tamasy et al. â The Ministry of Ungentlemanly Warfare","Andrew Loveday & Jason Maza â Rise of the Footsoldier: Vengeance","Daniel Kaluuya & Joe Murtagh â The Kitchen","Brook Driver â Swede Caroline"]},{category:"Best Documentary",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Breaking Olympia: The Phil Heath Story","Tish","At Home with the Furys","Beckham","Copa 71","Looking For Lennon","The Royal Four: Stronger Together"]},{category:"Best British Film",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["The Kitchen","Swede Caroline","Seize Them!","Bleeding Love","Scoop","Civil War","Wicked Little Letters","Back to Black","Poor Things"]},{category:"Best Comedy",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Arthur's Whisky","Swede Caroline","Wicked Little Letters","Scrapper","Upgraded","Sumotherhood","How to Date Billy Walsh","Marmalade","Seize Them!"]},{category:"Outstanding Performance",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Richard E. Grant â Saltburn","Kane Robinson â The Kitchen","Gugu Mbatha-Raw â Lift","Kingsley Ben-Adir â Bob Marley: One Love","Nicolas Cage â The Arcadian","Kelly Rowland â Mea Culpa","Gillian Anderson â Scoop","Anthony Hopkins â One Life","Marisa Abela â Back to Black","Glenda Jackson â The Great Escaper","Eiza González â The Ministry of Ungentlemanly Warfare"]},{category:"Best Feature Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Bob Marley: One Love","Saltburn","Bolan's Shoes","Scoop","The Beekeeper","One Life","Back to Black","The Great Escaper","London Gangsters","Little English","Firecracker"]},{category:"Best Director",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Daniel Kaluuya & Kibwe Tavares â The Kitchen","Emma Westenberg â Bleeding Love","Jeymes Samuel â Book of Clarence","Yorgos Lanthimos â Poor Things","James Hawes â One Life","Luna Carmoon â Hoard","Ken Loach â The Old Oak","Oliver Parker â The Great Escaper","Anand Tucker â The Critic"]}
821,{category:"Best Producer",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["Jay-Z et al. â Book of Clarence","Ivan Atkinson et al. â The Ministry of Ungentlemanly Warfare","Robert Bernstein & Douglas Rae â The Great Escaper","Anand Tucker â The Critic","Daniel Emmerson & Daniel Kaluuya â The Kitchen","Rebecca O'Brien â The Old Oak"]},{category:"Best Streaming Platform",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Netflix","Prime Video","Tubi","Apple TV","Paramount+","Disney Plus","VooVix TV","NOW"]},{category:"Best Film Production Company",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Brock Media","Ecosse Films","Paramount Pictures UK","Film4 Productions","Entertainment Film Distributors","Blueprint Pictures","CK Films"]},{category:"Best Foreign Language Film",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["You Are Not Alone: Fighting the Wolf Pack (Spain)","Captain Miller (India)","Bhakshak (India)","The Parades (Japan)","Red Ollero: Mabuhay is a Lie (Philippines)","Sixty Minutes (Germany)","The Heartbreak Agency (Germany)"]},{category:"Best Short Film",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Tribal Mark","The Heart","Good Intentions","A Mind Full","7 Minutes","A Dose of Nature","Muna"]},{category:"Best International Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Bob Marley: One Love","Arcadian","Mea Culpa","Barbie","Lift","The Book of Clarence","The Color Purple","Past Lives","Jeanne du Barry","The Ministry of Ungentlemanly Warfare"]},{category:"Global Contribution to Motion Picture",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Margot Robbie â Barbie","Bill Nighy â The Beautiful Game","Anthony Hopkins â One Life","Johnny Depp â Jeanne du Barry","Michael Caine â The Great Escaper","Richard E. Grant â The Lesson","Guy Ritchie â The Ministry of Ungentlemanly Warfare","Ian McKellen â Hamlet"]}]},2025:{edition:"11th Annual",year:2025,date:"2 July 2025",location:"Porchester Hall, London",broadcast:"VooVix TV",nominationsOpen:"Announced 19 May 2025",votingPeriod:"19 May â 19 Jun 2025",totalVotes:"3 million+",categories:"26",territories:"15",lifetimeAchievement:"TBC",recordHolder:{title:"Bridget Jones: Mad About the Boy â 9 Nominations",tags:["Best Actress","Best Actor","Best Drama","Best Comedy","Best Supporting Actor","Best Supporting Actress","Best Feature Film","Best Screenplay","Best International Film"],subtitle:"Renée Zellweger returns · Chiwetel Ejiofor, Hugh Grant & Emma Thompson also nominated"},pressRelease:`London, 19 May 2025 â The National Film Awards UK today unveiled the full list of nominees for its landmark 11th annual edition. This year's awards ceremony, produced by the National Film Academy, celebrates outstanding achievements in British and international cinema and television. Taking place at the iconic Porchester Hall in London on 2nd July 2025, the ceremony promises to be a spectacular occasion. 822 823Voting is open to the public from 19th May to 19th June 2025 at www.nationalfilmacademy.com. With over 3 million+ votes cast in past editions, the 11th annual NFA is expected to set a new voting record. 824 825"This is one of the most prestigious nights in British cinema," said Rowan Atkinson. "To be recognised by the National Film Academy, an organisation so deeply rooted in supporting creative talent, is an honour." 826 827"It's a remarkable platform that honours both rising stars and global icons," said Dame Helen Mirren. "Long may it continue." 828 829"The National Film Awards genuinely reflect the public's voice, which is what makes them so powerful," said Ricky Gervais. "It's the fans that matter." 830 831Vote Now at nationalfilmacademy.com â Voting closes 19th June 2025.`,gallery:["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/78dadde01__V7A5294.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/229675ea1__V7A5280.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/195ac0b92__V7A4961.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/d8a5d03e7__V7A4928.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6491dc20a__V7A4843.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/d6418460b__V7A54621.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/40237273e__V7A5514.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/eac9c6bce__V7A5527.jpg"],nominations:[{category:"Best Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Stephanie Beacham â Grey Matter","Ruth Syratt â Time Travel is Dangerous","Renée Zellweger â Bridget Jones: Mad About the Boy","Synnøve Karlsen â Black Cab","Megan Placito â Peter Pan's Neverland Nightmare","Saoirse Ronan â The Outrun","Carey Mulligan â The Ballad of Wallis Island","Daisy Ridley â Cleaner"]},{category:"Best Actor",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Aaron Pierre â Rebel Ridge","Paul Mescal â Gladiator II","Barry
831Keoghan â Bring Them Down","Nick Frost â Black Cab","Martin Portlock â Peter Pan's Neverland Nightmare","Tim Key â The Ballad of Wallis Island","Gary Oldman â Slow Horses","David Tennant â Rivals","Martin Freeman â The Responder","Richard Gadd â Baby Reindeer"]},{category:"Best Newcomer",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Cory McClane â Waterloo Road","Josh Tedeku â Supacell","Ebada Hassan â Brides","Owen Cooper â Adolescence","Elliott Heffernan â Blitz","Nykiya Adams â Bird","Oliver Savell â Changing Ends","Fatima Bojang â Adolescence","Austin Haynes â The Railway Children Return / Adolescence","Charlotte Mellington â Wuthering Heights"]},{category:"Best Actress in a TV Series",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Lindsey Coulson â Waterloo Road","Nielle Springer â Crongton","Adelayo Adedayo â Supacell","Sarah Parish â Curfew","Beth Cordingly â Emmerdale","Julie Hesmondhalgh â Mr Bates vs. The Post Office","Rose Ayling-Ellis â Code of Silence","Anjelica Hu
831ston â Towards Zero","Lacey Turner â EastEnders","Eden Taylor-Draper â Emmerdale"]},{category:"Best Actor in a TV Series",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Adam Thomas â Waterloo Road","Tosin Cole â Supacell","Tom Hardy â MobLand","Samson Agboola â Crongton","Toby Jones â Mr Bates vs The Post Office","Staz Nair â Virdee","Steve McFadden â EastEnders","Oliver Jackson-Cohen â Towards Zero","Peter Ash â Coronation Street","Kieron Richardson â Hollyoaks"]},{category:"Best Supporting Actor",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Mike O'Hearn â Magazine Dreams","Chiwetel Ejiofor â Bridget Jones: Mad About the Boy","Johnny Vegas â Time Travel is Dangerous","Tim Roth â Tornado","Hugh Grant â Bridget Jones: Mad About the Boy","Peter DeSouza-Feighoney â Peter Pan's Neverland Nightmare","Ray Fearon â My Fault: London","Clive Owen â Cleaner","Ashley Walters â Adolescence"]},{category:"Best Supporting Actress",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Taylour Paige â Magazine Dreams","Sophie Thompson â Time Travel is Dangerous","Isla Fisher â Bridget Jones: Mad About the Boy","Jane Horrocks â Time Travel is Dangerous","Kit Green â Peter Pan's Neverland Nightmare","Emma Thompson â Bridget Jones: Mad About the Boy","Eve Macklin â My Fault: London"]},{category:"Best Supporting Actress in a TV Series",color:"from-[#BE185D] to-[#9D174D]",badge:"bg-[#BE185D]",nominees:["Jo Coffey â Waterloo Road","Alexandra Burke â Curfew","Nadine Mills â Supacell","Sudha Bhuchar â Virdee","Safia Hamad â Crongton","Mandip Gill â Curfew","Monica Dolan â Mr Bates vs. The Post Office","Aysha Kala â Virdee","Charlotte Ritchie â Code of Silence","Ella Lily Hyland â Towards Zero"]},{category:"Best Supporting Actor in a TV Series",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Liam Scholes â Waterloo Road","Calvin Demba â Supacell","Bobby Brazier â Curfew","Pierce Brosnan â MobLand","Seyi Andes-Pelumi â Crongton","Bunmi Osadolor â Crongton","Mitchell Robertson â Curfew","Will Mellor â Mr Bates vs The Post Office","Vikash Bhai â Virdee","Kieron Moore â Code of Silence"]},{category:"Best TV Drama Series",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Waterloo Road","Supacell","MobLand","Crongton","Curfew","Adolescence","Mr Bates vs The Post Office","Virdee","Code of Silence","Towards Zero","Baby Reindeer"]},{category:"Best Drama",color:"from-[#6B21A8] to-[#4C1672]",badge:"bg-[#6B21A8]",nominees:["Bridget Jones: Mad About the Boy","Urchin","Grey Matter","On Becoming a Guinea Fowl","The Outrun","Brides","Mr Burton","Bird"]},{category:"Best Thriller",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["LYLA","The Blade Cuts Deeper","Rumpelstiltskin","Black Cab","Restless","Peter Pan's Neverland Nightmare","Dead Before They Wake"]},{category:"Best Action in a Film/Series",color:"from-[#C41E3A] to-[#9B1830]",badge:"bg-[#C41E3A]",nominees:["Cookster: The Darkest Days","William Tell","Gator Creek","Supacell","Tornado","Love Lies Bleeding","Cleaner","Fight or Flight"]},{category:"Best Independent Film",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["Treading Water","Demise","Before Nikkah","LYLA","Black Cab","Four Mothers","A Brothers Bond","Don't Turn out the Lights","Cookster: The Darkest Days","Kama","Reputation"]},{category:"Best Screenplay",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Chris Reading, Anna-Elizabeth Shakespeare, Hillary Shakespeare â Time Travel is Dangerous","Rapman (Andrew Onwubolu) â Supacell","Rungano Nyoni â On Becoming a Guinea Fowl","Helen Fielding, Dan Mazer, Abi Morgan â Bridget Jones: Mad About the Boy","Tom Basden & Tim Key â The Ballad of Wallis Island","Melissa Osborne â My Fault: London","Simon Uttley, Paul Andrew Williams, Matthew Orton â Cleaner"]},{category:"Best Documentary / Docu-Series",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["About Light and Shadows","We Are Home","Neil & Martin's Bon Voyage","The Town That Cried Bigfoot","Khartoum","To Catch a Copper","Tell Them You Love Me","Undercover: Exposing the Far Right","Freddie Flintoff's Field of Dreams on Tour"]},{category:"Best British Film",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Urchin","Time Travel is Dangerous","William Tell","The Ballad of Wallis Island","My Fault: London","Cleaner","Picture This","Marching Powder"]},{category:"Best Comedy",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Four Mothers","Time Travel is Dangerous","Kneecap","Bridget Jones: Mad About the Boy","The Ballad of Wallis Island","P
831icture This","Marching Powder","Departures"]},{category:"Outstanding Performance",color:"from-[#D4AF37] to-[#B8941F]",badge:"bg-[#D4AF37]",nominees:["Aaron Pierre â Rebel Ridge","Denzel Washington â Gladiator II","Zoe Saldana â Emilia Pérez","Hugh Grant â Bridget Jones: Mad About the Boy","Asha Banks â My Fault: London","Simone Ashley â Picture This","Danny Dyer â Marching Powder","Eve Macklin â My Fault: London","Saoirse Ronan â The Outrun","Carey Mulligan â The Ballad of Wallis Island"]},{category:"Best Feature Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Bridget Jones: Mad About the Boy","Urchin","Time Travel is Dangerous","Grey Matter","On Falling","Bring Them Down","On Becoming a Guinea Fowl","Cottontail","Havoc"]},{category:"Best Director",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Nick Hamm â William Tell","Laura Carreira â On Falling","John Maclean â Tornado","Jacques Audiard â Emilia Perez","Chris Reading â Time Travel is Dangerous","Rich Peppiatt â Kneecap","Scott Chambers â Peter Pan's Neverland Nightmare","Chris Andrews â Bring Them Down","Rungano Nyoni â On Becoming a Guinea Fowl","Michael Morris â Bridget Jones: Mad About the Boy","Bruce Goodison â Black Cab"]},{category:"Best Producer",color:"from-[#B45309] to-[#92400E]",badge:"bg-[#B45309]",nominees:["Trevor Birney & Jack Tarling â Kneecap","John Maclean â Tornado","Andy Edwards & Becca Hirani â Rumpelstiltskin","Nicky Bentham & Marica Stocchi â Brides","Rupert Majendie â The Ballad of Wallis Island","Ben Pugh & Erica Steinberg â Picture This","Josh Hyams et al. â Mr. Burton","Gareth Evans, Tom Hardy et al. â Havoc"]},{category:"Best Film Production Company",color:"from-[#1E293B] to-[#0F172A]",badge:"bg-[#334155]",nominees:["Sky Studios","Misfits Entertainment","Signature Entertainment / Signature Films","Severn Screen","Devisio Pictures","Element Pictures","Film Hedge","Blazing Griffin","Quiddity Films"]},{category:"Best Foreign Language Film",color:"from-[#0D7377] to-[#0A5457]",badge:"bg-[#0D7377]",nominees:["Emilia Pérez â France","I'm Still Here â Brazil","How to Make Millions Before Grandma Dies â Thailand","The Girl with the Needle â Denmark","Touch â Iceland","Vermiglio â Italy","Tears of a Virgin â Nigeria","Laal Singh Chaddha â India","Du Yi Wu Er â China","Enti Wo Nso Part 2 â Ghana","Weathering With You â Japan","Again 1997 â South Korea","Balidan â Nepal","The Chosen One â Singapore"]},{category:"Best Short Film",color:"from-[#2D7D46] to-[#1E5C31]",badge:"bg-[#2D7D46]",nominees:["Rock, Paper, Scissors","A Few More Minutes, Please","Heavy","The Flowers Stand Silently, Witnessing","Marion","Milk","Stomach Bug","Dragfox","Bunnyhood"]},{category:"Best International Film",color:"from-[#0047AB] to-[#003080]",badge:"bg-[#0047AB]",nominees:["Bridget Jones: Mad About the Boy","Magazine Dreams","Gladiator II","Black Bag","Emilia Pérez","The Girl with the Needle","Kneecap","Detective Chinatown 1900","The King of Kings","Flow"]}]}},FY=["all","2015","2016","2017","2018","2019","2020","2021","2022","2023","2024","2025","2026"];function jY({images:e}){const[t,r]=B.useState(0);return a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"relative aspect-[4/3] rounded-2xl overflow-hidden shadow-2xl border-4 border-white",children:[a.jsx(Mt,{mode:"wait",children:a.jsx(V.img,{src:e[t],alt:"NFA Event",initial:{opacity:0,scale:1.04},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.98},transition:{duration:.4},className:"w-full h-full object-cover object-top"},t)}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 to-transparent"}),a.jsx("div",{className:"absolute bottom-3 left-3",children:a.jsxs("span",{className:"px-3 py-1 bg-black/50 backdrop-blur-sm text-white text-[11px] font-semibold rounded-full border border-white/20",children:["Photo ",t+1,"/",e.length]})})]}),a.jsx("div",{className:"grid grid-cols-8 gap-2",children:e.map((n,s)=>a.jsx("button",{onClick:()=>r(s),className:`aspect-square rounded-lg overflow-hidden border-2 transition-all duration-200 ${t===s?"border-[#D4AF37] scale-105 shadow-lg shadow-[#D4AF37]/30":"border-white/40 hover:border-[#D4AF37]/60 hover:scale-105"}`,children:a.jsx("img",{src:n,alt:"",className:"w-full h-full object-cover"})},s))})]})}function SY({cat:e,index:t}){const[r,n]=B.useState(!1);return a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.04},className:`rounded-2xl overflow-hidden border-2 transition-all duration-300 ${r?"border-[#D4AF37] shadow-xl shadow-[#D4AF37]/10":"border-gray-200 hover:border-[#D4AF37]/50 hover:shadow-lg"} bg-white`,children:[a.jsxs("button",{onClick:()=>n(!r),className:"w-full text-left",children:[a.jsxs("div",{className:`bg-gradient-to-r ${e.color} px-5 py-4 flex items-center justify-between`,children:[a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"w-8 h-8 rounded-full bg-white/20 flex items-center justify-center",children:a.jsx(It,{className:"w-4 h-4 text-white"})}),a.jsx("span",{className:"font-editorial text-base font-bold text-white",children:e.category})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsxs("span",{className:"px-2.5 py-0.5 bg-white/20 text-white text-[11px] font-bold rounded-full",children:[e.nominees.length," nominees"]}),a.jsx("div",{className:`w-7 h-7 rounded-full bg-white/20 flex items-center justify-center transition-transform duration-300 ${r?"rotate-180":""}`,children:a.jsx(Ia,{className:"w-4 h-4 text-white"})})]})]}),!r&&a.jsxs("div",{className:"px-5 py-3 flex items-center gap-2 text-[#8A8578] text-sm",children:[a.jsx(es,{className:"w-4 h-4 text-[#D4AF37]"}),a.jsxs("span",{className:"truncate",children:[e.nominees.slice(0,3).join(" · "),"â¦"]})]})]}),a.jsx(Mt,{children:r&&a.jsx(V.div,{initial:{height:0,opacity:0}
831,animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.25},className:"overflow-hidden",children:a.jsx("div",{className:"px-5 py-4 grid sm:grid-cols-2 gap-2",children:e.nominees.map((s,i)=>a.jsxs(V.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:i*.04},className:"flex items-start gap-2.5 py-1.5 px-3 rounded-lg hover:bg-[#D4AF37]/5 transition-colors",children:[a.jsx("span",{className:`w-2 h-2 rounded-full mt-1.5 flex-shrink-0 ${e.badge}`}),a.jsx("span",{className:"text-sm text-[#2D2D2D] font-medium",children:s})]},i))})})})]})}function EY({edition:e}){const[t,r]=B.useState(!1);return e.totalVotes,e.categories,e.territories,a.jsx(Mt,{mode:"wait",children:a.jsxs(V.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[a.jsx(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"mb-10",children:a.jsxs("div",{className:"rounded-2xl overflow-hidden border-2 border-[#0047AB] shadow-lg shadow-[#0047AB]/10",children:[a.jsxs("button",{onClick:()=>r(!t),className:"w-full flex items-center justify-between bg-[#0047AB] px-6 lg:px-8 py-5 hover:bg-[#003899] transition-colors",children:[a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsx("div",{className:"w-10 h-10 rounded-full bg-white/20 flex items-center justify-center",children:a.jsx(Gy,{className:"w-5 h-5 text-white"})}),a.jsxs("div",{className:"text-left",children:[a.jsx("p",{className:"text-blue-200 text-[10px] font-bold tracking-[0.2em] uppercase mb-0.5",children:"Official Press Release"}),a.jsxs("p",{className:"text-white font-editorial text-lg font-bold",children:["NFA ",e.year," Nominations Announcement"]})]})]}),a.jsx("div",{className:`w-9 h-9 rounded-full bg-white/20 flex items-center justify-center transition-transform duration-300 flex-shrink-0 ${t?"rotate-180":""}`,children:a.jsx(Ia,{className:"w-5 h-5 text-white"})})]}),a.jsx(Mt,{children:t&&a.jsx(V.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:"overflow-hidden bg-white",children:a.jsx("div",{className:"px-6 lg:px-10 py-8 max-w-4xl",children:e.pressRelease.split(` 832 833`).map((n,s)=>a.jsx("p",{className:"text-[#4A4A4A] text-sm leading-relaxed mb-4",children:n},s))})})})]})}),a.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 mb-14",children:[a.jsx(jY,{images:e.gallery}),a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"bg-white rounded-2xl border-2 border-gray-100 p-6 shadow-sm",children:[a.jsx("p",{className:"text-[10px] font-bold tracking-[0.2em] uppercase text-[#D4AF37] mb-1",children:"Ceremony Details"}),a.jsxs("h2",{className:"font-editorial text-3xl font-bold text-[#1A1A1A] mb-5",children:[e.edition,a.jsx("br",{}),"National Film Awards"]}),a.jsx("dl",{className:"space-y-2.5 text-sm",children:[["Date",e.date],["Location",e.location],["Broadcast",e.broadcast],["Nominations Open",e.nominationsOpen],["Voting Period",e.votingPeriod],["Total Submissions",e.totalVotes],["Categories",e.categories+" award categories"],["Lifetime Achievement",e.lifetimeAchievement]].map(([n,s])=>a.jsxs("div",{className:"flex gap-3 py-2 border-b border-gray-50 last:border-0",children:[a.jsx("dt",{className:"w-44 flex-shrink-0 text-[#8A8578] font-medium",children:n}),a.jsx("dd",{className:"font-semibold text-[#1A1A1A]",children:s})]},n))})]}),a.jsxs("div",{className:"bg-gradient-to-br from-[#D4AF37] to-[#B8941F] rounded-2xl p-6 text-white shadow-lg shadow-[#D4AF37]/30 border-2 border-[#F0D882]/30",children:[a.jsx("p",{className:"text-[10px] font-bold tracking-[0.2em] uppercase text-yellow-200 mb-2",children:"ð Record Holder"}),a.jsx("p",{className:"font-editorial text-xl font-bold mb-2",children:e.recordHolder.title}),a.jsx("div",{className:"flex flex-wrap gap-2 mb-3",children:e.recordHolder.tags.map(n=>a.jsx("span",{className:"px-2.5 py-1 bg-white/20 text-white text-[11px] font-semibold rounded-full border border-white/30",children:n},n))}),a.jsx("p",{className:"text-yellow-100/80 text-sm",children:e.recordHolder.subtitle})]})]})]}),a.jsxs("div",{children:[a.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[a.jsx("div",{className:"w-10 h-10 rounded-full bg-[#D4AF37] flex items-center justify-center shadow-lg shadow-[#D4AF37]/30",children:a.jsx(Kn,{className:"w-5 h-5 text-white"})}),a.jsxs("div",{children:[a.jsx("h2",{className:"font-editorial text-2xl font-bold text-[#1A1A1A]",children:"Full Nomination List"}),a.jsxs("p",{className:"text-[#8A8578] text-sm",children:[e.nominations.length," categories · Click any category to expand nominees"]})]})]}),a.jsx("div",{className:"space-y-3",children:e.nominations.map((n,s)=>a.jsx(SY,{cat:n,index:s},n.category))})]})]},e.year)})}
833function TY(){const[e,t]=B.useState(""),[r,n]=B.useState("2015"),{data:s=[],isLoading:i}=vt({queryKey:["nominees"],queryFn:()=>Ce.entities.Nominee.list("-year"),initialData:[]}),o=uF[r];s.filter(u=>{var x,w;const h=e.toLowerCase(),m=((x=u.person_name)==null?void 0:x.toLowerCase().includes(h))||((w=u.title)==null?void 0:w.toLowerCase().includes(h)),p=r==="all"||u.year===parseInt(r);return m&&p});const c=o?o.gallery[0]:"https://images.unsplash.com/photo-1485846234645-a62644f84728?w=1400&q=80";o&&`${o.year}`,o&&`${o.edition}${o.date}`;const d=o?[{icon:Gp,label:"Public Votes",value:o.totalVotes,color:"bg-[#0047AB]"},{icon:k3,label:"Categories",value:o.categories,color:"bg-[#C41E3A]"},{icon:Dr,label:"Films Nominated",value:"100+",color:"bg-[#2D7D46]"},{icon:$t,label:"Territories",value:o.territories,color:"bg-[#D4AF37]"}]:[];return a.jsxs("div",{className:"pt-24 lg:pt-28 min-h-screen bg-[#F5F4F0]",children:[a.jsxs("section",{className:"relative min-h-[65vh] flex items-end overflow-hidden",children:[a.jsxs("div",{className:"absolute inset-0",children:[a.jsx(Mt,{mode:"wait",children:a.jsx(V.img,{src:c,alt:"NFA",initial:{opacity:0}
833,animate:{opacity:1},exit:{opacity:0},transition:{duration:.6},className:"w-full h-full object-cover object-center absolute inset-0"},c)}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0A0A0A] via-[#0A0A0A]/70 to-transparent"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#0A0A0A]/60 to-transparent"})]}),a.jsx("div",{className:"relative z-10 max-w-[1400px] mx-auto px-6 lg:px-10 pb-16 w-full",children:a.jsxs(V.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},children:[o&&a.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[a.jsx("span",{className:"px-3 py-1 bg-[#D4AF37] text-white text-[10px] font-bold tracking-[0.2em] uppercase rounded-full",children:o.edition}),a.jsxs("span",{className:"text-white/40 text-sm",children:["· ",o.date," · London"]})]}),a.jsx("h1",{className:"font-editorial text-5xl sm:text-6xl lg:text-7xl font-bold text-white leading-tight mb-4",children:o?a.jsxs(a.Fragment,{children:["National Film Awards",a.jsx("br",{}),a.jsxs("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-[#D4AF37] to-[#F0D882]",children:[o.year," Nominations"]})]}):"Nominees Library"}),o&&a.jsxs("p",{className:"text-white/60 text-lg max-w-2xl mb-8",children:["Lifetime Achievement: ",a.jsx("strong",{className:"text-[#D4AF37]",children:o.lifetimeAchievement})]}),d.length>0&&a.jsx("div",{className:"flex flex-wrap gap-4",children:d.map((u,h)=>a.jsxs(V.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.3+h*.1,type:"spring"},className:"flex items-center gap-3 bg-white/10 backdrop-blur-sm border border-white/20 rounded-2xl px-5 py-3",children:[a.jsx("div",{className:`w-10 h-10 rounded-full ${u.color} flex items-center justify-center shadow-lg`,children:a.jsx(u.icon,{className:"w-5 h-5 text-white"})}),a.jsxs("div",{children:[a.jsx("p",{className:"text-white font-editorial text-xl font-bold leading-none",children:u.value}),a.jsx("p",{className:"text-white/50 text-[11px] font-medium mt-0.5",children:u.label})]})]},u.label))})]})})]}),a.jsx("div",{className:"bg-[#1A1A1A] sticky top-16 lg:top-20 z-30 border-b border-white/5",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 py-3 flex items-center gap-2 overflow-x-auto",children:[a.jsx("span",{className:"text-white/30 text-xs font-semibold tracking-widest uppercase mr-2 flex-shrink-0",children:"Edition"}),FY.map(u=>a.jsx("button",{onClick:()=>n(u),className:`flex-shrink-0 px-4 py-1.5 rounded-full text-[12px] font-bold tracking-wide transition-all ${r===u?"bg-[#D4AF37] text-white shadow-lg shadow-[#D4AF37]/30":"text-white/50 hover:text-white hover:bg-white/10"}`,children:u==="all"?"All Years":u},u))]})}),a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 py-14",children:[o&&a.jsx(EY,{edition:o}),!o&&a.jsxs(V.div,{initial:{opacity:0}
833,animate:{opacity:1},children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("h2",{className:"font-editorial text-4xl font-bold text-[#1A1A1A] mb-3",children:"All Editions"}),a.jsx("p",{className:"text-[#8A8578]",children:"Browse every year of the National Film Awards â select an edition below to view the full nomination list."})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:Object.values(uF).reverse().map((u,h)=>a.jsxs(V.button,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:h*.05},onClick:()=>n(String(u.year)),className:"relative rounded-2xl overflow-hidden border-2 border-gray-200 hover:border-[#D4AF37] hover:shadow-xl transition-all duration-300 text-left group",children:[a.jsxs("div",{className:"relative h-48",children:[a.jsx("img",{src:u.gallery[0],alt:`NFA ${u.year}`,className:"w-full h-full object-cover object-top group-hover:scale-105 transition-transform duration-500"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/30 to-transparent"}),a.jsxs("div",{className:"absolute bottom-3 left-4 right-4",children:[a.jsx("span",{className:"text-[10px] font-bold tracking-[0.2em] uppercase text-[#D4AF37]",children:u.edition}),a.jsx("p",{className:"font-editorial text-2xl font-bold text-white",children:u.year}),a.jsx("p",{className:"text-white/60 text-xs",children:u.date})]})]}),a.jsxs("div",{className:"bg-white px-4 py-3 flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsxs("p",{className:"text-[#1A1A1A] text-sm font-semibold",children:[u.nominations.length," categories"]}),a.jsxs("p",{className:"text-[#8A8578] text-xs",children:[u.totalVotes," votes"]})]}),a.jsx("div",{className:"w-8 h-8 rounded-full bg-[#D4AF37]/10 flex items-center justify-center group-hover:bg-[#D4AF37] transition-colors",children:a.jsx(es,{className:"w-4 h-4 text-[#D4AF37] group-hover:text-white transition-colors"})})]})]},u.year))})]})]})]})}/*! 834 * html2canvas 1.4.1 <https://html2canvas.hertzen.com> 835 * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com> 836 * Released under MIT License 837 *//*! ***************************************************************************** 838Copyright (c) Microsoft Corporation. 839 840Permission to use, copy, modify, and/or distribute this software for any 841purpose with or without fee is hereby granted. 842 843THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 844REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 845AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 846INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 847LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 848OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 849PERFORMANCE OF THIS SOFTWARE. 850***************************************************************************** */var ew=function(e,t){return ew=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])},ew(e,t)};function os(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ew(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var tw=function(){return tw=Object.assign||function(t){for(var r,n=1,s=arguments.length;n<s;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},tw.apply(this,arguments)};function Cn(e,t,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function c(h){try{u(n.next(h))}catch(m){o(m)}}function d(h){try{u(n.throw(h))}catch(m){o(m)}}function u(h){h.done?i(h.value):s(h.value).then(c,d)}u((n=n.apply(e,[])).next())})}function hn(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,s,i,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(u){return function(h){return d([u,h])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,s&&(i=u[0]&2?s.return:u[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,u[1])).done)return i;switch(s=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,s=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(h){u=[6,h],s=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function qf(e,t,r){if(arguments.length===2)for(var n=0,s=t.length,i;n<s;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||t)}var hi=(function(){function e(t,r,n,s){this.left=t,this.top=r,this.width=n,this.height=s}return e.prototype.add=function(t,r,n,s){return new e(this.left+t,this.top+r,this.width+n,this.height+s)},e.fromClientRect=function(t,r){return new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height)},e.fromDOMRectList=function(t,r){var n=Array.from(r).find(function(s){return s.width!==0});return n?new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height):e.EMPTY}
vendor: 3,346 bytes, line 850
850,e.EMPTY=new e(0,0,0,0),e})(),g0=function(e,t){return hi.fromClientRect(e,t.getBoundingClientRect())},kY=function(e){var t=e.body,r=e.documentElement;if(!t||!r)throw new Error("Unable to get document size");var n=Math.max(Math.max(t.scrollWidth,r.scrollWidth),Math.max(t.offsetWidth,r.offsetWidth),Math.max(t.clientWidth,r.clientWidth)),s=Math.max(Math.max(t.scrollHeight,r.scrollHeight),Math.max(t.offsetHeight,r.offsetHeight),Math.max(t.clientHeight,r.clientHeight));return new hi(0,0,n,s)},x0=function(e){for(var t=[],r=0,n=e.length;r<n;){var s=e.charCodeAt(r++);if(s>=55296&&s<=56319&&r<n){var i=e.charCodeAt(r++);(i&64512)===56320?t.push(((s&1023)<<10)+(i&1023)+65536):(t.push(s),r--)}else t.push(s)}return t},pr=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var r=e.length;if(!r)return"";for(var n=[],s=-1,i="";++s<r;){var o=e[s];o<=65535?n.push(o):(o-=65536,n.push((o>>10)+55296,o%1024+56320)),(s+1===r||n.length>16384)&&(i+=String.fromCharCode.apply(String,n),n.length=0)}return i},hF="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_Y=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var $f=0;$f<hF.length;$f++)_Y[hF.charCodeAt($f)]=$f;var fF="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Yd=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Yf=0;Yf<fF.length;Yf++)Yd[fF.charCodeAt(Yf)]=Yf;var DY=function(e){var t=e.length*.75,r=e.length,n,s=0,i,o,c,d;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var u=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(t):new Array(t),h=Array.isArray(u)?u:new Uint8Array(u);for(n=0;n<r;n+=4)i=Yd[e.charCodeAt(n)],o=Yd[e.charCodeAt(n+1)],c=Yd[e.charCodeAt(n+2)],d=Yd[e.charCodeAt(n+3)],h[s++]=i<<2|o>>4,h[s++]=(o&15)<<4|c>>2,h[s++]=(c&3)<<6|d&63;return u},UY=function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r.push(e[n+1]<<8|e[n]);return r},IY=function(e){for(var t=e.length,r=[],n=0;n<t;n+=4)r.push(e[n+3]<<24|e[n+2]<<16|e[n+1]<<8|e[n]);return r},Sl=5,$1=11,dy=2,LY=$1-Sl,v8=65536>>Sl,PY=1<<Sl,uy=PY-1,RY=1024>>Sl,MY=v8+RY,QY=MY,OY=32,HY=QY+OY,VY=65536>>$1,KY=1<<LY,GY=KY-1,mF=function(e,t,r){return e.slice?e.slice(t,r):new Uint16Array(Array.prototype.slice.call(e,t,r))},WY=function(e,t,r){return e.slice?e.slice(t,r):new Uint32Array(Array.prototype.slice.call(e,t,r))},zY=function(e,t){var r=DY(e),n=Array.isArray(r)?IY(r):new Uint32Array(r),s=Array.isArray(r)?UY(r):new Uint16Array(r),i=24,o=mF(s,i/2,n[4]/2),c=n[5]===2?mF(s,(i+n[4])/2):WY(n,Math.ceil((i+n[4])/4));return new JY(n[0],n[1],n[2],n[3],o,c)},JY=(function(){function e(t,r,n,s,i,o){this.initialValue=t,this.errorValue=r,this.highStart=n,this.highValueIndex=s,this.index=i,this.data=o}return e.prototype.get=function(t){var r;if(t>=0){if(t<55296||t>56319&&t<=65535)return r=this.index[t>>Sl],r=(r<<dy)+(t&uy),this.data[r];if(t<=65535)return r=this.index[v8+(t-55296>>Sl)],r=(r<<dy)+(t&uy),this.data[r];if(t<this.highStart)return r=HY-VY+(t>>$1),r=this.index[r],r+=t>>Sl&GY,r=this.index[r],r=(r<<dy)+(t&uy),this.data[r];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e})(),pF="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qY=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Xf=0;Xf<pF.length;
850Xf++)qY[pF.charCodeAt(Xf)]=Xf;var $Y=
vendor: 52,891 bytes, line 850
850"KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",
vendor: 30,215 bytes, line 850
850gF=50,YY=1,C8=2,B8=3,XY=4,ZY=5,xF=7,N8=8,yF=9,Ao=10,rw=11,bF=12,nw=13,eX=14,Xd=15,aw=16,Zf=17,Rd=18,tX=19,wF=20,sw=21,Md=22,hy=23,Uc=24,na=25,Zd=26,eu=27,Ic=28,rX=29,dl=30,nX=31,em=32,tm=33,iw=34,ow=35,lw=36,Iu=37,cw=38,Wm=39,zm=40,fy=41,F8=42,aX=43,sX=[9001,65288],j8="!",ht="Ã",rm="÷",Aw=zY($Y),Gs=[dl,lw],dw=[YY,C8,B8,ZY],S8=[Ao,N8],vF=[eu,Zd],iX=dw.concat(S8),CF=[cw,Wm,zm,iw,ow],oX=[Xd,nw],lX=function(e,t){t===void 0&&(t="strict");var r=[],n=[],s=[];return e.forEach(function(i,o){var c=Aw.get(i);if(c>gF?(s.push(!0),c-=gF):s.push(!1),["normal","auto","loose"].indexOf(t)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return n.push(o),r.push(aw);if(c===XY||c===rw){if(o===0)return n.push(o),r.push(dl);var d=r[o-1];return iX.indexOf(d)===-1?(n.push(n[o-1]),r.push(d)):(n.push(o),r.push(dl))}if(n.push(o),c===nX)return r.push(t==="strict"?sw:Iu);if(c===F8||c===rX)return r.push(dl);if(c===aX)return i>=131072&&i<=196605||i>=196608&&i<=262141?r.push(Iu):r.push(dl);r.push(c)}),[n,r,s]},my=function(e,t,r,n){var s=n[r];if(Array.isArray(e)?e.indexOf(s)!==-1:e===s)for(var i=r;i<=n.length;){i++;var o=n[i];if(o===t)return!0;if(o!==Ao)break}if(s===Ao)for(var i=r;i>0;){i--;var c=n[i];if(Array.isArray(e)?e.indexOf(c)!==-1:e===c)for(var d=r;d<=n.length;){d++;var o=n[d];if(o===t)return!0;if(o!==Ao)break}if(c!==Ao)break}return!1},BF=function(e,t){for(var r=e;r>=0;){var n=t[r];if(n===Ao)r--;else return n}return 0},cX=function(e,t,r,n,s){if(r[n]===0)return ht;var i=n-1;if(Array.isArray(s)&&s[i]===!0)return ht;var o=i-1,c=i+1,d=t[i],u=o>=0?t[o]:0,h=t[c];if(d===C8&&h===B8)return ht;if(dw.indexOf(d)!==-1)return j8;if(dw.indexOf(h)!==-1||S8.indexOf(h)!==-1)return ht;if(BF(i,t)===N8)return rm;if(Aw.get(e[i])===rw||(d===em||d===tm)&&Aw.get(e[c])===rw||d===xF||h===xF||d===yF||[Ao,nw,Xd].indexOf(d)===-1&&h===yF||[Zf,Rd,tX,Uc,Ic].indexOf(h)!==-1||BF(i,t)===Md||my(hy,Md,i,t)||my([Zf,Rd],sw,i,t)||my(bF,bF,i,t))return ht;if(d===Ao)return rm;if(d===hy||h===hy)return ht;if(h===aw||d===aw)return rm;if([nw,Xd,sw].indexOf(h)!==-1||d===eX||u===lw&&oX.indexOf(d)!==-1||d===Ic&&h===lw||h===wF||Gs.indexOf(h)!==-1&&d===na||Gs.indexOf(d)!==-1&&h===na||d===eu&&[Iu,em,tm].indexOf(h)!==-1||[Iu,em,tm].indexOf(d)!==-1&&h===Zd||Gs.indexOf(d)!==-1&&vF.indexOf(h)!==-1||vF.indexOf(d)!==-1&&Gs.indexOf(h)!==-1||[eu,Zd].indexOf(d)!==-1&&(h===na||[Md,Xd].indexOf(h)!==-1&&t[c+1]===na)||[Md,Xd].indexOf(d)!==-1&&h===na||d===na&&[na,Ic,Uc].indexOf(h)!==-1)return ht;if([na,Ic,Uc,Zf,Rd].indexOf(h)!==-1)for(var m=i;m>=0;){var p=t[m];if(p===na)return ht;if([Ic,Uc].indexOf(p)!==-1)m--;else break}if([eu,Zd].indexOf(h)!==-1)for(var m=[Zf,Rd].indexOf(d)!==-1?o:i;m>=0;){var p=t[m];if(p===na)return ht;if([Ic,Uc].indexOf(p)!==-1)m--;else break}if(cw===d&&[cw,Wm,iw,ow].indexOf(h)!==-1||[Wm,iw].indexOf(d)!==-1&&[Wm,zm].indexOf(h)!==-1||[zm,ow].indexOf(d)!==-1&&h===zm||CF.indexOf(d)!==-1&&[wF,Zd].indexOf(h)!==-1||CF.indexOf(h)!==-1&&d===eu||Gs.indexOf(d)!==-1&&Gs.indexOf(h)!==-1||d===Uc&&Gs.indexOf(h)!==-1||Gs.concat(na).indexOf(d)!==-1&&h===Md&&sX.indexOf(e[c])===-1||Gs.concat(na).indexOf(h)!==-1&&d===Rd)return ht;if(d===fy&&h===fy){for(var x=r[i],w=1;x>0&&(x--,t[x]===fy);)w++;if(w%2!==0)return ht}return d===em&&h===tm?ht:rm},AX=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var r=lX(e,t.lineBreak),n=r[0],s=r[1],i=r[2];(t.wordBreak==="break-all"||t.wordBreak==="break-word")&&(s=s.map(function(c){return[na,dl,F8].indexOf(c)!==-1?Iu:c}));var o=t.wordBreak==="keep-all"?i.map(function(c,d){return c&&e[d]>=19968&&e[d]<=40959}):void 0;return[n,s,o]},dX=(function(){function e(t,r,n,s){this.codePoints=t,this.required=r===j8,this.start=n,this.end=s}return e.prototype.slice=function(){return pr.apply(void 0,this.codePoints.slice(this.start,this.end))},e})(),uX=function(e,t){var r=x0(e),n=AX(r,t),s=n[0],i=n[1],o=n[2],c=r.length,d=0,u=0;return{next:function(){if(u>=c)return{done:!0,value:null};for(var h=ht;u<c&&(h=cX(r,i,s,++u,o))===ht;);if(h!==ht||u===c){var m=new dX(r,h,d,u);return d=u,{value:m,done:!1}}return{done:!0,value:null}}}},hX=1,fX=2,dh=4,NF=8,pp=10,FF=47,du=92,mX=9,pX=32,nm=34,Qd=61,gX=35,xX=36,yX=37,am=39,sm=40,Od=41,bX=95,On=45,wX=33,vX=60,CX=62,BX=64,NX=91,FX=93,jX=61,SX=123,im=63,EX=125,jF=124,TX=126,kX=128,SF=65533,py=42,pl=43,_X=44,DX=58,UX=59,Lu=46,IX=0,LX=8,PX=11,RX=14,MX=31,QX=127,hs=-1,E8=48,T8=97,k8=101,OX=102,HX=117,VX=122,_8=65,D8=69,U8=70,KX=85,GX=90,mn=function(e){return e>=E8&&e<=57},WX=function(e){return e>=55296&&e<=57343},Lc=function(e){return mn(e)||e>=_8&&e<=U8||e>=T8&&e<=OX},zX=function(e){return e>=T8&&e<=VX},JX=function(e){return e>=_8&&e<=GX},qX=function(e){return zX(e)||JX(e)},$X=function(e){return e>=kX},om=function(e){return e===pp||e===mX||e===pX},gp=function(e){return qX(e)||$X(e)||e===bX},EF=function(e){return gp(e)||mn(e)||e===On},YX=function(e){return e>=IX&&e<=LX||e===PX||e>=RX&&e<=MX||e===QX},Yi=function(e,t){return e!==du?!1:t!==pp},lm=function(e,t,r){return e===On?gp(t)||Yi(t,r):gp(e)?!0:!!(e===du&&Yi(e,t))},gy=function(e,t,r){return e===pl||e===On?mn(t)?!0:t===Lu&&mn(r):mn(e===Lu?t:e)},XX=function(e){var t=0,r=1;(e[t]===pl||e[t]===On)&&(e[t]===On&&(r=-1),t++);for(var n=[];mn(e[t]);)n.push(e[t++]);var s=n.length?parseInt(pr.apply(void 0,n),10):0;e[t]===Lu&&t++;for(var i=[];mn(e[t]);)i.push(e[t++]);var o=i.length,c=o?parseInt(pr.apply(void 0,i),10):0;(e[t]===D8||e[t]===k8)&&t++;var d=1;(e[t]===pl||e[t]===On)&&(e[t]===On&&(d=-1),t++);for(var u=[];mn(e[t]);)u.push(e[t++]);var h=u.length?parseInt(pr.apply(void 0,u),10):0;return r*(s+c*Math.pow(10,-o))*Math.pow(10,d*h)},ZX={type:2},eZ={type:3},tZ={type:4},rZ={type:13},nZ={type:8},aZ={type:21},sZ={type:9},iZ={type:10},oZ={type:11},lZ={type:12},cZ={type:14},cm={type:23},AZ={type:1},dZ={type:25},uZ={type:24},hZ={type:26},fZ={type:27},mZ={type:28},pZ={type:29},gZ={type:31},uw={type:32},I8=(function(){function e(){this._value=[]}return e.prototype.write=function(t){this._value=this._value.concat(x0(t))},e.prototype.read=function(){for(var t=[],r=this.consumeToken();r!==uw;)t.push(r),r=this.consumeToken();return t},e.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case nm:return this.consumeStringToken(nm);case gX:var r=this.peekCodePoint(0),n=this.peekCodePoint(1),s=this.peekCodePoint(2);if(EF(r)||Yi(n,s)){var i=lm(r,n,s)?fX:hX,o=this.consumeName();return{type:5,value:o,flags:i}}break;case xX:if(this.peekCodePoint(0)===Qd)return this.consumeCodePoint(),rZ;break;case am:return this.consumeStringToken(am);case sm:return ZX;case Od:return eZ;case py:if(this.peekCodePoint(0)===Qd)return this.consumeCodePoint(),cZ;break;case pl:if(gy(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case _X:return tZ;case On:var c=t,d=this.peekCodePoint(0),u=this.peekCodePoint(1);if(gy(c,d,u))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(lm(c,d,u))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(d===On&&u===CX)return this.consumeCodePoint(),this.consumeCodePoint(),uZ;break;case Lu:if(gy(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case FF:if(this.peekCodePoint(0)===py)for(this.consumeCodePoint();;){var h=this.consumeCodePoint();if(h===py&&(h=this.consumeCodePoint(),h===FF))return this.consumeToken();if(h===hs)return this.consumeToken()}break;case DX:return hZ;case UX:return fZ;case vX:if(this.peekCodePoint(0)===wX&&this.peekCodePoint(1)===On&&this.peekCodePoint(2)===On)return this.consumeCodePoint(),this.consumeCodePoint(),dZ;break;case BX:var m=this.peekCodePoint(0),p=this.peekCodePoint(1),x=this.peekCodePoint(2);if(lm(m,p,x)){var o=this.consumeName();return{type:7,value:o}}break;case NX:return mZ;case du:if(Yi(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case FX:return pZ;case jX:if(this.peekCodePoint(0)===Qd)return this.consumeCodePoint(),nZ;break;case SX:return oZ;case EX:return lZ;case HX:case KX:var w=this.peekCodePoint(0),g=this.peekCodePoint(1);return w===pl&&(Lc(g)||g===im)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case jF:if(this.peekCodePoint(0)===Qd)return this.consumeCodePoint(),sZ;if(this.peekCodePoint(0)===jF)return this.consumeCodePoint(),aZ;break;case TX:if(this.peekCodePoint(0)===Qd)return this.consumeCodePoint(),iZ;break;case hs:return uw}return om(t)?(this.consumeWhiteSpace(),gZ):mn(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):gp(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:6,value:pr(t)}},e.prototype.consumeCodePoint=function(){var t=this._value.shift();return typeof t>"u"?-1:t},e.prototype.reconsumeCodePoint=function(t){this._value.unshift(t)},e.prototype.peekCodePoint=function(t){return t>=this._value.length?-1:this._value[t]},e.prototype.consumeUnicodeRangeToken=function(){for(var t=[],r=this.consumeCodePoint();Lc(r)&&t.length<6;)t.push(r),r=this.consumeCodePoint();for(var n=!1;r===im&&t.length<6;)t.push(r),r=this.consumeCodePoint(),n=!0;if(n){var s=parseInt(pr.apply(void 0,t.map(function(d){return d===im?E8:d})),16),i=parseInt(pr.apply(void 0,t.map(function(d){return d===im?U8:d})),16);return{type:30,start:s,end:i}}var o=parseInt(pr.apply(void 0,t),16);if(this.peekCodePoint(0)===On&&Lc(this.peekCodePoint(1))){this.consumeCodePoint(),r=this.consumeCodePoint();for(var c=[];Lc(r)&&c.length<6;)c.push(r),r=this.consumeCodePoint();var i=parseInt(pr.apply(void 0,c),16);return{type:30,start:o,end:i}}else return{type:30,start:o,end:o}},e.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return t.toLowerCase()==="url"&&this.peekCodePoint(0)===sm?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===sm?(this.consumeCodePoint(),{type:19,value:t}):{type:20,value:t}},e.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===hs)return{type:22,value:""};var r=this.peekCodePoint(0);if(r===am||r===nm){var n=this.consumeStringToken(this.consumeCodePoint());return n.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===hs||this.peekCodePoint(0)===Od)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),cm)}for(;;){var s=this.consumeCodePoint();if(s===hs||s===Od)return{type:22,value:pr.apply(void 0,t)};if(om(s))return this.consumeWhiteSpace(),this.peekCodePoint(0)===hs||this.peekCodePoint(0)===Od?(this.consumeCodePoint(),{type:22,value:pr.apply(void 0,t)}):(this.consumeBadUrlRemnants(),cm);if(s===nm||s===am||s===sm||YX(s))return this.consumeBadUrlRemnants(),cm;if(s===du)if(Yi(s,this.peekCodePoint(0)))t.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),cm;else t.push(s)}},e.prototype.consumeWhiteSpace=function(){for(;om(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var t=this.consumeCodePoint();if(t===Od||t===hs)return;Yi(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(t){for(var r=5e4,n="";t>0;){var s=Math.min(r,t);n+=pr.apply(void 0,this._value.splice(0,s)),t-=s}return this._value.shift(),n},e.prototype.consumeStringToken=function(t){var r="",n=0;do{var s=this._value[n];if(s===hs||s===void 0||s===t)return r+=this.consumeStringSlice(n),{type:0,value:r};if(s===pp)return this._value.splice(0,n),AZ;if(s===du){var i=this._value[n+1];i!==hs&&i!==void 0&&(i===pp?(r+=this.consumeStringSlice(n),n=-1,this._value.shift()):Yi(s,i)&&(r+=this.consumeStringSlice(n),r+=pr(this.consumeEscapedCodePoint()),n=-1))}n++}while(!0)},e.prototype.consumeNumber=function(){var t=[],r=dh,n=this.peekCodePoint(0);for((n===pl||n===On)&&t.push(this.consumeCodePoint());mn(this.peekCodePoint(0));)t.push(this.consumeCodePoint());n=this.peekCodePoint(0);var s=this.peekCodePoint(1);if(n===Lu&&mn(s))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),r=NF;mn(this.peekCodePoint(0));)t.push(this.consumeCodePoint());n=this.peekCodePoint(0),s=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((n===D8||n===k8)&&((s===pl||s===On)&&mn(i)||mn(s)))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),r=NF;mn(this.peekCodePoint(0));)t.push(this.consumeCodePoint());return[XX(t),r]},e.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),r=t[0],n=t[1],s=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);if(lm(s,i,o)){var c=this.consumeName();return{type:15,number:r,flags:n,unit:c}}return s===yX?(this.consumeCodePoint(),{type:16,number:r,flags:n}):{type:17,number:r,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(Lc(t)){for(var r=pr(t);Lc(this.peekCodePoint(0))&&r.length<6;)r+=pr(this.consumeCodePoint());om(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(r,16);return n===0||WX(n)||n>1114111?SF:n}return t===hs?SF:t},e.prototype.consumeName=function(){for(var t="";;){var r=this.consumeCodePoint();if(EF(r))t+=pr(r);else if(Yi(r,this.peekCodePoint(0)))t+=pr(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(r),t}},e})(),L8=(function(){function e(t){this._tokens=t}return e.create=function(t){var r=new I8;return r.write(t),new e(r.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var t=this.consumeToken();t.type===31;)t=this.consumeToken();if(t.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(t);var r=this.consumeComponentValue();do t=this.consumeToken();while(t.type===31);if(t.type===32)return r;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var t=[];;){var r=this.consumeComponentValue();if(r.type===32)return t;t.push(r),t.push()}},e.prototype.consumeComponentValue=function(){var t=this.consumeToken();switch(t.type){case 11:case 28:case 2:return this.consumeSimpleBlock(t.type);case 19:return this.consumeFunction(t)}return t},e.prototype.consumeSimpleBlock=function(t){for(var r={type:t,values:[]},n=this.consumeToken();;){if(n.type===32||yZ(n,t))return r;this.reconsumeToken(n),r.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(t){for(var r={name:t.value,values:[],type:18};;){var n=this.consumeToken();if(n.type===32||n.type===3)return r;this.reconsumeToken(n),r.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var t=this._tokens.shift();return typeof t>"u"?uw:t},e.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},e})(),uh=function(e){return e.type===15},RA=function(e){return e.type===17},Ut=function(e){return e.type===20},xZ=function(e){return e.type===0},hw=function(e,t){return Ut(e)&&e.value===t},P8=function(e){return e.type!==31},FA=function(e){return e.type!==31&&e.type!==4},Ds=function(e){var t=[],r=[];return e.forEach(function(n){if(n.type===4){if(r.length===0)throw new Error("Error parsing function args, zero tokens for arg");t.push(r),r=[];return}n.type!==31&&r.push(n)}),r.length&&t.push(r),t},yZ=function(e,t){return t===11&&e.type===12||t===28&&e.type===29?!0:t===2&&e.type===3},jo=function(e){return e.type===17||e.type===15},vr=function(e){return e.type===16||jo(e)},R8=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},tn={type:17,number:0,flags:dh},Y1={type:16,number:50,flags:dh},uo={type:16,number:100,flags:dh},tu=function(e,t,r){var n=e[0],s=e[1];return[Vt(n,t),Vt(typeof s<"u"?s:n,r)]},Vt=function(e,t){if(e.type===16)return e.number/100*t;if(uh(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},M8="deg",Q8="grad",O8="rad",H8="turn",y0={name:"angle",parse:function(e,t){if(t.type===15)switch(t.unit){case M8:return Math.PI*t.number/180;case Q8:return Math.PI/200*t.number;case O8:return t.number;case H8:return Math.PI*2*t.number}throw new Error("Unsupported angle type")}},V8=function(e){return e.type===15&&(e.unit===M8||e.unit===Q8||e.unit===O8||e.unit===H8)},K8=function(e){var t=e.filter(Ut).map(function(r){return r.value}).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[tn,tn];case"to top":case"bottom":return Da(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[tn,uo];case"to right":case"left":return Da(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[uo,uo];case"to bottom":case"top":return Da(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[uo,tn];case"to left":case"right":return Da(270)}return 0},Da=function(e){return Math.PI*e/180},yo={name:"color",parse:function(e,t){if(t.type===18){var r=bZ[t.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return r(e,t.values)}if(t.type===5){if(t.value.length===3){var n=t.value.substring(0,1),s=t.value.substring(1,2),i=t.value.substring(2,3);return ho(parseInt(n+n,16),parseInt(s+s,16),parseInt(i+i,16),1)}if(t.value.length===4){var n=t.value.substring(0,1),s=t.value.substring(1,2),i=t.value.substring(2,3),o=t.value.substring(3,4);return ho(parseInt(n+n,16),parseInt(s+s,16),parseInt(i+i,16),parseInt(o+o,16)/255)}if(t.value.length===6){var n=t.value.substring(0,2),s=t.value.substring(2,4),i=t.value.substring(4,6);return ho(parseInt(n,16),parseInt(s,16),parseInt(i,16),1)}if(t.value.length===8){var n=t.value.substring(0,2),s=t.value.substring(2,4),i=t.value.substring(4,6),o=t.value.substring(6,8);return ho(parseInt(n,16),parseInt(s,16),parseInt(i,16),parseInt(o,16)/255)}}if(t.type===20){var c=ni[t.value.toUpperCase()];if(typeof c<"u")return c}return ni.TRANSPARENT}},bo=function(e){return(255&e)===0},Mr=function(e){var t=255&e,r=255&e>>8,n=255&e>>16,s=255&e>>24;return t<255?"rgba("+s+","+n+","+r+","+t/255+")":"rgb("+s+","+n+","+r+")"},ho=function(e,t,r,n){return(e<<24|t<<16|r<<8|Math.round(n*255)<<0)>>>0},TF=function(e,t){if(e.type===17)return e.number;if(e.type===16){var r=t===3?1:255;return t===3?e.number/100*r:Math.round(e.number/100*r)}return 0},kF=function(e,t){var r=t.filter(FA);if(r.length===3){var n=r.map(TF),s=n[0],i=n[1],o=n[2];return ho(s,i,o,1)}if(r.length===4){var c=r.map(TF),s=c[0],i=c[1],o=c[2],d=c[3];return ho(s,i,o,d)}return 0};function xy(e,t,r){return r<0&&(r+=1),r>=1&&(r-=1),r<1/6?(t-e)*r*6+e:r<1/2?t:r<2/3?(t-e)*6*(2/3-r)+e:e}var _F=function(e,t){var r=t.filter(FA),n=r[0],s=r[1],i=r[2],o=r[3],c=(n.type===17?Da(n.number):y0.parse(e,n))/(Math.PI*2),d=vr(s)?s.number/100:0,u=vr(i)?i.number/100:0,h=typeof o<"u"&&vr(o)?Vt(o,1):1;if(d===0)return ho(u*255,u*255,u*255,1);var m=u<=.5?u*(d+1):u+d-u*d,p=u*2-m,x=xy(p,m,c+1/3),w=xy(p,m,c),g=xy(p,m,c-1/3);return ho(x*255,w*255,g*255,h)},bZ={hsl:_F,hsla:_F,rgb:kF,rgba:kF},uu=function(e,t){return yo.parse(e,L8.create(t).parseComponentValue())},ni={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},wZ={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(r){if(Ut(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},vZ={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},b0=function(e,t){var r=yo.parse(e,t[0]),n=t[1];return n&&vr(n)?{color:r,stop:n}:{color:r,stop:null}},DF=function(e,t){var r=e[0],n=e[e.length-1];r.stop===null&&(r.stop=tn),n.stop===null&&(n.stop=uo);for(var s=[],i=0,o=0;o<e.length;o++){var c=e[o].stop;if(c!==null){var d=Vt(c,t);d>i?s.push(d):s.push(i),i=d}else s.push(null)}for(var u=null,o=0;o<s.length;o++){var h=s[o];if(h===null)u===null&&(u=o);else if(u!==null){for(var m=o-u,p=s[u-1],x=(h-p)/(m+1),w=1;w<=m;w++)s[u+w-1]=x*w;u=null}}return e.map(function(g,b){var v=g.color;return{color:v,stop:Math.max(Math.min(1,s[b]/t),0)}})},CZ=function(e,t,r){var n=t/2,s=r/2,i=Vt(e[0],t)-n,o=s-Vt(e[1],r);return(Math.atan2(o,i)+Math.PI*2)%(Math.PI*2)},BZ=function(e,t,r){var n=typeof e=="number"?e:CZ(e,t,r),s=Math.abs(t*Math.sin(n))+Math.abs(r*Math.cos(n)),i=t/2,o=r/2,c=s/2,d=Math.sin(n-Math.PI/2)*c,u=Math.cos(n-Math.PI/2)*c;return[s,i-u,i+u,o-d,o+d]},Wa=function(e,t){return Math.sqrt(e*e+t*t)},UF=function(e,t,r,n,s){var i=[[0,0],[0,t],[e,0],[e,t]];return i.reduce(function(o,c){var d=c[0],u=c[1],h=Wa(r-d,n-u);return(s?h<o.optimumDistance:h>o.optimumDistance)?{optimumCorner:c,optimumDistance:h}:o},{optimumDistance:s?1/0:-1/0,optimumCorner:null}).optimumCorner},NZ=function(e,t,r,n,s){var i=0,o=0;switch(e.size){case 0:e.shape===0?i=o=Math.min(Math.abs(t),Math.abs(t-n),Math.abs(r),Math.abs(r-s)):e.shape===1&&(i=Math.min(Math.abs(t),Math.abs(t-n)),o=Math.min(Math.abs(r),Math.abs(r-s)));break;case 2:if(e.shape===0)i=o=Math.min(Wa(t,r),Wa(t,r-s),Wa(t-n,r),Wa(t-n,r-s));else if(e.shape===1){var c=Math.min(Math.abs(r),Math.abs(r-s))/Math.min(Math.abs(t),Math.abs(t-n)),d=UF(n,s,t,r,!0),u=d[0],h=d[1];i=Wa(u-t,(h-r)/c),o=c*i}break;case 1:e.shape===0?i=o=Math.max(Math.abs(t),Math.abs(t-n),Math.abs(r),Math.abs(r-s)):e.shape===1&&(i=Math.max(Math.abs(t),Math.abs(t-n)),o=Math.max(Math.abs(r),Math.abs(r-s)));break;case 3:if(e.shape===0)i=o=Math.max(Wa(t,r),Wa(t,r-s),Wa(t-n,r),Wa(t-n,r-s));else if(e.shape===1){var c=Math.max(Math.abs(r),Math.abs(r-s))/Math.max(Math.abs(t),Math.abs(t-n)),m=UF(n,s,t,r,!1),u=m[0],h=m[1];i=Wa(u-t,(h-r)/c),o=c*i}break}return Array.isArray(e.size)&&(i=Vt(e.size[0],n),o=e.size.length===2?Vt(e.size[1],s):i),[i,o]},FZ=function(e,t){var r=Da(180),n=[];return Ds(t).forEach(function(s,i){if(i===0){var o=s[0];if(o.type===20&&o.value==="to"){r=K8(s);return}else if(V8(o)){r=y0.parse(e,o);return}}var c=b0(e,s);n.push(c)}),{angle:r,stops:n,type:1}},Am=function(e,t){var r=Da(180),n=[];return Ds(t).forEach(function(s,i){if(i===0){var o=s[0];if(o.type===20&&["top","left","right","bottom"].indexOf(o.value)!==-1){r=K8(s);return}else if(V8(o)){r=(y0.parse(e,o)+Da(270))%Da(360);return}}var c=b0(e,s);n.push(c)}),{angle:r,stops:n,type:1}},jZ=function(e,t){var r=Da(180),n=[],s=1,i=0,o=3,c=[];return Ds(t).forEach(function(d,u){var h=d[0];if(u===0){if(Ut(h)&&h.value==="linear"){s=1;return}else if(Ut(h)&&h.value==="radial"){s=2;return}}if(h.type===18){if(h.name==="from"){var m=yo.parse(e,h.values[0]);n.push({stop:tn,color:m})}else if(h.name==="to"){var m=yo.parse(e,h.values[0]);n.push({stop:uo,color:m})}else if(h.name==="color-stop"){var p=h.values.filter(FA);if(p.length===2){var m=yo.parse(e,p[1]),x=p[0];RA(x)&&n.push({stop:{type:16,number:x.number*100,flags:x.flags},color:m})}}}}),s===1?{angle:(r+Da(180))%Da(360),stops:n,type:s}:{size:o,shape:i,stops:n,position:c,type:s}},G8="closest-side",W8="farthest-side",z8="closest-corner",J8="farthest-corner",q8="circle",$8="ellipse",Y8="cover",X8="contain",SZ=function(e,t){var r=0,n=3,s=[],i=[];return Ds(t).forEach(function(o,c){var d=!0;if(c===0){var u=!1;d=o.reduce(function(m,p){if(u)if(Ut(p))switch(p.value){case"center":return i.push(Y1),m;case"top":case"left":return i.push(tn),m;case"right":case"bottom":return i.push(uo),m}else(vr(p)||jo(p))&&i.push(p);else if(Ut(p))switch(p.value){case q8:return r=0,!1;case $8:return r=1,!1;case"at":return u=!0,!1;case G8:return n=0,!1;case Y8:case W8:return n=1,!1;case X8:case z8:return n=2,!1;case J8:return n=3,!1}else if(jo(p)||vr(p))return Array.isArray(n)||(n=[]),n.push(p),!1;return m},d)}if(d){var h=b0(e,o);s.push(h)}}),{size:n,shape:r,stops:s,position:i,type:2}},dm=function(e,t){var r=0,n=3,s=[],i=[];return Ds(t).forEach(function(o,c){var d=!0;if(c===0?d=o.reduce(function(h,m){if(Ut(m))switch(m.value){case"center":return i.push(Y1),!1;case"top":case"left":return i.push(tn),!1;case"right":case"bottom":return i.push(uo),!1}else if(vr(m)||jo(m))return i.push(m),!1;return h},d):c===1&&(d=o.reduce(function(h,m){if(Ut(m))switch(m.value){case q8:return r=0,!1;case $8:return r=1,!1;case X8:case G8:return n=0,!1;case W8:return n=1,!1;case z8:return n=2,!1;case Y8:case J8:return n=3,!1}else if(jo(m)||vr(m))return Array.isArray(n)||(n=[]),n.push(m),!1;return h},d)),d){var u=b0(e,o);s.push(u)}}),{size:n,shape:r,stops:s,position:i,type:2}},EZ=function(e){return e.type===1},TZ=function(e){return e.type===2},X1={name:"image",parse:function(e,t){if(t.type===22){var r={url:t.value,type:0};return e.cache.addImage(t.value),r}if(t.type===18){var n=Z8[t.name];if(typeof n>"u")throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return n(e,t.values)}throw new Error("Unsupported image type "+t.type)}};function kZ(e){return!(e.type===20&&e.value==="none")&&(e.type!==18||!!Z8[e.name])}var Z8={"linear-gradient":FZ,"-moz-linear-gradient":Am,"-ms-linear-gradient":Am,"-o-linear-gradient":Am,"-webkit-linear-gradient":Am,"radial-gradient":SZ,"-moz-radial-gradient":dm,"-ms-radial-gradient":dm,"-o-radial-gradient":dm,"-webkit-radial-gradient":dm,"-webkit-gradient":jZ},_Z={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(t.length===0)return[];var r=t[0];return r.type===20&&r.value==="none"?[]:t.filter(function(n){return FA(n)&&kZ(n)}).map(function(n){return X1.parse(e,n)})}},DZ={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(r){if(Ut(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},UZ={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return Ds(t).map(function(r){return r.filter(vr)}).map(R8)}},IZ={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return Ds(t).map(function(r){return r.filter(Ut).map(function(n){return n.value}).join(" ")}).map(LZ)}},LZ=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},nA;(function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"})(nA||(nA={}));var PZ={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return Ds(t).map(function(r){return r.filter(RZ)})}},RZ=function(e){return Ut(e)||vr(e)},w0=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},MZ=w0("top"),QZ=w0("right"),OZ=w0("bottom"),HZ=w0("left"),v0=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(t,r){return R8(r.filter(vr))}}},VZ=v0("top-left"),KZ=v0("top-right"),GZ=v0("bottom-right"),WZ=v0("bottom-left"),C0=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(t,r){switch(r){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},zZ=C0("top"),JZ=C0("right"),qZ=C0("bottom"),$Z=C0("left"),B0=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(t,r){return uh(r)?r.number:0}}},YZ=B0("top"),XZ=B0("right"),ZZ=B0("bottom"),eee=B0("left"),tee={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ree={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){switch(t){case"rtl":return 1;case"ltr":default:return 0}}}
vendor: 7,614 bytes, line 850
850,nee={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(Ut).reduce(function(r,n){return r|aee(n.value)},0)}},aee=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},see={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},iee={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return t.type===20&&t.value==="normal"?0:t.type===17||t.type===15?t.number:0}},xp;(function(e){e.NORMAL="normal",e.STRICT="strict"})(xp||(xp={}));var oee={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"strict":return xp.STRICT;case"normal":default:return xp.NORMAL}}},lee={name:"line-height",initialValue:"normal",prefix:!1,type:4},IF=function(e,t){return Ut(e)&&e.value==="normal"?1.2*t:e.type===17?t*e.number:vr(e)?Vt(e,t):t},cee={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return t.type===20&&t.value==="none"?null:X1.parse(e,t)}},Aee={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){switch(t){case"inside":return 0;case"outside":default:return 1}}},fw={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},N0=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},dee=N0("top"),uee=N0("right"),hee=N0("bottom"),fee=N0("left"),mee={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(Ut).map(function(r){switch(r.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},pee={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-word":return"break-word";case"normal":default:return"normal"}}},F0=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},gee=F0("top"),xee=F0("right"),yee=F0("bottom"),bee=F0("left"),wee={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},vee={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Cee={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.length===1&&hw(t[0],"none")?[]:Ds(t).map(function(r){for(var n={color:ni.TRANSPARENT,offsetX:tn,offsetY:tn,blur:tn},s=0,i=0;i<r.length;i++){var o=r[i];jo(o)?(s===0?n.offsetX=o:s===1?n.offsetY=o:n.blur=o,s++):n.color=yo.parse(e,o)}return n})}},Bee={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Nee={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,t){if(t.type===20&&t.value==="none")return null;if(t.type===18){var r=See[t.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return r(t.values)}return null}},Fee=function(e){var t=e.filter(function(r){return r.type===17}).map(function(r){return r.number});return t.length===6?t:null},jee=function(e){var t=e.filter(function(d){return d.type===17}).map(function(d){return d.number}),r=t[0],n=t[1];t[2],t[3];var s=t[4],i=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var o=t[12],c=t[13];return t[14],t[15],t.length===16?[r,n,s,i,o,c]:null},See={matrix:Fee,matrix3d:jee},LF={type:16,number:50,flags:dh},Eee=[LF,LF],Tee={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var r=t.filter(vr);return r.length!==2?Eee:[r[0],r[1]]}},kee={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},hu;(function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"})(hu||(hu={}));var _ee={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return hu.BREAK_ALL;case"keep-all":return hu.KEEP_ALL;case"normal":default:return hu.NORMAL}}},Dee={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(t.type===20)return{auto:!0,order:0};if(RA(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},e_={name:"time",parse:function(e,t){if(t.type===15)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},Uee={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return RA(t)?t.number:1}},Iee={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Lee={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter(Ut).map(function(r){switch(r.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(r){return r!==0})}}
vendor: 8,546 bytes, line 850
850,Pee={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var r=[],n=[];return t.forEach(function(s){switch(s.type){case 20:case 0:r.push(s.value);break;case 17:r.push(s.number.toString());break;case 4:n.push(r.join(" ")),r.length=0;break}}),r.length&&n.push(r.join(" ")),n.map(function(s){return s.indexOf(" ")===-1?s:"'"+s+"'"})}},Ree={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Mee={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){if(RA(t))return t.number;if(Ut(t))switch(t.value){case"bold":return 700;case"normal":default:return 400}return 400}},Qee={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter(Ut).map(function(r){return r.value})}},Oee={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},_r=function(e,t){return(e&t)!==0},Hee={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(t.length===0)return[];var r=t[0];return r.type===20&&r.value==="none"?[]:t}},Vee={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(t.length===0)return null;var r=t[0];if(r.type===20&&r.value==="none")return null;for(var n=[],s=t.filter(P8),i=0;i<s.length;i++){var o=s[i],c=s[i+1];if(o.type===20){var d=c&&RA(c)?c.number:1;n.push({counter:o.value,increment:d})}}return n}},Kee={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(t.length===0)return[];for(var r=[],n=t.filter(P8),s=0;s<n.length;s++){var i=n[s],o=n[s+1];if(Ut(i)&&i.value!=="none"){var c=o&&RA(o)?o.number:0;r.push({counter:i.value,reset:c})}}return r}},Gee={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(uh).map(function(r){return e_.parse(e,r)})}},Wee={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(t.length===0)return null;var r=t[0];if(r.type===20&&r.value==="none")return null;var n=[],s=t.filter(xZ);if(s.length%2!==0)return null;for(var i=0;i<s.length;i+=2){var o=s[i].value,c=s[i+1].value;n.push({open:o,close:c})}return n}},PF=function(e,t,r){if(!e)return"";var n=e[Math.min(t,e.length-1)];return n?r?n.open:n.close:""},zee={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.length===1&&hw(t[0],"none")?[]:Ds(t).map(function(r){for(var n={color:255,offsetX:tn,offsetY:tn,blur:tn,spread:tn,inset:!1},s=0,i=0;i<r.length;i++){var o=r[i];hw(o,"inset")?n.inset=!0:jo(o)?(s===0?n.offsetX=o:s===1?n.offsetY=o:s===2?n.blur=o:n.spread=o,s++):n.color=yo.parse(e,o)}return n})}},Jee={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var r=[0,1,2],n=[];return t.filter(Ut).forEach(function(s){switch(s.value){case"stroke":n.push(1);break;case"fill":n.push(0);break;case"markers":n.push(2);break}}),r.forEach(function(s){n.indexOf(s)===-1&&n.push(s)}),n}},qee={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},$ee={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return uh(t)?t.number:0}},Yee=(function(){function e(t,r){var n,s;this.animationDuration=Ge(t,Gee,r.animationDuration),this.backgroundClip=Ge(t,wZ,r.backgroundClip),this.backgroundColor=Ge(t,vZ,r.backgroundColor),this.backgroundImage=Ge(t,_Z,r.backgroundImage),this.backgroundOrigin=Ge(t,DZ,r.backgroundOrigin),this.backgroundPosition=Ge(t,UZ,r.backgroundPosition),this.backgroundRepeat=Ge(t,IZ,r.backgroundRepeat),this.backgroundSize=Ge(t,PZ,r.backgroundSize),this.borderTopColor=Ge(t,MZ,r.borderTopColor),this.borderRightColor=Ge(t,QZ,r.borderRightColor),this.borderBottomColor=Ge(t,OZ,r.borderBottomColor),this.borderLeftColor=Ge(t,HZ,r.borderLeftColor),this.borderTopLeftRadius=Ge(t,VZ,r.borderTopLeftRadius),this.borderTopRightRadius=Ge(t,KZ,r.borderTopRightRadius),this.borderBottomRightRadius=Ge(t,GZ,r.borderBottomRightRadius),this.borderBottomLeftRadius=Ge(t,WZ,r.borderBottomLeftRadius),this.borderTopStyle=Ge(t,zZ,r.borderTopStyle),this.borderRightStyle=Ge(t,JZ,r.borderRightStyle),this.borderBottomStyle=Ge(t,qZ,r.borderBottomStyle),this.borderLeftStyle=Ge(t,$Z,r.borderLeftStyle),this.borderTopWidth=Ge(t,YZ,r.borderTopWidth),this.borderRightWidth=Ge(t,XZ,r.borderRightWidth),this.borderBottomWidth=Ge(t,ZZ,r.borderBottomWidth),this.borderLeftWidth=Ge(t,eee,r.borderLeftWidth),this.boxShadow=Ge(t,zee,r.boxShadow),this.color=Ge(t,tee,r.color),this.direction=Ge(t,ree,r.direction),this.display=Ge(t,nee,r.display),this.float=Ge(t,see,r.cssFloat),this.fontFamily=Ge(t,Pee,r.fontFamily),this.fontSize=Ge(t,Ree,r.fontSize),this.fontStyle=Ge(t,Oee,r.fontStyle),this.fontVariant=Ge(t,Qee,r.fontVariant),this.fontWeight=Ge(t,Mee,r.fontWeight),this.letterSpacing=Ge(t,iee,r.letterSpacing),this.lineBreak=Ge(t,oee,r.lineBreak),this.lineHeight=Ge(t,lee,r.lineHeight),this.listStyleImage=Ge(t,cee,r.listStyleImage),this.listStylePosition=Ge(t,Aee,r.listStylePosition),this.listStyleType=Ge(t,fw,r.listStyleType),this.marginTop=Ge(t,dee,r.marginTop),this.marginRight=Ge(t,uee,r.marginRight),this.marginBottom=Ge(t,hee,r.marginBottom),this.marginLeft=Ge(t,fee,r.marginLeft),this.opacity=Ge(t,Uee,r.opacity);var i=Ge(t,mee,r.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=Ge(t,pee,r.overflowWrap),this.paddingTop=Ge(t,gee,r.paddingTop),this.paddingRight=Ge(t,xee,r.paddingRight),this.paddingBottom=Ge(t,yee,r.paddingBottom),this.paddingLeft=Ge(t,bee,r.paddingLeft),this.paintOrder=Ge(t,Jee,r.paintOrder),this.position=Ge(t,vee,r.position),this.textAlign=Ge(t,wee,r.textAlign),this.textDecorationColor=Ge(t,Iee,(n=r.textDecorationColor)!==null&&n!==void 0?n:r.color),this.textDecorationLine=Ge(t,Lee,(s=r.textDecorationLine)!==null&&s!==void 0?s:r.textDecoration),this.textShadow=Ge(t,Cee,r.textShadow),this.textTransform=Ge(t,Bee,r.textTransform),this.transform=Ge(t,Nee,r.transform),this.transformOrigin=Ge(t,Tee,r.transformOrigin),this.visibility=Ge(t,kee,r.visibility),this.webkitTextStrokeColor=Ge(t,qee,r.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ge(t,$ee,r.webkitTextStrokeWidth),this.wordBreak=Ge(t,_ee,r.wordBreak),this.zIndex=Ge(t,Dee,r.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},e.prototype.isTransparent=function(){return bo(this.backgroundColor)},e.prototype.isTransformed=function(){return this.transform!==null},e.prototype.isPositioned=function(){return this.position!==0},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==0},e.prototype.isInlineLevel=function(){return _r(this.display,4)||_r(this.display,33554432)||_r(this.display,268435456)||_r(this.display,536870912)||_r(this.display,67108864)||_r(this.display,134217728)},e})(),Xee=(function(){function e(t,r){this.content=Ge(t,Hee,r.content),this.quotes=Ge(t,Wee,r.quotes)}return e})(),RF=(function(){function e(t,r){this.counterIncrement=Ge(t,Vee,r.counterIncrement),this.counterReset=Ge(t,Kee,r.counterReset)}return e})(),Ge=function(e,t,r){var n=new I8,s=r!==null&&typeof r<"u"?r.toString():t.initialValue;n.write(s);var i=new L8(n.read());switch(t.type){case 2:var o=i.parseComponentValue();return t.parse(e,Ut(o)?o.value:t.initialValue);case 0:return t.parse(e,i.parseComponentValue());case 1:return t.parse(e,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(t.format){case"angle":return y0.parse(e,i.parseComponentValue());case"color":return yo.parse(e,i.parseComponentValue());case"image":return X1.parse(e,i.parseComponentValue());case"length":var c=i.parseComponentValue();return jo(c)?c:tn;case"length-percentage":var d=i.parseComponentValue();return vr(d)?d:tn;case"time":return e_.parse(e,i.parseComponentValue())}break}},Zee="data-html2canvas-debug",ete=function(e){var t=e.getAttribute(Zee);switch(t){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},mw=function(e,t){var r=ete(e);return r===1||t===r},Us=(function(){function e(t,r){if(this.context=t,this.textNodes=[],this.elements=[],this.flags=0,mw(r,3))debugger;this.styles=new Yee(t,window.getComputedStyle(r,null)),xw(r)&&(this.styles.animationDuration.some(function(n){return n>0})&&(r.style.animationDuration="0s"),this.styles.transform!==null&&(r.style.transform="none")),this.bounds=g0(this.context,r),mw(r,4)&&(this.flags|=16)}return e})(),tte=
vendor: 26,159 bytes, line 850
850"AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",
850MF="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 20,685 bytes, line 850
850+/",ru=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var um=0;um<MF.length;um++)ru[MF.charCodeAt(um)]=um;var rte=function(e){var t=e.length*.75,r=e.length,n,s=0,i,o,c,d;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var u=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(t):new Array(t),h=Array.isArray(u)?u:new Uint8Array(u);for(n=0;n<r;n+=4)i=ru[e.charCodeAt(n)],o=ru[e.charCodeAt(n+1)],c=ru[e.charCodeAt(n+2)],d=ru[e.charCodeAt(n+3)],h[s++]=i<<2|o>>4,h[s++]=(o&15)<<4|c>>2,h[s++]=(c&3)<<6|d&63;return u},nte=function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r.push(e[n+1]<<8|e[n]);return r},ate=function(e){for(var t=e.length,r=[],n=0;n<t;n+=4)r.push(e[n+3]<<24|e[n+2]<<16|e[n+1]<<8|e[n]);return r},El=5,Z1=11,yy=2,ste=Z1-El,t_=65536>>El,ite=1<<El,by=ite-1,ote=1024>>El,lte=t_+ote,cte=lte,Ate=32,dte=cte+Ate,ute=65536>>Z1,hte=1<<ste,fte=hte-1,QF=function(e,t,r){return e.slice?e.slice(t,r):new Uint16Array(Array.prototype.slice.call(e,t,r))},mte=function(e,t,r){return e.slice?e.slice(t,r):new Uint32Array(Array.prototype.slice.call(e,t,r))},pte=function(e,t){var r=rte(e),n=Array.isArray(r)?ate(r):new Uint32Array(r),s=Array.isArray(r)?nte(r):new Uint16Array(r),i=24,o=QF(s,i/2,n[4]/2),c=n[5]===2?QF(s,(i+n[4])/2):mte(n,Math.ceil((i+n[4])/4));return new gte(n[0],n[1],n[2],n[3],o,c)},gte=(function(){function e(t,r,n,s,i,o){this.initialValue=t,this.errorValue=r,this.highStart=n,this.highValueIndex=s,this.index=i,this.data=o}return e.prototype.get=function(t){var r;if(t>=0){if(t<55296||t>56319&&t<=65535)return r=this.index[t>>El],r=(r<<yy)+(t&by),this.data[r];if(t<=65535)return r=this.index[t_+(t-55296>>El)],r=(r<<yy)+(t&by),this.data[r];if(t<this.highStart)return r=dte-ute+(t>>Z1),r=this.index[r],r+=t>>El&fte,r=this.index[r],r=(r<<yy)+(t&by),this.data[r];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e})(),OF="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xte=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var hm=0;hm<OF.length;hm++)xte[OF.charCodeAt(hm)]=hm;var yte=1,wy=2,vy=3,HF=4,VF=5,bte=7,KF=8,Cy=9,By=10,GF=11,WF=12,zF=13,JF=14,Ny=15,wte=function(e){for(var t=[],r=0,n=e.length;r<n;){var s=e.charCodeAt(r++);if(s>=55296&&s<=56319&&r<n){var i=e.charCodeAt(r++);(i&64512)===56320?t.push(((s&1023)<<10)+(i&1023)+65536):(t.push(s),r--)}else t.push(s)}return t},vte=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var r=e.length;if(!r)return"";for(var n=[],s=-1,i="";++s<r;){var o=e[s];o<=65535?n.push(o):(o-=65536,n.push((o>>10)+55296,o%1024+56320)),(s+1===r||n.length>16384)&&(i+=String.fromCharCode.apply(String,n),n.length=0)}return i},Cte=pte(tte),Fa="Ã",Fy="÷",Bte=function(e){return Cte.get(e)},Nte=function(e,t,r){var n=r-2,s=t[n],i=t[r-1],o=t[r];if(i===wy&&o===vy)return Fa;if(i===wy||i===vy||i===HF||o===wy||o===vy||o===HF)return Fy;if(i===KF&&[KF,Cy,GF,WF].indexOf(o)!==-1||(i===GF||i===Cy)&&(o===Cy||o===By)||(i===WF||i===By)&&o===By||o===zF||o===VF||o===bte||i===yte)return Fa;if(i===zF&&o===JF){for(;s===VF;)s=t[--n];if(s===JF)return Fa}if(i===Ny&&o===Ny){for(var c=0;s===Ny;)c++,s=t[--n];if(c%2===0)return Fa}return Fy},Fte=function(e){var t=wte(e),r=t.length,n=0,s=0,i=t.map(Bte);return{next:function(){if(n>=r)return{done:!0,value:null};for(var o=Fa;n<r&&(o=Nte(t,i,++n))===Fa;);if(o!==Fa||n===r){var c=vte.apply(null,t.slice(s,n));return s=n,{value:c,done:!1}}return{done:!0,value:null}}}},jte=function(e){for(var t=Fte(e),r=[],n;!(n=t.next()).done;)n.value&&r.push(n.value.slice());return r},Ste=function(e){var t=123;if(e.createRange){var r=e.createRange();if(r.getBoundingClientRect){var n=e.createElement("boundtest");n.style.height=t+"px",n.style.display="block",e.body.appendChild(n),r.selectNode(n);var s=r.getBoundingClientRect(),i=Math.round(s.height);if(e.body.removeChild(n),i===t)return!0}}return!1},Ete=function(e){var t=e.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",e.body.appendChild(t);var r=e.createRange();t.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var n=t.firstChild,s=x0(n.data).map(function(d){return pr(d)}),i=0,o={},c=s.every(function(d,u){r.setStart(n,i),r.setEnd(n,i+d.length);var h=r.getBoundingClientRect();i+=d.length;var m=h.x>o.x||h.y>o.y;return o=h,u===0?!0:m});return e.body.removeChild(t),c},Tte=function(){return typeof new Image().crossOrigin<"u"},kte=function(){return typeof new XMLHttpRequest().responseType=="string"},_te=function(e){var t=new Image,r=e.createElement("canvas"),n=r.getContext("2d");if(!n)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{n.drawImage(t,0,0),r.toDataURL()}catch{return!1}return!0},qF=function(e){return e[0]===0&&e[1]===255&&e[2]===0&&e[3]===255},Dte=function(e){var t=e.createElement("canvas"),r=100;t.width=r,t.height=r;var n=t.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,r,r);var s=new Image,i=t.toDataURL();s.src=i;var o=pw(r,r,0,0,s);return n.fillStyle="red",n.fillRect(0,0,r,r),$F(o).then(function(c){n.drawImage(c,0,0);var d=n.getImageData(0,0,r,r).data;n.fillStyle="red",n.fillRect(0,0,r,r);var u=e.createElement("div");return u.style.backgroundImage="url("+i+")",u.style.height=r+"px",qF(d)?$F(pw(r,r,0,0,u)):Promise.reject(!1)}).then(function(c){return n.drawImage(c,0,0),qF(n.getImageData(0,0,r,r).data)}).catch(function(){return!1})},pw=function(e,t,r,n,s){var i="http://www.w3.org/2000/svg",o=document.createElementNS(i,"svg"),c=document.createElementNS(i,"foreignObject");return o.setAttributeNS(null,"width",e.toString()),o.setAttributeNS(null,"height",t.toString()),c.setAttributeNS(null,"width","100%"),c.setAttributeNS(null,"height","100%"),c.setAttributeNS(null,"x",r.toString()),c.setAttributeNS(null,"y",n.toString()),c.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(c),c.appendChild(s),o},$F=function(e){return new Promise(function(t,r){var n=new Image;n.onload=function(){return t(n)},n.onerror=r,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},$r={get SUPPORT_RANGE_BOUNDS(){var e=Ste(document);return Object.defineProperty($r,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=$r.SUPPORT_RANGE_BOUNDS&&Ete(document);return Object.defineProperty($r,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=_te(document);return Object.defineProperty($r,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e=typeof Array.from=="function"&&typeof window.fetch=="function"?Dte(document):Promise.resolve(!1);return Object.defineProperty($r,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=Tte();return Object.defineProperty($r,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=kte();return Object.defineProperty($r,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty($r,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty($r,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},fu=(function(){function e(t,r){this.text=t,this.bounds=r}return e})(),Ute=function(e,t,r,n){var s=Pte(t,r),i=[],o=0;return s.forEach(function(c){if(r.textDecorationLine.length||c.trim().length>0)if($r.SUPPORT_RANGE_BOUNDS){var d=YF(n,o,c.length).getClientRects();if(d.length>1){var u=ev(c),h=0;u.forEach(function(p){i.push(new fu(p,hi.fromDOMRectList(e,YF(n,h+o,p.length).getClientRects()))),h+=p.length})}else i.push(new fu(c,hi.fromDOMRectList(e,d)))}else{var m=n.splitText(c.length);i.push(new fu(c,Ite(e,n))),n=m}else $r.SUPPORT_RANGE_BOUNDS||(n=n.splitText(c.length));o+=c.length}),i},Ite=function(e,t){var r=t.ownerDocument;if(r){var n=r.createElement("html2canvaswrapper");n.appendChild(t.cloneNode(!0));var s=t.parentNode;if(s){s.replaceChild(n,t);var i=g0(e,n);return n.firstChild&&s.replaceChild(n.firstChild,n),i}}return hi.EMPTY},YF=function(e,t,r){var n=e.ownerDocument;if(!n)throw new Error("Node has no owner document");var s=n.createRange();return s.setStart(e,t),s.setEnd(e,t+r),s},ev=function(e){if($r.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map(function(r){return r.segment})}return jte(e)},Lte=function(e,t){if($r.SUPPORT_NATIVE_TEXT_SEGMENTATION){var r=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(r.segment(e)).map(function(n){return n.segment})}return Mte(e,t)},Pte=function(e,t){return t.letterSpacing!==0?ev(e):Lte(e,t)},Rte=[32,160,4961,65792,65793,4153,4241],Mte=function(e,t){for(var r=uX(e,{lineBreak:t.lineBreak,wordBreak:t.overflowWrap==="break-word"?"break-word":t.wordBreak}),n=[],s,i=function(){if(s.value){var o=s.value.slice(),c=x0(o),d="";c.forEach(function(u){Rte.indexOf(u)===-1?d+=pr(u):(d.length&&n.push(d),n.push(pr(u)),d="")}),d.length&&n.push(d)}};!(s=r.next()).done;)i();return n},Qte=(function(){function e(t,r,n){this.text=Ote(r.data,n.textTransform),this.textBounds=Ute(t,this.text,n,r)}return e})(),Ote=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(Hte,Vte);case 2:return e.toUpperCase();default:return e}},Hte=/(^|\s|:|-|\(|\))([a-z])/g,Vte=function(e,t,r){return e.length>0?t+r.toUpperCase():e},r_=(function(e){os(t,e);function t(r,n){var s=e.call(this,r,n)||this;return s.src=n.currentSrc||n.src,s.intrinsicWidth=n.naturalWidth,s.intrinsicHeight=n.naturalHeight,s.context.cache.addImage(s.src),s}return t})(Us),n_=(function(e){os(t,e);function t(r,n){var s=e.call(this,r,n)||this;return s.canvas=n,s.intrinsicWidth=n.width,s.intrinsicHeight=n.height,s}return t})(Us),a_=(function(e){os(t,e);function t(r,n){var s=e.call(this,r,n)||this,i=new XMLSerializer,o=g0(r,n);return n.setAttribute("width",o.width+"px"),n.setAttribute("height",o.height+"px"),s.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(n)),s.intrinsicWidth=n.width.baseVal.value,s.intrinsicHeight=n.height.baseVal.value,s.context.cache.addImage(s.svg),s}return t})(Us),s_=(function(e){os(t,e);function t(r,n){var s=e.call(this,r,n)||this;return s.value=n.value,s}return t})(Us),gw=(function(e){os(t,e);function t(r,n){var s=e.call(this,r,n)||this;return s.start=n.start,s.reversed=typeof n.reversed=="boolean"&&n.reversed===!0,s}return t})(Us),Kte=[{type:15,flags:0,unit:"px",number:3}],Gte=[{type:16,flags:0,number:50}],Wte=function(e){return e.width>e.height?new hi(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new hi(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},zte=function(e){var t=e.type===Jte?new Array(e.value.length+1).join("â¢"):e.value;return t.length===0?e.placeholder||"":t},yp="checkbox",bp="radio",Jte="password",XF=707406591,tv=(function(e){os(t,e);function t(r,n){var s=e.call(this,r,n)||this;switch(s.type=n.type.toLowerCase(),s.checked=n.checked,s.value=zte(n),(s.type===yp||s.type===bp)&&(s.styles.backgroundColor=3739148031,s.styles.borderTopColor=s.styles.borderRightColor=s.styles.borderBottomColor=s.styles.borderLeftColor=2779096575,s.styles.borderTopWidth=s.styles.borderRightWidth=s.styles.borderBottomWidth=s.styles.borderLeftWidth=1,s.styles.borderTopStyle=s.styles.borderRightStyle=s.styles.borderBottomStyle=s.styles.borderLeftStyle=1,s.styles.backgroundClip=[0],s.styles.backgroundOrigin=[0],s.bounds=Wte(s.bounds)),s.type){case yp:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=Kte;break;case bp:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=Gte;break}return s}return t})(Us),i_=(function(e){os(t,e);function t(r,n){var s=e.call(this,r,n)||this,i=n.options[n.selectedIndex||0];return s.value=i&&i.text||"",s}return t})(Us),o_=(function(e){os(t,e);function t(r,n){var s=e.call(this,r,n)||this;return s.value=n.value,s}return t})(Us),l_=(function(e){os(t,e);function t(r,n){var s=e.call(this,r,n)||this;s.src=n.src,s.width=parseInt(n.width,10)||0,s.height=parseInt(n.height,10)||0,s.backgroundColor=s.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){s.tree=A_(r,n.contentWindow.document.documentElement);var i=n.contentWindow.document.documentElement?uu(r,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):ni.TRANSPARENT,o=n.contentWindow.document.body?uu(r,getComputedStyle(n.contentWindow.document.body).backgroundColor):ni.TRANSPARENT;s.backgroundColor=bo(i)?bo(o)?s.styles.backgroundColor:o:i}}catch{}return s}return t})(Us),qte=["OL","UL","MENU"],Jm=function(e,t,r,n){for(var s=t.firstChild,i=void 0;s;s=i)if(i=s.nextSibling,d_(s)&&s.data.trim().length>0)r.textNodes.push(new Qte(e,s,r.styles));else if(Xc(s))if(m_(s)&&s.assignedNodes)s.assignedNodes().forEach(function(c){return Jm(e,c,r,n)});else{var o=c_(e,s);o.styles.isVisible()&&($te(s,o,n)?o.flags|=4:Yte(o.styles)&&(o.flags|=2),qte.indexOf(s.tagName)!==-1&&(o.flags|=8),r.elements.push(o),s.slot,s.shadowRoot?Jm(e,s.shadowRoot,o,n):!wp(s)&&!u_(s)&&!vp(s)&&Jm(e,s,o,n))}},c_=function(e,t){return yw(t)?new r_(e,t):h_(t)?new n_(e,t):u_(t)?new a_(e,t):Xte(t)?new s_(e,t):Zte(t)?new gw(e,t):ere(t)?new tv(e,t):vp(t)?new i_(e,t):wp(t)?new o_(e,t):f_(t)?new l_(e,t):new Us(e,t)},A_=function(e,t){var r=c_(e,t);return r.flags|=4,Jm(e,t,r,r),r},$te=function(e,t,r){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||rv(e)&&r.styles.isTransparent()},Yte=function(e){return e.isPositioned()||e.isFloating()},d_=function(e){return e.nodeType===Node.TEXT_NODE},Xc=function(e){return e.nodeType===Node.ELEMENT_NODE},xw=function(e){return Xc(e)&&typeof e.style<"u"&&!qm(e)},qm=function(e){return typeof e.className=="object"},Xte=function(e){return e.tagName==="LI"},Zte=function(e){return e.tagName==="OL"},ere=function(e){return e.tagName==="INPUT"},tre=function(e){return e.tagName==="HTML"},u_=function(e){return e.tagName==="svg"},rv=function(e){return e.tagName==="BODY"},h_=function(e){return e.tagName==="CANVAS"},ZF=function(e){return e.tagName==="VIDEO"},yw=function(e){return e.tagName==="IMG"},f_=function(e){return e.tagName==="IFRAME"},ej=function(e){return e.tagName==="STYLE"},rre=function(e){return e.tagName==="SCRIPT"},wp=function(e){return e.tagName==="TEXTAREA"},vp=function(e){return e.tagName==="SELECT"},m_=function(e){return e.tagName==="SLOT"},tj=function(e){return e.tagName.indexOf("-")>0},nre=(function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(t){var r=this.counters[t];return r&&r.length?r[r.length-1]:1},e.prototype.getCounterValues=function(t){var r=this.counters[t];return r||[]},e.prototype.pop=function(t){var r=this;t.forEach(function(n){return r.counters[n].pop()})},e.prototype.parse=function(t){var r=this,n=t.counterIncrement,s=t.counterReset,i=!0;n!==null&&n.forEach(function(c){var d=r.counters[c.counter];d&&c.increment!==0&&(i=!1,d.length||d.push(1),d[Math.max(0,d.length-1)]+=c.increment)});var o=[];return i&&s.forEach(function(c){var d=r.counters[c.counter];o.push(c.counter),d||(d=r.counters[c.counter]=[]),d.push(c.reset)}),o},e})(),rj={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},nj={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ
","Õ","Õ","Õ","Õ","Õ","Ô¿","Ô¾","Ô½","Ô¼","Ô»","Ôº","Ô¹","Ô¸","Ô·","Ô¶","Ôµ","Ô´","Ô³","Ô²","Ô±"]},are={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["×׳","×׳","×׳","×׳","×׳","×׳","×׳","×׳","×׳","×׳","ת","ש","ר","×§","צ","פ","×¢","ס","× ","×","×","×","××","××","××","××","××","×","×","×","×","×","×","×","×","×","×"]},sre={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["áµ","á°","á¯","á´","á®","á","á¬","á«","áª","á©","á¨","á§","á¦","á¥","á¤","á³","á¢","á¡","á ","á","á","á","á²","á","á","á","á","á","á","á±","á","á","á","á","á","á","á"]},Pc=function(e,t,r,n,s,i){return e<t||e>r?Pu(e,s,i.length>0):n.integers.reduce(function(o,c,d){for(;e>=c;)e-=c,o+=n.values[d];return o},"")+i},p_=function(e,t,r,n){var s="";do r||e--,s=n(e)+s,e/=t;while(e*t>=t);return s},hr=function(e,t,r,n,s){var i=r-t+1;return(e<0?"-":"")+(p_(Math.abs(e),i,n,function(o){return pr(Math.floor(o%i)+t)})+s)},ol=function(e,t,r){r===void 0&&(r=". ");var n=t.length;return p_(Math.abs(e),n,!1,function(s){return t[Math.floor(s%n)]})+r},Kc=1,qi=2,$i=4,nu=8,Ws=function(e,t,r,n,s,i){if(e<-9999||e>9999)return Pu(e,4,s.length>0);var o=Math.abs(e),c=s;if(o===0)return t[0]+c;for(var d=0;o>0&&d<=4;d++){var u=o%10;u===0&&_r(i,Kc)&&c!==""?c=t[u]+c:u>1||u===1&&d===0||u===1&&d===1&&_r(i,qi)||u===1&&d===1&&_r(i,$i)&&e>100||u===1&&d>1&&_r(i,nu)?c=t[u]+(d>0?r[d-1]:"")+c:u===1&&d>0&&(c=r[d-1]+c),o=Math.floor(o/10)}return(e<0?n:"")+c},aj="åç¾åè¬",sj="æ¾ä½°ä»è¬",ij="ãã¤ãã¹",jy="ë§ì´ëì¤",Pu=function(e,t,r){var n=r?". ":"",s=r?"ã":"",i=r?", ":"",o=r?" ":"";switch(t){case 0:return"â¢"+o;case 1:return"â¦"+o;case 2:return"â¾"+o;case 5:var c=hr(e,48,57,!0,n);return c.length<4?"0"+c:c;case 4:return ol(e,"ãä¸äºä¸åäºå
ä¸å
«ä¹",s);case 6:return Pc(e,1,3999,rj,3,n).toLowerCase();case 7:return Pc(e,1,3999,rj,3,n);case 8:return hr(e,945,969,!1,n);case 9:return hr(e,97,122,!1,n);case 10:return hr(e,65,90,!1,n);case 11:return hr(e,1632,1641,!0,n);case 12:case 49:return Pc(e,1,9999,nj,3,n);case 35:return Pc(e,1,9999,nj,3,n).toLowerCase();case 13:return hr(e,2534,2543,!0,n);case 14:case 30:return hr(e,6112,6121,!0,n);case 15:return ol(e,"åä¸å¯
å¯è¾°å·³åæªç³é
æäº¥",s);case 16:return ol(e,"ç²ä¹ä¸ä¸æå·±åºè¾å£¬ç¸",s);case 17:case 48:return Ws(e,"é¶ä¸äºä¸åäºå
ä¸å
«ä¹",aj,"è² ",s,qi|$i|nu);case 47:return Ws(e,"é¶å£¹è²³åèä¼é¸ææç",sj,"è² ",s,Kc|qi|$i|nu);case 42:return Ws(e,"é¶ä¸äºä¸åäºå
ä¸å
«ä¹",aj,"è´",s,qi|$i|nu);case 41:return Ws(e,"é¶å£¹è´°åèä¼éææç",sj,"è´",s,Kc|qi|$i|nu);case 26:return Ws(e,"ãä¸äºä¸åäºå
ä¸å
«ä¹","åç¾åä¸",ij,s,0);case 25:return Ws(e,"é¶å£±å¼ååä¼å
ä¸å
«ä¹","æ¾ç¾åä¸",ij,s,Kc|qi|$i);case 31:return Ws(e,"ìì¼ì´ì¼ì¬ì¤ì¡ì¹ í구","ìë°±ì²ë§",jy,i,Kc|qi|$i);case 33:return Ws(e,"é¶ä¸äºä¸åäºå
ä¸å
«ä¹","åç¾åè¬",jy,i,0);case 32:return Ws(e,"é¶å£¹è²³ååäºå
ä¸å
«ä¹","æ¾ç¾å",jy,i,Kc|qi|$i);case 18:return hr(e,2406,2415,!0,n);case 20:return Pc(e,1,19999,sre,3,n);case 21:return hr(e,2790,2799,!0,n);case 22:return hr(e,2662,2671,!0,n);case 22:return Pc(e,1,10999,are,3,n);case 23:return ol(e,"ããããããããããããããããã¡ã¤ã¦ã¨ãªã«ã¬ãã®ã¯ã²ãµã¸ã»ã¾ã¿ãããããããããããããããã");case 24:return ol(e,"ããã¯ã«ã»ã¸ã¨ã¡ãã¬ããããããããã¤ããªããããã®ãããã¾ããµããã¦ãããããã¿ããã²ããã");case 27:return hr(e,3302,3311,!0,n);case 28:return ol(e,"ã¢ã¤ã¦ã¨ãªã«ãã¯ã±ã³ãµã·ã¹ã»ã½ã¿ããããããããããããããããã ã¡ã¢ã¤ã¦ã¨ã©ãªã«ã¬ãã¯ã°ã±ã²ã³",s);case 29:return ol(e,"ã¤ããããããããªãã«ã²ã¯ã«ã¨ã¿ã¬ã½ãããã©ã ã¦ã°ããªã¯ã¤ãã±ãã³ã¨ãã¢ãµãã¦ã¡ãã·ã±ãã¢ã»ã¹",s);case 34:return hr(e,3792,3801,!0,n);case 37:return hr(e,6160,6169,!0,n);case 38:return hr(e,4160,4169,!0,n);case 39:return hr(e,2918,2927,!0,n);case 40:return hr(e,1776,1785,!0,n);case 43:return hr(e,3046,3055,!0,n);case 44:return hr(e,3174,3183,!0,n);case 45:return hr(e,3664,3673,!0,n);case 46:return hr(e,3872,3881,!0,n);case 3:default:return hr(e,48,57,!0,n)}},g_="data-html2canvas-ignore",oj=(function(){function e(t,r,n){if(this.context=t,this.options=n,this.scrolledElements=[],this.referenceElement=r,this.counters=new nre,this.quoteDepth=0,!r.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(r.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(t,r){var n=this,s=ire(t,r);
vendor: 2,158 bytes, line 850
850if(!s.contentWindow)return Promise.reject("Unable to find iframe window");var i=t.defaultView.pageXOffset,o=t.defaultView.pageYOffset,c=s.contentWindow,d=c.document,u=cre(s).then(function(){return Cn(n,void 0,void 0,function(){var h,m;return hn(this,function(p){switch(p.label){case 0:return this.scrolledElements.forEach(hre),c&&(c.scrollTo(r.left,r.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(c.scrollY!==r.top||c.scrollX!==r.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(c.scrollX-r.left,c.scrollY-r.top,0,0))),h=this.options.onclone,m=this.clonedReferenceElement,typeof m>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:d.fonts&&d.fonts.ready?[4,d.fonts.ready]:[3,2];case 1:p.sent(),p.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,lre(d)]:[3,4];case 3:p.sent(),p.label=4;case 4:return typeof h=="function"?[2,Promise.resolve().then(function(){return h(d,m)}).then(function(){return s})]:[2,s]}})})});return d.open(),d.write(dre(document.doctype)+"<html></html>"),ure(this.referenceElement.ownerDocument,i,o),d.replaceChild(d.adoptNode(this.documentElement),d.documentElement),d.close(),u},e.prototype.createElementClone=function(t){if(mw(t,2))debugger;if(h_(t))return this.createCanvasClone(t);if(ZF(t))return this.createVideoClone(t);if(ej(t))return this.createStyleClone(t);var r=t.cloneNode(!1);return yw(r)&&(yw(t)&&t.currentSrc&&t.currentSrc!==t.src&&(r.src=t.currentSrc,r.srcset=""),r.loading==="lazy"&&(r.loading="eager")),tj(r)?this.createCustomElementClone(r):r},e.prototype.createCustomElementClone=function(t){var r=document.createElement("html2canvascustomelement");return Sy(t.style,r),r},e.prototype.createStyleClone=function(t){try{var r=t.sheet;if(r&&r.cssRules){var n=[].slice.call(r.cssRules,0).reduce(function(i,o){return o&&typeof o.cssText=="string"?i+o.cssText:i},""),s=t.cloneNode(!1);return s.textContent=n,s}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return t.cloneNode(!1)}
vendor: 7,111 bytes, lines 850-854
850,e.prototype.createCanvasClone=function(t){var r;if(this.options.inlineImages&&t.ownerDocument){var n=t.ownerDocument.createElement("img");try{return n.src=t.toDataURL(),n}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",t)}}var s=t.cloneNode(!1);try{s.width=t.width,s.height=t.height;var i=t.getContext("2d"),o=s.getContext("2d");if(o)if(!this.options.allowTaint&&i)o.putImageData(i.getImageData(0,0,t.width,t.height),0,0);else{var c=(r=t.getContext("webgl2"))!==null&&r!==void 0?r:t.getContext("webgl");if(c){var d=c.getContextAttributes();(d==null?void 0:d.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",t)}o.drawImage(t,0,0)}return s}catch{this.context.logger.info("Unable to clone canvas as it is tainted",t)}return s},e.prototype.createVideoClone=function(t){var r=t.ownerDocument.createElement("canvas");r.width=t.offsetWidth,r.height=t.offsetHeight;var n=r.getContext("2d");try{return n&&(n.drawImage(t,0,0,r.width,r.height),this.options.allowTaint||n.getImageData(0,0,r.width,r.height)),r}catch{this.context.logger.info("Unable to clone video as it is tainted",t)}var s=t.ownerDocument.createElement("canvas");return s.width=t.offsetWidth,s.height=t.offsetHeight,s},e.prototype.appendChildNode=function(t,r,n){(!Xc(r)||!rre(r)&&!r.hasAttribute(g_)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(r)))&&(!this.options.copyStyles||!Xc(r)||!ej(r))&&t.appendChild(this.cloneNode(r,n))},e.prototype.cloneChildNodes=function(t,r,n){for(var s=this,i=t.shadowRoot?t.shadowRoot.firstChild:t.firstChild;i;i=i.nextSibling)if(Xc(i)&&m_(i)&&typeof i.assignedNodes=="function"){var o=i.assignedNodes();o.length&&o.forEach(function(c){return s.appendChildNode(r,c,n)})}else this.appendChildNode(r,i,n)},e.prototype.cloneNode=function(t,r){if(d_(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var n=t.ownerDocument.defaultView;if(n&&Xc(t)&&(xw(t)||qm(t))){var s=this.createElementClone(t);s.style.transitionProperty="none";var i=n.getComputedStyle(t),o=n.getComputedStyle(t,":before"),c=n.getComputedStyle(t,":after");this.referenceElement===t&&xw(s)&&(this.clonedReferenceElement=s),rv(s)&&pre(s);var d=this.counters.parse(new RF(this.context,i)),u=this.resolvePseudoContent(t,s,o,mu.BEFORE);tj(t)&&(r=!0),ZF(t)||this.cloneChildNodes(t,s,r),u&&s.insertBefore(u,s.firstChild);var h=this.resolvePseudoContent(t,s,c,mu.AFTER);return h&&s.appendChild(h),this.counters.pop(d),(i&&(this.options.copyStyles||qm(t))&&!f_(t)||r)&&Sy(i,s),(t.scrollTop!==0||t.scrollLeft!==0)&&this.scrolledElements.push([s,t.scrollLeft,t.scrollTop]),(wp(t)||vp(t))&&(wp(s)||vp(s))&&(s.value=t.value),s}return t.cloneNode(!1)},e.prototype.resolvePseudoContent=function(t,r,n,s){var i=this;if(n){var o=n.content,c=r.ownerDocument;if(!(!c||!o||o==="none"||o==="-moz-alt-content"||n.display==="none")){this.counters.parse(new RF(this.context,n));var d=new Xee(this.context,n),u=c.createElement("html2canvaspseudoelement");Sy(n,u),d.content.forEach(function(m){if(m.type===0)u.appendChild(c.createTextNode(m.value));else if(m.type===22){var p=c.createElement("img");p.src=m.value,p.style.opacity="1",u.appendChild(p)}else if(m.type===18){if(m.name==="attr"){var x=m.values.filter(Ut);x.length&&u.appendChild(c.createTextNode(t.getAttribute(x[0].value)||""))}else if(m.name==="counter"){var w=m.values.filter(FA),g=w[0],b=w[1];if(g&&Ut(g)){var v=i.counters.getCounterValue(g.value),N=b&&Ut(b)?fw.parse(i.context,b.value):3;u.appendChild(c.createTextNode(Pu(v,N,!1)))}}else if(m.name==="counters"){var F=m.values.filter(FA),g=F[0],S=F[1],b=F[2];if(g&&Ut(g)){var E=i.counters.getCounterValues(g.value),D=b&&Ut(b)?fw.parse(i.context,b.value):3,T=S&&S.type===0?S.value:"",k=E.map(function(ee){return Pu(ee,D,!1)}).join(T);u.appendChild(c.createTextNode(k))}}}else if(m.type===20)switch(m.value){case"open-quote":u.appendChild(c.createTextNode(PF(d.quotes,i.quoteDepth++,!0)));break;case"close-quote":u.appendChild(c.createTextNode(PF(d.quotes,--i.quoteDepth,!1)));break;default:u.appendChild(c.createTextNode(m.value))}}),u.className=bw+" "+ww;var h=s===mu.BEFORE?" "+bw:" "+ww;return qm(r)?r.className.baseValue+=h:r.className+=h,u}}},e.destroy=function(t){return t.parentNode?(t.parentNode.removeChild(t),!0):!1},e})(),mu;(function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"})(mu||(mu={}));var ire=function(e,t){var r=e.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=t.width.toString(),r.height=t.height.toString(),r.scrolling="no",r.setAttribute(g_,"true"),e.body.appendChild(r),r},ore=function(e){return new Promise(function(t){if(e.complete){t();return}if(!e.src){t();return}e.onload=t,e.onerror=t})},lre=function(e){return Promise.all([].slice.call(e.images,0).map(ore))},cre=function(e){return new Promise(function(t,r){var n=e.contentWindow;if(!n)return r("No window assigned for iframe");var s=n.document;n.onload=e.onload=function(){n.onload=e.onload=null;var i=setInterval(function(){s.body.childNodes.length>0&&s.readyState==="complete"&&(clearInterval(i),t(e))},50)}})},Are=["all","d","content"],Sy=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e.item(r);Are.indexOf(n)===-1&&t.style.setProperty(n,e.getPropertyValue(n))}return t},dre=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},ure=function(e,t,r){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||r!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,r)},hre=function(e){var t=e[0],r=e[1],n=e[2];t.scrollLeft=r,t.scrollTop=n},fre=":before",mre=":after",bw="___html2canvas___pseudoelement_before",ww="___html2canvas___pseudoelement_after",lj=`{ 851 content: "" !important; 852 display: none !important; 853}`,pre=function(e){gre(e,"."+bw+fre+lj+` 854 .`+ww+mre+lj)},gre=function(e,t){var r=e.ownerDocument;if(r){var n=r.createElement("style");n.textContent=t,e.appendChild(n)}},x_=(function(){function e(){}return e.getOrigin=function(t){var r=e._link;return r?(r.href=t,r.href=r.href,r.protocol+r.hostname+r.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e})(),xre=(function(){function e(t,r){this.context=t,this._options=r,this._cache={}}return e.prototype.addImage=function(t){var r=Promise.resolve();return this.has(t)||(Ty(t)||vre(t))&&(this._cache[t]=this.loadImage(t)).catch(function(){}),r},e.prototype.match=function(t){return this._cache[t]},e.prototype.loadImage=function(t){return Cn(this,void 0,void 0,function(){var r,n,s,i,o=this;return hn(this,function(c){switch(c.label){case 0:return r=x_.isSameOrigin(t),n=!Ey(t)&&this._options.useCORS===!0&&$r.SUPPORT_CORS_IMAGES&&!r,s=!Ey(t)&&!r&&!Ty(t)&&typeof this._options.proxy=="str
854ing"&&$r.SUPPORT_CORS_XHR&&!n,!r&&this._options.allowTaint===!1&&!Ey(t)&&!Ty(t)&&!s&&!n?[2]:(i=t,s?[4,this.proxy(i)]:[3,2]);case 1:i=c.sent(),c.label=2;case 2:return this.context.logger.debug("Added image "+t.substring(0,256)),[4,new Promise(function(d,u){var h=new Image;h.onload=function(){return d(h)},h.onerror=u,(Cre(i)||n)&&(h.crossOrigin="anonymous"),h.src=i,h.complete===!0&&setTimeout(function(){return d(h)},500),o._options.imageTimeout>0&&setTimeout(function(){return u("Timed out ("+o._options.imageTimeout+"ms) loading image")},o._options.imageTimeout)})];case 3:return[2,c.sent()]}})})},e.prototype.has=function(t){return typeof this._cache[t]<"u"},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(t){var r=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var s=t.substring(0,256);return new Promise(function(i,o){var c=$r.SUPPORT_RESPONSE_TYPE?"blob":"text",d=new XMLHttpRequest;d.onload=function(){if(d.status===200)if(c==="text")i(d.response);else{var m=new FileReader;m.addEventListener("load",function(){return i(m.result)},!1),m.addEventListener("error",function(p){return o(p)},!1),m.readAsDataURL(d.response)}else o("Failed to proxy resource "+s+" with status code "+d.status)},d.onerror=o;var u=n.indexOf("?")>-1?"&":"?";if(d.open("GET",""+n+u+"url="+encodeURIComponent(t)+"&responseType="+c),c!=="text"&&d instanceof XMLHttpRequest&&(d.responseType=c),r._options.imageTimeout){var h=r._options.imageTimeout;d.timeout=h,d.ontimeout=function(){return o("Timed out ("+h+"ms) proxying "+s)}}d.send()})},e})(),yre=/^data:image\/svg\+xml/i,bre=/^data:image\/.*;base64,/i,wre=/^data:image\/.*/i,vre=function(e){return $r.SUPPORT_SVG_DRAWING||!Bre(e)},Ey=function(e){return wre.test(e)},Cre=function(e){return bre.test(e)},Ty=function(e){return e.substr(0,4)==="blob"},Bre=function(e){return e.substr(-3).toLowerCase()==="svg"||yre.test(e)},Oe=(function(){function e(t,r){this.type=0,this.x=t,this.y=r}return e.prototype.add=function(t,r){return new e(this.x+t,this.y+r)},e})(),Rc=function(e,t,r){return new Oe(e.x+(t.x-e.x)*r,e.y+(t.y-e.y)*r)},fm=(function(){function e(t,r,n,s){this.type=1,this.start=t,this.startControl=r,this.endControl=n,this.end=s}return e.prototype.subdivide=function(t,r){var n=Rc(this.start,this.startControl,t),s=Rc(this.startControl,this.endControl,t),i=Rc(this.endControl,this.end,t),o=Rc(n,s,t),c=Rc(s,i,t),d=Rc(o,c,t);return r?new e(this.start,n,o,d):new e(d,c,i,this.end)},e.prototype.add=function(t,r){return new e(this.start.add(t,r),this.startControl.add(t,r),this.endControl.add(t,r),this.end.add(t,r))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e})(),_a=function(e){return e.type===1},Nre=(function(){function e(t){var r=t.styles,n=t.bounds,s=tu(r.borderTopLeftRadius,n.width,n.height),i=s[0],o=s[1],c=tu(r.borderTopRightRadius,n.width,n.height),d=c[0],u=c[1],h=tu(r.borderBottomRightRadius,n.width,n.height),m=h[0],p=h[1],x=tu(r.borderBottomLeftRadius,n.width,n.height),w=x[0],g=x[1],b=[];b.push((i+d)/n.width),b.push((w+m)/n.width),b.push((o+g)/n.height),b.push((u+p)/n.height);var v=Math.max.apply(Math,b);v>1&&(i/=v,o/=v,d/=v,u/=v,m/=v,p/=v,w/=v,g/=v);var N=n.width-d,F=n.height-p,S=n.width-m,E=n.height-g,D=r.borderTopWidth,T=r.borderRightWidth,k=r.borderBottomWidth,I=r.borderLeftWidth,Y=Vt(r.paddingTop,t.bounds.width),ee=Vt(r.paddingRight,t.bounds.width),ie=Vt(r.paddingBottom,t.bounds.width),W=Vt(r.paddingLeft,t.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||o>0?qt(n.left+I/3,n.top+D/3,i-I/3,o-D/3,Ct.TOP_LEFT):new Oe(n.left+I/3,n.top+D/3),this.topRightBorderDoubleOuterBox=i>0||o>0?qt(n.left+N,n.top+D/3,d-T/3,u-D/3,Ct.TOP_RIGHT):new Oe(n.left+n.width-T/3,n.top+D/3),this.bottomRightBorderDoubleOuterBox=m>0||p>0?qt(n.left+S,n.top+F,m-T/3,p-k/3,Ct.BOTTOM_RIGHT):new Oe(n.left+n.width-T/3,n.top+n.height-k/3),this.bottomLeftBorderDoubleOuterBox=w>0||g>0?qt(n.left+I/3,n.top+E,w-I/3,g-k/3,Ct.BOTTOM_LEFT):new Oe(n.left+I/3,n.top+n.height-k/3),this.topLeftBorderDoubleInnerBox=i>0||o>0?qt(n.left+I*2/3,n.top+D*2/3,i-I*2/3,o-D*2/3,Ct.TOP_LEFT):new Oe(n.left+I*2/3,n.top+D*2/3),this.topRightBorderDoubleInnerBox=i>0||o>0?qt(n.left+N,n.top+D*2/3,d-T*2/3,u-D*2/3,Ct.TOP_RIGHT):new Oe(n.left+n.width-T*2/3,n.top+D*2/3),this.bottomRightBorderDoubleInnerBox=m>0||p>0?qt(n.left+S,n.top+F,m-T*2/3,p-k*2/3,Ct.BOTTOM_RIGHT):new Oe(n.left+n.width-T*2/3,n.top+n.height-k*2/3),this.bottomLeftBorderDoubleInnerBox=w>0||g>0?qt(n.left+I*2/3,n.top+E,w-I*2/3,g-k*2/3,Ct.BOTTOM_LEFT):new Oe(n.left+I*2/3,n.top+n.height-k*2/3),this.topLeftBorderStroke=i>0||o>0?qt(n.left+I/2,n.top+D/2,i-I/2,o-D/2,Ct.TOP_LEFT):new Oe(n.left+I/2,n.top+D/2),this.topRightBorderStroke=i>0||o>0?qt(n.left+N,n.top+D/2,d-T/2,u-D/2,Ct.TOP_RIGHT):new Oe(n.left+n.width-T/2,
vendor: 13,804 bytes, line 854
854n.top+D/2),this.bottomRightBorderStroke=m>0||p>0?qt(n.left+S,n.top+F,m-T/2,p-k/2,Ct.BOTTOM_RIGHT):new Oe(n.left+n.width-T/2,n.top+n.height-k/2),this.bottomLeftBorderStroke=w>0||g>0?qt(n.left+I/2,n.top+E,w-I/2,g-k/2,Ct.BOTTOM_LEFT):new Oe(n.left+I/2,n.top+n.height-k/2),this.topLeftBorderBox=i>0||o>0?qt(n.left,n.top,i,o,Ct.TOP_LEFT):new Oe(n.left,n.top),this.topRightBorderBox=d>0||u>0?qt(n.left+N,n.top,d,u,Ct.TOP_RIGHT):new Oe(n.left+n.width,n.top),this.bottomRightBorderBox=m>0||p>0?qt(n.left+S,n.top+F,m,p,Ct.BOTTOM_RIGHT):new Oe(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=w>0||g>0?qt(n.left,n.top+E,w,g,Ct.BOTTOM_LEFT):new Oe(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||o>0?qt(n.left+I,n.top+D,Math.max(0,i-I),Math.max(0,o-D),Ct.TOP_LEFT):new Oe(n.left+I,n.top+D),this.topRightPaddingBox=d>0||u>0?qt(n.left+Math.min(N,n.width-T),n.top+D,N>n.width+T?0:Math.max(0,d-T),Math.max(0,u-D),Ct.TOP_RIGHT):new Oe(n.left+n.width-T,n.top+D),this.bottomRightPaddingBox=m>0||p>0?qt(n.left+Math.min(S,n.width-I),n.top+Math.min(F,n.height-k),Math.max(0,m-T),Math.max(0,p-k),Ct.BOTTOM_RIGHT):new Oe(n.left+n.width-T,n.top+n.height-k),this.bottomLeftPaddingBox=w>0||g>0?qt(n.left+I,n.top+Math.min(E,n.height-k),Math.max(0,w-I),Math.max(0,g-k),Ct.BOTTOM_LEFT):new Oe(n.left+I,n.top+n.height-k),this.topLeftContentBox=i>0||o>0?qt(n.left+I+W,n.top+D+Y,Math.max(0,i-(I+W)),Math.max(0,o-(D+Y)),Ct.TOP_LEFT):new Oe(n.left+I+W,n.top+D+Y),this.topRightContentBox=d>0||u>0?qt(n.left+Math.min(N,n.width+I+W),n.top+D+Y,N>n.width+I+W?0:d-I+W,u-(D+Y),Ct.TOP_RIGHT):new Oe(n.left+n.width-(T+ee),n.top+D+Y),this.bottomRightContentBox=m>0||p>0?qt(n.left+Math.min(S,n.width-(I+W)),n.top+Math.min(F,n.height+D+Y),Math.max(0,m-(T+ee)),p-(k+ie),Ct.BOTTOM_RIGHT):new Oe(n.left+n.width-(T+ee),n.top+n.height-(k+ie)),this.bottomLeftContentBox=w>0||g>0?qt(n.left+I+W,n.top+E,Math.max(0,w-(I+W)),g-(k+ie),Ct.BOTTOM_LEFT):new Oe(n.left+I+W,n.top+n.height-(k+ie))}return e})(),Ct;(function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Ct||(Ct={}));var qt=function(e,t,r,n,s){var i=4*((Math.sqrt(2)-1)/3),o=r*i,c=n*i,d=e+r,u=t+n;switch(s){case Ct.TOP_LEFT:return new fm(new Oe(e,u),new Oe(e,u-c),new Oe(d-o,t),new Oe(d,t));case Ct.TOP_RIGHT:return new fm(new Oe(e,t),new Oe(e+o,t),new Oe(d,u-c),new Oe(d,u));case Ct.BOTTOM_RIGHT:return new fm(new Oe(d,t),new Oe(d,t+c),new Oe(e+o,u),new Oe(e,u));case Ct.BOTTOM_LEFT:default:return new fm(new Oe(d,u),new Oe(d-o,u),new Oe(e,t+c),new Oe(e,t))}},Cp=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},Fre=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},Bp=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},jre=(function(){function e(t,r,n){this.offsetX=t,this.offsetY=r,this.matrix=n,this.type=0,this.target=6}return e})(),mm=(function(){function e(t,r){this.path=t,this.target=r,this.type=1}return e})(),Sre=(function(){function e(t){this.opacity=t,this.type=2,this.target=6}return e})(),Ere=function(e){return e.type===0},y_=function(e){return e.type===1},Tre=function(e){return e.type===2},cj=function(e,t){return e.length===t.length?e.some(function(r,n){return r===t[n]}):!1},kre=function(e,t,r,n,s){return e.map(function(i,o){switch(o){case 0:return i.add(t,r);case 1:return i.add(t+n,r);case 2:return i.add(t+n,r+s);case 3:return i.add(t,r+s)}return i})},b_=(function(){function e(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e})(),w_=(function(){function e(t,r){if(this.container=t,this.parent=r,this.effects=[],this.curves=new Nre(this.container),this.container.styles.opacity<1&&this.effects.push(new Sre(this.container.styles.opacity)),this.container.styles.transform!==null){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,s=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new jre(n,s,i))}if(this.container.styles.overflowX!==0){var o=Cp(this.curves),c=Bp(this.curves);cj(o,c)?this.effects.push(new mm(o,6)):(this.effects.push(new mm(o,2)),this.effects.push(new mm(c,4)))}}return e.prototype.getEffects=function(t){for(var r=[2,3].indexOf(this.container.styles.position)===-1,n=this.parent,s=this.effects.slice(0);n;){var i=n.effects.filter(function(d){return!y_(d)});if(r||n.container.styles.position!==0||!n.parent){if(s.unshift.apply(s,i),r=[2,3].indexOf(n.container.styles.position)===-1,n.container.styles.overflowX!==0){var o=Cp(n.curves),c=Bp(n.curves);cj(o,c)||s.unshift(new mm(c,6))}}else s.unshift.apply(s,i);n=n.parent}return s.filter(function(d){return _r(d.target,t)})},e})(),vw=function(e,t,r,n){e.container.elements.forEach(function(s){var i=_r(s.flags,4),o=_r(s.flags,2),c=new w_(s,e);_r(s.styles.display,2048)&&n.push(c);var d=_r(s.flags,8)?[]:n;if(i||o){var u=i||s.styles.isPositioned()?r:t,h=new b_(c);if(s.styles.isPositioned()||s.styles.opacity<1||s.styles.isTransformed()){var m=s.styles.zIndex.order;if(m<0){var p=0;u.negativeZIndex.some(function(w,g){return m>w.element.container.styles.zIndex.order?(p=g,!1):p>0}),u.negativeZIndex.splice(p,0,h)}else if(m>0){var x=0;u.positiveZIndex.some(function(w,g){return m>=w.element.container.styles.zIndex.order?(x=g+1,!1):x>0}),u.positiveZIndex.splice(x,0,h)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(h)}else s.styles.isFloating()?u.nonPositionedFloats.push(h):u.nonPositionedInlineLevel.push(h);vw(c,h,i?h:r,d)}else s.styles.isInlineLevel()?t.inlineLevel.push(c):t.nonInlineLevel.push(c),vw(c,t,r,d);_r(s.flags,8)&&v_(s,d)})},v_=function(e,t){for(var r=e instanceof gw?e.start:1,n=e instanceof gw?e.reversed:!1,s=0;s<t.length;s++){var i=t[s];i.container instanceof s_&&typeof i.container.value=="number"&&i.container.value!==0&&(r=i.container.value),i.listValue=Pu(r,i.container.styles.listStyleType,!0),r+=n?-1:1}},_re=function(e){var t=new w_(e,null),r=new b_(t),n=[];return vw(t,r,r,n),v_(t.container,n),r},Aj=function(e,t){switch(t){case 0:return Ua(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return Ua(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return Ua(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);case 3:default:return Ua(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Dre=function(e,t){switch(t){case 0:return Ua(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return Ua(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return Ua(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);case 3:default:return Ua(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},Ure=function(e,t){switch(t){case 0:return Ua(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return Ua(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return Ua(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);case 3:default:return Ua(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},Ire=function(e,t){switch(t){case 0:return pm(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return pm(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return pm(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);case 3:default:return pm(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},pm=function(e,t){var r=[];return _a(e)?r.push(e.subdivide(.5,!1)):r.push(e),_a(t)?r.push(t.subdivide(.5,!0)):r.push(t),r},Ua=function(e,t,r,n){var s=[];return _a(e)?s.push(e.subdivide(.5,!1)):s.push(e),_a(r)?s.push(r.subdivide(.5,!0)):s.push(r),_a(n)?s.push(n.subdivide(.5,!0).reverse()):s.push(n),_a(t)?s.push(t.subdivide(.5,!1).reverse()):s.push(t),s},C_=function(e){var t=e.bounds,r=e.styles;return t.add(r.borderLeftWidth,r.borderTopWidth,-(r.borderRightWidth+r.borderLeftWidth),-(r.borderTopWidth+r.borderBottomWidth))},Np=function(e){var t=e.styles,r=e.bounds,n=Vt(t.paddingLeft,r.width),s=Vt(t.paddingRight,r.width),i=Vt(t.paddingTop,r.width),o=Vt(t.paddingBottom,r.width);return r.add(n+t.borderLeftWidth,i+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+n+s),-(t.borderTopWidth+t.borderBottomWidth+i+o))},Lre=function(e,t){return e===0?t.bounds:e===2?Np(t):C_(t)},Pre=function(e,t){return e===0?t.bounds:e===2?Np(t):C_(t)},ky=function(e,t,r){var n=Lre(Gc(e.styles.backgroundOrigin,t),e),s=Pre(Gc(e.styles.backgroundClip,t),e),i=Rre(Gc(e.styles.backgroundSize,t),r,n),o=i[0],c=i[1],d=tu(Gc(e.styles.backgroundPosition,t),n.width-o,n.height-c),u=Mre(Gc(e.styles.backgroundRepeat,t),d,i,n,s),h=Math.round(n.left+d[0]),m=Math.round(n.top+d[1]);return[u,h,m,o,c]},Mc=function(e){return Ut(e)&&e.value===nA.AUTO},gm=function(e){return typeof e=="number"},Rre=function(e,t,r){var n=t[0],s=t[1],i=t[2],o=e[0],c=e[1];if(!o)return[0,0];if(vr(o)&&c&&vr(c))return[Vt(o,r.width),Vt(c,r.height)];var d=gm(i);if(Ut(o)&&(o.value===nA.CONTAIN||o.value===nA.COVER)){if(gm(i)){var u=r.width/r.height;return u<i!=(o.value===nA.COVER)?[r.width,r.width/i]:[r.height*i,r.height]}return[r.width,r.height]}var h=gm(n),m=gm(s),p=h||m;if(Mc(o)&&(!c||Mc(c))){if(h&&m)return[n,s];if(!d&&!p)return[r.width,r.height];if(p&&d){var x=h?n:s*i,w=m?s:n/i;return[x,w]}var g=h?n:r.width,b=m?s:r.height;return[g,b]}if(d){var v=0,N=0;return vr(o)?v=Vt(o,r.width):vr(c)&&(N=Vt(c,r.height)),Mc(o)?v=N*i:(!c||Mc(c))&&(N=v/i),[v,N]}var F=null,S=null;if(vr(o)?F=Vt(o,r.width):c&&vr(c)&&(S=Vt(c,r.height)),F!==null&&(!c||Mc(c))&&(S=h&&m?F/n*s:r.height),S!==null&&Mc(o)&&(F=h&&m?S/s*n:r.width),F!==null&&S!==null)return[F,S];throw new Error("Unable to calculate background-size for element")},Gc=function(e,t){var r=e[t];return typeof r>"u"?e[0]:r},Mre=function(e,t,r,n,s){var i=t[0],o=t[1],c=r[0],d=r[1];switch(e){case 2:return[new Oe(Math.round(n.left),Math.round(n.top+o)),new Oe(Math.round(n.left+n.width),Math.round(n.top+o)),new Oe(Math.round(n.left+n.width),Math.round(d+n.top+o)),new Oe(Math.round(n.left),Math.round(d+n.top+o))];case 3:return[new Oe(Math.round(n.left+i),Math.round(n.top)),new Oe(Math.round(n.left+i+c),Math.round(n.top)),new Oe(Math.round(n.left+i+c),Math.round(n.height+n.top)),new Oe(Math.round(n.left+i),Math.round(n.height+n.top))];case 1:return[new Oe(Math.round(n.left+i),Math.round(n.top+o)),new Oe(Math.round(n.left+i+c),Math.round(n.top+o)),new Oe(Math.round(n.left+i+c),Math.round(n.top+o+d)),new Oe(Math.round(n.left+i),Math.round(n.top+o+d))];default:return[new Oe(Math.round(s.left),Math.round(s.top)),new Oe(Math.round(s.left+s.width),Math.round(s.top)),new Oe(Math.round(s.left+s.width),Math.round(s.height+s.top)),new Oe(Math.round(s.left),Math.round(s.height+s.top))]}},Qre="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",dj="Hidden Text",Ore=(function(){function e(t){this._data={},this._document=t}return e.prototype.parseMetrics=function(t,r){var n=this._document.createElement("div"),s=this._document.createElement("img"),i=this._document.createElement("span"),o=this._document.body;n.style.visibility="hidden",n.style.fontFamily=t,n.style.fontSize=r,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",o.appendChild(n),s.src=Qre,s.width=1,s.height=1,s.style.margin="0",s.style.padding="0",s.style.verticalAlign="baseline",i.style.fontFamily=t,i.style.fontSize=r,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(dj)),n.appendChild(i),n.appendChild(s);var c=s.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode(dj)),n.style.lineHeight="normal",s.style.verticalAlign="super";var d=s.offsetTop-n.offsetTop+2;return o.removeChild(n),{baseline:c,middle:d}},e.prototype.getMetrics=function(t,r){var n=t+" "+r;return typeof this._data[n]>"u"&&(this._data[n]=this.parseMetrics(t,r)),this._data[n]},e})(),B_=(function(){function e(t,r){this.context=t,this.options=r}return e})(),Hre=1e4,Vre=(function(e){os(t,e);function t(r,n){var s=e.call(this,r,n)||this;return s._activeEffects=[],s.canvas=n.canvas?n.canvas:document.createElement("canvas"),s.ctx=s.canvas.getContext("2d"),n.canvas||(s.canvas.width=Math.floor(n.width*n.scale),s.canvas.height=Math.floor(n.height*n.scale),s.canvas.style.width=n.width+"px",s.canvas.style.height=n.height+"px"),s.fontMetrics=new Ore(document),s.ctx.scale(s.options.scale,s.options.scale),s.ctx.translate(-n.x,-n.y),s.ctx.textBaseline="bottom",s._activeEffects=[],s.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),s}return t.prototype.applyEffects=function(r){for(var n=this;this._activeEffects.length;)this.popEffect();r.forEach(function(s){return n.applyEffect(s)})},t.prototype.applyEffect=function(r){this.ctx.save(),Tre(r)&&(this.ctx.globalAlpha=r.opacity),Ere(r)&&(this.ctx.translate(r.offsetX,r.offsetY),this.ctx.transform(r.matrix[0],r.matrix[1],r.matrix[2],r.matrix[3],r.matrix[4],r.matrix[5]),this.ctx.translate(-r.offsetX,-r.offsetY)),y_(r)&&(this.path(r.path),this.ctx.clip()),this._activeEffects.push(r)},t.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore(
vendor: 9,445 bytes, line 854
854)},t.prototype.renderStack=function(r){return Cn(this,void 0,void 0,function(){var n;return hn(this,function(s){switch(s.label){case 0:return n=r.element.container.styles,n.isVisible()?[4,this.renderStackContent(r)]:[3,2];case 1:s.sent(),s.label=2;case 2:return[2]}})})},t.prototype.renderNode=function(r){return Cn(this,void 0,void 0,function(){return hn(this,function(n){switch(n.label){case 0:if(_r(r.container.flags,16))debugger;return r.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(r)]:[3,3];case 1:return n.sent(),[4,this.renderNodeContent(r)];case 2:n.sent(),n.label=3;case 3:return[2]}})})},t.prototype.renderTextWithLetterSpacing=function(r,n,s){var i=this;if(n===0)this.ctx.fillText(r.text,r.bounds.left,r.bounds.top+s);else{var o=ev(r.text);o.reduce(function(c,d){return i.ctx.fillText(d,c,r.bounds.top+s),c+i.ctx.measureText(d).width},r.bounds.left)}},t.prototype.createFontStyle=function(r){var n=r.fontVariant.filter(function(o){return o==="normal"||o==="small-caps"}).join(""),s=Jre(r.fontFamily).join(", "),i=uh(r.fontSize)?""+r.fontSize.number+r.fontSize.unit:r.fontSize.number+"px";return[[r.fontStyle,n,r.fontWeight,i,s].join(" "),s,i]},t.prototype.renderTextNode=function(r,n){return Cn(this,void 0,void 0,function(){var s,i,o,c,d,u,h,m,p=this;return hn(this,function(x){return s=this.createFontStyle(n),i=s[0],o=s[1],c=s[2],this.ctx.font=i,this.ctx.direction=n.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",d=this.fontMetrics.getMetrics(o,c),u=d.baseline,h=d.middle,m=n.paintOrder,r.textBounds.forEach(function(w){m.forEach(function(g){switch(g){case 0:p.ctx.fillStyle=Mr(n.color),p.renderTextWithLetterSpacing(w,n.letterSpacing,u);var b=n.textShadow;b.length&&w.text.trim().length&&(b.slice(0).reverse().forEach(function(v){p.ctx.shadowColor=Mr(v.color),p.ctx.shadowOffsetX=v.offsetX.number*p.options.scale,p.ctx.shadowOffsetY=v.offsetY.number*p.options.scale,p.ctx.shadowBlur=v.blur.number,p.renderTextWithLetterSpacing(w,n.letterSpacing,u)}),p.ctx.shadowColor="",p.ctx.shadowOffsetX=0,p.ctx.shadowOffsetY=0,p.ctx.shadowBlur=0),n.textDecorationLine.length&&(p.ctx.fillStyle=Mr(n.textDecorationColor||n.color),n.textDecorationLine.forEach(function(v){switch(v){case 1:p.ctx.fillRect(w.bounds.left,Math.round(w.bounds.top+u),w.bounds.width,1);break;case 2:p.ctx.fillRect(w.bounds.left,Math.round(w.bounds.top),w.bounds.width,1);break;case 3:p.ctx.fillRect(w.bounds.left,Math.ceil(w.bounds.top+h),w.bounds.width,1);break}}));break;case 1:n.webkitTextStrokeWidth&&w.text.trim().length&&(p.ctx.strokeStyle=Mr(n.webkitTextStrokeColor),p.ctx.lineWidth=n.webkitTextStrokeWidth,p.ctx.lineJoin=window.chrome?"miter":"round",p.ctx.strokeText(w.text,w.bounds.left,w.bounds.top+u)),p.ctx.strokeStyle="",p.ctx.lineWidth=0,p.ctx.lineJoin="miter";break}})}),[2]})})},t.prototype.renderReplacedElement=function(r,n,s){if(s&&r.intrinsicWidth>0&&r.intrinsicHeight>0){var i=Np(r),o=Bp(n);this.path(o),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(s,0,0,r.intrinsicWidth,r.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(r){return Cn(this,void 0,void 0,function(){var n,s,i,o,c,d,N,N,u,h,m,p,S,x,w,E,g,b,v,N,F,S,E;return hn(this,function(D){switch(D.label){case 0:this.applyEffects(r.getEffects(4)),n=r.container,s=r.curves,i=n.styles,o=0,c=n.textNodes,D.label=1;case 1:return o<c.length?(d=c[o],[4,this.renderTextNode(d,i)]):[3,4];case 2:D.sent(),D.label=3;case 3:return o++,[3,1];case 4:if(!(n instanceof r_))return[3,8];D.label=5;case 5:return D.trys.push([5,7,,8]),[4,this.context.cache.match(n.src)];case 6:return N=D.sent(),this.renderReplacedElement(n,s,N),[3,8];case 7:return D.sent(),this.context.logger.error("Error loading image "+n.src),[3,8];case 8:if(n instanceof n_&&this.renderReplacedElement(n,s,n.canvas),!(n instanceof a_))return[3,12];D.label=9;case 9:return D.trys.push([9,11,,12]),[4,this.context.cache.match(n.svg)];case 10:return N=D.sent(),this.renderReplacedElement(n,s,N),[3,12];case 11:return D.sent(),this.context.logger.error("Error loading svg "+n.svg.substring(0,255)),[3,12];case 12:return n instanceof l_&&n.tree?(u=new t(this.context,{scale:this.options.scale,backgroundColor:n.backgroundColor,x:0,y:0,width:n.width,height:n.height}),[4,u.render(n.tree)]):[3,14];case 13:h=D.sent(),n.width&&n.height&&this.ctx.drawImage(h,0,0,n.width,n.height,n.bounds.left,n.bounds.top,n.bounds.width,n.bounds.height),D.label=14;case 14:if(n instanceof tv&&(m=Math.min(n.bounds.width,n.bounds.height),n.type===yp?n.checked&&(this.ctx.save(),this.path([new Oe(n.bounds.left+m*.39363,n.bounds.top+m*.79),new Oe(n.bounds.left+m*.16,n.bounds.top+m*.5549),new Oe(n.bounds.left+m*.27347,n.bounds.top+m*.44071),new Oe(n.bounds.left+m*.39694,n.bounds.top+m*.5649),new Oe(n.bounds.left+m*.72983,n.bounds.top+m*.23),new Oe(n.bounds.left+m*.84,n.bounds.top+m*.34085),new Oe(n.bounds.left+m*.39363,n.bounds.top+m*.79)]),this.ctx.fillStyle=Mr(XF),this.ctx.fill(),this.ctx.restore()):n.type===bp&&n.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(n.bounds.left+m/2,n.bounds.top+m/2,m/4,0,Math.PI*2,!0),this.ctx.fillStyle=Mr(XF),this.ctx.fill(),this.ctx.restore())),Kre(n)&&n.value.length){switch(p=this.createFontStyle(i),S=p[0],x=p[1],w=this.fontMetrics.getMetrics(S,x).baseline,this.ctx.font=S,this.ctx.fillStyle=Mr(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Wre(n.styles.textAlign),E=Np(n),g=0,n.styles.textAlign){case 1:g+=E.width/2;break;case 2:g+=E.width;break}b=E.add(g,0,0,-E.height/2+1),this.ctx.save(),this.path([new Oe(E.left,E.top),new Oe(E.left+E.width,E.top),new Oe(E.left+E.width,E.top+E.height),new Oe(E.left,E.top+E.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new fu(n.value,b),i.letterSpacing,w),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!_r(n.styles.display,2048))return[3,20];if(n.styles.listStyleImage===null)return[3,19];if(v=n.styles.listStyleImage,v.type!==0)return[3,18];N=void 0,F=v.url,D.label=15;case 15:return D.trys.push([15,17,,18]),[4,this.context.cache.match(F)];case 16:return N=D.sent(),this.ctx.drawImage(N,n.bounds.left-(N.width+10),n.bounds.top),[3,18];case 17:return D.sent(),this.context.logger.error("Error loading list-style-image "+F),[3,18];case 18:return[3,20];case 19:r.listValue&&n.styles.listStyleType!==-1&&(S=this.createFontStyle(i)[0],this.ctx.font=S,this.ctx.fillStyle=Mr(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",E=new hi(n.bounds.left,n.bounds.top+Vt(n.styles.paddingTop,n.bounds.width),n.bounds.width,IF(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new fu(r.listValue,E),i.letterSpacing,IF(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),D.label=20;case 20:return[2]}})})},t.prototype.renderStackContent=function(r){return Cn(this,void 0,void 0,function(){var n,s,v,i,o,v,c,d,v,u,h,v,m,p,v,x,w,v,g,b,v;return hn(this,function(N){switch(N.label){case 0:if(_r(r.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(r.element)];case 1:N.sent(),n=0,s=r.negativeZIndex,N.label=2;case 2:return n<s.length?(v=s[n],[4,this.renderStack(v)]):[3,5];case 3:N.sent(),N.label=4;case 4:return n++,[3,2];case 5:return[4,this.renderNodeContent(r.element)];case 6:N.sent(),i=0,o=r.nonInlineLevel,N.label=7;case 7:return i<o.length?(v=o[i],[4,this.renderNode(v)]):[3,10];case 8:N.sent(),N.label=9;case 9:return i++,[3,7];case 10:c=0,d=r.nonPositionedFloats,N.label=11;case 11:return c<d.length?(v=d[c],[4,this.renderStack(v)]):[3,14];case 12:N.sent(),N.label=13;case 13:return c++,[3,11];case 14:u=0,h=r.nonPositionedInlineLevel,N.label=15;case 15:return u<h.length?(v=h[u],[4,this.renderStack(v)]):[3,18];case 16:N.sent(),N.label=17;case 17:return u++,[3,15];case 18:m=0,p=r.inlineLevel,N.label=19;case 19:return m<p.length?(v=p[m],[4,this.renderNode(v)]):[3,22];case 20:N.sent(),N.label=21;case 21:return m++,[3,19];case 22:x=0,w=r.zeroOrAutoZIndexOrTransformedOrOpacity,N.label=23;case 23:return x<w.length?(v=w[x],[4,this.renderStack(v)]):[3,26];case 24:N.sent(),N.label=25;case 25:return x++,[3,23];case 26:g=0,b=r.positiveZIndex,N.label=27;case 27:return g<b.length?(v=b[g],[4,this.renderStack(v)]):[3,30];case 28:N.sent(),N.label=29;case 29:return g++,[3,27];case 30:return[2]}})})},t.prototype.mask=function(r){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(r.slice(0).reverse()),this.ctx.closePath()},t.prototype.path=function(r){this.ctx.beginPath(),this.formatPath(r),this.ctx.closePath()},t.prototype.formatPath=function(r){var n=this;r.forEach(function(s,i){var o=_a(s)?s.start:s;i===0?n.ctx.moveTo(o.x,o.y):n.ctx.lineTo(o.x,o.y),_a(s)&&n.ctx.bezierCurveTo(s.startControl.x,s.startControl.y,s.endControl.x,s.endControl.y,s.end.x,s.end.y)})},t.prototype.renderRepeat=function(r,n,s,i){this.path(r),this.ctx.fillStyle=n,this.ctx.translate(s,i),this.ctx.fill(),this.ctx.translate(-s,-i)},t.prototype.resizeImage=function(r,n,s){var i;if(r.width===n&&r.height===s)return r;var o=(i=this.canvas.ownerDocument)!==null&&i!==void 0?i:document,c=o.createElement("canvas");c.width=Math.max(1,n),c.height=Math.max(1,s);var d=c.getContext("2d");return d.drawImage(r,0,0,r.width,r.height,0,0,n,s),c}
vendor: 5,841 bytes, line 854
854,t.prototype.renderBackgroundImage=function(r){return Cn(this,void 0,void 0,function(){var n,s,i,o,c,d;return hn(this,function(u){switch(u.label){case 0:n=r.styles.backgroundImage.length-1,s=function(h){var m,p,x,Y,ne,re,W,ce,k,w,Y,ne,re,W,ce,g,b,v,N,F,S,E,D,T,k,I,Y,ee,ie,W,ce,we,ne,re,X,de,ae,q,L,J,Q,O;return hn(this,function(G){switch(G.label){case 0:if(h.type!==0)return[3,5];m=void 0,p=h.url,G.label=1;case 1:return G.trys.push([1,3,,4]),[4,i.context.cache.match(p)];case 2:return m=G.sent(),[3,4];case 3:return G.sent(),i.context.logger.error("Error loading background-image "+p),[3,4];case 4:return m&&(x=ky(r,n,[m.width,m.height,m.width/m.height]),Y=x[0],ne=x[1],re=x[2],W=x[3],ce=x[4],k=i.ctx.createPattern(i.resizeImage(m,W,ce),"repeat"),i.renderRepeat(Y,k,ne,re)),[3,6];case 5:EZ(h)?(w=ky(r,n,[null,null,null]),Y=w[0],ne=w[1],re=w[2],W=w[3],ce=w[4],g=BZ(h.angle,W,ce),b=g[0],v=g[1],N=g[2],F=g[3],S=g[4],E=document.createElement("canvas"),E.width=W,E.height=ce,D=E.getContext("2d"),T=D.createLinearGradient(v,F,N,S),DF(h.stops,b).forEach(function(le){return T.addColorStop(le.stop,Mr(le.color))}),D.fillStyle=T,D.fillRect(0,0,W,ce),W>0&&ce>0&&(k=i.ctx.createPattern(E,"repeat"),i.renderRepeat(Y,k,ne,re))):TZ(h)&&(I=ky(r,n,[null,null,null]),Y=I[0],ee=I[1],ie=I[2],W=I[3],ce=I[4],we=h.position.length===0?[Y1]:h.position,ne=Vt(we[0],W),re=Vt(we[we.length-1],ce),X=NZ(h,ne,re,W,ce),de=X[0],ae=X[1],de>0&&ae>0&&(q=i.ctx.createRadialGradient(ee+ne,ie+re,0,ee+ne,ie+re,de),DF(h.stops,de*2).forEach(function(le){return q.addColorStop(le.stop,Mr(le.color))}),i.path(Y),i.ctx.fillStyle=q,de!==ae?(L=r.bounds.left+.5*r.bounds.width,J=r.bounds.top+.5*r.bounds.height,Q=ae/de,O=1/Q,i.ctx.save(),i.ctx.translate(L,J),i.ctx.transform(1,0,0,Q,0,0),i.ctx.translate(-L,-J),i.ctx.fillRect(ee,O*(ie-J)+J,W,ce*O),i.ctx.restore()):i.ctx.fill())),G.label=6;case 6:return n--,[2]}})},i=this,o=0,c=r.styles.backgroundImage.slice(0).reverse(),u.label=1;case 1:return o<c.length?(d=c[o],[5,s(d)]):[3,4];case 2:u.sent(),u.label=3;case 3:return o++,[3,1];case 4:return[2]}})})},t.prototype.renderSolidBorder=function(r,n,s){return Cn(this,void 0,void 0,function(){return hn(this,function(i){return this.path(Aj(s,n)),this.ctx.fillStyle=Mr(r),this.ctx.fill(),[2]})})},t.prototype.renderDoubleBorder=function(r,n,s,i){return Cn(this,void 0,void 0,function(){var o,c;return hn(this,function(d){switch(d.label){case 0:return n<3?[4,this.renderSolidBorder(r,s,i)]:[3,2];case 1:return d.sent(),[2];case 2:return o=Dre(i,s),this.path(o),this.ctx.fillStyle=Mr(r),this.ctx.fill(),c=Ure(i,s),this.path(c),this.ctx.fill(),[2]}})})},t.prototype.renderNodeBackgroundAndBorders=function(r){return Cn(this,void 0,void 0,function(){var n,s,i,o,c,d,u,h,m=this;return hn(this,function(p){switch(p.label){case 0:return this.applyEffects(r.getEffects(2)),n=r.container.styles,s=!bo(n.backgroundColor)||n.backgroundImage.length,i=[{style:n.borderTopStyle,color:n.borderTopColor,width:n.borderTopWidth},{style:n.borderRightStyle,color:n.borderRightColor,width:n.borderRightWidth},{style:n.borderBottomStyle,color:n.borderBottomColor,width:n.borderBottomWidth},{style:n.borderLeftStyle,color:n.borderLeftColor,width:n.borderLeftWidth}],o=Gre(Gc(n.backgroundClip,0),r.curves),s||n.boxShadow.length?(this.ctx.save(),this.path(o),this.ctx.clip(),bo(n.backgroundColor)||(this.ctx.fillStyle=Mr(n.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(r.container)]):[3,2];case 1:p.sent(),this.ctx.restore(),n.boxShadow.slice(0).reverse().forEach(function(x){m.ctx.save();var w=Cp(r.curves),g=x.inset?0:Hre,b=kre(w,-g+(x.inset?1:-1)*x.spread.number,(x.inset?1:-1)*x.spread.number,x.spread.number*(x.inset?-2:2),x.spread.number*(x.inset?-2:2));x.inset?(m.path(w),m.ctx.clip(),m.mask(b)):(m.mask(w),m.ctx.clip(),m.path(b)),m.ctx.shadowOffsetX=x.offsetX.number+g,m.ctx.shadowOffsetY=x.offsetY.number,m.ctx.shadowColor=Mr(x.color),m.ctx.shadowBlur=x.blur.number,m.ctx.fillStyle=x.inset?Mr(x.color):"rgba(0,0,0,1)",m.ctx.fill(),m.ctx.restore()}),p.label=2;case 2:c=0,d=0,u=i,p.label=3;case 3:return d<u.length?(h=u[d],h.style!==0&&!bo(h.color)&&h.width>0?h.style!==2?[3,5]:[4,this.renderDashedDottedBorder(h.color,h.width,c,r.curves,2)]:[3,11]):[3,13];case 4:return p.sent(),[3,11];case 5:return h.style!==3?[3,7]:[4,this.renderDashedDottedBorder(h.color,h.width,c,r.curves,3)];case 6:return p.sent(),[3,11];case 7:return h.style!==4?[3,9]:[4,this.renderDoubleBorder(h.color,h.width,c,r.curves)];case 8:return p.sent(),[3,11];case 9:return[4,this.renderSolidBorder(h.color,c,r.curves)];case 10:p.sent(),p.label=11;case 11:c++,p.label=12;case 12:return d++,[3,3];case 13:return[2]}})})},t.prototype.renderDashedDottedBorder=function(r,n,s,i,o){return Cn(this,void 0,void 0,function(){var c,d,u,h,m,p,x,w,g,b,v,N,F,S,E,D,E,D;return hn(this,function(T){return this.ctx.save(),c=Ire(i,s),d=Aj(i,s),o===2&&(this.path(d),this.ctx.clip()),_a(d[0])?(u=d[0].start.x,h=d[0].start.y):(u=d[0].x,h=d[0].y),_a(d[1])?(m=d[1].end.x,p=d[1].end.y):(m=d[1].x,p=d[1].y),s===0||s===2?x=Math.abs(u-m):x=Math.abs(h-p),this.ctx.beginPath(),o===3?this.formatPath(c):this.formatPath(d.slice(0,2)),w=n<3?n*3:n*2,g=n<3?n*2:n,o===3&&(w=n,g=n),b=!0,x<=w*2?b=!1:x<=w*2+g?(v=x/(2*w+g),w*=v,g*=v):(N=Math.floor((x+g)/(w+g)),F=(x-N*w)/(N-1),S=(x-(N+1)*w)/N,g=S<=0||Math.abs(g-F)<Math.abs(g-S)?F:S),b&&(o===3?this.ctx.setLineDash([0,w+g]):this.ctx.setLineDash([w,g])),o===3?(this.ctx.lineCap="round",this.ctx.lineWidth=n):this.ctx.lineWidth=n*2+1.1,this.ctx.strokeStyle=Mr(r),this.ctx.stroke(),this.ctx.setLineDash([]),o===2&&(_a(d[0])&&(E=d[3],D=d[0],this.ctx.beginPath(),this.formatPath([new Oe(E.end.x,E.end.y),new Oe(D.start.x,D.start.y)]),this.ctx.stroke()),_a(d[1])&&(E=d[1],D=d[2],this.ctx.beginPath(),this.formatPath([new Oe(E.end.x,E.end.y),new Oe(D.start.x,D.start.y)]),this.ctx.stroke())),this.ctx.restore(
vendor: 4,189 bytes, line 854
854),[2]})})},t.prototype.render=function(r){return Cn(this,void 0,void 0,function(){var n;return hn(this,function(s){switch(s.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Mr(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),n=_re(r),[4,this.renderStack(n)];case 1:return s.sent(),this.applyEffects([]),[2,this.canvas]}})})},t})(B_),Kre=function(e){return e instanceof o_||e instanceof i_?!0:e instanceof tv&&e.type!==bp&&e.type!==yp},Gre=function(e,t){switch(e){case 0:return Cp(t);case 2:return Fre(t);case 1:default:return Bp(t)}},Wre=function(e){switch(e){case 1:return"center";case 2:return"right";case 0:default:return"left"}},zre=["-apple-system","system-ui"],Jre=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(t){return zre.indexOf(t)===-1}):e},qre=(function(e){os(t,e);function t(r,n){var s=e.call(this,r,n)||this;return s.canvas=n.canvas?n.canvas:document.createElement("canvas"),s.ctx=s.canvas.getContext("2d"),s.options=n,s.canvas.width=Math.floor(n.width*n.scale),s.canvas.height=Math.floor(n.height*n.scale),s.canvas.style.width=n.width+"px",s.canvas.style.height=n.height+"px",s.ctx.scale(s.options.scale,s.options.scale),s.ctx.translate(-n.x,-n.y),s.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),s}return t.prototype.render=function(r){return Cn(this,void 0,void 0,function(){var n,s;return hn(this,function(i){switch(i.label){case 0:return n=pw(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,r),[4,$re(n)];case 1:return s=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Mr(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(s,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},t})(B_),$re=function(e){return new Promise(function(t,r){var n=new Image;n.onload=function(){t(n)},n.onerror=r,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},Yre=(function(){function e(t){var r=t.id,n=t.enabled;this.id=r,this.enabled=n,this.start=Date.now()}return e.prototype.debug=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,qf([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,qf([this.id,this.getTime()+"ms"],t))},e.prototype.warn=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,qf([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},e.prototype.error=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,qf([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},e.instances={},e})(),Xre=(function(){function e(t,r){var n;this.windowBounds=r,this.instanceName="#"+e.instanceCount++,this.logger=new Yre({id:this.instanceName,enabled:t.logging}),this.cache=(n=t.cache)!==null&&n!==void 0?n:new xre(this,t)}return e.instanceCount=1,e})(),uj=function(e,t){return t===void 0&&(t={}),Zre(e,t)};typeof window<"u"&&x_.setContext(window);var Zre=function(e,t){return Cn(void 0,void 0,void 0,function(){var r,n,s,i,o,c,d,u,h,m,p,x,w,g,b,v,N,F,S,E,T,D,T,k,I,Y,ee,ie,W,ce,we,ne,re,X,de,ae,q,L,J,Q;return hn(this,function(O){switch(O.label){case 0:if(!e||typeof e!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(r=e.ownerDocument,!r)throw new Error("Element is not attached to a Document");
854if(n=r.defaultView,!n)throw new Error("Document is not attached to a Window");return s={allowTaint:(k=t.allowTaint)!==null&&k!==void 0?k:!1,imageTimeout:(I=t.imageTimeout)!==null&&I!==void 0?I:15e3,proxy:t.proxy,useCORS:(Y=t.useCORS)!==null&&Y!==void 0?Y:!1},i=tw({logging:(ee=t.logging)!==null&&ee!==void 0?ee:!0,cache:t.cache},s),o={windowWidth:(ie=t.windowWidth)!==null&&ie!==void 0?ie:n.innerWidth,windowHeight:(W=t.windowHeight)!==null&&W!==void 0?W:n.innerHeight,scrollX:(ce=t.scrollX)!==null&&ce!==void 0?ce:n.pageXOffset,scrollY:(we=t.scrollY)!==null&&we!==void 0?we:n.pageYOffset},c=new hi(o.scrollX,o.scrollY,o.windowWidth,o.windowHeight),d=new Xre(i,c),u=(ne=t.foreignObjectRendering)!==null&&ne!==void 0?ne:!1,h={allowTaint:(re=t.allowTaint)!==null&&re!==void 0?re:!1,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:u,copyStyles:u},d.logger.debug("Starting document clone with size "+c.width+"x"+c.height+" scrolled to "+-c.left+","+-c.top),m=new oj(d,e,h),p=m.clonedReferenceElement,p?[4,m.toIFrame(r,c)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return x=O.sent(),w=rv(p)||tre(p)?kY(p.ownerDocument):g0(d,p),g=w.width,b=w.height,v=w.left,N=w.top,F=ene(d,p,t.backgroundColor),S={canvas:t.canvas,backgroundColor:F,scale:(de=(X=t.scale)!==null&&X!==void 0?X:n.devicePixelRatio)!==null&&de!==void 0?de:1,x:((ae=t.x)!==null&&ae!==void 0?ae:0)+v,y:((q=t.y)!==null&&q!==void 0?q:0)+N,width:(L=t.width)!==null&&L!==void 0?L:Math.ceil(g),height:(J=t.height)!==null&&J!==void 0?J:Math.ceil(b)},u?(d.logger.debug("Document cloned, using foreign object rendering"),T=new qre(d,S),[4,T.render(p)]):[3,3];case 2:return E=O.sent(),[3,5];case 3:return d.logger.debug("Document cloned, element located at "+v+","+N+" with size "+g+"x"+b+" using computed rendering"),d.logger.debug("Starting DOM parsing"),D=A_(d,p),F===D.styles.backgroundColor&&(D.styles.backgroundColor=ni.TRANSPARENT),d.logger.debug("Starting renderer for element at "+S.x+","+S.y+" with size "+S.width+"x"+S.height),T=new Vre(d,S),[4,T.render(D)];case 4:E=O.sent(),O.label=5;case 5:return(!((Q=t.removeContainer)!==null&&Q!==void 0)||Q)&&(oj.destroy(x)||d.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),d.logger.debug("Finished rendering"),[2,E]}})})},ene=function(e,t,r){var n=t.ownerDocument,s=n.documentElement?uu(e,getComputedStyle(n.documentElement).backgroundColor):ni.TRANSPARENT,i=n.body?uu(e,getComputedStyle(n.body).backgroundColor):ni.TRANSPARENT,o=typeof r=="string"?uu(e,r):r===null?ni.TRANSPARENT:4294967295;return t===n.documentElement?bo(s)?bo(i)?o:i:s:o};function tne(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}Array(12).fill(0);let Cw=1;class rne{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const r=this.subscribers.indexOf(t);this.subscribers.splice(r,1)}),this.publish=t=>{this.subscribers.forEach(r=>r(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var r;const{message:n,...s}=t,i=typeof(t==null?void 0:t.id)=="number"||((r=t.id)==null?void 0:r.length)>0?t.id:Cw++,o=this.toasts.find(d=>d.id===i),c=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(d=>d.id===i?(this.publish({...d,...t,id:i,title:n}),{...d,...t,id:i,dismissible:c,title:n}):d):this.addToast({title:n,...s,dismissible:c,id:i}),i},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(r=>r({id:t,dismiss:!0})))):this.toasts.forEach(r=>{this.subscribers.forEach(n=>n({id:r.id,dismiss:!0}))}),t),this.message=(t,r)=>this.create({...r,message:t}),this.error=(t,r)=>this.create({...r,message:t,type:"error"}),this.success=(t,r)=>this.create({...r,type:"success",message:t}),this.info=(t,r)=>this.create({...r,type:"info",message:t}),this.warning=(t,r)=>this.create({...r,type:"warning",message:t}),this.loading=(t,r)=>this.create({...r,type:"loading",message:t}),this.promise=(t,r)=>{if(!r)return;let n;r.loading!==void 0&&(n=this.create({...r,promise:t,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));const s=Promise.resolve(t instanceof Function?t():t);let i=n!==void 0,o;const c=s.then(async u=>
vendor: 2,261 bytes, line 854
854{if(o=["resolve",u],Pt.isValidElement(u))i=!1,this.create({id:n,type:"default",message:u});else if(ane(u)&&!u.ok){i=!1;const m=typeof r.error=="function"?await r.error(`HTTP error! status: ${u.status}`):r.error,p=typeof r.description=="function"?await r.description(`HTTP error! status: ${u.status}`):r.description,w=typeof m=="object"&&!Pt.isValidElement(m)?m:{message:m};this.create({id:n,type:"error",description:p,...w})}else if(u instanceof Error){i=!1;const m=typeof r.error=="function"?await r.error(u):r.error,p=typeof r.description=="function"?await r.description(u):r.description,w=typeof m=="object"&&!Pt.isValidElement(m)?m:{message:m};this.create({id:n,type:"error",description:p,...w})}else if(r.success!==void 0){i=!1;const m=typeof r.success=="function"?await r.success(u):r.success,p=typeof r.description=="function"?await r.description(u):r.description,w=typeof m=="object"&&!Pt.isValidElement(m)?m:{message:m};this.create({id:n,type:"success",description:p,...w})}}).catch(async u=>{if(o=["reject",u],r.error!==void 0){i=!1;const h=typeof r.error=="function"?await r.error(u):r.error,m=typeof r.description=="function"?await r.description(u):r.description,x=typeof h=="object"&&!Pt.isValidElement(h)?h:{message:h};this.create({id:n,type:"error",description:m,...x})}}).finally(()=>{i&&(this.dismiss(n),n=void 0),r.finally==null||r.finally.call(r)}),d=()=>new Promise((u,h)=>c.then(()=>o[0]==="reject"?h(o[1]):u(o[1])).catch(h));return typeof n!="string"&&typeof n!="number"?{unwrap:d}:Object.assign(n,{unwrap:d})},this.custom=(t,r)=>{const n=(r==null?void 0:r.id)||Cw++;return this.create({jsx:t(n),id:n,...r}),n},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const ja=new rne,nne=(e,t)=>{const r=(t==null?void 0:t.id)||Cw++;return ja.addToast({title:e,...t,id:r}),r},ane=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",sne=nne,ine=()=>ja.toasts,one=()=>ja.getActiveToasts(),xm=Object.assign(sne,{success:ja.success,info:ja.info,warning:ja.warning,error:ja.error,custom:ja.custom,message:ja.message,promise:ja.promise,dismiss:ja.dismiss,loading:ja.loading},{getHistory:ine,getToasts:one});tn
vendor: 14,874 bytes, line 854
854e("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function
854N_({winner:e,index:t=0}){const r=B.useRef(null),[n,s]=B.useState(!1),i=async()=>{s(!0);try{const c=r.current;if(!c)return;const u=(await uj(c,{backgroundColor:null,scale:2,logging:!1})).toDataURL("image/png"),m=await(await fetch(u)).blob(),p=new ClipboardItem({"image/png":m});await navigator.clipboard.write([p]),xm.success("Shared card copied! Ready to post.")}catch{xm.error("Failed to copy card")}finally{s(!1)}},o=async()=>{s(!0);try{const c=r.current;if(!c)return;const d=await uj(c,{backgroundColor:null,scale:2,logging:!1}),u=document.createElement("a");u.href=d.toDataURL("image/png"),u.download=`NFA-Winner-${e.year}-${e.person_name||e.title}.png`,u.click(),xm.success("Card downloaded!")}catch{xm.error("Failed to download card")}finally{s(!1)}};return a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.05},className:"group h-full",children:[a.jsx("div",{className:"fixed -left-[9999px] top-0",children:a.jsx(F_,{ref:r,winner:e})}),a.jsxs("div",{className:"h-full bg-gradient-to-br from-[#1A1A1A] via-[#252525] to-[#1A1A1A] rounded-2xl overflow-hidden border-3 border-[#C9A84C] hover:border-[#D4AF37] hover:shadow-2xl hover:shadow-[#C9A84C]/50 transition-all duration-500 flex flex-col group shadow-xl shadow-[#C9A84C]/20",children:[a.jsxs("div",{className:"bg-gradient-to-br from-[#0A0A0A] via-[#1A1A1A] to-[#0F0F0F] border-b-3 border-[#C9A84C] px-8 py-8 relative overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#C9A84C]/15 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),a.jsxs("div",{className:"relative z-10 flex items-center gap-4",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/d7c3a06ee_nfalogo.png",alt:"NFA",className:"w-16 h-16 object-contain flex-shrink-0"}),a.jsxs("div",{className:"flex-1",children:[a.jsxs("p",{className:"text-[#D4AF37] text-[9px] font-black tracking-[0.4em] uppercase mb-2 flex items-center gap-2",children:[a.jsx("span",{className:"inline-block w-6 h-1 bg-gradient-to-r from-[#C9A84C] to-[#D4AF37]"}),e.category]}),a.jsx("div",{className:"flex items-baseline gap-2",children:a.jsx("span",{className:"font-editorial text-5xl lg:text-6xl font-black bg-gradient-to-r from-[#C9A84C] to-[#D4AF37] bg-clip-text text-transparent leading-none",children:e.year})}),a.jsx("p",{className:"text-[#C9A84C]/70 text-xs font-bold tracking-widest mt-1",children:"WINNER"})]})]})]}),e.image&&a.jsx("div",{className:"w-full h-64 overflow-hidden bg-gradient-to-b from-[#2D2D2D] to-[#1A1A1A]",children:a.jsx("img",{src:e.image,alt:e.person_name||e.title,className:"w-full h-full object-cover object-top"})}),a.jsxs("div",{className:"flex-1 p-8 lg:p-10 flex flex-col justify-between",children:[a.jsxs("div",{className:"mb-8",children:[a.jsx("h3",{className:"font-editorial text-3xl lg:text-4xl font-black text-[#C9A84C] mb-4 leading-tight",children:e.person_name||e.title}),e.title&&e.person_name&&a.jsx("p",{className:"text-[#C9A84C]/70 text-base mb-6 leading-relaxed font-medium",children:e.title}),a.jsxs("div",{className:"space-y-3",children:[e.production_company&&a.jsxs("div",{className:"flex items-start gap-3",children:[a.jsx("div",{className:"w-3 h-3 bg-gradient-to-br from-[#C9A84C] to-[#D4AF37] rounded-full mt-1 flex-shrink-0"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-[#C9A84C]/50 text-xs font-bold uppercase tracking-widest",children:"Production Company"}),a.jsx("p",{className:"text-white/90 font-bold",children:e.production_company})]})]}),e.country&&a.jsxs("div",{className:"flex items-start gap-3",children:[a.jsx("div",{className:"w-3 h-3 bg-gradient-to-br from-[#C9A84C] to-[#D4AF37] rounded-full mt-1 flex-shrink-0"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-[#C9A84C]/50 text-xs font-bold uppercase tracking-widest",children:"Country"}),a.jsx("p",{className:"text-white/90 font-bold",children:e.country})]})]})]})]}),a.jsxs("div",{className:"flex gap-3 mb-6 pt-6 border-t border-[#C9A84C]/20",children:[a.jsx(V.a,{href:`https://facebook.com/sharer/sharer.php?u=${window.location.href}`,target:"_blank",rel:"noopener noreferrer",whileHover:{scale:1.15,y:-2},whileTap:{scale:.9},className:"flex-1 flex items-center justify-center py-3 px-2 rounded-lg bg-gradient-to-br from-[#1877F2]/30 to-[#1877F2]/10 hover:from-[#1877F2]/50 hover:to-[#1877F2]/30 text-[#1877F2] transition-all border border-[#1877F2]/30 hover:border-[#1877F2]",title:"Share on Facebook",children:a.jsx(kw,{className:"w-5 h-5"})}),a.jsx(V.a,{href:`https://twitter.com/intent/tweet?url=${window.location.href}`,target:"_blank",rel:"noopener noreferrer",whileHover:{scale:1.15,y:-2},whileTap:{scale:.9},className:"flex-1 flex items-center justify-center py-3 px-2 rounded-lg bg-gradient-to-br from-[#1DA1F2]/30 to-[#1DA1F2]/10 hover:from-[#1DA1F2]/50 hover:to-[#1DA1F2]/30 text-[#1DA1F2] transition-all border border-[#1DA1F2]/30 hover:border-[#1DA1F2]",title:"Share on Twitter",children:a.jsx(Uw,{className:"w-5 h-5"})}),a.jsx(V.a,{href:`https://www.linkedin.com/sharing/share-offsite/?url=${window.location.href}`,target:"_blank",rel:"noopener noreferrer",whileHover:{scale:1.15,y:-2},whileTap:{scale:.9},className:"flex-1 flex items-center justify-center py-3 px-2 rounded-lg bg-gradient-to-br from-[#0A66C2]/30 to-[#0A66C2]/10 hover:from-[#0A66C2]/50 hover:to-[#0A66C2]/30 text-[#0A66C2] transition-all border border-[#0A66C2]/30 hover:border-[#0A66C2]",title:"Share on LinkedIn",children:a.jsx(fI,{className:"w-5 h-5"})})]}),a.jsxs("div",{className:"flex gap-3 border-t border-[#C9A84C]/20 pt-6",children:[a.jsxs(V.button,{onClick:i,disabled:n,whileHover:{scale:1.08},whileTap:{scale:.92},className:"flex-1 flex items-center justify-center gap-2 py-4 px-4 roun
854ded-xl bg-gradient-to-br from-[#C9A84C]/40 to-[#D4AF37]/30 hover:from-[#C9A84C]/60 hover:to-[#D4AF37]/50 text-[#0A0A0A] text-sm font-black transition-all disabled:opacity-50 border-2 border-[#C9A84C]",title:"Generate shareable card",children:[a.jsx(YI,{className:"w-5 h-5"}),a.jsx("span",{children:"SHARE"})]}),a.jsxs(V.button,{onClick:o,disabled:n,whileHover:{scale:1.08},whileTap:{scale:.92},className:"flex-1 flex items-center justify-center gap-2 py-4 px-4 rounded-xl bg-gradient-to-br from-white/20 to-white/10 hover:from-white/40 hover:to-white/30 text-white text-sm font-black transition-all disabled:opacity-50 border-2 border-white/30 hover:border-white/50",title:"Download card image",children:[a.jsx(Xu,{className:"w-5 h-5"}),a.jsx("span",{children:"SAVE"})]})]})]})]})]})}const F_=Pt.forwardRef(({winner:e},t)=>a.jsxs("div",{ref:t,className:"w-[600px] h-[800px] bg-gradient-to-br from-[#1A1A1A] via-[#2D2D2D] to-[#1A1A1A] p-8 flex flex-col justify-between relative overflow-hidden",children:[a.jsxs("div",{className:"absolute inset-0 opacity-10",children:[a.jsx("div",{className:"absolute -right-12 -top-12 w-40 h-40 bg-[#C9A84C] rounded-full blur-3xl"}),a.jsx("div",{className:"absolute -left-12 -bottom-12 w-40 h-40 bg-[#C9A84C] rounded-full blur-3xl"})]}),a.jsxs("div",{className:"relative z-10 text-center",children:[a.jsx("div",{className:"inline-block mb-4",children:a.jsx("div",{className:"bg-[#C9A84C] text-[#1A1A1A] px-6 py-2 rounded-full inline-block",children:a.jsx("p",{className:"font-editorial text-3xl font-black",children:"NFA"})})}),a.jsx("p",{className:"text-[#C9A84C] text-xs font-black tracking-[0.2em] uppercase",children:"National Film Awards"})]}),a.jsxs("div",{className:"relative z-10 text-center flex-1 flex flex-col justify-center",children:[a.jsx("p",{className:"text-[#C9A84C] text-sm font-bold tracking-wider uppercase mb-6",children:e.category}),a.jsx("h2",{className:"font-editorial text-5xl font-black text-white mb-6 leading-tight",children:e.person_name||e.title}),e.title&&e.person_name&&a.jsx("p",{className:"text-[#C9A84C] text-lg font-semibold",children:e.title})]}),a.jsxs("div",{className:"relative z-10 text-center",children:[a.jsx("div",{className:"inline-block border-3 border-[#C9A84C] rounded-full px-8 py-5 mb-4",children:a.jsx("p",{className:"font-editorial text-7xl font-black text-[#C9A84C]",children:e.year})}),a.jsx("p",{className:"text-white/60 text-sm font-bold",children:"WINNER"})]}),a.jsx("div",{className:"relative z-10 text-center border-t border-[#C9A84C]/30 pt-6",children:a.jsx("p",{className:"text-white/50 text-xs uppercase tracking-widest font-bold",children:"Celebrating the best in motion pictures"})})]}));F_.displayName="ShareCard";function j_({year:e,images:t}){const[r,n]=B.useState(0),s=()=>{n(o=>(o+1)%t.length)},i=()=>{n(o=>(o-1+t.length)%t.length)};return B.useEffect(()=>{const o=setInterval(s,6e3);return()=>clearInterval(o)},[t.length]),t.length?a.jsxs("section",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsxs("h2",{className:"font-editorial text-3xl lg:text-4xl font-black text-[#1A1A1A] mb-2",children:[e," Event Highlights"]}),a.jsx("div",{className:"h-1 w-20 bg-gradient-to-r from-[#C9A84C] to-transparent rounded-full"})]}),a.jsxs("div",{className:"relative bg-[#1A1A1A] rounded-3xl overflow-hidden aspect-video lg:aspect-[2/1] group",style:{backfaceVisibility:"hidden"},children:[a.jsx(Mt,{mode:"fade",children:a.jsx(V.div,{initial:{opacity:0}
854,animate:{opacity:1},exit:{opacity:0},transition:{duration:.6},className:"absolute inset-0",children:a.jsx("img",{src:t[r].image_url,alt:`Event ${e} - ${t[r].category||""}`,className:"w-full h-full object-contain",style:{backfaceVisibility:"hidden",WebkitFontSmoothing:"antialiased"}})},r)}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#1A1A1A]/60 via-transparent to-transparent"}),t[r].title&&a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"absolute bottom-8 left-8 right-8 z-10",children:[a.jsx("p",{className:"text-white text-lg font-semibold",children:t[r].title}),t[r].category&&a.jsx("p",{className:"text-[#C9A84C] text-sm font-bold mt-2 uppercase tracking-wide",children:t[r].category})]}),t.length>1&&a.jsxs(a.Fragment,{children:[a.jsx(V.button,{onClick:i,whileHover:{scale:1.1,backgroundColor:"rgba(255,255,255,0.3)"},whileTap:{scale:.95},className:"absolute left-6 top-1/2 -translate-y-1/2 z-20 bg-white/20 hover:bg-white/30 text-white p-3 rounded-full transition-colors","aria-label":"Previous image",children:a.jsx(E3,{className:"w-6 h-6"})}),a.jsx(V.button,{onClick:s,whileHover:{scale:1.1,backgroundColor:"rgba(255,255,255,0.3)"},whileTap:{scale:.95},className:"absolute right-6 top-1/2 -translate-y-1/2 z-20 bg-white/20 hover:bg-white/30 text-white p-3 rounded-full transition-colors","aria-label":"Next image",children:a.jsx(es,{className:"w-6 h-6"})})]}),t.length>1&&a.jsx("div",{className:"absolute bottom-6 left-1/2 -translate-x-1/2 z-20 flex gap-3",children:t.map((o,c)=>a.jsx(V.button,{onClick:()=>n(c),whileHover:{scale:1.2},whileTap:{scale:.9},className:`rounded-full transition-all ${c===r?"bg-[#C9A84C] w-8 h-2.5":"bg-white/40 w-2.5 h-2.5 hover:bg-white/60"}`,"aria-label":`Go to slide ${c+1}`},c))})]}),t.length>1&&a.jsx("div",{className:"flex gap-4 overflow-x-auto pb-2",children:t.map((o,c)=>a.jsx(V.button,{onClick:()=>n(c),whileHover:{scale:1.05},whileTap:{scale:.95},className:`flex-shrink-0 rounded-lg overflow-hidden transition-all ${c===r?"ring-2 ring-[#C9A84C]":"opacity-60 hover:opacity-80"}`,children:a.jsx("img",{src:o.image_url,alt:`Thumbnail ${c+1}`,className:"w-20 h-20 object-contain bg-black"})},c))})]}):null}const lne=[2025,2024,2023,2022,2021,2020,2019,2018,2017,2016,2015];
854function cne(){const[e,t]=B.useState(2025),{data:r=[]}=vt({queryKey:["winners"],queryFn:()=>Ce.entities.Winner.list("-year"),initialData:[]}),{data:n=[]}=vt({queryKey:["gallery-images"],queryFn:()=>Ce.entities.GalleryImage.list("-year"),initialData:[]}),s=r.filter(c=>c.year===e),i=n.filter(c=>c.year===e),o=s.reduce((c,d)=>(c[d.category]||(c[d.category]=[]),c[d.category].push(d),c),{});return a.jsxs("div",{className:"min-h-screen relative overflow-hidden bg-gradient-to-br from-[#0A0A0A] via-[#1A1A1A] to-[#0F0F0F]",children:[a.jsxs("div",{className:"fixed inset-0 -z-10",children:[a.jsx("div",{className:"absolute top-0 right-0 w-[500px] h-[500px] bg-gradient-to-bl from-[#C9A84C]/20 to-transparent rounded-full blur-3xl"}),a.jsx("div",{className:"absolute bottom-0 left-0 w-[500px] h-[500px] bg-gradient-to-tr from-[#C9A84C]/15 to-transparent rounded-full blur-3xl"}),a.jsx("div",{className:"absolute top-1/2 left-1/3 w-[400px] h-[400px] bg-gradient-to-br from-[#D4AF37]/10 to-transparent rounded-full blur-3xl opacity-50"})]}),a.jsx("div",{className:"w-full bg-gradient-to-r from-[#C9A84C] via-[#D4AF37] to-[#C9A84C] border-y-2 border-[#C9A84C]/50 py-3 overflow-hidden sticky top-24 lg:top-28 z-40 shadow-2xl shadow-[#C9A84C]/50",children:a.jsxs(V.div,{animate:{x:[-1e3,1e3]},transition:{duration:15,repeat:1/0,ease:"linear"},className:"flex gap-8 whitespace-nowrap text-[#0A0A0A] text-xl lg:text-2xl font-black",children:[a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(Sn,{className:"w-6 h-6"}),"CELEBRATING EXCELLENCE IN FILM & TELEVISION"]}),a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(ut,{className:"w-6 h-6"}),"NATIONAL FILM AWARDS"]}),a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(Sn,{className:"w-6 h-6"}),"CELEBRATING EXCELLENCE IN FILM & TELEVISION"]}),a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(ut,{className:"w-6 h-6"}),"NATIONAL FILM AWARDS"]})]})}),a.jsx("section",{className:"pt-16 lg:pt-20 pb-8 relative",children:a.jsxs("div",{className:"max-w-[1600px] mx-auto px-6 lg:px-12",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-16",children:[a.jsx(V.div,{animate:{scale:[1,1.05,1]},transition:{duration:3,repeat:1/0},className:"w-24 h-24 mx-auto mb-6 bg-gradient-to-br from-[#C9A84C] to-[#D4AF37] rounded-full flex items-center justify-center shadow-2xl shadow-[#C9A84C]/50 border-4 border-[#C9A84C]",children:a.jsx(ut,{className:"w-12 h-12 text-[#0A0A0A]"})}),a.jsx("h1",{className:"font-editorial text-7xl lg:text-8xl font-black bg-gradient-to-r from-[#C9A84C] via-[#D4AF37] to-[#C9A84C] bg-clip-text text-transparent mb-4",children:"PAST EDITIONS"}),a.jsx("div",{className:"h-2 w-48 mx-auto bg-gradient-to-r from-transparent via-[#C9A84C] to-transparent rounded-full mb-6"}),a.jsx("p",{className:"text-[#C9A84C]/80 text-xl max-w-2xl mx-auto font-bold tracking-widest",children:"A DECADE OF CINEMATIC EXCELLENCE"})]}),a.jsx("div",{className:"flex flex-wrap gap-3 justify-center",children:lne.map(c=>a.jsx(V.button,{onClick:()=>t(c),whileHover:{scale:1.1,y:-2},whileTap:{scale:.95},className:`px-6 py-3 rounded-xl font-black text-sm transition-all duration-300 border-2 ${e===c?"bg-gradient-to-br from-[#C9A84C] to-[#D4AF37] text-[#0A0A0A] shadow-xl shadow-[#C9A84C]/50 border-[#C9A84C]":"bg-transparent text-[#C9A84C] hover:bg-[#C9A84C]/10 border-[#C9A84C]/50 hover:border-[#C9A84C]"}`,children:c},c))})]})}),a.jsx("section",{className:"py-8 lg:py-16 relative",children:a.jsx("div",{className:"max-w-6xl mx-auto px-6 lg:px-12",children:a.jsxs(V.div,{initial:{opacity:0}
854,animate:{opacity:1},transition:{duration:.5},className:"space-y-12",children:[i.length>0&&a.jsx(j_,{year:e,images:i}),a.jsxs("div",{children:[a.jsxs("div",{className:"mb-10 text-center",children:[a.jsxs("h2",{className:"font-editorial text-6xl lg:text-7xl font-black bg-gradient-to-r from-[#C9A84C] to-[#D4AF37] bg-clip-text text-transparent mb-3",children:[e," WINNERS"]}),a.jsx("div",{className:"h-2 w-48 mx-auto bg-gradient-to-r from-[#C9A84C] via-[#D4AF37] to-[#C9A84C] rounded-full mb-4"}),a.jsxs("p",{className:"text-[#C9A84C]/70 mt-2 font-bold text-lg",children:[s.length," winners across ",Object.keys(o).length," categories"]})]}),Object.entries(o).length>0?a.jsx("div",{className:"space-y-14",children:Object.entries(o).map(([c,d],u)=>a.jsxs(V.section,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:u*.1},className:"relative",children:[u>0&&a.jsx("div",{className:"absolute -top-10 left-0 right-0 h-px bg-gradient-to-r from-transparent via-[#C9A84C]/20 to-transparent"}),a.jsxs(V.div,{whileHover:{x:8},transition:{type:"spring",stiffness:300,damping:30},className:"relative mb-10 overflow-hidden rounded-2xl group cursor-default border-2 border-[#C9A84C]/50 hover:border-[#C9A84C] transition-all",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#C9A84C]/15 via-[#C9A84C]/5 to-transparent group-hover:from-[#C9A84C]/25 transition-all duration-300"}),a.jsx("div",{className:"relative px-8 py-10 border-l-4 border-[#C9A84C]",children:a.jsxs("div",{className:"flex items-start justify-between gap-6",children:[a.jsxs("div",{className:"flex-1",children:[a.jsxs("p",{className:"text-[#C9A84C] text-sm font-black tracking-[0.35em] uppercase mb-3 flex items-center gap-2",children:[a.jsx("span",{className:"inline-block w-12 h-1 bg-gradient-to-r from-[#C9A84C] to-[#D4AF37]"}),"CATEGORY ",u+1]}),a.jsx("h3",{className:"font-editorial text-5xl lg:text-6xl font-black bg-gradient-to-r from-[#C9A84C] to-[#D4AF37] bg-clip-text text-transparent mb-3 leading-tight",children:c}),a.jsxs("p",{className:"text-[#C9A84C] text-sm font-bold",children:[d.length," ",d.length===1?"WINNER":"WINNERS"]})]}),a.jsx(V.div,{animate:{y:[0,-8,0]},transition:{duration:3,repeat:1/0},className:"flex-shrink-0",children:a.jsx(ut,{className:"w-20 h-20 text-[#C9A84C]/25"})})]})})]}),a.jsx("div",{className:"flex justify-center w-full",children:a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 lg:gap-8 w-fit",children:d.map((h,m)=>a.jsx(N_,{winner:h,index:m},h.id))})})]},c))}):a.jsxs(V.div,{initial:{opacity:0}
854,animate:{opacity:1},className:"text-center py-24 px-8 rounded-2xl bg-white/5 border border-[#C9A84C]/10",children:[a.jsx(ut,{className:"w-16 h-16 text-[#C9A84C]/30 mx-auto mb-6"}),a.jsxs("p",{className:"text-[#C9A84C]/50 text-lg font-semibold",children:["No winners data for ",e]})]})]})]},e)})})]})}const Ane={"metcalfes-skinny":{title:"Metcalfe's Skinny â Official Popcorn Sponsor",label:"NFA 2016 · Snacks & Food",edition:"10th Anniversary · NFA 2016",views:"2.1k",color:"#C9A84C",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/0c53f060a_Metcalfes-skinny-impulse-range.jpg",website:"https://www.metcalfes.com",stats:[{value:"2.1k",label:"Views"},{value:"8+",label:"Nominees"},{value:"67%",label:"Less Sugar"}],quote:{text:"Popcorn and movies go hand in hand so naturally we are delighted to be sponsoring 'Best British Film 2016' at this year's National Film Awards. Congratulations to all nominees. We look forward to sharing our range with guests on the night.",author:"Max Rees, Managing Director"},body:["The National Film Awards is delighted to welcome Metcalfe's Skinny as the Official Popcorn Sponsor for the 2016 ceremony â a partnership that captures the spirit of cinema perfectly. Metcalfe's Skinny brings their iconic range of lighter, crunchier snacks to the heart of one of the UK's most celebrated film events.","Having secured major listings in the last year, Metcalfe's Skinny currently holds the largest distribution of any ready-to-eat premium brand in cinemas across the UK. Their commitment to quality, innovation and accessibility makes them a natural partner for an event that celebrates the very best in British and international filmmaking.","VIP guests and attendees at the National Film Awards 2016 were able to sample Metcalfe's Skinny's latest innovation â 'Cinema Sweet' â a delicious new variety made with natural stevia extract, delivering sweet satisfaction with significantly less sugar than traditional popcorn.","Metcalfe's Skinny has built its reputation on creating snacks that deliver on both taste and conscience. With 67% less sugar and a commitment to using natural ingredients wherever possible, the brand has resonated strongly with health-conscious consumers who refuse to compromise on flavour.","As part of this sponsorship, Metcalfe's Skinny received naming rights to the Best British Film 2016 category, cementing their place at the heart of the UK film industry for one of the most memorable evenings of the year. The brand's presence across the evening underscored both their commitment to quality and their genuine passion for cinema culture."]},"gold-collagen":{title:"GOLD COLLAGEN® â Best Actress Category Sponsor",label:"NFA 2016 · Beauty & Wellness",edition:"11th Anniversary · 2nd Annual NFA",views:"2.2k",color:"#E8A500",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/12885e8c2_GoldCollagen.jpg",website:"https://www.goldcollagen.com",stats:[{value:"2.2k",label:"Views"},{value:"10",label:"Nominees"},{value:"20x",label:"More Effective"}],quote:{text:"Gold Collagen received great reviews when first introduced at the NFA's 2015 event, and this year strengthened their commitment by acquiring naming rights to the Best Actress category â one of the most prestigious categories of the evening.",author:"Premium Beauty Partnership"},body:["GOLD COLLAGEN® has confirmed its return to the National Film Awards as sponsor of the Best Actress category at the 2nd annual ceremony. Having first introduced their pioneering liquid beauty supplement to the NFA audience in 2015, the brand's decision to deepen their involvement underlines a shared commitment to excellence and refinement.","GOLD COLLAGEN® is a unique liquid beauty supplement designed to nourish skin from the inside out. Developed to fight early signs of ageing and promote healthy-looking skin, hair and nails, it features a patented blend of hydrolysed collagen, hyaluronic acid, vitamins, minerals and antioxidants â making one shot up to 20 times more effective than topical collagen creams.","The partnership places GOLD COLLAGEN® alongside the most celebrated actresses in British and international film. Best Actress nominees include Marion Cotillard, Carey Mulligan, Charlotte Rampl
854ing, Saoirse Ronan and Alicia Vikander â names synonymous with the kind of talent, poise and dedication that the brand itself embodies.","GOLD COLLAGEN® represents a new generation of luxury wellness: science-driven, clinically tested and designed for the modern woman who understands that true beauty begins from within. Their formulation philosophy aligns perfectly with the National Film Awards' commitment to celebrating authentic achievement.","As Official Best Actress Sponsor, GOLD COLLAGEN® brings visibility, prestige and purpose to an evening dedicated to honouring outstanding talent in British and world cinema."]},elevatione:{title:"Ãlévatione â Official Skin Care Partner",label:"NFA 2018 · Skin Care",edition:"8th Anniversary · NFA 2018",views:"2.4k",color:"#8B7355",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/22ea40556_elevatione.jpg",website:"https://www.elevatione.com",stats:[{value:"2.4k",label:"Views"},{value:"8",label:"Nominees"},{value:"12",label:"Boutiques"}],quote:{text:"Time is not constant. It can be manipulated, stretched, stopped or even reversed...",author:"Inspired by Salvador DalÃ"},body:["Ãlévatione has been announced as the Official Skin Care Partner of the National Film Awards 2018. It is a partnership that brings together two worlds united by a belief in the transformative power of art, craft and vision.","Ãlévatione is a premium skin care brand inspired by the surrealist philosophy of Salvador DalÃ. Each product in the range is formulated on the principle that time, like skin, can be manipulated â that with the right ingredients and the right intention, the signs of ageing need not be inevitable.","The brand's specialist ranges of cleansers, masks, serums and moisturisers incorporate patented technology and hand-made herbal infusions. These formulations are designed not merely to address the symptoms of ageing, but to fundamentally reverse its visible progression â reflecting DalÃ's celebrated perception of time as something fluid and subjective.","With 12 boutiques worldwide, Ãlévatione has built a loyal following among those who approach skincare as an act of self-expression as much as self-care. Their presence at the National Film Awards reinforces their positioning at the intersection of luxury, art and science.","Best Actress nominees celebrated alongside this partnership include Florence Pugh, Gemma Arterton, Ruth Wilson, Emily Beecham and Kristin Scott Thomas â artists whose work, like Ãlévatione's formulations, transcends the ordinary and reaches for something genuinely transformative."]},"thomas-henry":{title:"Thomas Henry â Official Partner",label:"NFA 2018 · Premium Drinks",edition:"8th Anniversary · NFA 2018",views:"1.9k",color:"#D4AF37",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/04af55407_thomashenry.jpg",website:"https://www.thomashenry.de",stats:[{value:"1.9k",label:"Views"},{value:"10",label:"Nominees"},{value:"2010",label:"Founded"}],quote:{text:"Premium German soft drinks brought to the world of gastronomy â from Berlin's bitter lemonade experts to VIP experiences worldwide. Thomas Henry exemplifies the art of the perfectly crafted drink.",author:"Tonic Water Excellence"},body:["Thomas Henry, the celebrated German premium soft drinks brand, has joined the National Film Awards as an Official Partner for the 2018 ceremony. Founded in Berlin in 2010, Thomas Henry has become synonymous with high-class, unique beverages that bring sophistication to the finest cocktail bars and events worldwide.","Since their founding, Thomas Henry has been driven by a single ambition: to create soft drinks that are worthy companions to the world's finest spirits. Their Tonic Water, bitter lemon and other products have become essential ingredients in cocktail culture, beloved by bartenders and enthusiasts who refuse to compromise on quality.","In 2014, Thomas Henry expanded their range with the introduction of the 'all day' collection, including Mystic Mango and Ultimate Grapefruit â bold, distinctive flavours that offered unique alternatives in taste, price and presentation to a discerning international market.","Thomas Henry's partnership with the National Film Awards reflects a shared dedication to craft and quality. Best Drama nominees celebrated alongside this partnership include The Limehouse Golem, My Cousin Rachel, Breathe, Three Billboards Outside Ebbing Missouri â stories as rich and complex as the brand's own signature flavours.","As an Official Partner, Thomas Henry provided their premium drinks range throughout the evening, giving VIP guests and nominees the opportunity to experience the very best in contemporary soft drink craftsmanship."]},havaianas:{title:"Havaianas â Bronze Sponsor",label:"NFA 2022 · Lifestyle & Footwear",edition:"8th Annual · NFA 2022 · 4 July 2022",views:"1.6k",color:"#E8001D",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/c0afd686b_Havaianas-Red-Oval-Logo-1536x1086-1-750x450.jpg",website:"https://www.havaianas-store.com",stats:[{value:"1.6k",label:"Views"},{value:"1962",label:"Founded"},{value:"Bronze",label:"NFA 2022"}],quote:{text:"Havaianas is excited to sponsor this year's National Film Awards. Our roots might be in Brazil but we are huge fans of the British film industry, and one day we might even see our iconic flip flops on the red carpet â never say never!",author:"Sophie Paget, Marketing Manager, Havaianas UK"},body:["The National Film Awards announced a sponsorship deal with Havaianas for the 8th Annual National Film Awards, which took place on the 4th of July 2022 at Porchester Hall in London. The partnership brought together two organisations united by a passion for quality, creativity and celebrating the best in their respective fields.","Havaianas is the original, iconic flip flop brand from Brazil. Since 1962, the brand has stood for quality, comfort and freedom â a philosophy woven into every pair of flip flops, sandals, espadrilles and beach accessories it produces. Simple in form, effortless in style, Havaianas has grown from a Brazilian institution into a globally recognised lifestyle brand that epitomises summer.","Designed for a free life, Havaianas offers an extraordinary range of styles and colourways that have made it the world's most celebrated flip flop brand. From the beaches of Rio de Janeiro to the red carpets of London, the brand's distinctive aesthetic has crossed every cultural boundary â carried by an authenticity that can only come from six decades of genuine heritage.","The National Film Academy was launched in 1999 as an academy that supports, mentors, and promotes filmmakers, actors, actresses, and the talent that makes up the motion picture industry. The National Film Academy launched the National Film Awards UK in 2015 and simultaneously launched the US version, the National Film & Television Awards USA, in 2018. The Academy also produces a series of annual festivals, premieres, workshops, conferences and seminars across the UK, France, South Africa, Germany and the USA.","Havaianas' partnership with the National Film Awards 2022 represented a vibrant and joyful addition to the ceremony â a reminder that the spirit of celebration, freedom and creativity extends beyond the screen. Follow Havaianas on social media at @havaianaseurope."]},o2:{title:"O2 â Official Sponsor",label:"NFA 2015 · Telecommunications",edition:"11th Anniversary · 1st Annual NFA",views:"2.5k",color:"#0066CC",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/ceeb252dc_NFAO2.png",website:"https://www.o2.co.uk",stats:[{value:"2.5k",label:"Views"},{value:"12",label:"Categories"},{value:"30M+",label:"Customers"}],quote:{text:"O2's commitment to entertainment and live experiences makes them a natural partner for the Awards. Together, we look forward to delivering an unforgettable evening that celebrates the very best of film.",author:"National Film Awards UK"},body:["The National Film Awards is proud to announce O2 as an Official Sponsor for the inaugural National Film Awards UK ceremony in 2015. O2, one of Britain's most recognised telecommunications brands, brings their passion for entertainment, connectivity and unforgettable experiences to one of the most exciting new awards ceremonies in the UK cultural calendar.","O2 has built the
854ir reputation on more than just connectivity. With over 30 million customers across the United Kingdom, the brand has become a champion of live entertainment, sporting events and cultural experiences. Their Priority programme has become one of the most valuable customer loyalty schemes in British retail, offering exclusive access to events before general release.","As part of the sponsorship agreement, O2 received prominent brand visibility throughout the National Film Awards campaign, including red carpet exposure, digital integration and on-screen placement during the live ceremony. O2 customers enjoyed exclusive ticket opportunities and behind-the-scenes content as part of this prestigious collaboration.","The partnership between O2 and the National Film Awards represented a natural alignment: two organisations committed to creating extraordinary experiences and connecting audiences with the talent and stories that matter most.","With 12 categories celebrated across the evening, O2's sponsorship helped establish the National Film Awards as a landmark event in the British film and entertainment calendar â a partnership of which both organisations remain immensely proud."]},collagin:{title:"CollaGin â Official Gin Partner",label:"NFA 2018 · Spirits",edition:"8th Anniversary · NFA 2018",views:"2.3k",color:"#C9999D",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/983d50fa1_CollaGin-NFAs-Advert-3MM-BLEED-REV3-pdf.jpg",website:"https://www.collagin.co.uk",stats:[{value:"2.3k",label:"Views"},{value:"8",label:"Nominees"},{value:"Best Indie",label:"Category"}],quote:{text:"Deliciously smooth and impeccably fragrant, CollaGin is the original gin with added collagen, combining spirits with pure collagen for a unique experience.",author:"Young In Spirit"},body:["Young In Spirit is proud to announce CollaGin as the Official Gin Partner of the National Film Awards 2018. CollaGin â the world's first gin infused with pure collagen â joins the ceremony as a sponsor of the Best Independent Film category, a partnership that brings together two enterprises defined by originality and creative ambition.","CollaGin was created by Young In Spirit, the world's first alcoholic drinks company to combine spirits with pure collagen. The concept is as elegant as it is innovative: a deliciously smooth, impeccably fragrant gin that carries within it the same collagen widely celebrated in the beauty and wellness industries.","Eleven delicate botanicals infuse each velvety drop of CollaGin in a bewitching concoction of warm, earthy liquorice and floral notes of orris root, balanced by the clean taste of juniper and the gentle tang of fresh oranges. The result is a gin of genuine distinction â as memorable as the films it celebrates.","The Best Independent Film category showcases some of the most daring and distinctive filmmaking in British cinema. Nominees include God's Own Country, Film Stars Don't Die in Liverpool, The Intent, Jawbone, My Name is Lenny, Lady Macbeth, Rise of the Footsoldier 3 and Eat Locals â films that, like CollaGin itself, refuse to follow convention.","As Official Gin Partner, CollaGin was served throughout the evening at the National Film Awards 2018, offering VIP guests and nominees a taste of something truly singular. The partnership celebrates the shared spirit of innovation that unites great independent filmmaking and great independent thinking."]},instantprint:{title:"instantprint â Official Partner",label:"NFA 2018 · Print & Media",edition:"8th Anniversary · NFA 2018",views:"3.1k",color:"#2D7D3F",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/5422af010_INSTAPRINT.png",website:"https://www.instantprint.co.uk",stats:[{value:"3.1k",label:"Views"},{value:"8",label:"Nominees"},{value:"Best Doc",label:"Category"}],quote:{text:"instantprint specializes in producing business cards, posters, flyers and leaflets with technology, innovation, and development ensuring speedy turnaround times, sharper pricing and world class customer service.",author:"Professional Printing Excellence"},body:["instantprint is delighted to be announced as an Official Partner of the National Film Awards 2018. The UK's leading online print provider joins the ceremony as sponsor of the Best Documentary category â a fitting alignment for a brand that understands the power of visual storytelling and the craft required to bring it to life.","instantprint has built its reputation on a simple but powerful promise: the highest quality print products, delivered with industry-leading speed, at prices that make excellence accessible. Specialising in business cards, posters, flyers and leaflets, the company serves businesses of every size across the United Kingdom.","Their state-of-the-art print facilities combine advanced digital printing technology with rigorous quality control processes, ensuring every product meets the exacting standards their customers demand. Speedy turnaround times, transparent pricing and genuine customer service excellence have made them the go-to partner for print across the UK.","The Best Documentary category celebrates films that illuminate, challenge and inspire. Nominees include Kingdom of Us, Almost Heaven, Halfway, Williams, My Generation, Blue Planet 2, Dark States and Moving Theatre â documentaries that, in telling true stories with honesty and craft, reflect the same values that instantprint brings to their work every day.","As Official Partner, instantprint brings their expertise in visual communication to an evening dedicated to celebrating visual storytelling at its finest. Their sponsorship of the Best Documentary category is a statement of belief in the power of non-fiction film to change how we see the world."]},heineken:{title:"Heineken â Official Beer Sponsor",label:"NFA 2019 · Beer & Beverages",edition:"5th Anniversary · NFA 2019",views:"453k",color:"#1e3a5f",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/3e7d93e43_HEINEKEN.jpg",website:"https://www.heineken.com",stats:[{value:"453k",label:"Views"},{value:"6",label:"Brands"},{value:"2,900",label:"UK Pubs"}],quote:{text:"HEINEKEN is the UK's leading pub, cider and beer company, home to iconic brands including Strongbow, Bulmers, Heineken®, Foster's, Kronenbourg 1664 and Desperados.",author:"Brewing Excellence Since 1873"},body:["HEINEKEN is honoured to join the National Film Awards UK as Official Beer Sponsor for the 5th anniversary celebration in 2019. As the UK's leading pub, cider and beer company, HEINEKEN brings a legacy of quality, community and passion for shared experiences that resonates with everything the National Film Awards represents.","The HEINEKEN UK portfolio includes some of the most iconic names in the country's drinks culture: Strongbow, Bulmers, Heineken®, Foster's, Kronenbourg 1664 and Desperados. These brands are woven into the fabric of British social life, present at the moments of celebration, relaxation and connection that define the best of our shared culture.","HEINEKEN stands as a passionate supporter of the Great British Pub, with a nationwide estate of around 2,900 outlets through their Star Pubs and Bars business. Since 2012, they have invested more than £100m in pub infrastru
854cture â a commitment to the communities that make British pub culture so vital and irreplaceable.","More than 90% of HEINEKEN's beer sold in the UK is brewed domestically, with 100% of malt and barley sourced from UK farms and maltsters. Around 30% of all UK apples are used to produce their ciders, making HEINEKEN one of British agriculture's most significant commercial partners.","Featured at the 2019 ceremony was Heineken 0.0: a masterfully crafted alcohol-free beer offering refreshing fruity notes, a soft malty body and only 69 calories per bottle. Brewed using Heineken's unique A-Yeast, first cultivated in 1873, Heineken 0.0 is proof that responsible drinking need never mean compromising on quality or enjoyment."]},avlon:{title:"Avlon â Official Partner",label:"NFA 2018 · Hair Care",edition:"8th Anniversary · 4th Annual NFA",views:"2.3k",color:"#8B6B9D",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/f2fcb6c98_Avlon.png",website:"https://www.avlon.com",stats:[{value:"2.3k",label:"Views"},{value:"7",label:"Nominees"},{value:"Thriller",label:"Category"}],quote:{text:"Avlon Industries is a US-based formulator and manufacturer of premium haircare products, responsible for the most widely used professional haircare products for women of African descent.",author:"Founded 1984 by Dr Ali N. Syed"},body:["Avlon Industries has been announced as an Official Partner of the 4th Annual National Film Awards 2018, receiving naming rights to the Best Thriller category. The partnership celebrates both organisations' commitment to excellence, innovation and serving the needs of a diverse and discerning audience.","Founded in 1984 by Master Chemist Dr Ali N. Syed, Avlon Industries was born from a visionary mission: to develop the most technologically advanced haircare products at prices that professionals and consumers could access. Today, Avlon is recognised internationally as the leader in professional haircare formulation for diverse hair textures and needs.","Dr Syed's founding principle â that excellence in haircare should be available to all, not the preserve of the few â has guided Avlon's development for four decades. The brand has become the trusted choice of professional stylists worldwide, with formulations that have transformed the lives and confidence of millions of women.","The Best Thriller category nominees represent some of the most visceral, technically accomplished filmmaking in contemporary British cinema: Prevenge, Redwood, You Were Never Really Here, Eat Locals, The Moving Theatre, Hellriser and The Snowman. These films share with Avlon a commitment to pushing boundaries and delivering experiences that are genuinely unforgettable.","Avlon's partnership with the National Film Awards reflects a shared understanding that true excellence requires both scientific rigour and creative vision. It is a collaboration built on respect for craft, diversity and the transformative power of doing things properly."]},denman:{title:"Denman â Bronze Category Sponsor",label:"NFA 2022 · Hair Care",edition:"4th Anniversary · 8th Annual NFA",views:"3.9k",color:"#C41E3A",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6a89fa4da_Denman.jpg",website:"https://www.denmanbrush.com",stats:[{value:"3.9k",label:"Views"},{value:"60+",label:"Countries"},{value:"80+",label:"Years"}],quote:{text:"Started by an innovator more than 80 years ago, the iconic Denman brand remains a leading light in haircare today. Hair Brilliance for everyone.",author:"From Family Innovation to Global Excellence"},body:["Denman has been confirmed as an Official Bronze Category Sponsor for the 8th Annual National Film Awards UK 2022, sponsoring the Best TV Drama Series category. It is a partnership that brings together two British institutions defined by enduring quality, creative excellence and an uncompromising commitment to the highest standards.","The Denman story began with a brother creating an innovative hairbrush to help style his sister's hair â a simple act of care that sparked a revolution in professional hair tools. That brush caught the eye of the legendary Vidal Sassoon, who quickly made it an essential part of his toolkit, cementing Denman's reputation as the choice of the world's finest hairstylists.","Today, the world-famous D3 Original Styler is recognised and trusted in more than 60 countries. Whether blow-drying, styling, smoothing or defining curls, the D3 delivers outstanding performance across every hair type and texture. Alongside the D3, Denman's full range includes detanglers, paddles, vents and curling brushes designed to meet the full spectrum of professional hair care needs.","Denman's presence at the National Film Awards 2022 aligns the brand with the excellence it has championed for over eight decades. Best TV Drama Series nominees brought some of the finest acting and storytelling in contemporary British television to the ceremony at Porchester Hall, London, on the 4th of July 2022.","This sponsorship is a celebration of craft in all its forms: the craft of the hairstylist wielding a Denman brush, and the craft of the actors, directors and writers who bring compelling television drama to life. Hair Brilliance for everyone."]},vapiano:{title:"Vapiano â Official Restaurant Partner",label:"NFA 2022 · Dining",edition:"4th Anniversary · 11th Annual NFA",views:"77.4k",color:"#E63946",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/e3c02611b_Vapiano10452-1-750x450.jpg",website:"https://www.vapiano.com",stats:[{value:"77.4k",label:"Views"},{value:"6",label:"Nominees"},{value:"Best Drama",label:"Category"}],quote:{text:"Vapiano revolutionised the restaurant business with open kitchens where talented chefs cook handmade fresh pasta to order right in front of guests. Perfect for customising the dish exactly as the guest wanted.",author:"Italian Dining Excellence"},body:["Vapiano has been announced as the Official Restaurant Partner for the 11th Annual National Film Awards UK 2022. The partnership brings together two organisations united by a passion for craft, qual
854ity and the belief that great experiences deserve great company.","Vapiano launched in 2002 in Hamburg with a concept that would transform casual dining: open kitchens with expert chefs preparing handmade fresh pasta and pizza to order, in full view of every guest. The UK launch in 2008 made Vapiano an instant sensation â a destination as beloved by students as by celebrities, where the welcome is always warm and the food is always honest.","At Vapiano, the guest is in control. Extra chilli? Of course. No garlic? Absolutely. Freshly made pasta, stone-baked pizza and hand-crafted risotto, each one prepared exactly to order, every time. Eat in, take away, click and collect or delivery â Vapiano adapts to how its guests want to eat, without ever compromising on quality.","The Best Drama category, which Vapiano sponsored at this year's ceremony, recognised outstanding dramatic storytelling with nominees including Twist, After Love, The Power of the Dog, Save The Cinema, Boiling Point and Citation.","Winners were announced on the 4th of July 2022 at Porchester Hall, London. Vapiano's partnership with the National Film Awards marks another chapter in a story of growth, quality and the enduring belief that good food, like good film, has the power to bring people together."]},"pure-beauty-collagen":{title:"Pure Beauty Collagen â Bronze Sponsor",label:"NFA 2023 · Beauty & Wellness",edition:"3rd Anniversary · NFA 2023",views:"6.2k",color:"#FF1493",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/8c8fe2fe5_purebeauty.png",website:"https://www.purebeautycollagen.com",stats:[{value:"6.2k",label:"Views"},{value:"2",label:"Product Lines"},{value:"Japan",label:"Manufactured"}],quote:{text:"The pursuit of youthful skin and overall health has been a constant goal for many. Pure Beauty Collagen, created by CEO Miss Anne Cruz, offers high-quality marine collagen supplements to promote skin hydration and accelerate skin recovery.",author:"Founded 2019 by Miss Anne Cruz"},body:["Pure Beauty Collagen has been announced as a Bronze Category Sponsor for the National Film Awards 2023. Founded in 2019 by CEO and mother of two Miss Anne Cruz, Pure Beauty Collagen emerged from her successful experience as a reseller of beauty supplements â and grew rapidly into a full-scale manufacturing enterprise.","Inspired by market success and driven by a desire to create something truly her own, Miss Cruz expanded into manufacturing and developed her own collagen supplement line. Pure Beauty Collagen was launched during the COVID-19 pandemic yet quickly became a market success, collecting numerous industry awards and establishing itself among the finest beauty supplements available today.","Pure Beauty Collagen offers two premium product forms: Powder and Liquid. Both are manufactured in Japan using advanced technology and the highest quality marine collagen. The Powder formula contains CoQ10, Hyaluronic Acid and Pearl Coix Extract, working together to reduce fine lines and wrinkles. The Repair Drink features six essential ingredients including probiotics, specifically designed to accelerate skin recovery and reduce visible signs of ageing.","The brand's commitment to quality, innovation and accessibility reflects values that resonate strongly with the National Film Awards. Like the ceremony itself, Pure Beauty Collagen is built on the belief that excellence should be celebrated, shared and made available to all who seek it.","As a Bronze Sponsor for the 2023 ceremony, Pure Beauty Collagen's presence reinfor
854ces the National Film Awards' commitment to partnering with brands that combine genuine quality with an inspiring founding story."]},"leger-holidays":{title:"Leger Holidays â Official Sponsor",label:"NFA 2024 · Travel",edition:"2nd Anniversary · 10th Annual NFA",views:"20k",color:"#0066CC",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/cab847bc7_ledgers.jpg",website:"https://www.leger.co.uk",stats:[{value:"20k",label:"Views"},{value:"40+",label:"Years Experience"},{value:"Multi",label:"Award Winning"}],quote:{text:"We're absolutely thrilled to be an official sponsor for the 2024 National Film Awards. It is a great honour to support the remarkable work of the creative industries and have our brand associated with such a prestigious awards ceremony.",author:"Liam Race, CEO of Leger Shearings Group"},body:["Leger Holidays is proud to be announced as an Official Sponsor of the 10th Anniversary National Film Awards UK 2024. The UK's leading provider of escorted holidays throughout Europe and worldwide, Leger brings over 40 years of award-winning expertise to this landmark partnership.","Leger Holidays has built its reputation on one simple but powerful promise: they take care of everything. From fully escorted European tours to grand adventures in India, Australia, the USA and beyond, Leger's portfolio encompasses short breaks and extended journeys alike â each one designed to remove the hassle and amplify the experience.","Their slogan, 'You're in Good Company', captures the essence of what Leger does best: creating opportunities to socialise, share experiences and make memories with like-minded travellers. From motorsport breaks and walking holidays to battlefield tours and dedicated solo traveller experiences, Leger offers a curated range of special-interest journeys for every kind of adventurer.","For those who seek the ultimate in comfort, Leger's Luxuria coaches offer only 31 seats â each one an armchair-style leather seat with extra legroom, individual plug sockets, USB points and interactive touch-screen entertainment. Silver Service coaches provide deluxe reclining seats with leather headrests, footrests and a spacious rear lounge for social travel at its finest.","Leger Holidays' partnership with the National Film Awards 2024 reflects a shared appreciation for the extraordinary â whether that means a perfectly crafted film performance or a perfectly crafted travel experience. Both demand vision, expertise and an unwavering commitment to delivering something truly memorable."]},"wow-facial":{title:"WOW Facial â Bronze Sponsor",label:"NFA 2025 · Beauty & Wellness",edition:"1st Anniversary · 11th Annual NFA",views:"3.2k",color:"#E91E63",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/8c90c4b5c_WOWFacial.png",website:"https://www.wowfacial.co.uk",stats:[{value:"3.2k",label:"Views"},{value:"6",label:"Treatment Stages"},{value:"2019",label:"Founded"}],quote:{text:"We are thrilled to collaborate with the National Film Awards, an event that celebrates creativity, talent, diversity, and outstanding achievements. These values resonate deeply with us as a brand, as we have the privilege of working with many incredible individuals in this sector.",author:"Claire Williams, CEO & Founder of WOW Facial"},body:["WOW Facial has been announced as an Official Bronze Sponsor of the 11th Annual National Film Awards UK 2025, taking place on 2nd July 2025 in London. The partnership brings together two organisations united by a passion for celebrating talent, creativity and individual beauty.","Launched in 2019 by Claire Williams, WOW Facial has established itself as one of the most innovative and results-driven skincare brands in the professional beauty industry. The brand is renowned for its signature six-stage hyper-personalised skin treatments, each one expertly tailored by specialist practitioners to meet the unique requirements of every individual client.","WOW Facial's philosophy is grounded in the belief that truly exceptional skincare cannot be mass-produced or standardised. Each treatment draws on high-quality, carefully selected ingredients comb
854ined with the latest advances in skincare science, delivering transformative results with minimal downtime and lasting long-term benefits.","The brand has been recognised industry-wide for its commitment to excellence, accumulating awards and accolades that reflect its status as a leader in professional skin care. Its client base includes many of the leading names in entertainment and the arts â which makes the National Film Awards a natural partner.","As Bronze Sponsor, WOW Facial will present on the night, receive naming rights to an exclusive category, and engage directly with VIPs and industry leaders at the glamorous ceremony. This partnership is a statement of the brand's belief in celebrating the people and stories that shape our culture."]},"fattoria-la-vialla":{title:"Fattoria La Vialla OliPhenolia â Silver Sponsor",label:"NFA 2024 · Wellness & Agri-Cosmetics",edition:"2nd Anniversary · 10th Annual NFA",views:"127k",color:"#2D5016",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/a721d489e_oliphenolia-header-2023.jpg",website:"https://www.lavialla.com/en/",stats:[{value:"127k",label:"Views"},{value:"45+",label:"Years Biodynamic"},{value:"3 Gold",label:"Awards 2023"}],quote:{text:"Farming and film might not seem like an obvious choice, but both require incredible dedication, perseverance, and commitment, as well as hard work with a sliver of good timing. We are delighted to present our OliPhenolia demeter certified agri-cosmetics.",author:"Gianni, Antonio & Bandino Lo Franco, Fattoria La Vialla"},body:["Fattoria La Vialla is proud to present OliPhenolia® as a Silver Sponsor of the 10th Anniversary National Film Awards UK 2024. A regenerative Tuscan farm and wine estate with over 45 years of biodynamic practice, Fattoria La Vialla brings the same values of precision, patience and passion that have guided the Lo Franco family for three generations.","The farm has operated without pesticides or synthetic fertilisers for over four decades, demonstrating at scale how vertical, integrated biodynamic farming can thrive while strengthening ecological systems, promoting biodiversity and producing products of the very highest quality. Their approach is not sustainability as marketing â it is sustainability as a way of life.","OliPhenolia® represents the next chapter of this story. Created entirely through mechanical filtration from the by-products of Fattoria La Vialla's olive oil production, this polyphenol-rich olivewater extract is an upcycled innovation â Tuscan tradition meeting contemporary science. OliPhenolia Intensive Serum was awarded Overall Champion: Best Free From Skincare Product, along with two gold medals, at the Global Beauty & Wellness Awards 2023.","OliPhenolia agri-cosmetics contain between 60% and 90% Demeter certified biodynamic ingredients. Every product reflects the founding philosophy that sustainability and respect for nature are not constraints on quality â they are the conditions that make true quality possible.","The partnership with the National Film Awards brings OliPhenolia to a stage that celebrates storytelling, vision and the values that endure. Like the finest films, the finest skincare is the result of years of craft, care and an uncompromising belief that what you put into the world matters."]},sabrhero:{title:"SABRHERO â Bronze Category Sponsor",label:"NFA 2023 · Sports & Luxury",edition:"3rd Anniversary · 9th Annual NFA",views:"6.6k",color:"#2E7D32",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/11d002094_SABRHERO-FIRST-PAGE-750x450-1.jpg",website:"https://sabrhero.com",stats:[{value:"6.6k",label:"Views"},{value:"150+",label:"Players Tested"},{value:"80+",label:"Rackets Tested"}],quote:{text:"SABRHERO is a British luxury sports brand that combines style and performance. Founded by former international tennis player Alpha Ambaye, the brand creates equipment and apparel designed to make players feel like champions on and off the court.",author:"Reveal Your Inner Hero"},body:["SABRHERO joins the list of prestigious Bronze category sponsors at the 9th Annual National Film Awards UK 2023. The British luxury sports brand, founded by former international tennis player Alpha Ambaye, brings to this partnership a story of vision, determination and an unwillingness to accept mediocrity â values shared by the finest filmmakers and the finest athletes alike.","Alpha Ambaye's journey began with frustration. As an international-level tennis player, she found herself testing more than 80 rackets over a three-month period, searching for equipment that matched her ambitions. Finding nothing that satisfied her, she decided to create her own. The response was immediate: other players, fans and spectators wanted to know where she had found those rackets.","Two years later, with an MBA in Digital Marketing in the Luxury World from the prestigious Sup de Luxe school in Paris, Alpha partnered with designer Theo Fancellu â whose passions spanned art, design and sport â and international business student Mir Ambaye to formally launch the SABRHERO brand. The team spent months in rigorous testing with over 150 players at every skill level, gathering data and refining prototypes until they had created something genuinely world-class.","SABRHERO creates tennis rackets, apparel and bags designed to make every player feel like a hero. But beyond the products, the brand stands for something larger: the belief that excellence is available to anyone willing to pursue it without compromise, and that sport, like art, is a vehicle for discovering the best version of yourself.","As an Official Bronze Sponsor of the National Film Awards 2023, SABRHERO stands alongside the industry's finest talents. This partnership is a testament to the brand's commitment to supp
854orting and promoting excellence in both sport and the arts â two pursuits united by the same demand for skill, dedication and the courage to perform."]},"fiji-water":{title:"FIJI Water â Official Bronze Sponsor",label:"NFA 2023 · Drinks & Sustainability",edition:"3rd Anniversary · 9th Annual NFA",views:"158.8k",color:"#0066CC",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/5e8ae311c_fijiwater.jpg",website:"https://www.fijiwater.co.uk",stats:[{value:"158.8k",label:"Views"},{value:"100%",label:"Recycled Plastic"},{value:"2025",label:"Full Transition"}],quote:{text:"We are thrilled to join the National Film Awards UK to celebrate this year's top talent and shows. We are proud to toast all the nominees and attendees with our new 100% recycled plastic bottles, excluding caps and labels.",author:"Wai Mei Lee, Vice President of International, FIJI Water"},body:["FIJI® Water is returning as the Official Bronze Sponsor of the 9th National Film Awards UK. FIJI Water, now available in 100% recycled plastic (rPET) bottles excluding caps and labels, will be exclusively served throughout the evening to all nominees and guests at Porchester Hall on Monday, 3rd July 2023. The National Film Awards UK will be the first major event in the UK to showcase the new iconic 100% recycled plastic 500 mL bottles.","FIJI Water, an artesian water sourced from the Fiji Islands, is furthering its commitment to environmental sustainability with the transition of its best-selling 500 mL and 330 mL bottles to 100% recycled plastic (rPET) in the UK and EU markets starting Spring 2023. This replaces nearly 70% of FIJI Water's bottle volume worldwide with recycled material. The company is committed to transitioning its entire bottle portfolio to rPET by 2025.","In addition to introducing 100% rPET bottles, FIJI Water has invested approximately FJ$5 million (£1.82 million) in energy efficiency initiatives on the Fijian islands, including the use of microturbine energy generation and adopting low-sulphur fuel standards for shipping, significantly reducing sulphur oxide emissions.","The FIJI Water Foundation focuses on the preservation of the islands and the improvement of life for native Fijians through providing access to clean water, healthcare services and grants for local schools and organisations. Since 2007, the Foundation has funded large-scale reforestation and conservation efforts to preserve the Sovi Basin â Fiji's most important forest ecosystem â in partnership with Conservation International.","FIJI Water is a division of The Wonderful Company, which has invested more than $1.3 billion in environmental sustainability initiatives. This includes the unprecedented $750 million gift from co-owners Stewart and Lynda Resnick to Caltech in support of environmental sustainability research, focusing on decomposable plastics and tackling issues of water, energy, food and waste in a world confronting rapid climate change."]},"imean-beauty":{title:"IMEAN BEAUTY â Official Bronze Sponsor",label:"NFA 2026 · Clean High-Performance Skincare",edition:"12th Annual NFA · 1 July 2026 · Returning Partner",views:"New",color:"#1A1A1A",image:"https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=1200&q=80",website:"https://www.imeanbeauty.com",stats:[{value:"27",label:"Years Expertise"},{value:"Vegan",label:"Collagen Peptides"},{value:"2nd Year",label:"Partnership"}],quote:{text:"I believe that skincare should be authentic, simple and impactful.",author:"Sarah Choi, Founder of IMEAN BEAUTY"},body:["The National Film Awards is delighted to announce that IMEAN BEAUTY has officially signed back on board as an Official Bronze Category Sponsor for the 12th Annual National Film Awards 2026, taking place on the 1st of July 2026 in London.","Following a successful partnership in 2025, IMEAN BEAUTY returns for a second consecutive year, reaffirming its commitment to excellence, performance and authenticity within the film and television community. As a brand grounded in scientifically proven quality and formulated to European stability standards, IMEAN BEAUTY represents a modern interpretation of clean, high-performance skincare. Its renewed partnership with the National Film Awards reflects a shared belief in craftsmanship, integrity and longevity â values that define both cinematic excellence and advanced skincare innovation.","Founded by Sarah Choi, IMEAN BEAUTY was created with a clear philosophy: that skincare should be authentic, simple and impactful. With 27 years of heartfelt dedication and expertise behind every formulation, each ingredient is rigorously verified to meet the highest standards of clean beauty. Inspired by Munich and the powerful legacy of nutritious protein sources cultivated since ancient times, IMEAN BEAUTY incorporates innovative vegan collagen peptides sourced from Germany, renowned for their exceptional efficacy.","The brand's ethos is built around authenticity, simplicity and high-performance quality. Transparency, efficacy and longevity remain central pillars of its formulation philosophy. Designed for the US, Korea and Europe, IMEAN BEAUTY delivers a minimalist skincare routine that never compromises on ingredient integrity or performance.",`As the industry gathers on the 1st of July 2026 to honour outstanding achievement in film and television, IMEAN BEAUTY's continued presence underscores its dedication to supporting artistry while celebrating innovation and refinement in beauty. Attendees and nominees will once again experience the brand's commitment to clean, effective skincare â reflecting a belief that excellence, whether on screen or in formulation, is achieved through precision and purpose. 855 856With free shipping on all US orders over $100, IMEAN BEAUTY continues to expand its global footprint while maintaining its focus on scientifically backed performance and transparent quality. The National Film Awards warmly welcomes IMEAN BEAUTY back for its second year of partnership.`]},dechavel:{title:"DECHAVEL â Official Premium Partner",label:"NFA 2026 · Luxury Fashion & Watches",edition:"12th Annual NFA · 1 July 2026 · London",views:"New",color:"#C9A84C",heroFit:"object-contain object-center",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/a4bd36d5c_Dechaveleleganceincreamandgold.png",extraImage:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/e71a3f5e2_Smilesandstylebythepoolside.png",website:"https://www.dechavel.com",stats:[{value:"Platinum",label:"Partnership Tier"},{value:"His & Hers",label:"Royal Watch Collection"},{value:"3 Gens",label:"Men, Women & Children"}],quote:{text:"The National Film Awards celebrates excellence across film and television. Partnering with DECHAVEL as a Premium Partner reflects our commitment to working with brands that embody craftsmanship, heritage and global ambition.",author:"National Film Awards UK"},body:["The National Film Awards proudly announces DECHAVEL as an Official Premium Partner of the 12th Annual National Film Awards, reinfor
856cing the ceremony's continued alignment with excellence, prestige and global luxury.","DECHAVEL, the distinguished luxury fashion house, is internationally recognised for its refined craftsmanship and signature aesthetic. The brand produces premium collections for men, women and children, each distinguished by the iconic DECHAVEL repeated pattern that has become synonymous with sophistication, exclusivity and contemporary royal elegance.","As Premium Partner, DECHAVEL will be prominently integrated into the 12th Annual National Film Awards, supporting one of the most prestigious celebrations of film and television excellence in the world. The partnership reflects a shared commitment to legacy, craftsmanship and cultural influence.","In addition to its luxury apparel collections, DECHAVEL will spotlight its highly anticipated His and Hers Royal Watch Collection. The DECHAVEL Royal Watch line for men and women represents precision engineering and elevated design, blending classic horology with modern luxury detailing. The collection is designed for individuals who understand that time is not simply measured, but defined.",`DECHAVEL's presence at the 12th Annual National Film Awards will include premium brand positioning, red carpet visibility and exclusive luxury integration opportunities throughout the ceremony. This partnership marks a powerful convergence between cinematic excellence and high-end fashion, further elevating the prestige of this year's awards. 857 858The 12th Annual National Film Awards continues to attract leading global brands, talent and industry figures, reinforcing its position as one of the most respected awards ceremonies worldwide. 859 860For partnership or media enquiries, please contact: [email protected]`]},"monday-republic":{title:"MondayRepublic.com â Official Gold Sponsor",label:"NFA 2026 · Global Commerce & Marketplace",edition:"12th Annual NFA · 1 July 2026 · London",views:"New",color:"#E8A500",heroFit:"object-contain bg-black",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/1faad09ae_MondayRepublic.png",website:"https://www.mondayrepublic.com",stats:[{value:"Gold",label:"Sponsor Tier"},{value:"Global",label:"Marketplace"},{value:"2026",label:"Partnership"}],quote:{text:"MondayRepublic.com represents modern commerce at scale. As a marketplace enabling brands to buy and sell globally, their ecosystem is built on ambition, visibility and opportunity. We are delighted to welcome them as a Gold Sponsor for 2026 and look forward to delivering measurable impact through this partnership.",author:"National Film Awards UK"},body:[`FOR IMMEDIATE RELEASE | London, United Kingdom 861 862The National Film Awards is proud to officially announce MondayRepublic.com as a Gold Sponsor of the 12th Annual National Film Awards 2026.`,"MondayRepublic.com is a dynamic global marketplace where brands can buy and sell, connect, trade and scale within a trusted commercial ecosystem. Designed to empower modern businesses, the platform enables companies to showcase products, negotiate opportunities and unlock new revenue channels across industries.","As a brand built on commerce, connectivity and forward-thinking enterprise, Monday Republic aligns seamlessly with the National Film Awards' vision of celebrating excellence, influence and global reach.","Now in its 12th year, the National Film Awards continues to be one of the most respected and publicly voted film ceremonies in the United Kingdom, with over 1 million votes cast globally. The awards bring together leading actors, filmmakers, producers and industry leaders under one prestigious red carpet platform.","As a Gold Sponsor, MondayRepublic.com will benefit from premium integration across the entire 2026 campaign cycle, including prominent red carpet step and repeat branding, on-screen exposure during the live ceremony, dedicated digital promotion across official NFA platforms, inclusion within press releases and nominee announcements, VIP hospitality and high-level networking access, and strategic brand placement across social media reaching millions.",`This partnership positions Monday Republic directly at the intersection of entertainment, entrepreneurship and global influence. 863 864The 12th Annual National Film Awards 2026 is set to be a landmark edition, continuing to expand its international footprint and digital reach while maintaining its commitment to public voting and industry recognition. 865 866For partnership opportunities: [email protected] 867For more information about Monday Republic: www.mondayrepublic.com`]},"island-falls-home":{title:"Island Falls Home â Official Bronze Sponsor",label:"NFA 2026 · Best Documentary / Docu-Series",edition:"12th Annual NFA · 1 July 2026",views:"New",color:"#8B7355",image:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/c6539ae92_c9cef14c-e1fd-4f73-9599-2c89eef521db.png",heroFit:"object-contain object-center bg-white",website:"https://www.islandfallshome.com",stats:[{value:"Bronze",label:"Sponsor Tier"},{value:"Best Doc",label:"Category"},{value:"Zen",label:"Philosophy"}],quote:null,body:[`FOR IMMEDIATE RELEASE | London, 18 May 2026 868 869The National Film Academy is proud to announce Island Falls Home as an official Bronze Sponsor of the 12th Annual National Film Awards. Island Falls Home will sponsor the prestigious Best Documentary / Docu-Series category at the ceremony, taking place on 1 July 2026 at Porchester Hall, London W2.`,"Island Falls Home is a British family-founded brand celebrated for its premium Japanese-inspired Zen Garden kits. Founded following a visit to Japan in 2017, Island Falls Home was born from a moment of genuine revelation: standing amongst the serene, considered beauty of a traditional Japanese Zen garden, the family behind the brand understood with clarity that this experience â the stillness, the focus, the sense of a world distilled to its essential meaning â was something worth bringing home.","The result is a range of premium, handcrafted desktop Zen Garden kits that have since been featured in both Tatler and The Guardian, and which have built a quietly devoted following across the UK and internationally. Island Falls Home's portfolio encompasses a range of premium desktop Zen Garden kits, each designed with meticulous attention to authenticity and quality.","The flagship Traditional 21-Piece Zen Garden is inspired by the classic Japanese rock garden tradition and features handcrafted bamboo tools, CPSIA-compliant premium white Zen sand, and a curated selection of iconic elements including a Sakura cherry blossom, Shinto torii gate, and Jap
869anese pagoda. Alongside it, the Oasis of Calm and Desert Zen Garden variants extend the brand's range to encompass a broader spectrum of aesthetic sensibilities, all united by the same commitment to quality and the same invitation to pause, breathe, and attend to the present moment.","The Best Documentary / Docu-Series category is among the most compelling on the National Film Awards programme, recognising the filmmakers and productions that bring the world's most important, fascinating, and often overlooked stories to the screen. At its finest, documentary filmmaking shares something essential with the Island Falls Home philosophy: a commitment to looking carefully, to finding meaning in detail, and to presenting the truth of a subject with clarity, patience, and craft.","The National Film Awards, produced by the National Film Academy, is one of the most democratically determined celebrations of British film and television in the world. All awards are decided entirely by public vote, drawing a global audience of millions and connecting brands with one of the most culturally engaged and influential communities in the entertainment industry.","Public voting for the 12th Annual National Film Awards opens on Monday, 4 May 2026 at www.nationalfilmawards.co.uk. The ceremony will take place on 1 July 2026 at Porchester Hall, London W2, with the full list of nominees for the Best Documentary / Docu-Series category, in association with Island Falls Home, to be announced in due course."]},"darian-didier":{title:"Darian Didier Returns as Bronze Sponsor of the National Film Awards 2026",label:"NFA 2026 · Fashion & Design · Bronze Sponsor",edition:"10 April 2026 · 12th Annual NFA · 1 July 2026, Porchester Hall",views:"New",color:"#8B7355",image:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/f7d6a4d8b_DarianDidier3.png",heroFit:"object-contain object-center bg-[#F5F2ED]",website:"https://www.dariandidier.com",stats:[{value:"Bronze",label:"Sponsor Tier"},{value:"2nd Year",label:"Partnership"},{value:"1 July",label:"Ceremony Date"}],quote:{text:"I am truly honoured to return as a Bronze Sponsor for the 12th Annual National Film Awards. The Darian Didier Collection is designed for the woman embracing her feminine evolution, where allure meets quiet confidence. This collection is about soft power, presence, and the strength found in femininity. Supporting spaces that celebrate artistry and storytelling feels deeply aligned with what Darian Didier represents, and I'm excited to be part of another inspiring year.",author:"Darian Didier · Designer & Founder, Darian Didier Collection"},secondQuote:{text:"To welcome Darian Didier back to the National Film Awards is a genuine joy. This is a partnership that feels entirely natural â both the awards and the Darian Didier Collection celebrate women who command attention, who tell stories with confidence and grace. We are proud to stand alongside Darian once again for what will be a truly special evening.",author:"Cressida Oppenheimer · VP of Partnerships, National Film Awards"},body:["London, 10 April 2026 â The National Film Academy today announces that Darian Didier has renewed her sponsorship of the National Film Awards 2026, returning as Bronze Sponsor of the Best Supporting Actress in a TV Series category at the 12th Annual National Film Awards, set to take place on 1 July 2026 at Porchester Hall, London W2.","Darian Didier's continued commitment to the National Film Awards reflects a deeply held belief in the power of creative expression â whether articulated through the lens of a filmmaker or the construction of a garment. The partnership speaks to a natural alignment between two worlds that celebrate the women who define culture: on screen, and through fashion.","Since its founding, the National Film Awards has stood as the benchmark of excellence in British cinema and television, honouring the most outstanding contributions to the screen. Voted for entirely by the public, the awards command a global audience of millions, providing an unparalleled platform for brands and creatives to connect with one of the most engaged and influential entertainment c
869ommunities in the world.","The Best Supporting Actress in a TV Series category is among the most keenly contested at the National Film Awards, recognising the performances that elevate a production and linger long in the memory of audiences. It is a category that celebrates precisely the qualities that define the Darian Didier brand: presence, artistry, and the quiet command of a woman entirely at ease in her power.","Darian Didier's return as Bronze Sponsor coincides with a landmark moment for the brand: the forthcoming reveal of an exclusive new collection. Dedicated entirely to dresses and exploring themes of feminine evolution, allure, and soft power, the collection embodies an ethos that resonates deeply with the stories celebrated on the National Film Awards stage.","Public voting for the 12th Annual National Film Awards opens on Monday, 4 May 2026 at www.nationalfilmawards.co.uk. The ceremony will take place on 1 July 2026 at Porchester Hall, London W2, with nominees for the Best Supporting Actress in a TV Series category, in association with Darian Didier, to be announced in due course."],notesAboutBrand:"Darian Didier is a fashion designer and creative director celebrated for collections that explore feminine evolution, allure, and soft power. The Darian Didier Collection is designed for the modern woman who moves through the world with quiet confidence and effortless presence. The brand's upcoming collection focuses exclusively on dresses and will be officially revealed in due course. www.dariandidier.com · @dariandidiercollection",mediaContact:"[email protected] · Tel: +44 (0) 203 856 3307 · www.nationalfilmawards.co.uk"},alstelle:{title:"Alstelle â Official Bronze Sponsor",label:"NFA 2026 · Clean Luxury Beauty",edition:"12th Annual NFA · 1 July 2026",views:"New",color:"#2D5A27",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/3b18b5faf_Alstelle_Photo99_071025.jpg",extraImage:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/b7e61d14f_Alstelle_0918.jpg",website:"https://www.alstelle.com",stats:[{value:"Vegan",label:"Formulations"},{value:"Small Batch",label:"Crafted"},{value:"Clean",label:"Luxury"}],quote:{text:"Alstelle is proud to partner with the 2026 National Film Awards, celebrating a shared appreciation for artistry, craftsmanship, and elevated storytelling. As a clean luxury beauty brand grounded in performance and ritual, we are delighted to introduce Alstelle to the film and television community and to honor the exceptional talent recognised this year.",author:"Alexandria Solorzano, CEO & Founder of Alstelle"},body:[`FOR IMMEDIATE RELEASE | London, United Kingdom | 1 July 2026 870 871The National Film Awards is proud to announce Alstelle as an Official Bronze Category Sponsor of the 12th Annual National Film Awards, taking place on the 1st of July 2026 in London.`,"In a year defined by refinement, intention and elevated storytelling, the partnership between the National Film Awards and Alstelle marks a meeting of shared values. At a time when luxury is being quietly redefined â where craftsmanship, authenticity and purpose carry greater weight than excess â Alstelle joins the Awards not merely as a sponsor, but as a brand aligned with the spirit of modern excellence.","Founded by Alexandria Solorzano, Alstelle emerged not from market trends, but from lived experience. Years navigating chronic hives, eczema and highly sensitive skin inspired a deeper inquiry into the beauty industry's assumptions. Why must performance and purity be mutually exclusive? Why should luxury compromise wellness? Alstelle is the answer: naturally derived, vegan and consciously crafted, each formulation created in small batches and free from harsh chemicals, yet elevated in texture, scent and sensorial refinement.","There is a calm assurance at the heart of the brand. Alstelle does not proclaim sustainability for applause â it practises it. Ingredients are selected with sourcing integrity in mind. Products are developed as daily rituals designed to nourish, restore and respect the skin. Beyond formulation, Alstelle carries purpose: with every purchase, the brand supports initiatives centred on women, education and environmental responsibility.",`This ethos makes Alstelle a natural partner for the National Film Awards â a platform that celebrates excellence in film and television while honouring the power of narrative to shape culture. As the industry gathers on the 1st of July 2026 to celebrate outstanding achievement on screen, Alstelle's presence stands as a reminder that the most powerful stories are often the most intentional ones. 872 873Ritual meets recognition. Purpose meets performance. Beauty meets responsibility.`]}};function S_(){const t=new URLSearchParams(window.location.search).get("sponsor"),r=Ane[t];return r?a.jsxs("div",{className:"pt-24 lg:pt-28 bg-[#FFFEF9] min-h-screen",children:[a.jsxs("section",{className:"relative overflow-hidden",children:[a.jsxs("div",{className:"h-64 sm:h-80 lg:h-[420px] overflow-hidden bg-[#111]",children:[a.jsx("img",{src:r.image,alt:r.title,className:`w-full h-full ${r.heroFit||"object-cover"}`}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#111] via-[#111]/40 to-transparent"})]}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 px-6 pb-10 lg:px-12 lg:pb-14",children:a.jsxs("div",{className:"max-w-[900px] mx-auto",children:[a.jsxs(He,{to:at("Sponsors"),className:"inline-flex items-center gap-2 text-white/60 hover:text-white text-sm mb-4 transition-colors",children:[a.jsx(rn,{className:"w-4 h-4"})," Back to Sponsors & Partners"]}),a.jsx("p",{className:"text-white/50 text-xs font-sans-refined font-bold tracking-[0.25em] uppercase mb-3",children:r.label}),a.jsx("h1",{className:"font-editorial text-2xl sm:text-4xl lg:text-5xl font-bold text-white leading-tight max-w-3xl",children:r.title})]})})]}),a.jsx("section",{className:"py-14",children:a.jsxs("div",{className:"max-w-[900px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"flex flex-wrap gap-6 items-center mb-10 pb-10 border-b border-[#
873E8D5A0]/40",children:[a.jsxs("span",{className:"inline-flex items-center gap-2 text-[#8A8578] text-sm",children:[a.jsx(Qt,{className:"w-4 h-4"}),r.edition]}),a.jsxs("span",{className:"inline-flex items-center gap-2 text-[#8A8578] text-sm",children:[a.jsx(ko,{className:"w-4 h-4"}),r.views," views"]})]}),a.jsx("div",{className:"grid grid-cols-3 gap-4 mb-10",children:r.stats.map((n,s)=>a.jsxs("div",{className:"text-center p-5 bg-white rounded-xl border border-[#C9A84C]/20 shadow-sm",children:[a.jsx("p",{className:"font-editorial text-xl lg:text-2xl font-bold",style:{color:r.color},children:n.value}),a.jsx("p",{className:"text-xs text-[#8A8578] mt-1",children:n.label})]},s))}),r.quote&&a.jsxs("blockquote",{className:"bg-white rounded-2xl p-8 border-l-4 mb-10 shadow-sm",style:{borderColor:r.color},children:[a.jsxs("p",{className:"text-[#1A1A1A] text-base lg:text-lg leading-relaxed italic",children:['"',r.quote.text,'"']}),a.jsxs("footer",{className:"mt-4 text-sm font-semibold",style:{color:r.color},children:["â ",r.quote.author]})]}),a.jsx("div",{className:"space-y-5 text-[#5A5A5A] text-base leading-relaxed",children:r.body.map((n,s)=>a.jsx("p",{className:"whitespace-pre-line",children:n},s))}),r.secondQuote&&a.jsxs("blockquote",{className:"bg-white rounded-2xl p-8 border-l-4 my-10 shadow-sm",style:{borderColor:r.color},children:[a.jsxs("p",{className:"text-[#1A1A1A] text-base lg:text-lg leading-relaxed italic",children:['"',r.secondQuote.text,'"']}),a.jsxs("footer",{className:"mt-4 text-sm font-semibold",style:{color:r.color},children:["â ",r.secondQuote.author]})]}),(r.notesAboutBrand||r.mediaContact)&&a.jsxs("div",{className:"mt-12 grid sm:grid-cols-2 gap-6",children:[r.notesAboutBrand&&a.jsxs("div",{className:"bg-[#F8F5EE] rounded-2xl p-6 border border-[#E8D5A0]/40",children:[a.jsx("p",{className:"text-[10px] font-black tracking-[0.25em] uppercase mb-3",style:{color:r.color},children:"About Darian Didier"}),a.jsx("p",{className:"text-[#5A5A5A] text-sm leading-relaxed",children:r.notesAboutBrand})]}),r.mediaContact&&a.jsxs("div",{className:"bg-[#F8F5EE] rounded-2xl p-6 border border-[#E8D5A0]/40",children:[a.jsx("p",{className:"text-[10px] font-black tracking-[0.25em] uppercase mb-3",style:{color:r.color},children:"Media Enquiries"}),a.jsx("p",{className:"text-[#5A5A5A] text-sm leading-relaxed font-medium",children:"National Film Academy"}),a.jsx("p",{className:"text-[#5A5A5A] text-sm leading-relaxed whitespace-pre-line",children:r.mediaContact})]})]}),r.extraImage&&a.jsx(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"my-10 rounded-2xl overflow-hidden shadow-lg border border-[#E8D5A0]/30",children:a.jsx("img",{src:r.extraImage,alt:`${r.title} â product detail`,className:"w-full h-auto object-cover"})}),a.jsxs("div",{className:"mt-14 pt-8 border-t border-[#E8D5A0]/40 flex flex-wrap gap-4 justify-between items-center",children:[a.jsxs(He,{to:at("Sponsors"),className:"inline-flex items-center gap-2 text-[#8A8578] hover:text-[#1A1A1A] font-semibold transition-colors",children:[a.jsx(rn,{className:"w-4 h-4"})," Back to Sponsors"]}),a.jsxs("a",{href:r.website,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 font-semibold hover:gap-3 transition-all",style:{color:r.color},children:["Visit Website ",a.jsx(li,{className:"w-4 h-4"})]})]})]})})]}):a.jsx("div",{className:"pt-32 min-h-screen flex items-center justify-center bg-[#FFFEF9]",children:a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"font-editorial text-3xl text-[#1A1A1A] mb-4",children:"Article not found"}),a.jsxs(He,{to:at("Sponsors"),className:"inline-flex items-center gap-2 text-[#C9A84C] font-semibold",children:[a.jsx(rn,{className:"w-4 h-4"})," Back to Sponsors"]})]})})}const hj=[{name:"Dechavel",tier:"Platinum",desc:"Distinguished luxury fashion house â Premium Partner of the 12th Annual National Film Awards 2026.",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/a4bd36d5c_Dechaveleleganceincreamandgold.png",color:"#C9A84C",slug:"dechavel"},{name:"Leger Holidays",tier:"Gold",desc:"Returning for a third year â Official Sponsor of the Best British Film category. 40+ years of award-winning escorted travel.",image:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/ef488e0f6_luxuria-coach-in-tuscany-39683.jpg",color:"#1C2B3A",customLink:"/leger-holidays-2026"},{name:"FIJI Water",tier:"Gold",desc:"Official water partner â exclusively served to all nominees and guests.",image:"https://images.unsplash.com/photo-1559839734-2b71ea197ec2?w=800&q=80",color:"#E8A500"},{name:"Monday Republic",tier:"Gold",desc:"Global marketplace for brands to buy, sell, connect and scale â official Gold Sponsor 2026.",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/1faad09ae_MondayRepublic.png",color:"#E8A500",
873slug:"monday-republic"},{name:"Island Falls Home",tier:"Bronze",desc:"Premium Japanese-inspired Zen Garden kits â Sponsor of Best Documentary / Docu-Series.",image:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/f304a5b04_Lifestyle_TABLEAI_V6.jpg",color:"#8B7355",slug:"island-falls-home"},{name:"Alstelle",tier:"Bronze",desc:"Clean luxury skincare rooted in ritual â naturally derived & vegan.",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/b7e61d14f_Alstelle_0918.jpg",color:"#2D5A27",slug:"alstelle"},{name:"IMEAN BEAUTY",tier:"Bronze",desc:"Scientifically proven, high-performance clean skincare â 2nd year partner.",image:"https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=800&q=80",color:"#1A1A1A",slug:"imean-beauty"},{name:"Darian Didier",tier:"Bronze",desc:"Fashion designer celebrating feminine evolution, allure and soft power â Sponsor of Best Supporting Actress in a TV Series.",image:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/f7d6a4d8b_DarianDidier3.png",color:"#8B7355",slug:"darian-didier",heroFit:"object-contain bg-[#F5F2ED]"}],ym=["Vapiano","Moneeys","Penman","Tempest Car Hire","Voovix","Symbiotics","Thomas Henry","CollaGin","O2","instantprint","Avlon","Denman","Heineken","SABRHERO","Ãlévatione","GOLD COLLAGEN®","Metcalfe's Skinny"],dne=["Naming rights to a category presented live on stage","Brand visibility across red carpet, digital, and press","Access to nominees, winners and industry VIPs","Academy News feature article reaching hundreds of thousands","Social media promotion across all NFA channels","Priority placement in official ceremony programme"],une=[{value:"3.5M+",label:"Public Votes Cast",sub:"Across all NFA ceremonies",color:"from-[#C9A84C] to-[#E8A500]",icon:$t},{value:"Millions",label:"Total Views",sub:"Across all partner features",color:"from-[#0066CC] to-[#0096FF]",icon:ko},{value:"50+",label:"Countries Reached",sub:"Global broadcast & online reach",color:"from-[#2E7D32] to-[#4CAF50]",icon:Gn},{value:"12th",label:"Annual Ceremony",sub:"A decade of cinematic excellence",color:"from-[#E63946] to-[#FF6B6B]",icon:Kn}],hne=[{slug:"darian-didier",name:"Darian Didier",role:"Official Bronze Sponsor · Best Supporting Actress in a TV Series",edition:"12th Annual · NFA 2026 · 10 April 2026",color:"#8B7355",image:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/f7d6a4d8b_DarianDidier3.png",quote:{text:"I am truly honoured to return as a Bronze Sponsor for the 12th Annual National Film Awards. The Darian Didier Collection is designed for the woman embracing her feminine evolution, where allure meets quiet confidence.",author:"Darian Didier · Designer & Founder"},stats:[{value:"Bronze",label:"Sponsor Tier"},{value:"2nd Year",label:"Partnership"},{value:"1 July",label:"Ceremony"}],excerpt:"The celebrated fashion designer and creative force behind the Darian Didier Collection returns as Bronze Sponsor, championing the Best Supporting Actress in a TV Series category at the 12th Annual National Film Awards."},{slug:"island-falls-home",name:"Island Falls Home",role:"Official Bronze Sponsor · Best Documentary / Docu-Series",edition:"12th Annual · NFA 2026",color:"#8B7355",image:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/f304a5b04_Lifestyle_TABLEAI_V6.jpg",quote:{text:"We are honoured to be part of the National Film Awards 2026 and to support the Best Documentary / Docu-Series category. Documentary filmmaking, like the art of the Zen garden, is about looking at the world with genuine attention and finding the story that others have missed.",author:"James Paveley, Island Falls Home"},stats:[{value:"Bronze",label:"Sponsor Tier"},{value:"Best Doc",label:"Category"},{value:"2017",label:"Founded"}],excerpt:"Island Falls Home â the British family business behind premium Japanese-inspired Zen Garden kits â joins the 12th Annual National Film Awards as Official Bronze Sponsor of the Best Documentary / Docu-Series category."},{slug:"leger-holidays-2026",customLink:"/leger-holidays-2026",name:"Leger Holidays",role:"Official Sponsor · Best British Film",edition:"12th Annual · NFA 2026 · 3rd Year Partner",color:"#1C2B3A",image:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/ef488e0f6_luxuria-coach-in-tuscany-39683.jpg",quote:{text:"Three years in, and our passion for this partnership has only grown stronger. Just as film has the extraordinary ability to take an audie
873nce on a journey â travel does exactly the same.",author:"Liam Race, CEO, Leger Holidays"},stats:[{value:"3rd Year",label:"Partnership"},{value:"40+",label:"Years Experience"},{value:"Best British",label:"Film Category"}],excerpt:"Leger Holidays returns for a third consecutive year as Official Sponsor of the Best British Film category at the 12th Annual National Film Awards â a partnership built on shared values and the transformative power of experience."},{slug:"alstelle",name:"Alstelle",role:"Official Bronze Category Sponsor",edition:"12th Annual · NFA 2026",color:"#2D5A27",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/3b18b5faf_Alstelle_Photo99_071025.jpg",quote:{text:"Alstelle is proud to partner with the 2026 National Film Awards, celebrating a shared appreciation for artistry, craftsmanship, and elevated storytelling.",author:"Alexandria Solorzano, CEO & Founder of Alstelle"},stats:[{value:"Vegan",label:"Formulations"},{value:"Small Batch",label:"Crafted"},{value:"Clean",label:"Luxury"}],excerpt:"Where Ritual Meets Recognition. Clean luxury beauty grounded in performance and purpose joins the 12th Annual National Film Awards 2026 as Official Bronze Category Sponsor."},{slug:"imean-beauty",name:"IMEAN BEAUTY",role:"Official Bronze Category Sponsor",edition:"12th Annual · NFA 2026 · Returning Partner",color:"#1A1A1A",image:"https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=800&q=80",quote:{text:"I believe that skincare should be authentic, simple and impactful.",author:"Sarah Choi, Founder of IMEAN BEAUTY"},stats:[{value:"27",label:"Years Expertise"},{value:"Vegan",label:"Collagen Peptides"},{value:"2nd Year",label:"Partnership"}],excerpt:"IMEAN BEAUTY returns for a second consecutive year as Official Bronze Category Sponsor of the 12th Annual National Film Awards 2026. 27 years of clean, high-performance skincare formulated to European stability standards."},{slug:"wow-facial",name:"WOW Facial",role:"Official Bronze Sponsor",edition:"11th Annual · NFA 2025",color:"#E91E63",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/8c90c4b5c_WOWFacial.png",quote:{text:"We are thrilled to collaborate with the National Film Awards, an event that celebrates creativity, talent, diversity, and outstanding achievements.",author:"Claire Williams, CEO & Founder of WOW Facial"},stats:[{value:"3.2k",label:"Views"},{value:"6",label:"Treatment Stages"},{value:"2019",label:"Founded"}],excerpt:"Launched in 2019 by Claire Williams, WOW Facial is renowned for its signature six-stage hyper-personalised skin treatments. Industry-award winning. Official Bronze Sponsor NFA 2025."},{slug:"fiji-water",name:"FIJI Water",role:"Official Bronze Sponsor",edition:"9th Annual · NFA 2023",color:"#0066CC",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/5e8ae311c_fijiwater.jpg",quote:{text:"We are thrilled to join the National Film Awards UK to celebrate this year's top talent with our new 100% recycled plastic bottles.",author:"Wai Mei Lee, VP International, FIJI Water"},stats:[{value:"158.8k",label:"Views"},{value:"100%",label:"Recycled Plastic"},{value:"2025",label:"Full rPET Transition"}],excerpt:"FIJI Water, artesian water from the Fiji Islands, returned as Official Bronze Sponsor with its new 100% recycled plastic bottles â the first major UK event to showcase them."},{slug:"fattoria-la-vialla",name:"OliPhenolia",role:"Silver Sponsor",edition:"10th Anniversary · NFA 2024",color:"#2D5016",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/a721d489e_oliphenolia-header-2023.jpg",quote:{text:"Farming and film both require incredible dedication, perseverance and commitment. We are delighted to present OliPhenolia demeter certified agri-cosmetics.",author:"Gianni, Antonio & Bandino Lo Franco, Fattoria La Vialla"},stats:[{value:"127k",label:"Views"},{value:"45+",label:"Years Biodynamic"},{value:"3 Gold",label:"Awards 2023"}],excerpt:"A regenerative Tuscan farm with over 45 years of biodynamic practice. OliPhenolia's Intensive Serum won Overall Champion at the Global Beauty & Wellness Awards 2023."},{slug:"leger-holidays",name:"Leger Holidays",role:"Official Sponsor",edition:"10th Anniversary · NFA 2024",color:"#0055AA",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/cab847bc7_ledgers.jpg",quote:{text:"We're absolutely thrilled to be an official sponsor. It is a great honour to supp
873ort the remarkable work of the creative industries.",author:"Liam Race, CEO of Leger Shearings Group"},stats:[{value:"20k",label:"Views"},{value:"40+",label:"Years Experience"},{value:"Multi",label:"Award Winning"}],excerpt:"The UK's leading escorted holiday provider. 40+ years of award-winning expertise taking guests across Europe and worldwide â Official Sponsor of the 10th Anniversary NFA 2024."},{slug:"vapiano",name:"Vapiano",role:"Official Restaurant Partner",edition:"11th Annual · NFA 2022",color:"#E63946",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/e3c02611b_Vapiano10452-1-750x450.jpg",quote:{text:"Vapiano revolutionised the restaurant business with open kitchens where talented chefs cook handmade fresh pasta to order right in front of guests.",author:"Italian Dining Excellence"},stats:[{value:"77.4k",label:"Views"},{value:"6",label:"Nominees"},{value:"Best Drama",label:"Category"}],excerpt:"Launched in 2002 in Hamburg, Vapiano transformed casual dining with open kitchens and handmade pasta. UK partner and Best Drama category sponsor at the 11th Annual NFA 2022."},{slug:"heineken",name:"Heineken",role:"Official Beer Sponsor",edition:"5th Anniversary · NFA 2019",color:"#1e3a5f",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/3e7d93e43_HEINEKEN.jpg",quote:{text:"HEINEKEN is the UK's leading pub, cider and beer company, home to iconic brands including Strongbow, Bulmers, Heineken®, Foster's, Kronenbourg 1664 and Desperados.",author:"Brewing Excellence Since 1873"},stats:[{value:"453k",label:"Views"},{value:"6",label:"Iconic Brands"},{value:"2,900",label:"UK Pubs"}],excerpt:"The UK's leading pub and beer company with 6 iconic brands and 2,900 pubs. Official Beer Sponsor of the 5th Anniversary NFA 2019, featuring the launch of Heineken 0.0."},{slug:"sabrhero",name:"SABRHERO",role:"Bronze Category Sponsor",edition:"9th Annual · NFA 2023",color:"#2E7D32",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/11d002094_SABRHERO-FIRST-PAGE-750x450-1.jpg",quote:{text:"SABRHERO is a British luxury sports brand combining style and performance. Founded by former international tennis player Alpha Ambaye.",author:"Reveal Your Inner Hero"},stats:[{value:"6.6k",label:"Views"},{value:"150+",label:"Players Tested"},{value:"80+",label:"Rackets Tested"}],excerpt:"British luxury sports brand founded by international tennis champion Alpha Ambaye. Rigorous testing with 150+ players. Bronze Category Sponsor NFA 2023."},{slug:"denman",name:"Denman",role:"Bronze Category Sponsor",edition:"8th Annual · NFA 2022",color:"#C41E3A",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6a89fa4da_Denman.jpg",quote:{text:"Started by an innovator more than 80 years ago, the iconic Denman brand remains a leading light in haircare today. Hair Brilliance for everyone.",author:"From Family Innovation to Global Excellence"},stats:[{value:"3.9k",label:"Views"},{value:"60+",label:"Countries"},{value:"80+",label:"Years"}],excerpt:"80+ years of Hair Brilliance. Trusted by Vidal Sassoon. The world-famous D3 Original Styler trusted in 60+ countries. Bronze Category Sponsor, Best TV Drama Series NFA 2022."},{slug:"pure-beauty-collagen",name:"Pure Beauty Collagen",role:"Bronze Sponsor",edition:"NFA 2023",color:"#FF1493",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/8c8fe2fe5_purebeauty.png",quote:{text:"Pure Beauty Collagen offers high-quality marine collagen supplements to promote skin hydration and accelerate skin recovery.",author:"Founded 2019 by Miss Anne Cruz"},stats:[{value:"6.2k",label:"Views"},{value:"2",label:"Product Lines"},{value:"Japan",label:"Manufactured"}],excerpt:"Founded in 2019, Pure Beauty Collagen's marine collagen supplements are manufactured in Japan and have won multiple industry awards. Bronze Sponsor NFA 2023."},{slug:"collagin",name:"CollaGin",role:"Official Gin Partner",edition:"8th Anniversary · NFA 2018",color:"#C9999D",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/983d50fa1_CollaGin-NFAs-Advert-3MM-BLEED-REV3-pdf.jpg",quote:{text:"Deliciously smooth and impeccably fragrant, CollaGin is the original gin with added collagen, combining spirits with pure collagen for a unique experience.",author:"Young In Spirit"},stats:[{value:"2.3k",label:"Views"},{value:"11",label:"Botanicals"},{value:"Best Indie",label:"Category"}],excerpt:"World's first gin infused with pure collagen. 11 delicate botanicals. Official Gin Partner and Best Independent Film category sponsor at NFA 2018."},{slug:"instantprint",name:"instantprint",role:"Official Partner",edition:"8th Anniversary · NFA 2018",color:"#2D7D3F",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/5422af010_INSTAPRINT.png",quote:{text:"instantprint specializes in producing business cards, posters, flyers and leaflets with technology, innovation and world class customer service.",author:"Professional Printing Excellence"},stats:[{value:"3.1k",label:"Views"},{value:"UK #1",label:"Online Printer"},{value:"Best Doc",label:"Category"}],excerpt:"The UK's leading online print provider. State-of-the-art digital printing, industry-leading speed. Best Documentary category sponsor at NFA 2018."},{slug:"avlon",name:"Avlon",role:"Official Partner",edition:"4th Annual · NFA 2018",color:"#8B6B9D",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/f2fcb6c98_Avlon.png",quote:{text:"Avlon Industries is a US-based formulator of premium haircare, responsible for the most widely used professional haircare products for women of African descent.",author:"Founded 1984 by Dr Ali N. Syed"},stats:[{value:"2.3k",label:"Views"},{value:"1984",label:"Founded"},{value:"Thriller",label:"Category"}],excerpt:"Founded in 1984 by Master Chemist Dr Ali N. Syed. International leader in professional haircare for diverse textures. Best Thriller category sponsor NFA 2018."},{slug:"elevatione",name:"Ãlévatione",role:"Official Skin Care Partner",edition:"8th Anniversary · NFA 2018",color:"#8B7355",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/22ea40556_elevatione.jpg",quote:{text:"Time is not constant. It can be manipulated, stretched, stopped or even reversed...",author:"Inspired by Salvador DalÃ"},stats:[{value:"2.4k",label:"Views"},{value:"12",label:"Boutiques Worldwide"},{value:"2018",label:"NFA Partner"}
873],excerpt:"Premium skin care inspired by Salvador DalÃ's philosophy of time. Patented technology and hand-made herbal infusions. 12 boutiques worldwide. Official Skin Care Partner NFA 2018."},{slug:"thomas-henry",name:"Thomas Henry",role:"Official Partner",edition:"8th Anniversary · NFA 2018",color:"#D4AF37",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/04af55407_thomashenry.jpg",quote:{text:"Premium German soft drinks brought to the world of gastronomy â from Berlin's bitter lemonade experts to VIP experiences worldwide.",author:"Tonic Water Excellence"},stats:[{value:"1.9k",label:"Views"},{value:"2010",label:"Founded Berlin"},{value:"Premium",label:"Tonic Water"}],excerpt:"Founded in Berlin in 2010, Thomas Henry crafts premium soft drinks beloved by the world's finest cocktail bars. Official Partner NFA 2018."},{slug:"gold-collagen",name:"GOLD COLLAGEN®",role:"Best Actress Category Sponsor",edition:"2nd Annual · NFA 2016",color:"#E8A500",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/12885e8c2_GoldCollagen.jpg",quote:{text:"Gold Collagen strengthened their commitment by acquiring naming rights to the Best Actress category â one of the most prestigious of the evening.",author:"Premium Beauty Partnership"},stats:[{value:"2.2k",label:"Views"},{value:"20x",label:"More Effective"},{value:"Best Actress",label:"Category"}],excerpt:"Patented liquid beauty supplement, 20x more effective than topical collagen creams. Best Actress category sponsor with nominees including Marion Cotillard and Carey Mulligan."},{slug:"metcalfes-skinny",name:"Metcalfe's Skinny",role:"Official Popcorn Sponsor",edition:"10th Anniversary · NFA 2016",color:"#C9A84C",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/0c53f060a_Metcalfes-skinny-impulse-range.jpg",quote:{text:"Popcorn and movies go hand in hand so naturally we are delighted to be sponsoring 'Best British Film 2016' at this year's National Film Awards.",author:"Max Rees, Managing Director"},stats:[{value:"2.1k",label:"Views"},{value:"8+",label:"Nominees"},{value:"67%",label:"Less Sugar"}],excerpt:"UK's #1 premium cinema snack brand. Largest distribution of any ready-to-eat premium brand in UK cinemas. Official Popcorn Sponsor and Best British Film category sponsor NFA 2016."},{slug:"havaianas",name:"Havaianas",role:"Bronze Sponsor",edition:"8th Annual · NFA 2022",color:"#E8001D",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/c0afd686b_Havaianas-Red-Oval-Logo-1536x1086-1-750x450.jpg",quote:{text:"Havaianas is excited to sponsor this year's National Film Awards. Our roots might be in Brazil but we are huge fans of the British film industry, and one day we might even see our iconic flip flops on the red carpet â never say never!",author:"Sophie Paget, Marketing Manager, Havaianas UK"},stats:[{value:"1.6k",label:"Views"},{value:"1962",label:"Founded"},{value:"Bronze",label:"NFA 2022"}],excerpt:"The original, iconic flip flop brand from Brazil since 1962. Quality, comfort and freedom â Havaianas joined the 8th Annual National Film Awards at Porchester Hall, London, 4th July 2022."},{slug:"o2",name:"O2",role:"Official Sponsor",edition:"1st Annual · NFA 2015",color:"#0066CC",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/ceeb252dc_NFAO2.png",quote:{text:"O2's commitment to entertainment and live experiences makes them a natural partner for the Awards.",author:"National Film Awards UK"},stats:[{value:"2.5k",label:"Views"},{value:"30M+",label:"Customers"},{value:"12",label:"Categories"}],excerpt:"30M+ UK customers. A champion of live entertainment and cultural experiences. Official Sponsor of the inaugural National Film Awards UK ceremony 2015."}];
873function fne(){const[e,t]=B.useState(null);return a.jsxs("div",{className:"overflow-x-hidden",children:[a.jsx("style",{children:` 874 @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } } 875 .marquee-inner { animation: marquee 28s linear infinite; } 876 .marquee-inner:hover { animation-play-state: paused; } 877 `}),a.jsxs("section",{className:"relative min-h-[92vh] flex flex-col justify-center bg-[#0D0D0D] overflow-hidden pt-24",children:[a.jsx("div",{className:"absolute inset-0 opacity-5",style:{backgroundImage:"radial-gradient(circle, #C9A84C 1px, transparent 1px)",backgroundSize:"40px 40px"}}),a.jsx("div",{className:"absolute top-1/4 left-1/4 w-96 h-96 bg-[#C9A84C]/10 rounded-full blur-3xl"}),a.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-64 h-64 bg-[#E8A500]/10 rounded-full blur-3xl"}),a.jsxs("div",{className:"relative z-10 max-w-[1400px] mx-auto px-6 lg:px-10 text-center",children:[a.jsxs(V.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},children:[a.jsxs("div",{className:"inline-flex items-center gap-2 px-5 py-2 bg-[#C9A84C]/10 border border-[#C9A84C]/30 rounded-full mb-8",children:[a.jsx(Sn,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsx("span",{className:"text-[#C9A84C] text-xs font-bold tracking-[0.3em] uppercase",children:"12th Annual · 1 July 2026 · London"})]}),a.jsxs("h1",{className:"font-editorial text-5xl sm:text-6xl lg:text-8xl font-bold text-white mb-6 leading-none",children:["Partner with",a.jsx("br",{}),a.jsx("span",{className:"bg-gradient-to-r from-[#C9A84C] via-[#F0D882] to-[#E8A500] bg-clip-text text-transparent",children:"Prestige"})]}),a.jsx("p",{className:"text-white/50 text-lg lg:text-xl max-w-2xl mx-auto mb-12 leading-relaxed",children:"Align your brand with the world's most publicly voted film awards â where cinematic excellence meets unrivalled audience reach."}),a.jsxs("div",{className:"flex flex-wrap gap-4 justify-center mb-16",children:[a.jsxs("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-2 px-8 py-4 bg-gradient-to-r from-[#C9A84C] to-[#E8A500] text-black font-bold rounded-full text-sm tracking-wide hover:shadow-2xl hover:shadow-[#C9A84C]/40 transition-all",children:["Become a Partner ",a.jsx(bt,{className:"w-4 h-4"})]}),a.jsx("a",{href:"#stories",className:"inline-flex items-center gap-2 px-8 py-4 border border-white/20 text-white/70 hover:text-white hover:border-white/40 rounded-full text-sm tracking-wide transition-all",children:"View Partner Stories"})]})]}),a.jsx(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4},className:"grid grid-cols-2 lg:grid-cols-4 gap-4 max-w-3xl mx-auto",children:[{n:"3.5M+",l:"Public Votes"},{n:"Millions",l:"Total Views"},{n:"50+",l:"Countries"},{n:"15+",l:"Partners"}].map(r=>a.jsxs("div",{className:"bg-white/5 border border-white/10 rounded-2xl py-5 px-4 backdrop-blur-sm",children:[a.jsx("p",{className:"font-editorial text-3xl font-bold text-[#C9A84C]",children:r.n}),a.jsx("p",{className:"text-white/40 text-xs mt-1 uppercase tracking-wider",children:r.l})]},r.l))})]}),a.jsx("div",{className:"mt-16 overflow-hidden border-t border-b border-white/5 py-4",children:a.jsx("div",{className:"marquee-inner flex gap-12 whitespace-nowrap",children:[...ym,...ym].map((r,n)=>a.jsx("span",{className:"text-white/20 text-sm font-bold tracking-[0.3em] uppercase",children:r},n))})})]}),a.jsx("section",{className:"py-16 bg-[#111]",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-4",children:une.map((r,n)=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.1},className:`relative overflow-hidden rounded-2xl p-6 bg-gradient-to-br ${r.color} text-white`,children:[a.jsx(r.icon,{className:"w-8 h-8 opacity-20 absolute top-4 right-4"}),a.jsx("p",{className:"font-editorial text-4xl font-bold mb-1",children:r.value}),a.jsx("p",{className:"font-bold text-sm mb-1",children:r.label}),a.jsx("p",{className:"text-white/60 text-xs",children:r.sub})]},r.label))})})}),a.jsx("section",{id:"current",className:"py-20 bg-gradient-to-b from-[#0D0D0D] to-[#1A1A1A]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"text-center mb-14",children:[a.jsx("div",{className:"inline-block px-5 py-2 bg-[#C9A84C]/10 border border-[#C9A84C]/30 rounded-full mb-4",children:a.jsx("span",{className:"text-[#C9A84C] text-xs font-bold tracking-[0.3em] uppercase",children:"12th Annual NFA 2026"})}),a.jsxs("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white",children:["Official ",a.jsx("span",{className:"text-[#C9A84C]",children:"Partners"})]})]}),hj.filter(r=>r.tier==="Platinum").map((r,n)=>a.jsx(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mb-6",children:a.jsxs(He,{to:at(`SponsorArticle?sponsor=${r.slug}`),className:"relative rounded-3xl overflow-hidden border-2 border-[#C9A84C] group block cursor-pointer",children:[a.jsx("div",{className:"h-56 overflow-hidden",children:a.jsx("img",{src:r.image,alt:r.name,className:"w-full h-full object-cover object-top group-hover:scale-105 transition-transform duration-700 brightness-50"})}),a.jsxs("div",{className:"absolute inset-0 flex items-center justify-between p-10",children:[a.jsxs("div",{children:[a.jsx("span",{className:"inline-block px-4 py-1 bg-gradient-to-r from-[#C9A84C] to-[#E8A500] text-black text-xs font-black uppercase tracking-widest rounded-full mb-3",children:"Platinum Partner"}),a.jsx("h3",{className:"font-editorial text-4xl font-bold text-white",children:r.name}),a.jsx("p",{className:"text-white/60 mt-2 max-w-sm",children:r.desc}),a.jsx("p",{className:"text-[#C9A84C] text-xs mt-3 font-semibold opacity-0 group-hover:opacity-100 transition-opacity",children:"Read full story â"})]}),a.jsx(It,{className:"w-16 h-16 text-[#C9A84C]/30"})]})]})},r.name)),a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:hj.filter(r=>r.tier!=="Platinum").map((r,n)=>{const s=r.customLink||r.slug,i=s?He:"div",o=s?{to:r.customLink||at(`SponsorArticle?sponsor=${r.slug}`)}:{};return a.jsx(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.1},children:a.jsxs(i,{...o,className:`relative rounded-2xl overflow-hidden border-2 group block ${s?"cursor-pointer":""}
877 ${r.tier==="Gold"?"border-[#E8A500]/50":"border-white/10"}`,children:[a.jsx("div",{className:"h-48 overflow-hidden",children:a.jsx("img",{src:r.image,alt:r.name,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700 brightness-60"})}),a.jsx("div",{className:"absolute inset-0 flex items-end p-6 bg-gradient-to-t from-black/80 to-transparent",children:a.jsxs("div",{className:"flex-1",children:[a.jsx("span",{className:`inline-block px-3 py-1 text-xs font-black uppercase tracking-widest rounded-full mb-2 ${r.tier==="Gold"?"bg-[#E8A500] text-black":"bg-white/10 text-white border border-white/20"}`,children:r.tier}),a.jsx("h3",{className:"font-editorial text-2xl font-bold text-white",children:r.name}),a.jsx("p",{className:"text-white/50 text-sm mt-1",children:r.desc}),s&&a.jsx("p",{className:"text-[#C9A84C] text-xs mt-2 font-semibold opacity-0 group-hover:opacity-100 transition-opacity",children:"Read full story â"})]})})]})},r.name)})})]})}),a.jsx("section",{className:"py-20 bg-gradient-to-br from-[#C9A84C] via-[#E8A500] to-[#D4AF37]",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:a.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[a.jsxs("div",{children:[a.jsxs("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-black mb-4",children:["Why Partner with the",a.jsx("br",{}),"National Film Awards?"]}),a.jsx("p",{className:"text-black/60 text-lg mb-8 leading-relaxed",children:"More than a sponsorship â a cultural partnership that places your brand at the heart of British and international cinema."}),a.jsx("div",{className:"space-y-3",children:dne.map((r,n)=>a.jsxs(V.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:n*.08},className:"flex items-start gap-3 bg-black/10 rounded-xl px-4 py-3",children:[a.jsx(an,{className:"w-5 h-5 text-black/70 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-black/80 text-sm font-medium",children:r})]},n))}),a.jsxs("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-2 mt-8 px-8 py-4 bg-black text-[#C9A84C] font-bold rounded-full text-sm hover:bg-black/80 transition-all",children:["Partnership Enquiries ",a.jsx(bt,{className:"w-4 h-4"})]})]}),a.jsx("div",{className:"grid grid-cols-2 gap-4",children:[{n:"Heineken",v:"453k views"},{n:"FIJI Water",v:"158.8k views"},{n:"OliPhenolia",v:"127k views"},{n:"Vapiano",v:"77.4k views"},{n:"Leger Holidays",v:"20k views"},{n:"SABRHERO",v:"6.6k views"}].map((r,n)=>a.jsxs(V.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:n*.06},className:"bg-black/15 rounded-2xl p-5 backdrop-blur-sm border border-black/10",children:[a.jsx("p",{className:"font-editorial text-lg font-bold text-black",children:r.n}),a.jsxs("p",{className:"text-black/60 text-sm flex items-center gap-1 mt-1",children:[a.jsx(ko,{className:"w-3 h-3"})," ",r.v]})]},r.n))})]})})}),a.jsx("section",{id:"stories",className:"py-20 bg-[#F8F6F1]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"text-center mb-14",children:[a.jsx("div",{className:"inline-block px-5 py-2 bg-[#C9A84C]/10 border border-[#C9A84C]/30 rounded-full mb-4",children:a.jsx("span",{className:"text-[#C9A84C] text-xs font-bold tracking-[0.3em] uppercase",children:"Academy News"})}),a.jsxs("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-[#1A1A1A]",children:["Sponsor ",a.jsx("span",{style:{color:"#C9A84C"},children:"Stories"})]}),a.jsx("p",{className:"text-[#8A8578] mt-3 max-w-xl mx-auto",children:"Each partnership brings a unique story. Explore the brands that have shared our stage."})]}),a.jsx("div",{className:"space-y-10",children:hne.map((r,n)=>a.jsx(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},className:"bg-white rounded-3xl overflow-hidden shadow-sm hover:shadow-xl transition-shadow duration-300 border border-[#E8D5A0]/30",children:a.jsxs("div",{className:"grid lg:grid-cols-2",children:[a.jsxs("div",{className:"p-8 lg:p-10 flex flex-col justify-between",children:[a.jsxs("div",{children:[a.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[a.jsx("div",{className:"w-1 h-10 rounded-full",style:{background:r.color}}),a.jsxs("div",{children:[a.jsx("p",{className:"text-xs font-black tracking-[0.25em] uppercase text-[#8A8578]",children:r.edition}),a.jsx("p",{className:"text-xs font-semibold mt-0.5",style:{color:r.color},children:r.role})]})]}),a.jsxs("h3",{className:"font-editorial text-3xl lg:text-4xl font-bold text-[#1A1A1A] leading-tight mb-5",children:[r.name," ",a.jsxs("span",{className:"text-[#8A8578] font-normal text-2xl",children:["â ",r.role]})]}),a.jsxs("div",{className:"bg-[#F8F6F1] rounded-2xl p-5 border-l-4 mb-6",style:{borderColor:r.color},children:[a.jsxs("p",{className:"text-[#1A1A1A] text-sm leading-relaxed italic",children:['"',r.quote.text,'"']}),a.jsxs("p",{className:"text-xs font-bold mt-3",style:{color:r.color},children:["â ",r.quote.author]})]}),a.jsx("div",{className:"grid grid-cols-3 gap-3 mb-6",children:r.stats.map((s,i)=>a.jsxs("div",{className:"text-center p-3 rounded-xl border",style:{borderColor:`${r.color}30`,background:`${r.color}08`},children:[a.jsx("p",{className:"font-editorial text-lg font-bold",style:{color:r.color},children:s.value}),a.jsx("p",{className:"text-[10px] text-[#8A8578] mt-0.5 uppercase tracking-wider",children:s.label})]},i))}),a.jsx("p",{className:"text-[#5A5A5A] text-sm leading-relaxed",children:r.excerpt})]}),a.jsxs(He,{to:r.customLink||at(`SponsorArticle?sponsor=${r.slug}`),className:"inline-flex items-center gap-2 mt-6 font-bold text-sm hover:gap-3 transition-all",style:{color:r.color},children:["Read Full Story ",a.jsx(bt,{className:"w-4 h-4"})]})]}),a.jsxs("div",{className:"relative h-64 lg:h-auto overflow-hidden",children:[a.jsx("img",{src:r.image,alt:r.name,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-700"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-l from-transparent to-white/10"})]})]})},r.slug))})]})}),a.jsxs("section",{className:"py-10 bg-[#111] border-t border-white/5",children:[a.jsx("div",{className:"text-center mb-6",children:a.jsx("p",{className:"text-white/20 text-xs font-bold tracking-[0.4em] uppercase",children:"Heritage Partners"})}),a.jsx("div",{className:"overflow-hidden",children:a.jsx("div",{className:"marquee-inner flex gap-16 whitespace-nowrap",children:[...ym,...ym].map((r,n)=>a.jsx("span",{className:"text-white/25 text-base font-bold tracking-widest uppercase hover:text-[#C9A84C] transition-colors cursor-default",children:r},n))})})]}),a.jsxs("section",{id:"cta",className:"py-24 bg-gradient-to-b from-[#1A1A1A] to-[#0D0D0D] relative overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 opacity-5",style:{backgroundImage:"radial-gradient(circle, #C9A84C 1px, transparent 1px)",backgroundSize:"50px 50px"}}),a.jsx("div",{className:"relative max-w-[900px] mx-auto px-6 text-center",children:a.jsxs(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx(Sn,{className:"w-8 h-8 text-[#C9A84C] mx-auto mb-6"}),a.jsxs("h2",{className:"font-editorial text-4xl lg:text-6xl font-bold text-white mb-6",children:["Ready to Join",a.jsx("br",{}),a.jsx("span",{className:"text-[#C9A84C]",children:"Our Legacy?"})]}),a.jsx("p",{className:"text-white/40 text-lg max-w-lg mx-auto mb-10 leading-relaxed",children:"Partner with the 12th Annual National Film Awards 2026. Limited sponsorship tiers available. Enquire today to secure your category."}),a.jsxs("div",{className:"flex flex-wrap gap-4 justify-center",children:[a.jsxs("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-2 px-10 py-5 bg-gradient-to-r from-[#C9A84C] via-[#E8A500] to-[#F0D882] text-black font-black rounded-full text-sm tracking-wide hover:shadow-2xl hover:shadow-[#C9A84C]/40 transition-all",children:["Partnership Enquiries ",a.jsx(bt,{className:"w-5 h-5"})]}),a.jsx("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-2 px-10 py-5 border-2 border-white/10 text-white/50 hover:text-white hover:border-white/30 rounded-full text-sm font-bold tracking-wide transition-all",children:"Press Enquiries"})]})]})})]})]})}const fj=[{id:"standard",name:"Awards â Standard Seats",price:"£199",unit:"per person",features:["Ceremony Attendance","Standard Seating","Certificate of Attendance"],bookUrl:"mailto:[email protected]?subject=Standard Ticket Enquiry",featured:!1,tableOf10:!1},{id:"awards-only",name:"Awards Only",price:"£299",unit:"per person",features:["Pri
877ority VIP Seating","VIP Pre-Show Lounge","Wine Reception","Exclusive Gift Bag","Photo Opportunity"],bookUrl:"mailto:[email protected]?subject=Awards Only VIP Ticket Enquiry",featured:!0,tableOf10:!1,badge:"Most Popular"},{id:"awards-afterparty",name:"Awards & Afterparty",price:"£349",unit:"per person",features:["Priority VIP Seating","VIP Pre-Show Lounge","Wine Reception","Exclusive Gift Bag","Afterparty Access"],bookUrl:"mailto:[email protected]?subject=Awards & Afterparty Ticket Enquiry",featured:!1,tableOf10:!1},{id:"table-awards",name:"Table of 10 â Awards Only",price:"£2,999",unit:"table of 10",seats:10,features:["Full Table of 10","Premium Table Position","Dedicated Host","Wine Service","Brand Visibility"],bookUrl:"mailto:[email protected]?subject=Table of 10 (Awards Only) Enquiry",featured:!1,tableOf10:!0},{id:"table-afterparty",name:"Table of 10 â Awards & Afterparty",price:"£3,490",unit:"table of 10",seats:10,features:["Full Table of 10","Premium Table Position","Dedicated Host","Wine Service","Afterparty Access for All"],bookUrl:"mailto:[email protected]?subject=Table of 10 (Awards & Afterparty) Enquiry",featured:!1,tableOf10:!0}],mne=["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/8b9a1b3ec__V7A5269.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/40237273e__V7A5514.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/360461940_503475885_3953610284890542_3189969820215366845_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/ed0057623_BV7A5729.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/6d6d5b8ad_503356460_3953610401557197_96857310345810940_n.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/c49fdafbd__V7A5381.jpg","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/e52f42b78_503578327_3953610734890497_22480419277452005_n.jpg"],pne=new Date("2026-07-01T19:00:00");function gne(e){const t=()=>{const s=e-new Date;return s<=0?{days:0,hours:0,mins:0,secs:0}:{days:Math.floor(s/864e5),hours:Math.floor(s%864e5/36e5),mins:Math.floor(s%36e5/6e4),secs:Math.floor(s%6e4/1e3)}},[r,n]=B.useState(t);return B.useEffect(()=>{const s=setInterval(()=>n(t()),1e3);return()=>clearInterval(s)},[]),r}function bm({value:e,label:t}){return a.jsxs("div",{className:"flex flex-col items-center",children:[a.jsx("div",{className:"bg-white/10 backdrop-blur-sm border border-white/20 rounded-xl px-4 py-3 min-w-[72px] text-center",children:a.jsx("span",{className:"font-editorial text-4xl lg:text-5xl font-black text-white leading-none",children:String(e).padStart(2,"0")})}),a.jsx("span",{className:"text-white/60 text-[10px] font-black tracking-[0.2em] uppercase mt-2",children:t})]})}const xne=[{status:"done",label:"Nominations Open",date:"Now Open"},{status:"upcoming",label:"Nominees Announced",date:"4 May 2026"},{status:"upcoming",label:"Public Voting",date:"MayâJune 2026"},{status:"upcoming",label:"The Ceremony",date:"1 July 2026"}];function yne(){const{days:e,hours:t,mins:r,secs:n}=gne(pne),[s,i]=B.useState(null);return a.jsxs("div",{className:"pt-0",children:[a.jsxs("section",{className:"relative min-h-screen flex items-end pb-20 lg:pb-28",style:{backgroundImage:"url(https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/229675ea1__V7A5280.jpg)",backgroundSize:"cover",backgroundPosition:"center top"},children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/85 via-black/40 to-black/20"}),a.jsx("div",{className:"relative z-10 max-w-[1400px] mx-auto px-6 lg:px-12 w-full",children:a.jsxs(V.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},children:[a.jsx("p",{className:"text-[#D4AF37] text-[11px] font-black tracking-[0.35em] uppercase mb-5",children:"The 12th Annual Ceremony · 1 July 2026 · Central London"}),a.jsxs("h1",{className:"font-editorial text-6xl sm:text-7xl lg:text-8xl font-black text-white leading-none mb-8",children:["National Film",a.jsx("br",{}),a.jsx("span",{className:"text-[#D4AF37]",children:"Awards 2026"})]}),a.jsx("p",{className:"text-white/70 text-sm font-black tracking-[0.2em] uppercase mb-4",children:"Ceremony Begins In"}),a.jsxs("div",{className:"flex items-end gap-3 mb-10",children:[a.jsx(bm,{value:e,label:"Days"}),a.jsx("span",{className:"text-white/50 text-3xl font-bold mb-5",children:":"}),a.jsx(bm,{value:t,label:"Hours"}),a.jsx("span",{className:"text-white/50 text-3xl font-bold mb-5",children:":"}),a.jsx(bm,{value:r,label:"Mins"}),a.jsx("span",{className:"text-white/50 text-3xl font-bold mb-5",children:":"}),a.jsx(bm,{value:n,label:"Secs"})]}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsxs("a",{href:"#tickets",className:"inline-flex items-center gap-2 bg-[#D4AF37] hover:bg-[#B8941F] text-black font-black text-sm px-7 py-4 rounded-full transition-all",children:["Get Tickets ",a.jsx(es,{className:"w-4 h-4"})]}),a.jsx(He,{to:at("Nominate"),className:"inline-flex items-center gap-2 border-2 border-white/40 hover:border-white text-white font-black text-sm px-7 py-4 rounded-full transition-all",children:"Nominate"})]})]})})]}),a.jsx("section",{className:"bg-[#111] py-12",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-12",children:a.jsx("div",{className:"grid sm:grid-cols-3 gap-px bg-white/10",children:[{icon:Qt,top:"Date",main:"1 July 2026",sub:"Wednesday Evening"},{icon:da,top:"Location",main:"Central London",sub:"United Kingdom"},{icon:Qt,top:"Nominations Close",main:"4 May 2026",sub:"Nominees announced that day",badge:"Now Open"}].map((o,c)=>a.jsxs("div",{className:"bg-[#111] px-8 py-8 flex flex-col gap-1",children:[o.badge&&a.jsx("span",{className:"text-[#D4AF37] text-[10px] font-black tracking-widest uppercase mb-1",children:o.badge}),a.jsx("p",{className:"text-white/40 text-xs font-bold tracking-wider up
877percase",children:o.top}),a.jsx("p",{className:"text-white font-editorial text-2xl font-bold mt-1",children:o.main}),a.jsx("p",{className:"text-white/50 text-sm",children:o.sub})]},c))})})}),a.jsx("section",{className:"bg-[#D4AF37] py-5",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-12 flex flex-col sm:flex-row items-center justify-between gap-4",children:[a.jsx("p",{className:"font-black text-black text-lg",children:"Nominations Are Open · Nominees Announced 4 May 2026"}),a.jsxs(He,{to:at("Nominate"),className:"inline-flex items-center gap-2 bg-black text-white font-black text-sm px-6 py-3 rounded-full hover:bg-[#1A1A1A] transition-all",children:["Submit Nomination ",a.jsx(es,{className:"w-4 h-4"})]})]})}),a.jsxs("section",{className:"bg-[#0A0A0A] py-16",children:[a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-12 mb-10",children:[a.jsx("p",{className:"text-[#D4AF37] text-[10px] font-black tracking-[0.4em] uppercase mb-2",children:"The NFA Legacy"}),a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-black text-white",children:"Years of Cinematic Excellence"})]}),a.jsx("div",{className:"grid grid-cols-3 sm:grid-cols-4 lg:grid-cols-7 gap-1 px-1",children:mne.map((o,c)=>a.jsx("div",{className:"aspect-square overflow-hidden",children:a.jsx("img",{src:o,alt:"",className:"w-full h-full object-cover hover:scale-110 transition-transform duration-700"})},c))})]}),a.jsx("section",{className:"bg-[#111] py-16",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-12",children:[a.jsx("p",{className:"text-[#D4AF37] text-[10px] font-black tracking-[0.4em] uppercase mb-2",children:"Schedule"}),a.jsx("h2",{className:"font-editorial text-4xl font-black text-white mb-10",children:"The Road to 2026"}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-4",children:xne.map((o,c)=>a.jsxs("div",{className:`rounded-2xl p-6 border ${o.status==="done"?"border-[#D4AF37] bg-[#D4AF37]/10":"border-white/10 bg-white/5"}`,children:[a.jsx("span",{className:`text-[10px] font-black tracking-widest uppercase ${o.status==="done"?"text-[#D4AF37]":"text-white/30"}`,children:o.status==="done"?"Now Open":"Coming Soon"}),a.jsx("p",{className:"text-white/50 text-sm mt-3",children:o.date}),a.jsx("h3",{className:"text-white font-editorial text-xl font-bold mt-1",children:o.label})]},c))})]})}),a.jsx("section",{id:"tickets",className:"bg-[#0D0D0D] py-24",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-12",children:[a.jsxs("div",{className:"mb-14",children:[a.jsx("p",{className:"text-[#D4AF37] text-[10px] font-black tracking-[0.4em] uppercase mb-2",children:"Reserve Your Place"}),a.jsx("h2",{className:"font-editorial text-5xl font-black text-white mb-3",children:"Secure Your Place"}),a.jsx("p",{className:"text-white/50 max-w-xl",children:"Join us for the most anticipated evening in publicly voted cinema â 1 July 2026, Central London."})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5 mb-5",children:fj.filter(o=>!o.tableOf10).map(o=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:`rounded-2xl p-8 flex flex-col relative ${o.featured?"bg-[#D4AF37]":"bg-white/5 border border-white/10"}`,children:[o.badge&&a.jsx("span",{className:"absolute top-5 right-5 bg-black text-[#D4AF37] text-[9px] font-black tracking-wider uppercase px-3 py-1 rounded-full",children:o.badge}),a.jsx("p",{className:`text-sm font-bold mb-4 ${o.featured?"text-black/70":"text-white/50"}`,children:o.name}),a.jsx("div",{className:"mb-1",children:a.jsx("span",{className:`font-editorial text-5xl font-black ${o.featured?"text-black":"text-white"}`,children:o.price})}),a.jsx("p",{className:`text-xs font-bold mb-7 ${o.featured?"text-black/60":"text-white/30"}`,children:o.unit}),a.jsx("ul",{className:"space-y-3 flex-1 mb-8",children:o.features.map(c=>a.jsxs("li",{className:`flex items-start gap-3 text-sm ${o.featured?"text-black/80":"text-white/60"}`,children:[a.jsx(Fs,{className:`w-4 h-4 flex-shrink-0 mt-0.5 ${o.featured?"text-black":"text-[#D4AF37]"}`}),c]},c))}),a.jsx("button",{onClick:()=>i(o),className:`w-full text-center py-3.5 rounded-xl font-black text-sm transition-all ${o.featured?"bg-black text-white hover:bg-[#1A1A1A]":"bg-[#D4AF37] text-black hover:bg-[#C9A84C]"}`,children:"Book Now"})]},o.id))}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-5 mb-10",children:fj.filter(o=>o.tableOf10).map(o=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"rounded-2xl p-8 flex flex-col bg-white/5 border border-white/10",children:[a.jsx("p",{className:"text-white/50 text-sm font-bold mb-4",children:o.name}),a.jsxs("div",{className:"flex items-end gap-3 mb-1",children:[a.jsx("span",{className:"font-editorial text-5xl font-black text-white",children:o.price}),a.jsxs("span",{className:"text-white/30 text-xs font-bold mb-2 pb-1",children:["Ã",o.seats," seats"]})]}),a.jsx("p",{className:"text-white/30 text-xs font-bold mb-7",children:o.unit}),a.jsx("ul",{className:"space-y-3 flex-1 mb-8",children:o.features.map(c=>a.jsxs("li",{className:"flex items-start gap-3 text-sm text-white/60",children:[a.jsx(Fs,{className:"w-4 h-4 flex-shrink-0 mt-0.5 text-[#D4AF37]"}),c]},c))}),a.jsx("button",{onClick:()=>i(o),className:"w-full text-center py-3.5 rounded-xl font-black text-sm bg-[#D4AF37] text-black hover:bg-[#C9A84C] transition-all",children:"Book Table"})]},o.id))}),a.jsxs("div",{className:"flex items-center gap-3 text-white/40 text-sm",children:[a.jsx(En,{className:"w-4 h-4 text-[#D4AF37]"}),"For group bookings or bespoke packages, contact"," ",a.jsx("a",{href:"mailto:[email protected]",className:"text-[#D4AF37] hover:underline",children:"[email protected]"})]})]})}),s&&a.jsx(zT,{tier:s,onClose:()=>i(null)}),a.jsxs("section",{className:"relative py-32 overflow-hidden",style:{backgroundImage:"url(https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/20a839289_7f674117dd66ce7e0ac278b373a6cfdb.jpg)",backgroundSize:"cover",backgroundPosition:"center"},children:[a.jsx("div",{className:"absolute inset-0 bg-black/70"}),a.jsxs("div",{className:"relative z-10 max-w-[1400px] mx-auto px-6 lg:px-12 text-center",children:[a.jsx("p",{className:"text-[#D4AF37] text-[10px] font-black tracking-[0.4em] uppercase mb-4",children:"Nominees Announced 4 May 2026"}),a.jsxs("h2",{className:"font-editorial text-5xl lg:text-6xl font-black text-white mb-4",children:["Nominate Now.",a.jsx("br",{}),a.jsx("span",{className:"text-[#D4AF37]",children:"Shape Cinema History."})]}),a.jsx("p",{className:"text-white/60 max-w-lg mx-auto mb-10",children:"Cast your voice and help decide who takes home the most coveted awards in British cinema."}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsxs(He,{to:at("Nominate"),className:"inline-flex items-center gap-2 bg-[#D4AF37] hover:bg-[#B8941F] text-black font-black text-sm px-8 py-4 rounded-full transition-all",children:["Submit Nomination ",a.jsx(es,{className:"w-4 h-4"})]}),a.jsx("a",{href:"#tickets",className:"inline-flex items-center gap-2 border-2 border-white/40 hover:border-white text-white font-black text-sm px-8 py-4 rounded-full transition-all",children:"Get Tickets"})]})]})]})]})}
877function bne(){const[e,t]=B.useState(""),r=Do(),{data:n,isLoading:s}=vt({queryKey:["hero-videos"],queryFn:()=>Ce.entities.Video.list()}),i=n==null?void 0:n.find(u=>u.usage==="Hero Background"),o=cb({mutationFn:async u=>{i?await Ce.entities.Video.update(i.id,{video_url:u,usage:"Hero Background"}):await Ce.entities.Video.create({video_url:u,usage:"Hero Background"})},onSuccess:()=>{r.invalidateQueries({queryKey:["hero-videos"]}),r.invalidateQueries({queryKey:["hero-video"]}),t("")}}),c=cb({mutationFn:()=>Ce.entities.Video.delete(i.id),onSuccess:()=>{r.invalidateQueries({queryKey:["hero-videos"]}),r.invalidateQueries({queryKey:["hero-video"]})}}),d=()=>{e.trim()&&o.mutate(e.trim())};return a.jsx("div",{className:"min-h-screen bg-gradient-to-br from-[#FFFEF9] to-[#F5F0E8] py-20",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6",children:a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-white rounded-3xl shadow-2xl p-10",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("div",{className:"w-20 h-20 bg-gradient-to-br from-[#D4AF37] to-[#F0D882] rounded-full flex items-center justify-center mx-auto mb-6",children:a.jsx(O3,{className:"w-10 h-10 text-white"})}),a.jsx("h1",{className:"font-editorial text-4xl font-bold text-[#2D2D2D] mb-3",children:"Hero Video URL"}),a.jsx("p",{className:"text-[#5A5A5A] text-lg",children:"Paste a YouTube or direct video URL (no file size limit!)"})]}),(i==null?void 0:i.video_url)&&a.jsxs(V.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"mb-8 rounded-2xl overflow-hidden border-2 border-[#D4AF37]/20",children:[a.jsx("video",{src:i.video_url,className:"w-full h-64 object-cover",controls:!0}),a.jsxs("div",{className:"bg-gradient-to-r from-[#D4AF37]/10 to-transparent p-4 flex items-center justify-between",children:[a.jsxs("div",{className:"flex-1 mr-4",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[a.jsx(an,{className:"w-5 h-5 text-green-600"}),a.jsx("span",{className:"text-sm font-semibold text-[#2D2D2D]",children:"Video set successfully"})]}),a.jsx("p",{className:"text-xs text-[#5A5A5A] break-all",children:i.video_url})]}),a.jsx(Zt,{variant:"ghost",size:"sm",onClick:()=>c.mutate(),disabled:c.isPending,children:a.jsx(SA,{className:"w-4 h-4 text-red-500"})})]})]}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-sm font-semibold text-[#2D2D2D] mb-2",children:"Video URL"}),a.jsx(Bt,{type:"url",placeholder:"https://youtube.com/watch?v=... or direct .mp4 URL",value:e,onChange:u=>t(u.target.value),disabled:o.isPending,className:"h-12 text-base"})]}),a.jsxs(Zt,{onClick:d,disabled:!e.trim()||o.isPending,className:"w-full h-12 bg-[#D4AF37] hover:bg-[#B8941F] text-base font-semibold",children:[a.jsx(uI,{className:"w-5 h-5 mr-2"}),o.isPending?"Saving...":"Save Video URL"]}),o.isSuccess&&a.jsx(V.div,{initial:{opacity:0}
877,animate:{opacity:1},className:"p-4 bg-green-50 border border-green-200 rounded-xl text-center",children:a.jsx("p",{className:"text-green-800 font-semibold",children:"â Video URL saved!"})})]}),a.jsxs("div",{className:"mt-8 p-6 bg-red-50 border-2 border-red-200 rounded-xl",children:[a.jsx("h3",{className:"font-semibold text-red-900 mb-3",children:"â ï¸ YouTube videos cannot be used as background videos"}),a.jsx("p",{className:"text-sm text-red-800 mb-4",children:"YouTube doesn't allow embedding videos as autoplay backgrounds. Use a direct .mp4 file URL instead."}),a.jsx("h4",{className:"font-semibold text-[#2D2D2D] mb-2 mt-4",children:"Recommended solutions:"}),a.jsxs("ul",{className:"text-sm text-[#5A5A5A] space-y-2",children:[a.jsxs("li",{children:["⢠Upload video to ",a.jsx("strong",{children:"Google Drive"})," â Get shareable link â Use direct download URL"]}),a.jsxs("li",{children:["⢠Upload to ",a.jsx("strong",{children:"Dropbox"})," â Get direct link"]}),a.jsx("li",{children:"⢠Use a video hosting CDN like Cloudinary or Vimeo Pro"}),a.jsx("li",{children:"⢠Compress your video to under 50MB and upload directly"})]})]})]})})})}const wne=[2025,2024,2023,2022,2021,2020,2019,2018,2017,2016,2015];
877function vne(){const[e,t]=B.useState(2025),{data:r=[]}=vt({queryKey:["winners"],queryFn:()=>Ce.entities.Winner.list("-year"),initialData:[]}),{data:n=[]}=vt({queryKey:["gallery-images"],queryFn:()=>Ce.entities.GalleryImage.list("-year"),initialData:[]}),s=r.filter(c=>c.year===e),i=n.filter(c=>c.year===e),o=s.reduce((c,d)=>(c[d.category]||(c[d.category]=[]),c[d.category].push(d),c),{});return a.jsxs("div",{className:"min-h-screen relative overflow-hidden bg-gradient-to-br from-[#0A0A0A] via-[#1A1A1A] to-[#0F0F0F]",children:[a.jsxs("div",{className:"fixed inset-0 -z-10",children:[a.jsx("div",{className:"absolute top-0 right-0 w-[500px] h-[500px] bg-gradient-to-bl from-[#C9A84C]/20 to-transparent rounded-full blur-3xl"}),a.jsx("div",{className:"absolute bottom-0 left-0 w-[500px] h-[500px] bg-gradient-to-tr from-[#C9A84C]/15 to-transparent rounded-full blur-3xl"}),a.jsx("div",{className:"absolute top-1/2 left-1/3 w-[400px] h-[400px] bg-gradient-to-br from-[#D4AF37]/10 to-transparent rounded-full blur-3xl opacity-50"})]}),a.jsx("div",{className:"w-full bg-gradient-to-r from-[#C9A84C] via-[#D4AF37] to-[#C9A84C] border-y-2 border-[#C9A84C]/50 py-3 overflow-hidden sticky top-24 lg:top-28 z-40 shadow-2xl shadow-[#C9A84C]/50",children:a.jsxs(V.div,{animate:{x:[-1e3,1e3]},transition:{duration:15,repeat:1/0,ease:"linear"},className:"flex gap-8 whitespace-nowrap text-[#0A0A0A] text-xl lg:text-2xl font-black",children:[a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(Sn,{className:"w-6 h-6"}),"CELEBRATING EXCELLENCE IN FILM & TELEVISION"]}),a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(ut,{className:"w-6 h-6"}),"NATIONAL FILM AWARDS"]}),a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(Sn,{className:"w-6 h-6"}),"CELEBRATING EXCELLENCE IN FILM & TELEVISION"]}),a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(ut,{className:"w-6 h-6"}),"NATIONAL FILM AWARDS"]})]})}),a.jsx("section",{className:"pt-16 lg:pt-20 pb-8 relative",children:a.jsxs("div",{className:"max-w-[1600px] mx-auto px-6 lg:px-12",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-16",children:[a.jsx(V.div,{animate:{scale:[1,1.05,1]},transition:{duration:3,repeat:1/0},className:"w-24 h-24 mx-auto mb-6 bg-gradient-to-br from-[#C9A84C] to-[#D4AF37] rounded-full flex items-center justify-center shadow-2xl shadow-[#C9A84C]/50 border-4 border-[#C9A84C]",children:a.jsx(ut,{className:"w-12 h-12 text-[#0A0A0A]"})}),a.jsx("h1",{className:"font-editorial text-7xl lg:text-8xl font-black bg-gradient-to-r from-[#C9A84C] via-[#D4AF37] to-[#C9A84C] bg-clip-text text-transparent mb-4",children:"WINNERS"}),a.jsx("div",{className:"h-2 w-48 mx-auto bg-gradient-to-r from-transparent via-[#C9A84C] to-transparent rounded-full mb-6"}),a.jsx("p",{className:"text-[#C9A84C]/80 text-xl max-w-2xl mx-auto font-bold tracking-widest",children:"CELEBRATING THE FINEST IN MOTION PICTURES"})]}),a.jsx("div",{className:"flex flex-wrap gap-3 justify-center",children:wne.map(c=>a.jsx(V.button,{onClick:()=>t(c),whileHover:{scale:1.1,y:-2},whileTap:{scale:.95},className:`px-6 py-3 rounded-xl font-black text-sm transition-all duration-300 border-2 ${e===c?"bg-gradient-to-br from-[#C9A84C] to-[#D4AF37] text-[#0A0A0A] shadow-xl shadow-[#C9A84C]/50 border-[#C9A84C]":"bg-transparent text-[#C9A84C] hover:bg-[#C9A84C]/10 border-[#C9A84C]/50 hover:border-[#C9A84C]"}`,children:c},c))})]})}),a.jsx("section",{className:"py-8 lg:py-16 relative",children:a.jsx("div",{className:"max-w-6xl mx-auto px-6 lg:px-12",children:a.jsxs(V.div,{initial:{opacity:0}
877,animate:{opacity:1},transition:{duration:.5},className:"space-y-12",children:[i.length>0&&a.jsx(j_,{year:e,images:i}),a.jsxs("div",{children:[a.jsxs("div",{className:"mb-10 text-center",children:[a.jsxs("h2",{className:"font-editorial text-6xl lg:text-7xl font-black bg-gradient-to-r from-[#C9A84C] to-[#D4AF37] bg-clip-text text-transparent mb-3",children:[e," WINNERS"]}),a.jsx("div",{className:"h-2 w-48 mx-auto bg-gradient-to-r from-[#C9A84C] via-[#D4AF37] to-[#C9A84C] rounded-full mb-4"}),a.jsxs("p",{className:"text-[#C9A84C]/70 mt-2 font-bold text-lg",children:[s.length," winners across ",Object.keys(o).length," categories"]})]}),Object.entries(o).length>0?a.jsx("div",{className:"space-y-14",children:Object.entries(o).map(([c,d],u)=>a.jsxs(V.section,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:u*.1},className:"relative",children:[u>0&&a.jsx("div",{className:"absolute -top-10 left-0 right-0 h-px bg-gradient-to-r from-transparent via-[#C9A84C]/20 to-transparent"}),a.jsxs(V.div,{whileHover:{x:8},transition:{type:"spring",stiffness:300,damping:30},className:"relative mb-10 overflow-hidden rounded-2xl group cursor-default border-2 border-[#C9A84C]/50 hover:border-[#C9A84C] transition-all",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#C9A84C]/15 via-[#C9A84C]/5 to-transparent group-hover:from-[#C9A84C]/25 transition-all duration-300"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#1A1A1A]/0 via-transparent to-[#C9A84C]/0 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),a.jsx("div",{className:"relative px-8 py-10 border-l-4 border-[#C9A84C]",children:a.jsxs("div",{className:"flex items-start justify-between gap-6",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx(V.div,{whileHover:{x:4},className:"inline-block",children:a.jsxs("p",{className:"text-[#C9A84C] text-sm font-black tracking-[0.35em] uppercase mb-3 flex items-center gap-2",children:[a.jsx("span",{className:"inline-block w-12 h-1 bg-gradient-to-r from-[#C9A84C] to-[#D4AF37]"}),"CATEGORY ",u+1]})}),a.jsx("h3",{className:"font-editorial text-5xl lg:text-6xl font-black bg-gradient-to-r from-[#C9A84C] to-[#D4AF37] bg-clip-text text-transparent mb-3 leading-tight",children:c}),a.jsxs("p",{className:"text-[#C9A84C] text-sm font-bold",children:[d.length," ",d.length===1?"WINNER":"WINNERS"]})]}),a.jsx(V.div,{animate:{y:[0,-8,0]},transition:{duration:3,repeat:1/0},className:"flex-shrink-0",children:a.jsx(ut,{className:"w-20 h-20 text-[#C9A84C]/25"})})]})})]}),a.jsx("div",{className:"flex justify-center w-full",children:a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 lg:gap-8 w-fit",children:d.map((h,m)=>a.jsx(N_,{winner:h,index:m},h.id))})})]},c))}):a.jsxs(V.div,{initial:{opacity:0}
877,animate:{opacity:1},className:"text-center py-24 px-8 rounded-2xl bg-[#F5F0E8]/50 border border-[#C9A84C]/10",children:[a.jsx(ut,{className:"w-16 h-16 text-[#C9A84C]/30 mx-auto mb-6"}),a.jsxs("p",{className:"text-[#8A8578] text-lg font-semibold",children:["No winners data for ",e]})]})]})]},e)})})]})}const mj=[{label:"The Awards",icon:ut,items:[{label:"Gallery",href:"/gallery",desc:"Photo highlights from ceremonies"},{label:"Winners",page:"Winners",desc:"All-time winners archive"},{label:"Nominees",page:"Nominees",desc:"Browse all nominees"},{label:"Categories",page:"Categories",desc:"Film & TV award categories"},{label:"How to Nominate",page:"HowToNominate",desc:"Submit your nomination"},{label:"Tickets",page:"Tickets",desc:"Reserve your seat at the ceremony"}]},{label:"Academy",icon:It,items:[{label:"About the NFA",page:"About",desc:"Our story and mission â est. 1998"},{label:"National Film Festival",page:"NationalFilmFestival",desc:"Annual festival of cinema in London"},{label:"The Comedy Awards",page:"ComedyAwards",desc:"Celebrating the best in comedy"},{label:"NFA Short Film Prize",page:"NFAShortFilm",desc:"Enter the short film competition"},{label:"Lifetime Achievement",page:"LifetimeAchievement",desc:"Legends of the industry"},{label:"Past Editions",page:"PastEditions",desc:"A history of the NFA"},{label:"Global Editions",page:"Editions",desc:"Worldwide ceremonies"}]},{label:"Discover",icon:Yu,items:[{label:"Newsroom",page:"Newsroom",desc:"Latest news & press releases"},{label:"Academy Registry",page:"AcademyRegistry",desc:"AâZ of British screen talent"},{label:"Member Directory",page:"MemberDirectory",desc:"Connect with Academy members"}]},{label:"Sponsors",icon:$t,items:[{label:"Current Sponsors",page:"Sponsors",hash:"#current",desc:"Our valued 2026 partners"},{label:"Partner Stories",page:"Sponsors",hash:"#stories",desc:"Academy News features"},{label:"Become a Sponsor",page:"Sponsors",hash:"#cta",desc:"Partner with the NFA"},{label:"Contact Us",href:"/contact",desc:"Get in touch with the Academy"}]},{label:"Academy Registry",icon:sI,items:[{label:"Browse Talent",page:"AcademyRegistry",desc:"AâZ of British screen talent"},{label:"Join the Registry",page:"AcademyRegistry",desc:"Register your professional profile"},{label:"About the NFA",page:"About",desc:"Our story and mission"},{label:"Press & Media",page:"Newsroom",desc:"Press releases & coverage"},{label:"Contact Us",href:"/contact",desc:"Get in touch with the Academy"}]}];
877function Cne(){const[e,t]=B.useState(!1),[r,n]=B.useState(!1),[s,i]=B.useState(null),[o,c]=B.useState(null),{data:d}=vt({queryKey:["nav-user"],queryFn:()=>Ce.auth.me(),retry:!1,staleTime:6e4});B.useEffect(()=>{const h=()=>t(window.scrollY>50);return window.addEventListener("scroll",h),()=>window.removeEventListener("scroll",h)},[]);const u=h=>{i(m=>m===h?null:h)};return a.jsxs(a.Fragment,{children:[s&&a.jsx("div",{className:"fixed inset-0 z-40",onClick:()=>i(null)}),a.jsxs(V.header,{initial:{y:-100},animate:{y:0},transition:{duration:.6,ease:[.22,1,.36,1]},className:"fixed top-0 left-0 right-0 z-50 bg-white shadow-md",children:[a.jsx("div",{className:"h-[3px] bg-gradient-to-r from-[#C9A84C] via-[#FFD700] via-[#C9A84C] to-[#F0D882] bg-[length:300%_auto] animate-gradient"}),a.jsx("div",{className:"max-w-[1700px] mx-auto px-6 lg:px-10",children:a.jsxs("div",{className:"flex items-center justify-between h-20 lg:h-[72px]",children:[a.jsx(He,{to:at("Home"),className:"flex-shrink-0",children:a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/8926eea82_nfalogo.png",alt:"National Film Awards",className:"h-12 lg:h-14 w-auto hover:scale-105 transition-transform"})}),a.jsx("nav",{className:"hidden lg:flex items-center gap-1",children:mj.map(h=>a.jsxs("div",{className:"relative",children:[a.jsxs("button",{onClick:()=>u(h.label),className:`flex items-center gap-1.5 px-4 py-2.5 rounded-lg text-[11px] font-bold tracking-[0.12em] uppercase transition-all ${s===h.label?"text-[#C9A84C] bg-[#C9A84C]/8":"text-[#2D2D2D] hover:text-[#C9A84C] hover:bg-[#C9A84C]/5"}`,children:[h.label,a.jsx(Ia,{className:`w-3 h-3 transition-transform duration-200 ${s===h.label?"rotate-180":""}`})]}),a.jsx(Mt,{children:s===h.label&&a.jsxs(V.div,{initial:{opacity:0,y:8,scale:.97},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:8,scale:.97},transition:{duration:.18},className:"absolute top-full left-0 mt-2 w-64 bg-white rounded-2xl shadow-2xl border border-[#C9A84C]/15 overflow-hidden z-50",children:[a.jsx("div",{className:"h-1 bg-gradient-to-r from-[#C9A84C] via-[#FFD700] to-[#C9A84C]"}),a.jsx("div",{className:"p-2",children:h.items.map(m=>a.jsxs(He,{to:m.href||at(m.page)+(m.hash||""),onClick:()=>i(null),className:"flex flex-col px-4 py-3 rounded-xl hover:bg-gradient-to-r hover:from-[#C9A84C]/8 hover:to-[#F0D882]/5 group transition-all",children:[a.jsx("span",{className:"text-[12px] font-bold text-[#2D2D2D] group-hover:text-[#C9A84C] transition-colors",children:m.label}),a.jsx("span",{className:"text-[10px] text-[#8A8578] mt-0.5",children:m.desc})]},m.label))})]})})]},h.label))}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsxs("div",{className:"hidden lg:block relative",children:[a.jsxs("button",{onClick:()=>u("__members__"),className:`flex items-center gap-1.5 px-4 py-2.5 rounded-full text-[11px] font-bold tracking-[0.12em] uppercase transition-all border ${s==="__members__"?"text-[#C9A84C] border-[#C9A84C] bg-[#C9A84C]/5":"text-[#2D2D2D] border-[#C9A84C]/30 hover:border-[#C9A84C] hover:text-[#C9A84C]"}`,children:[a.jsx(iB,{className:"w-3.5 h-3.5"}),"Members",a.jsx(Ia,{className:`w-3 h-3 transition-transform duration-200 ${s==="__members__"?"rotate-180":""}`})]}),a.jsx(Mt,{children:s==="__members__"&&a.jsxs(V.div,{initial:{opacity:0,y:8,scale:.97},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:8,scale:.97},transition:{duration:.18},className:"absolute top-full right-0 mt-2 w-72 bg-white rounded-2xl shadow-2xl border border-[#C9A84C]/15 overflow-hidden z-50",children:[a.jsx("div",{className:"h-1 bg-gradient-to-r from-[#C9A84C] via-[#FFD700] to-[#C9A84C]"}),a.jsx("div",{className:"p-4",children:d?a.jsxs(a.Fragment,{children:[a.jsx("p",{className:"text-xs text-[#8A8578] mb-1",children:"Signed in as"}),a.jsx("p",{className:"font-bold text-[#1A1A1A] text-sm mb-4 truncate",children:d.full_name||d.email}),d.role==="admin"&&a.jsxs(He,{to:at("AdminRegistry"),onClick:()=>i(null),className:"flex items-center gap-3 px-4 py-3 rounded-xl bg-[#0f3460] text-white hover:bg-[#0a0a14] transition-all mb-2",children:[a.jsx(iB,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-[12px] font-bold",children:"Admin Dashboard"}),a.jsx("p",{className:"text-[10px] text-white/60",children:"Manage the Registry & site"})]})]}),a.jsxs(He,{to:at("AcademyRegistry"),onClick:()=>i(null),className:"flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-[#C9A84C]/8 group transition-all",children:[a.jsx(Dr,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-[12px] font-bold text-[#2D2D2D] group-hover:text-[#C9A84C]",children:"My Registry Profile"}),a.jsx("p",{className:"text-[10px] text-[#8A8578]",children:"View & manage your listing"})]})]}),a.jsx("button",{onClick:()=>{Ce.auth.logout(),i(null)},className:"w-full mt-2 text-left flex items-center gap-3 px-4 py-2.5 rounded-xl hover:bg-red-50 text-red-500 text-xs font-bold transition-all",children:"Sign Out"})]}):a.jsxs(a.Fragment,{children:[a.jsx("p",{className:"text-xs font-black uppercase tracking-wider text-[#1A1A1A] mb-3",children:"Academy Membership"}),a.jsxs(He,{to:at("Members"),onClick:()=>i(null),className:"flex items-center gap-3 px-4 py-3 rounded-xl bg-[#C9A84C] text-white hover:bg-[#b8941f] transition-all mb-2",children:[a.jsx(f9,{className:"w-4 h-4"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-[12px] font-bold",children:"Become a Member"}),a.jsx("p",{className:"text-[10px] text-white/80",children:"£9.99/month · Academy Registry profile"})]})]}),a.jsxs("button",{onClick:()=>{Ce.auth.redirectToLogin(window.location.href),i(null)},className:"flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-[#C9A84C]/8 group transition-all w-full text-left",children:[a.jsx(vI,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-[12px] font-bold text-[#2D2D2D] group-hover:text-[#C9A84C]",children:"Sign In"}),a.jsx("p",{className:"text-[10px] text-[#8A8578]",children:"Access your member account"})]})]})]})})]})})]}),a.jsxs(He,{to:"/winners-2026",className:"hidden lg:flex items-center gap-2 px-6 py-2.5 bg-[#C9A84C] hover:bg-[#b8941f] text-white text-[11px] font-bold tracking-[0.15em] uppercase rounded-full shadow-lg hover:shadow-xl transition-all",children:[a.jsx(ut,{className:"w-3.5 h-3.5"}),"NFA 2026 - Winners"]}),a.jsx("button",{onClick:()=>n(!r),className:"lg:hidden w-11 h-11 rounded-full border-2 border-[#C9A84C]/30 flex items-center justify-center hover:border-[#C9A84C] transition-all",children:r?a.jsx(tr,{className:"w-5 h-5 text-[#C9A84C]"}):a.jsx(jI,{className:"w-5 h-5 text-[#C9A84C]"})})]})]})}),a.jsx(Mt,{children:r&&a.jsx(V.div,{initial:{opacity:0,height:0}
877,animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"lg:hidden bg-white border-t border-[#C9A84C]/10 overflow-hidden",children:a.jsxs("div",{className:"max-w-[1700px] mx-auto px-6 py-6 space-y-1",children:[mj.map((h,m)=>a.jsxs("div",{children:[a.jsxs("button",{onClick:()=>c(o===h.label?null:h.label),className:"w-full flex items-center justify-between px-4 py-3 rounded-xl hover:bg-[#C9A84C]/5 text-[#2D2D2D] font-bold text-sm transition-all",children:[a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(h.icon,{className:"w-4 h-4 text-[#C9A84C]"}),h.label]}),a.jsx(Ia,{className:`w-4 h-4 text-[#C9A84C] transition-transform ${o===h.label?"rotate-180":""}`})]}),a.jsx(Mt,{children:o===h.label&&a.jsx(V.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"ml-4 border-l-2 border-[#C9A84C]/20 pl-4 mt-1 space-y-1",children:h.items.map(p=>a.jsx(He,{to:p.href||at(p.page)+(p.hash||""),onClick:()=>n(!1),className:"block px-3 py-2.5 rounded-lg hover:bg-[#C9A84C]/8 text-[#2D2D2D] hover:text-[#C9A84C] text-sm font-medium transition-all",children:p.label},p.label))})})]},h.label)),a.jsx("div",{className:"pt-4",children:a.jsx(He,{to:at("Tickets"),onClick:()=>n(!1),className:"block text-center px-8 py-4 bg-[#C9A84C] text-white text-sm font-bold tracking-wider uppercase rounded-full shadow-lg",children:"Get Tickets"})})]})})})]})]})}const Bne=[{heading:"Awards",links:[{label:"Awards 2026",page:"Awards2026"},{label:"Winners",page:"Winners"},{label:"Nominees",page:"Nominees"},{label:"Lifetime Achievement",page:"LifetimeAchievement"}]},{heading:"Content",links:[{label:"Newsroom",page:"Newsroom"},{label:"Gallery",href:"/gallery"},{label:"How to Nominate",page:"HowToNominate"},{label:"Tickets",page:"Tickets"}]},{heading:"Partners",links:[{label:"Sponsors",page:"Sponsors"},{label:"About",page:"About"},{label:"Contact Us",href:"/contact"},{label:"Photographer Upload",href:"/upload-login"}]},{heading:"Legal",links:[{label:"Terms & Conditions",href:"/terms-and-conditions"}]}];function Nne(){return a.jsxs("footer",{className:"relative bg-gradient-to-br from-[#2D2D2D] via-[#1a1a1a] to-[#0a0a0a] text-white overflow-hidden",children:[a.jsx("div",{className:"h-2 bg-gradient-to-r from-[#D4AF37] via-[#FFD700] to-[#D4AF37] animate-gradient bg-[length:200%_auto]"}),a.jsx("div",{className:"absolute inset-0 opacity-5",children:a.jsx("div",{className:"absolute inset-0",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l2.5 7.5L40 10l-7.5 2.5L30 20l-2.5-7.5L20 10l7.5-2.5L30 0z' fill='%23D4AF37' fill-opacity='1'/%3E%3C/svg%3E")`,backgroundSize:"60px 60px"}})}),a.jsxs("div",{className:"max-w-[1600px] mx-auto px-6 lg:px-10 py-20 relative",children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-12 mb-16",children:[a.jsx("div",{className:"lg:col-span-2",children:a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mb-8",children:[a.jsx(V.img,{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/699ba2407533cd3b00af8c87/8926eea82_nfalogo.png",alt:"National Film Awards",className:"h-20 w-auto mb-6",whileHover:{scale:1.05}}),a.jsx("p",{className:"text-white/60 leading-relaxed mb-6 max-w-sm",children:"The world's most prestigious public-voted awards ceremony, celebrating excellence in film and television across five continents."}),a.jsxs("div",{className:"inline-flex items-center gap-2 px-5 py-2 bg-white/10 backdrop-blur-sm border border-white/20 rounded-full",children:[a.jsx(Sn,{className:"w-4 h-4 text-[#D4AF37]"}),a.jsx("span",{className:"text-[#D4AF37] text-xs font-bold tracking-wider",children:"3.9M+ Global Votes"})]})]})}),Bne.map((e,t)=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},children:[a.jsx("h4",{className:"text-xs tracking-[0.25em] uppercase font-bold text-[#D4AF37] mb-6",children:e.heading}),a.jsx("ul",{className:"space-y-3",children:e.links.map(r=>a.jsx("li",{children:a.jsxs(He,{to:r.href||at(r.page),className:"text-white/60 hover:text-[#D4AF37] text-sm transition-all inline-flex items-center gap-2 group",children:[a.jsx("span",{className:"w-0 h-px bg-[#D4AF37] group-hover:w-3 transition-all duration-300"}),r.label]})},r.label))})]},e.heading))]}),a.jsx(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mb-16 pb-16 border-b border-white/10",children:a.jsxs("div",{className:"max-w-md",children:[a.jsxs("h4",{className:"text-xs tracking-[0.25em] uppercase font-bold text-[#D4AF37] mb-4 flex items-center gap-2",children:[a.jsx(En,{className:"w-4 h-4"}),"Stay in the Spotlight"]}),a.jsx("p",{className:"text-white/60 text-sm mb-6",children:"Subscribe for exclusive updates and announcements"}),a.jsxs("form",{className:"flex gap-3",children:[a.jsx("input",{type:"email",placeholder:"Your email address",className:"flex-1 px-5 py-4 rounded-xl bg-white/10 border border-white/20 text-white placeholder:text-white/40 focus:border-[#D4AF37] focu
877s:bg-white/15 outline-none transition-all"}),a.jsx(V.button,{whileHover:{scale:1.05},whileTap:{scale:.95},className:"px-6 py-4 bg-gradient-to-r from-[#D4AF37] to-[#F0D882] text-white rounded-xl font-bold shadow-lg hover:shadow-xl transition-all",children:"Subscribe"})]})]})}),a.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-6",children:[a.jsxs("p",{className:"text-white/40 text-sm",children:["© ",new Date().getFullYear()," National Film Awards. All Rights Reserved."]}),a.jsx("div",{className:"flex items-center gap-3",children:[{Icon:kw,label:"Facebook",href:"https://facebook.com/nationalfilmawards"},{Icon:Vp,label:"Instagram",href:"https://instagram.com/nationalfilmawards"},{Icon:Uw,label:"Twitter",href:"https://twitter.com/natfilmawards"},{Icon:w9,label:"YouTube",href:"#"}].map(e=>a.jsx(V.a,{href:e.href,target:"_blank",rel:"noopener noreferrer",whileHover:{scale:1.1,y:-2},whileTap:{scale:.95},className:"w-12 h-12 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-gradient-to-br hover:from-[#D4AF37] hover:to-[#F0D882] hover:border-transparent text-white/60 hover:text-white transition-all shadow-lg","aria-label":e.label,children:a.jsx(e.Icon,{className:"w-5 h-5"})},e.label))})]})]})]})}function Fne(){const{pathname:e}=Io();return B.useEffect(()=>{window.scrollTo(0,0)},[e]),null}function jne({children:e}){return a.jsxs("div",{className:"min-h-screen bg-[#FFFEF9]",children:[a.jsx(Fne,{}),a.jsx(Cne,{}),a.jsx("main",{children:e}),a.jsx(Nne,{})]})}const Sne={About:iG,AcademyRegistry:uG,AdminRegistry:mG,AwardYear:pG,Awards:yG,Awards2026:BG,Categories:jG,ComedyAwards:kG,Editions:DG,Gallery:UG,Home:tW,HowToNominate:zq,LifetimeAchievement:Jq,LifetimeAchievementDetail:qq,MemberDirectory:dY,Members:hY,NFAShortFilm:mY,NationalFilmFestival:xY,NewsArticle:bY,Newsroom:CY,Nominate:NY,Nominees:TY,PastEditions:cne,SponsorArticle:S_,Sponsors:fne,Tickets:yne,UploadHeroVideo:bne,Winners:vne},E_={mainPage:"Home",Pages:Sne,Layout:jne};function Ene(){const e=Io(),{isAuthenticated:t}=fE(),{Pages:r,mainPage:n}=E_,s=n;return B.useEffect(()=>{const i=e.pathname;let o;if(i==="/"||i==="")o=s;else{const c=i.replace(/^\//,"").split("/")[0];o=Object.keys(r).find(h=>h.toLowerCase()===c.toLowerCase())||null}t&&o&&Ce.appLogs.logUserInApp(o).catch(()=>{})},[e,t,r,s]),null}function Tne({}){var s;const t=Io().pathname.substring(1),{data:r,isFetched:n}=vt({queryKey:["user"],queryFn:async()=>{try{return{user:await Ce.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return a.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:a.jsx("div",{className:"max-w-md w-full",children:a.jsxs("div",{className:"text-center space-y-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),a.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),a.jsxs("div",{className:"space-y-3",children:[a.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),a.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",a.jsxs("span",{className:"font-medium text-slate-700",children:['"',t,'"']})," could not be found in this application."]})]}),n&&r.isAuthenticated&&((s=r.user)==null?void 0:s.role)==="admin"&&a.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:a.jsxs("div",{className:"flex items-start space-x-3",children:[a.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:a.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),a.jsxs("div",{className:"text-left space-y-1",children:[a.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),a.jsx("p",{className:"text-sm text-slate-600 leading-relaxed",children:"This could mean that the AI hasn't implemented this page yet. Ask it to implement it in the chat."})]})]})}),a.jsx("div",{className:"pt-6",children:a.jsxs("button",{onClick:()=>window.location.href="/",className:"inline-flex items-center px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-200 rounded-lg hover:bg-slate-50 hover:border-slate-300 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-slate-500",children:[a.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})}),"Go Home"]})})]})})})}const kne={"Sponsor Announcements":"#C9A84C","Nomination News":"#0066CC","Ceremony Reports":"#E91E63","Academy News":"#2D5A27","Media Coverage":"#8B6B9D","Press Releases":"#E63946"};function _ne(){const{id:e}=zp(),t=w8.find(n=>n.id===e);if(!t)return a.jsxs("div",{className:"pt-32 min-h-screen bg-[#FAFAF8] flex flex-col items-center justify-center text-center px-6",children:[a.jsx("h1",{className:"font-editorial text-3xl font-bold text-[#1A1A1A] mb-4",children:"Article not found"}),a.jsxs(He,{to:at("Newsroom"),className:"inline-flex items-center gap-2 text-[#C9A84C] font-bold hover:underline",children:[a.jsx(rn,{className:"w-4 h-4"})," Back to Newsroom"]})]});const r=kne[t.category]||"#C9A84C";return t.slug?(window.location.href=at(`SponsorArticle?sponsor=${t.slug}`),null):a.jsxs("div",{className:"pt-24 lg:pt-28 bg-[#FAFAF8] min-h-screen",children:[a.jsxs("div",{className:"relative h-72 lg:h-[480px] overflow-hidden",children:[a.jsx("img",{src:t.image,alt:t.title,className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/30 to-transparent"}),a.jsxs("div",{className:"absolute inset-0 flex flex-col justify-end px-6 lg:px-16 pb-10 max-w-[1000px] mx-auto w-full",children:[a.jsx("span",{className:"inline-block px-3 py-1.5 text-white text-[10px] font-black uppercase tracking-wider rounded-full mb-4 w-fit",style:{backgroundColor:r},children:t.category}),a.jsx("h1",{className:"font-editorial text-3xl lg:text-5xl font-bold text-white leading-tight",children:t.title})]})]}),a.jsxs("div",{className:"max-w-[860px] mx-auto px-6 lg:px-10 py-12",children:[a.jsxs("div",{className:"flex items-center gap-6 mb-8 pb-8 border-b border-[#
877E8D5A0]/40",children:[a.jsxs(He,{to:at("Newsroom"),className:"inline-flex items-center gap-2 text-[#8A8578] text-sm font-semibold hover:text-[#C9A84C] transition-colors",children:[a.jsx(rn,{className:"w-4 h-4"})," Newsroom"]}),a.jsxs("div",{className:"flex items-center gap-1.5 text-[#8A8578] text-sm ml-auto",children:[a.jsx(Qt,{className:"w-4 h-4"}),t.date]})]}),a.jsx(V.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"font-editorial text-xl lg:text-2xl text-[#2D2D2D] leading-relaxed mb-8 font-medium",children:t.excerpt}),t.content&&a.jsx(V.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.1},className:"text-[#3A3A3A] text-base leading-loose whitespace-pre-wrap border-t border-[#E8D5A0]/40 pt-8",children:t.content}),a.jsxs("div",{className:"mt-16 pt-8 border-t border-[#E8D5A0]/40 flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4",children:[a.jsxs(He,{to:at("Newsroom"),className:"inline-flex items-center gap-2 text-[#C9A84C] font-bold hover:underline",children:[a.jsx(rn,{className:"w-4 h-4"})," Back to Newsroom"]}),a.jsxs("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-2 px-6 py-3 bg-[#C9A84C] text-black font-black text-sm rounded-full hover:bg-[#B8941F] transition-all",children:["Press Enquiries ",a.jsx(li,{className:"w-3.5 h-3.5"})]})]})]})]})}const va=[{url:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/ef488e0f6_luxuria-coach-in-tuscany-39683.jpg",caption:"Leger Holidays co
877ach touring the rolling hills of Tuscany"},{url:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/2cccff47f_Leger_july_22__5057.jpg",caption:"Leger Holidays guests enjoying Florence's iconic skyline"},{url:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/68787a4bc_luxuria-interior-back-to-front-44097.jpg",caption:"Premium Luxuria coach interior with individual entertainment screens"},{url:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/b123e4cc1_luxuria-drinks-served-onboard-43735.jpg",caption:"Attentive onboard service on a Leger Holidays Luxuria coach"},{url:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/3993bc2c7_women-walking-though-the-streets-36861.jpg",caption:"Exploring the historic streets of Tuscany with Leger Holidays"},{url:"https://media.base44.com/images/public/699ba2407533cd3b00af8c87/b589d7d34_people-walking-though-tuscan-scenery-36855.jpg",caption:"Leger Holidays guests walking through the Tuscan countryside"}];function Dne(){const[e,t]=B.use
877State(!1),r=()=>{navigator.clipboard.writeText(window.location.href),t(!0),setTimeout(()=>t(!1),2e3)},n=`https://twitter.com/intent/tweet?url=${encodeURIComponent(window.location.href)}&text=${encodeURIComponent("Leger Holidays Returns for a Third Consecutive Year as Sponsor of the National Film Awards 2026")}`,s=`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(window.location.href)}`;return a.jsxs("div",{className:"min-h-screen bg-[#FAFAF8]",children:[a.jsx("div",{className:"bg-[#1C2B3A] border-b-4 border-[#C9A84C]",children:a.jsxs("div",{className:"max-w-5xl mx-auto px-6 py-5 flex items-center justify-between",children:[a.jsxs(He,{to:"/Newsroom",className:"flex items-center gap-2 text-white/60 hover:text-[#C9A84C] transition-colors text-sm font-semibold",children:[a.jsx(rn,{className:"w-4 h-4"}),"Back to Newsroom"]}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("span",{className:"text-white/30 text-xs uppercase tracking-widest font-bold",children:"Share"}),a.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 rounded-full bg-white/10 hover:bg-[#C9A84C] flex items-center justify-center transition-all",title:"Share on X/Twitter",children:a.jsx("svg",{className:"w-4 h-4 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.746l7.73-8.835L1.254 2.25H8.08l4.253 5.622zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}),a.jsx("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 rounded-full bg-white/10 hover:bg-[#C9A84C] flex items-center justify-center transition-all",title:"Share on LinkedIn",children:a.jsx("svg",{className:"w-4 h-4 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})}),a.jsx("button",{onClick:r,className:"w-8 h-8 rounded-full bg-white/10 hover:bg-[#C9A84C] flex items-center justify-center transition-all",title:"Copy link",children:e?a.jsx(Fs,{className:"w-4 h-4 text-white"}):a.jsx(_3,{className:"w-4 h-4 text-white"})})]})]})}),a.jsxs("div",{className:"w-full h-[50vh] lg:h-[60vh] overflow-hidden relative",children:[a.jsx("img",{src:va[0].url,alt:va[0].caption,className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#1C2B3A]/80 via-transparent to-transparent"}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 max-w-5xl mx-auto px-6 pb-8",children:a.jsx("div",{className:"inline-block bg-[#C9A84C] text-black text-[10px] font-black uppercase tracking-[0.2em] px-4 py-2 rounded-full mb-4",children:"FOR IMMEDIATE RELEASE"})})]}),a.jsxs("div",{className:"max-w-5xl mx-auto px-6 py-12 lg:py-16",children:[a.jsxs("div",{className:"flex flex-wrap items-center gap-4 mb-6",children:[a.jsxs("div",{className:"flex items-center gap-1.5 text-[#8A8578] text-xs font-semibold",children:[a.jsx(Qt,{className:"w-3.5 h-3.5"}),"14 April 2026"]}),a.jsxs("div",{className:"flex items-center gap-1.5 text-[#8A8578] text-xs font-semibold",children:[a.jsx(Q3,{className:"w-3.5 h-3.5"}),"Press Release · Sponsorship · National Film Awards 2026"]})]}),a.jsx("h1",{className:"font-editorial text-3xl lg:text-5xl font-bold text-[#1C2B3A] leading-tight mb-6",children:"Leger Holidays Returns for a Third Consecutive Year as Sponsor of the National Film Awards 2026"}),a.jsx("div",{className:"w-20 h-1 bg-[#C9A84C] rounded-full mb-8"}),a.jsxs("p",{className:"text-lg lg:text-xl text-[#1C2B3A]/80 italic leading-relaxed mb-10 border-l-4 border-[#C9A84C]/40 pl-6",children:["The National Film Academy confirms that Leger Holidays, one of the UK's most celebrated providers of escorted travel experiences, returns for a third successive year as official sponsor of the Best British Film category at the 12th Annual National Film Awards. Public voting opens Monday, 4 May 2026 at ",a.jsx("a",{href:"https://www.nationalfilmawards.co.uk",className:"text-[#C9A84C] hover:underline",children:"www.nationalfilmawards.co.uk"}),"."]}),a.jsxs("div",{className:"prose max-w-none text-[#3A3A3A] leading-relaxed space-y-6 text-[15px] lg:text-base",children:[a.jsxs("p",{children:[a.jsx("strong",{className:"text-[#1C2B3A]",children:"London, 7 April 2026"})," â The National Film Academy today announces that Leger Holidays has committed to a third year of partnership with the National Film Awards, once again sponsoring the ",a.jsx("strong",{children:"Best British Film"})," category at the ",a.jsx("strong",{children:"12th Annual National Film Awards"}),", set to take place on ",a.jsx("strong",{children:"1 July 2026"})," at Porchester Hall, London W2."]}),a.jsx("p",{children:"What began as a single-year collaboration has grown into one of the most celebrated partnerships in the history of the awards. Leger Holidays' continued commitment is a powerful testament to the alignment between two organisations united by a belief in the transformative power of experience â whether that experience unfolds on screen or across the landscapes of Europe and beyond."}),a.jsx("p",{children:"Since its inception, the National Film Awards has stood as the benchmark of excellence in British cinema, honouring the most outstanding contributions to film and television. Voted for entirely by the public, the awards command a global audience of millions and provide an unparalleled platform for brands to connect with one of the most passionate and influential entertainment c
877ommunities in the world."})]}),a.jsxs("blockquote",{className:"my-10 bg-[#F5F0E8] border-l-4 border-[#C9A84C] rounded-r-2xl p-6 lg:p-8",children:[a.jsx("p",{className:"font-editorial text-lg lg:text-xl text-[#1C2B3A] italic leading-relaxed mb-4",children:'"To welcome Leger Holidays back for a third year is a genuine privilege. This is not simply a sponsorship â it is a partnership built on shared values and mutual respect. Leger Holidays has been an outstanding partner, and their continued presence speaks to the strength of what we have built together. We look forward to making 2026 the most memorable year yet."'}),a.jsx("footer",{className:"text-[#C9A84C] font-bold text-sm tracking-wide",children:"â Cressida Oppenheimer, VP of Partnerships, National Film Awards"})]}),a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 my-10",children:[a.jsx("div",{className:"rounded-2xl overflow-hidden aspect-[4/3]",children:a.jsx("img",{src:va[1].url,alt:va[1].caption,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-700"})}),a.jsx("div",{className:"rounded-2xl overflow-hidden aspect-[4/3]",children:a.jsx("img",{src:va[4].url,alt:va[4].caption,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-700"})})]}),a.jsxs("div",{className:"prose max-w-none text-[#3A3A3A] leading-relaxed space-y-6 text-[15px] lg:text-base",children:[a.jsx("p",{children:"The Best British Film category sits at the very heart of the National Film Awards, celebrating the finest in homegrown filmmaking talent and shining a light on the stories, voices, and visions that define British cinema. Previous winners have included some of the most culturally significant and critically acclaimed films of their respective years, making it one of the most anticipated and closely watched categories of the evening."}),a.jsx("p",{children:"With over 40 years of expertise, Leger Holidays has established itself as one of the UK's most trusted names in escorted travel, offering an unrivalled portfolio of tours spanning Europe and beyond. From sweeping Alpine landscapes to historic cultural capitals, every Leger Holidays itinerary is crafted to deliver the kind of unforgettable, immersive experience that mirrors the very best of what great cinema achieves: the ability to transport an audience somewhere entirely new."})]}),a.jsxs("blockquote",{className:"my-10 bg-[#F5F0E8] border-l-4 border-[#C9A84C] rounded-r-2xl p-6 lg:p-8",children:[a.jsx("p",{className:"font-editorial text-lg lg:text-xl text-[#1C2B3A] italic leading-relaxed mb-4",children:'"Three years in, and our passion for this partnership has only grown stronger. Just as film has the extraordinary ability to take an audience on a journey â to move them, to inspire them, to show them the world anew â travel does exactly the same. We are immensely proud to stand alongside the National Film Awards and to celebrate the very best of British cinema once again in 2026."'}),a.jsx("footer",{className:"text-[#C9A84C] font-bold text-sm tracking-wide",children:"â Liam Race, CEO, Leger Holidays"})]}),a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 my-10",children:[a.jsx("div",{className:"rounded-2xl overflow-hidden aspect-[4/3]",children:a.jsx("img",{src:va[2].url,alt:va[2].caption,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-700"})}),a.jsx("div",{className:"rounded-2xl overflow-hidden aspect-[4/3]",children:a.jsx("img",{src:va[3].url,alt:va[3].caption,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-700"})}),a.jsx("div",{className:"rounded-2xl overflow-hidden aspect-[4/3]",children:a.jsx("img",{src:va[5].url,alt:va[5].caption,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-700"})})]}),a.jsxs("div",{className:"prose max-w-none text-[#3A3A3A] leading-relaxed space-y-6 text-[15px] lg:text-base",children:[a.jsxs("p",{children:["Public voting for the 12th Annual National Film Awards opens on Monday, ",a.jsx("strong",{children:"4 May 2026"})," at ",a.jsx("a",{href:"https://www.nationalfilmawards.co.uk",className:"text-[#C9A84C] hover:underline",children:"www.nationalfilmawards.co.uk"}),". Film enthusiasts across the UK and beyond are invited to cast their votes and help determine who takes home the most coveted awards in British cinema."]}),a.jsxs("p",{children:["The ceremony will take place on ",a.jsx("strong",{children:"1 July 2026"})," at Porchester Hall, London W2, with the full list of nominees for the Best British Film category, sponsored by Leger Holidays, to be announced in due course."]}
877)]}),a.jsxs("div",{className:"mt-14 mb-10",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[a.jsx("div",{className:"w-1 h-6 bg-[#C9A84C] rounded-full"}),a.jsx("h2",{className:"font-editorial text-xl font-bold text-[#1C2B3A] uppercase tracking-wider",children:"Notes to Editors"})]}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[a.jsxs("div",{className:"bg-white rounded-2xl border border-[#C9A84C]/20 p-6",children:[a.jsx("h3",{className:"font-bold text-[#1C2B3A] text-sm uppercase tracking-wider mb-3",children:"About Leger Holidays"}),a.jsx("p",{className:"text-[#5A5A5A] text-sm leading-relaxed",children:"Leger Holidays is one of the UK's leading providers of escorted tours, offering an extensive and award-winning range of coach, rail, and cruise holidays across Europe and beyond. With over 40 years of experience and expertly crafted itineraries led by experienced guides, Leger Holidays creates memorable travel experiences for every customer."}),a.jsx("a",{href:"https://www.leger.co.uk",target:"_blank",rel:"noopener noreferrer",className:"inline-block mt-3 text-[#C9A84C] font-bold text-sm hover:underline",children:"www.leger.co.uk â"})]}),a.jsxs("div",{className:"bg-white rounded-2xl border border-[#C9A84C]/20 p-6",children:[a.jsx("h3",{className:"font-bold text-[#1C2B3A] text-sm uppercase tracking-wider mb-3",children:"About the National Film Awards"}),a.jsx("p",{className:"text-[#5A5A5A] text-sm leading-relaxed",children:"Produced by the National Film Academy, the National Film Awards UK is a globally recognised platform celebrating excellence in film, television, and entertainment. All awards are voted for entirely by the public, making the National Film Awards one of the most authentic, engaged, and influential industry events of the year."}),a.jsx("a",{href:"https://www.nationalfilmawards.co.uk",target:"_blank",rel:"noopener noreferrer",className:"inline-block mt-3 text-[#C9A84C] font-bold text-sm hover:underline",children:"www.nationalfilmawards.co.uk â"})]})]})]}),a.jsxs("div",{className:"bg-[#1C2B3A] rounded-2xl border-l-4 border-[#C9A84C] p-6 lg:p-8 mb-12",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[a.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-[#C9A84C]"}),a.jsx("h3",{className:"text-[#C9A84C] font-black text-xs uppercase tracking-[0.25em]",children:"Media Enquiries"})]}),a.jsxs("div",{className:"flex flex-wrap gap-x-6 gap-y-1 text-white/80 text-sm font-medium",children:[a.jsx("span",{className:"text-white font-bold",children:"National Film Academy"}),a.jsx("a",{href:"mailto:[email protected]",className:"hover:text-[#C9A84C] transition-colors",children:"[email protected]"}),a.jsx("a",{href:"tel:+442038563307",className:"hover:text-[#C9A84C] transition-colors",children:"+44 (0) 203 856 3307"}),a.jsx("a",{href:"https://www.nationalfilmawards.co.uk",target:"_blank",rel:"noopener noreferrer",className:"hover:text-[#C9A84C] transition-colors",children:"www.nationalfilmawards.co.uk"})]})]}),a.jsx("div",{className:"text-center py-8 border-t border-[#C9A84C]/20",children:a.jsx("span",{className:"font-editorial text-[#C9A84C] font-bold text-lg tracking-[0.3em]",children:"â ENDS â"})}),a.jsx("div",{className:"flex flex-wrap gap-2 mt-6",children:["Press Release","Sponsorship","Leger Holidays","Best British Film","National Film Awards 2026"].map(i=>a.jsx("span",{className:"px-3 py-1.5 bg-[#F5F0E8] text-[#8A8578] text-xs font-bold uppercase tracking-wide rounded-full border border-[#C9A84C]/20",children:i},i))})]})]})}function Une({isOpen:e,onClose:t,totalVotes:r}){return e?a.jsx(Mt,{children:a.jsxs("div",{className:"fixed inset-0 z-[999] flex items-center justify-center p-4",children:[a.jsx(V.div,{initial:{opacity:0}
877,animate:{opacity:1},exit:{opacity:0},onClick:t,className:"absolute inset-0 bg-black/80 backdrop-blur-sm"}),a.jsxs(V.div,{initial:{opacity:0,scale:.85,y:40},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.9,y:20},transition:{type:"spring",stiffness:300,damping:30},className:"relative w-full max-w-lg bg-[#0A0A0A] rounded-3xl overflow-hidden shadow-[0_40px_120px_rgba(201,168,76,0.3)] border border-[#C9A84C]/30 z-10",children:[a.jsx("div",{className:"h-1.5 w-full bg-gradient-to-r from-[#C9A84C] via-[#F0D882] to-[#C9A84C]"}),a.jsx("button",{onClick:t,className:"absolute top-4 right-4 w-9 h-9 rounded-full bg-white/10 flex items-center justify-center hover:bg-white/20 transition-colors z-10",children:a.jsx(tr,{className:"w-4 h-4 text-white"})}),a.jsxs("div",{className:"p-8",children:[a.jsx(V.div,{initial:{scale:0},animate:{scale:1},transition:{delay:.2,type:"spring",stiffness:400},className:"w-20 h-20 bg-gradient-to-br from-[#C9A84C] to-[#B8941F] rounded-full flex items-center justify-center mx-auto mb-6 shadow-lg shadow-[#C9A84C]/40",children:a.jsx(It,{className:"w-10 h-10 text-white",fill:"white"})}),a.jsxs("div",{className:"text-center mb-6",children:[a.jsx("p",{className:"text-[#C9A84C] text-[11px] font-bold tracking-[0.3em] uppercase mb-2",children:"Your Vote Has Been Cast!"}),a.jsxs("h2",{className:"font-editorial text-3xl font-bold text-white leading-tight mb-3",children:["You're Now Part of",a.jsx("br",{}),"Cinema History"]}),a.jsxs("p",{className:"text-white/60 text-sm leading-relaxed",children:[r?`You've joined ${r.toLocaleString()}+ people`:"You've joined thousands of film fans"," helping decide the 12th Annual National Film Awards 2026."]})]}),a.jsxs("div",{className:"bg-[#C9A84C]/10 border border-[#C9A84C]/30 rounded-2xl p-4 mb-6 flex items-start gap-3",children:[a.jsx(H3,{className:"w-5 h-5 text-[#C9A84C] flex-shrink-0 mt-0.5",fill:"#C9A84C"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-[#C9A84C] text-xs font-bold uppercase tracking-wide mb-1",children:"EXCLUSIVE â Limited Seats Remaining"}),a.jsxs("p",{className:"text-white/80 text-sm leading-snug",children:["Winners are announced LIVE at the ceremony on ",a.jsx("strong",{className:"text-white",children:"1 July 2026, Central London."})," The nominees ",a.jsx("em",{children:"you just voted for"})," could be on that stage. Will you be in the room?"]})]})]}),a.jsxs("div",{className:"flex items-center gap-6 mb-6 justify-center text-center",children:[a.jsxs("div",{children:[a.jsxs("div",{className:"flex items-center gap-1.5 justify-center mb-1",children:[a.jsx(wo,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsx("span",{className:"text-white font-bold text-lg",children:"Selling Fast"})]}),a.jsx("p",{className:"text-white/40 text-xs",children:"Tables nearly sold out"})]}),a.jsx("div",{className:"h-10 w-px bg-white/10"}),a.jsxs("div",{children:[a.jsxs("div",{className:"flex items-center gap-1.5 justify-center mb-1",children:[a.jsx($t,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsx("span",{className:"text-white font-bold text-lg",children:"100+"})]}),a.jsx("p",{className:"text-white/40 text-xs",children:"Celebrities expected"})]}),a.jsx("div",{className:"h-10 w-px bg-white/10"}),a.jsxs("div",{children:[a.jsxs("div",{className:"flex items-center gap-1.5 justify-center mb-1",children:[a.jsx(ts,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsx("span",{className:"text-white font-bold text-lg",children:"VIP"})]}),a.jsx("p",{className:"text-white/40 text-xs",children:"Experiences available"})]})]}),a.jsxs("div",{className:"space-y-3",children:[a.jsxs("a",{href:"/Tickets",className:"w-full flex items-center justify-center gap-3 py-4 bg-gradient-to-r from-[#C9A84C] to-[#B8941F] text-white font-bold text-[13px] tracking-[0.1em] uppercase rounded-full hover:shadow-lg hover:shadow-[#C9A84C]/30 transition-all group",children:[a.jsx(ts,{className:"w-5 h-5"}),"Book Your VIP Seat Now â Before It's Gone",a.jsx(bt,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]}),a.jsx("button",{onClick:t,className:"w-full py-3 border border-white/20 text-white/60 font-semibold text-sm rounded-full hover:border-white/40 hover:text-white/80 transition-all",children:"Continue Voting"})]}),a.jsx("p",{className:"text-center text-white/30 text-xs mt-4",children:"Ceremony · 1 July 2026 · Central London · Black Tie"})]})]})]})}):null}
877const fs=[{id:"best_drama",name:"Best Drama 2026",type:"Film",nominees:["Glenrothan","Peaky Blinders: The Immortal Man","Hamnet","Goodbye June","Wasteman","Hamlet","Steve","I Swear"]},{id:"best_feature_film",name:"Best Feature Film 2026",type:"Film",nominees:["Glenrothan","The Magic Faraway Tree","Peaky Blinders: The Immortal Man","Wasteman","The Thursday Murder Club","My Father's Shadow","Heel","Rose of Nevada","Past Life"]},{id:"best_thriller",name:"Best Thriller 2026",type:"Film",nominees:["Lure","Iron Lung","The Thursday Murder Club","Ballad of a Small Player","The Good Boy (aka Heel)","Helloween","Doctor Plague","Diamond Sky","Borley Rectory: The Awakening"]},{id:"best_actor",name:"Best Actor 2026",type:"Film",nominees:["Brian Cox (Glenrothan)","Mark Fischbach (Iron Lung)","Alan Cumming (Glenrothan)","Regé-Jean Page (You, Me & Tuscany)","Robert Pattinson (The Drama)","Cillian Murphy (Steve)","Pierce Brosnan (The Thursday Murder Club)","Riz Ahmed (Hamlet)","David Jonsson (Wasteman)"]},{id:"best_actress",name:"Best Actress 2026",type:"Film",nominees:["Helen Mirren (The Thursday Murder Club)","Olivia Colman (The Roses)","Claire Foy (The Magic Faraway Tree)","Caroline Kaplan (Iron Lung)","Halle Bailey (You, Me & Tuscany)","Zendaya (The Drama)","Jessie Buckley (Hamnet)"]},{id:"best_supporting_actress",name:"Best Supporting Actress 2026",type:"Film",sponsor:"House of Bothania",nominees:["Elsie Lovelock (Iron Lung)","Isabella Ferrari (You, Me & Tuscany)","Nicola Coughlan (The Magic Faraway Tree)","Rebecca Ferguson (Peaky Blinders: The Immortal Man)","Jessica Gunning (The Magic Faraway Tree)","Jennifer Saunders (The Magic Faraway Tree)","Sophie Rundle (Peaky Blinders: The Immortal Man)","Morfydd Clark (Hamlet)","Emily Watson (Hamnet)","Naomi Ackie (The Thursday Murder Club)","Kate Winslet (Goodbye June)"]},{id:"best_supporting_actor",name:"Best Supporting Actor 2026",type:"Film",nominees:["Adam Deacon (Reckless)","Stephen Graham (Peaky Blinders: The Immortal Man)","Tim Roth (Peaky Blinders: The Immortal Man)","Alex Hassell (Wasteman)","Andrew Garfield (The Magic Faraway Tree)","Art Malik (Hamlet)","Nonso Anozie (The Magic Faraway Tree)","Ben Kingsley (The Thursday Murder Club)","Paul Mescal (Hamnet)"]},{id:"best_director",name:"Best Director 2026",type:"Film",nominees:["Brian Cox (Glenrothan)","Oliver Cox (Lure)","Mark Fischbach (Iron Lung)","Akinola Davies Jr. (My Father's Shadow)","Olive Nwosu (Lady)","Chloé Zhao (Hamnet)","Antoine Fuqua (Michael)","Chris Columbus (The Thursday Murder Club)","Tom Harper (Peaky Blinders: The Immortal Man)","Cal McMau (Wasteman)","Aneil Karia (Hamlet)"]},{id:"best_comedy",name:"Best Comedy â Film & TV 2026",type:"Film/TV",nominees:["You, Me & Tuscany","Proper Ladies","The Magic Faraway Tree","Twenty Twenty Six","The Walsh Sisters","The Thursday Murder Club","The Roses","Film Club","Glenrothan","The Ballad of Wallis Island"]},{id:"best_producer",name:"Best Producer â Film & TV 2026",type:"Film/TV",nominees:["Jeff Guerrero & Will Hyde (Iron Lung)","Guy Heeley & Cillian Murphy (Peaky Blinders: The Immortal Man)","Sophia Gibber & Myles Payne (Wasteman)","Pippa Harris & Nicholas Brown (The Magic Faraway Tree)","Gail Egan & Andrea Calderwood (Secret Service)","Tally Garner, Morven Reid & Richard Gadd (Half Man)","Graham King, John Branca, Prince Jackson & John McClain (Michael)"]},{id:"best_tv_drama",name:"Best TV Drama Series 2026",type:"TV",sponsor:"Dechavel · MondayRepublic.com",nominees:["Bergerac · U/U&Drama","Boarders · BBC","Bridgerton Season 4 · Netflix","Adolescence · Netflix","Babies · BBC One","The Teacher Season 3 · Channel 5","Hijack Season 2 · Apple TV","The Night Manager Season 2 · BBC One","Half Man · BBC/HBO","Secret Service · ITV1/ITVX","Under Salt Marsh · Sky Atlantic","The Walsh Sisters · BBC One"]},{id:"best_actor_tv",name:"Best Actor in a TV Series 2026",type:"TV",nominees:["Tom Hiddleston (The Night Manager Season 2)","Idris Elba (Hijack Season 2)","Damien Molony (Bergerac)","Luke Thompson (Bridgerton Season 4)","Stephen Graham (Adolescence)","Gary Oldman (Slow Horses Season 5)","Richard Gadd (Half Man)","Joseph Fiennes (Dear England)","David Morrissey (Gone)","Malachi Kirby (A Thousand Blows Season 2)"]},{id:"best_actress_tv",name:"Best Actress in a TV Series 2026",type:"TV",sponsor:"IMEAN BEAUTY",nominees:["Gemma Arterton (Secret Service)","Kosar Ali (Proper Ladies)","Mia McKenna-Bruce (Agatha Christie's Seven Dials)","Siân Brooke (Blue Lights Season 3)","Kelly Reilly (Under Salt Marsh)","Holliday Grainger (Strike)","Sinéad Keenan (Unforgotten)","Eve Myles (Gone)"]},{id:"best_supporting_actor_tv",name:"Best Supporting Actor in a TV Series 2026",type:"TV",nominees:["Rafe Spall (Secret Service)","Victor Alli (Bridgerton Season 4)","Ashley Walters (Adolescence)","Mark Silcox (Proper Ladies)","Jack Lowden (Slow Horses Season 5)","Jamie Bell (Half Man)","Roger Allam (Secret Service)","Daniel Lawrence Taylor (B
877oarders)"]},{id:"best_supporting_actress_tv",name:"Best Supporting Actress in a TV Series 2026",type:"TV",nominees:["Zoe Wanamaker (Bergerac)","Amaka Okafor (Secret Service)","Katie Leung (Bridgerton Season 4)","Erin Doherty (Adolescence)","Masali Baduza (Bridgerton Season 4)","Alex Kingston (Secret Service)","Anjli Mohindra (Half Man)","Kristin Scott Thomas (Slow Horses Season 5)"]},{id:"best_action",name:"Best Action in a Film / TV Series 2026",type:"Film/TV",sponsor:"Patherlerella",nominees:["Bergerac · U/U&Drama","Secret Service · ITV1","Lady","Peaky Blinders: The Immortal Man","The Night Manager Season 2 · BBC One","Slow Horses Season 5 · Apple TV","Wasteman","Boaders"]},{id:"best_streaming",name:"Best Streaming Platform 2026",type:"Industry",nominees:["Netflix","Apple TV","BBC iPlayer","Prime Video","Disney+","ITVX","Sky Atlantic / NOW","MUBI","BritBox","U / U&Drama","Channel 4 Streaming"]},{id:"best_screenplay_tv",name:"Best Screenplay in a TV Series 2026",type:"TV",nominees:["Toby Whithouse (Bergerac)","Stefan Golaszewski (Babies)","Riz Ahmed (Bait)","Stephen Graham & Jack Thorne (Adolescence)","Chris Chibnall (Agatha Christie's Seven Dials)","Steven Knight (A Thousand Blows)","Will Smith (Slow Horses)","Daniel Lawrence Taylor (Boarders)","Tom Bradby & Jemma Kennedy (Secret Service)"]},{id:"best_independent",name:"Best Independent Film 2026",type:"Film",nominees:["Last Save Point","Surviving Earth","The Good Boy","Tales of the Underworld","Rose of Nevada","My Father's Shadow","Lure","Past Life","Iron Lung","Reckless","Hunting Party","Finding My Voice"]},{id:"best_british",name:"Best British Film 2026",type:"Film",sponsor:"Leger Holidays",nominees:["Pillion","Urchin","The Magic Faraway Tree","Peaky Blinders: The Immortal Man","Wasteman","Hamlet","I Swear","Lady"]},{id:"best_newcomer",name:"Best Newcomer 2026",type:"Film/TV",sponsor:"Astelle",nominees:["Josh Tedeku (Boarders)","Jodie Campbell (Boarders)","Jaafar Jackson (Michael)","Yerin Ha (Bridgerton Season 4)","Lorenzo de Moor (You, Me & Tuscany)","Owen Cooper (Adolescence)","Sabrina Ali (Proper Ladies)","Godwin Egbo & Chibuike Marvellous Egbo (My Father's Shadow)"]},{id:"outstanding_performance",name:"Outstanding Performance 2026",type:"Film/TV",sponsor:"CHANNEL ONE Radio (UK)",nominees:["Jessica Gabriel's Ujah (Lady)","Idris Elba (Hijack Season 2)","Jaafar Jackson (Michael)","Nathalie Emmanuel (The Killer)","Jacobi Jupe (Hamnet)","Robert Aramayo (I Swear)","Michael B. Jordan (Sinners)","Timothée Chalamet (Marty Supreme)","Riz Ahmed (Hamlet)"]},{id:"best_international",name:"Best International Film 2026",type:"Film",nominees:["Superman","Michael","The Drama","Sinners","Mission: Impossible â The Final Reckoning","Snow White","My Father's Shadow","The Fantastic Four: First Steps"]},{id:"best_short_film",name:"Best Short Film 2026",type:"Film",sponsor:"Channel ONE TV (UK)",nominees:["The Truth About Space","Magid / Zafar","Flock","Stomach Bug","Nostalgie","The Flowers Stand Silently, Witnessing","Flock"]},{id:"best_vertical_series",name:"Best Vertical Series 2026",type:"TV",sponsor:"VLOGGOO",nominees:["Jollof and Kimchi · UK/South Korea/Nigeria","Game of Choice · UK/USA","In Other Words I Love You · UK","Breaking the Ice · USA/Canada","The Heiress's Revenge · UK/China","Twisted Fate · ShortMax USA","Off Limits & All Mine · USA","The Beauty and the Billionaire · UK","I Hate to Love My British Bad Boy · UK","Mafia Lover / The Mafia's Obsession · UK","Tramp · UK","Yr Alwad (The Call) · Wales"]},{id:"best_foreign",name:"Best Foreign Language Film 2026",type:"Film",sponsor:"Channel ONE TV (UK)",nominees:["Sentimental Value · Norway","It Was Just An Accident · Iran","Nouvelle Vague · France","Two Women · Canada","Jawan · India","On Becoming a Guinea Fowl · Zambia/UK","Concrete Utopia · South Korea","Radical · Mexico","The Night Owl · South Korea","The Wandering Earth 2 · China","12th Fail · India","The Teachers' Lounge · Germany"]},{id:"best_documentary",name:"Best Documentary / Docu-Series 2026",type:"Film/TV",sponsor:"Island Falls Home",nominees:["Becoming Victoria Wood â U&GOLD","Louis Theroux: Inside the Manosphere â Netflix","Harry Styles: One Night in Manchester â Netflix","Twiggy â Studio Soho Distribution","Predators â Dogwoof","A Want in Her â BFI Doc Society","Irvine Welsh: Reality Is Not Enough â Kaleidoscope","2000 Meters to Andriivka â Dogwoof","Becoming Led Zeppelin â Sony Pictures"]},{id:"best_film_production",name:"Best Film Production Company 2026",type:"Industry",nominees:["BBC Film â Peaky Blinders: The Immortal Man","Agile Films â Wasteman","Potboiler Productions â Secret Service","Mam Tor Productions / Thistledown Pictures â Half Man","Apple TV (UK Content Arm) â Slow Horses Season 5"]}],Ine={Film:"Film",TV:"Television","Film/TV":"Film & TV",Industry:"Industry"};function Lne({category:e,votedNominee:t,onVote:r,disabled:n}){const s=!!t,[i,o]=Pt.useState(null),[c,d]=Pt.useState(!1),u=B.useRef(null),h=s?t:i;B.useEffect(()=>{i&&u.current&&u.current.scrollIntoView({behavior:"smooth",block:"center"})},[i]);const m=async()=>{!i||c||(d(!0),await r(e.id,i),d(!1))};return a.jsxs(V.article,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.5},className:`bg-white border rounded-2xl overflow-hidden transition-all duration-300 ${s?"border-[#C9A84C] shadow-[0_4px_30px_rgba(201,168,76,0.15)]":"border-[#
877E8E0D0] shadow-sm hover:shadow-md hover:border-[#D4AF37]/50"}`,children:[s&&a.jsx("div",{className:"h-0.5 bg-gradient-to-r from-[#C9A84C] via-[#F0D882] to-[#C9A84C]"}),a.jsxs("div",{className:"px-6 pt-6 pb-4 border-b border-[#F0EBE0]",children:[a.jsxs("div",{className:"flex items-start justify-between gap-4",children:[a.jsxs("div",{className:"flex-1 min-w-0",children:[a.jsx("div",{className:"flex flex-wrap items-center gap-2 mb-2",children:a.jsx("span",{className:"text-[11px] font-bold tracking-[0.2em] uppercase text-[#8A7A5A]",children:Ine[e.type]||e.type})}),a.jsx("h3",{className:"font-editorial text-2xl lg:text-3xl font-bold text-[#1A1208] leading-tight mb-2",children:e.name}),e.sponsor&&a.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 bg-[#D4AF37]/10 border border-[#D4AF37]/40 rounded-full",children:[a.jsx(It,{className:"w-3 h-3 text-[#C9A84C] fill-[#C9A84C]"}),a.jsxs("span",{className:"text-xs font-bold tracking-wide text-[#1A1208]",children:["Sponsored by ",a.jsx("span",{className:"text-[#C9A84C]",children:e.sponsor})]})]})]}),s&&a.jsxs("div",{className:"flex-shrink-0 flex items-center gap-1.5 px-3 py-1.5 bg-[#C9A84C]/10 border border-[#C9A84C]/30 rounded-full",children:[a.jsx(an,{className:"w-3.5 h-3.5 text-[#C9A84C]"}),a.jsx("span",{className:"text-[11px] font-bold text-[#C9A84C] uppercase tracking-wide",children:"Voted"})]})]}),s&&a.jsxs("div",{className:"mt-3 flex items-center gap-2 text-sm text-[#5A4A2A]",children:[a.jsx(It,{className:"w-3.5 h-3.5 text-[#C9A84C] fill-[#C9A84C]"}),a.jsxs("span",{children:["Your choice: ",a.jsx("strong",{className:"text-[#1A1208]",children:t})]})]})]}),a.jsx("div",{className:"p-5 grid sm:grid-cols-2 lg:grid-cols-3 gap-2.5",children:e.nominees.map((p,x)=>{const w=h===p;return a.jsxs(V.button,{whileTap:{scale:.98},onClick:()=>{!n&&!s&&o(p)},disabled:n||s,className:`w-full text-left px-4 py-3 rounded-xl border transition-all duration-200 flex items-center gap-3 group text-sm ${w?"bg-[#1A1208] border-[#1A1208] text-white shadow-md":n?"border-[#F0EBE0] bg-[#FAFAF8] text-[#B0A890] cursor-not-allowed":"border-[#EDE7D8] bg-[#FDFCF8] hover:border-[#C9A84C] hover:bg-[#FDF8EE] text-[#2D2416]"}`,children:[a.jsx("div",{className:`w-4 h-4 rounded-full border-2 flex-shrink-0 flex items-center justify-center transition-all ${w?"bg-[#C9A84C] border-[#C9A84C]":"border-[#C9A84C]/40 group-hover:border-[#C9A84C]"}`,children:w&&a.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-white"})}),a.jsx("span",{className:"font-medium leading-snug text-[15px]",children:p})]},x)})}),i&&!s&&a.jsxs(V.div,{ref:u,initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},transition:{duration:.3},className:"px-5 pb-5",children:[a.jsx("div",{className:"bg-gradient-to-r from-[#C9A84C]/10 via-[#F0D882]/20 to-[#C9A84C]/10 border border-[#C9A84C]/20 rounded-xl p-3 mb-3 text-center",children:a.jsxs("p",{className:"text-[#1A1208] text-sm font-semibold",children:["You selected ",a.jsxs("span",{className:"text-[#C9A84C]",children:['"',i,'"']})," â tap below to confirm your vote"]})}),a.jsx("button",{onClick:m,disabled:c,className:"w-full py-4 bg-[#1A1208] text-[#C9A84C] font-bold text-sm tracking-[0.1em] uppercase rounded-xl hover:bg-[#2D2416] transition-all disabled:opacity-60 flex items-center justify-center gap-2 shadow-[0_4px_20px_rgba(201,168,76,0.35)] animate-pulse",children:c?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"w-4 h-4 border-2 border-[#C9A84C]/30 border-t-[#C9A84C] rounded-full animate-spin"})," Submitting..."]}):a.jsxs(a.Fragment,{children:[a.jsx(Gp,{className:"w-4 h-4"})," Confirm & Submit Vote"]})})]})]})}function Pne({onRegister:e}){const[t,r]=B.useState("register"),[n,s]=B.useState(""),[i,o]=B.useState(""),[c,d]=B.useState(""),[u,h]=B.useState(""),[m,p]=B.useState(!1),x=async g=>{if(g.preventDefault(),!n.trim())return h("Please enter your name.");if(!i.trim()||!i.includes("@"))return h("Please enter a valid email address.");p(!0),h("");try{const b=await Ce.functions.invoke("registerVoter",{name:n.trim(),email:i.trim().toLowerCase()});b.data.success?r("verify"):h(b.data.message||"Registration failed. Please try again.")}catch{h("Something went wrong. Please try again.")}p(!1)},w=async g=>{if(g.preventDefault(),!c.trim())return h("Please enter the verification code.");p(!0),h("");try{const b=await Ce.functions.invoke("verifyVoter",{email:i.trim().toLowerCase(),code:c.trim()});b.data.verified?e({name:n.trim(),email:i.trim().toLowerCase()}):h(b.data.message||"Invalid verification code.")}catch{h("Something went wrong. Please try again.")}p(!1)};return a.jsx("div",{className:"fixed inset-0 z-[900] flex items-center justify-center p-4 bg-[#1A1208]/80 backdrop-blur-sm",children:a.jsxs(V.div,{initial:{opacity:0,scale:.95,y:20}
877,animate:{opacity:1,scale:1,y:0},className:"w-full max-w-md bg-[#FFFEF9] rounded-3xl overflow-hidden border border-[#E8D9B0] shadow-[0_40px_100px_rgba(26,18,8,0.35)]",children:[a.jsx("div",{className:"h-1 bg-gradient-to-r from-[#C9A84C] via-[#F0D882] to-[#C9A84C]"}),a.jsxs("div",{className:"p-9",children:[a.jsx("div",{className:"w-14 h-14 bg-[#C9A84C]/10 rounded-full flex items-center justify-center mx-auto mb-5 border border-[#C9A84C]/20",children:a.jsx(pi,{className:"w-6 h-6 text-[#C9A84C]"})}),t==="register"?a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"text-center mb-7",children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.35em] uppercase mb-2",children:"Official Public Vote · NFA 2026"}),a.jsx("h2",{className:"font-editorial text-3xl font-bold text-[#1A1208] mb-2",children:"Register to Vote"}),a.jsx("p",{className:"text-[#6B5A3A] text-sm leading-relaxed",children:"One registration unlocks all 28 categories. Your voice shapes British cinema history."})]}),a.jsxs("form",{onSubmit:x,className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-[11px] font-bold tracking-wider uppercase text-[#8A7A5A] mb-1.5",children:"Full Name"}),a.jsxs("div",{className:"relative",children:[a.jsx(vo,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-4 h-4 text-[#C9A84C]/60"}),a.jsx("input",{value:n,onChange:g=>s(g.target.value),placeholder:"Your full name",className:"w-full pl-11 pr-4 py-3.5 bg-[#F8F5EE] border border-[#E8D9B0] rounded-xl text-[#1A1208] placeholder-[#B0A080] focus:outline-none focus:border-[#C9A84C] transition text-sm"})]})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-[11px] font-bold tracking-wider uppercase text-[#8A7A5A] mb-1.5",children:"Email Address"}),a.jsxs("div",{className:"relative",children:[a.jsx(En,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-4 h-4 text-[#C9A84C]/60"}),a.jsx("input",{type:"email",value:i,onChange:g=>o(g.target.value),placeholder:"[email protected]",className:"w-full pl-11 pr-4 py-3.5 bg-[#F8F5EE] border border-[#E8D9B0] rounded-xl text-[#1A1208] placeholder-[#B0A080] focus:outline-none focus:border-[#C9A84C] transition text-sm"})]})]}),u&&a.jsx("p",{className:"text-red-600 text-sm",children:u}),a.jsx("button",{type:"submit",disabled:m,className:"w-full py-4 bg-[#1A1208] text-[#C9A84C] font-bold text-[13px] tracking-[0.12em] uppercase rounded-full hover:bg-[#2D2416] transition-all disabled:opacity-60 flex items-center justify-center gap-2 border border-[#C9A84C]/20",children:m?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"w-4 h-4 border-2 border-[#C9A84C]/30 border-t-[#C9A84C] rounded-full animate-spin"})," Sending Code..."]}):a.jsxs(a.Fragment,{children:[a.jsx(En,{className:"w-4 h-4"})," Send Verification Code"]})})]})]}):a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"text-center mb-7",children:[a.jsx("div",{className:"w-14 h-14 bg-[#C9A84C]/10 rounded-full flex items-center justify-center mx-auto mb-4 border border-[#C9A84C]/20",children:a.jsx(En,{className:"w-6 h-6 text-[#C9A84C]"})}),a.jsx("h2",{className:"font-editorial text-2xl font-bold text-[#1A1208] mb-2",children:"Check Your Email"}),a.jsxs("p",{className:"text-[#6B5A3A] text-sm leading-relaxed",children:["We sent a 6-digit code to ",a.jsx("strong",{className:"text-[#1A1208]",children:i}),". Enter it below to unlock voting."]})]}),a.jsxs("form",{onSubmit:w,className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-[11px] font-bold tracking-wider uppercase text-[#8A7A5A] mb-1.5",children:"Verification Code"}),a.jsx("input",{value:c,onChange:g=>d(g.target.value.replace(/\D/g,"").slice(0,6)),placeholder:"000000",maxLength:6,inputMode:"numeric",autoFocus:!0,className:"w-full py-4 bg-[#F8F5EE] border border-[#E8D9B0] rounded-xl text-[#1A1208] text-2xl font-bold tracking-[0.3em] text-center placeholder-[#D0C8B0] focus:outline-none focus:border-[#C9A84C] transition"})]}),u&&a.jsx("p",{className:"text-red-600 text-sm text-center",children:u}),a.jsx("button",{type:"submit",disabled:m||c.length<6,className:"w-full py-4 bg-[#1A1208] text-[#C9A84C] font-bold text-[13px] tracking-[0.12em] uppercase rounded-full hover:bg-[#2D2416] transition-all disabled:opacity-60 flex items-center justify-center gap-2 border border-[#C9A84C]/20",children:m?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"w-4 h-4 border-2 border-[#C9A84C]/30 border-t-[#C9A84C] rounded-full animate-spin"})," Verifying..."]}):a.jsxs(a.Fragment,{children:[a.jsx(an,{className:"w-4 h-4"})," Verify & Start Voting"]})}),a.jsx("button",{type:"button",onClick:()=>r("register"),className:"w-full text-center text-[#8A7A5A] text-xs font-medium hover:text-[#C9A84C] transition",children:"â Back to registration"})]})]}),a.jsx("p",{className:"text-center text-[#B0A080] text-xs mt-4",children:"Your details are kept private and not shared publicly."})]})]})})}
877function Rne(){const[e,t]=B.useState(null),[r,n]=B.useState({}),[s,i]=B.useState(!1),[o,c]=B.useState(0),[d,u]=B.useState("all"),h=Do();B.useEffect(()=>{const N=sessionStorage.getItem("nfa_voter_2026");if(N)try{t(JSON.parse(N))}catch{}const F=sessionStorage.getItem("nfa_votes_2026");if(F)try{n(JSON.parse(F))}catch{}},[]);const{data:m=[]}=vt({queryKey:["votes_count"],queryFn:()=>Ce.entities.Vote.list(),initialData:[]});B.useEffect(()=>{c(m.length)},[m]);const p=cb({mutationFn:({category:N,nominee:F})=>Ce.functions.invoke("castPublicVote",{voter_email:e.email,voter_name:e.name,category:N,nominee:F,year:2026}),onSuccess:()=>h.invalidateQueries({queryKey:["votes_count"]})}),x=N=>{t(N),sessionStorage.setItem("nfa_voter_2026",JSON.stringify(N))},w=async(N,F)=>{if(!e)return;const S={...r,[N]:F};n(S),sessionStorage.setItem("nfa_votes_2026",JSON.stringify(S)),await p.mutateAsync({category:N,nominee:F}),Object.keys(S).length===1&&i(!0)},g=Object.keys(r).length,b=["all","Film","TV","Film/TV","Industry"],v=d==="all"?fs:fs.filter(N=>N.type===d);return a.jsxs("div",{className:"min-h-screen bg-[#FFFEF9]",children:[!e&&a.jsx(Pne,{onRegister:x}),a.jsxs("section",{className:"relative pt-32 pb-20 overflow-hidden bg-[#FFFEF9]",children:[a.jsx("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:"repeating-linear-gradient(0deg, #C9A84C, #C9A84C 1px, transparent 1px, transparent 60px), repeating-linear-gradient(90deg, #C9A84C, #C9A84C 1px, transparent 1px, transparent 60px)"}}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-[#C9A84C]/30 to-transparent"}),a.jsx("div",{className:"relative max-w-5xl mx-auto px-6 text-center",children:a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7},children:[a.jsxs("div",{className:"flex items-center justify-center gap-4 mb-7",children:[a.jsx("div",{className:"h-px w-16 bg-gradient-to-r from-transparent to-[#C9A84C]"}),a.jsx("span",{className:"text-[11px] font-black tracking-[0.4em] uppercase text-[#C9A84C]",children:"Voting Now Open · 2026"}),a.jsx("div",{className:"h-px w-16 bg-gradient-to-l from-transparent to-[#C9A84C]"})]}),a.jsxs("h1",{className:"font-editorial text-6xl sm:text-7xl lg:text-8xl font-bold text-[#1A1208] leading-[1.05] mb-6",children:["12th Annual",a.jsx("br",{}),a.jsx("em",{className:"not-italic text-[#C9A84C]",children:"National Film Awards"})]}),a.jsx("p",{className:"text-[#6B5A3A] text-xl max-w-2xl mx-auto mb-4 leading-relaxed font-light",children:"Cast your official public vote across all 28 award categories."}),a.jsxs("p",{className:"text-[#1A1208] text-base font-semibold tracking-wide mb-12",children:["Winners will be announced by the Academy on ",a.jsx("span",{className:"text-[#C9A84C]",children:"1st July 2026, Central London"})]}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-12 mb-14",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("p",{className:"font-editorial text-5xl font-bold text-[#1A1208]",children:"28"}),a.jsx("p",{className:"text-xs font-bold tracking-[0.2em] uppercase text-[#8A7A5A] mt-2",children:"Award Categories"})]}),e&&a.jsxs("div",{className:"text-center",children:[a.jsxs("p",{className:"font-editorial text-5xl font-bold text-[#C9A84C]",children:[g,a.jsxs("span",{className:"text-[#8A7A5A] text-3xl",children:["/",fs.length]})]}),a.jsx("p",{className:"text-xs font-bold tracking-[0.2em] uppercase text-[#8A7A5A] mt-2",children:"Your Votes"})]})]}),a.jsxs("div",{className:"border border-[#D4AF37] bg-gradient-to-br from-[#FDF8EE] to-[#FFFEF9] rounded-3xl px-8 py-8 text-center",children:[a.jsxs("div",{className:"flex items-center justify-center gap-4 mb-6",children:[a.jsx("div",{className:"h-px flex-1 bg-gradient-to-r from-transparent to-[#D4AF37]/60"}),a.jsx("span",{className:"text-[11px] font-black tracking-[0.35em] uppercase text-[#C9A84C]",children:"Proudly Presented by Our Sponsors"}),a.jsx("div",{className:"h-px flex-1 bg-gradient-to-l from-transparent to-[#D4AF37]/60"})]}),a.jsx("div",{className:"flex flex-wrap justify-center gap-3",children:["Leger Holidays","House of Bothania","IMEAN BEAUTY","CHANNEL ONE Radio","Channel ONE TV","VLOGGOO","Astelle","Island Falls Home","Patherlerella","Dechavel · MondayRepublic.com"].map(N=>a.jsx("div",{className:"px-5 py-2.5 bg-white border border-[#D4AF37]/50 rounded-full shadow-sm",children:a.jsx("span",{className:"text-sm font-bold text-[#1A1208] tracking-wide",children:N})},N))})]})]})})]}),e&&g>0&&a.jsx("div",{className:"sticky top-16 lg:top-20 z-30 bg-[#FFFEF9]/95 backdrop-blur border-b border-[#
877E8D9B0]",children:a.jsxs("div",{className:"max-w-5xl mx-auto px-6 py-3 flex items-center gap-4",children:[a.jsxs("div",{className:"flex items-center gap-2 flex-shrink-0",children:[a.jsx(Sn,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsxs("span",{className:"text-[#1A1208] text-sm font-semibold",children:[g," of ",fs.length," voted"]})]}),a.jsx("div",{className:"flex-1 h-1.5 bg-[#F0EBE0] rounded-full overflow-hidden",children:a.jsx(V.div,{className:"h-full bg-gradient-to-r from-[#C9A84C] to-[#F0D882] rounded-full",initial:{width:0},animate:{width:`${g/fs.length*100}%`},transition:{duration:.5}})}),a.jsxs(He,{to:"/Tickets",className:"flex-shrink-0 flex items-center gap-1.5 px-4 py-1.5 bg-[#1A1208] text-[#C9A84C] text-xs font-bold uppercase tracking-wider rounded-full hover:bg-[#2D2416] transition-colors border border-[#C9A84C]/20",children:[a.jsx(ts,{className:"w-3 h-3"})," Book Seats"]})]})}),a.jsx("div",{className:"max-w-5xl mx-auto px-6 pt-10 pb-6",children:a.jsx("div",{className:"flex flex-wrap gap-2",children:b.map(N=>a.jsx("button",{onClick:()=>u(N),className:`px-5 py-2 rounded-full text-xs font-bold tracking-widest uppercase transition-all ${d===N?"bg-[#1A1208] text-[#C9A84C] shadow-sm":"bg-white text-[#6B5A3A] border border-[#E8D9B0] hover:border-[#C9A84C] hover:text-[#1A1208]"}`,children:N==="all"?`All (${fs.length})`:`${N} (${fs.filter(F=>F.type===N).length})`},N))})}),a.jsxs("div",{className:"max-w-5xl mx-auto px-6 pb-24",children:[a.jsx("div",{className:"space-y-6",children:v.map(N=>a.jsx(Lne,{category:N,votedNominee:r[N.id],onVote:w,disabled:!e},N.id))}),e&&g>0&&a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mt-12 bg-gradient-to-br from-[#FDF8EE] to-[#FFFEF9] border border-[#C9A84C]/40 rounded-2xl p-8 text-center shadow-[0_4px_30px_rgba(201,168,76,0.12)]",children:[a.jsx("div",{className:"w-14 h-14 bg-[#C9A84C]/15 rounded-full flex items-center justify-center mx-auto mb-4 border border-[#C9A84C]/30",children:a.jsx(an,{className:"w-7 h-7 text-[#C9A84C]"})}),a.jsx("h3",{className:"font-editorial text-2xl font-bold text-[#1A1208] mb-2",children:g===fs.length?"All Votes Submitted!":"Your Votes Are Saved"}),a.jsx("p",{className:"text-[#6B5A3A] text-sm leading-relaxed max-w-md mx-auto",children:g===fs.length?`You've voted in all 28 categories. Each vote is confirmed the moment a category shows "Voted" â there's no final submit button needed. Thank you for participating!`:`You've cast ${g} of ${fs.length} votes. Each vote is saved instantly when a category shows "Voted" â no final submit button needed. You can continue voting in the remaining categories anytime.`})]}),a.jsxs(V.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mt-20 text-center border-t border-[#E8D9B0] pt-16",children:[a.jsx("div",{className:"h-px w-20 bg-gradient-to-r from-transparent via-[#C9A84C] to-transparent mx-auto mb-8"}),a.jsx("p",{className:"text-[11px] font-black tracking-[0.35em] uppercase text-[#C9A84C] mb-3",children:"The Ceremony · 1st July 2026"}),a.jsxs("h2",{className:"font-editorial text-4xl lg:text-5xl font-bold text-[#1A1208] mb-4 leading-tight",children:["Be in the Room",a.jsx("br",{}),"When the Winners Are Announced"]}),a.jsxs("p",{className:"text-[#6B5A3A] text-xl mb-8 max-w-xl mx-auto leading-relaxed font-light",children:["The Academy will announce the winners live on ",a.jsx("strong",{className:"font-semibold text-[#1A1208]",children:"1st July 2026"}),". VIP Tables and individual seats available â Central London."]}),a.jsxs(He,{to:"/Tickets",className:"inline-flex items-center gap-3 px-10 py-4 bg-[#1A1208] text-[#C9A84C] font-bold text-[13px] tracking-[0.12em] uppercase rounded-full hover:bg-[#2D2416] transition-all border border-[#C9A84C]/20 hover:shadow-lg hover:shadow-[#C9A84C]/10",children:[a.jsx(ts,{className:"w-5 h-5"}),"Reserve Your Seats",a.jsx(bt,{className:"w-4 h-4"})]})]})]}),a.jsx(Une,{isOpen:s,onClose:()=>i(!1),totalVotes:o+39e5})]})}
877function Mne(){const[e,t]=B.useState(""),[r,n]=B.useState("all"),[s,i]=B.useState(null),[o,c]=B.useState(!0);Pt.useEffect(()=>{Ce.auth.me().then(g=>{i(g),c(!1)}).catch(()=>c(!1))},[]);const{data:d=[],isLoading:u}=vt({queryKey:["admin_votes"],queryFn:()=>Ce.entities.Vote.list("-created_date",9999),enabled:(s==null?void 0:s.role)==="admin",initialData:[]});if(o)return a.jsx("div",{className:"min-h-screen bg-[#050508] flex items-center justify-center",children:a.jsx("div",{className:"w-8 h-8 border-4 border-[#C9A84C]/20 border-t-[#C9A84C] rounded-full animate-spin"})});if(!s||s.role!=="admin")return a.jsx("div",{className:"min-h-screen bg-[#050508] flex items-center justify-center p-6",children:a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"w-20 h-20 bg-white/5 rounded-full flex items-center justify-center mx-auto mb-6",children:a.jsx(pi,{className:"w-10 h-10 text-white/30"})}),a.jsx("h1",{className:"font-editorial text-3xl font-bold text-white mb-3",children:"Admin Only"}),a.jsx("p",{className:"text-white/40",children:"Voting results are restricted to admin users."})]})});const h={};d.forEach(g=>{h[g.category]||(h[g.category]={}),h[g.category][g.nominee]=(h[g.category][g.nominee]||0)+1});const m=Object.keys(h).sort(),p=m.filter(g=>!(r!=="all"&&g!==r||e&&!g.toLowerCase().includes(e.toLowerCase()))),x=d.length,w=new Set(d.map(g=>g.voter_email)).size;return m.sort((g,b)=>{const v=Object.values(h[g]||{}).reduce((F,S)=>F+S,0);return Object.values(h[b]||{}).reduce((F,S)=>F+S,0)-v})[0],a.jsxs("div",{className:"pt-24 lg:pt-28 min-h-screen bg-[#050508]",children:[a.jsx("section",{className:"py-16 bg-gradient-to-b from-[#0A0A0A] to-[#050508] border-b border-white/5",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[a.jsx("div",{className:"w-10 h-10 bg-[#C9A84C]/10 rounded-full flex items-center justify-center",children:a.jsx(ut,{className:"w-5 h-5 text-[#C9A84C]"})}),a.jsx("span",{className:"text-[#C9A84C] text-[11px] font-bold tracking-[0.3em] uppercase",children:"Admin · Confidential"})]}),a.jsx("h1",{className:"font-editorial text-4xl lg:text-5xl font-bold text-white mb-3",children:"Voting Results 2026"}),a.jsx("p",{className:"text-white/40 mb-8",children:"Live tally â visible to admins only. Results not disclosed publicly until ceremony night."}),a.jsx("div",{className:"grid sm:grid-cols-3 gap-4",children:[{label:"Total Votes Cast",value:x.toLocaleString(),icon:NU},{label:"Unique Voters",value:w.toLocaleString(),icon:U3},{label:"Categories Voted",value:m.length,icon:ut}].map(g=>a.jsxs("div",{className:"bg-white/5 border border-white/10 rounded-2xl px-5 py-4 flex items-center gap-4",children:[a.jsx("div",{className:"w-10 h-10 bg-[#C9A84C]/10 rounded-full flex items-center justify-center flex-shrink-0",children:a.jsx(g.icon,{className:"w-5 h-5 text-[#C9A84C]"})}),a.jsxs("div",{children:[a.jsx("p",{className:"text-white font-bold text-2xl leading-none",children:g.value}),a.jsx("p",{className:"text-white/40 text-xs mt-0.5",children:g.label})]})]},g.label))})]})}),a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-10 py-8",children:[a.jsx("div",{className:"flex flex-wrap gap-3 mb-8",children:a.jsxs("div",{className:"relative flex-1 min-w-[200px]",children:[a.jsx(ks,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-4 h-4 text-white/30"}),a.jsx("input",{value:e,onChange:g=>t(g.target.value),placeholder:"Search categories...",className:"w-full pl-11 pr-4 py-3 bg-white/5 border border-white/10 rounded-xl text-white placeholder-white/30 focus:outline-none focus:border-[#C9A84C]/40 text-sm"})]})}),u?a.jsx("div",{className:"flex items-center justify-center py-20",children:a.jsx("div",{className:"w-8 h-8 border-4 border-[#C9A84C]/20 border-t-[#C9A84C] rounded-full animate-spin"})}):p.length===0?a.jsxs("div",{className:"text-center py-20 text-white/40",children:[a.jsx(ut,{className:"w-12 h-12 mx-auto mb-3 opacity-30"}),a.jsx("p",{children:"No votes recorded yet."})]}):a.jsx("div",{className:"space-y-4",children:p.map((g,b)=>{const v=h[g],N=Object.entries(v).sort((E,D)=>D[1]-E[1]),F=N.reduce((E,[,D])=>E+D,0),S=N[0];return a.jsxs(V.div,{initial:{opacity:0,y:15}
877,animate:{opacity:1,y:0},transition:{delay:b*.04},className:"bg-white/5 border border-white/10 rounded-2xl overflow-hidden hover:border-[#C9A84C]/30 transition-colors",children:[a.jsxs("div",{className:"flex items-center justify-between px-6 py-4 border-b border-white/5",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-white font-semibold text-sm",children:g.replace(/_/g," ").replace(/\b\w/g,E=>E.toUpperCase())}),a.jsxs("p",{className:"text-white/30 text-xs mt-0.5",children:[F," total votes"]})]}),S&&a.jsxs("div",{className:"flex items-center gap-2 bg-[#C9A84C]/10 border border-[#C9A84C]/20 rounded-full px-4 py-1.5",children:[a.jsx(ut,{className:"w-3.5 h-3.5 text-[#C9A84C]"}),a.jsx("span",{className:"text-[#C9A84C] text-xs font-bold truncate max-w-[200px]",children:S[0]})]})]}),a.jsx("div",{className:"px-6 py-4 space-y-3",children:N.map(([E,D],T)=>{const k=F>0?D/F*100:0;return a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"w-5 h-5 rounded-full flex items-center justify-center flex-shrink-0",children:T===0?a.jsx(ut,{className:"w-3.5 h-3.5 text-[#C9A84C]"}):a.jsx("span",{className:"text-white/30 text-xs font-bold",children:T+1})}),a.jsxs("div",{className:"flex-1 min-w-0",children:[a.jsxs("div",{className:"flex items-center justify-between mb-1",children:[a.jsx("span",{className:`text-sm truncate ${T===0?"text-white font-semibold":"text-white/60"}`,children:E}),a.jsxs("span",{className:`text-xs font-bold ml-2 flex-shrink-0 ${T===0?"text-[#C9A84C]":"text-white/40"}`,children:[D," (",k.toFixed(1),"%)"]})]}),a.jsx("div",{className:"h-2 bg-white/5 rounded-full overflow-hidden",children:a.jsx(V.div,{className:`h-full rounded-full ${T===0?"bg-gradient-to-r from-[#C9A84C] to-[#F0D882]":"bg-white/20"}`,initial:{width:0},animate:{width:`${k}%`},transition:{duration:.8,delay:T*.05}})})]})]},E)})})]},g)})})]})]})}const Qne="https://media.base44.com/images/public/699ba2407533cd3b00af8c87/12716a33a_503609375_3953610361557201_1552236414844032115_n.jpg",One=[{name:"Best Drama 2026",nominees:["Glenrothan","Peaky Blinders: The Immortal Man","Hamnet","Goodbye June","Wasteman","Hamlet","Steve","I Swear"]},{name:"Best Feature Film 2026",nominees:["Glenrothan","The Magic Faraway Tree","Peaky Blinders: The Immortal Man","Wasteman","The Thursday Murder Club","My Father's Shadow","Heel","Rose of Nevada","Past Life"]},{name:"Best Thriller 2026",nominees:["Lure","Iron Lung","The Thursday Murder Club","Ballad of a Small Player","The Good Boy (aka Heel)","Helloween","Doctor Plague","Diamond Sky","Borley Rectory: The Awakening"]},{name:"Best Actor 2026",nominees:["Brian Cox (Glenrothan)","Mark Fischbach (Iron Lung)","Alan Cumming (Glenrothan)","Regé-Jean Page (You, Me & Tuscany)","Robert Pattinson (The Drama)","Cillian Murphy (Steve)","Pierce Brosnan (The Thursday Murder Club)","Riz Ahmed (Hamlet)","David Jonsson (Wasteman)"]},{name:"Best Actress 2026",nominees:["Helen Mirren (The Thursday Murder Club)","Olivia Colman (The Roses)","Claire Foy (The Magic Faraway Tree)","Caroline Kaplan (Iron Lung)","Halle Bailey (You, Me & Tuscany)","Zendaya (The Drama)","Jessie Buckley (Hamnet)"]},{name:"Best Supporting Actress 2026",sponsor:"House of Bothania",nominees:["Elsie Lovelock (Iron Lung)","Isabella Ferrari (You, Me & Tuscany)","Nicola Coughlan (The Magic Faraway Tree)","Rebecca Ferguson (Peaky Blinders: The Immortal Man)","Jessica Gunning (The Magic Faraway Tree)","Jennifer Saunders (The Magic Faraway Tree)","Sophie Rundle (Peaky Blinders: The Immortal Man)","Morfydd Clark (Hamlet)","Emily Watson (Hamnet)","Naomi Ackie (The Thursday Murder Club)","Kate Winslet (Goodbye June)"]},{name:"Best Supporting Actor 2026",nominees:["Adam Deacon (Reckless)","Stephen Graham (Peaky Blinders: The Immortal Man)","Tim Roth (Peaky Blinders: The Immortal Man)","Alex Hassell (Wasteman)","Andrew Garfield (The Magic Faraway Tree)","Art Malik (Hamlet)","Nonso Anozie (The Magic Faraway Tree)","Ben Kingsley (The Thursday Murder Club)","Paul Mescal (Hamnet)"]},{name:"Best Director 2026",nominees:["Brian Cox (Glenrothan)","Oliver Cox (Lure)","Mark Fischbach (Iron Lung)","Akinola Davies Jr. (My Father'
877s Shadow)","Olive Nwosu (Lady)","Chloé Zhao (Hamnet)","Antoine Fuqua (Michael)","Chris Columbus (The Thursday Murder Club)","Tom Harper (Peaky Blinders: The Immortal Man)","Cal McMau (Wasteman)","Aneil Karia (Hamlet)"]},{name:"Best Comedy â Film & TV 2026",nominees:["You, Me & Tuscany","Proper Ladies","The Magic Faraway Tree","Twenty Twenty Six","The Walsh Sisters","The Thursday Murder Club","The Roses","Film Club","Glenrothan","The Ballad of Wallis Island"]},{name:"Best Producer â Film & TV 2026",nominees:["Jeff Guerrero & Will Hyde (Iron Lung)","Guy Heeley & Cillian Murphy (Peaky Blinders: The Immortal Man)","Sophia Gibber & Myles Payne (Wasteman)","Pippa Harris & Nicholas Brown (The Magic Faraway Tree)","Gail Egan & Andrea Calderwood (Secret Service)","Tally Garner, Morven Reid & Richard Gadd (Half Man)","Graham King, John Branca, Prince Jackson & John McClain (Michael)"]},{name:"Best TV Drama Series 2026",sponsor:"Dechavel | MondayRepublic.com",nominees:["Bergerac · U/U&Drama","Boarders · BBC","Bridgerton Season 4 · Netflix","Adolescence · Netflix","Babies · BBC One","The Teacher Season 3 · Channel 5","Hijack Season 2 · Apple TV","The Night Manager Season 2 · BBC One","Half Man · BBC/HBO","Secret Service · ITV1/ITVX","Under Salt Marsh · Sky Atlantic","The Walsh Sisters · BBC One"]},{name:"Best Actor in a TV Series 2026",nominees:["Tom Hiddleston (The Night Manager Season 2)","Idris Elba (Hijack Season 2)","Damien Molony (Bergerac)","Luke Thompson (Bridgerton Season 4)","Stephen Graham (Adolescence)","Gary Oldman (Slow Horses Season 5)","Richard Gadd (Half Man)","Joseph Fiennes (Dear England)","David Morrissey (Gone)","Malachi Kirby (A Thousand Blows Season 2)"]},{name:"Best Actress in a TV Series 2026",sponsor:"IMEAN BEAUTY",nominees:["Gemma Arterton (Secret Service)","Kosar Ali (Proper Ladies)","Mia McKenna-Bruce (Agatha Christie's Seven Dials)","Siân Brooke (Blue Lights Season 3)","Kelly Reilly (Under Salt Marsh)","Holliday Grainger (Strike)","Sinéad Keenan (Unforgotten)","Eve Myles (Gone)"]},{name:"Best Supporting Actor in a TV Series 2026",nominees:["Rafe Spall (Secret Service)","Victor Alli (Bridgerton Season 4)","Ashley Walters (Adolescence)","Mark Silcox (Proper Ladies)","Jack Lowden (Slow Horses Season 5)","Jamie Bell (Half Man)","Roger Allam (Secret Service)","Daniel Lawrence Taylor (Boarders)"]},{name:"Best Supporting Actress in a TV Series 2026",nominees:["Zoe Wanamaker (Bergerac)","Amaka Okafor (Secret Service)","Katie Leung (Bridgerton Season 4)","Erin Doherty (Adolescence)","Masali Baduza (Bridgerton Season 4)","Alex Kingston (Secret Service)","Anjli Mohindra (Half Man)","Kristin Scott Thomas (Slow Horses Season 5)"]},{name:"Best Action in a Film / TV Series 2026",sponsor:"Patherlerella",nominees:["Bergerac · U/U&Drama","Secret Service · ITV1","Lady","Peaky Blinders: The Immortal Man · Cinema/Netflix","The Night Manager Season 2 · BBC One","Slow Horses Season 5 · Apple TV","Wasteman","Boaders"]},{name:"Best Streaming Platform 2026",nominees:["Netflix â Adolescence, Peaky Blinders: The Immortal Man","Apple TV â Slow Horses Season 5","BBC iPlayer â Half Man, The Night Manager Season 2","Prime Video â The Night Manager Season 2","Disney+ â A Thousand Blows Season 2","ITVX â Secret Service, Gone","Sky Atlantic / NOW â Under Salt Marsh","MUBI â My Father's Shadow","BritBox â Riot Women","U / U&Drama â Bergerac","Channel 4 Streaming"]},{name:"Best Screenplay in a TV Series 2026",nominees:["Toby Whithouse (Bergerac)","Stefan Golaszewski (Babies)","Riz Ahmed (Bait)","Stephen Graham & Jack Thorne (Adolescence)","Chris Chibnall (Seven Dials)","Steven Knight (A Thousand Blows)","Will Smith (Slow Horses)","Daniel Lawrence Taylor (Boarders)","Tom Bradby & Jemma Kennedy (Secret Service)"]},{name:"Best Independent Film 2026",nominees:["Last Save Point","Surviving Earth","The Good Boy","Tales of the Underworld","Rose of Nevada","My Father's Shadow","Lure","Past Life","Iron Lung","Reckless","Hunting Party","Finding My Voice"]},{name:"Best British Film 2026",sponsor:"Leger Holidays",nominees:["Pillion","Urchin","The Magic Faraway Tree","Peaky Blinders: The Immortal Man","Wasteman","Hamlet","I Swear","Lady"]},{name:"Best Newcomer 2026",sponsor:"Astelle",nominees:["Josh Tedeku (Boarders)","Jodie Campbell (Boarders)","Jaafar Jackson (Michael)","Yerin Ha (Bridgerton Season 4)","Lorenzo de Moor (You, Me & Tuscany)","Owen Cooper (Adolescence)","Sabrina Ali (Proper Ladies)","Godwin Egbo & Chibuike Marvellous Egbo (My Father'
877s Shadow)"]},{name:"Outstanding Performance 2026",sponsor:"Channel ONE Radio (UK)",nominees:["Jessica Gabriel's Ujah (Lady)","Idris Elba (Hijack Season 2)","Jaafar Jackson (Michael)","Nathalie Emmanuel (The Killer)","Jacobi Jupe (Hamnet)","Robert Aramayo (I Swear)","Michael B. Jordan (Sinners)","Timothée Chalamet (Marty Supreme)","Riz Ahmed (Hamlet)"]},{name:"Best International Film 2026",nominees:["Superman","Michael","The Drama","Sinners","Mission: Impossible â The Final Reckoning","Snow White","My Father's Shadow","The Fantastic Four: First Steps"]},{name:"Best Short Film 2026",sponsor:"Channel ONE TV (UK)",nominees:["The Truth About Space","Magid / Zafar","Flock","Stomach Bug","Nostalgie","The Flowers Stand Silently, Witnessing","Flock"]},{name:"Best Vertical Series 2026",sponsor:"VLOGGOO",nominees:["Jollof and Kimchi · UK/South Korea/Nigeria","Game of Choice · UK/USA","In Other Words I Love You · UK","Breaking the Ice · USA/Canada","The Heiress's Revenge · UK/China","Twisted Fate · USA","Off Limits & All Mine · USA","The Beauty and the Billionaire · UK","I Hate to Love My British Bad Boy · UK","Mafia Lover · UK","Tramp · UK","Yr Alwad (The Call) · Wales"]},{name:"Best Foreign Language Film 2026",sponsor:"Channel ONE TV (UK)",nominees:["Sentimental Value · Norway","It Was Just An Accident · Iran","Nouvelle Vague · France","Two Women · Canada","Jawan · India","On Becoming a Guinea Fowl · Zambia/UK","Concrete Utopia · South Korea","Radical · Mexico","The Night Owl · South Korea","The Wandering Earth 2 · China","12th Fail · India","The Teachers' Lounge · Germany"]},{name:"Best Documentary / Docu-Series 2026",sponsor:"Island Falls Home",nominees:["Becoming Victoria Wood â U&GOLD","Louis Theroux: Inside the Manosphere â Netflix","Harry Styles: One Night in Manchester â Netflix","Twiggy â Studio Soho Distribution","Predators â Dogwoof","A Want in Her â BFI Doc Society","Irvine Welsh: Reality Is Not Enough â Kaleidoscope","2000 Meters to Andriivka â Dogwoof","Becoming Led Zeppelin â Sony Pictures"]},{name:"Best Film Production Company 2026",nominees:["BBC Film â Peaky Blinders: The Immortal Man","Agile Films â Wasteman","Potboiler Productions â Secret Service","Mam Tor Productions / Thistledown Pictures â Half Man","Apple TV (UK Content Arm) â Slow Horses Season 5"]}];function Hne(){return a.jsxs("div",{className:"min-h-screen bg-[#FFFEF9]",style:{fontFamily:"'Inter', sans-serif"},children:[a.jsxs("section",{className:"relative h-[85vh] min-h-[600px] overflow-hidden",children:[a.jsx("img",{src:Qne,alt:"National Film Awards 2026",className:"absolute inset-0 w-full h-full object-cover object-center"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0D0A04] via-[#0D0A04]/60 to-transparent"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#0D0A04]/40 to-transparent"}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 px-6 pb-16 max-w-5xl mx-auto",children:a.jsxs(V.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.9},children:[a.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[a.jsx("div",{className:"px-3 py-1 bg-[#D4AF37] rounded-sm",children:a.jsx("span",{className:"text-[10px] font-black tracking-[0.3em] uppercase text-white",children:"Press Release"})}),a.jsx("span",{className:"text-[#D4AF37]/80 text-sm font-medium",children:"Monday 4 May 2026"})]}),a.jsxs("h1",{style:{fontFamily:"'Playfair Display', serif"},className:"text-4xl sm:text-5xl lg:text-6xl font-bold text-white leading-[1.1] mb-5",children:["National Film Awards 2026",a.jsx("br",{}),a.jsx("em",{className:"not-italic text-[#D4AF37]",children:"Full Nominations Announced"})]}),a.jsx("p",{className:"text-white/80 text-lg font-light max-w-2xl mb-6",children:"12th Annual Ceremony · Wednesday 1 July 2026 · Porchester Hall, London W2"}),a.jsx("div",{className:"flex flex-wrap gap-4",children:a.jsxs("a",{href:"/voting",className:"inline-flex items-center gap-2 px-7 py-3 bg-[#D4AF37] text-white text-sm font-bold tracking-wide rounded-sm hover:bg-[#B8941F] transition-colors",children:[a.jsx(Kn,{className:"w-4 h-4"})," Vote Now"]})})]})})]}),a.jsxs("section",{className:"max-w-4xl mx-auto px-6 py-20",children:[a.jsx("div",{className:"flex flex-wrap gap-6 border-b border-[#
877E8D9B0] pb-8 mb-12",children:[{icon:Qt,text:"For Immediate Release â Monday 4 May 2026"},{icon:da,text:"Porchester Hall, London W2 · 1 July 2026"},{icon:Gn,text:"Live: channelonetv.co.uk"}].map(({icon:e,text:t})=>a.jsxs("div",{className:"flex items-center gap-2 text-[#6B5A3A]",children:[a.jsx(e,{className:"w-4 h-4 text-[#C9A84C]"}),a.jsx("span",{className:"text-sm font-medium",children:t})]},t))}),a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[a.jsxs("p",{className:"text-[#1A1208] text-xl font-light leading-relaxed mb-6",children:[a.jsx("strong",{className:"font-semibold",children:"London, 4 May 2026"})," â The National Film Academy has today announced the official nominations for the ",a.jsx("strong",{className:"font-semibold",children:"12th Annual National Film Awards UK"}),", marking its most expansive and publicly driven edition to date."]}),a.jsxs("p",{className:"text-[#4A3B2A] text-lg leading-relaxed mb-6",children:["With over ",a.jsx("strong",{className:"font-semibold text-[#1A1208]",children:"1 million+ submissions"})," from the public during the nominations phase, this year's shortlist reflects a shift in how audiences engage with film and television â where global stars, independent creators, and emerging formats now compete on equal footing."]}),a.jsxs("p",{className:"text-[#4A3B2A] text-lg leading-relaxed mb-6",children:["At the centre of the 2026 nominations are defining industry clashes: ",a.jsx("strong",{className:"font-semibold text-[#1A1208]",children:"Cillian Murphy (Steve) vs Riz Ahmed (Hamlet)"})," in Best Actor. ",a.jsx("strong",{className:"font-semibold text-[#1A1208]",children:"Helen Mirren (The Thursday Murder Club) vs Jessie Buckley (Hamnet)"})," in Best Actress. Stephen Graham emerges as one of the year's most dominant figures, recognised across both film and television."]}),a.jsxs("div",{className:"my-10 p-8 bg-[#FDF8EE] border border-[#D4AF37]/40 rounded-2xl text-center",children:[a.jsx("p",{className:"text-xs font-black tracking-[0.3em] uppercase text-[#C9A84C] mb-3",children:"Public Voting Open Now"}),a.jsx("p",{style:{fontFamily:"'Playfair Display', serif"},className:"text-3xl font-bold text-[#1A1208] mb-2",children:"Vote from 4 May â 27 June 2026"}),a.jsx("p",{className:"text-[#6B5A3A] mb-5",children:"The only major British screen awards determined entirely by public vote."}),a.jsxs("a",{href:"/voting",className:"inline-flex items-center gap-2 px-8 py-3 bg-[#D4AF37] text-white font-bold tracking-wide rounded-sm hover:bg-[#B8941F] transition-colors",children:["Cast Your Vote ",a.jsx(es,{className:"w-4 h-4"})]})]})]}),a.jsxs(V.blockquote,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},className:"border-l-4 border-[#D4AF37] pl-8 py-2 my-10",children:[a.jsx("p",{style:{fontFamily:"'Playfair Display', serif"},className:"text-2xl font-medium italic text-[#1A1208] leading-relaxed mb-4",children:'"The vertical drama industry is not a trend. It is the new language of storytelling â spoken by millions who have never once opened a cinema listing."'}),a.jsx("footer",{className:"text-sm font-bold tracking-wide text-[#C9A84C] uppercase",children:"â Jamie Walsh, National Film Academy"})]}),a.jsxs("div",{className:"grid sm:grid-cols-2 gap-6 my-12",children:[a.jsxs("div",{className:"p-6 bg-[#F8F6F1] rounded-xl border border-[#E8D9B0]",children:[a.jsx("p",{className:"text-xs font-black tracking-[0.25em] uppercase text-[#C9A84C] mb-3",children:"Broadcast Partner"}),a.jsx("p",{style:{fontFamily:"'Playfair Display', serif"},className:"text-xl font-bold text-[#1A1208] mb-2",children:"Channel ONE TV"}),a.jsx("p",{className:"text-[#6B5A3A] text-sm leading-relaxed mb-3",children:"3-year exclusive broadcast & streaming partnership (2026â2028). Live to audiences across the UK."}),a.jsxs("a",{href:"https://www.channelonetv.co.uk",target:"_blank",rel:"noreferrer",className:"text-sm font-semibold text-[#C9A84C] hover:underline flex items-center gap-1",children:["channelonetv.co.uk ",a.jsx(li,{className:"w-3 h-3"})]})]}),a.jsxs("div",{className:"p-6 bg-[#FDF8EE] rounded-xl border border-[#D4AF37]/40",children:[a.jsx("p",{className:"text-xs font-black tracking-[0.25em] uppercase text-[#C9A84C] mb-3",children:"Title Sponsor"}),a.jsx("p",{style:{fontFamily:"'Playfair Display', serif"},className:"text-xl font-bold text-[#1A1208] mb-2",children:"Moneeys.com"}),a.jsx("p",{className:"text-[#6B5A3A] text-sm leading-relaxed",children:"The all-in-one super app bringing together communication, transport, marketplace services, travel, and everyday solutions within a single platform."})]})]}),a.jsxs("p",{className:"text-[#4A3B2A] text-lg leading-relaxed mb-4",children:["The National Film Academy now represents over ",a.jsx("strong",{className:"font-semibold text-[#1A1208]",children:"3.7 million members globally"}),", spanning actors, directors, producers, and industry professionals across 15 international territories."]}),a.jsxs("p",{className:"text-[#4A3B2A] text-lg leading-relaxed mb-12",children:["The 12th National Film Awards also introduces the ",a.jsx("strong",{className:"font-semibold text-[#1A1208]",children:"Best Vertical Series"})," category â making the Academy one of the first major awards bodies to formally recognise mobile-first storytelling. The global vertical drama market exceeded ",a.jsx("strong",{className:"font-semibold text-[#1A1208]",children:"$11 billion in 2025"}),"."]})]}),a.jsx("section",{className:"bg-[#F8F6F1] py-20",children:a.jsxs("div",{className:"max-w-5xl mx-auto px-6",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsxs("div",{className:"flex items-center justify-center gap-4 mb-5",children:[a.jsx("div",{className:"h-px w-16 bg-gradient-to-r from-transparent to-[#C9A84C]"}),a.jsx("span",{className:"text-[11px] font-black tracking-[0.4em] uppercase text-[#C9A84C]",children:"Eligibility: 1 July 2025 â 29 April 2026"}),a.jsx("div",{className:"h-px w-16 bg-gradient-to-l from-transparent to-[#C9A84C]"})]}),a.jsx("h2",{style:{fontFamily:"'Playfair Display', serif"},className:"text-4xl lg:text-5xl font-bold text-[#1A1208] mb-4",children:"Full Nominations"}),a.jsx("p",{className:"text-[#6B5A3A] text-lg",children:"12th National Film Awards 2026 · All 28 Categories"})]}),a.jsx("div",{className:"grid gap-6",children:One.map((e,t)=>a.jsxs(V.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.02}
877,className:"bg-white rounded-2xl border border-[#E8D9B0] overflow-hidden",children:[a.jsxs("div",{className:"px-8 py-6 border-b border-[#E8D9B0]",children:[e.sponsor&&a.jsxs("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 bg-[#D4AF37]/10 border border-[#D4AF37]/40 rounded-full mb-3",children:[a.jsx(It,{className:"w-3 h-3 text-[#C9A84C] fill-[#C9A84C]"}),a.jsxs("span",{className:"text-[10px] font-bold tracking-wide text-[#C9A84C] uppercase",children:["Sponsored by ",e.sponsor]})]}),a.jsx("h3",{style:{fontFamily:"'Playfair Display', serif"},className:"text-xl lg:text-2xl font-bold text-[#1A1208]",children:e.name}),a.jsxs("p",{className:"text-xs text-[#8A7A5A] mt-1 font-semibold tracking-wide uppercase",children:[e.nominees.length," Nominees"]})]}),a.jsx("div",{className:"px-8 py-5 bg-[#FFFEF9]",children:a.jsx("div",{className:"flex flex-col",children:e.nominees.map((r,n)=>a.jsxs("div",{className:"flex items-start gap-3 py-3 border-b border-[#F0EAD6] last:border-0",children:[a.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-[#D4AF37] mt-2 flex-shrink-0"}),a.jsx("span",{className:"text-[#2D2D2D] text-sm font-medium leading-snug",children:r})]},n))})})]},e.name))})]})}),a.jsxs("section",{className:"max-w-4xl mx-auto px-6 py-20",children:[a.jsxs("div",{className:"grid sm:grid-cols-2 gap-10",children:[a.jsxs("div",{children:[a.jsx("h3",{style:{fontFamily:"'Playfair Display', serif"},className:"text-2xl font-bold text-[#1A1208] mb-5",children:"Key Dates"}),a.jsx("div",{className:"space-y-3",children:[{label:"Public Voting Opens",value:"4 May 2026"},{label:"Public Voting Closes",value:"27 June 2026"},{label:"Ceremony",value:"1 July 2026 · Porchester Hall, London W2"},{label:"Broadcast",value:"Live on Channel ONE TV"}].map(({label:e,value:t})=>a.jsxs("div",{className:"flex justify-between items-start gap-4 py-3 border-b border-[#E8D9B0]",children:[a.jsx("span",{className:"text-sm font-semibold text-[#6B5A3A]",children:e}),a.jsx("span",{className:"text-sm font-medium text-[#1A1208] text-right",children:t})]},e))})]}),a.jsxs("div",{children:[a.jsx("h3",{style:{fontFamily:"'Playfair Display', serif"},className:"text-2xl font-bold text-[#1A1208] mb-5",children:"Media Contacts"}),a.jsx("div",{className:"space-y-4",children:[{role:"Press & Accreditation",name:"Yunita Larson",email:"[email protected]"},{role:"Press & Accreditation",name:"Lisa Fuller",email:"[email protected]"},{role:"Partnerships & Product Sampling",name:"Jamie Walsh",email:"[email protected]"},{role:"VIP Tickets & Tables",name:null,email:null,link:"www.nationalfilmawards.co.uk/tickets"}].map((e,t)=>a.jsxs("div",{className:"flex items-start gap-3",children:[a.jsx(En,{className:"w-4 h-4 text-[#C9A84C] mt-0.5 flex-shrink-0"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-xs font-bold tracking-wide text-[#8A7A5A] uppercase mb-0.5",children:e.role}),e.name&&a.jsx("p",{className:"text-sm font-semibold text-[#1A1208]",children:e.name}),e.email&&a.jsx("a",{href:`mailto:${e.email}`,className:"text-sm text-[#C9A84C] hover:underline",children:e.email}),e.link&&a.jsx("a",{href:`https://${e.link}`,className:"text-sm text-[#C9A84C] hover:underline",children:e.link})]})]},t))})]})]}),a.jsxs("div",{className:"mt-16 p-10 bg-[#1A1208] rounded-2xl text-center",children:[a.jsxs("p",{style:{fontFamily:"'Playfair Display', serif"},className:"text-3xl font-bold text-white mb-3",children:["Vote. Attend. ",a.jsx("span",{className:"text-[#D4AF37]",children:"Celebrate."})]}),a.jsx("p",{className:"text-white/70 mb-8",children:"Wednesday 1 July 2026 · Porchester Hall, London W2"}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx("a",{href:"/voting",className:"px-8 py-3 bg-[#D4AF37] text-white font-bold tracking-wide rounded-sm hover:bg-[#B8941F] transition-colors",children:"Cast Your Vote"}),a.jsx("a",{href:"/tickets",className:"px-8 py-3 border border-white/30 text-white font-semibold tracking-wide rounded-sm hover:bg-white/10 transition-colors",children:"Reserve Seats"})]})]})]})]})}const Vne=[{name:"General Enquiries",email:"[email protected]",description:"For all general questions about the National Film Awards and the Academy.",icon:Cx},{name:"Partnerships & Sponsorship",contact:"Andy Bradshaw",title:"Director of Partnerships",email:"[email protected]",description:"For sponsorship packages, brand partnerships and commercial opportunities.",icon:or},{name:"Head of Partnerships",contact:"Jamie Walsh",title:"Head of Partnerships",email:"[email protected]",description:"For partnership strategy, key accounts, and senior sponsorship enquiries.",icon:Gn},{name:"VIP & Talent Coordination",contact:"Elizabeth Harris",title:"VIP & Talent Coordinator",email:"[email protected]",description:"For VIP guest management, talent bookings, and ceremony coordination.",icon:or},{name:"Academy Membership",contact:"Lisa Fuller",title:"Academy Membership Manager",email:"[email protected]",description:"For membership enquiries, renewals, and Academy Registry support.",icon:Cx},{name:"PR & Marketing",contact:"Anna Gabrielle Wallace",title:"PR & Marketing Manager",email:"[email protected]",description:"For marketing partnerships, brand visibility, and PR campaigns.",icon:Gn},{name:"PR Assistant",contact:"Linda Sykes",title:"PR Assistant",email:"[email protected]",description:"For press accreditation, media requests, and journalist enquiries.",icon:Cx},{name:"Production",contact:"Richard Goldstein",title:"Production Manager",email:"[email protected]",description:"For ceremony production, staging, technical, and event logistics.",icon:or}];
877function Kne(){const[e,t]=B.useState({name:"",email:"",subject:"",message:""}),[r,n]=B.useState(!1),s=i=>{i.preventDefault();const o=`mailto:[email protected]?subject=${encodeURIComponent(e.subject||"General Enquiry")}&body=${encodeURIComponent(`Name: ${e.name} 878Email: ${e.email} 879 880${e.message}`)}`;window.location.href=o,n(!0)};return a.jsxs("div",{className:"min-h-screen bg-[#FFFEF9]",children:[a.jsxs("section",{className:"relative pt-40 pb-28 overflow-hidden bg-[#0D0A04]",children:[a.jsx("div",{className:"absolute inset-0 opacity-[0.04]",style:{backgroundImage:"repeating-linear-gradient(0deg,#C9A84C,#C9A84C 1px,transparent 1px,transparent 60px),repeating-linear-gradient(90deg,#C9A84C,#C9A84C 1px,transparent 1px,transparent 60px)"}}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-[#C9A84C]/40 to-transparent"}),a.jsx("div",{className:"relative max-w-4xl mx-auto px-6 text-center",children:a.jsxs(V.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.8},children:[a.jsxs("div",{className:"flex items-center justify-center gap-4 mb-7",children:[a.jsx("div",{className:"h-px w-14 bg-gradient-to-r from-transparent to-[#C9A84C]"}),a.jsx("span",{className:"text-[11px] font-black tracking-[0.4em] uppercase text-[#C9A84C]",children:"National Film Academy"}),a.jsx("div",{className:"h-px w-14 bg-gradient-to-l from-transparent to-[#C9A84C]"})]}),a.jsxs("h1",{style:{fontFamily:"'Playfair Display', serif"},className:"text-5xl sm:text-6xl lg:text-7xl font-bold text-white leading-[1.08] mb-6",children:["Get in ",a.jsx("em",{className:"not-italic text-[#D4AF37]",children:"Touch"})]}),a.jsx("p",{className:"text-white/65 text-xl font-light max-w-xl mx-auto leading-relaxed",children:"We'd love to hear from you â whether you're a filmmaker, partner, journalist, or fan of British cinema."})]})})]}),a.jsxs("section",{className:"max-w-6xl mx-auto px-6 -mt-1 pt-20 pb-16",children:[a.jsx("div",{className:"grid md:grid-cols-3 gap-6 mb-20",children:[{icon:Wy,label:"Telephone",value:"+44 (0) 203 856 3307",sub:"Mon â Fri, 9am â 6pm GMT",href:"tel:+442038563307"},{icon:En,label:"Email",value:"[email protected]",sub:"We aim to respond within 2 business days",href:"mailto:[email protected]"},{icon:da,label:"Headquarters",value:"42 Theobalds Rd",sub:"London, WC1X 8NW, United Kingdom",href:"https://maps.google.com/?q=42+Theobalds+Rd+London+WC1X+8NW"}].map(({icon:i,label:o,value:c,sub:d,href:u},h)=>a.jsxs(V.a,{href:u,target:u.startsWith("https")?"_blank":void 0,rel:"noreferrer",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:h*.1},className:"group block p-8 bg-white border border-[#E8D9B0] rounded-2xl hover:border-[#D4AF37] hover:shadow-[0_8px_40px_rgba(212,175,55,0.12)] transition-all duration-300",children:[a.jsx("div",{className:"w-12 h-12 bg-[#D4AF37]/10 rounded-xl flex items-center justify-center mb-5 group-hover:bg-[#D4AF37]/20 transition-colors",children:a.jsx(i,{className:"w-5 h-5 text-[#C9A84C]"})}),a.jsx("p",{className:"text-[10px] font-black tracking-[0.3em] uppercase text-[#C9A84C] mb-2",children:o}),a.jsx("p",{style:{fontFamily:"'Playfair Display', serif"},className:"text-lg font-bold text-[#1A1208] mb-1 leading-snug",children:c}),a.jsxs("p",{className:"text-sm text-[#8A7A5A] flex items-center gap-1",children:[a.jsx(wo,{className:"w-3 h-3"})," ",d]})]},o))}),a.jsxs("div",{className:"mb-20",children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsxs("div",{className:"flex items-center justify-center gap-4 mb-4",children:[a.jsx("div",{className:"h-px w-12 bg-gradient-to-r from-transparent to-[#C9A84C]"}),a.jsx("span",{className:"text-[11px] font-black tracking-[0.4em] uppercase text-[#C9A84C]",children:"Direct Lines"}),a.jsx("div",{className:"h-px w-12 bg-gradient-to-l from-transparent to-[#C9A84C]"})]}),a.jsx("h2",{style:{fontFamily:"'Playfair Display', serif"},className:"text-4xl font-bold text-[#1A1208]",children:"Department Contacts"})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:Vne.map(({name:i,contact:o,title:c,email:d,description:u,icon:h},m)=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:m*.1}
880,className:"p-8 bg-[#F8F6F1] border border-[#E8D9B0] rounded-2xl",children:[a.jsx("div",{className:"w-10 h-10 bg-[#D4AF37]/15 rounded-lg flex items-center justify-center mb-4",children:a.jsx(h,{className:"w-4 h-4 text-[#C9A84C]"})}),a.jsx("h3",{style:{fontFamily:"'Playfair Display', serif"},className:"text-lg font-bold text-[#1A1208] mb-1",children:i}),o&&a.jsx("p",{className:"text-sm font-semibold text-[#4A3B2A] mb-0.5",children:o}),c&&a.jsx("p",{className:"text-xs text-[#8A7A5A] mb-3 tracking-wide",children:c}),a.jsx("p",{className:"text-sm text-[#6B5A3A] leading-relaxed mb-4",children:u}),a.jsxs("a",{href:`mailto:${d}`,className:"inline-flex items-center gap-2 text-sm font-semibold text-[#C9A84C] hover:text-[#B8941F] transition-colors group",children:[a.jsx(En,{className:"w-3.5 h-3.5"}),d,a.jsx(li,{className:"w-3 h-3 opacity-0 group-hover:opacity-100 transition-opacity"})]})]},i))})]}),a.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-start",children:[a.jsxs(V.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[a.jsxs("div",{className:"mb-8",children:[a.jsx("p",{className:"text-[10px] font-black tracking-[0.4em] uppercase text-[#C9A84C] mb-3",children:"Send a Message"}),a.jsx("h2",{style:{fontFamily:"'Playfair Display', serif"},className:"text-4xl font-bold text-[#1A1208]",children:"Write to Us"})]}),r?a.jsxs("div",{className:"p-10 bg-[#FDF8EE] border border-[#D4AF37]/40 rounded-2xl text-center",children:[a.jsx("div",{className:"w-14 h-14 bg-[#D4AF37]/15 rounded-full flex items-center justify-center mx-auto mb-4",children:a.jsx(or,{className:"w-6 h-6 text-[#C9A84C]"})}),a.jsx("p",{style:{fontFamily:"'Playfair Display', serif"},className:"text-2xl font-bold text-[#1A1208] mb-2",children:"Message Prepared"}),a.jsx("p",{className:"text-[#6B5A3A] text-sm",children:"Your default email client has been opened with your message ready to send."})]}):a.jsxs("form",{onSubmit:s,className:"space-y-5",children:[a.jsxs("div",{className:"grid sm:grid-cols-2 gap-5",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-[10px] font-bold tracking-[0.25em] uppercase text-[#8A7A5A] mb-2",children:"Full Name"}),a.jsx("input",{required:!0,value:e.name,onChange:i=>t({...e,name:i.target.value}),placeholder:"Your full name",className:"w-full px-4 py-3.5 bg-white border border-[#E8D9B0] rounded-xl text-[#1A1208] placeholder-[#B0A080] focus:outline-none focus:border-[#C9A84C] transition text-sm"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-[10px] font-bold tracking-[0.25em] uppercase text-[#8A7A5A] mb-2",children:"Email Address"}),a.jsx("input",{type:"email",required:!0,value:e.email,onChange:i=>t({...e,email:i.target.value}),placeholder:"[email protected]",className:"w-full px-4 py-3.5 bg-white border border-[#E8D9B0] rounded-xl text-[#1A1208] placeholder-[#B0A080] focus:outline-none focus:border-[#C9A84C] transition text-sm"})]})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-[10px] font-bold tracking-[0.25em] uppercase text-[#8A7A5A] mb-2",children:"Subject"}),a.jsx("input",{value:e.subject,onChange:i=>t({...e,subject:i.target.value}),placeholder:"How can we help?",className:"w-full px-4 py-3.5 bg-white border border-[#E8D9B0] rounded-xl text-[#1A1208] placeholder-[#B0A080] focus:outline-none focus:border-[#C9A84C] transition text-sm"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-[10px] font-bold tracking-[0.25em] uppercase text-[#8A7A5A] mb-2",children:"Message"}),a.jsx("textarea",{required:!0,rows:6,value:e.message,onChange:i=>t({...e,message:i.target.value}),placeholder:"Tell us more about your enquiry...",className:"w-full px-4 py-3.5 bg-white border border-[#E8D9B0] rounded-xl text-[#1A1208] placeholder-[#B0A080] focus:outline-none focus:border-[#C9A84C] transition text-sm resize-none"})]}),a.jsxs("button",{type:"submit",className:"w-full py-4 bg-[#1A1208] text-[#D4AF37] font-bold text-[12px] tracking-[0.2em] uppercase rounded-full hover:bg-[#2D2416] transition-all flex items-center justify-center gap-2 border border-[#C9A84C]/20",children:[a.jsx(or,{className:"w-4 h-4"})," Send Message"]}),a.jsx("p",{className:"text-center text-[#B0A080] text-xs",children:"This will open your email client with your message pre-filled."})]})]}),a.jsxs(V.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},className:"space-y-6",children:[a.jsx("div",{className:"rounded-2xl overflow-hidden border border-[#
880E8D9B0] shadow-sm aspect-[4/3]",children:a.jsx("iframe",{title:"NFA Headquarters",width:"100%",height:"100%",style:{border:0},loading:"lazy",allowFullScreen:!0,src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2482.3!2d-0.1139!3d51.5198!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x48761b3e9e8aeeef%3A0x1!2s42+Theobalds+Rd%2C+London+WC1X+8NW!5e0!3m2!1sen!2suk!4v1"})}),a.jsxs("div",{className:"p-7 bg-[#0D0A04] rounded-2xl text-white",children:[a.jsx("div",{className:"h-px bg-gradient-to-r from-[#C9A84C] via-[#F0D882] to-[#C9A84C] mb-6"}),a.jsx("p",{style:{fontFamily:"'Playfair Display', serif"},className:"text-2xl font-bold text-white mb-1",children:"NFA Academy"}),a.jsx("p",{className:"text-white/60 text-sm mb-5",children:"42 Theobalds Rd, London, WC1X 8NW"}),a.jsxs("div",{className:"space-y-2 mb-6",children:[a.jsxs("div",{className:"flex items-center gap-3 text-sm text-white/70",children:[a.jsx(Wy,{className:"w-3.5 h-3.5 text-[#C9A84C] flex-shrink-0"}),a.jsx("span",{children:"+44 (0) 203 856 3307"})]}),a.jsxs("div",{className:"flex items-center gap-3 text-sm text-white/70",children:[a.jsx(En,{className:"w-3.5 h-3.5 text-[#C9A84C] flex-shrink-0"}),a.jsx("span",{children:"[email protected]"})]}),a.jsxs("div",{className:"flex items-center gap-3 text-sm text-white/70",children:[a.jsx(wo,{className:"w-3.5 h-3.5 text-[#C9A84C] flex-shrink-0"}),a.jsx("span",{children:"Monday â Friday, 9:00am â 6:00pm GMT"})]})]}),a.jsxs("a",{href:"https://maps.google.com/?q=42+Theobalds+Rd+London+WC1X+8NW",target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-2 px-5 py-2.5 bg-[#D4AF37] text-white text-xs font-bold tracking-wide rounded-full hover:bg-[#B8941F] transition-colors",children:[a.jsx(da,{className:"w-3.5 h-3.5"})," Get Directions"]})]})]})]})]}),a.jsx("section",{className:"bg-[#F8F6F1] border-t border-[#E8D9B0] py-16 mt-10",children:a.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[a.jsx("p",{style:{fontFamily:"'Playfair Display', serif"},className:"text-3xl font-bold text-[#1A1208] mb-3",children:"Part of the British Film Community?"}),a.jsx("p",{className:"text-[#6B5A3A] mb-7",children:"Join the National Film Academy and be part of the conversation that shapes British cinema."}),a.jsx("a",{href:"/Members",className:"inline-flex items-center gap-2 px-8 py-3.5 bg-[#1A1208] text-[#D4AF37] font-bold text-sm tracking-wide rounded-full hover:bg-[#2D2416] transition-colors border border-[#C9A84C]/20",children:"Become a Member"})]})})]})}const Gne="https://media.base44.com/images/public/699ba2407533cd3b00af8c87/1b544933a_nfalogo.png";
880function Wne(){const[e,t]=B.useState(null),[r,n]=B.useState(!0),[s,i]=B.useState(""),[o,c]=B.useState(0);B.useEffect(()=>{const p=new URLSearchParams(window.location.search),x=p.get("session_id"),w=p.get("ref");if(!x&&!w){i("No booking reference found."),n(!1);return}const g=async()=>{var v;try{const N=await Ce.functions.invoke("stripeGetBooking",{sessionId:x,bookingRef:w});(v=N.data)!=null&&v.booking?(t(N.data.booking),n(!1)):(n(!1),i("Booking not found."))}catch{n(!1),i("Could not load booking details.")}};g();const b=setInterval(()=>{c(v=>v>=5?(clearInterval(b),v):(g(),v+1))},2e3);return()=>clearInterval(b)},[]);const d=e!=null&&e.qr_code_value||e!=null&&e.qr_value?`https://api.qrserver.com/v1/create-qr-code/?size=250x250&data=${encodeURIComponent(e.qr_code_value||e.qr_value)}&bgcolor=000000&color=D4AF37&margin=10`:null;if(r)return a.jsx("div",{className:"min-h-screen bg-[#0A0A0A] flex items-center justify-center",children:a.jsxs("div",{className:"text-center",children:[a.jsx(ir,{className:"w-10 h-10 text-[#D4AF37] animate-spin mx-auto mb-4"}),a.jsx("p",{className:"text-white/60 text-sm",children:"Confirming your bookingâ¦"})]})});if(s)return a.jsx("div",{className:"min-h-screen bg-[#0A0A0A] flex items-center justify-center px-6",children:a.jsxs("div",{className:"text-center max-w-md",children:[a.jsx(kl,{className:"w-12 h-12 text-red-400 mx-auto mb-4"}),a.jsx("h1",{className:"text-white font-bold text-2xl mb-2",children:"Something went wrong"}),a.jsx("p",{className:"text-white/50 mb-6",children:s}),a.jsx(He,{to:"/Tickets",className:"inline-flex items-center gap-2 bg-[#D4AF37] text-black font-black px-6 py-3 rounded-full text-sm",children:"Return to Tickets"})]})});const u=(e==null?void 0:e.payment_status)==="paid",h=(e==null?void 0:e.payment_status)==="pending",m=e?`£${(e.total_amount/100).toFixed(2)}`:"";return a.jsx("div",{className:"min-h-screen bg-[#0A0A0A] py-20 px-4",children:a.jsxs("div",{className:"max-w-2xl mx-auto",children:[a.jsxs(V.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},className:`rounded-2xl p-5 mb-8 flex items-center gap-4 ${u?"bg-[#D4AF37]/10 border border-[#D4AF37]/40":h?"bg-blue-500/10 border border-blue-500/30":"bg-red-500/10 border border-red-500/30"}`,children:[u?a.jsx(an,{className:"w-8 h-8 text-[#D4AF37] flex-shrink-0"}):h?a.jsx(ir,{className:"w-8 h-8 text-blue-400 animate-spin flex-shrink-0"}):a.jsx(kl,{className:"w-8 h-8 text-red-400 flex-shrink-0"}),a.jsxs("div",{children:[a.jsx("p",{className:`font-black text-lg ${u?"text-[#D4AF37]":h?"text-blue-300":"text-red-400"}`,children:u?"Payment Confirmed":h?"Payment Processingâ¦":"Payment Failed"}),a.jsx("p",{className:"text-white/50 text-sm",children:u?"Your ticket has been issued. A confirmation email has been sent.":h?"We're confirming your payment. This page will update automatically.":"Your payment could not be processed. Please try again."})]})]}),a.jsxs(V.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},className:"bg-[#111] border border-white/10 rounded-2xl overflow-hidden",children:[a.jsxs("div",{className:"bg-[#0A0A0A] border-b border-[#D4AF37]/20 p-8 text-center",children:[a.jsx("img",{src:Gne,alt:"NFA",className:"w-16 h-auto mx-auto mb-4"}),a.jsx("p",{className:"text-[#D4AF37] text-[10px] font-black tracking-[0.35em] uppercase mb-1",children:"The 12th Annual Ceremony"}),a.jsx("h1",{className:"text-white font-bold text-3xl",children:"National Film Awards 2026"}),a.jsx("p",{className:"text-white/40 text-sm mt-2",children:"1 July 2026 · Central London"})]}),a.jsxs("div",{className:"p-8 space-y-6",children:[a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{className:"bg-[#0A0A0A] rounded-xl p-4",children:[a.jsx("p",{className:"text-[#D4AF37] text-[9px] font-black tracking-[0.3em] uppercase mb-2",children:"Booking Reference"}),a.jsx("p",{className:"text-white font-black text-xl tracking-wider",children:e.booking_reference})]}),u&&e.ticket_code&&a.jsxs("div",{className:"bg-[#0A0A0A] rounded-xl p-4",children:[a.jsx("p",{className:"text-[#D4AF37] text-[9px] font-black tracking-[0.3em] uppercase mb-2",children:"Ticket Code"}),a.jsx("p",{className:"text-white font-mono font-bold text-sm",children:e.ticket_code})]})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-white/40 text-xs font-bold mb-1",children:"Package"}),a.jsx("p",{className:"text-white font-semibold text-sm",children:e.package_name})]}),a.jsxs("div",{children:[a.jsx("p",{className:"text-white/40 text-xs font-bold mb-1",children:"Tickets"}),a.jsxs("p",{className:"text-white font-semibold text-sm",children:[e.quantity," Ticket",e.quantity>1?"s":""]})]}),a.jsxs("div",{children:[a.jsx("p",{className:"text-white/40 text-xs font-bold mb-1",children:"Ticket Holder"}),a.jsx("p",{className:"text-white font-semibold text-sm",children:e.holder_name}),a.jsx("p",{className:"text-white/40 text-xs",children:e.holder_email})]}),a.jsxs("div",{children:[a.jsx("p",{className:"text-white/40 text-xs font-bold mb-1",children:"Total Paid"}),a.jsx("p",{className:"text-[#D4AF37] font-black text-xl",children:m})]})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{className:"bg-[#0A0A0A] rounded-xl p-4 flex items-center gap-3",children:[a.jsx(Qt,{className:"w-5 h-5 text-[#D4AF37] flex-shrink-0"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-white font-semibold text-sm",children:"1 July 2026"}),a.jsx("p",{className:"text-white/40 text-xs",children:"Doors open 6:00 PM"})]})]}),a.jsxs("div",{className:"bg-[#0A0A0A] rounded-xl p-4 flex items-center gap-3",children:[a.jsx(da,{className:"w-5 h-5 text-[#D4AF37] flex-shrink-0"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-white font-semibold text-sm",children:"Central London"}),a.jsx("p",{className:"text-white/40 text-xs",children:"United Kingdom"})]})]})]}),u&&d&&a.jsxs("div",{className:"text-center",children:[a.jsx("p",{className:"text-[#D4AF37] text-[9px] font-black tracking-[0.3em] uppercase mb-4",children:"Your Entry QR Code"}),a.jsx("div",{className:"inline-block bg-black border border-[#D4AF37]/40 rounded-xl p-4",children:a.jsx("img",{src:d,alt:"Entry QR Code",className:"w-48 h-48"})}),a.jsx("p",{className:"text-white/30 text-xs mt-3",children:"Present this at the venue entrance"})]})]}),a.jsxs("div",{className:"border-t border-white/10 p-6 flex flex-col sm:flex-row gap-3 justify-between items-center",children:[a.jsx("p",{className:"text-white/30 text-xs text-center sm:text-left",children:u?"A confirmation email has been sent to "+e.holder_email:""}),a.jsxs("div",{className:"flex gap-3",children:[a.jsx(He,{to:"/",className:"inline-flex items-center gap-2 border border-white/20 hover:border-white/40 text-white font-bold text-sm px-5 py-2.5 rounded-full transition-all",children:"Return Home"}),u&&a.jsxs(He,{to:"/Tickets",className:"inline-flex items-center gap-2 bg-[#D4AF37] hover:bg-[#C9A84C] text-black font-black text-sm px-5 py-2.5 rounded-full transition-all",children:[a.jsx(ts,{className:"w-4 h-4"})," Book More"]})]})]})]})]})})}const pj=["VIP Table (10 Seats)","VIP Table (8 Seats)","VIP Individual Seat","Standard Individual Seat","Press / Media Pass","Complimentary Guest","Industry Pass"];function zne({onClose:e,onSuccess:t}){const[r,n]=B.useState({holder_name:"",holder_email:"",holder_phone:"",package_name:pj[0],quantity:1,total_amount_pounds:"",attendee_names:[""]}),[s,i]=B.useState(!1),[o,c]=B.useState(""),[d,u]=B.useState(null),h=(g,b)=>n(v=>({...v,[g]:b})),m=(g,b)=>{const v=[...r.attendee_names];v[g]=b,n(N=>({...N,attendee_names:v}))},p=()=>n(g=>({...g,attendee_names:[...g.attendee_names,""]})),x=g=>n(b=>
880({...b,attendee_names:b.attendee_names.filter((v,N)=>N!==g)})),w=async g=>{if(g.preventDefault(),c(""),!r.holder_name.trim()||!r.holder_email.trim())return c("Name and email are required.");i(!0);try{const b=await Ce.functions.invoke("manualTicketIssue",{...r,attendee_names:r.attendee_names.filter(v=>v.trim()),quantity:parseInt(r.quantity)});u(b.data)}catch(b){c(b.message||"Failed to issue ticket.")}finally{i(!1)}};return a.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",style:{background:"rgba(0,0,0,0.90)"},onClick:g=>g.target===g.currentTarget&&e(),children:a.jsxs(V.div,{initial:{scale:.95,opacity:0},animate:{scale:1,opacity:1},className:"bg-[#111] border border-white/20 rounded-2xl w-full max-w-lg max-h-[90vh] overflow-y-auto",children:[a.jsxs("div",{className:"flex items-center justify-between p-6 border-b border-white/10",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-[#D4AF37] text-[9px] font-black tracking-[0.3em] uppercase mb-1",children:"Admin"}),a.jsx("h3",{className:"text-white font-bold text-lg",children:"Issue Manual Ticket"})]}),a.jsx("button",{onClick:e,className:"text-white/40 hover:text-white transition-colors",children:a.jsx(tr,{className:"w-5 h-5"})})]}),d?a.jsxs("div",{className:"p-8 text-center",children:[a.jsx("div",{className:"w-16 h-16 bg-emerald-500/10 border border-emerald-500/20 rounded-full flex items-center justify-center mx-auto mb-5",children:a.jsx(or,{className:"w-7 h-7 text-emerald-400"})}),a.jsx("p",{className:"text-emerald-400 font-black text-lg mb-2",children:"Ticket Issued & Emailed!"}),a.jsxs("p",{className:"text-white/60 text-sm mb-1",children:["Reference: ",a.jsx("span",{className:"text-white font-mono font-bold",children:d.booking_reference})]}),a.jsxs("p",{className:"text-white/60 text-sm mb-6",children:["Code: ",a.jsx("span",{className:"text-white font-mono font-bold",children:d.ticket_code})]}),a.jsx("button",{onClick:t,className:"bg-[#D4AF37] hover:bg-[#C9A84C] text-black font-black px-8 py-3 rounded-xl transition-all",children:"Done"})]}):a.jsxs("form",{onSubmit:w,className:"p-6 space-y-5",children:[a.jsxs("div",{className:"space-y-3",children:[a.jsx("p",{className:"text-[#D4AF37] text-[9px] font-black tracking-[0.25em] uppercase",children:"Lead Ticket Holder"}),a.jsx("input",{required:!0,placeholder:"Full name *",value:r.holder_name,onChange:g=>h("holder_name",g.target.value),className:"w-full bg-[#0A0A0A] border border-white/10 rounded-xl px-4 py-3 text-white placeholder-white/30 text-sm focus:outline-none focus:border-[#D4AF37]/50"}),a.jsx("input",{required:!0,type:"email",placeholder:"Email address *",value:r.holder_email,onChange:g=>h("holder_email",g.target.value),className:"w-full bg-[#0A0A0A] border border-white/10 rounded-xl px-4 py-3 text-white placeholder-white/30 text-sm focus:outline-none focus:border-[#D4AF37]/50"}),a.jsx("input",{placeholder:"Phone number (optional)",value:r.holder_phone,onChange:g=>h("holder_phone",g.target.value),className:"w-full bg-[#0A0A0A] border border-white/10 rounded-xl px-4 py-3 text-white placeholder-white/30 text-sm focus:outline-none focus:border-[#D4AF37]/50"})]}),a.jsxs("div",{className:"space-y-3",children:[a.jsx("p",{className:"text-[#D4AF37] text-[9px] font-black tracking-[0.25em] uppercase",children:"Package & Quantity"}),a.jsx("select",{value:r.package_name,onChange:g=>h("package_name",g.target.value),className:"w-full bg-[#0A0A0A] border border-white/10 rounded-xl px-4 py-3 text-white text-sm focus:outline-none focus:border-[#D4AF37]/50",children:pj.map(g=>a.jsx("option",{value:g,children:g},g))}),a.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[a.jsxs("div",{children:[a.jsx("label",{className:"text-white/40 text-xs mb-1 block",children:"Quantity"}),a.jsx("input",{type:"number",min:"1",max:"20",value:r.quantity,onChange:g=>h("quantity",g.target.value),className:"w-full bg-[#0A0A0A] border border-white/10 rounded-xl px-4 py-3 text-white text-sm focus:outline-none focus:border-[#D4AF37]/50"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"text-white/40 text-xs mb-1 block",children:"Amount Paid (£)"}),a.jsx("input",{type:"number",step:"0.01",min:"0",placeholder:"0.00",value:r.total_amount_pounds,onChange:g=>h("total_amount_pounds",g.target.value),className:"w-full bg-[#0A0A0A] border border-white/10 rounded-xl px-4 py-3 text-white placeholder-white/30 text-sm focus:outline-none focus:border-[#D4AF37]/50"})]})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx("p",{className:"text-[#D4AF37] text-[9px] font-black tracking-[0.25em] uppercase",children:"Attendee Names"}),r.attendee_names.map((g,b)=>a.jsxs("div",{className:"flex gap-2",children:[a.jsx("input",{placeholder:`Attendee ${b+1}`,value:g,onChange:v=>m(b,v.target.value),className:"flex-1 bg-[#0A0A0A] border border-white/10 rounded-xl px-4 py-3 text-white placeholder-white/30 text-sm focus:outline-none focus:border-[#D4AF37]/50"}),r.attendee_names.length>1&&a.jsx("button",{type:"button",onClick:()=>x(b),className:"text-white/30 hover:text-red-400 transition-colors p-2",children:a.jsx(SA,{className:"w-4 h-4"})})]},b)),a.jsxs("button",{type:"button",onClick:p,className:"flex items-center gap-2 text-[#D4AF37]/70 hover:text-[#D4AF37] text-xs font-bold transition-colors",children:[a.jsx(Kp,{className:"w-3.5 h-3.5"})," Add Attendee"]})]}),o&&a.jsx("p",{className:"text-red-400 text-sm bg-red-500/10 border border-red-500/20 rounded-xl px-4 py-3",children:o}),a.jsxs("div",{className:"flex gap-3 pt-2",children:[a.jsx("button",{type:"button",onClick:e,className:"flex-1 border border-white/20 text-white/60 font-bold py-3 rounded-xl text-sm hover:border-white/40 transition-all",children:"Cancel"}),a.jsx("button",{type:"submit",disabled:s,className:"flex-1 flex items-center justify-center gap-2 bg-[#D4AF37] hover:bg-[#C9A84C] disabled:opacity-50 text-black font-black py-3 rounded-xl text-sm transition-all",children:s?a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx("div",{className:"w-4 h-4 border-2 border-black/30 border-t-black rounded-full animate-spin"})," Issuing..."]}):a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(or,{className:"w-4 h-4"})," Issue & Email Ticket"]})})]})]})]})})}const gj={paid:{label:"Paid",color:"text-emerald-400 bg-emerald-500/10 border-emerald-500/20"},pending:{label:"Pending",color:"text-yellow-400 bg-yellow-500/10 border-yellow-500/20"},failed:{label:"Failed",color:"text-red-400 bg-red-500/10 border-red-500/20"},cancelled:{label:"Cancelled",color:"text-white/40 bg-white/5 border-white/10"}};function Jne({booking:e,onClose:t,onSuccess:r}){const[n,s]=B.useState(""),[i,o]=B.useState(null),[c,d]=B.useState(!1),u=async(h,m)=>{var p,x;d(!0),o(null);try{const w=await Ce.functions.invoke("stripeCheckIn",{bookingId:h,qrValue:m||void 0});(p=w.data)!=null&&p.success?(o({success:!0,msg:`${w.data.booking.holder_name} checked in successfully!`}
880),r()):o({success:!1,msg:((x=w.data)==null?void 0:x.error)||"Check-in failed"})}catch(w){o({success:!1,msg:w.message})}finally{d(!1)}};return a.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",style:{background:"rgba(0,0,0,0.85)"},onClick:h=>h.target===h.currentTarget&&t(),children:a.jsxs(V.div,{initial:{scale:.95,opacity:0},animate:{scale:1,opacity:1},className:"bg-[#111] border border-white/20 rounded-2xl p-6 w-full max-w-md",children:[a.jsxs("div",{className:"flex items-center justify-between mb-5",children:[a.jsx("h3",{className:"text-white font-bold text-lg",children:"QR Check-In"}),a.jsx("button",{onClick:t,className:"text-white/40 hover:text-white text-xl",children:"â"})]}),e?a.jsxs("div",{className:"mb-5 p-4 bg-[#0A0A0A] rounded-xl",children:[a.jsx("p",{className:"text-white font-semibold",children:e.holder_name}),a.jsxs("p",{className:"text-white/40 text-sm",children:[e.booking_reference," · ",e.package_name]}),e.checked_in&&a.jsx("p",{className:"text-yellow-400 text-xs mt-2 font-bold",children:"â Already checked in"})]}):a.jsxs("div",{className:"mb-5",children:[a.jsx("p",{className:"text-white/50 text-sm mb-3",children:"Enter QR code value to check in a guest:"}),a.jsx("input",{type:"text",placeholder:"Paste QR code value (NFA2026|REF|CODE|EMAIL)",value:n,onChange:h=>s(h.target.value),className:"w-full bg-[#0A0A0A] border border-white/20 rounded-xl px-4 py-3 text-white placeholder-white/30 text-sm focus:outline-none focus:border-[#D4AF37]/60"})]}),i&&a.jsx("div",{className:`mb-4 p-3 rounded-xl text-sm font-semibold ${i.success?"bg-emerald-500/10 text-emerald-400 border border-emerald-500/20":"bg-red-500/10 text-red-400 border border-red-500/20"}`,children:i.msg}),a.jsxs("div",{className:"flex gap-3",children:[a.jsx("button",{onClick:t,className:"flex-1 border border-white/20 text-white/60 font-bold py-3 rounded-xl text-sm hover:border-white/40 transition-all",children:"Close"}),a.jsx("button",{onClick:()=>e?u(e.id,null):u(null,n),disabled:c||!e&&!n.trim(),className:"flex-1 bg-[#D4AF37] hover:bg-[#C9A84C] disabled:opacity-50 text-black font-black py-3 rounded-xl text-sm transition-all",children:c?"Checking inâ¦":"Check In"})]})]})})}
880function qne(){const[e,t]=B.useState(""),[r,n]=B.useState("all"),[s,i]=B.useState(null),[o,c]=B.useState(!1),[d,u]=B.useState(!1),h=Do(),{data:m=[],isLoading:p,refetch:x}=vt({queryKey:["adminBookings"],queryFn:()=>Ce.entities.TicketBooking.list("-created_date",500)}),w=m.filter(b=>{var S,E,D;const v=r==="all"||b.payment_status===r,N=e.toLowerCase(),F=!N||((S=b.holder_name)==null?void 0:S.toLowerCase().includes(N))||((E=b.holder_email)==null?void 0:E.toLowerCase().includes(N))||((D=b.booking_reference)==null?void 0:D.toLowerCase().includes(N));return v&&F}),g={total:m.length,paid:m.filter(b=>b.payment_status==="paid").length,pending:m.filter(b=>b.payment_status==="pending").length,revenue:m.filter(b=>b.payment_status==="paid").reduce((b,v)=>b+(v.total_amount||0),0),checkedIn:m.filter(b=>b.checked_in).length};return a.jsxs("div",{className:"min-h-screen bg-[#0A0A0A] pt-28 pb-20 px-4 lg:px-8",children:[a.jsxs("div",{className:"max-w-[1400px] mx-auto",children:[a.jsxs("div",{className:"flex items-start justify-between mb-10",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-[#D4AF37] text-[10px] font-black tracking-[0.35em] uppercase mb-2",children:"Admin Dashboard"}),a.jsx("h1",{className:"text-white font-bold text-4xl",children:"Ticket Bookings"}),a.jsx("p",{className:"text-white/40 text-sm mt-1",children:"National Film Awards 2026"})]}),a.jsxs("div",{className:"flex gap-3",children:[a.jsxs("button",{onClick:()=>u(!0),className:"flex items-center gap-2 bg-[#D4AF37] hover:bg-[#C9A84C] text-black font-black text-sm px-5 py-2.5 rounded-xl transition-all",children:[a.jsx(IU,{className:"w-4 h-4"})," Issue Manual Ticket"]}),a.jsxs("button",{onClick:()=>x(),className:"flex items-center gap-2 bg-white/5 hover:bg-white/10 border border-white/10 text-white/60 text-sm font-bold px-4 py-2.5 rounded-full transition-all",children:[a.jsx(vu,{className:"w-4 h-4"})," Refresh"]})]})]}),a.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-5 gap-3 mb-8",children:[{label:"Total Bookings",value:g.total,icon:ts,color:"text-white"},{label:"Paid",value:g.paid,icon:an,color:"text-emerald-400"},{label:"Pending",value:g.pending,icon:wo,color:"text-yellow-400"},{label:"Revenue",value:`£${(g.revenue/100).toLocaleString()}`,icon:OI,color:"text-[#D4AF37]"},{label:"Checked In",value:`${g.checkedIn} / ${g.paid}`,icon:$t,color:"text-blue-400"}].map((b,v)=>a.jsxs("div",{className:"bg-[#111] border border-white/10 rounded-xl p-4",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[a.jsx(b.icon,{className:`w-4 h-4 ${b.color}`}),a.jsx("p",{className:"text-white/40 text-xs font-bold",children:b.label})]}),a.jsx("p",{className:`font-black text-2xl ${b.color}`,children:b.value})]},v))}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 mb-6",children:[a.jsxs("div",{className:"relative flex-1",children:[a.jsx(ks,{className:"absolute left-3 top-3 w-4 h-4 text-white/30"}),a.jsx("input",{type:"text",placeholder:"Search by name, email or referenceâ¦",value:e,onChange:b=>t(b.target.value),className:"w-full bg-[#111] border border-white/10 rounded-xl pl-10 pr-4 py-3 text-white placeholder-white/30 text-sm focus:outline-none focus:border-[#D4AF37]/40"})]}),a.jsx("div",{className:"flex gap-2",children:["all","paid","pending","failed"].map(b=>a.jsx("button",{onClick:()=>n(b),className:`px-4 py-2.5 rounded-xl text-sm font-bold capitalize transition-all ${r===b?"bg-[#D4AF37] text-black":"bg-white/5 border border-white/10 text-white/50 hover:border-white/20"}`,children:b},b))}),a.jsxs("button",{onClick:()=>{i(null),c(!0)},className:"flex items-center gap-2 bg-[#D4AF37] hover:bg-[#C9A84C] text-black font-black text-sm px-5 py-2.5 rounded-xl transition-all",children:[a.jsx(R3,{className:"w-4 h-4"})," QR Check-In"]})]}),a.jsx("div",{className:"bg-[#111] border border-white/10 rounded-2xl overflow-hidden",children:a.jsx("div",{className:"overflow-x-auto",children:a.jsxs("table",{className:"w-full",children:[a.jsx("thead",{children:a.jsx("tr",{className:"border-b border-white/10",children:["Reference","Holder","Package","Qty","Total","Status","Check-In","Actions"].map(b=>a.jsx("th",{className:"text-left px-5 py-4 text-[#D4AF37] text-[9px] font-black tracking-[0.25em] uppercase",children:b},b))})}),a.jsx("tbody",{children:p?a.jsx("tr",{children:a.jsx("td",{colSpan:8,className:"text-center py-16 text-white/30",children:"Loadingâ¦"})}):w.length===0?a.jsx("tr",{children:a.jsx("td",{colSpan:8,className:"text-center py-16 text-white/30",children:"No bookings found"})}):w.map((b,v)=>{const N=gj[b.payment_status]||gj.pending;return a.jsxs(V.tr,{initial:{opacity:0}
880,animate:{opacity:1},transition:{delay:v*.02},className:"border-b border-white/5 hover:bg-white/3 transition-colors",children:[a.jsxs("td",{className:"px-5 py-4",children:[a.jsx("p",{className:"text-white font-mono text-xs font-bold",children:b.booking_reference}),b.ticket_code&&a.jsx("p",{className:"text-white/30 font-mono text-[10px] mt-0.5",children:b.ticket_code})]}),a.jsxs("td",{className:"px-5 py-4",children:[a.jsx("p",{className:"text-white text-sm font-semibold",children:b.holder_name}),a.jsx("p",{className:"text-white/40 text-xs",children:b.holder_email})]}),a.jsx("td",{className:"px-5 py-4",children:a.jsx("p",{className:"text-white/70 text-xs",children:b.package_name})}),a.jsx("td",{className:"px-5 py-4",children:a.jsx("p",{className:"text-white text-sm font-bold text-center",children:b.quantity})}),a.jsx("td",{className:"px-5 py-4",children:a.jsxs("p",{className:"text-[#D4AF37] font-black text-sm",children:["£",((b.total_amount||0)/100).toFixed(2)]})}),a.jsx("td",{className:"px-5 py-4",children:a.jsx("span",{className:`inline-flex items-center px-2.5 py-1 rounded-full text-xs font-black border ${N.color}`,children:N.label})}),a.jsx("td",{className:"px-5 py-4",children:b.checked_in?a.jsxs("span",{className:"text-emerald-400 text-xs font-bold flex items-center gap-1",children:[a.jsx(an,{className:"w-3 h-3"})," In"]}):a.jsx("span",{className:"text-white/20 text-xs",children:"â"})}),a.jsx("td",{className:"px-5 py-4",children:b.payment_status==="paid"&&!b.checked_in&&a.jsx("button",{onClick:()=>{i(b),c(!0)},className:"text-[#D4AF37] hover:text-white text-xs font-bold bg-[#D4AF37]/10 hover:bg-[#D4AF37]/20 px-3 py-1.5 rounded-lg transition-all",children:"Check In"})})]},b.id)})})]})})}),a.jsxs("p",{className:"text-white/20 text-xs mt-4 text-center",children:[w.length," of ",m.length," bookings shown"]})]}),d&&a.jsx(zne,{onClose:()=>u(!1),onSuccess:()=>{u(!1),h.invalidateQueries(["adminBookings"]),x()}}),o&&a.jsx(Jne,{booking:s,onClose:()=>{c(!1),i(null)},onSuccess:()=>{h.invalidateQueries(["adminBookings"])}})]})}function $ne(){return a.jsxs("div",{className:"pt-24 lg:pt-28 bg-[#FFFEF9] min-h-screen",children:[a.jsx("section",{className:"py-12 px-6 lg:px-12 bg-gradient-to-b from-[#F8F6F1] to-[#FFFEF9]",children:a.jsxs("div",{className:"max-w-[900px] mx-auto",children:[a.jsxs(He,{to:"/",className:"inline-flex items-center gap-2 text-[#8A8578] hover:text-[#1A1A1A] text-sm mb-6 transition-colors",children:[a.jsx(rn,{className:"w-4 h-4"})," Back to Home"]}),a.jsx("h1",{className:"font-editorial text-4xl lg:text-5xl font-bold text-[#1A1A1A] mb-4",children:"Terms & Conditions"}),a.jsx("p",{className:"text-[#8A8578] text-lg",children:"Sponsorship Terms & Conditions â National Film Awards"})]})}),a.jsx("section",{className:"py-14",children:a.jsxs("div",{className:"max-w-[900px] mx-auto px-6 lg:px-10",children:[a.jsxs("div",{className:"prose prose-lg max-w-none text-[#5A5A5A] space-y-8",children:[a.jsx("div",{children:a.jsxs("p",{className:"text-base leading-relaxed font-semibold text-[#1A1A1A]",children:["National Film Awards",a.jsx("br",{}),"part of National Film Academy"]})}),a.jsxs("div",{children:[a.jsx("h2",{className:"font-editorial text-2xl font-bold text-[#1A1A1A] mb-4",children:"1. Ticketing & Refund Policy"}),a.jsx("p",{className:"text-base leading-relaxed mb-4",children:"All ticket purchases for the National Film Awards are final. No refunds, cancellations, or exchanges shall be provided under any circumstances once a booking has been confirmed."}),a.jsx("p",{className:"text-base leading-relaxed mb-4 font-semibold text-[#1A1A1A]",children:"This policy applies without exception, including but not limited to:"}),a.jsxs("ul",{className:"list-disc list-inside space-y-2 text-base leading-relaxed ml-2 mb-4",children:[a.jsx("li",{children:"change of personal circumstances or availability"}),a.jsx("li",{children:"travel disruption or inability to attend"}),a.jsx("li",{children:"changes to the event programme, schedule, or venue"}),a.jsx("li",{children:"alteration of speakers, performers, or presenting talent"}),a.jsx("li",{children:"adverse weather conditions"}),a.jsx("li",{children:"illness or medical reasons"}),a.jsx("li",{children:"any other personal or external factors"})]}),a.jsx("p",{className:"text-base leading-relaxed mb-4",children:"Ticket holders acknowledge that the National Film Awards incurs substantial non-recoverable costs â including but not limited to venue hire, production, staffing, hospital
880ity, security, and administration â immediately upon confirmation of each booking. All such costs are committed irrevocably, and therefore any monies paid in respect of tickets are strictly non-refundable."}),a.jsx("p",{className:"text-base leading-relaxed mb-4",children:"In the event the National Film Awards is compelled to reschedule the ceremony, all tickets shall automatically be valid for the rescheduled date and no refunds shall be issued. Should the event be cancelled in its entirety due to circumstances beyond the control of the National Film Awards (including but not limited to force majeure events, government restrictions, or safety requirements), the National Film Awards shall use reasonable endeavours to offer ticket holders alternative arrangements, but shall not be obligated to issue refunds."}),a.jsx("p",{className:"text-base leading-relaxed",children:"By completing a ticket purchase, the ticket holder expressly acknowledges and agrees to these terms and waives any right to seek a refund or chargeback in respect of the purchase."})]}),a.jsxs("div",{children:[a.jsx("h2",{className:"font-editorial text-2xl font-bold text-[#1A1A1A] mb-4",children:"2. Sponsorship Activation and Campaign Delivery"}),a.jsx("p",{className:"text-base leading-relaxed mb-4",children:"All sponsorship agreements entered into with the National Film Awards constitute live promotional and marketing campaigns connected to the relevant Awards cycle and related media, editorial, publicity, hospitality, digital and promotional activities."}),a.jsx("p",{className:"text-base leading-relaxed mb-4 font-semibold text-[#1A1A1A]",children:"Sponsor campaigns may include, without limitation:"}),a.jsxs("ul",{className:"list-disc list-inside space-y-2 text-base leading-relaxed ml-2 mb-4",children:[a.jsx("li",{children:"editorial placements"}),a.jsx("li",{children:"press announcements"}),a.jsx("li",{children:"category sponsorship integrations"}),a.jsx("li",{children:"social media promotion"}),a.jsx("li",{children:"website inclusion"}),a.jsx("li",{children:"event branding"}),a.jsx("li",{children:"hospitality allocations"}),a.jsx("li",{children:"VIP ticketing"}),a.jsx("li",{children:"marketing campaigns"}),a.jsx("li",{children:"digital advertising"}),a.jsx("li",{children:"PR and publicity activity"})]}),a.jsx("p",{className:"text-base leading-relaxed",children:"Campaign activity may commence immediately upon confirmation of sponsorship and may continue up to and beyond the date of the Awards ceremony."})]}),a.jsxs("div",{children:[a.jsx("h2",{className:"font-editorial text-2xl font-bold text-[#1A1A1A] mb-4",children:"3. Non Refundable Sponsorship Fees"}),a.jsx("p",{className:"text-base leading-relaxed mb-4",children:"Due to the bespoke nature of sponsorship campaigns and the substantial allocation of editorial, production, marketing, administrative and promotional resources upon confirmation, all sponsorship fees paid to the National Film Awards are strictly non refundable once campaign activation, planning, allocation or promotional implementation has commenced."}),a.jsx("p",{className:"text-base leading-relaxed mb-4 font-semibold text-[#1A1A1A]",children:"This includes, without limitation:"}),a.jsxs("ul",{className:"list-disc list-inside space-y-2 text-base leading-relaxed ml-2 mb-4",children:[a.jsx("li",{children:"allocation of sponsorship categories"}),a.jsx("li",{children:"publication scheduling"}),a.jsx("li",{children:"editorial preparation"}),a.jsx("li",{children:"digital campaign integration"}),a.jsx("li",{children:"marketing implementation"}),a.jsx("li",{children:"hospitality reservations"}),a.jsx("li",{children:"internal resource allocation"}),a.jsx("li",{children:"public announcement preparation"})]}),a.jsx("p",{className:"text-base leading-relaxed",children:"Sponsors acknowledge that substantial costs and resource commitments are incurred immediately upon campaign activation and therefore cancellation by a sponsor does not automatically entitle the sponsor to reimbursement of monies paid."})]}),a.jsxs("div",{children:[a.jsx("h2",{className:"font-editorial text-2xl font-bold text-[#1A1A1A] mb-4",children:"4. Editorial and Promotional Materials"}),a.jsx("p",{className:"text-base leading-relaxed mb-4",children:"The National Film Awards may prepare editorial, promotional and publicity materials relating to sponsors using information, branding, logos, imagery, descriptions, press materials and publicly available brand content supplied directly by the sponsor or publicly accessible through the sponsor's official channels."}),a.jsx("p",{className:"text-base leading-relaxed mb-4",children:"Sponsors remain responsible for supplying any preferred a
880pproved wording, statements, quotes, imagery, logos or brand assets they wish to be used within campaign materials."}),a.jsx("p",{className:"text-base leading-relaxed",children:"Where sponsors fail to provide requested materials within campaign timelines, the National Film Awards reserves the right to utilise publicly available brand assets and information for campaign continuity purposes."})]}),a.jsxs("div",{children:[a.jsx("h2",{className:"font-editorial text-2xl font-bold text-[#1A1A1A] mb-4",children:"5. Correction and Rectification Process"}),a.jsx("p",{className:"text-base leading-relaxed mb-4",children:"In the event a sponsor identifies any factual inaccuracy, editorial concern, branding issue, imagery issue, wording concern or publication error connected to sponsorship materials, the sponsor must notify the National Film Awards in writing."}),a.jsx("p",{className:"text-base leading-relaxed mb-4",children:"Upon written notification, the National Film Awards shall use reasonable commercial efforts to review, amend, remove or rectify the disputed material within 48 hours where reasonably practicable."}),a.jsx("p",{className:"text-base leading-relaxed",children:"Sponsors acknowledge that inadvertent editorial, formatting or publication issues do not automatically constitute grounds for cancellation or refund where remedial action is promptly undertaken in good faith."})]}),a.jsxs("div",{children:[a.jsx("h2",{className:"font-editorial text-2xl font-bold text-[#1A1A1A] mb-4",children:"6. Sponsor Approval Process"}),a.jsx("p",{className:"text-base leading-relaxed mb-4",children:"Where specifically requested by the sponsor in writing, the National Film Awards may offer reasonable pre publication approval opportunities for sponsor specific editorial content, branding materials or quotations prior to publication, provided such approval requests do not materially delay campaign schedules or production deadlines."}),a.jsx("p",{className:"text-base leading-relaxed",children:"Sponsors acknowledge that failure to respond within requested approval timelines may result in publication proceeding using existing approved or publicly available materials."})]}),a.jsxs("div",{children:[a.jsx("h2",{className:"font-editorial text-2xl font-bold text-[#1A1A1A] mb-4",children:"7. Limitation of Liability"}),a.jsx("p",{className:"text-base leading-relaxed mb-4",children:"To the fullest extent permitted by law, the National Film Awards, National Film Academy, its officers, employees, contractors and affiliates shall not be liable for:"}),a.jsxs("ul",{className:"list-disc list-inside space-y-2 text-base leading-relaxed ml-2 mb-4",children:[a.jsx("li",{children:"indirect losses"}),a.jsx("li",{children:"reputational losses"}),a.jsx("li",{children:"consequential losses"}),a.jsx("li",{children:"loss of profits"}),a.jsx("li",{children:"loss of business opportunity"}),a.jsx("li",{children:"loss of goodwill"}),a.jsx("li",{children:"third party claims arising from sponsor supplied materials"})]}),a.jsx("p",{className:"text-base leading-relaxed",children:"The total liability of the National Film Awards in connection with any sponsorship agreement shall in no circumstances exceed the total sponsorship fees actually paid by the sponsor under the relevant agreement."})]}),a.jsxs("div",{children:[a.jsx("h2",{className:"font-editorial text-2xl font-bold text-[#1A1A1A] mb-4",children:"8. Sponsor Warranties"}),a.jsx("p",{className:"text-base leading-relaxed mb-4",children:"Sponsors warrant that all logos, trademarks, images, promotional materials and content supplied to the National Film Awards are owned by the sponsor or properly licensed for promotional use."}),a.jsx("p",{className:"text-base leading-relaxed",children:"Sponsors further warrant that all supplied materials do not infringe the intellectual property or legal rights of any third party."})]}),a.jsxs("div",{children:[a.jsx("h2",{className:"font-editorial text-2xl font-bold text-[#1A1A1A] mb-4",children:"9. Removal of Materials"}),a.jsx("p",{className:"text-base leading-relaxed",children:"The National Film Awards reserves the right to remove, amend, suspend or replace sponsorship materials, editorial content, digital placements or promotional references where reasonably necessary for legal, operational, editorial or reputational reasons."})]}),a.jsxs("div",{children:[a.jsx("h2",{className:"font-editorial text-2xl font-bold text-[#1A1A1A] mb-4",children:"10. Event Changes and Force Majeure"}),a.jsx("p",{className:"text-base leading-relaxed",children:"The National Film Awards reserves the right to amend event dates, venues, schedules, broadcast arrangements or promotional timelines where reasonably necessary due to operational, commercial, governmental, safety or force majeure circumstances."})]}),a.jsxs("div",{children:[a.jsx("h2",{className:"font-editorial text-2xl font-bold text-[#1A1A1A] mb-4",children:"11. Governing Law"}),a.jsx("p",{className:"text-base leading-relaxed mb-4",children:"These terms and all sponsorship agreements shall be governed by and construed in accordance with the laws of England and Wales."}),a.jsx("p",{className:"text-base leading-relaxed",children:"Any dispute arising in connection with sponsorship agreements shall be subject to the exclusive jurisdiction of the courts of England and Wales."})]})]}
880),a.jsx("div",{className:"mt-16 pt-8 border-t border-[#E8D5A0]/40",children:a.jsxs(He,{to:"/",className:"inline-flex items-center gap-2 text-[#8A8578] hover:text-[#1A1A1A] font-semibold transition-colors",children:[a.jsx(rn,{className:"w-4 h-4"})," Back to Home"]})})]})})]})}function Yne({onClose:e}){return a.jsx(V.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 bg-black/70 flex items-center justify-center p-4",onClick:e,children:a.jsxs(V.div,{initial:{scale:.95,y:20},animate:{scale:1,y:0},exit:{scale:.95,y:20},className:"bg-white rounded-2xl max-w-2xl w-full max-h-[85vh] overflow-y-auto",onClick:t=>t.stopPropagation(),children:[a.jsxs("div",{className:"sticky top-0 bg-white border-b border-gray-100 px-8 py-5 flex justify-between items-center rounded-t-2xl z-10",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"font-serif text-xl text-[#1C2B3A]",children:"Competition Terms & Conditions"}),a.jsx("p",{className:"text-gray-400 text-xs mt-0.5",children:"NFA/COMP/2026/LH/001 · Version 1.0"})]}),a.jsx("button",{onClick:e,className:"w-9 h-9 rounded-full bg-gray-100 hover:bg-gray-200 flex items-center justify-center transition",children:a.jsx(tr,{className:"w-4 h-4 text-gray-600"})})]}),a.jsxs("div",{className:"px-8 py-6 prose prose-sm max-w-none text-gray-700",children:[a.jsx("p",{className:"text-xs text-gray-400 mb-6",children:"Win a Leger Holidays European Escorted Tour for Two · National Film Awards 2026"}),a.jsx("h3",{className:"font-semibold text-[#1C2B3A]",children:"1. The Promoter"}),a.jsx("p",{children:'This competition is promoted jointly by the National Film Academy (trading as National Film Awards) and Leger Holidays, part of the Leger Shearings Group, registered offices: Sunway House, Canklow Meadows, West Bawtry Road, Rotherham S60 2XR, registered in England No. 02115045 (together, "the Promoters").'}),a.jsx("h3",{className:"font-semibold text-[#1C2B3A]",children:"2. Eligibility"}),a.jsx("p",{children:"The competition is open to residents of the United Kingdom aged 18 or over at the time of entry, excluding employees and immediate family members of the National Film Academy, Leger Holidays, Leger Shearings Group, and any agencies connected with this competition. Proof of age and residency may be required prior to prize fulfilment."}),a.jsx("h3",{className:"font-semibold text-[#1C2B3A]",children:"3. Competition Period"}),a.jsx("p",{children:'The competition opens at 00:01 GMT on Friday, 12 June 2026 and closes at 23:59 GMT on Thursday, 25 June 2026 ("the Closing Date"). Entries received after the Closing Date will not be accepted.'}),a.jsx("h3",{className:"font-semibold text-[#1C2B3A]",children:"4. How to Enter"}),a.jsx("p",{children:"To enter, participants must visit www.nationalfilmawards.co.uk/leger-competition during the competition period and complete the online entry form in full, providing: (a) full name; (b) valid email address; (c) full home address including postcode; (d) confirmation of acceptance of these Terms & Conditions; and (e) opt-in to receive marketing communications from Leger Holidays. Only one entry per person is permitted. Multiple entries from the same person will be disqualified. No purchase is necessary."}),a.jsx("h3",{className:"font-semibold text-[#1C2B3A]",children:"5. The Prize"}),a.jsx("p",{children:'One (1) winner will receive a Leger Holidays European escorted tour for two people ("the Prize"). The Prize includes coach travel, hotel accommodation, guided itinerary, and expert tour management as per the selected Leger Holidays tour. The destination and departure date are subject to availability and must be agreed between the winner and Leger Holidays within three (3) months of notification. The Prize is valid for twelve (12) months from the date of notification. The Prize is non-transferable, non-exchangeable, and has no cash alternative. The Promoters reserve the right to substitute the Prize with an alternative of equal or greater value in the event of circumstances outside their control.'}),a.jsx("h3",{className:"font-semibold text-[#1C2B3A]",children:"6. Winner Selection"}),a.jsx("p",{children:"The winner will be selected by random draw from all valid entries received by the Closing Date. The draw will be conducted by the National Film Awards on or before Friday, 26 June 2026. The winner will be notified by email using the address provided at the time of entry on or before Friday, 26 June 2026. The winner's name will be announced live at the National Film Awards ceremony on 1 July 2026 at Porchester Hall, London W2, and subsequently published on the NFA website and social media channels. If a winner does not respond to the notification email within 48 hours, or is found to be ineligible, the Promoters reserve the right to select an alternative winner."}),a.jsx("h3",{className:"font-semibold text-[#1C2B3A]",children:"7. Data Protection and Marketing Communications"}),a.jsxs("p",{children:["By entering this competition, participants agree that their personal data (name, email address, and home address) will be processed by the National Film Academy and Leger Holidays for the purposes of administering the competition and, where marketing consent has been provided, for the purposes of sending relevant marketing communications from Leger Holidays. Personal data will be processed in accordance with the UK General Data Protection Regulation (UK GDPR) and the Data Protection Act 2018. Data will not be shared with any third parties other than those directly involved in administering this competition and fulfilling the Prize. For full details of how your data is used, please refer to the ",a.jsx("a",{href:"https://www.leger.co.uk/privacy-policy",target:"_blank",rel:"noopener noreferrer",className:"text-[#C9A84C]",children:"Leger Holidays Privacy Policy"})," and the ",a.jsx("a",{href:"https://www.nationalfilmawards.co.uk/privacy",target:"_blank",rel:"noopener noreferrer",className:"text-[#C9A84C]",children:"National Film Awards Privacy Policy"}),"."]}),a.jsx("h3",{className:"font-semibold text-[#1C2B3A]",children:"8. General Conditions"}),a.jsxs("p",{children:["The Promoters reserve the right to cancel, amend, or withdraw this competition at any time without notice in the event of circumstances outside their reasonable control. The Promoters' decision in all matters relating to this competition, including eligibility and the selection of the winner, is final and n
880o correspondence will be entered into. This competition is in no way sponsored, endorsed, administered by or associated with any social media platform. Any questions or complaints should be directed to the National Film Awards at ",a.jsx("a",{href:"mailto:[email protected]",className:"text-[#C9A84C]",children:"[email protected]"}),". These Terms & Conditions are governed by the laws of England and Wales, and any disputes shall be subject to the exclusive jurisdiction of the courts of England and Wales."]}),a.jsx("p",{className:"text-xs text-gray-400 mt-6 pt-4 border-t border-gray-100",children:"Competition Ref: NFA/COMP/2026/LH/001 · Version 1.0 · 25 May 2026"})]})]})})}const _y="https://media.base44.com/images/public/699ba2407533cd3b00af8c87/bb940aa32_nfalogo.png",Dy="https://media.base44.com/images/public/699ba2407533cd3b00af8c87/15232134c_LLogoBlueRGB.png",Xne="https://media.base44.com/images/public/699ba2407533cd3b00af8c87/8a098e115_people-walking-though-tuscan-scenery-36855.jpg",Zne="https://media.base44.com/images/public/699ba2407533cd3b00af8c87/fc51ef761_NationalFilmAwards-LuminaImage.png",eae="https://media.base44.com/images/public/699ba2407533cd3b00af8c87/2cb4ee0f4_503793174_3953611508223753_7861934781470741786_n.jpg",tae="https://media.base44.com/images/public/699ba2407533cd3b00af8c87/b185e9311_katebeckinsale-right.jpg",rae=new Date("2026-06-25T23:59:00Z");
880function nae(){const[e,t]=B.useState({});return B.useEffect(()=>{const r=()=>{const s=rae-new Date;if(s<=0)return t({expired:!0});t({days:Math.floor(s/864e5),hours:Math.floor(s%864e5/36e5),minutes:Math.floor(s%36e5/6e4),seconds:Math.floor(s%6e4/1e3)})};r();const n=setInterval(r,1e3);return()=>clearInterval(n)},[]),e.expired?a.jsx("p",{className:"text-[#C9A84C] font-semibold text-lg",children:"Competition Closed"}):a.jsx("div",{className:"flex gap-3 justify-center flex-wrap",children:[["days","Days"],["hours","Hrs"],["minutes","Min"],["seconds","Sec"]].map(([r,n])=>a.jsxs("div",{className:"bg-white/10 backdrop-blur-sm rounded-lg px-4 py-3 min-w-[64px] text-center border border-white/20",children:[a.jsx("div",{className:"text-3xl font-bold text-white font-mono",children:String(e[r]??0).padStart(2,"0")}),a.jsx("div",{className:"text-[#C9A84C] text-xs uppercase tracking-widest mt-1",children:n})]},r))})}const aae=[{n:"01",title:"Visit",desc:"Access this entry page at nationalfilmawards.co.uk/leger-competition"},{n:"02",title:"Complete",desc:"Fill in your details: full name, email address, and home postal address"},{n:"03",title:"Answer",desc:"Answer one simple qualifying question about Leger Holidays"},{n:"04",title:"Consent",desc:"Confirm acceptance of T&Cs and optionally opt in to Leger Holidays updates"},{n:"05",title:"Submit",desc:"Submit before 25 June 2026 at 23:59 GMT â good luck!"}];function sae(){const e=B.useRef(null),[t,r]=B.useState({first_name:"",last_name:"",email:"",address_line1:"",address_line2:"",city:"",postcode:"",qualifying_answer:"",age_confirm:!1,tc_confirm:!1,marketing_opt_in:!1,honeypot:""}),[n,s]=B.useState(!1),[i,o]=B.useState(!1),[c,d]=B.useState(""),[u,h]=B.useState(!1),m=(x,w)=>r(g=>({...g,[x]:w})),p=async x=>{var w,g,b,v;if(x.preventDefault(),d(""),!t.age_confirm)return d("Please confirm you are 18 or over and a UK resident.");if(!t.tc_confirm)return d("Please accept the Terms & Conditions to enter.");if(!t.qualifying_answer)return d("Please answer the qualifying question.");s(!0);try{const N=await Ce.functions.invoke("submitCompetitionEntry",{first_name:t.first_name,last_name:t.last_name,email:t.email,address_line1:t.address_line1,address_line2:t.address_line2,city:t.city,postcode:t.postcode,qualifying_answer:t.qualifying_answer,marketing_opt_in:t.marketing_opt_in,honeypot:t.honeypot});(w=N.data)!=null&&w.success?(o(!0),window.scrollTo({top:0,behavior:"smooth"})):d(((g=N.data)==null?void 0:g.error)||"Something went wrong. Please try again.")}catch(N){d(((v=(b=N==null?void 0:N.response)==null?void 0:b.data)==null?void 0:v.error)||"Something went wrong. Please try again.")}s(!1)};return i?a.jsx("div",{className:"min-h-screen bg-[#1C2B3A] flex items-center justify-center p-6",children:a.jsxs(V.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},className:"max-w-2xl w-full text-center",children:[a.jsxs("div",{className:"flex justify-center gap-6 items-center mb-8",children:[a.jsx("img",{src:_y,alt:"NFA",className:"h-20"}),a.jsx("div",{className:"w-px h-16 bg-white/20"}),a.jsx("div",{className:"bg-white rounded-lg px-5 py-3",children:a.jsx("img",{src:Dy,alt:"Leger",className:"h-12"})})]}),a.jsx("div",{className:"text-6xl mb-6",children:"ð¬"}),a.jsx("h1",{className:"font-serif text-4xl text-white mb-4",children:"You're In!"}),a.jsx("p",{className:"text-[#C9A84C] text-sm tracking-widest uppercase mb-6",children:"Entry Confirmed · NFA/COMP/2026/LH/001"}),a.jsxs("p",{className:"text-white/80 text-lg leading-relaxed mb-8",children:["Your entry has been received, ",t.first_name,"! Check your inbox for a confirmation email. Good luck â you could be heading to Lake Maggiore."]}),a.jsxs("div",{className:"bg-white/10 rounded-xl p-6 mb-8 text-left space-y-3",children:[a.jsx("p",{className:"text-[#C9A84C] text-xs tracking-widest uppercase font-semibold mb-4",children:"What Happens Next"}),[["25 June 2026","Competition closes at 23:59 GMT"],["26 June 2026","Winner & runner-up selected by random draw"],["26 June 2026","Winner & runner-up notified by email"],["1 July 2026","Winner announced live at Porchester Hall, London W2"]].map(([x,w])=>a.jsxs("div",{className:"flex gap-4",children:[a.jsx("span",{className:"text-[#C9A84C] font-semibold text-sm w-32 shrink-0",children:x}),a.jsx("span",{className:"text-white/70 text-sm",children:w})]},x))]}),a.jsx("p",{className:"text-white/50 text-sm",children:"Share this competition with friends and family!"}),a.jsxs("div",{className:"flex gap-3 justify-center mt-4",children:[a.jsx("a",{href:"https://twitter.com/intent/tweet?text=I've just entered to WIN a 9-day Lake Maggi
880ore holiday with @NationalFilmAwards and Leger Holidays! Enter at nationalfilmawards.co.uk/leger-competition",target:"_blank",rel:"noopener noreferrer",className:"bg-[#1DA1F2] text-white px-5 py-2 rounded-full text-sm font-semibold hover:opacity-90 transition",children:"Share on X"}),a.jsx("a",{href:"https://www.facebook.com/sharer/sharer.php?u=https://www.nationalfilmawards.co.uk/leger-competition",target:"_blank",rel:"noopener noreferrer",className:"bg-[#1877F2] text-white px-5 py-2 rounded-full text-sm font-semibold hover:opacity-90 transition",children:"Share on Facebook"})]})]})}):a.jsxs("div",{className:"min-h-screen bg-[#F8F8F6]",children:[a.jsxs("div",{className:"relative min-h-screen flex flex-col",children:[a.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[a.jsx("img",{src:Xne,alt:"Lake Maggiore scenery",className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#1C2B3A]/80 via-[#1C2B3A]/60 to-[#1C2B3A]/90"})]}),a.jsxs("div",{className:"relative z-10 flex-1 flex flex-col",children:[a.jsx("div",{className:"flex justify-center pt-10 px-6",children:a.jsxs("div",{className:"bg-white/95 backdrop-blur-sm rounded-2xl px-8 py-5 flex items-center gap-6 shadow-2xl",children:[a.jsx("img",{src:_y,alt:"National Film Awards",className:"h-14 md:h-16"}),a.jsx("div",{className:"w-px h-12 bg-gray-200"}),a.jsx("span",{className:"text-gray-400 text-xs uppercase tracking-widest hidden md:block",children:"In Partnership With"}),a.jsx("img",{src:Dy,alt:"Leger Holidays",className:"h-10 md:h-12"})]})}),a.jsx("div",{className:"flex-1 flex flex-col items-center justify-center text-center px-6 py-16",children:a.jsxs(V.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:.2},children:[a.jsx("p",{className:"text-[#C9A84C] text-sm tracking-[4px] uppercase mb-4",children:"Official Competition · 12th Annual National Film Awards"}),a.jsxs("h1",{className:"font-serif text-4xl md:text-6xl lg:text-7xl text-white leading-tight mb-4",children:["WIN A 9-DAY",a.jsx("br",{}),"ESCORTED TOUR",a.jsx("br",{}),a.jsx("span",{className:"text-[#C9A84C]",children:"TO LAKE MAGGIORE"})]}),a.jsx("p",{className:"text-white/80 text-xl md:text-2xl mb-3",children:"Splendours of Lake Maggi
880ore â 9 Days â Worth Over £5,000"}),a.jsx("p",{className:"text-[#C9A84C] text-lg mb-10",children:"Plus 2 VIP Tickets to the 12th Annual National Film Awards 2026"}),a.jsxs("div",{className:"mb-10",children:[a.jsx("p",{className:"text-white/60 text-sm uppercase tracking-widest mb-4",children:"Closing In"}),a.jsx(nae,{})]}),a.jsx("button",{onClick:()=>{var x;return(x=e.current)==null?void 0:x.scrollIntoView({behavior:"smooth"})},className:"bg-[#C9A84C] hover:bg-[#B8941F] text-white text-lg font-bold px-12 py-5 rounded-full transition-all duration-300 shadow-2xl hover:shadow-[0_8px_32px_rgba(201,168,76,0.5)] hover:-translate-y-1 uppercase tracking-widest",children:"ENTER NOW"}),a.jsx("p",{className:"text-white/40 text-xs mt-4",children:"No purchase necessary · UK residents 18+ only · Closes 25 June 2026"})]})})]})]}),a.jsx("div",{className:"bg-white py-20 px-6",children:a.jsxs("div",{className:"max-w-6xl mx-auto",children:[a.jsx("p",{className:"text-[#C9A84C] text-xs tracking-[4px] uppercase text-center mb-3",children:"The Prizes"}),a.jsx("h2",{className:"font-serif text-4xl text-[#1C2B3A] text-center mb-12",children:"What You Could Win"}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[a.jsxs("div",{className:"bg-[#1C2B3A] rounded-2xl overflow-hidden shadow-2xl",children:[a.jsxs("div",{className:"relative h-56 overflow-hidden",children:[a.jsx("img",{src:tae,alt:"NFA Red Carpet",className:"w-full h-full object-cover object-top"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#1C2B3A] to-transparent"}),a.jsx("span",{className:"absolute top-4 left-4 bg-[#C9A84C] text-white text-xs font-bold px-3 py-1 rounded-full uppercase tracking-widest",children:"Winner"})]}),a.jsxs("div",{className:"p-8",children:[a.jsx("p",{className:"text-[#C9A84C] text-xs tracking-widest uppercase mb-2",children:"1st Prize"}),a.jsx("h3",{className:"font-serif text-2xl text-white mb-3",children:"Splendours of Lake Maggi
880ore"}),a.jsx("p",{className:"text-white/60 text-sm mb-5",children:"9-Day Escorted Holiday for Two · Worth Over £5,000"}),a.jsxs("ul",{className:"space-y-2 text-white/80 text-sm mb-6",children:[a.jsxs("li",{className:"flex gap-2",children:[a.jsx("span",{className:"text-[#C9A84C]",children:"â"})," Coach travel, hotel accommodation & guided itinerary"]}),a.jsxs("li",{className:"flex gap-2",children:[a.jsx("span",{className:"text-[#C9A84C]",children:"â"})," Expert tour management throughout"]}),a.jsxs("li",{className:"flex gap-2",children:[a.jsx("span",{className:"text-[#C9A84C]",children:"â"}),` Aboard Leger's new flagship coach "Lumina" (from April 2027)`]}),a.jsxs("li",{className:"flex gap-2",children:[a.jsx("span",{className:"text-[#C9A84C]",children:"â"})," Departure: 17 Jul / 7 Aug 2027 or 15 Jul / 5 Aug 2028"]})]}),a.jsxs("div",{className:"border-t border-white/20 pt-5",children:[a.jsx("p",{className:"text-[#C9A84C] text-xs tracking-widest uppercase mb-2",children:"Also Included"}),a.jsx("p",{className:"text-white text-sm",children:"2 VIP Tickets to the National Film Awards â 1 July 2026, Porchester Hall, London W2 (red carpet, ceremony & after party)"})]})]})]}),a.jsxs("div",{className:"bg-white border-2 border-[#1C2B3A] rounded-2xl overflow-hidden shadow-xl",children:[a.jsxs("div",{className:"relative h-56 overflow-hidden",children:[a.jsx("img",{src:eae,alt:"NFA Red Carpet",className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-white to-transparent"}),a.jsx("span",{className:"absolute top-4 left-4 bg-[#1C2B3A] text-white text-xs font-bold px-3 py-1 rounded-full uppercase tracking-widest",children:"Runner-Up"})]}),a.jsxs("div",{className:"p-8",children:[a.jsx("p",{className:"text-[#1C2B3A]/60 text-xs tracking-widest uppercase mb-2",children:"2nd Prize"}),a.jsx("h3",{className:"font-serif text-2xl text-[#1C2B3A] mb-3",children:"VIP Night at the NFA"}),a.jsx("p",{className:"text-[#1C2B3A]/60 text-sm mb-5",children:"An unforgettable evening at the UK's premier film celebration"}),a.jsxs("ul",{className:"space-y-2 text-[#1C2B3A]/80 text-sm",children:[a.jsxs("li",{className:"flex gap-2",children:[a.jsx("span",{className:"text-[#C9A84C]",children:"â"})," 1 VIP ticket to the NFA Ceremony"]}),a.jsxs("li",{className:"flex gap-2",children:[a.jsx("span",{className:"text-[#C9A84C]",children:"â"})," Red carpet access, ceremony & after party"]}),a.jsxs("li",{className:"flex gap-2",children:[a.jsx("span",{className:"text-[#C9A84C]",children:"â"})," 1 July 2026, Porchester Hall, London W2"]})]})]})]})]}),a.jsxs("div",{className:"mt-12 rounded-2xl overflow-hidden shadow-xl relative h-64 md:h-80",children:[a.jsx("img",{src:Zne,alt:"Leger Holidays luxury coach",className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#1C2B3A]/80 to-transparent flex items-center",children:a.jsxs("div",{className:"p-8 md:p-12 max-w-lg",children:[a.jsx("p",{className:"text-[#C9A84C] text-xs tracking-widest uppercase mb-2",children:"Leger's New Flagship"}),a.jsx("h3",{className:"font-serif text-3xl text-white mb-3",children:'"Lumina"'}),a.jsx("p",{className:"text-white/80 text-sm leading-relaxed mb-4",children:"Travel in unrivalled comfort aboard Leger's brand-new flagship coach, launching April 2027."}),a.jsx("a",{href:"https://www.leger.co.uk",target:"_blank",rel:"noopener noreferrer",className:"inline-block border border-[#C9A84C] text-[#C9A84C] px-6 py-2 rounded-full text-sm hover:bg-[#C9A84C] hover:text-white transition-all",children:"Discover Lumina â"})]})})]})]})}),a.jsx("div",{className:"bg-[#F8F8F6] py-20 px-6",children:a.jsxs("div",{className:"max-w-4xl mx-auto",children:[a.jsx("p",{className:"text-[#C9A84C] text-xs tracking-[4px] uppercase text-center mb-3",children:"Simple Entry"}),a.jsx("h2",{className:"font-serif text-4xl text-[#1C2B3A] text-center mb-12",children:"How to Enter"}),a.jsx("div",{className:"space-y-4",children:aae.map((x,w)=>a.jsxs(V.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:w*.1},className:"flex gap-5 items-start bg-white rounded-2xl p-6 shadow-sm border border-gray-100",children:[a.jsx("div",{className:"w-12 h-12 rounded-full bg-[#1C2B3A] flex items-center justify-center shrink-0",children:a.jsx("span",{className:"text-[#C9A84C] font-bold text-lg font-mono",children:x.n})}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold text-[#1C2B3A] text-lg mb-1",children:x.title}),a.jsx("p",{className:"text-gray-500 text-sm leading-relaxed",children:x.desc})]})]},x.n))})]})}),a.jsx("div",{ref:e,className:"bg-[#1C2B3A] py-20 px-6",children:a.jsxs("div",{className:"max-w-2xl mx-auto",children:[a.jsx("p",{className:"text-[#C9A84C] text-xs tracking-[4px] uppercase text-center mb-3",children:"Enter the Competition"}),a.jsx("h2",{className:"font-serif text-4xl text-white text-center mb-3",children:"Enter Now"}),a.jsx("p",{className:"text-white/50 text-center text-sm mb-10",children:"Competition closes 25 June 2026 at 23:59 GMT · NFA/COMP/2026/LH/001"}),a.jsxs("form",{onSubmit:p,className:"space-y-5",children:[a.jsx("input",{type:"text",name:"website",value:t.honeypot,onChange:x=>m("honeypot",x.target.value),className:"hidden",tabIndex:"-1",autoComplete:"off"}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{children:[a.jsx("label",{className:"text-white/70 text-sm mb-1 block",children:"First Name *"}),a.jsx("input",{required:!0,value:t.first_name,onChange:x=>m("first_name",x.target.value),className:"w-full bg-white/10 border border-white/20 rounded-lg px-4 py-3 text-white placeholder-white/30 focus:outline-none focus:border-[#C9A84C] transition"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"text-white/70 text-sm mb-1 block",children:"Last Name *"}),a.jsx("input",{required:!0,value:t.last_name,onChange:x=>m("last_name",x.target.value),className:"w-full bg-white/10 border border-white/20 rounded-lg px-4 py-3 text-white placeholder-white/30 focus:outline-none focus:border-[#C9A84C] transition"})]})]}),a.jsxs("div",{children:[a.jsx("label",{className:"text-white/70 text-sm mb-1 block",children:"Email Address *"}),a.jsx("input",{required:!0,type:"email",value:t.email,onChange:x=>m("email",x.target.value),className:"w-full bg-white/10 border border-white/20 rounded-lg px-4 py-3 text-white placeholder-white/30 focus:outline-none focus:border-[#C9A84C] transition"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"text-white/70 text-sm mb-1 block",children:"Address Line 1 *"}),a.jsx("input",{required:!0,value:t.address_line1,onChange:x=>m("address_line1",x.target.value),className:"w-full bg-white/10 border border-white/20 rounded-lg px-4 py-3 text-white placeholder-white/30 focus:outline-none focus:border-[#C9A84C] transition"})]}),a.jsxs("div",{children:[a.jsxs("label",{className:"text-white/70 text-sm mb-1 block",children:["Address Line 2 ",a.jsx("span",{className:"text-white/30",children:"(optional)"})]}),a.jsx("input",{value:t.address_line2,onChange:x=>m("address_line2",x.target.value),className:"w-full bg-white/10 border border-white/20 rounded-lg px-4 py-3 text-white placeholder-white/30 focus:outline-none focus:border-[#C9A84C] transition"})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{children:[a.jsx("label",{className:"text-white/70 text-sm mb-1 block",children:"City *"}),a.jsx("input",{required:!0,value:t.city,onChange:x=>m("city",x.target.value),className:"w-full bg-white/10 border border-white/20 rounded-lg px-4 py-3 text-white placeholder-white/30 focus:outline-none focus:border-[#C9A84C] transition"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"text-white/70 text-sm mb-1 block",children:"Postcode *"}),a.jsx("input",{required:!0,value:t.postcode,onChange:x=>m("postcode",x.target.value),className:"w-full bg-white/10 border border-white/20 rounded-lg px-4 py-3 text-white placeholder-white/30 focus:outline-none focus:border-[#C9A84C] transition"})]})]}),a.jsxs("div",{className:"bg-white/5 border border-white/20 rounded-xl p-5",children:[a.jsx("label",{className:"text-[#C9A84C] text-sm font-semibold mb-3 block",children:"Qualifying Question *"}),a.jsx("p",{className:"text-white text-sm mb-4 leading-relaxed",children:"This year's ceremony marks the 12th Annual National Film Awards. How many years has Leger Holidays been sponsoring the National Film Awards?"}),[{value:"3",label:"3 years"},{value:"12",label:"12 years"},{value:"5",label:"5 years"},{value:"8",label:"8 years"}].map(x=>a.jsxs("label",{className:"flex items-center gap-3 mb-3 cursor-pointer group",children:[a.jsx("div",{className:`w-5 h-5 rounded-full border-2 flex items-center justify-center transition ${t.qualifying_answer===x.value?"border-[#C9A84C] bg-[#C9A84C]":"border-white/40 group-hover:border-white/70"}`,children:t.qualifying_answer===x.value&&a.jsx("div",{className:"w-2 h-2 bg-white rounded-full"})}),a.jsx("input",{type:"radio",name:"qa",value:x.value,checked:t.qualifying_answer===x.value,onChange:w=>m("qualifying_answer",w.target.value),className:"hidden"}),a.jsx("span",{className:"text-white/80 text-sm",children:x.label})]},x.value))]}),a.jsx("div",{className:"space-y-4",children:[{key:"age_confirm",label:"I confirm I am 18 or over and a UK resident *",required:!0},{key:"tc_confirm",label:null,required:!0,custom:!0},{key:"marketing_opt_in",label:"I would like to receive marketing communications from Leger Holidays about future holidays and special offers",required:!1}].map(x=>a.jsxs("label",{className:"flex gap-3 cursor-pointer group",children:[a.jsx("div",{className:`w-5 h-5 rounded border-2 shrink-0 mt-0.5 flex items-center justify-center transition pointer-events-none ${t[x.key]?"border-[#C9A84C] bg-[#C9A84C]":"border-white/40 group-hover:border-white/70"}`,children:t[x.key]&&a.jsx("svg",{className:"w-3 h-3 text-white",f
880ill:"currentColor",viewBox:"0 0 20 20",children:a.jsx("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}),a.jsx("input",{type:"checkbox",checked:t[x.key],onChange:()=>m(x.key,!t[x.key]),className:"sr-only"}),x.custom?a.jsxs("span",{className:"text-white/70 text-sm leading-relaxed",children:["I have read and accept the"," ",a.jsx("button",{type:"button",onClick:()=>h(!0),className:"text-[#C9A84C] underline hover:text-white transition",children:"Competition Terms & Conditions"})," ","*"]}):a.jsx("span",{className:"text-white/70 text-sm leading-relaxed",children:x.label})]},x.key))}),c&&a.jsx("p",{className:"text-red-400 text-sm bg-red-400/10 rounded-lg px-4 py-3",children:c}),a.jsx("button",{type:"submit",disabled:n,className:"w-full bg-[#C9A84C] hover:bg-[#B8941F] text-white font-bold py-5 rounded-full text-lg uppercase tracking-widest transition-all duration-300 shadow-xl hover:shadow-[0_8px_32px_rgba(201,168,76,0.4)] disabled:opacity-60 disabled:cursor-not-allowed",children:n?"Submitting...":"ENTER THE COMPETITION"}),a.jsx("p",{className:"text-white/30 text-xs text-center",children:"Competition Ref: NFA/COMP/2026/LH/001 · UK residents 18+ only · One entry per person"})]})]})}),a.jsx("div",{className:"bg-[#111E2B] py-12 px-6",children:a.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[a.jsxs("div",{className:"flex justify-center gap-8 items-center mb-6",children:[a.jsx("img",{src:_y,alt:"NFA",className:"h-12 opacity-80"}),a.jsx("div",{className:"w-px h-10 bg-white/20"}),a.jsx("div",{className:"bg-white rounded-lg px-4 py-2 shadow-sm",children:a.jsx("img",{src:Dy,alt:"Leger Holidays",className:"h-8"})})]}),a.jsx("p",{className:"text-white/40 text-sm mb-4",children:"In Partnership with Leger Holidays · 12th Annual National Film Awards 2026"}),a.jsxs("div",{className:"flex gap-4 justify-center flex-wrap text-sm",children:[a.jsx("button",{onClick:()=>h(!0),className:"text-[#C9A84C] hover:text-white transition",children:"Terms & Conditions"}),a.jsx("a",{href:"https://www.leger.co.uk/privacy-policy",target:"_blank",rel:"noopener noreferrer",className:"text-white/40 hover:text-white transition",children:"Leger Privacy Policy"}),a.jsx("a",{href:"https://www.nationalfilmawards.co.uk/privacy",target:"_blank",rel:"noopener noreferrer",className:"text-white/40 hover:text-white transition",children:"NFA Privacy Policy"}),a.jsx("a",{href:"mailto:[email protected]",className:"text-white/40 hover:text-white transition",children:"Contact"})]}),a.jsx("p",{className:"text-white/20 text-xs mt-6",children:"Competition Ref: NFA/COMP/2026/LH/001 · Promoter: National Film Academy & Leger Holidays, part of Leger Shearings Group"})]})}),a.jsx(Mt,{children:u&&a.jsx(Yne,{onClose:()=>h(!1)})})]})}/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var Fp={};Fp.version="0.18.5";var T_=1252,iae=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],k_=function(e){iae.indexOf(e)!=-1&&(T_=e)};function oae(){k_(1252)}var Ru=function(e){k_(e)};function lae(){Ru(1200),oae()}var wm=function(t){return String.fromCharCode(t)},xj=function(t){return String.fromCharCode(t)},jp,fo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Mu(e){for(var t="",r=0,n=0,s=0,i=0,o=0,c=0,d=0,u=0;u<e.length;)r=e.charCodeAt(u++),i=r>>2,n=e.charCodeAt(u++),o=(r&3)<<4|n>>4,s=e.charCodeAt(u++),c=(n&15)<<2|s>>6,d=s&63,isNaN(n)?c=d=64:isNaN(s)&&(d=64),t+=fo.charAt(i)+fo.charAt(o)+fo.charAt(c)+fo.charAt(d);return t}function fi(e){var t="",r=0,n=0,s=0,i=0,o=0,c=0,d=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var u=0;u<e.length;)i=fo.indexOf(e.charAt(u++)),o=fo.indexOf(e.charAt(u++)),r=i<<2|o>>4,t+=String.fromCharCode(r),c=fo.indexOf(e.charAt(u++)),n=(o&15)<<4|c>>2,c!==64&&(t+=String.fromCharCode(n)),d=fo.indexOf(e.charAt(u++)),s=(c&3)<<6|d,d!==64&&(t+=String.fromCharCode(s));return t}var wt=(function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node})(),gi=(function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(t,r){return r?new Buffer(t,r):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}})();function Ol(e){return wt?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function yj(e){return wt?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var Xa=function(t){return wt?gi(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)&255})};function j0(e){if(typeof ArrayBuffer>"u")return Xa(e);
880for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=e.charCodeAt(n)&255;return t}function hh(e){if(Array.isArray(e))return e.map(function(n){return String.fromCharCode(n)}).join("");for(var t=[],r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function cae(e){if(typeof Uint8Array>"u")throw new Error("Unsupported");return new Uint8Array(e)}var Zr=wt?function(e){return Buffer.concat(e.map(function(t){return Buffer.isBuffer(t)?t:gi(t)}))}:function(e){if(typeof Uint8Array<"u"){var t=0,r=0;for(t=0;t<e.length;++t)r+=e[t].length;var n=new Uint8Array(r),s=0;for(t=0,r=0;t<e.length;r+=s,++t)if(s=e[t].length,e[t]instanceof Uint8Array)n.set(e[t],r);else{if(typeof e[t]=="string")throw"wtf";n.set(new Uint8Array(e[t]),r)}return n}return[].concat.apply([],e.map(function(i){return Array.isArray(i)?i:[].slice.call(i)}))};function Aae(e){for(var t=[],r=0,n=e.length+250,s=Ol(e.length+255),i=0;i<e.length;++i){var o=e.charCodeAt(i);if(o<128)s[r++]=o;else if(o<2048)s[r++]=192|o>>6&31,s[r++]=128|o&63;else if(o>=55296&&o<57344){o=(o&1023)+64;var c=e.charCodeAt(++i)&1023;s[r++]=240|o>>8&7,s[r++]=128|o>>2&63,s[r++]=128|c>>6&15|(o&3)<<4,s[r++]=128|c&63}else s[r++]=224|o>>12&15,s[r++]=128|o>>6&63,s[r++]=128|o&63;r>n&&(t.push(s.slice(0,r)),r=0,s=Ol(65535),n=65530)}return t.push(s.slice(0,r)),Zr(t)}var pu=/\u0000/g,vm=/[\u0001-\u0006]/g;function aA(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function Za(e,t){var r=""+e;return r.length>=t?r:sr("0",t-r.length)+r}function nv(e,t){var r=""+e;return r.length>=t?r:sr(" ",t-r.length)+r}function Sp(e,t){var r=""+e;return r.length>=t?r:r+sr(" ",t-r.length)}function dae(e,t){var r=""+Math.round(e);return r.length>=t?r:sr("0",t-r.length)+r}function uae(e,t){var r=""+e;return r.length>=t?r:sr("0",t-r.length)+r}var bj=Math.pow(2,32);function Qc(e,t){if(e>bj||e<-bj)return dae(e,t);var r=Math.round(e);return uae(r,t)}function Ep(e,t){return t=t||0,e.length>=7+t&&(e.charCodeAt(t)|32)===103&&(e.charCodeAt(t+1)|32)===101&&(e.charCodeAt(t+2)|32)===110&&(e.charCodeAt(t+3)|32)===101&&(e.charCodeAt(t+4)|32)===114&&(e.charCodeAt(t+5)|32)===97&&(e.charCodeAt(t+6)|32)===108}var wj=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],Uy=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function hae(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"ä¸å/ä¸å "hh"æ"mm"å"ss"ç§ "',e}var lr={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"ä¸å/ä¸å "hh"æ"mm"å"ss"ç§ "'},vj={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},fae={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);
880_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function Tp(e,t,r){for(var n=e<0?-1:1,s=e*n,i=0,o=1,c=0,d=1,u=0,h=0,m=Math.floor(s);u<t&&(m=Math.floor(s),c=m*o+i,h=m*u+d,!(s-m<5e-8));)s=1/(s-m),i=o,o=c,d=u,u=h;if(h>t&&(u>t?(h=d,c=i):(h=u,c=o)),!r)return[0,n*c,h];var p=Math.floor(n*c/h);return[p,n*c-p*h,h]}function Cm(e,t,r){if(e>2958465||e<0)return null;var n=e|0,s=Math.floor(86400*(e-n)),i=0,o=[],c={D:n,T:s,u:86400*(e-n)-s,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(c.u)<1e-6&&(c.u=0),t&&t.date1904&&(n+=1462),c.u>.9999&&(c.u=0,++s==86400&&(c.T=s=0,++n,++c.D)),n===60)o=r?[1317,10,29]:[1900,2,29],i=3;else if(n===0)o=r?[1317,8,29]:[1900,1,0],i=6;else{n>60&&--n;var d=new Date(1900,0,1);d.setDate(d.getDate()+n-1),o=[d.getFullYear(),d.getMonth()+1,d.getDate()],i=d.getDay(),n<60&&(i=(i+6)%7),r&&(i=wae(d,o))}return c.y=o[0],c.m=o[1],c.d=o[2],c.S=s%60,s=Math.floor(s/60),c.M=s%60,s=Math.floor(s/60),c.H=s,c.q=i,c}var __=new Date(1899,11,31,0,0,0),mae=__.getTime(),pae=new Date(1900,2,1,0,0,0);function D_(e,t){var r=e.getTime();
vendor: 5,025 bytes, line 880
880return t?r-=1461*24*60*60*1e3:e>=pae&&(r+=1440*60*1e3),(r-(mae+(e.getTimezoneOffset()-__.getTimezoneOffset())*6e4))/(1440*60*1e3)}function av(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function gae(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function xae(e){var t=e<0?12:11,r=av(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10),r.length<=t)?r:e.toExponential(5)}function yae(e){var t=av(e.toFixed(11));return t.length>(e<0?12:11)||t==="0"||t==="-0"?e.toPrecision(6):t}function bae(e){var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),r;return t>=-4&&t<=-1?r=e.toPrecision(10+t):Math.abs(t)<=9?r=xae(e):t===10?r=e.toFixed(10).substr(0,12):r=yae(e),av(gae(r.toUpperCase()))}function Bw(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):bae(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return So(14,D_(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function wae(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function vae(e,t,r,n){var s="",i=0,o=0,c=r.y,d,u=0;switch(e){case 98:c=r.y+543;case 121:switch(t.length){case 1:case 2:d=c%100,u=2;break;default:d=c%1e4,u=4;break}break;case 109:switch(t.length){case 1:case 2:d=r.m,u=t.length;break;case 3:return Uy[r.m-1][1];case 5:return Uy[r.m-1][0];default:return Uy[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:d=r.d,u=t.length;break;case 3:return wj[r.q][0];default:return wj[r.q][1]}break;case 104:switch(t.length){case 1:case 2:d=1+(r.H+11)%12,u=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:d=r.H,u=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:d=r.M,u=t.length;break;default:throw"bad minute format: "+t}break;case 115:if(t!="s"&&t!="ss"&&t!=".0"&&t!=".00"&&t!=".000")throw"bad second format: "+t;return r.u===0&&(t=="s"||t=="ss")?Za(r.S,t.length):(n>=2?o=n===3?1e3:100:o=n===1?10:1,i=Math.round(o*(r.S+r.u)),i>=60*o&&(i=0),t==="s"?i===0?"0":""+i/o:(s=Za(i,2+n),t==="ss"?s.substr(0,2):"."+s.substr(2,t.length-1)));case 90:switch(t){case"[h]":case"[hh]":d=r.D*24+r.H;break;case"[m]":case"[mm]":d=(r.D*24+r.H)*60+r.M;break;case"[s]":case"[ss]":d=((r.D*24+r.H)*60+r.M)*60+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}u=t.length===3?1:2;break;case 101:d=c,u=1;break}var h=u>0?Za(d,u):"";return h}function mo(e){var t=3;if(e.length<=t)return e;for(var r=e.length%t,n=e.substr(0,r);r!=e.length;r+=t)n+=(n.length>0?",":"")+e.substr(r,t);return n}var U_=/%/g;function Cae(e,t,r){var n=t.replace(U_,""),s=t.length-n.length;return ai(e,n,r*Math.pow(10,2*s))+sr("%",s)}function Bae(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return ai(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function I_(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+I_(e,-t);var s=e.indexOf(".");s===-1&&(s=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%s;if(i<0&&(i+=s),r=(t/Math.pow(10,i)).toPrecision(n+1+(s+i)%s),r.indexOf("e")===-1){var o=Math.floor(Math.log(t)*Math.LOG10E);for(r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(o-r.length+i):r+="E+"+(o-i);r.substr(0,2)==="0.";)r=r.charAt(0)+r.substr(2,s)+"."+r.substr(2+s),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(c,d,u,h){return d+u+h.substr(0,(s+i)%s)+"."+h.substr(i)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var L_=/# (\?+)( ?)\/( ?)(\d+)/;function Nae(e,t,r){var n=parseInt(e[4],10),s=Math.round(t*n),i=Math.floor(s/n),o=s-i*n,c=n;return r+(i===0?"":""+i)+" "+(o===0?sr(" ",e[1].length+1+e[4].length):nv(o,e[1].length)+e[2]+"/"+e[3]+Za(c,e[4].length))}function Fae(e,t,r){return r+(t===0?"":""+t)+sr(" ",e[1].length+2+e[4].length)}var P_=/^#*0*\.([0#]+)/,R_=/\).*[0#]/,M_=/\(###\) ###\\?-####/;function Nn(e){for(var t="",r,n=0;n!=e.length;++n)switch(r=e.charCodeAt(n)){case 35:break;case 63:t+=" ";break;case 48:t+="0";break;default:t+=String.fromCharCode(r)}return t}function Cj(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function Bj(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function jae(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function Sae(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function Ba(e,t,r){if(e.charCodeAt(0)===40&&!t.match(R_)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Ba("n",n,r):"("+Ba("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return Bae(e,t,r);if(t.indexOf("%")!==-1)return Cae(e,t,r);if(t.indexOf("E")!==-1)return I_(t,r);
vendor: 11,699 bytes, line 880
880if(t.charCodeAt(0)===36)return"$"+Ba(e,t.substr(t.charAt(1)==" "?2:1),r);var s,i,o,c,d=Math.abs(r),u=r<0?"-":"";if(t.match(/^00+$/))return u+Qc(d,t.length);if(t.match(/^[#?]+$/))return s=Qc(r,0),s==="0"&&(s=""),s.length>t.length?s:Nn(t.substr(0,t.length-s.length))+s;if(i=t.match(L_))return Nae(i,d,u);if(t.match(/^#+0+$/))return u+Qc(d,t.length-t.indexOf("0"));if(i=t.match(P_))return s=Cj(r,i[1].length).replace(/^([^\.]+)$/,"$1."+Nn(i[1])).replace(/\.$/,"."+Nn(i[1])).replace(/\.(\d*)$/,function(w,g){return"."+g+sr("0",Nn(i[1]).length-g.length)}),t.indexOf("0.")!==-1?s:s.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return u+Cj(d,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return u+mo(Qc(d,0));if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Ba(e,t,-r):mo(""+(Math.floor(r)+jae(r,i[1].length)))+"."+Za(Bj(r,i[1].length),i[1].length);if(i=t.match(/^#,#*,#0/))return Ba(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return s=aA(Ba(e,t.replace(/[\\-]/g,""),r)),o=0,aA(aA(t.replace(/\\/g,"")).replace(/[0#]/g,function(w){return o<s.length?s.charAt(o++):w==="0"?"0":""}));if(t.match(M_))return s=Ba(e,"##########",r),"("+s.substr(0,3)+") "+s.substr(3,3)+"-"+s.substr(6);var h="";if(i=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(i[4].length,7),c=Tp(d,Math.pow(10,o)-1,!1),s=""+u,h=ai("n",i[1],c[1]),h.charAt(h.length-1)==" "&&(h=h.substr(0,h.length-1)+"0"),s+=h+i[2]+"/"+i[3],h=Sp(c[2],o),h.length<i[4].length&&(h=Nn(i[4].substr(i[4].length-h.length))+h),s+=h,s;if(i=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(i[1].length,i[4].length),7),c=Tp(d,Math.pow(10,o)-1,!0),u+(c[0]||(c[1]?"":"0"))+" "+(c[1]?nv(c[1],o)+i[2]+"/"+i[3]+Sp(c[2],o):sr(" ",2*o+1+i[2].length+i[3].length));if(i=t.match(/^[#0?]+$/))return s=Qc(r,0),t.length<=s.length?s:Nn(t.substr(0,t.length-s.length))+s;if(i=t.match(/^([#0?]+)\.([#0]+)$/)){s=""+r.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1"),o=s.indexOf(".");var m=t.indexOf(".")-o,p=t.length-s.length-m;return Nn(t.substr(0,m)+s+t.substr(t.length-p))}if(i=t.match(/^00,000\.([#0]*0)$/))return o=Bj(r,i[1].length),r<0?"-"+Ba(e,t,-r):mo(Sae(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(w){return"00,"+(w.length<3?Za(0,3-w.length):"")+w})+"."+Za(o,i[1].length);switch(t){case"###,##0.00":return Ba(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var x=mo(Qc(d,0));return x!=="0"?u+x:"";case"###,###.00":return Ba(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return Ba(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function Eae(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return ai(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function Tae(e,t,r){var n=t.replace(U_,""),s=t.length-n.length;return ai(e,n,r*Math.pow(10,2*s))+sr("%",s)}function Q_(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+Q_(e,-t);var s=e.indexOf(".");s===-1&&(s=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%s;if(i<0&&(i+=s),r=(t/Math.pow(10,i)).toPrecision(n+1+(s+i)%s),!r.match(/[Ee]/)){var o=Math.floor(Math.log(t)*Math.LOG10E);r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(o-r.length+i):r+="E+"+(o-i),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(c,d,u,h){return d+u+h.substr(0,(s+i)%s)+"."+h.substr(i)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function ms(e,t,r){if(e.charCodeAt(0)===40&&!t.match(R_)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?ms("n",n,r):"("+ms("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return Eae(e,t,r);if(t.indexOf("%")!==-1)return Tae(e,t,r);if(t.indexOf("E")!==-1)return Q_(t,r);if(t.charCodeAt(0)===36)return"$"+ms(e,t.substr(t.charAt(1)==" "?2:1),r);var s,i,o,c,d=Math.abs(r),u=r<0?"-":"";if(t.match(/^00+$/))return u+Za(d,t.length);if(t.match(/^[#?]+$/))return s=""+r,r===0&&(s=""),s.length>t.length?s:Nn(t.substr(0,t.length-s.length))+s;if(i=t.match(L_))return Fae(i,d,u);if(t.match(/^#+0+$/))return u+Za(d,t.length-t.indexOf("0"));if(i=t.match(P_))return s=(""+r).replace(/^([^\.]+)$/,"$1."+Nn(i[1])).replace(/\.$/,"."+Nn(i[1])),s=s.replace(/\.(\d*)$/,function(w,g){return"."+g+sr("0",Nn(i[1]).length-g.length)}),t.indexOf("0.")!==-1?s:s.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return u+(""+d).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return u+mo(""+d);if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+ms(e,t,-r):mo(""+r)+"."+sr("0",i[1].length);if(i=t.match(/^#,#*,#0/))return ms(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return s=aA(ms(e,t.replace(/[\\-]/g,""),r)),o=0,aA(aA(t.replace(/\\/g,"")).replace(/[0#]/g,function(w){return o<s.length?s.charAt(o++):w==="0"?"0":""}));if(t.match(M_))return s=ms(e,"##########",r),"("+s.substr(0,3)+") "+s.substr(3,3)+"-"+s.substr(6);var h="";if(i=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(i[4].length,7),c=Tp(d,Math.pow(10,o)-1,!1),s=""+u,h=ai("n",i[1],c[1]),h.charAt(h.length-1)==" "&&(h=h.substr(0,h.length-1)+"0"),s+=h+i[2]+"/"+i[3],h=Sp(c[2],o),h.length<i[4].length&&(h=Nn(i[4].substr(i[4].length-h.length))+h),s+=h,s;if(i=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(i[1].length,i[4].length),7),c=Tp(d,Math.pow(10,o)-1,!0),u+(c[0]||(c[1]?"":"0"))+" "+(c[1]?nv(c[1],o)+i[2]+"/"+i[3]+Sp(c[2],o):sr(" ",2*o+1+i[2].length+i[3].length));if(i=t.match(/^[#0?]+$/))return s=""+r,t.length<=s.length?s:Nn(t.substr(0,t.length-s.length))+s;if(i=t.match(/^([#0]+)\.([#0]+)$/)){s=""+r.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1"),o=s.indexOf(".");var m=t.indexOf(".")-o,p=t.length-s.length-m;return Nn(t.substr(0,m)+s+t.substr(t.length-p))}if(i=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+ms(e,t,-r):mo(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(w){return"00,"+(w.length<3?Za(0,3-w.length):"")+w})+"."+Za(0,i[1].length);switch(t){case"###,###":case"##,###":case"#,###":var x=mo(""+d);return x!=="0"?u+x:"";default:if(t.match(/\.[0#?]*$/))return ms(e,t.slice(0,t.lastIndexOf(".")),r)+Nn(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function ai(e,t,r){return(r|0)===r?ms(e,t,r):Ba(e,t,r)}function kae(e){for(var t=[],r=!1,n=0,s=0;n<e.length;++n)switch(e.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:t[t.length]=e.substr(s,n-s),s=n+1}if(t[t.length]=e.substr(s),r===!0)throw new Error("Format |"+e+"| unterminated string ");return t}var O_=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function H_(e){for(var t=0,r="",n="";t<e.length;)switch(r=e.charAt(t)){case"G":Ep(e,t)&&(t+=6),t++;break;case'"':for(;e.charCodeAt(++t)!==34&&t<e.length;);++t;break;case"\\":t+=2;break;case"_":t+=2;break;case"@":++t;break;case"B":case"b":if(e.charAt(t+1)==="1"||e.charAt(t+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"ä¸":if(e.substr(t,3).toUpperCase()==="A/P"||e.substr(t,5).toUpperCase()==="AM/PM"||e.substr(t,5).toUpperCase()==="ä¸å/ä¸å")return!0;++t;break;case"[":for(n=r;e.charAt(t++)!=="]"&&t<e.length;)n+=e.charAt(t);if(n.match(O_))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(r=e.charAt(++t))>-1||r=="\\"&&e.charAt(t+1)=="-"&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t,(e.charAt(t)==" "||e.charAt(t)=="*")&&++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;case" ":++t;break;default:++t;break}return!1}function _ae(e,t,r,n){for(var s=[],i="",o=0,c="",d="t",u,h,m,p="H";o<e.length;)switch(c=e.charAt(o)){case"G":if(!Ep(e,o))throw new Error("unrecognized character "+c+" in "+e);s[s.length]={t:"G",v:"General"},o+=7;break;case'"':for(i="";(m=e.charCodeAt(++o))!==34&&o<e.length;)i+=String.fromCharCode(m);s[s.length]={t:"t",v:i},++o;break;case"\\":var x=e.charAt(++o),w=x==="("||x===")"?x:"t";s[s.length]={t:w,v:x},++o;break;case"_":s[s.length]={t:"t",v:" "},o+=2;break;case"@":s[s.length]={t:"T",v:t},++o;break;case"B":case"b":if(e.charAt(o+1)==="1"||e.charAt(o+1)==="2"){if(u==null&&(u=Cm(t,r,e.charAt(o+1)==="2"),u==null))return"";s[s.length]={t:"X",v:e.substr(o,2)},d=c,o+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":c=c.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0||u==null&&(u=Cm(t,r),u==null))return"";for(i=c;++o<e.length&&e.charAt(o).toLowerCase()===c;)i+=c;c==="m"&&d.toLowerCase()==="h"&&(c="M"),c==="h"&&(c=p),s[s.length]={t:c,v:i},d=c;break;case"A":case"a":case"ä¸":var g={t:c,v:c};if(u==null&&(u=Cm(t,r)),e.substr(o,3).toUpperCase()==="A/P"?(u!=null&&(g.v=u.H>=12?"P":"A"),g.t="T",p="h",o+=3):e.substr(o,5).toUpperCase()==="AM/PM"?(u!=null&&(g.v=u.H>=12?"PM":"AM"),g.t="T",o+=5,p="h"):e.substr(o,5).toUpperCase()==="ä¸å/ä¸å"?(u!=null&&(g.v=u.H>=12?"ä¸å":"ä¸å"),g.t="T",o+=5,p="h"):(g.t="t",++o),u==null&&g.t==="T")return"";s[s.length]=g,d=c;break;case"[":for(i=c;e.charAt(o++)!=="]"&&o<e.length;)i+=e.charAt(o);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(O_)){if(u==null&&(u=Cm(t,r),u==null))return"";s[s.length]={t:"Z",v:i.toLowerCase()},d=i.charAt(1)}else i.indexOf("$")>-1&&(i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$",H_(e)||(s[s.length]={t:"t",v:i}));break;case".":if(u!=null){for(i=c;++o<e.length&&(c=e.charAt(o))==="0";)i+=c;s[s.length]={t:"s",v:i};break}case"0":case"#":for(i=c;++o<e.length&&"0#?.,E+-%".indexOf(c=e.charAt(o))>-1;)i+=c;s[s.length]={t:"n",v:i};break;case"?":for(i=c;e.charAt(++o)===c;)i+=c;s[s.length]={t:c,v:i},d=c;break;case"*":++o,(e.charAt(o)==" "||e.charAt(o)=="*")&&++o;break;case"(":case")":s[s.length]={t:n===1?"t":c,v:c},++o;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(i=c;o<e.length&&"0123456789".indexOf(e.charAt(++o))>-1;)i+=e.charAt(o);s[s.length]={t:"D",v:i};break;case" ":s[s.length]={t:c,v:c},++o;break;case"$":s[s.length]={t:"t",v:"$"},++o;break;default:if(",$-+/():!^&'~{}<>=â¬acfijklopqrtuvwxzP".indexOf(c)===-1)throw new Error("unrecognized character "+c+" in "+e);s[s.length]={t:"t",v:c},++o;break}var b=0,v=0,N;for(o=s.length-1,d="t";o>=0;--o)switch(s[o].t){case"h":case"H":s[o].t=p,d="h",b<1&&(b=1);break;case"s":(N=s[o].v.match(/\.0+$/))&&(v=Math.max(v,N[0].length-1)),b<3&&(b=3);case"d":case"y":case"M":case"e":d=s[o].t;break;case"m":d==="s"&&(s[o].t="M",b<2&&(b=2));break;case"X":break;case"Z":b<1&&s[o].v.match(/[Hh]/)&&(b=1),b<2&&s[o].v.match(/[Mm]/)&&(b=2),b<3&&s[o].v.match(/[Ss]/)&&(b=3)}switch(b){case 0:break;case 1:u.u>=.5&&(u.u=0,++u.S),u.S>=60&&(u.S=0,++u.M),u.M>=60&&(u.M=0,++u.H);break;case 2:u.u>=.5&&(u.u=0,++u.S),u.S>=60&&(u.S=0,++u.M);break}var F="",S;for(o=0;o<s.length;++o)switch(s[o].t){case"t":case"T":case" ":case"D":break;case"X":s[o].v="",s[o].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":s[o].v=vae(s[o].t.charCodeAt(0),s[o].v,u,v),s[o].t="t";break;case"n":case"?":for(S=o+1;s[S]!=null&&((c=s[S].t)==="?"||c==="D"||(c===" "||c==="t")&&s[S+1]!=null&&(s[S+1].t==="?"||s[S+1].t==="t"&&s[S+1].v==="/")||s[o].t==="("&&(c===" "||c==="n"||c===")")||c==="t"&&(s[S].v==="/"||s[S].v===" "&&s[S+1]!=null&&s[S+1].t=="?"));
vendor: 10,502 bytes, line 880
880)s[o].v+=s[S].v,s[S]={v:"",t:";"},++S;F+=s[o].v,o=S-1;break;case"G":s[o].t="t",s[o].v=Bw(t,r);break}var E="",D,T;if(F.length>0){F.charCodeAt(0)==40?(D=t<0&&F.charCodeAt(0)===45?-t:t,T=ai("n",F,D)):(D=t<0&&n>1?-t:t,T=ai("n",F,D),D<0&&s[0]&&s[0].t=="t"&&(T=T.substr(1),s[0].v="-"+s[0].v)),S=T.length-1;var k=s.length;for(o=0;o<s.length;++o)if(s[o]!=null&&s[o].t!="t"&&s[o].v.indexOf(".")>-1){k=o;break}var I=s.length;if(k===s.length&&T.indexOf("E")===-1){for(o=s.length-1;o>=0;--o)s[o]==null||"n?".indexOf(s[o].t)===-1||(S>=s[o].v.length-1?(S-=s[o].v.length,s[o].v=T.substr(S+1,s[o].v.length)):S<0?s[o].v="":(s[o].v=T.substr(0,S+1),S=-1),s[o].t="t",I=o);S>=0&&I<s.length&&(s[I].v=T.substr(0,S+1)+s[I].v)}else if(k!==s.length&&T.indexOf("E")===-1){for(S=T.indexOf(".")-1,o=k;o>=0;--o)if(!(s[o]==null||"n?".indexOf(s[o].t)===-1)){for(h=s[o].v.indexOf(".")>-1&&o===k?s[o].v.indexOf(".")-1:s[o].v.length-1,E=s[o].v.substr(h+1);h>=0;--h)S>=0&&(s[o].v.charAt(h)==="0"||s[o].v.charAt(h)==="#")&&(E=T.charAt(S--)+E);s[o].v=E,s[o].t="t",I=o}for(S>=0&&I<s.length&&(s[I].v=T.substr(0,S+1)+s[I].v),S=T.indexOf(".")+1,o=k;o<s.length;++o)if(!(s[o]==null||"n?(".indexOf(s[o].t)===-1&&o!==k)){for(h=s[o].v.indexOf(".")>-1&&o===k?s[o].v.indexOf(".")+1:0,E=s[o].v.substr(0,h);h<s[o].v.length;++h)S<T.length&&(E+=T.charAt(S++));s[o].v=E,s[o].t="t",I=o}}}for(o=0;o<s.length;++o)s[o]!=null&&"n?".indexOf(s[o].t)>-1&&(D=n>1&&t<0&&o>0&&s[o-1].v==="-"?-t:t,s[o].v=ai(s[o].t,s[o].v,D),s[o].t="t");var Y="";for(o=0;o!==s.length;++o)s[o]!=null&&(Y+=s[o].v);return Y}var Nj=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Fj(e,t){if(t==null)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e<r)return!0;break;case"<>":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0;break}return!1}function Dae(e,t){var r=kae(e),n=r.length,s=r[n-1].indexOf("@");if(n<4&&s>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if(typeof t!="number")return[4,r.length===4||s>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=s>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=s>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=s>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break}var i=t>0?r[0]:t<0?r[1]:r[2];if(r[0].indexOf("[")===-1&&r[1].indexOf("[")===-1)return[n,i];if(r[0].match(/\[[=<>]/)!=null||r[1].match(/\[[=<>]/)!=null){var o=r[0].match(Nj),c=r[1].match(Nj);return Fj(t,o)?[n,r[0]]:Fj(t,c)?[n,r[1]]:[n,r[o!=null&&c!=null?2:1]]}return[n,i]}function So(e,t,r){r==null&&(r={});var n="";switch(typeof e){case"string":e=="m/d/yy"&&r.dateNF?n=r.dateNF:n=e;break;case"number":e==14&&r.dateNF?n=r.dateNF:n=(r.table!=null?r.table:lr)[e],n==null&&(n=r.table&&r.table[vj[e]]||lr[vj[e]]),n==null&&(n=fae[e]||"General");break}if(Ep(n,0))return Bw(t,r);t instanceof Date&&(t=D_(t,r.date1904));var s=Dae(n,t);if(Ep(s[1]))return Bw(t,r);if(t===!0)t="TRUE";else if(t===!1)t="FALSE";else if(t===""||t==null)return"";return _ae(s[1],t,r,s[0])}function V_(e,t){if(typeof t!="number"){t=+t||-1;for(var r=0;r<392;++r){if(lr[r]==null){t<0&&(t=r);continue}if(lr[r]==e){t=r;break}}t<0&&(t=391)}return lr[t]=e,t}function S0(e){for(var t=0;t!=392;++t)e[t]!==void 0&&V_(e[t],t)}function E0(){lr=hae()}var K_=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function Uae(e){var t=typeof e=="number"?lr[e]:e;return t=t.replace(K_,"(\\d+)"),new RegExp("^"+t+"$")}function Iae(e,t,r){var n=-1,s=-1,i=-1,o=-1,c=-1,d=-1;(t.match(K_)||[]).forEach(function(m,p){var x=parseInt(r[p+1],10);switch(m.toLowerCase().charAt(0)){case"y":n=x;break;case"d":i=x;break;case"h":o=x;break;case"s":d=x;break;case"m":o>=0?c=x:s=x;break}}),d>=0&&c==-1&&s>=0&&(c=s,s=-1);var u=(""+(n>=0?n:new Date().getFullYear())).slice(-4)+"-"+("00"+(s>=1?s:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);u.length==7&&(u="0"+u),u.length==8&&(u="20"+u);var h=("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2)+":"+("00"+(d>=0?d:0)).slice(-2);return o==-1&&c==-1&&d==-1?u:n==-1&&s==-1&&i==-1?h:u+"T"+h}var Lae=(function(){var e={};e.version="1.2.0";function t(){for(var T=0,k=new Array(256),I=0;I!=256;++I)T=I,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,k[I]=T;return typeof Int32Array<"u"?new Int32Array(k):k}var r=t();function n(T){var k=0,I=0,Y=0,ee=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(Y=0;Y!=256;++Y)ee[Y]=T[Y];for(Y=0;Y!=256;++Y)for(I=T[Y],k=256+Y;k<4096;k+=256)I=ee[k]=I>>>8^T[I&255];var ie=[];for(Y=1;Y!=16;++Y)ie[Y-1]=typeof Int32Array<"u"?ee.subarray(Y*256,Y*256+256):ee.slice(Y*256,Y*256+256);return ie}var s=n(r),i=s[0],o=s[1],c=s[2],d=s[3],u=s[4],h=s[5],m=s[6],p=s[7],x=s[8],w=s[9],g=s[10],b=s[11],v=s[12],N=s[13],F=s[14];function S(T,k){for(var I=k^-1,Y=0,ee=T.length;Y<ee;)I=I>>>8^r[(I^T.charCodeAt(Y++))&255];return~I}function E(T,k){for(var I=k^-1,Y=T.length-15,ee=0;ee<Y;)I=F[T[ee++]^I&255]^N[T[ee++]^I>>8&255]^v[T[ee++]^I>>16&255]^b[T[ee++]^I>>>24]^g[T[ee++]]^w[T[ee++]]^x[T[ee++]]^p[T[ee++]]^m[T[ee++]]^h[T[ee++]]^u[T[ee++]]^d[T[ee++]]^c[T[ee++]]^o[T[ee++]]^i[T[ee++]]^r[T[ee++]];for(Y+=15;ee<Y;)I=I>>>8^r[(I^T[ee++])&255];return~I}function D(T,k){for(var I=k^-1,Y=0,ee=T.length,ie=0,W=0;Y<ee;)ie=T.charCodeAt(Y++),ie<128?I=I>>>8^r[(I^ie)&255]:ie<2048?(I=I>>>8^r[(I^(192|ie>>6&31))&255],I=I>>>8^r[(I^(128|ie&63))&255]):ie>=55296&&ie<57344?(ie=(ie&1023)+64,W=T.charCodeAt(Y++)&1023,I=I>>>8^r[(I^(240|ie>>8&7))&255],I=I>>>8^r[(I^(128|ie>>2&63))&255],I=I>>>8^r[(I^(128|W>>6&15|(ie&3)<<4))&255],I=I>>>8^r[(I^(128|W&63))&255]):(I=I>>>8^r[(I^(224|ie>>12&15))&255],I=I>>>8^r[(I^(128|ie>>6&63))&255],I=I>>>8^r[(I^(128|ie&63))&255]);return~I}return e.table=r,e.bstr=S,e.buf=E,e.str=D,e})(),Dt=(function(){var t={};t.version="1.2.1";function r(U,M){for(var P=U.split("/"),R=M.split("/"),H=0,K=0,fe=Math.min(P.length,R.length);H<fe;++H){if(K=P[H].length-R[H].length)return K;if(P[H]!=R[H])return P[H]<R[H]?-1:1}return P.length-R.length}function n(U){if(U.charAt(U.length-1)=="/")return U.slice(0,-1).indexOf("/")===-1?U:n(U.slice(0,-1));var M=U.lastIndexOf("/");return M===-1?U:U.slice(0,M+1)}function s(U){if(U.charAt(U.length-1)=="/")return s(U.slice(0,-1));var M=U.lastIndexOf("/");return M===-1?U:U.slice(M+1)}function i(U,M){typeof M=="string"&&(M=new Date(M));var P=M.getHours();P=P<<6|M.getMinutes(),P=P<<5|M.getSeconds()>>>1,U.write_shift(2,P);var R=M.getFullYear()-1980;R=R<<4|M.getMonth()+1,R=R<<5|M.getDate(),U.write_shift(2,R)}function o(U){var M=U.read_shift(2)&65535,P=U.read_shift(2)&65535,R=new Date,H=P&31;P>>>=5;var K=P&15;P>>>=4,R.setMilliseconds(0),R.setFullYear(P+1980),R.setMonth(K-1),R.setDate(H);var fe=M&31;M>>>=5;var Be=M&63;return M>>>=6,R.setHours(M),R.setMinutes(Be),R.setSeconds(fe<<1),R}function c(U){sa(U,0);for(var M={},P=0;U.l<=U.length-4;){var R=U.read_shift(2),H=U.read_shift(2),K=U.l+H,fe={};switch(R){case 21589:P=U.read_shift(1),P&1&&(fe.mtime=U.read_shift(4)),H>5&&(P&2&&(fe.atime=U.read_shift(4)),P&4&&(fe.ctime=U.read_shift(4))),fe.mtime&&(fe.mt=new Date(fe.mtime*1e3));break}U.l=K,M[R]=fe}return M}var d;function u(){return d||(d={})}function h(U,M){if(U[0]==80&&U[1]==75)return nc(U,M);if((U[0]|32)==109&&(U[1]|32)==105)return Fh(U,M);if(U.length<512)throw new Error("CFB file size "+U.length+" < 512");var P=3,R=512,H=0,K=0,fe=0,Be=0,he=0,me=[],pe=U.slice(0,512);sa(pe,0);var Ee=m(pe);switch(P=Ee[0],P){case 3:R=512;break;case 4:R=4096;break;case 0:if(Ee[1]==0)return nc(U,M);default:throw new Error("Major Version: Expected 3 or 4 saw "+P)}R!==512&&(pe=U.slice(0,R),sa(pe,28));var Re=U.slice(0,R);p(pe,P);var Ke=pe.read_shift(4,"i");if(P===3&&Ke!==0)throw new Error("# Directory Sectors: Expected 0 saw "+Ke);pe.l+=4,fe=pe.read_shift(4,"i"),pe.l+=4,pe.chk("00100000","Mini Stream Cutoff Size: "),Be=pe.read_shift(4,"i"),H=pe.read_shift(4,"i"),he=pe.read_shift(4,"i"),K=pe.read_shift(4,"i");for(var _e=-1,ke=0;ke<109&&(_e=pe.read_shift(4,"i"),!(_e<0));++ke)me[ke]=_e;var ot=x(U,R);b(he,K,ot,R,me);var Lt=N(ot,fe,me,R);Lt[fe].name="!Directory",H>0&&Be!==W&&(Lt[Be].name="!MiniFAT"),Lt[me[0]].name="!FAT",Lt.fat_addrs=me,Lt.ssz=R;var Ot={},Ar=[],Wo=[],vi=[];F(fe,Lt,ot,Ar,H,Ot,Wo,Be),w(Wo,vi,Ar),Ar.shift();var ls={FileIndex:Wo,FullPaths:vi};return M&&M.raw&&(ls.raw={header:Re,sectors:ot}),ls}function m(U){if(U[U.l]==80&&U[U.l+1]==75)return[0,0];U.chk(ce,"Header Signature: "),U.l+=16;var M=U.read_shift(2,"u");return[U.read_shift(2,"u"),M]}function p(U,M){var P=9;switch(U.l+=2,P=U.read_shift(2)){case 9:if(M!=3)throw new Error("Sector Shift: Expected 9 saw "+P);break;case 12:if(M!=4)throw new Error("Sector Shift: Expected 12 saw "+P);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+P)}U.chk("0600","Mini Sector Shift: "),U.chk("000000000000","Reserved: ")}function x(U,M){for(var P=Math.ceil(U.length/M)-1,R=[],H=1;H<P;++H)R[H-1]=U.slice(H*M,(H+1)*M);return R[P-1]=U.slice(P*M),R}function w(U,M,P){for(var R=0,H=0,K=0,fe=0,Be=0,he=P.length,me=[],pe=[];R<he;++R)me[R]=pe[R]=R,M[R]=P[R];for(;Be<pe.length;++Be)R=pe[Be],H=U[R].L,K=U[R].R,fe=U[R].C,me[R]===R&&(H!==-1&&me[H]!==H&&(me[R]=me[H]),K!==-1&&me[K]!==K&&(me[R]=me[K])),fe!==-1&&(me[fe]=R),H!==-1&&R!=me[R]&&(me[H]=me[R],pe.lastIndexOf(H)<Be&&pe.push(H)),K!==-1&&R!=me[R]&&(me[K]=me[R],pe.lastIndexOf(K)<Be&&pe.push(K));for(R=1;R<he;++R)me[R]===R&&(K!==-1&&me[K]!==K?me[R]=me[K]:H!==-1&&me[H]!==H&&(me[R]=me[H]));for(R=1;R<he;++R)if(U[R].type!==0){if(Be=R,Be!=me[Be])do Be=me[Be],M[R]=M[Be]+"/"+M[R];while(Be!==0&&me[Be]!==-1&&Be!=me[Be]);me[R]=-1}for(M[0]+="/",R=1;R<he;++R)U[R].type!==2&&(M[R]+="/")}function g(U,M,P){for(var R=U.start,H=U.size,K=[],fe=R;P&&H>0&&fe>=0;)K.push(M.slice(fe*ie,fe*ie+ie)),H-=ie,fe=ul(P,fe*4);return K.length===0?ve(0):Zr(K).slice(0,U.size)}function b(U,M,P,R,H){var K=W;if(U===W){if(M!==0)throw new Error("DIFAT chain shorter than expected")}else if(U!==-1){var fe=P[U],Be=(R>>>2)-1;if(!fe)return;for(var he=0;he<Be&&(K=ul(fe,he*4))!==W;++he)H.push(K);b(ul(fe,R-4),M-1,P,R,H)}}function v(U,M,P,R,H){var K=[],fe=[];H||(H=[]);var Be=R-1,he=0,me=0;for(he=M;he>=0;){H[he]=!0,K[K.length]=he,fe.push(U[he]);var pe=P[Math.floor(he*4/R)];if(me=he*4&Be,R<4+me)throw new Error("FAT boundary crossed: "+he+" 4 "+R);if(!U[pe])break;he=ul(U[pe],me)}return{nodes:K,data:Uj([fe])}}function N(U,M,P,R){var H=U.length,K=[],fe=[],Be=[],he=[],me=R-1,pe=0,Ee=0,Re=0,Ke=0;for(pe=0;pe<H;
vendor: 4,255 bytes, line 880
880++pe)if(Be=[],Re=pe+M,Re>=H&&(Re-=H),!fe[Re]){he=[];var _e=[];for(Ee=Re;Ee>=0;){_e[Ee]=!0,fe[Ee]=!0,Be[Be.length]=Ee,he.push(U[Ee]);var ke=P[Math.floor(Ee*4/R)];if(Ke=Ee*4&me,R<4+Ke)throw new Error("FAT boundary crossed: "+Ee+" 4 "+R);if(!U[ke]||(Ee=ul(U[ke],Ke),_e[Ee]))break}K[Re]={nodes:Be,data:Uj([he])}}return K}function F(U,M,P,R,H,K,fe,Be){for(var he=0,me=R.length?2:0,pe=M[U].data,Ee=0,Re=0,Ke;Ee<pe.length;Ee+=128){var _e=pe.slice(Ee,Ee+128);sa(_e,64),Re=_e.read_shift(2),Ke=cv(_e,0,Re-me),R.push(Ke);var ke={name:Ke,type:_e.read_shift(1),color:_e.read_shift(1),L:_e.read_shift(4,"i"),R:_e.read_shift(4,"i"),C:_e.read_shift(4,"i"),clsid:_e.read_shift(16),state:_e.read_shift(4,"i"),start:0,size:0},ot=_e.read_shift(2)+_e.read_shift(2)+_e.read_shift(2)+_e.read_shift(2);ot!==0&&(ke.ct=S(_e,_e.l-8));var Lt=_e.read_shift(2)+_e.read_shift(2)+_e.read_shift(2)+_e.read_shift(2);Lt!==0&&(ke.mt=S(_e,_e.l-8)),ke.start=_e.read_shift(4,"i"),ke.size=_e.read_shift(4,"i"),ke.size<0&&ke.start<0&&(ke.size=ke.type=0,ke.start=W,ke.name=""),ke.type===5?(he=ke.start,H>0&&he!==W&&(M[he].name="!StreamData")):ke.size>=4096?(ke.storage="fat",M[ke.start]===void 0&&(M[ke.start]=v(P,ke.start,M.fat_addrs,M.ssz)),M[ke.start].name=ke.name,ke.content=M[ke.start].data.slice(0,ke.size)):(ke.storage="minifat",ke.size<0?ke.size=0:he!==W&&ke.start!==W&&M[he]&&(ke.content=g(ke,M[he].data,(M[Be]||{}).data))),ke.content&&sa(ke.content,0),K[Ke]=ke,fe.push(ke)}}function S(U,M){return new Date((la(U,M+4)/1e7*Math.pow(2,32)+la(U,M)/1e7-11644473600)*1e3)}function E(U,M){return u(),h(d.readFileSync(U),M)}function D(U,M){var P=M&&M.type;switch(P||wt&&Buffer.isBuffer(U)&&(P="buffer"),P||"base64"){case"file":return E(U,M);case"base64":return h(Xa(fi(U)),M);case"binary":return h(Xa(U),M)}return h(U,M)}function T(U,M){var P=M||{},R=P.root||"Root Entry";if(U.FullPaths||(U.FullPaths=[]),U.FileIndex||(U.FileIndex=[]),U.FullPaths.length!==U.FileIndex.length)throw new Error("inconsistent CFB structure");U.FullPaths.length===0&&(U.FullPaths[0]=R+"/",U.FileIndex[0]={name:R,type:5}),P.CLSID&&(U.FileIndex[0].clsid=P.CLSID),k(U)}function k(U){var M="�Sh33tJ5";if(!Dt.find(U,"/"+M)){var P=ve(4);P[0]=55,P[1]=P[3]=50,P[2]=54,U.FileIndex.push({name:M,type:2,content:P,size:4,L:69,R:69,C:69}),U.FullPaths.push(U.FullPaths[0]+M),I(U)}}function I(U,M){T(U);for(var P=!1,R=!1,H=U.FullPaths.length-1;H>=0;--H){var K=U.FileIndex[H];switch(K.type){case 0:R?P=!0:(U.FileIndex.pop(),U.FullPaths.pop());break;case 1:case 2:case 5:R=!0,isNaN(K.R*K.L*K.C)&&(P=!0),K.R>-1&&K.L>-1&&K.R==K.L&&(P=!0);break;default:P=!0;break}}if(!(!P&&!M)){var fe=new Date(1987,1,19),Be=0,he=Object.create?Object.create(null):{},me=[];for(H=0;H<U.FullPaths.length;++H)he[U.FullPaths[H]]=!0,U.FileIndex[H].type!==0&&me.push([U.FullPaths[H],U.FileIndex[H]]);for(H=0;H<me.length;++H){var pe=n(me[H][0]);R=he[pe],R||(me.push([pe,{name:s(pe).replace("/",""),type:1,clsid:ne,ct:fe,mt:fe,content:null}]),he[pe]=!0)}for(me.sort(function(Ke,_e){return r(Ke[0],_e[0])}),U.FullPaths=[],U.FileIndex=[],H=0;H<me.length;++H)U.FullPaths[H]=me[H][0],U.FileIndex[H]=me[H][1];for(H=0;H<me.length;++H){var Ee=U.FileIndex[H],Re=U.FullPaths[H];if(Ee.name=s(Re).replace("/",""),Ee.L=Ee.R=Ee.C=-(Ee.color=1),Ee.size=Ee.content?Ee.content.length:0,Ee.start=0,Ee.clsid=Ee.clsid||ne,H===0)Ee.C=me.length>1?1:-1,Ee.size=0,Ee.type=5;else if(Re.slice(-1)=="/"){for(Be=H+1;Be<me.length&&n(U.FullPaths[Be])!=Re;++Be);for(Ee.C=Be>=me.length?-1:Be,Be=H+1;Be<me.length&&n(U.FullPaths[Be])!=n(Re);++Be);Ee.R=Be>=me.length?-1:Be,Ee.type=1}else n(U.FullPaths[H+1]||"")==n(Re)&&(Ee.R=H+1),Ee.type=2}}}function Y(U,M){var P=M||{};if(P.fileType=="mad")return Ko(U,P);switch(I(U),P.fileType){case"zip":return wi(U,P)}var R=(function(Ke){for(var _e=0,ke=0,ot=0;ot<Ke.FileIndex.length;++ot){var Lt=Ke.FileIndex[ot];if(Lt.content){var Ot=Lt.content.length;Ot>0&&(Ot<4096?_e+=Ot+63>>6:ke+=Ot+511>>9)}}for(var Ar=Ke.FullPaths.length+3>>2,Wo=_e+7>>3,vi=_e+127>>7,ls=Wo+ke+Ar+vi,Ir=ls+127>>7,qA=Ir<=109?0:Math.ceil((Ir-109)/127);ls+Ir+qA+127>>7>Ir;)qA=++Ir<=109?0:Math.ceil((Ir-109)/127);var dr=[1,qA,Ir,vi,Ar,ke,_e,0];return Ke.FileIndex[0].size=_e<<6,dr[7]=(Ke.FileIndex[0].start=dr[0]+dr[1]+dr[2]+dr[3]+dr[4]+dr[5])+(dr[6]+7>>3),dr})(U),H=ve(R[7]<<9),K=0,fe=0;
vendor: 14,505 bytes, lines 880-885
880{for(K=0;K<8;++K)H.write_shift(1,we[K]);for(K=0;K<8;++K)H.write_shift(2,0);for(H.write_shift(2,62),H.write_shift(2,3),H.write_shift(2,65534),H.write_shift(2,9),H.write_shift(2,6),K=0;K<3;++K)H.write_shift(2,0);for(H.write_shift(4,0),H.write_shift(4,R[2]),H.write_shift(4,R[0]+R[1]+R[2]+R[3]-1),H.write_shift(4,0),H.write_shift(4,4096),H.write_shift(4,R[3]?R[0]+R[1]+R[2]-1:W),H.write_shift(4,R[3]),H.write_shift(-4,R[1]?R[0]-1:W),H.write_shift(4,R[1]),K=0;K<109;++K)H.write_shift(-4,K<R[2]?R[1]+K:-1)}if(R[1])for(fe=0;fe<R[1];++fe){for(;K<236+fe*127;++K)H.write_shift(-4,K<R[2]?R[1]+K:-1);H.write_shift(-4,fe===R[1]-1?W:fe+1)}var Be=function(Ke){for(fe+=Ke;K<fe-1;++K)H.write_shift(-4,K+1);Ke&&(++K,H.write_shift(-4,W))};for(fe=K=0,fe+=R[1];K<fe;++K)H.write_shift(-4,re.DIFSECT);for(fe+=R[2];K<fe;++K)H.write_shift(-4,re.FATSECT);Be(R[3]),Be(R[4]);for(var he=0,me=0,pe=U.FileIndex[0];he<U.FileIndex.length;++he)pe=U.FileIndex[he],pe.content&&(me=pe.content.length,!(me<4096)&&(pe.start=fe,Be(me+511>>9)));for(Be(R[6]+7>>3);H.l&511;)H.write_shift(-4,re.ENDOFCHAIN);for(fe=K=0,he=0;he<U.FileIndex.length;++he)pe=U.FileIndex[he],pe.content&&(me=pe.content.length,!(!me||me>=4096)&&(pe.start=fe,Be(me+63>>6)));for(;H.l&511;)H.write_shift(-4,re.ENDOFCHAIN);for(K=0;K<R[4]<<2;++K){var Ee=U.FullPaths[K];if(!Ee||Ee.length===0){for(he=0;he<17;++he)H.write_shift(4,0);for(he=0;he<3;++he)H.write_shift(4,-1);for(he=0;he<12;++he)H.write_shift(4,0);continue}pe=U.FileIndex[K],K===0&&(pe.start=pe.size?pe.start-1:W);var Re=K===0&&P.root||pe.name;if(me=2*(Re.length+1),H.write_shift(64,Re,"utf16le"),H.write_shift(2,me),H.write_shift(1,pe.type),H.write_shift(1,pe.color),H.write_shift(-4,pe.L),H.write_shift(-4,pe.R),H.write_shift(-4,pe.C),pe.clsid)H.write_shift(16,pe.clsid,"hex");else for(he=0;he<4;++he)H.write_shift(4,0);H.write_shift(4,pe.state||0),H.write_shift(4,0),H.write_shift(4,0),H.write_shift(4,0),H.write_shift(4,0),H.write_shift(4,pe.start),H.write_shift(4,pe.size),H.write_shift(4,0)}for(K=1;K<U.FileIndex.length;++K)if(pe=U.FileIndex[K],pe.size>=4096)if(H.l=pe.start+1<<9,wt&&Buffer.isBuffer(pe.content))pe.content.copy(H,H.l,0,pe.size),H.l+=pe.size+511&-512;else{for(he=0;he<pe.size;++he)H.write_shift(1,pe.content[he]);for(;he&511;++he)H.write_shift(1,0)}for(K=1;K<U.FileIndex.length;++K)if(pe=U.FileIndex[K],pe.size>0&&pe.size<4096)if(wt&&Buffer.isBuffer(pe.content))pe.content.copy(H,H.l,0,pe.size),H.l+=pe.size+63&-64;else{for(he=0;he<pe.size;++he)H.write_shift(1,pe.content[he]);for(;he&63;++he)H.write_shift(1,0)}if(wt)H.l=H.length;else for(;H.l<H.length;)H.write_shift(1,0);return H}function ee(U,M){var P=U.FullPaths.map(function(he){return he.toUpperCase()}),R=P.map(function(he){var me=he.split("/");return me[me.length-(he.slice(-1)=="/"?2:1)]}),H=!1;M.charCodeAt(0)===47?(H=!0,M=P[0].slice(0,-1)+M):H=M.indexOf("/")!==-1;var K=M.toUpperCase(),fe=H===!0?P.indexOf(K):R.indexOf(K);if(fe!==-1)return U.FileIndex[fe];var Be=!K.match(vm);for(K=K.replace(pu,""),Be&&(K=K.replace(vm,"!")),fe=0;fe<P.length;++fe)if((Be?P[fe].replace(vm,"!"):P[fe]).replace(pu,"")==K||(Be?R[fe].replace(vm,"!"):R[fe]).replace(pu,"")==K)return U.FileIndex[fe];return null}var ie=64,W=-2,ce="d0cf11e0a1b11ae1",we=[208,207,17,224,161,177,26,225],ne="00000000000000000000000000000000",re={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:W,FREESECT:-1,HEADER_SIGNATURE:ce,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:ne,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function X(U,M,P){u();var R=Y(U,P);d.writeFileSync(M,R)}function de(U){for(var M=new Array(U.length),P=0;P<U.length;++P)M[P]=String.fromCharCode(U[P]);return M.join("")}function ae(U,M){var P=Y(U,M);switch(M&&M.type||"buffer"){case"file":return u(),d.writeFileSync(M.filename,P),P;case"binary":return typeof P=="string"?P:de(P);case"base64":return Mu(typeof P=="string"?P:de(P));case"buffer":if(wt)return Buffer.isBuffer(P)?P:gi(P);case"array":return typeof P=="string"?Xa(P):P}return P}var q;function L(U){try{var M=U.InflateRaw,P=new M;if(P._processChunk(new Uint8Array([3,0]),P._finishFlushFlag),P.bytesRead)q=U;else throw new Error("zlib does not expose bytesRead")}catch(R){console.error("cannot use native zlib: "+(R.message||R))}}function J(U,M){if(!q)return tc(U,M);var P=q.InflateRaw,R=new P,H=R._processChunk(U.slice(U.l),R._finishFlushFlag);return U.l+=R.bytesRead,H}function Q(U){return q?q.deflateRawSync(U):xi(U)}var O=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],G=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],le=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function ye(U){var M=(U<<1|U<<11)&139536|(U<<5|U<<15)&558144;return(M>>16|M>>8|M)&255}for(var xe=typeof Uint8Array<"u",be=xe?new Uint8Array(256):[],Fe=0;Fe<256;++Fe)be[Fe]=ye(Fe);function Pe(U,M){var P=be[U&255];return M<=8?P>>>8-M:(P=P<<8|be[U>>8&255],M<=16?P>>>16-M:(P=P<<8|be[U>>16&255],P>>>24-M))}function it(U,M){var P=M&7,R=M>>>3;return(U[R]|(P<=6?0:U[R+1]<<8))>>>P&3}function et(U,M){var P=M&7,R=M>>>3;return(U[R]|(P<=5?0:U[R+1]<<8))>>>P&7}function cr(U,M){var P=M&7,R=M>>>3;return(U[R]|(P<=4?0:U[R+1]<<8))>>>P&15}function pt(U,M){var P=M&7,R=M>>>3;return(U[R]|(P<=3?0:U[R+1]<<8))>>>P&31}function Me(U,M){var P=M&7,R=M>>>3;return(U[R]|(P<=1?0:U[R+1]<<8))>>>P&127}function Kr(U,M,P){var R=M&7,H=M>>>3,K=(1<<P)-1,fe=U[H]>>>R;return P<8-R||(fe|=U[H+1]<<8-R,P<16-R)||(fe|=U[H+2]<<16-R,P<24-R)||(fe|=U[H+3]<<24-R),fe&K}function Ur(U,M,P){var R=M&7,H=M>>>3;return R<=5?U[H]|=(P&7)<<R:(U[H]|=P<<R&255,U[H+1]=(P&7)>>8-R),M+3}function qn(U,M,P){var R=M&7,H=M>>>3;return P=(P&1)<<R,U[H]|=P,M+1}function $n(U,M,P){var R=M&7,H=M>>>3;return P<<=R,U[H]|=P&255,P>>>=8,U[H+1]=P,M+8}function Xl(U,M,P){var R=M&7,H=M>>>3;return P<<=R,U[H]|=P&255,P>>>=8,U[H+1]=P&255,U[H+2]=P>>>8,M+16}function Zl(U,M){var P=U.length,R=2*P>M?2*P:M+5,H=0;if(P>=M)return U;if(wt){var K=yj(R);if(U.copy)U.copy(K);else for(;H<U.length;++H)K[H]=U[H];return K}else if(xe){var fe=new Uint8Array(R);if(fe.set)fe.set(U);else for(;H<P;++H)fe[H]=U[H];return fe}return U.length=R,U}function Yn(U){for(var M=new Array(U),P=0;P<U;++P)M[P]=0;return M}function Oo(U,M,P){var R=1,H=0,K=0,fe=0,Be=0,he=U.length,me=xe?new Uint16Array(32):Yn(32);for(K=0;K<32;++K)me[K]=0;for(K=he;K<P;++K)U[K]=0;he=U.length;var pe=xe?new Uint16Array(he):Yn(he);for(K=0;K<he;++K)me[H=U[K]]++,R<H&&(R=H),pe[K]=0;for(me[0]=0,K=1;K<=R;++K)me[K+16]=Be=Be+me[K-1]<<1;for(K=0;K<he;++K)Be=U[K],Be!=0&&(pe[K]=me[Be+16]++);var Ee=0;for(K=0;K<he;++K)if(Ee=U[K],Ee!=0)for(Be=Pe(pe[K],R)>>R-Ee,fe=(1<<R+4-Ee)-1;fe>=0;--fe)M[Be|fe<<Ee]=Ee&15|K<<4;return R}var ec=xe?new Uint16Array(512):Yn(512),Ho=xe?new Uint16Array(32):Yn(32);if(!xe){for(var fa=0;fa<512;++fa)ec[fa]=0;for(fa=0;fa<32;++fa)Ho[fa]=0}(function(){for(var U=[],M=0;M<32;M++)U.push(5);Oo(U,Ho,32);var P=[];for(M=0;M<=143;M++)P.push(8);for(;M<=255;M++)P.push(9);for(;M<=279;M++)P.push(7);for(;M<=287;M++)P.push(8);Oo(P,ec,288)})();var yh=(function(){for(var M=xe?new Uint8Array(32768):[],P=0,R=0;P<le.length-1;++P)for(;R<le[P+1];++R)M[R]=P;for(;R<32768;++R)M[R]=29;var H=xe?new Uint8Array(259):[];for(P=0,R=0;P<G.length-1;++P)for(;R<G[P+1];++R)H[R]=P;function K(Be,he){for(var me=0;me<Be.length;){var pe=Math.min(65535,Be.length-me),Ee=me+pe==Be.length;for(he.write_shift(1,+Ee),he.write_shift(2,pe),he.write_shift(2,~pe&65535);pe-- >0;)he[he.l++]=Be[me++]}return he.l}function fe(Be,he){for(var me=0,pe=0,Ee=xe?new Uint16Array(32768):[];pe<Be.length;){var Re=Math.min(65535,Be.length-pe);if(Re<10){for(me=Ur(he,me,+(pe+Re==Be.length)),me&7&&(me+=8-(me&7)),he.l=me/8|0,he.write_shift(2,Re),he.write_shift(2,~Re&65535);Re-- >0;)he[he.l++]=Be[pe++];me=he.l*8;continue}me=Ur(he,me,+(pe+Re==Be.length)+2);for(var Ke=0;Re-- >0;){var _e=Be[pe];Ke=(Ke<<5^_e)&32767;var ke=-1,ot=0;if((ke=Ee[Ke])&&(ke|=pe&-32768,ke>pe&&(ke-=32768),ke<pe))for(;Be[ke+ot]==Be[pe+ot]&&ot<250;)++ot;if(ot>2){_e=H[ot],_e<=22?me=$n(he,me,be[_e+1]>>1)-1:($n(he,me,3),me+=5,$n(he,me,be[_e-23]>>5),me+=3);var Lt=_e<8?0:_e-4>>2;Lt>0&&(Xl(he,me,ot-G[_e]),me+=Lt),_e=M[pe-ke],me=$n(he,me,be[_e]>>3),me-=3;var Ot=_e<4?0:_e-2>>1;Ot>0&&(Xl(he,me,pe-ke-le[_e]),me+=Ot);for(var Ar=0;Ar<ot;++Ar)Ee[Ke]=pe&32767,Ke=(Ke<<5^Be[pe])&32767,++pe;Re-=ot-1}else _e<=143?_e=_e+48:me=qn(he,me,1),me=$n(he,me,be[_e]),Ee[Ke]=pe&32767,++pe}me=$n(he,me,0)-1}return he.l=(me+7)/8|0,he.l}return function(he,me){return he.length<8?K(he,me):fe(he,me)}})();function xi(U){var M=ve(50+Math.floor(U.length*1.1)),P=yh(U,M);return M.slice(0,P)}var yi=xe?new Uint16Array(32768):Yn(32768),bh=xe?new Uint16Array(32768):Yn(32768),VA=xe?new Uint16Array(128):Yn(128),KA=1,wh=1;function GA(U,M){var P=pt(U,M)+257;M+=5;var R=pt(U,M)+1;M+=5;var H=cr(U,M)+4;M+=4;for(var K=0,fe=xe?new Uint8Array(19):Yn(19),Be=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],he=1,me=xe?new Uint8Array(8):Yn(8),pe=xe?new Uint8Array(8):Yn(8),Ee=fe.length,Re=0;Re<H;++Re)fe[O[Re]]=K=et(U,M),he<K&&(he=K),me[K]++,M+=3;var Ke=0;for(me[0]=0,Re=1;Re<=he;++Re)pe[Re]=Ke=Ke+me[Re-1]<<1;for(Re=0;Re<Ee;++Re)(Ke=fe[Re])!=0&&(Be[Re]=pe[Ke]++);var _e=0;for(Re=0;Re<Ee;++Re)if(_e=fe[Re],_e!=0){Ke=be[Be[Re]]>>8-_e;for(var ke=(1<<7-_e)-1;ke>=0;--ke)VA[Ke|ke<<_e]=_e&7|Re<<3}var ot=[];for(he=1;ot.length<P+R;)switch(Ke=VA[Me(U,M)],M+=Ke&7,Ke>>>=3){case 16:for(K=3+it(U,M),M+=2,Ke=ot[ot.length-1];K-- >0;)ot.push(Ke);break;case 17:for(K=3+et(U,M),M+=3;K-- >0;)ot.push(0);break;case 18:for(K=11+Me(U,M),M+=7;K-- >0;)ot.push(0);break;default:ot.push(Ke),he<Ke&&(he=Ke);break}var Lt=ot.slice(0,P),Ot=ot.slice(P);for(Re=P;Re<286;++Re)Lt[Re]=0;for(Re=R;Re<30;++Re)Ot[Re]=0;return KA=Oo(Lt,yi,286),wh=Oo(Ot,bh,30),M}function WA(U,M){if(U[0]==3&&!(U[1]&3))return[Ol(M),2];for(var P=0,R=0,H=yj(M||1<<18),K=0,fe=H.length>>>0,Be=0,he=0;(R&1)==0;){if(R=et(U,P),P+=3,R>>>1)R>>1==1?(Be=9,he=5):(P=GA(U,P),Be=KA,he=wh);else{P&7&&(P+=8-(P&7));var me=U[P>>>3]|U[(P>>>3)+1]<<8;if(P+=32,me>0)for(!M&&fe<K+me&&(H=Zl(H,K+me),fe=H.length);me-- >0;)H[K++]=U[P>>>3],P+=8;continue}for(;;){!M&&fe<K+32767&&(H=Zl(H,K+32767),fe=H.length);var pe=Kr(U,P,Be),Ee=R>>>1==1?ec[pe]:yi[pe];if(P+=Ee&15,Ee>>>=4,(Ee>>>8&255)===0)H[K++]=Ee;else{if(Ee==256)break;Ee-=257;var Re=Ee<8?0:Ee-4>>2;Re>5&&(Re=0);var Ke=K+G[Ee];Re>0&&(Ke+=Kr(U,P,Re),P+=Re),pe=Kr(U,P,he),Ee=R>>>1==1?Ho[pe]:bh[pe],P+=Ee&15,Ee>>>=4;var _e=Ee<4?0:Ee-2>>1,ke=le[Ee];for(_e>0&&(ke+=Kr(U,P,_e),P+=_e),!M&&fe<Ke&&(H=Zl(H,Ke+100),fe=H.length);K<Ke;)H[K]=H[K-ke],++K}}}return M?[H,P+7>>>3]:[H.slice(0,K),P+7>>>3]}function tc(U,M){var P=U.slice(U.l||0),R=WA(P,M);return U.l+=R[1],R[0]}function rc(U,M){if(U)typeof console<"u"&&console.error(M);else throw new Error(M)}function nc(U,M){var P=U;sa(P,0);var R=[],H=[],K={FileIndex:R,FullPaths:H};T(K,{root:M.root});for(var fe=P.length-4;(P[fe]!=80||P[fe+1]!=75||P[fe+2]!=5||P[fe+3]!=6)&&fe>=0;)--fe;P.l=fe+4,P.l+=4;var Be=P.read_shift(2);P.l+=6;var he=P.read_shift(4);for(P.l=he,fe=0;fe<Be;++fe){P.l+=20;var me=P.read_shift(4),pe=P.read_shift(4),Ee=P.read_shift(2),Re=P.read_shift(2),Ke=P.read_shift(2);P.l+=8;var _e=P.read_shift(4),ke=c(P.slice(P.l+Ee,P.l+Ee+Re));P.l+=Ee+Re+Ke;var ot=P.l;P.l=_e+4,bi(P,me,pe,K,ke),P.l=ot}return K}function bi(U,M,P,R,H){U.l+=2;var K=U.read_shift(2),fe=U.read_shift(2),Be=o(U);if(K&8257)throw new Error("Unsupported ZIP encryption");for(var he=U.read_shift(4),me=U.read_shift(4),pe=U.read_shift(4),Ee=U.read_shift(2),Re=U.read_shift(2),Ke="",_e=0;_e<Ee;++_e)Ke+=String.fromCharCode(U[U.l++]);if(Re){var ke=c(U.slice(U.l,U.l+Re));(ke[21589]||{}).mt&&(Be=ke[21589].mt),((H||{})[21589]||{}).mt&&(Be=H[21589].mt)}U.l+=Re;var ot=U.slice(U.l,U.l+me);switch(fe){case 8:ot=J(U,pe);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+fe)}var Lt=!1;K&8&&(he=U.read_shift(4),he==134695760&&(he=U.read_shift(4),Lt=!0),me=U.read_shift(4),pe=U.read_shift(4)),me!=M&&rc(Lt,"Bad compressed size: "+M+" != "+me),pe!=P&&rc(Lt,"Bad uncompressed size: "+P+" != "+pe),Is(R,Ke,ot,{unsafe:!0,mt:Be})}function wi(U,M){var P=M||{},R=[],H=[],K=ve(1),fe=P.compression?8:0,Be=0,he=0,me=0,pe=0,Ee=0,Re=U.FullPaths[0],Ke=Re,_e=U.FileIndex[0],ke=[],ot=0;for(he=1;he<U.FullPaths.length;++he)if(Ke=U.FullPaths[he].slice(Re.length),_e=U.FileIndex[he],!(!_e.size||!_e.content||Ke=="�Sh33tJ5")){var Lt=pe,Ot=ve(Ke.length);for(me=0;me<Ke.length;++me)Ot.write_shift(1,Ke.charCodeAt(me)&127);Ot=Ot.slice(0,Ot.l),ke[Ee]=Lae.buf(_e.content,0);var Ar=_e.content;fe==8&&(Ar=Q(Ar)),K=ve(30),K.write_shift(4,67324752),K.write_shift(2,20),K.write_shift(2,Be),K.write_shift(2,fe),_e.mt?i(K,_e.mt):K.write_shift(4,0),K.write_shift(-4,ke[Ee]),K.write_shift(4,Ar.length),K.write_shift(4,_e.content.length),K.write_shift(2,Ot.length),K.write_shift(2,0),pe+=K.length,R.push(K),pe+=Ot.length,R.push(Ot),pe+=Ar.length,R.push(Ar),K=ve(46),K.write_shift(4,33639248),K.write_shift(2,0),K.write_shift(2,20),K.write_shift(2,Be),K.write_shift(2,fe),K.write_shift(4,0),K.write_shift(-4,ke[Ee]),K.write_shift(4,Ar.length),K.write_shift(4,_e.content.length),K.write_shift(2,Ot.length),K.write_shift(2,0),K.write_shift(2,0),K.write_shift(2,0),K.write_shift(2,0),K.write_shift(4,0),K.write_shift(4,Lt),ot+=K.l,H.push(K),ot+=Ot.length,H.push(Ot),++Ee}return K=ve(22),K.write_shift(4,101010256),K.write_shift(2,0),K.write_shift(2,0),K.write_shift(2,Ee),K.write_shift(2,Ee),K.write_shift(4,ot),K.write_shift(4,pe),K.write_shift(2,0),Zr([Zr(R),Zr(H),K])}var Vo={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function vh(U,M){if(U.ctype)return U.ctype;var P=U.name||"",R=P.match(/\.([^\.]+)$/);return R&&Vo[R[1]]||M&&(R=(P=M).match(/[\.\\]([^\.\\])+$/),R&&Vo[R[1]])?Vo[R[1]]:"application/octet-stream"}function Ch(U){for(var M=Mu(U),P=[],R=0;R<M.length;R+=76)P.push(M.slice(R,R+76));return P.join(`\r 881`)+`\r 882`}function Bh(U){var M=U.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(me){var pe=me.charCodeAt(0).toString(16).toUpperCase();return"="+(pe.length==1?"0"+pe:pe)});M=M.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),M.charAt(0)==` 883`&&(M="=0D"+M.slice(1)),M=M.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,` 884=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var P=[],R=M.split(`\r 885`),H=0;H<R.length;++H){var K=R[H];if(K.length==0){P.push("");continue}for(var fe=0;fe<K.length;){var Be=76,he=K.slice(fe,fe+Be);he.charAt(Be-1)=="="?Be--:he.charAt(Be-2)=="="?Be-=2:he.charAt(Be-3)=="="&&(Be-=3),he=K.slice(fe,fe+Be),fe+=Be,fe<K.length&&(he+="="),P.pu
vendor: 12,633 bytes, lines 885-892
885sh(he)}}return P.join(`\r 886`)}function Nh(U){for(var M=[],P=0;P<U.length;++P){for(var R=U[P];P<=U.length&&R.charAt(R.length-1)=="=";)R=R.slice(0,R.length-1)+U[++P];M.push(R)}for(var H=0;H<M.length;++H)M[H]=M[H].replace(/[=][0-9A-Fa-f]{2}/g,function(K){return String.fromCharCode(parseInt(K.slice(1),16))});return Xa(M.join(`\r 887`))}function zA(U,M,P){for(var R="",H="",K="",fe,Be=0;Be<10;++Be){var he=M[Be];if(!he||he.match(/^\s*$/))break;var me=he.match(/^(.*?):\s*([^\s].*)$/);if(me)switch(me[1].toLowerCase()){case"content-location":R=me[2].trim();break;case"content-type":K=me[2].trim();break;case"content-transfer-encoding":H=me[2].trim();break}}switch(++Be,H.toLowerCase()){case"base64":fe=Xa(fi(M.slice(Be).join("")));break;case"quoted-printable":fe=Nh(M.slice(Be));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+H)}var pe=Is(U,R.slice(P.length),fe,{unsafe:!0});K&&(pe.ctype=K)}function Fh(U,M){if(de(U.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var P=M&&M.root||"",R=(wt&&Buffer.isBuffer(U)?U.toString("binary"):de(U)).split(`\r 888`),H=0,K="";for(H=0;H<R.length;++H)if(K=R[H],!!/^Content-Location:/i.test(K)&&(K=K.slice(K.indexOf("file")),P||(P=K.slice(0,K.lastIndexOf("/")+1)),K.slice(0,P.length)!=P))for(;P.length>0&&(P=P.slice(0,P.length-1),P=P.slice(0,P.lastIndexOf("/")+1),K.slice(0,P.length)!=P););var fe=(R[1]||"").match(/boundary="(.*?)"/);if(!fe)throw new Error("MAD cannot find boundary");var Be="--"+(fe[1]||""),he=[],me=[],pe={FileIndex:he,FullPaths:me};T(pe);var Ee,Re=0;for(H=0;H<R.length;++H){var Ke=R[H];Ke!==Be&&Ke!==Be+"--"||(Re++&&zA(pe,R.slice(Ee,H),P),Ee=H)}return pe}function Ko(U,M){var P=M||{},R=P.boundary||"SheetJS";R="------="+R;for(var H=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+R.slice(2)+'"',"","",""],K=U.FullPaths[0],fe=K,Be=U.FileIndex[0],he=1;he<U.FullPaths.length;++he)if(fe=U.FullPaths[he].slice(K.length),Be=U.FileIndex[he],!(!Be.size||!Be.content||fe=="�Sh33tJ5")){fe=fe.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(ot){return"_x"+ot.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(ot){return"_u"+ot.charCodeAt(0).toString(16)+"_"});for(var me=Be.content,pe=wt&&Buffer.isBuffer(me)?me.toString("binary"):de(me),Ee=0,Re=Math.min(1024,pe.length),Ke=0,_e=0;_e<=Re;++_e)(Ke=pe.charCodeAt(_e))>=32&&Ke<128&&++Ee;var ke=Ee>=Re*4/5;H.push(R),H.push("Content-Location: "+(P.root||"file:///C:/SheetJS/")+fe),H.push("Content-Transfer-Encoding: "+(ke?"quoted-printable":"base64")),H.push("Content-Type: "+vh(Be,fe)),H.push(""),H.push(ke?Bh(pe):Ch(pe))}return H.push(R+`--\r 889`),H.join(`\r 890`)}function JA(U){var M={};return T(M,U),M}function Is(U,M,P,R){var H=R&&R.unsafe;H||T(U);var K=!H&&Dt.find(U,M);if(!K){var fe=U.FullPaths[0];M.slice(0,fe.length)==fe?fe=M:(fe.slice(-1)!="/"&&(fe+="/"),fe=(fe+M).replace("//","/")),K={name:s(M),type:2},U.FileIndex.push(K),U.FullPaths.push(fe),H||Dt.utils.cfb_gc(U)}return K.content=P,K.size=P?P.length:0,R&&(R.CLSID&&(K.clsid=R.CLSID),R.mt&&(K.mt=R.mt),R.ct&&(K.ct=R.ct)),K}function I0(U,M){T(U);var P=Dt.find(U,M);if(P){for(var R=0;R<U.FileIndex.length;++R)if(U.FileIndex[R]==P)return U.FileIndex.splice(R,1),U.FullPaths.splice(R,1),!0}return!1}function Go(U,M,P){T(U);var R=Dt.find(U,M);if(R){for(var H=0;H<U.FileIndex.length;++H)if(U.FileIndex[H]==R)return U.FileIndex[H].name=s(P),U.FullPaths[H]=P,!0}return!1}function ac(U){I(U,!0)}return t.find=ee,t.read=D,t.parse=h,t.write=ae,t.writeFile=X,t.utils={cfb_new:JA,cfb_add:Is,cfb_del:I0,cfb_mov:Go,cfb_gc:ac,ReadShift:xu,CheckField:l5,prep_blob:sa,bconcat:Zr,use_zlib:L,_deflateRaw:xi,_inflateRaw:tc,consts:re},t})();function Pae(e){return typeof e=="string"?j0(e):Array.isArray(e)?cae(e):e}function fh(e,t,r){if(typeof Deno<"u"){if(r&&typeof t=="string")switch(r){case"utf8":t=new TextEncoder(r).encode(t);break;case"binary":t=j0(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var n=r=="utf8"?Ou(t):t;if(typeof IE_SaveFile<"u")return IE_SaveFile(n,e);if(typeof Blob<"u"){var s=new Blob([Pae(n)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(s,e);if(typeof saveAs<"u")return saveAs(s,e);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(s);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),chrome.downloads.download({url:i,filename:e,saveAs:!0});var o=document.createElement("a");if(o.download!=null)return o.download=e,o.href=i,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),i}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var c=File(e);return c.open("w"),c.encoding="binary",Array.isArray(t)&&(t=hh(t)),c.write(t),c.close(),t}catch(d){if(!d.message||!d.message.match(/onstruct/))throw d}throw new Error("cannot save file "+e)}function on(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;++n)Object.prototype.hasOwnProperty.call(e,t[n])&&r.push(t[n]);return r}function jj(e,t){for(var r=[],n=on(e),s=0;s!==n.length;++s)r[e[n[s]][t]]==null&&(r[e[n[s]][t]]=n[s]);return r}function sv(e){for(var t=[],r=on(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}function T0(e){for(var t=[],r=on(e),n=0;n!==r.length;++n)t[e[r[n]]]=parseInt(r[n],10);return t}function Rae(e){for(var t=[],r=on(e),n=0;n!==r.length;++n)t[e[r[n]]]==null&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}var kp=new Date(1899,11,30,0,0,0);function zn(e,t){var r=e.getTime(),n=kp.getTime()+(e.getTimezoneOffset()-kp.getTimezoneOffset())*6e4;return(r-n)/(1440*60*1e3)}var G_=new Date,Mae=kp.getTime()+(G_.getTimezoneOffset()-kp.getTimezoneOffset())*6e4,Sj=G_.getTimezoneOffset();function W_(e){var t=new Date;return t.setTime(e*24*60*60*1e3+Mae),t.getTimezoneOffset()!==Sj&&t.setTime(t.getTime()+(t.getTimezoneOffset()-Sj)*6e4),t}var Ej=new Date("2017-02-19T19:06:09.000Z"),z_=isNaN(Ej.getFullYear())?new Date("2/19/17"):Ej,Qae=z_.getFullYear()==2017;function kn(e,t){var r=new Date(e);if(Qae)return t>0?r.setTime(r.getTime()+r.getTimezoneOffset()*60*1e3):t<0&&r.setTime(r.getTime()-r.getTimezoneOffset()*60*1e3),r;if(e instanceof Date)return e;if(z_.getFullYear()==1917&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var s=e.match(/\d+/g)||["2017","2","19","0","0","0"],i=new Date(+s[0],+s[1]-1,+s[2],+s[3]||0,+s[4]||0,+s[5]||0);return e.indexOf("Z")>-1&&(i=new Date(i.getTime()-i.getTimezoneOffset()*60*1e3)),i}function k0(e,t){if(wt&&Buffer.isBuffer(e))return e.toString("binary");if(typeof TextDecoder<"u")try{var r={"â¬":"Â","â":"Â",Æ:"Â","â":"Â","â¦":" ","â ":"Â","â¡":"Â","Ë":"Â","â°":"Â",Å :"Â","â¹":"Â",Å:"Â",Ž:"Â","â":"Â","â":"Â","â":"Â","â":"Â","â¢":"Â","â":"Â","â":"Â","Ë":"Â","â¢":"Â",Å¡:"Â","âº":"Â",Å:"Â",ž:"Â",Ÿ:"Â"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[â¬âÆââ¦â â¡Ëâ°Å â¹ÅŽâââââ¢ââËâ¢Å¡âºÅžŸ]/g,function(i){return r[i]||i})}catch{}for(var n=[],s=0;s!=e.length;++s)n.push(String.fromCharCode(e[s]));return n.join("")}function Jn(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=Jn(e[r]));return t}function sr(e,t){for(var r="";r.length<t;)r+=e;return r}function si(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var r=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return r*=100,""});return!isNaN(t=Number(n))||(n=n.replace(/[(](.*)[)]/,function(s,i){return r=-r,i}),!isNaN(t=Number(n)))?t/r:t}var Oae=["january","february","march","april","may","june","july","august","september","october","november","december"];function Qu(e){var t=new Date(e),r=new Date(NaN),n=t.getYear(),s=t.getMonth(),i=t.getDate();if(isNaN(i))return r;var o=e.toLowerCase();if(o.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(o=o.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,""),o.length>3&&Oae.indexOf(o)==-1)return r}else if(o.match(/[a-z]/))return r;return n<0||n>8099?r:(s>0||i>1)&&n!=101?t:e.match(/[^-0-9:,\/\\]/)?r:t}function ct(e,t,r){if(e.FullPaths){if(typeof r=="string"){var n;return wt?n=gi(r):n=Aae(r),Dt.utils.cfb_add(e,t,n)}Dt.utils.cfb_add(e,t,r)}else e.file(t,r)}function iv(){return Dt.utils.cfb_new()}var Fr=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r 891`,Hae={""":'"',"'":"'",">":">","<":"<","&":"&"},ov=sv(Hae),lv=/[&<>'"]/g,Vae=/[\u0000-\u0008\u000b-\u001f]/g;function Tt(e){var t=e+"";return t.replace(lv,function(r){return ov[r]}).replace(Vae,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function Tj(e){return Tt(e).replace(/ /g,"_x0020_")}var J_=/[\u0000-\u001f]/g;function Kae(e){var t=e+"";return t.replace(lv,function(r){return ov[r]}).replace(/\n/g,"<br/>").replace(J_,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function Gae(e){var t=e+"";return t.replace(lv,function(r){return ov[r]}).replace(J_,function(r){return"&#x"+r.charCodeAt(0).toString(16).toUpperCase()+";"})}function Wae(e){return e.replace(/(\r\n|[\r\n])/g," ")}function zae(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function Iy(e){for(var t="",r=0,n=0,s=0,i=0,o=0,c=0;r<e.length;){if(n=e.charCodeAt(r++),n<128){t+=String.fromCharCode(n);continue}if(s=e.charCodeAt(r++),n>191&&n<224){o=(n&31)<<6,o|=s&63,t+=String.fromCharCode(o);continue}if(i=e.charCodeAt(r++),n<240){t+=String.fromCharCode((n&15)<<12|(s&63)<<6|i&63);continue}o=e.charCodeAt(r++),c=((n&7)<<18|(s&63)<<12|(i&63)<<6|o&63)-65536,t+=String.fromCharCode(55296+(c>>>10&1023)),t+=String.fromCharCode(56320+(c&1023))}return t}function kj(e){var t=Ol(2*e.length),r,n,s=1,i=0,o=0,c;for(n=0;n<e.length;n+=s)s=1,(c=e.charCodeAt(n))<128?r=c:c<224?(r=(c&31)*64+(e.charCodeAt(n+1)&63),s=2):c<240?(r=(c&15)*4096+(e.charCodeAt(n+1)&63)*64+(e.charCodeAt(n+2)&63),s=3):(s=4,r=(c&7)*262144+(e.charCodeAt(n+1)&63)*4096+(e.charCodeAt(n+2)&63)*64+(e.charCodeAt(n+3)&63),r-=65536,o=55296+(r>>>10&1023),r=56320+(r&1023)),o!==0&&(t[i++]=o&255,t[i++]=o>>>8,o=0),t[i++]=r%256,t[i++]=r>>>8;return t.slice(0,i).toString("ucs2")}function _j(e){return gi(e,"binary").toString("utf8")}var Bm="foo bar bazâÂÂð£",gu=wt&&(_j(Bm)==Iy(Bm)&&_j||kj(Bm)==Iy(Bm)&&kj)||Iy,Ou=wt?function(e){return gi(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,s=0;r<e.length;)switch(n=e.charCodeAt(r++),!0){case n<128:t.push(String.fromCharCode(n));break;case n<2048:t.push(String.fromCharCode(192+(n>>6))),t.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,s=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(s>>18&7))),t.push(String.fromCharCode(144+(s>>12&63))),t.push(String.fromCharCode(128+(s>>6&63))),t.push(String.fromCharCode(128+(s&63)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(n&63)))}return t.join("")},Jae=(function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]});return function(r){for(var n=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,` 892`).replace(/<[^>]*>/g,""),s=0;s<e.length;++s)n=n.replace(e[s][0],e[s][1]);return n}})(),q_=/(^\s|\s$|\n)/;function en(e,t){return"<"+e+(t.match(q_)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function Hu(e){return on(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function Ie(e,t,r){return"<"+e+(r!=null?Hu(r):"")+(t!=null?(t.match(q_)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function Nw(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function qae(e,t){switch(typeof e){case"string":var r=Ie("vt:lpwstr",Tt(e));return r=r.replace(/"/g,"_x0022_"),r;case"number":return Ie((e|0)==e?"vt:i4":"vt:r8",Tt(String(e)));case"boolean":return Ie("vt:bool",e?"true":"false")}if(e instanceof Date)return Ie("vt:filetime",Nw(e));throw new Error("Unable to serialize "+e)}
vendor: 9,641 bytes, line 892
892var Or={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},MA=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],oa={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function $ae(e,t){for(var r=1-2*(e[t+7]>>>7),n=((e[t+7]&127)<<4)+(e[t+6]>>>4&15),s=e[t+6]&15,i=5;i>=0;--i)s=s*256+e[t+i];return n==2047?s==0?r*(1/0):NaN:(n==0?n=-1022:(n-=1023,s+=Math.pow(2,52)),r*Math.pow(2,n-52)*s)}function Yae(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,s=0,i=0,o=n?-t:t;isFinite(o)?o==0?s=i=0:(s=Math.floor(Math.log(o)/Math.LN2),i=o*Math.pow(2,52-s),s<=-1023&&(!isFinite(i)||i<Math.pow(2,52))?s=-1022:(i-=Math.pow(2,52),s+=1023)):(s=2047,i=isNaN(t)?26985:0);for(var c=0;c<=5;++c,i/=256)e[r+c]=i&255;e[r+6]=(s&15)<<4|i&15,e[r+7]=s>>4|n}var Dj=function(e){for(var t=[],r=10240,n=0;n<e[0].length;++n)if(e[0][n])for(var s=0,i=e[0][n].length;s<i;s+=r)t.push.apply(t,e[0][n].slice(s,s+r));return t},Uj=wt?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:gi(t)})):Dj(e)}:Dj,Ij=function(e,t,r){for(var n=[],s=t;s<r;s+=2)n.push(String.fromCharCode(au(e,s)));return n.join("").replace(pu,"")},cv=wt?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le",t,r).replace(pu,""):Ij(e,t,r)}:Ij,Lj=function(e,t,r){for(var n=[],s=t;s<t+r;++s)n.push(("0"+e[s].toString(16)).slice(-2));return n.join("")},$_=wt?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):Lj(e,t,r)}:Lj,Pj=function(e,t,r){for(var n=[],s=t;s<r;s++)n.push(String.fromCharCode(Wc(e,s)));return n.join("")},mh=wt?function(t,r,n){return Buffer.isBuffer(t)?t.toString("utf8",r,n):Pj(t,r,n)}:Pj,Y_=function(e,t){var r=la(e,t);return r>0?mh(e,t+4,t+4+r-1):""},X_=Y_,Z_=function(e,t){var r=la(e,t);return r>0?mh(e,t+4,t+4+r-1):""},e5=Z_,t5=function(e,t){var r=2*la(e,t);return r>0?mh(e,t+4,t+4+r-1):""},r5=t5,n5=function(t,r){var n=la(t,r);return n>0?cv(t,r+4,r+4+n):""},a5=n5,s5=function(e,t){var r=la(e,t);return r>0?mh(e,t+4,t+4+r):""},i5=s5,o5=function(e,t){return $ae(e,t)},_p=o5,Av=function(t){return Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array};wt&&(X_=function(t,r){if(!Buffer.isBuffer(t))return Y_(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},e5=function(t,r){if(!Buffer.isBuffer(t))return Z_(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},r5=function(t,r){if(!Buffer.isBuffer(t))return t5(t,r);var n=2*t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n-1)},a5=function(t,r){if(!Buffer.isBuffer(t))return n5(t,r);var n=t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n)},i5=function(t,r){if(!Buffer.isBuffer(t))return s5(t,r);var n=t.readUInt32LE(r);return t.toString("utf8",r+4,r+4+n)},_p=function(t,r){return Buffer.isBuffer(t)?t.readDoubleLE(r):o5(t,r)},Av=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array});var Wc=function(e,t){return e[t]},au=function(e,t){return e[t+1]*256+e[t]},Xae=function(e,t){var r=e[t+1]*256+e[t];return r<32768?r:(65535-r+1)*-1},la=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},ul=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Zae=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function xu(e,t){var r="",n,s,i=[],o,c,d,u;switch(t){case"dbcs":if(u=this.l,wt&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(d=0;d<e;++d)r+=String.fromCharCode(au(this,u)),u+=2;e*=2;break;case"utf8":r=mh(this,this.l,this.l+e);break;case"utf16le":e*=2,r=cv(this,this.l,this.l+e);break;case"wstr":return xu.call(this,e,"dbcs");case"lpstr-ansi":r=X_(this,this.l),e=4+la(this,this.l);break;case"lpstr-cp":r=e5(this,this.l),e=4+la(this,this.l);break;case"lpwstr":r=r5(this,this.l),e=4+2*la(this,this.l);break;case"lpp4":e=4+la(this,this.l),r=a5(this,this.l),e&2&&(e+=2);break;case"8lpp4":e=4+la(this,this.l),r=i5(this,this.l),e&3&&(e+=4-(e&3));break;case"cstr":for(e=0,r="";(o=Wc(this,this.l+e++))!==0;)i.push(wm(o));r=i.join("");break;case"_wstr":for(e=0,r="";(o=au(this,this.l+e))!==0;)i.push(wm(o)),e+=2;e+=2,r=i.join("");break;case"dbcs-cont":for(r="",u=this.l,d=0;d<e;++d){if(this.lens&&this.lens.indexOf(u)!==-1)return o=Wc(this,u),this.l=u+1,c=xu.call(this,e-d,o?"dbcs-cont":"sbcs-cont"),i.join("")+c;i.push(wm(au(this,u))),u+=2}r=i.join(""),e*=2;break;case"cpstr":case"sbcs-cont":for(r="",u=this.l,d=0;d!=e;++d){if(this.lens&&this.lens.indexOf(u)!==-1)return o=Wc(this,u),this.l=u+1,c=xu.call(this,e-d,o?"dbcs-cont":"sbcs-cont"),i.join("")+c;i.push(wm(Wc(this,u))),u+=1}r=i.join("");break;default:switch(e){case 1:return n=Wc(this,this.l),this.l++,n;case 2:return n=(t==="i"?Xae:au)(this,this.l),this.l+=2,n;case 4:case-4:return t==="i"||(this[this.l+3]&128)===0?(n=(e>0?ul:Zae)(this,this.l),this.l+=4,n):(s=la(this,this.l),this.l+=4,s);case 8:case-8:if(t==="f")return e==8?s=_p(this,this.l):s=_p([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,s;e=8;case 16:r=$_(this,this.l,e);break}}return this.l+=e,r}var ese=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},tse=function(e,t,r){e[r]=t&255,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},rse=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255};function nse(e,t,r){var n=0,s=0;if(r==="dbcs"){for(s=0;s!=t.length;++s)rse(this,t.charCodeAt(s),this.l+2*s);n=2*t.length}else if(r==="sbcs"){for(t=t.replace(/[^\x00-\x7F]/g,"_"),s=0;s!=t.length;++s)this[this.l+s]=t.charCodeAt(s)&255;n=t.length}else if(r==="hex"){for(;s<e;++s)this[this.l++]=parseInt(t.slice(2*s,2*s+2),16)||0;return this}else if(r==="utf16le"){var i=Math.min(this.l+e,this.length);for(s=0;s<Math.min(t.length,e);++s){var o=t.charCodeAt(s);this[this.l++]=o&255,this[this.l++]=o>>8}for(;this.l<i;)this[this.l++]=0;return this}else switch(e){case 1:n=1,this[this.l]=t&255;break;case 2:n=2,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255;break;case 3:n=3,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255,t>>>=8,this[this.l+2]=t&255;break;case 4:n=4,ese(this,t,this.l);break;case 8:if(n=8,r==="f"){Yae(this,t,this.l);break}case 16:break;case-4:n=4,tse(this,t,this.l);break}return this.l+=n,this}function l5(e,t){var r=$_(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function sa(e,t){e.l=t,e.read_shift=xu,e.chk=l5,e.write_shift=nse}function Ts(e,t){e.l+=t}function ve(e){var t=Ol(e);return sa(t,0),t}function Vn(){var e=[],t=wt?256:2048,r=function(u){var h=ve(u);return sa(h,0),h},n=r(t),s=function(){n&&(n.length>n.l&&(n=n.slice(0,n.l),n.l=n.length),n.length>0&&e.push(n),n=null)},i=function(u){return n&&u<n.length-n.l?n:(s(),n=r(Math.max(u+1,t)))},o=function(){return s(),Zr(e)},c=function(u){s(),n=u,n.l==null&&(n.l=n.length),i(t)};return{next:i,push:c,end:o,_bufs:e}}function Ne(e,t,r,n){var s=+t,i;if(!isNaN(s)){n||(n=$Ae[s].p||(r||[]).length||0),i=1+(s>=128?1:0)+1,n>=128&&++i,n>=16384&&++i,n>=2097152&&++i;var o=e.next(i);s<=127?o.write_shift(1,s):(o.write_shift(1,(s&127)+128),o.write_shift(1,s>>7));for(var c=0;c!=4;++c)if(n>=128)o.write_shift(1,(n&127)+128),n>>=7;else{o.write_shift(1,n);break}n>0&&Av(r)&&e.push(r)}}function yu(e,t,r){var n=Jn(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function Rj(e,t,r){var n=Jn(e);return n.s=yu(n.s,t.s,r),n.e=yu(n.e,t.s,r),n}function bu(e,t){if(e.cRel&&e.c<0)for(e=Jn(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=Jn(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=kt(e);return!e.cRel&&e.cRel!=null&&(r=ise(r)),!e.rRel&&e.rRel!=null&&(r=ase(r)),r}function Ly(e,t){return e.s.r==0&&!e.s.rRel&&e.e.r==(t.biff>=12?1048575:t.biff>=8?65536:16384)&&!e.e.rRel?(e.s.cRel?"":"$")+gn(e.s.c)+":"+(e.e.cRel?"":"$")+gn(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(t.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?"":"$")+nn(e.s.r)+":"+(e.e.rRel?"":"$")+nn(e.e.r):bu(e.s,t.biff)+":"+bu(e.e,t.biff)}function dv(e){return parseInt(sse(e),10)-1}function nn(e){return""+(e+1)}function ase(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function sse(e){return e.replace(/\$(\d+)$/,"$1")}function uv(e){for(var t=ose(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function gn(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function ise(e){return e.replace(/^([A-Z])/,"$$$1")}
vendor: 4,708 bytes, line 892
892function ose(e){return e.replace(/^\$([A-Z])/,"$1")}function lse(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Hr(e){for(var t=0,r=0,n=0;n<e.length;++n){var s=e.charCodeAt(n);s>=48&&s<=57?t=10*t+(s-48):s>=65&&s<=90&&(r=26*r+(s-64))}return{c:r-1,r:t-1}}function kt(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function ha(e){var t=e.indexOf(":");return t==-1?{s:Hr(e),e:Hr(e)}:{s:Hr(e.slice(0,t)),e:Hr(e.slice(t+1))}}function Nr(e,t){return typeof t>"u"||typeof t=="number"?Nr(e.s,e.e):(typeof e!="string"&&(e=kt(e)),typeof t!="string"&&(t=kt(t)),e==t?e:e+":"+t)}function zt(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,s=0,i=e.length;for(r=0;n<i&&!((s=e.charCodeAt(n)-64)<1||s>26);++n)r=26*r+s;for(t.s.c=--r,r=0;n<i&&!((s=e.charCodeAt(n)-48)<0||s>9);++n)r=10*r+s;if(t.s.r=--r,n===i||s!=10)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=i&&!((s=e.charCodeAt(n)-64)<1||s>26);++n)r=26*r+s;for(t.e.c=--r,r=0;n!=i&&!((s=e.charCodeAt(n)-48)<0||s>9);++n)r=10*r+s;return t.e.r=--r,t}function Mj(e,t){var r=e.t=="d"&&t instanceof Date;if(e.z!=null)try{return e.w=So(e.z,r?zn(t):t)}catch{}try{return e.w=So((e.XF||{}).numFmtId||(r?14:0),r?zn(t):t)}catch{return""+t}}function mi(e,t,r){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),e.t=="e"?ph[e.v]||e.v:t==null?Mj(e,e.v):Mj(e,t))}function zl(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function c5(e,t,r){var n=r||{},s=e?Array.isArray(e):n.dense,i=e||(s?[]:{}),o=0,c=0;if(i&&n.origin!=null){if(typeof n.origin=="number")o=n.origin;else{var d=typeof n.origin=="string"?Hr(n.origin):n.origin;o=d.r,c=d.c}i["!ref"]||(i["!ref"]="A1:A1")}var u={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var h=zt(i["!ref"]);u.s.c=h.s.c,u.s.r=h.s.r,u.e.c=Math.max(u.e.c,h.e.c),u.e.r=Math.max(u.e.r,h.e.r),o==-1&&(u.e.r=o=h.e.r+1)}for(var m=0;m!=t.length;++m)if(t[m]){if(!Array.isArray(t[m]))throw new Error("aoa_to_sheet expects an array of arrays");for(var p=0;p!=t[m].length;++p)if(!(typeof t[m][p]>"u")){var x={v:t[m][p]},w=o+m,g=c+p;if(u.s.r>w&&(u.s.r=w),u.s.c>g&&(u.s.c=g),u.e.r<w&&(u.e.r=w),u.e.c<g&&(u.e.c=g),t[m][p]&&typeof t[m][p]=="object"&&!Array.isArray(t[m][p])&&!(t[m][p]instanceof Date))x=t[m][p];else if(Array.isArray(x.v)&&(x.f=t[m][p][1],x.v=x.v[0]),x.v===null)if(x.f)x.t="n";else if(n.nullError)x.t="e",x.v=0;else if(n.sheetStubs)x.t="z";else continue;else typeof x.v=="number"?x.t="n":typeof x.v=="boolean"?x.t="b":x.v instanceof Date?(x.z=n.dateNF||lr[14],n.cellDates?(x.t="d",x.w=So(x.z,zn(x.v))):(x.t="n",x.v=zn(x.v),x.w=So(x.z,x.v))):x.t="s";if(s)i[w]||(i[w]=[]),i[w][g]&&i[w][g].z&&(x.z=i[w][g].z),i[w][g]=x;else{var b=kt({c:g,r:w});i[b]&&i[b].z&&(x.z=i[b].z),i[b]=x}}}return u.s.c<1e7&&(i["!ref"]=Nr(u)),i}function QA(e,t){return c5(null,e,t)}function cse(e){return e.read_shift(4,"i")}function rs(e,t){return t||(t=ve(4)),t.write_shift(4,e),t}function xn(e){var t=e.read_shift(4);return t===0?"":e.read_shift(t,"dbcs")}function Vr(e,t){var r=!1;return t==null&&(r=!0,t=ve(4+2*e.length)),t.write_shift(4,e.length),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function Ase(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function dse(e,t){return t||(t=ve(4)),t.write_shift(2,0),t.write_shift(2,0),t}function hv(e,t){var r=e.l,n=e.read_shift(1),s=xn(e),i=[],o={t:s,h:s};if((n&1)!==0){for(var c=e.read_shift(4),d=0;d!=c;++d)i.push(Ase(e));o.r=i}else o.r=[{ich:0,ifnt:0}];return e.l=r+t,o}function use(e,t){var r=!1;return t==null&&(r=!0,t=ve(15+4*e.t.length)),t.write_shift(1,0),Vr(e.t,t),r?t.slice(0,t.l):t}var hse=hv;function fse(e,t){var r=!1;return t==null&&(r=!0,t=ve(23+4*e.t.length)),t.write_shift(1,1),Vr(e.t,t),t.write_shift(4,1),dse({},t),r?t.slice(0,t.l):t}function Pa(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function Jl(e,t){return t==null&&(t=ve(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function ql(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function $l(e,t){return t==null&&(t=ve(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var mse=xn,A5=Vr;function fv(e){var t=e.read_shift(4);return t===0||t===4294967295?"":e.read_shift(t,"dbcs")}function Dp(e,t){var r=!1;return t==null&&(r=!0,t=ve(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}var pse=xn,Fw=fv,mv=Dp;function d5(e){var t=e.slice(e.l,e.l+4),r=t[0]&1,n=t[0]&2;e.l+=4;var s=n===0?_p([0,0,0,0,t[0]&252,t[1],t[2],t[3]],0):ul(t,0)>>2;return r?s/100:s}function u5(e,t){t==null&&(t=ve(4));var r=0,n=0,s=e*100;
vendor: 10,253 bytes, line 892
892if(e==(e|0)&&e>=-536870912&&e<1<<29?n=1:s==(s|0)&&s>=-536870912&&s<1<<29&&(n=1,r=1),n)t.write_shift(-4,((r?s:e)<<2)+(r+2));else throw new Error("unsupported RkNumber "+e)}function h5(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}function gse(e,t){return t||(t=ve(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t}var Yl=h5,OA=gse;function HA(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Hl(e,t){return(t||ve(8)).write_shift(8,e,"f")}function xse(e){var t={},r=e.read_shift(1),n=r>>>1,s=e.read_shift(1),i=e.read_shift(2,"i"),o=e.read_shift(1),c=e.read_shift(1),d=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=s;var u=jse[s];u&&(t.rgb=$j(u));break;case 2:t.rgb=$j([o,c,d]);break;case 3:t.theme=s;break}return i!=0&&(t.tint=i>0?i/32767:i/32768),t}function Up(e,t){if(t||(t=ve(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;e.index!=null?(t.write_shift(1,2),t.write_shift(1,e.index)):e.theme!=null?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),!e.rgb||e.theme!=null)t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);else{var n=e.rgb||"FFFFFF";typeof n=="number"&&(n=("000000"+n.toString(16)).slice(-6)),t.write_shift(1,parseInt(n.slice(0,2),16)),t.write_shift(1,parseInt(n.slice(2,4),16)),t.write_shift(1,parseInt(n.slice(4,6),16)),t.write_shift(1,255)}return t}function yse(e){var t=e.read_shift(1);e.l++;var r={fBold:t&1,fItalic:t&2,fUnderline:t&4,fStrikeout:t&8,fOutline:t&16,fShadow:t&32,fCondense:t&64,fExtend:t&128};return r}function bse(e,t){t||(t=ve(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return t.write_shift(1,r),t.write_shift(1,0),t}var f5=2,aa=3,Nm=11,Ip=19,Fm=64,wse=65,vse=71,Cse=4108,Bse=4126,Yr=80,Qj={1:{n:"CodePage",t:f5},2:{n:"Category",t:Yr},3:{n:"PresentationFormat",t:Yr},4:{n:"ByteCount",t:aa},5:{n:"LineCount",t:aa},6:{n:"ParagraphCount",t:aa},7:{n:"SlideCount",t:aa},8:{n:"NoteCount",t:aa},9:{n:"HiddenCount",t:aa},10:{n:"MultimediaClipCount",t:aa},11:{n:"ScaleCrop",t:Nm},12:{n:"HeadingPairs",t:Cse},13:{n:"TitlesOfParts",t:Bse},14:{n:"Manager",t:Yr},15:{n:"Company",t:Yr},16:{n:"LinksUpToDate",t:Nm},17:{n:"CharacterCount",t:aa},19:{n:"SharedDoc",t:Nm},22:{n:"HyperlinksChanged",t:Nm},23:{n:"AppVersion",t:aa,p:"version"},24:{n:"DigSig",t:wse},26:{n:"ContentType",t:Yr},27:{n:"ContentStatus",t:Yr},28:{n:"Language",t:Yr},29:{n:"Version",t:Yr},255:{},2147483648:{n:"Locale",t:Ip},2147483651:{n:"Behavior",t:Ip},1919054434:{}},Oj={1:{n:"CodePage",t:f5},2:{n:"Title",t:Yr},3:{n:"Subject",t:Yr},4:{n:"Author",t:Yr},5:{n:"Keywords",t:Yr},6:{n:"Comments",t:Yr},7:{n:"Template",t:Yr},8:{n:"LastAuthor",t:Yr},9:{n:"RevNumber",t:Yr},10:{n:"EditTime",t:Fm},11:{n:"LastPrinted",t:Fm},12:{n:"CreatedDate",t:Fm},13:{n:"ModifiedDate",t:Fm},14:{n:"PageCount",t:aa},15:{n:"WordCount",t:aa},16:{n:"CharCount",t:aa},17:{n:"Thumbnail",t:vse},18:{n:"Application",t:Yr},19:{n:"DocSecurity",t:aa},255:{},2147483648:{n:"Locale",t:Ip},2147483651:{n:"Behavior",t:Ip},1919054434:{}};function Nse(e){return e.map(function(t){return[t>>16&255,t>>8&255,t&255]})}var Fse=Nse([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),jse=Jn(Fse),ph={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Sse={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},jm={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"}
892,comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function m5(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function p5(e,t){var r=Rae(Sse),n=[],s;n[n.length]=Fr,n[n.length]=Ie("Types",null,{xmlns:Or.CT,"xmlns:xsd":Or.xsd,"xmlns:xsi":Or.xsi}),n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["t
892if","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(d){return Ie("Default",null,{Extension:d[0],ContentType:d[1]})}));var i=function(d){e[d]&&e[d].length>0&&(s=e[d][0],n[n.length]=Ie("Override",null,{PartName:(s[0]=="/"?"":"/")+s,ContentType:jm[d][t.bookType]||jm[d].xlsx}))},o=function(d){(e[d]||[]).forEach(function(u){n[n.length]=Ie("Override",null,{PartName:(u[0]=="/"?"":"/")+u,ContentType:jm[d][t.bookType]||jm[d].xlsx})})},c=function(d){(e[d]||[]).forEach(function(u){n[n.length]=Ie("Override",null,{PartName:(u[0]=="/"?"":"/")+u,ContentType:r[d][0]})})};return i("workbooks"),o("sheets"),o("charts"),c("themes"),["strs","styles"].forEach(i),["coreprops","extprops","custprops"].forEach(c),c("vba"),c("comments"),c("threadedcomments"),c("drawings"),o("metadata"),c("people"),n.length>2&&(n[n.length]="</Types>",n[1]=n[1].replace("/>",">")),n.join("")}var yt={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROP
vendor: 5,621 bytes, lines 892-902
892S:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function g5(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function sA(e){var t=[Fr,Ie("Relationships",null,{xmlns:Or.RELS})];return on(e["!id"]).forEach(function(r){t[t.length]=Ie("Relationship",null,e["!id"][r])}),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function Et(e,t,r,n,s,i){if(s||(s={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,s.Id="rId"+t,s.Type=n,s.Target=r,[yt.HLINK,yt.XPATH,yt.XMISS].indexOf(s.Type)>-1&&(s.TargetMode="External"),e["!id"][s.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][s.Id]=s,e[("/"+s.Target).replace("//","/")]=s,t}function Ese(e){var t=[Fr];t.push(`<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2"> 893`),t.push(` <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/> 894`);for(var r=0;r<e.length;++r)t.push(' <manifest:file-entry manifest:full-path="'+e[r][0]+'" manifest:media-type="'+e[r][1]+`"/> 895`);return t.push("</manifest:manifest>"),t.join("")}function Hj(e,t,r){return[' <rdf:Description rdf:about="'+e+`"> 896`,' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+t+`"/> 897`,` </rdf:Description> 898`].join("")}function Tse(e,t){return[' <rdf:Description rdf:about="'+e+`"> 899`,' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+`"/> 900`,` </rdf:Description> 901`].join("")}function kse(e){var t=[Fr];t.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> 902`);for(var r=0;r!=e.length;++r)t.push(Hj(e[r][0],e[r][1])),t.push(Tse("",e[r][0]));return t.push(Hj("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}function x5(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+Fp.version+"</meta:generator></office:meta></office:document-meta>"}var Tl=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function Py(e,t,r,n,s){s[e]!=null||t==null||t===""||(s[e]=t,t=Tt(t),n[n.length]=r?Ie(e,t,r):en(e,t))}function y5(e,t){var r=t||{},n=[Fr,Ie("cp:coreProperties",null,{"xmlns:cp":Or.CORE_PROPS,"xmlns:dc":Or.dc,"xmlns:dcterms":Or.dcterms,"xmlns:dcmitype":Or.dcmitype,"xmlns:xsi":Or.xsi})],s={};if(!e&&!r.Props)return n.join("");e&&(e.CreatedDate!=null&&Py("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:Nw(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,s),e.ModifiedDate!=null&&Py("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:Nw(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,s));for(var i=0;i!=Tl.length;++i){var o=Tl[i],c=r.Props&&r.Props[o[1]]!=null?r.Props[o[1]]:e?e[o[1]]:null;c===!0?c="1":c===!1?c="0":typeof c=="number"&&(c=String(c)),c!=null&&Py(o[0],c,null,n,s)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var iA=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],b5=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function w5(e){var t=[],r=Ie;return e||(e={}),e.Application="SheetJS",t[t.length]=Fr,t[t.length]=Ie("Properties",null,{xmlns:Or.EXT_PROPS,"xmlns:vt":Or.vt}),iA.forEach(function(n){if(e[n[1]]!==void 0){var s;switch(n[2]){case"string":s=Tt(String(e[n[1]]));break;case"bool":s=e[n[1]]?"true":"false";break}s!==void 0&&(t[t.length]=r(n[0],s))}}),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","<vt:lpstr>
902Worksheets</vt:lpstr>")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map(function(n){return"<vt:lpstr>"+Tt(n)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}function v5(e){var t=[Fr,Ie("Properties",null,{xmlns:Or.CUST_PROPS,"xmlns:vt":Or.vt})];if(!e)return t.join("");var r=1;return on(e).forEach(function(s){++r,t[t.length]=Ie("property",qae(e[s]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:Tt(s)})}),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var Vj={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function _se(e,t){var r=[];return on(Vj).map(function(n){for(var s=0;s<Tl.length;++s)if(Tl[s][1]==n)return Tl[s];for(s=0;s<iA.length;++s)if(iA[s][1]==n)return iA[s];throw n}).forEach(function(n){if(e[n[1]]!=null){var s=t&&t.Props&&t.Props[n[1]]!=null?t.Props[n[1]]:e[n[1]];switch(n[2]){case"date":s=new Date(s).toISOString().replace(/\.\d*Z/,"Z");break}typeof s=="number"?s=String(s):s===!0||s===!1?s=s?"1":"0":s instanceof Date&&(s=new Date(s).toISOString().replace(/\.\d*Z/,"")),r.push(en(Vj[n[1]]||n[1],s))}}),Ie("DocumentProperties",r.join(""),{xmlns:oa.o})}function Dse(e,t){var r=["Worksheets","SheetNames"],n="CustomDocumentProperties",s=[];return e&&on(e).forEach(function(i){if(Object.prototype.hasOwnProperty.call(e,i)){for(var o=0;o<Tl.length;++o)if(i==Tl[o][1])return;for(o=0;o<iA.length;++o)if(i==iA[o][1])return;for(o=0;o<r.length;++o)if(i==r[o])return;var c=e[i],d="string";typeof c=="number"?(d="float",c=String(c)):c===!0||c===!1?(d="boolean",c=c?"1":"0"):c=String(c),s.push(Ie(Tj(i),c,{"dt:dt":d}))}}),t&&on(t).forEach(function(i){if(Object.prototype.hasOwnProperty.call(t,i)&&!(e&&Object.prototype.hasOwnProperty.call(e,i))){var o=t[i],c="string";typeof o=="number"?(c="float",o=String(o)):o===!0||o===!1?(c="boolean",o=o?"1":"0"):o instanceof Date?(c="dateTime.tz",o=o.toISOString()):o=String(o),s.push(Ie(Tj(i),o,{"dt:dt":c}))}}),"<"+n+' xmlns="'+oa.o+'">'+s.join("")+"</"+n+">"}function Use(e){var t=typeof e=="string"?new Date(Date.parse(e)):e,r=t.getTime()/1e3+11644473600,n=r%Math.pow(2,32),s=(r-n)/Math.pow(2,32);n*=1e7,s*=1e7;var i=n/Math.pow(2,32)|0;i>0&&(n=n%Math.pow(2,32),s+=i);var o=ve(8);return o.write_shift(4,n),o.write_shift(4,s),o}function Kj(e,t){var r=ve(4),n=ve(4);switch(r.write_shift(4,e==80?31:e),e){case 3:n.write_shift(-4,t);break;case 5:n=ve(8),n.write_shift(8,t,"f");break;case 11:n.write_shift(4,t?1:0);break;case 64:n=Use(t);break;case 31:case 80:for(n=ve(4+2*(t.length+1)+(t.length%2?0:2)),n.write_shift(4,t.length+1),n.write_shift(0,t,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return Zr([r,n])}var C5=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Ise(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function Gj(e,t,r){var n=ve(8),s=[],i=[],o=8,c=0,d=ve(8),u=ve(8);if(d.write_shift(4,2),d.write_shift(4,1200),u.write_shift(4,1),i.push(d),s.push(u),o+=8+d.length,!t){u=ve(8),u.write_shift(4,0),s.unshift(u);var h=[ve(4)];for(h[0].write_shift(4,e.length),c=0;c<e.length;++c){var m=e[c][0];for(d=ve(8+2*(m.length+1)+(m.length%2?0:2)),d.write_shift(4,c+2),d.write_shift(4,m.length+1),d.write_shift(0,m,"dbcs");d.l!=d.length;)d.write_shift(1,0);h.push(d)}d=Zr(h),i.unshift(d),o+=8+d.length}for(c=0;c<e.length;++c)if(!(t&&!t[e[c][0]])&&!(C5.indexOf(e[c][0])>-1||b5.indexOf(e[c][0])>-1)&&e[c][1]!=null){var p=e[c][1],x=0;if(t){x=+t[e[c][0]];var w=r[x];if(w.p=="version"&&typeof p=="string"){var g=p.split(".");p=(+g[0]<<16)+(+g[1]||0)}d=Kj(w.t,p)}else{var b=Ise(p);b==-1&&(b=31,p=String(p)),d=Kj(b,p)}i.push(d),u=ve(8),u.write_shift(4,t?x:2+c),s.push(u),o+=8+d.length}var v=8*(i.length+1);for(c=0;c<i.length;++c)s[c].write_shift(4,v),v+=i[c].length;return n.write_shift(4,o),n.write_shift(4,i.length),Zr([n].concat(s).concat(i))}function Wj(e,t,r,n,s,i){var o=ve(s?68:48),c=[o];o.write_shift(2,65534),o.write_shift(2,0),o.write_shift(4,842412599),o.write_shift(16,Dt.utils.consts.HEADER_CLSID,"hex"),o.write_shift(4,s?2:1),o.write_shift(16,t,"hex"),o.write_shift(4,s?68:48);var d=Gj(e,r,n);if(c.push(d),s){var u=Gj(s,null,null);o.write_shift(16,i,"hex"),o.write_shift(4,68+d.length),c.push(u)}return Zr(c)}function Lse(e,t){t||(t=ve(e));for(var r=0;r<e;++r)t.write_shift(1,0);return t}function Pse(e,t){return e.read_shift(t)===1}function Fn(e,t){return t||(t=ve(2)),t.write_shift(2,+!!e),t}function B5(e){return e.read_shift(2,"u")}function Ea(e,t){return t||(t=ve(2)),t.write_shift(2,e),t}function N5(e,t,r){return r||(r=ve(2)),r.write_shift(1,t=="e"?+e:+!!e),r.write_shift(1,t=="e"?1:0),r}function F5(e,t,r){var n=e.read_shift(r&&r.biff>=12?2:1),s="sbcs-cont";if(r&&r.biff>=8,!r||r.biff==8){var i=e.read_shift(1);i&&(s="dbcs-cont")}else r.biff==12&&(s="wstr");r.biff>=2&&r.biff<=5&&(s="cpstr");var o=n?e.read_shift(n,s):"";return o}function Rse(e){var t=e.t||"",r=ve(3);r.write_shift(2,t.length),r.write_shift(1,1);var n=ve(2*t.length);n.write_shift(2*t.length,t,"utf16le");var s=[r,n];return Zr(s)}function Mse(e,t,r){var n;if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}var s=e.read_shift(1);return s===0?n=e.read_shift(t,"sbcs-cont"):n=e.read_shift(t,"dbcs-cont"),n}function Qse(e,t,r){var n=e.read_shift(r&&r.biff==2?1:2);return n===0?(e.l++,""):Mse(e,n,r)}function Ose(e,t,r){if(r.biff>5)return Qse(e,t,r);var n=e.read_shift(1);return n===0?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function j5(e,t,r){return r||(r=ve(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function zj(e,t){t||(t=ve(6+e.length*2)),t.write_shift(4,1+e.length);for(var r=0;r<e.length;++r)t.write_shift(2,e.charCodeAt(r));return t.write_shift(2,0),t}function Hse(e){var t=ve(512),r=0,n=e.Target;n.slice(0,7)=="file://"&&(n=n.slice(7));var s=n.indexOf("#"),i=s>-1?31:23;switch(n.charAt(0)){case"#":i=28;break;case".":i&=-3;break}t.write_shift(4,2),t.write_shift(4,i);var o=[8,6815827,6619237,4849780,83];for(r=0;r<o.length;++r)t.write_shift(4,o[r]);if(i==28)n=n.slice(1),zj(n,t);else if(i&2){for(o="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<o.length;++r)t.write_shift(1,parseInt(o[r],16));var c=s>-1?n.slice(0,s):n;for(t.write_shift(4,2*(c.length+1)),r=0;r<c.length;
vendor: 1,955 bytes, line 902
902++r)t.write_shift(2,c.charCodeAt(r));t.write_shift(2,0),i&8&&zj(s>-1?n.slice(s+1):"",t)}else{for(o="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r<o.length;++r)t.write_shift(1,parseInt(o[r],16));for(var d=0;n.slice(d*3,d*3+3)=="../"||n.slice(d*3,d*3+3)=="..\\";)++d;for(t.write_shift(2,d),t.write_shift(4,n.length-3*d+1),r=0;r<n.length-3*d;++r)t.write_shift(1,n.charCodeAt(r+3*d)&255);for(t.write_shift(1,0),t.write_shift(2,65535),t.write_shift(2,57005),r=0;r<6;++r)t.write_shift(4,0)}return t.slice(0,t.l)}function Vl(e,t,r,n){return n||(n=ve(6)),n.write_shift(2,e),n.write_shift(2,t),n.write_shift(2,r||0),n}function Vse(e,t,r){var n=r.biff>8?4:2,s=e.read_shift(n),i=e.read_shift(n,"i"),o=e.read_shift(n,"i");return[s,i,o]}function Kse(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),s=e.read_shift(2);return{s:{c:n,r:t},e:{c:s,r}}}function S5(e,t){return t||(t=ve(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function pv(e,t,r){var n=1536,s=16;switch(r.bookType){case"biff8":break;case"biff5":n=1280,s=8;break;case"biff4":n=4,s=6;break;case"biff3":n=3,s=6;break;case"biff2":n=2,s=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var i=ve(s);return i.write_shift(2,n),i.write_shift(2,t),s>4&&i.write_shift(2,29282),s>6&&i.write_shift(2,1997),s>8&&(i.write_shift(2,49161),i.write_shift(2,1),i.write_shift(2,1798),i.write_shift(2,0)),i}function Gse(e,t){var r=!t||t.biff==8,n=ve(r?112:54);for(n.write_shift(t.biff==8?2:1,7),r&&n.write_shift(1,0),n.write_shift(4,859007059),n.write_shift(4,5458548|(r?0:536870912));n.l<n.length;)n.write_shift(1,r?0:32);return n}function Wse(e,t){var r=!t||t.biff>=8?2:1,n=ve(8+r*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),t.biff>=8&&n.write_shift(1,1),n.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var s=n.slice(0,n.l);
vendor: 10,928 bytes, line 902
902return s.l=n.l,s}function zse(e,t){var r=ve(8);r.write_shift(4,e.Count),r.write_shift(4,e.Unique);for(var n=[],s=0;s<e.length;++s)n[s]=Rse(e[s]);var i=Zr([r].concat(n));return i.parts=[r.length].concat(n.map(function(o){return o.length})),i}function Jse(){var e=ve(18);return e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,29280),e.write_shift(2,17600),e.write_shift(2,56),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,1),e.write_shift(2,500),e}function qse(e){var t=ve(18),r=1718;return e&&e.RTL&&(r|=64),t.write_shift(2,r),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}function $se(e,t){var r=e.name||"Arial",n=t&&t.biff==5,s=n?15+r.length:16+2*r.length,i=ve(s);return i.write_shift(2,e.sz*20),i.write_shift(4,0),i.write_shift(2,400),i.write_shift(4,0),i.write_shift(2,0),i.write_shift(1,r.length),n||i.write_shift(1,1),i.write_shift((n?1:2)*r.length,r,n?"sbcs":"utf16le"),i}function Yse(e,t,r,n){var s=ve(10);return Vl(e,t,n,s),s.write_shift(4,r),s}function Xse(e,t,r,n,s){var i=!s||s.biff==8,o=ve(8+ +i+(1+i)*r.length);return Vl(e,t,n,o),o.write_shift(2,r.length),i&&o.write_shift(1,1),o.write_shift((1+i)*r.length,r,i?"utf16le":"sbcs"),o}function Zse(e,t,r,n){var s=r&&r.biff==5;n||(n=ve(s?3+t.length:5+2*t.length)),n.write_shift(2,e),n.write_shift(s?1:2,t.length),s||n.write_shift(1,1),n.write_shift((s?1:2)*t.length,t,s?"sbcs":"utf16le");var i=n.length>n.l?n.slice(0,n.l):n;return i.l==null&&(i.l=i.length),i}function eie(e,t){var r=t.biff==8||!t.biff?4:2,n=ve(2*r+6);return n.write_shift(r,e.s.r),n.write_shift(r,e.e.r+1),n.write_shift(2,e.s.c),n.write_shift(2,e.e.c+1),n.write_shift(2,0),n}function Jj(e,t,r,n){var s=r&&r.biff==5;n||(n=ve(s?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,t<<4));var i=0;return e.numFmtId>0&&s&&(i|=1024),n.write_shift(4,i),n.write_shift(4,0),s||n.write_shift(4,0),n.write_shift(2,0),n}function tie(e){var t=ve(8);return t.write_shift(4,0),t.write_shift(2,0),t.write_shift(2,0),t}function rie(e,t,r,n,s,i){var o=ve(8);return Vl(e,t,n,o),N5(r,i,o),o}function nie(e,t,r,n){var s=ve(14);return Vl(e,t,n,s),Hl(r,s),s}function aie(e,t,r){if(r.biff<8)return sie(e,t,r);for(var n=[],s=e.l+t,i=e.read_shift(r.biff>8?4:2);i--!==0;)n.push(Vse(e,r.biff>8?12:6,r));if(e.l!=s)throw new Error("Bad ExternSheet: "+e.l+" != "+s);return n}function sie(e,t,r){e[e.l+1]==3&&e[e.l]++;var n=F5(e,t,r);return n.charCodeAt(0)==3?n.slice(1):n}function iie(e){var t=ve(2+e.length*8);t.write_shift(2,e.length);for(var r=0;r<e.length;++r)S5(e[r],t);return t}function oie(e){var t=ve(24),r=Hr(e[0]);t.write_shift(2,r.r),t.write_shift(2,r.r),t.write_shift(2,r.c),t.write_shift(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),s=0;s<16;++s)t.write_shift(1,parseInt(n[s],16));return Zr([t,Hse(e[1])])}function lie(e){var t=e[1].Tooltip,r=ve(10+2*(t.length+1));r.write_shift(2,2048);var n=Hr(e[0]);r.write_shift(2,n.r),r.write_shift(2,n.r),r.write_shift(2,n.c),r.write_shift(2,n.c);for(var s=0;s<t.length;++s)r.write_shift(2,t.charCodeAt(s));return r.write_shift(2,0),r}function cie(e){return e||(e=ve(4)),e.write_shift(2,1),e.write_shift(2,1),e}function Aie(e,t,r){if(!r.cellStyles)return Ts(e,t);var n=r&&r.biff>=12?4:2,s=e.read_shift(n),i=e.read_shift(n),o=e.read_shift(n),c=e.read_shift(n),d=e.read_shift(2);n==2&&(e.l+=2);var u={s,e:i,w:o,ixfe:c,flags:d};return(r.biff>=5||!r.biff)&&(u.level=d>>8&7),u}function die(e,t){var r=ve(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,e.width*256),r.write_shift(2,0);var n=0;return e.hidden&&(n|=1),r.write_shift(1,n),n=e.level||0,r.write_shift(1,n),r.write_shift(2,0),r}function uie(e){for(var t=ve(2*e),r=0;r<e;++r)t.write_shift(2,r+1);return t}function hie(e,t,r){var n=ve(15);return xh(n,e,t),n.write_shift(8,r,"f"),n}function fie(e,t,r){var n=ve(9);return xh(n,e,t),n.write_shift(2,r),n}var mie=(function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=sv({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function r(c,d){var u=[],h=Ol(1);switch(d.type){case"base64":h=Xa(fi(c));break;case"binary":h=Xa(c);break;case"buffer":case"array":h=c;break}sa(h,0);var m=h.read_shift(1),p=!!(m&136),x=!1,w=!1;switch(m){case 2:break;case 3:break;case 48:x=!0,p=!0;break;case 49:x=!0,p=!0;break;case 131:break;case 139:break;case 140:w=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+m.toString(16))}var g=0,b=521;m==2&&(g=h.read_shift(2)),h.l+=3,m!=2&&(g=h.read_shift(4)),g>1048576&&(g=1e6),m!=2&&(b=h.read_shift(2));var v=h.read_shift(2),N=d.codepage||1252;m!=2&&(h.l+=16,h.read_shift(1),h[h.l]!==0&&(N=e[h[h.l]]),h.l+=1,h.l+=2),w&&(h.l+=36);for(var F=[],S={},E=Math.min(h.length,m==2?521:b-10-(x?264:0)),D=w?32:11;h.l<E&&h[h.l]!=13;)switch(S={},S.name=jp.utils.decode(N,h.slice(h.l,h.l+D)).replace(/[\u0000\r\n].*$/g,""),h.l+=D,S.type=String.fromCharCode(h.read_shift(1)),m!=2&&!w&&(S.offset=h.read_shift(4)),S.len=h.read_shift(1),m==2&&(S.offset=h.read_shift(2)),S.dec=h.read_shift(1),S.name.length&&F.push(S),m!=2&&(h.l+=w?13:14),S.type){case"B":(!x||S.len!=8)&&d.WTF&&console.log("Skipping "+S.name+":"+S.type);break;case"G":case"P":d.WTF&&console.log("Skipping "+S.name+":"+S.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+S.type)}if(h[h.l]!==13&&(h.l=b-1),h.read_shift(1)!==13)throw new Error("DBF Terminator not found "+h.l+" "+h[h.l]);h.l=b;var T=0,k=0;for(u[0]=[],k=0;k!=F.length;++k)u[0][k]=F[k].name;for(;g-- >0;){if(h[h.l]===42){h.l+=v;continue}for(++h.l,u[++T]=[],k=0,k=0;k!=F.length;++k){var I=h.slice(h.l,h.l+F[k].len);h.l+=F[k].len,sa(I,0);var Y=jp.utils.decode(N,I);switch(F[k].type){case"C":Y.trim().length&&(u[T][k]=Y.replace(/\s+$/,""));break;case"D":Y.length===8?u[T][k]=new Date(+Y.slice(0,4),+Y.slice(4,6)-1,+Y.slice(6,8)):u[T][k]=Y;break;case"F":u[T][k]=parseFloat(Y.trim());break;case"+":case"I":u[T][k]=w?I.read_shift(-4,"i")^2147483648:I.read_shift(4,"i");break;case"L":switch(Y.trim().toUpperCase()){case"Y":case"T":u[T][k]=!0;break;case"N":case"F":u[T][k]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+Y+"|")}break;case"M":if(!p)throw new Error("DBF Unexpected MEMO for type "+m.toString(16));u[T][k]="##MEMO##"+(w?parseInt(Y.trim(),10):I.read_shift(4));break;case"N":Y=Y.replace(/\u0000/g,"").trim(),Y&&Y!="."&&(u[T][k]=+Y||0);break;case"@":u[T][k]=new Date(I.read_shift(-8,"f")-621356832e5);break;case"T":u[T][k]=new Date((I.read_shift(4)-2440588)*864e5+I.read_shift(4));break;case"Y":u[T][k]=I.read_shift(4,"i")/1e4+I.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":u[T][k]=-I.read_shift(-8,"f");break;case"B":if(x&&F[k].len==8){u[T][k]=I.read_shift(8,"f");break}case"G":case"P":I.l+=F[k].len;break;case"0":if(F[k].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+F[k].type)}}}if(m!=2&&h.l<h.length&&h[h.l++]!=26)throw new Error("DBF EOF Marker missing "+(h.l-1)+" of "+h.length+" "+h[h.l-1].toString(16));return d&&d.sheetRows&&(u=u.slice(0,d.sheetRows)),d.DBF=F,u}function n(c,d){var u=d||{};u.dateNF||(u.dateNF="yyyymmdd");var h=QA(r(c,u),u);return h["!cols"]=u.DBF.map(function(m){return{wch:m.len,DBF:m}}),delete u.DBF,h}function s(c,d){try{return zl(n(c,d),d)}catch(u){if(d&&d.WTF)throw u}return{SheetNames:[],Sheets:{}}}var i={B:8,C:250,L:1,D:8,"?":0,"":0};function o(c,d){var u=d||{};if(+u.codepage>=0&&Ru(+u.codepage),u.type=="string")throw new Error("Cannot write DBF to JS string");var h=Vn(),m=Qp(c,{header:1,raw:!0,cellDates:!0}),p=m[0],x=m.slice(1),w=c["!cols"]||[],g=0,b=0,v=0,N=1;for(g=0;g<p.length;++g){if(((w[g]||{}).DBF||{}).name){p[g]=w[g].DBF.name,++v;continue}if(p[g]!=null){if(++v,typeof p[g]=="number"&&(p[g]=p[g].toString(10)),typeof p[g]!="string")throw new Error("DBF Invalid column name "+p[g]+" |"+typeof p[g]+"|");if(p.indexOf(p[g])!==g){for(b=0;b<1024;++b)if(p.indexOf(p[g]+"_"+b)==-1){p[g]+="_"+b;break}}}}var F=zt(c["!ref"]),S=[],E=[],D=[];for(g=0;g<=F.e.c-F.s.c;++g){var T="",k="",I=0,Y=[];for(b=0;b<x.length;++b)x[b][g]!=null&&Y.push(x[b][g]);if(Y.length==0||p[g]==null){S[g]="?";continue}for(b=0;b<Y.length;++b){switch(typeof Y[b]){case"number":k="B";break;case"string":k="C";break;case"boolean":k="L";break;case"object":k=Y[b]instanceof Date?"D":"C";break;default:k="C"}I=Math.max(I,String(Y[b]).length),T=T&&T!=k?"C":k}I>250&&(I=250),k=((w[g]||{}).DBF||{}).type,k=="C"&&w[g].DBF.len>I&&(I=w[g].DBF.len),T=="B"&&k=="N"&&(T="N",D[g]=w[g].DBF.dec,I=w[g].DBF.len),E[g]=T=="C"||k=="N"?I:i[T]||0,N+=E[g],S[g]=T}var ee=h.next(32);for(ee.write_shift(4,318902576),ee.write_shift(4,x.length),ee.write_shift(2,296+32*v),ee.write_shift(2,N),g=0;g<4;++g)ee.write_shift(4,0);for(ee.write_shift(4,0|(+t[T_]||3)<<8),g=0,b=0;g<p.length;++g)if(p[g]!=null){var ie=h.next(32),W=(p[g].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);ie.write_shift(1,W,"sbcs"),ie.write_shift(1,S[g]=="?"?"C":S[g],"sbcs"),ie.write_shift(4,b),ie.write_shift(1,E[g]||i[S[g]]||0),ie.write_shift(1,D[g]||0),ie.write_shift(1,2),ie.write_shift(4,0),ie.write_shift(1,0),ie.write_shift(4,0),ie.write_shift(4,0),b+=E[g]||i[S[g]]||0}var ce=h.next(264);for(ce.write_shift(4,13),g=0;g<65;++g)ce.write_shift(4,0);for(g=0;g<x.length;++g){var we=h.next(N);for(we.write_shift(1,0),b=0;b<p.length;++b)if(p[b]!=null)switch(S[b]){case"L":we.write_shift(1,x[g][b]==null?63:x[g][b]?84:70);break;case"B":we.write_shift(8,x[g][b]||0,"f");break;case"N":var ne="0";for(typeof x[g][b]=="number"&&(ne=x[g][b].toFixed(D[b]||0)),v=0;v<E[b]-ne.length;++v)we.write_shift(1,32);we.write_shift(1,ne,"sbcs");break;case"D":x[g][b]?(we.write_shift(4,("0000"+x[g][b].getFullYear()).slice(-4),"sbcs"),we.write_shift(2,("00"+(x[g][b].getMonth()+1)).slice(-2),"sbcs"),we.write_shift(2,("00"+x[g][b].getDate()).slice(-2),"sbcs")):we.write_shift(8,"00000000","sbcs");break;case"C":var re=String(x[g][b]!=null?x[g][b]:"").slice(0,E[b]);for(we.write_shift(1,re,"sbcs"),v=0;v<E[b]-re.length;++v)we.write_shift(1,32);break}}return h.next(1).write_shift(1,26),h.end()}return{to_workbook:s,to_sheet:n,from_sheet:o}})(),pie=(function(){var e={AA:"Ã",BA:"Ã",CA:"Ã",DA:195,HA:"Ã",JA:197,AE:"Ã",BE:"Ã",CE:"Ã",HE:"Ã",AI:"Ã",BI:"Ã",C
902I:"Ã",HI:"Ã",AO:"Ã",BO:"Ã",CO:"Ã",DO:213,HO:"Ã",AU:"Ã",BU:"Ã",CU:"Ã",HU:"Ã",Aa:"à ",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"Ã",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ã",Kc:"ç",q:"æ",z:"Å",a:"Ã",j:"Å",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},t=new RegExp("\x1BN("+on(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(p,x){var w=e[x];return typeof w=="number"?xj(w):w},n=function(p,x,w){var g=x.charCodeAt(0)-32<<4|w.charCodeAt(0)-48;return g==59?p:xj(g)};e["|"]=254;function s(p,x){switch(x.type){case"base64":return i(fi(p),x);case"binary":return i(p,x);case"buffer":return i(wt&&Buffer.isBuffer(p)?p.toString("binary"):hh(p),x);case"array":return i(k0(p),x)}throw new Error("Unrecognized type "+x.type)}function i(p,x){var w=p.split(/[\n\r]+/),g=-1,b=-1,v=0,N=0,F=[],S=[],E=null,D={},T=[],k=[],I=[],Y=0,ee;
vendor: 5,642 bytes, lines 902-905
902for(+x.codepage>=0&&Ru(+x.codepage);v!==w.length;++v){Y=0;var ie=w[v].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),W=ie.replace(/;;/g,"\0").split(";").map(function(O){return O.replace(/\u0000/g,";")}),ce=W[0],we;if(ie.length>0)switch(ce){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":W[1].charAt(0)=="P"&&S.push(ie.slice(3).replace(/;;/g,";"));break;case"C":var ne=!1,re=!1,X=!1,de=!1,ae=-1,q=-1;for(N=1;N<W.length;++N)switch(W[N].charAt(0)){case"A":break;case"X":b=parseInt(W[N].slice(1))-1,re=!0;break;case"Y":for(g=parseInt(W[N].slice(1))-1,re||(b=0),ee=F.length;ee<=g;++ee)F[ee]=[];break;case"K":we=W[N].slice(1),we.charAt(0)==='"'?we=we.slice(1,we.length-1):we==="TRUE"?we=!0:we==="FALSE"?we=!1:isNaN(si(we))?isNaN(Qu(we).getDate())||(we=kn(we)):(we=si(we),E!==null&&H_(E)&&(we=W_(we))),ne=!0;break;case"E":de=!0;var L=foe(W[N].slice(1),{r:g,c:b});F[g][b]=[F[g][b],L];break;case"S":X=!0,F[g][b]=[F[g][b],"S5S"];break;case"G":break;case"R":ae=parseInt(W[N].slice(1))-1;break;case"C":q=parseInt(W[N].slice(1))-1;break;default:if(x&&x.WTF)throw new Error("SYLK bad record "+ie)}if(ne&&(F[g][b]&&F[g][b].length==2?F[g][b][0]=we:F[g][b]=we,E=null),X){if(de)throw new Error("SYLK shared formula cannot have own formula");var J=ae>-1&&F[ae][q];if(!J||!J[1])throw new Error("SYLK shared formula cannot find base");F[g][b][1]=moe(J[1],{r:g-ae,c:b-q})}break;case"F":var Q=0;for(N=1;N<W.length;++N)switch(W[N].charAt(0)){case"X":b=parseInt(W[N].slice(1))-1,++Q;break;case"Y":for(g=parseInt(W[N].slice(1))-1,ee=F.length;ee<=g;++ee)F[ee]=[];break;case"M":Y=parseInt(W[N].slice(1))/20;break;case"F":break;case"G":break;case"P":E=S[parseInt(W[N].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":for(I=W[N].slice(1).split(" "),ee=parseInt(I[0],10);ee<=parseInt(I[1],10);++ee)Y=parseInt(I[2],10),k[ee-1]=Y===0?{hidden:!0}:{wch:Y},gv(k[ee-1]);break;case"C":b=parseInt(W[N].slice(1))-1,k[b]||(k[b]={});break;case"R":g=parseInt(W[N].slice(1))-1,T[g]||(T[g]={}),Y>0?(T[g].hpt=Y,T[g].hpx=D5(Y)):Y===0&&(T[g].hidden=!0);break;default:if(x&&x.WTF)throw new Error("SYLK bad record "+ie)}Q<1&&(E=null);break;default:if(x&&x.WTF)throw new Error("SYLK bad record "+ie)}}return T.length>0&&(D["!rows"]=T),k.length>0&&(D["!cols"]=k),x&&x.sheetRows&&(F=F.slice(0,x.sheetRows)),[F,D]}function o(p,x){var w=s(p,x),g=w[0],b=w[1],v=QA(g,x);return on(b).forEach(function(N){v[N]=b[N]}),v}function c(p,x){return zl(o(p,x),x)}function d(p,x,w,g){var b="C;Y"+(w+1)+";X"+(g+1)+";K";switch(p.t){case"n":b+=p.v||0,p.f&&!p.F&&(b+=";E"+yv(p.f,{r:w,c:g}));break;case"b":b+=p.v?"TRUE":"FALSE";break;case"e":b+=p.w||p.v;break;case"d":b+='"'+(p.w||p.v)+'"';break;case"s":b+='"'+p.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return b}function u(p,x){x.forEach(function(w,g){var b="F;W"+(g+1)+" "+(g+1)+" ";w.hidden?b+="0":(typeof w.width=="number"&&!w.wpx&&(w.wpx=Lp(w.width)),typeof w.wpx=="number"&&!w.wch&&(w.wch=Pp(w.wpx)),typeof w.wch=="number"&&(b+=Math.round(w.wch))),b.charAt(b.length-1)!=" "&&p.push(b)})}function h(p,x){x.forEach(function(w,g){var b="F;";w.hidden?b+="M0;":w.hpt?b+="M"+20*w.hpt+";":w.hpx&&(b+="M"+20*Rp(w.hpx)+";"),b.length>2&&p.push(b+"R"+(g+1))})}function m(p,x){var w=["ID;PWXL;N;E"],g=[],b=zt(p["!ref"]),v,N=Array.isArray(p),F=`\r 903`;w.push("P;PGeneral"),w.push("F;P0;DG0G8;M255"),p["!cols"]&&u(w,p["!cols"]),p["!rows"]&&h(w,p["!rows"]),w.push("B;Y"+(b.e.r-b.s.r+1)+";X"+(b.e.c-b.s.c+1)+";D"+[b.s.c,b.s.r,b.e.c,b.e.r].join(" "));for(var S=b.s.r;S<=b.e.r;++S)for(var E=b.s.c;E<=b.e.c;++E){var D=kt({r:S,c:E});v=N?(p[S]||[])[E]:p[D],!(!v||v.v==null&&(!v.f||v.F))&&g.push(d(v,p,S,E))}return w.join(F)+F+g.join(F)+F+"E"+F}return{to_workbook:c,to_sheet:o,from_sheet:m}})(),gie=(function(){function e(i,o){switch(o.type){case"base64":return t(fi(i),o);case"binary":return t(i,o);case"buffer":return t(wt&&Buffer.isBuffer(i)?i.toString("binary"):hh(i),o);case"array":return t(k0(i),o)}throw new Error("Unrecognized type "+o.type)}function t(i,o){for(var c=i.split(` 904`),d=-1,u=-1,h=0,m=[];h!==c.length;++h){if(c[h].trim()==="BOT"){m[++d]=[],u=0;continue}if(!(d<0)){var p=c[h].trim().split(","),x=p[0],w=p[1];++h;for(var g=c[h]||"";(g.match(/["]/g)||[]).length&1&&h<c.length-1;)g+=` 905`+c[++h];switch(g=g.trim(),+x){case-1:if(g==="BOT"){m[++d]=[],u=0;continue}else if(g!=="EOD")throw new Error("Unrecognized DIF special command "+g);break;case 0:g==="TRUE"?m[d][u]=!0:g==="FALSE"?m[d][u]=!1:isNaN(si(w))?isNaN(Qu(w).getDate())?m[d][u]=w:m[d][u]=kn(w):m[d][u]=si(w),++u;break;case 1:g=g.slice(1,g.length-1),g=g.replace(/""/g,'"'),g&&g.match(/^=".*"$/)&&(g=g.slice(2,-1)),m[d][u++]=g!==""?g:null;break}if(g==="EOD")break}}return o&&o.sheetRows&&(m=m.slice(0,o.sheetRows)),m}function r(i,o){return QA(e(i,o),o)}function n(i,o){return zl(r(i,o),o)}var s=(function(){var i=function(d,u,h,m,p){d.push(u),d.push(h+","+m),d.push('"'+p.replace(/"/g,'""')+'"')},o=function(d,u,h,m){d.push(u+","+h),d.push(u==1?'"'+m.replace(/"/g,'""')+'"':m)};return function(d){var u=[],h=zt(d["!ref"]),m,p=Array.isArray(d);i(u,"TABLE",0,1,"sheetjs"),i(u,"VECTORS",0,h.e.r-h.s.r+1,""),i(u,"TUPLES",0,h.e.c-h.s.c+1,""),i(u,"DATA",0,0,"");for(var x=h.s.r;x<=h.e.r;++x){o(u,-1,0,"BOT");for(var w=h.s.c;w<=h.e.c;++w){var g=kt({r:x,c:w});if(m=p?(d[x]||[])[w]:d[g],!m){o(u,1,0,"");continue}switch(m.t){case"n":var b=m.w;!b&&m.v!=null&&(b=m.v),b==null?m.f&&!m.F?o(u,1,0,"="+m.f):o(u,1,0,""):o(u,0,b,"V");break;case"b":o(u,0,m.v?1:0,m.v?"TRUE":"FALSE");break;case"s":o(u,1,0,isNaN(m.v)?m.v:'="'+m.v+'"');break;case"d":m.w||(m.w=So(m.z||lr[14],zn(kn(m.v)))),o(u,0,m.w,"V");break;default:o(u,1,0,"")}}}o(u,-1,0,"EOD");var v=`\r
906`,N=u.join(v);return N}})();return{to_workbook:n,to_sheet:r,from_sheet:s}})(),E5=(function(){function e(m){return m.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,` 907`)}function t(m){return m.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(m,p){for(var x=m.split(` 908`),w=-1,g=-1,b=0,v=[];b!==x.length;++b){var N=x[b].trim().split(":");if(N[0]==="cell"){var F=Hr(N[1]);if(v.length<=F.r)for(w=v.length;w<=F.r;++w)v[w]||(v[w]=[]);switch(w=F.r,g=F.c,N[2]){case"t":v[w][g]=e(N[3]);break;case"v":v[w][g]=+N[3];break;case"vtf":var S=N[N.length-1];case"vtc":switch(N[3]){case"nl":v[w][g]=!!+N[4];break;default:v[w][g]=+N[4];break}N[2]=="vtf"&&(v[w][g]=[v[w][g],S])}}}return p&&p.sheetRows&&(v=v.slice(0,p.sheetRows)),v}function n(m,p){return QA(r(m,p),p)}function s(m,p){return zl(n(m,p),p)}var i=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join(` 909`),o=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join(` 910`)+` 911`,c=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(` 912`),d="--SocialCalcSpreadsheetControlSave--";function u(m){if(!m||!m["!ref"])return"";for(var p=[],x=[],w,g="",b=ha(m["!ref"]),v=Array.isArray(m),N=b.s.r;N<=b.e.r;++N)for(var F=b.s.c;F<=b.e.c;++F)if(g=kt({r:N,c:F}),w=v?(m[N]||[])[F]:m[g],!(!w||w.v==null||w.t==="z")){switch(x=["cell",g,"t"],w.t){case"s":case"str":x.push(t(w.v));break;case"n":w.f?(x[2]="vtf",x[3]="n",x[4]=w.v,x[5]=t(w.f)):(x[2]="v",x[3]=w.v);break;case"b":x[2]="vt"+(w.f?"f":"c"),x[3]="nl",x[4]=w.v?"1":"0",x[5]=t(w.f||(w.v?"TRUE":"FALSE"));break;case"d":var S=zn(kn(w.v));x[2]="vtc",x[3]="nd",x[4]=""+S,x[5]=w.w||So(w.z||lr[14],S);break;case"e":continue}p.push(x.join(":"))}return p.push("sheet:c:"+(b.e.c-b.s.c+1)+":r:"+(b.e.r-b.s.r+1)+":tvf:1"),p.push("valueformat:1:text-wiki"),p.join(` 913`)}function h(m){return[i,o,c,o,u(m),d].join(` 914`)}return{to_workbook:s,to_sheet:n,from_sheet:h}})(),xie=(function(){function e(h,m,p,x,w){w.raw?m[p][x]=h:h===""||(h==="TRUE"?m[p][x]=!0:h==="FALSE"?m[p][x]=!1:isNaN(si(h))?isNaN(Qu(h).getDate())?m[p][x]=h:m[p][x]=kn(h):m[p][x]=si(h))}function t(h,m){var p=m||{},x=[];if(!h||h.length===0)return x;for(var w=h.split(/[\r\n]/),g=w.length-1;g>=0&&w[g].length===0;)--g;for(var b=10,v=0,N=0;N<=g;++N)v=w[N].indexOf(" "),v==-1?v=w[N].length:v++,b=Math.max(b,v);for(N=0;N<=g;++N){x[N]=[];var F=0;for(e(w[N].slice(0,b).trim(),x,N,F,p),F=1;F<=(w[N].length-b)/10+1;++F)e(w[N].slice(b+(F-1)*10,b+F*10).trim(),x,N,F,p)}return p.sheetRows&&(x=x.slice(0,p.sheetRows)),x}var r={44:",",9:" ",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function s(h){for(var m={},p=!1,x=0,w=0;x<h.length;++x)(w=h.charCodeAt(x))==34?p=!p:!p&&w in r&&(m[w]=(m[w]||0)+1);w=[];for(x in m)Object.prototype.hasOwnProperty.call(m,x)&&w.push([m[x],x]);if(!w.length){m=n;for(x in m)Object.prototype.hasOwnProperty.call(m,x)&&w.push([m[x],x])}return w.sort(function(g,b){return g[0]-b[0]||n[g[1]]-n[b[1]]}),r[w.pop()[1]]||44}function i(h,m){var p=m||{},x="",w=p.dense?[]:{},g={s:{c:0,r:0},e:{c:0,r:0}};h.slice(0,4)=="sep="?h.charCodeAt(5)==13&&h.charCodeAt(6)==10?(x=h.charAt(4),h=h.slice(7)):h.charCodeAt(5)==13||h.charCodeAt(5)==10?(x=h.charAt(4),h=h.slice(6)):x=s(h.slice(0,1024)):p&&p.FS?x=p.FS:x=s(h.slice(0,1024));var b=0,v=0,N=0,F=0,S=0,E=x.charCodeAt(0),D=!1,T=0,k=h.charCodeAt(0);h=h.replace(/\r\n/mg,` 915`);var I=p.dateNF!=null?Uae(p.dateNF):null;function Y(){var ee=h.slice(F,S),ie={};if(ee.charAt(0)=='"'&&ee.charAt(ee.length-1)=='"'&&(ee=ee.slice(1,-1).replace(/""/g,'"')),ee.length===0)ie.t="z";else if(p.raw)ie.t="s",ie.v=ee;else if(ee.trim().length===0)ie.t="s",ie.v=ee;else if(ee.charCodeAt(0)==61)ee.charCodeAt(1)==34&&ee.charCodeAt(ee.length-1)==34?(ie.t="s",ie.v=ee.slice(2,-1).replace(/""/g,'"')):poe(ee)?(ie.t="n",ie.f=ee.slice(1)):(ie.t="s",ie.v=ee);else if(ee=="TRUE")ie.t="b",ie.v=!0;else if(ee=="FALSE")ie.t="b",ie.v=!1;else if(!isNaN(N=si(ee)))ie.t="n",p.cellText!==!1&&(ie.w=ee),ie.v=N;else if(!isNaN(Qu(ee).getDate())||I&&ee.match(I)){ie.z=p.dateNF||lr[14];var W=0;I&&ee.match(I)&&(ee=Iae(ee,p.dateNF,ee.match(I)||[]),W=1),p.cellDates?(ie.t="d",ie.v=kn(ee,W)):(ie.t
vendor: 5,094 bytes, lines 915-916
915="n",ie.v=zn(kn(ee,W))),p.cellText!==!1&&(ie.w=So(ie.z,ie.v instanceof Date?zn(ie.v):ie.v)),p.cellNF||delete ie.z}else ie.t="s",ie.v=ee;if(ie.t=="z"||(p.dense?(w[b]||(w[b]=[]),w[b][v]=ie):w[kt({c:v,r:b})]=ie),F=S+1,k=h.charCodeAt(F),g.e.c<v&&(g.e.c=v),g.e.r<b&&(g.e.r=b),T==E)++v;else if(v=0,++b,p.sheetRows&&p.sheetRows<=b)return!0}e:for(;S<h.length;++S)switch(T=h.charCodeAt(S)){case 34:k===34&&(D=!D);break;case E:case 10:case 13:if(!D&&Y())break e;break}return S-F>0&&Y(),w["!ref"]=Nr(g),w}function o(h,m){return!(m&&m.PRN)||m.FS||h.slice(0,4)=="sep="||h.indexOf(" ")>=0||h.indexOf(",")>=0||h.indexOf(";")>=0?i(h,m):QA(t(h,m),m)}function c(h,m){var p="",x=m.type=="string"?[0,0,0,0]:Tde(h,m);switch(m.type){case"base64":p=fi(h);break;case"binary":p=h;break;case"buffer":m.codepage==65001?p=h.toString("utf8"):m.codepage&&typeof jp<"u"||(p=wt&&Buffer.isBuffer(h)?h.toString("binary"):hh(h));break;case"array":p=k0(h);break;case"string":p=h;break;default:throw new Error("Unrecognized type "+m.type)}return x[0]==239&&x[1]==187&&x[2]==191?p=gu(p.slice(3)):m.type!="string"&&m.type!="buffer"&&m.codepage==65001?p=gu(p):m.type=="binary"&&typeof jp<"u",p.slice(0,19)=="socialcalc:version:"?E5.to_sheet(m.type=="string"?p:gu(p),m):o(p,m)}function d(h,m){return zl(c(h,m),m)}function u(h){for(var m=[],p=zt(h["!ref"]),x,w=Array.isArray(h),g=p.s.r;g<=p.e.r;++g){for(var b=[],v=p.s.c;v<=p.e.c;++v){var N=kt({r:g,c:v});if(x=w?(h[g]||[])[v]:h[N],!x||x.v==null){b.push(" ");continue}for(var F=(x.w||(mi(x),x.w)||"").slice(0,10);F.length<10;)F+=" ";b.push(F+(v===0?" ":""))}m.push(b.join(""))}return m.join(` 916`)}return{to_workbook:d,to_sheet:c,from_sheet:u}})(),qj=(function(){function e(L,J,Q){if(L){sa(L,L.l||0);for(var O=Q.Enum||ae;L.l<L.length;){var G=L.read_shift(2),le=O[G]||O[65535],ye=L.read_shift(2),xe=L.l+ye,be=le.f&&le.f(L,ye,Q);if(L.l=xe,J(be,le,G))return}}}function t(L,J){switch(J.type){case"base64":return r(Xa(fi(L)),J);case"binary":return r(Xa(L),J);case"buffer":case"array":return r(L,J)}throw"Unsupported type "+J.type}function r(L,J){if(!L)return L;var Q=J||{},O=Q.dense?[]:{},G="Sheet1",le="",ye=0,xe={},be=[],Fe=[],Pe={s:{r:0,c:0},e:{r:0,c:0}},it=Q.sheetRows||0;if(L[2]==0&&(L[3]==8||L[3]==9)&&L.length>=16&&L[14]==5&&L[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(L[2]==2)Q.Enum=ae,e(L,function(Me,Kr,Ur){switch(Ur){case 0:Q.vers=Me,Me>=4096&&(Q.qpro=!0);break;case 6:Pe=Me;break;case 204:Me&&(le=Me);break;case 222:le=Me;break;case 15:case 51:Q.qpro||(Me[1].v=Me[1].v.slice(1));case 13:case 14:case 16:Ur==14&&(Me[2]&112)==112&&(Me[2]&15)>1&&(Me[2]&15)<15&&(Me[1].z=Q.dateNF||lr[14],Q.cellDates&&(Me[1].t="d",Me[1].v=W_(Me[1].v))),Q.qpro&&Me[3]>ye&&(O["!ref"]=Nr(Pe),xe[G]=O,be.push(G),O=Q.dense?[]:{},Pe={s:{r:0,c:0},e:{r:0,c:0}},ye=Me[3],G=le||"Sheet"+(ye+1),le="");var qn=Q.dense?(O[Me[0].r]||[])[Me[0].c]:O[kt(Me[0])];if(qn){qn.t=Me[1].t,qn.v=Me[1].v,Me[1].z!=null&&(qn.z=Me[1].z),Me[1].f!=null&&(qn.f=Me[1].f);break}Q.dense?(O[Me[0].r]||(O[Me[0].r]=[]),O[Me[0].r][Me[0].c]=Me[1]):O[kt(Me[0])]=Me[1];break}},Q);else if(L[2]==26||L[2]==14)Q.Enum=q,L[2]==14&&(Q.qpro=!0,L.l=0),e(L,function(Me,Kr,Ur){switch(Ur){case 204:G=Me;break;case 22:Me[1].v=Me[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(Me[3]>ye&&(O["!ref"]=Nr(Pe),xe[G]=O,be.push(G),O=Q.dense?[]:{},Pe={s:{r:0,c:0},e:{r:0,c:0}},ye=Me[3],G="Sheet"+(ye+1)),it>0&&Me[0].r>=it)break;Q.dense?(O[Me[0].r]||(O[Me[0].r]=[]),O[Me[0].r][Me[0].c]=Me[1]):O[kt(Me[0])]=Me[1],Pe.e.c<Me[0].c&&(Pe.e.c=Me[0].c),Pe.e.r<Me[0].r&&(Pe.e.r=Me[0].r);break;case 27:Me[14e3]&&(Fe[Me[14e3][0]]=Me[14e3][1]);break;case 1537:Fe[Me[0]]=Me[1],Me[0]==ye&&(G=Me[1]);break}},Q);else throw new Error("Unrecognized LOTUS BOF "+L[2]);if(O["!ref"]=Nr(Pe),xe[le||G]=O,be.push(le||G),!Fe.length)return{SheetNames:be,Sheets:xe};for(var et={},cr=[],pt=0;pt<Fe.length;++pt)xe[be[pt]]?(cr.push(Fe[pt]||be[pt]),et[Fe[pt]]=xe[Fe[pt]]||xe[be[pt]]):(cr.push(Fe[pt]),et[Fe[pt]]={"!ref":"A1"});return{SheetNames:cr,Sheets:et}}function n(L,J){var Q=J||{};if(+Q.codepage>=0&&Ru(+Q.codepage),Q.type=="string")throw new Error("Cannot write WK1 to JS string");var O=Vn(),G=zt(L["!ref"]),le=Array.isArray(L),ye=[];Le(O,0,i(1030)),Le(O,6,d(G));for(var xe=Math.min(G.e.r,8191),be=G.s.r;be<=xe;++be)for(var Fe=nn(be),Pe=G.s.c;Pe<=G.e.c;++Pe){be===G.s.r&&(ye[Pe]=gn(Pe));var it=ye[Pe]+Fe,et=le?(L[be]||[])[Pe]:L[it];if(!(!et||et.t=="z"))if(et.t=="n")(et.v|0)==et.v&&et.v>=-32768&&et.v<=32767?Le(O,13,x(be,Pe,et.v)):Le(O,14,g(be,Pe,et.v));else{var cr=mi(et);Le(O,15,m(be,Pe,cr.slice(0,239)))}}return Le(O,1),O.end()}function s(L,J){var Q=J||{};if(+Q.codepage>=0&&Ru(+Q.codepage),Q.type=="string")throw new Error("Cannot write WK3 to JS string");var O=Vn();Le(O,0,o(L));for(var G=0,le=0;G<L.SheetNames.length;++G)(L.Sheets[L.SheetNames[G]]||{})["!ref"]&&Le(O,27,de(L.SheetNames[G],le++));var ye=0;for(G=0;G<L.SheetNames.length;++G){var xe=L.Sheets[L.SheetNames[G]];if(!(!xe||!xe["!ref"])){for(var be=zt(xe["!ref"]),Fe=Array.isArray(xe),Pe=[],it=Math.min(be.e.r,8191),et=be.s.r;et<=it;++et)for(var cr=nn(et),pt=be.s.c;pt<=be.e.c;
vendor: 4,822 bytes, line 916
916++pt){et===be.s.r&&(Pe[pt]=gn(pt));var Me=Pe[pt]+cr,Kr=Fe?(xe[et]||[])[pt]:xe[Me];if(!(!Kr||Kr.t=="z"))if(Kr.t=="n")Le(O,23,Y(et,pt,ye,Kr.v));else{var Ur=mi(Kr);Le(O,22,T(et,pt,ye,Ur.slice(0,239)))}}++ye}}return Le(O,1),O.end()}function i(L){var J=ve(2);return J.write_shift(2,L),J}function o(L){var J=ve(26);J.write_shift(2,4096),J.write_shift(2,4),J.write_shift(4,0);for(var Q=0,O=0,G=0,le=0;le<L.SheetNames.length;++le){var ye=L.SheetNames[le],xe=L.Sheets[ye];if(!(!xe||!xe["!ref"])){++G;var be=ha(xe["!ref"]);Q<be.e.r&&(Q=be.e.r),O<be.e.c&&(O=be.e.c)}}return Q>8191&&(Q=8191),J.write_shift(2,Q),J.write_shift(1,G),J.write_shift(1,O),J.write_shift(2,0),J.write_shift(2,0),J.write_shift(1,1),J.write_shift(1,2),J.write_shift(4,0),J.write_shift(4,0),J}function c(L,J,Q){var O={s:{c:0,r:0},e:{c:0,r:0}};return J==8&&Q.qpro?(O.s.c=L.read_shift(1),L.l++,O.s.r=L.read_shift(2),O.e.c=L.read_shift(1),L.l++,O.e.r=L.read_shift(2),O):(O.s.c=L.read_shift(2),O.s.r=L.read_shift(2),J==12&&Q.qpro&&(L.l+=2),O.e.c=L.read_shift(2),O.e.r=L.read_shift(2),J==12&&Q.qpro&&(L.l+=2),O.s.c==65535&&(O.s.c=O.e.c=O.s.r=O.e.r=0),O)}function d(L){var J=ve(8);return J.write_shift(2,L.s.c),J.write_shift(2,L.s.r),J.write_shift(2,L.e.c),J.write_shift(2,L.e.r),J}function u(L,J,Q){var O=[{c:0,r:0},{t:"n",v:0},0,0];return Q.qpro&&Q.vers!=20768?(O[0].c=L.read_shift(1),O[3]=L.read_shift(1),O[0].r=L.read_shift(2),L.l+=2):(O[2]=L.read_shift(1),O[0].c=L.read_shift(2),O[0].r=L.read_shift(2)),O}function h(L,J,Q){var O=L.l+J,G=u(L,J,Q);if(G[1].t="s",Q.vers==20768){L.l++;var le=L.read_shift(1);return G[1].v=L.read_shift(le,"utf8"),G}return Q.qpro&&L.l++,G[1].v=L.read_shift(O-L.l,"cstr"),G}function m(L,J,Q){var O=ve(7+Q.length);O.write_shift(1,255),O.write_shift(2,J),O.write_shift(2,L),O.write_shift(1,39);for(var G=0;G<O.length;++G){var le=Q.charCodeAt(G);O.write_shift(1,le>=128?95:le)}return O.write_shift(1,0),O}function p(L,J,Q){var O=u(L,J,Q);return O[1].v=L.read_shift(2,"i"),O}function x(L,J,Q){var O=ve(7);return O.write_shift(1,255),O.write_shift(2,J),O.write_shift(2,L),O.write_shift(2,Q,"i"),O}function w(L,J,Q){var O=u(L,J,Q);return O[1].v=L.read_shift(8,"f"),O}function g(L,J,Q){var O=ve(13);return O.write_shift(1,255),O.write_shift(2,J),O.write_shift(2,L),O.write_shift(8,Q,"f"),O}function b(L,J,Q){var O=L.l+J,G=u(L,J,Q);if(G[1].v=L.read_shift(8,"f"),Q.qpro)L.l=O;else{var le=L.read_shift(2);S(L.slice(L.l,L.l+le),G),L.l+=le}return G}function v(L,J,Q){var O=J&32768;return J&=-32769,J=(O?L:0)+(J>=8192?J-16384:J),(O?"":"$")+(Q?gn(J):nn(J))}var N={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},F=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function S(L,J){sa(L,0);for(var Q=[],O=0,G="",le="",ye="",xe="";L.l<L.length;){var be=L[L.l++];switch(be){case 0:Q.push(L.read_shift(8,"f"));break;case 1:le=v(J[0].c,L.read_shift(2),!0),G=v(J[0].r,L.read_shift(2),!1),Q.push(le+G);break;case 2:{var Fe=v(J[0].c,L.read_shift(2),!0),Pe=v(J[0].r,L.read_shift(2),!1);le=v(J[0].c,L.read_shift(2),!0),G=v(J[0].r,L.read_shift(2),!1),Q.push(Fe+Pe+":"+le+G)}break;case 3:if(L.l<L.length){console.error("WK1 premature formula end");return}break;case 4:Q.push("("+Q.pop()+")");break;case 5:Q.push(L.read_shift(2));break;case 6:{for(var it="";be=L[L.l++];)it+=String.fromCharCode(be);Q.push('"'+it.replace(/"/g,'""')+'"')}break;case 8:Q.push("-"+Q.pop());break;case 23:Q.push("+"+Q.pop());break;case 22:Q.push("NOT("+Q.pop()+")");break;case 20:case 21:xe=Q.pop(),ye=Q.pop(),Q.push(["AND","OR"][be-20]+"("+ye+","+xe+")");break;default:if(be<32&&F[be])xe=Q.pop(),ye=Q.pop(),Q.push(ye+F[be]+xe);else if(N[be]){if(O=N[be][1],O==69&&(O=L[L.l++]),O>Q.length){console.error("WK1 bad formula parse 0x"+be.toString(16)+":|"+Q.join("|")+"|");return}var et=Q.slice(-O);Q.length-=O,Q.push(N[be][0]+"("+et.join(",")+")")}else return be<=7?console.error("WK1 invalid opcode "+be.toString(16)):be<=24?console.error("WK1 unsupported op "+be.toString(16)):be<=30?console.error("WK1 invalid opcode "+be.toString(16)):be<=115?console.error("WK1 unsupported function opcode "+be.toString(16)):console.error("WK1 unrecognized opcode "+be.toString(16))}}Q.length==1?J[1].f=""+Q[0]:console.error("WK1 bad formula parse |"+Q.join("|")+"|")}function E(L){var J=[{c:0,r:0},{t:"n",v:0},0];return J[0].r=L.read_shift(2),J[3]=L[L.l++],J[0].c=L[L.l++],J}function D(L,J){var Q=E(L);return Q[1].t="s",Q[1].v=L.read_shift(J-4,"cstr"),Q}function T(L,J,Q,O){var G=ve(6+O.length);G.write_shift(2,L),G.write_shift(1,Q),G.write_shift(1,J),G.write_shift(1,39);for(var le=0;le<O.length;++le){var ye=O.charCodeAt(le);G.write_shift(1,ye>=128?95:ye)}return G.write_shift(1,0),G}function k(L,J){var Q=E(L);Q[1].v=L.read_shift(2);var O=Q[1].v>>
vendor: 10,601 bytes, line 916
9161;if(Q[1].v&1)switch(O&7){case 0:O=(O>>3)*5e3;break;case 1:O=(O>>3)*500;break;case 2:O=(O>>3)/20;break;case 3:O=(O>>3)/200;break;case 4:O=(O>>3)/2e3;break;case 5:O=(O>>3)/2e4;break;case 6:O=(O>>3)/16;break;case 7:O=(O>>3)/64;break}return Q[1].v=O,Q}function I(L,J){var Q=E(L),O=L.read_shift(4),G=L.read_shift(4),le=L.read_shift(2);if(le==65535)return O===0&&G===3221225472?(Q[1].t="e",Q[1].v=15):O===0&&G===3489660928?(Q[1].t="e",Q[1].v=42):Q[1].v=0,Q;var ye=le&32768;return le=(le&32767)-16446,Q[1].v=(1-ye*2)*(G*Math.pow(2,le+32)+O*Math.pow(2,le)),Q}function Y(L,J,Q,O){var G=ve(14);if(G.write_shift(2,L),G.write_shift(1,Q),G.write_shift(1,J),O==0)return G.write_shift(4,0),G.write_shift(4,0),G.write_shift(2,65535),G;var le=0,ye=0,xe=0,be=0;return O<0&&(le=1,O=-O),ye=Math.log2(O)|0,O/=Math.pow(2,ye-31),be=O>>>0,(be&2147483648)==0&&(O/=2,++ye,be=O>>>0),O-=be,be|=2147483648,be>>>=0,O*=Math.pow(2,32),xe=O>>>0,G.write_shift(4,xe),G.write_shift(4,be),ye+=16383+(le?32768:0),G.write_shift(2,ye),G}function ee(L,J){var Q=I(L);return L.l+=J-14,Q}function ie(L,J){var Q=E(L),O=L.read_shift(4);return Q[1].v=O>>6,Q}function W(L,J){var Q=E(L),O=L.read_shift(8,"f");return Q[1].v=O,Q}function ce(L,J){var Q=W(L);return L.l+=J-10,Q}function we(L,J){return L[L.l+J-1]==0?L.read_shift(J,"cstr"):""}function ne(L,J){var Q=L[L.l++];Q>J-1&&(Q=J-1);for(var O="";O.length<Q;)O+=String.fromCharCode(L[L.l++]);return O}function re(L,J,Q){if(!(!Q.qpro||J<21)){var O=L.read_shift(1);L.l+=17,L.l+=1,L.l+=2;var G=L.read_shift(J-21,"cstr");return[O,G]}}function X(L,J){for(var Q={},O=L.l+J;L.l<O;){var G=L.read_shift(2);if(G==14e3){for(Q[G]=[0,""],Q[G][0]=L.read_shift(2);L[L.l];)Q[G][1]+=String.fromCharCode(L[L.l]),L.l++;L.l++}}return Q}function de(L,J){var Q=ve(5+L.length);Q.write_shift(2,14e3),Q.write_shift(2,J);for(var O=0;O<L.length;++O){var G=L.charCodeAt(O);Q[Q.l++]=G>127?95:G}return Q[Q.l++]=0,Q}var ae={0:{n:"BOF",f:B5},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:c},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:p},14:{n:"NUMBER",f:w},15:{n:"LABEL",f:h},16:{n:"FORMULA",f:b},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:h},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:we},222:{n:"SHEETNAMELP",f:ne},65535:{n:""}},q={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:D},23:{n:"NUMBER17",f:I},24:{n:"NUMBER18",f:k},25:{n:"FORMULA19",f:ee},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:X},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:ie},38:{n:"??"},39:{n:"NUMBER27",f:W},40:{n:"FORMULA28",f:ce},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:we},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:re},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:n,book_to_wk3:s,to_workbook:t}})(),yie=/^\s|\s$|[\t\n\r]/;function T5(e,t){if(!t.bookSST)return"";var r=[Fr];r[r.length]=Ie("sst",null,{xmlns:MA[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(e[n]!=null){var s=e[n],i="<si>";s.r?i+=s.r:(i+="<t",s.t||(s.t=""),s.t.match(yie)&&(i+=' xml:space="preserve"'),i+=">"+Tt(s.t)+"</t>"),i+="</si>",r[r.length]=i}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}function bie(e){return[e.read_shift(4),e.read_shift(4)]}function wie(e,t){return t||(t=ve(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var vie=use;function Cie(e){var t=Vn();Ne(t,159,wie(e));for(var r=0;r<e.length;++r)Ne(t,19,vie(e[r]));return Ne(t,160),t.end()}function Bie(e){for(var t=[],r=e.split(""),n=0;n<r.length;++n)t[n]=r[n].charCodeAt(0);return t}function k5(e){var t=0,r,n=Bie(e),s=n.length+1,i,o,c,d,u;for(r=Ol(s),r[0]=n.length,i=1;i!=s;++i)r[i]=n[i-1];for(i=s-1;i>=0;--i)o=r[i],c=(t&16384)===0?0:1,d=t<<1&32767,u=c|d,t=u^o;return t^52811}var Nie=(function(){function e(s,i){switch(i.type){case"base64":return t(fi(s),i);case"binary":return t(s,i);case"buffer":return t(wt&&Buffer.isBuffer(s)?s.toString("binary"):hh(s),i);case"array":return t(k0(s),i)}throw new Error("Unrecognized type "+i.type)}function t(s,i){var o=i||{},c=o.dense?[]:{},d=s.match(/\\trowd.*?\\row\b/g);if(!d.length)throw new Error("RTF missing table");var u={s:{c:0,r:0},e:{c:0,r:d.length-1}};return d.forEach(function(h,m){Array.isArray(c)&&(c[m]=[]);for(var p=/\\\w+\b/g,x=0,w,g=-1;w=p.exec(h);){switch(w[0]){case"\\cell":var b=h.slice(x,p.lastIndex-w[0].length);if(b[0]==" "&&(b=b.slice(1)),++g,b.length){var v={v:b,t:"s"};Array.isArray(c)?c[m][g]=v:c[kt({r:m,c:g})]=v}break}x=p.lastIndex}g>u.e.c&&(u.e.c=g)}),c["!ref"]=Nr(u),c}function r(s,i){return zl(e(s,i),i)}function n(s){for(var i=["{\\rtf1\\ansi"],o=zt(s["!ref"]),c,d=Array.isArray(s),u=o.s.r;u<=o.e.r;++u){i.push("\\trowd\\trautofit1");for(var h=o.s.c;h<=o.e.c;++h)i.push("\\cellx"+(h+1));for(i.push("\\pard\\intbl"),h=o.s.c;h<=o.e.c;++h){var m=kt({r:u,c:h});c=d?(s[u]||[])[h]:s[m],!(!c||c.v==null&&(!c.f||c.F))&&(i.push(" "+(c.w||(mi(c),c.w))),i.push("\\cell"))}i.push("\\pard\\intbl\\row")}return i.join("")+"}"}return{to_workbook:r,to_sheet:e,from_sheet:n}})();function $j(e){for(var t=0,r=1;t!=3;++t)r=r*256+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}var Fie=6,ii=Fie;function Lp(e){return Math.floor((e+Math.round(128/ii)/256)*ii)}function Pp(e){return Math.floor((e-5)/ii*100+.5)/100}function jw(e){return Math.round((e*ii+5)/ii*256)/256}function gv(e){e.width?(e.wpx=Lp(e.width),e.wch=Pp(e.wpx),e.MDW=ii):e.wpx?(e.wch=Pp(e.wpx),e.width=jw(e.wch),e.MDW=ii):typeof e.wch=="number"&&(e.width=jw(e.wch),e.wpx=Lp(e.width),e.MDW=ii),e.customWidth&&delete e.customWidth}var jie=96,_5=jie;function Rp(e){return e*96/_5}function D5(e){return e*_5/96}function Sie(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var n=r[0];n<=r[1];++n)e[n]!=null&&(t[t.length]=Ie("numFmt",null,{numFmtId:n,formatCode:Tt(e[n])}))}),t.length===1?"":(t[t.length]="</numFmts>",t[0]=Ie("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function Eie(e){var t=[];return t[t.length]=Ie("cellXfs",null),e.forEach(function(r){t[t.length]=Ie("xf",null,r)}),t[t.length]="</cellXfs>",t.length===2?"":(t[0]=Ie("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function U5(e,t){var r=[Fr,Ie("styleSheet",null,{xmlns:MA[0],"xmlns:vt":Or.vt})],n;return e.SSF&&(n=Sie(e.SSF))!=null&&(r[r.length]=n),r[r.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',r[r.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',r[r.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',r[r.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(n=Eie(t.cellXfs))&&(r[r.length]=n),r[r.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',r[r.length]='<dxfs count="0"/>',r[r.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',r.length>2&&(r[r.length]="</styleSheet>",r[1]=r[1].replace("/>",">")),r.join("")}function Tie(e,t){var r=e.read_shift(2),n=xn(e);return[r,n]}function kie(e,t,r){r||(r=ve(6+4*t.length)),r.write_shift(2,e),Vr(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return r.l==null&&(r.l=r.length),n}function _ie(e,t,r){var n={};n.sz=e.read_shift(2)/20;var s=yse(e);s.fItalic&&(n.italic=1),s.fCondense&&(n.condense=1),s.fExtend&&(n.extend=1),s.fShadow&&(n.shadow=1),s.fOutline&&(n.outline=1),s.fStrikeout&&(n.strike=1);var i=e.read_shift(2);switch(i===700&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript";break}var o=e.read_shift(1);o!=0&&(n.underline=o);var c=e.read_shift(1);c>0&&(n.family=c);var d=e.read_shift(1);switch(d>0&&(n.charset=d),e.l++,n.color=xse(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=xn(e),n}function Die(e,t){t||(t=ve(153)),t.write_shift(2,e.sz*20),bse(e,t),t.write_shift(2,e.bold?700:400);var r=0;e.vertAlign=="superscript"?r=1:e.vertAlign=="subscript"&&(r=2),t.write_shift(2,r),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),Up(e.color,t);var n=0;return n=2,t.write_shift(1,n),Vr(e.name,t),t.length>t.l?t.slice(0,t.l):t}var Uie=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","dar
916kVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Ry,Iie=Ts;function Yj(e,t){t||(t=ve(84)),Ry||(Ry=sv(Uie));var r=Ry[e.patternType];r==null&&(r=40),t.write_shift(4,r);var n=0;if(r!=40)for(Up({auto:1},t),Up({auto:1},t);n<12;++n)t.write_shift(4,0);else{for(;n<4;++n)t.write_shift(4,0);for(;n<12;++n)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function Lie(e,t){var r=e.l+t,n=e.read_shift(2),s=e.read_shift(2);return e.l=r,{ixfe:n,numFmtId:s}}function I5(e,t,r){r||(r=ve(16)),r.write_shift(2,t||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);var n=0;return r.write_shift(1,n),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function Hd(e,t){return t||(t=ve(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var Pie=Ts;function Rie(e,t){return t||(t=ve(51)),t.write_shift(1,0),Hd(null,t),Hd(null,t),Hd(null,t),Hd(null,t),Hd(null,t),t.length>t.l?t.slice(0,t.l):t}function Mie(e,t){return t||(t=ve(52)),t.write_shift(4,e.xfId),t.write_shift(2,1),t.write_shift(1,0),t.write_shift(1,0),Dp(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function Qie(e,t,r){var n=ve(2052);return n.write_shift(4,e),Dp(t,n),Dp(r,n),n.length>n.l?n.slice(0,n.l):n}function Oie(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var s=n[0];s<=n[1];++s)t[s]!=null&&++r}),r!=0&&(Ne(e,615,rs(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var s=n[0];s<=n[1];++s)t[s]!=null&&Ne(e,44,kie(s,t[s]))}),Ne(e,616))}}function Hie(e){var t=1;Ne(e,611,rs(t)),Ne(e,43,Die({sz:12,color:{theme:1},name:"Calibri",family:2})),Ne(e,612)}function Vie(e){var t=2;Ne(e,603,rs(t)),Ne(e,45,Yj({patternType:"none"})),Ne(e,45,Yj({patternType:"gray125"})),Ne(e,604)}function Kie(e){var t=1;Ne(e,613,rs(t)),Ne(e,46,Rie()),Ne(e,614)}function Gie(e){var t=1;Ne(e,626,rs(t)),Ne(e,47,I5({numFmtId:0},65535)),Ne(e,627)}function Wie(e,t){Ne(e,617,rs(t.length)),t.forEach(function(r){Ne(e,47,I5(r,0))}),Ne(e,618)}function zie(e){var t=1;Ne(e,619,rs(t)),Ne(e,48,Mie({xfId:0,name:"Normal"})),Ne(e,620)}function Jie(e){var t=0;Ne(e,505,rs(t)),Ne(e,506)}function qie(e){var t=0;Ne(e,508,Qie(t,"TableStyleMedium9","PivotStyleMedium4")),Ne(e,509)}function $ie(e,t){var r=Vn();return Ne(r,278),Oie(r,e.SSF),Hie(r),Vie(r),Kie(r),Gie(r),Wie(r,t.cellXfs),zie(r),Jie(r),qie(r),Ne(r,279),r.end()}function L5(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var r=[Fr];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="ï¼ï¼³ ï¼°ã´ã·ãã¯"/>',r[r.length]='<a:font script="Hang" typeface="ë§ì ê³ ë"/>',r[r.length]='<a:font script="Hans" typeface="å®ä½"/>',r[r.length]='<a:font script="Hant" typeface="æ°ç´°æé«"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>
916',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="ï¼ï¼³ ï¼°ã´ã·ãã¯"/>',r[r.length]='<a:font script="Hang" typeface="ë§ì ê³ ë"/>',r[r.length]='<a:font script="Hans" typeface="å®ä½"/>',r[r.length]='<a:font script="Hant" typeface="æ°ç´°æé«"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>
916",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function Yie(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:xn(e)}}function Xie(e){var t=ve(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),Vr(e.name,t),t.slice(0,t.l)}function Zie(e){for(var t=[],r=e.read_shift(4);r-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}function eoe(e){var t=ve(4+8*e.length);t.write_shift(4,e.length);for(var r=0;r<e.length;++r)t.write_shift(4,e[r][0]),t.write_shift(4,e[r][1]);return t}function toe(e,t){var r=ve(8+2*t.length);return r.write_shift(4,e),Vr(t,r),r.slice(0,r.l)}
vendor: 4,194 bytes, lines 916-938
916function roe(e){return e.l+=4,e.read_shift(4)!=0}function noe(e,t){var r=ve(8);return r.write_shift(4,e),r.write_shift(4,1),r}function aoe(){var e=Vn();return Ne(e,332),Ne(e,334,rs(1)),Ne(e,335,Xie({name:"XLDAPR",version:12e4,flags:3496657072})),Ne(e,336),Ne(e,339,toe(1,"XLDAPR")),Ne(e,52),Ne(e,35,rs(514)),Ne(e,4096,rs(0)),Ne(e,4097,Ea(1)),Ne(e,36),Ne(e,53),Ne(e,340),Ne(e,337,noe(1)),Ne(e,51,eoe([[1,0]])),Ne(e,338),Ne(e,333),e.end()}function P5(){var e=[Fr];return e.push(`<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray"> 917 <metadataTypes count="1"> 918 <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/> 919 </metadataTypes> 920 <futureMetadata name="XLDAPR" count="1"> 921 <bk> 922 <extLst> 923 <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}"> 924 <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/> 925 </ext> 926 </extLst> 927 </bk> 928 </futureMetadata> 929 <cellMetadata count="1"> 930 <bk> 931 <rc t="1" v="0"/> 932 </bk> 933 </cellMetadata> 934</metadata>`),e.join("")}function soe(e){var t={};t.i=e.read_shift(4);var r={};r.r=e.read_shift(4),r.c=e.read_shift(4),t.r=kt(r);var n=e.read_shift(1);return n&2&&(t.l="1"),n&8&&(t.a="1"),t}var Zc=1024;function R5(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),s=[Ie("xml",null,{"xmlns:v":oa.v,"xmlns:o":oa.o,"xmlns:x":oa.x,"xmlns:mv":oa.mv}).replace(/\/>/,">"),Ie("o:shapelayout",Ie("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Ie("v:shapetype",[Ie("v:stroke",null,{joinstyle:"miter"}),Ie("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];Zc<e*1e3;)Zc+=1e3;return t.forEach(function(i){var o=Hr(i[0]),c={color2:"#BEFF82",type:"gradient"};c.type=="gradient"&&(c.angle="-180");var d=c.type=="gradient"?Ie("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,u=Ie("v:fill",d,c),h={on:"t",obscured:"t"};++Zc,s=s.concat(["<v:shape"+Hu({id:"_x0000_s"+Zc,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(i[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",u,Ie("v:shadow",null,h),Ie("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",en("x:Anchor",[o.c+1,0,o.r+1,0,o.c+3,20,o.r+5,20].join(",")),en("x:AutoFill","False"),en("x:Row",String(o.r)),en("x:Column",String(o.c)),i[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),s.push("</xml>"),s.join("")}function M5(e){var t=[Fr,Ie("comments",null,{xmlns:MA[0]})],r=[];return t.push("<authors>"),e.forEach(function(n){n[1].forEach(function(s){var i=Tt(s.a);r.indexOf(i)==-1&&(r.push(i),t.push("<author>"+i+"</author>")),s.T&&s.ID&&r.indexOf("tc="+s.ID)==-1&&(r.push("tc="+s.ID),t.push("<author>tc="+s.ID+"</author>"))})}),r.length==0&&(r.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),e.forEach(function(n){var s=0,i=[];if(n[1][0]&&n[1][0].T&&n[1][0].ID?s=r.indexOf("tc="+n[1][0].ID):n[1].forEach(function(d){d.a&&(s=r.indexOf(Tt(d.a))),i.push(d.t||"")}),t.push('<comment ref="'+n[0]+'" authorId="'+s+'"><text>'),i.length<=1)t.push(en("t",Tt(i[0]||"")));else{for(var o=`Comment: 935 `+i[0]+` 936`,c=1;c<i.length;++c)o+=`Reply: 937 `+i[c]+` 938`;t.push(en("t",Tt(o)))}t.push("</text></comment>")}),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function ioe(e,t,r){var n=[Fr,Ie("ThreadedComments",null,{xmlns:Or.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(s){var i="";(s[1]||[]).forEach(function(o,c){if(!o.T){delete o.ID;return}o.a&&t.indexOf(o.a)==-1&&t.push(o.a);var d={ref:s[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};
vendor: 5,477 bytes, line 938
938c==0?i=d.id:d.parentId=i,o.ID=d.id,o.a&&(d.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(o.a)).slice(-12)+"}"),n.push(Ie("threadedComment",en("text",o.t||""),d))})}),n.push("</ThreadedComments>"),n.join("")}function ooe(e){var t=[Fr,Ie("personList",null,{xmlns:Or.TCMNT,"xmlns:x":MA[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,n){t.push(Ie("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:r,providerId:"None"}))}),t.push("</personList>"),t.join("")}function loe(e){var t={};t.iauthor=e.read_shift(4);var r=Yl(e);return t.rfx=r.s,t.ref=kt(r.s),e.l+=16,t}function coe(e,t){return t==null&&(t=ve(36)),t.write_shift(4,e[1].iauthor),OA(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}var Aoe=xn;function doe(e){return Vr(e.slice(0,54))}function uoe(e){var t=Vn(),r=[];return Ne(t,628),Ne(t,630),e.forEach(function(n){n[1].forEach(function(s){r.indexOf(s.a)>-1||(r.push(s.a.slice(0,54)),Ne(t,632,doe(s.a)))})}),Ne(t,631),Ne(t,633),e.forEach(function(n){n[1].forEach(function(s){s.iauthor=r.indexOf(s.a);var i={s:Hr(n[0]),e:Hr(n[0])};Ne(t,635,coe([i,s])),s.t&&s.t.length>0&&Ne(t,637,fse(s)),Ne(t,636),delete s.iauthor})}),Ne(t,634),Ne(t,629),t.end()}function hoe(e,t){t.FullPaths.forEach(function(r,n){if(n!=0){var s=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");s.slice(-1)!=="/"&&Dt.utils.cfb_add(e,s,t.FileIndex[n].content)}})}var Q5=["xlsb","xlsm","xlam","biff8","xla"],foe=(function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(n,s,i,o){var c=!1,d=!1;i.length==0?d=!0:i.charAt(0)=="["&&(d=!0,i=i.slice(1,-1)),o.length==0?c=!0:o.charAt(0)=="["&&(c=!0,o=o.slice(1,-1));var u=i.length>0?parseInt(i,10)|0:0,h=o.length>0?parseInt(o,10)|0:0;return c?h+=t.c:--h,d?u+=t.r:--u,s+(c?"":"$")+gn(h)+(d?"":"$")+nn(u)}return function(s,i){return t=i,s.replace(e,r)}})(),xv=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,yv=(function(){return function(t,r){return t.replace(xv,function(n,s,i,o,c,d){var u=uv(o)-(i?0:r.c),h=dv(d)-(c?0:r.r),m=h==0?"":c?h+1:"["+h+"]",p=u==0?"":i?u+1:"["+u+"]";return s+"R"+m+"C"+p})}})();function moe(e,t){return e.replace(xv,function(r,n,s,i,o,c){return n+(s=="$"?s+i:gn(uv(i)+t.c))+(o=="$"?o+c:nn(dv(c)+t.r))})}function poe(e){return e.length!=1}function br(e){e.l+=1}function Eo(e,t){var r=e.read_shift(2);return[r&16383,r>>14&1,r>>15&1]}function O5(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return H5(e);r.biff==12&&(n=4)}var s=e.read_shift(n),i=e.read_shift(n),o=Eo(e),c=Eo(e);return{s:{r:s,c:o[0],cRel:o[1],rRel:o[2]},e:{r:i,c:c[0],cRel:c[1],rRel:c[2]}}}function H5(e){var t=Eo(e),r=Eo(e),n=e.read_shift(1),s=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:s,cRel:r[1],rRel:r[2]}}}function goe(e,t,r){if(r.biff<8)return H5(e);var n=e.read_shift(r.biff==12?4:2),s=e.read_shift(r.biff==12?4:2),i=Eo(e),o=Eo(e);return{s:{r:n,c:i[0],cRel:i[1],rRel:i[2]},e:{r:s,c:o[0],cRel:o[1],rRel:o[2]}}}function V5(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return xoe(e);var n=e.read_shift(r&&r.biff==12?4:2),s=Eo(e);return{r:n,c:s[0],cRel:s[1],rRel:s[2]}}function xoe(e){var t=Eo(e),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function yoe(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:r&255,fQuoted:!!(r&16384),cRel:r>>15,rRel:r>>15}}function boe(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return woe(e);var s=e.read_shift(n>=12?4:2),i=e.read_shift(2),o=(i&16384)>>14,c=(i&32768)>>15;if(i&=16383,c==1)for(;s>524287;)s-=1048576;if(o==1)for(;i>8191;)i=i-16384;return{r:s,c:i,cRel:o,rRel:c}}function woe(e){var t=e.read_shift(2),r=e.read_shift(1),n=(t&32768)>>15,s=(t&16384)>>14;return t&=16383,n==1&&t>=8192&&(t=t-16384),s==1&&r>=128&&(r=r-256),{r:t,c:r,cRel:s,rRel:n}}function voe(e,t,r){var n=(e[e.l++]&96)>>5,s=O5(e,r.biff>=2&&r.biff<=5?6:8,r);return[n,s]}function Coe(e,t,r){var n=(e[e.l++]&96)>>5,s=e.read_shift(2,"i"),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}var o=O5(e,i,r);return[n,s,o]}function Boe(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}function Noe(e,t,r){var n=(e[e.l++]&96)>>5,s=e.read_shift(2),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}return e.l+=i,[n,s]}function Foe(e,t,r){var n=(e[e.l++]&96)>>5,s=goe(e,t-1,r);return[n,s]}function joe(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r.biff==2?6:r.biff==12?14:7,[n]}function Xj(e){var t=e[e.l+1]&1,r=1;return e.l+=4,[t,r]}function Soe(e,t,r){e.l+=2;for(var n=e.read_shift(r&&r.biff==2?1:2),s=[],i=0;i<=n;++i)s.push(e.read_shift(r&&r.biff==2?1:2));return s}function Eoe(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function Toe(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function koe(e){var t=e[e.l+1]&255?1:0;return e.l+=2,[t,e.read_shift(2)]}function _oe(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=r&&r.biff==2?3:4,[n]}function K5(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function Doe(e){return e.read_shift(2),K5(e)}function Uoe(e){return e.read_shift(2),K5(e)}function Ioe(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var s=V5(e,0,r);return[n,s]}function Loe(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var s=boe(e,0,r);return[n,s]}function Poe(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var s=e.read_shift(2);
938r&&r.biff==5&&(e.l+=12);var i=V5(e,0,r);return[n,s,i]}function Roe(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var s=e.read_shift(r&&r.biff<=3?1:2);return[Rle[s],z5[s],n]}function Moe(e,t,r){var n=e[e.l++],s=e.read_shift(1),i=r&&r.biff<=3?[n==88?-1:0,e.read_shift(1)]:Qoe(e);return[s,(i[0]===0?z5:Ple)[i[1]]]}function Qoe(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function Ooe(e,t,r){e.l+=r&&r.biff==2?3:4}function Hoe(e,t,r){if(e.l++,r&&r.biff==12)return[e.read_shift(4,"i"),0];var n=e.read_shift(2),s=e.read_shift(r&&r.biff==2?1:2);return[n,s]}function Voe(e){return e.l++,ph[e.read_shift(1)]}function Koe(e){return e.l++,e.read_shift(2)}function Goe(e){return e.l++,e.read_shift(1)!==0}function Woe(e){return e.l++,HA(e)}function zoe(e,t,r){return e.l++,F5(e,t-1,r)}function Joe(e,t){var r=[e.read_shift(1)];if(t==12)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=Pse(e,1)?"TRUE":"FALSE",t!=12&&(e.l+=7);break;case 37:case 16:r[1]=ph[e[e.l]],e.l+=t==12?4:8;break;case 0:e.l+=8;break;case 1:r[1]=HA(e);break;case 2:r[1]=Ose(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function qoe(e,t,r){for(var n=e.read_shift(r.biff==12?4:2),s=[],i=0;i!=n;++i)s.push((r.biff==12?Yl:Kse)(e));return s}function $oe(e,t,r){var n=0,s=0;r.biff==12?(n=e.read_shift(4),s=e.read_shift(4)):(s=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,--s==0&&(s=256));for(var i=0,o=[];i!=n&&(o[i]=[]);++i)for(var c=0;c!=s;++c)o[i][c]=Joe(e,r.biff);return o}function Yoe(e,t,r){var n=e.read_shift(1)>>>5&3,s=!r||r.biff>=8?4:2,i=e.read_shift(s);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[n,0,i]}function Xoe(e,t,r){if(r.biff==5)return Zoe(e);var n=e.read_shift(1)>>>5&3,s=e.read_shift(2),i=e.read_shift(4);return[n,s,i]}function Zoe(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[t,r,n]}function ele(e,t,r){var n=e.read_shift(1)>>>5&3;e.l+=r&&r.biff==2?3:4;var s=e.read_shift(r&&r.biff==2?1:2);return[n,s]}function tle(e,t,r){var n=e.read_shift(1)>>>5&3,s=e.read_shift(r&&r.biff==2?1:2);return[n,s]}function rle(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,r.biff==12&&(e.l+=2),[n]}function nle(e,t,r){var n=(e[e.l++]&96)>>5,s=e.read_shift(2),i=4;if(r)switch(r.biff){case 5:i=15;break;case 12:i=6;break}return e.l+=i,[n,s]}var ale=Ts,sle=Ts,ile=Ts;function gh(e,t,r){return e.l+=2,[yoe(e)]}function bv(e){return e.l+=6,[]}var ole=gh,lle=bv,cle=bv,Ale=gh;function G5(e){return e.l+=2,[B5(e),e.read_shift(2)&1]}var dle=gh,ule=G5,hle=bv,fle=gh,mle=gh,ple=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function gle(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),s=e.read_shift(2),i=e.read_shift(2),o=ple[r>>2&31];return{ixti:t,coltype:r&3,rt:o,idx:n,c:s,C:i}}function xle(e){return e.l+=2,[e.read_shift(4)]}function yle(e,t,r){return e.l+=5,e.l+=2,e.l+=r.biff==2?1:4,["PTGSHEET"]}function ble(e,t,r){return e.l+=r.biff==2?4:5,["PTGENDSHEET"]}function wle(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function vle(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function Cle(e){return e.l+=4,[0,0]}var Zj={1:{n:"PtgExp",f:Hoe},2:{n:"PtgTbl",f:ile},3:{n:"PtgAdd",f:br},4:{n:"PtgSub",f:br},5:{n:"PtgMul",f:br},6:{n:"PtgDiv",f:br},7:{n:"PtgPower",f:br},8:{n:"PtgConcat",f:br},9:{n:"PtgLt",f:br},10:{n:"PtgLe",f:br},11:{n:"PtgEq",f:br},12:{n:"PtgGe",f:br},13:{n:"PtgGt",f:br},14:{n:"PtgNe",f:br},15:{n:"PtgIsect",f:br},16:{n:"PtgUnion",f:br},17:{n:"PtgRange",f:br},18:{n:"PtgUplus",f:br},19:{n:"PtgUminus",f:br},20:{n:"PtgPercent",f:br},21:{n:"PtgParen",f:br},22:{n:"PtgMissArg",f:br},23:{n:"PtgStr",f:zoe},26:{n:"PtgSheet",f:yle},27:{n:"PtgEndSheet",f:ble},28:{n:"PtgErr",f:Voe},29:{n:"PtgBool",f:Goe},30:{n:"PtgInt",f:Koe},31:{n:"PtgNum",f:Woe},32:{n:"PtgArray",f:joe},33:{n:"PtgFunc",f:Roe},34:{n:"PtgFuncVar",f:Moe},35:{n:"PtgName",f:Yoe},36:{n:"PtgRef",f:Ioe},37:{n:"PtgArea",f:voe},38:{n:"PtgMemArea",f:ele},39:{n:"PtgMemErr",f:ale},40:{n:"PtgMemNoMem",f:sle},41:{n:"PtgMemFunc",f:tle},42:{n:"PtgRefErr",f:rle},43:{n:"PtgAreaErr",f:Boe},44:{n:"PtgRefN",f:Loe},45:{n:"PtgAreaN",f:Foe},46:{n:"PtgMemAreaN",f:wle},47:{n:"PtgMemNoMemN",f:vle},57:{n:"PtgNameX",f:Xoe},58:{n:"PtgRef3d",f:Poe}
vendor: 8,097 bytes, line 938
938,59:{n:"PtgArea3d",f:Coe},60:{n:"PtgRefErr3d",f:nle},61:{n:"PtgAreaErr3d",f:Noe},255:{}},Ble={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},Nle={1:{n:"PtgElfLel",f:G5},2:{n:"PtgElfRw",f:fle},3:{n:"PtgElfCol",f:ole},6:{n:"PtgElfRwV",f:mle},7:{n:"PtgElfColV",f:Ale},10:{n:"PtgElfRadical",f:dle},11:{n:"PtgElfRadicalS",f:hle},13:{n:"PtgElfColS",f:lle},15:{n:"PtgElfColSV",f:cle},16:{n:"PtgElfRadicalLel",f:ule},25:{n:"PtgList",f:gle},29:{n:"PtgSxName",f:xle},255:{}},Fle={0:{n:"PtgAttrNoop",f:Cle},1:{n:"PtgAttrSemi",f:_oe},2:{n:"PtgAttrIf",f:Toe},4:{n:"PtgAttrChoose",f:Soe},8:{n:"PtgAttrGoto",f:Eoe},16:{n:"PtgAttrSum",f:Ooe},32:{n:"PtgAttrBaxcel",f:Xj},33:{n:"PtgAttrBaxcel",f:Xj},64:{n:"PtgAttrSpace",f:Doe},65:{n:"PtgAttrSpaceSemi",f:Uoe},128:{n:"PtgAttrIfError",f:koe},255:{}};function jle(e,t,r,n){if(n.biff<8)return Ts(e,t);for(var s=e.l+t,i=[],o=0;o!==r.length;++o)switch(r[o][0]){case"PtgArray":r[o][1]=$oe(e,0,n),i.push(r[o][1]);break;case"PtgMemArea":r[o][2]=qoe(e,r[o][1],n),i.push(r[o][2]);break;case"PtgExp":n&&n.biff==12&&(r[o][1][1]=e.read_shift(4),i.push(r[o][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[o][0]}return t=s-e.l,t!==0&&i.push(Ts(e,t)),i}function Sle(e,t,r){for(var n=e.l+t,s,i,o=[];n!=e.l;)t=n-e.l,i=e[e.l],s=Zj[i]||Zj[Ble[i]],(i===24||i===25)&&(s=(i===24?Nle:Fle)[e[e.l+1]]),!s||!s.f?Ts(e,t):o.push([s.n,s.f(e,t,r)]);return o}function Ele(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r],s=[],i=0;i<n.length;++i){var o=n[i];if(o)switch(o[0]){case 2:s.push('"'+o[1].replace(/"/g,'""')+'"');break;default:s.push(o[1])}else s.push("")}t.push(s.join(","))}return t.join(";")}var Tle={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function kle(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function W5(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),t==0?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var s="";if(r.biff>8)switch(e[n[0]][0]){case 357:return s=n[1]==-1?"#REF":e.SheetNames[n[1]],n[1]==n[2]?s:s+":"+e.SheetNames[n[2]];case 358:return r.SID!=null?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return s=n[1]==-1?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?s:s+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(i){return i.Name}).join(";;");default:return e[n[0]][0][3]?(s=n[1]==-1?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?s:s+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function e3(e,t,r){var n=W5(e,t,r);return n=="#REF"?n:kle(n,r)}function jA(e,t,r,n,s){var i=s&&s.biff||8,o={s:{c:0,r:0}},c=[],d,u,h,m=0,p=0,x,w="";if(!e[0]||!e[0][0])return"";for(var g=-1,b="",v=0,N=e[0].length;v<N;++v){var F=e[0][v];switch(F[0]){case"PtgUminus":c.push("-"+c.pop());break;case"PtgUplus":c.push("+"+c.pop());break;case"PtgPercent":c.push(c.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(d=c.pop(),u=c.pop(),g>=0){switch(e[0][g][1][0]){case 0:b=sr(" ",e[0][g][1][1]);break;case 1:b=sr("\r",e[0][g][1][1]);break;default:if(b="",s.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}u=u+b,g=-1}c.push(u+Tle[F[0]]+d);break;case"PtgIsect":d=c.pop(),u=c.pop(),c.push(u+" "+d);break;case"PtgUnion":d=c.pop(),u=c.pop(),c.push(u+","+d);break;case"PtgRange":d=c.pop(),u=c.pop(),c.push(u+":"+d);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":h=yu(F[1][1],o,s),c.push(bu(h,i));break;case"PtgRefN":h=r?yu(F[1][1],r,s):F[1][1],c.push(bu(h,i));break;case"PtgRef3d":m=F[1][1],h=yu(F[1][2],o,s),w=e3(n,m,s),c.push(w+"!"+bu(h,i));break;case"PtgFunc":case"PtgFuncVar":var S=F[1][0],E=F[1][1];S||(S=0),S&=127;var D=S==0?[]:c.slice(-S);c.length-=S,E==="User"&&(E=D.shift()),c.push(E+"("+D.join(",")+")");break;case"PtgBool":c.push(F[1]?"TRUE":"FALSE");break;case"PtgInt":c.push(F[1]);break;case"PtgNum":c.push(String(F[1]));break;case"PtgStr":c.push('"'+F[1].replace(/"/g,'""')+'"');break;case"PtgErr":c.push(F[1]);break;case"PtgAreaN":x=Rj(F[1][1],r?{s:r}:o,s),c.push(Ly(x,s));break;case"PtgArea":x=Rj(F[1][1],o,s),c.push(Ly(x,s));break;case"PtgArea3d":m=F[1][1],x=F[1][2],w=e3(n,m,s),c.push(w+"!"+Ly(x,s));break;case"PtgAttrSum":c.push("SUM("+c.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":p=F[1][2];var T=(n.names||[])[p-1]||(n[0]||[])[p],k=T?T.Name:"SH33TJSNAME"+String(p);k&&k.slice(0,6)=="_xlfn."&&!s.xlfn&&(k=k.slice(6)),c.push(k);break;case"PtgNameX":var I=F[1][1];p=F[1][2];var Y;if(s.biff<=5)I<0&&(I=-I),n[I]&&(Y=n[I][p]);else{var ee="";if(((n[I]||[])[0]||[])[0]==14849||(((n[I]||[])[0]||[])[0]==1025?n[I][p]&&n[I][p].itab>0&&(ee=n.SheetNames[n[I][p].itab-1]+"!"):ee=n.SheetNames[p-1]+"!"),n[I]&&n[I][p])ee+=n[I][p].Name;else if(n[0]&&n[0][p])ee+=n[0][p].Name;else{var ie=(W5(n,I,s)||"").split(";;");ie[p-1]?ee=ie[p-1]:ee+="SH33TJSERRX"}c.push(ee);break}Y||(Y={Name:"SH33TJSERRY"}),c.push(Y.Name);break;case"PtgParen":var W="(",ce=")";if(g>=0){switch(b="",e[0][g][1][0]){case 2:W=sr(" ",e[0][g][1][1])+W;break;case 3:W=sr("\r",e[0][g][1][1])+W;break;case 4:ce=sr(" ",e[0][g][1][1])+ce;break;case 5:ce=sr("\r",e[0][g][1][1])+ce;break;default:if(s.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}g=-1}c.push(W+c.pop()+ce);break;case"PtgRefErr":c.push("#REF!");break;case"PtgRefErr3d":c.push("#REF!");break;case"PtgExp":h={c:F[1][1],r:F[1][0]};var we={c:r.c,r:r.r};if(n.sharedf[kt(h)]){var ne=n.sharedf[kt(h)];c.push(jA(ne,o,we,n,s))}else{var re=!1;for(d=0;d!=n.arrayf.length;++d)if(u=n.arrayf[d],!(h.c<u[0].s.c||h.c>u[0].e.c)&&!(h.r<u[0].s.r||h.r>u[0].e.r)){c.push(jA(u[1],o,we,n,s)),re=!0;break}re||c.push(F[1])}break;case"PtgArray":c.push("{"+Ele(F[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":g=v;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":c.push("");break;case"PtgAreaErr":c.push("#REF!");break;case"PtgAreaErr3d":c.push("#REF!");break;case"PtgList":c.push("Table"+F[1].idx+"[#"+F[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(F));default:throw new Error("Unrecognized Formula Token: "+String(F))}var X=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(s.biff!=3&&g>=0&&X.indexOf(e[0][v][0])==-1){F=e[0][g];var de=!0;switch(F[1][0]){case 4:de=!1;case 0:b=sr(" ",F[1][1]);break;case 5:de=!1;case 1:b=sr("\r",F[1][1]);break;default:if(b="",s.WTF)throw new Error("Unexpected PtgAttrSpaceType "+F[1][0])}c.push((de?b:"")+c.pop()+(de?"":b)),g=-1}}if(c.length>1&&s.WTF)throw new Error("bad formula stack");return c[0]}function _le(e){if(e==null){var t=ve(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}else if(typeof e=="number")return Hl(e);return Hl(0)}function Dle(e,t,r,n,s){var i=Vl(t,r,s),o=_le(e.v),c=ve(6),d=33;c.write_shift(2,d),c.write_shift(4,0);for(var u=ve(e.bf.length),h=0;h<e.bf.length;++h)u[h]=e.bf[h];var m=Zr([i,o,c,u]);return m}function _0(e,t,r){var n=e.read_shift(4),s=Sle(e,n,r),i=e.read_shift(4),o=i>0?jle(e,i,s,r):null;return[s,o]}var Ule=_0,D0=_0,Ile=_0,Lle=_0,Ple
vendor: 7,370 bytes, line 938
938={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},
938z5={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284
vendor: 6,118 bytes, line 938
938:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Rle={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function Mle(e){var t="of:="+e.replace(xv,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function Qle(e){return e.replace(/\./,"!")}var wu=typeof Map<"u";function wv(e,t,r){var n=0,s=e.length;if(r){if(wu?r.has(t):Object.prototype.hasOwnProperty.call(r,t)){for(var i=wu?r.get(t):r[t];n<i.length;++n)if(e[i[n]].t===t)return e.Count++,i[n]}}else for(;n<s;++n)if(e[n].t===t)return e.Count++,n;return e[s]={t},e.Count++,e.Unique++,r&&(wu?(r.has(t)||r.set(t,[]),r.get(t).push(s)):(Object.prototype.hasOwnProperty.call(r,t)||(r[t]=[]),r[t].push(s))),s}function U0(e,t){var r={min:e+1,max:e+1},n=-1;return t.MDW&&(ii=t.MDW),t.width!=null?r.customWidth=1:t.wpx!=null?n=Pp(t.wpx):t.wch!=null&&(n=t.wch),n>-1?(r.width=jw(n),r.customWidth=1):t.width!=null&&(r.width=t.width),t.hidden&&(r.hidden=!0),t.level!=null&&(r.outlineLevel=r.level=t.level),r}function J5(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];e.left==null&&(e.left=r[0]),e.right==null&&(e.right=r[1]),e.top==null&&(e.top=r[2]),e.bottom==null&&(e.bottom=r[3]),e.header==null&&(e.header=r[4]),e.footer==null&&(e.footer=r[5])}}function Qo(e,t,r){var n=r.revssf[t.z!=null?t.z:"General"],s=60,i=e.length;if(n==null&&r.ssf){for(;s<392;++s)if(r.ssf[s]==null){V_(t.z,s),r.ssf[s]=t.z,r.revssf[t.z]=n=s;break}}for(s=0;s!=i;++s)if(e[s].numFmtId===n)return s;return e[i]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},i}function Ole(e,t,r){if(e&&e["!ref"]){var n=zt(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}function Hle(e){if(e.length===0)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+Nr(e[r])+'"/>';
vendor: 9,227 bytes, line 938
938return t+"</mergeCells>"}function Vle(e,t,r,n,s){var i=!1,o={},c=null;if(n.bookType!=="xlsx"&&t.vbaraw){var d=t.SheetNames[r];try{t.Workbook&&(d=t.Workbook.Sheets[r].CodeName||d)}catch{}i=!0,o.codeName=Ou(Tt(d))}if(e&&e["!outline"]){var u={summaryBelow:1,summaryRight:1};e["!outline"].above&&(u.summaryBelow=0),e["!outline"].left&&(u.summaryRight=0),c=(c||"")+Ie("outlinePr",null,u)}!i&&!c||(s[s.length]=Ie("sheetPr",c,o))}var Kle=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Gle=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Wle(e){var t={sheet:1};return Kle.forEach(function(r){e[r]!=null&&e[r]&&(t[r]="1")}),Gle.forEach(function(r){e[r]!=null&&!e[r]&&(t[r]="0")}),e.password&&(t.password=k5(e.password).toString(16).toUpperCase()),Ie("sheetProtection",null,t)}function zle(e){return J5(e),Ie("pageMargins",null,e)}function Jle(e,t){for(var r=["<cols>"],n,s=0;s!=t.length;++s)(n=t[s])&&(r[r.length]=Ie("col",null,U0(s,n)));return r[r.length]="</cols>",r.join("")}function qle(e,t,r,n){var s=typeof e.ref=="string"?e.ref:Nr(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,o=ha(s);o.s.r==o.e.r&&(o.e.r=ha(t["!ref"]).e.r,s=Nr(o));for(var c=0;c<i.length;++c){var d=i[c];if(d.Name=="_xlnm._FilterDatabase"&&d.Sheet==n){d.Ref="'"+r.SheetNames[n]+"'!"+s;break}}return c==i.length&&i.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+s}),Ie("autoFilter",null,{ref:s})}function $le(e,t,r,n){var s={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(s.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),Ie("sheetViews",Ie("sheetView",null,s),{})}function Yle(e,t,r,n){if(e.c&&r["!comments"].push([t,e.c]),e.v===void 0&&typeof e.f!="string"||e.t==="z"&&!e.f)return"";var s="",i=e.t,o=e.v;if(e.t!=="z")switch(e.t){case"b":s=e.v?"1":"0";break;case"n":s=""+e.v;break;case"e":s=ph[e.v];break;case"d":n&&n.cellDates?s=kn(e.v,-1).toISOString():(e=Jn(e),e.t="n",s=""+(e.v=zn(kn(e.v)))),typeof e.z>"u"&&(e.z=lr[14]);break;default:s=e.v;break}var c=en("v",Tt(s)),d={r:t},u=Qo(n.cellXfs,e,n);switch(u!==0&&(d.s=u),e.t){case"n":break;case"d":d.t="d";break;case"b":d.t="b";break;case"e":d.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){c=en("v",""+wv(n.Strings,e.v,n.revStrings)),d.t="s";break}d.t="str";break}if(e.t!=i&&(e.t=i,e.v=o),typeof e.f=="string"&&e.f){var h=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;c=Ie("f",Tt(e.f),h)+(e.v!=null?c:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(d.cm=1),Ie("c",c,d)}function Xle(e,t,r,n){var s=[],i=[],o=zt(e["!ref"]),c="",d,u="",h=[],m=0,p=0,x=e["!rows"],w=Array.isArray(e),g={r:u},b,v=-1;for(p=o.s.c;p<=o.e.c;++p)h[p]=gn(p);for(m=o.s.r;m<=o.e.r;++m){for(i=[],u=nn(m),p=o.s.c;p<=o.e.c;++p){d=h[p]+u;var N=w?(e[m]||[])[p]:e[d];N!==void 0&&(c=Yle(N,d,e,t))!=null&&i.push(c)}(i.length>0||x&&x[m])&&(g={r:u},x&&x[m]&&(b=x[m],b.hidden&&(g.hidden=1),v=-1,b.hpx?v=Rp(b.hpx):b.hpt&&(v=b.hpt),v>-1&&(g.ht=v,g.customHeight=1),b.level&&(g.outlineLevel=b.level)),s[s.length]=Ie("row",i.join(""),g))}if(x)for(;m<x.length;++m)x&&x[m]&&(g={r:m+1},b=x[m],b.hidden&&(g.hidden=1),v=-1,b.hpx?v=Rp(b.hpx):b.hpt&&(v=b.hpt),v>-1&&(g.ht=v,g.customHeight=1),b.level&&(g.outlineLevel=b.level),s[s.length]=Ie("row","",g));return s.join("")}function q5(e,t,r,n){var s=[Fr,Ie("worksheet",null,{xmlns:MA[0],"xmlns:r":Or.r})],i=r.SheetNames[e],o=0,c="",d=r.Sheets[i];d==null&&(d={});var u=d["!ref"]||"A1",h=zt(u);if(h.e.c>16383||h.e.r>1048575){if(t.WTF)throw new Error("Range "+u+" exceeds format limit A1:XFD1048576");h.e.c=Math.min(h.e.c,16383),h.e.r=Math.min(h.e.c,1048575),u=Nr(h)}n||(n={}),d["!comments"]=[];var m=[];Vle(d,r,e,t,s),s[s.length]=Ie("dimension",null,{ref:u}),s[s.length]=$le(d,t,e,r),t.sheetFormat&&(s[s.length]=Ie("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),d["!cols"]!=null&&d["!cols"].length>0&&(s[s.length]=Jle(d,d["!cols"])),s[o=s.length]="<sheetData/>",d["!links"]=[],d["!ref"]!=null&&(c=Xle(d,t),c.length>0&&(s[s.length]=c)),s.length>o+1&&(s[s.length]="</sheetData>",s[o]=s[o].replace("/>",">")),d["!protect"]&&(s[s.length]=Wle(d["!protect"])),d["!autofilter"]!=null&&(s[s.length]=qle(d["!autofilter"],d,r,e)),d["!merges"]!=null&&d["!merges"].length>0&&(s[s.length]=Hle(d["!merges"]));var p=-1,x,w=-1;return d["!links"].length>0&&(s[s.length]="<hyperlinks>",d["!links"].forEach(function(g){g[1].Target&&(x={ref:g[0]},g[1].Target.charAt(0)!="#"&&(w=Et(n,-1,Tt(g[1].Target).replace(/#.*$/,""),yt.HLINK),x["r:id"]="rId"+w),(p=g[1].Target.indexOf("#"))>-1&&(x.location=Tt(g[1].Target.slice(p+1))),g[1].Tooltip&&(x.tooltip=Tt(g[1].Tooltip)),s[s.length]=Ie("hyperlink",null,x))}),s[s.length]="</hyperlinks>"),delete d["!links"],d["!margins"]!=null&&(s[s.length]=zle(d["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&(s[s.length]=en("ignoredErrors",Ie("ignoredError",null,{numberStoredAsText:1,sqref:u}))),m.length>0&&(w=Et(n,-1,"../drawings/drawing"+(e+1)+".xml",yt.DRAW),s[s.length]=Ie("drawing",null,{"r:id":"rId"+w}),d["!drawing"]=m),d["!comments"].length>0&&(w=Et(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",yt.VML),s[s.length]=Ie("legacyDrawing",null,{"r:id":"rId"+w}),d["!legacy"]=w),s.length>1&&(s[s.length]="</worksheet>",s[1]=s[1].replace("/>",">")),s.join("")}function Zle(e,t){var r={},n=e.l+t;r.r=e.read_shift(4),e.l+=4;var s=e.read_shift(2);e.l+=1;var i=e.read_shift(1);return e.l=n,i&7&&(r.level=i&7),i&16&&(r.hidden=!0),i&32&&(r.hpt=s/20),r}function ece(e,t,r){var n=ve(145),s=(r["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var i=320;s.hpx?i=Rp(s.hpx)*20:s.hpt&&(i=s.hpt*20),n.write_shift(2,i),n.write_shift(1,0);var o=0;s.level&&(o|=s.level),s.hidden&&(o|=16),(s.hpx||s.hpt)&&(o|=32),n.write_shift(1,o),n.write_shift(1,0);var c=0,d=n.l;n.l+=4;for(var u={r:e,c:0},h=0;h<16;++h)if(!(t.s.c>h+1<<10||t.e.c<h<<10)){for(var m=-1,p=-1,x=h<<10;x<h+1<<10;++x){u.c=x;var w=Array.isArray(r)?(r[u.r]||[])[u.c]:r[kt(u)];w&&(m<0&&(m=x),p=x)}m<0||(++c,n.write_shift(4,m),n.write_shift(4,p))}var g=n.l;return n.l=d,n.write_shift(4,c),n.l=g,n.length>n.l?n.slice(0,n.l):n}function tce(e,t,r,n){var s=ece(n,r,t);(s.length>17||(t["!rows"]||[])[n])&&Ne(e,0,s)}var rce=Yl,nce=OA;function ace(){}function sce(e,t){var r={},n=e[e.l];return++e.l,r.above=!(n&64),r.left=!(n&128),e.l+=18,r.name=mse(e),r}function ice(e,t,r){r==null&&(r=ve(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r.write_shift(1,n);for(var s=1;s<3;++s)r.write_shift(1,0);return Up({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),A5(e,r),r.slice(0,r.l)}function oce(e){var t=Pa(e);return[t]}function lce(e,t,r){return r==null&&(r=ve(8)),Jl(t,r)}function cce(e){var t=ql(e);return[t]}function Ace(e,t,r){return r==null&&(r=ve(4)),$l(t,r)}function dce(e){var t=Pa(e),r=e.read_shift(1);return[t,r,"b"]}function uce(e,t,r){return r==null&&(r=ve(9)),Jl(t,r),r.write_shift(1,e.v?1:0),r}function hce(e){var t=ql(e),r=e.read_shift(1);return[t,r,"b"]}function fce(e,t,r){return r==null&&(r=ve(5)),$l(t,r),r.write_shift(1,e.v?1:0),r}function mce(e){var t=Pa(e),r=e.read_shift(1);return[t,r,"e"]}function pce(e,t,r){return r==null&&(r=ve(9)),Jl(t,r),r.write_shift(1,e.v),r}function gce(e){var t=ql(e),r=e.read_shift(1);return[t,r,"e"]}function xce(e,t,r){return r==null&&(r=ve(8)),$l(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}function yce(e){var t=Pa(e),r=e.read_shift(4);return[t,r,"s"]}function bce(e,t,r){return r==null&&(r=ve(12)),Jl(t,r),r.write_shift(4,t.v),r}function wce(e){var t=ql(e),r=e.read_shift(4);return[t,r,"s"]}function vce(e,t,r){return r==null&&(r=ve(8)),$l(t,r),r.write_shift(4,t.v),r}function Cce(e){var t=Pa(e),r=HA(e);return[t,r,"n"]}function Bce(e,t,r){return r==null&&(r=ve(16)),Jl(t,r),Hl(e.v,r),r}function Nce(e){var t=ql(e),r=HA(e);return[t,r,"n"]}function Fce(e,t,r){return r==null&&(r=ve(12)),$l(t,r),Hl(e.v,r),r}function jce(e){var t=Pa(e),r=d5(e);return[t,r,"n"]}function Sce(e,t,r){return r==null&&(r=ve(12)),Jl(t,r),u5(e.v,r),r}function Ece(e){var t=ql(e),r=d5(e);return[t,r,"n"]}function Tce(e,t,r){return r==null&&(r=ve(8)),$l(t,r),u5(e.v,r),r}function kce(e){var t=Pa(e),r=hv(e);return[t,r,"is"]}function _ce(e){var t=Pa(e),r=xn(e);return[t,r,"str"]}function Dce(e,t,r){return r==null&&(r=ve(12+4*e.v.length)),Jl(t,r),Vr(e.v,r),r.length>r.l?r.slice(0,r.l):r}function Uce(e){var t=ql(e),r=xn(e);return[t,r,"str"]}function Ice(e,t,r){return r==null&&(r=ve(8+4*e.v.length)),$l(t,r),Vr(e.v,r),r.length>r.l?r.slice(0,r.l):r}function Lce(e,t,r){var n=e.l+t,s=Pa(e);s.r=r["!row"];var i=e.read_shift(1),o=[s,i,"b"];if(r.cellFormula){e.l+=2;var c=D0(e,n-e.l,r);o[3]=jA(c,null,s,r.supbooks,r)}else e.l=n;return o}function Pce(e,t,r){var n=e.l+t,s=Pa(e);s.r=r["!row"];var i=e.read_shift(1),o=[s,i,"e"];if(r.cellFormula){e.l+=2;var c=D0(e,n-e.l,r);o[3]=jA(c,null,s,r.supbooks,r)}else e.l=n;return o}function Rce(e,t,r){var n=e.l+t,s=Pa(e);s.r=r["!row"];var i=HA(e),o=[s,i,"n"];
vendor: 6,121 bytes, line 938
938if(r.cellFormula){e.l+=2;var c=D0(e,n-e.l,r);o[3]=jA(c,null,s,r.supbooks,r)}else e.l=n;return o}function Mce(e,t,r){var n=e.l+t,s=Pa(e);s.r=r["!row"];var i=xn(e),o=[s,i,"str"];if(r.cellFormula){e.l+=2;var c=D0(e,n-e.l,r);o[3]=jA(c,null,s,r.supbooks,r)}else e.l=n;return o}var Qce=Yl,Oce=OA;function Hce(e,t){return t==null&&(t=ve(4)),t.write_shift(4,e),t}function Vce(e,t){var r=e.l+t,n=Yl(e),s=fv(e),i=xn(e),o=xn(e),c=xn(e);e.l=r;var d={rfx:n,relId:s,loc:i,display:c};return o&&(d.Tooltip=o),d}function Kce(e,t){var r=ve(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));OA({s:Hr(e[0]),e:Hr(e[0])},r),mv("rId"+t,r);var n=e[1].Target.indexOf("#"),s=n==-1?"":e[1].Target.slice(n+1);return Vr(s||"",r),Vr(e[1].Tooltip||"",r),Vr("",r),r.slice(0,r.l)}function Gce(){}function Wce(e,t,r){var n=e.l+t,s=h5(e),i=e.read_shift(1),o=[s];if(o[2]=i,r.cellFormula){var c=Ule(e,n-e.l,r);o[1]=c}else e.l=n;return o}function zce(e,t,r){var n=e.l+t,s=Yl(e),i=[s];if(r.cellFormula){var o=Lle(e,n-e.l,r);i[1]=o,e.l=n}else e.l=n;return i}function Jce(e,t,r){r==null&&(r=ve(18));var n=U0(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,(n.width||10)*256),r.write_shift(4,0);var s=0;return t.hidden&&(s|=1),typeof n.width=="number"&&(s|=2),t.level&&(s|=t.level<<8),r.write_shift(2,s),r}var $5=["left","right","top","bottom","header","footer"];function qce(e){var t={};return $5.forEach(function(r){t[r]=HA(e)}),t}function $ce(e,t){return t==null&&(t=ve(48)),J5(e),$5.forEach(function(r){Hl(e[r],t)}),t}function Yce(e){var t=e.read_shift(2);return e.l+=28,{RTL:t&32}}function Xce(e,t,r){r==null&&(r=ve(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r.write_shift(2,n),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}function Zce(e){var t=ve(24);return t.write_shift(4,4),t.write_shift(4,1),OA(e,t),t}function eAe(e,t){return t==null&&(t=ve(66)),t.write_shift(2,e.password?k5(e.password):0),t.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(r){r[1]?t.write_shift(4,e[r[0]]!=null&&!e[r[0]]?1:0):t.write_shift(4,e[r[0]]!=null&&e[r[0]]?0:1)}),t}function tAe(){}function rAe(){}function nAe(e,t,r,n,s,i,o){if(t.v===void 0)return!1;var c="";switch(t.t){case"b":c=t.v?"1":"0";break;case"d":t=Jn(t),t.z=t.z||lr[14],t.v=zn(kn(t.v)),t.t="n";break;case"n":case"e":c=""+t.v;break;default:c=t.v;break}var d={r,c:n};switch(d.s=Qo(s.cellXfs,t,s),t.l&&i["!links"].push([kt(d),t.l]),t.c&&i["!comments"].push([kt(d),t.c]),t.t){case"s":case"str":return s.bookSST?(c=wv(s.Strings,t.v,s.revStrings),d.t="s",d.v=c,o?Ne(e,18,vce(t,d)):Ne(e,7,bce(t,d))):(d.t="str",o?Ne(e,17,Ice(t,d)):Ne(e,6,Dce(t,d))),!0;case"n":return t.v==(t.v|0)&&t.v>-1e3&&t.v<1e3?o?Ne(e,13,Tce(t,d)):Ne(e,2,Sce(t,d)):o?Ne(e,16,Fce(t,d)):Ne(e,5,Bce(t,d)),!0;case"b":return d.t="b",o?Ne(e,15,fce(t,d)):Ne(e,4,uce(t,d)),!0;case"e":return d.t="e",o?Ne(e,14,xce(t,d)):Ne(e,3,pce(t,d)),!0}return o?Ne(e,12,Ace(t,d)):Ne(e,1,lce(t,d)),!0}function aAe(e,t,r,n){var s=zt(t["!ref"]||"A1"),i,o="",c=[];Ne(e,145);var d=Array.isArray(t),u=s.e.r;t["!rows"]&&(u=Math.max(s.e.r,t["!rows"].length-1));for(var h=s.s.r;h<=u;++h){o=nn(h),tce(e,t,s,h);var m=!1;if(h<=s.e.r)for(var p=s.s.c;p<=s.e.c;++p){h===s.s.r&&(c[p]=gn(p)),i=c[p]+o;var x=d?(t[h]||[])[p]:t[i];if(!x){m=!1;continue}m=nAe(e,x,h,p,n,t,m)}}Ne(e,146)}function sAe(e,t){!t||!t["!merges"]||(Ne(e,177,Hce(t["!merges"].length)),t["!merges"].forEach(function(r){Ne(e,176,Oce(r))}),Ne(e,178))}function iAe(e,t){!t||!t["!cols"]||(Ne(e,390),t["!cols"].forEach(function(r,n){r&&Ne(e,60,Jce(n,r))}),Ne(e,391))}function oAe(e,t){!t||!t["!ref"]||(Ne(e,648),Ne(e,649,Zce(zt(t["!ref"]))),Ne(e,650))}function lAe(e,t,r){t["!links"].forEach(function(n){if(n[1].Target){var s=Et(r,-1,n[1].Target.replace(/#.*$/,""),yt.HLINK);Ne(e,494,Kce(n,s))}}),delete t["!links"]}function cAe(e,t,r,n){if(t["!comments"].length>0){var s=Et(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",yt.VML);Ne(e,551,mv("rId"+s)),t["!legacy"]=s}}function AAe(e,t,r,n){if(t["!autofilter"]){var s=t["!autofilter"],i=typeof s.ref=="string"?s.ref:Nr(s.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var o=r.Workbook.Names,c=ha(i);c.s.r==c.e.r&&(c.e.r=ha(t["!ref"]).e.r,i=Nr(c));for(var d=0;d<o.length;++d){var u=o[d];if(u.Name=="_xlnm._FilterDatabase"&&u.Sheet==n){u.Ref="'"+r.SheetNames[n]+"'!"+i;break}}d==o.length&&o.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+i}),Ne(e,161,OA(zt(i))),Ne(e,162)}}function dAe(e,t,r){Ne(e,133),Ne(e,137,Xce(t,r)),Ne(e,138),Ne(e,134)}function uAe(e,t){t["!protect"]&&Ne(e,535,eAe(t["!protect"]))}function hAe(e,t,r,n){var s=Vn(),i=r.SheetNames[e],o=r.Sheets[i]||{},c=i;try{r&&r.Workbook&&(c=r.Workbook.Sheets[e].CodeName||c)}catch{}var d=zt(o["!ref"]||"A1");if(d.e.c>16383||d.e.r>1048575){if(t.WTF)throw new Error("Range "+(o["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");d.e.c=Math.min(d.e.c,16383),d.e.r=Math.min(d.e.c,1048575)}return o["!links"]=[],o["!comments"]=[],Ne(s,129),(r.vbaraw||o["!outline"])&&Ne(s,147,ice(c,o["!outline"])),Ne(s,148,nce(d)),dAe(s,o,r.Workbook),iAe(s,o),aAe(s,o,e,t),uAe(s,o),AAe(s,o,r,e),sAe(s,o),lAe(s,o,n),o["!margins"]&&Ne(s,476,$ce(o["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&oAe(s,o),cAe(s,o,e,n),Ne(s,130),s.end()}function fAe(e,t){e.l+=10;var r=xn(e);return{name:r}}var mAe=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorder
938UnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]];function pAe(e){return!e.Workbook||!e.Workbook.WBProps?"false":zae(e.Workbook.WBProps.date1904)?"true":"false"}var gAe="][*?/\\".split("");function Y5(e,t){if(e.length>31)throw new Error("Sheet names cannot exceed 31 chars");var r=!0;return gAe.forEach(function(n){if(e.indexOf(n)!=-1)throw new Error("Sheet name cannot contain : \\ / ? * [ ]")}),r}function xAe(e,t,r){e.forEach(function(n,s){Y5(n);for(var i=0;i<s;++i)if(n==e[i])throw new Error("Duplicate Sheet Name: "+n);if(r){var o=t&&t[s]&&t[s].CodeName||n;if(o.charCodeAt(0)==95&&o.length>22)throw new Error("Bad Code Name: Worksheet"+o)}})}function yAe(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];xAe(e.SheetNames,t,!!e.vbaraw);for(var r=0;r<e.SheetNames.length;++r)Ole(e.Sheets[e.SheetNames[r]],e.SheetNames[r],r)}function X5(e){var t=[Fr];t[t.length]=Ie("workbook",null,{xmlns:MA[0],"xmlns:r":Or.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(mAe.forEach(function(c){e.Workbook.WBProps[c[0]]!=null&&e.Workbook.WBProps[c[0]]!=c[1]&&(n[c[0]]=e.Workbook.WBProps[c[0]])}),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=Ie("workbookPr",null,n);var s=e.Workbook&&e.Workbook.Sheets||[],i=0;if(s&&s[0]&&s[0].Hidden){for(t[t.length]="<bookViews>",i=0;i!=e.SheetNames.length&&!(!s[i]||!s[i].Hidden);++i);i==e.SheetNames.length&&(i=0),t[t.length]='<workbookView firstSheet="'+i+'" activeTab="'+i+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",i=0;i!=e.SheetNames.length;++i){var o={name:Tt(e.SheetNames[i].slice(0,31))};if(o.sheetId=""+(i+1),o["r:id"]="rId"+(i+1),s[i])switch(s[i].Hidden){case 1:o.state="hidden";break;case 2:o.state="veryHidden";break}t[t.length]=Ie("sheet",null,o)}return t[t.length]="</sheets>",r&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(c){var d={name:c.Name};c.Comment&&(d.comment=c.Comment),c.Sheet!=null&&(d.localSheetId=""+c.Sheet),c.Hidden&&(d.hidden="1"),c.Ref&&(t[t.length]=Ie("definedName",Tt(c.Ref),d))}),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function bAe(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=Fw(e),r.name=xn(e),r}function wAe(e,t){return t||(t=ve(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),mv(e.strRelID,t),Vr(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function vAe(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var s=t>8?xn(e):"";return s.length>0&&(r.CodeName=s),r.autoCompressPictures=!!(n&65536),r.backupFile=!!(n&64),r.checkCompatibility=!!(n&4096),r.date1904=!!(n&1),r.filterPrivacy=!!(n&8),r.hidePivotFieldList=!!(n&1024),r.promptedSolutions=!!(n&16),r.publishItems=!!(n&2048),r.refreshAllConnections=!!(n&262144),r.saveExternalLinkValues=!!(n&128),r.showBorderUnselectedTables=!!(n&4),r.showInkAnnotation=!!(n&32),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(n&32768),r.updateLinks=["userSet","never","always"][n>>8&3],r}function CAe(e,t){t||(t=ve(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),A5(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function BAe(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var s=e.read_shift(4),i=pse(e),o=Ile(e,0,r),c=fv(e);e.l=n;var d={Name:i,Ptg:o};return s<268435455&&(d.Sheet=s),c&&(d.Comment=c),d}function NAe(e,t){Ne(e,143);for(var r=0;r!=t.SheetNames.length;++r){var n=t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,s={Hidden:n,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]};Ne(e,156,wAe(s))}Ne(e,144)}function FAe(e,t){t||(t=ve(127));for(var r=0;r!=4;++r)t.write_shift(4,0);return Vr("SheetJS",t),Vr(Fp.version,t),Vr(Fp.version,t),Vr("7262",t),t.length>t.l?t.slice(0,t.l):t}function jAe(e,t){t||(t=ve(29)),t.write_shift(-4,0),t.write_shift(-4,460),t.write_shift(4,28800),t.write_shift(4,17600),t.write_shift(4,500),t.write_shift(4,e),t.write_shift(4,e);var r=120;return t.write_shift(1,r),t.length>t.l?t.slice(0,t.l):t}function SAe(e,t){if(!(!t.Workbook||!t.Workbook.Sheets)){for(var r=t.Workbook.Sheets,n=0,s=-1,i=-1;n<r.length;++n)!r[n]||!r[n].Hidden&&s==-1?s=n:r[n].Hidden==1&&i==-1&&(i=n);i>s||(Ne(e,135),Ne(e,158,jAe(s)),Ne(e,136))}}function EAe(e,t){var r=Vn();return Ne(r,131),Ne(r,128,FAe()),Ne(r,153,CAe(e.Workbook&&e.Workbook.WBProps||null)),SAe(r,e),NAe(r,e),Ne(r,132),r.end()}function TAe(e,t,r){return(t.slice(-4)===".bin"?EAe:X5)(e)}function kAe(e,t,r,n,s){return(t.slice(-4)===".bin"?hAe:q5)(e,r,n,s)}function _Ae(e,t,r){return(t.slice(-4)===".bin"?$ie:U5)(e,r)}function DAe(e,t,r){return(t.slice(-4)===".bin"?Cie:T5)(e,r)}function UAe(e,t,r){return(t.slice(-4)===".bin"?uoe:M5)(e)}function IAe(e){return(e.slice(-4)===".bin"?aoe:P5)()}function LAe(e,t){var r=[];return e.Props&&r.push(_se(e.Props,t)),e.Custprops&&r.push(Dse(e.Props,e.Custprops)),r.join("")}function PAe(){return""}function RAe(e,t){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];
vendor: 4,088 bytes, line 938
938return t.cellXfs.forEach(function(n,s){var i=[];i.push(Ie("NumberFormat",null,{"ss:Format":Tt(lr[n.numFmtId])}));var o={"ss:ID":"s"+(21+s)};r.push(Ie("Style",i.join(""),o))}),Ie("Styles",r.join(""))}function Z5(e){return Ie("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+yv(e.Ref,{r:0,c:0})})}function MAe(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n<t.length;++n){var s=t[n];s.Sheet==null&&(s.Name.match(/^_xlfn\./)||r.push(Z5(s)))}return Ie("Names",r.join(""))}function QAe(e,t,r,n){if(!e||!((n||{}).Workbook||{}).Names)return"";for(var s=n.Workbook.Names,i=[],o=0;o<s.length;++o){var c=s[o];c.Sheet==r&&(c.Name.match(/^_xlfn\./)||i.push(Z5(c)))}return i.join("")}function OAe(e,t,r,n){if(!e)return"";var s=[];if(e["!margins"]&&(s.push("<PageSetup>"),e["!margins"].header&&s.push(Ie("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&s.push(Ie("Footer",null,{"x:Margin":e["!margins"].footer})),s.push(Ie("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),s.push("</PageSetup>")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)s.push(Ie("Visible",n.Workbook.Sheets[r].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i<r&&!(n.Workbook.Sheets[i]&&!n.Workbook.Sheets[i].Hidden);++i);i==r&&s.push("<Selected/>")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&s.push("<DisplayRightToLeft/>"),e["!protect"]&&(s.push(en("ProtectContents","True")),e["!protect"].objects&&s.push(en("ProtectObjects","True")),e["!protect"].scenarios&&s.push(en("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?s.push(en("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&s.push(en("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(o){e["!protect"][o[0]]&&s.push("<"+o[1]+"/>")})),s.length==0?"":Ie("WorksheetOptions",s.join(""),{xmlns:oa.x})}function HAe(e){return e.map(function(t){var r=Wae(t.t||""),n=Ie("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return Ie("Comment",n,{"ss:Author":t.a})}).join("")}function VAe(e,t,r,n,s,i,o){if(!e||e.v==null&&e.f==null)return"";var c={};if(e.f&&(c["ss:Formula"]="="+Tt(yv(e.f,o))),e.F&&e.F.slice(0,t.length)==t){var d=Hr(e.F.slice(t.length+1));c["ss:ArrayRange"]="RC:R"+(d.r==o.r?"":"["+(d.r-o.r)+"]")+"C"+(d.c==o.c?"":"["+(d.c-o.c)+"]")}if(e.l&&e.l.Target&&(c["ss:HRef"]=Tt(e.l.Target),e.l.Tooltip&&(c["x:HRefScreenTip"]=Tt(e.l.Tooltip))),r["!merges"])for(var u=r["!merges"],h=0;h!=u.length;++h)u[h].s.c!=o.c||u[h].s.r!=o.r||(u[h].e.c>u[h].s.c&&(c["ss:MergeAcross"]=u[h].e.c-u[h].s.c),u[h].e.r>u[h].s.r&&(c["ss:MergeDown"]=u[h].e.r-u[h].s.r));var m="",p="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":m="Number",p=String(e.v);break;case"b":m="Boolean",p=e.v?"1":"0";break;case"e":m="Error",p=ph[e.v];break;case"d":m="DateTime",p=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||lr[14]);break;case"s":m="String",p=Gae(e.v||"");break}var x=Qo(n.cellXfs,e,n);c["ss:StyleID"]="s"+(21+x),c["ss:Index"]=o.c+1;var w=e.v!=null?p:"",g=e.t=="z"?"":'<Data ss:Type="'+m+'">'+w+"</Data>";return(e.c||[]).length>0&&(g+=HAe(e.c)),Ie("Cell",g,c)}function KAe(e,t){var r='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=D5(t.hpt)),t.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(r+=' ss:Hidden="1"')),r+">"}function GAe(e,t,r,n){if(!e["!ref"])return"";var s=zt(e["!ref"]),i=e["!merges"]||[],o=0,c=[];e["!cols"]&&e["!cols"].forEach(function(b,v){gv(b);var N=!!b.width,F=U0(v,b),S={"ss:Index":v+1};
vendor: 5,231 bytes, line 938
938N&&(S["ss:Width"]=Lp(F.width)),b.hidden&&(S["ss:Hidden"]="1"),c.push(Ie("Column",null,S))});for(var d=Array.isArray(e),u=s.s.r;u<=s.e.r;++u){for(var h=[KAe(u,(e["!rows"]||[])[u])],m=s.s.c;m<=s.e.c;++m){var p=!1;for(o=0;o!=i.length;++o)if(!(i[o].s.c>m)&&!(i[o].s.r>u)&&!(i[o].e.c<m)&&!(i[o].e.r<u)){(i[o].s.c!=m||i[o].s.r!=u)&&(p=!0);break}if(!p){var x={r:u,c:m},w=kt(x),g=d?(e[u]||[])[m]:e[w];h.push(VAe(g,w,e,t,r,n,x))}}h.push("</Row>"),h.length>2&&c.push(h.join(""))}return c.join("")}function WAe(e,t,r){var n=[],s=r.SheetNames[e],i=r.Sheets[s],o=i?QAe(i,t,e,r):"";return o.length>0&&n.push("<Names>"+o+"</Names>"),o=i?GAe(i,t,e,r):"",o.length>0&&n.push("<Table>"+o+"</Table>"),n.push(OAe(i,t,e,r)),n.join("")}function zAe(e,t){t||(t={}),e.SSF||(e.SSF=Jn(lr)),e.SSF&&(E0(),S0(e.SSF),t.revssf=T0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Qo(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(LAe(e,t)),r.push(PAe()),r.push(""),r.push("");for(var n=0;n<e.SheetNames.length;++n)r.push(Ie("Worksheet",WAe(n,t,e),{"ss:Name":Tt(e.SheetNames[n])}));return r[2]=RAe(e,t),r[3]=MAe(e),Fr+Ie("Workbook",r.join(""),{xmlns:oa.ss,"xmlns:o":oa.o,"xmlns:x":oa.x,"xmlns:ss":oa.ss,"xmlns:dt":oa.dt,"xmlns:html":oa.html})}var My={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function JAe(e,t){var r=[],n=[],s=[],i=0,o,c=jj(Qj,"n"),d=jj(Oj,"n");if(e.Props)for(o=on(e.Props),i=0;i<o.length;++i)(Object.prototype.hasOwnProperty.call(c,o[i])?r:Object.prototype.hasOwnProperty.call(d,o[i])?n:s).push([o[i],e.Props[o[i]]]);if(e.Custprops)for(o=on(e.Custprops),i=0;i<o.length;++i)Object.prototype.hasOwnProperty.call(e.Props||{},o[i])||(Object.prototype.hasOwnProperty.call(c,o[i])?r:Object.prototype.hasOwnProperty.call(d,o[i])?n:s).push([o[i],e.Custprops[o[i]]]);var u=[];for(i=0;i<s.length;++i)C5.indexOf(s[i][0])>-1||b5.indexOf(s[i][0])>-1||s[i][1]!=null&&u.push(s[i]);n.length&&Dt.utils.cfb_add(t,"/�SummaryInformation",Wj(n,My.SI,d,Oj)),(r.length||u.length)&&Dt.utils.cfb_add(t,"/�DocumentSummaryInformation",Wj(r,My.DSI,c,Qj,u.length?u:null,My.UDI))}function qAe(e,t){var r=t||{},n=Dt.utils.cfb_new({root:"R"}),s="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":s="/Workbook",r.biff=8;break;case"biff5":s="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return Dt.utils.cfb_add(n,s,eD(e,r)),r.biff==8&&(e.Props||e.Custprops)&&JAe(e,n),r.biff==8&&e.vbaraw&&hoe(n,Dt.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),n}var $Ae={0:{f:Zle},1:{f:oce},2:{f:jce},3:{f:mce},4:{f:dce},5:{f:Cce},6:{f:_ce},7:{f:yce},8:{f:Mce},9:{f:Rce},10:{f:Lce},11:{f:Pce},12:{f:cce},13:{f:Ece},14:{f:gce},15:{f:hce},16:{f:Nce},17:{f:Uce},18:{f:wce},19:{f:hv},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:BAe},40:{},42:{},43:{f:_ie},44:{f:Tie},45:{f:Iie},46:{f:Pie},47:{f:Lie},48:{},49:{f:cse},50:{},51:{f:Zie},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:Aie},62:{f:kce},63:{f:soe},64:{f:tAe},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Ts,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:Yce},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:sce},148:{f:rce,p:16},151:{f:Gce},152:{},153:{f:vAe},154:{},155:{},156:{f:bAe},157:{},158:{},159:{T:1,f:bie},160:{T:-1},161:{T:1,f:Yl},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Qce},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1}
vendor: 7,034 bytes, line 938
938,322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:Yie},336:{T:-1},337:{f:roe,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:Fw},357:{},358:{},359:{},360:{T:1},361:{},362:{f:aie},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:Wce},427:{f:zce},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:qce},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:ace},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:Vce},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:Fw},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:Aoe},633:{T:1},634:{T:-1},635:{T:1,f:loe},636:{T:-1},637:{f:hse},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:fAe},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:rAe},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function Le(e,t,r,n){var s=t;if(!isNaN(s)){var i=n||(r||[]).length||0,o=e.next(4);o.write_shift(2,s),o.write_shift(2,i),i>0&&Av(r)&&e.push(r)}}function YAe(e,t,r,n){var s=(r||[]).length||0;if(s<=8224)return Le(e,t,r,s);var i=t;if(!isNaN(i)){for(var o=r.parts||[],c=0,d=0,u=0;u+(o[c]||8224)<=8224;)u+=o[c]||8224,c++;var h=e.next(4);for(h.write_shift(2,i),h.write_shift(2,u),e.push(r.slice(d,d+u)),d+=u;d<s;){for(h=e.next(4),h.write_shift(2,60),u=0;u+(o[c]||8224)<=8224;)u+=o[c]||8224,c++;h.write_shift(2,u),e.push(r.slice(d,d+u)),d+=u}}}function xh(e,t,r){return e||(e=ve(7)),e.write_shift(2,t),e.write_shift(2,r),e.write_shift(2,0),e.write_shift(1,0),e}function XAe(e,t,r,n){var s=ve(9);return xh(s,e,t),N5(r,n||"b",s),s}function ZAe(e,t,r){var n=ve(8+2*r.length);return xh(n,e,t),n.write_shift(1,r.length),n.write_shift(r.length,r,"sbcs"),n.l<n.length?n.slice(0,n.l):n}function ede(e,t,r,n){if(t.v!=null)switch(t.t){case"d":case"n":var s=t.t=="d"?zn(kn(t.v)):t.v;s==(s|0)&&s>=0&&s<65536?Le(e,2,fie(r,n,s)):Le(e,3,hie(r,n,s));return;case"b":case"e":Le(e,5,XAe(r,n,t.v,t.t));return;
vendor: 4,495 bytes, line 938
938case"s":case"str":Le(e,4,ZAe(r,n,(t.v||"").slice(0,255)));return}Le(e,1,xh(null,r,n))}function tde(e,t,r,n){var s=Array.isArray(t),i=zt(t["!ref"]||"A1"),o,c="",d=[];if(i.e.c>255||i.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),o=Nr(i)}for(var u=i.s.r;u<=i.e.r;++u){c=nn(u);for(var h=i.s.c;h<=i.e.c;++h){u===i.s.r&&(d[h]=gn(h)),o=d[h]+c;var m=s?(t[u]||[])[h]:t[o];m&&ede(e,m,u,h)}}}function rde(e,t){for(var r=t||{},n=Vn(),s=0,i=0;i<e.SheetNames.length;++i)e.SheetNames[i]==r.sheet&&(s=i);if(s==0&&r.sheet&&e.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return Le(n,r.biff==4?1033:r.biff==3?521:9,pv(e,16,r)),tde(n,e.Sheets[e.SheetNames[s]],s,r),Le(n,10),n.end()}function nde(e,t,r){Le(e,49,$se({sz:12,name:"Arial"},r))}function ade(e,t,r){t&&[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var s=n[0];s<=n[1];++s)t[s]!=null&&Le(e,1054,Zse(s,t[s],r))})}function sde(e,t){var r=ve(19);r.write_shift(4,2151),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,1),r.write_shift(4,0),Le(e,2151,r),r=ve(39),r.write_shift(4,2152),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,0),r.write_shift(4,0),r.write_shift(2,1),r.write_shift(4,4),r.write_shift(2,0),S5(zt(t["!ref"]||"A1"),r),r.write_shift(4,4),Le(e,2152,r)}function ide(e,t){for(var r=0;r<16;++r)Le(e,224,Jj({numFmtId:0,style:!0},0,t));t.cellXfs.forEach(function(n){Le(e,224,Jj(n,0,t))})}function ode(e,t){for(var r=0;r<t["!links"].length;++r){var n=t["!links"][r];Le(e,440,oie(n)),n[1].Tooltip&&Le(e,2048,lie(n))}delete t["!links"]}function lde(e,t){if(t){var r=0;t.forEach(function(n,s){++r<=256&&n&&Le(e,125,die(U0(s,n),s))})}}function cde(e,t,r,n,s){var i=16+Qo(s.cellXfs,t,s);if(t.v==null&&!t.bf){Le(e,513,Vl(r,n,i));return}if(t.bf)Le(e,6,Dle(t,r,n,s,i));else switch(t.t){case"d":case"n":var o=t.t=="d"?zn(kn(t.v)):t.v;Le(e,515,nie(r,n,o,i));break;case"b":case"e":Le(e,517,rie(r,n,t.v,i,s,t.t));break;case"s":case"str":if(s.bookSST){var c=wv(s.Strings,t.v,s.revStrings);Le(e,253,Yse(r,n,c,i))}else Le(e,516,Xse(r,n,(t.v||"").slice(0,255),i,s));break;default:Le(e,513,Vl(r,n,i))}}function Ade(e,t,r){var n=Vn(),s=r.SheetNames[e],i=r.Sheets[s]||{},o=(r||{}).Workbook||{},c=(o.Sheets||[])[e]||{},d=Array.isArray(i),u=t.biff==8,h,m="",p=[],x=zt(i["!ref"]||"A1"),w=u?65536:16384;if(x.e.c>255||x.e.r>=w){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");x.e.c=Math.min(x.e.c,255),x.e.r=Math.min(x.e.c,w-1)}Le(n,2057,pv(r,16,t)),Le(n,13,Ea(1)),Le(n,12,Ea(100)),Le(n,15,Fn(!0)),Le(n,17,Fn(!1)),Le(n,16,Hl(.001)),Le(n,95,Fn(!0)),Le(n,42,Fn(!1)),Le(n,43,Fn(!1)),Le(n,130,Ea(1)),Le(n,128,tie()),Le(n,131,Fn(!1)),Le(n,132,Fn(!1)),u&&lde(n,i["!cols"]),Le(n,512,eie(x,t)),u&&(i["!links"]=[]);for(var g=x.s.r;g<=x.e.r;++g){m=nn(g);for(var b=x.s.c;b<=x.e.c;++b){g===x.s.r&&(p[b]=gn(b)),h=p[b]+m;var v=d?(i[g]||[])[b]:i[h];v&&(cde(n,v,g,b,t),u&&v.l&&i["!links"].push([h,v.l]))}}var N=c.CodeName||c.name||s;return u&&Le(n,574,qse((o.Views||[])[0])),u&&(i["!merges"]||[]).length&&Le(n,229,iie(i["!merges"])),u&&ode(n,i),Le(n,442,j5(N)),u&&sde(n,i),Le(n,10),n.end()}function dde(e,t,r){var n=Vn(),s=(e||{}).Workbook||{},i=s.Sheets||[],o=s.WBProps||{},c=r.biff==8,d=r.biff==5;if(Le(n,2057,pv(e,5,r)),r.bookType=="xla"&&Le(n,135),Le(n,225,c?Ea(1200):null),Le(n,193,Lse(2)),d&&Le(n,191),d&&Le(n,192),Le(n,226),Le(n,92,Gse("SheetJS",r)),Le(n,66,Ea(c?1200:1252)),c&&Le(n,353,Ea(0)),c&&Le(n,448),Le(n,317,uie(e.SheetNames.length)),c&&e.vbaraw&&Le(n,211),c&&e.vbaraw){var u=o.CodeName||"ThisWorkbook";Le(n,442,j5(u))}Le(n,156,Ea(17)),Le(n,25,Fn(!1)),Le(n,18,Fn(!1)),Le(n,19,Ea(0)),c&&Le(n,431,Fn(!1)),c&&Le(n,444,Ea(0)),Le(n,61,Jse()),Le(n,64,Fn(!1)),Le(n,141,Ea(0)),Le(n,34,Fn(pAe(e)=="true")),Le(n,14,Fn(!0)),c&&Le(n,439,Fn(!1)),Le(n,218,Ea(0)),nde(n,e,r),ade(n,e.SSF,r),ide(n,r),c&&Le(n,352,Fn(!1));var h=n.end(),m=Vn();c&&Le(m,140,cie()),c&&r.Strings&&YAe(m,252,zse(r.Strings)),Le(m,10);var p=m.end(),x=Vn(),w=0,g=0;for(g=0;g<e.SheetNames.length;++g)w+=(c?12:11)+(c?2:1)*e.SheetNames[g].length;var b=h.length+w+p.length;for(g=0;g<e.SheetNames.length;++g){var v=i[g]||{};Le(x,133,Wse({pos:b,hs:v.Hidden||0,dt:0,name:e.SheetNames[g]},r)),b+=t[g].length}var N=x.end();if(w!=N.length)throw new Error("BS8 "+w+" != "+N.length);var F=[];return h.length&&F.push(h),N.length&&F.push(N),p.length&&F.push(p),Zr(F)}function ude(e,t){var r=t||{},n=[];
vendor: 4,689 bytes, line 938
938e&&!e.SSF&&(e.SSF=Jn(lr)),e&&e.SSF&&(E0(),S0(e.SSF),r.revssf=T0(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,vv(r),r.cellXfs=[],Qo(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var s=0;s<e.SheetNames.length;++s)n[n.length]=Ade(s,r,e);return n.unshift(dde(e,n,r)),Zr(n)}function eD(e,t){for(var r=0;r<=e.SheetNames.length;++r){var n=e.Sheets[e.SheetNames[r]];if(!(!n||!n["!ref"])){var s=ha(n["!ref"]);s.e.c>255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}}var i=t||{};switch(i.biff||2){case 8:case 5:return ude(e,t);case 4:case 3:case 2:return rde(e,t)}throw new Error("invalid type "+i.bookType+" for BIFF")}function hde(e,t,r,n){for(var s=e["!merges"]||[],i=[],o=t.s.c;o<=t.e.c;++o){for(var c=0,d=0,u=0;u<s.length;++u)if(!(s[u].s.r>r||s[u].s.c>o)&&!(s[u].e.r<r||s[u].e.c<o)){if(s[u].s.r<r||s[u].s.c<o){c=-1;break}c=s[u].e.r-s[u].s.r+1,d=s[u].e.c-s[u].s.c+1;break}if(!(c<0)){var h=kt({r,c:o}),m=n.dense?(e[r]||[])[o]:e[h],p=m&&m.v!=null&&(m.h||Kae(m.w||(mi(m),m.w)||""))||"",x={};c>1&&(x.rowspan=c),d>1&&(x.colspan=d),n.editable?p='<span contenteditable="true">'+p+"</span>":m&&(x["data-t"]=m&&m.t||"z",m.v!=null&&(x["data-v"]=m.v),m.z!=null&&(x["data-z"]=m.z),m.l&&(m.l.Target||"#").charAt(0)!="#"&&(p='<a href="'+m.l.Target+'">'+p+"</a>")),x.id=(n.id||"sjs")+"-"+h,i.push(Ie("td",p,x))}}var w="<tr>";return w+i.join("")+"</tr>"}var fde='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',mde="</body></html>";function pde(e,t,r){var n=[];return n.join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function tD(e,t){var r=t||{},n=r.header!=null?r.header:fde,s=r.footer!=null?r.footer:mde,i=[n],o=ha(e["!ref"]);r.dense=Array.isArray(e),i.push(pde(e,o,r));for(var c=o.s.r;c<=o.e.r;++c)i.push(hde(e,o,c,r));return i.push("</table>"+s),i.join("")}function rD(e,t,r){var n=r||{},s=0,i=0;if(n.origin!=null)if(typeof n.origin=="number")s=n.origin;else{var o=typeof n.origin=="string"?Hr(n.origin):n.origin;s=o.r,i=o.c}var c=t.getElementsByTagName("tr"),d=Math.min(n.sheetRows||1e7,c.length),u={s:{r:0,c:0},e:{r:s,c:i}};if(e["!ref"]){var h=ha(e["!ref"]);u.s.r=Math.min(u.s.r,h.s.r),u.s.c=Math.min(u.s.c,h.s.c),u.e.r=Math.max(u.e.r,h.e.r),u.e.c=Math.max(u.e.c,h.e.c),s==-1&&(u.e.r=s=h.e.r+1)}var m=[],p=0,x=e["!rows"]||(e["!rows"]=[]),w=0,g=0,b=0,v=0,N=0,F=0;for(e["!cols"]||(e["!cols"]=[]);w<c.length&&g<d;++w){var S=c[w];if(t3(S)){if(n.display)continue;x[g]={hidden:!0}}var E=S.children;for(b=v=0;b<E.length;++b){var D=E[b];if(!(n.display&&t3(D))){var T=D.hasAttribute("data-v")?D.getAttribute("data-v"):D.hasAttribute("v")?D.getAttribute("v"):Jae(D.innerHTML),k=D.getAttribute("data-z")||D.getAttribute("z");for(p=0;p<m.length;++p){var I=m[p];I.s.c==v+i&&I.s.r<g+s&&g+s<=I.e.r&&(v=I.e.c+1-i,p=-1)}F=+D.getAttribute("colspan")||1,((N=+D.getAttribute("rowspan")||1)>1||F>1)&&m.push({s:{r:g+s,c:v+i},e:{r:g+s+(N||1)-1,c:v+i+(F||1)-1}});var Y={t:"s",v:T},ee=D.getAttribute("data-t")||D.getAttribute("t")||"";T!=null&&(T.length==0?Y.t=ee||"z":n.raw||T.trim().length==0||ee=="s"||(T==="TRUE"?Y={t:"b",v:!0}:T==="FALSE"?Y={t:"b",v:!1}:isNaN(si(T))?isNaN(Qu(T).getDate())||(Y={t:"d",v:kn(T)},n.cellDates||(Y={t:"n",v:zn(Y.v)}),Y.z=n.dateNF||lr[14]):Y={t:"n",v:si(T)})),Y.z===void 0&&k!=null&&(Y.z=k);var ie="",W=D.getElementsByTagName("A");if(W&&W.length)for(var ce=0;ce<W.length&&!(W[ce].hasAttribute("href")&&(ie=W[ce].getAttribute("href"),ie.charAt(0)!="#"));++ce);ie&&ie.charAt(0)!="#"&&(Y.l={Target:ie}),n.dense?(e[g+s]||(e[g+s]=[]),e[g+s][v+i]=Y):e[kt({c:v+i,r:g+s})]=Y,u.e.c<v+i&&(u.e.c=v+i),v+=F}}++g}return m.length&&(e["!merges"]=(e["!merges"]||[]).concat(m)),u.e.r=Math.max(u.e.r,g-1+s),e["!ref"]=Nr(u),g>=d&&(e["!fullref"]=Nr((u.e.r=c.length-w+g-1+s,u))),e}function nD(e,t){var r=t||{},n=r.dense?[]:{};return rD(n,e,t)}function gde(e,t){return zl(nD(e,t),t)}function t3(e){var t="",r=xde(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),t==="none"}function xde(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}var yde=(function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),t="<office:document-styles "+Hu({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office
938:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+e+"</office:document-styles>";return function(){return Fr+t}})(),r3=(function(){var e=function(i){return Tt(i).replace(/ +/g,function(o){return'<text:s text:c="'+o.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},t=` <table:table-cell /> 939`,r=` <table:covered-table-cell/> 940`,n=function(i,o,c){var d=[];d.push(' <table:table table:name="'+Tt(o.SheetNames[c])+`" table:style-name="ta1"> 941`);var u=0,h=0,m=ha(i["!ref"]||"A1"),p=i["!merges"]||[],x=0,w=Array.isArray(i);if(i["!cols"])for(h=0;h<=m.e.c;++h)d.push(" <table:table-column"+(i["!cols"][h]?' table:style-name="co'+i["!cols"][h].ods+'"':"")+`></table:table-column> 942`);var g="",b=i["!rows"]||[];for(u=0;u<m.s.r;++u)g=b[u]?' table:style-name="ro'+b[u].ods+'"':"",d.push(" <table:table-row"+g+`></table:table-row> 943`);for(;u<=m.e.r;++u){for(g=b[u]?' table:style-name="ro'+b[u].ods+'"':"",d.push(" <table:table-row"+g+`> 944`),h=0;h<m.s.c;++h)d.push(t);for(;h<=m.e.c;++h){var v=!1,N={},F="";for(x=0;x!=p.length;++x)if(!(p[x].s.c>h)&&!(p[x].s.r>u)&&!(p[x].e.c<h)&&!(p[x].e.r<u)){(p[x].s.c!=h||p[x].s.r!=u)&&(v=!0),N["table:number-columns-spanned"]=p[x].e.c-p[x].s.c+1,N["table:number-rows-spanned"]=p[x].e.r-p[x].s.r+1;break}if(v){d.push(r);continue}var S=kt({r:u,c:h}),E=w?(i[u]||[])[h]:i[S];if(E&&E.f&&(N["table:formula"]=Tt(Mle(E.f)),E.F&&E.F.slice(0,S.length)==S)){var D=ha(E.F);N["table:number-matrix-columns-spanned"]=D.e.c-D.s.c+1,N["table:number-matrix-rows-spanned"]=D.e.r-D.s.r+1}if(!E){d.push(t);continue}switch(E.t){case"b":F=E.v?"TRUE":"FALSE",N["office:value-type"]="boolean",N["office:boolean-value"]=E.v?"true":"false";break;case"n":F=E.w||String(E.v||0),N["office:value-type"]="float",N["office:value"]=E.v||0;break;case"s":case"str":F=E.v==null?"":E.v,N["office:value-type"]="string";break;case"d":F=E.w||kn(E.v).toISOString(),N["office:value-type"]="date",N["office:date-value"]=kn(E.v).toISOString(),N["table:style-name"]="ce1";break;default:d.push(t);continue}var T=e(F);if(E.l&&E.l.Target){var k=E.l.Target;k=k.charAt(0)=="#"?"#"+Qle(k.slice(1)):k,k.charAt(0)!="#"&&!k.match(/^\w+:/)&&(k="../"+k),T=Ie("text:a",T,{"xlink:href":k.replace(/&/g,"&")})}d.push(" "+Ie("table:table-cell",Ie("text:p",T,{}),N)+` 945`)}d.push(` </table:table-row> 946`)}return d.push(` </table:table> 947`),d.join("")},s=function(i,o){i.push(` <office:automatic-styles> 948`),i.push(` <number:date-style style:name="N37" number:automatic-order="true"> 949`),i.push(` <number:month number:style="long"/> 950`),i.push(` <number:text>/</number:text> 951`),i.push(` <number:day number:style="long"/> 952`),i.push(` <number:text>/</number:text> 953`),i.push(` <number:year/> 954`),i.push(` </number:date-style> 955`);var c=0;o.SheetNames.map(function(u){return o.Sheets[u]}).forEach(function(u){if(u&&u["!cols"]){for(var h=0;h<u["!cols"].length;++h)if(u["!cols"][h]){var m=u["!cols"][h];if(m.width==null&&m.wpx==null&&m.wch==null)continue;gv(m),m.ods=c;var p=u["!cols"][h].wpx+"px";i.push(' <style:style style:name="co'+c+`" style:family="table-column"> 956`),i.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+p+`"/> 957`),i.push(` </style:style> 958`),++c}}});var d=0;o.SheetNames.map(function(u){return o.Sheets[u]}).forEach(function(u){if(u&&u["!rows"]){for(var h=0;h<u["!rows"].length;++h)if(u["!rows"][h]){u["!rows"][h].ods=d;var m=u["!rows"][h].hpx+"px";i.push(' <style:style style:name="ro'+d+`" style:family="table-row"> 959`),i.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+m+`"/> 960`),i.push(` </style:style> 961`),++d}}}),i.push(` <style:style style:name="ta1" style:family="table" style:master-page-name="mp1"> 962`),i.push(` <style:table-properties table:display="true" style:writing-mode="lr-tb"/> 963`),i.push(` </style:style> 964`),i.push(` <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/> 965`),i.push(` </office:automatic-styles> 966`)};return function(o,c){var d=[Fr],u=Hu({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office
966:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),h=Hu({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});c.bookType=="fods"?(d.push("<office:document"+u+h+`> 967`),d.push(x5().replace(/office:document-meta/g,"office:meta"))):d.push("<office:document-content"+u+`> 968`),s(d,o),d.push(` <office:body> 969`),d.push(` <office:spreadsheet> 970`);for(var m=0;m!=o.SheetNames.length;++m)d.push(n(o.Sheets[o.SheetNames[m]],o,m));return d.push(` </office:spreadsheet> 971`),d.push(` </office:body> 972`),c.bookType=="fods"?d.push("</office:document>"):d.push("</office:document-content>"),d.join("")}})();function aD(e,t){if(t.bookType=="fods")return r3(e,t);var r=iv(),n="",s=[],i=[];return n="mimetype",ct(r,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",ct(r,n,r3(e,t)),s.push([n,"text/xml"]),i.push([n,"ContentFile"]),n="styles.xml",ct(r,n,yde(e,t)),s.push([n,"text/xml"]),i.push([n,"StylesFile"]),n="meta.xml",ct(r,n,Fr+x5()),s.push([n,"text/xml"]),i.push([n,"MetadataFile"]),n="manifest.rdf",ct(r,n,kse(i)),s.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",ct(r,n,Ese(s)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function Mp(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function bde(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):Xa(Ou(e))}function wde(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var n=0;n<t.length;++n)if(e[r+n]!=t[n])continue e;return!0}return!1}function To(e){var t=e.reduce(function(s,i){return s+i.length},0),r=new Uint8Array(t),n=0;return e.forEach(function(s){r.set(s,n),n+=s.length}),r}function vde(e,t,r){var n=Math.floor(r==0?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,s=r/Math.pow(10,n-6176);e[t+15]|=n>>7,e[t+14]|=(n&127)<<1;for(var i=0;s>=1;++i,s/=256)e[t+i]=s&255;e[t+15]|=r>=0?0:128}function Vu(e,t){var r=t?t[0]:0,n=e[r]&127;e:if(e[r++]>=128&&(n|=(e[r]&127)<<7,e[r++]<128||(n|=(e[r]&127)<<14,e[r++]<128)||(n|=(e[r]&127)<<21,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,28),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,35),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,42),++r,e[r++]<128)))break e;return t&&(t[0]=r),n}function jt(e){var t=new Uint8Array(7);t[0]=e&127;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383||(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)||(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)||(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)||(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103))break e;t[r-1]|=128,t[r]=e/16777216>>>21&127,++r}return t.slice(0,r)}function oA(e){var t=0,r=e[t]&127;e:if(e[t++]>=128){if(r|=(e[t]&127)<<7,e[t++]<128||(r|=(e[t]&127)<<14,e[t++]<128)||(r|=(e[t]&127)<<21,e[t++]<128))break e;r|=(e[t]&127)<<28}return r}function Tr(e){for(var t=[],r=[0];r[0]<e.length;){var n=r[0],s=Vu(e,r),i=s&7;s=Math.floor(s/8);var o=0,c;if(s==0)break;switch(i){case 0:{for(var d=r[0];e[r[0]++]>=128;);c=e.slice(d,r[0])}break;case 5:o=4,c=e.slice(r[0],r[0]+o),r[0]+=o;break;case 1:o=8,c=e.slice(r[0],r[0]+o),r[0]+=o;break;case 2:o=Vu(e,r),c=e.slice(r[0],r[0]+o),r[0]+=o;break;case 3:case 4:default:throw new Error("PB Type ".concat(i," for Field ").concat(s," at offset ").concat(n))}var u={data:c,type:i};t[s]==null?t[s]=[u]:t[s].push(u)}return t}function Jr(e){var t=[];return e.forEach(function(r,n){r.forEach(function(s){s.data&&(t.push(jt(n*8+s.type)),s.type==2&&t.push(jt(s.data.length)),t.push(s.data))})}),To(t)}function Ka(e){for(var t,r=[],n=[0];n[0]<e.length;){var s=Vu(e,n),i=Tr(e.slice(n[0],n[0]+s));n[0]+=s;var o={id:oA(i[1][0].data),messages:[]};i[2].forEach(function(c){var d=Tr(c.data),u=oA(d[3][0].data);o.messages.push({meta:d,data:e.slice(n[0],n[0]+u)}),n[0]+=u}),(t=i[3])!=null&&t[0]&&(o.merge=oA(i[3][0].data)>>>0>0),r.push(o)}return r}function Oc(e){var t=[];return e.forEach(function(r){var n=[];n[1]=[{data:jt(r.id),type:0}],n[2]=[],r.merge!=null&&(n[3]=[{data:jt(+!!r.merge),type:0}]);var s=[];
vendor: 12,535 bytes, line 972
972r.messages.forEach(function(o){s.push(o.data),o.meta[3]=[{type:0,data:jt(o.data.length)}],n[2].push({data:Jr(o.meta),type:2})});var i=Jr(n);t.push(jt(i.length)),t.push(i),s.forEach(function(o){return t.push(o)})}),To(t)}function Cde(e,t){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],n=Vu(t,r),s=[];r[0]<t.length;){var i=t[r[0]]&3;if(i==0){var o=t[r[0]++]>>2;if(o<60)++o;else{var c=o-59;o=t[r[0]],c>1&&(o|=t[r[0]+1]<<8),c>2&&(o|=t[r[0]+2]<<16),c>3&&(o|=t[r[0]+3]<<24),o>>>=0,o++,r[0]+=c}s.push(t.slice(r[0],r[0]+o)),r[0]+=o;continue}else{var d=0,u=0;if(i==1?(u=(t[r[0]]>>2&7)+4,d=(t[r[0]++]&224)<<3,d|=t[r[0]++]):(u=(t[r[0]++]>>2)+1,i==2?(d=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(d=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),s=[To(s)],d==0)throw new Error("Invalid offset 0");if(d>s[0].length)throw new Error("Invalid offset beyond length");if(u>=d)for(s.push(s[0].slice(-d)),u-=d;u>=s[s.length-1].length;)s.push(s[s.length-1]),u-=s[s.length-1].length;s.push(s[0].slice(-d,-d+u))}}var h=To(s);if(h.length!=n)throw new Error("Unexpected length: ".concat(h.length," != ").concat(n));return h}function Ga(e){for(var t=[],r=0;r<e.length;){var n=e[r++],s=e[r]|e[r+1]<<8|e[r+2]<<16;r+=3,t.push(Cde(n,e.slice(r,r+s))),r+=s}if(r!==e.length)throw new Error("data is not a valid framed stream!");return To(t)}function Hc(e){for(var t=[],r=0;r<e.length;){var n=Math.min(e.length-r,268435455),s=new Uint8Array(4);t.push(s);var i=jt(n),o=i.length;t.push(i),n<=60?(o++,t.push(new Uint8Array([n-1<<2]))):n<=256?(o+=2,t.push(new Uint8Array([240,n-1&255]))):n<=65536?(o+=3,t.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(o+=4,t.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(o+=5,t.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),t.push(e.slice(r,r+n)),o+=n,s[0]=0,s[1]=o&255,s[2]=o>>8&255,s[3]=o>>16&255,r+=n}return To(t)}function Qy(e,t){var r=new Uint8Array(32),n=Mp(r),s=12,i=0;switch(r[0]=5,e.t){case"n":r[1]=2,vde(r,s,e.v),i|=1,s+=16;break;case"b":r[1]=6,n.setFloat64(s,e.v?1:0,!0),i|=2,s+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,n.setUint32(s,t.indexOf(e.v),!0),i|=8,s+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,i,!0),r.slice(0,s)}function Oy(e,t){var r=new Uint8Array(32),n=Mp(r),s=12,i=0;switch(r[0]=3,e.t){case"n":r[2]=2,n.setFloat64(s,e.v,!0),i|=32,s+=8;break;case"b":r[2]=6,n.setFloat64(s,e.v?1:0,!0),i|=32,s+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,n.setUint32(s,t.indexOf(e.v),!0),i|=16,s+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,i,!0),r.slice(0,s)}function Gi(e){var t=Tr(e);return Vu(t[1][0].data)}function Bde(e,t,r){var n,s,i,o;if(!((n=e[6])!=null&&n[0])||!((s=e[7])!=null&&s[0]))throw"Mutation only works on post-BNC storages!";var c=((o=(i=e[8])==null?void 0:i[0])==null?void 0:o.data)&&oA(e[8][0].data)>0||!1;if(c)throw"Math only works with normal offsets";for(var d=0,u=Mp(e[7][0].data),h=0,m=[],p=Mp(e[4][0].data),x=0,w=[],g=0;g<t.length;++g){if(t[g]==null){u.setUint16(g*2,65535,!0),p.setUint16(g*2,65535);continue}u.setUint16(g*2,h,!0),p.setUint16(g*2,x,!0);var b,v;switch(typeof t[g]){case"string":b=Qy({t:"s",v:t[g]},r),v=Oy({t:"s",v:t[g]},r);break;case"number":b=Qy({t:"n",v:t[g]},r),v=Oy({t:"n",v:t[g]},r);break;case"boolean":b=Qy({t:"b",v:t[g]},r),v=Oy({t:"b",v:t[g]},r);break;default:throw new Error("Unsupported value "+t[g])}m.push(b),h+=b.length,w.push(v),x+=v.length,++d}for(e[2][0].data=jt(d);g<e[7][0].data.length/2;++g)u.setUint16(g*2,65535,!0),p.setUint16(g*2,65535,!0);return e[6][0].data=To(m),e[3][0].data=To(w),d}function Nde(e,t){if(!t||!t.numbers)throw new Error("Must pass a `numbers` option -- check the README");var r=e.Sheets[e.SheetNames[0]];e.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var n=ha(r["!ref"]);n.s.r=n.s.c=0;var s=!1;n.e.c>9&&(s=!0,n.e.c=9),n.e.r>49&&(s=!0,n.e.r=49),s&&console.error("The Numbers writer is currently limited to ".concat(Nr(n)));var i=Qp(r,{range:n,header:1}),o=["~Sh33tJ5~"];i.forEach(function(J){return J.forEach(function(Q){typeof Q=="string"&&o.push(Q)})});var c={},d=[],u=Dt.read(t.numbers,{type:"base64"});u.FileIndex.map(function(J,Q){return[J,u.FullPaths[Q]]}).forEach(function(J){var Q=J[0],O=J[1];if(Q.type==2&&Q.name.match(/\.iwa/)){var G=Q.content,le=Ga(G),ye=Ka(le);ye.forEach(function(xe){d.push(xe.id),c[xe.id]={deps:[],location:O,type:oA(xe.messages[0].meta[1][0].data)}})}}),d.sort(function(J,Q){return J-Q});var h=d.filter(function(J){return J>1}).map(function(J){return[J,jt(J)]});u.FileIndex.map(function(J,Q){return[J,u.FullPaths[Q]]}).forEach(function(J){var Q=J[0];if(J[1],!!Q.name.match(/\.iwa/)){var O=Ka(Ga(Q.content));O.forEach(function(G){G.messages.forEach(function(le){h.forEach(function(ye){G.messages.some(function(xe){return oA(xe.meta[1][0].data)!=11006&&wde(xe.data,ye[1])})&&c[ye[0]].deps.push(G.id)})})})}});for(var m=Dt.find(u,c[1].location),p=Ka(Ga(m.content)),x,w=0;w<p.length;++w){var g=p[w];g.id==1&&(x=g)}var b=Gi(Tr(x.messages[0].data)[1][0].data);for(m=Dt.find(u,c[b].location),p=Ka(Ga(m.content)),w=0;w<p.length;++w)g=p[w],g.id==b&&(x=g);for(b=Gi(Tr(x.messages[0].data)[2][0].data),m=Dt.find(u,c[b].location),p=Ka(Ga(m.content)),w=0;w<p.length;++w)g=p[w],g.id==b&&(x=g);for(b=Gi(Tr(x.messages[0].data)[2][0].data),m=Dt.find(u,c[b].location),p=Ka(Ga(m.content)),w=0;w<p.length;++w)g=p[w],g.id==b&&(x=g);var v=Tr(x.messages[0].data);{v[6][0].data=jt(n.e.r+1),v[7][0].data=jt(n.e.c+1);var N=Gi(v[46][0].data),F=Dt.find(u,c[N].location),S=Ka(Ga(F.content));{for(var E=0;E<S.length&&S[E].id!=N;++E);if(S[E].id!=N)throw"Bad ColumnRowUIDMapArchive";var D=Tr(S[E].messages[0].data);D[1]=[],D[2]=[],D[3]=[];for(var T=0;T<=n.e.c;++T){var k=[];k[1]=k[2]=[{type:0,data:jt(T+420690)}],D[1].push({type:2,data:Jr(k)}),D[2].push({type:0,data:jt(T)}),D[3].push({type:0,data:jt(T)})}D[4]=[],D[5]=[],D[6]=[];for(var I=0;I<=n.e.r;++I)k=[],k[1]=k[2]=[{type:0,data:jt(I+726270)}],D[4].push({type:2,data:Jr(k)}),D[5].push({type:0,data:jt(I)}),D[6].push({type:0,data:jt(I)});S[E].messages[0].data=Jr(D)}F.content=Hc(Oc(S)),F.size=F.content.length,delete v[46];var Y=Tr(v[4][0].data);{Y[7][0].data=jt(n.e.r+1);var ee=Tr(Y[1][0].data),ie=Gi(ee[2][0].data);F=Dt.find(u,c[ie].location),S=Ka(Ga(F.content));{if(S[0].id!=ie)throw"Bad HeaderStorageBucket";var W=Tr(S[0].messages[0].data);for(I=0;I<i.length;++I){var ce=Tr(W[2][0].data);ce[1][0].data=jt(I),ce[4][0].data=jt(i[I].length),W[2][I]={type:W[2][0].type,data:Jr(ce)}}S[0].messages[0].data=Jr(W)}F.content=Hc(Oc(S)),F.size=F.content.length;var we=Gi(Y[2][0].data);F=Dt.find(u,c[we].location),S=Ka(Ga(F.content));{if(S[0].id!=we)throw"Bad HeaderStorageBucket";for(W=Tr(S[0].messages[0].data),T=0;T<=n.e.c;++T)ce=Tr(W[2][0].data),ce[1][0].data=jt(T),ce[4][0].data=jt(n.e.r+1),W[2][T]={type:W[2][0].type,data:Jr(ce)};S[0].messages[0].data=Jr(W)}F.content=Hc(Oc(S)),F.size=F.content.length;var ne=Gi(Y[4][0].data);(function(){for(var J=Dt.find(u,c[ne].location),Q=Ka(Ga(J.content)),O,G=0;G<Q.length;++G){var le=Q[G];le.id==ne&&(O=le)}var ye=Tr(O.messages[0].data);{ye[3]=[];var xe=[];o.forEach(function(Pe,it){xe[1]=[{type:0,data:jt(it)}],xe[2]=[{type:0,data:jt(1)}],xe[3]=[{type:2,data:bde(Pe)}],ye[3].push({type:2,data:Jr(xe)})})}O.messages[0].data=Jr(ye);var be=Oc(Q),Fe=Hc(be);J.content=Fe,J.size=J.content.length})();var re=Tr(Y[3][0].data);{var X=re[1][0];delete re[2];var de=Tr(X.data);{var ae=Gi(de[2][0].data);(function(){for(var J=Dt.find(u,c[ae].location),Q=Ka(Ga(J.content)),O,G=0;G<Q.length;++G){var le=Q[G];le.id==ae&&(O=le)}var ye=Tr(O.messages[0].data);{delete ye[6],delete re[7];var xe=new Uint8Array(ye[5][0].data);ye[5]=[];for(var be=0,Fe=0;Fe<=n.e.r;++Fe){var Pe=Tr(xe);be+=Bde(Pe,i[Fe],o),Pe[1][0].data=jt(Fe),ye[5].push({data:Jr(Pe),type:2})}ye[1]=[{type:0,data:jt(n.e.c+1)}],ye[2]=[{type:0,data:jt(n.e.r+1)}],ye[3]=[{type:0,data:jt(be)}],ye[4]=[{type:0,data:jt(n.e.r+1)}]}O.messages[0].data=Jr(ye);var it=Oc(Q),et=Hc(it);J.content=et,J.size=J.content.length})()}X.data=Jr(de)}Y[3][0].data=Jr(re)}v[4][0].data=Jr(Y)}x.messages[0].data=Jr(v);var q=Oc(p),L=Hc(q);return m.content=L,m.size=m.content.length,u}function Fde(e){return function(r){for(var n=0;n!=e.length;++n){var s=e[n];r[s[0]]===void 0&&(r[s[0]]=s[1]),s[2]==="n"&&(r[s[0]]=Number(r[s[0]]))}}}function vv(e){Fde([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function jde(e,t){return t.bookType=="ods"?aD(e,t):t.bookType=="numbers"?Nde(e,t):t.bookType=="xlsb"?Sde(e,t):Ede(e,t)}function Sde(e,t){Zc=1024,e&&!e.SSF&&(e.SSF=Jn(lr)),e&&e.SSF&&(E0(),S0(e.SSF),t.revssf=T0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,wu?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r=t.bookType=="xlsb"?"bin":"xml",n=Q5.indexOf(t.bookType)>-1,s=m5();vv(t=t||{});var i=iv(),o="",c=0;if(t.cellXfs=[],Qo(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),o="docProps/core.xml",ct(i,o,y5(e.Props,t)),s.coreprops.push(o),Et(t.rels,2,o,yt.CORE_PROPS),o="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var d=[],u=0;u<e.SheetNames.length;++u)(e.Workbook.Sheets[u]||{}).Hidden!=2&&d.push(e.SheetNames[u]);e.Props.SheetNames=d}for(e.Props.Worksheets=e.Props.SheetNames.length,ct(i,o,w5(e.Props)),s.extprops.push(o),Et(t.rels,3,o,yt.EXT_PROPS),e.Custprops!==e.Props&&on(e.Custprops||{}).length>0&&(o="docProps/custom.xml",ct(i,o,v5(e.Custprops)),s.custprops.push(o),Et(t.rels,4,o,yt.CUST_PROPS)),c=1;c<=e.SheetNames.length;++c){var h={"!id":{}},m=e.Sheets[e.SheetNames[c-1]],p=(m||{})["!type"]||"sheet";switch(p){case"chart":default:o="xl/worksheets/sheet"+c+"."+r,ct(i,o,kAe(c-1,o,t,e,h)),s.sheets.push(o),Et(t.wbrels,-1,"worksheets/sheet"+c+"."+r,yt.WS[0])}if(m){var x=m["!comments"],w=!1,g="";x&&x.length>0&&(g="xl/comments"+c+"."+r,ct(i,g,UAe(x,g)),s.comments.push(g),Et(h,-1,"../comments"+c+"."+r,yt.CMNT),w=!0),m["!legacy"]&&w&&ct(i,"xl/drawings/vmlDrawing"+c+".vml",R5(c,m["!comments"])),delete m["!comments"],delete m["!legacy"]}h["!id"].rId1&&ct(i,g5(o),sA(h))}return t.Strings!=null&&t.Strings.length>0&&(o="xl/sharedStrings."+r,ct(i,o,DAe(t.Strings,o,t)),s.strs.push(o),Et(t.wbrels,-1,"sharedStrings."+r,yt.SST)),o="xl/workbook."+r,ct(i,o,TAe(e,o)),s.workbooks.push(o),Et(t.rels,1,o,yt.WB),o="xl/theme/theme1.xml",ct(i,o,L5(e.Themes,t)),s.themes.push(o),Et(t.wbrels,-1,"theme/theme1.xml",yt.THEME),o="xl/styles."+r,ct(i,o,_Ae(e,o,t)),s.styles.push(o),Et(t.wbrels,-1,"styles."+r,yt.STY),e.vbaraw&&n&&(o="xl/vbaProject.bin",ct(i,o,e.vbaraw),s.vba.push(o),Et(t.wbrels,-1,"vbaProject.bin",yt.VBA)),o="xl/metadata."+r,ct(i,o,IAe(o)),s.metadata.push(o),Et(t.wbrels,-1,"metadata."+r,yt.XLMETA),ct(i,"[Content_Types].xml",p5(s,t)),ct(i,"_rels/.rels",sA(t.rels)),ct(i,"xl/_rels/workbook."+r+".rels",sA(t.wbrels)),delete t.revssf,delete t.ssf,i}function Ede(e,t){Zc=1024,e&&!e.SSF&&(e.SSF=Jn(lr)),e&&e.SSF&&(E0(),S0(e.SSF),t.revssf=T0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,wu?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=Q5.indexOf(t.bookType)>-1,s=m5();vv(t=t||{});var i=iv(),o="",c=0;if(t.cellXfs=[],Qo(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),o="docProps/core.xml",ct(i,o,y5(e.Props,t)),s.coreprops.push(o),Et(t.rels,2,o,yt.CORE_PROPS),o="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var d=[],u=0;u<e.SheetNames.length;++u)(e.Workbook.Sheets[u]||{}).Hidden!=2&&d.push(e.SheetNames[u]);e.Props.SheetNames=d}e.Props.Worksheets=e.Props.SheetNames.length,ct(i,o,w5(e.Props)),s.extprops.push(o),Et(t.rels,3,o,yt.EXT_PROPS),e.Custprops!==e.Props&&on(e.Custprops||{}).length>0&&(o="docProps/custom.xml",ct(i,o,v5(e.Custprops)),s.custprops.push(o),Et(t.rels,4,o,yt.CUST_PROPS));var h=["SheetJ5"];for(t.tcid=0,c=1;c<=e.SheetNames.length;++c){var m={"!id":{}},p=e.Sheets[e.SheetNames[c-1]],x=(p||{})["!type"]||"sheet";switch(x){case"chart":default:o="xl/worksheets/sheet"+c+"."+r,ct(i,o,q5(c-1,t,e,m)),s.sheets.push(o),Et(t.wbrels,-1,"worksheets/sheet"+c+"."+r,yt.WS[0])}if(p){var w=p["!comments"],g=!1,b="";if(w&&w.length>0){var v=!1;
vendor: 4,574 bytes, line 972
972w.forEach(function(N){N[1].forEach(function(F){F.T==!0&&(v=!0)})}),v&&(b="xl/threadedComments/threadedComment"+c+"."+r,ct(i,b,ioe(w,h,t)),s.threadedcomments.push(b),Et(m,-1,"../threadedComments/threadedComment"+c+"."+r,yt.TCMNT)),b="xl/comments"+c+"."+r,ct(i,b,M5(w)),s.comments.push(b),Et(m,-1,"../comments"+c+"."+r,yt.CMNT),g=!0}p["!legacy"]&&g&&ct(i,"xl/drawings/vmlDrawing"+c+".vml",R5(c,p["!comments"])),delete p["!comments"],delete p["!legacy"]}m["!id"].rId1&&ct(i,g5(o),sA(m))}return t.Strings!=null&&t.Strings.length>0&&(o="xl/sharedStrings."+r,ct(i,o,T5(t.Strings,t)),s.strs.push(o),Et(t.wbrels,-1,"sharedStrings."+r,yt.SST)),o="xl/workbook."+r,ct(i,o,X5(e)),s.workbooks.push(o),Et(t.rels,1,o,yt.WB),o="xl/theme/theme1.xml",ct(i,o,L5(e.Themes,t)),s.themes.push(o),Et(t.wbrels,-1,"theme/theme1.xml",yt.THEME),o="xl/styles."+r,ct(i,o,U5(e,t)),s.styles.push(o),Et(t.wbrels,-1,"styles."+r,yt.STY),e.vbaraw&&n&&(o="xl/vbaProject.bin",ct(i,o,e.vbaraw),s.vba.push(o),Et(t.wbrels,-1,"vbaProject.bin",yt.VBA)),o="xl/metadata."+r,ct(i,o,P5()),s.metadata.push(o),Et(t.wbrels,-1,"metadata."+r,yt.XLMETA),h.length>1&&(o="xl/persons/person.xml",ct(i,o,ooe(h)),s.people.push(o),Et(t.wbrels,-1,"persons/person.xml",yt.PEOPLE)),ct(i,"[Content_Types].xml",p5(s,t)),ct(i,"_rels/.rels",sA(t.rels)),ct(i,"xl/_rels/workbook."+r+".rels",sA(t.wbrels)),delete t.revssf,delete t.ssf,i}function Tde(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=fi(e.slice(0,12));break;case"binary":r=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function sD(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return fh(t.file,Dt.write(e,{type:wt?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return Dt.write(e,t)}function kde(e,t){var r=Jn(t||{}),n=jde(e,r);return _de(n,r)}function _de(e,t){var r={},n=wt?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=n;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+t.type)}var s=e.FullPaths?Dt.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if(typeof Deno<"u"&&typeof s=="string"){if(t.type=="binary"||t.type=="base64")return s;s=new Uint8Array(j0(s))}return t.password&&typeof encrypt_agile<"u"?sD(encrypt_agile(s,t.password),t):t.type==="file"?fh(t.file,s):t.type=="string"?gu(s):s}function Dde(e,t){var r=t||{},n=qAe(e,r);return sD(n,r)}function ps(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return Mu(Ou(n));case"binary":return Ou(n);case"string":return e;case"file":return fh(t.file,n,"utf8");case"buffer":return wt?gi(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):ps(n,{type:"binary"}).split("").map(function(s){return s.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function Ude(e,t){switch(t.type){case"base64":return Mu(e);case"binary":return e;case"string":return e;case"file":return fh(t.file,e,"binary");case"buffer":return wt?gi(e,"binary"):e.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function Sm(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n<e.length;++n)r+=String.fromCharCode(e[n]);return t.type=="base64"?Mu(r):t.type=="string"?gu(r):r;case"file":return fh(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function iD(e,t){lae(),yAe(e);var r=Jn(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),r.type=="array"){r.type="binary";var n=iD(e,r);return r.type="array",j0(n)}var s=0;if(r.sheet&&(typeof r.sheet=="number"?s=r.sheet:s=e.SheetNames.indexOf(r.sheet),!e.SheetNames[s]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return ps(zAe(e,r),r);case"slk":case"sylk":return ps(pie.from_sheet(e.Sheets[e.SheetNames[s]],r),r);case"htm":case"html":return ps(tD(e.Sheets[e.SheetNames[s]],r),r);
vendor: 3,208 bytes, line 972
972case"txt":return Ude(oD(e.Sheets[e.SheetNames[s]],r),r);case"csv":return ps(Cv(e.Sheets[e.SheetNames[s]],r),r,"\uFEFF");case"dif":return ps(gie.from_sheet(e.Sheets[e.SheetNames[s]],r),r);case"dbf":return Sm(mie.from_sheet(e.Sheets[e.SheetNames[s]],r),r);case"prn":return ps(xie.from_sheet(e.Sheets[e.SheetNames[s]],r),r);case"rtf":return ps(Nie.from_sheet(e.Sheets[e.SheetNames[s]],r),r);case"eth":return ps(E5.from_sheet(e.Sheets[e.SheetNames[s]],r),r);case"fods":return ps(aD(e,r),r);case"wk1":return Sm(qj.sheet_to_wk1(e.Sheets[e.SheetNames[s]],r),r);case"wk3":return Sm(qj.book_to_wk3(e,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),Sm(eD(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),Dde(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return kde(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function Ide(e){if(!e.bookType){var t={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"},r=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();r.match(/^\.[a-z]+$/)&&(e.bookType=r.slice(1)),e.bookType=t[e.bookType]||e.bookType}}function Lde(e,t,r){var n={};return n.type="file",n.file=t,Ide(n),iD(e,n)}function Pde(e,t,r,n,s,i,o,c){var d=nn(r),u=c.defval,h=c.raw||!Object.prototype.hasOwnProperty.call(c,"raw"),m=!0,p=s===1?[]:{};if(s!==1)if(Object.defineProperty)try{Object.defineProperty(p,"__rowNum__",{value:r,enumerable:!1})}catch{p.__rowNum__=r}else p.__rowNum__=r;if(!o||e[r])for(var x=t.s.c;x<=t.e.c;++x){var w=o?e[r][x]:e[n[x]+d];if(w===void 0||w.t===void 0){if(u===void 0)continue;i[x]!=null&&(p[i[x]]=u);continue}var g=w.v;switch(w.t){case"z":if(g==null)break;continue;case"e":g=g==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+w.t)}if(i[x]!=null){if(g==null)if(w.t=="e"&&g===null)p[i[x]]=null;else if(u!==void 0)p[i[x]]=u;else if(h&&g===null)p[i[x]]=null;else continue;else p[i[x]]=h&&(w.t!=="n"||w.t==="n"&&c.rawNumbers!==!1)?g:mi(w,g,c);g!=null&&(m=!1)}}return{row:p,isempty:m}}function Qp(e,t){if(e==null||e["!ref"]==null)return[];var r={t:"n",v:0},n=0,s=1,i=[],o=0,c="",d={s:{r:0,c:0},e:{r:0,c:0}},u=t||{},h=u.range!=null?u.range:e["!ref"];switch(u.header===1?n=1:u.header==="A"?n=2:Array.isArray(u.header)?n=3:u.header==null&&(n=0),typeof h){case"string":d=zt(h);break;case"number":d=zt(e["!ref"]),d.s.r=h;break;default:d=h}n>0&&(s=0);var m=nn(d.s.r),p=[],x=[],w=0,g=0,b=Array.isArray(e),v=d.s.r,N=0,F={};b&&!e[v]&&(e[v]=[]);var S=u.skipHidden&&e["!cols"]||[],E=u.skipHidden&&e["!rows"]||[];for(N=d.s.c;N<=d.e.c;++N)if(!(S[N]||{}).hidden)switch(p[N]=gn(N),r=b?e[v][N]:e[p[N]+m],n){case 1:i[N]=N-d.s.c;break;case 2:i[N]=p[N];break;case 3:i[N]=u.header[N-d.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),c=o=mi(r,null,u),g=F[o]||0,!g)F[o]=1;else{do c=o+"_"+g++;while(F[c]);F[o]=g,F[c]=1}i[N]=c}for(v=d.s.r+s;v<=d.e.r;++v)if(!(E[v]||{}).hidden){var D=Pde(e,d,v,p,n,i,b,u);(D.isempty===!1||(n===1?u.blankrows!==!1:u.blankrows))&&(x[w++]=D.row)}return x.length=w,x}var n3=/"/g;function Rde(e,t,r,n,s,i,o,c){for(var d=!0,u=[],h="",m=nn(r),p=t.s.c;p<=t.e.c;
972++p)if(n[p]){var x=c.dense?(e[r]||[])[p]:e[n[p]+m];if(x==null)h="";else if(x.v!=null){d=!1,h=""+(c.rawNumbers&&x.t=="n"?x.v:mi(x,null,c));for(var w=0,g=0;w!==h.length;++w)if((g=h.charCodeAt(w))===s||g===i||g===34||c.forceQuotes){h='"'+h.replace(n3,'""')+'"';break}h=="ID"&&(h='"ID"')}else x.f!=null&&!x.F?(d=!1,h="="+x.f,h.indexOf(",")>=0&&(h='"'+h.replace(n3,'""')+'"')):h="";u.push(h)}return c.blankrows===!1&&d?null:u.join(o)}function Cv(e,t){var r=[],n=t??{};if(e==null||e["!ref"]==null)return"";var s=zt(e["!ref"]),i=n.FS!==void 0?n.FS:",",o=i.charCodeAt(0),c=n.RS!==void 0?n.RS:` 973`,d=c.charCodeAt(0),u=new RegExp((i=="|"?"\\|":i)+"+$"),h="",m=[];n.dense=Array.isArray(e);for(var p=n.skipHidden&&e["!cols"]||[],x=n.skipHidden&&e["!rows"]||[],w=s.s.c;w<=s.e.c;++w)(p[w]||{}).hidden||(m[w]=gn(w));for(var g=0,b=s.s.r;b<=s.e.r;++b)(x[b]||{}).hidden||(h=Rde(e,s,b,m,o,d,i,n),h!=null&&(n.strip&&(h=h.replace(u,"")),(h||n.blankrows!==!1)&&r.push((g++?c:"")+h)));return delete n.dense,r.join("")}function oD(e,t){t||(t={}),t.FS=" ",t.RS=` 974`;var r=Cv(e,t);return r}function Mde(e){var t="",r,n="";if(e==null||e["!ref"]==null)return[];var s=zt(e["!ref"]),i="",o=[],c,d=[],u=Array.isArray(e);for(c=s.s.c;c<=s.e.c;++c)o[c]=gn(c);for(var h=s.s.r;h<=s.e.r;++h)for(i=nn(h),c=s.s.c;c<=s.e.c;++c)if(t=o[c]+i,r=u?(e[h]||[])[c]:e[t],n="",r!==void 0){if(r.F!=null){if(t=r.F,!r.f)continue;n=r.f,t.indexOf(":")==-1&&(t=t+":"+t)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}d[d.length]=t+"="+n}return d}function lD(e,t,r){var n=r||{},s=+!n.skipHeader,i=e||{},o=0,c=0;if(i&&n.origin!=null)if(typeof n.origin=="number")o=n.origin;else{var d=typeof n.origin=="string"?Hr(n.origin):n.origin;o=d.r,c=d.c}var u,h={s:{c:0,r:0},e:{c,r:o+t.length-1+s}};if(i["!ref"]){var m=zt(i["!ref"]);h.e.c=Math.max(h.e.c,m.e.c),h.e.r=Math.max(h.e.r,m.e.r),o==-1&&(o=m.e.r+1,h.e.r=o+t.length-1+s)}else o==-1&&(o=0,h.e.r=t.length-1+s);var p=n.header||[],x=0;t.forEach(function(g,b){on(g).forEach(function(v){(x=p.indexOf(v))==-1&&(p[x=p.length]=v);var N=g[v],F="z",S="",E=kt({c:c+x,r:o+b+s});u=Ku(i,E),N&&typeof N=="object"&&!(N instanceof Date)?i[E]=N:(typeof N=="number"?F="n":typeof N=="boolean"?F="b":typeof N=="string"?F="s":N instanceof Date?(F="d",n.cellDates||(F="n",N=zn(N)),S=n.dateNF||lr[14]):N===null&&n.nullError&&(F="e",N=0),u?(u.t=F,u.v=N,delete u.w,delete u.R,S&&(u.z=S)):i[E]=u={t:F,v:N},S&&(u.z=S))})}),h.e.c=Math.max(h.e.c,c+p.length-1);var w=nn(o);if(s)for(x=0;x<p.length;++x)i[gn(x+c)+w]={t:"s",v:p[x]};return i["!ref"]=Nr(h),i}function Qde(e,t){return lD(null,e,t)}function Ku(e,t,r){if(typeof t=="string"){if(Array.isArray(e)){var n=Hr(t);return e[n.r]||(e[n.r]=[]),e[n.r][n.c]||(e[n.r][n.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return typeof t!="number"?Ku(e,kt(t)):Ku(e,kt({r:t,c:r||0}))}function Ode(e,t){if(typeof t=="number"){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}else if(typeof t=="string"){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}else throw new Error("Cannot find sheet |"+t+"|")}function Hde(){return{SheetNames:[],Sheets:{}}}function Vde(e,t,r,n){var s=1;if(!r)for(;s<=65535&&e.SheetNames.indexOf(r="Sheet"+s)!=-1;++s,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var i=r.match(/(^.*?)(\d+)$/);s=i&&+i[2]||0;var o=i&&i[1]||r;for(++s;s<=65535&&e.SheetNames.indexOf(r=o+s)!=-1;++s);}if(Y5(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function Kde(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=Ode(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r}function Gde(e,t){return e.z=t,e}function cD(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function Wde(e,t,r){return cD(e,"#"+t,r)}function zde(e,t,r){e.c||(e.c=[]),e.c.push({t,a:r||"SheetJS"})}function Jde(e,t,r,n){for(var s=typeof t!="string"?t:zt(t),i=typeof t=="string"?t:Nr(t),o=s.s.r;o<=s.e.r;++o)for(var c=s.s.c;c<=s.e.c;++c){var d=Ku(e,o,c);d.t="n",d.F=i,delete d.v,o==s.s.r&&c==s.s.c&&(d.f=r,n&&(d.D=!0))}return e}var Hy={encode_col:gn,encode_row:nn,encode_cell:kt,encode_range:Nr,decode_col:uv,decode_row:dv,split_cell:lse,decode_cell:Hr,decode_range:ha,format_cell:mi,sheet_add_aoa:c5,sheet_add_json:lD,sheet_add_dom:rD,aoa_to_sheet:QA,json_to_sheet:Qde,table_to_sheet:nD,table_to_book:gde,sheet_to_csv:Cv,sheet_to_txt:oD,sheet_to_json:Qp,sheet_to_html:tD,sheet_to_formulae:Mde,sheet_to_row_object_array:Qp,sheet_get_cell:Ku,book_new:Hde,book_append_sheet:Vde,book_set_sheet_visibility:Kde,cell_set_number_format:Gde,cell_set_hyperlink:cD,cell_set_internal_link:Wde,cell_add_comment:zde,sheet_set_array_formula:Jde,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};const qde="https://media.base44.com/images/public/699ba2407533cd3b00af8c87/bb940aa32_nfalogo.png",$de="https://media.base44.com/images/public/699ba2407533cd3b00af8c87/15232134c_LLogoBlueRGB.png",Yde=[{label:"Opens",date:"12 Jun 2026",status:"done"},{label:"Closes",date:"25 Jun 2026, 23:59 GMT",status:"upcoming"},{label:"Draw",date:"26 Jun 2026",status:"upcoming"},{label:"Ceremony",date:"1 Jul 2026",status:"upcoming"}];function Xde(){const e=new Date,t=new Date("2026-06-12T00:01:00Z"),r=new Date("2026-06-25T23:59:00Z");return e<t?{label:"Upcoming",color:"bg-blue-100 text-blue-800"}:e>=t&&e<=r?{label:"ð¢ Live",color:"bg-green-100 text-green-800"}:{label:"Closed â Awaiting Draw",color:"bg-orange-100 text-orange-800"}}function Zde(){const t=new Date("2026-06-25T23:59:00Z")-new Date;return t<=0?0:Math.ceil(t/864e5)}
974function eue(){const[e,t]=B.useState([]),[r,n]=B.useState(!0),[s,i]=B.useState(""),[o,c]=B.useState("all"),[d,u]=B.useState(null),[h,m]=B.useState(null),[p,x]=B.useState(null),[w,g]=B.useState("created_date"),[b,v]=B.useState("desc");B.useEffect(()=>{N()},[]);const N=async()=>{n(!0);const ne=await Ce.entities.CompetitionEntry.list("-created_date",1e4);t(ne||[]);const re=(ne||[]).find(de=>de.status==="winner"),X=(ne||[]).find(de=>de.status==="runner_up");re&&u(re),X&&m(X),n(!1)},F=e.filter(ne=>{const re=`${ne.first_name} ${ne.last_name}`.toLowerCase(),X=!s||re.includes(s.toLowerCase())||ne.email.toLowerCase().includes(s.toLowerCase()),de=o==="all"||o==="yes"&&ne.marketing_opt_in||o==="no"&&!ne.marketing_opt_in;return X&&de}).sort((ne,re)=>{let X=ne[w],de=re[w];return typeof X=="string"&&(X=X.toLowerCase()),typeof de=="string"&&(de=de.toLowerCase()),b==="asc"?X>de?1:-1:X<de?1:-1}),S=e.filter(ne=>ne.status!=="disqualified"),E=async ne=>{const re=S.filter(de=>ne==="winner"?de.status==="entered":de.status==="entered"&&(!d||de.id!==d.id));if(re.length===0)return alert("No valid entries to draw from.");const X=re[Math.floor(Math.random()*re.length)];ne==="winner"?(u(X),await Ce.entities.CompetitionEntry.update(X.id,{status:"winner"})):(m(X),await Ce.entities.CompetitionEntry.update(X.id,{status:"runner_up"})),await N()},D=async ne=>{ne==="winner"&&d&&(await Ce.entities.CompetitionEntry.update(d.id,{status:"entered"}),u(null)),ne==="runner_up"&&h&&(await Ce.entities.CompetitionEntry.update(h.id,{status:"entered"}),m(null)),await N()},T=async ne=>{var X,de;const re=ne==="winner"?d:h;if(re){x(ne);try{const ae=await Ce.functions.invoke("notifyCompetitionWinner",{entry_id:re.id,is_winner:ne==="winner"});(X=ae.data)!=null&&X.success?(alert(`Notification sent to ${re.email}`),await N()):alert("Failed: "+(((de=ae.data)==null?void 0:de.error)||"Unknown error"))}catch(ae){alert("Error: "+ae.message)}x(null)}},[k,I]=B.useState(!1),Y=async()=>{I(!0);try{const ne=await Ce.functions.invoke("exportDatabases",{}),{entries:re,voters:X}=ne.data,de=new Map;X.forEach(J=>{const Q=(J.email||"").toLowerCase();de.has(Q)?de.get(Q).isVoter=!0:de.set(Q,{name:J.name||"",email:J.email||"",isVoter:!0,isEntrant:!1,city:"",postcode:"",marketing:"",status:""})}),re.forEach(J=>{const Q=(J.email||"").toLowerCase();if(de.has(Q)){const O=de.get(Q);O.isEntrant=!0,O.city=J.city||O.city,O.postcode=J.postcode||O.postcode,O.marketing=J.marketing_opt_in?"Yes":O.marketing,O.status=J.status||O.status}else de.set(Q,{name:`${J.first_name||""} ${J.last_name||""}`.trim(),email:J.email||"",isVoter:!1,isEntrant:!0,city:J.city||"",postcode:J.postcode||"",marketing:J.marketing_opt_in?"Yes":"No",status:J.status||""})});const ae=Array.from(de.values()).map(J=>({Name:J.name,Email:J.email,Type:J.isVoter&&J.isEntrant?"Voter + Entrant":J.isVoter?"Voter":"Entrant",City:J.city,Postcode:J.postcode,"Marketing Opt-In":J.marketing,"Competition Status":J.status})),q=Hy.book_new(),L=Hy.json_to_sheet(ae);Hy.book_append_sheet(q,L,"Merged Database"),Lde(q,`nfa-merged-database-${new Date().toISOString().slice(0,10)}.xlsx`)}catch(ne){alert("Export failed: "+ne.message)}I(!1)},ee=()=>{const ne=[["First Name","Last Name","Email","Address Line 1","Address Line 2","City","Postcode","Qualifying Answer","Correct Answer","Marketing Opt-In","Date of Entry","Status"]];F.forEach(q=>{ne.push([q.first_name,q.last_name,q.email,q.address_line1,q.address_line2||"",q.city,q.postcode,q.qualifying_answer,q.is_correct_answer?"Yes":"No",q.marketing_opt_in?"Yes":"No",new Date(q.created_date).toLocaleString("en-GB"),q.status])});const re=ne.map(q=>q.map(L=>`"${String(L).replace(/"/g,'""')}"`).join(",")).join(` 975`),X=new Blob([re],{type:"text/csv"}),de=URL.createObjectURL(X),ae=document.createElement("a");ae.href=de,ae.download=`leger-competition-entries-${new Date().toISOString().slice(0,10)}.csv`,ae.click()},ie=Xde(),W=Zde(),ce=e.filter(ne=>ne.marketing_opt_in).length,we=ne=>{w===ne?v(re=>re==="asc"?"desc":"asc"):(g(ne),v("asc"))};return a.jsxs("div",{className:"min-h-screen bg-gray-50",children:[a.jsx("div",{className:"bg-[#1C2B3A] px-6 py-5",children:a.jsxs("div",{className:"max-w-7xl mx-auto flex items-center justify-between flex-wrap gap-4",children:[a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsx("img",{src:qde,alt:"NFA",className:"h-10"}),a.jsx("div",{className:"w-px h-8 bg-white/20"}),a.jsx("div",{className:"bg-white/10 rounded px-3 py-1.5",children:a.jsx("img",{src:$de,alt:"Leger",className:"h-7"})}),a.jsxs("div",{children:[a.jsx("h1",{className:"text-white font-semibold",children:"Competition Admin"}),a.jsx("p",{className:"text-white/40 text-xs",children:"NFA/COMP/2026/LH/001"})]})]}),a.jsx("span",{className:`px-3 py-1 rounded-full text-xs font-semibold ${ie.color}`,children:ie.label})]})}),a.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-8 space-y-8",children:[a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[{icon:$t,label:"Total Entries",value:e.length,color:"text-blue-600"},{icon:s9,label:"Marketing Opt-Ins",value:`${ce} (${e.length?Math.round(ce/e.length*100):0}%)`,color:"text-green-600"},{icon:La,label:"Valid Entries",value:S.length,color:"text-[#C9A84C]"},{icon:Qt,label:"Days Remaining",value:W>0?W:"Closed",color:"text-purple-600"}].map((ne,re)=>a.jsxs(V.div,{initial:{opacity:0,y:20}
975,animate:{opacity:1,y:0},transition:{delay:re*.1},className:"bg-white rounded-xl p-5 shadow-sm border border-gray-100",children:[a.jsx(ne.icon,{className:`w-5 h-5 mb-2 ${ne.color}`}),a.jsx("div",{className:"text-2xl font-bold text-gray-900",children:ne.value}),a.jsx("div",{className:"text-gray-400 text-sm",children:ne.label})]},re))}),a.jsxs("div",{className:"bg-white rounded-xl p-6 shadow-sm border border-gray-100",children:[a.jsxs("h2",{className:"font-semibold text-[#1C2B3A] mb-4 flex items-center gap-2",children:[a.jsx(Qt,{className:"w-4 h-4 text-[#C9A84C]"})," Key Dates"]}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:Yde.map(ne=>a.jsxs("div",{className:`rounded-lg p-4 ${ne.status==="done"?"bg-green-50 border border-green-100":"bg-gray-50 border border-gray-100"}`,children:[a.jsx("p",{className:"text-xs text-gray-400 uppercase tracking-wider mb-1",children:ne.label}),a.jsx("p",{className:"font-semibold text-[#1C2B3A] text-sm",children:ne.date})]},ne.label))})]}),a.jsxs("div",{className:"bg-white rounded-xl p-6 shadow-sm border border-gray-100",children:[a.jsxs("h2",{className:"font-semibold text-[#1C2B3A] mb-6 flex items-center gap-2",children:[a.jsx(ut,{className:"w-4 h-4 text-[#C9A84C]"})," Winner Selection"]}),a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:[{type:"winner",label:"Winner",entry:d},{type:"runner_up",label:"Runner-Up",entry:h}].map(({type:ne,label:re,entry:X})=>a.jsxs("div",{className:`rounded-xl border-2 p-5 ${X?"border-[#C9A84C] bg-[#C9A84C]/5":"border-dashed border-gray-200"}`,children:[a.jsx("p",{className:"text-xs uppercase tracking-widest text-gray-400 mb-3",children:re}),X?a.jsxs("div",{children:[a.jsxs("p",{className:"font-bold text-[#1C2B3A] text-lg",children:[X.first_name," ",X.last_name]}),a.jsx("p",{className:"text-gray-500 text-sm",children:X.email}),a.jsxs("p",{className:"text-gray-400 text-xs",children:[X.address_line1,", ",X.city,", ",X.postcode]}),a.jsx("p",{className:"text-xs mt-1",children:X.marketing_opt_in?"â Marketing opt-in":"No marketing opt-in"}),X.winner_notified&&a.jsx("p",{className:"text-green-600 text-xs mt-1 font-semibold",children:"â Notification sent"}),a.jsxs("div",{className:"flex gap-2 mt-4 flex-wrap",children:[a.jsxs("button",{onClick:()=>T(ne),disabled:!!p||X.winner_notified,className:"flex items-center gap-1.5 bg-[#1C2B3A] text-white px-4 py-2 rounded-full text-xs font-semibold hover:bg-[#C9A84C] transition disabled:opacity-50",children:[a.jsx(En,{className:"w-3 h-3"})," ",p===ne?"Sending...":"Send Notification"]}),a.jsxs("button",{onClick:()=>D(ne),className:"flex items-center gap-1.5 border border-gray-300 text-gray-600 px-4 py-2 rounded-full text-xs hover:border-red-400 hover:text-red-500 transition",children:[a.jsx(vu,{className:"w-3 h-3"})," Re-draw"]})]})]}):a.jsxs("div",{className:"text-center py-4",children:[a.jsxs("p",{className:"text-gray-400 text-sm mb-4",children:["No ",re.toLowerCase()," selected yet"]}),a.jsxs("button",{onClick:()=>E(ne),disabled:ne==="runner_up"&&!d,className:"flex items-center gap-2 bg-[#C9A84C] text-white px-6 py-2.5 rounded-full text-sm font-semibold hover:bg-[#B8941F] transition mx-auto disabled:opacity-40",children:[a.jsx(ut,{className:"w-4 h-4"})," Select ",re]}),ne==="runner_up"&&!d&&a.jsx("p",{className:"text-xs text-gray-400 mt-2",children:"Select winner first"})]})]},ne))})]}),a.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden",children:[a.jsx("div",{className:"p-6 border-b border-gray-100",children:a.jsxs("div",{className:"flex flex-wrap gap-4 items-center justify-between",children:[a.jsxs("h2",{className:"font-semibold text-[#1C2B3A] flex items-center gap-2",children:[a.jsx($t,{className:"w-4 h-4 text-[#C9A84C]"})," All Entries (",F.length,")"]}),a.jsxs("div",{className:"flex gap-3 flex-wrap",children:[a.jsxs("div",{className:"relative",children:[a.jsx(ks,{className:"w-4 h-4 absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"}),a.jsx("input",{value:s,onChange:ne=>i(ne.target.value),placeholder:"Search name or emailâ¦",className:"pl-9 pr-4 py-2 border border-gray-200 rounded-full text-sm focus:outline-none focus:border-[#C9A84C] w-56"})]}),a.jsxs("select",{value:o,onChange:ne=>c(ne.target.value),className:"border border-gray-200 rounded-full px-4 py-2 text-sm focus:outline-none focus:border-[#C9A84C]",children:[a.jsx("option",{value:"all",children:"All entr
975ies"}),a.jsx("option",{value:"yes",children:"Marketing opt-in"}),a.jsx("option",{value:"no",children:"No marketing"})]}),a.jsxs("button",{onClick:ee,className:"flex items-center gap-2 bg-[#1C2B3A] text-white px-4 py-2 rounded-full text-sm font-semibold hover:bg-[#C9A84C] transition",children:[a.jsx(Xu,{className:"w-4 h-4"})," Export CSV"]}),a.jsxs("button",{onClick:Y,disabled:k,className:"flex items-center gap-2 bg-green-600 text-white px-4 py-2 rounded-full text-sm font-semibold hover:bg-green-700 transition disabled:opacity-50",children:[a.jsx(qU,{className:"w-4 h-4"})," ",k?"Exporting...":"Export Excel"]}),a.jsx("button",{onClick:N,className:"p-2 border border-gray-200 rounded-full hover:border-[#C9A84C] transition",children:a.jsx(vu,{className:"w-4 h-4 text-gray-500"})})]})]})}),a.jsx("div",{className:"overflow-x-auto",children:r?a.jsx("div",{className:"p-12 text-center text-gray-400",children:"Loading entries..."}):F.length===0?a.jsx("div",{className:"p-12 text-center text-gray-400",children:"No entries found"}):a.jsxs("table",{className:"w-full text-sm",children:[a.jsx("thead",{className:"bg-gray-50",children:a.jsx("tr",{children:[["first_name","Name"],["email","Email"],["city","Location"],["created_date","Date"],["is_correct_answer","Answer"],["marketing_opt_in","Marketing"],["status","Status"]].map(([ne,re])=>a.jsxs("th",{onClick:()=>we(ne),className:"text-left px-5 py-3 text-xs font-semibold text-gray-500 uppercase tracking-wider cursor-pointer hover:text-[#1C2B3A] select-none whitespace-nowrap",children:[re," ",w===ne?b==="asc"?"â":"â":""]},ne))})}),a.jsx("tbody",{className:"divide-y divide-gray-50",children:F.map(ne=>a.jsxs("tr",{className:"hover:bg-gray-50 transition",children:[a.jsxs("td",{className:"px-5 py-3.5 font-medium text-[#1C2B3A] whitespace-nowrap",children:[ne.first_name," ",ne.last_name]}),a.jsx("td",{className:"px-5 py-3.5 text-gray-500",children:ne.email}),a.jsxs("td",{className:"px-5 py-3.5 text-gray-500",children:[ne.city,", ",ne.postcode]}),a.jsx("td",{className:"px-5 py-3.5 text-gray-400 whitespace-nowrap text-xs",children:new Date(ne.created_date).toLocaleString("en-GB",{day:"2-digit",month:"short",hour:"2-digit",minute:"2-digit"})}),a.jsx("td",{className:"px-5 py-3.5",children:ne.is_correct_answer?a.jsxs("span",{className:"flex items-center gap-1 text-green-600 text-xs font-medium",children:[a.jsx(La,{className:"w-3 h-3"})," Correct"]}):a.jsxs("span",{className:"flex items-center gap-1 text-red-400 text-xs",children:[a.jsx(bA,{className:"w-3 h-3"})," Incorrect"]})}),a.jsx("td",{className:"px-5 py-3.5",children:a.jsx("span",{className:`px-2 py-0.5 rounded-full text-xs font-medium ${ne.marketing_opt_in?"bg-green-100 text-green-700":"bg-gray-100 text-gray-500"}`,children:ne.marketing_opt_in?"Yes":"No"})}),a.jsx("td",{className:"px-5 py-3.5",children:a.jsx("span",{className:`px-2 py-0.5 rounded-full text-xs font-medium capitalize ${ne.status==="winner"?"bg-[#C9A84C]/20 text-[#B8941F]":ne.status==="runner_up"?"bg-blue-100 text-blue-700":ne.status==="disqualified"?"bg-red-100 text-red-600":"bg-gray-100 text-gray-600"}`,children:ne.status.replace("_"," ")})})]},ne.id))})]})})]})]})]})}const a3="https://media.base44.com/images/public/699ba2407533cd3b00af8c87/bb940aa32_nfalogo.png",s3="https://media.base44.com/images/public/699ba2407533cd3b00af8c87/15232134c_LLogoBlueRGB.png",tue="https://media.base44.com/images/public/699ba2407533cd3b00af8c87/fc51ef761_NationalFilmAwards-LuminaImage.png";function rue(){var F;const[e,t]=Pt.useState(null),[r,n]=Pt.useState(!0);Pt.useEffect(()=>{Ce.auth.me().then(S=>{t(S),n(!1)}).catch(()=>n(!1))},[]);const[s,i]=B.useState("all"),[o,c]=B.useState(""),[d,u]=B.useState(!1),[h,m]=B.useState(null),[p,x]=B.useState(!1),[w,g]=B.useState(null),b=50,v=async()=>{if(!o)return;u(!0),m(null);const S=await Ce.functions.invoke("sendLegerBulkEmail",{testEmail:o});m(S.data),u(!1)},N=async()=>{if(!window.confirm(`Send the Leger competition email to all ${s} voters? This cannot be undone.`))return;x(!0),g({sent:0,failed:0,total:0,done:!1});let S=0,E=0,D=0,T=0;for(;;){const I=(await Ce.functions.invoke("sendLegerBulkEmail",{target:s,limit:b,offset:S})).data;if(!(I!=null&&I.success)||(T=I.total,E+=I.sent,D+=I.failed,g({sent:E,failed:D,total:T,done:!I.hasMore}),!I.hasMore))break;S+=b}x(!1),g(k=>({...k,done:!0}))};return r?a.jsx("div",{className:"min-h-screen bg-[#1C2B3A] flex items-center justify-center",children:a.jsx("div",{className:"w-8 h-8 border-4 border-[#C9A84C]/20 border-t-[#C9A84C] rounded-full animate-spin"})}):!e||e.role!=="admin"?a.jsx("div",{className:"min-h-screen bg-[#1C2B3A] flex items-center justify-center p-6",children:a.jsxs("div",{className:"text-center",children:[a.jsx(pi,{className:"w-12 h-12 text-white/20 mx-auto mb-4"}),a.jsx("h1",{className:"text-white text-2xl font-bold mb-2",children:"Admin Only"}),a.jsx("p",{className:"text-white/40",children:"This page is restricted to admins."})]})}):a.jsx("div",{className:"min-h-screen bg-[#F8F8F6] pt-24 pb-20 px-6",children:a.jsxs("div",{className:"max-w-3xl mx-auto",children:[a.jsxs("div",{className:"bg-[#1C2B3A] rounded-2xl p-8 mb-8 text-center",children:[a.jsxs("div",{className:"flex justify-center gap-4 items-center mb-6",children:[a.jsx("div",{className:"bg-white rounded-xl p-3",children:a.jsx("img",{src:a3,alt:"NFA",className:"h-12"})}),a.jsx("span",{className:"text-white/40 text-xl",children:"Ã"}),a.jsx("div",{className:"bg-white rounded-xl p-3",children:a.jsx("img",{src:s3,alt:"Leger",className:"h-9"})})]}),a.jsx("h1",{className:"text-white text-3xl font-bold mb-2",children:"Leger Competition Email Blast"}),a.jsx("p",{className:"text-white/50 text-sm",children:"Send the Leger Holidays competition email to registered voters"})]}),a.jsxs("div",{className:"bg-white rounded-2xl shadow-sm border border-gray-100 overflow-hidden mb-8",children:[a.jsxs("div",{className:"p-5 border-b border-gray-100 flex items-center gap-3",children:[a.jsx(ko,{className:"w-5 h-5 text-[#C9A84C]"}),a.jsx("h2",{className:"font-semibold text-gray-800",children:"Email Preview"})]}),a.jsxs("div",{className:"bg-[#1C2B3A] p-6 text-center",children:[a.jsxs("div",{className:"flex justify-center gap-3 items-center mb-4",children:[a.jsx("div",{className:"bg-white rounded-lg p-2",children:a.jsx("img",{src:a3,alt:"NFA",className:"h-8"})}),a.jsx("span",{className:"text-white/50",children:"Ã"}),a.jsx("div",{className:"bg-white rounded-lg p-2",children:a.jsx("img",{src:s3,alt:"Leger",className:"h-6"})})]}),a.jsx("p",{className:"text-[#C9A84C] text-xs tracking-widest uppercase mb-2",children:"Exclusive Competition · 12th Annual NFA"}),a.jsxs("h3",{className:"text-white text-2xl font-bold mb-1",children:["WIN A 9-DAY",a.jsx("br",{}),a.jsx("span",{className:"text-[#C9A84C]",children:"LAKE MAGGIORE TOUR"})]}),a.jsx("p",{className:"text-white/60 text-sm mb-4",children:"Worth Over £5,000 · For Two · Plus 2 VIP NFA Tickets"})]}),a.jsx("img",{src:tue,alt:"Lumina",className:"w-full h-40 object-cover"}),a.jsxs("div",{className:"p-6",children:[a.jsxs("p",{className:"text-gray-600 text-sm leading-relaxed mb-3",children:[a.jsx("strong",{children:"Dear [First Name],"}),a.jsx("br",{}),a.jsx("br",{}),"As a valued voter in the 12th Annual National Film Awards, we're delighted to share an exclusive competition with you â in partnership with ",a.jsx("strong",{children:"Leger Holidays"}),"."]}),a.jsxs("p",{className:"text-gray-600 text-sm",children:["You could win a breathtaking 9-day escorted tour to Lake Maggi
975ore, travelling aboard Leger's new flagship coach ",a.jsx("em",{children:'"Lumina"'}),"..."]}),a.jsx("div",{className:"mt-4 text-center",children:a.jsx("span",{className:"inline-block bg-[#C9A84C] text-white text-sm font-bold px-8 py-3 rounded-full uppercase tracking-widest",children:"ENTER NOW"})})]})]}),a.jsxs("div",{className:"bg-white rounded-2xl shadow-sm border border-gray-100 p-6 mb-6",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[a.jsx(En,{className:"w-5 h-5 text-[#C9A84C]"}),a.jsx("h2",{className:"font-semibold text-gray-800",children:"Send Test Email"})]}),a.jsx("p",{className:"text-gray-500 text-sm mb-4",children:"Send a test to yourself before the full blast."}),a.jsxs("div",{className:"flex gap-3",children:[a.jsx("input",{type:"email",value:o,onChange:S=>c(S.target.value),placeholder:"[email protected]",className:"flex-1 border border-gray-200 rounded-lg px-4 py-3 text-sm focus:outline-none focus:border-[#C9A84C]"}),a.jsxs("button",{onClick:v,disabled:d||!o,className:"bg-[#1C2B3A] text-white px-6 py-3 rounded-lg text-sm font-semibold hover:bg-[#243547] transition disabled:opacity-50 flex items-center gap-2",children:[d?a.jsx(ir,{className:"w-4 h-4 animate-spin"}):a.jsx(or,{className:"w-4 h-4"}),d?"Sending...":"Send Test"]})]}),h&&a.jsxs("div",{className:`mt-3 flex items-center gap-2 text-sm p-3 rounded-lg ${h.success?"bg-green-50 text-green-700":"bg-red-50 text-red-700"}`,children:[h.success?a.jsx(an,{className:"w-4 h-4"}):a.jsx(kl,{className:"w-4 h-4"}),h.success?"Test email sent successfully!":`Failed: ${((F=h.data)==null?void 0:F.message)||"Unknown error"}`]})]}),a.jsxs("div",{className:"bg-white rounded-2xl shadow-sm border border-gray-100 p-6",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[a.jsx($t,{className:"w-5 h-5 text-[#C9A84C]"}),a.jsx("h2",{className:"font-semibold text-gray-800",children:"Bulk Send"})]}),a.jsxs("div",{className:"mb-5",children:[a.jsx("label",{className:"text-sm font-medium text-gray-700 mb-2 block",children:"Send to:"}),a.jsx("div",{className:"flex gap-3 flex-wrap",children:[{value:"all",label:"All Registered (5,000)"},{value:"verified",label:"Verified Only (2,270)"},{value:"unverified",label:"Unverified Only (2,730)"}].map(S=>a.jsx("button",{onClick:()=>i(S.value),className:`px-4 py-2 rounded-lg text-sm font-medium border transition ${s===S.value?"bg-[#1C2B3A] text-white border-[#1C2B3A]":"bg-white text-gray-600 border-gray-200 hover:border-[#C9A84C]"}`,children:S.label},S.value))})]}),w&&a.jsxs("div",{className:"mb-5 bg-[#F8F8F6] rounded-xl p-5",children:[a.jsxs("div",{className:"flex justify-between text-sm mb-2",children:[a.jsx("span",{className:"text-gray-600",children:"Progress"}),a.jsxs("span",{className:"font-semibold text-gray-800",children:[w.sent+w.failed," / ",w.total||"..."]})]}),a.jsx("div",{className:"h-3 bg-gray-200 rounded-full overflow-hidden mb-3",children:a.jsx("div",{className:"h-full bg-[#C9A84C] rounded-full transition-all duration-500",style:{width:w.total?`${(w.sent+w.failed)/w.total*100}%`:"0%"}})}),a.jsxs("div",{className:"flex gap-4 text-sm",children:[a.jsxs("span",{className:"flex items-center gap-1 text-green-600",children:[a.jsx(an,{className:"w-4 h-4"}),w.sent," sent"]}),w.failed>0&&a.jsxs("span",{className:"flex items-center gap-1 text-red-500",children:[a.jsx(kl,{className:"w-4 h-4"}),w.failed," failed"]}),w.done&&a.jsx("span",{className:"text-[#C9A84C] font-semibold ml-auto",children:"â Complete!"})]})]}),a.jsxs("button",{onClick:N,disabled:p,className:"w-full bg-[#C9A84C] hover:bg-[#B8941F] text-white font-bold py-4 rounded-xl text-base uppercase tracking-widest transition disabled:opacity-60 disabled:cursor-not-allowed flex items-center justify-center gap-3",children:[p?a.jsx(ir,{className:"w-5 h-5 animate-spin"}):a.jsx(or,{className:"w-5 h-5"}),p?"Sending in batches...":`Send to ${s==="all"?"All":s==="verified"?"Verified":"Unverified"} Voters`]}),a.jsx("p",{className:"text-gray-400 text-xs text-center mt-3",children:"Emails are sent in batches of 50. Do not close this tab until complete."})]})]})})}const Vy={draft:{color:"bg-gray-100 text-gray-600",icon:js,label:"Draft"},sent:{color:"bg-blue-100 text-blue-700",icon:or,label:"Sent"},viewed:{color:"bg-purple-100 text-purple-700",icon:ko,label:"Viewed"},signed_by_recipient:{color:"bg-yellow-100 text-yellow-700",icon:wo,label:"Pending Completion"},completed:{color:"bg-green-100 text-green-700",icon:La,label:"Completed"},declined:{color:"bg-red-100 text-red-700",icon:bA,label:"Declined"},voided:{color:"bg-red-100 text-red-700",icon:$u,label:"Voided"}};
975function nue(){const[e,t]=B.useState([]),[r,n]=B.useState(!0),[s,i]=B.useState("all"),o=B.useCallback(async()=>{const h=await Ce.entities.Contract.list("-created_date",100);t(h),n(!1)},[]);B.useEffect(()=>{o()},[o]);const c=s==="all"?e:e.filter(h=>h.status===s),d=async h=>{confirm("Void this contract? This cannot be undone.")&&(await Ce.entities.Contract.update(h,{status:"voided"}),await Ce.entities.AuditEvent.create({contract_id:h,event_type:"voided",actor:"Admin",timestamp:new Date().toISOString(),detail:"Contract voided by admin"}),o())},u=async h=>{var p;(p=(await Ce.functions.invoke("sendForSignature",{contractId:h})).data)!=null&&p.success&&o()};return r?a.jsx("div",{className:"min-h-screen bg-[#F8F8F6] flex items-center justify-center",children:a.jsx("div",{className:"w-8 h-8 border-4 border-[#C9A84C]/30 border-t-[#C9A84C] rounded-full animate-spin"})}):a.jsx("div",{className:"min-h-screen bg-[#F8F8F6] p-6",children:a.jsxs("div",{className:"max-w-6xl mx-auto",children:[a.jsxs("div",{className:"flex items-center justify-between mb-8",children:[a.jsxs("div",{children:[a.jsx("h1",{className:"font-serif text-3xl text-[#1C2B3A]",children:"SignFlow"}),a.jsx("p",{className:"text-gray-500 text-sm mt-1",children:"Electronic Signature Management"})]}),a.jsxs(He,{to:"/signflow/new",className:"bg-[#1C2B3A] hover:bg-[#2C3B4A] text-white font-semibold px-5 py-3 rounded-xl flex items-center gap-2 transition shadow-lg",children:[a.jsx(Kp,{className:"w-4 h-4"})," New Contract"]})]}),a.jsx("div",{className:"flex gap-2 mb-6 flex-wrap",children:["all","draft","sent","viewed","signed_by_recipient","completed","declined","voided"].map(h=>{var m;return a.jsx("button",{onClick:()=>i(h),className:`px-3 py-1.5 rounded-full text-xs font-semibold transition ${s===h?"bg-[#1C2B3A] text-white":"bg-white text-gray-500 hover:bg-gray-100 border border-gray-200"}`,children:h==="all"?"All":((m=Vy[h])==null?void 0:m.label)||h},h)})}),c.length===0?a.jsxs("div",{className:"bg-white rounded-2xl p-16 text-center border border-gray-100",children:[a.jsx(js,{className:"w-12 h-12 text-gray-300 mx-auto mb-4"}),a.jsx("p",{className:"text-gray-400 text-lg",children:"No contracts found"}),a.jsx(He,{to:"/signflow/new",className:"text-[#C9A84C] text-sm hover:underline mt-2 inline-block",children:"Create your first contract"})]}):a.jsx("div",{className:"bg-white rounded-2xl border border-gray-100 overflow-hidden shadow-sm",children:a.jsxs("table",{className:"w-full",children:[a.jsx("thead",{children:a.jsxs("tr",{className:"border-b border-gray-100 bg-gray-50/50",children:[a.jsx("th",{className:"text-left px-6 py-4 text-xs font-semibold text-gray-400 uppercase tracking-wider",children:"Document"}),a.jsx("th",{className:"text-left px-6 py-4 text-xs font-semibold text-gray-400 uppercase tracking-wider",children:"Recipient"}),a.jsx("th",{className:"text-left px-6 py-4 text-xs font-semibold text-gray-400 uppercase tracking-wider",children:"Status"}),a.jsx("th",{className:"text-left px-6 py-4 text-xs font-semibold text-gray-400 uppercase tracking-wider",children:"Date"}),a.jsx("th",{className:"text-right px-6 py-4 text-xs font-semibold text-gray-400 uppercase tracking-wider",children:"Actions"})]})}),a.jsx("tbody",{children:c.map((h,m)=>{const p=Vy[h.status]||Vy.draft,x=p.icon;return a.jsxs(V.tr,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:m*.03},className:"border-b border-gray-50 hover:bg-gray-50/50 transition",children:[a.jsx("td",{className:"px-6 py-4",children:a.jsx(He,{to:`/signflow/${h.id}`,className:"font-semibold text-[#1C2B3A] hover:text-[#C9A84C] transition",children:h.title})}),a.jsxs("td",{className:"px-6 py-4 text-sm text-gray-500",children:[h.recipient_name,a.jsx("br",{}),a.jsx("span",{className:"text-xs text-gray-400",children:h.recipient_email})]}),a.jsx("td",{className:"px-6 py-4",children:a.jsxs("span",{className:`inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-semibold ${p.color}`,children:[a.jsx(x,{className:"w-3 h-3"})," ",p.label]})}),a.jsx("td",{className:"px-6 py-4 text-sm text-gray-400",children:new Date(h.created_date).toLocaleDateString("en-GB")}),a.jsx("td",{className:"px-6 py-4 text-right",children:a.jsxs("div",{className:"flex items-center gap-2 justify-end",children:[h.status==="draft"&&h.sender_signed_at&&a.jsx("button",{onClick:()=>u(h.id),className:"text-xs bg-[#C9A84C] text-white px-3 py-1.5 rounded-lg font-semibold hover:bg-[#B8941F] transition",children:"Send"}),h.status==="completed"&&a.jsxs("a",{href:h.final_pdf_url,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-gray-500 hover:text-[#1C2B3A] px-3 py-1.5 rounded-lg border border-gray-200 hover:bg-gray-50 transition flex items-center gap-1",children:[a.jsx(Xu,{className:"w-3 h-3"})," PDF"]}),!["completed","voided","declined"].includes(h.status)&&a.jsx("button",{onClick:()=>d(h.id),className:"text-xs text-red-400 hover:text-red-600 px-2 py-1.5 rounded-lg hover:bg-red-50 transition",children:a.jsx($u,{className:"w-3.5 h-3.5"})})]})})]}
975,h.id)})})]})})]})})}function AD(e){const t=document.createElement("canvas");t.width=e.width,t.height=e.height;const r=t.getContext("2d");return r.fillStyle="#ffffff",r.fillRect(0,0,t.width,t.height),r.drawImage(e,0,0),t.toDataURL("image/png")}function aue({onSave:e,onClear:t,defaultValue:r}){const n=B.useRef(null),[s,i]=B.useState(!1),[o,c]=B.useState(!!r);Pt.useEffect(()=>{if(r&&n.current){const x=n.current.getContext("2d"),w=new Image;w.onload=()=>{x.fillStyle="#ffffff",x.fillRect(0,0,n.current.width,n.current.height),x.drawImage(w,0,0),c(!0)},w.src=r}},[r]);const d=B.useCallback(x=>{const w=n.current;if(!w)return;const g=w.getContext("2d"),b=w.getBoundingClientRect(),v=w.width/b.width,N=w.height/b.height;g.strokeStyle="#1C2B3A",g.lineWidth=2.5,g.lineCap="round",g.lineJoin="round",g.beginPath();const F=(x.clientX-b.left)*v,S=(x.clientY-b.top)*N;g.moveTo(F,S),i(!0),c(!0)},[]),u=B.useCallback(x=>{if(!s)return;const w=n.current,g=w.getContext("2d"),b=w.getBoundingClientRect(),v=w.width/b.width,N=w.height/b.height;g.lineTo((x.clientX-b.left)*v,(x.clientY-b.top)*N),g.stroke()},[s]),h=B.useCallback(()=>{if(!s)return;i(!1),n.current.getContext("2d").closePath()},[s]),m=B.useCallback(()=>{const x=n.current;if(!x)return;const w=x.getContext("2d");w.fillStyle="#ffffff",w.fillRect(0,0,x.width,x.height),c(!1),t==null||t()},[t]),p=B.useCallback(()=>{const x=n.current;!x||!o||e==null||e(AD(x))},[o,e]);return a.jsxs("div",{className:"space-y-3",children:[a.jsx("canvas",{ref:n,width:500,height:150,className:"w-full border-2 border-dashed border-gray-300 rounded-xl bg-white cursor-crosshair touch-none",onMouseDown:d,onMouseMove:u,onMouseUp:h,onMouseLeave:h,onTouchStart:x=>{x.preventDefault(),d(x.touches[0])},onTouchMove:x=>{x.preventDefault(),u(x.touches[0])},onTouchEnd:h}),a.jsxs("div",{className:"flex gap-2",children:[a.jsxs("button",{type:"button",onClick:m,className:"flex items-center gap-1 text-sm text-gray-500 hover:text-gray-700 px-3 py-1.5 rounded-lg border border-gray-200 hover:bg-gray-50 transition",children:[a.jsx(d9,{className:"w-3.5 h-3.5"})," Clear"]}),a.jsx("button",{type:"button",onClick:p,disabled:!o,className:"flex items-center gap-1 text-sm text-[#C9A84C] hover:text-[#B8941F] px-3 py-1.5 rounded-lg border border-[#C9A84C]/30 hover:bg-[#C9A84C]/5 transition disabled:opacity-40 disabled:cursor-not-allowed",children:"Apply Signature"})]})]})}const sue=[{value:"signature",label:"Signature",icon:P3},{value:"initials",label:"Initials",icon:zy},{value:"full_name",label:"Full Name",icon:vo},{value:"date",label:"Date",icon:Qt},{value:"text",label:"Text",icon:zy}],i3=["Document","Fields","Sign","Review"];function iue({form:e,setForm:t}){const r=B.useRef(null),[n,s]=B.useState(!1),[i,o]=B.useState(""),c=async d=>{const u=d.target.files[0];if(!u||!u.type.includes("pdf")){o("Please select a valid PDF file.");return}o(""),s(!0);try{const{file_url:h}=await Ce.integrations.Core.UploadFile({file:u});t(m=>({...m,original_pdf_url:h}))}catch(h){o((h==null?void 0:h.message)||"Failed to upload PDF. Please try again.")}s(!1)};return a.jsxs("div",{className:"space-y-5",children:[a.jsx("h2",{className:"font-serif text-2xl text-[#1C2B3A]",children:"Document Details"}),a.jsxs("div",{children:[a.jsx("label",{className:"text-sm font-semibold text-gray-500 uppercase tracking-wider mb-1 block",children:"Document Title *"}),a.jsx("input",{required:!0,value:e.title,onChange:d=>t(u=>({...u,title:d.target.value})),className:"w-full border border-gray-200 rounded-xl px-4 py-3 focus:outline-none focus:border-[#C9A84C] transition text-[#1C2B3A]",placeholder:"e.g. Sponsorship Agreement 2026"})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{children:[a.jsx("label",{className:"text-sm font-semibold text-gray-500 uppercase tracking-wider mb-1 block",children:"Recipient Name *"}),a.jsx("input",{required:!0,value:e.recipient_name,onChange:d=>t(u=>({...u,recipient_name:d.target.value})),className:"w-full border border-gray-200 rounded-xl px-4 py-3 focus:outline-none focus:border-[#C9A84C] transition text-[#1C2B3A]"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"text-sm font-semibold text-gray-500 uppercase tracking-wider mb-1 block",children:"Recipient Email *"}),a.jsx("input",{required:!0,type:"email",value:e.recipient_email,onChange:d=>t(u=>({...u,recipient_email:d.target.value})),className:"w-full border border-gray-200 rounded-xl px-4 py-3 focus:outline-none focus:border-[#C9A84C] transition text-[#1C2B3A]"})]})]}),a.jsxs("div",{children:[a.jsx("label",{className:"text-sm font-semibold text-gray-500 uppercase tracking-wider mb-2 block",children:"Upload PDF *"}),a.jsx("input",{ref:r,type:"file",accept:"application/pdf",onChange:c,className:"hidden"}),a.jsx("button",{type:"button",onClick:()=>{var d;return(d=r.current)==null?void 0:d.click()},disabled:n,className:`w-full border-2 border-dashed rounded-xl p-10 text-center transition ${e.original_pdf_url?"border-[#C9A84C] bg-[#C9A84C]/5":"border-gray-200 hover:border-gray-300 hover:bg-gray-50"} ${n?"opacity-50 cursor-wait":""}`,children:n?a.jsxs("div",{className:"space-y-2",children:[a.jsx("div",{className:"w-8 h-8 border-3 border-[#C9A84C]/30 border-t-[#C9A84C] rounded-full animate-spin mx-auto"}),a.jsx("p",{className:"text-sm text-gray-400",children:"Uploading PDF..."})]}):e.original_pdf_url?a.jsxs("div",{className:"space-y-2",children:[a.jsx(Fs,{className:"w-8 h-8 text-[#C9A84C] mx-auto"}),a.jsx("p",{className:"text-sm text-gray-500",children:"PDF uploaded"})]}):a.jsxs("div",{className:"space-y-2",children:[a.jsx(Cu,{className:"w-8 h-8 text-gray-300 mx-auto"}),a.jsx("p",{className:"text-sm text-gray-400",children:"Click to upload PDF"})]})}),i&&a.jsx("p",{className:"text-red-500 text-sm mt-2",children:i})]})]})}function oue({pdfUrl:e,fields:t,setFields:r,currentPage:n,setCurrentPage:s}){const[i,o]=B.useState({assigned_to:"recipient",field_type:"signature",label:"",page:0,x:.05,y:.85,width:.4,height:.08}),c=B.useRef(null);Pt.useEffect(()=>{o(p=>({...p,page:n}))},[n]);const d=()=>{i.label&&(r(p=>[...p,{...i,id:Date.now().toString()}]),o({assigned_to:"recipient",field_type:"signature",label:"",page:n,x:.05,y:.85,width:.4,height:.08}))},u=p=>r(x=>x.filter(w=>w.id!==p)),h=p=>{if(!c.current)return;const x=c.current.getBoundingClientRect(),w=(p.clientX-x.left)/x.width,g=(p.clientY-x.top)/x.height,b=Math.max(0,Math.min(w,1-(i.width||.1))),v=Math.max(0,Math.min(g,1-(i.height||.06)));o(N=>({...N,x:Math.round(b*100)/100,y:Math.round(v*100)/100}))},m=t.filter(p=>p.page===n);return a.jsxs("div",{className:"space-y-5",children:[a.jsx("h2",{className:"font-serif text-2xl text-[#1C2B3A]",children:"Place Fields"}),a.jsx("p",{className:"text-sm text-gray-500",children:"Add signature fields for both parties. Click on the PDF preview to set field position."}),a.jsxs("div",{className:"flex gap-6",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx("div",{className:"relative border border-gray-200 rounded-xl overflow-hidden bg-gray-100",style:{minHeight:"600px"},children:e?a.jsxs(a.Fragment,{children:[a.jsx("iframe",{src:e+"#view=FitH",className:"w-full border-0",style:{height:"600px"},title:"PDF Preview"}),a.jsx("div",{ref:c,onClick:h,className:"absolute inset-0 cursor-crosshair z-10",children:m.map(p=>a.jsx("div",{className:"absolute border-2 border-[#C9A84C] bg-[#C9A84C]/10 rounded pointer-events-none flex items-center justify-center",style:{left:`${p.x*100}%`,top:`${p.y*100}%`,width:`${p.width*100}%`,height:`${p.height*100}%`,minWidth:"80px",minHeight:"30px"},children:a.jsx("span",{className:"text-[10px] text-[#C9A84C] font-semibold truncate px-1",children:p.label})}
975,p.id))})]}):a.jsx("div",{className:"flex items-center justify-center text-gray-400",style:{height:"600px"},children:"Upload a PDF first"})}),a.jsxs("div",{className:"flex items-center justify-center gap-3 mt-3",children:[a.jsx("button",{onClick:()=>s(p=>Math.max(0,p-1)),disabled:n===0,className:"px-3 py-1 text-sm border border-gray-200 rounded-lg hover:bg-gray-50 disabled:opacity-30",children:"Prev"}),a.jsxs("span",{className:"text-sm text-gray-500",children:["Page ",n+1]}),a.jsx("button",{onClick:()=>s(p=>p+1),className:"px-3 py-1 text-sm border border-gray-200 rounded-lg hover:bg-gray-50",children:"Next"})]})]}),a.jsxs("div",{className:"w-72 shrink-0 space-y-3",children:[a.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl p-4 space-y-3",children:[a.jsx("h4",{className:"font-semibold text-sm text-[#1C2B3A]",children:"Add Field"}),a.jsxs("div",{children:[a.jsx("label",{className:"text-xs text-gray-400 block mb-1",children:"Assigned To"}),a.jsxs("select",{value:i.assigned_to,onChange:p=>o(x=>({...x,assigned_to:p.target.value})),className:"w-full border border-gray-200 rounded-lg px-3 py-2 text-sm",children:[a.jsx("option",{value:"sender",children:"Me (Sender)"}),a.jsx("option",{value:"recipient",children:"Recipient"})]})]}),a.jsxs("div",{children:[a.jsx("label",{className:"text-xs text-gray-400 block mb-1",children:"Field Type"}),a.jsx("div",{className:"grid grid-cols-3 gap-1",children:sue.map(p=>{const x=p.icon;return a.jsxs("button",{type:"button",onClick:()=>o(w=>({...w,field_type:p.value})),className:`flex flex-col items-center gap-1 p-2 rounded-lg text-xs transition ${i.field_type===p.value?"bg-[#C9A84C]/10 text-[#C9A84C] border border-[#C9A84C]/30":"text-gray-400 hover:bg-gray-50 border border-transparent"}`,children:[a.jsx(x,{className:"w-3.5 h-3.5"})," ",p.label]},p.value)})})]}),a.jsxs("div",{children:[a.jsx("label",{className:"text-xs text-gray-400 block mb-1",children:"Label"}),a.jsx("input",{value:i.label,onChange:p=>o(x=>({...x,label:p.target.value})),className:"w-full border border-gray-200 rounded-lg px-3 py-2 text-sm",placeholder:"e.g. Your Signature"})]}),a.jsxs("div",{className:"text-xs text-gray-400",children:["Position: X=",i.x.toFixed(2)," Y=",i.y.toFixed(2)," â Click on PDF to set"]}),a.jsx("button",{type:"button",onClick:d,className:"w-full bg-[#1C2B3A] text-white text-sm font-semibold py-2 rounded-lg hover:bg-[#2C3B4A] transition",children:"Add Field"})]}),a.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl p-4",children:[a.jsxs("h4",{className:"font-semibold text-sm text-[#1C2B3A] mb-2",children:["Placed Fields (",t.length,")"]}),a.jsxs("div",{className:"space-y-2 max-h-64 overflow-y-auto",children:[t.map(p=>a.jsxs("div",{className:"flex items-center justify-between text-xs bg-gray-50 rounded-lg px-3 py-2",children:[a.jsxs("div",{children:[a.jsx("span",{className:"font-semibold text-[#1C2B3A]",children:p.label}),a.jsxs("span",{className:"text-gray-400 ml-2",children:["(",p.assigned_to,", page ",p.page+1,")"]})]}),a.jsx("button",{onClick:()=>u(p.id),className:"text-red-400 hover:text-red-600",children:a.jsx(SA,{className:"w-3 h-3"})})]},p.id)),t.length===0&&a.jsx("p",{className:"text-xs text-gray-300 text-center py-4",children:"No fields placed yet"})]})]})]})]})]})}function lue({fields:e,setFields:t,typedName:r,setTypedName:n,consent:s,setConsent:i,signaturePadRef:o}){Pt.useEffect(()=>{e.some(x=>x.assigned_to==="sender"&&x.field_type==="signature")||t(x=>[...x,{id:"sender-sig-auto",assigned_to:"sender",field_type:"signature",label:"Your Signature",page:0,x:.05,y:.9,width:.4,height:.08}])},[]);const c=e.filter(p=>p.assigned_to==="sender"&&!p.value),[d,u]=B.useState("draw"),h=p=>{if(c.length>0){const x=e.map(w=>w.assigned_to==="sender"&&w.field_type==="signature"&&!w.value?{...w,value:p}:w);t(x)}},m=()=>{if(!r)return;const p=document.createElement("canvas");p.width=400,p.height=100;const x=p.getContext("2d");x.fillStyle="#ffffff",x.fillRect(0,0,400,100),x.font="italic 36px 'Great Vibes', 'Brush Script MT', cursive",x.fillStyle="#1C2B3A",x.fillText(r,20,60);const w=p.toDataURL("image/png"),g=e.map(v=>v.assigned_to==="sender"&&v.field_type==="signature"&&!v.value?{...v,value:w}:v);t(g);const b=g.map(v=>v.assigned_to==="sender"&&v.field_type==="full_name"&&!v.value?{...v,value:r}:v);t(b)}
975;return a.jsxs("div",{className:"space-y-5",children:[a.jsx("h2",{className:"font-serif text-2xl text-[#1C2B3A]",children:"Your Signature"}),a.jsx("p",{className:"text-sm text-gray-500",children:"Sign your assigned fields before sending."}),c.length===0?a.jsxs("div",{className:"bg-green-50 border border-green-200 rounded-xl p-6 text-center",children:[a.jsx(Fs,{className:"w-8 h-8 text-green-500 mx-auto mb-2"}),a.jsx("p",{className:"text-green-700 font-semibold",children:"All your fields have been completed"})]}):a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"flex gap-2 mb-4",children:[a.jsx("button",{onClick:()=>u("draw"),className:`px-4 py-2 rounded-lg text-sm font-semibold transition ${d==="draw"?"bg-[#1C2B3A] text-white":"bg-gray-100 text-gray-500"}`,children:"Draw Signature"}),a.jsx("button",{onClick:()=>u("type"),className:`px-4 py-2 rounded-lg text-sm font-semibold transition ${d==="type"?"bg-[#1C2B3A] text-white":"bg-gray-100 text-gray-500"}`,children:"Type Signature"})]}),d==="draw"?a.jsx("div",{className:"bg-white border border-gray-200 rounded-xl p-5",children:a.jsx(aue,{onSave:h,onClear:()=>{}})}):a.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl p-5 space-y-3",children:[a.jsx("label",{className:"text-sm font-semibold text-gray-500 block",children:"Type your full name"}),a.jsx("input",{value:r,onChange:p=>n(p.target.value),className:"w-full border border-gray-200 rounded-xl px-4 py-3 text-2xl italic font-serif text-[#1C2B3A] placeholder-gray-300",placeholder:"Your name as signature"}),a.jsx("button",{type:"button",onClick:m,disabled:!r,className:"bg-[#C9A84C] text-white text-sm font-semibold px-4 py-2 rounded-lg hover:bg-[#B8941F] transition disabled:opacity-40",children:"Apply Typed Signature"})]})]}),a.jsxs("label",{className:"flex items-start gap-3 bg-white border border-gray-200 rounded-xl p-4 cursor-pointer",children:[a.jsx("input",{type:"checkbox",checked:s,onChange:p=>i(p.target.checked),className:"mt-1 w-4 h-4 rounded border-gray-300 text-[#C9A84C] focus:ring-[#C9A84C]"}),a.jsx("span",{className:"text-sm text-gray-600",children:"I agree to sign this document electronically and understand that my electronic signature is legally binding and carries the same weight as a handwritten signature."})]})]})}function cue({form:e,fields:t}){const r=t.filter(i=>i.assigned_to==="sender"),n=t.filter(i=>i.assigned_to==="recipient"),s=r.every(i=>i.value);return a.jsxs("div",{className:"space-y-5",children:[a.jsx("h2",{className:"font-serif text-2xl text-[#1C2B3A]",children:"Review & Send"}),a.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl p-5 space-y-3",children:[a.jsxs("div",{className:"flex justify-between",children:[a.jsx("span",{className:"text-sm text-gray-500",children:"Document"}),a.jsx("span",{className:"text-sm font-semibold text-[#1C2B3A]",children:e.title})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("span",{className:"text-sm text-gray-500",children:"Recipient"}),a.jsxs("span",{className:"text-sm font-semibold text-[#1C2B3A]",children:[e.recipient_name," (",e.recipient_email,")"]})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("span",{className:"text-sm text-gray-500",children:"Sender Fields"}),a.jsxs("span",{className:`text-sm font-semibold ${s?"text-green-600":"text-red-500"}`,children:[r.length," fields â ",s?"All signed":`${r.filter(i=>!i.value).length} unsigned`]})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("span",{className:"text-sm text-gray-500",children:"Recipient Fields"}),a.jsxs("span",{className:"text-sm font-semibold text-[#1C2B3A]",children:[n.length," fields"]})]})]}),!s&&a.jsx("div",{className:"bg-red-50 border border-red-200 rounded-xl p-4 text-sm text-red-600",children:"You must sign all your assigned fields before sending."})]})}function Aue(){const e=Lo(),[t,r]=B.useState(0),[n,s]=B.useState({title:"",recipient_name:"",recipient_email:"",original_pdf_url:""}),[i,o]=B.useState([]),[c,d]=B.useState(0),[u,h]=B.useState(""),[m,p]=B.useState(!1),[x,w]=B.useState(!1),[g,b]=B.useState(""),v=()=>t===0?n.title&&n.recipient_name&&n.recipient_email&&n.original_pdf_url:t===1?!0:t===2?m&&i.filter(F=>F.assigned_to==="sender").every(F=>F.value):!0,N=async()=>{b(""),w(!0);try{const F=await Ce.auth.me(),S=await Ce.entities.Contract.create({title:n.title,re
975cipient_name:n.recipient_name,recipient_email:n.recipient_email,original_pdf_url:n.original_pdf_url,sender_user_id:F.id,sender_name:F.full_name,sender_email:F.email,sender_signed_at:new Date().toISOString(),status:"draft",page_count:1});await Ce.entities.AuditEvent.create({contract_id:S.id,event_type:"created",actor:F.full_name,actor_email:F.email,timestamp:new Date().toISOString(),detail:"Contract created"});for(const D of i)await Ce.entities.SignatureField.create({contract_id:S.id,assigned_to:D.assigned_to,field_type:D.field_type,label:D.label,page:D.page,x:D.x,y:D.y,width:D.width,height:D.height,value:D.value||null,filled_at:D.value?new Date().toISOString():null});const E=i.find(D=>D.assigned_to==="sender"&&D.field_type==="signature"&&D.value);E&&await Ce.entities.Signature.create({contract_id:S.id,signer_role:"sender",signer_name:F.full_name,signer_email:F.email,method:u&&E.value?"typed":"drawn",image_data_url:E.value||"",consent_given:m,signed_at:new Date().toISOString()}),await Ce.entities.AuditEvent.create({contract_id:S.id,event_type:"sender_signed",actor:F.full_name,actor_email:F.email,timestamp:new Date().toISOString(),detail:"Sender signed the document"}),e(`/signflow/${S.id}`)}catch(F){b(F.message||"Something went wrong")}w(!1)};return a.jsx("div",{className:"min-h-screen bg-[#F8F8F6] p-6",children:a.jsxs("div",{className:"max-w-5xl mx-auto",children:[a.jsxs("button",{onClick:()=>e("/signflow"),className:"text-sm text-gray-400 hover:text-[#1C2B3A] mb-6 flex items-center gap-1 transition",children:[a.jsx(rn,{className:"w-3.5 h-3.5"})," Back to Dashboard"]}),a.jsx("div",{className:"flex items-center gap-2 mb-8",children:i3.map((F,S)=>a.jsxs(Pt.Fragment,{children:[a.jsxs("button",{onClick:()=>S<t?r(S):null,className:`flex items-center gap-2 px-4 py-2 rounded-full text-sm font-semibold transition ${S===t?"bg-[#1C2B3A] text-white":S<t?"bg-green-100 text-green-700 cursor-pointer":"bg-gray-100 text-gray-400"}`,children:[S<t?a.jsx(Fs,{className:"w-3.5 h-3.5"}):a.jsx("span",{className:"w-5 h-5 rounded-full border-2 border-current flex items-center justify-center text-xs",children:S+1}),F]}),S<i3.length-1&&a.jsx("div",{className:"w-8 h-px bg-gray-200"})]},F))}),a.jsxs("div",{className:"bg-white rounded-2xl border border-gray-100 shadow-sm p-8",children:[t===0&&a.jsx(iue,{form:n,setForm:s}),t===1&&a.jsx(oue,{pdfUrl:n.original_pdf_url,fields:i,setFields:o,currentPage:c,setCurrentPage:d}),t===2&&a.jsx(lue,{fields:i,setFields:o,typedName:u,setTypedName:h,consent:m,setConsent:p}),t===3&&a.jsx(cue,{form:n,fields:i}),g&&a.jsx("p",{className:"text-red-500 text-sm mt-4 bg-red-50 rounded-lg px-4 py-3",children:g}),a.jsxs("div",{className:"flex justify-between mt-8 pt-6 border-t border-gray-100",children:[a.jsxs("button",{onClick:()=>r(F=>Math.max(0,F-1)),disabled:t===0,className:"flex items-center gap-2 text-sm text-gray-500 hover:text-[#1C2B3A] px-4 py-2 rounded-lg hover:bg-gray-50 transition disabled:opacity-30",children:[a.jsx(rn,{className:"w-3.5 h-3.5"})," Previous"]}),t<3?a.jsxs("button",{onClick:()=>r(F=>F+1),disabled:!v(),className:"flex items-center gap-2 bg-[#1C2B3A] text-white text-sm font-semibold px-6 py-2.5 rounded-xl hover:bg-[#2C3B4A] transition disabled:opacity-40 disabled:cursor-not-allowed",children:["Next ",a.jsx(bt,{className:"w-3.5 h-3.5"})]}):a.jsx("button",{onClick:N,disabled:x||!v(),className:"flex items-center gap-2 bg-[#C9A84C] text-white text-sm font-semibold px-6 py-2.5 rounded-xl hover:bg-[#B8941F] transition disabled:opacity-40 disabled:cursor-not-allowed",children:x?"Saving...":"Create & Sign"})]})]})]})})}const o3={draft:{color:"bg-gray-100 text-gray-600",label:"Draft"},sent:{color:"bg-blue-100 text-blue-700",label:"Sent"},viewed:{color:"bg-purple-100 text-purple-700",label:"Viewed"},signed_by_recipient:{color:"bg-yellow-100 text-yellow-700",label:"Pending Completion"},completed:{color:"bg-green-100 text-green-700",label:"Completed"},declined:{color:"bg-red-100 text-red-700",label:"Declined"},voided:{color:"bg-red-100 text-red-700",label:"Voided"}},due={created:js,sender_signed:l3,sent:or,email_delivered:or,viewed:ko,consent_accepted:La,recipient_signed:l3,completed:La,final_pdf_generated:js,email_to_both:or,declined:bA,voided:$u};function l3(e){return a.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:a.jsx("path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z"})})}function uue(){const{id:e}=zp(),t=Lo(),[r,n]=B.useState(null),[s,i]=B.useState([]),[o,c]=B.useState(!0),[d,u]=B.useState(!1);B.useEffect(()=>{(async()=>{const x=await Ce.entities.Contract.filter({id:e});if(x.length===0){c(!1);return}n(x[0]);const w=await Ce.entities.AuditEvent.filter({contract_id:e});i(w.sort((g,b)=>new Date(b.timestamp)-new Date(g.timestamp))),c(!1)})()},[e]);const h=async()=>{var w;if(u(!0),(w=(await Ce.functions.invoke("sendForSignature",{contractId:e})).data)!=null&&w.success){const g=await Ce.entities.Contract.filter({id:e});n(g[0])}u(!1)},m=async()=>
975{if(!confirm("Void this contract?"))return;await Ce.entities.Contract.update(e,{status:"voided"}),await Ce.entities.AuditEvent.create({contract_id:e,event_type:"voided",actor:"Admin",timestamp:new Date().toISOString(),detail:"Contract voided by admin"});const x=await Ce.entities.Contract.filter({id:e});n(x[0])};if(o)return a.jsx("div",{className:"min-h-screen bg-[#F8F8F6] flex items-center justify-center",children:a.jsx("div",{className:"w-8 h-8 border-4 border-[#C9A84C]/30 border-t-[#C9A84C] rounded-full animate-spin"})});if(!r)return a.jsx("div",{className:"min-h-screen bg-[#F8F8F6] p-6 flex items-center justify-center",children:a.jsxs("div",{className:"text-center",children:[a.jsx(js,{className:"w-16 h-16 text-gray-300 mx-auto mb-4"}),a.jsx("h2",{className:"text-xl text-gray-500",children:"Contract not found"}),a.jsx(He,{to:"/signflow",className:"text-[#C9A84C] text-sm hover:underline mt-2 inline-block",children:"Back to Dashboard"})]})});const p=o3[r.status]||o3.draft;return a.jsx("div",{className:"min-h-screen bg-[#F8F8F6] p-6",children:a.jsxs("div",{className:"max-w-4xl mx-auto",children:[a.jsxs("button",{onClick:()=>t("/signflow"),className:"text-sm text-gray-400 hover:text-[#1C2B3A] mb-6 flex items-center gap-1 transition",children:[a.jsx(rn,{className:"w-3.5 h-3.5"})," Back to Dashboard"]}),a.jsxs("div",{className:"bg-white rounded-2xl border border-gray-100 shadow-sm p-8 mb-6",children:[a.jsxs("div",{className:"flex items-start justify-between mb-6",children:[a.jsxs("div",{children:[a.jsx("h1",{className:"font-serif text-2xl text-[#1C2B3A] mb-1",children:r.title}),a.jsx("span",{className:`inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-xs font-semibold ${p.color}`,children:p.label})]}),a.jsxs("div",{className:"flex gap-2",children:[r.status==="draft"&&r.sender_signed_at&&a.jsxs("button",{onClick:h,disabled:d,className:"bg-[#C9A84C] text-white text-sm font-semibold px-4 py-2 rounded-xl hover:bg-[#B8941F] transition flex items-center gap-2 disabled:opacity-60",children:[a.jsx(or,{className:"w-3.5 h-3.5"})," ",d?"Sending...":"Send"]}),r.status==="completed"&&a.jsxs(a.Fragment,{children:[a.jsxs("a",{href:r.final_pdf_url,target:"_blank",rel:"noopener noreferrer",className:"border border-[#C9A84C] text-[#C9A84C] text-sm font-semibold px-4 py-2 rounded-xl hover:bg-[#C9A84C]/5 transition flex items-center gap-2",children:[a.jsx(Xu,{className:"w-3.5 h-3.5"})," Signed PDF"]}),a.jsxs("a",{href:r.certificate_pdf_url,target:"_blank",rel:"noopener noreferrer",className:"border border-gray-200 text-gray-500 text-sm font-semibold px-4 py-2 rounded-xl hover:bg-gray-50 transition flex items-center gap-2",children:[a.jsx(M3,{className:"w-3.5 h-3.5"})," Certificate"]})]}),!["completed","voided","declined"].includes(r.status)&&a.jsxs("button",{onClick:m,className:"border border-red-200 text-red-400 text-sm font-semibold px-4 py-2 rounded-xl hover:bg-red-50 transition flex items-center gap-2",children:[a.jsx($u,{className:"w-3.5 h-3.5"})," Void"]})]})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-xs font-semibold text-gray-400 uppercase tracking-wider mb-3",children:"Sender"}),a.jsx("p",{className:"text-sm font-semibold text-[#1C2B3A]",children:r.sender_name}),a.jsx("p",{className:"text-sm text-gray-500",children:r.sender_email}),r.sender_signed_at&&a.jsxs("p",{className:"text-xs text-green-600 mt-1",children:["Signed: ",new Date(r.sender_signed_at).toLocaleString("en-GB")]})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xs font-semibold text-gray-400 uppercase tracking-wider mb-3",children:"Recipient"}),a.jsx("p",{className:"text-sm font-semibold text-[#1C2B3A]",children:r.recipient_name}),a.jsx("p",{className:"text-sm text-gray-500",children:r.recipient_email}),r.recipient_signed_at&&a.jsxs("p",{className:"text-xs text-green-600 mt-1",children:["Signed: ",new Date(r.recipient_signed_at).toLocaleString("en-GB")]})]})]})]}),r.original_pdf_url&&a.jsxs("div",{className:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6 mb-6",children:[a.jsx("h3",{className:"font-semibold text-sm text-gray-400 uppercase tracking-wider mb-4",children:"Document Preview"}),a.jsx("iframe",{src:r.final_pdf_url||r.original_pdf_url,className:"w-full rounded-xl border border-gray-100",style:{height:500},title:"Document"})]}),a.jsxs("div",{className:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6",children:[a.jsxs("h3",{className:"font-semibold text-sm text-gray-400 uppercase tracking-wider mb-4 flex items-center gap-2",children:[a.jsx(wo,{className:"w-3.5 h-3.5"})," Audit Trail"]}),s.length===0?a.jsx("p",{className:"text-sm text-gray-300 text-center py-8",children:"No events recorded yet"}):a.jsx("div",{className:"space-y-0 relative before:absolute before:left-[19px] before:top-0 before:bottom-0 before:w-px before:bg-gray-100",children:s.map((x,w)=>{const g=due[x.event_type]||js;return a.jsxs(V.div,{initial:{opacity:0,x:-10}
975,animate:{opacity:1,x:0},transition:{delay:w*.03},className:"relative pl-12 pb-6 last:pb-0",children:[a.jsx("div",{className:"absolute left-0 w-10 h-10 rounded-full bg-gray-50 border border-gray-200 flex items-center justify-center",children:a.jsx(g,{className:"w-4 h-4 text-gray-400"})}),a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-semibold text-[#1C2B3A] capitalize",children:x.event_type.replace(/_/g," ")}),a.jsxs("p",{className:"text-xs text-gray-400",children:[new Date(x.timestamp).toLocaleString("en-GB")," · ",x.actor]}),x.ip_address&&a.jsxs("p",{className:"text-xs text-gray-300",children:["IP: ",x.ip_address]}),x.detail&&a.jsx("p",{className:"text-xs text-gray-500 mt-1",children:x.detail})]})]},x.id||w)})})]})]})})}function hue(){const{token:e}=zp(),[t,r]=B.useState({loading:!0,error:null,status:null}),[n,s]=B.useState(null),[i,o]=B.useState([]),[c,d]=B.useState(null),[u,h]=B.useState(!1),[m,p]=B.useState("draw"),[x,w]=B.useState(""),[g,b]=B.useState(!1),[v,N]=B.useState(!1),F=B.useRef(null);B.useEffect(()=>{(async()=>{var E,D,T;try{const k=await Ce.functions.invoke("getContractByToken",{token:e});if((E=k.data)!=null&&E.error){r({loading:!1,error:k.data.error,status:k.data.status});return}const I=k.data;s(I.contract),o(I.fields||[]),d(I.senderSignature),r({loading:!1,error:null,status:null})}catch(k){r({loading:!1,error:((T=(D=k==null?void 0:k.response)==null?void 0:D.data)==null?void 0:T.error)||"Failed to load document",status:null})}})()},[e]);const S=async()=>{var k;if(!u)return;b(!0);let E="";if(m==="draw"&&F.current)E=AD(F.current);else if(m==="type"&&x){const I=document.createElement("canvas");I.width=400,I.height=100;const Y=I.getContext("2d");Y.fillStyle="#ffffff",Y.fillRect(0,0,400,100),Y.font="italic 36px 'Great Vibes', 'Brush Script MT', cursive",Y.fillStyle="#1C2B3A",Y.fillText(x,20,60),E=I.toDataURL("image/png")}const T=i.filter(I=>I.assigned_to==="recipient").map(I=>I.field_type==="signature"&&E?{fieldId:I.id,value:E}:I.field_type==="full_name"&&x?{fieldId:I.id,value:x}:I.field_type==="date"?{fieldId:I.id,value:new Date().toISOString().split("T")[0]}:I.field_type==="text"&&I.value?{fieldId:I.id,value:I.value}:{fieldId:I.id,value:E||I.value||""});try{(k=(await Ce.functions.invoke("submitRecipientSignature",{token:e,fieldValues:T.filter(Y=>Y.value),signatureImage:E,consent:u,ip:"",userAgent:navigator.userAgent})).data)!=null&&k.success&&N(!0)}catch(I){console.error(I)}b(!1)};return t.loading?a.jsx("div",{className:"min-h-screen bg-[#F8F8F6] flex items-center justify-center",children:a.jsx("div",{className:"w-8 h-8 border-4 border-[#C9A84C]/30 border-t-[#C9A84C] rounded-full animate-spin"})}):t.error?a.jsx("div",{className:"min-h-screen bg-[#F8F8F6] flex items-center justify-center p-6",children:a.jsx("div",{className:"max-w-md w-full bg-white rounded-2xl shadow-lg p-8 text-center",children:t.status==="completed"?a.jsxs(a.Fragment,{children:[a.jsx(La,{className:"w-16 h-16 text-green-500 mx-auto mb-4"}),a.jsx("h2",{className:"font-serif text-2xl text-[#1C2B3A] mb-2",children:"Already Signed"}),a.jsx("p",{className:"text-gray-500",children:"This document has already been signed by all parties."})]}):t.status==="expired"?a.jsxs(a.Fragment,{children:[a.jsx(bA,{className:"w-16 h-16 text-red-400 mx-auto mb-4"}),a.jsx("h2",{className:"font-serif text-2xl text-[#1C2B3A] mb-2",children:"Link Expired"}),a.jsx("p",{className:"text-gray-500",children:"This signing link has expired. Please contact the sender for a new one."})]}):a.jsxs(a.Fragment,{children:[a.jsx(bA,{className:"w-16 h-16 text-red-400 mx-auto mb-4"}),a.jsx("h2",{className:"font-serif text-2xl text-[#1C2B3A] mb-2",children:"Unavailable"}),a.jsx("p",{className:"text-gray-500",children:t.error})]})})}):v?a.jsx("div",{className:"min-h-screen bg-[#F8F8F6] flex items-center justify-center p-6",children:a.jsxs(V.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},className:"max-w-md w-full bg-white rounded-2xl shadow-lg p-8 text-center",children:[a.jsx(La,{className:"w-16 h-16 text-green-500 mx-auto mb-4"}
975),a.jsx("h2",{className:"font-serif text-2xl text-[#1C2B3A] mb-2",children:"You've Signed!"}),a.jsx("p",{className:"text-gray-500 mb-6",children:"Thank you. A copy of the signed document has been emailed to you."}),a.jsxs("div",{className:"bg-[#F8F8F6] rounded-xl p-4 text-left",children:[a.jsx("p",{className:"text-xs text-gray-400 uppercase tracking-wider mb-1",children:"Document"}),a.jsx("p",{className:"text-sm font-semibold text-[#1C2B3A]",children:n==null?void 0:n.title})]})]})}):a.jsxs("div",{className:"bg-[#F8F8F6]",children:[a.jsxs("div",{className:"bg-[#1C2B3A] px-6 py-4 flex items-center justify-between sticky top-0 z-20",children:[a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx(js,{className:"w-5 h-5 text-[#C9A84C]"}),a.jsxs("div",{children:[a.jsx("span",{className:"text-white font-semibold text-sm",children:"SignFlow"}),a.jsx("p",{className:"text-gray-400 text-xs",children:n==null?void 0:n.title})]})]}),a.jsx(M3,{className:"w-4 h-4 text-[#C9A84C]"})]}),a.jsxs("div",{className:"max-w-4xl mx-auto p-4 md:p-6",children:[a.jsx("div",{className:"bg-white rounded-2xl border border-gray-100 shadow-sm mb-6 overflow-hidden",children:a.jsx("embed",{src:n==null?void 0:n.original_pdf_url,type:"application/pdf",className:"w-full",style:{height:"calc(100vh - 140px)",minHeight:"400px"}})}),a.jsxs("div",{className:"bg-white rounded-2xl border-2 border-[#C9A84C] shadow-sm p-6 mb-6",id:"sign",children:[a.jsx("h2",{className:"font-serif text-xl text-[#1C2B3A] mb-1",children:"Your Signature"}),a.jsxs("p",{className:"text-sm text-gray-500 mb-4",children:["Sent by ",n==null?void 0:n.sender_name," â please sign below"]}),a.jsxs("div",{className:"flex gap-2 mb-5",children:[a.jsxs("button",{onClick:()=>p("draw"),className:`flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-semibold transition ${m==="draw"?"bg-[#1C2B3A] text-white":"bg-gray-100 text-gray-500"}`,children:[a.jsx(P3,{className:"w-4 h-4"})," Draw"]}),a.jsxs("button",{onClick:()=>p("type"),className:`flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-semibold transition ${m==="type"?"bg-[#1C2B3A] text-white":"bg-gray-100 text-gray-500"}`,children:[a.jsx(zy,{className:"w-4 h-4"})," Type"]})]}),m==="draw"?a.jsx("div",{className:"mb-5",children:a.jsx("canvas",{ref:F,width:500,height:150,className:"w-full border-2 border-dashed border-gray-300 rounded-xl bg-white cursor-crosshair touch-none",onMouseDown:E=>{const D=F.current,T=D.getContext("2d"),k=D.getBoundingClientRect();T.strokeStyle="#1C2B3A",T.lineWidth=2.5,T.lineCap="round",T.beginPath(),T.moveTo((E.clientX-k.left)*(D.width/k.width),(E.clientY-k.top)*(D.height/k.height)),D._drawing=!0},onMouseMove:E=>{const D=F.current;if(!D._drawing)return;const T=D.getContext("2d"),k=D.getBoundingClientRect();T.lineTo((E.clientX-k.left)*(D.width/k.width),(E.clientY-k.top)*(D.height/k.height)),T.stroke()},onMouseUp:()=>{F.current&&(F.current._drawing=!1)},onMouseLeave:()=>{F.current&&(F.current._drawing=!1)},onTouchStart:E=>{E.preventDefault();const D=F.current,T=D.getContext("2d"),k=D.getBoundingClientRect();T.strokeStyle="#1C2B3A",T.lineWidth=2.5,T.lineCap="round",T.beginPath(),T.moveTo((E.touches[0].clientX-k.left)*(D.width/k.width),(E.touches[0].clientY-k.top)*(D.height/k.height)),D._drawing=!0},onTouchMove:E=>{E.preventDefault();const D=F.current;if(!D._drawing)return;const T=D.getContext("2d"),k=D.getBoundingClientRect();T.lineTo((E.touches[0].clientX-k.left)*(D.width/k.width),(E.touches[0].clientY-k.top)*(D.height/k.height)),T.stroke()},onTouchEnd:()=>{F.current&&(F.current._drawing=!1)}})}):a.jsx("div",{className:"mb-5",children:a.jsx("input",{value:x,onChange:E=>w(E.target.value),className:"w-full border border-gray-200 rounded-xl px-4 py-3 text-2xl italic font-serif text-[#1C2B3A] placeholder-gray-300",placeholder:"Type your full name"})}),a.jsxs("label",{className:"flex items-start gap-3 cursor-pointer mb-5",children:[a.jsx("input",{type:"checkbox",checked:u,onChange:E=>h(E.target.checked),className:"mt-1 w-4 h-4 rounded border-gray-300 text-[#C9A84C] focus:ring-[#C9A84C]"}),a.jsx("span",{className:"text-sm text-gray-600",children:"I agree to sign electronically â this is legally binding."})]}),a.jsx("button",{onClick:S,disabled:g||!u||!x&&m==="type",className:"w-full bg-[#C9A84C] hover:bg-[#B8941F] text-white font-bold py-4 rounded-xl text-lg transition shadow-lg disabled:opacity-40 disabled:cursor-not-allowed",children:g?"Signing...":"Sign Document"})]})]})]})}
975function fue(){const e=Lo(),[t,r]=B.useState(""),[n,s]=B.useState(""),[i,o]=B.useState(!1),[c,d]=B.useState(""),u=async h=>{h.preventDefault(),o(!0),d("");try{const p=(await Ce.functions.invoke("photographerLogin",{email:t.trim(),access_code:n.trim()})).data;localStorage.setItem("nfa_portal_session",JSON.stringify({session_id:p.session_id,photographer:p.photographer,year:p.year})),e("/portal")}catch{d("Invalid code or email. Please check your details and try again.")}finally{o(!1)}};return a.jsx("div",{className:"min-h-screen bg-[#0E0E10] flex items-center justify-center px-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx(He,{to:"/",className:"inline-block",children:a.jsx("h1",{className:"font-editorial text-3xl font-bold text-white tracking-wide",children:"National Film Awards"})}),a.jsx("p",{className:"text-[#C29F0E] text-xs font-semibold tracking-[0.3em] uppercase mt-2",children:"Photographer Portal"})]}),a.jsxs("div",{className:"bg-[#1A1A1D] border border-[#C29F0E]/20 rounded-2xl p-8",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[a.jsx("div",{className:"w-10 h-10 bg-[#C29F0E]/15 rounded-full flex items-center justify-center",children:a.jsx(Yu,{className:"w-5 h-5 text-[#C29F0E]"})}),a.jsxs("div",{children:[a.jsx("h2",{className:"font-editorial text-xl font-bold text-white",children:"Upload Login"}),a.jsx("p",{className:"text-gray-500 text-xs",children:"Enter your credentials to upload"})]})]}),a.jsxs("form",{onSubmit:u,className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx("label",{className:"text-xs font-semibold text-gray-400 uppercase tracking-wider mb-1.5 block",children:"Email Address"}),a.jsx(Bt,{type:"email",value:t,onChange:h=>r(h.target.value),required:!0,className:"bg-[#0E0E10] border-[#C29F0E]/20 text-white placeholder-gray-600",placeholder:"[email protected]"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"text-xs font-semibold text-gray-400 uppercase tracking-wider mb-1.5 block",children:"Access Code"}),a.jsx(Bt,{type:"text",value:n,onChange:h=>s(h.target.value),required:!0,className:"bg-[#0E0E10] border-[#C29F0E]/20 text-white placeholder-gray-600 font-mono tracking-wider",placeholder:"XXXXXXXX"})]}),c&&a.jsx("p",{className:"text-red-400 text-sm bg-red-400/10 border border-red-400/20 rounded-lg px-3 py-2",children:c}),a.jsx(Zt,{type:"submit",disabled:i,className:"w-full bg-[#C29F0E] hover:bg-[#A8840B] text-black font-bold",children:i?a.jsx(ir,{className:"w-4 h-4 animate-spin"}):a.jsxs(a.Fragment,{children:["Log in to upload ",a.jsx(bt,{className:"w-4 h-4 ml-2"})]})})]})]}),a.jsx("p",{className:"text-center text-gray-600 text-xs mt-6",children:"Assigned photographers only. Contact NFA if you need access."})]})})}const mue=["Red Carpet","Reception","Awards Ceremony","Media Room","Sponsor Images"],pue=15*1024*1024;function gue({session:e,onPhotoUploaded:t}){var ee,ie;const[r,n]=B.useState(""),[s,i]=B.useState(""),[o,c]=B.useState([]),[d,u]=B.useState(!1),[h,m]=B.useState({}),[p,x]=B.useState({}),[w,g]=B.useState([]),[b,v]=B.useState(""),[N,F]=B.useState(""),S=B.useRef(null),E=W=>{const ce=Array.from(W.target.files);T(ce),W.target&&(W.target.value="")},D=W=>{W.preventDefault();const ce=Array.from(W.dataTransfer.files);T(ce)},T=W=>{const ce=[],we=[];for(const ne of W)ne.size>pue?we.push({name:ne.name,size:ne.size}):ce.push(ne);ce.length>0&&c(ne=>[...ne,...ce]),we.length>0&&g(ne=>[...ne,...we])},k=W=>{c(ce=>ce.filter((we,ne)=>ne!==W)),x(ce=>{const we={...ce};return delete we[W],we})},I=()=>g([]),Y=async()=>{var ne,re;if(!r){v("Please select an album section");return}if(r==="Sponsor Images"&&!s.trim()){v("Please enter a brand name for Sponsor Images");return}if(o.length===0){v("Please select at least one photo to upload");return}v(""),u(!0),x({});let W=0;const ce=[];for(let X=0;X<o.length;X++){const de=o[X];m(ae=>({...ae,[X]:"uploading"}));try{const q=(await Ce.integrations.Core.UploadFile({file:de})).file_url,L=await Ce.functions.invoke("uploadPhoto",{session_id:e.session_id,image_url:q,album_section:r,brand_name:r==="Sponsor Images"?s.trim():""});t({...L.data.photo,original_filename:de.name}),W++,m(J=>({...J,[X]:"done"}))}catch(ae){const q=((re=(ne=ae==null?void 0:ae.response)==null?void 0:ne.data)==null?void 0:re.error)||(ae==null?void 0:ae.message)||"Upload failed";m(L=>({...L,[X]:"error"})),x(L=>({...L,[X]:q})),ce.push(X)}}u(!1),W>0&&(F(`Live in the ${r} gallery â ${W} photo${W!==1?"s":""} uploaded`),setTimeout(()=>F(""),4e3));const we=ce.length===0;c(we?[]:o.filter((X,de)=>ce.includes(de))),m(we?{}:{}),we&&(n(""),i(""))};return a.jsxs("div",{className:"bg-[#1A1A1D] border border-[#C29F0E]/20 rounded-2xl p-6",children:[a.jsx("h2",{className:"font-editorial text-lg font-bold text-white mb-4",children:"Upload Photos"}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx("label",{className:"text-xs font-semibold text-gray-400 uppercase tracking-wider mb-1.5 block",children:"Year"}),a.jsx(Bt,{value:((ee=e==null?void 0:e.year)==null?void 0:ee.year)||"",disabled:!0,className:"bg-[#0E0E10] border-[#C29F0E]/10 text-gray-500"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"text-xs font-semibold text-gray-400 uppercase tracking-wider mb-1.5 block",children:"Full Name of NFA Assigned Photographer"}),a.jsx(Bt,{value:((ie=e==null?void 0:e.photographer)==null?void 0:ie.full_name)||"",disabled:!0,className:"bg-[#0E0E10] border-[#C29F0E]/10 text-gray-500"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"text-xs font-semibold text-gray-400 uppercase tracking-wider mb-1.5 block",children:"Album Section"}),a.jsxs(lo,{value:r,onValueChange:n,children:[a.jsx(Zs,{className:"bg-[#0E0E10] border-[#C29F0E]/20 text-white",children:a.jsx(co,{placeholder:"Select album section"})}),a.jsx(ei,{children:mue.map(W=>a.jsx(jn,{value:W,children:W},W))})]})]}),r==="Sponsor Images"&&a.jsxs("div",{children:[a.jsx("label",{className:"text-xs font-semibold text-gray-400 uppercase tracking-wider mb-1.5 block",children:"Brand Name"}),a.jsx(Bt,{value:s,onChange:W=>i(W.target.value),placeholder:"e.g. Leger Holidays",className:"bg-[#0E0E10] border-[#C29F0E]/20 text-white"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"text-xs font-semibold text-gray-400 uppercase tracking-wider mb-1.5 block",children:"Upload Photos"}),a.jsxs("div",{onDragOver:W=>W.preventDefault(),onDrop:D,onClick:()=>{var W;return(W=S.current)==null?void 0:W.click()},className:"border-2 border-dashed border-[#C29F0E]/20 rounded-xl p-8 text-center cursor-pointer hover:border-[#C29F0E]/40 transition-colors",children:[a.jsx(tI,{className:"w-8 h-8 text-[#C29F0E]/50 mx-auto mb-2"}),a.jsx("p",{className:"text-gray-400 text-sm",children:"Drag & drop or click to select"}),a.jsx("p",{className:"text-gray-600 text-xs mt-1",children:"JPG, PNG, HEIC, WEBP â multiple files OK"}),a.jsx("p",{className:"text-gray-600 text-xs mt-0.5",children:"Max 15MB per photo. Large camera files should be converted to JPG first."}),a.jsx("input",{ref:S,type:"file",multiple:!0,accept:"image/jpeg,image/png,image/heic,image/webp,.heic",onChange:E,className:"hidden"})]}),w.length>0&&a.jsx("div",{className:"mt-3 bg-red-400/10 border border-red-400/20 rounded-lg px-3 py-2",children:a.jsxs("div",{className:"flex items-start justify-between gap-2",children:[a.jsxs("div",{className:"flex items-start gap-2 flex-1",children:[a.jsx(kl,{className:"w-4 h-4 text-red-400 mt-0.5 flex-shrink-0"}),a.jsxs("div",{className:"flex-1 min-w-0",children:[a.jsxs("p",{className:"text-red-400 text-xs font-semibold mb-1",children:[w.length," file",w.length!==1?"s":""," over 15MB â not added:"]}),a.jsx("ul",{className:"text-red-300/80 text-xs space-y-0.5",children:w.map((W,ce)=>a.jsxs("li",{className:"truncate",children:[W.name," (",(W.size/1024/1024).toFixed(1),"MB)"]},ce))}),a.jsx("p",{className:"text-red-300/60 text-xs mt-1",children:"Please resize these and try again."})]})]}),a.jsx("button",{onClick:W=>{W.stopPropagation(),I()},className:"text-red-400/60 hover:text-red-400 flex-shrink-0",children:a.jsx(tr,{className:"w-4 h-4"})})]})}),o.length>0&&a.jsx("div",{className:"mt-3 grid grid-cols-4 sm:grid-cols-6 gap-2",children:o.map((W,ce)=>a.jsxs("div",{className:"relative aspect-square rounded-lg overflow-hidden bg-[#0E0E10] border border-[#C29F0E]/10",children:[a.jsx("img",{src:URL.createObjectURL(W),alt:"",className:"w-full h-full object-cover"}),h[ce]==="uploading"&&a.jsx("div",{className:"absolute inset-0 bg-black/60 flex items-center justify-center",children:a.jsx(ir,{className:"w-4 h-4 animate-spin text-[#C29F0E]"})}),h[ce]==="done"&&a.jsx("div",{className:"absolute inset-0 bg-green-500/30 flex items-center justify-center",children:a.jsx(La,{className:"w-5 h-5 text-green-400"})}),h[ce]==="error"&&a.jsxs("div",{className:"absolute inset-0 bg-red-500/30 flex flex-col items-center justify-center p-1",children:[a.jsx(tr,{className:"w-5 h-5 text-red-400"}),p[ce]&&a.jsx("p",{className:"text-red-200 text-[8px] text-center mt-0.5 leading-tight line-clamp-3",children:p[ce]})]}),!d&&a.jsx("button",{onClick:we=>{we.stopPropagation(),k(ce)},className:"absolute top-1 right-1 w-5 h-5 bg-black/60 rounded-full flex items-center justify-center",children:a.jsx(tr,{className:"w-3 h-3 text-white"})}),a.jsx("p",{className:"absolute bottom-0 left-0 right-0 bg-black/60 text-white text-[8px] px-1 py-0.5 truncate",children:W.name})]},ce))})]}),b&&a.jsx("p",{className:"text-red-400 text-sm bg-red-400/10 border border-red-400/20 rounded-lg px-3 py-2",children:b}),N&&a.jsxs("p",{className:"text-green-400 text-sm bg-green-400/10 border border-green-400/20 rounded-lg px-3 py-2 flex items-center gap-2",children:[a.jsx(La,{className:"w-4 h-4"})," ",N]}),a.jsxs(Zt,{onClick:Y,disabled:d||o.length===0,className:"w-full bg-[#C29F0E] hover:bg-[#A8840B] text-black font-bold",children:[d?a.jsx(ir,{className:"w-4 h-4 animate-spin mr-2"}):a.jsx(Cu,{className:"w-4 h-4 mr-2"}),d?"Uploading...":`Upload ${o.length||""} Photo${o.length!==1?"s":""}`]})]})]})}const xue=["Red Carpet","Reception","Awards Ceremony","Media Room","Sponsor Images"];function c3({photos:e,sessionId:t,onPhotoDeleted:r,onPhotoUpdated:n,readOnly:s=!1}){const[i,o]=B.useState(null),[c,d]=B.useState(""),[u,h]=B.useState(""),[m,p]=B.useState(null),x=b=>{o(b.id),d(b.album_section),h(b.brand_name||"")},w=async b=>{try{const v=await Ce.functions.invoke("updatePhoto",{session_id:t,photo_id:b,album_section:c,brand_name:c==="Sponsor Images"?u:""});n(b,v.data.photo),o(null)}catch{alert("Could not update photo. It may be locked.")}},g=async b=>{if(confirm("Remove this photo? This cannot be undone.")){p(b);try{await Ce.functions.invoke("deletePhoto",{session_id:t,photo_id:b}),r(b)}catch{alert("Could not delete photo. It may be locked.")}finally{p(null)}}};return e.length===0?a.jsx("div",{className:"text-center py-12 border border-dashed border-[#C29F0E]/15 rounded-xl",children:a.jsx("p",{className:"text-gray-500 text-sm",children:s?"No previous uploads found.":"No photos uploaded yet in this session."})}):a.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-3",children:e.map(b=>a.jsxs("div",{className:"relative group rounded-xl overflow-hidden bg-[#1A1A1D] border border-[#C29F0E]/10",children:[a.jsx("img",{src:b.image,alt:"",className:"w-full aspect-square object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-trans
975parent to-transparent"}),(b.locked||s)&&a.jsxs("div",{className:"absolute top-2 left-2 bg-[#C29F0E]/80 text-black text-xs px-1.5 py-0.5 rounded flex items-center gap-1",children:[a.jsx(pi,{className:"w-3 h-3"})," Locked"]}),a.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-2",children:[a.jsx("p",{className:"text-white text-xs font-semibold truncate",children:b.album_section}),b.brand_name&&a.jsx("p",{className:"text-[#C29F0E] text-xs truncate",children:b.brand_name}),b.original_filename&&a.jsx("p",{className:"text-gray-300 text-[10px] truncate",children:b.original_filename})]}),i===b.id?a.jsxs("div",{className:"absolute inset-0 bg-black/95 p-3 flex flex-col gap-2 justify-center",children:[a.jsxs(lo,{value:c,onValueChange:d,children:[a.jsx(Zs,{className:"bg-[#0E0E10] border-[#C29F0E]/20 text-white text-xs h-8",children:a.jsx(co,{})}),a.jsx(ei,{children:xue.map(v=>a.jsx(jn,{value:v,children:v},v))})]}),c==="Sponsor Images"&&a.jsx(Bt,{value:u,onChange:v=>h(v.target.value),placeholder:"Brand name",className:"bg-[#0E0E10] border-[#C29F0E]/20 text-white text-xs h-8"}),a.jsxs("div",{className:"flex gap-2",children:[a.jsx(Zt,{size:"sm",onClick:()=>w(b.id),className:"bg-[#C29F0E] text-black h-7 text-xs flex-1",children:a.jsx(Fs,{className:"w-3 h-3"})}),a.jsx(Zt,{size:"sm",variant:"outline",onClick:()=>o(null),className:"border-[#C29F0E]/20 text-white h-7 text-xs",children:a.jsx(tr,{className:"w-3 h-3"})})]})]}):!b.locked&&!s?a.jsxs("div",{className:"absolute top-2 right-2 flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[a.jsx("button",{onClick:()=>x(b),className:"w-7 h-7 bg-black/60 rounded-full flex items-center justify-center hover:bg-[#C29F0E]",children:a.jsx(Dw,{className:"w-3 h-3 text-white"})}),a.jsx("button",{onClick:()=>g(b.id),disabled:m===b.id,className:"w-7 h-7 bg-black/60 rounded-full flex items-center justify-center hover:bg-red-500",children:a.jsx(SA,{className:"w-3 h-3 text-white"})})]}):null]},b.id))})}function yue(){var g,b;const e=Lo(),[t,r]=B.useState(null),[n,s]=B.useState([]),[i,o]=B.useState([]),[c,d]=B.useState(!0),u=B.useCallback(async()=>{const v=localStorage.getItem("nfa_portal_session");if(!v){e("/upload-login");return}const N=JSON.parse(v);try{const S=(await Ce.functions.invoke("getPortalData",{session_id:N.session_id})).data;r({session_id:N.session_id,photographer:S.photographer,year:S.year,session:S.session}),s(S.current_session_photos||[]),o((S.all_photos||[]).filter(E=>!E.is_current_session))}catch{localStorage.removeItem("nfa_portal_session"),e("/upload-login")}finally{d(!1)}},[e]);B.useEffect(()=>{u()},[u]);const h=v=>{s(N=>[v,...N]),o(N=>[v,...N])},m=v=>{s(N=>N.filter(F=>F.id!==v)),o(N=>N.filter(F=>F.id!==v))},p=(v,N)=>{s(F=>F.map(S=>S.id===v?{...S,...N}:S)),o(F=>F.map(S=>S.id===v?{...S,...N}:S))},x=async()=>{if(confirm("Once you finalise, you will not be able to edit or delete your uploads. Are you sure?"))try{await Ce.functions.invoke("finaliseSession",{session_id:t.session_id}),localStorage.removeItem("nfa_portal_session"),e("/upload-login")}catch{alert("Could not finalise. Please try again.")}},w=async()=>{try{t&&await Ce.functions.invoke("finaliseSession",{session_id:t.session_id})}catch{}localStorage.removeItem("nfa_portal_session"),e("/upload-login")};return c?a.jsx("div",{className:"min-h-screen bg-[#0E0E10] flex items-center justify-center",children:a.jsx(ir,{className:"w-8 h-8 animate-spin text-[#C29F0E]"})}):a.jsxs("div",{className:"min-h-screen bg-[#0E0E10]",children:[a.jsx("header",{className:"border-b border-[#C29F0E]/15 bg-[#1A1A1D]",children:a.jsxs("div",{className:"max-w-6xl mx-auto px-4 py-5 flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"w-10 h-10 bg-[#C29F0E]/15 rounded-full flex items-center justify-center",children:a.jsx(Yu,{className:"w-5 h-5 text-[#C29F0E]"})}),a.jsxs("div",{children:[a.jsxs("h1",{className:"font-editorial text-lg font-bold text-white",children:["Welcome, ",(g=t==null?void 0:t.photographer)==null?void 0:g.full_name]}),a.jsxs("p",{className:"text-[#C29F0E] text-xs font-semibold tracking-wider",children:["NFA ",(b=t==null?void 0:t.year)==null?void 0:b.year," â Upload Portal"]})]})]}),a.jsxs(Zt,{onClick:w,variant:"outline",className:"border-[#C29F0E]/30 text-[#C29F0E] hover:bg-[#C29F0E]/10",children:[a.jsx(I3,{className:"w-4 h-4 mr-2"})," Log out"]})]})}),a.jsxs("main",{className:"max-w-6xl mx-auto px-4 py-8",children:[a.jsx(gue,{session:t,onPhotoUploaded:h}),a.jsxs("div",{className:"mt-10",children:[a.jsxs("div",{className:"flex items-center justify-between mb-4",children:[a.jsx("h2",{className:"font-editorial text-xl font-bold text-white",children:"Your Current Upload"}),a.jsxs("span",{className:"text-gray-500 text-sm",children:[n.length," photo",n.length!==1?"s":""]})]}),a.jsx(c3,{photos:n,sessionId:t==null?void 0:t.session_id,onPhotoDeleted:m,onPhotoUpdated:p})]}),i.length>0&&a.jsxs("div",{className:"mt-10",children:[a.jsxs("div",{className:"flex items-center justify-between mb-4",children:[a.jsx("h2",{className:"font-editorial text-xl font-bold text-white",children:"Your Previous Uploads"}),a.jsxs("span",{className:"text-gray-500 text-sm",children:[i.length," photo",i.length!==1?"s":""," (locked)"]})]}),a.jsx(c3,{photos:i,readOnly:!0})]}),n.length>0&&a.jsxs("div",{className:"mt-12 border-t border-[#C29F0E]/15 pt-8 text-center",children:[a.jsx("p",{className:"text-gray-400 text-sm mb-4 max-w-md mx-auto",children:"When you're done, finalise your upload. Your photos will be locked and you won't be able to edit or delete them afterwards."}),a.jsxs(Zt,{onClick:x,className:"bg-[#C29F0E] hover:bg-[#A8840B] text-black font-bold",children:[a.jsx(La,{className:"w-4 h-4 mr-2"})," Finalise Upload"]})]})]})]})}function Em(){const e="ABCDEFGHJKLMNPQRSTUVWXYZ23456789";let t="";for(let r=0;r<8;r++)t+=e[Math.floor(Math.random()*e.length)];return t}
975function bue(){const[e,t]=B.useState([]),[r,n]=B.useState([]),[s,i]=B.useState(!0),[o,c]=B.useState(!1),[d,u]=B.useState(""),[h,m]=B.useState(""),[p,x]=B.useState(""),[w,g]=B.useState(!1),[b,v]=B.useState(null),N=async()=>{i(!0);try{const[T,k]=await Promise.all([Ce.entities.Photographer.list("-created_date",200),Ce.entities.EventYear.list("-year",50)]);t(T),n(k)}catch(T){console.error(T)}finally{i(!1)}};B.useEffect(()=>{N()},[]);const F=async()=>{var T,k;if(!(!d||!h||!p)){g(!0);try{let I=Em();const Y=e.map(ee=>ee.access_code);for(;Y.includes(I);)I=Em();await Ce.entities.Photographer.create({full_name:d,email:h.toLowerCase().trim(),access_code:I,status:"active",assigned_year:p}),u(""),m(""),x(""),c(!1),N()}catch(I){alert("Could not create photographer: "+(((k=(T=I.response)==null?void 0:T.data)==null?void 0:k.error)||I.message))}finally{g(!1)}}},S=async T=>{let k=Em();const I=e.filter(Y=>Y.id!==T.id).map(Y=>Y.access_code);for(;I.includes(k);)k=Em();try{await Ce.entities.Photographer.update(T.id,{access_code:k}),N()}catch{alert("Could not regenerate code")}},E=async T=>{const k=T.status==="active"?"revoked":"active";try{await Ce.entities.Photographer.update(T.id,{status:k}),N()}catch{alert("Could not update status")}},D=T=>{navigator.clipboard.writeText(T.access_code),v(T.id),setTimeout(()=>v(null),2e3)};return s?a.jsx("div",{className:"flex justify-center py-12",children:a.jsx(ir,{className:"w-6 h-6 animate-spin text-[#C29F0E]"})}):a.jsxs("div",{children:[a.jsxs("div",{className:"flex justify-between items-center mb-4",children:[a.jsxs("h2",{className:"text-white text-lg font-semibold",children:["Photographers (",e.length,")"]}),a.jsxs(Zt,{onClick:()=>c(!o),className:"bg-[#C29F0E] hover:bg-[#A8840B] text-black",children:[a.jsx(Kp,{className:"w-4 h-4 mr-1"})," Add Photographer"]})]}),o&&a.jsxs("div",{className:"bg-[#1A1A1D] border border-[#C29F0E]/20 rounded-xl p-4 mb-4 space-y-3",children:[r.length===0&&a.jsx("p",{className:"text-yellow-400 text-sm",children:"Create an event year first in the Years tab."}),a.jsx(Bt,{placeholder:"Full name",value:d,onChange:T=>u(T.target.value),className:"bg-[#0E0E10] border-[#C29F0E]/20 text-white"}),a.jsx(Bt,{placeholder:"Email",type:"email",value:h,onChange:T=>m(T.target.value),className:"bg-[#0E0E10] border-[#C29F0E]/20 text-white"}),a.jsxs(lo,{value:p,onValueChange:x,children:[a.jsx(Zs,{className:"bg-[#0E0E10] border-[#C29F0E]/20 text-white",children:a.jsx(co,{placeholder:"Assigned year"})}),a.jsx(ei,{children:r.map(T=>a.jsx(jn,{value:T.id,children:T.year},T.id))})]}),a.jsx(Zt,{onClick:F,disabled:w,className:"bg-[#C29F0E] hover:bg-[#A8840B] text-black",children:w?a.jsx(ir,{className:"w-4 h-4 animate-spin"}):"Create & Issue Code"})]}),a.jsxs("div",{className:"space-y-2",children:[e.map(T=>{const k=r.find(I=>I.id===T.assigned_year);return a.jsxs("div",{className:"bg-[#1A1A1D] border border-[#C29F0E]/10 rounded-xl p-4 flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-white font-semibold",children:T.full_name}),a.jsxs("p",{className:"text-gray-500 text-xs",children:[T.email," · ",(k==null?void 0:k.year)||"No year"]}),a.jsxs("div",{className:"flex items-center gap-2 mt-1",children:[a.jsx("code",{className:"text-[#C29F0E] text-sm font-mono bg-[#C29F0E]/10 px-2 py-0.5 rounded",children:T.access_code}),a.jsx("button",{onClick:()=>D(T),className:"text-gray-500 hover:text-white",children:b===T.id?a.jsx(an,{className:"w-4 h-4 text-green-400"}):a.jsx(_3,{className:"w-4 h-4"})})]})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("span",{className:`text-xs px-2 py-1 rounded-full ${T.status==="active"?"bg-green-500/15 text-green-400":"bg-red-500/15 text-red-400"}`,children:T.status}),a.jsx("button",{onClick:()=>S(T),className:"w-8 h-8 flex items-center justify-center text-gray-400 hover:text-[#C29F0E]",title:"Regenerate code",children:a.jsx(vu,{className:"w-4 h-4"})}),a.jsx("button",{onClick:()=>E(T),className:"w-8 h-8 flex items-center justify-center text-gray-400 hover:text-red-400",title:T.status==="active"?"Revoke":"Reactivate",children:a.jsx($u,{className:"w-4 h-4"})})]})]},T.id)}),e.length===0&&a.jsx("p",{className:"text-gray-500 text-sm text-center py-8",children:"No photographers yet."})]})]})}
975function wue(){const[e,t]=B.useState([]),[r,n]=B.useState(!0),[s,i]=B.useState(!1),[o,c]=B.useState(""),[d,u]=B.useState(""),[h,m]=B.useState(null),[p,x]=B.useState(""),w=async()=>{n(!0);try{const N=await Ce.entities.EventYear.list("-year",50);t(N)}catch(N){console.error(N)}finally{n(!1)}};B.useEffect(()=>{w()},[]);const g=async()=>{if(o)try{await Ce.entities.EventYear.create({year:parseInt(o),title:d,is_published:!0}),c(""),u(""),i(!1),w()}catch{alert("Could not create year")}},b=async N=>{try{await Ce.entities.EventYear.update(N.id,{is_published:!N.is_published}),w()}catch{alert("Could not update")}},v=async N=>{try{await Ce.entities.EventYear.update(N,{title:p}),m(null),w()}catch{alert("Could not save")}};return r?a.jsx("div",{className:"flex justify-center py-12",children:a.jsx(ir,{className:"w-6 h-6 animate-spin text-[#C29F0E]"})}):a.jsxs("div",{children:[a.jsxs("div",{className:"flex justify-between items-center mb-4",children:[a.jsxs("h2",{className:"text-white text-lg font-semibold",children:["Event Years (",e.length,")"]}),a.jsxs(Zt,{onClick:()=>i(!s),className:"bg-[#C29F0E] hover:bg-[#A8840B] text-black",children:[a.jsx(Kp,{className:"w-4 h-4 mr-1"})," Add Year"]})]}),s&&a.jsxs("div",{className:"bg-[#1A1A1D] border border-[#C29F0E]/20 rounded-xl p-4 mb-4 space-y-3",children:[a.jsx(Bt,{type:"number",placeholder:"Year (e.g. 2026)",value:o,onChange:N=>c(N.target.value),className:"bg-[#0E0E10] border-[#C29F0E]/20 text-white"}),a.jsx(Bt,{placeholder:"Title (e.g. 12th Annual National Film Awards)",value:d,onChange:N=>u(N.target.value),className:"bg-[#0E0E10] border-[#C29F0E]/20 text-white"}),a.jsx(Zt,{onClick:g,className:"bg-[#C29F0E] hover:bg-[#A8840B] text-black",children:"Create"})]}),a.jsx("div",{className:"space-y-2",children:e.map(N=>a.jsxs("div",{className:"bg-[#1A1A1D] border border-[#C29F0E]/10 rounded-xl p-4 flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-white font-semibold text-lg",children:N.year}),h===N.id?a.jsxs("div",{className:"flex gap-2 mt-1",children:[a.jsx(Bt,{value:p,onChange:F=>x(F.target.value),className:"bg-[#0E0E10] border-[#C29F0E]/20 text-white h-8 text-sm"}),a.jsx(Zt,{size:"sm",onClick:()=>v(N.id),className:"bg-[#C29F0E] text-black h-8",children:"Save"}),a.jsx(Zt,{size:"sm",variant:"outline",onClick:()=>m(null),className:"border-[#C29F0E]/20 text-white h-8",children:"Cancel"})]}):a.jsx("p",{className:"text-gray-500 text-sm",children:N.title||"Untitled"})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("span",{className:`text-xs px-2 py-1 rounded-full ${N.is_published?"bg-green-500/15 text-green-400":"bg-gray-500/15 text-gray-400"}`,children:N.is_published?"Published":"Hidden"}),a.jsx("button",{onClick:()=>{m(N.id),x(N.title||"")},className:"w-8 h-8 flex items-center justify-center text-gray-400 hover:text-[#C29F0E]",children:a.jsx(Dw,{className:"w-4 h-4"})}),a.jsx("button",{onClick:()=>b(N),className:"w-8 h-8 flex items-center justify-center text-gray-400 hover:text-[#C29F0E]",children:N.is_published?a.jsx(D3,{className:"w-4 h-4"}):a.jsx(ko,{className:"w-4 h-4"})})]})]},N.id))})]})}const A3=["Red Carpet","Reception","Awards Ceremony","Media Room","Sponsor Images"];
975function vue(){const[e,t]=B.useState([]),[r,n]=B.useState([]),[s,i]=B.useState([]),[o,c]=B.useState(!0),[d,u]=B.useState("all"),[h,m]=B.useState("all"),[p,x]=B.useState(null),[w,g]=B.useState(""),[b,v]=B.useState(""),[N,F]=B.useState(""),S=async()=>{c(!0);try{const[W,ce,we]=await Promise.all([Ce.entities.Photo.list("-created_date",500),Ce.entities.EventYear.list("-year",50),Ce.entities.Photographer.list("-created_date",200)]);t(W),n(ce),i(we)}catch(W){console.error(W)}finally{c(!1)}};B.useEffect(()=>{S()},[]);const E=e.filter(W=>!(d!=="all"&&W.event_year!==d||h!=="all"&&W.album_section!==h)),D=W=>{var ce;return((ce=s.find(we=>we.id===W))==null?void 0:ce.full_name)||"Unknown"},T=W=>{var ce;return((ce=r.find(we=>we.id===W))==null?void 0:ce.year)||"?"},k=W=>{x(W.id),g(W.album_section),v(W.brand_name||""),F(W.status)},I=async W=>{try{await Ce.entities.Photo.update(W,{album_section:w,brand_name:w==="Sponsor Images"?b:"",status:N}),x(null),S()}catch{alert("Could not update photo")}},Y=async W=>{try{await Ce.entities.Photo.update(W.id,{locked:!W.locked}),S()}catch{alert("Could not toggle lock")}},ee=async W=>{try{await Ce.entities.Photo.update(W.id,{status:W.status==="live"?"hidden":"live"}),S()}catch{alert("Could not update status")}},ie=async W=>{if(confirm("Permanently delete this photo?"))try{await Ce.entities.Photo.delete(W.id),S()}catch{alert("Could not delete")}};return o?a.jsx("div",{className:"flex justify-center py-12",children:a.jsx(ir,{className:"w-6 h-6 animate-spin text-[#C29F0E]"})}):a.jsxs("div",{children:[a.jsx("div",{className:"flex justify-between items-center mb-4",children:a.jsxs("h2",{className:"text-white text-lg font-semibold",children:["All Photos (",E.length,")"]})}),a.jsxs("div",{className:"flex gap-3 mb-4",children:[a.jsxs(lo,{value:d,onValueChange:u,children:[a.jsx(Zs,{className:"bg-[#1A1A1D] border-[#C29F0E]/20 text-white w-40",children:a.jsx(co,{placeholder:"All years"})}),a.jsxs(ei,{children:[a.jsx(jn,{value:"all",children:"All years"}),r.map(W=>a.jsx(jn,{value:W.id,children:W.year},W.id))]})]}),a.jsxs(lo,{value:h,onValueChange:m,children:[a.jsx(Zs,{className:"bg-[#1A1A1D] border-[#C29F0E]/20 text-white w-48",children:a.jsx(co,{placeholder:"All sections"})}),a.jsxs(ei,{children:[a.jsx(jn,{value:"all",children:"All sections"}),A3.map(W=>a.jsx(jn,{value:W,children:W},W))]})]})]}),a.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-3",children:E.map(W=>a.jsxs("div",{className:"relative group rounded-xl overflow-hidden bg-[#1A1A1D] border border-[#C29F0E]/10",children:[a.jsx("img",{src:W.image,alt:"",className:"w-full aspect-square object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/90 via-transparent to-transparent"}),a.jsxs("div",{className:"absolute top-2 left-2 flex gap-1",children:[W.locked&&a.jsx("span",{className:"bg-[#C29F0E]/80 text-black text-xs px-1.5 py-0.5 rounded",children:"LOCKED"}),W.status==="hidden"&&a.jsx("span",{className:"bg-gray-600/80 text-white text-xs px-1.5 py-0.5 rounded",children:"HIDDEN"})]}),a.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-2",children:[a.jsx("p",{className:"text-white text-xs font-semibold truncate",children:W.album_section}),W.brand_name&&a.jsx("p",{className:"text-[#C29F0E] text-xs truncate",children:W.brand_name}),a.jsxs("p",{className:"text-gray-400 text-xs truncate",children:[D(W.photographer)," · ",T(W.event_year)]})]}),p===W.id?a.jsxs("div",{className:"absolute inset-0 bg-black/95 p-3 flex flex-col gap-2 justify-center",children:[a.jsxs(lo,{value:w,onValueChange:g,children:[a.jsx(Zs,{className:"bg-[#0E0E10] border-[#C29F0E]/20 text-white text-xs h-8",children:a.jsx(co,{})}),a.jsx(ei,{children:A3.map(ce=>a.jsx(jn,{value:ce,children:ce},ce))})]}),w==="Sponsor Images"&&a.jsx(Bt,{value:b,onChange:ce=>v(ce.target.value),placeholder:"Brand",className:"bg-[#0E0E10] border-[#C29F0E]/20 text-white text-xs h-8"}),a.jsxs(lo,{value:N,onValueChange:F,children:[a.jsx(Zs,{className:"bg-[#0E0E10] border-[#C29F0E]/20 text-white text-xs h-8",children:a.jsx(co,{})}),a.jsxs(ei,{children:[a.jsx(jn,{value:"live",children:"Live"}),a.jsx(jn,{value:"hidden",children:"Hidden"})]})]}),a.jsxs("div",{className:"flex gap-2",children:[a.jsx(Zt,{size:"sm",onClick:()=>I(W.id),className:"bg-[#C29F0E] text-black h-7 text-xs flex-1",children:a.jsx(Fs,{className:"w-3 h-3"})}),a.jsx(Zt,{size:"sm",variant:"outline",onClick:()=>x(null),className:"border-[#C29F0E]/20 text-white h-7 text-xs",children:a.jsx(tr,{className:"w-3 h-3"})})]})]}):a.jsxs("div",{className:"absolute top-2 right-2 flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[a.jsx("button",{onClick:()=>k(W),className:"w-7 h-7 bg-black/60 rounded-full flex items-center justify-center hover:bg-[#C29F0E]",children:a.jsx(Dw,{className:"w-3 h-3 text-white"})}),a.jsx("button",{onClick:()=>Y(W),className:"w-7 h-7 bg-black/60 rounded-full flex items-center justify-center hover:bg-[#C29F0E]",children:W.locked?a.jsx(pi,{className:"w-3 h-3 text-white"}):a.jsx(yI,{className:"w-3 h-3 text-white"})}),a.jsx("button",{onClick:()=>ee(W),className:"w-7 h-7 bg-black/60 rounded-full flex items-center justify-center hover:bg-[#C29F0E]",children:W.status==="live"?a.jsx(ko,{className:"w-3 h-3 text-white"}):a.jsx(D3,{className:"w-3 h-3 text-white"})}),a.jsx("button",{onClick:()=>ie(W),className:"w-7 h-7 bg-black/60 rounded-full flex items-center justify-center hover:bg-red-500",children:a.jsx(SA,{className:"w-3 h-3 text-white"})})]})]},W.id))}),E.length===0&&a.jsx("p",{className:"text-gray-500 text-sm text-center py-8",children:"No photos foun
975d."})]})}function Cue(){const[e,t]=B.useState(null),[r,n]=B.useState(!0),[s,i]=B.useState("photographers");if(B.useEffect(()=>{(async()=>{try{const d=await Ce.auth.me();d.role!=="admin"?t({forbidden:!0}):t(d)}catch{t({forbidden:!0})}finally{n(!1)}})()},[]),r)return a.jsx("div",{className:"min-h-screen bg-[#0E0E10] flex items-center justify-center",children:a.jsx(ir,{className:"w-8 h-8 animate-spin text-[#C29F0E]"})});if(e!=null&&e.forbidden)return a.jsx("div",{className:"min-h-screen bg-[#0E0E10] flex items-center justify-center",children:a.jsx("p",{className:"text-gray-400",children:"Admin access required."})});const o=[{id:"photographers",label:"Photographers"},{id:"years",label:"Years"},{id:"photos",label:"Photos"}];return a.jsxs("div",{className:"min-h-screen bg-[#0E0E10]",children:[a.jsx("header",{className:"border-b border-[#C29F0E]/15 bg-[#1A1A1D]",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 py-5",children:[a.jsx("h1",{className:"font-editorial text-2xl font-bold text-white",children:"NFA Gallery Admin"}),a.jsx("p",{className:"text-[#C29F0E] text-xs font-semibold tracking-wider",children:"Photographer & Gallery Management"})]})}),a.jsxs("div",{className:"max-w-7xl mx-auto px-4 py-6",children:[a.jsx("div",{className:"flex gap-1 mb-6 border-b border-[#C29F0E]/15",children:o.map(c=>a.jsx("button",{onClick:()=>i(c.id),className:`px-4 py-2.5 text-sm font-semibold transition-colors border-b-2 -mb-px ${s===c.id?"text-[#C29F0E] border-[#C29F0E]":"text-gray-500 border-transparent hover:text-gray-300"}`,children:c.label},c.id))}),s==="photographers"&&a.jsx(bue,{}),s==="years"&&a.jsx(wue,{}),s==="photos"&&a.jsx(vue,{})]})]})}function Bue({photos:e,index:t,onClose:r,onNavigate:n}){const s=e[t],[i,o]=B.useState(null),c=B.useCallback(()=>{n(t>0?t-1:e.length-1)},[t,e.length,n]),d=B.useCallback(()=>{n(t<e.length-1?t+1:0)},[t,e.length,n]);B.useEffect(()=>{const m=p=>{p.key==="Escape"&&r(),p.key==="ArrowLeft"&&c(),p.key==="ArrowRight"&&d()};return window.addEventListener("keydown",m),document.body.style.overflow="hidden",()=>{window.removeEventListener("keydown",m),document.body.style.overflow=""}},[r,c,d]);const u=m=>o(m.touches[0].clientX),h=m=>{if(i===null)return;const p=m.changedTouches[0].clientX-i;Math.abs(p)>50&&(p>0?c():d()),o(null)};return s?a.jsxs("div",{className:"fixed inset-0 bg-black/95 z-50 flex items-center justify-center",onClick:r,onTouchStart:u,onTouchEnd:h,children:[a.jsx("button",{onClick:r,className:"absolute top-4 right-4 w-10 h-10 flex items-center justify-center text-white/70 hover:text-white z-10",children:a.jsx(tr,{className:"w-6 h-6"})}),a.jsx("button",{onClick:m=>{m.stopPropagation(),c()},className:"absolute left-4 top-1/2 -translate-y-1/2 w-12 h-12 flex items-center justify-center text-white/70 hover:text-white",children:a.jsx(E3,{className:"w-8 h-8"})}),a.jsxs("div",{className:"flex flex-col items-center",onClick:m=>m.stopPropagation(),children:[a.jsx("img",{src:`https://images.weserv.nl/?url=${encodeURIComponent(s.image.replace(/^https?:\/\//,""))}&w=2000&output=jpg&q=90`,alt:"",decoding:"async",className:"max-w-[90vw] max-h-[78vh] object-contain"}),a.jsxs("a",{href:s.image,download:!0,target:"_blank",rel:"noopener noreferrer",className:"mt-3 flex items-center gap-2 px-4 py-2 bg-white/10 hover:bg-white/20 text-white text-sm rounded-full transition-colors",children:[a.jsx(Xu,{className:"w-4 h-4"})," Download full resolution"]})]}),a.jsx("button",{onClick:m=>{m.stopPropagation(),d()},className:"absolute right-4 top-1/2 -translate-y-1/2 w-12 h-12 flex items-center justify-center text-white/70 hover:text-white",children:a.jsx(es,{className:"w-8 h-8"})}),a.jsxs("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 text-center",children:[s.brand_name&&a.jsx("p",{className:"text-[#C29F0E] text-sm font-semibold",children:s.brand_name}),a.jsxs("p",{className:"text-white/60 text-xs",children:["Photo: ",s.photographer_name||"NFA Photographer"]})]})]}):null}const Nue=["Red Carpet","Reception","Awards Ceremony","Media Room","Sponsor Images"],d3=["Red Carpet","Ceremony","Backstage","Audience","After Party"];
975function Fue(e,t=500){return e&&`https://images.weserv.nl/?url=${encodeURIComponent(e.replace(/^https?:\/\//,""))}&w=${t}&output=jpg&q=75`}function jue(){const{year:e}=zp(),[t,r]=B.useState(null),[n,s]=B.useState([]),[i,o]=B.useState([]),[c,d]=B.useState(!0),[u,h]=B.useState(!1),[m,p]=B.useState(null),[x,w]=B.useState(null),[g,b]=B.useState(24),[v,N]=B.useState(""),[F,S]=B.useState("");B.useEffect(()=>{(async()=>{d(!0),h(!1),p(null),r(null),s([]),o([]),b(24),S(""),N("");try{const X=parseInt(e),[de,ae,q]=await Promise.all([Ce.entities.EventYear.filter({year:X}).catch(()=>[]),Ce.entities.GalleryImage.filter({year:X},"-created_date",500).catch(()=>[]),Ce.entities.GalleryItem.filter({year:X},"-created_date",500).catch(()=>[])]);if(de.length>0&&de[0].is_published){r(de[0]);try{const J=await Ce.functions.invoke("getGalleryPhotos",{event_year_id:de[0].id});s(J.data.photos||[])}catch(J){console.error("Photo fetch failed:",J)}}const L=q.map(J=>({id:J.id,image_url:J.image,title:J.caption,category:J.event_type,year:J.year,credit:J.credit}));o([...ae,...L]),de.length===0&&ae.length===0&&q.length===0&&h(!0)}catch(X){console.error(X),p(X.message||"Failed to load")}finally{d(!1)}})()},[e]);const E=[...new Set(n.map(re=>re.photographer_name).filter(Boolean))].sort((re,X)=>re.localeCompare(X)),D=F?n.filter(re=>re.photographer_name===F):n,T=Nue.map(re=>({section:re,items:D.filter(X=>X.album_section===re).map(X=>({id:X.id,image:X.image,brand_name:X.brand_name,photographer_name:X.photographer_name}))})).filter(re=>re.items.length>0),k=d3.map(re=>({section:re,items:i.filter(X=>(X.category||X.event_type)===re).map(X=>({id:X.id,image:X.image_url||X.image,brand_name:null,photographer_name:X.credit||null,title:X.title||X.caption}))})).filter(re=>re.items.length>0),I=i.filter(re=>{const X=re.category||re.event_type;return!d3.includes(X)}).map(re=>({id:re.id,image:re.image_url||re.image,brand_name:null,photographer_name:re.credit||null,title:re.title||re.caption})),Y=[...T,...k];I.length>0&&Y.push({section:"Gallery",items:I});const ee=Y.flatMap(re=>re.items),ie=ee.slice(0,g),W=g<ee.length,ce=[];let we=ie;for(const re of Y){const X=we.filter(de=>re.items.some(ae=>ae.id===de.id));X.length>0&&ce.push({section:re.section,items:X})}const ne=re=>{const X=ie.findIndex(de=>de.id===re);w(X)};return c?a.jsx("div",{className:"min-h-screen bg-[#0E0E10] pt-20 flex items-center justify-center",children:a.jsx(ir,{className:"w-8 h-8 animate-spin text-[#C29F0E]"})}):u?a.jsxs("div",{className:"min-h-screen bg-[#0E0E10] pt-20 flex items-center justify-center flex-col gap-4",children:[a.jsx("p",{className:"text-gray-400 text-lg",children:"Gallery not found."}),a.jsx(He,{to:"/gallery",className:"text-[#C29F0E] hover:underline",children:"â Back to all galleries"})]}):m?a.jsxs("div",{className:"min-h-screen bg-[#0E0E10] pt-20 flex items-center justify-center flex-col gap-4",children:[a.jsxs("p",{className:"text-red-400 text-lg",children:["Error: ",m]}),a.jsx(He,{to:"/gallery",className:"text-[#C29F0E] hover:underline",children:"â Back to all galleries"})]}):a.jsxs("div",{className:"min-h-screen bg-[#0E0E10] pt-20",children:[a.jsx("header",{className:"border-b border-[#C29F0E]/15",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 py-12",children:[a.jsxs(He,{to:"/gallery",className:"inline-flex items-center gap-2 text-gray-400 hover:text-[#C29F0E] text-sm mb-6",children:[a.jsx(rn,{className:"w-4 h-4"})," All Galleries"]}),a.jsx("p",{className:"text-[#C29F0E] text-xs font-semibold tracking-[0.35em] uppercase mb-2",children:"National Film Awards"}),a.jsx("h1",{className:"font-editorial text-5xl md:text-6xl font-bold text-white",children:e}),a.jsx("p",{className:"text-gray-400 mt-2",children:(t==null?void 0:t.title)||`${e} National Film Awards`}),ee.length>0&&a.jsxs("p",{className:"text-gray-500 text-sm mt-1",children:["Showing ",ie.length," of ",ee.length," photos"]}),E.length>0&&a.jsxs("div",{className:"mt-6 flex flex-col sm:flex-row gap-3",children:[a.jsxs("div",{className:"relative flex-1 sm:max-w-xs",children:[a.jsx(ks,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-500"}),a.jsx("input",{type:"text",placeholder:"Search photographers...",value:v,onCh
975ange:re=>N(re.target.value),className:"w-full bg-[#1A1A1D] border border-[#C29F0E]/20 text-white text-sm rounded-full pl-10 pr-4 py-2.5 focus:outline-none focus:border-[#C29F0E]/50"})]}),a.jsxs("div",{className:"flex flex-wrap gap-2",children:[a.jsx("button",{onClick:()=>{S(""),N("")},className:`px-4 py-2.5 rounded-full text-sm font-medium transition-colors ${F?"bg-[#1A1A1D] text-gray-400 border border-[#C29F0E]/20 hover:text-white":"bg-[#C29F0E] text-black"}`,children:"All Photos"}),E.filter(re=>!v||re.toLowerCase().includes(v.toLowerCase())).map(re=>a.jsx("button",{onClick:()=>S(re),className:`px-4 py-2.5 rounded-full text-sm font-medium transition-colors ${F===re?"bg-[#C29F0E] text-black":"bg-[#1A1A1D] text-gray-400 border border-[#C29F0E]/20 hover:text-white"}`,children:re},re))]}),F&&a.jsxs("button",{onClick:()=>{S(""),N("")},className:"flex items-center gap-1 px-3 py-2.5 rounded-full text-sm text-gray-400 hover:text-white",children:[a.jsx(tr,{className:"w-4 h-4"})," Clear"]})]})]})}),a.jsxs("main",{className:"max-w-7xl mx-auto px-4 py-10",children:[Y.length===0?a.jsx("p",{className:"text-gray-500 text-center py-20",children:"No photos in this gallery yet."}):ce.map(re=>a.jsxs("div",{className:"mb-16",children:[a.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[a.jsx("div",{className:"h-px flex-1 bg-[#C29F0E]/20"}),a.jsx("h2",{className:"font-editorial text-2xl font-bold text-white",children:re.section}),a.jsx("div",{className:"h-px flex-1 bg-[#C29F0E]/20"})]}),a.jsx(Sue,{photos:re.items,onPhotoClick:ne})]},re.section)),W&&a.jsx("div",{className:"flex justify-center mt-8",children:a.jsxs("button",{onClick:()=>b(re=>re+24),className:"flex items-center gap-2 px-8 py-3 rounded-full border border-[#C29F0E]/40 text-[#C29F0E] hover:bg-[#C29F0E] hover:text-black transition-all font-semibold text-sm",children:["Load More Photos ",a.jsx(Ia,{className:"w-4 h-4"})]})})]}),x!==null&&a.jsx(Bue,{photos:ie,index:x,onClose:()=>w(null),onNavigate:w})]})}function Sue({photos:e,onPhotoClick:t}){return a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-3",children:e.map(r=>a.jsxs("div",{onClick:()=>t(r.id),className:"relative group cursor-pointer rounded-xl overflow-hidden bg-[#1A1A1D] aspect-[3/4]",children:[a.jsx("img",{src:Fue(r.image,500),alt:r.title||"",loading:"lazy",decoding:"async",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-300 group-hover:scale-[1.03]"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-transparent to-transparent opacity-0 group-hover:opacity-100 transition-opacity"}),a.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-3 opacity-0 group-hover:opacity-100 transition-opacity",children:[r.title&&a.jsx("p",{className:"text-white text-xs font-medium",children:r.title}),r.brand_name&&a.jsx("p",{className:"text-white text-xs font-medium",children:r.brand_name}),a.jsxs("p",{className:"text-gray-300 text-xs",children:["Photo: ",r.photographer_name||"NFA Photographer"]})]})]},r.id))})}const Eue="https://www.nationalfilmawards.co.uk",Tue="https://base44.app/api/apps/699ba2407533cd3b00af8c87/files/mp/public/699ba2407533cd3b00af8c87/da7b45a2a_IMG_2856.jpg";function Ca(e,t,r){if(!r)return;let n=document.head.querySelector(`meta[${e}="${t}"]`);n||(n=document.createElement("meta"),n.setAttribute(e,t),document.head.appendChild(n)),n.setAttribute("content",r)}function kue(e,t){if(!t)return;let r=document.head.querySelector(`link[rel="${e}"]`);r||(r=document.createElement("link"),r.setAttribute("rel",e),document.head.appendChild(r)),r.setAttribute("href",t)}function _ue(e,t){let r=document.getElementById(e);r||(r=document.createElement("script"),r.setAttribute("type","application/ld+json"),r.setAttribute("id",e),document.head.appendChild(r)),r.textContent=JSON.stringify(t)}function Due({title:e,description:t,keywords:r,path:n="",image:s=Tue,type:i="website",jsonLd:o}){return B.useEffect(()=>{const c=`${Eue}${n}`;return document.title=e,Ca("name","description",t),Ca("name","keywords",r),kue("canonical",c),Ca("property","og:title",e),Ca("property","og:description",t),Ca("property","og:url",c),Ca("property","og:image",s),Ca("property","og:type",i),Ca("property","og:site_name","National Film Awards"),Ca("name","twitter:card","summary_large_image"),Ca("name","twitter:title",e),Ca("name","twitter:description",t),Ca("name","twitter:image",s),o&&_ue("page-jsonld",o),()=>{}},[e,t,r,n,s,i,o]),null}const ra="https://base44.app/api/apps/699ba2407533cd3b00af8c87/files/mp/public/699ba2407533cd3b00af8c87";function $m(e,t=800){return e&&`https://images.weserv.nl/?url=${encodeURIComponent(e.replace(/^https?:\/\//,""))}&w=${t}&output=jpg&q=75`}const eA=[{url:`${ra}/da7b45a2a_IMG_2856.jpg`,section:"Red Carpet"},{url:`${ra}/2c1e35f41_IMG_2835.jpg`,section:"Red Carpet"},{url:`${ra}/c7e545a3f_422A5212.jpg`,section:"Awards Ceremony"},{url:`${ra}/5f3355e50_IMG_2710.jpg`,section:"Red Carpet"},{url:`${ra}/86daa7d55_IMG_2783.jpg`,section:"Red Carpet"},{url:`${ra}/3e488b09c_IMG_2707.jpg`,section:"Red Carpet"},{url:`${ra}/4660026cb_422A5264.jpg`,section:"Awards Ceremony"},{url:`${ra}/6ad6dc050_IMG_2677.jpg`,section:"Red Carpet"},{url:`${ra}/c70a7d21a_66.jpg`,section:"Reception"},{url:`${ra}/404bc50b2_67.jpg`,section:"Awards Ceremony"},{url:`${ra}
975/b6d8fa8c7_42.jpg`,section:"Awards Ceremony"},{url:`${ra}/eb307ea67_83.jpg`,section:"Media Room"},{url:`${ra}/886e37126_59.jpg`,section:"Media Room"}],Op=[{category:"Best Drama",winner:"Steve",type:"film"},{category:"Best Feature Film",winner:"Glenrothan",type:"film"},{category:"Best Thriller",winner:"Borley Rectory: The Awakening",type:"film"},{category:"Best Actor",winner:"Regé-Jean Page",detail:"You, Me & Tuscany",type:"film"},{category:"Best Actress",winner:"Caroline Kaplan",detail:"Iron Lung",type:"film"},{category:"Best Supporting Actress",winner:"Kate Winslet",detail:"Goodbye June",type:"film"},{category:"Best Supporting Actor",winner:"Art Malik",detail:"Hamlet",type:"film"},{category:"Best Director",winner:"Tom Harper",detail:"Peaky Blinders: The Immortal Man",type:"film"},{category:"Best Comedy â Film & TV",winner:"The Magic Faraway Tree",type:"film"},{category:"Best Producer â Film & TV",winner:"Graham King, John Branca, Prince Jackson & John McClain",detail:"Michael",type:"film"},{category:"Best TV Drama Series",winner:"Bridgerton, Season 4",type:"tv"},{category:"Best Actor in a TV Series",winner:"Idris Elba",detail:"Hijack, Season 2",type:"tv"},{category:"Best Actress in a TV Series",winner:"Kelly Reilly",detail:"Under Salt Marsh",type:"tv"},{category:"Best Supporting Actor in a TV Series",winner:"Mark Silcox",detail
975:"Proper Ladies",type:"tv"},{category:"Best Supporting Actress in a TV Series",winner:"Alex Kingston",detail:"Secret Service",type:"tv"},{category:"Best Action in a Film / TV Series",winner:"Boarders",type:"tv"},{category:"Best Streaming Platform",winner:"U / U&Drama",detail:"Bergerac",type:"tv"},{category:"Best Screenplay in a TV Series",winner:"Daniel Lawrence Taylor",detail:"Boarders",type:"tv"},{category:"Best Independent Film",winner:"Hunting Party",type:"film"},{category:"Best British Film",winner:"I Swear",type:"film"},{category:"Best Newcomer",winner:"Jaafar Jackson",detail:"Michael",type:"film"},{category:"Outstanding Performance",winner:"Jaafar Jackson",detail:"Michael",type:"film"},{category:"Best International Film",winner:"Mission: Impossible â The Final Reckoning",type:"film"},{category:"Best Short Film",winner:"Flock",type:"film"},{category:"Best Vertical Series",winner:"In Other Words I Love You",detail:"UK",type:"tv"},{category:"Best Foreign Language Film",winner:"Nouvelle Vague",detail:"France",type:"film"},{category:"Best Documentary / Docu-Series",winner:"Becoming Led Zeppelin",type:"film"},{category:"Best Film Production Company",winner:"BBC Film",detail:"Peaky Blinders: The Immortal Man",type:"film"}],Ky={official:["Mountaine Water â Official Water Sponsor","Moneeys.com â Official Super App Sponsor","Leger Holidays â Official Holiday Partner","Voodoo Cosmetics â Official Cosmetics Partner"],category:["IMEAN BEAUTY","House of Bothania","Alstelle","MondayRepublic.com","Island Falls Home","Darian Didier"],partners:["Pantherella","Bouclème","Dechavel Watches","Channel One TV"]},Vc={headline:"National Film Awards 2026: 12th Annual Ceremony Crowns Its Winners in a Record-Breaking Celebration",subheadline:"Hosted by Cait King at London's Porchester Hall and decided by 2.7 million public votes, the star-studded ceremony honoured the very best of British and international film and television, broadcast live on Channel One TV.",dateline:"LONDON, 2 July 2026",body:["The 12th Annual National Film Awards returned to the historic Porchester Hall in London on Wednesday 1 July 2026 for a glittering celebration of the year's finest achievements in film and television. Hosted by Cait King and broadcast live on Channel One TV, the ceremony was decided entirely by the public â with a record-breaking 2.7 million votes cast by film and television fans across the UK and around the world.","The most successful edition in the event's history, this year's awards drew record public engagement, a packed red carpet of stars, and winners across 28 categories â spanning blockbuster features and international cinema to the year's most-loved television dramas, comedies and breakthrough talent. The night also marked a landmark moment for the industry, as the National Film Awards became the first mainstream awards ceremony in the world to introduce a Best Vertical Series category, recognising the explosive global rise of mobile-first, portrait-format storytelling.","Among the evening's biggest moments, the Michael Jackson biopic Michael proved one of the night's standout stories â winning Best Producer for Graham King, John Branca, Prince Jackson and John McClain, while its star Jaafar Jackson was a double winner, taking both Best Newcomer and Outstanding Performance. Kate Winslet was honoured as Best Supporting Actress for Goodbye June, and Idris Elba won Best Actor in a TV Series for Hijack, Season 2. On the film side, I Swear was named Best British Film, Steve took Best Drama and Glenrothan won Best Feature Film â capping a night that celebrated the very best of British and international storytelling.",'"This has been our biggest and most exciting year yet," said a spokesperson for the National Film Academy. "To see 2.7 million people take the time to vote for the films, series and performances that moved them tells you everything about the power of storytelling â and about how much these awards mean to the public who decide them. Our congratulations go to every winner and nominee, and our thanks to the wonderful partners who made the night possible."',"The National Film Academy extends its sincere thanks to the sponsors and partners who made the 2026 ceremony possible â led by Official Water Sponsor Mountaine Water, Official Super App Sponsor Moneeys.com, Official Holiday Partner Leger Holidays, and Official Cosmetics Partner Voodoo Cosmetics. The Academy also thanks its category sponsors â IMEAN BEAUTY, House of Bothania, Alstelle, MondayRepublic.com, Island Falls Home and Darian Didier â together with valued partners Pantherella, Bouclème and Dechavel Watches, and broadcast partner Channel One TV."],about:"The National Film Awards, presented by the National Film Academy, is one of the UK's leading celebrations of film and television. Uniquely decided by the public, the awards champion the finest homegrown and international storytelling across cinema and the small screen, from major studio productions to independent films and bold new formats. Now in its 12th year, the ceremony is broadcast live on Channel One TV."};function Uue(){return a.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-2 md:gap-3",children:eA.slice(0,8).map((e,t)=>a.jsxs(V.div,{initial:{opacity:0,scale:.9}
975,animate:{opacity:1,scale:1},transition:{duration:.5,delay:t*.06},className:"relative overflow-hidden rounded-lg md:rounded-xl aspect-[4/5] bg-[#1A1A1D]",children:[a.jsx("img",{src:$m(e.url,500),alt:`NFA 2026 â ${e.section}`,loading:"lazy",className:"w-full h-full object-cover object-top hover:scale-105 transition-transform duration-700"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/30 to-transparent"})]},t))})}function Iue(){const[e,t]=B.useState("all"),[r,n]=B.useState(""),[s,i]=B.useState(null),o=B.useMemo(()=>Op.filter(c=>{const d=e==="all"||c.type===e,u=!r||c.category.toLowerCase().includes(r.toLowerCase())||c.winner.toLowerCase().includes(r.toLowerCase())||(c.detail||"").toLowerCase().includes(r.toLowerCase());return d&&u}),[e,r]);return a.jsxs("div",{children:[a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 mb-8 items-stretch sm:items-center",children:[a.jsxs("div",{className:"relative flex-1",children:[a.jsx(ks,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-4 h-4 text-[#8A8578]"}),a.jsx("input",{type:"text",value:r,onChange:c=>n(c.target.value),placeholder:"Search winners, films, categories...",className:"w-full pl-11 pr-4 py-3 bg-white border border-[#E8D9B0] rounded-full text-sm focus:outline-none focus:border-[#C9A84C] transition-colors"})]}),a.jsx("div",{className:"flex gap-2 bg-white border border-[#E8D9B0] rounded-full p-1",children:[{key:"all",label:"All",icon:ut},{key:"film",label:"Film",icon:Dr},{key:"tv",label:"TV",icon:ci}].map(({key:c,label:d,icon:u})=>a.jsxs("button",{onClick:()=>t(c),className:`flex items-center gap-2 px-5 py-2 rounded-full text-sm font-bold transition-all ${e===c?"bg-[#C9A84C] text-white":"text-[#6B5A3A] hover:bg-[#F8F6F1]"}`,children:[a.jsx(u,{className:"w-3.5 h-3.5"})," ",d]},c))})]}),a.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:o.map((c,d)=>a.jsx(V.div,{layout:!0,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:Math.min(d*.03,.3)},onClick:()=>
975i(s===c.category?null:c.category),className:`group relative cursor-pointer rounded-2xl overflow-hidden border transition-all ${s===c.category?"border-[#C9A84C] shadow-xl bg-gradient-to-br from-[#FFFEF9] to-[#F8F0D8]":"border-[#E8D9B0] bg-white hover:border-[#C9A84C] hover:shadow-lg"}`,children:a.jsxs("div",{className:"p-6",children:[a.jsxs("div",{className:"flex items-start justify-between gap-3 mb-3",children:[a.jsxs("span",{className:`inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-[10px] font-black uppercase tracking-wider ${c.type==="film"?"bg-[#0047AB]/10 text-[#0047AB]":"bg-[#C41E3A]/10 text-[#C41E3A]"}`,children:[c.type==="film"?a.jsx(Dr,{className:"w-3 h-3"}):a.jsx(ci,{className:"w-3 h-3"}),c.type]}),a.jsx(Ia,{className:`w-4 h-4 text-[#C9A84C] transition-transform duration-300 ${s===c.category?"rotate-180":""}`})]}),a.jsx("p",{className:"text-[10px] font-black tracking-[0.2em] uppercase text-[#8A8578] mb-2",children:"Winner"}),a.jsx("h3",{className:"font-editorial text-xl font-bold text-[#1A1A1A] leading-tight mb-1",children:c.winner}),a.jsx("p",{className:"text-sm text-[#6B5A3A]",children:c.category}),a.jsx(Mt,{children:s===c.category&&c.detail&&a.jsx(V.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:a.jsxs("div",{className:"pt-3 mt-3 border-t border-[#E8D9B0]",children:[a.jsx("p",{className:"text-xs font-bold tracking-wider uppercase text-[#C9A84C]",children:"For"}),a.jsx("p",{className:"text-sm text-[#5A5A5A] italic",children:c.detail})]})})})]})},c.category))}),o.length===0&&a.jsx("div",{className:"text-center py-16",children:a.jsx("p",{className:"text-[#8A8578] text-sm",children:"No winners match your search."})})]})}const Lue="National Film Awards 2026 Winners â Full Winners List | NFA",Pue="The complete winners list for the 12th Annual National Film Awards 2026, decided by a record 2.7 million public votes. See all 28 category winners including Best Actor, Best Actress, Best Film and more.",Rue="National Film Awards 2026 winners, NFA 2026 winners list, National Film Awards winners, NFA 2026, Best Actor 2026, Best Actress 2026, Best Film 2026, Best Director 2026, Best British Film 2026, Best TV Drama 2026, Idris Elba NFA, Kate Winslet NFA, Jaafar Jackson NFA, National Film Academy winners, 12th Annual National Film Awards, Porchester Hall awards 2026",Mue={"@context":"https://schema.org","@graph":[{"@type":"Event",name:"12th Annual National Film Awards 2026",startDate:"2026-07-01",endDate:"2026-07-01",eventStatus:"https://schema.org/EventCompleted",eventAttendanceMode:"https://schema.org/OfflineEventAttendanceMode",location:{"@type":"Place",name:"Porchester Hall",address:{"@type":"PostalAddress",addressLocality:"London",addressCountry:"GB"}},description:"The 12th Annual National Film Awards ceremony, hosted by Cait King and broadcast live on Channel One TV, celebrating the best of British and international film and television as decided by 2.7 million public votes.",image:eA.map(e=>e.url),organizer:{"@type":"Organization",name:"National Film Academy",url:"https://www.nationalfilmawards.co.uk"}},{"@type":"ItemList",name:"National Film Awards 2026 Winners",numberOfItems:Op.length,itemListElement:Op.map((e,t)=>({"@type":"ListItem",position:t+1,item:{"@type":"Thing",name:`${e.category}: ${e.winner}${e.detail?` â ${e.detail}`:""}`}}))}]},Que=[{icon:$t,value:"2.7M",label:"Public Votes Cast"},{icon:Kn,value:"28",label:"Categories Won"},{icon:Qt,value:"12th",label:"Annual Edition"},{icon:ci,value:"Live",label:"Channel One TV"}];function Oue(){return a.jsxs("div",{className:"bg-[#FFFEF9]",children:[a.jsx(Due,{title:Lue,description:Pue,keywords:Rue,path:"/winners-2026",image:eA[0].url,type:"article",jsonLd:Mue}),a.jsxs("div",{className:"sr-only","aria-hidden":"false",children:[a.jsx("h2",{children:"National Film Awards 2026 â Complete Winners List"}),a.jsx("p",{children:"Winners of the 12th Annual National Film Awards 2026, announced on 1 July 2026 at Porchester Hall, London, decided by 2.7 million public votes across 28 categories:"}),a.jsx("ul",{children:Op.map((e,t)=>a.jsxs("li",{children:[e.category,": ",e.winner,e.detail?` â ${e.detail}`:""]},t))})]}),a.jsxs("section",{className:"relative bg-[#0D0A04] overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 opacity-30",children:a.jsx("img",{src:$m(eA[0].url,1600),alt:"National Film Awards 2026 red carpet at Porchester Hall, London",className:"w-full h-full object-cover"})}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#0D0A04]/60 via-[#0D0A04]/80 to-[#0D0A04]"}),a.jsxs("div",{className:"relative max-w-[1400px] mx-auto px-6 lg:px-12 py-20 lg:py-28",children:[a.jsxs(V.div,{initial:{opacity:0,y:30}
975,animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center mb-12",children:[a.jsxs("div",{className:"flex justify-center gap-3 mb-6",children:[a.jsx("span",{className:"px-4 py-1.5 bg-[#D4AF37] text-white text-[10px] font-black uppercase tracking-[0.25em] rounded-full",children:"For Immediate Release"}),a.jsx("span",{className:"px-4 py-1.5 bg-white/10 backdrop-blur-sm text-white text-[10px] font-black uppercase tracking-[0.25em] rounded-full border border-white/20",children:"2 July 2026"})]}),a.jsxs("h1",{className:"font-editorial text-4xl sm:text-5xl lg:text-7xl font-black text-white leading-[1.05] mb-6",children:["Winners of the",a.jsx("br",{}),a.jsx("span",{className:"gold-gradient",children:"12th Annual"}),a.jsx("br",{}),"National Film Awards 2026"]}),a.jsx("p",{className:"text-white/70 text-lg font-light max-w-2xl mx-auto leading-relaxed",children:Vc.subheadline}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4 mt-8 text-white/60 text-sm",children:[a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(da,{className:"w-4 h-4"})," Porchester Hall, London"]}),a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(Qt,{className:"w-4 h-4"})," 1 July 2026"]}),a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(ci,{className:"w-4 h-4"})," Channel One TV"]})]})]}),a.jsx(V.div,{initial:{opacity:0}
975,animate:{opacity:1},transition:{duration:1,delay:.3},children:a.jsx(Uue,{})})]})]}),a.jsx("section",{className:"bg-[#0D0A04] border-t border-white/5",children:a.jsx("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-12 py-12",children:a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6",children:Que.map(({icon:e,value:t,label:r})=>a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center",children:[a.jsx(e,{className:"w-6 h-6 text-[#D4AF37] mx-auto mb-2"}),a.jsx("p",{className:"font-editorial text-4xl font-bold text-white mb-1",children:t}),a.jsx("p",{className:"text-[10px] font-black tracking-[0.2em] uppercase text-white/50",children:r})]},r))})})}),a.jsx("section",{className:"py-20 lg:py-28",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-12",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.4em] uppercase mb-3",children:"The 2026 Winners in Full"}),a.jsx("h2",{className:"font-editorial text-4xl lg:text-5xl font-black text-[#1A1A1A]",children:"28 Categories, One Night"}),a.jsx("p",{className:"text-[#8A8578] text-sm mt-4 max-w-xl mx-auto",children:"Search and filter all winners from the 12th Annual National Film Awards. Tap any card for details."})]}),a.jsx(Iue,{})]})}),a.jsx("section",{className:"py-20 lg:py-28 bg-[#F8F6F1]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.4em] uppercase mb-3",children:"Full Press Release"}),a.jsx("h2",{className:"font-editorial text-3xl lg:text-4xl font-black text-[#1A1A1A] leading-tight mb-6",children:Vc.headline}),a.jsx("p",{className:"text-[#5A5A5A] text-lg font-light leading-relaxed mb-8 italic",children:Vc.subheadline}),a.jsx("p",{className:"text-[#C9A84C] text-sm font-bold mb-8",children:Vc.dateline}),a.jsx("div",{className:"space-y-6",children:Vc.body.map((e,t)=>a.jsxs(Pt.Fragment,{children:[a.jsx("p",{className:"text-[#2D2D2D] text-base leading-[1.8]",children:e}),t===1&&a.jsxs("figure",{className:"my-10",children:[a.jsx("img",{src:$m(eA[3].url,900),alt:"NFA 2026 ceremony",className:"w-full rounded-2xl shadow-lg",loading:"lazy"}),a.jsx("figcaption",{className:"text-center text-xs text-[#8A8578] mt-2 italic",children:"Inside the 12th Annual National Film Awards at Porchester Hall"})]}),t===2&&a.jsxs("figure",{className:"my-10",children:[a.jsx("img",{src:$m(eA[6].url,900),alt:"NFA 2026 media room",className:"w-full rounded-2xl shadow-lg",loading:"lazy"}),a.jsx("figcaption",{className:"text-center text-xs text-[#8A8578] mt-2 italic",children:"Winners and nominees in the Media Room"})]})]},t))}),a.jsxs("div",{className:"mt-12 pt-8 border-t border-[#E8D9B0]",children:[a.jsx("h3",{className:"font-editorial text-xl font-bold text-[#1A1A1A] mb-3",children:"About the National Film Awards"}),a.jsx("p",{className:"text-[#5A5A5A] text-base leading-[1.8]",children:Vc.about})]}),a.jsxs("div",{className:"mt-8 p-6 bg-white rounded-2xl border border-[#E8D9B0]",children:[a.jsx("h3",{className:"font-editorial text-lg font-bold text-[#1A1A1A] mb-2",children:"Media Enquiries"}),a.jsxs("p",{className:"text-sm text-[#5A5A5A]",children:["Elizabeth Harris · ",a.jsx("a",{href:"mailto:[email protected]",className:"text-[#C9A84C] font-semibold hover:underline",children:"[email protected]"})]}),a.jsxs("p",{className:"text-sm text-[#5A5A5A] mt-1",children:["General enquiries · ",a.jsx("a",{href:"mailto:[email protected]",className:"text-[#C9A84C] font-semibold hover:underline",children:"[email protected]"})]})]})]})})}),a.jsx("section",{className:"py-20 bg-[#FFFEF9]",children:a.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 lg:px-12",children:[a.jsxs(V.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[a.jsx("p",{className:"text-[#C9A84C] text-[10px] font-black tracking-[0.4em] uppercase mb-3",children:"With Grateful Thanks"}),a.jsx("h2",{className:"font-editorial text-3xl lg:text-4xl font-black text-[#1A1A1A]",children:"Our 2026 Partners"})]}),a.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"font-bold text-sm uppercase tracking-wider text-[#C9A84C] mb-4",children:"Official Partners"}),a.jsx("ul",{className:"space-y-2",children:Ky.official.map(e=>a.jsx("li",{className:"text-sm text-[#5A5A5A]",children:e},e))})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-bold text-sm uppercase tracking-wider text-[#C9A84C] mb-4",children:"Category Sponsors"}),a.jsx("ul",{className:"space-y-2",children:Ky.category.map(e=>a.jsx("li",{className:"text-sm text-[#5A5A5A]",children:e},e))})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-bold text-sm uppercase tracking-wider text-[#C9A84C] mb-4",children:"Valued Partners"}),a.jsx("ul",{className:"space-y-2",children:Ky.partners.map(e=>a.jsx("li",{className:"text-sm text-[#5A5A5A]",children:e},e))})]})]})]})}),a.jsx("section",{className:"py-20 bg-[#0D0A04] text-center",children:a.jsxs("div",{className:"max-w-2xl mx-auto px-6",children:[a.jsx(Yu,{className:"w-8 h-8 text-[#D4AF37] mx-auto mb-4"}),a.jsx("h2",{className:"font-editorial text-3xl lg:text-4xl font-black text-white mb-4",children:"See the Night in Pictures"}),a.jsx("p",{className:"text-white/60 text-sm mb-8",children:"Explore the full photo gallery from the 12th Annual National Film Awards."}),a.jsxs(He,{to:"/gallery",className:"inline-flex items-center gap-2 px-8 py-3 bg-[#D4AF37] text-white text-sm font-bold tracking-wide rounded-sm hover:bg-[#B8941F] transition-colors",children:["View Gallery ",a.jsx(bt,{className:"w-4 h-4"})]})]})})]})}const Hue="https://media.base44.com/images/public/699ba2407533cd3b00af8c87/bb940aa32_nfalogo.png";
975function Vue(){const[e,t]=B.useState(""),[r,n]=B.useState(""),[s,i]=B.useState(!1),[o,c]=B.useState(null),[d,u]=B.useState(null),[h,m]=B.useState(""),p=Do();B.useEffect(()=>{Ce.auth.me().then(E=>m((E==null?void 0:E.full_name)||"Staff")).catch(()=>{})},[]);const{data:x=[],isLoading:w}=vt({queryKey:["fohBookings"],queryFn:()=>Ce.entities.TicketBooking.list("-created_date",500)}),g=B.useMemo(()=>x.filter(E=>E.payment_status==="paid"),[x]),b=B.useMemo(()=>{if(!e.trim())return g.slice(0,30);const E=e.toLowerCase();return g.filter(D=>{var T,k,I;return((T=D.holder_name)==null?void 0:T.toLowerCase().includes(E))||((k=D.holder_email)==null?void 0:k.toLowerCase().includes(E))||((I=D.booking_reference)==null?void 0:I.toLowerCase().includes(E))})},[g,e]),v={total:g.length,checkedIn:g.filter(E=>E.checked_in).length},N=async E=>{var D,T;u(E.id),c(null);try{const k=await Ce.functions.invoke("stripeCheckIn",{bookingId:E.id});(D=k.data)!=null&&D.success?(c({success:!0,msg:`${k.data.booking.holder_name} â Checked In â`}),p.invalidateQueries(["fohBookings"]),p.invalidateQueries(["adminBookings"]),t("")):c({success:!1,msg:((T=k.data)==null?void 0:T.error)||"Check-in failed"})}catch(k){c({success:!1,msg:k.message})}finally{u(null),setTimeout(()=>c(null),5e3)}},F=async()=>{var E,D;if(r.trim()){u("qr"),c(null);try{const T=await Ce.functions.invoke("stripeCheckIn",{qrValue:r.trim()});(E=T.data)!=null&&E.success?(c({success:!0,msg:`${T.data.booking.holder_name} â Checked In â`}),p.invalidateQueries(["fohBookings"]),p.invalidateQueries(["adminBookings"]),n(""),i(!1)):c({success:!1,msg:((D=T.data)==null?void 0:D.error)||"Check-in failed"})}catch(T){c({success:!1,msg:T.message})}finally{u(null),setTimeout(()=>c(null),5e3)}}},S=()=>{Ce.auth.logout("/front-of-house")};return a.jsxs("div",{className:"min-h-screen bg-[#0A0A0A]",children:[a.jsxs("div",{className:"sticky top-0 z-40 bg-[#111] border-b border-white/10 px-4 lg:px-8 py-3 flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("img",{src:Hue,alt:"NFA",className:"h-9 w-auto"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-white font-bold text-sm leading-tight",children:"Front of House"}),a.jsx("p",{className:"text-[#D4AF37] text-[10px] font-bold tracking-wider uppercase",children:"Guest Check-In"})]})]}),a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsxs("div",{className:"text-right hidden sm:block",children:[a.jsx("p",{className:"text-white/50 text-[10px] uppercase tracking-wider",children:"Signed in"}),a.jsx("p",{className:"text-white text-xs font-semibold",children:h})]}),a.jsx("button",{onClick:S,className:"text-white/40 hover:text-white p-2 rounded-lg hover:bg-white/5 transition-all",children:a.jsx(I3,{className:"w-4 h-4"})})]})]}),a.jsxs("div",{className:"max-w-2xl mx-auto px-4 lg:px-8 py-6",children:[a.jsxs("div",{className:"grid grid-cols-2 gap-3 mb-6",children:[a.jsxs("div",{className:"bg-[#111] border border-white/10 rounded-xl p-4 flex items-center gap-3",children:[a.jsx("div",{className:"w-10 h-10 rounded-full bg-emerald-500/10 flex items-center justify-center",children:a.jsx(La,{className:"w-5 h-5 text-emerald-400"})}),a.jsxs("div",{children:[a.jsx("p",{className:"text-white font-black text-2xl leading-none",children:v.checkedIn}),a.jsx("p",{className:"text-white/40 text-xs mt-1",children:"Checked In"})]})]}),a.jsxs("div",{className:"bg-[#111] border border-white/10 rounded-xl p-4 flex items-center gap-3",children:[a.jsx("div",{className:"w-10 h-10 rounded-full bg-[#D4AF37]/10 flex items-center justify-center",children:a.jsx(ts,{className:"w-5 h-5 text-[#D4AF37]"})}),a.jsxs("div",{children:[a.jsx("p",{className:"text-white font-black text-2xl leading-none",children:v.total}),a.jsx("p",{className:"text-white/40 text-xs mt-1",children:"Total Paid Tickets"})]})]})]}),a.jsx(Mt,{children:o&&a.jsxs(V.div,{initial:{opacity:0,y:-10,height:0},animate:{opacity:1,y:0,height:"auto"},exit:{opacity:0,y:-10,height:0},className:`mb-4 p-4 rounded-xl flex items-center gap-3 font-bold text-sm ${o.success?"bg-emerald-500/10 text-emerald-400 border border-emerald-500/20":"bg-red-500/10 text-red-400 border border-red-500/20"}`,children:[o.success?a.jsx(La,{className:"w-5 h-5 shrink-0"}):a.jsx(kl,{className:"w-5 h-5 shrink-0"}),o.msg]})}),a.jsxs("div",{className:"relative mb-3",children:[a.jsx(ks,{className:"absolute left-4 top-4 w-5 h-5 text-white/30"}),a.jsx("input",{type:"text",autoFocus:!0,placeholder:"Search name, email or booking refâ¦",value:e,onCh
975ange:E=>t(E.target.value),className:"w-full bg-[#111] border border-white/10 rounded-xl pl-12 pr-4 py-4 text-white placeholder-white/30 text-base focus:outline-none focus:border-[#D4AF37]/50 transition-all"})]}),a.jsxs("button",{onClick:()=>i(!s),className:"flex items-center gap-2 text-[#D4AF37] hover:text-white text-sm font-bold mb-4 transition-colors",children:[s?a.jsx(tr,{className:"w-4 h-4"}):a.jsx(R3,{className:"w-4 h-4"}),s?"Close QR Check-In":"QR Code Check-In"]}),a.jsx(Mt,{children:s&&a.jsx(V.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"mb-4 overflow-hidden",children:a.jsxs("div",{className:"bg-[#111] border border-white/10 rounded-xl p-4",children:[a.jsxs("p",{className:"text-white/50 text-xs mb-2 flex items-center gap-2",children:[a.jsx(zI,{className:"w-3 h-3"})," Paste QR code value from scanner"]}),a.jsxs("div",{className:"flex gap-2",children:[a.jsx("input",{type:"text",placeholder:"NFA2026:REF:CODE:EMAIL",value:r,onChange:E=>n(E.target.value),onKeyDown:E=>E.key==="Enter"&&F(),className:"flex-1 bg-[#0A0A0A] border border-white/10 rounded-lg px-3 py-3 text-white placeholder-white/20 text-sm font-mono focus:outline-none focus:border-[#D4AF37]/50"}),a.jsx("button",{onClick:F,disabled:d==="qr"||!r.trim(),className:"bg-[#D4AF37] hover:bg-[#C9A84C] disabled:opacity-50 text-black font-black px-5 py-3 rounded-lg text-sm transition-all",children:d==="qr"?"â¦":"Check In"})]})]})})}),a.jsx("div",{className:"space-y-2",children:w?a.jsx("p",{className:"text-center text-white/30 py-12",children:"Loading bookingsâ¦"}):b.length===0?a.jsxs("div",{className:"text-center py-12",children:[a.jsx($t,{className:"w-10 h-10 text-white/10 mx-auto mb-3"}),a.jsx("p",{className:"text-white/30 text-sm",children:e.trim()?"No matching guests found":"No bookings yet"})]}):b.map(E=>a.jsxs(V.div,{layout:!0,className:`bg-[#111] border rounded-xl p-4 transition-all ${E.checked_in?"border-emerald-500/20 opacity-60":"border-white/10"}`,children:[a.jsxs("div",{className:"flex items-center justify-between gap-3",children:[a.jsxs("div",{className:"min-w-0 flex-1",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx("p",{className:"text-white font-bold text-sm truncate",children:E.holder_name}),E.checked_in&&a.jsx("span",{className:"shrink-0 text-emerald-400 text-[10px] font-black bg-emerald-500/10 px-2 py-0.5 rounded-full border border-emerald-500/20",children:"â IN"})]}),a.jsx("p",{className:"text-white/40 text-xs truncate",children:E.holder_email}),a.jsxs("div",{className:"flex items-center gap-3 mt-2",children:[a.jsx("p",{className:"text-white/30 font-mono text-[10px]",children:E.booking_reference}),a.jsx("p",{className:"text-white/50 text-xs",children:E.package_name}),a.jsxs("p",{className:"text-white/40 text-xs",children:["Ã",E.quantity]})]})]}),!E.checked_in&&a.jsx("button",{onClick:()=>N(E),disabled:d===E.id,className:"shrink-0 bg-[#D4AF37] hover:bg-[#C9A84C] disabled:opacity-50 text-black font-black text-sm px-5 py-3 rounded-xl transition-all",children:d===E.id?"â¦":"Check In"})]}),E.checked_in&&E.checked_in_at&&a.jsxs("p",{className:"text-emerald-400/50 text-[10px] mt-2",children:["Checked in at ",new Date(E.checked_in_at).toLocaleString("en-GB")]})]},E.id))}),b.length>0&&!e.trim()&&a.jsx("p",{className:"text-white/20 text-xs text-center mt-4",children:"Showing first 30 · search to find more"})]})]})}const Kue=()=>a.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:a.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:a.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),a.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),a.jsx("p",{className:"text-slate-600 mb-8",children:"You are not registered to use this application. Please contact the app administrator to request access."}),a.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[a.jsx("p",{children:"If you believe this is an error, you can:"}),a.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[a.jsx("li",{children:"Verify you are logged in with the correct account"}),a.jsx("li",{children:"Contact the app administrator for access"}),a.jsx("li",{children:"Try logging out and back in again"})]})]})]})})}),{Pages:dD,Layout:u3,mainPage:Gue}=E_,uD=Gue,Wue=dD[uD],fr=({children:e,currentPageName:t})=>u3?a.jsx(u3,{currentPageName:t,children:e}):a.jsx(a.Fragment,{children:e}),zue=()=>{const{isLoadingAuth:e,isLoadingPublicSettings:t,authError:r,navigateToLogin:n}=fE();if(t||e)return a.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:a.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-slate-800 rounded-full animate-spin"})});if(r){if(r.type==="user_not_registered")return a.jsx(Kue,{});if(r.type==="auth_required")return n(),null}return a.jsxs(KP,{children:[a.jsx(_t,{path:"/",element:a.jsx(fr,{currentPageName:uD,children:a.jsx(Wue,{})})}),Object.entries(dD).map(([s,i])=>a.jsx(_t,{path:`/${s}`,element:a.jsx(fr,{currentPageName:s,children:a.jsx(i,{})})},s)),a.jsx(_t,{path:"/newsroom/:id",element:a.jsx(fr,{currentPageName:"Newsroom",children:a.jsx(_ne,{})})}),a.jsx(_t,{path:"/leger-holidays-2026",element:a.jsx(fr,{currentPageName:"Newsroom",children:a.jsx(Dne,{})})}),a.jsx(_t,{path:"/voting",element:a.jsx(fr,{currentPageName:"Voting",children:a.jsx(Rne,{})})}),a.jsx(_t,{path:"/admin-voting-results",element:a.jsx(fr,{currentPageName:"AdminVotingResults",children:a.jsx(Mne,{})})}),a.jsx(_t,{path:"/nominations-2026",element:a.jsx(fr,{currentPageName:"Nominations2026",children:a.jsx(Hne,{})})}),a.jsx(_t,{path:"/contact",element:a.jsx(fr,{currentPageName:"Contact",children:a.jsx(Kne,{})})}),a.jsx(_t,{path:"/booking-success",element:a.jsx(fr,{currentPageName:"BookingSuccess",children:a.jsx(Wne,{})})}),a.jsx(_t,{path:"/admin-bookings",element:a.jsx(fr,{currentPageName:"AdminBookings",children:a.jsx(qne,{})})}),a.jsx(_t,{path:"/sponsor/island-falls-home",element:a.jsx(fr,{currentPageName:"Sponsors",children:a.jsx(S_,{})})}),a.jsx(_t,{path:"/terms-and-conditions",element:a.jsx(fr,{currentPageName:"TermsAndConditions",children:a.jsx($ne,{})})}
975),a.jsx(_t,{path:"/leger-competition",element:a.jsx(fr,{currentPageName:"LegerCompetition",children:a.jsx(sae,{})})}),a.jsx(_t,{path:"/admin/leger-competition",element:a.jsx(fr,{currentPageName:"AdminLegerCompetition",children:a.jsx(eue,{})})}),a.jsx(_t,{path:"/admin/leger-email",element:a.jsx(fr,{currentPageName:"AdminLegerEmail",children:a.jsx(rue,{})})}),a.jsx(_t,{path:"/signflow",element:a.jsx(fr,{currentPageName:"SignFlow",children:a.jsx(nue,{})})}),a.jsx(_t,{path:"/signflow/new",element:a.jsx(fr,{currentPageName:"SignFlow",children:a.jsx(Aue,{})})}),a.jsx(_t,{path:"/signflow/:id",element:a.jsx(fr,{currentPageName:"SignFlow",children:a.jsx(uue,{})})}),a.jsx(_t,{path:"/sign/:token",element:a.jsx(hue,{})}),a.jsx(_t,{path:"/upload-login",element:a.jsx(fue,{})}),a.jsx(_t,{path:"/portal",element:a.jsx(yue,{})}),a.jsx(_t,{path:"/admin-photos",element:a.jsx(Cue,{})}),a.jsx(_t,{path:"/gallery",element:a.jsx(fr,{currentPageName:"Gallery",children:a.jsx(JT,{})})}),a.jsx(_t,{path:"/gallery/:year",element:a.jsx(fr,{currentPageName:"Gallery",children:a.jsx(jue,{})})}),a.jsx(_t,{path:"/winners-2026",element:a.jsx(fr,{currentPageName:"Winners2026",children:a.jsx(Oue,{})})}),a.jsx(_t,{path:"/front-of-house",element:a.jsx(Vue,{})}),a.jsx(_t,{path:"*",element:a.jsx(Tne,{})})]})};function Jue(){return a.jsx(EQ,{children:a.jsxs(ML,{client:YL,children:[a.jsxs(XP,{children:[a.jsx(Ene,{}),a.jsx(zue,{})]}),a.jsx(fL,{})]})})}iU.createRoot(document.getElementById("root")).render(a.jsx(Jue,{}));
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.