1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6018],{6889:(e,t,n)=>{n.r(t),n.d(t,{default:()=>an});var r,s=n(6029),i=n(55729),o=n(75119),a=n(66310),l=n(56760),c=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},u="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function d(){throw Error("setTimeout has not been defined")}function h(){throw Error("clearTimeout has not been defined")}var f=d,p=h;"function"==typeof u.setTimeout&&(f=setTimeout),"function"==typeof u.clearTimeout&&(p=clearTimeout);(function(e,t){this.fun=e,this.array=t}).prototype.run=function(){this.fun.apply(null,this.array)};var m=u.performance||{},g=(m.now||m.mozNow||m.msNow||m.oNow||m.webkitNow,{env:{}}),y={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},v=new class{#e=y;#t=!1;setTimeoutProvider(e){"production"!==g.env.NODE_ENV&&this.#t&&e!==this.#e&&console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.",{previous:this.#e,provider:e}),this.#e=e,"production"!==g.env.NODE_ENV&&(this.#t=!1)}setTimeout(e,t){return"production"!==g.env.NODE_ENV&&(this.#t=!0),this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return"production"!==g.env.NODE_ENV&&(this.#t=!0),this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},b="undefined"==typeof window||"Deno"in globalThis;function C(){}function x(e){return"number"==typeof e&&e>=0&&e!==1/0}function w(e,t){return Math.max(e+(t||0)-Date.now(),0)}function k(e,t){return"function"==typeof e?e(t):e}function _(e,t){return"function"==typeof e?e(t):e}function S(e,t){let{type:n="all",exact:r,fetchStatus:s,predicate:i,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==O(o,t.options))return!1}else if(!M(t.queryKey,o))return!1}if("all"!==n){let e=t.isActive();if("active"===n&&!e||"inactive"===n&&e)return!1}return("boolean"!=typeof a||t.isStale()===a)&&(!s||s===t.state.fetchStatus)&&(!i||!!i(t))}function T(e,t){let{exact:n,status:r,predicate:s,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(j(t.options.mutationKey)!==j(i))return!1}else if(!M(t.options.mutationKey,i))return!1}return(!r||t.state.status===r)&&(!s||!!s(t))}function O(e,t){return(t?.queryKeyHashFn||j)(e)}function j(e){return JSON.stringify(e,(e,t)=>I(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function M(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(n=>M(e[n],t[n]))}var R=Object.prototype.hasOwnProperty;function D(e,t){if(e===t)return e;let n=P(e)&&P(t);if(!n&&!(I(e)&&I(t)))return t;let r=(n?e:Object.keys(e)).length,s=n?t:Object.keys(t),i=s.length,o=n?Array(i):{},a=0;for(let l=0;l<i;l++){let i=n?l:s[l],c=e[i],u=t[i];if(c===u){o[i]=c,(n?l<r:R.call(e,i))&&a++;continue}if(null===c||null===u||"object"!=typeof c||"object"!=typeof u){o[i]=u;continue}let d=D(c,u);o[i]=d,d===c&&a++}return r===i&&a===r?e:o}function E(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function P(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function I(e){if(!L(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!L(n)&&!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function L(e){return"[object Object]"===Object.prototype.toString.call(e)}function A(e,t,n){if("function"==typeof n.structuralSharing)return n.structuralSharing(e,t);if(!1!==n.structuralSharing){if("production"!==g.env.NODE_ENV)try{return D(e,t)}catch(e){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${e}`),e}return D(e,t)}return t}function N(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function F(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var U=Symbol();function Y(e,t){return("production"!==g.env.NODE_ENV&&e.queryFn===U&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&t?.initialPromise)?()=>t.initialPromise:e.queryFn&&e.queryFn!==U?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}function H(e,t){return"function"==typeof e?e(...t):!!e}var V=new class extends c{#n;#r;#s;constructor(){super(),this.#s=e=>{if(!b&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#r||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#r?.(),this.#r=void 0)}setEventListener(e){this.#s=e,this.#r?.(),this.#r=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#n!==e&&(this.#n=e,this.onFocus())}onFocus(){let e=this.isFocused();
1this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#n?this.#n:globalThis.document?.visibilityState!=="hidden"}};function z(){let e,t,n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}var G=function(e){setTimeout(e,0)},$=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},s=G,i=r=>{t?e.push(r):s(()=>{n(r)})};return{batch:i=>{let o;t++;try{o=i()}finally{--t||(()=>{let t=e;e=[],t.length&&s(()=>{r(()=>{t.forEach(e=>{n(e)})})})})()}return o},batchCalls:e=>(...t)=>{i(()=>{e(...t)})},schedule:i,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{s=e}}}(),q=new class extends c{#i=!0;#r;#s;constructor(){super(),this.#s=e=>{if(!b&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#r||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#r?.(),this.#r=void 0)}setEventListener(e){this.#s=e,this.#r?.(),this.#r=e(this.setOnline.bind(this))}setOnline(e){this.#i!==e&&(this.#i=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#i}};function W(e){return Math.min(1e3*2**e,3e4)}function B(e){return(e??"online")!=="online"||q.isOnline()}var Q=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function K(e){let t,n=!1,r=0,s=z(),i=()=>V.isFocused()&&("always"===e.networkMode||q.isOnline())&&e.canRun(),o=()=>B(e.networkMode)&&e.canRun(),a=e=>{"pending"===s.status&&(t?.(),s.resolve(e))},l=e=>{"pending"===s.status&&(t?.(),s.reject(e))},c=()=>new Promise(n=>{t=e=>{("pending"!==s.status||i())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,"pending"===s.status&&e.onContinue?.()}),u=()=>{let t;if("pending"!==s.status)return;let o=0===r?e.initialPromise:void 0;try{t=o??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(a).catch(t=>{if("pending"!==s.status)return;let o=e.retry??3*!b,a=e.retryDelay??W,d="function"==typeof a?a(r,t):a,h=!0===o||"number"==typeof o&&r<o||"function"==typeof o&&o(r,t);if(n||!h)return void l(t);r++,e.onFail?.(r,t),new Promise(e=>{v.setTimeout(e,d)}).then(()=>i()?void 0:c()).then(()=>{n?l(t):u()})})};return{promise:s,status:()=>s.status,cancel:t=>{if("pending"===s.status){let n=new Q(t);l(n),e.onCancel?.(n)}},continue:()=>(t?.(),s),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:o,start:()=>(o()?u():c().then(u),s)}}var Z=class{#o;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),x(this.gcTime)&&(this.#o=v.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(b?1/0:3e5))}clearGcTimeout(){this.#o&&(v.clearTimeout(this.#o),this.#o=void 0)}},X=class extends Z{#a;#l;#c;#u;#d;#h;#f;constructor(e){super(),this.#f=!1,this.#h=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#u=e.client,this.#c=this.#u.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#a=ee(this.options),this.state=e.state??this.#a,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#d?.promise}setOptions(e){if(this.options={...this.#h,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=ee(this.options);void 0!==e.data&&(this.setData(e.data,{updatedAt:e.dataUpdatedAt,manual:!0}),this.#a=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#c.remove(this)}setData(e,t){let n=A(this.state.data,e,this.options);return this.#p({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#p({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#d?.promise;return this.#d?.cancel(e),t?t.then(C).catch(C):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#a)}isActive(){return this.observers.some(e=>!1!==_(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===U||this.state.dataUpdateCount+this.state.errorUpdate
1Count===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===k(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!w(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#c.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#d&&(this.#f?this.#d.cancel({revert:!0}):this.#d.cancelRetry()),this.scheduleGc()),this.#c.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#p({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&this.#d?.status()!=="rejected"){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#d)return this.#d.continueRetry(),this.#d.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}"production"===g.env.NODE_ENV||Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']");let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#f=!0,n.signal)})},s=()=>{let e=Y(this.options,t),n=(()=>{let e={client:this.#u,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return(this.#f=!1,this.options.persister)?this.options.persister(e,n,this):e(n)},i=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#u,state:this.state,fetchFn:s};return r(e),e})();this.options.behavior?.onFetch(i,this),this.#l=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==i.fetchOptions?.meta)&&this.#p({type:"fetch",meta:i.fetchOptions?.meta}),this.#d=K({initialPromise:t?.initialPromise,fn:i.fetchFn,onCancel:e=>{e instanceof Q&&e.revert&&this.setState({...this.#l,fetchStatus:"idle"}),n.abort()},onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:()=>{this.#p({type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0});try{let e=await this.#d.start();if(void 0===e)throw"production"!==g.env.NODE_ENV&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#c.config.onSuccess?.(e,this),this.#c.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof Q){if(e.silent)return this.#d.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#p({type:"error",error:e}),this.#c.config.onError?.(e,this),this.#c.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#p(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...J(t.data,this.options),fetchMeta:e.meta??null};case"success":let n={...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#l=e.manual?n:void 0,n;case"error":let r=e.error;
1return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),$.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#c.notify({query:this,type:"updated",action:e})})}};function J(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:B(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function ee(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var et=class extends c{constructor(e,t){super(),this.options=t,this.#u=e,this.#m=null,this.#g=z(),this.bindMethods(),this.setOptions(t)}#u;#y=void 0;#v=void 0;#b=void 0;#C;#x;#g;#m;#w;#k;#_;#S;#T;#O;#j=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#y.addObserver(this),en(this.#y,this.options)?this.#M():this.updateResult(),this.#R())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return er(this.#y,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return er(this.#y,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#D(),this.#E(),this.#y.removeObserver(this)}setOptions(e){let t=this.options,n=this.#y;if(this.options=this.#u.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof _(this.options.enabled,this.#y))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#P(),this.#y.setOptions(this.options),t._defaulted&&!E(this.options,t)&&this.#u.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#y,observer:this});let r=this.hasListeners();r&&es(this.#y,n,this.options,t)&&this.#M(),this.updateResult(),r&&(this.#y!==n||_(this.options.enabled,this.#y)!==_(t.enabled,this.#y)||k(this.options.staleTime,this.#y)!==k(t.staleTime,this.#y))&&this.#I();let s=this.#L();r&&(this.#y!==n||_(this.options.enabled,this.#y)!==_(t.enabled,this.#y)||s!==this.#O)&&this.#A(s)}getOptimisticResult(e){var t,n;let r=this.#u.getQueryCache().build(this.#u,e),s=this.createResult(r,e);return t=this,n=s,E(t.getCurrentResult(),n)||(this.#b=s,this.#x=this.options,this.#C=this.#y.state),s}getCurrentResult(){return this.#b}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),"promise"!==n||this.options.experimental_prefetchInRender||"pending"!==this.#g.status||this.#g.reject(Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(e,n))})}trackProp(e){this.#j.add(e)}getCurrentQuery(){return this.#y}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#u.defaultQueryOptions(e),n=this.#u.getQueryCache().build(this.#u,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#M({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#b))}#M(e){this.#P();let t=this.#y.fetch(this.options,e);return e?.throwOnError||(t=t.catch(C)),t}#I(){this.#D();let e=k(this.options.staleTime,this.#y);if(b||this.#b.isStale||!x(e))return;let t=w(this.#b.dataUpdatedAt,e);this.#S=v.setTimeout(()=>{this.#b.isStale||this.updateResult()},t+1)}#L(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#y):this.options.refetchInterval)??!1}#A(e){this.#E(),this.#O=e,!b&&!1!==_(this.options.enabled,this.#y)&&x(this.#O)&&0!==this.#O&&(this.#T=v.setInterval(()=>{(this.options.refetchIntervalInBackground||V.isFocused())&&this.#M()},this.#O))}#R(){this.#I(),this.#A(this.#L())}#D(){this.#S&&(v.clearTimeout(this.#S),this.#S=void 0)}#E(){this.#T&&(v.clearInterval(this.#T),this.#T=void 0)}createResult(e,t){let n,r=this.#y,s=this.options,i=this.#b,o=this.#C,a=this.#x,l=e!==r?e.state:this.#v,{state:c}=e,u={...c},d=!1;if(t._optimisticResults){let n=this.hasListeners(),i=!n&&en(e,t),o=n&&es(e,r,t,s);(i||o)&&(u={...u,...J(c.data,e.options)}),"isRestoring"===t._optimisticResults&&(u.fetchStatus="idle")}let{error:h,errorUpdatedAt:f,status:p}=u;n=u.data;let m=!1;if(void 0!==t.placeholderData&&void 0===n&&"pending"===p){let e;i?.isPlaceholderData&&t.placeholderData===a?.placeholderData?(e=i.data,m=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#_?.state.data,this.#_):t.placeholderData,void 0!==e&&(p="success",n=A(i?.data,e,t),d=!0)}if(t.select&&void 0!==n&&!m)if(i&&n===o?.data&&t.select===this.#w)n=this.#k;else try{this.#w=t.select,n=t.select(n),n=A(i?.data,n,t),this.#k=n,this.#m=null}catch(e){this.#m=e}this.#m&&(h=this.#m,n=this.#k,f=Date.now(),p="error");let g="fetching"===u.fetchStatus,y="pending"===p,v="error"===p,b=y&&g,C=void 0!==n,x={status:p,fetchStatus:u.fetchStatus,isPending:y,isSuccess:"success"===p,isError:v,isInitialLoading:b,isLoading:b,data:n,dataUpdatedAt:u.dataUpdatedAt,error:h,errorUpdatedAt:f,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdate
1Count:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>l.dataUpdateCount||u.errorUpdateCount>l.errorUpdateCount,isFetching:g,isRefetching:g&&!y,isLoadingError:v&&!C,isPaused:"paused"===u.fetchStatus,isPlaceholderData:d,isRefetchError:v&&C,isStale:ei(e,t),refetch:this.refetch,promise:this.#g,isEnabled:!1!==_(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===x.status?e.reject(x.error):void 0!==x.data&&e.resolve(x.data)},n=()=>{t(this.#g=x.promise=z())},s=this.#g;switch(s.status){case"pending":e.queryHash===r.queryHash&&t(s);break;case"fulfilled":("error"===x.status||x.data!==s.value)&&n();break;case"rejected":("error"!==x.status||x.error!==s.reason)&&n()}}return x}updateResult(){let e=this.#b,t=this.createResult(this.#y,this.options);if(this.#C=this.#y.state,this.#x=this.options,void 0!==this.#C.data&&(this.#_=this.#y),E(t,e))return;this.#b=t;let n=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.#j.size)return!0;let r=new Set(n??this.#j);return this.options.throwOnError&&r.add("error"),Object.keys(this.#b).some(t=>this.#b[t]!==e[t]&&r.has(t))};this.#N({listeners:n()})}#P(){let e=this.#u.getQueryCache().build(this.#u,this.options);if(e===this.#y)return;let t=this.#y;this.#y=e,this.#v=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#R()}#N(e){$.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#b)}),this.#u.getQueryCache().notify({query:this.#y,type:"observerResultsUpdated"})})}};function en(e,t){return!1!==_(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&er(e,t,t.refetchOnMount)}function er(e,t,n){if(!1!==_(t.enabled,e)&&"static"!==k(t.staleTime,e)){let r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&ei(e,t)}return!1}function es(e,t,n,r){return(e!==t||!1===_(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&ei(e,n)}function ei(e,t){return!1!==_(t.enabled,e)&&e.isStaleByTime(k(t.staleTime,e))}function eo(e){return{onFetch:(t,n)=>{let r=t.options,s=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],o=t.state.data?.pageParams||[],a={pages:[],pageParams:[]},l=0,c=async()=>{let n=!1,c=Y(t.options,t.fetchOptions),u=async(e,r,s)=>{if(n)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);let i=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:s?"backward":"forward",meta:t.options.meta};return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",()=>{n=!0}),t.signal)}),e})(),o=await c(i),{maxPages:a}=t.options,l=s?F:N;return{pages:l(e.pages,o,a),pageParams:l(e.pageParams,r,a)}};if(s&&i.length){let e="backward"===s,t={pages:i,pageParams:o},n=(e?function(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}:ea)(r,t);a=await u(t,n,e)}else{let t=e??i.length;do{let e=0===l?o[0]??r.initialPageParam:ea(r,a);if(l>0&&null==e)break;a=await u(a,e),l++}while(l<t)}return a};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=c}}}function ea(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}var el=class extends Z{#F;#U;#d;constructor(e){super(),this.mutationId=e.mutationId,this.#U=e.mutationCache,this.#F=[],this.state=e.state||ec(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#F.includes(e)||(this.#F.push(e),this.clearGcTimeout(),this.#U.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#F=this.#F.filter(t=>t!==e),this.scheduleGc(),this.#U.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#F.length||("pending"===this.state.status?this.scheduleGc():this.#U.remove(this))}continue(){return this.#d?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#p({type:"continue"})};this.#d=K({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#U.canRun(this)});let n="pending"===this.state.status,r=!this.#d.canStart();try{if(n)t();else{this.#p({type:"pending",variables:e,isPaused:r}),await this.#U.config.onMutate?.(e,this);let t=await this.options.onMutate?.(e);t!==this.state.context&&this.#p({type:"pending",context:t,variables:e,isPaused:r})}let s=await this.#d.start();return await this.#U.config.onSuccess?.(s,e,this.state.context,this),await this.options.onSuccess?.(s,e,this.state.context),await this.#U.config.onSettled?.(s,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(s,null,e,this.state.context),this.#p({type:"success",data:s}),s}catch(t){try{throw await this.#U.config.onError?.(t,e,this.state.context,this),await this.options.onError?.(t,e,this.state.context),await this.#U.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,t,e,this.state.context),t}finally{this.#p({type:"error",error:t})}}finally{this.#U.runNext(this)}}#p(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};
1case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),$.batch(()=>{this.#F.forEach(t=>{t.onMutationUpdate(e)}),this.#U.notify({mutation:this,type:"updated",action:e})})}};function ec(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var eu=class extends c{constructor(e={}){super(),this.config=e,this.#Y=new Set,this.#H=new Map,this.#V=0}#Y;#H;#V;build(e,t,n){let r=new el({mutationCache:this,mutationId:++this.#V,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#Y.add(e);let t=ed(e);if("string"==typeof t){let n=this.#H.get(t);n?n.push(e):this.#H.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#Y.delete(e)){let t=ed(e);if("string"==typeof t){let n=this.#H.get(t);if(n)if(n.length>1){let t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#H.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=ed(e);if("string"!=typeof t)return!0;{let n=this.#H.get(t),r=n?.find(e=>"pending"===e.state.status);return!r||r===e}}runNext(e){let t=ed(e);if("string"!=typeof t)return Promise.resolve();{let n=this.#H.get(t)?.find(t=>
1t!==e&&t.state.isPaused);return n?.continue()??Promise.resolve()}}clear(){$.batch(()=>{this.#Y.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#Y.clear(),this.#H.clear()})}getAll(){return Array.from(this.#Y)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>T(t,e))}findAll(e={}){return this.getAll().filter(t=>T(e,t))}notify(e){$.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return $.batch(()=>Promise.all(e.map(e=>e.continue().catch(C))))}};function ed(e){return e.options.scope?.id}var eh=class extends c{#u;#b=void 0;#z;#G;constructor(e,t){super(),this.#u=e,this.setOptions(t),this.bindMethods(),this.#$()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#u.defaultMutationOptions(e),E(this.options,t)||this.#u.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#z,observer:this}),t?.mutationKey&&this.options.mutationKey&&j(t.mutationKey)!==j(this.options.mutationKey)?this.reset():this.#z?.state.status==="pending"&&this.#z.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#z?.removeObserver(this)}onMutationUpdate(e){this.#$(),this.#N(e)}getCurrentResult(){return this.#b}reset(){this.#z?.removeObserver(this),this.#z=void 0,this.#$(),this.#N()}mutate(e,t){return this.#G=t,this.#z?.removeObserver(this),this.#z=this.#u.getMutationCache().build(this.#u,this.options),this.#z.addObserver(this),this.#z.execute(e)}#$(){let e=this.#z?.state??ec();this.#b={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#N(e){$.batch(()=>{if(this.#G&&this.hasListeners()){let t=this.#b.variables,n=this.#b.context;e?.type==="success"?(this.#G.onSuccess?.(e.data,t,n),this.#G.onSettled?.(e.data,null,t,n)):e?.type==="error"&&(this.#G.onError?.(e.error,t,n),this.#G.onSettled?.(void 0,e.error,t,n))}this.listeners.forEach(e=>{e(this.#b)})})}},ef=class extends c{constructor(e={}){super(),this.config=e,this.#q=new Map}#q;build(e,t,n){let r=t.queryKey,s=t.queryHash??O(r,t),i=this.get(s);return i||(i=new X({client:e,queryKey:r,queryHash:s,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(i)),i}add(e){this.#q.has(e.queryHash)||(this.#q.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#q.get(e.queryHash);t&&(e.destroy(),t===e&&this.#q.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){$.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#q.get(e)}getAll(){return[...this.#q.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>S(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>S(e,t)):t}notify(e){$.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){$.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){$.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},ep=class{#W;#U;#h;#B;#Q;#K;#Z;#X;constructor(e={}){this.#W=e.queryCache||new ef,this.#U=e.mutationCache||new eu,this.#h=e.defaultOptions||{},this.#B=new Map,this.#Q=new Map,this.#K=0}mount(){this.#K++,1===this.#K&&(this.#Z=V.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#W.onFocus())}),this.#X=q.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#W.onOnline())}))}unmount(){this.#K--,0===this.#K&&(this.#Z?.(),this.#Z=void 0,this.#X?.(),this.#X=void 0)}isFetching(e){return this.#W.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#U.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#W.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#W.build(this,t),r=n.state.data;return void 0===r?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(k(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#W.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),s=this.#W.get(r.queryHash),i=s?.state.data,o="function"==typeof t?t(i):t;if(void 0!==o)return this.#W.build(this,r).setData(o,{...n,manual:!0})}
1setQueriesData(e,t,n){return $.batch(()=>this.#W.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#W.get(t.queryHash)?.state}removeQueries(e){let t=this.#W;$.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#W;return $.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t};return Promise.all($.batch(()=>this.#W.findAll(e).map(e=>e.cancel(n)))).then(C).catch(C)}invalidateQueries(e,t={}){return $.batch(()=>(this.#W.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all($.batch(()=>this.#W.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(C)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(C)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let n=this.#W.build(this,t);return n.isStaleByTime(k(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(C).catch(C)}fetchInfiniteQuery(e){return e.behavior=eo(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(C).catch(C)}ensureInfiniteQueryData(e){return e.behavior=eo(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return q.isOnline()?this.#U.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#W}getMutationCache(){return this.#U}getDefaultOptions(){return this.#h}setDefaultOptions(e){this.#h=e}setQueryDefaults(e,t){this.#B.set(j(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#B.values()],n={};return t.forEach(t=>{M(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#Q.set(j(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#Q.values()],n={};return t.forEach(t=>{M(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#h.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=O(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===U&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#h.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#W.clear(),this.#U.clear()}},em=i.createContext(void 0),eg=e=>{let t=i.useContext(em);if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},ey=({client:e,children:t})=>(i.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,s.jsx)(em.Provider,{value:e,children:t})),ev=i.createContext(!1);ev.Provider;var eb=i.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),eC=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function ex(e,t){return function(e,t,n){if("production"!==g.env.NODE_ENV&&("object"!=typeof e||Array.isArray(e)))throw Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');let r=i.useContext(ev),s=i.useContext(eb),o=eg(),a=o.defaultQueryOptions(e);if(o.getDefaultOptions().queries?._experimental_beforeQuery?.(a),"production"===g.env.NODE_ENV||a.queryFn||console.error(`[${a.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`),a._optimisticResults=r?"isRestoring":"optimistic",a.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=a.staleTime;a.staleTime="function"==typeof t?(...n)=>e(t(...n)):e(t),"number"==typeof a.gcTime&&(a.gcTime=Math.max(a.gcTime,1e3))}(a.suspense||a.throwOnError||a.experimental_prefetchInRender)&&!s.isReset()&&(a.retryOnMount=!1),i.useEffect(()=>{s.clearReset()},[s]);let l=!o.getQueryCache().get(a.queryHash),[c]=i.useState(()=>new t(o,a)),u=c.getOptimisticResult(a),d=!r&&!1!==e.subscribed;if(i.useSyncExternalStore(i.useCallback(e=>{let t=d?c.subscribe($.batchCalls(e)):C;return c.updateResult(),t},[c,d]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),i.useEffect(()=>{c.setOptions(a)},[a,c]),a?.suspense&&u.isPending)throw eC(a,c,s);if((({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:s}
1)=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(s&&void 0===e.data||H(n,[e.error,r])))({result:u,errorResetBoundary:s,throwOnError:a.throwOnError,query:o.getQueryCache().get(a.queryHash),suspense:a.suspense}))throw u.error;if(o.getDefaultOptions().queries?._experimental_afterQuery?.(a,u),a.experimental_prefetchInRender&&!b&&u.isLoading&&u.isFetching&&!r){let e=l?eC(a,c,s):o.getQueryCache().get(a.queryHash)?.promise;e?.catch(C).finally(()=>{c.updateResult()})}return a.notifyOnChangeProps?u:c.trackResult(u)}(e,et)}function ew(e,t){let n=eg(),[r]=i.useState(()=>new eh(n,e));i.useEffect(()=>{r.setOptions(e)},[r,e]);let s=i.useSyncExternalStore(i.useCallback(e=>r.subscribe($.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),o=i.useCallback((e,t)=>{r.mutate(e,t).catch(C)},[r]);if(s.error&&H(r.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:o,mutateAsync:s.mutate}}var ek=function(){return(ek=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)};function e_(e,t,n){if(n||2==arguments.length)for(var r,s=0,i=t.length;s<i;s++)!r&&s in t||(r||(r=Array.prototype.slice.call(t,0,s)),r[s]=t[s]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var eS=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,eT=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(function(e){return eS.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)});
1function eO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ej=eO(tw?tx:(tw=1,tx=function(e,t,n,r){var s=n?n.call(r,e,t):void 0;if(void 0!==s)return!!s;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!a(c))return!1;var u=e[c],d=t[c];if(!1===(s=n?n.call(r,u,d,c):void 0)||void 0===s&&u!==d)return!1}return!0})),eM="-ms-",eR="-moz-",eD="-webkit-",eE="comm",eP="rule",eI="decl",eL="@keyframes",eA=Math.abs,eN=String.fromCharCode,eF=Object.assign;function eU(e,t){return(e=t.exec(e))?e[0]:e}function eY(e,t,n){return e.replace(t,n)}function eH(e,t,n){return e.indexOf(t,n)}function eV(e,t){return 0|e.charCodeAt(t)}function ez(e,t,n){return e.slice(t,n)}function eG(e){return e.length}function e$(e,t){return t.push(e),e}function eq(e,t){return e.filter(function(e){return!eU(e,t)})}var eW=1,eB=1,eQ=0,eK=0,eZ=0,eX="";function eJ(e,t,n,r,s,i,o,a){return{value:e,root:t,parent:n,type:r,props:s,children:i,line:eW,column:eB,length:o,return:"",siblings:a}}function e1(e,t){return eF(eJ("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function e0(e){for(;e.root;)e=e1(e.root,{children:[e]});e$(e,e.siblings)}function e3(){return eZ=eK<eQ?eV(eX,eK++):0,eB++,10===eZ&&(eB=1,eW++),eZ}function e2(){return eV(eX,eK)}function e4(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function e8(e){var t,n;return(t=eK-1,n=function e(t){for(;e3();)switch(eZ){case t:return eK;case 34:case 39:34!==t&&39!==t&&e(eZ);break;case 40:41===t&&e(t);break;case 92:e3()}return eK}(91===e?e+2:40===e?e+1:e),ez(eX,t,n)).trim()}function e6(e,t,n,r,s,i,o,a,l,c,u,d){for(var h=s-1,f=0===s?i:[""],p=f.length,m=0,g=0,y=0;m<r;++m)for(var v=0,b=ez(e,h+1,h=eA(g=o[m])),C=e;v<p;++v)(C=(g>0?f[v]+" "+b:eY(b,/&\f/g,f[v])).trim())&&(l[y++]=C);return eJ(e,t,n,0===s?eP:a,l,c,u,d)}function e5(e,t,n,r,s){return eJ(e,t,n,eI,ez(e,0,r),ez(e,r+1,-1),r,s)}function e9(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function e7(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case eI:return e.return=e.return||e.value;case eE:return"";case eL:return e.return=e.value+"{"+e9(e.children,r)+"}";case eP:if(!eG(e.value=e.props.join(",")))return""}return eG(n=e9(e.children,r))?e.return=e.value+"{"+n+"}":""}function te(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case eI:e.return=function e(t,n,r){var s;switch(s=n,45^eV(t,0)?(((s<<2^eV(t,0))<<2^eV(t,1))<<2^eV(t,2))<<2^eV(t,3):0){case 5103:return eD+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return eD+t+t;case 4789:return eR+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eD+t+eR+t+eM+t+t;case 5936:switch(eV(t,n+11)){case 114:return eD+t+eM+eY(t,/[svh]\w+-[tblr]{2}/,"tb")+t;
vendor: 4,806 bytes, line 1
1case 108:return eD+t+eM+eY(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eD+t+eM+eY(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eD+t+eM+t+t;case 6165:return eD+t+eM+"flex-"+t+t;case 5187:return eD+t+eY(t,/(\w+).+(:[^]+)/,eD+"box-$1$2"+eM+"flex-$1$2")+t;case 5443:return eD+t+eM+"flex-item-"+eY(t,/flex-|-self/g,"")+(eU(t,/flex-|baseline/)?"":eM+"grid-row-"+eY(t,/flex-|-self/g,""))+t;case 4675:return eD+t+eM+"flex-line-pack"+eY(t,/align-content|flex-|-self/g,"")+t;case 5548:return eD+t+eM+eY(t,"shrink","negative")+t;case 5292:return eD+t+eM+eY(t,"basis","preferred-size")+t;case 6060:return eD+"box-"+eY(t,"-grow","")+eD+t+eM+eY(t,"grow","positive")+t;case 4554:return eD+eY(t,/([^-])(transform)/g,"$1"+eD+"$2")+t;case 6187:return eY(eY(eY(t,/(zoom-|grab)/,eD+"$1"),/(image-set)/,eD+"$1"),t,"")+t;case 5495:case 3959:return eY(t,/(image-set\([^]*)/,eD+"$1$`$1");case 4968:return eY(eY(t,/(.+:)(flex-)?(.*)/,eD+"box-pack:$3"+eM+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eD+t+t;case 4200:if(!eU(t,/flex-|baseline/))return eM+"grid-column-align"+ez(t,n)+t;break;case 2592:case 3360:return eM+eY(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eU(e.props,/grid-\w+-end/)}))return~eH(t+(r=r[n].value),"span",0)?t:eM+eY(t,"-start","")+t+eM+"grid-row-span:"+(~eH(r,"span",0)?eU(r,/\d+/):eU(r,/\d+/)-eU(t,/\d+/))+";";return eM+eY(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eU(e.props,/grid-\w+-start/)})?t:eM+eY(eY(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eY(t,/(.+)-inline(.+)/,eD+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(eG(t)-1-n>6)switch(eV(t,n+1)){case 109:if(45!==eV(t,n+4))break;case 102:return eY(t,/(.+:)(.+)-([^]+)/,"$1"+eD+"$2-$3$1"+eR+(108==eV(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eH(t,"stretch",0)?e(eY(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eY(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,s,i,o,a){return eM+n+":"+r+a+(s?eM+n+"-span:"+(i?o:o-r)+a:"")+t});case 4949:if(121===eV(t,n+6))return eY(t,":",":"+eD)+t;break;case 6444:switch(eV(t,45===eV(t,14)?18:11)){case 120:return eY(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eD+(45===eV(t,14)?"inline-":"")+"box$3$1"+eD+"$2$3$1"+eM+"$2box$3")+t;case 100:return eY(t,":",":"+eM)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eY(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case eL:return e9([e1(e,{value:eY(e.value,"@","@"+eD)})],r);case eP:if(e.length){var s,i;return s=n=e.props,i=function(t){switch(eU(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":e0(e1(e,{props:[eY(t,/:(read-\w+)/,":"+eR+"$1")]})),e0(e1(e,{props:[t]})),eF(e,{props:eq(n,r)});break;case"::placeholder":e0(e1(e,{props:[eY(t,/:(plac\w+)/,":"+eD+"input-$1")]})),e0(e1(e,{props:[eY(t,/:(plac\w+)/,":"+eR+"$1")]})),e0(e1(e,{props:[eY(t,/:(plac\w+)/,eM+"input-$1")]})),e0(e1(e,{props:[t]})),eF(e,{props:eq(n,r)})}return""},s.map(i).join("")}}}var tt={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},tn=void 0!==g&&void 0!==g.env&&(g.env.REACT_APP_SC_ATTR||g.env.SC_ATTR)||"data-styled",tr="active",ts="data-styled-version",ti="6.1.19",to="/*!sc*/\n",ta="undefined"!=typeof window&&"undefined"!=typeof document,tl=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==g&&void 0!==g.env&&void 0!==g.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==g.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==g.env.REACT_APP_SC_DISABLE_SPEEDY&&g.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==g&&void 0!==g.env&&void 0!==g.env.SC_DISABLE_SPEEDY&&""!==g.env.SC_DISABLE_SPEEDY?"false"!==g.env.SC_DISABLE_SPEEDY&&g.env.SC_DISABLE_SPEEDY:"production"!==g.env.NODE_ENV),tc=/invalid hook call/i,tu=new Set,td=function(e,t){if("production"!==g.env.NODE_ENV){var n="The component ".concat(e).concat(t?' with the id of "'.concat(t,'"'):""," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.\nSee https://styled-components.c
1om/docs/basics#define-styled-components-outside-of-the-render-method for more info.\n",r=console.error;try{var s=!0;console.error=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];tc.test(e)?(s=!1,tu.delete(n)):r.apply(void 0,e_([e],t,!1))},(0,i.useRef)(),s&&!tu.has(n)&&(console.warn(n),tu.add(n))}catch(e){tc.test(e.message)&&tu.delete(n)}finally{console.error=r}}},th=Object.freeze([]),tf=Object.freeze({}),tp=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),tm=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,tg=/(^-|-$)/g;function ty(e){return e.replace(tm,"-").replace(tg,"")}var tv=/(a)(d)/gi,tb=function(e){return String.fromCharCode(e+(e>25?39:97))};function tC(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tb(t%52)+n;return(tb(t%52)+n).replace(tv,"$1-$2")}var tx,tw,tk,t_=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tS=function(e){return t_(5381,e)};function tT(e){return"production"!==g.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function tO(e){return"string"==typeof e&&("production"===g.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var tj="function"==typeof Symbol&&Symbol.for,tM=tj?Symbol.for("react.memo"):60115,tR=tj?Symbol.for("react.forward_ref"):60112,tD={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tP={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tI=((tk={})[tR]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},tk[tM]=tP,tk);function tL(e){return("type"in e&&e.type.$$typeof)===tM?tP:"$$typeof"in e?tI[e.$$typeof]:tD}var tA=Object.defineProperty,tN=Object.getOwnPropertyNames,tF=Object.getOwnPropertySymbols,tU=Object.getOwnPropertyDescriptor,tY=Object.getPrototypeOf,tH=Object.prototype;function tV(e){return"function"==typeof e}function tz(e){return"object"==typeof e&&"styledComponentId"in e}function tG(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function t$(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function tq(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function tW(e,t){Object.defineProperty(e,"toString",{value:t})}var tB="production"!==g.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.c
1om/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function tQ(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],s=1,i=e.length;s<i;s+=1)r.push(e[s]);return r.forEach(function(e){n=n.replace(/%[a-z]/,e)}),n}function tK(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return"production"===g.env.NODE_ENV?Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):Error(tQ.apply(void 0,e_([tB[e]],t,!1)).trim())}var tZ=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,s=r;e>=s;)if((s<<=1)<0)throw tK(16,"".concat(e));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var i=r;i<s;i++)this.groupSizes[i]=0}for(var o=this.indexOfGroup(e+1),a=(i=0,t.length);i<a;i++)this.tag.insertRule(o,t[i])&&(this.groupSizes[e]++,o++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var s=n;s<r;s++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),s=r+n,i=r;i<s;i++)t+="".concat(this.tag.getRule(i)).concat(to);return t},e}(),tX=new Map,tJ=new Map,t1=1,t0=function(e){if(tX.has(e))return tX.get(e);for(;tJ.has(t1);)t1++;var t=t1++;if("production"!==g.env.NODE_ENV&&((0|t)<0||t>0x40000000))throw tK(16,"".concat(t));return tX.set(e,t),tJ.set(t,e),t},t3=function(e,t){t1=t+1,tX.set(e,t),tJ.set(t,e)},t2="style[".concat(tn,"][").concat(ts,'="').concat(ti,'"]'),t4=new RegExp("^".concat(tn,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),t8=function(e,t,n){for(var r,s=n.split(","),i=0,o=s.length;i<o;i++)(r=s[i])&&e.registerName(t,r)},t6=function(e,t){for(var n,r=(null!=(n=t.textContent)?n:"").split(to),s=[],i=0,o=r.length;i<o;i++){var a=r[i].trim();if(a){var l=a.match(t4);if(l){var c=0|parseInt(l[1],10),u=l[2];0!==c&&(t3(u,c),t8(e,u,l[3]),e.getTag().insertRules(c,s)),s.length=0}else s.push(a)}}},t5=function(e){for(var t=document.querySelectorAll(t2),n=0,r=t.length;n<r;n++){var s=t[n];s&&s.getAttribute(tn)!==tr&&(t6(e,s),s.parentNode&&s.parentNode.removeChild(s))}},t9=function(e){var t,r=document.head,s=e||r,i=document.createElement("style"),o=(t=Array.from(s.querySelectorAll("style[".concat(tn,"]"))))[t.length-1],a=void 0!==o?o.nextSibling:null;i.setAttribute(tn,tr),i.setAttribute(ts,ti);var l=n.nc;return l&&i.setAttribute("nonce",l),s.insertBefore(i,a),i},t7=function(){function e(e){this.element=t9(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var s=t[n];if(s.ownerNode===e)return s}throw tK(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),ne=function(){function e(e){this.element=t9(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),nt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),nn=ta,nr={isServer:!ta,useCSSOMInjection:!tl},ns=function(){function e(e,t,n){void 0===e&&(e=tf),void 0===t&&(t={});var r=this;this.options=ek(ek({},nr),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&ta&&nn&&(nn=!1,t5(this)),tW(this,function(){for(var e=r.getTag(),t=e.length,n="",s=0;s<t;s++)!function(t){var s=tJ.get(t);if(void 0===s)return;var i=r.names.get(s),o=e.getGroup(t);
1if(void 0!==i&&i.size&&0!==o.length){var a="".concat(tn,".g").concat(t,'[id="').concat(s,'"]'),l="";void 0!==i&&i.forEach(function(e){e.length>0&&(l+="".concat(e,","))}),n+="".concat(o).concat(a,'{content:"').concat(l,'"}').concat(to)}}(s);return n})}return e.registerId=function(e){return t0(e)},e.prototype.rehydrate=function(){!this.server&&ta&&t5(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(ek(ek({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n;return this.tag||(this.tag=(t=(e=this.options).useCSSOMInjection,n=e.target,new tZ(e.isServer?new nt(n):t?new t7(n):new ne(n))))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(t0(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(t0(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(t0(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),ni=/&/g,no=/^\s*\/\/.*$/gm;function na(e){var t,n,r,s=void 0===e?tf:e,i=s.options,o=void 0===i?tf:i,a=s.plugins,l=void 0===a?th:a,c=function(e,r,s){return s.startsWith(n)&&s.endsWith(n)&&s.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===eP&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(ni,n).replace(r,c))}),o.prefix&&u.push(te),u.push(e7);var d=function(e,s,i,a){void 0===s&&(s=""),void 0===i&&(i=""),void 0===a&&(a="&"),t=a,n=s,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,h,f,p,m=e.replace(no,""),g=(f=function e(t,n,r,s,i,o,a,l,c){for(var u,d,h,f,p=0,m=0,g=a,y=0,v=0,b=0,C=1,x=1,w=1,k=0,_="",S=i,T=o,O=s,j=_;x;)switch(b=k,k=e3()){case 40:if(108!=b&&58==eV(j,g-1)){-1!=eH(j+=eY(e8(k),"&","&\f"),"&\f",eA(p?l[p-1]:0))&&(w=-1);break}case 34:case 39:case 91:j+=e8(k);break;case 9:case 10:case 13:case 32:j+=function(e){for(;eZ=e2();)if(eZ<33)e3();else break;return e4(e)>2||e4(eZ)>3?"":" "}(b);break;case 92:j+=function(e,t){for(var n;--t&&e3()&&!(eZ<48)&&!(eZ>102)&&(!(eZ>57)||!(eZ<65))&&(!(eZ>70)||!(eZ<97)););return n=eK+(t<6&&32==e2()&&32==e3()),ez(eX,e,n)}(eK-1,7);continue;case 47:switch(e2()){case 42:case 47:e$((u=function(e,t){for(;e3();)if(e+eZ===57)break;else if(e+eZ===84&&47===e2())break;return"/*"+ez(eX,t,eK-1)+"*"+eN(47===e?e:e3())}(e3(),eK),d=n,h=r,f=c,eJ(u,d,h,eE,eN(eZ),ez(u,2,-2),0,f)),c);break;default:j+="/"}break;case 123*C:l[p++]=eG(j)*w;case 125*C:case 59:case 0:switch(k){case 0:case 125:x=0;case 59+m:-1==w&&(j=eY(j,/\f/g,"")),v>0&&eG(j)-g&&e$(v>32?e5(j+";",s,r,g-1,c):e5(eY(j," ","")+";",s,r,g-2,c),c);break;case 59:j+=";";default:if(e$(O=e6(j,n,r,p,m,i,l,_,S=[],T=[],g,o),o),123===k)if(0===m)e(j,n,O,O,S,o,g,l,T);else switch(99===y&&110===eV(j,3)?100:y){case 100:case 108:case 109:case 115:e(t,O,O,s&&e$(e6(t,O,O,0,0,i,l,_,i,S=[],g,T),T),i,T,g,l,s?S:T);break;default:e(j,O,O,O,[""],T,0,l,T)}}p=m=v=0,C=w=1,_=j="",g=a;break;case 58:g=1+eG(j),v=b;default:if(C<1){if(123==k)--C;else if(125==k&&0==C++&&125==(eZ=eK>0?eV(eX,--eK):0,eB--,10===eZ&&(eB=1,eW--),eZ))continue}switch(j+=eN(k),k*C){case 38:w=m>0?1:(j+="\f",-1);break;case 44:l[p++]=(eG(j)-1)*w,w=1;break;case 64:45===e2()&&(j+=e8(e3())),y=e2(),m=g=eG(_=j+=function(e){for(;!e4(e2());)e3();return ez(eX,e,eK)}(eK)),k++;break;case 45:45===b&&2==eG(j)&&(C=0)}}return o}("",null,null,null,[""],(h=d=i||s?"".concat(i," ").concat(s," { ").concat(m," }"):m,eW=eB=1,eQ=eG(eX=h),eK=0,d=[]),0,[0],d),eX="",f);o.namespace&&(g=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(g,o.namespace));var y=[];return e9(g,(c=(l=u.concat((p=function(e){return y.push(e)},function(e){!e.root&&(e=e.return)&&p(e)}))).length,function(e,t,n,r){for(var s="",i=0;i<c;i++)s+=l[i](e,t,n,r)||"";return s})),y};return d.hash=l.length?l.reduce(function(e,t){return t.name||tK(15),t_(e,t.name)},5381).toString():"",d}var nl=new ns,nc=na(),nu=i.createContext({shouldForwardProp:void 0,styleSheet:nl,stylis:nc});nu.Consumer;var nd=i.createContext(void 0);function nh(){return(0,i.useContext)(nu)}function nf(e){var t=(0,i.useState)(e.stylisPlugins),n=t[0],r=t[1],s=nh().styleSheet,o=(0,i.useMemo)(function(){var t=s;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,s]),a=(0,i.useMemo)(function(){return na({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);(0,i.useEffect)(function(){ej(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var l=(0,i.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:o,stylis:a}},[e.shouldForwardProp,o,a]);return i.createElement(nu.Provider,{value:l},i.createElement(nd.Provider,{value:a},e.children))}var np=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=nc);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,tW(this,function(){throw tK(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=nc),this.name+e.hash},e}();function nm(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;r>="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var ng=function(e){return null==e||!1===e||""===e},ny=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!ng(r)&&(Array.isArray(r)&&r.isCss||tV(r)?t.push("".concat(nm(n),":"),r,";"):tq(r)?t.push.apply(t,e_(e_(["".concat(n," {")],ny(r),!1),["}"],!1)):t.push("".concat(nm(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in tt||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nv(e,t,n,r){if(ng(e))return[];if(tz(e))return[".".concat(e.styledComponentId)];if(tV(e)){if(!tV(e)||e.prototype&&e.prototype.isReactComponent||!t)return[e];var s=e(t);return"production"===g.env.NODE_ENV||"object"!=typeof s||Array.isArray(s)||s instanceof np||tq(s)||null===s||console.error("".concat(tT(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.c
1om/docs/advanced#referring-to-other-components for more details.")),nv(s,t,n,r)}return e instanceof np?n?(e.inject(n,r),[e.getName(r)]):[e]:tq(e)?ny(e):Array.isArray(e)?Array.prototype.concat.apply(th,e.map(function(e){return nv(e,t,n,r)})):[e.toString()]}var nb=tS(ti),nC=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===g.env.NODE_ENV&&(void 0===n||n.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(tV(n)&&!tz(n))return!1}return!0}(e),this.componentId=t,this.baseHash=t_(nb,t),this.baseStyle=n,ns.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=tG(r,this.staticRulesId);else{var s=t$(nv(this.rules,e,t,n)),i=tC(t_(this.baseHash,s)>>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(s,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tG(r,i),this.staticRulesId=i}else{for(var a=t_(this.baseHash,n.hash),l="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)l+=u,"production"!==g.env.NODE_ENV&&(a=t_(a,u));else if(u){var d=t$(nv(u,e,t,n));a=t_(a,d+c),l+=d}}if(l){var h=tC(a>>>0);t.hasNameForId(this.componentId,h)||t.insertRules(this.componentId,h,n(l,".".concat(h),void 0,this.componentId)),r=tG(r,h)}}return r},e}(),nx=i.createContext(void 0);nx.Consumer;var nw={},nk=new Set;function n_(e,t,n){var r,s,o,a,l,c,u=tz(e),d=!tO(e),h=t.attrs,f=void 0===h?th:h,p=t.componentId,m=void 0===p?(r=t.displayName,s=t.parentComponentId,nw[o="string"!=typeof r?"sc":ty(r)]=(nw[o]||0)+1,a="".concat(o,"-").concat(tC(tS(ti+o+nw[o])>>>0)),s?"".concat(s,"-").concat(a):a):p,y=t.displayName,v=void 0===y?tO(e)?"styled.".concat(e):"Styled(".concat(tT(e),")"):y,b=t.displayName&&t.componentId?"".concat(ty(t.displayName),"-").concat(t.componentId):t.componentId||m,C=u&&e.attrs?e.attrs.concat(f).filter(Boolean):f,x=t.shouldForwardProp;if(u&&e.shouldForwardProp){var w=e.shouldForwardProp;if(t.shouldForwardProp){var k=t.shouldForwardProp;x=function(e,t){return w(e,t)&&k(e,t)}}else x=w}var _=new nC(n,b,u?e.componentStyle:void 0);function S(e,t){return function(e,t,n){var r,s,o,a=e.attrs,l=e.componentStyle,c=e.defaultProps,u=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=i.useContext(nx),p=nh(),m=e.shouldForwardProp||p.shouldForwardProp;"production"!==g.env.NODE_ENV&&(0,i.useDebugValue)(d);var y=(void 0===(r=c)&&(r=tf),t.theme!==r.theme&&t.theme||f||r.theme||tf),v=function(e,t,n){for(var r,s=ek(ek({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var o=tV(r=e[i])?r(s):r;for(var a in o)s[a]="className"===a?tG(s[a],o[a]):"style"===a?ek(ek({},s[a]),o[a]):o[a]}return t.className&&(s.className=tG(s.className,t.className)),s}(a,t,y),b=v.as||h,C={};for(var x in v)void 0===v[x]||"$"===x[0]||"as"===x||"theme"===x&&v.theme===y||("forwardedAs"===x?C.as=v.forwardedAs:m&&!m(x,b)||(C[x]=v[x],m||"development"!==g.env.NODE_ENV||eT(x)||nk.has(x)||!tp.has(b)||(nk.add(x),console.warn('styled-components: it looks like an unknown prop "'.concat(x,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var w=(s=nh(),o=l.generateAndInjectStyles(v,s.styleSheet,s.stylis),"production"!==g.env.NODE_ENV&&(0,i.useDebugValue)(o),o);"production"!==g.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(w);var k=tG(u,d);return w&&(k+=" "+w),v.className&&(k+=" "+v.className),C[tO(b)&&!tp.has(b)?"class":"className"]=k,n&&(C.ref=n),(0,i.createElement)(b,C)}(T,e,t)}S.displayName=v;var T=i.forwardRef(S);return T.attrs=C,T.componentStyle=_,T.displayName=v,T.shouldForwardProp=x,T.foldedComponentIds=u?tG(e.foldedComponentIds,e.styledComponentId):"",T.styledComponentId=b,T.target=u?e.target:e,Object.defineProperty(T,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=u?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++)!function e(t,n,r){if(void 0===r&&(r=!1),!r&&!tq(t)&&!Array.isArray(t))return n;if(Array.isArray(n))for(var s=0;s<n.length;s++)t[s]=e(t[s],n[s]);else if(tq(n))for(var s in n)t[s]=e(t[s],n[s]);return t}(e,t[r],!0);return e}({},e.defaultProps,t):t}}),"production"!==g.env.NODE_ENV&&(td(v,b),l={}
1,c=!1,T.warnTooManyClasses=function(e){!c&&(l[e]=!0,Object.keys(l).length>=200)&&(console.warn("Over ".concat(200," classes were generated for component ").concat(v).concat(b?' with the id of "'.concat(b,'"'):"",".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),c=!0,l={})}),tW(T,function(){return".".concat(T.styledComponentId)}),d&&function e(t,n,r){if("string"!=typeof n){if(tH){var s=tY(n);s&&s!==tH&&e(t,s,r)}var i=tN(n);tF&&(i=i.concat(tF(n)));for(var o=tL(t),a=tL(n),l=0;l<i.length;++l){var c=i[l];if(!(c in tE||r&&r[c]||a&&c in a||o&&c in o)){var u=tU(n,c);try{tA(t,c,u)}catch(e){}}}}return t}(T,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),T}function nS(e,t){for(var n=[e[0]],r=0,s=t.length;r<s;r+=1)n.push(t[r],e[r+1]);return n}var nT=function(e){return Object.assign(e,{isCss:!0})};function nO(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return tV(e)||tq(e)?nT(nv(nS(th,e_([e],t,!0)))):0===t.length&&1===e.length&&"string"==typeof e[0]?nv(e):nT(nv(nS(e,t)))}var nj=function(e){return function e(t,n,r){if(void 0===r&&(r=tf),!n)throw tK(1,n);var s=function(e){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return t(n,r,nO.apply(void 0,e_([e],s,!1)))};return s.attrs=function(s){return e(t,n,ek(ek({},r),{attrs:Array.prototype.concat(r.attrs,s).filter(Boolean)}))},s.withConfig=function(s){return e(t,n,ek(ek({},r),s))},s}(n_,e)};tp.forEach(function(e){nj[e]=nj(e)}),"production"!==g.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var nM="__sc-".concat(tn,"__");"production"!==g.env.NODE_ENV&&"test"!==g.env.NODE_ENV&&"undefined"!=typeof window&&(window[nM]||(window[nM]=0),1===window[nM]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window[nM]+=1);let nR=(0,i.createContext)({rootDir:"",projectId:"",position:"bottom-right",pathname:"",isOpen:!1,feedbacks:[],newFeedback:null,newFeedbackRef:i.createRef(),selectedFeedback:{},setSelectedFeedback:{},resetFeedback:()=>{},activateFeedbackMode:()=>{},deactivateFeedbackMode:()=>{},shouldCaptureEventsRef:{current:!0},openFeedbackOverlay:()=>{},closeFeedbackOverlay:()=>{},navigate:async e=>Promise.resolve(),notionDatabaseId:""}),nD=()=>(0,i.useContext)(nR),nE=nj.button` 2 all: unset; 3 display: flex; 4 flex-direction: row; 5 flex-shrink: 0; 6 align-items: center; 7 gap: 8px; 8 padding: ${({$padding:e})=>e}; 9 border-radius: ${({$borderRadius:e})=>e}; 10 background-color: #3b82f6; 11 cursor: pointer; 12 & * { 13 cursor: pointer; 14 } 15 &:hover { 16 opacity: 0.8; 17 } 18`,nP=nj.img` 19 width: 24px; 20 height: 24px; 21`,nI=nj.span` 22 font-family: "Kumbh Sans", sans-serif; 23 font-weight: 600; 24 font-size: ${({$fontSize:e})=>e}; 25`,nL=({text:e,onClick:t,iconPath:n,size:r})=>{let i=nA(r),o="small"===r?"12px":"14px",a="small"===r?"8px":"12px";return(0,s.jsxs)(nE,{$padding:i,$borderRadius:a,onClick:t,children:[n&&(0,s.jsx)(nP,{src:n}),e&&(0,s.jsx)(nI,{$fontSize:o,children:e})]})},nA=e=>"small"===e?"8px 12px":"12px",nN=nj.div` 26 position: absolute; 27 top: -6px; 28 right: -6px; 29 width: 20px; 30 height: 20px; 31 border-radius: 50%; 32 background-color: #ff2462; 33 display: flex; 34 align-items: center; 35 justify-content: center; 36 font-size: 12px; 37 font-weight: 700; 38 color: #fff; 39`,nF=()=>{let{isOpen:e,openFeedbackOverlay:t,position:n,feedbacks:r}=nD(),[o,a]=(0,i.useState)(n.includes("top")?12:window.innerHeight-60),[l,c]=(0,i.useState)(n.includes("left")?12:window.innerWidth-72),u=e=>{var n;document.activeElement instanceof HTMLInputElement||document.activeElement instanceof HTMLTextAreaElement||document.activeElement instanceof HTMLSelectElement||e.metaKey||e.shiftKey||e.ctrlKey||(null==(n=e.key)?void 0:n.toLowerCase())!=="c"||t()};if((0,i.useEffect)(()=>(window.addEventListener("keydown",u),()=>{window.removeEventListener("keydown",u)}),[]),(0,i.useEffect)(()=>{window.addEventListener("resize",()=>{a(n.includes("top")?12:window.innerHeight-60),c(n.includes("left")?12:window.innerWidth-72)})},[n]),e)return null;let d=null==r?void 0:r.filter(e=>!e.readBy||0===e.readBy.length).length;return(0,s.jsx)("div",{onDrag:e=>{0!==e.nativeEvent.clientX&&(a(e.nativeEvent.clientY-24),c(e.nativeEvent.clientX-24))},onDragOver:e=>{e.preventDefault()},style:{position:"fixed",top:o,left:l,zIndex:0x7fffffff},children:(0,s.jsxs)("div",{children:[(0,s.jsx)(nL,{iconPath:"data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M18.0623 14.3849C18.402 14.6955 18.4256 15.2226 18.1151 15.5623L17.2817 16.474C16.
396904 17.1206 15.8715 17.5 15.0001 17.5C14.1291 17.5 13.3105 17.121 12.7192 16.4746C12.426 16.1552 12.0457 15.9917 11.6669 15.9917C11.2878 15.9917 10.9074 16.1554 10.6141 16.4751C10.3029 16.8142 9.77577 16.8369 9.43664 16.5257C9.09752 16.2146 9.07484 15.6874 9.38598 15.3483C9.97792 14.7031 10.7962 14.325 11.6669 14.325C12.5375 14.325 13.3558 14.7031 13.9477 15.3483L13.9487 15.3494C14.2414 15.6695 14.6215 15.8333 15.0001 15.8333C15.3788 15.8333 15.7588 15.6695 16.0515 15.3494V15.3494L16.885 14.4377C17.1955 14.098 17.7226 14.0744 18.0623 14.3849Z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.1608 2.3274C14.1766 1.3116 15.8235 1.3116 16.8393 2.3274C17.8551 3.34319 17.8551 4.99011 16.8393 6.00591L6.37037 16.4749C6.35387 16.4914 6.33753 16.5077 6.32131 16.524C6.08177 16.764 5.87057 16.9756 5.61596 17.1316C5.39228 17.2687 5.14841 17.3697 4.89332 17.4309C4.60295 17.5006 4.30399 17.5003 3.96491 17.5C3.94196 17.5 3.91883 17.5 3.8955 17.5H2.50004C2.03981 17.5 1.66671 17.1269 1.66671 16.6667V15.2712C1.66671 15.2479 1.66669 15.2248 1.66667 15.2018C1.66635 14.8627 1.66607 14.5638 1.73579 14.2734C1.79703 14.0183 1.89804 13.7744 2.03511 13.5508C2.19114 13.2961 2.40273 13.0849 2.64272 12.8454C2.65897 12.8292 2.67534 12.8128 2.69184 12.7963L13.1608 2.3274Z' fill='white'/%3e%3c/svg%3e",onClick:t,size:"medium"}),!!d&&d>0&&(0,s.jsx)(nN,{children:d})]})})};var nU={exports:{}},nY=(nU.exports,eO(function(){var e;return r?nU.exports:(r=1,e=function(){function e(){return U.apply(null,arguments)}function t(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function n(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){var t;if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(t in e)if(r(e,t))return!1;return!0}function i(e){return void 0===e}function o(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function a(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[],s=e.length;for(n=0;n<s;++n)r.push(t(e[n],n));return r}function c(e,t){for(var n in t)r(t,n)&&(e[n]=t[n]);return r(t,"toString")&&(e.toString=t.toString),r(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,r){return tr(e,t,n,r,!0).utc()}function d(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){var t=null,n=!1,r=e._d&&!isNaN(e._d.getTime());return(r&&(t=d(e),n=Y.call(t.parsedDateParts,function(e){return null!=e}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e))?r:(e._isValid=r,e._isValid)}function f(e){var t=u(NaN);return null!=e?c(d(t),e):d(t).userInvalidated=!0,t}Y=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var p,m,g=e.momentProperties=[],y=!1;function v(e,t){var n,r,s,o=g.length;if(i(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),i(t._i)||(e._i=t._i),i(t._f)||(e._f=t._f),i(t._l)||(e._l=t._l),i(t._strict)||(e._strict=t._strict),i(t._tzm)||(e._tzm=t._tzm),i(t._isUTC)||(e._isUTC=t._isUTC),i(t._offset)||(e._offset=t._offset),i(t._pf)||(e._pf=d(t)),i(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)i(s=t[r=g[n]])||(e[r]=s);return e}function b(t){v(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,e.updateOffset(this),y=!1)}function C(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function x(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function w(t,n){var s=!0;return c(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),s){var i,o,a,l=[],c=arguments.length;for(o=0;o<c;o++){if(i="","object"==typeof arguments[o]){for(a in i+="\n["+o+"] ",arguments[0])r(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[o];l.push(i)}x(t+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+Error().stack),s=!1}return n.apply(this,arguments)},n)}var k={};function _(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),k[t]||(x(n),k[t]=!0)}function S(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var s,i=c({},e);for(s in t)r(t,s)&&(n(e[s])&&n(t[s])?(i[s]={},c(i[s],e[s]),c(i[s],t[s])):null!=t[s]?i[s]=t[s]:delete i[s]);for(s in e)r(e,s)&&!r(t,s)&&n(e[s])&&(i[s]=c({},i[s]));return i}function O(e){null!=e&&this.set(e)}function j(e,t,n){var r=""+Math.abs(e);return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var M=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
39|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,D={},E={};function P(e,t,n,r){var s=r;"string"==typeof r&&(s=function(){return this[r]()}),e&&(E[e]=s),t&&(E[t[0]]=function(){return j(s.apply(this,arguments),t[1],t[2])}),n&&(E[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function I(e,t){return e.isValid()?(D[t=L(t,e.localeData())]=D[t]||function(e){var t,n,r,s=e.match(M);for(n=0,r=s.length;n<r;n++)E[s[n]]?s[n]=E[s[n]]:s[n]=(t=s[n]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){var n,i="";for(n=0;n<r;n++)i+=S(s[n])?s[n].call(t,e):s[n];return i}}(t),D[t](e)):e.localeData().invalidDate()}function L(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(R.lastIndex=0;n>=0&&R.test(e);)e=e.replace(R,r),R.lastIndex=0,n-=1;return e}var A={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function N(e){return"string"==typeof e?A[e]||A[e.toLowerCase()]:void 0}function F(e){var t,n,s={};for(n in e)r(e,n)&&(t=N(n))&&(s[t]=e[n]);return s}var U,Y,H,V={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},z=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)r(e,t)&&n.push(t);return n},G=/\d/,$=/\d\d/,q=/\d{3}/,W=/\d{4}/,B=/[+-]?\d{6}/,Q=/\d\d?/,K=/\d\d\d\d?/,Z=/\d\d\d\d\d\d?/,X=/\d{1,3}/,J=/\d{1,4}/,ee=/[+-]?\d{1,6}/,et=/\d+/,en=/[+-]?\d+/,er=/Z|[+-]\d\d:?\d\d/gi,es=/Z|[+-]\d\d(?::?\d\d)?/gi,ei=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,eo=/^[1-9]\d?/,ea=/^([1-9]\d|\d)/;function el(e,t,n){H[e]=S(t)?t:function(e,r){return e&&n?n:t}}function ec(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function eu(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ed(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=eu(t)),n}H={};var eh={};function ef(e,t){var n,r,s=t;
39for("string"==typeof e&&(e=[e]),o(t)&&(s=function(e,n){n[t]=ed(e)}),r=e.length,n=0;n<r;n++)eh[e[n]]=s}function ep(e,t){ef(e,function(e,n,r,s){r._w=r._w||{},t(e,r._w,r,s)})}function em(e){return e%4==0&&e%100!=0||e%400==0}function eg(e){return em(e)?366:365}P("Y",0,0,function(){var e=this.year();return e<=9999?j(e,4):"+"+e}),P(0,["YY",2],0,function(){return this.year()%100}),P(0,["YYYY",4],0,"year"),P(0,["YYYYY",5],0,"year"),P(0,["YYYYYY",6,!0],0,"year"),el("Y",en),el("YY",Q,$),el("YYYY",J,W),el("YYYYY",ee,B),el("YYYYYY",ee,B),ef(["YYYYY","YYYYYY"],0),ef("YYYY",function(t,n){n[0]=2===t.length?e.parseTwoDigitYear(t):ed(t)}),ef("YY",function(t,n){n[0]=e.parseTwoDigitYear(t)}),ef("Y",function(e,t){t[0]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return ed(e)+(ed(e)>68?1900:2e3)};var ey=ev("FullYear",!0);function ev(t,n){return function(r){return null!=r?(eC(this,t,r),e.updateOffset(this,n),this):eb(this,t)}}function eb(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function eC(e,t,n){var r,s,i,o;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,s=e._isUTC,t){case"Milliseconds":return void(s?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(s?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(s?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(s?r.setUTCHours(n):r.setHours(n));case"Date":return void(s?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=e.month(),o=29!==(o=e.date())||1!==i||em(n)?o:28,s?r.setUTCFullYear(n,i,o):r.setFullYear(n,i,o)}}function ex(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1===n?em(e)?29:28:31-n%7%2}eH=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return -1},P("M",["MM",2],"Mo",function(){return this.month()+1}),P("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),P("MMMM",0,0,function(e){return this.localeData().months(this,e)}),el("M",Q,eo),el("MM",Q,$),el("MMM",function(e,t){return t.monthsShortRegex(e)}),el("MMMM",function(e,t){return t.monthsRegex(e)}),ef(["M","MM"],function(e,t){t[1]=ed(e)-1}),ef(["MMM","MMMM"],function(e,t,n,r){var s=n._locale.monthsParse(e,r,n._strict);null!=s?t[1]=s:d(n).invalidMonth=e});var ew="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ek=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/;function e_(e,t,n){var r,s,i,o=e.toLocaleLowerCase();if(!this._monthsParse)for(r=0,this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[];r<12;++r)i=u([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();if(n)if("MMM"===t)return -1!==(s=eH.call(this._shortMonthsParse,o))?s:null;else return -1!==(s=eH.call(this._longMonthsParse,o))?s:null;return"MMM"===t?-1!==(s=eH.call(this._shortMonthsParse,o))||-1!==(s=eH.call(this._longMonthsParse,o))?s:null:-1!==(s=eH.call(this._longMonthsParse,o))||-1!==(s=eH.call(this._shortMonthsParse,o))?s:null}function eS(e,t){if(!e.isValid())return e;if("string"==typeof t){if(/^\d+$/.test(t))t=ed(t);else if(!o(t=e.localeData().monthsParse(t)))return e}var n=t,r=e.date();return r=r<29?r:Math.min(r,ex(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function eT(t){return null!=t?(eS(this,t),e.updateOffset(this,!0),this):eb(this,"Month")}function eO(){function e(e,t){return t.length-e.length}var t,n,r,s,i=[],o=[],a=[];for(t=0;t<12;t++)n=u([2e3,t]),r=ec(this.monthsShort(n,"")),s=ec(this.months(n,"")),i.push(r),o.push(s),a.push(s),a.push(r);i.sort(e),o.sort(e),a.sort(e),this._monthsRegex=RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=RegExp("^("+i.join("|")+")","i")}function ej(e,t,n,r,s,i,o){var a;return e<100&&e>=0?isFinite((a=new Date(e+400,t,n,r,s,i,o)).getFullYear())&&a.setFullYear(e):a=new Date(e,t,n,r,s,i,o),a}function eM(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,isFinite((t=new Date(Date.UTC.apply(null,n))).getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function eR(e,t,n){var r=7+t-n;return-((7+eM(e,0,r).getUTCDay()-t)%7)+r-1}
39function eD(e,t,n,r,s){var i,o,a=1+7*(t-1)+(7+n-r)%7+eR(e,r,s);return a<=0?o=eg(i=e-1)+a:a>eg(e)?(i=e+1,o=a-eg(e)):(i=e,o=a),{year:i,dayOfYear:o}}function eE(e,t,n){var r,s,i=eR(e.year(),t,n),o=Math.floor((e.dayOfYear()-i-1)/7)+1;return o<1?r=o+eP(s=e.year()-1,t,n):o>eP(e.year(),t,n)?(r=o-eP(e.year(),t,n),s=e.year()+1):(s=e.year(),r=o),{week:r,year:s}}function eP(e,t,n){var r=eR(e,t,n),s=eR(e+1,t,n);return(eg(e)-r+s)/7}function eI(e,t){return e.slice(t,7).concat(e.slice(0,t))}P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),el("w",Q,eo),el("ww",Q,$),el("W",Q,eo),el("WW",Q,$),ep(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=ed(e)}),P("d",0,"do","day"),P("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),P("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),P("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),P("e",0,0,"weekday"),P("E",0,0,"isoWeekday"),el("d",Q),el("e",Q),el("E",Q),el("dd",function(e,t){return t.weekdaysMinRegex(e)}),el("ddd",function(e,t){return t.weekdaysShortRegex(e)}),el("dddd",function(e,t){return t.weekdaysRegex(e)}),ep(["dd","ddd","dddd"],function(e,t,n,r){var s=n._locale.weekdaysParse(e,r,n._strict);null!=s?t.d=s:d(n).invalidWeekday=e}),ep(["d","e","E"],function(e,t,n,r){t[r]=ed(e)});var eL="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function eA(e,t,n){var r,s,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(r=0,this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[];r<7;++r)i=u([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();if(n)if("dddd"===t)return -1!==(s=eH.call(this._weekdaysParse,o))?s:null;else if("ddd"===t)return -1!==(s=eH.call(this._shortWeekdaysParse,o))?s:null;else return -1!==(s=eH.call(this._minWeekdaysParse,o))?s:null;return"dddd"===t?-1!==(s=eH.call(this._weekdaysParse,o))||-1!==(s=eH.call(this._shortWeekdaysParse,o))||-1!==(s=eH.call(this._minWeekdaysParse,o))?s:null:"ddd"===t?-1!==(s=eH.call(this._shortWeekdaysParse,o))||-1!==(s=eH.call(this._weekdaysParse,o))||-1!==(s=eH.call(this._minWeekdaysParse,o))?s:null:-1!==(s=eH.call(this._minWeekdaysParse,o))||-1!==(s=eH.call(this._weekdaysParse,o))||-1!==(s=eH.call(this._shortWeekdaysParse,o))?s:null}function eN(){function e(e,t){return t.length-e.length}var t,n,r,s,i,o=[],a=[],l=[],c=[];for(t=0;t<7;t++)n=u([2e3,1]).day(t),r=ec(this.weekdaysMin(n,"")),s=ec(this.weekdaysShort(n,"")),i=ec(this.weekdays(n,"")),o.push(r),a.push(s),l.push(i),c.push(r),c.push(s),c.push(i);o.sort(e),a.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=RegExp("^("+o.join("|")+")","i")}function eF(){return this.hours()%12||12}function eU(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function eY(e,t){return t._meridiemParse}P("H",["HH",2],0,"hour"),P("h",["hh",2],0,eF),P("k",["kk",2],0,function(){return this.hours()||24}),P("hmm",0,0,function(){return""+eF.apply(this)+j(this.minutes(),2)}),P("hmmss",0,0,function(){return""+eF.apply(this)+j(this.minutes(),2)+j(this.seconds(),2)}),P("Hmm",0,0,function(){return""+this.hours()+j(this.minutes(),2)}),P("Hmmss",0,0,function(){return""+this.hours()+j(this.minutes(),2)+j(this.seconds(),2)}),eU("a",!0),eU("A",!1),el("a",eY),el("A",eY),el("H",Q,ea),el("h",Q,eo),el("k",Q,eo),el("HH",Q,$),el("hh",Q,$),el("kk",Q,$),el("hmm",K),el("hmmss",Z),el("Hmm",K),el("Hmmss",Z),ef(["H","HH"],3),ef(["k","kk"],function(e,t,n){var r=ed(e);t[3]=24===r?0:r}),ef(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ef(["h","hh"],function(e,t,n){t[3]=ed(e),d(n).bigHour=!0}),ef("hmm",function(e,t,n){var r=e.length-2;t[3]=ed(e.substr(0,r)),t[4]=ed(e.substr(r)),d(n).bigHour=!0}),ef("hmmss",function(e,t,n){var r=e.length-4,s=e.length-2;t[3]=ed(e.substr(0,r)),t[4]=ed(e.substr(r,2)),t[5]=ed(e.substr(s)),d(n).bigHour=!0}),ef("Hmm",function(e,t,n){var r=e.length-2;t[3]=ed(e.substr(0,r)),t[4]=ed(e.substr(r))}),ef("Hmmss",function(e,t,n){var r=e.length-4,s=e.length-2;t[3]=ed(e.substr(0,r)),t[4]=ed(e.substr(r,2)),t[5]=ed(e.substr(s))});var eH,eV,ez=ev("Hours",!0),eG={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:ew,week:{dow:0,doy:6},weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysShort:eL,meridiemParse:/[ap]\.?m?\.?/i},e$={},eq={};function eW(e){return e?e.toLowerCase().replace("_","-"):e}function eB(e){var t=null;if(void 0===e$[e]&&nU&&nU.exports&&e&&e.match("^[^/\\\\]*$"))try{t=eV._abbr,function(e){throw Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}("./locale/"+e),eQ(t)}catch(t){e$[e]=null}return e$[e]}function eQ(e,t){var n;return e&&((n=i(t)?eZ(e):eK(e,t))?eV=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),eV._abbr}function eK(e,t){if(null===t)return delete e$[e],null;var n,r=eG;if(t.abbr=e,null!=e$[e])_("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=e$[e]._config;else if(null!=t.parentLocale)if(null!=e$[t.parentLocale])r=e$[t.parentLocale]._config;else{if(null==(n=eB(t.parentLocale)))return eq[t.parentLocale]||(eq[t.parentLocale]=[]),eq[t.parentLocale].push({name:e,config:t}),null;r=n._config}return e$[e]=new O(T(r,t)),eq[e]&&eq[e].forEach(function(e){eK(e.name,e.config)}),eQ(e),e$[e]}function eZ(e){var n;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return eV;if(!t(e)){if(n=eB(e))return n;e=[e]}return function(e){for(var t,n,r,s,i=0;i<e.length;){for(t=(s=eW(e[i]).split("-")).length,n=(n=eW(e[i+1]))?n.split("-"):null;t>0;){if(r=eB(s.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}(s,n)>=t-1)break;t--}i++}return eV}(e)}function eX(e){var t,n=e._a;return n&&-2===d(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ex(n[0],n[1])?2:n[3]<0||n[3]>
3924||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,d(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),d(e)._overflowWeeks&&-1===t&&(t=7),d(e)._overflowWeekday&&-1===t&&(t=8),d(e).overflow=t),e}var eJ=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e1=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e0=/Z|[+-]\d\d(?::?\d\d)?/,e3=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],e2=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],e4=/^\/?Date\((-?\d+)/i,e8=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,e6={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function e5(e){var t,n,r,s,i,o,a=e._i,l=eJ.exec(a)||e1.exec(a),c=e3.length,u=e2.length;if(l){for(t=0,d(e).iso=!0,n=c;t<n;t++)if(e3[t][1].exec(l[1])){s=e3[t][0],r=!1!==e3[t][2];break}if(null==s){e._isValid=!1;return}if(l[3]){for(t=0,n=u;t<n;t++)if(e2[t][1].exec(l[3])){i=(l[2]||" ")+e2[t][0];break}if(null==i){e._isValid=!1;return}}if(!r&&null!=i){e._isValid=!1;return}if(l[4])if(e0.exec(l[4]))o="Z";else{e._isValid=!1;return}e._f=s+(i||"")+(o||""),tt(e)}else e._isValid=!1}function e9(e){var t,n,r,s,i,o,a,l,c,u,h,f=e8.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(f){if(i=f[4],o=f[3],a=f[2],l=f[5],c=f[6],u=f[7],h=[(t=parseInt(i,10))<=49?2e3+t:t<=999?1900+t:t,ew.indexOf(o),parseInt(a,10),parseInt(l,10),parseInt(c,10)],u&&h.push(parseInt(u,10)),n=f[1],r=h,s=e,n&&eL.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()&&(d(s).weekdayMismatch=!0,s._isValid=!1,1))return;e._a=h,e._tzm=function(e,t,n){if(e)return e6[e];if(t)return 0;var r=parseInt(n,10),s=r%100;return(r-s)/100*60+s}(f[8],f[9],f[10]),e._d=eM.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),d(e).rfc2822=!0}else e._isValid=!1}function e7(e,t,n){return null!=e?e:null!=t?t:n}function te(t){var n,r,s,i,o,a,l,c,u,h,f,p,m,g,y,v,b=[];if(!t._d){for(f=new Date(e.now()),g=t._useUTC?[f.getUTCFullYear(),f.getUTCMonth(),f.getUTCDate()]:[f.getFullYear(),f.getMonth(),f.getDate()],t._w&&null==t._a[2]&&null==t._a[1]&&(null!=(r=(n=t)._w).GG||null!=r.W||null!=r.E?(a=1,l=4,s=e7(r.GG,n._a[0],eE(ts(),1,4).year),i=e7(r.W,1),((o=e7(r.E,1))<1||o>7)&&(u=!0)):(a=n._locale._week.dow,l=n._locale._week.doy,h=eE(ts(),a,l),s=e7(r.gg,n._a[0],h.year),i=e7(r.w,h.week),null!=r.d?((o=r.d)<0||o>6)&&(u=!0):null!=r.e?(o=r.e+a,(r.e<0||r.e>6)&&(u=!0)):o=a),i<1||i>eP(s,a,l)?d(n)._overflowWeeks=!0:null!=u?d(n)._overflowWeekday=!0:(c=eD(s,i,o,a,l),n._a[0]=c.year,n._dayOfYear=c.dayOfYear)),null!=t._dayOfYear&&(v=e7(t._a[0],g[0]),(t._dayOfYear>eg(v)||0===t._dayOfYear)&&(d(t)._overflowDayOfYear=!0),m=eM(v,0,t._dayOfYear),t._a[1]=m.getUTCMonth(),t._a[2]=m.getUTCDate()),p=0;p<3&&null==t._a[p];++p)t._a[p]=b[p]=g[p];for(;p<7;p++)t._a[p]=b[p]=null==t._a[p]?+(2===p):t._a[p];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?eM:ej).apply(null,b),y=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==y&&(d(t).weekdayMismatch=!0)}}function tt(t){if(t._f===e.ISO_8601)return void e5(t);if(t._f===e.RFC_2822)return void e9(t);t._a=[],d(t).empty=!0;var n,s,i,o,a,l,c,u,h,f,p,m=""+t._i,g=m.length,y=0;for(a=0,p=(c=L(t._f,t._locale).match(M)||[]).length;a<p;a++)if(u=c[a],(l=(m.match(!r(H,u)?new RegExp(ec(u.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,s
39){return t||n||r||s}))):H[u](t._strict,t._locale))||[])[0])&&((h=m.substr(0,m.indexOf(l))).length>0&&d(t).unusedInput.push(h),m=m.slice(m.indexOf(l)+l.length),y+=l.length),E[u])l?d(t).empty=!1:d(t).unusedTokens.push(u),null!=l&&r(eh,u)&&eh[u](l,t._a,t,u);else t._strict&&!l&&d(t).unusedTokens.push(u);d(t).charsLeftOver=g-y,m.length>0&&d(t).unusedInput.push(m),t._a[3]<=12&&!0===d(t).bigHour&&t._a[3]>0&&(d(t).bigHour=void 0),d(t).parsedDateParts=t._a.slice(0),d(t).meridiem=t._meridiem,t._a[3]=(n=t._locale,s=t._a[3],null==(i=t._meridiem)?s:null!=n.meridiemHour?n.meridiemHour(s,i):(null!=n.isPM&&((o=n.isPM(i))&&s<12&&(s+=12),o||12!==s||(s=0)),s)),null!==(f=d(t).era)&&(t._a[0]=t._locale.erasConvertYear(f,t._a[0])),te(t),eX(t)}function tn(r){var s=r._i,u=r._f;return(r._locale=r._locale||eZ(r._l),null===s||void 0===u&&""===s)?f({nullInput:!0}):("string"==typeof s&&(r._i=s=r._locale.preparse(s)),C(s))?new b(eX(s)):(a(s)?r._d=s:t(u)?!function(e){var t,n,r,s,i,o,a=!1,l=e._f.length;if(0===l){d(e).invalidFormat=!0,e._d=new Date(NaN);return}for(s=0;s<l;s++)i=0,o=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[s],tt(t),h(t)&&(o=!0),i+=d(t).charsLeftOver,i+=10*d(t).unusedTokens.length,d(t).score=i,a?i<r&&(r=i,n=t):(null==r||i<r||o)&&(r=i,n=t,o&&(a=!0));c(e,n||t)}(r):u?tt(r):function(r){var s=r._i;if(i(s))r._d=new Date(e.now());else if(a(s))r._d=new Date(s.valueOf());else if("string"==typeof s)!function(t){var n=e4.exec(t._i);if(null!==n){t._d=new Date(+n[1]);return}if(e5(t),!1===t._isValid)delete t._isValid,e9(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:e.createFromInputFallback(t))}(r);else if(t(s))r._a=l(s.slice(0),function(e){return parseInt(e,10)}),te(r);else if(n(s)){if(!r._d){var c=F(r._i),u=void 0===c.day?c.date:c.day;r._a=l([c.year,c.month,u,c.hour,c.minute,c.second,c.millisecond],function(e){return e&&parseInt(e,10)}),te(r)}}else o(s)?r._d=new Date(s):e.createFromInputFallback(r)}(r),h(r)||(r._d=null),r)}function tr(e,r,i,o,a){var l,c={};return(!0===r||!1===r)&&(o=r,r=void 0),(!0===i||!1===i)&&(o=i,i=void 0),(n(e)&&s(e)||t(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=a,c._l=i,c._i=e,c._f=r,c._strict=o,(l=new b(eX(tn(c))))._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function ts(e,t,n,r){return tr(e,t,n,r,!1)}e.createFromInputFallback=w("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var ti=w("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=ts.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:f()}),to=w("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=ts.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:f()});function ta(e,n){var r,s;if(1===n.length&&t(n[0])&&(n=n[0]),!n.length)return ts();for(s=1,r=n[0];s<n.length;++s)(!n[s].isValid()||n[s][e](r))&&(r=n[s]);return r}var tl=["year","quarter","month","week","day","hour","minute","second","millisecond"];function tc(e){var t=F(e),n=t.year||0,s=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,c=t.minute||0,u=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,s=!1,i=tl.length;for(t in e)if(r(e,t)&&!(-1!==eH.call(tl,t)&&(null==e[t]||!isNaN(e[t]))))return!1;for(n=0;n<i;++n)if(e[tl[n]]){if(s)return!1;parseFloat(e[tl[n]])!==ed(e[tl[n]])&&(s=!0)}return!0}(t),this._milliseconds=+d+1e3*u+6e4*c+1e3*l*3600,this._days=+a+7*o,this._months=+i+3*s+12*n,this._data={},this._locale=eZ(),this._bubble()}function tu(e){return e instanceof tc}function td(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function th(e,t){P(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+j(~~(e/60),2)+t+j(~~e%60,2)})}th("Z",":"),th("ZZ",""),el("Z",es),el("ZZ",es),ef(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=tp(es,e)});var tf=/([\+\-]|\d\d)/gi;function tp(e,t){var n,r,s=(t||"").match(e);return null===s?null:0===(r=+(60*(n=((s[s.length-1]||[])+"").match(tf)||["-",0,0])[1])+ed(n[2]))?0:"+"===n[0]?r:-r}function tm(t,n){var r,s;return n._isUTC?(r=n.clone(),s=(C(t)||a(t)?t.valueOf():ts(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),e.updateOffset(r,!1),r):ts(t).local()}function tg(e){return-Math.round(e._d.getTimezoneOffset())}function ty(){return!!this.isValid()&&this._isUTC&&0===this._offset}e.updateOffset=function(){};var tv=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,tb=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function tC(e,t){var n,s,i,a,l,c,u=e,d=null;return tu(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:o(e)||!isNaN(+e)?(u={},t?u[t]=+e:u.milliseconds=+e):(d=tv.exec(e))?(a="-"===d[1]?-1:1,u={y:0,d:ed(d[2])*a,h:ed(d[3])*a,m:ed(d[4])*a,s:ed(d[5])*a,ms:ed(td(1e3*d[6]))*a}):(d=tb.exec(e))?(a="-"===d[1]?-1:1,u={y:tx(d[2],a),M:tx(d[3],a),w:tx(d[4],a),d:tx(d[5],a),h:tx(d[6],a),m:tx(d[7],a),s:tx(d[8],a)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(n=ts(u.from),s=ts(u.to),c=n.isValid()&&s.isValid()?(s=tm(s,n),n.isBefore(s)?i=tw(n,s):((i=tw(s,n)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(u={}).ms=c.milliseconds,u.M=c.months),l=new tc(u),tu(e)&&r(e,"_locale")&&(l._locale=e._locale),tu(e)&&r(e,"_isValid")&&(l._isValid=e._isValid),l}function tx(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function tw(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=t-e.clone().add(n.months,"M"),n}function tk(e,t){return function(n,r){var s;return null===r||isNaN(+r)||(_(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=n,n=r,r=s),t_(this,tC(n,r),e),this}}function t_(t,n,r,s){var i=n._milliseconds,o=td(n._days),a=td(n._months);t.isValid()&&(s=null==s||s,a&&eS(t,eb(t,"Month")+a*r),o&&eC(t,"Date",eb(t,"Date")+o*r),i&&t._d.setTime(t._d.valueOf()+i*r),s&&e.updateOffset(t,o||a))}tC.fn=tc.prototype,tC.invalid=function(){return tC(NaN)};
39var tS=tk(1,"add"),tT=tk(-1,"subtract");function tO(e){return"string"==typeof e||e instanceof String}function tj(e,t){if(e.date()<t.date())return-tj(t,e);var n,r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months");return n=t-s<0?(t-s)/(s-e.clone().add(r-1,"months")):(t-s)/(e.clone().add(r+1,"months")-s),-(r+n)||0}function tM(e){var t;return void 0===e?this._locale._abbr:(null!=(t=eZ(e))&&(this._locale=t),this)}e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var tR=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function tD(){return this._locale}function tE(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function tP(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function tI(e,t){return t.erasAbbrRegex(e)}function tL(){var e,t,n,r,s,i=[],o=[],a=[],l=[],c=this.eras();for(e=0,t=c.length;e<t;++e)n=ec(c[e].name),r=ec(c[e].abbr),s=ec(c[e].narrow),o.push(n),i.push(r),a.push(s),l.push(n),l.push(r),l.push(s);this._erasRegex=RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=RegExp("^("+a.join("|")+")","i")}function tA(e,t){P(0,[e,e.length],0,t)}function tN(e,t,n,r,s){var i;return null==e?eE(this,r,s).year:(t>(i=eP(e,r,s))&&(t=i),tF.call(this,e,t,n,r,s))}function tF(e,t,n,r,s){var i=eD(e,t,n,r,s),o=eM(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}P("N",0,0,"eraAbbr"),P("NN",0,0,"eraAbbr"),P("NNN",0,0,"eraAbbr"),P("NNNN",0,0,"eraName"),P("NNNNN",0,0,"eraNarrow"),P("y",["y",1],"yo","eraYear"),P("y",["yy",2],0,"eraYear"),P("y",["yyy",3],0,"eraYear"),P("y",["yyyy",4],0,"eraYear"),el("N",tI),el("NN",tI),el("NNN",tI),el("NNNN",function(e,t){return t.erasNameRegex(e)}),el("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ef(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var s=n._locale.erasParse(e,r,n._strict);s?d(n).era=s:d(n).invalidEra=e}),el("y",et),el("yy",et),el("yyy",et),el("yyyy",et),el("yo",function(e,t){return t._eraYearOrdinalRegex||et}),ef(["y","yy","yyy","yyyy"],0),ef(["yo"],function(e,t,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,s):t[0]=parseInt(e,10)}),P(0,["gg",2],0,function(){return this.weekYear()%100}),P(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tA("gggg","weekYear"),tA("ggggg","weekYear"),tA("GGGG","isoWeekYear"),tA("GGGGG","isoWeekYear"),el("G",en),el("g",en),el("GG",Q,$),el("gg",Q,$),el("GGGG",J,W),el("gggg",J,W),el("GGGGG",ee,B),el("ggggg",ee,B),ep(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=ed(e)}),ep(["gg","GG"],function(t,n,r,s){n[s]=e.parseTwoDigitYear(t)}),P("Q",0,"Qo","quarter"),el("Q",G),ef("Q",function(e,t){t[1]=(ed(e)-1)*3}),P("D",["DD",2],"Do","date"),el("D",Q,eo),el("DD",Q,$),el("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ef(["D","DD"],2),ef("Do",function(e,t){t[2]=ed(e.match(Q)[0])});var tU=ev("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear"),el("DDD",X),el("DDDD",q),ef(["DDD","DDDD"],function(e,t,n){n._dayOfYear=ed(e)}),P("m",["mm",2],0,"minute"),el("m",Q,ea),el("mm",Q,$),ef(["m","mm"],4);var tY=ev("Minutes",!1);P("s",["ss",2],0,"second"),el("s",Q,ea),el("ss",Q,$),ef(["s","ss"],5);var tH=ev("Seconds",!1);for(P("S",0,0,function(){return~~(this.millisecond()/100)}),P(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),P(0,["SSS",3],0,"millisecond"),P(0,["SSSS",4],0,function(){return 10*this.millisecond()}),P(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),P(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),P(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),P(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),P(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),el("S",X,G),el("SS",X,$),el("SSS",X,q),p="SSSS";p.length<=9;p+="S")el(p,et);function tV(e,t){t[6]=ed(("0."+e)*1e3)}for(p="S";p.length<=9;p+="S")ef(p,tV);m=ev("Milliseconds",!1),P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");var tz=b.prototype;function tG(e){return e}tz.add=tS,tz.calendar=function(i,l){if(1==arguments.length)if(arguments[0]){var c,u,d,h;if(c=arguments[0],C(c)||a(c)||tO(c)||o(c)||(d=t(u=c),h=!1,d&&(h=0===u.filter(function(e){return!o(e)&&tO(u)}).length),d&&h)||function(e){var t,i,o=n(e)&&!s(e),a=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=l.length;for(t=0;t<c;t+=1)i=l[t],a=a||r(e,i);return o&&a}(c)||null==c)i=arguments[0],l=void 0;else(function(e){var t,i,o=n(e)&&!s(e),a=!1,l=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<l.length;t+=1)i=l[t],a=a||r(e,i);return o&&a})(arguments[0])&&(l=arguments[0],i=void 0)}else i=void 0,l=void 0;var f=i||ts(),p=tm(f,this).startOf("day"),m=e.calendarFormat(this,p)||"sameElse",g=l&&(S(l[m])?l[m].call(this,f):l[m]);return this.format(g||this.localeData().calendar(m,this,ts(f)))},tz.clone=function(){return new b(this)},tz.diff=function(e,t,n){var r,s,i;if(!this.isValid()||!(r=tm(e,this)).isValid())return NaN;switch(s=(r.utcOffset()-this.utcOffset())*6e4,t=N(t)){case"year":i=tj(this,r)/12;break;case"month":i=tj(this,r);break;case"quarter":i=tj(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-s)/864e5;break;case"week":i=(this-r-s)/6048e5;break;default:i=this-r}return n?i:eu(i)},tz.endOf=function(t){var n,r;if(void 0===(t=N(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?tP:tE,t){case"year":n=r(this.year()+1,0,1)-1;break;case"quarter":n=r(this.year(),this.month()-this.month()%3+3,1)-1;break;
39case"month":n=r(this.year(),this.month()+1,1)-1;break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=36e5-((n+(this._isUTC?0:6e4*this.utcOffset()))%36e5+36e5)%36e5-1;break;case"minute":n=this._d.valueOf(),n+=6e4-(n%6e4+6e4)%6e4-1;break;case"second":n=this._d.valueOf(),n+=1e3-(n%1e3+1e3)%1e3-1}return this._d.setTime(n),e.updateOffset(this,!0),this},tz.format=function(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=I(this,t);return this.localeData().postformat(n)},tz.from=function(e,t){return this.isValid()&&(C(e)&&e.isValid()||ts(e).isValid())?tC({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},tz.fromNow=function(e){return this.from(ts(),e)},tz.to=function(e,t){return this.isValid()&&(C(e)&&e.isValid()||ts(e).isValid())?tC({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},tz.toNow=function(e){return this.to(ts(),e)},tz.get=function(e){return S(this[e=N(e)])?this[e]():this},tz.invalidAt=function(){return d(this).overflow},tz.isAfter=function(e,t){var n=C(e)?e:ts(e);return!!(this.isValid()&&n.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},tz.isBefore=function(e,t){var n=C(e)?e:ts(e);return!!(this.isValid()&&n.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},tz.isBetween=function(e,t,n,r){var s=C(e)?e:ts(e),i=C(t)?t:ts(t);return!!(this.isValid()&&s.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(s,n):!this.isBefore(s,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))},tz.isSame=function(e,t){var n,r=C(e)?e:ts(e);return!!(this.isValid()&&r.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},tz.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},tz.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},tz.isValid=function(){return h(this)},tz.lang=tR,tz.locale=tM,tz.localeData=tD,tz.max=to,tz.min=ti,tz.parsingFlags=function(){return c({},d(this))},tz.set=function(e,t){if("object"==typeof e){var n,s=function(e){var t,n=[];for(t in e)r(e,t)&&n.push({unit:t,priority:V[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=F(e)),i=s.length;for(n=0;n<i;n++)this[s[n].unit](e[s[n].unit])}else if(S(this[e=N(e)]))return this[e](t);return this},tz.startOf=function(t){var n,r;if(void 0===(t=N(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?tP:tE,t){case"year":n=r(this.year(),0,1);break;case"quarter":n=r(this.year(),this.month()-this.month()%3,1);break;case"month":n=r(this.year(),this.month(),1);break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=r(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=((n+(this._isUTC?0:6e4*this.utcOffset()))%36e5+36e5)%36e5;break;case"minute":n=this._d.valueOf(),n-=(n%6e4+6e4)%6e4;break;case"second":n=this._d.valueOf(),n-=(n%1e3+1e3)%1e3}return this._d.setTime(n),e.updateOffset(this,!0),this},tz.subtract=tT,tz.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},tz.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},tz.toDate=function(){return new Date(this.valueOf())},tz.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;if(0>n.year()||n.year()>9999)return I(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ");if(S(Date.prototype.toISOString))if(t)return this.toDate().toISOString();else return new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",I(n,"Z"));return I(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}
39,tz.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",s="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),e="["+r+'("]',t=0<=this.year()&&9999>=this.year()?"YYYY":"YYYYYY",n=s+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(tz[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),tz.toJSON=function(){return this.isValid()?this.toISOString():null},tz.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},tz.unix=function(){return Math.floor(this.valueOf()/1e3)},tz.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},tz.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},tz.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""},tz.eraNarrow=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""},tz.eraAbbr=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""},tz.eraYear=function(){var t,n,r,s,i=this.localeData().eras();for(t=0,n=i.length;t<n;++t)if(r=i[t].since<=i[t].until?1:-1,s=this.clone().startOf("day").valueOf(),i[t].since<=s&&s<=i[t].until||i[t].until<=s&&s<=i[t].since)return(this.year()-e(i[t].since).year())*r+i[t].offset;return this.year()},tz.year=ey,tz.isLeapYear=function(){return em(this.year())},tz.weekYear=function(e){return tN.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},tz.isoWeekYear=function(e){return tN.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},tz.quarter=tz.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)},tz.month=eT,tz.daysInMonth=function(){return ex(this.year(),this.month())},tz.week=tz.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add((e-t)*7,"d")},tz.isoWeek=tz.isoWeeks=function(e){var t=eE(this,1,4).week;return null==e?t:this.add((e-t)*7,"d")},tz.weeksInYear=function(){var e=this.localeData()._week;return eP(this.year(),e.dow,e.doy)},tz.weeksInWeekYear=function(){var e=this.localeData()._week;return eP(this.weekYear(),e.dow,e.doy)},tz.isoWeeksInYear=function(){return eP(this.year(),1,4)},tz.isoWeeksInISOWeekYear=function(){return eP(this.isoWeekYear(),1,4)},tz.date=tU,tz.day=tz.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=eb(this,"Day");return null==e?r:(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d"))},tz.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},tz.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t,n=(t=this.localeData(),"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e);return this.day(this.day()%7?n:n-7)},tz.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},tz.hour=tz.hours=ez,tz.minute=tz.minutes=tY,tz.second=tz.seconds=tH,tz.millisecond=tz.milliseconds=m,tz.utcOffset=function(t,n,r){var s,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?i:tg(this);if("string"==typeof t){if(null===(t=tp(es,t)))return this}else 16>Math.abs(t)&&!r&&(t*=60);return!this._isUTC&&n&&(s=tg(this)),this._offset=t,this._isUTC=!0,null!=s&&this.add(s,"m"),i!==t&&(!n||this._changeInProgress?t_(this,tC(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this},tz.utc=function(e){return this.utcOffset(0,e)},tz.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(tg(this),"m")),this},tz.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=tp(er,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},tz.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?ts(e).utcOffset():0,(this.utcOffset()-e)%60==0)},tz.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},tz.isLocal=function(){return!!this.isValid()&&!this._isUTC},tz.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},tz.isUtc=ty,tz.isUTC=ty,tz.zoneAbbr=function(){return this._isUTC?"UTC":""},tz.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},tz.dates=w("dates accessor is deprecated. Use date instead.",tU),tz.months=w("months accessor is deprecated. Use month instead",eT),tz.years=w("years accessor is deprecated. Use year instead",ey),tz.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),tz.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!i(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=tn(t))._a?(e=t._isUTC?u(t._a):ts(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,s=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0;for(r=0;r<s;r++)ed(e[r])!==ed(t[r])&&o++;return o+i}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var t$=O.prototype;function tq(e,t,n,r){var s=eZ(),i=u().set(r,t);return s[n](i,e)}function tW(e,t,n){if(o(e)&&(t=e,e=void 0),e=e||"",null!=t)return tq(e,t,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=tq(e,r,n,"month");return s}function tB(e,t,n,r){"boolean"==typeof e||(n=t=e,e=!1),o(t)&&(n=t,t=void 0),t=t||"";var s,i=eZ(),a=e?i._week.dow:0,l=[];
vendor: 4,791 bytes, line 39
39if(null!=n)return tq(t,(n+a)%7,r,"day");for(s=0;s<7;s++)l[s]=tq(t,(s+a)%7,r,"day");return l}t$.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return S(r)?r.call(t,n):r},t$.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(M).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},t$.invalidDate=function(){return this._invalidDate},t$.ordinal=function(e){return this._ordinal.replace("%d",e)},t$.preparse=tG,t$.postformat=tG,t$.relativeTime=function(e,t,n,r){var s=this._relativeTime[n];return S(s)?s(e,t,n,r):s.replace(/%d/i,e)},t$.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)},t$.set=function(e){var t,n;for(n in e)r(e,n)&&(S(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},t$.eras=function(t,n){var r,s,i,o=this._eras||eZ("en")._eras;for(r=0,s=o.length;r<s;++r)switch("string"==typeof o[r].since&&(i=e(o[r].since).startOf("day"),o[r].since=i.valueOf()),typeof o[r].until){case"undefined":o[r].until=Infinity;break;case"string":i=e(o[r].until).startOf("day").valueOf(),o[r].until=i.valueOf()}return o},t$.erasParse=function(e,t,n){var r,s,i,o,a,l=this.eras();for(r=0,e=e.toUpperCase(),s=l.length;r<s;++r)if(i=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(i===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if([i,o,a].indexOf(e)>=0)return l[r]},t$.erasConvertYear=function(t,n){var r=t.since<=t.until?1:-1;return void 0===n?e(t.since).year():e(t.since).year()+(n-t.offset)*r},t$.erasAbbrRegex=function(e){return r(this,"_erasAbbrRegex")||tL.call(this),e?this._erasAbbrRegex:this._erasRegex},t$.erasNameRegex=function(e){return r(this,"_erasNameRegex")||tL.call(this),e?this._erasNameRegex:this._erasRegex},t$.erasNarrowRegex=function(e){return r(this,"_erasNarrowRegex")||tL.call(this),e?this._erasNarrowRegex:this._erasRegex},t$.months=function(e,n){return e?t(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ek).test(n)?"format":"standalone"][e.month()]:t(this._months)?this._months:this._months.standalone},t$.monthsShort=function(e,n){return e?t(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ek.test(n)?"format":"standalone"][e.month()]:t(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},t$.monthsParse=function(e,t,n){var r,s,i;if(this._monthsParseExact)return e_.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(s=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[r]=RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},t$.monthsRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||eO.call(this),e)?this._monthsStrictRegex:this._monthsRegex:(r(this,"_monthsRegex")||(this._monthsRegex=ei),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},t$.monthsShortRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||eO.call(this),e)?this._monthsShortStrictRegex:this._monthsShortRegex:(r(this,"_monthsShortRegex")||(this._monthsShortRegex=ei),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},t$.week=function(e){return eE(e,this._week.dow,this._week.doy).week},t$.firstDayOfYear=function(){return this._week.doy},t$.firstDayOfWeek=function(){return this._week.dow},t$.weekdays=function(e,n){var r=t(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===e?eI(r,this._week.dow):e?r[e.day()]:r},t$.weekdaysMin=function(e){return!0===e?eI(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},t$.weekdaysShort=function(e){return!0===e?eI(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},t$.weekdaysParse=function(e,t,n){var r,s,i;if(this._weekdaysParseExact)return eA.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;
39r++){if(s=u([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[r]=RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;else if(!n&&this._weekdaysParse[r].test(e))return r}},t$.weekdaysRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||eN.call(this),e)?this._weekdaysStrictRegex:this._weekdaysRegex:(r(this,"_weekdaysRegex")||(this._weekdaysRegex=ei),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},t$.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||eN.call(this),e)?this._weekdaysShortStrictRegex:this._weekdaysShortRegex:(r(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ei),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},t$.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||eN.call(this),e)?this._weekdaysMinStrictRegex:this._weekdaysMinRegex:(r(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ei),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},t$.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},t$.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},eQ("en",{eras:[{since:"0001-01-01",until:Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===ed(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),e.lang=w("moment.lang is deprecated. Use moment.locale instead.",eQ),e.langData=w("moment.langData is deprecated. Use moment.localeData instead.",eZ);var tQ=Math.abs;function tK(e,t,n,r){var s=tC(t,n);return e._milliseconds+=r*s._milliseconds,e._days+=r*s._days,e._months+=r*s._months,e._bubble()}function tZ(e){return e<0?Math.floor(e):Math.ceil(e)}function tX(e){return 4800*e/146097}function tJ(e){return 146097*e/4800}function t1(e){return function(){return this.as(e)}}var t0=t1("ms"),t3=t1("s"),t2=t1("m"),t4=t1("h"),t8=t1("d"),t6=t1("w"),t5=t1("M"),t9=t1("Q"),t7=t1("y");function ne(e){return function(){return this.isValid()?this._data[e]:NaN}}var nt=ne("milliseconds"),nn=ne("seconds"),nr=ne("minutes"),ns=ne("hours"),ni=ne("days"),no=ne("months"),na=ne("years"),nl=Math.round,nc={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function nu(e,t,n,r,s){return s.relativeTime(t||1,!!n,e,r)}var nd=Math.abs;function nh(e){return(e>0)-(e<0)||+e}function nf(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,s,i,o,a,l=nd(this._milliseconds)/1e3,c=nd(this._days),u=nd(this._months),d=this.asSeconds();return d?(e=eu(l/60),t=eu(e/60),l%=60,e%=60,n=eu(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",s=d<0?"-":"",i=nh(this._months)!==nh(d)?"-":"",o=nh(this._days)!==nh(d)?"-":"",a=nh(this._milliseconds)!==nh(d)?"-":"",s+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+r+"S":"")):"P0D"}var np=tc.prototype;return np.isValid=function(){return this._isValid},np.abs=function(){var e=this._data;return this._milliseconds=tQ(this._milliseconds),this._days=tQ(this._days),this._months=tQ(this._months),e.milliseconds=tQ(e.milliseconds),e.seconds=tQ(e.seconds),e.minutes=tQ(e.minutes),e.hours=tQ(e.hours),e.months=tQ(e.months),e.years=tQ(e.years),this},np.add=function(e,t){return tK(this,e,t,1)},np.subtract=function(e,t){return tK(this,e,t,-1)},np.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=N(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+tX(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(tJ(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw Error("Unknown unit "+e)}},np.asMilliseconds=t0,np.asSeconds=t3,np.asMinutes=t2,np.asHours=t4,np.asDays=t8,np.asWeeks=t6,np.asMonths=t5,np.asQuarters=t9,np.asYears=t7,np.valueOf=t0,np._bubble=function(){var e,t,n,r,s,i=this._milliseconds,o=this._days,a=this._months,l=this._data;return i>=0&&o>=0&&a>
39=0||i<=0&&o<=0&&a<=0||(i+=864e5*tZ(tJ(a)+o),o=0,a=0),l.milliseconds=i%1e3,l.seconds=(e=eu(i/1e3))%60,l.minutes=(t=eu(e/60))%60,l.hours=(n=eu(t/60))%24,o+=eu(n/24),a+=s=eu(tX(o)),o-=tZ(tJ(s)),r=eu(a/12),a%=12,l.days=o,l.months=a,l.years=r,this},np.clone=function(){return tC(this)},np.get=function(e){return e=N(e),this.isValid()?this[e+"s"]():NaN},np.milliseconds=nt,np.seconds=nn,np.minutes=nr,np.hours=ns,np.days=ni,np.weeks=function(){return eu(this.days()/7)},np.months=no,np.years=na,np.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,s,i,o,a,l,c,u,d,h,f,p,m=!1,g=nc;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(m=e),"object"==typeof t&&(g=Object.assign({},nc,t),null!=t.s&&null==t.ss&&(g.ss=t.s-1)),f=this.localeData(),n=!m,r=g,s=tC(this).abs(),i=nl(s.as("s")),o=nl(s.as("m")),a=nl(s.as("h")),l=nl(s.as("d")),c=nl(s.as("M")),u=nl(s.as("w")),d=nl(s.as("y")),h=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||o<=1&&["m"]||o<r.m&&["mm",o]||a<=1&&["h"]||a<r.h&&["hh",a]||l<=1&&["d"]||l<r.d&&["dd",l],null!=r.w&&(h=h||u<=1&&["w"]||u<r.w&&["ww",u]),(h=h||c<=1&&["M"]||c<r.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=n,h[3]=+this>0,h[4]=f,p=nu.apply(null,h),m&&(p=f.pastFuture(+this,p)),f.postformat(p)},np.toISOString=nf,np.toString=nf,np.toJSON=nf,np.locale=tM,np.localeData=tD,np.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",nf),np.lang=tR,P("X",0,0,"unix"),P("x",0,0,"valueOf"),el("x",en),el("X",/[+-]?\d+(\.\d{1,3})?/),ef("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ef("x",function(e,t,n){n._d=new Date(ed(e))}),e.version="2.30.1",U=ts,e.fn=tz,e.min=function(){var e=[].slice.call(arguments,0);return ta("isBefore",e)},e.max=function(){var e=[].slice.call(arguments,0);return ta("isAfter",e)},e.now=function(){return Date.now?Date.now():+new Date},e.utc=u,e.unix=function(e){return ts(1e3*e)},e.months=function(e,t){return tW(e,t,"months")},e.isDate=a,e.locale=eQ,e.invalid=f,e.duration=tC,e.isMoment=C,e.weekdays=function(e,t,n){return tB(e,t,n,"weekdays")},e.parseZone=function(){return ts.apply(null,arguments).parseZone()},e.localeData=eZ,e.isDuration=tu,e.monthsShort=function(e,t){return tW(e,t,"monthsShort")},e.weekdaysMin=function(e,t,n){return tB(e,t,n,"weekdaysMin")},e.defineLocale=eK,e.updateLocale=function(e,t){if(null!=t){var n,r,s=eG;null!=e$[e]&&null!=e$[e].parentLocale?e$[e].set(T(e$[e]._config,t)):(null!=(r=eB(e))&&(s=r._config),t=T(s,t),null==r&&(t.abbr=e),(n=new O(t)).parentLocale=e$[e],e$[e]=n),eQ(e)}else null!=e$[e]&&(null!=e$[e].parentLocale?(e$[e]=e$[e].parentLocale,e===eQ()&&eQ(e)):null!=e$[e]&&delete e$[e]);return e$[e]},e.locales=function(){return z(e$)},e.weekdaysShort=function(e,t,n){return tB(e,t,n,"weekdaysShort")},e.normalizeUnits=N,e.relativeTimeRounding=function(e){return void 0===e?nl:"function"==typeof e&&(nl=e,!0)},e.relativeTimeThreshold=function(e,t){return void 0!==nc[e]&&(void 0===t?nc[e]:(nc[e]=t,"s"===e&&(nc.ss=t-1),!0))},e.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},e.prototype=tz,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e},nU.exports=e(),nU.exports)}()));let nH=nj.div` 40 width: 100%; 41 padding: 12px; 42 cursor: pointer; 43 & * { 44 cursor: pointer; 45 } 46`,nV=nj.div` 47 display: flex; 48 align-items: baseline; 49 gap: 8px; 50 z-index: 10; 51`,nz=nj.span` 52 font-family: "Kumbh Sans", sans-serif; 53 font-weight: 500; 54 font-size: 14px; 55 line-height: 18px; 56 color: #e9eaeb; 57 white-space: nowrap; 58 z-index: 10; 59 text-overflow: ellipsis; 60 // max-width: 75%; 61 overflow: hidden; 62`,nG=nj.span` 63 font-family: "Kumbh Sans", sans-serif; 64 font-weight: 400; 65 font-size: 10px; 66 line-height: 12px; 67 color: #d5d7da; 68 white-space: nowrap; 69`,n$=nj.div` 70 margin-top: 4px; 71 overflow: hidden; 72 width: 240px; 73`,nq=nj.span` 74 font-family: "Kumbh Sans", sans-serif; 75 font-weight: 400; 76 font-size: 16px; 77 line-height: 20px; 78 color: #fff; 79 overflow: hidden; 80 display: -webkit-box; 81 -webkit-box-orient: vertical; 82 -webkit-line-clamp: 2; 83`,nW=({feedback:e})=>{let{user:t,createdAt:n,comment:r}=e;return(0,s.jsxs)(nH,{children:[(0,s.jsxs)(nV,{children:[(0,s.jsx)(nz,{children:(null==t?void 0:t.fullName)||`${null==t?void 0:t.firstName} ${null==t?void 0:t.lastName}`}),(0,s.jsx)(nG,{children:nY(n).fromNow()})]}),(0,s.jsx)(n$,{children:(0,s.jsx)(nq,{children:r})})]})},nB="http://localhost".replace(/\/+$/,"");class nQ{constructor(e,t=nB,n=o.A){var r;this.basePath=t,this.axios=n,e&&(this.configuration=e,this.basePath=null!=(r=e.basePath)?r:t)}}
83class nK extends Error{constructor(e,t){super(t),this.field=e,this.name="RequiredError"}}let nZ={},nX="https://example.com",nJ=function(e,t,n){if(null==n)throw new nK(t,`Required parameter ${t} was null or undefined when calling ${e}.`)},n1=async function(e,t){t&&t.accessToken&&(e.Authorization="Bearer "+("function"==typeof t.accessToken?await t.accessToken():await t.accessToken))},n0=function(e,...t){let n=new URLSearchParams(e.search);!function e(t,n,r=""){null!=n&&("object"==typeof n?Array.isArray(n)?n.forEach(n=>e(t,n,r)):Object.keys(n).forEach(s=>e(t,n[s],`${r}${""!==r?".":""}${s}`)):t.has(r)?t.append(r,n):t.set(r,n))}(n,t),e.search=n.toString()},n3=function(e,t,n){let r="string"!=typeof e;return(r&&n&&n.isJsonMime?n.isJsonMime(t.headers["Content-Type"]):r)?JSON.stringify(void 0!==e?e:{}):e||""},n2=function(e){return e.pathname+e.search+e.hash},n4=function(e,t,n,r){return(s=t,i=n)=>{var o;let a=Object.assign(Object.assign({},e.options),{url:(s.defaults.baseURL?"":null!=(o=null==r?void 0:r.basePath)?o:i)+e.url});return s.request(a)}},n8=function(e){let t={authControllerForgotPassword:async(t,n={})=>{let r;nJ("authControllerForgotPassword","forgotPasswordDto",t);let s=new URL("/auth/forgot-password",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"POST"},r),n),o={};o["Content-Type"]="application/json",n0(s,{});let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},o),a),n.headers),i.data=n3(t,i,e),{url:n2(s),options:i}},authControllerGithubCallback:async(t,n={})=>{let r;nJ("authControllerGithubCallback","redirectUrl",t);let s=new URL("/auth/github/callback",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"GET"},r),n),o={};void 0!==t&&(o.redirectUrl=t),n0(s,o);let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},{}),a),n.headers),{url:n2(s),options:i}},authControllerGithubLogin:async(t={})=>{let n,r=new URL("/auth/github",nX);e&&(n=e.baseOptions);let s=Object.assign(Object.assign({method:"GET"},n),t);n0(r,{});let i=n&&n.headers?n.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),i),t.headers),{url:n2(r),options:s}},authControllerResetPassword:async(t,n={})=>{let r;nJ("authControllerResetPassword","resetPasswordDto",t);let s=new URL("/auth/reset-password",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"POST"},r),n),o={};o["Content-Type"]="application/json",n0(s,{});let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},o),a),n.headers),i.data=n3(t,i,e),{url:n2(s),options:i}},authControllerSignIn:async(t,n={})=>{let r;nJ("authControllerSignIn","signInDto",t);let s=new URL("/auth/signin",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"POST"},r),n),o={};o["Content-Type"]="application/json",n0(s,{});let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},o),a),n.headers),i.data=n3(t,i,e),{url:n2(s),options:i}},authControllerSignUp:async(t,n={})=>{let r;nJ("authControllerSignUp","signUpDto",t);let s=new URL("/auth/signup",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"POST"},r),n),o={};o["Content-Type"]="application/json",n0(s,{});let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},o),a),n.headers),i.data=n3(t,i,e),{url:n2(s),options:i}}};return{async authControllerForgotPassword(n,r){var s,i,a;let l=await t.authControllerForgotPassword(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["AuthApi.authControllerForgotPassword"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async authControllerGithubCallback(n,r){var s,i,a;let l=await t.authControllerGithubCallback(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["AuthApi.authControllerGithubCallback"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async authControllerGithubLogin(n){var r,s,i;let a=await t.authControllerGithubLogin(n),l=null!=(r=null==e?void 0:e.serverIndex)?r:0,c=null==(i=null==(s=nZ["AuthApi.authControllerGithubLogin"])?void 0:s[l])?void 0:i.url;return(t,n)=>n4(a,o.A,nB,e)(t,c||n)},async authControllerResetPassword(n,r){var s,i,a;let l=await t.authControllerResetPassword(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["AuthApi.authControllerResetPassword"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async authControllerSignIn(n,r){var s,i,a;let l=await t.authControllerSignIn(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["AuthApi.authControllerSignIn"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async authControllerSignUp(n,r){var s,i,a;let l=await t.authControllerSignUp(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["AuthApi.authControllerSignUp"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)}}};
83class n6 extends nQ{authControllerForgotPassword(e,t){return n8(this.configuration).authControllerForgotPassword(e,t).then(e=>e(this.axios,this.basePath))}authControllerGithubCallback(e,t){return n8(this.configuration).authControllerGithubCallback(e,t).then(e=>e(this.axios,this.basePath))}authControllerGithubLogin(e){return n8(this.configuration).authControllerGithubLogin(e).then(e=>e(this.axios,this.basePath))}authControllerResetPassword(e,t){return n8(this.configuration).authControllerResetPassword(e,t).then(e=>e(this.axios,this.basePath))}authControllerSignIn(e,t){return n8(this.configuration).authControllerSignIn(e,t).then(e=>e(this.axios,this.basePath))}authControllerSignUp(e,t){return n8(this.configuration).authControllerSignUp(e,t).then(e=>e(this.axios,this.basePath))}}let n5=function(e){let t={collaboratorControllerAddCollaborator:async(t,n,r={})=>{let s;nJ("collaboratorControllerAddCollaborator","projectId",t),nJ("collaboratorControllerAddCollaborator","addCollaboratorDto",n);let i=new URL("/collaborator/project/{projectId}".replace("{projectId}",encodeURIComponent(String(t))),nX);e&&(s=e.baseOptions);let o=Object.assign(Object.assign({method:"POST"},s),r),a={};a["Content-Type"]="application/json",n0(i,{});let l=s&&s.headers?s.headers:{};return o.headers=Object.assign(Object.assign(Object.assign({},a),l),r.headers),o.data=n3(n,o,e),{url:n2(i),options:o}},collaboratorControllerGetCollaborators:async(t,n={})=>{let r;nJ("collaboratorControllerGetCollaborators","projectId",t);let s=new URL("/collaborator/project/{projectId}".replace("{projectId}",encodeURIComponent(String(t))),nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"GET"},r),n);n0(s,{});let o=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},{}),o),n.headers),{url:n2(s),options:i}}};return{async collaboratorControllerAddCollaborator(n,r,s){var i,a,l;let c=await t.collaboratorControllerAddCollaborator(n,r,s),u=null!=(i=null==e?void 0:e.serverIndex)?i:0,d=null==(l=null==(a=nZ["CollaboratorApi.collaboratorControllerAddCollaborator"])?void 0:a[u])?void 0:l.url;return(t,n)=>n4(c,o.A,nB,e)(t,d||n)},async collaboratorControllerGetCollaborators(n,r){var s,i,a;let l=await t.collaboratorControllerGetCollaborators(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["CollaboratorApi.collaboratorControllerGetCollaborators"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)}}};class n9 extends nQ{collaboratorControllerAddCollaborator(e,t,n){return n5(this.configuration).collaboratorControllerAddCollaborator(e,t,n).then(e=>e(this.axios,this.basePath))}collaboratorControllerGetCollaborators(e,t){return n5(this.configuration).collaboratorControllerGetCollaborators(e,t).then(e=>e(this.axios,this.basePath))}}let n7=function(e){let t={feedbackControllerBulkResolve:async(t,n={})=>{let r;nJ("feedbackControllerBulkResolve","feedbackBulkResolveDto",t);let s=new URL("/feedback/bulk-resolve",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"PATCH"},r),n),o={};o["Content-Type"]="application/json",n0(s,{});let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},o),a),n.headers),i.data=n3(t,i,e),{url:n2(s),options:i}},feedbackControllerCreate:async(t,n={})=>{let r;nJ("feedbackControllerCreate","feedbackCreateDto",t);let s=new URL("/feedback",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"POST"},r),n),o={};o["Content-Type"]="application/json",n0(s,{});let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},o),a),n.headers),i.data=n3(t,i,e),{url:n2(s),options:i}},feedbackControllerCreateReply:async(t,n,r={})=>{let s;nJ("feedbackControllerCreateReply","id",t),nJ("feedbackControllerCreateReply","body",n);let i=new URL("/feedback/{id}/replies".replace("{id}",encodeURIComponent(String(t))),nX);e&&(s=e.baseOptions);let o=Object.assign(Object.assign({method:"POST"},s),r),a={};a["Content-Type"]="application/json",n0(i,{});let l=s&&s.headers?s.headers:{};return o.headers=Object.assign(Object.assign(Object.assign({},a),l),r.headers),o.data=n3(n,o,e),{url:n2(i),options:o}},feedbackControllerDelete:async(t,n={})=>{let r;nJ("feedbackControllerDelete","id",t);let s=new URL("/feedback/{id}".replace("{id}",encodeURIComponent(String(t))),nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"DELETE"},r),n);n0(s,{});let o=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},{}),o),n.headers),{url:n2(s),options:i}},feedbackControllerFindFeedbacksByProjectId:async(t,n={})=>{let r;nJ("feedbackControllerFindFeedbacksByProjectId","projectId",t);let s=new URL("/feedback/{projectId}".replace("{projectId}",encodeURIComponent(String(t))),nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"GET"},r),n);n0(s,{});let o=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},{}),o),n.headers),{url:n2(s),options:i}},feedbackControllerMarkAsRead:async(t,n={})=>{let r;nJ("feedbackControllerMarkAsRead","id",t);let s=new URL("/feedback/{id}/mark-as-read".replace("{id}",encodeURIComponent(String(t))),nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"POST"},r),n);n0(s,{});let o=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},{}),o),n.headers),{url:n2(s),options:i}},feedbackControllerUpdate:async(t,n,r={})=>{let s;nJ("feedbackControllerUpdate","id",t),nJ("feedbackControllerUpdate","feedbackUpdateDto",n);let i=new URL("/feedback/{id}".replace("{id}",encodeURIComponent(String(t))),nX);e&&(s=e.baseOptions);let o=Object.assign(Object.assign({method:"PATCH"},s),r),a={};a["Content-Type"]="application/json",n0(i,{});let l=s&&s.headers?s.headers:{};return o.headers=Object.assign(Object.assign(Object.assign({},a),l),r.headers),o.data=n3(n,o,e),{url:n2(i),options:o}}};return{async feedbackControllerBulkResolve(n,r){var s,i,a;let l=await t.feedbackControllerBulkResolve(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["FeedbackApi.feedbackControllerBulkResolve"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async feedbackControllerCreate(n,r){var s,i,a;let l=await t.feedbackControllerCreate(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["FeedbackApi.feedbackControllerCreate"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async feedbackControllerCreateReply(n,r,s){var i,a,l;
83let c=await t.feedbackControllerCreateReply(n,r,s),u=null!=(i=null==e?void 0:e.serverIndex)?i:0,d=null==(l=null==(a=nZ["FeedbackApi.feedbackControllerCreateReply"])?void 0:a[u])?void 0:l.url;return(t,n)=>n4(c,o.A,nB,e)(t,d||n)},async feedbackControllerDelete(n,r){var s,i,a;let l=await t.feedbackControllerDelete(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["FeedbackApi.feedbackControllerDelete"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async feedbackControllerFindFeedbacksByProjectId(n,r){var s,i,a;let l=await t.feedbackControllerFindFeedbacksByProjectId(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["FeedbackApi.feedbackControllerFindFeedbacksByProjectId"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async feedbackControllerMarkAsRead(n,r){var s,i,a;let l=await t.feedbackControllerMarkAsRead(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["FeedbackApi.feedbackControllerMarkAsRead"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async feedbackControllerUpdate(n,r,s){var i,a,l;let c=await t.feedbackControllerUpdate(n,r,s),u=null!=(i=null==e?void 0:e.serverIndex)?i:0,d=null==(l=null==(a=nZ["FeedbackApi.feedbackControllerUpdate"])?void 0:a[u])?void 0:l.url;return(t,n)=>n4(c,o.A,nB,e)(t,d||n)}}};class re extends nQ{feedbackControllerBulkResolve(e,t){return n7(this.configuration).feedbackControllerBulkResolve(e,t).then(e=>e(this.axios,this.basePath))}feedbackControllerCreate(e,t){return n7(this.configuration).feedbackControllerCreate(e,t).then(e=>e(this.axios,this.basePath))}feedbackControllerCreateReply(e,t,n){return n7(this.configuration).feedbackControllerCreateReply(e,t,n).then(e=>e(this.axios,this.basePath))}feedbackControllerDelete(e,t){return n7(this.configuration).feedbackControllerDelete(e,t).then(e=>e(this.axios,this.basePath))}feedbackControllerFindFeedbacksByProjectId(e,t){return n7(this.configuration).feedbackControllerFindFeedbacksByProjectId(e,t).then(e=>e(this.axios,this.basePath))}feedbackControllerMarkAsRead(e,t){return n7(this.configuration).feedbackControllerMarkAsRead(e,t).then(e=>e(this.axios,this.basePath))}feedbackControllerUpdate(e,t,n){return n7(this.configuration).feedbackControllerUpdate(e,t,n).then(e=>e(this.axios,this.basePath))}}let rt=function(e){let t={notionControllerCreateTicket:async(t,n={})=>{let r;nJ("notionControllerCreateTicket","createTicketDto",t);let s=new URL("/notion/create-ticket",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"POST"},r),n),o={};o["Content-Type"]="application/json",n0(s,{});let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},o),a),n.headers),i.data=n3(t,i,e),{url:n2(s),options:i}},notionControllerGetDatabaseStatuses:async(t,n,r={})=>{let s;nJ("notionControllerGetDatabaseStatuses","databaseId",t),nJ("notionControllerGetDatabaseStatuses","projectId",n);let i=new URL("/notion/database/{databaseId}/statuses".replace("{databaseId}",encodeURIComponent(String(t))),nX);e&&(s=e.baseOptions);let o=Object.assign(Object.assign({method:"GET"},s),r),a={};void 0!==n&&(a.projectId=n),n0(i,a);let l=s&&s.headers?s.headers:{};return o.headers=Object.assign(Object.assign(Object.assign({},{}),l),r.headers),{url:n2(i),options:o}},notionControllerGetTicketsByStatus:async(t,n,r,s={})=>{let i;nJ("notionControllerGetTicketsByStatus","databaseId",t),nJ("notionControllerGetTicketsByStatus","statusId",n),nJ("notionControllerGetTicketsByStatus","projectId",r);let o=new URL("/notion/database/{databaseId}/status/{statusId}/tickets".replace("{databaseId}",encodeURIComponent(String(t))).replace("{statusId}",encodeURIComponent(String(n))),nX);e&&(i=e.baseOptions);let a=Object.assign(Object.assign({method:"GET"},i),s),l={};void 0!==r&&(l.projectId=r),n0(o,l);let c=i&&i.headers?i.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},{}),c),s.headers),{url:n2(o),options:a}},notionControllerGetToken:async(t,n={})=>{let r;nJ("notionControllerGetToken","body",t);let s=new URL("/notion/get-token",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"POST"},r),n),o={};o["Content-Type"]="application/json",n0(s,{});let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},o),a),n.headers),i.data=n3(t,i,e),{url:n2(s),options:i}},notionControllerLinkTicketToFeedback:async(t,n={})=>{let r;nJ("notionControllerLinkTicketToFeedback","linkTicketToFeedbackDto",t);let s=new URL("/notion/link-ticket-to-feedback",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"POST"},r),n),o={};o["Content-Type"]="application/json",n0(s,{});let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},o),a),n.headers),i.data=n3(t,i,e),{url:n2(s),options:i}},notionControllerNotionAuthorizeUrl:async(t,n={})=>{let r;nJ("notionControllerNotionAuthorizeUrl","redirectUrl",t);let s=new URL("/notion/authorize",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"GET"},r),n),o={};void 0!==t&&(o.redirectUrl=t),n0(s,o);let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},{}),a),n.headers),{url:n2(s),options:i}},notionControllerNotionReturnUrl:async(t,n,r={})=>{let s;nJ("notionControllerNotionReturnUrl","state",t),nJ("notionControllerNotionReturnUrl","code",n);let i=new URL("/notion/authorize/callback",nX);e&&(s=e.baseOptions);let o=Object.assign(Object.assign({method:"GET"},s),r),a={};void 0!==t&&(a.state=t),void 0!==n&&(a.code=n),n0(i,a);let l=s&&s.headers?s.headers:{};return o.headers=Object.assign(Object.assign(Object.assign({},{}),l),r.headers),{url:n2(i),options:o}}};return{async notionControllerCreateTicket(n,r){var s,i,a;let l=await t.notionControllerCreateTicket(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["NotionApi.notionControllerCreateTicket"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async notionControllerGetDatabaseStatuses(n,r,s){var i,a,l;
83let c=await t.notionControllerGetDatabaseStatuses(n,r,s),u=null!=(i=null==e?void 0:e.serverIndex)?i:0,d=null==(l=null==(a=nZ["NotionApi.notionControllerGetDatabaseStatuses"])?void 0:a[u])?void 0:l.url;return(t,n)=>n4(c,o.A,nB,e)(t,d||n)},async notionControllerGetTicketsByStatus(n,r,s,i){var a,l,c;let u=await t.notionControllerGetTicketsByStatus(n,r,s,i),d=null!=(a=null==e?void 0:e.serverIndex)?a:0,h=null==(c=null==(l=nZ["NotionApi.notionControllerGetTicketsByStatus"])?void 0:l[d])?void 0:c.url;return(t,n)=>n4(u,o.A,nB,e)(t,h||n)},async notionControllerGetToken(n,r){var s,i,a;let l=await t.notionControllerGetToken(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["NotionApi.notionControllerGetToken"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async notionControllerLinkTicketToFeedback(n,r){var s,i,a;let l=await t.notionControllerLinkTicketToFeedback(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["NotionApi.notionControllerLinkTicketToFeedback"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async notionControllerNotionAuthorizeUrl(n,r){var s,i,a;let l=await t.notionControllerNotionAuthorizeUrl(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["NotionApi.notionControllerNotionAuthorizeUrl"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async notionControllerNotionReturnUrl(n,r,s){var i,a,l;let c=await t.notionControllerNotionReturnUrl(n,r,s),u=null!=(i=null==e?void 0:e.serverIndex)?i:0,d=null==(l=null==(a=nZ["NotionApi.notionControllerNotionReturnUrl"])?void 0:a[u])?void 0:l.url;return(t,n)=>n4(c,o.A,nB,e)(t,d||n)}}};class rn extends nQ{notionControllerCreateTicket(e,t){return rt(this.configuration).notionControllerCreateTicket(e,t).then(e=>e(this.axios,this.basePath))}notionControllerGetDatabaseStatuses(e,t,n){return rt(this.configuration).notionControllerGetDatabaseStatuses(e,t,n).then(e=>e(this.axios,this.basePath))}notionControllerGetTicketsByStatus(e,t,n,r){return rt(this.configuration).notionControllerGetTicketsByStatus(e,t,n,r).then(e=>e(this.axios,this.basePath))}notionControllerGetToken(e,t){return rt(this.configuration).notionControllerGetToken(e,t).then(e=>e(this.axios,this.basePath))}notionControllerLinkTicketToFeedback(e,t){return rt(this.configuration).notionControllerLinkTicketToFeedback(e,t).then(e=>e(this.axios,this.basePath))}notionControllerNotionAuthorizeUrl(e,t){return rt(this.configuration).notionControllerNotionAuthorizeUrl(e,t).then(e=>e(this.axios,this.basePath))}notionControllerNotionReturnUrl(e,t,n){return rt(this.configuration).notionControllerNotionReturnUrl(e,t,n).then(e=>e(this.axios,this.basePath))}}let rr=function(e){let t={projectControllerGetProject:async(t,n={})=>{let r;nJ("projectControllerGetProject","projectId",t);let s=new URL("/project/{projectId}".replace("{projectId}",encodeURIComponent(String(t))),nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"GET"},r),n);n0(s,{});let o=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},{}),o),n.headers),{url:n2(s),options:i}}};return{async projectControllerGetProject(n,r){var s,i,a;let l=await t.projectControllerGetProject(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["ProjectApi.projectControllerGetProject"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)}}};class rs extends nQ{projectControllerGetProject(e,t){return rr(this.configuration).projectControllerGetProject(e,t).then(e=>e(this.axios,this.basePath))}}let ri=function(e){let t={trelloControllerCreateCard:async(t,n={})=>{let r;nJ("trelloControllerCreateCard","createCardDto",t);let s=new URL("/trello/create-card",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"POST"},r),n),o={};o["Content-Type"]="application/json",n0(s,{});let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},o),a),n.headers),i.data=n3(t,i,e),{url:n2(s),options:i}},trelloControllerGetCard:async(t,n={})=>{let r;nJ("trelloControllerGetCard","cardId",t);let s=new URL("/trello/cards/{cardId}".replace("{cardId}",encodeURIComponent(String(t))),nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"GET"},r),n);n0(s,{});let o=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},{}),o),n.headers),{url:n2(s),options:i}},trelloControllerGetListCards:async(t,n={})=>{let r;nJ("trelloControllerGetListCards","listId",t);let s=new URL("/trello/lists/{listId}/cards".replace("{listId}",encodeURIComponent(String(t))),nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"GET"},r),n);n0(s,{});let o=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},{}),o),n.headers),{url:n2(s),options:i}},trelloControllerGetMyBoards:async(t={})=>
83{let n,r=new URL("/trello/my-boards",nX);e&&(n=e.baseOptions);let s=Object.assign(Object.assign({method:"GET"},n),t);n0(r,{});let i=n&&n.headers?n.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),i),t.headers),{url:n2(r),options:s}},trelloControllerGetProjectLists:async(t,n={})=>{let r;nJ("trelloControllerGetProjectLists","projectId",t);let s=new URL("/trello/{projectId}/lists".replace("{projectId}",encodeURIComponent(String(t))),nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"GET"},r),n);n0(s,{});let o=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},{}),o),n.headers),{url:n2(s),options:i}},trelloControllerLinkBoard:async(t,n={})=>{let r;nJ("trelloControllerLinkBoard","linkBoardDto",t);let s=new URL("/trello/link-board",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"POST"},r),n),o={};o["Content-Type"]="application/json",n0(s,{});let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},o),a),n.headers),i.data=n3(t,i,e),{url:n2(s),options:i}},trelloControllerLinkCard:async(t,n={})=>{let r;nJ("trelloControllerLinkCard","linkCardToFeedbackDto",t);let s=new URL("/trello/link-card",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"POST"},r),n),o={};o["Content-Type"]="application/json",n0(s,{});let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},o),a),n.headers),i.data=n3(t,i,e),{url:n2(s),options:i}},trelloControllerTrelloAuthorizeUrl:async(t,n={})=>{let r;nJ("trelloControllerTrelloAuthorizeUrl","redirectUrl",t);let s=new URL("/trello/authorize",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"GET"},r),n),o={};void 0!==t&&(o.redirectUrl=t),n0(s,o);let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},{}),a),n.headers),{url:n2(s),options:i}},trelloControllerTrelloReturnUrl:async(t,n={})=>{let r;nJ("trelloControllerTrelloReturnUrl","redirectUrl",t);let s=new URL("/trello/authorize/callback",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"GET"},r),n),o={};void 0!==t&&(o.redirectUrl=t),n0(s,o);let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},{}),a),n.headers),{url:n2(s),options:i}}};return{async trelloControllerCreateCard(n,r){var s,i,a;let l=await t.trelloControllerCreateCard(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["TrelloApi.trelloControllerCreateCard"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async trelloControllerGetCard(n,r){var s,i,a;let l=await t.trelloControllerGetCard(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["TrelloApi.trelloControllerGetCard"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async trelloControllerGetListCards(n,r){var s,i,a;let l=await t.trelloControllerGetListCards(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["TrelloApi.trelloControllerGetListCards"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async trelloControllerGetMyBoards(n){var r,s,i;let a=await t.trelloControllerGetMyBoards(n),l=null!=(r=null==e?void 0:e.serverIndex)?r:0,c=null==(i=null==(s=nZ["TrelloApi.trelloControllerGetMyBoards"])?void 0:s[l])?void 0:i.url;return(t,n)=>n4(a,o.A,nB,e)(t,c||n)},async trelloControllerGetProjectLists(n,r){var s,i,a;let l=await t.trelloControllerGetProjectLists(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["TrelloApi.trelloControllerGetProjectLists"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async trelloControllerLinkBoard(n,r){var s,i,a;let l=await t.trelloControllerLinkBoard(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["TrelloApi.trelloControllerLinkBoard"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async trelloControllerLinkCard(n,r){var s,i,a;let l=await t.trelloControllerLinkCard(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["TrelloApi.trelloControllerLinkCard"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async trelloControllerTrelloAuthorizeUrl(n,r){var s,i,a;let l=await t.trelloControllerTrelloAuthorizeUrl(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["TrelloApi.trelloControllerTrelloAuthorizeUrl"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)},async trelloControllerTrelloReturnUrl(n,r){var s,i,a;let l=await t.trelloControllerTrelloReturnUrl(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["TrelloApi.trelloControllerTrelloReturnUrl"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)}}};class ro extends nQ{trelloControllerCreateCard(e,t){return ri(this.configuration).trelloControllerCreateCard(e,t).then(e=>e(this.axios,this.basePath))}trelloControllerGetCard(e,t){return ri(this.configuration).trelloControllerGetCard(e,t).then(e=>e(this.axios,this.basePath))}trelloControllerGetListCards(e,t){return ri(this.configuration).trelloControllerGetListCards(e,t).then(e=>e(this.axios,this.basePath))}trelloControllerGetMyBoards(e){return ri(this.configuration).trelloControllerGetMyBoards(e).then(e=>e(this.axios,this.basePath))}trelloControllerGetProjectLists(e,t){return ri(this.configuration).trelloControllerGetProjectLists(e,t).then(e=>e(this.axios,this.basePath))}trelloControllerLinkBoard(e,t){return ri(this.configuration).trelloControllerLinkBoard(e,t).then(e=>e(this.axios,this.basePath))}trelloControllerLinkCard(e,t){return ri(this.configuration).trelloControllerLinkCard(e,t).then(e=>e(this.axios,this.basePath))}trelloControllerTrelloAuthorizeUrl(e,t){return ri(this.configuration).trelloControllerTrelloAuthorizeUrl(e,t).then(e=>e(this.axios,this.basePath))}trelloControllerTrelloReturnUrl(e,t){return ri(this.configuration).trelloControllerTrelloReturnUrl(e,t).then(e=>e(this.axios,this.basePath))}}let ra=function(e){let t={userControllerGetMe:async(t={})=>
83{let n,r=new URL("/user/me",nX);e&&(n=e.baseOptions);let s=Object.assign(Object.assign({method:"GET"},n),t),i={};await n1(i,e),n0(r,{});let o=n&&n.headers?n.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},i),o),t.headers),{url:n2(r),options:s}},userControllerUpdateMe:async(t,n={})=>{let r;nJ("userControllerUpdateMe","updateUserDto",t);let s=new URL("/user/me",nX);e&&(r=e.baseOptions);let i=Object.assign(Object.assign({method:"PATCH"},r),n),o={};await n1(o,e),o["Content-Type"]="application/json",n0(s,{});let a=r&&r.headers?r.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},o),a),n.headers),i.data=n3(t,i,e),{url:n2(s),options:i}}};return{async userControllerGetMe(n){var r,s,i;let a=await t.userControllerGetMe(n),l=null!=(r=null==e?void 0:e.serverIndex)?r:0,c=null==(i=null==(s=nZ["UserApi.userControllerGetMe"])?void 0:s[l])?void 0:i.url;return(t,n)=>n4(a,o.A,nB,e)(t,c||n)},async userControllerUpdateMe(n,r){var s,i,a;let l=await t.userControllerUpdateMe(n,r),c=null!=(s=null==e?void 0:e.serverIndex)?s:0,u=null==(a=null==(i=nZ["UserApi.userControllerUpdateMe"])?void 0:i[c])?void 0:a.url;return(t,n)=>n4(l,o.A,nB,e)(t,u||n)}}};class rl extends nQ{userControllerGetMe(e){return ra(this.configuration).userControllerGetMe(e).then(e=>e(this.axios,this.basePath))}userControllerUpdateMe(e,t){return ra(this.configuration).userControllerUpdateMe(e,t).then(e=>e(this.axios,this.basePath))}}class rc{constructor(e={}){var t;this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.serverIndex=e.serverIndex,this.baseOptions=Object.assign({headers:Object.assign({},null==(t=e.baseOptions)?void 0:t.headers)},e.baseOptions),this.formDataCtor=e.formDataCtor}isJsonMime(e){let t=RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return null!==e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())}}let ru="https://feedback.galadrim.ovh",rd=new rc({basePath:ru}),rh=o.A.create({baseURL:ru}),rf={user:new rl(rd,ru,rh),feedback:new re(rd,ru,rh),auth:new n6(rd,ru,rh),trello:new ro(rd,ru,rh),project:new rs(rd,ru,rh),notion:new rn(rd,ru,rh),collaborator:new n9(rd,ru,rh)};rh.interceptors.request.use(async e=>{let t=localStorage.getItem("galadrimFeedbackToken");return t&&e.headers?e.headers.Authorization=`Bearer ${t}`:delete rh.defaults.headers.common.Authorization,e},e=>Promise.reject(e));let rp=async()=>{try{if(!localStorage.getItem("galadrimFeedbackToken"))return null;return(await rf.user.userControllerGetMe()).data}catch(e){return null}},rm=async e=>(await rf.user.userControllerUpdateMe(e)).data,rg=e=>ex(Object.assign({queryKey:["me"],queryFn:rp},e)),ry=async e=>{if(!e)return[];try{return(await rf.feedback.feedbackControllerFindFeedbacksByProjectId(e)).data}catch(e){return[]}},rv=async e=>(await rf.feedback.feedbackControllerCreate(e)).data,rb=async(e,t)=>(await rf.feedback.feedbackControllerCreateReply(e,{comment:t})).data,rC=async e=>(await rf.feedback.feedbackControllerMarkAsRead(e)).data,rx=async({feedbackId:e,payload:t})=>(await rf.feedback.feedbackControllerUpdate(e,Object.assign({},t))).data,rw=async e=>(await rf.feedback.feedbackControllerDelete(e.id)).data,rk=e=>{let{data:t}=rg();return ex({queryKey:["feedbacks"],queryFn:()=>ry(e),enabled:!!t})},r_=()=>{let e=eg();return ew({mutationFn:rv,onSuccess:()=>e.invalidateQueries({queryKey:["feedbacks"]})})},rS=()=>{let e=eg();return ew({mutationFn:rC,onSuccess:()=>e.invalidateQueries({queryKey:["feedbacks"]})})},rT=nj.div` 84 cursor: pointer; 85 & * { 86 cursor: pointer; 87 } 88`,rO=nj.img` 89 width: ${({$size:e})=>"small"===e?"20px":"24px"}; 90 height: ${({$size:e})=>"small"===e?"20px":"24px"}; 91`,rj=({size:e,onClick:t})=>(0,s.jsx)(rT,{onClick:e=>{e.stopPropagation(),t()},children:(0,s.jsx)(rO,{src:"data:image/svg+xml,%3csvg width='24' height='25' viewB
91ox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18.7071 7.20711C19.0976 6.81658 19.0976 6.18342 18.7071 5.79289C18.3166 5.40237 17.6834 5.40237 17.2929 5.79289L12 11.0858L6.70711 5.79289C6.31658 5.40237 5.68342 5.40237 5.29289 5.79289C4.90237 6.18342 4.90237 6.81658 5.29289 7.20711L10.5858 12.5L5.29289 17.7929C4.90237 18.1834 4.90237 18.8166 5.29289 19.2071C5.68342 19.5976 6.31658 19.5976 6.70711 19.2071L12 13.9142L17.2929 19.2071C17.6834 19.5976 18.3166 19.5976 18.7071 19.2071C19.0976 18.8166 19.0976 18.1834 18.7071 17.7929L13.4142 12.5L18.7071 7.20711Z' fill='white'/%3e%3c/svg%3e",$size:e})}),rM=nj.div` 92 display: flex; 93 flex-direction: column; 94 gap: 8px; 95`,rR=nj.div` 96 display: flex; 97 flex-direction: row; 98 align-items: center; 99 gap: 8px; 100`,rD=nj.span` 101 font-family: "Kumbh Sans", sans-serif; 102 font-weight: 400; 103 font-size: 14px; 104 line-height: 18px; 105 color: #e9eaeb; 106 white-space: nowrap; 107 z-index: 10; 108`,rE=nj.span` 109 font-family: "Kumbh Sans", sans-serif; 110 font-weight: 400; 111 font-size: 10px; 112 line-height: 12px; 113 color: #d5d7da; 114 white-space: nowrap; 115`,rP=nj.p` 116 font-family: "Kumbh Sans", sans-serif; 117 font-weight: 400; 118 font-size: 14px; 119 line-height: 20px; 120 color: #fff; 121`,rI=({reply:e})=>(0,s.jsxs)(rM,{children:[(0,s.jsxs)(rR,{children:[(0,s.jsxs)(rD,{children:[e.user.firstName," ",e.user.lastName]}),(0,s.jsx)(rE,{children:nY(e.createdAt).fromNow()})]}),(0,s.jsx)(rP,{children:e.comment})]}),rL=({color:e="#0085FF"})=>(0,s.jsx)("svg",{version:"1.1",id:"L9",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 0 0",children:(0,s.jsx)("path",{fill:e,d:"M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50",children:(0,s.jsx)("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"1s",from:"0 50 50",to:"360 50 50",repeatCount:"indefinite"})})}),rA=nj.div` 122 display: flex; 123 flex-grow: 1; 124 align-items: center; 125 flex-direction: ${({$isFilled:e})=>e?"column":"row"}; 126 border-radius: 8px; 127 gap: ${({$isFilled:e})=>e?"8px":"0"}; 128 background-color: ${({$isDark:e})=>e?"#343d4b":"#414651"}; 129 min-height: ${({$isFilled:e})=>e?"64px":"48px"}; 130`,rN=nj.textarea` 131 flex-grow: 1; 132 text-align: start; 133 font-family: "Kumbh Sans", sans-serif; 134 font-weight: 400; 135 font-size: 14px; 136 line-height: 18px; 137 color: #fff; 138 padding: ${({$isFilled:e})=>e?"15px 14px":"8px 14px"}; 139 resize: none; 140 overflow: hidden; 141 background-color: transparent; 142 min-height: ${({$isFilled:e})=>e?"60px":"0px"}; 143 width: ${({$isFilled:e})=>"100%"}; 144 outline: none; 145 146 &::placeholder { 147 color: #fff; 148 } 149`,rF=nj.div` 150 border-top: ${({$isFilled:e})=>e?"1px solid #535862":"0px"}; 151 display: flex; 152 align-items: center; 153 justify-content: flex-end; 154 gap: 8px; 155 width: ${({$isFilled:e})=>e?"100%":"min-content"}; 156`,rU=nj.div` 157 width: 32px; 158 height: 32px; 159 display: flex; 160 align-items: center; 161 justify-content: center; 162 cursor: pointer; 163 & * { 164 cursor: pointer; 165 } 166`,rY=({value:e,setValue:t,onSubmit:n,handleResize:r,isAnimated:o,isDark:a,isLoading:l,placeholder:c="Ajouter un commentaire"})=>{let u=(0,i.useRef)(null),[d,h]=(0,i.useState)(o);(0,i.useEffect)(()=>{o&&setTimeout(()=>{var e;null==(e=u.current)||e.focus(),h(!1)},300)},[o]);let f=()=>{!l&&(n(e),t(""),u.current&&(u.current.style.height="34px"))};return(0,s.jsxs)(rA,{$isFilled:e.length>0,$isDark:!!a,className:` 167 ${d?"galafeedback-comment-input-container-opening":""}`,children:[(0,s.jsx)(rN,{ref:u,$isFilled:e.length>0,value:e,onChange:e=>{t(e.target.value),u.current&&(e.target.value.length>0?(u.current.style.height="auto",u.current.style.height=`${u.current.scrollHeight}px`):u.current.style.height="34px"),r&&setTimeout(()=>{r()},100)},onKeyDown:e=>{if("Enter"!==e.key||e.shiftKey){if("Enter"===e.key&&e.shiftKey)return}else e.preventDefault(),f()},placeholder:c,rows:1}),(0,s.jsx)(rF,{$isFilled:e.length>0,children:(0,s.jsx)(rU,{onClick:f,children:l?(0,s.jsx)(rL,{}):(0,s.jsx)("svg",{fill:e.length>0?"#0085FF":"#fff",height:"16",width:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M15.964.686a.5.5 0 0 0-.65-.65L.767 5.855H.766l-.452.18a.5.5 0 0 0-.082.887l.41.26.001.002 4.995 3.178 3.178 4.995.002.002.26.41a.5.5 0 0 0 .886-.083l6-15Zm-1.833 1.89L6.637 10.07l-.215-.338a.5.5 0 0 0-.154-.154l-.338-.215 7.494-7.494 1.178-.471-.47 1.178Z"})})})})]})},rH=nj.div` 168 display: flex; 169 align-items: center; 170 gap: 8px; 171 z-index: 1; 172 margin: 4px; 173 padding: 8px 12px; 174 border-radius: 4px; 175 cursor: pointer; 176 & * { 177 cursor: pointer; 178 } 179 &:hover { 180 opacity: 1; 181 background-color: ${({$variant:e})=>"destructive"===e?"#FF2462":"#2e99ff"}; 182 183 img { 184 filter: brightness(0) saturate(100%) invert(100%) sepia(0%) 185 saturate(7495%) hue-rotate(288deg) brightness(100%) contrast(100%); 186 } 187 188 span { 189 color: #fff; 190 } 191 } 192`,rV=nj.img` 193 width: 16px; 194 height: 16px; 195`,rz=nj.span` 196 font-family: "Kumbh Sans", sans-serif; 197 font-weight: 600; 198 font-size: 14px; 199 line-height: 18px; 200 color: ${({$variant:e})=>"destructive"===e?"#FF2462":"#fff"}; 201 margin-left: ${({$hasIcon:e})=>e?"0px":"24px"}; 202`,rG=({label:e,onClick:t,srcIcon:n,variant:r="default"})=>(0,s.jsxs)(rH,{onClick:t,$variant:r,children:[n&&(0,s.jsx)(rV,{src:n}),(0,s.jsx)(rz,{$variant:r,$hasIcon:!!n,children:e})]}),r$=nj.img` 203 width: 16px; 204 height: 16px; 205 cursor: pointer; 206 & * { 207 cursor: pointer; 208 } 209 &:hover { 210 opacity: 0.8; 211 } 212`,rq=nj.div` 213 position: absolute; 214 top: ${({$showMenuAbove:e})=>e?"0px":"36px"}; 215 padding-bottom: ${({$showMenuAbove:e})=>e?"8px":"0px"}; 216 transform: ${({$showMenuAbove:e})=>e?"translateY(-100%)":"translateY(0)"}; 217 right: ${({$showMenuAbove:e})=>e?"0px":"4px"}; 218 z-index: 100000000; 219`,rW=nj.div` 220 display: flex; 221 flex-direction: column; 222 border-radius: 8px; 223 background-color: ${({$isDark:e})=>e?"#252b37":"#343d4b"}; 224`,rB=({feedback:e,setIsHovered:t,isDark:n=!1,showMenuAbove:r=!1})=>{let o=(0,i.useRef)(null),[a,l]=(0,i.useState)(!1),{setSelectedFeedback:c}=nD(),{mutate:u}=(()=>{let e=eg();return ew({mutationFn:rw,onSuccess:()=>e.invalidateQueries({queryKey:["feedbacks"]})})})(),{mutate:d}=(()=>{let e=eg();return ew({mutationFn:rx,onSuccess:()=>e.invalidateQueries({queryKey:["feedbacks"]})})})();return(0,i.useEffect)(()=>{var e;let t=e=>{var t;let n=e.composedPath()[0]||e.target;(null==(t=o.current)?void 0:t.contains(n))||l(!1)}
224,n=null==(e=document.getElementById("galadrim-feedback-root"))?void 0:e.shadowRoot;a?(document.addEventListener("mouseup",t),null==n||n.addEventListener("mouseup",t)):(document.removeEventListener("mouseup",t),null==n||n.removeEventListener("mouseup",t))},[a]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r$,{src:"data:image/svg+xml,%3csvg width='25' height='24' viewBox='0 0 25 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.3335 12C10.3335 10.8954 11.2289 10 12.3335 10C13.4381 10 14.3335 10.8954 14.3335 12C14.3335 13.1046 13.4381 14 12.3335 14C11.2289 14 10.3335 13.1046 10.3335 12Z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M17.3335 12C17.3335 10.8954 18.2289 10 19.3335 10C20.4381 10 21.3335 10.8954 21.3335 12C21.3335 13.1046 20.4381 14 19.3335 14C18.2289 14 17.3335 13.1046 17.3335 12Z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.3335 12C3.3335 10.8954 4.22893 10 5.3335 10C6.43807 10 7.3335 10.8954 7.3335 12C7.3335 13.1046 6.43807 14 5.3335 14C4.22893 14 3.3335 13.1046 3.3335 12Z' fill='white'/%3e%3c/svg%3e",onClick:()=>{l(!0)}}),a&&(0,s.jsx)(rq,{ref:o,$showMenuAbove:r,children:(0,s.jsxs)(rW,{$isDark:n,children:[(0,s.jsx)(rG,{label:"R\xe9solu",onClick:()=>{d({feedbackId:e.id,payload:{isResolved:!0}},{onSuccess:()=>{l(!1),null==t||t(!1),c(null)}})},variant:"default",srcIcon:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7.5 12L10.5 15L16.5 9M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"}),(0,s.jsx)(rG,{label:"Copier le lien",onClick:()=>{let t=new URLSearchParams(window.location.search);t.delete("feedbackId"),t.append("feedbackId",e.id);let n=`${window.location.origin}${window.location.pathname}?${t.toString()}`;navigator.clipboard.writeText(n)},variant:"default",srcIcon:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9 17H7C4.23858 17 2 14.7614 2 12C2 9.23858 4.23858 7 7 7H9M15 17H17C19.7614 17 22 14.7614 22 12C22 9.23858 19.7614 7 17 7H15M7 12L17 12' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"}),(0,s.jsx)(rG,{label:"Supprimer",onClick:()=>{u(e,{onSuccess:()=>{l(!1)}})},variant:"destructive",srcIcon:"data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7 1H13M1 4H19M17 4L16.2987 14.5193C16.1935 16.0975 16.1409 16.8867 15.8 17.485C15.4999 18.0118 15.0472 18.4353 14.5017 18.6997C13.882 19 13.0911 19 11.5093 19H8.49065C6.90891 19 6.11803 19 5.49834 18.6997C4.95276 18.4353 4.50009 18.0118 4.19998 17.485C3.85911 16.8867 3.8065 16.0975 3.70129 14.5193L3 4M8 8.5V13.5M12 8.5V13.5' stroke='%23FF2462' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"})]})})]})},rQ=(0,i.createContext)({showTrelloProjectModal:!1,setShowTrelloProjectModal:{},showCreateCardModal:!1,setShowCreateCardModal:{},feedbackId:"",setFeedbackId:{},myTrelloBoards:void 0,showLinkTicketToFeedbackModal:!1,setShowLinkTicketToFeedbackModal:{}}),rK=()=>(0,i.useContext)(rQ),rZ=async e=>{try{let{data:t}=await rf.project.projectControllerGetProject(e);return t}catch(e){return null}},rX=(e,t)=>ex(Object.assign({queryKey:["projects",e],queryFn:()=>rZ(e)},t)),rJ=async()=>{try{let{data:e}=await rf.trello.trelloControllerGetMyBoards();return e}catch(e){return[]}},r1=async e=>{let{data:t}=await rf.trello.trelloControllerGetProjectLists(e);return t},r0=async e=>{let{data:t}=await rf.trello.trelloControllerLinkBoard(e);return t},r3=async e=>{let{data:t}=await rf.trello.trelloControllerGetCard(e);return t},r2=async e=>{let{data:t}=await rf.trello.trelloControllerCreateCard(e);return t},r4=async e=>{let{data:t}=await rf.trello.trelloControllerLinkCard(e);return t},r8=async e=>{let{data:t}=await rf.trello.trelloControllerTrelloAuthorizeUrl(e);return t},r6=()=>{let e=eg();return ew({mutationFn:r8,onSuccess:t=>
224(window.location.href=t,e.invalidateQueries({queryKey:["trello"]}))})},r5=async e=>{let{data:t}=await rf.notion.notionControllerNotionAuthorizeUrl(e);return t},r9=async e=>{let{data:t}=await rf.notion.notionControllerGetToken(e);return t},r7=async e=>{let{notionDatabaseId:t,projectId:n}=e;if(!t||!n)return[];let{data:r}=await rf.notion.notionControllerGetDatabaseStatuses(t,n);return r},se=async e=>{let{data:t}=await rf.notion.notionControllerCreateTicket(e);return t},st=async e=>{let{data:t}=await rf.notion.notionControllerLinkTicketToFeedback(e);return t},sn=()=>{let e=eg();return ew({mutationFn:r5,onSuccess:t=>(window.location.href=t,e.invalidateQueries({queryKey:["notion"]}))})},sr=nj.div` 225 position: relative; 226`,ss=nj.div` 227 visibility: hidden; 228 width: max-content; 229 background-color: #555; 230 color: #fff; 231 text-align: center; 232 border-radius: 6px; 233 padding: 2px 6px; 234 position: absolute; 235 bottom: -20px; 236 left: 50%; 237 transform: translateX(-50%); 238 opacity: 0; 239 transition: opacity 0.3s; 240 font-size: 11px; 241 line-height: 15px; 242 font-weight: 400; 243 font-family: "Kumbh Sans", sans-serif; 244 245 &.visible { 246 visibility: visible; 247 opacity: 1; 248 } 249`,si=({children:e,text:t,delay:n=200})=>{let[r,o]=(0,i.useState)(!1),a=(0,i.useRef)(null);return(0,s.jsxs)(sr,{onMouseEnter:()=>{a.current=window.setTimeout(()=>{o(!0)},n)},onMouseLeave:()=>{a.current&&clearTimeout(a.current),o(!1)},children:[(0,s.jsx)(ss,{className:r?"visible":"",children:t}),e]})},so=nj.div` 250 display: flex; 251 align-items: center; 252 gap: 8px; 253 height: 16px; 254`,sa=nj.img` 255 width: 16px; 256 height: 16px; 257 cursor: pointer; 258 & * { 259 cursor: pointer; 260 } 261 &:hover { 262 opacity: 0.8; 263 } 264`,sl=({feedback:e})=>{let{rootDir:t,projectId:n,notionDatabaseId:r}=nD(),{setShowCreateCardModal:i,setShowTrelloProjectModal:o,setFeedbackId:a}=rK(),{data:l}=rg({refetchOnMount:!1}),{mutate:c}=r6(),{data:u}=((e,t)=>ex(Object.assign({queryKey:["trello","card",e],queryFn:()=>r3(e)},t)))(e.trelloCardId,{refetchOnMount:!1}),{data:d}=rX(n,{refetchOnMount:!1}),{mutate:h}=sn(),f=`${null==l?void 0:l.editorPreference}://file${t+e.elementId}`,p=async()=>{(null==l?void 0:l.trelloToken)?u?window.open(u.url,"_blank"):(null==d?void 0:d.trelloBoardId)?(a(e.id),i(!0)):o(!0):c(window.location.href)},m=async()=>{r&&((null==d?void 0:d.notionToken)?e.notionTicketUrl?window.open(e.notionTicketUrl,"_blank"):(a(e.id),i(!0)):h(window.location.href))},g=null==l?void 0:l.collaborations.find(e=>e.projectId===n),y=`Open in ${(null==l?void 0:l.editorPreference)==="vscode"?"VSCode":"Cursor"}`,v="Create ticket";(null==d?void 0:d.notionToken)?e.notionTicketUrl&&(v="View ticket"):v="Connect";let b="Create card";return(null==l?void 0:l.trelloToken)?u?b="View ticket":(null==d?void 0:d.trelloBoardId)||(b="Set up Trello board"):b="Connect",(0,s.jsxs)(so,{children:[(null==g?void 0:g.role)==="developer"&&e.elementId&&(0,s.jsx)(si,{text:y,children:(0,s.jsx)(sa,{src:(null==l?void 0:l.editorPreference)==="vscode"?"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' width='48px' height='48px'%3e%3cpath d='M44.999 10.87v26.21c0 1.03-.59 1.97-1.51 2.42-2.68 1.29-8 3.85-8.35 4.01-.13.07-.38.2-.67.31.35-.6.53-1.3.53-2.02V6.2c0-.75-.2-1.45-.56-2.06.09.04.17.08.24.11.2.1 5.98 2.86 8.8 4.2C44.409 8.9 44.999 9.84 44.999 10.87zM7.499 26.03c1.6 1.46 3.43 3.13 5.34 4.86l-4.6 3.5c-.77.57-1.78.5-2.56-.05-.5-.36-1.89-1.65-1.89-1.65-1.01-.81-1.06-2.32-.11-3.19C3.679 29.5 5.179 28.13 7.499 26.03zM31.999 6.2v10.11l-7.63 5.8-6.85-5.21c4.98-4.53 10.01-9.11 12.65-11.52C30.869 4.74 31.999 5.25 31.999 6.2zM32 41.798V31.69L8.24 13.61c-.77-.57-1.78-.5-2.56.05-.5.36-1.89 1.65-1.89 1.65-1.01.81-1.06 2.32-.11 3.19 0 0 20.145 18.338 26.485 24.116C30.871 43.26 32 42.753 32 41.798z' fill='white'/%3e%3c/svg%3e":"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24px' height='24px'%3e%3cpath fill='white' d='M21.49%2c6.128L12.493%2c1.07c-0.305-0.171-0.676-0.171-0.98%2c0L2.51%2c6.128C2.195%2c6.305%2c2%2c6.639%2c2%2c7v10 c0%2c0.363%2c0.197%2c0.698%2c0.514%2c0.874l9%2c5C11.666%2c22.958%2c11.833%2c23%2c12%2c23s0.334-0.
264042%2c0.486-0.126l9-5C21.803%2c17.698%2c22%2c17.363%2c22%2c17V7 C22%2c6.639%2c21.805%2c6.305%2c21.49%2c6.128z M20.434%2c7.248l-8%2c14C12.344%2c21.407%2c12.176%2c21.5%2c12%2c21.5c-0.042%2c0-0.085-0.005-0.128-0.017 C11.652%2c21.425%2c11.5%2c21.227%2c11.5%2c21v-9.691L3.776%2c7.447C3.569%2c7.344%2c3.46%2c7.111%2c3.513%2c6.885S3.768%2c6.5%2c4%2c6.5h16 c0.178%2c0%2c0.343%2c0.095%2c0.433%2c0.249C20.522%2c6.903%2c20.522%2c7.093%2c20.434%2c7.248z'/%3e%3c/svg%3e",onClick:()=>{window.open(f,"_blank")}})}),r?(0,s.jsx)(si,{text:v,children:(0,s.jsx)(sa,{src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50' width='50px' height='50px'%3e%3cpath fill='white' d='M44.62 13.13c-.23-.21-.52-.33-.83-.33-.02 0-.05.01-.08.01l-29.86 1.92c-.63.04-1.13.58-1.13 1.21v28.75c0 .34.14.65.38.88.25.23.57.35.91.33l29.86-1.93C44.51 43.93 45 43.4 45 42.76V14.02C45 13.68 44.87 13.36 44.62 13.13zM38.11 20.92c-.6.19-.79.2-.79.2v17.24c-1.02.55-1.86.81-2.74.81-1.07 0-1.68-.24-2.5-1.5-1.74-2.69-7.41-11.81-7.41-11.81v11.45l2.23.47c0 0-.06 1.3-2.01 1.45-1.71.13-5.44.32-5.44.32 0-.47.1-1.12.84-1.31.35-.09 1.4-.37 1.4-.37V22.42h-2.24c0-1.03.3-1.83 1.38-1.91l5.79-.33 7.73 11.92V21.49l-2.24-.19c0-.93.9-1.5 1.67-1.58l5.04-.28C38.82 20.09 38.79 20.7 38.11 20.92zM4.98 8.54l5.74 5.74v29.54L5.6 37.66c-.41-.58-.62-1.25-.62-1.96V8.54zM42.72 10.91l-29.06 1.83c-.99.07-1.95-.3-2.65-.99L6.24 6.97l27.19-1.89c.81-.07 1.62.17 2.28.66L42.72 10.91z'/%3e%3c/svg%3e",onClick:m})}):(0,s.jsx)(si,{text:b,children:(0,s.jsx)(sa,{src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='64' viewBox='0 0 86 64' height='64'%3e%3cpath d='M55.16 1.5H7.88a7.88 7.88 0 0 0-5.572 2.308A7.88 7.88 0 0 0 0 9.39v47.28a7.88 7.88 0 0 0 7.88 7.88h47.28A7.88 7.88 0 0 0 63 56.67V9.4a7.88 7.88 0 0 0-7.84-7.88zM27.42 49.26A3.78 3.78 0 0 1 23.64 53H12a3.78 3.78 0 0 1-3.8-3.74V13.5A3.78 3.78 0 0 1 12 9.71h11.64a3.78 3.78 0 0 1 3.78 3.78zM54.85 33.5a3.78 3.78 0 0 1-3.78 3.78H39.4a3.78 3.78 0 0 1-3.78-3.78v-20a3.78 3.78 0 0 1 3.78-3.79h11.67a3.78 3.78 0 0 1 3.78 3.78z' fill='white' fill-rule='evenodd' transform='matrix(1.163111 0 0 1.163111 .023263 -6.417545)'/%3e%3c/svg%3e",onClick:p})})]})},sc=nj.div` 265 width: 100%; 266`,su=nj.div` 267 display: flex; 268 flex-direction: row; 269 align-items: center; 270 justify-content: space-between; 271 padding: 12px; 272 position: relative; 273 z-index: 20; 274`,sd=nj.span` 275 font-family: "Kumbh Sans", sans-serif; 276 font-weight: 500; 277 font-size: 14px; 278 line-height: 18px; 279 color: #fff; 280`,sh=nj.div` 281 display: flex; 282 align-items: center; 283 gap: 8px; 284`,sf=nj.div` 285 display: flex; 286 flex-direction: column; 287 gap: 12px; 288`,sp=nj.div` 289 display: flex; 290 flex-direction: column; 291 gap: 8px; 292 padding: 12px; 293 max-height: 220px; 294 overflow-y: auto; 295 overflow-x: hidden; 296 scrollbar-color: #717680 #343d4b; 297 scrollbar-width: thin; 298`,sm=nj.div` 299 margin: 12px; 300`,sg=({feedback:e,setFeedbackHeight:t,setIsHovered:n})=>{let[r,o]=(0,i.useState)(""),a=(0,i.useRef)(null),{mutate:l}=(e=>{let t=eg();return ew({mutationFn:t=>rb(e,t),onSuccess:()=>t.invalidateQueries({queryKey:["feedbacks"]})})})(e.id),{setSelectedFeedback:c}=nD();return(0,i.useEffect)(()=>{a.current&&t(a.current.clientHeight)},[e,t]),(0,s.jsxs)(sc,{ref:a,children:[(0,s.jsxs)(su,{children:[(0,s.jsx)(sd,{children:"Commentaire"}),(0,s.jsxs)(sh,{children:[(0,s.jsx)(sl,{feedback:e}),(0,s.jsx)(rB,{feedback:e,setIsHovered:n,isDark:!0}),(0,s.jsx)(rj,{onClick:()=>{n(!1),c(null)},size:"small"})]})]}),(0,s.jsxs)(sf,{children:[(0,s.jsx)(sp,{children:[e,...e.replies].map(e=>(0,s.jsx)(rI,{reply:e},e.id))}),(0,s.jsx)(sm,{children:(0,s.jsx)(rY,{value:r,setValue:o,onSubmit:()=>{l(r)},handleResize:()=>{a.current&&t(a.current.clientHeight)}})})]})]})},sy=e=>Array.from(document.querySelectorAll(`[data-path="${e}"]`)).filter(e=>!(e=>{let t=e;for(;t;){if("none"===getComputedStyle(t).display)return!0;t=t.parentElement}return!1})(e)),sv=(0,i.forwardRef)(({feedback:e,feedbackHeight:t=0,isEditing:n,isSelected:r,isHovered:o,setShouldReverse:a,children:l},c)=>{let u=(0,i.useRef)(null),d=(0,i.useRef)(null),[h,f]=(0,i.useState)({bottom:window.innerHeight,left:0}),[p,m]=(0,i.useState)(!1),g=function(e,t,n,r){var s=this,o=(0,i.useRef)(null),a=(0,i.useRef)(0),l=(0,i.useRef)(0),c=(0,i.useRef)(null),u=(0,i.useRef)([]),d=(0,i.useRef)(),h=(0,i.useRef)(),f=(0,i.useRef)(e),p=(0,i.useRef)(!0);f.current=e;var m="undefined"!=typeof window,g=!t&&0!==t&&m;if("function"!=typeof e)throw TypeError("Expected a function");t=+t||0;var y=!!(n=n||{}).leading,v=!("trailing"in n)||!!n.trailing,b="maxWait"in n,C="debounceOnServer"in n&&!!n.debounceOnServer,x=b?Math.max(+n.maxWait||0,t):null;return(0,i.useEffect)(function(){return p.current=!0,function(){p.current=!1}},[]),(0,i.useMemo)(function(){var e=function(e){var t=u.current,n=d.current;return u.current=d.current=null,a.current=e,l.current=l.current||e,h.current=f.current.apply(n,t)},n=function(e,t){g&&cancelAnimationFrame(c.current),c.current=g?requestAnimationFrame(e):setTimeout(e,t)},r=function(e){if(!p.current)return!1;var n=e-o.current;return!o.current||n>=t||n<0||b&&e-a.current>=x},i=function(t){return c.current=null,v&&u.current?e(t):(u.current=d.current=null,h.current)},w=function e(){var s=Date.now();if(y&&l.current===a.current&&k(),r(s))return i(s);if(p.current){var c=t-(s-o.current);n(e,b?Math.min(c,x-(s-a.current)):c)}},k=function(){},_=function(){if(m||C){var i=Date.now(),l=r(i);if(u.current=[].slice.call(arguments),d.current=s,o.current=i,l){if(!c.current&&p.current)return a.current=o.current,n(w,t),y?e(o.current):h.current;if(b)return n(w,t),e(o.current)}return c.current||n(w,t),h.current}};return _.cancel=function(){c.current&&(g?cancelAnimationFrame(c.current):clearTimeout(c.current)),a.current=0,u.current=o.current=d.current=c.current=null},_.isPending=function(){return!!c.current},_.flush=function(){return c.current?i(Date.now()):h.current},_},[y,b,t,x,v,g,m,C,r])}(()=>{b()},100),y=(0,i.useCallback)(()=>
300{if(!u||!u.current)return;let{bottom:s,left:i,isOverflowingX:l}=sb({feedback:e,feedbackHeight:t,isSelected:r,isHovered:o,isEditing:n,dimensions:u.current.getBoundingClientRect()});f({bottom:s,left:i}),a&&a(l),m(!0)},[r,n,o,e,a,t]),v=(0,i.useCallback)(()=>{d.current&&(d.current.removeEventListener("scroll",y),d.current=null),document.body.removeEventListener("scroll",y),window.removeEventListener("resize",y)},[y]),b=(0,i.useCallback)(()=>{v();let t=sy(e.elementId),n=t[e.elementIndex];if(n||(n=t[t.length-1]),u.current=n,n&&y){y();let e=(e=>{let t=e.parentElement;for(;t;){let e=window.getComputedStyle(t);if("body"===t.tagName.toLowerCase())return document;if("auto"===e.overflow||"scroll"===e.overflow||"auto"===e.overflowY||"scroll"===e.overflowY||"auto"===e.overflowX||"scroll"===e.overflowX)return t;t=t.parentElement}return null})(n);e?(e.addEventListener("scroll",y),d.current=e):document.addEventListener("scroll",y),window.addEventListener("resize",y)}},[y,e,v]);return((0,i.useEffect)(()=>{g();let e=new MutationObserver(()=>{g()});return e.observe(document.body,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),()=>{e.disconnect(),v()}},[g,v]),u&&u.current&&p)?(0,s.jsx)("div",{ref:c,style:{position:"absolute",bottom:h.bottom,left:h.left,transition:"all 0.25s ease-in-out",zIndex:n?1000002:r||o?1000001:1e6,borderRadius:"24px"},children:l}):null}),sb=({feedback:e,dimensions:t,feedbackHeight:n,isSelected:r,isHovered:s,isEditing:i})=>{let o=t.width||0,a=t.height||0,l=e.elementWidth?e.elementWidth/o:1,c=e.elementHeight?e.elementHeight/a:1,u=e.x/l+t.left+window.scrollX,d=document.documentElement.clientHeight-(e.y/c+t.top+window.scrollY),h=u+(i?348:254)+24>document.documentElement.clientWidth;return{bottom:d+n>document.documentElement.clientHeight&&r?document.documentElement.clientHeight-n-24:d,left:h?u-(i?300:48)-(s||r?206:0):u,isOverflowingX:h}},sC=nj.div` 301 display: flex; 302 flex-shrink: 0; 303 justify-content: center; 304 align-items: center; 305 width: 24px; 306 height: 24px; 307 margin: 12px; 308 cursor: pointer; 309 & * { 310 cursor: pointer; 311 } 312`,sx=nj.span` 313 font-family: "Kumbh Sans", sans-serif; 314 font-weight: 500; 315 color: #fff; 316`,sw=({feedback:e})=>{let[t,n]=(0,i.useState)(!1),[r,o]=(0,i.useState)(0),{selectedFeedback:a,setSelectedFeedback:l}=nD(),{mutate:c}=rS(),u=(e=>{if(e.fullName){let t=e.fullName.split(" ");return(t[0].charAt(0)+t[1].charAt(0)).toUpperCase()}if(!e.firstName||!e.lastName)return"";let t=e.firstName.charAt(0),n=e.lastName.charAt(0);return`${t}${n}`.toUpperCase()})(e.user),d=a&&e.id===a.id;return(0,i.useEffect)(()=>{d?n(!0):n(!1)},[d]),(0,s.jsx)(sv,{feedback:e,isSelected:!!d,isHovered:t,feedbackHeight:t&&!d?96:r,children:(0,s.jsx)("div",{onMouseOver:()=>n(!0),onMouseOut:()=>n(!1),onClick:()=>{c(e.id),l(e)},className:`galafeedback-feedback-item ${d&&"selected"}`,style:{opacity:!e.isResolved||t||d?1:.5},children:d?(0,s.jsx)(sg,{feedback:e,setFeedbackHeight:o,setIsHovered:n}):t?(0,s.jsx)(nW,{feedback:e}):(0,s.jsx)(sC,{children:(0,s.jsx)(sx,{children:u})})})})},sk=()=>{let{isOpen:e,feedbacks:t}=nD(),{pathname:n=window.location.pathname}=nD();return e&&t?t.filter(e=>e.path===n).map(e=>(0,s.jsx)(sw,{feedback:e},e.id)):null},s_=()=>(0,s.jsx)("div",{className:"galafeedback-comment-icon"}),sS=()=>{let{newFeedback:e,resetFeedback:t,newFeedbackRef:n}=nD(),[r,o]=(0,i.useState)((null==e?void 0:e.comment)||""),[a,l]=(0,i.useState)(!1),{mutate:c}=r_();return((0,i.useEffect)(()=>{o((null==e?void 0:e.comment)||"")},[e]),e)?(0,s.jsx)(sv,{ref:n,feedback:e,setShouldReverse:l,isEditing:!0,children:(0,s.jsxs)("div",{className:"galafeedback-comment-container",style:{flexDirection:a?"row-reverse":"row",alignItems:r.length>0?"flex-start":"flex-end",top:r.length>0?"53px":"0px"},children:[(0,s.jsx)(s_,{}),(0,s.jsx)(rY,{value:r,setValue:o,onSubmit:()=>{e&&r&&(c(Object.assign(Object.assign({},e),{x:e.x,y:e.y,comment:r})),t())},isAnimated:!0,isDark:!0})]})}):null};var sT="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9 18L15 12L9 6' stroke='%23E6F2FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";let sO=nj.div` 317 height: 64px; 318 width: 64px; 319 border-radius: 50%; 320 background-color: #252b37; 321 position: absolute; 322 left: -32px; 323 bottom: 2px; 324 display: flex; 325 justify-content: center; 326 align-items: center; 327 padding-right: 24px; 328`,sj=({isCollapsed:e,setIsCollapsed:t})=>(0,s.jsx)(sO,{onClick:e=>{e.stopPropagation(),t(e=>!e)},children:(0,s.jsx)("img",{src:e?"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15 18L9 12L15 6' stroke='%23E6F2FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e":sT})}),sM=async e=>{let t=await rf.auth.authControllerSignIn(e);return localStorage.setItem("galadrimFeedbackToken",t.data.accessToken),t.data},sR=async e=>{let t=await rf.auth.authControllerSignUp(e);return localStorage.setItem("galadrimFeedbackToken",t.data.accessToken),t.data},sD=async e=>(await rf.auth.authControllerForgotPassword(e)).data,sE=async e=>{let t=await rf.auth.authControllerResetPassword(e);return localStorage.setItem("galadrimFeedbackToken",t.data.accessToken),t.data},sP=async()=>{localStorage.removeItem("galadrimFeedbackToken")},sI=async e=>{try{return(await rf.collaborator.collaboratorControllerGetCollaborators(e)).data}catch(e){return null}},sL=async(e,t)=>(await rf.collaborator.collaboratorControllerAddCollaborator(e,t)).data,sA=nj.div` 329 padding: 16px 12px; 330 background-color: #252b37; 331 color: #fff; 332 border-radius: 8px; 333 display: flex; 334 flex-direction: column; 335 gap: 16px; 336`,sN=nj.div` 337 display: flex; 338 flex-direction: column; 339 gap: 8px; 340`,sF=nj.label` 341 font-family: "Kumbh Sans", sans-serif; 342 font-size: 14px; 343 font-weight: 600; 344 color: #e9eaeb; 345 margin-top: 16px; 346`,sU=nj.input` 347 padding: 8px 12px; 348 border-radius: 6px; 349 border: 1px solid #343d4b; 350 outline: none; 351 background: #232733 !important; 352 color: #fff; 353 font-size: 14px; 354 font-family: "Kumbh Sans", sans-serif; 355 font-weight: 400; 356 &::placeholder { 357 color: #ccc; 358 } 359 &:-webkit-autofill, 360 &:-webkit-autofill:hover, 361 &:-webkit-autofill:focus, 362 &:-webkit-autofill:active { 363 -webkit-background-clip: text; 364 -webkit-text-fill-color: #fff; 365 transition: background-color 5000s ease-in-out 0s; 366 box-shadow: inset 0 0 20px 20px #343d4b; 367 color: #fff; 368 } 369`,sY=nj.select` 370 padding: 8px 12px; 371 border-radius: 6px; 372 border: 1px solid #343d4b; 373 background: #232733; 374 color: #fff; 375 font-size: 14px; 376 outline: none; 377 border-right: 5px solid transparent; 378 box-shadow: 1px 0px 0px #343d4b; 379`,sH=nj.div` 380 padding: 8px 16px; 381 border-radius: 6px; 382 border: none; 383 background: #343d4b; 384 color: #fff; 385 font-weight: 600; 386 font-size: 14px; 387 margin-top: 4px; 388 transition: background 0.2s; 389 cursor: pointer; 390 & * { 391 cursor: pointer; 392 } 393 &:hover { 394 opacity: 0.8; 395 } 396`,sV=nj.span` 397 font-family: "Kumbh Sans", sans-serif; 398 font-size: 13px; 399 font-weight: 400; 400 color: #2ecc40; 401 margin-left: 8px; 402`,sz=nj.h2` 403 font-size: 18px; 404 font-family: "Kumbh Sans", sans-serif; 405 font-weight: 400; 406 color: #fff; 407 margin-bottom: 12px; 408 text-align: center; 409`,sG=nj.p` 410 font-size: 14px; 411 font-family: "Kumbh Sans", sans-serif; 412 font-weight: 400; 413 white-space: pre-wrap; 414 word-break: break-all; 415`,s$=nj.div` 416 width: 32px; 417 height: 32px; 418 display: flex; 419 align-items: center; 420 justify-content: center; 421`,sq={developer:"D\xe9veloppeur",manager:"Manager",client:"Client"},sW=()=>{let{projectId:e}=nD(),{data:t}=((e,t)=>ex(Object.assign({queryKey:["collaborators",e],queryFn:()=>sI(e)},t)))(e),[n,r]=(0,i.useState)(""),[o,a]=(0,i.useState)("developer"),{mutate:l,isPending:c}=(e=>{let t=eg();return ew({mutationFn:t=>sL(e,t),onSuccess:()=>{t.invalidateQueries({queryKey:["collaborators",e]})}})})(e),u=()=>{l({email:n,role:o}),r("")};return(0,s.jsxs)(sA,{children:[(0,s.jsx)(sz,{children:"Membres"}),(0,s.jsx)(sN,{children:null==t?void 0:t.map(e=>(0,s.jsxs)(sG,{children:[e.email," (",sq[e.role],")",e.isPending&&(0,s.jsx)(sV,{children:"En attente"})]},e.id))}),(0,s.jsxs)(sN,{children:[(0,s.jsx)(sF,{children:"Nouveau membre"}),(0,s.jsx)(sU,{value:n,onChange:e=>r(e.target.value),placeholder:"Email du membre",onKeyDown:e=>{"Enter"===e.key&&u()}}),(0,s.jsxs)(sY,{value:o,onChange:e=>{a(e.target.value)},children:[(0,s.jsx)("option",{value:"developer",children:"D\xe9veloppeur"}),(0,s.jsx)("option",{value:"manager",children:"Manager"}),(0,s.jsx)("option",{value:"client",children:"Client"})]}),(0,s.jsx)(sH,{onClick:u,children:c?(0,s.jsx)(s$,{children:(0,s.jsx)(rL,{color:"#fff"})}):"Ajouter"})]})]})},sB=nj.div` 422 background-color: #fff; 423 border-radius: 8px; 424 cursor: default; 425 width: ${({$limitWidth:e})=>e?"400px":""}; 426 min-width: ${({$minWidth:e})=>e+"px"}; 427 max-width: 80%; 428 max-height: 80vh; 429`,sQ=({isVisible:e,closeModal:t,limitWidth:n=!0,minWidth:r=400,children:o})=>{let a=(0,i.useRef)(!1);return e?(0,s.jsx)("div",{id:"galafeedback-modal",onMouseDown:e=>{"TEXTAREA"===e.target.tagName&&(a.current=!0)},onMouseUp:()=>{setTimeout(()=>{a.current=!1},100)},onClick:e=>{t&&e.target===e.currentTarget&&!a.current&&t()},children:(0,s.jsx)(sB,{$limitWidth:n,$minWidth:r,children:o})}):null},sK=({isVisible:e,closeModal:t})=>(0,s.jsx)(sQ,{isVisible:e,closeModal:t,children:(0,s.jsx)(sW,{})});function sZ(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=function e(t){var n,r,s="";if("string"==typeof t||"number"==typeof t)s+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=e(t[n]))&&(s&&(s+=" "),s+=r)}else for(r in t)t[r]&&(s&&(s+=" "),s+=r);return s}(e))&&(r&&(r+=" "),r+=t);return r}!function(e){if("undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);
429-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}
429.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}
429}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}} 430`);var sX=e=>"number"==typeof e&&!isNaN(e),sJ=e=>"string"==typeof e||"function"==typeof e?e:null,s1=e=>(0,i.isValidElement)(e)||"string"==typeof e||"function"==typeof e||sX(e);function s0(e,t){return{content:s3(e.content,e.props),containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,reason:e.removalReason,status:t}}function s3(e,t,n=!1){return(0,i.isValidElement)(e)&&"string"!=typeof e.type?(0,i.cloneElement)(e,{closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):"function"==typeof e?e({closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):e}function s2({delay:e,isRunning:t,closeToast:n,type:r="default",hide:s,className:o,controlledProgress:a,progress:l,rtl:c,isIn:u,theme:d}){let h=s||a&&0===l,f={animationDuration:`${e}ms`,animationPlayState:t?"running":"paused"};a&&(f.transform=`scaleX(${l})`);let p=sZ("Toastify__progress-bar",a?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${d}`,`Toastify__progress-bar--${r}`,{"Toastify__progress-bar--rtl":c}),m="function"==typeof o?o({rtl:c,type:r,defaultClassName:p}):sZ(p,o);return i.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":h},i.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${d} Toastify__progress-bar--${r}`}),i.createElement("div",{role:"progressbar","aria-hidden":h?"true":"false","aria-label":"notification timer",className:m,style:f,...{[a&&l>=1?"onTransitionEnd":"onAnimationEnd"]:a&&l<1?null:()=>{u&&n()}}}))}var s4=1,s8=()=>`${s4++}`,s6=new Map,s5=[],s9=new Set,s7=e=>s9.forEach(t=>t(e));function ie(e,t){var n;if(t)return!!(null!=(n=s6.get(t))&&n.isToastActive(e));let r=!1;return s6.forEach(t=>{t.isToastActive(e)&&(r=!0)}),r}function it(e,t){s1(e)&&(s6.size>0||s5.push({content:e,options:t}),s6.forEach(n=>
430{n.buildToast(e,t)}))}function ir(e,t){s6.forEach(n=>{null!=t&&null!=t&&t.containerId&&(null==t?void 0:t.containerId)!==n.id||n.toggle(e,null==t?void 0:t.id)})}function is(e,t){return it(e,t),t.toastId}function ii(e,t){var n;return{...t,type:t&&t.type||e,toastId:(n=t)&&("string"==typeof n.toastId||sX(n.toastId))?n.toastId:s8()}}function io(e){return(t,n)=>is(t,ii(e,n))}function ia(e,t){return is(e,ii("default",t))}ia.loading=(e,t)=>is(e,ii("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),ia.promise=function(e,{pending:t,error:n,success:r},s){let i;t&&(i="string"==typeof t?ia.loading(t,s):ia.loading(t.render,{...s,...t}));let o={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},a=(e,t,n)=>{if(null==t)return void ia.dismiss(i);let r={type:e,...o,...s,data:n},a="string"==typeof t?{render:t}:t;return i?ia.update(i,{...r,...a}):ia(a.render,{...r,...a}),n},l="function"==typeof e?e():e;return l.then(e=>a("success",r,e)).catch(e=>a("error",n,e)),l},ia.success=io("success"),ia.info=io("info"),ia.error=io("error"),ia.warning=io("warning"),ia.warn=ia.warning,ia.dark=(e,t)=>is(e,ii("default",{theme:"dark",...t})),ia.dismiss=function(e){!function(e){let t;if(!(s6.size>0)){s5=s5.filter(t=>null!=e&&t.options.toastId!==e);return}if(null==e||"string"==typeof(t=e)||sX(t))s6.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=s6.get(e.containerId);t?t.removeToast(e.id):s6.forEach(t=>{t.removeToast(e.id)})}}(e)},ia.clearWaitingQueue=(e={})=>{s6.forEach(t=>{t.props.limit&&(!e.containerId||t.id===e.containerId)&&t.clearQueue()})},ia.isActive=ie,ia.update=(e,t={})=>{let n=((e,{containerId:t})=>{var n;return null==(n=s6.get(t||1))?void 0:n.toasts.get(e)})(e,t);if(n){let{props:r,content:s}=n,i={delay:100,...r,...t,toastId:t.toastId||e,updateId:s8()};i.toastId!==e&&(i.staleId=e);let o=i.render||s;delete i.render,is(o,i)}},ia.done=e=>{ia.update(e,{progress:1})},ia.onChange=function(e){return s9.add(e),()=>{s9.delete(e)}},ia.play=e=>ir(!0,e),ia.pause=e=>ir(!1,e);var il="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,ic=({theme:e,type:t,isLoading:n,...r})=>i.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===e?"currentColor":`var(--toastify-icon-color-${t})`,...r}),iu={info:function(e){return i.createElement(ic,{...e},i.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return i.createElement(ic,{...e},i.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return i.createElement(ic,{...e},i.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return i.createElement(ic,{...e},i.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return i.createElement("div",{className:"Toastify__spinner"})}},id=e=>{let{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:s,playToast:o}=function(e){var t,n;let[r,s]=(0,i.useState)(!1),[o,a]=(0,i.useState)(!1),l=(0,i.useRef)(null),c=(0,i.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:u,pauseOnHover:d,closeToast:h,onClick:f,closeOnClick:p}=e;function m(){s(!0)}function g(){s(!1)}function y(t){let n=l.current;if(c.canDrag&&n){c.didMove=!0,r&&g(),"x"===e.draggableDirection?c.delta=t.clientX-c.start:c.delta=t.clientY-c.start,c.start!==t.clientX&&(c.canCloseOnClick=!1);let s="x"===e.draggableDirection?`${c.delta}px, var(--y)`:`0, calc(${c.delta}px + var(--y))`;n.style.transform=`translate3d(${s},0)`,n.style.opacity=`${1-Math.abs(c.delta/c.removalDistance)}`}}function v(){document.removeEventListener("pointermove",y),document.removeEventListener("pointerup",v);let t=l.current;if(c.canDrag&&c.didMove&&t){if(c.canDrag=!1,Math.abs(c.delta)>c.removalDistance){a(!0),e.closeToast(!0),e.collapseAll();return}t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity")}}t={id:e.toastId,containerId:e.containerId,fn:s},null==(n=s6.get(t.containerId||1))||n.setToggle(t.id,t.fn),(0,i.useEffect)(()=>
430{if(e.pauseOnFocusLoss)return document.hasFocus()||g(),window.addEventListener("focus",m),window.addEventListener("blur",g),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",g)}},[e.pauseOnFocusLoss]);let b={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){c.didMove=!1,document.addEventListener("pointermove",y),document.addEventListener("pointerup",v);let n=l.current;c.canCloseOnClick=!0,c.canDrag=!0,n.style.transition="none","x"===e.draggableDirection?(c.start=t.clientX,c.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(c.start=t.clientY,c.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(t){let{top:n,bottom:r,left:s,right:i}=l.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=s&&t.clientX<=i&&t.clientY>=n&&t.clientY<=r?g():m()}};return u&&d&&(b.onMouseEnter=g,e.stacked||(b.onMouseLeave=m)),p&&(b.onClick=e=>{f&&f(e),c.canCloseOnClick&&h(!0)}),{playToast:m,pauseToast:g,isRunning:r,preventExitTransition:o,toastRef:l,eventHandlers:b}}(e),{closeButton:a,children:l,autoClose:c,onClick:u,type:d,hideProgressBar:h,closeToast:f,transition:p,position:m,className:g,style:y,progressClassName:v,updateId:b,role:C,progress:x,rtl:w,toastId:k,deleteToast:_,isIn:S,isLoading:T,closeOnClick:O,theme:j,ariaLabel:M}=e,R=sZ("Toastify__toast",`Toastify__toast-theme--${j}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":w},{"Toastify__toast--close-on-click":O}),D="function"==typeof g?g({rtl:w,position:m,type:d,defaultClassName:R}):sZ(R,g),E=function({theme:e,type:t,isLoading:n,icon:r}){let s=null,o={theme:e,type:t};return!1===r||("function"==typeof r?s=r({...o,isLoading:n}):(0,i.isValidElement)(r)?s=(0,i.cloneElement)(r,o):n?s=iu.spinner():t in iu&&(s=iu[t](o))),s}(e),P=!!x||!c,I={closeToast:f,type:d,theme:j},L=null;return!1===a||(L="function"==typeof a?a(I):(0,i.isValidElement)(a)?(0,i.cloneElement)(a,I):function({closeToast:e,theme:t,ariaLabel:n="close"}){return i.createElement("button",{className:`Toastify__close-button Toastify__close-button--${t}`,type:"button",onClick:t=>{t.stopPropagation(),e(!0)},"aria-label":n},i.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},i.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(I)),i.createElement(p,{isIn:S,done:_,position:m,preventExitTransition:n,nodeRef:r,playToast:o},i.createElement("div",{id:k,tabIndex:0,onClick:u,"data-in":S,className:D,...s,style:y,ref:r,...S&&{role:C,"aria-label":M}},null!=E&&i.createElement("div",{className:sZ("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!T})},E),s3(l,e,!t),L,!e.customProgressBar&&i.createElement(s2,{...b&&!P?{key:`p-${b}`}:{},rtl:w,theme:j,delay:c,isRunning:t,isIn:S,closeToast:f,hide:h,type:d,className:v,controlledProgress:P,progress:x||0})))},ih={position:"top-right",transition:function({enter:e,exit:t,appendPosition:n=!1,collapse:r=!0,collapseDuration:s=300}){return function({children:o,position:a,preventExitTransition:l,done:c,nodeRef:u,isIn:d,playToast:h}){let f=n?`${e}--${a}`:e,p=n?`${t}--${a}`:t,m=(0,i.useRef)(0);return(0,i.useLayoutEffect)(()=>{let e=u.current,t=f.split(" "),n=r=>{r.target===u.current&&(h(),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===m.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)},[]),(0,i.useEffect)(()=>{let e=u.current,t=()=>{e.removeEventListener("animationend",t),r?function(e,t,n=300){let{scrollHeight:r,style:s}=e;requestAnimationFrame(()=>{s.minHeight="initial",s.height=r+"px",s.transition=`all ${n}ms`,requestAnimationFrame(()=>{s.height="0",s.padding="0",s.margin="0",setTimeout(t,n)})})}(e,c,s):c()};d||(l?t():(m.current=1,e.className+=` ${p}`,e.addEventListener("animationend",t)))},[d]),i.createElement(i.Fragment,null,o)}}(((e,t=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}))("bounce",!0)),autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:e=>e.altKey&&"KeyT"===e.code};function ip(e){let t={...ih,...e},n=e.stacked,[r,s]=(0,i.useState)(!0),o=(0,i.useRef)(null),{getToastToRender:a,isToastActive:l,count:c}=function(e){var t;let n,{subscribe:r,getSnapshot:s,setProps:o}=(0,i.useRef)((n=e.containerId||1,{subscribe(t){let r,s,i,o,a,l,c,u,d,h,f,p=(r=1,s=0,i=[],o=[],a=e,l=new Map,c=new Set,u=()=>
430{o=Array.from(l.values()),c.forEach(e=>e())},d=e=>{var t,n;null==(n=null==(t=e.props)?void 0:t.onClose)||n.call(t,e.removalReason),e.isActive=!1},h=e=>{if(null==e)l.forEach(d);else{let t=l.get(e);t&&d(t)}u()},f=e=>{var t,n;let{toastId:r,updateId:s}=e.props,i=null==s;e.staleId&&l.delete(e.staleId),e.isActive=!0,l.set(r,e),u(),s7(s0(e,i?"added":"updated")),i&&(null==(n=(t=e.props).onOpen)||n.call(t))},{id:n,props:a,observe:e=>(c.add(e),()=>c.delete(e)),toggle:(e,t)=>{l.forEach(n=>{var r;(null==t||t===n.props.toastId)&&(null==(r=n.toggle)||r.call(n,e))})},removeToast:h,toasts:l,clearQueue:()=>{s-=i.length,i=[]},buildToast:(e,t)=>{let o,c;if((({containerId:e,toastId:t,updateId:r})=>{let s=l.has(t)&&null==r;return(e?e!==n:1!==n)||s})(t))return;let{toastId:d,updateId:p,data:m,staleId:g,delay:y}=t,v=null==p;v&&s++;let b={...a,style:a.toastStyle,key:r++,...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!=t)),toastId:d,updateId:p,data:m,isIn:!1,className:sJ(t.className||a.toastClassName),progressClassName:sJ(t.progressClassName||a.progressClassName),autoClose:!t.isLoading&&(o=t.autoClose,c=a.autoClose,!1===o||sX(o)&&o>0?o:c),closeToast(e){l.get(d).removalReason=e,h(d)},deleteToast(){let e=l.get(d);if(null!=e){if(s7(s0(e,"removed")),l.delete(d),--s<0&&(s=0),i.length>0)return void f(i.shift());u()}}};b.closeButton=a.closeButton,!1===t.closeButton||s1(t.closeButton)?b.closeButton=t.closeButton:!0===t.closeButton&&(b.closeButton=!s1(a.closeButton)||a.closeButton);let C={content:e,props:b,staleId:g};a.limit&&a.limit>0&&s>a.limit&&v?i.push(C):sX(y)?setTimeout(()=>{f(C)},y):f(C)},setProps(e){a=e},setToggle:(e,t)=>{let n=l.get(e);n&&(n.toggle=t)},isToastActive:e=>{var t;return null==(t=l.get(e))?void 0:t.isActive},getSnapshot:()=>o});s6.set(n,p);let m=p.observe(t);
430return s5.forEach(e=>it(e.content,e.options)),s5=[],()=>{m(),s6.delete(n)}},setProps(e){var t;null==(t=s6.get(n))||t.setProps(e)},getSnapshot(){var e;return null==(e=s6.get(n))?void 0:e.getSnapshot()}})).current;o(e);let a=null==(t=(0,i.useSyncExternalStore)(r,s,s))?void 0:t.slice();return{getToastToRender:function(t){if(!a)return[];let n=new Map;return e.newestOnTop&&a.reverse(),a.forEach(e=>{let{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)}),Array.from(n,e=>t(e[0],e[1]))},isToastActive:ie,count:null==a?void 0:a.length}}(t),{className:u,style:d,rtl:h,containerId:f,hotKeys:p}=t;function m(){n&&(s(!0),ia.play())}return il(()=>{var e;if(n){let n=o.current.querySelectorAll('[data-in="true"]'),s=null==(e=t.position)?void 0:e.includes("top"),i=0,a=0;Array.from(n).reverse().forEach((e,t)=>{e.classList.add("Toastify__toast--stacked"),t>0&&(e.dataset.collapsed=`${r}`),e.dataset.pos||(e.dataset.pos=s?"top":"bot");let n=i*(r?.2:1)+(r?0:12*t);e.style.setProperty("--y",`${s?n:-1*n}px`),e.style.setProperty("--g","12"),e.style.setProperty("--s",`${1-(r?a:0)}`),i+=e.offsetHeight,a+=.025})}},[r,c,n]),(0,i.useEffect)(()=>{function e(e){var t;let n=o.current;p(e)&&(null==(t=n.querySelector('[tabIndex="0"]'))||t.focus(),s(!1),ia.pause()),"Escape"===e.key&&(document.activeElement===n||null!=n&&n.contains(document.activeElement))&&(s(!0),ia.play())}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[p]),i.createElement("section",{ref:o,className:"Toastify",id:f,onMouseEnter:()=>{n&&(s(!1),ia.pause())},onMouseLeave:m,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":t["aria-label"]},a((e,t)=>{var r;let s,o=t.length?{...d}:{...d,pointerEvents:"none"};return i.createElement("div",{tabIndex:-1,className:(r=e,s=sZ("Toastify__toast-container",`Toastify__toast-container--${r}`,{"Toastify__toast-container--rtl":h}),"function"==typeof u?u({position:r,rtl:h,defaultClassName:s}):sZ(s,sJ(u))),"data-stacked":n,style:o,key:`c-${e}`},t.map(({content:e,props:t})=>i.createElement(id,{...t,stacked:n,collapseAll:m,isIn:l(t.toastId,t.containerId),key:`t-${t.key}`},e)))}))}let im=nj.div` 431 display: flex; 432 align-items: start; 433 padding: 8px; 434 border-radius: 8px; 435 border: 0px solid #e5e7eb; 436 background-color: #fff; 437 border-left: 12px solid 438 ${({$type:e})=>"success"===e?"#52AA5E":"error"===e?"#FF2462":"#F9DBAF"}; 439`,ig=nj.div` 440 display: flex; 441 align-items: start; 442 gap: 12px; 443 padding: 8px; 444`,iy=nj.div` 445 display: flex; 446 flex-direction: column; 447 align-items: start; 448 gap: 12px; 449`,iv=nj.p` 450 font-size: 14px; 451 font-weight: 500; 452 color: #101828; 453 font-family: "Kumbh Sans", sans-serif; 454 font-weight: 400; 455`;function ib({data:e,toastProps:t}){let n=t.type||"success";return(0,s.jsx)(im,{$type:n,children:(0,s.jsx)(ig,{children:(0,s.jsx)(iy,{children:(0,s.jsx)(iv,{children:e})})})})}let iC=(e,t)=>{ia.success(ib,{data:e,type:t,icon:!1,autoClose:3e3,closeButton:!1,closeOnClick:!0})},ix=nj.div` 456 padding: 16px 12px; 457 background-color: #252b37; 458 color: #fff; 459 border-radius: 8px; 460 display: flex; 461 flex-direction: column; 462 gap: 16px; 463`,iw=nj.div` 464 display: flex; 465 flex-direction: column; 466 gap: 8px; 467`,ik=nj.div` 468 display: flex; 469 align-items: center; 470 justify-content: space-between; 471`,i_=nj.label` 472 font-family: "Kumbh Sans", sans-serif; 473 font-size: 14px; 474 font-weight: 600; 475 color: #e9eaeb; 476`,iS=nj.input` 477 padding: 8px 12px; 478 border-radius: 6px; 479 border: 1px solid #343d4b; 480 outline: none; 481 background: #232733; 482 color: #fff; 483 font-size: 14px; 484 font-family: "Kumbh Sans", sans-serif; 485 font-weight: 400; 486`,iT=nj.select` 487 padding: 8px 12px; 488 border-radius: 6px; 489 border: 1px solid #343d4b; 490 background: #232733; 491 color: #fff; 492 font-size: 14px; 493 outline: none; 494 border-right: 5px solid transparent; 495 box-shadow: 1px 0px 0px #343d4b; 496`,iO=nj.div` 497 padding: 8px 16px; 498 border-radius: 6px; 499 border: none; 500 background: #343d4b; 501 color: #fff; 502 font-weight: 600; 503 font-size: 14px; 504 margin-top: 4px; 505 transition: background 0.2s; 506 cursor: pointer; 507 & * { 508 cursor: pointer; 509 } 510 &:hover { 511 opacity: 0.8; 512 } 513`,ij=nj.span` 514 font-family: "Kumbh Sans", sans-serif; 515 font-size: 13px; 516 font-weight: 400; 517 color: #2ecc40; 518 margin-left: 8px; 519`,iM=nj.h2` 520 font-size: 18px; 521 font-family: "Kumbh Sans", sans-serif; 522 font-weight: 400; 523 color: #fff; 524 margin-bottom: 12px; 525 text-align: center; 526`,iR=nj.div` 527 background: #343d4b; 528 padding: 12px; 529 border-radius: 6px; 530 margin-top: 12px; 531`,iD=nj.p` 532 font-size: 14px; 533 font-family: "Kumbh Sans", sans-serif; 534 font-weight: 400; 535 white-space: pre-wrap; 536 word-break: break-all; 537`,iE=nj.img`
538 cursor: pointer; 539 & * { 540 cursor: pointer; 541 } 542 transition: transform 0.15s ease-in-out; 543 transform: ${({$isClicked:e})=>e?"scale(1.15)":"scale(1)"} !important; 544 545 &:hover { 546 transform: scale(1.05); 547 } 548 549 &:active { 550 transform: scale(0.95); 551 } 552`,iP=e=>JSON.stringify({GaladrimFeedback:{command:"npx",args:["galadrim-feedback-mcp@latest","--authToken",e]}}).slice(1,-1),iI=()=>{let{myTrelloBoards:e,setShowTrelloProjectModal:t}=rK(),{projectId:n,notionDatabaseId:r}=nD(),{data:o}=rX(n),{data:a}=rg(),{mutate:l}=(()=>{let e=eg();return ew({mutationFn:rm,onSuccess:()=>{e.invalidateQueries()}})})(),{mutate:c,isPending:u}=r6(),{mutate:d}=sn(),h=null==e?void 0:e.find(e=>e.id===(null==o?void 0:o.trelloBoardId)),[f,p]=(0,i.useState)((null==a?void 0:a.fullName)||""),[m,g]=(0,i.useState)(!1),[y,v]=(0,i.useState)(!1),[b,C]=(0,i.useState)((null==a?void 0:a.editorPreference)||"vscode"),[x,w]=(0,i.useState)(!1),[k,_]=(0,i.useState)(!1),[S,T]=(0,i.useState)(!1),O=iP(localStorage.getItem("galadrimFeedbackToken")),j=async()=>{w(!0),_(!1),l({editorPreference:b},{onSuccess:()=>{_(!0)}}),w(!1)};return(0,s.jsxs)(ix,{children:[(0,s.jsx)(iM,{children:"Param\xe8tres"}),r?(0,s.jsxs)(iw,{children:[(0,s.jsx)(i_,{children:"Notion"}),(0,s.jsx)(iO,{onClick:()=>{d(window.location.href)},children:"Connecter Notion"}),(null==o?void 0:o.notionToken)&&(0,s.jsx)(ij,{children:"Connect\xe9 \xe0 Notion"})]}):(0,s.jsxs)(iw,{children:[(0,s.jsx)(i_,{children:"Trello"}),(0,s.jsx)(iO,{onClick:()=>{(null==a?void 0:a.trelloToken)?t(!0):c(window.location.href)},children:(null==a?void 0:a.trelloToken)?"Lier \xe0 un autre tableau":u?"Connexion...":"Connecter Trello"}),(null==a?void 0:a.trelloToken)&&h&&(0,s.jsxs)(ij,{children:["Connect\xe9 au tableau ",h.name]})]}),(0,s.jsxs)(iw,{children:[(0,s.jsx)(i_,{children:"Nom affich\xe9"}),(0,s.jsx)(iS,{value:f,onChange:e=>{p(e.target.value),v(!1)},placeholder:"Votre nom"}),(0,s.jsx)(iO,{onClick:()=>{g(!0),v(!1),l({fullName:f},{onSuccess:()=>{v(!0)}}),g(!1)},children:m?"Enregistrement...":y?"Enregistr\xe9 !":"Enregistrer"})]}),(0,s.jsxs)(iw,{children:[(0,s.jsx)(i_,{children:"\xc9diteur pr\xe9f\xe9r\xe9"}),(0,s.jsxs)(iT,{value:b,onChange:e=>{C(e.target.value),_(!1)},children:[(0,s.jsx)("option",{value:"vscode",children:"VSCode"}),(0,s.jsx)("option",{value:"cursor",children:"Cursor"})]}),(0,s.jsx)(iO,{onClick:j,children:x?"Enregistrement...":k?"Enregistr\xe9 !":"Enregistrer"})]}),(0,s.jsxs)(iw,{children:[(0,s.jsxs)(ik,{children:[(0,s.jsx)(i_,{children:"Configuration MCP"}),(0,s.jsx)(iE,{src:"data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7.5 3H14.6C16.8402 3 17.9603 3 18.816 3.43597C19.5686 3.81947 20.1805 4.43139 20.564 5.18404C21 6.03969 21 7.15979 21 9.4V16.5M6.2 21H14.3C15.4201 21 15.9802 21 16.408 20.782C16.7843 20.5903 17.0903 20.2843 17.282 19.908C17.5 19.4802 17.5 18.9201 17.5 17.8V9.7C17.5 8.57989 17.5 8.01984 17.282 7.59202C17.0903 7.21569 16.7843 6.90973 16.408 6.71799C15.9802 6.5 15.4201 6.5 14.3 6.5H6.2C5.0799 6.5 4.51984 6.5 4.09202 6.71799C3.71569 6.90973 3.40973 7.21569 3.21799 7.59202C3 8.01984 3 8.57989 3 9.7V17.8C3 18.9201 3 19.4802 3.21799 19.908C3.40973 20.2843 3.71569 20.5903 4.09202 20.782C4.51984 21 5.0799 21 6.2 21Z' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",onClick:()=>{T(!0);let e=localStorage.getItem("galadrimFeedbackToken");if(!e)return;let t=iP(e);navigator.clipboard.writeText(t),iC("La configuration MCP a \xe9t\xe9 copi\xe9e dans le presse-papiers","success"),setTimeout(()=>{T(!1)},150)},$isClicked:S})]}),(0,s.jsx)(iR,{children:(0,s.jsx)(iD,{children:O})})]})]})},iL=({isVisible:e,closeModal:t})=>(0,s.jsx)(sQ,{isVisible:e,closeModal:t,children:(0,s.jsx)(iI,{})}),iA=nj.div` 553 display: flex; 554 flex-direction: row; 555 align-items: center; 556 justify-content: space-between; 557 z-index: 10; 558 padding: 8px 12px; 559`,iN=nj.p` 560 font-family: "Kumbh Sans", sans-serif; 561 font-weight: 400; 562 font-size: 14px; 563 line-height: 18px; 564 color: #d5d7da; 565`,iF=nj.p` 566 font-family: "Kumbh Sans", sans-serif; 567 font-weight: 400; 568 font-size: 12px; 569 line-height: 12px; 570 color: #d5d7da; 571`,iU=nj.div` 572 display: flex; 573 flex-direction: row; 574 align-items: center; 575 gap: 8px; 576`,iY=nj.img`
577 cursor: pointer; 578`,iH=()=>{let{data:e}=rg(),{projectId:t}=nD(),{mutate:n}=(()=>{let e=eg();return ew({mutationFn:sP,onSuccess:()=>e.invalidateQueries()})})(),[r,o]=(0,i.useState)(!1),[a,l]=(0,i.useState)(!1),c=null==e?void 0:e.collaborations.find(e=>e.project.id===t);return(0,s.jsxs)(iA,{children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(iN,{children:(null==e?void 0:e.fullName)||`${null==e?void 0:e.firstName} ${null==e?void 0:e.lastName}`}),(0,s.jsx)(iF,{children:null==e?void 0:e.email})]}),(0,s.jsxs)(iU,{children:[c&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(iY,{src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M22 21V19C22 17.1362 20.7252 15.5701 19 15.126M15.5 3.29076C16.9659 3.88415 18 5.32131 18 7C18 8.67869 16.9659 10.1159 15.5 10.7092M17 21C17 19.1362 17 18.2044 16.6955 17.4693C16.2895 16.4892 15.5108 15.7105 14.5307 15.3045C13.7956 15 12.8638 15 11 15H8C6.13623 15 5.20435 15 4.46927 15.3045C3.48915 15.7105 2.71046 16.4892 2.30448 17.4693C2 18.2044 2 19.1362 2 21M13.5 7C13.5 9.20914 11.7091 11 9.5 11C7.29086 11 5.5 9.20914 5.5 7C5.5 4.79086 7.29086 3 9.5 3C11.7091 3 13.5 4.79086 13.5 7Z' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",onClick:()=>l(!0)}),(0,s.jsx)(iY,{src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.3951 19.3711L9.97955 20.6856C10.1533 21.0768 10.4368 21.4093 10.7958 21.6426C11.1547 21.8759 11.5737 22.0001 12.0018 22C12.4299 22.0001 12.8488 21.8759 13.2078 21.6426C13.5667 21.4093 13.8503 21.0768 14.024 20.6856L14.6084 19.3711C14.8165 18.9047 15.1664 18.5159 15.6084 18.26C16.0532 18.0034 16.5678 17.8941 17.0784 17.9478L18.5084 18.1C18.9341 18.145 19.3637 18.0656 19.7451 17.8713C20.1265 17.6771 20.4434 17.3763 20.6573 17.0056C20.8715 16.635 20.9735 16.2103 20.9511 15.7829C20.9286 15.3555 20.7825 14.9438 20.5307 14.5978L19.684 13.4344C19.3825 13.0171 19.2214 12.5148 19.224 12C19.2239 11.4866 19.3865 10.9864 19.6884 10.5711L20.5351 9.40778C20.787 9.06175 20.933 8.65007 20.9555 8.22267C20.978 7.79528 20.8759 7.37054 20.6618 7C20.4479 6.62923 20.131 6.32849 19.7496 6.13423C19.3681 5.93997 18.9386 5.86053 18.5129 5.90556L17.0829 6.05778C16.5722 6.11141 16.0577 6.00212 15.6129 5.74556C15.17 5.48825 14.82 5.09736 14.6129 4.62889L14.024 3.31444C13.8503 2.92317 13.5667 2.59072 13.2078 2.3574C12.8488 2.12408 12.4299 1.99993 12.0018 2C11.5737 1.99993 11.1547 2.12408 10.7958 2.3574C10.4368 2.59072 10.1533 2.92317 9.97955 3.31444L9.3951 4.62889C9.18803 5.09736 8.83798 5.48825 8.3951 5.74556C7.95032 6.00212 7.43577 6.11141 6.9251 6.05778L5.49066 5.90556C5.06499 5.86053 4.6354 5.93997 4.25397 6.13423C3.87255 6.32849 3.55567 6.62923 3.34177 7C3.12759 7.37054 3.02555 7.79528 3.04804 8.22267C3.07052 8.65007 3.21656 9.06175 3.46844 9.40778L4.3151 10.5711C4.61704 10.9864 4.77964 11.4866 4.7795
5785 12C4.77964 12.5134 4.61704 13.0137 4.3151 13.4289L3.46844 14.5922C3.21656 14.9382 3.07052 15.3499 3.04804 15.7773C3.02555 16.2047 3.12759 16.6295 3.34177 17C3.55589 17.3706 3.8728 17.6712 4.25417 17.8654C4.63554 18.0596 5.06502 18.1392 5.49066 18.0944L6.92066 17.9422C7.43133 17.8886 7.94587 17.9979 8.39066 18.2544C8.83519 18.511 9.18687 18.902 9.3951 19.3711Z' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M12 15C13.6568 15 15 13.6569 15 12C15 10.3431 13.6568 9 12 9C10.3431 9 8.99998 10.3431 8.99998 12C8.99998 13.6569 10.3431 15 12 15Z' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",onClick:()=>o(!0)}),(0,s.jsx)(sK,{isVisible:a,closeModal:()=>l(!1)})]}),(0,s.jsx)(iL,{isVisible:r,closeModal:()=>o(!1)}),(0,s.jsx)(iY,{onClick:()=>{n()},src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M16 17L21 12M21 12L16 7M21 12H9M12 17C12 17.93 12 18.395 11.8978 18.7765C11.6204 19.8117 10.8117 20.6204 9.77646 20.8978C9.39496 21 8.92997 21 8 21H7.5C6.10218 21 5.40326 21 4.85195 20.7716C4.11687 20.4672 3.53284 19.8831 3.22836 19.1481C3 18.5967 3 17.8978 3 16.5V7.5C3 6.10217 3 5.40326 3.22836 4.85195C3.53284 4.11687 4.11687 3.53284 4.85195 3.22836C5.40326 3 6.10218 3 7.5 3H8C8.92997 3 9.39496 3 9.77646 3.10222C10.8117 3.37962 11.6204 4.18827 11.8978 5.22354C12 5.60504 12 6.07003 12 7' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"})]})]})},iV=nj.div` 579 width: 100%; 580 background-color: #414651; 581 border-radius: 8px; 582 padding: 8px 12px; 583 display: flex; 584 flex-direction: row; 585 align-items: center; 586 gap: 8px; 587`,iz=nj.img` 588 width: 24px; 589 height: 24px; 590`,iG=nj.input` 591 width: 100%; 592 background-color: #414651; 593 border: none; 594 outline: none; 595 color: #fff; 596 font-family: "Kumbh Sans", sans-serif; 597 font-weight: 400; 598`,i$=({value:e,setValue:t})=>(0,s.jsxs)(iV,{children:[(0,s.jsx)(iz,{src:"data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z' stroke='white' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"}),(0,s.jsx)(iG,{type:"text",value:e,onChange:e=>t(e.target.value)})]}),iq=e=>{let{elementId:t,elementIndex:n}=e;return new Promise(e=>{let r=sy(t)[n],s=()=>{clearTimeout(i),r.removeEventListener("click",s),e(!0)},i=setTimeout(()=>{e(!1)},1e3);if(r)r.addEventListener("click",s),iW(r);else{let r=new MutationObserver(()=>{let s=sy(t)[n];s&&(iW(s),r.disconnect(),clearTimeout(i),e(!0))});r.observe(document.body,{childList:!0,subtree:!0})}})},iW=e=>{"function"==typeof e.click?e.click():e.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window}))},iB=async e=>{let t=sy(e.elementId)[e.elementIndex];for(let n of e.replayEvents)if(t||!await iq(n))break;return t},iQ=nj.div` 599 position: relative; 600 display: flex; 601 flex-direction: column; 602 align-items: start; 603 border-radius: 8px; 604 background-color: ${({$isSelected:e})=>e?"#026AD0":"auto"} !important; 605 padding: 8px; 606 opacity: ${({$isResolved:e})=>e?.6:1}; 607 overflow: visible; 608 cursor: pointer; 609 & * { 610 cursor: pointer; 611 } 612 transition: all 0.2s ease-in-out; 613 &:hover { 614 background-color: #343d4b; 615 } 616`,iK=nj.div` 617 display: flex; 618 flex-direction: row; 619 align-items: center; 620 justify-content: space-between; 621 width: 100%; 622`,iZ=nj.div` 623 display: flex; 624 flex-direction: row; 625 align-items: center; 626 gap: 8px; 627`,iX=nj.div` 628 display: flex; 629 flex-direction: row; 630 align-items: center; 631 gap: 8px; 632`,iJ=nj.span` 633 font-family: "Kumbh Sans", sans-serif; 634 font-weight: 500; 635 font-size: 14px; 636 line-height: 18px; 637 color: #e9eaeb; 638`,i1=nj.span` 639 font-family: "Kumbh Sans", sans-serif; 640 font-weight: 400; 641 font-size: 10px; 642 line-height: 12px; 643 color: #d5d7da; 644`,i0=nj.span` 645 font-family: "Kumbh Sans", sans-serif; 646 font-weight: 400; 647 font-size: 12px; 648 line-height: 16px; 649 color: #fff; 650`,i3=nj.span` 651 font-family: "Kumbh Sans", sans-serif; 652 font-weight: 400; 653 font-size: 16px; 654 line-height: 24px; 655 color: #fff; 656 margin-top: 8px; 657`,i2=nj.span` 658 font-family: "Kumbh Sans", sans-serif; 659 font-weight: 400; 660 font-size: 12px; 661 line-height: 16px; 662 color: ${({$isSelected:e})=>e?"#fff":"#2E99FF"}; 663 margin-top: 8px; 664`,i4=nj.div` 665 width: 8px; 666 height: 8px; 667 border-radius: 50%; 668 background-color: #007bff; 669`,i8=({feedback:e,showMenuAbove:t})=>{let{user:n,createdAt:r,comment:o,path:a,replies:l,isResolved:c}=e,{selectedFeedback:u,setSelectedFeedback:d,navigate:h,shouldCaptureEventsRef:f,deactivateFeedbackMode:p}=nD(),[m,g]=(0,i.useState)(!1),{mutate:y}=rS(),v=async()=>{p(),f.current=!1,x||y(e.id),e.path!==window.location.pathname&&await h(e.path+window.location.search);let t=await iB(e);null==t||t.scrollIntoView({behavior:"smooth",block:"start"}),d(e),f.current=!0},b=l.length,C=u&&e.id===u.id,x=e.readBy&&e.readBy.length>0;return(0,s.jsxs)(iQ,{$isResolved:c,$isSelected:!!C,onClick:v,onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1),children:[(0,s.jsxs)(iK,{children:[(0,s.jsxs)(iZ,{children:[(0,s.jsx)(iJ,{children:(null==n?void 0:n.fullName)||`${null==n?void 0:n.firstName} ${null==n?void 0:n.lastName}`}),(0,s.jsx)(i1,{children:nY(r).fromNow()})]}),(0,s.jsx)(iX,{children:m?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(sl,{feedback:e}),(0,s.jsx)(rB,{feedback:e,showMenuAbove:t})]}):!x&&(0,s.jsx)(i4,{})})]}),(0,s.jsx)(i0,{children:a}),(0,s.jsx)(i3,{children:o}),b>0&&(0,s.jsxs)(i2,{$isSelected:!!C,children:[b," r\xe9ponse",b>1?"s":""]})]})};var i6="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M20 6L9 17L4 12' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";let i5=nj.img` 670 width: 24px; 671 height: 24px; 672 border-radius: 50%; 673 border: 1px solid #fff; 674 padding: 4px; 675 cursor: pointer; 676 & * { 677 cursor: pointer; 678 } 679 &:hover { 680 opacity: 0.8; 681 } 682`,i9=nj.div` 683 position: absolute; 684 top: 48px; 685 right: 0px; 686 z-index: 100000000; 687 display: flex; 688 flex-direction: column; 689 border-radius: 8px; 690 background-color: #343d4b; 691`,i7=({showResolved:e,setShowResolved:t,showOnlyPage:n,setShowOnlyPage:r})=>{let o=(0,i.useRef)(null),[a,l]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{var e;let t=e=>{var t;let n=e.composedPath()[0]||e.target;(null==(t=o.current)?void 0:t.contains(n))||l(!1)}
691,n=null==(e=document.getElementById("galadrim-feedback-root"))?void 0:e.shadowRoot;a?(document.addEventListener("mouseup",t),null==n||n.addEventListener("mouseup",t)):(document.removeEventListener("mouseup",t),null==n||n.removeEventListener("mouseup",t))},[a]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i5,{src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6 12H18M3 6H21M9 18H15' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",onClick:()=>{l(!0)}}),a&&(0,s.jsxs)(i9,{ref:o,children:[(0,s.jsx)(rG,{label:"Montrer les commentaires r\xe9solus",onClick:()=>{t(!e)},variant:"default",srcIcon:e?i6:void 0}),(0,s.jsx)(rG,{label:"Juste cette page",onClick:()=>{r(!n)},variant:"default",srcIcon:n?i6:void 0})]})]})},oe=nj.div` 692 flex: 1; 693 display: flex; 694 flex-direction: column; 695 width: 100%; 696 padding-top: 32px; 697 overflow: hidden; 698 z-index: 10; 699`,ot=nj.div` 700 position: relative; 701 display: flex; 702 flex-direction: row; 703 align-items: center; 704 gap: 16px; 705`,on=nj.div` 706 flex: 1; 707 display: flex; 708 flex-direction: column; 709 gap: 16px; 710 margin-top: 16px; 711 overflow-y: auto; 712 -ms-overflow-style: none; 713 scrollbar-width: none; 714`,or=()=>{let{feedbacks:e}=nD(),[t,n]=(0,i.useState)(""),[r,o]=(0,i.useState)(!1),[a,l]=(0,i.useState)(!1),c=null==e?void 0:e.filter(e=>(!t||e.path.includes(t)||e.comment.includes(t))&&(r||!e.isResolved)&&(!a||e.path.includes(window.location.pathname)));return(0,s.jsxs)(oe,{children:[(0,s.jsxs)(ot,{children:[(0,s.jsx)(i$,{value:t,setValue:n}),(0,s.jsx)(i7,{showResolved:r,setShowResolved:o,showOnlyPage:a,setShowOnlyPage:l})]}),(0,s.jsx)(on,{children:c&&c.map((e,t)=>(0,s.jsx)(i8,{feedback:e,showMenuAbove:t>2&&t===c.length-1},e.id))})]})},os=nj.div` 715 position: relative; 716 width: 100%; 717 height: 100%; 718 display: flex; 719 flex-direction: column; 720 align-items: stretch; 721 justify-content: flex-end; 722 max-height: calc(100vh - 72px); 723`,oi=nj.div` 724 width: 100%; 725 height: 100%; 726 display: flex; 727 flex-direction: column; 728 align-items: center; 729 justify-content: center; 730 gap: 16px; 731`,oo=nj.p` 732 text-align: center; 733 font-family: "Kumbh Sans", sans-serif; 734 font-weight: 400; 735 font-size: 14px; 736 line-height: 20px; 737 color: #e9eaeb; 738`,oa=nj.div` 739 padding: 16px 0; 740`,ol=()=>{let{data:e}=rg(),{projectId:t}=nD(),[n,r]=(0,i.useState)(""),{mutate:o}=r_(),a=null==e?void 0:e.collaborations.find(e=>e.project.id===t);return(0,s.jsxs)(os,{children:[a?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(or,{}),(0,s.jsx)(oa,{children:(0,s.jsx)(rY,{value:n,setValue:r,onSubmit:()=>{n&&(o({comment:n,elementId:"",elementIndex:0,elementWidth:0,elementHeight:0,x:0,y:0,path:"",projectId:t,replayEvents:[]}),r(""))},placeholder:"Ajouter un commentaire global",isAnimated:!1,isDark:!0})})]}):(0,s.jsx)(oi,{children:(0,s.jsx)(oo,{children:"Vous n'avez actuellement pas les droits sur ce projet, veuillez contacter votre product manager"})}),(0,s.jsx)(iH,{})]})},oc=nj.div` 741 display: flex; 742 flex-direction: column; 743`,ou=nj.label` 744 font-family: "Kumbh Sans", sans-serif; 745 font-weight: 500; 746 font-size: 14px; 747 line-height: 18px; 748 color: #a4a7ae; 749 margin-bottom: 6px; 750`,od=nj.input` 751 font-family: "Kumbh Sans", sans-serif; 752 font-weight: 500; 753 font-size: 14px; 754 line-height: 18px; 755 border: 1px solid #a4a7ae; 756 outline: none; 757 padding: 8px 12px; 758 border-radius: 4px; 759 margin-bottom: 16px; 760 color: #181d27; 761 762 &::placeholder { 763 color: #d5d7da; 764 } 765`,oh=({label:e,placeholder:t,type:n,value:r,setValue:i,onPressEnter:o})=>(0,s.jsxs)(oc,{children:[(0,s.jsx)(ou,{children:e}),(0,s.jsx)(od,{type:n,placeholder:t,value:r,onChange:e=>i(e.target.value),onKeyDown:e=>{"Enter"===e.key&&o&&o()}})]});var of="data:image/svg+xml,%3csvg width='127' height='43' viewBox='0 0 127 43' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7.48673 8.07767C8.49111 8.07767 9.41862 8.25372 10.2693 8.60582C11.1302 8.94757 11.8834 9.4343 12.5291 10.066L12.6367 8.38835H16.8182V22.1049C16.8182 24.0932 16.4441 25.8278 15.696 27.3087C14.9581 28.7896 13.9178 29.9392 12.5752 30.7573C11.2429 31.5858 9.67484 32 7.87105 32C6.87692 32 5.8213 31.8602 4.70419 31.5806C3.58707 31.301 2.44433 30.866 1.27597 30.2757L2.61344 26.5631C3.12587 26.9981 3.84329 27.3657 4.76568 27.666C5.68807 27.9767 6.57459 28.132 7.42523 28.132C8.9523 28.132 10.1617 27.6142 11.0533 26.5786C11.9449 25.5534 12.3908 24.1657 12.3908 22.4155V22.3845C11.7451 22.9644 11.0072 23.4201 10.177 23.7515C9.34688 24.0725 8.45011 24.233 7.48673 24.233C6.
7650519 24.233 4.76568 23.8861 3.62806 23.1922C2.5007 22.488 1.61418 21.5301 0.968509 20.3184C0.322836 19.0964 0 17.7087 0 16.1553C0 14.6019 0.322836 13.2194 0.968509 12.0078C1.61418 10.7858 2.5007 9.82783 3.62806 9.13398C4.76568 8.42977 6.0519 8.07767 7.48673 8.07767ZM8.48598 20.3495C9.61335 20.3495 10.546 19.9508 11.2839 19.1534C12.0218 18.356 12.3908 17.3566 12.3908 16.1553C12.3908 14.954 12.0218 13.9547 11.2839 13.1573C10.546 12.3599 9.61335 11.9612 8.48598 11.9612C7.35862 11.9612 6.42598 12.3599 5.68807 13.1573C4.95016 13.9547 4.5812 14.954 4.5812 16.1553C4.5812 17.3566 4.95016 18.356 5.68807 19.1534C6.42598 19.9508 7.35862 20.3495 8.48598 20.3495Z' fill='%23010C1E'/%3e%3cpath d='M18.9191 19.6505C18.9191 18.6149 19.2112 17.688 19.7954 16.8699C20.3898 16.0518 21.2046 15.4045 22.2397 14.9282C23.2748 14.4518 24.4586 14.2136 25.7909 14.2136C26.2111 14.2136 26.6518 14.2395 27.113 14.2913C27.5844 14.343 28.0559 14.4104 28.5273 14.4932C28.1891 12.8052 26.9746 11.9612 24.8839 11.9612C23.6438 11.9612 22.3986 12.4324 21.1482 13.3748L19.6263 9.6C20.6921 9.0822 21.7426 8.69903 22.7778 8.45049C23.8129 8.20194 24.7968 8.07767 25.7294 8.07767C27.2155 8.07767 28.5017 8.36246 29.5881 8.93204C30.6847 9.49126 31.5353 10.2887 32.14 11.3243C32.7447 12.3495 33.047 13.556 33.047 14.9437V23.9223H29.3267L29.0346 22.2602C28.4607 22.8712 27.7587 23.3527 26.9285 23.7049C26.1086 24.057 25.2067 24.233 24.2229 24.233C22.665 24.233 21.3891 23.8084 20.3949 22.9592C19.4111 22.11 18.9191 21.0071 18.9191 19.6505ZM23.3466 18.6252C23.3466 19.143 23.5413 19.5625 23.9308 19.8835C24.3305 20.1942 24.8531 20.3495 25.4988 20.3495C26.3802 20.3495 27.1181 20.0803 27.7126 19.5417C28.3172 19.0032 28.6196 18.3405 28.6196 17.5534V17.2427C28.2404 17.1184 27.8304 17.0201 27.3897 16.9476C26.9593 16.8751 26.5339 16.8388 26.1137 16.8388C25.2426 16.8388 24.5611 16.9942 24.0691 17.3049C23.5874 17.6155 23.3466 18.0557 23.3466 18.6252Z' fill='%23010C1E'/%3e%3cpath d='M39.7752 0V23.9223H35.3478V0H39.7752Z' fill='%23010C1E'/%3e%3cpath d='M41.8761 19.6505C41.8761 18.6149 42.1682 17.688 42.7524 16.8699C43.3468 16.0518 44.1616 15.4045 45.1967 14.9282C46.2319 14.4518 47.4156 14.2136 48.7479 14.2136C49.1681 14.2136 49.6088 14.2395 50.07 14.2913C50.5415 14.343 51.0129 14.4104 51.4843 14.4932C51.1461 12.8052 49.9317 11.9612 47.8409 11.9612C46.6008 11.9612 45.3556 12.4324 44.1052 13.3748L42.5833 9.6C43.6492 9.0822 44.6997 8.69903 45.7348 8.45049C46.7699 8.20194 47.7538 8.07767 48.6864 8.07767C50.1725 8.07767 51.4587 8.36246 52.5451 8.93204C53.6417 9.49126 54.4924 10.2887 55.097 11.3243C55.7017 12.3495 56.0041 13.556 56.0041 14.9437V23.9223H52.2838L51.9917 22.2602C51.4177 22.8712 50.7157 23.3527 49.8855 23.7049C49.0656 24.057 48.1637 24.233 47.1799 24.233C45.6221 24.233 44.3461 23.8084 43.3519 22.9592C42.3681 22.11 41.8761 21.0071 41.8761 19.6505ZM46.3036 18.6252C46.3036 19.143 46.4983 19.5625 46.8878 19.8835C47.2875 20.1942 47.8102 20.3495 48.4558 20.3495C49.3372 20.3495 50.0751 20.0803 50.6696 19.5417C51.2742 19.0032 51.5766 18.3405 51.5766 17.5534V17.2427C51.1974 17.1184 50.7874 17.0201 50.3467 16.9476C49.9163 16.8751 49.491 16.8388 49.0708 16.8388C48.1996 16.8388 47.5181 16.9942 47.0261 17.3049C46.5444 17.6155 46.3036 18.0557 46.3036 18.6252Z' fill='%23010C1E'/%3e%3cpath d='M57.2287 16.1553C57.2287 14.6019 57.5515 13.2194 58.1972 12.0078C58.8428 10.7858 59.7294 9.82783 60.8567 9.13398C61.9943 8.42977 63.2806 8.07767 64.7154 8.07767C65.6788 8.07767 66.5755 8.24337 67.4057 8.57476C68.2358 8.89579 68.9738 9.34628 69.6194 9.92621V0.621359H74.0469V23.9223H69.8654L69.7578 22.2447C69.1121 22.8764 68.3588 23.3683 67.4979 23.7204C66.6473 24.0621 65.7198 24.233 64.7154 24.233C63.2806 24.233 61.9943 23.8861 60.8567 23.1922C59.7294 22.488 58.8428 21.5301 58.1972 20.3184C57.5515 19.0964 57.2287 17.7087 57.2287 16.
7651553ZM61.8099 16.1553C61.8099 17.3566 62.1788 18.356 62.9167 19.1534C63.6546 19.9508 64.5873 20.3495 65.7146 20.3495C66.842 20.3495 67.7746 19.9508 68.5126 19.1534C69.2505 18.356 69.6194 17.3566 69.6194 16.1553C69.6194 14.954 69.2505 13.9547 68.5126 13.1573C67.7746 12.3599 66.842 11.9612 65.7146 11.9612C64.5873 11.9612 63.6546 12.3599 62.9167 13.1573C62.1788 13.9547 61.8099 14.954 61.8099 16.1553Z' fill='%23010C1E'/%3e%3cpath d='M76.6397 23.9223V8.38835H80.5138L80.729 10.6097C81.8461 8.92168 83.3834 8.07767 85.3409 8.07767C86.0071 8.07767 86.6938 8.18123 87.4009 8.38835L86.786 12.2563C86.1916 12.0595 85.6074 11.9612 85.0335 11.9612C83.8446 11.9612 82.8863 12.4065 82.1587 13.2971C81.431 14.1773 81.0672 15.4356 81.0672 17.0718V23.9223H76.6397Z' fill='%23010C1E'/%3e%3cpath d='M87.1958 3.1068C87.1958 2.36116 87.4213 1.76052 87.8723 1.30485C88.3232 0.849191 88.9176 0.621359 89.6555 0.621359C90.3935 0.621359 90.9879 0.849191 91.4388 1.30485C91.8898 1.76052 92.1152 2.36116 92.1152 3.1068C92.1152 3.85243 91.8898 4.45307 91.4388 4.90874C90.9879 5.3644 90.3935 5.59223 89.6555 5.59223C88.9176 5.59223 88.3232 5.3644 87.8723 4.90874C87.4213 4.45307 87.1958 3.85243 87.1958 3.1068ZM87.4418 23.9223V8.38835H91.8693V23.9223H87.4418Z' fill='%23010C1E'/%3e%3cpath d='M98.6436 23.9223H94.2161V8.38835H98.3976L98.5052 10.035C99.5916 8.7301 101.062 8.07767 102.917 8.07767C105.285 8.07767 106.96 9.09773 107.944 11.1379C108.457 10.154 109.149 9.39806 110.02 8.8699C110.891 8.34175 111.916 8.07767 113.094 8.07767C114.96 8.07767 116.41 8.74045 117.445 10.066C118.48 11.3812 118.998 13.2142 118.998 15.565V23.9223H114.57V15.565C114.57 14.3638 114.288 13.4628 113.725 12.8621C113.171 12.2615 112.5 11.9612 111.711 11.9612C110.911 11.9612 110.23 12.2718 109.666 12.8932C109.102 13.5146 108.821 14.4414 108.821 15.6738V23.9223H104.393V15.565C104.393 14.3638 104.111 13.4628 103.548 12.8621C102.994 12.2615 102.323 11.9612 101.534 11.9612C100.734 11.9612 100.053 12.2718 99.4891 12.8932C98.9254 13.5146 98.6436 14.4414 98.6436 15.6738V23.9223Z' fill='%23010C1E'/%3e%3cpath d='M121.283 21.7476C121.283 21.0019 121.508 20.4013 121.959 19.9456C122.41 19.49 123.005 19.2621 123.743 19.2621C124.481 19.2621 125.075 19.49 125.526 19.9456C125.977 20.4013 126.202 21.0019 126.202 21.7476C126.202 22.4932 125.977 23.0939 125.526 23.5495C125.075 24.0052 124.481 24.233 123.743 24.233C123.005 24.233 122.41 24.0052 121.959 23.5495C121.508 23.0939 121.283 22.4932 121.283 21.7476Z' fill='%23010C1E'/%3e%3cpath d='M48.834 40V29.7461H55.2461V31.585H50.9395V33.916H54.9658V35.7617H50.9395V40H48.834ZM63.1416 39.2344C62.2939 39.8359 61.3665 40.1367 60.3594 40.1367C59.612 40.1367 58.9398 39.9772 58.3428 39.6582C57.7503 39.3346 57.2809 38.8971 56.9346 38.3457C56.5928 37.7943 56.4219 37.1722 56.4219 36.4795C56.4219 35.8187 56.5768 35.2285 56.8867 34.709C57.2012 34.1895 57.6273 33.7793 58.165 33.4785C58.7028 33.1777 59.3135 33.0273 59.9971 33.0273C60.7035 33.0273 61.3255 33.1937 61.8633 33.5264C62.401 33.8545 62.8203 34.3148 63.1211 34.9072C63.4219 35.4951 63.5723 36.1764 63.5723 36.9512V37.1699H58.5342C58.6162 37.4388 58.7484 37.6758 58.9307 37.8809C59.1175 38.0814 59.3499 38.2409 59.6279 38.3594C59.9105 38.4779 60.2318 38.5371 60.5918 38.5371C61.2891 38.5371 61.9385 38.3115 62.54 37.8604L63.1416 39.2344ZM58.4453 36.1719H61.7607C61.7243 35.8757 61.6309 35.6159 61.4805 35.3926C61.3346 35.1647 61.141 34.987 60.8994 34.8594C60.6624 34.7318 60.3958 34.668 60.0996 34.668C59.7988 34.668 59.5299 34.734 59.293 34.8662C59.0605 34.9984 58.8714 35.1761 58.7256 35.3994C58.5798 35.6227 58.4863 35.8802 58.4453 36.1719ZM71.1123 39.2344C70.2646 39.8359 69.3372 40.1367 68.3301 40.1367C67.5827 40.1367 66.9105 39.9772 66.3135 39.6582C65.721 39.3346 65.2516 38.8971 64.9053 38.3457C64.5635 37.7943 64.3926 37.1722 64.3926 36.4795C64.3926 35.8187 64.5475 35.2285 64.8574 34.709C65.1719 34.1895 65.598 33.7793 66.1357 33.4785C66.6735 33.1777 67.2842 33.0273 67.9678 33.0273C68.6742 33.0273 69.2962 33.1937 69.834 33.5264C70.3717 33.8545 70.791 34.3148 71.0918 34.9072C71.3926 35.4951 71.543 36.1764 71.543 36.9512V37.1699H66.5049C66.5869 37.4388 66.7191 37.6758 66.9014 37.8809C67.0882 38.0814 67.3206 38.2409 67.5986 38.3594C67.8812 38.4779 68.2025 38.5371 68.5625 38.5371C69.2598 38.5371 69.9092 38.3115 70.5107 37.8604L71.1123 39.2344ZM66.416 36.1719H69.7314C69.695 35.8757 69.6016 35.6159 69.4512 35.3926C69.3053 35.
7651647 69.1117 34.987 68.8701 34.8594C68.6331 34.7318 68.3665 34.668 68.0703 34.668C67.7695 34.668 67.5007 34.734 67.2637 34.8662C67.0312 34.9984 66.8421 35.1761 66.6963 35.3994C66.5505 35.6227 66.457 35.8802 66.416 36.1719ZM79.8281 40H78.1055L78.0029 39.0703C77.7113 39.3984 77.3604 39.6582 76.9502 39.8496C76.5446 40.041 76.1003 40.1367 75.6172 40.1367C74.9928 40.1367 74.4346 39.984 73.9424 39.6787C73.4548 39.3688 73.0697 38.945 72.7871 38.4072C72.5046 37.8695 72.3633 37.2611 72.3633 36.582C72.3633 35.8984 72.5046 35.29 72.7871 34.7568C73.0697 34.2191 73.4548 33.7975 73.9424 33.4922C74.4346 33.1823 74.9928 33.0273 75.6172 33.0273C76.0638 33.0273 76.4785 33.1094 76.8613 33.2734C77.2487 33.4329 77.5837 33.6562 77.8662 33.9434V29.7461H79.8281V40ZM76.123 38.3799C76.4466 38.3799 76.7383 38.307 76.998 38.1611C77.2624 38.0153 77.472 37.8171 77.627 37.5664C77.7865 37.3112 77.8662 37.0218 77.8662 36.6982V36.4521C77.8662 36.1286 77.7865 35.8415 77.627 35.5908C77.472 35.3402 77.2624 35.1442 76.998 35.0029C76.7383 34.8571 76.4466 34.7842 76.123 34.7842C75.7904 34.7842 75.4919 34.8617 75.2275 35.
7650166C74.9632 35.1715 74.7536 35.3857 74.5986 35.6592C74.4482 35.9281 74.373 36.2357 74.373 36.582C74.373 36.9238 74.4482 37.2314 74.5986 37.5049C74.7536 37.7738 74.9632 37.988 75.2275 38.1475C75.4919 38.3024 75.7904 38.3799 76.123 38.3799ZM83.2188 40H81.4961V29.7461H83.458V33.9434C83.7451 33.6562 84.0778 33.4329 84.4561 33.2734C84.8389 33.1094 85.2536 33.0273 85.7002 33.0273C86.3291 33.0273 86.8874 33.1823 87.375 33.4922C87.8626 33.7975 88.2477 34.2191 88.5303 34.7568C88.8128 35.29 88.9541 35.8984 88.9541 36.582C88.9541 37.2611 88.8128 37.8695 88.5303 38.4072C88.2477 38.945 87.8626 39.3688 87.375 39.6787C86.8874 39.984 86.3291 40.1367 85.7002 40.1367C85.2171 40.1367 84.7705 40.0433 84.3604 39.8564C83.9548 39.665 83.6061 39.403 83.3145 39.0703L83.2188 40ZM85.2012 38.3799C85.5339 38.3799 85.8301 38.3024 86.0898 38.1475C86.3542 37.9925 86.5615 37.7783 86.7119 37.5049C86.8669 37.2314 86.9443 36.9215 86.9443 36.5752C86.9443 36.2334 86.8669 35.9281 86.7119 35.6592C86.5615 35.3857 86.3542 35.1715 86.0898 35.0166C85.8301 34.8617 85.5339 34.7842 85.2012 34.7842C84.8867 34.7842 84.5996 34.8548 84.3398 34.9961C84.0846 35.1374 83.8796 35.3311 83.7246 35.5771C83.5697 35.8232 83.4808 36.1058 83.458 36.4248V36.7256C83.4808 37.0446 83.5697 37.3294 83.7246 37.5801C83.8796 37.8262 84.0846 38.0221 84.3398 38.168C84.5951 38.3092 84.8822 38.3799 85.2012 38.3799ZM96.3027 40H94.5938L94.4912 39.1865C94.2406 39.4873 93.9307 39.722 93.5615 39.8906C93.1924 40.0547 92.7868 40.1367 92.3447 40.1367C91.8662 40.1367 91.4401 40.0456 91.0664 39.8633C90.6927 39.6764 90.3988 39.4212 90.1846 39.0977C89.9704 38.7695 89.8633 38.3981 89.8633 37.9834C89.8633 37.5459 89.9795 37.1608 90.2119 36.8281C90.4443 36.4954 90.7633 36.2357 91.1689 36.0488C91.5791 35.8574 92.0439 35.7617 92.5635 35.7617C92.8688 35.7617 93.1742 35.7959 93.4795 35.8643C93.7894 35.9326 94.0765 36.0283 94.3408 36.1514V35.9736C94.3408 35.7002 94.2633 35.4655 94.1084 35.2695C93.958 35.069 93.7484 34.9141 93.4795 34.8047C93.2152 34.6953 92.9189 34.6406 92.5908 34.6406C92.2764 34.6406 91.9642 34.6908 91.6543 34.791C91.349 34.8913 91.0664 35.0417 90.8066 35.2422L90.2734 33.7451C90.7337 33.5081 91.1986 33.3304 91.668 33.2119C92.1419 33.0889 92.5999 33.0273 93.042 33.0273C93.7074 33.0273 94.2839 33.1595 94.7715 33.4238C95.2591 33.6836 95.6351 34.0527 95.8994 34.5312C96.1683 35.0052 96.3027 35.568 96.3027 36.2197V40ZM92.7754 38.626C93.0352 38.626 93.2835 38.569 93.5205 38.4551C93.7575 38.3411 93.9489 38.1862 94.0947 37.9902C94.2451 37.7943 94.3249 37.5778 94.334 37.3408V37.293C94.1335 37.1562 93.9102 37.0514 93.6641 36.9785C93.4225 36.901 93.1764 36.8623 92.9258 36.8623C92.5521 36.8623 92.2467 36.9443 92.0098 37.1084C91.7728 37.2725 91.6543 37.4844 91.6543 37.7441C91.6543 37.9128 91.7021 38.0654 91.7979 38.2021C91.8981 38.3343 92.0326 38.4391 92.2012 38.5166C92.3698 38.5895 92.5612 38.626 92.7754 38.626ZM103.891 38.9131C103.558 39.2959 103.15 39.5967 102.667 39.8154C102.184 40.0296 101.653 40.1367 101.074 40.1367C100.372 40.1367 99.7435 39.984 99.1875 39.6787C98.6361 39.3688 98.2008 38.945 97.8818 38.4072C97.5674 37.8695 97.4102 37.2611 97.4102 36.582C97.4102 35.8984 97.5674 35.29 97.8818 34.7568C98.2008 34.2191 98.6361 33.7975 99.1875 33.4922C99.7435 33.1823 100.372 33.0273 101.074 33.0273C101.648 33.0273 102.177 33.1344 102.66 33.3486C103.143 33.5628 103.551 33.859 103.884 34.2373L102.729 35.4473C102.551 35.2422 102.325 35.0827 102.052 34.9688C101.783 34.8503 101.5 34.791 101.204 34.791C100.862 34.791 100.557 34.8685 100.288 35.0234C100.019 35.1738 99.8073 35.3835 99.6523 35.6523C99.4974 35.9167 99.4199 36.222 99.4199 36.5684C99.4199 36.9193 99.4974 37.2314 99.6523 37.5049C99.8073 37.7783 100.019 37.9925 100.288 38.1475C100.557 38.2979 100.862 38.373 101.204 38.373C101.5 38.373 101.785 38.3161 102.059 38.2021C102.332 38.0837 102.555 37.9219 102.729 37.7168L103.891 38.9131ZM107.056 40H105.094V29.7461H107.056V36.0488L107.726 35.2422L109.694 33.1641H112.148L109.257 36.2061L112.49 40H109.954L107.91 37.4365L107.056 38.2158V40Z' fill='%230085FF'/%3e%3c/svg%3e";let op=nj.div` 766 width: 100%; 767 z-index: 10; 768 display: flex; 769 flex-direction: column; 770 justify-content: start; 771`,om=nj.img` 772 margin-bottom: 48px; 773 height: 43px; 774 width: min-content; 775`,og=nj.h1` 776 font-family: "Kumbh Sans", sans-serif; 777 font-weight: 600; 778 font-size: 30px; 779 color: #181d27; 780 margin-bottom: 12px; 781`,oy=nj.p` 782 height: 16px; 783 font-family: "Kumbh Sans", sans-serif; 784 font-weight: 400; 785 font-size: 12px; 786 line-height: 16px; 787 color: #ef4444; 788`,ov=nj.div` 789 font-family: "Kumbh Sans", sans-serif; 790 font-weight: 500; 791 font-size: 16px; 792 line-height: 20px; 793 color: #000; 794 text-decoration: underline; 795 cursor: pointer; 796 & * { 797 cursor: pointer; 798 } 799 text-align: center; 800`,ob=nj.div` 801 width: 100%; 802 padding: 8px 16px; 803 margin-top: 8px; 804 background-color: #0085ff; 805 border-radius: 8px; 806 font-family: "Kumbh Sans", sans-serif; 807 font-weight: 600; 808 font-size: 16px; 809 line-height: 20px; 810 color: #fff; 811 cursor: pointer; 812 & * { 813 cursor: pointer; 814 } 815 text-align: center; 816 &:hover { 817 opacity: 0.8; 818 } 819`,oC=nj.div` 820 width: 100%; 821 margin-top: 8px; 822 font-family: "Kumbh Sans", sans-serif; 823 font-weight: 500; 824 font-size: 16px; 825 line-height: 20px; 826 text-align: center; 827 color: #000; 828 cursor: pointer; 829 & * { 830 cursor: pointer; 831 } 832 text-align: center; 833 &:hover { 834 opacity: 0.8; 835 } 836`,ox=({setIsSigningUp:e,closeModal:t})=>{let[n,r]=i.useState(""),[o,a]=i.useState(""),[l,c]=i.useState(""),{mutate:u}=(()=>{let e=eg();return ew({mutationFn:sM,onSuccess:()=>e.invalidateQueries()})})(),d=()=>{u({email:n,password:o},{onSuccess:()=>{t()},onError:e=>{"Network Error"===e.message?c("Une erreur r\xe9seau est survenue"):"Invalid credentials"===e.message?c("Email ou mot de passe invalide"):c("Une erreur est survenue")}})},h=async()=>{let e=window.location.href;n?(await sD({email:n,redirectUrl:e}),t(),iC("Un lien de r\xe9initialisation a \xe9t\xe9 envoy\xe9 \xe0 votre adresse email","success")):c("Veuillez entrer une adresse email")};return(0,s.jsxs)(op,{children:[(0,s.jsx)(om,{src:of}),(0,s.jsx)(og,{children:"Connexion"}),(0,s.jsx)(oh,{label:"Email",placeholder:"Email",type:"email",value:n,setValue:r}),(0,s.jsx)(oh,{label:"Mot de passe",placeholder:"Mot de passe",type:"password",value:o,setValue:a,onPressEnter:d}),(0,s.jsx)(oy,{children:l}),(0,s.jsx)(ov,{onClick:h,children:"Mot de passe oubli\xe9 ?"}),(0,s.jsx)(ob,{onClick:d,children:"Se connecter"}),(0,s.jsx)(oC,{onClick:()=>e(!0),children:"S'inscrire"})]})},ow=({closeModal:e,setIsSigningUp:t})=>{let[n,r]=(0,i.useState)(""),[o,a]=(0,i.useState)(""),[l,c]=(0,i.useState)(""),[u,d]=(0,i.useState)(""),{mutate:h}=(()=>{let e=eg();return ew({mutationFn:sR,onSuccess:()=>e.invalidateQueries()})})(),f=()=>{h({firstName:n,lastName:o,email:l,password:u},{onSuccess:()=>{e()},onError:e=>{console.error(e)}})};return(0,s.jsxs)(op,{children:[(0,s.jsx)(om,{src:of}),(0,s.jsx)(og,{children:"Inscription"}),(0,s.jsx)(oh,{label:"Pr\xe9nom",placeholder:"Pr\xe9nom",type:"text",value:n,setValue:r}),(0,s.jsx)(oh,{label:"Nom",placeholder:"Nom",type:"text",value:o,setValue:a}),(0,s.jsx)(oh,{label:"E-mail",placeholder:"E-mail",type:"email",value:l,setValue:c}),(0,s.jsx)(oh,{label:"Mot de passe",placeholder:"Mot de passe",type:"password",value:u,setValue:d,onPressEnter:f}),(0,s.jsx)(ob,{onClick:f,children:"S'inscrire"}),(0,s.jsx)(oC,{onClick:()=>t(!1),children:"Se connecter"})]})},ok=nj.div` 837 padding: 32px; 838`,o_=({closeModal:e})=>{let[t,n]=(0,i.useState)(!1);return(0,s.jsx)(ok,{children:t?(0,s.jsx)(ow,{closeModal:e,setIsSigningUp:n}):(0,s.jsx)(ox,{setIsSigningUp:n,closeModal:e})})},oS=({isVisible:e,closeModal:t})=>(0,s.jsx)(sQ,{isVisible:e,closeModal:t,children:(0,s.jsx)(o_,{closeModal:t})}),oT=nj.div` 839 flex: 1; 840 display: flex; 841 flex-direction: column; 842 align-items: center; 843 justify-content: center; 844 gap: 16px; 845`,oO=nj.p` 846 text-align: center; 847 font-family: "Kumbh Sans", sans-serif; 848 font-weight: 400; 849 font-size: 16px; 850 line-height: 24px; 851 color: #e9eaeb; 852`,oj=()=>{let[e,t]=(0,i.useState)(!1);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(oT,{children:[(0,s.jsx)(oO,{children:"Connectez vous pour acc\xe9der aux commentaires"}),(0,s.jsx)(nL,{text:"Se connecter",onClick:()=>t(!0),size:"small"})]}),(0,s.jsx)(oS,{isVisible:e,closeModal:()=>t(!1)})]})},oM=nj.div` 853 position: fixed; 854 top: 0; 855 right: 0; 856 bottom: 0; 857 width: 400px; 858 background-color: #252b37; 859 transition: all 0.25s ease-in-out; 860 z-index: 10000000; 861 color: #fff; 862 padding: 16px 12px; 863 display: flex; 864 flex-direction: column; 865 align-items: center; 866`,oR=nj.div` 867 width: 100%; 868 display: flex; 869 align-items: center; 870 justify-content: space-between; 871`,oD=nj.img` 872 z-index: 10; 873`,oE=()=>{let[e,t]=(0,i.useState)(!1),{data:n}=rg(),{isOpen:r,closeFeedbackOverlay:o}=nD();return r?(0,s.jsxs)(oM,{id:"galafeedback-feedback-sidebar",style:{right:e?"-400px":"0"}
873,children:[(0,s.jsxs)(oR,{children:[(0,s.jsx)(oD,{src:"data:image/svg+xml,%3csvg width='127' height='43' viewBox='0 0 127 43' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7.48673 8.07767C8.49111 8.07767 9.41862 8.25372 10.2693 8.60582C11.1302 8.94757 11.8834 9.4343 12.5291 10.066L12.6367 8.38835H16.8182V22.1049C16.8182 24.0932 16.4441 25.8278 15.696 27.3087C14.9581 28.7896 13.9178 29.9392 12.5752 30.7573C11.2429 31.5858 9.67484 32 7.87105 32C6.87692 32 5.8213 31.8602 4.70419 31.5806C3.58707 31.301 2.44433 30.866 1.27597 30.2757L2.61344 26.5631C3.12587 26.9981 3.84329 27.3657 4.76568 27.666C5.68807 27.9767 6.57459 28.132 7.42523 28.132C8.9523 28.132 10.1617 27.6142 11.0533 26.5786C11.9449 25.5534 12.3908 24.1657 12.3908 22.4155V22.3845C11.7451 22.9644 11.0072 23.4201 10.177 23.7515C9.34688 24.0725 8.45011 24.233 7.48673 24.233C6.0519 24.233 4.76568 23.8861 3.62806 23.1922C2.5007 22.488 1.61418 21.5301 0.968509 20.3184C0.322836 19.0964 0 17.7087 0 16.1553C0 14.6019 0.322836 13.2194 0.968509 12.0078C1.61418 10.7858 2.5007 9.82783 3.62806 9.13398C4.76568 8.42977 6.0519 8.07767 7.48673 8.07767ZM8.48598 20.3495C9.61335 20.3495 10.546 19.9508 11.2839 19.1534C12.0218 18.356 12.3908 17.3566 12.3908 16.1553C12.3908 14.954 12.0218 13.9547 11.2839 13.1573C10.546 12.3599 9.61335 11.9612 8.48598 11.9612C7.35862 11.9612 6.42598 12.3599 5.68807 13.1573C4.95016 13.9547 4.5812 14.954 4.5812 16.1553C4.5812 17.3566 4.95016 18.356 5.68807 19.1534C6.42598 19.9508 7.35862 20.3495 8.48598 20.3495Z' fill='white'/%3e%3cpath d='M18.9191 19.6505C18.9191 18.6149 19.2112 17.688 19.7954 16.8699C20.3898 16.0518 21.2046 15.4045 22.2397 14.9282C23.2748 14.4518 24.4586 14.2136 25.7909 14.2136C26.2111 14.2136 26.6518 14.2395 27.113 14.2913C27.5844 14.343 28.0559 14.4104 28.5273 14.4932C28.1891 12.8052 26.9746 11.9612 24.8839 11.9612C23.6438 11.9612 22.3986 12.4324 21.1482 13.3748L19.6263 9.6C20.6921 9.0822 21.7426 8.69903 22.7778 8.45049C23.8129 8.20194 24.7968 8.07767 25.7294 8.07767C27.2155 8.07767 28.5017 8.36246 29.5881 8.93204C30.6847 9.49126 31.5353 10.2887 32.14 11.3243C32.7447 12.3495 33.047 13.556 33.047 14.9437V23.9223H29.3267L29.0346 22.2602C28.4607 22.8712 27.7587 23.3527 26.9285 23.7049C26.1086 24.057 25.2067 24.233 24.2229 24.233C22.665 24.233 21.3891 23.8084 20.3949 22.9592C19.4111 22.11 18.9191 21.0071 18.9191 19.6505ZM23.3466 18.6252C23.3466 19.143 23.5413 19.5625 23.9308 19.8835C24.3305 20.1942 24.8531 20.3495 25.4988 20.3495C26.3802 20.3495 27.1181 20.0803 27.7126 19.5417C28.3172 19.0032 28.6196 18.3405 28.6196 17.5534V17.2427C28.2404 17.1184 27.8304 17.0201 27.3897 16.9476C26.9593 16.8751 26.5339 16.8388 26.1137 16.8388C25.2426 16.8388 24.5611 16.9942 24.0691 17.3049C23.5874 17.6155 23.3466 18.0557 23.3466 18.6252Z' fill='white'/%3e%3cpath d='M39.7752 0V23.9223H35.3478V0H39.7752Z' fill='white'/%3e%3cpath d='M41.8761 19.6505C41.8761 18.6149 42.1682 17.688 42.7524 16.8699C43.3468 16.0518 44.1616 15.4045 45.1967 14.9282C46.2319 14.4518 47.4156 14.2136 48.7479 14.2136C49.1681 14.2136 49.6088 14.2395 50.07 14.2913C50.5415 14.343 51.0129 14.4104 51.4843 14.4932C51.1461 12.8052 49.9317 11.9612 47.8409 11.9612C46.6008 11.9612 45.3556 12.4324 44.1052 13.3748L42.5833 9.6C43.6492 9.0822 44.6997 8.69903 45.7348 8.45049C46.7699 8.20194 47.7538 8.07767 48.6864 8.07767C50.1725 8.07767 51.4587 8.36246 52.5451 8.93204C53.6417 9.49126 54.4924 10.2887 55.097 11.3243C55.7017 12.3495 56.0041 13.556 56.0041 14.9437V23.9223H52.2838L51.9917 22.2602C51.4177 22.8712 50.7157 23.3527 49.8855 23.7049C49.0656 24.057 48.1637 24.233 47.1799 24.233C45.6221 24.233 44.3461 23.8084 43.3519 22.9592C42.3681 22.11 41.8761 21.0071 41.8761 19.6505ZM46.3036 18.6252C46.3036 19.143 46.4983 19.5625 46.8878 19.8835C47.2875 20.1942 47.8102 20.3495 48.4558 20.3495C49.3372 20.3495 50.0751 20.0803 50.6696 19.5417C51.2742 19.0032 51.5766 18.3405 51.5766 17.5534V17.2427C51.1974 17.1184 50.7874 17.0201 50.3467 16.9476C49.9163 16.8751 49.491 16.8388 49.0708 16.8388C48.1996 16.8388 47.5181 16.9942 47.0261 17.3049C46.5444 17.6155 46.3036 18.0557 46.3036 18.6252Z' fill='white'/%3e%3cpath d='M57.2287 16.
8731553C57.2287 14.6019 57.5515 13.2194 58.1972 12.0078C58.8428 10.7858 59.7294 9.82783 60.8567 9.13398C61.9943 8.42977 63.2806 8.07767 64.7154 8.07767C65.6788 8.07767 66.5755 8.24337 67.4057 8.57476C68.2358 8.89579 68.9738 9.34628 69.6194 9.92621V0.621359H74.0469V23.9223H69.8654L69.7578 22.2447C69.1121 22.8764 68.3588 23.3683 67.4979 23.7204C66.6473 24.0621 65.7198 24.233 64.7154 24.233C63.2806 24.233 61.9943 23.8861 60.8567 23.1922C59.7294 22.488 58.8428 21.5301 58.1972 20.3184C57.5515 19.0964 57.2287 17.7087 57.2287 16.1553ZM61.8099 16.1553C61.8099 17.3566 62.1788 18.356 62.9167 19.1534C63.6546 19.9508 64.5873 20.3495 65.7146 20.3495C66.842 20.3495 67.7746 19.9508 68.5126 19.1534C69.2505 18.356 69.6194 17.3566 69.6194 16.1553C69.6194 14.954 69.2505 13.9547 68.5126 13.1573C67.7746 12.3599 66.842 11.9612 65.7146 11.9612C64.5873 11.9612 63.6546 12.3599 62.9167 13.1573C62.1788 13.9547 61.8099 14.954 61.8099 16.1553Z' fill='white'/%3e%3cpath d='M76.6397 23.9223V8.38835H80.5138L80.729 10.6097C81.8461 8.92168 83.3834 8.07767 85.3409 8.07767C86.0071 8.07767 86.6938 8.18123 87.4009 8.38835L86.786 12.2563C86.1916 12.0595 85.6074 11.9612 85.0335 11.9612C83.8446 11.9612 82.8863 12.4065 82.1587 13.2971C81.431 14.1773 81.0672 15.4356 81.0672 17.0718V23.9223H76.6397Z' fill='white'/%3e%3cpath d='M87.1958 3.1068C87.1958 2.36116 87.4213 1.76052 87.8723 1.30485C88.3232 0.849191 88.9176 0.621359 89.6555 0.621359C90.3935 0.621359 90.9879 0.849191 91.4388 1.30485C91.8898 1.76052 92.1152 2.36116 92.1152 3.1068C92.1152 3.85243 91.8898 4.45307 91.4388 4.90874C90.9879 5.3644 90.3935 5.59223 89.6555 5.59223C88.9176 5.59223 88.3232 5.3644 87.8723 4.90874C87.4213 4.45307 87.1958 3.85243 87.1958 3.1068ZM87.4418 23.9223V8.38835H91.8693V23.9223H87.4418Z' fill='white'/%3e%3cpath d='M98.6436 23.9223H94.2161V8.38835H98.3976L98.5052 10.035C99.5916 8.7301 101.062 8.07767 102.917 8.07767C105.285 8.07767 106.96 9.09773 107.944 11.1379C108.457 10.154 109.149 9.39806 110.02 8.8699C110.891 8.34175 111.916 8.07767 113.094 8.07767C114.96 8.07767 116.41 8.74045 117.445 10.066C118.48 11.3812 118.998 13.2142 118.998 15.565V23.9223H114.57V15.565C114.57 14.3638 114.288 13.4628 113.725 12.8621C113.171 12.2615 112.5 11.9612 111.711 11.9612C110.911 11.9612 110.23 12.2718 109.666 12.8932C109.102 13.5146 108.821 14.4414 108.821 15.6738V23.9223H104.393V15.565C104.393 14.3638 104.111 13.4628 103.548 12.8621C102.994 12.2615 102.323 11.9612 101.534 11.9612C100.734 11.9612 100.053 12.2718 99.4891 12.8932C98.9254 13.5146 98.6436 14.4414 98.6436 15.6738V23.9223Z' fill='white'/%3e%3cpath d='M121.283 21.7476C121.283 21.0019 121.508 20.4013 121.959 19.9456C122.41 19.49 123.005 19.2621 123.743 19.2621C124.481 19.2621 125.075 19.49 125.526 19.9456C125.977 20.4013 126.202 21.0019 126.202 21.7476C126.202 22.4932 125.977 23.0939 125.526 23.5495C125.075 24.0052 124.481 24.233 123.743 24.233C123.005 24.233 122.41 24.0052 121.959 23.5495C121.508 23.0939 121.283 22.4932 121.283 21.7476Z' fill='white'/%3e%3cpath d='M48.834 40V29.7461H55.2461V31.585H50.9395V33.916H54.9658V35.7617H50.9395V40H48.834ZM63.1416 39.2344C62.2939 39.8359 61.3665 40.1367 60.3594 40.1367C59.612 40.1367 58.9398 39.9772 58.3428 39.6582C57.7503 39.3346 57.2809 38.8971 56.9346 38.3457C56.5928 37.7943 56.4219 37.1722 56.4219 36.4795C56.4219 35.8187 56.5768 35.2285 56.8867 34.709C57.2012 34.1895 57.6273 33.7793 58.165 33.4785C58.7028 33.1777 59.3135 33.0273 59.9971 33.0273C60.7035 33.0273 61.3255 33.1937 61.8633 33.5264C62.401 33.8545 62.8203 34.3148 63.1211 34.9072C63.4219 35.4951 63.5723 36.1764 63.5723 36.9512V37.1699H58.5342C58.6162 37.4388 58.7484 37.6758 58.9307 37.8809C59.1175 38.0814 59.3499 38.2409 59.6279 38.3594C59.9105 38.4779 60.2318 38.5371 60.5918 38.5371C61.2891 38.5371 61.9385 38.3115 62.54 37.8604L63.1416 39.2344ZM58.4453 36.1719H61.7607C61.7243 35.8757 61.6309 35.6159 61.4805 35.3926C61.3346 35.1647 61.141 34.987 60.8994 34.8594C60.6624 34.7318 60.3958 34.668 60.0996 34.668C59.7988 34.668 59.5299 34.734 59.293 34.8662C59.0605 34.9984 58.8714 35.1761 58.7256 35.3994C58.5798 35.6227 58.4863 35.8802 58.4453 36.1719ZM71.1123 39.2344C70.2646 39.8359 69.3372 40.1367 68.3301 40.1367C67.5827 40.1367 66.9105 39.9772 66.3135 39.6582C65.721 39.3346 65.2516 38.8971 64.9053 38.3457C64.5635 37.7943 64.3926 37.1722 64.3926 36.4795C64.3926 35.8187 64.5475 35.2285 64.8574 34.709C65.1719 34.1895 65.598 33.7793 66.1357 33.4785C66.6735 33.1777 67.2842 33.0273 67.9678 33.0273C68.6742 33.0273 69.2962 33.1937 69.834 33.5264C70.3717 33.8545 70.791 34.3148 71.0918 34.9072C71.3926 35.4951 71.543 36.1764 71.543 36.9512V37.1699H66.5049C66.5869 37.4388 66.7191 37.6758 66.9014 37.8809C67.0882 38.0814 67.3206 38.2409 67.5986 38.3594C67.8812 38.4779 68.2025 38.5371 68.5625 38.5371C69.2598 38.5371 69.9092 38.3115 70.5107 37.8604L71.1123 39.2344ZM66.416 36.1719H69.7314C69.695 35.8757 69.6016 35.6159 69.4512 35.3926C69.3053 35.
8731647 69.1117 34.987 68.8701 34.8594C68.6331 34.7318 68.3665 34.668 68.0703 34.668C67.7695 34.668 67.5007 34.734 67.2637 34.8662C67.0312 34.9984 66.8421 35.1761 66.6963 35.3994C66.5505 35.6227 66.457 35.8802 66.416 36.1719ZM79.8281 40H78.1055L78.0029 39.0703C77.7113 39.3984 77.3604 39.6582 76.9502 39.8496C76.5446 40.041 76.1003 40.1367 75.6172 40.1367C74.9928 40.1367 74.4346 39.984 73.9424 39.6787C73.4548 39.3688 73.0697 38.945 72.7871 38.4072C72.5046 37.8695 72.3633 37.2611 72.3633 36.582C72.3633 35.8984 72.5046 35.29 72.7871 34.7568C73.0697 34.2191 73.4548 33.7975 73.9424 33.4922C74.4346 33.1823 74.9928 33.0273 75.6172 33.0273C76.0638 33.0273 76.4785 33.1094 76.8613 33.2734C77.2487 33.4329 77.5837 33.6562 77.8662 33.9434V29.7461H79.8281V40ZM76.123 38.3799C76.4466 38.3799 76.7383 38.307 76.998 38.1611C77.2624 38.0153 77.472 37.8171 77.627 37.5664C77.7865 37.3112 77.8662 37.0218 77.8662 36.6982V36.4521C77.8662 36.1286 77.7865 35.8415 77.627 35.5908C77.472 35.3402 77.2624 35.1442 76.998 35.0029C76.7383 34.8571 76.4466 34.7842 76.123 34.7842C75.7904 34.7842 75.4919 34.8617 75.2275 35.
8730166C74.9632 35.1715 74.7536 35.3857 74.5986 35.6592C74.4482 35.9281 74.373 36.2357 74.373 36.582C74.373 36.9238 74.4482 37.2314 74.5986 37.5049C74.7536 37.7738 74.9632 37.988 75.2275 38.1475C75.4919 38.3024 75.7904 38.3799 76.123 38.3799ZM83.2188 40H81.4961V29.7461H83.458V33.9434C83.7451 33.6562 84.0778 33.4329 84.4561 33.2734C84.8389 33.1094 85.2536 33.0273 85.7002 33.0273C86.3291 33.0273 86.8874 33.1823 87.375 33.4922C87.8626 33.7975 88.2477 34.2191 88.5303 34.7568C88.8128 35.29 88.9541 35.8984 88.9541 36.582C88.9541 37.2611 88.8128 37.8695 88.5303 38.4072C88.2477 38.945 87.8626 39.3688 87.375 39.6787C86.8874 39.984 86.3291 40.1367 85.7002 40.1367C85.2171 40.1367 84.7705 40.0433 84.3604 39.8564C83.9548 39.665 83.6061 39.403 83.3145 39.0703L83.2188 40ZM85.2012 38.3799C85.5339 38.3799 85.8301 38.3024 86.0898 38.1475C86.3542 37.9925 86.5615 37.7783 86.7119 37.5049C86.8669 37.2314 86.9443 36.9215 86.9443 36.5752C86.9443 36.2334 86.8669 35.9281 86.7119 35.6592C86.5615 35.3857 86.3542 35.1715 86.0898 35.0166C85.8301 34.8617 85.5339 34.7842 85.2012 34.7842C84.8867 34.7842 84.5996 34.8548 84.3398 34.9961C84.0846 35.1374 83.8796 35.3311 83.7246 35.5771C83.5697 35.8232 83.4808 36.1058 83.458 36.4248V36.7256C83.4808 37.0446 83.5697 37.3294 83.7246 37.5801C83.8796 37.8262 84.0846 38.0221 84.3398 38.168C84.5951 38.3092 84.8822 38.3799 85.2012 38.3799ZM96.3027 40H94.5938L94.4912 39.1865C94.2406 39.4873 93.9307 39.722 93.5615 39.8906C93.1924 40.0547 92.7868 40.1367 92.3447 40.1367C91.8662 40.1367 91.4401 40.0456 91.0664 39.8633C90.6927 39.6764 90.3988 39.4212 90.1846 39.0977C89.9704 38.7695 89.8633 38.3981 89.8633 37.9834C89.8633 37.5459 89.9795 37.1608 90.2119 36.8281C90.4443 36.4954 90.7633 36.2357 91.1689 36.0488C91.5791 35.8574 92.0439 35.7617 92.5635 35.7617C92.8688 35.7617 93.1742 35.7959 93.4795 35.8643C93.7894 35.9326 94.0765 36.0283 94.3408 36.1514V35.9736C94.3408 35.7002 94.2633 35.4655 94.1084 35.2695C93.958 35.069 93.7484 34.9141 93.4795 34.8047C93.2152 34.6953 92.9189 34.6406 92.5908 34.6406C92.2764 34.6406 91.9642 34.6908 91.6543 34.791C91.349 34.8913 91.0664 35.0417 90.8066 35.2422L90.2734 33.7451C90.7337 33.5081 91.1986 33.3304 91.668 33.2119C92.1419 33.0889 92.5999 33.0273 93.042 33.0273C93.7074 33.0273 94.2839 33.1595 94.7715 33.4238C95.2591 33.6836 95.6351 34.0527 95.8994 34.5312C96.1683 35.0052 96.3027 35.568 96.3027 36.2197V40ZM92.7754 38.626C93.0352 38.626 93.2835 38.569 93.5205 38.4551C93.7575 38.3411 93.9489 38.1862 94.0947 37.9902C94.2451 37.7943 94.3249 37.5778 94.334 37.3408V37.293C94.1335 37.1562 93.9102 37.0514 93.6641 36.9785C93.4225 36.901 93.1764 36.8623 92.9258 36.8623C92.5521 36.8623 92.2467 36.9443 92.0098 37.1084C91.7728 37.2725 91.6543 37.4844 91.6543 37.7441C91.6543 37.9128 91.7021 38.0654 91.7979 38.2021C91.8981 38.3343 92.0326 38.4391 92.2012 38.5166C92.3698 38.5895 92.5612 38.626 92.7754 38.626ZM103.891 38.9131C103.558 39.2959 103.15 39.5967 102.667 39.8154C102.184 40.0296 101.653 40.1367 101.074 40.1367C100.372 40.1367 99.7435 39.984 99.1875 39.6787C98.6361 39.3688 98.2008 38.945 97.8818 38.4072C97.5674 37.8695 97.4102 37.2611 97.4102 36.582C97.4102 35.8984 97.5674 35.29 97.8818 34.7568C98.2008 34.2191 98.6361 33.7975 99.1875 33.4922C99.7435 33.1823 100.372 33.0273 101.074 33.0273C101.648 33.0273 102.177 33.1344 102.66 33.3486C103.143 33.5628 103.551 33.859 103.884 34.2373L102.729 35.4473C102.551 35.2422 102.325 35.0827 102.052 34.9688C101.783 34.8503 101.5 34.791 101.204 34.791C100.862 34.791 100.557 34.8685 100.288 35.0234C100.019 35.1738 99.8073 35.3835 99.6523 35.6523C99.4974 35.9167 99.4199 36.222 99.4199 36.5684C99.4199 36.9193 99.4974 37.2314 99.6523 37.5049C99.8073 37.7783 100.019 37.9925 100.288 38.1475C100.557 38.2979 100.862 38.373 101.204 38.373C101.5 38.373 101.785 38.3161 102.059 38.2021C102.332 38.0837 102.555 37.9219 102.729 37.7168L103.891 38.9131ZM107.056 40H105.094V29.7461H107.056V36.0488L107.726 35.2422L109.694 33.1641H112.148L109.257 36.2061L112.49 40H109.954L107.91 37.4365L107.056 38.2158V40Z' fill='%230085FF'/%3e%3c/svg%3e"}),(0,s.jsx)(rj,{onClick:o,size:"large"})]}),n?(0,s.jsx)(ol,{}):(0,s.jsx)(oj,{}),(0,s.jsx)(sj,{isCollapsed:e,setIsCollapsed:t})]}):null},oP=nj.div` 874 padding: 16px 12px; 875 background-color: #252b37; 876 color: #fff; 877 border-radius: 8px; 878`,oI=nj.h2` 879 font-family: "Kumbh Sans", sans-serif; 880 font-weight: 400; 881 font-size: 18px; 882 line-height: 24px; 883 color: #fff; 884 margin-bottom: 12px; 885 text-align: center; 886`,oL=nj.div` 887 display: flex; 888 flex-direction: column; 889 gap: 8px; 890 overflow-y: auto; 891 max-height: 400px; 892 -ms-overflow-style: none; 893 scrollbar-width: none; 894`,oA=nj.div` 895 display: flex; 896 flex-direction: row; 897 align-items: center; 898 justify-content: space-between; 899 gap: 8px; 900 background-color: #343d4b; 901 border-radius: 8px; 902 padding: 12px; 903 cursor: pointer; 904 & * { 905 cursor: pointer; 906 } 907 908 &:hover { 909 opacity: 0.6; 910 } 911`,oN=nj.span` 912 font-family: "Kumbh Sans", sans-serif; 913 font-weight: 400; 914 font-size: 14px; 915 line-height: 18px; 916 color: #fff; 917`,oF=nj.img` 918 width: 16px; 919 height: 16px; 920 stroke: #000; 921`,oU=()=>
921{let{showTrelloProjectModal:e,setShowTrelloProjectModal:t,myTrelloBoards:n}=rK(),{projectId:r}=nD(),{mutate:i}=(()=>{let e=eg(),{projectId:t}=nD();return ew({mutationFn:r0,onSuccess:()=>{e.invalidateQueries({queryKey:["trello","my-boards"]}),e.invalidateQueries({queryKey:["projects",t]})}})})(),o=async e=>{try{i({boardId:e,projectId:r}),t(!1)}catch(e){console.error(e)}};return(0,s.jsx)(sQ,{isVisible:e,closeModal:()=>t(!1),children:(0,s.jsxs)(oP,{children:[(0,s.jsx)(oI,{children:"Liez un tableau au projet"}),(0,s.jsx)(oL,{children:null==n?void 0:n.map(e=>(0,s.jsxs)(oA,{onClick:()=>o(e.id),children:[(0,s.jsx)(oN,{children:e.name}),(0,s.jsx)(oF,{src:sT})]},e.id))})]})})},oY=nj.div` 922 padding: 16px 12px; 923 background-color: #252b37; 924 color: #fff; 925 border-radius: 8px; 926 z-index: 1000; 927`,oH=nj.h2` 928 font-family: "Kumbh Sans", sans-serif; 929 font-weight: 600; 930 font-size: 18px; 931 line-height: 24px; 932 color: #fff; 933 margin-bottom: 12px; 934 text-align: center; 935`,oV=nj.h3` 936 font-family: "Kumbh Sans", sans-serif; 937 font-weight: 500; 938 font-size: 16px; 939 line-height: 20px; 940 margin-bottom: 12px; 941`,oz=nj.div` 942 display: flex; 943 flex-direction: column; 944 gap: 16px; 945 margin-bottom: 20px; 946 overflow-y: auto; 947 max-height: 400px; 948 -ms-overflow-style: none; 949 scrollbar-width: none; 950`,oG=nj.div` 951 display: flex; 952 flex-direction: row; 953 align-items: center; 954 justify-content: space-between; 955 gap: 8px; 956 background-color: ${({$isSelected:e})=>e?"2e99ff":"#343d4b"}; 957 border-radius: 8px; 958 padding: 12px; 959 cursor: pointer; 960 & * { 961 cursor: pointer; 962 } 963 964 &:hover { 965 opacity: 0.6; 966 } 967`,o$=nj.span` 968 font-family: "Kumbh Sans", sans-serif; 969 font-weight: 400; 970 font-size: 14px; 971 line-height: 18px; 972`,oq=nj.div` 973 width: 100%; 974 display: flex; 975 flex-direction: row; 976 justify-content: center; 977 margin-bottom: 12px; 978`,oW=({onSubmit:e,lists:t,isLoading:n})=>{let{projectId:r}=nD(),{showCreateCardModal:o,setShowCreateCardModal:a,feedbackId:l,setShowLinkTicketToFeedbackModal:c}=rK(),[u,d]=(0,i.useState)(""),[h,f]=(0,i.useState)(""),{data:p}=rk(r),m=null==p?void 0:p.find(e=>e.id===l);return(0,i.useEffect)(()=>{m&&f(m.comment)},[m]),(0,s.jsx)(sQ,{isVisible:o,closeModal:()=>a(!1),children:(0,s.jsxs)(oY,{children:[(0,s.jsx)(oH,{children:"Cr\xe9er votre ticket"}),(0,s.jsx)(oq,{children:(0,s.jsx)(nL,{text:"Lier \xe0 un ticket existant",onClick:()=>c(!0),size:"small"})}),(0,s.jsx)(oV,{children:"Listes"}),(0,s.jsx)(oz,{children:null==t?void 0:t.map(e=>(0,s.jsx)(oG,{$isSelected:e.id===u,onClick:()=>d(e.id),children:(0,s.jsx)(o$,{children:e.name})},e.id))}),(0,s.jsx)(rY,{value:h,setValue:f,onSubmit:()=>{if(!u||!h)return;let t=`${window.location.href}?feedbackId=${l}`;e({feedbackId:l,name:h,idList:u,urlSource:t})},isAnimated:!0,isDark:!0,isLoading:n,placeholder:"Titre du ticket"})]})})},oB=()=>{let{notionDatabaseId:e}=nD(),{mutate:t,isPending:n}=(()=>{let e=eg(),{setFeedbackId:t,setShowCreateCardModal:n}=rK();return ew({mutationFn:r2,onSuccess:()=>(n(!1),t(""),e.invalidateQueries({queryKey:["feedbacks"]}))})})(),{data:r}=(()=>{let{data:e}=rg(),{projectId:t}=nD(),{data:n}=rX(t);return ex({queryKey:["trello",t,"lists"],queryFn:()=>r1(t),enabled:!!(e&&e.trelloToken&&n&&n.trelloBoardId)})})();return e?null:(0,s.jsx)(oW,{onSubmit:({feedbackId:e,name:n,idList:r,urlSource:s})=>{r&&n&&t({feedbackId:e,name:n,idList:r,urlSource:s})},lists:r||[],isLoading:n})},oQ=e=>{let t=new URLSearchParams(window.location.search);t.delete(e);let n=`${window.location.pathname}${t.toString()?"?":""}${t.toString()}`;window.history.replaceState(null,"",n)},oK=({children:e})=>{let[t,n]=(0,i.useState)(!1),[r,o]=(0,i.useState)(!1),[a,l]=(0,i.useState)(!1),[c,u]=(0,i.useState)(""),{data:d,refetch:h}=(()=>{let{data:e}=rg();return ex({queryKey:["trello","my-boards"],queryFn:rJ,enabled:!!(e&&e.trelloToken)})})(),{data:f}=rg(),{projectId:p}=nD(),{mutate:m}=(()=>{let e=eg();return ew({mutationFn:r9,onSuccess:()=>{e.invalidateQueries({queryKey:["projects"]})}})})(),g=(0,i.useCallback)(()=>{window.history.replaceState({},document.title,window.location.pathname+window.location.search)},[]),y=(0,i.useCallback)(async()=>{let e=new URLSearchParams(window.location.hash.substring(1)).get("token");e&&f&&!f.trelloToken&&(await rf.user.userControllerUpdateMe({trelloToken:e}),n(!0),g(),h())},[f,h,g]),v=(0,i.useCallback)(async()=>{let e=new URLSearchParams(window.location.search).get("code");e&&(m({code:e,projectId:p}),oQ("code"))},[p,m]);return(0,i.useEffect)(()=>{y(),v()}
978,[y,v]),(0,s.jsx)(rQ.Provider,{value:{showTrelloProjectModal:t,setShowTrelloProjectModal:n,showCreateCardModal:r,setShowCreateCardModal:o,feedbackId:c,setFeedbackId:u,myTrelloBoards:d,showLinkTicketToFeedbackModal:a,setShowLinkTicketToFeedbackModal:l},children:e})},oZ=({rootDir:e,projectId:t,navigate:n,position:r="bottom-right",pathname:o=window.location.pathname,notionDatabaseId:a,children:l})=>{let[c,u]=(0,i.useState)(!1),[d,h]=(0,i.useState)(!1),[f,p]=(0,i.useState)(null),m=i.useRef(null),[g,y]=(0,i.useState)(null),{data:v}=rk(t),{data:b}=rg(),[C,x]=(0,i.useState)([]),w=(0,i.useRef)(!0),k=!!b,_=null==b?void 0:b.collaborations.find(e=>e.project.id===t),S=(0,i.useCallback)(e=>{let n=e.target,r=(null==n?void 0:n.dataset.path)||"",s=sy(r).indexOf(n),i=e.offsetX,o=e.offsetY;p({x:i,y:o,elementWidth:(null==n?void 0:n.clientWidth)||0,elementHeight:(null==n?void 0:n.clientHeight)||0,comment:"",path:window.location.pathname,elementId:r,elementIndex:s,projectId:t,replayEvents:C})},[t,C]),T=(0,i.useCallback)(e=>!!e.shadowRoot,[]),O=(0,i.useCallback)(e=>{if(!w.current||!c)return!1;let t=e.target,n=e.composedPath()[0];if(m.current){let r=m.current.contains(t),s=m.current.contains(n);if(!r&&!s){if(p(null),T(t))return!1;e.stopPropagation(),e.preventDefault()}return!1}return!T(t)},[T,c]),j=(0,i.useCallback)(e=>{c&&O(e)&&(e.stopPropagation(),e.preventDefault(),y(null),S(e))},[c,O,S]),M=(0,i.useCallback)(()=>{u(!0),document.body.classList.add("galafeedback-comment-cursor"),document.addEventListener("click",j,!0)},[j]),R=(0,i.useCallback)(()=>{u(!1),p(null),document.removeEventListener("click",j,!0),document.body.classList.remove("galafeedback-comment-cursor")},[j]),D=(0,i.useCallback)(e=>("Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),f?(document.addEventListener("click",j,!0),p(null)):(R(),h(!1))),()=>{document.removeEventListener("click",j,!0)}),[j,f,R]);(0,i.useEffect)(()=>(window.addEventListener("keydown",D,!0),()=>{window.removeEventListener("keydown",D,!0)}),[D]);let E=(0,i.useCallback)(async e=>{w.current=!1,await n(e.path+window.location.search),await iB(e),y(e),w.current=!0},[n]);(0,i.useEffect)(()=>{let e=new URLSearchParams(window.location.search),t=e.get("galadrimFeedbackToken");t&&(localStorage.setItem("galadrimFeedbackToken",t),oQ("galadrimFeedbackToken")),e.get("galadrimFeedbackResetToken")&&oQ("galadrimFeedbackResetToken");let n=e.get("feedbackId");if(n){let e=null==v?void 0:v.find(e=>e.id===n);e&&(h(!0),E(e),oQ("feedbackId"))}},[v,n,E]),(0,i.useEffect)(()=>(d&&k&&_?M():R(),()=>{document.removeEventListener("click",j,!0)}),[d,k,_,j,M,R]);let P=(0,i.useCallback)(e=>{let t=e.target,n=(null==t?void 0:t.dataset.path)||"";if(!n)return;let r=sy(n).indexOf(t);x(e=>[...e,{elementId:n,elementIndex:r,timestamp:new Date().toISOString()}])},[]);return(0,i.useEffect)(()=>c?void document.removeEventListener("click",P,{capture:!0}):(document.addEventListener("click",P,{capture:!0}),()=>{document.removeEventListener("click",P,{capture:!0})}),[P,c]),(0,i.useEffect)(()=>{x([])},[o]),(0,s.jsx)(nR.Provider,{value:{rootDir:e,projectId:t,pathname:o,position:r,isOpen:d,feedbacks:v,newFeedback:f,newFeedbackRef:m,selectedFeedback:g,setSelectedFeedback:y,resetFeedback:()=>{p(null),M()},activateFeedbackMode:M,deactivateFeedbackMode:R,shouldCaptureEventsRef:w,openFeedbackOverlay:()=>{h(!0)},closeFeedbackOverlay:()=>{h(!1)},navigate:n,notionDatabaseId:a},children:l})},oX=()=>{let{notionDatabaseId:e}=nD(),{mutate:t,isPending:n}=(()=>{let e=eg(),{setFeedbackId:t,setShowCreateCardModal:n}=rK();return ew({mutationFn:se,onSuccess:()=>(n(!1),t(""),e.invalidateQueries({queryKey:["feedbacks"]}))})})(),{data:r}=(()=>{let{notionDatabaseId:e,projectId:t}=nD();return ex({queryKey:["notion","my-databases",t],queryFn:()=>r7({notionDatabaseId:e,projectId:t}),enabled:!!e&&!!t})})();return e?(0,s.jsx)(oW,{onSubmit:({feedbackId:n,name:r,idList:s,urlSource:i})=>{s&&r&&e&&t({feedbackId:n,name:r,statusId:s,urlSource:i,databaseId:e})},lists:r||[],isLoading:n}):null},oJ=nj.div` 979 padding: 32px; 980 width: 100%; 981 z-index: 10; 982 display: flex; 983 flex-direction: column; 984 justify-content: start; 985`,o1=nj.img` 986 margin-bottom: 48px; 987 height: 43px; 988 width: min-content; 989`,o0=nj.h1` 990 font-family: "Kumbh Sans", sans-serif; 991 font-weight: 600; 992 font-size: 30px; 993 color: #181d27; 994 margin-bottom: 12px; 995`,o3=nj.p` 996 height: 16px; 997 font-family: "Kumbh Sans", sans-serif; 998 font-weight: 400; 999 font-size: 12px; 1000 line-height: 16px; 1001 color: #ef4444; 1002`,o2=nj.div` 1003 width: 100%; 1004 height: 48px; 1005 padding: 8px 16px; 1006 margin-top: 8px; 1007 background-color: #0085ff; 1008 border-radius: 8px; 1009 font-family: "Kumbh Sans", sans-serif; 1010 font-weight: 500; 1011 font-size: 16px; 1012 line-height: 20px; 1013 color: #fff; 1014 display: flex; 1015 align-items: center; 1016 justify-content: center; 1017 cursor: pointer; 1018 & * { 1019 cursor: pointer; 1020 } 1021 &:hover { 1022 opacity: 0.8; 1023 } 1024`,o4=nj.div` 1025 width: 32px; 1026 height: 32px; 1027 display: flex; 1028 align-items: center; 1029 justify-content: center; 1030`;nj.div` 1031 width: 100%; 1032 margin-top: 8px; 1033 font-family: "Kumbh Sans", sans-serif; 1034 font-weight: 500; 1035 font-size: 16px; 1036 line-height: 20px; 1037 text-align: center; 1038 color: #000; 1039 cursor: pointer; 1040 & * { 1041 cursor: pointer; 1042 } 1043 &:hover { 1044 opacity: 0.8; 1045 } 1046`;let o8=({closeModal:e,token:t})=>{let[n,r]=i.useState(""),[o,l]=i.useState(""),{mutate:c,isPending:u}=(()=>{let e=eg();return ew({mutationFn:sE,onSuccess:()=>e.invalidateQueries()})})(),d=()=>{u||c({token:t,newPassword:n},{onSuccess:()=>{e(),iC("Mot de passe r\xe9initialis\xe9 avec succ\xe8s","success")},onError:e=>{var t;"Network Error"===e.message?l("Une erreur r\xe9seau est survenue"):(0,a.F0)(e)&&(null==(t=e.response)?void 0:t.data.message)==="Invalid or expired reset token"?l("Le token de r\xe9initialisation est invalide ou a expir\xe9"):(0,a.F0)(e)&&"ERR_BAD_REQUEST"===e.code?l("Le mot de passe doit contenir au moins 6 caract\xe8res"):l("Une erreur est survenue")}})};return(0,s.jsxs)(oJ,{children:[(0,s.jsx)(o1,{src:of}),(0,s.jsx)(o0,{children:"R\xe9initialiser le mot de passe"}),(0,s.jsx)(oh,{label:"Nouveau mot de passe",placeholder:"Nouveau mot de passe",type:"password",value:n,setValue:r,onPressEnter:d}),(0,s.jsx)(o3,{children:o}),(0,s.jsx)(o2,{onClick:d,children:u?(0,s.jsx)(o4,{children:(0,s.jsx)(rL,{color:"#fff"})}):"R\xe9initialiser le mot de passe"})]})},o6=()=>{let[e,t]=(0,i.useState)(!1),[n,r]=(0,i.useState)("");return(0,i.useEffect)(()=>
1046{if(e)return;let n=new URLSearchParams(window.location.search).get("galadrimFeedbackResetToken");n&&(t(!0),r(n),oQ("galadrimFeedbackResetToken"))},[e]),(0,s.jsx)(sQ,{isVisible:e,closeModal:()=>t(!1),children:(0,s.jsx)(o8,{closeModal:()=>t(!1),token:n})})},o5=({children:e})=>{let[t,n]=(0,i.useState)(null);return(0,i.useEffect)(()=>{if(t||document.getElementById("galadrim-feedback-root"))return;let e=document.createElement("div");e.id="galadrim-feedback-root",e.style.colorScheme="light",document.body.appendChild(e),n(e.shadowRoot||e.attachShadow({mode:"open"}))},[t]),t&&l.createPortal((0,s.jsxs)(nf,{target:t,children:[(0,s.jsx)("style",{children:"* {\n box-sizing: border-box;\n margin: 0;\n cursor: initial;\n}\n\np {\n margin: 0;\n}\n\nbutton,\na {\n cursor: pointer;\n}\n\ntextarea {\n resize: none;\n border: none;\n outline: none;\n}\n\nbody {\n overflow: auto;\n}\n\n.galafeedback-scrollbar-hide {\n -ms-overflow-style: none;\n scrollbar-width: none;\n}\n.galafeedback-scrollbar-hide::-webkit-scrollbar {\n display: none;\n}\n\n.galafeedback-scrollbar-dark {\n scrollbar-color: #717680 #343d4b;\n scrollbar-width: thin;\n}\n\n#galafeedback-modal {\n position: fixed;\n z-index: 100000001;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: auto;\n background-color: rgba(0, 0, 0, 0.4);\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.galafeedback-comment-icon {\n fill: #343d4b;\n animation: iconOpening 0.3s ease forwards;\n background-color: #0085ff;\n border-radius: 50% 50% 50% 4px;\n}\n\n@keyframes iconOpening {\n from {\n width: 24px;\n height: 24px;\n }\n to {\n width: 48px;\n height: 48px;\n }\n}\n\n.galafeedback-comment-container {\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: start;\n min-height: 48px;\n width: 348px;\n gap: 8px;\n}\n\n.galafeedback-comment-input-container-opening {\n animation: containerOpening 0.3s ease-in-out;\n}\n\n@keyframes containerOpening {\n from {\n transform: scale(0); /* Initial state */\n }\n to {\n transform: scale(1); /* Final state */\n }\n}\n\n.galafeedback-feedback-item {\n display: flex;\n align-items: start;\n gap: 12px;\n width: 48px;\n height: auto;\n background-color: #343d4b;\n border-radius: 24px 24px 24px 4px;\n overflow: hidden;\n cursor: pointer !important;\n transition: all 0.25s ease-in-out;\n}\n\n.galafeedback-feedback-item:hover:not(.galafeedback-feedback-item.selected) {\n width: 264px;\n}\n\n.galafeedback-feedback-item.selected {\n overflow: visible;\n width: 264px;\n border-radius: 24px;\n}\n".toString()}),e]}),t)},o9=nj.div` 1047 padding: 16px 12px; 1048 background-color: #252b37; 1049 color: #fff; 1050 border-radius: 8px; 1051 z-index: 1000; 1052`,o7=nj.h2` 1053 font-family: "Kumbh Sans", sans-serif; 1054 font-weight: 600; 1055 font-size: 18px; 1056 line-height: 24px; 1057 color: #fff; 1058 margin-bottom: 12px; 1059 text-align: center; 1060`,ae=()=>{let{notionDatabaseId:e}=nD(),{showLinkTicketToFeedbackModal:t,setShowLinkTicketToFeedbackModal:n,feedbackId:r}=rK(),[o,a]=(0,i.useState)(""),{mutate:l,isPending:c}=(()=>{let e=eg(),{setFeedbackId:t,setShowCreateCardModal:n,setShowLinkTicketToFeedbackModal:r}=rK();return ew({mutationFn:st,onSuccess:()=>(n(!1),r(!1),t(""),e.invalidateQueries({queryKey:["feedbacks"]}))})})(),{mutate:u,isPending:d}=(()=>{let e=eg(),{setFeedbackId:t,setShowCreateCardModal:n,setShowLinkTicketToFeedbackModal:r}=rK();return ew({mutationFn:r4,onSuccess:()=>{n(!1),r(!1),t(""),e.invalidateQueries({queryKey:["feedbacks"]})}})})();return(0,s.jsx)(sQ,{isVisible:t,closeModal:()=>n(!1),children:(0,s.jsxs)(o9,{children:[(0,s.jsx)(o7,{children:"Lier \xe0 un ticket existant"}),(0,s.jsx)(rY,{value:o,setValue:a,onSubmit:()=>{if(!o)return;let t=`${window.location.href}?feedbackId=${r}`;e?l({feedbackId:r,ticketId:o,databaseId:e,urlSource:t}):u({feedbackId:r,cardId:o,urlSource:t})},isAnimated:!0,isDark:!0,isLoading:c||d,placeholder:"Id du ticket"})]})})},at=new ep;function an(e){return(0,s.jsx)(o5,{children:(0,s.jsx)(ey,{client:at,children:(0,s.jsx)(oZ,Object.assign({},e,{children:(0,s.jsxs)(oK,{children:[(0,s.jsx)(sS,{}),(0,s.jsx)(oE,{}),(0,s.jsx)(nF,{}),(0,s.jsx)(sk,{}),(0,s.jsx)(oU,{}),(0,s.jsx)(oB,{}),(0,s.jsx)(oX,{}),(0,s.jsx)(ae,{}),(0,s.jsx)(o6,{}),(0,s.jsx)(ip,{position:"top-right",style:{zIndex:0x5f5e102},toastStyle:{padding:0,backgroundColor:"transparent",borderRadius:14},hideProgressBar:!0})]})}))})})}}}]); 1061//# sourceMappingURL=452b392b.cbd57b72035edae0.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.