1065 lines
404 KiB
JavaScript
1065 lines
404 KiB
JavaScript
(function(){"use strict";var zi,Ai,Mi;var Cs={exports:{}},hr={},bs={exports:{}},ve={};/**
|
||
* @license React
|
||
* react.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var zo;function xu(){if(zo)return ve;zo=1;var o=Symbol.for("react.element"),i=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),g=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),w=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),S=Symbol.iterator;function L(N){return N===null||typeof N!="object"?null:(N=S&&N[S]||N["@@iterator"],typeof N=="function"?N:null)}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,b={};function k(N,I,ue){this.props=N,this.context=I,this.refs=b,this.updater=ue||D}k.prototype.isReactComponent={},k.prototype.setState=function(N,I){if(typeof N!="object"&&typeof N!="function"&&N!=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,N,I,"setState")},k.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function E(){}E.prototype=k.prototype;function M(N,I,ue){this.props=N,this.context=I,this.refs=b,this.updater=ue||D}var A=M.prototype=new E;A.constructor=M,T(A,k.prototype),A.isPureReactComponent=!0;var H=Array.isArray,$=Object.prototype.hasOwnProperty,V={current:null},Z={key:!0,ref:!0,__self:!0,__source:!0};function W(N,I,ue){var fe,O={},ce=null,ye=null;if(I!=null)for(fe in I.ref!==void 0&&(ye=I.ref),I.key!==void 0&&(ce=""+I.key),I)$.call(I,fe)&&!Z.hasOwnProperty(fe)&&(O[fe]=I[fe]);var we=arguments.length-2;if(we===1)O.children=ue;else if(1<we){for(var be=Array(we),Je=0;Je<we;Je++)be[Je]=arguments[Je+2];O.children=be}if(N&&N.defaultProps)for(fe in we=N.defaultProps,we)O[fe]===void 0&&(O[fe]=we[fe]);return{$$typeof:o,type:N,key:ce,ref:ye,props:O,_owner:V.current}}function Y(N,I){return{$$typeof:o,type:N.type,key:I,ref:N.ref,props:N.props,_owner:N._owner}}function z(N){return typeof N=="object"&&N!==null&&N.$$typeof===o}function de(N){var I={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(ue){return I[ue]})}var _e=/\/+/g;function ie(N,I){return typeof N=="object"&&N!==null&&N.key!=null?de(""+N.key):I.toString(36)}function J(N,I,ue,fe,O){var ce=typeof N;(ce==="undefined"||ce==="boolean")&&(N=null);var ye=!1;if(N===null)ye=!0;else switch(ce){case"string":case"number":ye=!0;break;case"object":switch(N.$$typeof){case o:case i:ye=!0}}if(ye)return ye=N,O=O(ye),N=fe===""?"."+ie(ye,0):fe,H(O)?(ue="",N!=null&&(ue=N.replace(_e,"$&/")+"/"),J(O,I,ue,"",function(Je){return Je})):O!=null&&(z(O)&&(O=Y(O,ue+(!O.key||ye&&ye.key===O.key?"":(""+O.key).replace(_e,"$&/")+"/")+N)),I.push(O)),1;if(ye=0,fe=fe===""?".":fe+":",H(N))for(var we=0;we<N.length;we++){ce=N[we];var be=fe+ie(ce,we);ye+=J(ce,I,ue,be,O)}else if(be=L(N),typeof be=="function")for(N=be.call(N),we=0;!(ce=N.next()).done;)ce=ce.value,be=fe+ie(ce,we++),ye+=J(ce,I,ue,be,O);else if(ce==="object")throw I=String(N),Error("Objects are not valid as a React child (found: "+(I==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.");return ye}function se(N,I,ue){if(N==null)return N;var fe=[],O=0;return J(N,fe,"","",function(ce){return I.call(ue,ce,O++)}),fe}function he(N){if(N._status===-1){var I=N._result;I=I(),I.then(function(ue){(N._status===0||N._status===-1)&&(N._status=1,N._result=ue)},function(ue){(N._status===0||N._status===-1)&&(N._status=2,N._result=ue)}),N._status===-1&&(N._status=0,N._result=I)}if(N._status===1)return N._result.default;throw N._result}var me={current:null},G={transition:null},le={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:G,ReactCurrentOwner:V};function q(){throw Error("act(...) is not supported in production builds of React.")}return ve.Children={map:se,forEach:function(N,I,ue){se(N,function(){I.apply(this,arguments)},ue)},count:function(N){var I=0;return se(N,function(){I++}),I},toArray:function(N){return se(N,function(I){return I})||[]},only:function(N){if(!z(N))throw Error("React.Children.only expected to receive a single React element child.");return N}},ve.Component=k,ve.Fragment=c,ve.Profiler=d,ve.PureComponent=M,ve.StrictMode=p,ve.Suspense=v,ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=le,ve.act=q,ve.cloneElement=function(N,I,ue){if(N==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+N+".");var fe=T({},N.props),O=N.key,ce=N.ref,ye=N._owner;if(I!=null){if(I.ref!==void 0&&(ce=I.ref,ye=V.current),I.key!==void 0&&(O=""+I.key),N.type&&N.type.defaultProps)var we=N.type.defaultProps;for(be in I)$.call(I,be)&&!Z.hasOwnProperty(be)&&(fe[be]=I[be]===void 0&&we!==void 0?we[be]:I[be])}var be=arguments.length-2;if(be===1)fe.children=ue;else if(1<be){we=Array(be);for(var Je=0;Je<be;Je++)we[Je]=arguments[Je+2];fe.children=we}return{$$typeof:o,type:N.type,key:O,ref:ce,props:fe,_owner:ye}},ve.createContext=function(N){return N={$$typeof:g,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},N.Provider={$$typeof:m,_context:N},N.Consumer=N},ve.createElement=W,ve.createFactory=function(N){var I=W.bind(null,N);return I.type=N,I},ve.createRef=function(){return{current:null}},ve.forwardRef=function(N){return{$$typeof:h,render:N}},ve.isValidElement=z,ve.lazy=function(N){return{$$typeof:j,_payload:{_status:-1,_result:N},_init:he}},ve.memo=function(N,I){return{$$typeof:w,type:N,compare:I===void 0?null:I}},ve.startTransition=function(N){var I=G.transition;G.transition={};try{N()}finally{G.transition=I}},ve.unstable_act=q,ve.useCallback=function(N,I){return me.current.useCallback(N,I)},ve.useContext=function(N){return me.current.useContext(N)},ve.useDebugValue=function(){},ve.useDeferredValue=function(N){return me.current.useDeferredValue(N)},ve.useEffect=function(N,I){return me.current.useEffect(N,I)},ve.useId=function(){return me.current.useId()},ve.useImperativeHandle=function(N,I,ue){return me.current.useImperativeHandle(N,I,ue)},ve.useInsertionEffect=function(N,I){return me.current.useInsertionEffect(N,I)},ve.useLayoutEffect=function(N,I){return me.current.useLayoutEffect(N,I)},ve.useMemo=function(N,I){return me.current.useMemo(N,I)},ve.useReducer=function(N,I,ue){return me.current.useReducer(N,I,ue)},ve.useRef=function(N){return me.current.useRef(N)},ve.useState=function(N){return me.current.useState(N)},ve.useSyncExternalStore=function(N,I,ue){return me.current.useSyncExternalStore(N,I,ue)},ve.useTransition=function(){return me.current.useTransition()},ve.version="18.3.1",ve}var Ao;function Ls(){return Ao||(Ao=1,bs.exports=xu()),bs.exports}/**
|
||
* @license React
|
||
* react-jsx-runtime.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var Mo;function ju(){if(Mo)return hr;Mo=1;var o=Ls(),i=Symbol.for("react.element"),c=Symbol.for("react.fragment"),p=Object.prototype.hasOwnProperty,d=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function g(h,v,w){var j,S={},L=null,D=null;w!==void 0&&(L=""+w),v.key!==void 0&&(L=""+v.key),v.ref!==void 0&&(D=v.ref);for(j in v)p.call(v,j)&&!m.hasOwnProperty(j)&&(S[j]=v[j]);if(h&&h.defaultProps)for(j in v=h.defaultProps,v)S[j]===void 0&&(S[j]=v[j]);return{$$typeof:i,type:h,key:L,ref:D,props:S,_owner:d.current}}return hr.Fragment=c,hr.jsx=g,hr.jsxs=g,hr}var Io;function wu(){return Io||(Io=1,Cs.exports=ju()),Cs.exports}var t=wu(),cl={},Ps={exports:{}},tn={},Es={exports:{}},Ds={};/**
|
||
* @license React
|
||
* scheduler.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var Fo;function ku(){return Fo||(Fo=1,(function(o){function i(G,le){var q=G.length;G.push(le);e:for(;0<q;){var N=q-1>>>1,I=G[N];if(0<d(I,le))G[N]=le,G[q]=I,q=N;else break e}}function c(G){return G.length===0?null:G[0]}function p(G){if(G.length===0)return null;var le=G[0],q=G.pop();if(q!==le){G[0]=q;e:for(var N=0,I=G.length,ue=I>>>1;N<ue;){var fe=2*(N+1)-1,O=G[fe],ce=fe+1,ye=G[ce];if(0>d(O,q))ce<I&&0>d(ye,O)?(G[N]=ye,G[ce]=q,N=ce):(G[N]=O,G[fe]=q,N=fe);else if(ce<I&&0>d(ye,q))G[N]=ye,G[ce]=q,N=ce;else break e}}return le}function d(G,le){var q=G.sortIndex-le.sortIndex;return q!==0?q:G.id-le.id}if(typeof performance=="object"&&typeof performance.now=="function"){var m=performance;o.unstable_now=function(){return m.now()}}else{var g=Date,h=g.now();o.unstable_now=function(){return g.now()-h}}var v=[],w=[],j=1,S=null,L=3,D=!1,T=!1,b=!1,k=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function A(G){for(var le=c(w);le!==null;){if(le.callback===null)p(w);else if(le.startTime<=G)p(w),le.sortIndex=le.expirationTime,i(v,le);else break;le=c(w)}}function H(G){if(b=!1,A(G),!T)if(c(v)!==null)T=!0,he($);else{var le=c(w);le!==null&&me(H,le.startTime-G)}}function $(G,le){T=!1,b&&(b=!1,E(W),W=-1),D=!0;var q=L;try{for(A(le),S=c(v);S!==null&&(!(S.expirationTime>le)||G&&!de());){var N=S.callback;if(typeof N=="function"){S.callback=null,L=S.priorityLevel;var I=N(S.expirationTime<=le);le=o.unstable_now(),typeof I=="function"?S.callback=I:S===c(v)&&p(v),A(le)}else p(v);S=c(v)}if(S!==null)var ue=!0;else{var fe=c(w);fe!==null&&me(H,fe.startTime-le),ue=!1}return ue}finally{S=null,L=q,D=!1}}var V=!1,Z=null,W=-1,Y=5,z=-1;function de(){return!(o.unstable_now()-z<Y)}function _e(){if(Z!==null){var G=o.unstable_now();z=G;var le=!0;try{le=Z(!0,G)}finally{le?ie():(V=!1,Z=null)}}else V=!1}var ie;if(typeof M=="function")ie=function(){M(_e)};else if(typeof MessageChannel<"u"){var J=new MessageChannel,se=J.port2;J.port1.onmessage=_e,ie=function(){se.postMessage(null)}}else ie=function(){k(_e,0)};function he(G){Z=G,V||(V=!0,ie())}function me(G,le){W=k(function(){G(o.unstable_now())},le)}o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(G){G.callback=null},o.unstable_continueExecution=function(){T||D||(T=!0,he($))},o.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Y=0<G?Math.floor(1e3/G):5},o.unstable_getCurrentPriorityLevel=function(){return L},o.unstable_getFirstCallbackNode=function(){return c(v)},o.unstable_next=function(G){switch(L){case 1:case 2:case 3:var le=3;break;default:le=L}var q=L;L=le;try{return G()}finally{L=q}},o.unstable_pauseExecution=function(){},o.unstable_requestPaint=function(){},o.unstable_runWithPriority=function(G,le){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var q=L;L=G;try{return le()}finally{L=q}},o.unstable_scheduleCallback=function(G,le,q){var N=o.unstable_now();switch(typeof q=="object"&&q!==null?(q=q.delay,q=typeof q=="number"&&0<q?N+q:N):q=N,G){case 1:var I=-1;break;case 2:I=250;break;case 5:I=1073741823;break;case 4:I=1e4;break;default:I=5e3}return I=q+I,G={id:j++,callback:le,priorityLevel:G,startTime:q,expirationTime:I,sortIndex:-1},q>N?(G.sortIndex=q,i(w,G),c(v)===null&&G===c(w)&&(b?(E(W),W=-1):b=!0,me(H,q-N))):(G.sortIndex=I,i(v,G),T||D||(T=!0,he($))),G},o.unstable_shouldYield=de,o.unstable_wrapCallback=function(G){var le=L;return function(){var q=L;L=le;try{return G.apply(this,arguments)}finally{L=q}}}})(Ds)),Ds}var Bo;function Nu(){return Bo||(Bo=1,Es.exports=ku()),Es.exports}/**
|
||
* @license React
|
||
* react-dom.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var Oo;function Su(){if(Oo)return tn;Oo=1;var o=Ls(),i=Nu();function c(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p=new Set,d={};function m(e,n){g(e,n),g(e+"Capture",n)}function g(e,n){for(d[e]=n,e=0;e<n.length;e++)p.add(n[e])}var h=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),v=Object.prototype.hasOwnProperty,w=/^[: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]*$/,j={},S={};function L(e){return v.call(S,e)?!0:v.call(j,e)?!1:w.test(e)?S[e]=!0:(j[e]=!0,!1)}function D(e,n,r,l){if(r!==null&&r.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return l?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function T(e,n,r,l){if(n===null||typeof n>"u"||D(e,n,r,l))return!0;if(l)return!1;if(r!==null)switch(r.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function b(e,n,r,l,s,a,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=l,this.attributeNamespace=s,this.mustUseProperty=r,this.propertyName=e,this.type=n,this.sanitizeURL=a,this.removeEmptyString=u}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){k[e]=new b(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];k[n]=new b(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){k[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){k[e]=new b(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){k[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){k[e]=new b(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){k[e]=new b(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){k[e]=new b(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){k[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function M(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(E,M);k[n]=new b(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(E,M);k[n]=new b(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(E,M);k[n]=new b(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){k[e]=new b(e,1,!1,e.toLowerCase(),null,!1,!1)}),k.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){k[e]=new b(e,1,!1,e.toLowerCase(),null,!0,!0)});function A(e,n,r,l){var s=k.hasOwnProperty(n)?k[n]:null;(s!==null?s.type!==0:l||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(T(n,r,s,l)&&(r=null),l||s===null?L(n)&&(r===null?e.removeAttribute(n):e.setAttribute(n,""+r)):s.mustUseProperty?e[s.propertyName]=r===null?s.type===3?!1:"":r:(n=s.attributeName,l=s.attributeNamespace,r===null?e.removeAttribute(n):(s=s.type,r=s===3||s===4&&r===!0?"":""+r,l?e.setAttributeNS(l,n,r):e.setAttribute(n,r))))}var H=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$=Symbol.for("react.element"),V=Symbol.for("react.portal"),Z=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),z=Symbol.for("react.provider"),de=Symbol.for("react.context"),_e=Symbol.for("react.forward_ref"),ie=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),me=Symbol.for("react.offscreen"),G=Symbol.iterator;function le(e){return e===null||typeof e!="object"?null:(e=G&&e[G]||e["@@iterator"],typeof e=="function"?e:null)}var q=Object.assign,N;function I(e){if(N===void 0)try{throw Error()}catch(r){var n=r.stack.trim().match(/\n( *(at )?)/);N=n&&n[1]||""}return`
|
||
`+N+e}var ue=!1;function fe(e,n){if(!e||ue)return"";ue=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(R){var l=R}Reflect.construct(e,[],n)}else{try{n.call()}catch(R){l=R}e.call(n.prototype)}else{try{throw Error()}catch(R){l=R}e()}}catch(R){if(R&&l&&typeof R.stack=="string"){for(var s=R.stack.split(`
|
||
`),a=l.stack.split(`
|
||
`),u=s.length-1,f=a.length-1;1<=u&&0<=f&&s[u]!==a[f];)f--;for(;1<=u&&0<=f;u--,f--)if(s[u]!==a[f]){if(u!==1||f!==1)do if(u--,f--,0>f||s[u]!==a[f]){var y=`
|
||
`+s[u].replace(" at new "," at ");return e.displayName&&y.includes("<anonymous>")&&(y=y.replace("<anonymous>",e.displayName)),y}while(1<=u&&0<=f);break}}}finally{ue=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?I(e):""}function O(e){switch(e.tag){case 5:return I(e.type);case 16:return I("Lazy");case 13:return I("Suspense");case 19:return I("SuspenseList");case 0:case 2:case 15:return e=fe(e.type,!1),e;case 11:return e=fe(e.type.render,!1),e;case 1:return e=fe(e.type,!0),e;default:return""}}function ce(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Z:return"Fragment";case V:return"Portal";case Y:return"Profiler";case W:return"StrictMode";case ie:return"Suspense";case J:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case de:return(e.displayName||"Context")+".Consumer";case z:return(e._context.displayName||"Context")+".Provider";case _e:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case se:return n=e.displayName||null,n!==null?n:ce(e.type)||"Memo";case he:n=e._payload,e=e._init;try{return ce(e(n))}catch{}}return null}function ye(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ce(n);case 8:return n===W?"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 n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function we(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function be(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Je(e){var n=be(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),l=""+e[n];if(!e.hasOwnProperty(n)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var s=r.get,a=r.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return s.call(this)},set:function(u){l=""+u,a.call(this,u)}}),Object.defineProperty(e,n,{enumerable:r.enumerable}),{getValue:function(){return l},setValue:function(u){l=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function En(e){e._valueTracker||(e._valueTracker=Je(e))}function ml(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var r=n.getValue(),l="";return e&&(l=be(e)?e.checked?"true":"false":e.value),e=l,e!==r?(n.setValue(e),!0):!1}function wn(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function _r(e,n){var r=n.checked;return q({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function gl(e,n){var r=n.defaultValue==null?"":n.defaultValue,l=n.checked!=null?n.checked:n.defaultChecked;r=we(n.value!=null?n.value:r),e._wrapperState={initialChecked:l,initialValue:r,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function xr(e,n){n=n.checked,n!=null&&A(e,"checked",n,!1)}function Ft(e,n){xr(e,n);var r=we(n.value),l=n.type;if(r!=null)l==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(l==="submit"||l==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Bt(e,n.type,r):n.hasOwnProperty("defaultValue")&&Bt(e,n.type,we(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function jr(e,n,r){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var l=n.type;if(!(l!=="submit"&&l!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,r||n===e.value||(e.value=n),e.defaultValue=n}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Bt(e,n,r){(n!=="number"||wn(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var xt=Array.isArray;function Qn(e,n,r,l){if(e=e.options,n){n={};for(var s=0;s<r.length;s++)n["$"+r[s]]=!0;for(r=0;r<e.length;r++)s=n.hasOwnProperty("$"+e[r].value),e[r].selected!==s&&(e[r].selected=s),s&&l&&(e[r].defaultSelected=!0)}else{for(r=""+we(r),n=null,s=0;s<e.length;s++){if(e[s].value===r){e[s].selected=!0,l&&(e[s].defaultSelected=!0);return}n!==null||e[s].disabled||(n=e[s])}n!==null&&(n.selected=!0)}}function Ot(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(c(91));return q({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ks(e,n){var r=n.value;if(r==null){if(r=n.children,n=n.defaultValue,r!=null){if(n!=null)throw Error(c(92));if(xt(r)){if(1<r.length)throw Error(c(93));r=r[0]}n=r}n==null&&(n=""),r=n}e._wrapperState={initialValue:we(r)}}function wr(e,n){var r=we(n.value),l=we(n.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),n.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),l!=null&&(e.defaultValue=""+l)}function Yn(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function kr(e){switch(e){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 Ut(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?kr(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var jt,Nr=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,r,l,s){MSApp.execUnsafeLocalFunction(function(){return e(n,r,l,s)})}:e})(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(jt=jt||document.createElement("div"),jt.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=jt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function qn(e,n){if(n){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=n;return}}e.textContent=n}var Zn={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},vl=["Webkit","ms","Moz","O"];Object.keys(Zn).forEach(function(e){vl.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Zn[n]=Zn[e]})});function Sr(e,n,r){return n==null||typeof n=="boolean"||n===""?"":r||typeof n!="number"||n===0||Zn.hasOwnProperty(e)&&Zn[e]?(""+n).trim():n+"px"}function Cr(e,n){e=e.style;for(var r in n)if(n.hasOwnProperty(r)){var l=r.indexOf("--")===0,s=Sr(r,n[r],l);r==="float"&&(r="cssFloat"),l?e.setProperty(r,s):e[r]=s}}var yl=q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function $t(e,n){if(n){if(yl[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(c(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(c(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(c(61))}if(n.style!=null&&typeof n.style!="object")throw Error(c(62))}}function Wt(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Te=null;function Qs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ys=null,Ht=null,Vt=null;function Ii(e){if(e=Qr(e)){if(typeof Ys!="function")throw Error(c(280));var n=e.stateNode;n&&(n=Ul(n),Ys(e.stateNode,e.type,n))}}function Fi(e){Ht?Vt?Vt.push(e):Vt=[e]:Ht=e}function Bi(){if(Ht){var e=Ht,n=Vt;if(Vt=Ht=null,Ii(e),n)for(e=0;e<n.length;e++)Ii(n[e])}}function Oi(e,n){return e(n)}function Ui(){}var qs=!1;function $i(e,n,r){if(qs)return e(n,r);qs=!0;try{return Oi(e,n,r)}finally{qs=!1,(Ht!==null||Vt!==null)&&(Ui(),Bi())}}function br(e,n){var r=e.stateNode;if(r===null)return null;var l=Ul(r);if(l===null)return null;r=l[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(c(231,n,typeof r));return r}var Zs=!1;if(h)try{var Lr={};Object.defineProperty(Lr,"passive",{get:function(){Zs=!0}}),window.addEventListener("test",Lr,Lr),window.removeEventListener("test",Lr,Lr)}catch{Zs=!1}function W2(e,n,r,l,s,a,u,f,y){var R=Array.prototype.slice.call(arguments,3);try{n.apply(r,R)}catch(B){this.onError(B)}}var Pr=!1,_l=null,xl=!1,Xs=null,H2={onError:function(e){Pr=!0,_l=e}};function V2(e,n,r,l,s,a,u,f,y){Pr=!1,_l=null,W2.apply(H2,arguments)}function G2(e,n,r,l,s,a,u,f,y){if(V2.apply(this,arguments),Pr){if(Pr){var R=_l;Pr=!1,_l=null}else throw Error(c(198));xl||(xl=!0,Xs=R)}}function wt(e){var n=e,r=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(r=n.return),e=n.return;while(e)}return n.tag===3?r:null}function Wi(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function Hi(e){if(wt(e)!==e)throw Error(c(188))}function K2(e){var n=e.alternate;if(!n){if(n=wt(e),n===null)throw Error(c(188));return n!==e?null:e}for(var r=e,l=n;;){var s=r.return;if(s===null)break;var a=s.alternate;if(a===null){if(l=s.return,l!==null){r=l;continue}break}if(s.child===a.child){for(a=s.child;a;){if(a===r)return Hi(s),e;if(a===l)return Hi(s),n;a=a.sibling}throw Error(c(188))}if(r.return!==l.return)r=s,l=a;else{for(var u=!1,f=s.child;f;){if(f===r){u=!0,r=s,l=a;break}if(f===l){u=!0,l=s,r=a;break}f=f.sibling}if(!u){for(f=a.child;f;){if(f===r){u=!0,r=a,l=s;break}if(f===l){u=!0,l=a,r=s;break}f=f.sibling}if(!u)throw Error(c(189))}}if(r.alternate!==l)throw Error(c(190))}if(r.tag!==3)throw Error(c(188));return r.stateNode.current===r?e:n}function Vi(e){return e=K2(e),e!==null?Gi(e):null}function Gi(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=Gi(e);if(n!==null)return n;e=e.sibling}return null}var Ki=i.unstable_scheduleCallback,Qi=i.unstable_cancelCallback,Q2=i.unstable_shouldYield,Y2=i.unstable_requestPaint,Me=i.unstable_now,q2=i.unstable_getCurrentPriorityLevel,Js=i.unstable_ImmediatePriority,Yi=i.unstable_UserBlockingPriority,jl=i.unstable_NormalPriority,Z2=i.unstable_LowPriority,qi=i.unstable_IdlePriority,wl=null,Dn=null;function X2(e){if(Dn&&typeof Dn.onCommitFiberRoot=="function")try{Dn.onCommitFiberRoot(wl,e,void 0,(e.current.flags&128)===128)}catch{}}var kn=Math.clz32?Math.clz32:n3,J2=Math.log,e3=Math.LN2;function n3(e){return e>>>=0,e===0?32:31-(J2(e)/e3|0)|0}var kl=64,Nl=4194304;function Er(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Sl(e,n){var r=e.pendingLanes;if(r===0)return 0;var l=0,s=e.suspendedLanes,a=e.pingedLanes,u=r&268435455;if(u!==0){var f=u&~s;f!==0?l=Er(f):(a&=u,a!==0&&(l=Er(a)))}else u=r&~s,u!==0?l=Er(u):a!==0&&(l=Er(a));if(l===0)return 0;if(n!==0&&n!==l&&(n&s)===0&&(s=l&-l,a=n&-n,s>=a||s===16&&(a&4194240)!==0))return n;if((l&4)!==0&&(l|=r&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=l;0<n;)r=31-kn(n),s=1<<r,l|=e[r],n&=~s;return l}function t3(e,n){switch(e){case 1:case 2:case 4:return n+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 n+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 r3(e,n){for(var r=e.suspendedLanes,l=e.pingedLanes,s=e.expirationTimes,a=e.pendingLanes;0<a;){var u=31-kn(a),f=1<<u,y=s[u];y===-1?((f&r)===0||(f&l)!==0)&&(s[u]=t3(f,n)):y<=n&&(e.expiredLanes|=f),a&=~f}}function ea(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Zi(){var e=kl;return kl<<=1,(kl&4194240)===0&&(kl=64),e}function na(e){for(var n=[],r=0;31>r;r++)n.push(e);return n}function Dr(e,n,r){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-kn(n),e[n]=r}function l3(e,n){var r=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var l=e.eventTimes;for(e=e.expirationTimes;0<r;){var s=31-kn(r),a=1<<s;n[s]=0,l[s]=-1,e[s]=-1,r&=~a}}function ta(e,n){var r=e.entangledLanes|=n;for(e=e.entanglements;r;){var l=31-kn(r),s=1<<l;s&n|e[l]&n&&(e[l]|=n),r&=~s}}var Se=0;function Xi(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Ji,ra,ec,nc,tc,la=!1,Cl=[],Xn=null,Jn=null,et=null,Tr=new Map,Rr=new Map,nt=[],s3="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 rc(e,n){switch(e){case"focusin":case"focusout":Xn=null;break;case"dragenter":case"dragleave":Jn=null;break;case"mouseover":case"mouseout":et=null;break;case"pointerover":case"pointerout":Tr.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rr.delete(n.pointerId)}}function zr(e,n,r,l,s,a){return e===null||e.nativeEvent!==a?(e={blockedOn:n,domEventName:r,eventSystemFlags:l,nativeEvent:a,targetContainers:[s]},n!==null&&(n=Qr(n),n!==null&&ra(n)),e):(e.eventSystemFlags|=l,n=e.targetContainers,s!==null&&n.indexOf(s)===-1&&n.push(s),e)}function a3(e,n,r,l,s){switch(n){case"focusin":return Xn=zr(Xn,e,n,r,l,s),!0;case"dragenter":return Jn=zr(Jn,e,n,r,l,s),!0;case"mouseover":return et=zr(et,e,n,r,l,s),!0;case"pointerover":var a=s.pointerId;return Tr.set(a,zr(Tr.get(a)||null,e,n,r,l,s)),!0;case"gotpointercapture":return a=s.pointerId,Rr.set(a,zr(Rr.get(a)||null,e,n,r,l,s)),!0}return!1}function lc(e){var n=kt(e.target);if(n!==null){var r=wt(n);if(r!==null){if(n=r.tag,n===13){if(n=Wi(r),n!==null){e.blockedOn=n,tc(e.priority,function(){ec(r)});return}}else if(n===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function bl(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var r=aa(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var l=new r.constructor(r.type,r);Te=l,r.target.dispatchEvent(l),Te=null}else return n=Qr(r),n!==null&&ra(n),e.blockedOn=r,!1;n.shift()}return!0}function sc(e,n,r){bl(e)&&r.delete(n)}function o3(){la=!1,Xn!==null&&bl(Xn)&&(Xn=null),Jn!==null&&bl(Jn)&&(Jn=null),et!==null&&bl(et)&&(et=null),Tr.forEach(sc),Rr.forEach(sc)}function Ar(e,n){e.blockedOn===n&&(e.blockedOn=null,la||(la=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,o3)))}function Mr(e){function n(s){return Ar(s,e)}if(0<Cl.length){Ar(Cl[0],e);for(var r=1;r<Cl.length;r++){var l=Cl[r];l.blockedOn===e&&(l.blockedOn=null)}}for(Xn!==null&&Ar(Xn,e),Jn!==null&&Ar(Jn,e),et!==null&&Ar(et,e),Tr.forEach(n),Rr.forEach(n),r=0;r<nt.length;r++)l=nt[r],l.blockedOn===e&&(l.blockedOn=null);for(;0<nt.length&&(r=nt[0],r.blockedOn===null);)lc(r),r.blockedOn===null&&nt.shift()}var Gt=H.ReactCurrentBatchConfig,Ll=!0;function i3(e,n,r,l){var s=Se,a=Gt.transition;Gt.transition=null;try{Se=1,sa(e,n,r,l)}finally{Se=s,Gt.transition=a}}function c3(e,n,r,l){var s=Se,a=Gt.transition;Gt.transition=null;try{Se=4,sa(e,n,r,l)}finally{Se=s,Gt.transition=a}}function sa(e,n,r,l){if(Ll){var s=aa(e,n,r,l);if(s===null)ka(e,n,l,Pl,r),rc(e,l);else if(a3(s,e,n,r,l))l.stopPropagation();else if(rc(e,l),n&4&&-1<s3.indexOf(e)){for(;s!==null;){var a=Qr(s);if(a!==null&&Ji(a),a=aa(e,n,r,l),a===null&&ka(e,n,l,Pl,r),a===s)break;s=a}s!==null&&l.stopPropagation()}else ka(e,n,l,null,r)}}var Pl=null;function aa(e,n,r,l){if(Pl=null,e=Qs(l),e=kt(e),e!==null)if(n=wt(e),n===null)e=null;else if(r=n.tag,r===13){if(e=Wi(n),e!==null)return e;e=null}else if(r===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return Pl=e,null}function ac(e){switch(e){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(q2()){case Js:return 1;case Yi:return 4;case jl:case Z2:return 16;case qi:return 536870912;default:return 16}default:return 16}}var tt=null,oa=null,El=null;function oc(){if(El)return El;var e,n=oa,r=n.length,l,s="value"in tt?tt.value:tt.textContent,a=s.length;for(e=0;e<r&&n[e]===s[e];e++);var u=r-e;for(l=1;l<=u&&n[r-l]===s[a-l];l++);return El=s.slice(e,1<l?1-l:void 0)}function Dl(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function Tl(){return!0}function ic(){return!1}function pn(e){function n(r,l,s,a,u){this._reactName=r,this._targetInst=s,this.type=l,this.nativeEvent=a,this.target=u,this.currentTarget=null;for(var f in e)e.hasOwnProperty(f)&&(r=e[f],this[f]=r?r(a):a[f]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Tl:ic,this.isPropagationStopped=ic,this}return q(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Tl)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Tl)},persist:function(){},isPersistent:Tl}),n}var Kt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ia=pn(Kt),Ir=q({},Kt,{view:0,detail:0}),u3=pn(Ir),ca,ua,Fr,Rl=q({},Ir,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:pa,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Fr&&(Fr&&e.type==="mousemove"?(ca=e.screenX-Fr.screenX,ua=e.screenY-Fr.screenY):ua=ca=0,Fr=e),ca)},movementY:function(e){return"movementY"in e?e.movementY:ua}}),cc=pn(Rl),d3=q({},Rl,{dataTransfer:0}),p3=pn(d3),f3=q({},Ir,{relatedTarget:0}),da=pn(f3),h3=q({},Kt,{animationName:0,elapsedTime:0,pseudoElement:0}),m3=pn(h3),g3=q({},Kt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),v3=pn(g3),y3=q({},Kt,{data:0}),uc=pn(y3),_3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},x3={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"},j3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function w3(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=j3[e])?!!n[e]:!1}function pa(){return w3}var k3=q({},Ir,{key:function(e){if(e.key){var n=_3[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=Dl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?x3[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:pa,charCode:function(e){return e.type==="keypress"?Dl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Dl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),N3=pn(k3),S3=q({},Rl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),dc=pn(S3),C3=q({},Ir,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:pa}),b3=pn(C3),L3=q({},Kt,{propertyName:0,elapsedTime:0,pseudoElement:0}),P3=pn(L3),E3=q({},Rl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),D3=pn(E3),T3=[9,13,27,32],fa=h&&"CompositionEvent"in window,Br=null;h&&"documentMode"in document&&(Br=document.documentMode);var R3=h&&"TextEvent"in window&&!Br,pc=h&&(!fa||Br&&8<Br&&11>=Br),fc=" ",hc=!1;function mc(e,n){switch(e){case"keyup":return T3.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qt=!1;function z3(e,n){switch(e){case"compositionend":return gc(n);case"keypress":return n.which!==32?null:(hc=!0,fc);case"textInput":return e=n.data,e===fc&&hc?null:e;default:return null}}function A3(e,n){if(Qt)return e==="compositionend"||!fa&&mc(e,n)?(e=oc(),El=oa=tt=null,Qt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return pc&&n.locale!=="ko"?null:n.data;default:return null}}var M3={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 vc(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!M3[e.type]:n==="textarea"}function yc(e,n,r,l){Fi(l),n=Fl(n,"onChange"),0<n.length&&(r=new ia("onChange","change",null,r,l),e.push({event:r,listeners:n}))}var Or=null,Ur=null;function I3(e){Mc(e,0)}function zl(e){var n=Jt(e);if(ml(n))return e}function F3(e,n){if(e==="change")return n}var _c=!1;if(h){var ha;if(h){var ma="oninput"in document;if(!ma){var xc=document.createElement("div");xc.setAttribute("oninput","return;"),ma=typeof xc.oninput=="function"}ha=ma}else ha=!1;_c=ha&&(!document.documentMode||9<document.documentMode)}function jc(){Or&&(Or.detachEvent("onpropertychange",wc),Ur=Or=null)}function wc(e){if(e.propertyName==="value"&&zl(Ur)){var n=[];yc(n,Ur,e,Qs(e)),$i(I3,n)}}function B3(e,n,r){e==="focusin"?(jc(),Or=n,Ur=r,Or.attachEvent("onpropertychange",wc)):e==="focusout"&&jc()}function O3(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return zl(Ur)}function U3(e,n){if(e==="click")return zl(n)}function $3(e,n){if(e==="input"||e==="change")return zl(n)}function W3(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Nn=typeof Object.is=="function"?Object.is:W3;function $r(e,n){if(Nn(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var r=Object.keys(e),l=Object.keys(n);if(r.length!==l.length)return!1;for(l=0;l<r.length;l++){var s=r[l];if(!v.call(n,s)||!Nn(e[s],n[s]))return!1}return!0}function kc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nc(e,n){var r=kc(e);e=0;for(var l;r;){if(r.nodeType===3){if(l=e+r.textContent.length,e<=n&&l>=n)return{node:r,offset:n-e};e=l}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=kc(r)}}function Sc(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Sc(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Cc(){for(var e=window,n=wn();n instanceof e.HTMLIFrameElement;){try{var r=typeof n.contentWindow.location.href=="string"}catch{r=!1}if(r)e=n.contentWindow;else break;n=wn(e.document)}return n}function ga(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function H3(e){var n=Cc(),r=e.focusedElem,l=e.selectionRange;if(n!==r&&r&&r.ownerDocument&&Sc(r.ownerDocument.documentElement,r)){if(l!==null&&ga(r)){if(n=l.start,e=l.end,e===void 0&&(e=n),"selectionStart"in r)r.selectionStart=n,r.selectionEnd=Math.min(e,r.value.length);else if(e=(n=r.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var s=r.textContent.length,a=Math.min(l.start,s);l=l.end===void 0?a:Math.min(l.end,s),!e.extend&&a>l&&(s=l,l=a,a=s),s=Nc(r,a);var u=Nc(r,l);s&&u&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(n=n.createRange(),n.setStart(s.node,s.offset),e.removeAllRanges(),a>l?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=r;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<n.length;r++)e=n[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var V3=h&&"documentMode"in document&&11>=document.documentMode,Yt=null,va=null,Wr=null,ya=!1;function bc(e,n,r){var l=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;ya||Yt==null||Yt!==wn(l)||(l=Yt,"selectionStart"in l&&ga(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Wr&&$r(Wr,l)||(Wr=l,l=Fl(va,"onSelect"),0<l.length&&(n=new ia("onSelect","select",null,n,r),e.push({event:n,listeners:l}),n.target=Yt)))}function Al(e,n){var r={};return r[e.toLowerCase()]=n.toLowerCase(),r["Webkit"+e]="webkit"+n,r["Moz"+e]="moz"+n,r}var qt={animationend:Al("Animation","AnimationEnd"),animationiteration:Al("Animation","AnimationIteration"),animationstart:Al("Animation","AnimationStart"),transitionend:Al("Transition","TransitionEnd")},_a={},Lc={};h&&(Lc=document.createElement("div").style,"AnimationEvent"in window||(delete qt.animationend.animation,delete qt.animationiteration.animation,delete qt.animationstart.animation),"TransitionEvent"in window||delete qt.transitionend.transition);function Ml(e){if(_a[e])return _a[e];if(!qt[e])return e;var n=qt[e],r;for(r in n)if(n.hasOwnProperty(r)&&r in Lc)return _a[e]=n[r];return e}var Pc=Ml("animationend"),Ec=Ml("animationiteration"),Dc=Ml("animationstart"),Tc=Ml("transitionend"),Rc=new Map,zc="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 rt(e,n){Rc.set(e,n),m(n,[e])}for(var xa=0;xa<zc.length;xa++){var ja=zc[xa],G3=ja.toLowerCase(),K3=ja[0].toUpperCase()+ja.slice(1);rt(G3,"on"+K3)}rt(Pc,"onAnimationEnd"),rt(Ec,"onAnimationIteration"),rt(Dc,"onAnimationStart"),rt("dblclick","onDoubleClick"),rt("focusin","onFocus"),rt("focusout","onBlur"),rt(Tc,"onTransitionEnd"),g("onMouseEnter",["mouseout","mouseover"]),g("onMouseLeave",["mouseout","mouseover"]),g("onPointerEnter",["pointerout","pointerover"]),g("onPointerLeave",["pointerout","pointerover"]),m("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),m("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),m("onBeforeInput",["compositionend","keypress","textInput","paste"]),m("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),m("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),m("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Hr="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(" "),Q3=new Set("cancel close invalid load scroll toggle".split(" ").concat(Hr));function Ac(e,n,r){var l=e.type||"unknown-event";e.currentTarget=r,G2(l,n,void 0,e),e.currentTarget=null}function Mc(e,n){n=(n&4)!==0;for(var r=0;r<e.length;r++){var l=e[r],s=l.event;l=l.listeners;e:{var a=void 0;if(n)for(var u=l.length-1;0<=u;u--){var f=l[u],y=f.instance,R=f.currentTarget;if(f=f.listener,y!==a&&s.isPropagationStopped())break e;Ac(s,f,R),a=y}else for(u=0;u<l.length;u++){if(f=l[u],y=f.instance,R=f.currentTarget,f=f.listener,y!==a&&s.isPropagationStopped())break e;Ac(s,f,R),a=y}}}if(xl)throw e=Xs,xl=!1,Xs=null,e}function Pe(e,n){var r=n[Pa];r===void 0&&(r=n[Pa]=new Set);var l=e+"__bubble";r.has(l)||(Ic(n,e,2,!1),r.add(l))}function wa(e,n,r){var l=0;n&&(l|=4),Ic(r,e,l,n)}var Il="_reactListening"+Math.random().toString(36).slice(2);function Vr(e){if(!e[Il]){e[Il]=!0,p.forEach(function(r){r!=="selectionchange"&&(Q3.has(r)||wa(r,!1,e),wa(r,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[Il]||(n[Il]=!0,wa("selectionchange",!1,n))}}function Ic(e,n,r,l){switch(ac(n)){case 1:var s=i3;break;case 4:s=c3;break;default:s=sa}r=s.bind(null,n,r,e),s=void 0,!Zs||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(s=!0),l?s!==void 0?e.addEventListener(n,r,{capture:!0,passive:s}):e.addEventListener(n,r,!0):s!==void 0?e.addEventListener(n,r,{passive:s}):e.addEventListener(n,r,!1)}function ka(e,n,r,l,s){var a=l;if((n&1)===0&&(n&2)===0&&l!==null)e:for(;;){if(l===null)return;var u=l.tag;if(u===3||u===4){var f=l.stateNode.containerInfo;if(f===s||f.nodeType===8&&f.parentNode===s)break;if(u===4)for(u=l.return;u!==null;){var y=u.tag;if((y===3||y===4)&&(y=u.stateNode.containerInfo,y===s||y.nodeType===8&&y.parentNode===s))return;u=u.return}for(;f!==null;){if(u=kt(f),u===null)return;if(y=u.tag,y===5||y===6){l=a=u;continue e}f=f.parentNode}}l=l.return}$i(function(){var R=a,B=Qs(r),U=[];e:{var F=Rc.get(e);if(F!==void 0){var X=ia,ne=e;switch(e){case"keypress":if(Dl(r)===0)break e;case"keydown":case"keyup":X=N3;break;case"focusin":ne="focus",X=da;break;case"focusout":ne="blur",X=da;break;case"beforeblur":case"afterblur":X=da;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":X=cc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":X=p3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":X=b3;break;case Pc:case Ec:case Dc:X=m3;break;case Tc:X=P3;break;case"scroll":X=u3;break;case"wheel":X=D3;break;case"copy":case"cut":case"paste":X=v3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":X=dc}var te=(n&4)!==0,Ie=!te&&e==="scroll",C=te?F!==null?F+"Capture":null:F;te=[];for(var _=R,P;_!==null;){P=_;var K=P.stateNode;if(P.tag===5&&K!==null&&(P=K,C!==null&&(K=br(_,C),K!=null&&te.push(Gr(_,K,P)))),Ie)break;_=_.return}0<te.length&&(F=new X(F,ne,null,r,B),U.push({event:F,listeners:te}))}}if((n&7)===0){e:{if(F=e==="mouseover"||e==="pointerover",X=e==="mouseout"||e==="pointerout",F&&r!==Te&&(ne=r.relatedTarget||r.fromElement)&&(kt(ne)||ne[On]))break e;if((X||F)&&(F=B.window===B?B:(F=B.ownerDocument)?F.defaultView||F.parentWindow:window,X?(ne=r.relatedTarget||r.toElement,X=R,ne=ne?kt(ne):null,ne!==null&&(Ie=wt(ne),ne!==Ie||ne.tag!==5&&ne.tag!==6)&&(ne=null)):(X=null,ne=R),X!==ne)){if(te=cc,K="onMouseLeave",C="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(te=dc,K="onPointerLeave",C="onPointerEnter",_="pointer"),Ie=X==null?F:Jt(X),P=ne==null?F:Jt(ne),F=new te(K,_+"leave",X,r,B),F.target=Ie,F.relatedTarget=P,K=null,kt(B)===R&&(te=new te(C,_+"enter",ne,r,B),te.target=P,te.relatedTarget=Ie,K=te),Ie=K,X&&ne)n:{for(te=X,C=ne,_=0,P=te;P;P=Zt(P))_++;for(P=0,K=C;K;K=Zt(K))P++;for(;0<_-P;)te=Zt(te),_--;for(;0<P-_;)C=Zt(C),P--;for(;_--;){if(te===C||C!==null&&te===C.alternate)break n;te=Zt(te),C=Zt(C)}te=null}else te=null;X!==null&&Fc(U,F,X,te,!1),ne!==null&&Ie!==null&&Fc(U,Ie,ne,te,!0)}}e:{if(F=R?Jt(R):window,X=F.nodeName&&F.nodeName.toLowerCase(),X==="select"||X==="input"&&F.type==="file")var re=F3;else if(vc(F))if(_c)re=$3;else{re=O3;var ae=B3}else(X=F.nodeName)&&X.toLowerCase()==="input"&&(F.type==="checkbox"||F.type==="radio")&&(re=U3);if(re&&(re=re(e,R))){yc(U,re,r,B);break e}ae&&ae(e,F,R),e==="focusout"&&(ae=F._wrapperState)&&ae.controlled&&F.type==="number"&&Bt(F,"number",F.value)}switch(ae=R?Jt(R):window,e){case"focusin":(vc(ae)||ae.contentEditable==="true")&&(Yt=ae,va=R,Wr=null);break;case"focusout":Wr=va=Yt=null;break;case"mousedown":ya=!0;break;case"contextmenu":case"mouseup":case"dragend":ya=!1,bc(U,r,B);break;case"selectionchange":if(V3)break;case"keydown":case"keyup":bc(U,r,B)}var oe;if(fa)e:{switch(e){case"compositionstart":var pe="onCompositionStart";break e;case"compositionend":pe="onCompositionEnd";break e;case"compositionupdate":pe="onCompositionUpdate";break e}pe=void 0}else Qt?mc(e,r)&&(pe="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(pe="onCompositionStart");pe&&(pc&&r.locale!=="ko"&&(Qt||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&Qt&&(oe=oc()):(tt=B,oa="value"in tt?tt.value:tt.textContent,Qt=!0)),ae=Fl(R,pe),0<ae.length&&(pe=new uc(pe,e,null,r,B),U.push({event:pe,listeners:ae}),oe?pe.data=oe:(oe=gc(r),oe!==null&&(pe.data=oe)))),(oe=R3?z3(e,r):A3(e,r))&&(R=Fl(R,"onBeforeInput"),0<R.length&&(B=new uc("onBeforeInput","beforeinput",null,r,B),U.push({event:B,listeners:R}),B.data=oe))}Mc(U,n)})}function Gr(e,n,r){return{instance:e,listener:n,currentTarget:r}}function Fl(e,n){for(var r=n+"Capture",l=[];e!==null;){var s=e,a=s.stateNode;s.tag===5&&a!==null&&(s=a,a=br(e,r),a!=null&&l.unshift(Gr(e,a,s)),a=br(e,n),a!=null&&l.push(Gr(e,a,s))),e=e.return}return l}function Zt(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Fc(e,n,r,l,s){for(var a=n._reactName,u=[];r!==null&&r!==l;){var f=r,y=f.alternate,R=f.stateNode;if(y!==null&&y===l)break;f.tag===5&&R!==null&&(f=R,s?(y=br(r,a),y!=null&&u.unshift(Gr(r,y,f))):s||(y=br(r,a),y!=null&&u.push(Gr(r,y,f)))),r=r.return}u.length!==0&&e.push({event:n,listeners:u})}var Y3=/\r\n?/g,q3=/\u0000|\uFFFD/g;function Bc(e){return(typeof e=="string"?e:""+e).replace(Y3,`
|
||
`).replace(q3,"")}function Bl(e,n,r){if(n=Bc(n),Bc(e)!==n&&r)throw Error(c(425))}function Ol(){}var Na=null,Sa=null;function Ca(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var ba=typeof setTimeout=="function"?setTimeout:void 0,Z3=typeof clearTimeout=="function"?clearTimeout:void 0,Oc=typeof Promise=="function"?Promise:void 0,X3=typeof queueMicrotask=="function"?queueMicrotask:typeof Oc<"u"?function(e){return Oc.resolve(null).then(e).catch(J3)}:ba;function J3(e){setTimeout(function(){throw e})}function La(e,n){var r=n,l=0;do{var s=r.nextSibling;if(e.removeChild(r),s&&s.nodeType===8)if(r=s.data,r==="/$"){if(l===0){e.removeChild(s),Mr(n);return}l--}else r!=="$"&&r!=="$?"&&r!=="$!"||l++;r=s}while(r);Mr(n)}function lt(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function Uc(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(n===0)return e;n--}else r==="/$"&&n++}e=e.previousSibling}return null}var Xt=Math.random().toString(36).slice(2),Tn="__reactFiber$"+Xt,Kr="__reactProps$"+Xt,On="__reactContainer$"+Xt,Pa="__reactEvents$"+Xt,e0="__reactListeners$"+Xt,n0="__reactHandles$"+Xt;function kt(e){var n=e[Tn];if(n)return n;for(var r=e.parentNode;r;){if(n=r[On]||r[Tn]){if(r=n.alternate,n.child!==null||r!==null&&r.child!==null)for(e=Uc(e);e!==null;){if(r=e[Tn])return r;e=Uc(e)}return n}e=r,r=e.parentNode}return null}function Qr(e){return e=e[Tn]||e[On],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Jt(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(c(33))}function Ul(e){return e[Kr]||null}var Ea=[],er=-1;function st(e){return{current:e}}function Ee(e){0>er||(e.current=Ea[er],Ea[er]=null,er--)}function Le(e,n){er++,Ea[er]=e.current,e.current=n}var at={},Ye=st(at),rn=st(!1),Nt=at;function nr(e,n){var r=e.type.contextTypes;if(!r)return at;var l=e.stateNode;if(l&&l.__reactInternalMemoizedUnmaskedChildContext===n)return l.__reactInternalMemoizedMaskedChildContext;var s={},a;for(a in r)s[a]=n[a];return l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=s),s}function ln(e){return e=e.childContextTypes,e!=null}function $l(){Ee(rn),Ee(Ye)}function $c(e,n,r){if(Ye.current!==at)throw Error(c(168));Le(Ye,n),Le(rn,r)}function Wc(e,n,r){var l=e.stateNode;if(n=n.childContextTypes,typeof l.getChildContext!="function")return r;l=l.getChildContext();for(var s in l)if(!(s in n))throw Error(c(108,ye(e)||"Unknown",s));return q({},r,l)}function Wl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||at,Nt=Ye.current,Le(Ye,e),Le(rn,rn.current),!0}function Hc(e,n,r){var l=e.stateNode;if(!l)throw Error(c(169));r?(e=Wc(e,n,Nt),l.__reactInternalMemoizedMergedChildContext=e,Ee(rn),Ee(Ye),Le(Ye,e)):Ee(rn),Le(rn,r)}var Un=null,Hl=!1,Da=!1;function Vc(e){Un===null?Un=[e]:Un.push(e)}function t0(e){Hl=!0,Vc(e)}function ot(){if(!Da&&Un!==null){Da=!0;var e=0,n=Se;try{var r=Un;for(Se=1;e<r.length;e++){var l=r[e];do l=l(!0);while(l!==null)}Un=null,Hl=!1}catch(s){throw Un!==null&&(Un=Un.slice(e+1)),Ki(Js,ot),s}finally{Se=n,Da=!1}}return null}var tr=[],rr=0,Vl=null,Gl=0,gn=[],vn=0,St=null,$n=1,Wn="";function Ct(e,n){tr[rr++]=Gl,tr[rr++]=Vl,Vl=e,Gl=n}function Gc(e,n,r){gn[vn++]=$n,gn[vn++]=Wn,gn[vn++]=St,St=e;var l=$n;e=Wn;var s=32-kn(l)-1;l&=~(1<<s),r+=1;var a=32-kn(n)+s;if(30<a){var u=s-s%5;a=(l&(1<<u)-1).toString(32),l>>=u,s-=u,$n=1<<32-kn(n)+s|r<<s|l,Wn=a+e}else $n=1<<a|r<<s|l,Wn=e}function Ta(e){e.return!==null&&(Ct(e,1),Gc(e,1,0))}function Ra(e){for(;e===Vl;)Vl=tr[--rr],tr[rr]=null,Gl=tr[--rr],tr[rr]=null;for(;e===St;)St=gn[--vn],gn[vn]=null,Wn=gn[--vn],gn[vn]=null,$n=gn[--vn],gn[vn]=null}var fn=null,hn=null,De=!1,Sn=null;function Kc(e,n){var r=jn(5,null,null,0);r.elementType="DELETED",r.stateNode=n,r.return=e,n=e.deletions,n===null?(e.deletions=[r],e.flags|=16):n.push(r)}function Qc(e,n){switch(e.tag){case 5:var r=e.type;return n=n.nodeType!==1||r.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,fn=e,hn=lt(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,fn=e,hn=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(r=St!==null?{id:$n,overflow:Wn}:null,e.memoizedState={dehydrated:n,treeContext:r,retryLane:1073741824},r=jn(18,null,null,0),r.stateNode=n,r.return=e,e.child=r,fn=e,hn=null,!0):!1;default:return!1}}function za(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Aa(e){if(De){var n=hn;if(n){var r=n;if(!Qc(e,n)){if(za(e))throw Error(c(418));n=lt(r.nextSibling);var l=fn;n&&Qc(e,n)?Kc(l,r):(e.flags=e.flags&-4097|2,De=!1,fn=e)}}else{if(za(e))throw Error(c(418));e.flags=e.flags&-4097|2,De=!1,fn=e}}}function Yc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;fn=e}function Kl(e){if(e!==fn)return!1;if(!De)return Yc(e),De=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!Ca(e.type,e.memoizedProps)),n&&(n=hn)){if(za(e))throw qc(),Error(c(418));for(;n;)Kc(e,n),n=lt(n.nextSibling)}if(Yc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(n===0){hn=lt(e.nextSibling);break e}n--}else r!=="$"&&r!=="$!"&&r!=="$?"||n++}e=e.nextSibling}hn=null}}else hn=fn?lt(e.stateNode.nextSibling):null;return!0}function qc(){for(var e=hn;e;)e=lt(e.nextSibling)}function lr(){hn=fn=null,De=!1}function Ma(e){Sn===null?Sn=[e]:Sn.push(e)}var r0=H.ReactCurrentBatchConfig;function Yr(e,n,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(c(309));var l=r.stateNode}if(!l)throw Error(c(147,e));var s=l,a=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===a?n.ref:(n=function(u){var f=s.refs;u===null?delete f[a]:f[a]=u},n._stringRef=a,n)}if(typeof e!="string")throw Error(c(284));if(!r._owner)throw Error(c(290,e))}return e}function Ql(e,n){throw e=Object.prototype.toString.call(n),Error(c(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Zc(e){var n=e._init;return n(e._payload)}function Xc(e){function n(C,_){if(e){var P=C.deletions;P===null?(C.deletions=[_],C.flags|=16):P.push(_)}}function r(C,_){if(!e)return null;for(;_!==null;)n(C,_),_=_.sibling;return null}function l(C,_){for(C=new Map;_!==null;)_.key!==null?C.set(_.key,_):C.set(_.index,_),_=_.sibling;return C}function s(C,_){return C=mt(C,_),C.index=0,C.sibling=null,C}function a(C,_,P){return C.index=P,e?(P=C.alternate,P!==null?(P=P.index,P<_?(C.flags|=2,_):P):(C.flags|=2,_)):(C.flags|=1048576,_)}function u(C){return e&&C.alternate===null&&(C.flags|=2),C}function f(C,_,P,K){return _===null||_.tag!==6?(_=Lo(P,C.mode,K),_.return=C,_):(_=s(_,P),_.return=C,_)}function y(C,_,P,K){var re=P.type;return re===Z?B(C,_,P.props.children,K,P.key):_!==null&&(_.elementType===re||typeof re=="object"&&re!==null&&re.$$typeof===he&&Zc(re)===_.type)?(K=s(_,P.props),K.ref=Yr(C,_,P),K.return=C,K):(K=ys(P.type,P.key,P.props,null,C.mode,K),K.ref=Yr(C,_,P),K.return=C,K)}function R(C,_,P,K){return _===null||_.tag!==4||_.stateNode.containerInfo!==P.containerInfo||_.stateNode.implementation!==P.implementation?(_=Po(P,C.mode,K),_.return=C,_):(_=s(_,P.children||[]),_.return=C,_)}function B(C,_,P,K,re){return _===null||_.tag!==7?(_=zt(P,C.mode,K,re),_.return=C,_):(_=s(_,P),_.return=C,_)}function U(C,_,P){if(typeof _=="string"&&_!==""||typeof _=="number")return _=Lo(""+_,C.mode,P),_.return=C,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case $:return P=ys(_.type,_.key,_.props,null,C.mode,P),P.ref=Yr(C,null,_),P.return=C,P;case V:return _=Po(_,C.mode,P),_.return=C,_;case he:var K=_._init;return U(C,K(_._payload),P)}if(xt(_)||le(_))return _=zt(_,C.mode,P,null),_.return=C,_;Ql(C,_)}return null}function F(C,_,P,K){var re=_!==null?_.key:null;if(typeof P=="string"&&P!==""||typeof P=="number")return re!==null?null:f(C,_,""+P,K);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case $:return P.key===re?y(C,_,P,K):null;case V:return P.key===re?R(C,_,P,K):null;case he:return re=P._init,F(C,_,re(P._payload),K)}if(xt(P)||le(P))return re!==null?null:B(C,_,P,K,null);Ql(C,P)}return null}function X(C,_,P,K,re){if(typeof K=="string"&&K!==""||typeof K=="number")return C=C.get(P)||null,f(_,C,""+K,re);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case $:return C=C.get(K.key===null?P:K.key)||null,y(_,C,K,re);case V:return C=C.get(K.key===null?P:K.key)||null,R(_,C,K,re);case he:var ae=K._init;return X(C,_,P,ae(K._payload),re)}if(xt(K)||le(K))return C=C.get(P)||null,B(_,C,K,re,null);Ql(_,K)}return null}function ne(C,_,P,K){for(var re=null,ae=null,oe=_,pe=_=0,Ve=null;oe!==null&&pe<P.length;pe++){oe.index>pe?(Ve=oe,oe=null):Ve=oe.sibling;var ke=F(C,oe,P[pe],K);if(ke===null){oe===null&&(oe=Ve);break}e&&oe&&ke.alternate===null&&n(C,oe),_=a(ke,_,pe),ae===null?re=ke:ae.sibling=ke,ae=ke,oe=Ve}if(pe===P.length)return r(C,oe),De&&Ct(C,pe),re;if(oe===null){for(;pe<P.length;pe++)oe=U(C,P[pe],K),oe!==null&&(_=a(oe,_,pe),ae===null?re=oe:ae.sibling=oe,ae=oe);return De&&Ct(C,pe),re}for(oe=l(C,oe);pe<P.length;pe++)Ve=X(oe,C,pe,P[pe],K),Ve!==null&&(e&&Ve.alternate!==null&&oe.delete(Ve.key===null?pe:Ve.key),_=a(Ve,_,pe),ae===null?re=Ve:ae.sibling=Ve,ae=Ve);return e&&oe.forEach(function(gt){return n(C,gt)}),De&&Ct(C,pe),re}function te(C,_,P,K){var re=le(P);if(typeof re!="function")throw Error(c(150));if(P=re.call(P),P==null)throw Error(c(151));for(var ae=re=null,oe=_,pe=_=0,Ve=null,ke=P.next();oe!==null&&!ke.done;pe++,ke=P.next()){oe.index>pe?(Ve=oe,oe=null):Ve=oe.sibling;var gt=F(C,oe,ke.value,K);if(gt===null){oe===null&&(oe=Ve);break}e&&oe&>.alternate===null&&n(C,oe),_=a(gt,_,pe),ae===null?re=gt:ae.sibling=gt,ae=gt,oe=Ve}if(ke.done)return r(C,oe),De&&Ct(C,pe),re;if(oe===null){for(;!ke.done;pe++,ke=P.next())ke=U(C,ke.value,K),ke!==null&&(_=a(ke,_,pe),ae===null?re=ke:ae.sibling=ke,ae=ke);return De&&Ct(C,pe),re}for(oe=l(C,oe);!ke.done;pe++,ke=P.next())ke=X(oe,C,pe,ke.value,K),ke!==null&&(e&&ke.alternate!==null&&oe.delete(ke.key===null?pe:ke.key),_=a(ke,_,pe),ae===null?re=ke:ae.sibling=ke,ae=ke);return e&&oe.forEach(function(M0){return n(C,M0)}),De&&Ct(C,pe),re}function Ie(C,_,P,K){if(typeof P=="object"&&P!==null&&P.type===Z&&P.key===null&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case $:e:{for(var re=P.key,ae=_;ae!==null;){if(ae.key===re){if(re=P.type,re===Z){if(ae.tag===7){r(C,ae.sibling),_=s(ae,P.props.children),_.return=C,C=_;break e}}else if(ae.elementType===re||typeof re=="object"&&re!==null&&re.$$typeof===he&&Zc(re)===ae.type){r(C,ae.sibling),_=s(ae,P.props),_.ref=Yr(C,ae,P),_.return=C,C=_;break e}r(C,ae);break}else n(C,ae);ae=ae.sibling}P.type===Z?(_=zt(P.props.children,C.mode,K,P.key),_.return=C,C=_):(K=ys(P.type,P.key,P.props,null,C.mode,K),K.ref=Yr(C,_,P),K.return=C,C=K)}return u(C);case V:e:{for(ae=P.key;_!==null;){if(_.key===ae)if(_.tag===4&&_.stateNode.containerInfo===P.containerInfo&&_.stateNode.implementation===P.implementation){r(C,_.sibling),_=s(_,P.children||[]),_.return=C,C=_;break e}else{r(C,_);break}else n(C,_);_=_.sibling}_=Po(P,C.mode,K),_.return=C,C=_}return u(C);case he:return ae=P._init,Ie(C,_,ae(P._payload),K)}if(xt(P))return ne(C,_,P,K);if(le(P))return te(C,_,P,K);Ql(C,P)}return typeof P=="string"&&P!==""||typeof P=="number"?(P=""+P,_!==null&&_.tag===6?(r(C,_.sibling),_=s(_,P),_.return=C,C=_):(r(C,_),_=Lo(P,C.mode,K),_.return=C,C=_),u(C)):r(C,_)}return Ie}var sr=Xc(!0),Jc=Xc(!1),Yl=st(null),ql=null,ar=null,Ia=null;function Fa(){Ia=ar=ql=null}function Ba(e){var n=Yl.current;Ee(Yl),e._currentValue=n}function Oa(e,n,r){for(;e!==null;){var l=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,l!==null&&(l.childLanes|=n)):l!==null&&(l.childLanes&n)!==n&&(l.childLanes|=n),e===r)break;e=e.return}}function or(e,n){ql=e,Ia=ar=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&n)!==0&&(sn=!0),e.firstContext=null)}function yn(e){var n=e._currentValue;if(Ia!==e)if(e={context:e,memoizedValue:n,next:null},ar===null){if(ql===null)throw Error(c(308));ar=e,ql.dependencies={lanes:0,firstContext:e}}else ar=ar.next=e;return n}var bt=null;function Ua(e){bt===null?bt=[e]:bt.push(e)}function e1(e,n,r,l){var s=n.interleaved;return s===null?(r.next=r,Ua(n)):(r.next=s.next,s.next=r),n.interleaved=r,Hn(e,l)}function Hn(e,n){e.lanes|=n;var r=e.alternate;for(r!==null&&(r.lanes|=n),r=e,e=e.return;e!==null;)e.childLanes|=n,r=e.alternate,r!==null&&(r.childLanes|=n),r=e,e=e.return;return r.tag===3?r.stateNode:null}var it=!1;function $a(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function n1(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Vn(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function ct(e,n,r){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(je&2)!==0){var s=l.pending;return s===null?n.next=n:(n.next=s.next,s.next=n),l.pending=n,Hn(e,r)}return s=l.interleaved,s===null?(n.next=n,Ua(l)):(n.next=s.next,s.next=n),l.interleaved=n,Hn(e,r)}function Zl(e,n,r){if(n=n.updateQueue,n!==null&&(n=n.shared,(r&4194240)!==0)){var l=n.lanes;l&=e.pendingLanes,r|=l,n.lanes=r,ta(e,r)}}function t1(e,n){var r=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,r===l)){var s=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var u={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?s=a=u:a=a.next=u,r=r.next}while(r!==null);a===null?s=a=n:a=a.next=n}else s=a=n;r={baseState:l.baseState,firstBaseUpdate:s,lastBaseUpdate:a,shared:l.shared,effects:l.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=n:e.next=n,r.lastBaseUpdate=n}function Xl(e,n,r,l){var s=e.updateQueue;it=!1;var a=s.firstBaseUpdate,u=s.lastBaseUpdate,f=s.shared.pending;if(f!==null){s.shared.pending=null;var y=f,R=y.next;y.next=null,u===null?a=R:u.next=R,u=y;var B=e.alternate;B!==null&&(B=B.updateQueue,f=B.lastBaseUpdate,f!==u&&(f===null?B.firstBaseUpdate=R:f.next=R,B.lastBaseUpdate=y))}if(a!==null){var U=s.baseState;u=0,B=R=y=null,f=a;do{var F=f.lane,X=f.eventTime;if((l&F)===F){B!==null&&(B=B.next={eventTime:X,lane:0,tag:f.tag,payload:f.payload,callback:f.callback,next:null});e:{var ne=e,te=f;switch(F=n,X=r,te.tag){case 1:if(ne=te.payload,typeof ne=="function"){U=ne.call(X,U,F);break e}U=ne;break e;case 3:ne.flags=ne.flags&-65537|128;case 0:if(ne=te.payload,F=typeof ne=="function"?ne.call(X,U,F):ne,F==null)break e;U=q({},U,F);break e;case 2:it=!0}}f.callback!==null&&f.lane!==0&&(e.flags|=64,F=s.effects,F===null?s.effects=[f]:F.push(f))}else X={eventTime:X,lane:F,tag:f.tag,payload:f.payload,callback:f.callback,next:null},B===null?(R=B=X,y=U):B=B.next=X,u|=F;if(f=f.next,f===null){if(f=s.shared.pending,f===null)break;F=f,f=F.next,F.next=null,s.lastBaseUpdate=F,s.shared.pending=null}}while(!0);if(B===null&&(y=U),s.baseState=y,s.firstBaseUpdate=R,s.lastBaseUpdate=B,n=s.shared.interleaved,n!==null){s=n;do u|=s.lane,s=s.next;while(s!==n)}else a===null&&(s.shared.lanes=0);Et|=u,e.lanes=u,e.memoizedState=U}}function r1(e,n,r){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var l=e[n],s=l.callback;if(s!==null){if(l.callback=null,l=r,typeof s!="function")throw Error(c(191,s));s.call(l)}}}var qr={},Rn=st(qr),Zr=st(qr),Xr=st(qr);function Lt(e){if(e===qr)throw Error(c(174));return e}function Wa(e,n){switch(Le(Xr,n),Le(Zr,e),Le(Rn,qr),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Ut(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Ut(n,e)}Ee(Rn),Le(Rn,n)}function ir(){Ee(Rn),Ee(Zr),Ee(Xr)}function l1(e){Lt(Xr.current);var n=Lt(Rn.current),r=Ut(n,e.type);n!==r&&(Le(Zr,e),Le(Rn,r))}function Ha(e){Zr.current===e&&(Ee(Rn),Ee(Zr))}var Re=st(0);function Jl(e){for(var n=e;n!==null;){if(n.tag===13){var r=n.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Va=[];function Ga(){for(var e=0;e<Va.length;e++)Va[e]._workInProgressVersionPrimary=null;Va.length=0}var es=H.ReactCurrentDispatcher,Ka=H.ReactCurrentBatchConfig,Pt=0,ze=null,Be=null,We=null,ns=!1,Jr=!1,el=0,l0=0;function qe(){throw Error(c(321))}function Qa(e,n){if(n===null)return!1;for(var r=0;r<n.length&&r<e.length;r++)if(!Nn(e[r],n[r]))return!1;return!0}function Ya(e,n,r,l,s,a){if(Pt=a,ze=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,es.current=e===null||e.memoizedState===null?i0:c0,e=r(l,s),Jr){a=0;do{if(Jr=!1,el=0,25<=a)throw Error(c(301));a+=1,We=Be=null,n.updateQueue=null,es.current=u0,e=r(l,s)}while(Jr)}if(es.current=ls,n=Be!==null&&Be.next!==null,Pt=0,We=Be=ze=null,ns=!1,n)throw Error(c(300));return e}function qa(){var e=el!==0;return el=0,e}function zn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return We===null?ze.memoizedState=We=e:We=We.next=e,We}function _n(){if(Be===null){var e=ze.alternate;e=e!==null?e.memoizedState:null}else e=Be.next;var n=We===null?ze.memoizedState:We.next;if(n!==null)We=n,Be=e;else{if(e===null)throw Error(c(310));Be=e,e={memoizedState:Be.memoizedState,baseState:Be.baseState,baseQueue:Be.baseQueue,queue:Be.queue,next:null},We===null?ze.memoizedState=We=e:We=We.next=e}return We}function nl(e,n){return typeof n=="function"?n(e):n}function Za(e){var n=_n(),r=n.queue;if(r===null)throw Error(c(311));r.lastRenderedReducer=e;var l=Be,s=l.baseQueue,a=r.pending;if(a!==null){if(s!==null){var u=s.next;s.next=a.next,a.next=u}l.baseQueue=s=a,r.pending=null}if(s!==null){a=s.next,l=l.baseState;var f=u=null,y=null,R=a;do{var B=R.lane;if((Pt&B)===B)y!==null&&(y=y.next={lane:0,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null}),l=R.hasEagerState?R.eagerState:e(l,R.action);else{var U={lane:B,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null};y===null?(f=y=U,u=l):y=y.next=U,ze.lanes|=B,Et|=B}R=R.next}while(R!==null&&R!==a);y===null?u=l:y.next=f,Nn(l,n.memoizedState)||(sn=!0),n.memoizedState=l,n.baseState=u,n.baseQueue=y,r.lastRenderedState=l}if(e=r.interleaved,e!==null){s=e;do a=s.lane,ze.lanes|=a,Et|=a,s=s.next;while(s!==e)}else s===null&&(r.lanes=0);return[n.memoizedState,r.dispatch]}function Xa(e){var n=_n(),r=n.queue;if(r===null)throw Error(c(311));r.lastRenderedReducer=e;var l=r.dispatch,s=r.pending,a=n.memoizedState;if(s!==null){r.pending=null;var u=s=s.next;do a=e(a,u.action),u=u.next;while(u!==s);Nn(a,n.memoizedState)||(sn=!0),n.memoizedState=a,n.baseQueue===null&&(n.baseState=a),r.lastRenderedState=a}return[a,l]}function s1(){}function a1(e,n){var r=ze,l=_n(),s=n(),a=!Nn(l.memoizedState,s);if(a&&(l.memoizedState=s,sn=!0),l=l.queue,Ja(c1.bind(null,r,l,e),[e]),l.getSnapshot!==n||a||We!==null&&We.memoizedState.tag&1){if(r.flags|=2048,tl(9,i1.bind(null,r,l,s,n),void 0,null),He===null)throw Error(c(349));(Pt&30)!==0||o1(r,n,s)}return s}function o1(e,n,r){e.flags|=16384,e={getSnapshot:n,value:r},n=ze.updateQueue,n===null?(n={lastEffect:null,stores:null},ze.updateQueue=n,n.stores=[e]):(r=n.stores,r===null?n.stores=[e]:r.push(e))}function i1(e,n,r,l){n.value=r,n.getSnapshot=l,u1(n)&&d1(e)}function c1(e,n,r){return r(function(){u1(n)&&d1(e)})}function u1(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!Nn(e,r)}catch{return!0}}function d1(e){var n=Hn(e,1);n!==null&&Pn(n,e,1,-1)}function p1(e){var n=zn();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:nl,lastRenderedState:e},n.queue=e,e=e.dispatch=o0.bind(null,ze,e),[n.memoizedState,e]}function tl(e,n,r,l){return e={tag:e,create:n,destroy:r,deps:l,next:null},n=ze.updateQueue,n===null?(n={lastEffect:null,stores:null},ze.updateQueue=n,n.lastEffect=e.next=e):(r=n.lastEffect,r===null?n.lastEffect=e.next=e:(l=r.next,r.next=e,e.next=l,n.lastEffect=e)),e}function f1(){return _n().memoizedState}function ts(e,n,r,l){var s=zn();ze.flags|=e,s.memoizedState=tl(1|n,r,void 0,l===void 0?null:l)}function rs(e,n,r,l){var s=_n();l=l===void 0?null:l;var a=void 0;if(Be!==null){var u=Be.memoizedState;if(a=u.destroy,l!==null&&Qa(l,u.deps)){s.memoizedState=tl(n,r,a,l);return}}ze.flags|=e,s.memoizedState=tl(1|n,r,a,l)}function h1(e,n){return ts(8390656,8,e,n)}function Ja(e,n){return rs(2048,8,e,n)}function m1(e,n){return rs(4,2,e,n)}function g1(e,n){return rs(4,4,e,n)}function v1(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function y1(e,n,r){return r=r!=null?r.concat([e]):null,rs(4,4,v1.bind(null,n,e),r)}function eo(){}function _1(e,n){var r=_n();n=n===void 0?null:n;var l=r.memoizedState;return l!==null&&n!==null&&Qa(n,l[1])?l[0]:(r.memoizedState=[e,n],e)}function x1(e,n){var r=_n();n=n===void 0?null:n;var l=r.memoizedState;return l!==null&&n!==null&&Qa(n,l[1])?l[0]:(e=e(),r.memoizedState=[e,n],e)}function j1(e,n,r){return(Pt&21)===0?(e.baseState&&(e.baseState=!1,sn=!0),e.memoizedState=r):(Nn(r,n)||(r=Zi(),ze.lanes|=r,Et|=r,e.baseState=!0),n)}function s0(e,n){var r=Se;Se=r!==0&&4>r?r:4,e(!0);var l=Ka.transition;Ka.transition={};try{e(!1),n()}finally{Se=r,Ka.transition=l}}function w1(){return _n().memoizedState}function a0(e,n,r){var l=ft(e);if(r={lane:l,action:r,hasEagerState:!1,eagerState:null,next:null},k1(e))N1(n,r);else if(r=e1(e,n,r,l),r!==null){var s=nn();Pn(r,e,l,s),S1(r,n,l)}}function o0(e,n,r){var l=ft(e),s={lane:l,action:r,hasEagerState:!1,eagerState:null,next:null};if(k1(e))N1(n,s);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=n.lastRenderedReducer,a!==null))try{var u=n.lastRenderedState,f=a(u,r);if(s.hasEagerState=!0,s.eagerState=f,Nn(f,u)){var y=n.interleaved;y===null?(s.next=s,Ua(n)):(s.next=y.next,y.next=s),n.interleaved=s;return}}catch{}finally{}r=e1(e,n,s,l),r!==null&&(s=nn(),Pn(r,e,l,s),S1(r,n,l))}}function k1(e){var n=e.alternate;return e===ze||n!==null&&n===ze}function N1(e,n){Jr=ns=!0;var r=e.pending;r===null?n.next=n:(n.next=r.next,r.next=n),e.pending=n}function S1(e,n,r){if((r&4194240)!==0){var l=n.lanes;l&=e.pendingLanes,r|=l,n.lanes=r,ta(e,r)}}var ls={readContext:yn,useCallback:qe,useContext:qe,useEffect:qe,useImperativeHandle:qe,useInsertionEffect:qe,useLayoutEffect:qe,useMemo:qe,useReducer:qe,useRef:qe,useState:qe,useDebugValue:qe,useDeferredValue:qe,useTransition:qe,useMutableSource:qe,useSyncExternalStore:qe,useId:qe,unstable_isNewReconciler:!1},i0={readContext:yn,useCallback:function(e,n){return zn().memoizedState=[e,n===void 0?null:n],e},useContext:yn,useEffect:h1,useImperativeHandle:function(e,n,r){return r=r!=null?r.concat([e]):null,ts(4194308,4,v1.bind(null,n,e),r)},useLayoutEffect:function(e,n){return ts(4194308,4,e,n)},useInsertionEffect:function(e,n){return ts(4,2,e,n)},useMemo:function(e,n){var r=zn();return n=n===void 0?null:n,e=e(),r.memoizedState=[e,n],e},useReducer:function(e,n,r){var l=zn();return n=r!==void 0?r(n):n,l.memoizedState=l.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},l.queue=e,e=e.dispatch=a0.bind(null,ze,e),[l.memoizedState,e]},useRef:function(e){var n=zn();return e={current:e},n.memoizedState=e},useState:p1,useDebugValue:eo,useDeferredValue:function(e){return zn().memoizedState=e},useTransition:function(){var e=p1(!1),n=e[0];return e=s0.bind(null,e[1]),zn().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,r){var l=ze,s=zn();if(De){if(r===void 0)throw Error(c(407));r=r()}else{if(r=n(),He===null)throw Error(c(349));(Pt&30)!==0||o1(l,n,r)}s.memoizedState=r;var a={value:r,getSnapshot:n};return s.queue=a,h1(c1.bind(null,l,a,e),[e]),l.flags|=2048,tl(9,i1.bind(null,l,a,r,n),void 0,null),r},useId:function(){var e=zn(),n=He.identifierPrefix;if(De){var r=Wn,l=$n;r=(l&~(1<<32-kn(l)-1)).toString(32)+r,n=":"+n+"R"+r,r=el++,0<r&&(n+="H"+r.toString(32)),n+=":"}else r=l0++,n=":"+n+"r"+r.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},c0={readContext:yn,useCallback:_1,useContext:yn,useEffect:Ja,useImperativeHandle:y1,useInsertionEffect:m1,useLayoutEffect:g1,useMemo:x1,useReducer:Za,useRef:f1,useState:function(){return Za(nl)},useDebugValue:eo,useDeferredValue:function(e){var n=_n();return j1(n,Be.memoizedState,e)},useTransition:function(){var e=Za(nl)[0],n=_n().memoizedState;return[e,n]},useMutableSource:s1,useSyncExternalStore:a1,useId:w1,unstable_isNewReconciler:!1},u0={readContext:yn,useCallback:_1,useContext:yn,useEffect:Ja,useImperativeHandle:y1,useInsertionEffect:m1,useLayoutEffect:g1,useMemo:x1,useReducer:Xa,useRef:f1,useState:function(){return Xa(nl)},useDebugValue:eo,useDeferredValue:function(e){var n=_n();return Be===null?n.memoizedState=e:j1(n,Be.memoizedState,e)},useTransition:function(){var e=Xa(nl)[0],n=_n().memoizedState;return[e,n]},useMutableSource:s1,useSyncExternalStore:a1,useId:w1,unstable_isNewReconciler:!1};function Cn(e,n){if(e&&e.defaultProps){n=q({},n),e=e.defaultProps;for(var r in e)n[r]===void 0&&(n[r]=e[r]);return n}return n}function no(e,n,r,l){n=e.memoizedState,r=r(l,n),r=r==null?n:q({},n,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var ss={isMounted:function(e){return(e=e._reactInternals)?wt(e)===e:!1},enqueueSetState:function(e,n,r){e=e._reactInternals;var l=nn(),s=ft(e),a=Vn(l,s);a.payload=n,r!=null&&(a.callback=r),n=ct(e,a,s),n!==null&&(Pn(n,e,s,l),Zl(n,e,s))},enqueueReplaceState:function(e,n,r){e=e._reactInternals;var l=nn(),s=ft(e),a=Vn(l,s);a.tag=1,a.payload=n,r!=null&&(a.callback=r),n=ct(e,a,s),n!==null&&(Pn(n,e,s,l),Zl(n,e,s))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var r=nn(),l=ft(e),s=Vn(r,l);s.tag=2,n!=null&&(s.callback=n),n=ct(e,s,l),n!==null&&(Pn(n,e,l,r),Zl(n,e,l))}};function C1(e,n,r,l,s,a,u){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,a,u):n.prototype&&n.prototype.isPureReactComponent?!$r(r,l)||!$r(s,a):!0}function b1(e,n,r){var l=!1,s=at,a=n.contextType;return typeof a=="object"&&a!==null?a=yn(a):(s=ln(n)?Nt:Ye.current,l=n.contextTypes,a=(l=l!=null)?nr(e,s):at),n=new n(r,a),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=ss,e.stateNode=n,n._reactInternals=e,l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=a),n}function L1(e,n,r,l){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(r,l),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(r,l),n.state!==e&&ss.enqueueReplaceState(n,n.state,null)}function to(e,n,r,l){var s=e.stateNode;s.props=r,s.state=e.memoizedState,s.refs={},$a(e);var a=n.contextType;typeof a=="object"&&a!==null?s.context=yn(a):(a=ln(n)?Nt:Ye.current,s.context=nr(e,a)),s.state=e.memoizedState,a=n.getDerivedStateFromProps,typeof a=="function"&&(no(e,n,a,r),s.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(n=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),n!==s.state&&ss.enqueueReplaceState(s,s.state,null),Xl(e,r,s,l),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function cr(e,n){try{var r="",l=n;do r+=O(l),l=l.return;while(l);var s=r}catch(a){s=`
|
||
Error generating stack: `+a.message+`
|
||
`+a.stack}return{value:e,source:n,stack:s,digest:null}}function ro(e,n,r){return{value:e,source:null,stack:r??null,digest:n??null}}function lo(e,n){try{console.error(n.value)}catch(r){setTimeout(function(){throw r})}}var d0=typeof WeakMap=="function"?WeakMap:Map;function P1(e,n,r){r=Vn(-1,r),r.tag=3,r.payload={element:null};var l=n.value;return r.callback=function(){ps||(ps=!0,xo=l),lo(e,n)},r}function E1(e,n,r){r=Vn(-1,r),r.tag=3;var l=e.type.getDerivedStateFromError;if(typeof l=="function"){var s=n.value;r.payload=function(){return l(s)},r.callback=function(){lo(e,n)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){lo(e,n),typeof l!="function"&&(dt===null?dt=new Set([this]):dt.add(this));var u=n.stack;this.componentDidCatch(n.value,{componentStack:u!==null?u:""})}),r}function D1(e,n,r){var l=e.pingCache;if(l===null){l=e.pingCache=new d0;var s=new Set;l.set(n,s)}else s=l.get(n),s===void 0&&(s=new Set,l.set(n,s));s.has(r)||(s.add(r),e=S0.bind(null,e,n,r),n.then(e,e))}function T1(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function R1(e,n,r,l,s){return(e.mode&1)===0?(e===n?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(n=Vn(-1,1),n.tag=2,ct(r,n,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=s,e)}var p0=H.ReactCurrentOwner,sn=!1;function en(e,n,r,l){n.child=e===null?Jc(n,null,r,l):sr(n,e.child,r,l)}function z1(e,n,r,l,s){r=r.render;var a=n.ref;return or(n,s),l=Ya(e,n,r,l,a,s),r=qa(),e!==null&&!sn?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~s,Gn(e,n,s)):(De&&r&&Ta(n),n.flags|=1,en(e,n,l,s),n.child)}function A1(e,n,r,l,s){if(e===null){var a=r.type;return typeof a=="function"&&!bo(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(n.tag=15,n.type=a,M1(e,n,a,l,s)):(e=ys(r.type,null,l,n,n.mode,s),e.ref=n.ref,e.return=n,n.child=e)}if(a=e.child,(e.lanes&s)===0){var u=a.memoizedProps;if(r=r.compare,r=r!==null?r:$r,r(u,l)&&e.ref===n.ref)return Gn(e,n,s)}return n.flags|=1,e=mt(a,l),e.ref=n.ref,e.return=n,n.child=e}function M1(e,n,r,l,s){if(e!==null){var a=e.memoizedProps;if($r(a,l)&&e.ref===n.ref)if(sn=!1,n.pendingProps=l=a,(e.lanes&s)!==0)(e.flags&131072)!==0&&(sn=!0);else return n.lanes=e.lanes,Gn(e,n,s)}return so(e,n,r,l,s)}function I1(e,n,r){var l=n.pendingProps,s=l.children,a=e!==null?e.memoizedState:null;if(l.mode==="hidden")if((n.mode&1)===0)n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Le(dr,mn),mn|=r;else{if((r&1073741824)===0)return e=a!==null?a.baseLanes|r:r,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,Le(dr,mn),mn|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},l=a!==null?a.baseLanes:r,Le(dr,mn),mn|=l}else a!==null?(l=a.baseLanes|r,n.memoizedState=null):l=r,Le(dr,mn),mn|=l;return en(e,n,s,r),n.child}function F1(e,n){var r=n.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(n.flags|=512,n.flags|=2097152)}function so(e,n,r,l,s){var a=ln(r)?Nt:Ye.current;return a=nr(n,a),or(n,s),r=Ya(e,n,r,l,a,s),l=qa(),e!==null&&!sn?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~s,Gn(e,n,s)):(De&&l&&Ta(n),n.flags|=1,en(e,n,r,s),n.child)}function B1(e,n,r,l,s){if(ln(r)){var a=!0;Wl(n)}else a=!1;if(or(n,s),n.stateNode===null)os(e,n),b1(n,r,l),to(n,r,l,s),l=!0;else if(e===null){var u=n.stateNode,f=n.memoizedProps;u.props=f;var y=u.context,R=r.contextType;typeof R=="object"&&R!==null?R=yn(R):(R=ln(r)?Nt:Ye.current,R=nr(n,R));var B=r.getDerivedStateFromProps,U=typeof B=="function"||typeof u.getSnapshotBeforeUpdate=="function";U||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f!==l||y!==R)&&L1(n,u,l,R),it=!1;var F=n.memoizedState;u.state=F,Xl(n,l,u,s),y=n.memoizedState,f!==l||F!==y||rn.current||it?(typeof B=="function"&&(no(n,r,B,l),y=n.memoizedState),(f=it||C1(n,r,f,l,F,y,R))?(U||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(n.flags|=4194308)):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=l,n.memoizedState=y),u.props=l,u.state=y,u.context=R,l=f):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),l=!1)}else{u=n.stateNode,n1(e,n),f=n.memoizedProps,R=n.type===n.elementType?f:Cn(n.type,f),u.props=R,U=n.pendingProps,F=u.context,y=r.contextType,typeof y=="object"&&y!==null?y=yn(y):(y=ln(r)?Nt:Ye.current,y=nr(n,y));var X=r.getDerivedStateFromProps;(B=typeof X=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f!==U||F!==y)&&L1(n,u,l,y),it=!1,F=n.memoizedState,u.state=F,Xl(n,l,u,s);var ne=n.memoizedState;f!==U||F!==ne||rn.current||it?(typeof X=="function"&&(no(n,r,X,l),ne=n.memoizedState),(R=it||C1(n,r,R,l,F,ne,y)||!1)?(B||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(l,ne,y),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(l,ne,y)),typeof u.componentDidUpdate=="function"&&(n.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof u.componentDidUpdate!="function"||f===e.memoizedProps&&F===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&F===e.memoizedState||(n.flags|=1024),n.memoizedProps=l,n.memoizedState=ne),u.props=l,u.state=ne,u.context=y,l=R):(typeof u.componentDidUpdate!="function"||f===e.memoizedProps&&F===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&F===e.memoizedState||(n.flags|=1024),l=!1)}return ao(e,n,r,l,a,s)}function ao(e,n,r,l,s,a){F1(e,n);var u=(n.flags&128)!==0;if(!l&&!u)return s&&Hc(n,r,!1),Gn(e,n,a);l=n.stateNode,p0.current=n;var f=u&&typeof r.getDerivedStateFromError!="function"?null:l.render();return n.flags|=1,e!==null&&u?(n.child=sr(n,e.child,null,a),n.child=sr(n,null,f,a)):en(e,n,f,a),n.memoizedState=l.state,s&&Hc(n,r,!0),n.child}function O1(e){var n=e.stateNode;n.pendingContext?$c(e,n.pendingContext,n.pendingContext!==n.context):n.context&&$c(e,n.context,!1),Wa(e,n.containerInfo)}function U1(e,n,r,l,s){return lr(),Ma(s),n.flags|=256,en(e,n,r,l),n.child}var oo={dehydrated:null,treeContext:null,retryLane:0};function io(e){return{baseLanes:e,cachePool:null,transitions:null}}function $1(e,n,r){var l=n.pendingProps,s=Re.current,a=!1,u=(n.flags&128)!==0,f;if((f=u)||(f=e!==null&&e.memoizedState===null?!1:(s&2)!==0),f?(a=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),Le(Re,s&1),e===null)return Aa(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((n.mode&1)===0?n.lanes=1:e.data==="$!"?n.lanes=8:n.lanes=1073741824,null):(u=l.children,e=l.fallback,a?(l=n.mode,a=n.child,u={mode:"hidden",children:u},(l&1)===0&&a!==null?(a.childLanes=0,a.pendingProps=u):a=_s(u,l,0,null),e=zt(e,l,r,null),a.return=n,e.return=n,a.sibling=e,n.child=a,n.child.memoizedState=io(r),n.memoizedState=oo,e):co(n,u));if(s=e.memoizedState,s!==null&&(f=s.dehydrated,f!==null))return f0(e,n,u,l,f,s,r);if(a){a=l.fallback,u=n.mode,s=e.child,f=s.sibling;var y={mode:"hidden",children:l.children};return(u&1)===0&&n.child!==s?(l=n.child,l.childLanes=0,l.pendingProps=y,n.deletions=null):(l=mt(s,y),l.subtreeFlags=s.subtreeFlags&14680064),f!==null?a=mt(f,a):(a=zt(a,u,r,null),a.flags|=2),a.return=n,l.return=n,l.sibling=a,n.child=l,l=a,a=n.child,u=e.child.memoizedState,u=u===null?io(r):{baseLanes:u.baseLanes|r,cachePool:null,transitions:u.transitions},a.memoizedState=u,a.childLanes=e.childLanes&~r,n.memoizedState=oo,l}return a=e.child,e=a.sibling,l=mt(a,{mode:"visible",children:l.children}),(n.mode&1)===0&&(l.lanes=r),l.return=n,l.sibling=null,e!==null&&(r=n.deletions,r===null?(n.deletions=[e],n.flags|=16):r.push(e)),n.child=l,n.memoizedState=null,l}function co(e,n){return n=_s({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function as(e,n,r,l){return l!==null&&Ma(l),sr(n,e.child,null,r),e=co(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function f0(e,n,r,l,s,a,u){if(r)return n.flags&256?(n.flags&=-257,l=ro(Error(c(422))),as(e,n,u,l)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(a=l.fallback,s=n.mode,l=_s({mode:"visible",children:l.children},s,0,null),a=zt(a,s,u,null),a.flags|=2,l.return=n,a.return=n,l.sibling=a,n.child=l,(n.mode&1)!==0&&sr(n,e.child,null,u),n.child.memoizedState=io(u),n.memoizedState=oo,a);if((n.mode&1)===0)return as(e,n,u,null);if(s.data==="$!"){if(l=s.nextSibling&&s.nextSibling.dataset,l)var f=l.dgst;return l=f,a=Error(c(419)),l=ro(a,l,void 0),as(e,n,u,l)}if(f=(u&e.childLanes)!==0,sn||f){if(l=He,l!==null){switch(u&-u){case 4:s=2;break;case 16:s=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:s=32;break;case 536870912:s=268435456;break;default:s=0}s=(s&(l.suspendedLanes|u))!==0?0:s,s!==0&&s!==a.retryLane&&(a.retryLane=s,Hn(e,s),Pn(l,e,s,-1))}return Co(),l=ro(Error(c(421))),as(e,n,u,l)}return s.data==="$?"?(n.flags|=128,n.child=e.child,n=C0.bind(null,e),s._reactRetry=n,null):(e=a.treeContext,hn=lt(s.nextSibling),fn=n,De=!0,Sn=null,e!==null&&(gn[vn++]=$n,gn[vn++]=Wn,gn[vn++]=St,$n=e.id,Wn=e.overflow,St=n),n=co(n,l.children),n.flags|=4096,n)}function W1(e,n,r){e.lanes|=n;var l=e.alternate;l!==null&&(l.lanes|=n),Oa(e.return,n,r)}function uo(e,n,r,l,s){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:l,tail:r,tailMode:s}:(a.isBackwards=n,a.rendering=null,a.renderingStartTime=0,a.last=l,a.tail=r,a.tailMode=s)}function H1(e,n,r){var l=n.pendingProps,s=l.revealOrder,a=l.tail;if(en(e,n,l.children,r),l=Re.current,(l&2)!==0)l=l&1|2,n.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&W1(e,r,n);else if(e.tag===19)W1(e,r,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}l&=1}if(Le(Re,l),(n.mode&1)===0)n.memoizedState=null;else switch(s){case"forwards":for(r=n.child,s=null;r!==null;)e=r.alternate,e!==null&&Jl(e)===null&&(s=r),r=r.sibling;r=s,r===null?(s=n.child,n.child=null):(s=r.sibling,r.sibling=null),uo(n,!1,s,r,a);break;case"backwards":for(r=null,s=n.child,n.child=null;s!==null;){if(e=s.alternate,e!==null&&Jl(e)===null){n.child=s;break}e=s.sibling,s.sibling=r,r=s,s=e}uo(n,!0,r,null,a);break;case"together":uo(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function os(e,n){(n.mode&1)===0&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Gn(e,n,r){if(e!==null&&(n.dependencies=e.dependencies),Et|=n.lanes,(r&n.childLanes)===0)return null;if(e!==null&&n.child!==e.child)throw Error(c(153));if(n.child!==null){for(e=n.child,r=mt(e,e.pendingProps),n.child=r,r.return=n;e.sibling!==null;)e=e.sibling,r=r.sibling=mt(e,e.pendingProps),r.return=n;r.sibling=null}return n.child}function h0(e,n,r){switch(n.tag){case 3:O1(n),lr();break;case 5:l1(n);break;case 1:ln(n.type)&&Wl(n);break;case 4:Wa(n,n.stateNode.containerInfo);break;case 10:var l=n.type._context,s=n.memoizedProps.value;Le(Yl,l._currentValue),l._currentValue=s;break;case 13:if(l=n.memoizedState,l!==null)return l.dehydrated!==null?(Le(Re,Re.current&1),n.flags|=128,null):(r&n.child.childLanes)!==0?$1(e,n,r):(Le(Re,Re.current&1),e=Gn(e,n,r),e!==null?e.sibling:null);Le(Re,Re.current&1);break;case 19:if(l=(r&n.childLanes)!==0,(e.flags&128)!==0){if(l)return H1(e,n,r);n.flags|=128}if(s=n.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Le(Re,Re.current),l)break;return null;case 22:case 23:return n.lanes=0,I1(e,n,r)}return Gn(e,n,r)}var V1,po,G1,K1;V1=function(e,n){for(var r=n.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},po=function(){},G1=function(e,n,r,l){var s=e.memoizedProps;if(s!==l){e=n.stateNode,Lt(Rn.current);var a=null;switch(r){case"input":s=_r(e,s),l=_r(e,l),a=[];break;case"select":s=q({},s,{value:void 0}),l=q({},l,{value:void 0}),a=[];break;case"textarea":s=Ot(e,s),l=Ot(e,l),a=[];break;default:typeof s.onClick!="function"&&typeof l.onClick=="function"&&(e.onclick=Ol)}$t(r,l);var u;r=null;for(R in s)if(!l.hasOwnProperty(R)&&s.hasOwnProperty(R)&&s[R]!=null)if(R==="style"){var f=s[R];for(u in f)f.hasOwnProperty(u)&&(r||(r={}),r[u]="")}else R!=="dangerouslySetInnerHTML"&&R!=="children"&&R!=="suppressContentEditableWarning"&&R!=="suppressHydrationWarning"&&R!=="autoFocus"&&(d.hasOwnProperty(R)?a||(a=[]):(a=a||[]).push(R,null));for(R in l){var y=l[R];if(f=s!=null?s[R]:void 0,l.hasOwnProperty(R)&&y!==f&&(y!=null||f!=null))if(R==="style")if(f){for(u in f)!f.hasOwnProperty(u)||y&&y.hasOwnProperty(u)||(r||(r={}),r[u]="");for(u in y)y.hasOwnProperty(u)&&f[u]!==y[u]&&(r||(r={}),r[u]=y[u])}else r||(a||(a=[]),a.push(R,r)),r=y;else R==="dangerouslySetInnerHTML"?(y=y?y.__html:void 0,f=f?f.__html:void 0,y!=null&&f!==y&&(a=a||[]).push(R,y)):R==="children"?typeof y!="string"&&typeof y!="number"||(a=a||[]).push(R,""+y):R!=="suppressContentEditableWarning"&&R!=="suppressHydrationWarning"&&(d.hasOwnProperty(R)?(y!=null&&R==="onScroll"&&Pe("scroll",e),a||f===y||(a=[])):(a=a||[]).push(R,y))}r&&(a=a||[]).push("style",r);var R=a;(n.updateQueue=R)&&(n.flags|=4)}},K1=function(e,n,r,l){r!==l&&(n.flags|=4)};function rl(e,n){if(!De)switch(e.tailMode){case"hidden":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function Ze(e){var n=e.alternate!==null&&e.alternate.child===e.child,r=0,l=0;if(n)for(var s=e.child;s!==null;)r|=s.lanes|s.childLanes,l|=s.subtreeFlags&14680064,l|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)r|=s.lanes|s.childLanes,l|=s.subtreeFlags,l|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=l,e.childLanes=r,n}function m0(e,n,r){var l=n.pendingProps;switch(Ra(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ze(n),null;case 1:return ln(n.type)&&$l(),Ze(n),null;case 3:return l=n.stateNode,ir(),Ee(rn),Ee(Ye),Ga(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Kl(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Sn!==null&&(ko(Sn),Sn=null))),po(e,n),Ze(n),null;case 5:Ha(n);var s=Lt(Xr.current);if(r=n.type,e!==null&&n.stateNode!=null)G1(e,n,r,l,s),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!l){if(n.stateNode===null)throw Error(c(166));return Ze(n),null}if(e=Lt(Rn.current),Kl(n)){l=n.stateNode,r=n.type;var a=n.memoizedProps;switch(l[Tn]=n,l[Kr]=a,e=(n.mode&1)!==0,r){case"dialog":Pe("cancel",l),Pe("close",l);break;case"iframe":case"object":case"embed":Pe("load",l);break;case"video":case"audio":for(s=0;s<Hr.length;s++)Pe(Hr[s],l);break;case"source":Pe("error",l);break;case"img":case"image":case"link":Pe("error",l),Pe("load",l);break;case"details":Pe("toggle",l);break;case"input":gl(l,a),Pe("invalid",l);break;case"select":l._wrapperState={wasMultiple:!!a.multiple},Pe("invalid",l);break;case"textarea":Ks(l,a),Pe("invalid",l)}$t(r,a),s=null;for(var u in a)if(a.hasOwnProperty(u)){var f=a[u];u==="children"?typeof f=="string"?l.textContent!==f&&(a.suppressHydrationWarning!==!0&&Bl(l.textContent,f,e),s=["children",f]):typeof f=="number"&&l.textContent!==""+f&&(a.suppressHydrationWarning!==!0&&Bl(l.textContent,f,e),s=["children",""+f]):d.hasOwnProperty(u)&&f!=null&&u==="onScroll"&&Pe("scroll",l)}switch(r){case"input":En(l),jr(l,a,!0);break;case"textarea":En(l),Yn(l);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(l.onclick=Ol)}l=s,n.updateQueue=l,l!==null&&(n.flags|=4)}else{u=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=kr(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=u.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof l.is=="string"?e=u.createElement(r,{is:l.is}):(e=u.createElement(r),r==="select"&&(u=e,l.multiple?u.multiple=!0:l.size&&(u.size=l.size))):e=u.createElementNS(e,r),e[Tn]=n,e[Kr]=l,V1(e,n,!1,!1),n.stateNode=e;e:{switch(u=Wt(r,l),r){case"dialog":Pe("cancel",e),Pe("close",e),s=l;break;case"iframe":case"object":case"embed":Pe("load",e),s=l;break;case"video":case"audio":for(s=0;s<Hr.length;s++)Pe(Hr[s],e);s=l;break;case"source":Pe("error",e),s=l;break;case"img":case"image":case"link":Pe("error",e),Pe("load",e),s=l;break;case"details":Pe("toggle",e),s=l;break;case"input":gl(e,l),s=_r(e,l),Pe("invalid",e);break;case"option":s=l;break;case"select":e._wrapperState={wasMultiple:!!l.multiple},s=q({},l,{value:void 0}),Pe("invalid",e);break;case"textarea":Ks(e,l),s=Ot(e,l),Pe("invalid",e);break;default:s=l}$t(r,s),f=s;for(a in f)if(f.hasOwnProperty(a)){var y=f[a];a==="style"?Cr(e,y):a==="dangerouslySetInnerHTML"?(y=y?y.__html:void 0,y!=null&&Nr(e,y)):a==="children"?typeof y=="string"?(r!=="textarea"||y!=="")&&qn(e,y):typeof y=="number"&&qn(e,""+y):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(d.hasOwnProperty(a)?y!=null&&a==="onScroll"&&Pe("scroll",e):y!=null&&A(e,a,y,u))}switch(r){case"input":En(e),jr(e,l,!1);break;case"textarea":En(e),Yn(e);break;case"option":l.value!=null&&e.setAttribute("value",""+we(l.value));break;case"select":e.multiple=!!l.multiple,a=l.value,a!=null?Qn(e,!!l.multiple,a,!1):l.defaultValue!=null&&Qn(e,!!l.multiple,l.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=Ol)}switch(r){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}}l&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return Ze(n),null;case 6:if(e&&n.stateNode!=null)K1(e,n,e.memoizedProps,l);else{if(typeof l!="string"&&n.stateNode===null)throw Error(c(166));if(r=Lt(Xr.current),Lt(Rn.current),Kl(n)){if(l=n.stateNode,r=n.memoizedProps,l[Tn]=n,(a=l.nodeValue!==r)&&(e=fn,e!==null))switch(e.tag){case 3:Bl(l.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Bl(l.nodeValue,r,(e.mode&1)!==0)}a&&(n.flags|=4)}else l=(r.nodeType===9?r:r.ownerDocument).createTextNode(l),l[Tn]=n,n.stateNode=l}return Ze(n),null;case 13:if(Ee(Re),l=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(De&&hn!==null&&(n.mode&1)!==0&&(n.flags&128)===0)qc(),lr(),n.flags|=98560,a=!1;else if(a=Kl(n),l!==null&&l.dehydrated!==null){if(e===null){if(!a)throw Error(c(318));if(a=n.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(c(317));a[Tn]=n}else lr(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ze(n),a=!1}else Sn!==null&&(ko(Sn),Sn=null),a=!0;if(!a)return n.flags&65536?n:null}return(n.flags&128)!==0?(n.lanes=r,n):(l=l!==null,l!==(e!==null&&e.memoizedState!==null)&&l&&(n.child.flags|=8192,(n.mode&1)!==0&&(e===null||(Re.current&1)!==0?Oe===0&&(Oe=3):Co())),n.updateQueue!==null&&(n.flags|=4),Ze(n),null);case 4:return ir(),po(e,n),e===null&&Vr(n.stateNode.containerInfo),Ze(n),null;case 10:return Ba(n.type._context),Ze(n),null;case 17:return ln(n.type)&&$l(),Ze(n),null;case 19:if(Ee(Re),a=n.memoizedState,a===null)return Ze(n),null;if(l=(n.flags&128)!==0,u=a.rendering,u===null)if(l)rl(a,!1);else{if(Oe!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(u=Jl(e),u!==null){for(n.flags|=128,rl(a,!1),l=u.updateQueue,l!==null&&(n.updateQueue=l,n.flags|=4),n.subtreeFlags=0,l=r,r=n.child;r!==null;)a=r,e=l,a.flags&=14680066,u=a.alternate,u===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=u.childLanes,a.lanes=u.lanes,a.child=u.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=u.memoizedProps,a.memoizedState=u.memoizedState,a.updateQueue=u.updateQueue,a.type=u.type,e=u.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Le(Re,Re.current&1|2),n.child}e=e.sibling}a.tail!==null&&Me()>pr&&(n.flags|=128,l=!0,rl(a,!1),n.lanes=4194304)}else{if(!l)if(e=Jl(u),e!==null){if(n.flags|=128,l=!0,r=e.updateQueue,r!==null&&(n.updateQueue=r,n.flags|=4),rl(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!De)return Ze(n),null}else 2*Me()-a.renderingStartTime>pr&&r!==1073741824&&(n.flags|=128,l=!0,rl(a,!1),n.lanes=4194304);a.isBackwards?(u.sibling=n.child,n.child=u):(r=a.last,r!==null?r.sibling=u:n.child=u,a.last=u)}return a.tail!==null?(n=a.tail,a.rendering=n,a.tail=n.sibling,a.renderingStartTime=Me(),n.sibling=null,r=Re.current,Le(Re,l?r&1|2:r&1),n):(Ze(n),null);case 22:case 23:return So(),l=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==l&&(n.flags|=8192),l&&(n.mode&1)!==0?(mn&1073741824)!==0&&(Ze(n),n.subtreeFlags&6&&(n.flags|=8192)):Ze(n),null;case 24:return null;case 25:return null}throw Error(c(156,n.tag))}function g0(e,n){switch(Ra(n),n.tag){case 1:return ln(n.type)&&$l(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return ir(),Ee(rn),Ee(Ye),Ga(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 5:return Ha(n),null;case 13:if(Ee(Re),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(c(340));lr()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Ee(Re),null;case 4:return ir(),null;case 10:return Ba(n.type._context),null;case 22:case 23:return So(),null;case 24:return null;default:return null}}var is=!1,Xe=!1,v0=typeof WeakSet=="function"?WeakSet:Set,ee=null;function ur(e,n){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(l){Ae(e,n,l)}else r.current=null}function fo(e,n,r){try{r()}catch(l){Ae(e,n,l)}}var Q1=!1;function y0(e,n){if(Na=Ll,e=Cc(),ga(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var l=r.getSelection&&r.getSelection();if(l&&l.rangeCount!==0){r=l.anchorNode;var s=l.anchorOffset,a=l.focusNode;l=l.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var u=0,f=-1,y=-1,R=0,B=0,U=e,F=null;n:for(;;){for(var X;U!==r||s!==0&&U.nodeType!==3||(f=u+s),U!==a||l!==0&&U.nodeType!==3||(y=u+l),U.nodeType===3&&(u+=U.nodeValue.length),(X=U.firstChild)!==null;)F=U,U=X;for(;;){if(U===e)break n;if(F===r&&++R===s&&(f=u),F===a&&++B===l&&(y=u),(X=U.nextSibling)!==null)break;U=F,F=U.parentNode}U=X}r=f===-1||y===-1?null:{start:f,end:y}}else r=null}r=r||{start:0,end:0}}else r=null;for(Sa={focusedElem:e,selectionRange:r},Ll=!1,ee=n;ee!==null;)if(n=ee,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,ee=e;else for(;ee!==null;){n=ee;try{var ne=n.alternate;if((n.flags&1024)!==0)switch(n.tag){case 0:case 11:case 15:break;case 1:if(ne!==null){var te=ne.memoizedProps,Ie=ne.memoizedState,C=n.stateNode,_=C.getSnapshotBeforeUpdate(n.elementType===n.type?te:Cn(n.type,te),Ie);C.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var P=n.stateNode.containerInfo;P.nodeType===1?P.textContent="":P.nodeType===9&&P.documentElement&&P.removeChild(P.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(c(163))}}catch(K){Ae(n,n.return,K)}if(e=n.sibling,e!==null){e.return=n.return,ee=e;break}ee=n.return}return ne=Q1,Q1=!1,ne}function ll(e,n,r){var l=n.updateQueue;if(l=l!==null?l.lastEffect:null,l!==null){var s=l=l.next;do{if((s.tag&e)===e){var a=s.destroy;s.destroy=void 0,a!==void 0&&fo(n,r,a)}s=s.next}while(s!==l)}}function cs(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var r=n=n.next;do{if((r.tag&e)===e){var l=r.create;r.destroy=l()}r=r.next}while(r!==n)}}function ho(e){var n=e.ref;if(n!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof n=="function"?n(e):n.current=e}}function Y1(e){var n=e.alternate;n!==null&&(e.alternate=null,Y1(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Tn],delete n[Kr],delete n[Pa],delete n[e0],delete n[n0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function q1(e){return e.tag===5||e.tag===3||e.tag===4}function Z1(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||q1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function mo(e,n,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,n?r.nodeType===8?r.parentNode.insertBefore(e,n):r.insertBefore(e,n):(r.nodeType===8?(n=r.parentNode,n.insertBefore(e,r)):(n=r,n.appendChild(e)),r=r._reactRootContainer,r!=null||n.onclick!==null||(n.onclick=Ol));else if(l!==4&&(e=e.child,e!==null))for(mo(e,n,r),e=e.sibling;e!==null;)mo(e,n,r),e=e.sibling}function go(e,n,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,n?r.insertBefore(e,n):r.appendChild(e);else if(l!==4&&(e=e.child,e!==null))for(go(e,n,r),e=e.sibling;e!==null;)go(e,n,r),e=e.sibling}var Ge=null,bn=!1;function ut(e,n,r){for(r=r.child;r!==null;)X1(e,n,r),r=r.sibling}function X1(e,n,r){if(Dn&&typeof Dn.onCommitFiberUnmount=="function")try{Dn.onCommitFiberUnmount(wl,r)}catch{}switch(r.tag){case 5:Xe||ur(r,n);case 6:var l=Ge,s=bn;Ge=null,ut(e,n,r),Ge=l,bn=s,Ge!==null&&(bn?(e=Ge,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Ge.removeChild(r.stateNode));break;case 18:Ge!==null&&(bn?(e=Ge,r=r.stateNode,e.nodeType===8?La(e.parentNode,r):e.nodeType===1&&La(e,r),Mr(e)):La(Ge,r.stateNode));break;case 4:l=Ge,s=bn,Ge=r.stateNode.containerInfo,bn=!0,ut(e,n,r),Ge=l,bn=s;break;case 0:case 11:case 14:case 15:if(!Xe&&(l=r.updateQueue,l!==null&&(l=l.lastEffect,l!==null))){s=l=l.next;do{var a=s,u=a.destroy;a=a.tag,u!==void 0&&((a&2)!==0||(a&4)!==0)&&fo(r,n,u),s=s.next}while(s!==l)}ut(e,n,r);break;case 1:if(!Xe&&(ur(r,n),l=r.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=r.memoizedProps,l.state=r.memoizedState,l.componentWillUnmount()}catch(f){Ae(r,n,f)}ut(e,n,r);break;case 21:ut(e,n,r);break;case 22:r.mode&1?(Xe=(l=Xe)||r.memoizedState!==null,ut(e,n,r),Xe=l):ut(e,n,r);break;default:ut(e,n,r)}}function J1(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new v0),n.forEach(function(l){var s=b0.bind(null,e,l);r.has(l)||(r.add(l),l.then(s,s))})}}function Ln(e,n){var r=n.deletions;if(r!==null)for(var l=0;l<r.length;l++){var s=r[l];try{var a=e,u=n,f=u;e:for(;f!==null;){switch(f.tag){case 5:Ge=f.stateNode,bn=!1;break e;case 3:Ge=f.stateNode.containerInfo,bn=!0;break e;case 4:Ge=f.stateNode.containerInfo,bn=!0;break e}f=f.return}if(Ge===null)throw Error(c(160));X1(a,u,s),Ge=null,bn=!1;var y=s.alternate;y!==null&&(y.return=null),s.return=null}catch(R){Ae(s,n,R)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)eu(n,e),n=n.sibling}function eu(e,n){var r=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ln(n,e),An(e),l&4){try{ll(3,e,e.return),cs(3,e)}catch(te){Ae(e,e.return,te)}try{ll(5,e,e.return)}catch(te){Ae(e,e.return,te)}}break;case 1:Ln(n,e),An(e),l&512&&r!==null&&ur(r,r.return);break;case 5:if(Ln(n,e),An(e),l&512&&r!==null&&ur(r,r.return),e.flags&32){var s=e.stateNode;try{qn(s,"")}catch(te){Ae(e,e.return,te)}}if(l&4&&(s=e.stateNode,s!=null)){var a=e.memoizedProps,u=r!==null?r.memoizedProps:a,f=e.type,y=e.updateQueue;if(e.updateQueue=null,y!==null)try{f==="input"&&a.type==="radio"&&a.name!=null&&xr(s,a),Wt(f,u);var R=Wt(f,a);for(u=0;u<y.length;u+=2){var B=y[u],U=y[u+1];B==="style"?Cr(s,U):B==="dangerouslySetInnerHTML"?Nr(s,U):B==="children"?qn(s,U):A(s,B,U,R)}switch(f){case"input":Ft(s,a);break;case"textarea":wr(s,a);break;case"select":var F=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!a.multiple;var X=a.value;X!=null?Qn(s,!!a.multiple,X,!1):F!==!!a.multiple&&(a.defaultValue!=null?Qn(s,!!a.multiple,a.defaultValue,!0):Qn(s,!!a.multiple,a.multiple?[]:"",!1))}s[Kr]=a}catch(te){Ae(e,e.return,te)}}break;case 6:if(Ln(n,e),An(e),l&4){if(e.stateNode===null)throw Error(c(162));s=e.stateNode,a=e.memoizedProps;try{s.nodeValue=a}catch(te){Ae(e,e.return,te)}}break;case 3:if(Ln(n,e),An(e),l&4&&r!==null&&r.memoizedState.isDehydrated)try{Mr(n.containerInfo)}catch(te){Ae(e,e.return,te)}break;case 4:Ln(n,e),An(e);break;case 13:Ln(n,e),An(e),s=e.child,s.flags&8192&&(a=s.memoizedState!==null,s.stateNode.isHidden=a,!a||s.alternate!==null&&s.alternate.memoizedState!==null||(_o=Me())),l&4&&J1(e);break;case 22:if(B=r!==null&&r.memoizedState!==null,e.mode&1?(Xe=(R=Xe)||B,Ln(n,e),Xe=R):Ln(n,e),An(e),l&8192){if(R=e.memoizedState!==null,(e.stateNode.isHidden=R)&&!B&&(e.mode&1)!==0)for(ee=e,B=e.child;B!==null;){for(U=ee=B;ee!==null;){switch(F=ee,X=F.child,F.tag){case 0:case 11:case 14:case 15:ll(4,F,F.return);break;case 1:ur(F,F.return);var ne=F.stateNode;if(typeof ne.componentWillUnmount=="function"){l=F,r=F.return;try{n=l,ne.props=n.memoizedProps,ne.state=n.memoizedState,ne.componentWillUnmount()}catch(te){Ae(l,r,te)}}break;case 5:ur(F,F.return);break;case 22:if(F.memoizedState!==null){ru(U);continue}}X!==null?(X.return=F,ee=X):ru(U)}B=B.sibling}e:for(B=null,U=e;;){if(U.tag===5){if(B===null){B=U;try{s=U.stateNode,R?(a=s.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(f=U.stateNode,y=U.memoizedProps.style,u=y!=null&&y.hasOwnProperty("display")?y.display:null,f.style.display=Sr("display",u))}catch(te){Ae(e,e.return,te)}}}else if(U.tag===6){if(B===null)try{U.stateNode.nodeValue=R?"":U.memoizedProps}catch(te){Ae(e,e.return,te)}}else if((U.tag!==22&&U.tag!==23||U.memoizedState===null||U===e)&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===e)break e;for(;U.sibling===null;){if(U.return===null||U.return===e)break e;B===U&&(B=null),U=U.return}B===U&&(B=null),U.sibling.return=U.return,U=U.sibling}}break;case 19:Ln(n,e),An(e),l&4&&J1(e);break;case 21:break;default:Ln(n,e),An(e)}}function An(e){var n=e.flags;if(n&2){try{e:{for(var r=e.return;r!==null;){if(q1(r)){var l=r;break e}r=r.return}throw Error(c(160))}switch(l.tag){case 5:var s=l.stateNode;l.flags&32&&(qn(s,""),l.flags&=-33);var a=Z1(e);go(e,a,s);break;case 3:case 4:var u=l.stateNode.containerInfo,f=Z1(e);mo(e,f,u);break;default:throw Error(c(161))}}catch(y){Ae(e,e.return,y)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function _0(e,n,r){ee=e,nu(e)}function nu(e,n,r){for(var l=(e.mode&1)!==0;ee!==null;){var s=ee,a=s.child;if(s.tag===22&&l){var u=s.memoizedState!==null||is;if(!u){var f=s.alternate,y=f!==null&&f.memoizedState!==null||Xe;f=is;var R=Xe;if(is=u,(Xe=y)&&!R)for(ee=s;ee!==null;)u=ee,y=u.child,u.tag===22&&u.memoizedState!==null?lu(s):y!==null?(y.return=u,ee=y):lu(s);for(;a!==null;)ee=a,nu(a),a=a.sibling;ee=s,is=f,Xe=R}tu(e)}else(s.subtreeFlags&8772)!==0&&a!==null?(a.return=s,ee=a):tu(e)}}function tu(e){for(;ee!==null;){var n=ee;if((n.flags&8772)!==0){var r=n.alternate;try{if((n.flags&8772)!==0)switch(n.tag){case 0:case 11:case 15:Xe||cs(5,n);break;case 1:var l=n.stateNode;if(n.flags&4&&!Xe)if(r===null)l.componentDidMount();else{var s=n.elementType===n.type?r.memoizedProps:Cn(n.type,r.memoizedProps);l.componentDidUpdate(s,r.memoizedState,l.__reactInternalSnapshotBeforeUpdate)}var a=n.updateQueue;a!==null&&r1(n,a,l);break;case 3:var u=n.updateQueue;if(u!==null){if(r=null,n.child!==null)switch(n.child.tag){case 5:r=n.child.stateNode;break;case 1:r=n.child.stateNode}r1(n,u,r)}break;case 5:var f=n.stateNode;if(r===null&&n.flags&4){r=f;var y=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":y.autoFocus&&r.focus();break;case"img":y.src&&(r.src=y.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var R=n.alternate;if(R!==null){var B=R.memoizedState;if(B!==null){var U=B.dehydrated;U!==null&&Mr(U)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(c(163))}Xe||n.flags&512&&ho(n)}catch(F){Ae(n,n.return,F)}}if(n===e){ee=null;break}if(r=n.sibling,r!==null){r.return=n.return,ee=r;break}ee=n.return}}function ru(e){for(;ee!==null;){var n=ee;if(n===e){ee=null;break}var r=n.sibling;if(r!==null){r.return=n.return,ee=r;break}ee=n.return}}function lu(e){for(;ee!==null;){var n=ee;try{switch(n.tag){case 0:case 11:case 15:var r=n.return;try{cs(4,n)}catch(y){Ae(n,r,y)}break;case 1:var l=n.stateNode;if(typeof l.componentDidMount=="function"){var s=n.return;try{l.componentDidMount()}catch(y){Ae(n,s,y)}}var a=n.return;try{ho(n)}catch(y){Ae(n,a,y)}break;case 5:var u=n.return;try{ho(n)}catch(y){Ae(n,u,y)}}}catch(y){Ae(n,n.return,y)}if(n===e){ee=null;break}var f=n.sibling;if(f!==null){f.return=n.return,ee=f;break}ee=n.return}}var x0=Math.ceil,us=H.ReactCurrentDispatcher,vo=H.ReactCurrentOwner,xn=H.ReactCurrentBatchConfig,je=0,He=null,Fe=null,Ke=0,mn=0,dr=st(0),Oe=0,sl=null,Et=0,ds=0,yo=0,al=null,an=null,_o=0,pr=1/0,Kn=null,ps=!1,xo=null,dt=null,fs=!1,pt=null,hs=0,ol=0,jo=null,ms=-1,gs=0;function nn(){return(je&6)!==0?Me():ms!==-1?ms:ms=Me()}function ft(e){return(e.mode&1)===0?1:(je&2)!==0&&Ke!==0?Ke&-Ke:r0.transition!==null?(gs===0&&(gs=Zi()),gs):(e=Se,e!==0||(e=window.event,e=e===void 0?16:ac(e.type)),e)}function Pn(e,n,r,l){if(50<ol)throw ol=0,jo=null,Error(c(185));Dr(e,r,l),((je&2)===0||e!==He)&&(e===He&&((je&2)===0&&(ds|=r),Oe===4&&ht(e,Ke)),on(e,l),r===1&&je===0&&(n.mode&1)===0&&(pr=Me()+500,Hl&&ot()))}function on(e,n){var r=e.callbackNode;r3(e,n);var l=Sl(e,e===He?Ke:0);if(l===0)r!==null&&Qi(r),e.callbackNode=null,e.callbackPriority=0;else if(n=l&-l,e.callbackPriority!==n){if(r!=null&&Qi(r),n===1)e.tag===0?t0(au.bind(null,e)):Vc(au.bind(null,e)),X3(function(){(je&6)===0&&ot()}),r=null;else{switch(Xi(l)){case 1:r=Js;break;case 4:r=Yi;break;case 16:r=jl;break;case 536870912:r=qi;break;default:r=jl}r=hu(r,su.bind(null,e))}e.callbackPriority=n,e.callbackNode=r}}function su(e,n){if(ms=-1,gs=0,(je&6)!==0)throw Error(c(327));var r=e.callbackNode;if(fr()&&e.callbackNode!==r)return null;var l=Sl(e,e===He?Ke:0);if(l===0)return null;if((l&30)!==0||(l&e.expiredLanes)!==0||n)n=vs(e,l);else{n=l;var s=je;je|=2;var a=iu();(He!==e||Ke!==n)&&(Kn=null,pr=Me()+500,Tt(e,n));do try{k0();break}catch(f){ou(e,f)}while(!0);Fa(),us.current=a,je=s,Fe!==null?n=0:(He=null,Ke=0,n=Oe)}if(n!==0){if(n===2&&(s=ea(e),s!==0&&(l=s,n=wo(e,s))),n===1)throw r=sl,Tt(e,0),ht(e,l),on(e,Me()),r;if(n===6)ht(e,l);else{if(s=e.current.alternate,(l&30)===0&&!j0(s)&&(n=vs(e,l),n===2&&(a=ea(e),a!==0&&(l=a,n=wo(e,a))),n===1))throw r=sl,Tt(e,0),ht(e,l),on(e,Me()),r;switch(e.finishedWork=s,e.finishedLanes=l,n){case 0:case 1:throw Error(c(345));case 2:Rt(e,an,Kn);break;case 3:if(ht(e,l),(l&130023424)===l&&(n=_o+500-Me(),10<n)){if(Sl(e,0)!==0)break;if(s=e.suspendedLanes,(s&l)!==l){nn(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=ba(Rt.bind(null,e,an,Kn),n);break}Rt(e,an,Kn);break;case 4:if(ht(e,l),(l&4194240)===l)break;for(n=e.eventTimes,s=-1;0<l;){var u=31-kn(l);a=1<<u,u=n[u],u>s&&(s=u),l&=~a}if(l=s,l=Me()-l,l=(120>l?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*x0(l/1960))-l,10<l){e.timeoutHandle=ba(Rt.bind(null,e,an,Kn),l);break}Rt(e,an,Kn);break;case 5:Rt(e,an,Kn);break;default:throw Error(c(329))}}}return on(e,Me()),e.callbackNode===r?su.bind(null,e):null}function wo(e,n){var r=al;return e.current.memoizedState.isDehydrated&&(Tt(e,n).flags|=256),e=vs(e,n),e!==2&&(n=an,an=r,n!==null&&ko(n)),e}function ko(e){an===null?an=e:an.push.apply(an,e)}function j0(e){for(var n=e;;){if(n.flags&16384){var r=n.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var l=0;l<r.length;l++){var s=r[l],a=s.getSnapshot;s=s.value;try{if(!Nn(a(),s))return!1}catch{return!1}}}if(r=n.child,n.subtreeFlags&16384&&r!==null)r.return=n,n=r;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function ht(e,n){for(n&=~yo,n&=~ds,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var r=31-kn(n),l=1<<r;e[r]=-1,n&=~l}}function au(e){if((je&6)!==0)throw Error(c(327));fr();var n=Sl(e,0);if((n&1)===0)return on(e,Me()),null;var r=vs(e,n);if(e.tag!==0&&r===2){var l=ea(e);l!==0&&(n=l,r=wo(e,l))}if(r===1)throw r=sl,Tt(e,0),ht(e,n),on(e,Me()),r;if(r===6)throw Error(c(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,Rt(e,an,Kn),on(e,Me()),null}function No(e,n){var r=je;je|=1;try{return e(n)}finally{je=r,je===0&&(pr=Me()+500,Hl&&ot())}}function Dt(e){pt!==null&&pt.tag===0&&(je&6)===0&&fr();var n=je;je|=1;var r=xn.transition,l=Se;try{if(xn.transition=null,Se=1,e)return e()}finally{Se=l,xn.transition=r,je=n,(je&6)===0&&ot()}}function So(){mn=dr.current,Ee(dr)}function Tt(e,n){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,Z3(r)),Fe!==null)for(r=Fe.return;r!==null;){var l=r;switch(Ra(l),l.tag){case 1:l=l.type.childContextTypes,l!=null&&$l();break;case 3:ir(),Ee(rn),Ee(Ye),Ga();break;case 5:Ha(l);break;case 4:ir();break;case 13:Ee(Re);break;case 19:Ee(Re);break;case 10:Ba(l.type._context);break;case 22:case 23:So()}r=r.return}if(He=e,Fe=e=mt(e.current,null),Ke=mn=n,Oe=0,sl=null,yo=ds=Et=0,an=al=null,bt!==null){for(n=0;n<bt.length;n++)if(r=bt[n],l=r.interleaved,l!==null){r.interleaved=null;var s=l.next,a=r.pending;if(a!==null){var u=a.next;a.next=s,l.next=u}r.pending=l}bt=null}return e}function ou(e,n){do{var r=Fe;try{if(Fa(),es.current=ls,ns){for(var l=ze.memoizedState;l!==null;){var s=l.queue;s!==null&&(s.pending=null),l=l.next}ns=!1}if(Pt=0,We=Be=ze=null,Jr=!1,el=0,vo.current=null,r===null||r.return===null){Oe=1,sl=n,Fe=null;break}e:{var a=e,u=r.return,f=r,y=n;if(n=Ke,f.flags|=32768,y!==null&&typeof y=="object"&&typeof y.then=="function"){var R=y,B=f,U=B.tag;if((B.mode&1)===0&&(U===0||U===11||U===15)){var F=B.alternate;F?(B.updateQueue=F.updateQueue,B.memoizedState=F.memoizedState,B.lanes=F.lanes):(B.updateQueue=null,B.memoizedState=null)}var X=T1(u);if(X!==null){X.flags&=-257,R1(X,u,f,a,n),X.mode&1&&D1(a,R,n),n=X,y=R;var ne=n.updateQueue;if(ne===null){var te=new Set;te.add(y),n.updateQueue=te}else ne.add(y);break e}else{if((n&1)===0){D1(a,R,n),Co();break e}y=Error(c(426))}}else if(De&&f.mode&1){var Ie=T1(u);if(Ie!==null){(Ie.flags&65536)===0&&(Ie.flags|=256),R1(Ie,u,f,a,n),Ma(cr(y,f));break e}}a=y=cr(y,f),Oe!==4&&(Oe=2),al===null?al=[a]:al.push(a),a=u;do{switch(a.tag){case 3:a.flags|=65536,n&=-n,a.lanes|=n;var C=P1(a,y,n);t1(a,C);break e;case 1:f=y;var _=a.type,P=a.stateNode;if((a.flags&128)===0&&(typeof _.getDerivedStateFromError=="function"||P!==null&&typeof P.componentDidCatch=="function"&&(dt===null||!dt.has(P)))){a.flags|=65536,n&=-n,a.lanes|=n;var K=E1(a,f,n);t1(a,K);break e}}a=a.return}while(a!==null)}uu(r)}catch(re){n=re,Fe===r&&r!==null&&(Fe=r=r.return);continue}break}while(!0)}function iu(){var e=us.current;return us.current=ls,e===null?ls:e}function Co(){(Oe===0||Oe===3||Oe===2)&&(Oe=4),He===null||(Et&268435455)===0&&(ds&268435455)===0||ht(He,Ke)}function vs(e,n){var r=je;je|=2;var l=iu();(He!==e||Ke!==n)&&(Kn=null,Tt(e,n));do try{w0();break}catch(s){ou(e,s)}while(!0);if(Fa(),je=r,us.current=l,Fe!==null)throw Error(c(261));return He=null,Ke=0,Oe}function w0(){for(;Fe!==null;)cu(Fe)}function k0(){for(;Fe!==null&&!Q2();)cu(Fe)}function cu(e){var n=fu(e.alternate,e,mn);e.memoizedProps=e.pendingProps,n===null?uu(e):Fe=n,vo.current=null}function uu(e){var n=e;do{var r=n.alternate;if(e=n.return,(n.flags&32768)===0){if(r=m0(r,n,mn),r!==null){Fe=r;return}}else{if(r=g0(r,n),r!==null){r.flags&=32767,Fe=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Oe=6,Fe=null;return}}if(n=n.sibling,n!==null){Fe=n;return}Fe=n=e}while(n!==null);Oe===0&&(Oe=5)}function Rt(e,n,r){var l=Se,s=xn.transition;try{xn.transition=null,Se=1,N0(e,n,r,l)}finally{xn.transition=s,Se=l}return null}function N0(e,n,r,l){do fr();while(pt!==null);if((je&6)!==0)throw Error(c(327));r=e.finishedWork;var s=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(c(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(l3(e,a),e===He&&(Fe=He=null,Ke=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||fs||(fs=!0,hu(jl,function(){return fr(),null})),a=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||a){a=xn.transition,xn.transition=null;var u=Se;Se=1;var f=je;je|=4,vo.current=null,y0(e,r),eu(r,e),H3(Sa),Ll=!!Na,Sa=Na=null,e.current=r,_0(r),Y2(),je=f,Se=u,xn.transition=a}else e.current=r;if(fs&&(fs=!1,pt=e,hs=s),a=e.pendingLanes,a===0&&(dt=null),X2(r.stateNode),on(e,Me()),n!==null)for(l=e.onRecoverableError,r=0;r<n.length;r++)s=n[r],l(s.value,{componentStack:s.stack,digest:s.digest});if(ps)throw ps=!1,e=xo,xo=null,e;return(hs&1)!==0&&e.tag!==0&&fr(),a=e.pendingLanes,(a&1)!==0?e===jo?ol++:(ol=0,jo=e):ol=0,ot(),null}function fr(){if(pt!==null){var e=Xi(hs),n=xn.transition,r=Se;try{if(xn.transition=null,Se=16>e?16:e,pt===null)var l=!1;else{if(e=pt,pt=null,hs=0,(je&6)!==0)throw Error(c(331));var s=je;for(je|=4,ee=e.current;ee!==null;){var a=ee,u=a.child;if((ee.flags&16)!==0){var f=a.deletions;if(f!==null){for(var y=0;y<f.length;y++){var R=f[y];for(ee=R;ee!==null;){var B=ee;switch(B.tag){case 0:case 11:case 15:ll(8,B,a)}var U=B.child;if(U!==null)U.return=B,ee=U;else for(;ee!==null;){B=ee;var F=B.sibling,X=B.return;if(Y1(B),B===R){ee=null;break}if(F!==null){F.return=X,ee=F;break}ee=X}}}var ne=a.alternate;if(ne!==null){var te=ne.child;if(te!==null){ne.child=null;do{var Ie=te.sibling;te.sibling=null,te=Ie}while(te!==null)}}ee=a}}if((a.subtreeFlags&2064)!==0&&u!==null)u.return=a,ee=u;else e:for(;ee!==null;){if(a=ee,(a.flags&2048)!==0)switch(a.tag){case 0:case 11:case 15:ll(9,a,a.return)}var C=a.sibling;if(C!==null){C.return=a.return,ee=C;break e}ee=a.return}}var _=e.current;for(ee=_;ee!==null;){u=ee;var P=u.child;if((u.subtreeFlags&2064)!==0&&P!==null)P.return=u,ee=P;else e:for(u=_;ee!==null;){if(f=ee,(f.flags&2048)!==0)try{switch(f.tag){case 0:case 11:case 15:cs(9,f)}}catch(re){Ae(f,f.return,re)}if(f===u){ee=null;break e}var K=f.sibling;if(K!==null){K.return=f.return,ee=K;break e}ee=f.return}}if(je=s,ot(),Dn&&typeof Dn.onPostCommitFiberRoot=="function")try{Dn.onPostCommitFiberRoot(wl,e)}catch{}l=!0}return l}finally{Se=r,xn.transition=n}}return!1}function du(e,n,r){n=cr(r,n),n=P1(e,n,1),e=ct(e,n,1),n=nn(),e!==null&&(Dr(e,1,n),on(e,n))}function Ae(e,n,r){if(e.tag===3)du(e,e,r);else for(;n!==null;){if(n.tag===3){du(n,e,r);break}else if(n.tag===1){var l=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(dt===null||!dt.has(l))){e=cr(r,e),e=E1(n,e,1),n=ct(n,e,1),e=nn(),n!==null&&(Dr(n,1,e),on(n,e));break}}n=n.return}}function S0(e,n,r){var l=e.pingCache;l!==null&&l.delete(n),n=nn(),e.pingedLanes|=e.suspendedLanes&r,He===e&&(Ke&r)===r&&(Oe===4||Oe===3&&(Ke&130023424)===Ke&&500>Me()-_o?Tt(e,0):yo|=r),on(e,n)}function pu(e,n){n===0&&((e.mode&1)===0?n=1:(n=Nl,Nl<<=1,(Nl&130023424)===0&&(Nl=4194304)));var r=nn();e=Hn(e,n),e!==null&&(Dr(e,n,r),on(e,r))}function C0(e){var n=e.memoizedState,r=0;n!==null&&(r=n.retryLane),pu(e,r)}function b0(e,n){var r=0;switch(e.tag){case 13:var l=e.stateNode,s=e.memoizedState;s!==null&&(r=s.retryLane);break;case 19:l=e.stateNode;break;default:throw Error(c(314))}l!==null&&l.delete(n),pu(e,r)}var fu;fu=function(e,n,r){if(e!==null)if(e.memoizedProps!==n.pendingProps||rn.current)sn=!0;else{if((e.lanes&r)===0&&(n.flags&128)===0)return sn=!1,h0(e,n,r);sn=(e.flags&131072)!==0}else sn=!1,De&&(n.flags&1048576)!==0&&Gc(n,Gl,n.index);switch(n.lanes=0,n.tag){case 2:var l=n.type;os(e,n),e=n.pendingProps;var s=nr(n,Ye.current);or(n,r),s=Ya(null,n,l,e,s,r);var a=qa();return n.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,ln(l)?(a=!0,Wl(n)):a=!1,n.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,$a(n),s.updater=ss,n.stateNode=s,s._reactInternals=n,to(n,l,e,r),n=ao(null,n,l,!0,a,r)):(n.tag=0,De&&a&&Ta(n),en(null,n,s,r),n=n.child),n;case 16:l=n.elementType;e:{switch(os(e,n),e=n.pendingProps,s=l._init,l=s(l._payload),n.type=l,s=n.tag=P0(l),e=Cn(l,e),s){case 0:n=so(null,n,l,e,r);break e;case 1:n=B1(null,n,l,e,r);break e;case 11:n=z1(null,n,l,e,r);break e;case 14:n=A1(null,n,l,Cn(l.type,e),r);break e}throw Error(c(306,l,""))}return n;case 0:return l=n.type,s=n.pendingProps,s=n.elementType===l?s:Cn(l,s),so(e,n,l,s,r);case 1:return l=n.type,s=n.pendingProps,s=n.elementType===l?s:Cn(l,s),B1(e,n,l,s,r);case 3:e:{if(O1(n),e===null)throw Error(c(387));l=n.pendingProps,a=n.memoizedState,s=a.element,n1(e,n),Xl(n,l,null,r);var u=n.memoizedState;if(l=u.element,a.isDehydrated)if(a={element:l,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=a,n.memoizedState=a,n.flags&256){s=cr(Error(c(423)),n),n=U1(e,n,l,r,s);break e}else if(l!==s){s=cr(Error(c(424)),n),n=U1(e,n,l,r,s);break e}else for(hn=lt(n.stateNode.containerInfo.firstChild),fn=n,De=!0,Sn=null,r=Jc(n,null,l,r),n.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(lr(),l===s){n=Gn(e,n,r);break e}en(e,n,l,r)}n=n.child}return n;case 5:return l1(n),e===null&&Aa(n),l=n.type,s=n.pendingProps,a=e!==null?e.memoizedProps:null,u=s.children,Ca(l,s)?u=null:a!==null&&Ca(l,a)&&(n.flags|=32),F1(e,n),en(e,n,u,r),n.child;case 6:return e===null&&Aa(n),null;case 13:return $1(e,n,r);case 4:return Wa(n,n.stateNode.containerInfo),l=n.pendingProps,e===null?n.child=sr(n,null,l,r):en(e,n,l,r),n.child;case 11:return l=n.type,s=n.pendingProps,s=n.elementType===l?s:Cn(l,s),z1(e,n,l,s,r);case 7:return en(e,n,n.pendingProps,r),n.child;case 8:return en(e,n,n.pendingProps.children,r),n.child;case 12:return en(e,n,n.pendingProps.children,r),n.child;case 10:e:{if(l=n.type._context,s=n.pendingProps,a=n.memoizedProps,u=s.value,Le(Yl,l._currentValue),l._currentValue=u,a!==null)if(Nn(a.value,u)){if(a.children===s.children&&!rn.current){n=Gn(e,n,r);break e}}else for(a=n.child,a!==null&&(a.return=n);a!==null;){var f=a.dependencies;if(f!==null){u=a.child;for(var y=f.firstContext;y!==null;){if(y.context===l){if(a.tag===1){y=Vn(-1,r&-r),y.tag=2;var R=a.updateQueue;if(R!==null){R=R.shared;var B=R.pending;B===null?y.next=y:(y.next=B.next,B.next=y),R.pending=y}}a.lanes|=r,y=a.alternate,y!==null&&(y.lanes|=r),Oa(a.return,r,n),f.lanes|=r;break}y=y.next}}else if(a.tag===10)u=a.type===n.type?null:a.child;else if(a.tag===18){if(u=a.return,u===null)throw Error(c(341));u.lanes|=r,f=u.alternate,f!==null&&(f.lanes|=r),Oa(u,r,n),u=a.sibling}else u=a.child;if(u!==null)u.return=a;else for(u=a;u!==null;){if(u===n){u=null;break}if(a=u.sibling,a!==null){a.return=u.return,u=a;break}u=u.return}a=u}en(e,n,s.children,r),n=n.child}return n;case 9:return s=n.type,l=n.pendingProps.children,or(n,r),s=yn(s),l=l(s),n.flags|=1,en(e,n,l,r),n.child;case 14:return l=n.type,s=Cn(l,n.pendingProps),s=Cn(l.type,s),A1(e,n,l,s,r);case 15:return M1(e,n,n.type,n.pendingProps,r);case 17:return l=n.type,s=n.pendingProps,s=n.elementType===l?s:Cn(l,s),os(e,n),n.tag=1,ln(l)?(e=!0,Wl(n)):e=!1,or(n,r),b1(n,l,s),to(n,l,s,r),ao(null,n,l,!0,e,r);case 19:return H1(e,n,r);case 22:return I1(e,n,r)}throw Error(c(156,n.tag))};function hu(e,n){return Ki(e,n)}function L0(e,n,r,l){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function jn(e,n,r,l){return new L0(e,n,r,l)}function bo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function P0(e){if(typeof e=="function")return bo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===_e)return 11;if(e===se)return 14}return 2}function mt(e,n){var r=e.alternate;return r===null?(r=jn(e.tag,n,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=n,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,n=e.dependencies,r.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function ys(e,n,r,l,s,a){var u=2;if(l=e,typeof e=="function")bo(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Z:return zt(r.children,s,a,n);case W:u=8,s|=8;break;case Y:return e=jn(12,r,n,s|2),e.elementType=Y,e.lanes=a,e;case ie:return e=jn(13,r,n,s),e.elementType=ie,e.lanes=a,e;case J:return e=jn(19,r,n,s),e.elementType=J,e.lanes=a,e;case me:return _s(r,s,a,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case z:u=10;break e;case de:u=9;break e;case _e:u=11;break e;case se:u=14;break e;case he:u=16,l=null;break e}throw Error(c(130,e==null?e:typeof e,""))}return n=jn(u,r,n,s),n.elementType=e,n.type=l,n.lanes=a,n}function zt(e,n,r,l){return e=jn(7,e,l,n),e.lanes=r,e}function _s(e,n,r,l){return e=jn(22,e,l,n),e.elementType=me,e.lanes=r,e.stateNode={isHidden:!1},e}function Lo(e,n,r){return e=jn(6,e,null,n),e.lanes=r,e}function Po(e,n,r){return n=jn(4,e.children!==null?e.children:[],e.key,n),n.lanes=r,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function E0(e,n,r,l,s){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=na(0),this.expirationTimes=na(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=na(0),this.identifierPrefix=l,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Eo(e,n,r,l,s,a,u,f,y){return e=new E0(e,n,r,f,y),n===1?(n=1,a===!0&&(n|=8)):n=0,a=jn(3,null,null,n),e.current=a,a.stateNode=e,a.memoizedState={element:l,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},$a(a),e}function D0(e,n,r){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:V,key:l==null?null:""+l,children:e,containerInfo:n,implementation:r}}function mu(e){if(!e)return at;e=e._reactInternals;e:{if(wt(e)!==e||e.tag!==1)throw Error(c(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(ln(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(c(171))}if(e.tag===1){var r=e.type;if(ln(r))return Wc(e,r,n)}return n}function gu(e,n,r,l,s,a,u,f,y){return e=Eo(r,l,!0,e,s,a,u,f,y),e.context=mu(null),r=e.current,l=nn(),s=ft(r),a=Vn(l,s),a.callback=n??null,ct(r,a,s),e.current.lanes=s,Dr(e,s,l),on(e,l),e}function xs(e,n,r,l){var s=n.current,a=nn(),u=ft(s);return r=mu(r),n.context===null?n.context=r:n.pendingContext=r,n=Vn(a,u),n.payload={element:e},l=l===void 0?null:l,l!==null&&(n.callback=l),e=ct(s,n,u),e!==null&&(Pn(e,s,u,a),Zl(e,s,u)),u}function js(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function vu(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<n?r:n}}function Do(e,n){vu(e,n),(e=e.alternate)&&vu(e,n)}function T0(){return null}var yu=typeof reportError=="function"?reportError:function(e){console.error(e)};function To(e){this._internalRoot=e}ws.prototype.render=To.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(c(409));xs(e,n,null,null)},ws.prototype.unmount=To.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Dt(function(){xs(null,e,null,null)}),n[On]=null}};function ws(e){this._internalRoot=e}ws.prototype.unstable_scheduleHydration=function(e){if(e){var n=nc();e={blockedOn:null,target:e,priority:n};for(var r=0;r<nt.length&&n!==0&&n<nt[r].priority;r++);nt.splice(r,0,e),r===0&&lc(e)}};function Ro(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ks(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function _u(){}function R0(e,n,r,l,s){if(s){if(typeof l=="function"){var a=l;l=function(){var R=js(u);a.call(R)}}var u=gu(n,l,e,0,null,!1,!1,"",_u);return e._reactRootContainer=u,e[On]=u.current,Vr(e.nodeType===8?e.parentNode:e),Dt(),u}for(;s=e.lastChild;)e.removeChild(s);if(typeof l=="function"){var f=l;l=function(){var R=js(y);f.call(R)}}var y=Eo(e,0,!1,null,null,!1,!1,"",_u);return e._reactRootContainer=y,e[On]=y.current,Vr(e.nodeType===8?e.parentNode:e),Dt(function(){xs(n,y,r,l)}),y}function Ns(e,n,r,l,s){var a=r._reactRootContainer;if(a){var u=a;if(typeof s=="function"){var f=s;s=function(){var y=js(u);f.call(y)}}xs(n,u,e,s)}else u=R0(r,n,e,s,l);return js(u)}Ji=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var r=Er(n.pendingLanes);r!==0&&(ta(n,r|1),on(n,Me()),(je&6)===0&&(pr=Me()+500,ot()))}break;case 13:Dt(function(){var l=Hn(e,1);if(l!==null){var s=nn();Pn(l,e,1,s)}}),Do(e,1)}},ra=function(e){if(e.tag===13){var n=Hn(e,134217728);if(n!==null){var r=nn();Pn(n,e,134217728,r)}Do(e,134217728)}},ec=function(e){if(e.tag===13){var n=ft(e),r=Hn(e,n);if(r!==null){var l=nn();Pn(r,e,n,l)}Do(e,n)}},nc=function(){return Se},tc=function(e,n){var r=Se;try{return Se=e,n()}finally{Se=r}},Ys=function(e,n,r){switch(n){case"input":if(Ft(e,r),n=r.name,r.type==="radio"&&n!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<r.length;n++){var l=r[n];if(l!==e&&l.form===e.form){var s=Ul(l);if(!s)throw Error(c(90));ml(l),Ft(l,s)}}}break;case"textarea":wr(e,r);break;case"select":n=r.value,n!=null&&Qn(e,!!r.multiple,n,!1)}},Oi=No,Ui=Dt;var z0={usingClientEntryPoint:!1,Events:[Qr,Jt,Ul,Fi,Bi,No]},il={findFiberByHostInstance:kt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},A0={bundleType:il.bundleType,version:il.version,rendererPackageName:il.rendererPackageName,rendererConfig:il.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:H.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Vi(e),e===null?null:e.stateNode},findFiberByHostInstance:il.findFiberByHostInstance||T0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ss=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ss.isDisabled&&Ss.supportsFiber)try{wl=Ss.inject(A0),Dn=Ss}catch{}}return tn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z0,tn.createPortal=function(e,n){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ro(n))throw Error(c(200));return D0(e,n,null,r)},tn.createRoot=function(e,n){if(!Ro(e))throw Error(c(299));var r=!1,l="",s=yu;return n!=null&&(n.unstable_strictMode===!0&&(r=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),n=Eo(e,1,!1,null,null,r,!1,l,s),e[On]=n.current,Vr(e.nodeType===8?e.parentNode:e),new To(n)},tn.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(c(188)):(e=Object.keys(e).join(","),Error(c(268,e)));return e=Vi(n),e=e===null?null:e.stateNode,e},tn.flushSync=function(e){return Dt(e)},tn.hydrate=function(e,n,r){if(!ks(n))throw Error(c(200));return Ns(null,e,n,!0,r)},tn.hydrateRoot=function(e,n,r){if(!Ro(e))throw Error(c(405));var l=r!=null&&r.hydratedSources||null,s=!1,a="",u=yu;if(r!=null&&(r.unstable_strictMode===!0&&(s=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(u=r.onRecoverableError)),n=gu(n,null,e,1,r??null,s,!1,a,u),e[On]=n.current,Vr(e),l)for(e=0;e<l.length;e++)r=l[e],s=r._getVersion,s=s(r._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[r,s]:n.mutableSourceEagerHydrationData.push(r,s);return new ws(n)},tn.render=function(e,n,r){if(!ks(n))throw Error(c(200));return Ns(null,e,n,!1,r)},tn.unmountComponentAtNode=function(e){if(!ks(e))throw Error(c(40));return e._reactRootContainer?(Dt(function(){Ns(null,null,e,!1,function(){e._reactRootContainer=null,e[On]=null})}),!0):!1},tn.unstable_batchedUpdates=No,tn.unstable_renderSubtreeIntoContainer=function(e,n,r,l){if(!ks(r))throw Error(c(200));if(e==null||e._reactInternals===void 0)throw Error(c(38));return Ns(e,n,r,!1,l)},tn.version="18.3.1-next-f1338f8080-20240426",tn}var Uo;function $o(){if(Uo)return Ps.exports;Uo=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(i){console.error(i)}}return o(),Ps.exports=Su(),Ps.exports}var Wo;function Cu(){if(Wo)return cl;Wo=1;var o=$o();return cl.createRoot=o.createRoot,cl.hydrateRoot=o.hydrateRoot,cl}var bu=Cu(),x=Ls();function Lu({tabs:o,activeTab:i,onTabChange:c}){return t.jsx("div",{className:"cn-tab-nav",children:o.map(p=>t.jsx("button",{className:`cn-tab-nav__item${i===p.id?" cn-tab-nav__item--active":""}`,onClick:()=>c(p.id),type:"button",children:p.label},p.id))})}function Pu({type:o="info",dismissible:i=!1,onDismiss:c,children:p}){const d={success:"notice-success",error:"notice-error",warning:"notice-warning",info:"notice-info"}[o]||"notice-info";return t.jsxs("div",{className:`notice ${d}${i?" is-dismissible":""}`,children:[t.jsx("p",{children:p}),i&&c&&t.jsx("button",{type:"button",className:"notice-dismiss",onClick:c,children:t.jsx("span",{className:"screen-reader-text",children:"Dismiss this notice."})})]})}function Ue(){const o=window.cnReactData||{},i=o.app_id||"",c=(o.subscription||"").toLowerCase(),p=!!i;let d="basic";return p&&c==="pro"?d="pro":p&&(d="free"),{tier:d,isBasic:d==="basic",isFree:d==="free",isPro:d==="pro",isConnected:p,version:o.version||""}}const Eu={basic:"Basic (Not Connected)",free:"Free Plan",pro:"Pro Plan"};function Du(){const{tier:o,version:i}=Ue();return t.jsxs("div",{className:"cn-footer",children:[t.jsxs("span",{className:"cn-footer__version",children:["Compliance by Hu-manity.co v",i||"—"," — ",Eu[o]||""]}),t.jsxs("span",{className:"cn-footer__links",children:[t.jsx("a",{href:"https://cookie-compliance.co/documentation/",target:"_blank",rel:"noopener noreferrer",children:"Documentation"})," | ",t.jsx("a",{href:"https://cookie-compliance.co/support/",target:"_blank",rel:"noopener noreferrer",children:"Support"})," | ",t.jsx("a",{href:"https://cookie-compliance.co/privacy-policy/",target:"_blank",rel:"noopener noreferrer",children:"Privacy Policy"})]})]})}const Ho=x.createContext({dashboard:null,refetchDashboard:()=>{},isLoadingDashboard:!1});function vt(){return x.useContext(Ho)}const Vo=x.createContext({config:null,isLoadingConfig:!1,refetchConfig:()=>{}});function At(){return x.useContext(Vo)}const Ts=o=>"cn_setup_wizard_complete_"+(o||"default"),Rs=o=>"cn_has_platform_config_"+(o||""),Tu=o=>"cn_setup_just_finished_"+(o||"default"),Go=x.createContext(null);function Ru({onLawSave:o,onConsentClose:i,children:c}){const[p,d]=x.useState(!1),[m,g]=x.useState(0),[h,v]=x.useState(!1),[w,j]=x.useState(!1),[S,L]=x.useState(0),[D,T]=x.useState(!1),[b,k]=x.useState(!1),[E,M]=x.useState(0),[A,H]=x.useState(!1),$=x.useMemo(()=>{var J,se;try{const he=((se=(J=window.cnReactData)==null?void 0:J.options)==null?void 0:se.app_id)||"";return!!he&&localStorage.getItem(Rs(he))==="1"}catch{return!1}},[]),V=x.useCallback(()=>{d(!1),v(!1),j(!1),T(!1),k(!1),H(!1)},[]),Z=x.useCallback(()=>{V(),d(!0),g(J=>J+1)},[V]),W=x.useCallback(()=>{V(),j(!0),L(J=>J+1)},[V]),Y=x.useCallback(()=>{V(),k(!0),M(J=>J+1)},[V]),z=x.useCallback(()=>{v(!0),setTimeout(()=>{d(!1),v(!1)},160)},[]),de=x.useCallback(()=>{T(!0),setTimeout(()=>{j(!1),T(!1),o&&o()},160)},[o]),_e=x.useCallback(()=>{H(!0),setTimeout(()=>{k(!1),H(!1),i&&i()},160)},[i]),ie={showBannerWizard:p,bannerScrollTrigger:m,bannerClosing:h,showLawWizard:w,lawScrollTrigger:S,lawClosing:D,showConsentPanel:b,consentScrollTrigger:E,consentClosing:A,hasPlatformConfig:$,openBannerWizard:Z,openLawWizard:W,openConsentPanel:Y,closeBannerWizard:z,closeLawWizard:de,closeConsentPanel:_e,closeAllPanels:V};return t.jsx(Go.Provider,{value:ie,children:c})}function mr(){const o=x.useContext(Go);if(!o)throw new Error("usePanels() must be used inside <PanelProvider>.");return o}async function cn(o,i={}){var g;const c=window.cnReactData||{},p=new FormData;p.append("action",o),p.append("nonce",c.nonce||""),c.network&&p.append("cn_network","1"),Object.entries(i).forEach(([h,v])=>{p.append(h,v)});const d=await fetch(c.ajaxURL||"/wp-admin/admin-ajax.php",{method:"POST",credentials:"same-origin",body:p});if(!d.ok)throw new Error(`AJAX error: ${d.status}`);const m=await d.json();if(!m.success)throw new Error(((g=m.data)==null?void 0:g.error)||"Request failed");return m.data}async function Mn(o,i={},c="",p=""){const d=window.cnReactData||{},m=new FormData;m.append("action","cn_api_request"),m.append("nonce",p||d.welcomeNonce||""),m.append("request",o),m.append("cn_nonce",c),d.network&&m.append("cn_network","1"),Object.entries(i).forEach(([v,w])=>{m.append(v,w)});const g=await fetch(d.ajaxURL||"/wp-admin/admin-ajax.php",{method:"POST",credentials:"same-origin",body:m});if(!g.ok)throw new Error(`Request failed: ${g.status}`);const h=await g.json();if(h&&h.error)throw new Error(h.error);return h}const zu=()=>{const o=window.cnReactData||{},i={};if(o.devMode){const p=new URLSearchParams(window.location.search).get("cn_usage");p!==null&&(i.cn_usage=p)}return cn("cn_react_dashboard",i)},Au=()=>cn("cn_react_config"),Mu=(o={})=>cn("cn_react_consent_logs",o),Iu=(o={})=>cn("cn_react_export_consent_logs",o),zs=(o={})=>cn("cn_react_save_options",o),Fu=()=>cn("cn_react_dismiss_welcome"),As=()=>cn("cn_react_complete_setup_wizard"),Bu=o=>cn("cn_react_apply_template",{template:o}),Ou=o=>cn("cn_react_rule_values",{param:o}),Uu=(o=[])=>{const i={};return o.forEach((c,p)=>{i[`languages[${p}]`]=c}),cn("cn_react_apply_languages",i)},ul=(o={},i={},c={})=>{const p={};return Object.entries(o).forEach(([d,m])=>{p[`design[${d}]`]=m}),Object.entries(i).forEach(([d,m])=>{p[`config[${d}]`]=m}),Object.entries(c).forEach(([d,m])=>{p[`consentConfig[${d}]`]=m}),cn("cn_react_update_design",p)},$u=()=>cn("cn_react_rescan_scripts"),Wu=()=>cn("cn_react_dev_reset"),Hu=()=>{const o=window.cnReactData||{},i={};return o.network&&(i.cn_network="1"),Mn("sync_config",i,"",o.welcomeNonce||"")},Vu=async()=>{const o=window.cnReactData||{},i=new FormData;i.append("action","cn_purge_cache"),i.append("nonce",o.purgeNonce||""),o.network&&i.append("cn_network","1");const c=await fetch(o.ajaxURL||"/wp-admin/admin-ajax.php",{method:"POST",credentials:"same-origin",body:i});if(!c.ok)throw new Error(`Purge cache failed: ${c.status}`)},Qe=((zi=window.cnReactData)==null?void 0:zi.appUrl)||"https://app.hu-manity.co",Ms={gdpr:"GDPR",ccpa:"CCPA",otherus:"US State Laws",ukpecr:"UK PECR",lgpd:"LGPD",pipeda:"PIPEDA",popia:"POPIA"},Ko={GDPR:{flag:"🇪🇺",geo:"EU"},CCPA:{flag:"🇺🇸",geo:"US"},"US State Laws":{flag:"🇺🇸",geo:"US"},"UK PECR":{flag:"🇬🇧",geo:"UK"},LGPD:{flag:"🇧🇷",geo:"Brazil"},PIPEDA:{flag:"🇨🇦",geo:"Canada"},POPIA:{flag:"🇿🇦",geo:"South Africa"}};function Qo(o){return o?Object.entries(o).filter(([,i])=>!!i).map(([i])=>i):[]}function Yo(o={}){const i=o.google_consent_default,c=o.facebook_consent_default,p=o.microsoft_consent_default;return{google:!!i&&Object.keys(i).length>0,facebook:!!c&&Object.keys(c).length>0,microsoft:!!p&&Object.keys(p).length>0,gpc:!!o.gpc_support,dnt:!!o.do_not_track}}function qo(o={}){const i=o.providers||[],c=i.length,p=i.filter(m=>!m.CategoryID).length,d=c-p;return{total:c,uncategorized:p,categorized:d,allCategorized:c>0&&p===0}}function yt({children:o,sidebar:i}){return t.jsxs("div",{className:"cn-page-layout",children:[t.jsx("div",{className:"cn-main",children:o}),i&&t.jsx("div",{className:"cn-sidebar",children:i})]})}function In({title:o,children:i}){return t.jsxs("div",{className:"cn-side-card",children:[o&&t.jsx("h3",{children:o}),i]})}function $e({variant:o="primary",size:i="md",children:c,...p}){return t.jsx("button",{className:`cn-button cn-button--${o} cn-button--${i}`,type:"button",...p,children:c})}function Ne({label:o,type:i="text",value:c,onChange:p,placeholder:d,options:m,error:g,helper:h,required:v,children:w,...j}){const S=j.id||`cn-field-${o==null?void 0:o.toLowerCase().replace(/\s+/g,"-")}`,L=()=>i==="textarea"?t.jsx("textarea",{id:S,className:`cn-form-field__input cn-form-field__textarea${g?" cn-form-field__input--error":""}`,value:c,onChange:D=>p==null?void 0:p(D.target.value),placeholder:d,...j}):i==="select"?t.jsx("select",{id:S,className:`cn-form-field__input cn-form-field__select${g?" cn-form-field__input--error":""}`,value:c,onChange:D=>p==null?void 0:p(D.target.value),...j,children:m==null?void 0:m.map(D=>t.jsx("option",{value:D.value,children:D.label},D.value))}):t.jsx("input",{id:S,type:i,className:`cn-form-field__input${g?" cn-form-field__input--error":""}`,value:c,onChange:D=>p==null?void 0:p(D.target.value),placeholder:d,...j});return t.jsxs("div",{className:"cn-form-field",children:[o&&t.jsxs("label",{className:"cn-form-field__label",htmlFor:S,children:[o,v&&t.jsx("span",{className:"cn-form-field__req",children:"*"})]}),w||L(),g&&t.jsx("div",{className:"cn-form-field__error",children:g}),h&&!g&&t.jsx("div",{className:"cn-form-field__helper",children:h})]})}function Fn(){return t.jsx("span",{className:"cn-pro-badge",children:"PRO"})}const Zo={basic:0,free:1,pro:2};function Xo({requiredTier:o="pro",children:i,message:c,onCta:p}){const{tier:d}=Ue();if(Zo[d]>=Zo[o])return i;const g=o==="free"?"Connect to Cookie Compliance to unlock this feature.":"Upgrade to Cookie Compliance Pro to unlock this feature.",h=o==="free"?"Connect Now":"Upgrade Now",v=p?t.jsx("button",{type:"button",onClick:p,className:`cn-button cn-button--${o==="free"?"primary":"upgrade"}`,children:h}):t.jsx("a",{href:o==="free"?"#":"https://cookie-compliance.co/pricing/",className:`cn-button cn-button--${o==="free"?"primary":"upgrade"}`,target:o==="pro"?"_blank":void 0,rel:o==="pro"?"noopener noreferrer":void 0,children:h});return t.jsxs("div",{className:"cn-tier-gate",children:[t.jsx("div",{className:"cn-tier-gate__content",children:i}),t.jsx("div",{className:"cn-tier-gate__overlay",children:t.jsxs("div",{className:"cn-tier-gate__cta",children:[o==="pro"&&t.jsx(Fn,{}),t.jsx("p",{children:c||g}),v]})})]})}const Ce={thumb:"_thumb_1g9ys_1",chrome:"_chrome_1g9ys_12",dot:"_dot_1g9ys_23",urlBar:"_urlBar_1g9ys_31",page:"_page_1g9ys_39",lines:"_lines_1g9ys_45",banner:"_banner_1g9ys_57","bar-bottom":"_bar-bottom_1g9ys_69","bar-top":"_bar-top_1g9ys_75",floating:"_floating_1g9ys_81",fixed:"_fixed_1g9ys_87","panel-left":"_panel-left_1g9ys_92","panel-right":"_panel-right_1g9ys_99",panelFloating:"_panelFloating_1g9ys_106",panelFixed:"_panelFixed_1g9ys_110",popup:"_popup_1g9ys_115",bannerHeader:"_bannerHeader_1g9ys_124",toolbarDots:"_toolbarDots_1g9ys_131",pills:"_pills_1g9ys_143",pill:"_pill_1g9ys_143",pillDot:"_pillDot_1g9ys_160",saveBtn:"_saveBtn_1g9ys_167",footerLinks:"_footerLinks_1g9ys_174",link:"_link_1g9ys_181","anim-slide-bottom":"_anim-slide-bottom_1g9ys_188",huPreviewSlideUp:"_huPreviewSlideUp_1g9ys_1","anim-slide-top":"_anim-slide-top_1g9ys_192",huPreviewSlideDown:"_huPreviewSlideDown_1g9ys_1","anim-slide-left":"_anim-slide-left_1g9ys_196",huPreviewSlideLeft:"_huPreviewSlideLeft_1g9ys_1","anim-slide-right":"_anim-slide-right_1g9ys_200",huPreviewSlideRight:"_huPreviewSlideRight_1g9ys_1","anim-slide-center":"_anim-slide-center_1g9ys_204",huPreviewScaleIn:"_huPreviewScaleIn_1g9ys_1","anim-fade":"_anim-fade_1g9ys_208",huPreviewFade:"_huPreviewFade_1g9ys_1"},Gu=["#c4c4c4","#d5b565","#9891b1"];function Ku(o){const i=o.replace("#",""),c=parseInt(i.slice(0,2),16),p=parseInt(i.slice(2,4),16),d=parseInt(i.slice(4,6),16);return(c*299+p*587+d*114)/1e3>155}function Jo({preset:o,isActive:i}){const{position:c="bottom",displayType:p="floating",bannerColor:d="#4d4d4d",primaryColor:m="#20c19e",btnBorderRadius:g="25px",animation:h="fade"}=o,v=Ku(d),w=v?"rgba(0,0,0,.25)":"rgba(255,255,255,.4)",j=v?"rgba(0,0,0,.18)":"rgba(255,255,255,.35)",S=c==="left"||c==="right",L=c==="center",D=p==="floating",T=Math.max(2,Math.round(parseInt(g)*.18))+"px",b=h==="slide"?Ce[`anim-slide-${c}`]:Ce["anim-fade"],k=[Ce.banner,S?Ce[`panel-${c}`]:null,S&&D?Ce.panelFloating:null,S&&!D?Ce.panelFixed:null,L?Ce.popup:null,!S&&!L?Ce[`bar-${c}`]:null,!S&&!L&&D?Ce.floating:null,!S&&!L&&!D?Ce.fixed:null,Ce[b]||b].filter(Boolean).join(" ");return t.jsxs("div",{className:Ce.thumb,children:[t.jsxs("div",{className:Ce.chrome,children:[t.jsx("span",{className:Ce.dot}),t.jsx("span",{className:Ce.dot}),t.jsx("span",{className:Ce.dot}),t.jsx("div",{className:Ce.urlBar})]}),t.jsxs("div",{className:Ce.page,children:[t.jsxs("div",{className:Ce.lines,children:[t.jsx("div",{style:{width:"75%"}}),t.jsx("div",{style:{width:"55%"}}),t.jsx("div",{style:{width:"65%"}}),t.jsx("div",{style:{width:"45%"}})]}),t.jsxs("div",{className:k,style:{backgroundColor:d},children:[t.jsx("div",{className:Ce.bannerHeader,children:t.jsxs("div",{className:Ce.toolbarDots,style:{"--dot-color":w},children:[t.jsx("span",{}),t.jsx("span",{}),t.jsx("span",{})]})}),t.jsx("div",{className:Ce.pills,children:Gu.map((E,M)=>t.jsx("div",{className:Ce.pill,style:{borderColor:E},children:t.jsx("span",{className:Ce.pillDot,style:{backgroundColor:E}})},M))}),t.jsx("div",{className:Ce.saveBtn,style:{backgroundColor:m,borderRadius:T}}),t.jsxs("div",{className:Ce.footerLinks,children:[t.jsx("div",{className:Ce.link,style:{background:j}}),t.jsx("div",{className:Ce.link,style:{background:j}})]})]})]})]})}const gr=[{key:"minimal",label:"Minimal",position:"left",displayType:"floating",bannerColor:"#f0f0f0",primaryColor:"#20c19e"},{key:"standard",label:"Standard",position:"bottom",displayType:"floating",bannerColor:"#2d3436",primaryColor:"#20c19e"},{key:"bold",label:"Bold",position:"top",displayType:"fixed",bannerColor:"#1a1a2e",primaryColor:"#20c19e"},{key:"popup",label:"Popup",position:"center",displayType:"floating",bannerColor:"#2c3e50",primaryColor:"#20c19e"},{key:"panel",label:"Side Panel",position:"right",displayType:"floating",bannerColor:"#34495e",primaryColor:"#3498db"},{key:"compact",label:"Compact",position:"top",displayType:"floating",bannerColor:"#1a1a2e",primaryColor:"#e67e22"}];function Qu(o){if(!o||!o.position)return null;const i=gr.find(c=>c.position===o.position&&(c.bannerColor||"").toLowerCase()===(o.bannerColor||"").toLowerCase()&&(c.primaryColor||"").toLowerCase()===(o.primaryColor||"").toLowerCase());return i?i.key:"custom"}const Yu={"left|floating":"Left Panel · Floating","bottom|floating":"Bottom Bar · Floating","top|fixed":"Top Bar · Fixed","center|floating":"Center Modal","right|floating":"Right Panel · Floating","top|floating":"Top Bar · Floating","bottom|fixed":"Bottom Bar · Fixed"};function ei(o,i){return Yu[`${o}|${i}`]||`${o} · ${i}`}const qu={google:"Google",facebook:"Facebook",microsoft:"Microsoft",gpc:"GPC",dnt:"DNT"},Zu=["google","facebook","microsoft","gpc","dnt"];function ni({appliedTemplateKey:o,onTemplateApplied:i,siteUrl:c,onOpenTrackers:p,autoblockingEnabled:d,onTabChange:m}){var N,I,ue,fe;const{isConnected:g}=Ue(),{dashboard:h}=vt(),{config:v}=At(),{openBannerWizard:w,openLawWizard:j,openConsentPanel:S,hasPlatformConfig:L}=mr(),D=gr.find(O=>O.key===o)||null,T=o?"ok":"warn",b=o?"Active":"No template set",k=D?`${D.label} · ${ei(D.position,D.displayType)}`:o?"Custom template":"Choose a template to go live",E=((N=h==null?void 0:h.appConfig)==null?void 0:N.regulations)||{},A=Qo(E).map(O=>Ms[O]||O),$=((I=h==null?void 0:h.appConfig)!=null&&I.language?Array.isArray(h.appConfig.language)?h.appConfig.language:[h.appConfig.language]:["en"]).length,V=`${$} language${$!==1?"s":""}`,Z=A.length,W=Z>0||L?"ok":"crit",Y=[...new Set(A.map(O=>{var ce;return(ce=Ko[O])==null?void 0:ce.geo}).filter(Boolean))],z=Z>0?`${Z} law${Z!==1?"s":""} · ${V}`:"No laws set",de=Z>0&&Y.length>0?`Covering ${Y.join(", ")}`:L?"Configured in portal":"Add your applicable laws below",_e=(v==null?void 0:v.blocking)||{},ie=Yo(_e),{total:J,uncategorized:se,allCategorized:he}=qo(_e),me=d!==void 0?!!d:!!((fe=(ue=window.cnReactData)==null?void 0:ue.options)!=null&&fe.app_blocking),G=se>0?"warn":me?"ok":"warn",le=se>0?`${se} uncategorized`:J>0?`${J} tracked`:"Protected",q=se>0?`${se} tracker${se!==1?"s":""} firing without consent`:me?he&&J>0?"All trackers categorized ✓":"Consent modes active":"Autoblocking off — trackers may fire unblocked";return t.jsxs("div",{className:"cn-card-grid cn-card-grid--3",children:[t.jsxs("div",{className:"cn-card",children:[t.jsxs("div",{className:"cn-card__top",children:[t.jsx("div",{className:"cn-card__icon",children:t.jsxs("svg",{viewBox:"0 0 22 22",fill:"none",width:"22",height:"22","aria-hidden":"true",children:[t.jsx("rect",{x:"3",y:"4",width:"16",height:"10",rx:"2",stroke:`var(--cn-${T}-icon)`,strokeWidth:"1.5"}),t.jsx("line",{x1:"7",y1:"19",x2:"15",y2:"19",stroke:`var(--cn-${T}-icon)`,strokeWidth:"1.5",strokeLinecap:"round"}),t.jsx("line",{x1:"11",y1:"14",x2:"11",y2:"19",stroke:`var(--cn-${T}-icon)`,strokeWidth:"1.2"})]})}),t.jsx("div",{className:`cn-card__dot cn-card__dot--${T}`})]}),D&&t.jsx("div",{className:"cn-card__preview",children:t.jsx(Jo,{preset:D})}),t.jsx("div",{className:`cn-card__main cn-card__main--${T}`,children:b}),t.jsx("div",{className:"cn-card__sub",children:k}),t.jsxs("div",{className:"cn-card__foot",children:[c&&o&&t.jsx("a",{href:`${c}?cn_preview=1`,target:"_blank",rel:"noreferrer",children:"Preview →"}),g&&o&&!D?t.jsx("a",{href:`${Qe}/#/configuration`,target:"_blank",rel:"noopener noreferrer",children:"Edit in portal →"}):t.jsxs(t.Fragment,{children:[t.jsxs("button",{type:"button",onClick:()=>w(),children:[o?"Change template":"Choose template"," →"]}),t.jsx("a",{href:`${Qe}/#/configuration`,target:"_blank",rel:"noopener noreferrer",children:"Edit colors & text →"})]})]})]}),t.jsxs("div",{className:`cn-card${W==="crit"?" cn-card--crit":""}`,children:[t.jsxs("div",{className:"cn-card__top",children:[t.jsx("div",{className:"cn-card__icon",children:t.jsxs("svg",{viewBox:"0 0 22 22",fill:"none",width:"22",height:"22","aria-hidden":"true",children:[t.jsx("path",{d:"M11 2v18M5 7h12M4 7l2.5 7h9L18 7",stroke:`var(--cn-${W}-icon)`,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.jsx("circle",{cx:"7",cy:"14",r:"3",stroke:`var(--cn-${W}-icon)`,strokeWidth:"1.2"}),t.jsx("circle",{cx:"15",cy:"14",r:"3",stroke:`var(--cn-${W}-icon)`,strokeWidth:"1.2"})]})}),t.jsx("div",{className:`cn-card__dot cn-card__dot--${W}`})]}),t.jsx("div",{className:`cn-card__main cn-card__main--${W}`,children:z}),t.jsx("div",{className:"cn-card__sub",children:de}),t.jsx("div",{className:"cn-card__pills",children:A.map(O=>{const ce=Ko[O];return t.jsxs("span",{className:"cn-card__pill cn-card__pill--ok",children:[ce?`${ce.flag} `:"",O]},O)})}),t.jsxs("div",{className:"cn-card__foot",children:[t.jsxs("button",{type:"button",onClick:()=>j(),children:[Z>0?"Edit laws":"Add laws"," →"]}),t.jsx("a",{href:`${Qe}/#/languages`,target:"_blank",rel:"noopener noreferrer",children:"Manage Languages ↗"})]})]}),t.jsxs("div",{className:`cn-card${G==="warn"?" cn-card--warn":""}`,children:[t.jsxs("div",{className:"cn-card__top",children:[t.jsx("div",{className:"cn-card__icon",children:t.jsxs("svg",{viewBox:"0 0 22 22",fill:"none",width:"22",height:"22","aria-hidden":"true",children:[t.jsx("path",{d:"M11 2L3 5.5v5C3 15.09 6.36 19.5 11 21c4.64-1.5 8-5.91 8-10.5v-5L11 2z",stroke:`var(--cn-${G}-icon)`,strokeWidth:"1.5",strokeLinejoin:"round"}),G==="ok"?t.jsx("polyline",{points:"7.5,11 10,13.5 14.5,9",stroke:`var(--cn-${G}-icon)`,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}):t.jsxs(t.Fragment,{children:[t.jsx("line",{x1:"11",y1:"8",x2:"11",y2:"12",stroke:`var(--cn-${G}-icon)`,strokeWidth:"1.8",strokeLinecap:"round"}),t.jsx("circle",{cx:"11",cy:"14.5",r:".8",fill:`var(--cn-${G}-icon)`})]})]})}),t.jsx("div",{className:`cn-card__dot cn-card__dot--${G}`})]}),t.jsx("div",{className:`cn-card__main cn-card__main--${G}`,children:le}),t.jsx("div",{className:`cn-card__sub${G==="warn"?" cn-card__sub--warn":""}`,children:q}),t.jsx("div",{className:"cn-card__pills",children:Zu.filter(O=>!!ie[O]).map(O=>t.jsx("span",{className:"cn-card__pill cn-card__pill--ok",children:qu[O]},O))}),t.jsxs("div",{className:"cn-card__foot",children:[t.jsx("button",{type:"button",onClick:()=>S(),children:"Consent modes →"}),p&&t.jsx("button",{type:"button",onClick:()=>p(),children:"View Trackers →"}),!me&&m&&t.jsx("button",{type:"button",onClick:()=>{m("settings"),setTimeout(()=>{const O=document.getElementById("cn-compliance-behavior");O&&O.scrollIntoView({behavior:"smooth",block:"start"})},80)},children:"Configure autoblocking →"}),t.jsx("a",{href:`${Qe}/#/autoblocking`,target:"_blank",rel:"noopener noreferrer",children:"Manage in portal ↗"})]})]})]})}function dl({showPortalLink:o=!0,addNotice:i}){var $,V,Z,W,Y;const{isPro:c,isConnected:p}=Ue(),{dashboard:d}=vt(),m=(($=window.cnReactData)==null?void 0:$.lastSynced)||"",[g,h]=x.useState(!1),[v,w]=x.useState(null),[j,S]=x.useState(((Z=(V=window.cnReactData)==null?void 0:V.options)==null?void 0:Z.app_id)||""),[L,D]=x.useState(((Y=(W=window.cnReactData)==null?void 0:W.options)==null?void 0:Y.app_key)||""),[T,b]=x.useState(!1),[k,E]=x.useState(""),M=d!=null&&d.domainUrl?(()=>{try{return new URL(d.domainUrl).hostname}catch{return window.location.hostname}})():window.location.hostname,A=async()=>{h(!0),w(null);try{await Hu(),w("success"),i&&i("Configuration synced. Reloading…","success"),setTimeout(()=>window.location.reload(),800)}catch(z){w("error"),i&&i(z.message||"Sync failed. Please try again.","error"),h(!1)}},H=async()=>{b(!0),E("");try{await zs({app_id:j,app_key:L});try{const z=await Mn("sync_config");if(z!=null&&z.success){try{await As()}catch{}try{localStorage.setItem(Ts(j),"1"),localStorage.setItem(Rs(j),"1")}catch{}}}catch{}window.location.reload()}catch(z){E(z.message||"Save failed"),b(!1)}};return t.jsxs(In,{title:"Domain Info",children:[t.jsxs("div",{className:"cn-dom-rows",children:[t.jsxs("div",{className:"cn-dom-row",children:[t.jsx("span",{className:"cn-dom-row__k",children:"Domain"}),t.jsx("span",{className:"cn-dom-row__v",children:M})]}),t.jsxs("div",{className:"cn-dom-row",children:[t.jsx("span",{className:"cn-dom-row__k",children:"Protection"}),t.jsx("span",{className:"cn-dom-row__v",children:p?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"cn-dot cn-dot--green"})," Active"]}):t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"cn-dot cn-dot--gray"})," Not Connected"]})})]}),t.jsxs("div",{className:"cn-dom-row",children:[t.jsx("span",{className:"cn-dom-row__k",children:"Plan"}),t.jsx("span",{className:"cn-dom-row__v",children:c?t.jsxs(t.Fragment,{children:["Pro ",t.jsx(Fn,{})]}):"Free Plan"})]})]}),t.jsxs("div",{className:"cn-dom-credentials",children:[t.jsx(Ne,{label:"App ID",value:j,onChange:S,placeholder:"Your application ID",autoComplete:"off"}),t.jsx(Ne,{label:"App Key",type:"password",value:L,onChange:D,placeholder:"Your application key",autoComplete:"new-password"}),k&&t.jsx("div",{className:"cn-conn-error",children:k}),t.jsx($e,{variant:"primary",onClick:H,disabled:T,children:T?"Saving…":"Save and Connect"})]}),t.jsxs("div",{className:"cn-pull-config",children:[t.jsxs("div",{className:"cn-pull-config__row",children:[t.jsx($e,{variant:"secondary",onClick:A,disabled:g,children:g?"Syncing…":"Pull Configuration"}),t.jsx("span",{className:"cn-pull-config__timestamp",children:m?`Last synced (UTC): ${m}`:"Not synced yet"})]}),v==="error"&&t.jsx("p",{className:"cn-pull-config__desc cn-pull-config__desc--error",children:"Sync failed. Please try again."}),!v&&t.jsx("p",{className:"cn-pull-config__desc",children:"Manually pull the latest configuration including autoblocking. Syncs automatically every 24 hours."})]}),o&&c&&t.jsx("a",{className:"cn-dom-link",href:`${Qe}/#/configuration`,target:"_blank",rel:"noopener noreferrer",children:"Advanced Configuration →"})]})}function ti(){var k,E;const{tier:o}=Ue(),{dashboard:i}=vt(),[c,p]=x.useState(()=>new Set),d=x.useCallback(M=>{p(A=>new Set([...A,M]))},[]),m=((k=window.cnReactData)==null?void 0:k.notificationRules)||[],g=i===null,h=(E=i==null?void 0:i.analytics)==null?void 0:E.cycleUsage,v=(h==null?void 0:h.visits)||0,w=(h==null?void 0:h.threshold)||0,j=w>0?v/w*100:0,S=o==="free"&&w>0&&v>=w,L=o==="free"&&w>0&&v>=w*.7&&v<w,D=x.useMemo(()=>{var A,H;if(g)return{};const M={};for(const $ of m){if((A=$.condition)!=null&&A.tier&&$.condition.tier!==o)continue;if((H=$.condition)!=null&&H.usagePercent){const[Z,W]=$.condition.usagePercent;if(Z!==null&&j<Z||W!==null&&j>=W)continue}if(c.has($.id))continue;const V=M[$.slot];(!V||$.priority>V.priority)&&(M[$.slot]=$)}return M},[g,m,o,j,c]);function T(M){return M&&M.replace(/\{sessionTotal\}/g,w.toLocaleString()).replace(/\{sessionUsed\}/g,v.toLocaleString()).replace(/\{usagePercent\}/g,String(Math.round(j)))}function b(M){return M?{...M,title:T(M.title),description:T(M.description),headline:T(M.headline)}:null}return{topBar:b(D.topBar||null),sidebar:b(D.sidebar||null),dismiss:d,thresholdLocked:S,isNearLimit:L}}function ri({onOpenPricingModal:o}){const{sidebar:i}=ti();return i?t.jsx(In,{title:"Upgrade to Pro",children:t.jsxs("div",{className:"cn-upsell-card",children:[t.jsx("p",{className:"cn-upsell-card__headline",children:i.headline}),t.jsx("ul",{className:"cn-upsell-card__features",children:i.features.map(c=>t.jsx("li",{children:c},c))}),t.jsx("button",{type:"button",className:"cn-button cn-button--upgrade cn-button--sm cn-upsell-card__cta",onClick:()=>o&&o(),children:i.cta.label})]})}):null}function Xu({onActivate:o}){return t.jsxs("div",{className:"cn-score-hero",children:[t.jsx("div",{className:"cn-score-hero__icon","aria-hidden":"true",children:t.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[t.jsx("circle",{cx:"12",cy:"12",r:"10"}),t.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),t.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})}),t.jsxs("div",{className:"cn-score-hero__body",children:[t.jsx("div",{className:"cn-score-hero__title",children:"You have a banner. Not compliance."}),t.jsx("div",{className:"cn-score-hero__summary",children:"A banner tells visitors about cookies. Compliance actually enforces the law."}),t.jsx("div",{className:"cn-score-hero__sub",children:"Free · Takes 60 seconds · No credit card"})]}),t.jsx("div",{className:"cn-score-hero__actions",children:t.jsx("button",{type:"button",className:"cn-score-hero__cta",onClick:o,children:"Activate Compliance →"})})]})}function Ju({sessionUsed:o=0,sessionTotal:i=0,activeLawsCount:c=0,uncategorizedScripts:p=0,autoblockingEnabled:d=!0}){const{tier:m,isPro:g}=Ue(),v={basic:"Connect your site to unlock compliance features.",pro:c===0?"No regulations selected — add laws to activate consent enforcement":d?p>0?`${p} uncategorized tracker${p!==1?"s":""} need review`:"All protections active — trackers blocked, consent recorded":"Autoblocking disabled — trackers may load before consent"},w=t.jsxs(t.Fragment,{children:["Your visitors","’"," choices are being recorded ","—"," trackers are blocked."]});return t.jsxs("div",{className:"cn-protection-header",children:[t.jsx("h1",{className:"cn-protection-header__title",children:"Your Compliance Dashboard"}),t.jsxs("p",{className:"cn-protection-header__subtitle",children:[m==="free"?w:v[m]||"",g&&t.jsxs(t.Fragment,{children:[" ",t.jsx(Fn,{})]})]})]})}const Is=3;function li({onApply:o}){const[i,c]=x.useState(null),[p,d]=x.useState(!1),[m,g]=x.useState(""),[h,v]=x.useState(""),[w,j]=x.useState(0),S=Math.ceil(gr.length/Is),L=gr.slice(w*Is,(w+1)*Is),D=async T=>{c(T.key),d(!0),g(""),v("");try{const b=await Bu(T.key);b.warning&&g(b.warning),o&&o(T)}catch(b){c(null),v(b.message||"Failed to apply template. Please try again.")}finally{d(!1)}};return t.jsxs("div",{className:"cn-template-presets",children:[t.jsx("span",{className:"cn-section-label",children:"Choose a Template"}),m&&t.jsx("div",{className:"cn-template-presets__warning",children:m}),h&&t.jsx("div",{className:"cn-template-presets__error",children:h}),t.jsx("div",{className:"cn-template-presets__grid",children:L.map(T=>t.jsxs("div",{className:"cn-template-presets__card"+(i===T.key?" cn-template-presets__card--active":"")+(p?" cn-template-presets__card--loading":""),onClick:()=>!p&&D(T),children:[t.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"120px"},children:t.jsx(Jo,{preset:T,isActive:i===T.key})}),t.jsx("div",{className:"cn-template-presets__label",children:T.label}),t.jsx("div",{className:"cn-template-card__descriptor",children:ei(T.position,T.displayType)})]},T.key))},w),S>1&&t.jsxs("div",{className:"cn-template-presets__pagination",children:[t.jsx("button",{className:"cn-template-presets__page-btn",disabled:w===0,onClick:()=>j(w-1),"aria-label":"Previous page",children:"‹"}),t.jsxs("span",{className:"cn-template-presets__page-count",children:["Page ",w+1," of ",S," (",gr.length," templates)"]}),t.jsx("button",{className:"cn-template-presets__page-btn",disabled:w===S-1,onClick:()=>j(w+1),"aria-label":"Next page",children:"›"})]})]})}const xe={container:"_container_nva6m_2",grid:"_grid_nva6m_8",card:"_card_nva6m_16",cardSelected:"_cardSelected_nva6m_32",geoArt:"_geoArt_nva6m_38",lawName:"_lawName_nva6m_47",jurisdiction:"_jurisdiction_nva6m_54",hiddenCheckbox:"_hiddenCheckbox_nva6m_60",checkmark:"_checkmark_nva6m_72",autoBadge:"_autoBadge_nva6m_88",detail:"_detail_nva6m_102",detailHeader:"_detailHeader_nva6m_112",detailTitle:"_detailTitle_nva6m_119",detailJurisdiction:"_detailJurisdiction_nva6m_125",detailClose:"_detailClose_nva6m_131",detailSection:"_detailSection_nva6m_144",detailSectionLabel:"_detailSectionLabel_nva6m_148",detailOverview:"_detailOverview_nva6m_157",detailList:"_detailList_nva6m_163",detailListItem:"_detailListItem_nva6m_172",detailEnforcement:"_detailEnforcement_nva6m_188",detailEmpty:"_detailEmpty_nva6m_197",detailEmptyArrow:"_detailEmptyArrow_nva6m_208",detailEmptyText:"_detailEmptyText_nva6m_215",detailDnsHelp:"_detailDnsHelp_nva6m_222",dnsInput:"_dnsInput_nva6m_263"},Fs=[{key:"gdpr",name:"GDPR",jurisdiction:"European Union",description:"General Data Protection Regulation",locales:["de","fr","it","es","nl","pl","pt","sv","el","de_DE","fr_FR","it_IT","es_ES","nl_NL","pl_PL","pt_PT","sv_SE","el_GR","da_DK","fi","ro_RO","bg_BG","cs_CZ","et","hr","hu_HU","lt_LT","lv","sk_SK","sl_SI"],overview:"The EU’s gold standard for data privacy. Applies to any site with visitors from the 27 EU member states — regardless of where your business is based.",requirements:["Prior, informed consent before any non-essential cookies","Clear opt-out that’s as easy as opting in","Right to erasure (‘be forgotten’) on request","Data processing records & DPO for large processors"],product:["Consent banner with granular category controls","Consent proof stored per visitor","GDPR-mode autoblocking holds scripts until consent"],enforcement:"Fines up to €20M or 4% of global annual revenue. Enforced by national DPAs."},{key:"ccpa",name:"CCPA / CPRA",jurisdiction:"California, USA",description:"California Consumer Privacy Act",locales:["en_US"],overview:"California’s comprehensive privacy law, upgraded by CPRA in 2023. If you serve California residents, it applies — even if you’re outside the US.",requirements:["Opt-out of sale or sharing of personal data","Honor Global Privacy Control (GPC) signals automatically","Annual privacy policy updates","Right to know, delete, and correct personal data"],product:["GPC signal detection and automatic opt-out","Do Not Sell link insertion","Consent-mode compatible analytics opt-out"],enforcement:"Fines up to $7,500 per intentional violation. Enforced by the California Privacy Protection Agency."},{key:"otherus",name:"US State Laws",jurisdiction:"United States",description:"Virginia, Colorado, Connecticut, and more",locales:["en_US"],overview:"Virginia, Colorado, Connecticut, Utah, Montana, Texas, Oregon, and more have passed comprehensive privacy laws. The landscape is evolving fast.",requirements:["Consent for sensitive data processing","Universal opt-out mechanism support (like GPC)","Right to access, correct, delete, and opt out of targeted advertising","Data protection assessments for high-risk processing"],product:["State-specific banner rules via geolocation","Opt-out of targeted advertising flow","Consent records per jurisdiction"],enforcement:"Fines from $7,500–$20,000 per violation depending on state. Enforced by state attorneys general."},{key:"ukpecr",name:"UK PECR",jurisdiction:"United Kingdom",description:"Privacy and Electronic Communications Regulations",locales:["en_GB"],overview:"The UK’s post-Brexit equivalent to GDPR’s cookie rules. Applies to any site with UK visitors. Enforced by the ICO, which has been increasingly active.",requirements:["Prior consent for analytics and marketing cookies","Clear information about what cookies do","Easy withdrawal of consent","Legitimate interest cannot be used for tracking cookies"],product:["UK-specific consent banner variant","ICO-compliant consent language","Consent proof storage"],enforcement:"Fines up to £17.5M or 4% of global turnover. Enforced by the ICO."},{key:"lgpd",name:"LGPD",jurisdiction:"Brazil",description:"Lei Geral de Proteção de Dados",locales:["pt_BR"],overview:"Brazil’s General Data Protection Law covers 214 million people. Modeled on GDPR, it requires a lawful basis for processing and strong user rights.",requirements:["Valid lawful basis for each data processing activity","Clear, granular consent for non-essential cookies","Right to access, correct, delete, and revoke consent","Report breaches within 2 business days"],product:["LGPD-mode consent banner with Portuguese language support","Consent revocation flow","Breach-ready consent audit trail"],enforcement:"Fines up to 2% of Brazil revenue, capped at R$50M per violation. Enforced by the ANPD."},{key:"pipeda",name:"PIPEDA",jurisdiction:"Canada",description:"Personal Information Protection and Electronic Documents Act",locales:["en_CA","fr_CA"],overview:"Canada’s federal privacy law. Bill C-27 (CPPA) reform is underway and will bring requirements closer to GDPR. Applies to commercial activity across Canada.",requirements:["Express consent for collection, use, and disclosure of personal data","Privacy policy clearly explaining data use","Individual access and correction rights","Breach reporting to the Privacy Commissioner"],product:["PIPEDA-compliant consent banner","English + French bilingual support","Consent records with timestamps"],enforcement:"Fines up to CAD $100,000. Enforced by the Office of the Privacy Commissioner of Canada."},{key:"popia",name:"POPIA",jurisdiction:"South Africa",description:"Protection of Personal Information Act",locales:["af_ZA"],overview:"South Africa’s Protection of Personal Information Act took full effect in 2021. Applies to any business processing data about South African residents.",requirements:["Lawful basis for all personal information processing","Consent for direct marketing and cookie use","Data subject rights: access, correction, deletion","Appoint an Information Officer"],product:["POPIA-compliant consent banner","Afrikaans language support","Consent audit trail"],enforcement:"Fines up to ZAR 10M or 10 years imprisonment. Enforced by the Information Regulator."}];function ed(o){if(!o)return[];const i=o.toLowerCase(),c=i.split("_")[0];return Fs.filter(p=>p.locales.some(d=>d.toLowerCase()===i||d.toLowerCase()===c)).map(p=>p.key)}const nd=["M40.00,4.80L40.75,6.96L43.04,7.01L41.22,8.40L41.88,10.59L40.00,9.28L38.12,10.59L38.78,8.40L36.96,7.01L39.25,6.96Z","M50.60,7.64L50.17,9.89L52.13,11.08L49.86,11.36L49.33,13.59L48.36,11.52L46.08,11.71L47.75,10.15L46.86,8.03L48.87,9.14Z","M58.36,15.40L56.86,17.13L57.97,19.14L55.85,18.25L54.29,19.92L54.48,17.64L52.41,16.67L54.64,16.14L54.92,13.87L56.11,15.83Z","M61.20,26.00L59.04,26.75L58.99,29.04L57.60,27.22L55.41,27.88L56.72,26.00L55.41,24.12L57.60,24.78L58.99,22.96L59.04,25.25Z","M58.36,36.60L56.11,36.17L54.92,38.13L54.64,35.86L52.41,35.33L54.48,34.36L54.29,32.08L55.85,33.75L57.97,32.86L56.86,34.87Z","M50.60,44.36L48.87,42.86L46.86,43.97L47.75,41.85L46.08,40.29L48.36,40.48L49.33,38.41L49.86,40.64L52.13,40.92L50.17,42.11Z","M40.00,47.20L39.25,45.04L36.96,44.99L38.78,43.60L38.12,41.41L40.00,42.72L41.88,41.41L41.22,43.60L43.04,44.99L40.75,45.04Z","M29.40,44.36L29.83,42.11L27.87,40.92L30.14,40.64L30.67,38.41L31.64,40.48L33.92,40.29L32.25,41.85L33.14,43.97L31.13,42.86Z","M21.64,36.60L23.14,34.87L22.03,32.86L24.15,33.75L25.71,32.08L25.52,34.36L27.59,35.33L25.36,35.86L25.08,38.13L23.89,36.17Z","M18.80,26.00L20.96,25.25L21.01,22.96L22.40,24.78L24.59,24.12L23.28,26.00L24.59,27.88L22.40,27.22L21.01,29.04L20.96,26.75Z","M21.64,15.40L23.89,15.83L25.08,13.87L25.36,16.14L27.59,16.67L25.52,17.64L25.71,19.92L24.15,18.25L22.03,19.14L23.14,17.13Z","M29.40,7.64L31.13,9.14L33.14,8.03L32.25,10.15L33.92,11.71L31.64,11.52L30.67,13.59L30.14,11.36L27.87,11.08L29.83,9.89Z"];function td(){return t.jsx("svg",{viewBox:"0 0 80 52",fill:"none",style:{width:"100%",height:"auto"},children:nd.map((o,i)=>t.jsx("path",{d:o,fill:"#20c19e",opacity:"0.9"},i))})}function rd(){return t.jsx("svg",{viewBox:"0 0 80 52",style:{width:"100%",height:"auto"},children:t.jsx("path",{d:"M37.513,42.904L38.238,43.379L37.825,43.645ZM37.052,44.75L37.717,45.823L37.272,45.618ZM35.977,42.471L35.977,42.471L35.977,42.471ZM35.268,39.936L35.268,39.936L35.268,39.936ZM33.989,42.904L33.989,42.904L33.989,42.904ZM33.676,39.32L34.798,39.964L33.73,39.76ZM32.497,39.347L33.222,39.384L32.807,39.892ZM31.86,39.021L31.86,39.021L31.86,39.021ZM29.205,3L32.401,3.908L38.713,5.758L41.841,6.576L41.84,6.58L38.653,18.933L41.444,23.13L44.007,26.988L48.051,33.092L52.339,39.534L52.222,40.059L52.645,40.847L52.88,42.027L53.42,42.959L52.253,43.484L51.779,44.08L51.723,45.075L51.378,45.722L50.695,46.134L50.495,47.457L51.101,47.842L50.851,48.976L50.148,49L41.666,47.998L41.371,47.343L41.515,45.403L41.115,44.386L39.247,42.072L38.422,41.969L38.28,40.638L37.359,40.575L36.115,39.635L36.034,39.084L35.246,38.245L34.184,37.993L33.352,37.495L32.221,37.309L31.791,36.609L32.419,34.386L31.689,33.643L31.931,33.211L30.973,31.644L30.057,29.011L29.65,28.484L29.661,27.639L30.53,26.451L30.232,25.596L29.675,25.538L28.998,24.284L29.024,22.847L29.328,21.783L29.707,21.754L29.599,22.695L30.309,23.509L30.302,22.525L29.816,21.111L30.434,20.929L30.14,20.407L29.328,21.612L28.616,20.617L28.022,20.414L28.453,19.444L28.184,18.476L27.692,17.819L26.886,15.851L27.158,15.473L27.119,14.107L27.54,13.351L27.621,12.162L26.58,9.935L26.661,9.167L27.876,7.733L28.302,6.532L28.962,5.414L29.033,4.098L28.808,3.838Z",fill:"rgba(32,193,158,0.15)",stroke:"#20c19e",strokeWidth:1.2,strokeLinejoin:"round"})})}function ld(){return t.jsx("div",{style:{width:46,height:46,margin:"0 auto"},children:t.jsx("div",{"data-geo":"us",style:{width:"100%",height:"100%",lineHeight:0},dangerouslySetInnerHTML:{__html:`<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||
width="100%" height="100%" viewBox="0 0 1024.000000 1024.000000"
|
||
preserveAspectRatio="xMidYMid meet">
|
||
<metadata>
|
||
Created by potrace 1.10, written by Peter Selinger 2001-2011
|
||
</metadata>
|
||
<g transform="translate(0.000000,1024.000000) scale(0.100000,-0.100000)"
|
||
fill="rgba(32,193,158,0.15)" stroke="none">
|
||
<path d="M9767 8370 l-55 -50 -25 20 c-25 20 -26 20 -36 2 -26 -48 -43 -197
|
||
-36 -309 5 -92 4 -117 -10 -142 -10 -21 -14 -43 -9 -65 9 -49 -3 -76 -40 -91
|
||
-37 -16 -52 -31 -57 -59 -5 -24 -97 -65 -358 -160 -101 -37 -195 -74 -208 -83
|
||
-32 -21 -71 -89 -93 -164 -11 -34 -33 -79 -50 -100 -16 -21 -30 -40 -30 -43 0
|
||
-3 18 -9 40 -12 43 -7 51 -26 28 -64 -10 -16 -9 -23 11 -43 l22 -25 -33 -31
|
||
c-18 -18 -75 -53 -125 -77 -73 -36 -105 -46 -151 -48 -43 -2 -74 -11 -120 -36
|
||
-37 -19 -59 -37 -55 -44 3 -6 19 -28 35 -48 21 -27 27 -44 23 -59 -11 -33
|
||
-204 -228 -265 -267 -30 -20 -86 -65 -125 -102 -70 -67 -186 -143 -238 -156
|
||
-18 -4 -34 -1 -45 8 -9 9 -35 18 -56 21 -22 4 -46 13 -54 21 -13 13 -13 18 2
|
||
41 11 17 21 60 26 113 10 107 15 120 49 129 55 13 54 50 -4 168 -77 156 -96
|
||
165 -162 74 -54 -76 -84 -86 -98 -32 -4 19 0 35 16 56 25 34 49 116 49 168 0
|
||
21 -8 47 -20 62 -11 14 -20 38 -20 54 0 28 -3 30 -92 57 -51 15 -106 32 -122
|
||
36 -33 11 -60 0 -77 -32 -9 -17 -8 -23 6 -31 17 -9 17 -11 -3 -26 -17 -12 -23
|
||
-29 -25 -73 -2 -32 -7 -61 -11 -65 -10 -10 -39 10 -52 35 -10 20 -13 19 -49
|
||
-29 l-39 -51 0 -138 c-1 -125 1 -141 20 -167 60 -81 75 -165 50 -283 -23 -107
|
||
-61 -178 -110 -203 -35 -18 -41 -19 -65 -6 -47 27 -83 100 -91 187 -4 42 -17
|
||
110 -30 150 -19 62 -21 80 -12 115 6 23 13 85 16 137 3 68 12 115 30 166 14
|
||
39 26 77 26 84 0 23 -29 -10 -61 -71 -33 -61 -65 -97 -76 -85 -16 15 28 174
|
||
74 266 26 52 48 97 50 99 1 2 9 -2 17 -8 10 -8 16 -9 21 -1 9 14 45 13 45 -2
|
||
0 -7 10 -1 23 13 12 14 51 48 86 74 70 52 66 51 179 19 19 -5 22 -3 22 21 0
|
||
23 3 25 23 19 63 -21 84 -1 33 34 -30 21 -37 22 -78 11 -38 -11 -48 -10 -71 6
|
||
-19 12 -27 26 -27 45 l0 28 -81 -31 c-49 -19 -99 -47 -125 -70 -41 -36 -48
|
||
-39 -87 -33 -23 3 -79 25 -125 48 -70 36 -86 40 -102 30 -31 -19 -40 -14 -40
|
||
20 0 24 10 41 47 77 27 25 42 46 35 49 -32 10 -91 -26 -183 -114 -54 -52 -103
|
||
-94 -110 -94 -7 0 -28 -14 -46 -32 -29 -28 -41 -33 -98 -36 l-65 -4 0 31 c0
|
||
37 -4 37 -72 11 -50 -19 -128 -27 -128 -14 0 3 23 32 52 63 28 31 66 79 84
|
||
106 44 68 77 97 159 138 l70 35 -47 7 c-27 4 -63 4 -82 1 -19 -4 -45 -1 -60 5
|
||
-21 10 -33 9 -63 -5 -37 -16 -39 -16 -108 13 -44 19 -74 26 -80 20 -16 -16
|
||
-24 -10 -40 27 -11 28 -19 35 -32 30 -10 -4 -49 -11 -88 -16 -59 -7 -73 -6
|
||
-88 8 -12 10 -42 18 -83 20 l-65 4 -29 52 c-50 88 -46 85 -63 43 -10 -23 -26
|
||
-41 -42 -47 -74 -28 -1122 -43 -1470 -21 -998 62 -1967 243 -2867 534 -76 25
|
||
-138 43 -138 40 0 -2 11 -21 25 -41 29 -43 30 -50 9 -73 -15 -17 -15 -22 0
|
||
-65 22 -64 20 -83 -9 -110 -17 -16 -25 -34 -25 -57 0 -18 -6 -40 -12 -49 -15
|
||
-18 -66 -52 -90 -61 -23 -8 -58 28 -58 59 0 20 6 23 41 26 56 4 74 31 40 59
|
||
l-24 20 23 24 c23 24 23 25 4 46 -10 11 -60 40 -110 64 -50 24 -104 55 -121
|
||
69 l-31 26 -11 -28 c-9 -21 -9 -50 -2 -113 6 -46 11 -109 11 -140 0 -37 5 -59
|
||
13 -62 8 -3 6 -9 -8 -20 -20 -15 -20 -16 -1 -47 18 -32 18 -32 -3 -61 -27 -36
|
||
-26 -43 4 -63 35 -23 31 -34 -11 -38 -37 -3 -37 -4 -59 -78 -12 -41 -35 -102
|
||
-52 -135 -17 -33 -45 -97 -62 -142 -18 -44 -54 -118 -82 -164 -107 -178 -116
|
||
-206 -139 -418 -4 -41 -5 -91 -3 -112 9 -61 -25 -164 -70 -215 -54 -62 -58
|
||
-97 -17 -186 l33 -72 -18 -111 c-21 -128 -17 -160 27 -242 28 -52 30 -62 20
|
||
-97 -13 -49 -1 -82 33 -98 20 -9 28 -8 44 6 17 16 19 16 25 -6 3 -13 6 -38 6
|
||
-57 0 -25 -4 -32 -14 -28 -11 5 -17 -5 -22 -38 -10 -72 1 -107 51 -154 25 -23
|
||
45 -45 45 -49 0 -4 -11 -25 -25 -46 l-24 -39 28 -56 c16 -31 32 -75 36 -98 3
|
||
-23 19 -60 35 -81 16 -22 40 -69 55 -106 23 -58 25 -74 19 -135 l-6 -70 33
|
||
-20 c19 -12 60 -28 92 -37 50 -15 65 -25 119 -86 36 -41 81 -79 109 -93 32
|
||
-17 49 -32 51 -47 2 -12 19 -32 38 -45 70 -44 86 -62 119 -128 21 -44 33 -85
|
||
34 -116 1 -28 7 -51 15 -53 6 -3 12 -16 12 -30 0 -29 -17 -24 265 -71 149 -25
|
||
212 -39 218 -50 11 -20 78 -63 311 -197 105 -61 220 -132 256 -158 36 -26 83
|
||
-57 105 -68 52 -25 195 -58 315 -71 177 -19 370 -34 376 -29 3 3 6 30 7 58 l2
|
||
53 150 -7 c83 -3 166 -10 186 -15 44 -10 149 -110 164 -155 7 -20 29 -43 67
|
||
-68 31 -21 68 -53 83 -72 32 -43 75 -147 75 -184 0 -33 40 -92 93 -139 50 -44
|
||
166 -111 205 -119 30 -6 37 -2 100 64 41 44 86 79 114 92 43 19 54 20 115 9
|
||
64 -10 71 -15 124 -69 30 -32 100 -127 154 -211 58 -90 120 -175 151 -204 58
|
||
-55 75 -90 123 -242 36 -117 44 -125 141 -146 36 -8 79 -22 95 -31 17 -9 46
|
||
-16 66 -16 21 0 47 -8 62 -20 26 -21 63 -26 85 -11 11 7 11 9 -2 14 -9 4 -16
|
||
18 -16 33 0 15 -12 62 -27 105 -24 73 -25 82 -13 120 13 39 13 42 -10 59 l-24
|
||
18 32 30 c36 34 38 39 17 69 -14 20 -14 23 5 36 11 7 27 30 35 51 9 20 20 34
|
||
26 30 14 -9 48 24 65 64 10 26 18 32 32 28 33 -11 52 3 46 32 l-5 27 73 1 c46
|
||
0 84 6 104 17 74 39 164 169 143 208 -12 24 -6 35 31 54 28 15 29 14 40 -20 6
|
||
-19 16 -37 21 -40 5 -4 42 10 81 30 40 19 105 42 143 50 66 13 75 13 135 -5
|
||
36 -11 83 -20 105 -20 34 0 44 5 68 35 32 40 48 42 112 15 26 -11 49 -20 51
|
||
-20 3 0 -7 22 -23 49 -31 56 -28 66 11 51 34 -13 56 -63 56 -130 0 -37 5 -55
|
||
20 -70 25 -25 37 -25 75 0 22 14 39 18 71 13 35 -5 44 -2 58 18 23 33 20 46
|
||
-15 78 -23 22 -29 34 -24 50 10 31 33 26 74 -18 20 -21 59 -51 88 -65 29 -14
|
||
56 -34 62 -43 9 -17 11 -17 30 1 41 37 23 69 -51 91 -35 10 -44 17 -46 39 -4
|
||
34 13 56 44 56 32 0 31 17 -2 32 -20 9 -30 9 -45 0 -33 -21 -59 -15 -59 13 0
|
||
28 -12 32 -30 10 -21 -26 -78 -19 -111 14 -16 16 -29 33 -29 38 0 4 19 16 43
|
||
26 43 17 44 17 109 -7 l65 -25 58 40 c49 33 65 39 112 39 61 0 109 17 137 49
|
||
24 27 30 27 44 -4 10 -23 17 -25 72 -25 l60 0 0 30 c0 28 2 30 40 30 22 0 60
|
||
5 85 12 38 10 59 10 130 -5 80 -16 89 -21 142 -72 l56 -54 69 35 c53 27 72 42
|
||
80 64 10 29 12 30 77 30 72 0 83 -7 124 -72 10 -16 41 -40 70 -54 63 -32 113
|
||
-69 126 -93 6 -10 15 -58 20 -107 21 -172 22 -180 32 -161 13 23 46 21 54 -3
|
||
3 -11 1 -35 -6 -53 -10 -29 -9 -38 10 -75 34 -67 56 -84 96 -76 28 5 35 3 35
|
||
-9 0 -9 15 -28 34 -42 21 -16 33 -32 29 -41 -3 -8 6 -26 20 -39 13 -14 27 -38
|
||
30 -54 4 -19 14 -32 29 -36 12 -4 45 -29 72 -55 28 -26 61 -53 74 -59 17 -9
|
||
21 -18 17 -32 -6 -19 -5 -20 17 -7 22 12 28 14 55 17 41 4 62 150 52 366 -3
|
||
61 -9 87 -25 110 -12 17 -24 44 -28 60 -4 17 -45 92 -92 168 -46 76 -84 140
|
||
-84 143 0 2 9 4 20 4 17 0 9 14 -44 84 -77 101 -133 198 -156 274 -15 47 -20
|
||
54 -27 37 -4 -11 -8 -44 -8 -72 0 -29 -2 -53 -5 -53 -9 0 -30 86 -30 119 0 16
|
||
7 34 15 41 18 15 19 69 4 124 -13 49 6 194 33 248 10 21 18 51 18 67 0 16 5
|
||
33 10 36 6 4 9 19 8 33 -2 16 2 26 8 25 7 -1 20 7 29 17 10 11 22 20 27 20 19
|
||
0 106 83 112 106 4 13 11 24 16 24 14 0 60 72 60 94 0 11 9 29 20 41 12 12 37
|
||
55 58 96 30 61 46 80 87 106 76 47 105 78 105 109 0 32 41 106 83 151 17 18
|
||
52 40 79 49 50 16 85 51 69 67 -6 6 -22 -1 -42 -17 -37 -31 -74 -32 -74 -1 0
|
||
14 8 21 28 23 22 3 27 8 27 32 0 23 -6 30 -32 40 -31 11 -32 12 -11 20 12 5
|
||
27 18 33 29 12 24 31 26 61 9 18 -11 23 -10 44 15 33 37 49 100 34 129 -11 21
|
||
-12 21 -24 -9 -13 -30 -13 -30 -63 -20 -42 9 -54 8 -76 -6 -14 -9 -27 -17 -30
|
||
-17 -8 0 -28 101 -22 108 4 3 20 -2 36 -11 29 -17 29 -17 74 16 l44 34 -19 29
|
||
c-12 19 -17 38 -14 55 8 36 -26 57 -90 56 -28 0 -61 5 -74 12 -22 12 -23 14
|
||
-7 23 10 6 29 8 42 5 24 -4 23 -3 -8 24 l-33 29 23 17 23 16 -52 35 c-42 28
|
||
-49 36 -36 43 9 5 26 5 41 -1 41 -15 42 8 2 49 -39 40 -44 51 -22 51 26 0 28
|
||
20 3 31 -18 8 -33 33 -56 91 -17 43 -31 89 -31 101 0 27 43 93 70 107 26 14
|
||
38 -11 22 -43 -18 -38 -10 -103 17 -130 12 -14 21 -30 17 -35 -3 -5 12 -26 34
|
||
-47 21 -21 41 -48 44 -61 5 -19 13 -24 36 -24 35 0 38 -13 14 -64 -16 -33 -12
|
||
-79 5 -60 5 5 18 67 30 137 27 162 22 190 -48 240 -38 28 -50 43 -55 72 -4 20
|
||
-6 38 -4 40 2 2 26 -2 54 -8 56 -13 83 -31 85 -56 2 -35 89 302 89 345 0 9
|
||
-12 14 -35 14 l-35 0 0 49 c0 42 7 60 49 123 67 99 100 128 211 188 112 61
|
||
146 91 162 142 13 43 15 44 39 22 16 -14 20 -12 50 26 22 27 36 37 43 30 17
|
||
-17 24 -12 65 40 40 50 44 73 14 84 -22 9 -28 -1 -14 -18 18 -22 5 -52 -29
|
||
-66 -41 -17 -72 -7 -94 31 -10 17 -34 37 -52 45 -31 13 -34 18 -34 59 0 24 5
|
||
47 11 51 8 4 2 12 -15 21 -32 17 -33 38 -6 151 23 95 42 137 71 155 11 6 37
|
||
35 58 62 31 41 39 61 43 108 5 67 31 106 49 75 18 -33 14 -37 160 120 37 39
|
||
59 71 59 86 0 34 -34 71 -80 90 -25 10 -48 28 -58 47 -10 18 -28 32 -45 36
|
||
-33 7 -50 37 -93 162 -32 95 -76 151 -117 151 -17 0 -44 -17 -80 -50z"/>
|
||
<path d="M9619 6582 c-47 -20 -94 -44 -105 -52 -25 -19 -54 -60 -54 -77 0 -24
|
||
27 -13 92 35 60 43 166 133 157 132 -2 -1 -43 -18 -90 -38z"/>
|
||
</g>
|
||
</svg>`}})})}function sd(){return t.jsx("div",{style:{width:46,height:46,margin:"0 auto"},children:t.jsx("div",{"data-geo":"gb",style:{width:"100%",height:"100%",lineHeight:0},dangerouslySetInnerHTML:{__html:`<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||
width="100%" height="100%" viewBox="0 0 1024.000000 1024.000000"
|
||
preserveAspectRatio="xMidYMid meet">
|
||
<metadata>
|
||
Created by potrace 1.10, written by Peter Selinger 2001-2011
|
||
</metadata>
|
||
<g transform="translate(0.000000,1024.000000) scale(0.100000,-0.100000)"
|
||
fill="rgba(32,193,158,0.15)" stroke="none">
|
||
<path d="M5190 10215 c0 -24 25 -45 54 -45 9 0 16 9 16 20 0 13 -7 20 -20 20
|
||
-11 0 -23 7 -26 15 -9 24 -24 18 -24 -10z"/>
|
||
<path d="M5062 10162 c-14 -14 -21 -41 -26 -112 -4 -51 -5 -94 -4 -96 2 -2 14
|
||
-1 25 2 18 5 20 9 11 28 -7 18 -5 30 10 55 l20 33 17 -26 c15 -22 15 -31 5
|
||
-55 -17 -42 -10 -75 18 -79 12 -2 47 8 78 22 l55 25 10 -27 c8 -22 66 -72 84
|
||
-72 10 0 5 39 -6 46 -6 3 -9 17 -6 30 3 20 1 22 -14 14 -30 -16 -39 -11 -39
|
||
20 0 29 -1 30 -42 24 -54 -7 -89 14 -72 43 6 10 21 22 33 28 32 15 22 35 -38
|
||
77 -60 42 -92 47 -119 20z"/>
|
||
<path d="M4989 9879 c-9 -18 -8 -24 4 -30 8 -5 29 -32 46 -59 17 -28 35 -50
|
||
39 -50 15 0 42 35 42 54 0 22 -17 55 -43 84 -27 29 -72 29 -88 1z"/>
|
||
<path d="M5260 9752 c0 -16 7 -37 15 -48 14 -18 14 -17 15 13 0 17 3 38 6 47
|
||
4 12 0 16 -15 16 -16 0 -21 -6 -21 -28z"/>
|
||
<path d="M5000 9561 c0 -6 5 -13 10 -16 6 -3 10 -19 10 -35 l0 -29 -42 19
|
||
c-26 12 -65 20 -99 20 -46 0 -62 -5 -97 -31 -36 -26 -51 -31 -98 -30 -32 0
|
||
-66 7 -79 15 -20 13 -24 13 -29 1 -3 -8 -14 -15 -24 -15 -10 0 -40 -14 -66
|
||
-31 -35 -24 -50 -29 -59 -20 -26 26 -63 2 -103 -65 -21 -34 -28 -4 -11 42 16
|
||
43 16 45 -3 64 -11 11 -33 20 -50 20 -25 0 -30 -4 -30 -23 0 -14 -20 -43 -55
|
||
-77 -40 -39 -55 -49 -55 -36 0 10 11 31 25 48 14 16 25 36 25 43 0 14 -38 55
|
||
-49 55 -3 0 -13 -17 -23 -38 l-16 -37 -1 31 c-1 30 -39 84 -60 84 -5 0 -16 3
|
||
-25 6 -12 5 -16 0 -16 -19 0 -14 -17 -45 -40 -73 -46 -56 -48 -64 -19 -89 l20
|
||
-19 -23 -18 c-22 -17 -22 -19 -5 -32 24 -19 21 -29 -7 -22 -36 9 -47 -12 -37
|
||
-72 5 -33 17 -62 32 -78 18 -20 20 -24 6 -18 -10 4 -46 -1 -79 -11 -46 -14
|
||
-64 -16 -78 -7 -26 16 -32 3 -11 -27 69 -97 82 -191 27 -191 -12 0 -32 9 -45
|
||
21 -12 12 -25 18 -28 15 -14 -14 21 -59 87 -113 53 -43 69 -62 64 -76 -4 -12
|
||
7 -32 35 -62 23 -25 41 -52 41 -62 0 -11 -18 2 -53 39 -43 45 -61 56 -93 60
|
||
-21 3 -40 4 -41 3 -2 -1 17 -17 42 -35 25 -19 45 -40 45 -47 0 -20 -10 -16
|
||
-66 21 l-51 35 -12 -25 c-9 -21 -17 -25 -44 -22 -25 2 -35 10 -46 36 -8 17
|
||
-18 32 -23 32 -18 0 -20 -33 -4 -66 18 -38 22 -114 6 -114 -19 0 -50 40 -50
|
||
64 0 43 -9 53 -40 48 -29 -4 -30 -6 -30 -61 1 -54 2 -57 40 -83 22 -15 40 -35
|
||
40 -43 0 -18 -12 -19 -29 -2 -10 10 -16 7 -32 -12 -27 -33 -24 -46 18 -97 30
|
||
-35 44 -44 69 -44 27 0 64 -25 64 -43 0 -4 -15 -7 -34 -7 -22 0 -36 -6 -40
|
||
-16 -5 -13 -11 -12 -37 10 -17 15 -44 33 -59 41 l-28 15 -7 -63 c-5 -47 -3
|
||
-69 9 -92 9 -16 16 -37 16 -46 0 -8 6 -24 14 -34 13 -19 15 -18 55 8 l42 28
|
||
19 -23 18 -23 31 29 c29 27 31 28 31 9 0 -25 -18 -41 -83 -73 -65 -32 -72 -50
|
||
-20 -50 37 0 121 -42 137 -69 10 -16 2 -14 -44 10 -34 18 -45 20 -67 10 -20
|
||
-9 -23 -14 -13 -26 10 -11 8 -21 -9 -48 l-21 -34 60 -29 c33 -16 60 -33 60
|
||
-37 0 -14 -30 -19 -58 -9 -63 24 -81 24 -108 -3 -28 -28 -28 -47 3 -55 11 -3
|
||
34 -22 52 -42 31 -35 31 -37 10 -43 -14 -5 -28 0 -43 14 -12 12 -33 21 -47 21
|
||
-21 0 -27 -9 -46 -68 -11 -37 -20 -68 -19 -70 2 -1 17 3 35 9 72 25 81 -31 13
|
||
-81 -23 -17 -43 -38 -43 -48 -1 -9 -2 -21 -4 -27 -1 -5 -3 -14 -3 -19 -1 -5
|
||
-11 -1 -22 9 -16 15 -30 17 -80 12 -34 -4 -70 -11 -80 -17 -24 -13 -26 -55 -4
|
||
-64 32 -12 208 -6 234 9 34 19 68 18 110 -5 l35 -19 -60 -1 c-34 0 -65 -4 -71
|
||
-10 -5 -5 -34 -14 -64 -20 -29 -6 -56 -12 -59 -15 -14 -14 59 -91 117 -123 77
|
||
-42 94 -39 147 30 22 29 91 106 153 172 61 65 112 123 112 127 0 5 -19 13 -42
|
||
19 -66 17 -77 23 -46 27 28 4 93 -10 118 -26 12 -8 7 -20 -28 -72 -27 -39 -41
|
||
-68 -37 -79 4 -13 -3 -24 -25 -36 -16 -10 -30 -21 -30 -25 0 -3 -13 -26 -30
|
||
-50 -37 -55 -40 -90 -7 -81 20 5 21 4 8 -11 -7 -9 -24 -17 -36 -17 -30 0 -38
|
||
-23 -14 -38 10 -7 19 -16 19 -20 0 -5 -25 -26 -55 -47 -52 -35 -68 -55 -45
|
||
-55 21 0 9 -34 -25 -71 -46 -51 -46 -69 1 -69 36 0 36 0 29 -32 -5 -18 -7 -58
|
||
-6 -89 1 -41 -3 -61 -17 -80 -55 -70 -85 -163 -63 -198 7 -11 11 -10 19 5 20
|
||
36 25 3 8 -51 -17 -54 -17 -56 3 -89 27 -44 26 -72 -3 -99 -24 -23 -31 -55
|
||
-44 -203 -6 -65 -12 -89 -34 -120 -51 -73 -31 -152 32 -134 88 25 123 76 80
|
||
115 -19 17 -19 18 0 44 19 28 60 175 60 219 0 63 36 130 84 157 16 9 14 18
|
||
-28 104 -35 72 -46 106 -46 143 0 47 0 47 29 42 26 -6 31 -1 66 56 21 35 54
|
||
72 76 87 21 14 39 29 39 33 0 3 16 25 36 48 25 30 43 42 62 42 l26 0 -24 -17
|
||
c-14 -9 -31 -25 -39 -36 -7 -10 -42 -51 -76 -90 -72 -80 -106 -142 -112 -201
|
||
-5 -48 19 -102 57 -125 19 -11 22 -11 13 -1 -17 19 -16 45 2 80 17 33 36 38
|
||
55 15 22 -27 29 -16 14 21 -8 20 -13 39 -10 42 12 11 42 -29 60 -78 10 -27 21
|
||
-50 26 -50 12 0 42 90 37 111 -3 10 -1 19 4 19 5 0 9 46 9 103 1 101 1 102 19
|
||
80 l19 -23 18 27 c24 37 30 13 10 -38 -9 -23 -14 -49 -11 -60 10 -30 114 -118
|
||
153 -129 102 -28 76 -50 -32 -27 -116 24 -134 23 -142 -8 -3 -14 -1 -61 5
|
||
-105 10 -63 9 -84 -1 -102 -19 -35 -12 -47 59 -118 36 -36 71 -81 78 -100 7
|
||
-19 16 -43 20 -53 6 -14 -3 -28 -37 -60 -50 -47 -98 -127 -98 -164 0 -29 -21
|
||
-72 -64 -133 -18 -25 -41 -75 -50 -112 -17 -62 -17 -69 -2 -114 23 -67 21 -84
|
||
-8 -84 -31 0 -56 34 -56 77 0 45 -14 41 -34 -8 -16 -38 -15 -43 4 -87 12 -26
|
||
41 -67 65 -92 47 -48 65 -84 65 -129 0 -26 16 -51 32 -51 15 0 8 37 -17 94
|
||
-32 73 -32 89 6 120 35 29 51 32 68 12 7 -8 27 -17 45 -20 25 -5 46 -21 81
|
||
-64 55 -66 90 -92 126 -92 25 0 27 4 32 57 5 47 2 64 -15 95 -31 55 -13 68 41
|
||
32 29 -19 45 -24 52 -17 8 8 21 -1 46 -28 28 -31 38 -37 49 -28 11 9 19 8 33
|
||
-5 24 -21 46 -13 134 52 52 38 80 51 119 56 l50 7 -7 55 -7 56 29 -6 c46 -9
|
||
246 -12 278 -3 26 6 32 4 42 -18 16 -35 -13 -51 -63 -35 -42 14 -93 5 -75 -13
|
||
30 -30 -2 -67 -40 -46 -17 9 -22 5 -40 -36 -11 -26 -18 -53 -15 -61 3 -7 -17
|
||
-46 -44 -86 -39 -58 -50 -81 -50 -113 0 -23 -9 -58 -20 -79 l-19 -39 32 -37
|
||
c47 -56 97 -143 118 -205 27 -83 36 -95 69 -95 35 0 34 2 16 -41 -13 -30 -12
|
||
-37 4 -69 34 -67 46 -68 74 -7 14 30 35 62 46 72 19 17 21 17 39 1 19 -17 21
|
||
-17 49 15 l30 34 23 -48 23 -47 -32 -45 c-33 -47 -38 -64 -23 -80 17 -18 -7
|
||
-51 -53 -76 l-46 -24 0 -81 c0 -99 8 -109 80 -99 27 4 50 4 50 2 0 -3 -25 -29
|
||
-55 -58 -70 -66 -99 -112 -92 -147 9 -50 77 -197 99 -215 18 -15 32 -18 77
|
||
-12 l54 7 -22 -31 c-63 -87 -106 -71 -175 66 -15 29 -29 53 -32 53 -12 0 -64
|
||
-35 -64 -42 0 -5 16 -40 35 -78 19 -38 35 -79 35 -90 0 -18 -3 -19 -22 -9 -13
|
||
7 -51 40 -86 73 l-63 60 -108 -37 -108 -38 -59 20 c-72 26 -71 26 -78 -2 -4
|
||
-17 -19 -27 -59 -40 -75 -24 -80 -23 -72 13 6 29 5 30 -30 30 -25 0 -42 7 -55
|
||
22 -77 89 -88 98 -122 97 -64 -2 -80 -12 -93 -57 -16 -53 -32 -73 -52 -65 -13
|
||
5 -14 3 -4 -16 7 -12 23 -26 36 -31 12 -5 40 -30 61 -55 22 -25 54 -55 72 -66
|
||
28 -18 32 -26 32 -62 0 -38 -5 -46 -53 -88 -29 -26 -70 -56 -92 -67 -22 -11
|
||
-52 -33 -67 -49 -27 -28 -63 -101 -55 -110 3 -2 23 5 46 16 52 27 78 27 87 -1
|
||
7 -21 8 -20 17 12 15 60 56 92 134 105 29 5 50 2 73 -10 37 -19 59 -60 42 -77
|
||
-18 -18 -15 -34 14 -78 16 -24 31 -37 40 -33 23 8 16 -10 -16 -45 -16 -18 -30
|
||
-44 -30 -58 0 -39 28 -84 52 -84 19 0 20 -2 6 -17 -8 -10 -21 -38 -29 -63 -7
|
||
-25 -34 -85 -59 -135 -40 -79 -51 -93 -91 -115 -26 -14 -67 -44 -91 -66 -44
|
||
-41 -57 -46 -146 -59 -34 -6 -50 -15 -80 -52 -20 -24 -52 -53 -70 -65 -30 -19
|
||
-34 -19 -51 -4 -25 23 -50 20 -61 -8 -10 -27 -40 -50 -80 -61 -27 -8 -60 -33
|
||
-60 -47 0 -4 11 -8 25 -8 38 0 75 -21 91 -51 17 -34 12 -49 -26 -71 -30 -17
|
||
-39 -41 -19 -54 6 -3 16 -1 22 5 12 12 58 14 106 5 25 -5 29 -9 20 -20 -6 -8
|
||
-24 -14 -39 -14 -14 0 -29 -3 -33 -6 -11 -11 15 -52 40 -63 35 -16 48 -14 89
|
||
14 20 14 47 25 60 25 13 0 31 11 41 25 52 74 47 71 97 57 35 -9 51 -9 71 0 24
|
||
11 29 9 51 -20 18 -23 34 -32 55 -32 24 0 29 -4 29 -23 0 -13 -9 -32 -20 -42
|
||
-25 -22 -25 -37 -2 -58 23 -21 51 -21 76 -2 11 8 33 15 49 15 16 0 47 10 69
|
||
22 36 21 41 21 66 7 15 -8 40 -38 57 -67 16 -28 50 -67 73 -84 107 -80 102
|
||
-78 166 -78 83 1 111 16 154 79 l37 55 91 22 c100 24 139 41 168 73 18 20 18
|
||
25 4 113 -15 91 -15 94 8 161 22 64 22 71 8 99 -16 30 -14 45 5 34 20 -13 23
|
||
-72 5 -131 -12 -43 -15 -80 -11 -138 3 -43 8 -81 11 -84 6 -6 45 22 110 79 36
|
||
31 38 36 25 55 -17 28 -6 39 25 25 24 -11 24 -12 10 -41 -8 -17 -47 -65 -86
|
||
-108 -39 -43 -80 -98 -92 -122 -13 -27 -39 -58 -66 -78 -25 -18 -68 -53 -95
|
||
-77 -47 -41 -51 -48 -62 -111 -14 -80 -33 -106 -63 -87 -17 10 -30 8 -81 -14
|
||
l-61 -25 -52 25 c-46 23 -64 26 -181 27 -102 2 -150 -2 -223 -19 -104 -23
|
||
-121 -36 -122 -94 0 -21 -7 -56 -16 -78 -19 -47 -51 -60 -98 -41 -65 26 -64
|
||
27 -81 -33 -12 -40 -14 -72 -10 -112 l7 -55 -71 -71 c-39 -39 -71 -77 -71 -83
|
||
0 -19 -42 -52 -91 -73 -52 -23 -79 -54 -79 -93 0 -17 -13 -37 -40 -62 -22 -19
|
||
-40 -44 -40 -54 0 -26 -27 -54 -118 -120 -60 -45 -78 -54 -92 -45 -20 12 -67
|
||
-8 -111 -49 -22 -20 -29 -36 -29 -63 0 -20 4 -36 9 -36 27 0 71 25 91 51 19
|
||
26 27 30 52 25 48 -9 106 -57 130 -106 11 -25 22 -46 23 -48 2 -2 23 11 49 28
|
||
47 32 59 62 31 78 -14 7 -13 13 4 53 11 24 21 52 21 62 0 29 24 14 30 -19 l5
|
||
-29 13 31 c14 33 80 68 108 57 9 -3 14 1 14 13 0 29 27 98 39 102 6 2 18 -4
|
||
27 -13 9 -8 24 -13 33 -10 9 2 55 13 103 24 85 18 87 18 130 -1 43 -19 43 -19
|
||
60 1 19 24 38 27 38 8 0 -23 33 -45 80 -52 72 -11 80 -15 98 -53 19 -40 36
|
||
-47 88 -37 32 6 34 8 34 45 0 41 10 56 64 93 32 22 33 50 4 70 l-23 15 27 12
|
||
c22 10 25 16 18 35 -6 16 -2 36 15 73 19 41 30 52 62 62 21 7 56 25 78 40 24
|
||
17 65 32 105 39 36 7 82 19 102 28 l38 16 92 -46 c51 -25 112 -57 134 -71 40
|
||
-25 42 -25 47 -6 4 17 14 20 55 20 73 0 150 -17 179 -40 25 -20 27 -20 57 -2
|
||
43 25 45 54 5 73 -18 7 -35 20 -37 28 -4 11 4 13 38 8 27 -3 51 -1 64 8 30 18
|
||
149 28 179 14 23 -10 35 -6 106 36 45 26 81 52 81 56 0 5 -18 25 -40 45 -73
|
||
68 -25 53 56 -17 74 -64 92 -73 109 -59 23 19 151 -5 186 -35 l29 -23 33 33
|
||
c39 39 89 55 171 55 33 0 85 5 117 12 55 11 59 10 197 -37 l140 -49 40 36 c39
|
||
35 57 43 155 68 28 8 68 29 95 52 45 38 49 39 101 33 30 -4 60 -9 68 -12 10
|
||
-4 13 7 13 47 0 43 5 56 28 79 15 15 50 35 77 45 108 38 136 55 151 93 13 29
|
||
13 45 5 79 -15 59 -15 62 15 89 23 22 25 25 9 31 -27 11 -186 -3 -234 -20 -24
|
||
-9 -54 -16 -67 -16 -19 0 -22 5 -21 27 2 24 -5 32 -45 53 l-47 25 -29 -35 -29
|
||
-34 -28 18 -27 18 38 26 39 26 -44 8 c-34 6 -61 3 -109 -12 -69 -22 -113 -17
|
||
-159 15 -34 24 -28 38 9 19 69 -36 86 -36 124 0 39 37 107 56 200 56 47 0 55
|
||
3 82 34 29 33 62 139 48 153 -3 4 -23 -2 -45 -11 -33 -15 -41 -16 -60 -5 -11
|
||
8 -21 16 -21 19 0 3 39 25 86 48 80 40 88 42 104 27 24 -22 59 -11 107 31 34
|
||
30 36 33 16 34 -27 0 -27 2 -8 39 14 27 13 29 -8 35 -12 3 -35 6 -51 6 -24 0
|
||
-27 2 -16 15 7 9 29 15 53 15 38 0 39 1 24 18 -20 22 -21 32 -4 32 6 0 24 -14
|
||
38 -32 l26 -32 40 32 c41 32 102 102 120 137 6 11 14 49 18 85 7 76 29 147 62
|
||
209 17 32 23 60 23 105 0 68 -15 173 -32 226 -12 37 -145 183 -188 205 -56 29
|
||
-455 78 -518 64 -46 -10 -61 -27 -73 -80 -13 -56 -53 -109 -82 -109 -13 0 -43
|
||
14 -67 30 -25 17 -64 42 -87 58 -23 15 -43 32 -43 38 0 19 98 142 137 170 74
|
||
54 76 66 37 200 -53 183 -107 264 -223 333 -39 23 -91 66 -119 97 l-50 57 -71
|
||
-19 c-58 -14 -76 -16 -89 -6 -48 34 -74 24 -83 -32 -9 -55 -19 -55 -19 1 0 72
|
||
39 100 105 74 12 -5 45 -1 85 10 36 11 71 19 79 19 7 0 36 -25 64 -55 50 -55
|
||
50 -55 109 -55 33 0 68 -5 79 -11 20 -10 20 -10 3 23 -9 18 -48 82 -86 142
|
||
-98 151 -120 203 -116 268 3 48 6 54 35 69 30 15 31 17 15 31 -9 9 -32 23 -49
|
||
32 -18 9 -33 20 -33 24 0 5 -22 33 -48 63 -27 29 -54 70 -61 89 -6 19 -22 51
|
||
-35 70 -13 19 -26 44 -30 55 -3 11 -39 44 -80 74 -55 41 -101 64 -180 91 -119
|
||
41 -159 66 -164 101 -2 13 -22 43 -43 68 -45 51 -69 120 -69 201 0 45 -6 65
|
||
-26 95 -14 21 -35 63 -46 94 -31 82 -71 287 -70 356 3 122 -80 276 -176 330
|
||
-18 10 -47 34 -63 53 -27 30 -33 33 -54 24 -20 -9 -23 -9 -18 3 3 8 11 15 19
|
||
15 21 0 17 19 -20 85 -35 63 -66 83 -131 84 -38 1 -171 81 -203 122 -21 26
|
||
-29 29 -82 29 -51 0 -61 -3 -79 -26 -12 -15 -21 -33 -21 -40 0 -18 -73 -64
|
||
-101 -64 -12 0 -38 10 -58 22 -19 12 -45 21 -57 20 -27 -4 -217 34 -272 54
|
||
-23 9 -40 20 -36 25 10 16 94 9 144 -12 l48 -21 30 22 c17 12 50 25 75 27 40
|
||
5 47 9 52 33 8 35 68 106 108 126 26 14 36 14 69 3 31 -10 43 -10 64 1 32 17
|
||
104 79 104 89 0 4 -27 19 -59 33 l-60 26 -3 59 -3 58 -36 3 c-34 3 -81 -17
|
||
-196 -84 -47 -27 -50 -11 -8 39 55 66 84 79 180 81 73 1 86 4 124 31 65 45
|
||
131 126 131 162 0 17 6 36 14 42 8 6 17 32 20 56 6 36 16 52 52 83 54 48 116
|
||
148 112 182 -1 14 17 63 40 110 40 77 42 88 36 137 -5 45 -2 61 23 115 17 35
|
||
60 104 97 155 36 51 66 101 66 113 0 12 -7 52 -15 89 -17 72 -34 95 -109 145
|
||
-45 30 -76 33 -111 10 -21 -14 -30 -14 -54 -4 -24 10 -35 8 -68 -8 l-39 -20
|
||
-142 23 -143 23 -57 -23 -57 -23 -65 25 c-118 46 -125 47 -174 33 -25 -7 -46
|
||
-17 -46 -22 0 -4 -12 -14 -27 -20 -16 -7 -36 -18 -45 -26 -12 -10 -18 -11 -18
|
||
-4 0 21 -29 13 -86 -25 -47 -31 -67 -38 -120 -41 -36 -3 -61 -8 -58 -14 3 -5
|
||
3 -20 0 -33 -14 -54 -186 -107 -231 -71 -17 13 -18 17 -5 26 8 5 34 7 57 4 40
|
||
-6 42 -5 67 34 14 23 31 44 39 49 15 10 77 94 77 105 0 5 -14 1 -31 -7 -19
|
||
-10 -41 -14 -59 -10 -24 5 -38 -2 -94 -50 -59 -50 -66 -53 -66 -33 0 54 75
|
||
128 130 128 14 0 49 14 79 30 30 17 56 30 59 30 2 0 2 -13 -1 -30 -12 -55 10
|
||
-39 64 48 67 108 68 111 35 84 -23 -17 -31 -19 -52 -10 -17 8 -31 8 -48 0 -18
|
||
-8 -37 -6 -87 12 -66 24 -144 66 -121 66 8 0 41 -7 75 -16 83 -22 117 -10 117
|
||
41 0 19 -4 35 -10 35 -5 0 -10 5 -10 10 0 6 4 10 10 10 17 0 107 69 124 95 9
|
||
14 60 57 113 97 64 48 110 93 137 131 30 42 62 71 119 107 113 73 146 134 109
|
||
204 -28 53 -28 72 3 112 14 18 29 44 35 58 8 21 6 27 -11 37 -16 8 -25 7 -40
|
||
-7 -18 -16 -20 -16 -37 -1 -20 19 -132 25 -132 8z m-630 -1558 c-30 -53 -153
|
||
-213 -159 -208 -5 5 113 188 143 223 31 35 40 26 16 -15z m-185 -1390 c9 -21
|
||
31 -50 50 -66 39 -32 44 -52 16 -67 -33 -17 -40 -12 -47 38 -4 26 -15 64 -25
|
||
84 -20 39 -22 48 -14 48 3 0 12 -17 20 -37z m1595 -536 c0 -2 -10 -12 -22 -23
|
||
l-23 -19 19 23 c18 21 26 27 26 19z"/>
|
||
<path d="M3128 9359 c-44 -59 -168 -157 -231 -182 -85 -34 -94 -51 -62 -110
|
||
30 -58 11 -65 -35 -14 l-30 32 6 -27 c8 -34 -26 -57 -47 -32 -7 9 -22 20 -33
|
||
24 -18 6 -25 -1 -48 -48 -34 -67 -38 -128 -8 -137 15 -5 20 -15 20 -42 0 -32
|
||
-2 -35 -25 -31 -32 7 -31 1 3 -32 19 -18 45 -30 74 -34 25 -4 53 -13 63 -20
|
||
22 -16 14 -46 -13 -46 -18 0 -122 -98 -122 -115 1 -6 17 -28 36 -50 l35 -40
|
||
17 25 c23 35 74 86 92 92 12 4 13 9 3 27 -30 49 -5 73 47 46 31 -16 32 -16 26
|
||
3 -4 12 1 25 13 36 16 14 23 15 39 5 28 -18 47 -6 72 46 14 30 27 44 36 41 28
|
||
-11 37 33 20 95 -15 53 -15 61 -1 82 8 13 13 32 9 41 -5 12 0 19 14 23 17 4
|
||
20 11 15 34 -4 24 3 37 45 85 45 51 49 58 36 72 -9 9 -13 24 -10 36 18 65 18
|
||
95 0 120 -24 33 -29 32 -56 -5z"/>
|
||
<path d="M2531 8381 c-20 -15 -29 -17 -49 -8 -18 8 -25 8 -32 -3 -4 -7 -17
|
||
-11 -29 -7 -17 4 -25 -3 -42 -35 -20 -40 -20 -41 -2 -51 30 -17 83 -77 83 -95
|
||
-1 -9 -7 -28 -15 -42 -12 -22 -11 -27 2 -42 15 -16 15 -20 -2 -38 -14 -15 -16
|
||
-29 -11 -62 4 -24 2 -62 -5 -89 -10 -38 -10 -62 0 -118 l13 -71 33 0 c18 0 40
|
||
-3 49 -6 13 -5 14 -1 2 33 -36 103 -36 97 0 144 l33 44 -24 41 -25 42 25 16
|
||
c21 14 23 19 14 45 -8 23 -7 35 5 53 9 13 25 50 36 83 15 44 17 61 8 72 -9 11
|
||
-5 20 15 41 36 37 34 47 -12 60 -47 15 -41 15 -70 -7z"/>
|
||
<path d="M3091 8369 c-23 -30 -23 -31 -6 -63 14 -25 15 -37 7 -52 -9 -16 -7
|
||
-28 9 -53 22 -37 18 -51 -10 -34 -11 7 -23 7 -33 2 -12 -7 -28 5 -68 51 -29
|
||
33 -56 57 -61 54 -17 -10 -9 -40 16 -64 28 -26 34 -56 10 -46 -11 4 -15 -2
|
||
-15 -22 0 -54 -15 -56 -48 -5 -28 43 -32 45 -32 23 0 -15 5 -31 12 -38 9 -9 7
|
||
-12 -10 -12 -23 0 -30 -14 -12 -25 5 -3 13 -20 18 -37 6 -26 15 -33 52 -44 25
|
||
-8 45 -14 46 -14 0 0 -1 13 -4 29 -5 33 12 48 33 31 8 -6 19 -9 25 -5 6 4 10
|
||
-4 10 -19 0 -16 6 -26 14 -26 19 0 73 -46 65 -55 -4 -3 -18 0 -33 6 -62 29
|
||
-55 -44 11 -101 18 -17 38 -30 43 -30 6 0 10 -7 10 -15 0 -8 4 -15 9 -15 5 0
|
||
25 7 44 15 20 8 46 15 58 15 18 0 21 -5 17 -35 -2 -19 -3 -35 -1 -35 1 0 14
|
||
21 27 48 l24 47 13 -27 c11 -25 16 -27 51 -22 21 4 38 4 38 0 0 -3 -18 -17
|
||
-39 -31 -26 -17 -41 -36 -45 -56 -3 -16 -9 -42 -12 -59 -10 -48 18 -37 80 32
|
||
56 61 65 81 46 93 -16 10 -4 22 27 28 26 5 63 50 63 75 0 18 -52 20 -97 5 -43
|
||
-15 -47 -14 -84 6 -25 15 -47 20 -61 16 -17 -6 -20 -4 -15 9 5 11 -2 25 -18
|
||
40 -14 13 -28 38 -31 57 -4 19 -11 40 -17 47 -7 9 -6 20 3 36 8 16 11 54 9
|
||
114 l-4 91 -50 51 c-27 27 -52 50 -55 49 -3 0 -16 -14 -29 -30z"/>
|
||
<path d="M3080 7623 l-30 -28 40 -41 c35 -38 40 -40 53 -25 24 28 27 50 9 61
|
||
-15 8 -15 11 -2 20 13 9 12 12 -4 25 -27 20 -31 19 -66 -12z"/>
|
||
<path d="M2371 7573 c-29 -35 -41 -73 -23 -73 15 0 72 66 72 82 0 32 -19 28
|
||
-49 -9z"/>
|
||
<path d="M2970 7172 c-27 -24 -41 -44 -39 -55 3 -16 10 -13 45 17 38 32 63 76
|
||
44 76 -4 0 -27 -17 -50 -38z"/>
|
||
<path d="M3213 7150 c-13 -5 -23 -18 -23 -29 0 -17 -4 -19 -23 -12 -21 8 -23
|
||
7 -20 -14 3 -12 0 -26 -6 -29 -17 -11 -13 -26 7 -26 9 0 39 -13 66 -29 46 -27
|
||
52 -28 77 -16 29 15 39 11 39 -16 0 -10 -19 -28 -46 -44 -42 -25 -75 -68 -62
|
||
-81 4 -3 24 4 47 15 50 26 61 26 61 2 0 -13 -21 -30 -69 -55 -76 -40 -93 -43
|
||
-111 -21 -33 40 -67 2 -36 -40 14 -19 15 -19 50 -2 20 9 53 17 74 17 54 0 107
|
||
17 141 45 36 31 41 31 41 0 0 -33 18 -32 60 6 20 17 27 28 17 25 -15 -5 -18
|
||
-1 -15 17 2 15 10 22 25 21 16 0 23 7 27 30 9 41 -25 71 -106 93 -54 15 -64
|
||
22 -100 72 -60 83 -70 89 -115 71z"/>
|
||
<path d="M2750 7016 c-51 -14 -60 -39 -22 -63 21 -15 22 -14 22 8 0 13 12 33
|
||
28 46 15 12 25 22 22 22 -3 -1 -25 -6 -50 -13z"/>
|
||
<path d="M3415 6496 c-89 -83 -90 -84 -71 -104 18 -21 18 -21 -7 -27 -38 -10
|
||
-59 -40 -61 -84 -1 -41 24 -81 51 -81 16 0 186 344 181 367 -2 8 -40 -21 -93
|
||
-71z"/>
|
||
<path d="M3185 6516 c-16 -21 -25 -44 -23 -58 3 -19 8 -14 32 30 33 64 29 77
|
||
-9 28z"/>
|
||
<path d="M3172 6304 c-24 -19 -52 -34 -62 -34 -38 0 -68 -22 -74 -53 -4 -18
|
||
-2 -33 5 -37 7 -5 4 -21 -11 -49 -39 -77 -20 -81 44 -8 46 52 62 64 73 56 17
|
||
-15 16 -29 -3 -50 -15 -17 -15 -20 5 -45 27 -35 27 -50 -4 -70 -37 -24 -31
|
||
-73 8 -58 8 3 19 16 25 28 7 15 26 29 54 37 71 23 75 45 33 175 -19 59 -35
|
||
113 -35 120 0 24 -15 21 -58 -12z"/>
|
||
<path d="M3761 6051 l-33 -50 11 -67 c23 -128 50 -159 124 -137 26 7 33 14 35
|
||
41 2 20 -1 32 -8 32 -8 0 -10 11 -6 35 5 27 3 37 -9 41 -10 4 -15 19 -15 43 0
|
||
41 -30 105 -51 109 -8 1 -29 -20 -48 -47z"/>
|
||
<path d="M2926 5514 l-90 -46 -53 15 -54 14 -33 -72 c-36 -77 -58 -98 -91 -84
|
||
-28 11 -89 11 -119 -1 -30 -11 -39 -30 -57 -115 -14 -69 -24 -91 -51 -122 -11
|
||
-12 -23 -37 -27 -55 -6 -30 -13 -35 -81 -61 -60 -24 -78 -27 -93 -17 -15 9
|
||
-23 8 -38 -6 -27 -25 -24 -39 17 -64 24 -16 44 -21 65 -16 22 4 29 2 29 -9 0
|
||
-8 -4 -15 -9 -15 -5 0 -27 -17 -48 -37 l-38 -37 30 -6 c24 -4 29 -10 27 -28
|
||
-2 -12 1 -22 6 -22 11 0 67 -118 60 -126 -4 -3 -32 15 -63 41 -64 51 -92 65
|
||
-136 65 -42 0 -36 18 13 40 l42 18 -39 8 c-38 7 -41 5 -88 -46 l-49 -53 71
|
||
-65 c70 -63 121 -133 121 -165 0 -13 10 -17 44 -17 38 0 51 -6 94 -45 27 -25
|
||
55 -45 60 -45 6 0 24 8 40 17 28 16 30 16 58 -6 l29 -23 5 23 c7 28 30 37 31
|
||
12 0 -10 6 0 13 22 7 23 21 44 34 51 35 17 36 21 13 53 -26 36 -20 78 14 91
|
||
13 5 35 25 50 44 15 20 32 36 38 36 6 0 32 -22 57 -48 34 -36 49 -60 53 -89 4
|
||
-22 20 -58 37 -81 26 -37 33 -41 49 -30 41 25 71 -39 52 -108 -11 -41 0 -59
|
||
29 -48 8 3 40 8 71 11 47 5 59 10 67 28 9 20 16 22 59 17 30 -3 59 -14 76 -28
|
||
16 -13 33 -24 39 -24 6 0 16 -7 22 -16 11 -14 18 -10 62 29 48 44 49 46 49
|
||
103 0 58 0 58 40 76 47 21 86 23 104 6 28 -28 92 94 67 127 -10 14 -16 15 -39
|
||
4 -15 -7 -29 -10 -32 -7 -3 3 -1 27 5 53 12 53 5 109 -16 126 -19 16 -18 33 5
|
||
53 18 17 21 16 59 -19 47 -41 59 -80 42 -131 -9 -27 -9 -42 0 -65 17 -41 28
|
||
-26 39 55 9 64 8 74 -21 154 -39 109 -56 126 -114 119 -25 -2 -61 -16 -82 -29
|
||
-61 -40 -72 -42 -72 -9 0 22 15 41 71 91 62 55 70 66 64 89 -9 37 -24 49 -17
|
||
14 l5 -28 -31 29 c-17 15 -33 40 -37 55 -4 14 -29 55 -56 91 -38 48 -49 70
|
||
-44 87 4 19 0 25 -21 33 -25 10 -25 12 -19 74 7 60 6 65 -17 80 -42 27 -108
|
||
46 -186 51 -76 5 -78 5 -166 -41z"/>
|
||
</g>
|
||
</svg>`}})})}function ad(){return t.jsx("div",{style:{width:46,height:46,margin:"0 auto"},children:t.jsx("div",{"data-geo":"br",style:{width:"100%",height:"100%",lineHeight:0},dangerouslySetInnerHTML:{__html:`<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||
width="100%" height="100%" viewBox="0 0 1024.000000 1024.000000"
|
||
preserveAspectRatio="xMidYMid meet">
|
||
<metadata>
|
||
Created by potrace 1.10, written by Peter Selinger 2001-2011
|
||
</metadata>
|
||
<g transform="translate(0.000000,1024.000000) scale(0.100000,-0.100000)"
|
||
fill="rgba(32,193,158,0.15)" stroke="none">
|
||
<path d="M3255 9936 c-38 -13 -112 -44 -162 -69 -70 -36 -104 -47 -138 -47
|
||
-29 0 -60 -8 -84 -22 -32 -18 -40 -30 -47 -65 l-9 -44 -57 36 c-53 34 -64 37
|
||
-140 38 -46 1 -91 -2 -100 -6 -13 -7 -20 -1 -33 22 l-16 31 -91 0 -91 0 84
|
||
-60 84 -60 -4 -80 c-3 -75 -1 -84 24 -120 23 -32 26 -45 20 -78 -7 -44 -11
|
||
-42 110 -57 28 -4 56 -8 63 -10 19 -7 -70 -83 -114 -99 -29 -10 -40 -20 -44
|
||
-40 -3 -14 -18 -42 -34 -62 l-28 -36 -25 24 -25 23 -30 -37 c-16 -21 -56 -52
|
||
-88 -69 -40 -21 -69 -47 -96 -84 -41 -56 -54 -60 -54 -19 0 31 -4 30 -85 -6
|
||
-76 -34 -63 -38 -159 47 -52 47 -65 53 -103 53 l-43 0 0 56 c0 51 -4 61 -46
|
||
115 -51 67 -47 67 -137 1 l-49 -35 -36 19 c-20 10 -40 20 -44 22 -5 2 -8 -5
|
||
-8 -16 0 -28 -77 -36 -247 -27 l-133 7 -20 -46 c-10 -25 -22 -69 -26 -96 l-7
|
||
-50 44 -1 c24 0 64 -8 89 -17 38 -15 46 -23 53 -55 5 -21 7 -41 4 -44 -3 -3
|
||
-21 4 -39 15 l-33 20 -72 -33 -73 -34 0 -96 0 -96 59 -54 c52 -49 62 -65 91
|
||
-146 l33 -91 -22 -62 c-18 -49 -24 -99 -33 -251 l-10 -190 -48 -125 c-32 -84
|
||
-53 -124 -62 -122 -7 2 -37 6 -67 9 -42 5 -57 3 -65 -9 -16 -22 -111 -68 -140
|
||
-68 -75 0 -254 -58 -296 -96 -14 -12 -57 -43 -97 -68 -77 -49 -87 -70 -82
|
||
-156 2 -24 -6 -48 -25 -77 l-28 -42 17 -58 17 -58 -24 -14 c-12 -8 -44 -37
|
||
-70 -63 -37 -36 -48 -55 -48 -79 0 -22 5 -32 20 -36 27 -7 25 -16 -8 -31 -67
|
||
-29 -99 -97 -50 -104 17 -2 24 -12 28 -38 7 -43 139 -243 188 -286 l36 -31
|
||
-27 -46 c-15 -25 -27 -48 -27 -51 0 -3 31 -6 69 -6 38 0 92 -5 120 -12 46 -10
|
||
51 -14 51 -38 0 -15 7 -34 16 -41 9 -7 20 -23 24 -35 9 -23 51 -34 135 -34 47
|
||
1 56 5 155 80 57 44 110 80 116 80 6 0 17 -7 24 -15 10 -12 8 -25 -10 -69 -21
|
||
-50 -22 -59 -11 -130 6 -42 11 -97 11 -121 0 -39 4 -46 30 -60 40 -21 60 -19
|
||
102 10 35 24 44 25 175 25 76 0 152 -4 168 -8 48 -14 110 7 140 47 14 21 43
|
||
42 68 51 23 9 71 37 106 63 35 26 74 47 87 47 14 0 30 10 41 26 23 36 83 72
|
||
166 100 55 19 92 24 168 24 113 0 117 -4 93 -93 -19 -70 -18 -137 2 -166 12
|
||
-17 15 -35 10 -68 -3 -25 -2 -62 4 -82 5 -20 12 -48 15 -63 4 -21 15 -30 54
|
||
-43 33 -11 58 -28 76 -51 17 -22 34 -34 50 -34 20 0 25 -7 31 -35 6 -31 9 -35
|
||
51 -41 25 -4 76 -4 114 -1 53 4 70 2 80 -9 23 -28 68 -45 88 -35 14 8 24 4 46
|
||
-19 16 -17 36 -30 45 -30 9 0 31 -11 50 -25 25 -18 46 -25 82 -25 43 0 48 -3
|
||
54 -25 3 -14 20 -36 38 -49 27 -20 47 -24 146 -30 146 -8 162 -11 205 -50 29
|
||
-25 36 -41 43 -86 6 -40 20 -73 50 -117 28 -42 42 -73 42 -95 0 -33 0 -33 -45
|
||
-30 -41 4 -45 2 -51 -23 -5 -20 0 -34 23 -63 22 -27 31 -52 35 -92 4 -30 14
|
||
-74 23 -97 l17 -43 157 -1 c86 -1 183 0 217 1 72 2 83 -10 59 -67 -9 -20 -15
|
||
-66 -15 -107 l0 -71 73 -47 c39 -26 84 -52 100 -59 38 -17 50 -69 49 -206 l0
|
||
-113 -40 -47 c-38 -46 -82 -158 -82 -210 0 -35 41 -178 61 -209 24 -39 25
|
||
-105 2 -189 -14 -54 -15 -68 -4 -88 10 -18 10 -30 2 -45 -19 -35 -13 -40 58
|
||
-52 59 -11 75 -11 116 4 45 15 50 15 66 0 17 -15 20 -15 45 5 27 22 44 20 44
|
||
-5 0 -10 14 -14 56 -14 48 0 62 -5 95 -31 22 -17 44 -41 51 -52 21 -39 48
|
||
-161 54 -245 7 -78 9 -84 36 -98 25 -13 36 -13 108 4 l81 19 18 -23 c50 -64
|
||
48 -164 -8 -311 -30 -80 -30 -83 -11 -93 10 -5 32 -10 48 -10 16 0 50 -9 74
|
||
-20 65 -29 78 -68 77 -235 0 -129 0 -130 -27 -151 -15 -11 -54 -31 -87 -44
|
||
-36 -14 -85 -46 -124 -79 -34 -31 -88 -77 -120 -102 -118 -97 -228 -213 -241
|
||
-254 -7 -22 -35 -66 -61 -98 -27 -32 -56 -72 -66 -88 -10 -16 -26 -32 -38 -35
|
||
-11 -4 -36 -19 -56 -35 -30 -23 -35 -33 -31 -58 3 -24 10 -31 35 -37 26 -5 34
|
||
-2 54 22 29 37 78 35 108 -4 11 -15 48 -55 82 -90 35 -34 63 -71 63 -81 0 -10
|
||
8 -25 19 -35 16 -15 19 -15 31 -1 7 9 22 21 33 27 18 9 28 2 82 -56 51 -55 67
|
||
-66 94 -66 27 0 44 -12 107 -78 41 -42 77 -80 81 -84 5 -4 50 -48 102 -98 82
|
||
-79 169 -140 200 -140 5 0 20 17 32 38 12 20 64 80 114 132 51 52 107 118 125
|
||
145 19 28 65 88 104 135 114 136 127 156 143 216 19 74 80 159 184 259 88 84
|
||
209 228 209 248 0 7 16 45 35 85 33 69 34 75 20 102 -8 16 -15 46 -15 66 0 21
|
||
-7 60 -16 88 -16 51 -15 52 21 171 54 178 82 224 174 289 42 30 110 87 151
|
||
128 96 94 154 131 256 165 l82 26 62 -26 c34 -15 66 -27 71 -27 5 0 18 14 28
|
||
31 15 24 17 38 10 57 -5 14 -8 27 -5 29 2 3 36 15 75 27 70 22 71 23 51 41
|
||
-27 25 -17 35 37 35 32 0 50 -5 59 -17 12 -17 17 -14 63 32 l51 49 0 -36 0
|
||
-36 163 -6 c89 -4 191 -8 227 -9 l65 -2 10 61 c13 78 36 105 115 133 87 31
|
||
130 78 130 142 0 38 5 50 34 78 22 21 36 46 40 71 5 32 17 47 85 101 71 58 81
|
||
69 96 121 14 45 24 60 51 74 28 15 40 34 73 114 28 66 41 115 44 160 8 116 35
|
||
189 88 241 l47 46 16 134 c9 81 28 176 47 239 29 95 33 122 39 290 6 157 12
|
||
206 39 325 18 77 43 165 55 195 l22 55 56 5 57 5 63 85 c66 87 146 216 191
|
||
306 15 29 48 70 80 97 31 26 72 69 91 96 31 41 45 51 87 62 44 12 58 23 127
|
||
101 204 234 233 273 294 393 117 230 134 303 93 404 -14 36 -25 84 -25 107 0
|
||
77 -22 198 -42 233 -10 19 -22 63 -25 99 -6 63 -8 67 -65 124 l-58 58 -107 0
|
||
c-241 1 -429 93 -560 277 -38 54 -57 70 -117 99 -46 24 -95 60 -141 105 -65
|
||
63 -77 71 -173 104 -102 35 -109 36 -320 45 -130 5 -241 15 -277 24 -33 8 -84
|
||
15 -113 16 -40 0 -70 9 -124 36 -39 20 -101 42 -138 50 -38 7 -74 16 -82 19
|
||
-8 3 -23 -7 -36 -25 -19 -25 -29 -30 -66 -30 -40 0 -47 -4 -81 -46 l-38 -46
|
||
-13 23 c-12 22 -9 27 27 64 21 23 39 48 39 56 0 8 -20 30 -44 48 -37 28 -46
|
||
41 -53 80 -7 39 -14 49 -43 63 -23 12 -48 16 -72 13 -32 -4 -47 1 -102 39 -35
|
||
24 -81 49 -103 56 -21 7 -92 37 -158 68 l-120 56 -133 4 -133 4 -30 -28 c-17
|
||
-16 -51 -60 -77 -98 -50 -73 -98 -106 -152 -106 l-30 0 75 104 c93 127 103
|
||
157 72 203 -26 39 -59 52 -147 60 -76 6 -167 53 -172 87 -3 18 -11 21 -60 24
|
||
-53 3 -57 5 -72 36 -22 47 -20 66 7 66 42 0 48 11 37 71 -7 38 -7 72 0 109 10
|
||
54 10 56 -17 77 -16 13 -42 23 -59 23 -29 0 -32 3 -37 38 -4 21 -13 46 -21 57
|
||
-13 18 -15 18 -41 1 -15 -10 -29 -16 -31 -13 -3 2 -9 32 -15 66 -6 37 -22 81
|
||
-39 110 -23 37 -30 60 -30 102 -1 143 -58 259 -127 259 -27 0 -45 -10 -85 -47
|
||
-63 -60 -171 -267 -183 -351 -6 -44 -14 -59 -47 -90 l-39 -37 -111 9 c-79 7
|
||
-126 6 -167 -2 -32 -7 -83 -12 -115 -12 -51 0 -64 4 -107 35 l-48 36 -67 -12
|
||
c-37 -6 -94 -9 -127 -5 -48 5 -64 3 -79 -11 -22 -20 -23 -64 -2 -105 23 -44 8
|
||
-50 -122 -45 -90 2 -117 7 -146 24 l-36 21 -58 -48 c-48 -39 -87 -58 -199 -99
|
||
-167 -61 -199 -63 -269 -18 -28 19 -65 42 -83 52 -35 20 -43 39 -43 105 0 25
|
||
-7 70 -15 100 -8 30 -14 78 -13 106 1 39 -4 59 -20 82 l-22 30 50 42 c48 41
|
||
50 43 50 95 0 50 -2 55 -39 84 -30 24 -49 31 -81 31 -33 0 -50 7 -77 30 -42
|
||
37 -95 39 -198 6z"/>
|
||
</g>
|
||
</svg>`}})})}function od(){return t.jsx("div",{style:{width:46,height:46,margin:"0 auto"},children:t.jsx("div",{"data-geo":"ca",style:{width:"100%",height:"100%",lineHeight:0},dangerouslySetInnerHTML:{__html:`<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||
width="100%" height="100%" viewBox="0 0 1024.000000 1024.000000"
|
||
preserveAspectRatio="xMidYMid meet">
|
||
<metadata>
|
||
Created by potrace 1.10, written by Peter Selinger 2001-2011
|
||
</metadata>
|
||
<g transform="translate(0.000000,1024.000000) scale(0.100000,-0.100000)"
|
||
fill="rgba(32,193,158,0.15)" stroke="none">
|
||
<path d="M5231 9442 c-10 -18 -20 -22 -63 -22 -41 0 -57 -5 -77 -25 -23 -21
|
||
-31 -23 -63 -16 -54 12 -75 -14 -41 -51 16 -18 16 -19 -22 -17 -47 3 -89 -16
|
||
-81 -37 3 -8 9 -21 12 -29 4 -11 0 -15 -15 -15 -18 0 -21 -6 -21 -40 0 -22 -2
|
||
-40 -5 -40 -3 0 -24 9 -46 20 -37 19 -40 20 -45 3 -3 -10 -9 -26 -14 -35 -7
|
||
-13 -3 -22 18 -38 l27 -21 -42 4 c-36 4 -44 2 -58 -19 -11 -18 -22 -23 -38
|
||
-19 -16 4 -29 -1 -46 -19 -28 -30 -22 -56 13 -56 19 0 24 -4 19 -16 -4 -10 1
|
||
-22 11 -30 15 -10 15 -15 4 -33 -17 -28 1 -48 30 -32 11 6 31 11 44 11 13 0
|
||
34 7 47 16 22 16 23 16 12 -5 -7 -11 -27 -28 -46 -36 -40 -16 -43 -25 -14 -51
|
||
17 -15 23 -16 40 -6 16 11 19 9 19 -8 0 -22 15 -25 69 -14 21 5 31 12 31 25 0
|
||
11 7 19 15 19 8 0 15 -4 15 -10 0 -19 25 -9 63 25 20 20 37 40 37 45 0 9 40
|
||
30 56 30 11 0 1 -32 -26 -83 -24 -43 -38 -58 -65 -67 -19 -6 -37 -15 -40 -19
|
||
-2 -4 16 -32 40 -60 25 -29 45 -57 45 -62 0 -20 -26 -6 -76 41 -48 45 -57 50
|
||
-100 50 l-46 0 6 -31 c3 -17 6 -42 6 -54 0 -16 8 -26 28 -33 33 -11 82 -87 82
|
||
-126 0 -23 4 -26 33 -26 18 0 38 5 45 12 19 19 26 1 12 -34 -8 -18 -15 -34
|
||
-16 -36 -1 -2 -16 4 -34 13 -27 14 -38 15 -81 4 -40 -11 -49 -17 -49 -35 0
|
||
-13 -4 -26 -10 -29 -12 -8 -13 -95 -1 -95 5 0 14 7 22 16 12 14 14 14 25 -1 9
|
||
-12 19 -15 35 -10 18 6 21 4 16 -9 -8 -21 13 -76 37 -95 14 -12 19 -10 37 13
|
||
27 35 34 27 18 -18 -12 -33 -16 -36 -54 -36 -36 0 -42 4 -60 38 -17 32 -26 37
|
||
-59 40 -36 3 -38 2 -32 -20 3 -13 6 -33 6 -45 0 -16 6 -23 20 -23 23 0 23 0
|
||
11 -33 -6 -14 -18 -28 -28 -31 -26 -8 -65 -91 -57 -121 8 -34 62 -43 112 -21
|
||
35 16 39 16 77 -4 51 -26 69 -27 55 -1 -15 28 -14 29 26 37 28 5 38 3 49 -12
|
||
13 -18 15 -17 25 14 11 29 16 32 51 32 38 0 39 -1 39 -37 l0 -37 35 34 c19 19
|
||
37 42 41 52 3 10 11 18 19 18 7 0 18 13 23 29 9 25 7 32 -10 48 -15 13 -22 15
|
||
-25 6 -7 -20 -43 4 -43 28 0 16 -4 19 -17 14 -10 -4 -39 -11 -65 -15 l-48 -6
|
||
0 34 c0 33 1 34 18 19 31 -28 69 -21 114 22 l41 38 -22 37 -23 36 25 0 c28 0
|
||
77 35 77 55 0 8 -7 18 -16 23 -14 8 -14 11 7 26 l24 17 -22 18 c-19 16 -20 21
|
||
-9 30 19 16 8 51 -20 62 -13 4 -24 13 -24 19 0 6 -11 8 -26 4 -19 -5 -25 -4
|
||
-20 5 4 6 24 11 45 11 45 0 51 4 44 32 -5 16 -11 19 -34 14 -98 -20 -92 -20
|
||
-80 3 7 11 21 21 33 21 12 0 37 14 54 31 27 26 31 35 23 55 -8 22 -6 24 15 18
|
||
19 -4 27 1 45 29 27 44 27 67 0 67 -16 0 -19 3 -12 13 6 6 13 23 16 37 23 105
|
||
57 230 67 253 11 22 11 32 0 52 -17 31 -24 26 -60 -46 -17 -33 -37 -59 -45
|
||
-59 -13 0 -12 7 5 40 l21 40 -21 8 c-19 7 -19 8 7 24 16 9 42 40 59 70 27 46
|
||
30 60 27 109 l-5 56 -56 27 c-62 31 -57 33 -104 -35 l-17 -24 -1 30 c-1 17 -5
|
||
39 -9 50 -8 19 -8 19 -20 -3z"/>
|
||
<path d="M4510 8900 c0 -10 8 -24 18 -29 15 -9 15 -12 2 -21 -8 -6 -25 -8 -37
|
||
-5 -19 5 -23 1 -23 -20 0 -14 7 -28 15 -31 20 -8 19 -43 0 -51 -9 -3 -23 -19
|
||
-31 -35 -15 -29 -15 -31 13 -60 l28 -31 -27 7 c-26 6 -28 4 -28 -23 0 -16 7
|
||
-34 15 -41 8 -7 15 -24 15 -39 1 -14 6 -36 13 -49 l13 -22 39 20 c50 26 51 26
|
||
64 -10 9 -28 9 -30 -16 -30 -15 0 -37 -10 -49 -21 l-23 -22 22 -39 c15 -26 31
|
||
-41 50 -45 22 -4 25 -8 16 -19 -17 -21 13 -60 52 -68 45 -9 49 -8 49 12 0 9 9
|
||
23 20 30 17 10 20 10 20 -4 0 -8 5 -12 10 -9 6 3 10 17 10 30 0 18 4 22 20 18
|
||
16 -4 20 0 20 22 0 55 22 103 61 135 39 31 39 31 24 60 -14 28 -28 34 -65 32
|
||
-20 -1 -30 17 -30 54 0 17 -7 37 -14 44 -8 6 -16 30 -18 53 l-3 42 -16 -34
|
||
-15 -35 -13 32 c-11 26 -19 32 -42 32 -26 0 -29 4 -29 30 0 51 -46 129 -85
|
||
146 -44 18 -45 18 -45 -6z"/>
|
||
<path d="M4303 8653 c-21 -8 -15 -48 11 -72 l23 -22 7 23 c10 39 7 66 -10 72
|
||
-9 3 -16 6 -17 5 -1 0 -8 -3 -14 -6z"/>
|
||
<path d="M4084 8480 c-29 -11 -21 -60 16 -95 35 -34 30 -65 -11 -65 -27 0 -27
|
||
-1 -18 -29 9 -27 13 -29 35 -21 41 16 92 -12 112 -59 15 -36 45 -61 73 -61 6
|
||
0 9 33 6 89 -4 69 -9 96 -25 118 -31 44 -69 76 -81 68 -7 -3 -11 2 -11 14 0
|
||
22 -35 51 -60 50 -8 0 -24 -4 -36 -9z"/>
|
||
<path d="M3800 8405 c-25 -13 -55 -24 -67 -25 -36 0 -29 -30 7 -30 17 0 30 -5
|
||
30 -10 0 -6 6 -10 13 -8 6 1 25 -6 40 -16 28 -19 29 -19 49 1 20 21 20 22 3
|
||
67 -10 25 -20 46 -24 46 -3 -1 -26 -12 -51 -25z"/>
|
||
<path d="M4350 8322 c0 -36 5 -54 20 -67 23 -21 26 -41 8 -48 -10 -3 -10 -11
|
||
2 -34 l15 -30 52 23 51 23 -11 43 c-6 24 -20 55 -31 71 -20 27 -78 67 -97 67
|
||
-5 0 -9 -22 -9 -48z"/>
|
||
<path d="M3698 8278 c-19 -6 -28 -17 -28 -32 0 -12 -6 -28 -12 -35 -11 -10
|
||
-10 -14 5 -22 9 -6 17 -19 17 -30 0 -18 6 -20 47 -17 45 3 47 4 60 45 9 25 22
|
||
45 34 48 12 4 19 15 19 31 0 23 -3 24 -57 23 -32 0 -70 -5 -85 -11z"/>
|
||
<path d="M3339 8214 c-31 -25 -65 -44 -83 -46 -23 -2 -32 -9 -34 -24 -3 -18
|
||
-12 -23 -53 -28 -46 -6 -49 -8 -49 -36 0 -40 2 -45 21 -42 9 2 19 -4 23 -13 4
|
||
-12 10 -14 25 -5 17 9 20 6 23 -18 4 -34 38 -37 53 -4 6 13 18 22 33 22 15 0
|
||
29 10 40 31 25 46 49 75 57 67 4 -3 0 -17 -9 -30 -17 -26 -11 -68 9 -68 7 0
|
||
29 7 49 15 27 12 36 21 36 39 0 13 7 27 16 30 11 4 14 14 9 35 -5 24 -2 29 16
|
||
34 15 4 20 11 15 22 -3 9 -6 26 -6 37 0 17 -5 19 -32 14 -18 -3 -49 -2 -70 3
|
||
-33 8 -40 5 -89 -35z"/>
|
||
<path d="M4140 8172 c0 -16 41 -52 60 -52 24 0 26 23 4 44 -16 17 -64 22 -64
|
||
8z"/>
|
||
<path d="M3984 8108 c8 -62 20 -78 53 -78 27 0 27 6 -5 87 -12 29 -23 43 -36
|
||
43 -17 0 -18 -5 -12 -52z"/>
|
||
<path d="M4481 8140 c-38 -6 -74 -46 -50 -54 78 -26 120 -34 124 -23 3 7 9 24
|
||
14 38 9 24 7 27 -22 35 -18 5 -47 7 -66 4z"/>
|
||
<path d="M4670 8084 c0 -25 7 -41 23 -55 32 -27 37 -24 37 20 0 30 -6 44 -22
|
||
55 -33 23 -38 20 -38 -20z"/>
|
||
<path d="M3460 7991 c0 -11 -6 -21 -13 -21 -8 0 -22 -9 -32 -20 -15 -16 -15
|
||
-22 -5 -35 11 -13 9 -15 -13 -15 -33 0 -54 -25 -37 -45 11 -13 8 -15 -18 -15
|
||
-47 0 -57 -22 -23 -48 16 -12 34 -37 41 -57 11 -33 14 -35 56 -35 37 0 44 3
|
||
44 20 0 25 16 26 22 2 4 -14 17 -18 68 -19 70 -2 74 -4 66 -30 -5 -17 -14 -18
|
||
-71 -15 -35 2 -75 2 -89 -2 -22 -5 -23 -8 -14 -39 7 -22 22 -40 42 -51 31 -16
|
||
34 -16 85 3 28 12 61 21 72 21 11 0 37 9 58 20 31 15 40 17 44 6 3 -8 29 -15
|
||
63 -19 48 -5 62 -3 86 14 15 11 31 31 34 44 3 13 12 29 20 36 19 16 8 89 -18
|
||
111 -15 13 -25 15 -44 8 -33 -13 -34 -13 -34 5 0 7 -8 18 -17 24 -16 9 -16 11
|
||
-1 28 14 15 15 22 3 42 -9 18 -10 31 -2 48 7 16 7 27 -3 38 -12 14 -18 11 -57
|
||
-27 -23 -23 -43 -47 -43 -53 0 -5 9 -21 20 -35 17 -23 17 -26 3 -42 -12 -14
|
||
-13 -23 -4 -49 6 -18 10 -33 9 -34 -2 -1 -28 3 -58 9 -47 10 -55 14 -58 36 -2
|
||
14 -8 30 -13 36 -5 6 -4 15 2 21 15 15 -3 46 -46 79 -19 14 -35 35 -35 45 0
|
||
11 -6 19 -14 19 -7 0 -28 3 -45 6 -27 6 -31 4 -31 -15z"/>
|
||
<path d="M4416 7961 c-16 -18 -16 -22 20 -92 20 -41 38 -76 40 -78 1 -2 24 4
|
||
50 13 26 9 48 15 49 13 0 -1 18 -37 38 -79 37 -75 38 -78 22 -108 -15 -29 -15
|
||
-32 5 -59 11 -16 20 -42 20 -58 0 -22 7 -33 25 -41 31 -14 114 -5 138 16 15
|
||
14 17 13 17 -1 0 -9 5 -19 10 -22 6 -4 68 1 138 10 110 15 129 21 145 41 l18
|
||
24 40 -23 c38 -21 41 -21 53 -4 7 9 20 17 29 17 8 0 20 14 26 32 6 17 21 38
|
||
32 46 l22 15 -26 14 c-23 12 -25 17 -17 39 16 42 12 53 -25 60 -19 3 -35 10
|
||
-35 15 0 5 -11 14 -25 19 -14 5 -28 16 -31 24 -8 22 -228 -85 -232 -113 -4
|
||
-25 -15 -27 -33 -5 -9 11 -22 14 -45 9 -25 -4 -35 -1 -42 11 -9 15 -11 15 -23
|
||
-7 l-13 -24 -6 30 c-5 27 -10 31 -59 40 -48 9 -52 12 -38 24 10 7 17 20 17 27
|
||
0 8 9 14 21 14 18 0 15 6 -21 48 -56 63 -77 74 -111 57 -24 -13 -27 -12 -43
|
||
16 -10 18 -26 29 -39 29 -12 1 -33 7 -47 15 -33 19 -44 18 -64 -4z"/>
|
||
<path d="M3292 7948 c-45 -18 -52 -24 -46 -42 11 -38 19 -36 69 14 54 55 53
|
||
57 -23 28z"/>
|
||
<path d="M4020 7904 c-18 -20 5 -44 41 -44 32 0 35 7 16 31 -18 23 -44 30 -57
|
||
13z"/>
|
||
<path d="M4297 7883 c-13 -13 -19 -14 -31 -4 -9 8 -26 11 -40 7 l-25 -6 20
|
||
-57 c10 -31 19 -58 19 -61 0 -3 -16 16 -35 42 -45 58 -65 60 -65 7 0 -22 5
|
||
-43 10 -46 15 -9 12 -25 -4 -25 -20 0 -66 -39 -66 -56 0 -12 11 -14 63 -8 34
|
||
3 66 10 72 15 30 29 34 -11 4 -52 -16 -23 -19 -38 -14 -69 l7 -39 46 6 c69 9
|
||
92 28 92 72 0 21 6 46 14 56 10 14 11 25 4 39 -6 10 -7 40 -4 65 5 39 2 52
|
||
-22 88 -26 39 -29 41 -45 26z"/>
|
||
<path d="M4025 7808 c4 -18 9 -34 10 -36 3 -3 64 25 74 34 12 11 -26 34 -56
|
||
34 -34 0 -34 -1 -28 -32z"/>
|
||
<path d="M2877 7783 c-4 -3 -7 -14 -7 -23 0 -10 -7 -24 -16 -31 -12 -9 -15
|
||
-24 -11 -51 4 -33 2 -39 -30 -60 -19 -13 -40 -38 -48 -55 -8 -18 -21 -33 -30
|
||
-33 -20 0 -145 -118 -145 -137 0 -7 18 -46 40 -85 41 -71 41 -71 25 -110 -8
|
||
-21 -15 -45 -15 -53 0 -21 63 -20 95 1 15 10 25 12 25 5 0 -7 20 -11 50 -11
|
||
50 0 50 0 75 50 14 28 34 53 43 56 37 12 61 27 64 41 4 17 194 103 229 103 28
|
||
0 59 27 59 51 0 8 -7 42 -16 74 -17 66 -51 104 -95 105 -35 0 -85 55 -93 103
|
||
-7 37 -7 37 -54 36 -26 -1 -64 6 -84 15 -41 18 -51 19 -61 9z"/>
|
||
<path d="M4079 7759 c-20 -20 -20 -23 -5 -31 21 -12 46 6 46 33 0 25 -15 24
|
||
-41 -2z"/>
|
||
<path d="M3980 7665 c0 -8 -5 -24 -12 -34 -14 -23 4 -51 33 -51 16 0 19 8 19
|
||
44 0 31 -5 46 -16 50 -22 9 -24 8 -24 -9z"/>
|
||
<path d="M4468 7658 c-23 -19 -54 -70 -62 -100 -5 -23 0 -31 45 -63 46 -33 55
|
||
-36 88 -28 l36 9 3 63 c3 60 1 66 -29 97 -35 36 -56 42 -81 22z"/>
|
||
<path d="M802 6848 c-548 -619 -639 -726 -630 -742 5 -10 18 -20 27 -23 13 -3
|
||
16 -12 13 -34 -4 -28 -3 -29 22 -19 21 8 33 6 51 -6 30 -20 30 -22 6 -48 -18
|
||
-20 -19 -29 -10 -138 9 -102 8 -121 -5 -140 -22 -32 -20 -38 13 -38 16 0 42
|
||
-5 56 -10 21 -8 34 -6 58 7 18 10 36 24 42 31 8 10 18 9 52 -4 48 -19 58 -39
|
||
43 -78 -15 -40 -12 -117 6 -199 13 -54 14 -79 6 -102 -6 -16 -13 -83 -17 -148
|
||
-5 -90 -11 -120 -22 -124 -8 -3 -12 -12 -9 -20 4 -8 3 -20 -1 -26 -13 -22 -11
|
||
-86 3 -98 8 -6 14 -17 14 -23 0 -6 14 -31 30 -56 16 -25 30 -52 30 -61 0 -9 7
|
||
-22 15 -29 21 -17 19 -25 -14 -62 -15 -18 -33 -49 -40 -69 -6 -20 -23 -42 -37
|
||
-49 -17 -9 -24 -20 -21 -32 4 -13 -1 -18 -14 -18 -10 0 -19 -7 -19 -15 0 -9
|
||
-9 -15 -23 -15 -39 0 -58 -31 -62 -100 -4 -56 8 -157 20 -168 3 -3 13 2 23 11
|
||
22 20 82 23 82 5 -1 -21 -37 -58 -55 -58 -15 0 -16 -6 -10 -42 4 -24 7 -49 6
|
||
-55 -1 -7 -2 -28 -2 -45 -1 -18 -10 -42 -20 -54 -16 -17 -17 -24 -7 -52 12
|
||
-30 15 -32 61 -32 41 0 48 -3 43 -16 -3 -9 -6 -19 -6 -23 0 -5 -29 -16 -65
|
||
-26 -70 -19 -94 -47 -60 -71 15 -12 15 -13 -4 -23 -37 -20 -44 -47 -26 -102
|
||
11 -33 22 -49 34 -49 9 0 32 -15 50 -33 30 -31 31 -36 19 -62 -11 -25 -10 -29
|
||
20 -56 18 -16 41 -29 52 -29 12 0 23 -8 27 -17 3 -10 13 -26 21 -36 13 -14 13
|
||
-21 3 -41 -10 -18 -10 -31 0 -64 11 -37 16 -42 41 -42 31 0 36 -15 13 -40 -14
|
||
-15 -13 -20 5 -43 13 -16 27 -24 36 -20 12 4 14 -2 12 -30 -1 -19 4 -42 11
|
||
-51 12 -14 10 -16 -15 -16 -17 0 -24 -4 -18 -9 16 -15 248 -114 559 -238 654
|
||
-262 1210 -413 1945 -528 220 -35 528 -62 840 -74 140 -6 301 -13 356 -16
|
||
l101 -6 7 41 c9 55 37 52 48 -5 16 -81 27 -95 69 -95 21 0 41 -5 44 -11 14
|
||
-22 54 -28 95 -14 37 13 43 13 78 -7 20 -12 43 -28 50 -37 10 -13 16 -13 33
|
||
-3 17 11 23 9 45 -18 30 -35 75 -40 114 -13 31 22 146 19 171 -3 31 -28 79 6
|
||
79 56 0 20 28 34 51 25 22 -8 37 7 41 39 4 39 28 47 28 9 l0 -28 19 28 c10 16
|
||
16 38 13 52 -5 30 -9 29 68 9 46 -11 69 -13 91 -5 42 14 101 -7 110 -41 4 -14
|
||
22 -47 40 -72 l34 -47 55 4 c30 2 63 8 73 12 14 6 17 2 17 -21 0 -18 11 -40
|
||
31 -60 30 -31 30 -33 15 -62 -15 -30 -15 -30 14 -40 23 -8 29 -17 32 -44 3
|
||
-30 7 -33 38 -36 19 -2 47 -13 63 -24 28 -20 33 -20 169 -9 100 9 144 9 151 2
|
||
18 -18 92 -13 118 8 l24 19 60 -57 c33 -32 65 -60 70 -62 6 -2 25 -23 44 -47
|
||
32 -41 32 -44 16 -62 -14 -15 -15 -22 -5 -41 11 -19 10 -24 -5 -35 -15 -11
|
||
-22 -10 -46 7 -19 14 -36 18 -54 13 -21 -5 -27 -2 -32 15 -7 27 -89 83 -117
|
||
79 -19 -3 -17 -7 22 -49 46 -51 52 -80 26 -131 -14 -27 -15 -41 -5 -99 18
|
||
-111 16 -127 -29 -180 -43 -52 -62 -106 -40 -119 23 -14 -3 -63 -43 -83 -26
|
||
-12 -37 -24 -37 -40 0 -25 34 -52 53 -40 6 4 24 6 39 5 21 -2 28 2 28 16 0 19
|
||
59 82 77 82 6 0 23 20 37 44 31 53 49 60 142 57 57 -2 73 1 77 13 4 10 -2 20
|
||
-14 27 -18 9 -11 15 61 50 45 21 92 39 106 39 29 0 29 0 3 45 -21 35 -22 35
|
||
-46 19 -17 -11 -36 -14 -59 -9 -19 3 -34 7 -34 9 0 26 32 72 75 109 58 51 196
|
||
120 220 110 30 -11 83 6 89 29 3 12 0 26 -7 30 -6 4 -9 9 -7 11 3 2 40 30 82
|
||
61 54 40 89 76 119 122 23 36 49 69 58 73 9 5 120 46 246 91 127 46 236 88
|
||
243 93 6 5 12 22 12 38 0 19 5 29 15 29 9 0 18 7 21 15 4 10 13 13 25 10 26
|
||
-9 46 34 30 64 -9 17 -9 26 4 43 18 27 19 61 3 91 -28 52 -13 337 18 337 7 0
|
||
18 -9 24 -20 14 -27 25 -25 80 10 45 29 49 29 86 17 38 -13 41 -18 94 -145
|
||
l55 -132 33 6 c22 4 32 2 32 -6 0 -7 11 -28 26 -47 20 -27 32 -33 61 -33 45 0
|
||
109 41 117 76 4 14 14 24 24 24 12 0 27 17 43 51 13 28 34 58 46 66 13 9 28
|
||
33 33 54 15 55 43 54 34 -1 -4 -22 -4 -40 0 -40 4 0 42 18 86 40 87 44 90 45
|
||
90 30 0 -5 -14 -17 -30 -25 -17 -9 -40 -30 -50 -48 -18 -29 -20 -30 -20 -9 0
|
||
44 -34 6 -108 -123 -59 -101 -71 -129 -62 -141 7 -7 9 -21 6 -30 -3 -9 7 -34
|
||
25 -60 25 -37 34 -43 54 -38 14 3 33 -1 49 -12 26 -16 27 -16 41 2 8 10 15 25
|
||
15 33 0 8 6 19 14 25 7 6 25 46 39 89 21 63 24 83 15 102 -14 31 5 58 34 49
|
||
24 -7 48 12 48 41 0 15 15 32 48 54 39 27 207 227 221 263 2 6 -9 7 -28 3 -23
|
||
-5 -31 -3 -31 8 0 22 -47 39 -69 25 -15 -9 -23 -9 -34 0 -11 10 -20 4 -46 -28
|
||
-27 -34 -37 -40 -71 -40 -22 0 -42 -6 -47 -14 -9 -14 -113 -32 -113 -18 0 4 5
|
||
13 12 20 16 16 -78 17 -118 2 -23 -9 -31 -7 -54 15 -15 14 -38 25 -53 25 -23
|
||
0 -27 4 -27 30 0 30 -1 31 -36 24 -34 -6 -36 -6 -25 14 6 11 11 35 11 52 0 34
|
||
-25 90 -40 90 -5 0 -25 -16 -45 -37 -34 -35 -36 -35 -54 -19 -15 14 -29 16
|
||
-68 11 l-48 -6 35 30 c22 20 46 31 66 31 17 0 38 8 46 18 28 32 68 134 68 173
|
||
0 35 -3 40 -37 54 -28 12 -54 14 -99 10 l-60 -7 -135 -122 c-191 -174 -227
|
||
-235 -300 -500 -25 -92 -39 -122 -85 -187 -30 -44 -61 -79 -69 -79 -7 0 -52
|
||
-53 -99 -117 -81 -111 -86 -120 -86 -168 0 -45 -3 -53 -36 -78 -46 -37 -57
|
||
-26 -16 16 27 28 32 40 32 83 0 60 21 95 173 282 85 104 107 137 107 161 0 18
|
||
6 42 14 54 8 12 26 81 41 152 15 72 45 177 67 234 39 99 42 104 83 122 l43 19
|
||
7 97 7 98 42 41 c44 44 294 184 327 184 11 0 58 22 105 50 46 27 93 49 105 47
|
||
12 -1 58 27 119 73 l98 75 21 80 c14 53 19 94 15 122 -9 58 0 85 34 105 18 11
|
||
32 29 35 47 5 21 18 37 46 53 32 19 46 36 71 92 34 78 40 150 14 160 -11 4
|
||
-15 14 -12 31 5 23 3 24 -31 19 -34 -5 -38 -3 -61 35 -62 102 -200 139 -200
|
||
54 0 -14 -6 -23 -15 -23 -8 0 -15 9 -15 20 0 13 -13 26 -38 39 -37 19 -38 19
|
||
-77 -1 -51 -26 -50 -25 -35 -43 11 -13 9 -20 -12 -43 -14 -15 -28 -41 -31 -59
|
||
-4 -18 -23 -58 -44 -89 l-38 -58 -3 52 c-3 47 1 57 37 106 24 32 38 61 35 70
|
||
-4 10 13 37 45 74 39 45 49 63 44 81 -4 17 -11 21 -26 17 -11 -3 -32 1 -47 9
|
||
-26 14 -28 13 -46 -21 -18 -33 -21 -35 -54 -28 -19 4 -46 7 -60 6 -91 -6 -112
|
||
-10 -128 -25 -26 -24 -29 -22 -36 21 -10 60 -13 62 -86 47 -47 -10 -68 -11
|
||
-78 -2 -7 6 -38 9 -68 8 -30 -1 -54 0 -54 4 0 3 7 17 16 30 14 22 14 31 2 87
|
||
-13 61 -15 63 -43 62 -17 -1 -45 2 -63 8 -26 8 -31 14 -27 28 8 25 -23 73 -42
|
||
66 -8 -3 -30 10 -51 30 -36 35 -50 38 -94 19 -15 -6 -18 -2 -18 27 0 29 -7 39
|
||
-49 71 -33 26 -58 37 -82 37 -28 0 -45 12 -112 78 l-78 77 5 -100 c5 -98 9
|
||
-140 22 -238 5 -43 4 -49 -15 -54 -16 -4 -19 -11 -15 -28 4 -16 -5 -40 -30
|
||
-79 -20 -31 -38 -56 -40 -56 -3 0 -38 15 -80 34 l-74 34 -35 -23 c-19 -13 -37
|
||
-31 -40 -40 -9 -21 -30 -19 -45 5 -11 17 -10 20 7 20 14 0 21 10 25 36 8 40
|
||
-8 68 -35 61 -12 -3 -20 5 -28 33 -6 20 -22 49 -36 64 -20 21 -23 31 -15 41 8
|
||
10 6 24 -10 54 -11 23 -23 61 -27 86 -4 35 -10 45 -25 45 -15 0 -17 -5 -12
|
||
-25 7 -30 -10 -34 -38 -8 -17 15 -19 15 -36 0 -13 -12 -37 -17 -75 -17 l-56 0
|
||
-8 41 c-7 36 -13 42 -48 55 -22 7 -49 14 -60 14 -12 0 -26 5 -33 12 -6 6 -35
|
||
22 -64 34 l-53 22 -43 -35 c-55 -45 -86 -53 -202 -53 -106 0 -131 -10 -148
|
||
-59 -9 -25 -5 -37 29 -94 35 -58 40 -74 42 -136 2 -58 5 -71 19 -71 17 0 38
|
||
-47 38 -85 0 -11 11 -37 25 -56 19 -25 24 -40 19 -59 -4 -14 -8 -53 -9 -88 -1
|
||
-48 -6 -68 -22 -83 -19 -20 -19 -20 1 -63 17 -38 25 -45 57 -49 23 -3 63 -23
|
||
101 -51 52 -36 75 -62 118 -132 l53 -87 -5 -132 -5 -133 -79 -115 c-68 -100
|
||
-86 -119 -126 -138 -27 -12 -48 -25 -48 -29 0 -13 77 -80 92 -80 12 0 19 -16
|
||
27 -61 8 -46 21 -75 51 -115 22 -29 44 -71 49 -94 5 -23 16 -49 25 -59 11 -12
|
||
16 -37 16 -83 0 -46 4 -69 15 -78 17 -14 20 -70 4 -70 -6 0 -13 9 -16 20 -3
|
||
11 -13 20 -22 20 -9 0 -22 5 -28 11 -8 8 -13 -1 -18 -37 -9 -69 -10 -71 -41
|
||
-78 -24 -6 -35 0 -93 58 -36 36 -79 68 -94 72 -16 3 -33 17 -39 29 -6 13 -41
|
||
49 -79 80 -60 50 -69 62 -69 91 0 19 -13 75 -29 126 -36 116 -44 170 -30 201
|
||
8 19 8 31 -3 52 -15 27 -16 27 -129 30 -75 1 -122 -2 -139 -10 -14 -7 -39 -10
|
||
-56 -8 -18 3 -35 0 -38 -6 -5 -7 -27 4 -61 30 -41 30 -61 40 -78 35 -14 -3
|
||
-41 4 -72 19 -26 14 -64 25 -82 25 -23 0 -36 6 -40 18 -20 55 -146 142 -206
|
||
142 -21 0 -51 11 -78 30 -24 16 -63 32 -87 36 -36 5 -49 2 -82 -20 -27 -17
|
||
-53 -26 -81 -26 -40 0 -41 1 -36 29 4 19 -8 78 -33 168 -22 76 -40 140 -40
|
||
142 0 2 -9 1 -19 -2 -11 -3 -29 1 -40 9 -14 11 -26 12 -46 4 -40 -15 -55 -12
|
||
-55 12 0 12 -6 29 -14 37 -11 13 -12 37 -4 131 5 63 10 131 11 150 1 19 14 53
|
||
28 75 43 66 59 102 59 133 0 17 10 37 25 52 17 16 22 27 15 35 -7 8 6 29 40
|
||
67 28 31 50 61 50 67 0 6 6 11 13 11 7 0 18 5 25 12 9 9 5 15 -18 24 -46 20
|
||
-36 34 23 34 56 0 79 15 106 67 10 19 6 26 -33 57 -34 29 -52 36 -85 36 -28 0
|
||
-54 8 -79 25 -20 14 -49 25 -65 25 -30 0 -33 16 -6 33 11 7 28 2 60 -19 24
|
||
-15 64 -31 89 -35 25 -4 59 -12 76 -20 28 -11 35 -10 61 9 18 13 33 34 36 52
|
||
6 28 9 30 52 30 38 0 51 6 85 36 22 20 40 45 40 56 0 10 9 31 20 46 11 16 20
|
||
47 22 77 l3 50 -74 8 c-62 7 -81 14 -119 43 -33 25 -55 34 -83 34 -32 0 -39 3
|
||
-39 20 0 17 7 20 45 20 54 0 115 -28 139 -64 14 -22 24 -26 67 -26 46 0 55 4
|
||
85 37 28 30 74 140 62 147 -2 1 -20 9 -40 19 -55 24 -47 37 22 37 53 0 60 -2
|
||
60 -20 0 -30 66 -29 75 1 6 19 8 19 24 5 17 -15 41 -22 41 -11 0 3 -8 17 -17
|
||
31 -14 22 -14 27 -2 34 8 6 19 4 29 -5 13 -11 20 -9 46 13 19 16 37 45 45 70
|
||
7 23 18 47 26 53 8 7 13 32 13 65 0 52 -2 55 -40 80 -27 18 -40 34 -40 49 0
|
||
13 -13 34 -30 48 -37 31 -38 47 -5 47 21 0 29 9 46 47 16 37 17 48 7 55 -7 4
|
||
-16 8 -19 8 -3 0 -4 14 -1 30 4 29 3 31 -21 25 -17 -5 -37 -1 -56 11 -25 15
|
||
-29 23 -24 43 6 23 4 24 -27 18 -18 -4 -50 -2 -71 3 -28 8 -51 8 -80 0 -39
|
||
-11 -41 -13 -35 -42 3 -17 6 -39 6 -50 0 -10 13 -31 30 -46 21 -19 27 -31 20
|
||
-42 -5 -8 -5 -21 1 -32 8 -15 6 -18 -11 -18 -18 0 -20 -6 -20 -73 0 -49 -5
|
||
-80 -15 -93 -8 -10 -17 -41 -21 -67 -4 -28 -13 -51 -21 -54 -8 -3 -19 -16 -24
|
||
-29 -12 -32 -27 -30 -35 4 -4 15 -22 47 -40 72 -39 54 -48 87 -35 120 7 18 10
|
||
20 10 8 1 -21 17 -24 24 -5 11 29 -18 90 -60 124 -24 20 -43 44 -43 54 0 25
|
||
-8 24 -30 -3 -13 -16 -21 -48 -25 -105 -5 -60 -11 -83 -21 -83 -8 0 -16 18
|
||
-20 49 -4 28 -18 67 -35 92 -26 39 -27 44 -13 70 19 37 18 39 -9 39 -13 0 -28
|
||
5 -35 12 -8 8 -15 8 -27 -2 -13 -11 -20 -9 -41 11 l-25 23 23 18 c18 13 21 19
|
||
11 29 -20 20 -15 36 8 35 28 -1 36 20 11 28 -26 9 -82 120 -82 164 0 45 -64
|
||
154 -86 145 -8 -3 -21 2 -28 12 -13 19 -36 13 -36 -8 0 -7 -9 -18 -21 -25 -16
|
||
-11 -18 -16 -9 -27 17 -20 6 -43 -22 -47 -20 -3 -24 -11 -29 -56 -4 -29 -10
|
||
-56 -13 -59 -3 -4 3 -13 15 -21 l20 -14 -22 -24 c-34 -36 -21 -88 35 -141 25
|
||
-24 53 -43 64 -43 10 0 24 -11 29 -23 9 -19 17 -23 42 -19 19 2 31 0 31 -7 0
|
||
-6 -12 -11 -28 -11 -23 0 -29 -6 -40 -40 -14 -45 -7 -90 13 -90 8 0 15 12 17
|
||
28 5 41 23 28 26 -19 2 -30 -2 -47 -16 -63 -10 -11 -25 -36 -32 -53 -11 -28
|
||
-17 -33 -46 -33 l-34 0 0 -86 0 -86 -32 19 c-30 17 -33 24 -35 71 -1 28 2 54
|
||
7 57 6 4 10 21 10 39 0 30 -3 34 -35 39 -19 3 -50 18 -70 33 -34 26 -35 26
|
||
-35 5 0 -16 -6 -21 -25 -21 -14 0 -25 -5 -25 -10 0 -12 49 -60 61 -60 4 0 18
|
||
-14 30 -31 18 -25 19 -33 8 -40 -9 -5 -21 -2 -34 10 -11 9 -33 23 -49 30 -25
|
||
10 -31 10 -38 -3 -12 -21 -34 -20 -73 4 -26 16 -38 18 -60 10 -14 -5 -52 -10
|
||
-84 -10 -53 0 -59 2 -96 41 -27 27 -46 38 -59 35 -25 -6 -66 10 -66 27 0 8 -9
|
||
22 -20 32 -10 9 -22 37 -26 61 -9 60 -37 96 -67 85 -12 -5 -53 -14 -92 -20
|
||
-44 -8 -78 -20 -92 -33 -20 -19 -21 -22 -6 -44 17 -26 60 -33 69 -11 2 7 16
|
||
14 30 15 14 1 41 9 60 18 37 18 64 13 64 -11 0 -15 -88 -65 -116 -65 -31 0
|
||
-95 -43 -89 -60 11 -26 25 -111 25 -147 0 -31 -2 -33 -21 -22 -19 10 -20 8
|
||
-14 -10 5 -15 2 -21 -10 -21 -21 0 -29 24 -18 57 13 40 0 105 -26 121 -11 8
|
||
-21 23 -21 33 0 11 -6 19 -14 19 -8 0 -18 9 -21 20 -7 22 -41 45 -49 32 -3 -5
|
||
-44 -6 -92 -4 -72 4 -101 11 -161 38 -41 19 -85 34 -99 34 -28 0 -32 24 -9 56
|
||
10 15 22 20 39 17 59 -12 83 38 52 110 -18 44 -44 64 -93 72 -52 8 -147 73
|
||
-151 102 -2 13 -24 35 -53 55 -38 25 -58 48 -84 99 -39 76 -51 88 -99 96 -27
|
||
4 -36 2 -36 -8 0 -8 -11 -21 -23 -30 -20 -15 -27 -15 -55 -3 -37 15 -41 29
|
||
-12 44 13 7 20 21 20 40 0 19 7 34 20 42 21 13 27 43 11 52 -5 4 -21 -7 -34
|
||
-24 -14 -16 -32 -30 -41 -30 -8 0 -23 -11 -34 -25 -11 -14 -27 -25 -36 -25
|
||
-14 0 -16 18 -16 135 0 128 -1 135 -20 135 -16 0 -20 -7 -20 -36 0 -21 -4 -33
|
||
-10 -29 -18 11 -50 -6 -50 -26 0 -12 -7 -19 -20 -19 -11 0 -20 6 -20 14 0 21
|
||
-93 32 -131 16 -23 -10 -33 -10 -42 -1 -6 6 -27 11 -46 11 -39 0 -121 -28
|
||
-121 -41 0 -16 -38 -9 -44 8 -11 27 14 42 97 60 63 13 81 14 100 4 35 -19 161
|
||
-2 165 22 3 13 -3 17 -27 17 -19 0 -31 5 -31 13 0 16 -196 13 -216 -3 -8 -8
|
||
-19 -8 -31 -2 -13 7 -36 4 -78 -9 -77 -24 -145 -18 -145 14 0 12 -19 40 -41
|
||
63 -40 41 -58 85 -62 154 -2 22 -36 89 -72 143 -11 16 -85 -64 -653 -705z"/>
|
||
<path d="M5430 7379 c-14 -6 -42 -8 -62 -5 -29 5 -38 3 -38 -8 0 -25 20 -68
|
||
44 -97 14 -16 27 -42 31 -59 4 -16 13 -30 20 -30 27 0 45 12 45 30 0 28 19 35
|
||
85 32 49 -3 64 0 78 16 17 18 15 21 -47 76 -68 59 -98 68 -156 45z"/>
|
||
<path d="M3282 7352 c-42 -21 -55 -24 -61 -13 -6 10 -27 3 -90 -28 -69 -35
|
||
-81 -45 -81 -66 0 -14 -4 -25 -9 -25 -4 0 -29 -16 -55 -35 -48 -37 -60 -65
|
||
-27 -65 26 0 44 -23 30 -37 -23 -23 3 -33 87 -33 77 0 84 -2 84 -20 0 -19 -7
|
||
-20 -91 -20 -74 0 -113 -7 -136 -24 -1 -1 4 -22 11 -46 13 -43 16 -46 77 -69
|
||
35 -13 89 -26 120 -28 48 -4 58 -8 72 -33 9 -15 29 -31 44 -35 35 -8 73 -43
|
||
73 -67 0 -36 -77 -21 -127 24 -28 26 -121 48 -204 48 l-67 0 -6 -34 c-5 -25 0
|
||
-51 17 -93 22 -55 26 -60 95 -96 56 -29 72 -43 72 -60 0 -22 25 -126 32 -133
|
||
2 -2 59 -12 125 -22 l122 -19 46 29 c42 26 49 28 88 17 42 -11 42 -11 78 30
|
||
37 42 69 53 69 26 0 -23 51 -64 79 -65 23 0 23 -1 8 -18 -25 -27 -21 -32 23
|
||
-32 23 0 52 -7 65 -16 23 -15 31 -15 77 -2 49 13 53 17 62 53 7 32 6 40 -10
|
||
52 -23 17 -34 17 -34 -1 0 -8 -7 -16 -15 -20 -11 -4 -15 1 -15 18 0 14 -3 31
|
||
-6 39 -4 11 0 14 13 11 11 -3 26 3 37 15 19 21 46 28 46 14 0 -5 5 -15 10 -23
|
||
8 -13 11 -12 25 5 12 14 18 16 21 8 12 -27 24 -11 24 30 0 39 -3 44 -33 55
|
||
-22 8 -40 26 -57 57 -18 33 -29 43 -42 39 -13 -4 -24 9 -49 57 -31 62 -31 65
|
||
-36 243 l-4 181 -36 62 c-33 56 -39 61 -75 65 -45 4 -44 6 -53 -114 -4 -49
|
||
-11 -90 -15 -93 -5 -3 -3 -23 5 -45 13 -37 13 -40 -6 -51 -12 -6 -23 -8 -27
|
||
-5 -3 4 -9 46 -12 94 -11 138 -60 235 -96 187 -13 -18 -13 -21 2 -32 9 -7 21
|
||
-14 27 -16 21 -7 -5 -27 -34 -27 -17 0 -32 -6 -35 -15 -4 -8 -18 -15 -32 -15
|
||
-25 0 -25 0 -7 20 18 20 18 22 -5 69 -12 27 -33 54 -46 60 -22 9 -26 7 -47
|
||
-24 -16 -26 -29 -35 -49 -35 -38 0 -35 14 8 41 35 21 36 23 29 68 -4 25 -10
|
||
49 -13 52 -4 4 -31 -5 -60 -19z"/>
|
||
<path d="M4544 7356 c-44 -16 -66 -37 -61 -58 4 -13 0 -18 -14 -18 -18 0 -19
|
||
-8 -19 -112 1 -79 5 -121 15 -138 8 -14 14 -42 15 -63 0 -31 4 -39 27 -48 20
|
||
-7 30 -6 40 4 19 19 35 92 27 124 -7 27 -2 28 61 8 16 -5 27 3 53 39 18 24 32
|
||
54 32 65 0 12 11 44 25 71 14 27 25 58 25 70 0 18 -6 20 -52 20 -38 0 -65 7
|
||
-97 25 -23 14 -44 24 -45 24 0 -1 -15 -6 -32 -13z"/>
|
||
<path d="M5177 7353 c-2 -4 -7 -19 -10 -33 -4 -16 -19 -32 -40 -42 -31 -15
|
||
-35 -21 -40 -70 -4 -29 -7 -76 -7 -104 0 -44 3 -52 24 -62 l24 -11 -20 -40
|
||
c-13 -26 -18 -50 -14 -66 5 -21 12 -25 45 -25 l39 0 4 -55 c3 -52 2 -55 -21
|
||
-55 -20 0 -22 4 -17 24 5 20 -3 33 -46 74 -51 48 -52 52 -61 123 -17 142 -17
|
||
217 -1 223 14 5 22 22 38 74 7 21 5 22 -61 22 l-68 -1 -45 -60 c-25 -34 -51
|
||
-68 -57 -78 -9 -12 -10 -26 -3 -51 8 -28 6 -43 -14 -86 -15 -33 -21 -56 -15
|
||
-65 5 -8 9 -57 9 -110 0 -110 -2 -108 97 -104 45 2 54 -1 67 -21 15 -21 14
|
||
-23 -5 -29 -11 -4 -30 0 -43 9 -19 12 -27 13 -41 3 -15 -12 -15 -16 1 -57 10
|
||
-25 24 -49 33 -54 8 -5 25 -20 37 -33 30 -32 86 -29 94 5 5 22 6 22 45 -18 44
|
||
-45 50 -47 85 -21 22 18 25 18 36 3 11 -15 18 -15 59 -4 38 10 54 10 82 0 31
|
||
-11 36 -11 48 5 12 17 15 17 44 3 l31 -16 -6 29 c-6 27 -4 29 32 33 22 3 44 1
|
||
51 -4 7 -6 21 -3 38 8 27 18 27 18 -20 73 l-20 24 25 -6 c14 -4 40 -7 58 -7
|
||
28 0 35 -5 54 -45 14 -29 29 -45 40 -45 10 0 18 -4 18 -10 0 -5 12 -10 26 -10
|
||
15 0 44 -10 65 -22 31 -17 39 -28 39 -50 0 -21 -6 -29 -26 -34 -20 -5 -24 -12
|
||
-22 -33 2 -18 10 -27 25 -29 18 -3 26 5 38 36 14 34 19 38 43 34 15 -2 38 -15
|
||
52 -28 17 -16 30 -20 40 -14 10 6 17 2 25 -13 5 -12 31 -33 57 -47 29 -15 68
|
||
-52 102 -94 51 -63 55 -71 41 -86 -9 -10 -15 -36 -15 -63 0 -38 -7 -57 -35
|
||
-96 -46 -64 -45 -83 8 -119 23 -16 51 -39 61 -51 16 -18 17 -21 3 -21 -9 0
|
||
-28 -11 -43 -25 -15 -14 -33 -25 -39 -25 -7 0 -15 -6 -18 -14 -7 -19 -69 -36
|
||
-129 -36 -68 0 -79 -6 -67 -37 10 -26 7 -29 -45 -65 -6 -4 -4 -18 4 -38 39
|
||
-93 107 -121 185 -75 49 28 49 28 35 55 -13 25 13 33 60 20 19 -6 36 -10 37
|
||
-10 2 0 3 9 3 19 0 10 9 29 19 42 l19 24 13 -28 c13 -29 17 -31 38 -18 10 7
|
||
34 -4 80 -35 55 -37 74 -44 113 -44 l48 0 0 -45 c0 -58 19 -68 135 -70 63 -1
|
||
99 -6 122 -18 36 -19 87 -21 181 -7 47 6 75 5 110 -5 41 -13 48 -12 64 2 16
|
||
15 16 17 -3 54 -13 26 -26 39 -40 39 -11 0 -35 11 -52 24 -33 25 -124 56 -163
|
||
56 -14 0 -37 17 -63 49 l-41 49 50 -13 c28 -7 74 -23 103 -35 46 -19 59 -20
|
||
107 -12 48 9 59 8 88 -10 l32 -20 0 51 c0 39 -4 51 -18 55 -10 4 -29 20 -41
|
||
37 l-23 31 23 -7 c13 -4 30 -10 36 -12 10 -4 10 2 2 24 -6 19 -23 36 -44 46
|
||
-19 9 -35 23 -35 31 0 9 -17 20 -40 27 -37 11 -39 14 -25 29 13 14 13 19 2 28
|
||
-7 6 -22 9 -34 6 -15 -4 -26 3 -43 26 -21 30 -26 32 -66 26 -42 -5 -45 -4 -70
|
||
33 -29 45 -59 57 -91 36 -29 -19 -33 -19 -33 4 0 12 -11 23 -30 30 -20 7 -30
|
||
17 -30 31 0 19 2 20 28 7 28 -14 62 -12 62 3 0 12 -41 50 -54 50 -6 0 -5 4 3
|
||
9 12 8 13 15 4 34 -7 14 -9 28 -6 31 12 12 40 6 57 -13 9 -10 37 -24 60 -31
|
||
37 -10 47 -10 69 4 l24 17 -1 -38 c-1 -34 3 -40 57 -77 41 -29 60 -37 68 -29
|
||
6 6 28 9 50 6 43 -6 49 3 24 40 -8 12 -21 41 -29 65 -14 39 -14 42 3 42 19 0
|
||
51 57 51 90 0 15 -7 20 -25 20 -21 0 -25 5 -25 29 0 21 6 32 20 36 22 7 26 20
|
||
9 31 -6 3 -9 19 -6 34 6 25 3 28 -31 33 -28 5 -46 1 -78 -18 -24 -14 -45 -25
|
||
-48 -25 -3 0 -6 19 -6 42 l0 43 -26 -37 -27 -37 -26 18 c-14 11 -37 31 -50 45
|
||
-18 19 -30 24 -48 20 -20 -6 -23 -3 -23 25 0 42 -14 39 -46 -9 -22 -34 -32
|
||
-40 -60 -40 -28 0 -38 6 -54 32 -19 32 -21 32 -101 34 -90 2 -118 15 -70 32
|
||
35 12 38 24 17 65 -14 26 -14 27 7 27 13 0 33 7 45 16 19 13 21 19 11 31 -10
|
||
11 -26 13 -76 7 l-64 -6 13 28 c6 16 18 37 26 46 12 14 11 18 -10 29 -13 7
|
||
-33 19 -46 27 -21 14 -22 13 -20 -9 3 -22 -1 -24 -41 -27 l-44 -3 32 39 c17
|
||
22 31 42 31 45 0 3 -23 10 -51 17 -45 11 -51 11 -64 -6 -13 -16 -16 -17 -24
|
||
-4 -8 12 -13 12 -30 -4 -21 -19 -21 -19 -21 17 0 30 -4 37 -20 37 -15 0 -20
|
||
-7 -20 -26 0 -39 -17 -63 -40 -57 -24 6 -25 27 -5 66 18 35 6 64 -30 73 -37 9
|
||
-53 -1 -57 -37 -4 -47 -24 -46 -48 0 -11 23 -23 41 -26 41 -3 0 -19 -11 -36
|
||
-25 -16 -14 -34 -25 -39 -25 -16 0 -9 33 12 56 17 18 19 26 9 44 -9 16 -17 20
|
||
-36 16 -16 -4 -24 -2 -24 7 0 21 -38 35 -110 41 -77 7 -114 -7 -118 -44 -1
|
||
-14 -5 -35 -7 -47 l-5 -23 -21 21 c-11 11 -30 19 -42 17 -18 -2 -24 -12 -31
|
||
-55 -6 -34 -14 -53 -22 -53 -17 0 -18 34 -3 62 9 17 8 24 -6 34 -12 9 -16 20
|
||
-11 39 8 30 -15 80 -45 96 -15 8 -19 17 -15 34 4 15 -1 31 -13 46 -16 20 -23
|
||
22 -47 13 -22 -8 -34 -7 -51 3 -11 8 -23 10 -26 6z"/>
|
||
<path d="M3796 7308 c-8 -12 -12 -26 -9 -32 4 -6 24 -37 46 -70 43 -64 40 -64
|
||
82 15 l23 45 -20 32 c-17 28 -25 32 -63 32 -34 0 -47 -5 -59 -22z"/>
|
||
<path d="M4176 7323 c-26 -4 -28 -7 -23 -39 5 -30 4 -34 -12 -29 -10 3 -23 -1
|
||
-30 -9 -15 -18 2 -66 24 -66 11 0 15 -12 15 -51 0 -46 -2 -50 -22 -47 -15 2
|
||
-26 14 -33 33 -17 51 -35 57 -60 18 -16 -24 -16 -28 -1 -54 9 -15 16 -41 16
|
||
-57 0 -26 5 -32 36 -42 43 -15 104 -102 104 -149 0 -23 7 -34 28 -45 36 -19
|
||
62 -5 62 34 0 23 3 27 20 23 12 -3 36 5 60 21 44 29 47 43 34 140 -6 41 -9 46
|
||
-27 40 -17 -6 -19 -3 -13 22 8 30 22 44 44 44 6 0 12 9 12 21 0 18 -4 20 -26
|
||
15 -93 -24 -98 -21 -59 30 14 18 25 40 25 48 0 9 7 16 15 16 19 0 19 19 0 44
|
||
-14 19 -25 19 -99 0 -21 -5 -28 -1 -37 20 -7 14 -15 25 -18 25 -3 -1 -19 -4
|
||
-35 -6z"/>
|
||
<path d="M1673 7264 c-18 -13 -20 -20 -12 -42 6 -15 15 -30 21 -33 6 -4 43 4
|
||
84 18 59 20 72 28 67 41 -11 30 -15 33 -28 22 -9 -7 -26 -8 -56 -1 -54 13 -49
|
||
13 -76 -5z"/>
|
||
<path d="M4257 6442 c-19 -20 -27 -39 -27 -64 0 -37 -12 -48 -52 -48 -26 0
|
||
-21 -43 5 -48 11 -2 27 -12 37 -22 10 -10 53 -35 96 -55 l78 -37 41 43 40 44
|
||
-27 3 c-23 3 -28 8 -28 31 0 18 -12 38 -35 61 -19 19 -35 39 -35 46 0 14 -48
|
||
74 -59 74 -4 0 -19 -13 -34 -28z"/>
|
||
<path d="M5908 6353 l-38 -15 0 -63 c0 -34 3 -77 6 -94 6 -29 9 -31 48 -30 73
|
||
2 90 11 105 57 12 38 11 45 -3 61 -9 10 -16 35 -16 59 0 41 -1 42 -32 41 -18
|
||
0 -50 -7 -70 -16z"/>
|
||
<path d="M6049 6354 c-6 -7 -8 -22 -4 -34 5 -15 15 -20 43 -20 51 0 67 12 53
|
||
38 -13 24 -76 35 -92 16z"/>
|
||
<path d="M5393 5732 c10 -10 17 -26 17 -34 0 -9 10 -18 23 -22 72 -19 77 13 7
|
||
49 -59 30 -69 31 -47 7z"/>
|
||
<path d="M5335 5690 c12 -42 19 -50 35 -40 13 8 10 14 -14 37 l-28 28 7 -25z"/>
|
||
<path d="M5269 5683 c-11 -12 -13 -48 -11 -148 1 -73 6 -145 11 -161 7 -25 2
|
||
-40 -32 -97 -22 -37 -38 -69 -36 -71 2 -2 33 2 69 10 35 7 66 11 68 9 2 -2 6
|
||
-22 9 -45 l6 -42 36 7 c44 8 51 12 51 30 0 31 34 84 57 90 22 5 24 9 18 44 -5
|
||
33 -3 40 18 54 23 15 25 15 30 -3 3 -13 14 -20 30 -20 19 0 26 -6 29 -22 2
|
||
-19 14 -25 66 -37 71 -16 81 -13 119 36 l24 31 -23 27 c-22 25 -26 26 -63 16
|
||
-58 -16 -74 -14 -68 7 7 29 -55 122 -82 122 -12 0 -41 14 -63 30 -24 17 -54
|
||
30 -71 30 -20 0 -30 6 -34 20 -6 24 -57 29 -57 5 0 -31 -21 -13 -47 40 -15 30
|
||
-30 55 -34 55 -4 0 -13 -7 -20 -17z"/>
|
||
<path d="M6107 5401 c-21 -8 -14 -17 32 -41 31 -16 48 6 24 32 -17 19 -27 21
|
||
-56 9z"/>
|
||
<path d="M6017 5338 c-17 -13 -17 -15 7 -37 27 -25 53 -25 70 1 19 32 -43 61
|
||
-77 36z"/>
|
||
<path d="M5670 5153 c-25 -8 -55 -11 -66 -8 -19 4 -23 -1 -29 -32 -4 -21 -13
|
||
-49 -20 -63 -11 -21 -11 -31 1 -59 13 -31 16 -33 32 -19 9 9 31 19 49 23 24 5
|
||
40 19 63 56 27 42 31 54 24 82 l-9 33 -45 -13z"/>
|
||
<path d="M5927 5072 c-38 -39 -36 -79 6 -120 26 -25 36 -29 45 -20 24 24 8
|
||
168 -18 168 -3 0 -18 -13 -33 -28z"/>
|
||
<path d="M58 4537 c-18 -15 -28 -32 -28 -49 0 -15 -5 -30 -10 -33 -6 -4 -10
|
||
-25 -10 -48 1 -23 -2 -60 -5 -82 -4 -22 -2 -82 3 -134 8 -73 14 -98 31 -114
|
||
16 -16 23 -19 33 -9 9 9 9 17 0 37 -7 14 -12 55 -12 91 0 58 2 66 21 71 17 5
|
||
20 11 15 38 -6 28 -2 37 29 64 20 17 40 31 45 31 13 0 50 37 50 50 0 6 -13 10
|
||
-30 10 -16 0 -30 -5 -30 -11 0 -5 -5 -7 -11 -3 -6 3 -9 17 -6 30 3 18 0 24
|
||
-14 24 -12 0 -19 9 -21 27 -4 35 -17 37 -50 10z"/>
|
||
<path d="M9311 4207 c-16 -8 -29 -30 -42 -72 -17 -54 -18 -73 -8 -184 5 -69
|
||
17 -156 25 -194 7 -37 14 -83 14 -101 0 -24 7 -38 23 -49 18 -12 20 -18 10
|
||
-28 -7 -7 -13 -33 -13 -58 0 -35 -6 -51 -26 -72 l-26 -27 22 -12 c17 -9 25 -9
|
||
38 3 36 30 41 29 35 -10 -3 -21 -13 -53 -21 -72 -15 -33 -15 -34 12 -57 15
|
||
-13 33 -24 39 -24 13 0 157 97 192 129 11 11 40 22 65 26 44 6 47 9 83 76 21
|
||
38 42 69 46 69 15 0 31 -25 31 -49 l0 -24 24 22 c14 13 23 28 20 35 -6 16 52
|
||
71 60 57 4 -6 1 -23 -7 -38 -8 -16 -21 -48 -29 -73 -8 -25 -19 -53 -23 -62 -5
|
||
-13 -1 -20 16 -27 20 -7 30 -4 56 21 27 26 32 39 37 97 9 93 9 122 1 159 -5
|
||
24 -4 32 6 32 35 -1 79 -62 79 -110 0 -29 6 -41 25 -54 13 -9 27 -16 30 -16 3
|
||
0 5 23 5 50 0 43 3 50 20 50 13 0 20 -7 20 -18 0 -18 46 -70 54 -61 2 2 11 19
|
||
20 37 16 32 16 38 0 107 -15 65 -22 78 -53 100 l-36 25 -6 -35 c-12 -73 -39
|
||
-56 -39 26 0 52 -2 59 -20 59 -18 0 -20 -7 -20 -70 0 -63 -2 -70 -20 -70 -15
|
||
0 -20 7 -20 25 0 14 -6 25 -12 25 -7 0 -19 4 -27 9 -11 7 -10 15 8 45 15 24
|
||
21 47 19 73 l-3 38 -29 -42 c-26 -39 -56 -57 -56 -34 0 5 -11 12 -25 15 -30 8
|
||
-43 47 -28 87 16 42 -16 44 -93 6 -49 -24 -64 -36 -64 -53 0 -11 -8 -28 -18
|
||
-37 -16 -15 -19 -15 -30 4 -12 19 -13 19 -37 -10 -23 -27 -28 -28 -60 -18 -39
|
||
12 -41 16 -20 56 12 24 12 31 2 40 -10 7 -22 4 -45 -12 -26 -18 -33 -31 -38
|
||
-70 -6 -44 -18 -66 -31 -54 -3 3 -10 49 -17 101 -9 65 -18 102 -31 116 -16 18
|
||
-16 20 -2 20 26 0 24 90 -1 97 -14 3 -17 12 -14 39 5 38 -6 43 -47 21z"/>
|
||
<path d="M6289 3926 c-19 -17 -59 -99 -59 -122 0 -1 12 -4 26 -7 20 -4 35 3
|
||
62 27 34 32 35 33 22 72 -17 53 -21 56 -51 30z"/>
|
||
<path d="M204 3618 c3 -13 6 -29 6 -36 0 -7 12 -24 26 -37 24 -23 25 -25 7
|
||
-25 -12 0 -25 -11 -32 -27 -11 -24 -9 -29 18 -54 17 -15 31 -36 31 -45 0 -10
|
||
14 -33 31 -50 l32 -33 -22 -27 c-21 -27 -21 -29 -5 -41 10 -7 23 -13 30 -13 8
|
||
0 15 -26 19 -70 6 -62 9 -70 25 -65 20 6 35 -10 36 -40 0 -21 133 -209 141
|
||
-201 7 7 43 149 43 170 0 11 -18 43 -40 72 -33 43 -40 61 -40 97 0 24 -5 70
|
||
-12 103 -10 51 -21 71 -87 150 -42 50 -83 105 -93 122 -18 34 -49 56 -92 66
|
||
-26 6 -28 5 -22 -16z"/>
|
||
<path d="M8571 3326 l-65 -33 56 -7 c31 -4 64 -14 74 -21 29 -22 113 -18 190
|
||
9 101 35 104 37 104 56 0 21 -59 30 -200 29 -88 0 -100 -3 -159 -33z"/>
|
||
<path d="M6155 3176 c-43 -12 -57 -39 -28 -51 27 -11 175 -36 181 -31 2 3 -13
|
||
25 -33 50 -40 49 -53 53 -120 32z"/>
|
||
<path d="M9062 3048 c-19 -55 3 -97 43 -82 12 5 13 9 4 20 -7 9 -9 29 -5 54 5
|
||
34 4 40 -12 40 -11 0 -22 -12 -30 -32z"/>
|
||
<path d="M9286 3001 c-3 -20 -8 -79 -11 -133 l-7 -96 38 -26 c58 -39 82 -34
|
||
132 24 24 27 50 66 58 86 13 32 13 38 0 59 -14 20 -19 22 -53 14 -21 -5 -48
|
||
-9 -61 -9 -22 0 -23 3 -17 43 6 42 6 42 -34 58 l-40 17 -5 -37z"/>
|
||
<path d="M9148 2819 c-16 -4 -45 -21 -65 -37 -21 -16 -54 -33 -73 -37 -19 -4
|
||
-47 -14 -62 -21 -33 -17 -57 -9 -69 22 -4 13 -15 24 -22 24 -19 0 -32 -91 -15
|
||
-101 18 -11 113 -24 173 -23 125 1 176 24 140 64 -14 15 -13 21 6 64 11 26 19
|
||
49 17 50 -1 2 -15 0 -30 -5z"/>
|
||
<path d="M6412 1658 c-7 -7 -39 -11 -76 -11 -60 0 -64 -1 -69 -23 -4 -22 -1
|
||
-24 39 -24 23 0 53 -4 66 -9 13 -4 44 -11 71 -15 l47 -7 0 39 c0 36 -3 41 -31
|
||
51 -38 13 -33 13 -47 -1z"/>
|
||
</g>
|
||
</svg>`}})})}function id(){return t.jsx("div",{style:{width:46,height:46,margin:"0 auto"},children:t.jsx("div",{"data-geo":"za",style:{width:"100%",height:"100%",lineHeight:0},dangerouslySetInnerHTML:{__html:`<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||
width="100%" height="100%" viewBox="0 0 1024.000000 1024.000000"
|
||
preserveAspectRatio="xMidYMid meet">
|
||
<metadata>
|
||
Created by potrace 1.10, written by Peter Selinger 2001-2011
|
||
</metadata>
|
||
<g transform="translate(0.000000,1024.000000) scale(0.100000,-0.100000)"
|
||
fill="rgba(32,193,158,0.15)" stroke="none">
|
||
<path d="M8143 9561 l-182 -26 -29 -40 c-37 -52 -98 -106 -156 -140 -37 -22
|
||
-71 -30 -162 -42 -153 -18 -189 -34 -251 -108 -27 -33 -57 -66 -66 -74 -10 -7
|
||
-17 -20 -17 -28 0 -8 -11 -31 -25 -51 -14 -20 -25 -47 -25 -59 0 -17 -9 -25
|
||
-42 -35 -28 -8 -47 -22 -59 -43 -14 -22 -34 -36 -82 -53 -62 -22 -65 -24 -73
|
||
-65 l-9 -42 -74 -3 c-71 -3 -76 -5 -125 -46 -28 -24 -69 -55 -91 -68 -55 -34
|
||
-96 -119 -135 -277 -17 -68 -43 -152 -57 -187 -23 -58 -28 -65 -63 -74 -41
|
||
-11 -79 -48 -137 -136 -44 -67 -114 -114 -169 -114 -33 0 -184 -40 -246 -65
|
||
-21 -8 -23 -26 -7 -42 9 -9 8 -18 -3 -35 -9 -13 -18 -61 -23 -113 -5 -73 -11
|
||
-95 -29 -115 -14 -15 -27 -49 -34 -87 -11 -63 -44 -122 -111 -198 -43 -49
|
||
-137 -85 -223 -85 -33 0 -116 -10 -184 -22 l-123 -21 -107 27 c-105 28 -174
|
||
58 -174 77 0 6 -16 17 -36 25 -27 11 -55 13 -118 8 l-83 -7 -27 36 c-17 22
|
||
-81 67 -173 122 l-146 88 -96 -7 c-93 -7 -97 -8 -149 -49 -46 -37 -59 -55 -98
|
||
-142 -41 -92 -44 -106 -44 -183 l0 -84 -90 -113 c-74 -93 -102 -120 -160 -154
|
||
-75 -45 -111 -88 -154 -185 l-25 -56 -52 0 c-36 0 -65 -8 -99 -26 -46 -25 -48
|
||
-28 -55 -79 l-6 -53 -218 -1 c-165 -1 -231 3 -267 14 -47 14 -50 14 -87 -11
|
||
l-39 -26 -24 23 c-21 20 -23 28 -18 74 5 41 2 60 -15 93 -24 48 -23 52 46 139
|
||
19 23 43 70 54 105 19 56 20 70 9 140 -7 50 -29 120 -61 197 -27 66 -49 134
|
||
-49 151 0 40 -13 66 -60 115 -21 22 -50 69 -64 105 -60 147 -109 197 -212 216
|
||
-27 5 -55 22 -91 55 -28 27 -54 49 -56 49 -2 0 -3 -30 -1 -67 42 -735 57
|
||
-1090 69 -1647 8 -367 15 -712 15 -765 l0 -97 -70 -37 c-39 -20 -80 -37 -90
|
||
-37 -11 0 -40 -10 -64 -22 -38 -18 -46 -27 -51 -59 -9 -50 -24 -61 -104 -74
|
||
l-66 -11 0 -69 0 -68 -40 -14 c-38 -13 -43 -12 -95 14 -80 39 -202 47 -285 17
|
||
-33 -11 -97 -24 -143 -27 -82 -6 -85 -6 -175 35 -97 43 -118 47 -179 35 -34
|
||
-7 -38 -6 -38 12 0 29 -66 48 -124 34 l-44 -10 -6 40 c-4 21 -13 52 -22 69
|
||
-12 24 -13 36 -3 65 13 40 8 80 -16 137 l-16 38 -29 -27 c-25 -24 -32 -26 -45
|
||
-15 -8 7 -15 28 -15 47 0 19 -4 42 -10 52 -13 25 -70 34 -121 21 -41 -11 -56
|
||
-24 -113 -95 -27 -34 -28 -36 -11 -61 15 -24 15 -28 -1 -71 -21 -55 -88 -128
|
||
-130 -143 -16 -6 -38 -24 -48 -41 l-18 -30 34 -37 c18 -20 44 -54 56 -74 13
|
||
-20 38 -46 56 -58 22 -13 36 -31 40 -51 3 -17 20 -47 36 -66 39 -44 116 -198
|
||
125 -249 4 -21 27 -70 50 -109 32 -53 45 -85 50 -130 8 -60 43 -162 92 -265
|
||
14 -30 32 -77 39 -103 7 -27 30 -72 51 -100 56 -74 97 -152 122 -229 17 -52
|
||
45 -98 123 -200 55 -73 115 -149 133 -168 18 -19 54 -72 79 -118 26 -46 60
|
||
-95 77 -110 38 -35 95 -176 120 -296 12 -60 19 -133 19 -213 0 -146 -13 -189
|
||
-71 -232 -35 -25 -44 -28 -77 -20 -95 23 -91 24 -103 -7 -6 -16 -8 -47 -4 -69
|
||
3 -22 8 -64 11 -93 3 -29 9 -52 12 -50 50 26 63 30 76 25 18 -7 66 -80 66
|
||
-101 0 -24 -43 -4 -58 27 -8 17 -21 27 -34 27 l-21 0 20 -22 c12 -13 34 -44
|
||
50 -69 36 -60 111 -152 132 -163 27 -14 41 -38 41 -71 0 -21 9 -39 26 -56 35
|
||
-32 64 -95 64 -140 0 -32 -4 -37 -32 -45 -26 -8 -34 -17 -41 -47 -7 -30 -6
|
||
-42 7 -56 15 -16 15 -19 1 -31 -8 -7 -15 -20 -15 -29 0 -22 50 -99 84 -130
|
||
l26 -24 0 64 c0 92 15 139 44 139 13 0 43 3 67 6 44 6 44 5 67 -38 16 -32 22
|
||
-60 22 -111 l0 -68 30 16 c41 21 96 19 120 -5 12 -12 33 -20 55 -20 29 0 115
|
||
-42 115 -56 0 -2 -9 -18 -20 -36 -30 -50 -27 -59 23 -52 38 6 47 3 86 -30 64
|
||
-53 79 -60 156 -67 39 -4 91 -10 117 -14 43 -7 48 -6 48 12 0 27 39 61 75 65
|
||
21 2 34 11 43 31 7 15 30 36 51 47 25 12 41 29 45 45 5 19 20 32 53 47 46 20
|
||
86 21 182 2 32 -7 33 -6 21 15 -29 54 17 64 169 34 82 -15 89 -15 124 2 28 13
|
||
66 18 152 19 130 2 167 17 173 72 2 19 22 48 59 85 l55 56 91 12 c51 7 113 22
|
||
139 33 52 23 99 20 195 -13 42 -14 83 -19 168 -19 101 0 114 2 131 21 25 28
|
||
87 59 117 59 34 0 314 -57 366 -75 25 -8 62 -15 84 -15 24 0 51 -8 70 -22 21
|
||
-15 56 -26 97 -31 36 -4 84 -10 108 -13 40 -6 42 -5 42 19 0 13 7 30 15 37 8
|
||
7 20 29 26 50 7 21 21 42 33 48 25 11 107 1 185 -22 30 -9 66 -16 81 -16 14 0
|
||
35 -7 47 -15 20 -14 26 -14 63 1 l40 16 -21 35 c-31 50 -18 96 38 139 59 45
|
||
117 50 266 25 160 -28 179 -27 251 13 34 19 87 41 119 49 35 9 87 35 132 66
|
||
41 28 94 60 117 72 24 12 66 41 93 64 28 23 74 55 103 70 29 16 71 44 94 64
|
||
23 20 76 59 117 86 47 31 91 70 115 102 28 38 55 61 95 80 135 66 295 201 413
|
||
349 32 40 68 80 80 90 13 11 34 35 48 54 47 68 244 271 269 277 14 3 52 31 85
|
||
62 34 31 83 67 110 80 37 18 69 49 135 129 47 58 110 132 139 165 29 33 66 88
|
||
82 123 17 35 77 125 134 201 57 76 120 170 139 209 20 40 47 80 59 90 35 28
|
||
66 77 94 145 14 34 43 87 64 118 21 31 58 88 82 126 45 74 291 336 340 361 15
|
||
8 43 14 63 14 55 0 80 18 211 152 107 109 123 130 144 188 13 36 41 95 62 131
|
||
30 51 46 99 73 215 19 82 35 161 35 177 0 15 20 67 45 116 64 128 125 319 125
|
||
391 l0 57 -172 7 c-95 4 -203 12 -241 17 -131 20 -157 -7 -157 -161 l0 -87
|
||
-43 -17 c-58 -22 -223 -14 -324 16 -67 20 -79 28 -147 98 -71 73 -74 78 -81
|
||
135 -9 83 -9 83 -52 87 l-38 3 -1 90 c-1 50 -6 114 -11 143 l-10 53 74 66 c42
|
||
38 81 82 89 102 8 20 23 45 33 56 10 11 21 37 24 59 3 21 7 39 9 41 2 1 29 22
|
||
60 48 40 32 73 49 110 57 51 12 57 11 106 -14 28 -14 62 -40 74 -57 28 -38 70
|
||
-64 142 -89 l56 -19 0 99 c0 98 0 99 30 120 36 26 37 31 5 78 -16 24 -21 40
|
||
-15 46 6 6 10 24 10 42 0 18 9 61 20 96 18 54 22 105 30 372 l9 309 -35 68
|
||
c-34 65 -35 69 -25 125 16 83 15 86 -33 121 -50 37 -76 96 -76 173 0 47 -30
|
||
103 -73 139 -22 18 -22 97 -1 151 16 39 15 43 -5 96 -11 31 -21 74 -21 96 0
|
||
37 -49 228 -84 327 -9 24 -16 62 -16 85 0 98 -74 119 -435 121 -217 1 -232 2
|
||
-273 23 -148 78 -332 143 -397 141 -16 -1 -112 -13 -212 -28z"/>
|
||
</g>
|
||
</svg>`}})})}const cd={gdpr:td,ccpa:rd,otherus:ld,ukpecr:sd,lgpd:ad,pipeda:od,popia:id};function si({selected:o,onChange:i,dnsUrl:c,onDnsUrlChange:p}){const m=(window.cnReactData||{}).siteLocale||"",[g,h]=x.useState([]),[v,w]=x.useState(null),[j,S]=x.useState(null),L=o,D=j??L;x.useEffect(()=>{const A=ed(m);h(A),o.length===0&&A.length>0&&i(A),A.length>0&&w(A[0])},[]);const T=A=>{w(A);const H=j??L,$=H.includes(A)?H.filter(V=>V!==A):[...H,A];S($),i&&i($)},b=(A,H)=>{A.stopPropagation();const $=j??L,V=$.includes(H)?$.filter(Z=>Z!==H):[...$,H];S(V),i&&i(V)},k=()=>{w(null)},E=v?Fs.find(A=>A.key===v):null,M=E&&(E.key==="ccpa"||E.key==="otherus");return t.jsxs("div",{className:xe.container,children:[t.jsx("div",{children:t.jsx("div",{className:xe.grid,children:Fs.map(A=>{const H=D.includes(A.key),$=g.includes(A.key),V=cd[A.key];return t.jsxs("div",{className:xe.card+(H?" "+xe.cardSelected:""),onClick:()=>T(A.key),role:"button",tabIndex:0,onKeyDown:Z=>{(Z.key==="Enter"||Z.key===" ")&&(Z.preventDefault(),T(A.key))},children:[$&&t.jsx("span",{className:xe.autoBadge,children:"Auto-detected"}),H&&t.jsx("span",{className:xe.checkmark,children:"✓"}),t.jsx("input",{type:"checkbox",className:xe.hiddenCheckbox,checked:H,onChange:Z=>b(Z,A.key),onClick:Z=>Z.stopPropagation(),tabIndex:-1,"aria-label":`Select ${A.name}`}),t.jsx("div",{className:xe.geoArt,children:V&&t.jsx(V,{})}),t.jsx("div",{className:xe.lawName,children:A.name}),t.jsx("div",{className:xe.jurisdiction,children:A.jurisdiction})]},A.key)})})}),E?t.jsxs("div",{className:xe.detail,children:[t.jsxs("div",{className:xe.detailHeader,children:[t.jsxs("div",{children:[t.jsx("div",{className:xe.detailTitle,children:E.name}),t.jsx("div",{className:xe.detailJurisdiction,children:E.jurisdiction})]}),t.jsx("button",{className:xe.detailClose,onClick:k,type:"button","aria-label":"Close detail panel",children:"×"})]}),t.jsxs("div",{className:xe.detailSection,children:[t.jsx("div",{className:xe.detailSectionLabel,children:"What it covers"}),t.jsx("div",{className:xe.detailOverview,children:E.overview})]}),t.jsxs("div",{className:xe.detailSection,children:[t.jsx("div",{className:xe.detailSectionLabel,children:"Key requirements"}),t.jsx("ul",{className:xe.detailList,children:E.requirements.map((A,H)=>t.jsx("li",{className:xe.detailListItem,children:A},H))})]}),t.jsxs("div",{className:xe.detailSection,children:[t.jsx("div",{className:xe.detailSectionLabel,children:"What Cookie Compliance does"}),t.jsx("ul",{className:xe.detailList,children:E.product.map((A,H)=>t.jsx("li",{className:xe.detailListItem,children:A},H))})]}),t.jsx("div",{className:xe.detailEnforcement,children:E.enforcement}),M&&t.jsxs("div",{className:xe.detailSection,style:{marginTop:14},children:[t.jsx("div",{className:xe.detailSectionLabel,children:"Do Not Sell URL"}),t.jsx("p",{className:xe.detailDnsHelp,children:"Required if you advertise to California residents. This is a page on your site where visitors can request you stop selling or sharing their personal data."}),t.jsx("input",{id:"cn-dns-url",type:"url",className:xe.dnsInput,value:c||"",onChange:A=>p&&p(A.target.value),placeholder:"https://example.com/do-not-sell"}),t.jsx("a",{href:"https://oag.ca.gov/privacy/ccpa",target:"_blank",rel:"noreferrer",style:{fontSize:12,color:"#0073aa",display:"inline-block",marginTop:4},children:"What is this? →"})]})]},E.key):t.jsxs("div",{className:xe.detailEmpty,children:[t.jsx("div",{className:xe.detailEmptyArrow,children:"←"}),t.jsx("div",{className:xe.detailEmptyText,children:"Select a law to see what it covers and what compliance looks like for your site."})]})]})}const ai=[{code:"fr",name:"French"},{code:"es",name:"Spanish"},{code:"de",name:"German"},{code:"it",name:"Italian"},{code:"el",name:"Greek"},{code:"nl",name:"Dutch"},{code:"pt",name:"Portuguese"},{code:"pl",name:"Polish"},{code:"sv",name:"Swedish"}];function ud({onComplete:o,onOpenPricingModal:i}){const p=(window.cnReactData||{}).siteLocale||"",{isFree:d}=Ue(),[m,g]=x.useState([]),[h,v]=x.useState(!1),[w,j]=x.useState(""),[S,L]=x.useState(!1);x.useEffect(()=>{var k;const b=(k=p.split("_")[0])==null?void 0:k.toLowerCase();b&&b!=="en"&&ai.some(E=>E.code===b)&&g([b])},[]);const D=b=>{g(k=>k.includes(b)?(L(!1),k.filter(E=>E!==b)):d?(k.length>=1&&L(!0),[b]):[...k,b])},T=async()=>{if(!h){v(!0),j("");try{await Uu(m),o&&o(m)}catch(b){j(b.message||"Failed to apply languages.")}finally{v(!1)}}};return t.jsxs("div",{className:"cn-language-picker",children:[d?t.jsxs("div",{style:{background:"#fff8f0",border:"1px solid #fed7aa",color:"#92400e",padding:"10px 14px",borderRadius:"6px",marginBottom:"12px",display:"flex",alignItems:"center",justifyContent:"space-between",fontSize:"14px"},children:[t.jsx("span",{children:"Free plan: 1 language included"}),t.jsx("button",{type:"button",onClick:()=>i&&i(),style:{background:"none",border:"none",color:"#20c19e",fontWeight:600,cursor:"pointer",textDecoration:"underline",padding:0},children:"Upgrade to Pro for all 9 →"})]}):t.jsx("div",{style:{background:"#f0fdf4",border:"1px solid #a7f3d0",color:"#065f46",padding:"10px 14px",borderRadius:"6px",marginBottom:"12px",fontSize:"14px"},children:"Pro plan — all languages available ✓"}),t.jsx("p",{className:"cn-language-picker__hint",children:"Without a configured language, non-English visitors see browser-automated translations — unreviewed and potentially inaccurate. Selecting a language gives you full control over what they read."}),t.jsx("div",{className:"cn-language-picker__grid",children:ai.map(b=>{const k=m.includes(b.code),E=d&&!k&&m.length>=1;return t.jsxs("button",{type:"button",className:"cn-language-picker__badge"+(k?" cn-language-picker__badge--active":"")+(E?" cn-language-picker__badge--locked":""),onClick:()=>{E?i&&i():D(b.code)},"aria-label":E?`${b.name} — upgrade to Pro to unlock`:b.name,children:[b.name,E?" 🔒":""]},b.code)})}),S&&d&&t.jsx("div",{style:{color:"#92400e",fontSize:"13px",marginTop:"8px"},children:t.jsx("button",{type:"button",onClick:()=>i&&i(),style:{background:"none",border:"none",color:"#20c19e",fontWeight:600,cursor:"pointer",textDecoration:"underline",padding:0},children:"Upgrade to Pro to unlock all 9 languages →"})}),w&&t.jsx("div",{className:"cn-language-picker__error",children:w}),t.jsx("div",{className:"cn-language-picker__actions",children:t.jsx("button",{className:"cn-button cn-button--primary",onClick:T,disabled:h,type:"button",children:h?"Applying…":"Apply Languages"})})]})}const pl=[{key:"template",label:"Template"},{key:"laws",label:"Laws"},{key:"languages",label:"Languages"}];function dd({onTemplateApplied:o,initialLaws:i=[],onOpenPricingModal:c,totalScripts:p=0,uncategorizedScripts:d=0,isLoadingConfig:m=!1}){var ie;const g=window.cnReactData||{},[h,v]=x.useState(0),w=Ts((ie=g.options)==null?void 0:ie.app_id),[j,S]=x.useState(!!g.setupWizardComplete||localStorage.getItem(w)==="1"),[L,D]=x.useState(!1),[T,b]=x.useState(i),[k,E]=x.useState(""),[M,A]=x.useState(!1),[H,$]=x.useState(!1),[V,Z]=x.useState("");if(j)return null;const W=()=>{v(J=>Math.min(J+1,pl.length-1))},Y=async()=>{if(h===1&&T.length>0){$(!0),Z("");try{const J={};T.forEach((se,he)=>{J[`cn_laws[${he}]`]=se}),await Mn("configure",{...J,cn_revoke_consent:"1"},g.configureNonce||"")}catch{Z("Failed to save laws. Please try again."),$(!1);return}$(!1)}v(J=>Math.min(J+1,pl.length-1))},z=()=>{v(J=>Math.max(J-1,0))},de=async()=>{var J;A(!0);try{await As()}catch{}window.cnReactData&&(window.cnReactData.setupWizardComplete=!0);try{localStorage.setItem(w,"1"),localStorage.setItem("cn_setup_just_finished_"+(((J=g.options)==null?void 0:J.app_id)||"default"),"1")}catch{}window.location.reload()},_e=h===pl.length-1;return t.jsxs(t.Fragment,{children:[h===0&&t.jsxs("div",{className:"cn-first-run__connected-notice",children:[t.jsx("span",{className:"cn-first-run__connected-check",children:"✓"}),t.jsxs("div",{children:[t.jsx("strong",{children:"Your account is connected."})," ","Select your template, laws, and languages to finalize your setup.",t.jsxs("span",{className:"cn-first-run__connected-hint",children:[" ",m?t.jsx("span",{style:{opacity:.7},children:"Checking site for trackers..."}):t.jsxs(t.Fragment,{children:[p>0?`We found ${p} tracker${p!==1?"s":""} on your site. `:"","When done, you will be guided to select your consent modes",p>0?` and review ${d>0?`${d} uncategorized tracker${d!==1?"s":""}`:"your trackers"}.`:" and set up your tracker protection."]})]})]})]}),t.jsxs("div",{className:"cn-first-run",children:[t.jsxs("div",{className:"cn-first-run__header",children:[t.jsx("h2",{className:"cn-first-run__title",children:"Complete Your Setup"}),t.jsx("button",{className:"cn-first-run__dismiss",onClick:de,type:"button",children:"×"})]}),t.jsx("div",{className:"cn-first-run__progress",children:pl.map((J,se)=>t.jsxs("div",{className:"cn-first-run__step-indicator"+(se===h?" cn-first-run__step-indicator--active":"")+(se<h?" cn-first-run__step-indicator--done":""),children:[t.jsx("span",{className:"cn-first-run__step-num",children:se+1}),t.jsx("span",{className:"cn-first-run__step-label",children:J.label})]},J.key))}),t.jsxs("div",{className:"cn-first-run__body",children:[h===0&&t.jsxs("div",{className:"cn-first-run__step",children:[t.jsx("h3",{children:"Pick a Template"}),t.jsx("p",{children:"Choose a banner style. You can customize colors later."}),t.jsx(li,{onApply:J=>{D(!0),o&&o(J.key)}}),L&&t.jsxs("p",{className:"cn-first-run__applied",children:["✓"," Template applied"]})]}),h===1&&t.jsxs("div",{className:"cn-first-run__step",children:[t.jsx("h3",{children:"Select Your Laws"}),t.jsx("p",{children:"Choose which privacy regulations apply to your site."}),t.jsx(si,{selected:T,onChange:J=>{b(J),Z("")},dnsUrl:k,onDnsUrlChange:E}),V&&t.jsx("p",{style:{color:"var(--cn-red)",fontSize:13,marginTop:8},children:V})]}),h===2&&t.jsxs("div",{className:"cn-first-run__step",children:[t.jsx("h3",{children:"Add Languages"}),t.jsx("p",{children:"Select additional languages for your consent banner."}),t.jsx(ud,{onComplete:de,onOpenPricingModal:c})]})]}),t.jsxs("div",{className:"cn-first-run__nav",children:[h>0&&t.jsx("button",{className:"cn-button cn-button--outline",onClick:z,type:"button",children:"← Back"}),t.jsxs("div",{className:"cn-first-run__nav-right",children:[!_e&&t.jsx("button",{className:"cn-button cn-button--ghost",onClick:W,type:"button",children:"Skip"}),!_e&&t.jsx("button",{className:"cn-button cn-button--primary",onClick:Y,disabled:H,type:"button",children:H?"Saving…":"Next →"}),_e&&t.jsx("button",{className:"cn-button cn-button--primary",onClick:de,disabled:M,type:"button",children:M?"Finishing…":"Apply & Finish"})]})]})]})]})}function pd(){return"Updated "+new Date().toLocaleDateString("en-US",{month:"short",year:"numeric"})}function fd({consentModes:o={},regulations:i={}}){const c=!!o.google,p=!!(i.ccpa||i.otherus),g=[{tag:"enforcement",tagLabel:"Enforcement",title:"France fined a bakery chain €150,000 for cookie violations",desc:"The bakery’s website used Google Analytics without asking visitors first. The fine was 3× their monthly revenue.",status:c?"You’re protected — Google Analytics is blocked until visitors consent":"Unprotected — enable Google Consent Mode to fix this",statusVariant:c?"ok":"warn"},{tag:"update",tagLabel:"Update",title:"Google ending third-party cookies delayed again",desc:"Google pushed back their timeline to late 2026. Sites that already have consent management won’t need to change anything.",status:"No action needed — your consent banner already handles this",statusVariant:"ok"},{tag:"regulation",tagLabel:"Regulation",title:"New US state privacy laws take effect July 2026",desc:"Four more states are adding GDPR-like requirements. Sites serving US visitors will need consent mechanisms.",status:p?"You’re covered — your banner applies to US visitors":"No US law configured — add CCPA or US States in your regulation settings",statusVariant:p?"ok":"warn"}];return t.jsxs("div",{className:"cn-threat-section",children:[t.jsxs("div",{className:"cn-threat-section__header",children:[t.jsx("span",{className:"cn-threat-section__title",children:"Threat Intelligence"}),t.jsx("span",{className:"cn-threat-section__updated",children:pd()})]}),t.jsx("div",{className:"cn-threat-list",children:g.map((h,v)=>t.jsxs("div",{className:"cn-threat-item",children:[t.jsxs("div",{className:"cn-threat-item__title",children:[t.jsx("span",{className:`cn-threat-tag cn-threat-tag--${h.tag}`,children:h.tagLabel}),h.title]}),t.jsx("div",{className:"cn-threat-item__desc",children:h.desc}),t.jsx("div",{className:`cn-threat-item__status cn-threat-item__status--${h.statusVariant}`,children:h.status})]},v))})]})}function Mt({title:o,onClose:i,children:c,footer:p,scrollTrigger:d,isClosing:m,onExitComplete:g}){const h=x.useRef(null);return x.useEffect(()=>{var v;m||(v=h.current)==null||v.scrollIntoView({behavior:"smooth",block:"start"})},[d,m]),t.jsxs("div",{className:`cn-inline-panel${m?" cn-inline-panel--closing":""}`,ref:h,onTransitionEnd:m?g:void 0,children:[t.jsxs("div",{className:"cn-inline-panel__header",children:[t.jsx("h3",{className:"cn-inline-panel__title",children:o}),t.jsx("button",{className:"cn-inline-panel__dismiss",onClick:i,"aria-label":"Close",children:"×"})]}),t.jsx("div",{className:"cn-inline-panel__body",children:c}),p&&t.jsx("div",{className:"cn-inline-panel__footer",children:p})]})}const ge={loading:"_loading_1lg0v_1",stepContent:"_stepContent_1lg0v_8",stepDesc:"_stepDesc_1lg0v_12",scanSummary:"_scanSummary_1lg0v_19",scanStat:"_scanStat_1lg0v_30",scanStatWarn:"_scanStatWarn_1lg0v_36",scanDivider:"_scanDivider_1lg0v_40",catList:"_catList_1lg0v_45",catSection:"_catSection_1lg0v_51",catHeader:"_catHeader_1lg0v_58",catHeaderLeft:"_catHeaderLeft_1lg0v_73",catDot:"_catDot_1lg0v_79",catName:"_catName_1lg0v_87",catCount:"_catCount_1lg0v_93",catWarnBadge:"_catWarnBadge_1lg0v_98",catChevron:"_catChevron_1lg0v_107",catDesc:"_catDesc_1lg0v_112",catDescInner:"_catDescInner_1lg0v_119",catBody:"_catBody_1lg0v_126",providerRow:"_providerRow_1lg0v_130",providerInfo:"_providerInfo_1lg0v_141",providerName:"_providerName_1lg0v_148",providerUrl:"_providerUrl_1lg0v_154",providerMeta:"_providerMeta_1lg0v_163",patternCount:"_patternCount_1lg0v_170",statusPillOk:"_statusPillOk_1lg0v_175",statusPillWarn:"_statusPillWarn_1lg0v_184",issueBanner:"_issueBanner_1lg0v_193",lastSynced:"_lastSynced_1lg0v_211",portalLink:"_portalLink_1lg0v_219",basicPanel:"_basicPanel_1lg0v_229",basicIcon:"_basicIcon_1lg0v_234",basicTitle:"_basicTitle_1lg0v_239",basicDesc:"_basicDesc_1lg0v_246"},hd=[{id:1,name:"Basic Operations",color:"#20c19e",dot:"green",desc:"Essential for your site to function"},{id:2,name:"Content Personalization",color:"#3b82f6",dot:"blue",desc:"Personalize content for visitors"},{id:3,name:"Site Optimization",color:"#eab308",dot:"yellow",desc:"Measure traffic and performance"},{id:4,name:"Ad Personalization",color:"#ef4444",dot:"red",desc:"Show targeted advertising"}],md={id:0,name:"Uncategorized",color:"#9ca3af",dot:"gray",desc:"These trackers run before visitors agree — highest compliance risk"};function gd({color:o}){return t.jsx("span",{className:ge.catDot,style:{background:o}})}function vd({provider:o,patternCount:i}){return t.jsxs("div",{className:ge.providerRow,children:[t.jsxs("div",{className:ge.providerInfo,children:[t.jsx("span",{className:ge.providerName,children:o.ProviderName||o.Name||o.ProviderID||"Unknown tracker"}),o.ProviderURL&&t.jsx("span",{className:ge.providerUrl,children:o.ProviderURL})]}),t.jsxs("div",{className:ge.providerMeta,children:[t.jsxs("span",{className:ge.patternCount,children:[i," pattern",i!==1?"s":""]}),o.CategoryID>0?t.jsx("span",{className:ge.statusPillOk,children:"Categorized"}):t.jsx("span",{className:ge.statusPillWarn,children:"Fires without consent"})]})]})}function oi({category:o,providers:i,patterns:c,defaultOpen:p}){const[d,m]=x.useState(p),g=x.useMemo(()=>{const h={};return i.forEach(v=>{h[v.ProviderID]=(c||[]).filter(w=>String(w.ProviderID)===String(v.ProviderID)).length}),h},[i,c]);return t.jsxs("div",{className:ge.catSection,children:[t.jsxs("button",{className:ge.catHeader,onClick:()=>m(h=>!h),type:"button",children:[t.jsxs("div",{className:ge.catHeaderLeft,children:[t.jsx(gd,{color:o.color}),t.jsx("span",{className:ge.catName,children:o.name}),t.jsxs("span",{className:ge.catCount,children:["(",i.length,")"]}),o.id===0&&t.jsx("span",{className:ge.catWarnBadge,children:"Firing without consent"})]}),t.jsx("span",{className:ge.catChevron,children:d?"▾":"▸"})]}),!d&&t.jsx("div",{className:ge.catDesc,children:o.desc}),d&&t.jsxs("div",{className:ge.catBody,children:[t.jsx("div",{className:ge.catDescInner,children:o.desc}),i.map(h=>t.jsx(vd,{provider:h,patternCount:g[h.ProviderID]||0},h.ProviderID))]})]})}function yd({onOpenWelcomeModal:o}){return t.jsxs("div",{className:ge.basicPanel,children:[t.jsx("div",{className:ge.basicIcon,children:"🛡️"}),t.jsx("h4",{className:ge.basicTitle,children:"Your banner shows — but trackers run before visitors agree"}),t.jsx("p",{className:ge.basicDesc,children:"Without tracker protection, trackers like Google Analytics, Meta Pixel, and ad tags run immediately when your page loads — before visitors have a chance to agree or decline. This can violate GDPR, CCPA, and other privacy regulations."}),t.jsx($e,{variant:"primary",onClick:o,children:"Connect to auto-detect and block trackers →"})]})}function _d({onClose:o,onOpenWelcomeModal:i,scrollTrigger:c}){var H,$;const{config:p,isLoadingConfig:d,refetchConfig:m}=At(),{isBasic:g}=Ue(),h=(p==null?void 0:p.blocking)||{},v=h.providers||[],w=h.patterns||[],[j,S]=x.useState(!1),[L,D]=x.useState(null),T=x.useMemo(()=>{const V={};return v.forEach(Z=>{const W=Z.CategoryID||0;V[W]||(V[W]=[]),V[W].push(Z)}),V},[v]),b=T[0]||[],k=v.length,E=k-b.length,M=async()=>{S(!0),D(null),v.length;try{await $u(),await m(),D({text:"Sync complete.",type:"success"})}catch(V){D({text:(V==null?void 0:V.message)||"Sync failed. Please try again.",type:"error"})}finally{S(!1)}};if(g)return t.jsx(Mt,{title:"Your Trackers",onClose:o,scrollTrigger:c,children:t.jsx(yd,{onOpenWelcomeModal:i})});const A=t.jsxs(t.Fragment,{children:[t.jsx("a",{href:Qe+"/#/autoblocking",target:"_blank",rel:"noopener noreferrer",className:ge.portalLink,children:"Manage trackers in portal"}),t.jsx($e,{variant:"secondary",onClick:M,disabled:j,children:j?"Refreshing…":"Refresh"})]});return t.jsxs(Mt,{title:"Your Trackers",onClose:o,footer:A,scrollTrigger:c,children:[d&&t.jsx("div",{className:ge.loading,children:"Loading script data…"}),L&&t.jsx("div",{className:ge.stepContent,style:{padding:"6px 0"},children:t.jsx("p",{style:{color:L.type==="error"?"var(--cn-crit-icon, #dc3545)":"var(--cn-ok-icon, #20c19e)",margin:0,fontSize:"var(--cn-text-sm)"},children:L.text})}),!d&&v.length===0&&t.jsx("div",{className:ge.stepContent,children:t.jsx("p",{className:ge.stepDesc,children:h.lastUpdated?"No known trackers found in the provider database for your site. Your banner is active and blocking is configured.":"Your domain was recently added. Tracker data typically populates within 24–48 hours as your configuration syncs. Click Refresh to check now."})}),!d&&v.length>0&&t.jsxs("div",{className:ge.stepContent,children:[t.jsxs("div",{className:ge.scanSummary,children:[t.jsxs("span",{className:ge.scanStat,children:[k," tracker",k!==1?"s":""," detected"]}),t.jsx("span",{className:ge.scanDivider,children:"·"}),t.jsxs("span",{className:ge.scanStat,children:[E," categorized"]}),b.length>0&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:ge.scanDivider,children:"·"}),t.jsxs("span",{className:ge.scanStat+" "+ge.scanStatWarn,children:[b.length," uncategorized"]})]})]}),t.jsx("span",{className:ge.lastSynced,children:h.lastUpdated||(H=window.cnReactData)!=null&&H.lastSynced?`Last refreshed: ${h.lastUpdated||(($=window.cnReactData)==null?void 0:$.lastSynced)}`:"Not yet synced"}),b.length>0&&t.jsxs("div",{className:ge.issueBanner,children:["⚠"," ",b.length," tracker",b.length!==1?"s":""," firing without consent —"," ",t.jsx("a",{href:Qe+"/#/autoblocking",target:"_blank",rel:"noopener noreferrer",children:"manage in portal"})]}),t.jsxs("div",{className:ge.catList,children:[T[0]&&T[0].length>0&&t.jsx(oi,{category:md,providers:T[0],patterns:w,defaultOpen:!0}),hd.map(V=>{const Z=T[V.id]||[];return Z.length===0?null:t.jsx(oi,{category:V,providers:Z,patterns:w,defaultOpen:!1},V.id)})]})]})]})}function ii({onClose:o,onTemplateApplied:i,scrollTrigger:c,isClosing:p,appliedTemplateKey:d}){const[m,g]=x.useState(!1),[h,v]=x.useState(null),{hasPlatformConfig:w}=mr(),j=!d&&w,S=T=>{if(j&&!h){v(T);return}g(!0),i&&i(T.key||T)},L=()=>{h&&(g(!0),i&&i(h.key||h),v(null))},D=()=>{v(null)};return t.jsx(Mt,{title:"Banner Template",onClose:o,scrollTrigger:c,isClosing:p,children:h?t.jsxs("div",{className:"cn-wizard-confirm",children:[t.jsx("p",{className:"cn-wizard-confirm__text",children:"Your banner is currently configured in the Admin Portal. Applying this template will override your custom design."}),t.jsxs("div",{className:"cn-wizard-confirm__actions",children:[t.jsx("button",{className:"cn-button cn-button--outline",onClick:D,type:"button",children:"Cancel"}),t.jsx("button",{className:"cn-button cn-button--primary",onClick:L,type:"button",children:"Apply Template"})]})]}):m?t.jsxs("div",{className:"cn-wizard-success",children:[t.jsx("div",{className:"cn-wizard-success__icon",children:"✓"}),t.jsx("h3",{className:"cn-wizard-success__heading",children:"Template applied — your banner is live."}),t.jsx("p",{className:"cn-wizard-success__sub",children:"Customize text, colors, and advanced design in the web app."}),t.jsx("button",{className:"cn-button cn-button--primary",onClick:o,children:"Done"})]}):t.jsx(li,{onApply:S})})}function xd(){const[o,i]=x.useState(()=>{var d;const p=((d=window.cnReactData)==null?void 0:d.selectedLaws)||[];return Array.isArray(p)?p:Object.values(p)});return[o,p=>{i(p),window.cnReactData&&(window.cnReactData.selectedLaws=p)}]}function ci({onClose:o,onSave:i,scrollTrigger:c,isClosing:p}){const[d,m]=xd(),[g,h]=x.useState(""),[v,w]=x.useState(!1),[j,S]=x.useState(""),[L,D]=x.useState(!1);x.useEffect(()=>{var E,M;h(((M=(E=window.cnReactData)==null?void 0:E.options)==null?void 0:M.cn_do_not_sell_url)||""),S("")},[]);const T=async()=>{var E,M;w(!0),S("");try{const A={};d.forEach((H,$)=>{A["cn_laws["+$+"]"]=H}),await Mn("configure",{...A,cn_revoke_consent:"1"},((E=window.cnReactData)==null?void 0:E.configureNonce)||""),m(d),(M=window.cnReactData)!=null&&M.options&&(window.cnReactData.options.cn_do_not_sell_url=g),D(!0)}catch(A){S(A.message||"Failed to save laws.")}finally{w(!1)}},b=()=>{i&&i(d),o()};if(L)return t.jsx(Mt,{title:"Privacy Laws",onClose:b,scrollTrigger:c,isClosing:p,children:t.jsxs("div",{className:"cn-wizard-success",children:[t.jsx("div",{className:"cn-wizard-success__icon",children:"✓"}),t.jsx("h3",{className:"cn-wizard-success__heading",children:"Laws updated"}),t.jsx("button",{className:"cn-button cn-button--primary",onClick:b,children:"Done"})]})});const k=t.jsxs(t.Fragment,{children:[t.jsx("a",{href:`${Qe}/#/configuration`,target:"_blank",rel:"noreferrer",className:"cn-layer__link-btn",children:"Manage regulations in web app →"}),t.jsxs("div",{style:{display:"flex",gap:8},children:[t.jsx($e,{variant:"secondary",onClick:o,children:"Cancel"}),t.jsx($e,{variant:"primary",onClick:T,disabled:v,children:v?"Saving…":"Save laws"})]})]});return t.jsxs(Mt,{title:"Privacy Laws",onClose:o,scrollTrigger:c,isClosing:p,footer:k,children:[t.jsx(si,{selected:d,onChange:m,dnsUrl:g,onDnsUrlChange:h}),j&&t.jsx("p",{style:{color:"var(--cn-red)",fontSize:13,marginTop:8},children:j})]})}const Q={layout:"_layout_19w0d_48",modeList:"_modeList_19w0d_55",modeSection:"_modeSection_19w0d_63",modeSectionLabel:"_modeSectionLabel_19w0d_69",modeCard:"_modeCard_19w0d_79",modeCardActive:"_modeCardActive_19w0d_94",modeCardLocked:"_modeCardLocked_19w0d_100",modeCardProOverlay:"_modeCardProOverlay_19w0d_106",lockIconLarge:"_lockIconLarge_19w0d_121",modeCardProLabel:"_modeCardProLabel_19w0d_125",modeCardTop:"_modeCardTop_19w0d_131",modeCardName:"_modeCardName_19w0d_138",modeCardDesc:"_modeCardDesc_19w0d_144",statusDot:"_statusDot_19w0d_150",statusDotOn:"_statusDotOn_19w0d_158",statusDotOff:"_statusDotOff_19w0d_162",detailCol:"_detailCol_19w0d_166",detail:"_detail_19w0d_166",detailHeader:"_detailHeader_19w0d_179",detailTitle:"_detailTitle_19w0d_186",detailDesc:"_detailDesc_19w0d_192",detailFooter:"_detailFooter_19w0d_199",enableToggle:"_enableToggle_19w0d_207",enableToggleInput:"_enableToggleInput_19w0d_215",enableToggleTrack:"_enableToggleTrack_19w0d_222",enableToggleThumb:"_enableToggleThumb_19w0d_236",enableToggleLabel:"_enableToggleLabel_19w0d_251",signalConfig:"_signalConfig_19w0d_257",signalConfigTitle:"_signalConfigTitle_19w0d_265",groupRow:"_groupRow_19w0d_274",groupLabel:"_groupLabel_19w0d_281",groupSelect:"_groupSelect_19w0d_287",groupHint:"_groupHint_19w0d_305",advancedToggle:"_advancedToggle_19w0d_312",advancedGrid:"_advancedGrid_19w0d_327",advancedRow:"_advancedRow_19w0d_336",advancedLabel:"_advancedLabel_19w0d_343",subToggles:"_subToggles_19w0d_348",subToggleTitle:"_subToggleTitle_19w0d_354",subToggleRow:"_subToggleRow_19w0d_363",proGate:"_proGate_19w0d_373",proGateLink:"_proGateLink_19w0d_387"},It=[{key:"google",name:"Google Consent Mode v2",shortName:"Google",group:"platform",pro:!1,description:"Required for GDPR compliance if you use Google Analytics, Google Ads, or Tag Manager"},{key:"facebook",name:"Facebook",shortName:"Facebook",group:"platform",pro:!0,description:"Required if you run Facebook Ads — stops Meta Pixel from firing before visitors agree"},{key:"microsoft",name:"Microsoft",shortName:"Microsoft",group:"platform",pro:!0,description:"Required if you use Microsoft Ads or Clarity — keeps Bing and analytics trackers compliant"},{key:"gpc",name:"Global Privacy Control",shortName:"GPC",group:"browser",pro:!1,description:"Honors visitors who’ve told their browser they don’t want to be tracked — required in California"},{key:"dnt",name:"Do Not Track",shortName:"DNT",group:"browser",pro:!1,description:"Honors the legacy ‘Do Not Track’ browser setting — good practice, not legally required"}];function fl(o){return o===2?[{value:1,label:"Always (even on Reject)"},{value:4,label:"On Accept"}]:[{value:1,label:"Always (even on Reject)"},{value:3,label:"Balanced or above"},{value:4,label:"Accept All only"}]}function jd(o){const i=o.google_consent_default||{},c=o.facebook_consent_default||{},p=o.microsoft_consent_default||{},d=Object.keys(i).length>0,m=Object.keys(c).length>0,g=Object.keys(p).length>0;return{googleEnabled:d,googleAdvertising:i.ad_storage??4,googleAnalytics:i.analytics_storage??3,googleFunctional:i.functionality_storage??3,googleAdStorage:i.ad_storage??4,googleAdPersonalization:i.ad_personalization??4,googleAdUserData:i.ad_user_data??4,googleAnalyticsStorage:i.analytics_storage??3,googleFunctionalityStorage:i.functionality_storage??3,googlePersonalizationStorage:i.personalization_storage??3,googleSecurityStorage:i.security_storage??3,facebookEnabled:m,facebookConsent:c.consent??4,microsoftEnabled:g,microsoftAdStorage:p.ad_storage??4,microsoftAnalyticsStorage:p.analytics_storage??3,microsoftPixie:!!p.pixie,microsoftClarity:!!p.clarity,gpcEnabled:!!(o.gpc_support??0),doNotTrack:!!(o.do_not_track??0)}}function Bs(o){return{googleConsentMapAdStorage:o.googleEnabled?o.googleAdStorage:"",googleConsentMapAdPersonalization:o.googleEnabled?o.googleAdPersonalization:"",googleConsentMapAdUserData:o.googleEnabled?o.googleAdUserData:"",googleConsentMapAnalytics:o.googleEnabled?o.googleAnalyticsStorage:"",googleConsentMapFunctionality:o.googleEnabled?o.googleFunctionalityStorage:"",googleConsentMapPersonalization:o.googleEnabled?o.googlePersonalizationStorage:"",googleConsentMapSecurity:o.googleEnabled?o.googleSecurityStorage:"",facebookConsentMapConsent:o.facebookEnabled?o.facebookConsent:"",microsoftConsentMapAdStorage:o.microsoftEnabled?o.microsoftAdStorage:"",microsoftConsentMapAnalyticsStorage:o.microsoftEnabled?o.microsoftAnalyticsStorage:"",microsoftConsentModePixie:o.microsoftPixie?1:0,microsoftConsentModeClarity:o.microsoftClarity?1:0,gpcSupport:o.gpcEnabled?1:0,doNotTrack:o.doNotTrack?1:0}}function ui({enabled:o}){return t.jsx("span",{className:`${Q.statusDot} ${o?Q.statusDotOn:Q.statusDotOff}`})}function Os({label:o,value:i,onChange:c,consentChoices:p,disabled:d}){const m=fl(p);return t.jsxs("div",{className:Q.groupRow,children:[t.jsx("span",{className:Q.groupLabel,children:o}),t.jsx("select",{className:Q.groupSelect,value:i,onChange:g=>c(Number(g.target.value)),disabled:d,children:m.map(g=>t.jsx("option",{value:g.value,children:g.label},g.value))})]})}function vr({label:o,checked:i,onChange:c}){return t.jsxs("label",{className:Q.enableToggle,children:[t.jsx("input",{type:"checkbox",checked:i,onChange:p=>c(p.target.checked),className:Q.enableToggleInput}),t.jsx("span",{className:Q.enableToggleTrack,children:t.jsx("span",{className:Q.enableToggleThumb})}),t.jsx("span",{className:Q.enableToggleLabel,children:o})]})}function Us({locked:o,platformName:i,onUpgrade:c}){return t.jsxs("div",{className:Q.proGate,children:[t.jsx("span",{children:o==="pro"?`Upgrade to Pro to enable ${i} Consent Mode.`:`Monthly visit limit reached — ${i} Consent Mode is paused until your visit count resets. Upgrade for unlimited visits.`}),t.jsx("button",{type:"button",className:Q.proGateLink,onClick:c,children:"Upgrade →"})]})}function $s({onApply:o,hasChanges:i,saving:c,savedFlash:p,locked:d}){return t.jsx("div",{className:Q.detailFooter,children:t.jsx($e,{variant:"primary",size:"sm",onClick:o,disabled:!i||c||d,children:c?"Applying…":p?"Saved ✓":"Apply"})})}function wd({staged:o,set:i,consentChoices:c,proLocked:p,saving:d,hasChanges:m,savedFlash:g,onApply:h,onUpgrade:v}){const[w,j]=x.useState(!1),S=k=>{i("googleAdvertising",k),i("googleAdStorage",k),i("googleAdPersonalization",k),i("googleAdUserData",k)},L=k=>{i("googleAnalytics",k),i("googleAnalyticsStorage",k)},D=k=>{i("googleFunctional",k),i("googleFunctionalityStorage",k),i("googlePersonalizationStorage",k),i("googleSecurityStorage",k)},T=p,b=fl(c);return t.jsxs("div",{className:Q.detail,children:[t.jsxs("div",{className:Q.detailHeader,children:[t.jsx("div",{className:Q.detailTitle,children:"Google Consent Mode v2"}),T==="pro"&&t.jsx(Fn,{})]}),t.jsx("p",{className:Q.detailDesc,children:"If you use Google Analytics, Google Ads, or Tag Manager, this tells Google how to handle your visitors’ data based on whether they consented. Required for GDPR compliance with Google tools."}),T?t.jsx(Us,{locked:T,platformName:"Google",onUpgrade:v}):t.jsxs(t.Fragment,{children:[t.jsx(vr,{label:o.googleEnabled?"Enabled":"Disabled",checked:o.googleEnabled,onChange:k=>i("googleEnabled",k)}),o.googleEnabled&&t.jsxs("div",{className:Q.signalConfig,children:[t.jsx("div",{className:Q.signalConfigTitle,children:"Signal mapping"}),t.jsx(Os,{label:"Advertising",value:o.googleAdvertising,onChange:S,consentChoices:c}),t.jsx("p",{className:Q.groupHint,children:"ad_storage, ad_personalization, ad_user_data — default: Accept All only. Most conservative."}),t.jsx(Os,{label:"Analytics",value:o.googleAnalytics,onChange:L,consentChoices:c}),t.jsx("p",{className:Q.groupHint,children:"analytics_storage — default: Balanced or above."}),t.jsx(Os,{label:"Functional",value:o.googleFunctional,onChange:D,consentChoices:c}),t.jsx("p",{className:Q.groupHint,children:"functionality_storage, personalization_storage, security_storage — default: Balanced or above."}),t.jsx("button",{className:Q.advancedToggle,onClick:()=>j(k=>!k),type:"button",children:w?"▾ Hide per-signal controls":"▸ Advanced — per-signal control"}),w&&t.jsx("div",{className:Q.advancedGrid,children:[["Ad Storage","googleAdStorage",b],["Ad Personalization","googleAdPersonalization",b],["Ad User Data","googleAdUserData",b],["Analytics Storage","googleAnalyticsStorage",b],["Functionality Storage","googleFunctionalityStorage",b],["Personalization Storage","googlePersonalizationStorage",b],["Security Storage","googleSecurityStorage",b]].map(([k,E,M])=>t.jsxs("div",{className:Q.advancedRow,children:[t.jsx("span",{className:Q.advancedLabel,children:k}),t.jsx("select",{className:Q.groupSelect,value:o[E],onChange:A=>i(E,Number(A.target.value)),children:M.map(A=>t.jsx("option",{value:A.value,children:A.label},A.value))})]},E))})]})]}),t.jsx($s,{onApply:h,hasChanges:m,saving:d,savedFlash:g,locked:T})]})}function kd({staged:o,set:i,consentChoices:c,proLocked:p,saving:d,hasChanges:m,savedFlash:g,onApply:h,onUpgrade:v}){const w=fl(c);return t.jsxs("div",{className:Q.detail,children:[t.jsxs("div",{className:Q.detailHeader,children:[t.jsx("div",{className:Q.detailTitle,children:"Facebook"}),p==="pro"&&t.jsx(Fn,{})]}),t.jsx("p",{className:Q.detailDesc,children:"Stops the Meta Pixel from tracking your visitors until they agree. Without this, Facebook can receive data about visitors who never consented — a GDPR violation if you serve EU visitors."}),p?t.jsx(Us,{locked:p,platformName:"Facebook",onUpgrade:v}):t.jsxs(t.Fragment,{children:[t.jsx(vr,{label:o.facebookEnabled?"Enabled":"Disabled",checked:o.facebookEnabled,onChange:j=>i("facebookEnabled",j)}),o.facebookEnabled&&t.jsxs("div",{className:Q.signalConfig,children:[t.jsx("div",{className:Q.signalConfigTitle,children:"Signal mapping"}),t.jsxs("div",{className:Q.groupRow,children:[t.jsx("span",{className:Q.groupLabel,children:"Grant Pixel at"}),t.jsx("select",{className:Q.groupSelect,value:o.facebookConsent,onChange:j=>i("facebookConsent",Number(j.target.value)),children:w.map(j=>t.jsx("option",{value:j.value,children:j.label},j.value))})]}),t.jsx("p",{className:Q.groupHint,children:"Default: Accept All only."})]})]}),t.jsx($s,{onApply:h,hasChanges:m,saving:d,savedFlash:g,locked:p})]})}function Nd({staged:o,set:i,consentChoices:c,proLocked:p,saving:d,hasChanges:m,savedFlash:g,onApply:h,onUpgrade:v}){const w=fl(c);return t.jsxs("div",{className:Q.detail,children:[t.jsxs("div",{className:Q.detailHeader,children:[t.jsx("div",{className:Q.detailTitle,children:"Microsoft"}),p==="pro"&&t.jsx(Fn,{})]}),t.jsx("p",{className:Q.detailDesc,children:"Keeps Microsoft Advertising (Bing) and Clarity analytics compliant with consent rules. Trackers only fire after visitors agree."}),p?t.jsx(Us,{locked:p,platformName:"Microsoft",onUpgrade:v}):t.jsxs(t.Fragment,{children:[t.jsx(vr,{label:o.microsoftEnabled?"Enabled":"Disabled",checked:o.microsoftEnabled,onChange:j=>i("microsoftEnabled",j)}),o.microsoftEnabled&&t.jsxs("div",{className:Q.signalConfig,children:[t.jsx("div",{className:Q.signalConfigTitle,children:"Signal mapping"}),t.jsxs("div",{className:Q.groupRow,children:[t.jsx("span",{className:Q.groupLabel,children:"Advertising (UET)"}),t.jsx("select",{className:Q.groupSelect,value:o.microsoftAdStorage,onChange:j=>i("microsoftAdStorage",Number(j.target.value)),children:w.map(j=>t.jsx("option",{value:j.value,children:j.label},j.value))})]}),t.jsxs("div",{className:Q.groupRow,style:{marginTop:8},children:[t.jsx("span",{className:Q.groupLabel,children:"Analytics"}),t.jsx("select",{className:Q.groupSelect,value:o.microsoftAnalyticsStorage,onChange:j=>i("microsoftAnalyticsStorage",Number(j.target.value)),children:w.map(j=>t.jsx("option",{value:j.value,children:j.label},j.value))})]}),t.jsxs("div",{className:Q.subToggles,children:[t.jsx("div",{className:Q.subToggleTitle,children:"Sub-products"}),t.jsxs("label",{className:Q.subToggleRow,children:[t.jsx("input",{type:"checkbox",checked:o.microsoftPixie,onChange:j=>i("microsoftPixie",j.target.checked)}),t.jsx("span",{children:"Pixie"})]}),t.jsxs("label",{className:Q.subToggleRow,children:[t.jsx("input",{type:"checkbox",checked:o.microsoftClarity,onChange:j=>i("microsoftClarity",j.target.checked)}),t.jsx("span",{children:"Clarity"})]})]})]})]}),t.jsx($s,{onApply:h,hasChanges:m,saving:d,savedFlash:g,locked:p})]})}function Sd({staged:o,set:i,saving:c,hasChanges:p,savedFlash:d,onApply:m}){return t.jsxs("div",{className:Q.detail,children:[t.jsx("div",{className:Q.detailHeader,children:t.jsx("div",{className:Q.detailTitle,children:"Global Privacy Control (GPC)"})}),t.jsx(vr,{label:o.gpcEnabled?"Enabled":"Disabled",checked:o.gpcEnabled,onChange:g=>i("gpcEnabled",g)}),t.jsx("p",{className:Q.detailDesc,style:{marginTop:16},children:"Some visitors set their browser to automatically opt out of tracking. This setting respects that choice — and it’s legally required in California (CPRA). When a visitor sends this signal, tracking is blocked automatically without showing the banner."}),t.jsx("div",{className:Q.detailFooter,children:t.jsx($e,{variant:"primary",size:"sm",onClick:m,disabled:!p||c,children:c?"Applying…":d?"Saved ✓":"Apply"})})]})}function Cd({staged:o,set:i,saving:c,hasChanges:p,savedFlash:d,onApply:m}){return t.jsxs("div",{className:Q.detail,children:[t.jsx("div",{className:Q.detailHeader,children:t.jsx("div",{className:Q.detailTitle,children:"Do Not Track (DNT)"})}),t.jsx("p",{className:Q.detailDesc,style:{color:"#b56e00",marginBottom:12},children:"Do Not Track is an older browser setting that most sites ignore. Enabling this is a good-faith gesture but isn’t required by any law. When a visitor has DNT enabled, tracking is blocked automatically."}),t.jsx(vr,{label:o.doNotTrack?"Enabled":"Disabled",checked:o.doNotTrack,onChange:g=>i("doNotTrack",g)}),t.jsxs("p",{className:Q.detailDesc,style:{marginTop:12},children:["When enabled, visitors with DNT set receive ",t.jsx("strong",{children:"Private (level 1)"})," consent automatically."]}),t.jsx("div",{className:Q.detailFooter,children:t.jsx($e,{variant:"primary",size:"sm",onClick:m,disabled:!p||c,children:c?"Applying…":d?"Saved ✓":"Apply"})})]})}function di({isOpen:o,onClose:i,isWizard:c=!1,addNotice:p,onOpenPricingModal:d,onApplied:m,scrollTrigger:g}){var ue,fe;const{config:h,refetchConfig:v}=At(),{dashboard:w}=vt(),{tier:j}=Ue(),S=(h==null?void 0:h.blocking)||{},L=((ue=w==null?void 0:w.appConfig)==null?void 0:ue.consentChoices)??3,[D,T]=x.useState({}),[b,k]=x.useState("google"),[E,M]=x.useState(!1),[A,H]=x.useState(null),[$,V]=x.useState(!1),Z=x.useRef(null);if(x.useEffect(()=>{if(c?h:o){const O=jd(S);T(O),H(JSON.stringify(Bs(O))),k("google")}},[c?h:o,h]),!c&&!o)return null;const W=(O,ce)=>T(ye=>({...ye,[O]:ce})),Y=JSON.stringify(Bs(D)),z=Y!==A,de=async()=>{M(!0),V(!1);try{await ul({googleConsentMode:D.googleEnabled?"1":"0",facebookConsentMode:D.facebookEnabled?"1":"0",microsoftConsentMode:D.microsoftEnabled?"1":"0"},{},Bs(D)),H(Y),m&&m({google:D.googleEnabled,facebook:D.facebookEnabled,microsoft:D.microsoftEnabled,gpc:D.gpcEnabled,dnt:D.doNotTrack}),V(!0),clearTimeout(Z.current),Z.current=setTimeout(()=>V(!1),2e3),v()}catch(O){p&&p((O==null?void 0:O.message)||"Could not save — please try again.")}finally{M(!1)}},_e=(fe=w==null?void 0:w.analytics)==null?void 0:fe.cycleUsage,ie=(_e==null?void 0:_e.visits)||0,J=(_e==null?void 0:_e.threshold)||0,se=J>0&&ie>=J,he=j==="pro",me=O=>O.pro&&!he?"pro":O.key==="google"&&se?"threshold":!1,G={google:D.googleEnabled,facebook:D.facebookEnabled,microsoft:D.microsoftEnabled,gpc:D.gpcEnabled,dnt:D.doNotTrack},le=t.jsxs("div",{className:Q.layout,children:[t.jsxs("div",{className:Q.modeList,children:[t.jsxs("div",{className:Q.modeSection,children:[t.jsx("div",{className:Q.modeSectionLabel,children:"Platform Integrations"}),It.filter(O=>O.group==="platform").map(O=>{const ce=me(O);return t.jsxs("button",{className:Q.modeCard+(b===O.key?" "+Q.modeCardActive:"")+(ce?" "+Q.modeCardLocked:""),onClick:()=>k(O.key),type:"button",children:[t.jsxs("div",{className:Q.modeCardTop,children:[t.jsx("span",{className:Q.modeCardName,children:O.name}),ce==="pro"?t.jsx(Fn,{}):t.jsx(ui,{enabled:G[O.key]})]}),t.jsx("div",{className:Q.modeCardDesc,children:O.description}),ce&&t.jsxs("div",{className:Q.modeCardProOverlay,role:"button",tabIndex:0,onClick:ye=>{ye.stopPropagation(),d&&d()},onKeyDown:ye=>{(ye.key==="Enter"||ye.key===" ")&&(ye.stopPropagation(),d&&d())},"aria-label":ce==="pro"?`${O.name} requires Pro.`:`${O.name} paused — visit limit reached. Upgrade for unlimited visits.`,children:[t.jsx("span",{className:Q.lockIconLarge,children:"🔒"}),t.jsx("span",{className:Q.modeCardProLabel,children:ce==="pro"?"Upgrade to Pro →":"Visit limit reached →"})]})]},O.key)})]}),t.jsxs("div",{className:Q.modeSection,children:[t.jsx("div",{className:Q.modeSectionLabel,children:"Browser Signals"}),It.filter(O=>O.group==="browser").map(O=>t.jsxs("button",{className:Q.modeCard+(b===O.key?" "+Q.modeCardActive:""),onClick:()=>k(O.key),type:"button",children:[t.jsxs("div",{className:Q.modeCardTop,children:[t.jsx("span",{className:Q.modeCardName,children:O.name}),t.jsx(ui,{enabled:G[O.key]})]}),t.jsx("div",{className:Q.modeCardDesc,children:O.description})]},O.key))]})]}),t.jsxs("div",{className:Q.detailCol,children:[b==="google"&&t.jsx(wd,{staged:D,set:W,consentChoices:L,proLocked:me(It.find(O=>O.key==="google")),saving:E,hasChanges:z,savedFlash:$,onApply:de,onUpgrade:()=>d&&d()}),b==="facebook"&&t.jsx(kd,{staged:D,set:W,consentChoices:L,proLocked:me(It.find(O=>O.key==="facebook")),saving:E,hasChanges:z,savedFlash:$,onApply:de,onUpgrade:()=>d&&d()}),b==="microsoft"&&t.jsx(Nd,{staged:D,set:W,consentChoices:L,proLocked:me(It.find(O=>O.key==="microsoft")),saving:E,hasChanges:z,savedFlash:$,onApply:de,onUpgrade:()=>d&&d()}),b==="gpc"&&t.jsx(Sd,{staged:D,set:W,saving:E,hasChanges:z,savedFlash:$,onApply:de}),b==="dnt"&&t.jsx(Cd,{staged:D,set:W,saving:E,hasChanges:z,savedFlash:$,onApply:de})]})]}),q=It.filter(O=>G[O.key]).map(O=>O.shortName),N=q.length>0?`${q.length} active: ${q.join(", ")}`:"No consent modes enabled",I=t.jsxs(t.Fragment,{children:[t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4},children:[t.jsx("a",{href:`${Qe}/#/configuration`,target:"_blank",rel:"noreferrer",className:"cn-layer__link-btn",children:"Advanced settings in web app →"}),t.jsxs("span",{style:{fontSize:"var(--cn-text-sm)",color:q.length>0?"var(--cn-ok-icon)":"var(--cn-off-val)"},children:[q.length>0?"✓ ":"",N]})]}),t.jsx($e,{variant:"primary",onClick:i,children:"Done"})]});return c?le:t.jsx(Mt,{title:"Consent Protection Settings",onClose:i,scrollTrigger:g,footer:I,children:le})}function bd({addNotice:o,onOpenWelcomeModal:i,onOpenPricingModal:c,onTabChange:p,appliedTemplateKey:d,onTemplateApplied:m}){var Ut,jt,Nr,qn,Zn,vl,Sr,Cr,yl,$t,Wt;const{tier:g}=Ue(),{dashboard:h}=vt(),{config:v,isLoadingConfig:w,refetchConfig:j}=At(),{hasPlatformConfig:S,showBannerWizard:L,bannerScrollTrigger:D,bannerClosing:T,closeBannerWizard:b,showLawWizard:k,lawScrollTrigger:E,lawClosing:M,closeLawWizard:A,showConsentPanel:H,consentScrollTrigger:$,consentClosing:V,closeConsentPanel:Z,openBannerWizard:W,openConsentPanel:Y,openLawWizard:z}=mr(),[de,_e]=x.useState(((jt=(Ut=window.cnReactData)==null?void 0:Ut.options)==null?void 0:jt.app_id)||""),[ie,J]=x.useState(((qn=(Nr=window.cnReactData)==null?void 0:Nr.options)==null?void 0:qn.app_key)||""),[se,he]=x.useState(!1),[me,G]=x.useState(""),le=async()=>{he(!0),G("");try{await zs({app_id:de,app_key:ie});try{const Te=await Mn("sync_config");if(Te!=null&&Te.success){try{await As()}catch{}try{localStorage.setItem(Ts(de),"1"),localStorage.setItem(Rs(de),"1")}catch{}}}catch{}window.location.reload()}catch(Te){G(Te.message||"Save failed"),he(!1)}},q=d||"",N=Te=>{m&&m(Te)},[I,ue]=x.useState(!1),[fe,O]=x.useState(0),ce=h==null?void 0:h.analytics,ye=(h==null?void 0:h.appConfig)||{},we=(v==null?void 0:v.blocking)||{},be=Yo(we),{total:Je,uncategorized:En}=qo(we),ml=!!((vl=(Zn=window.cnReactData)==null?void 0:Zn.options)!=null&&vl.app_blocking),wn=ce==null?void 0:ce.cycleUsage,_r=(wn==null?void 0:wn.visits)||0,gl=(wn==null?void 0:wn.threshold)||0;if(g==="basic")return t.jsxs(yt,{sidebar:t.jsxs(t.Fragment,{children:[t.jsxs(In,{title:"Domain Info",children:[t.jsxs("div",{className:"cn-dom-rows",children:[t.jsxs("div",{className:"cn-dom-row",children:[t.jsx("span",{className:"cn-dom-row__k",children:"Domain"}),t.jsx("span",{className:"cn-dom-row__v",children:window.location.hostname})]}),t.jsxs("div",{className:"cn-dom-row",children:[t.jsx("span",{className:"cn-dom-row__k",children:"Status"}),t.jsxs("span",{className:"cn-dom-row__v",children:[t.jsx("span",{className:"cn-dot cn-dot--gray"})," Not Connected"]})]})]}),t.jsx(Ne,{label:"App ID",value:de,onChange:_e,placeholder:"Your application ID",autoComplete:"off"}),t.jsx(Ne,{label:"Secret Key",type:"password",value:ie,onChange:J,placeholder:"Your application key",autoComplete:"new-password"}),t.jsxs("p",{className:"cn-conn-hint cn-conn-hint--returning",children:["Already have an account?"," ",t.jsx("a",{href:Qe,target:"_blank",rel:"noopener noreferrer",children:"Find your App ID and Secret Key at app.hu-manity.co"})]}),me&&t.jsx("div",{className:"cn-conn-error",children:me}),t.jsx($e,{variant:"primary",onClick:le,disabled:se,children:se?"Saving…":"Connect Your Site"})]}),t.jsxs(In,{title:"What you get with compliance",children:[t.jsxs("ul",{className:"cn-benefit-list",children:[t.jsxs("li",{className:"cn-benefit-item",children:[t.jsx("span",{className:"cn-benefit-icon",children:"✓"}),t.jsx("span",{children:"Stop tracking scripts from firing before visitors agree"})]}),t.jsxs("li",{className:"cn-benefit-item",children:[t.jsx("span",{className:"cn-benefit-icon",children:"✓"}),t.jsx("span",{children:"Build a legal evidence trail regulators can verify"})]}),t.jsxs("li",{className:"cn-benefit-item",children:[t.jsx("span",{className:"cn-benefit-icon",children:"✓"}),t.jsx("span",{children:"Cover GDPR, CCPA, and 40+ global regulations automatically"})]}),t.jsxs("li",{className:"cn-benefit-item",children:[t.jsx("span",{className:"cn-benefit-icon",children:"✓"}),t.jsx("span",{children:"Real compliance in under 60 seconds — free to start"})]})]}),t.jsxs("div",{className:"cn-connect-cta",children:[t.jsx("button",{type:"button",className:"cn-button cn-button--primary cn-button--block",onClick:()=>i&&i(),children:"Set up compliance →"}),t.jsx("div",{className:"cn-connect-cta__caption",children:"No credit card required"})]})]})]}),children:[t.jsx(Xu,{onActivate:()=>i&&i()}),t.jsx(Xo,{requiredTier:"free",message:"Script blocking, consent records, regulatory alerts & more",onCta:i,children:t.jsx("div",{className:"cn-pro-gate-placeholder",children:t.jsx("div",{className:"cn-placeholder-charts"})})})]});const xr=((Sr=window.cnReactData)==null?void 0:Sr.siteUrl)||"",Ft=Qo(ye.regulations),jr=Ft.map(Te=>Ms[Te]||Te.toUpperCase()),Bt=Tu((yl=(Cr=window.cnReactData)==null?void 0:Cr.options)==null?void 0:yl.app_id),[xt,Qn]=x.useState(()=>{try{const Te=localStorage.getItem(Bt)==="1";return Te&&localStorage.removeItem(Bt),Te}catch{return!1}}),Ot=xr&&q?`${xr}?cn_preview=1`:"",wr=((($t=window.cnReactData)==null?void 0:$t.detectedPlugins)||[]).includes("google"),Yn=[];!q&&!S&&Yn.push("banner template"),jr.length===0&&!S&&Yn.push("laws"),En>0&&Yn.push(`${En} uncategorized tracker${En!==1?"s":""}`),wr&&!be.google&&Yn.push("Google Consent Mode review");const kr=Yn.slice(0,3);return t.jsxs(yt,{sidebar:t.jsxs(t.Fragment,{children:[t.jsx(dl,{addNotice:o}),t.jsx(ri,{onOpenPricingModal:()=>c&&c()})]}),children:[t.jsx(Ju,{sessionUsed:_r,sessionTotal:gl,activeLawsCount:jr.length,uncategorizedScripts:En,autoblockingEnabled:ml}),xt&&t.jsxs("div",{className:"cn-inline-notice cn-inline-notice--success",children:[t.jsxs("div",{className:"cn-inline-notice__message",children:[t.jsx("strong",{children:"✓ Your banner is live."})," ","Visitors will now see your selected template and your chosen laws/languages are active."]}),t.jsxs("div",{className:"cn-inline-notice__actions",children:[Ot&&t.jsx("a",{className:"cn-layer__link-btn",href:Ot,target:"_blank",rel:"noreferrer",children:"Preview your live banner →"}),t.jsx("button",{type:"button",className:"cn-layer__link-btn",onClick:()=>Qn(!1),children:"Dismiss"})]})]}),kr.length>0&&t.jsx("div",{className:"cn-inline-notice cn-inline-notice--info",children:t.jsxs("div",{className:"cn-inline-notice__message",children:[t.jsx("strong",{children:"Still missing:"})," ",kr.join(", "),"."]})}),wr&&!be.google&&t.jsxs("div",{className:"cn-inline-notice cn-inline-notice--warning",children:[t.jsxs("div",{className:"cn-inline-notice__message",children:[t.jsx("strong",{children:"Google tools detected."})," ","Review Google Consent Mode before you consider setup complete."]}),t.jsx("button",{type:"button",className:"cn-layer__link-btn",onClick:()=>Y(),children:"Review consent modes →"})]}),t.jsx(dd,{onTemplateApplied:Te=>N(Te),initialLaws:Ft,onOpenPricingModal:c,totalScripts:Je,uncategorizedScripts:En,isLoadingConfig:w}),I&&t.jsx(_d,{onClose:()=>{ue(!1),j()},onOpenWelcomeModal:i,scrollTrigger:fe}),!I&&t.jsx(ni,{appliedTemplateKey:q,onTemplateApplied:m,siteUrl:((Wt=window.cnReactData)==null?void 0:Wt.siteUrl)||"",onOpenTrackers:()=>{ue(!0),O(Te=>Te+1)},onTabChange:p}),L&&t.jsx(ii,{onClose:b,onTemplateApplied:Te=>{N(Te),b()},scrollTrigger:D,isClosing:T,appliedTemplateKey:q}),H&&t.jsx(di,{isOpen:!0,onClose:Z,addNotice:o,onOpenPricingModal:c,onApplied:()=>{},scrollTrigger:$,isClosing:V}),k&&t.jsx(ci,{onClose:A,scrollTrigger:E,isClosing:M}),t.jsx(fd,{consentModes:be,regulations:ye.regulations||{}})]})}function pi(o,i){const[c,p]=x.useState(null),[d,m]=x.useState(!0),[g,h]=x.useState(null),v=x.useRef(null),w=x.useCallback(async()=>{if(v.current){p(v.current),m(!1);return}m(!0),h(null);try{const S=await o(i);v.current=S,p(S)}catch(S){h(S.message||"An error occurred")}finally{m(!1)}},[o,i]);x.useEffect(()=>{w()},[w]);const j=x.useCallback(()=>{v.current=null,w()},[w]);return{data:c,loading:d,error:g,refetch:j}}function Ld(){return pi(zu)}function Pd(){return pi(Au)}function Ed(){const o=(window.cnReactData||{}).options||{},[i,c]=x.useState(o),[p,d]=x.useState(!1),[m,g]=x.useState(null),[h,v]=x.useState(!1),w=x.useCallback((L,D)=>{c(T=>({...T,[L]:D})),v(!1)},[]),j=x.useCallback((L,D,T)=>{c(b=>({...b,[L]:{...b[L]||{},[D]:T}})),v(!1)},[]),S=x.useCallback(async()=>{d(!0),g(null),v(!1);try{const L={};return Object.entries(i).forEach(([D,T])=>{D==="see_more_opt"&&typeof T=="object"?(L["see_more_opt[text]"]=T.text||"",L["see_more_opt[link_type]"]=T.link_type||"page",L["see_more_opt[id]"]=T.id||0,L["see_more_opt[link]"]=T.link||"",L["see_more_opt[sync]"]=T.sync?"1":""):D==="colors"&&typeof T=="object"?(L.bar_opacity=T.bar_opacity||100,L.color_bar=T.bar||"",L.color_text=T.text||"",L.color_button=T.button||""):D==="conditional_rules"?L[D]=JSON.stringify(T||[]):D==="excluded_handles"?L[D]=Array.isArray(T)?T.join(`
|
||
`):T||"":D==="refuse_code"||D==="refuse_code_head"?L[D]=T||"":typeof T=="boolean"?L[D]=T?"1":"":L[D]=T}),await zs(L),window.cnReactData&&(window.cnReactData.options={...i}),v(!0),!0}catch(L){return g(L.message||"Save failed"),!1}finally{d(!1)}},[i]);return{options:i,update:w,updateNested:j,save:S,loading:p,error:m,saved:h}}function Dd(){const[o,i]=x.useState(!1),[c,p]=x.useState(null);return{exportCsv:x.useCallback(async m=>{i(!0),p(null);try{const g=await Iu(m);if(g.csv){const h=new Blob([g.csv],{type:"text/csv;charset=utf-8;"}),v=URL.createObjectURL(h),w=document.createElement("a");w.href=v,w.download=`consent-logs-${m.start_date||"export"}.csv`,w.click(),URL.revokeObjectURL(v)}return g}catch(g){throw p(g.message||"Export failed"),g}finally{i(!1)}},[]),loading:o,error:c}}const Td=[{key:"top",label:"Top",posClass:"pos-top"},{key:"bottom",label:"Bottom",posClass:"pos-bottom"}],Rd=[{key:"top",label:"Top",posClass:"pos-top"},{key:"bottom",label:"Bottom",posClass:"pos-bottom"},{key:"left",label:"Left",posClass:"pos-left"},{key:"right",label:"Right",posClass:"pos-right"},{key:"center",label:"Popup",posClass:"pos-center",proOnly:!0}];function zd({options:o,update:i,save:c,loading:p,saved:d,error:m}){const{isBasic:g,isPro:h}=Ue(),v=g?Td:Rd,[w,j]=x.useState(!1),[S,L]=x.useState(!1),[D,T]=x.useState(""),[b,k]=x.useState(!1),[E,M]=x.useState(o.displayType||"fixed"),A=Y=>{const z=o.position||"bottom";Y!==z&&(g?(i("position",Y),j(!0)):(L(!0),T(""),k(!1),ul({position:Y,displayType:E}).then(()=>{k(!0),i("position",Y)}).catch(de=>T(de.message||"Save failed.")).finally(()=>L(!1))))},H=Y=>{Y!==E&&(M(Y),g?(i("displayType",Y),j(!0)):(L(!0),T(""),k(!1),ul({position:o.position||"bottom",displayType:Y}).then(()=>{k(!0),i("displayType",Y)}).catch(z=>T(z.message||"Save failed.")).finally(()=>L(!1))))};x.useEffect(()=>{w&&g&&(j(!1),c())},[o.position,o.displayType,w,c,g]);const $=o.position||"bottom",V=g?p:S,Z=g?d:b,W=g?m:D;return t.jsxs("div",{className:"cn-banner-selector",children:[t.jsxs("div",{className:"cn-banner-selector__header",children:[t.jsx("span",{className:"cn-section-label",children:"Banner Position"}),Z&&t.jsx("span",{className:"cn-saved-indicator",children:"✓ Saved"}),W&&t.jsx("span",{className:"cn-error-indicator",children:W})]}),!g&&t.jsx(t.Fragment,{children:t.jsxs("div",{className:"cn-banner-selector__toggle-row",children:[t.jsx("span",{className:"cn-banner-selector__size-label",children:"Banner Size"}),t.jsxs("div",{className:"cn-banner-selector__size-opts",children:[t.jsx("button",{className:`cn-banner-selector__size-opt${E==="floating"?" cn-banner-selector__size-opt--on":""}`,onClick:()=>H("floating"),children:"Floating"}),t.jsx("button",{className:`cn-banner-selector__size-opt${E==="fixed"?" cn-banner-selector__size-opt--on":""}`,onClick:()=>H("fixed"),children:"Fixed"})]}),t.jsx("span",{className:"cn-banner-selector__size-desc",children:E==="floating"?"Fills only as much space as necessary.":"Expands to fill all available space."})]})}),t.jsx("div",{className:`cn-banner-selector__grid${!g&&E==="floating"?" cn-banner-selector__grid--floating":""}`,children:v.map(Y=>{const z=Y.proOnly&&!h;return t.jsxs("div",{className:"cn-banner-selector__card"+($===Y.key?" cn-banner-selector__card--active":"")+(V&&!z?" cn-banner-selector__card--saving":"")+(z?" cn-banner-selector__card--locked":""),onClick:()=>!z&&A(Y.key),title:z?"Upgrade to Pro to use the Popup position":void 0,children:[z&&t.jsx("span",{className:"cn-banner-selector__pro-badge",children:t.jsx(Fn,{})}),t.jsx("div",{className:"cn-banner-selector__thumb",children:t.jsx("div",{className:`cn-banner-selector__pos ${Y.posClass}${z?" cn-banner-selector__pos--locked":""}`})}),t.jsxs("div",{className:"cn-banner-selector__meta",children:[t.jsx("span",{className:"cn-banner-selector__name",children:Y.label}),$===Y.key&&!z&&t.jsx("span",{className:"cn-banner-selector__active-pill",children:"Active"}),z&&t.jsx("span",{className:"cn-banner-selector__locked-label",children:"Pro only"})]})]},Y.key)})}),!g&&t.jsx("div",{className:"cn-banner-selector__portal-link",children:t.jsx("a",{href:`${Qe}/#/configuration`,target:"_blank",rel:"noopener noreferrer",children:"Customize in Admin Portal →"})})]})}const Ws={size:24,color:"currentColor"};function un({size:o,color:i,className:c,style:p}={},d){return{xmlns:"http://www.w3.org/2000/svg",width:o||Ws.size,height:o||Ws.size,viewBox:"0 0 24 24",fill:"none",stroke:i||Ws.color,strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round",className:c||"",style:p,...d}}function Ad(o){return t.jsxs("svg",{...un(o),children:[t.jsx("path",{d:"M12 2L3 6v5.5c0 4.5 3.8 8.7 9 10 5.2-1.3 9-5.5 9-10V6l-9-4z"}),t.jsx("polyline",{points:"8.5 12 11 14.5 15.5 9.5"})]})}function Md(o){return t.jsxs("svg",{...un(o),children:[t.jsx("circle",{cx:"12",cy:"12",r:"10"}),t.jsx("ellipse",{cx:"12",cy:"12",rx:"4",ry:"10"}),t.jsx("line",{x1:"2",y1:"12",x2:"22",y2:"12"})]})}function Id(o){return t.jsxs("svg",{...un(o),children:[t.jsx("rect",{x:"4",y:"14",width:"4",height:"7",rx:"1"}),t.jsx("rect",{x:"10",y:"9",width:"4",height:"12",rx:"1"}),t.jsx("rect",{x:"16",y:"4",width:"4",height:"17",rx:"1"})]})}function fi(o){return t.jsxs("svg",{...un(o),children:[t.jsx("rect",{x:"5",y:"2",width:"14",height:"20",rx:"2"}),t.jsx("line",{x1:"9",y1:"8",x2:"15",y2:"8"}),t.jsx("line",{x1:"9",y1:"12",x2:"15",y2:"12"}),t.jsx("line",{x1:"9",y1:"16",x2:"13",y2:"16"})]})}function Hs(o){return t.jsxs("svg",{...un(o),children:[t.jsx("rect",{x:"5",y:"11",width:"14",height:"10",rx:"2"}),t.jsx("path",{d:"M8 11V7a4 4 0 0 1 8 0v4"})]})}function hi(o){return t.jsxs("svg",{...un(o),children:[t.jsx("circle",{cx:"12",cy:"12",r:"10"}),t.jsx("path",{d:"M9 12l2 2 4-4"})]})}function mi(o){return t.jsxs("svg",{...un(o),children:[t.jsx("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}),t.jsx("line",{x1:"12",y1:"9",x2:"12",y2:"13"}),t.jsx("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})]})}function Fd(o){return t.jsxs("svg",{...un(o),children:[t.jsx("circle",{cx:"12",cy:"12",r:"3"}),t.jsx("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09a1.65 1.65 0 0 0-1.08-1.51 1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09a1.65 1.65 0 0 0 1.51-1.08 1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1.08z"})]})}function Bd(o){return t.jsxs("svg",{...un(o),children:[t.jsx("line",{x1:"12",y1:"3",x2:"12",y2:"21"}),t.jsx("line",{x1:"9",y1:"21",x2:"15",y2:"21"}),t.jsx("line",{x1:"3.5",y1:"8",x2:"20.5",y2:"8"}),t.jsx("line",{x1:"3.5",y1:"8",x2:"3.5",y2:"13"}),t.jsx("path",{d:"M1.5 13Q3.5 16.5 5.5 13"}),t.jsx("line",{x1:"20.5",y1:"8",x2:"20.5",y2:"13"}),t.jsx("path",{d:"M18.5 13Q20.5 16.5 22.5 13"})]})}function Od(o){return t.jsx("svg",{...un(o),children:t.jsx("polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"})})}function Ud(o){return t.jsxs("svg",{...un(o),children:[t.jsx("rect",{x:"2",y:"2",width:"20",height:"16",rx:"2.5"}),t.jsx("line",{x1:"2",y1:"13",x2:"22",y2:"13"}),t.jsx("line",{x1:"6",y1:"7",x2:"11",y2:"7"}),t.jsx("line",{x1:"6",y1:"10",x2:"9",y2:"10"}),t.jsx("rect",{x:"14",y:"14.5",width:"5",height:"2",rx:"1",fill:"currentColor",stroke:"none"}),t.jsx("line",{x1:"4",y1:"15.5",x2:"10",y2:"15.5"})]})}function $d(o){return t.jsx("svg",{...un(o),children:t.jsx("polyline",{points:"6 9 12 15 18 9"})})}function Wd(o){return t.jsxs("svg",{...un(o),children:[t.jsx("path",{d:"M7 15l5 5 5-5"}),t.jsx("path",{d:"M7 9l5-5 5 5"})]})}function _t({title:o,subtitle:i,defaultOpen:c=!1,children:p}){return t.jsxs("details",{className:"cn-accordion",open:c||void 0,children:[t.jsxs("summary",{className:"cn-accordion__summary",children:[t.jsxs("div",{className:"cn-accordion__left",children:[t.jsx("span",{className:"cn-accordion__title",children:o}),i&&t.jsx("span",{className:"cn-accordion__subtitle",children:i})]}),t.jsx("span",{className:"cn-accordion__chevron",children:t.jsx($d,{size:16})})]}),t.jsx("div",{className:"cn-accordion__body",children:p})]})}function Vs({label:o,value:i,onChange:c}){const p=`cn-color-${o==null?void 0:o.toLowerCase().replace(/\s+/g,"-")}`;return t.jsxs("div",{className:"cn-form-field",children:[o&&t.jsx("label",{className:"cn-form-field__label",htmlFor:p,children:o}),t.jsxs("div",{className:"cn-color-picker__row",children:[t.jsx("input",{type:"color",className:"cn-color-picker__swatch",value:i||"#000000",onChange:d=>c==null?void 0:c(d.target.value)}),t.jsx("input",{id:p,type:"text",className:"cn-form-field__input",value:i||"",onChange:d=>c==null?void 0:c(d.target.value),placeholder:"#000000",style:{flex:1}})]})]})}const Hd=[{value:"bottom",label:"Bottom"},{value:"top",label:"Top"}],Vd=[{value:"fade",label:"Fade"},{value:"slide",label:"Slide"},{value:"none",label:"None"}];function hl({label:o,value:i}){return t.jsxs("div",{className:"cn-form-readonly",children:[t.jsx("label",{className:"cn-form-readonly__label",children:o}),t.jsx("span",{className:"cn-form-readonly__value",children:i||"(default)"}),t.jsx("a",{href:`${Qe}/#/configuration`,target:"_blank",rel:"noreferrer",className:"cn-form-readonly__link",children:"Edit text in web-app →"})]})}function Gd({options:o,update:i,updateNested:c}){const p=o.colors||{};o.see_more_opt;const{isConnected:d,isBasic:m}=Ue();return t.jsx(_t,{title:"Banner Design",subtitle:"Texts, colors, position, and animation",defaultOpen:!0,children:t.jsxs("div",{className:"cn-banner-design__grid",children:[t.jsxs("div",{className:"cn-banner-design__col",children:[d?t.jsx(hl,{label:"Banner Message",value:o.message_text}):t.jsx(Ne,{label:"Banner Message",type:"textarea",value:o.message_text||"",onChange:g=>i("message_text",g)}),d?t.jsx(hl,{label:"Accept Button",value:o.accept_text}):t.jsx(Ne,{label:"Accept Button",value:o.accept_text||"",onChange:g=>i("accept_text",g),placeholder:"Accept All"}),d?t.jsx(hl,{label:"Reject Button",value:o.refuse_text}):t.jsx(Ne,{label:"Reject Button",value:o.refuse_text||"",onChange:g=>i("refuse_text",g),placeholder:"Reject All"}),!m&&(d?t.jsx(hl,{label:"Preferences Button",value:o.revoke_text}):t.jsx(Ne,{label:"Preferences Button",value:o.revoke_text||"",onChange:g=>i("revoke_text",g),placeholder:"Manage Preferences"})),t.jsx(Ne,{label:"Banner Position",type:"select",value:o.position||"bottom",onChange:g=>i("position",g),options:Hd}),t.jsx(Ne,{label:"Dismiss Animation",type:"select",value:o.hide_effect||"fade",onChange:g=>i("hide_effect",g),options:Vd})]}),t.jsxs("div",{className:"cn-banner-design__col",children:[t.jsx(Vs,{label:"Background Color",value:p.bar||"#32323a",onChange:g=>c("colors","bar",g)}),t.jsx(Vs,{label:"Text Color",value:p.text||"#ffffff",onChange:g=>c("colors","text",g)}),t.jsx(Vs,{label:"Button Color",value:p.button||"#00a99d",onChange:g=>c("colors","button",g)})]})]})})}function Kd({onConnect:o}){return t.jsxs("div",{className:"cn-tier-gate-inline",children:[t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{opacity:.5},children:[t.jsx("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),t.jsx("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]}),t.jsxs("div",{children:[t.jsx("strong",{children:"Advanced features require a connection"}),t.jsx("p",{style:{margin:"4px 0 0",color:"var(--cn-muted)",fontSize:"var(--cn-text-sm)"},children:"Connect your site to unlock Autoblocking, Cookie Categories, Consent Records, and Analytics."})]}),t.jsx("button",{type:"button",className:"cn-button cn-button--primary",onClick:o,children:"Connect Your Site — It’s Free"})]})}const Qd={gpcSupportMode:{title:"GPC support",summary:"GPC (Global Privacy Control) tells browsers to signal opt-out of data sale automatically. Required for CCPA compliance.",navPath:["Compliance","Privacy Settings","GPC Support"],action:"Toggle GPC Support on, then save.",deepLink:"/#/configuration"},onClose:{title:"Accept on close",summary:"Accepting consent when users dismiss the banner is not allowed under GDPR and UK PECR.",navPath:["Compliance","Consent Settings","Accept on Close"],action:"Ensure Accept on Close is set to Off.",deepLink:"/#/configuration"},uiBlocking:{title:"Cookie wall (UI blocking)",summary:'Blocking site access until consent is given (a "cookie wall") violates GDPR — consent must be freely given.',navPath:["Compliance","Blocking Settings","Cookie Wall"],action:"Ensure Cookie Wall is set to Off.",deepLink:"/#/configuration"}},Yd=()=>t.jsxs("svg",{viewBox:"0 0 28 28",fill:"none",width:"28",height:"28","aria-hidden":"true",children:[t.jsx("path",{d:"M14 3L4 7v7c0 6.627 4.477 12.5 10 14.5C19.523 26.5 24 20.627 24 14V7L14 3z",stroke:"rgba(255,255,255,.75)",strokeWidth:"1.5",strokeLinejoin:"round"}),t.jsx("path",{d:"M9 14l3.5 3.5L19 11",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]});function qd({settingKey:o,accountEmail:i,onClose:c,onSynced:p}){const[d,m]=x.useState(!1),[g,h]=x.useState(""),v=Qd[o];if(!v)return null;const w=v.deepLink?Qe+v.deepLink:Qe,j=async()=>{m(!0),h("");try{await Mn("sync_config"),p==null||p(),c==null||c()}catch{h("Sync failed. Please try again or refresh the page.")}finally{m(!1)}};return t.jsx("div",{className:"cn-portal-bridge-overlay",role:"dialog","aria-modal":"true","aria-label":`Configure ${v.title} in web app`,children:t.jsxs("div",{className:"cn-portal-bridge",children:[t.jsxs("div",{className:"cn-portal-bridge__header",children:[t.jsx("div",{className:"cn-portal-bridge__header-icon",children:t.jsx(Yd,{})}),t.jsxs("div",{children:[t.jsxs("div",{className:"cn-portal-bridge__header-title",children:[v.title," is configured in your web account"]}),t.jsx("div",{className:"cn-portal-bridge__header-sub",children:"Takes about 60 seconds"})]})]}),t.jsxs("div",{className:"cn-portal-bridge__body",children:[t.jsx("p",{className:"cn-portal-bridge__summary",children:v.summary}),i&&t.jsxs("div",{className:"cn-portal-bridge__context",children:[t.jsx("div",{className:"cn-portal-bridge__context-dot"}),t.jsxs("div",{className:"cn-portal-bridge__context-text",children:["Sign in with ",t.jsx("strong",{children:i})," to access this setting."]})]}),t.jsxs("div",{className:"cn-portal-bridge__steps",children:[t.jsxs("div",{className:"cn-portal-bridge__step",children:[t.jsx("div",{className:"cn-portal-bridge__step-num",children:"1"}),t.jsxs("div",{className:"cn-portal-bridge__step-body",children:[t.jsx("div",{className:"cn-portal-bridge__step-title",children:"Open your web account"}),t.jsx("div",{className:"cn-portal-bridge__step-desc",children:"Opens in a new tab."})]})]}),t.jsxs("div",{className:"cn-portal-bridge__step",children:[t.jsx("div",{className:"cn-portal-bridge__step-num",children:"2"}),t.jsxs("div",{className:"cn-portal-bridge__step-body",children:[t.jsx("div",{className:"cn-portal-bridge__step-title",children:"Navigate to the setting"}),t.jsx("div",{className:"cn-portal-bridge__step-desc",children:v.navPath.join(" → ")})]})]}),t.jsxs("div",{className:"cn-portal-bridge__step",children:[t.jsx("div",{className:"cn-portal-bridge__step-num",children:"3"}),t.jsxs("div",{className:"cn-portal-bridge__step-body",children:[t.jsx("div",{className:"cn-portal-bridge__step-title",children:"Make the change"}),t.jsx("div",{className:"cn-portal-bridge__step-desc",children:v.action})]})]})]}),g&&t.jsx("div",{className:"cn-portal-bridge__error",children:g}),t.jsxs("div",{className:"cn-portal-bridge__actions",children:[t.jsx("a",{href:w,target:"_blank",rel:"noopener noreferrer",className:"cn-portal-bridge__btn cn-portal-bridge__btn--primary",children:"Open web app →"}),t.jsx("button",{type:"button",className:"cn-portal-bridge__btn cn-portal-bridge__btn--secondary",onClick:j,disabled:d,children:d?"Checking…":"I've made the change"})]})]}),t.jsx("div",{className:"cn-portal-bridge__dismiss",children:t.jsx("button",{type:"button",onClick:c,className:"cn-portal-bridge__dismiss-btn",children:"Not now"})})]})})}const Zd=[{key:"app_blocking",wpKey:"app_blocking",label:"Autoblocking",desc:"Scripts wait for visitor consent before firing",valueType:"toggle",requiredFor:[],activeLaws:[],activeValue:!0},{key:"onScroll",label:"Accept on scroll",desc:"Consent granted automatically if visitor scrolls",valueType:"bool-inverted",requiredFor:["gdpr","ukpecr","lgpd","popia"],activeLaws:["gdpr","ukpecr","lgpd","popia"],activeValue:!1},{key:"onClick",label:"Accept on click",desc:"Consent granted automatically on any page click",valueType:"bool-inverted",requiredFor:["gdpr","ukpecr","lgpd","popia"],activeLaws:["gdpr","ukpecr","lgpd","popia"],activeValue:!1},{key:"onClose",label:"Accept on close",desc:"Consent granted automatically if banner is closed",valueType:"bool-inverted",requiredFor:["gdpr","ukpecr","popia"],activeLaws:["gdpr","ukpecr","popia"],activeValue:!1,portalOnly:!0},{key:"refuse_opt",wpKey:"refuse_opt",label:"Refuse button",desc:"Display a button allowing visitors to decline tracking",valueType:"bool",requiredFor:["gdpr","ukpecr","lgpd","pipeda","popia"],activeLaws:["gdpr","ukpecr","lgpd","pipeda","popia"],activeValue:!0},{key:"revokeConsent",label:"Revoke consent",desc:"Floating widget allowing visitors to change preferences",valueType:"bool",requiredFor:[],activeLaws:["gdpr","ccpa","otherus","ukpecr","lgpd","pipeda","popia"],activeValue:!0},{key:"gpcSupportMode",label:"GPC support",desc:"Honor browser-level opt-out signals automatically",valueType:"bool",requiredFor:[],activeLaws:["ccpa","otherus"],activeValue:!0,portalOnly:!0,globalNote:"Required for all connected sites (CCPA/CPRA mandate)"},{key:"consentExpiry",label:"Consent expiry",desc:"How long before visitors are prompted again",valueType:"expiry-array",requiredFor:["gdpr","ukpecr"],activeLaws:["gdpr","ukpecr"]},{key:"uiBlocking",label:"Cookie wall",desc:"Block access to site content until consent is given",valueType:"bool-inverted",requiredFor:["gdpr"],activeLaws:["gdpr"],activeValue:!1,portalOnly:!0}],Bn={shield:({color:o})=>t.jsxs("svg",{viewBox:"0 0 22 22",fill:"none",width:"22",height:"22","aria-hidden":"true",children:[t.jsx("path",{d:"M11 3L4 6v5c0 4 3.5 7 7 8 3.5-1 7-4 7-8V6L11 3z",stroke:o,strokeWidth:"1.5",strokeLinejoin:"round"}),t.jsx("polyline",{points:"8,11 10,13 14,9",stroke:o,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}),scroll:({color:o})=>t.jsxs("svg",{viewBox:"0 0 22 22",fill:"none",width:"22",height:"22","aria-hidden":"true",children:[t.jsx("rect",{x:"4",y:"3",width:"14",height:"16",rx:"3",stroke:o,strokeWidth:"1.5"}),t.jsx("polyline",{points:"9,13 11,16 13,13",stroke:o,strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),t.jsx("line",{x1:"11",y1:"9",x2:"11",y2:"16",stroke:o,strokeWidth:"1.2",strokeLinecap:"round"})]}),click:({color:o})=>t.jsxs("svg",{viewBox:"0 0 22 22",fill:"none",width:"22",height:"22","aria-hidden":"true",children:[t.jsx("path",{d:"M8.5 10.5V5.5a1.5 1.5 0 013 0v5",stroke:o,strokeWidth:"1.5",strokeLinecap:"round"}),t.jsx("path",{d:"M11.5 8.5V5a1.5 1.5 0 013 0V10",stroke:o,strokeWidth:"1.5",strokeLinecap:"round"}),t.jsx("path",{d:"M14.5 8a1.5 1.5 0 013 0v4c0 3.314-2.686 6-6 6h-1a5 5 0 01-5-5v-2.5a1.5 1.5 0 013 0",stroke:o,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),close:({color:o})=>t.jsxs("svg",{viewBox:"0 0 22 22",fill:"none",width:"22",height:"22","aria-hidden":"true",children:[t.jsx("rect",{x:"3",y:"3",width:"16",height:"16",rx:"3",stroke:o,strokeWidth:"1.5"}),t.jsx("line",{x1:"8",y1:"8",x2:"14",y2:"14",stroke:o,strokeWidth:"1.4",strokeLinecap:"round"}),t.jsx("line",{x1:"14",y1:"8",x2:"8",y2:"14",stroke:o,strokeWidth:"1.4",strokeLinecap:"round"})]}),refuse:({color:o})=>t.jsxs("svg",{viewBox:"0 0 22 22",fill:"none",width:"22",height:"22","aria-hidden":"true",children:[t.jsx("rect",{x:"3",y:"7",width:"16",height:"8",rx:"3",stroke:o,strokeWidth:"1.5"}),t.jsx("line",{x1:"7",y1:"11",x2:"15",y2:"11",stroke:o,strokeWidth:"1.3",strokeLinecap:"round"})]}),revoke:({color:o})=>t.jsxs("svg",{viewBox:"0 0 22 22",fill:"none",width:"22",height:"22","aria-hidden":"true",children:[t.jsx("path",{d:"M4 8h7a6 6 0 110 12H6",stroke:o,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.jsx("polyline",{points:"4,4 4,8 8,8",stroke:o,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),gpc:({color:o})=>t.jsxs("svg",{viewBox:"0 0 22 22",fill:"none",width:"22",height:"22","aria-hidden":"true",children:[t.jsx("path",{d:"M8 10V5a1.5 1.5 0 013 0v5",stroke:o,strokeWidth:"1.5",strokeLinecap:"round"}),t.jsx("path",{d:"M11 8V4.5a1.5 1.5 0 013 0V9",stroke:o,strokeWidth:"1.5",strokeLinecap:"round"}),t.jsx("path",{d:"M14 7.5a1.5 1.5 0 013 0V12c0 3.314-2.686 6-6 6h-1a5 5 0 01-5-5v-2a1.5 1.5 0 013 0",stroke:o,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),clock:({color:o})=>t.jsxs("svg",{viewBox:"0 0 22 22",fill:"none",width:"22",height:"22","aria-hidden":"true",children:[t.jsx("circle",{cx:"11",cy:"11",r:"9",stroke:o,strokeWidth:"1.5"}),t.jsx("polyline",{points:"11,6 11,11 14,14",stroke:o,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}),wall:({color:o})=>t.jsxs("svg",{viewBox:"0 0 22 22",fill:"none",width:"22",height:"22","aria-hidden":"true",children:[t.jsx("rect",{x:"2",y:"5",width:"18",height:"12",rx:"2",stroke:o,strokeWidth:"1.5"}),t.jsx("line",{x1:"2",y1:"9",x2:"20",y2:"9",stroke:o,strokeWidth:"1.2"}),t.jsx("line",{x1:"11",y1:"9",x2:"11",y2:"17",stroke:o,strokeWidth:"1.2"})]})},Xd={app_blocking:Bn.shield,onScroll:Bn.scroll,onClick:Bn.click,onClose:Bn.close,refuse_opt:Bn.refuse,revokeConsent:Bn.revoke,gpcSupportMode:Bn.gpc,consentExpiry:Bn.clock,uiBlocking:Bn.wall};function Jd(o,i,c,p){return o.key==="gpcSupportMode"&&!c&&p.some(m=>m==="ccpa"||m==="otherus")||o.key==="uiBlocking"&&!c&&p.includes("gdpr")?"crit":c?"ok":"warn"}function e2({setting:o,activeLawKeys:i,wpOptions:c,configData:p,onOpenPortal:d,update:m,thresholdLocked:g,onUpgrade:h}){const{key:v,label:w,desc:j,valueType:S,activeLaws:L,portalOnly:D,wpKey:T}=o,b=L.filter(W=>i.includes(W)),k=T||v,E=T?c:p;let M,A;const H=o.key==="app_blocking"&&g;if(S==="bool"){const W=E[k],Y=k==="app_blocking"&&W===void 0?!0:!!W;M=Y?"On":"Off",A=Y===o.activeValue}else if(S==="bool-inverted"){const W=!!E[k];M=W?"On":"Off",A=W===o.activeValue}else if(S==="toggle"){const W=E[k]??!0;M=H?t.jsx("span",{style:{color:"var(--cn-warn-icon)",fontWeight:500},children:"Paused"}):t.jsxs("label",{className:"cn-toggle-row__label",style:{cursor:"pointer",margin:0,justifyContent:"flex-start"},children:[t.jsx("input",{type:"checkbox",className:"cn-toggle-row__input",checked:W,onChange:Y=>m&&m(k,Y.target.checked),style:{marginRight:"6px"}}),W?"On":"Off"]}),A=H?!1:W===o.activeValue}else if(S==="expiry-array"){const W=Array.isArray(E[k])?E[k]:[30,182,365],Y=Math.max(...W);M=W.map(z=>z>=365?`${Math.round(z/365)}y`:z>=30?`${Math.round(z/30)}mo`:`${z}d`).join(" / "),A=Y<=365}const $=Jd(o,M,A,i),V=`var(--cn-${$}-icon)`,Z=Xd[v]||null;return t.jsxs("div",{className:`cn-card${$==="crit"?" cn-card--crit":""}`,children:[t.jsxs("div",{className:"cn-card__top",children:[t.jsx("div",{className:"cn-card__icon",children:Z&&t.jsx(Z,{color:V})}),t.jsx("div",{className:`cn-card__dot cn-card__dot--${$}`})]}),t.jsx("div",{className:`cn-card__main cn-card__main--${$}`,children:M}),t.jsx("div",{className:"cn-card__sub",children:w}),j&&t.jsx("div",{className:"cn-card__desc",style:{marginTop:4,fontSize:"var(--cn-text-sm)",color:"var(--cn-muted)"},children:j}),t.jsx("div",{className:"cn-card__pills",children:b.map(W=>t.jsx("span",{className:`cn-card__pill cn-card__pill--${$}`,children:Ms[W]||W.toUpperCase()},W))}),t.jsx("div",{className:"cn-card__foot",children:D&&t.jsx("button",{type:"button",onClick:()=>d==null?void 0:d(o.key),children:"Manage in web app →"})}),H&&t.jsxs("div",{className:"cn-card__threshold-banner",style:{marginTop:8,padding:"8px 10px",background:"var(--cn-warn-bg, #fef3cd)",borderRadius:6,fontSize:"var(--cn-text-sm)"},children:["Monthly visit limit reached ","—"," autoblocking is paused until your cycle resets."," ",t.jsx("button",{type:"button",className:"cn-card__threshold-upgrade",style:{background:"none",border:"none",color:"var(--cn-link)",cursor:"pointer",padding:0,font:"inherit",textDecoration:"underline"},onClick:h,children:"Upgrade →"})]})]})}function n2({wpOptions:o,update:i,save:c,onOpenPricingModal:p}){var Z,W;const{dashboard:d,refetchDashboard:m}=vt(),{config:g,refetchConfig:h}=At(),v=(Z=d==null?void 0:d.analytics)==null?void 0:Z.cycleUsage,w=(v==null?void 0:v.visits)||0,j=(v==null?void 0:v.threshold)||0,S=j>0&&w>=j,L=x.useRef(!1),D=x.useRef(null),T=x.useRef(o==null?void 0:o.app_blocking);x.useEffect(()=>{const Y=o==null?void 0:o.app_blocking;if(Y!==T.current)return T.current=Y,L.current||(L.current=!0),L.current&&c&&(clearTimeout(D.current),D.current=setTimeout(()=>c(),300)),()=>clearTimeout(D.current)},[o==null?void 0:o.app_blocking,c]);const b=((W=d==null?void 0:d.appConfig)==null?void 0:W.regulations)||{},k=Object.entries(b).filter(([,Y])=>Y).map(([Y])=>Y),E=(d==null?void 0:d.accountEmail)||"",M=(g==null?void 0:g.config)||{},[A,H]=x.useState(null),$=k.length>0,V=Zd.filter(Y=>Y.requiredFor.length===0?!0:Y.requiredFor.some(z=>k.includes(z)));return t.jsxs(t.Fragment,{children:[t.jsxs("div",{id:"cn-compliance-behavior",className:"cn-compliance-behavior",children:[t.jsx("div",{className:"cn-card-grid cn-card-grid--auto",children:V.map(Y=>t.jsx(e2,{setting:Y,activeLawKeys:k,wpOptions:o,configData:M,onOpenPortal:H,update:i,thresholdLocked:S,onUpgrade:p},Y.key))}),t.jsxs("div",{className:"cn-compliance-behavior__footer",children:[$?"These settings were automatically configured based on your selected laws. ":"Select laws to see recommendations tied to your jurisdictions. ",t.jsx("a",{href:`${Qe}/#/configuration`,target:"_blank",rel:"noreferrer",className:"cn-form-readonly__link",children:$?"Configure in Admin Portal →":"Select laws in Admin Portal →"})]})]}),A&&t.jsx(qd,{settingKey:A,accountEmail:E,onClose:()=>H(null),onSynced:()=>{m(),h(),H(null)}})]})}const t2=((Ai=window.cnReactData)==null?void 0:Ai.ruleParams)||[],r2=((Mi=window.cnReactData)==null?void 0:Mi.ruleOperators)||[];function l2({rule:o,onChange:i,onRemove:c}){const[p,d]=x.useState([]),[m,g]=x.useState(!1),[h,v]=x.useState(!1),w=x.useCallback(async S=>{if(!S){d([]);return}g(!0);try{const L=await Ou(S),D=(L==null?void 0:L.values)||[];D.length>0&&D[0].group?v(!0):v(!1),d(D)}catch{d([])}finally{g(!1)}},[]);x.useEffect(()=>{w(o.param)},[o.param,w]);const j=S=>{i({...o,param:S,value:""})};return t.jsxs("div",{className:"cn-rule-row",children:[t.jsxs("select",{className:"cn-rule-row__param",value:o.param,onChange:S=>j(S.target.value),children:[t.jsx("option",{value:"",children:"-- Select --"}),t2.map(S=>t.jsx("option",{value:S.value,children:S.label},S.value))]}),t.jsx("select",{className:"cn-rule-row__operator",value:o.operator,onChange:S=>i({...o,operator:S.target.value}),children:r2.map(S=>t.jsx("option",{value:S.value,children:S.label},S.value))}),t.jsxs("select",{className:"cn-rule-row__value",value:o.value,onChange:S=>i({...o,value:S.target.value}),disabled:m,children:[t.jsx("option",{value:"",children:m?"Loading…":"-- Select --"}),h?p.map(S=>t.jsx("optgroup",{label:S.group,children:S.items.map(L=>t.jsx("option",{value:L.value,children:L.label},L.value))},S.group)):p.map(S=>t.jsx("option",{value:S.value,children:S.label},S.value))]}),t.jsx("button",{type:"button",className:"cn-rule-row__remove",onClick:c,title:"Remove rule",children:"×"})]})}function s2({group:o,groupIndex:i,onChange:c,onRemove:p}){const d=(h,v)=>{const w=[...o];w[h]=v,c(w)},m=h=>{if(o.length===1){p();return}c(o.filter((v,w)=>w!==h))},g=()=>{c([...o,{param:"",operator:"equal",value:""}])};return t.jsxs("div",{className:"cn-rule-group",children:[i>0&&t.jsx("div",{className:"cn-rule-group__or",children:"OR"}),t.jsxs("div",{className:"cn-rule-group__card",children:[o.map((h,v)=>t.jsxs("div",{children:[v>0&&t.jsx("div",{className:"cn-rule-group__and",children:"AND"}),t.jsx(l2,{rule:h,onChange:w=>d(v,w),onRemove:()=>m(v)})]},v)),t.jsx("button",{type:"button",className:"cn-rule-group__add-rule",onClick:g,children:"+ Add rule"})]})]})}function a2({rules:o,onChange:i}){const c=!o||Array.isArray(o)&&o.length===0?[]:Array.isArray(o)?o.map(w=>Array.isArray(w)?w.map(j=>({param:j.param||"",operator:j.operator||"equal",value:j.value||""})):Object.values(w).map(j=>({param:j.param||"",operator:j.operator||"equal",value:j.value||""}))):Object.values(o).map(w=>Object.values(w).map(j=>({param:j.param||"",operator:j.operator||"equal",value:j.value||""}))),[p,d]=x.useState(c),m=w=>{d(w),i(w)},g=(w,j)=>{const S=[...p];S[w]=j,m(S)},h=w=>{m(p.filter((j,S)=>S!==w))},v=()=>{m([...p,[{param:"",operator:"equal",value:""}]])};return t.jsxs("div",{className:"cn-rule-builder",children:[p.length===0&&t.jsx("p",{className:"cn-rule-builder__empty",children:"No rules configured. Add a rule group to control where the banner appears."}),p.map((w,j)=>t.jsx(s2,{group:w,groupIndex:j,onChange:S=>g(j,S),onRemove:()=>h(j)},j)),t.jsx("button",{type:"button",className:"cn-rule-builder__add-group",onClick:v,children:"+ Add rule group"})]})}const gi=[{value:"hour",label:"An hour"},{value:"day",label:"1 day"},{value:"week",label:"1 week"},{value:"month",label:"1 month"},{value:"3months",label:"3 months"},{value:"6months",label:"6 months"},{value:"year",label:"1 year"},{value:"infinity",label:"Infinity"}];function dn({label:o,checked:i,onChange:c,description:p}){const d=`cn-toggle-${o.toLowerCase().replace(/\s+/g,"-")}`;return t.jsxs("div",{className:"cn-toggle-row",children:[t.jsxs("label",{className:"cn-toggle-row__label",htmlFor:d,children:[t.jsx("input",{id:d,type:"checkbox",className:"cn-toggle-row__input",checked:i,onChange:m=>c(m.target.checked)}),t.jsx("span",{className:"cn-toggle-row__text",children:o})]}),p&&t.jsx("div",{className:"cn-toggle-row__desc",children:p})]})}function yr({label:o,name:i,value:c,options:p,onChange:d}){return t.jsxs("div",{className:"cn-radio-group",children:[o&&t.jsx("div",{className:"cn-radio-group__label",children:o}),t.jsx("div",{className:"cn-radio-group__options",children:p.map(m=>t.jsxs("label",{className:"cn-radio-group__option",children:[t.jsx("input",{type:"radio",name:i,value:m.value,checked:c===m.value,onChange:()=>d(m.value)}),t.jsx("span",{children:m.label})]},m.value))})]})}function vi({addNotice:o,options:i,update:c,updateNested:p,save:d,loading:m,saved:g,error:h,onOpenConsentPanel:v}){var k,E,M,A,H,$,V,Z,W,Y;const w=((k=window.cnReactData)==null?void 0:k.wpPages)||[],{isConnected:j}=Ue(),[S,L]=x.useState(!1),[D,T]=x.useState("head"),b=async()=>{var de,_e,ie,J;if(await d()){if(j){const se={};(de=i.colors)!=null&&de.bar&&(se.bannerColor=i.colors.bar),(_e=i.colors)!=null&&_e.text&&(se.textColor=i.colors.text),(ie=i.colors)!=null&&ie.button&&(se.primaryColor=i.colors.button),i.position&&(se.position=i.position),i.hide_effect&&(se.animation=i.hide_effect),((J=i.colors)==null?void 0:J.bar_opacity)!==void 0&&(se.bannerOpacity=(i.colors.bar_opacity??100)/100);const he={};if(i.revoke_cookies!==void 0&&(he.revokeConsent=i.revoke_cookies),i.revoke_cookies_opt&&(he.revokeMethod=i.revoke_cookies_opt),i.on_scroll!==void 0&&(he.onScroll=i.on_scroll),i.on_scroll_offset!==void 0&&(he.onScrollOffset=i.on_scroll_offset),i.on_click!==void 0&&(he.onClick=i.on_click),Object.keys(se).length||Object.keys(he).length){try{await ul(se,he),o&&o("Settings saved and published to your live site.","success")}catch{o&&o("Settings saved locally. Live banner sync failed—your live site was not updated. Please try again.","warning")}return}}o&&o("Settings saved successfully.","success")}};return t.jsxs("div",{className:"cn-plugin-settings",children:[!j&&t.jsxs(t.Fragment,{children:[t.jsxs(_t,{title:"Consent Behavior",defaultOpen:!0,children:[t.jsx(dn,{label:"Enable refuse button",checked:!!i.refuse_opt,onChange:z=>c("refuse_opt",z),description:"Allow visitors to refuse cookie consent"}),i.refuse_opt&&t.jsx(Ne,{label:"Refuse button text",value:i.refuse_text||"",onChange:z=>c("refuse_text",z),placeholder:"No"}),t.jsx(dn,{label:"Enable revoke consent",checked:!!i.revoke_cookies,onChange:z=>c("revoke_cookies",z),description:"Allow visitors to revoke their consent after accepting"}),i.revoke_cookies&&t.jsxs(t.Fragment,{children:[t.jsx(yr,{label:"Revoke method",name:"revoke_cookies_opt",value:i.revoke_cookies_opt||"automatic",options:[{value:"automatic",label:"Automatic"},{value:"manual",label:"Manual"}],onChange:z=>c("revoke_cookies_opt",z)}),t.jsx(Ne,{label:"Revoke button text",value:i.revoke_text||"",onChange:z=>c("revoke_text",z),placeholder:"Revoke consent"}),t.jsx(Ne,{label:"Revoke message",type:"textarea",value:i.revoke_message_text||"",onChange:z=>c("revoke_message_text",z)})]}),t.jsx(dn,{label:"Accept on scroll",checked:!!i.on_scroll,onChange:z=>c("on_scroll",z),description:"Automatically accept consent when the user scrolls"}),i.on_scroll&&t.jsx(Ne,{label:"Scroll distance (px)",type:"number",value:i.on_scroll_offset||100,onChange:z=>c("on_scroll_offset",parseInt(z,10)||0)}),t.jsx(dn,{label:"Accept on click",checked:!!i.on_click,onChange:z=>c("on_click",z),description:"Automatically accept consent on any page click"}),t.jsx(dn,{label:"Reload page on accept",checked:!!i.redirection,onChange:z=>c("redirection",z),description:"Reload the page after the visitor accepts consent"})]}),t.jsxs(_t,{title:"Cookie Expiry",defaultOpen:!0,children:[t.jsx(Ne,{label:"Accepted expiry",type:"select",value:i.time||"month",onChange:z=>c("time",z),options:gi}),t.jsx(Ne,{label:"Rejected expiry",type:"select",value:i.time_rejected||"month",onChange:z=>c("time_rejected",z),options:gi})]})]}),t.jsxs(_t,{title:"Privacy Policy",defaultOpen:!0,children:[t.jsx(dn,{label:"Enable privacy policy link",checked:!!i.see_more,onChange:z=>c("see_more",z)}),i.see_more&&t.jsxs(t.Fragment,{children:[t.jsx(Ne,{label:"Link text",value:((E=i.see_more_opt)==null?void 0:E.text)||"",onChange:z=>p("see_more_opt","text",z),placeholder:"Privacy policy"}),t.jsx(yr,{label:"Link type",name:"see_more_link_type",value:((M=i.see_more_opt)==null?void 0:M.link_type)||"page",options:[{value:"page",label:"Page link"},{value:"custom",label:"Custom link"}],onChange:z=>p("see_more_opt","link_type",z)}),((A=i.see_more_opt)==null?void 0:A.link_type)==="page"&&w.length>0&&t.jsx(Ne,{label:"Select page",type:"select",value:((H=i.see_more_opt)==null?void 0:H.id)||"",onChange:z=>p("see_more_opt","id",parseInt(z,10)||0),options:[{value:"",label:"— Select a page —"},...w.map(z=>({value:String(z.id),label:z.title}))]}),(($=i.see_more_opt)==null?void 0:$.link_type)==="custom"&&t.jsx(Ne,{label:"Custom URL",value:((V=i.see_more_opt)==null?void 0:V.link)||"",onChange:z=>p("see_more_opt","link",z),placeholder:"https://"}),t.jsx(dn,{label:"Sync with WordPress Privacy Page",checked:!!((Z=i.see_more_opt)!=null&&Z.sync),onChange:z=>p("see_more_opt","sync",z)}),t.jsx(yr,{label:"Open link in",name:"link_target",value:i.link_target||"_blank",options:[{value:"_blank",label:"New tab"},{value:"_self",label:"Same tab"}],onChange:z=>c("link_target",z)}),t.jsx(yr,{label:"Link position",name:"link_position",value:i.link_position||"banner",options:[{value:"banner",label:"Banner"},{value:"message",label:"Message"}],onChange:z=>c("link_position",z)})]})]}),t.jsxs(_t,{title:"Custom Scripts",defaultOpen:!0,children:[t.jsxs("div",{className:"cn-pill-toggle",children:[t.jsx("button",{type:"button",className:`cn-pill-toggle__btn${D==="head"?" cn-pill-toggle__btn--active":""}`,onClick:()=>T("head"),children:"Head"}),t.jsx("button",{type:"button",className:`cn-pill-toggle__btn${D==="body"?" cn-pill-toggle__btn--active":""}`,onClick:()=>T("body"),children:"Body"})]}),D==="head"?t.jsxs(t.Fragment,{children:[t.jsx("p",{className:"cn-pill-toggle-desc",children:"Code to be added in your site header, before the closing head tag."}),t.jsx(Ne,{type:"textarea",value:i.refuse_code_head||"",onChange:z=>c("refuse_code_head",z),placeholder:"<!-- e.g. Google Analytics -->",rows:6})]}):t.jsxs(t.Fragment,{children:[t.jsx("p",{className:"cn-pill-toggle-desc",children:"Code to be added in your site footer, before the closing body tag."}),t.jsx(Ne,{type:"textarea",value:i.refuse_code||"",onChange:z=>c("refuse_code",z),placeholder:"<!-- e.g. tracking scripts -->",rows:6})]}),t.jsx("p",{className:"cn-pill-toggle-note",children:"Enter non-functional cookies JavaScript code (e.g. Google Analytics) to be used after the visitor consent is given."})]}),t.jsxs(_t,{title:"Display & Animation",defaultOpen:!0,children:[t.jsxs("div",{className:"cn-form-field",children:[t.jsxs("label",{className:"cn-form-field__label",htmlFor:"cn-bar-opacity",children:["Bar opacity: ",((W=i.colors)==null?void 0:W.bar_opacity)??100,"%"]}),t.jsx("input",{id:"cn-bar-opacity",type:"range",className:"cn-opacity-slider",min:50,max:100,value:((Y=i.colors)==null?void 0:Y.bar_opacity)??100,onChange:z=>p("colors","bar_opacity",parseInt(z.target.value,10))})]}),t.jsx(Ne,{label:"Custom button CSS class",value:i.css_class||"",onChange:z=>c("css_class",z),placeholder:"e.g. my-custom-btn",helper:"Add custom CSS classes to the accept button"})]}),t.jsxs(_t,{title:"Technical Settings",defaultOpen:!0,children:[j&&t.jsxs(t.Fragment,{children:[t.jsx(dn,{label:"Bot detection",checked:!!(i.bot_detection??!0),onChange:z=>c("bot_detection",z),description:"Automatically detect and handle bots/crawlers"}),t.jsx(dn,{label:"AMP support",checked:!!i.amp_support,onChange:z=>c("amp_support",z),description:"Enable AMP-compatible consent notice"}),t.jsx(dn,{label:"Caching compatibility",checked:!!(i.caching_compatibility??!0),onChange:z=>c("caching_compatibility",z),description:"Improve compatibility with caching plugins"}),t.jsx(dn,{label:"Debug mode",checked:!!i.debug_mode,onChange:z=>c("debug_mode",z),description:"Enable debug logging for troubleshooting"}),t.jsx(Ne,{label:"Excluded script handles",type:"textarea",value:Array.isArray(i.excluded_handles)?i.excluded_handles.join(`
|
||
`):i.excluded_handles||"",onChange:z=>c("excluded_handles",z),placeholder:`elementor-frontend
|
||
my-analytics-init`,rows:4,helper:"Enter WordPress script handles to exclude from autoblocking, one per line. These scripts will be marked as Essential (Category 1) and never blocked."})]}),!j&&t.jsx(yr,{label:"Script placement",name:"script_placement",value:i.script_placement||"header",options:[{value:"header",label:"Header"},{value:"footer",label:"Footer"}],onChange:z=>c("script_placement",z)}),t.jsx(dn,{label:"Conditional display",checked:!!i.conditional_active,onChange:z=>c("conditional_active",z),description:"Show or hide the banner on specific pages"}),i.conditional_active&&t.jsxs(t.Fragment,{children:[t.jsx(Ne,{label:"Display rule",type:"select",value:i.conditional_display||"hide",onChange:z=>c("conditional_display",z),options:[{value:"hide",label:"Hide the banner"},{value:"show",label:"Show the banner"}]}),t.jsx(a2,{rules:i.conditional_rules||[],onChange:z=>c("conditional_rules",z)})]}),t.jsx(dn,{label:"Delete data on deactivation",checked:!!i.deactivation_delete,onChange:z=>c("deactivation_delete",z),description:"Remove all plugin data when the plugin is deactivated"}),j&&t.jsxs("div",{className:"cn-purge-cache",children:[t.jsx($e,{variant:"secondary",onClick:async()=>{L(!0);try{await Vu(),o&&o("Cache purged successfully.","success")}catch(z){o&&o(z.message||"Purge failed. Please try again.","error")}finally{L(!1)}},disabled:S,children:S?"Purging…":"Purge Cache"}),t.jsx("p",{className:"cn-purge-cache__desc",children:"Click to refresh the app configuration cache."})]})]}),t.jsxs("div",{className:"cn-plugin-settings__actions",children:[t.jsx($e,{variant:"primary",onClick:b,disabled:m,children:m?"Saving…":j?"Save WordPress Settings":"Save Settings"}),g&&t.jsxs("span",{className:"cn-plugin-settings__saved",children:["✓"," Saved"]}),h&&t.jsx("span",{className:"cn-plugin-settings__error",children:h})]})]})}function o2({onConnect:o}){return t.jsxs(t.Fragment,{children:[t.jsx(In,{title:"Domain Info",children:t.jsxs("div",{className:"cn-dom-rows",children:[t.jsxs("div",{className:"cn-dom-row",children:[t.jsx("span",{className:"cn-dom-row__k",children:"Domain"}),t.jsx("span",{className:"cn-dom-row__v",children:window.location.hostname})]}),t.jsxs("div",{className:"cn-dom-row",children:[t.jsx("span",{className:"cn-dom-row__k",children:"Status"}),t.jsxs("span",{className:"cn-dom-row__v",children:[t.jsx("span",{className:"cn-dot cn-dot--gray"})," Not Connected"]})]})]})}),t.jsxs(In,{title:"Why Connect?",children:[t.jsxs("ul",{className:"cn-benefit-list",children:[t.jsxs("li",{className:"cn-benefit-item",children:[t.jsx("span",{className:"cn-benefit-icon",children:"✓"}),t.jsx("span",{children:"Automated script blocking before visitor consent"})]}),t.jsxs("li",{className:"cn-benefit-item",children:[t.jsx("span",{className:"cn-benefit-icon",children:"✓"}),t.jsx("span",{children:"Cookie categorization across your entire site"})]}),t.jsxs("li",{className:"cn-benefit-item",children:[t.jsx("span",{className:"cn-benefit-icon",children:"✓"}),t.jsx("span",{children:"Consent proof collection for legal audit trails"})]}),t.jsxs("li",{className:"cn-benefit-item",children:[t.jsx("span",{className:"cn-benefit-icon",children:"✓"}),t.jsx("span",{children:"Visitor analytics and consent rate reporting"})]}),t.jsxs("li",{className:"cn-benefit-item",children:[t.jsx("span",{className:"cn-benefit-icon",children:"✓"}),t.jsx("span",{children:"Google Consent Mode v2, Facebook & Microsoft signals"})]})]}),t.jsx("div",{className:"cn-connect-cta",children:t.jsx("button",{className:"cn-button cn-button--primary cn-connect-cta__btn",onClick:o,type:"button",children:"Connect Your Site →"})})]})]})}function i2({addNotice:o,onOpenPricingModal:i}){return t.jsxs(t.Fragment,{children:[t.jsx(dl,{addNotice:o}),t.jsx(ri,{onOpenPricingModal:i})]})}function c2({addNotice:o,onOpenWelcomeModal:i,onTabChange:c,appliedTemplateKey:p,onTemplateApplied:d,onOpenPricingModal:m}){var V,Z;const{isBasic:g}=Ue(),h=Ed(),v=p||"",w=W=>{d&&d(W)},{showBannerWizard:j,bannerClosing:S,bannerScrollTrigger:L,closeBannerWizard:D,showLawWizard:T,lawClosing:b,lawScrollTrigger:k,closeLawWizard:E,showConsentPanel:M,consentClosing:A,consentScrollTrigger:H,closeConsentPanel:$}=mr();return g?t.jsxs(yt,{sidebar:t.jsx(o2,{onConnect:i}),children:[t.jsxs("div",{className:"cn-protection-header",children:[t.jsx("h1",{className:"cn-protection-header__title",children:"Plugin Settings"}),t.jsx("p",{className:"cn-protection-header__subtitle",children:"Connect your site to enable consent management features."})]}),t.jsx(zd,{options:h.options,update:h.update,save:h.save,loading:h.loading,saved:h.saved,error:h.error}),t.jsx(Gd,{options:h.options,update:h.update,updateNested:h.updateNested}),t.jsx(Kd,{onConnect:i}),t.jsx(vi,{addNotice:o,options:h.options,update:h.update,updateNested:h.updateNested,save:h.save,loading:h.loading,saved:h.saved,error:h.error})]}):t.jsxs(yt,{sidebar:t.jsx(i2,{addNotice:o,onOpenPricingModal:m}),children:[t.jsxs("div",{className:"cn-protection-header",children:[t.jsx("h1",{className:"cn-protection-header__title",children:"Settings"}),t.jsx("p",{className:"cn-protection-header__subtitle",children:"Manage your banner template, laws, consent modes, and languages."})]}),t.jsx(ni,{appliedTemplateKey:v,onTemplateApplied:w,siteUrl:((V=window.cnReactData)==null?void 0:V.siteUrl)||"",onOpenTrackers:null,autoblockingEnabled:!!((Z=h.options)!=null&&Z.app_blocking),onTabChange:c}),j&&t.jsx(ii,{onClose:D,onTemplateApplied:W=>{w(W),D()},scrollTrigger:L,isClosing:S,appliedTemplateKey:v}),T&&t.jsx(ci,{onClose:E,onSave:E,scrollTrigger:k,isClosing:b}),M&&t.jsx(di,{isOpen:!0,onClose:$,addNotice:o,onOpenPricingModal:m,onApplied:()=>{},scrollTrigger:H,isClosing:A}),t.jsx(n2,{wpOptions:h.options,update:h.update,save:h.save,onOpenPricingModal:m}),t.jsx(vi,{addNotice:o,options:h.options,update:h.update,updateNested:h.updateNested,save:h.save,loading:h.loading,saved:h.saved,error:h.error})]})}function yi({title:o,action:i,onAction:c}){return t.jsxs("div",{className:"cn-section-header",children:[t.jsx("h2",{children:o}),i&&t.jsx("button",{type:"button",className:"cn-section-header__action",onClick:c,children:i})]})}function u2({onActivate:o}){return t.jsxs("div",{className:"cn-empty-hero",children:[t.jsxs("svg",{className:"cn-empty-hero__icon",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("circle",{cx:"40",cy:"40",r:"40",fill:"#f0faf7"}),t.jsx("rect",{x:"22",y:"16",width:"36",height:"46",rx:"4",fill:"#fff",stroke:"#e0e4e8",strokeWidth:"1.5"}),t.jsx("rect",{x:"29",y:"26",width:"22",height:"2.5",rx:"1.25",fill:"#e0e4e8"}),t.jsx("rect",{x:"29",y:"33",width:"18",height:"2.5",rx:"1.25",fill:"#e0e4e8"}),t.jsx("rect",{x:"29",y:"40",width:"20",height:"2.5",rx:"1.25",fill:"#e0e4e8"}),t.jsx("circle",{cx:"54",cy:"56",r:"14",fill:"#20c19e"}),t.jsx("path",{d:"M54 44.5l-7 3.5v5.25c0 4.594 2.975 8.881 7 9.931 4.025-1.05 7-5.337 7-9.931V48l-7-3.5z",fill:"white",fillOpacity:"0.9"}),t.jsx("path",{d:"M52.1 56.45l-2.1-2.1.96-.96 1.14 1.14 3.06-3.06.96.96-4.02 4.02z",fill:"#20c19e"})]}),t.jsx("div",{className:"cn-empty-hero__heading",children:"No Compliance Records"}),t.jsx("div",{className:"cn-empty-hero__sub",children:"Connect to Cookie Compliance to start collecting consent proofs, audit logs, and compliance evidence."}),t.jsx($e,{variant:"primary",onClick:o,children:"Activate Protection"}),t.jsx("div",{className:"cn-empty-hero__footnote",children:"Connect your site · Free · Takes 60 seconds"})]})}function _i({breakdown:o,loading:i}){const c=o&&o.total>0,p=(o==null?void 0:o.levelLabels)||{},d=p.level3||"Accept",m=p.level2||"Custom",g=p.level1||"Reject",h=c?[{value:o.total.toLocaleString(),label:"Total Consents"},{value:`${o.acceptRate}%`,label:d},{value:`${o.customRate}%`,label:m},{value:`${o.rejectRate}%`,label:g}]:[{value:i?"…":"—",label:"Total Consents"},{value:i?"…":"—",label:d},{value:i?"…":"—",label:m},{value:i?"…":"—",label:g}];return t.jsx("div",{className:"cn-consent-stats",children:h.map(v=>t.jsxs("div",{className:"cn-consent-stat",children:[t.jsx("div",{className:"cn-consent-stat__value",children:v.value}),t.jsx("div",{className:"cn-consent-stat__label",children:v.label})]},v.label))})}function d2({columns:o,rows:i,expandable:c=!1,renderExpanded:p,pageSize:d=20,currentPage:m=1,totalPages:g=1,onPageChange:h,onSort:v,sortColumn:w,sortDirection:j="asc",emptyMessage:S="No data available"}){const[L,D]=x.useState(new Set),T=E=>{c&&D(M=>{const A=new Set(M);return A.has(E)?A.delete(E):A.add(E),A})},b=E=>{if(!E.sortable||!v)return;const M=w===E.key&&j==="asc"?"desc":"asc";v(E.key,M)},k=E=>E.sortable?w!==E.key?t.jsx("span",{className:"cn-data-table__sort",children:t.jsx(Wd,{size:14})}):t.jsx("span",{className:"cn-data-table__sort cn-data-table__sort--active",children:j==="asc"?"↑":"↓"}):null;return t.jsxs("div",{className:"cn-data-table",children:[t.jsxs("table",{className:"cn-data-table__table",children:[t.jsx("thead",{children:t.jsx("tr",{className:"cn-data-table__header",children:o.map(E=>t.jsxs("th",{className:`cn-data-table__th${E.sortable?" cn-data-table__th--sortable":""}`,onClick:()=>b(E),children:[E.label,k(E)]},E.key))})}),t.jsxs("tbody",{children:[(!i||i.length===0)&&t.jsx("tr",{children:t.jsx("td",{className:"cn-data-table__td cn-data-table__empty",colSpan:o.length,children:S})}),i==null?void 0:i.map((E,M)=>t.jsxs(t.Fragment,{children:[t.jsx("tr",{className:`cn-data-table__row${c?" cn-data-table__row--expandable":""}${L.has(M)?" cn-data-table__row--expanded":""}`,onClick:()=>T(M),children:o.map(A=>t.jsx("td",{className:"cn-data-table__td",children:E[A.key]??"—"},A.key))},M),c&&L.has(M)&&p&&t.jsx("tr",{className:"cn-data-table__expanded-row",children:t.jsx("td",{colSpan:o.length,className:"cn-data-table__expanded",children:p(E,M)})},`${M}-expanded`)]}))]})]}),g>1&&t.jsxs("div",{className:"cn-data-table__pagination",children:[t.jsx("button",{type:"button",className:"cn-data-table__page-btn",disabled:m<=1,onClick:()=>h==null?void 0:h(m-1),"aria-label":"Previous page",children:"«"}),t.jsxs("span",{className:"cn-data-table__page-info",children:["Page ",m," of ",g]}),t.jsx("button",{type:"button",className:"cn-data-table__page-btn",disabled:m>=g,onClick:()=>h==null?void 0:h(m+1),"aria-label":"Next page",children:"»"})]})]})}function xi({startDate:o,endDate:i,onChange:c,maxRange:p,disabled:d}){const m=v=>{const w=v.target.value;let j=i;if(p&&j){const S=new Date(w),L=new Date(j);if(Math.ceil((L-S)/(1e3*60*60*24))>p){const T=new Date(S);T.setDate(T.getDate()+p),j=T.toISOString().split("T")[0]}}c==null||c({startDate:w,endDate:j})},g=v=>{const w=v.target.value;let j=o;if(p&&j){const S=new Date(j),L=new Date(w);if(Math.ceil((L-S)/(1e3*60*60*24))>p){const T=new Date(L);T.setDate(T.getDate()-p),j=T.toISOString().split("T")[0]}}c==null||c({startDate:j,endDate:w})},h=new Date().toISOString().split("T")[0];return t.jsxs("div",{className:"cn-date-range",children:[t.jsx("input",{type:"date",className:"cn-form-field__input cn-date-range__input",value:o||"",onChange:m,max:i||h,disabled:d}),t.jsx("span",{className:"cn-date-range__separator",children:"to"}),t.jsx("input",{type:"date",className:"cn-form-field__input cn-date-range__input",value:i||"",onChange:g,min:o||void 0,max:h,disabled:d}),p&&t.jsxs("span",{className:"cn-date-range__limit",children:[p,"-day max"]})]})}const p2={3:"accept",2:"custom",1:"reject"},f2={Essential:"essential",Analytics:"analytics",Marketing:"marketing",Functional:"functional"},h2=[{key:"id",label:"Consent ID",sortable:!0},{key:"level",label:"Consent Level",sortable:!0},{key:"categories",label:"Categories",sortable:!1},{key:"date",label:"Date / Time",sortable:!0},{key:"ip",label:"IP Address",sortable:!1}];function m2(o){return{id:t.jsx("span",{className:"cn-consent-id",children:o.id}),level:t.jsx("span",{className:`cn-level-pill cn-level-pill--${p2[o.levelNum]||"custom"}`,children:o.level}),categories:t.jsx("div",{className:"cn-cat-tags",children:(o.categories||[]).map(i=>t.jsx("span",{className:`cn-cat-tag cn-cat-tag--${f2[i]||"essential"}`,children:i},i))}),date:o.date,ip:t.jsxs("span",{className:"cn-ip-masked",children:[o.ip," ",t.jsx(Hs,{size:14,style:{verticalAlign:"middle"}})]})}}function ji({maxRange:o,onStatsUpdate:i}){const c=new Date().toISOString().split("T")[0],p=new Date(Date.now()-10080*60*1e3).toISOString().split("T")[0],[d,m]=x.useState({startDate:p,endDate:c}),[g,h]=x.useState(1),[v,w]=x.useState("date"),[j,S]=x.useState("desc"),[L,D]=x.useState([]),[T,b]=x.useState(0),[k,E]=x.useState(0),[M,A]=x.useState(!0),[H,$]=x.useState(null),V=x.useRef(""),Z=x.useCallback(async()=>{A(!0),$(null);const z=`${d.startDate}|${d.endDate}`;try{const de=await Mu({page:g,start_date:d.startDate,end_date:d.endDate,sort:v,order:j});D((de.logs||[]).map(m2)),b(de.totalPages||0),E(de.total||0),i&&z!==V.current&&(V.current=z,i(de.consentBreakdown||null))}catch(de){$(de.message||"Failed to load consent logs."),i&&z!==V.current&&(V.current=z,i(null))}finally{A(!1)}},[g,d,v,j]);x.useEffect(()=>{Z()},[Z]);const W=z=>{m(z),h(1)},Y=(z,de)=>{w(z),S(de),h(1)};return t.jsxs("div",{className:"cn-consent-log-table",children:[t.jsxs("div",{className:"cn-consent-log-table__controls",children:[t.jsx(xi,{startDate:d.startDate,endDate:d.endDate,onChange:W,maxRange:o}),k>0&&t.jsxs("span",{className:"cn-consent-log-table__count",children:[k.toLocaleString()," record",k!==1?"s":""]})]}),H&&t.jsx("div",{className:"cn-notice cn-notice--error",children:H}),t.jsx(d2,{columns:h2,rows:L,pageSize:10,currentPage:g,totalPages:T,onPageChange:h,onSort:Y,sortColumn:v,sortDirection:j,loading:M,emptyMessage:"No consent records found for selected date range."})]})}const wi={pass:{icon:t.jsx(hi,{size:16}),cls:"pass"},warn:{icon:t.jsx(mi,{size:16}),cls:"warn"},fail:{icon:"○",cls:"fail"},na:{icon:"–",cls:"na"}};function g2({items:o}){return t.jsx("div",{className:"cn-evidence-panel",children:o.map((i,c)=>{const p=wi[i.status]||wi.na;return t.jsxs("div",{className:"cn-evidence-item",children:[t.jsx("span",{className:`cn-evidence-item__icon cn-evidence-item__icon--${p.cls}`,children:p.icon}),t.jsx("span",{className:"cn-evidence-item__text",children:i.text})]},c)})})}function ki({proLocked:o=!1,onOpenPricingModal:i}){const[c,p]=x.useState("gdpr"),{dashboard:d}=vt(),{config:m}=At(),g=(m==null?void 0:m.blocking)||{},h=g.providers||[],v=h.length>0,w=h.filter(A=>!A.CategoryID).length,j=v&&w===0,S=v&&w>0,L=!!g.gpc_support,D=(d==null?void 0:d.consentCount)??0,T=[{status:"pass",text:"Consent banner active on all pages"},{status:j?"pass":S?"warn":"na",text:j?"Cookie categories clearly defined":S?"Cookie categories — some trackers still uncategorized":"Cookie categories — run a script scan to assess"},{status:"na",text:"Data retention policy — verify in web app"},{status:"na",text:"DPO contact details — verify in web app"}],b=[{status:L?"pass":"warn",text:L?"Do Not Sell / Share signal honored (GPC active)":"Do Not Sell / Share signal — enable GPC in Consent Modes"},{status:"pass",text:"Opt-out mechanism functional"},{status:"na",text:"Privacy policy link in banner — verify in web app"},{status:"na",text:"Consumer rights request handling — verify in web app"}],k=[{status:j?"pass":S?"fail":"na",text:j?"Prior consent obtained before non-essential cookies":S?"Prior consent — uncategorized trackers firing without consent":"Prior consent — run a script scan to assess"},{status:D>0?"pass":"warn",text:D>0?"Consent withdrawal mechanism available and in use":"Consent withdrawal — no consent records yet; verify banner is live"},{status:"na",text:"Cookie lifetime disclosure — verify in web app"},{status:"na",text:"Legitimate interest assessment — verify in web app"}],E=[{key:"gdpr",label:"GDPR",items:T,locked:!1},{key:"ccpa",label:"CCPA",items:b,locked:!1},{key:"eprivacy",label:"ePrivacy",items:k,locked:o}],M=E.find(A=>A.key===c);return t.jsxs("div",{className:"cn-compliance-evidence",children:[t.jsx("nav",{className:"cn-evidence-tabs",children:E.map(A=>t.jsxs("button",{type:"button",className:`cn-evidence-tab${c===A.key?" cn-evidence-tab--active":""}`,onClick:()=>p(A.key),children:[A.label,A.locked&&t.jsx(Fn,{})]},A.key))}),M!=null&&M.locked?t.jsx("div",{className:"cn-evidence-panel cn-evidence-panel--locked",children:t.jsxs("div",{className:"cn-evidence-lock",children:[t.jsx("span",{className:"cn-evidence-lock__icon",children:t.jsx(Hs,{size:24})}),t.jsx("p",{className:"cn-evidence-lock__msg",children:"ePrivacy compliance evidence is available on Pro. Upgrade to unlock."}),t.jsx("button",{type:"button",className:"cn-button cn-button--upgrade",onClick:()=>i&&i(),children:"Upgrade to Pro"})]})}):t.jsx(g2,{items:(M==null?void 0:M.items)||[]})]})}function v2({isPro:o=!1,onOpenPricingModal:i}){const c=new Date().toISOString().split("T")[0],p=new Date(Date.now()-720*60*60*1e3).toISOString().split("T")[0],[d,m]=x.useState({startDate:p,endDate:c}),{exportCsv:g,loading:h,error:v}=Dd(),w=()=>{g==null||g({start_date:d.startDate,end_date:d.endDate})};return o?t.jsxs("div",{className:"cn-export-section",children:[t.jsx("div",{className:"cn-export-section__label",children:"Export Consent Log"}),t.jsx(xi,{startDate:d.startDate,endDate:d.endDate,onChange:m}),t.jsx($e,{variant:"primary",onClick:w,disabled:h,children:h?"Exporting…":"Export CSV"}),v&&t.jsx("div",{className:"cn-export-section__error",children:v})]}):t.jsx(Xo,{requiredTier:"pro",message:"Upgrade to Pro to export consent logs as CSV.",onCta:i,children:t.jsxs("div",{className:"cn-export-section cn-export-section--locked",children:[t.jsx("div",{className:"cn-export-section__label",children:"Export Consent Log"}),t.jsx($e,{variant:"outline",disabled:!0,children:"Export CSV"})]})})}function y2(){const o=[{id:"CID-7F2A9C",level:"Personalized",levelNum:3,date:"2026-02-26 14:37",ip:"192.168.x.x"},{id:"CID-4B1E3D",level:"Balanced",levelNum:2,date:"2026-02-26 13:58",ip:"10.0.x.x"},{id:"CID-9A0F12",level:"Private",levelNum:1,date:"2026-02-26 13:21",ip:"172.16.x.x"},{id:"CID-C3D8E5",level:"Personalized",levelNum:3,date:"2026-02-26 12:04",ip:"192.168.x.x"},{id:"CID-2E6B7A",level:"Balanced",levelNum:2,date:"2026-02-25 22:49",ip:"10.0.x.x"}],i=[{type:"banner",what:"Position changed to Bottom",when:"Feb 25, 14:03"},{type:"setting",what:"GDPR regulation enabled",when:"Feb 23, 09:41"},{type:"scan",what:"3 new scripts detected & categorized",when:"Feb 22, 16:18"},{type:"setting",what:"Google Consent Mode v2 activated",when:"Feb 20, 11:05"}],c={3:"accept",2:"custom",1:"reject"},p={banner:"Banner",setting:"Setting",scan:"Scan"};return t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"cn-blurred-teaser__section",children:[t.jsxs("div",{className:"cn-blurred-teaser__section-header",children:[t.jsx("span",{className:"cn-blurred-teaser__section-title",children:"Cookie Consent Log"}),t.jsx("span",{className:"cn-blurred-teaser__section-meta",children:"3,241 total records — showing 1–5"})]}),t.jsxs("table",{className:"cn-blurred-teaser__table",children:[t.jsx("thead",{children:t.jsxs("tr",{children:[t.jsx("th",{children:"Consent ID"}),t.jsx("th",{children:"Consent Level"}),t.jsx("th",{children:"Date / Time"}),t.jsx("th",{children:"IP Address"})]})}),t.jsx("tbody",{children:o.map(d=>t.jsxs("tr",{children:[t.jsx("td",{children:t.jsx("span",{className:"cn-consent-id",children:d.id})}),t.jsx("td",{children:t.jsx("span",{className:`cn-level-pill cn-level-pill--${c[d.levelNum]}`,children:d.level})}),t.jsx("td",{children:d.date}),t.jsx("td",{children:t.jsx("span",{className:"cn-ip-masked",children:d.ip})})]},d.id))})]})]}),t.jsxs("div",{className:"cn-blurred-teaser__section",children:[t.jsxs("div",{className:"cn-blurred-teaser__section-header",children:[t.jsx("span",{className:"cn-blurred-teaser__section-title",children:"Config Change History"}),t.jsx("span",{className:"cn-blurred-teaser__section-meta",children:"Last 30 days"})]}),t.jsx("div",{className:"cn-blurred-teaser__timeline",children:i.map((d,m)=>t.jsxs("div",{className:"cn-blurred-teaser__tl-row",children:[t.jsx("div",{className:`cn-blurred-teaser__tl-dot cn-blurred-teaser__tl-dot--${d.type}`}),t.jsxs("div",{className:"cn-blurred-teaser__tl-text",children:[t.jsxs("div",{className:"cn-blurred-teaser__tl-what",children:[t.jsx("span",{className:`cn-change-badge cn-change-badge--${d.type}`,children:p[d.type]}),d.what]}),t.jsx("div",{className:"cn-blurred-teaser__tl-when",children:d.when})]})]},m))})]})]})}function _2(){return t.jsxs(t.Fragment,{children:[t.jsx(dl,{showPortalLink:!1}),t.jsx(In,{title:"Why Connect?",children:t.jsx("ul",{className:"cn-benefit-list",children:["Timestamped consent proofs for every visitor interaction","Searchable audit log for GDPR and CCPA regulators","Config change history — who changed what and when","Exportable compliance evidence in one click","Prove compliance if you ever face a regulatory inquiry"].map((o,i)=>t.jsxs("li",{className:"cn-benefit-item",children:[t.jsx("span",{className:"cn-benefit-item__icon",children:t.jsx(hi,{size:16})}),t.jsx("span",{children:o})]},i))})})]})}function Ni({isPro:o,onOpenPricingModal:i,addNotice:c}){return t.jsxs(t.Fragment,{children:[t.jsx(dl,{addNotice:c}),t.jsxs(In,{title:"Data Retention",children:[t.jsxs("div",{className:`cn-retention-info${o?" cn-retention-info--pro":""}`,children:[t.jsxs("span",{className:"cn-retention-info__value",children:[o?"Unlimited":"7-day"," retention"]}),t.jsx("span",{className:"cn-retention-info__label",children:o?"Pro plan":"Free plan"})]}),!o&&t.jsx("p",{className:"cn-retention-info__note",children:"Upgrade to Pro for unlimited history."})]}),t.jsx(In,{title:"Export",children:t.jsx(v2,{isPro:o,onOpenPricingModal:i??void 0})})]})}function x2({addNotice:o,onOpenWelcomeModal:i,onOpenPricingModal:c}){const{isBasic:p,isFree:d}=Ue();if(p)return t.jsxs(yt,{sidebar:t.jsx(_2,{}),children:[t.jsxs("div",{className:"cn-protection-header",children:[t.jsx("h1",{className:"cn-protection-header__title",children:"Audit Trail"}),t.jsx("p",{className:"cn-protection-header__subtitle",children:"Consent logs, compliance evidence, and configuration history."})]}),t.jsx(u2,{onActivate:()=>i&&i()}),t.jsxs("div",{className:"cn-blurred-teaser",children:[t.jsx("div",{className:"cn-blurred-teaser__blur",children:t.jsx(y2,{})}),t.jsxs("div",{className:"cn-blurred-teaser__overlay",children:[t.jsx("span",{className:"cn-blurred-teaser__overlay-icon",children:t.jsx(fi,{size:24})}),t.jsx("div",{className:"cn-blurred-teaser__overlay-label",children:"Full Compliance Audit Trail"}),t.jsx("div",{className:"cn-blurred-teaser__overlay-sub",children:"Consent logs, config timeline, compliance evidence & more"}),t.jsx($e,{variant:"primary",onClick:()=>i&&i(),children:"Activate Protection"})]})]})]});const[m,g]=x.useState(null),[h,v]=x.useState(!0),w=j=>{g(j),v(!1)};return d?t.jsxs(yt,{sidebar:t.jsx(Ni,{isPro:!1,onOpenPricingModal:c,addNotice:o}),children:[t.jsxs("div",{className:"cn-protection-header",children:[t.jsx("h1",{className:"cn-protection-header__title",children:"Audit Trail"}),t.jsx("p",{className:"cn-protection-header__subtitle",children:"Consent logs and compliance evidence for your site."})]}),t.jsx(_i,{breakdown:m,loading:h}),t.jsx(ji,{maxRange:7,onStatsUpdate:w}),t.jsx(yi,{title:"Compliance Evidence"}),t.jsx(ki,{proLocked:!0,onOpenPricingModal:c})]}):t.jsxs(yt,{sidebar:t.jsx(Ni,{isPro:!0,onOpenPricingModal:c,addNotice:o}),children:[t.jsxs("div",{className:"cn-protection-header",children:[t.jsx("h1",{className:"cn-protection-header__title",children:"Audit Trail"}),t.jsx("p",{className:"cn-protection-header__subtitle",children:"Full consent log history, compliance evidence, and configuration timeline."})]}),t.jsx(_i,{breakdown:m,loading:h}),t.jsx(ji,{onStatsUpdate:w}),t.jsx(yi,{title:"Compliance Evidence"}),t.jsx(ki,{proLocked:!1,onOpenPricingModal:c})]})}var j2=$o();const Si={sm:480,md:720,lg:960},Ci='a[href],button:not([disabled]),textarea:not([disabled]),input:not([disabled]),select:not([disabled]),[tabindex]:not([tabindex="-1"])';function bi({isOpen:o,onClose:i,size:c="md",title:p,children:d}){const m=x.useRef(null),g=x.useRef(null),h=x.useCallback(S=>{if(S.key==="Escape"&&i){i();return}if(S.key==="Tab"&&m.current){const L=m.current.querySelectorAll(Ci);if(L.length===0){S.preventDefault();return}const D=L[0],T=L[L.length-1];S.shiftKey&&document.activeElement===D?(S.preventDefault(),T.focus()):!S.shiftKey&&document.activeElement===T&&(S.preventDefault(),D.focus())}},[i]);if(x.useEffect(()=>{let S;return o&&(g.current=document.activeElement,document.addEventListener("keydown",h),document.body.style.overflow="hidden",S=setTimeout(()=>{if(m.current){const L=m.current.querySelector(Ci);L?L.focus():m.current.focus()}},50)),()=>{clearTimeout(S),document.removeEventListener("keydown",h),document.body.style.overflow="",g.current&&typeof g.current.focus=="function"&&(g.current.focus(),g.current=null)}},[o,h]),!o)return null;const v=S=>{S.target===S.currentTarget&&i&&i()},w={position:"fixed",top:0,right:0,bottom:0,left:0,background:"rgba(0,0,0,0.6)",zIndex:1e5,display:"flex",alignItems:"center",justifyContent:"center",padding:"32px"},j=p?"cn-modal-title":void 0;return j2.createPortal(t.jsx("div",{className:"cn-modal-overlay",style:w,onClick:v,children:t.jsxs("div",{ref:m,className:`cn-modal cn-modal--${c}`,style:{maxWidth:Si[c]||Si.md},role:"dialog","aria-modal":"true","aria-labelledby":j,tabIndex:-1,children:[t.jsx("button",{className:"cn-modal__close",onClick:i,type:"button","aria-label":"Close",children:"×"}),p&&t.jsx("div",{className:"cn-modal__header",id:j,children:p}),t.jsx("div",{className:"cn-modal__content",children:d})]})}),document.body)}function w2({steps:o,currentStep:i=0,onStepClick:c}){return t.jsx("div",{className:"cn-step-dots",role:"group","aria-label":"Progress",children:o.map((p,d)=>{const m=d<i,g=d===i,h=typeof p=="string"?p:`Step ${d+1}`;let v="cn-step-dot";return m&&(v+=" cn-step-dot--done"),g&&(v+=" cn-step-dot--active"),t.jsx("div",{className:v,role:"tab","aria-selected":g,"aria-label":`${h}${m?" (completed)":""}`,"aria-current":g?"step":void 0,onClick:m&&c?()=>c(d):void 0,style:m&&c?{cursor:"pointer"}:void 0,tabIndex:m&&c?0:-1},d)})})}function k2({onBannerOnly:o,onProtect:i,onComply:c,onLearnMore:p}){var g;const m=(((g=window.cnReactData)==null?void 0:g.detectedPlugins)||[]).includes("google");return t.jsxs("div",{className:"cn-welcome-step cn-welcome-step--choose",children:[t.jsx("h1",{className:"cn-choose__heading",children:"Choose your protection level"}),m&&t.jsxs("div",{className:"cn-choose__google-notice",children:[t.jsx("strong",{children:"Google tools detected."})," ","Make sure Google Consent Mode is configured during setup."]}),t.jsxs("div",{className:"cn-protection-cards",children:[t.jsxs("div",{className:"cn-protection-card",children:[t.jsx("span",{className:"cn-protection-card__badge cn-protection-card__badge--risk",children:"Banner Only"}),t.jsx("div",{className:"cn-protection-card__icon cn-protection-card__icon--banner",children:t.jsx(Ud,{size:32})}),t.jsx("h4",{className:"cn-protection-card__title",children:"I just want a banner"}),t.jsx("p",{className:"cn-protection-card__subtitle",children:"Display-only notice, no compliance features"}),t.jsx("div",{className:"cn-protection-card__divider"}),t.jsx("div",{className:"cn-protection-card__price-label",children:"Banner Only"}),t.jsx("span",{className:"cn-protection-card__price-note cn-protection-card__price-note--danger",children:"Does not meet GDPR requirements"}),t.jsxs("ul",{className:"cn-protection-card__features",children:[t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--included",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✓"}),"Cookie notice banner"]}),t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--included",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✓"}),"Accept / Reject buttons"]}),t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--included",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✓"}),"Custom colors & text"]}),t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--excluded",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✗"}),"No consent records"]}),t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--excluded",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✗"}),"No script blocking"]})]}),t.jsx("div",{className:"cn-protection-card__footer",children:t.jsx("button",{type:"button",className:"cn-protection-card__btn cn-protection-card__btn--ghost",onClick:o,children:"Just the Banner"})})]}),t.jsxs("div",{className:"cn-protection-card cn-protection-card--recommended",children:[t.jsx("span",{className:"cn-protection-card__badge cn-protection-card__badge--rec",children:"Recommended"}),t.jsx("div",{className:"cn-protection-card__icon cn-protection-card__icon--protect",children:t.jsx(Ad,{size:32})}),t.jsx("h4",{className:"cn-protection-card__title",children:"For small sites"}),t.jsx("p",{className:"cn-protection-card__subtitle",children:"Essential compliance, no credit card required"}),t.jsx("div",{className:"cn-protection-card__divider"}),t.jsx("div",{className:"cn-protection-card__price-label",children:"Sign Up Free"}),t.jsx("span",{className:"cn-protection-card__price-note",children:"Up to 1,000 visits / month"}),t.jsxs("ul",{className:"cn-protection-card__features",children:[t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--included",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✓"}),"Best for sites without ads"]}),t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--included",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✓"}),"Google Consent Mode v2"]}),t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--included",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✓"}),"Global Privacy Control"]}),t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--included",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✓"}),"Tracker blocking"]}),t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--included",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✓"}),"Standard Support"]})]}),t.jsx("div",{className:"cn-protection-card__footer",children:t.jsx("button",{type:"button",className:"cn-protection-card__btn cn-protection-card__btn--primary",onClick:i,children:"Protect My Business"})})]}),t.jsxs("div",{className:"cn-protection-card",children:[t.jsx("span",{className:"cn-protection-card__badge cn-protection-card__badge--max",children:"Full Compliance"}),t.jsx("div",{className:"cn-protection-card__icon cn-protection-card__icon--comply",children:t.jsx(Bd,{size:32})}),t.jsx("h4",{className:"cn-protection-card__title",children:"Ensure full compliance"}),t.jsx("p",{className:"cn-protection-card__subtitle",children:"Full coverage for EU, US & growing businesses"}),t.jsx("div",{className:"cn-protection-card__divider"}),t.jsx("div",{className:"cn-protection-card__price-label",children:"$14.95/mo"}),t.jsx("span",{className:"cn-protection-card__price-note",children:"Unlimited visitors protected"}),t.jsxs("ul",{className:"cn-protection-card__features",children:[t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--included",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✓"}),"Best for sites with analytics"]}),t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--included",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✓"}),"Google, Facebook & Microsoft Consent Modes"]}),t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--included",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✓"}),"Geolocation rules — show right banner by country"]}),t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--included",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✓"}),"Lifetime audit trail & consent records"]}),t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--included",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✓"}),"Advanced autoblocking + script categorization"]}),t.jsxs("li",{className:"cn-protection-card__feature cn-protection-card__feature--included",children:[t.jsx("span",{className:"cn-protection-card__feature-icon",children:"✓"}),"Priority Support"]})]}),t.jsx("div",{className:"cn-protection-card__footer",children:t.jsx("button",{type:"button",className:"cn-protection-card__btn cn-protection-card__btn--secondary",onClick:c,children:"Ensure Full Compliance"})})]})]})]})}const N2=[{domains:1,monthly:14.95,yearly:149.5,perDomain:null,popular:!0},{domains:5,monthly:29.95,yearly:299.5,perDomain:5.99},{domains:10,monthly:49.95,yearly:499.5,perDomain:4.99}];function S2({onSelectPlan:o,onBack:i}){const[c,p]=x.useState("monthly");return t.jsxs("div",{className:"cn-welcome-step cn-welcome-step--pro-pricing",children:[t.jsx("button",{type:"button",className:"cn-pro-pricing__back cn-pro-pricing__back--top",onClick:i,children:"← Back to protection options"}),t.jsxs("div",{className:"cn-pro-pricing__hero",children:[t.jsx("h1",{className:"cn-pro-pricing__heading",children:"Compliance by Hu‑manity.co — Professional"}),t.jsx("p",{className:"cn-pro-pricing__sub",children:"Everything you need to protect your business from privacy regulations worldwide."})]}),t.jsxs("div",{className:"cn-pro-pricing__features-band",children:[t.jsx("span",{className:"cn-pro-pricing__features-label",children:"Everything in Free, plus:"}),t.jsxs("ul",{className:"cn-pro-pricing__features-list",children:[t.jsx("li",{children:"🌍 Geolocation rules — show the right banner by country"}),t.jsx("li",{children:"📊 Google Consent Mode v2 — required for Google Analytics & Ads"}),t.jsx("li",{children:"♾️ Unlimited visits & lifetime consent records"}),t.jsx("li",{children:"🔒 Advanced autoblocking & script categorization"})]})]}),t.jsxs("div",{className:"cn-pill-toggle",style:{margin:"0 auto 24px"},children:[t.jsx("button",{type:"button",className:`cn-pill-toggle__btn${c==="monthly"?" cn-pill-toggle__btn--active":""}`,onClick:()=>p("monthly"),children:"Monthly"}),t.jsxs("button",{type:"button",className:`cn-pill-toggle__btn${c==="yearly"?" cn-pill-toggle__btn--active":""}`,onClick:()=>p("yearly"),children:["Yearly ",t.jsx("span",{className:"cn-pill-toggle__badge",children:"Save 17%"})]})]}),t.jsx("div",{className:"cn-pro-pricing__cards",children:N2.map(d=>t.jsxs("div",{className:`cn-pro-pricing__card${d.popular?" cn-pro-pricing__card--popular":""}`,children:[d.popular&&t.jsx("span",{className:"cn-pro-pricing__card-badge",children:"Most Popular"}),t.jsx("div",{className:"cn-pro-pricing__card-domains",children:d.domains}),t.jsx("span",{className:"cn-pro-pricing__card-domains-label",children:d.domains===1?"Domain":"Domains"}),t.jsxs("div",{className:"cn-pro-pricing__card-price",children:[t.jsx("sup",{children:"$"}),c==="monthly"?d.monthly.toFixed(2):d.yearly.toFixed(2),t.jsxs("sub",{children:["/ ",c==="monthly"?"mo":"yr"]})]}),d.perDomain&&t.jsxs("span",{className:"cn-pro-pricing__card-per-domain",children:["$",d.perDomain.toFixed(2)," per domain"]}),t.jsx("button",{type:"button",className:`cn-pro-pricing__card-btn${d.popular?" cn-pro-pricing__card-btn--primary":""}`,onClick:()=>o(d.domains,c,d[c]),children:"Select Plan"})]},d.domains))}),t.jsx("p",{className:"cn-pro-pricing__guarantee",children:"✓ 30-day money-back guarantee on all plans"}),c==="yearly"&&t.jsx("p",{className:"cn-pro-pricing__billing-note",children:"Billed annually. Cancel anytime."}),t.jsxs("div",{className:"cn-pro-pricing__legal",children:[t.jsx("a",{href:"https://hu-manity.co/terms",target:"_blank",rel:"noreferrer",children:"Terms of Service"})," · ",t.jsx("a",{href:"https://hu-manity.co/privacy",target:"_blank",rel:"noreferrer",children:"Privacy Policy"})]}),t.jsx("div",{className:"cn-pro-pricing__maybe-later",children:t.jsx("button",{type:"button",className:"cn-pro-pricing__maybe-later-btn",onClick:i,children:"Maybe later — stay on free"})})]})}const C2=[{text:t.jsxs(t.Fragment,{children:[t.jsx("strong",{children:"Consent records"})," — no proof if a regulator asks"]})},{text:t.jsxs(t.Fragment,{children:[t.jsx("strong",{children:"Cookie autoblocking"})," — scripts fire before consent"]})},{text:t.jsxs(t.Fragment,{children:[t.jsx("strong",{children:"Audit trail"})," — no evidence if investigated"]})},{text:t.jsxs(t.Fragment,{children:[t.jsx("strong",{children:"Google Consent Mode"})," — EU ads may be flagged"]})}];function b2({onDismissToSettings:o,onBackToChoose:i}){const[c,p]=x.useState(!1);return t.jsx("div",{className:"cn-welcome-step cn-welcome-step--warning",children:t.jsxs("div",{className:"cn-warning-modal",children:[t.jsx("div",{className:"cn-warning-modal__icon",children:t.jsx(mi,{size:32})}),t.jsx("h3",{className:"cn-warning-modal__heading",children:"Are you sure?"}),t.jsxs("p",{className:"cn-warning-modal__text",children:["Without Cookie Compliance, ",t.jsx("strong",{children:"all liability falls on you."})]}),t.jsxs("div",{className:"cn-warning-modal__consequences",children:[t.jsx("h5",{children:"You won’t have:"}),t.jsx("ul",{children:C2.map((d,m)=>t.jsxs("li",{children:[t.jsx("span",{className:"cn-warning-modal__consequence-icon",children:"❌"}),t.jsx("span",{children:d.text})]},m))})]}),t.jsxs("label",{className:"cn-warning-modal__checkbox",children:[t.jsx("input",{type:"checkbox",checked:c,onChange:d=>p(d.target.checked)}),t.jsxs("span",{children:["I understand ",t.jsx("strong",{children:"all liability falls on me and my business."})]})]}),t.jsxs("div",{className:"cn-warning-modal__actions",children:[t.jsx("button",{type:"button",className:"cn-warning-modal__btn cn-warning-modal__btn--danger",disabled:!c,onClick:o,children:"Don’t protect my business"}),t.jsx("button",{type:"button",className:"cn-warning-modal__btn cn-warning-modal__btn--safe",onClick:i,children:"Protect my business →"})]})]})})}const Li=/^(?=.*[A-Z])(?=.*\d)[\w !"#$%&'()*+,\-./:;<=>?@[\]^\x60{|}~\\]{8,}$/;function L2({onComplete:o,onCompleteWithSubscriptions:i}){const[c,p]=x.useState("register"),[d,m]=x.useState(""),[g,h]=x.useState(""),[v,w]=x.useState(""),[j,S]=x.useState(!1),[L,D]=x.useState(!1),[T,b]=x.useState(null),k=window.cnReactData||{},E=H=>{p(H),b(null)},M=()=>{if(!d)return"Email is required.";if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d))return"Please enter a valid email address.";if(c==="register"){if(!g)return"Password is required.";if(!Li.test(g))return"Password must be 8+ characters with at least 1 capital letter and 1 number.";if(g!==v)return"Passwords do not match.";if(!j)return"Please accept the Terms of Service to continue."}else if(!g)return"Password is required.";return null},A=async H=>{H.preventDefault(),b(null);const $=M();if($){b($);return}D(!0);try{const V=c==="register"?k.registerNonce||"":k.loginNonce||"",W=await Mn(c,c==="register"?{email:d,pass:g,pass2:v,terms:"1",language:"en"}:{email:d,pass:g},V);if(W===!0||W===1)o();else if(W&&W.error)b(W.error);else if(W!=null&&W.app_has_subscription)o();else{const Y=Array.isArray(W==null?void 0:W.subscriptions)?W.subscriptions.filter(z=>parseInt(z.availablelicense,10)>0).sort((z,de)=>parseInt(de.availablelicense,10)-parseInt(z.availablelicense,10)):[];Y.length>0&&i?i(Y,W.fresh_nonce||""):o()}}catch(V){b(V.message||"Something went wrong. Please try again.")}finally{D(!1)}};return t.jsxs("div",{className:"cn-welcome-step cn-welcome-step--account",children:[t.jsx("h2",{className:"cn-account-heading",children:c==="register"?"Create your account":"Welcome back"}),t.jsx("p",{className:"cn-account-subtitle",children:c==="register"?"Takes 30 seconds. No credit card required.":"Log in to connect your existing Cookie Compliance account."}),t.jsxs("div",{className:"cn-pill-toggle",style:{minWidth:280,alignSelf:"center",marginBottom:24},children:[t.jsx("button",{type:"button",className:"cn-pill-toggle__btn"+(c==="register"?" cn-pill-toggle__btn--active":""),onClick:()=>E("register"),children:"Create Account"}),t.jsx("button",{type:"button",className:"cn-pill-toggle__btn"+(c==="login"?" cn-pill-toggle__btn--active":""),onClick:()=>E("login"),children:"Sign In"})]}),T==="email_exists"&&c==="register"?t.jsxs("div",{className:"cn-auth-form__error",children:["An account with this email already exists."," ",t.jsx("button",{type:"button",className:"cn-auth-form__switch-link",onClick:()=>{const H=d;E("login"),m(H)},children:"Sign in instead →"})]}):T?t.jsx("div",{className:"cn-auth-form__error",children:T}):null,c==="register"?t.jsxs(t.Fragment,{children:[t.jsxs("form",{className:"cn-auth-form",onSubmit:A,children:[t.jsx(Ne,{label:"Email address",type:"email",value:d,onChange:m,placeholder:"you@company.com",autoComplete:"email"}),t.jsx(Ne,{label:"Password",type:"password",value:g,onChange:h,placeholder:"Min. 8 characters, 1 capital, 1 number",autoComplete:"new-password"}),g&&!Li.test(g)&&t.jsx("p",{className:"cn-auth-form__field-hint",children:"Min. 8 characters, at least 1 capital letter and 1 number"}),t.jsx(Ne,{label:"Confirm Password",type:"password",value:v,onChange:w,placeholder:"Confirm password",autoComplete:"new-password"}),t.jsxs("label",{className:"cn-auth-form__terms",children:[t.jsx("input",{type:"checkbox",checked:j,onChange:H=>S(H.target.checked),required:!0})," ","I have read and agree to the"," ",t.jsx("a",{href:"https://hu-manity.co/terms",target:"_blank",rel:"noreferrer",children:"Terms of Service"})]}),t.jsx("div",{className:"cn-auth-form__actions",children:t.jsx("button",{type:"submit",className:"cn-button cn-button--primary cn-button--block",disabled:L||!j,children:L?"Creating account…":"Create Account"})})]}),t.jsx("div",{className:"cn-auth-or",children:t.jsx("span",{children:"OR"})}),t.jsxs("div",{className:"cn-auth-signin-teaser",children:[t.jsx("p",{className:"cn-auth-signin-teaser__heading",children:"Already have an account?"}),t.jsx("button",{type:"button",className:"cn-button cn-button--outline-primary",onClick:()=>E("login"),children:"Sign In"})]})]}):t.jsxs("form",{className:"cn-auth-form",onSubmit:A,autoComplete:"off",children:[t.jsxs("div",{"aria-hidden":"true",style:{position:"absolute",left:"-9999px",width:"1px",height:"1px",overflow:"hidden"},children:[t.jsx("input",{type:"text",name:"username",autoComplete:"username",tabIndex:-1,defaultValue:""}),t.jsx("input",{type:"password",name:"password",autoComplete:"current-password",tabIndex:-1,defaultValue:""})]}),t.jsx(Ne,{label:"Email address",type:"email",name:"cn-account-email",value:d,onChange:m,placeholder:"you@company.com",autoComplete:"username",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1}),t.jsx(Ne,{label:"Password",type:"password",name:"cn-account-password",value:g,onChange:h,placeholder:"Your password",autoComplete:"new-password"}),t.jsx("div",{className:"cn-auth-form__forgot",children:t.jsx("a",{href:`${Qe}/forgot`,target:"_blank",rel:"noreferrer",children:"Forgot password?"})}),t.jsx("div",{className:"cn-auth-form__actions",children:t.jsx("button",{type:"submit",className:"cn-button cn-button--primary cn-button--block",disabled:L,children:L?"Logging in…":"Sign In"})})]})]})}async function P2({plan:o,paymentNonce:i,method:c,identifier:p}){const d=window.cnReactData||{},m=new FormData;m.append("action","cn_api_request"),m.append("nonce",d.welcomeNonce||""),m.append("request","payment"),m.append("cn_payment_nonce",d.paymentNonce||""),m.append("plan",o),m.append("payment_nonce",i),m.append("method",c),m.append("cn_payment_identifier",p||""),d.network&&m.append("cn_network","1");const g=await fetch(d.ajaxURL||"/wp-admin/admin-ajax.php",{method:"POST",credentials:"same-origin",body:m});if(!g.ok)throw new Error(`Payment request failed: ${g.status}`);return g.json()}const Pi="https://js.braintreegateway.com/web/3.71.0/js";function Ei(o){return new Promise((i,c)=>{if(document.querySelector(`script[src="${o}"]`)){i();return}const p=document.createElement("script");p.src=o,p.async=!0,p.onload=i,p.onerror=()=>c(new Error(`Failed to load: ${o}`)),document.head.appendChild(p)})}function Di({plan:o,onComplete:i,onBack:c=null,backLabel:p="Back"}){const[d,m]=x.useState("loading"),[g,h]=x.useState(null),[v,w]=x.useState(""),[j,S]=x.useState(!1),L=x.useRef(null);x.useEffect(()=>{let k=!1;async function E(){var $,V,Z,W;const M=["localhost","127.0.0.1"].includes(window.location.hostname);if(window.location.protocol!=="https:"&&!M){h("Secure payment requires HTTPS. Please contact your host."),m("error");return}try{await Ei(`${Pi}/client.min.js`),await Ei(`${Pi}/hosted-fields.min.js`)}catch{k||(h("Payment currently unavailable. Please try again later."),m("error"));return}if(typeof((V=($=window.braintree)==null?void 0:$.client)==null?void 0:V.create)!="function"||typeof((W=(Z=window.braintree)==null?void 0:Z.hostedFields)==null?void 0:W.create)!="function"){k||(h("Payment currently unavailable. Please try again later."),m("error"));return}let A;try{const Y=await Mn("get_bt_init_token");A=Y==null?void 0:Y.token}catch{A=null}if(!A){k||(h("Unable to initialize payment. Please refresh and try again."),m("error"));return}let H;try{H=await window.braintree.client.create({authorization:A})}catch{k||(h("Unable to initialize payment. Please refresh and try again."),m("error"));return}try{const Y=await window.braintree.hostedFields.create({client:H,styles:{input:{"font-size":"14px","font-family":"Lato, sans-serif",color:"#434f58"},"input.invalid":{color:"#e74c3c"},"input.valid":{color:"#434f58"}},fields:{number:{container:"#cn_card_number",placeholder:"•••• •••• •••• ••••"},expirationDate:{container:"#cn_expiration_date",placeholder:"MM / YY"},cvv:{container:"#cn_cvv",placeholder:"CVV"}}});if(k){Y.teardown();return}L.current=Y,Y.on("validityChange",()=>{const z=Y.getState(),de=Object.values(z.fields).every(_e=>_e.isValid);S(de)}),m("ready")}catch{k||(h("Unable to initialize payment. Please refresh and try again."),m("error"))}}return E(),()=>{k=!0,L.current&&(L.current.teardown(),L.current=null)}},[]);const D=async k=>{var E;if(k.preventDefault(),!(!L.current||d==="submitting")){m("submitting"),h(null);try{const M=await L.current.tokenize(),A=M.nonce,H=((E=M.details)==null?void 0:E.lastFour)||"",$=await P2({plan:o.planKey,paymentNonce:A,method:"credit_card",identifier:H});if($&&typeof $=="string"&&$.length>0)i();else{const V=($==null?void 0:$.error)||($==null?void 0:$.message)||"Payment failed. Please try again.";h(V),m("ready")}}catch(M){h(M.message||"Card error. Please check your details and try again."),m("ready")}}},T=(o==null?void 0:o.billing)==="yearly"?"Yearly":"Monthly",b=o?`${o.domains} Domain${o.domains>1?"s":""} — $${o.price.toFixed(2)} / ${T}`:"";return t.jsxs("div",{className:"cn-welcome-step cn-payment-step",children:[t.jsx("h2",{className:"cn-payment-step__heading",children:"Complete Your Order"}),o&&t.jsx("div",{className:"cn-payment-step__plan-pill",children:b}),g&&t.jsx("div",{className:"cn-payment-step__error",role:"alert",children:g}),d==="loading"&&!g&&t.jsx("p",{className:"cn-payment-step__loading",children:"Initializing secure payment form…"}),t.jsxs("form",{className:"cn-payment-step__form",onSubmit:D,style:{display:d==="loading"||d==="error"?"none":"block"},children:[t.jsxs("div",{className:"cn-payment-step__field",children:[t.jsx("label",{className:"cn-payment-step__label",htmlFor:"cn_card_name",children:"Cardholder Name"}),t.jsx("input",{id:"cn_card_name",type:"text",className:"cn-payment-step__input",value:v,onChange:k=>w(k.target.value),placeholder:"Name on card",autoComplete:"cc-name"})]}),t.jsxs("div",{className:"cn-payment-step__field",children:[t.jsx("label",{className:"cn-payment-step__label",children:"Card Number"}),t.jsx("div",{id:"cn_card_number",className:"cn-payment-step__hosted-field"})]}),t.jsxs("div",{className:"cn-payment-step__row",children:[t.jsxs("div",{className:"cn-payment-step__field",children:[t.jsx("label",{className:"cn-payment-step__label",children:"Expiry"}),t.jsx("div",{id:"cn_expiration_date",className:"cn-payment-step__hosted-field"})]}),t.jsxs("div",{className:"cn-payment-step__field",children:[t.jsx("label",{className:"cn-payment-step__label",children:"CVV"}),t.jsx("div",{id:"cn_cvv",className:"cn-payment-step__hosted-field"})]})]}),t.jsx("div",{className:"cn-payment-step__braintree-badge",children:"🔒 Secured by Braintree"}),t.jsx("button",{type:"submit",className:"cn-button cn-button--primary cn-button--block cn-payment-step__submit",disabled:d==="submitting"||!j||!v.trim(),children:d==="submitting"?"Processing…":"Complete Purchase"}),c&&t.jsx("button",{type:"button",className:"cn-button cn-button--outline-primary cn-button--block cn-payment-step__back",onClick:c,children:p}),t.jsx("p",{className:"cn-payment-step__guarantee",children:"🛡️ 30-day money-back guarantee"}),t.jsxs("p",{className:"cn-payment-step__legal",children:["By completing your purchase you agree to our",t.jsx("a",{href:"https://hu-manity.co/terms",target:"_blank",rel:"noopener noreferrer",className:"cn-link",children:"Terms of Service"}),"and",t.jsx("a",{href:"https://cookie-compliance.co/privacy-policy/",target:"_blank",rel:"noopener noreferrer",className:"cn-link",children:"Privacy Policy"}),"."]})]}),c&&(d==="loading"||d==="error")&&t.jsx("button",{type:"button",className:"cn-button cn-button--outline-primary cn-button--block cn-payment-step__back cn-payment-step__back--standalone",onClick:c,children:p})]})}function E2({subscriptions:o,selectedPlan:i,nonce:c,onSuccess:p,onPayInstead:d,onFreeInstead:m}){var b;const[g,h]=x.useState(((b=o[0])==null?void 0:b.subscriptionid)??null),[v,w]=x.useState(!1),[j,S]=x.useState(!1),[L,D]=x.useState(null);o.reduce((k,E)=>k+parseInt(E.availablelicense,10),0);const T=async()=>{if(!(!g||v||j)){w(!0),D(null);try{const k=await Mn("use_license",{subscriptionID:g},"",c);if(k&&k.error)D(k.error),w(!1);else{S(!0);const E=o.find(A=>A.subscriptionid===g),M=E?Math.max(0,parseInt(E.availablelicense,10)-1):null;p(M)}}catch(k){D(k.message||"Something went wrong. Please try again."),w(!1)}}};return i?t.jsxs("div",{className:"cn-welcome-step cn-license-select",children:[t.jsx("h2",{className:"cn-license-select__heading",children:"You have unused Pro licenses — do you want to use one for this domain?"}),t.jsx("p",{className:"cn-license-select__sub",children:"Your existing plan covers this site. We’ll connect it now — no payment needed."}),o.length===1?t.jsxs("div",{className:"cn-license-select__single-card",children:[t.jsx("span",{className:"cn-license-select__card-name",children:"Compliance Pro"}),t.jsxs("span",{className:"cn-license-select__card-slots",children:[parseInt(o[0].availablelicense,10)," ","domain",parseInt(o[0].availablelicense,10)!==1?"s":""," remaining"]})]}):t.jsxs(t.Fragment,{children:[t.jsx("p",{className:"cn-license-select__choose-label",children:"You have multiple plans with available sites. Choose one to connect this site to:"}),t.jsx("div",{className:"cn-license-select__cards",role:"radiogroup",children:o.map(k=>{const E=parseInt(k.availablelicense,10);return t.jsxs("label",{className:"cn-license-select__card"+(g===k.subscriptionid?" cn-license-select__card--selected":""),children:[t.jsx("input",{type:"radio",name:"cn_subscription",value:k.subscriptionid,checked:g===k.subscriptionid,onChange:()=>h(k.subscriptionid),className:"cn-license-select__radio"}),t.jsxs("div",{className:"cn-license-select__card-body",children:[t.jsx("span",{className:"cn-license-select__card-name",children:"Compliance Pro"}),t.jsxs("span",{className:"cn-license-select__card-slots",children:[E," domain",E!==1?"s":""," remaining"]})]})]},k.subscriptionid)})})]}),L&&t.jsx("div",{className:"cn-license-select__error",role:"alert",children:L}),t.jsx("div",{className:"cn-license-select__actions",children:t.jsx("button",{type:"button",className:"cn-button cn-button--primary cn-button--block",onClick:T,disabled:v||j||!g,children:v?"Connecting…":o.length>1?"Connect This Site to Selected Plan":"Connect This Site"})}),d&&t.jsx("button",{type:"button",className:"cn-license-select__free-link",onClick:d,children:"Need a different plan? Purchase a new subscription instead"})]}):t.jsxs("div",{className:"cn-welcome-step cn-license-select cn-license-select--upsell",children:[t.jsx("div",{className:"cn-license-select__upsell-icon",children:"✅"}),t.jsx("h2",{className:"cn-license-select__heading",children:"Good news — your account already has a Pro plan with available slots. Activate it here, free."}),t.jsx("p",{className:"cn-license-select__sub",children:"You have unused Pro license slots available. Connect this site to your existing plan at no extra cost — or continue with the free version."}),o.length>1&&t.jsx("div",{className:"cn-license-select__cards",role:"radiogroup",children:o.map(k=>{const E=parseInt(k.availablelicense,10);return t.jsxs("label",{className:"cn-license-select__card"+(g===k.subscriptionid?" cn-license-select__card--selected":""),children:[t.jsx("input",{type:"radio",name:"cn_subscription",value:k.subscriptionid,checked:g===k.subscriptionid,onChange:()=>h(k.subscriptionid),className:"cn-license-select__radio"}),t.jsxs("div",{className:"cn-license-select__card-body",children:[t.jsx("span",{className:"cn-license-select__card-name",children:"Compliance Pro"}),t.jsxs("span",{className:"cn-license-select__card-slots",children:[E," domain",E!==1?"s":""," remaining"]})]})]},k.subscriptionid)})}),L&&t.jsx("div",{className:"cn-license-select__error",role:"alert",children:L}),t.jsx("div",{className:"cn-license-select__actions",children:t.jsx("button",{type:"button",className:"cn-button cn-button--primary cn-button--block",onClick:T,disabled:v||j||!g,children:v?"Activating…":"Upgrade to Pro — No Extra Charge"})}),t.jsx("button",{type:"button",className:"cn-license-select__free-link",onClick:m,children:"Continue with free version instead"})]})}const D2=[{label:"Choose Protection"},{label:"Confirm"},{label:"Create Account"}];function Ti(o){return o==="choose"||o==="pro-pricing"?0:o==="warning"?1:2}const T2=(o,i)=>"compliance_"+i+"_"+(o===1?"notrial":String(o));function R2({isOpen:o,onClose:i,onDismissToSettings:c}){const[p,d]=x.useState("choose"),[m,g]=x.useState(null),[h,v]=x.useState([]),[w,j]=x.useState(""),S=()=>{d("choose"),g(null),v([]),j(""),c?c():i&&i()},L=()=>{m?d("payment"):window.location.reload()},D=(k,E)=>{v(k),j(E),d("license-select")},T=k=>{const E=Ti(p);k<E&&k===0&&d("choose")},b=()=>{switch(p){case"choose":return t.jsx(k2,{onBannerOnly:()=>d("warning"),onProtect:()=>d("account"),onComply:()=>d("pro-pricing"),onLearnMore:()=>d("pro-pricing")});case"pro-pricing":return t.jsx(S2,{onSelectPlan:(k,E,M)=>{g({planKey:T2(k,E),domains:k,billing:E,price:M}),d("account")},onBack:()=>{g(null),d("choose")}});case"warning":return t.jsx(b2,{onDismissToSettings:S,onBackToChoose:()=>d("choose")});case"account":return t.jsx(L2,{onComplete:L,onCompleteWithSubscriptions:D});case"license-select":return t.jsx(E2,{subscriptions:h,selectedPlan:m,nonce:w,onSuccess:k=>{const E=new URL(window.location.href);E.searchParams.set("license_assigned","1"),k!=null&&E.searchParams.set("slots_remaining",String(k)),window.location.href=E.toString()},onPayInstead:m?()=>d("payment"):null,onFreeInstead:()=>window.location.reload()});case"payment":return t.jsx(Di,{plan:m,onComplete:()=>window.location.reload(),onBack:()=>d("account"),backLabel:"Back"});default:return null}};return t.jsxs(bi,{isOpen:o,onClose:S,size:"lg",children:[b(),t.jsx(w2,{steps:D2,currentStep:Ti(p),onStepClick:T})]})}const z2=[{icon:t.jsx(Hs,{size:24}),title:"Autoblocking",desc:"Scripts wait for visitor consent before firing."},{icon:t.jsx(Md,{size:24}),title:"Geographic Enforcement",desc:"Apply different rules by visitor location."},{icon:t.jsx(fi,{size:24}),title:"Consent Proofs",desc:"Exportable audit trail for every consent event."},{icon:t.jsx(Od,{size:24}),title:"Priority Support",desc:"Fast, expert help when you need it."},{icon:t.jsx(Id,{size:24}),title:"Advanced Analytics",desc:"Consent rates, geography, and trend data."},{icon:t.jsx(Fd,{size:24}),title:"Script Wizard",desc:"Register and manage third-party scripts easily."}],A2=[{domains:1,monthly:14.95,yearly:149.5,perDomain:null},{domains:5,monthly:29.95,yearly:299.5,perDomain:5.99,popular:!0,tagline:"Best for dev + staging + production"},{domains:10,monthly:49.95,yearly:499.5,perDomain:4.99,tagline:"For agencies & multi-site networks"}],M2=(o,i)=>"compliance_"+i+"_"+(o===1?"notrial":String(o));function I2({isOpen:o,onClose:i}){const[c,p]=x.useState("monthly"),[d,m]=x.useState(null),{isFree:g}=Ue(),h=()=>{m(null),i()};return t.jsx(bi,{isOpen:o,onClose:h,size:"lg",children:d?t.jsx("div",{className:"cn-welcome-step",children:t.jsx(Di,{plan:d,onComplete:()=>window.location.reload(),onBack:()=>m(null),backLabel:"Back to plans"})}):t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"cn-pricing-hero",children:[t.jsx("h2",{className:"cn-pricing-hero__heading",children:"Compliance by Hu‑manity.co — Professional"}),t.jsx("p",{className:"cn-pricing-hero__sub",children:"Everything you need to stay compliant, protect your visitors, and prove it."})]}),t.jsx("div",{className:"cn-benefit-grid",children:z2.map((v,w)=>t.jsxs("div",{className:"cn-benefit-card",children:[t.jsx("div",{className:"cn-benefit-card__icon",children:v.icon}),t.jsx("div",{className:"cn-benefit-card__title",children:v.title}),t.jsx("div",{className:"cn-benefit-card__desc",children:v.desc})]},w))}),t.jsxs("div",{className:"cn-pill-toggle",style:{margin:"0 auto 20px"},children:[t.jsx("button",{className:`cn-pill-toggle__btn${c==="monthly"?" cn-pill-toggle__btn--active":""}`,type:"button",onClick:()=>p("monthly"),children:"Monthly"}),t.jsxs("button",{className:`cn-pill-toggle__btn${c==="yearly"?" cn-pill-toggle__btn--active":""}`,type:"button",onClick:()=>p("yearly"),children:["Yearly",t.jsx("span",{className:"cn-pill-toggle__badge",children:"Save 17%"})]})]}),t.jsx("div",{className:"cn-pricing-cards",children:A2.map(v=>t.jsxs("div",{className:`cn-pricing-card${v.popular?" cn-pricing-card--popular":""}`,children:[v.popular&&t.jsx("div",{className:"cn-pricing-card__popular-badge",children:"Most Popular"}),t.jsx("div",{className:"cn-pricing-card__domains",children:v.domains}),t.jsx("div",{className:"cn-pricing-card__domains-label",children:v.domains===1?"domain":"domains"}),v.tagline&&t.jsx("div",{className:"cn-pricing-card__tagline",children:v.tagline}),t.jsxs("div",{className:"cn-pricing-card__price",children:[t.jsx("sup",{children:"$"}),c==="monthly"?v.monthly.toFixed(2):(v.yearly/12).toFixed(2),t.jsx("sub",{children:" / mo"})]}),t.jsxs("div",{className:"cn-pricing-card__billed-note",style:c==="monthly"?{visibility:"hidden"}:void 0,children:["$",v.yearly.toFixed(2)," billed annually"]}),t.jsx($e,{variant:v.popular?"primary":"outline",size:"md",style:{width:"100%"},onClick:()=>{if(g)m({planKey:M2(v.domains,c),domains:v.domains,billing:c,price:c==="monthly"?v.monthly:v.yearly});else{const w=window.cnReactData&&window.cnReactData.uiMode==="react";window.location.href=w?"?page=cookie-notice&cn_react_welcome=1":"?page=cookie-notice&welcome=1"}},children:g?"Select Plan":"Get Started"})]},v.domains))}),t.jsx("p",{className:"cn-pricing-footer__learn-more",children:t.jsx("a",{href:"https://cookie-compliance.co/pricing/",target:"_blank",rel:"noopener noreferrer",className:"cn-link",children:"Learn more about Pro plans →"})}),t.jsx("p",{className:"cn-pricing-footer__dismiss",children:t.jsx("button",{type:"button",className:"cn-link-btn",onClick:h,children:"Maybe later — stay on Free"})})]})})}function F2(){const o=!!(window.cnReactData||{}).devMode,{tier:i}=Ue(),c=new URLSearchParams(window.location.search),p=c.get("cn_tier")||i,d=parseInt(c.get("cn_usage")||"0",10),m=(window.cnReactData||{}).uiMode||"legacy",[g,h]=x.useState(d),[v,w]=x.useState(!1);if(!o)return null;function j(){window.confirm(`⚠️ Reset plugin to fresh-activation state?
|
||
|
||
This clears: welcome flag, setup wizard flag, app_id, app_key, and subscription status.`)&&(w(!0),Wu().then(()=>{const b=new URL(window.location.href);b.searchParams.delete("cn_tier"),b.searchParams.delete("cn_usage"),window.location.href=b.toString()}).catch(b=>{alert("Reset failed: "+(b.message||"Unknown error")),w(!1)}))}function S(b,k=null){const E=new URLSearchParams(window.location.search);E.set("cn_tier",b),b==="free"&&k!==null?E.set("cn_usage",k):E.delete("cn_usage"),window.location.search=E.toString()}function L(b){const k=new URLSearchParams(window.location.search);k.set("ui_mode",b),b==="legacy"&&(k.delete("cn_tier"),k.delete("cn_usage")),window.location.search=k.toString()}const D=[{id:"basic",label:"Basic"},{id:"free",label:"Free"},{id:"pro",label:"Pro"}],T=[{id:"react",label:"React"},{id:"legacy",label:"Legacy"}];return t.jsxs("div",{className:"cn-dev-switcher",children:[t.jsxs("div",{className:"cn-dev-switcher__header",children:[t.jsx("span",{className:"cn-dev-switcher__icon",children:"🛠"}),t.jsx("span",{className:"cn-dev-switcher__title",children:"DEV MODE"})]}),t.jsx("div",{className:"cn-dev-switcher__label",children:"Account type"}),t.jsx("div",{className:"cn-dev-switcher__buttons",children:D.map(b=>t.jsx("button",{className:"cn-dev-switcher__btn"+(p===b.id?" cn-dev-switcher__btn--active":""),onClick:()=>S(b.id,b.id==="free"?g:null),children:b.label},b.id))}),t.jsx("div",{className:"cn-dev-switcher__label",children:"Admin UI"}),t.jsx("div",{className:"cn-dev-switcher__buttons",children:T.map(b=>t.jsx("button",{className:"cn-dev-switcher__btn"+(m===b.id?" cn-dev-switcher__btn--active":""),onClick:()=>L(b.id),children:b.label},b.id))}),p==="free"&&t.jsxs("div",{className:"cn-dev-switcher__usage",children:[t.jsxs("div",{className:"cn-dev-switcher__usage-row",children:[t.jsx("span",{className:"cn-dev-switcher__usage-label",children:"Usage"}),t.jsxs("span",{className:"cn-dev-switcher__usage-val",children:[g,"%"]})]}),t.jsx("input",{type:"range",min:"0",max:"100",value:g,className:"cn-dev-switcher__slider",onChange:b=>h(Number(b.target.value)),onMouseUp:b=>{b.stopPropagation(),S("free",g)},onTouchEnd:b=>{b.stopPropagation(),S("free",g)}})]}),t.jsx("div",{className:"cn-dev-switcher__divider"}),t.jsx("button",{className:"cn-dev-switcher__reset-btn",onClick:j,disabled:v,title:"Clears welcome flag, setup wizard, app connection & subscription status",children:v?"↺ Resetting…":"↺ Reset Plugin"})]})}class B2 extends x.Component{constructor(i){super(i),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(i,c){console.error("ErrorBoundary caught:",i,c)}render(){return this.state.hasError?t.jsxs("div",{className:"cn-error-boundary",children:[t.jsx("p",{className:"cn-error-boundary__message",children:"Something went wrong while loading this section."}),t.jsx("button",{type:"button",className:"button button-primary",onClick:()=>window.location.reload(),children:"Reload page"})]}):this.props.children}}function O2({onOpenPricingModal:o}){const{topBar:i,dismiss:c}=ti();if(i===null)return null;const d={critical:"crit",warning:"warning",info:"info"}[i.type]||"info";let m=null;return i.icon==="error"?m=t.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",width:"24",height:"24",children:[t.jsx("circle",{cx:"12",cy:"12",r:"10"}),t.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),t.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]}):i.icon==="warning"?m=t.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",width:"24",height:"24",children:[t.jsx("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}),t.jsx("line",{x1:"12",y1:"9",x2:"12",y2:"13"}),t.jsx("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})]}):i.icon==="info"&&(m=t.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",width:"24",height:"24",children:[t.jsx("circle",{cx:"12",cy:"12",r:"10"}),t.jsx("line",{x1:"12",y1:"16",x2:"12",y2:"12"}),t.jsx("line",{x1:"12",y1:"8",x2:"12.01",y2:"8"})]})),t.jsxs("div",{className:`cn-alert cn-alert--${d}`,style:{marginBottom:24},children:[t.jsx("div",{className:"cn-alert__icon",children:m}),t.jsxs("div",{className:"cn-alert__content",children:[t.jsx("h3",{className:"cn-alert__title",children:i.title}),t.jsx("p",{className:"cn-alert__desc",children:i.description})]}),t.jsx("div",{className:"cn-alert__actions",children:t.jsx("button",{type:"button",className:"cn-button cn-button--upgrade",onClick:o,children:i.cta.label})}),i.dismissible&&t.jsx("button",{type:"button",className:"cn-alert__dismiss",onClick:()=>c(i.id),"aria-label":"Dismiss",children:t.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",width:"18",height:"18",children:[t.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),t.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]})}const Gs=[{id:"protection",label:"Protection"},{id:"settings",label:"Settings"},{id:"audit-trail",label:"Audit Trail"}];function U2({dashboard:o,refetchDashboard:i,refetchConfig:c,notices:p,removeNotice:d,addNotice:m,activeTab:g,setActiveTab:h,appliedTemplateKey:v,handleTemplateApplied:w,showWelcomeModal:j,setShowWelcomeModal:S,showPricingModal:L,setShowPricingModal:D}){const{closeAllPanels:T}=mr(),b=x.useCallback(M=>{T(),h(M);const A=new URLSearchParams(window.location.search);A.delete("tab");const H=window.location.pathname+(A.toString()?"?"+A.toString():"")+"#"+M;window.history.replaceState({},"",H)},[T,h]),k=()=>{switch(g){case"protection":return t.jsx(bd,{addNotice:m,onOpenWelcomeModal:()=>S(!0),onOpenPricingModal:()=>D(!0),onTabChange:b,appliedTemplateKey:v,onTemplateApplied:w});case"settings":return t.jsx(c2,{addNotice:m,onOpenWelcomeModal:()=>S(!0),onTabChange:b,appliedTemplateKey:v,onTemplateApplied:w,onOpenPricingModal:()=>D(!0)});case"audit-trail":return t.jsx(x2,{addNotice:m,onOpenWelcomeModal:()=>S(!0),onOpenPricingModal:()=>D(!0)});default:return null}},E=x.useCallback(()=>{S(!1),b("settings"),Fu().catch(()=>{})},[b,S]);return t.jsxs("div",{className:"cn-admin-app",children:[t.jsx(F2,{}),p.map(M=>t.jsx(Pu,{type:M.type,dismissible:!0,onDismiss:()=>d(M.id),children:M.message},M.id)),t.jsx(Lu,{tabs:Gs,activeTab:g,onTabChange:b}),t.jsxs("div",{className:"cn-tab-content",children:[t.jsx(O2,{onOpenPricingModal:()=>D(!0)}),t.jsx(B2,{children:k()},g)]}),t.jsx(Du,{}),t.jsx(R2,{isOpen:j,onClose:()=>S(!1),onDismissToSettings:E}),t.jsx(I2,{isOpen:L,onClose:()=>D(!1)})]})}function $2(){var z,de,_e;const{data:o,refetch:i}=Ld(),{data:c,loading:p,refetch:d}=Pd(),[m,g]=x.useState([]),[h,v]=x.useState(null),w=Qu(((z=o==null?void 0:o.appConfig)==null?void 0:z.design)||((de=window.cnReactData)==null?void 0:de.bannerDesign)||null),j=h||w||"",S=x.useCallback(ie=>{v(ie)},[]),[L,D]=x.useState(()=>{var he;const ie=new URLSearchParams(window.location.search).get("tab");if(ie==="consent-logs")return"audit-trail";if(Gs.find(me=>me.id===ie))return ie;const J=window.location.hash.replace("#","");return Gs.find(me=>me.id===J)?J:!((he=window.cnReactData)!=null&&he.app_id)?"settings":"protection"}),{isBasic:T}=Ue(),b=x.useRef(Date.now()),k=x.useRef(null);x.useEffect(()=>{const ie=()=>{document.visibilityState==="visible"&&(Date.now()-b.current<1e4||(clearTimeout(k.current),k.current=setTimeout(()=>{i()},2e3)))};return document.addEventListener("visibilitychange",ie),()=>{document.removeEventListener("visibilitychange",ie),clearTimeout(k.current)}},[i]);const E=x.useRef(null);x.useEffect(()=>{var se;const ie=(se=o==null?void 0:o.appConfig)==null?void 0:se.design,J=JSON.stringify(ie||null);if(E.current===null){E.current=J;return}J!==E.current&&(E.current=J,v(null))},[(_e=o==null?void 0:o.appConfig)==null?void 0:_e.design]);const[M,A]=x.useState(()=>{const ie=new URLSearchParams(window.location.search),J=ie.get("cn_react_welcome")==="1";if(J){ie.delete("cn_react_welcome");const se=window.location.pathname+(ie.toString()?"?"+ie.toString():"")+window.location.hash;window.history.replaceState({},"",se)}return J}),[H,$]=x.useState(!1);x.useEffect(()=>{var se;if(!T)return;const ie=(se=window.cnReactData)==null?void 0:se.welcomeDismissedAt;if(!ie){A(!0);return}const J=Date.now()-720*60*60*1e3;new Date(ie).getTime()<J&&A(!0)},[T]);const V=x.useCallback((ie,J="success")=>{const se=Date.now();g(he=>[...he,{id:se,message:ie,type:J}]),setTimeout(()=>g(he=>he.filter(me=>me.id!==se)),5e3)},[]),Z=x.useCallback(ie=>{g(J=>J.filter(se=>se.id!==ie))},[]),W=x.useCallback(()=>{i()},[i]),Y=x.useCallback(()=>{i(),d()},[i,d]);return t.jsx(Ho.Provider,{value:{dashboard:o,refetchDashboard:i,isLoadingDashboard:!o},children:t.jsx(Vo.Provider,{value:{config:c,isLoadingConfig:p,refetchConfig:d},children:t.jsx(Ru,{onLawSave:W,onConsentClose:Y,children:t.jsx(U2,{dashboard:o,refetchDashboard:i,refetchConfig:d,notices:m,removeNotice:Z,addNotice:V,activeTab:L,setActiveTab:D,appliedTemplateKey:j,handleTemplateApplied:S,showWelcomeModal:M,setShowWelcomeModal:A,showPricingModal:H,setShowPricingModal:$})})})})}const Ri=document.getElementById("cn-react-root");Ri&&bu.createRoot(Ri).render(t.jsx($2,{}))})();
|