@ingestro/importer-react 4.0.4 → 4.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunk-6KU4IPD7.js +1 -0
- package/index.js +5 -5
- package/package.json +3 -2
- package/workers/javascript/index.js +1 -1
- package/chunk-QNASKSN5.js +0 -1
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Y7,b as Z7,c as X7,d as J7,e as Q7,f as e8,g as t8,h as r8,i as o8,j as n8}from"./chunk-OOKRCW2A.js";import{a as G7,b as K7}from"./chunk-MXQF4G2Q.js";import{a as wh,b as tl,c as Yn,d as c8,e as u8,f as d8,g as p8,h as m8,i as f8,j as h8,k as Dw}from"./chunk-YBKWOGX7.js";import{a as Ui,b as Fc,c as Ep}from"./chunk-GEB7CZLW.js";import{a as W7,b as z7,c as q7,d as Yr,e as a8}from"./chunk-YJM4L5IQ.js";import{a as Mp}from"./chunk-INNZ66AJ.js";import{a as et,b as Vi,c as Hi,d as Ja,f as wa,g as ya,h as $c,i as fn,j as Bi,k as bo,l as V7,m as Ca,n as H7,o as B7,p as U7,r as wo,s as so,t as hn,u as Ip,v as bh,w as j7,x as Rw,y as Ot}from"./chunk-JEZAW3BC.js";import{a as Ow,b as i8,c as s8,d as l8}from"./chunk-QNASKSN5.js";import{a as mr}from"./chunk-J5WOZVPO.js";import"./chunk-EK7ODJWE.js";import{createContext as FX,useState as g8,useRef as VX,useCallback as HX}from"react";import{jsx as UX}from"react/jsx-runtime";var Pw=FX({}),BX=({children:t})=>{let[e,r]=g8(!1),[o,n]=g8(),a=VX(),i=l=>{l&&(a.current=l)},s=HX(()=>{o?.terminate()},[o]);return UX(Pw.Provider,{value:{isOpen:e,setOpenModal:r,convertFile2JsonRef:a,setConvertFile2Json:i,setWebWorker:n,terminateUploadWebWorker:s},children:t})},v8=BX;import{createContext as jX,useState as Aw,useCallback as WX}from"react";import{jsx as qX}from"react/jsx-runtime";var Nw=jX({}),zX=({children:t})=>{let[e,r]=Aw(!1),[o,n]=Aw(),[a,i]=Aw(!1),s=c=>{n(c),r(!0)},l=WX(()=>{r(!1)},[]);return qX(Nw.Provider,{value:{isOpen:e,setOpenModal:r,showLoading:s,dismissLoading:l,isProcessing:a,setProcessing:i},children:t})},b8=zX;import{createContext as UJ,useState as F8,useCallback as jJ}from"react";import{useRef as FJ}from"react";import GX from"@emotion/css/create-instance";var Ir="nuvo-tailwind";var w8="The development mode is activated. This mode is not allowed for commercial use, but only for pure testing purposes.";var KX=(...t)=>{let e=t.map(r=>`${r.trim()} `);return r=>{r.type==="rule"&&r.root?.type!=="@keyframes"&&(r.props=r.props.map(o=>e.map(n=>o.includes(n)?o:n+o)).reduce((o,n)=>o.concat(n),[]))}},YX=GX({key:"extra-scope",stylisPlugins:[KX(`.${Ir}`)],prepend:!0}),{css:m,cx:g}=YX;import{createContext as ZX}from"react";import Ct from"chroma-js";var yh=class{constructor({fontFamily:e,primaryTextColor:r,secondaryTextColor:o,backgroundColor:n,primaryColor:a,secondaryColor:i,borderRadius:s}){this.getFontFamily=()=>this.fontFamily;this.getSuccessColor=()=>({lighterColor:"#E3FCEF",darkerColor:"#36B37E"});this.getWarningColor=()=>{let r="#FF5630";return{lighterColor:"#FFEBE6",darkerColor:r}};this.getBorderRadius=()=>this.borderRadius;this.getPrimaryTextColor=()=>this.primaryTextColor??"";this.getSecondaryTextColor=()=>this.secondaryTextColor??"";this.getBackgroundColor=()=>this.backgroundColor??"#ffffff";this.getPrimaryColor=()=>this.primaryColor;this.getSecondaryColor=()=>this.secondaryColor;this.getCheckboxThemeColor=()=>this.checkboxThemeColor;this.getHoverDropdownCategory=()=>this.hoverDropdownCategory;this.getLegacyPrimaryColor=()=>this.legacyPrimaryColor;this.getNormal50Color=()=>this.normal50Color;this.getNormal500Color=()=>this.normal500Color;this.getLight40AlphaColor=()=>this.light40AlphaColor;this.getLight50Color=()=>this.light50Color;this.getLight100Color=()=>this.light100Color;this.getLight200Color=()=>this.light200Color;this.getLight400Color=()=>this.light400Color;this.getDark50Color=()=>this.dark50Color;this.getDark100Color=()=>this.dark100Color;this.getDark100AlphaColor=()=>this.dark100AlphaColor;this.getDark400Color=()=>this.dark400Color;this.getDark500Color=()=>this.dark500Color;this.getDark600Color=()=>this.dark600Color;this.getDark900Color=()=>this.dark900Color;this.setCheckboxThemeColor=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")+.4494,.84761,.20588).hex()};this.setHoverDropdownCategory=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-10,.09999,.96078).hex()};this.setLegacyPrimaryColor=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-17.1428,.61764,.13333).hex()};this.setNormal50Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-6.25,1,.96862).hex()};this.setNormal500Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-2.7807,.91219,.59803).hex()};this.setLight40AlphaColor=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")+5.68434,.81818,.97843).alpha(.5).hex()};this.setLight50Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")+.6843,.81818,.97843).hex()};this.setLight100Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-.6896,.87878,.93529).hex()};this.setLight200Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-.3571,.84848,.87058).hex()};this.setLight400Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")+.1652,.84615,.7196).hex()};this.setDark50Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-3.999,.45454,.95686).hex()};this.setDark100Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-2.7586,.44615,.87254).hex()};this.setDark100AlphaColor=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-2.7586,.44615,.87254).alpha(.5).hex()};this.setDark400Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-3.2941,.43589,.61764).hex()};this.setDark500Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-3.0769,.43697,.53333).hex()};this.setDark600Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-2.7999,.43478,.45098).hex()};this.setDark900Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-2.9411,.43589,.15294).hex()};this.fontFamily=e,this.primaryTextColor=r,this.secondaryTextColor=o,this.backgroundColor=n??"#ffffff",this.primaryColor=a??"#5C8EF2",this.secondaryColor=i??"#e0eafd",this.checkboxThemeColor=this.setCheckboxThemeColor(),this.hoverDropdownCategory=this.setHoverDropdownCategory(),this.legacyPrimaryColor=this.setLegacyPrimaryColor(),this.normal50Color=this.setNormal50Color(),this.normal500Color=this.setNormal500Color(),this.light40AlphaColor=this.setLight40AlphaColor(),this.light50Color=this.setLight50Color(),this.light100Color=this.setLight100Color(),this.light200Color=this.setLight200Color(),this.light400Color=this.setLight400Color(),this.dark50Color=this.setDark50Color(),this.dark100Color=this.setDark100Color(),this.dark100AlphaColor=this.setDark100AlphaColor(),this.dark400Color=this.setDark400Color(),this.dark500Color=this.setDark500Color(),this.dark600Color=this.setDark600Color(),this.dark900Color=this.setDark900Color(),this.borderRadius=s??"8px"}};import Tp from"chroma-js";var Lw=class{constructor(e,r,o){this.generate=()=>{if(this.themeAPI.buttons?.[this.buttonKey])return this.generateByButtonTheme();if(this.themeAPI.globals?.[this.globalKey])return this.generateByGlobalColor()};this.buttonKey=e,this.globalKey=r,this.themeAPI=o}},xa=Lw;import ji from"chroma-js";var $w=class extends xa{constructor(r){super("primary","primaryColor",r);this.generateByGlobalColor=()=>{let r=this.themeAPI.globals?.primaryColor,o=ji(r??""),n=ji.hsl(o.get("hsl.h")+.102,o.get("hsl.s")-9e-5,o.get("hsl.l")-.2039).hex();return{backgroundColor:r,color:this.getTextColor(r??""),":hover":{backgroundColor:n}}};this.generateByButtonTheme=()=>{let r={...this.themeAPI.buttons?.primary??{}};if(r.backgroundColor&&!r[":hover"]?.backgroundColor){let o=ji(r.backgroundColor),n=ji.hsl(o.get("hsl.h")+.10204,o.get("hsl.s")-9e-5,o.get("hsl.l")-.103).hex();r[":hover"]={backgroundColor:n}}return r};this.getTextColor=r=>{let o=ji("white"),n=ji("#162338"),a=ji.contrast(r,o),i=ji.contrast(r,n);return a>3.1||a>i?o.hex():n.hex()}}},Wi=$w;import lo from"chroma-js";var Fw=class extends xa{constructor(r){super("secondary","secondaryColor",r);this.generateByGlobalColor=()=>{let r=this.themeAPI.globals?.secondaryColor,o=lo(r??""),n=lo.hsl(lo(o).get("hsl.h")+.3325,lo(o).get("hsl.s")-.0303,lo(o).get("hsl.l")-.0647).hex();return{backgroundColor:r,borderColor:r,color:this.getTextColor(o),":hover":{backgroundColor:n,borderColor:n}}};this.generateByButtonTheme=()=>{let r={...this.themeAPI.buttons?.secondary??{}};if(r.backgroundColor&&!r[":hover"]?.backgroundColor){let o=lo(r.backgroundColor),n=lo.hsl(o.get("hsl.h")+.3325,o.get("hsl.s")-.0303,o.get("hsl.l")-.0647).hex();r[":hover"]={backgroundColor:n}}return r};this.getTextColor=r=>{let o=lo("white"),n=lo(r),a=lo.hsl(lo(n).get("hsl.h")+.6896,lo(n).get("hsl.s")-.0255,lo(n).get("hsl.l")-.3627),i=lo.contrast(r,a),s=lo.contrast(r,o);return i>s?a.hex():o.hex()}}},y8=Fw;import C8 from"chroma-js";var Vw=class extends xa{constructor(r){super("tertiary","tertiaryColor",r);this.generateByGlobalColor=()=>({});this.generateByButtonTheme=()=>({});this.generate=()=>{if(!this.themeAPI.buttons?.tertiary)return;let r={...this.themeAPI.buttons?.tertiary??{}};if(r.backgroundColor&&!r[":hover"]?.backgroundColor){let o=C8(r.backgroundColor),n=C8.hsl(o.get("hsl.h")+.10204,o.get("hsl.s")-9e-5,o.get("hsl.l")-.05).hex();r[":hover"]={backgroundColor:n}}return r}}},x8=Vw;import S8 from"chroma-js";var Hw=class extends xa{constructor(r){super("import","primaryColor",r);this.generateByGlobalColor=()=>new Wi(this.themeAPI).generateByGlobalColor();this.generateByButtonTheme=()=>{let r={...this.themeAPI.buttons?.import??{}};if(r.backgroundColor&&!r[":hover"]?.backgroundColor){let o=S8(r.backgroundColor),n=S8.hsl(o.get("hsl.h")+.10204,o.get("hsl.s")-9e-5,o.get("hsl.l")-.103).hex();r[":hover"]={backgroundColor:n}}return r}}},Bw=Hw;import _8 from"chroma-js";var Uw=class extends xa{constructor(r){super("select","primaryColor",r);this.generateByGlobalColor=()=>new Wi(this.themeAPI).generateByGlobalColor();this.generateByButtonTheme=()=>{let r={...this.themeAPI.buttons?.select??{}};if(r.backgroundColor&&!r[":hover"]?.backgroundColor){let o=_8(r.backgroundColor),n=_8.hsl(o.get("hsl.h")+.10204,o.get("hsl.s")-9e-5,o.get("hsl.l")-.103).hex();r[":hover"]={backgroundColor:n}}return r}}},I8=Uw;var jw=class{constructor(e){this.getRootTheme=()=>this.themeAPI.root??{};this.getGlobalTheme=()=>this.globalTheme;this.getPopoverInfo=()=>this.popoverInfoTheme;this.getButtonTheme=()=>this.buttonTheme;this.getDialogTheme=()=>{let e=this.themeAPI.dialog?.root??{},r=this.themeAPI.dialog?.overlay??{},o=this.themeAPI.dialog?.closeIcon??{},n=this.themeAPI.dialog?.scrollbar??{};return{root:e,overlay:r,closeIcon:o,scrollbar:n}};this.getDialogConfirmTheme=()=>{let e=this.themeAPI.messagePopup?.root??{},r=this.themeAPI.messagePopup?.overlay??{},o=this.themeAPI.messagePopup?.title??{},n=this.themeAPI.messagePopup?.description??{},a=this.themeAPI.messagePopup?.warnIcon??{},i=this.themeAPI.messagePopup?.closeIcon??{};return{root:e,overlay:r,title:o,description:n,icon:a,closeIcon:i}};this.getLoaderTheme=()=>({root:this.themeAPI.loader?.root??{},loadAnimationColor:this.themeAPI.loader?.loadAnimationColor??"",content:this.themeAPI.loader?.content??{}});this.getHeaderMatchTheme=()=>{let e=this.themeAPI.headerSelect?.root??{},r=this.themeAPI.headerSelect?.pageHeader??{},o=this.themeAPI.headerSelect?.content??{},n=this.themeAPI.headerSelect?.table?.th??{},a=this.themeAPI.headerSelect?.table?.td??{},i=this.themeAPI.headerSelect?.table?.selectRowColor??"",s=this.themeAPI.headerSelect?.table?.hoverRowColor??"",l=this.themeAPI.headerSelect?.fullScreen??{},c=this.themeAPI.headerSelect?.table?.scrollbar?.navigatorColor??"",u=this.themeAPI.headerSelect?.table?.scrollbar?.backgroundColor??"";return{root:e,pageHeader:r,content:o,sheetName:this.themeAPI.headerSelect?.sheetName??{},th:n,td:a,selectRowColor:i,hoverRowColor:s,fullScreen:l,scrollbarNavigatorColor:c,scrollbarBackgroundColor:u,sheetNameSelected:this.themeAPI.headerSelect?.sheetNameSelected??{},progressBar:this.themeAPI.headerSelect?.progressBar??{}}};this.getJoinSheetTheme=()=>this.themeAPI.joinSheet??{};this.getDropzoneTheme=()=>({root:this.themeAPI.dropzone?.root??{},icon:this.themeAPI.dropzone?.icon??{box:{}},content:this.themeAPI.dropzone?.content??{},container:this.themeAPI.dropzone?.container??{}});this.getProgressBarTheme=()=>this.progressBarTheme;this.getFooterTheme=()=>this.footerTheme;this.getHeaderTheme=()=>this.headerTheme;this.getColumnMatchTheme=()=>({root:this.themeAPI.columnMatch?.root??{},pageHeader:this.themeAPI.columnMatch?.pageHeader??{},icon:this.themeAPI.columnMatch?.icon??{},borderColor:this.themeAPI.columnMatch?.borderColor??{},matchingTitle:this.themeAPI.columnMatch?.matchingTitle??{},matchingPercent:this.themeAPI.columnMatch?.matchingPercent??{},columnMatchHeader:this.themeAPI.columnMatch?.columnMatchHeader??{},columnMatchValue:this.themeAPI.columnMatch?.columnMatchValue??{},notMatchingValue:this.themeAPI.columnMatch?.notMatchingValue??{},joinBadge:this.themeAPI.columnMatch?.joinBadge??{},dialogCreateCustomColumn:this.themeAPI.columnMatch?.dialogCreateCustomColumn??{},dialogCreateCustomOption:this.themeAPI.columnMatch?.dialogCreateCustomOption??{},columnPopover:this.themeAPI.columnMatch?.columnPopover??{},sheetInfo:this.themeAPI.columnMatch?.sheetInfo??{}});this.getRequiredColumnsTheme=()=>{let e=this.themeAPI.columnMatch?.requiredColumns??{};return{title:e.title,hasMatch:e.hasMatch,hasMatchIcon:e.hasMatchIcon,notMatch:e.notMatch,notMatchIcon:e.notMatchIcon,notMatchError:e.notMatchError,notMatchErrorIcon:e.notMatchErrorIcon,showMore:{root:e.showMore?.root,text:e.showMore?.text,icon:e.showMore?.icon,badge:e.showMore?.badge},errorPopover:e.errorPopover}};this.getReviewEntriesTheme=()=>this.reviewEntriesTheme;this.getSheetSelectTheme=()=>({root:this.themeAPI.sheetSelect?.root??{},pageHeader:this.themeAPI.sheetSelect?.pageHeader??{},header:this.themeAPI.sheetSelect?.header??{},sheetName:this.themeAPI.sheetSelect?.sheetName??{},grid:this.themeAPI.sheetSelect?.grid??{},list:this.themeAPI.sheetSelect?.list??{},icon:this.themeAPI.sheetSelect?.icon??{},pagination:this.themeAPI.sheetSelect?.pagination,scrollbar:this.themeAPI.sheetSelect?.scrollbar,unSelectSheetName:this.themeAPI.sheetSelect?.unSelectSheetName,sheetList:this.themeAPI.sheetSelect?.sheetLists,addButton:this.themeAPI.sheetSelect?.addFileButton,sheetPreview:this.themeAPI.sheetSelect?.sheetPreview??{}});this.getPopoverTheme=()=>this.popoverTheme;this.initReviewEntriesTheme=()=>{this.reviewEntriesTheme=this.themeAPI.reviewEntries??{}};this.initFooterTheme=()=>{this.footerTheme={root:this.themeAPI.footer?.root??{}}};this.initHeaderTheme=()=>{this.headerTheme={root:this.themeAPI.header?.root??{},title:this.themeAPI.header?.title??{},description:this.themeAPI.header?.description??{}}};this.initProgressBarTheme=()=>{this.progressBarTheme={root:this.themeAPI.progressBar?.root??{},icon:this.themeAPI.progressBar?.icon??{},current:this.themeAPI.progressBar?.current??{},complete:this.themeAPI.progressBar?.complete??{},incomplete:this.themeAPI.progressBar?.incomplete??{}}};this.initButtonTheme=()=>{let e=new Wi(this.themeAPI).generate(),r=new y8(this.themeAPI).generate(),o=new x8(this.themeAPI).generate(),n=this.themeAPI.buttons?.import?new Bw(this.themeAPI).generate():new Wi(this.themeAPI).generate(),a=this.themeAPI.buttons?.select?new I8(this.themeAPI).generate():this.themeAPI.buttons?.import?new Bw(this.themeAPI).generate():new Wi(this.themeAPI).generate(),i=this.themeAPI?.buttons?.findError,s=this.themeAPI?.buttons?.findReplace,l=this.themeAPI?.buttons?.exportExcel,c=this.themeAPI?.buttons?.cleanData,u=this.themeAPI.buttons?.exportErrorRows,d=this.themeAPI?.buttons?.transpose;this.buttonTheme={primary:e??void 0,secondary:o,tertiary:r??void 0,import:n??void 0,select:a??void 0,findError:i,findReplace:s,exportExcel:l,cleanData:c,exportErrorRows:u,transpose:d}};this.initPopoverInfoTheme=()=>{this.popoverInfoTheme=this.themeAPI.popoverInfo??{}};this.initPopoverTheme=()=>{this.popoverTheme={root:this.themeAPI.popover?.root??{},info:this.themeAPI.popover?.info??{},warning:this.themeAPI.popover?.warning??{},error:this.themeAPI.popover?.error??{}}};this.initGlobalTheme=()=>{let e=this.themeAPI.globals?.textColor,r=this.themeAPI.globals?.primaryTextColor,o=this.themeAPI.globals?.secondaryTextColor;this.globalTheme=new yh({fontFamily:this.themeAPI.globals?.fontFamily??"Inter",primaryTextColor:r||e||"#162338",secondaryTextColor:o||e||"#8D8D8D",backgroundColor:this.themeAPI.globals?.backgroundColor,primaryColor:this.themeAPI.globals?.primaryColor,secondaryColor:this.themeAPI.globals?.secondaryColor,borderRadius:this.themeAPI.globals?.borderRadius})};this.getSecondaryButton=()=>{if(this.themeAPI.buttons?.secondary)return this.themeAPI.buttons?.secondary;let e=this.themeAPI.globals?.secondaryColor;if(e){let r=Tp(e),o=Tp.hsl(Tp(r).get("hsl.h")+.3325,Tp(r).get("hsl.s")-.0303,Tp(r).get("hsl.l")-.0647).hex();return{backgroundColor:e,borderColor:e,":hover":{backgroundColor:o,borderColor:o}}}};this.getCleaningAssistantTheme=()=>({root:this.themeAPI.cleaningAssistant?.root??{},toggle:{root:this.themeAPI.buttons?.cleanData??this.themeAPI.cleaningAssistant?.toggle?.root??{},sparkleA:this.themeAPI.cleaningAssistant?.toggle?.sparkleA??{},sparkleB:this.themeAPI.cleaningAssistant?.toggle?.sparkleB??{},icon:this.themeAPI.buttons?.cleanData?.icon??this.themeAPI.cleaningAssistant?.toggle?.icon??{},badge:this.themeAPI.cleaningAssistant?.toggle?.badge??{}},suggestionList:{root:this.themeAPI.cleaningAssistant?.suggestionList?.root??{},header:this.themeAPI.cleaningAssistant?.suggestionList?.header??{},headerCheckbox:this.themeAPI.cleaningAssistant?.suggestionList?.headerCheckbox??{},headerCheckboxLabel:this.themeAPI.cleaningAssistant?.suggestionList?.headerCheckboxLabel??{}},suggestion:{root:this.themeAPI.cleaningAssistant?.suggestion?.root??{},newValue:this.themeAPI.cleaningAssistant?.suggestion?.newValue??{},oldValue:this.themeAPI.cleaningAssistant?.suggestion?.oldValue??{},oldValueEmpty:this.themeAPI.cleaningAssistant?.suggestion?.oldValueEmpty??{},checkbox:this.themeAPI.cleaningAssistant?.suggestion?.checkbox??{},details:this.themeAPI.cleaningAssistant?.suggestion?.details??{},actions:this.themeAPI.cleaningAssistant?.suggestion?.actions??{},findButton:this.themeAPI.cleaningAssistant?.suggestion?.findButton??{},dismissButton:this.themeAPI.cleaningAssistant?.suggestion?.dismissButton??{},applyButton:this.themeAPI.cleaningAssistant?.suggestion?.applyButton??{}},loadingState:{root:this.themeAPI.cleaningAssistant?.loadingState?.root??{},skeleton:this.themeAPI.cleaningAssistant?.loadingState?.skeleton??{}},emptyState:{root:this.themeAPI.cleaningAssistant?.emptyState?.root??{},icon:this.themeAPI.cleaningAssistant?.emptyState?.icon??{},title:this.themeAPI.cleaningAssistant?.emptyState?.title??{},text:this.themeAPI.cleaningAssistant?.emptyState?.text??{}},message:{root:this.themeAPI.cleaningAssistant?.message?.root??{},icon:this.themeAPI.cleaningAssistant?.message?.icon??{},text:this.themeAPI.cleaningAssistant?.message?.text??{}},dropdown:{root:this.themeAPI.cleaningAssistant?.dropdown?.root??{},messageContainer:this.themeAPI.cleaningAssistant?.dropdown?.messageContainer??{},header:this.themeAPI.cleaningAssistant?.dropdown?.header??{},headerBack:this.themeAPI.cleaningAssistant?.dropdown?.headerBack??{},headerText:this.themeAPI.cleaningAssistant?.dropdown?.headerText??{},headerTag:this.themeAPI.cleaningAssistant?.dropdown?.headerTag??{},headerActions:this.themeAPI.cleaningAssistant?.dropdown?.headerActions??{},headerActionRepeat:this.themeAPI.cleaningAssistant?.dropdown?.headerActionRepeat??{},headerActionRepeatSpinner:this.themeAPI.cleaningAssistant?.dropdown?.headerActionRepeatSpinner??{},headerActionRepeatSpinnerInner:this.themeAPI.cleaningAssistant?.dropdown?.headerActionRepeatSpinnerInner??{},headerActionClose:this.themeAPI.cleaningAssistant?.dropdown?.headerActionClose??{},body:this.themeAPI.cleaningAssistant?.dropdown?.body??{},footer:this.themeAPI.cleaningAssistant?.dropdown?.footer??{},footerSelected:this.themeAPI.cleaningAssistant?.dropdown?.footerSelected??{},footerActions:this.themeAPI.cleaningAssistant?.dropdown?.footerActions??{},footerDismiss:this.themeAPI.cleaningAssistant?.dropdown?.footerDismiss??{},footerApply:this.themeAPI.cleaningAssistant?.dropdown?.footerApply??{},footerApplySpinner:this.themeAPI.cleaningAssistant?.dropdown?.footerApplySpinner??{},footerApplySpinnerInner:this.themeAPI.cleaningAssistant?.dropdown?.footerApplySpinnerInner??{}},cleaningGroupList:{root:this.themeAPI.cleaningAssistant?.cleaningGroupList?.root??{}},cleaningGroup:{root:this.themeAPI.cleaningAssistant?.cleaningGroup?.root??{},name:this.themeAPI.cleaningAssistant?.cleaningGroup?.name??{},divider:this.themeAPI.cleaningAssistant?.cleaningGroup?.divider??{},count:this.themeAPI.cleaningAssistant?.cleaningGroup?.count??{},icon:this.themeAPI.cleaningAssistant?.cleaningGroup?.icon??{}}});this.getContextualEngineTheme=()=>({loading:{root:this.themeAPI.contextualEngine?.loading?.root??{},icon:this.themeAPI.contextualEngine?.loading?.icon??{}},prompt:{root:this.themeAPI.contextualEngine?.prompt?.root??{},icon:this.themeAPI.contextualEngine?.prompt?.icon??{},cancelButton:this.themeAPI.contextualEngine?.prompt?.cancelButton??{},confirmButton:this.themeAPI.contextualEngine?.prompt?.confirmButton??{}}});this.getAIPromptTheme=()=>({root:this.themeAPI.prompts?.root??{},button:this.themeAPI.prompts?.button??{},header:{root:this.themeAPI.prompts?.header?.root??{},title:this.themeAPI.prompts?.header?.title??{},description:this.themeAPI.prompts?.header?.description??{},descriptionIcon:this.themeAPI.prompts?.header?.descriptionIcon??{},closeIcon:this.themeAPI.prompts?.header?.closeIcon??{},locateIcon:this.themeAPI.prompts?.header?.locateIcon??{}},footer:{root:this.themeAPI.prompts?.footer?.root??{},button:this.themeAPI.prompts?.footer?.button??{}},prompt:{root:this.themeAPI.prompts?.prompt?.root??{},input:this.themeAPI.prompts?.prompt?.input??{},button:this.themeAPI.prompts?.prompt?.button??{},icon:this.themeAPI.prompts?.prompt?.icon??{},description:this.themeAPI.prompts?.prompt?.description??{},example:{root:this.themeAPI.prompts?.prompt?.example?.root??{},icon:this.themeAPI.prompts?.prompt?.example?.icon??{}}},function:{root:this.themeAPI.prompts?.function?.root??{},input:this.themeAPI.prompts?.function?.input??{},button:this.themeAPI.prompts?.function?.button??{},icon:this.themeAPI.prompts?.function?.icon??{},example:{root:this.themeAPI.prompts?.function?.example?.root??{},icon:this.themeAPI.prompts?.function?.example?.icon??{}}},table:{root:this.themeAPI.prompts?.table?.root??{},th:this.themeAPI.prompts?.table?.th??{},td:{root:this.themeAPI.prompts?.table?.td?.root??{},error:this.themeAPI.prompts?.table?.td?.error??{}},popover:this.themeAPI.prompts?.table?.popover??{}}});this.themeAPI=e,this.initGlobalTheme(),this.initReviewEntriesTheme(),this.initFooterTheme(),this.initHeaderTheme(),this.initProgressBarTheme(),this.initButtonTheme(),this.initPopoverInfoTheme(),this.initPopoverTheme()}},kp=jw;import{jsx as XX}from"react/jsx-runtime";var Ww=ZX(new kp({})),M8=({theme:t,children:e})=>XX(Ww.Provider,{value:t,children:e});import{useContext as JX}from"react";var B=()=>JX(Ww);import{jsx as QX}from"react/jsx-runtime";var E8=({className:t,children:e})=>{let r=B();return QX("div",{className:g("sm:max-w-505 my-8 inline-block w-full transform rounded-lg bg-white text-center align-middle shadow-xl transition-all sm:align-middle",t,m({"&&":{borderRadius:r.getGlobalTheme().getBorderRadius()}})),onClick:o=>o.stopPropagation(),children:e})};import{jsx as zw,jsxs as tJ}from"react/jsx-runtime";var eJ=({title:t,titleId:e,...r})=>tJ("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":e,...r,children:[t?zw("title",{id:e,children:t}):null,zw("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.663 3.77329C13.8902 2.9834 11.9096 2.78771 10.0166 3.21542C8.12351 3.64314 6.41942 4.67133 5.15845 6.14666C3.89749 7.62199 3.14721 9.4654 3.01951 11.402C2.89181 13.3386 3.39354 15.2645 4.44987 16.8927C5.50619 18.5208 7.06051 19.7638 8.88102 20.4364C10.7015 21.109 12.6907 21.1751 14.5518 20.6248C16.413 20.0745 18.0464 18.9374 19.2084 17.3829C20.3705 15.8285 20.9989 13.9401 21 11.9993V11.0799C21 10.5276 21.4477 10.0799 22 10.0799C22.5523 10.0799 23 10.5276 23 11.0799V11.9999C22.9986 14.3719 22.2306 16.6806 20.8103 18.5804C19.39 20.4803 17.3936 21.8702 15.1189 22.5427C12.8442 23.2153 10.413 23.1345 8.18792 22.3125C5.96285 21.4904 4.06312 19.9711 2.77206 17.9812C1.48099 15.9913 0.86777 13.6373 1.02384 11.2704C1.17992 8.90346 2.09693 6.6504 3.63811 4.84722C5.17929 3.04404 7.26206 1.78736 9.57581 1.2646C11.8896 0.741837 14.3103 0.981007 16.477 1.94644C16.9815 2.17122 17.2082 2.76239 16.9834 3.26687C16.7587 3.77134 16.1675 3.99807 15.663 3.77329Z",fill:"#34D399"}),zw("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.7068 3.29254C23.0975 3.68287 23.0978 4.31603 22.7075 4.70675L12.7075 14.7168C12.52 14.9044 12.2656 15.0099 12.0002 15.01C11.7349 15.0101 11.4805 14.9047 11.2929 14.7171L8.29289 11.7171C7.90237 11.3266 7.90237 10.6934 8.29289 10.3029C8.68342 9.91237 9.31658 9.91237 9.70711 10.3029L11.9996 12.5954L21.2925 3.29325C21.6829 2.90253 22.316 2.90221 22.7068 3.29254Z",fill:"#34D399"})]});var Ch=eJ;import{jsx as xh,jsxs as oJ}from"react/jsx-runtime";var rJ=({title:t,titleId:e,...r})=>oJ("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":e,...r,children:[t?xh("title",{id:e,children:t}):null,xh("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12Z",fill:"#F87171"}),xh("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 7C12.5523 7 13 7.44772 13 8V12C13 12.5523 12.5523 13 12 13C11.4477 13 11 12.5523 11 12V8C11 7.44772 11.4477 7 12 7Z",fill:"#F87171"}),xh("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 16C11 15.4477 11.4477 15 12 15H12.01C12.5623 15 13.01 15.4477 13.01 16C13.01 16.5523 12.5623 17 12.01 17H12C11.4477 17 11 16.5523 11 16Z",fill:"#F87171"})]});var Sh=rJ;import{jsx as Mt,jsxs as Vc}from"react/jsx-runtime";var nJ=({title:t,titleId:e,...r})=>Vc("svg",{width:505,height:240,viewBox:"0 0 505 240",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":e,...r,children:[t?Mt("title",{id:e,children:t}):null,Mt("rect",{width:505,height:240,fill:"#F5F8FE"}),Mt("circle",{cx:307.5,cy:102.5,r:96.5,fill:"url(#paint0_radial_5721_68376)",fillOpacity:.5}),Mt("path",{d:"M304.979 188.288H197.788V45.9473H265.827L265.984 46.0811L304.78 79.0557L304.979 79.2236V188.288Z",fill:"url(#paint1_linear_5721_68376)",stroke:"#E1E1E1",strokeWidth:1.12241}),Mt("rect",{x:216.309,y:87.6167,width:70.0471,height:15.0329,fill:"#F6F6F6"}),Mt("path",{d:"M286.739 132.106V87.7622H216.027V158.474",stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("line",{x1:240.303,y1:88.0407,x2:240.303,y2:151.594,stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("line",{x1:286.176,y1:103.056,x2:216.587,y2:103.056,stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("line",{x1:286.176,y1:103.056,x2:216.587,y2:103.056,stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("line",{x1:286.176,y1:116.498,x2:216.587,y2:116.498,stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("line",{x1:286.176,y1:132.021,x2:216.587,y2:132.021,stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("line",{x1:262.463,y1:147.543,x2:217.019,y2:147.543,stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("line",{x1:263.586,y1:88.0407,x2:263.586,y2:138.659,stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("path",{d:"M265.694 46.0874L304.418 79.1986H265.694V46.0874Z",fill:"#E1E1E1"}),Mt("rect",{x:195,y:130.941,width:115,height:58.0583,fill:"url(#paint2_linear_5721_68376)"}),Vc("g",{clipPath:"url(#clip0_5721_68376)",children:[Mt("path",{d:"M305.949 181.525L305.844 181.805L285.999 201.405L294.784 177.5L305.949 181.525Z",fill:"#5C8EF2"}),Mt("path",{d:"M305.949 181.525L305.844 181.805L285.999 201.405L294.784 177.5L305.949 181.525Z",fill:"black",fillOpacity:.2}),Mt("path",{d:"M334.489 119.071C333.722 118.025 332.309 117.696 331.157 118.298L252.407 159.423C251.494 159.902 250.944 160.868 251 161.897C251.06 162.926 251.714 163.826 252.677 164.197L279.802 174.697C280.11 174.816 280.432 174.875 280.75 174.875C281.433 174.875 282.105 174.609 282.605 174.105L334.23 122.48C335.147 121.567 335.259 120.114 334.489 119.071Z",fill:"#5C8EF2"}),Mt("path",{d:"M334.489 119.071C333.722 118.025 332.309 117.696 331.157 118.298L252.407 159.423C251.494 159.902 250.944 160.868 251 161.897C251.06 162.926 251.714 163.826 252.677 164.197L279.802 174.697C280.11 174.816 280.432 174.875 280.75 174.875C281.433 174.875 282.105 174.609 282.605 174.105L334.23 122.48C335.147 121.567 335.259 120.114 334.489 119.071Z",fill:"white",fillOpacity:.2}),Mt("path",{d:"M333.243 118.147C332.109 117.759 330.849 118.175 330.184 119.18L292.594 176.055C292.149 176.723 292.037 177.563 292.293 178.326C292.548 179.089 293.136 179.698 293.896 179.968L325.357 191.343C325.648 191.448 325.949 191.5 326.25 191.5C326.743 191.5 327.233 191.36 327.66 191.091C328.346 190.653 328.791 189.922 328.864 189.113L334.989 120.863C335.098 119.663 334.377 118.543 333.243 118.147Z",fill:"#5C8EF2"}),Mt("path",{d:"M333.243 118.147C332.109 117.759 330.849 118.175 330.184 119.18L292.594 176.055C292.149 176.723 292.037 177.563 292.293 178.326C292.548 179.089 293.136 179.698 293.896 179.968L325.357 191.343C325.648 191.448 325.949 191.5 326.25 191.5C326.743 191.5 327.233 191.36 327.66 191.091C328.346 190.653 328.791 189.922 328.864 189.113L334.989 120.863C335.098 119.663 334.377 118.543 333.243 118.147Z",fill:"white",fillOpacity:.2}),Mt("path",{d:"M332.376 120.625L293.893 179.968L286.001 201.405L279.001 174L332.376 120.625Z",fill:"#5C8EF2"})]}),Mt("circle",{cx:197.5,cy:168,r:22,fill:"#6EE7B7"}),Mt("circle",{cx:197.5,cy:168,r:25.1429,stroke:"#A7F3D0",strokeOpacity:.4,strokeWidth:6.28572}),Mt("path",{d:"M207.429 159.278C207.882 159.278 208.319 159.435 208.667 159.72L208.81 159.85L208.939 159.993C209.224 160.341 209.382 160.777 209.382 161.23C209.382 161.684 209.224 162.121 208.939 162.469L208.81 162.612L195.053 176.369C194.869 176.552 194.651 176.698 194.411 176.796C194.231 176.869 194.042 176.915 193.849 176.933L193.655 176.941C193.461 176.94 193.268 176.909 193.083 176.851L192.901 176.783C192.663 176.681 192.448 176.532 192.268 176.346H192.267L186.845 170.741L186.844 170.74C186.487 170.367 186.292 169.868 186.302 169.352L186.315 169.159C186.368 168.714 186.572 168.299 186.896 167.984L187.042 167.857C187.393 167.579 187.831 167.428 188.282 167.435L188.475 167.447C188.856 167.49 189.217 167.645 189.512 167.892L189.652 168.022L189.653 168.023L193.694 172.2L206.048 159.85L206.191 159.72C206.539 159.435 206.976 159.278 207.429 159.278Z",fill:"white",stroke:"white",strokeWidth:.52381}),Vc("defs",{children:[Vc("radialGradient",{id:"paint0_radial_5721_68376",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(307.5 119.929) rotate(90) scale(79.071)",children:[Mt("stop",{stopColor:"#689AFF",stopOpacity:.6}),Mt("stop",{offset:1,stopColor:"#689AFF",stopOpacity:0})]}),Vc("linearGradient",{id:"paint1_linear_5721_68376",x1:251.383,y1:46.5088,x2:251.383,y2:179.093,gradientUnits:"userSpaceOnUse",children:[Mt("stop",{stopColor:"white"}),Mt("stop",{offset:1,stopColor:"#FCFCFC"})]}),Vc("linearGradient",{id:"paint2_linear_5721_68376",x1:246.062,y1:130.941,x2:246.062,y2:189,gradientUnits:"userSpaceOnUse",children:[Mt("stop",{stopColor:"#F5F8FE",stopOpacity:0}),Mt("stop",{offset:1,stopColor:"#F5F8FE"})]}),Mt("clipPath",{id:"clip0_5721_68376",children:Mt("rect",{width:84,height:84,fill:"white",transform:"translate(251 118)"})})]})]});var T8=nJ;import VJ from"react-modal";import{useTranslation as HJ}from"react-i18next";import{isEmpty as aJ}from"lodash";var zi=t=>t&&typeof t=="string"?t.replace("#","%23"):t,vt=t=>!!(t?.background?.toString()?.match?.("url")||t?.backgroundImage),Qa=t=>{let e=Object.assign({},t);if(delete e.icon,!aJ(e))return t};import{omit as iJ}from"lodash";import{jsx as Rp,jsxs as k8}from"react/jsx-runtime";var Hc=({icon:t,title:e,value:r,className:o,theme:n})=>k8("div",{className:g("border-gray-120 flex items-center rounded-md border bg-gray-50 p-2",o,m({"&&":n?.root})),children:[Rp("div",{className:g("rounded-medium border-gray-120 flex h-12 w-12 items-center justify-center border bg-white",m({"&&":n?.iconBox})),children:vt(n?.icon)?Rp("svg",{className:g("h-6 w-6 bg-no-repeat",m`
|
|
1
|
+
import{a as Y7,b as Z7,c as X7,d as J7,e as Q7,f as e8,g as t8,h as r8,i as o8,j as n8}from"./chunk-OOKRCW2A.js";import{a as G7,b as K7}from"./chunk-MXQF4G2Q.js";import{a as wh,b as tl,c as Yn,d as c8,e as u8,f as d8,g as p8,h as m8,i as f8,j as h8,k as Dw}from"./chunk-YBKWOGX7.js";import{a as Ui,b as Fc,c as Ep}from"./chunk-GEB7CZLW.js";import{a as W7,b as z7,c as q7,d as Yr,e as a8}from"./chunk-YJM4L5IQ.js";import{a as Mp}from"./chunk-INNZ66AJ.js";import{a as et,b as Vi,c as Hi,d as Ja,f as wa,g as ya,h as $c,i as fn,j as Bi,k as bo,l as V7,m as Ca,n as H7,o as B7,p as U7,r as wo,s as so,t as hn,u as Ip,v as bh,w as j7,x as Rw,y as Ot}from"./chunk-JEZAW3BC.js";import{a as Ow,b as i8,c as s8,d as l8}from"./chunk-6KU4IPD7.js";import{a as mr}from"./chunk-J5WOZVPO.js";import"./chunk-EK7ODJWE.js";import{createContext as FX,useState as g8,useRef as VX,useCallback as HX}from"react";import{jsx as UX}from"react/jsx-runtime";var Pw=FX({}),BX=({children:t})=>{let[e,r]=g8(!1),[o,n]=g8(),a=VX(),i=l=>{l&&(a.current=l)},s=HX(()=>{o?.terminate()},[o]);return UX(Pw.Provider,{value:{isOpen:e,setOpenModal:r,convertFile2JsonRef:a,setConvertFile2Json:i,setWebWorker:n,terminateUploadWebWorker:s},children:t})},v8=BX;import{createContext as jX,useState as Aw,useCallback as WX}from"react";import{jsx as qX}from"react/jsx-runtime";var Nw=jX({}),zX=({children:t})=>{let[e,r]=Aw(!1),[o,n]=Aw(),[a,i]=Aw(!1),s=c=>{n(c),r(!0)},l=WX(()=>{r(!1)},[]);return qX(Nw.Provider,{value:{isOpen:e,setOpenModal:r,showLoading:s,dismissLoading:l,isProcessing:a,setProcessing:i},children:t})},b8=zX;import{createContext as UJ,useState as F8,useCallback as jJ}from"react";import{useRef as FJ}from"react";import GX from"@emotion/css/create-instance";var Ir="nuvo-tailwind";var w8="The development mode is activated. This mode is not allowed for commercial use, but only for pure testing purposes.";var KX=(...t)=>{let e=t.map(r=>`${r.trim()} `);return r=>{r.type==="rule"&&r.root?.type!=="@keyframes"&&(r.props=r.props.map(o=>e.map(n=>o.includes(n)?o:n+o)).reduce((o,n)=>o.concat(n),[]))}},YX=GX({key:"extra-scope",stylisPlugins:[KX(`.${Ir}`)],prepend:!0}),{css:m,cx:g}=YX;import{createContext as ZX}from"react";import Ct from"chroma-js";var yh=class{constructor({fontFamily:e,primaryTextColor:r,secondaryTextColor:o,backgroundColor:n,primaryColor:a,secondaryColor:i,borderRadius:s}){this.getFontFamily=()=>this.fontFamily;this.getSuccessColor=()=>({lighterColor:"#E3FCEF",darkerColor:"#36B37E"});this.getWarningColor=()=>{let r="#FF5630";return{lighterColor:"#FFEBE6",darkerColor:r}};this.getBorderRadius=()=>this.borderRadius;this.getPrimaryTextColor=()=>this.primaryTextColor??"";this.getSecondaryTextColor=()=>this.secondaryTextColor??"";this.getBackgroundColor=()=>this.backgroundColor??"#ffffff";this.getPrimaryColor=()=>this.primaryColor;this.getSecondaryColor=()=>this.secondaryColor;this.getCheckboxThemeColor=()=>this.checkboxThemeColor;this.getHoverDropdownCategory=()=>this.hoverDropdownCategory;this.getLegacyPrimaryColor=()=>this.legacyPrimaryColor;this.getNormal50Color=()=>this.normal50Color;this.getNormal500Color=()=>this.normal500Color;this.getLight40AlphaColor=()=>this.light40AlphaColor;this.getLight50Color=()=>this.light50Color;this.getLight100Color=()=>this.light100Color;this.getLight200Color=()=>this.light200Color;this.getLight400Color=()=>this.light400Color;this.getDark50Color=()=>this.dark50Color;this.getDark100Color=()=>this.dark100Color;this.getDark100AlphaColor=()=>this.dark100AlphaColor;this.getDark400Color=()=>this.dark400Color;this.getDark500Color=()=>this.dark500Color;this.getDark600Color=()=>this.dark600Color;this.getDark900Color=()=>this.dark900Color;this.setCheckboxThemeColor=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")+.4494,.84761,.20588).hex()};this.setHoverDropdownCategory=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-10,.09999,.96078).hex()};this.setLegacyPrimaryColor=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-17.1428,.61764,.13333).hex()};this.setNormal50Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-6.25,1,.96862).hex()};this.setNormal500Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-2.7807,.91219,.59803).hex()};this.setLight40AlphaColor=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")+5.68434,.81818,.97843).alpha(.5).hex()};this.setLight50Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")+.6843,.81818,.97843).hex()};this.setLight100Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-.6896,.87878,.93529).hex()};this.setLight200Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-.3571,.84848,.87058).hex()};this.setLight400Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")+.1652,.84615,.7196).hex()};this.setDark50Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-3.999,.45454,.95686).hex()};this.setDark100Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-2.7586,.44615,.87254).hex()};this.setDark100AlphaColor=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-2.7586,.44615,.87254).alpha(.5).hex()};this.setDark400Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-3.2941,.43589,.61764).hex()};this.setDark500Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-3.0769,.43697,.53333).hex()};this.setDark600Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-2.7999,.43478,.45098).hex()};this.setDark900Color=()=>{let e=Ct(this.primaryColor);return Ct.hsl(e.get("hsl.h")-2.9411,.43589,.15294).hex()};this.fontFamily=e,this.primaryTextColor=r,this.secondaryTextColor=o,this.backgroundColor=n??"#ffffff",this.primaryColor=a??"#5C8EF2",this.secondaryColor=i??"#e0eafd",this.checkboxThemeColor=this.setCheckboxThemeColor(),this.hoverDropdownCategory=this.setHoverDropdownCategory(),this.legacyPrimaryColor=this.setLegacyPrimaryColor(),this.normal50Color=this.setNormal50Color(),this.normal500Color=this.setNormal500Color(),this.light40AlphaColor=this.setLight40AlphaColor(),this.light50Color=this.setLight50Color(),this.light100Color=this.setLight100Color(),this.light200Color=this.setLight200Color(),this.light400Color=this.setLight400Color(),this.dark50Color=this.setDark50Color(),this.dark100Color=this.setDark100Color(),this.dark100AlphaColor=this.setDark100AlphaColor(),this.dark400Color=this.setDark400Color(),this.dark500Color=this.setDark500Color(),this.dark600Color=this.setDark600Color(),this.dark900Color=this.setDark900Color(),this.borderRadius=s??"8px"}};import Tp from"chroma-js";var Lw=class{constructor(e,r,o){this.generate=()=>{if(this.themeAPI.buttons?.[this.buttonKey])return this.generateByButtonTheme();if(this.themeAPI.globals?.[this.globalKey])return this.generateByGlobalColor()};this.buttonKey=e,this.globalKey=r,this.themeAPI=o}},xa=Lw;import ji from"chroma-js";var $w=class extends xa{constructor(r){super("primary","primaryColor",r);this.generateByGlobalColor=()=>{let r=this.themeAPI.globals?.primaryColor,o=ji(r??""),n=ji.hsl(o.get("hsl.h")+.102,o.get("hsl.s")-9e-5,o.get("hsl.l")-.2039).hex();return{backgroundColor:r,color:this.getTextColor(r??""),":hover":{backgroundColor:n}}};this.generateByButtonTheme=()=>{let r={...this.themeAPI.buttons?.primary??{}};if(r.backgroundColor&&!r[":hover"]?.backgroundColor){let o=ji(r.backgroundColor),n=ji.hsl(o.get("hsl.h")+.10204,o.get("hsl.s")-9e-5,o.get("hsl.l")-.103).hex();r[":hover"]={backgroundColor:n}}return r};this.getTextColor=r=>{let o=ji("white"),n=ji("#162338"),a=ji.contrast(r,o),i=ji.contrast(r,n);return a>3.1||a>i?o.hex():n.hex()}}},Wi=$w;import lo from"chroma-js";var Fw=class extends xa{constructor(r){super("secondary","secondaryColor",r);this.generateByGlobalColor=()=>{let r=this.themeAPI.globals?.secondaryColor,o=lo(r??""),n=lo.hsl(lo(o).get("hsl.h")+.3325,lo(o).get("hsl.s")-.0303,lo(o).get("hsl.l")-.0647).hex();return{backgroundColor:r,borderColor:r,color:this.getTextColor(o),":hover":{backgroundColor:n,borderColor:n}}};this.generateByButtonTheme=()=>{let r={...this.themeAPI.buttons?.secondary??{}};if(r.backgroundColor&&!r[":hover"]?.backgroundColor){let o=lo(r.backgroundColor),n=lo.hsl(o.get("hsl.h")+.3325,o.get("hsl.s")-.0303,o.get("hsl.l")-.0647).hex();r[":hover"]={backgroundColor:n}}return r};this.getTextColor=r=>{let o=lo("white"),n=lo(r),a=lo.hsl(lo(n).get("hsl.h")+.6896,lo(n).get("hsl.s")-.0255,lo(n).get("hsl.l")-.3627),i=lo.contrast(r,a),s=lo.contrast(r,o);return i>s?a.hex():o.hex()}}},y8=Fw;import C8 from"chroma-js";var Vw=class extends xa{constructor(r){super("tertiary","tertiaryColor",r);this.generateByGlobalColor=()=>({});this.generateByButtonTheme=()=>({});this.generate=()=>{if(!this.themeAPI.buttons?.tertiary)return;let r={...this.themeAPI.buttons?.tertiary??{}};if(r.backgroundColor&&!r[":hover"]?.backgroundColor){let o=C8(r.backgroundColor),n=C8.hsl(o.get("hsl.h")+.10204,o.get("hsl.s")-9e-5,o.get("hsl.l")-.05).hex();r[":hover"]={backgroundColor:n}}return r}}},x8=Vw;import S8 from"chroma-js";var Hw=class extends xa{constructor(r){super("import","primaryColor",r);this.generateByGlobalColor=()=>new Wi(this.themeAPI).generateByGlobalColor();this.generateByButtonTheme=()=>{let r={...this.themeAPI.buttons?.import??{}};if(r.backgroundColor&&!r[":hover"]?.backgroundColor){let o=S8(r.backgroundColor),n=S8.hsl(o.get("hsl.h")+.10204,o.get("hsl.s")-9e-5,o.get("hsl.l")-.103).hex();r[":hover"]={backgroundColor:n}}return r}}},Bw=Hw;import _8 from"chroma-js";var Uw=class extends xa{constructor(r){super("select","primaryColor",r);this.generateByGlobalColor=()=>new Wi(this.themeAPI).generateByGlobalColor();this.generateByButtonTheme=()=>{let r={...this.themeAPI.buttons?.select??{}};if(r.backgroundColor&&!r[":hover"]?.backgroundColor){let o=_8(r.backgroundColor),n=_8.hsl(o.get("hsl.h")+.10204,o.get("hsl.s")-9e-5,o.get("hsl.l")-.103).hex();r[":hover"]={backgroundColor:n}}return r}}},I8=Uw;var jw=class{constructor(e){this.getRootTheme=()=>this.themeAPI.root??{};this.getGlobalTheme=()=>this.globalTheme;this.getPopoverInfo=()=>this.popoverInfoTheme;this.getButtonTheme=()=>this.buttonTheme;this.getDialogTheme=()=>{let e=this.themeAPI.dialog?.root??{},r=this.themeAPI.dialog?.overlay??{},o=this.themeAPI.dialog?.closeIcon??{},n=this.themeAPI.dialog?.scrollbar??{};return{root:e,overlay:r,closeIcon:o,scrollbar:n}};this.getDialogConfirmTheme=()=>{let e=this.themeAPI.messagePopup?.root??{},r=this.themeAPI.messagePopup?.overlay??{},o=this.themeAPI.messagePopup?.title??{},n=this.themeAPI.messagePopup?.description??{},a=this.themeAPI.messagePopup?.warnIcon??{},i=this.themeAPI.messagePopup?.closeIcon??{};return{root:e,overlay:r,title:o,description:n,icon:a,closeIcon:i}};this.getLoaderTheme=()=>({root:this.themeAPI.loader?.root??{},loadAnimationColor:this.themeAPI.loader?.loadAnimationColor??"",content:this.themeAPI.loader?.content??{}});this.getHeaderMatchTheme=()=>{let e=this.themeAPI.headerSelect?.root??{},r=this.themeAPI.headerSelect?.pageHeader??{},o=this.themeAPI.headerSelect?.content??{},n=this.themeAPI.headerSelect?.table?.th??{},a=this.themeAPI.headerSelect?.table?.td??{},i=this.themeAPI.headerSelect?.table?.selectRowColor??"",s=this.themeAPI.headerSelect?.table?.hoverRowColor??"",l=this.themeAPI.headerSelect?.fullScreen??{},c=this.themeAPI.headerSelect?.table?.scrollbar?.navigatorColor??"",u=this.themeAPI.headerSelect?.table?.scrollbar?.backgroundColor??"";return{root:e,pageHeader:r,content:o,sheetName:this.themeAPI.headerSelect?.sheetName??{},th:n,td:a,selectRowColor:i,hoverRowColor:s,fullScreen:l,scrollbarNavigatorColor:c,scrollbarBackgroundColor:u,sheetNameSelected:this.themeAPI.headerSelect?.sheetNameSelected??{},progressBar:this.themeAPI.headerSelect?.progressBar??{}}};this.getJoinSheetTheme=()=>this.themeAPI.joinSheet??{};this.getDropzoneTheme=()=>({root:this.themeAPI.dropzone?.root??{},icon:this.themeAPI.dropzone?.icon??{box:{}},content:this.themeAPI.dropzone?.content??{},container:this.themeAPI.dropzone?.container??{}});this.getProgressBarTheme=()=>this.progressBarTheme;this.getFooterTheme=()=>this.footerTheme;this.getHeaderTheme=()=>this.headerTheme;this.getColumnMatchTheme=()=>({root:this.themeAPI.columnMatch?.root??{},pageHeader:this.themeAPI.columnMatch?.pageHeader??{},icon:this.themeAPI.columnMatch?.icon??{},borderColor:this.themeAPI.columnMatch?.borderColor??{},matchingTitle:this.themeAPI.columnMatch?.matchingTitle??{},matchingPercent:this.themeAPI.columnMatch?.matchingPercent??{},columnMatchHeader:this.themeAPI.columnMatch?.columnMatchHeader??{},columnMatchValue:this.themeAPI.columnMatch?.columnMatchValue??{},notMatchingValue:this.themeAPI.columnMatch?.notMatchingValue??{},joinBadge:this.themeAPI.columnMatch?.joinBadge??{},dialogCreateCustomColumn:this.themeAPI.columnMatch?.dialogCreateCustomColumn??{},dialogCreateCustomOption:this.themeAPI.columnMatch?.dialogCreateCustomOption??{},columnPopover:this.themeAPI.columnMatch?.columnPopover??{},sheetInfo:this.themeAPI.columnMatch?.sheetInfo??{}});this.getRequiredColumnsTheme=()=>{let e=this.themeAPI.columnMatch?.requiredColumns??{};return{title:e.title,hasMatch:e.hasMatch,hasMatchIcon:e.hasMatchIcon,notMatch:e.notMatch,notMatchIcon:e.notMatchIcon,notMatchError:e.notMatchError,notMatchErrorIcon:e.notMatchErrorIcon,showMore:{root:e.showMore?.root,text:e.showMore?.text,icon:e.showMore?.icon,badge:e.showMore?.badge},errorPopover:e.errorPopover}};this.getReviewEntriesTheme=()=>this.reviewEntriesTheme;this.getSheetSelectTheme=()=>({root:this.themeAPI.sheetSelect?.root??{},pageHeader:this.themeAPI.sheetSelect?.pageHeader??{},header:this.themeAPI.sheetSelect?.header??{},sheetName:this.themeAPI.sheetSelect?.sheetName??{},grid:this.themeAPI.sheetSelect?.grid??{},list:this.themeAPI.sheetSelect?.list??{},icon:this.themeAPI.sheetSelect?.icon??{},pagination:this.themeAPI.sheetSelect?.pagination,scrollbar:this.themeAPI.sheetSelect?.scrollbar,unSelectSheetName:this.themeAPI.sheetSelect?.unSelectSheetName,sheetList:this.themeAPI.sheetSelect?.sheetLists,addButton:this.themeAPI.sheetSelect?.addFileButton,sheetPreview:this.themeAPI.sheetSelect?.sheetPreview??{}});this.getPopoverTheme=()=>this.popoverTheme;this.initReviewEntriesTheme=()=>{this.reviewEntriesTheme=this.themeAPI.reviewEntries??{}};this.initFooterTheme=()=>{this.footerTheme={root:this.themeAPI.footer?.root??{}}};this.initHeaderTheme=()=>{this.headerTheme={root:this.themeAPI.header?.root??{},title:this.themeAPI.header?.title??{},description:this.themeAPI.header?.description??{}}};this.initProgressBarTheme=()=>{this.progressBarTheme={root:this.themeAPI.progressBar?.root??{},icon:this.themeAPI.progressBar?.icon??{},current:this.themeAPI.progressBar?.current??{},complete:this.themeAPI.progressBar?.complete??{},incomplete:this.themeAPI.progressBar?.incomplete??{}}};this.initButtonTheme=()=>{let e=new Wi(this.themeAPI).generate(),r=new y8(this.themeAPI).generate(),o=new x8(this.themeAPI).generate(),n=this.themeAPI.buttons?.import?new Bw(this.themeAPI).generate():new Wi(this.themeAPI).generate(),a=this.themeAPI.buttons?.select?new I8(this.themeAPI).generate():this.themeAPI.buttons?.import?new Bw(this.themeAPI).generate():new Wi(this.themeAPI).generate(),i=this.themeAPI?.buttons?.findError,s=this.themeAPI?.buttons?.findReplace,l=this.themeAPI?.buttons?.exportExcel,c=this.themeAPI?.buttons?.cleanData,u=this.themeAPI.buttons?.exportErrorRows,d=this.themeAPI?.buttons?.transpose;this.buttonTheme={primary:e??void 0,secondary:o,tertiary:r??void 0,import:n??void 0,select:a??void 0,findError:i,findReplace:s,exportExcel:l,cleanData:c,exportErrorRows:u,transpose:d}};this.initPopoverInfoTheme=()=>{this.popoverInfoTheme=this.themeAPI.popoverInfo??{}};this.initPopoverTheme=()=>{this.popoverTheme={root:this.themeAPI.popover?.root??{},info:this.themeAPI.popover?.info??{},warning:this.themeAPI.popover?.warning??{},error:this.themeAPI.popover?.error??{}}};this.initGlobalTheme=()=>{let e=this.themeAPI.globals?.textColor,r=this.themeAPI.globals?.primaryTextColor,o=this.themeAPI.globals?.secondaryTextColor;this.globalTheme=new yh({fontFamily:this.themeAPI.globals?.fontFamily??"Inter, sans-serif",primaryTextColor:r||e||"#162338",secondaryTextColor:o||e||"#8D8D8D",backgroundColor:this.themeAPI.globals?.backgroundColor,primaryColor:this.themeAPI.globals?.primaryColor,secondaryColor:this.themeAPI.globals?.secondaryColor,borderRadius:this.themeAPI.globals?.borderRadius})};this.getSecondaryButton=()=>{if(this.themeAPI.buttons?.secondary)return this.themeAPI.buttons?.secondary;let e=this.themeAPI.globals?.secondaryColor;if(e){let r=Tp(e),o=Tp.hsl(Tp(r).get("hsl.h")+.3325,Tp(r).get("hsl.s")-.0303,Tp(r).get("hsl.l")-.0647).hex();return{backgroundColor:e,borderColor:e,":hover":{backgroundColor:o,borderColor:o}}}};this.getCleaningAssistantTheme=()=>({root:this.themeAPI.cleaningAssistant?.root??{},toggle:{root:this.themeAPI.buttons?.cleanData??this.themeAPI.cleaningAssistant?.toggle?.root??{},sparkleA:this.themeAPI.cleaningAssistant?.toggle?.sparkleA??{},sparkleB:this.themeAPI.cleaningAssistant?.toggle?.sparkleB??{},icon:this.themeAPI.buttons?.cleanData?.icon??this.themeAPI.cleaningAssistant?.toggle?.icon??{},badge:this.themeAPI.cleaningAssistant?.toggle?.badge??{}},suggestionList:{root:this.themeAPI.cleaningAssistant?.suggestionList?.root??{},header:this.themeAPI.cleaningAssistant?.suggestionList?.header??{},headerCheckbox:this.themeAPI.cleaningAssistant?.suggestionList?.headerCheckbox??{},headerCheckboxLabel:this.themeAPI.cleaningAssistant?.suggestionList?.headerCheckboxLabel??{}},suggestion:{root:this.themeAPI.cleaningAssistant?.suggestion?.root??{},newValue:this.themeAPI.cleaningAssistant?.suggestion?.newValue??{},oldValue:this.themeAPI.cleaningAssistant?.suggestion?.oldValue??{},oldValueEmpty:this.themeAPI.cleaningAssistant?.suggestion?.oldValueEmpty??{},checkbox:this.themeAPI.cleaningAssistant?.suggestion?.checkbox??{},details:this.themeAPI.cleaningAssistant?.suggestion?.details??{},actions:this.themeAPI.cleaningAssistant?.suggestion?.actions??{},findButton:this.themeAPI.cleaningAssistant?.suggestion?.findButton??{},dismissButton:this.themeAPI.cleaningAssistant?.suggestion?.dismissButton??{},applyButton:this.themeAPI.cleaningAssistant?.suggestion?.applyButton??{}},loadingState:{root:this.themeAPI.cleaningAssistant?.loadingState?.root??{},skeleton:this.themeAPI.cleaningAssistant?.loadingState?.skeleton??{}},emptyState:{root:this.themeAPI.cleaningAssistant?.emptyState?.root??{},icon:this.themeAPI.cleaningAssistant?.emptyState?.icon??{},title:this.themeAPI.cleaningAssistant?.emptyState?.title??{},text:this.themeAPI.cleaningAssistant?.emptyState?.text??{}},message:{root:this.themeAPI.cleaningAssistant?.message?.root??{},icon:this.themeAPI.cleaningAssistant?.message?.icon??{},text:this.themeAPI.cleaningAssistant?.message?.text??{}},dropdown:{root:this.themeAPI.cleaningAssistant?.dropdown?.root??{},messageContainer:this.themeAPI.cleaningAssistant?.dropdown?.messageContainer??{},header:this.themeAPI.cleaningAssistant?.dropdown?.header??{},headerBack:this.themeAPI.cleaningAssistant?.dropdown?.headerBack??{},headerText:this.themeAPI.cleaningAssistant?.dropdown?.headerText??{},headerTag:this.themeAPI.cleaningAssistant?.dropdown?.headerTag??{},headerActions:this.themeAPI.cleaningAssistant?.dropdown?.headerActions??{},headerActionRepeat:this.themeAPI.cleaningAssistant?.dropdown?.headerActionRepeat??{},headerActionRepeatSpinner:this.themeAPI.cleaningAssistant?.dropdown?.headerActionRepeatSpinner??{},headerActionRepeatSpinnerInner:this.themeAPI.cleaningAssistant?.dropdown?.headerActionRepeatSpinnerInner??{},headerActionClose:this.themeAPI.cleaningAssistant?.dropdown?.headerActionClose??{},body:this.themeAPI.cleaningAssistant?.dropdown?.body??{},footer:this.themeAPI.cleaningAssistant?.dropdown?.footer??{},footerSelected:this.themeAPI.cleaningAssistant?.dropdown?.footerSelected??{},footerActions:this.themeAPI.cleaningAssistant?.dropdown?.footerActions??{},footerDismiss:this.themeAPI.cleaningAssistant?.dropdown?.footerDismiss??{},footerApply:this.themeAPI.cleaningAssistant?.dropdown?.footerApply??{},footerApplySpinner:this.themeAPI.cleaningAssistant?.dropdown?.footerApplySpinner??{},footerApplySpinnerInner:this.themeAPI.cleaningAssistant?.dropdown?.footerApplySpinnerInner??{}},cleaningGroupList:{root:this.themeAPI.cleaningAssistant?.cleaningGroupList?.root??{}},cleaningGroup:{root:this.themeAPI.cleaningAssistant?.cleaningGroup?.root??{},name:this.themeAPI.cleaningAssistant?.cleaningGroup?.name??{},divider:this.themeAPI.cleaningAssistant?.cleaningGroup?.divider??{},count:this.themeAPI.cleaningAssistant?.cleaningGroup?.count??{},icon:this.themeAPI.cleaningAssistant?.cleaningGroup?.icon??{}}});this.getContextualEngineTheme=()=>({loading:{root:this.themeAPI.contextualEngine?.loading?.root??{},icon:this.themeAPI.contextualEngine?.loading?.icon??{}},prompt:{root:this.themeAPI.contextualEngine?.prompt?.root??{},icon:this.themeAPI.contextualEngine?.prompt?.icon??{},cancelButton:this.themeAPI.contextualEngine?.prompt?.cancelButton??{},confirmButton:this.themeAPI.contextualEngine?.prompt?.confirmButton??{}}});this.getAIPromptTheme=()=>({root:this.themeAPI.prompts?.root??{},button:this.themeAPI.prompts?.button??{},header:{root:this.themeAPI.prompts?.header?.root??{},title:this.themeAPI.prompts?.header?.title??{},description:this.themeAPI.prompts?.header?.description??{},descriptionIcon:this.themeAPI.prompts?.header?.descriptionIcon??{},closeIcon:this.themeAPI.prompts?.header?.closeIcon??{},locateIcon:this.themeAPI.prompts?.header?.locateIcon??{}},footer:{root:this.themeAPI.prompts?.footer?.root??{},button:this.themeAPI.prompts?.footer?.button??{}},prompt:{root:this.themeAPI.prompts?.prompt?.root??{},input:this.themeAPI.prompts?.prompt?.input??{},button:this.themeAPI.prompts?.prompt?.button??{},icon:this.themeAPI.prompts?.prompt?.icon??{},description:this.themeAPI.prompts?.prompt?.description??{},example:{root:this.themeAPI.prompts?.prompt?.example?.root??{},icon:this.themeAPI.prompts?.prompt?.example?.icon??{}}},function:{root:this.themeAPI.prompts?.function?.root??{},input:this.themeAPI.prompts?.function?.input??{},button:this.themeAPI.prompts?.function?.button??{},icon:this.themeAPI.prompts?.function?.icon??{},example:{root:this.themeAPI.prompts?.function?.example?.root??{},icon:this.themeAPI.prompts?.function?.example?.icon??{}}},table:{root:this.themeAPI.prompts?.table?.root??{},th:this.themeAPI.prompts?.table?.th??{},td:{root:this.themeAPI.prompts?.table?.td?.root??{},error:this.themeAPI.prompts?.table?.td?.error??{}},popover:this.themeAPI.prompts?.table?.popover??{}}});this.themeAPI=e,this.initGlobalTheme(),this.initReviewEntriesTheme(),this.initFooterTheme(),this.initHeaderTheme(),this.initProgressBarTheme(),this.initButtonTheme(),this.initPopoverInfoTheme(),this.initPopoverTheme()}},kp=jw;import{jsx as XX}from"react/jsx-runtime";var Ww=ZX(new kp({})),M8=({theme:t,children:e})=>XX(Ww.Provider,{value:t,children:e});import{useContext as JX}from"react";var B=()=>JX(Ww);import{jsx as QX}from"react/jsx-runtime";var E8=({className:t,children:e})=>{let r=B();return QX("div",{className:g("sm:max-w-505 my-8 inline-block w-full transform rounded-lg bg-white text-center align-middle shadow-xl transition-all sm:align-middle",t,m({"&&":{borderRadius:r.getGlobalTheme().getBorderRadius()}})),onClick:o=>o.stopPropagation(),children:e})};import{jsx as zw,jsxs as tJ}from"react/jsx-runtime";var eJ=({title:t,titleId:e,...r})=>tJ("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":e,...r,children:[t?zw("title",{id:e,children:t}):null,zw("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.663 3.77329C13.8902 2.9834 11.9096 2.78771 10.0166 3.21542C8.12351 3.64314 6.41942 4.67133 5.15845 6.14666C3.89749 7.62199 3.14721 9.4654 3.01951 11.402C2.89181 13.3386 3.39354 15.2645 4.44987 16.8927C5.50619 18.5208 7.06051 19.7638 8.88102 20.4364C10.7015 21.109 12.6907 21.1751 14.5518 20.6248C16.413 20.0745 18.0464 18.9374 19.2084 17.3829C20.3705 15.8285 20.9989 13.9401 21 11.9993V11.0799C21 10.5276 21.4477 10.0799 22 10.0799C22.5523 10.0799 23 10.5276 23 11.0799V11.9999C22.9986 14.3719 22.2306 16.6806 20.8103 18.5804C19.39 20.4803 17.3936 21.8702 15.1189 22.5427C12.8442 23.2153 10.413 23.1345 8.18792 22.3125C5.96285 21.4904 4.06312 19.9711 2.77206 17.9812C1.48099 15.9913 0.86777 13.6373 1.02384 11.2704C1.17992 8.90346 2.09693 6.6504 3.63811 4.84722C5.17929 3.04404 7.26206 1.78736 9.57581 1.2646C11.8896 0.741837 14.3103 0.981007 16.477 1.94644C16.9815 2.17122 17.2082 2.76239 16.9834 3.26687C16.7587 3.77134 16.1675 3.99807 15.663 3.77329Z",fill:"#34D399"}),zw("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.7068 3.29254C23.0975 3.68287 23.0978 4.31603 22.7075 4.70675L12.7075 14.7168C12.52 14.9044 12.2656 15.0099 12.0002 15.01C11.7349 15.0101 11.4805 14.9047 11.2929 14.7171L8.29289 11.7171C7.90237 11.3266 7.90237 10.6934 8.29289 10.3029C8.68342 9.91237 9.31658 9.91237 9.70711 10.3029L11.9996 12.5954L21.2925 3.29325C21.6829 2.90253 22.316 2.90221 22.7068 3.29254Z",fill:"#34D399"})]});var Ch=eJ;import{jsx as xh,jsxs as oJ}from"react/jsx-runtime";var rJ=({title:t,titleId:e,...r})=>oJ("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":e,...r,children:[t?xh("title",{id:e,children:t}):null,xh("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12Z",fill:"#F87171"}),xh("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 7C12.5523 7 13 7.44772 13 8V12C13 12.5523 12.5523 13 12 13C11.4477 13 11 12.5523 11 12V8C11 7.44772 11.4477 7 12 7Z",fill:"#F87171"}),xh("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 16C11 15.4477 11.4477 15 12 15H12.01C12.5623 15 13.01 15.4477 13.01 16C13.01 16.5523 12.5623 17 12.01 17H12C11.4477 17 11 16.5523 11 16Z",fill:"#F87171"})]});var Sh=rJ;import{jsx as Mt,jsxs as Vc}from"react/jsx-runtime";var nJ=({title:t,titleId:e,...r})=>Vc("svg",{width:505,height:240,viewBox:"0 0 505 240",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":e,...r,children:[t?Mt("title",{id:e,children:t}):null,Mt("rect",{width:505,height:240,fill:"#F5F8FE"}),Mt("circle",{cx:307.5,cy:102.5,r:96.5,fill:"url(#paint0_radial_5721_68376)",fillOpacity:.5}),Mt("path",{d:"M304.979 188.288H197.788V45.9473H265.827L265.984 46.0811L304.78 79.0557L304.979 79.2236V188.288Z",fill:"url(#paint1_linear_5721_68376)",stroke:"#E1E1E1",strokeWidth:1.12241}),Mt("rect",{x:216.309,y:87.6167,width:70.0471,height:15.0329,fill:"#F6F6F6"}),Mt("path",{d:"M286.739 132.106V87.7622H216.027V158.474",stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("line",{x1:240.303,y1:88.0407,x2:240.303,y2:151.594,stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("line",{x1:286.176,y1:103.056,x2:216.587,y2:103.056,stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("line",{x1:286.176,y1:103.056,x2:216.587,y2:103.056,stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("line",{x1:286.176,y1:116.498,x2:216.587,y2:116.498,stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("line",{x1:286.176,y1:132.021,x2:216.587,y2:132.021,stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("line",{x1:262.463,y1:147.543,x2:217.019,y2:147.543,stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("line",{x1:263.586,y1:88.0407,x2:263.586,y2:138.659,stroke:"#E1E1E1",strokeWidth:1.12241,strokeLinecap:"round"}),Mt("path",{d:"M265.694 46.0874L304.418 79.1986H265.694V46.0874Z",fill:"#E1E1E1"}),Mt("rect",{x:195,y:130.941,width:115,height:58.0583,fill:"url(#paint2_linear_5721_68376)"}),Vc("g",{clipPath:"url(#clip0_5721_68376)",children:[Mt("path",{d:"M305.949 181.525L305.844 181.805L285.999 201.405L294.784 177.5L305.949 181.525Z",fill:"#5C8EF2"}),Mt("path",{d:"M305.949 181.525L305.844 181.805L285.999 201.405L294.784 177.5L305.949 181.525Z",fill:"black",fillOpacity:.2}),Mt("path",{d:"M334.489 119.071C333.722 118.025 332.309 117.696 331.157 118.298L252.407 159.423C251.494 159.902 250.944 160.868 251 161.897C251.06 162.926 251.714 163.826 252.677 164.197L279.802 174.697C280.11 174.816 280.432 174.875 280.75 174.875C281.433 174.875 282.105 174.609 282.605 174.105L334.23 122.48C335.147 121.567 335.259 120.114 334.489 119.071Z",fill:"#5C8EF2"}),Mt("path",{d:"M334.489 119.071C333.722 118.025 332.309 117.696 331.157 118.298L252.407 159.423C251.494 159.902 250.944 160.868 251 161.897C251.06 162.926 251.714 163.826 252.677 164.197L279.802 174.697C280.11 174.816 280.432 174.875 280.75 174.875C281.433 174.875 282.105 174.609 282.605 174.105L334.23 122.48C335.147 121.567 335.259 120.114 334.489 119.071Z",fill:"white",fillOpacity:.2}),Mt("path",{d:"M333.243 118.147C332.109 117.759 330.849 118.175 330.184 119.18L292.594 176.055C292.149 176.723 292.037 177.563 292.293 178.326C292.548 179.089 293.136 179.698 293.896 179.968L325.357 191.343C325.648 191.448 325.949 191.5 326.25 191.5C326.743 191.5 327.233 191.36 327.66 191.091C328.346 190.653 328.791 189.922 328.864 189.113L334.989 120.863C335.098 119.663 334.377 118.543 333.243 118.147Z",fill:"#5C8EF2"}),Mt("path",{d:"M333.243 118.147C332.109 117.759 330.849 118.175 330.184 119.18L292.594 176.055C292.149 176.723 292.037 177.563 292.293 178.326C292.548 179.089 293.136 179.698 293.896 179.968L325.357 191.343C325.648 191.448 325.949 191.5 326.25 191.5C326.743 191.5 327.233 191.36 327.66 191.091C328.346 190.653 328.791 189.922 328.864 189.113L334.989 120.863C335.098 119.663 334.377 118.543 333.243 118.147Z",fill:"white",fillOpacity:.2}),Mt("path",{d:"M332.376 120.625L293.893 179.968L286.001 201.405L279.001 174L332.376 120.625Z",fill:"#5C8EF2"})]}),Mt("circle",{cx:197.5,cy:168,r:22,fill:"#6EE7B7"}),Mt("circle",{cx:197.5,cy:168,r:25.1429,stroke:"#A7F3D0",strokeOpacity:.4,strokeWidth:6.28572}),Mt("path",{d:"M207.429 159.278C207.882 159.278 208.319 159.435 208.667 159.72L208.81 159.85L208.939 159.993C209.224 160.341 209.382 160.777 209.382 161.23C209.382 161.684 209.224 162.121 208.939 162.469L208.81 162.612L195.053 176.369C194.869 176.552 194.651 176.698 194.411 176.796C194.231 176.869 194.042 176.915 193.849 176.933L193.655 176.941C193.461 176.94 193.268 176.909 193.083 176.851L192.901 176.783C192.663 176.681 192.448 176.532 192.268 176.346H192.267L186.845 170.741L186.844 170.74C186.487 170.367 186.292 169.868 186.302 169.352L186.315 169.159C186.368 168.714 186.572 168.299 186.896 167.984L187.042 167.857C187.393 167.579 187.831 167.428 188.282 167.435L188.475 167.447C188.856 167.49 189.217 167.645 189.512 167.892L189.652 168.022L189.653 168.023L193.694 172.2L206.048 159.85L206.191 159.72C206.539 159.435 206.976 159.278 207.429 159.278Z",fill:"white",stroke:"white",strokeWidth:.52381}),Vc("defs",{children:[Vc("radialGradient",{id:"paint0_radial_5721_68376",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(307.5 119.929) rotate(90) scale(79.071)",children:[Mt("stop",{stopColor:"#689AFF",stopOpacity:.6}),Mt("stop",{offset:1,stopColor:"#689AFF",stopOpacity:0})]}),Vc("linearGradient",{id:"paint1_linear_5721_68376",x1:251.383,y1:46.5088,x2:251.383,y2:179.093,gradientUnits:"userSpaceOnUse",children:[Mt("stop",{stopColor:"white"}),Mt("stop",{offset:1,stopColor:"#FCFCFC"})]}),Vc("linearGradient",{id:"paint2_linear_5721_68376",x1:246.062,y1:130.941,x2:246.062,y2:189,gradientUnits:"userSpaceOnUse",children:[Mt("stop",{stopColor:"#F5F8FE",stopOpacity:0}),Mt("stop",{offset:1,stopColor:"#F5F8FE"})]}),Mt("clipPath",{id:"clip0_5721_68376",children:Mt("rect",{width:84,height:84,fill:"white",transform:"translate(251 118)"})})]})]});var T8=nJ;import VJ from"react-modal";import{useTranslation as HJ}from"react-i18next";import{isEmpty as aJ}from"lodash";var zi=t=>t&&typeof t=="string"?t.replace("#","%23"):t,vt=t=>!!(t?.background?.toString()?.match?.("url")||t?.backgroundImage),Qa=t=>{let e=Object.assign({},t);if(delete e.icon,!aJ(e))return t};import{omit as iJ}from"lodash";import{jsx as Rp,jsxs as k8}from"react/jsx-runtime";var Hc=({icon:t,title:e,value:r,className:o,theme:n})=>k8("div",{className:g("border-gray-120 flex items-center rounded-md border bg-gray-50 p-2",o,m({"&&":n?.root})),children:[Rp("div",{className:g("rounded-medium border-gray-120 flex h-12 w-12 items-center justify-center border bg-white",m({"&&":n?.iconBox})),children:vt(n?.icon)?Rp("svg",{className:g("h-6 w-6 bg-no-repeat",m`
|
|
2
2
|
${n?.icon}
|
|
3
3
|
`)}):Rp("span",{className:m({"&&":iJ(n?.icon,["fill","stroke"]),"&& path":{fill:n?.icon?.fill,stroke:n?.icon?.stroke}}),children:t})}),k8("div",{className:"ml-3 text-left",children:[Rp("p",{className:g("text-gray-970 mb-1 text-sm",m({"&&":n?.title})),children:e}),Rp("p",{className:g("text-neutral-gray text-base font-semibold",m({"&&":n?.value})),children:r})]})]});import{omit as R8}from"lodash";var sJ=({hideDisableStyle:t,configTheme:e})=>g(`${t?"":"disabled:opacity-75"}`,"bg-blue-light-500 text-white border-transparent hover:bg-blue-light-700",m`
|
|
4
4
|
:active {
|
|
@@ -95,8 +95,8 @@ import{a as Y7,b as Z7,c as X7,d as J7,e as Q7,f as e8,g as t8,h as r8,i as o8,j
|
|
|
95
95
|
z-index: 10000 !important;
|
|
96
96
|
`,q=()=>{if(!k)if(i){let J=i();DQ(J)?(V(!0),J.then(()=>{V(!1),O(!1)}).catch(()=>{V(!1),O(!1)})):O(!1)}else O(!1),a()},oe=TQ(()=>{if(p==="alert")return L?.alertPopup;if(p==="block")return L?.blockPopup;if(p==="readyToSubmit")return L?.reviewEntries?.submitModal},[L?.alertPopup,L?.blockPopup,L?.reviewEntries,p]),ge=g("w-20",m({"&&":$.getDialogConfirmTheme().icon,"&& path":{fill:$.getDialogConfirmTheme().icon?.fill,stroke:$.getDialogConfirmTheme().icon?.stroke}}),m({"&&&":oe?.icon,"&&& path":{fill:oe?.icon?.fill,stroke:oe?.icon?.stroke}})),de=()=>M?M(ge):c&&p==="readyToSubmit"?co(Y8,{className:g("w-40",m({"&&":Q8($.getDialogConfirmTheme().icon,["fill","stroke"]),"&& .nuvo__ready_submit_icon":{fill:$.getDialogConfirmTheme().icon?.fill,stroke:$.getDialogConfirmTheme().icon?.stroke}}),m({"&&&":Q8(oe?.icon,["fill","stroke"]),"&&& .nuvo__ready_submit_icon":{fill:oe?.icon?.fill,stroke:oe?.icon?.stroke}}))}):c&&_?co(K8,{className:ge}):co(G8,{className:ge});return co(Wc,{gravity:"middle",className:g("w-full !p-0 sm:max-w-xl",I),isOpen:D,onCloseModal:()=>{O(!1),s?.()},wrapperClassName:g(m`
|
|
97
97
|
z-index: 10000 !important;
|
|
98
|
-
`),disabledClickOutside:u,isShowCloseIcon:d,overlayStyled:m({"&&":$.getDialogConfirmTheme().overlay,"&&&":oe?.overlay}),bodyStyled:m({"&&":$.getDialogConfirmTheme().root,"&&&":oe?.root}),closeIconStyled:$.getDialogConfirmTheme().closeIcon,closeButtonClassName:m({"&&& line":oe?.closeIcon}),children:e9("div",{className:"w-full px-7 pb-8 pt-3",children:[co("div",{className:"flex justify-center pb-4",children:de()}),t&&co("p",{className:g("xss:pb-2 text-color-primary text-neutral-gray pb-1 text-center text-xl font-semibold",m({"&&":$.getDialogConfirmTheme().title,"&&&":oe?.title}),E),dangerouslySetInnerHTML:{__html:t}}),e&&co("p",{className:g("xss:pb-7 text-color-secondary pb-2 text-center text-sm font-normal",m({"&&":$.getDialogConfirmTheme().description,"&&&":oe?.description}),y),dangerouslySetInnerHTML:{__html:e}}),b||null,co("div",{className:g("xss:flex mt-2 flex-row justify-center sm:mt-0",w),children:co(Ve,{isShow:h&&H,message:co(zt,{className:g("max-w-240 h-full w-full text-center text-xs",P),variant:R,children:v}),flip:!0,arrowClassName:"#545454",direction:"top",offset:{mainAxis:12},isShowArrow:!0,className:ce,render:({setReferenceElement:J})=>{let ue={className:g("xss:mt-0 mt-3",{"w-full":!l},x,k?ne:"",k?"text-gray-260":""),type:"submit",loading:z,onClick:q,ref:T==="negative"?J:void 0,...T==="negative"?Y():{}},X={...T==="positive"?Y():{},className:g(`xss:mt-0 xss:mr-4 mt-3 mr-0 ${f&&ne}`,C),type:"button",variant:"secondary",onClick:()=>{f||(O(!1),n&&n())}},re=o||"Ok";return e9(AQ,{children:[co("span",{ref:T==="positive"?J:void 0,className:g(S),children:l&&co(ye,{...X,children:co("div",{className:g("leading-6",f&&"text-gray-260"),children:r||N("txt_cancel")})})}),p!=="warn"?co(ye,{...ue,children:re}):A?co(ye,{...ue,children:re}):null]})}})})]})})},t9=PQ;import{jsx as VQ,jsxs as HQ}from"react/jsx-runtime";var ry=NQ({}),FQ=({children:t})=>{let[e,r]=r9(!1),[o,n]=r9(),a=LQ(i=>{n(i),r(!0)},[]);return $Q(()=>{e||n(void 0)},[e]),HQ(ry.Provider,{value:{isOpen:e,setOpenModal:r,showConfirmModal:a,type:o?.type,title:o?.title},children:[t,o&&VQ(t9,{title:o.title,description:o.description,textPositiveButton:o.textPositiveButton,textNegativeButton:o.textNegativeButton,onClickPositiveButton:o.onClickPositiveButton,onClickNegativeButton:o.onClickNegativeButton,onClickNegativeButtonPromise:o.onClickNegativeButtonPromise,isShowPositiveButton:o.isShowPositiveButton,isShowIcon:o.isShowIcon,disabledClickOutside:o.disabledClickOutside,isShowCloseIcon:o.isShowCloseIcon,type:o.type,disabledPositiveButton:o.disabledPositiveButton,disabledNegativeButton:o.disabledNegativeButton,isPopper:o.isPopper,textPopper:o.textPopper,content:o.content,descriptionClassName:o.descriptionClassName,footerClassName:o.footerClassName,negativeButtonClassName:o.negativeButtonClassName,positiveButtonClassName:o.positiveButtonClassName,positiveButtonWrapperClassName:o.positiveButtonWrapperClassName,roundedIcon:o.roundedIcon,baseModalClassName:o.baseModalClassName,customIcon:o.customIcon,titleClassName:o.titleClassName,onCloseModal:o.onCloseModal,popperPosition:o.popperPosition,messageVariant:o.messageVariant,messageClassName:o.messageClassName})]})},o9=FQ;import{useCallback as QQ,useMemo as m9,useRef as eee,useState as tee}from"react";import{createContext as ree}from"react";import{flatten as sy}from"lodash";var ny=class{constructor({similarity:e}){this.getValue=()=>this.similarity;this.similarity=e}},gn=ny;var Ph=class{constructor({sheetColumn:e,dataModel:r,similarity:o}){this.isMarkApplied=!1;this.getSimilarity=()=>this.similarity;this.getSheetColumn=()=>this.sheetColumn;this.getDataModel=()=>this.dataModel;this.markApplied=()=>{this.isMarkApplied=!0};this.unMarkApplied=()=>{this.isMarkApplied=!1};this.getMarkApplied=()=>this.isMarkApplied;this.isNull=()=>!1;this.sheetColumn=e,this.dataModel=r,this.similarity=o}},Ah=class extends Ph{constructor(){super({dataModel:new wo({description:"null",example:"null",key:"null",label:"null",type:"string",columnSize:1,optionMappingConfiguration:{layers:[],processingMode:"node",threshold:0}}),sheetColumn:new wh({sheet:new Yn({data:[[]],name:""}),columnKey:"",rows:[]}),similarity:new gn({similarity:0})});this.isNull=()=>!0}},n9=Ph;import{maxBy as BQ,orderBy as UQ}from"lodash";var ay=class{constructor({sheetColumnDataModelSimilarities:e}){this.getMostSimilarityBySheetColumn=e=>{let r=[];for(let o=0;o<this.sheetColumnDataModelSimilarities.length;o++)this.sheetColumnDataModelSimilarities[o].getSheetColumn()===e&&r.push(this.sheetColumnDataModelSimilarities[o]);return BQ(r,o=>o.getSimilarity().getValue())};this.getSortedSheetColumnDataModelSimilarity=e=>{let r=this.sheetColumnDataModelSimilarities.filter(o=>o.getSimilarity().getValue()>=e&&!o.getMarkApplied());return UQ(r,o=>o.getSimilarity().getValue(),"desc")};this.markDataModel=e=>{this.sheetColumnDataModelSimilarities.filter(r=>r.getDataModel()===e).forEach(r=>{r.markApplied()})};this.markSheetColumn=e=>{this.sheetColumnDataModelSimilarities.filter(r=>r.getSheetColumn()===e).forEach(r=>{r.markApplied()})};this.clearMark=()=>{this.sheetColumnDataModelSimilarities.forEach(e=>{e.unMarkApplied()})};this.getSimilaritySheetColumn=(e,r)=>this.sheetColumnDataModelSimilarities.find(o=>o.getSheetColumn()===e&&o.getDataModel()===r);this.sheetColumnDataModelSimilarities=e}},Nh=ay;var Lh=class{constructor({sheetColumnOption:e,dataModelOption:r,similarity:o}){this.getSimilarity=()=>this.similarity;this.getSheetColumnOption=()=>this.sheetColumnOption;this.getDataModelOption=()=>this.dataModelOption;this.isNull=()=>!1;this.hash=()=>{let e=this.getDataModelOption().dataModel.getKey(),r=this.getDataModelOption().option,o=this.getSheetColumnOption().sheetColumn.getColumnKey(),n=this.getSheetColumnOption().option;return`${e}-${r}-${o}-${n}`};this.sheetColumnOption=e,this.dataModelOption=r,this.similarity=o}},Dp=class extends Lh{constructor(){super({sheetColumnOption:{option:"null",sheetColumn:new wh({columnKey:"",rows:[],sheet:new Yn({data:[[]],name:""})})},dataModelOption:{dataModel:new Mp({description:"null",example:"null",key:"null",options:[],type:"single-select",label:"null",columnSize:1,isMultiSelection:!1,optionMappingConfiguration:{layers:[],processingMode:"node",threshold:0}}),option:""},similarity:new gn({similarity:0})});this.isNull=()=>!0}},a9=Lh;import{orderBy as jQ}from"lodash";var iy=class t{constructor({sheetColumnDataModelOptionSimilarities:e,mapSheetColumnDataModelOptions:r}){this.mapSheetColumnDataModelOptions=[];this.getSheetColumnDataModelOptionSimilarities=e=>{let r=this.sheetColumnDataModelOptionSimilarities.filter(o=>o.getSimilarity().getValue()>=e);return jQ(r,o=>o.getSimilarity().getValue(),"desc")};this.getSimilaritySheetColumnOptions=(e,r)=>this.getSheetColumnDataModelOptionSimilarities(r.getOptionMappingConfiguration().threshold).filter(o=>o.getSheetColumnOption().sheetColumn===e&&o.getDataModelOption().dataModel===r);this.getSimilaritiesDataModelOption=(e,r,o)=>this.sheetColumnDataModelOptionSimilarities.filter(n=>n.getSheetColumnOption().sheetColumn===e&&n.getDataModelOption().dataModel.getKey()===r.getKey()&&n.getDataModelOption().option===o);this.getSimilaritiesDataModelBySheetColumn=(e,r)=>this.sheetColumnDataModelOptionSimilarities.filter(o=>o.getSheetColumnOption().sheetColumn===e&&o.getDataModelOption().dataModel.getKey()===r.getKey());this.getRawSheetColumnDataModelOptionSimilarities=()=>this.sheetColumnDataModelOptionSimilarities;this.isAlreadyMapping=(e,r)=>!!this.mapSheetColumnDataModelOptions.some(o=>o.sheetColumn.equal(e)&&r===o.dataModel);this.sheetColumnDataModelOptionSimilarities=e,this.mapSheetColumnDataModelOptions=r}merge(e){let r=e.getRawSheetColumnDataModelOptionSimilarities(),o=e.mapSheetColumnDataModelOptions;for(let n=0;n<this.sheetColumnDataModelOptionSimilarities.length;++n)r.find(i=>{let s=i.getDataModelOption(),l=i.getSheetColumnOption(),c=this.sheetColumnDataModelOptionSimilarities[n].getSheetColumnOption(),u=this.sheetColumnDataModelOptionSimilarities[n].getDataModelOption();return l.option===c.option&&l.sheetColumn.getColumnKey()===c.sheetColumn.getColumnKey()&&s.option===u.option&&s.dataModel.getKey()===u.dataModel.getKey()})||r.push(this.sheetColumnDataModelOptionSimilarities[n]);for(let n=0;n<this.mapSheetColumnDataModelOptions.length;++n)o.push(this.mapSheetColumnDataModelOptions[n]);return new t({sheetColumnDataModelOptionSimilarities:r,mapSheetColumnDataModelOptions:o})}},Pp=iy;var ly=class{constructor({calculateSimilarityResult:e,sheets:r,dataModels:o,options:n={}}){this.parseSheetOption=e=>["true","false"].includes(e)?JSON.parse(e):e;this.getSheetColumnDataModelSimilarityList=()=>{let e=this.calculateSimilarityResult.result.map(o=>o.suggestions.map(n=>{let a=this.dataModels.find(s=>{let l=s.getKey(),c=n.key;return this.options?.isAutoMapping===!0&&(l=wa(s.getKey()),c=wa(n.key)),!!(l===c||s.getAlternativeMatches().includes(n.key))}),i=[];for(let s=0;s<this.sheets.length;s++)this.sheets[s].getColumnsByKey(o.label,this.options?.isAutoMapping).forEach(c=>{i.push(c)});return i.map(s=>a&&s?new n9({dataModel:a,sheetColumn:s,similarity:new gn({similarity:n.value})}):new Ah)})),r=[];return sy(sy(sy(e))).forEach(o=>{let n=!1;r.forEach((a,i)=>{!a.isNull()&&a.getDataModel()===o.getDataModel()&&a.getSheetColumn()===o.getSheetColumn()&&(n=!0,o.getSimilarity()>a.getSimilarity()&&(r[i]=o))}),n||r.push(o)}),new Nh({sheetColumnDataModelSimilarities:r})};this.generateSheetColumnDataModelOptionSimilarity=({sheetOption:e,dataModel:r,similarities:o,sheetColumn:n,sheetColumnDataModelOptionSimilaritiesHashMap:a})=>{let i={option:this.parseSheetOption(e),sheetColumn:n},s=Object.keys(o);for(let l=0;l<s.length;++l){let c=s[l],u=o[c],d=[];if(r&&i.sheetColumn&&r.isDropdown()){let p=[];if(r.getType()==="boolean")p=[c];else{let f=r.getOptions();c===""&&u>0&&p.push("");for(let h=0;h<f.length;++h){let v=f[h];v.label===c&&p.push(v.value)}}for(let f=0;f<p.length;++f){let h=p[f];h?.length>0||h.length===0&&u>0?d.push(new a9({dataModelOption:{dataModel:r,option:h},similarity:new gn({similarity:u}),sheetColumnOption:i})):d.push(new Dp)}}else d.push(new Dp);for(let p=0;p<d.length;++p){let f=!1,h=d[p];if(!h.isNull()){let v=a[h.hash()];v&&(f=!0,h.getSimilarity().getValue()>v.getSimilarity().getValue()&&(a[h.hash()]=h))}f||(a[h.hash()]=h)}}};this.getSheetColumnDataModelOptionSimilarityList=e=>{let r={},o=this.calculateSimilarityResult,n=[];for(let s=0;s<o.result.length;++s){let l=o.result[s],c=l.optionMappings,u;if(e)u=e;else for(let p=0;p<this.sheets.length;p++){let f=this.sheets[p].getColumn(l.label,this.options?.isAutoMapping);if(f){u=f;break}}let d=Object.keys(c);for(let p=0;p<d.length;++p){let f=d[p],h=c[f],v=this.dataModels.find(y=>{let w=y.getKey(),x=f;return this.options?.isAutoMapping===!0&&(w=wa(w),x=wa(x)),w===x});v&&u&&n.push({sheetColumn:u,dataModel:v});let b=Object.keys(h);for(let y=0;y<b.length;++y){let w=b[y],x=h[w];this.generateSheetColumnDataModelOptionSimilarity({sheetOption:w,similarities:x,dataModel:v,sheetColumnDataModelOptionSimilaritiesHashMap:r,sheetColumn:u})}}}let a=[],i=Object.keys(r);for(let s=0;s<i.length;++s){let l=i[s];r[l].isNull()||a.push(r[l])}return new Pp({sheetColumnDataModelOptionSimilarities:a,mapSheetColumnDataModelOptions:n})};this.calculateSimilarityResult=e,this.sheets=r,this.dataModels=o,this.options=n}static{this.mergeCalculateSimilarityResultOptions=(e,r)=>{let o={result:[...e.result]};for(let n=0;n<r.result.length;++n){let a=r.result[n],i;for(let s=0;s<o.result.length;++s)if(a.label===o.result[s].label){i=o.result[s];break}if(i){let s=Object.keys(i.optionMappings);for(let c=0;c<s.length;++c){let u=s[c];i.optionMappings[u]={...i.optionMappings[u],...a.optionMappings[u]??{}}}let l=Object.keys(a.optionMappings);for(let c=0;c<l.length;++c){let u=l[c];i.optionMappings[u]={...i.optionMappings[u]??{},...a.optionMappings[u]}}}}return o}}},vn=ly;var $h=class{constructor(e,r){this.isUploadSheetData=e=>e.some(r=>r.getOptionMappingConfiguration().processingMode==="node");this.matchColumns=async(e,r,o)=>{let{processingMode:n,layers:a,threshold:i}=r;return n==="node"?this.backendMatchingRepository.matchColumns(e,{layers:a,threshold:i},o):this.browserMatchingRepository.matchColumns(e,{layers:a,threshold:i},o)};this.matchInitialOptions=async(e,r,o,n,a)=>{let i=e.getAllSheets(),s=e.getAllDataModels(),l=r.filter(h=>{let v=h.matchedDataModel?.dataModel;return!!v&&v.isDropdown()}),c=await Promise.all(l.map(async h=>{let v=h.matchedDataModel.dataModel,b={dataModel:v,sheetColumn:h.sheetColumn,sheets:i,dataModels:s,licenseKey:n,sessionId:a},y;return v.getOptionMappingConfiguration().processingMode==="node"?y=this.backendMatchingRepository:y=this.browserMatchingRepository,(await y.matchOption({...b,sheetColumn:b.sheetColumn})).calculateSimilarityResult})),d={result:[...[...o.result].map(h=>({...h,optionMappings:{}}))]};for(let h=0;h<c.length;++h)d=vn.mergeCalculateSimilarityResultOptions(d,c[h]);let f=new vn({calculateSimilarityResult:d,sheets:i,dataModels:s}).getSheetColumnDataModelOptionSimilarityList();return{calculateSimilarityResult:d,sheetColumnDataModelOptionSimilarityList:f}};this.matchOption=async({dataModel:e,sheetColumn:r,sheets:o,dataModels:n,licenseKey:a,processMode:i,sessionId:s})=>{let l={dataModel:e,sheetColumn:r,sheets:o,dataModels:n,licenseKey:a,sessionId:s};return i==="node"?this.backendMatchingRepository.matchOption(l):this.browserMatchingRepository.matchOption(l)};this.uploadData=async(e,r,o,n)=>o.some(a=>a.getOptionMappingConfiguration().processingMode==="node")?this.backendMatchingRepository.prepareData(e,r,n):Promise.resolve();this.clearData=(e,r)=>{this.isUploadSheetData(r)&&this.backendMatchingRepository.clearData(e)};this.complete=(e,r)=>{this.isUploadSheetData(r)&&this.backendMatchingRepository.complete(e)};this.browserMatchingRepository=e,this.backendMatchingRepository=r}};import{isNil as zQ}from"lodash";import{isNil as i9}from"lodash";var s9=/[,;|](?=['"`])/g,WQ=/[;]|[|]|,[ a-zA-Z]/g,Sa=t=>i9(t)?!1:`${t}`.match(s9)?!0:!!`${t}`.match(WQ),_a=t=>{if(i9(t))return[];let e=`${t}`.split(s9);if(e.length===1){e=[];let r=`${t}`.split(/[;]|[|]|, /g);for(let o=0;o<r.length;o++){let n=r[o];/,[a-zA-Z]/.test(n)?e=e.concat(n.split(",")):e.push(n)}}return e.map(r=>r.replace(/[\s\-_&+'"`]/g," ").trim())};var Ap=class t{constructor({spreadSheetList:e,dataModels:r,licenseKey:o}){this.getColumns=()=>{let e=this.dataModels,r=[];for(let o=0;o<e.length;o++){let n=t.mapDataModelToColumn(e[o]);n&&r.push(n)}return r};this.getInputHeaderRow=()=>{let e=[];return this.allSheets.forEach(r=>{r.getColumns().forEach(n=>{e.push(n.getColumnKey())})}),e};this.getAllSheets=()=>this.allSheets;this.getAllDataModels=()=>this.dataModels;this.getLicenseKey=()=>this.licenseKey;this.spreadSheetList=e,this.dataModels=r,this.allSheets=this.spreadSheetList.getSelectedSheets(),this.licenseKey=o}static{this.getDropdownOptions=e=>e.isCategoryType()?e.getOptions().map(o=>({label:o.label,value:o.value,alternativeMatches:o.alternativeMatches})):null}static{this.getOptionMappingConfiguration=e=>{if(e.isDropdown())return e.getOptionMappingConfiguration()}}static{this.getType=e=>{switch(e.getType()){case"boolean":return"boolean";case"single-select":case"country_code_alpha_2":case"country_code_alpha_3":case"currency_code":return"category";case"int":case"float":return"number";default:return"string"}}}static{this.mapDataModelToColumn=e=>({key:e.getKey(),label:e.getLabel(),description:e.getDescription(),isMultiple:e.getIsMultiSelection(),dropdownOptions:this.getDropdownOptions(e),columnType:this.getType(e).toUpperCase(),alternativeMatches:e.getAlternativeMatches(),optionMappingConfiguration:this.getOptionMappingConfiguration(e)})}static{this.parseValue=e=>zQ(e)?"":`${e}`}static{this.getInputJsonBySheetColumn=(e,r)=>{let o=[],n=e.getUniqueRows(),a=n.length,i={},s=e.getColumnKey(),l=0;for(let d=0;d<a;d++){let p=t.parseValue(n[d]);Sa(p)&&r.getIsMultiSelection()?_a(p).forEach(v=>{i[s]?i[s].push(v):i[s]=[v]}):(o[l]?o[l][s]=p:o[l]={[s]:p},l++)}let c=Object.keys(i),u=o.length;for(let d=0;d<c.length;d++){let p=c[d];i[p].forEach((h,v)=>{let b=u+v;o[b]?o[b][p]=h:o[b]={[p]:h}})}return[o]}}},Np=Ap;var cy=class{constructor(){this.matchColumns=async(e,r,o)=>{let n=e.getAllSheets(),a=e.getAllDataModels(),i=await this.matchColumnsTask(e,r,o),l=new vn({calculateSimilarityResult:i[0],sheets:n,dataModels:a}).getSheetColumnDataModelSimilarityList();return{calculateSimilarityResult:i[0],sheetColumnDataModelSimilarityList:l}};this.matchOption=async({dataModel:e,sheetColumn:r,sheets:o,dataModels:n,licenseKey:a,sessionId:i})=>{let l=(await this.matchOptionTask({dataModel:e,sheetColumn:r,sheets:o,licenseKey:a,sessionId:i}))[0];this.matchBoolean([l],o,n);let u=new vn({calculateSimilarityResult:l,sheets:o,dataModels:n}).getSheetColumnDataModelOptionSimilarityList(r);return{calculateSimilarityResult:l,sheetColumnDataModelOptionSimilarityList:u}};this.matchBoolean=(e,r,o)=>{e.forEach((n,a)=>{n.result.forEach(i=>{let l=r[a].getColumn(i.label);l&&o.filter(u=>u.getType()==="boolean").forEach(u=>{let d=l.getUniqueRows();for(let p=0;p<d.length;p++){let f=d[p],h=null,v=`${f}`.toLowerCase().trim();if(Vi().includes(v)?h={true:1}:Hi().includes(v)&&(h={false:1}),h){let b=i.optionMappings[u.getKey()]??{};i.optionMappings[u.getKey()]={...b,[`${f}`]:h}}}})})})}}},Fh=cy;import{flatten as qQ}from"lodash";var uy=class{constructor(e,r){this.fileName="";this.parseData=e=>{let r=[],o=0,n=qQ(e.map(a=>a.getColumns()));r[0]=[],n.forEach((a,i)=>{r[0][i]=a.getColumnKey(),a.getUniqueRows().length>o&&(o=a.getUniqueRows().length)});for(let a=0;a<o;++a){r[a+1]=[];for(let i=0;i<n.length;++i){let s=n[i].getUniqueRows()[a]??"";r[a+1][i]=s}}return r};this.initialize=()=>{this.fileName=""};this.upload=async(e,r,o)=>{this.initialize();let n=this.parseData(e),a=await this.uploadInputSheetAPI.createFile(r,o);return this.fileName=a.file_name,this.inputSheetClearer.add(this.fileName),this.uploadInputSheetAPI.uploadData(a.signed_url,n,o)};this.getFileName=()=>this.fileName;this.clearData=e=>{this.initialize(),this.inputSheetClearer.clear(e)};this.complete=e=>{let r=this.fileName;r&&(this.initialize(),this.inputSheetClearer.remove(r),this.uploadInputSheetAPI.clearFile(r,e).catch(()=>{}))};this.uploadInputSheetAPI=e,this.inputSheetClearer=r}},l9=uy;import GQ from"axios";var Br=class{constructor(e,r={}){this.httpClient=GQ.create(r),this.sendApiKey=e.sendApiKey,this.setupInterceptors()}setupInterceptors(){this.httpClient.interceptors.request.use(e=>e,e=>Promise.reject(e)),this.httpClient.interceptors.response.use(e=>e,e=>Promise.reject(e))}getHttpClient(){return this.httpClient}async get(e,r,o){return(await this.httpClient.request({method:"GET",url:e,params:r,...o})).data}async post(e,r,o={}){return(await this.httpClient.request({method:"POST",url:e,data:r,...o})).data}async put(e,r,o={}){return(await this.httpClient.request({method:"PUT",url:e,data:r,...o})).data}async patch(e,r,o={}){return(await this.httpClient.request({method:"PATCH",url:e,data:r,...o})).data}async delete(e,r={}){return(await this.httpClient.request({method:"DELETE",url:e,...r})).data}},Ki=Br;var bt={csv:"text/csv",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xls:"application/vnd.ms-excel",xml:"text/xml",json:"application/json",tsv_text:"text/tab-separated-values",tsv:".tsv",pdf:"application/pdf",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.12"},c9=[bt.csv,bt.tsv,bt.tsv_text,bt.json];var dy=class t{constructor(){this.framework="react";this.versionNumber="4.0.4";this.uploadedFiles={};this.frameworkVersion="1.0.0";this.eventStack={};this.reviewEntriesLog={};this.parseSession=!1;this.startSession={};this.reloadSession={};this.verifySession={};this.getMeta=()=>({version:this.getVersionNumber(),framework:this.getFrameWork(),origin:this.getOrigin(),framework_version:this.getFrameworkVersion()});this.setParseSession=()=>{this.parseSession=!0};this.getParseSession=()=>this.parseSession;this.clearParseSession=()=>{this.parseSession=!1};this.setStartSession=e=>{this.startSession[e]=!0};this.getStartSession=e=>this.startSession[e];this.clearStartSession=e=>{this.startSession[e]=void 0};this.setReloadSession=e=>{this.reloadSession[e]=!0};this.getReloadSession=e=>this.reloadSession[e];this.clearReloadSession=e=>{this.reloadSession[e]=void 0};this.setVerifySession=e=>{this.verifySession[e]=!0};this.getVerifySession=e=>this.verifySession[e];this.clearVerifySession=e=>{this.verifySession[e]=void 0}}static{this.eventMapping={"/":"upload","/select-sheet":"sheet_selection","/select-header":"header_selection","/match-column":"match_columns","/review-entries":"review_entries","/join-column":"join_sheets"}}static getInstance(){return t.instance||(t.instance=new t),t.instance}setFrameWork(e){this.framework=e}getFrameWork(){return this.framework}setOrigin(e){this.origin=e}getOrigin(){return this.origin??""}setVersionNumber(e){this.versionNumber=e}getVersionNumber(){return this.versionNumber}setFrameworkVersion(e){this.frameworkVersion=e}getFrameworkVersion(){return this.frameworkVersion}pushEventStack(e,r){this.eventStack[e]||(this.eventStack[e]=[]);let o=this.eventStack[e][this.eventStack[e].length-1];r.action==="end"&&(o?.eventType===`${t.eventMapping[r.step]||r.step}_end`||o?.eventType!==`${t.eventMapping[r.step]||r.step}_start`)||this.eventStack[e].length>0&&r.action==="start"&&o?.eventType.includes("_start")&&o?.eventType!==`${t.eventMapping[r.step]||r.step}_start`||(this.eventStack[e].push({eventType:`${t.eventMapping[r.step]||r.step}_${r.action}`,timestamp:new Date().toISOString()}),this.eventStack[e].length>1&&this.eventStack[e][this.eventStack[e].length-1].eventType===this.eventStack[e][this.eventStack[e].length-2].eventType&&this.eventStack[e].splice(this.eventStack[e].length-2,1))}removeEventStack(e,r){this.eventStack[e]=this.eventStack[e].filter(o=>o.eventType!==r)}getEventStack(e){return this.eventStack[e]}clearEventStack(e){this.eventStack[e]=[]}setUploadedFiles(e,r){this.uploadedFiles[e]||this.clearUploadedFilesStack(e),r.forEach(o=>this.uploadedFiles[e].push({fileSize:o.fileSize,fileType:this.mapSupportedType(o.type)}))}getUploadFiles(e){return this.uploadedFiles?.[e]||[]}clearUploadedFilesStack(e){this.uploadedFiles[e]=[]}setReviewEntriesLog(e,r){this.reviewEntriesLog[e]=r}getReviewEntriesLog(e){return this.reviewEntriesLog?.[e]||{}}setTotalCleanings(e,r){this.reviewEntriesLog[e].total_cleanings=r}clearReviewEntriesLog(e){this.reviewEntriesLog[e]={total_rows:0,total_error_rows:0,total_error_cells:0,total_columns:0,total_cleanings:0}}mapSupportedType(e){for(let[r,o]of Object.entries(bt))if(e===o)return r;return e}},Ce=dy;var py=class extends Br{constructor(){super(...arguments);this.createFile=async(r,o)=>this.post("/file/directory",{},{headers:{apikey:this.sendApiKey?Wt:void 0,Authorization:r,originRequest:Ce.getInstance().getOrigin()},signal:o.signal});this.uploadData=async(r,o,n)=>this.put(r,o,{baseURL:"",signal:n.signal});this.clearFile=async(r,o)=>this.delete(`/file?file_name=${r}`,{headers:{apikey:this.sendApiKey?Wt:void 0,Authorization:o,originRequest:Ce.getInstance().getOrigin()}})}},Vh=py;var my=class{constructor(e){this.fileNames=[];this.remove=e=>{this.fileNames=this.fileNames.filter(r=>r!==e)};this.add=e=>{this.fileNames.push(e)};this.clear=async e=>{let r=[...this.fileNames];for(let o=0;o<r.length;++o){let n=r[o];this.remove(n),await this.uploadInputSheetAPI.clearFile(n,e).catch(()=>{})}};this.uploadInputSheetAPI=e}},u9=my;var fy=class extends Fh{constructor(r,o,n={}){super();this.prepareData=async(r,o,n)=>{await this.uploadInputSheetRepository.upload(r,o,n)};this.clearData=r=>{this.uploadInputSheetRepository.clearData(r)};this.complete=r=>{this.uploadInputSheetRepository.complete(r)};this.matchColumnsTask=(r,o,n)=>{let a=r.getColumns().map(l=>({key:l.key,label:l.label,alternativeMatches:l.alternativeMatches})),i=r.getLicenseKey(),s=r.getInputHeaderRow();return this.nodeEngine.matchColumns(s,a,i,o,n)};this.matchOptionTask=({dataModel:r,sheets:o,sheetColumn:n,licenseKey:a,sessionId:i})=>{let s=Np.mapDataModelToColumn(r),l=[];for(let u=0;u<o.length;u++){let d=o[u];for(let p=0;p<d.getColumns().length;p++){let f=d.getColumns()[p];l.push(f)}}let c=l.findIndex(u=>u===n);return this.nodeEngine.matchOption(this.uploadInputSheetRepository.getFileName(),[{column:{dropdownOptions:s.dropdownOptions,isMultiSelect:s.isMultiple,key:s.key,label:s.label,optionMappingConfiguration:s.optionMappingConfiguration},column_index:c}],a,i)};this.nodeEngine=r;let a=new Vh(o,n),i=new u9(a);this.uploadInputSheetRepository=new l9(a,i)}},d9=fy;import{flatten as XQ}from"lodash";import{createEndpoint as KQ,releaseProxy as YQ,wrap as ZQ}from"comlink";var bn=({workerFile:t,hostWorkerUrl:e})=>{let r=null,o=null;return{init:async()=>{if(!r||!o)try{e?r=r=new Worker(e):r=t(),r&&await new Promise((s,l)=>{if(!r)return l();r.addEventListener("error",c=>{c.preventDefault(),r?.terminate(),o?.[KQ](),o=null,l(new Error("has something wrong with worker"))}),o=ZQ(r),o.check().then(s).catch(l)})}catch{}},clear:()=>{o&&(o?.[YQ](),r?.terminate(),o=null)},getRemote:()=>o}};var wn={IMPORT:"importWorkerBundle.js",HOOKS:"hooks.js",MATCHING:"matchingValues.js",ML:"ml.js",SEARCH_AND_REPLACE:"searchAndReplace.js",JAVASCRIPT:"javascript.js"};var yn=(...t)=>t.map((e,r)=>r===0?e.replace(/\/+$/,""):e.replace(/^\/+|\/+$/g,"")).join("/");var hy=({workersBaseUrl:t})=>{let e=t?yn(t,wn.ML):"",{init:r,getRemote:o,clear:n}=bn({hostWorkerUrl:e,workerFile:()=>new Worker(new URL("workers/mapping/index.js",import.meta.url),{type:"module"})});return{init:r,clear:n,getOptionMappings:(...s)=>{let l=o();return l?l.getOptionMappings(...s):G7(...s)},getColumnMappings:(...s)=>{let l=o();return l?l.getColumnMappings(...s):K7(...s)}}};var Hh=class{constructor({workersBaseUrl:e}){this.getColumnMappings=async(e,r,o)=>{let n=hy({workersBaseUrl:this.workersBaseUrl});return await n.init(),n.getColumnMappings(e,r,o).then(a=>(n.clear(),a)).catch(a=>(n.clear(),Promise.reject(a)))};this.getOptionMappings=async(e,r)=>{let o=hy({workersBaseUrl:this.workersBaseUrl});return await o.init(),o.getOptionMappings(e,r).then(n=>(o.clear(),n)).catch(n=>(o.clear(),Promise.reject(n)))};this.workersBaseUrl=e}};var Bh=class{constructor({workersBaseUrl:e}){this.matchColumns=async(e,r,o)=>{let n=await this.mappingEngine.getColumnMappings(e,r.map(a=>`${a}`),o);return this.parseColumnMappingResult(XQ(n))};this.matchOption=async(e,r)=>Promise.all(r.map(o=>this.matchOptionItem(e,o)));this.matchOptionItem=async(e,r)=>new Promise((o,n)=>{setTimeout(()=>{this.mappingEngine.getOptionMappings(e,r).then(a=>{let i={result:[{optionMappings:{[a.tdmColumnKey]:a.suggestions},label:a.inputColumn,suggestions:[{key:a.tdmColumnKey,value:1,isSameWord:!0}]}]};o(i)}).catch(a=>{n(a)})},100)});this.parseColumnMappingResult=e=>{let r=[];for(let o=0;o<e.length;o++){let n=e[o],a=[];for(let i=0;i<n.columnSuggestions.length;i++){let s=n.columnSuggestions[i];a.push({key:s.key,value:s.percentage})}r.push({label:n.inputColumnKey,suggestions:a,optionMappings:{}})}return[{result:r}]};this.mappingEngine=new Hh({workersBaseUrl:e})}};import{flatten as JQ}from"lodash";var Uh=class extends Br{constructor(){super(...arguments);this.matchColumns=async(r,o,n,a,i)=>{let s={apikey:this.sendApiKey?Wt:void 0,authorization:n},l=await this.post("/execute/column",{tdmColumns:o,inputColumns:r,options:{columnMappingConfiguration:{layers:a.layers,threshold:a.threshold},product:"importer"},sessionId:i},{headers:s});return this.parseColumnMappingResult(l)};this.matchOption=async(r,o,n,a)=>{let i={apikey:this.sendApiKey?Wt:void 0,authorization:n},s=await Promise.all(o.map(l=>this.post("/execute/option",{tdmColumn:{key:l.column.key,label:l.column.label,isMultiSelect:l.column.isMultiSelect,dropdownOptions:l.column.dropdownOptions},options:{product:"importer",fileName:r,columnIndex:l.column_index,headerRowIndex:0,optionMappingConfiguration:{layers:l.column.optionMappingConfiguration?.layers,threshold:l.column.optionMappingConfiguration?.threshold}},sessionId:a},{headers:i})));return this.parseOptionMappingResult(JQ(s))};this.parseColumnMappingResult=r=>{let o=[];for(let n=0;n<r.length;n++){let a=r[n],i=[],s=Object.keys(a.suggestions);for(let l=0;l<s.length;l++){let c=s[l],u=a.suggestions[c];i.push({key:c,value:u})}o.push({label:a.inputColumn,suggestions:i,optionMappings:{}})}return[{result:o}]}}parseOptionMappingResult(r){let o=[];for(let n=0;n<r.length;n++){let a=r[n];o.push({optionMappings:{[a.tdmColumnKey]:a.suggestions},label:a.inputColumn,suggestions:[{key:a.tdmColumnKey,value:1,isSameWord:!0}]})}return[{result:o}]}};var gy=class extends Fh{constructor(r){super();this.matchColumnsTask=(r,o)=>{let n=r.getColumns().map(i=>({...i,dropdownOptions:[]})),a=r.getInputHeaderRow();return this.browserEngine.matchColumns(n,a,o)};this.matchOptionTask=({dataModel:r,sheetColumn:o})=>{let n=Np.mapDataModelToColumn(r),a=Np.getInputJsonBySheetColumn(o,r);return this.browserEngine.matchOption(n,a)};this.browserEngine=r}},p9=gy;import{jsx as nee}from"react/jsx-runtime";var vy=ree({executing:!0,setExecuting:()=>{},abort:()=>{}}),oee=({children:t})=>{let[e,r]=tee(!0),{baseUrl:o,isSelfHosted:n,baseMappingUrl:a,workersBaseUrl:i}=ee(),s=eee(new AbortController),l=m9(()=>new Bh({workersBaseUrl:i??""}),[i]),c=m9(()=>{let d=new p9(l),p=new Uh({sendApiKey:!n},{baseURL:a}),f=new d9(p,{sendApiKey:!n},{baseURL:o});return new $h(d,f)},[o,n,l,a]),u=QQ(()=>{s.current.abort(),s.current=new AbortController},[s]);return nee(vy.Provider,{value:{matchingStrategy:c,executing:e,setExecuting:r,abortController:s,abort:u},children:t})},f9=oee;import"simplebar/dist/simplebar.min.css";var by=document.createElement("style");by.type="text/css";by.appendChild(document.createTextNode(`.nuvo-tailwind .\\!container{width:100%!important}.nuvo-tailwind .container{width:100%}@media (min-width:375px){.nuvo-tailwind .\\!container{max-width:375px!important}.nuvo-tailwind .container{max-width:375px}}@media (min-width:412px){.nuvo-tailwind .\\!container{max-width:412px!important}.nuvo-tailwind .container{max-width:412px}}@media (min-width:468px){.nuvo-tailwind .\\!container{max-width:468px!important}.nuvo-tailwind .container{max-width:468px}}@media (min-width:640px){.nuvo-tailwind .\\!container{max-width:640px!important}.nuvo-tailwind .container{max-width:640px}}@media (min-width:740px){.nuvo-tailwind .\\!container{max-width:740px!important}.nuvo-tailwind .container{max-width:740px}}@media (min-width:768px){.nuvo-tailwind .\\!container{max-width:768px!important}.nuvo-tailwind .container{max-width:768px}}@media (min-width:820px){.nuvo-tailwind .\\!container{max-width:820px!important}.nuvo-tailwind .container{max-width:820px}}@media (min-width:885px){.nuvo-tailwind .\\!container{max-width:885px!important}.nuvo-tailwind .container{max-width:885px}}@media (min-width:990px){.nuvo-tailwind .\\!container{max-width:990px!important}.nuvo-tailwind .container{max-width:990px}}@media (min-width:1024px){.nuvo-tailwind .\\!container{max-width:1024px!important}.nuvo-tailwind .container{max-width:1024px}}@media (min-width:1190px){.nuvo-tailwind .\\!container{max-width:1190px!important}.nuvo-tailwind .container{max-width:1190px}}@media (min-width:1280px){.nuvo-tailwind .\\!container{max-width:1280px!important}.nuvo-tailwind .container{max-width:1280px}}@media (min-width:1440px){.nuvo-tailwind .\\!container{max-width:1440px!important}.nuvo-tailwind .container{max-width:1440px}}@media (min-width:1441px){.nuvo-tailwind .\\!container{max-width:1441px!important}.nuvo-tailwind .container{max-width:1441px}}@media (min-width:1536px){.nuvo-tailwind .\\!container{max-width:1536px!important}.nuvo-tailwind .container{max-width:1536px}}@media (min-width:1920px){.nuvo-tailwind .\\!container{max-width:1920px!important}.nuvo-tailwind .container{max-width:1920px}}.nuvo-tailwind *,.nuvo-tailwind :after,.nuvo-tailwind :before{border:0 solid #e5e7eb;box-sizing:border-box}
|
|
99
|
-
/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com*/.nuvo-tailwind :after,.nuvo-tailwind :before{--tw-content:""}.nuvo-tailwind :host,.nuvo-tailwind html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:Inter var,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}.nuvo-tailwind body{line-height:inherit;margin:0}.nuvo-tailwind hr{border-top-width:1px;color:inherit;height:0}.nuvo-tailwind abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.nuvo-tailwind h1,.nuvo-tailwind h2,.nuvo-tailwind h3,.nuvo-tailwind h4,.nuvo-tailwind h5,.nuvo-tailwind h6{font-size:inherit;font-weight:inherit}.nuvo-tailwind a{color:inherit;text-decoration:inherit}.nuvo-tailwind b,.nuvo-tailwind strong{font-weight:bolder}.nuvo-tailwind code,.nuvo-tailwind kbd,.nuvo-tailwind pre,.nuvo-tailwind samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}.nuvo-tailwind small{font-size:80%}.nuvo-tailwind sub,.nuvo-tailwind sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.nuvo-tailwind sub{bottom:-.25em}.nuvo-tailwind sup{top:-.5em}.nuvo-tailwind table{border-collapse:collapse;border-color:inherit;text-indent:0}.nuvo-tailwind button,.nuvo-tailwind input,.nuvo-tailwind optgroup,.nuvo-tailwind select,.nuvo-tailwind textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}.nuvo-tailwind button,.nuvo-tailwind select{text-transform:none}.nuvo-tailwind [type=button],.nuvo-tailwind [type=reset],.nuvo-tailwind [type=submit],.nuvo-tailwind button{-webkit-appearance:button;background-color:transparent;background-image:none}.nuvo-tailwind :-moz-focusring{outline:auto}.nuvo-tailwind :-moz-ui-invalid{box-shadow:none}.nuvo-tailwind progress{vertical-align:baseline}.nuvo-tailwind ::-webkit-inner-spin-button,.nuvo-tailwind ::-webkit-outer-spin-button{height:auto}.nuvo-tailwind [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.nuvo-tailwind ::-webkit-search-decoration{-webkit-appearance:none}.nuvo-tailwind ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.nuvo-tailwind summary{display:list-item}.nuvo-tailwind blockquote,.nuvo-tailwind dd,.nuvo-tailwind dl,.nuvo-tailwind figure,.nuvo-tailwind h1,.nuvo-tailwind h2,.nuvo-tailwind h3,.nuvo-tailwind h4,.nuvo-tailwind h5,.nuvo-tailwind h6,.nuvo-tailwind hr,.nuvo-tailwind p,.nuvo-tailwind pre{margin:0}.nuvo-tailwind fieldset{margin:0;padding:0}.nuvo-tailwind legend{padding:0}.nuvo-tailwind menu,.nuvo-tailwind ol,.nuvo-tailwind ul{list-style:none;margin:0;padding:0}.nuvo-tailwind dialog{padding:0}.nuvo-tailwind textarea{resize:vertical}.nuvo-tailwind input::-moz-placeholder,.nuvo-tailwind textarea::-moz-placeholder{color:#9ca3af;opacity:1}.nuvo-tailwind input::placeholder,.nuvo-tailwind textarea::placeholder{color:#9ca3af;opacity:1}.nuvo-tailwind [role=button],.nuvo-tailwind button{cursor:pointer}.nuvo-tailwind :disabled{cursor:default}.nuvo-tailwind audio,.nuvo-tailwind canvas,.nuvo-tailwind embed,.nuvo-tailwind iframe,.nuvo-tailwind img,.nuvo-tailwind object,.nuvo-tailwind svg,.nuvo-tailwind video{display:block;vertical-align:middle}.nuvo-tailwind img,.nuvo-tailwind video{height:auto;max-width:100%}.nuvo-tailwind [hidden]{display:none}.nuvo-tailwind [multiple],.nuvo-tailwind [type=date],.nuvo-tailwind [type=datetime-local],.nuvo-tailwind [type=email],.nuvo-tailwind [type=month],.nuvo-tailwind [type=number],.nuvo-tailwind [type=password],.nuvo-tailwind [type=search],.nuvo-tailwind [type=tel],.nuvo-tailwind [type=text],.nuvo-tailwind [type=time],.nuvo-tailwind [type=url],.nuvo-tailwind [type=week],.nuvo-tailwind input:where(:not([type])),.nuvo-tailwind select,.nuvo-tailwind textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.nuvo-tailwind [multiple]:focus,.nuvo-tailwind [type=date]:focus,.nuvo-tailwind [type=datetime-local]:focus,.nuvo-tailwind [type=email]:focus,.nuvo-tailwind [type=month]:focus,.nuvo-tailwind [type=number]:focus,.nuvo-tailwind [type=password]:focus,.nuvo-tailwind [type=search]:focus,.nuvo-tailwind [type=tel]:focus,.nuvo-tailwind [type=text]:focus,.nuvo-tailwind [type=time]:focus,.nuvo-tailwind [type=url]:focus,.nuvo-tailwind [type=week]:focus,.nuvo-tailwind input:where(:not([type])):focus,.nuvo-tailwind select:focus,.nuvo-tailwind textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.nuvo-tailwind input::-moz-placeholder,.nuvo-tailwind textarea::-moz-placeholder{color:#6b7280;opacity:1}.nuvo-tailwind input::placeholder,.nuvo-tailwind textarea::placeholder{color:#6b7280;opacity:1}.nuvo-tailwind ::-webkit-datetime-edit-fields-wrapper{padding:0}.nuvo-tailwind ::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}.nuvo-tailwind ::-webkit-datetime-edit{display:inline-flex}.nuvo-tailwind ::-webkit-datetime-edit,.nuvo-tailwind ::-webkit-datetime-edit-day-field,.nuvo-tailwind ::-webkit-datetime-edit-hour-field,.nuvo-tailwind ::-webkit-datetime-edit-meridiem-field,.nuvo-tailwind ::-webkit-datetime-edit-millisecond-field,.nuvo-tailwind ::-webkit-datetime-edit-minute-field,.nuvo-tailwind ::-webkit-datetime-edit-month-field,.nuvo-tailwind ::-webkit-datetime-edit-second-field,.nuvo-tailwind ::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}.nuvo-tailwind select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}.nuvo-tailwind [multiple],.nuvo-tailwind [size]:where(select:not([size="1"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}.nuvo-tailwind [type=checkbox],.nuvo-tailwind [type=radio]{--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:1rem}.nuvo-tailwind [type=checkbox]{border-radius:0}.nuvo-tailwind [type=radio]{border-radius:100%}.nuvo-tailwind [type=checkbox]:focus,.nuvo-tailwind [type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.nuvo-tailwind [type=checkbox]:checked,.nuvo-tailwind [type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}.nuvo-tailwind [type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}@media (forced-colors:active) {.nuvo-tailwind [type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}.nuvo-tailwind [type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}@media (forced-colors:active) {.nuvo-tailwind [type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}.nuvo-tailwind [type=checkbox]:checked:focus,.nuvo-tailwind [type=checkbox]:checked:hover,.nuvo-tailwind [type=radio]:checked:focus,.nuvo-tailwind [type=radio]:checked:hover{background-color:currentColor;border-color:transparent}.nuvo-tailwind [type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active) {.nuvo-tailwind [type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}.nuvo-tailwind [type=checkbox]:indeterminate:focus,.nuvo-tailwind [type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}.nuvo-tailwind [type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}.nuvo-tailwind [type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}.nuvo-tailwind *,.nuvo-tailwind :after,.nuvo-tailwind :before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.nuvo-tailwind ::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.nuvo-tailwind .pointer-events-none{pointer-events:none}.nuvo-tailwind .\\!pointer-events-auto{pointer-events:auto!important}.nuvo-tailwind .pointer-events-auto{pointer-events:auto}.nuvo-tailwind .visible{visibility:visible}.nuvo-tailwind .invisible{visibility:hidden}.nuvo-tailwind .static{position:static}.nuvo-tailwind .fixed{position:fixed}.nuvo-tailwind .absolute{position:absolute}.nuvo-tailwind .relative{position:relative}.nuvo-tailwind .sticky{position:sticky}.nuvo-tailwind .inset-0{inset:0}.nuvo-tailwind .inset-2{inset:.5rem}.nuvo-tailwind .-left-0{left:0}.nuvo-tailwind .-left-0\\.5{left:-.125rem}.nuvo-tailwind .-left-1{left:-.25rem}.nuvo-tailwind .-left-full{left:-100%}.nuvo-tailwind .-top-px{top:-1px}.nuvo-tailwind .bottom-0{bottom:0}.nuvo-tailwind .bottom-1{bottom:.25rem}.nuvo-tailwind .bottom-1\\.5{bottom:.375rem}.nuvo-tailwind .bottom-14{bottom:3.5rem}.nuvo-tailwind .bottom-20{bottom:5rem}.nuvo-tailwind .bottom-4{bottom:1rem}.nuvo-tailwind .bottom-8{bottom:2rem}.nuvo-tailwind .bottom-px{bottom:1px}.nuvo-tailwind .left-0{left:0}.nuvo-tailwind .left-1\\/2{left:50%}.nuvo-tailwind .left-3{left:.75rem}.nuvo-tailwind .left-6{left:1.5rem}.nuvo-tailwind .right-0{right:0}.nuvo-tailwind .right-2{right:.5rem}.nuvo-tailwind .right-3{right:.75rem}.nuvo-tailwind .right-8{right:2rem}.nuvo-tailwind .top-0{top:0}.nuvo-tailwind .top-1\\/2{top:50%}.nuvo-tailwind .top-3{top:.75rem}.nuvo-tailwind .top-7{top:1.75rem}.nuvo-tailwind .top-8{top:2rem}.nuvo-tailwind .top-px{top:1px}.nuvo-tailwind .\\!z-180{z-index:180!important}.nuvo-tailwind .z-10{z-index:10}.nuvo-tailwind .z-101{z-index:101}.nuvo-tailwind .z-103{z-index:103}.nuvo-tailwind .z-170{z-index:170}.nuvo-tailwind .z-180{z-index:180}.nuvo-tailwind .z-20{z-index:20}.nuvo-tailwind .z-30{z-index:30}.nuvo-tailwind .z-40{z-index:40}.nuvo-tailwind .z-50{z-index:50}.nuvo-tailwind .order-1{order:1}.nuvo-tailwind .order-2{order:2}.nuvo-tailwind .order-3{order:3}.nuvo-tailwind .\\!my-auto{margin-bottom:auto!important;margin-top:auto!important}.nuvo-tailwind .-mx-3{margin-left:-.75rem;margin-right:-.75rem}.nuvo-tailwind .mx-0{margin-left:0;margin-right:0}.nuvo-tailwind .mx-1{margin-left:.25rem;margin-right:.25rem}.nuvo-tailwind .mx-2{margin-left:.5rem;margin-right:.5rem}.nuvo-tailwind .mx-4{margin-left:1rem;margin-right:1rem}.nuvo-tailwind .mx-6{margin-left:1.5rem;margin-right:1.5rem}.nuvo-tailwind .mx-6\\.5{margin-left:26px;margin-right:26px}.nuvo-tailwind .mx-auto{margin-left:auto;margin-right:auto}.nuvo-tailwind .mx-px{margin-left:1px;margin-right:1px}.nuvo-tailwind .my-1{margin-bottom:.25rem;margin-top:.25rem}.nuvo-tailwind .my-2{margin-bottom:.5rem;margin-top:.5rem}.nuvo-tailwind .my-3{margin-bottom:.75rem;margin-top:.75rem}.nuvo-tailwind .my-4{margin-bottom:1rem;margin-top:1rem}.nuvo-tailwind .my-6{margin-bottom:1.5rem;margin-top:1.5rem}.nuvo-tailwind .my-8{margin-bottom:2rem;margin-top:2rem}.nuvo-tailwind .\\!-mt-0{margin-top:0!important}.nuvo-tailwind .\\!mb-0{margin-bottom:0!important}.nuvo-tailwind .\\!mb-3{margin-bottom:.75rem!important}.nuvo-tailwind .\\!ml-0{margin-left:0!important}.nuvo-tailwind .\\!ml-1{margin-left:.25rem!important}.nuvo-tailwind .\\!mr-0{margin-right:0!important}.nuvo-tailwind .\\!mr-2{margin-right:.5rem!important}.nuvo-tailwind .\\!mt-0{margin-top:0!important}.nuvo-tailwind .\\!mt-6{margin-top:1.5rem!important}.nuvo-tailwind .-mb-1{margin-bottom:-.25rem}.nuvo-tailwind .-ml-1{margin-left:-.25rem}.nuvo-tailwind .-ml-px{margin-left:-1px}.nuvo-tailwind .-mr-0{margin-right:0}.nuvo-tailwind .-mr-0\\.5{margin-right:-2px}.nuvo-tailwind .-mt-0{margin-top:0}.nuvo-tailwind .-mt-0\\.5{margin-top:-2px}.nuvo-tailwind .-mt-3{margin-top:-.75rem}.nuvo-tailwind .-mt-4{margin-top:-1rem}.nuvo-tailwind .-mt-7{margin-top:-1.75rem}.nuvo-tailwind .-mt-px{margin-top:-1px}.nuvo-tailwind .mb-0{margin-bottom:0}.nuvo-tailwind .mb-0\\.5{margin-bottom:2px}.nuvo-tailwind .mb-1{margin-bottom:.25rem}.nuvo-tailwind .mb-10{margin-bottom:2.5rem}.nuvo-tailwind .mb-2{margin-bottom:.5rem}.nuvo-tailwind .mb-3{margin-bottom:.75rem}.nuvo-tailwind .mb-4{margin-bottom:1rem}.nuvo-tailwind .mb-6{margin-bottom:1.5rem}.nuvo-tailwind .mb-7{margin-bottom:1.75rem}.nuvo-tailwind .mb-8{margin-bottom:2rem}.nuvo-tailwind .mb-px{margin-bottom:1px}.nuvo-tailwind .ml-0{margin-left:0}.nuvo-tailwind .ml-0\\.5{margin-left:2px}.nuvo-tailwind .ml-1{margin-left:.25rem}.nuvo-tailwind .ml-1\\.5{margin-left:6px}.nuvo-tailwind .ml-2{margin-left:.5rem}.nuvo-tailwind .ml-3{margin-left:.75rem}.nuvo-tailwind .ml-4{margin-left:1rem}.nuvo-tailwind .ml-5{margin-left:1.25rem}.nuvo-tailwind .ml-6{margin-left:1.5rem}.nuvo-tailwind .ml-auto{margin-left:auto}.nuvo-tailwind .ml-px{margin-left:1px}.nuvo-tailwind .mr-0{margin-right:0}.nuvo-tailwind .mr-0\\.5{margin-right:2px}.nuvo-tailwind .mr-1{margin-right:.25rem}.nuvo-tailwind .mr-1\\.5{margin-right:6px}.nuvo-tailwind .mr-2{margin-right:.5rem}.nuvo-tailwind .mr-3{margin-right:.75rem}.nuvo-tailwind .mr-4{margin-right:1rem}.nuvo-tailwind .mr-5{margin-right:1.25rem}.nuvo-tailwind .mr-6{margin-right:1.5rem}.nuvo-tailwind .mr-auto{margin-right:auto}.nuvo-tailwind .mt-0{margin-top:0}.nuvo-tailwind .mt-0\\.5{margin-top:2px}.nuvo-tailwind .mt-1{margin-top:.25rem}.nuvo-tailwind .mt-2{margin-top:.5rem}.nuvo-tailwind .mt-3{margin-top:.75rem}.nuvo-tailwind .mt-4{margin-top:1rem}.nuvo-tailwind .mt-5{margin-top:1.25rem}.nuvo-tailwind .mt-6{margin-top:1.5rem}.nuvo-tailwind .mt-8{margin-top:2rem}.nuvo-tailwind .mt-px{margin-top:1px}.nuvo-tailwind .\\!box-border{box-sizing:border-box!important}.nuvo-tailwind .box-border{box-sizing:border-box}.nuvo-tailwind .line-clamp-1{-webkit-line-clamp:1}.nuvo-tailwind .line-clamp-1,.nuvo-tailwind .line-clamp-2{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.nuvo-tailwind .line-clamp-2{-webkit-line-clamp:2}.nuvo-tailwind .line-clamp-4{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;overflow:hidden}.nuvo-tailwind .block{display:block}.nuvo-tailwind .\\!inline-block{display:inline-block!important}.nuvo-tailwind .inline-block{display:inline-block}.nuvo-tailwind .inline{display:inline}.nuvo-tailwind .flex{display:flex}.nuvo-tailwind .inline-flex{display:inline-flex}.nuvo-tailwind .table{display:table}.nuvo-tailwind .grid{display:grid}.nuvo-tailwind .contents{display:contents}.nuvo-tailwind .hidden{display:none}.nuvo-tailwind .\\!h-1{height:.25rem!important}.nuvo-tailwind .\\!h-4{height:1rem!important}.nuvo-tailwind .\\!h-8{height:2rem!important}.nuvo-tailwind .h-0{height:0}.nuvo-tailwind .h-10{height:2.5rem}.nuvo-tailwind .h-11{height:2.75rem}.nuvo-tailwind .h-12{height:3rem}.nuvo-tailwind .h-16{height:4rem}.nuvo-tailwind .h-2{height:.5rem}.nuvo-tailwind .h-2\\.5{height:11px}.nuvo-tailwind .h-250{height:250px}.nuvo-tailwind .h-26{height:26px}.nuvo-tailwind .h-3{height:.75rem}.nuvo-tailwind .h-38{height:38px}.nuvo-tailwind .h-4{height:1rem}.nuvo-tailwind .h-4\\.5{height:18px}.nuvo-tailwind .h-40{height:10rem}.nuvo-tailwind .h-5{height:1.25rem}.nuvo-tailwind .h-5\\.5{height:22px}.nuvo-tailwind .h-6{height:1.5rem}.nuvo-tailwind .h-60{height:15rem}.nuvo-tailwind .h-7{height:1.75rem}.nuvo-tailwind .h-79{height:79px}.nuvo-tailwind .h-8{height:2rem}.nuvo-tailwind .h-8\\.5{height:34px}.nuvo-tailwind .h-9{height:2.25rem}.nuvo-tailwind .h-auto{height:auto}.nuvo-tailwind .h-fit{height:-moz-fit-content;height:fit-content}.nuvo-tailwind .h-full{height:100%}.nuvo-tailwind .h-px{height:1px}.nuvo-tailwind .h-screen{height:100vh}.nuvo-tailwind .max-h-210{max-height:210px}.nuvo-tailwind .max-h-3\\/4{max-height:75%}.nuvo-tailwind .max-h-60{max-height:60px}.nuvo-tailwind .max-h-80{max-height:20rem}.nuvo-tailwind .max-h-full{max-height:100%}.nuvo-tailwind .\\!min-h-auto{min-height:auto!important}.nuvo-tailwind .min-h-0{min-height:0}.nuvo-tailwind .min-h-10{min-height:40px}.nuvo-tailwind .min-h-2{min-height:8px}.nuvo-tailwind .min-h-40{min-height:40px}.nuvo-tailwind .min-h-400{min-height:400px}.nuvo-tailwind .min-h-42{min-height:42px}.nuvo-tailwind .min-h-500{min-height:500px}.nuvo-tailwind .min-h-57{min-height:57px}.nuvo-tailwind .min-h-77{min-height:77px}.nuvo-tailwind .min-h-full{min-height:100%}.nuvo-tailwind .\\!w-1{width:.25rem!important}.nuvo-tailwind .\\!w-4{width:1rem!important}.nuvo-tailwind .\\!w-8{width:2rem!important}.nuvo-tailwind .\\!w-full{width:100%!important}.nuvo-tailwind .w-1{width:.25rem}.nuvo-tailwind .w-1\\/2{width:50%}.nuvo-tailwind .w-10{width:2.5rem}.nuvo-tailwind .w-12{width:3rem}.nuvo-tailwind .w-16{width:4rem}.nuvo-tailwind .w-2{width:.5rem}.nuvo-tailwind .w-2\\/4{width:50%}.nuvo-tailwind .w-20{width:5rem}.nuvo-tailwind .w-24{width:6rem}.nuvo-tailwind .w-3{width:.75rem}.nuvo-tailwind .w-3\\.5{width:.875rem}.nuvo-tailwind .w-3\\/5{width:60%}.nuvo-tailwind .w-340{width:340px}.nuvo-tailwind .w-4{width:1rem}.nuvo-tailwind .w-4\\.5{width:18px}.nuvo-tailwind .w-4\\/5{width:80%}.nuvo-tailwind .w-40{width:10rem}.nuvo-tailwind .w-400{width:400px}.nuvo-tailwind .w-44{width:11rem}.nuvo-tailwind .w-5{width:1.25rem}.nuvo-tailwind .w-50{width:182px}.nuvo-tailwind .w-52{width:13rem}.nuvo-tailwind .w-57{width:232px}.nuvo-tailwind .w-6{width:1.5rem}.nuvo-tailwind .w-72{width:18rem}.nuvo-tailwind .w-73{width:304px}.nuvo-tailwind .w-8{width:2rem}.nuvo-tailwind .w-81{width:335px}.nuvo-tailwind .w-9{width:2.25rem}.nuvo-tailwind .w-90{width:360px}.nuvo-tailwind .w-auto{width:auto}.nuvo-tailwind .w-fit{width:-moz-fit-content;width:fit-content}.nuvo-tailwind .w-full{width:100%}.nuvo-tailwind .w-max{width:-moz-max-content;width:max-content}.nuvo-tailwind .min-w-0{min-width:0}.nuvo-tailwind .min-w-2{min-width:8px}.nuvo-tailwind .min-w-204{min-width:204px}.nuvo-tailwind .min-w-240{min-width:240px}.nuvo-tailwind .min-w-50{min-width:182px}.nuvo-tailwind .min-w-52{min-width:200px}.nuvo-tailwind .\\!max-w-lg{max-width:32rem!important}.nuvo-tailwind .\\!max-w-none{max-width:none!important}.nuvo-tailwind .max-w-204{max-width:204px}.nuvo-tailwind .max-w-240{max-width:240px}.nuvo-tailwind .max-w-251{max-width:251px}.nuvo-tailwind .max-w-268{max-width:268px}.nuvo-tailwind .max-w-272{max-width:272px}.nuvo-tailwind .max-w-2xs{max-width:336px}.nuvo-tailwind .max-w-355{max-width:355px}.nuvo-tailwind .max-w-372{max-width:372px}.nuvo-tailwind .max-w-420{max-width:420px}.nuvo-tailwind .max-w-6xl{max-width:72rem}.nuvo-tailwind .max-w-full{max-width:100%}.nuvo-tailwind .max-w-md{max-width:28rem}.nuvo-tailwind .max-w-screen-3xl{max-width:1735px}.nuvo-tailwind .flex-1{flex:1 1 0%}.nuvo-tailwind .flex-auto{flex:1 1 auto}.nuvo-tailwind .flex-shrink{flex-shrink:1}.nuvo-tailwind .flex-shrink-0{flex-shrink:0}.nuvo-tailwind .flex-grow{flex-grow:1}.nuvo-tailwind .-translate-x-1\\/2{--tw-translate-x:-50%}.nuvo-tailwind .-translate-x-1\\/2,.nuvo-tailwind .-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nuvo-tailwind .-translate-y-1\\/2{--tw-translate-y:-50%}.nuvo-tailwind .-rotate-90{--tw-rotate:-90deg}.nuvo-tailwind .-rotate-90,.nuvo-tailwind .rotate-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nuvo-tailwind .rotate-0{--tw-rotate:0deg}.nuvo-tailwind .rotate-180{--tw-rotate:180deg}.nuvo-tailwind .rotate-180,.nuvo-tailwind .rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nuvo-tailwind .rotate-90{--tw-rotate:90deg}.nuvo-tailwind .scale-95{--tw-scale-x:.95;--tw-scale-y:.95}.nuvo-tailwind .scale-95,.nuvo-tailwind .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nuvo-tailwind .animate-fade{animation:fade .5s ease}@keyframes pulse{50%{opacity:.5}}.nuvo-tailwind .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.nuvo-tailwind .\\!cursor-pointer{cursor:pointer!important}.nuvo-tailwind .cursor-auto{cursor:auto}.nuvo-tailwind .cursor-default{cursor:default}.nuvo-tailwind .cursor-move{cursor:move}.nuvo-tailwind .cursor-not-allowed{cursor:not-allowed}.nuvo-tailwind .cursor-pointer{cursor:pointer}.nuvo-tailwind .resize{resize:both}.nuvo-tailwind .list-disc{list-style-type:disc}.nuvo-tailwind .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.nuvo-tailwind .flex-row{flex-direction:row}.nuvo-tailwind .flex-col{flex-direction:column}.nuvo-tailwind .flex-wrap{flex-wrap:wrap}.nuvo-tailwind .flex-nowrap{flex-wrap:nowrap}.nuvo-tailwind .items-start{align-items:flex-start}.nuvo-tailwind .items-end{align-items:flex-end}.nuvo-tailwind .items-center{align-items:center}.nuvo-tailwind .\\!items-stretch{align-items:stretch!important}.nuvo-tailwind .items-stretch{align-items:stretch}.nuvo-tailwind .justify-start{justify-content:flex-start}.nuvo-tailwind .justify-end{justify-content:flex-end}.nuvo-tailwind .justify-center{justify-content:center}.nuvo-tailwind .justify-between{justify-content:space-between}.nuvo-tailwind .gap-1{gap:.25rem}.nuvo-tailwind .gap-2{gap:.5rem}.nuvo-tailwind .gap-4{gap:1rem}.nuvo-tailwind .gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.nuvo-tailwind .gap-y-3{row-gap:.75rem}.nuvo-tailwind .space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(0px*(1 - var(--tw-space-x-reverse)));margin-right:calc(0px*var(--tw-space-x-reverse))}.nuvo-tailwind .space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.25rem*var(--tw-space-x-reverse))}.nuvo-tailwind .space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.nuvo-tailwind .space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.nuvo-tailwind .space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.nuvo-tailwind .space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.nuvo-tailwind .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.nuvo-tailwind .space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.nuvo-tailwind .divide-y-1>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.nuvo-tailwind .overflow-auto{overflow:auto}.nuvo-tailwind .overflow-hidden{overflow:hidden}.nuvo-tailwind .overflow-visible{overflow:visible}.nuvo-tailwind .overflow-x-auto{overflow-x:auto}.nuvo-tailwind .overflow-y-auto{overflow-y:auto}.nuvo-tailwind .overflow-x-hidden{overflow-x:hidden}.nuvo-tailwind .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nuvo-tailwind .whitespace-nowrap{white-space:nowrap}.nuvo-tailwind .whitespace-pre-line{white-space:pre-line}.nuvo-tailwind .break-words{overflow-wrap:break-word}.nuvo-tailwind .break-all{word-break:break-all}.nuvo-tailwind .\\!rounded-medium{border-radius:4px!important}.nuvo-tailwind .rounded{border-radius:3px}.nuvo-tailwind .rounded-2lg{border-radius:10px}.nuvo-tailwind .rounded-2xl{border-radius:1rem}.nuvo-tailwind .rounded-full{border-radius:9999px}.nuvo-tailwind .rounded-lg{border-radius:.5rem}.nuvo-tailwind .rounded-md{border-radius:.375rem}.nuvo-tailwind .rounded-medium{border-radius:4px}.nuvo-tailwind .rounded-b-lg{border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem}.nuvo-tailwind .rounded-b-medium{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.nuvo-tailwind .rounded-t-medium{border-top-left-radius:4px;border-top-right-radius:4px}.nuvo-tailwind .rounded-bl-medium{border-bottom-left-radius:4px}.nuvo-tailwind .rounded-tl-medium{border-top-left-radius:4px}.nuvo-tailwind .\\!border-0{border-width:0!important}.nuvo-tailwind .\\!border-2{border-width:2px!important}.nuvo-tailwind .border{border-width:1px}.nuvo-tailwind .border-0{border-width:0}.nuvo-tailwind .border-1{border-width:1px}.nuvo-tailwind .border-2{border-width:2px}.nuvo-tailwind .border-b{border-bottom-width:1px}.nuvo-tailwind .border-b-0{border-bottom-width:0}.nuvo-tailwind .border-b-1{border-bottom-width:1px}.nuvo-tailwind .border-l-0{border-left-width:0}.nuvo-tailwind .border-l-4{border-left-width:4px}.nuvo-tailwind .border-r-0{border-right-width:0}.nuvo-tailwind .border-r-1{border-right-width:1px}.nuvo-tailwind .border-t-0{border-top-width:0}.nuvo-tailwind .border-t-1{border-top-width:1px}.nuvo-tailwind .border-dashed{border-style:dashed}.nuvo-tailwind .border-none{border-style:none}.nuvo-tailwind .border-blue-dark-50{--tw-border-opacity:1;border-color:rgb(239 243 249/var(--tw-border-opacity))}.nuvo-tailwind .border-blue-dark-800{--tw-border-opacity:1;border-color:rgb(40 64 103/var(--tw-border-opacity))}.nuvo-tailwind .border-blue-dark-900{--tw-border-opacity:1;border-color:rgb(22 35 56/var(--tw-border-opacity))}.nuvo-tailwind .border-blue-light-100{--tw-border-opacity:1;border-color:rgb(224 234 253/var(--tw-border-opacity))}.nuvo-tailwind .border-blue-light-50{--tw-border-opacity:1;border-color:rgb(245 248 254/var(--tw-border-opacity))}.nuvo-tailwind .border-danger{--tw-border-opacity:1;border-color:rgb(208 2 27/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-100{--tw-border-opacity:1;border-color:rgb(244 245 246/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-120{--tw-border-opacity:1;border-color:rgb(242 242 242/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-210{--tw-border-opacity:1;border-color:rgb(225 225 225/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-250{--tw-border-opacity:1;border-color:rgb(221 221 221/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-260{--tw-border-opacity:1;border-color:rgb(197 197 197/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-300{--tw-border-opacity:1;border-color:rgb(179 188 192/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-450{--tw-border-opacity:1;border-color:rgb(201 207 210/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-50{--tw-border-opacity:1;border-color:rgb(251 251 251/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-560{--tw-border-opacity:1;border-color:rgb(141 141 141/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-660{--tw-border-opacity:1;border-color:rgb(56 56 56/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-700{--tw-border-opacity:1;border-color:rgb(84 84 84/var(--tw-border-opacity))}.nuvo-tailwind .border-primary{--tw-border-opacity:1;border-color:rgb(13 39 55/var(--tw-border-opacity))}.nuvo-tailwind .border-red-510{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity))}.nuvo-tailwind .border-salmon-500{--tw-border-opacity:1;border-color:rgb(237 112 112/var(--tw-border-opacity))}.nuvo-tailwind .border-transparent{border-color:transparent}.nuvo-tailwind .border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.nuvo-tailwind .border-yellow-500{--tw-border-opacity:1;border-color:rgb(255 193 22/var(--tw-border-opacity))}.nuvo-tailwind .border-yellow-800{--tw-border-opacity:1;border-color:rgb(133 77 14/var(--tw-border-opacity))}.nuvo-tailwind .\\!bg-gray-120{--tw-bg-opacity:1!important;background-color:rgb(242 242 242/var(--tw-bg-opacity))!important}.nuvo-tailwind .\\!bg-salmon-100{--tw-bg-opacity:1!important;background-color:rgb(252 234 234/var(--tw-bg-opacity))!important}.nuvo-tailwind .\\!bg-salmon-200{--tw-bg-opacity:1!important;background-color:rgb(250 212 212/var(--tw-bg-opacity))!important}.nuvo-tailwind .\\!bg-transparent{background-color:transparent!important}.nuvo-tailwind .bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-dark-100{--tw-bg-opacity:1;background-color:rgb(208 219 237/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-dark-400{--tw-bg-opacity:1;background-color:rgb(115 148 200/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-dark-50{--tw-bg-opacity:1;background-color:rgb(239 243 249/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-dark-500{--tw-bg-opacity:1;background-color:rgb(84 124 188/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-dark-800{--tw-bg-opacity:1;background-color:rgb(40 64 103/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-light-100{--tw-bg-opacity:1;background-color:rgb(224 234 253/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-light-50{--tw-bg-opacity:1;background-color:rgb(245 248 254/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-light-500{--tw-bg-opacity:1;background-color:rgb(92 142 242/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-light-900{--tw-bg-opacity:1;background-color:rgb(8 37 97/var(--tw-bg-opacity))}.nuvo-tailwind .bg-danger-light{--tw-bg-opacity:1;background-color:rgb(250 229 232/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-100{--tw-bg-opacity:1;background-color:rgb(244 245 246/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-120{--tw-bg-opacity:1;background-color:rgb(242 242 242/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-150{--tw-bg-opacity:1;background-color:rgb(241 241 245/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-300{--tw-bg-opacity:1;background-color:rgb(179 188 192/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-450{--tw-bg-opacity:1;background-color:rgb(201 207 210/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-50{--tw-bg-opacity:1;background-color:rgb(251 251 251/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-560{--tw-bg-opacity:1;background-color:rgb(141 141 141/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-660{--tw-bg-opacity:1;background-color:rgb(56 56 56/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-700{--tw-bg-opacity:1;background-color:rgb(84 84 84/var(--tw-bg-opacity))}.nuvo-tailwind .bg-green-510{--tw-bg-opacity:1;background-color:rgb(16 185 129/var(--tw-bg-opacity))}.nuvo-tailwind .bg-info-gray{--tw-bg-opacity:1;background-color:rgb(103 117 124/var(--tw-bg-opacity))}.nuvo-tailwind .bg-primary{--tw-bg-opacity:1;background-color:rgb(13 39 55/var(--tw-bg-opacity))}.nuvo-tailwind .bg-priority-bg{--tw-bg-opacity:1;background-color:rgb(249 249 249/var(--tw-bg-opacity))}.nuvo-tailwind .bg-red-510{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.nuvo-tailwind .bg-red-60{--tw-bg-opacity:1;background-color:rgb(252 242 243/var(--tw-bg-opacity))}.nuvo-tailwind .bg-salmon-100{--tw-bg-opacity:1;background-color:rgb(252 234 234/var(--tw-bg-opacity))}.nuvo-tailwind .bg-salmon-500{--tw-bg-opacity:1;background-color:rgb(237 112 112/var(--tw-bg-opacity))}.nuvo-tailwind .bg-transparent{background-color:transparent}.nuvo-tailwind .bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.nuvo-tailwind .bg-yellow-200{--tw-bg-opacity:1;background-color:rgb(255 232 168/var(--tw-bg-opacity))}.nuvo-tailwind .bg-yellow-500{--tw-bg-opacity:1;background-color:rgb(255 193 22/var(--tw-bg-opacity))}.nuvo-tailwind .bg-opacity-40{--tw-bg-opacity:0.4}.nuvo-tailwind .bg-opacity-50{--tw-bg-opacity:0.5}.nuvo-tailwind .bg-opacity-60{--tw-bg-opacity:0.6}.nuvo-tailwind .bg-opacity-75{--tw-bg-opacity:0.75}.nuvo-tailwind .bg-contain{background-size:contain}.nuvo-tailwind .bg-center{background-position:50%}.nuvo-tailwind .bg-no-repeat{background-repeat:no-repeat}.nuvo-tailwind .object-contain{-o-object-fit:contain;object-fit:contain}.nuvo-tailwind .\\!p-0{padding:0!important}.nuvo-tailwind .p-1{padding:.25rem}.nuvo-tailwind .p-10{padding:2.5rem}.nuvo-tailwind .p-2{padding:.5rem}.nuvo-tailwind .p-2\\.5{padding:9.5px}.nuvo-tailwind .p-3{padding:.75rem}.nuvo-tailwind .p-4{padding:1rem}.nuvo-tailwind .p-6{padding:1.5rem}.nuvo-tailwind .p-8{padding:2rem}.nuvo-tailwind .\\!px-0{padding-left:0!important;padding-right:0!important}.nuvo-tailwind .\\!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.nuvo-tailwind .\\!px-3{padding-left:.75rem!important;padding-right:.75rem!important}.nuvo-tailwind .\\!px-4{padding-left:1rem!important;padding-right:1rem!important}.nuvo-tailwind .\\!px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.nuvo-tailwind .\\!px-8{padding-left:2rem!important;padding-right:2rem!important}.nuvo-tailwind .px-0{padding-left:0;padding-right:0}.nuvo-tailwind .px-1{padding-left:.25rem;padding-right:.25rem}.nuvo-tailwind .px-1\\.5{padding-left:.375rem;padding-right:.375rem}.nuvo-tailwind .px-2{padding-left:.5rem;padding-right:.5rem}.nuvo-tailwind .px-2\\.5{padding-left:9.5px;padding-right:9.5px}.nuvo-tailwind .px-3{padding-left:.75rem;padding-right:.75rem}.nuvo-tailwind .px-4{padding-left:1rem;padding-right:1rem}.nuvo-tailwind .px-5{padding-left:1.25rem;padding-right:1.25rem}.nuvo-tailwind .px-6{padding-left:1.5rem;padding-right:1.5rem}.nuvo-tailwind .px-7{padding-left:1.75rem;padding-right:1.75rem}.nuvo-tailwind .px-8{padding-left:2rem;padding-right:2rem}.nuvo-tailwind .py-0{padding-bottom:0;padding-top:0}.nuvo-tailwind .py-0\\.5{padding-bottom:.125rem;padding-top:.125rem}.nuvo-tailwind .py-1{padding-bottom:.25rem;padding-top:.25rem}.nuvo-tailwind .py-1\\.5{padding-bottom:.375rem;padding-top:.375rem}.nuvo-tailwind .py-10px{padding-bottom:10px;padding-top:10px}.nuvo-tailwind .py-12{padding-bottom:3rem;padding-top:3rem}.nuvo-tailwind .py-2{padding-bottom:.5rem;padding-top:.5rem}.nuvo-tailwind .py-2\\.3{padding-bottom:6px;padding-top:6px}.nuvo-tailwind .py-2\\.5{padding-bottom:9.5px;padding-top:9.5px}.nuvo-tailwind .py-24{padding-bottom:6rem;padding-top:6rem}.nuvo-tailwind .py-3{padding-bottom:.75rem;padding-top:.75rem}.nuvo-tailwind .py-4{padding-bottom:1rem;padding-top:1rem}.nuvo-tailwind .py-5{padding-bottom:1.25rem;padding-top:1.25rem}.nuvo-tailwind .py-6{padding-bottom:1.5rem;padding-top:1.5rem}.nuvo-tailwind .py-7{padding-bottom:1.75rem;padding-top:1.75rem}.nuvo-tailwind .py-sm{padding-bottom:6px;padding-top:6px}.nuvo-tailwind .\\!pb-0{padding-bottom:0!important}.nuvo-tailwind .\\!pb-2{padding-bottom:.5rem!important}.nuvo-tailwind .\\!pb-3{padding-bottom:.75rem!important}.nuvo-tailwind .pb-0{padding-bottom:0}.nuvo-tailwind .pb-0\\.5{padding-bottom:.125rem}.nuvo-tailwind .pb-1{padding-bottom:.25rem}.nuvo-tailwind .pb-2{padding-bottom:.5rem}.nuvo-tailwind .pb-24{padding-bottom:6rem}.nuvo-tailwind .pb-3{padding-bottom:.75rem}.nuvo-tailwind .pb-32{padding-bottom:8rem}.nuvo-tailwind .pb-4{padding-bottom:1rem}.nuvo-tailwind .pb-4\\.5{padding-bottom:18px}.nuvo-tailwind .pb-6{padding-bottom:1.5rem}.nuvo-tailwind .pb-8{padding-bottom:2rem}.nuvo-tailwind .pl-0{padding-left:0}.nuvo-tailwind .pl-0\\.5{padding-left:.125rem}.nuvo-tailwind .pl-1{padding-left:.25rem}.nuvo-tailwind .pl-2{padding-left:.5rem}.nuvo-tailwind .pl-3{padding-left:.75rem}.nuvo-tailwind .pl-3\\.5{padding-left:.875rem}.nuvo-tailwind .pl-4{padding-left:1rem}.nuvo-tailwind .pl-4\\.5{padding-left:18px}.nuvo-tailwind .pl-8{padding-left:2rem}.nuvo-tailwind .pr-1{padding-right:.25rem}.nuvo-tailwind .pr-10{padding-right:2.5rem}.nuvo-tailwind .pr-12{padding-right:3rem}.nuvo-tailwind .pr-2{padding-right:.5rem}.nuvo-tailwind .pr-2\\.5{padding-right:9.5px}.nuvo-tailwind .pr-3{padding-right:.75rem}.nuvo-tailwind .pr-4{padding-right:1rem}.nuvo-tailwind .pr-5{padding-right:1.25rem}.nuvo-tailwind .pr-6{padding-right:1.5rem}.nuvo-tailwind .pr-7{padding-right:1.75rem}.nuvo-tailwind .pr-8{padding-right:2rem}.nuvo-tailwind .pt-0{padding-top:0}.nuvo-tailwind .pt-1{padding-top:.25rem}.nuvo-tailwind .pt-10{padding-top:2.5rem}.nuvo-tailwind .pt-2{padding-top:.5rem}.nuvo-tailwind .pt-22\\.5{padding-top:90px}.nuvo-tailwind .pt-3{padding-top:.75rem}.nuvo-tailwind .pt-4{padding-top:1rem}.nuvo-tailwind .pt-4\\.5{padding-top:18px}.nuvo-tailwind .pt-6{padding-top:1.5rem}.nuvo-tailwind .pt-8{padding-top:2rem}.nuvo-tailwind .text-left{text-align:left}.nuvo-tailwind .text-center{text-align:center}.nuvo-tailwind .text-right{text-align:right}.nuvo-tailwind .align-top{vertical-align:top}.nuvo-tailwind .align-middle{vertical-align:middle}.nuvo-tailwind .align-bottom{vertical-align:bottom}.nuvo-tailwind .\\!text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.nuvo-tailwind .\\!text-sm{font-size:.875rem!important;line-height:1.25rem!important}.nuvo-tailwind .\\!text-xs{font-size:.75rem!important;line-height:1rem!important}.nuvo-tailwind .text-2\\.5xl{font-size:28px;line-height:34px}.nuvo-tailwind .text-2xl{font-size:1.5rem;line-height:2rem}.nuvo-tailwind .text-4\\.5xl{font-size:39px;line-height:47px}.nuvo-tailwind .text-base{font-size:16px;line-height:19px}.nuvo-tailwind .text-lg{font-size:1.125rem;line-height:1.75rem}.nuvo-tailwind .text-sbase{font-size:15px}.nuvo-tailwind .text-sm{font-size:.875rem;line-height:1.25rem}.nuvo-tailwind .text-small{font-size:12px}.nuvo-tailwind .text-xl{font-size:1.25rem;line-height:1.75rem}.nuvo-tailwind .text-xs{font-size:.75rem;line-height:1rem}.nuvo-tailwind .text-xsmall{font-size:14px;line-height:17px}.nuvo-tailwind .text-xss{font-size:10px}.nuvo-tailwind .text-xssmall{font-size:13px;line-height:15px}.nuvo-tailwind .\\!font-normal{font-weight:400!important}.nuvo-tailwind .font-bold{font-weight:700}.nuvo-tailwind .font-light{font-weight:300}.nuvo-tailwind .font-medium{font-weight:500}.nuvo-tailwind .font-normal{font-weight:400}.nuvo-tailwind .font-semibold{font-weight:600}.nuvo-tailwind .uppercase{text-transform:uppercase}.nuvo-tailwind .lowercase{text-transform:lowercase}.nuvo-tailwind .capitalize{text-transform:capitalize}.nuvo-tailwind .italic{font-style:italic}.nuvo-tailwind .\\!leading-3{line-height:.75rem!important}.nuvo-tailwind .\\!leading-3\\.5{line-height:14px!important}.nuvo-tailwind .\\!leading-5{line-height:1.25rem!important}.nuvo-tailwind .\\!leading-5\\.5{line-height:17px!important}.nuvo-tailwind .leading-3{line-height:.75rem}.nuvo-tailwind .leading-3\\.5{line-height:14px}.nuvo-tailwind .leading-4{line-height:1rem}.nuvo-tailwind .leading-4\\.5{line-height:15px}.nuvo-tailwind .leading-5{line-height:1.25rem}.nuvo-tailwind .leading-5\\.5{line-height:17px}.nuvo-tailwind .leading-6{line-height:1.5rem}.nuvo-tailwind .leading-8{line-height:2rem}.nuvo-tailwind .leading-none{line-height:1}.nuvo-tailwind .tracking-wide{letter-spacing:.025em}.nuvo-tailwind .\\!text-gray-260{--tw-text-opacity:1!important;color:rgb(197 197 197/var(--tw-text-opacity))!important}.nuvo-tailwind .\\!text-gray-50{--tw-text-opacity:1!important;color:rgb(251 251 251/var(--tw-text-opacity))!important}.nuvo-tailwind .\\!text-gray-510{--tw-text-opacity:1!important;color:rgb(136 149 156/var(--tw-text-opacity))!important}.nuvo-tailwind .\\!text-gray-560{--tw-text-opacity:1!important;color:rgb(141 141 141/var(--tw-text-opacity))!important}.nuvo-tailwind .\\!text-neutral-600{--tw-text-opacity:1!important;color:rgb(113 113 113/var(--tw-text-opacity))!important}.nuvo-tailwind .\\!text-neutral-gray{--tw-text-opacity:1!important;color:rgb(45 45 45/var(--tw-text-opacity))!important}.nuvo-tailwind .\\!text-salmon-500{--tw-text-opacity:1!important;color:rgb(237 112 112/var(--tw-text-opacity))!important}.nuvo-tailwind .text-blue-dark-900{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity))}.nuvo-tailwind .text-blue-light-500{--tw-text-opacity:1;color:rgb(92 142 242/var(--tw-text-opacity))}.nuvo-tailwind .text-blue-light-600{--tw-text-opacity:1;color:rgb(53 115 239/var(--tw-text-opacity))}.nuvo-tailwind .text-danger{--tw-text-opacity:1;color:rgb(208 2 27/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-260{--tw-text-opacity:1;color:rgb(197 197 197/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-310{--tw-text-opacity:1;color:rgb(44 50 53/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-410{--tw-text-opacity:1;color:rgb(169 169 169/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-510{--tw-text-opacity:1;color:rgb(136 149 156/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-560{--tw-text-opacity:1;color:rgb(141 141 141/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-660{--tw-text-opacity:1;color:rgb(56 56 56/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-700{--tw-text-opacity:1;color:rgb(84 84 84/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-970{--tw-text-opacity:1;color:rgb(113 113 113/var(--tw-text-opacity))}.nuvo-tailwind .text-green-400{--tw-text-opacity:1;color:rgb(52 211 153/var(--tw-text-opacity))}.nuvo-tailwind .text-green-510{--tw-text-opacity:1;color:rgb(16 185 129/var(--tw-text-opacity))}.nuvo-tailwind .text-neutral-600{--tw-text-opacity:1;color:rgb(113 113 113/var(--tw-text-opacity))}.nuvo-tailwind .text-neutral-gray{--tw-text-opacity:1;color:rgb(45 45 45/var(--tw-text-opacity))}.nuvo-tailwind .text-primary{--tw-text-opacity:1;color:rgb(13 39 55/var(--tw-text-opacity))}.nuvo-tailwind .text-red-500,.nuvo-tailwind .text-red-510{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.nuvo-tailwind .text-salmon-50{--tw-text-opacity:1;color:rgb(254 248 248/var(--tw-text-opacity))}.nuvo-tailwind .text-salmon-500{--tw-text-opacity:1;color:rgb(237 112 112/var(--tw-text-opacity))}.nuvo-tailwind .text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.nuvo-tailwind .text-yellow-500{--tw-text-opacity:1;color:rgb(255 193 22/var(--tw-text-opacity))}.nuvo-tailwind .text-yellow-800{--tw-text-opacity:1;color:rgb(133 77 14/var(--tw-text-opacity))}.nuvo-tailwind .underline{text-decoration-line:underline}.nuvo-tailwind .placeholder-gray-410::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(169 169 169/var(--tw-placeholder-opacity))}.nuvo-tailwind .placeholder-gray-410::placeholder{--tw-placeholder-opacity:1;color:rgb(169 169 169/var(--tw-placeholder-opacity))}.nuvo-tailwind .placeholder-gray-560::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(141 141 141/var(--tw-placeholder-opacity))}.nuvo-tailwind .placeholder-gray-560::placeholder{--tw-placeholder-opacity:1;color:rgb(141 141 141/var(--tw-placeholder-opacity))}.nuvo-tailwind .\\!opacity-100{opacity:1!important}.nuvo-tailwind .opacity-0{opacity:0}.nuvo-tailwind .opacity-100{opacity:1}.nuvo-tailwind .opacity-20{opacity:.2}.nuvo-tailwind .opacity-40{opacity:.4}.nuvo-tailwind .opacity-50{opacity:.5}.nuvo-tailwind .shadow-card{--tw-shadow:0px 10px 20px rgba(33,75,134,.09);--tw-shadow-colored:0px 10px 20px var(--tw-shadow-color)}.nuvo-tailwind .shadow-card,.nuvo-tailwind .shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nuvo-tailwind .shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.nuvo-tailwind .shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.nuvo-tailwind .shadow-none,.nuvo-tailwind .shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nuvo-tailwind .shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)}.nuvo-tailwind .outline-none{outline:2px solid transparent;outline-offset:2px}.nuvo-tailwind .outline{outline-style:solid}.nuvo-tailwind .ring-transparent{--tw-ring-color:transparent}.nuvo-tailwind .blur{--tw-blur:blur(8px)}.nuvo-tailwind .blur,.nuvo-tailwind .drop-shadow{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.nuvo-tailwind .drop-shadow{--tw-drop-shadow:drop-shadow(0 1px 2px rgba(0,0,0,.1)) drop-shadow(0 1px 1px rgba(0,0,0,.06))}.nuvo-tailwind .grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.nuvo-tailwind .\\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.nuvo-tailwind .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.nuvo-tailwind .backdrop-filter{backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.nuvo-tailwind .transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nuvo-tailwind .transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nuvo-tailwind .transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nuvo-tailwind .transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nuvo-tailwind .transition-width{transition-duration:.15s;transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nuvo-tailwind .duration-300{transition-duration:.3s}.nuvo-tailwind .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.nuvo-tailwind .ease-linear{transition-timing-function:linear}.nuvo-tailwind .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.nuvo-tailwind .will-change-auto{will-change:auto}.nuvo-tailwind .will-change-transform{will-change:transform}.nuvo-tailwind .last\\:rounded-b-medium:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.nuvo-tailwind .hover\\:border-blue-light-300:hover{--tw-border-opacity:1;border-color:rgb(163 191 248/var(--tw-border-opacity))}.nuvo-tailwind .hover\\:border-salmon-700:hover{--tw-border-opacity:1;border-color:rgb(186 23 23/var(--tw-border-opacity))}.nuvo-tailwind .hover\\:border-yellow-700:hover{--tw-border-opacity:1;border-color:rgb(161 98 7/var(--tw-border-opacity))}.nuvo-tailwind .hover\\:bg-blue-dark-50:hover{--tw-bg-opacity:1;background-color:rgb(239 243 249/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-blue-light-100:hover{--tw-bg-opacity:1;background-color:rgb(224 234 253/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-blue-light-200:hover{--tw-bg-opacity:1;background-color:rgb(194 213 250/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-blue-light-50:hover{--tw-bg-opacity:1;background-color:rgb(245 248 254/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-blue-light-700:hover{--tw-bg-opacity:1;background-color:rgb(17 82 213/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-blue-light-800:hover{--tw-bg-opacity:1;background-color:rgb(12 60 155/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-gray-110:hover{--tw-bg-opacity:1;background-color:rgb(245 245 245/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(251 251 251/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-gray-55:hover{--tw-bg-opacity:1;background-color:rgb(249 249 249/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:text-blue-dark-900:hover{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity))}.nuvo-tailwind .hover\\:text-blue-light-500:hover{--tw-text-opacity:1;color:rgb(92 142 242/var(--tw-text-opacity))}.nuvo-tailwind .hover\\:text-blue-light-700:hover{--tw-text-opacity:1;color:rgb(17 82 213/var(--tw-text-opacity))}.nuvo-tailwind .hover\\:text-gray-500:hover{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.nuvo-tailwind .hover\\:text-gray-560:hover{--tw-text-opacity:1;color:rgb(141 141 141/var(--tw-text-opacity))}.nuvo-tailwind .hover\\:text-gray-970:hover{--tw-text-opacity:1;color:rgb(113 113 113/var(--tw-text-opacity))}.nuvo-tailwind .hover\\:opacity-100:hover{opacity:1}.nuvo-tailwind .focus\\:border-blue-dark-900:focus{--tw-border-opacity:1;border-color:rgb(22 35 56/var(--tw-border-opacity))}.nuvo-tailwind .focus\\:border-danger:focus{--tw-border-opacity:1;border-color:rgb(208 2 27/var(--tw-border-opacity))}.nuvo-tailwind .focus\\:border-primary:focus{--tw-border-opacity:1;border-color:rgb(13 39 55/var(--tw-border-opacity))}.nuvo-tailwind .focus\\:border-yellow-800:focus{--tw-border-opacity:1;border-color:rgb(133 77 14/var(--tw-border-opacity))}.nuvo-tailwind .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.nuvo-tailwind .focus\\:ring-0:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.nuvo-tailwind .focus\\:ring-white:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(255 255 255/var(--tw-ring-opacity))}.nuvo-tailwind .disabled\\:cursor-auto:disabled{cursor:auto}.nuvo-tailwind .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.nuvo-tailwind .disabled\\:border-gray-260:disabled{--tw-border-opacity:1;border-color:rgb(197 197 197/var(--tw-border-opacity))}.nuvo-tailwind .disabled\\:border-gray-400:disabled{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.nuvo-tailwind .disabled\\:bg-gray-120:disabled{--tw-bg-opacity:1;background-color:rgb(242 242 242/var(--tw-bg-opacity))}.nuvo-tailwind .disabled\\:bg-gray-50:disabled{--tw-bg-opacity:1;background-color:rgb(251 251 251/var(--tw-bg-opacity))}.nuvo-tailwind .disabled\\:bg-transparent:disabled{background-color:transparent}.nuvo-tailwind .disabled\\:text-gray-260:disabled{--tw-text-opacity:1;color:rgb(197 197 197/var(--tw-text-opacity))}.nuvo-tailwind .disabled\\:text-gray-560:disabled{--tw-text-opacity:1;color:rgb(141 141 141/var(--tw-text-opacity))}.nuvo-tailwind .disabled\\:opacity-70:disabled{opacity:.7}.nuvo-tailwind .disabled\\:opacity-75:disabled{opacity:.75}.nuvo-tailwind .disabled\\:opacity-80:disabled{opacity:.8}.nuvo-tailwind .group:hover .group-hover\\:visible{visibility:visible}.nuvo-tailwind :is(.dark .dark\\:bg-gray-700){--tw-bg-opacity:1;background-color:rgb(84 84 84/var(--tw-bg-opacity))}@media (min-width:640px){.nuvo-tailwind .sm\\:mt-0{margin-top:0}.nuvo-tailwind .sm\\:\\!max-w-440{max-width:440px!important}.nuvo-tailwind .sm\\:\\!max-w-480{max-width:480px!important}.nuvo-tailwind .sm\\:max-w-1{max-width:.25rem}.nuvo-tailwind .sm\\:max-w-1\\.7xl{max-width:640px}.nuvo-tailwind .sm\\:max-w-505{max-width:505px}.nuvo-tailwind .sm\\:max-w-xl{max-width:36rem}.nuvo-tailwind .sm\\:p-0{padding:0}.nuvo-tailwind .sm\\:align-middle{vertical-align:middle}}@media (min-width:768px){.nuvo-tailwind .md\\:mx-4{margin-left:1rem;margin-right:1rem}.nuvo-tailwind .md\\:mb-0{margin-bottom:0}.nuvo-tailwind .md\\:mt-0{margin-top:0}.nuvo-tailwind .md\\:block{display:block}.nuvo-tailwind .md\\:max-w-355{max-width:355px}.nuvo-tailwind .md\\:flex-wrap{flex-wrap:wrap}.nuvo-tailwind .md\\:px-3{padding-left:.75rem;padding-right:.75rem}.nuvo-tailwind .md\\:align-top{vertical-align:top}.nuvo-tailwind .md\\:align-middle{vertical-align:middle}.nuvo-tailwind .md\\:align-bottom{vertical-align:bottom}.nuvo-tailwind .md\\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width:1024px){.nuvo-tailwind .lg\\:-mx-8{margin-left:-2rem;margin-right:-2rem}.nuvo-tailwind .lg\\:flex{display:flex}.nuvo-tailwind .lg\\:min-w-50{min-width:182px}.nuvo-tailwind .lg\\:flex-row{flex-direction:row}.nuvo-tailwind .lg\\:flex-nowrap{flex-wrap:nowrap}.nuvo-tailwind .lg\\:items-center{align-items:center}.nuvo-tailwind .lg\\:justify-center{justify-content:center}.nuvo-tailwind .lg\\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.nuvo-tailwind .lg\\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px*var(--tw-space-y-reverse));margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))}.nuvo-tailwind .lg\\:\\!px-0{padding-left:0!important;padding-right:0!important}.nuvo-tailwind .lg\\:px-8{padding-left:2rem;padding-right:2rem}}@media (min-width:375px){.nuvo-tailwind .xss\\:mr-4{margin-right:1rem}.nuvo-tailwind .xss\\:mt-0{margin-top:0}.nuvo-tailwind .xss\\:flex{display:flex}.nuvo-tailwind .xss\\:pb-2{padding-bottom:.5rem}.nuvo-tailwind .xss\\:pb-7{padding-bottom:1.75rem}}@media (min-width:468px){.nuvo-tailwind .xsmd\\:w-auto{width:auto}}@media (min-width:740px){.nuvo-tailwind .xssmd\\:w-14{width:3.5rem}.nuvo-tailwind .xssmd\\:pl-4{padding-left:1rem}}@media (min-width:820px){.nuvo-tailwind .smmd\\:right-5{right:1.25rem}.nuvo-tailwind .smmd\\:top-7{top:1.75rem}.nuvo-tailwind .smmd\\:pr-14{padding-right:3.5rem}}@media (min-width:885px){.nuvo-tailwind .smd\\:order-1{order:1}.nuvo-tailwind .smd\\:flex-row{flex-direction:row}}@media (min-width:990px){.nuvo-tailwind .large\\:grid{display:grid}.nuvo-tailwind .large\\:min-w-100{min-width:400px}.nuvo-tailwind .large\\:pb-0{padding-bottom:0}.nuvo-tailwind .large\\:pb-10{padding-bottom:2.5rem}.nuvo-tailwind .large\\:pb-2{padding-bottom:.5rem}.nuvo-tailwind .large\\:pl-0{padding-left:0}.nuvo-tailwind .large\\:pt-0{padding-top:0}}@media (min-width:1190px){.nuvo-tailwind .mmd\\:right-7{right:1.75rem}.nuvo-tailwind .mmd\\:top-7{top:1.75rem}.nuvo-tailwind .mmd\\:mb-3{margin-bottom:.75rem}.nuvo-tailwind .mmd\\:pr-14{padding-right:3.5rem}}@media (min-width:1440px){.nuvo-tailwind .\\33xl\\:py-2{padding-bottom:.5rem;padding-top:.5rem}.nuvo-tailwind .\\33xl\\:pt-1{padding-top:.25rem}}@media (min-width:1441px){.nuvo-tailwind .min3xl\\:p-5{padding:1.25rem}}@media (min-width:1920px){.nuvo-tailwind .\\34xl\\:max-h-72{max-height:18rem}}.nuvo-tailwind *{-webkit-touch-callout:none;outline:none;scrollbar-color:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none}.nuvo-tailwind input,.nuvo-tailwind textarea{-webkit-user-select:text;-moz-user-select:text;user-select:text}.nuvo-tailwind .loader{animation:spin 1.2s linear infinite;border:16px solid rgba(92,142,242,.3);border-radius:50%;border-top-color:#5c8ef2;height:100px;margin:auto;position:relative;top:16px;width:100px}.nuvo-tailwind .loader:before{--rad:radial-gradient(circle 7.5px,#5c8ef2 99%,transparent 100%);background:var(--rad) left -17px top 0,var(--rad) right -17px top 0;background-size:224% 100%;content:"";height:19px;left:-4px;position:absolute;top:-4.9px;width:111%}@keyframes spin{to{transform:rotate(1turn)}}.nuvo-tailwind .circle-loader{border:3px solid;border-radius:50%;display:inline-block;height:20px;margin:auto;position:relative;width:20px}.nuvo-tailwind .animate-loader,.nuvo-tailwind .circle-loader{animation:spin 1.2s linear infinite}@keyframes progress{to{transform:translateX(100%)}}.nuvo-tailwind .translate-by-keyframe{animation:progress 1.5s linear forwards}`));document.head.appendChild(by);var wy=document.createElement("style");wy.type="text/css";wy.appendChild(document.createTextNode(".nuvo-tailwind .dropdown-scroll .simplebar-scrollbar{height:5px;top:0}.nuvo-tailwind .dropdown-scroll .simplebar-scrollbar:before{inset:0}.nuvo-tailwind .dropdown-scroll .simplebar-track{background-color:#f4f4f4;border-radius:60px;pointer-events:auto}.nuvo-tailwind .dropdown-scroll .simplebar-track>.simplebar-scrollbar:before{background-color:#b9b9b9;border-radius:60px;opacity:1!important}.nuvo-tailwind .dropdown-scroll .simplebar-track.simplebar-vertical{bottom:8px;top:8px;transform:translateX(-3px);width:5px}.nuvo-tailwind .dropdown-scroll .simplebar-track.simplebar-vertical .simplebar-scrollbar:before{inset:0}.nuvo-tailwind .dropdown-scroll .simplebar-track.simplebar-horizontal{height:5px;transform:translateY(5px)}.nuvo-tailwind .dropdown-scroll .simplebar-track.simplebar-horizontal .simplebar-scrollbar{height:5px;top:8px}.nuvo-tailwind .dropdown-scroll .simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{inset:0}"));document.head.appendChild(wy);var yy=document.createElement("style");yy.type="text/css";yy.appendChild(document.createTextNode(".nuvo-tailwind #review-entries-table{height:100%}.nuvo-tailwind .handsontable:not(.htHorizontallyScrollableByWindow) .ht_master .wtHolder,.nuvo-tailwind .handsontable:not(.htVerticallyScrollableByWindow) .ht_master .wtHolder{background:inherit}.nuvo-tailwind .data-review .handsontable{color:var(--globals-text-color);font-family:var(--globals-font-family)}.nuvo-tailwind .data-review .handsontable:not(.htHorizontallyScrollableByWindow) .ht_master .wtHolder,.nuvo-tailwind .data-review .handsontable:not(.htVerticallyScrollableByWindow) .ht_master .wtHolder{background:inherit}.nuvo-tailwind .data-review .handsontable tbody tr th.ht__active_highlight,.nuvo-tailwind .data-review .handsontable tbody tr.ht__row_odd th.ht__active_highlight{box-shadow:inherit!important;color:inherit!important}.nuvo-tailwind .data-review .handsontable thead th .relative{height:100%;padding:0!important}.nuvo-tailwind .data-review .handsontable thead th .colHeader{display:flex;flex-direction:column;height:100%;width:100%}.nuvo-tailwind .data-review .handsontable thead th .colHeader .title-header{align-items:center;display:flex;flex:1 1 0%;justify-items:flex-start;position:relative;width:auto}.nuvo-tailwind .data-review .handsontable thead tr th:first-child{position:relative}.nuvo-tailwind .data-review .handsontable thead tr th:first-child:before{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(201 207 210/var(--tw-bg-opacity));border-top-width:1px;bottom:0;color:rgb(44 50 53/var(--tw-text-opacity));font-size:.875rem;font-weight:400;height:33px;left:0;line-height:1.25rem;line-height:2rem;position:absolute;right:0;text-align:center;z-index:10}.nuvo-tailwind .data-review .handsontable thead th .colHeader .example-header{border-top-width:1px;box-sizing:border-box;flex-shrink:0;height:33px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.nuvo-tailwind .data-review .handsontable .htAutocomplete{--tw-border-opacity:1;border-color:rgb(221 221 221/var(--tw-border-opacity));position:relative}.nuvo-tailwind .data-review .handsontable .htAutocompleteArrow{height:100%!important;max-height:28px;width:100%!important}.nuvo-tailwind .data-review .handsontable .htAutocompleteArrow,.nuvo-tailwind .data-review .handsontable .htAutocompleteArrow:hover{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity))}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-error{--ht-row-cell-odd-background-color:#fff1f0;--ht-row-cell-even-background-color:#fff1f0;--ht-cell-read-only-background-color:#fff1f0}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-warning{--ht-row-cell-odd-background-color:#fffbe6;--ht-row-cell-even-background-color:#fffbe6;--ht-cell-read-only-background-color:#fffbe6}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-info{--ht-row-cell-odd-background-color:#f0f9ff;--ht-row-cell-even-background-color:#f0f9ff;--ht-cell-read-only-background-color:#f0f9ff}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-disabled{--ht-row-cell-odd-background-color:#fafafa;--ht-row-cell-even-background-color:#fafafa;--ht-cell-read-only-background-color:#fafafa}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-error:hover{--ht-row-cell-odd-background-color:#fad4d4;--ht-row-cell-even-background-color:#fad4d4;--ht-cell-read-only-background-color:#fad4d4}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-warning:hover{--ht-row-cell-odd-background-color:#ffe8a8;--ht-row-cell-even-background-color:#ffe8a8;--ht-cell-read-only-background-color:#ffe8a8}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-info:hover{--ht-row-cell-odd-background-color:#c2d5fa;--ht-row-cell-even-background-color:#c2d5fa;--ht-cell-read-only-background-color:#c2d5fa}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-disabled:hover{--ht-row-cell-odd-background-color:#fff;--ht-row-cell-even-background-color:#fff;--ht-cell-read-only-background-color:#fff}.nuvo-tailwind .custom-dropdown-boolean-renderer,.nuvo-tailwind .custom-dropdown-renderer{padding-right:16px}.nuvo-tailwind .custom-dropdown-boolean-renderer-text-element,.nuvo-tailwind .custom-dropdown-renderer-text-element{background-color:transparent!important;padding-top:4px}.nuvo-tailwind .data-review .hide-arrow-btn{align-items:center;background-color:#fff;border:1px solid #f2f2f2;border-bottom-left-radius:4px;border-right-width:0;border-top-left-radius:4px;cursor:pointer;display:flex;height:12px;justify-content:center;position:absolute;right:0;top:50%;transform:translateY(-50%);width:12px}.nuvo-tailwind .data-review .hide-arrow-btn.hide-icon-left{left:0;right:auto;transform:translateY(-50%) rotate(180deg)}.nuvo-tailwind .data-review .handsontable td>div.custom-dropdown-boolean-renderer>.close-icon *,.nuvo-tailwind .data-review .handsontable td>div.custom-dropdown-renderer>.close-icon *{color:#c5c5c5}.nuvo-tailwind .data-review .handsontable td.default-cell.current.highlight>div>.arrow-down-icon,.nuvo-tailwind .data-review .handsontable td.error-cell.current.highlight>div>.arrow-down-icon,.nuvo-tailwind .data-review .handsontable td.info-cell.current.highlight>div>.arrow-down-icon,.nuvo-tailwind .data-review .handsontable td.warning-cell.current.highlight>div>.arrow-down-icon{padding-left:0!important}.nuvo-tailwind .data-review .handsontable td.disabled-cell #dropdown-arrow-icon svg{--tw-text-opacity:1;color:rgb(197 197 197/var(--tw-text-opacity))}.nuvo-tailwind .data-review .handsontable td.error-cell #dropdown-arrow-icon svg{--tw-text-opacity:1;color:rgb(237 112 112/var(--tw-text-opacity))}.nuvo-tailwind .data-review .handsontable td.warning-cell #dropdown-arrow-icon svg{--tw-text-opacity:1;color:rgb(255 193 22/var(--tw-text-opacity))}.nuvo-tailwind .data-review .handsontable td.default-cell #dropdown-arrow-icon,.nuvo-tailwind .data-review .handsontable td.default-cell #dropdown-arrow-icon svg{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity))}.nuvo-tailwind .data-review .handsontable .ht_clone_top_inline_start_corner{z-index:10}.nuvo-tailwind .data-review .ht_master.handsontable .wtHolder::-webkit-scrollbar{height:.5rem!important;width:.5rem!important}.nuvo-tailwind .data-review .ht_master.handsontable .wtHolder::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px;width:.375rem!important}.nuvo-tailwind .data-review .ht_clone_inline_start .wtHolder::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}.nuvo-tailwind .data-review .ht_master.handsontable .wtHolder::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}.nuvo-tailwind .data-review::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#818b99;border:0 solid transparent;border-radius:9px}.nuvo-tailwind .data-review .ht_clone_inline_start .wtHolder .wtHider{box-sizing:border-box!important;margin-bottom:2rem!important}.nuvo-tailwind .data-review.not_firefox .ht_clone_top,.nuvo-tailwind .data-review.not_firefox .ht_clone_top .wtHolder{width:100%!important}.nuvo-tailwind .data-review.not_firefox .add-space-scrollbar-w .ht_clone_top{width:calc(100% - 8px)!important}.nuvo-tailwind .data-review.not_firefox .ht_clone_inline_start.handsontable .wtHolder,.nuvo-tailwind .data-review.not_firefox .ht_clone_inline_start:not(.handsontableInputHolder){height:100%!important}.nuvo-tailwind .data-review.not_firefox .add-space-scrollbar-h .ht_clone_inline_start:not(.handsontableInputHolder){height:calc(100% - 8px)!important}.nuvo-tailwind .data-review .ht_clone_inline_start thead tr th,.nuvo-tailwind .data-review .ht_master thead tr th{border-top-width:0!important}.nuvo-tailwind .data-review .hide-border-last-column .ht_clone_top td:last-child,.nuvo-tailwind .data-review .hide-border-last-column .ht_clone_top th:last-child,.nuvo-tailwind .data-review div.hide-border-last-column .handsontable.ht_master tr td:last-child{border-right-color:transparent!important;border-right-width:0!important}.nuvo-tailwind .data-review .wtBorder.fill{background:#4b89ff!important}.nuvo-tailwind .data-review .ht_clone_inline_start th>div.relative{align-items:center;display:flex;height:100%;justify-content:center}.nuvo-tailwind .data-review .ht_clone_inline_start.handsontable td,.nuvo-tailwind .data-review .ht_master.handsontable td{padding:0 12px!important}.nuvo-tailwind .data-review .handsontable{--ht-cell-vertical-padding:0px;--ht-line-height:33px}@media only screen and (max-width:1440px){.nuvo-tailwind .data-review .handsontable{--ht-cell-vertical-padding:0px;--ht-line-height:23px}.nuvo-tailwind .data-review:not(.enable-example) .handsontable .htCore tr:first-child th{height:24px!important}.nuvo-tailwind .data-review .handsontable thead tr th:first-child:before{border-top-width:1px;height:23px!important;line-height:23px!important}.nuvo-tailwind .data-review .handsontable thead th .colHeader .example-header{height:23px!important;line-height:23px!important}.nuvo-tailwind .custom-dropdown-boolean-renderer-text-element,.nuvo-tailwind .custom-dropdown-renderer-text-element{padding-top:0}}@media only screen and (min-width:1441px){.nuvo-tailwind .data-review:not(.enable-example) .ht_clone_inline_start.ht_clone_left.handsontable tr th{height:34px!important}}.nuvo-tailwind .data-review .handsontable th .row-header-number{display:inline}.nuvo-tailwind .data-review .handsontable th .relative .rowHeader{width:100%}.nuvo-tailwind .data-review .nuvo-add-row-button{align-items:center;cursor:pointer;display:flex;justify-content:center;width:100%}.nuvo-tailwind .data-review .nuvo-add-row-button.nuvo-add-row-button-disabled{cursor:not-allowed}.nuvo-tailwind .data-review .nuvo-custom-add-column-button{cursor:pointer}.nuvo-tailwind .data-review .row-header-checkbox{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:none;cursor:pointer;display:none}.nuvo-tailwind .data-review .row-header-checkbox:checked{--tw-bg-opacity:1;background-color:rgb(8 37 97/var(--tw-bg-opacity))}.nuvo-tailwind .data-review .handsontable th.hover-row .row-header-number{display:none}.nuvo-tailwind .data-review .handsontable th.checked-row .row-header-checkbox,.nuvo-tailwind .data-review .handsontable th.hover-row .row-header-checkbox{display:block}.nuvo-tailwind .data-review .handsontable th.checked-row .row-header-number{display:none}.nuvo-tailwind .data-review .check-all-checkbox{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(197 197 197/var(--tw-border-opacity));border-radius:4px;cursor:pointer;height:1rem!important;width:1rem!important}.nuvo-tailwind .data-review .check-all-checkbox:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid transparent;outline-offset:2px}.nuvo-tailwind .data-review .check-all-checkbox{box-shadow:none!important}.nuvo-tailwind .data-review .check-all-checkbox:indeterminate{--tw-border-opacity:1;border-color:rgb(197 197 197/var(--tw-border-opacity))}.nuvo-tailwind .data-review .check-all-checkbox:indeterminate{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.nuvo-tailwind .data-review .check-all-checkbox:checked{--tw-bg-opacity:1;background-color:rgb(8 37 97/var(--tw-bg-opacity));border-color:transparent}.nuvo-tailwind .data-review .handsontable thead th .colHeader .context-menu-button{cursor:pointer}.nuvo-tailwind .data-review .handsontable .columnSorting:not(.indicatorDisabled).sortAction{max-width:100%!important;min-width:auto!important;padding-inline-end:0!important;padding-inline-start:0!important}.nuvo-tailwind .data-review .handsontable .columnSorting.sortAction:hover{cursor:auto;text-decoration:initial}.nuvo-tailwind .data-review .handsontable .columnSorting.sortAction #text-title:hover{cursor:var(--text-header-pointer);-webkit-text-decoration:var(--text-header-decoration);text-decoration:var(--text-header-decoration)}.nuvo-tailwind .data-review .handsontable .columnSorting.sortAction .sort-loader{display:none}.nuvo-tailwind .data-review .handsontable .sort-loading .columnSorting.sortAction .sort-loader{display:block}.nuvo-tailwind .data-review .handsontable .sort-loading .columnSorting.sortAction .context-menu-button{display:none}.nuvo-tailwind .data-review .handsontable .header-circle-loader{animation:spin 1.2s linear infinite;border-radius:50%;border-style:solid;border-width:3px;display:inline-block;flex-shrink:0;height:13px;margin-left:1px;position:relative;top:2px;width:13px}.nuvo-tailwind .data-review .ht_clone_inline_start .wtHolder .htCore{box-shadow:none}.nuvo-tailwind .filter-value-list-scroll .simplebar-scrollbar{height:5px;top:0}.nuvo-tailwind .filter-value-list-scroll .simplebar-scrollbar:before{inset:0}.nuvo-tailwind .filter-value-list-scroll .simplebar-track{background-color:#f4f4f4;border-radius:60px;pointer-events:auto}.nuvo-tailwind .filter-value-list-scroll .simplebar-track>.simplebar-scrollbar:before{background-color:#b9b9b9;border-radius:60px;opacity:1!important}.nuvo-tailwind .filter-value-list-scroll .simplebar-track.simplebar-vertical{bottom:0;top:0;transform:translateX(-8px);width:4px}.nuvo-tailwind .filter-value-list-scroll .simplebar-track.simplebar-vertical .simplebar-scrollbar:before{inset:0}.nuvo-tailwind .filter-value-list-scroll .simplebar-track.simplebar-horizontal{height:5px;transform:translateY(5px)}.nuvo-tailwind .filter-value-list-scroll .simplebar-track.simplebar-horizontal .simplebar-scrollbar{height:5px;top:0}.nuvo-tailwind .filter-value-list-scroll .simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{inset:0}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track .simplebar-scrollbar{height:5px;top:0}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track .simplebar-scrollbar:before{inset:0}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track{background-color:#f4f4f4;border-radius:60px;pointer-events:auto}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track>.simplebar-scrollbar:before{background-color:#b9b9b9;border-radius:60px;opacity:1!important}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track.simplebar-vertical{bottom:6px;top:6px;transform:translateX(-4px);width:5px}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{inset:0}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track.simplebar-horizontal{height:5px;transform:translateY(5px)}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track.simplebar-horizontal .simplebar-scrollbar{height:5px;top:0}.nuvo-tailwind .context-menu-scroll>div .simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{inset:0}"));document.head.appendChild(yy);var Cy=document.createElement("style");Cy.type="text/css";Cy.appendChild(document.createTextNode(".nuvo-tailwind .handsontable{--tw-text-opacity:1;color:rgb(56 56 56/var(--tw-text-opacity));font-family:var(--globals-font-family)}.nuvo-tailwind .handsontable .htDimmed,.nuvo-tailwind .handsontable td.htDimmed{color:#162338}.nuvo-tailwind .ht_clone_top{z-index:20!important}.nuvo-tailwind .ht_clone_inline_start:not(.handsontableInputHolder){z-index:0!important}.nuvo-tailwind .ht_clone_top_inline_start_corner{z-index:20!important}.nuvo-tailwind .ht_clone_top .ht__highlight{--tw-bg-opacity:1!important;background-color:rgb(251 251 251/var(--tw-bg-opacity))!important}.nuvo-tailwind .ht_clone_top_inline_start_corner div.wtHolder .htCore,.nuvo-tailwind col.rowHeader{width:60px!important}.nuvo-tailwind .spread-data-sheet .ht_clone_inline_start .wtHolder .wtHider div.wtSpreader .htCore tbody tr th{align-items:center;display:flex;font-size:.875rem;justify-content:center;line-height:1.25rem}.nuvo-tailwind .spread-data-sheet .handsontable.wt-full-width .ht_master.handsontable .wtHider,.nuvo-tailwind .spread-data-sheet .handsontable.wt-full-width .ht_master.handsontable .wtHider .wtSpreader{width:100%!important}.nuvo-tailwind .spread-data-sheet .ht_clone_inline_start .wtHolder .wtHider div.wtSpreader .htCore tbody tr th div{align-items:center;display:flex;height:31px!important;justify-content:center;padding-bottom:0;padding-top:0;text-align:center}.nuvo-tailwind .ht_clone_inline_start .wtHolder table{box-shadow:2px 0 5px -2px hsla(0,0%,53%,.3)}.nuvo-tailwind .wtBorder.corner{display:none}.nuvo-tailwind thead th:first-child{--tw-bg-opacity:1;background-color:rgb(251 251 251/var(--tw-bg-opacity))}.nuvo-tailwind .handsontable td{border-color:#ddd;font-size:.875rem;line-height:1.25rem;overflow:hidden!important;padding:0!important;text-overflow:ellipsis!important;white-space:nowrap!important}.nuvo-tailwind .handsontable thead th:first-child{border-bottom:1px solid #ddd}.nuvo-tailwind .ht_clone_top th{--tw-border-opacity:1;border-color:rgb(221 221 221/var(--tw-border-opacity))}.nuvo-tailwind .ht_clone_top .wtHolder .wtHider .wtSpreader .htCore th:first-child,.nuvo-tailwind .ht_clone_top_inline_start_corner .wtHolder .wtHider .wtSpreader .htCore th{border-top:none!important}.nuvo-tailwind .ht_clone_top .wtHolder .wtHider .wtSpreader .htCore th:first-child,.nuvo-tailwind .ht_clone_top_inline_start_corner .wtHolder .wtHider .wtSpreader .htCore th:first-child{border-left:none!important;padding-top:1px}.nuvo-tailwind .ht_clone_top .wtHolder .wtHider .wtSpreader .htCore th{border-top:none!important}.nuvo-tailwind .ht_clone_inline_start .wtHolder .wtHider .htCore th{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-left:none!important;border-color:rgb(221 221 221/var(--tw-border-opacity))}.nuvo-tailwind .ht_master .wtHolder .wtHider .htCore th{border-left:none!important;padding-left:1px}.nuvo-tailwind td.default-cell.currentRow{--tw-bg-opacity:1!important;background-color:rgb(239 243 249/var(--tw-bg-opacity))!important}.nuvo-tailwind .spread-data-sheet #hot-display-license-info{display:none}.nuvo-tailwind .spread-data-sheet .handsontable{font-family:var(--globals-font-family)}.nuvo-tailwind .spread-data-sheet .handsontable td .ht-cell{padding:0 16px}.nuvo-tailwind .spread-data-sheet .handsontable td{align-items:center;border-color:#ddd;padding:0 16px!important;text-align:left!important}.nuvo-tailwind .spread-data-sheet .handsontable .hide-border-last-row .htCore tr:last-child td{border-bottom-width:0}.nuvo-tailwind .spread-data-sheet .handsontable .hide-border-last-row .ht_clone_inline_start tr:last-child th{border-bottom:transparent}.nuvo-tailwind .spread-data-sheet .handsontable .ht_master .wtHolder::-webkit-scrollbar{height:.5rem!important;width:.5rem!important}.nuvo-tailwind .spread-data-sheet .handsontable .ht_master .wtHolder::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px;width:.25rem!important}.nuvo-tailwind .spread-data-sheet .handsontable .ht_master .wtHolder::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}.nuvo-tailwind .spread-data-sheet ::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#818b99;border:0 solid transparent;border-radius:9px}.nuvo-tailwind .spread-data-sheet .ht_clone_inline_start .wtHolder::-webkit-scrollbar{height:.5rem!important;width:.5rem!important}.nuvo-tailwind .spread-data-sheet .ht_clone_inline_start .wtHolder::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px;margin-right:.5rem!important}.nuvo-tailwind .spread-data-sheet .ht_clone_inline_start .wtHolder::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}.nuvo-tailwind .spread-data-sheet .ht_clone_inline_start .wtHolder .wtHider{box-sizing:border-box!important;margin-bottom:2rem!important}.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder,.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .htCore,.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .wtHider,.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .wtSpreader,.nuvo-tailwind .spread-data-sheet.not_firefox .ht_clone_top{width:100%!important}.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.add-space-scrollbar-w .ht_clone_top{width:calc(100% - 8px)!important}.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.add-space-scrollbar-w .ht_clone_top .wtHolder{width:100%!important}.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable .ht_clone_inline_start,.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable .ht_clone_inline_start .wtHolder{height:100%!important}.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.add-space-scrollbar-h .ht_clone_inline_start,.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.add-space-scrollbar-h .ht_clone_inline_start .wtHolder{height:calc(100% - 4px)!important}.nuvo-tailwind .spread-data-sheet #hotInstance{height:100%}.nuvo-tailwind .spread-data-sheet #hotInstance .ht_clone_inline_start td,.nuvo-tailwind .spread-data-sheet #hotInstance .ht_clone_top_inline_start_corner{box-shadow:2px 0 5px -2px hsla(0,0%,53%,.3)}.nuvo-tailwind .spread-data-sheet .hide-border-last-column .ht_clone_top td:last-child,.nuvo-tailwind .spread-data-sheet .hide-border-last-column .ht_clone_top th:last-child,.nuvo-tailwind .spread-data-sheet div.hide-border-last-column .handsontable.ht_master tr td:last-child{border-right-color:transparent!important;border-right-width:0!important}.nuvo-tailwind .spread-data-sheet tr td.default-cell,.nuvo-tailwind .spread-data-sheet tr td.hover-row{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity));cursor:pointer;font-size:.875rem;line-height:1.25rem}.nuvo-tailwind .spread-data-sheet.read-only tr td.default-cell{--tw-text-opacity:1;color:rgb(141 141 141/var(--tw-text-opacity))}.nuvo-tailwind .spread-data-sheet.read-only tr td{cursor:auto!important}.nuvo-tailwind .spread-data-sheet .ht_clone_inline_start .wtHolder .wtHider div.wtSpreader .htCore tbody tr th{text-indent:-1px}.nuvo-tailwind .spread-data-sheet .ht_left .wtHolder .wtSpreader,.nuvo-tailwind .spread-data-sheet .ht_master .wtHolder .wtSpreader table{width:100%}.nuvo-tailwind .spread-data-sheet tr .hover-row,.nuvo-tailwind .spread-data-sheet tr .hover-selected-row,.nuvo-tailwind .spread-data-sheet tr .selecting-row{cursor:pointer;font-size:.875rem;line-height:1.25rem}.nuvo-tailwind .spread-data-sheet tr td div{box-sizing:border-box;padding-top:7px}.nuvo-tailwind .spread-data-sheet .handsontable tr td.selecting-row-and-hovering.selecting-row{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity));cursor:pointer}.nuvo-tailwind .sheet-preview .handsontable{font-family:var(--globals-font-family)}.nuvo-tailwind .sheet-preview .handsontable td .ht-cell{padding:0 16px}.nuvo-tailwind .sheet-preview .handsontable td{align-items:center;border-color:#ddd;padding:0 16px!important;text-align:left!important}.nuvo-tailwind .sheet-preview .handsontable .hide-border-last-row .htCore tr:last-child td{border-bottom-width:0}.nuvo-tailwind .sheet-preview .handsontable .hide-border-last-row .ht_clone_inline_start tr:last-child th{border-bottom:transparent}.nuvo-tailwind .sheet-preview .handsontable .ht_master .wtHolder::-webkit-scrollbar{height:.5rem!important;width:.5rem!important}.nuvo-tailwind .sheet-preview .handsontable .ht_master .wtHolder::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px;width:.25rem!important}.nuvo-tailwind .sheet-preview .handsontable .ht_master .wtHolder::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}.nuvo-tailwind .sheet-preview ::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#818b99;border:0 solid transparent;border-radius:9px}.nuvo-tailwind .sheet-preview .ht_clone_inline_start .wtHolder::-webkit-scrollbar{height:.5rem!important;width:.5rem!important}.nuvo-tailwind .sheet-preview .ht_clone_inline_start .wtHolder::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px;margin-right:.5rem!important}.nuvo-tailwind .sheet-preview .ht_clone_inline_start .wtHolder::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}.nuvo-tailwind .sheet-preview .ht_clone_inline_start .wtHolder .wtHider{box-sizing:border-box!important;margin-bottom:2rem!important}.nuvo-tailwind .sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder,.nuvo-tailwind .sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .htCore,.nuvo-tailwind .sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .wtHider,.nuvo-tailwind .sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .wtSpreader,.nuvo-tailwind .sheet-preview.not_firefox .ht_clone_top{width:100%!important}.nuvo-tailwind .sheet-preview.not_firefox .handsontable.add-space-scrollbar-w .ht_clone_top{width:calc(100% - 8px)!important}.nuvo-tailwind .sheet-preview.not_firefox .handsontable.add-space-scrollbar-w .ht_clone_top .wtHolder{width:100%!important}.nuvo-tailwind .sheet-preview.not_firefox .handsontable .ht_clone_inline_start,.nuvo-tailwind .sheet-preview.not_firefox .handsontable .ht_clone_inline_start .wtHolder{height:100%!important}.nuvo-tailwind .sheet-preview.not_firefox .handsontable.add-space-scrollbar-h .ht_clone_inline_start,.nuvo-tailwind .sheet-preview.not_firefox .handsontable.add-space-scrollbar-h .ht_clone_inline_start .wtHolder{height:calc(100% - 4px)!important}.nuvo-tailwind .sheet-preview #hotInstance{height:100%}.nuvo-tailwind .sheet-preview #hotInstance .ht_clone_inline_start td,.nuvo-tailwind .sheet-preview #hotInstance .ht_clone_top_inline_start_corner{box-shadow:2px 0 5px -2px hsla(0,0%,53%,.3)}.nuvo-tailwind .sheet-preview .hide-border-last-column .ht_clone_top td:last-child,.nuvo-tailwind .sheet-preview .hide-border-last-column .ht_clone_top th:last-child,.nuvo-tailwind .sheet-preview div.hide-border-last-column .handsontable.ht_master tr td:last-child{border-right-color:transparent!important;border-right-width:0!important}.nuvo-tailwind .sheet-preview tr td.default-cell,.nuvo-tailwind .sheet-preview tr td.hover-row{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity));cursor:pointer;font-size:.875rem;line-height:1.25rem}.nuvo-tailwind .sheet-preview.read-only tr td.default-cell{--tw-text-opacity:1;color:rgb(141 141 141/var(--tw-text-opacity))}.nuvo-tailwind .sheet-preview.read-only tr td{cursor:auto!important}.nuvo-tailwind .sheet-preview .ht_clone_inline_start .wtHolder .wtHider div.wtSpreader .htCore tbody tr th{text-indent:-1px}.nuvo-tailwind .sheet-preview .ht_left .wtHolder .wtSpreader,.nuvo-tailwind .sheet-preview .ht_master .wtHolder .wtSpreader table{width:100%}.nuvo-tailwind .sheet-preview tr .hover-row,.nuvo-tailwind .sheet-preview tr .hover-selected-row,.nuvo-tailwind .sheet-preview tr .selecting-row{cursor:pointer;font-size:.875rem;line-height:1.25rem}.nuvo-tailwind .sheet-preview tr td div{box-sizing:border-box;padding-top:7px}.nuvo-tailwind .sheet-preview .handsontable tr td.selecting-row-and-hovering.selecting-row{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity));cursor:pointer}.nuvo-tailwind .sheet-preview .handsontable.wt-full-width .ht_master.handsontable .wtHider,.nuvo-tailwind .sheet-preview .handsontable.wt-full-width .ht_master.handsontable .wtHider .wtSpreader{width:100%!important}.nuvo-tailwind .join-sheet-preview #hot-display-license-info,.nuvo-tailwind .join-sheet-preview .handsontable .htBorders{display:none}.nuvo-tailwind .join-sheet-preview .handsontable{font-family:var(--globals-font-family)}.nuvo-tailwind .join-sheet-preview .handsontable td .ht-cell{padding:0 16px}.nuvo-tailwind .join-sheet-preview .handsontable td{align-items:center;border-color:#ddd;padding:0 16px!important;text-align:left!important}.nuvo-tailwind .join-sheet-preview .handsontable .hide-border-last-row .htCore tr:last-child td{border-bottom-width:0}.nuvo-tailwind .join-sheet-preview .handsontable .hide-border-last-row .ht_clone_inline_start tr:last-child th{border-bottom:transparent}.nuvo-tailwind .join-sheet-preview .handsontable .ht_master .wtHolder::-webkit-scrollbar{height:.5rem!important;width:.5rem!important}.nuvo-tailwind .join-sheet-preview .handsontable .ht_master .wtHolder::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px;width:.25rem!important}.nuvo-tailwind .join-sheet-preview ::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#818b99;border:0 solid transparent;border-radius:9px}.nuvo-tailwind .join-sheet-preview .ht_clone_inline_start .wtHolder::-webkit-scrollbar{height:.5rem!important;width:.5rem!important}.nuvo-tailwind .join-sheet-preview .ht_clone_inline_start .wtHolder::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px;margin-right:.5rem!important}.nuvo-tailwind .join-sheet-preview .ht_clone_inline_start .wtHolder::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}.nuvo-tailwind .join-sheet-preview .ht_clone_inline_start .wtHolder .wtHider{box-sizing:border-box!important;margin-bottom:2rem!important}.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder,.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .htCore,.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .wtHider,.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .wtSpreader,.nuvo-tailwind .join-sheet-preview.not_firefox .ht_clone_top{width:100%!important}.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.add-space-scrollbar-w .ht_clone_top{width:calc(100% - 8px)!important}.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.add-space-scrollbar-w .ht_clone_top .wtHolder{width:100%!important}.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable .ht_clone_inline_start,.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable .ht_clone_inline_start .wtHolder{height:100%!important}.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.add-space-scrollbar-h .ht_clone_inline_start,.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.add-space-scrollbar-h .ht_clone_inline_start .wtHolder{height:calc(100% - 4px)!important}.nuvo-tailwind .join-sheet-preview #hotInstance{height:100%}.nuvo-tailwind .join-sheet-preview #hotInstance .ht_clone_inline_start td,.nuvo-tailwind .join-sheet-preview #hotInstance .ht_clone_top_inline_start_corner{box-shadow:2px 0 5px -2px hsla(0,0%,53%,.3)}.nuvo-tailwind .join-sheet-preview .hide-border-last-column .ht_clone_top td:last-child,.nuvo-tailwind .join-sheet-preview .hide-border-last-column .ht_clone_top th:last-child,.nuvo-tailwind .join-sheet-preview div.hide-border-last-column .handsontable.ht_master tr td:last-child{border-right-color:transparent!important;border-right-width:0!important}.nuvo-tailwind .join-sheet-preview tr td.default-cell{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem}.nuvo-tailwind .join-sheet-preview .ht_clone_inline_start .wtHolder .wtHider div.wtSpreader .htCore tbody tr th{text-indent:-1px}.nuvo-tailwind .join-sheet-preview .ht_left .wtHolder .wtSpreader,.nuvo-tailwind .join-sheet-preview .ht_master .wtHolder .wtSpreader table{width:100%}.nuvo-tailwind .join-sheet-preview tr td div{box-sizing:border-box;padding-top:7px}.nuvo-tailwind .join-sheet-preview .handsontable th .colHeader{width:100%}.nuvo-tailwind .join-sheet-preview .handsontable.wt-full-width .ht_master.handsontable .wtHider,.nuvo-tailwind .join-sheet-preview .handsontable.wt-full-width .ht_master.handsontable .wtHider .wtSpreader{width:100%!important}.nuvo-tailwind .join-sheet-preview .handsontable span.colHeader{line-height:1.2}.nuvo-tailwind .htFocusCatcher{padding:0}"));document.head.appendChild(Cy);var xy=document.createElement("style");xy.type="text/css";xy.appendChild(document.createTextNode('@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap");.nuvo-tailwind{--tw-text-opacity:1;color:rgb(66 66 66/var(--tw-text-opacity));color:var(--globals-text-color);font-family:var(--globals-font-family);font-size:16px;line-height:19px}.nuvo-tailwind .text-color-primary{color:var(--text-color-primary)}.nuvo-tailwind .text-color-secondary{color:var(--text-color-secondary)}.nuvo-tailwind [role=gridcell]{padding:0}.nuvo-tailwind [role=gridcell][aria-selected=true]>.cell-viewer{box-shadow:inset 0 0 0 2px var(--rdg-selection-color)}.nuvo-tailwind .nuvo-invisible{visibility:hidden}.nuvo-tailwind .caption{font-size:12px;line-height:1.43}.nuvo-ReactModal__Body--open{overflow:hidden}:root{--layer-overlay:300;--nuvo-white:#fff;--nuvo-neutral-900:#2d2d2d;--shadow-bottom:0px 7px 15px 0px rgba(27,80,113,.1)}.nuvo-popover{box-sizing:border-box}.nuvo-popover,.nuvo-popover__anchor{display:inline-flex;flex-direction:column}.nuvo-popover__anchor{background-color:transparent;border:0;outline:0;padding:0}.nuvo-popover__content{background-color:var(--nuvo-white);border-radius:4px;box-shadow:var(--shadow-bottom);color:var(--nuvo-neutral-900);outline:none;overflow-y:auto;padding:12px 16px;z-index:var(--layer-overlay)}'));document.head.appendChild(xy);import"handsontable/styles/handsontable.css";import"handsontable/styles/ht-theme-classic.css";var Sy=document.createElement("style");Sy.type="text/css";Sy.appendChild(document.createTextNode('.nuvo-tailwind .default-popper{--tw-text-opacity:1;border-radius:3px;border-width:1px;color:rgb(251 251 251/var(--tw-text-opacity));font-size:.75rem;line-height:1rem;opacity:0;padding-bottom:.75rem;padding-left:1rem;padding-right:1rem;padding-top:.75rem;pointer-events:none;z-index:170!important}.nuvo-tailwind .error-popper{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(237 112 112/var(--tw-bg-opacity));border-color:rgb(237 112 112/var(--tw-border-opacity))}.nuvo-tailwind .warning-popper{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 193 22/var(--tw-bg-opacity));border-color:rgb(255 193 22/var(--tw-border-opacity))}.nuvo-tailwind .multiple-popper{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(84 84 84/var(--tw-bg-opacity));border-color:rgb(84 84 84/var(--tw-border-opacity))}.nuvo-tailwind .disabled-popper{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(84 84 84/var(--tw-bg-opacity));border-color:rgb(84 84 84/var(--tw-border-opacity))}.nuvo-tailwind #arrow-message-info,.nuvo-tailwind #arrow-message-info:before{background:inherit;height:13px;position:absolute;width:13px}.nuvo-tailwind #arrow-message-info{visibility:hidden}.nuvo-tailwind #arrow-message-info:before{content:"";transform:rotate(45deg);visibility:visible}.nuvo-tailwind [overflow-hide]{opacity:0!important;pointer-events:none;visibility:hidden!important;z-index:100}.nuvo-tailwind [overflow-hide] #arrow{opacity:0;pointer-events:none;visibility:hidden}.nuvo-tailwind .remove-popper{--tw-text-opacity:1;border-radius:3px;border-width:1px;color:rgb(251 251 251/var(--tw-text-opacity));font-size:.75rem;line-height:1rem;opacity:0;padding:1rem;pointer-events:none;z-index:170!important}.nuvo-tailwind .remove-info-popper{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(40 64 103/var(--tw-bg-opacity));border-color:rgb(40 64 103/var(--tw-border-opacity))}'));document.head.appendChild(Sy);var _y=document.createElement("style");_y.type="text/css";_y.appendChild(document.createTextNode(".nuvo-tailwind #dropdown-scroll-element-id::-webkit-scrollbar-track{width:.25rem!important}.nuvo-tailwind #dropdown-scroll-element-id::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#818b99;border:0 solid transparent;border-radius:9px}.nuvo-tailwind #dropdown-scroll-element-id::-webkit-scrollbar{height:.25rem!important;width:.25rem!important}.nuvo-tailwind #dropdown-scroll-element-id::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px}.nuvo-tailwind #dropdown-scroll-element-id::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}"));document.head.appendChild(_y);import{createContext as cee,useEffect as uee,useMemo as dee,useState as pee}from"react";import{useContext as aee}from"react";var qt=()=>aee(Jw);import{Subject as mee}from"rxjs";var Iy=()=>{},My=class{constructor(e,r){this.onResultCallbackMapping={};this.getGeneralHooks=e=>{let r=this.hooksAPI.onCancel??Iy,o=e?.trim()?.length>0?this.onResultCallbackMapping[e]:this.hooksAPI.onResults,n=this.hooksAPI.onEntryChange??Iy,a=this.hooksAPI.onEntryInit??Iy;return{onResults:o,onCancel:r,onEntryChange:n,onEntryInit:a}};this.hooksAPI=e,this.onResultCallbackMapping={[r]:e.onResults}}},h9=My;import{useContext as iee,useMemo as see}from"react";var lee=()=>{let{onResults:t,onCancel:e,onEntryChange:r,onEntryInit:o,columnHooks:n}=ft(),a=iee(Ey),i=ee(),s=see(()=>new h9({onResults:t,onCancel:e,onEntryChange:r,onEntryInit:o,columnHooks:n},i.identifier),[t,e,r,o,n,i.identifier]);return{...a,hooksAPIMapper:s,getIdentifier:()=>i.identifier}},Co=lee;import{jsx as hee,jsxs as gee}from"react/jsx-runtime";var Ey=cee({setLoadingInitialValues:()=>{},loadingInitialValues:!0}),g9=({children:t})=>{let[e,r]=pee(!0),o=dee(()=>new mee,[]);return gee(Ey.Provider,{value:{cancelHookObservable:o,loadingInitialValues:e,setLoadingInitialValues:r},children:[hee(fee,{}),t]})},fee=()=>{let{cancelHookObservable:t,hooksAPIMapper:e,getIdentifier:r}=Co(),o=qt(),{featureWhiteList:n}=Nt();return uee(()=>{let a=t?.subscribe(()=>{e.getGeneralHooks(r()).onCancel()});return()=>{a?.unsubscribe()}},[t,e,r,o,n]),null};import{useCallback as M9}from"react";import I9 from"url-join";import{useNavigate as Ree}from"react-router-dom";var gr="/upload-file",ar="/review-entries",Ft="/select-header",Et="/match-column",vr="/select-sheet",xo="/join-column";import{createContext as Cee,useMemo as xee,useState as y9,useCallback as C9}from"react";var jh,vee=new Uint8Array(16);function Ty(){if(!jh&&(jh=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!jh))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return jh(vee)}var v9=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function bee(t){return typeof t=="string"&&v9.test(t)}var b9=bee;var Ur=[];for(Wh=0;Wh<256;++Wh)Ur.push((Wh+256).toString(16).substr(1));var Wh;function wee(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(Ur[t[e+0]]+Ur[t[e+1]]+Ur[t[e+2]]+Ur[t[e+3]]+"-"+Ur[t[e+4]]+Ur[t[e+5]]+"-"+Ur[t[e+6]]+Ur[t[e+7]]+"-"+Ur[t[e+8]]+Ur[t[e+9]]+"-"+Ur[t[e+10]]+Ur[t[e+11]]+Ur[t[e+12]]+Ur[t[e+13]]+Ur[t[e+14]]+Ur[t[e+15]]).toLowerCase();if(!b9(r))throw TypeError("Stringified UUID is invalid");return r}var w9=wee;function yee(t,e,r){t=t||{};var o=t.random||(t.rng||Ty)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,e){r=r||0;for(var n=0;n<16;++n)e[r+n]=o[n];return e}return w9(o)}var ky=yee;import{jsx as See}from"react/jsx-runtime";var Ry=Cee({sessionId:"",generateNewSessionId:()=>{},setHasUploadedData:()=>{}}),x9=t=>{let e=C9(()=>ky().replace(/-/g,""),[]),[r,o]=y9(e()),[n,a]=y9(!1),i=C9(()=>{n&&o(e())},[e,n]),s=xee(()=>({sessionId:r,generateNewSessionId:i,setHasUploadedData:a}),[r,i]);return See(Ry.Provider,{value:s,children:t.children})};import{useContext as _ee}from"react";var Iee=()=>_ee(Ry),br=Iee;import{createContext as Mee}from"react";import{jsx as Eee}from"react/jsx-runtime";var Oy=Mee({isUseInRouter:!1}),S9=({isUseInRouter:t,children:e})=>Eee(Oy.Provider,{value:{isUseInRouter:t},children:e});import{useContext as Tee}from"react";var kee=()=>Tee(Oy),_9=kee;var E9=()=>{let t=Ree(),{isUseInRouter:e}=_9();return M9((o,n)=>{if(e){let a=window.location.pathname,i=`${window.location.hash}`.replace("#",""),s=window.location.hash,l=typeof o=="string"?o:o.pathname,c=s?I9(i,l):I9(a,l);return t({pathname:c},{...n,replace:!0})}else{let a=typeof o=="string"?o:o.pathname;return t({pathname:a},{...n,replace:!0})}},[t,e])},zc=()=>{let t=E9(),{columns:e}=ee(),r=qt(),{setHasUploadedData:o}=br();return{navigateToReviewEntries:M9(()=>{t({pathname:ar},{state:{hideStepper:!0,columns:e,dataModels:r.getDataModels()}}),o(!0)},[e,r,t,o])}},Gt=E9;import{isEmpty as Bee,isNil as Uee}from"lodash";import{ErrorCode as k9}from"react-dropzone";var T9=t=>{let e;return{promise:new Promise((o,n)=>{e=()=>{n({isCancelled:!0})},t.then(a=>o(a)).catch(a=>n(a))}),cancel(){e()}}};import{isNil as Dee}from"lodash";import Pee from"detect-file-encoding-and-language";var Cn=({workersBaseUrl:t})=>{let e=t?yn(t,wn.IMPORT):"",{init:r,getRemote:o,clear:n}=bn({hostWorkerUrl:e,workerFile:()=>new Worker(new URL("workers/parseData/index.js",import.meta.url),{type:"module"})});return{init:r,clear:n,convertCsv2Sheet:(...h)=>{let v=o();return v?v.convertCsv2Sheet(...h):Z7(...h)},convertExcel2Sheet:(...h)=>{let v=o();return v?v.convertExcel2Sheet(...h):r8(...h)},convertJson2Sheet:(...h)=>{let v=o();return v?v.convertJson2Sheet(...h):J7(...h)},convertXLS2Sheet:(...h)=>{let v=o();return v?v.convertXLS2Sheet(...h):Q7(...h)},convertXML2Sheet:(...h)=>{let v=o();return v?v.convertXML2Sheet(...h):e8(...h)},jsonParser:(...h)=>{let v=o();return v?v.jsonParser(...h):Promise.resolve(X7(...h))},parseDateFormat:(...h)=>{let v=o();if(v)return v.parseDateFormat(...h);let b=n8(...h);return Promise.resolve(b)},convertPdf2Sheets:(...h)=>{let v=o();return v?v.convertPdf2Sheets(...h):t8(...h)},parseValue:(...h)=>{let v=o();if(v)return v.parseValue(...h);let b=Y7(...h);return Promise.resolve(b)}}};var Dy=async(t,e,r)=>{if(t.type===bt.csv||t.type===bt.tsv_text||t.type===bt.tsv||["tsv","csv"].includes(O9(t.name))){let o=await Vee(t);return e.convertCsv2Sheet(o,{...r,metaFile:{name:t.name,type:t.type===bt.xls?bt.csv:t.type,size:t.size}})}else return t.type===bt.xml?e.convertXML2Sheet(t,r):t.type===bt.json?e.convertJson2Sheet(t,r):t.type===bt.xls||t.type===bt.xlsb||O9(t.name)==="xlsb"?e.convertXLS2Sheet(t,r):t.type===bt.pdf?e.convertPdf2Sheets(t,{...r,stage:o8}):e.convertExcel2Sheet(t,r)},zh=(t,e,r,o)=>{let n=Cn({workersBaseUrl:r});return o&&o(n),T9(n.init().then(()=>Promise.all(t.map(a=>Dy(a,n,e).then(i=>({...i,rawFile:a})))).finally(()=>{n.clear()})))},Aee=t=>t[0]?.errors[1]?.message?t[0]?.errors[1]?.message:t[0]?.errors[0]?.message,R9={"Too many files":"txt_too_many_files_error"},Nee=t=>R9[t]?R9[t]:t,qh=t=>{let e={};return t.forEach(r=>{r==="tsv"?(e[bt.tsv]=[],e[bt.tsv_text]=[]):r==="xls"?(e[bt.xls]=[],e[bt.xlsb]=[".xlsb"]):e[bt[r]]=[]}),e},D9=t=>{let o=0;return t.forEach(a=>{o=o+Math.round(a.type===bt.pdf?6:a.type===bt.csv||a.type===bt.json?1:Math.max(a.size)/1e6)}),o*2.5/2*10},Gh=(t,e,r,o,n)=>{if(e[0].errors.find(l=>l.code===k9.FileInvalidType)){t(o("txt_file_format_error",{fileTypes:n.join(", ")}),o("txt_title_upload_valid_file_error"));return}if(e[0].errors.find(l=>l.code===k9.FileTooLarge)){t(o("txt_upload_exceed_max_size_error",{sizeInMb:r}),o("txt_title_upload_exceed_max_size_error"));return}let s=Aee(e);t(o(Nee(s)),o("txt_title_too_many_files_error"))},P9=(t,e,r,o)=>{e===9003?t(r("txt_nested_file_error"),r("txt_import_error")):e===9001?t(r("txt_file_format_error",{fileTypes:o.join(", ")}),r("txt_title_error_invalid_format")):t(r("txt_file_error"),r("txt_import_error"))},Kh=(t,e)=>({...Lee,...t?$ee:{},...e?Fee:{}}),Lee={transition:"border .24s ease-in-out"},$ee={borderColor:"#4B5563"},Fee={borderColor:"#D0021B"},Vee=t=>new Promise(async e=>{let r=await t.text();try{let n=((await Pee(t)).encoding||"ascii").toLowerCase();if(n!=="utf-8"&&!Dee(n)){let a=await Hee(t),i=new TextDecoder(n).decode(a);e(i)}else e(r)}catch{e(r)}}),Hee=t=>new Promise((e,r)=>{let o=new FileReader;o.onload=n=>{let a=n?.target?.result;e(a)},o.onerror=()=>r({code:-1}),o.readAsArrayBuffer(t)}),O9=t=>t?.split(".")?.pop()?.toLowerCase()||"";var qc=t=>t?.replace(/\.[^/.]+$/,"");var Ny=[[]],A9="";var Py=class{constructor(e){this.dataStack={};this.parseRejectedData=e=>{let r=[];for(let o=0;o<e.length;++o){let n=e[o];r.push({fileName:n.filename,sheets:[]})}return r};this.parseData=e=>{let r=[];for(let o=0;o<e.length;++o){let n=e[o],a=[];if(c9.includes(n.type))a.push({sheetName:qc(n.filename),data:n.data});else{let i=n.data;for(let s=0;s<i.length;++s){let l=i[s];a.push({sheetName:l?.sheetName??"",data:l?.data??[]})}}r.push({fileName:n.filename,sheets:a})}return r};this.throwError=(e,r)=>{let o={1101:"The component is not verified.",1100:"No component found.",1002:"This feature or this file type are not included in your subscription."};return r&&Ce.getInstance().setParseSession(),Promise.reject(new Error(`code: ${o[e]?e:-1}, message: ${o[e]??"Unexpected error"}`))};this.parseFiles=async(e,r,o)=>{let n=Cn({workersBaseUrl:o});await n.init();let a=[],i=[];return await Promise.all(e.map(async s=>Dy(s,n,r).then(l=>{a.push(l)}).catch(()=>{i.push({data:[],filename:s.name,fileSize:s.size,type:s.type})}))).finally(()=>{n.clear()}),{acceptedFiles:a,rejectedFiles:i}};this.getSessionKey=e=>{if(e&&this.importerSessionListener.listenStartCallbackStack[e])return e;{let r=Object.keys(this.importerSessionListener.listenStartCallbackStack);return r[r.length-1]}};this.getComponentData=e=>{let r=this.getSessionKey(e);return this.importerSessionListener.getConfigCallbackStack[r]?.()};this.onRetry=async e=>{let o;for(let n=1;n<=3;n++)try{return await e()}catch(a){if(o=a,n===3)throw o;await new Promise(i=>setTimeout(i,500*n))}throw o};this.uploadMethod=async({step:e,data:r,headerIndex:o,identifier:n})=>{let a=this.getSessionKey(n),i=this.getComponentData(a),s=i?.featureWhiteList.isDynamicImport();if(!i)return this.throwError(1100,a);if(!i?.isAuth)return this.throwError(1101,a);if(!s)return this.throwError(1002,a);this.dataStack[n??A9]={step:e,data:r,headerIndex:o}};this.startMethod=e=>{let r=e?.identifier,o=this.getSessionKey(r),n=this.getComponentData(o),a=0,i=5,s=500,l=()=>new Promise((u,d)=>{let p=()=>{a++,n=this.getComponentData(o),n?.isAuth===!0&&n.featureWhiteList.isDynamicImport()===!0?u():a>=i?d():setTimeout(p,s)};p()}),c=()=>{let u=this.dataStack?.[o];(Uee(r)||Bee(r))&&(u=this.dataStack?.[A9]),this.importerSessionListener.listenStartCallbackStack[o]?.({data:u?.data,headerIndex:u?.headerIndex,step:u?.step})};l().catch(()=>{}).finally(()=>c())};this.parseMethod=async({data:e,identifier:r})=>{let o=this.getSessionKey(r),n=this.getComponentData(o),a=n?.featureWhiteList.isDynamicImport(),i=n?.featureWhiteList.getInputTypes()??[];if(!n)return this.throwError(1100,o);if(!n?.isAuth)return this.throwError(1101,o);if(!a)return this.throwError(1002,o);let s=[],l=[],c=Array.from(e);for(let u=0;u<c.length;++u){let d=c[u],p=(Object.keys(bt).find(f=>bt[f]===d.type)??d.type)?.replace("_text","");i.includes(p)?s.push(d):l.push(d)}try{let u=await this.parseFiles(s,{licenseKey:n.licenseKey,framework:Ce.getInstance().getFrameWork(),sdkVersion:Ce.getInstance().getVersionNumber(),hasDateType:n.columnAPIMapper.hasDateType(),originRequest:Ce.getInstance().getOrigin()},n.workersBaseUrl??"");return Ce.getInstance().setParseSession(),{accepted:this.parseData(u?.acceptedFiles??[]),rejected:this.parseRejectedData([...u?.rejectedFiles??[],...l.map(d=>({filename:d.name,fileSize:d.size,data:[],type:d.type}))])}}catch(u){return this.throwError(u?.code,o)}};this.upload=async({step:e,data:r,headerIndex:o,identifier:n})=>this.onRetry(()=>this.uploadMethod({step:e,data:r,headerIndex:o,identifier:n}));this.start=e=>this.startMethod(e);this.parse=async({data:e,identifier:r})=>this.onRetry(()=>this.parseMethod({data:e,identifier:r}));this.verify=async e=>{let r=this.getSessionKey(e?.identifier),o=this.getComponentData(r);if(o?.isAuth)return o?.verifyTracking(r),Promise.resolve({verified:!0,identifier:r});let n=0,a=10,i=500,s=async()=>{for(;n<a;){if(!!this.getComponentData(this.getSessionKey(e?.identifier)))return!0;n++,await new Promise(c=>setTimeout(c,i))}return!1};try{if(!await s())return this.throwError(1100,this.getSessionKey(e?.identifier));let c=this.getSessionKey(e?.identifier),u=this.getComponentData(c);if(!u)return this.throwError(1100,this.getSessionKey(e?.identifier));u.verifyTracking(c);let{verifyLicenseKeyListener:d,verifyLicenseKey:p,isVerifyingLicenseKey:f,isAuth:h}=u;if(h)return Promise.resolve({verified:!0,identifier:c});if(f&&d)try{return new Promise((v,b)=>{d?.subscribe({next:y=>{v({verified:y,identifier:c})},error:y=>{b(new Error(`Failed to verify license key: ${y instanceof Error?y.message:String(y)}`))}})})}catch{return u?.verifyTracking(c),Promise.resolve({verified:!1,identifier:c})}if(!f&&!h&&p)try{let v=await p();return Promise.resolve({verified:!!v,identifier:c})}catch(v){throw new Error(`Failed to verify license key: ${v instanceof Error?v.message:String(v)}`)}return Promise.resolve({verified:!!h,identifier:c})}catch{let c=this.getSessionKey(e?.identifier);return this.getComponentData(c)?.verifyTracking(c),this.throwError(1100,this.getSessionKey(e?.identifier))}};this.reload=async e=>{let r=this.getSessionKey(e?.identifier),o=this.getComponentData(r);if(!o)return this.throwError(1100,r);let{reload:n}=o;n&&typeof n=="function"&&(await new Promise(a=>setTimeout(a,100)),n(r))};this.importerSessionListener=e;try{module?.hot}catch{}}},N9=Py;var Ly=class{constructor(){this.listenStartCallbackStack={};this.getConfigCallbackStack={};this.listener=(e,r)=>{this.listenStartCallbackStack[e]=r};this.getCompDataCallbackListener=(e,r)=>{this.getConfigCallbackStack[e]=r}}},L9=Ly;var Yh=new L9,jee=new N9(Yh);import{useCallback as bte,useEffect as G9}from"react";import{isNil as Gc,isArray as V9,isObject as H9,isString as B9,isEmpty as Kee}from"lodash";var Yi=class{constructor({sheetData:e,filename:r,type:o,sheetName:n,fileSize:a}){this.getSpreadSheet=({autoDetectedHeader:e})=>{let r=new Yn({name:this.sheetName,data:this.sheetData});e&&r.setHeaderByAutoDetection();let o=[r];return new tl({sheets:o,filename:this.filename,type:this.type,fileSize:this.fileSize})};this.sheetData=e,this.filename=r,this.type=o,this.sheetName=n,this.fileSize=a}},il=class{constructor({multipleSheetData:e,filename:r,type:o,fileSize:n}){this.getSpreadSheet=({autoDetectedHeader:e})=>{let r=this.multipleSheetData.map(o=>{let n=new Yn({data:o.data,name:o.sheetName});return e&&n.setHeaderByAutoDetection(),n});return new tl({type:this.type,filename:this.filename,sheets:r,fileSize:this.fileSize})};this.multipleSheetData=e,this.filename=r,this.type=o,this.fileSize=n}};import{isArray as $9,isEqual as Wee,flatten as zee}from"lodash";function qee(t,e){let r=new Set(t);return e.filter(o=>r.has(o))}var F9=(t,e,r)=>{let o=zee(t.map(a=>a.getColumns())).filter(a=>a.getColumnKey()===e);if(o.length>1){for(let a=0;a<o.length;a++){let i=o[a];if(qee(i.getUniqueRows(),r).length===r.length)return i}return null}else return o[0]},Zh=(t,e)=>Wee(`${t}`,`${e}`),$y=t=>$9(t)&&t.every(e=>$9(e));import{flatten as Gee}from"lodash";var Fy=class{constructor({spreadSheets:e}){this.setJoinSheet=e=>{this.joinSheet=e};this.getJoinSheet=()=>this.joinSheet;this.removeJoinSheet=()=>{this.joinSheet=null};this.getSpreadSheets=()=>this.spreadSheets;this.getSelectedSpreadSheets=()=>this.spreadSheets.filter(e=>e.isSelected());this.getIsAllSheetsManualSelectHeader=()=>{let e=this.getSelectedSpreadSheets();for(let r=0;r<e.length;r++){let o=e[r].getSelectedSheets();for(let n=0;n<o.length;n++)if(!o[n].getIsManualSelectHeader())return!1}return!0};this.length=()=>this.spreadSheets.length;this.getAllSheets=()=>Gee(this.spreadSheets.map(r=>r.getSheets()));this.setSheet=e=>{for(let r=0;r<this.spreadSheets.length;r++){let o=this.spreadSheets[r];for(let n=0;n<o.getSheets().length;n++)o.getSheets()[n].getId()===e.getId()&&this.spreadSheets?.[r].getSheets()?.[n]?.setData(e.getData())}};this.getSelectedSheets=(e=!1)=>this.joinSheet&&!e?[this.joinSheet]:this.getAllSheets().filter(r=>r.isSelected());this.selectAllSheets=e=>{this.spreadSheets.forEach(r=>{r.selectAllSheet(e)})};this.addList=e=>{let r=e.getSpreadSheets();for(let o=0;o<r.length;o++)this.spreadSheets.push(r[o])};this.spreadSheets=e}},Zi=Fy;var Vy=class{constructor({spreadSheetList:e}){this.currentSpreadSheetPosition=0;this.currentSheetPosition=0;this.goToBySheet=e=>{let r=this.originalSpreadSheetList.getSelectedSpreadSheets();for(let o=0;o<r.length;o++){let n=r[o].getSelectedSheets();for(let a=0;a<n.length;a++)if(n[a]===e)return this.currentSpreadSheetPosition=o,this.currentSheetPosition=a,n[a]}};this.getCurrentSpreadSheet=()=>this.originalSpreadSheetList.getSelectedSpreadSheets()[this.currentSpreadSheetPosition];this.getCurrentSheet=()=>this.getCurrentSpreadSheet().getSelectedSheets()[this.currentSheetPosition];this.next=()=>{let e=this.currentSheetPosition+1,o=this.originalSpreadSheetList.getSelectedSpreadSheets()[this.currentSpreadSheetPosition].getSelectedSheets().length;if(e>=o){let n=this.currentSpreadSheetPosition+1,a=this.originalSpreadSheetList.getSelectedSpreadSheets().length;return n>=a?!1:(this.currentSpreadSheetPosition=n,this.currentSheetPosition=0,this.getCurrentSheet().getIsManualSelectHeader()?this.next():!0)}else return this.currentSheetPosition=e,this.getCurrentSheet().getIsManualSelectHeader()?this.next():!0};this.goToLastSpreadSheet=()=>{this.currentSpreadSheetPosition=Math.max(this.originalSpreadSheetList.getSelectedSpreadSheets().length-1,0)};this.goToLastSheet=()=>{let e=this.getCurrentSpreadSheet();this.currentSheetPosition=Math.max(e.getSelectedSheets().length-1,0)};this.getSpreadSheetList=()=>this.updatedSpreadSheetList;this.setUpdatedSpreadSheetList=e=>{this.updatedSpreadSheetList=e};this.getOriginalSpreadSheetList=()=>this.originalSpreadSheetList;this.originalSpreadSheetList=e,this.updatedSpreadSheetList=e}},ei=Vy;var Xh=class{constructor(){this.handle=async({data:e,headerIndex:r,hasDateType:o,automaticHeaderDetection:n,workersBaseUrl:a})=>{let i,s=Cn({workersBaseUrl:a});await s.init();let l=$y(e);if(l)i=e;else try{i=await s.jsonParser(JSON.stringify(e),{hasDateType:o})}catch{throw s.clear(),new Error("1000")}s.clear();let c=new Yi({sheetData:i,filename:"",type:"dynamic-import",sheetName:"",fileSize:0}),u;if(!l)u=c.getSpreadSheet({autoDetectedHeader:n??!1});else if(Gc(r))u=c.getSpreadSheet({autoDetectedHeader:!0});else{u=c.getSpreadSheet({autoDetectedHeader:!1});let f=u.getSheets()[0].getData();r>=0&&r<f.length?u.getSheets()[0].setHeaderRowIndex(r):u.getSheets()[0].setHeaderByAutoDetection()}let d=new Zi({spreadSheets:[u]});return d.selectAllSheets(!0),new ei({spreadSheetList:d})}}},Jh=class{constructor(e){this.generateMemorizeFindDataModel=()=>{let e={},r={},o=0;for(let n=0;n<this.dataModels.length;n++){let a=this.dataModels[n];e[a.getKey()]=a,a.isHidden()||(r[a.getKey()]=o,o++)}return n=>({dataModel:e[n],colIndex:r[n]??-1})};this.checkInvalidFormat=e=>!V9(e)||e.some(r=>!H9(r)&&!Gc(r));this.handle=({data:e})=>{let r=e;if(this.checkInvalidFormat(e))throw new Error("1000");let o=this.generateMemorizeFindDataModel(),n=[],a={};for(let i=0;i<r.length;++i){if(n[i]={},Gc(r[i]))continue;let s=Object.keys(r[i]);for(let l=0;l<s.length;++l){let c=s[l],u=o(c);if(!u.dataModel)throw new Error("1001");if(H9(r[i][c])&&!V9(r[i][c])){if(Gc(r[i][c].value)||(n[i][c]=so.parse(r[i][c].value,{dataModel:u.dataModel})),Gc(r[i][c].info))continue;u.colIndex>=0&&r[i][c].info?.forEach(d=>{let p={rowIndex:i,colIndex:u.colIndex,popover:{message:d.message,level:d.level||Ui}};(a[i]?.length??0)===0?a[i]=[p]:a[i].push(p)})}else Gc(r[i][c])||(n[i][c]=so.parse(r[i][c],{dataModel:u.dataModel}))}}return{dataInfos:a,parsedValues:n}};this.dataModels=e}},Qh=class{constructor(){this.handle=async({data:e,hasDateType:r,workersBaseUrl:o})=>{if(this.checkInvalidFormat(e))throw new Error("1000");let n=Cn({workersBaseUrl:o});await n.init();let a=[];for(let s of e){for(let c of s.sheets)if(!$y(c.data))try{c.data=await n.jsonParser(JSON.stringify(c.data),{hasDateType:r})}catch{throw n.clear(),new Error("1000")}n.clear();let l=new il({multipleSheetData:s.sheets,filename:s.fileName,type:"dynamic-import",fileSize:0});a.push(l.getSpreadSheet({autoDetectedHeader:!1}))}return new Zi({spreadSheets:a})}}checkInvalidFormat(e){if(!Array.isArray(e))return!0;for(let r of e){if(!B9(r?.fileName)||r.fileName.trim()===""||!Array.isArray(r?.sheets)||r.sheets.length===0)return!0;let o=[];for(let n of r.sheets)if(o.includes(n.sheetName)||(o.push(n.sheetName),!B9(n?.sheetName)||n?.sheetName.trim()===""||!Array.isArray(n?.data)||n.data.length===0||Array.isArray(n?.data[0])&&n.data[0].length===0||!Array.isArray(n?.data[0])&&Kee(n.data[0])))return!0}return!1}};import{useTranslation as wte}from"react-i18next";import{isNil as Yee,isObject as Zee,isArray as Xee,isEmpty as Jee}from"lodash";var Hy=class{static{this.checkIsEmpty=e=>Yee(e)||Jee(e)}static{this.isInValidObjectArray=e=>!Zee(e)&&!Xee(e)}},eg=Hy;import{useContext as Qee}from"react";var ete=()=>Qee(By),Lt=ete;import{useCallback as tte}from"react";import{useTranslation as rte}from"react-i18next";var ote=()=>{let{showConfirmModal:t}=tt(),{t:e}=rte(),{closePage:r}=Lt(),{cancelHookObservable:o}=Co();return{warnLicenseKeyIsInvalid:tte(()=>{t({textNegativeButton:e("txt_close"),textPositiveButton:e("txt_back"),title:e("txt_invalid_license_key"),isShowIcon:!0,isShowPositiveButton:!1,description:e("txt_invalid_license_key_description"),onClickNegativeButton:()=>{o?.next(null),r()},onCloseModal(){o?.next(null)}})},[t,e,o,r])}},Xi=ote;import{isEmpty as yte}from"lodash";import{createContext as ste,useMemo as j9,useRef as lte,useState as $p}from"react";var tg=(t,e)=>e.development_mode?e.is_verified&&t:e.is_verified&&!t;import{useEffect as nte,useRef as Uy}from"react";var So=t=>{let e=Uy(),r=Uy(!1),o=Uy(!1);r.current&&(o.current=!0),nte(()=>{if(!r.current)return r.current=!0,e.current=t(),()=>{o.current&&e.current&&e.current()}},[])};var jy=class{static mapDAOtoFeatureWhitelist(e,r){let o=new Uc;return o.enableI18nOverrides(e.plan_detail.features.i18n),o.enableMultiFileUpload(e.plan_detail.features.multiple_file_upload),o.enableReuseMapping(e.plan_detail.features.remember_mapping),o.enableAutomaticMapping(e.plan_detail.features.automatic_mapping,e.plan),o.setStepHandler(e.plan_detail.features.step_handler??!1),e.plan_detail.upload_size_limit===0?o.setFileSizeUnlimited():o.setMaxFileSizeInMb(e.plan_detail.upload_size_limit),o.setInputTypes(e.plan_detail.features.input_types||[]),o.setDefaultLanguage(e.default_language??"en"),o.setDynamicImport(e.plan_detail.features.dynamic_import,e.plan),o.setCustomStyling(e.plan_detail.features.custom_style,e.plan),o.setEnableLogs(e.plan_detail.features.logs),o.setLoading(!1),o.setLocale(r||{}),o.setRowsLimit(e.plan_detail.sdk_rows_limit??void 0),o.setEnableSmartTable(e.plan_detail.features.smart_table||!1),o.setEnableCleaningAssistant(e.plan_detail.features.cleaning_assistant||!1),o.setEnableWatermark(e.plan_detail.features.watermark||!1),o.setEnableContextualEngine(e.plan_detail.features.contextual_engine||!1),o.setEnableNodeProcessing(e.plan_detail.features.node_processing||!1),o.setEnablePrompts(e.plan_detail.features.prompts||!1),o}static getEmptyFeatureWhitelist(){let e=new Uc;return e.setLoading(!1),e}},rg=jy;var og=class extends Br{constructor(){super(...arguments);this.getLocales=async({language:r},o)=>this.get("/utils/locales",{language:r},{headers:{Authorization:o,apikey:this.sendApiKey?Wt:void 0}})}};import{Subject as cte}from"rxjs";var Wy=class extends Br{constructor(){super(...arguments);this.verifyLicenseKey=async({licenseKey:r,sessionId:o})=>this.post("/verify",{session_id:o,meta:Ce.getInstance().getMeta()},{headers:{apikey:this.sendApiKey?Wt:void 0,Authorization:r}})}},U9=Wy;import{useMemo as ate}from"react";var ite=()=>{let t=ee();return ate(()=>({isDeveloperMode:t.developerMode??!1}),[t])},Ia=ite;import{jsx as ute}from"react/jsx-runtime";var zy=ste({isAuth:!1,isLoading:!1,htLicenseKey:"non-commercial-and-evaluation",isExpire:!1,verifyLicenseKey:void 0,verifyLicenseKeyListener:null,isVerifyingLicenseKey:!1}),W9=({licenseKey:t,children:e})=>{let r="non-commercial-and-evaluation",[o,n]=$p(!1),[a,i]=$p(!1),[s,l]=$p(!0),[c,u]=$p(r),{language:d,baseUrl:p,isSelfHosted:f}=ee(),[h,v]=$p(!0),{sessionId:b}=br(),y=j9(()=>new U9({sendApiKey:!f},{baseURL:p}),[p,f]),w=j9(()=>new og({sendApiKey:!f},{baseURL:p}),[p,f]),{setFeatureWhiteList:x}=Nt(),{isDeveloperMode:C}=Ia(),S=lte(new cte),_=async E=>{u(E?.ht_license_key?.trim()||r),n(tg(C,E));let k;E.plan_detail.features.i18n&&d?k=d:k=E.default_language??"en";let T=await w.getLocales({language:k},t),R=rg.mapDAOtoFeatureWhitelist(E,T);return x(R),l(!1),i(!(E.is_verified??!1)),!0},I=()=>{let E=rg.getEmptyFeatureWhitelist();return x(E),l(!1),!1},M=async()=>{v(!0);try{let E=await y.verifyLicenseKey({licenseKey:t,sessionId:b});return v(!1),S.current?.next(tg(C,E)),_(E)}catch{return S.current?.next(!1),v(!1),I()}};return So(()=>{if(t&&t?.trim()?.length>0||f)return(async()=>{try{let k=await y.verifyLicenseKey({licenseKey:t,sessionId:b});S.current?.next(tg(C,k)),v(!1),await _(k)}catch{S.current?.next(!1),v(!1),I()}})(),()=>{v(!1),l(!1)};{let E=rg.getEmptyFeatureWhitelist();x(E),l(!1),v(!1),n(!1)}return()=>{}}),ute(zy.Provider,{value:{isAuth:o,isLoading:s,htLicenseKey:c,isExpire:a,verifyLicenseKey:M,isVerifyingLicenseKey:h,verifyLicenseKeyListener:S.current},children:e})};import{useContext as dte}from"react";var pte=()=>dte(zy),Kt=pte;import{createContext as mte,useState as fte}from"react";import{jsx as hte}from"react/jsx-runtime";var qy=mte({reload:()=>{}}),z9=({children:t})=>{let[e,r]=fte(!1),o=n=>{Ce.getInstance().setReloadSession(n),r(!0),setTimeout(()=>{r(!1)},0)};return hte(qy.Provider,{value:{reload:o},children:e?null:t})};import{useContext as gte}from"react";var vte=()=>{let t=gte(qy);if(!t)throw new Error("useImporterSession must be used within an ImporterSessionManager");return t},q9=vte;var Cte=({modal:t,isAuth:e,openModal:r,licenseKey:o})=>{let n=Gt(),a=qt(),{columns:i,embedUploadArea:s=!1,dynamicImport:l,identifier:c}=ee(),{showConfirmModal:u}=tt(),{t:d}=wte(),{automaticHeaderDetection:p,workersBaseUrl:f}=ee(),{warnLicenseKeyIsInvalid:h}=Xi(),{featureWhiteList:v}=Nt(),{cancelHookObservable:b}=Co(),{verifyLicenseKeyListener:y,verifyLicenseKey:w,isVerifyingLicenseKey:x}=Kt(),{reload:C}=q9(),S=bte(async _=>C(_),[C]);return G9(()=>{Yh.listener(c,async({data:_,headerIndex:I,step:M})=>{try{if(!e){h();return}if(!l)throw new Error("1002");if(eg.checkIsEmpty(_)&&M!=="review"){t&&!s&&(r(),Ce.getInstance().setStartSession(c),n({pathname:gr}));return}if(eg.isInValidObjectArray(_))throw new Error("1000");let E=M;if(["header","mapping","review","sheetSelection"].includes(E)||(E="header"),E==="review"){let k=new Jh(a.getDataModels()),{parsedValues:T,dataInfos:R}=k.handle({data:(yte(_)?Ny:_)??Ny});t&&r(),setTimeout(()=>{Ce.getInstance().setStartSession(c),n({pathname:ar},{state:{columns:i,dataModels:a.getDataModels(),dynamicValues:T,dynamicDataInfos:R,dynamicUploadStart:ar,hideStepper:!0}})})}else if(E==="sheetSelection"){let T=await new Qh().handle({data:_??[],hasDateType:a.hasDateType(),workersBaseUrl:f??""}),R=vr;t&&r(),setTimeout(()=>{Ce.getInstance().setStartSession(c),n({pathname:R},{state:{spreadSheetList:T,dynamicUploadStart:R}})},220)}else{let T=await new Xh().handle({data:_??{},hasDateType:a.hasDateType(),headerIndex:I,automaticHeaderDetection:p,workersBaseUrl:f??""}),R=T?.getSpreadSheetList()?.getAllSheets()?.[0]?.getData();if(eg.checkIsEmpty(R)){t&&!s&&(r(),Ce.getInstance().setStartSession(c),n({pathname:gr}));return}let P=E==="header"&&!p?Ft:Et;t&&r(),setTimeout(()=>{Ce.getInstance().setStartSession(c),n({pathname:P},{state:{spreadSheetNavigate:T,dynamicUploadStart:P}})},220)}}catch(E){let k=()=>{switch(E.message){case"1000":return d("txt_error_dynamic_import_invalid_data_format");case"1001":return d("txt_error_dynamic_import_not_matched_tdm");case"1002":return d("txt_error_dynamic_import_no_support");default:return d("txt_error_dynamic_import_unknown")}};u({title:d("txt_default_title_error"),description:`<div>
|
|
98
|
+
`),disabledClickOutside:u,isShowCloseIcon:d,overlayStyled:m({"&&":$.getDialogConfirmTheme().overlay,"&&&":oe?.overlay}),bodyStyled:m({"&&":$.getDialogConfirmTheme().root,"&&&":oe?.root}),closeIconStyled:$.getDialogConfirmTheme().closeIcon,closeButtonClassName:m({"&&& line":oe?.closeIcon}),children:e9("div",{className:"w-full px-7 pb-8 pt-3",children:[co("div",{className:"flex justify-center pb-4",children:de()}),t&&co("p",{className:g("xss:pb-2 text-color-primary text-neutral-gray pb-1 text-center text-xl font-semibold",m({"&&":$.getDialogConfirmTheme().title,"&&&":oe?.title}),E),dangerouslySetInnerHTML:{__html:t}}),e&&co("p",{className:g("xss:pb-7 text-color-secondary pb-2 text-center text-sm font-normal",m({"&&":$.getDialogConfirmTheme().description,"&&&":oe?.description}),y),dangerouslySetInnerHTML:{__html:e}}),b||null,co("div",{className:g("xss:flex mt-2 flex-row justify-center sm:mt-0",w),children:co(Ve,{isShow:h&&H,message:co(zt,{className:g("max-w-240 h-full w-full text-center text-xs",P),variant:R,children:v}),flip:!0,arrowClassName:"#545454",direction:"top",offset:{mainAxis:12},isShowArrow:!0,className:ce,render:({setReferenceElement:J})=>{let ue={className:g("xss:mt-0 mt-3",{"w-full":!l},x,k?ne:"",k?"text-gray-260":""),type:"submit",loading:z,onClick:q,ref:T==="negative"?J:void 0,...T==="negative"?Y():{}},X={...T==="positive"?Y():{},className:g(`xss:mt-0 xss:mr-4 mt-3 mr-0 ${f&&ne}`,C),type:"button",variant:"secondary",onClick:()=>{f||(O(!1),n&&n())}},re=o||"Ok";return e9(AQ,{children:[co("span",{ref:T==="positive"?J:void 0,className:g(S),children:l&&co(ye,{...X,children:co("div",{className:g("leading-6",f&&"text-gray-260"),children:r||N("txt_cancel")})})}),p!=="warn"?co(ye,{...ue,children:re}):A?co(ye,{...ue,children:re}):null]})}})})]})})},t9=PQ;import{jsx as VQ,jsxs as HQ}from"react/jsx-runtime";var ry=NQ({}),FQ=({children:t})=>{let[e,r]=r9(!1),[o,n]=r9(),a=LQ(i=>{n(i),r(!0)},[]);return $Q(()=>{e||n(void 0)},[e]),HQ(ry.Provider,{value:{isOpen:e,setOpenModal:r,showConfirmModal:a,type:o?.type,title:o?.title},children:[t,o&&VQ(t9,{title:o.title,description:o.description,textPositiveButton:o.textPositiveButton,textNegativeButton:o.textNegativeButton,onClickPositiveButton:o.onClickPositiveButton,onClickNegativeButton:o.onClickNegativeButton,onClickNegativeButtonPromise:o.onClickNegativeButtonPromise,isShowPositiveButton:o.isShowPositiveButton,isShowIcon:o.isShowIcon,disabledClickOutside:o.disabledClickOutside,isShowCloseIcon:o.isShowCloseIcon,type:o.type,disabledPositiveButton:o.disabledPositiveButton,disabledNegativeButton:o.disabledNegativeButton,isPopper:o.isPopper,textPopper:o.textPopper,content:o.content,descriptionClassName:o.descriptionClassName,footerClassName:o.footerClassName,negativeButtonClassName:o.negativeButtonClassName,positiveButtonClassName:o.positiveButtonClassName,positiveButtonWrapperClassName:o.positiveButtonWrapperClassName,roundedIcon:o.roundedIcon,baseModalClassName:o.baseModalClassName,customIcon:o.customIcon,titleClassName:o.titleClassName,onCloseModal:o.onCloseModal,popperPosition:o.popperPosition,messageVariant:o.messageVariant,messageClassName:o.messageClassName})]})},o9=FQ;import{useCallback as QQ,useMemo as m9,useRef as eee,useState as tee}from"react";import{createContext as ree}from"react";import{flatten as sy}from"lodash";var ny=class{constructor({similarity:e}){this.getValue=()=>this.similarity;this.similarity=e}},gn=ny;var Ph=class{constructor({sheetColumn:e,dataModel:r,similarity:o}){this.isMarkApplied=!1;this.getSimilarity=()=>this.similarity;this.getSheetColumn=()=>this.sheetColumn;this.getDataModel=()=>this.dataModel;this.markApplied=()=>{this.isMarkApplied=!0};this.unMarkApplied=()=>{this.isMarkApplied=!1};this.getMarkApplied=()=>this.isMarkApplied;this.isNull=()=>!1;this.sheetColumn=e,this.dataModel=r,this.similarity=o}},Ah=class extends Ph{constructor(){super({dataModel:new wo({description:"null",example:"null",key:"null",label:"null",type:"string",columnSize:1,optionMappingConfiguration:{layers:[],processingMode:"node",threshold:0}}),sheetColumn:new wh({sheet:new Yn({data:[[]],name:""}),columnKey:"",rows:[]}),similarity:new gn({similarity:0})});this.isNull=()=>!0}},n9=Ph;import{maxBy as BQ,orderBy as UQ}from"lodash";var ay=class{constructor({sheetColumnDataModelSimilarities:e}){this.getMostSimilarityBySheetColumn=e=>{let r=[];for(let o=0;o<this.sheetColumnDataModelSimilarities.length;o++)this.sheetColumnDataModelSimilarities[o].getSheetColumn()===e&&r.push(this.sheetColumnDataModelSimilarities[o]);return BQ(r,o=>o.getSimilarity().getValue())};this.getSortedSheetColumnDataModelSimilarity=e=>{let r=this.sheetColumnDataModelSimilarities.filter(o=>o.getSimilarity().getValue()>=e&&!o.getMarkApplied());return UQ(r,o=>o.getSimilarity().getValue(),"desc")};this.markDataModel=e=>{this.sheetColumnDataModelSimilarities.filter(r=>r.getDataModel()===e).forEach(r=>{r.markApplied()})};this.markSheetColumn=e=>{this.sheetColumnDataModelSimilarities.filter(r=>r.getSheetColumn()===e).forEach(r=>{r.markApplied()})};this.clearMark=()=>{this.sheetColumnDataModelSimilarities.forEach(e=>{e.unMarkApplied()})};this.getSimilaritySheetColumn=(e,r)=>this.sheetColumnDataModelSimilarities.find(o=>o.getSheetColumn()===e&&o.getDataModel()===r);this.sheetColumnDataModelSimilarities=e}},Nh=ay;var Lh=class{constructor({sheetColumnOption:e,dataModelOption:r,similarity:o}){this.getSimilarity=()=>this.similarity;this.getSheetColumnOption=()=>this.sheetColumnOption;this.getDataModelOption=()=>this.dataModelOption;this.isNull=()=>!1;this.hash=()=>{let e=this.getDataModelOption().dataModel.getKey(),r=this.getDataModelOption().option,o=this.getSheetColumnOption().sheetColumn.getColumnKey(),n=this.getSheetColumnOption().option;return`${e}-${r}-${o}-${n}`};this.sheetColumnOption=e,this.dataModelOption=r,this.similarity=o}},Dp=class extends Lh{constructor(){super({sheetColumnOption:{option:"null",sheetColumn:new wh({columnKey:"",rows:[],sheet:new Yn({data:[[]],name:""})})},dataModelOption:{dataModel:new Mp({description:"null",example:"null",key:"null",options:[],type:"single-select",label:"null",columnSize:1,isMultiSelection:!1,optionMappingConfiguration:{layers:[],processingMode:"node",threshold:0}}),option:""},similarity:new gn({similarity:0})});this.isNull=()=>!0}},a9=Lh;import{orderBy as jQ}from"lodash";var iy=class t{constructor({sheetColumnDataModelOptionSimilarities:e,mapSheetColumnDataModelOptions:r}){this.mapSheetColumnDataModelOptions=[];this.getSheetColumnDataModelOptionSimilarities=e=>{let r=this.sheetColumnDataModelOptionSimilarities.filter(o=>o.getSimilarity().getValue()>=e);return jQ(r,o=>o.getSimilarity().getValue(),"desc")};this.getSimilaritySheetColumnOptions=(e,r)=>this.getSheetColumnDataModelOptionSimilarities(r.getOptionMappingConfiguration().threshold).filter(o=>o.getSheetColumnOption().sheetColumn===e&&o.getDataModelOption().dataModel===r);this.getSimilaritiesDataModelOption=(e,r,o)=>this.sheetColumnDataModelOptionSimilarities.filter(n=>n.getSheetColumnOption().sheetColumn===e&&n.getDataModelOption().dataModel.getKey()===r.getKey()&&n.getDataModelOption().option===o);this.getSimilaritiesDataModelBySheetColumn=(e,r)=>this.sheetColumnDataModelOptionSimilarities.filter(o=>o.getSheetColumnOption().sheetColumn===e&&o.getDataModelOption().dataModel.getKey()===r.getKey());this.getRawSheetColumnDataModelOptionSimilarities=()=>this.sheetColumnDataModelOptionSimilarities;this.isAlreadyMapping=(e,r)=>!!this.mapSheetColumnDataModelOptions.some(o=>o.sheetColumn.equal(e)&&r===o.dataModel);this.sheetColumnDataModelOptionSimilarities=e,this.mapSheetColumnDataModelOptions=r}merge(e){let r=e.getRawSheetColumnDataModelOptionSimilarities(),o=e.mapSheetColumnDataModelOptions;for(let n=0;n<this.sheetColumnDataModelOptionSimilarities.length;++n)r.find(i=>{let s=i.getDataModelOption(),l=i.getSheetColumnOption(),c=this.sheetColumnDataModelOptionSimilarities[n].getSheetColumnOption(),u=this.sheetColumnDataModelOptionSimilarities[n].getDataModelOption();return l.option===c.option&&l.sheetColumn.getColumnKey()===c.sheetColumn.getColumnKey()&&s.option===u.option&&s.dataModel.getKey()===u.dataModel.getKey()})||r.push(this.sheetColumnDataModelOptionSimilarities[n]);for(let n=0;n<this.mapSheetColumnDataModelOptions.length;++n)o.push(this.mapSheetColumnDataModelOptions[n]);return new t({sheetColumnDataModelOptionSimilarities:r,mapSheetColumnDataModelOptions:o})}},Pp=iy;var ly=class{constructor({calculateSimilarityResult:e,sheets:r,dataModels:o,options:n={}}){this.parseSheetOption=e=>["true","false"].includes(e)?JSON.parse(e):e;this.getSheetColumnDataModelSimilarityList=()=>{let e=this.calculateSimilarityResult.result.map(o=>o.suggestions.map(n=>{let a=this.dataModels.find(s=>{let l=s.getKey(),c=n.key;return this.options?.isAutoMapping===!0&&(l=wa(s.getKey()),c=wa(n.key)),!!(l===c||s.getAlternativeMatches().includes(n.key))}),i=[];for(let s=0;s<this.sheets.length;s++)this.sheets[s].getColumnsByKey(o.label,this.options?.isAutoMapping).forEach(c=>{i.push(c)});return i.map(s=>a&&s?new n9({dataModel:a,sheetColumn:s,similarity:new gn({similarity:n.value})}):new Ah)})),r=[];return sy(sy(sy(e))).forEach(o=>{let n=!1;r.forEach((a,i)=>{!a.isNull()&&a.getDataModel()===o.getDataModel()&&a.getSheetColumn()===o.getSheetColumn()&&(n=!0,o.getSimilarity()>a.getSimilarity()&&(r[i]=o))}),n||r.push(o)}),new Nh({sheetColumnDataModelSimilarities:r})};this.generateSheetColumnDataModelOptionSimilarity=({sheetOption:e,dataModel:r,similarities:o,sheetColumn:n,sheetColumnDataModelOptionSimilaritiesHashMap:a})=>{let i={option:this.parseSheetOption(e),sheetColumn:n},s=Object.keys(o);for(let l=0;l<s.length;++l){let c=s[l],u=o[c],d=[];if(r&&i.sheetColumn&&r.isDropdown()){let p=[];if(r.getType()==="boolean")p=[c];else{let f=r.getOptions();c===""&&u>0&&p.push("");for(let h=0;h<f.length;++h){let v=f[h];v.label===c&&p.push(v.value)}}for(let f=0;f<p.length;++f){let h=p[f];h?.length>0||h.length===0&&u>0?d.push(new a9({dataModelOption:{dataModel:r,option:h},similarity:new gn({similarity:u}),sheetColumnOption:i})):d.push(new Dp)}}else d.push(new Dp);for(let p=0;p<d.length;++p){let f=!1,h=d[p];if(!h.isNull()){let v=a[h.hash()];v&&(f=!0,h.getSimilarity().getValue()>v.getSimilarity().getValue()&&(a[h.hash()]=h))}f||(a[h.hash()]=h)}}};this.getSheetColumnDataModelOptionSimilarityList=e=>{let r={},o=this.calculateSimilarityResult,n=[];for(let s=0;s<o.result.length;++s){let l=o.result[s],c=l.optionMappings,u;if(e)u=e;else for(let p=0;p<this.sheets.length;p++){let f=this.sheets[p].getColumn(l.label,this.options?.isAutoMapping);if(f){u=f;break}}let d=Object.keys(c);for(let p=0;p<d.length;++p){let f=d[p],h=c[f],v=this.dataModels.find(y=>{let w=y.getKey(),x=f;return this.options?.isAutoMapping===!0&&(w=wa(w),x=wa(x)),w===x});v&&u&&n.push({sheetColumn:u,dataModel:v});let b=Object.keys(h);for(let y=0;y<b.length;++y){let w=b[y],x=h[w];this.generateSheetColumnDataModelOptionSimilarity({sheetOption:w,similarities:x,dataModel:v,sheetColumnDataModelOptionSimilaritiesHashMap:r,sheetColumn:u})}}}let a=[],i=Object.keys(r);for(let s=0;s<i.length;++s){let l=i[s];r[l].isNull()||a.push(r[l])}return new Pp({sheetColumnDataModelOptionSimilarities:a,mapSheetColumnDataModelOptions:n})};this.calculateSimilarityResult=e,this.sheets=r,this.dataModels=o,this.options=n}static{this.mergeCalculateSimilarityResultOptions=(e,r)=>{let o={result:[...e.result]};for(let n=0;n<r.result.length;++n){let a=r.result[n],i;for(let s=0;s<o.result.length;++s)if(a.label===o.result[s].label){i=o.result[s];break}if(i){let s=Object.keys(i.optionMappings);for(let c=0;c<s.length;++c){let u=s[c];i.optionMappings[u]={...i.optionMappings[u],...a.optionMappings[u]??{}}}let l=Object.keys(a.optionMappings);for(let c=0;c<l.length;++c){let u=l[c];i.optionMappings[u]={...i.optionMappings[u]??{},...a.optionMappings[u]}}}}return o}}},vn=ly;var $h=class{constructor(e,r){this.isUploadSheetData=e=>e.some(r=>r.getOptionMappingConfiguration().processingMode==="node");this.matchColumns=async(e,r,o)=>{let{processingMode:n,layers:a,threshold:i}=r;return n==="node"?this.backendMatchingRepository.matchColumns(e,{layers:a,threshold:i},o):this.browserMatchingRepository.matchColumns(e,{layers:a,threshold:i},o)};this.matchInitialOptions=async(e,r,o,n,a)=>{let i=e.getAllSheets(),s=e.getAllDataModels(),l=r.filter(h=>{let v=h.matchedDataModel?.dataModel;return!!v&&v.isDropdown()}),c=await Promise.all(l.map(async h=>{let v=h.matchedDataModel.dataModel,b={dataModel:v,sheetColumn:h.sheetColumn,sheets:i,dataModels:s,licenseKey:n,sessionId:a},y;return v.getOptionMappingConfiguration().processingMode==="node"?y=this.backendMatchingRepository:y=this.browserMatchingRepository,(await y.matchOption({...b,sheetColumn:b.sheetColumn})).calculateSimilarityResult})),d={result:[...[...o.result].map(h=>({...h,optionMappings:{}}))]};for(let h=0;h<c.length;++h)d=vn.mergeCalculateSimilarityResultOptions(d,c[h]);let f=new vn({calculateSimilarityResult:d,sheets:i,dataModels:s}).getSheetColumnDataModelOptionSimilarityList();return{calculateSimilarityResult:d,sheetColumnDataModelOptionSimilarityList:f}};this.matchOption=async({dataModel:e,sheetColumn:r,sheets:o,dataModels:n,licenseKey:a,processMode:i,sessionId:s})=>{let l={dataModel:e,sheetColumn:r,sheets:o,dataModels:n,licenseKey:a,sessionId:s};return i==="node"?this.backendMatchingRepository.matchOption(l):this.browserMatchingRepository.matchOption(l)};this.uploadData=async(e,r,o,n)=>o.some(a=>a.getOptionMappingConfiguration().processingMode==="node")?this.backendMatchingRepository.prepareData(e,r,n):Promise.resolve();this.clearData=(e,r)=>{this.isUploadSheetData(r)&&this.backendMatchingRepository.clearData(e)};this.complete=(e,r)=>{this.isUploadSheetData(r)&&this.backendMatchingRepository.complete(e)};this.browserMatchingRepository=e,this.backendMatchingRepository=r}};import{isNil as zQ}from"lodash";import{isNil as i9}from"lodash";var s9=/[,;|](?=['"`])/g,WQ=/[;]|[|]|,[ a-zA-Z]/g,Sa=t=>i9(t)?!1:`${t}`.match(s9)?!0:!!`${t}`.match(WQ),_a=t=>{if(i9(t))return[];let e=`${t}`.split(s9);if(e.length===1){e=[];let r=`${t}`.split(/[;]|[|]|, /g);for(let o=0;o<r.length;o++){let n=r[o];/,[a-zA-Z]/.test(n)?e=e.concat(n.split(",")):e.push(n)}}return e.map(r=>r.replace(/[\s\-_&+'"`]/g," ").trim())};var Ap=class t{constructor({spreadSheetList:e,dataModels:r,licenseKey:o}){this.getColumns=()=>{let e=this.dataModels,r=[];for(let o=0;o<e.length;o++){let n=t.mapDataModelToColumn(e[o]);n&&r.push(n)}return r};this.getInputHeaderRow=()=>{let e=[];return this.allSheets.forEach(r=>{r.getColumns().forEach(n=>{e.push(n.getColumnKey())})}),e};this.getAllSheets=()=>this.allSheets;this.getAllDataModels=()=>this.dataModels;this.getLicenseKey=()=>this.licenseKey;this.spreadSheetList=e,this.dataModels=r,this.allSheets=this.spreadSheetList.getSelectedSheets(),this.licenseKey=o}static{this.getDropdownOptions=e=>e.isCategoryType()?e.getOptions().map(o=>({label:o.label,value:o.value,alternativeMatches:o.alternativeMatches})):null}static{this.getOptionMappingConfiguration=e=>{if(e.isDropdown())return e.getOptionMappingConfiguration()}}static{this.getType=e=>{switch(e.getType()){case"boolean":return"boolean";case"single-select":case"country_code_alpha_2":case"country_code_alpha_3":case"currency_code":return"category";case"int":case"float":return"number";default:return"string"}}}static{this.mapDataModelToColumn=e=>({key:e.getKey(),label:e.getLabel(),description:e.getDescription(),isMultiple:e.getIsMultiSelection(),dropdownOptions:this.getDropdownOptions(e),columnType:this.getType(e).toUpperCase(),alternativeMatches:e.getAlternativeMatches(),optionMappingConfiguration:this.getOptionMappingConfiguration(e)})}static{this.parseValue=e=>zQ(e)?"":`${e}`}static{this.getInputJsonBySheetColumn=(e,r)=>{let o=[],n=e.getUniqueRows(),a=n.length,i={},s=e.getColumnKey(),l=0;for(let d=0;d<a;d++){let p=t.parseValue(n[d]);Sa(p)&&r.getIsMultiSelection()?_a(p).forEach(v=>{i[s]?i[s].push(v):i[s]=[v]}):(o[l]?o[l][s]=p:o[l]={[s]:p},l++)}let c=Object.keys(i),u=o.length;for(let d=0;d<c.length;d++){let p=c[d];i[p].forEach((h,v)=>{let b=u+v;o[b]?o[b][p]=h:o[b]={[p]:h}})}return[o]}}},Np=Ap;var cy=class{constructor(){this.matchColumns=async(e,r,o)=>{let n=e.getAllSheets(),a=e.getAllDataModels(),i=await this.matchColumnsTask(e,r,o),l=new vn({calculateSimilarityResult:i[0],sheets:n,dataModels:a}).getSheetColumnDataModelSimilarityList();return{calculateSimilarityResult:i[0],sheetColumnDataModelSimilarityList:l}};this.matchOption=async({dataModel:e,sheetColumn:r,sheets:o,dataModels:n,licenseKey:a,sessionId:i})=>{let l=(await this.matchOptionTask({dataModel:e,sheetColumn:r,sheets:o,licenseKey:a,sessionId:i}))[0];this.matchBoolean([l],o,n);let u=new vn({calculateSimilarityResult:l,sheets:o,dataModels:n}).getSheetColumnDataModelOptionSimilarityList(r);return{calculateSimilarityResult:l,sheetColumnDataModelOptionSimilarityList:u}};this.matchBoolean=(e,r,o)=>{e.forEach((n,a)=>{n.result.forEach(i=>{let l=r[a].getColumn(i.label);l&&o.filter(u=>u.getType()==="boolean").forEach(u=>{let d=l.getUniqueRows();for(let p=0;p<d.length;p++){let f=d[p],h=null,v=`${f}`.toLowerCase().trim();if(Vi().includes(v)?h={true:1}:Hi().includes(v)&&(h={false:1}),h){let b=i.optionMappings[u.getKey()]??{};i.optionMappings[u.getKey()]={...b,[`${f}`]:h}}}})})})}}},Fh=cy;import{flatten as qQ}from"lodash";var uy=class{constructor(e,r){this.fileName="";this.parseData=e=>{let r=[],o=0,n=qQ(e.map(a=>a.getColumns()));r[0]=[],n.forEach((a,i)=>{r[0][i]=a.getColumnKey(),a.getUniqueRows().length>o&&(o=a.getUniqueRows().length)});for(let a=0;a<o;++a){r[a+1]=[];for(let i=0;i<n.length;++i){let s=n[i].getUniqueRows()[a]??"";r[a+1][i]=s}}return r};this.initialize=()=>{this.fileName=""};this.upload=async(e,r,o)=>{this.initialize();let n=this.parseData(e),a=await this.uploadInputSheetAPI.createFile(r,o);return this.fileName=a.file_name,this.inputSheetClearer.add(this.fileName),this.uploadInputSheetAPI.uploadData(a.signed_url,n,o)};this.getFileName=()=>this.fileName;this.clearData=e=>{this.initialize(),this.inputSheetClearer.clear(e)};this.complete=e=>{let r=this.fileName;r&&(this.initialize(),this.inputSheetClearer.remove(r),this.uploadInputSheetAPI.clearFile(r,e).catch(()=>{}))};this.uploadInputSheetAPI=e,this.inputSheetClearer=r}},l9=uy;import GQ from"axios";var Br=class{constructor(e,r={}){this.httpClient=GQ.create(r),this.sendApiKey=e.sendApiKey,this.setupInterceptors()}setupInterceptors(){this.httpClient.interceptors.request.use(e=>e,e=>Promise.reject(e)),this.httpClient.interceptors.response.use(e=>e,e=>Promise.reject(e))}getHttpClient(){return this.httpClient}async get(e,r,o){return(await this.httpClient.request({method:"GET",url:e,params:r,...o})).data}async post(e,r,o={}){return(await this.httpClient.request({method:"POST",url:e,data:r,...o})).data}async put(e,r,o={}){return(await this.httpClient.request({method:"PUT",url:e,data:r,...o})).data}async patch(e,r,o={}){return(await this.httpClient.request({method:"PATCH",url:e,data:r,...o})).data}async delete(e,r={}){return(await this.httpClient.request({method:"DELETE",url:e,...r})).data}},Ki=Br;var bt={csv:"text/csv",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xls:"application/vnd.ms-excel",xml:"text/xml",json:"application/json",tsv_text:"text/tab-separated-values",tsv:".tsv",pdf:"application/pdf",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.12"},c9=[bt.csv,bt.tsv,bt.tsv_text,bt.json];var dy=class t{constructor(){this.framework="react";this.versionNumber="4.0.5";this.uploadedFiles={};this.frameworkVersion="1.0.0";this.eventStack={};this.reviewEntriesLog={};this.parseSession=!1;this.startSession={};this.reloadSession={};this.verifySession={};this.getMeta=()=>({version:this.getVersionNumber(),framework:this.getFrameWork(),origin:this.getOrigin(),framework_version:this.getFrameworkVersion()});this.setParseSession=()=>{this.parseSession=!0};this.getParseSession=()=>this.parseSession;this.clearParseSession=()=>{this.parseSession=!1};this.setStartSession=e=>{this.startSession[e]=!0};this.getStartSession=e=>this.startSession[e];this.clearStartSession=e=>{this.startSession[e]=void 0};this.setReloadSession=e=>{this.reloadSession[e]=!0};this.getReloadSession=e=>this.reloadSession[e];this.clearReloadSession=e=>{this.reloadSession[e]=void 0};this.setVerifySession=e=>{this.verifySession[e]=!0};this.getVerifySession=e=>this.verifySession[e];this.clearVerifySession=e=>{this.verifySession[e]=void 0}}static{this.eventMapping={"/":"upload","/select-sheet":"sheet_selection","/select-header":"header_selection","/match-column":"match_columns","/review-entries":"review_entries","/join-column":"join_sheets"}}static getInstance(){return t.instance||(t.instance=new t),t.instance}setFrameWork(e){this.framework=e}getFrameWork(){return this.framework}setOrigin(e){this.origin=e}getOrigin(){return this.origin??""}setVersionNumber(e){this.versionNumber=e}getVersionNumber(){return this.versionNumber}setFrameworkVersion(e){this.frameworkVersion=e}getFrameworkVersion(){return this.frameworkVersion}pushEventStack(e,r){this.eventStack[e]||(this.eventStack[e]=[]);let o=this.eventStack[e][this.eventStack[e].length-1];r.action==="end"&&(o?.eventType===`${t.eventMapping[r.step]||r.step}_end`||o?.eventType!==`${t.eventMapping[r.step]||r.step}_start`)||this.eventStack[e].length>0&&r.action==="start"&&o?.eventType.includes("_start")&&o?.eventType!==`${t.eventMapping[r.step]||r.step}_start`||(this.eventStack[e].push({eventType:`${t.eventMapping[r.step]||r.step}_${r.action}`,timestamp:new Date().toISOString()}),this.eventStack[e].length>1&&this.eventStack[e][this.eventStack[e].length-1].eventType===this.eventStack[e][this.eventStack[e].length-2].eventType&&this.eventStack[e].splice(this.eventStack[e].length-2,1))}removeEventStack(e,r){this.eventStack[e]=this.eventStack[e].filter(o=>o.eventType!==r)}getEventStack(e){return this.eventStack[e]}clearEventStack(e){this.eventStack[e]=[]}setUploadedFiles(e,r){this.uploadedFiles[e]||this.clearUploadedFilesStack(e),r.forEach(o=>this.uploadedFiles[e].push({fileSize:o.fileSize,fileType:this.mapSupportedType(o.type)}))}getUploadFiles(e){return this.uploadedFiles?.[e]||[]}clearUploadedFilesStack(e){this.uploadedFiles[e]=[]}setReviewEntriesLog(e,r){this.reviewEntriesLog[e]=r}getReviewEntriesLog(e){return this.reviewEntriesLog?.[e]||{}}setTotalCleanings(e,r){this.reviewEntriesLog[e].total_cleanings=r}clearReviewEntriesLog(e){this.reviewEntriesLog[e]={total_rows:0,total_error_rows:0,total_error_cells:0,total_columns:0,total_cleanings:0}}mapSupportedType(e){for(let[r,o]of Object.entries(bt))if(e===o)return r;return e}},Ce=dy;var py=class extends Br{constructor(){super(...arguments);this.createFile=async(r,o)=>this.post("/file/directory",{},{headers:{apikey:this.sendApiKey?Wt:void 0,Authorization:r,originRequest:Ce.getInstance().getOrigin()},signal:o.signal});this.uploadData=async(r,o,n)=>this.put(r,o,{baseURL:"",signal:n.signal});this.clearFile=async(r,o)=>this.delete(`/file?file_name=${r}`,{headers:{apikey:this.sendApiKey?Wt:void 0,Authorization:o,originRequest:Ce.getInstance().getOrigin()}})}},Vh=py;var my=class{constructor(e){this.fileNames=[];this.remove=e=>{this.fileNames=this.fileNames.filter(r=>r!==e)};this.add=e=>{this.fileNames.push(e)};this.clear=async e=>{let r=[...this.fileNames];for(let o=0;o<r.length;++o){let n=r[o];this.remove(n),await this.uploadInputSheetAPI.clearFile(n,e).catch(()=>{})}};this.uploadInputSheetAPI=e}},u9=my;var fy=class extends Fh{constructor(r,o,n={}){super();this.prepareData=async(r,o,n)=>{await this.uploadInputSheetRepository.upload(r,o,n)};this.clearData=r=>{this.uploadInputSheetRepository.clearData(r)};this.complete=r=>{this.uploadInputSheetRepository.complete(r)};this.matchColumnsTask=(r,o,n)=>{let a=r.getColumns().map(l=>({key:l.key,label:l.label,alternativeMatches:l.alternativeMatches})),i=r.getLicenseKey(),s=r.getInputHeaderRow();return this.nodeEngine.matchColumns(s,a,i,o,n)};this.matchOptionTask=({dataModel:r,sheets:o,sheetColumn:n,licenseKey:a,sessionId:i})=>{let s=Np.mapDataModelToColumn(r),l=[];for(let u=0;u<o.length;u++){let d=o[u];for(let p=0;p<d.getColumns().length;p++){let f=d.getColumns()[p];l.push(f)}}let c=l.findIndex(u=>u===n);return this.nodeEngine.matchOption(this.uploadInputSheetRepository.getFileName(),[{column:{dropdownOptions:s.dropdownOptions,isMultiSelect:s.isMultiple,key:s.key,label:s.label,optionMappingConfiguration:s.optionMappingConfiguration},column_index:c}],a,i)};this.nodeEngine=r;let a=new Vh(o,n),i=new u9(a);this.uploadInputSheetRepository=new l9(a,i)}},d9=fy;import{flatten as XQ}from"lodash";import{createEndpoint as KQ,releaseProxy as YQ,wrap as ZQ}from"comlink";var bn=({workerFile:t,hostWorkerUrl:e})=>{let r=null,o=null;return{init:async()=>{if(!r||!o)try{e?r=r=new Worker(e):r=t(),r&&await new Promise((s,l)=>{if(!r)return l();r.addEventListener("error",c=>{c.preventDefault(),r?.terminate(),o?.[KQ](),o=null,l(new Error("has something wrong with worker"))}),o=ZQ(r),o.check().then(s).catch(l)})}catch{}},clear:()=>{o&&(o?.[YQ](),r?.terminate(),o=null)},getRemote:()=>o}};var wn={IMPORT:"importWorkerBundle.js",HOOKS:"hooks.js",MATCHING:"matchingValues.js",ML:"ml.js",SEARCH_AND_REPLACE:"searchAndReplace.js",JAVASCRIPT:"javascript.js"};var yn=(...t)=>t.map((e,r)=>r===0?e.replace(/\/+$/,""):e.replace(/^\/+|\/+$/g,"")).join("/");var hy=({workersBaseUrl:t})=>{let e=t?yn(t,wn.ML):"",{init:r,getRemote:o,clear:n}=bn({hostWorkerUrl:e,workerFile:()=>new Worker(new URL("workers/mapping/index.js",import.meta.url),{type:"module"})});return{init:r,clear:n,getOptionMappings:(...s)=>{let l=o();return l?l.getOptionMappings(...s):G7(...s)},getColumnMappings:(...s)=>{let l=o();return l?l.getColumnMappings(...s):K7(...s)}}};var Hh=class{constructor({workersBaseUrl:e}){this.getColumnMappings=async(e,r,o)=>{let n=hy({workersBaseUrl:this.workersBaseUrl});return await n.init(),n.getColumnMappings(e,r,o).then(a=>(n.clear(),a)).catch(a=>(n.clear(),Promise.reject(a)))};this.getOptionMappings=async(e,r)=>{let o=hy({workersBaseUrl:this.workersBaseUrl});return await o.init(),o.getOptionMappings(e,r).then(n=>(o.clear(),n)).catch(n=>(o.clear(),Promise.reject(n)))};this.workersBaseUrl=e}};var Bh=class{constructor({workersBaseUrl:e}){this.matchColumns=async(e,r,o)=>{let n=await this.mappingEngine.getColumnMappings(e,r.map(a=>`${a}`),o);return this.parseColumnMappingResult(XQ(n))};this.matchOption=async(e,r)=>Promise.all(r.map(o=>this.matchOptionItem(e,o)));this.matchOptionItem=async(e,r)=>new Promise((o,n)=>{setTimeout(()=>{this.mappingEngine.getOptionMappings(e,r).then(a=>{let i={result:[{optionMappings:{[a.tdmColumnKey]:a.suggestions},label:a.inputColumn,suggestions:[{key:a.tdmColumnKey,value:1,isSameWord:!0}]}]};o(i)}).catch(a=>{n(a)})},100)});this.parseColumnMappingResult=e=>{let r=[];for(let o=0;o<e.length;o++){let n=e[o],a=[];for(let i=0;i<n.columnSuggestions.length;i++){let s=n.columnSuggestions[i];a.push({key:s.key,value:s.percentage})}r.push({label:n.inputColumnKey,suggestions:a,optionMappings:{}})}return[{result:r}]};this.mappingEngine=new Hh({workersBaseUrl:e})}};import{flatten as JQ}from"lodash";var Uh=class extends Br{constructor(){super(...arguments);this.matchColumns=async(r,o,n,a,i)=>{let s={apikey:this.sendApiKey?Wt:void 0,authorization:n},l=await this.post("/execute/column",{tdmColumns:o,inputColumns:r,options:{columnMappingConfiguration:{layers:a.layers,threshold:a.threshold},product:"importer"},sessionId:i},{headers:s});return this.parseColumnMappingResult(l)};this.matchOption=async(r,o,n,a)=>{let i={apikey:this.sendApiKey?Wt:void 0,authorization:n},s=await Promise.all(o.map(l=>this.post("/execute/option",{tdmColumn:{key:l.column.key,label:l.column.label,isMultiSelect:l.column.isMultiSelect,dropdownOptions:l.column.dropdownOptions},options:{product:"importer",fileName:r,columnIndex:l.column_index,headerRowIndex:0,optionMappingConfiguration:{layers:l.column.optionMappingConfiguration?.layers,threshold:l.column.optionMappingConfiguration?.threshold}},sessionId:a},{headers:i})));return this.parseOptionMappingResult(JQ(s))};this.parseColumnMappingResult=r=>{let o=[];for(let n=0;n<r.length;n++){let a=r[n],i=[],s=Object.keys(a.suggestions);for(let l=0;l<s.length;l++){let c=s[l],u=a.suggestions[c];i.push({key:c,value:u})}o.push({label:a.inputColumn,suggestions:i,optionMappings:{}})}return[{result:o}]}}parseOptionMappingResult(r){let o=[];for(let n=0;n<r.length;n++){let a=r[n];o.push({optionMappings:{[a.tdmColumnKey]:a.suggestions},label:a.inputColumn,suggestions:[{key:a.tdmColumnKey,value:1,isSameWord:!0}]})}return[{result:o}]}};var gy=class extends Fh{constructor(r){super();this.matchColumnsTask=(r,o)=>{let n=r.getColumns().map(i=>({...i,dropdownOptions:[]})),a=r.getInputHeaderRow();return this.browserEngine.matchColumns(n,a,o)};this.matchOptionTask=({dataModel:r,sheetColumn:o})=>{let n=Np.mapDataModelToColumn(r),a=Np.getInputJsonBySheetColumn(o,r);return this.browserEngine.matchOption(n,a)};this.browserEngine=r}},p9=gy;import{jsx as nee}from"react/jsx-runtime";var vy=ree({executing:!0,setExecuting:()=>{},abort:()=>{}}),oee=({children:t})=>{let[e,r]=tee(!0),{baseUrl:o,isSelfHosted:n,baseMappingUrl:a,workersBaseUrl:i}=ee(),s=eee(new AbortController),l=m9(()=>new Bh({workersBaseUrl:i??""}),[i]),c=m9(()=>{let d=new p9(l),p=new Uh({sendApiKey:!n},{baseURL:a}),f=new d9(p,{sendApiKey:!n},{baseURL:o});return new $h(d,f)},[o,n,l,a]),u=QQ(()=>{s.current.abort(),s.current=new AbortController},[s]);return nee(vy.Provider,{value:{matchingStrategy:c,executing:e,setExecuting:r,abortController:s,abort:u},children:t})},f9=oee;import"simplebar/dist/simplebar.min.css";var by=document.createElement("style");by.type="text/css";by.appendChild(document.createTextNode(`.nuvo-tailwind .\\!container{width:100%!important}.nuvo-tailwind .container{width:100%}@media (min-width:375px){.nuvo-tailwind .\\!container{max-width:375px!important}.nuvo-tailwind .container{max-width:375px}}@media (min-width:412px){.nuvo-tailwind .\\!container{max-width:412px!important}.nuvo-tailwind .container{max-width:412px}}@media (min-width:468px){.nuvo-tailwind .\\!container{max-width:468px!important}.nuvo-tailwind .container{max-width:468px}}@media (min-width:640px){.nuvo-tailwind .\\!container{max-width:640px!important}.nuvo-tailwind .container{max-width:640px}}@media (min-width:740px){.nuvo-tailwind .\\!container{max-width:740px!important}.nuvo-tailwind .container{max-width:740px}}@media (min-width:768px){.nuvo-tailwind .\\!container{max-width:768px!important}.nuvo-tailwind .container{max-width:768px}}@media (min-width:820px){.nuvo-tailwind .\\!container{max-width:820px!important}.nuvo-tailwind .container{max-width:820px}}@media (min-width:885px){.nuvo-tailwind .\\!container{max-width:885px!important}.nuvo-tailwind .container{max-width:885px}}@media (min-width:990px){.nuvo-tailwind .\\!container{max-width:990px!important}.nuvo-tailwind .container{max-width:990px}}@media (min-width:1024px){.nuvo-tailwind .\\!container{max-width:1024px!important}.nuvo-tailwind .container{max-width:1024px}}@media (min-width:1190px){.nuvo-tailwind .\\!container{max-width:1190px!important}.nuvo-tailwind .container{max-width:1190px}}@media (min-width:1280px){.nuvo-tailwind .\\!container{max-width:1280px!important}.nuvo-tailwind .container{max-width:1280px}}@media (min-width:1440px){.nuvo-tailwind .\\!container{max-width:1440px!important}.nuvo-tailwind .container{max-width:1440px}}@media (min-width:1441px){.nuvo-tailwind .\\!container{max-width:1441px!important}.nuvo-tailwind .container{max-width:1441px}}@media (min-width:1536px){.nuvo-tailwind .\\!container{max-width:1536px!important}.nuvo-tailwind .container{max-width:1536px}}@media (min-width:1920px){.nuvo-tailwind .\\!container{max-width:1920px!important}.nuvo-tailwind .container{max-width:1920px}}.nuvo-tailwind *,.nuvo-tailwind :after,.nuvo-tailwind :before{border:0 solid #e5e7eb;box-sizing:border-box}
|
|
99
|
+
/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com*/.nuvo-tailwind :after,.nuvo-tailwind :before{--tw-content:""}.nuvo-tailwind :host,.nuvo-tailwind html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:Inter var,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}.nuvo-tailwind body{line-height:inherit;margin:0}.nuvo-tailwind hr{border-top-width:1px;color:inherit;height:0}.nuvo-tailwind abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.nuvo-tailwind h1,.nuvo-tailwind h2,.nuvo-tailwind h3,.nuvo-tailwind h4,.nuvo-tailwind h5,.nuvo-tailwind h6{font-size:inherit;font-weight:inherit}.nuvo-tailwind a{color:inherit;text-decoration:inherit}.nuvo-tailwind b,.nuvo-tailwind strong{font-weight:bolder}.nuvo-tailwind code,.nuvo-tailwind kbd,.nuvo-tailwind pre,.nuvo-tailwind samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}.nuvo-tailwind small{font-size:80%}.nuvo-tailwind sub,.nuvo-tailwind sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.nuvo-tailwind sub{bottom:-.25em}.nuvo-tailwind sup{top:-.5em}.nuvo-tailwind table{border-collapse:collapse;border-color:inherit;text-indent:0}.nuvo-tailwind button,.nuvo-tailwind input,.nuvo-tailwind optgroup,.nuvo-tailwind select,.nuvo-tailwind textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}.nuvo-tailwind button,.nuvo-tailwind select{text-transform:none}.nuvo-tailwind [type=button],.nuvo-tailwind [type=reset],.nuvo-tailwind [type=submit],.nuvo-tailwind button{-webkit-appearance:button;background-color:transparent;background-image:none}.nuvo-tailwind :-moz-focusring{outline:auto}.nuvo-tailwind :-moz-ui-invalid{box-shadow:none}.nuvo-tailwind progress{vertical-align:baseline}.nuvo-tailwind ::-webkit-inner-spin-button,.nuvo-tailwind ::-webkit-outer-spin-button{height:auto}.nuvo-tailwind [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.nuvo-tailwind ::-webkit-search-decoration{-webkit-appearance:none}.nuvo-tailwind ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.nuvo-tailwind summary{display:list-item}.nuvo-tailwind blockquote,.nuvo-tailwind dd,.nuvo-tailwind dl,.nuvo-tailwind figure,.nuvo-tailwind h1,.nuvo-tailwind h2,.nuvo-tailwind h3,.nuvo-tailwind h4,.nuvo-tailwind h5,.nuvo-tailwind h6,.nuvo-tailwind hr,.nuvo-tailwind p,.nuvo-tailwind pre{margin:0}.nuvo-tailwind fieldset{margin:0;padding:0}.nuvo-tailwind legend{padding:0}.nuvo-tailwind menu,.nuvo-tailwind ol,.nuvo-tailwind ul{list-style:none;margin:0;padding:0}.nuvo-tailwind dialog{padding:0}.nuvo-tailwind textarea{resize:vertical}.nuvo-tailwind input::-moz-placeholder,.nuvo-tailwind textarea::-moz-placeholder{color:#9ca3af;opacity:1}.nuvo-tailwind input::placeholder,.nuvo-tailwind textarea::placeholder{color:#9ca3af;opacity:1}.nuvo-tailwind [role=button],.nuvo-tailwind button{cursor:pointer}.nuvo-tailwind :disabled{cursor:default}.nuvo-tailwind audio,.nuvo-tailwind canvas,.nuvo-tailwind embed,.nuvo-tailwind iframe,.nuvo-tailwind img,.nuvo-tailwind object,.nuvo-tailwind svg,.nuvo-tailwind video{display:block;vertical-align:middle}.nuvo-tailwind img,.nuvo-tailwind video{height:auto;max-width:100%}.nuvo-tailwind [hidden]{display:none}.nuvo-tailwind [multiple],.nuvo-tailwind [type=date],.nuvo-tailwind [type=datetime-local],.nuvo-tailwind [type=email],.nuvo-tailwind [type=month],.nuvo-tailwind [type=number],.nuvo-tailwind [type=password],.nuvo-tailwind [type=search],.nuvo-tailwind [type=tel],.nuvo-tailwind [type=text],.nuvo-tailwind [type=time],.nuvo-tailwind [type=url],.nuvo-tailwind [type=week],.nuvo-tailwind input:where(:not([type])),.nuvo-tailwind select,.nuvo-tailwind textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.nuvo-tailwind [multiple]:focus,.nuvo-tailwind [type=date]:focus,.nuvo-tailwind [type=datetime-local]:focus,.nuvo-tailwind [type=email]:focus,.nuvo-tailwind [type=month]:focus,.nuvo-tailwind [type=number]:focus,.nuvo-tailwind [type=password]:focus,.nuvo-tailwind [type=search]:focus,.nuvo-tailwind [type=tel]:focus,.nuvo-tailwind [type=text]:focus,.nuvo-tailwind [type=time]:focus,.nuvo-tailwind [type=url]:focus,.nuvo-tailwind [type=week]:focus,.nuvo-tailwind input:where(:not([type])):focus,.nuvo-tailwind select:focus,.nuvo-tailwind textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.nuvo-tailwind input::-moz-placeholder,.nuvo-tailwind textarea::-moz-placeholder{color:#6b7280;opacity:1}.nuvo-tailwind input::placeholder,.nuvo-tailwind textarea::placeholder{color:#6b7280;opacity:1}.nuvo-tailwind ::-webkit-datetime-edit-fields-wrapper{padding:0}.nuvo-tailwind ::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}.nuvo-tailwind ::-webkit-datetime-edit{display:inline-flex}.nuvo-tailwind ::-webkit-datetime-edit,.nuvo-tailwind ::-webkit-datetime-edit-day-field,.nuvo-tailwind ::-webkit-datetime-edit-hour-field,.nuvo-tailwind ::-webkit-datetime-edit-meridiem-field,.nuvo-tailwind ::-webkit-datetime-edit-millisecond-field,.nuvo-tailwind ::-webkit-datetime-edit-minute-field,.nuvo-tailwind ::-webkit-datetime-edit-month-field,.nuvo-tailwind ::-webkit-datetime-edit-second-field,.nuvo-tailwind ::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}.nuvo-tailwind select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}.nuvo-tailwind [multiple],.nuvo-tailwind [size]:where(select:not([size="1"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}.nuvo-tailwind [type=checkbox],.nuvo-tailwind [type=radio]{--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:1rem}.nuvo-tailwind [type=checkbox]{border-radius:0}.nuvo-tailwind [type=radio]{border-radius:100%}.nuvo-tailwind [type=checkbox]:focus,.nuvo-tailwind [type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.nuvo-tailwind [type=checkbox]:checked,.nuvo-tailwind [type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}.nuvo-tailwind [type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}@media (forced-colors:active) {.nuvo-tailwind [type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}.nuvo-tailwind [type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}@media (forced-colors:active) {.nuvo-tailwind [type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}.nuvo-tailwind [type=checkbox]:checked:focus,.nuvo-tailwind [type=checkbox]:checked:hover,.nuvo-tailwind [type=radio]:checked:focus,.nuvo-tailwind [type=radio]:checked:hover{background-color:currentColor;border-color:transparent}.nuvo-tailwind [type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active) {.nuvo-tailwind [type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}.nuvo-tailwind [type=checkbox]:indeterminate:focus,.nuvo-tailwind [type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}.nuvo-tailwind [type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}.nuvo-tailwind [type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}.nuvo-tailwind *,.nuvo-tailwind :after,.nuvo-tailwind :before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.nuvo-tailwind ::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.nuvo-tailwind .pointer-events-none{pointer-events:none}.nuvo-tailwind .\\!pointer-events-auto{pointer-events:auto!important}.nuvo-tailwind .pointer-events-auto{pointer-events:auto}.nuvo-tailwind .visible{visibility:visible}.nuvo-tailwind .invisible{visibility:hidden}.nuvo-tailwind .static{position:static}.nuvo-tailwind .fixed{position:fixed}.nuvo-tailwind .absolute{position:absolute}.nuvo-tailwind .relative{position:relative}.nuvo-tailwind .sticky{position:sticky}.nuvo-tailwind .inset-0{inset:0}.nuvo-tailwind .inset-2{inset:.5rem}.nuvo-tailwind .-left-0{left:0}.nuvo-tailwind .-left-0\\.5{left:-.125rem}.nuvo-tailwind .-left-1{left:-.25rem}.nuvo-tailwind .-left-full{left:-100%}.nuvo-tailwind .-top-px{top:-1px}.nuvo-tailwind .bottom-0{bottom:0}.nuvo-tailwind .bottom-1{bottom:.25rem}.nuvo-tailwind .bottom-1\\.5{bottom:.375rem}.nuvo-tailwind .bottom-14{bottom:3.5rem}.nuvo-tailwind .bottom-20{bottom:5rem}.nuvo-tailwind .bottom-4{bottom:1rem}.nuvo-tailwind .bottom-8{bottom:2rem}.nuvo-tailwind .bottom-px{bottom:1px}.nuvo-tailwind .left-0{left:0}.nuvo-tailwind .left-1\\/2{left:50%}.nuvo-tailwind .left-3{left:.75rem}.nuvo-tailwind .left-6{left:1.5rem}.nuvo-tailwind .right-0{right:0}.nuvo-tailwind .right-2{right:.5rem}.nuvo-tailwind .right-3{right:.75rem}.nuvo-tailwind .right-8{right:2rem}.nuvo-tailwind .top-0{top:0}.nuvo-tailwind .top-1\\/2{top:50%}.nuvo-tailwind .top-3{top:.75rem}.nuvo-tailwind .top-7{top:1.75rem}.nuvo-tailwind .top-8{top:2rem}.nuvo-tailwind .top-px{top:1px}.nuvo-tailwind .\\!z-180{z-index:180!important}.nuvo-tailwind .z-10{z-index:10}.nuvo-tailwind .z-101{z-index:101}.nuvo-tailwind .z-103{z-index:103}.nuvo-tailwind .z-170{z-index:170}.nuvo-tailwind .z-180{z-index:180}.nuvo-tailwind .z-20{z-index:20}.nuvo-tailwind .z-30{z-index:30}.nuvo-tailwind .z-40{z-index:40}.nuvo-tailwind .z-50{z-index:50}.nuvo-tailwind .order-1{order:1}.nuvo-tailwind .order-2{order:2}.nuvo-tailwind .order-3{order:3}.nuvo-tailwind .\\!my-auto{margin-bottom:auto!important;margin-top:auto!important}.nuvo-tailwind .-mx-3{margin-left:-.75rem;margin-right:-.75rem}.nuvo-tailwind .mx-0{margin-left:0;margin-right:0}.nuvo-tailwind .mx-1{margin-left:.25rem;margin-right:.25rem}.nuvo-tailwind .mx-2{margin-left:.5rem;margin-right:.5rem}.nuvo-tailwind .mx-4{margin-left:1rem;margin-right:1rem}.nuvo-tailwind .mx-6{margin-left:1.5rem;margin-right:1.5rem}.nuvo-tailwind .mx-6\\.5{margin-left:26px;margin-right:26px}.nuvo-tailwind .mx-auto{margin-left:auto;margin-right:auto}.nuvo-tailwind .mx-px{margin-left:1px;margin-right:1px}.nuvo-tailwind .my-1{margin-bottom:.25rem;margin-top:.25rem}.nuvo-tailwind .my-2{margin-bottom:.5rem;margin-top:.5rem}.nuvo-tailwind .my-3{margin-bottom:.75rem;margin-top:.75rem}.nuvo-tailwind .my-4{margin-bottom:1rem;margin-top:1rem}.nuvo-tailwind .my-6{margin-bottom:1.5rem;margin-top:1.5rem}.nuvo-tailwind .my-8{margin-bottom:2rem;margin-top:2rem}.nuvo-tailwind .\\!-mt-0{margin-top:0!important}.nuvo-tailwind .\\!mb-0{margin-bottom:0!important}.nuvo-tailwind .\\!mb-3{margin-bottom:.75rem!important}.nuvo-tailwind .\\!ml-0{margin-left:0!important}.nuvo-tailwind .\\!ml-1{margin-left:.25rem!important}.nuvo-tailwind .\\!mr-0{margin-right:0!important}.nuvo-tailwind .\\!mr-2{margin-right:.5rem!important}.nuvo-tailwind .\\!mt-0{margin-top:0!important}.nuvo-tailwind .\\!mt-6{margin-top:1.5rem!important}.nuvo-tailwind .-mb-1{margin-bottom:-.25rem}.nuvo-tailwind .-ml-1{margin-left:-.25rem}.nuvo-tailwind .-ml-px{margin-left:-1px}.nuvo-tailwind .-mr-0{margin-right:0}.nuvo-tailwind .-mr-0\\.5{margin-right:-2px}.nuvo-tailwind .-mt-0{margin-top:0}.nuvo-tailwind .-mt-0\\.5{margin-top:-2px}.nuvo-tailwind .-mt-3{margin-top:-.75rem}.nuvo-tailwind .-mt-4{margin-top:-1rem}.nuvo-tailwind .-mt-7{margin-top:-1.75rem}.nuvo-tailwind .-mt-px{margin-top:-1px}.nuvo-tailwind .mb-0{margin-bottom:0}.nuvo-tailwind .mb-0\\.5{margin-bottom:2px}.nuvo-tailwind .mb-1{margin-bottom:.25rem}.nuvo-tailwind .mb-10{margin-bottom:2.5rem}.nuvo-tailwind .mb-2{margin-bottom:.5rem}.nuvo-tailwind .mb-3{margin-bottom:.75rem}.nuvo-tailwind .mb-4{margin-bottom:1rem}.nuvo-tailwind .mb-6{margin-bottom:1.5rem}.nuvo-tailwind .mb-7{margin-bottom:1.75rem}.nuvo-tailwind .mb-8{margin-bottom:2rem}.nuvo-tailwind .mb-px{margin-bottom:1px}.nuvo-tailwind .ml-0{margin-left:0}.nuvo-tailwind .ml-0\\.5{margin-left:2px}.nuvo-tailwind .ml-1{margin-left:.25rem}.nuvo-tailwind .ml-1\\.5{margin-left:6px}.nuvo-tailwind .ml-2{margin-left:.5rem}.nuvo-tailwind .ml-3{margin-left:.75rem}.nuvo-tailwind .ml-4{margin-left:1rem}.nuvo-tailwind .ml-5{margin-left:1.25rem}.nuvo-tailwind .ml-6{margin-left:1.5rem}.nuvo-tailwind .ml-auto{margin-left:auto}.nuvo-tailwind .ml-px{margin-left:1px}.nuvo-tailwind .mr-0{margin-right:0}.nuvo-tailwind .mr-0\\.5{margin-right:2px}.nuvo-tailwind .mr-1{margin-right:.25rem}.nuvo-tailwind .mr-1\\.5{margin-right:6px}.nuvo-tailwind .mr-2{margin-right:.5rem}.nuvo-tailwind .mr-3{margin-right:.75rem}.nuvo-tailwind .mr-4{margin-right:1rem}.nuvo-tailwind .mr-5{margin-right:1.25rem}.nuvo-tailwind .mr-6{margin-right:1.5rem}.nuvo-tailwind .mr-auto{margin-right:auto}.nuvo-tailwind .mt-0{margin-top:0}.nuvo-tailwind .mt-0\\.5{margin-top:2px}.nuvo-tailwind .mt-1{margin-top:.25rem}.nuvo-tailwind .mt-2{margin-top:.5rem}.nuvo-tailwind .mt-3{margin-top:.75rem}.nuvo-tailwind .mt-4{margin-top:1rem}.nuvo-tailwind .mt-5{margin-top:1.25rem}.nuvo-tailwind .mt-6{margin-top:1.5rem}.nuvo-tailwind .mt-8{margin-top:2rem}.nuvo-tailwind .mt-px{margin-top:1px}.nuvo-tailwind .\\!box-border{box-sizing:border-box!important}.nuvo-tailwind .box-border{box-sizing:border-box}.nuvo-tailwind .line-clamp-1{-webkit-line-clamp:1}.nuvo-tailwind .line-clamp-1,.nuvo-tailwind .line-clamp-2{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.nuvo-tailwind .line-clamp-2{-webkit-line-clamp:2}.nuvo-tailwind .line-clamp-4{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;overflow:hidden}.nuvo-tailwind .block{display:block}.nuvo-tailwind .\\!inline-block{display:inline-block!important}.nuvo-tailwind .inline-block{display:inline-block}.nuvo-tailwind .inline{display:inline}.nuvo-tailwind .flex{display:flex}.nuvo-tailwind .inline-flex{display:inline-flex}.nuvo-tailwind .table{display:table}.nuvo-tailwind .grid{display:grid}.nuvo-tailwind .contents{display:contents}.nuvo-tailwind .hidden{display:none}.nuvo-tailwind .\\!h-1{height:.25rem!important}.nuvo-tailwind .\\!h-4{height:1rem!important}.nuvo-tailwind .\\!h-8{height:2rem!important}.nuvo-tailwind .h-0{height:0}.nuvo-tailwind .h-10{height:2.5rem}.nuvo-tailwind .h-11{height:2.75rem}.nuvo-tailwind .h-12{height:3rem}.nuvo-tailwind .h-16{height:4rem}.nuvo-tailwind .h-2{height:.5rem}.nuvo-tailwind .h-2\\.5{height:11px}.nuvo-tailwind .h-250{height:250px}.nuvo-tailwind .h-26{height:26px}.nuvo-tailwind .h-3{height:.75rem}.nuvo-tailwind .h-38{height:38px}.nuvo-tailwind .h-4{height:1rem}.nuvo-tailwind .h-4\\.5{height:18px}.nuvo-tailwind .h-40{height:10rem}.nuvo-tailwind .h-5{height:1.25rem}.nuvo-tailwind .h-5\\.5{height:22px}.nuvo-tailwind .h-6{height:1.5rem}.nuvo-tailwind .h-60{height:15rem}.nuvo-tailwind .h-7{height:1.75rem}.nuvo-tailwind .h-79{height:79px}.nuvo-tailwind .h-8{height:2rem}.nuvo-tailwind .h-8\\.5{height:34px}.nuvo-tailwind .h-9{height:2.25rem}.nuvo-tailwind .h-auto{height:auto}.nuvo-tailwind .h-fit{height:-moz-fit-content;height:fit-content}.nuvo-tailwind .h-full{height:100%}.nuvo-tailwind .h-px{height:1px}.nuvo-tailwind .h-screen{height:100vh}.nuvo-tailwind .max-h-210{max-height:210px}.nuvo-tailwind .max-h-3\\/4{max-height:75%}.nuvo-tailwind .max-h-60{max-height:60px}.nuvo-tailwind .max-h-80{max-height:20rem}.nuvo-tailwind .max-h-full{max-height:100%}.nuvo-tailwind .\\!min-h-auto{min-height:auto!important}.nuvo-tailwind .min-h-0{min-height:0}.nuvo-tailwind .min-h-10{min-height:40px}.nuvo-tailwind .min-h-2{min-height:8px}.nuvo-tailwind .min-h-40{min-height:40px}.nuvo-tailwind .min-h-400{min-height:400px}.nuvo-tailwind .min-h-42{min-height:42px}.nuvo-tailwind .min-h-500{min-height:500px}.nuvo-tailwind .min-h-57{min-height:57px}.nuvo-tailwind .min-h-77{min-height:77px}.nuvo-tailwind .min-h-full{min-height:100%}.nuvo-tailwind .\\!w-1{width:.25rem!important}.nuvo-tailwind .\\!w-4{width:1rem!important}.nuvo-tailwind .\\!w-8{width:2rem!important}.nuvo-tailwind .\\!w-full{width:100%!important}.nuvo-tailwind .w-1{width:.25rem}.nuvo-tailwind .w-1\\/2{width:50%}.nuvo-tailwind .w-10{width:2.5rem}.nuvo-tailwind .w-12{width:3rem}.nuvo-tailwind .w-16{width:4rem}.nuvo-tailwind .w-2{width:.5rem}.nuvo-tailwind .w-2\\/4{width:50%}.nuvo-tailwind .w-20{width:5rem}.nuvo-tailwind .w-24{width:6rem}.nuvo-tailwind .w-3{width:.75rem}.nuvo-tailwind .w-3\\.5{width:.875rem}.nuvo-tailwind .w-3\\/5{width:60%}.nuvo-tailwind .w-340{width:340px}.nuvo-tailwind .w-4{width:1rem}.nuvo-tailwind .w-4\\.5{width:18px}.nuvo-tailwind .w-4\\/5{width:80%}.nuvo-tailwind .w-40{width:10rem}.nuvo-tailwind .w-400{width:400px}.nuvo-tailwind .w-44{width:11rem}.nuvo-tailwind .w-5{width:1.25rem}.nuvo-tailwind .w-50{width:182px}.nuvo-tailwind .w-52{width:13rem}.nuvo-tailwind .w-57{width:232px}.nuvo-tailwind .w-6{width:1.5rem}.nuvo-tailwind .w-72{width:18rem}.nuvo-tailwind .w-73{width:304px}.nuvo-tailwind .w-8{width:2rem}.nuvo-tailwind .w-81{width:335px}.nuvo-tailwind .w-9{width:2.25rem}.nuvo-tailwind .w-90{width:360px}.nuvo-tailwind .w-auto{width:auto}.nuvo-tailwind .w-fit{width:-moz-fit-content;width:fit-content}.nuvo-tailwind .w-full{width:100%}.nuvo-tailwind .w-max{width:-moz-max-content;width:max-content}.nuvo-tailwind .min-w-0{min-width:0}.nuvo-tailwind .min-w-2{min-width:8px}.nuvo-tailwind .min-w-204{min-width:204px}.nuvo-tailwind .min-w-240{min-width:240px}.nuvo-tailwind .min-w-50{min-width:182px}.nuvo-tailwind .min-w-52{min-width:200px}.nuvo-tailwind .\\!max-w-lg{max-width:32rem!important}.nuvo-tailwind .\\!max-w-none{max-width:none!important}.nuvo-tailwind .max-w-204{max-width:204px}.nuvo-tailwind .max-w-240{max-width:240px}.nuvo-tailwind .max-w-251{max-width:251px}.nuvo-tailwind .max-w-268{max-width:268px}.nuvo-tailwind .max-w-272{max-width:272px}.nuvo-tailwind .max-w-2xs{max-width:336px}.nuvo-tailwind .max-w-355{max-width:355px}.nuvo-tailwind .max-w-372{max-width:372px}.nuvo-tailwind .max-w-420{max-width:420px}.nuvo-tailwind .max-w-6xl{max-width:72rem}.nuvo-tailwind .max-w-full{max-width:100%}.nuvo-tailwind .max-w-md{max-width:28rem}.nuvo-tailwind .max-w-screen-3xl{max-width:1735px}.nuvo-tailwind .flex-1{flex:1 1 0%}.nuvo-tailwind .flex-auto{flex:1 1 auto}.nuvo-tailwind .flex-shrink{flex-shrink:1}.nuvo-tailwind .flex-shrink-0{flex-shrink:0}.nuvo-tailwind .flex-grow{flex-grow:1}.nuvo-tailwind .-translate-x-1\\/2{--tw-translate-x:-50%}.nuvo-tailwind .-translate-x-1\\/2,.nuvo-tailwind .-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nuvo-tailwind .-translate-y-1\\/2{--tw-translate-y:-50%}.nuvo-tailwind .-rotate-90{--tw-rotate:-90deg}.nuvo-tailwind .-rotate-90,.nuvo-tailwind .rotate-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nuvo-tailwind .rotate-0{--tw-rotate:0deg}.nuvo-tailwind .rotate-180{--tw-rotate:180deg}.nuvo-tailwind .rotate-180,.nuvo-tailwind .rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nuvo-tailwind .rotate-90{--tw-rotate:90deg}.nuvo-tailwind .scale-95{--tw-scale-x:.95;--tw-scale-y:.95}.nuvo-tailwind .scale-95,.nuvo-tailwind .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nuvo-tailwind .animate-fade{animation:fade .5s ease}@keyframes pulse{50%{opacity:.5}}.nuvo-tailwind .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.nuvo-tailwind .\\!cursor-pointer{cursor:pointer!important}.nuvo-tailwind .cursor-auto{cursor:auto}.nuvo-tailwind .cursor-default{cursor:default}.nuvo-tailwind .cursor-move{cursor:move}.nuvo-tailwind .cursor-not-allowed{cursor:not-allowed}.nuvo-tailwind .cursor-pointer{cursor:pointer}.nuvo-tailwind .resize{resize:both}.nuvo-tailwind .list-disc{list-style-type:disc}.nuvo-tailwind .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.nuvo-tailwind .flex-row{flex-direction:row}.nuvo-tailwind .flex-col{flex-direction:column}.nuvo-tailwind .flex-wrap{flex-wrap:wrap}.nuvo-tailwind .flex-nowrap{flex-wrap:nowrap}.nuvo-tailwind .items-start{align-items:flex-start}.nuvo-tailwind .items-end{align-items:flex-end}.nuvo-tailwind .items-center{align-items:center}.nuvo-tailwind .\\!items-stretch{align-items:stretch!important}.nuvo-tailwind .items-stretch{align-items:stretch}.nuvo-tailwind .justify-start{justify-content:flex-start}.nuvo-tailwind .justify-end{justify-content:flex-end}.nuvo-tailwind .justify-center{justify-content:center}.nuvo-tailwind .justify-between{justify-content:space-between}.nuvo-tailwind .gap-1{gap:.25rem}.nuvo-tailwind .gap-2{gap:.5rem}.nuvo-tailwind .gap-4{gap:1rem}.nuvo-tailwind .gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.nuvo-tailwind .gap-y-3{row-gap:.75rem}.nuvo-tailwind .space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(0px*(1 - var(--tw-space-x-reverse)));margin-right:calc(0px*var(--tw-space-x-reverse))}.nuvo-tailwind .space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.25rem*var(--tw-space-x-reverse))}.nuvo-tailwind .space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.nuvo-tailwind .space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.nuvo-tailwind .space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.nuvo-tailwind .space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.nuvo-tailwind .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.nuvo-tailwind .space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.nuvo-tailwind .divide-y-1>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.nuvo-tailwind .overflow-auto{overflow:auto}.nuvo-tailwind .overflow-hidden{overflow:hidden}.nuvo-tailwind .overflow-visible{overflow:visible}.nuvo-tailwind .overflow-x-auto{overflow-x:auto}.nuvo-tailwind .overflow-y-auto{overflow-y:auto}.nuvo-tailwind .overflow-x-hidden{overflow-x:hidden}.nuvo-tailwind .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nuvo-tailwind .whitespace-nowrap{white-space:nowrap}.nuvo-tailwind .whitespace-pre-line{white-space:pre-line}.nuvo-tailwind .break-words{overflow-wrap:break-word}.nuvo-tailwind .break-all{word-break:break-all}.nuvo-tailwind .\\!rounded-medium{border-radius:4px!important}.nuvo-tailwind .rounded{border-radius:3px}.nuvo-tailwind .rounded-2lg{border-radius:10px}.nuvo-tailwind .rounded-2xl{border-radius:1rem}.nuvo-tailwind .rounded-full{border-radius:9999px}.nuvo-tailwind .rounded-lg{border-radius:.5rem}.nuvo-tailwind .rounded-md{border-radius:.375rem}.nuvo-tailwind .rounded-medium{border-radius:4px}.nuvo-tailwind .rounded-b-lg{border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem}.nuvo-tailwind .rounded-b-medium{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.nuvo-tailwind .rounded-t-medium{border-top-left-radius:4px;border-top-right-radius:4px}.nuvo-tailwind .rounded-bl-medium{border-bottom-left-radius:4px}.nuvo-tailwind .rounded-tl-medium{border-top-left-radius:4px}.nuvo-tailwind .\\!border-0{border-width:0!important}.nuvo-tailwind .\\!border-2{border-width:2px!important}.nuvo-tailwind .border{border-width:1px}.nuvo-tailwind .border-0{border-width:0}.nuvo-tailwind .border-1{border-width:1px}.nuvo-tailwind .border-2{border-width:2px}.nuvo-tailwind .border-b{border-bottom-width:1px}.nuvo-tailwind .border-b-0{border-bottom-width:0}.nuvo-tailwind .border-b-1{border-bottom-width:1px}.nuvo-tailwind .border-l-0{border-left-width:0}.nuvo-tailwind .border-l-4{border-left-width:4px}.nuvo-tailwind .border-r-0{border-right-width:0}.nuvo-tailwind .border-r-1{border-right-width:1px}.nuvo-tailwind .border-t-0{border-top-width:0}.nuvo-tailwind .border-t-1{border-top-width:1px}.nuvo-tailwind .border-dashed{border-style:dashed}.nuvo-tailwind .border-none{border-style:none}.nuvo-tailwind .border-blue-dark-50{--tw-border-opacity:1;border-color:rgb(239 243 249/var(--tw-border-opacity))}.nuvo-tailwind .border-blue-dark-800{--tw-border-opacity:1;border-color:rgb(40 64 103/var(--tw-border-opacity))}.nuvo-tailwind .border-blue-dark-900{--tw-border-opacity:1;border-color:rgb(22 35 56/var(--tw-border-opacity))}.nuvo-tailwind .border-blue-light-100{--tw-border-opacity:1;border-color:rgb(224 234 253/var(--tw-border-opacity))}.nuvo-tailwind .border-blue-light-50{--tw-border-opacity:1;border-color:rgb(245 248 254/var(--tw-border-opacity))}.nuvo-tailwind .border-danger{--tw-border-opacity:1;border-color:rgb(208 2 27/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-100{--tw-border-opacity:1;border-color:rgb(244 245 246/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-120{--tw-border-opacity:1;border-color:rgb(242 242 242/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-210{--tw-border-opacity:1;border-color:rgb(225 225 225/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-250{--tw-border-opacity:1;border-color:rgb(221 221 221/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-260{--tw-border-opacity:1;border-color:rgb(197 197 197/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-300{--tw-border-opacity:1;border-color:rgb(179 188 192/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-450{--tw-border-opacity:1;border-color:rgb(201 207 210/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-50{--tw-border-opacity:1;border-color:rgb(251 251 251/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-560{--tw-border-opacity:1;border-color:rgb(141 141 141/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-660{--tw-border-opacity:1;border-color:rgb(56 56 56/var(--tw-border-opacity))}.nuvo-tailwind .border-gray-700{--tw-border-opacity:1;border-color:rgb(84 84 84/var(--tw-border-opacity))}.nuvo-tailwind .border-primary{--tw-border-opacity:1;border-color:rgb(13 39 55/var(--tw-border-opacity))}.nuvo-tailwind .border-red-510{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity))}.nuvo-tailwind .border-salmon-500{--tw-border-opacity:1;border-color:rgb(237 112 112/var(--tw-border-opacity))}.nuvo-tailwind .border-transparent{border-color:transparent}.nuvo-tailwind .border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.nuvo-tailwind .border-yellow-500{--tw-border-opacity:1;border-color:rgb(255 193 22/var(--tw-border-opacity))}.nuvo-tailwind .border-yellow-800{--tw-border-opacity:1;border-color:rgb(133 77 14/var(--tw-border-opacity))}.nuvo-tailwind .\\!bg-gray-120{--tw-bg-opacity:1!important;background-color:rgb(242 242 242/var(--tw-bg-opacity))!important}.nuvo-tailwind .\\!bg-salmon-100{--tw-bg-opacity:1!important;background-color:rgb(252 234 234/var(--tw-bg-opacity))!important}.nuvo-tailwind .\\!bg-salmon-200{--tw-bg-opacity:1!important;background-color:rgb(250 212 212/var(--tw-bg-opacity))!important}.nuvo-tailwind .\\!bg-transparent{background-color:transparent!important}.nuvo-tailwind .bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-dark-100{--tw-bg-opacity:1;background-color:rgb(208 219 237/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-dark-400{--tw-bg-opacity:1;background-color:rgb(115 148 200/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-dark-50{--tw-bg-opacity:1;background-color:rgb(239 243 249/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-dark-500{--tw-bg-opacity:1;background-color:rgb(84 124 188/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-dark-800{--tw-bg-opacity:1;background-color:rgb(40 64 103/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-light-100{--tw-bg-opacity:1;background-color:rgb(224 234 253/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-light-50{--tw-bg-opacity:1;background-color:rgb(245 248 254/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-light-500{--tw-bg-opacity:1;background-color:rgb(92 142 242/var(--tw-bg-opacity))}.nuvo-tailwind .bg-blue-light-900{--tw-bg-opacity:1;background-color:rgb(8 37 97/var(--tw-bg-opacity))}.nuvo-tailwind .bg-danger-light{--tw-bg-opacity:1;background-color:rgb(250 229 232/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-100{--tw-bg-opacity:1;background-color:rgb(244 245 246/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-120{--tw-bg-opacity:1;background-color:rgb(242 242 242/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-150{--tw-bg-opacity:1;background-color:rgb(241 241 245/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-300{--tw-bg-opacity:1;background-color:rgb(179 188 192/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-450{--tw-bg-opacity:1;background-color:rgb(201 207 210/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-50{--tw-bg-opacity:1;background-color:rgb(251 251 251/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-560{--tw-bg-opacity:1;background-color:rgb(141 141 141/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-660{--tw-bg-opacity:1;background-color:rgb(56 56 56/var(--tw-bg-opacity))}.nuvo-tailwind .bg-gray-700{--tw-bg-opacity:1;background-color:rgb(84 84 84/var(--tw-bg-opacity))}.nuvo-tailwind .bg-green-510{--tw-bg-opacity:1;background-color:rgb(16 185 129/var(--tw-bg-opacity))}.nuvo-tailwind .bg-info-gray{--tw-bg-opacity:1;background-color:rgb(103 117 124/var(--tw-bg-opacity))}.nuvo-tailwind .bg-primary{--tw-bg-opacity:1;background-color:rgb(13 39 55/var(--tw-bg-opacity))}.nuvo-tailwind .bg-priority-bg{--tw-bg-opacity:1;background-color:rgb(249 249 249/var(--tw-bg-opacity))}.nuvo-tailwind .bg-red-510{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.nuvo-tailwind .bg-red-60{--tw-bg-opacity:1;background-color:rgb(252 242 243/var(--tw-bg-opacity))}.nuvo-tailwind .bg-salmon-100{--tw-bg-opacity:1;background-color:rgb(252 234 234/var(--tw-bg-opacity))}.nuvo-tailwind .bg-salmon-500{--tw-bg-opacity:1;background-color:rgb(237 112 112/var(--tw-bg-opacity))}.nuvo-tailwind .bg-transparent{background-color:transparent}.nuvo-tailwind .bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.nuvo-tailwind .bg-yellow-200{--tw-bg-opacity:1;background-color:rgb(255 232 168/var(--tw-bg-opacity))}.nuvo-tailwind .bg-yellow-500{--tw-bg-opacity:1;background-color:rgb(255 193 22/var(--tw-bg-opacity))}.nuvo-tailwind .bg-opacity-40{--tw-bg-opacity:0.4}.nuvo-tailwind .bg-opacity-50{--tw-bg-opacity:0.5}.nuvo-tailwind .bg-opacity-60{--tw-bg-opacity:0.6}.nuvo-tailwind .bg-opacity-75{--tw-bg-opacity:0.75}.nuvo-tailwind .bg-contain{background-size:contain}.nuvo-tailwind .bg-center{background-position:50%}.nuvo-tailwind .bg-no-repeat{background-repeat:no-repeat}.nuvo-tailwind .object-contain{-o-object-fit:contain;object-fit:contain}.nuvo-tailwind .\\!p-0{padding:0!important}.nuvo-tailwind .p-1{padding:.25rem}.nuvo-tailwind .p-10{padding:2.5rem}.nuvo-tailwind .p-2{padding:.5rem}.nuvo-tailwind .p-2\\.5{padding:9.5px}.nuvo-tailwind .p-3{padding:.75rem}.nuvo-tailwind .p-4{padding:1rem}.nuvo-tailwind .p-6{padding:1.5rem}.nuvo-tailwind .p-8{padding:2rem}.nuvo-tailwind .\\!px-0{padding-left:0!important;padding-right:0!important}.nuvo-tailwind .\\!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.nuvo-tailwind .\\!px-3{padding-left:.75rem!important;padding-right:.75rem!important}.nuvo-tailwind .\\!px-4{padding-left:1rem!important;padding-right:1rem!important}.nuvo-tailwind .\\!px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.nuvo-tailwind .\\!px-8{padding-left:2rem!important;padding-right:2rem!important}.nuvo-tailwind .px-0{padding-left:0;padding-right:0}.nuvo-tailwind .px-1{padding-left:.25rem;padding-right:.25rem}.nuvo-tailwind .px-1\\.5{padding-left:.375rem;padding-right:.375rem}.nuvo-tailwind .px-2{padding-left:.5rem;padding-right:.5rem}.nuvo-tailwind .px-2\\.5{padding-left:9.5px;padding-right:9.5px}.nuvo-tailwind .px-3{padding-left:.75rem;padding-right:.75rem}.nuvo-tailwind .px-4{padding-left:1rem;padding-right:1rem}.nuvo-tailwind .px-5{padding-left:1.25rem;padding-right:1.25rem}.nuvo-tailwind .px-6{padding-left:1.5rem;padding-right:1.5rem}.nuvo-tailwind .px-7{padding-left:1.75rem;padding-right:1.75rem}.nuvo-tailwind .px-8{padding-left:2rem;padding-right:2rem}.nuvo-tailwind .py-0{padding-bottom:0;padding-top:0}.nuvo-tailwind .py-0\\.5{padding-bottom:.125rem;padding-top:.125rem}.nuvo-tailwind .py-1{padding-bottom:.25rem;padding-top:.25rem}.nuvo-tailwind .py-1\\.5{padding-bottom:.375rem;padding-top:.375rem}.nuvo-tailwind .py-10px{padding-bottom:10px;padding-top:10px}.nuvo-tailwind .py-12{padding-bottom:3rem;padding-top:3rem}.nuvo-tailwind .py-2{padding-bottom:.5rem;padding-top:.5rem}.nuvo-tailwind .py-2\\.3{padding-bottom:6px;padding-top:6px}.nuvo-tailwind .py-2\\.5{padding-bottom:9.5px;padding-top:9.5px}.nuvo-tailwind .py-24{padding-bottom:6rem;padding-top:6rem}.nuvo-tailwind .py-3{padding-bottom:.75rem;padding-top:.75rem}.nuvo-tailwind .py-4{padding-bottom:1rem;padding-top:1rem}.nuvo-tailwind .py-5{padding-bottom:1.25rem;padding-top:1.25rem}.nuvo-tailwind .py-6{padding-bottom:1.5rem;padding-top:1.5rem}.nuvo-tailwind .py-7{padding-bottom:1.75rem;padding-top:1.75rem}.nuvo-tailwind .py-sm{padding-bottom:6px;padding-top:6px}.nuvo-tailwind .\\!pb-0{padding-bottom:0!important}.nuvo-tailwind .\\!pb-2{padding-bottom:.5rem!important}.nuvo-tailwind .\\!pb-3{padding-bottom:.75rem!important}.nuvo-tailwind .pb-0{padding-bottom:0}.nuvo-tailwind .pb-0\\.5{padding-bottom:.125rem}.nuvo-tailwind .pb-1{padding-bottom:.25rem}.nuvo-tailwind .pb-2{padding-bottom:.5rem}.nuvo-tailwind .pb-24{padding-bottom:6rem}.nuvo-tailwind .pb-3{padding-bottom:.75rem}.nuvo-tailwind .pb-32{padding-bottom:8rem}.nuvo-tailwind .pb-4{padding-bottom:1rem}.nuvo-tailwind .pb-4\\.5{padding-bottom:18px}.nuvo-tailwind .pb-6{padding-bottom:1.5rem}.nuvo-tailwind .pb-8{padding-bottom:2rem}.nuvo-tailwind .pl-0{padding-left:0}.nuvo-tailwind .pl-0\\.5{padding-left:.125rem}.nuvo-tailwind .pl-1{padding-left:.25rem}.nuvo-tailwind .pl-2{padding-left:.5rem}.nuvo-tailwind .pl-3{padding-left:.75rem}.nuvo-tailwind .pl-3\\.5{padding-left:.875rem}.nuvo-tailwind .pl-4{padding-left:1rem}.nuvo-tailwind .pl-4\\.5{padding-left:18px}.nuvo-tailwind .pl-8{padding-left:2rem}.nuvo-tailwind .pr-1{padding-right:.25rem}.nuvo-tailwind .pr-10{padding-right:2.5rem}.nuvo-tailwind .pr-12{padding-right:3rem}.nuvo-tailwind .pr-2{padding-right:.5rem}.nuvo-tailwind .pr-2\\.5{padding-right:9.5px}.nuvo-tailwind .pr-3{padding-right:.75rem}.nuvo-tailwind .pr-4{padding-right:1rem}.nuvo-tailwind .pr-5{padding-right:1.25rem}.nuvo-tailwind .pr-6{padding-right:1.5rem}.nuvo-tailwind .pr-7{padding-right:1.75rem}.nuvo-tailwind .pr-8{padding-right:2rem}.nuvo-tailwind .pt-0{padding-top:0}.nuvo-tailwind .pt-1{padding-top:.25rem}.nuvo-tailwind .pt-10{padding-top:2.5rem}.nuvo-tailwind .pt-2{padding-top:.5rem}.nuvo-tailwind .pt-22\\.5{padding-top:90px}.nuvo-tailwind .pt-3{padding-top:.75rem}.nuvo-tailwind .pt-4{padding-top:1rem}.nuvo-tailwind .pt-4\\.5{padding-top:18px}.nuvo-tailwind .pt-6{padding-top:1.5rem}.nuvo-tailwind .pt-8{padding-top:2rem}.nuvo-tailwind .text-left{text-align:left}.nuvo-tailwind .text-center{text-align:center}.nuvo-tailwind .text-right{text-align:right}.nuvo-tailwind .align-top{vertical-align:top}.nuvo-tailwind .align-middle{vertical-align:middle}.nuvo-tailwind .align-bottom{vertical-align:bottom}.nuvo-tailwind .\\!text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.nuvo-tailwind .\\!text-sm{font-size:.875rem!important;line-height:1.25rem!important}.nuvo-tailwind .\\!text-xs{font-size:.75rem!important;line-height:1rem!important}.nuvo-tailwind .text-2\\.5xl{font-size:28px;line-height:34px}.nuvo-tailwind .text-2xl{font-size:1.5rem;line-height:2rem}.nuvo-tailwind .text-4\\.5xl{font-size:39px;line-height:47px}.nuvo-tailwind .text-base{font-size:16px;line-height:19px}.nuvo-tailwind .text-lg{font-size:1.125rem;line-height:1.75rem}.nuvo-tailwind .text-sbase{font-size:15px}.nuvo-tailwind .text-sm{font-size:.875rem;line-height:1.25rem}.nuvo-tailwind .text-small{font-size:12px}.nuvo-tailwind .text-xl{font-size:1.25rem;line-height:1.75rem}.nuvo-tailwind .text-xs{font-size:.75rem;line-height:1rem}.nuvo-tailwind .text-xsmall{font-size:14px;line-height:17px}.nuvo-tailwind .text-xss{font-size:10px}.nuvo-tailwind .text-xssmall{font-size:13px;line-height:15px}.nuvo-tailwind .\\!font-normal{font-weight:400!important}.nuvo-tailwind .font-bold{font-weight:700}.nuvo-tailwind .font-light{font-weight:300}.nuvo-tailwind .font-medium{font-weight:500}.nuvo-tailwind .font-normal{font-weight:400}.nuvo-tailwind .font-semibold{font-weight:600}.nuvo-tailwind .uppercase{text-transform:uppercase}.nuvo-tailwind .lowercase{text-transform:lowercase}.nuvo-tailwind .capitalize{text-transform:capitalize}.nuvo-tailwind .italic{font-style:italic}.nuvo-tailwind .\\!leading-3{line-height:.75rem!important}.nuvo-tailwind .\\!leading-3\\.5{line-height:14px!important}.nuvo-tailwind .\\!leading-5{line-height:1.25rem!important}.nuvo-tailwind .\\!leading-5\\.5{line-height:17px!important}.nuvo-tailwind .leading-3{line-height:.75rem}.nuvo-tailwind .leading-3\\.5{line-height:14px}.nuvo-tailwind .leading-4{line-height:1rem}.nuvo-tailwind .leading-4\\.5{line-height:15px}.nuvo-tailwind .leading-5{line-height:1.25rem}.nuvo-tailwind .leading-5\\.5{line-height:17px}.nuvo-tailwind .leading-6{line-height:1.5rem}.nuvo-tailwind .leading-8{line-height:2rem}.nuvo-tailwind .leading-none{line-height:1}.nuvo-tailwind .tracking-wide{letter-spacing:.025em}.nuvo-tailwind .\\!text-gray-260{--tw-text-opacity:1!important;color:rgb(197 197 197/var(--tw-text-opacity))!important}.nuvo-tailwind .\\!text-gray-50{--tw-text-opacity:1!important;color:rgb(251 251 251/var(--tw-text-opacity))!important}.nuvo-tailwind .\\!text-gray-510{--tw-text-opacity:1!important;color:rgb(136 149 156/var(--tw-text-opacity))!important}.nuvo-tailwind .\\!text-gray-560{--tw-text-opacity:1!important;color:rgb(141 141 141/var(--tw-text-opacity))!important}.nuvo-tailwind .\\!text-neutral-600{--tw-text-opacity:1!important;color:rgb(113 113 113/var(--tw-text-opacity))!important}.nuvo-tailwind .\\!text-neutral-gray{--tw-text-opacity:1!important;color:rgb(45 45 45/var(--tw-text-opacity))!important}.nuvo-tailwind .\\!text-salmon-500{--tw-text-opacity:1!important;color:rgb(237 112 112/var(--tw-text-opacity))!important}.nuvo-tailwind .text-blue-dark-900{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity))}.nuvo-tailwind .text-blue-light-500{--tw-text-opacity:1;color:rgb(92 142 242/var(--tw-text-opacity))}.nuvo-tailwind .text-blue-light-600{--tw-text-opacity:1;color:rgb(53 115 239/var(--tw-text-opacity))}.nuvo-tailwind .text-danger{--tw-text-opacity:1;color:rgb(208 2 27/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-260{--tw-text-opacity:1;color:rgb(197 197 197/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-310{--tw-text-opacity:1;color:rgb(44 50 53/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-410{--tw-text-opacity:1;color:rgb(169 169 169/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-510{--tw-text-opacity:1;color:rgb(136 149 156/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-560{--tw-text-opacity:1;color:rgb(141 141 141/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-660{--tw-text-opacity:1;color:rgb(56 56 56/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-700{--tw-text-opacity:1;color:rgb(84 84 84/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.nuvo-tailwind .text-gray-970{--tw-text-opacity:1;color:rgb(113 113 113/var(--tw-text-opacity))}.nuvo-tailwind .text-green-400{--tw-text-opacity:1;color:rgb(52 211 153/var(--tw-text-opacity))}.nuvo-tailwind .text-green-510{--tw-text-opacity:1;color:rgb(16 185 129/var(--tw-text-opacity))}.nuvo-tailwind .text-neutral-600{--tw-text-opacity:1;color:rgb(113 113 113/var(--tw-text-opacity))}.nuvo-tailwind .text-neutral-gray{--tw-text-opacity:1;color:rgb(45 45 45/var(--tw-text-opacity))}.nuvo-tailwind .text-primary{--tw-text-opacity:1;color:rgb(13 39 55/var(--tw-text-opacity))}.nuvo-tailwind .text-red-500,.nuvo-tailwind .text-red-510{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.nuvo-tailwind .text-salmon-50{--tw-text-opacity:1;color:rgb(254 248 248/var(--tw-text-opacity))}.nuvo-tailwind .text-salmon-500{--tw-text-opacity:1;color:rgb(237 112 112/var(--tw-text-opacity))}.nuvo-tailwind .text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.nuvo-tailwind .text-yellow-500{--tw-text-opacity:1;color:rgb(255 193 22/var(--tw-text-opacity))}.nuvo-tailwind .text-yellow-800{--tw-text-opacity:1;color:rgb(133 77 14/var(--tw-text-opacity))}.nuvo-tailwind .underline{text-decoration-line:underline}.nuvo-tailwind .placeholder-gray-410::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(169 169 169/var(--tw-placeholder-opacity))}.nuvo-tailwind .placeholder-gray-410::placeholder{--tw-placeholder-opacity:1;color:rgb(169 169 169/var(--tw-placeholder-opacity))}.nuvo-tailwind .placeholder-gray-560::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(141 141 141/var(--tw-placeholder-opacity))}.nuvo-tailwind .placeholder-gray-560::placeholder{--tw-placeholder-opacity:1;color:rgb(141 141 141/var(--tw-placeholder-opacity))}.nuvo-tailwind .\\!opacity-100{opacity:1!important}.nuvo-tailwind .opacity-0{opacity:0}.nuvo-tailwind .opacity-100{opacity:1}.nuvo-tailwind .opacity-20{opacity:.2}.nuvo-tailwind .opacity-40{opacity:.4}.nuvo-tailwind .opacity-50{opacity:.5}.nuvo-tailwind .shadow-card{--tw-shadow:0px 10px 20px rgba(33,75,134,.09);--tw-shadow-colored:0px 10px 20px var(--tw-shadow-color)}.nuvo-tailwind .shadow-card,.nuvo-tailwind .shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nuvo-tailwind .shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.nuvo-tailwind .shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.nuvo-tailwind .shadow-none,.nuvo-tailwind .shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nuvo-tailwind .shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)}.nuvo-tailwind .outline-none{outline:2px solid transparent;outline-offset:2px}.nuvo-tailwind .outline{outline-style:solid}.nuvo-tailwind .ring-transparent{--tw-ring-color:transparent}.nuvo-tailwind .blur{--tw-blur:blur(8px)}.nuvo-tailwind .blur,.nuvo-tailwind .drop-shadow{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.nuvo-tailwind .drop-shadow{--tw-drop-shadow:drop-shadow(0 1px 2px rgba(0,0,0,.1)) drop-shadow(0 1px 1px rgba(0,0,0,.06))}.nuvo-tailwind .grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.nuvo-tailwind .\\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.nuvo-tailwind .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.nuvo-tailwind .backdrop-filter{backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.nuvo-tailwind .transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nuvo-tailwind .transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nuvo-tailwind .transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nuvo-tailwind .transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nuvo-tailwind .transition-width{transition-duration:.15s;transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nuvo-tailwind .duration-300{transition-duration:.3s}.nuvo-tailwind .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.nuvo-tailwind .ease-linear{transition-timing-function:linear}.nuvo-tailwind .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.nuvo-tailwind .will-change-auto{will-change:auto}.nuvo-tailwind .will-change-transform{will-change:transform}.nuvo-tailwind .last\\:rounded-b-medium:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.nuvo-tailwind .hover\\:border-blue-light-300:hover{--tw-border-opacity:1;border-color:rgb(163 191 248/var(--tw-border-opacity))}.nuvo-tailwind .hover\\:border-salmon-700:hover{--tw-border-opacity:1;border-color:rgb(186 23 23/var(--tw-border-opacity))}.nuvo-tailwind .hover\\:border-yellow-700:hover{--tw-border-opacity:1;border-color:rgb(161 98 7/var(--tw-border-opacity))}.nuvo-tailwind .hover\\:bg-blue-dark-50:hover{--tw-bg-opacity:1;background-color:rgb(239 243 249/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-blue-light-100:hover{--tw-bg-opacity:1;background-color:rgb(224 234 253/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-blue-light-200:hover{--tw-bg-opacity:1;background-color:rgb(194 213 250/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-blue-light-50:hover{--tw-bg-opacity:1;background-color:rgb(245 248 254/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-blue-light-700:hover{--tw-bg-opacity:1;background-color:rgb(17 82 213/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-blue-light-800:hover{--tw-bg-opacity:1;background-color:rgb(12 60 155/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-gray-110:hover{--tw-bg-opacity:1;background-color:rgb(245 245 245/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(251 251 251/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:bg-gray-55:hover{--tw-bg-opacity:1;background-color:rgb(249 249 249/var(--tw-bg-opacity))}.nuvo-tailwind .hover\\:text-blue-dark-900:hover{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity))}.nuvo-tailwind .hover\\:text-blue-light-500:hover{--tw-text-opacity:1;color:rgb(92 142 242/var(--tw-text-opacity))}.nuvo-tailwind .hover\\:text-blue-light-700:hover{--tw-text-opacity:1;color:rgb(17 82 213/var(--tw-text-opacity))}.nuvo-tailwind .hover\\:text-gray-500:hover{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.nuvo-tailwind .hover\\:text-gray-560:hover{--tw-text-opacity:1;color:rgb(141 141 141/var(--tw-text-opacity))}.nuvo-tailwind .hover\\:text-gray-970:hover{--tw-text-opacity:1;color:rgb(113 113 113/var(--tw-text-opacity))}.nuvo-tailwind .hover\\:opacity-100:hover{opacity:1}.nuvo-tailwind .focus\\:border-blue-dark-900:focus{--tw-border-opacity:1;border-color:rgb(22 35 56/var(--tw-border-opacity))}.nuvo-tailwind .focus\\:border-danger:focus{--tw-border-opacity:1;border-color:rgb(208 2 27/var(--tw-border-opacity))}.nuvo-tailwind .focus\\:border-primary:focus{--tw-border-opacity:1;border-color:rgb(13 39 55/var(--tw-border-opacity))}.nuvo-tailwind .focus\\:border-yellow-800:focus{--tw-border-opacity:1;border-color:rgb(133 77 14/var(--tw-border-opacity))}.nuvo-tailwind .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.nuvo-tailwind .focus\\:ring-0:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.nuvo-tailwind .focus\\:ring-white:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(255 255 255/var(--tw-ring-opacity))}.nuvo-tailwind .disabled\\:cursor-auto:disabled{cursor:auto}.nuvo-tailwind .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.nuvo-tailwind .disabled\\:border-gray-260:disabled{--tw-border-opacity:1;border-color:rgb(197 197 197/var(--tw-border-opacity))}.nuvo-tailwind .disabled\\:border-gray-400:disabled{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.nuvo-tailwind .disabled\\:bg-gray-120:disabled{--tw-bg-opacity:1;background-color:rgb(242 242 242/var(--tw-bg-opacity))}.nuvo-tailwind .disabled\\:bg-gray-50:disabled{--tw-bg-opacity:1;background-color:rgb(251 251 251/var(--tw-bg-opacity))}.nuvo-tailwind .disabled\\:bg-transparent:disabled{background-color:transparent}.nuvo-tailwind .disabled\\:text-gray-260:disabled{--tw-text-opacity:1;color:rgb(197 197 197/var(--tw-text-opacity))}.nuvo-tailwind .disabled\\:text-gray-560:disabled{--tw-text-opacity:1;color:rgb(141 141 141/var(--tw-text-opacity))}.nuvo-tailwind .disabled\\:opacity-70:disabled{opacity:.7}.nuvo-tailwind .disabled\\:opacity-75:disabled{opacity:.75}.nuvo-tailwind .disabled\\:opacity-80:disabled{opacity:.8}.nuvo-tailwind .group:hover .group-hover\\:visible{visibility:visible}.nuvo-tailwind :is(.dark .dark\\:bg-gray-700){--tw-bg-opacity:1;background-color:rgb(84 84 84/var(--tw-bg-opacity))}@media (min-width:640px){.nuvo-tailwind .sm\\:mt-0{margin-top:0}.nuvo-tailwind .sm\\:\\!max-w-440{max-width:440px!important}.nuvo-tailwind .sm\\:\\!max-w-480{max-width:480px!important}.nuvo-tailwind .sm\\:max-w-1{max-width:.25rem}.nuvo-tailwind .sm\\:max-w-1\\.7xl{max-width:640px}.nuvo-tailwind .sm\\:max-w-505{max-width:505px}.nuvo-tailwind .sm\\:max-w-xl{max-width:36rem}.nuvo-tailwind .sm\\:p-0{padding:0}.nuvo-tailwind .sm\\:align-middle{vertical-align:middle}}@media (min-width:768px){.nuvo-tailwind .md\\:mx-4{margin-left:1rem;margin-right:1rem}.nuvo-tailwind .md\\:mb-0{margin-bottom:0}.nuvo-tailwind .md\\:mt-0{margin-top:0}.nuvo-tailwind .md\\:block{display:block}.nuvo-tailwind .md\\:max-w-355{max-width:355px}.nuvo-tailwind .md\\:flex-wrap{flex-wrap:wrap}.nuvo-tailwind .md\\:px-3{padding-left:.75rem;padding-right:.75rem}.nuvo-tailwind .md\\:align-top{vertical-align:top}.nuvo-tailwind .md\\:align-middle{vertical-align:middle}.nuvo-tailwind .md\\:align-bottom{vertical-align:bottom}.nuvo-tailwind .md\\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width:1024px){.nuvo-tailwind .lg\\:-mx-8{margin-left:-2rem;margin-right:-2rem}.nuvo-tailwind .lg\\:flex{display:flex}.nuvo-tailwind .lg\\:min-w-50{min-width:182px}.nuvo-tailwind .lg\\:flex-row{flex-direction:row}.nuvo-tailwind .lg\\:flex-nowrap{flex-wrap:nowrap}.nuvo-tailwind .lg\\:items-center{align-items:center}.nuvo-tailwind .lg\\:justify-center{justify-content:center}.nuvo-tailwind .lg\\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.nuvo-tailwind .lg\\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px*var(--tw-space-y-reverse));margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))}.nuvo-tailwind .lg\\:\\!px-0{padding-left:0!important;padding-right:0!important}.nuvo-tailwind .lg\\:px-8{padding-left:2rem;padding-right:2rem}}@media (min-width:375px){.nuvo-tailwind .xss\\:mr-4{margin-right:1rem}.nuvo-tailwind .xss\\:mt-0{margin-top:0}.nuvo-tailwind .xss\\:flex{display:flex}.nuvo-tailwind .xss\\:pb-2{padding-bottom:.5rem}.nuvo-tailwind .xss\\:pb-7{padding-bottom:1.75rem}}@media (min-width:468px){.nuvo-tailwind .xsmd\\:w-auto{width:auto}}@media (min-width:740px){.nuvo-tailwind .xssmd\\:w-14{width:3.5rem}.nuvo-tailwind .xssmd\\:pl-4{padding-left:1rem}}@media (min-width:820px){.nuvo-tailwind .smmd\\:right-5{right:1.25rem}.nuvo-tailwind .smmd\\:top-7{top:1.75rem}.nuvo-tailwind .smmd\\:pr-14{padding-right:3.5rem}}@media (min-width:885px){.nuvo-tailwind .smd\\:order-1{order:1}.nuvo-tailwind .smd\\:flex-row{flex-direction:row}}@media (min-width:990px){.nuvo-tailwind .large\\:grid{display:grid}.nuvo-tailwind .large\\:min-w-100{min-width:400px}.nuvo-tailwind .large\\:pb-0{padding-bottom:0}.nuvo-tailwind .large\\:pb-10{padding-bottom:2.5rem}.nuvo-tailwind .large\\:pb-2{padding-bottom:.5rem}.nuvo-tailwind .large\\:pl-0{padding-left:0}.nuvo-tailwind .large\\:pt-0{padding-top:0}}@media (min-width:1190px){.nuvo-tailwind .mmd\\:right-7{right:1.75rem}.nuvo-tailwind .mmd\\:top-7{top:1.75rem}.nuvo-tailwind .mmd\\:mb-3{margin-bottom:.75rem}.nuvo-tailwind .mmd\\:pr-14{padding-right:3.5rem}}@media (min-width:1440px){.nuvo-tailwind .\\33xl\\:py-2{padding-bottom:.5rem;padding-top:.5rem}.nuvo-tailwind .\\33xl\\:pt-1{padding-top:.25rem}}@media (min-width:1441px){.nuvo-tailwind .min3xl\\:p-5{padding:1.25rem}}@media (min-width:1920px){.nuvo-tailwind .\\34xl\\:max-h-72{max-height:18rem}}.nuvo-tailwind *{-webkit-touch-callout:none;outline:none;scrollbar-color:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none}.nuvo-tailwind input,.nuvo-tailwind textarea{-webkit-user-select:text;-moz-user-select:text;user-select:text}.nuvo-tailwind .loader{animation:spin 1.2s linear infinite;border:16px solid rgba(92,142,242,.3);border-radius:50%;border-top-color:#5c8ef2;height:100px;margin:auto;position:relative;top:16px;width:100px}.nuvo-tailwind .loader:before{--rad:radial-gradient(circle 7.5px,#5c8ef2 99%,transparent 100%);background:var(--rad) left -17px top 0,var(--rad) right -17px top 0;background-size:224% 100%;content:"";height:19px;left:-4px;position:absolute;top:-4.9px;width:111%}@keyframes spin{to{transform:rotate(1turn)}}.nuvo-tailwind .circle-loader{border:3px solid;border-radius:50%;display:inline-block;height:20px;margin:auto;position:relative;width:20px}.nuvo-tailwind .animate-loader,.nuvo-tailwind .circle-loader{animation:spin 1.2s linear infinite}@keyframes progress{to{transform:translateX(100%)}}.nuvo-tailwind .translate-by-keyframe{animation:progress 1.5s linear forwards}`));document.head.appendChild(by);var wy=document.createElement("style");wy.type="text/css";wy.appendChild(document.createTextNode(".nuvo-tailwind .dropdown-scroll .simplebar-scrollbar{height:5px;top:0}.nuvo-tailwind .dropdown-scroll .simplebar-scrollbar:before{inset:0}.nuvo-tailwind .dropdown-scroll .simplebar-track{background-color:#f4f4f4;border-radius:60px;pointer-events:auto}.nuvo-tailwind .dropdown-scroll .simplebar-track>.simplebar-scrollbar:before{background-color:#b9b9b9;border-radius:60px;opacity:1!important}.nuvo-tailwind .dropdown-scroll .simplebar-track.simplebar-vertical{bottom:8px;top:8px;transform:translateX(-3px);width:5px}.nuvo-tailwind .dropdown-scroll .simplebar-track.simplebar-vertical .simplebar-scrollbar:before{inset:0}.nuvo-tailwind .dropdown-scroll .simplebar-track.simplebar-horizontal{height:5px;transform:translateY(5px)}.nuvo-tailwind .dropdown-scroll .simplebar-track.simplebar-horizontal .simplebar-scrollbar{height:5px;top:8px}.nuvo-tailwind .dropdown-scroll .simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{inset:0}"));document.head.appendChild(wy);var yy=document.createElement("style");yy.type="text/css";yy.appendChild(document.createTextNode(".nuvo-tailwind #review-entries-table{height:100%}.nuvo-tailwind .handsontable:not(.htHorizontallyScrollableByWindow) .ht_master .wtHolder,.nuvo-tailwind .handsontable:not(.htVerticallyScrollableByWindow) .ht_master .wtHolder{background:inherit}.nuvo-tailwind .data-review .handsontable{color:var(--globals-text-color);font-family:var(--globals-font-family)}.nuvo-tailwind .data-review .handsontable:not(.htHorizontallyScrollableByWindow) .ht_master .wtHolder,.nuvo-tailwind .data-review .handsontable:not(.htVerticallyScrollableByWindow) .ht_master .wtHolder{background:inherit}.nuvo-tailwind .data-review .handsontable tbody tr th.ht__active_highlight,.nuvo-tailwind .data-review .handsontable tbody tr.ht__row_odd th.ht__active_highlight{box-shadow:inherit!important;color:inherit!important}.nuvo-tailwind .data-review .handsontable thead th .relative{height:100%;padding:0!important}.nuvo-tailwind .data-review .handsontable thead th .colHeader{display:flex;flex-direction:column;height:100%;width:100%}.nuvo-tailwind .data-review .handsontable thead th .colHeader .title-header{align-items:center;display:flex;flex:1 1 0%;justify-items:flex-start;position:relative;width:auto}.nuvo-tailwind .data-review .handsontable thead tr th:first-child{position:relative}.nuvo-tailwind .data-review .handsontable thead tr th:first-child:before{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(201 207 210/var(--tw-bg-opacity));border-top-width:1px;bottom:0;color:rgb(44 50 53/var(--tw-text-opacity));font-size:.875rem;font-weight:400;height:33px;left:0;line-height:1.25rem;line-height:2rem;position:absolute;right:0;text-align:center;z-index:10}.nuvo-tailwind .data-review .handsontable thead th .colHeader .example-header{border-top-width:1px;box-sizing:border-box;flex-shrink:0;height:33px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.nuvo-tailwind .data-review .handsontable .htAutocomplete{--tw-border-opacity:1;border-color:rgb(221 221 221/var(--tw-border-opacity));position:relative}.nuvo-tailwind .data-review .handsontable .htAutocompleteArrow{height:100%!important;max-height:28px;width:100%!important}.nuvo-tailwind .data-review .handsontable .htAutocompleteArrow,.nuvo-tailwind .data-review .handsontable .htAutocompleteArrow:hover{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity))}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-error{--ht-row-cell-odd-background-color:#fff1f0;--ht-row-cell-even-background-color:#fff1f0;--ht-cell-read-only-background-color:#fff1f0}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-warning{--ht-row-cell-odd-background-color:#fffbe6;--ht-row-cell-even-background-color:#fffbe6;--ht-cell-read-only-background-color:#fffbe6}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-info{--ht-row-cell-odd-background-color:#f0f9ff;--ht-row-cell-even-background-color:#f0f9ff;--ht-cell-read-only-background-color:#f0f9ff}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-disabled{--ht-row-cell-odd-background-color:#fafafa;--ht-row-cell-even-background-color:#fafafa;--ht-cell-read-only-background-color:#fafafa}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-error:hover{--ht-row-cell-odd-background-color:#fad4d4;--ht-row-cell-even-background-color:#fad4d4;--ht-cell-read-only-background-color:#fad4d4}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-warning:hover{--ht-row-cell-odd-background-color:#ffe8a8;--ht-row-cell-even-background-color:#ffe8a8;--ht-cell-read-only-background-color:#ffe8a8}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-info:hover{--ht-row-cell-odd-background-color:#c2d5fa;--ht-row-cell-even-background-color:#c2d5fa;--ht-cell-read-only-background-color:#c2d5fa}.nuvo-tailwind .data-review .handsontable td.ingestro-cell-disabled:hover{--ht-row-cell-odd-background-color:#fff;--ht-row-cell-even-background-color:#fff;--ht-cell-read-only-background-color:#fff}.nuvo-tailwind .custom-dropdown-boolean-renderer,.nuvo-tailwind .custom-dropdown-renderer{padding-right:16px}.nuvo-tailwind .custom-dropdown-boolean-renderer-text-element,.nuvo-tailwind .custom-dropdown-renderer-text-element{background-color:transparent!important;padding-top:4px}.nuvo-tailwind .data-review .hide-arrow-btn{align-items:center;background-color:#fff;border:1px solid #f2f2f2;border-bottom-left-radius:4px;border-right-width:0;border-top-left-radius:4px;cursor:pointer;display:flex;height:12px;justify-content:center;position:absolute;right:0;top:50%;transform:translateY(-50%);width:12px}.nuvo-tailwind .data-review .hide-arrow-btn.hide-icon-left{left:0;right:auto;transform:translateY(-50%) rotate(180deg)}.nuvo-tailwind .data-review .handsontable td>div.custom-dropdown-boolean-renderer>.close-icon *,.nuvo-tailwind .data-review .handsontable td>div.custom-dropdown-renderer>.close-icon *{color:#c5c5c5}.nuvo-tailwind .data-review .handsontable td.default-cell.current.highlight>div>.arrow-down-icon,.nuvo-tailwind .data-review .handsontable td.error-cell.current.highlight>div>.arrow-down-icon,.nuvo-tailwind .data-review .handsontable td.info-cell.current.highlight>div>.arrow-down-icon,.nuvo-tailwind .data-review .handsontable td.warning-cell.current.highlight>div>.arrow-down-icon{padding-left:0!important}.nuvo-tailwind .data-review .handsontable td.disabled-cell #dropdown-arrow-icon svg{--tw-text-opacity:1;color:rgb(197 197 197/var(--tw-text-opacity))}.nuvo-tailwind .data-review .handsontable td.error-cell #dropdown-arrow-icon svg{--tw-text-opacity:1;color:rgb(237 112 112/var(--tw-text-opacity))}.nuvo-tailwind .data-review .handsontable td.warning-cell #dropdown-arrow-icon svg{--tw-text-opacity:1;color:rgb(255 193 22/var(--tw-text-opacity))}.nuvo-tailwind .data-review .handsontable td.default-cell #dropdown-arrow-icon,.nuvo-tailwind .data-review .handsontable td.default-cell #dropdown-arrow-icon svg{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity))}.nuvo-tailwind .data-review .handsontable .ht_clone_top_inline_start_corner{z-index:10}.nuvo-tailwind .data-review .ht_master.handsontable .wtHolder::-webkit-scrollbar{height:.5rem!important;width:.5rem!important}.nuvo-tailwind .data-review .ht_master.handsontable .wtHolder::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px;width:.375rem!important}.nuvo-tailwind .data-review .ht_clone_inline_start .wtHolder::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}.nuvo-tailwind .data-review .ht_master.handsontable .wtHolder::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}.nuvo-tailwind .data-review::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#818b99;border:0 solid transparent;border-radius:9px}.nuvo-tailwind .data-review .ht_clone_inline_start .wtHolder .wtHider{box-sizing:border-box!important;margin-bottom:2rem!important}.nuvo-tailwind .data-review.not_firefox .ht_clone_top,.nuvo-tailwind .data-review.not_firefox .ht_clone_top .wtHolder{width:100%!important}.nuvo-tailwind .data-review.not_firefox .add-space-scrollbar-w .ht_clone_top{width:calc(100% - 8px)!important}.nuvo-tailwind .data-review.not_firefox .ht_clone_inline_start.handsontable .wtHolder,.nuvo-tailwind .data-review.not_firefox .ht_clone_inline_start:not(.handsontableInputHolder){height:100%!important}.nuvo-tailwind .data-review.not_firefox .add-space-scrollbar-h .ht_clone_inline_start:not(.handsontableInputHolder){height:calc(100% - 8px)!important}.nuvo-tailwind .data-review .hide-border-last-column .ht_clone_top td:last-child,.nuvo-tailwind .data-review .hide-border-last-column .ht_clone_top th:last-child,.nuvo-tailwind .data-review div.hide-border-last-column .handsontable.ht_master tr td:last-child{border-right-color:transparent!important;border-right-width:0!important}.nuvo-tailwind .data-review .wtBorder.fill{background:#4b89ff!important}.nuvo-tailwind .data-review .ht_clone_inline_start th>div.relative{align-items:center;display:flex;height:100%;justify-content:center}.nuvo-tailwind .data-review .ht_clone_inline_start.handsontable td,.nuvo-tailwind .data-review .ht_master.handsontable td{padding:0 12px!important}.nuvo-tailwind .data-review .handsontable{--ht-cell-vertical-padding:0px;--ht-line-height:33px}@media only screen and (max-width:1440px){.nuvo-tailwind .data-review .handsontable{--ht-cell-vertical-padding:0px;--ht-line-height:23px}.nuvo-tailwind div.ht_master.handsontable>div.wtHolder>div>div>table>thead>tr>th{border-width:0!important}.nuvo-tailwind .data-review .handsontable thead tr th:first-child:before{border-top-width:1px;height:23px!important;line-height:23px!important}.nuvo-tailwind .data-review .handsontable thead th .colHeader .example-header{height:23px!important;line-height:23px!important}.nuvo-tailwind .custom-dropdown-boolean-renderer-text-element,.nuvo-tailwind .custom-dropdown-renderer-text-element{padding-top:0}}.nuvo-tailwind .data-review .handsontable th .row-header-number{display:inline}.nuvo-tailwind .data-review .handsontable th .relative .rowHeader{width:100%}.nuvo-tailwind .data-review .nuvo-add-row-button{align-items:center;cursor:pointer;display:flex;justify-content:center;width:100%}.nuvo-tailwind .data-review .nuvo-add-row-button.nuvo-add-row-button-disabled{cursor:not-allowed}.nuvo-tailwind .data-review .nuvo-custom-add-column-button{cursor:pointer}.nuvo-tailwind .data-review .row-header-checkbox{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:none;cursor:pointer;display:none}.nuvo-tailwind .data-review .row-header-checkbox:checked{--tw-bg-opacity:1;background-color:rgb(8 37 97/var(--tw-bg-opacity))}.nuvo-tailwind .data-review .handsontable th.hover-row .row-header-number{display:none}.nuvo-tailwind .data-review .handsontable th.checked-row .row-header-checkbox,.nuvo-tailwind .data-review .handsontable th.hover-row .row-header-checkbox{display:block}.nuvo-tailwind .data-review .handsontable th.checked-row .row-header-number{display:none}.nuvo-tailwind .data-review .check-all-checkbox{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(197 197 197/var(--tw-border-opacity));border-radius:4px;cursor:pointer;height:1rem!important;width:1rem!important}.nuvo-tailwind .data-review .check-all-checkbox:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid transparent;outline-offset:2px}.nuvo-tailwind .data-review .check-all-checkbox{box-shadow:none!important}.nuvo-tailwind .data-review .check-all-checkbox:indeterminate{--tw-border-opacity:1;border-color:rgb(197 197 197/var(--tw-border-opacity))}.nuvo-tailwind .data-review .check-all-checkbox:indeterminate{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.nuvo-tailwind .data-review .check-all-checkbox:checked{--tw-bg-opacity:1;background-color:rgb(8 37 97/var(--tw-bg-opacity));border-color:transparent}.nuvo-tailwind .data-review .handsontable thead th .colHeader .context-menu-button{cursor:pointer}.nuvo-tailwind .data-review .handsontable .columnSorting:not(.indicatorDisabled).sortAction{max-width:100%!important;min-width:auto!important;padding-inline-end:0!important;padding-inline-start:0!important}.nuvo-tailwind .data-review .handsontable .columnSorting.sortAction:hover{cursor:auto;text-decoration:initial}.nuvo-tailwind .data-review .handsontable .columnSorting.sortAction #text-title:hover{cursor:var(--text-header-pointer);-webkit-text-decoration:var(--text-header-decoration);text-decoration:var(--text-header-decoration)}.nuvo-tailwind .data-review .handsontable .columnSorting.sortAction .sort-loader{display:none}.nuvo-tailwind .data-review .handsontable .sort-loading .columnSorting.sortAction .sort-loader{display:block}.nuvo-tailwind .data-review .handsontable .sort-loading .columnSorting.sortAction .context-menu-button{display:none}.nuvo-tailwind .data-review .handsontable .header-circle-loader{animation:spin 1.2s linear infinite;border-radius:50%;border-style:solid;border-width:3px;display:inline-block;flex-shrink:0;height:13px;margin-left:1px;position:relative;top:2px;width:13px}.nuvo-tailwind .data-review .ht_clone_inline_start .wtHolder .htCore{box-shadow:none}.nuvo-tailwind .filter-value-list-scroll .simplebar-scrollbar{height:5px;top:0}.nuvo-tailwind .filter-value-list-scroll .simplebar-scrollbar:before{inset:0}.nuvo-tailwind .filter-value-list-scroll .simplebar-track{background-color:#f4f4f4;border-radius:60px;pointer-events:auto}.nuvo-tailwind .filter-value-list-scroll .simplebar-track>.simplebar-scrollbar:before{background-color:#b9b9b9;border-radius:60px;opacity:1!important}.nuvo-tailwind .filter-value-list-scroll .simplebar-track.simplebar-vertical{bottom:0;top:0;transform:translateX(-8px);width:4px}.nuvo-tailwind .filter-value-list-scroll .simplebar-track.simplebar-vertical .simplebar-scrollbar:before{inset:0}.nuvo-tailwind .filter-value-list-scroll .simplebar-track.simplebar-horizontal{height:5px;transform:translateY(5px)}.nuvo-tailwind .filter-value-list-scroll .simplebar-track.simplebar-horizontal .simplebar-scrollbar{height:5px;top:0}.nuvo-tailwind .filter-value-list-scroll .simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{inset:0}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track .simplebar-scrollbar{height:5px;top:0}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track .simplebar-scrollbar:before{inset:0}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track{background-color:#f4f4f4;border-radius:60px;pointer-events:auto}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track>.simplebar-scrollbar:before{background-color:#b9b9b9;border-radius:60px;opacity:1!important}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track.simplebar-vertical{bottom:6px;top:6px;transform:translateX(-4px);width:5px}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{inset:0}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track.simplebar-horizontal{height:5px;transform:translateY(5px)}.nuvo-tailwind .context-menu-scroll>div>.simplebar-track.simplebar-horizontal .simplebar-scrollbar{height:5px;top:0}.nuvo-tailwind .context-menu-scroll>div .simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{inset:0}"));document.head.appendChild(yy);var Cy=document.createElement("style");Cy.type="text/css";Cy.appendChild(document.createTextNode(".nuvo-tailwind .handsontable{--tw-text-opacity:1;color:rgb(56 56 56/var(--tw-text-opacity));font-family:var(--globals-font-family)}.nuvo-tailwind .handsontable .htDimmed,.nuvo-tailwind .handsontable td.htDimmed{color:#162338}.nuvo-tailwind .ht_clone_top{z-index:20!important}.nuvo-tailwind .ht_clone_inline_start:not(.handsontableInputHolder){z-index:0!important}.nuvo-tailwind .ht_clone_top_inline_start_corner{z-index:20!important}.nuvo-tailwind .ht_clone_top .ht__highlight{--tw-bg-opacity:1!important;background-color:rgb(251 251 251/var(--tw-bg-opacity))!important}.nuvo-tailwind .ht_clone_top_inline_start_corner div.wtHolder .htCore,.nuvo-tailwind col.rowHeader{width:60px!important}.nuvo-tailwind .spread-data-sheet .ht_clone_inline_start .wtHolder .wtHider div.wtSpreader .htCore tbody tr th{align-items:center;display:flex;font-size:.875rem;justify-content:center;line-height:1.25rem}.nuvo-tailwind .spread-data-sheet .handsontable.wt-full-width .ht_master.handsontable .wtHider,.nuvo-tailwind .spread-data-sheet .handsontable.wt-full-width .ht_master.handsontable .wtHider .wtSpreader{width:100%!important}.nuvo-tailwind .spread-data-sheet .ht_clone_inline_start .wtHolder .wtHider div.wtSpreader .htCore tbody tr th div{align-items:center;display:flex;height:31px!important;justify-content:center;padding-bottom:0;padding-top:0;text-align:center}.nuvo-tailwind .ht_clone_inline_start .wtHolder table{box-shadow:2px 0 5px -2px hsla(0,0%,53%,.3)}.nuvo-tailwind .wtBorder.corner{display:none}.nuvo-tailwind thead th:first-child{--tw-bg-opacity:1;background-color:rgb(251 251 251/var(--tw-bg-opacity))}.nuvo-tailwind .handsontable td{border-color:#ddd;font-size:.875rem;line-height:1.25rem;overflow:hidden!important;padding:0!important;text-overflow:ellipsis!important;white-space:nowrap!important}.nuvo-tailwind .handsontable thead th:first-child{border-bottom:1px solid #ddd}.nuvo-tailwind .ht_clone_top th{--tw-border-opacity:1;border-color:rgb(221 221 221/var(--tw-border-opacity))}.nuvo-tailwind .ht_clone_top .wtHolder .wtHider .wtSpreader .htCore th:first-child,.nuvo-tailwind div.ht_clone_top_inline_start_corner.ht_clone_top_left_corner.handsontable>div>div>div>table>thead>tr>th{border-top:none!important}.nuvo-tailwind .ht_clone_top .wtHolder .wtHider .wtSpreader .htCore th:first-child,.nuvo-tailwind .ht_clone_top_inline_start_corner .wtHolder .wtHider .wtSpreader .htCore th:first-child{border-left:none!important;padding-top:1px}.nuvo-tailwind .ht_clone_top .wtHolder .wtHider .wtSpreader .htCore th{border-top:none!important}.nuvo-tailwind .ht_clone_inline_start .wtHolder .wtHider .htCore th{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-left:none!important;border-color:rgb(221 221 221/var(--tw-border-opacity))}.nuvo-tailwind .ht_master .wtHolder .wtHider .htCore th{border-left:none!important;padding-left:1px}.nuvo-tailwind td.default-cell.currentRow{--tw-bg-opacity:1!important;background-color:rgb(239 243 249/var(--tw-bg-opacity))!important}.nuvo-tailwind .spread-data-sheet #hot-display-license-info{display:none}.nuvo-tailwind .spread-data-sheet .handsontable{font-family:var(--globals-font-family)}.nuvo-tailwind .spread-data-sheet .handsontable td .ht-cell{padding:0 16px}.nuvo-tailwind .spread-data-sheet .handsontable td{align-items:center;border-color:#ddd;padding:0 16px!important;text-align:left!important}.nuvo-tailwind .spread-data-sheet .handsontable .hide-border-last-row .htCore tr:last-child td{border-bottom-width:0}.nuvo-tailwind .spread-data-sheet .handsontable .hide-border-last-row .ht_clone_inline_start tr:last-child th{border-bottom:transparent}.nuvo-tailwind .spread-data-sheet .handsontable .ht_master .wtHolder::-webkit-scrollbar{height:.5rem!important;width:.5rem!important}.nuvo-tailwind .spread-data-sheet .handsontable .ht_master .wtHolder::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px;width:.25rem!important}.nuvo-tailwind .spread-data-sheet .handsontable .ht_master .wtHolder::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}.nuvo-tailwind .spread-data-sheet ::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#818b99;border:0 solid transparent;border-radius:9px}.nuvo-tailwind .spread-data-sheet .ht_clone_inline_start .wtHolder::-webkit-scrollbar{height:.5rem!important;width:.5rem!important}.nuvo-tailwind .spread-data-sheet .ht_clone_inline_start .wtHolder::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px;margin-right:.5rem!important}.nuvo-tailwind .spread-data-sheet .ht_clone_inline_start .wtHolder::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}.nuvo-tailwind .spread-data-sheet .ht_clone_inline_start .wtHolder .wtHider{box-sizing:border-box!important;margin-bottom:2rem!important}.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder,.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .htCore,.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .wtHider,.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .wtSpreader,.nuvo-tailwind .spread-data-sheet.not_firefox .ht_clone_top{width:100%!important}.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.add-space-scrollbar-w .ht_clone_top{width:calc(100% - 8px)!important}.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.add-space-scrollbar-w .ht_clone_top .wtHolder{width:100%!important}.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable .ht_clone_inline_start,.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable .ht_clone_inline_start .wtHolder{height:100%!important}.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.add-space-scrollbar-h .ht_clone_inline_start,.nuvo-tailwind .spread-data-sheet.not_firefox .handsontable.add-space-scrollbar-h .ht_clone_inline_start .wtHolder{height:calc(100% - 4px)!important}.nuvo-tailwind .spread-data-sheet #hotInstance{height:100%}.nuvo-tailwind .spread-data-sheet #hotInstance .ht_clone_inline_start td,.nuvo-tailwind .spread-data-sheet #hotInstance .ht_clone_top_inline_start_corner{box-shadow:2px 0 5px -2px hsla(0,0%,53%,.3)}.nuvo-tailwind .spread-data-sheet .hide-border-last-column .ht_clone_top td:last-child,.nuvo-tailwind .spread-data-sheet .hide-border-last-column .ht_clone_top th:last-child,.nuvo-tailwind .spread-data-sheet div.hide-border-last-column .handsontable.ht_master tr td:last-child{border-right-color:transparent!important;border-right-width:0!important}.nuvo-tailwind .spread-data-sheet tr td.default-cell,.nuvo-tailwind .spread-data-sheet tr td.hover-row{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity));cursor:pointer;font-size:.875rem;line-height:1.25rem}.nuvo-tailwind .spread-data-sheet.read-only tr td.default-cell{--tw-text-opacity:1;color:rgb(141 141 141/var(--tw-text-opacity))}.nuvo-tailwind .spread-data-sheet.read-only tr td{cursor:auto!important}.nuvo-tailwind .spread-data-sheet .ht_clone_inline_start .wtHolder .wtHider div.wtSpreader .htCore tbody tr th{text-indent:-1px}.nuvo-tailwind .spread-data-sheet .ht_left .wtHolder .wtSpreader,.nuvo-tailwind .spread-data-sheet .ht_master .wtHolder .wtSpreader table{width:100%}.nuvo-tailwind .spread-data-sheet tr .hover-row,.nuvo-tailwind .spread-data-sheet tr .hover-selected-row,.nuvo-tailwind .spread-data-sheet tr .selecting-row{cursor:pointer;font-size:.875rem;line-height:1.25rem}.nuvo-tailwind .spread-data-sheet tr td div{box-sizing:border-box;padding-top:7px}.nuvo-tailwind .spread-data-sheet .handsontable tr td.selecting-row-and-hovering.selecting-row{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity));cursor:pointer}.nuvo-tailwind .sheet-preview .handsontable{font-family:var(--globals-font-family)}.nuvo-tailwind .sheet-preview .handsontable td .ht-cell{padding:0 16px}.nuvo-tailwind .sheet-preview .handsontable td{align-items:center;border-color:#ddd;padding:0 16px!important;text-align:left!important}.nuvo-tailwind .sheet-preview .handsontable .hide-border-last-row .htCore tr:last-child td{border-bottom-width:0}.nuvo-tailwind .sheet-preview .handsontable .hide-border-last-row .ht_clone_inline_start tr:last-child th{border-bottom:transparent}.nuvo-tailwind .sheet-preview .handsontable .ht_master .wtHolder::-webkit-scrollbar{height:.5rem!important;width:.5rem!important}.nuvo-tailwind .sheet-preview .handsontable .ht_master .wtHolder::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px;width:.25rem!important}.nuvo-tailwind .sheet-preview .handsontable .ht_master .wtHolder::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}.nuvo-tailwind .sheet-preview ::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#818b99;border:0 solid transparent;border-radius:9px}.nuvo-tailwind .sheet-preview .ht_clone_inline_start .wtHolder::-webkit-scrollbar{height:.5rem!important;width:.5rem!important}.nuvo-tailwind .sheet-preview .ht_clone_inline_start .wtHolder::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px;margin-right:.5rem!important}.nuvo-tailwind .sheet-preview .ht_clone_inline_start .wtHolder::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}.nuvo-tailwind .sheet-preview .ht_clone_inline_start .wtHolder .wtHider{box-sizing:border-box!important;margin-bottom:2rem!important}.nuvo-tailwind .sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder,.nuvo-tailwind .sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .htCore,.nuvo-tailwind .sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .wtHider,.nuvo-tailwind .sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .wtSpreader,.nuvo-tailwind .sheet-preview.not_firefox .ht_clone_top{width:100%!important}.nuvo-tailwind .sheet-preview.not_firefox .handsontable.add-space-scrollbar-w .ht_clone_top{width:calc(100% - 8px)!important}.nuvo-tailwind .sheet-preview.not_firefox .handsontable.add-space-scrollbar-w .ht_clone_top .wtHolder{width:100%!important}.nuvo-tailwind .sheet-preview.not_firefox .handsontable .ht_clone_inline_start,.nuvo-tailwind .sheet-preview.not_firefox .handsontable .ht_clone_inline_start .wtHolder{height:100%!important}.nuvo-tailwind .sheet-preview.not_firefox .handsontable.add-space-scrollbar-h .ht_clone_inline_start,.nuvo-tailwind .sheet-preview.not_firefox .handsontable.add-space-scrollbar-h .ht_clone_inline_start .wtHolder{height:calc(100% - 4px)!important}.nuvo-tailwind .sheet-preview #hotInstance{height:100%}.nuvo-tailwind .sheet-preview #hotInstance .ht_clone_inline_start td,.nuvo-tailwind .sheet-preview #hotInstance .ht_clone_top_inline_start_corner{box-shadow:2px 0 5px -2px hsla(0,0%,53%,.3)}.nuvo-tailwind .sheet-preview .hide-border-last-column .ht_clone_top td:last-child,.nuvo-tailwind .sheet-preview .hide-border-last-column .ht_clone_top th:last-child,.nuvo-tailwind .sheet-preview div.hide-border-last-column .handsontable.ht_master tr td:last-child{border-right-color:transparent!important;border-right-width:0!important}.nuvo-tailwind .sheet-preview tr td.default-cell,.nuvo-tailwind .sheet-preview tr td.hover-row{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity));cursor:pointer;font-size:.875rem;line-height:1.25rem}.nuvo-tailwind .sheet-preview.read-only tr td.default-cell{--tw-text-opacity:1;color:rgb(141 141 141/var(--tw-text-opacity))}.nuvo-tailwind .sheet-preview.read-only tr td{cursor:auto!important}.nuvo-tailwind .sheet-preview .ht_clone_inline_start .wtHolder .wtHider div.wtSpreader .htCore tbody tr th{text-indent:-1px}.nuvo-tailwind .sheet-preview .ht_left .wtHolder .wtSpreader,.nuvo-tailwind .sheet-preview .ht_master .wtHolder .wtSpreader table{width:100%}.nuvo-tailwind .sheet-preview tr .hover-row,.nuvo-tailwind .sheet-preview tr .hover-selected-row,.nuvo-tailwind .sheet-preview tr .selecting-row{cursor:pointer;font-size:.875rem;line-height:1.25rem}.nuvo-tailwind .sheet-preview tr td div{box-sizing:border-box;padding-top:7px}.nuvo-tailwind .sheet-preview .handsontable tr td.selecting-row-and-hovering.selecting-row{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity));cursor:pointer}.nuvo-tailwind .sheet-preview .handsontable.wt-full-width .ht_master.handsontable .wtHider,.nuvo-tailwind .sheet-preview .handsontable.wt-full-width .ht_master.handsontable .wtHider .wtSpreader{width:100%!important}.nuvo-tailwind .join-sheet-preview #hot-display-license-info,.nuvo-tailwind .join-sheet-preview .handsontable .htBorders{display:none}.nuvo-tailwind .join-sheet-preview .handsontable{font-family:var(--globals-font-family)}.nuvo-tailwind .join-sheet-preview .handsontable td .ht-cell{padding:0 16px}.nuvo-tailwind .join-sheet-preview .handsontable td{align-items:center;border-color:#ddd;padding:0 16px!important;text-align:left!important}.nuvo-tailwind .join-sheet-preview .handsontable .hide-border-last-row .htCore tr:last-child td{border-bottom-width:0}.nuvo-tailwind .join-sheet-preview .handsontable .hide-border-last-row .ht_clone_inline_start tr:last-child th{border-bottom:transparent}.nuvo-tailwind .join-sheet-preview .handsontable .ht_master .wtHolder::-webkit-scrollbar{height:.5rem!important;width:.5rem!important}.nuvo-tailwind .join-sheet-preview .handsontable .ht_master .wtHolder::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px;width:.25rem!important}.nuvo-tailwind .join-sheet-preview ::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#818b99;border:0 solid transparent;border-radius:9px}.nuvo-tailwind .join-sheet-preview .ht_clone_inline_start .wtHolder::-webkit-scrollbar{height:.5rem!important;width:.5rem!important}.nuvo-tailwind .join-sheet-preview .ht_clone_inline_start .wtHolder::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px;margin-right:.5rem!important}.nuvo-tailwind .join-sheet-preview .ht_clone_inline_start .wtHolder::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}.nuvo-tailwind .join-sheet-preview .ht_clone_inline_start .wtHolder .wtHider{box-sizing:border-box!important;margin-bottom:2rem!important}.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder,.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .htCore,.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .wtHider,.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.wt-full-width .ht_clone_top .wtHolder .wtSpreader,.nuvo-tailwind .join-sheet-preview.not_firefox .ht_clone_top{width:100%!important}.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.add-space-scrollbar-w .ht_clone_top{width:calc(100% - 8px)!important}.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.add-space-scrollbar-w .ht_clone_top .wtHolder{width:100%!important}.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable .ht_clone_inline_start,.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable .ht_clone_inline_start .wtHolder{height:100%!important}.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.add-space-scrollbar-h .ht_clone_inline_start,.nuvo-tailwind .join-sheet-preview.not_firefox .handsontable.add-space-scrollbar-h .ht_clone_inline_start .wtHolder{height:calc(100% - 4px)!important}.nuvo-tailwind .join-sheet-preview #hotInstance{height:100%}.nuvo-tailwind .join-sheet-preview #hotInstance .ht_clone_inline_start td,.nuvo-tailwind .join-sheet-preview #hotInstance .ht_clone_top_inline_start_corner{box-shadow:2px 0 5px -2px hsla(0,0%,53%,.3)}.nuvo-tailwind .join-sheet-preview .hide-border-last-column .ht_clone_top td:last-child,.nuvo-tailwind .join-sheet-preview .hide-border-last-column .ht_clone_top th:last-child,.nuvo-tailwind .join-sheet-preview div.hide-border-last-column .handsontable.ht_master tr td:last-child{border-right-color:transparent!important;border-right-width:0!important}.nuvo-tailwind .join-sheet-preview tr td.default-cell{--tw-text-opacity:1;color:rgb(22 35 56/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem}.nuvo-tailwind .join-sheet-preview .ht_clone_inline_start .wtHolder .wtHider div.wtSpreader .htCore tbody tr th{text-indent:-1px}.nuvo-tailwind .join-sheet-preview .ht_left .wtHolder .wtSpreader,.nuvo-tailwind .join-sheet-preview .ht_master .wtHolder .wtSpreader table{width:100%}.nuvo-tailwind .join-sheet-preview tr td div{box-sizing:border-box;padding-top:7px}.nuvo-tailwind .join-sheet-preview .handsontable th .colHeader{width:100%}.nuvo-tailwind .join-sheet-preview .handsontable.wt-full-width .ht_master.handsontable .wtHider,.nuvo-tailwind .join-sheet-preview .handsontable.wt-full-width .ht_master.handsontable .wtHider .wtSpreader{width:100%!important}.nuvo-tailwind .join-sheet-preview .handsontable span.colHeader{line-height:1.2}.nuvo-tailwind .htFocusCatcher{padding:0}"));document.head.appendChild(Cy);var xy=document.createElement("style");xy.type="text/css";xy.appendChild(document.createTextNode('@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap");.nuvo-tailwind{--tw-text-opacity:1;color:rgb(66 66 66/var(--tw-text-opacity));color:var(--globals-text-color);font-family:var(--globals-font-family);font-size:16px;line-height:19px}.nuvo-tailwind .text-color-primary{color:var(--text-color-primary)}.nuvo-tailwind .text-color-secondary{color:var(--text-color-secondary)}.nuvo-tailwind [role=gridcell]{padding:0}.nuvo-tailwind [role=gridcell][aria-selected=true]>.cell-viewer{box-shadow:inset 0 0 0 2px var(--rdg-selection-color)}.nuvo-tailwind .nuvo-invisible{visibility:hidden}.nuvo-tailwind .caption{font-size:12px;line-height:1.43}.nuvo-ReactModal__Body--open{overflow:hidden}:root{--layer-overlay:300;--nuvo-white:#fff;--nuvo-neutral-900:#2d2d2d;--shadow-bottom:0px 7px 15px 0px rgba(27,80,113,.1)}.nuvo-popover{box-sizing:border-box}.nuvo-popover,.nuvo-popover__anchor{display:inline-flex;flex-direction:column}.nuvo-popover__anchor{background-color:transparent;border:0;outline:0;padding:0}.nuvo-popover__content{background-color:var(--nuvo-white);border-radius:4px;box-shadow:var(--shadow-bottom);color:var(--nuvo-neutral-900);outline:none;overflow-y:auto;padding:12px 16px;z-index:var(--layer-overlay)}'));document.head.appendChild(xy);import"handsontable/styles/handsontable.css";import"handsontable/styles/ht-theme-classic.css";var Sy=document.createElement("style");Sy.type="text/css";Sy.appendChild(document.createTextNode('.nuvo-tailwind .default-popper{--tw-text-opacity:1;border-radius:3px;border-width:1px;color:rgb(251 251 251/var(--tw-text-opacity));font-size:.75rem;line-height:1rem;opacity:0;padding-bottom:.75rem;padding-left:1rem;padding-right:1rem;padding-top:.75rem;pointer-events:none;z-index:170!important}.nuvo-tailwind .error-popper{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(237 112 112/var(--tw-bg-opacity));border-color:rgb(237 112 112/var(--tw-border-opacity))}.nuvo-tailwind .warning-popper{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 193 22/var(--tw-bg-opacity));border-color:rgb(255 193 22/var(--tw-border-opacity))}.nuvo-tailwind .multiple-popper{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(84 84 84/var(--tw-bg-opacity));border-color:rgb(84 84 84/var(--tw-border-opacity))}.nuvo-tailwind .disabled-popper{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(84 84 84/var(--tw-bg-opacity));border-color:rgb(84 84 84/var(--tw-border-opacity))}.nuvo-tailwind #arrow-message-info,.nuvo-tailwind #arrow-message-info:before{background:inherit;height:13px;position:absolute;width:13px}.nuvo-tailwind #arrow-message-info{visibility:hidden}.nuvo-tailwind #arrow-message-info:before{content:"";transform:rotate(45deg);visibility:visible}.nuvo-tailwind [overflow-hide]{opacity:0!important;pointer-events:none;visibility:hidden!important;z-index:100}.nuvo-tailwind [overflow-hide] #arrow{opacity:0;pointer-events:none;visibility:hidden}.nuvo-tailwind .remove-popper{--tw-text-opacity:1;border-radius:3px;border-width:1px;color:rgb(251 251 251/var(--tw-text-opacity));font-size:.75rem;line-height:1rem;opacity:0;padding:1rem;pointer-events:none;z-index:170!important}.nuvo-tailwind .remove-info-popper{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(40 64 103/var(--tw-bg-opacity));border-color:rgb(40 64 103/var(--tw-border-opacity))}'));document.head.appendChild(Sy);var _y=document.createElement("style");_y.type="text/css";_y.appendChild(document.createTextNode(".nuvo-tailwind #dropdown-scroll-element-id::-webkit-scrollbar-track{width:.25rem!important}.nuvo-tailwind #dropdown-scroll-element-id::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#818b99;border:0 solid transparent;border-radius:9px}.nuvo-tailwind #dropdown-scroll-element-id::-webkit-scrollbar{height:.25rem!important;width:.25rem!important}.nuvo-tailwind #dropdown-scroll-element-id::-webkit-scrollbar-track{background-clip:padding-box;background-color:#dfe2e4;border-radius:4px}.nuvo-tailwind #dropdown-scroll-element-id::-webkit-scrollbar-thumb{--tw-bg-opacity:1!important;background-color:rgb(179 188 192/var(--tw-bg-opacity))!important;border-radius:4px}"));document.head.appendChild(_y);import{createContext as cee,useEffect as uee,useMemo as dee,useState as pee}from"react";import{useContext as aee}from"react";var qt=()=>aee(Jw);import{Subject as mee}from"rxjs";var Iy=()=>{},My=class{constructor(e,r){this.onResultCallbackMapping={};this.getGeneralHooks=e=>{let r=this.hooksAPI.onCancel??Iy,o=e?.trim()?.length>0?this.onResultCallbackMapping[e]:this.hooksAPI.onResults,n=this.hooksAPI.onEntryChange??Iy,a=this.hooksAPI.onEntryInit??Iy;return{onResults:o,onCancel:r,onEntryChange:n,onEntryInit:a}};this.hooksAPI=e,this.onResultCallbackMapping={[r]:e.onResults}}},h9=My;import{useContext as iee,useMemo as see}from"react";var lee=()=>{let{onResults:t,onCancel:e,onEntryChange:r,onEntryInit:o,columnHooks:n}=ft(),a=iee(Ey),i=ee(),s=see(()=>new h9({onResults:t,onCancel:e,onEntryChange:r,onEntryInit:o,columnHooks:n},i.identifier),[t,e,r,o,n,i.identifier]);return{...a,hooksAPIMapper:s,getIdentifier:()=>i.identifier}},Co=lee;import{jsx as hee,jsxs as gee}from"react/jsx-runtime";var Ey=cee({setLoadingInitialValues:()=>{},loadingInitialValues:!0}),g9=({children:t})=>{let[e,r]=pee(!0),o=dee(()=>new mee,[]);return gee(Ey.Provider,{value:{cancelHookObservable:o,loadingInitialValues:e,setLoadingInitialValues:r},children:[hee(fee,{}),t]})},fee=()=>{let{cancelHookObservable:t,hooksAPIMapper:e,getIdentifier:r}=Co(),o=qt(),{featureWhiteList:n}=Nt();return uee(()=>{let a=t?.subscribe(()=>{e.getGeneralHooks(r()).onCancel()});return()=>{a?.unsubscribe()}},[t,e,r,o,n]),null};import{useCallback as M9}from"react";import I9 from"url-join";import{useNavigate as Ree}from"react-router-dom";var gr="/upload-file",ar="/review-entries",Ft="/select-header",Et="/match-column",vr="/select-sheet",xo="/join-column";import{createContext as Cee,useMemo as xee,useState as y9,useCallback as C9}from"react";var jh,vee=new Uint8Array(16);function Ty(){if(!jh&&(jh=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!jh))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return jh(vee)}var v9=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function bee(t){return typeof t=="string"&&v9.test(t)}var b9=bee;var Ur=[];for(Wh=0;Wh<256;++Wh)Ur.push((Wh+256).toString(16).substr(1));var Wh;function wee(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(Ur[t[e+0]]+Ur[t[e+1]]+Ur[t[e+2]]+Ur[t[e+3]]+"-"+Ur[t[e+4]]+Ur[t[e+5]]+"-"+Ur[t[e+6]]+Ur[t[e+7]]+"-"+Ur[t[e+8]]+Ur[t[e+9]]+"-"+Ur[t[e+10]]+Ur[t[e+11]]+Ur[t[e+12]]+Ur[t[e+13]]+Ur[t[e+14]]+Ur[t[e+15]]).toLowerCase();if(!b9(r))throw TypeError("Stringified UUID is invalid");return r}var w9=wee;function yee(t,e,r){t=t||{};var o=t.random||(t.rng||Ty)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,e){r=r||0;for(var n=0;n<16;++n)e[r+n]=o[n];return e}return w9(o)}var ky=yee;import{jsx as See}from"react/jsx-runtime";var Ry=Cee({sessionId:"",generateNewSessionId:()=>{},setHasUploadedData:()=>{}}),x9=t=>{let e=C9(()=>ky().replace(/-/g,""),[]),[r,o]=y9(e()),[n,a]=y9(!1),i=C9(()=>{n&&o(e())},[e,n]),s=xee(()=>({sessionId:r,generateNewSessionId:i,setHasUploadedData:a}),[r,i]);return See(Ry.Provider,{value:s,children:t.children})};import{useContext as _ee}from"react";var Iee=()=>_ee(Ry),br=Iee;import{createContext as Mee}from"react";import{jsx as Eee}from"react/jsx-runtime";var Oy=Mee({isUseInRouter:!1}),S9=({isUseInRouter:t,children:e})=>Eee(Oy.Provider,{value:{isUseInRouter:t},children:e});import{useContext as Tee}from"react";var kee=()=>Tee(Oy),_9=kee;var E9=()=>{let t=Ree(),{isUseInRouter:e}=_9();return M9((o,n)=>{if(e){let a=window.location.pathname,i=`${window.location.hash}`.replace("#",""),s=window.location.hash,l=typeof o=="string"?o:o.pathname,c=s?I9(i,l):I9(a,l);return t({pathname:c},{...n,replace:!0})}else{let a=typeof o=="string"?o:o.pathname;return t({pathname:a},{...n,replace:!0})}},[t,e])},zc=()=>{let t=E9(),{columns:e}=ee(),r=qt(),{setHasUploadedData:o}=br();return{navigateToReviewEntries:M9(()=>{t({pathname:ar},{state:{hideStepper:!0,columns:e,dataModels:r.getDataModels()}}),o(!0)},[e,r,t,o])}},Gt=E9;import{isEmpty as Bee,isNil as Uee}from"lodash";import{ErrorCode as k9}from"react-dropzone";var T9=t=>{let e;return{promise:new Promise((o,n)=>{e=()=>{n({isCancelled:!0})},t.then(a=>o(a)).catch(a=>n(a))}),cancel(){e()}}};import{isNil as Dee}from"lodash";import Pee from"detect-file-encoding-and-language";var Cn=({workersBaseUrl:t})=>{let e=t?yn(t,wn.IMPORT):"",{init:r,getRemote:o,clear:n}=bn({hostWorkerUrl:e,workerFile:()=>new Worker(new URL("workers/parseData/index.js",import.meta.url),{type:"module"})});return{init:r,clear:n,convertCsv2Sheet:(...h)=>{let v=o();return v?v.convertCsv2Sheet(...h):Z7(...h)},convertExcel2Sheet:(...h)=>{let v=o();return v?v.convertExcel2Sheet(...h):r8(...h)},convertJson2Sheet:(...h)=>{let v=o();return v?v.convertJson2Sheet(...h):J7(...h)},convertXLS2Sheet:(...h)=>{let v=o();return v?v.convertXLS2Sheet(...h):Q7(...h)},convertXML2Sheet:(...h)=>{let v=o();return v?v.convertXML2Sheet(...h):e8(...h)},jsonParser:(...h)=>{let v=o();return v?v.jsonParser(...h):Promise.resolve(X7(...h))},parseDateFormat:(...h)=>{let v=o();if(v)return v.parseDateFormat(...h);let b=n8(...h);return Promise.resolve(b)},convertPdf2Sheets:(...h)=>{let v=o();return v?v.convertPdf2Sheets(...h):t8(...h)},parseValue:(...h)=>{let v=o();if(v)return v.parseValue(...h);let b=Y7(...h);return Promise.resolve(b)}}};var Dy=async(t,e,r)=>{if(t.type===bt.csv||t.type===bt.tsv_text||t.type===bt.tsv||["tsv","csv"].includes(O9(t.name))){let o=await Vee(t);return e.convertCsv2Sheet(o,{...r,metaFile:{name:t.name,type:t.type===bt.xls?bt.csv:t.type,size:t.size}})}else return t.type===bt.xml?e.convertXML2Sheet(t,r):t.type===bt.json?e.convertJson2Sheet(t,r):t.type===bt.xls||t.type===bt.xlsb||O9(t.name)==="xlsb"?e.convertXLS2Sheet(t,r):t.type===bt.pdf?e.convertPdf2Sheets(t,{...r,stage:o8}):e.convertExcel2Sheet(t,r)},zh=(t,e,r,o)=>{let n=Cn({workersBaseUrl:r});return o&&o(n),T9(n.init().then(()=>Promise.all(t.map(a=>Dy(a,n,e).then(i=>({...i,rawFile:a})))).finally(()=>{n.clear()})))},Aee=t=>t[0]?.errors[1]?.message?t[0]?.errors[1]?.message:t[0]?.errors[0]?.message,R9={"Too many files":"txt_too_many_files_error"},Nee=t=>R9[t]?R9[t]:t,qh=t=>{let e={};return t.forEach(r=>{r==="tsv"?(e[bt.tsv]=[],e[bt.tsv_text]=[]):r==="xls"?(e[bt.xls]=[],e[bt.xlsb]=[".xlsb"]):e[bt[r]]=[]}),e},D9=t=>{let o=0;return t.forEach(a=>{o=o+Math.round(a.type===bt.pdf?6:a.type===bt.csv||a.type===bt.json?1:Math.max(a.size)/1e6)}),o*2.5/2*10},Gh=(t,e,r,o,n)=>{if(e[0].errors.find(l=>l.code===k9.FileInvalidType)){t(o("txt_file_format_error",{fileTypes:n.join(", ")}),o("txt_title_upload_valid_file_error"));return}if(e[0].errors.find(l=>l.code===k9.FileTooLarge)){t(o("txt_upload_exceed_max_size_error",{sizeInMb:r}),o("txt_title_upload_exceed_max_size_error"));return}let s=Aee(e);t(o(Nee(s)),o("txt_title_too_many_files_error"))},P9=(t,e,r,o)=>{e===9003?t(r("txt_nested_file_error"),r("txt_import_error")):e===9001?t(r("txt_file_format_error",{fileTypes:o.join(", ")}),r("txt_title_error_invalid_format")):t(r("txt_file_error"),r("txt_import_error"))},Kh=(t,e)=>({...Lee,...t?$ee:{},...e?Fee:{}}),Lee={transition:"border .24s ease-in-out"},$ee={borderColor:"#4B5563"},Fee={borderColor:"#D0021B"},Vee=t=>new Promise(async e=>{let r=await t.text();try{let n=((await Pee(t)).encoding||"ascii").toLowerCase();if(n!=="utf-8"&&!Dee(n)){let a=await Hee(t),i=new TextDecoder(n).decode(a);e(i)}else e(r)}catch{e(r)}}),Hee=t=>new Promise((e,r)=>{let o=new FileReader;o.onload=n=>{let a=n?.target?.result;e(a)},o.onerror=()=>r({code:-1}),o.readAsArrayBuffer(t)}),O9=t=>t?.split(".")?.pop()?.toLowerCase()||"";var qc=t=>t?.replace(/\.[^/.]+$/,"");var Ny=[[]],A9="";var Py=class{constructor(e){this.dataStack={};this.parseRejectedData=e=>{let r=[];for(let o=0;o<e.length;++o){let n=e[o];r.push({fileName:n.filename,sheets:[]})}return r};this.parseData=e=>{let r=[];for(let o=0;o<e.length;++o){let n=e[o],a=[];if(c9.includes(n.type))a.push({sheetName:qc(n.filename),data:n.data});else{let i=n.data;for(let s=0;s<i.length;++s){let l=i[s];a.push({sheetName:l?.sheetName??"",data:l?.data??[]})}}r.push({fileName:n.filename,sheets:a})}return r};this.throwError=(e,r)=>{let o={1101:"The component is not verified.",1100:"No component found.",1002:"This feature or this file type are not included in your subscription."};return r&&Ce.getInstance().setParseSession(),Promise.reject(new Error(`code: ${o[e]?e:-1}, message: ${o[e]??"Unexpected error"}`))};this.parseFiles=async(e,r,o)=>{let n=Cn({workersBaseUrl:o});await n.init();let a=[],i=[];return await Promise.all(e.map(async s=>Dy(s,n,r).then(l=>{a.push(l)}).catch(()=>{i.push({data:[],filename:s.name,fileSize:s.size,type:s.type})}))).finally(()=>{n.clear()}),{acceptedFiles:a,rejectedFiles:i}};this.getSessionKey=e=>{if(e&&this.importerSessionListener.listenStartCallbackStack[e])return e;{let r=Object.keys(this.importerSessionListener.listenStartCallbackStack);return r[r.length-1]}};this.getComponentData=e=>{let r=this.getSessionKey(e);return this.importerSessionListener.getConfigCallbackStack[r]?.()};this.onRetry=async e=>{let o;for(let n=1;n<=3;n++)try{return await e()}catch(a){if(o=a,n===3)throw o;await new Promise(i=>setTimeout(i,500*n))}throw o};this.uploadMethod=async({step:e,data:r,headerIndex:o,identifier:n})=>{let a=this.getSessionKey(n),i=this.getComponentData(a),s=i?.featureWhiteList.isDynamicImport();if(!i)return this.throwError(1100,a);if(!i?.isAuth)return this.throwError(1101,a);if(!s)return this.throwError(1002,a);this.dataStack[n??A9]={step:e,data:r,headerIndex:o}};this.startMethod=e=>{let r=e?.identifier,o=this.getSessionKey(r),n=this.getComponentData(o),a=0,i=5,s=500,l=()=>new Promise((u,d)=>{let p=()=>{a++,n=this.getComponentData(o),n?.isAuth===!0&&n.featureWhiteList.isDynamicImport()===!0?u():a>=i?d():setTimeout(p,s)};p()}),c=()=>{let u=this.dataStack?.[o];(Uee(r)||Bee(r))&&(u=this.dataStack?.[A9]),this.importerSessionListener.listenStartCallbackStack[o]?.({data:u?.data,headerIndex:u?.headerIndex,step:u?.step})};l().catch(()=>{}).finally(()=>c())};this.parseMethod=async({data:e,identifier:r})=>{let o=this.getSessionKey(r),n=this.getComponentData(o),a=n?.featureWhiteList.isDynamicImport(),i=n?.featureWhiteList.getInputTypes()??[];if(!n)return this.throwError(1100,o);if(!n?.isAuth)return this.throwError(1101,o);if(!a)return this.throwError(1002,o);let s=[],l=[],c=Array.from(e);for(let u=0;u<c.length;++u){let d=c[u],p=(Object.keys(bt).find(f=>bt[f]===d.type)??d.type)?.replace("_text","");i.includes(p)?s.push(d):l.push(d)}try{let u=await this.parseFiles(s,{licenseKey:n.licenseKey,framework:Ce.getInstance().getFrameWork(),sdkVersion:Ce.getInstance().getVersionNumber(),hasDateType:n.columnAPIMapper.hasDateType(),originRequest:Ce.getInstance().getOrigin()},n.workersBaseUrl??"");return Ce.getInstance().setParseSession(),{accepted:this.parseData(u?.acceptedFiles??[]),rejected:this.parseRejectedData([...u?.rejectedFiles??[],...l.map(d=>({filename:d.name,fileSize:d.size,data:[],type:d.type}))])}}catch(u){return this.throwError(u?.code,o)}};this.upload=async({step:e,data:r,headerIndex:o,identifier:n})=>this.onRetry(()=>this.uploadMethod({step:e,data:r,headerIndex:o,identifier:n}));this.start=e=>this.startMethod(e);this.parse=async({data:e,identifier:r})=>this.onRetry(()=>this.parseMethod({data:e,identifier:r}));this.verify=async e=>{let r=this.getSessionKey(e?.identifier),o=this.getComponentData(r);if(o?.isAuth)return o?.verifyTracking(r),Promise.resolve({verified:!0,identifier:r});let n=0,a=10,i=500,s=async()=>{for(;n<a;){if(!!this.getComponentData(this.getSessionKey(e?.identifier)))return!0;n++,await new Promise(c=>setTimeout(c,i))}return!1};try{if(!await s())return this.throwError(1100,this.getSessionKey(e?.identifier));let c=this.getSessionKey(e?.identifier),u=this.getComponentData(c);if(!u)return this.throwError(1100,this.getSessionKey(e?.identifier));u.verifyTracking(c);let{verifyLicenseKeyListener:d,verifyLicenseKey:p,isVerifyingLicenseKey:f,isAuth:h}=u;if(h)return Promise.resolve({verified:!0,identifier:c});if(f&&d)try{return new Promise((v,b)=>{d?.subscribe({next:y=>{v({verified:y,identifier:c})},error:y=>{b(new Error(`Failed to verify license key: ${y instanceof Error?y.message:String(y)}`))}})})}catch{return u?.verifyTracking(c),Promise.resolve({verified:!1,identifier:c})}if(!f&&!h&&p)try{let v=await p();return Promise.resolve({verified:!!v,identifier:c})}catch(v){throw new Error(`Failed to verify license key: ${v instanceof Error?v.message:String(v)}`)}return Promise.resolve({verified:!!h,identifier:c})}catch{let c=this.getSessionKey(e?.identifier);return this.getComponentData(c)?.verifyTracking(c),this.throwError(1100,this.getSessionKey(e?.identifier))}};this.reload=async e=>{let r=this.getSessionKey(e?.identifier),o=this.getComponentData(r);if(!o)return this.throwError(1100,r);let{reload:n}=o;n&&typeof n=="function"&&(await new Promise(a=>setTimeout(a,100)),n(r))};this.importerSessionListener=e;try{module?.hot}catch{}}},N9=Py;var Ly=class{constructor(){this.listenStartCallbackStack={};this.getConfigCallbackStack={};this.listener=(e,r)=>{this.listenStartCallbackStack[e]=r};this.getCompDataCallbackListener=(e,r)=>{this.getConfigCallbackStack[e]=r}}},L9=Ly;var Yh=new L9,jee=new N9(Yh);import{useCallback as bte,useEffect as G9}from"react";import{isNil as Gc,isArray as V9,isObject as H9,isString as B9,isEmpty as Kee}from"lodash";var Yi=class{constructor({sheetData:e,filename:r,type:o,sheetName:n,fileSize:a}){this.getSpreadSheet=({autoDetectedHeader:e})=>{let r=new Yn({name:this.sheetName,data:this.sheetData});e&&r.setHeaderByAutoDetection();let o=[r];return new tl({sheets:o,filename:this.filename,type:this.type,fileSize:this.fileSize})};this.sheetData=e,this.filename=r,this.type=o,this.sheetName=n,this.fileSize=a}},il=class{constructor({multipleSheetData:e,filename:r,type:o,fileSize:n}){this.getSpreadSheet=({autoDetectedHeader:e})=>{let r=this.multipleSheetData.map(o=>{let n=new Yn({data:o.data,name:o.sheetName});return e&&n.setHeaderByAutoDetection(),n});return new tl({type:this.type,filename:this.filename,sheets:r,fileSize:this.fileSize})};this.multipleSheetData=e,this.filename=r,this.type=o,this.fileSize=n}};import{isArray as $9,isEqual as Wee,flatten as zee}from"lodash";function qee(t,e){let r=new Set(t);return e.filter(o=>r.has(o))}var F9=(t,e,r)=>{let o=zee(t.map(a=>a.getColumns())).filter(a=>a.getColumnKey()===e);if(o.length>1){for(let a=0;a<o.length;a++){let i=o[a];if(qee(i.getUniqueRows(),r).length===r.length)return i}return null}else return o[0]},Zh=(t,e)=>Wee(`${t}`,`${e}`),$y=t=>$9(t)&&t.every(e=>$9(e));import{flatten as Gee}from"lodash";var Fy=class{constructor({spreadSheets:e}){this.setJoinSheet=e=>{this.joinSheet=e};this.getJoinSheet=()=>this.joinSheet;this.removeJoinSheet=()=>{this.joinSheet=null};this.getSpreadSheets=()=>this.spreadSheets;this.getSelectedSpreadSheets=()=>this.spreadSheets.filter(e=>e.isSelected());this.getIsAllSheetsManualSelectHeader=()=>{let e=this.getSelectedSpreadSheets();for(let r=0;r<e.length;r++){let o=e[r].getSelectedSheets();for(let n=0;n<o.length;n++)if(!o[n].getIsManualSelectHeader())return!1}return!0};this.length=()=>this.spreadSheets.length;this.getAllSheets=()=>Gee(this.spreadSheets.map(r=>r.getSheets()));this.setSheet=e=>{for(let r=0;r<this.spreadSheets.length;r++){let o=this.spreadSheets[r];for(let n=0;n<o.getSheets().length;n++)o.getSheets()[n].getId()===e.getId()&&this.spreadSheets?.[r].getSheets()?.[n]?.setData(e.getData())}};this.getSelectedSheets=(e=!1)=>this.joinSheet&&!e?[this.joinSheet]:this.getAllSheets().filter(r=>r.isSelected());this.selectAllSheets=e=>{this.spreadSheets.forEach(r=>{r.selectAllSheet(e)})};this.addList=e=>{let r=e.getSpreadSheets();for(let o=0;o<r.length;o++)this.spreadSheets.push(r[o])};this.spreadSheets=e}},Zi=Fy;var Vy=class{constructor({spreadSheetList:e}){this.currentSpreadSheetPosition=0;this.currentSheetPosition=0;this.goToBySheet=e=>{let r=this.originalSpreadSheetList.getSelectedSpreadSheets();for(let o=0;o<r.length;o++){let n=r[o].getSelectedSheets();for(let a=0;a<n.length;a++)if(n[a]===e)return this.currentSpreadSheetPosition=o,this.currentSheetPosition=a,n[a]}};this.getCurrentSpreadSheet=()=>this.originalSpreadSheetList.getSelectedSpreadSheets()[this.currentSpreadSheetPosition];this.getCurrentSheet=()=>this.getCurrentSpreadSheet().getSelectedSheets()[this.currentSheetPosition];this.next=()=>{let e=this.currentSheetPosition+1,o=this.originalSpreadSheetList.getSelectedSpreadSheets()[this.currentSpreadSheetPosition].getSelectedSheets().length;if(e>=o){let n=this.currentSpreadSheetPosition+1,a=this.originalSpreadSheetList.getSelectedSpreadSheets().length;return n>=a?!1:(this.currentSpreadSheetPosition=n,this.currentSheetPosition=0,this.getCurrentSheet().getIsManualSelectHeader()?this.next():!0)}else return this.currentSheetPosition=e,this.getCurrentSheet().getIsManualSelectHeader()?this.next():!0};this.goToLastSpreadSheet=()=>{this.currentSpreadSheetPosition=Math.max(this.originalSpreadSheetList.getSelectedSpreadSheets().length-1,0)};this.goToLastSheet=()=>{let e=this.getCurrentSpreadSheet();this.currentSheetPosition=Math.max(e.getSelectedSheets().length-1,0)};this.getSpreadSheetList=()=>this.updatedSpreadSheetList;this.setUpdatedSpreadSheetList=e=>{this.updatedSpreadSheetList=e};this.getOriginalSpreadSheetList=()=>this.originalSpreadSheetList;this.originalSpreadSheetList=e,this.updatedSpreadSheetList=e}},ei=Vy;var Xh=class{constructor(){this.handle=async({data:e,headerIndex:r,hasDateType:o,automaticHeaderDetection:n,workersBaseUrl:a})=>{let i,s=Cn({workersBaseUrl:a});await s.init();let l=$y(e);if(l)i=e;else try{i=await s.jsonParser(JSON.stringify(e),{hasDateType:o})}catch{throw s.clear(),new Error("1000")}s.clear();let c=new Yi({sheetData:i,filename:"",type:"dynamic-import",sheetName:"",fileSize:0}),u;if(!l)u=c.getSpreadSheet({autoDetectedHeader:n??!1});else if(Gc(r))u=c.getSpreadSheet({autoDetectedHeader:!0});else{u=c.getSpreadSheet({autoDetectedHeader:!1});let f=u.getSheets()[0].getData();r>=0&&r<f.length?u.getSheets()[0].setHeaderRowIndex(r):u.getSheets()[0].setHeaderByAutoDetection()}let d=new Zi({spreadSheets:[u]});return d.selectAllSheets(!0),new ei({spreadSheetList:d})}}},Jh=class{constructor(e){this.generateMemorizeFindDataModel=()=>{let e={},r={},o=0;for(let n=0;n<this.dataModels.length;n++){let a=this.dataModels[n];e[a.getKey()]=a,a.isHidden()||(r[a.getKey()]=o,o++)}return n=>({dataModel:e[n],colIndex:r[n]??-1})};this.checkInvalidFormat=e=>!V9(e)||e.some(r=>!H9(r)&&!Gc(r));this.handle=({data:e})=>{let r=e;if(this.checkInvalidFormat(e))throw new Error("1000");let o=this.generateMemorizeFindDataModel(),n=[],a={};for(let i=0;i<r.length;++i){if(n[i]={},Gc(r[i]))continue;let s=Object.keys(r[i]);for(let l=0;l<s.length;++l){let c=s[l],u=o(c);if(!u.dataModel)throw new Error("1001");if(H9(r[i][c])&&!V9(r[i][c])){if(Gc(r[i][c].value)||(n[i][c]=so.parse(r[i][c].value,{dataModel:u.dataModel})),Gc(r[i][c].info))continue;u.colIndex>=0&&r[i][c].info?.forEach(d=>{let p={rowIndex:i,colIndex:u.colIndex,popover:{message:d.message,level:d.level||Ui}};(a[i]?.length??0)===0?a[i]=[p]:a[i].push(p)})}else Gc(r[i][c])||(n[i][c]=so.parse(r[i][c],{dataModel:u.dataModel}))}}return{dataInfos:a,parsedValues:n}};this.dataModels=e}},Qh=class{constructor(){this.handle=async({data:e,hasDateType:r,workersBaseUrl:o})=>{if(this.checkInvalidFormat(e))throw new Error("1000");let n=Cn({workersBaseUrl:o});await n.init();let a=[];for(let s of e){for(let c of s.sheets)if(!$y(c.data))try{c.data=await n.jsonParser(JSON.stringify(c.data),{hasDateType:r})}catch{throw n.clear(),new Error("1000")}n.clear();let l=new il({multipleSheetData:s.sheets,filename:s.fileName,type:"dynamic-import",fileSize:0});a.push(l.getSpreadSheet({autoDetectedHeader:!1}))}return new Zi({spreadSheets:a})}}checkInvalidFormat(e){if(!Array.isArray(e))return!0;for(let r of e){if(!B9(r?.fileName)||r.fileName.trim()===""||!Array.isArray(r?.sheets)||r.sheets.length===0)return!0;let o=[];for(let n of r.sheets)if(o.includes(n.sheetName)||(o.push(n.sheetName),!B9(n?.sheetName)||n?.sheetName.trim()===""||!Array.isArray(n?.data)||n.data.length===0||Array.isArray(n?.data[0])&&n.data[0].length===0||!Array.isArray(n?.data[0])&&Kee(n.data[0])))return!0}return!1}};import{useTranslation as wte}from"react-i18next";import{isNil as Yee,isObject as Zee,isArray as Xee,isEmpty as Jee}from"lodash";var Hy=class{static{this.checkIsEmpty=e=>Yee(e)||Jee(e)}static{this.isInValidObjectArray=e=>!Zee(e)&&!Xee(e)}},eg=Hy;import{useContext as Qee}from"react";var ete=()=>Qee(By),Lt=ete;import{useCallback as tte}from"react";import{useTranslation as rte}from"react-i18next";var ote=()=>{let{showConfirmModal:t}=tt(),{t:e}=rte(),{closePage:r}=Lt(),{cancelHookObservable:o}=Co();return{warnLicenseKeyIsInvalid:tte(()=>{t({textNegativeButton:e("txt_close"),textPositiveButton:e("txt_back"),title:e("txt_invalid_license_key"),isShowIcon:!0,isShowPositiveButton:!1,description:e("txt_invalid_license_key_description"),onClickNegativeButton:()=>{o?.next(null),r()},onCloseModal(){o?.next(null)}})},[t,e,o,r])}},Xi=ote;import{isEmpty as yte}from"lodash";import{createContext as ste,useMemo as j9,useRef as lte,useState as $p}from"react";var tg=(t,e)=>e.development_mode?e.is_verified&&t:e.is_verified&&!t;import{useEffect as nte,useRef as Uy}from"react";var So=t=>{let e=Uy(),r=Uy(!1),o=Uy(!1);r.current&&(o.current=!0),nte(()=>{if(!r.current)return r.current=!0,e.current=t(),()=>{o.current&&e.current&&e.current()}},[])};var jy=class{static mapDAOtoFeatureWhitelist(e,r){let o=new Uc;return o.enableI18nOverrides(e.plan_detail.features.i18n),o.enableMultiFileUpload(e.plan_detail.features.multiple_file_upload),o.enableReuseMapping(e.plan_detail.features.remember_mapping),o.enableAutomaticMapping(e.plan_detail.features.automatic_mapping,e.plan),o.setStepHandler(e.plan_detail.features.step_handler??!1),e.plan_detail.upload_size_limit===0?o.setFileSizeUnlimited():o.setMaxFileSizeInMb(e.plan_detail.upload_size_limit),o.setInputTypes(e.plan_detail.features.input_types||[]),o.setDefaultLanguage(e.default_language??"en"),o.setDynamicImport(e.plan_detail.features.dynamic_import,e.plan),o.setCustomStyling(e.plan_detail.features.custom_style,e.plan),o.setEnableLogs(e.plan_detail.features.logs),o.setLoading(!1),o.setLocale(r||{}),o.setRowsLimit(e.plan_detail.sdk_rows_limit??void 0),o.setEnableSmartTable(e.plan_detail.features.smart_table||!1),o.setEnableCleaningAssistant(e.plan_detail.features.cleaning_assistant||!1),o.setEnableWatermark(e.plan_detail.features.watermark||!1),o.setEnableContextualEngine(e.plan_detail.features.contextual_engine||!1),o.setEnableNodeProcessing(e.plan_detail.features.node_processing||!1),o.setEnablePrompts(e.plan_detail.features.prompts||!1),o}static getEmptyFeatureWhitelist(){let e=new Uc;return e.setLoading(!1),e}},rg=jy;var og=class extends Br{constructor(){super(...arguments);this.getLocales=async({language:r},o)=>this.get("/utils/locales",{language:r},{headers:{Authorization:o,apikey:this.sendApiKey?Wt:void 0}})}};import{Subject as cte}from"rxjs";var Wy=class extends Br{constructor(){super(...arguments);this.verifyLicenseKey=async({licenseKey:r,sessionId:o})=>this.post("/verify",{session_id:o,meta:Ce.getInstance().getMeta()},{headers:{apikey:this.sendApiKey?Wt:void 0,Authorization:r}})}},U9=Wy;import{useMemo as ate}from"react";var ite=()=>{let t=ee();return ate(()=>({isDeveloperMode:t.developerMode??!1}),[t])},Ia=ite;import{jsx as ute}from"react/jsx-runtime";var zy=ste({isAuth:!1,isLoading:!1,htLicenseKey:"non-commercial-and-evaluation",isExpire:!1,verifyLicenseKey:void 0,verifyLicenseKeyListener:null,isVerifyingLicenseKey:!1}),W9=({licenseKey:t,children:e})=>{let r="non-commercial-and-evaluation",[o,n]=$p(!1),[a,i]=$p(!1),[s,l]=$p(!0),[c,u]=$p(r),{language:d,baseUrl:p,isSelfHosted:f}=ee(),[h,v]=$p(!0),{sessionId:b}=br(),y=j9(()=>new U9({sendApiKey:!f},{baseURL:p}),[p,f]),w=j9(()=>new og({sendApiKey:!f},{baseURL:p}),[p,f]),{setFeatureWhiteList:x}=Nt(),{isDeveloperMode:C}=Ia(),S=lte(new cte),_=async E=>{u(E?.ht_license_key?.trim()||r),n(tg(C,E));let k;E.plan_detail.features.i18n&&d?k=d:k=E.default_language??"en";let T=await w.getLocales({language:k},t),R=rg.mapDAOtoFeatureWhitelist(E,T);return x(R),l(!1),i(!(E.is_verified??!1)),!0},I=()=>{let E=rg.getEmptyFeatureWhitelist();return x(E),l(!1),!1},M=async()=>{v(!0);try{let E=await y.verifyLicenseKey({licenseKey:t,sessionId:b});return v(!1),S.current?.next(tg(C,E)),_(E)}catch{return S.current?.next(!1),v(!1),I()}};return So(()=>{if(t&&t?.trim()?.length>0||f)return(async()=>{try{let k=await y.verifyLicenseKey({licenseKey:t,sessionId:b});S.current?.next(tg(C,k)),v(!1),await _(k)}catch{S.current?.next(!1),v(!1),I()}})(),()=>{v(!1),l(!1)};{let E=rg.getEmptyFeatureWhitelist();x(E),l(!1),v(!1),n(!1)}return()=>{}}),ute(zy.Provider,{value:{isAuth:o,isLoading:s,htLicenseKey:c,isExpire:a,verifyLicenseKey:M,isVerifyingLicenseKey:h,verifyLicenseKeyListener:S.current},children:e})};import{useContext as dte}from"react";var pte=()=>dte(zy),Kt=pte;import{createContext as mte,useState as fte}from"react";import{jsx as hte}from"react/jsx-runtime";var qy=mte({reload:()=>{}}),z9=({children:t})=>{let[e,r]=fte(!1),o=n=>{Ce.getInstance().setReloadSession(n),r(!0),setTimeout(()=>{r(!1)},0)};return hte(qy.Provider,{value:{reload:o},children:e?null:t})};import{useContext as gte}from"react";var vte=()=>{let t=gte(qy);if(!t)throw new Error("useImporterSession must be used within an ImporterSessionManager");return t},q9=vte;var Cte=({modal:t,isAuth:e,openModal:r,licenseKey:o})=>{let n=Gt(),a=qt(),{columns:i,embedUploadArea:s=!1,dynamicImport:l,identifier:c}=ee(),{showConfirmModal:u}=tt(),{t:d}=wte(),{automaticHeaderDetection:p,workersBaseUrl:f}=ee(),{warnLicenseKeyIsInvalid:h}=Xi(),{featureWhiteList:v}=Nt(),{cancelHookObservable:b}=Co(),{verifyLicenseKeyListener:y,verifyLicenseKey:w,isVerifyingLicenseKey:x}=Kt(),{reload:C}=q9(),S=bte(async _=>C(_),[C]);return G9(()=>{Yh.listener(c,async({data:_,headerIndex:I,step:M})=>{try{if(!e){h();return}if(!l)throw new Error("1002");if(eg.checkIsEmpty(_)&&M!=="review"){t&&!s&&(r(),Ce.getInstance().setStartSession(c),n({pathname:gr}));return}if(eg.isInValidObjectArray(_))throw new Error("1000");let E=M;if(["header","mapping","review","sheetSelection"].includes(E)||(E="header"),E==="review"){let k=new Jh(a.getDataModels()),{parsedValues:T,dataInfos:R}=k.handle({data:(yte(_)?Ny:_)??Ny});t&&r(),setTimeout(()=>{Ce.getInstance().setStartSession(c),n({pathname:ar},{state:{columns:i,dataModels:a.getDataModels(),dynamicValues:T,dynamicDataInfos:R,dynamicUploadStart:ar,hideStepper:!0}})})}else if(E==="sheetSelection"){let T=await new Qh().handle({data:_??[],hasDateType:a.hasDateType(),workersBaseUrl:f??""}),R=vr;t&&r(),setTimeout(()=>{Ce.getInstance().setStartSession(c),n({pathname:R},{state:{spreadSheetList:T,dynamicUploadStart:R}})},220)}else{let T=await new Xh().handle({data:_??{},hasDateType:a.hasDateType(),headerIndex:I,automaticHeaderDetection:p,workersBaseUrl:f??""}),R=T?.getSpreadSheetList()?.getAllSheets()?.[0]?.getData();if(eg.checkIsEmpty(R)){t&&!s&&(r(),Ce.getInstance().setStartSession(c),n({pathname:gr}));return}let P=E==="header"&&!p?Ft:Et;t&&r(),setTimeout(()=>{Ce.getInstance().setStartSession(c),n({pathname:P},{state:{spreadSheetNavigate:T,dynamicUploadStart:P}})},220)}}catch(E){let k=()=>{switch(E.message){case"1000":return d("txt_error_dynamic_import_invalid_data_format");case"1001":return d("txt_error_dynamic_import_not_matched_tdm");case"1002":return d("txt_error_dynamic_import_no_support");default:return d("txt_error_dynamic_import_unknown")}};u({title:d("txt_default_title_error"),description:`<div>
|
|
100
100
|
<p className="font-bold">
|
|
101
101
|
${k()}
|
|
102
102
|
</p>
|
|
@@ -346,7 +346,7 @@ import{a as Y7,b as Z7,c as X7,d as J7,e as Q7,f as e8,g as t8,h as r8,i as o8,j
|
|
|
346
346
|
}
|
|
347
347
|
`}):"text-4.5xl",r,m({"&&":p.title}),m`
|
|
348
348
|
line-height: 1.2 !important;
|
|
349
|
-
`),children:t?ss("h1",{children:t}):null}),s?ss(rk,{}):e?ss("div",{className:g("text-color-secondary mt-2 text-left text-sm font-normal",m({"&&":p.description})),children:ss("h2",{children:e})}):ss("div",{})]}),o]})})},In=aue;import{FormProvider as sue}from"react-hook-form";import{createContext as lue}from"react";import{jsx as ml,jsxs as ik}from"react/jsx-runtime";var Zy=lue({}),cue=({dataModelSheetMatching:t,dataModelSheetMatcher:e,isShowFieldRequired:r,setShowFieldRequired:o,setDataModelSheetMatcher:n,autoMatchingChecksum:a,matchingByAutoMatch:i,initialDataModelSheetMatching:s})=>{let{t:l}=iue(),{onBackClick:c,onSubmit:u,isModalClose:d,form:p,handleSubmitForm:f,values:h}=kT({setShowFieldRequired:o,dataModelSheetMatching:t,dataModelSheetMatcher:e,autoMatchingChecksum:a,matchingByAutoMatch:i,initialDataModelSheetMatching:s}),{isCollapse:v,isShow:b,setIsCollapse:y,setIsShow:w}=Q9(),{modal:x}=Pe(),S=B().getColumnMatchTheme().pageHeader;return ml(Zy.Provider,{value:{dataModelSheetMatcherModel:e,dataModelSheetMatching:t,setDataModelSheetMatcher:n,isShowFieldRequired:r,initialDataModelSheetMatching:s},children:ml(sue,{...p,children:ik("form",{onSubmit:f(u),className:"flex flex-grow flex-col justify-start",children:[l("txt_match_column")?.length>0||l("txt_match_column_description")?.length>0?ml("div",{className:"-mt-3",children:ml(In,{title:l("txt_match_column"),description:l("txt_match_column_description"),wrapperClassName:x?"":"!px-0",headerTheme:S})}):null,ik(Gy.Provider,{value:{isCollapse:v,isShow:b},children:[ml("div",{className:g("large:pb-10 match-column-page w-full pb-24",x?"px-0":"px-6"),children:ml(MT,{})}),ml(JT,{values:h,isModalClose:d,onBackClick:c,isShowFieldRequired:r,onIsAvailableCollapseChange:y,onIsShowChange:w,onSubmitClick:f(u)})]})]})})})},sk=cue;import{useEffect as GC,useMemo as yue,useRef as Cue,useState as ai}from"react";import{useLocation as xue}from"react-router-dom";var fl=class t{static{this.checkIsDataModelOptionNotCustomCreate=(e,r)=>r?.getType()==="single-select"?!!r.getOptions().filter(a=>!a.creator).some(a=>a.value===e):!0}static{this.mergeDataModelSheetMatch=(e,r)=>{let o=[...e];for(let n=0;n<r.length;++n){let a=r[n],i=o.findIndex(s=>s.sheetColumnKey===a.sheetColumnKey&&s.matchedDataModel?.dataModelKey===a.matchedDataModel?.dataModelKey);if(i>=0&&a.matchedDataModel?.matchedOptions){let s=o[i].matchedDataModel;if(!s)continue;let l=a.matchedDataModel?.matchedOptions??[],c=[...s.matchedOptions??[]];for(let u=0;u<l.length;++u){let d=l[u];c.every(p=>p.sheetOption!==d.sheetOption)&&c.push(d)}o[i].matchedDataModel={dataModelKey:s.dataModelKey,matchedOptions:c}}}return o}}static{this.serializeDataModelSheetMatch=e=>e.map(r=>({sheetColumnKey:r.sheetColumn.getColumnKey(),matchedDataModel:r.matchedDataModel&&!r.matchedDataModel.dataModel?.getCreator()?{dataModelKey:r.matchedDataModel.dataModel?.getKey(),matchedOptions:r.matchedDataModel?.matchedOptions?.map(o=>({dataModelOption:this.checkIsDataModelOptionNotCustomCreate(o.dataModelOption,r.matchedDataModel.dataModel)?o.dataModelOption:void 0,dataModelOptions:o.dataModelOptions?o.dataModelOptions.filter(n=>this.checkIsDataModelOptionNotCustomCreate(n,r.matchedDataModel.dataModel)):void 0,sheetOption:o.sheetOption}))}:void 0}))}static{this.serializeForAutoMatching=e=>{let r=e.getMatching();return t.serializeDataModelSheetMatch(r)}}static{this.deSerializeForAutoMatching=(e,r,o)=>{let n=e.map(c=>{let u={...c},d=[];for(let h=0;h<(u.matchedDataModel?.matchedOptions?.length??0);++h)u.matchedDataModel?.matchedOptions?.[h]&&d.push(u.matchedDataModel?.matchedOptions?.[h].sheetOption);let p=F9(r,u.sheetColumnKey,d);if(!p)throw new Error("sheetColumn not found: "+u.sheetColumnKey);let f=null;if(u.matchedDataModel&&(f=ya(o,u.matchedDataModel.dataModelKey,!0),!f&&u.matchedDataModel.dataModelKey))throw new Error("data model not found: "+u.matchedDataModel.dataModelKey);if(u.matchedDataModel?.matchedOptions){let h=u.matchedDataModel?.matchedOptions,v=[];p.getUniqueRows().forEach(y=>{let w=h.find(x=>Zh(x.sheetOption,y));w?v.push(w):v.push({sheetOption:y})}),u.matchedDataModel={dataModelKey:u.matchedDataModel.dataModelKey,matchedOptions:v}}return{sheetColumn:p,matchedDataModel:u.matchedDataModel?{dataModel:f,matchedOptions:u.matchedDataModel.matchedOptions}:void 0}}),a=new vn({calculateSimilarityResult:{result:[]},sheets:r,dataModels:o,options:{isAutoMapping:!0}}),i=a.getSheetColumnDataModelSimilarityList(),s=a.getSheetColumnDataModelOptionSimilarityList();return new dl({dataModels:o,dataModelSheetMatch:n,sheetColumnDataModelSimilarityList:i,sheetColumnDataModelOptionSimilarityList:s,sheets:r})}}};import{chunk as due,isNil as pue}from"lodash";var BC=class t{constructor(e,r,o){this.handleGetSaveAutoMatching=(e,r)=>{if(r)try{return{dataModelSheetMatch:fl.deSerializeForAutoMatching(r,e,this.dataModels),autoMatchingChecksum:t.generateAutoMatchingChecksum(r),matchingByAutoMatch:r??[]}}catch{throw new Error("not found matching in localStorage")}else throw new Error("not found matching in localStorage")};this.generateOrderSerializeDataModels=e=>[...e].sort((o,n)=>wa(o.getKey())<wa(n.getKey())?-1:wa(o.getKey())>wa(n.getKey())?1:0);this.generateIdentifier=(e,r)=>{let n=this.generateOrderSerializeDataModels(r).map(i=>{let s=(i.isCategoryType()?i.getOptions():i.getType()==="boolean"?mr.getInstance().getOptionsForMatchColumn():[])?.map(l=>`${l.value??""}`?.trim()?.toLowerCase());return{key:i.getKey(),options:s,isMultiSelect:i.getIsMultiSelection()}}),a=[];return e.forEach(i=>{i.getSortedColumns().forEach(s=>{a.push(s.getColumnKey()?.trim()?.toLowerCase())})}),{source:a.join(","),tdm:n}};this.saveAutoMatchingSerializeValue=(e,r,o)=>{let n=this.generateIdentifier(e,this.dataModels);return this.autoMatchingLocalStorage.save(n,o,r).finally(()=>this.autoMatchingAPI.save(n,o,r)).catch(()=>{})};this.saveAutoOptionChunk=async(e,r)=>new Promise((o,n)=>{let a=due(r,50);for(let i=0;i<a.length;i++){let s=a[i];this.autoMatchingAPI.saveOption(e,s).catch(l=>{n(l)})}o(!0)});this.getAndSaveAutoMatching=async(e,r)=>{let o=this.generateIdentifier(e,this.dataModels);try{let n=await this.autoMatchingLocalStorage.getAutoMatch(o,r,this.dataModels);return this.handleGetSaveAutoMatching(e,n)}catch{try{let n=await this.autoMatchingAPI.getAutoMatch(o,r,this.dataModels);if(n)try{await this.autoMatchingLocalStorage.save(o,n,r)}catch{}return this.handleGetSaveAutoMatching(e,n)}catch{return}}};this.saveAutoMatching=(e,r,o)=>this.saveAutoMatchingSerializeValue(r.getSheets(),o,e);this.saveAutoOptionMapping=(e,r)=>{let o=[];for(let n=0;n<r?.getMatching()?.length;n++){let i=r?.getMatching()[n]?.matchedDataModel,s=i?.dataModel?.getOptionMappingConfiguration();if((i?.dataModel?.getType()==="boolean"||i?.dataModel?.getType()==="single-select"||i?.dataModel?.getType()==="multiple-select"||i?.dataModel?.getType()==="currency_code"||i?.dataModel?.getType()==="country_code_alpha_2"||i?.dataModel?.getType()==="country_code_alpha_3")&&s?.processingMode==="node"&&s?.layers.includes("historic")){let l=i?.dataModel?.isCategoryType()?(i?.dataModel).getOptions():i?.dataModel?.getType()==="boolean"?mr.getInstance().getOptionsForMatchColumn():[];for(let c=0;c<(i?.matchedOptions?.length??0);c++){let u=i?.matchedOptions?.[c]?.sheetOption||"";if(i?.dataModel?.getIsMultiSelection()){let d=i?.matchedOptions?.[c].dataModelOptions?.map(f=>l.find(h=>h.value===f)?.label).filter(f=>!pue(f)),p={source:`${u}`,target:d??[]};o.push(p)}else{let d=i?.matchedOptions?.[c]?.dataModelOption,p=l.find(f=>f.value===d)?.label;d!==void 0&&o.push({source:`${u}`,target:`${p??""}`})}}}}return o.length>0?this.saveAutoOptionChunk(e,o).catch(()=>{}):Promise.resolve()};this.autoMatchingAPI=r,this.autoMatchingLocalStorage=e,this.dataModels=o}static{this.generateAutoMatchingChecksum=e=>JSON.stringify(e)}},em=BC;var UC=class extends Br{constructor(){super(...arguments);this.handleGetAutoMatch=(r,o)=>r.map(a=>({sheetColumnKey:a.sourceColumns[0],matchedDataModel:a.targetColumn?{dataModelKey:a.targetColumn.key,matchedOptions:a.targetColumn.options?a.targetColumn.options.map(i=>o.find(l=>l.getKey()===a.targetColumn?.key)?.getIsMultiSelection()?{sheetOption:i.sourceOption,dataModelOptions:i.targetOption}:{sheetOption:i.sourceOption,dataModelOption:i.targetOption?.[0]}):void 0}:void 0}));this.parseToAutoMappingValues=r=>r.map(o=>({sourceColumns:o.sheetColumnKey?[o.sheetColumnKey]:[],targetColumn:o.matchedDataModel?{key:o.matchedDataModel.dataModelKey??"",options:o.matchedDataModel.matchedOptions?o.matchedDataModel.matchedOptions.map(n=>{let a=[];if(n.dataModelOption)a.push(n.dataModelOption);else if(n.dataModelOptions)for(let i=0;i<n.dataModelOptions.length;++i){let s=n.dataModelOptions[i];a.push(s)}return{sourceOption:n.sheetOption,targetOption:a}}).filter(n=>n.targetOption.length>0):void 0}:void 0}))}},zg=UC;import{isEqual as mue}from"lodash";var jC=class extends zg{constructor(){super({sendApiKey:!1});this.localStorageKey="auto-matching";this.getHash=async r=>{let n=new TextEncoder().encode(r),a=await crypto.subtle.digest("SHA-256",n);return Array.from(new Uint8Array(a)).map(s=>s.toString(16).padStart(2,"0")).join("")};this.save=(r,o,n)=>new Promise(async a=>{try{let i=await this.getHash(n);localStorage.setItem(`${this.localStorageKey}`,JSON.stringify({identifier:r,mappings:this.parseToAutoMappingValues(o),a:i}))}catch{}a()});this.saveOption=async(r,o)=>Promise.resolve();this.getAutoMatch=async(r,o,n)=>{try{let a=JSON.parse(localStorage.getItem(`${this.localStorageKey}`)??""),i=await this.getHash(o);return a.a===i&&mue(a.identifier,r)?this.handleGetAutoMatch(a.mappings,n):Promise.reject()}catch(a){return Promise.reject(a)}}}},qg=jC;var WC=class extends zg{constructor(){super(...arguments);this.getHeaders=r=>({apikey:this.sendApiKey?Wt:void 0,Authorization:r,originRequest:Ce.getInstance().getOrigin()});this.save=async(r,o,n)=>this.post("/auto-mapping",{source:r.source,tdm:r.tdm,mappings:this.parseToAutoMappingValues(o)},{headers:this.getHeaders(n)});this.saveOption=async(r,o)=>this.put("/mapping/option-data",o,{headers:{...this.getHeaders(r)}});this.getAutoMatch=async(r,o,n)=>{if(r.tdm.length<=0)return Promise.reject();let a=await this.post("/auto-mapping/result",r,{headers:this.getHeaders(o)});try{return a.data.mappings.length===0?Promise.reject():this.handleGetAutoMatch(a.data.mappings,n)}catch(i){return Promise.reject(i)}}}},Gg=WC;import{useEffect as hue,useMemo as uk,useRef as Zg,useState as gue}from"react";import{useTranslation as vue}from"react-i18next";import{jsx as Te,jsxs as ni}from"react/jsx-runtime";var fue=({title:t,titleId:e,...r})=>ni("svg",{width:232,height:180,viewBox:"0 0 232 180",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":e,...r,children:[t?Te("title",{id:e,children:t}):null,Te("rect",{x:25.363,y:23.1886,width:177.157,height:124.731,rx:3.80404,fill:"white",stroke:"#B1C3E1",strokeWidth:.391917}),Te("path",{d:"M25.166 26.9927C25.166 24.7835 26.9569 22.9927 29.166 22.9927H198.715C200.924 22.9927 202.715 24.7835 202.715 26.9927V38.6694H25.166V26.9927Z",fill:"#162338"}),ni("g",{opacity:.25,children:[Te("rect",{x:32.2354,y:29.3408,width:3.45428,height:3.45428,rx:1.72714,fill:"white"}),Te("rect",{x:38.4531,y:29.3408,width:3.45428,height:3.45428,rx:1.72714,fill:"white"}),Te("rect",{x:44.6709,y:29.3408,width:3.45428,height:3.45428,rx:1.72714,fill:"white"})]}),ni("g",{opacity:.8,children:[Te("rect",{x:32.4081,y:47.5345,width:163.065,height:16.2395,rx:2.59071,fill:"white",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M32.4081 50.1252C32.4081 48.6944 33.568 47.5345 34.9988 47.5345H50.5724V63.774H34.9988C33.568 63.774 32.4081 62.6141 32.4081 61.1833V50.1252Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M50.6122 47.5345H126.294C127.724 47.5345 128.884 48.6944 128.884 50.1252V61.1833C128.884 62.6141 127.724 63.774 126.294 63.774H50.6122V47.5345Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M88.2684 52.2278C88.2684 50.797 89.4283 49.6371 90.8591 49.6371H123.988C125.419 49.6371 126.579 50.797 126.579 52.2278V59.0798C126.579 60.5106 125.419 61.6705 123.988 61.6705H90.8591C89.4283 61.6705 88.2684 60.5106 88.2684 59.0798V52.2278Z",fill:"white",stroke:"#D0DBED",strokeWidth:.345428})]}),ni("g",{opacity:.8,children:[Te("rect",{x:32.4081,y:72.0804,width:163.065,height:16.2395,rx:2.59071,fill:"white",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M32.4081 74.6711C32.4081 73.2403 33.568 72.0804 34.9988 72.0804H50.5724V88.3199H34.9988C33.568 88.3199 32.4081 87.16 32.4081 85.7292V74.6711Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M50.6122 72.0804H126.294C127.724 72.0804 128.884 73.2403 128.884 74.6711V85.7292C128.884 87.16 127.724 88.3199 126.294 88.3199H50.6122V72.0804Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M88.2684 76.7737C88.2684 75.3429 89.4283 74.183 90.8591 74.183H123.988C125.419 74.183 126.579 75.3429 126.579 76.7737V83.6257C126.579 85.0565 125.419 86.2164 123.988 86.2164H90.8591C89.4283 86.2164 88.2684 85.0565 88.2684 83.6257V76.7737Z",fill:"white",stroke:"#D0DBED",strokeWidth:.345428})]}),ni("g",{opacity:.8,children:[Te("rect",{x:32.4081,y:96.6263,width:163.065,height:16.2395,rx:2.59071,fill:"white",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M32.4081 99.217C32.4081 97.7862 33.568 96.6263 34.9988 96.6263H50.5724V112.866H34.9988C33.568 112.866 32.4081 111.706 32.4081 110.275V99.217Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M50.6122 96.6263H126.294C127.724 96.6263 128.884 97.7862 128.884 99.217V110.275C128.884 111.706 127.724 112.866 126.294 112.866H50.6122V96.6263Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M88.2684 101.32C88.2684 99.889 89.4283 98.7291 90.8591 98.7291H123.988C125.419 98.7291 126.579 99.889 126.579 101.32V108.172C126.579 109.603 125.419 110.763 123.988 110.763H90.8591C89.4283 110.763 88.2684 109.603 88.2684 108.172V101.32Z",fill:"white",stroke:"#D0DBED",strokeWidth:.345428})]}),ni("g",{opacity:.8,children:[Te("rect",{x:32.4081,y:121.173,width:163.065,height:16.2395,rx:2.59071,fill:"white",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M32.4081 123.764C32.4081 122.333 33.568 121.173 34.9988 121.173H50.5724V137.413H34.9988C33.568 137.413 32.4081 136.253 32.4081 134.822V123.764Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M50.6122 121.173H126.294C127.724 121.173 128.884 122.333 128.884 123.764V134.822C128.884 136.253 127.724 137.413 126.294 137.413H50.6122V121.173Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M88.2684 125.867C88.2684 124.436 89.4283 123.276 90.8591 123.276H123.988C125.419 123.276 126.579 124.436 126.579 125.867V132.719C126.579 134.15 125.419 135.309 123.988 135.309H90.8591C89.4283 135.309 88.2684 134.15 88.2684 132.719V125.867Z",fill:"white",stroke:"#D0DBED",strokeWidth:.345428})]}),Te("rect",{x:12.2051,y:56,width:135.053,height:19.344,rx:3.11368,fill:"white"}),Te("rect",{x:12.2051,y:56,width:135.053,height:19.344,rx:3.11368,stroke:"#D0DBED",strokeWidth:.5}),Te("rect",{x:18.4229,y:62.5583,width:29.1336,height:6.22735,rx:1.55684,fill:"#D0DBED"}),Te("path",{d:"M56.5652 65.4705L54.9532 63.8298C54.8381 63.7146 54.6654 63.7146 54.5502 63.8298C54.4351 63.9449 54.4351 64.1176 54.5502 64.2328L55.9607 65.6433L54.5502 67.0538C54.4927 67.1113 54.4639 67.1689 54.4639 67.2553C54.4639 67.428 54.579 67.5431 54.7517 67.5431C54.8381 67.5431 54.8957 67.5143 54.9532 67.4568L56.594 65.816C56.6804 65.7584 56.6804 65.5857 56.5652 65.4705Z",fill:"#8D8D8D"}),Te("rect",{x:63.748,y:59.3032,width:60.4164,height:12.7377,rx:1.70504,fill:"#F5F8FE"}),Te("rect",{x:63.748,y:59.3032,width:60.4164,height:12.7377,rx:1.70504,stroke:"#B1C3E1",strokeWidth:.378897}),Te("rect",{x:66.5898,y:62.5583,width:38.9209,height:6.22735,rx:1.55684,fill:"#D0DBED"}),Te("path",{d:"M118.07 66.6795L119.711 65.0675C119.826 64.9523 119.826 64.7796 119.711 64.6645C119.595 64.5493 119.423 64.5493 119.308 64.6645L117.897 66.075L116.487 64.6645C116.429 64.6069 116.371 64.5781 116.285 64.5781C116.112 64.5781 115.997 64.6933 115.997 64.866C115.997 64.9523 116.026 65.0099 116.084 65.0675L117.724 66.7083C117.782 66.7946 117.955 66.7946 118.07 66.6795Z",fill:"#8D8D8D"}),Te("rect",{x:130.607,y:59.7563,width:11.8309,height:11.8309,rx:5.91543,fill:"white"}),Te("path",{d:"M136.524 59.1853C133.03 59.1853 130.172 62.1044 130.172 65.6721C130.172 69.2399 133.03 72.159 136.524 72.159C140.017 72.159 142.875 69.2399 142.875 65.6721C142.875 62.1044 140.017 59.1853 136.524 59.1853ZM139.191 64.5694L136.142 67.683C135.888 67.9425 135.507 67.9425 135.253 67.683L133.856 66.2559C133.602 65.9965 133.602 65.6073 133.856 65.3478C134.11 65.0883 134.491 65.0883 134.745 65.3478L135.698 66.3208L138.302 63.6612C138.556 63.4017 138.937 63.4017 139.191 63.6612C139.445 63.9207 139.445 64.3099 139.191 64.5694Z",fill:"#10B981"}),Te("rect",{x:12.2051,y:79.489,width:135.053,height:19.344,rx:3.11368,fill:"white"}),Te("rect",{x:12.2051,y:79.489,width:135.053,height:19.344,rx:3.11368,stroke:"#D0DBED",strokeWidth:.5}),Te("rect",{x:18.4229,y:86.0474,width:29.1336,height:6.22735,rx:1.55684,fill:"#D0DBED"}),Te("path",{d:"M56.5652 88.9596L54.9532 87.3188C54.8381 87.2036 54.6654 87.2036 54.5502 87.3188C54.4351 87.4339 54.4351 87.6066 54.5502 87.7218L55.9607 89.1323L54.5502 90.5428C54.4927 90.6003 54.4639 90.6579 54.4639 90.7443C54.4639 90.917 54.579 91.0321 54.7517 91.0321C54.8381 91.0321 54.8957 91.0033 54.9532 90.9458L56.594 89.305C56.6804 89.2474 56.6804 89.0747 56.5652 88.9596Z",fill:"#8D8D8D"}),Te("rect",{x:63.748,y:82.7922,width:60.4164,height:12.7377,rx:1.70504,fill:"#F5F8FE"}),Te("rect",{x:63.748,y:82.7922,width:60.4164,height:12.7377,rx:1.70504,stroke:"#B1C3E1",strokeWidth:.378897}),Te("rect",{x:66.5898,y:86.0474,width:38.9209,height:6.22735,rx:1.55684,fill:"#D0DBED"}),Te("path",{d:"M118.07 90.1685L119.711 88.5565C119.826 88.4414 119.826 88.2686 119.711 88.1535C119.595 88.0384 119.423 88.0384 119.308 88.1535L117.897 89.564L116.487 88.1535C116.429 88.0959 116.371 88.0671 116.285 88.0671C116.112 88.0671 115.997 88.1823 115.997 88.355C115.997 88.4414 116.026 88.4989 116.084 88.5565L117.724 90.1973C117.782 90.2836 117.955 90.2836 118.07 90.1685Z",fill:"#8D8D8D"}),Te("rect",{x:130.607,y:83.2456,width:11.8309,height:11.8309,rx:5.91543,fill:"white"}),Te("path",{d:"M136.524 82.6743C133.03 82.6743 130.172 85.5934 130.172 89.1611C130.172 92.7289 133.03 95.648 136.524 95.648C140.017 95.648 142.875 92.7289 142.875 89.1611C142.875 85.5934 140.017 82.6743 136.524 82.6743ZM139.191 88.0584L136.142 91.1721C135.888 91.4315 135.507 91.4315 135.253 91.1721L133.856 89.745C133.602 89.4855 133.602 89.0963 133.856 88.8368C134.11 88.5773 134.491 88.5773 134.745 88.8368L135.698 89.8098L138.302 87.1502C138.556 86.8908 138.937 86.8908 139.191 87.1502C139.445 87.4097 139.445 87.7989 139.191 88.0584Z",fill:"#10B981"}),Te("circle",{cx:194.321,cy:132.96,r:34.525,fill:"#C2D5FA",stroke:"#F5F8FE",strokeWidth:4.09185}),Te("path",{d:"M219.193 133.021C219.19 137.934 217.731 142.736 215 146.819C212.269 150.903 208.389 154.085 203.849 155.964C199.31 157.843 194.316 158.333 189.498 157.374C184.679 156.415 180.254 154.049 176.78 150.575C173.306 147.102 170.94 142.676 169.981 137.858C169.022 133.04 169.513 128.045 171.391 123.506C173.27 118.967 176.452 115.086 180.536 112.355C184.62 109.624 189.421 108.165 194.334 108.162C200.927 108.162 207.25 110.781 211.912 115.443C216.574 120.105 219.193 126.428 219.193 133.021Z",fill:"#3573EF"}),Te("path",{d:"M194.334 153.557C205.675 153.557 214.87 144.363 214.87 133.021C214.87 121.68 205.675 112.485 194.334 112.485C182.992 112.485 173.798 121.68 173.798 133.021C173.798 144.363 182.992 153.557 194.334 153.557Z",fill:"#F5F8FE"}),Te("path",{d:"M198.657 133.021C198.659 133.976 198.346 134.905 197.766 135.664C197.186 136.422 196.372 136.968 195.45 137.217C194.529 137.465 193.55 137.402 192.668 137.038C191.785 136.673 191.048 136.028 190.57 135.201C190.092 134.374 189.901 133.413 190.025 132.466C190.15 131.52 190.584 130.641 191.259 129.966C191.935 129.291 192.814 128.858 193.761 128.734C194.708 128.611 195.669 128.803 196.495 129.282C197.153 129.659 197.7 130.204 198.079 130.86C198.459 131.517 198.658 132.263 198.657 133.021Z",fill:"#3573EF"}),Te("path",{d:"M194.333 134.643C195.229 134.643 195.954 133.917 195.954 133.021C195.954 132.126 195.229 131.4 194.333 131.4C193.438 131.4 192.712 132.126 192.712 133.021C192.712 133.917 193.438 134.643 194.333 134.643Z",fill:"#F5F8FE"}),Te("path",{d:"M196.495 118.97V129.281C195.839 128.899 195.093 128.698 194.334 128.698C193.574 128.698 192.828 128.899 192.172 129.281V118.97C192.176 118.398 192.405 117.851 192.81 117.446C193.214 117.042 193.762 116.813 194.334 116.809C194.906 116.81 195.455 117.039 195.86 117.444C196.265 117.849 196.494 118.397 196.495 118.97Z",fill:"#0C3C9B"}),Te("path",{d:"M203.693 138.425C203.553 138.673 203.363 138.89 203.137 139.062C202.91 139.235 202.651 139.36 202.375 139.43C202.102 139.507 201.817 139.528 201.537 139.491C201.256 139.453 200.986 139.359 200.743 139.214L196.495 136.761C197.153 136.383 197.7 135.839 198.079 135.182C198.459 134.525 198.658 133.78 198.657 133.021L202.904 135.474C203.399 135.763 203.759 136.235 203.907 136.787C204.055 137.34 203.978 137.929 203.693 138.425Z",fill:"#0C3C9B"}),Te("path",{d:"M178.661 134.642C179.557 134.642 180.283 133.917 180.283 133.021C180.283 132.126 179.557 131.4 178.661 131.4C177.766 131.4 177.04 132.126 177.04 133.021C177.04 133.917 177.766 134.642 178.661 134.642Z",fill:"#0C3C9B"}),Te("path",{d:"M210.006 134.642C210.901 134.642 211.627 133.917 211.627 133.021C211.627 132.126 210.901 131.4 210.006 131.4C209.111 131.4 208.385 132.126 208.385 133.021C208.385 133.917 209.111 134.642 210.006 134.642Z",fill:"#0C3C9B"}),Te("path",{d:"M180.762 142.479C181.657 142.479 182.383 141.753 182.383 140.857C182.383 139.962 181.657 139.236 180.762 139.236C179.866 139.236 179.141 139.962 179.141 140.857C179.141 141.753 179.866 142.479 180.762 142.479Z",fill:"#0C3C9B"}),Te("path",{d:"M207.905 126.806C208.801 126.806 209.527 126.081 209.527 125.185C209.527 124.29 208.801 123.564 207.905 123.564C207.01 123.564 206.284 124.29 206.284 125.185C206.284 126.081 207.01 126.806 207.905 126.806Z",fill:"#0C3C9B"}),Te("path",{d:"M186.497 148.214C187.393 148.214 188.118 147.489 188.118 146.593C188.118 145.698 187.393 144.972 186.497 144.972C185.602 144.972 184.876 145.698 184.876 146.593C184.876 147.489 185.602 148.214 186.497 148.214Z",fill:"#0C3C9B"}),Te("path",{d:"M202.169 121.07C203.064 121.07 203.79 120.345 203.79 119.449C203.79 118.554 203.064 117.828 202.169 117.828C201.274 117.828 200.548 118.554 200.548 119.449C200.548 120.345 201.274 121.07 202.169 121.07Z",fill:"#0C3C9B"}),Te("path",{d:"M194.333 150.315C195.229 150.315 195.954 149.589 195.954 148.693C195.954 147.798 195.229 147.072 194.333 147.072C193.438 147.072 192.712 147.798 192.712 148.693C192.712 149.589 193.438 150.315 194.333 150.315Z",fill:"#0C3C9B"}),Te("path",{d:"M202.169 148.214C203.064 148.214 203.79 147.489 203.79 146.593C203.79 145.698 203.064 144.972 202.169 144.972C201.274 144.972 200.548 145.698 200.548 146.593C200.548 147.489 201.274 148.214 202.169 148.214Z",fill:"#0C3C9B"}),Te("path",{d:"M186.497 121.07C187.393 121.07 188.118 120.345 188.118 119.449C188.118 118.554 187.393 117.828 186.497 117.828C185.602 117.828 184.876 118.554 184.876 119.449C184.876 120.345 185.602 121.07 186.497 121.07Z",fill:"#0C3C9B"}),Te("path",{d:"M207.905 142.479C208.801 142.479 209.527 141.753 209.527 140.857C209.527 139.962 208.801 139.236 207.905 139.236C207.01 139.236 206.284 139.962 206.284 140.857C206.284 141.753 207.01 142.479 207.905 142.479Z",fill:"#0C3C9B"}),Te("path",{d:"M180.762 126.806C181.657 126.806 182.383 126.081 182.383 125.185C182.383 124.29 181.657 123.564 180.762 123.564C179.866 123.564 179.141 124.29 179.141 125.185C179.141 126.081 179.866 126.806 180.762 126.806Z",fill:"#0C3C9B"}),Te("path",{d:"M178.878 152.476H159.747C159.463 152.478 159.182 152.422 158.92 152.312C158.658 152.203 158.421 152.042 158.223 151.838C157.998 151.616 157.824 151.347 157.716 151.05C157.608 150.753 157.567 150.435 157.596 150.12C157.664 149.57 157.934 149.064 158.353 148.701C158.772 148.337 159.311 148.142 159.866 148.153H166.232C166.805 148.151 167.353 147.923 167.758 147.518C168.163 147.113 168.392 146.564 168.393 145.991C168.389 145.419 168.16 144.872 167.756 144.467C167.351 144.063 166.804 143.834 166.232 143.83H162.989C162.705 143.831 162.424 143.775 162.162 143.666C161.901 143.556 161.664 143.395 161.465 143.192C161.24 142.97 161.067 142.7 160.959 142.403C160.85 142.106 160.809 141.788 160.838 141.473C160.907 140.923 161.176 140.417 161.596 140.054C162.015 139.691 162.554 139.496 163.108 139.506H164.07C164.643 139.504 165.192 139.276 165.597 138.871C166.002 138.466 166.23 137.917 166.232 137.345C166.228 136.773 165.998 136.225 165.594 135.821C165.19 135.416 164.642 135.187 164.07 135.183H154.343C154.059 135.184 153.778 135.129 153.516 135.019C153.254 134.91 153.017 134.748 152.819 134.545C152.455 134.193 152.232 133.72 152.192 133.216V133.129C152.181 133.061 152.181 132.992 152.192 132.924C152.21 132.385 152.434 131.875 152.819 131.497C153.017 131.294 153.254 131.133 153.516 131.023C153.778 130.914 154.059 130.858 154.343 130.86H164.07C164.643 130.858 165.192 130.63 165.597 130.224C166.002 129.819 166.23 129.271 166.232 128.698C166.228 128.126 165.998 127.578 165.594 127.174C165.19 126.77 164.642 126.54 164.07 126.536H163.108C162.764 126.537 162.424 126.462 162.112 126.316C161.799 126.171 161.523 125.958 161.303 125.693C161.04 125.373 160.879 124.982 160.838 124.569C160.838 124.504 160.828 124.439 160.828 124.385C160.829 123.811 161.057 123.261 161.461 122.854C161.866 122.447 162.415 122.217 162.989 122.213H166.232C166.805 122.211 167.353 121.983 167.758 121.578C168.163 121.173 168.392 120.624 168.393 120.051C168.389 119.479 168.16 118.932 167.756 118.527C167.351 118.123 166.804 117.894 166.232 117.889H159.866C159.521 117.89 159.181 117.815 158.869 117.67C158.557 117.524 158.281 117.311 158.061 117.046C157.798 116.726 157.636 116.335 157.596 115.922C157.596 115.858 157.585 115.793 157.585 115.739C157.586 115.165 157.814 114.614 158.219 114.208C158.624 113.801 159.173 113.57 159.747 113.566H178.878C175.946 115.891 173.577 118.848 171.949 122.217C170.32 125.586 169.475 129.279 169.475 133.021C169.475 136.763 170.32 140.456 171.949 143.825C173.577 147.194 175.946 150.152 178.878 152.476Z",fill:"#1152D5"}),ni("g",{clipPath:"url(#clip0_4199_125295)",children:[Te("path",{d:"M205.059 63.3047C205.056 63.5446 205.19 63.7648 205.407 63.8667L208.519 65.3816C210.264 66.2328 211.618 67.7248 212.299 69.542L214.08 74.2348C214.165 74.4813 214.402 74.6423 214.661 74.6357C214.918 74.6325 215.151 74.4747 215.243 74.2348L217.008 69.542C217.688 67.7248 219.042 66.2328 220.787 65.3816L223.899 63.8667C224.205 63.7352 224.346 63.377 224.215 63.0681C224.152 62.9268 224.04 62.8151 223.899 62.7526L220.787 61.241C219.042 60.3865 217.688 58.8979 217.008 57.0806L215.243 52.3878C215.085 52.0657 214.698 51.931 214.375 52.0887C214.247 52.1545 214.142 52.2563 214.08 52.3878L212.299 57.0806C211.618 58.8979 210.264 60.3865 208.519 61.241L205.407 62.7526C205.194 62.8545 205.059 63.0681 205.059 63.3047Z",fill:"#C2D5FA"}),Te("path",{d:"M197.153 73.4953L198.88 74.3312C199.808 74.784 200.527 75.5723 200.89 76.5367L201.869 79.142C201.922 79.2818 202.031 79.3936 202.173 79.4467C202.447 79.5529 202.752 79.416 202.858 79.142L203.834 76.5367C204.2 75.5723 204.918 74.7812 205.846 74.3284L207.571 73.4953C207.677 73.4422 207.761 73.3584 207.814 73.2521C207.946 72.9866 207.837 72.6651 207.571 72.5309L205.846 71.6951C204.918 71.2422 204.2 70.4539 203.834 69.4867L202.858 66.8842C202.805 66.7724 202.716 66.6858 202.607 66.6327C202.333 66.4957 202.003 66.6103 201.869 66.8842L200.89 69.4867C200.527 70.4539 199.808 71.2422 198.88 71.6951L197.153 72.5309V72.5337C197.035 72.5868 196.943 72.6791 196.89 72.7965C196.77 73.062 196.887 73.3751 197.153 73.4953Z",fill:"#7BA3F4"})]}),ni("g",{clipPath:"url(#clip1_4199_125295)",children:[Te("path",{d:"M29.4619 139.121C29.4658 139.403 29.3073 139.662 29.0521 139.782L25.3915 141.564C23.3389 142.565 21.7463 144.32 20.9462 146.457L18.8511 151.977C18.7506 152.267 18.4723 152.457 18.1669 152.449C17.8654 152.445 17.5909 152.26 17.4827 151.977L15.4069 146.457C14.6068 144.32 13.0142 142.565 10.9616 141.564L7.30096 139.782C6.94147 139.627 6.77526 139.206 6.92989 138.842C7.00334 138.676 7.13475 138.545 7.30096 138.471L10.9616 136.693C13.0142 135.688 14.6068 133.937 15.4069 131.799L17.4827 126.28C17.6682 125.901 18.1244 125.742 18.5032 125.928C18.6539 126.005 18.7776 126.125 18.8511 126.28L20.9462 131.799C21.7463 133.937 23.3389 135.688 25.3915 136.693L29.0521 138.471C29.3034 138.591 29.4619 138.842 29.4619 139.121Z",fill:"#C2D5FA"}),Te("path",{d:"M38.7626 151.107L36.7306 152.09C35.6389 152.623 34.7939 153.55 34.3664 154.685L33.2156 157.749C33.1531 157.914 33.0249 158.045 32.8572 158.108C32.5349 158.233 32.1765 158.071 32.0516 157.749L30.904 154.685C30.4733 153.55 29.6282 152.62 28.5366 152.087L26.5078 151.107C26.3829 151.045 26.2842 150.946 26.2218 150.821C26.0672 150.509 26.1955 150.131 26.5078 149.973L28.5366 148.99C29.6282 148.457 30.4733 147.53 30.904 146.392L32.0516 143.331C32.1141 143.199 32.2193 143.097 32.3475 143.035C32.6697 142.874 33.0577 143.009 33.2156 143.331L34.3664 146.392C34.7939 147.53 35.6389 148.457 36.7306 148.99L38.7626 149.973V149.976C38.9007 150.039 39.0092 150.147 39.0717 150.285C39.2131 150.598 39.075 150.966 38.7626 151.107Z",fill:"#7BA3F4"})]}),ni("defs",{children:[Te("clipPath",{id:"clip0_4199_125295",children:Te("rect",{width:28.9051,height:28.9051,fill:"white",transform:"matrix(-1 0 0 1 225.006 51.3)"})}),Te("clipPath",{id:"clip1_4199_125295",children:Te("rect",{width:34,height:34,fill:"white",transform:"translate(6 125)"})})]})]});var lk=fue;import{useLocalStorage as qC}from"react-use";import{useLocation as bue}from"react-router-dom";var Kg=class{constructor(e,r,o){this.logsDiscardContextualEngine=(e,r)=>this.contextualEngineLogService.updateLog(e,"rejected",!0,r);this.logsSuccessContextualEngine=(e,r)=>this.contextualEngineLogService.updateLog(e,"applied",!0,r);this.logsSkippedContextualEngine=(e,r)=>this.contextualEngineLogService.createLog("manual",e,!0,r);this.logsFailedContextualEngine=(e,r)=>this.contextualEngineLogService.updateLog(e,"manual",!0,r);this.logsCancelContextualEngine=(e,r)=>this.contextualEngineLogService.createLog("canceled",e,!0,r);this.contextualEngineService=e,this.uploadInputSheetAPI=o,this.contextualEngineLogService=r}async processContextualEngine({data:e,licenseKey:r,columns:o,sessionId:n,abortController:a}){let i="",s="";try{let l=await this.getFilePath(r,a);i=l.file_name,await this.uploadDataToFile(l.signed_url,e,a);let c=await this.contextualEngineService.processContextualEngine(r,{file_name:i,tdm:o,session_id:n},a);s=c.log_id;let u=await this.contextualEngineService.getProcessedData(c.signed_url,a);return{data:u.data,fileName:u.fileName,logId:s}}catch(l){let c=l;throw c?.response?.data?.log_id?c.logId=c.response.data.log_id:c.logId=s,c}}deleteFile(e,r){return this.uploadInputSheetAPI.clearFile(r,e)}logs(e,r,o,n){switch(e){case"failed":return this.logsFailedContextualEngine(o,n);case"skipped":return this.logsSkippedContextualEngine(r,n);case"discard":return this.logsDiscardContextualEngine(o,n);case"cancel":return this.logsCancelContextualEngine(r,n);default:return this.logsSuccessContextualEngine(o,n)}}async getFilePath(e,r){return this.uploadInputSheetAPI.createFile(e,r)}async uploadDataToFile(e,r,o){return this.uploadInputSheetAPI.uploadData(e,r,o)}};var Yg=class extends Ki{async createLog(e,r,o,n){let a={apikey:this.sendApiKey?Wt:void 0,Authorization:n};return this.post("/log/contextual-engine",{usage:e,session_id:r,import_completed:o},{headers:a})}async updateLog(e,r,o,n){if(!e)return Promise.resolve();let a={apikey:this.sendApiKey?Wt:void 0,Authorization:n};return this.put(`/log/contextual-engine/${e}`,{usage:r,import_completed:o},{headers:a})}};var zC=class extends Ki{async processContextualEngine(e,r,o){let n={apikey:this.sendApiKey?Wt:void 0,"x-license-key":e};return this.post("/contextual-engine",{file_name:r.file_name,tdm:r.tdm,session_id:r.session_id},{headers:n,signal:o.signal})}async getProcessedData(e,r){return{data:await this.get(e,{},{signal:r.signal}),fileName:e}}},ck=zC;import{jsx as dk}from"react/jsx-runtime";var Mn=()=>{let t=ee(),{sessionId:e}=br(),{licenseKey:r}=ft(),{t:o}=vue(),n=Gt(),{showConfirmModal:a,setOpenModal:i}=tt(),[s,l]=qC("ce-file-name",""),{getHasJoinColumnPage:c}=Sn(),u=B(),d=Zg(new AbortController),[p,f]=gue(!1),h=Zg(),v=Zg(!1),b=Zg(!1),{baseServiceUrl:y,isSelfHosted:w,baseUrl:x}=ee(),C=uk(()=>new Kg(new ck({sendApiKey:!w},{baseURL:y}),new Yg({sendApiKey:!w},{baseURL:x}),new Vh({sendApiKey:!w},{baseURL:x})),[w,y,x]),[S,_]=qC("contextual-engine-status"),[I,M]=qC("contextual-engine-id",""),{state:E}=bue(),k=E,T=uk(()=>c(k?.spreadSheetNavigate?.getSpreadSheetList?.()),[c,k?.spreadSheetNavigate]),R=({sheetData:q,columns:oe,dataModels:ge,onStartProcess:de,onFinishProcess:J,onFailProcess:ue,goToNextPage:X})=>{a({title:o("txt_use_contextual_engine"),description:`<div>
|
|
349
|
+
`),children:t?ss("h1",{children:t}):null}),s?ss(rk,{}):e?ss("div",{className:g("text-color-secondary mt-2 text-left text-sm font-normal",m({"&&":p.description})),children:ss("h2",{children:e})}):ss("div",{})]}),o]})})},In=aue;import{FormProvider as sue}from"react-hook-form";import{createContext as lue}from"react";import{jsx as ml,jsxs as ik}from"react/jsx-runtime";var Zy=lue({}),cue=({dataModelSheetMatching:t,dataModelSheetMatcher:e,isShowFieldRequired:r,setShowFieldRequired:o,setDataModelSheetMatcher:n,autoMatchingChecksum:a,matchingByAutoMatch:i,initialDataModelSheetMatching:s})=>{let{t:l}=iue(),{onBackClick:c,onSubmit:u,isModalClose:d,form:p,handleSubmitForm:f,values:h}=kT({setShowFieldRequired:o,dataModelSheetMatching:t,dataModelSheetMatcher:e,autoMatchingChecksum:a,matchingByAutoMatch:i,initialDataModelSheetMatching:s}),{isCollapse:v,isShow:b,setIsCollapse:y,setIsShow:w}=Q9(),{modal:x}=Pe(),S=B().getColumnMatchTheme().pageHeader;return ml(Zy.Provider,{value:{dataModelSheetMatcherModel:e,dataModelSheetMatching:t,setDataModelSheetMatcher:n,isShowFieldRequired:r,initialDataModelSheetMatching:s},children:ml(sue,{...p,children:ik("form",{onSubmit:f(u),className:"flex flex-grow flex-col justify-start",children:[l("txt_match_column")?.length>0||l("txt_match_column_description")?.length>0?ml("div",{className:x?"-mt-3":"-mt-3 ml-6",children:ml(In,{title:l("txt_match_column"),description:l("txt_match_column_description"),wrapperClassName:x?"":"!px-0",headerTheme:S})}):null,ik(Gy.Provider,{value:{isCollapse:v,isShow:b},children:[ml("div",{className:g("large:pb-10 match-column-page w-full pb-24",x?"px-0":"px-6"),children:ml(MT,{})}),ml(JT,{values:h,isModalClose:d,onBackClick:c,isShowFieldRequired:r,onIsAvailableCollapseChange:y,onIsShowChange:w,onSubmitClick:f(u)})]})]})})})},sk=cue;import{useEffect as GC,useMemo as yue,useRef as Cue,useState as ai}from"react";import{useLocation as xue}from"react-router-dom";var fl=class t{static{this.checkIsDataModelOptionNotCustomCreate=(e,r)=>r?.getType()==="single-select"?!!r.getOptions().filter(a=>!a.creator).some(a=>a.value===e):!0}static{this.mergeDataModelSheetMatch=(e,r)=>{let o=[...e];for(let n=0;n<r.length;++n){let a=r[n],i=o.findIndex(s=>s.sheetColumnKey===a.sheetColumnKey&&s.matchedDataModel?.dataModelKey===a.matchedDataModel?.dataModelKey);if(i>=0&&a.matchedDataModel?.matchedOptions){let s=o[i].matchedDataModel;if(!s)continue;let l=a.matchedDataModel?.matchedOptions??[],c=[...s.matchedOptions??[]];for(let u=0;u<l.length;++u){let d=l[u];c.every(p=>p.sheetOption!==d.sheetOption)&&c.push(d)}o[i].matchedDataModel={dataModelKey:s.dataModelKey,matchedOptions:c}}}return o}}static{this.serializeDataModelSheetMatch=e=>e.map(r=>({sheetColumnKey:r.sheetColumn.getColumnKey(),matchedDataModel:r.matchedDataModel&&!r.matchedDataModel.dataModel?.getCreator()?{dataModelKey:r.matchedDataModel.dataModel?.getKey(),matchedOptions:r.matchedDataModel?.matchedOptions?.map(o=>({dataModelOption:this.checkIsDataModelOptionNotCustomCreate(o.dataModelOption,r.matchedDataModel.dataModel)?o.dataModelOption:void 0,dataModelOptions:o.dataModelOptions?o.dataModelOptions.filter(n=>this.checkIsDataModelOptionNotCustomCreate(n,r.matchedDataModel.dataModel)):void 0,sheetOption:o.sheetOption}))}:void 0}))}static{this.serializeForAutoMatching=e=>{let r=e.getMatching();return t.serializeDataModelSheetMatch(r)}}static{this.deSerializeForAutoMatching=(e,r,o)=>{let n=e.map(c=>{let u={...c},d=[];for(let h=0;h<(u.matchedDataModel?.matchedOptions?.length??0);++h)u.matchedDataModel?.matchedOptions?.[h]&&d.push(u.matchedDataModel?.matchedOptions?.[h].sheetOption);let p=F9(r,u.sheetColumnKey,d);if(!p)throw new Error("sheetColumn not found: "+u.sheetColumnKey);let f=null;if(u.matchedDataModel&&(f=ya(o,u.matchedDataModel.dataModelKey,!0),!f&&u.matchedDataModel.dataModelKey))throw new Error("data model not found: "+u.matchedDataModel.dataModelKey);if(u.matchedDataModel?.matchedOptions){let h=u.matchedDataModel?.matchedOptions,v=[];p.getUniqueRows().forEach(y=>{let w=h.find(x=>Zh(x.sheetOption,y));w?v.push(w):v.push({sheetOption:y})}),u.matchedDataModel={dataModelKey:u.matchedDataModel.dataModelKey,matchedOptions:v}}return{sheetColumn:p,matchedDataModel:u.matchedDataModel?{dataModel:f,matchedOptions:u.matchedDataModel.matchedOptions}:void 0}}),a=new vn({calculateSimilarityResult:{result:[]},sheets:r,dataModels:o,options:{isAutoMapping:!0}}),i=a.getSheetColumnDataModelSimilarityList(),s=a.getSheetColumnDataModelOptionSimilarityList();return new dl({dataModels:o,dataModelSheetMatch:n,sheetColumnDataModelSimilarityList:i,sheetColumnDataModelOptionSimilarityList:s,sheets:r})}}};import{chunk as due,isNil as pue}from"lodash";var BC=class t{constructor(e,r,o){this.handleGetSaveAutoMatching=(e,r)=>{if(r)try{return{dataModelSheetMatch:fl.deSerializeForAutoMatching(r,e,this.dataModels),autoMatchingChecksum:t.generateAutoMatchingChecksum(r),matchingByAutoMatch:r??[]}}catch{throw new Error("not found matching in localStorage")}else throw new Error("not found matching in localStorage")};this.generateOrderSerializeDataModels=e=>[...e].sort((o,n)=>wa(o.getKey())<wa(n.getKey())?-1:wa(o.getKey())>wa(n.getKey())?1:0);this.generateIdentifier=(e,r)=>{let n=this.generateOrderSerializeDataModels(r).map(i=>{let s=(i.isCategoryType()?i.getOptions():i.getType()==="boolean"?mr.getInstance().getOptionsForMatchColumn():[])?.map(l=>`${l.value??""}`?.trim()?.toLowerCase());return{key:i.getKey(),options:s,isMultiSelect:i.getIsMultiSelection()}}),a=[];return e.forEach(i=>{i.getSortedColumns().forEach(s=>{a.push(s.getColumnKey()?.trim()?.toLowerCase())})}),{source:a.join(","),tdm:n}};this.saveAutoMatchingSerializeValue=(e,r,o)=>{let n=this.generateIdentifier(e,this.dataModels);return this.autoMatchingLocalStorage.save(n,o,r).finally(()=>this.autoMatchingAPI.save(n,o,r)).catch(()=>{})};this.saveAutoOptionChunk=async(e,r)=>new Promise((o,n)=>{let a=due(r,50);for(let i=0;i<a.length;i++){let s=a[i];this.autoMatchingAPI.saveOption(e,s).catch(l=>{n(l)})}o(!0)});this.getAndSaveAutoMatching=async(e,r)=>{let o=this.generateIdentifier(e,this.dataModels);try{let n=await this.autoMatchingLocalStorage.getAutoMatch(o,r,this.dataModels);return this.handleGetSaveAutoMatching(e,n)}catch{try{let n=await this.autoMatchingAPI.getAutoMatch(o,r,this.dataModels);if(n)try{await this.autoMatchingLocalStorage.save(o,n,r)}catch{}return this.handleGetSaveAutoMatching(e,n)}catch{return}}};this.saveAutoMatching=(e,r,o)=>this.saveAutoMatchingSerializeValue(r.getSheets(),o,e);this.saveAutoOptionMapping=(e,r)=>{let o=[];for(let n=0;n<r?.getMatching()?.length;n++){let i=r?.getMatching()[n]?.matchedDataModel,s=i?.dataModel?.getOptionMappingConfiguration();if((i?.dataModel?.getType()==="boolean"||i?.dataModel?.getType()==="single-select"||i?.dataModel?.getType()==="multiple-select"||i?.dataModel?.getType()==="currency_code"||i?.dataModel?.getType()==="country_code_alpha_2"||i?.dataModel?.getType()==="country_code_alpha_3")&&s?.processingMode==="node"&&s?.layers.includes("historic")){let l=i?.dataModel?.isCategoryType()?(i?.dataModel).getOptions():i?.dataModel?.getType()==="boolean"?mr.getInstance().getOptionsForMatchColumn():[];for(let c=0;c<(i?.matchedOptions?.length??0);c++){let u=i?.matchedOptions?.[c]?.sheetOption||"";if(i?.dataModel?.getIsMultiSelection()){let d=i?.matchedOptions?.[c].dataModelOptions?.map(f=>l.find(h=>h.value===f)?.label).filter(f=>!pue(f)),p={source:`${u}`,target:d??[]};o.push(p)}else{let d=i?.matchedOptions?.[c]?.dataModelOption,p=l.find(f=>f.value===d)?.label;d!==void 0&&o.push({source:`${u}`,target:`${p??""}`})}}}}return o.length>0?this.saveAutoOptionChunk(e,o).catch(()=>{}):Promise.resolve()};this.autoMatchingAPI=r,this.autoMatchingLocalStorage=e,this.dataModels=o}static{this.generateAutoMatchingChecksum=e=>JSON.stringify(e)}},em=BC;var UC=class extends Br{constructor(){super(...arguments);this.handleGetAutoMatch=(r,o)=>r.map(a=>({sheetColumnKey:a.sourceColumns[0],matchedDataModel:a.targetColumn?{dataModelKey:a.targetColumn.key,matchedOptions:a.targetColumn.options?a.targetColumn.options.map(i=>o.find(l=>l.getKey()===a.targetColumn?.key)?.getIsMultiSelection()?{sheetOption:i.sourceOption,dataModelOptions:i.targetOption}:{sheetOption:i.sourceOption,dataModelOption:i.targetOption?.[0]}):void 0}:void 0}));this.parseToAutoMappingValues=r=>r.map(o=>({sourceColumns:o.sheetColumnKey?[o.sheetColumnKey]:[],targetColumn:o.matchedDataModel?{key:o.matchedDataModel.dataModelKey??"",options:o.matchedDataModel.matchedOptions?o.matchedDataModel.matchedOptions.map(n=>{let a=[];if(n.dataModelOption)a.push(n.dataModelOption);else if(n.dataModelOptions)for(let i=0;i<n.dataModelOptions.length;++i){let s=n.dataModelOptions[i];a.push(s)}return{sourceOption:n.sheetOption,targetOption:a}}).filter(n=>n.targetOption.length>0):void 0}:void 0}))}},zg=UC;import{isEqual as mue}from"lodash";var jC=class extends zg{constructor(){super({sendApiKey:!1});this.localStorageKey="auto-matching";this.getHash=async r=>{let n=new TextEncoder().encode(r),a=await crypto.subtle.digest("SHA-256",n);return Array.from(new Uint8Array(a)).map(s=>s.toString(16).padStart(2,"0")).join("")};this.save=(r,o,n)=>new Promise(async a=>{try{let i=await this.getHash(n);localStorage.setItem(`${this.localStorageKey}`,JSON.stringify({identifier:r,mappings:this.parseToAutoMappingValues(o),a:i}))}catch{}a()});this.saveOption=async(r,o)=>Promise.resolve();this.getAutoMatch=async(r,o,n)=>{try{let a=JSON.parse(localStorage.getItem(`${this.localStorageKey}`)??""),i=await this.getHash(o);return a.a===i&&mue(a.identifier,r)?this.handleGetAutoMatch(a.mappings,n):Promise.reject()}catch(a){return Promise.reject(a)}}}},qg=jC;var WC=class extends zg{constructor(){super(...arguments);this.getHeaders=r=>({apikey:this.sendApiKey?Wt:void 0,Authorization:r,originRequest:Ce.getInstance().getOrigin()});this.save=async(r,o,n)=>this.post("/auto-mapping",{source:r.source,tdm:r.tdm,mappings:this.parseToAutoMappingValues(o)},{headers:this.getHeaders(n)});this.saveOption=async(r,o)=>this.put("/mapping/option-data",o,{headers:{...this.getHeaders(r)}});this.getAutoMatch=async(r,o,n)=>{if(r.tdm.length<=0)return Promise.reject();let a=await this.post("/auto-mapping/result",r,{headers:this.getHeaders(o)});try{return a.data.mappings.length===0?Promise.reject():this.handleGetAutoMatch(a.data.mappings,n)}catch(i){return Promise.reject(i)}}}},Gg=WC;import{useEffect as hue,useMemo as uk,useRef as Zg,useState as gue}from"react";import{useTranslation as vue}from"react-i18next";import{jsx as Te,jsxs as ni}from"react/jsx-runtime";var fue=({title:t,titleId:e,...r})=>ni("svg",{width:232,height:180,viewBox:"0 0 232 180",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":e,...r,children:[t?Te("title",{id:e,children:t}):null,Te("rect",{x:25.363,y:23.1886,width:177.157,height:124.731,rx:3.80404,fill:"white",stroke:"#B1C3E1",strokeWidth:.391917}),Te("path",{d:"M25.166 26.9927C25.166 24.7835 26.9569 22.9927 29.166 22.9927H198.715C200.924 22.9927 202.715 24.7835 202.715 26.9927V38.6694H25.166V26.9927Z",fill:"#162338"}),ni("g",{opacity:.25,children:[Te("rect",{x:32.2354,y:29.3408,width:3.45428,height:3.45428,rx:1.72714,fill:"white"}),Te("rect",{x:38.4531,y:29.3408,width:3.45428,height:3.45428,rx:1.72714,fill:"white"}),Te("rect",{x:44.6709,y:29.3408,width:3.45428,height:3.45428,rx:1.72714,fill:"white"})]}),ni("g",{opacity:.8,children:[Te("rect",{x:32.4081,y:47.5345,width:163.065,height:16.2395,rx:2.59071,fill:"white",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M32.4081 50.1252C32.4081 48.6944 33.568 47.5345 34.9988 47.5345H50.5724V63.774H34.9988C33.568 63.774 32.4081 62.6141 32.4081 61.1833V50.1252Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M50.6122 47.5345H126.294C127.724 47.5345 128.884 48.6944 128.884 50.1252V61.1833C128.884 62.6141 127.724 63.774 126.294 63.774H50.6122V47.5345Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M88.2684 52.2278C88.2684 50.797 89.4283 49.6371 90.8591 49.6371H123.988C125.419 49.6371 126.579 50.797 126.579 52.2278V59.0798C126.579 60.5106 125.419 61.6705 123.988 61.6705H90.8591C89.4283 61.6705 88.2684 60.5106 88.2684 59.0798V52.2278Z",fill:"white",stroke:"#D0DBED",strokeWidth:.345428})]}),ni("g",{opacity:.8,children:[Te("rect",{x:32.4081,y:72.0804,width:163.065,height:16.2395,rx:2.59071,fill:"white",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M32.4081 74.6711C32.4081 73.2403 33.568 72.0804 34.9988 72.0804H50.5724V88.3199H34.9988C33.568 88.3199 32.4081 87.16 32.4081 85.7292V74.6711Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M50.6122 72.0804H126.294C127.724 72.0804 128.884 73.2403 128.884 74.6711V85.7292C128.884 87.16 127.724 88.3199 126.294 88.3199H50.6122V72.0804Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M88.2684 76.7737C88.2684 75.3429 89.4283 74.183 90.8591 74.183H123.988C125.419 74.183 126.579 75.3429 126.579 76.7737V83.6257C126.579 85.0565 125.419 86.2164 123.988 86.2164H90.8591C89.4283 86.2164 88.2684 85.0565 88.2684 83.6257V76.7737Z",fill:"white",stroke:"#D0DBED",strokeWidth:.345428})]}),ni("g",{opacity:.8,children:[Te("rect",{x:32.4081,y:96.6263,width:163.065,height:16.2395,rx:2.59071,fill:"white",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M32.4081 99.217C32.4081 97.7862 33.568 96.6263 34.9988 96.6263H50.5724V112.866H34.9988C33.568 112.866 32.4081 111.706 32.4081 110.275V99.217Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M50.6122 96.6263H126.294C127.724 96.6263 128.884 97.7862 128.884 99.217V110.275C128.884 111.706 127.724 112.866 126.294 112.866H50.6122V96.6263Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M88.2684 101.32C88.2684 99.889 89.4283 98.7291 90.8591 98.7291H123.988C125.419 98.7291 126.579 99.889 126.579 101.32V108.172C126.579 109.603 125.419 110.763 123.988 110.763H90.8591C89.4283 110.763 88.2684 109.603 88.2684 108.172V101.32Z",fill:"white",stroke:"#D0DBED",strokeWidth:.345428})]}),ni("g",{opacity:.8,children:[Te("rect",{x:32.4081,y:121.173,width:163.065,height:16.2395,rx:2.59071,fill:"white",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M32.4081 123.764C32.4081 122.333 33.568 121.173 34.9988 121.173H50.5724V137.413H34.9988C33.568 137.413 32.4081 136.253 32.4081 134.822V123.764Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M50.6122 121.173H126.294C127.724 121.173 128.884 122.333 128.884 123.764V134.822C128.884 136.253 127.724 137.413 126.294 137.413H50.6122V121.173Z",fill:"#F5F8FE",stroke:"#D0DBED",strokeWidth:.345428}),Te("path",{d:"M88.2684 125.867C88.2684 124.436 89.4283 123.276 90.8591 123.276H123.988C125.419 123.276 126.579 124.436 126.579 125.867V132.719C126.579 134.15 125.419 135.309 123.988 135.309H90.8591C89.4283 135.309 88.2684 134.15 88.2684 132.719V125.867Z",fill:"white",stroke:"#D0DBED",strokeWidth:.345428})]}),Te("rect",{x:12.2051,y:56,width:135.053,height:19.344,rx:3.11368,fill:"white"}),Te("rect",{x:12.2051,y:56,width:135.053,height:19.344,rx:3.11368,stroke:"#D0DBED",strokeWidth:.5}),Te("rect",{x:18.4229,y:62.5583,width:29.1336,height:6.22735,rx:1.55684,fill:"#D0DBED"}),Te("path",{d:"M56.5652 65.4705L54.9532 63.8298C54.8381 63.7146 54.6654 63.7146 54.5502 63.8298C54.4351 63.9449 54.4351 64.1176 54.5502 64.2328L55.9607 65.6433L54.5502 67.0538C54.4927 67.1113 54.4639 67.1689 54.4639 67.2553C54.4639 67.428 54.579 67.5431 54.7517 67.5431C54.8381 67.5431 54.8957 67.5143 54.9532 67.4568L56.594 65.816C56.6804 65.7584 56.6804 65.5857 56.5652 65.4705Z",fill:"#8D8D8D"}),Te("rect",{x:63.748,y:59.3032,width:60.4164,height:12.7377,rx:1.70504,fill:"#F5F8FE"}),Te("rect",{x:63.748,y:59.3032,width:60.4164,height:12.7377,rx:1.70504,stroke:"#B1C3E1",strokeWidth:.378897}),Te("rect",{x:66.5898,y:62.5583,width:38.9209,height:6.22735,rx:1.55684,fill:"#D0DBED"}),Te("path",{d:"M118.07 66.6795L119.711 65.0675C119.826 64.9523 119.826 64.7796 119.711 64.6645C119.595 64.5493 119.423 64.5493 119.308 64.6645L117.897 66.075L116.487 64.6645C116.429 64.6069 116.371 64.5781 116.285 64.5781C116.112 64.5781 115.997 64.6933 115.997 64.866C115.997 64.9523 116.026 65.0099 116.084 65.0675L117.724 66.7083C117.782 66.7946 117.955 66.7946 118.07 66.6795Z",fill:"#8D8D8D"}),Te("rect",{x:130.607,y:59.7563,width:11.8309,height:11.8309,rx:5.91543,fill:"white"}),Te("path",{d:"M136.524 59.1853C133.03 59.1853 130.172 62.1044 130.172 65.6721C130.172 69.2399 133.03 72.159 136.524 72.159C140.017 72.159 142.875 69.2399 142.875 65.6721C142.875 62.1044 140.017 59.1853 136.524 59.1853ZM139.191 64.5694L136.142 67.683C135.888 67.9425 135.507 67.9425 135.253 67.683L133.856 66.2559C133.602 65.9965 133.602 65.6073 133.856 65.3478C134.11 65.0883 134.491 65.0883 134.745 65.3478L135.698 66.3208L138.302 63.6612C138.556 63.4017 138.937 63.4017 139.191 63.6612C139.445 63.9207 139.445 64.3099 139.191 64.5694Z",fill:"#10B981"}),Te("rect",{x:12.2051,y:79.489,width:135.053,height:19.344,rx:3.11368,fill:"white"}),Te("rect",{x:12.2051,y:79.489,width:135.053,height:19.344,rx:3.11368,stroke:"#D0DBED",strokeWidth:.5}),Te("rect",{x:18.4229,y:86.0474,width:29.1336,height:6.22735,rx:1.55684,fill:"#D0DBED"}),Te("path",{d:"M56.5652 88.9596L54.9532 87.3188C54.8381 87.2036 54.6654 87.2036 54.5502 87.3188C54.4351 87.4339 54.4351 87.6066 54.5502 87.7218L55.9607 89.1323L54.5502 90.5428C54.4927 90.6003 54.4639 90.6579 54.4639 90.7443C54.4639 90.917 54.579 91.0321 54.7517 91.0321C54.8381 91.0321 54.8957 91.0033 54.9532 90.9458L56.594 89.305C56.6804 89.2474 56.6804 89.0747 56.5652 88.9596Z",fill:"#8D8D8D"}),Te("rect",{x:63.748,y:82.7922,width:60.4164,height:12.7377,rx:1.70504,fill:"#F5F8FE"}),Te("rect",{x:63.748,y:82.7922,width:60.4164,height:12.7377,rx:1.70504,stroke:"#B1C3E1",strokeWidth:.378897}),Te("rect",{x:66.5898,y:86.0474,width:38.9209,height:6.22735,rx:1.55684,fill:"#D0DBED"}),Te("path",{d:"M118.07 90.1685L119.711 88.5565C119.826 88.4414 119.826 88.2686 119.711 88.1535C119.595 88.0384 119.423 88.0384 119.308 88.1535L117.897 89.564L116.487 88.1535C116.429 88.0959 116.371 88.0671 116.285 88.0671C116.112 88.0671 115.997 88.1823 115.997 88.355C115.997 88.4414 116.026 88.4989 116.084 88.5565L117.724 90.1973C117.782 90.2836 117.955 90.2836 118.07 90.1685Z",fill:"#8D8D8D"}),Te("rect",{x:130.607,y:83.2456,width:11.8309,height:11.8309,rx:5.91543,fill:"white"}),Te("path",{d:"M136.524 82.6743C133.03 82.6743 130.172 85.5934 130.172 89.1611C130.172 92.7289 133.03 95.648 136.524 95.648C140.017 95.648 142.875 92.7289 142.875 89.1611C142.875 85.5934 140.017 82.6743 136.524 82.6743ZM139.191 88.0584L136.142 91.1721C135.888 91.4315 135.507 91.4315 135.253 91.1721L133.856 89.745C133.602 89.4855 133.602 89.0963 133.856 88.8368C134.11 88.5773 134.491 88.5773 134.745 88.8368L135.698 89.8098L138.302 87.1502C138.556 86.8908 138.937 86.8908 139.191 87.1502C139.445 87.4097 139.445 87.7989 139.191 88.0584Z",fill:"#10B981"}),Te("circle",{cx:194.321,cy:132.96,r:34.525,fill:"#C2D5FA",stroke:"#F5F8FE",strokeWidth:4.09185}),Te("path",{d:"M219.193 133.021C219.19 137.934 217.731 142.736 215 146.819C212.269 150.903 208.389 154.085 203.849 155.964C199.31 157.843 194.316 158.333 189.498 157.374C184.679 156.415 180.254 154.049 176.78 150.575C173.306 147.102 170.94 142.676 169.981 137.858C169.022 133.04 169.513 128.045 171.391 123.506C173.27 118.967 176.452 115.086 180.536 112.355C184.62 109.624 189.421 108.165 194.334 108.162C200.927 108.162 207.25 110.781 211.912 115.443C216.574 120.105 219.193 126.428 219.193 133.021Z",fill:"#3573EF"}),Te("path",{d:"M194.334 153.557C205.675 153.557 214.87 144.363 214.87 133.021C214.87 121.68 205.675 112.485 194.334 112.485C182.992 112.485 173.798 121.68 173.798 133.021C173.798 144.363 182.992 153.557 194.334 153.557Z",fill:"#F5F8FE"}),Te("path",{d:"M198.657 133.021C198.659 133.976 198.346 134.905 197.766 135.664C197.186 136.422 196.372 136.968 195.45 137.217C194.529 137.465 193.55 137.402 192.668 137.038C191.785 136.673 191.048 136.028 190.57 135.201C190.092 134.374 189.901 133.413 190.025 132.466C190.15 131.52 190.584 130.641 191.259 129.966C191.935 129.291 192.814 128.858 193.761 128.734C194.708 128.611 195.669 128.803 196.495 129.282C197.153 129.659 197.7 130.204 198.079 130.86C198.459 131.517 198.658 132.263 198.657 133.021Z",fill:"#3573EF"}),Te("path",{d:"M194.333 134.643C195.229 134.643 195.954 133.917 195.954 133.021C195.954 132.126 195.229 131.4 194.333 131.4C193.438 131.4 192.712 132.126 192.712 133.021C192.712 133.917 193.438 134.643 194.333 134.643Z",fill:"#F5F8FE"}),Te("path",{d:"M196.495 118.97V129.281C195.839 128.899 195.093 128.698 194.334 128.698C193.574 128.698 192.828 128.899 192.172 129.281V118.97C192.176 118.398 192.405 117.851 192.81 117.446C193.214 117.042 193.762 116.813 194.334 116.809C194.906 116.81 195.455 117.039 195.86 117.444C196.265 117.849 196.494 118.397 196.495 118.97Z",fill:"#0C3C9B"}),Te("path",{d:"M203.693 138.425C203.553 138.673 203.363 138.89 203.137 139.062C202.91 139.235 202.651 139.36 202.375 139.43C202.102 139.507 201.817 139.528 201.537 139.491C201.256 139.453 200.986 139.359 200.743 139.214L196.495 136.761C197.153 136.383 197.7 135.839 198.079 135.182C198.459 134.525 198.658 133.78 198.657 133.021L202.904 135.474C203.399 135.763 203.759 136.235 203.907 136.787C204.055 137.34 203.978 137.929 203.693 138.425Z",fill:"#0C3C9B"}),Te("path",{d:"M178.661 134.642C179.557 134.642 180.283 133.917 180.283 133.021C180.283 132.126 179.557 131.4 178.661 131.4C177.766 131.4 177.04 132.126 177.04 133.021C177.04 133.917 177.766 134.642 178.661 134.642Z",fill:"#0C3C9B"}),Te("path",{d:"M210.006 134.642C210.901 134.642 211.627 133.917 211.627 133.021C211.627 132.126 210.901 131.4 210.006 131.4C209.111 131.4 208.385 132.126 208.385 133.021C208.385 133.917 209.111 134.642 210.006 134.642Z",fill:"#0C3C9B"}),Te("path",{d:"M180.762 142.479C181.657 142.479 182.383 141.753 182.383 140.857C182.383 139.962 181.657 139.236 180.762 139.236C179.866 139.236 179.141 139.962 179.141 140.857C179.141 141.753 179.866 142.479 180.762 142.479Z",fill:"#0C3C9B"}),Te("path",{d:"M207.905 126.806C208.801 126.806 209.527 126.081 209.527 125.185C209.527 124.29 208.801 123.564 207.905 123.564C207.01 123.564 206.284 124.29 206.284 125.185C206.284 126.081 207.01 126.806 207.905 126.806Z",fill:"#0C3C9B"}),Te("path",{d:"M186.497 148.214C187.393 148.214 188.118 147.489 188.118 146.593C188.118 145.698 187.393 144.972 186.497 144.972C185.602 144.972 184.876 145.698 184.876 146.593C184.876 147.489 185.602 148.214 186.497 148.214Z",fill:"#0C3C9B"}),Te("path",{d:"M202.169 121.07C203.064 121.07 203.79 120.345 203.79 119.449C203.79 118.554 203.064 117.828 202.169 117.828C201.274 117.828 200.548 118.554 200.548 119.449C200.548 120.345 201.274 121.07 202.169 121.07Z",fill:"#0C3C9B"}),Te("path",{d:"M194.333 150.315C195.229 150.315 195.954 149.589 195.954 148.693C195.954 147.798 195.229 147.072 194.333 147.072C193.438 147.072 192.712 147.798 192.712 148.693C192.712 149.589 193.438 150.315 194.333 150.315Z",fill:"#0C3C9B"}),Te("path",{d:"M202.169 148.214C203.064 148.214 203.79 147.489 203.79 146.593C203.79 145.698 203.064 144.972 202.169 144.972C201.274 144.972 200.548 145.698 200.548 146.593C200.548 147.489 201.274 148.214 202.169 148.214Z",fill:"#0C3C9B"}),Te("path",{d:"M186.497 121.07C187.393 121.07 188.118 120.345 188.118 119.449C188.118 118.554 187.393 117.828 186.497 117.828C185.602 117.828 184.876 118.554 184.876 119.449C184.876 120.345 185.602 121.07 186.497 121.07Z",fill:"#0C3C9B"}),Te("path",{d:"M207.905 142.479C208.801 142.479 209.527 141.753 209.527 140.857C209.527 139.962 208.801 139.236 207.905 139.236C207.01 139.236 206.284 139.962 206.284 140.857C206.284 141.753 207.01 142.479 207.905 142.479Z",fill:"#0C3C9B"}),Te("path",{d:"M180.762 126.806C181.657 126.806 182.383 126.081 182.383 125.185C182.383 124.29 181.657 123.564 180.762 123.564C179.866 123.564 179.141 124.29 179.141 125.185C179.141 126.081 179.866 126.806 180.762 126.806Z",fill:"#0C3C9B"}),Te("path",{d:"M178.878 152.476H159.747C159.463 152.478 159.182 152.422 158.92 152.312C158.658 152.203 158.421 152.042 158.223 151.838C157.998 151.616 157.824 151.347 157.716 151.05C157.608 150.753 157.567 150.435 157.596 150.12C157.664 149.57 157.934 149.064 158.353 148.701C158.772 148.337 159.311 148.142 159.866 148.153H166.232C166.805 148.151 167.353 147.923 167.758 147.518C168.163 147.113 168.392 146.564 168.393 145.991C168.389 145.419 168.16 144.872 167.756 144.467C167.351 144.063 166.804 143.834 166.232 143.83H162.989C162.705 143.831 162.424 143.775 162.162 143.666C161.901 143.556 161.664 143.395 161.465 143.192C161.24 142.97 161.067 142.7 160.959 142.403C160.85 142.106 160.809 141.788 160.838 141.473C160.907 140.923 161.176 140.417 161.596 140.054C162.015 139.691 162.554 139.496 163.108 139.506H164.07C164.643 139.504 165.192 139.276 165.597 138.871C166.002 138.466 166.23 137.917 166.232 137.345C166.228 136.773 165.998 136.225 165.594 135.821C165.19 135.416 164.642 135.187 164.07 135.183H154.343C154.059 135.184 153.778 135.129 153.516 135.019C153.254 134.91 153.017 134.748 152.819 134.545C152.455 134.193 152.232 133.72 152.192 133.216V133.129C152.181 133.061 152.181 132.992 152.192 132.924C152.21 132.385 152.434 131.875 152.819 131.497C153.017 131.294 153.254 131.133 153.516 131.023C153.778 130.914 154.059 130.858 154.343 130.86H164.07C164.643 130.858 165.192 130.63 165.597 130.224C166.002 129.819 166.23 129.271 166.232 128.698C166.228 128.126 165.998 127.578 165.594 127.174C165.19 126.77 164.642 126.54 164.07 126.536H163.108C162.764 126.537 162.424 126.462 162.112 126.316C161.799 126.171 161.523 125.958 161.303 125.693C161.04 125.373 160.879 124.982 160.838 124.569C160.838 124.504 160.828 124.439 160.828 124.385C160.829 123.811 161.057 123.261 161.461 122.854C161.866 122.447 162.415 122.217 162.989 122.213H166.232C166.805 122.211 167.353 121.983 167.758 121.578C168.163 121.173 168.392 120.624 168.393 120.051C168.389 119.479 168.16 118.932 167.756 118.527C167.351 118.123 166.804 117.894 166.232 117.889H159.866C159.521 117.89 159.181 117.815 158.869 117.67C158.557 117.524 158.281 117.311 158.061 117.046C157.798 116.726 157.636 116.335 157.596 115.922C157.596 115.858 157.585 115.793 157.585 115.739C157.586 115.165 157.814 114.614 158.219 114.208C158.624 113.801 159.173 113.57 159.747 113.566H178.878C175.946 115.891 173.577 118.848 171.949 122.217C170.32 125.586 169.475 129.279 169.475 133.021C169.475 136.763 170.32 140.456 171.949 143.825C173.577 147.194 175.946 150.152 178.878 152.476Z",fill:"#1152D5"}),ni("g",{clipPath:"url(#clip0_4199_125295)",children:[Te("path",{d:"M205.059 63.3047C205.056 63.5446 205.19 63.7648 205.407 63.8667L208.519 65.3816C210.264 66.2328 211.618 67.7248 212.299 69.542L214.08 74.2348C214.165 74.4813 214.402 74.6423 214.661 74.6357C214.918 74.6325 215.151 74.4747 215.243 74.2348L217.008 69.542C217.688 67.7248 219.042 66.2328 220.787 65.3816L223.899 63.8667C224.205 63.7352 224.346 63.377 224.215 63.0681C224.152 62.9268 224.04 62.8151 223.899 62.7526L220.787 61.241C219.042 60.3865 217.688 58.8979 217.008 57.0806L215.243 52.3878C215.085 52.0657 214.698 51.931 214.375 52.0887C214.247 52.1545 214.142 52.2563 214.08 52.3878L212.299 57.0806C211.618 58.8979 210.264 60.3865 208.519 61.241L205.407 62.7526C205.194 62.8545 205.059 63.0681 205.059 63.3047Z",fill:"#C2D5FA"}),Te("path",{d:"M197.153 73.4953L198.88 74.3312C199.808 74.784 200.527 75.5723 200.89 76.5367L201.869 79.142C201.922 79.2818 202.031 79.3936 202.173 79.4467C202.447 79.5529 202.752 79.416 202.858 79.142L203.834 76.5367C204.2 75.5723 204.918 74.7812 205.846 74.3284L207.571 73.4953C207.677 73.4422 207.761 73.3584 207.814 73.2521C207.946 72.9866 207.837 72.6651 207.571 72.5309L205.846 71.6951C204.918 71.2422 204.2 70.4539 203.834 69.4867L202.858 66.8842C202.805 66.7724 202.716 66.6858 202.607 66.6327C202.333 66.4957 202.003 66.6103 201.869 66.8842L200.89 69.4867C200.527 70.4539 199.808 71.2422 198.88 71.6951L197.153 72.5309V72.5337C197.035 72.5868 196.943 72.6791 196.89 72.7965C196.77 73.062 196.887 73.3751 197.153 73.4953Z",fill:"#7BA3F4"})]}),ni("g",{clipPath:"url(#clip1_4199_125295)",children:[Te("path",{d:"M29.4619 139.121C29.4658 139.403 29.3073 139.662 29.0521 139.782L25.3915 141.564C23.3389 142.565 21.7463 144.32 20.9462 146.457L18.8511 151.977C18.7506 152.267 18.4723 152.457 18.1669 152.449C17.8654 152.445 17.5909 152.26 17.4827 151.977L15.4069 146.457C14.6068 144.32 13.0142 142.565 10.9616 141.564L7.30096 139.782C6.94147 139.627 6.77526 139.206 6.92989 138.842C7.00334 138.676 7.13475 138.545 7.30096 138.471L10.9616 136.693C13.0142 135.688 14.6068 133.937 15.4069 131.799L17.4827 126.28C17.6682 125.901 18.1244 125.742 18.5032 125.928C18.6539 126.005 18.7776 126.125 18.8511 126.28L20.9462 131.799C21.7463 133.937 23.3389 135.688 25.3915 136.693L29.0521 138.471C29.3034 138.591 29.4619 138.842 29.4619 139.121Z",fill:"#C2D5FA"}),Te("path",{d:"M38.7626 151.107L36.7306 152.09C35.6389 152.623 34.7939 153.55 34.3664 154.685L33.2156 157.749C33.1531 157.914 33.0249 158.045 32.8572 158.108C32.5349 158.233 32.1765 158.071 32.0516 157.749L30.904 154.685C30.4733 153.55 29.6282 152.62 28.5366 152.087L26.5078 151.107C26.3829 151.045 26.2842 150.946 26.2218 150.821C26.0672 150.509 26.1955 150.131 26.5078 149.973L28.5366 148.99C29.6282 148.457 30.4733 147.53 30.904 146.392L32.0516 143.331C32.1141 143.199 32.2193 143.097 32.3475 143.035C32.6697 142.874 33.0577 143.009 33.2156 143.331L34.3664 146.392C34.7939 147.53 35.6389 148.457 36.7306 148.99L38.7626 149.973V149.976C38.9007 150.039 39.0092 150.147 39.0717 150.285C39.2131 150.598 39.075 150.966 38.7626 151.107Z",fill:"#7BA3F4"})]}),ni("defs",{children:[Te("clipPath",{id:"clip0_4199_125295",children:Te("rect",{width:28.9051,height:28.9051,fill:"white",transform:"matrix(-1 0 0 1 225.006 51.3)"})}),Te("clipPath",{id:"clip1_4199_125295",children:Te("rect",{width:34,height:34,fill:"white",transform:"translate(6 125)"})})]})]});var lk=fue;import{useLocalStorage as qC}from"react-use";import{useLocation as bue}from"react-router-dom";var Kg=class{constructor(e,r,o){this.logsDiscardContextualEngine=(e,r)=>this.contextualEngineLogService.updateLog(e,"rejected",!0,r);this.logsSuccessContextualEngine=(e,r)=>this.contextualEngineLogService.updateLog(e,"applied",!0,r);this.logsSkippedContextualEngine=(e,r)=>this.contextualEngineLogService.createLog("manual",e,!0,r);this.logsFailedContextualEngine=(e,r)=>this.contextualEngineLogService.updateLog(e,"manual",!0,r);this.logsCancelContextualEngine=(e,r)=>this.contextualEngineLogService.createLog("canceled",e,!0,r);this.contextualEngineService=e,this.uploadInputSheetAPI=o,this.contextualEngineLogService=r}async processContextualEngine({data:e,licenseKey:r,columns:o,sessionId:n,abortController:a}){let i="",s="";try{let l=await this.getFilePath(r,a);i=l.file_name,await this.uploadDataToFile(l.signed_url,e,a);let c=await this.contextualEngineService.processContextualEngine(r,{file_name:i,tdm:o,session_id:n},a);s=c.log_id;let u=await this.contextualEngineService.getProcessedData(c.signed_url,a);return{data:u.data,fileName:u.fileName,logId:s}}catch(l){let c=l;throw c?.response?.data?.log_id?c.logId=c.response.data.log_id:c.logId=s,c}}deleteFile(e,r){return this.uploadInputSheetAPI.clearFile(r,e)}logs(e,r,o,n){switch(e){case"failed":return this.logsFailedContextualEngine(o,n);case"skipped":return this.logsSkippedContextualEngine(r,n);case"discard":return this.logsDiscardContextualEngine(o,n);case"cancel":return this.logsCancelContextualEngine(r,n);default:return this.logsSuccessContextualEngine(o,n)}}async getFilePath(e,r){return this.uploadInputSheetAPI.createFile(e,r)}async uploadDataToFile(e,r,o){return this.uploadInputSheetAPI.uploadData(e,r,o)}};var Yg=class extends Ki{async createLog(e,r,o,n){let a={apikey:this.sendApiKey?Wt:void 0,Authorization:n};return this.post("/log/contextual-engine",{usage:e,session_id:r,import_completed:o},{headers:a})}async updateLog(e,r,o,n){if(!e)return Promise.resolve();let a={apikey:this.sendApiKey?Wt:void 0,Authorization:n};return this.put(`/log/contextual-engine/${e}`,{usage:r,import_completed:o},{headers:a})}};var zC=class extends Ki{async processContextualEngine(e,r,o){let n={apikey:this.sendApiKey?Wt:void 0,"x-license-key":e};return this.post("/contextual-engine",{file_name:r.file_name,tdm:r.tdm,session_id:r.session_id},{headers:n,signal:o.signal})}async getProcessedData(e,r){return{data:await this.get(e,{},{signal:r.signal}),fileName:e}}},ck=zC;import{jsx as dk}from"react/jsx-runtime";var Mn=()=>{let t=ee(),{sessionId:e}=br(),{licenseKey:r}=ft(),{t:o}=vue(),n=Gt(),{showConfirmModal:a,setOpenModal:i}=tt(),[s,l]=qC("ce-file-name",""),{getHasJoinColumnPage:c}=Sn(),u=B(),d=Zg(new AbortController),[p,f]=gue(!1),h=Zg(),v=Zg(!1),b=Zg(!1),{baseServiceUrl:y,isSelfHosted:w,baseUrl:x}=ee(),C=uk(()=>new Kg(new ck({sendApiKey:!w},{baseURL:y}),new Yg({sendApiKey:!w},{baseURL:x}),new Vh({sendApiKey:!w},{baseURL:x})),[w,y,x]),[S,_]=qC("contextual-engine-status"),[I,M]=qC("contextual-engine-id",""),{state:E}=bue(),k=E,T=uk(()=>c(k?.spreadSheetNavigate?.getSpreadSheetList?.()),[c,k?.spreadSheetNavigate]),R=({sheetData:q,columns:oe,dataModels:ge,onStartProcess:de,onFinishProcess:J,onFailProcess:ue,goToNextPage:X})=>{a({title:o("txt_use_contextual_engine"),description:`<div>
|
|
350
350
|
<p className="font-bold">
|
|
351
351
|
${o("txt_use_contextual_engine_desc")}
|
|
352
352
|
</p>
|
|
@@ -1285,7 +1285,7 @@ import{a as Y7,b as Z7,c as X7,d as J7,e as Q7,f as e8,g as t8,h as r8,i as o8,j
|
|
|
1285
1285
|
${p.getButtonTheme().exportExcel?.icon}
|
|
1286
1286
|
`)}),i?"":d("txt_export_as_excel")]})})})}),c?Rx("div",{className:g("z-103 rounded-medium border-gray-120 w-44 border bg-white",m`
|
|
1287
1287
|
box-shadow: 0px 4px 16px 0px rgba(27, 80, 113, 0.08);
|
|
1288
|
-
`,m({"&&":p.getButtonTheme().exportExcel?.dropdown?.root})),style:b,ref:v.setFloating,children:[ws(kx,{disabled:t,onClick:x,tooltipDisabledMessage:d("txt_unable_to_export"),className:g(m({"&&":p.getButtonTheme().exportExcel?.dropdown?.item,"&&&":t?p.getButtonTheme().exportExcel?.dropdown?.item?.[":disabled"]:""})),children:d("txt_export_all_rows")}),ws(kx,{disabled:e,onClick:C,tooltipDisabledMessage:d("txt_unable_to_export"),className:g(m({"&&":p.getButtonTheme().exportExcel?.dropdown?.item,"&&&":e?p.getButtonTheme().exportExcel?.dropdown?.item?.[":disabled"]:""})),children:d("txt_export_error_rows")})]}):null]})},YP=Kve;import{useCallback as kl,useEffect as Px,useLayoutEffect as e0e,useMemo as QP,useRef as ys,useState as ci}from"react";var Ox=class{constructor(e){this.cleaningAIServices=e}async getSuggestions(e,r,o){return await this.cleaningAIServices.getSuggestions(e,r,o)}groupSuggestions(e,r,o,n,a){let i=[...e];if(!r)return i;let s={};for(let c=0;c<o.length;c++)s[o[c].getKey()]=o[c].getLabel();let l={};for(let c=0;c<e.length;c++)l[e[c].column]=c;return r.forEach(c=>{for(let u in c.data){l[u]===void 0&&(l[u]=i.length);let d=l[u];i[d]===void 0&&(i[d]={column:u,columnLabel:s[u],suggestions:[]});let p=o.findIndex(b=>b.getKey()===u),f=`${c.rowIndex}_${p}`,h={id:f,rowIndex:c.rowIndex,colIndex:p,column:u,initRowIndex:c.rowIndex,initColIndex:p,value:c.data[u].value,suggestion:c.data[u].suggestion,isDisabled:o[p]?.isDisabled()};i[d].suggestions.push(h),n.current===null&&(n.current=[]),n.current.findIndex(b=>b.id===f)<0&&n.current.push({id:f,key:u,value:c.data[u].value,error_message:a[f]||"",suggested_value:c.data[u].suggestion,status:"ignored"})}}),i}},ZP=Ox;import{firstValueFrom as Jve}from"rxjs";import Zve from"axios";import{Observable as Xve}from"rxjs";var Z1=class{constructor(e,r={}){this.getHttpClient=()=>this.httpClient;this.httpClient=Zve.create(r),this.sendApiKey=e.sendApiKey}observableRequest(e){let r=this.httpClient.request(e);return new Xve(o=>{r.then(n=>{o.next(n.data)}).catch(n=>{o.error(n)}).finally(()=>{o.complete()})})}get(e,r,o){let n={method:"GET",url:e,params:r,...o};return this.observableRequest(n)}post(e,r,o={}){let n={method:"POST",url:e,data:r,...o};return this.observableRequest(n)}put(e,r,o={}){let n={method:"PUT",url:e,data:r,...o};return this.observableRequest(n)}patch(e,r,o={}){let n={method:"PATCH",url:e,data:r,...o};return this.observableRequest(n)}delete(e,r={}){let o={method:"DELETE",url:e,...r};return this.observableRequest(o)}};var Dx=class extends Z1{getSuggestions(e,r,o){let n={apikey:this.sendApiKey?"3n5E21bB0ZfpdrNOgWk8M3iDNkR1G3CB":void 0,Authorization:e};return Jve(this.post("/cleaning-assistant",o,{headers:n}))}},XP=Dx;import{useTranslation as t0e}from"react-i18next";function JP(t,e){if(t===null||e===null)return!1;let r=t.getBoundingClientRect(),o=e.getBoundingClientRect();return!(r.right<o.left||r.left>o.right||r.bottom<o.top||r.top>o.bottom)}function X1(t,e,r,o){if(!t||!e)return;let n=`${e.initRowIndex}_${e.initColIndex}`,a=t.findIndex(i=>i.id===n);a>=0&&(t[a].status=r,o&&(t[a]={...t[a],...o}))}var eA=t=>{let{t:e}=t0e(),r=B(),o=ys(!1),[n,a]=ci(!1),[i,s]=ci(!1),[l,c]=ci([]),u=ys([]),[d,p]=ci(-1),[f,h]=ci([]),[v,b]=ci(!1),y=t.cleaningAssistantLogsRef,w=t.setTotalCleanings,x=ys({}),C=ys(t.dataModelRegistry.getDataModels()),S=ys([]),_=ys(""),[I,M]=ci(!1),[E,k]=ci(!1),T=ys(void 0),R=ys(0),[P,D]=ci(!1);Px(()=>{if(P)return R.current>0?T.current=setInterval(()=>{R.current--,R.current===0&&(D(!1),clearInterval(R.current))},1e3):clearInterval(R.current),()=>{T.current!==void 0&&clearInterval(T.current)}},[P]);let O=kl(()=>{M(!1);let q=t.validator.getError(),oe=[],ge=[],de=5,J=t.hotInstance.current?.hotInstance;if(!J)return[];for(let pe=0;pe<q.length;pe++){let W=q[pe]!==void 0&&q[pe].every(ve=>ve===null);if(q[pe]===void 0||W){if(ge.length===de)continue;let ve=J.getDataAtRow(pe),Me={};for(let Ee=0;Ee<ve.length;Ee++){if(!C.current[Ee])continue;let dt=C.current[Ee].getKey();Me[dt]=ve[Ee]}ge.push(Me);continue}let te=J?.getSourceDataAtRow(pe)??{};oe.push({rowIndex:pe,data:{}});let he=oe[oe.length-1];for(let ve of C.current){let Me=ve.getKey();he.data[Me]={value:te[Me]}}for(let ve of q[pe]){if(!ve||ve.colIndex<0)continue;let Me=ve.colIndex,Ee=C.current[Me].getKey(),dt=Rn.getValidateMessage(e,ve,t.dataModelRegistry.getColumns(),t.baseColumns),rt=`${pe}_${Me}`;x.current[rt]=dt,he.data[Ee].info=[{message:dt,level:"error"}]}}if(oe.length===0)return[];let ue=C.current.map(pe=>({columnType:pe.getType(),key:pe.getKey(),validations:pe.getValidators().map(W=>W.serialize()),label:pe.getLabel(),description:pe.getDescription(),dropdownOptions:pe.isCategoryType()?pe.getOptions().map(W=>({label:W.label,value:W.value,type:W.type})):[],outputFormat:pe.getOutputFormat()})),X=0,re=Math.min(500,1500),K=[];for(;oe.length>0;){let pe=oe.splice(0,re);if(K.push({error_data:pe,data_model:ue,clean_data:ge,session_id:t.sessionId,version:"4.0.4"}),X+=pe.length,X>=1500){M(!0);break}re=Math.min(re*2,2e3)}return K},[t,e]),N=()=>{h(q=>q.length===0?l[d]?.suggestions||[]:[])},A=q=>{h(oe=>{let ge=[...oe],de=oe.findIndex(J=>q.suggestion===J.suggestion);return de>=0?ge.splice(de,1):ge.push(q),ge})},L=QP(()=>l.reduce((q,oe)=>q+=oe.suggestions.length,0),[l]),$=kl(()=>{a(!0)},[]),H=kl(()=>{a(!1)},[]);e0e(()=>{n&&!_.current&&setTimeout(()=>{let q=document.querySelector(".nuvo_cleaning-assistant-popover .nuvo-popover__content");if(!q)return;let oe=window.getComputedStyle(q),ge=new WebKitCSSMatrix(oe.transform);_.current=`translate(${ge.m41}px, ${ge.m42}px)`},100)},[n]);let U=QP(()=>new ZP(new XP({sendApiKey:!t.isSelfHosted},{baseURL:t.cleaningAPIUrl})),[t.cleaningAPIUrl,t.isSelfHosted]),z=kl(()=>{if(P)return Promise.resolve();let q=O();return b(!1),s(!0),!q||q.length===0?(setTimeout(()=>{s(!1)},500),Promise.resolve()):(c([]),u.current=[],p(-1),h([]),new Promise(oe=>{let de=q.length,J=0;function ue(X){X&&U.getSuggestions(t.licenseKey,t.origin,X).then(re=>{re.length>0&&(R.current=180,D(!0)),u.current=U.groupSuggestions(u.current,re,C.current,y,x.current),c(u.current)}).catch(re=>{console.log(re)}).finally(()=>{if(J++,q.length>0){let re=q.shift();ue(re)}else J===de&&(y.current&&w(y.current.length),s(!1),oe())})}for(let X=0;X<8;X++){let re=q.shift();ue(re)}}))},[y,O,t.licenseKey,t.origin,P,U,w]),V=()=>{p(-1),h([])},Y=kl(q=>{let oe=t.hotInstance.current?.hotInstance;if(oe)try{let ge=oe.toVisualRow(q.rowIndex),de=oe.toVisualColumn(q.colIndex);oe?.selectCell(ge,de,void 0,void 0,!1,!0),oe?.scrollViewportTo({row:ge,col:de,horizontalSnap:"start",verticalSnap:"top"});let J=oe.getCell(ge,de),ue=document.querySelector(".nuvo_cleaning-assistant-popover .nuvo-popover__content");if(J&&ue&&(ue.style.transform=_.current,JP(ue,J))){let X=window.getComputedStyle(ue),re=new WebKitCSSMatrix(X.transform),K=J.getBoundingClientRect(),pe=ue.getBoundingClientRect(),W=Math.abs(re.m41-(pe.right-K.left));ue.style.transform=`translate(${W}px, ${re.m42}px)`}}catch{}},[t.hotInstance]),ne=kl((q,oe)=>{c(ge=>{let de={};for(let X=0;X<q.length;X++)de[q[X].id]===void 0&&(de[q[X].id]=!0);h(X=>X.filter(re=>!de[re.id]));let J=[...ge],ue=!1;for(let X=J.length-1;X>=0;X--){let re=[];for(let K=0;K<J[X].suggestions.length;K++){let pe=J[X].suggestions[K];de[pe.id]||re.push(pe)}J[X].suggestions=J[X].suggestions.filter(K=>!de[K.id]),J[X].suggestions.length===0&&(J.splice(X,1),X===d&&(ue=!0))}return ue&&p(-1),u.current=J,oe&&oe(),J})},[d]),ce=kl(q=>{let oe=t.hotInstance.current?.hotInstance;if(!oe)return;function ge(J,ue){return new Promise(X=>{setTimeout(()=>{let re=J.toVisualRow(ue.rowIndex),K=J.toVisualColumn(ue.colIndex);re<0||K<0||(J?.setDataAtCell(re,K,ue.suggestion,"CLEANING_ASSISTANT"),X1(y.current,ue,"applied"),J.render(),X())})})}q.length>1&&k(!0);let de=q.map(J=>ge(oe,J));Promise.allSettled(de).then(()=>{oe.render(),k(!1)})},[y,t.hotInstance]);return Px(()=>{if(!t.cleaningAssistantEntryChangeObserverRef.current)return;let q=t.cleaningAssistantEntryChangeObserverRef.current.subscribe(oe=>{oe.actionType!=="create"&&oe.sourceCols.forEach(ge=>{let de=C.current.findIndex(X=>X.getKey()===ge),J=`${oe.rowIndex}_${de}`;for(let X=0;X<u.current.length;X++){let K=u.current[X].suggestions.find(W=>W.id===J),pe=oe.currentRowData[de];X1(y.current,K,"changed",{change_value:pe})}u.current.findIndex(X=>X.suggestions.find(K=>K.id===J)!==void 0)>=0&&ne([{id:J}])})});return()=>{q.unsubscribe()}},[y,ne,t.cleaningAssistantEntryChangeObserverRef]),Px(()=>{if(!t.cleaningAssistantRemoveRowObserverRef.current)return;let q=t.cleaningAssistantRemoveRowObserverRef.current.subscribe(({type:oe,rows:ge})=>{let de=t.hotInstance.current?.hotInstance,J=u.current;if(de){if(oe==="before"){let ue=[];for(let X=0;X<J.length;X++)for(let re=0;re<J[X].suggestions.length;re++){let K=J[X].suggestions[re],pe=0,W="";for(let te=0;te<ge.length;te++){let he=de.toPhysicalRow(ge[te]);K.rowIndex>he?pe++:K.rowIndex===he&&(W="d",ue.push(K))}K.rowIndex-=pe,K.id=`${K.rowIndex}_${K.colIndex}${W}`}S.current=ue}if(oe==="after"){let ue=[],X=t.validator.getError();for(let re=0;re<J.length;re++)for(let K=0;K<J[re].suggestions.length;K++){let pe=J[re].suggestions[K];X[pe.rowIndex]&&!X[pe.rowIndex][pe.colIndex]&&ue.push(pe)}S.current=[...S.current,...ue],S.current.forEach(re=>{X1(y.current,re,"deleted")}),ne(S.current,()=>{S.current=[]})}}});return()=>{q.unsubscribe()}},[y,z,ne,O,t.cleaningAssistantRemoveRowObserverRef,t.hotInstance,t.validator]),{...t,open:n,setOpen:a,loading:i,setLoading:s,onOpenPopover:$,onDismissPopover:H,getSuggestions:z,groups:l,setGroups:c,selectedGroupIndex:d,setSelectedGroupIndex:p,initialLoaded:o,count:L,selectedSuggestions:f,setSelectedSuggestions:h,onSelectAll:N,onSelectSuggestion:A,onFind:Y,onDismiss:ne,onApply:ce,onBackClick:V,theme:r,showErrorMessage:v,setShowErrorMessage:b,showRowLimitMessage:I,refreshDisabled:P,setRefreshDisabled:D,disableRefreshCountdownRef:R,isApplying:E}};import{createContext as r0e}from"react";var yr=r0e({});var tA=t=>{let e=t.theme.getCleaningAssistantTheme();return{rootClass:g(["nuvo_cleaning-assistant-popover",m`
|
|
1288
|
+
`,m({"&&":p.getButtonTheme().exportExcel?.dropdown?.root})),style:b,ref:v.setFloating,children:[ws(kx,{disabled:t,onClick:x,tooltipDisabledMessage:d("txt_unable_to_export"),className:g(m({"&&":p.getButtonTheme().exportExcel?.dropdown?.item,"&&&":t?p.getButtonTheme().exportExcel?.dropdown?.item?.[":disabled"]:""})),children:d("txt_export_all_rows")}),ws(kx,{disabled:e,onClick:C,tooltipDisabledMessage:d("txt_unable_to_export"),className:g(m({"&&":p.getButtonTheme().exportExcel?.dropdown?.item,"&&&":e?p.getButtonTheme().exportExcel?.dropdown?.item?.[":disabled"]:""})),children:d("txt_export_error_rows")})]}):null]})},YP=Kve;import{useCallback as kl,useEffect as Px,useLayoutEffect as e0e,useMemo as QP,useRef as ys,useState as ci}from"react";var Ox=class{constructor(e){this.cleaningAIServices=e}async getSuggestions(e,r,o){return await this.cleaningAIServices.getSuggestions(e,r,o)}groupSuggestions(e,r,o,n,a){let i=[...e];if(!r)return i;let s={};for(let c=0;c<o.length;c++)s[o[c].getKey()]=o[c].getLabel();let l={};for(let c=0;c<e.length;c++)l[e[c].column]=c;return r.forEach(c=>{for(let u in c.data){l[u]===void 0&&(l[u]=i.length);let d=l[u];i[d]===void 0&&(i[d]={column:u,columnLabel:s[u],suggestions:[]});let p=o.findIndex(b=>b.getKey()===u),f=`${c.rowIndex}_${p}`,h={id:f,rowIndex:c.rowIndex,colIndex:p,column:u,initRowIndex:c.rowIndex,initColIndex:p,value:c.data[u].value,suggestion:c.data[u].suggestion,isDisabled:o[p]?.isDisabled()};i[d].suggestions.push(h),n.current===null&&(n.current=[]),n.current.findIndex(b=>b.id===f)<0&&n.current.push({id:f,key:u,value:c.data[u].value,error_message:a[f]||"",suggested_value:c.data[u].suggestion,status:"ignored"})}}),i}},ZP=Ox;import{firstValueFrom as Jve}from"rxjs";import Zve from"axios";import{Observable as Xve}from"rxjs";var Z1=class{constructor(e,r={}){this.getHttpClient=()=>this.httpClient;this.httpClient=Zve.create(r),this.sendApiKey=e.sendApiKey}observableRequest(e){let r=this.httpClient.request(e);return new Xve(o=>{r.then(n=>{o.next(n.data)}).catch(n=>{o.error(n)}).finally(()=>{o.complete()})})}get(e,r,o){let n={method:"GET",url:e,params:r,...o};return this.observableRequest(n)}post(e,r,o={}){let n={method:"POST",url:e,data:r,...o};return this.observableRequest(n)}put(e,r,o={}){let n={method:"PUT",url:e,data:r,...o};return this.observableRequest(n)}patch(e,r,o={}){let n={method:"PATCH",url:e,data:r,...o};return this.observableRequest(n)}delete(e,r={}){let o={method:"DELETE",url:e,...r};return this.observableRequest(o)}};var Dx=class extends Z1{getSuggestions(e,r,o){let n={apikey:this.sendApiKey?"3n5E21bB0ZfpdrNOgWk8M3iDNkR1G3CB":void 0,Authorization:e};return Jve(this.post("/cleaning-assistant",o,{headers:n}))}},XP=Dx;import{useTranslation as t0e}from"react-i18next";function JP(t,e){if(t===null||e===null)return!1;let r=t.getBoundingClientRect(),o=e.getBoundingClientRect();return!(r.right<o.left||r.left>o.right||r.bottom<o.top||r.top>o.bottom)}function X1(t,e,r,o){if(!t||!e)return;let n=`${e.initRowIndex}_${e.initColIndex}`,a=t.findIndex(i=>i.id===n);a>=0&&(t[a].status=r,o&&(t[a]={...t[a],...o}))}var eA=t=>{let{t:e}=t0e(),r=B(),o=ys(!1),[n,a]=ci(!1),[i,s]=ci(!1),[l,c]=ci([]),u=ys([]),[d,p]=ci(-1),[f,h]=ci([]),[v,b]=ci(!1),y=t.cleaningAssistantLogsRef,w=t.setTotalCleanings,x=ys({}),C=ys(t.dataModelRegistry.getDataModels()),S=ys([]),_=ys(""),[I,M]=ci(!1),[E,k]=ci(!1),T=ys(void 0),R=ys(0),[P,D]=ci(!1);Px(()=>{if(P)return R.current>0?T.current=setInterval(()=>{R.current--,R.current===0&&(D(!1),clearInterval(R.current))},1e3):clearInterval(R.current),()=>{T.current!==void 0&&clearInterval(T.current)}},[P]);let O=kl(()=>{M(!1);let q=t.validator.getError(),oe=[],ge=[],de=5,J=t.hotInstance.current?.hotInstance;if(!J)return[];for(let pe=0;pe<q.length;pe++){let W=q[pe]!==void 0&&q[pe].every(ve=>ve===null);if(q[pe]===void 0||W){if(ge.length===de)continue;let ve=J.getDataAtRow(pe),Me={};for(let Ee=0;Ee<ve.length;Ee++){if(!C.current[Ee])continue;let dt=C.current[Ee].getKey();Me[dt]=ve[Ee]}ge.push(Me);continue}let te=J?.getSourceDataAtRow(pe)??{};oe.push({rowIndex:pe,data:{}});let he=oe[oe.length-1];for(let ve of C.current){let Me=ve.getKey();he.data[Me]={value:te[Me]}}for(let ve of q[pe]){if(!ve||ve.colIndex<0)continue;let Me=ve.colIndex,Ee=C.current[Me].getKey(),dt=Rn.getValidateMessage(e,ve,t.dataModelRegistry.getColumns(),t.baseColumns),rt=`${pe}_${Me}`;x.current[rt]=dt,he.data[Ee].info=[{message:dt,level:"error"}]}}if(oe.length===0)return[];let ue=C.current.map(pe=>({columnType:pe.getType(),key:pe.getKey(),validations:pe.getValidators().map(W=>W.serialize()),label:pe.getLabel(),description:pe.getDescription(),dropdownOptions:pe.isCategoryType()?pe.getOptions().map(W=>({label:W.label,value:W.value,type:W.type})):[],outputFormat:pe.getOutputFormat()})),X=0,re=Math.min(500,1500),K=[];for(;oe.length>0;){let pe=oe.splice(0,re);if(K.push({error_data:pe,data_model:ue,clean_data:ge,session_id:t.sessionId,version:"4.0.5"}),X+=pe.length,X>=1500){M(!0);break}re=Math.min(re*2,2e3)}return K},[t,e]),N=()=>{h(q=>q.length===0?l[d]?.suggestions||[]:[])},A=q=>{h(oe=>{let ge=[...oe],de=oe.findIndex(J=>q.suggestion===J.suggestion);return de>=0?ge.splice(de,1):ge.push(q),ge})},L=QP(()=>l.reduce((q,oe)=>q+=oe.suggestions.length,0),[l]),$=kl(()=>{a(!0)},[]),H=kl(()=>{a(!1)},[]);e0e(()=>{n&&!_.current&&setTimeout(()=>{let q=document.querySelector(".nuvo_cleaning-assistant-popover .nuvo-popover__content");if(!q)return;let oe=window.getComputedStyle(q),ge=new WebKitCSSMatrix(oe.transform);_.current=`translate(${ge.m41}px, ${ge.m42}px)`},100)},[n]);let U=QP(()=>new ZP(new XP({sendApiKey:!t.isSelfHosted},{baseURL:t.cleaningAPIUrl})),[t.cleaningAPIUrl,t.isSelfHosted]),z=kl(()=>{if(P)return Promise.resolve();let q=O();return b(!1),s(!0),!q||q.length===0?(setTimeout(()=>{s(!1)},500),Promise.resolve()):(c([]),u.current=[],p(-1),h([]),new Promise(oe=>{let de=q.length,J=0;function ue(X){X&&U.getSuggestions(t.licenseKey,t.origin,X).then(re=>{re.length>0&&(R.current=180,D(!0)),u.current=U.groupSuggestions(u.current,re,C.current,y,x.current),c(u.current)}).catch(re=>{console.log(re)}).finally(()=>{if(J++,q.length>0){let re=q.shift();ue(re)}else J===de&&(y.current&&w(y.current.length),s(!1),oe())})}for(let X=0;X<8;X++){let re=q.shift();ue(re)}}))},[y,O,t.licenseKey,t.origin,P,U,w]),V=()=>{p(-1),h([])},Y=kl(q=>{let oe=t.hotInstance.current?.hotInstance;if(oe)try{let ge=oe.toVisualRow(q.rowIndex),de=oe.toVisualColumn(q.colIndex);oe?.selectCell(ge,de,void 0,void 0,!1,!0),oe?.scrollViewportTo({row:ge,col:de,horizontalSnap:"start",verticalSnap:"top"});let J=oe.getCell(ge,de),ue=document.querySelector(".nuvo_cleaning-assistant-popover .nuvo-popover__content");if(J&&ue&&(ue.style.transform=_.current,JP(ue,J))){let X=window.getComputedStyle(ue),re=new WebKitCSSMatrix(X.transform),K=J.getBoundingClientRect(),pe=ue.getBoundingClientRect(),W=Math.abs(re.m41-(pe.right-K.left));ue.style.transform=`translate(${W}px, ${re.m42}px)`}}catch{}},[t.hotInstance]),ne=kl((q,oe)=>{c(ge=>{let de={};for(let X=0;X<q.length;X++)de[q[X].id]===void 0&&(de[q[X].id]=!0);h(X=>X.filter(re=>!de[re.id]));let J=[...ge],ue=!1;for(let X=J.length-1;X>=0;X--){let re=[];for(let K=0;K<J[X].suggestions.length;K++){let pe=J[X].suggestions[K];de[pe.id]||re.push(pe)}J[X].suggestions=J[X].suggestions.filter(K=>!de[K.id]),J[X].suggestions.length===0&&(J.splice(X,1),X===d&&(ue=!0))}return ue&&p(-1),u.current=J,oe&&oe(),J})},[d]),ce=kl(q=>{let oe=t.hotInstance.current?.hotInstance;if(!oe)return;function ge(J,ue){return new Promise(X=>{setTimeout(()=>{let re=J.toVisualRow(ue.rowIndex),K=J.toVisualColumn(ue.colIndex);re<0||K<0||(J?.setDataAtCell(re,K,ue.suggestion,"CLEANING_ASSISTANT"),X1(y.current,ue,"applied"),J.render(),X())})})}q.length>1&&k(!0);let de=q.map(J=>ge(oe,J));Promise.allSettled(de).then(()=>{oe.render(),k(!1)})},[y,t.hotInstance]);return Px(()=>{if(!t.cleaningAssistantEntryChangeObserverRef.current)return;let q=t.cleaningAssistantEntryChangeObserverRef.current.subscribe(oe=>{oe.actionType!=="create"&&oe.sourceCols.forEach(ge=>{let de=C.current.findIndex(X=>X.getKey()===ge),J=`${oe.rowIndex}_${de}`;for(let X=0;X<u.current.length;X++){let K=u.current[X].suggestions.find(W=>W.id===J),pe=oe.currentRowData[de];X1(y.current,K,"changed",{change_value:pe})}u.current.findIndex(X=>X.suggestions.find(K=>K.id===J)!==void 0)>=0&&ne([{id:J}])})});return()=>{q.unsubscribe()}},[y,ne,t.cleaningAssistantEntryChangeObserverRef]),Px(()=>{if(!t.cleaningAssistantRemoveRowObserverRef.current)return;let q=t.cleaningAssistantRemoveRowObserverRef.current.subscribe(({type:oe,rows:ge})=>{let de=t.hotInstance.current?.hotInstance,J=u.current;if(de){if(oe==="before"){let ue=[];for(let X=0;X<J.length;X++)for(let re=0;re<J[X].suggestions.length;re++){let K=J[X].suggestions[re],pe=0,W="";for(let te=0;te<ge.length;te++){let he=de.toPhysicalRow(ge[te]);K.rowIndex>he?pe++:K.rowIndex===he&&(W="d",ue.push(K))}K.rowIndex-=pe,K.id=`${K.rowIndex}_${K.colIndex}${W}`}S.current=ue}if(oe==="after"){let ue=[],X=t.validator.getError();for(let re=0;re<J.length;re++)for(let K=0;K<J[re].suggestions.length;K++){let pe=J[re].suggestions[K];X[pe.rowIndex]&&!X[pe.rowIndex][pe.colIndex]&&ue.push(pe)}S.current=[...S.current,...ue],S.current.forEach(re=>{X1(y.current,re,"deleted")}),ne(S.current,()=>{S.current=[]})}}});return()=>{q.unsubscribe()}},[y,z,ne,O,t.cleaningAssistantRemoveRowObserverRef,t.hotInstance,t.validator]),{...t,open:n,setOpen:a,loading:i,setLoading:s,onOpenPopover:$,onDismissPopover:H,getSuggestions:z,groups:l,setGroups:c,selectedGroupIndex:d,setSelectedGroupIndex:p,initialLoaded:o,count:L,selectedSuggestions:f,setSelectedSuggestions:h,onSelectAll:N,onSelectSuggestion:A,onFind:Y,onDismiss:ne,onApply:ce,onBackClick:V,theme:r,showErrorMessage:v,setShowErrorMessage:b,showRowLimitMessage:I,refreshDisabled:P,setRefreshDisabled:D,disableRefreshCountdownRef:R,isApplying:E}};import{createContext as r0e}from"react";var yr=r0e({});var tA=t=>{let e=t.theme.getCleaningAssistantTheme();return{rootClass:g(["nuvo_cleaning-assistant-popover",m`
|
|
1289
1289
|
& .nuvo-popover__content {
|
|
1290
1290
|
padding: 0;
|
|
1291
1291
|
}
|