@iclips/ui 1.0.67 → 1.0.69
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/dist/components/ui/number-input.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -219,5 +219,5 @@ ${h.slice(c+2)}`,u+=1;else break}e.push({indent:c,number:parseInt(o,10),content:
|
|
|
219
219
|
`,"2) content: () => element.cloneNode(true)"].join(" "))}var o=i.reduce(function(f,c){var d=c&&Mk(c,r);return d&&f.push(d),f},[]);return La(t)?o[0]:o}Ya.defaultProps=pt;Ya.setDefaultProps=xk;Ya.currentInput=$t;Object.assign({},yg,{effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});Ya.setDefaultProps({render:Bg});const Cd=M.forwardRef((t,e)=>{const[n,r]=M.useState(0),i=f=>{const c=t.items[f];c&&t.command({id:c.id,label:c.name})},a=()=>{r((n+t.items.length-1)%t.items.length)},s=()=>{r((n+1)%t.items.length)},o=()=>{i(n)};return M.useEffect(()=>{r(0)},[t.items]),M.useImperativeHandle(e,()=>({onKeyDown:({event:f})=>f.key==="ArrowUp"?(a(),!0):f.key==="ArrowDown"?(s(),!0):f.key==="Enter"?(o(),!0):!1})),l.jsx("div",{className:"bg-popover text-popover-foreground border rounded-md shadow-md overflow-hidden p-1 min-w-[200px]",children:t.items.length?t.items.map((f,c)=>l.jsxs("button",{className:y("w-full flex items-center gap-2 px-2 py-1.5 text-sm rounded-sm select-none outline-none cursor-pointer transition-colors",c===n?"bg-accent text-accent-foreground":"hover:bg-muted"),onClick:()=>i(c),children:[l.jsxs(Jt,{className:"h-6 w-6",children:[l.jsx(Vn,{src:f.avatar}),l.jsx(Vt,{children:f.name.substring(0,2).toUpperCase()})]}),l.jsxs("div",{className:"flex flex-col items-start",children:[l.jsx("span",{className:"font-medium text-xs",children:f.name}),f.role&&l.jsx("span",{className:"text-[10px] text-muted-foreground capitalize",children:f.role})]})]},f.id)):l.jsx("div",{className:"px-2 py-1.5 text-sm text-muted-foreground",children:"Nenhum usuário encontrado"})})});Cd.displayName="MentionList";function ac(t){return[].concat(t)}function Ld(t){return t.startsWith(":")}function Hg(t){return fl(t)&&(t==="*"||t.length>1&&":>~.+*".includes(t.slice(0,1))||Jg(t))}function Fg(t,e){return(fl(e)||typeof e=="number")&&!_g(t)&&!Ld(t)&&!Ug(t)}function Ug(t){return t.startsWith("@media")}function jk(t){return t==="."}function _g(t){return t==="--"}function fl(t){return t+""===t}function Jg(t){return fl(t)&&(t.startsWith("&")||Ld(t))}function Bo(t,e=""){return t.filter(Boolean).join(e)}function Vg(t,e){let n=0;if(e.length===0)return n.toString();for(let r=0;r<e.length;r++){const i=e.charCodeAt(r);n=(n<<5)-n+i,n=n&n}return`${t??"cl"}_${n.toString(36)}`}function Ck(t,e){return t==="content"?`"${e}"`:e}function Lk(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function uh(t,e){return`${t}:${e}`}function Nk(t){return t?`.${t}`:""}function kk(t,e){return t?`${t}
|
|
220
220
|
${e}`:e}var Yg=class Qg{constructor(e,n,r,i){this.sheet=e,this.property=n,this.value=r,this.selector=i,this.property=n,this.value=r,this.joined=uh(n,r);const a=this.selector.preconditions.concat(this.selector.postconditions);this.hash=this.selector.hasConditions?this.selector.scopeClassName:Vg(this.sheet.name,this.joined),this.key=Bo([this.joined,a,this.hash])}toString(){let e=sc(this.selector.preconditions,{right:this.hash});return e=sc(this.selector.postconditions,{left:e}),`${e} {${Qg.genRule(this.property,this.value)}}`}static genRule(e,n){const r=Lk(e);return uh(r,Ck(e,n))+";"}};function sc(t,{left:e="",right:n=""}={}){const r=t.reduce((i,a)=>Ld(a)?i+a:Jg(a)?i+a.slice(1):Bo([i,a]," "),e);return Bo([r,Nk(n)]," ")}var Sk=class Bs{constructor(e,n=null,{preconditions:r,postconditions:i}={}){this.sheet=e,this.preconditions=[],this.scopeClassName=null,this.scopeName=null,this.postconditions=[],this.preconditions=r?ac(r):[],this.postconditions=i?ac(i):[],this.setScope(n)}setScope(e){return e?(this.scopeClassName||(this.scopeName=e,this.scopeClassName=Vg(this.sheet.name,e+this.sheet.count)),this):this}get hasConditions(){return this.preconditions.length>0||this.postconditions.length>0}addScope(e){return new Bs(this.sheet,e,{preconditions:this.preconditions,postconditions:this.postconditions})}addPrecondition(e){return new Bs(this.sheet,this.scopeClassName,{postconditions:this.postconditions,preconditions:this.preconditions.concat(e)})}addPostcondition(e){return new Bs(this.sheet,this.scopeClassName,{preconditions:this.preconditions,postconditions:this.postconditions.concat(e)})}createRule(e,n){return new Yg(this.sheet,e,n,this)}},Ik=class{constructor(e,n){this.name=e,this.rootNode=n,this.storedStyles={},this.storedClasses={},this.style="",this.count=0,this.id=`flairup-${e}`,this.styleTag=this.createStyleTag()}getStyle(){return this.style}append(e){this.style=kk(this.style,e)}apply(){this.count++,this.styleTag&&(this.styleTag.innerHTML=this.style)}isApplied(){return!!this.styleTag}createStyleTag(){if(typeof document>"u"||this.isApplied()||this.rootNode===null)return this.styleTag;const e=document.createElement("style");return e.type="text/css",e.id=this.id,(this.rootNode??document.head).appendChild(e),e}addRule(e){const n=this.storedClasses[e.key];return fl(n)?n:(this.storedClasses[e.key]=e.hash,this.storedStyles[e.hash]=[e.property,e.value],this.append(e.toString()),e.hash)}};function Nd(t,e){for(const n in t)e(n.trim(),t[n])}function oe(...t){const e=t.reduce((n,r)=>(r instanceof Set?n.push(...r):typeof r=="string"?n.push(r):Array.isArray(r)?n.push(oe(...r)):typeof r=="object"&&Object.entries(r).forEach(([i,a])=>{a&&n.push(i)}),n),[]);return Bo(e," ").trim()}function Tk(t,e){const n=new Ik(t,e);return{create:r,getStyle:n.getStyle.bind(n),isApplied:n.isApplied.bind(n)};function r(i){const a={};return Gg(n,i,new Sk(n)).forEach(([o,f,c])=>{cl(n,f,c).forEach(d=>{s(o,d)})}),n.apply(),a;function s(o,f){a[o]=a[o]??new Set,a[o].add(f)}}}function Gg(t,e,n){const r=[];return Nd(e,(i,a)=>{if(Hg(i))return Gg(t,a,n.addPrecondition(i)).forEach(s=>r.push(s));r.push([i,e[i],n.addScope(i)])}),r}function cl(t,e,n){const r=new Set;return Nd(e,(i,a)=>{let s=[];if(Hg(i))s=cl(t,a,n.addPostcondition(i));else if(jk(i))s=ac(a);else if(Ug(i))s=Ek(t,a,i,n);else if(_g(i))s=Dk(t,a,n);else if(Fg(i,a)){const o=n.createRule(i,a);t.addRule(o),r.add(o.hash)}return Wg(s,r)}),r}function Wg(t,e){return t.forEach(n=>e.add(n)),e}function Dk(t,e,n){const r=new Set,i=[];if(Nd(e,(a,s)=>{if(Fg(a,s)){i.push(Yg.genRule(a,s));return}const o=cl(t,s??{},n);Wg(o,r)}),!n.scopeClassName)return r;if(i.length){const a=i.join(" ");t.append(`${sc(n.preconditions,{right:n.scopeClassName})} {${a}}`)}return r.add(n.scopeClassName),r}function Ek(t,e,n,r){t.append(n+" {");const i=cl(t,e,r);return t.append("}"),i}function ve(){return ve=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ve.apply(this,arguments)}function Ak(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,oc(t,e)}function oc(t,e){return oc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},oc(t,e)}function $g(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,a;for(a=0;a<r.length;a++)i=r[a],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}function zk(t,e){if(t){if(typeof t=="string")return hh(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hh(t,e)}}function hh(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Ok(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=zk(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
221
221
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var le;(function(t){t.hiddenOnSearch="epr-hidden-on-search",t.searchActive="epr-search-active",t.hidden="epr-hidden",t.visible="epr-visible",t.active="epr-active",t.emoji="epr-emoji",t.category="epr-emoji-category",t.label="epr-emoji-category-label",t.categoryContent="epr-emoji-category-content",t.emojiHasVariations="epr-emoji-has-variations",t.scrollBody="epr-body",t.emojiList="epr-emoji-list",t.external="__EmojiPicker__",t.emojiPicker="EmojiPickerReact",t.open="epr-open",t.vertical="epr-vertical",t.horizontal="epr-horizontal",t.variationPicker="epr-emoji-variation-picker",t.darkTheme="epr-dark-theme",t.autoTheme="epr-auto-theme"})(le||(le={}));function Bt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.map(function(r){return"."+r}).join("")}var Ce=Tk("epr",null),Hs={display:"none",opacity:"0",pointerEvents:"none",visibility:"hidden",overflow:"hidden"},kd=Ce.create({hidden:ve({".":le.hidden},Hs)}),Pk=M.memo(function(){return M.createElement("style",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:Ce.getStyle()}})}),Er=Ce.create({".epr-main":{":has(input:not(:placeholder-shown))":{categoryBtn:{":hover":{opacity:"1",backgroundPositionY:"var(--epr-category-navigation-button-size)"}},hiddenOnSearch:ve({".":le.hiddenOnSearch},Hs)},":has(input:placeholder-shown)":{visibleOnSearchOnly:Hs}},hiddenOnReactions:{transition:"all 0.5s ease-in-out"},".epr-reactions":{hiddenOnReactions:{height:"0px",width:"0px",opacity:"0",pointerEvents:"none",overflow:"hidden"}},".EmojiPickerReact:not(.epr-search-active)":{categoryBtn:{":hover":{opacity:"1",backgroundPositionY:"var(--epr-category-navigation-button-size)"},"&.epr-active":{opacity:"1",backgroundPositionY:"var(--epr-category-navigation-button-size)"}},visibleOnSearchOnly:ve({".":"epr-visible-on-search-only"},Hs)}});function Gn(t,e){var n,r;return{".epr-dark-theme":(n={},n[t]=e,n),".epr-auto-theme":(r={},r[t]={"@media (prefers-color-scheme: dark)":e},r)}}function Zg(t,e){var n,r,i=(n=t.customEmojis)!=null?n:[],a=(r=e.customEmojis)!=null?r:[];return t.open===e.open&&t.emojiVersion===e.emojiVersion&&t.reactionsDefaultOpen===e.reactionsDefaultOpen&&t.searchPlaceHolder===e.searchPlaceHolder&&t.searchPlaceholder===e.searchPlaceholder&&t.searchClearButtonLabel===e.searchClearButtonLabel&&t.defaultSkinTone===e.defaultSkinTone&&t.skinTonesDisabled===e.skinTonesDisabled&&t.autoFocusSearch===e.autoFocusSearch&&t.emojiStyle===e.emojiStyle&&t.theme===e.theme&&t.suggestedEmojisMode===e.suggestedEmojisMode&&t.lazyLoadEmojis===e.lazyLoadEmojis&&t.className===e.className&&t.height===e.height&&t.width===e.width&&t.style===e.style&&t.searchDisabled===e.searchDisabled&&t.skinTonePickerLocation===e.skinTonePickerLocation&&i.length===a.length}var Rk=["1f44d","2764-fe0f","1f603","1f622","1f64f","1f44e","1f621"],la={};setTimeout(function(){pl.reduce(function(t,e){return qg(e),t},la)});function qg(t){var e=Ga(t).flat().join("").toLowerCase().replace(/[^a-zA-Z\d]/g,"").split("");e.forEach(function(n){var r;la[n]=(r=la[n])!=null?r:{},la[n][_e(t)]=t})}function ph(t,e){e===void 0&&(e=0);var n=M.useState(t),r=n[0],i=n[1],a=M.useRef(null);function s(o){return new Promise(function(f){var c;a.current&&clearTimeout(a.current),a.current=(c=window)==null?void 0:c.setTimeout(function(){i(o),f(o)},e)})}return[r,s]}function Bk(){var t=BS();return function(e){return t.has(e)}}function Kg(){var t=M.useRef({}),e=RS();return M.useMemo(function(){var n=parseFloat(""+e);return!e||Number.isNaN(n)?t.current:pl.reduce(function(r,i){return Fk(i,n)&&(r[_e(i)]=!0),r},t.current)},[e])}function Hk(){var t=Kg(),e=Bk();return function(r){var i=Dd(_e(r));return!!(t[i]||e(i))}}function Fk(t,e){return cS(t)>e}function Uk(t){M.useEffect(function(){t(!0)},[t])}var ka;(function(t){t.RECENT="recent",t.FREQUENT="frequent"})(ka||(ka={}));var mt;(function(t){t.NATIVE="native",t.APPLE="apple",t.TWITTER="twitter",t.GOOGLE="google",t.FACEBOOK="facebook"})(mt||(mt={}));var Sa;(function(t){t.DARK="dark",t.LIGHT="light",t.AUTO="auto"})(Sa||(Sa={}));var Ht;(function(t){t.NEUTRAL="neutral",t.LIGHT="1f3fb",t.MEDIUM_LIGHT="1f3fc",t.MEDIUM="1f3fd",t.MEDIUM_DARK="1f3fe",t.DARK="1f3ff"})(Ht||(Ht={}));var ie;(function(t){t.SUGGESTED="suggested",t.CUSTOM="custom",t.SMILEYS_PEOPLE="smileys_people",t.ANIMALS_NATURE="animals_nature",t.FOOD_DRINK="food_drink",t.TRAVEL_PLACES="travel_places",t.ACTIVITIES="activities",t.OBJECTS="objects",t.SYMBOLS="symbols",t.FLAGS="flags"})(ie||(ie={}));var Mi;(function(t){t.SEARCH="SEARCH",t.PREVIEW="PREVIEW"})(Mi||(Mi={}));function _k(t){var e=t.children,n=Kg(),r=NS(),i=PS(),a=M.useRef(la),s=M.useRef(!1),o=M.useRef(!1),f=M.useRef(n),c=ph(Date.now(),200),d=ph("",100),u=M.useState(!1),p=M.useState(r),h=M.useState(null),m=M.useState(new Set),g=M.useState(null),b=M.useState(i),x=M.useState(!1),w=x[0],j=x[1],v=M.useState([]),L=M.useState(null);return Uk(j),M.createElement(vt.Provider,{value:{activeCategoryState:h,activeSkinTone:p,disallowClickRef:s,disallowMouseRef:o,disallowedEmojisRef:f,emojiVariationPickerState:g,emojisThatFailedToLoadState:m,filterRef:a,isPastInitialLoad:w,searchTerm:d,skinToneFanOpenState:u,suggestedUpdateState:c,reactionsModeState:b,visibleCategoriesState:v,emojiSizeState:L}},e)}var vt=M.createContext({activeCategoryState:[null,function(){}],activeSkinTone:[Ht.NEUTRAL,function(){}],disallowClickRef:{current:!1},disallowMouseRef:{current:!1},disallowedEmojisRef:{current:{}},emojiVariationPickerState:[null,function(){}],emojisThatFailedToLoadState:[new Set,function(){}],filterRef:{current:{}},isPastInitialLoad:!0,searchTerm:["",function(){return new Promise(function(){})}],skinToneFanOpenState:[!1,function(){}],suggestedUpdateState:[Date.now(),function(){}],reactionsModeState:[!1,function(){}],visibleCategoriesState:[[],function(){return[]}],emojiSizeState:[null,function(){}]});function Sd(){var t=M.useContext(vt),e=t.filterRef;return e}function Jk(){var t=M.useContext(vt),e=t.disallowClickRef;return e}function Id(){var t=M.useContext(vt),e=t.disallowMouseRef;return e}function Ar(){var t=M.useContext(vt),e=t.reactionsModeState;return e}function dl(){var t=M.useContext(vt),e=t.searchTerm;return e}function ul(){var t=M.useContext(vt),e=t.activeSkinTone;return e}function Xg(){var t=M.useContext(vt),e=t.emojisThatFailedToLoadState;return e}function Ni(){var t=M.useContext(vt),e=t.emojiVariationPickerState;return e}function Qa(){var t=M.useContext(vt),e=t.skinToneFanOpenState;return e}function Td(){var t=M.useContext(vt),e=t.visibleCategoriesState;return e}function e2(){var t=M.useContext(vt),e=t.emojiSizeState;return e}function t2(){var t=M.useContext(vt),e=t.suggestedUpdateState,n=e[0],r=e[1];return[n,function(){r(Date.now())}]}var Ct,Vk=[ie.SUGGESTED,ie.CUSTOM,ie.SMILEYS_PEOPLE,ie.ANIMALS_NATURE,ie.FOOD_DRINK,ie.TRAVEL_PLACES,ie.ACTIVITIES,ie.OBJECTS,ie.SYMBOLS,ie.FLAGS],Yk={name:"Recently Used",category:ie.SUGGESTED},n2=(Ct={},Ct[ie.SUGGESTED]={category:ie.SUGGESTED,name:"Frequently Used"},Ct[ie.CUSTOM]={category:ie.CUSTOM,name:"Custom Emojis"},Ct[ie.SMILEYS_PEOPLE]={category:ie.SMILEYS_PEOPLE,name:"Smileys & People"},Ct[ie.ANIMALS_NATURE]={category:ie.ANIMALS_NATURE,name:"Animals & Nature"},Ct[ie.FOOD_DRINK]={category:ie.FOOD_DRINK,name:"Food & Drink"},Ct[ie.TRAVEL_PLACES]={category:ie.TRAVEL_PLACES,name:"Travel & Places"},Ct[ie.ACTIVITIES]={category:ie.ACTIVITIES,name:"Activities"},Ct[ie.OBJECTS]={category:ie.OBJECTS,name:"Objects"},Ct[ie.SYMBOLS]={category:ie.SYMBOLS,name:"Symbols"},Ct[ie.FLAGS]={category:ie.FLAGS,name:"Flags"},Ct);function r2(t){return Vk.map(function(e){return ve({},n2[e],t&&t[e]&&t[e])})}function hl(t){return t.category}function i2(t){return t.name}function Qk(t,e){var n;t===void 0&&(t=[]),e===void 0&&(e={});var r={};e.suggestionMode===ka.RECENT&&(r[ie.SUGGESTED]=Yk);var i=r2(r);return(n=t)!=null&&n.length?t.map(function(a){return typeof a=="string"?mh(a,r[a]):ve({},mh(a.category,r[a.category]),a)}):i}function mh(t,e){return e===void 0&&(e={}),Object.assign(n2[t],e)}var Gk="https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/",Wk="https://cdn.jsdelivr.net/npm/emoji-datasource-facebook/img/facebook/64/",$k="https://cdn.jsdelivr.net/npm/emoji-datasource-twitter/img/twitter/64/",Zk="https://cdn.jsdelivr.net/npm/emoji-datasource-google/img/google/64/";function qk(t){switch(t){case mt.TWITTER:return $k;case mt.GOOGLE:return Zk;case mt.FACEBOOK:return Wk;case mt.APPLE:default:return Gk}}var Kk=[],Xk=[{n:["grinning","grinning face"],u:"1f600",a:"1.0"},{n:["smiley","smiling face with open mouth"],u:"1f603",a:"0.6"},{n:["smile","smiling face with open mouth and smiling eyes"],u:"1f604",a:"0.6"},{n:["grin","grinning face with smiling eyes"],u:"1f601",a:"0.6"},{n:["laughing","satisfied","smiling face with open mouth and tightly-closed eyes"],u:"1f606",a:"0.6"},{n:["sweat smile","smiling face with open mouth and cold sweat"],u:"1f605",a:"0.6"},{n:["rolling on the floor laughing"],u:"1f923",a:"3.0"},{n:["joy","face with tears of joy"],u:"1f602",a:"0.6"},{n:["slightly smiling face"],u:"1f642",a:"1.0"},{n:["upside-down face","upside down face"],u:"1f643",a:"1.0"},{n:["melting face"],u:"1fae0",a:"14.0"},{n:["wink","winking face"],u:"1f609",a:"0.6"},{n:["blush","smiling face with smiling eyes"],u:"1f60a",a:"0.6"},{n:["innocent","smiling face with halo"],u:"1f607",a:"1.0"},{n:["smiling face with 3 hearts","smiling face with smiling eyes and three hearts"],u:"1f970",a:"11.0"},{n:["heart eyes","smiling face with heart-shaped eyes"],u:"1f60d",a:"0.6"},{n:["star-struck","grinning face with star eyes"],u:"1f929",a:"5.0"},{n:["kissing heart","face throwing a kiss"],u:"1f618",a:"0.6"},{n:["kissing","kissing face"],u:"1f617",a:"1.0"},{n:["relaxed","white smiling face"],u:"263a-fe0f",a:"0.6"},{n:["kissing closed eyes","kissing face with closed eyes"],u:"1f61a",a:"0.6"},{n:["kissing smiling eyes","kissing face with smiling eyes"],u:"1f619",a:"1.0"},{n:["smiling face with tear"],u:"1f972",a:"13.0"},{n:["yum","face savouring delicious food"],u:"1f60b",a:"0.6"},{n:["stuck out tongue","face with stuck-out tongue"],u:"1f61b",a:"1.0"},{n:["stuck out tongue winking eye","face with stuck-out tongue and winking eye"],u:"1f61c",a:"0.6"},{n:["zany face","grinning face with one large and one small eye"],u:"1f92a",a:"5.0"},{n:["stuck out tongue closed eyes","face with stuck-out tongue and tightly-closed eyes"],u:"1f61d",a:"0.6"},{n:["money-mouth face","money mouth face"],u:"1f911",a:"1.0"},{n:["hugging face"],u:"1f917",a:"1.0"},{n:["face with hand over mouth","smiling face with smiling eyes and hand covering mouth"],u:"1f92d",a:"5.0"},{n:["face with open eyes and hand over mouth"],u:"1fae2",a:"14.0"},{n:["face with peeking eye"],u:"1fae3",a:"14.0"},{n:["shushing face","face with finger covering closed lips"],u:"1f92b",a:"5.0"},{n:["thinking face"],u:"1f914",a:"1.0"},{n:["saluting face"],u:"1fae1",a:"14.0"},{n:["zipper-mouth face","zipper mouth face"],u:"1f910",a:"1.0"},{n:["face with raised eyebrow","face with one eyebrow raised"],u:"1f928",a:"5.0"},{n:["neutral face"],u:"1f610",a:"0.7"},{n:["expressionless","expressionless face"],u:"1f611",a:"1.0"},{n:["no mouth","face without mouth"],u:"1f636",a:"1.0"},{n:["dotted line face"],u:"1fae5",a:"14.0"},{n:["face in clouds"],u:"1f636-200d-1f32b-fe0f",a:"13.1"},{n:["smirk","smirking face"],u:"1f60f",a:"0.6"},{n:["unamused","unamused face"],u:"1f612",a:"0.6"},{n:["face with rolling eyes"],u:"1f644",a:"1.0"},{n:["grimacing","grimacing face"],u:"1f62c",a:"1.0"},{n:["face exhaling"],u:"1f62e-200d-1f4a8",a:"13.1"},{n:["lying face"],u:"1f925",a:"3.0"},{n:["shaking face"],u:"1fae8",a:"15.0"},{n:["head shaking horizontally"],u:"1f642-200d-2194-fe0f",a:"15.1"},{n:["head shaking vertically"],u:"1f642-200d-2195-fe0f",a:"15.1"},{n:["relieved","relieved face"],u:"1f60c",a:"0.6"},{n:["pensive","pensive face"],u:"1f614",a:"0.6"},{n:["sleepy","sleepy face"],u:"1f62a",a:"0.6"},{n:["drooling face"],u:"1f924",a:"3.0"},{n:["sleeping","sleeping face"],u:"1f634",a:"1.0"},{n:["mask","face with medical mask"],u:"1f637",a:"0.6"},{n:["face with thermometer"],u:"1f912",a:"1.0"},{n:["face with head-bandage","face with head bandage"],u:"1f915",a:"1.0"},{n:["nauseated face"],u:"1f922",a:"3.0"},{n:["face vomiting","face with open mouth vomiting"],u:"1f92e",a:"5.0"},{n:["sneezing face"],u:"1f927",a:"3.0"},{n:["hot face","overheated face"],u:"1f975",a:"11.0"},{n:["cold face","freezing face"],u:"1f976",a:"11.0"},{n:["woozy face","face with uneven eyes and wavy mouth"],u:"1f974",a:"11.0"},{n:["dizzy face"],u:"1f635",a:"0.6"},{n:["face with spiral eyes"],u:"1f635-200d-1f4ab",a:"13.1"},{n:["exploding head","shocked face with exploding head"],u:"1f92f",a:"5.0"},{n:["face with cowboy hat"],u:"1f920",a:"3.0"},{n:["partying face","face with party horn and party hat"],u:"1f973",a:"11.0"},{n:["disguised face"],u:"1f978",a:"13.0"},{n:["sunglasses","smiling face with sunglasses"],u:"1f60e",a:"1.0"},{n:["nerd face"],u:"1f913",a:"1.0"},{n:["face with monocle"],u:"1f9d0",a:"5.0"},{n:["confused","confused face"],u:"1f615",a:"1.0"},{n:["face with diagonal mouth"],u:"1fae4",a:"14.0"},{n:["worried","worried face"],u:"1f61f",a:"1.0"},{n:["slightly frowning face"],u:"1f641",a:"1.0"},{n:["frowning face","white frowning face"],u:"2639-fe0f",a:"0.7"},{n:["open mouth","face with open mouth"],u:"1f62e",a:"1.0"},{n:["hushed","hushed face"],u:"1f62f",a:"1.0"},{n:["astonished","astonished face"],u:"1f632",a:"0.6"},{n:["flushed","flushed face"],u:"1f633",a:"0.6"},{n:["pleading face","face with pleading eyes"],u:"1f97a",a:"11.0"},{n:["face holding back tears"],u:"1f979",a:"14.0"},{n:["frowning","frowning face with open mouth"],u:"1f626",a:"1.0"},{n:["anguished","anguished face"],u:"1f627",a:"1.0"},{n:["fearful","fearful face"],u:"1f628",a:"0.6"},{n:["cold sweat","face with open mouth and cold sweat"],u:"1f630",a:"0.6"},{n:["disappointed relieved","disappointed but relieved face"],u:"1f625",a:"0.6"},{n:["cry","crying face"],u:"1f622",a:"0.6"},{n:["sob","loudly crying face"],u:"1f62d",a:"0.6"},{n:["scream","face screaming in fear"],u:"1f631",a:"0.6"},{n:["confounded","confounded face"],u:"1f616",a:"0.6"},{n:["persevere","persevering face"],u:"1f623",a:"0.6"},{n:["disappointed","disappointed face"],u:"1f61e",a:"0.6"},{n:["sweat","face with cold sweat"],u:"1f613",a:"0.6"},{n:["weary","weary face"],u:"1f629",a:"0.6"},{n:["tired face"],u:"1f62b",a:"0.6"},{n:["yawning face"],u:"1f971",a:"12.0"},{n:["triumph","face with look of triumph"],u:"1f624",a:"0.6"},{n:["rage","pouting face"],u:"1f621",a:"0.6"},{n:["angry","angry face"],u:"1f620",a:"0.6"},{n:["face with symbols on mouth","serious face with symbols covering mouth"],u:"1f92c",a:"5.0"},{n:["smiling imp","smiling face with horns"],u:"1f608",a:"1.0"},{n:["imp"],u:"1f47f",a:"0.6"},{n:["skull"],u:"1f480",a:"0.6"},{n:["skull and crossbones"],u:"2620-fe0f",a:"1.0"},{n:["poop","shit","hankey","pile of poo"],u:"1f4a9",a:"0.6"},{n:["clown face"],u:"1f921",a:"3.0"},{n:["japanese ogre"],u:"1f479",a:"0.6"},{n:["japanese goblin"],u:"1f47a",a:"0.6"},{n:["ghost"],u:"1f47b",a:"0.6"},{n:["alien","extraterrestrial alien"],u:"1f47d",a:"0.6"},{n:["alien monster","space invader"],u:"1f47e",a:"0.6"},{n:["robot face"],u:"1f916",a:"1.0"},{n:["smiley cat","smiling cat face with open mouth"],u:"1f63a",a:"0.6"},{n:["smile cat","grinning cat face with smiling eyes"],u:"1f638",a:"0.6"},{n:["joy cat","cat face with tears of joy"],u:"1f639",a:"0.6"},{n:["heart eyes cat","smiling cat face with heart-shaped eyes"],u:"1f63b",a:"0.6"},{n:["smirk cat","cat face with wry smile"],u:"1f63c",a:"0.6"},{n:["kissing cat","kissing cat face with closed eyes"],u:"1f63d",a:"0.6"},{n:["scream cat","weary cat face"],u:"1f640",a:"0.6"},{n:["crying cat face"],u:"1f63f",a:"0.6"},{n:["pouting cat","pouting cat face"],u:"1f63e",a:"0.6"},{n:["see no evil","see-no-evil monkey"],u:"1f648",a:"0.6"},{n:["hear no evil","hear-no-evil monkey"],u:"1f649",a:"0.6"},{n:["speak no evil","speak-no-evil monkey"],u:"1f64a",a:"0.6"},{n:["love letter"],u:"1f48c",a:"0.6"},{n:["cupid","heart with arrow"],u:"1f498",a:"0.6"},{n:["gift heart","heart with ribbon"],u:"1f49d",a:"0.6"},{n:["sparkling heart"],u:"1f496",a:"0.6"},{n:["heartpulse","growing heart"],u:"1f497",a:"0.6"},{n:["heartbeat","beating heart"],u:"1f493",a:"0.6"},{n:["revolving hearts"],u:"1f49e",a:"0.6"},{n:["two hearts"],u:"1f495",a:"0.6"},{n:["heart decoration"],u:"1f49f",a:"0.6"},{n:["heart exclamation","heavy heart exclamation mark ornament"],u:"2763-fe0f",a:"1.0"},{n:["broken heart"],u:"1f494",a:"0.6"},{n:["heart on fire"],u:"2764-fe0f-200d-1f525",a:"13.1"},{n:["mending heart"],u:"2764-fe0f-200d-1fa79",a:"13.1"},{n:["heart","heavy black heart"],u:"2764-fe0f",a:"0.6"},{n:["pink heart"],u:"1fa77",a:"15.0"},{n:["orange heart"],u:"1f9e1",a:"5.0"},{n:["yellow heart"],u:"1f49b",a:"0.6"},{n:["green heart"],u:"1f49a",a:"0.6"},{n:["blue heart"],u:"1f499",a:"0.6"},{n:["light blue heart"],u:"1fa75",a:"15.0"},{n:["purple heart"],u:"1f49c",a:"0.6"},{n:["brown heart"],u:"1f90e",a:"12.0"},{n:["black heart"],u:"1f5a4",a:"3.0"},{n:["grey heart"],u:"1fa76",a:"15.0"},{n:["white heart"],u:"1f90d",a:"12.0"},{n:["kiss","kiss mark"],u:"1f48b",a:"0.6"},{n:["100","hundred points symbol"],u:"1f4af",a:"0.6"},{n:["anger","anger symbol"],u:"1f4a2",a:"0.6"},{n:["boom","collision","collision symbol"],u:"1f4a5",a:"0.6"},{n:["dizzy","dizzy symbol"],u:"1f4ab",a:"0.6"},{n:["sweat drops","splashing sweat symbol"],u:"1f4a6",a:"0.6"},{n:["dash","dash symbol"],u:"1f4a8",a:"0.6"},{n:["hole"],u:"1f573-fe0f",a:"0.7"},{n:["speech balloon"],u:"1f4ac",a:"0.6"},{n:["eye in speech bubble","eye-in-speech-bubble"],u:"1f441-fe0f-200d-1f5e8-fe0f",a:"2.0"},{n:["left speech bubble"],u:"1f5e8-fe0f",a:"2.0"},{n:["right anger bubble"],u:"1f5ef-fe0f",a:"0.7"},{n:["thought balloon"],u:"1f4ad",a:"1.0"},{n:["zzz","sleeping symbol"],u:"1f4a4",a:"0.6"},{n:["wave","waving hand sign"],u:"1f44b",v:["1f44b-1f3fb","1f44b-1f3fc","1f44b-1f3fd","1f44b-1f3fe","1f44b-1f3ff"],a:"0.6"},{n:["raised back of hand"],u:"1f91a",v:["1f91a-1f3fb","1f91a-1f3fc","1f91a-1f3fd","1f91a-1f3fe","1f91a-1f3ff"],a:"3.0"},{n:["hand with fingers splayed","raised hand with fingers splayed"],u:"1f590-fe0f",v:["1f590-1f3fb","1f590-1f3fc","1f590-1f3fd","1f590-1f3fe","1f590-1f3ff"],a:"0.7"},{n:["hand","raised hand"],u:"270b",v:["270b-1f3fb","270b-1f3fc","270b-1f3fd","270b-1f3fe","270b-1f3ff"],a:"0.6"},{n:["spock-hand","raised hand with part between middle and ring fingers"],u:"1f596",v:["1f596-1f3fb","1f596-1f3fc","1f596-1f3fd","1f596-1f3fe","1f596-1f3ff"],a:"1.0"},{n:["rightwards hand"],u:"1faf1",v:["1faf1-1f3fb","1faf1-1f3fc","1faf1-1f3fd","1faf1-1f3fe","1faf1-1f3ff"],a:"14.0"},{n:["leftwards hand"],u:"1faf2",v:["1faf2-1f3fb","1faf2-1f3fc","1faf2-1f3fd","1faf2-1f3fe","1faf2-1f3ff"],a:"14.0"},{n:["palm down hand"],u:"1faf3",v:["1faf3-1f3fb","1faf3-1f3fc","1faf3-1f3fd","1faf3-1f3fe","1faf3-1f3ff"],a:"14.0"},{n:["palm up hand"],u:"1faf4",v:["1faf4-1f3fb","1faf4-1f3fc","1faf4-1f3fd","1faf4-1f3fe","1faf4-1f3ff"],a:"14.0"},{n:["leftwards pushing hand"],u:"1faf7",v:["1faf7-1f3fb","1faf7-1f3fc","1faf7-1f3fd","1faf7-1f3fe","1faf7-1f3ff"],a:"15.0"},{n:["rightwards pushing hand"],u:"1faf8",v:["1faf8-1f3fb","1faf8-1f3fc","1faf8-1f3fd","1faf8-1f3fe","1faf8-1f3ff"],a:"15.0"},{n:["ok hand","ok hand sign"],u:"1f44c",v:["1f44c-1f3fb","1f44c-1f3fc","1f44c-1f3fd","1f44c-1f3fe","1f44c-1f3ff"],a:"0.6"},{n:["pinched fingers"],u:"1f90c",v:["1f90c-1f3fb","1f90c-1f3fc","1f90c-1f3fd","1f90c-1f3fe","1f90c-1f3ff"],a:"13.0"},{n:["pinching hand"],u:"1f90f",v:["1f90f-1f3fb","1f90f-1f3fc","1f90f-1f3fd","1f90f-1f3fe","1f90f-1f3ff"],a:"12.0"},{n:["v","victory hand"],u:"270c-fe0f",v:["270c-1f3fb","270c-1f3fc","270c-1f3fd","270c-1f3fe","270c-1f3ff"],a:"0.6"},{n:["crossed fingers","hand with index and middle fingers crossed"],u:"1f91e",v:["1f91e-1f3fb","1f91e-1f3fc","1f91e-1f3fd","1f91e-1f3fe","1f91e-1f3ff"],a:"3.0"},{n:["hand with index finger and thumb crossed"],u:"1faf0",v:["1faf0-1f3fb","1faf0-1f3fc","1faf0-1f3fd","1faf0-1f3fe","1faf0-1f3ff"],a:"14.0"},{n:["i love you hand sign"],u:"1f91f",v:["1f91f-1f3fb","1f91f-1f3fc","1f91f-1f3fd","1f91f-1f3fe","1f91f-1f3ff"],a:"5.0"},{n:["the horns","sign of the horns"],u:"1f918",v:["1f918-1f3fb","1f918-1f3fc","1f918-1f3fd","1f918-1f3fe","1f918-1f3ff"],a:"1.0"},{n:["call me hand"],u:"1f919",v:["1f919-1f3fb","1f919-1f3fc","1f919-1f3fd","1f919-1f3fe","1f919-1f3ff"],a:"3.0"},{n:["point left","white left pointing backhand index"],u:"1f448",v:["1f448-1f3fb","1f448-1f3fc","1f448-1f3fd","1f448-1f3fe","1f448-1f3ff"],a:"0.6"},{n:["point right","white right pointing backhand index"],u:"1f449",v:["1f449-1f3fb","1f449-1f3fc","1f449-1f3fd","1f449-1f3fe","1f449-1f3ff"],a:"0.6"},{n:["point up 2","white up pointing backhand index"],u:"1f446",v:["1f446-1f3fb","1f446-1f3fc","1f446-1f3fd","1f446-1f3fe","1f446-1f3ff"],a:"0.6"},{n:["middle finger","reversed hand with middle finger extended"],u:"1f595",v:["1f595-1f3fb","1f595-1f3fc","1f595-1f3fd","1f595-1f3fe","1f595-1f3ff"],a:"1.0"},{n:["point down","white down pointing backhand index"],u:"1f447",v:["1f447-1f3fb","1f447-1f3fc","1f447-1f3fd","1f447-1f3fe","1f447-1f3ff"],a:"0.6"},{n:["point up","white up pointing index"],u:"261d-fe0f",v:["261d-1f3fb","261d-1f3fc","261d-1f3fd","261d-1f3fe","261d-1f3ff"],a:"0.6"},{n:["index pointing at the viewer"],u:"1faf5",v:["1faf5-1f3fb","1faf5-1f3fc","1faf5-1f3fd","1faf5-1f3fe","1faf5-1f3ff"],a:"14.0"},{n:["+1","thumbsup","thumbs up sign"],u:"1f44d",v:["1f44d-1f3fb","1f44d-1f3fc","1f44d-1f3fd","1f44d-1f3fe","1f44d-1f3ff"],a:"0.6"},{n:["-1","thumbsdown","thumbs down sign"],u:"1f44e",v:["1f44e-1f3fb","1f44e-1f3fc","1f44e-1f3fd","1f44e-1f3fe","1f44e-1f3ff"],a:"0.6"},{n:["fist","raised fist"],u:"270a",v:["270a-1f3fb","270a-1f3fc","270a-1f3fd","270a-1f3fe","270a-1f3ff"],a:"0.6"},{n:["punch","facepunch","fisted hand sign"],u:"1f44a",v:["1f44a-1f3fb","1f44a-1f3fc","1f44a-1f3fd","1f44a-1f3fe","1f44a-1f3ff"],a:"0.6"},{n:["left-facing fist"],u:"1f91b",v:["1f91b-1f3fb","1f91b-1f3fc","1f91b-1f3fd","1f91b-1f3fe","1f91b-1f3ff"],a:"3.0"},{n:["right-facing fist"],u:"1f91c",v:["1f91c-1f3fb","1f91c-1f3fc","1f91c-1f3fd","1f91c-1f3fe","1f91c-1f3ff"],a:"3.0"},{n:["clap","clapping hands sign"],u:"1f44f",v:["1f44f-1f3fb","1f44f-1f3fc","1f44f-1f3fd","1f44f-1f3fe","1f44f-1f3ff"],a:"0.6"},{n:["raised hands","person raising both hands in celebration"],u:"1f64c",v:["1f64c-1f3fb","1f64c-1f3fc","1f64c-1f3fd","1f64c-1f3fe","1f64c-1f3ff"],a:"0.6"},{n:["heart hands"],u:"1faf6",v:["1faf6-1f3fb","1faf6-1f3fc","1faf6-1f3fd","1faf6-1f3fe","1faf6-1f3ff"],a:"14.0"},{n:["open hands","open hands sign"],u:"1f450",v:["1f450-1f3fb","1f450-1f3fc","1f450-1f3fd","1f450-1f3fe","1f450-1f3ff"],a:"0.6"},{n:["palms up together"],u:"1f932",v:["1f932-1f3fb","1f932-1f3fc","1f932-1f3fd","1f932-1f3fe","1f932-1f3ff"],a:"5.0"},{n:["handshake"],u:"1f91d",v:["1f91d-1f3fb","1f91d-1f3fc","1f91d-1f3fd","1f91d-1f3fe","1f91d-1f3ff","1faf1-1f3fb-200d-1faf2-1f3fc","1faf1-1f3fb-200d-1faf2-1f3fd","1faf1-1f3fb-200d-1faf2-1f3fe","1faf1-1f3fb-200d-1faf2-1f3ff","1faf1-1f3fc-200d-1faf2-1f3fb","1faf1-1f3fc-200d-1faf2-1f3fd","1faf1-1f3fc-200d-1faf2-1f3fe","1faf1-1f3fc-200d-1faf2-1f3ff","1faf1-1f3fd-200d-1faf2-1f3fb","1faf1-1f3fd-200d-1faf2-1f3fc","1faf1-1f3fd-200d-1faf2-1f3fe","1faf1-1f3fd-200d-1faf2-1f3ff","1faf1-1f3fe-200d-1faf2-1f3fb","1faf1-1f3fe-200d-1faf2-1f3fc","1faf1-1f3fe-200d-1faf2-1f3fd","1faf1-1f3fe-200d-1faf2-1f3ff","1faf1-1f3ff-200d-1faf2-1f3fb","1faf1-1f3ff-200d-1faf2-1f3fc","1faf1-1f3ff-200d-1faf2-1f3fd","1faf1-1f3ff-200d-1faf2-1f3fe"],a:"3.0"},{n:["pray","person with folded hands"],u:"1f64f",v:["1f64f-1f3fb","1f64f-1f3fc","1f64f-1f3fd","1f64f-1f3fe","1f64f-1f3ff"],a:"0.6"},{n:["writing hand"],u:"270d-fe0f",v:["270d-1f3fb","270d-1f3fc","270d-1f3fd","270d-1f3fe","270d-1f3ff"],a:"0.7"},{n:["nail care","nail polish"],u:"1f485",v:["1f485-1f3fb","1f485-1f3fc","1f485-1f3fd","1f485-1f3fe","1f485-1f3ff"],a:"0.6"},{n:["selfie"],u:"1f933",v:["1f933-1f3fb","1f933-1f3fc","1f933-1f3fd","1f933-1f3fe","1f933-1f3ff"],a:"3.0"},{n:["muscle","flexed biceps"],u:"1f4aa",v:["1f4aa-1f3fb","1f4aa-1f3fc","1f4aa-1f3fd","1f4aa-1f3fe","1f4aa-1f3ff"],a:"0.6"},{n:["mechanical arm"],u:"1f9be",a:"12.0"},{n:["mechanical leg"],u:"1f9bf",a:"12.0"},{n:["leg"],u:"1f9b5",v:["1f9b5-1f3fb","1f9b5-1f3fc","1f9b5-1f3fd","1f9b5-1f3fe","1f9b5-1f3ff"],a:"11.0"},{n:["foot"],u:"1f9b6",v:["1f9b6-1f3fb","1f9b6-1f3fc","1f9b6-1f3fd","1f9b6-1f3fe","1f9b6-1f3ff"],a:"11.0"},{n:["ear"],u:"1f442",v:["1f442-1f3fb","1f442-1f3fc","1f442-1f3fd","1f442-1f3fe","1f442-1f3ff"],a:"0.6"},{n:["ear with hearing aid"],u:"1f9bb",v:["1f9bb-1f3fb","1f9bb-1f3fc","1f9bb-1f3fd","1f9bb-1f3fe","1f9bb-1f3ff"],a:"12.0"},{n:["nose"],u:"1f443",v:["1f443-1f3fb","1f443-1f3fc","1f443-1f3fd","1f443-1f3fe","1f443-1f3ff"],a:"0.6"},{n:["brain"],u:"1f9e0",a:"5.0"},{n:["anatomical heart"],u:"1fac0",a:"13.0"},{n:["lungs"],u:"1fac1",a:"13.0"},{n:["tooth"],u:"1f9b7",a:"11.0"},{n:["bone"],u:"1f9b4",a:"11.0"},{n:["eyes"],u:"1f440",a:"0.6"},{n:["eye"],u:"1f441-fe0f",a:"0.7"},{n:["tongue"],u:"1f445",a:"0.6"},{n:["lips","mouth"],u:"1f444",a:"0.6"},{n:["biting lip"],u:"1fae6",a:"14.0"},{n:["baby"],u:"1f476",v:["1f476-1f3fb","1f476-1f3fc","1f476-1f3fd","1f476-1f3fe","1f476-1f3ff"],a:"0.6"},{n:["child"],u:"1f9d2",v:["1f9d2-1f3fb","1f9d2-1f3fc","1f9d2-1f3fd","1f9d2-1f3fe","1f9d2-1f3ff"],a:"5.0"},{n:["boy"],u:"1f466",v:["1f466-1f3fb","1f466-1f3fc","1f466-1f3fd","1f466-1f3fe","1f466-1f3ff"],a:"0.6"},{n:["girl"],u:"1f467",v:["1f467-1f3fb","1f467-1f3fc","1f467-1f3fd","1f467-1f3fe","1f467-1f3ff"],a:"0.6"},{n:["adult"],u:"1f9d1",v:["1f9d1-1f3fb","1f9d1-1f3fc","1f9d1-1f3fd","1f9d1-1f3fe","1f9d1-1f3ff"],a:"5.0"},{n:["person with blond hair"],u:"1f471",v:["1f471-1f3fb","1f471-1f3fc","1f471-1f3fd","1f471-1f3fe","1f471-1f3ff"],a:"0.6"},{n:["man"],u:"1f468",v:["1f468-1f3fb","1f468-1f3fc","1f468-1f3fd","1f468-1f3fe","1f468-1f3ff"],a:"0.6"},{n:["bearded person"],u:"1f9d4",v:["1f9d4-1f3fb","1f9d4-1f3fc","1f9d4-1f3fd","1f9d4-1f3fe","1f9d4-1f3ff"],a:"5.0"},{n:["man: beard","man with beard"],u:"1f9d4-200d-2642-fe0f",v:["1f9d4-1f3fb-200d-2642-fe0f","1f9d4-1f3fc-200d-2642-fe0f","1f9d4-1f3fd-200d-2642-fe0f","1f9d4-1f3fe-200d-2642-fe0f","1f9d4-1f3ff-200d-2642-fe0f"],a:"13.1"},{n:["woman: beard","woman with beard"],u:"1f9d4-200d-2640-fe0f",v:["1f9d4-1f3fb-200d-2640-fe0f","1f9d4-1f3fc-200d-2640-fe0f","1f9d4-1f3fd-200d-2640-fe0f","1f9d4-1f3fe-200d-2640-fe0f","1f9d4-1f3ff-200d-2640-fe0f"],a:"13.1"},{n:["man: red hair","red haired man"],u:"1f468-200d-1f9b0",v:["1f468-1f3fb-200d-1f9b0","1f468-1f3fc-200d-1f9b0","1f468-1f3fd-200d-1f9b0","1f468-1f3fe-200d-1f9b0","1f468-1f3ff-200d-1f9b0"],a:"11.0"},{n:["man: curly hair","curly haired man"],u:"1f468-200d-1f9b1",v:["1f468-1f3fb-200d-1f9b1","1f468-1f3fc-200d-1f9b1","1f468-1f3fd-200d-1f9b1","1f468-1f3fe-200d-1f9b1","1f468-1f3ff-200d-1f9b1"],a:"11.0"},{n:["man: white hair","white haired man"],u:"1f468-200d-1f9b3",v:["1f468-1f3fb-200d-1f9b3","1f468-1f3fc-200d-1f9b3","1f468-1f3fd-200d-1f9b3","1f468-1f3fe-200d-1f9b3","1f468-1f3ff-200d-1f9b3"],a:"11.0"},{n:["bald man","man: bald"],u:"1f468-200d-1f9b2",v:["1f468-1f3fb-200d-1f9b2","1f468-1f3fc-200d-1f9b2","1f468-1f3fd-200d-1f9b2","1f468-1f3fe-200d-1f9b2","1f468-1f3ff-200d-1f9b2"],a:"11.0"},{n:["woman"],u:"1f469",v:["1f469-1f3fb","1f469-1f3fc","1f469-1f3fd","1f469-1f3fe","1f469-1f3ff"],a:"0.6"},{n:["woman: red hair","red haired woman"],u:"1f469-200d-1f9b0",v:["1f469-1f3fb-200d-1f9b0","1f469-1f3fc-200d-1f9b0","1f469-1f3fd-200d-1f9b0","1f469-1f3fe-200d-1f9b0","1f469-1f3ff-200d-1f9b0"],a:"11.0"},{n:["person: red hair","red haired person"],u:"1f9d1-200d-1f9b0",v:["1f9d1-1f3fb-200d-1f9b0","1f9d1-1f3fc-200d-1f9b0","1f9d1-1f3fd-200d-1f9b0","1f9d1-1f3fe-200d-1f9b0","1f9d1-1f3ff-200d-1f9b0"],a:"12.1"},{n:["woman: curly hair","curly haired woman"],u:"1f469-200d-1f9b1",v:["1f469-1f3fb-200d-1f9b1","1f469-1f3fc-200d-1f9b1","1f469-1f3fd-200d-1f9b1","1f469-1f3fe-200d-1f9b1","1f469-1f3ff-200d-1f9b1"],a:"11.0"},{n:["person: curly hair","curly haired person"],u:"1f9d1-200d-1f9b1",v:["1f9d1-1f3fb-200d-1f9b1","1f9d1-1f3fc-200d-1f9b1","1f9d1-1f3fd-200d-1f9b1","1f9d1-1f3fe-200d-1f9b1","1f9d1-1f3ff-200d-1f9b1"],a:"12.1"},{n:["woman: white hair","white haired woman"],u:"1f469-200d-1f9b3",v:["1f469-1f3fb-200d-1f9b3","1f469-1f3fc-200d-1f9b3","1f469-1f3fd-200d-1f9b3","1f469-1f3fe-200d-1f9b3","1f469-1f3ff-200d-1f9b3"],a:"11.0"},{n:["person: white hair","white haired person"],u:"1f9d1-200d-1f9b3",v:["1f9d1-1f3fb-200d-1f9b3","1f9d1-1f3fc-200d-1f9b3","1f9d1-1f3fd-200d-1f9b3","1f9d1-1f3fe-200d-1f9b3","1f9d1-1f3ff-200d-1f9b3"],a:"12.1"},{n:["bald woman","woman: bald"],u:"1f469-200d-1f9b2",v:["1f469-1f3fb-200d-1f9b2","1f469-1f3fc-200d-1f9b2","1f469-1f3fd-200d-1f9b2","1f469-1f3fe-200d-1f9b2","1f469-1f3ff-200d-1f9b2"],a:"11.0"},{n:["bald person","person: bald"],u:"1f9d1-200d-1f9b2",v:["1f9d1-1f3fb-200d-1f9b2","1f9d1-1f3fc-200d-1f9b2","1f9d1-1f3fd-200d-1f9b2","1f9d1-1f3fe-200d-1f9b2","1f9d1-1f3ff-200d-1f9b2"],a:"12.1"},{n:["woman: blond hair","blond-haired-woman"],u:"1f471-200d-2640-fe0f",v:["1f471-1f3fb-200d-2640-fe0f","1f471-1f3fc-200d-2640-fe0f","1f471-1f3fd-200d-2640-fe0f","1f471-1f3fe-200d-2640-fe0f","1f471-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["man: blond hair","blond-haired-man"],u:"1f471-200d-2642-fe0f",v:["1f471-1f3fb-200d-2642-fe0f","1f471-1f3fc-200d-2642-fe0f","1f471-1f3fd-200d-2642-fe0f","1f471-1f3fe-200d-2642-fe0f","1f471-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["older adult"],u:"1f9d3",v:["1f9d3-1f3fb","1f9d3-1f3fc","1f9d3-1f3fd","1f9d3-1f3fe","1f9d3-1f3ff"],a:"5.0"},{n:["older man"],u:"1f474",v:["1f474-1f3fb","1f474-1f3fc","1f474-1f3fd","1f474-1f3fe","1f474-1f3ff"],a:"0.6"},{n:["older woman"],u:"1f475",v:["1f475-1f3fb","1f475-1f3fc","1f475-1f3fd","1f475-1f3fe","1f475-1f3ff"],a:"0.6"},{n:["person frowning"],u:"1f64d",v:["1f64d-1f3fb","1f64d-1f3fc","1f64d-1f3fd","1f64d-1f3fe","1f64d-1f3ff"],a:"0.6"},{n:["man frowning","man-frowning"],u:"1f64d-200d-2642-fe0f",v:["1f64d-1f3fb-200d-2642-fe0f","1f64d-1f3fc-200d-2642-fe0f","1f64d-1f3fd-200d-2642-fe0f","1f64d-1f3fe-200d-2642-fe0f","1f64d-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman frowning","woman-frowning"],u:"1f64d-200d-2640-fe0f",v:["1f64d-1f3fb-200d-2640-fe0f","1f64d-1f3fc-200d-2640-fe0f","1f64d-1f3fd-200d-2640-fe0f","1f64d-1f3fe-200d-2640-fe0f","1f64d-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with pouting face"],u:"1f64e",v:["1f64e-1f3fb","1f64e-1f3fc","1f64e-1f3fd","1f64e-1f3fe","1f64e-1f3ff"],a:"0.6"},{n:["man pouting","man-pouting"],u:"1f64e-200d-2642-fe0f",v:["1f64e-1f3fb-200d-2642-fe0f","1f64e-1f3fc-200d-2642-fe0f","1f64e-1f3fd-200d-2642-fe0f","1f64e-1f3fe-200d-2642-fe0f","1f64e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman pouting","woman-pouting"],u:"1f64e-200d-2640-fe0f",v:["1f64e-1f3fb-200d-2640-fe0f","1f64e-1f3fc-200d-2640-fe0f","1f64e-1f3fd-200d-2640-fe0f","1f64e-1f3fe-200d-2640-fe0f","1f64e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["no good","face with no good gesture"],u:"1f645",v:["1f645-1f3fb","1f645-1f3fc","1f645-1f3fd","1f645-1f3fe","1f645-1f3ff"],a:"0.6"},{n:["man gesturing no","man-gesturing-no"],u:"1f645-200d-2642-fe0f",v:["1f645-1f3fb-200d-2642-fe0f","1f645-1f3fc-200d-2642-fe0f","1f645-1f3fd-200d-2642-fe0f","1f645-1f3fe-200d-2642-fe0f","1f645-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman gesturing no","woman-gesturing-no"],u:"1f645-200d-2640-fe0f",v:["1f645-1f3fb-200d-2640-fe0f","1f645-1f3fc-200d-2640-fe0f","1f645-1f3fd-200d-2640-fe0f","1f645-1f3fe-200d-2640-fe0f","1f645-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["ok woman","face with ok gesture"],u:"1f646",v:["1f646-1f3fb","1f646-1f3fc","1f646-1f3fd","1f646-1f3fe","1f646-1f3ff"],a:"0.6"},{n:["man gesturing ok","man-gesturing-ok"],u:"1f646-200d-2642-fe0f",v:["1f646-1f3fb-200d-2642-fe0f","1f646-1f3fc-200d-2642-fe0f","1f646-1f3fd-200d-2642-fe0f","1f646-1f3fe-200d-2642-fe0f","1f646-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman gesturing ok","woman-gesturing-ok"],u:"1f646-200d-2640-fe0f",v:["1f646-1f3fb-200d-2640-fe0f","1f646-1f3fc-200d-2640-fe0f","1f646-1f3fd-200d-2640-fe0f","1f646-1f3fe-200d-2640-fe0f","1f646-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["information desk person"],u:"1f481",v:["1f481-1f3fb","1f481-1f3fc","1f481-1f3fd","1f481-1f3fe","1f481-1f3ff"],a:"0.6"},{n:["man tipping hand","man-tipping-hand"],u:"1f481-200d-2642-fe0f",v:["1f481-1f3fb-200d-2642-fe0f","1f481-1f3fc-200d-2642-fe0f","1f481-1f3fd-200d-2642-fe0f","1f481-1f3fe-200d-2642-fe0f","1f481-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman tipping hand","woman-tipping-hand"],u:"1f481-200d-2640-fe0f",v:["1f481-1f3fb-200d-2640-fe0f","1f481-1f3fc-200d-2640-fe0f","1f481-1f3fd-200d-2640-fe0f","1f481-1f3fe-200d-2640-fe0f","1f481-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["raising hand","happy person raising one hand"],u:"1f64b",v:["1f64b-1f3fb","1f64b-1f3fc","1f64b-1f3fd","1f64b-1f3fe","1f64b-1f3ff"],a:"0.6"},{n:["man raising hand","man-raising-hand"],u:"1f64b-200d-2642-fe0f",v:["1f64b-1f3fb-200d-2642-fe0f","1f64b-1f3fc-200d-2642-fe0f","1f64b-1f3fd-200d-2642-fe0f","1f64b-1f3fe-200d-2642-fe0f","1f64b-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman raising hand","woman-raising-hand"],u:"1f64b-200d-2640-fe0f",v:["1f64b-1f3fb-200d-2640-fe0f","1f64b-1f3fc-200d-2640-fe0f","1f64b-1f3fd-200d-2640-fe0f","1f64b-1f3fe-200d-2640-fe0f","1f64b-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["deaf person"],u:"1f9cf",v:["1f9cf-1f3fb","1f9cf-1f3fc","1f9cf-1f3fd","1f9cf-1f3fe","1f9cf-1f3ff"],a:"12.0"},{n:["deaf man"],u:"1f9cf-200d-2642-fe0f",v:["1f9cf-1f3fb-200d-2642-fe0f","1f9cf-1f3fc-200d-2642-fe0f","1f9cf-1f3fd-200d-2642-fe0f","1f9cf-1f3fe-200d-2642-fe0f","1f9cf-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["deaf woman"],u:"1f9cf-200d-2640-fe0f",v:["1f9cf-1f3fb-200d-2640-fe0f","1f9cf-1f3fc-200d-2640-fe0f","1f9cf-1f3fd-200d-2640-fe0f","1f9cf-1f3fe-200d-2640-fe0f","1f9cf-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["bow","person bowing deeply"],u:"1f647",v:["1f647-1f3fb","1f647-1f3fc","1f647-1f3fd","1f647-1f3fe","1f647-1f3ff"],a:"0.6"},{n:["man bowing","man-bowing"],u:"1f647-200d-2642-fe0f",v:["1f647-1f3fb-200d-2642-fe0f","1f647-1f3fc-200d-2642-fe0f","1f647-1f3fd-200d-2642-fe0f","1f647-1f3fe-200d-2642-fe0f","1f647-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman bowing","woman-bowing"],u:"1f647-200d-2640-fe0f",v:["1f647-1f3fb-200d-2640-fe0f","1f647-1f3fc-200d-2640-fe0f","1f647-1f3fd-200d-2640-fe0f","1f647-1f3fe-200d-2640-fe0f","1f647-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["face palm"],u:"1f926",v:["1f926-1f3fb","1f926-1f3fc","1f926-1f3fd","1f926-1f3fe","1f926-1f3ff"],a:"3.0"},{n:["man facepalming","man-facepalming"],u:"1f926-200d-2642-fe0f",v:["1f926-1f3fb-200d-2642-fe0f","1f926-1f3fc-200d-2642-fe0f","1f926-1f3fd-200d-2642-fe0f","1f926-1f3fe-200d-2642-fe0f","1f926-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman facepalming","woman-facepalming"],u:"1f926-200d-2640-fe0f",v:["1f926-1f3fb-200d-2640-fe0f","1f926-1f3fc-200d-2640-fe0f","1f926-1f3fd-200d-2640-fe0f","1f926-1f3fe-200d-2640-fe0f","1f926-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["shrug"],u:"1f937",v:["1f937-1f3fb","1f937-1f3fc","1f937-1f3fd","1f937-1f3fe","1f937-1f3ff"],a:"3.0"},{n:["man shrugging","man-shrugging"],u:"1f937-200d-2642-fe0f",v:["1f937-1f3fb-200d-2642-fe0f","1f937-1f3fc-200d-2642-fe0f","1f937-1f3fd-200d-2642-fe0f","1f937-1f3fe-200d-2642-fe0f","1f937-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman shrugging","woman-shrugging"],u:"1f937-200d-2640-fe0f",v:["1f937-1f3fb-200d-2640-fe0f","1f937-1f3fc-200d-2640-fe0f","1f937-1f3fd-200d-2640-fe0f","1f937-1f3fe-200d-2640-fe0f","1f937-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["health worker"],u:"1f9d1-200d-2695-fe0f",v:["1f9d1-1f3fb-200d-2695-fe0f","1f9d1-1f3fc-200d-2695-fe0f","1f9d1-1f3fd-200d-2695-fe0f","1f9d1-1f3fe-200d-2695-fe0f","1f9d1-1f3ff-200d-2695-fe0f"],a:"12.1"},{n:["male-doctor","man health worker"],u:"1f468-200d-2695-fe0f",v:["1f468-1f3fb-200d-2695-fe0f","1f468-1f3fc-200d-2695-fe0f","1f468-1f3fd-200d-2695-fe0f","1f468-1f3fe-200d-2695-fe0f","1f468-1f3ff-200d-2695-fe0f"],a:"4.0"},{n:["female-doctor","woman health worker"],u:"1f469-200d-2695-fe0f",v:["1f469-1f3fb-200d-2695-fe0f","1f469-1f3fc-200d-2695-fe0f","1f469-1f3fd-200d-2695-fe0f","1f469-1f3fe-200d-2695-fe0f","1f469-1f3ff-200d-2695-fe0f"],a:"4.0"},{n:["student"],u:"1f9d1-200d-1f393",v:["1f9d1-1f3fb-200d-1f393","1f9d1-1f3fc-200d-1f393","1f9d1-1f3fd-200d-1f393","1f9d1-1f3fe-200d-1f393","1f9d1-1f3ff-200d-1f393"],a:"12.1"},{n:["man student","male-student"],u:"1f468-200d-1f393",v:["1f468-1f3fb-200d-1f393","1f468-1f3fc-200d-1f393","1f468-1f3fd-200d-1f393","1f468-1f3fe-200d-1f393","1f468-1f3ff-200d-1f393"],a:"4.0"},{n:["woman student","female-student"],u:"1f469-200d-1f393",v:["1f469-1f3fb-200d-1f393","1f469-1f3fc-200d-1f393","1f469-1f3fd-200d-1f393","1f469-1f3fe-200d-1f393","1f469-1f3ff-200d-1f393"],a:"4.0"},{n:["teacher"],u:"1f9d1-200d-1f3eb",v:["1f9d1-1f3fb-200d-1f3eb","1f9d1-1f3fc-200d-1f3eb","1f9d1-1f3fd-200d-1f3eb","1f9d1-1f3fe-200d-1f3eb","1f9d1-1f3ff-200d-1f3eb"],a:"12.1"},{n:["man teacher","male-teacher"],u:"1f468-200d-1f3eb",v:["1f468-1f3fb-200d-1f3eb","1f468-1f3fc-200d-1f3eb","1f468-1f3fd-200d-1f3eb","1f468-1f3fe-200d-1f3eb","1f468-1f3ff-200d-1f3eb"],a:"4.0"},{n:["woman teacher","female-teacher"],u:"1f469-200d-1f3eb",v:["1f469-1f3fb-200d-1f3eb","1f469-1f3fc-200d-1f3eb","1f469-1f3fd-200d-1f3eb","1f469-1f3fe-200d-1f3eb","1f469-1f3ff-200d-1f3eb"],a:"4.0"},{n:["judge"],u:"1f9d1-200d-2696-fe0f",v:["1f9d1-1f3fb-200d-2696-fe0f","1f9d1-1f3fc-200d-2696-fe0f","1f9d1-1f3fd-200d-2696-fe0f","1f9d1-1f3fe-200d-2696-fe0f","1f9d1-1f3ff-200d-2696-fe0f"],a:"12.1"},{n:["man judge","male-judge"],u:"1f468-200d-2696-fe0f",v:["1f468-1f3fb-200d-2696-fe0f","1f468-1f3fc-200d-2696-fe0f","1f468-1f3fd-200d-2696-fe0f","1f468-1f3fe-200d-2696-fe0f","1f468-1f3ff-200d-2696-fe0f"],a:"4.0"},{n:["woman judge","female-judge"],u:"1f469-200d-2696-fe0f",v:["1f469-1f3fb-200d-2696-fe0f","1f469-1f3fc-200d-2696-fe0f","1f469-1f3fd-200d-2696-fe0f","1f469-1f3fe-200d-2696-fe0f","1f469-1f3ff-200d-2696-fe0f"],a:"4.0"},{n:["farmer"],u:"1f9d1-200d-1f33e",v:["1f9d1-1f3fb-200d-1f33e","1f9d1-1f3fc-200d-1f33e","1f9d1-1f3fd-200d-1f33e","1f9d1-1f3fe-200d-1f33e","1f9d1-1f3ff-200d-1f33e"],a:"12.1"},{n:["man farmer","male-farmer"],u:"1f468-200d-1f33e",v:["1f468-1f3fb-200d-1f33e","1f468-1f3fc-200d-1f33e","1f468-1f3fd-200d-1f33e","1f468-1f3fe-200d-1f33e","1f468-1f3ff-200d-1f33e"],a:"4.0"},{n:["woman farmer","female-farmer"],u:"1f469-200d-1f33e",v:["1f469-1f3fb-200d-1f33e","1f469-1f3fc-200d-1f33e","1f469-1f3fd-200d-1f33e","1f469-1f3fe-200d-1f33e","1f469-1f3ff-200d-1f33e"],a:"4.0"},{n:["cook"],u:"1f9d1-200d-1f373",v:["1f9d1-1f3fb-200d-1f373","1f9d1-1f3fc-200d-1f373","1f9d1-1f3fd-200d-1f373","1f9d1-1f3fe-200d-1f373","1f9d1-1f3ff-200d-1f373"],a:"12.1"},{n:["man cook","male-cook"],u:"1f468-200d-1f373",v:["1f468-1f3fb-200d-1f373","1f468-1f3fc-200d-1f373","1f468-1f3fd-200d-1f373","1f468-1f3fe-200d-1f373","1f468-1f3ff-200d-1f373"],a:"4.0"},{n:["woman cook","female-cook"],u:"1f469-200d-1f373",v:["1f469-1f3fb-200d-1f373","1f469-1f3fc-200d-1f373","1f469-1f3fd-200d-1f373","1f469-1f3fe-200d-1f373","1f469-1f3ff-200d-1f373"],a:"4.0"},{n:["mechanic"],u:"1f9d1-200d-1f527",v:["1f9d1-1f3fb-200d-1f527","1f9d1-1f3fc-200d-1f527","1f9d1-1f3fd-200d-1f527","1f9d1-1f3fe-200d-1f527","1f9d1-1f3ff-200d-1f527"],a:"12.1"},{n:["man mechanic","male-mechanic"],u:"1f468-200d-1f527",v:["1f468-1f3fb-200d-1f527","1f468-1f3fc-200d-1f527","1f468-1f3fd-200d-1f527","1f468-1f3fe-200d-1f527","1f468-1f3ff-200d-1f527"],a:"4.0"},{n:["woman mechanic","female-mechanic"],u:"1f469-200d-1f527",v:["1f469-1f3fb-200d-1f527","1f469-1f3fc-200d-1f527","1f469-1f3fd-200d-1f527","1f469-1f3fe-200d-1f527","1f469-1f3ff-200d-1f527"],a:"4.0"},{n:["factory worker"],u:"1f9d1-200d-1f3ed",v:["1f9d1-1f3fb-200d-1f3ed","1f9d1-1f3fc-200d-1f3ed","1f9d1-1f3fd-200d-1f3ed","1f9d1-1f3fe-200d-1f3ed","1f9d1-1f3ff-200d-1f3ed"],a:"12.1"},{n:["man factory worker","male-factory-worker"],u:"1f468-200d-1f3ed",v:["1f468-1f3fb-200d-1f3ed","1f468-1f3fc-200d-1f3ed","1f468-1f3fd-200d-1f3ed","1f468-1f3fe-200d-1f3ed","1f468-1f3ff-200d-1f3ed"],a:"4.0"},{n:["woman factory worker","female-factory-worker"],u:"1f469-200d-1f3ed",v:["1f469-1f3fb-200d-1f3ed","1f469-1f3fc-200d-1f3ed","1f469-1f3fd-200d-1f3ed","1f469-1f3fe-200d-1f3ed","1f469-1f3ff-200d-1f3ed"],a:"4.0"},{n:["office worker"],u:"1f9d1-200d-1f4bc",v:["1f9d1-1f3fb-200d-1f4bc","1f9d1-1f3fc-200d-1f4bc","1f9d1-1f3fd-200d-1f4bc","1f9d1-1f3fe-200d-1f4bc","1f9d1-1f3ff-200d-1f4bc"],a:"12.1"},{n:["man office worker","male-office-worker"],u:"1f468-200d-1f4bc",v:["1f468-1f3fb-200d-1f4bc","1f468-1f3fc-200d-1f4bc","1f468-1f3fd-200d-1f4bc","1f468-1f3fe-200d-1f4bc","1f468-1f3ff-200d-1f4bc"],a:"4.0"},{n:["woman office worker","female-office-worker"],u:"1f469-200d-1f4bc",v:["1f469-1f3fb-200d-1f4bc","1f469-1f3fc-200d-1f4bc","1f469-1f3fd-200d-1f4bc","1f469-1f3fe-200d-1f4bc","1f469-1f3ff-200d-1f4bc"],a:"4.0"},{n:["scientist"],u:"1f9d1-200d-1f52c",v:["1f9d1-1f3fb-200d-1f52c","1f9d1-1f3fc-200d-1f52c","1f9d1-1f3fd-200d-1f52c","1f9d1-1f3fe-200d-1f52c","1f9d1-1f3ff-200d-1f52c"],a:"12.1"},{n:["man scientist","male-scientist"],u:"1f468-200d-1f52c",v:["1f468-1f3fb-200d-1f52c","1f468-1f3fc-200d-1f52c","1f468-1f3fd-200d-1f52c","1f468-1f3fe-200d-1f52c","1f468-1f3ff-200d-1f52c"],a:"4.0"},{n:["woman scientist","female-scientist"],u:"1f469-200d-1f52c",v:["1f469-1f3fb-200d-1f52c","1f469-1f3fc-200d-1f52c","1f469-1f3fd-200d-1f52c","1f469-1f3fe-200d-1f52c","1f469-1f3ff-200d-1f52c"],a:"4.0"},{n:["technologist"],u:"1f9d1-200d-1f4bb",v:["1f9d1-1f3fb-200d-1f4bb","1f9d1-1f3fc-200d-1f4bb","1f9d1-1f3fd-200d-1f4bb","1f9d1-1f3fe-200d-1f4bb","1f9d1-1f3ff-200d-1f4bb"],a:"12.1"},{n:["man technologist","male-technologist"],u:"1f468-200d-1f4bb",v:["1f468-1f3fb-200d-1f4bb","1f468-1f3fc-200d-1f4bb","1f468-1f3fd-200d-1f4bb","1f468-1f3fe-200d-1f4bb","1f468-1f3ff-200d-1f4bb"],a:"4.0"},{n:["woman technologist","female-technologist"],u:"1f469-200d-1f4bb",v:["1f469-1f3fb-200d-1f4bb","1f469-1f3fc-200d-1f4bb","1f469-1f3fd-200d-1f4bb","1f469-1f3fe-200d-1f4bb","1f469-1f3ff-200d-1f4bb"],a:"4.0"},{n:["singer"],u:"1f9d1-200d-1f3a4",v:["1f9d1-1f3fb-200d-1f3a4","1f9d1-1f3fc-200d-1f3a4","1f9d1-1f3fd-200d-1f3a4","1f9d1-1f3fe-200d-1f3a4","1f9d1-1f3ff-200d-1f3a4"],a:"12.1"},{n:["man singer","male-singer"],u:"1f468-200d-1f3a4",v:["1f468-1f3fb-200d-1f3a4","1f468-1f3fc-200d-1f3a4","1f468-1f3fd-200d-1f3a4","1f468-1f3fe-200d-1f3a4","1f468-1f3ff-200d-1f3a4"],a:"4.0"},{n:["woman singer","female-singer"],u:"1f469-200d-1f3a4",v:["1f469-1f3fb-200d-1f3a4","1f469-1f3fc-200d-1f3a4","1f469-1f3fd-200d-1f3a4","1f469-1f3fe-200d-1f3a4","1f469-1f3ff-200d-1f3a4"],a:"4.0"},{n:["artist"],u:"1f9d1-200d-1f3a8",v:["1f9d1-1f3fb-200d-1f3a8","1f9d1-1f3fc-200d-1f3a8","1f9d1-1f3fd-200d-1f3a8","1f9d1-1f3fe-200d-1f3a8","1f9d1-1f3ff-200d-1f3a8"],a:"12.1"},{n:["man artist","male-artist"],u:"1f468-200d-1f3a8",v:["1f468-1f3fb-200d-1f3a8","1f468-1f3fc-200d-1f3a8","1f468-1f3fd-200d-1f3a8","1f468-1f3fe-200d-1f3a8","1f468-1f3ff-200d-1f3a8"],a:"4.0"},{n:["woman artist","female-artist"],u:"1f469-200d-1f3a8",v:["1f469-1f3fb-200d-1f3a8","1f469-1f3fc-200d-1f3a8","1f469-1f3fd-200d-1f3a8","1f469-1f3fe-200d-1f3a8","1f469-1f3ff-200d-1f3a8"],a:"4.0"},{n:["pilot"],u:"1f9d1-200d-2708-fe0f",v:["1f9d1-1f3fb-200d-2708-fe0f","1f9d1-1f3fc-200d-2708-fe0f","1f9d1-1f3fd-200d-2708-fe0f","1f9d1-1f3fe-200d-2708-fe0f","1f9d1-1f3ff-200d-2708-fe0f"],a:"12.1"},{n:["man pilot","male-pilot"],u:"1f468-200d-2708-fe0f",v:["1f468-1f3fb-200d-2708-fe0f","1f468-1f3fc-200d-2708-fe0f","1f468-1f3fd-200d-2708-fe0f","1f468-1f3fe-200d-2708-fe0f","1f468-1f3ff-200d-2708-fe0f"],a:"4.0"},{n:["woman pilot","female-pilot"],u:"1f469-200d-2708-fe0f",v:["1f469-1f3fb-200d-2708-fe0f","1f469-1f3fc-200d-2708-fe0f","1f469-1f3fd-200d-2708-fe0f","1f469-1f3fe-200d-2708-fe0f","1f469-1f3ff-200d-2708-fe0f"],a:"4.0"},{n:["astronaut"],u:"1f9d1-200d-1f680",v:["1f9d1-1f3fb-200d-1f680","1f9d1-1f3fc-200d-1f680","1f9d1-1f3fd-200d-1f680","1f9d1-1f3fe-200d-1f680","1f9d1-1f3ff-200d-1f680"],a:"12.1"},{n:["man astronaut","male-astronaut"],u:"1f468-200d-1f680",v:["1f468-1f3fb-200d-1f680","1f468-1f3fc-200d-1f680","1f468-1f3fd-200d-1f680","1f468-1f3fe-200d-1f680","1f468-1f3ff-200d-1f680"],a:"4.0"},{n:["woman astronaut","female-astronaut"],u:"1f469-200d-1f680",v:["1f469-1f3fb-200d-1f680","1f469-1f3fc-200d-1f680","1f469-1f3fd-200d-1f680","1f469-1f3fe-200d-1f680","1f469-1f3ff-200d-1f680"],a:"4.0"},{n:["firefighter"],u:"1f9d1-200d-1f692",v:["1f9d1-1f3fb-200d-1f692","1f9d1-1f3fc-200d-1f692","1f9d1-1f3fd-200d-1f692","1f9d1-1f3fe-200d-1f692","1f9d1-1f3ff-200d-1f692"],a:"12.1"},{n:["man firefighter","male-firefighter"],u:"1f468-200d-1f692",v:["1f468-1f3fb-200d-1f692","1f468-1f3fc-200d-1f692","1f468-1f3fd-200d-1f692","1f468-1f3fe-200d-1f692","1f468-1f3ff-200d-1f692"],a:"4.0"},{n:["woman firefighter","female-firefighter"],u:"1f469-200d-1f692",v:["1f469-1f3fb-200d-1f692","1f469-1f3fc-200d-1f692","1f469-1f3fd-200d-1f692","1f469-1f3fe-200d-1f692","1f469-1f3ff-200d-1f692"],a:"4.0"},{n:["cop","police officer"],u:"1f46e",v:["1f46e-1f3fb","1f46e-1f3fc","1f46e-1f3fd","1f46e-1f3fe","1f46e-1f3ff"],a:"0.6"},{n:["man police officer","male-police-officer"],u:"1f46e-200d-2642-fe0f",v:["1f46e-1f3fb-200d-2642-fe0f","1f46e-1f3fc-200d-2642-fe0f","1f46e-1f3fd-200d-2642-fe0f","1f46e-1f3fe-200d-2642-fe0f","1f46e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman police officer","female-police-officer"],u:"1f46e-200d-2640-fe0f",v:["1f46e-1f3fb-200d-2640-fe0f","1f46e-1f3fc-200d-2640-fe0f","1f46e-1f3fd-200d-2640-fe0f","1f46e-1f3fe-200d-2640-fe0f","1f46e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["detective","sleuth or spy"],u:"1f575-fe0f",v:["1f575-1f3fb","1f575-1f3fc","1f575-1f3fd","1f575-1f3fe","1f575-1f3ff"],a:"0.7"},{n:["man detective","male-detective"],u:"1f575-fe0f-200d-2642-fe0f",v:["1f575-1f3fb-200d-2642-fe0f","1f575-1f3fc-200d-2642-fe0f","1f575-1f3fd-200d-2642-fe0f","1f575-1f3fe-200d-2642-fe0f","1f575-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman detective","female-detective"],u:"1f575-fe0f-200d-2640-fe0f",v:["1f575-1f3fb-200d-2640-fe0f","1f575-1f3fc-200d-2640-fe0f","1f575-1f3fd-200d-2640-fe0f","1f575-1f3fe-200d-2640-fe0f","1f575-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["guardsman"],u:"1f482",v:["1f482-1f3fb","1f482-1f3fc","1f482-1f3fd","1f482-1f3fe","1f482-1f3ff"],a:"0.6"},{n:["man guard","male-guard"],u:"1f482-200d-2642-fe0f",v:["1f482-1f3fb-200d-2642-fe0f","1f482-1f3fc-200d-2642-fe0f","1f482-1f3fd-200d-2642-fe0f","1f482-1f3fe-200d-2642-fe0f","1f482-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman guard","female-guard"],u:"1f482-200d-2640-fe0f",v:["1f482-1f3fb-200d-2640-fe0f","1f482-1f3fc-200d-2640-fe0f","1f482-1f3fd-200d-2640-fe0f","1f482-1f3fe-200d-2640-fe0f","1f482-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["ninja"],u:"1f977",v:["1f977-1f3fb","1f977-1f3fc","1f977-1f3fd","1f977-1f3fe","1f977-1f3ff"],a:"13.0"},{n:["construction worker"],u:"1f477",v:["1f477-1f3fb","1f477-1f3fc","1f477-1f3fd","1f477-1f3fe","1f477-1f3ff"],a:"0.6"},{n:["man construction worker","male-construction-worker"],u:"1f477-200d-2642-fe0f",v:["1f477-1f3fb-200d-2642-fe0f","1f477-1f3fc-200d-2642-fe0f","1f477-1f3fd-200d-2642-fe0f","1f477-1f3fe-200d-2642-fe0f","1f477-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman construction worker","female-construction-worker"],u:"1f477-200d-2640-fe0f",v:["1f477-1f3fb-200d-2640-fe0f","1f477-1f3fc-200d-2640-fe0f","1f477-1f3fd-200d-2640-fe0f","1f477-1f3fe-200d-2640-fe0f","1f477-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with crown"],u:"1fac5",v:["1fac5-1f3fb","1fac5-1f3fc","1fac5-1f3fd","1fac5-1f3fe","1fac5-1f3ff"],a:"14.0"},{n:["prince"],u:"1f934",v:["1f934-1f3fb","1f934-1f3fc","1f934-1f3fd","1f934-1f3fe","1f934-1f3ff"],a:"3.0"},{n:["princess"],u:"1f478",v:["1f478-1f3fb","1f478-1f3fc","1f478-1f3fd","1f478-1f3fe","1f478-1f3ff"],a:"0.6"},{n:["man with turban"],u:"1f473",v:["1f473-1f3fb","1f473-1f3fc","1f473-1f3fd","1f473-1f3fe","1f473-1f3ff"],a:"0.6"},{n:["man wearing turban","man-wearing-turban"],u:"1f473-200d-2642-fe0f",v:["1f473-1f3fb-200d-2642-fe0f","1f473-1f3fc-200d-2642-fe0f","1f473-1f3fd-200d-2642-fe0f","1f473-1f3fe-200d-2642-fe0f","1f473-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman wearing turban","woman-wearing-turban"],u:"1f473-200d-2640-fe0f",v:["1f473-1f3fb-200d-2640-fe0f","1f473-1f3fc-200d-2640-fe0f","1f473-1f3fd-200d-2640-fe0f","1f473-1f3fe-200d-2640-fe0f","1f473-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["man with gua pi mao"],u:"1f472",v:["1f472-1f3fb","1f472-1f3fc","1f472-1f3fd","1f472-1f3fe","1f472-1f3ff"],a:"0.6"},{n:["person with headscarf"],u:"1f9d5",v:["1f9d5-1f3fb","1f9d5-1f3fc","1f9d5-1f3fd","1f9d5-1f3fe","1f9d5-1f3ff"],a:"5.0"},{n:["man in tuxedo","person in tuxedo"],u:"1f935",v:["1f935-1f3fb","1f935-1f3fc","1f935-1f3fd","1f935-1f3fe","1f935-1f3ff"],a:"3.0"},{n:["man in tuxedo"],u:"1f935-200d-2642-fe0f",v:["1f935-1f3fb-200d-2642-fe0f","1f935-1f3fc-200d-2642-fe0f","1f935-1f3fd-200d-2642-fe0f","1f935-1f3fe-200d-2642-fe0f","1f935-1f3ff-200d-2642-fe0f"],a:"13.0"},{n:["woman in tuxedo"],u:"1f935-200d-2640-fe0f",v:["1f935-1f3fb-200d-2640-fe0f","1f935-1f3fc-200d-2640-fe0f","1f935-1f3fd-200d-2640-fe0f","1f935-1f3fe-200d-2640-fe0f","1f935-1f3ff-200d-2640-fe0f"],a:"13.0"},{n:["bride with veil"],u:"1f470",v:["1f470-1f3fb","1f470-1f3fc","1f470-1f3fd","1f470-1f3fe","1f470-1f3ff"],a:"0.6"},{n:["man with veil"],u:"1f470-200d-2642-fe0f",v:["1f470-1f3fb-200d-2642-fe0f","1f470-1f3fc-200d-2642-fe0f","1f470-1f3fd-200d-2642-fe0f","1f470-1f3fe-200d-2642-fe0f","1f470-1f3ff-200d-2642-fe0f"],a:"13.0"},{n:["woman with veil"],u:"1f470-200d-2640-fe0f",v:["1f470-1f3fb-200d-2640-fe0f","1f470-1f3fc-200d-2640-fe0f","1f470-1f3fd-200d-2640-fe0f","1f470-1f3fe-200d-2640-fe0f","1f470-1f3ff-200d-2640-fe0f"],a:"13.0"},{n:["pregnant woman"],u:"1f930",v:["1f930-1f3fb","1f930-1f3fc","1f930-1f3fd","1f930-1f3fe","1f930-1f3ff"],a:"3.0"},{n:["pregnant man"],u:"1fac3",v:["1fac3-1f3fb","1fac3-1f3fc","1fac3-1f3fd","1fac3-1f3fe","1fac3-1f3ff"],a:"14.0"},{n:["pregnant person"],u:"1fac4",v:["1fac4-1f3fb","1fac4-1f3fc","1fac4-1f3fd","1fac4-1f3fe","1fac4-1f3ff"],a:"14.0"},{n:["breast-feeding"],u:"1f931",v:["1f931-1f3fb","1f931-1f3fc","1f931-1f3fd","1f931-1f3fe","1f931-1f3ff"],a:"5.0"},{n:["woman feeding baby"],u:"1f469-200d-1f37c",v:["1f469-1f3fb-200d-1f37c","1f469-1f3fc-200d-1f37c","1f469-1f3fd-200d-1f37c","1f469-1f3fe-200d-1f37c","1f469-1f3ff-200d-1f37c"],a:"13.0"},{n:["man feeding baby"],u:"1f468-200d-1f37c",v:["1f468-1f3fb-200d-1f37c","1f468-1f3fc-200d-1f37c","1f468-1f3fd-200d-1f37c","1f468-1f3fe-200d-1f37c","1f468-1f3ff-200d-1f37c"],a:"13.0"},{n:["person feeding baby"],u:"1f9d1-200d-1f37c",v:["1f9d1-1f3fb-200d-1f37c","1f9d1-1f3fc-200d-1f37c","1f9d1-1f3fd-200d-1f37c","1f9d1-1f3fe-200d-1f37c","1f9d1-1f3ff-200d-1f37c"],a:"13.0"},{n:["angel","baby angel"],u:"1f47c",v:["1f47c-1f3fb","1f47c-1f3fc","1f47c-1f3fd","1f47c-1f3fe","1f47c-1f3ff"],a:"0.6"},{n:["santa","father christmas"],u:"1f385",v:["1f385-1f3fb","1f385-1f3fc","1f385-1f3fd","1f385-1f3fe","1f385-1f3ff"],a:"0.6"},{n:["mrs claus","mother christmas"],u:"1f936",v:["1f936-1f3fb","1f936-1f3fc","1f936-1f3fd","1f936-1f3fe","1f936-1f3ff"],a:"3.0"},{n:["mx claus"],u:"1f9d1-200d-1f384",v:["1f9d1-1f3fb-200d-1f384","1f9d1-1f3fc-200d-1f384","1f9d1-1f3fd-200d-1f384","1f9d1-1f3fe-200d-1f384","1f9d1-1f3ff-200d-1f384"],a:"13.0"},{n:["superhero"],u:"1f9b8",v:["1f9b8-1f3fb","1f9b8-1f3fc","1f9b8-1f3fd","1f9b8-1f3fe","1f9b8-1f3ff"],a:"11.0"},{n:["man superhero","male superhero"],u:"1f9b8-200d-2642-fe0f",v:["1f9b8-1f3fb-200d-2642-fe0f","1f9b8-1f3fc-200d-2642-fe0f","1f9b8-1f3fd-200d-2642-fe0f","1f9b8-1f3fe-200d-2642-fe0f","1f9b8-1f3ff-200d-2642-fe0f"],a:"11.0"},{n:["woman superhero","female superhero"],u:"1f9b8-200d-2640-fe0f",v:["1f9b8-1f3fb-200d-2640-fe0f","1f9b8-1f3fc-200d-2640-fe0f","1f9b8-1f3fd-200d-2640-fe0f","1f9b8-1f3fe-200d-2640-fe0f","1f9b8-1f3ff-200d-2640-fe0f"],a:"11.0"},{n:["supervillain"],u:"1f9b9",v:["1f9b9-1f3fb","1f9b9-1f3fc","1f9b9-1f3fd","1f9b9-1f3fe","1f9b9-1f3ff"],a:"11.0"},{n:["man supervillain","male supervillain"],u:"1f9b9-200d-2642-fe0f",v:["1f9b9-1f3fb-200d-2642-fe0f","1f9b9-1f3fc-200d-2642-fe0f","1f9b9-1f3fd-200d-2642-fe0f","1f9b9-1f3fe-200d-2642-fe0f","1f9b9-1f3ff-200d-2642-fe0f"],a:"11.0"},{n:["woman supervillain","female supervillain"],u:"1f9b9-200d-2640-fe0f",v:["1f9b9-1f3fb-200d-2640-fe0f","1f9b9-1f3fc-200d-2640-fe0f","1f9b9-1f3fd-200d-2640-fe0f","1f9b9-1f3fe-200d-2640-fe0f","1f9b9-1f3ff-200d-2640-fe0f"],a:"11.0"},{n:["mage"],u:"1f9d9",v:["1f9d9-1f3fb","1f9d9-1f3fc","1f9d9-1f3fd","1f9d9-1f3fe","1f9d9-1f3ff"],a:"5.0"},{n:["man mage","male mage"],u:"1f9d9-200d-2642-fe0f",v:["1f9d9-1f3fb-200d-2642-fe0f","1f9d9-1f3fc-200d-2642-fe0f","1f9d9-1f3fd-200d-2642-fe0f","1f9d9-1f3fe-200d-2642-fe0f","1f9d9-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman mage","female mage"],u:"1f9d9-200d-2640-fe0f",v:["1f9d9-1f3fb-200d-2640-fe0f","1f9d9-1f3fc-200d-2640-fe0f","1f9d9-1f3fd-200d-2640-fe0f","1f9d9-1f3fe-200d-2640-fe0f","1f9d9-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["fairy"],u:"1f9da",v:["1f9da-1f3fb","1f9da-1f3fc","1f9da-1f3fd","1f9da-1f3fe","1f9da-1f3ff"],a:"5.0"},{n:["man fairy","male fairy"],u:"1f9da-200d-2642-fe0f",v:["1f9da-1f3fb-200d-2642-fe0f","1f9da-1f3fc-200d-2642-fe0f","1f9da-1f3fd-200d-2642-fe0f","1f9da-1f3fe-200d-2642-fe0f","1f9da-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman fairy","female fairy"],u:"1f9da-200d-2640-fe0f",v:["1f9da-1f3fb-200d-2640-fe0f","1f9da-1f3fc-200d-2640-fe0f","1f9da-1f3fd-200d-2640-fe0f","1f9da-1f3fe-200d-2640-fe0f","1f9da-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["vampire"],u:"1f9db",v:["1f9db-1f3fb","1f9db-1f3fc","1f9db-1f3fd","1f9db-1f3fe","1f9db-1f3ff"],a:"5.0"},{n:["man vampire","male vampire"],u:"1f9db-200d-2642-fe0f",v:["1f9db-1f3fb-200d-2642-fe0f","1f9db-1f3fc-200d-2642-fe0f","1f9db-1f3fd-200d-2642-fe0f","1f9db-1f3fe-200d-2642-fe0f","1f9db-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman vampire","female vampire"],u:"1f9db-200d-2640-fe0f",v:["1f9db-1f3fb-200d-2640-fe0f","1f9db-1f3fc-200d-2640-fe0f","1f9db-1f3fd-200d-2640-fe0f","1f9db-1f3fe-200d-2640-fe0f","1f9db-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["merperson"],u:"1f9dc",v:["1f9dc-1f3fb","1f9dc-1f3fc","1f9dc-1f3fd","1f9dc-1f3fe","1f9dc-1f3ff"],a:"5.0"},{n:["merman"],u:"1f9dc-200d-2642-fe0f",v:["1f9dc-1f3fb-200d-2642-fe0f","1f9dc-1f3fc-200d-2642-fe0f","1f9dc-1f3fd-200d-2642-fe0f","1f9dc-1f3fe-200d-2642-fe0f","1f9dc-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["mermaid"],u:"1f9dc-200d-2640-fe0f",v:["1f9dc-1f3fb-200d-2640-fe0f","1f9dc-1f3fc-200d-2640-fe0f","1f9dc-1f3fd-200d-2640-fe0f","1f9dc-1f3fe-200d-2640-fe0f","1f9dc-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["elf"],u:"1f9dd",v:["1f9dd-1f3fb","1f9dd-1f3fc","1f9dd-1f3fd","1f9dd-1f3fe","1f9dd-1f3ff"],a:"5.0"},{n:["man elf","male elf"],u:"1f9dd-200d-2642-fe0f",v:["1f9dd-1f3fb-200d-2642-fe0f","1f9dd-1f3fc-200d-2642-fe0f","1f9dd-1f3fd-200d-2642-fe0f","1f9dd-1f3fe-200d-2642-fe0f","1f9dd-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman elf","female elf"],u:"1f9dd-200d-2640-fe0f",v:["1f9dd-1f3fb-200d-2640-fe0f","1f9dd-1f3fc-200d-2640-fe0f","1f9dd-1f3fd-200d-2640-fe0f","1f9dd-1f3fe-200d-2640-fe0f","1f9dd-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["genie"],u:"1f9de",a:"5.0"},{n:["man genie","male genie"],u:"1f9de-200d-2642-fe0f",a:"5.0"},{n:["woman genie","female genie"],u:"1f9de-200d-2640-fe0f",a:"5.0"},{n:["zombie"],u:"1f9df",a:"5.0"},{n:["man zombie","male zombie"],u:"1f9df-200d-2642-fe0f",a:"5.0"},{n:["woman zombie","female zombie"],u:"1f9df-200d-2640-fe0f",a:"5.0"},{n:["troll"],u:"1f9cc",a:"14.0"},{n:["massage","face massage"],u:"1f486",v:["1f486-1f3fb","1f486-1f3fc","1f486-1f3fd","1f486-1f3fe","1f486-1f3ff"],a:"0.6"},{n:["man getting massage","man-getting-massage"],u:"1f486-200d-2642-fe0f",v:["1f486-1f3fb-200d-2642-fe0f","1f486-1f3fc-200d-2642-fe0f","1f486-1f3fd-200d-2642-fe0f","1f486-1f3fe-200d-2642-fe0f","1f486-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman getting massage","woman-getting-massage"],u:"1f486-200d-2640-fe0f",v:["1f486-1f3fb-200d-2640-fe0f","1f486-1f3fc-200d-2640-fe0f","1f486-1f3fd-200d-2640-fe0f","1f486-1f3fe-200d-2640-fe0f","1f486-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["haircut"],u:"1f487",v:["1f487-1f3fb","1f487-1f3fc","1f487-1f3fd","1f487-1f3fe","1f487-1f3ff"],a:"0.6"},{n:["man getting haircut","man-getting-haircut"],u:"1f487-200d-2642-fe0f",v:["1f487-1f3fb-200d-2642-fe0f","1f487-1f3fc-200d-2642-fe0f","1f487-1f3fd-200d-2642-fe0f","1f487-1f3fe-200d-2642-fe0f","1f487-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman getting haircut","woman-getting-haircut"],u:"1f487-200d-2640-fe0f",v:["1f487-1f3fb-200d-2640-fe0f","1f487-1f3fc-200d-2640-fe0f","1f487-1f3fd-200d-2640-fe0f","1f487-1f3fe-200d-2640-fe0f","1f487-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["walking","pedestrian"],u:"1f6b6",v:["1f6b6-1f3fb","1f6b6-1f3fc","1f6b6-1f3fd","1f6b6-1f3fe","1f6b6-1f3ff"],a:"0.6"},{n:["man walking","man-walking"],u:"1f6b6-200d-2642-fe0f",v:["1f6b6-1f3fb-200d-2642-fe0f","1f6b6-1f3fc-200d-2642-fe0f","1f6b6-1f3fd-200d-2642-fe0f","1f6b6-1f3fe-200d-2642-fe0f","1f6b6-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman walking","woman-walking"],u:"1f6b6-200d-2640-fe0f",v:["1f6b6-1f3fb-200d-2640-fe0f","1f6b6-1f3fc-200d-2640-fe0f","1f6b6-1f3fd-200d-2640-fe0f","1f6b6-1f3fe-200d-2640-fe0f","1f6b6-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person walking facing right"],u:"1f6b6-200d-27a1-fe0f",v:["1f6b6-1f3fb-200d-27a1-fe0f","1f6b6-1f3fc-200d-27a1-fe0f","1f6b6-1f3fd-200d-27a1-fe0f","1f6b6-1f3fe-200d-27a1-fe0f","1f6b6-1f3ff-200d-27a1-fe0f"],a:"15.1"},{n:["woman walking facing right"],u:"1f6b6-200d-2640-fe0f-200d-27a1-fe0f",v:["1f6b6-1f3fb-200d-2640-fe0f-200d-27a1-fe0f","1f6b6-1f3fc-200d-2640-fe0f-200d-27a1-fe0f","1f6b6-1f3fd-200d-2640-fe0f-200d-27a1-fe0f","1f6b6-1f3fe-200d-2640-fe0f-200d-27a1-fe0f","1f6b6-1f3ff-200d-2640-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["man walking facing right"],u:"1f6b6-200d-2642-fe0f-200d-27a1-fe0f",v:["1f6b6-1f3fb-200d-2642-fe0f-200d-27a1-fe0f","1f6b6-1f3fc-200d-2642-fe0f-200d-27a1-fe0f","1f6b6-1f3fd-200d-2642-fe0f-200d-27a1-fe0f","1f6b6-1f3fe-200d-2642-fe0f-200d-27a1-fe0f","1f6b6-1f3ff-200d-2642-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["standing person"],u:"1f9cd",v:["1f9cd-1f3fb","1f9cd-1f3fc","1f9cd-1f3fd","1f9cd-1f3fe","1f9cd-1f3ff"],a:"12.0"},{n:["man standing"],u:"1f9cd-200d-2642-fe0f",v:["1f9cd-1f3fb-200d-2642-fe0f","1f9cd-1f3fc-200d-2642-fe0f","1f9cd-1f3fd-200d-2642-fe0f","1f9cd-1f3fe-200d-2642-fe0f","1f9cd-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["woman standing"],u:"1f9cd-200d-2640-fe0f",v:["1f9cd-1f3fb-200d-2640-fe0f","1f9cd-1f3fc-200d-2640-fe0f","1f9cd-1f3fd-200d-2640-fe0f","1f9cd-1f3fe-200d-2640-fe0f","1f9cd-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["kneeling person"],u:"1f9ce",v:["1f9ce-1f3fb","1f9ce-1f3fc","1f9ce-1f3fd","1f9ce-1f3fe","1f9ce-1f3ff"],a:"12.0"},{n:["man kneeling"],u:"1f9ce-200d-2642-fe0f",v:["1f9ce-1f3fb-200d-2642-fe0f","1f9ce-1f3fc-200d-2642-fe0f","1f9ce-1f3fd-200d-2642-fe0f","1f9ce-1f3fe-200d-2642-fe0f","1f9ce-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["woman kneeling"],u:"1f9ce-200d-2640-fe0f",v:["1f9ce-1f3fb-200d-2640-fe0f","1f9ce-1f3fc-200d-2640-fe0f","1f9ce-1f3fd-200d-2640-fe0f","1f9ce-1f3fe-200d-2640-fe0f","1f9ce-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["person kneeling facing right"],u:"1f9ce-200d-27a1-fe0f",v:["1f9ce-1f3fb-200d-27a1-fe0f","1f9ce-1f3fc-200d-27a1-fe0f","1f9ce-1f3fd-200d-27a1-fe0f","1f9ce-1f3fe-200d-27a1-fe0f","1f9ce-1f3ff-200d-27a1-fe0f"],a:"15.1"},{n:["woman kneeling facing right"],u:"1f9ce-200d-2640-fe0f-200d-27a1-fe0f",v:["1f9ce-1f3fb-200d-2640-fe0f-200d-27a1-fe0f","1f9ce-1f3fc-200d-2640-fe0f-200d-27a1-fe0f","1f9ce-1f3fd-200d-2640-fe0f-200d-27a1-fe0f","1f9ce-1f3fe-200d-2640-fe0f-200d-27a1-fe0f","1f9ce-1f3ff-200d-2640-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["man kneeling facing right"],u:"1f9ce-200d-2642-fe0f-200d-27a1-fe0f",v:["1f9ce-1f3fb-200d-2642-fe0f-200d-27a1-fe0f","1f9ce-1f3fc-200d-2642-fe0f-200d-27a1-fe0f","1f9ce-1f3fd-200d-2642-fe0f-200d-27a1-fe0f","1f9ce-1f3fe-200d-2642-fe0f-200d-27a1-fe0f","1f9ce-1f3ff-200d-2642-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["person with white cane","person with probing cane"],u:"1f9d1-200d-1f9af",v:["1f9d1-1f3fb-200d-1f9af","1f9d1-1f3fc-200d-1f9af","1f9d1-1f3fd-200d-1f9af","1f9d1-1f3fe-200d-1f9af","1f9d1-1f3ff-200d-1f9af"],a:"12.1"},{n:["person with white cane facing right"],u:"1f9d1-200d-1f9af-200d-27a1-fe0f",v:["1f9d1-1f3fb-200d-1f9af-200d-27a1-fe0f","1f9d1-1f3fc-200d-1f9af-200d-27a1-fe0f","1f9d1-1f3fd-200d-1f9af-200d-27a1-fe0f","1f9d1-1f3fe-200d-1f9af-200d-27a1-fe0f","1f9d1-1f3ff-200d-1f9af-200d-27a1-fe0f"],a:"15.1"},{n:["man with white cane","man with probing cane"],u:"1f468-200d-1f9af",v:["1f468-1f3fb-200d-1f9af","1f468-1f3fc-200d-1f9af","1f468-1f3fd-200d-1f9af","1f468-1f3fe-200d-1f9af","1f468-1f3ff-200d-1f9af"],a:"12.0"},{n:["man with white cane facing right"],u:"1f468-200d-1f9af-200d-27a1-fe0f",v:["1f468-1f3fb-200d-1f9af-200d-27a1-fe0f","1f468-1f3fc-200d-1f9af-200d-27a1-fe0f","1f468-1f3fd-200d-1f9af-200d-27a1-fe0f","1f468-1f3fe-200d-1f9af-200d-27a1-fe0f","1f468-1f3ff-200d-1f9af-200d-27a1-fe0f"],a:"15.1"},{n:["woman with white cane","woman with probing cane"],u:"1f469-200d-1f9af",v:["1f469-1f3fb-200d-1f9af","1f469-1f3fc-200d-1f9af","1f469-1f3fd-200d-1f9af","1f469-1f3fe-200d-1f9af","1f469-1f3ff-200d-1f9af"],a:"12.0"},{n:["woman with white cane facing right"],u:"1f469-200d-1f9af-200d-27a1-fe0f",v:["1f469-1f3fb-200d-1f9af-200d-27a1-fe0f","1f469-1f3fc-200d-1f9af-200d-27a1-fe0f","1f469-1f3fd-200d-1f9af-200d-27a1-fe0f","1f469-1f3fe-200d-1f9af-200d-27a1-fe0f","1f469-1f3ff-200d-1f9af-200d-27a1-fe0f"],a:"15.1"},{n:["person in motorized wheelchair"],u:"1f9d1-200d-1f9bc",v:["1f9d1-1f3fb-200d-1f9bc","1f9d1-1f3fc-200d-1f9bc","1f9d1-1f3fd-200d-1f9bc","1f9d1-1f3fe-200d-1f9bc","1f9d1-1f3ff-200d-1f9bc"],a:"12.1"},{n:["person in motorized wheelchair facing right"],u:"1f9d1-200d-1f9bc-200d-27a1-fe0f",v:["1f9d1-1f3fb-200d-1f9bc-200d-27a1-fe0f","1f9d1-1f3fc-200d-1f9bc-200d-27a1-fe0f","1f9d1-1f3fd-200d-1f9bc-200d-27a1-fe0f","1f9d1-1f3fe-200d-1f9bc-200d-27a1-fe0f","1f9d1-1f3ff-200d-1f9bc-200d-27a1-fe0f"],a:"15.1"},{n:["man in motorized wheelchair"],u:"1f468-200d-1f9bc",v:["1f468-1f3fb-200d-1f9bc","1f468-1f3fc-200d-1f9bc","1f468-1f3fd-200d-1f9bc","1f468-1f3fe-200d-1f9bc","1f468-1f3ff-200d-1f9bc"],a:"12.0"},{n:["man in motorized wheelchair facing right"],u:"1f468-200d-1f9bc-200d-27a1-fe0f",v:["1f468-1f3fb-200d-1f9bc-200d-27a1-fe0f","1f468-1f3fc-200d-1f9bc-200d-27a1-fe0f","1f468-1f3fd-200d-1f9bc-200d-27a1-fe0f","1f468-1f3fe-200d-1f9bc-200d-27a1-fe0f","1f468-1f3ff-200d-1f9bc-200d-27a1-fe0f"],a:"15.1"},{n:["woman in motorized wheelchair"],u:"1f469-200d-1f9bc",v:["1f469-1f3fb-200d-1f9bc","1f469-1f3fc-200d-1f9bc","1f469-1f3fd-200d-1f9bc","1f469-1f3fe-200d-1f9bc","1f469-1f3ff-200d-1f9bc"],a:"12.0"},{n:["woman in motorized wheelchair facing right"],u:"1f469-200d-1f9bc-200d-27a1-fe0f",v:["1f469-1f3fb-200d-1f9bc-200d-27a1-fe0f","1f469-1f3fc-200d-1f9bc-200d-27a1-fe0f","1f469-1f3fd-200d-1f9bc-200d-27a1-fe0f","1f469-1f3fe-200d-1f9bc-200d-27a1-fe0f","1f469-1f3ff-200d-1f9bc-200d-27a1-fe0f"],a:"15.1"},{n:["person in manual wheelchair"],u:"1f9d1-200d-1f9bd",v:["1f9d1-1f3fb-200d-1f9bd","1f9d1-1f3fc-200d-1f9bd","1f9d1-1f3fd-200d-1f9bd","1f9d1-1f3fe-200d-1f9bd","1f9d1-1f3ff-200d-1f9bd"],a:"12.1"},{n:["person in manual wheelchair facing right"],u:"1f9d1-200d-1f9bd-200d-27a1-fe0f",v:["1f9d1-1f3fb-200d-1f9bd-200d-27a1-fe0f","1f9d1-1f3fc-200d-1f9bd-200d-27a1-fe0f","1f9d1-1f3fd-200d-1f9bd-200d-27a1-fe0f","1f9d1-1f3fe-200d-1f9bd-200d-27a1-fe0f","1f9d1-1f3ff-200d-1f9bd-200d-27a1-fe0f"],a:"15.1"},{n:["man in manual wheelchair"],u:"1f468-200d-1f9bd",v:["1f468-1f3fb-200d-1f9bd","1f468-1f3fc-200d-1f9bd","1f468-1f3fd-200d-1f9bd","1f468-1f3fe-200d-1f9bd","1f468-1f3ff-200d-1f9bd"],a:"12.0"},{n:["man in manual wheelchair facing right"],u:"1f468-200d-1f9bd-200d-27a1-fe0f",v:["1f468-1f3fb-200d-1f9bd-200d-27a1-fe0f","1f468-1f3fc-200d-1f9bd-200d-27a1-fe0f","1f468-1f3fd-200d-1f9bd-200d-27a1-fe0f","1f468-1f3fe-200d-1f9bd-200d-27a1-fe0f","1f468-1f3ff-200d-1f9bd-200d-27a1-fe0f"],a:"15.1"},{n:["woman in manual wheelchair"],u:"1f469-200d-1f9bd",v:["1f469-1f3fb-200d-1f9bd","1f469-1f3fc-200d-1f9bd","1f469-1f3fd-200d-1f9bd","1f469-1f3fe-200d-1f9bd","1f469-1f3ff-200d-1f9bd"],a:"12.0"},{n:["woman in manual wheelchair facing right"],u:"1f469-200d-1f9bd-200d-27a1-fe0f",v:["1f469-1f3fb-200d-1f9bd-200d-27a1-fe0f","1f469-1f3fc-200d-1f9bd-200d-27a1-fe0f","1f469-1f3fd-200d-1f9bd-200d-27a1-fe0f","1f469-1f3fe-200d-1f9bd-200d-27a1-fe0f","1f469-1f3ff-200d-1f9bd-200d-27a1-fe0f"],a:"15.1"},{n:["runner","running"],u:"1f3c3",v:["1f3c3-1f3fb","1f3c3-1f3fc","1f3c3-1f3fd","1f3c3-1f3fe","1f3c3-1f3ff"],a:"0.6"},{n:["man running","man-running"],u:"1f3c3-200d-2642-fe0f",v:["1f3c3-1f3fb-200d-2642-fe0f","1f3c3-1f3fc-200d-2642-fe0f","1f3c3-1f3fd-200d-2642-fe0f","1f3c3-1f3fe-200d-2642-fe0f","1f3c3-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman running","woman-running"],u:"1f3c3-200d-2640-fe0f",v:["1f3c3-1f3fb-200d-2640-fe0f","1f3c3-1f3fc-200d-2640-fe0f","1f3c3-1f3fd-200d-2640-fe0f","1f3c3-1f3fe-200d-2640-fe0f","1f3c3-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person running facing right"],u:"1f3c3-200d-27a1-fe0f",v:["1f3c3-1f3fb-200d-27a1-fe0f","1f3c3-1f3fc-200d-27a1-fe0f","1f3c3-1f3fd-200d-27a1-fe0f","1f3c3-1f3fe-200d-27a1-fe0f","1f3c3-1f3ff-200d-27a1-fe0f"],a:"15.1"},{n:["woman running facing right"],u:"1f3c3-200d-2640-fe0f-200d-27a1-fe0f",v:["1f3c3-1f3fb-200d-2640-fe0f-200d-27a1-fe0f","1f3c3-1f3fc-200d-2640-fe0f-200d-27a1-fe0f","1f3c3-1f3fd-200d-2640-fe0f-200d-27a1-fe0f","1f3c3-1f3fe-200d-2640-fe0f-200d-27a1-fe0f","1f3c3-1f3ff-200d-2640-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["man running facing right"],u:"1f3c3-200d-2642-fe0f-200d-27a1-fe0f",v:["1f3c3-1f3fb-200d-2642-fe0f-200d-27a1-fe0f","1f3c3-1f3fc-200d-2642-fe0f-200d-27a1-fe0f","1f3c3-1f3fd-200d-2642-fe0f-200d-27a1-fe0f","1f3c3-1f3fe-200d-2642-fe0f-200d-27a1-fe0f","1f3c3-1f3ff-200d-2642-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["dancer"],u:"1f483",v:["1f483-1f3fb","1f483-1f3fc","1f483-1f3fd","1f483-1f3fe","1f483-1f3ff"],a:"0.6"},{n:["man dancing"],u:"1f57a",v:["1f57a-1f3fb","1f57a-1f3fc","1f57a-1f3fd","1f57a-1f3fe","1f57a-1f3ff"],a:"3.0"},{n:["person in suit levitating","man in business suit levitating"],u:"1f574-fe0f",v:["1f574-1f3fb","1f574-1f3fc","1f574-1f3fd","1f574-1f3fe","1f574-1f3ff"],a:"0.7"},{n:["dancers","woman with bunny ears"],u:"1f46f",a:"0.6"},{n:["men with bunny ears","men-with-bunny-ears-partying","man-with-bunny-ears-partying"],u:"1f46f-200d-2642-fe0f",a:"4.0"},{n:["women with bunny ears","women-with-bunny-ears-partying","woman-with-bunny-ears-partying"],u:"1f46f-200d-2640-fe0f",a:"4.0"},{n:["person in steamy room"],u:"1f9d6",v:["1f9d6-1f3fb","1f9d6-1f3fc","1f9d6-1f3fd","1f9d6-1f3fe","1f9d6-1f3ff"],a:"5.0"},{n:["man in steamy room"],u:"1f9d6-200d-2642-fe0f",v:["1f9d6-1f3fb-200d-2642-fe0f","1f9d6-1f3fc-200d-2642-fe0f","1f9d6-1f3fd-200d-2642-fe0f","1f9d6-1f3fe-200d-2642-fe0f","1f9d6-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman in steamy room"],u:"1f9d6-200d-2640-fe0f",v:["1f9d6-1f3fb-200d-2640-fe0f","1f9d6-1f3fc-200d-2640-fe0f","1f9d6-1f3fd-200d-2640-fe0f","1f9d6-1f3fe-200d-2640-fe0f","1f9d6-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["person climbing"],u:"1f9d7",v:["1f9d7-1f3fb","1f9d7-1f3fc","1f9d7-1f3fd","1f9d7-1f3fe","1f9d7-1f3ff"],a:"5.0"},{n:["man climbing"],u:"1f9d7-200d-2642-fe0f",v:["1f9d7-1f3fb-200d-2642-fe0f","1f9d7-1f3fc-200d-2642-fe0f","1f9d7-1f3fd-200d-2642-fe0f","1f9d7-1f3fe-200d-2642-fe0f","1f9d7-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman climbing"],u:"1f9d7-200d-2640-fe0f",v:["1f9d7-1f3fb-200d-2640-fe0f","1f9d7-1f3fc-200d-2640-fe0f","1f9d7-1f3fd-200d-2640-fe0f","1f9d7-1f3fe-200d-2640-fe0f","1f9d7-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["fencer"],u:"1f93a",a:"3.0"},{n:["horse racing"],u:"1f3c7",v:["1f3c7-1f3fb","1f3c7-1f3fc","1f3c7-1f3fd","1f3c7-1f3fe","1f3c7-1f3ff"],a:"1.0"},{n:["skier"],u:"26f7-fe0f",a:"0.7"},{n:["snowboarder"],u:"1f3c2",v:["1f3c2-1f3fb","1f3c2-1f3fc","1f3c2-1f3fd","1f3c2-1f3fe","1f3c2-1f3ff"],a:"0.6"},{n:["golfer","person golfing"],u:"1f3cc-fe0f",v:["1f3cc-1f3fb","1f3cc-1f3fc","1f3cc-1f3fd","1f3cc-1f3fe","1f3cc-1f3ff"],a:"0.7"},{n:["man golfing","man-golfing"],u:"1f3cc-fe0f-200d-2642-fe0f",v:["1f3cc-1f3fb-200d-2642-fe0f","1f3cc-1f3fc-200d-2642-fe0f","1f3cc-1f3fd-200d-2642-fe0f","1f3cc-1f3fe-200d-2642-fe0f","1f3cc-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman golfing","woman-golfing"],u:"1f3cc-fe0f-200d-2640-fe0f",v:["1f3cc-1f3fb-200d-2640-fe0f","1f3cc-1f3fc-200d-2640-fe0f","1f3cc-1f3fd-200d-2640-fe0f","1f3cc-1f3fe-200d-2640-fe0f","1f3cc-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["surfer"],u:"1f3c4",v:["1f3c4-1f3fb","1f3c4-1f3fc","1f3c4-1f3fd","1f3c4-1f3fe","1f3c4-1f3ff"],a:"0.6"},{n:["man surfing","man-surfing"],u:"1f3c4-200d-2642-fe0f",v:["1f3c4-1f3fb-200d-2642-fe0f","1f3c4-1f3fc-200d-2642-fe0f","1f3c4-1f3fd-200d-2642-fe0f","1f3c4-1f3fe-200d-2642-fe0f","1f3c4-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman surfing","woman-surfing"],u:"1f3c4-200d-2640-fe0f",v:["1f3c4-1f3fb-200d-2640-fe0f","1f3c4-1f3fc-200d-2640-fe0f","1f3c4-1f3fd-200d-2640-fe0f","1f3c4-1f3fe-200d-2640-fe0f","1f3c4-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["rowboat"],u:"1f6a3",v:["1f6a3-1f3fb","1f6a3-1f3fc","1f6a3-1f3fd","1f6a3-1f3fe","1f6a3-1f3ff"],a:"1.0"},{n:["man rowing boat","man-rowing-boat"],u:"1f6a3-200d-2642-fe0f",v:["1f6a3-1f3fb-200d-2642-fe0f","1f6a3-1f3fc-200d-2642-fe0f","1f6a3-1f3fd-200d-2642-fe0f","1f6a3-1f3fe-200d-2642-fe0f","1f6a3-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman rowing boat","woman-rowing-boat"],u:"1f6a3-200d-2640-fe0f",v:["1f6a3-1f3fb-200d-2640-fe0f","1f6a3-1f3fc-200d-2640-fe0f","1f6a3-1f3fd-200d-2640-fe0f","1f6a3-1f3fe-200d-2640-fe0f","1f6a3-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["swimmer"],u:"1f3ca",v:["1f3ca-1f3fb","1f3ca-1f3fc","1f3ca-1f3fd","1f3ca-1f3fe","1f3ca-1f3ff"],a:"0.6"},{n:["man swimming","man-swimming"],u:"1f3ca-200d-2642-fe0f",v:["1f3ca-1f3fb-200d-2642-fe0f","1f3ca-1f3fc-200d-2642-fe0f","1f3ca-1f3fd-200d-2642-fe0f","1f3ca-1f3fe-200d-2642-fe0f","1f3ca-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman swimming","woman-swimming"],u:"1f3ca-200d-2640-fe0f",v:["1f3ca-1f3fb-200d-2640-fe0f","1f3ca-1f3fc-200d-2640-fe0f","1f3ca-1f3fd-200d-2640-fe0f","1f3ca-1f3fe-200d-2640-fe0f","1f3ca-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with ball","person bouncing ball"],u:"26f9-fe0f",v:["26f9-1f3fb","26f9-1f3fc","26f9-1f3fd","26f9-1f3fe","26f9-1f3ff"],a:"0.7"},{n:["man bouncing ball","man-bouncing-ball"],u:"26f9-fe0f-200d-2642-fe0f",v:["26f9-1f3fb-200d-2642-fe0f","26f9-1f3fc-200d-2642-fe0f","26f9-1f3fd-200d-2642-fe0f","26f9-1f3fe-200d-2642-fe0f","26f9-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman bouncing ball","woman-bouncing-ball"],u:"26f9-fe0f-200d-2640-fe0f",v:["26f9-1f3fb-200d-2640-fe0f","26f9-1f3fc-200d-2640-fe0f","26f9-1f3fd-200d-2640-fe0f","26f9-1f3fe-200d-2640-fe0f","26f9-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["weight lifter","person lifting weights"],u:"1f3cb-fe0f",v:["1f3cb-1f3fb","1f3cb-1f3fc","1f3cb-1f3fd","1f3cb-1f3fe","1f3cb-1f3ff"],a:"0.7"},{n:["man lifting weights","man-lifting-weights"],u:"1f3cb-fe0f-200d-2642-fe0f",v:["1f3cb-1f3fb-200d-2642-fe0f","1f3cb-1f3fc-200d-2642-fe0f","1f3cb-1f3fd-200d-2642-fe0f","1f3cb-1f3fe-200d-2642-fe0f","1f3cb-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman lifting weights","woman-lifting-weights"],u:"1f3cb-fe0f-200d-2640-fe0f",v:["1f3cb-1f3fb-200d-2640-fe0f","1f3cb-1f3fc-200d-2640-fe0f","1f3cb-1f3fd-200d-2640-fe0f","1f3cb-1f3fe-200d-2640-fe0f","1f3cb-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["bicyclist"],u:"1f6b4",v:["1f6b4-1f3fb","1f6b4-1f3fc","1f6b4-1f3fd","1f6b4-1f3fe","1f6b4-1f3ff"],a:"1.0"},{n:["man biking","man-biking"],u:"1f6b4-200d-2642-fe0f",v:["1f6b4-1f3fb-200d-2642-fe0f","1f6b4-1f3fc-200d-2642-fe0f","1f6b4-1f3fd-200d-2642-fe0f","1f6b4-1f3fe-200d-2642-fe0f","1f6b4-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman biking","woman-biking"],u:"1f6b4-200d-2640-fe0f",v:["1f6b4-1f3fb-200d-2640-fe0f","1f6b4-1f3fc-200d-2640-fe0f","1f6b4-1f3fd-200d-2640-fe0f","1f6b4-1f3fe-200d-2640-fe0f","1f6b4-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["mountain bicyclist"],u:"1f6b5",v:["1f6b5-1f3fb","1f6b5-1f3fc","1f6b5-1f3fd","1f6b5-1f3fe","1f6b5-1f3ff"],a:"1.0"},{n:["man mountain biking","man-mountain-biking"],u:"1f6b5-200d-2642-fe0f",v:["1f6b5-1f3fb-200d-2642-fe0f","1f6b5-1f3fc-200d-2642-fe0f","1f6b5-1f3fd-200d-2642-fe0f","1f6b5-1f3fe-200d-2642-fe0f","1f6b5-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman mountain biking","woman-mountain-biking"],u:"1f6b5-200d-2640-fe0f",v:["1f6b5-1f3fb-200d-2640-fe0f","1f6b5-1f3fc-200d-2640-fe0f","1f6b5-1f3fd-200d-2640-fe0f","1f6b5-1f3fe-200d-2640-fe0f","1f6b5-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person doing cartwheel"],u:"1f938",v:["1f938-1f3fb","1f938-1f3fc","1f938-1f3fd","1f938-1f3fe","1f938-1f3ff"],a:"3.0"},{n:["man cartwheeling","man-cartwheeling"],u:"1f938-200d-2642-fe0f",v:["1f938-1f3fb-200d-2642-fe0f","1f938-1f3fc-200d-2642-fe0f","1f938-1f3fd-200d-2642-fe0f","1f938-1f3fe-200d-2642-fe0f","1f938-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman cartwheeling","woman-cartwheeling"],u:"1f938-200d-2640-fe0f",v:["1f938-1f3fb-200d-2640-fe0f","1f938-1f3fc-200d-2640-fe0f","1f938-1f3fd-200d-2640-fe0f","1f938-1f3fe-200d-2640-fe0f","1f938-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["wrestlers"],u:"1f93c",a:"3.0"},{n:["men wrestling","man-wrestling"],u:"1f93c-200d-2642-fe0f",a:"4.0"},{n:["women wrestling","woman-wrestling"],u:"1f93c-200d-2640-fe0f",a:"4.0"},{n:["water polo"],u:"1f93d",v:["1f93d-1f3fb","1f93d-1f3fc","1f93d-1f3fd","1f93d-1f3fe","1f93d-1f3ff"],a:"3.0"},{n:["man playing water polo","man-playing-water-polo"],u:"1f93d-200d-2642-fe0f",v:["1f93d-1f3fb-200d-2642-fe0f","1f93d-1f3fc-200d-2642-fe0f","1f93d-1f3fd-200d-2642-fe0f","1f93d-1f3fe-200d-2642-fe0f","1f93d-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman playing water polo","woman-playing-water-polo"],u:"1f93d-200d-2640-fe0f",v:["1f93d-1f3fb-200d-2640-fe0f","1f93d-1f3fc-200d-2640-fe0f","1f93d-1f3fd-200d-2640-fe0f","1f93d-1f3fe-200d-2640-fe0f","1f93d-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["handball"],u:"1f93e",v:["1f93e-1f3fb","1f93e-1f3fc","1f93e-1f3fd","1f93e-1f3fe","1f93e-1f3ff"],a:"3.0"},{n:["man playing handball","man-playing-handball"],u:"1f93e-200d-2642-fe0f",v:["1f93e-1f3fb-200d-2642-fe0f","1f93e-1f3fc-200d-2642-fe0f","1f93e-1f3fd-200d-2642-fe0f","1f93e-1f3fe-200d-2642-fe0f","1f93e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman playing handball","woman-playing-handball"],u:"1f93e-200d-2640-fe0f",v:["1f93e-1f3fb-200d-2640-fe0f","1f93e-1f3fc-200d-2640-fe0f","1f93e-1f3fd-200d-2640-fe0f","1f93e-1f3fe-200d-2640-fe0f","1f93e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["juggling"],u:"1f939",v:["1f939-1f3fb","1f939-1f3fc","1f939-1f3fd","1f939-1f3fe","1f939-1f3ff"],a:"3.0"},{n:["man juggling","man-juggling"],u:"1f939-200d-2642-fe0f",v:["1f939-1f3fb-200d-2642-fe0f","1f939-1f3fc-200d-2642-fe0f","1f939-1f3fd-200d-2642-fe0f","1f939-1f3fe-200d-2642-fe0f","1f939-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman juggling","woman-juggling"],u:"1f939-200d-2640-fe0f",v:["1f939-1f3fb-200d-2640-fe0f","1f939-1f3fc-200d-2640-fe0f","1f939-1f3fd-200d-2640-fe0f","1f939-1f3fe-200d-2640-fe0f","1f939-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person in lotus position"],u:"1f9d8",v:["1f9d8-1f3fb","1f9d8-1f3fc","1f9d8-1f3fd","1f9d8-1f3fe","1f9d8-1f3ff"],a:"5.0"},{n:["man in lotus position"],u:"1f9d8-200d-2642-fe0f",v:["1f9d8-1f3fb-200d-2642-fe0f","1f9d8-1f3fc-200d-2642-fe0f","1f9d8-1f3fd-200d-2642-fe0f","1f9d8-1f3fe-200d-2642-fe0f","1f9d8-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman in lotus position"],u:"1f9d8-200d-2640-fe0f",v:["1f9d8-1f3fb-200d-2640-fe0f","1f9d8-1f3fc-200d-2640-fe0f","1f9d8-1f3fd-200d-2640-fe0f","1f9d8-1f3fe-200d-2640-fe0f","1f9d8-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["bath"],u:"1f6c0",v:["1f6c0-1f3fb","1f6c0-1f3fc","1f6c0-1f3fd","1f6c0-1f3fe","1f6c0-1f3ff"],a:"0.6"},{n:["sleeping accommodation"],u:"1f6cc",v:["1f6cc-1f3fb","1f6cc-1f3fc","1f6cc-1f3fd","1f6cc-1f3fe","1f6cc-1f3ff"],a:"1.0"},{n:["people holding hands"],u:"1f9d1-200d-1f91d-200d-1f9d1",v:["1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3ff"],a:"12.0"},{n:["women holding hands","two women holding hands"],u:"1f46d",v:["1f46d-1f3fb","1f46d-1f3fc","1f46d-1f3fd","1f46d-1f3fe","1f46d-1f3ff","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fb-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fc-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fd-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fe-200d-1f91d-200d-1f469-1f3ff","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fb","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fc","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fd","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fe"],a:"1.0"},{n:["couple","man and woman holding hands","woman and man holding hands"],u:"1f46b",v:["1f46b-1f3fb","1f46b-1f3fc","1f46b-1f3fd","1f46b-1f3fe","1f46b-1f3ff","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fb-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fc-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fd-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fe-200d-1f91d-200d-1f468-1f3ff","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fb","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fc","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fd","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fe"],a:"0.6"},{n:["men holding hands","two men holding hands"],u:"1f46c",v:["1f46c-1f3fb","1f46c-1f3fc","1f46c-1f3fd","1f46c-1f3fe","1f46c-1f3ff","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fb-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fc-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fd-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fe-200d-1f91d-200d-1f468-1f3ff","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fb","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fc","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fd","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fe"],a:"1.0"},{n:["kiss","couplekiss"],u:"1f48f",v:["1f48f-1f3fb","1f48f-1f3fc","1f48f-1f3fd","1f48f-1f3fe","1f48f-1f3ff","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe"],a:"0.6"},{n:["woman-kiss-man","kiss: woman, man"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f468",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"],a:"2.0"},{n:["man-kiss-man","kiss: man, man"],u:"1f468-200d-2764-fe0f-200d-1f48b-200d-1f468",v:["1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"],a:"2.0"},{n:["woman-kiss-woman","kiss: woman, woman"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f469",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff"],a:"2.0"},{n:["couple with heart"],u:"1f491",v:["1f491-1f3fb","1f491-1f3fc","1f491-1f3fd","1f491-1f3fe","1f491-1f3ff","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fe"],a:"0.6"},{n:["woman-heart-man","couple with heart: woman, man"],u:"1f469-200d-2764-fe0f-200d-1f468",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff"],a:"2.0"},{n:["man-heart-man","couple with heart: man, man"],u:"1f468-200d-2764-fe0f-200d-1f468",v:["1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff"],a:"2.0"},{n:["woman-heart-woman","couple with heart: woman, woman"],u:"1f469-200d-2764-fe0f-200d-1f469",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3ff"],a:"2.0"},{n:["man-woman-boy","family: man, woman, boy"],u:"1f468-200d-1f469-200d-1f466",a:"2.0"},{n:["man-woman-girl","family: man, woman, girl"],u:"1f468-200d-1f469-200d-1f467",a:"2.0"},{n:["man-woman-girl-boy","family: man, woman, girl, boy"],u:"1f468-200d-1f469-200d-1f467-200d-1f466",a:"2.0"},{n:["man-woman-boy-boy","family: man, woman, boy, boy"],u:"1f468-200d-1f469-200d-1f466-200d-1f466",a:"2.0"},{n:["man-woman-girl-girl","family: man, woman, girl, girl"],u:"1f468-200d-1f469-200d-1f467-200d-1f467",a:"2.0"},{n:["man-man-boy","family: man, man, boy"],u:"1f468-200d-1f468-200d-1f466",a:"2.0"},{n:["man-man-girl","family: man, man, girl"],u:"1f468-200d-1f468-200d-1f467",a:"2.0"},{n:["man-man-girl-boy","family: man, man, girl, boy"],u:"1f468-200d-1f468-200d-1f467-200d-1f466",a:"2.0"},{n:["man-man-boy-boy","family: man, man, boy, boy"],u:"1f468-200d-1f468-200d-1f466-200d-1f466",a:"2.0"},{n:["man-man-girl-girl","family: man, man, girl, girl"],u:"1f468-200d-1f468-200d-1f467-200d-1f467",a:"2.0"},{n:["woman-woman-boy","family: woman, woman, boy"],u:"1f469-200d-1f469-200d-1f466",a:"2.0"},{n:["woman-woman-girl","family: woman, woman, girl"],u:"1f469-200d-1f469-200d-1f467",a:"2.0"},{n:["woman-woman-girl-boy","family: woman, woman, girl, boy"],u:"1f469-200d-1f469-200d-1f467-200d-1f466",a:"2.0"},{n:["woman-woman-boy-boy","family: woman, woman, boy, boy"],u:"1f469-200d-1f469-200d-1f466-200d-1f466",a:"2.0"},{n:["woman-woman-girl-girl","family: woman, woman, girl, girl"],u:"1f469-200d-1f469-200d-1f467-200d-1f467",a:"2.0"},{n:["man-boy","family: man, boy"],u:"1f468-200d-1f466",a:"4.0"},{n:["man-boy-boy","family: man, boy, boy"],u:"1f468-200d-1f466-200d-1f466",a:"4.0"},{n:["man-girl","family: man, girl"],u:"1f468-200d-1f467",a:"4.0"},{n:["man-girl-boy","family: man, girl, boy"],u:"1f468-200d-1f467-200d-1f466",a:"4.0"},{n:["man-girl-girl","family: man, girl, girl"],u:"1f468-200d-1f467-200d-1f467",a:"4.0"},{n:["woman-boy","family: woman, boy"],u:"1f469-200d-1f466",a:"4.0"},{n:["woman-boy-boy","family: woman, boy, boy"],u:"1f469-200d-1f466-200d-1f466",a:"4.0"},{n:["woman-girl","family: woman, girl"],u:"1f469-200d-1f467",a:"4.0"},{n:["woman-girl-boy","family: woman, girl, boy"],u:"1f469-200d-1f467-200d-1f466",a:"4.0"},{n:["woman-girl-girl","family: woman, girl, girl"],u:"1f469-200d-1f467-200d-1f467",a:"4.0"},{n:["speaking head","speaking head in silhouette"],u:"1f5e3-fe0f",a:"0.7"},{n:["bust in silhouette"],u:"1f464",a:"0.6"},{n:["busts in silhouette"],u:"1f465",a:"1.0"},{n:["people hugging"],u:"1fac2",a:"13.0"},{n:["family"],u:"1f46a",a:"0.6"},{n:["family adult adult child","family: adult, adult, child"],u:"1f9d1-200d-1f9d1-200d-1f9d2",a:"15.1"},{n:["family adult adult child child","family: adult, adult, child, child"],u:"1f9d1-200d-1f9d1-200d-1f9d2-200d-1f9d2",a:"15.1"},{n:["family adult child","family: adult, child"],u:"1f9d1-200d-1f9d2",a:"15.1"},{n:["family adult child child","family: adult, child, child"],u:"1f9d1-200d-1f9d2-200d-1f9d2",a:"15.1"},{n:["footprints"],u:"1f463",a:"0.6"}],eS=[{n:["monkey face"],u:"1f435",a:"0.6"},{n:["monkey"],u:"1f412",a:"0.6"},{n:["gorilla"],u:"1f98d",a:"3.0"},{n:["orangutan"],u:"1f9a7",a:"12.0"},{n:["dog","dog face"],u:"1f436",a:"0.6"},{n:["dog","dog2"],u:"1f415",a:"0.7"},{n:["guide dog"],u:"1f9ae",a:"12.0"},{n:["service dog"],u:"1f415-200d-1f9ba",a:"12.0"},{n:["poodle"],u:"1f429",a:"0.6"},{n:["wolf","wolf face"],u:"1f43a",a:"0.6"},{n:["fox face"],u:"1f98a",a:"3.0"},{n:["raccoon"],u:"1f99d",a:"11.0"},{n:["cat","cat face"],u:"1f431",a:"0.6"},{n:["cat","cat2"],u:"1f408",a:"0.7"},{n:["black cat"],u:"1f408-200d-2b1b",a:"13.0"},{n:["lion face"],u:"1f981",a:"1.0"},{n:["tiger","tiger face"],u:"1f42f",a:"0.6"},{n:["tiger","tiger2"],u:"1f405",a:"1.0"},{n:["leopard"],u:"1f406",a:"1.0"},{n:["horse","horse face"],u:"1f434",a:"0.6"},{n:["moose"],u:"1face",a:"15.0"},{n:["donkey"],u:"1facf",a:"15.0"},{n:["horse","racehorse"],u:"1f40e",a:"0.6"},{n:["unicorn face"],u:"1f984",a:"1.0"},{n:["zebra face"],u:"1f993",a:"5.0"},{n:["deer"],u:"1f98c",a:"3.0"},{n:["bison"],u:"1f9ac",a:"13.0"},{n:["cow","cow face"],u:"1f42e",a:"0.6"},{n:["ox"],u:"1f402",a:"1.0"},{n:["water buffalo"],u:"1f403",a:"1.0"},{n:["cow","cow2"],u:"1f404",a:"1.0"},{n:["pig","pig face"],u:"1f437",a:"0.6"},{n:["pig","pig2"],u:"1f416",a:"1.0"},{n:["boar"],u:"1f417",a:"0.6"},{n:["pig nose"],u:"1f43d",a:"0.6"},{n:["ram"],u:"1f40f",a:"1.0"},{n:["sheep"],u:"1f411",a:"0.6"},{n:["goat"],u:"1f410",a:"1.0"},{n:["dromedary camel"],u:"1f42a",a:"1.0"},{n:["camel","bactrian camel"],u:"1f42b",a:"0.6"},{n:["llama"],u:"1f999",a:"11.0"},{n:["giraffe face"],u:"1f992",a:"5.0"},{n:["elephant"],u:"1f418",a:"0.6"},{n:["mammoth"],u:"1f9a3",a:"13.0"},{n:["rhinoceros"],u:"1f98f",a:"3.0"},{n:["hippopotamus"],u:"1f99b",a:"11.0"},{n:["mouse","mouse face"],u:"1f42d",a:"0.6"},{n:["mouse","mouse2"],u:"1f401",a:"1.0"},{n:["rat"],u:"1f400",a:"1.0"},{n:["hamster","hamster face"],u:"1f439",a:"0.6"},{n:["rabbit","rabbit face"],u:"1f430",a:"0.6"},{n:["rabbit","rabbit2"],u:"1f407",a:"1.0"},{n:["chipmunk"],u:"1f43f-fe0f",a:"0.7"},{n:["beaver"],u:"1f9ab",a:"13.0"},{n:["hedgehog"],u:"1f994",a:"5.0"},{n:["bat"],u:"1f987",a:"3.0"},{n:["bear","bear face"],u:"1f43b",a:"0.6"},{n:["polar bear"],u:"1f43b-200d-2744-fe0f",a:"13.0"},{n:["koala"],u:"1f428",a:"0.6"},{n:["panda face"],u:"1f43c",a:"0.6"},{n:["sloth"],u:"1f9a5",a:"12.0"},{n:["otter"],u:"1f9a6",a:"12.0"},{n:["skunk"],u:"1f9a8",a:"12.0"},{n:["kangaroo"],u:"1f998",a:"11.0"},{n:["badger"],u:"1f9a1",a:"11.0"},{n:["feet","paw prints"],u:"1f43e",a:"0.6"},{n:["turkey"],u:"1f983",a:"1.0"},{n:["chicken"],u:"1f414",a:"0.6"},{n:["rooster"],u:"1f413",a:"1.0"},{n:["hatching chick"],u:"1f423",a:"0.6"},{n:["baby chick"],u:"1f424",a:"0.6"},{n:["hatched chick","front-facing baby chick"],u:"1f425",a:"0.6"},{n:["bird"],u:"1f426",a:"0.6"},{n:["penguin"],u:"1f427",a:"0.6"},{n:["dove","dove of peace"],u:"1f54a-fe0f",a:"0.7"},{n:["eagle"],u:"1f985",a:"3.0"},{n:["duck"],u:"1f986",a:"3.0"},{n:["swan"],u:"1f9a2",a:"11.0"},{n:["owl"],u:"1f989",a:"3.0"},{n:["dodo"],u:"1f9a4",a:"13.0"},{n:["feather"],u:"1fab6",a:"13.0"},{n:["flamingo"],u:"1f9a9",a:"12.0"},{n:["peacock"],u:"1f99a",a:"11.0"},{n:["parrot"],u:"1f99c",a:"11.0"},{n:["wing"],u:"1fabd",a:"15.0"},{n:["black bird"],u:"1f426-200d-2b1b",a:"15.0"},{n:["goose"],u:"1fabf",a:"15.0"},{n:["phoenix"],u:"1f426-200d-1f525",a:"15.1"},{n:["frog","frog face"],u:"1f438",a:"0.6"},{n:["crocodile"],u:"1f40a",a:"1.0"},{n:["turtle"],u:"1f422",a:"0.6"},{n:["lizard"],u:"1f98e",a:"3.0"},{n:["snake"],u:"1f40d",a:"0.6"},{n:["dragon face"],u:"1f432",a:"0.6"},{n:["dragon"],u:"1f409",a:"1.0"},{n:["sauropod"],u:"1f995",a:"5.0"},{n:["t-rex"],u:"1f996",a:"5.0"},{n:["whale","spouting whale"],u:"1f433",a:"0.6"},{n:["whale","whale2"],u:"1f40b",a:"1.0"},{n:["dolphin","flipper"],u:"1f42c",a:"0.6"},{n:["seal"],u:"1f9ad",a:"13.0"},{n:["fish"],u:"1f41f",a:"0.6"},{n:["tropical fish"],u:"1f420",a:"0.6"},{n:["blowfish"],u:"1f421",a:"0.6"},{n:["shark"],u:"1f988",a:"3.0"},{n:["octopus"],u:"1f419",a:"0.6"},{n:["shell","spiral shell"],u:"1f41a",a:"0.6"},{n:["coral"],u:"1fab8",a:"14.0"},{n:["jellyfish"],u:"1fabc",a:"15.0"},{n:["snail"],u:"1f40c",a:"0.6"},{n:["butterfly"],u:"1f98b",a:"3.0"},{n:["bug"],u:"1f41b",a:"0.6"},{n:["ant"],u:"1f41c",a:"0.6"},{n:["bee","honeybee"],u:"1f41d",a:"0.6"},{n:["beetle"],u:"1fab2",a:"13.0"},{n:["ladybug","lady beetle"],u:"1f41e",a:"0.6"},{n:["cricket"],u:"1f997",a:"5.0"},{n:["cockroach"],u:"1fab3",a:"13.0"},{n:["spider"],u:"1f577-fe0f",a:"0.7"},{n:["spider web"],u:"1f578-fe0f",a:"0.7"},{n:["scorpion"],u:"1f982",a:"1.0"},{n:["mosquito"],u:"1f99f",a:"11.0"},{n:["fly"],u:"1fab0",a:"13.0"},{n:["worm"],u:"1fab1",a:"13.0"},{n:["microbe"],u:"1f9a0",a:"11.0"},{n:["bouquet"],u:"1f490",a:"0.6"},{n:["cherry blossom"],u:"1f338",a:"0.6"},{n:["white flower"],u:"1f4ae",a:"0.6"},{n:["lotus"],u:"1fab7",a:"14.0"},{n:["rosette"],u:"1f3f5-fe0f",a:"0.7"},{n:["rose"],u:"1f339",a:"0.6"},{n:["wilted flower"],u:"1f940",a:"3.0"},{n:["hibiscus"],u:"1f33a",a:"0.6"},{n:["sunflower"],u:"1f33b",a:"0.6"},{n:["blossom"],u:"1f33c",a:"0.6"},{n:["tulip"],u:"1f337",a:"0.6"},{n:["hyacinth"],u:"1fabb",a:"15.0"},{n:["seedling"],u:"1f331",a:"0.6"},{n:["potted plant"],u:"1fab4",a:"13.0"},{n:["evergreen tree"],u:"1f332",a:"1.0"},{n:["deciduous tree"],u:"1f333",a:"1.0"},{n:["palm tree"],u:"1f334",a:"0.6"},{n:["cactus"],u:"1f335",a:"0.6"},{n:["ear of rice"],u:"1f33e",a:"0.6"},{n:["herb"],u:"1f33f",a:"0.6"},{n:["shamrock"],u:"2618-fe0f",a:"1.0"},{n:["four leaf clover"],u:"1f340",a:"0.6"},{n:["maple leaf"],u:"1f341",a:"0.6"},{n:["fallen leaf"],u:"1f342",a:"0.6"},{n:["leaves","leaf fluttering in wind"],u:"1f343",a:"0.6"},{n:["empty nest"],u:"1fab9",a:"14.0"},{n:["nest with eggs"],u:"1faba",a:"14.0"},{n:["mushroom"],u:"1f344",a:"0.6"}],tS=[{n:["grapes"],u:"1f347",a:"0.6"},{n:["melon"],u:"1f348",a:"0.6"},{n:["watermelon"],u:"1f349",a:"0.6"},{n:["tangerine"],u:"1f34a",a:"0.6"},{n:["lemon"],u:"1f34b",a:"1.0"},{n:["lime"],u:"1f34b-200d-1f7e9",a:"15.1"},{n:["banana"],u:"1f34c",a:"0.6"},{n:["pineapple"],u:"1f34d",a:"0.6"},{n:["mango"],u:"1f96d",a:"11.0"},{n:["apple","red apple"],u:"1f34e",a:"0.6"},{n:["green apple"],u:"1f34f",a:"0.6"},{n:["pear"],u:"1f350",a:"1.0"},{n:["peach"],u:"1f351",a:"0.6"},{n:["cherries"],u:"1f352",a:"0.6"},{n:["strawberry"],u:"1f353",a:"0.6"},{n:["blueberries"],u:"1fad0",a:"13.0"},{n:["kiwifruit"],u:"1f95d",a:"3.0"},{n:["tomato"],u:"1f345",a:"0.6"},{n:["olive"],u:"1fad2",a:"13.0"},{n:["coconut"],u:"1f965",a:"5.0"},{n:["avocado"],u:"1f951",a:"3.0"},{n:["eggplant","aubergine"],u:"1f346",a:"0.6"},{n:["potato"],u:"1f954",a:"3.0"},{n:["carrot"],u:"1f955",a:"3.0"},{n:["corn","ear of maize"],u:"1f33d",a:"0.6"},{n:["hot pepper"],u:"1f336-fe0f",a:"0.7"},{n:["bell pepper"],u:"1fad1",a:"13.0"},{n:["cucumber"],u:"1f952",a:"3.0"},{n:["leafy green"],u:"1f96c",a:"11.0"},{n:["broccoli"],u:"1f966",a:"5.0"},{n:["garlic"],u:"1f9c4",a:"12.0"},{n:["onion"],u:"1f9c5",a:"12.0"},{n:["peanuts"],u:"1f95c",a:"3.0"},{n:["beans"],u:"1fad8",a:"14.0"},{n:["chestnut"],u:"1f330",a:"0.6"},{n:["ginger root"],u:"1fada",a:"15.0"},{n:["pea pod"],u:"1fadb",a:"15.0"},{n:["brown mushroom"],u:"1f344-200d-1f7eb",a:"15.1"},{n:["bread"],u:"1f35e",a:"0.6"},{n:["croissant"],u:"1f950",a:"3.0"},{n:["baguette bread"],u:"1f956",a:"3.0"},{n:["flatbread"],u:"1fad3",a:"13.0"},{n:["pretzel"],u:"1f968",a:"5.0"},{n:["bagel"],u:"1f96f",a:"11.0"},{n:["pancakes"],u:"1f95e",a:"3.0"},{n:["waffle"],u:"1f9c7",a:"12.0"},{n:["cheese wedge"],u:"1f9c0",a:"1.0"},{n:["meat on bone"],u:"1f356",a:"0.6"},{n:["poultry leg"],u:"1f357",a:"0.6"},{n:["cut of meat"],u:"1f969",a:"5.0"},{n:["bacon"],u:"1f953",a:"3.0"},{n:["hamburger"],u:"1f354",a:"0.6"},{n:["fries","french fries"],u:"1f35f",a:"0.6"},{n:["pizza","slice of pizza"],u:"1f355",a:"0.6"},{n:["hotdog","hot dog"],u:"1f32d",a:"1.0"},{n:["sandwich"],u:"1f96a",a:"5.0"},{n:["taco"],u:"1f32e",a:"1.0"},{n:["burrito"],u:"1f32f",a:"1.0"},{n:["tamale"],u:"1fad4",a:"13.0"},{n:["stuffed flatbread"],u:"1f959",a:"3.0"},{n:["falafel"],u:"1f9c6",a:"12.0"},{n:["egg"],u:"1f95a",a:"3.0"},{n:["cooking","fried egg"],u:"1f373",a:"0.6"},{n:["shallow pan of food"],u:"1f958",a:"3.0"},{n:["stew","pot of food"],u:"1f372",a:"0.6"},{n:["fondue"],u:"1fad5",a:"13.0"},{n:["bowl with spoon"],u:"1f963",a:"5.0"},{n:["green salad"],u:"1f957",a:"3.0"},{n:["popcorn"],u:"1f37f",a:"1.0"},{n:["butter"],u:"1f9c8",a:"12.0"},{n:["salt","salt shaker"],u:"1f9c2",a:"11.0"},{n:["canned food"],u:"1f96b",a:"5.0"},{n:["bento","bento box"],u:"1f371",a:"0.6"},{n:["rice cracker"],u:"1f358",a:"0.6"},{n:["rice ball"],u:"1f359",a:"0.6"},{n:["rice","cooked rice"],u:"1f35a",a:"0.6"},{n:["curry","curry and rice"],u:"1f35b",a:"0.6"},{n:["ramen","steaming bowl"],u:"1f35c",a:"0.6"},{n:["spaghetti"],u:"1f35d",a:"0.6"},{n:["sweet potato","roasted sweet potato"],u:"1f360",a:"0.6"},{n:["oden"],u:"1f362",a:"0.6"},{n:["sushi"],u:"1f363",a:"0.6"},{n:["fried shrimp"],u:"1f364",a:"0.6"},{n:["fish cake","fish cake with swirl design"],u:"1f365",a:"0.6"},{n:["moon cake"],u:"1f96e",a:"11.0"},{n:["dango"],u:"1f361",a:"0.6"},{n:["dumpling"],u:"1f95f",a:"5.0"},{n:["fortune cookie"],u:"1f960",a:"5.0"},{n:["takeout box"],u:"1f961",a:"5.0"},{n:["crab"],u:"1f980",a:"1.0"},{n:["lobster"],u:"1f99e",a:"11.0"},{n:["shrimp"],u:"1f990",a:"3.0"},{n:["squid"],u:"1f991",a:"3.0"},{n:["oyster"],u:"1f9aa",a:"12.0"},{n:["icecream","soft ice cream"],u:"1f366",a:"0.6"},{n:["shaved ice"],u:"1f367",a:"0.6"},{n:["ice cream"],u:"1f368",a:"0.6"},{n:["doughnut"],u:"1f369",a:"0.6"},{n:["cookie"],u:"1f36a",a:"0.6"},{n:["birthday","birthday cake"],u:"1f382",a:"0.6"},{n:["cake","shortcake"],u:"1f370",a:"0.6"},{n:["cupcake"],u:"1f9c1",a:"11.0"},{n:["pie"],u:"1f967",a:"5.0"},{n:["chocolate bar"],u:"1f36b",a:"0.6"},{n:["candy"],u:"1f36c",a:"0.6"},{n:["lollipop"],u:"1f36d",a:"0.6"},{n:["custard"],u:"1f36e",a:"0.6"},{n:["honey pot"],u:"1f36f",a:"0.6"},{n:["baby bottle"],u:"1f37c",a:"1.0"},{n:["glass of milk"],u:"1f95b",a:"3.0"},{n:["coffee","hot beverage"],u:"2615",a:"0.6"},{n:["teapot"],u:"1fad6",a:"13.0"},{n:["tea","teacup without handle"],u:"1f375",a:"0.6"},{n:["sake","sake bottle and cup"],u:"1f376",a:"0.6"},{n:["champagne","bottle with popping cork"],u:"1f37e",a:"1.0"},{n:["wine glass"],u:"1f377",a:"0.6"},{n:["cocktail","cocktail glass"],u:"1f378",a:"0.6"},{n:["tropical drink"],u:"1f379",a:"0.6"},{n:["beer","beer mug"],u:"1f37a",a:"0.6"},{n:["beers","clinking beer mugs"],u:"1f37b",a:"0.6"},{n:["clinking glasses"],u:"1f942",a:"3.0"},{n:["tumbler glass"],u:"1f943",a:"3.0"},{n:["pouring liquid"],u:"1fad7",a:"14.0"},{n:["cup with straw"],u:"1f964",a:"5.0"},{n:["bubble tea"],u:"1f9cb",a:"13.0"},{n:["beverage box"],u:"1f9c3",a:"12.0"},{n:["mate drink"],u:"1f9c9",a:"12.0"},{n:["ice cube"],u:"1f9ca",a:"12.0"},{n:["chopsticks"],u:"1f962",a:"5.0"},{n:["knife fork plate","fork and knife with plate"],u:"1f37d-fe0f",a:"0.7"},{n:["fork and knife"],u:"1f374",a:"0.6"},{n:["spoon"],u:"1f944",a:"3.0"},{n:["hocho","knife"],u:"1f52a",a:"0.6"},{n:["jar"],u:"1fad9",a:"14.0"},{n:["amphora"],u:"1f3fa",a:"1.0"}],nS=[{n:["earth africa","earth globe europe-africa"],u:"1f30d",a:"0.7"},{n:["earth americas","earth globe americas"],u:"1f30e",a:"0.7"},{n:["earth asia","earth globe asia-australia"],u:"1f30f",a:"0.6"},{n:["globe with meridians"],u:"1f310",a:"1.0"},{n:["world map"],u:"1f5fa-fe0f",a:"0.7"},{n:["japan","silhouette of japan"],u:"1f5fe",a:"0.6"},{n:["compass"],u:"1f9ed",a:"11.0"},{n:["snow-capped mountain","snow capped mountain"],u:"1f3d4-fe0f",a:"0.7"},{n:["mountain"],u:"26f0-fe0f",a:"0.7"},{n:["volcano"],u:"1f30b",a:"0.6"},{n:["mount fuji"],u:"1f5fb",a:"0.6"},{n:["camping"],u:"1f3d5-fe0f",a:"0.7"},{n:["beach with umbrella"],u:"1f3d6-fe0f",a:"0.7"},{n:["desert"],u:"1f3dc-fe0f",a:"0.7"},{n:["desert island"],u:"1f3dd-fe0f",a:"0.7"},{n:["national park"],u:"1f3de-fe0f",a:"0.7"},{n:["stadium"],u:"1f3df-fe0f",a:"0.7"},{n:["classical building"],u:"1f3db-fe0f",a:"0.7"},{n:["building construction"],u:"1f3d7-fe0f",a:"0.7"},{n:["brick","bricks"],u:"1f9f1",a:"11.0"},{n:["rock"],u:"1faa8",a:"13.0"},{n:["wood"],u:"1fab5",a:"13.0"},{n:["hut"],u:"1f6d6",a:"13.0"},{n:["houses","house buildings"],u:"1f3d8-fe0f",a:"0.7"},{n:["derelict house","derelict house building"],u:"1f3da-fe0f",a:"0.7"},{n:["house","house building"],u:"1f3e0",a:"0.6"},{n:["house with garden"],u:"1f3e1",a:"0.6"},{n:["office","office building"],u:"1f3e2",a:"0.6"},{n:["post office","japanese post office"],u:"1f3e3",a:"0.6"},{n:["european post office"],u:"1f3e4",a:"1.0"},{n:["hospital"],u:"1f3e5",a:"0.6"},{n:["bank"],u:"1f3e6",a:"0.6"},{n:["hotel"],u:"1f3e8",a:"0.6"},{n:["love hotel"],u:"1f3e9",a:"0.6"},{n:["convenience store"],u:"1f3ea",a:"0.6"},{n:["school"],u:"1f3eb",a:"0.6"},{n:["department store"],u:"1f3ec",a:"0.6"},{n:["factory"],u:"1f3ed",a:"0.6"},{n:["japanese castle"],u:"1f3ef",a:"0.6"},{n:["european castle"],u:"1f3f0",a:"0.6"},{n:["wedding"],u:"1f492",a:"0.6"},{n:["tokyo tower"],u:"1f5fc",a:"0.6"},{n:["statue of liberty"],u:"1f5fd",a:"0.6"},{n:["church"],u:"26ea",a:"0.6"},{n:["mosque"],u:"1f54c",a:"1.0"},{n:["hindu temple"],u:"1f6d5",a:"12.0"},{n:["synagogue"],u:"1f54d",a:"1.0"},{n:["shinto shrine"],u:"26e9-fe0f",a:"0.7"},{n:["kaaba"],u:"1f54b",a:"1.0"},{n:["fountain"],u:"26f2",a:"0.6"},{n:["tent"],u:"26fa",a:"0.6"},{n:["foggy"],u:"1f301",a:"0.6"},{n:["night with stars"],u:"1f303",a:"0.6"},{n:["cityscape"],u:"1f3d9-fe0f",a:"0.7"},{n:["sunrise over mountains"],u:"1f304",a:"0.6"},{n:["sunrise"],u:"1f305",a:"0.6"},{n:["city sunset","cityscape at dusk"],u:"1f306",a:"0.6"},{n:["city sunrise","sunset over buildings"],u:"1f307",a:"0.6"},{n:["bridge at night"],u:"1f309",a:"0.6"},{n:["hotsprings","hot springs"],u:"2668-fe0f",a:"0.6"},{n:["carousel horse"],u:"1f3a0",a:"0.6"},{n:["playground slide"],u:"1f6dd",a:"14.0"},{n:["ferris wheel"],u:"1f3a1",a:"0.6"},{n:["roller coaster"],u:"1f3a2",a:"0.6"},{n:["barber","barber pole"],u:"1f488",a:"0.6"},{n:["circus tent"],u:"1f3aa",a:"0.6"},{n:["steam locomotive"],u:"1f682",a:"1.0"},{n:["railway car"],u:"1f683",a:"0.6"},{n:["high-speed train","bullettrain side"],u:"1f684",a:"0.6"},{n:["bullettrain front","high-speed train with bullet nose"],u:"1f685",a:"0.6"},{n:["train","train2"],u:"1f686",a:"1.0"},{n:["metro"],u:"1f687",a:"0.6"},{n:["light rail"],u:"1f688",a:"1.0"},{n:["station"],u:"1f689",a:"0.6"},{n:["tram"],u:"1f68a",a:"1.0"},{n:["monorail"],u:"1f69d",a:"1.0"},{n:["mountain railway"],u:"1f69e",a:"1.0"},{n:["train","tram car"],u:"1f68b",a:"1.0"},{n:["bus"],u:"1f68c",a:"0.6"},{n:["oncoming bus"],u:"1f68d",a:"0.7"},{n:["trolleybus"],u:"1f68e",a:"1.0"},{n:["minibus"],u:"1f690",a:"1.0"},{n:["ambulance"],u:"1f691",a:"0.6"},{n:["fire engine"],u:"1f692",a:"0.6"},{n:["police car"],u:"1f693",a:"0.6"},{n:["oncoming police car"],u:"1f694",a:"0.7"},{n:["taxi"],u:"1f695",a:"0.6"},{n:["oncoming taxi"],u:"1f696",a:"1.0"},{n:["car","red car","automobile"],u:"1f697",a:"0.6"},{n:["oncoming automobile"],u:"1f698",a:"0.7"},{n:["blue car","recreational vehicle"],u:"1f699",a:"0.6"},{n:["pickup truck"],u:"1f6fb",a:"13.0"},{n:["truck","delivery truck"],u:"1f69a",a:"0.6"},{n:["articulated lorry"],u:"1f69b",a:"1.0"},{n:["tractor"],u:"1f69c",a:"1.0"},{n:["racing car"],u:"1f3ce-fe0f",a:"0.7"},{n:["motorcycle","racing motorcycle"],u:"1f3cd-fe0f",a:"0.7"},{n:["motor scooter"],u:"1f6f5",a:"3.0"},{n:["manual wheelchair"],u:"1f9bd",a:"12.0"},{n:["motorized wheelchair"],u:"1f9bc",a:"12.0"},{n:["auto rickshaw"],u:"1f6fa",a:"12.0"},{n:["bike","bicycle"],u:"1f6b2",a:"0.6"},{n:["scooter"],u:"1f6f4",a:"3.0"},{n:["skateboard"],u:"1f6f9",a:"11.0"},{n:["roller skate"],u:"1f6fc",a:"13.0"},{n:["busstop","bus stop"],u:"1f68f",a:"0.6"},{n:["motorway"],u:"1f6e3-fe0f",a:"0.7"},{n:["railway track"],u:"1f6e4-fe0f",a:"0.7"},{n:["oil drum"],u:"1f6e2-fe0f",a:"0.7"},{n:["fuelpump","fuel pump"],u:"26fd",a:"0.6"},{n:["wheel"],u:"1f6de",a:"14.0"},{n:["rotating light","police cars revolving light"],u:"1f6a8",a:"0.6"},{n:["traffic light","horizontal traffic light"],u:"1f6a5",a:"0.6"},{n:["vertical traffic light"],u:"1f6a6",a:"1.0"},{n:["octagonal sign"],u:"1f6d1",a:"3.0"},{n:["construction","construction sign"],u:"1f6a7",a:"0.6"},{n:["anchor"],u:"2693",a:"0.6"},{n:["ring buoy"],u:"1f6df",a:"14.0"},{n:["boat","sailboat"],u:"26f5",a:"0.6"},{n:["canoe"],u:"1f6f6",a:"3.0"},{n:["speedboat"],u:"1f6a4",a:"0.6"},{n:["passenger ship"],u:"1f6f3-fe0f",a:"0.7"},{n:["ferry"],u:"26f4-fe0f",a:"0.7"},{n:["motor boat"],u:"1f6e5-fe0f",a:"0.7"},{n:["ship"],u:"1f6a2",a:"0.6"},{n:["airplane"],u:"2708-fe0f",a:"0.6"},{n:["small airplane"],u:"1f6e9-fe0f",a:"0.7"},{n:["airplane departure"],u:"1f6eb",a:"1.0"},{n:["airplane arriving"],u:"1f6ec",a:"1.0"},{n:["parachute"],u:"1fa82",a:"12.0"},{n:["seat"],u:"1f4ba",a:"0.6"},{n:["helicopter"],u:"1f681",a:"1.0"},{n:["suspension railway"],u:"1f69f",a:"1.0"},{n:["mountain cableway"],u:"1f6a0",a:"1.0"},{n:["aerial tramway"],u:"1f6a1",a:"1.0"},{n:["satellite"],u:"1f6f0-fe0f",a:"0.7"},{n:["rocket"],u:"1f680",a:"0.6"},{n:["flying saucer"],u:"1f6f8",a:"5.0"},{n:["bellhop bell"],u:"1f6ce-fe0f",a:"0.7"},{n:["luggage"],u:"1f9f3",a:"11.0"},{n:["hourglass"],u:"231b",a:"0.6"},{n:["hourglass flowing sand","hourglass with flowing sand"],u:"23f3",a:"0.6"},{n:["watch"],u:"231a",a:"0.6"},{n:["alarm clock"],u:"23f0",a:"0.6"},{n:["stopwatch"],u:"23f1-fe0f",a:"1.0"},{n:["timer clock"],u:"23f2-fe0f",a:"1.0"},{n:["mantelpiece clock"],u:"1f570-fe0f",a:"0.7"},{n:["clock12","clock face twelve oclock"],u:"1f55b",a:"0.6"},{n:["clock1230","clock face twelve-thirty"],u:"1f567",a:"0.7"},{n:["clock1","clock face one oclock"],u:"1f550",a:"0.6"},{n:["clock130","clock face one-thirty"],u:"1f55c",a:"0.7"},{n:["clock2","clock face two oclock"],u:"1f551",a:"0.6"},{n:["clock230","clock face two-thirty"],u:"1f55d",a:"0.7"},{n:["clock3","clock face three oclock"],u:"1f552",a:"0.6"},{n:["clock330","clock face three-thirty"],u:"1f55e",a:"0.7"},{n:["clock4","clock face four oclock"],u:"1f553",a:"0.6"},{n:["clock430","clock face four-thirty"],u:"1f55f",a:"0.7"},{n:["clock5","clock face five oclock"],u:"1f554",a:"0.6"},{n:["clock530","clock face five-thirty"],u:"1f560",a:"0.7"},{n:["clock6","clock face six oclock"],u:"1f555",a:"0.6"},{n:["clock630","clock face six-thirty"],u:"1f561",a:"0.7"},{n:["clock7","clock face seven oclock"],u:"1f556",a:"0.6"},{n:["clock730","clock face seven-thirty"],u:"1f562",a:"0.7"},{n:["clock8","clock face eight oclock"],u:"1f557",a:"0.6"},{n:["clock830","clock face eight-thirty"],u:"1f563",a:"0.7"},{n:["clock9","clock face nine oclock"],u:"1f558",a:"0.6"},{n:["clock930","clock face nine-thirty"],u:"1f564",a:"0.7"},{n:["clock10","clock face ten oclock"],u:"1f559",a:"0.6"},{n:["clock1030","clock face ten-thirty"],u:"1f565",a:"0.7"},{n:["clock11","clock face eleven oclock"],u:"1f55a",a:"0.6"},{n:["clock1130","clock face eleven-thirty"],u:"1f566",a:"0.7"},{n:["new moon","new moon symbol"],u:"1f311",a:"0.6"},{n:["waxing crescent moon","waxing crescent moon symbol"],u:"1f312",a:"1.0"},{n:["first quarter moon","first quarter moon symbol"],u:"1f313",a:"0.6"},{n:["moon","waxing gibbous moon","waxing gibbous moon symbol"],u:"1f314",a:"0.6"},{n:["full moon","full moon symbol"],u:"1f315",a:"0.6"},{n:["waning gibbous moon","waning gibbous moon symbol"],u:"1f316",a:"1.0"},{n:["last quarter moon","last quarter moon symbol"],u:"1f317",a:"1.0"},{n:["waning crescent moon","waning crescent moon symbol"],u:"1f318",a:"1.0"},{n:["crescent moon"],u:"1f319",a:"0.6"},{n:["new moon with face"],u:"1f31a",a:"1.0"},{n:["first quarter moon with face"],u:"1f31b",a:"0.6"},{n:["last quarter moon with face"],u:"1f31c",a:"0.7"},{n:["thermometer"],u:"1f321-fe0f",a:"0.7"},{n:["sunny","black sun with rays"],u:"2600-fe0f",a:"0.6"},{n:["full moon with face"],u:"1f31d",a:"1.0"},{n:["sun with face"],u:"1f31e",a:"1.0"},{n:["ringed planet"],u:"1fa90",a:"12.0"},{n:["star","white medium star"],u:"2b50",a:"0.6"},{n:["star2","glowing star"],u:"1f31f",a:"0.6"},{n:["stars","shooting star"],u:"1f320",a:"0.6"},{n:["milky way"],u:"1f30c",a:"0.6"},{n:["cloud"],u:"2601-fe0f",a:"0.6"},{n:["partly sunny","sun behind cloud"],u:"26c5",a:"0.6"},{n:["thunder cloud and rain","cloud with lightning and rain"],u:"26c8-fe0f",a:"0.7"},{n:["mostly sunny","sun small cloud","sun behind small cloud"],u:"1f324-fe0f",a:"0.7"},{n:["barely sunny","sun behind cloud","sun behind large cloud"],u:"1f325-fe0f",a:"0.7"},{n:["partly sunny rain","sun behind rain cloud"],u:"1f326-fe0f",a:"0.7"},{n:["rain cloud","cloud with rain"],u:"1f327-fe0f",a:"0.7"},{n:["snow cloud","cloud with snow"],u:"1f328-fe0f",a:"0.7"},{n:["lightning","lightning cloud","cloud with lightning"],u:"1f329-fe0f",a:"0.7"},{n:["tornado","tornado cloud"],u:"1f32a-fe0f",a:"0.7"},{n:["fog"],u:"1f32b-fe0f",a:"0.7"},{n:["wind face","wind blowing face"],u:"1f32c-fe0f",a:"0.7"},{n:["cyclone"],u:"1f300",a:"0.6"},{n:["rainbow"],u:"1f308",a:"0.6"},{n:["closed umbrella"],u:"1f302",a:"0.6"},{n:["umbrella"],u:"2602-fe0f",a:"0.7"},{n:["umbrella with rain drops"],u:"2614",a:"0.6"},{n:["umbrella on ground"],u:"26f1-fe0f",a:"0.7"},{n:["zap","high voltage sign"],u:"26a1",a:"0.6"},{n:["snowflake"],u:"2744-fe0f",a:"0.6"},{n:["snowman"],u:"2603-fe0f",a:"0.7"},{n:["snowman without snow"],u:"26c4",a:"0.6"},{n:["comet"],u:"2604-fe0f",a:"1.0"},{n:["fire"],u:"1f525",a:"0.6"},{n:["droplet"],u:"1f4a7",a:"0.6"},{n:["ocean","water wave"],u:"1f30a",a:"0.6"}],rS=[{n:["jack-o-lantern","jack o lantern"],u:"1f383",a:"0.6"},{n:["christmas tree"],u:"1f384",a:"0.6"},{n:["fireworks"],u:"1f386",a:"0.6"},{n:["sparkler","firework sparkler"],u:"1f387",a:"0.6"},{n:["firecracker"],u:"1f9e8",a:"11.0"},{n:["sparkles"],u:"2728",a:"0.6"},{n:["balloon"],u:"1f388",a:"0.6"},{n:["tada","party popper"],u:"1f389",a:"0.6"},{n:["confetti ball"],u:"1f38a",a:"0.6"},{n:["tanabata tree"],u:"1f38b",a:"0.6"},{n:["bamboo","pine decoration"],u:"1f38d",a:"0.6"},{n:["dolls","japanese dolls"],u:"1f38e",a:"0.6"},{n:["flags","carp streamer"],u:"1f38f",a:"0.6"},{n:["wind chime"],u:"1f390",a:"0.6"},{n:["rice scene","moon viewing ceremony"],u:"1f391",a:"0.6"},{n:["red envelope","red gift envelope"],u:"1f9e7",a:"11.0"},{n:["ribbon"],u:"1f380",a:"0.6"},{n:["gift","wrapped present"],u:"1f381",a:"0.6"},{n:["reminder ribbon"],u:"1f397-fe0f",a:"0.7"},{n:["admission tickets"],u:"1f39f-fe0f",a:"0.7"},{n:["ticket"],u:"1f3ab",a:"0.6"},{n:["medal","military medal"],u:"1f396-fe0f",a:"0.7"},{n:["trophy"],u:"1f3c6",a:"0.6"},{n:["sports medal"],u:"1f3c5",a:"1.0"},{n:["first place medal"],u:"1f947",a:"3.0"},{n:["second place medal"],u:"1f948",a:"3.0"},{n:["third place medal"],u:"1f949",a:"3.0"},{n:["soccer","soccer ball"],u:"26bd",a:"0.6"},{n:["baseball"],u:"26be",a:"0.6"},{n:["softball"],u:"1f94e",a:"11.0"},{n:["basketball","basketball and hoop"],u:"1f3c0",a:"0.6"},{n:["volleyball"],u:"1f3d0",a:"1.0"},{n:["football","american football"],u:"1f3c8",a:"0.6"},{n:["rugby football"],u:"1f3c9",a:"1.0"},{n:["tennis","tennis racquet and ball"],u:"1f3be",a:"0.6"},{n:["flying disc"],u:"1f94f",a:"11.0"},{n:["bowling"],u:"1f3b3",a:"0.6"},{n:["cricket bat and ball"],u:"1f3cf",a:"1.0"},{n:["field hockey stick and ball"],u:"1f3d1",a:"1.0"},{n:["ice hockey stick and puck"],u:"1f3d2",a:"1.0"},{n:["lacrosse","lacrosse stick and ball"],u:"1f94d",a:"11.0"},{n:["table tennis paddle and ball"],u:"1f3d3",a:"1.0"},{n:["badminton racquet and shuttlecock"],u:"1f3f8",a:"1.0"},{n:["boxing glove"],u:"1f94a",a:"3.0"},{n:["martial arts uniform"],u:"1f94b",a:"3.0"},{n:["goal net"],u:"1f945",a:"3.0"},{n:["golf","flag in hole"],u:"26f3",a:"0.6"},{n:["ice skate"],u:"26f8-fe0f",a:"0.7"},{n:["fishing pole and fish"],u:"1f3a3",a:"0.6"},{n:["diving mask"],u:"1f93f",a:"12.0"},{n:["running shirt with sash"],u:"1f3bd",a:"0.6"},{n:["ski","ski and ski boot"],u:"1f3bf",a:"0.6"},{n:["sled"],u:"1f6f7",a:"5.0"},{n:["curling stone"],u:"1f94c",a:"5.0"},{n:["dart","direct hit"],u:"1f3af",a:"0.6"},{n:["yo-yo"],u:"1fa80",a:"12.0"},{n:["kite"],u:"1fa81",a:"12.0"},{n:["gun","pistol"],u:"1f52b",a:"0.6"},{n:["8ball","billiards"],u:"1f3b1",a:"0.6"},{n:["crystal ball"],u:"1f52e",a:"0.6"},{n:["magic wand"],u:"1fa84",a:"13.0"},{n:["video game"],u:"1f3ae",a:"0.6"},{n:["joystick"],u:"1f579-fe0f",a:"0.7"},{n:["slot machine"],u:"1f3b0",a:"0.6"},{n:["game die"],u:"1f3b2",a:"0.6"},{n:["jigsaw","jigsaw puzzle piece"],u:"1f9e9",a:"11.0"},{n:["teddy bear"],u:"1f9f8",a:"11.0"},{n:["pinata"],u:"1fa85",a:"13.0"},{n:["mirror ball"],u:"1faa9",a:"14.0"},{n:["nesting dolls"],u:"1fa86",a:"13.0"},{n:["spades","black spade suit"],u:"2660-fe0f",a:"0.6"},{n:["hearts","black heart suit"],u:"2665-fe0f",a:"0.6"},{n:["diamonds","black diamond suit"],u:"2666-fe0f",a:"0.6"},{n:["clubs","black club suit"],u:"2663-fe0f",a:"0.6"},{n:["chess pawn"],u:"265f-fe0f",a:"11.0"},{n:["black joker","playing card black joker"],u:"1f0cf",a:"0.6"},{n:["mahjong","mahjong tile red dragon"],u:"1f004",a:"0.6"},{n:["flower playing cards"],u:"1f3b4",a:"0.6"},{n:["performing arts"],u:"1f3ad",a:"0.6"},{n:["framed picture","frame with picture"],u:"1f5bc-fe0f",a:"0.7"},{n:["art","artist palette"],u:"1f3a8",a:"0.6"},{n:["thread","spool of thread"],u:"1f9f5",a:"11.0"},{n:["sewing needle"],u:"1faa1",a:"13.0"},{n:["yarn","ball of yarn"],u:"1f9f6",a:"11.0"},{n:["knot"],u:"1faa2",a:"13.0"}],iS=[{n:["eyeglasses"],u:"1f453",a:"0.6"},{n:["sunglasses","dark sunglasses"],u:"1f576-fe0f",a:"0.7"},{n:["goggles"],u:"1f97d",a:"11.0"},{n:["lab coat"],u:"1f97c",a:"11.0"},{n:["safety vest"],u:"1f9ba",a:"12.0"},{n:["necktie"],u:"1f454",a:"0.6"},{n:["shirt","tshirt","t-shirt"],u:"1f455",a:"0.6"},{n:["jeans"],u:"1f456",a:"0.6"},{n:["scarf"],u:"1f9e3",a:"5.0"},{n:["gloves"],u:"1f9e4",a:"5.0"},{n:["coat"],u:"1f9e5",a:"5.0"},{n:["socks"],u:"1f9e6",a:"5.0"},{n:["dress"],u:"1f457",a:"0.6"},{n:["kimono"],u:"1f458",a:"0.6"},{n:["sari"],u:"1f97b",a:"12.0"},{n:["one-piece swimsuit"],u:"1fa71",a:"12.0"},{n:["briefs"],u:"1fa72",a:"12.0"},{n:["shorts"],u:"1fa73",a:"12.0"},{n:["bikini"],u:"1f459",a:"0.6"},{n:["womans clothes"],u:"1f45a",a:"0.6"},{n:["folding hand fan"],u:"1faad",a:"15.0"},{n:["purse"],u:"1f45b",a:"0.6"},{n:["handbag"],u:"1f45c",a:"0.6"},{n:["pouch"],u:"1f45d",a:"0.6"},{n:["shopping bags"],u:"1f6cd-fe0f",a:"0.7"},{n:["school satchel"],u:"1f392",a:"0.6"},{n:["thong sandal"],u:"1fa74",a:"13.0"},{n:["shoe","mans shoe"],u:"1f45e",a:"0.6"},{n:["athletic shoe"],u:"1f45f",a:"0.6"},{n:["hiking boot"],u:"1f97e",a:"11.0"},{n:["flat shoe","womans flat shoe"],u:"1f97f",a:"11.0"},{n:["high heel","high-heeled shoe"],u:"1f460",a:"0.6"},{n:["sandal","womans sandal"],u:"1f461",a:"0.6"},{n:["ballet shoes"],u:"1fa70",a:"12.0"},{n:["boot","womans boots"],u:"1f462",a:"0.6"},{n:["hair pick"],u:"1faae",a:"15.0"},{n:["crown"],u:"1f451",a:"0.6"},{n:["womans hat"],u:"1f452",a:"0.6"},{n:["tophat","top hat"],u:"1f3a9",a:"0.6"},{n:["mortar board","graduation cap"],u:"1f393",a:"0.6"},{n:["billed cap"],u:"1f9e2",a:"5.0"},{n:["military helmet"],u:"1fa96",a:"13.0"},{n:["rescue worker’s helmet","helmet with white cross"],u:"26d1-fe0f",a:"0.7"},{n:["prayer beads"],u:"1f4ff",a:"1.0"},{n:["lipstick"],u:"1f484",a:"0.6"},{n:["ring"],u:"1f48d",a:"0.6"},{n:["gem","gem stone"],u:"1f48e",a:"0.6"},{n:["mute","speaker with cancellation stroke"],u:"1f507",a:"1.0"},{n:["speaker"],u:"1f508",a:"0.7"},{n:["sound","speaker with one sound wave"],u:"1f509",a:"1.0"},{n:["loud sound","speaker with three sound waves"],u:"1f50a",a:"0.6"},{n:["loudspeaker","public address loudspeaker"],u:"1f4e2",a:"0.6"},{n:["mega","cheering megaphone"],u:"1f4e3",a:"0.6"},{n:["postal horn"],u:"1f4ef",a:"1.0"},{n:["bell"],u:"1f514",a:"0.6"},{n:["no bell","bell with cancellation stroke"],u:"1f515",a:"1.0"},{n:["musical score"],u:"1f3bc",a:"0.6"},{n:["musical note"],u:"1f3b5",a:"0.6"},{n:["notes","multiple musical notes"],u:"1f3b6",a:"0.6"},{n:["studio microphone"],u:"1f399-fe0f",a:"0.7"},{n:["level slider"],u:"1f39a-fe0f",a:"0.7"},{n:["control knobs"],u:"1f39b-fe0f",a:"0.7"},{n:["microphone"],u:"1f3a4",a:"0.6"},{n:["headphone","headphones"],u:"1f3a7",a:"0.6"},{n:["radio"],u:"1f4fb",a:"0.6"},{n:["saxophone"],u:"1f3b7",a:"0.6"},{n:["accordion"],u:"1fa97",a:"13.0"},{n:["guitar"],u:"1f3b8",a:"0.6"},{n:["musical keyboard"],u:"1f3b9",a:"0.6"},{n:["trumpet"],u:"1f3ba",a:"0.6"},{n:["violin"],u:"1f3bb",a:"0.6"},{n:["banjo"],u:"1fa95",a:"12.0"},{n:["drum with drumsticks"],u:"1f941",a:"3.0"},{n:["long drum"],u:"1fa98",a:"13.0"},{n:["maracas"],u:"1fa87",a:"15.0"},{n:["flute"],u:"1fa88",a:"15.0"},{n:["iphone","mobile phone"],u:"1f4f1",a:"0.6"},{n:["calling","mobile phone with rightwards arrow at left"],u:"1f4f2",a:"0.6"},{n:["phone","telephone","black telephone"],u:"260e-fe0f",a:"0.6"},{n:["telephone receiver"],u:"1f4de",a:"0.6"},{n:["pager"],u:"1f4df",a:"0.6"},{n:["fax","fax machine"],u:"1f4e0",a:"0.6"},{n:["battery"],u:"1f50b",a:"0.6"},{n:["low battery"],u:"1faab",a:"14.0"},{n:["electric plug"],u:"1f50c",a:"0.6"},{n:["computer","personal computer"],u:"1f4bb",a:"0.6"},{n:["desktop computer"],u:"1f5a5-fe0f",a:"0.7"},{n:["printer"],u:"1f5a8-fe0f",a:"0.7"},{n:["keyboard"],u:"2328-fe0f",a:"1.0"},{n:["computer mouse","three button mouse"],u:"1f5b1-fe0f",a:"0.7"},{n:["trackball"],u:"1f5b2-fe0f",a:"0.7"},{n:["minidisc"],u:"1f4bd",a:"0.6"},{n:["floppy disk"],u:"1f4be",a:"0.6"},{n:["cd","optical disc"],u:"1f4bf",a:"0.6"},{n:["dvd"],u:"1f4c0",a:"0.6"},{n:["abacus"],u:"1f9ee",a:"11.0"},{n:["movie camera"],u:"1f3a5",a:"0.6"},{n:["film frames"],u:"1f39e-fe0f",a:"0.7"},{n:["film projector"],u:"1f4fd-fe0f",a:"0.7"},{n:["clapper","clapper board"],u:"1f3ac",a:"0.6"},{n:["tv","television"],u:"1f4fa",a:"0.6"},{n:["camera"],u:"1f4f7",a:"0.6"},{n:["camera with flash"],u:"1f4f8",a:"1.0"},{n:["video camera"],u:"1f4f9",a:"0.6"},{n:["vhs","videocassette"],u:"1f4fc",a:"0.6"},{n:["mag","left-pointing magnifying glass"],u:"1f50d",a:"0.6"},{n:["mag right","right-pointing magnifying glass"],u:"1f50e",a:"0.6"},{n:["candle"],u:"1f56f-fe0f",a:"0.7"},{n:["bulb","electric light bulb"],u:"1f4a1",a:"0.6"},{n:["flashlight","electric torch"],u:"1f526",a:"0.6"},{n:["lantern","izakaya lantern"],u:"1f3ee",a:"0.6"},{n:["diya lamp"],u:"1fa94",a:"12.0"},{n:["notebook with decorative cover"],u:"1f4d4",a:"0.6"},{n:["closed book"],u:"1f4d5",a:"0.6"},{n:["book","open book"],u:"1f4d6",a:"0.6"},{n:["green book"],u:"1f4d7",a:"0.6"},{n:["blue book"],u:"1f4d8",a:"0.6"},{n:["orange book"],u:"1f4d9",a:"0.6"},{n:["books"],u:"1f4da",a:"0.6"},{n:["notebook"],u:"1f4d3",a:"0.6"},{n:["ledger"],u:"1f4d2",a:"0.6"},{n:["page with curl"],u:"1f4c3",a:"0.6"},{n:["scroll"],u:"1f4dc",a:"0.6"},{n:["page facing up"],u:"1f4c4",a:"0.6"},{n:["newspaper"],u:"1f4f0",a:"0.6"},{n:["rolled-up newspaper","rolled up newspaper"],u:"1f5de-fe0f",a:"0.7"},{n:["bookmark tabs"],u:"1f4d1",a:"0.6"},{n:["bookmark"],u:"1f516",a:"0.6"},{n:["label"],u:"1f3f7-fe0f",a:"0.7"},{n:["moneybag","money bag"],u:"1f4b0",a:"0.6"},{n:["coin"],u:"1fa99",a:"13.0"},{n:["yen","banknote with yen sign"],u:"1f4b4",a:"0.6"},{n:["dollar","banknote with dollar sign"],u:"1f4b5",a:"0.6"},{n:["euro","banknote with euro sign"],u:"1f4b6",a:"1.0"},{n:["pound","banknote with pound sign"],u:"1f4b7",a:"1.0"},{n:["money with wings"],u:"1f4b8",a:"0.6"},{n:["credit card"],u:"1f4b3",a:"0.6"},{n:["receipt"],u:"1f9fe",a:"11.0"},{n:["chart","chart with upwards trend and yen sign"],u:"1f4b9",a:"0.6"},{n:["email","envelope"],u:"2709-fe0f",a:"0.6"},{n:["e-mail","e-mail symbol"],u:"1f4e7",a:"0.6"},{n:["incoming envelope"],u:"1f4e8",a:"0.6"},{n:["envelope with arrow","envelope with downwards arrow above"],u:"1f4e9",a:"0.6"},{n:["outbox tray"],u:"1f4e4",a:"0.6"},{n:["inbox tray"],u:"1f4e5",a:"0.6"},{n:["package"],u:"1f4e6",a:"0.6"},{n:["mailbox","closed mailbox with raised flag"],u:"1f4eb",a:"0.6"},{n:["mailbox closed","closed mailbox with lowered flag"],u:"1f4ea",a:"0.6"},{n:["mailbox with mail","open mailbox with raised flag"],u:"1f4ec",a:"0.7"},{n:["mailbox with no mail","open mailbox with lowered flag"],u:"1f4ed",a:"0.7"},{n:["postbox"],u:"1f4ee",a:"0.6"},{n:["ballot box with ballot"],u:"1f5f3-fe0f",a:"0.7"},{n:["pencil","pencil2"],u:"270f-fe0f",a:"0.6"},{n:["black nib"],u:"2712-fe0f",a:"0.6"},{n:["fountain pen","lower left fountain pen"],u:"1f58b-fe0f",a:"0.7"},{n:["pen","lower left ballpoint pen"],u:"1f58a-fe0f",a:"0.7"},{n:["paintbrush","lower left paintbrush"],u:"1f58c-fe0f",a:"0.7"},{n:["crayon","lower left crayon"],u:"1f58d-fe0f",a:"0.7"},{n:["memo","pencil"],u:"1f4dd",a:"0.6"},{n:["briefcase"],u:"1f4bc",a:"0.6"},{n:["file folder"],u:"1f4c1",a:"0.6"},{n:["open file folder"],u:"1f4c2",a:"0.6"},{n:["card index dividers"],u:"1f5c2-fe0f",a:"0.7"},{n:["date","calendar"],u:"1f4c5",a:"0.6"},{n:["calendar","tear-off calendar"],u:"1f4c6",a:"0.6"},{n:["spiral notepad","spiral note pad"],u:"1f5d2-fe0f",a:"0.7"},{n:["spiral calendar","spiral calendar pad"],u:"1f5d3-fe0f",a:"0.7"},{n:["card index"],u:"1f4c7",a:"0.6"},{n:["chart with upwards trend"],u:"1f4c8",a:"0.6"},{n:["chart with downwards trend"],u:"1f4c9",a:"0.6"},{n:["bar chart"],u:"1f4ca",a:"0.6"},{n:["clipboard"],u:"1f4cb",a:"0.6"},{n:["pushpin"],u:"1f4cc",a:"0.6"},{n:["round pushpin"],u:"1f4cd",a:"0.6"},{n:["paperclip"],u:"1f4ce",a:"0.6"},{n:["linked paperclips"],u:"1f587-fe0f",a:"0.7"},{n:["straight ruler"],u:"1f4cf",a:"0.6"},{n:["triangular ruler"],u:"1f4d0",a:"0.6"},{n:["scissors","black scissors"],u:"2702-fe0f",a:"0.6"},{n:["card file box"],u:"1f5c3-fe0f",a:"0.7"},{n:["file cabinet"],u:"1f5c4-fe0f",a:"0.7"},{n:["wastebasket"],u:"1f5d1-fe0f",a:"0.7"},{n:["lock"],u:"1f512",a:"0.6"},{n:["unlock","open lock"],u:"1f513",a:"0.6"},{n:["lock with ink pen"],u:"1f50f",a:"0.6"},{n:["closed lock with key"],u:"1f510",a:"0.6"},{n:["key"],u:"1f511",a:"0.6"},{n:["old key"],u:"1f5dd-fe0f",a:"0.7"},{n:["hammer"],u:"1f528",a:"0.6"},{n:["axe"],u:"1fa93",a:"12.0"},{n:["pick"],u:"26cf-fe0f",a:"0.7"},{n:["hammer and pick"],u:"2692-fe0f",a:"1.0"},{n:["hammer and wrench"],u:"1f6e0-fe0f",a:"0.7"},{n:["dagger","dagger knife"],u:"1f5e1-fe0f",a:"0.7"},{n:["crossed swords"],u:"2694-fe0f",a:"1.0"},{n:["bomb"],u:"1f4a3",a:"0.6"},{n:["boomerang"],u:"1fa83",a:"13.0"},{n:["bow and arrow"],u:"1f3f9",a:"1.0"},{n:["shield"],u:"1f6e1-fe0f",a:"0.7"},{n:["carpentry saw"],u:"1fa9a",a:"13.0"},{n:["wrench"],u:"1f527",a:"0.6"},{n:["screwdriver"],u:"1fa9b",a:"13.0"},{n:["nut and bolt"],u:"1f529",a:"0.6"},{n:["gear"],u:"2699-fe0f",a:"1.0"},{n:["clamp","compression"],u:"1f5dc-fe0f",a:"0.7"},{n:["scales","balance scale"],u:"2696-fe0f",a:"1.0"},{n:["probing cane"],u:"1f9af",a:"12.0"},{n:["link","link symbol"],u:"1f517",a:"0.6"},{n:["broken chain"],u:"26d3-fe0f-200d-1f4a5",a:"15.1"},{n:["chains"],u:"26d3-fe0f",a:"0.7"},{n:["hook"],u:"1fa9d",a:"13.0"},{n:["toolbox"],u:"1f9f0",a:"11.0"},{n:["magnet"],u:"1f9f2",a:"11.0"},{n:["ladder"],u:"1fa9c",a:"13.0"},{n:["alembic"],u:"2697-fe0f",a:"1.0"},{n:["test tube"],u:"1f9ea",a:"11.0"},{n:["petri dish"],u:"1f9eb",a:"11.0"},{n:["dna","dna double helix"],u:"1f9ec",a:"11.0"},{n:["microscope"],u:"1f52c",a:"1.0"},{n:["telescope"],u:"1f52d",a:"1.0"},{n:["satellite antenna"],u:"1f4e1",a:"0.6"},{n:["syringe"],u:"1f489",a:"0.6"},{n:["drop of blood"],u:"1fa78",a:"12.0"},{n:["pill"],u:"1f48a",a:"0.6"},{n:["adhesive bandage"],u:"1fa79",a:"12.0"},{n:["crutch"],u:"1fa7c",a:"14.0"},{n:["stethoscope"],u:"1fa7a",a:"12.0"},{n:["x-ray"],u:"1fa7b",a:"14.0"},{n:["door"],u:"1f6aa",a:"0.6"},{n:["elevator"],u:"1f6d7",a:"13.0"},{n:["mirror"],u:"1fa9e",a:"13.0"},{n:["window"],u:"1fa9f",a:"13.0"},{n:["bed"],u:"1f6cf-fe0f",a:"0.7"},{n:["couch and lamp"],u:"1f6cb-fe0f",a:"0.7"},{n:["chair"],u:"1fa91",a:"12.0"},{n:["toilet"],u:"1f6bd",a:"0.6"},{n:["plunger"],u:"1faa0",a:"13.0"},{n:["shower"],u:"1f6bf",a:"1.0"},{n:["bathtub"],u:"1f6c1",a:"1.0"},{n:["mouse trap"],u:"1faa4",a:"13.0"},{n:["razor"],u:"1fa92",a:"12.0"},{n:["lotion bottle"],u:"1f9f4",a:"11.0"},{n:["safety pin"],u:"1f9f7",a:"11.0"},{n:["broom"],u:"1f9f9",a:"11.0"},{n:["basket"],u:"1f9fa",a:"11.0"},{n:["roll of paper"],u:"1f9fb",a:"11.0"},{n:["bucket"],u:"1faa3",a:"13.0"},{n:["soap","bar of soap"],u:"1f9fc",a:"11.0"},{n:["bubbles"],u:"1fae7",a:"14.0"},{n:["toothbrush"],u:"1faa5",a:"13.0"},{n:["sponge"],u:"1f9fd",a:"11.0"},{n:["fire extinguisher"],u:"1f9ef",a:"11.0"},{n:["shopping trolley"],u:"1f6d2",a:"3.0"},{n:["smoking","smoking symbol"],u:"1f6ac",a:"0.6"},{n:["coffin"],u:"26b0-fe0f",a:"1.0"},{n:["headstone"],u:"1faa6",a:"13.0"},{n:["funeral urn"],u:"26b1-fe0f",a:"1.0"},{n:["nazar amulet"],u:"1f9ff",a:"11.0"},{n:["hamsa"],u:"1faac",a:"14.0"},{n:["moyai"],u:"1f5ff",a:"0.6"},{n:["placard"],u:"1faa7",a:"13.0"},{n:["identification card"],u:"1faaa",a:"14.0"}],aS=[{n:["atm","automated teller machine"],u:"1f3e7",a:"0.6"},{n:["put litter in its place","put litter in its place symbol"],u:"1f6ae",a:"1.0"},{n:["potable water","potable water symbol"],u:"1f6b0",a:"1.0"},{n:["wheelchair","wheelchair symbol"],u:"267f",a:"0.6"},{n:["mens","mens symbol"],u:"1f6b9",a:"0.6"},{n:["womens","womens symbol"],u:"1f6ba",a:"0.6"},{n:["restroom"],u:"1f6bb",a:"0.6"},{n:["baby symbol"],u:"1f6bc",a:"0.6"},{n:["wc","water closet"],u:"1f6be",a:"0.6"},{n:["passport control"],u:"1f6c2",a:"1.0"},{n:["customs"],u:"1f6c3",a:"1.0"},{n:["baggage claim"],u:"1f6c4",a:"1.0"},{n:["left luggage"],u:"1f6c5",a:"1.0"},{n:["warning","warning sign"],u:"26a0-fe0f",a:"0.6"},{n:["children crossing"],u:"1f6b8",a:"1.0"},{n:["no entry"],u:"26d4",a:"0.6"},{n:["no entry sign"],u:"1f6ab",a:"0.6"},{n:["no bicycles"],u:"1f6b3",a:"1.0"},{n:["no smoking","no smoking symbol"],u:"1f6ad",a:"0.6"},{n:["do not litter","do not litter symbol"],u:"1f6af",a:"1.0"},{n:["non-potable water","non-potable water symbol"],u:"1f6b1",a:"1.0"},{n:["no pedestrians"],u:"1f6b7",a:"1.0"},{n:["no mobile phones"],u:"1f4f5",a:"1.0"},{n:["underage","no one under eighteen symbol"],u:"1f51e",a:"0.6"},{n:["radioactive","radioactive sign"],u:"2622-fe0f",a:"1.0"},{n:["biohazard","biohazard sign"],u:"2623-fe0f",a:"1.0"},{n:["arrow up","upwards black arrow"],u:"2b06-fe0f",a:"0.6"},{n:["north east arrow","arrow upper right"],u:"2197-fe0f",a:"0.6"},{n:["arrow right","black rightwards arrow"],u:"27a1-fe0f",a:"0.6"},{n:["south east arrow","arrow lower right"],u:"2198-fe0f",a:"0.6"},{n:["arrow down","downwards black arrow"],u:"2b07-fe0f",a:"0.6"},{n:["south west arrow","arrow lower left"],u:"2199-fe0f",a:"0.6"},{n:["arrow left","leftwards black arrow"],u:"2b05-fe0f",a:"0.6"},{n:["north west arrow","arrow upper left"],u:"2196-fe0f",a:"0.6"},{n:["up down arrow","arrow up down"],u:"2195-fe0f",a:"0.6"},{n:["left right arrow"],u:"2194-fe0f",a:"0.6"},{n:["leftwards arrow with hook"],u:"21a9-fe0f",a:"0.6"},{n:["arrow right hook","rightwards arrow with hook"],u:"21aa-fe0f",a:"0.6"},{n:["arrow heading up","arrow pointing rightwards then curving upwards"],u:"2934-fe0f",a:"0.6"},{n:["arrow heading down","arrow pointing rightwards then curving downwards"],u:"2935-fe0f",a:"0.6"},{n:["arrows clockwise","clockwise downwards and upwards open circle arrows"],u:"1f503",a:"0.6"},{n:["arrows counterclockwise","anticlockwise downwards and upwards open circle arrows"],u:"1f504",a:"1.0"},{n:["back","back with leftwards arrow above"],u:"1f519",a:"0.6"},{n:["end","end with leftwards arrow above"],u:"1f51a",a:"0.6"},{n:["on","on with exclamation mark with left right arrow above"],u:"1f51b",a:"0.6"},{n:["soon","soon with rightwards arrow above"],u:"1f51c",a:"0.6"},{n:["top","top with upwards arrow above"],u:"1f51d",a:"0.6"},{n:["place of worship"],u:"1f6d0",a:"1.0"},{n:["atom symbol"],u:"269b-fe0f",a:"1.0"},{n:["om","om symbol"],u:"1f549-fe0f",a:"0.7"},{n:["star of david"],u:"2721-fe0f",a:"0.7"},{n:["wheel of dharma"],u:"2638-fe0f",a:"0.7"},{n:["yin yang"],u:"262f-fe0f",a:"0.7"},{n:["latin cross"],u:"271d-fe0f",a:"0.7"},{n:["orthodox cross"],u:"2626-fe0f",a:"1.0"},{n:["star and crescent"],u:"262a-fe0f",a:"0.7"},{n:["peace symbol"],u:"262e-fe0f",a:"1.0"},{n:["menorah with nine branches"],u:"1f54e",a:"1.0"},{n:["six pointed star","six pointed star with middle dot"],u:"1f52f",a:"0.6"},{n:["khanda"],u:"1faaf",a:"15.0"},{n:["aries"],u:"2648",a:"0.6"},{n:["taurus"],u:"2649",a:"0.6"},{n:["gemini"],u:"264a",a:"0.6"},{n:["cancer"],u:"264b",a:"0.6"},{n:["leo"],u:"264c",a:"0.6"},{n:["virgo"],u:"264d",a:"0.6"},{n:["libra"],u:"264e",a:"0.6"},{n:["scorpius"],u:"264f",a:"0.6"},{n:["sagittarius"],u:"2650",a:"0.6"},{n:["capricorn"],u:"2651",a:"0.6"},{n:["aquarius"],u:"2652",a:"0.6"},{n:["pisces"],u:"2653",a:"0.6"},{n:["ophiuchus"],u:"26ce",a:"0.6"},{n:["twisted rightwards arrows"],u:"1f500",a:"1.0"},{n:["repeat","clockwise rightwards and leftwards open circle arrows"],u:"1f501",a:"1.0"},{n:["repeat one","clockwise rightwards and leftwards open circle arrows with circled one overlay"],u:"1f502",a:"1.0"},{n:["arrow forward","black right-pointing triangle"],u:"25b6-fe0f",a:"0.6"},{n:["fast forward","black right-pointing double triangle"],u:"23e9",a:"0.6"},{n:["next track button","black right pointing double triangle with vertical bar"],u:"23ed-fe0f",a:"0.7"},{n:["play or pause button","black right pointing triangle with double vertical bar"],u:"23ef-fe0f",a:"1.0"},{n:["arrow backward","black left-pointing triangle"],u:"25c0-fe0f",a:"0.6"},{n:["rewind","black left-pointing double triangle"],u:"23ea",a:"0.6"},{n:["last track button","black left pointing double triangle with vertical bar"],u:"23ee-fe0f",a:"0.7"},{n:["arrow up small","up-pointing small red triangle"],u:"1f53c",a:"0.6"},{n:["arrow double up","black up-pointing double triangle"],u:"23eb",a:"0.6"},{n:["arrow down small","down-pointing small red triangle"],u:"1f53d",a:"0.6"},{n:["arrow double down","black down-pointing double triangle"],u:"23ec",a:"0.6"},{n:["pause button","double vertical bar"],u:"23f8-fe0f",a:"0.7"},{n:["stop button","black square for stop"],u:"23f9-fe0f",a:"0.7"},{n:["record button","black circle for record"],u:"23fa-fe0f",a:"0.7"},{n:["eject","eject button"],u:"23cf-fe0f",a:"1.0"},{n:["cinema"],u:"1f3a6",a:"0.6"},{n:["low brightness","low brightness symbol"],u:"1f505",a:"1.0"},{n:["high brightness","high brightness symbol"],u:"1f506",a:"1.0"},{n:["signal strength","antenna with bars"],u:"1f4f6",a:"0.6"},{n:["wireless"],u:"1f6dc",a:"15.0"},{n:["vibration mode"],u:"1f4f3",a:"0.6"},{n:["mobile phone off"],u:"1f4f4",a:"0.6"},{n:["female sign"],u:"2640-fe0f",a:"4.0"},{n:["male sign"],u:"2642-fe0f",a:"4.0"},{n:["transgender symbol"],u:"26a7-fe0f",a:"13.0"},{n:["heavy multiplication x"],u:"2716-fe0f",a:"0.6"},{n:["heavy plus sign"],u:"2795",a:"0.6"},{n:["heavy minus sign"],u:"2796",a:"0.6"},{n:["heavy division sign"],u:"2797",a:"0.6"},{n:["heavy equals sign"],u:"1f7f0",a:"14.0"},{n:["infinity"],u:"267e-fe0f",a:"11.0"},{n:["bangbang","double exclamation mark"],u:"203c-fe0f",a:"0.6"},{n:["interrobang","exclamation question mark"],u:"2049-fe0f",a:"0.6"},{n:["question","black question mark ornament"],u:"2753",a:"0.6"},{n:["grey question","white question mark ornament"],u:"2754",a:"0.6"},{n:["grey exclamation","white exclamation mark ornament"],u:"2755",a:"0.6"},{n:["exclamation","heavy exclamation mark","heavy exclamation mark symbol"],u:"2757",a:"0.6"},{n:["wavy dash"],u:"3030-fe0f",a:"0.6"},{n:["currency exchange"],u:"1f4b1",a:"0.6"},{n:["heavy dollar sign"],u:"1f4b2",a:"0.6"},{n:["medical symbol","staff of aesculapius"],u:"2695-fe0f",a:"4.0"},{n:["recycle","black universal recycling symbol"],u:"267b-fe0f",a:"0.6"},{n:["fleur-de-lis","fleur de lis"],u:"269c-fe0f",a:"1.0"},{n:["trident","trident emblem"],u:"1f531",a:"0.6"},{n:["name badge"],u:"1f4db",a:"0.6"},{n:["beginner","japanese symbol for beginner"],u:"1f530",a:"0.6"},{n:["o","heavy large circle"],u:"2b55",a:"0.6"},{n:["white check mark","white heavy check mark"],u:"2705",a:"0.6"},{n:["ballot box with check"],u:"2611-fe0f",a:"0.6"},{n:["heavy check mark"],u:"2714-fe0f",a:"0.6"},{n:["x","cross mark"],u:"274c",a:"0.6"},{n:["negative squared cross mark"],u:"274e",a:"0.6"},{n:["curly loop"],u:"27b0",a:"0.6"},{n:["loop","double curly loop"],u:"27bf",a:"1.0"},{n:["part alternation mark"],u:"303d-fe0f",a:"0.6"},{n:["eight spoked asterisk"],u:"2733-fe0f",a:"0.6"},{n:["eight pointed black star"],u:"2734-fe0f",a:"0.6"},{n:["sparkle"],u:"2747-fe0f",a:"0.6"},{n:["copyright","copyright sign"],u:"00a9-fe0f",a:"0.6"},{n:["registered","registered sign"],u:"00ae-fe0f",a:"0.6"},{n:["tm","trade mark sign"],u:"2122-fe0f",a:"0.6"},{n:["hash","hash key"],u:"0023-fe0f-20e3",a:"0.6"},{n:["keycap: *","keycap star"],u:"002a-fe0f-20e3",a:"2.0"},{n:["zero","keycap 0"],u:"0030-fe0f-20e3",a:"0.6"},{n:["one","keycap 1"],u:"0031-fe0f-20e3",a:"0.6"},{n:["two","keycap 2"],u:"0032-fe0f-20e3",a:"0.6"},{n:["three","keycap 3"],u:"0033-fe0f-20e3",a:"0.6"},{n:["four","keycap 4"],u:"0034-fe0f-20e3",a:"0.6"},{n:["five","keycap 5"],u:"0035-fe0f-20e3",a:"0.6"},{n:["six","keycap 6"],u:"0036-fe0f-20e3",a:"0.6"},{n:["seven","keycap 7"],u:"0037-fe0f-20e3",a:"0.6"},{n:["eight","keycap 8"],u:"0038-fe0f-20e3",a:"0.6"},{n:["nine","keycap 9"],u:"0039-fe0f-20e3",a:"0.6"},{n:["keycap ten"],u:"1f51f",a:"0.6"},{n:["capital abcd","input symbol for latin capital letters"],u:"1f520",a:"0.6"},{n:["abcd","input symbol for latin small letters"],u:"1f521",a:"0.6"},{n:["1234","input symbol for numbers"],u:"1f522",a:"0.6"},{n:["symbols","input symbol for symbols"],u:"1f523",a:"0.6"},{n:["abc","input symbol for latin letters"],u:"1f524",a:"0.6"},{n:["a","negative squared latin capital letter a"],u:"1f170-fe0f",a:"0.6"},{n:["ab","negative squared ab"],u:"1f18e",a:"0.6"},{n:["b","negative squared latin capital letter b"],u:"1f171-fe0f",a:"0.6"},{n:["cl","squared cl"],u:"1f191",a:"0.6"},{n:["cool","squared cool"],u:"1f192",a:"0.6"},{n:["free","squared free"],u:"1f193",a:"0.6"},{n:["information source"],u:"2139-fe0f",a:"0.6"},{n:["id","squared id"],u:"1f194",a:"0.6"},{n:["m","circled latin capital letter m"],u:"24c2-fe0f",a:"0.6"},{n:["new","squared new"],u:"1f195",a:"0.6"},{n:["ng","squared ng"],u:"1f196",a:"0.6"},{n:["o2","negative squared latin capital letter o"],u:"1f17e-fe0f",a:"0.6"},{n:["ok","squared ok"],u:"1f197",a:"0.6"},{n:["parking","negative squared latin capital letter p"],u:"1f17f-fe0f",a:"0.6"},{n:["sos","squared sos"],u:"1f198",a:"0.6"},{n:["up","squared up with exclamation mark"],u:"1f199",a:"0.6"},{n:["vs","squared vs"],u:"1f19a",a:"0.6"},{n:["koko","squared katakana koko"],u:"1f201",a:"0.6"},{n:["sa","squared katakana sa"],u:"1f202-fe0f",a:"0.6"},{n:["u6708","squared cjk unified ideograph-6708"],u:"1f237-fe0f",a:"0.6"},{n:["u6709","squared cjk unified ideograph-6709"],u:"1f236",a:"0.6"},{n:["u6307","squared cjk unified ideograph-6307"],u:"1f22f",a:"0.6"},{n:["ideograph advantage","circled ideograph advantage"],u:"1f250",a:"0.6"},{n:["u5272","squared cjk unified ideograph-5272"],u:"1f239",a:"0.6"},{n:["u7121","squared cjk unified ideograph-7121"],u:"1f21a",a:"0.6"},{n:["u7981","squared cjk unified ideograph-7981"],u:"1f232",a:"0.6"},{n:["accept","circled ideograph accept"],u:"1f251",a:"0.6"},{n:["u7533","squared cjk unified ideograph-7533"],u:"1f238",a:"0.6"},{n:["u5408","squared cjk unified ideograph-5408"],u:"1f234",a:"0.6"},{n:["u7a7a","squared cjk unified ideograph-7a7a"],u:"1f233",a:"0.6"},{n:["congratulations","circled ideograph congratulation"],u:"3297-fe0f",a:"0.6"},{n:["secret","circled ideograph secret"],u:"3299-fe0f",a:"0.6"},{n:["u55b6","squared cjk unified ideograph-55b6"],u:"1f23a",a:"0.6"},{n:["u6e80","squared cjk unified ideograph-6e80"],u:"1f235",a:"0.6"},{n:["red circle","large red circle"],u:"1f534",a:"0.6"},{n:["large orange circle"],u:"1f7e0",a:"12.0"},{n:["large yellow circle"],u:"1f7e1",a:"12.0"},{n:["large green circle"],u:"1f7e2",a:"12.0"},{n:["large blue circle"],u:"1f535",a:"0.6"},{n:["large purple circle"],u:"1f7e3",a:"12.0"},{n:["large brown circle"],u:"1f7e4",a:"12.0"},{n:["black circle","medium black circle"],u:"26ab",a:"0.6"},{n:["white circle","medium white circle"],u:"26aa",a:"0.6"},{n:["large red square"],u:"1f7e5",a:"12.0"},{n:["large orange square"],u:"1f7e7",a:"12.0"},{n:["large yellow square"],u:"1f7e8",a:"12.0"},{n:["large green square"],u:"1f7e9",a:"12.0"},{n:["large blue square"],u:"1f7e6",a:"12.0"},{n:["large purple square"],u:"1f7ea",a:"12.0"},{n:["large brown square"],u:"1f7eb",a:"12.0"},{n:["black large square"],u:"2b1b",a:"0.6"},{n:["white large square"],u:"2b1c",a:"0.6"},{n:["black medium square"],u:"25fc-fe0f",a:"0.6"},{n:["white medium square"],u:"25fb-fe0f",a:"0.6"},{n:["black medium small square"],u:"25fe",a:"0.6"},{n:["white medium small square"],u:"25fd",a:"0.6"},{n:["black small square"],u:"25aa-fe0f",a:"0.6"},{n:["white small square"],u:"25ab-fe0f",a:"0.6"},{n:["large orange diamond"],u:"1f536",a:"0.6"},{n:["large blue diamond"],u:"1f537",a:"0.6"},{n:["small orange diamond"],u:"1f538",a:"0.6"},{n:["small blue diamond"],u:"1f539",a:"0.6"},{n:["small red triangle","up-pointing red triangle"],u:"1f53a",a:"0.6"},{n:["small red triangle down","down-pointing red triangle"],u:"1f53b",a:"0.6"},{n:["diamond shape with a dot inside"],u:"1f4a0",a:"0.6"},{n:["radio button"],u:"1f518",a:"0.6"},{n:["white square button"],u:"1f533",a:"0.6"},{n:["black square button"],u:"1f532",a:"0.6"}],sS=[{n:["chequered flag","checkered flag"],u:"1f3c1",a:"0.6"},{n:["triangular flag on post"],u:"1f6a9",a:"0.6"},{n:["crossed flags"],u:"1f38c",a:"0.6"},{n:["waving black flag"],u:"1f3f4",a:"1.0"},{n:["white flag","waving white flag"],u:"1f3f3-fe0f",a:"0.7"},{n:["rainbow flag","rainbow-flag"],u:"1f3f3-fe0f-200d-1f308",a:"4.0"},{n:["transgender flag"],u:"1f3f3-fe0f-200d-26a7-fe0f",a:"13.0"},{n:["pirate flag"],u:"1f3f4-200d-2620-fe0f",a:"11.0"},{n:["flag-ac","ascension island flag"],u:"1f1e6-1f1e8",a:"2.0"},{n:["flag-ad","andorra flag"],u:"1f1e6-1f1e9",a:"2.0"},{n:["flag-ae","united arab emirates flag"],u:"1f1e6-1f1ea",a:"2.0"},{n:["flag-af","afghanistan flag"],u:"1f1e6-1f1eb",a:"2.0"},{n:["flag-ag","antigua & barbuda flag"],u:"1f1e6-1f1ec",a:"2.0"},{n:["flag-ai","anguilla flag"],u:"1f1e6-1f1ee",a:"2.0"},{n:["flag-al","albania flag"],u:"1f1e6-1f1f1",a:"2.0"},{n:["flag-am","armenia flag"],u:"1f1e6-1f1f2",a:"2.0"},{n:["flag-ao","angola flag"],u:"1f1e6-1f1f4",a:"2.0"},{n:["flag-aq","antarctica flag"],u:"1f1e6-1f1f6",a:"2.0"},{n:["flag-ar","argentina flag"],u:"1f1e6-1f1f7",a:"2.0"},{n:["flag-as","american samoa flag"],u:"1f1e6-1f1f8",a:"2.0"},{n:["flag-at","austria flag"],u:"1f1e6-1f1f9",a:"2.0"},{n:["flag-au","australia flag"],u:"1f1e6-1f1fa",a:"2.0"},{n:["flag-aw","aruba flag"],u:"1f1e6-1f1fc",a:"2.0"},{n:["flag-ax","åland islands flag"],u:"1f1e6-1f1fd",a:"2.0"},{n:["flag-az","azerbaijan flag"],u:"1f1e6-1f1ff",a:"2.0"},{n:["flag-ba","bosnia & herzegovina flag"],u:"1f1e7-1f1e6",a:"2.0"},{n:["flag-bb","barbados flag"],u:"1f1e7-1f1e7",a:"2.0"},{n:["flag-bd","bangladesh flag"],u:"1f1e7-1f1e9",a:"2.0"},{n:["flag-be","belgium flag"],u:"1f1e7-1f1ea",a:"2.0"},{n:["flag-bf","burkina faso flag"],u:"1f1e7-1f1eb",a:"2.0"},{n:["flag-bg","bulgaria flag"],u:"1f1e7-1f1ec",a:"2.0"},{n:["flag-bh","bahrain flag"],u:"1f1e7-1f1ed",a:"2.0"},{n:["flag-bi","burundi flag"],u:"1f1e7-1f1ee",a:"2.0"},{n:["flag-bj","benin flag"],u:"1f1e7-1f1ef",a:"2.0"},{n:["flag-bl","st. barthélemy flag"],u:"1f1e7-1f1f1",a:"2.0"},{n:["flag-bm","bermuda flag"],u:"1f1e7-1f1f2",a:"2.0"},{n:["flag-bn","brunei flag"],u:"1f1e7-1f1f3",a:"2.0"},{n:["flag-bo","bolivia flag"],u:"1f1e7-1f1f4",a:"2.0"},{n:["flag-bq","caribbean netherlands flag"],u:"1f1e7-1f1f6",a:"2.0"},{n:["flag-br","brazil flag"],u:"1f1e7-1f1f7",a:"2.0"},{n:["flag-bs","bahamas flag"],u:"1f1e7-1f1f8",a:"2.0"},{n:["flag-bt","bhutan flag"],u:"1f1e7-1f1f9",a:"2.0"},{n:["flag-bv","bouvet island flag"],u:"1f1e7-1f1fb",a:"2.0"},{n:["flag-bw","botswana flag"],u:"1f1e7-1f1fc",a:"2.0"},{n:["flag-by","belarus flag"],u:"1f1e7-1f1fe",a:"2.0"},{n:["flag-bz","belize flag"],u:"1f1e7-1f1ff",a:"2.0"},{n:["flag-ca","canada flag"],u:"1f1e8-1f1e6",a:"2.0"},{n:["flag-cc","cocos (keeling) islands flag"],u:"1f1e8-1f1e8",a:"2.0"},{n:["flag-cd","congo - kinshasa flag"],u:"1f1e8-1f1e9",a:"2.0"},{n:["flag-cf","central african republic flag"],u:"1f1e8-1f1eb",a:"2.0"},{n:["flag-cg","congo - brazzaville flag"],u:"1f1e8-1f1ec",a:"2.0"},{n:["flag-ch","switzerland flag"],u:"1f1e8-1f1ed",a:"2.0"},{n:["flag-ci","côte d’ivoire flag"],u:"1f1e8-1f1ee",a:"2.0"},{n:["flag-ck","cook islands flag"],u:"1f1e8-1f1f0",a:"2.0"},{n:["flag-cl","chile flag"],u:"1f1e8-1f1f1",a:"2.0"},{n:["flag-cm","cameroon flag"],u:"1f1e8-1f1f2",a:"2.0"},{n:["cn","flag-cn","china flag"],u:"1f1e8-1f1f3",a:"0.6"},{n:["flag-co","colombia flag"],u:"1f1e8-1f1f4",a:"2.0"},{n:["flag-cp","clipperton island flag"],u:"1f1e8-1f1f5",a:"2.0"},{n:["flag-cr","costa rica flag"],u:"1f1e8-1f1f7",a:"2.0"},{n:["flag-cu","cuba flag"],u:"1f1e8-1f1fa",a:"2.0"},{n:["flag-cv","cape verde flag"],u:"1f1e8-1f1fb",a:"2.0"},{n:["flag-cw","curaçao flag"],u:"1f1e8-1f1fc",a:"2.0"},{n:["flag-cx","christmas island flag"],u:"1f1e8-1f1fd",a:"2.0"},{n:["flag-cy","cyprus flag"],u:"1f1e8-1f1fe",a:"2.0"},{n:["flag-cz","czechia flag"],u:"1f1e8-1f1ff",a:"2.0"},{n:["de","flag-de","germany flag"],u:"1f1e9-1f1ea",a:"0.6"},{n:["flag-dg","diego garcia flag"],u:"1f1e9-1f1ec",a:"2.0"},{n:["flag-dj","djibouti flag"],u:"1f1e9-1f1ef",a:"2.0"},{n:["flag-dk","denmark flag"],u:"1f1e9-1f1f0",a:"2.0"},{n:["flag-dm","dominica flag"],u:"1f1e9-1f1f2",a:"2.0"},{n:["flag-do","dominican republic flag"],u:"1f1e9-1f1f4",a:"2.0"},{n:["flag-dz","algeria flag"],u:"1f1e9-1f1ff",a:"2.0"},{n:["flag-ea","ceuta & melilla flag"],u:"1f1ea-1f1e6",a:"2.0"},{n:["flag-ec","ecuador flag"],u:"1f1ea-1f1e8",a:"2.0"},{n:["flag-ee","estonia flag"],u:"1f1ea-1f1ea",a:"2.0"},{n:["flag-eg","egypt flag"],u:"1f1ea-1f1ec",a:"2.0"},{n:["flag-eh","western sahara flag"],u:"1f1ea-1f1ed",a:"2.0"},{n:["flag-er","eritrea flag"],u:"1f1ea-1f1f7",a:"2.0"},{n:["es","flag-es","spain flag"],u:"1f1ea-1f1f8",a:"0.6"},{n:["flag-et","ethiopia flag"],u:"1f1ea-1f1f9",a:"2.0"},{n:["flag-eu","european union flag"],u:"1f1ea-1f1fa",a:"2.0"},{n:["flag-fi","finland flag"],u:"1f1eb-1f1ee",a:"2.0"},{n:["flag-fj","fiji flag"],u:"1f1eb-1f1ef",a:"2.0"},{n:["flag-fk","falkland islands flag"],u:"1f1eb-1f1f0",a:"2.0"},{n:["flag-fm","micronesia flag"],u:"1f1eb-1f1f2",a:"2.0"},{n:["flag-fo","faroe islands flag"],u:"1f1eb-1f1f4",a:"2.0"},{n:["fr","flag-fr","france flag"],u:"1f1eb-1f1f7",a:"0.6"},{n:["flag-ga","gabon flag"],u:"1f1ec-1f1e6",a:"2.0"},{n:["gb","uk","flag-gb","united kingdom flag"],u:"1f1ec-1f1e7",a:"0.6"},{n:["flag-gd","grenada flag"],u:"1f1ec-1f1e9",a:"2.0"},{n:["flag-ge","georgia flag"],u:"1f1ec-1f1ea",a:"2.0"},{n:["flag-gf","french guiana flag"],u:"1f1ec-1f1eb",a:"2.0"},{n:["flag-gg","guernsey flag"],u:"1f1ec-1f1ec",a:"2.0"},{n:["flag-gh","ghana flag"],u:"1f1ec-1f1ed",a:"2.0"},{n:["flag-gi","gibraltar flag"],u:"1f1ec-1f1ee",a:"2.0"},{n:["flag-gl","greenland flag"],u:"1f1ec-1f1f1",a:"2.0"},{n:["flag-gm","gambia flag"],u:"1f1ec-1f1f2",a:"2.0"},{n:["flag-gn","guinea flag"],u:"1f1ec-1f1f3",a:"2.0"},{n:["flag-gp","guadeloupe flag"],u:"1f1ec-1f1f5",a:"2.0"},{n:["flag-gq","equatorial guinea flag"],u:"1f1ec-1f1f6",a:"2.0"},{n:["flag-gr","greece flag"],u:"1f1ec-1f1f7",a:"2.0"},{n:["flag-gs","south georgia & south sandwich islands flag"],u:"1f1ec-1f1f8",a:"2.0"},{n:["flag-gt","guatemala flag"],u:"1f1ec-1f1f9",a:"2.0"},{n:["flag-gu","guam flag"],u:"1f1ec-1f1fa",a:"2.0"},{n:["flag-gw","guinea-bissau flag"],u:"1f1ec-1f1fc",a:"2.0"},{n:["flag-gy","guyana flag"],u:"1f1ec-1f1fe",a:"2.0"},{n:["flag-hk","hong kong sar china flag"],u:"1f1ed-1f1f0",a:"2.0"},{n:["flag-hm","heard & mcdonald islands flag"],u:"1f1ed-1f1f2",a:"2.0"},{n:["flag-hn","honduras flag"],u:"1f1ed-1f1f3",a:"2.0"},{n:["flag-hr","croatia flag"],u:"1f1ed-1f1f7",a:"2.0"},{n:["flag-ht","haiti flag"],u:"1f1ed-1f1f9",a:"2.0"},{n:["flag-hu","hungary flag"],u:"1f1ed-1f1fa",a:"2.0"},{n:["flag-ic","canary islands flag"],u:"1f1ee-1f1e8",a:"2.0"},{n:["flag-id","indonesia flag"],u:"1f1ee-1f1e9",a:"2.0"},{n:["flag-ie","ireland flag"],u:"1f1ee-1f1ea",a:"2.0"},{n:["flag-il","israel flag"],u:"1f1ee-1f1f1",a:"2.0"},{n:["flag-im","isle of man flag"],u:"1f1ee-1f1f2",a:"2.0"},{n:["flag-in","india flag"],u:"1f1ee-1f1f3",a:"2.0"},{n:["flag-io","british indian ocean territory flag"],u:"1f1ee-1f1f4",a:"2.0"},{n:["flag-iq","iraq flag"],u:"1f1ee-1f1f6",a:"2.0"},{n:["flag-ir","iran flag"],u:"1f1ee-1f1f7",a:"2.0"},{n:["flag-is","iceland flag"],u:"1f1ee-1f1f8",a:"2.0"},{n:["it","flag-it","italy flag"],u:"1f1ee-1f1f9",a:"0.6"},{n:["flag-je","jersey flag"],u:"1f1ef-1f1ea",a:"2.0"},{n:["flag-jm","jamaica flag"],u:"1f1ef-1f1f2",a:"2.0"},{n:["flag-jo","jordan flag"],u:"1f1ef-1f1f4",a:"2.0"},{n:["jp","flag-jp","japan flag"],u:"1f1ef-1f1f5",a:"0.6"},{n:["flag-ke","kenya flag"],u:"1f1f0-1f1ea",a:"2.0"},{n:["flag-kg","kyrgyzstan flag"],u:"1f1f0-1f1ec",a:"2.0"},{n:["flag-kh","cambodia flag"],u:"1f1f0-1f1ed",a:"2.0"},{n:["flag-ki","kiribati flag"],u:"1f1f0-1f1ee",a:"2.0"},{n:["flag-km","comoros flag"],u:"1f1f0-1f1f2",a:"2.0"},{n:["flag-kn","st. kitts & nevis flag"],u:"1f1f0-1f1f3",a:"2.0"},{n:["flag-kp","north korea flag"],u:"1f1f0-1f1f5",a:"2.0"},{n:["kr","flag-kr","south korea flag"],u:"1f1f0-1f1f7",a:"0.6"},{n:["flag-kw","kuwait flag"],u:"1f1f0-1f1fc",a:"2.0"},{n:["flag-ky","cayman islands flag"],u:"1f1f0-1f1fe",a:"2.0"},{n:["flag-kz","kazakhstan flag"],u:"1f1f0-1f1ff",a:"2.0"},{n:["flag-la","laos flag"],u:"1f1f1-1f1e6",a:"2.0"},{n:["flag-lb","lebanon flag"],u:"1f1f1-1f1e7",a:"2.0"},{n:["flag-lc","st. lucia flag"],u:"1f1f1-1f1e8",a:"2.0"},{n:["flag-li","liechtenstein flag"],u:"1f1f1-1f1ee",a:"2.0"},{n:["flag-lk","sri lanka flag"],u:"1f1f1-1f1f0",a:"2.0"},{n:["flag-lr","liberia flag"],u:"1f1f1-1f1f7",a:"2.0"},{n:["flag-ls","lesotho flag"],u:"1f1f1-1f1f8",a:"2.0"},{n:["flag-lt","lithuania flag"],u:"1f1f1-1f1f9",a:"2.0"},{n:["flag-lu","luxembourg flag"],u:"1f1f1-1f1fa",a:"2.0"},{n:["flag-lv","latvia flag"],u:"1f1f1-1f1fb",a:"2.0"},{n:["flag-ly","libya flag"],u:"1f1f1-1f1fe",a:"2.0"},{n:["flag-ma","morocco flag"],u:"1f1f2-1f1e6",a:"2.0"},{n:["flag-mc","monaco flag"],u:"1f1f2-1f1e8",a:"2.0"},{n:["flag-md","moldova flag"],u:"1f1f2-1f1e9",a:"2.0"},{n:["flag-me","montenegro flag"],u:"1f1f2-1f1ea",a:"2.0"},{n:["flag-mf","st. martin flag"],u:"1f1f2-1f1eb",a:"2.0"},{n:["flag-mg","madagascar flag"],u:"1f1f2-1f1ec",a:"2.0"},{n:["flag-mh","marshall islands flag"],u:"1f1f2-1f1ed",a:"2.0"},{n:["flag-mk","north macedonia flag"],u:"1f1f2-1f1f0",a:"2.0"},{n:["flag-ml","mali flag"],u:"1f1f2-1f1f1",a:"2.0"},{n:["flag-mm","myanmar (burma) flag"],u:"1f1f2-1f1f2",a:"2.0"},{n:["flag-mn","mongolia flag"],u:"1f1f2-1f1f3",a:"2.0"},{n:["flag-mo","macao sar china flag"],u:"1f1f2-1f1f4",a:"2.0"},{n:["flag-mp","northern mariana islands flag"],u:"1f1f2-1f1f5",a:"2.0"},{n:["flag-mq","martinique flag"],u:"1f1f2-1f1f6",a:"2.0"},{n:["flag-mr","mauritania flag"],u:"1f1f2-1f1f7",a:"2.0"},{n:["flag-ms","montserrat flag"],u:"1f1f2-1f1f8",a:"2.0"},{n:["flag-mt","malta flag"],u:"1f1f2-1f1f9",a:"2.0"},{n:["flag-mu","mauritius flag"],u:"1f1f2-1f1fa",a:"2.0"},{n:["flag-mv","maldives flag"],u:"1f1f2-1f1fb",a:"2.0"},{n:["flag-mw","malawi flag"],u:"1f1f2-1f1fc",a:"2.0"},{n:["flag-mx","mexico flag"],u:"1f1f2-1f1fd",a:"2.0"},{n:["flag-my","malaysia flag"],u:"1f1f2-1f1fe",a:"2.0"},{n:["flag-mz","mozambique flag"],u:"1f1f2-1f1ff",a:"2.0"},{n:["flag-na","namibia flag"],u:"1f1f3-1f1e6",a:"2.0"},{n:["flag-nc","new caledonia flag"],u:"1f1f3-1f1e8",a:"2.0"},{n:["flag-ne","niger flag"],u:"1f1f3-1f1ea",a:"2.0"},{n:["flag-nf","norfolk island flag"],u:"1f1f3-1f1eb",a:"2.0"},{n:["flag-ng","nigeria flag"],u:"1f1f3-1f1ec",a:"2.0"},{n:["flag-ni","nicaragua flag"],u:"1f1f3-1f1ee",a:"2.0"},{n:["flag-nl","netherlands flag"],u:"1f1f3-1f1f1",a:"2.0"},{n:["flag-no","norway flag"],u:"1f1f3-1f1f4",a:"2.0"},{n:["flag-np","nepal flag"],u:"1f1f3-1f1f5",a:"2.0"},{n:["flag-nr","nauru flag"],u:"1f1f3-1f1f7",a:"2.0"},{n:["flag-nu","niue flag"],u:"1f1f3-1f1fa",a:"2.0"},{n:["flag-nz","new zealand flag"],u:"1f1f3-1f1ff",a:"2.0"},{n:["flag-om","oman flag"],u:"1f1f4-1f1f2",a:"2.0"},{n:["flag-pa","panama flag"],u:"1f1f5-1f1e6",a:"2.0"},{n:["flag-pe","peru flag"],u:"1f1f5-1f1ea",a:"2.0"},{n:["flag-pf","french polynesia flag"],u:"1f1f5-1f1eb",a:"2.0"},{n:["flag-pg","papua new guinea flag"],u:"1f1f5-1f1ec",a:"2.0"},{n:["flag-ph","philippines flag"],u:"1f1f5-1f1ed",a:"2.0"},{n:["flag-pk","pakistan flag"],u:"1f1f5-1f1f0",a:"2.0"},{n:["flag-pl","poland flag"],u:"1f1f5-1f1f1",a:"2.0"},{n:["flag-pm","st. pierre & miquelon flag"],u:"1f1f5-1f1f2",a:"2.0"},{n:["flag-pn","pitcairn islands flag"],u:"1f1f5-1f1f3",a:"2.0"},{n:["flag-pr","puerto rico flag"],u:"1f1f5-1f1f7",a:"2.0"},{n:["flag-ps","palestinian territories flag"],u:"1f1f5-1f1f8",a:"2.0"},{n:["flag-pt","portugal flag"],u:"1f1f5-1f1f9",a:"2.0"},{n:["flag-pw","palau flag"],u:"1f1f5-1f1fc",a:"2.0"},{n:["flag-py","paraguay flag"],u:"1f1f5-1f1fe",a:"2.0"},{n:["flag-qa","qatar flag"],u:"1f1f6-1f1e6",a:"2.0"},{n:["flag-re","réunion flag"],u:"1f1f7-1f1ea",a:"2.0"},{n:["flag-ro","romania flag"],u:"1f1f7-1f1f4",a:"2.0"},{n:["flag-rs","serbia flag"],u:"1f1f7-1f1f8",a:"2.0"},{n:["ru","flag-ru","russia flag"],u:"1f1f7-1f1fa",a:"0.6"},{n:["flag-rw","rwanda flag"],u:"1f1f7-1f1fc",a:"2.0"},{n:["flag-sa","saudi arabia flag"],u:"1f1f8-1f1e6",a:"2.0"},{n:["flag-sb","solomon islands flag"],u:"1f1f8-1f1e7",a:"2.0"},{n:["flag-sc","seychelles flag"],u:"1f1f8-1f1e8",a:"2.0"},{n:["flag-sd","sudan flag"],u:"1f1f8-1f1e9",a:"2.0"},{n:["flag-se","sweden flag"],u:"1f1f8-1f1ea",a:"2.0"},{n:["flag-sg","singapore flag"],u:"1f1f8-1f1ec",a:"2.0"},{n:["flag-sh","st. helena flag"],u:"1f1f8-1f1ed",a:"2.0"},{n:["flag-si","slovenia flag"],u:"1f1f8-1f1ee",a:"2.0"},{n:["flag-sj","svalbard & jan mayen flag"],u:"1f1f8-1f1ef",a:"2.0"},{n:["flag-sk","slovakia flag"],u:"1f1f8-1f1f0",a:"2.0"},{n:["flag-sl","sierra leone flag"],u:"1f1f8-1f1f1",a:"2.0"},{n:["flag-sm","san marino flag"],u:"1f1f8-1f1f2",a:"2.0"},{n:["flag-sn","senegal flag"],u:"1f1f8-1f1f3",a:"2.0"},{n:["flag-so","somalia flag"],u:"1f1f8-1f1f4",a:"2.0"},{n:["flag-sr","suriname flag"],u:"1f1f8-1f1f7",a:"2.0"},{n:["flag-ss","south sudan flag"],u:"1f1f8-1f1f8",a:"2.0"},{n:["flag-st","são tomé & príncipe flag"],u:"1f1f8-1f1f9",a:"2.0"},{n:["flag-sv","el salvador flag"],u:"1f1f8-1f1fb",a:"2.0"},{n:["flag-sx","sint maarten flag"],u:"1f1f8-1f1fd",a:"2.0"},{n:["flag-sy","syria flag"],u:"1f1f8-1f1fe",a:"2.0"},{n:["flag-sz","eswatini flag"],u:"1f1f8-1f1ff",a:"2.0"},{n:["flag-ta","tristan da cunha flag"],u:"1f1f9-1f1e6",a:"2.0"},{n:["flag-tc","turks & caicos islands flag"],u:"1f1f9-1f1e8",a:"2.0"},{n:["flag-td","chad flag"],u:"1f1f9-1f1e9",a:"2.0"},{n:["flag-tf","french southern territories flag"],u:"1f1f9-1f1eb",a:"2.0"},{n:["flag-tg","togo flag"],u:"1f1f9-1f1ec",a:"2.0"},{n:["flag-th","thailand flag"],u:"1f1f9-1f1ed",a:"2.0"},{n:["flag-tj","tajikistan flag"],u:"1f1f9-1f1ef",a:"2.0"},{n:["flag-tk","tokelau flag"],u:"1f1f9-1f1f0",a:"2.0"},{n:["flag-tl","timor-leste flag"],u:"1f1f9-1f1f1",a:"2.0"},{n:["flag-tm","turkmenistan flag"],u:"1f1f9-1f1f2",a:"2.0"},{n:["flag-tn","tunisia flag"],u:"1f1f9-1f1f3",a:"2.0"},{n:["flag-to","tonga flag"],u:"1f1f9-1f1f4",a:"2.0"},{n:["flag-tr","türkiye flag"],u:"1f1f9-1f1f7",a:"2.0"},{n:["flag-tt","trinidad & tobago flag"],u:"1f1f9-1f1f9",a:"2.0"},{n:["flag-tv","tuvalu flag"],u:"1f1f9-1f1fb",a:"2.0"},{n:["flag-tw","taiwan flag"],u:"1f1f9-1f1fc",a:"2.0"},{n:["flag-tz","tanzania flag"],u:"1f1f9-1f1ff",a:"2.0"},{n:["flag-ua","ukraine flag"],u:"1f1fa-1f1e6",a:"2.0"},{n:["flag-ug","uganda flag"],u:"1f1fa-1f1ec",a:"2.0"},{n:["flag-um","u.s. outlying islands flag"],u:"1f1fa-1f1f2",a:"2.0"},{n:["flag-un","united nations flag"],u:"1f1fa-1f1f3",a:"4.0"},{n:["us","flag-us","united states flag"],u:"1f1fa-1f1f8",a:"0.6"},{n:["flag-uy","uruguay flag"],u:"1f1fa-1f1fe",a:"2.0"},{n:["flag-uz","uzbekistan flag"],u:"1f1fa-1f1ff",a:"2.0"},{n:["flag-va","vatican city flag"],u:"1f1fb-1f1e6",a:"2.0"},{n:["flag-vc","st. vincent & grenadines flag"],u:"1f1fb-1f1e8",a:"2.0"},{n:["flag-ve","venezuela flag"],u:"1f1fb-1f1ea",a:"2.0"},{n:["flag-vg","british virgin islands flag"],u:"1f1fb-1f1ec",a:"2.0"},{n:["flag-vi","u.s. virgin islands flag"],u:"1f1fb-1f1ee",a:"2.0"},{n:["flag-vn","vietnam flag"],u:"1f1fb-1f1f3",a:"2.0"},{n:["flag-vu","vanuatu flag"],u:"1f1fb-1f1fa",a:"2.0"},{n:["flag-wf","wallis & futuna flag"],u:"1f1fc-1f1eb",a:"2.0"},{n:["flag-ws","samoa flag"],u:"1f1fc-1f1f8",a:"2.0"},{n:["flag-xk","kosovo flag"],u:"1f1fd-1f1f0",a:"2.0"},{n:["flag-ye","yemen flag"],u:"1f1fe-1f1ea",a:"2.0"},{n:["flag-yt","mayotte flag"],u:"1f1fe-1f1f9",a:"2.0"},{n:["flag-za","south africa flag"],u:"1f1ff-1f1e6",a:"2.0"},{n:["flag-zm","zambia flag"],u:"1f1ff-1f1f2",a:"2.0"},{n:["flag-zw","zimbabwe flag"],u:"1f1ff-1f1fc",a:"2.0"},{n:["england flag","flag-england"],u:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",a:"5.0"},{n:["scotland flag","flag-scotland"],u:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",a:"5.0"},{n:["wales flag","flag-wales"],u:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",a:"5.0"}],Ho={custom:Kk,smileys_people:Xk,animals_nature:eS,food_drink:tS,travel_places:nS,activities:rS,objects:iS,symbols:aS,flags:sS},Fo=[Ht.NEUTRAL,Ht.LIGHT,Ht.MEDIUM_LIGHT,Ht.MEDIUM,Ht.MEDIUM_DARK,Ht.DARK],oS=Object.entries(Ht).reduce(function(t,e){var n=e[0],r=e[1];return t[r]=n,t},{}),lS=Fo.reduce(function(t,e){var n;return Object.assign(t,(n={},n[e]=e,n))},{}),Dt;(function(t){t.name="n",t.unified="u",t.variations="v",t.added_in="a",t.imgUrl="imgUrl"})(Dt||(Dt={}));var a2="epr_suggested";function s2(t){try{var e,n,r;if(!((e=window)!=null&&e.localStorage))return[];var i=JSON.parse((n=(r=window)==null?void 0:r.localStorage.getItem(a2))!=null?n:"[]");return t===ka.FREQUENT?i.sort(function(a,s){return s.count-a.count}):i}catch{return[]}}function fS(t,e){var n=s2(),r=_e(t,e),i=_e(t),a=n.find(function(f){var c=f.unified;return c===r}),s;a?s=[a].concat(n.filter(function(f){return f!==a})):(a={unified:r,original:i,count:0},s=[a].concat(n)),a.count++,s.length=Math.min(s.length,14);try{var o;(o=window)==null||o.localStorage.setItem(a2,JSON.stringify(s))}catch{}}function Ga(t){var e;return(e=t[Dt.name])!=null?e:[]}function cS(t){return parseFloat(t[Dt.added_in])}function lc(t){return t?Ga(t)[0]:""}function Dd(t){var e=t.split("-"),n=e.splice(1,1),r=n[0];return lS[r]?e.join("-"):t}function _e(t,e){var n,r=t[Dt.unified];return!e||!ki(t)?r:(n=dS(t,e))!=null?n:r}function o2(){var t=AS(),e=t2(),n=e[0],r=M.useMemo(function(){var i,a=(i=s2(t))!=null?i:[];return a.map(function(s){return ji(s.unified)}).filter(Boolean)},[n,t]);return function(a){var s;return a===ie.SUGGESTED?r:(s=Ho[a])!=null?s:[]}}function l2(t,e){return""+qk(e)+t+".png"}function Wa(t){var e;return(e=t[Dt.variations])!=null?e:[]}function ki(t){return Wa(t).length>0}function dS(t,e){return e?Wa(t).find(function(n){return n.includes(e)}):_e(t)}function ji(t){if(t){if(ai[t])return ai[t];var e=Dd(t);return ai[e]}}var pl=Object.values(Ho).flat();function uS(t){Ho[ie.CUSTOM].length=0,t.forEach(function(e){var n=hS(e);Ho[ie.CUSTOM].push(n),!ai[n[Dt.unified]]&&(pl.push(n),ai[n[Dt.unified]]=n,qg(n))})}function hS(t){var e;return e={},e[Dt.name]=t.names.map(function(n){return n.toLowerCase()}),e[Dt.unified]=t.id.toLowerCase(),e[Dt.added_in]="0",e[Dt.imgUrl]=t.imgUrl,e}var ai={};setTimeout(function(){pl.reduce(function(t,e){return t[_e(e)]=e,ki(e)&&Wa(e).forEach(function(n){t[n]=e}),t},ai)});function pS(t){var e=t.split("-"),n=e[1];return Fo.includes(n)?n:null}var mS=["2640-fe0f","2642-fe0f","2695-fe0f"],Uo="Search",f2="Clear",gS="No results found",c2=" found. Use up and down arrow keys to navigate.",bS="1 result"+c2,xS="%n results"+c2;function gh(t){var e,n;t===void 0&&(t={});var r=d2(),i=Object.assign(r.previewConfig,(e=t.previewConfig)!=null?e:{}),a=Object.assign(r,t),s=Qk(t.categories,{suggestionMode:a.suggestedEmojisMode});a.hiddenEmojis.forEach(function(f){a.unicodeToHide.add(f)}),uS((n=a.customEmojis)!=null?n:[]);var o=a.searchDisabled?Mi.PREVIEW:a.skinTonePickerLocation;return ve({},a,{categories:s,previewConfig:i,skinTonePickerLocation:o})}function d2(){return{autoFocusSearch:!0,categories:r2(),className:"",customEmojis:[],defaultSkinTone:Ht.NEUTRAL,emojiStyle:mt.APPLE,emojiVersion:null,getEmojiUrl:l2,height:450,lazyLoadEmojis:!1,previewConfig:ve({},vS),searchDisabled:!1,searchPlaceHolder:Uo,searchPlaceholder:Uo,searchClearButtonLabel:f2,skinTonePickerLocation:Mi.SEARCH,skinTonesDisabled:!1,style:{},suggestedEmojisMode:ka.FREQUENT,theme:Sa.LIGHT,unicodeToHide:new Set(mS),width:350,reactionsDefaultOpen:!1,reactions:Rk,open:!0,allowExpandReactions:!0,hiddenEmojis:[]}}var vS={defaultEmoji:"1f60a",defaultCaption:"What's your mood?",showPreview:!0},yS=["children"],u2=M.createContext(d2());function wS(t){var e=t.children,n=$g(t,yS),r=MS(n);return M.createElement(u2.Provider,{value:r},e)}function MS(t){var e,n=M.useState(function(){return gh(t)}),r=n[0],i=n[1];return M.useEffect(function(){Zg(r,t)||i(gh(t))},[(e=t.customEmojis)==null?void 0:e.length,t.open,t.emojiVersion,t.reactionsDefaultOpen,t.searchPlaceHolder,t.searchPlaceholder,t.searchClearButtonLabel,t.defaultSkinTone,t.skinTonesDisabled,t.autoFocusSearch,t.emojiStyle,t.theme,t.suggestedEmojisMode,t.lazyLoadEmojis,t.className,t.height,t.width,t.searchDisabled,t.skinTonePickerLocation,t.allowExpandReactions]),r}function Le(){return M.useContext(u2)}var h2=M.createContext({});function p2(){var t=M.useContext(h2);return t}function jS(t){var e=M.useRef({onEmojiClick:t.onEmojiClick||Ss,onReactionClick:t.onReactionClick||t.onEmojiClick,onSkinToneChange:t.onSkinToneChange||Ss});return M.useEffect(function(){e.current.onEmojiClick=t.onEmojiClick||Ss,e.current.onReactionClick=t.onReactionClick||t.onEmojiClick},[t.onEmojiClick,t.onReactionClick]),M.useEffect(function(){e.current.onSkinToneChange=t.onSkinToneChange||Ss},[t.onSkinToneChange]),e}function Ss(){}var Ia;(function(t){t.REACTIONS="reactions",t.PICKER="picker"})(Ia||(Ia={}));function CS(){var t,e=Le(),n=e.searchPlaceHolder,r=e.searchPlaceholder;return(t=[n,r].find(function(i){return i!==Uo}))!=null?t:Uo}function LS(){var t=Le(),e=t.searchClearButtonLabel;return e??f2}function NS(){var t=Le(),e=t.defaultSkinTone;return e}function m2(){var t=Le(),e=t.allowExpandReactions;return e}function g2(){var t=Le(),e=t.skinTonesDisabled;return e}function zr(){var t=Le(),e=t.emojiStyle;return e}function kS(){var t=Le(),e=t.autoFocusSearch;return e}function Ed(){var t=Le(),e=t.categories;return e}function SS(){var t=Le(),e=t.customEmojis;return e}function IS(){var t=Le(),e=t.open;return e}function TS(t){var e=p2(),n=e.current,r=Ar(),i=r[1],a=n.onEmojiClick||function(){},s=n.onReactionClick;return t===Ia.REACTIONS&&s?function(){for(var o=arguments.length,f=new Array(o),c=0;c<o;c++)f[c]=arguments[c];return s.apply(void 0,f.concat([{collapseToReactions:function(){i(function(u){return u})}}]))}:function(){for(var o=arguments.length,f=new Array(o),c=0;c<o;c++)f[c]=arguments[c];a.apply(void 0,f.concat([{collapseToReactions:function(){i(!0)}}]))}}function DS(){var t=p2(),e=t.current;return e.onSkinToneChange||function(){}}function b2(){var t=Le(),e=t.previewConfig;return e}function ES(){var t=Le(),e=t.theme;return e}function AS(){var t=Le(),e=t.suggestedEmojisMode;return e}function x2(){var t=Le(),e=t.lazyLoadEmojis;return e}function zS(){var t=Le(),e=t.className;return e}function OS(){var t=Le(),e=t.height,n=t.width,r=t.style;return ve({height:bh(e),width:bh(n)},r)}function PS(){var t=Le(),e=t.reactionsDefaultOpen;return e}function RS(){var t=Le(),e=t.emojiVersion;return e}function v2(){var t=Le(),e=t.searchDisabled;return e}function y2(){var t=Le(),e=t.skinTonePickerLocation;return e}function BS(){var t=Le(),e=t.unicodeToHide;return e}function HS(){var t=Le(),e=t.reactions;return e}function Or(){var t=Le(),e=t.getEmojiUrl;return e}function bh(t){return typeof t=="number"?t+"px":t}function FS(t){var e=t>0,n=t>1;return e?n?xS.replace("%n",t.toString()):bS:gS}function ml(){var t=dl(),e=t[0];return!!e}function yt(t){t&&requestAnimationFrame(function(){t.focus()})}function w2(t){if(t){var e=t.previousElementSibling;yt(e)}}function M2(t){if(t){var e=t.nextElementSibling;yt(e)}}function j2(t){if(t){var e=t.firstElementChild;yt(e)}}function Ta(){return document.activeElement}function US(t){var e=t.children,n=M.useRef(null),r=M.useRef(null),i=M.useRef(null),a=M.useRef(null),s=M.useRef(null),o=M.useRef(null),f=M.useRef(null),c=M.useRef(null),d=M.useRef(null);return M.createElement(C2.Provider,{value:{AnchoredEmojiRef:r,BodyRef:i,EmojiListRef:a,CategoryNavigationRef:f,PickerMainRef:n,SearchInputRef:s,SkinTonePickerRef:o,VariationPickerRef:c,ReactionsRef:d}},e)}var C2=M.createContext({AnchoredEmojiRef:M.createRef(),BodyRef:M.createRef(),CategoryNavigationRef:M.createRef(),EmojiListRef:M.createRef(),PickerMainRef:M.createRef(),SearchInputRef:M.createRef(),SkinTonePickerRef:M.createRef(),VariationPickerRef:M.createRef(),ReactionsRef:M.createRef()});function jn(){return M.useContext(C2)}function L2(){return jn().EmojiListRef}function Si(){return jn().PickerMainRef}function gl(){return jn().AnchoredEmojiRef}function N2(){var t=gl();return function(e){e===null&&t.current!==null&&yt(t.current),t.current=e}}function wt(){return jn().BodyRef}function _S(){return jn().ReactionsRef}function Xn(){return jn().SearchInputRef}function Ad(){return jn().SkinTonePickerRef}function zd(){return jn().CategoryNavigationRef}function JS(){return jn().VariationPickerRef}function k2(t,e){e===void 0&&(e=0);var n=F2(t);n&&requestAnimationFrame(function(){n.scrollTop=e})}function VS(t,e){var n=F2(t);n&&requestAnimationFrame(function(){n.scrollTop=n.scrollTop+e})}function YS(){var t=wt();return M.useCallback(function(e){requestAnimationFrame(function(){t.current&&(t.current.scrollTop=e)})},[t])}function bl(t){if(!(!t||!T9(t))&&!t.closest(Bt(le.variationPicker))){var e=_2(t),n=U2(t);VS(e,-(Hd(er(t))-n))}}function xl(t){var e=Jd(t);yt(e),bl(e)}function QS(t){var e=Jd(t);yt(e),e==null||e.click()}function GS(t){yt(Q2(t))}function WS(t){if(t){var e=G2(t);if(!e)return xl(yl(t));yt(e),bl(e)}}function $S(t){if(t){var e=_d(t);if(!e)return GS(vl(t));yt(e),bl(e)}}function ZS(t,e){if(t){var n=KS(t);if(!n)return e();yt(n),bl(n)}}function qS(t){if(t){var e=XS(t);return yt(e)}}function KS(t){if(!t)return null;var e=W2(t),n=er(e),r=R2(e,t),i=Ci(n),a=i.indexOf(t),s=a%r;if(a===-1)return null;if(i[a-r])return i[a-r];var o=vl(n);if(!o)return null;var f=Ci(o),c=f.length%r-1;if(s>c)return f.at(-1);for(var d=f.length-1;d>=0;d--)if(d%r===s)return f[d];return f.at(-1)}function XS(t){var e;if(!t)return null;var n=W2(t),r=er(n),i=R2(n,t),a=Ci(r),s=a.indexOf(t);if(s===-1)return null;var o=i-s%i-1,f=s+o+1;if(a[f]){for(var c=s+i;c%i>=0;c--)if(a[c])return a[c]}var d=s%i,u=yl(r),p=Ci(u);return p[d]?p[d]:(e=p.at(0))!=null?e:null}function Pr(){var t=Ni(),e=t[0],n=t[1],r=Qa(),i=r[0],a=r[1],s=M.useCallback(function(){e&&n(null),i&&a(!1)},[e,i,n,a]);return s}function S2(){var t=Ni(),e=t[0],n=Qa(),r=n[0];return function(){return!!e||r}}function e9(){var t=Id();return function(){t.current=!0}}function I2(){var t=Id();return function(){t.current=!1}}function T2(){var t=Id();return function(){return t.current}}function t9(){var t=wt(),e=I2(),n=T2();M.useEffect(function(){var r=t.current;r==null||r.addEventListener("mousemove",i,{passive:!0});function i(){n()&&e()}return function(){r==null||r.removeEventListener("mousemove",i)}},[t,e,n])}function Rr(){var t=Xn();return M.useCallback(function(){yt(t.current)},[t])}function n9(){var t=Ad();return M.useCallback(function(){t.current&&j2(t.current)},[t])}function D2(){var t=zd();return M.useCallback(function(){t.current&&j2(t.current)},[t])}function r9(){var t=Sd();return function e(n){if(typeof n=="function")return e(n(t.current));t.current=n}}function E2(){var t=Od(),e=Xn(),n=Rr();return function(){e.current&&(e.current.value=""),t(""),n()}}function i9(){var t=Xn(),e=Od();return function(r){t.current?(t.current.value=""+t.current.value+r,e(xh(t.current.value))):e(xh(r))}}function a9(){var t=Xn(),e=Sd(),n=r9(),r=Od(),i=dl(),a=i[0],s=d9(e.current,a);return{onChange:o,searchTerm:a,SearchInputRef:t,statusSearchResults:s};function o(f){var c=e.current,d=f.toLowerCase();if(c!=null&&c[d]||d.length<=1)return r(d);var u=c9(d,c);if(!u)return r(d);n(function(p){var h;return Object.assign(p,(h={},h[d]=s9(u,d),h))}),r(d)}}function Od(){var t=dl(),e=t[1],n=Si();return function(i){requestAnimationFrame(function(){e(i&&(i==null?void 0:i.toLowerCase())).then(function(){k2(n.current,0)})})}}function s9(t,e){var n={};for(var r in t){var i=t[r];o9(i,e)&&(n[r]=i)}return n}function o9(t,e){return Ga(t).some(function(n){return n.includes(e)})}function l9(){var t=Sd(),e=t.current,n=dl(),r=n[0];return function(i){return f9(i,e,r)}}function f9(t,e,n){var r;return!e||!n?!1:!((r=e[n])!=null&&r[t])}function c9(t,e){if(!e)return null;if(e[t])return e[t];var n=Object.keys(e).sort(function(r,i){return i.length-r.length}).find(function(r){return t.includes(r)});return n?e[n]:null}function xh(t){return!t||typeof t!="string"?"":t.trim().toLowerCase()}function d9(t,e){var n;if(!(t!=null&&t[e]))return"";var r=((n=Object.entries(t==null?void 0:t[e]))==null?void 0:n.length)||0;return FS(r)}function A2(){var t=N2(),e=Ni(),n=e[1];return function(i){var a=Bd(i),s=a[0];s&&(t(i),n(s))}}function Pd(){var t=y2();return t===Mi.SEARCH}function z2(){var t=y2();return t===Mi.PREVIEW}var Te;(function(t){t.ArrowDown="ArrowDown",t.ArrowUp="ArrowUp",t.ArrowLeft="ArrowLeft",t.ArrowRight="ArrowRight",t.Escape="Escape",t.Enter="Enter",t.Space=" "})(Te||(Te={}));function u9(){h9(),p9(),m9(),g9(),b9()}function h9(){var t=Si(),e=E2(),n=YS(),r=Xn(),i=Rr(),a=S2(),s=e9(),o=Pr(),f=M.useMemo(function(){return function(d){var u=d.key;switch(s(),u){case Te.Escape:if(d.preventDefault(),a()){o();return}e(),n(0),i();break}}},[n,e,o,i,a,s]);M.useEffect(function(){var c=t.current;if(c)return c.addEventListener("keydown",f),function(){c.removeEventListener("keydown",f)}},[t,r,n,f])}function p9(){var t=n9(),e=Si(),n=wt(),r=Xn(),i=Qa(),a=i[1],s=O2(),o=Pd(),f=M.useMemo(function(){return function(d){var u=d.key;switch(u){case Te.ArrowRight:if(!o)return;d.preventDefault(),a(!0),t();break;case Te.ArrowDown:d.preventDefault(),s();break;case Te.Enter:d.preventDefault(),QS(n.current);break}}},[t,s,a,n,o]);M.useEffect(function(){var c=r.current;if(c)return c.addEventListener("keydown",f),function(){c.removeEventListener("keydown",f)}},[e,r,f])}function m9(){var t=Ad(),e=Rr(),n=Xn(),r=O2(),i=Qa(),a=i[0],s=i[1],o=z2(),f=Pd(),c=Rd(),d=M.useMemo(function(){return(function(p){var h=p.key;if(f)switch(h){case Te.ArrowLeft:if(p.preventDefault(),!a)return e();vh(e);break;case Te.ArrowRight:if(p.preventDefault(),!a)return e();yh();break;case Te.ArrowDown:p.preventDefault(),a&&s(!1),r();break;default:c(p);break}if(o)switch(h){case Te.ArrowUp:if(p.preventDefault(),!a)return e();vh(e);break;case Te.ArrowDown:if(p.preventDefault(),!a)return e();yh();break;default:c(p);break}})},[a,e,s,r,c,o,f]);M.useEffect(function(){var u=t.current;if(u)return u.addEventListener("keydown",d),function(){u.removeEventListener("keydown",d)}},[t,n,a,d])}function g9(){var t=Rr(),e=zd(),n=wt(),r=Rd(),i=M.useMemo(function(){return function(s){var o=s.key;switch(o){case Te.ArrowUp:s.preventDefault(),t();break;case Te.ArrowRight:s.preventDefault(),M2(Ta());break;case Te.ArrowLeft:s.preventDefault(),w2(Ta());break;case Te.ArrowDown:s.preventDefault(),xl(n.current);break;default:r(s);break}}},[n,t,r]);M.useEffect(function(){var a=e.current;if(a)return a.addEventListener("keydown",i),function(){a.removeEventListener("keydown",i)}},[e,n,i])}function b9(){var t=wt(),e=x9(),n=A2(),r=S2(),i=Pr(),a=Rd(),s=M.useMemo(function(){return(function(f){var c=f.key,d=_t(Ta());switch(c){case Te.ArrowRight:f.preventDefault(),WS(d);break;case Te.ArrowLeft:f.preventDefault(),$S(d);break;case Te.ArrowDown:if(f.preventDefault(),r()){i();break}qS(d);break;case Te.ArrowUp:if(f.preventDefault(),r()){i();break}ZS(d,e);break;case Te.Space:f.preventDefault(),n(f.target);break;default:a(f);break}})},[e,a,n,r,i]);M.useEffect(function(){var o=t.current;if(o)return o.addEventListener("keydown",s),function(){o.removeEventListener("keydown",s)}},[t,s])}function O2(){var t=D2(),e=ml(),n=wt();return M.useCallback(function(){return e?xl(n.current):t()},[n,t,e])}function x9(){var t=Rr(),e=D2(),n=ml();return M.useCallback(function(){return n?t():e()},[t,n,e])}function vh(t){var e=Ta();e&&(k9(e)||t(),M2(e))}function yh(){var t=Ta();t&&w2(t)}function Rd(){var t=i9(),e=Rr(),n=v2(),r=Pr();return function(a){var s=a.key;v9(a)||n||s.match(/(^[a-zA-Z0-9]$){1}/)&&(a.preventDefault(),r(),e(),t(s))}}function v9(t){var e=t.metaKey,n=t.ctrlKey,r=t.altKey;return e||n||r}function y9(t,e,n,r,i,a,s,o){if(t&&e!==mt.NATIVE){var f=_e(t);fc.has(f)||!a||!s||setTimeout(function(){var c=i+a.top,d=n+r,u=c>=d&&c<d+s.emojiSize*2;u&&P2(o,t,e)})}}function P2(t,e,n){if(e){var r=_e(e);fc.has(r)||(fc.add(r),Wa(e).concat(r).forEach(function(i){var a=t(i,n);w9(a)}))}}var fc=new Set;function w9(t){var e=new Image;e.src=t}function M9(){var t=wt(),e=zr(),n=Or();M.useEffect(function(){if(e===mt.NATIVE)return;var r=t.current;return r==null||r.addEventListener("focusin",i),function(){r==null||r.removeEventListener("focusin",i)};function i(a){var s=_t(a.target);if(s){var o=Bd(s),f=o[0];f&&ki(f)&&P2(n,f,e)}}},[t,e,n])}var j9=["width","height"],cc=40;function C9(t){var e=t.children;return M.createElement(_k,null,M.createElement(L9,null,e))}function L9(t){var e,n=t.children,r=Ar(),i=r[0],a=ES(),s=ml(),o=Si(),f=zS(),c=OS();u9(),M9();var d=c||{},u=d.width,p=d.height,h=$g(d,j9);return M.createElement("aside",{className:oe(Ui.main,Ui.baseVariables,a===Sa.DARK&&Ui.darkTheme,a===Sa.AUTO&&Ui.autoThemeDark,(e={},e[le.searchActive]=s,e),i&&Ui.reactionsMenu,f),ref:o,style:ve({},h,!i&&{height:p,width:u})},n)}var wh={"--epr-emoji-variation-picker-bg-color":"var(--epr-dark-emoji-variation-picker-bg-color)","--epr-hover-bg-color-reduced-opacity":"var(--epr-dark-hover-bg-color-reduced-opacity)","--epr-highlight-color":"var(--epr-dark-highlight-color)","--epr-text-color":"var(--epr-dark-text-color)","--epr-hover-bg-color":"var(--epr-dark-hover-bg-color)","--epr-focus-bg-color":"var(--epr-dark-focus-bg-color)","--epr-search-input-bg-color":"var(--epr-dark-search-input-bg-color)","--epr-category-label-bg-color":"var(--epr-dark-category-label-bg-color)","--epr-picker-border-color":"var(--epr-dark-picker-border-color)","--epr-bg-color":"var(--epr-dark-bg-color)","--epr-reactions-bg-color":"var(--epr-dark-reactions-bg-color)","--epr-search-input-bg-color-active":"var(--epr-dark-search-input-bg-color-active)","--epr-emoji-variation-indicator-color":"var(--epr-dark-emoji-variation-indicator-color)","--epr-category-icon-active-color":"var(--epr-dark-category-icon-active-color)","--epr-skin-tone-picker-menu-color":"var(--epr-dark-skin-tone-picker-menu-color)","--epr-skin-tone-outer-border-color":"var(--epr-dark-skin-tone-outer-border-color)","--epr-skin-tone-inner-border-color":"var(--epr-dark-skin-tone-inner-border-color)"},Ui=Ce.create({main:{".":["epr-main",le.emojiPicker],position:"relative",display:"flex",flexDirection:"column",borderWidth:"1px",borderStyle:"solid",borderRadius:"var(--epr-picker-border-radius)",borderColor:"var(--epr-picker-border-color)",backgroundColor:"var(--epr-bg-color)",overflow:"hidden",transition:"height 0.3s ease-in-out, background-color 0.1s ease-in-out","*":{boxSizing:"border-box",fontFamily:"sans-serif"}},baseVariables:{"--":{"--epr-highlight-color":"#007aeb","--epr-hover-bg-color":"#e5f0fa","--epr-hover-bg-color-reduced-opacity":"#e5f0fa80","--epr-focus-bg-color":"#e0f0ff","--epr-text-color":"#858585","--epr-search-input-bg-color":"#f6f6f6","--epr-picker-border-color":"#e7e7e7","--epr-bg-color":"#fff","--epr-reactions-bg-color":"#ffffff90","--epr-category-icon-active-color":"#6aa8de","--epr-skin-tone-picker-menu-color":"#ffffff95","--epr-skin-tone-outer-border-color":"#555555","--epr-skin-tone-inner-border-color":"var(--epr-bg-color)","--epr-horizontal-padding":"10px","--epr-picker-border-radius":"8px","--epr-header-padding":"15px var(--epr-horizontal-padding)","--epr-active-skin-tone-indicator-border-color":"var(--epr-highlight-color)","--epr-active-skin-hover-color":"var(--epr-hover-bg-color)","--epr-search-input-bg-color-active":"var(--epr-search-input-bg-color)","--epr-search-input-padding":"0 30px","--epr-search-input-border-radius":"8px","--epr-search-input-height":"40px","--epr-search-input-text-color":"var(--epr-text-color)","--epr-search-input-placeholder-color":"var(--epr-text-color)","--epr-search-bar-inner-padding":"var(--epr-horizontal-padding)","--epr-search-border-color":"var(--epr-search-input-bg-color)","--epr-search-border-color-active":"var(--epr-highlight-color)","--epr-category-navigation-button-size":"30px","--epr-emoji-variation-picker-height":"45px","--epr-emoji-variation-picker-bg-color":"var(--epr-bg-color)","--epr-preview-height":"70px","--epr-preview-text-size":"14px","--epr-preview-text-padding":"0 var(--epr-horizontal-padding)","--epr-preview-border-color":"var(--epr-picker-border-color)","--epr-preview-text-color":"var(--epr-text-color)","--epr-category-padding":"0 var(--epr-horizontal-padding)","--epr-category-label-bg-color":"#ffffffe6","--epr-category-label-text-color":"var(--epr-text-color)","--epr-category-label-padding":"0 var(--epr-horizontal-padding)","--epr-category-label-height":cc+"px","--epr-emoji-size":"30px","--epr-emoji-padding":"5px","--epr-emoji-fullsize":"calc(var(--epr-emoji-size) + var(--epr-emoji-padding) * 2)","--epr-emoji-hover-color":"var(--epr-hover-bg-color)","--epr-emoji-variation-indicator-color":"var(--epr-picker-border-color)","--epr-emoji-variation-indicator-color-hover":"var(--epr-text-color)","--epr-header-overlay-z-index":"3","--epr-emoji-variations-indictator-z-index":"1","--epr-category-label-z-index":"2","--epr-skin-variation-picker-z-index":"5","--epr-preview-z-index":"6","--epr-dark":"#000","--epr-dark-emoji-variation-picker-bg-color":"var(--epr-dark)","--epr-dark-highlight-color":"#c0c0c0","--epr-dark-text-color":"var(--epr-highlight-color)","--epr-dark-hover-bg-color":"#363636f6","--epr-dark-hover-bg-color-reduced-opacity":"#36363680","--epr-dark-focus-bg-color":"#474747","--epr-dark-search-input-bg-color":"#333333","--epr-dark-category-label-bg-color":"#222222e6","--epr-dark-picker-border-color":"#151617","--epr-dark-bg-color":"#222222","--epr-dark-reactions-bg-color":"#22222290","--epr-dark-search-input-bg-color-active":"var(--epr-dark)","--epr-dark-emoji-variation-indicator-color":"#444","--epr-dark-category-icon-active-color":"#3271b7","--epr-dark-skin-tone-picker-menu-color":"#22222295","--epr-dark-skin-tone-outer-border-color":"var(--epr-dark-picker-border-color)","--epr-dark-skin-tone-inner-border-color":"#00000000"}},autoThemeDark:{".":le.autoTheme,"@media (prefers-color-scheme: dark)":{"--":wh}},darkTheme:{".":le.darkTheme,"--":wh},reactionsMenu:{".":"epr-reactions",height:"50px",display:"inline-flex",backgroundColor:"var(--epr-reactions-bg-color)",backdropFilter:"blur(8px)","--":{"--epr-picker-border-radius":"50px"}}});function R2(t,e){if(!t||!e)return 0;var n=t.getBoundingClientRect().width,r=e.getBoundingClientRect().width;return Math.floor(n/r)}function N9(t,e,n){if(!t||!e.length)return null;var r=t.getBoundingClientRect().top,i=t.getBoundingClientRect().bottom,a=r+B2(t),s=e.find(function(o){var f=o.getBoundingClientRect().top,c=o.getBoundingClientRect().bottom,d=o.clientHeight*n,u=f+d,p=c-d;return u<a?!1:u>=r&&u<=i||p>=r&&p<=i});return s||null}function k9(t){return!!t.nextElementSibling}function B2(t){if(!t)return cc;var e=t.querySelector(Bt(le.label));if(e){var n=e.getBoundingClientRect().height;if(n>0)return n}return cc}var Da="button"+Bt(le.emoji),S9=[Da,Bt(le.visible),":not("+Bt(le.hidden)+")"].join("");function _t(t){var e;return(e=t==null?void 0:t.closest(Da))!=null?e:null}function Bd(t){var e=J2(t),n=Fd(t);if(!e)return[];var r=ji(n??e);return r?[r,n]:[]}function I9(t){var e;return!!(t!=null&&t.matches(Da)||!(t==null||(e=t.parentElement)==null)&&e.matches(Da))}function Mh(t){var e;return(e=t==null?void 0:t.clientHeight)!=null?e:0}function H2(t){if(!t)return 0;var e=_t(t),n=er(e),r=Hd(n);return jh(e)+jh(n)+r}function Hd(t){var e,n;if(!t)return 0;var r=t.querySelector(Bt(le.categoryContent));return((e=t==null?void 0:t.clientHeight)!=null?e:0)-((n=r==null?void 0:r.clientHeight)!=null?n:0)}function T9(t){return t?U2(t)<Hd(er(t)):!1}function F2(t){return t?t.matches(Bt(le.scrollBody))?t:t.querySelector(Bt(le.scrollBody)):null}function U2(t){var e,n;return t?H2(t)-((e=(n=_2(t))==null?void 0:n.scrollTop)!=null?e:0):0}function _2(t){var e;return t&&(e=t.closest(Bt(le.scrollBody)))!=null?e:null}function D9(t){var e=_t(t),n=er(e);return Ch(e)+Ch(n)}function jh(t){var e;return(e=t==null?void 0:t.offsetTop)!=null?e:0}function Ch(t){var e;return(e=t==null?void 0:t.offsetLeft)!=null?e:0}function Fd(t){var e;return(e=E9(_t(t),"unified"))!=null?e:null}function J2(t){var e=Fd(t);return e?Dd(e):null}function V2(t){return t?{unified:Fd(t),originalUnified:J2(t)}:{unified:null,originalUnified:null}}function E9(t,e){var n;return(n=A9(t)[e])!=null?n:null}function A9(t){var e;return(e=t==null?void 0:t.dataset)!=null?e:{}}function Ud(t){return t.classList.contains(le.visible)}function Y2(t){return t?t.classList.contains(le.hidden):!0}function Ci(t){return t?Array.from(t.querySelectorAll(S9)):[]}function Q2(t){if(!t)return null;var e=Ci(t),n=e.slice(-1),r=n[0];return r?Ud(r)?r:_d(r):null}function G2(t){var e=t.nextElementSibling;return e?Ud(e)?e:G2(e):Jd(yl(t))}function _d(t){var e=t.previousElementSibling;return e?Ud(e)?e:_d(e):Q2(vl(t))}function Jd(t){if(!t)return null;var e=Ci(t);return N9(t,e,.1)}function vl(t){var e=er(t);if(!e)return null;var n=e.previousElementSibling;return n?Y2(n)?vl(n):n:null}function yl(t){var e=er(t);if(!e)return null;var n=e.nextElementSibling;return n?Y2(n)?yl(n):n:null}function er(t){return t?t.closest(Bt(le.category)):null}function W2(t){return t?t.closest(Bt(le.categoryContent)):null}function $2(t){return t.split("-").map(function(e){return String.fromCodePoint(parseInt(e,16))}).join("")}function z9(t){return t.category===ie.CUSTOM}function Z2(t){return t.imgUrl!==void 0}function q2(t,e){var n=M.useRef(),r=A2(),i=Jk(),a=Ni(),s=a[1],o=Pr(),f=ul(),c=f[0],d=TS(e),u=t2(),p=u[1],h=Or(),m=zr(),g=M.useCallback(function(j){if(!i.current){o();var v=Lh(j),L=v[0],C=v[1];if(!(!L||!C)){var k=pS(C)||c;p(),fS(L,k),d(O9(L,k,m,h),j)}}},[c,o,i,d,p,h,m]),b=M.useCallback(function(j){var v;n.current&&clearTimeout(n.current);var L=Lh(j),C=L[0];!C||!ki(C)||(n.current=(v=window)==null?void 0:v.setTimeout(function(){i.current=!0,n.current=void 0,o(),r(j.target),s(C)},500))},[i,o,r,s]),x=M.useCallback(function(){n.current?(clearTimeout(n.current),n.current=void 0):i.current&&requestAnimationFrame(function(){i.current=!1})},[i]);M.useEffect(function(){if(t.current){var w=t.current;return w.addEventListener("click",g,{passive:!0}),w.addEventListener("mousedown",b,{passive:!0}),w.addEventListener("mouseup",x,{passive:!0}),function(){w==null||w.removeEventListener("click",g),w==null||w.removeEventListener("mousedown",b),w==null||w.removeEventListener("mouseup",x)}}},[t,g,b,x])}function Lh(t){var e=t==null?void 0:t.target;return I9(e)?Bd(e):[]}function O9(t,e,n,r){var i=Ga(t);if(Z2(t)){var a=_e(t);return{activeSkinTone:e,emoji:a,getImageUrl:function(){return t.imgUrl},imageUrl:t.imgUrl,isCustom:!0,names:i,unified:a,unifiedWithoutSkinTone:a}}var s=_e(t,e);return{activeSkinTone:e,emoji:$2(s),getImageUrl:function(f){return f===void 0&&(f=n??mt.APPLE),r(s,f)},imageUrl:r(s,n??mt.APPLE),isCustom:!1,names:i,unified:s,unifiedWithoutSkinTone:_e(t)}}function $a(t){return M.createElement("button",Object.assign({type:"button"},t,{className:oe(P9.button,t.className)}),t.children)}var P9=Ce.create({button:{".":"epr-btn",cursor:"pointer",border:"0",background:"none",outline:"none"}});function R9(t){var e,n=t.emojiNames,r=t.unified,i=t.hidden,a=t.hiddenOnSearch,s=t.showVariations,o=s===void 0?!0:s,f=t.hasVariations,c=t.children,d=t.className,u=t.noBackground,p=u===void 0?!1:u,h=t.style;return M.createElement($a,{className:oe(df.emoji,i&&kd.hidden,a&&Er.hiddenOnSearch,(e={},e[le.visible]=!i&&!a,e),!!(f&&o)&&df.hasVariations,p&&df.noBackground,d),"data-unified":r,"aria-label":B9(n),"data-full-name":n,style:h},c)}function B9(t){var e;return t[0].match("flag-")&&(e=t[1])!=null?e:t[0]}var df=Ce.create({emoji:{".":le.emoji,position:"relative",width:"var(--epr-emoji-fullsize)",height:"var(--epr-emoji-fullsize)",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",maxWidth:"var(--epr-emoji-fullsize)",maxHeight:"var(--epr-emoji-fullsize)",borderRadius:"8px",overflow:"hidden",transition:"background-color 0.2s",":hover":{backgroundColor:"var(--epr-emoji-hover-color)"},":focus":{backgroundColor:"var(--epr-focus-bg-color)"}},noBackground:{background:"none",":hover":{backgroundColor:"transparent",background:"none"},":focus":{backgroundColor:"transparent",background:"none"}},hasVariations:{".":le.emojiHasVariations,":after":{content:"",display:"block",width:"0",height:"0",right:"0px",bottom:"1px",position:"absolute",borderLeft:"4px solid transparent",borderRight:"4px solid transparent",transform:"rotate(135deg)",borderBottom:"4px solid var(--epr-emoji-variation-indicator-color)",zIndex:"var(--epr-emoji-variations-indictator-z-index)"},":hover:after":{borderBottom:"4px solid var(--epr-emoji-variation-indicator-color-hover)"}}}),_o=Ce.create({external:{".":le.external,fontSize:"0"},common:{alignSelf:"center",justifySelf:"center",display:"block"}});function Nh(t){var e=t.emojiName,n=t.style,r=t.lazyLoad,i=r===void 0?!1:r,a=t.imgUrl,s=t.onError,o=t.className;return M.createElement("img",{src:a,alt:e,className:oe(H9.emojiImag,_o.external,_o.common,o),loading:i?"lazy":"eager",onError:s,style:n})}var H9=Ce.create({emojiImag:{".":"epr-emoji-img",maxWidth:"var(--epr-emoji-fullsize)",maxHeight:"var(--epr-emoji-fullsize)",minWidth:"var(--epr-emoji-fullsize)",minHeight:"var(--epr-emoji-fullsize)",padding:"var(--epr-emoji-padding)"}});function F9(t){var e=t.unified,n=t.style,r=t.className;return M.createElement("span",{className:oe(U9.nativeEmoji,_o.common,_o.external,r),"data-unified":e,style:n},$2(e))}var U9=Ce.create({nativeEmoji:{".":"epr-emoji-native",fontFamily:'"Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "EmojiOne Color", "Android Emoji"!important',position:"relative",lineHeight:"100%",fontSize:"var(--epr-emoji-size)",textAlign:"center",alignSelf:"center",justifySelf:"center",letterSpacing:"0",padding:"var(--epr-emoji-padding)"}});function dc(t){var e=t.emoji,n=t.unified,r=t.emojiStyle,i=t.size,a=t.lazyLoad,s=t.getEmojiUrl,o=s===void 0?l2:s,f=t.className,c=Xg(),d=c[1],u={};i&&(u.width=u.height=u.fontSize=i+"px");var p=e||ji(n);if(!p)return null;if(Z2(p))return M.createElement(Nh,{style:u,emojiName:n,emojiStyle:mt.NATIVE,lazyLoad:a,imgUrl:p.imgUrl,onError:h,className:f});return M.createElement(M.Fragment,null,r===mt.NATIVE?M.createElement(F9,{unified:n,style:u,className:f}):M.createElement(Nh,{style:u,emojiName:lc(p),emojiStyle:r,lazyLoad:a,imgUrl:o(n,r),onError:h,className:f}));function h(){d(function(m){return new Set(m).add(n)})}}function wl(t){var e=t.emoji,n=t.unified,r=t.hidden,i=t.hiddenOnSearch,a=t.emojiStyle,s=t.showVariations,o=s===void 0?!0:s,f=t.size,c=t.lazyLoad,d=t.getEmojiUrl,u=t.className,p=t.noBackground,h=p===void 0?!1:p,m=t.style,g=ki(e);return M.createElement(R9,{hasVariations:g,showVariations:o,hidden:r,hiddenOnSearch:i,emojiNames:Ga(e),unified:n,noBackground:h,style:m},M.createElement(dc,{unified:n,emoji:e,size:f,emojiStyle:a,lazyLoad:c,getEmojiUrl:d,className:u}))}var _9="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA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AuOSw2LjEsNTEsNi4zLDUxaDMuNHYzLjRjMCwwLjEsMC4xLDAuMywwLjIsMC40CgljMC4xLDAuMSwwLjIsMC4yLDAuNCwwLjJjMC4zLDAsMC41LTAuMiwwLjUtMC41di0zLjRoMy40YzAuMywwLDAuNS0wLjIsMC41LTAuNXMtMC4yLTAuNS0wLjUtMC41aC0zLjR2LTMuNGMwLTAuMy0wLjItMC41LTAuNS0wLjUKCXMtMC41LDAuMi0wLjUsMC41djMuNEg2LjJDNS45LDQ5LjksNS43LDUwLjEsNS43LDUwLjRMNS43LDUwLjR6Ii8+CjxwYXRoIGZpbGw9IiM2QUE5REQiIGQ9Ik01LjcsNzAuNGMwLDAuMSwwLjEsMC4zLDAuMiwwLjRTNi4xLDcxLDYuMyw3MWgzLjR2My40YzAsMC4xLDAuMSwwLjMsMC4yLDAuNGMwLjEsMC4xLDAuMiwwLjIsMC40LDAuMgoJYzAuMywwLDAuNS0wLjIsMC41LTAuNXYtMy40aDMuNGMwLjMsMCwwLjUtMC4yLDAuNS0wLjVzLTAuMi0wLjUtMC41LTAuNWgtMy40di0zLjRjMC0wLjMtMC4yLTAuNS0wLjUtMC41cy0wLjUsMC4yLTAuNSwwLjV2My40SDYuNAoJQzUuOSw2OS45LDUuNyw3MC4xLDUuNyw3MC40TDUuNyw3MC40eiIvPgo8L3N2Zz4=";function J9(){var t=Ar(),e=t[1];return M.createElement($a,{"aria-label":"Show all Emojis",title:"Show all Emojis",tabIndex:0,className:oe(V9.plusSign),onClick:function(){return e(!1)}})}var V9=Ce.create(ve({plusSign:{fontSize:"20px",padding:"17px",color:"var(--epr-text-color)",borderRadius:"50%",textAlign:"center",lineHeight:"100%",width:"20px",height:"20px",display:"flex",justifyContent:"center",alignItems:"center",transition:"background-color 0.2s ease-in-out",":after":{content:"",minWidth:"20px",minHeight:"20px",backgroundImage:"url("+_9+")",backgroundColor:"transparent",backgroundRepeat:"no-repeat",backgroundSize:"20px",backgroundPositionY:"0"},":hover":{color:"var(--epr-highlight-color)",backgroundColor:"var(--epr-hover-bg-color-reduced-opacity)",":after":{backgroundPositionY:"-20px"}},":focus":{color:"var(--epr-highlight-color)",backgroundColor:"var(--epr-hover-bg-color-reduced-opacity)",":after":{backgroundPositionY:"-40px"}}}},Gn("plusSign",{":after":{backgroundPositionY:"-40px"},":hover:after":{backgroundPositionY:"-60px"}})));function Y9(){var t=Ar(),e=t[0],n=_S(),r=HS();q2(n,Ia.REACTIONS);var i=zr(),a=m2(),s=Or();return e?M.createElement("ul",{className:oe(kh.list,!e&&kd.hidden),ref:n},r.map(function(o){return M.createElement("li",{key:o},M.createElement(wl,{emoji:ji(o),emojiStyle:i,unified:o,showVariations:!1,className:oe(kh.emojiButton),noBackground:!0,getEmojiUrl:s}))}),a?M.createElement("li",null,M.createElement(J9,null)):null):null}var kh=Ce.create({list:{listStyle:"none",margin:"0",padding:"0 5px",display:"flex",justifyContent:"space-between",alignItems:"center",height:"100%"},emojiButton:{":hover":{transform:"scale(1.2)"},":focus":{transform:"scale(1.2)"},":active":{transform:"scale(1.1)"},transition:"transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.5)"}});function Q9(t){var e=Pr(),n=M.useState(0),r=n[0],i=n[1];return M.useEffect(function(){var a=t.current;if(!a)return;a.addEventListener("scroll",s,{passive:!0});function s(){var o;i((o=a==null?void 0:a.scrollTop)!=null?o:0),e()}return function(){a==null||a.removeEventListener("scroll",s)}},[t,e]),r}function G9(t){var e=t.scrollTop,n=t.clientHeight,r=t.topOffset,i=t.style,a=t.dimensions;if(!i||!a)return!1;var s=r+i.top,o=s+a.emojiSize,f=o+a.emojiSize*2>=e&&s<=e+n+a.emojiSize;return!f}function W9(t,e){return t?{top:Math.floor(e/t.emojisPerRow)*t.emojiSize,left:e%t.emojisPerRow*t.emojiSize}:void 0}var $9=40;function Z9(t){var e=L2(),n=Ar(),r=n[0],i=Si(),a=M.useRef(),s=Td(),o=s[0],f=e2(),c=f[0],d=M.useState(),u=d[0],p=d[1],h=M.useCallback(function(){var m=e.current;if(m){var g=m.querySelector(Da),b=g==null?void 0:g.clientHeight;b&&(a.current=b);var x=c||b||a.current||$9,w=m.clientWidth;if(!(w===0||x===0)){var j=Math.max(1,Math.floor(w/x)),v=Math.ceil(t/j),L=v*x;p({categoryHeight:L,emojisPerRow:j,emojiSize:x})}}},[e,t,c]);return M.useEffect(function(){h()},[t,r,h,o.length]),M.useEffect(function(){var m=i.current;if(m){var g=function(x){var w=x,j=w.propertyName;(j==="width"||j==="max-width"||j==="min-width"||j==="height"||j==="max-height"||j==="min-height")&&(typeof queueMicrotask=="function"?queueMicrotask(function(){return h()}):requestAnimationFrame(function(){return h()}))};return m.addEventListener("transitionend",g,{passive:!0}),function(){m.removeEventListener("transitionend",g)}}},[i,h]),u}function q9(){var t=Xg(),e=t[0],n=l9();return function(r){var i=_e(r),a=e.has(i),s=n(i);return{failedToLoad:a,filteredOut:s,hidden:a||s}}}function K9(t){var e=t.categoryEmojis,n=t.topOffset,r=t.onHeightReady,i=t.scrollTop,a=t.isCategoryVisible,s=q9(),o=x2(),f=zr(),c=ul(),d=c[0],u=Hk(),p=Or(),h=!g2(),m=wt(),g=0,b=e.filter(function(v){var L=u(v),C=s(v),k=C.failedToLoad,S=C.filteredOut,T=C.hidden;return!k&&!S&&!T&&!L}),x=Z9(b.length);M.useEffect(function(){x&&r(x.categoryHeight)},[x,r,b.length]);var w=function(L){var C,k;return x&&m.current&&G9({scrollTop:i,clientHeight:(C=(k=m.current)==null?void 0:k.clientHeight)!=null?C:0,topOffset:n,style:L,dimensions:x})},j=b.reduce(function(v,L,C){var k=_e(L,d),S=W9(x,C);if(w(S)){var T,E;return g++,y9(L,f,i,(T=(E=m.current)==null?void 0:E.clientHeight)!=null?T:0,n,S,x,p),v}return a?(v.push(M.createElement(wl,{showVariations:h,key:k,emoji:L,unified:k,emojiStyle:f,lazyLoad:o,getEmojiUrl:p,style:ve({},S,{position:"absolute"})})),v):(g++,v)},[]);return{virtualizedCounter:g,emojis:j,dimensions:x}}function X9(t){var e=t.categoryConfig,n=t.children,r=t.hidden,i=t.hiddenOnSearch,a=t.height,s=hl(e),o=i2(e);return M.createElement("li",{className:oe(uf.category,r&&kd.hidden,i&&Er.hiddenOnSearch),"data-name":s,"aria-label":o},M.createElement("h2",{className:oe(uf.label)},o),M.createElement("div",{className:oe(uf.categoryContent),style:{height:a}},n))}var uf=Ce.create({category:{".":le.category,minHeight:"calc(var(--epr-emoji-fullsize) + var(--epr-category-label-height))",position:"relative"},categoryContent:{".":le.categoryContent,display:"grid",gridGap:"0",gridTemplateColumns:"repeat(auto-fill, var(--epr-emoji-fullsize))",justifyContent:"space-between",margin:"var(--epr-category-padding)",position:"relative"},label:{".":le.label,alignItems:"center",backdropFilter:"blur(3px)",backgroundColor:"var(--epr-category-label-bg-color)",color:"var(--epr-category-label-text-color)",display:"flex",fontSize:"16px",fontWeight:"bold",height:"var(--epr-category-label-height)",margin:"0",padding:"var(--epr-category-label-padding)",position:"sticky",textTransform:"capitalize",top:"0",width:"100%",zIndex:"var(--epr-category-label-z-index)"}});function eI(){var t=Ed(),e=o2(),n=zr(),r=Or(),i=x2(),a=ul(),s=a[0],o=e2(),f=o[0],c=o[1],d=M.useRef(null);if(M.useLayoutEffect(function(){d.current&&c(d.current.clientHeight)}),f)return null;var u=t[0],p=e(hl(u))[0],h=p?_e(p,s):"";return p?M.createElement("div",{ref:d},M.createElement(wl,{emoji:p,unified:h,emojiStyle:n,getEmojiUrl:r,lazyLoad:i,showVariations:!1,hidden:!1,style:{opacity:0,pointerEvents:"none",position:"absolute",top:0,left:0,zIndex:-1,height:"var(--epr-emoji-fullsize)",width:"var(--epr-emoji-fullsize)"}})):null}function tI(t){var e=t.scrollTop,n=Ed(),r=M.useState({}),i=r[0],a=r[1],s=L2(),o=o2(),f=B2(s.current),c=0;return M.createElement("ul",{className:oe(rI.emojiList),ref:s},M.createElement(eI,null),n.map(function(d){var u=hl(d),p=c,h=i[u];return h&&(c+=h+f),M.createElement(M.Suspense,{key:u},M.createElement(nI,{categoryEmojis:o(u),categoryConfig:d,topOffset:p,onHeightReady:function(g){i[u]!==g&&a(function(b){var x;return ve({},b,(x={},x[u]=g,x))})},scrollTop:e}))}))}function nI(t){var e=t.categoryEmojis,n=t.categoryConfig,r=t.topOffset,i=t.onHeightReady,a=t.scrollTop,s=Td(),o=s[0],f=K9({categoryEmojis:e,topOffset:r,onHeightReady:i,scrollTop:a,isCategoryVisible:o.includes(n.category)}),c=f.virtualizedCounter,d=f.emojis,u=f.dimensions;return M.createElement(X9,{categoryConfig:n,height:u==null?void 0:u.categoryHeight,hidden:!d.length&&c===0},d)}var rI=Ce.create({emojiList:{".":le.emojiList,listStyle:"none",margin:"0",padding:"0"}}),iI="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI1MHB4IgoJIGhlaWdodD0iMTVweCIgdmlld0JveD0iMCAwIDUwIDE1IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MCAxNSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSJMYXllcl8xIj4KPC9nPgo8ZyBpZD0iTGF5ZXJfMiI+Cgk8cGF0aCBmaWxsPSIjRkZGRkZGIiBzdHJva2U9IiNFOEU3RTciIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEuODYtMC40M2w5LjgzLDExLjUzYzAuNTksMC42OSwxLjU2LDAuNjksMi4xNCwwbDkuODMtMTEuNTMiLz4KCTxwYXRoIGZpbGw9IiMwMTAyMDIiIHN0cm9rZT0iIzE1MTYxNyIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMjYuODYtMC40M2w5LjgzLDExLjUzYzAuNTksMC42OSwxLjU2LDAuNjksMi4xNCwwbDkuODMtMTEuNTMiLz4KPC9nPgo8L3N2Zz4=",si;(function(t){t[t.Up=0]="Up",t[t.Down=1]="Down"})(si||(si={}));function aI(){var t=gl(),e=JS(),n=Ni(),r=n[0],i=zr(),a=oI(e),s=a.getTop,o=a.getMenuDirection,f=N2(),c=sI(e),d=Or(),u=_t(t.current),p=!!(r&&u&&ki(r)&&u.classList.contains(le.emojiHasVariations));M.useEffect(function(){p&&xl(e.current)},[e,p,t]);var h,m;return!p&&t.current?f(null):(h=s(),m=c()),M.createElement("div",{ref:e,className:oe(Is.variationPicker,o()===si.Down&&Is.pointingUp,p&&Is.visible),style:{top:h}},p&&r?[_e(r)].concat(Wa(r)).slice(0,6).map(function(g){return M.createElement(wl,{key:g,emoji:r,unified:g,emojiStyle:i,showVariations:!1,getEmojiUrl:d})}):null,M.createElement("div",{className:oe(Is.pointer),style:m}))}function sI(t){var e=gl();return function(){var r={};if(!t.current)return r;if(e.current){var i=_t(e.current),a=D9(i);if(!i)return r;r.left=a+(i==null?void 0:i.clientWidth)/2}return r}}function oI(t){var e=gl(),n=wt(),r=si.Up;return{getMenuDirection:i,getTop:a};function i(){return r}function a(){r=si.Up;var s=0;if(!t.current)return 0;var o=Mh(t.current);if(e.current){var f,c=n.current,d=_t(e.current),u=Mh(d);s=H2(d);var p=(f=c==null?void 0:c.scrollTop)!=null?f:0;p>s-o&&(r=si.Down,s+=u+o)}return s-o}}var Is=Ce.create(ve({variationPicker:{".":le.variationPicker,position:"absolute",right:"15px",left:"15px",padding:"5px",boxShadow:"0px 2px 5px rgba(0, 0, 0, 0.2)",borderRadius:"3px",display:"flex",alignItems:"center",justifyContent:"space-around",opacity:"0",visibility:"hidden",pointerEvents:"none",top:"-100%",border:"1px solid var(--epr-picker-border-color)",height:"var(--epr-emoji-variation-picker-height)",zIndex:"var(--epr-skin-variation-picker-z-index)",background:"var(--epr-emoji-variation-picker-bg-color)",transform:"scale(0.9)",transition:"transform 0.1s ease-out, opacity 0.2s ease-out"},visible:{opacity:"1",visibility:"visible",pointerEvents:"all",transform:"scale(1)"},pointingUp:{".":"pointing-up",transformOrigin:"center 0%",transform:"scale(0.9)"},".pointing-up":{pointer:{top:"0",transform:"rotate(180deg) translateY(100%) translateX(18px)"}},pointer:{".":"epr-emoji-pointer",content:"",position:"absolute",width:"25px",height:"15px",backgroundRepeat:"no-repeat",backgroundPosition:"0 0",backgroundSize:"50px 15px",top:"100%",transform:"translateX(-18px)",backgroundImage:"url("+iI+")"}},Gn("pointer",{backgroundPosition:"-25px 0"})));function lI(){var t=wt(),e=Q9(t);return q2(t,Ia.PICKER),t9(),M.createElement("div",{className:oe(fI.body,Er.hiddenOnReactions),ref:t},M.createElement(aI,null),M.createElement(tI,{scrollTop:e}))}var fI=Ce.create({body:{".":le.scrollBody,flex:"1",overflowY:"scroll",overflowX:"hidden",position:"relative"}});function cI(t,e){if(!t||!e)return 0;var n=t.getBoundingClientRect(),r=e.getBoundingClientRect();return r.height-(n.y-r.y)}function dI(t,e){var n=wt(),r=T2(),i=I2();M.useEffect(function(){if(!t)return;var a=n.current;a==null||a.addEventListener("keydown",f,{passive:!0}),a==null||a.addEventListener("mouseover",c,!0),a==null||a.addEventListener("focus",s,!0),a==null||a.addEventListener("mouseout",o,{passive:!0}),a==null||a.addEventListener("blur",o,!0);function s(d){var u=_t(d.target);if(!u)return o();var p=V2(u),h=p.unified,m=p.originalUnified;if(!h||!m)return o();e({unified:h,originalUnified:m})}function o(d){if(d){var u=d.relatedTarget;if(!_t(u))return e(null)}e(null)}function f(d){d.key==="Escape"&&e(null)}function c(d){if(!r()){var u=_t(d.target);if(u){var p=cI(u,a),h=u.getBoundingClientRect().height;if(p<h)return uI(u,e);yt(u)}}}return function(){a==null||a.removeEventListener("mouseover",c),a==null||a.removeEventListener("mouseout",o),a==null||a.removeEventListener("focus",s,!0),a==null||a.removeEventListener("blur",o,!0),a==null||a.removeEventListener("keydown",f)}},[n,t,e,r,i])}function uI(t,e){var n,r=V2(t),i=r.unified,a=r.originalUnified;!i||!a||((n=document.activeElement)==null||n.blur==null||n.blur(),e({unified:i,originalUnified:a}))}var Ts,Ea;(function(t){t.ROW="FlexRow",t.COLUMN="FlexColumn"})(Ea||(Ea={}));function K2(t){var e=t.children,n=t.className,r=t.style,i=r===void 0?{}:r,a=t.direction,s=a===void 0?Ea.ROW:a;return M.createElement("div",{style:ve({},i),className:oe(Sh.flex,n,Sh[s])},e)}var Sh=Ce.create((Ts={flex:{display:"flex"}},Ts[Ea.ROW]={flexDirection:"row"},Ts[Ea.COLUMN]={flexDirection:"column"},Ts));function hI(t){var e=t.className,n=t.style,r=n===void 0?{}:n;return M.createElement("div",{style:ve({flex:1},r),className:oe(e)})}function pI(t){var e=t.children,n=t.className,r=t.style;return M.createElement("div",{style:ve({},r,{position:"absolute"}),className:n},e)}function Ml(t){var e=t.children,n=t.className,r=t.style;return M.createElement("div",{style:ve({},r,{position:"relative"}),className:n},e)}function mI(t){var e=t.isOpen,n=t.onClick,r=t.isActive,i=t.skinToneVariation,a=t.style;return M.createElement($a,{style:a,onClick:n,className:oe("epr-tone-"+i,hf.tone,!e&&hf.closedTone,r&&hf.active),"aria-pressed":r,"aria-label":"Skin tone "+oS[i]})}var hf=Ce.create({closedTone:{opacity:"0",zIndex:"0"},active:{".":"epr-active",zIndex:"1",opacity:"1"},tone:{".":"epr-tone",width:"var(--epr-skin-tone-size)",display:"block",cursor:"pointer",borderRadius:"4px",height:"var(--epr-skin-tone-size)",position:"absolute",right:"0",transition:"transform 0.3s ease-in-out, opacity 0.35s ease-in-out",zIndex:"0",border:"1px solid var(--epr-skin-tone-outer-border-color)",boxShadow:"inset 0px 0px 0 1px var(--epr-skin-tone-inner-border-color)",":hover":{boxShadow:"0 0 0 3px var(--epr-active-skin-hover-color), inset 0px 0px 0 1px var(--epr-skin-tone-inner-border-color)"},":focus":{boxShadow:"0 0 0 3px var(--epr-focus-bg-color)"},"&.epr-tone-neutral":{backgroundColor:"#ffd225"},"&.epr-tone-1f3fb":{backgroundColor:"#ffdfbd"},"&.epr-tone-1f3fc":{backgroundColor:"#e9c197"},"&.epr-tone-1f3fd":{backgroundColor:"#c88e62"},"&.epr-tone-1f3fe":{backgroundColor:"#a86637"},"&.epr-tone-1f3ff":{backgroundColor:"#60463a"}}}),Gi=28;function gI(){return M.createElement(Ml,{style:{height:Gi}},M.createElement(pI,{style:{bottom:0,right:0}},M.createElement(X2,{direction:Aa.VERTICAL})))}function X2(t){var e=t.direction,n=e===void 0?Aa.HORIZONTAL:e,r=Ad(),i=g2(),a=Qa(),s=a[0],o=a[1],f=ul(),c=f[0],d=f[1],u=DS(),p=Pr(),h=Rr();if(i)return null;var m=Gi*Fo.length+"px",g=s?m:Gi+"px",b=n===Aa.VERTICAL;return M.createElement(Ml,{className:oe(_i.skinTones,b&&_i.vertical,s&&_i.open,b&&s&&_i.verticalShadow),style:b?{flexBasis:g,height:g}:{flexBasis:g}},M.createElement("div",{className:oe(_i.select),ref:r},Fo.map(function(x,w){var j=x===c;return M.createElement(mI,{key:x,skinToneVariation:x,isOpen:s,style:{transform:oe(b?"translateY(-"+w*(s?Gi:0)+"px)":"translateX(-"+w*(s?Gi:0)+"px)",s&&j&&"scale(1.3)")},isActive:j,onClick:function(){s?(d(x),u(x),h()):o(!0),p()}})})))}var Aa;(function(t){t.VERTICAL="epr-vertical",t.HORIZONTAL="epr-horizontal"})(Aa||(Aa={}));var _i=Ce.create({skinTones:{".":"epr-skin-tones","--":{"--epr-skin-tone-size":"15px"},display:"flex",alignItems:"center",justifyContent:"flex-end",transition:"all 0.3s ease-in-out",padding:"10px 0"},vertical:{padding:"9px",alignItems:"flex-end",flexDirection:"column",borderRadius:"6px",border:"1px solid var(--epr-bg-color)"},verticalShadow:{boxShadow:"0px 0 7px var(--epr-picker-border-color)"},open:{backdropFilter:"blur(5px)",background:"var(--epr-skin-tone-picker-menu-color)",".epr-active":{border:"1px solid var(--epr-active-skin-tone-indicator-border-color)"}},select:{".":"epr-skin-tone-select",position:"relative",width:"var(--epr-skin-tone-size)",height:"var(--epr-skin-tone-size)"}});function bI(){var t=b2(),e=z2(),n=Ar(),r=n[0];return t.showPreview?M.createElement(K2,{className:oe(fa.preview,Er.hiddenOnReactions,r&&fa.hideOnReactions)},M.createElement(xI,null),M.createElement(hI,null),e?M.createElement(gI,null):null):null}function xI(){var t,e=b2(),n=M.useState(null),r=n[0],i=n[1],a=zr(),s=Ni(),o=s[0],f=Or();dI(e.showPreview,i);var c=ji((t=r==null?void 0:r.unified)!=null?t:r==null?void 0:r.originalUnified),d=c!=null&&r!=null;return M.createElement(u,null);function u(){var p=o??ji(e.defaultEmoji);if(!p)return null;var h=o?lc(o):e.defaultCaption;return M.createElement(M.Fragment,null,M.createElement("div",null,d?M.createElement(dc,{unified:r==null?void 0:r.unified,emoji:c,emojiStyle:a,size:45,getEmojiUrl:f,className:oe(fa.emoji)}):p?M.createElement(dc,{unified:_e(p),emoji:p,emojiStyle:a,size:45,getEmojiUrl:f,className:oe(fa.emoji)}):null),M.createElement("div",{className:oe(fa.label)},d?lc(c):h))}}var fa=Ce.create({preview:{alignItems:"center",borderTop:"1px solid var(--epr-preview-border-color)",height:"var(--epr-preview-height)",padding:"0 var(--epr-horizontal-padding)",position:"relative",zIndex:"var(--epr-preview-z-index)"},label:{color:"var(--epr-preview-text-color)",fontSize:"var(--epr-preview-text-size)",padding:"var(--epr-preview-text-padding)",textTransform:"capitalize"},emoji:{padding:"0"},hideOnReactions:{opacity:"0",transition:"opacity 0.5s ease-in-out"}});function vI(t){var e;return(e=t==null?void 0:t.getAttribute("data-name"))!=null?e:null}function yI(t){var e=t.setActiveCategory,n=t.setVisibleCategories,r=wt();M.useEffect(function(){var i=new Map,a=new Map,s=r.current,o=new IntersectionObserver(function(f){if(s){for(var c=Ok(f),d;!(d=c()).done;){var u=d.value,p=vI(u.target);p&&(i.set(p,u.intersectionRatio),a.set(p,u.isIntersecting))}var h=Array.from(i),m=h.filter(function(L){var C=L[0],k=L[1];return k>0||a.get(C)}).map(function(L){var C=L[0];return C});n(m);var g=h[h.length-1];if((g==null?void 0:g[1])==1)return e(g[0]);for(var b=0,x=h;b<x.length;b++){var w=x[b],j=w[0],v=w[1];if(v){e(j);break}}}},{root:s,threshold:[0,1]});return s==null||s.querySelectorAll(Bt(le.category)).forEach(function(f){o.observe(f)}),function(){o.disconnect()}},[r,e,n])}function wI(){var t=wt(),e=Si();return function(r){var i;if(t.current){var a=(i=t.current)==null?void 0:i.querySelector('[data-name="'+r+'"]');if(a){var s=a.offsetTop||0;k2(e.current,s)}}}}function MI(){var t=SS();return t?t.length===0:!1}var jI="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMDBweCIgaGVpZ2h0PSI4MHB4IiB2aWV3Qm94PSIwIDAgMjAwIDgwIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyMDAgODAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8ZyBpZD0iTGF5ZXJfMTEiPgoJPGc+CgkJPHBhdGggZmlsbD0iIzMz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i?0:-1,className:oe(NI.catBtn,Er.categoryBtn,"epr-icn-"+r,(e={},e[le.active]=n,e)),onClick:s,"aria-label":i2(a),"aria-selected":n,role:"tab","aria-controls":"epr-category-nav-id"})}var Ih={backgroundPositionY:"calc(var(--epr-category-navigation-button-size) * 3)"},LI={backgroundPositionY:"calc(var(--epr-category-navigation-button-size) * 2)"},Th={":not(.epr-search-active)":{catBtn:{":hover":Ih,"&.epr-active":Ih}}},NI=Ce.create(ve({catBtn:{".":"epr-cat-btn",display:"inline-block",transition:"opacity 0.2s ease-in-out",position:"relative",height:"var(--epr-category-navigation-button-size)",width:"var(--epr-category-navigation-button-size)",backgroundSize:"calc(var(--epr-category-navigation-button-size) * 10)",outline:"none",backgroundPosition:"0 0",backgroundImage:"url("+jI+")",":focus:before":{content:"",position:"absolute",top:"-2px",left:"-2px",right:"-2px",bottom:"-2px",border:"2px solid var(--epr-category-icon-active-color)",borderRadius:"50%"},"&.epr-icn-suggested":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -8)"},"&.epr-icn-custom":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -9)"},"&.epr-icn-activities":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -4)"},"&.epr-icn-animals_nature":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -1)"},"&.epr-icn-flags":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -7)"},"&.epr-icn-food_drink":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -2)"},"&.epr-icn-objects":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -5)"},"&.epr-icn-smileys_people":{backgroundPositionX:"0px"},"&.epr-icn-symbols":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -6)"},"&.epr-icn-travel_places":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -3)"}}},Gn("catBtn",LI),{".epr-dark-theme":ve({},Th),".epr-auto-theme":ve({},Th)}));function kI(){var t=M.useState(null),e=t[0],n=t[1],r=Td(),i=r[1],a=wI();yI({setActiveCategory:n,setVisibleCategories:i});var s=ml(),o=Ed(),f=zd(),c=MI();return M.createElement("div",{className:oe(SI.nav),role:"tablist","aria-label":"Category navigation",id:"epr-category-nav-id",ref:f},o.map(function(d){var u=hl(d),p=u===e;if(z9(d)&&c)return null;var h=!s&&!p;return M.createElement(CI,{key:u,category:u,isActiveCategory:p,allowNavigation:h,categoryConfig:d,onClick:function(){a(u),setTimeout(function(){n(u)},10)}})}))}var SI=Ce.create({nav:{".":"epr-category-nav",display:"flex",flexDirection:"row",justifyContent:"space-around",padding:"var(--epr-header-padding)"},".epr-search-active":{nav:{opacity:"0.3",cursor:"default",pointerEvents:"none"}},".epr-main:has(input:not(:placeholder-shown))":{nav:{opacity:"0.3",cursor:"default",pointerEvents:"none"}}}),eb="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjgwcHgiIHZpZXdCb3g9IjAgMCAyMCA4MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjAgODAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cGF0aCBmaWxsPSIjODY4Njg2IiBkPSJNNi45OCwxMy41OWMwLjEsMC4xLDAuMjQsMC4xNSwwLjM3LDAuMTVzMC4yNy0wLjA1LDAuMzctMC4xNWwyLjQyL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Tl6Ii8+CjxwYXRoIGZpbGw9IiM2QUE5REQiIGQ9Ik0xMC4xNSw3OC40M2M0LjQxLDAsOC0zLjU5LDgtOGMwLTQuNDEtMy41OS04LTgtOGMtNC40MSwwLTgsMy41OS04LDhDMi4xNSw3NC44NCw1Ljc0LDc4LjQzLDEwLjE1LDc4LjQzegoJIE0xMC4xNSw2My40OWMzLjgzLDAsNi45NCwzLjExLDYuOTQsNi45NGMwLDMuODMtMy4xMSw2Ljk0LTYuOTQsNi45NGMtMy44MywwLTYuOTQtMy4xMS02Ljk0LTYuOTQKCUMzLjIxLDY2LjYsNi4zMyw2My40OSwxMC4xNSw2My40OUwxMC4xNSw2My40OXoiLz4KPC9zdmc+";function II(){var t=E2(),e=LS();return M.createElement($a,{className:oe(Dh.btnClearSearch,Er.visibleOnSearchOnly),onClick:t,"aria-label":e,title:e},M.createElement("div",{className:oe(Dh.icnClearnSearch)}))}var TI={":hover":{"> .epr-icn-clear-search":{backgroundPositionY:"-60px"}}},Dh=Ce.create(ve({btnClearSearch:{".":"epr-btn-clear-search",position:"absolute",right:"var(--epr-search-bar-inner-padding)",height:"30px",width:"30px",display:"flex",alignItems:"center",justifyContent:"center",top:"50%",transform:"translateY(-50%)",padding:"0",borderRadius:"50%",":hover":{background:"var(--epr-hover-bg-color)"},":focus":{background:"var(--epr-hover-bg-color)"}},icnClearnSearch:{".":"epr-icn-clear-search",backgroundColor:"transparent",backgroundRepeat:"no-repeat",backgroundSize:"20px",height:"20px",width:"20px",backgroundImage:"url("+eb+")",":hover":{backgroundPositionY:"-20px"},":focus":{backgroundPositionY:"-20px"}}},Gn("icnClearnSearch",{backgroundPositionY:"-40px"}),Gn("btnClearSearch",TI))),DI="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1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4LDAtMy43Ni0xLjY4LTMuNzYtMy43NgoJYzAtMi4wOCwxLjY4LTMuNzYsMy43Ni0zLjc2QzEwLjMyLDI1LjA1LDEyLDI2LjczLDEyLDI4LjgxeiBNMTEuMjMsMzIuNzJjLTAuODMsMC42NC0xLjg3LDEuMDEtMi45OSwxLjAxCgljLTIuNzIsMC00LjkyLTIuMi00LjkyLTQuOTJjMC0yLjcyLDIuMi00LjkyLDQuOTItNC45MmMyLjcyLDAsNC45MiwyLjIsNC45Miw0LjkyYzAsMS4xMy0wLjM4LDIuMTYtMS4wMSwyLjk5bDMuOTQsMy45MwoJYzAuMjUsMC4yNSwwLjI1LDAuNjYsMCwwLjkyYy0wLjI1LDAuMjUtMC42NiwwLjI1LTAuOTIsMEwxMS4yMywzMi43MnoiLz4KPC9zdmc+";function EI(){return M.createElement("div",{className:oe(AI.icnSearch)})}var AI=Ce.create(ve({icnSearch:{".":"epr-icn-search",content:"",position:"absolute",top:"50%",left:"var(--epr-search-bar-inner-padding)",transform:"translateY(-50%)",width:"20px",height:"20px",backgroundRepeat:"no-repeat",backgroundPosition:"0 0",backgroundSize:"20px",backgroundImage:"url("+DI+")"}},Gn("icnSearch",{backgroundPositionY:"-20px"})));function zI(){var t=v2(),e=Pd();return t?null:M.createElement(K2,{className:oe(Fs.overlay)},M.createElement(OI,null),e?M.createElement(X2,null):null)}function OI(){var t=Pr(),e=Xn(),n=CS(),r=kS(),i=a9(),a=i.statusSearchResults,s=i.searchTerm,o=i.onChange,f=e==null?void 0:e.current,c=f==null?void 0:f.value;return M.createElement(Ml,{className:oe(Fs.searchContainer)},M.createElement("input",{autoFocus:r,"aria-label":"Type to search for an emoji",onFocus:t,className:oe(Fs.search),type:"text","aria-controls":"epr-search-id",placeholder:n,onChange:function(u){var p,h;o((p=u==null||(h=u.target)==null?void 0:h.value)!=null?p:c)},ref:e}),s?M.createElement("div",{role:"status",className:oe("epr-status-search-results",Fs.visuallyHidden),"aria-live":"polite",id:"epr-search-id","aria-atomic":"true"},a):null,M.createElement(EI,null),M.createElement(II,null))}var Fs=Ce.create(ve({overlay:{padding:"var(--epr-header-padding)",zIndex:"var(--epr-header-overlay-z-index)"},searchContainer:{".":"epr-search-container",flex:"1",display:"block",minWidth:"0"},visuallyHidden:{clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"},search:{outline:"none",transition:"all 0.2s ease-in-out",color:"var(--epr-search-input-text-color)",borderRadius:"var(--epr-search-input-border-radius)",padding:"var(--epr-search-input-padding)",height:"var(--epr-search-input-height)",backgroundColor:"var(--epr-search-input-bg-color)",border:"1px solid var(--epr-search-border-color)",width:"100%",":focus":{backgroundColor:"var(--epr-search-input-bg-color-active)",border:"1px solid var(--epr-search-border-color-active)"},"::placeholder":{color:"var(--epr-search-input-placeholder-color)"}},btnClearSearch:{".":"epr-btn-clear-search",position:"absolute",right:"var(--epr-search-bar-inner-padding)",height:"30px",width:"30px",display:"flex",alignItems:"center",justifyContent:"center",top:"50%",transform:"translateY(-50%)",padding:"0",borderRadius:"50%",":hover":{background:"var(--epr-hover-bg-color)"},":focus":{background:"var(--epr-hover-bg-color)"}},icnClearnSearch:{".":"epr-icn-clear-search",backgroundColor:"transparent",backgroundRepeat:"no-repeat",backgroundSize:"20px",height:"20px",width:"20px",backgroundImage:"url("+eb+")",":hover":{backgroundPositionY:"-20px"},":focus":{backgroundPositionY:"-20px"}}},Gn("icnClearnSearch",{backgroundPositionY:"-40px"}),Gn("btnClearSearch",{":hover > .epr-icn-clear-search":{backgroundPositionY:"-60px"}})));function PI(){return M.createElement(Ml,{className:oe("epr-header",Er.hiddenOnReactions)},M.createElement(zI,null),M.createElement(kI,null))}function RI(t){return M.createElement(US,null,M.createElement(Pk,null),M.createElement(wS,Object.assign({},t),M.createElement(BI,null)))}function BI(){var t=Ar(),e=t[0],n=m2(),r=M.useState(!e),i=r[0],a=r[1],s=IS();return M.useEffect(function(){e&&!n||i||a(!0)},[i,n,e]),s?M.createElement(C9,null,M.createElement(Y9,null),M.createElement(HI,{renderAll:i})):null}function HI(t){var e=t.renderAll;return e?M.createElement(M.Fragment,null,M.createElement(PI,null),M.createElement(lI,null),M.createElement(bI,null)):null}var FI=M.memo(RI,Zg),UI=(function(t){Ak(e,t);function e(r){var i;return i=t.call(this,r)||this,i.state={hasError:!1},i}e.getDerivedStateFromError=function(){return{hasError:!0}};var n=e.prototype;return n.componentDidCatch=function(i,a){console.error("Emoji Picker React failed to render:",i,a)},n.render=function(){return this.state.hasError?null:this.props.children},e})(M.Component);function uc(t){var e=jS({onEmojiClick:t.onEmojiClick,onReactionClick:t.onReactionClick,onSkinToneChange:t.onSkinToneChange});return M.createElement(UI,null,M.createElement(h2.Provider,{value:e},M.createElement(FI,Object.assign({},t))))}const _I=({role:t})=>{const e={internal:{label:"Equipe iClips",className:"bg-[#7F26BF]/10 text-[#7F26BF] hover:bg-[#7F26BF]/20 border-[#7F26BF]/20"},client:{label:"Cliente",className:"bg-blue-500/10 text-blue-600 hover:bg-blue-500/20 border-blue-500/20"},freelancer:{label:"Freelancer",className:"bg-orange-500/10 text-orange-600 hover:bg-orange-500/20 border-orange-500/20"}},{label:n,className:r}=e[t];return l.jsx(be,{variant:"outline",className:y("text-[10px] h-5 px-1.5 font-medium border-0",r),children:n})},JI=({editor:t,visible:e})=>!t||!e?null:l.jsxs("div",{className:"flex items-center gap-1 border-b p-1 bg-muted/20 animate-in slide-in-from-bottom-2 duration-200",children:[l.jsx(B,{variant:"ghost",size:"icon",className:y("h-7 w-7",t.isActive("bold")&&"bg-muted text-primary"),onClick:()=>t.chain().focus().toggleBold().run(),title:"Negrito (Ctrl+B)",children:l.jsx(N.Bold,{className:"h-3.5 w-3.5"})}),l.jsx(B,{variant:"ghost",size:"icon",className:y("h-7 w-7",t.isActive("italic")&&"bg-muted text-primary"),onClick:()=>t.chain().focus().toggleItalic().run(),title:"Itálico (Ctrl+I)",children:l.jsx(N.Italic,{className:"h-3.5 w-3.5"})}),l.jsx(B,{variant:"ghost",size:"icon",className:y("h-7 w-7",t.isActive("underline")&&"bg-muted text-primary"),onClick:()=>t.chain().focus().toggleUnderline().run(),title:"Sublinhado (Ctrl+U)",children:l.jsx(N.Underline,{className:"h-3.5 w-3.5"})}),l.jsx(An,{orientation:"vertical",className:"h-4 mx-1"}),l.jsx(B,{variant:"ghost",size:"icon",className:y("h-7 w-7",t.isActive("bulletList")&&"bg-muted text-primary"),onClick:()=>t.chain().focus().toggleBulletList().run(),children:l.jsx(N.List,{className:"h-3.5 w-3.5"})}),l.jsx(B,{variant:"ghost",size:"icon",className:y("h-7 w-7",t.isActive("orderedList")&&"bg-muted text-primary"),onClick:()=>t.chain().focus().toggleOrderedList().run(),children:l.jsx(N.ListOrdered,{className:"h-3.5 w-3.5"})}),l.jsx(An,{orientation:"vertical",className:"h-4 mx-1"}),l.jsx(B,{variant:"ghost",size:"icon",className:y("h-7 w-7",t.isActive("link")&&"bg-muted text-primary"),onClick:()=>{const n=t.getAttributes("link").href,r=window.prompt("URL",n);if(r!==null){if(r===""){t.chain().focus().extendMarkRange("link").unsetLink().run();return}t.chain().focus().extendMarkRange("link").setLink({href:r}).run()}},children:l.jsx(N.Link,{className:"h-3.5 w-3.5"})})]}),VI=({currentUser:t,onSubmit:e,users:n=[]})=>{const[r,i]=I.useState(!1),[a,s]=I.useState(!1),[o,f]=I.useState([]),[c,d]=I.useState(!0),u=I.useRef(null),p=I.useMemo(()=>[mg.configure({link:!1,underline:!1}),dL,G6.configure({openOnClick:!1}),gg,JL.configure({HTMLAttributes:{class:"bg-purple-100 text-purple-800 rounded-sm px-1 py-0.5 font-medium dark:bg-purple-900/30 dark:text-purple-300 decoration-clone"},suggestion:{items:({query:x})=>n.filter(w=>w.name.toLowerCase().startsWith(x.toLowerCase())).slice(0,5),render:()=>{let x,w;return{onStart:j=>{x=new e6(Cd,{props:j,editor:j.editor}),j.clientRect&&(w=Ya("body",{getReferenceClientRect:j.clientRect,appendTo:()=>document.body,content:x.element,showOnCreate:!0,interactive:!0,trigger:"manual",placement:"bottom-start"}))},onUpdate(j){x.updateProps(j),j.clientRect&&w[0].setProps({getReferenceClientRect:j.clientRect})},onKeyDown(j){var v;return j.event.key==="Escape"?(w[0].hide(),!0):(v=x.ref)==null?void 0:v.onKeyDown(j)},onExit(){w[0].destroy(),x.destroy()}}}}})],[n]),h=_m({extensions:p,content:"",onUpdate:({editor:x})=>{d(x.isEmpty)},editorProps:{attributes:{class:"prose prose-sm dark:prose-invert max-w-none focus:outline-none min-h-[80px] px-3 py-2 text-sm"}}}),m=x=>{if(x.target.files&&x.target.files[0]){const w=x.target.files[0],j=URL.createObjectURL(w),v={id:Math.random().toString(36).substr(2,9),name:w.name,url:j,type:w.type.startsWith("image/")?"image":"file"};f([...o,v]),x.target.value=""}},g=x=>{f(o.filter(w=>w.id!==x))},b=()=>{!h||h.isEmpty&&o.length===0||(e({content:h.getHTML(),isRevisionRequest:r,attachments:o}),h.commands.clearContent(),f([]),i(!1),d(!0))};return l.jsxs("div",{className:"flex gap-3 items-start",children:[l.jsxs(Jt,{className:"h-8 w-8 mt-1 border",children:[l.jsx(Vn,{src:t.avatar}),l.jsx(Vt,{children:t.name.substring(0,2).toUpperCase()})]}),l.jsxs("div",{className:y("flex-1 rounded-xl border bg-background shadow-sm overflow-hidden transition-colors",r&&"border-red-200 ring-1 ring-red-100 dark:border-red-900/50 dark:ring-red-900/20"),children:[l.jsx(JI,{editor:h,visible:a}),l.jsx(Fm,{editor:h}),o.length>0&&l.jsx("div",{className:"px-3 pb-2 flex flex-wrap gap-2",children:o.map(x=>l.jsxs("div",{className:"relative group",children:[x.type==="image"?l.jsx("div",{className:"h-16 w-16 rounded-md border overflow-hidden relative",children:l.jsx("img",{src:x.url,alt:x.name,className:"h-full w-full object-cover"})}):l.jsx("div",{className:"h-16 w-16 rounded-md border bg-muted flex items-center justify-center",children:l.jsx(N.Paperclip,{className:"h-6 w-6 text-muted-foreground"})}),l.jsx("button",{onClick:()=>g(x.id),className:"absolute -top-1.5 -right-1.5 bg-destructive text-white rounded-full p-0.5 opacity-0 group-hover:opacity-100 transition-opacity shadow-sm",children:l.jsx(N.X,{className:"h-3 w-3"})})]},x.id))}),l.jsxs("div",{className:"flex items-center justify-between p-2 bg-muted/10 border-t",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsxs(ei,{children:[l.jsx(ti,{asChild:!0,children:l.jsx(B,{variant:"ghost",size:"icon",className:y("h-8 w-8 transition-colors",a?"bg-muted text-foreground":"text-muted-foreground hover:text-foreground"),onClick:()=>s(!a),children:l.jsx(N.Type,{className:"h-4 w-4"})})}),l.jsx(ni,{children:"Opções de formatação"})]}),l.jsx("div",{className:"w-px h-4 bg-border mx-1"}),l.jsxs(tt,{children:[l.jsx(We,{asChild:!0,children:l.jsx(B,{variant:"ghost",size:"icon",className:"h-8 w-8 text-muted-foreground hover:text-foreground",children:l.jsx(N.Smile,{className:"h-4 w-4"})})}),l.jsx($e,{className:"w-auto p-0 border-none",align:"start",side:"top",children:l.jsx(uc,{onEmojiClick:x=>h==null?void 0:h.chain().focus().insertContent(x.emoji).run(),width:300,height:350})})]}),l.jsx("input",{type:"file",className:"hidden",ref:u,onChange:m,accept:"image/*,.pdf,.doc,.docx"}),l.jsxs(ei,{children:[l.jsx(ti,{asChild:!0,children:l.jsx(B,{variant:"ghost",size:"icon",className:"h-8 w-8 text-muted-foreground hover:text-foreground",onClick:()=>{var x;return(x=u.current)==null?void 0:x.click()},children:l.jsx(N.Paperclip,{className:"h-4 w-4"})})}),l.jsx(ni,{children:"Anexar arquivo"})]}),l.jsxs(ei,{children:[l.jsx(ti,{asChild:!0,children:l.jsxs(B,{variant:"ghost",size:"sm",className:y("h-8 gap-2 px-2 transition-colors",r?"bg-red-100 text-red-700 hover:bg-red-200 hover:text-red-800 dark:bg-red-900/30 dark:text-red-400":"text-muted-foreground hover:text-foreground"),onClick:()=>i(!r),children:[l.jsx(N.AlertCircle,{className:"h-4 w-4"}),l.jsx("span",{className:"text-xs font-medium",children:"Solicitar Refação"})]})}),l.jsx(ni,{children:"Marca este comentário como um pedido de alteração"})]})]}),l.jsxs(B,{size:"sm",onClick:b,className:"bg-[#7F26BF] hover:bg-[#6a1f9f]",disabled:c&&o.length===0,children:["Enviar ",l.jsx(N.Send,{className:"h-3.5 w-3.5 ml-2"})]})]})]})]})},YI=({comment:t,currentUserId:e,onDelete:n,onReact:r})=>{var a;const i=t.isRevisionRequest;return l.jsxs("div",{className:y("group flex gap-3 p-4 rounded-lg transition-colors",i?"bg-red-50/50 dark:bg-red-900/10 border border-red-100 dark:border-red-900/20":"hover:bg-muted/20"),children:[l.jsxs(Jt,{className:"h-8 w-8 mt-0.5 border",children:[l.jsx(Vn,{src:t.user.avatar}),l.jsx(Vt,{children:t.user.name.substring(0,2).toUpperCase()})]}),l.jsxs("div",{className:"flex-1 min-w-0",children:[l.jsxs("div",{className:"flex items-center justify-between mb-1.5",children:[l.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[l.jsx("span",{className:"font-semibold text-sm text-foreground",children:t.user.name}),l.jsx(_I,{role:t.user.role}),l.jsx("span",{className:"text-xs text-muted-foreground",children:R.format(t.createdAt,"dd MMM 'às' HH:mm",{locale:gt})})]}),l.jsxs("div",{className:"flex items-center gap-2 opacity-0 group-hover:opacity-100 transition-opacity",children:[l.jsxs(tt,{children:[l.jsx(We,{asChild:!0,children:l.jsx(B,{variant:"ghost",size:"icon",className:"h-6 w-6 text-muted-foreground hover:text-foreground",children:l.jsx(N.Smile,{className:"h-3.5 w-3.5"})})}),l.jsx($e,{className:"w-auto p-0 border-none",align:"end",children:l.jsx(uc,{onEmojiClick:s=>r==null?void 0:r(t.id,s.emoji),width:300,height:350})})]}),n&&l.jsx(B,{variant:"ghost",size:"icon",className:"h-6 w-6 text-muted-foreground hover:text-destructive",onClick:()=>n(t.id),children:l.jsx(N.Trash2,{className:"h-3.5 w-3.5"})})]})]}),i&&l.jsxs("div",{className:"inline-flex items-center gap-1.5 px-2 py-1 rounded-md bg-red-100 dark:bg-red-900/40 text-red-700 dark:text-red-300 text-xs font-medium mb-2",children:[l.jsx(N.AlertCircle,{className:"h-3.5 w-3.5"}),"Solicitação de Refação"]}),l.jsx("div",{className:"prose prose-sm dark:prose-invert max-w-none text-sm text-foreground/90 leading-relaxed break-words [&_p]:mb-2 [&_p:last-child]:mb-0",dangerouslySetInnerHTML:{__html:t.content}}),t.attachments&&t.attachments.length>0&&l.jsx("div",{className:"mt-3 flex flex-wrap gap-2",children:t.attachments.map(s=>l.jsx("div",{className:"group/att relative rounded-lg border overflow-hidden bg-background hover:shadow-sm transition-all cursor-pointer",onClick:()=>window.open(s.url,"_blank"),children:s.type==="image"?l.jsxs("div",{className:"h-32 aspect-[4/3]",children:[l.jsx("img",{src:s.url,alt:s.name,className:"h-full w-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-black/0 group-hover/att:bg-black/10 transition-colors"})]}):l.jsxs("div",{className:"h-12 px-3 flex items-center gap-2 bg-muted/30",children:[l.jsx(N.Paperclip,{className:"h-4 w-4 text-muted-foreground"}),l.jsx("span",{className:"text-xs font-medium truncate max-w-[150px]",children:s.name})]})},s.id))}),l.jsxs("div",{className:"mt-3 flex flex-wrap gap-2 items-center",children:[(a=t.reactions)==null?void 0:a.map(s=>l.jsxs("button",{onClick:()=>r==null?void 0:r(t.id,s.emoji),className:y("inline-flex items-center gap-1.5 px-2 py-0.5 rounded-full text-xs font-medium border transition-colors",s.users.includes(e)?"bg-purple-50 border-purple-200 text-purple-700 dark:bg-purple-900/20 dark:border-purple-800 dark:text-purple-300":"bg-muted/30 border-transparent hover:bg-muted/50 text-muted-foreground"),children:[l.jsx("span",{children:s.emoji}),l.jsx("span",{children:s.users.length})]},s.emoji)),r&&l.jsxs(tt,{children:[l.jsx(We,{asChild:!0,children:l.jsx(B,{variant:"ghost",size:"icon",className:"h-6 w-6 rounded-full text-muted-foreground hover:text-foreground hover:bg-muted/50",children:l.jsx(N.Plus,{className:"h-3.5 w-3.5"})})}),l.jsx($e,{className:"w-auto p-0 border-none",align:"start",children:l.jsx(uc,{onEmojiClick:s=>r(t.id,s.emoji),width:300,height:350})})]})]})]})]})},QI=({comments:t,currentUser:e,users:n=[],onAddComment:r,onDeleteComment:i,onReact:a,className:s})=>{const o=f=>{r({content:f.content,user:e,isRevisionRequest:f.isRevisionRequest,attachments:f.attachments})};return l.jsxs("div",{className:y("flex flex-col h-full",s),children:[l.jsxs("div",{className:"px-4 py-3 border-b flex items-center justify-between bg-card",children:[l.jsx("h3",{className:"font-semibold text-base",children:"Comentários da Atividade"}),l.jsx(be,{variant:"secondary",className:"bg-muted text-muted-foreground hover:bg-muted",children:t.length})]}),l.jsx("div",{className:"flex-1 overflow-y-auto p-4 space-y-2 bg-muted/5",children:t.length===0?l.jsxs("div",{className:"h-full flex flex-col items-center justify-center text-muted-foreground opacity-50 min-h-[200px]",children:[l.jsx("div",{className:"bg-muted rounded-full p-3 mb-3",children:l.jsx(N.MoreHorizontal,{className:"h-6 w-6"})}),l.jsx("p",{className:"text-sm font-medium",children:"Nenhum comentário ainda"}),l.jsx("p",{className:"text-xs",children:"Inicie a conversa sobre esta tarefa"})]}):t.map(f=>l.jsx(YI,{comment:f,currentUserId:e.id,onDelete:i,onReact:a},f.id))}),l.jsx("div",{className:"p-4 border-t bg-card",children:l.jsx(VI,{currentUser:e,onSubmit:o,users:n})})]})};function Zt({...t}){return l.jsx(nt.Root,{"data-slot":"select",...t})}function GI({...t}){return l.jsx(nt.Group,{"data-slot":"select-group",...t})}function qt({...t}){return l.jsx(nt.Value,{"data-slot":"select-value",...t})}function Kt({className:t,size:e="default",children:n,...r}){return l.jsxs(nt.Trigger,{"data-slot":"select-trigger","data-size":e,className:y("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-full items-center justify-between gap-2 rounded-md border bg-input-background px-3 py-2 text-sm whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...r,children:[n,l.jsx(nt.Icon,{asChild:!0,children:l.jsx(N.ChevronDownIcon,{className:"size-4 opacity-50"})})]})}function Xt({className:t,children:e,position:n="popper",...r}){return l.jsx(nt.Portal,{children:l.jsxs(nt.Content,{"data-slot":"select-content",className:y("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:n,...r,children:[l.jsx(ZI,{}),l.jsx(nt.Viewport,{className:y("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:e}),l.jsx(qI,{})]})})}function WI({className:t,...e}){return l.jsx(nt.Label,{"data-slot":"select-label",className:y("text-muted-foreground px-2 py-1.5 text-xs",t),...e})}function kt({className:t,children:e,...n}){return l.jsxs(nt.Item,{"data-slot":"select-item",className:y("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",t),...n,children:[l.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:l.jsx(nt.ItemIndicator,{children:l.jsx(N.CheckIcon,{className:"size-4"})})}),l.jsx(nt.ItemText,{children:e})]})}function $I({className:t,...e}){return l.jsx(nt.Separator,{"data-slot":"select-separator",className:y("bg-border pointer-events-none -mx-1 my-1 h-px",t),...e})}function ZI({className:t,...e}){return l.jsx(nt.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:y("flex cursor-default items-center justify-center py-1",t),...e,children:l.jsx(N.ChevronUpIcon,{className:"size-4"})})}function qI({className:t,...e}){return l.jsx(nt.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:y("flex cursor-default items-center justify-center py-1",t),...e,children:l.jsx(N.ChevronDownIcon,{className:"size-4"})})}const Eh=t=>{const e=[],n=t==="24h"?24:12,r=t==="24h"?0:1;for(let i=r;i<n+r;i++)e.push(i.toString().padStart(2,"0"));return e},Ah=t=>{const e=[];for(let n=0;n<60;n+=t)e.push(n.toString().padStart(2,"0"));return e},KI=t=>{const e=t>=12?"PM":"AM";return{hour:t%12||12,period:e}},XI=(t,e)=>e==="AM"?t===12?0:t:t===12?12:t+12,zh=(t,e,n)=>{if(!e&&!n)return!0;const[r,i]=t.split(":").map(Number),a=r*60+i;if(e){const[s,o]=e.split(":").map(Number);if(a<s*60+o)return!1}if(n){const[s,o]=n.split(":").map(Number);if(a>s*60+o)return!1}return!0};function za({value:t,onChange:e,format:n="24h",minuteStep:r=5,minTime:i,maxTime:a,disabled:s=!1,placeholder:o="HH:MM",className:f,showIcon:c=!0,variant:d="input"}){const[u,p]=I.useMemo(()=>{if(!t)return["",""];const[x,w]=t.split(":");return[x||"",w||""]},[t]),[h,m]=I.useState(()=>u&&parseInt(u)>=12?"PM":"AM"),g=(x,w,j)=>{if(!x||!w)return;let v=parseInt(x);const L=parseInt(w);n==="12h"&&j&&(v=XI(v,j));const C=`${v.toString().padStart(2,"0")}:${L.toString().padStart(2,"0")}`;zh(C,i,a)&&(e==null||e(C))},b=x=>{const j=x.target.value.replace(/[^\d:]/g,"");if(j.length===2&&!j.includes(":")){const v=j+":";e==null||e(v);return}if(j.match(/^\d{2}:\d{2}$/)){const[v,L]=j.split(":").map(Number);v>=0&&v<=23&&L>=0&&L<=59&&zh(j,i,a)&&(e==null||e(j))}else e==null||e(j)};if(d==="input")return l.jsxs("div",{className:y("relative",f),children:[c&&l.jsx(N.Clock,{className:"absolute left-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground pointer-events-none"}),l.jsx(Yt,{type:"text",value:t||"",onChange:b,placeholder:o,disabled:s,className:y(c&&"pl-9"),maxLength:5})]});if(d==="select"){const x=Eh(n),w=Ah(r),j=n==="12h"&&u?KI(parseInt(u)).hour.toString().padStart(2,"0"):u;return l.jsxs("div",{className:y("flex items-center gap-2",f),children:[c&&l.jsx(N.Clock,{className:"size-4 text-muted-foreground"}),l.jsxs(Zt,{value:j,onValueChange:v=>{g(v,p||"00",n==="12h"?h:void 0)},disabled:s,children:[l.jsx(Kt,{className:"w-[70px]",children:l.jsx(qt,{placeholder:"HH"})}),l.jsx(Xt,{children:x.map(v=>l.jsx(kt,{value:v,children:v},v))})]}),l.jsx("span",{className:"text-muted-foreground font-medium",children:":"}),l.jsxs(Zt,{value:p,onValueChange:v=>{g(u||"00",v,n==="12h"?h:void 0)},disabled:s,children:[l.jsx(Kt,{className:"w-[70px]",children:l.jsx(qt,{placeholder:"MM"})}),l.jsx(Xt,{children:w.map(v=>l.jsx(kt,{value:v,children:v},v))})]}),n==="12h"&&l.jsxs(Zt,{value:h,onValueChange:v=>{m(v),u&&p&&g(u,p,v)},disabled:s,children:[l.jsx(Kt,{className:"w-[70px]",children:l.jsx(qt,{})}),l.jsxs(Xt,{children:[l.jsx(kt,{value:"AM",children:"AM"}),l.jsx(kt,{value:"PM",children:"PM"})]})]})]})}if(d==="inline"){const x=Eh(n),w=Ah(r);return l.jsxs("div",{className:y("flex items-center gap-2",f),children:[c&&l.jsx(N.Clock,{className:"size-4 text-muted-foreground"}),l.jsx(He,{className:"text-sm text-muted-foreground",children:"Horário:"}),l.jsxs(Zt,{value:u,onValueChange:j=>g(j,p||"00",n==="12h"?h:void 0),disabled:s,children:[l.jsx(Kt,{className:"w-[65px] h-8 text-sm",children:l.jsx(qt,{placeholder:"HH"})}),l.jsx(Xt,{children:x.map(j=>l.jsx(kt,{value:j,children:j},j))})]}),l.jsx("span",{className:"text-muted-foreground",children:":"}),l.jsxs(Zt,{value:p,onValueChange:j=>g(u||"00",j,n==="12h"?h:void 0),disabled:s,children:[l.jsx(Kt,{className:"w-[65px] h-8 text-sm",children:l.jsx(qt,{placeholder:"MM"})}),l.jsx(Xt,{children:w.map(j=>l.jsx(kt,{value:j,children:j},j))})]}),n==="12h"&&l.jsxs(Zt,{value:h,onValueChange:j=>{m(j),u&&p&&g(u,p,j)},disabled:s,children:[l.jsx(Kt,{className:"w-[65px] h-8 text-sm",children:l.jsx(qt,{})}),l.jsxs(Xt,{children:[l.jsx(kt,{value:"AM",children:"AM"}),l.jsx(kt,{value:"PM",children:"PM"})]})]})]})}return null}za.displayName="TimePicker";function Vd({value:t,onChange:e,placeholder:n="Selecione uma data",disabled:r=!1,minDate:i,maxDate:a,dateFormat:s,locale:o=gt,className:f,error:c=!1,showTime:d=!1,timeFormat:u="24h",minuteStep:p=5,defaultTime:h="09:00",id:m,name:g}){const[b,x]=I.useState(!1),[w,j]=I.useState(""),[v,L]=I.useState(!1),C=s||(d?"dd/MM/yyyy HH:mm":"dd/MM/yyyy"),k=I.useMemo(()=>d?["dd/MM/yyyy HH:mm","dd/MM/yyyy HH:mm:ss","dd/MM/yy HH:mm","d/M/yyyy HH:mm","d/M/yy HH:mm"]:["dd/MM/yyyy","dd/MM/yy","d/M/yyyy","d/M/yy","ddMMyyyy","ddMMyy"],[d]);I.useEffect(()=>{t?(j(R.format(t,C,{locale:o})),L(!1)):(j(""),L(!1))},[t,C,o]);const S=I.useMemo(()=>{if(!t)return h;const F=t.getHours().toString().padStart(2,"0"),Y=t.getMinutes().toString().padStart(2,"0");return`${F}:${Y}`},[t,h]),T=F=>{if(!F){e==null||e(void 0);return}if(d){const[Y,ae]=S.split(":").map(Number);F.setHours(Y,ae,0,0)}else F.setHours(0,0,0,0);e==null||e(F),d||x(!1)},E=F=>{if(t){const Y=new Date(t),[ae,ce]=F.split(":").map(Number);Y.setHours(ae,ce,0,0),e==null||e(Y)}else{const Y=new Date,[ae,ce]=F.split(":").map(Number);Y.setHours(ae,ce,0,0),e==null||e(Y)}},H=F=>{const Y=F.trim();if(!Y)return null;for(const ae of k)try{const ce=R.parse(Y,ae,new Date);if(R.isValid(ce)){if(i&&ce<i||a&&ce>a)continue;return ce}}catch{continue}return null},V=F=>{const Y=F.target.value;j(Y),L(!1)},Q=()=>{if(!w.trim()){e==null||e(void 0),L(!1);return}const F=H(w);F?(e==null||e(F),L(!1)):L(!0)},K=F=>{F.key==="Enter"?(F.preventDefault(),Q(),v||x(!0)):F.key==="Escape"&&(F.preventDefault(),j(t?R.format(t,C,{locale:o}):""),L(!1))},O=F=>{F.stopPropagation(),e==null||e(void 0),j(""),L(!1)};return l.jsxs(tt,{open:b,onOpenChange:x,children:[l.jsx(We,{asChild:!0,children:l.jsxs("div",{className:"relative w-full",children:[l.jsx(Yt,{id:m,name:g,value:w,onChange:V,onBlur:Q,onKeyDown:K,placeholder:n,disabled:r,"aria-invalid":c||v,className:y("pr-20",(c||v)&&"border-destructive focus-visible:ring-destructive/20",f)}),l.jsxs("div",{className:"absolute inset-y-0 right-0 flex items-center gap-1 pr-1",children:[w&&!r&&l.jsxs(B,{type:"button",variant:"ghost",size:"sm",className:"h-7 w-7 p-0 hover:bg-transparent",onClick:O,tabIndex:-1,children:[l.jsx(N.X,{className:"h-4 w-4 text-muted-foreground hover:text-foreground"}),l.jsx("span",{className:"sr-only",children:"Limpar"})]}),l.jsxs(B,{type:"button",variant:"ghost",size:"sm",className:"h-7 w-7 p-0 hover:bg-transparent",disabled:r,onClick:()=>x(!0),tabIndex:-1,children:[l.jsx(N.CalendarIcon,{className:"h-4 w-4 text-muted-foreground"}),l.jsx("span",{className:"sr-only",children:"Abrir calendário"})]})]})]})}),l.jsxs($e,{className:"w-auto p-0",align:"start",children:[l.jsx(Yo,{mode:"single",selected:t,onSelect:T,disabled:F=>!!(i&&F<i||a&&F>a),locale:o,initialFocus:!0,defaultMonth:t||void 0}),d&&l.jsx("div",{className:"border-t p-3",children:l.jsx(za,{value:S,onChange:E,format:u,minuteStep:p,variant:"inline",showIcon:!0})}),d&&l.jsx("div",{className:"border-t p-3 flex justify-end",children:l.jsx(B,{size:"sm",onClick:()=>x(!1),children:"Confirmar"})})]})]})}Vd.displayName="DatePicker";const eT=()=>{const t=new Date;return t.setHours(0,0,0,0),[{label:"Hoje",value:{from:t,to:t}},{label:"Últimos 7 dias",value:{from:R.subDays(t,6),to:t}},{label:"Últimos 30 dias",value:{from:R.subDays(t,29),to:t}},{label:"Este mês",value:{from:R.startOfMonth(t),to:t}},{label:"Mês passado",value:{from:R.startOfMonth(R.subMonths(t,1)),to:R.endOfMonth(R.subMonths(t,1))}}]};function tb({value:t,onChange:e,placeholder:n="Selecione um período",disabled:r=!1,minDate:i,maxDate:a,dateFormat:s="dd/MM/yyyy",locale:o=gt,className:f,error:c=!1,numberOfMonths:d=2,showTime:u=!1,timeFormat:p="24h",minuteStep:h=15,presets:m,showDefaultPresets:g=!0,id:b,name:x}){const[w,j]=I.useState(!1),[v,L]=I.useState(""),[C,k]=I.useState(!1),S=u?`${s} HH:mm`:s,T=I.useMemo(()=>u?["dd/MM/yyyy HH:mm","dd/MM/yy HH:mm","d/M/yyyy HH:mm","d/M/yy HH:mm"]:["dd/MM/yyyy","dd/MM/yy","d/M/yyyy","d/M/yy"],[u]);I.useEffect(()=>{if(t!=null&&t.from){const _=R.format(t.from,S,{locale:o}),q=t.to?R.format(t.to,S,{locale:o}):"";L(q?`${_} → ${q}`:_),k(!1)}else L(""),k(!1)},[t,S,o]);const E=I.useMemo(()=>[...g?eT():[],...m||[]],[m,g]),H=I.useMemo(()=>{if(!(t!=null&&t.from))return"00:00";const _=t.from.getHours().toString().padStart(2,"0"),q=t.from.getMinutes().toString().padStart(2,"0");return`${_}:${q}`},[t==null?void 0:t.from]),V=I.useMemo(()=>{if(!(t!=null&&t.to))return"23:59";const _=t.to.getHours().toString().padStart(2,"0"),q=t.to.getMinutes().toString().padStart(2,"0");return`${_}:${q}`},[t==null?void 0:t.to]),Q=_=>{if(!_){e==null||e(void 0);return}if(u){if(_.from){const[q,A]=H.split(":").map(Number);_.from.setHours(q,A,0,0)}if(_.to){const[q,A]=V.split(":").map(Number);_.to.setHours(q,A,0,0)}}else _.from&&_.from.setHours(0,0,0,0),_.to&&_.to.setHours(23,59,59,999);e==null||e(_)},K=_=>{if(!(t!=null&&t.from))return;const q=new Date(t.from),[A,J]=_.split(":").map(Number);q.setHours(A,J,0,0),e==null||e({...t,from:q})},O=_=>{if(!(t!=null&&t.to))return;const q=new Date(t.to),[A,J]=_.split(":").map(Number);q.setHours(A,J,0,0),e==null||e({...t,to:q})},F=_=>{const q={from:new Date(_.value.from),to:new Date(_.value.to)};if(u){const[A,J]=H.split(":").map(Number),[se,we]=V.split(":").map(Number);q.from.setHours(A,J,0,0),q.to.setHours(se,we,0,0)}e==null||e(q)},Y=_=>{const q=_.trim();if(!q)return null;for(const A of T)try{const J=R.parse(q,A,new Date);if(R.isValid(J)){if(i&&J<i||a&&J>a)continue;return J}}catch{continue}return null},ae=_=>{const q=_.trim();if(!q)return null;const A=["→","-","até","a"];let J=null,se=null;for(const we of A)if(q.includes(we)){const ct=q.split(we).map(dt=>dt.trim());if(ct.length===2&&(J=Y(ct[0]),se=Y(ct[1]),J&&se))break}return J||(J=Y(q),J&&(se=new Date(J))),!J||!se?null:(J>se&&([J,se]=[se,J]),{from:J,to:se})},ce=_=>{const q=_.target.value;L(q),k(!1)},W=()=>{if(!v.trim()){e==null||e(void 0),k(!1);return}const _=ae(v);_?(e==null||e(_),k(!1)):k(!0)},ye=_=>{if(_.key==="Enter")_.preventDefault(),W(),C||j(!0);else if(_.key==="Escape"){if(_.preventDefault(),t!=null&&t.from){const q=R.format(t.from,S,{locale:o}),A=t.to?R.format(t.to,S,{locale:o}):"";L(A?`${q} → ${A}`:q)}else L("");k(!1)}},pe=_=>{_.stopPropagation(),e==null||e(void 0),L(""),k(!1)};return l.jsxs(tt,{open:w,onOpenChange:j,children:[l.jsx(We,{asChild:!0,children:l.jsxs("div",{className:"relative w-full",children:[l.jsx(Yt,{id:b,name:x,value:v,onChange:ce,onBlur:W,onKeyDown:ye,placeholder:n,disabled:r,"aria-invalid":c||C,className:y("pr-20",(c||C)&&"border-destructive focus-visible:ring-destructive/20",f)}),l.jsxs("div",{className:"absolute inset-y-0 right-0 flex items-center gap-1 pr-1",children:[v&&!r&&l.jsxs(B,{type:"button",variant:"ghost",size:"sm",className:"h-7 w-7 p-0 hover:bg-transparent",onClick:pe,tabIndex:-1,children:[l.jsx(N.X,{className:"h-4 w-4 text-muted-foreground hover:text-foreground"}),l.jsx("span",{className:"sr-only",children:"Limpar"})]}),l.jsxs(B,{type:"button",variant:"ghost",size:"sm",className:"h-7 w-7 p-0 hover:bg-transparent",disabled:r,onClick:()=>j(!0),tabIndex:-1,children:[l.jsx(N.CalendarIcon,{className:"h-4 w-4 text-muted-foreground"}),l.jsx("span",{className:"sr-only",children:"Abrir calendário"})]})]})]})}),l.jsx($e,{className:"w-auto p-0",align:"start",children:l.jsxs("div",{className:"flex",children:[E.length>0&&l.jsxs("div",{className:"border-r p-3 space-y-1 min-w-[140px]",children:[l.jsx("p",{className:"text-xs font-medium text-muted-foreground mb-2",children:"Atalhos"}),E.map(_=>l.jsx(B,{variant:"ghost",size:"sm",className:"w-full justify-start text-sm h-8",onClick:()=>F(_),children:_.label},_.label))]}),l.jsxs("div",{children:[l.jsx(Yo,{mode:"range",selected:t,onSelect:Q,numberOfMonths:d,disabled:_=>!!(i&&_<i||a&&_>a),locale:o,initialFocus:!0}),u&&(t==null?void 0:t.from)&&(t==null?void 0:t.to)&&l.jsxs("div",{className:"border-t p-3 flex gap-6",children:[l.jsxs("div",{className:"flex-1",children:[l.jsx("p",{className:"text-xs font-medium text-muted-foreground mb-2",children:"Hora início"}),l.jsx(za,{value:H,onChange:K,format:p,minuteStep:h,variant:"select",showIcon:!1})]}),l.jsxs("div",{className:"flex-1",children:[l.jsx("p",{className:"text-xs font-medium text-muted-foreground mb-2",children:"Hora fim"}),l.jsx(za,{value:V,onChange:O,format:p,minuteStep:h,variant:"select",showIcon:!1})]})]}),l.jsxs("div",{className:"border-t p-3 flex justify-end gap-2",children:[l.jsx(B,{variant:"outline",size:"sm",onClick:()=>{e==null||e(void 0)},children:"Limpar"}),l.jsx(B,{size:"sm",onClick:()=>j(!1),children:"Confirmar"})]})]})]})})]})}tb.displayName="DateRangePicker";function nb({className:t,value:e,...n}){return l.jsx(lu.Root,{"data-slot":"progress",className:y("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",t),...n,children:l.jsx(lu.Indicator,{"data-slot":"progress-indicator",className:"bg-primary h-full w-full flex-1 transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})})}const tT={low:{color:"bg-blue-500",label:"Baixa",textColor:"text-blue-700",bgColor:"bg-blue-50 dark:bg-blue-950/20"},medium:{color:"bg-yellow-500",label:"Média",textColor:"text-yellow-700",bgColor:"bg-yellow-50 dark:bg-yellow-950/20"},high:{color:"bg-orange-500",label:"Alta",textColor:"text-orange-700",bgColor:"bg-orange-50 dark:bg-orange-950/20"},urgent:{color:"bg-red-500",label:"Urgente",textColor:"text-red-700",bgColor:"bg-red-50 dark:bg-red-950/20"}},rb=I.forwardRef(({title:t,description:e,coverImage:n,thumbnailImage:r,tags:i=[],assignees:a=[],priority:s,dueDate:o,comments:f,attachments:c,checklist:d,progress:u,status:p,variant:h="default",isDragging:m=!1,onClick:g,onEdit:b,onDelete:x,onDuplicate:w,className:j},v)=>{const L=o&&new Date(o)<new Date,C=s?tT[s]:null,k=T=>{const E=T.getDate().toString().padStart(2,"0"),H=(T.getMonth()+1).toString().padStart(2,"0");return`${E}/${H}`},S=T=>{T.target.closest("button")||T.target.closest("[role='menuitem']")||g==null||g()};return l.jsxs(vr,{ref:v,className:y("group cursor-grab active:cursor-grabbing transition-all duration-200","hover:shadow-lg hover:scale-[1.02]",m&&"opacity-50 rotate-2 scale-105 shadow-2xl cursor-grabbing",s&&"border-l-4",s==="low"&&"border-l-blue-500",s==="medium"&&"border-l-yellow-500",s==="high"&&"border-l-orange-500",s==="urgent"&&"border-l-red-500",h==="compact"&&"hover:scale-[1.01]",j),onClick:S,children:[n&&h!=="compact"&&l.jsxs("div",{className:"relative w-full h-40 overflow-hidden rounded-t-lg",children:[l.jsx("img",{src:n,alt:t,className:"w-full h-full object-cover transition-transform duration-300 group-hover:scale-105"}),s&&l.jsx("div",{className:"absolute top-2 right-2",children:l.jsxs(be,{variant:"secondary",className:y("shadow-sm",C==null?void 0:C.bgColor),children:[l.jsx("div",{className:y("w-2 h-2 rounded-full mr-1",C==null?void 0:C.color)}),C==null?void 0:C.label]})})]}),l.jsxs(li,{className:y(h==="compact"?"p-3 pb-2":"p-4 pb-3"),children:[l.jsxs("div",{className:"flex items-start justify-between gap-2",children:[l.jsxs("div",{className:"flex-1 min-w-0",children:[l.jsxs("div",{className:"flex items-start gap-2",children:[r&&!n&&l.jsx("img",{src:r,alt:t,className:"w-10 h-10 rounded object-cover flex-shrink-0"}),l.jsxs("div",{className:"flex-1 min-w-0",children:[l.jsx(fi,{className:y("line-clamp-2",h==="compact"?"text-sm":"text-base"),children:t}),p&&h==="detailed"&&l.jsx(be,{variant:"outline",className:"mt-1 text-xs",children:p})]})]}),e&&h!=="compact"&&l.jsx(xp,{className:"mt-2 line-clamp-2 text-xs",children:e})]}),(b||x||w)&&l.jsxs(Pa,{children:[l.jsx(Ra,{asChild:!0,children:l.jsx(B,{variant:"ghost",size:"icon",className:"h-8 w-8 opacity-0 group-hover:opacity-100 transition-opacity flex-shrink-0",children:l.jsx(N.MoreVertical,{className:"h-4 w-4"})})}),l.jsxs(Ba,{align:"end",children:[b&&l.jsx(ur,{onClick:b,children:"Editar"}),w&&l.jsx(ur,{onClick:w,children:"Duplicar"}),x&&l.jsx(ur,{onClick:x,className:"text-destructive",children:"Excluir"})]})]})]}),i.length>0&&l.jsxs("div",{className:"flex flex-wrap gap-1 mt-2",children:[i.slice(0,h==="compact"?2:3).map(T=>l.jsx(be,{variant:"secondary",className:"text-xs",style:T.color?{backgroundColor:T.color+"20",color:T.color,borderColor:T.color+"40"}:void 0,children:T.label},T.id)),i.length>(h==="compact"?2:3)&&l.jsxs(be,{variant:"secondary",className:"text-xs",children:["+",i.length-(h==="compact"?2:3)]})]}),s&&!n&&h==="detailed"&&l.jsxs(be,{variant:"secondary",className:y("mt-2 w-fit text-xs",C==null?void 0:C.bgColor),children:[l.jsx("div",{className:y("w-2 h-2 rounded-full mr-1",C==null?void 0:C.color)}),C==null?void 0:C.label]})]}),u!==void 0&&h!=="compact"&&l.jsx(ci,{className:"px-4 pb-3 pt-0",children:l.jsxs("div",{className:"space-y-1",children:[l.jsxs("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[l.jsx("span",{children:"Progresso"}),l.jsxs("span",{children:[u,"%"]})]}),l.jsx(nb,{value:u,className:"h-1.5"})]})}),l.jsxs(vp,{className:y("flex items-center justify-between gap-2",h==="compact"?"px-3 pb-3 pt-1":"px-4 pb-4 pt-2"),children:[l.jsxs("div",{className:"flex items-center gap-3 text-xs text-muted-foreground flex-wrap",children:[o&&l.jsxs("div",{className:y("flex items-center gap-1",L&&"text-destructive font-medium"),children:[L&&l.jsx(N.AlertCircle,{className:"h-3 w-3"}),l.jsx(N.Calendar,{className:"h-3 w-3"}),l.jsx("span",{children:k(o)})]}),d&&l.jsxs("div",{className:"flex items-center gap-1",children:[l.jsx(N.CheckSquare,{className:"h-3 w-3"}),l.jsxs("span",{children:[d.completed,"/",d.total]})]}),f!==void 0&&f>0&&l.jsxs("div",{className:"flex items-center gap-1",children:[l.jsx(N.MessageSquare,{className:"h-3 w-3"}),l.jsx("span",{children:f})]}),c!==void 0&&c>0&&l.jsxs("div",{className:"flex items-center gap-1",children:[l.jsx(N.Paperclip,{className:"h-3 w-3"}),l.jsx("span",{children:c})]})]}),a.length>0&&l.jsxs("div",{className:"flex -space-x-2",children:[a.slice(0,3).map(T=>l.jsxs(Jt,{className:"h-6 w-6 border-2 border-background",children:[T.avatar&&l.jsx(Vn,{src:T.avatar,alt:T.name}),l.jsx(Vt,{className:"text-xs",children:T.initials||T.name.slice(0,2).toUpperCase()})]},T.id)),a.length>3&&l.jsxs("div",{className:"h-6 w-6 rounded-full border-2 border-background bg-muted flex items-center justify-center text-xs",children:["+",a.length-3]})]})]})]})});rb.displayName="KanbanCard";function Rn({className:t,variant:e="pulse",...n}){return l.jsx("div",{"data-slot":"skeleton",className:y("rounded-md",e==="shimmer"?"skeleton-shimmer":"bg-accent animate-pulse",t),...n})}const ib=I.forwardRef(({title:t,primaryContent:e,secondaryContent:n,trendValue:r,trendLabel:i,icon:a=N.Activity,isLoading:s=!1,onClick:o,className:f},c)=>s?l.jsxs(vr,{ref:c,className:f,children:[l.jsx(li,{className:"pb-1",children:l.jsxs(fi,{className:"text-sm flex items-center gap-2",children:[l.jsx(Rn,{className:"h-4 w-4 rounded"}),l.jsx(Rn,{className:"h-4 w-24"})]})}),l.jsxs(ci,{className:"space-y-1 pt-0",children:[l.jsx(Rn,{className:"h-8 w-32"}),l.jsx(Rn,{className:"h-3 w-full"})]})]}):l.jsxs(vr,{ref:c,onClick:o,className:y(o&&"cursor-pointer hover:bg-accent/50 transition-colors",f),children:[l.jsx(li,{className:"pb-1",children:l.jsxs(fi,{className:"text-sm flex items-center gap-2 text-muted-foreground",children:[l.jsx(a,{className:"h-4 w-4 text-muted-foreground"}),t]})}),l.jsxs(ci,{className:"space-y-1 pt-0",children:[l.jsxs("div",{className:"flex items-baseline flex-wrap gap-2",children:[l.jsx("span",{className:"text-2xl font-bold",children:e}),r!==void 0&&l.jsxs(be,{variant:"secondary",className:y("px-1.5 py-0 h-auto text-xs",r>0?"text-green-600":"text-red-600"),children:[r>0?l.jsx(N.TrendingUp,{className:"h-3 w-3 mr-0.5 inline"}):l.jsx(N.TrendingDown,{className:"h-3 w-3 mr-0.5 inline"}),i]})]}),n&&l.jsx("p",{className:"text-xs text-muted-foreground",children:n})]})]}));ib.displayName="KPICard";function Za({...t}){return l.jsx(Ee.Root,{"data-slot":"dialog",...t})}function nT({...t}){return l.jsx(Ee.Trigger,{"data-slot":"dialog-trigger",...t})}function rT({...t}){return l.jsx(Ee.Portal,{"data-slot":"dialog-portal",...t})}function iT({...t}){return l.jsx(Ee.Close,{"data-slot":"dialog-close",...t})}const ab=I.forwardRef(({className:t,...e},n)=>l.jsx(Ee.Overlay,{ref:n,"data-slot":"dialog-overlay",className:y("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...e}));ab.displayName=Ee.Overlay.displayName;function qa({className:t,children:e,...n}){return l.jsxs(rT,{"data-slot":"dialog-portal",children:[l.jsx(ab,{}),l.jsxs(Ee.Content,{"data-slot":"dialog-content",className:y("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t),...n,children:[e,l.jsxs(Ee.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[l.jsx(N.XIcon,{}),l.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function Ka({className:t,...e}){return l.jsx("div",{"data-slot":"dialog-header",className:y("flex flex-col gap-2 text-center sm:text-left",t),...e})}function jl({className:t,...e}){return l.jsx("div",{"data-slot":"dialog-footer",className:y("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...e})}function Xa({className:t,...e}){return l.jsx(Ee.Title,{"data-slot":"dialog-title",className:y("text-lg leading-none font-semibold",t),...e})}function es({className:t,...e}){return l.jsx(Ee.Description,{"data-slot":"dialog-description",className:y("text-muted-foreground text-sm",t),...e})}function sb({className:t,...e}){return l.jsx(kr.Command,{"data-slot":"command",className:y("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",t),...e})}function aT({title:t="Command Palette",description:e="Search for a command to run...",children:n,...r}){return l.jsxs(Za,{...r,children:[l.jsxs(Ka,{className:"sr-only",children:[l.jsx(Xa,{children:t}),l.jsx(es,{children:e})]}),l.jsx(qa,{className:"overflow-hidden p-0",children:l.jsx(sb,{className:"[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:n})})]})}function sT({className:t,...e}){return l.jsxs("div",{"data-slot":"command-input-wrapper",className:"flex h-9 items-center gap-2 border-b px-3",children:[l.jsx(N.SearchIcon,{className:"size-4 shrink-0 opacity-50"}),l.jsx(kr.Command.Input,{"data-slot":"command-input",className:y("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",t),...e})]})}function oT({className:t,...e}){return l.jsx(kr.Command.List,{"data-slot":"command-list",className:y("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",t),...e})}function lT({...t}){return l.jsx(kr.Command.Empty,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...t})}function fT({className:t,...e}){return l.jsx(kr.Command.Group,{"data-slot":"command-group",className:y("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",t),...e})}function cT({className:t,...e}){return l.jsx(kr.Command.Separator,{"data-slot":"command-separator",className:y("bg-border -mx-1 h-px",t),...e})}function dT({className:t,...e}){return l.jsx(kr.Command.Item,{"data-slot":"command-item",className:y("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...e})}function uT({className:t,...e}){return l.jsx("span",{"data-slot":"command-shortcut",className:y("text-muted-foreground ml-auto text-xs tracking-widest",t),...e})}function hT({...t}){return l.jsx(Ve.Root,{"data-slot":"context-menu",...t})}function pT({...t}){return l.jsx(Ve.Trigger,{"data-slot":"context-menu-trigger",...t})}function mT({...t}){return l.jsx(Ve.Group,{"data-slot":"context-menu-group",...t})}function gT({...t}){return l.jsx(Ve.Portal,{"data-slot":"context-menu-portal",...t})}function bT({...t}){return l.jsx(Ve.Sub,{"data-slot":"context-menu-sub",...t})}function xT({...t}){return l.jsx(Ve.RadioGroup,{"data-slot":"context-menu-radio-group",...t})}function vT({className:t,inset:e,children:n,...r}){return l.jsxs(Ve.SubTrigger,{"data-slot":"context-menu-sub-trigger","data-inset":e,className:y("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...r,children:[n,l.jsx(N.ChevronRightIcon,{className:"ml-auto"})]})}function yT({className:t,...e}){return l.jsx(Ve.SubContent,{"data-slot":"context-menu-sub-content",className:y("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",t),...e})}function wT({className:t,...e}){return l.jsx(Ve.Portal,{children:l.jsx(Ve.Content,{"data-slot":"context-menu-content",className:y("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t),...e})})}function MT({className:t,inset:e,variant:n="default",...r}){return l.jsx(Ve.Item,{"data-slot":"context-menu-item","data-inset":e,"data-variant":n,className:y("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...r})}function jT({className:t,children:e,checked:n,...r}){return l.jsxs(Ve.CheckboxItem,{"data-slot":"context-menu-checkbox-item",className:y("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),checked:n,...r,children:[l.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:l.jsx(Ve.ItemIndicator,{children:l.jsx(N.CheckIcon,{className:"size-4"})})}),e]})}function CT({className:t,children:e,...n}){return l.jsxs(Ve.RadioItem,{"data-slot":"context-menu-radio-item",className:y("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...n,children:[l.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:l.jsx(Ve.ItemIndicator,{children:l.jsx(N.CircleIcon,{className:"size-2 fill-current"})})}),e]})}function LT({className:t,inset:e,...n}){return l.jsx(Ve.Label,{"data-slot":"context-menu-label","data-inset":e,className:y("text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",t),...n})}function NT({className:t,...e}){return l.jsx(Ve.Separator,{"data-slot":"context-menu-separator",className:y("bg-border -mx-1 my-1 h-px",t),...e})}function kT({className:t,...e}){return l.jsx("span",{"data-slot":"context-menu-shortcut",className:y("text-muted-foreground ml-auto text-xs tracking-widest",t),...e})}var ST=EL,IT=Se.create({name:"textAlign",addOptions(){return{types:[],alignments:["left","center","right","justify"],defaultAlignment:null}},addGlobalAttributes(){return[{types:this.options.types,attributes:{textAlign:{default:this.options.defaultAlignment,parseHTML:t=>{const e=t.style.textAlign;return this.options.alignments.includes(e)?e:this.options.defaultAlignment},renderHTML:t=>t.textAlign?{style:`text-align: ${t.textAlign}`}:{}}}}]},addCommands(){return{setTextAlign:t=>({commands:e})=>this.options.alignments.includes(t)?this.options.types.map(n=>e.updateAttributes(n,{textAlign:t})).some(n=>n):!1,unsetTextAlign:()=>({commands:t})=>this.options.types.map(e=>t.resetAttributes(e,"textAlign")).some(e=>e),toggleTextAlign:t=>({editor:e,commands:n})=>this.options.alignments.includes(t)?e.isActive({textAlign:t})?n.unsetTextAlign():n.setTextAlign(t):!1}},addKeyboardShortcuts(){return{"Mod-Shift-l":()=>this.editor.commands.setTextAlign("left"),"Mod-Shift-e":()=>this.editor.commands.setTextAlign("center"),"Mod-Shift-r":()=>this.editor.commands.setTextAlign("right"),"Mod-Shift-j":()=>this.editor.commands.setTextAlign("justify")}}}),TT=IT;const Yd=an.cva("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}});function ob({className:t,variant:e,size:n,...r}){return l.jsx(yx.Root,{"data-slot":"toggle",className:y(Yd({variant:e,size:n,className:t})),...r})}const et=({onClick:t,isActive:e=!1,disabled:n=!1,children:r,title:i})=>l.jsx(ob,{pressed:e,onPressedChange:t,disabled:n,size:"sm",className:"h-8 w-8 p-0",title:i,children:r}),DT=({editor:t,variant:e})=>{if(!t)return null;const n=()=>{const i=t.getAttributes("link").href,a=window.prompt("URL",i);if(a!==null){if(a===""){t.chain().focus().extendMarkRange("link").unsetLink().run();return}t.chain().focus().extendMarkRange("link").setLink({href:a}).run()}},r=()=>{const i=window.prompt("URL da imagem");i&&t.chain().focus().setImage({src:i}).run()};return l.jsxs("div",{className:y("flex flex-wrap items-center gap-1 p-2 border-b bg-muted/30 sticky top-0 z-10",e==="full"?"px-4 py-2":"px-2 py-1"),children:[l.jsxs("div",{className:"flex items-center gap-0.5 mr-2",children:[l.jsx(B,{variant:"ghost",size:"icon",className:"h-8 w-8",onClick:()=>t.chain().focus().undo().run(),disabled:!t.can().undo(),children:l.jsx(N.Undo,{className:"h-4 w-4"})}),l.jsx(B,{variant:"ghost",size:"icon",className:"h-8 w-8",onClick:()=>t.chain().focus().redo().run(),disabled:!t.can().redo(),children:l.jsx(N.Redo,{className:"h-4 w-4"})})]}),l.jsx(An,{orientation:"vertical",className:"h-6 mx-1"}),e==="full"&&l.jsxs(l.Fragment,{children:[l.jsx(et,{onClick:()=>t.chain().focus().toggleHeading({level:1}).run(),isActive:t.isActive("heading",{level:1}),title:"Título 1",children:l.jsx(N.Heading1,{className:"h-4 w-4"})}),l.jsx(et,{onClick:()=>t.chain().focus().toggleHeading({level:2}).run(),isActive:t.isActive("heading",{level:2}),title:"Título 2",children:l.jsx(N.Heading2,{className:"h-4 w-4"})}),l.jsx(et,{onClick:()=>t.chain().focus().toggleHeading({level:3}).run(),isActive:t.isActive("heading",{level:3}),title:"Título 3",children:l.jsx(N.Heading3,{className:"h-4 w-4"})}),l.jsx(An,{orientation:"vertical",className:"h-6 mx-1"})]}),l.jsx(et,{onClick:()=>t.chain().focus().toggleBold().run(),isActive:t.isActive("bold"),title:"Negrito",children:l.jsx(N.Bold,{className:"h-4 w-4"})}),l.jsx(et,{onClick:()=>t.chain().focus().toggleItalic().run(),isActive:t.isActive("italic"),title:"Itálico",children:l.jsx(N.Italic,{className:"h-4 w-4"})}),l.jsx(et,{onClick:()=>t.chain().focus().toggleUnderline().run(),isActive:t.isActive("underline"),title:"Sublinhado",children:l.jsx(N.Underline,{className:"h-4 w-4"})}),e==="full"&&l.jsx(et,{onClick:()=>t.chain().focus().toggleStrike().run(),isActive:t.isActive("strike"),title:"Tachado",children:l.jsx(N.Strikethrough,{className:"h-4 w-4"})}),l.jsx(An,{orientation:"vertical",className:"h-6 mx-1"}),l.jsx(et,{onClick:()=>t.chain().focus().toggleBulletList().run(),isActive:t.isActive("bulletList"),title:"Lista com marcadores",children:l.jsx(N.List,{className:"h-4 w-4"})}),l.jsx(et,{onClick:()=>t.chain().focus().toggleOrderedList().run(),isActive:t.isActive("orderedList"),title:"Lista numerada",children:l.jsx(N.ListOrdered,{className:"h-4 w-4"})}),e==="full"&&l.jsxs(l.Fragment,{children:[l.jsx(et,{onClick:()=>t.chain().focus().setTextAlign("left").run(),isActive:t.isActive({textAlign:"left"}),title:"Alinhar à esquerda",children:l.jsx(N.AlignLeft,{className:"h-4 w-4"})}),l.jsx(et,{onClick:()=>t.chain().focus().setTextAlign("center").run(),isActive:t.isActive({textAlign:"center"}),title:"Centralizar",children:l.jsx(N.AlignCenter,{className:"h-4 w-4"})}),l.jsx(et,{onClick:()=>t.chain().focus().setTextAlign("right").run(),isActive:t.isActive({textAlign:"right"}),title:"Alinhar à direita",children:l.jsx(N.AlignRight,{className:"h-4 w-4"})})]}),l.jsx(An,{orientation:"vertical",className:"h-6 mx-1"}),l.jsx(et,{onClick:()=>t.chain().focus().toggleBlockquote().run(),isActive:t.isActive("blockquote"),title:"Citação",children:l.jsx(N.Quote,{className:"h-4 w-4"})}),l.jsx(et,{onClick:n,isActive:t.isActive("link"),title:"Link",children:l.jsx(N.Link,{className:"h-4 w-4"})}),e==="full"&&l.jsx(et,{onClick:r,title:"Imagem",children:l.jsx(N.Image,{className:"h-4 w-4"})})]})};function ET({content:t="",onChange:e,placeholder:n="Comece a escrever...",variant:r="simple",className:i,readOnly:a=!1,label:s}){var c,d;const o=I.useMemo(()=>[mg.configure({heading:{levels:[1,2,3]}}),gg.configure({HTMLAttributes:{class:"rounded-lg border shadow-sm max-w-full"}}),ST.configure({placeholder:n}),TT.configure({types:["heading","paragraph"]})],[n]),f=_m({extensions:o,content:t,editable:!a,onUpdate:({editor:u})=>{e==null||e(u.getHTML())},editorProps:{attributes:{class:y("prose prose-stone dark:prose-invert max-w-none focus:outline-none","prose-headings:font-semibold prose-headings:tracking-tight","prose-h1:text-3xl prose-h2:text-2xl prose-h3:text-xl","prose-p:leading-7 prose-p:my-3","prose-blockquote:border-l-4 prose-blockquote:border-primary/50 prose-blockquote:pl-4 prose-blockquote:italic","prose-ul:list-disc prose-ul:pl-6 prose-ol:list-decimal prose-ol:pl-6","prose-img:rounded-lg prose-img:shadow-md prose-img:my-6",r==="full"?"min-h-[400px] p-8":"min-h-[120px] px-3 py-2")}}});return f?l.jsxs("div",{className:y("flex flex-col w-full",i),children:[s&&l.jsx("label",{className:"text-sm font-medium mb-1.5 block",children:s}),l.jsxs("div",{className:y("border rounded-lg bg-background overflow-hidden transition-shadow focus-within:ring-2 focus-within:ring-primary/20",a&&"opacity-80 bg-muted/30 pointer-events-none border-transparent"),children:[!a&&l.jsx(DT,{editor:f,variant:r}),l.jsx("div",{className:y("bg-background relative",r==="full"?"bg-white dark:bg-zinc-950":""),children:l.jsx(Fm,{editor:f})})]}),!a&&r==="full"&&l.jsxs("div",{className:"text-xs text-muted-foreground mt-1.5 text-right px-1",children:[((d=(c=f.storage.characterCount)==null?void 0:c.words)==null?void 0:d.call(c))||0," palavras"]})]}):null}function AT({...t}){return l.jsx(Wn.Drawer.Root,{"data-slot":"drawer",...t})}const lb=I.forwardRef(({...t},e)=>l.jsx(Wn.Drawer.Trigger,{ref:e,"data-slot":"drawer-trigger",...t}));lb.displayName="DrawerTrigger";function zT({...t}){return l.jsx(Wn.Drawer.Portal,{"data-slot":"drawer-portal",...t})}const fb=I.forwardRef(({...t},e)=>l.jsx(Wn.Drawer.Close,{ref:e,"data-slot":"drawer-close",...t}));fb.displayName="DrawerClose";const cb=I.forwardRef(({className:t,...e},n)=>l.jsx(Wn.Drawer.Overlay,{ref:n,"data-slot":"drawer-overlay",className:y("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...e}));cb.displayName="DrawerOverlay";const db=I.forwardRef(({className:t,children:e,...n},r)=>l.jsxs(zT,{"data-slot":"drawer-portal",children:[l.jsx(cb,{}),l.jsxs(Wn.Drawer.Content,{ref:r,"data-slot":"drawer-content",className:y("group/drawer-content bg-background fixed z-50 flex h-auto flex-col","data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b","data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t","data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm","data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",t),...n,children:[l.jsx("div",{className:"bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block"}),e]})]}));db.displayName="DrawerContent";function OT({className:t,...e}){return l.jsx("div",{"data-slot":"drawer-header",className:y("flex flex-col gap-1.5 p-4",t),...e})}function PT({className:t,...e}){return l.jsx("div",{"data-slot":"drawer-footer",className:y("mt-auto flex flex-col gap-2 p-4",t),...e})}const ub=I.forwardRef(({className:t,...e},n)=>l.jsx(Wn.Drawer.Title,{ref:n,"data-slot":"drawer-title",className:y("text-foreground font-semibold",t),...e}));ub.displayName="DrawerTitle";const hb=I.forwardRef(({className:t,...e},n)=>l.jsx(Wn.Drawer.Description,{ref:n,"data-slot":"drawer-description",className:y("text-muted-foreground text-sm",t),...e}));hb.displayName="DrawerDescription";function RT({value:t,options:e,onValueChange:n,onCancel:r,disabled:i=!1,variant:a="default",confirmTitle:s="Confirmar alteração",confirmDescription:o="Tem certeza que deseja alterar este valor?",confirmButtonText:f="Confirmar",cancelButtonText:c="Cancelar",skipConfirmation:d=!1,isLoading:u=!1,renderValue:p,className:h,...m},g){const[b,x]=I.useState(null),[w,j]=I.useState(!1),[v,L]=I.useState(!1),[C,k]=I.useState(!1),S=I.useMemo(()=>e.find(O=>O.value===t),[e,t]),T=I.useMemo(()=>b?e.find(O=>O.value===b):null,[e,b]),E=I.useCallback(O=>{if(O===t){L(!1);return}x(O),L(!1),d?H(O):j(!0)},[t,d]),H=I.useCallback(async O=>{const F=O??b;if(F){k(!0);try{await n(F),j(!1),x(null)}catch(Y){console.error("Error confirming value change:",Y)}finally{k(!1)}}},[b,n]),V=I.useCallback(()=>{j(!1),x(null),r==null||r()},[r]),Q=I.useCallback(()=>p&&S?p(t,S):S?l.jsxs(l.Fragment,{children:[S.icon,S.label]}):t,[p,t,S]),K=(S==null?void 0:S.variant)||a;return i?l.jsx("div",{ref:g,className:y("inline-flex",h),...m,children:l.jsx(be,{variant:K,children:Q()})}):l.jsxs(l.Fragment,{children:[l.jsx("div",{ref:g,className:y("inline-flex",h),...m,children:l.jsxs(Pa,{open:v,onOpenChange:L,children:[l.jsx(Ra,{asChild:!0,disabled:u,children:l.jsxs(be,{variant:K,className:y("cursor-pointer hover:opacity-80 transition-opacity gap-1.5",u&&"opacity-50 cursor-not-allowed"),children:[Q(),!u&&l.jsx(N.ChevronDown,{className:"h-3 w-3"})]})}),l.jsx(Ba,{align:"start",className:"w-48",children:e.map(O=>l.jsxs(ur,{onClick:()=>E(O.value),className:"gap-2",children:[O.icon&&l.jsx("span",{className:"w-4 h-4",children:O.icon}),l.jsx("span",{className:"flex-1",children:O.label}),O.value===t&&l.jsx(N.Check,{className:"h-4 w-4 text-primary"})]},String(O.value)))})]})}),l.jsx(Za,{open:w,onOpenChange:j,children:l.jsxs(qa,{children:[l.jsxs(Ka,{children:[l.jsx(Xa,{children:s}),l.jsx(es,{children:o})]}),T&&l.jsxs("div",{className:"flex items-center gap-3 py-4",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("span",{className:"text-sm text-muted-foreground",children:"De:"}),l.jsxs(be,{variant:(S==null?void 0:S.variant)||a,children:[S==null?void 0:S.icon,(S==null?void 0:S.label)||t]})]}),l.jsx("span",{className:"text-muted-foreground",children:"→"}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("span",{className:"text-sm text-muted-foreground",children:"Para:"}),l.jsxs(be,{variant:T.variant||a,children:[T.icon,T.label]})]})]}),l.jsxs(jl,{children:[l.jsx(B,{variant:"outline",onClick:V,disabled:C,children:c}),l.jsx(B,{onClick:()=>H(),disabled:C,children:C?"Confirmando...":f})]})]})})]})}const pb=I.forwardRef(RT);pb.displayName="EditableBadge";function mb({className:t,...e}){return l.jsx(Vo.Root,{"data-slot":"tabs",className:y("flex flex-col gap-2",t),...e})}function gb({className:t,...e}){return l.jsx(Vo.List,{"data-slot":"tabs-list",className:y("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-xl p-[3px] flex",t),...e})}function Us({className:t,...e}){return l.jsx(Vo.Trigger,{"data-slot":"tabs-trigger",className:y("data-[state=active]:bg-card dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-xl border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...e})}function BT({className:t,...e}){return l.jsx(Vo.Content,{"data-slot":"tabs-content",className:y("flex-1 outline-none",t),...e})}const bb=M.createContext({dragDropManager:void 0});function Lt(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Oh=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),Ph=function(){return Math.random().toString(36).substring(7).split("").join(".")},Rh={INIT:"@@redux/INIT"+Ph(),REPLACE:"@@redux/REPLACE"+Ph()};function HT(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function FT(t){if(t===void 0)return"undefined";if(t===null)return"null";var e=typeof t;switch(e){case"boolean":case"string":case"number":case"symbol":case"function":return e}if(Array.isArray(t))return"array";if(JT(t))return"date";if(_T(t))return"error";var n=UT(t);switch(n){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return n}return e.slice(8,-1).toLowerCase().replace(/\s/g,"")}function UT(t){return typeof t.constructor=="function"?t.constructor.name:null}function _T(t){return t instanceof Error||typeof t.message=="string"&&t.constructor&&typeof t.constructor.stackTraceLimit=="number"}function JT(t){return t instanceof Date?!0:typeof t.toDateString=="function"&&typeof t.getDate=="function"&&typeof t.setDate=="function"}function Vr(t){var e=typeof t;return process.env.NODE_ENV!=="production"&&(e=FT(t)),e}function xb(t,e,n){var r;if(typeof e=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Lt(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof e=="function"&&typeof n>"u"&&(n=e,e=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?Lt(1):"Expected the enhancer to be a function. Instead, received: '"+Vr(n)+"'");return n(xb)(t,e)}if(typeof t!="function")throw new Error(process.env.NODE_ENV==="production"?Lt(2):"Expected the root reducer to be a function. Instead, received: '"+Vr(t)+"'");var i=t,a=e,s=[],o=s,f=!1;function c(){o===s&&(o=s.slice())}function d(){if(f)throw new Error(process.env.NODE_ENV==="production"?Lt(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function u(g){if(typeof g!="function")throw new Error(process.env.NODE_ENV==="production"?Lt(4):"Expected the listener to be a function. Instead, received: '"+Vr(g)+"'");if(f)throw new Error(process.env.NODE_ENV==="production"?Lt(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var b=!0;return c(),o.push(g),function(){if(b){if(f)throw new Error(process.env.NODE_ENV==="production"?Lt(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");b=!1,c();var w=o.indexOf(g);o.splice(w,1),s=null}}}function p(g){if(!HT(g))throw new Error(process.env.NODE_ENV==="production"?Lt(7):"Actions must be plain objects. Instead, the actual type was: '"+Vr(g)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof g.type>"u")throw new Error(process.env.NODE_ENV==="production"?Lt(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(f)throw new Error(process.env.NODE_ENV==="production"?Lt(9):"Reducers may not dispatch actions.");try{f=!0,a=i(a,g)}finally{f=!1}for(var b=s=o,x=0;x<b.length;x++){var w=b[x];w()}return g}function h(g){if(typeof g!="function")throw new Error(process.env.NODE_ENV==="production"?Lt(10):"Expected the nextReducer to be a function. Instead, received: '"+Vr(g));i=g,p({type:Rh.REPLACE})}function m(){var g,b=u;return g={subscribe:function(w){if(typeof w!="object"||w===null)throw new Error(process.env.NODE_ENV==="production"?Lt(11):"Expected the observer to be an object. Instead, received: '"+Vr(w)+"'");function j(){w.next&&w.next(d())}j();var v=b(j);return{unsubscribe:v}}},g[Oh]=function(){return this},g}return p({type:Rh.INIT}),r={dispatch:p,subscribe:u,getState:d,replaceReducer:h},r[Oh]=m,r}function te(t,e,...n){if(VT()&&e===void 0)throw new Error("invariant requires an error message argument");if(!t){let r;if(e===void 0)r=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let i=0;r=new Error(e.replace(/%s/g,function(){return n[i++]})),r.name="Invariant Violation"}throw r.framesToPop=1,r}}function VT(){return typeof process<"u"&&process.env.NODE_ENV==="production"}function YT(t,e,n){return e.split(".").reduce((r,i)=>r&&r[i]?r[i]:n||null,t)}function QT(t,e){return t.filter(n=>n!==e)}function vb(t){return typeof t=="object"}function GT(t,e){const n=new Map,r=a=>{n.set(a,n.has(a)?n.get(a)+1:1)};t.forEach(r),e.forEach(r);const i=[];return n.forEach((a,s)=>{a===1&&i.push(s)}),i}function WT(t,e){return t.filter(n=>e.indexOf(n)>-1)}const Qd="dnd-core/INIT_COORDS",Cl="dnd-core/BEGIN_DRAG",Gd="dnd-core/PUBLISH_DRAG_SOURCE",Ll="dnd-core/HOVER",Nl="dnd-core/DROP",kl="dnd-core/END_DRAG";function Bh(t,e){return{type:Qd,payload:{sourceClientOffset:e||null,clientOffset:t||null}}}const $T={type:Qd,payload:{clientOffset:null,sourceClientOffset:null}};function ZT(t){return function(n=[],r={publishSource:!0}){const{publishSource:i=!0,clientOffset:a,getSourceClientOffset:s}=r,o=t.getMonitor(),f=t.getRegistry();t.dispatch(Bh(a)),qT(n,o,f);const c=eD(n,o);if(c==null){t.dispatch($T);return}let d=null;if(a){if(!s)throw new Error("getSourceClientOffset must be defined");KT(s),d=s(c)}t.dispatch(Bh(a,d));const p=f.getSource(c).beginDrag(o,c);if(p==null)return;XT(p),f.pinSource(c);const h=f.getSourceType(c);return{type:Cl,payload:{itemType:h,item:p,sourceId:c,clientOffset:a||null,sourceClientOffset:d||null,isSourcePublic:!!i}}}}function qT(t,e,n){te(!e.isDragging(),"Cannot call beginDrag while dragging."),t.forEach(function(r){te(n.getSource(r),"Expected sourceIds to be registered.")})}function KT(t){te(typeof t=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function XT(t){te(vb(t),"Item must be an object.")}function eD(t,e){let n=null;for(let r=t.length-1;r>=0;r--)if(e.canDragSource(t[r])){n=t[r];break}return n}function tD(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nD(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){tD(t,i,n[i])})}return t}function rD(t){return function(n={}){const r=t.getMonitor(),i=t.getRegistry();iD(r),oD(r).forEach((s,o)=>{const f=aD(s,o,i,r),c={type:Nl,payload:{dropResult:nD({},n,f)}};t.dispatch(c)})}}function iD(t){te(t.isDragging(),"Cannot call drop while not dragging."),te(!t.didDrop(),"Cannot call drop twice during one drag operation.")}function aD(t,e,n,r){const i=n.getTarget(t);let a=i?i.drop(r,t):void 0;return sD(a),typeof a>"u"&&(a=e===0?{}:r.getDropResult()),a}function sD(t){te(typeof t>"u"||vb(t),"Drop result must either be an object or undefined.")}function oD(t){const e=t.getTargetIds().filter(t.canDropOnTarget,t);return e.reverse(),e}function lD(t){return function(){const n=t.getMonitor(),r=t.getRegistry();fD(n);const i=n.getSourceId();return i!=null&&(r.getSource(i,!0).endDrag(n,i),r.unpinSource()),{type:kl}}}function fD(t){te(t.isDragging(),"Cannot call endDrag while not dragging.")}function hc(t,e){return e===null?t===null:Array.isArray(t)?t.some(n=>n===e):t===e}function cD(t){return function(n,{clientOffset:r}={}){dD(n);const i=n.slice(0),a=t.getMonitor(),s=t.getRegistry(),o=a.getItemType();return hD(i,s,o),uD(i,a,s),pD(i,a,s),{type:Ll,payload:{targetIds:i,clientOffset:r||null}}}}function dD(t){te(Array.isArray(t),"Expected targetIds to be an array.")}function uD(t,e,n){te(e.isDragging(),"Cannot call hover while not dragging."),te(!e.didDrop(),"Cannot call hover after drop.");for(let r=0;r<t.length;r++){const i=t[r];te(t.lastIndexOf(i)===r,"Expected targetIds to be unique in the passed array.");const a=n.getTarget(i);te(a,"Expected targetIds to be registered.")}}function hD(t,e,n){for(let r=t.length-1;r>=0;r--){const i=t[r],a=e.getTargetType(i);hc(a,n)||t.splice(r,1)}}function pD(t,e,n){t.forEach(function(r){n.getTarget(r).hover(e,r)})}function mD(t){return function(){if(t.getMonitor().isDragging())return{type:Gd}}}function gD(t){return{beginDrag:ZT(t),publishDragSource:mD(t),hover:cD(t),drop:rD(t),endDrag:lD(t)}}class bD{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const e=this,{dispatch:n}=this.store;function r(a){return(...s)=>{const o=a.apply(e,s);typeof o<"u"&&n(o)}}const i=gD(this);return Object.keys(i).reduce((a,s)=>{const o=i[s];return a[s]=r(o),a},{})}dispatch(e){this.store.dispatch(e)}constructor(e,n){this.isSetUp=!1,this.handleRefCountChange=()=>{const r=this.store.getState().refCount>0;this.backend&&(r&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!r&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=n,e.subscribe(this.handleRefCountChange)}}function xD(t,e){return{x:t.x+e.x,y:t.y+e.y}}function yb(t,e){return{x:t.x-e.x,y:t.y-e.y}}function vD(t){const{clientOffset:e,initialClientOffset:n,initialSourceClientOffset:r}=t;return!e||!n||!r?null:yb(xD(e,r),n)}function yD(t){const{clientOffset:e,initialClientOffset:n}=t;return!e||!n?null:yb(e,n)}const ca=[],Wd=[];ca.__IS_NONE__=!0;Wd.__IS_ALL__=!0;function wD(t,e){return t===ca?!1:t===Wd||typeof e>"u"?!0:WT(e,t).length>0}class MD{subscribeToStateChange(e,n={}){const{handlerIds:r}=n;te(typeof e=="function","listener must be a function."),te(typeof r>"u"||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");let i=this.store.getState().stateId;const a=()=>{const s=this.store.getState(),o=s.stateId;try{o===i||o===i+1&&!wD(s.dirtyHandlerIds,r)||e()}finally{i=o}};return this.store.subscribe(a)}subscribeToOffsetChange(e){te(typeof e=="function","listener must be a function.");let n=this.store.getState().dragOffset;const r=()=>{const i=this.store.getState().dragOffset;i!==n&&(n=i,e())};return this.store.subscribe(r)}canDragSource(e){if(!e)return!1;const n=this.registry.getSource(e);return te(n,`Expected to find a valid source. sourceId=${e}`),this.isDragging()?!1:n.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;const n=this.registry.getTarget(e);if(te(n,`Expected to find a valid target. targetId=${e}`),!this.isDragging()||this.didDrop())return!1;const r=this.registry.getTargetType(e),i=this.getItemType();return hc(r,i)&&n.canDrop(this,e)}isDragging(){return!!this.getItemType()}isDraggingSource(e){if(!e)return!1;const n=this.registry.getSource(e,!0);if(te(n,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()||!this.isSourcePublic())return!1;const r=this.registry.getSourceType(e),i=this.getItemType();return r!==i?!1:n.isDragging(this,e)}isOverTarget(e,n={shallow:!1}){if(!e)return!1;const{shallow:r}=n;if(!this.isDragging())return!1;const i=this.registry.getTargetType(e),a=this.getItemType();if(a&&!hc(i,a))return!1;const s=this.getTargetIds();if(!s.length)return!1;const o=s.indexOf(e);return r?o===s.length-1:o>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return vD(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return yD(this.store.getState().dragOffset)}constructor(e,n){this.store=e,this.registry=n}}const Hh=typeof global<"u"?global:self,wb=Hh.MutationObserver||Hh.WebKitMutationObserver;function Mb(t){return function(){const n=setTimeout(i,0),r=setInterval(i,50);function i(){clearTimeout(n),clearInterval(r),t()}}}function jD(t){let e=1;const n=new wb(t),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){e=-e,r.data=e}}const CD=typeof wb=="function"?jD:Mb;class LD{enqueueTask(e){const{queue:n,requestFlush:r}=this;n.length||(r(),this.flushing=!0),n[n.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.index<e.length;){const n=this.index;if(this.index++,e[n].call(),this.index>this.capacity){for(let r=0,i=e.length-this.index;r<i;r++)e[r]=e[r+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=CD(this.flush),this.requestErrorThrow=Mb(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class ND{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,n){this.onError=e,this.release=n,this.task=null}}class kD{create(e){const n=this.freeTasks,r=n.length?n.pop():new ND(this.onError,i=>n[n.length]=i);return r.task=e,r}constructor(e){this.onError=e,this.freeTasks=[]}}const jb=new LD,SD=new kD(jb.registerPendingError);function ID(t){jb.enqueueTask(SD.create(t))}const $d="dnd-core/ADD_SOURCE",Zd="dnd-core/ADD_TARGET",qd="dnd-core/REMOVE_SOURCE",Sl="dnd-core/REMOVE_TARGET";function TD(t){return{type:$d,payload:{sourceId:t}}}function DD(t){return{type:Zd,payload:{targetId:t}}}function ED(t){return{type:qd,payload:{sourceId:t}}}function AD(t){return{type:Sl,payload:{targetId:t}}}function zD(t){te(typeof t.canDrag=="function","Expected canDrag to be a function."),te(typeof t.beginDrag=="function","Expected beginDrag to be a function."),te(typeof t.endDrag=="function","Expected endDrag to be a function.")}function OD(t){te(typeof t.canDrop=="function","Expected canDrop to be a function."),te(typeof t.hover=="function","Expected hover to be a function."),te(typeof t.drop=="function","Expected beginDrag to be a function.")}function pc(t,e){if(e&&Array.isArray(t)){t.forEach(n=>pc(n,!1));return}te(typeof t=="string"||typeof t=="symbol",e?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var It;(function(t){t.SOURCE="SOURCE",t.TARGET="TARGET"})(It||(It={}));let PD=0;function RD(){return PD++}function BD(t){const e=RD().toString();switch(t){case It.SOURCE:return`S${e}`;case It.TARGET:return`T${e}`;default:throw new Error(`Unknown Handler Role: ${t}`)}}function Fh(t){switch(t[0]){case"S":return It.SOURCE;case"T":return It.TARGET;default:throw new Error(`Cannot parse handler ID: ${t}`)}}function Uh(t,e){const n=t.entries();let r=!1;do{const{done:i,value:[,a]}=n.next();if(a===e)return!0;r=!!i}while(!r);return!1}class HD{addSource(e,n){pc(e),zD(n);const r=this.addHandler(It.SOURCE,e,n);return this.store.dispatch(TD(r)),r}addTarget(e,n){pc(e,!0),OD(n);const r=this.addHandler(It.TARGET,e,n);return this.store.dispatch(DD(r)),r}containsHandler(e){return Uh(this.dragSources,e)||Uh(this.dropTargets,e)}getSource(e,n=!1){return te(this.isSourceId(e),"Expected a valid source ID."),n&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return te(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return te(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return te(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return Fh(e)===It.SOURCE}isTargetId(e){return Fh(e)===It.TARGET}removeSource(e){te(this.getSource(e),"Expected an existing source."),this.store.dispatch(ED(e)),ID(()=>{this.dragSources.delete(e),this.types.delete(e)})}removeTarget(e){te(this.getTarget(e),"Expected an existing target."),this.store.dispatch(AD(e)),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){const n=this.getSource(e);te(n,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=n}unpinSource(){te(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,n,r){const i=BD(e);return this.types.set(i,n),e===It.SOURCE?this.dragSources.set(i,r):e===It.TARGET&&this.dropTargets.set(i,r),i}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}const FD=(t,e)=>t===e;function UD(t,e){return!t&&!e?!0:!t||!e?!1:t.x===e.x&&t.y===e.y}function _D(t,e,n=FD){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!n(t[r],e[r]))return!1;return!0}function JD(t=ca,e){switch(e.type){case Ll:break;case $d:case Zd:case Sl:case qd:return ca;case Cl:case Gd:case kl:case Nl:default:return Wd}const{targetIds:n=[],prevTargetIds:r=[]}=e.payload,i=GT(n,r);if(!(i.length>0||!_D(n,r)))return ca;const s=r[r.length-1],o=n[n.length-1];return s!==o&&(s&&i.push(s),o&&i.push(o)),i}function VD(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function YD(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){VD(t,i,n[i])})}return t}const _h={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function QD(t=_h,e){const{payload:n}=e;switch(e.type){case Qd:case Cl:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case Ll:return UD(t.clientOffset,n.clientOffset)?t:YD({},t,{clientOffset:n.clientOffset});case kl:case Nl:return _h;default:return t}}function GD(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){GD(t,i,n[i])})}return t}const WD={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function $D(t=WD,e){const{payload:n}=e;switch(e.type){case Cl:return Yr({},t,{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case Gd:return Yr({},t,{isSourcePublic:!0});case Ll:return Yr({},t,{targetIds:n.targetIds});case Sl:return t.targetIds.indexOf(n.targetId)===-1?t:Yr({},t,{targetIds:QT(t.targetIds,n.targetId)});case Nl:return Yr({},t,{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case kl:return Yr({},t,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return t}}function ZD(t=0,e){switch(e.type){case $d:case Zd:return t+1;case qd:case Sl:return t-1;default:return t}}function qD(t=0){return t+1}function KD(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function XD(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){KD(t,i,n[i])})}return t}function eE(t={},e){return{dirtyHandlerIds:JD(t.dirtyHandlerIds,{type:e.type,payload:XD({},e.payload,{prevTargetIds:YT(t,"dragOperation.targetIds",[])})}),dragOffset:QD(t.dragOffset,e),refCount:ZD(t.refCount,e),dragOperation:$D(t.dragOperation,e),stateId:qD(t.stateId)}}function tE(t,e=void 0,n={},r=!1){const i=nE(r),a=new MD(i,new HD(i)),s=new bD(i,a),o=t(s,e,n);return s.receiveBackend(o),s}function nE(t){const e=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__;return xb(eE,t&&e&&e({name:"dnd-core",instanceId:"dnd-core"}))}function rE(t,e){if(t==null)return{};var n=iE(t,e),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)r=a[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function iE(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,a;for(a=0;a<r.length;a++)i=r[a],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}let Jh=0;const _s=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var Cb=M.memo(function(e){var{children:n}=e,r=rE(e,["children"]);const[i,a]=aE(r);return M.useEffect(()=>{if(a){const s=Lb();return++Jh,()=>{--Jh===0&&(s[_s]=null)}}},[]),l.jsx(bb.Provider,{value:i,children:n})});function aE(t){if("manager"in t)return[{dragDropManager:t.manager},!1];const e=sE(t.backend,t.context,t.options,t.debugMode),n=!t.context;return[e,n]}function sE(t,e=Lb(),n,r){const i=e;return i[_s]||(i[_s]={dragDropManager:tE(t,e,n,r)}),i[_s]}function Lb(){return typeof global<"u"?global:window}function oE(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var pf,Vh;function lE(){return Vh||(Vh=1,pf=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!t(e[i],n[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(a=Object.keys(e),r=a.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;i--!==0;){var s=a[i];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n}),pf}var fE=lE();const cE=oE(fE),Nr=typeof window<"u"?M.useLayoutEffect:M.useEffect;function dE(t,e,n){const[r,i]=M.useState(()=>e(t)),a=M.useCallback(()=>{const s=e(t);cE(r,s)||(i(s),n&&n())},[r,t,n]);return Nr(a),[r,a]}function uE(t,e,n){const[r,i]=dE(t,e,n);return Nr(function(){const s=t.getHandlerId();if(s!=null)return t.subscribeToStateChange(i,{handlerIds:[s]})},[t,i]),r}function Nb(t,e,n){return uE(e,t||(()=>({})),()=>n.reconnect())}function kb(t,e){const n=[...e||[]];return e==null&&typeof t!="function"&&n.push(t),M.useMemo(()=>typeof t=="function"?t():t,n)}function hE(t){return M.useMemo(()=>t.hooks.dragSource(),[t])}function pE(t){return M.useMemo(()=>t.hooks.dragPreview(),[t])}let mf=!1,gf=!1;class mE{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){te(!mf,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return mf=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{mf=!1}}isDragging(){if(!this.sourceId)return!1;te(!gf,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return gf=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{gf=!1}}subscribeToStateChange(e,n){return this.internalMonitor.subscribeToStateChange(e,n)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,n){return this.internalMonitor.isOverTarget(e,n)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}}let bf=!1;class gE{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,n){return this.internalMonitor.subscribeToStateChange(e,n)}canDrop(){if(!this.targetId)return!1;te(!bf,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return bf=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{bf=!1}}isOver(e){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,e):!1}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}}function bE(t,e,n){const r=n.getRegistry(),i=r.addTarget(t,e);return[i,()=>r.removeTarget(i)]}function xE(t,e,n){const r=n.getRegistry(),i=r.addSource(t,e);return[i,()=>r.removeSource(i)]}function mc(t,e,n,r){let i;if(i!==void 0)return!!i;if(t===e)return!0;if(typeof t!="object"||!t||typeof e!="object"||!e)return!1;const a=Object.keys(t),s=Object.keys(e);if(a.length!==s.length)return!1;const o=Object.prototype.hasOwnProperty.bind(e);for(let f=0;f<a.length;f++){const c=a[f];if(!o(c))return!1;const d=t[c],u=e[c];if(i=void 0,i===!1||i===void 0&&d!==u)return!1}return!0}function gc(t){return t!==null&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function vE(t){if(typeof t.type=="string")return;const e=t.type.displayName||t.type.name||"the component";throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${e} into a <div>, or turn it into a drag source or a drop target itself.`)}function yE(t){return(e=null,n=null)=>{if(!M.isValidElement(e)){const a=e;return t(a,n),a}const r=e;return vE(r),wE(r,n?a=>t(a,n):t)}}function Sb(t){const e={};return Object.keys(t).forEach(n=>{const r=t[n];if(n.endsWith("Ref"))e[n]=t[n];else{const i=yE(r);e[n]=()=>i}}),e}function Yh(t,e){typeof t=="function"?t(e):t.current=e}function wE(t,e){const n=t.ref;return te(typeof n!="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),n?M.cloneElement(t,{ref:r=>{Yh(n,r),Yh(e,r)}}):M.cloneElement(t,{ref:e})}class ME{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){const e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){const e=this.dragSource,n=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return n&&this.disconnectDragSource(),this.handlerId?e?(n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)),n):(this.lastConnectedDragSource=e,n):n}reconnectDragPreview(e=!1){const n=this.dragPreview,r=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(r&&this.disconnectDragPreview(),!!this.handlerId){if(!n){this.lastConnectedDragPreview=n;return}r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=n,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,n,this.dragPreviewOptions))}}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!mc(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!mc(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=Sb({dragSource:(n,r)=>{this.clearDragSource(),this.dragSourceOptions=r||null,gc(n)?this.dragSourceRef=n:this.dragSourceNode=n,this.reconnectDragSource()},dragPreview:(n,r)=>{this.clearDragPreview(),this.dragPreviewOptions=r||null,gc(n)?this.dragPreviewRef=n:this.dragPreviewNode=n,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}}class jE{get connectTarget(){return this.dropTarget}reconnect(){const e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();const n=this.dropTarget;if(this.handlerId){if(!n){this.lastConnectedDropTarget=n;return}e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=n,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,n,this.dropTargetOptions))}}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!mc(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=Sb({dropTarget:(n,r)=>{this.clearDropTarget(),this.dropTargetOptions=r,gc(n)?this.dropTargetRef=n:this.dropTargetNode=n,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}}function Ii(){const{dragDropManager:t}=M.useContext(bb);return te(t!=null,"Expected drag drop context"),t}function CE(t,e){const n=Ii(),r=M.useMemo(()=>new ME(n.getBackend()),[n]);return Nr(()=>(r.dragSourceOptions=t||null,r.reconnect(),()=>r.disconnectDragSource()),[r,t]),Nr(()=>(r.dragPreviewOptions=e||null,r.reconnect(),()=>r.disconnectDragPreview()),[r,e]),r}function LE(){const t=Ii();return M.useMemo(()=>new mE(t),[t])}class NE{beginDrag(){const e=this.spec,n=this.monitor;let r=null;return typeof e.item=="object"?r=e.item:typeof e.item=="function"?r=e.item(n):r={},r??null}canDrag(){const e=this.spec,n=this.monitor;return typeof e.canDrag=="boolean"?e.canDrag:typeof e.canDrag=="function"?e.canDrag(n):!0}isDragging(e,n){const r=this.spec,i=this.monitor,{isDragging:a}=r;return a?a(i):n===e.getSourceId()}endDrag(){const e=this.spec,n=this.monitor,r=this.connector,{end:i}=e;i&&i(n.getItem(),n),r.reconnect()}constructor(e,n,r){this.spec=e,this.monitor=n,this.connector=r}}function kE(t,e,n){const r=M.useMemo(()=>new NE(t,e,n),[e,n]);return M.useEffect(()=>{r.spec=t},[t]),r}function SE(t){return M.useMemo(()=>{const e=t.type;return te(e!=null,"spec.type must be defined"),e},[t])}function IE(t,e,n){const r=Ii(),i=kE(t,e,n),a=SE(t);Nr(function(){if(a!=null){const[o,f]=xE(a,i,r);return e.receiveHandlerId(o),n.receiveHandlerId(o),f}},[r,e,n,i,a])}function TE(t,e){const n=kb(t,e);te(!n.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const r=LE(),i=CE(n.options,n.previewOptions);return IE(n,r,i),[Nb(n.collect,r,i),hE(i),pE(i)]}function DE(t){return M.useMemo(()=>t.hooks.dropTarget(),[t])}function EE(t){const e=Ii(),n=M.useMemo(()=>new jE(e.getBackend()),[e]);return Nr(()=>(n.dropTargetOptions=t||null,n.reconnect(),()=>n.disconnectDropTarget()),[t]),n}function AE(){const t=Ii();return M.useMemo(()=>new gE(t),[t])}function zE(t){const{accept:e}=t;return M.useMemo(()=>(te(t.accept!=null,"accept must be defined"),Array.isArray(e)?e:[e]),[e])}class OE{canDrop(){const e=this.spec,n=this.monitor;return e.canDrop?e.canDrop(n.getItem(),n):!0}hover(){const e=this.spec,n=this.monitor;e.hover&&e.hover(n.getItem(),n)}drop(){const e=this.spec,n=this.monitor;if(e.drop)return e.drop(n.getItem(),n)}constructor(e,n){this.spec=e,this.monitor=n}}function PE(t,e){const n=M.useMemo(()=>new OE(t,e),[e]);return M.useEffect(()=>{n.spec=t},[t]),n}function RE(t,e,n){const r=Ii(),i=PE(t,e),a=zE(t);Nr(function(){const[o,f]=bE(a,i,r);return e.receiveHandlerId(o),n.receiveHandlerId(o),f},[r,e,i,n,a.map(s=>s.toString()).join("|")])}function Kd(t,e){const n=kb(t,e),r=AE(),i=EE(n.options);return RE(n,r,i),[Nb(n.collect,r,i),DE(i)]}function Ib(t){let e=null;return()=>(e==null&&(e=t()),e)}function BE(t,e){return t.filter(n=>n!==e)}function HE(t,e){const n=new Set,r=a=>n.add(a);t.forEach(r),e.forEach(r);const i=[];return n.forEach(a=>i.push(a)),i}class FE{enter(e){const n=this.entered.length,r=i=>this.isNodeInDocument(i)&&(!i.contains||i.contains(e));return this.entered=HE(this.entered.filter(r),[e]),n===0&&this.entered.length>0}leave(e){const n=this.entered.length;return this.entered=BE(this.entered.filter(this.isNodeInDocument),e),n>0&&this.entered.length===0}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class UE{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get(){return console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null}})})}loadDataTransfer(e){if(e){const n={};Object.keys(this.config.exposeProperties).forEach(r=>{const i=this.config.exposeProperties[r];i!=null&&(n[r]={value:i(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,n)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,n){return n===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}const Tb="__NATIVE_FILE__",Db="__NATIVE_URL__",Eb="__NATIVE_TEXT__",Ab="__NATIVE_HTML__",Qh=Object.freeze(Object.defineProperty({__proto__:null,FILE:Tb,HTML:Ab,TEXT:Eb,URL:Db},Symbol.toStringTag,{value:"Module"}));function xf(t,e,n){const r=e.reduce((i,a)=>i||t.getData(a),"");return r??n}const bc={[Tb]:{exposeProperties:{files:t=>Array.prototype.slice.call(t.files),items:t=>t.items,dataTransfer:t=>t},matchesTypes:["Files"]},[Ab]:{exposeProperties:{html:(t,e)=>xf(t,e,""),dataTransfer:t=>t},matchesTypes:["Html","text/html"]},[Db]:{exposeProperties:{urls:(t,e)=>xf(t,e,"").split(`
|
|
222
|
-
`),dataTransfer:t=>t},matchesTypes:["Url","text/uri-list"]},[Eb]:{exposeProperties:{text:(t,e)=>xf(t,e,""),dataTransfer:t=>t},matchesTypes:["Text","text/plain"]}};function _E(t,e){const n=bc[t];if(!n)throw new Error(`native type ${t} has no configuration`);const r=new UE(n);return r.loadDataTransfer(e),r}function vf(t){if(!t)return null;const e=Array.prototype.slice.call(t.types||[]);return Object.keys(bc).filter(n=>{const r=bc[n];return r!=null&&r.matchesTypes?r.matchesTypes.some(i=>e.indexOf(i)>-1):!1})[0]||null}const JE=Ib(()=>/firefox/i.test(navigator.userAgent)),zb=Ib(()=>!!window.safari);class Gh{interpolate(e){const{xs:n,ys:r,c1s:i,c2s:a,c3s:s}=this;let o=n.length-1;if(e===n[o])return r[o];let f=0,c=s.length-1,d;for(;f<=c;){d=Math.floor(.5*(f+c));const h=n[d];if(h<e)f=d+1;else if(h>e)c=d-1;else return r[d]}o=Math.max(0,c);const u=e-n[o],p=u*u;return r[o]+i[o]*u+a[o]*p+s[o]*u*p}constructor(e,n){const{length:r}=e,i=[];for(let h=0;h<r;h++)i.push(h);i.sort((h,m)=>e[h]<e[m]?-1:1);const a=[],s=[];let o,f;for(let h=0;h<r-1;h++)o=e[h+1]-e[h],f=n[h+1]-n[h],a.push(o),s.push(f/o);const c=[s[0]];for(let h=0;h<a.length-1;h++){const m=s[h],g=s[h+1];if(m*g<=0)c.push(0);else{o=a[h];const b=a[h+1],x=o+b;c.push(3*x/((x+b)/m+(x+o)/g))}}c.push(s[s.length-1]);const d=[],u=[];let p;for(let h=0;h<c.length-1;h++){p=s[h];const m=c[h],g=1/a[h],b=m+c[h+1]-p-p;d.push((p-m-b)*g),u.push(b*g*g)}this.xs=e,this.ys=n,this.c1s=c,this.c2s=d,this.c3s=u}}const VE=1;function Ob(t){const e=t.nodeType===VE?t:t.parentElement;if(!e)return null;const{top:n,left:r}=e.getBoundingClientRect();return{x:r,y:n}}function Ds(t){return{x:t.clientX,y:t.clientY}}function YE(t){var e;return t.nodeName==="IMG"&&(JE()||!(!((e=document.documentElement)===null||e===void 0)&&e.contains(t)))}function QE(t,e,n,r){let i=t?e.width:n,a=t?e.height:r;return zb()&&t&&(a/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:a}}function GE(t,e,n,r,i){const a=YE(e),o=Ob(a?t:e),f={x:n.x-o.x,y:n.y-o.y},{offsetWidth:c,offsetHeight:d}=t,{anchorX:u,anchorY:p}=r,{dragPreviewWidth:h,dragPreviewHeight:m}=QE(a,e,c,d),g=()=>{let C=new Gh([0,.5,1],[f.y,f.y/d*m,f.y+m-d]).interpolate(p);return zb()&&a&&(C+=(window.devicePixelRatio-1)*m),C},b=()=>new Gh([0,.5,1],[f.x,f.x/c*h,f.x+h-c]).interpolate(u),{offsetX:x,offsetY:w}=i,j=x===0||x,v=w===0||w;return{x:j?x:b(),y:v?w:g()}}class WE{get window(){if(this.globalContext)return this.globalContext;if(typeof window<"u")return window}get document(){var e;return!((e=this.globalContext)===null||e===void 0)&&e.document?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return((e=this.optionsArgs)===null||e===void 0?void 0:e.rootElement)||this.window}constructor(e,n){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=n}}function $E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wh(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){$E(t,i,n[i])})}return t}class ZE{profile(){var e,n;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((e=this.dragStartSourceIds)===null||e===void 0?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((n=this.dragOverTargetIds)===null||n===void 0?void 0:n.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const e=this.rootElement;if(e!==void 0){if(e.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){const e=this.rootElement;if(e!==void 0&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var n;(n=this.window)===null||n===void 0||n.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(e,n,r){return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,n),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,n,r){this.sourceNodes.set(e,n),this.sourceNodeOptions.set(e,r);const i=s=>this.handleDragStart(s,e),a=s=>this.handleSelectStart(s);return n.setAttribute("draggable","true"),n.addEventListener("dragstart",i),n.addEventListener("selectstart",a),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),n.removeEventListener("dragstart",i),n.removeEventListener("selectstart",a),n.setAttribute("draggable","false")}}connectDropTarget(e,n){const r=s=>this.handleDragEnter(s,e),i=s=>this.handleDragOver(s,e),a=s=>this.handleDrop(s,e);return n.addEventListener("dragenter",r),n.addEventListener("dragover",i),n.addEventListener("drop",a),()=>{n.removeEventListener("dragenter",r),n.removeEventListener("dragover",i),n.removeEventListener("drop",a)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const e=this.monitor.getSourceId(),n=this.sourceNodeOptions.get(e);return Wh({dropEffect:this.altKeyPressed?"copy":"move"},n||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const e=this.monitor.getSourceId(),n=this.sourcePreviewNodeOptions.get(e);return Wh({anchorX:.5,anchorY:.5,captureDraggingState:!1},n||{})}isDraggingNativeItem(){const e=this.monitor.getItemType();return Object.keys(Qh).some(n=>Qh[n]===e)}beginDragNativeItem(e,n){this.clearCurrentDragSourceNode(),this.currentNativeSource=_E(e,n),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e;const n=1e3;this.mouseMoveTimeoutTimer=setTimeout(()=>{var r;return(r=this.rootElement)===null||r===void 0?void 0:r.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},n)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;(e=this.window)===null||e===void 0||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,n){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(n))}handleDragEnter(e,n){this.dragEnterTargetIds.unshift(n)}handleDragOver(e,n){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(n)}handleDrop(e,n){this.dropTargetIds.unshift(n)}constructor(e,n,r){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=i=>{const a=this.sourceNodes.get(i);return a&&Ob(a)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=i=>!!(i&&this.document&&this.document.body&&this.document.body.contains(i)),this.endDragIfSourceWasRemovedFromDOM=()=>{const i=this.currentDragSourceNode;i==null||this.isNodeInDocument(i)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=i=>{this.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(i||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame<"u"&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=i=>{if(i.defaultPrevented)return;const{dragStartSourceIds:a}=this;this.dragStartSourceIds=null;const s=Ds(i);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(a||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:s});const{dataTransfer:o}=i,f=vf(o);if(this.monitor.isDragging()){if(o&&typeof o.setDragImage=="function"){const d=this.monitor.getSourceId(),u=this.sourceNodes.get(d),p=this.sourcePreviewNodes.get(d)||u;if(p){const{anchorX:h,anchorY:m,offsetX:g,offsetY:b}=this.getCurrentSourcePreviewNodeOptions(),j=GE(u,p,s,{anchorX:h,anchorY:m},{offsetX:g,offsetY:b});o.setDragImage(p,j.x,j.y)}}try{o==null||o.setData("application/json",{})}catch{}this.setCurrentDragSourceNode(i.target);const{captureDraggingState:c}=this.getCurrentSourcePreviewNodeOptions();c?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(f)this.beginDragNativeItem(f);else{if(o&&!o.types&&(i.target&&!i.target.hasAttribute||!i.target.hasAttribute("draggable")))return;i.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=i=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var a;(a=this.currentNativeSource)===null||a===void 0||a.loadDataTransfer(i.dataTransfer)}if(!this.enterLeaveCounter.enter(i.target)||this.monitor.isDragging())return;const{dataTransfer:o}=i,f=vf(o);f&&this.beginDragNativeItem(f,o)},this.handleTopDragEnter=i=>{const{dragEnterTargetIds:a}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=i.altKey,a.length>0&&this.actions.hover(a,{clientOffset:Ds(i)}),a.some(o=>this.monitor.canDropOnTarget(o))&&(i.preventDefault(),i.dataTransfer&&(i.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=i=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var a;(a=this.currentNativeSource)===null||a===void 0||a.loadDataTransfer(i.dataTransfer)}},this.handleTopDragOver=i=>{const{dragOverTargetIds:a}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){i.preventDefault(),i.dataTransfer&&(i.dataTransfer.dropEffect="none");return}this.altKeyPressed=i.altKey,this.lastClientOffset=Ds(i),this.scheduleHover(a),(a||[]).some(o=>this.monitor.canDropOnTarget(o))?(i.preventDefault(),i.dataTransfer&&(i.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?i.preventDefault():(i.preventDefault(),i.dataTransfer&&(i.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=i=>{this.isDraggingNativeItem()&&i.preventDefault(),this.enterLeaveCounter.leave(i.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=i=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var a;i.preventDefault(),(a=this.currentNativeSource)===null||a===void 0||a.loadDataTransfer(i.dataTransfer)}else vf(i.dataTransfer)&&i.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=i=>{const{dropTargetIds:a}=this;this.dropTargetIds=[],this.actions.hover(a,{clientOffset:Ds(i)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=i=>{const a=i.target;typeof a.dragDrop=="function"&&(a.tagName==="INPUT"||a.tagName==="SELECT"||a.tagName==="TEXTAREA"||a.isContentEditable||(i.preventDefault(),a.dragDrop()))},this.options=new WE(n,r),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new FE(this.isNodeInDocument)}}const Pb=function(e,n,r){return new ZE(e,n,r)},Oa={TASK:"task"},Rb={instagram:N.Instagram,linkedin:N.Linkedin,facebook:N.Facebook,twitter:N.Twitter,youtube:N.Youtube,blog:N.Calendar,other:N.Calendar},yf={instagram:"text-pink-600",linkedin:"text-blue-700",facebook:"text-blue-600",twitter:"text-sky-500",youtube:"text-red-600",blog:"text-orange-500",other:"text-gray-500"},xc={idea:"bg-gray-100 text-gray-600 border-gray-200",planned:"bg-blue-50 text-blue-600 border-blue-200","in-progress":"bg-yellow-50 text-yellow-600 border-yellow-200",approval:"bg-purple-50 text-purple-600 border-purple-200",scheduled:"bg-green-50 text-green-600 border-green-200",published:"bg-slate-800 text-white border-slate-700"},$h=["bg-blue-50 border-blue-100 text-blue-700","bg-green-50 border-green-100 text-green-700","bg-purple-50 border-purple-100 text-purple-700","bg-orange-50 border-orange-100 text-orange-700","bg-pink-50 border-pink-100 text-pink-700","bg-yellow-50 border-yellow-100 text-yellow-700"],Zh=t=>{const e=t.split("").reduce((n,r)=>n+r.charCodeAt(0),0);return $h[e%$h.length]};function Il({task:t,view:e="month",mode:n="editorial",onClick:r,style:i}){var p;const[{isDragging:a},s]=TE(()=>({type:Oa.TASK,item:{id:t.id,type:Oa.TASK},collect:h=>({isDragging:!!h.isDragging()})}),[t.id]),o=t.channel?Rb[t.channel]:N.Calendar,f=t.date?new Date(t.date):null,c=t.endDate?new Date(t.endDate):f?R.addHours(f,1):null,d=f?R.format(f,"HH:mm"):null,u=f&&c?`${R.format(f,"HH:mm")} - ${R.format(c,"HH:mm")}`:d;return n==="editorial"&&(e==="week"||e==="day")?l.jsxs("div",{ref:s,onClick:r,className:y("relative group cursor-pointer bg-white border rounded-md shadow-sm hover:shadow-md transition-all mb-3 overflow-hidden",a?"opacity-50":"opacity-100",t.status==="published"?"border-l-4 border-l-slate-800":"border-l-4 border-l-[#7F26BF]"),children:[l.jsxs("div",{className:"flex items-center justify-between px-3 py-2 border-b bg-gray-50/50",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(o,{size:14,className:y(t.channel?yf[t.channel]:"text-gray-400")}),d&&l.jsx("span",{className:"text-xs font-medium text-gray-500",children:d})]}),l.jsx("div",{className:"opacity-0 group-hover:opacity-100 text-gray-400 cursor-grab",children:l.jsx(N.GripVertical,{size:14})})]}),t.imageUrl&&l.jsx("div",{className:"w-full aspect-video bg-gray-100 relative border-b",children:l.jsx("img",{src:t.imageUrl,alt:"",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-3",children:[l.jsx("h4",{className:"text-sm font-medium text-gray-900 line-clamp-2 mb-2 leading-snug",children:t.title}),l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsx(be,{variant:"outline",className:y("px-1.5 py-0 text-[10px] h-5 font-normal uppercase tracking-wide",xc[t.status]),children:t.status}),t.assignees&&t.assignees.length>0&&l.jsx("div",{className:"flex -space-x-2",children:t.assignees.slice(0,2).map((h,m)=>l.jsxs(Jt,{className:"w-5 h-5 border border-white",children:[l.jsx(Vn,{src:h.avatar}),l.jsx(Vt,{className:"text-[8px]",children:h.name[0]})]},m))})]})]})]}):n==="editorial"&&e==="month"?l.jsxs("div",{ref:s,onClick:r,className:y("relative group cursor-pointer bg-white border rounded-md shadow-sm hover:shadow-md transition-all mb-1 overflow-hidden flex items-center gap-2 p-1.5",a?"opacity-50":"opacity-100",t.status==="published"?"border-l-4 border-l-slate-800":"border-l-4 border-l-[#7F26BF]"),children:[t.imageUrl&&l.jsx("div",{className:"w-8 h-8 flex-shrink-0 bg-gray-100 rounded overflow-hidden",children:l.jsx("img",{src:t.imageUrl,alt:"",className:"w-full h-full object-cover"})}),l.jsx("div",{className:"min-w-0 flex-1",children:l.jsxs("div",{className:"flex items-center gap-1.5",children:[l.jsx(o,{size:12,className:y(t.channel?yf[t.channel]:"text-gray-400")}),l.jsx("span",{className:"truncate font-medium text-xs",children:t.title})]})})]}):n==="execution"&&(e==="week"||e==="day")?l.jsxs("div",{ref:s,onClick:r,style:i,className:y("absolute z-10 rounded-md border shadow-sm p-1.5 text-xs flex flex-col overflow-hidden hover:overflow-visible hover:h-auto! hover:min-h-[min-content] hover:z-50 transition-all cursor-pointer group",a?"opacity-50":"opacity-100",t.color||Zh(t.id)),children:[l.jsxs("div",{className:"flex items-center gap-1 mb-0.5 font-semibold opacity-75 text-[10px] leading-none",children:[l.jsx(N.Clock,{size:10}),l.jsx("span",{className:"truncate",children:u})]}),l.jsx("div",{className:"font-bold leading-tight mb-1 line-clamp-2 text-[11px]",children:t.title}),l.jsxs("div",{className:"mt-auto flex items-center justify-between pt-1",children:[l.jsx("div",{className:"flex -space-x-1.5",children:(p=t.assignees)==null?void 0:p.map((h,m)=>l.jsxs(Jt,{className:"w-4 h-4 border border-white",children:[l.jsx(Vn,{src:h.avatar}),l.jsx(Vt,{className:"text-[8px]",children:h.name[0]})]},m))}),t.status!=="published"&&l.jsx("div",{className:y("w-2 h-2 rounded-full",xc[t.status].split(" ")[1].replace("text-","bg-"))})]})]}):n==="execution"&&e==="month"?l.jsxs("div",{ref:s,onClick:r,className:y("relative group cursor-pointer rounded px-2 py-1 mb-1 text-xs truncate font-medium transition-all",a?"opacity-50":"opacity-100",t.color||Zh(t.id).replace("bg-","bg-opacity-20 bg-")),children:[d," ",t.title]}):l.jsxs("div",{ref:s,onClick:r,className:y("relative group cursor-pointer bg-white border rounded-md shadow-sm hover:shadow-md transition-all mb-2 p-2 flex items-start gap-3",a?"opacity-50":"opacity-100",n==="editorial"&&(t.status==="published"?"border-l-4 border-l-slate-800":"border-l-4 border-l-[#7F26BF]")),children:[n==="editorial"&&t.imageUrl&&l.jsx("div",{className:"w-10 h-10 flex-shrink-0 bg-gray-100 rounded overflow-hidden",children:l.jsx("img",{src:t.imageUrl,alt:"",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"min-w-0 flex-1",children:[l.jsxs("div",{className:"flex items-center gap-1.5 mb-1",children:[n==="editorial"&&l.jsx(o,{size:12,className:y(t.channel?yf[t.channel]:"text-gray-400")}),l.jsx("span",{className:"truncate font-medium text-sm",children:t.title})]}),l.jsx(be,{variant:"secondary",className:"text-[10px] h-4 px-1 py-0",children:t.status})]})]})}function qE({days:t,tasks:e,onDropTask:n,onTaskClick:r,onAddClick:i,view:a}){return l.jsx("div",{className:y("grid h-full min-h-[calc(100vh-200px)] bg-gray-50/30",a==="week"?"grid-cols-7 divide-x":"grid-cols-1 border-x"),children:t.map(s=>{const o=e.filter(f=>f.date&&R.isSameDay(new Date(f.date),s)).sort((f,c)=>f.date&&c.date?new Date(f.date).getTime()-new Date(c.date).getTime():0);return l.jsx(KE,{day:s,tasks:o,onDropTask:n,onTaskClick:r,onAddClick:i,isToday:R.isToday(s)},s.toISOString())})})}function KE({day:t,tasks:e,onDropTask:n,onTaskClick:r,onAddClick:i,isToday:a}){const[{isOver:s},o]=Kd(()=>({accept:Oa.TASK,drop:f=>n(f.id,t),collect:f=>({isOver:!!f.isOver()})}),[t,n]);return l.jsxs("div",{ref:o,className:y("flex flex-col h-full min-h-0 transition-colors",s&&"bg-purple-50 ring-inset ring-2 ring-[#7F26BF]"),children:[l.jsxs("div",{className:y("p-2 text-center border-b bg-white sticky top-0 z-10",a&&"bg-purple-50/50"),children:[l.jsx("div",{className:"text-xs font-semibold uppercase text-gray-500 mb-1",children:R.format(t,"EEE")}),l.jsx("div",{className:y("w-8 h-8 rounded-full flex items-center justify-center mx-auto text-sm font-medium",a?"bg-[#7F26BF] text-white":"text-gray-900 bg-gray-100"),children:R.format(t,"d")})]}),l.jsxs("div",{className:"flex-1 p-2 space-y-3 overflow-y-auto",children:[l.jsxs(B,{variant:"outline",size:"sm",className:"w-full mb-2 justify-center px-1",onClick:()=>i(t),children:[l.jsx(N.Plus,{size:12,className:"flex-shrink-0"}),l.jsx("span",{className:"truncate ml-1.5 hidden xl:inline",children:"Add Post"}),l.jsx("span",{className:"truncate ml-1.5 inline xl:hidden",children:"Add"})]}),e.map(f=>l.jsx(Il,{task:f,view:"week",mode:"editorial",onClick:()=>r(f)},f.id))]})]})}function XE({days:t,tasks:e,onDropTask:n,onTaskClick:r,onAddClick:i}){const a=Array.from({length:24},(s,o)=>o);return l.jsxs("div",{className:"flex h-full relative overflow-y-auto bg-white select-none",children:[l.jsxs("div",{className:"w-14 flex-shrink-0 border-r bg-white sticky left-0 z-30",children:[l.jsx("div",{className:"h-10 border-b bg-white sticky top-0 z-40 flex-shrink-0"})," ",a.map(s=>l.jsx("div",{className:"h-24 border-b text-right pr-2 pt-2 text-xs text-gray-400 font-medium relative",children:l.jsx("span",{className:"-top-2.5 relative",children:R.format(R.setHours(new Date,s),"ha")})},s))]}),l.jsxs("div",{className:"flex flex-1 min-w-0 relative",children:[t.map((s,o)=>{const f=e.filter(c=>c.date&&R.isSameDay(new Date(c.date),s));return l.jsx(e5,{day:s,tasks:f,onDropTask:n,onTaskClick:r,onAddClick:i,isLast:o===t.length-1,HOURS:a},s.toISOString())}),l.jsxs("div",{className:"absolute inset-0 pointer-events-none z-0",children:[l.jsx("div",{className:"h-10 border-b bg-transparent"})," ",a.map(s=>l.jsx("div",{className:"h-24 border-b border-dashed border-gray-100 w-full"},s))]})]})]})}function e5({day:t,tasks:e,onDropTask:n,onTaskClick:r,onAddClick:i,isLast:a,HOURS:s}){const[{isOver:o},f]=Kd(()=>({accept:Oa.TASK,drop:(c,d)=>{n(c.id,t)},collect:c=>({isOver:!!c.isOver()})}),[t,n]);return l.jsxs("div",{ref:f,className:y("flex-1 relative min-w-[150px]",!a&&"border-r",o&&"bg-blue-50/30"),children:[l.jsx("div",{className:"sticky top-0 z-20 bg-white border-b h-10 flex items-center justify-center shadow-sm",children:l.jsxs("div",{className:"text-xs font-bold text-gray-500",children:[R.format(t,"EEE")," ",l.jsx("span",{className:y("ml-1",R.isToday(t)&&"text-blue-600"),children:R.format(t,"d")})]})}),s.map(c=>l.jsx("div",{className:"h-24 w-full absolute hover:bg-gray-50/50 transition-colors cursor-pointer z-10",style:{top:`${c*96+40}px`},onClick:d=>{d.stopPropagation();const u=new Date(t);u.setHours(c,0),i(u)}},c)),e.map(c=>{const d=c.date?new Date(c.date):new Date,u=c.endDate?new Date(c.endDate):R.addHours(d,1),p=R.getHours(d),h=R.getMinutes(d);let m=R.differenceInMinutes(u,d);m<30&&(m=30);const g=p*96+h/60*96+40,b=m/60*96;return l.jsx(Il,{task:c,view:"week",mode:"execution",onClick:()=>r(c),style:{top:`${g}px`,height:`${b}px`,left:"4px",right:"4px",position:"absolute"}},c.id)})]})}function Bb({days:t,tasks:e,currentDate:n,onDropTask:r,onTaskClick:i,onAddClick:a,mode:s}){return l.jsx("div",{className:"grid grid-cols-7 auto-rows-fr min-h-[800px]",children:t.map(o=>{const f=e.filter(c=>c.date&&R.isSameDay(new Date(c.date),o));return l.jsx(t5,{date:o,tasks:f,isCurrentMonth:R.isSameMonth(o,n),onDropTask:r,onTaskClick:i,onAddClick:a,mode:s},o.toISOString())})})}function t5({date:t,tasks:e,isCurrentMonth:n,onDropTask:r,onTaskClick:i,onAddClick:a,mode:s}){const[{isOver:o},f]=Kd(()=>({accept:Oa.TASK,drop:d=>r(d.id,t),collect:d=>({isOver:!!d.isOver()})}),[t,r]),c=R.isToday(t);return l.jsxs("div",{ref:f,className:y("min-h-[120px] border-b border-r p-2 relative transition-colors group flex flex-col",!n&&"bg-gray-50/50 text-gray-400",o&&"bg-purple-50 ring-2 ring-inset ring-[#7F26BF]",c&&"bg-purple-50/30"),children:[l.jsxs("div",{className:"flex justify-between items-start mb-2",children:[l.jsx("span",{className:y("text-sm font-medium rounded-full w-7 h-7 flex items-center justify-center",c?"bg-[#7F26BF] text-white":"text-gray-700"),children:R.format(t,"d")}),l.jsx(B,{variant:"ghost",size:"icon",className:"h-6 w-6 opacity-0 group-hover:opacity-100 transition-opacity",onClick:()=>a(t),children:l.jsx(N.Plus,{size:14})})]}),l.jsx("div",{className:"flex-1 flex flex-col gap-1",children:e.map(d=>l.jsx(Il,{task:d,view:"month",mode:s,onClick:()=>i(d)},d.id))})]})}function Hb({isOpen:t,onClose:e,task:n,onSave:r,isNew:i=!1}){const[a,s]=M.useState(n||{});M.useMemo(()=>{s(n||{})},[n]);const o=()=>{r(a),e()};return l.jsx(Za,{open:t,onOpenChange:f=>!f&&e(),children:l.jsxs(qa,{className:"sm:max-w-[600px]",children:[l.jsxs(Ka,{children:[l.jsx(Xa,{children:i?"Create New Task":"Edit Task"}),l.jsx(es,{children:i?"Enter the details for the new task below.":"Modify the details of the selected task."})]}),l.jsxs("div",{className:"grid gap-6 py-4",children:[l.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[l.jsx("label",{htmlFor:"title",className:"text-right text-sm font-medium",children:"Title"}),l.jsx("input",{id:"title",className:"col-span-3 flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",value:a.title||"",onChange:f=>s({...a,title:f.target.value}),placeholder:"e.g. New Feature Announcement"})]}),l.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[l.jsx("label",{className:"text-right text-sm font-medium",children:"Time"}),l.jsxs("div",{className:"col-span-3 flex gap-2 items-center",children:[l.jsx("input",{type:"date",className:"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm",value:a.date instanceof Date?R.format(a.date,"yyyy-MM-dd"):typeof a.date=="string"?a.date.split("T")[0]:"",onChange:f=>{const c=f.target.value,d=a.date instanceof Date?a.date:new Date,u=new Date(`${c}T${R.format(d,"HH:mm")}`);s({...a,date:u})}}),l.jsx("span",{className:"text-sm text-gray-500",children:"at"}),l.jsx("input",{type:"time",className:"w-32 flex h-9 rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm",value:a.date instanceof Date?R.format(a.date,"HH:mm"):"09:00",onChange:f=>{const c=f.target.value,d=a.date instanceof Date?R.format(a.date,"yyyy-MM-dd"):R.format(new Date,"yyyy-MM-dd");s({...a,date:new Date(`${d}T${c}`)})}})]})]}),l.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[l.jsx("label",{htmlFor:"channel",className:"text-right text-sm font-medium",children:"Channel / Category"}),l.jsx("select",{id:"channel",className:"col-span-3 flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm",value:a.channel||"instagram",onChange:f=>s({...a,channel:f.target.value}),children:Object.keys(Rb).map(f=>l.jsx("option",{value:f,children:f.charAt(0).toUpperCase()+f.slice(1)},f))})]}),l.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[l.jsx("label",{htmlFor:"status",className:"text-right text-sm font-medium",children:"Status"}),l.jsx("select",{id:"status",className:"col-span-3 flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm",value:a.status||"idea",onChange:f=>s({...a,status:f.target.value}),children:Object.keys(xc).map(f=>l.jsx("option",{value:f,children:f.charAt(0).toUpperCase()+f.slice(1)},f))})]}),l.jsxs("div",{className:"grid grid-cols-4 items-start gap-4",children:[l.jsx("label",{htmlFor:"description",className:"text-right text-sm font-medium pt-2",children:"Description"}),l.jsx("textarea",{id:"description",className:"col-span-3 flex min-h-[80px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",value:a.description||"",onChange:f=>s({...a,description:f.target.value}),placeholder:"Details about this post..."})]})]}),l.jsxs(jl,{children:[l.jsx(B,{variant:"outline",onClick:e,children:"Cancel"}),l.jsx(B,{className:"bg-[#7F26BF] hover:bg-[#6E21A6]",onClick:o,children:"Save Changes"})]})]})})}function Fb({tasks:t,onTaskUpdate:e,onTaskCreate:n,defaultView:r="month"}){const[i,a]=M.useState(new Date),[s,o]=M.useState(r),[f,c]=M.useState(!0),[d,u]=M.useState(!1),[p,h]=M.useState(null),[m,g]=M.useState(!1),b=M.useMemo(()=>{let E,H;if(s==="month"){const V=R.startOfMonth(i),Q=R.endOfMonth(V);E=R.startOfWeek(V),H=R.endOfWeek(Q)}else s==="week"?(E=R.startOfWeek(i),H=R.endOfWeek(i)):(E=i,H=i);return R.eachDayOfInterval({start:E,end:H})},[i,s]),x=t.filter(E=>!E.date),w=t.filter(E=>E.date);return{currentDate:i,view:s,setView:o,isSidebarOpen:f,setIsSidebarOpen:c,isModalOpen:d,setIsModalOpen:u,editingTask:p,isNewTask:m,calendarDays:b,unplannedTasks:x,scheduledTasks:w,handlePrev:()=>{a(s==="month"?R.subMonths(i,1):s==="week"?R.addDays(i,-7):R.addDays(i,-1))},handleNext:()=>{a(s==="month"?R.addMonths(i,1):s==="week"?R.addDays(i,7):R.addDays(i,1))},handleToday:()=>a(new Date),handleDropTask:(E,H,V)=>{const Q=t.find(K=>K.id===E);if(Q){let K=new Date(H);if(s==="month"||V==="editorial")if(Q.date){const F=new Date(Q.date);K.setHours(F.getHours(),F.getMinutes())}else K.setHours(9,0);const O={...Q,date:K};e(O)}},handleTaskClick:E=>{h(E),g(!1),u(!0)},handleAddClick:E=>{const H=E||new Date;R.getHours(H)===0&&R.getMinutes(H)===0&&H.setHours(9,0),h({date:H,status:"idea",channel:"instagram"}),g(!0),u(!0)},handleModalSave:E=>{m?n&&n(E):E.id&&e(E),u(!1)}}}function Ub({isOpen:t,setIsOpen:e,tasks:n,onAddClick:r,onTaskClick:i,mode:a}){return t?l.jsxs("div",{className:"w-72 border-r bg-gray-50/50 flex flex-col transition-all duration-300 flex-shrink-0",children:[l.jsxs("div",{className:"p-4 border-b bg-white flex items-center justify-between",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("h3",{className:"font-semibold text-sm text-gray-900",children:"Backlog"}),l.jsx(be,{variant:"secondary",className:"bg-gray-100 text-xs",children:n.length})]}),l.jsx(B,{variant:"ghost",size:"icon",className:"h-6 w-6",onClick:()=>e(!1),children:l.jsx(N.PanelLeftClose,{size:16})})]}),l.jsx("div",{className:"px-4 pt-3 bg-white pb-3 border-b space-y-2",children:l.jsxs(B,{onClick:r,variant:"outline",size:"sm",className:"w-full justify-start pl-2",children:[l.jsx(N.Plus,{size:12,className:"mr-1.5"})," New Task"]})}),l.jsx(dr,{className:"flex-1 p-3",children:l.jsx("div",{className:"space-y-2",children:n.length===0?l.jsx("div",{className:"text-center py-10 px-4 border-2 border-dashed border-gray-200 rounded-lg",children:l.jsx("p",{className:"text-xs text-gray-400",children:"No unscheduled items"})}):n.map(s=>l.jsx(Il,{task:s,view:"backlog",mode:a,onClick:()=>i(s)},s.id))})})]}):l.jsxs("div",{className:"border-r bg-white flex flex-col items-center py-4 w-12 flex-shrink-0 cursor-pointer hover:bg-gray-50 transition-colors",onClick:()=>e(!0),children:[l.jsx(N.PanelLeftOpen,{className:"text-gray-500 mb-4",size:20}),l.jsx("div",{className:"flex-1 flex items-center justify-center min-h-0",children:l.jsx("div",{className:"whitespace-nowrap text-xs font-medium text-gray-400 -rotate-90 transform",children:"BACKLOG"})}),l.jsx(be,{className:"mt-2 h-5 w-5 p-0 flex items-center justify-center rounded-full bg-[#7F26BF] text-[10px]",children:n.length})]})}function _b({title:t,onPrev:e,onNext:n,onToday:r,onAdd:i,view:a,setView:s}){return l.jsxs("div",{className:"flex flex-col xl:flex-row items-center justify-between p-4 border-b gap-4 flex-shrink-0 bg-white",children:[l.jsxs("div",{className:"flex items-center gap-4 w-full xl:w-auto justify-between xl:justify-start",children:[l.jsxs("div",{className:"flex items-center border rounded-md bg-white shadow-sm",children:[l.jsx(B,{variant:"ghost",size:"icon",onClick:e,className:"h-8 w-8 rounded-r-none",children:l.jsx(N.ChevronLeft,{className:"h-4 w-4"})}),l.jsx(B,{variant:"ghost",onClick:r,className:"h-8 px-3 rounded-none border-x text-sm font-medium hover:bg-gray-50",children:"Today"}),l.jsx(B,{variant:"ghost",size:"icon",onClick:n,className:"h-8 w-8 rounded-l-none",children:l.jsx(N.ChevronRight,{className:"h-4 w-4"})})]}),l.jsx("h2",{className:"text-lg font-bold text-gray-900 whitespace-nowrap",children:t})]}),l.jsxs("div",{className:"flex items-center gap-3 w-full xl:w-auto overflow-x-auto pb-1 xl:pb-0 justify-end",children:[l.jsx(mb,{value:a,onValueChange:o=>s(o),className:"flex-shrink-0",children:l.jsxs(gb,{className:"h-9",children:[l.jsx(Us,{value:"month",className:"text-xs",children:"Month"}),l.jsx(Us,{value:"week",className:"text-xs",children:"Week"}),l.jsx(Us,{value:"day",className:"text-xs",children:"Day"})]})}),l.jsxs(B,{variant:"default",className:"h-9 px-4 flex-shrink-0",onClick:i,children:[l.jsx(N.Plus,{className:"mr-2 h-4 w-4"})," Create"]})]})]})}function Jb({days:t}){return l.jsx("div",{className:"grid grid-cols-7 border-b bg-gray-50 flex-shrink-0 divide-x",children:t.slice(0,7).map((e,n)=>l.jsx("div",{className:"py-2 text-center group",children:l.jsx("div",{className:y("text-xs font-semibold uppercase tracking-wider",R.isToday(e)?"text-[#7F26BF]":"text-gray-500"),children:R.format(e,"EEE")})},n))})}function n5(t){const e=Fb({...t,defaultView:"month"});return l.jsx(Cb,{backend:Pb,children:l.jsxs("div",{className:y("flex h-[calc(100vh-100px)] bg-background border rounded-lg overflow-hidden shadow-sm",t.className),children:[l.jsx(Ub,{isOpen:e.isSidebarOpen,setIsOpen:e.setIsSidebarOpen,tasks:e.unplannedTasks,onAddClick:()=>e.handleAddClick(),onTaskClick:e.handleTaskClick,mode:"editorial"}),l.jsxs("div",{className:"flex-1 flex flex-col min-w-0 bg-white",children:[l.jsx(_b,{title:e.view==="day"?R.format(e.currentDate,"MMM d, yyyy"):R.format(e.currentDate,"MMMM yyyy"),onPrev:e.handlePrev,onNext:e.handleNext,onToday:e.handleToday,onAdd:()=>e.handleAddClick(e.currentDate),view:e.view,setView:e.setView,mode:"editorial"}),e.view==="month"&&l.jsx(Jb,{days:e.calendarDays}),l.jsx("div",{className:"flex-1 overflow-hidden flex flex-col relative",children:e.view==="month"?l.jsx(Bb,{days:e.calendarDays,tasks:e.scheduledTasks,currentDate:e.currentDate,onDropTask:(n,r)=>e.handleDropTask(n,r,"editorial"),onTaskClick:e.handleTaskClick,onAddClick:e.handleAddClick,mode:"editorial"}):l.jsx(qE,{days:e.calendarDays,tasks:e.scheduledTasks,onDropTask:(n,r)=>e.handleDropTask(n,r,"editorial"),onTaskClick:e.handleTaskClick,onAddClick:e.handleAddClick,view:e.view})})]}),e.isModalOpen&&l.jsx(Hb,{isOpen:e.isModalOpen,onClose:()=>e.setIsModalOpen(!1),task:e.editingTask||{},onSave:e.handleModalSave,isNew:e.isNewTask})]})})}function r5(t){const e=Fb({...t,defaultView:"week"});return l.jsx(Cb,{backend:Pb,children:l.jsxs("div",{className:y("flex h-[calc(100vh-100px)] bg-background border rounded-lg overflow-hidden shadow-sm",t.className),children:[l.jsx(Ub,{isOpen:e.isSidebarOpen,setIsOpen:e.setIsSidebarOpen,tasks:e.unplannedTasks,onAddClick:()=>e.handleAddClick(),onTaskClick:e.handleTaskClick,mode:"execution"}),l.jsxs("div",{className:"flex-1 flex flex-col min-w-0 bg-white",children:[l.jsx(_b,{title:e.view==="day"?R.format(e.currentDate,"MMM d, yyyy"):R.format(e.currentDate,"MMMM yyyy"),onPrev:e.handlePrev,onNext:e.handleNext,onToday:e.handleToday,onAdd:()=>e.handleAddClick(e.currentDate),view:e.view,setView:e.setView,mode:"execution"}),e.view==="month"&&l.jsx(Jb,{days:e.calendarDays}),l.jsx("div",{className:"flex-1 overflow-hidden flex flex-col relative",children:e.view==="month"?l.jsx(Bb,{days:e.calendarDays,tasks:e.scheduledTasks,currentDate:e.currentDate,onDropTask:(n,r)=>e.handleDropTask(n,r,"execution"),onTaskClick:e.handleTaskClick,onAddClick:e.handleAddClick,mode:"execution"}):l.jsx(XE,{days:e.calendarDays,tasks:e.scheduledTasks,onDropTask:(n,r)=>e.handleDropTask(n,r,"execution"),onTaskClick:e.handleTaskClick,onAddClick:e.handleAddClick})})]}),e.isModalOpen&&l.jsx(Hb,{isOpen:e.isModalOpen,onClose:()=>e.setIsModalOpen(!1),task:e.editingTask||{},onSave:e.handleModalSave,isNew:e.isNewTask})]})})}const i5=Js.FormProvider,Vb=I.createContext({}),a5=({...t})=>l.jsx(Vb.Provider,{value:{name:t.name},children:l.jsx(Js.Controller,{...t})}),ts=()=>{const t=I.useContext(Vb),e=I.useContext(Yb),{getFieldState:n}=Js.useFormContext(),r=Js.useFormState({name:t.name}),i=n(t.name,r);if(!t)throw new Error("useFormField should be used within <FormField>");const{id:a}=e;return{id:a,name:t.name,formItemId:`${a}-form-item`,formDescriptionId:`${a}-form-item-description`,formMessageId:`${a}-form-item-message`,...i}},Yb=I.createContext({});function s5({className:t,...e}){const n=I.useId();return l.jsx(Yb.Provider,{value:{id:n},children:l.jsx("div",{"data-slot":"form-item",className:y("grid gap-2",t),...e})})}function o5({className:t,...e}){const{error:n,formItemId:r}=ts();return l.jsx(He,{"data-slot":"form-label","data-error":!!n,className:y("data-[error=true]:text-destructive",t),htmlFor:r,...e})}function l5({...t}){const{error:e,formItemId:n,formDescriptionId:r,formMessageId:i}=ts();return l.jsx(wn.Slot,{"data-slot":"form-control",id:n,"aria-describedby":e?`${r} ${i}`:`${r}`,"aria-invalid":!!e,...t})}function f5({className:t,...e}){const{formDescriptionId:n}=ts();return l.jsx("p",{"data-slot":"form-description",id:n,className:y("text-muted-foreground text-sm",t),...e})}function c5({className:t,...e}){const{error:n,formMessageId:r}=ts(),i=n?String((n==null?void 0:n.message)??""):e.children;return i?l.jsx("p",{"data-slot":"form-message",id:r,className:y("text-destructive text-sm",t),...e,children:i}):null}const Qb={"not-started":{label:"Não iniciada",icon:N.Circle,variant:"outline",barColor:"bg-gray-300 dark:bg-gray-600"},"in-progress":{label:"Em progresso",icon:N.Clock,variant:"default",barColor:"bg-primary"},"on-hold":{label:"Em espera",icon:N.AlertCircle,variant:"secondary",barColor:"bg-cyan-500"},completed:{label:"Concluída",icon:N.CheckCircle2,variant:"outline",barColor:"bg-green-500"},delayed:{label:"Atrasada",icon:N.AlertCircle,variant:"destructive",barColor:"bg-red-500"},cancelled:{label:"Cancelada",icon:N.AlertCircle,variant:"destructive",barColor:"bg-orange-500"}},qh=["#7F26BF","#0086E6","#24B347","#F26924","#E91E63","#9C27B0","#00BCD4","#FF9800"];function d5(t,e,n,r,i){const a=R.differenceInDays(r,n),s=R.differenceInDays(t,n),o=R.differenceInDays(e,t)+1,f=s/a*100,c=o/a*100;return{left:f,width:c}}const Gb=I.memo(({task:t,timelineStart:e,timelineEnd:n,columnWidth:r,rowHeight:i,onTaskClick:a,onTaskEdit:s})=>{const{left:o,width:f}=d5(t.startDate,t.endDate,e,n),c=Qb[t.status],d=c.icon;return t.milestone?l.jsxs("div",{className:"absolute group/milestone",style:{left:`${o}%`,top:"50%",transform:"translateY(-50%)"},children:[l.jsxs(ei,{children:[l.jsx(ti,{asChild:!0,children:l.jsx("div",{className:y("w-4 h-4 rotate-45 cursor-pointer transition-all hover:scale-125",c.barColor),onClick:()=>a==null?void 0:a(t),role:"button",tabIndex:0,"aria-label":`Milestone: ${t.name}`})}),l.jsx(ni,{side:"top",className:"max-w-sm",children:l.jsxs("div",{className:"space-y-1",children:[l.jsx("p",{className:"font-medium",children:t.name}),l.jsx("p",{className:"text-xs opacity-90",children:"📍 Marco importante"}),l.jsxs("p",{className:"text-xs opacity-90",children:["📅 ",R.format(t.startDate,"dd/MM/yyyy",{locale:gt})]})]})})]}),s&&l.jsx("button",{className:"absolute -right-6 top-1/2 -translate-y-1/2 opacity-0 group-hover/milestone:opacity-100 transition-opacity bg-background border rounded p-1 shadow-md hover:bg-primary hover:text-primary-foreground",onClick:u=>{u.stopPropagation(),s(t)},"aria-label":"Editar marco",children:l.jsx(N.Edit,{className:"size-3"})})]}):l.jsxs(tt,{children:[l.jsx(We,{asChild:!0,children:l.jsxs("div",{className:"absolute group/task cursor-pointer",style:{left:`${o}%`,width:`${f}%`,top:"20%",height:"60%"},onClick:()=>a==null?void 0:a(t),role:"button",tabIndex:0,"aria-label":`Task: ${t.name}, Status: ${c.label}, Progress: ${t.progress}%`,children:[l.jsx("div",{className:y("absolute inset-0 rounded-lg transition-all",c.barColor,"group-hover/task:shadow-lg group-hover/task:scale-[1.02]","opacity-90 group-hover/task:opacity-100")}),t.progress>0&&l.jsx("div",{className:"absolute inset-0 rounded-lg bg-white/20 dark:bg-black/20",style:{clipPath:`inset(0 ${100-t.progress}% 0 0)`}}),l.jsxs("div",{className:"absolute inset-0 flex items-center px-2 gap-1.5",children:[l.jsx(d,{className:"size-3 text-white flex-shrink-0"}),l.jsx("span",{className:"text-xs text-white truncate",children:t.name}),t.assignee&&l.jsx("div",{className:"ml-auto flex-shrink-0",children:l.jsx(Jt,{className:"size-5 border border-white/50",children:l.jsx(Vt,{className:"bg-white/20 text-white text-[8px]",children:t.assignee.initials||t.assignee.name.substring(0,2).toUpperCase()})})})]}),s&&l.jsx("button",{className:"absolute -right-7 top-1/2 -translate-y-1/2 opacity-0 group-hover/task:opacity-100 transition-opacity bg-background border rounded p-1.5 shadow-lg hover:bg-primary hover:text-primary-foreground z-20",onClick:u=>{u.stopPropagation(),s(t)},"aria-label":"Editar tarefa",children:l.jsx(N.Edit,{className:"size-3.5"})})]})}),l.jsx($e,{className:"w-80",align:"start",children:l.jsxs("div",{className:"space-y-3",children:[l.jsxs("div",{children:[l.jsx("h4",{className:"font-medium mb-1",children:t.name}),t.description&&l.jsx("p",{className:"text-sm text-muted-foreground",children:t.description})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[l.jsx(N.Calendar,{className:"size-4 text-muted-foreground"}),l.jsxs("span",{children:[R.format(t.startDate,"dd/MM/yyyy",{locale:gt})," -"," ",R.format(t.endDate,"dd/MM/yyyy",{locale:gt})]})]}),l.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[l.jsx(N.Clock,{className:"size-4 text-muted-foreground"}),l.jsxs("span",{children:[R.differenceInDays(t.endDate,t.startDate)+1," dias"]})]}),t.assignee&&l.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[l.jsx(N.User,{className:"size-4 text-muted-foreground"}),l.jsx("span",{children:t.assignee.name})]})]}),l.jsxs("div",{className:"flex items-center justify-between pt-2 border-t",children:[l.jsxs(be,{variant:c.variant,className:"gap-1",children:[l.jsx(d,{className:"size-3"}),c.label]}),l.jsxs("span",{className:"text-sm text-muted-foreground",children:[t.progress,"% concluído"]})]})]})})]})});Gb.displayName="TaskRow";const u5=["DOM","SEG","TER","QUA","QUI","SEX","SAB"],Wb=I.forwardRef(({tasks:t,projects:e=[],onTaskClick:n,onTaskEdit:r,rowHeight:i=48,columnWidth:a=40,groupBy:s="projects"},o)=>{const[f,c]=I.useState(new Date),[d,u]=I.useState(new Set),p=R.startOfMonth(f),h=R.endOfMonth(f),m=R.eachDayOfInterval({start:p,end:h}),g=()=>c(R.subMonths(f,1)),b=()=>c(R.addMonths(f,1)),x=()=>c(new Date),w=I.useMemo(()=>{if(s==="assignees"){const v=new Map;return t.forEach(C=>{var S;const k=((S=C.assignee)==null?void 0:S.name)||"Sem responsável";v.has(k)||v.set(k,[]),v.get(k).push(C)}),Array.from(v.entries()).map(([C,k],S)=>{var T,E,H;return{id:C,name:C,color:(T=k[0])!=null&&T.assignee?qh[S%qh.length]:"#999",initials:((H=(E=k[0])==null?void 0:E.assignee)==null?void 0:H.initials)||"??",tasks:k}})}else{const v=new Map;return t.forEach(L=>{const C=L.projectId;v.has(C)||v.set(C,[]),v.get(C).push(L)}),e.length>0?e.map(C=>({...C,tasks:v.get(C.id)||[]})).filter(C=>C.tasks.length>0):[{id:"default",name:"Tarefas",color:"#7F26BF",tasks:t}]}},[t,e,s]),j=v=>{u(L=>{const C=new Set(L);return C.has(v)?C.delete(v):C.add(v),C})};return l.jsxs("div",{className:"flex flex-col gap-4",children:[l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(B,{variant:"ghost",size:"icon",onClick:g,children:l.jsx(N.ChevronLeft,{className:"h-4 w-4"})}),l.jsx("h2",{className:"text-lg font-bold min-w-[200px] text-center",children:R.format(f,"MMMM yyyy",{locale:gt})}),l.jsx(B,{variant:"ghost",size:"icon",onClick:b,children:l.jsx(N.ChevronRight,{className:"h-4 w-4"})})]}),l.jsx(B,{variant:"outline",size:"sm",onClick:x,children:"Hoje"})]}),l.jsx("div",{ref:o,className:y("gantt-chart overflow-hidden rounded-lg border bg-card flex flex-col"),role:"grid","aria-label":"Gantt Chart",children:l.jsx("div",{className:"overflow-auto max-h-[600px] relative",children:l.jsxs("div",{style:{minWidth:"max-content"},children:[l.jsxs("div",{className:"sticky top-0 z-40 flex bg-background border-b shadow-sm",children:[l.jsx("div",{className:"sticky left-0 z-50 border-r bg-background flex items-center px-4",style:{width:"280px",height:"50px"},children:l.jsx("span",{className:"font-medium text-sm",children:s==="assignees"?"Colaboradores":"Tarefas"})}),l.jsx("div",{className:"flex",children:m.map(v=>{const L=R.isWeekend(v);return l.jsx("div",{className:y("flex-shrink-0 border-r text-center bg-background",L&&"bg-muted/20"),style:{width:`${a}px`},children:l.jsxs("div",{className:"h-full flex flex-col items-center justify-center gap-0.5 py-1",children:[l.jsx("span",{className:"text-[10px] font-bold leading-none text-foreground",children:u5[v.getDay()]}),l.jsx("span",{className:"text-[10px] text-muted-foreground leading-none",children:R.format(v,"d",{locale:gt})})]})},v.toISOString())})})]}),l.jsxs("div",{className:"relative",children:[l.jsx("div",{className:"absolute inset-0 flex pointer-events-none pl-[280px]",children:m.map(v=>{const L=R.isWeekend(v),C=R.isSameDay(v,new Date);return l.jsx("div",{className:y("flex-shrink-0 h-full",L&&"bg-muted/10",C&&"bg-primary/5"),style:{width:`${a}px`}},`grid-${v.toISOString()}`)})}),w.map(v=>{const L=d.has(v.id);return l.jsxs("div",{children:[l.jsxs("div",{className:"flex sticky-container",children:[l.jsxs("div",{className:"sticky left-0 z-30 w-[280px] border-r bg-background flex items-center gap-2 px-3 py-2 border-b hover:bg-muted/50 transition-colors cursor-pointer",style:{height:`${i}px`},onClick:()=>j(v.id),children:[L?l.jsx(N.ChevronRight,{className:"size-4 text-muted-foreground"}):l.jsx(N.ChevronDown,{className:"size-4 text-muted-foreground"}),s==="assignees"&&v.initials?l.jsx(Jt,{className:"size-6",children:l.jsx(Vt,{style:{backgroundColor:v.color},className:"text-white text-[10px]",children:v.initials})}):l.jsx("div",{className:"size-3 rounded-full flex-shrink-0",style:{backgroundColor:v.color||"var(--primary)"}}),l.jsx("span",{className:"font-medium text-sm truncate",children:v.name}),l.jsx("span",{className:"ml-auto text-xs text-muted-foreground",children:v.tasks.length})]}),l.jsx("div",{className:"flex-1 border-b",style:{height:`${i}px`}})]}),!L&&v.tasks.map(C=>l.jsxs("div",{className:"flex sticky-container group",children:[l.jsxs("div",{className:"sticky left-0 z-30 w-[280px] border-r bg-background flex items-center gap-2 px-3 py-2 pl-9 border-b hover:bg-muted/20 transition-colors",style:{height:`${i}px`},children:[l.jsx("div",{className:y("size-2 rounded-full flex-shrink-0",C.milestone&&"rotate-45"),style:{backgroundColor:v.color}}),l.jsx("span",{className:"text-sm truncate flex-1",children:C.name}),s==="projects"&&C.assignee&&l.jsx(Jt,{className:"size-6 opacity-0 group-hover:opacity-100 transition-opacity",children:l.jsx(Vt,{className:"text-[10px]",children:C.assignee.initials||C.assignee.name.substring(0,2).toUpperCase()})}),r&&l.jsx(N.Edit,{className:"size-4 text-muted-foreground cursor-pointer hover:text-primary ml-2 opacity-0 group-hover:opacity-100",onClick:()=>r(C)})]}),l.jsx("div",{className:"relative flex-1 border-b",style:{height:`${i}px`},children:l.jsx(Gb,{task:C,timelineStart:p,timelineEnd:h,columnWidth:a,rowHeight:i,onTaskClick:n,onTaskEdit:r})})]},C.id))]},v.id)}),(()=>{const v=new Date;if(v>=p&&v<=h){const C=280+R.differenceInDays(v,p)*a+a/2;return l.jsx("div",{className:"absolute top-0 bottom-0 w-0.5 bg-primary pointer-events-none z-20",style:{left:`${C}px`},children:l.jsx("div",{className:"absolute -top-1 -left-1.5 size-3 rounded-full bg-primary shadow-sm"})})}return null})()]})]})})})]})});Wb.displayName="GanttChart";const $b=I.forwardRef(({className:t},e)=>l.jsxs("div",{ref:e,className:y("flex flex-wrap gap-4",t),children:[Object.entries(Qb).map(([n,r])=>l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("div",{className:y("size-3 rounded",r.barColor)}),l.jsx("span",{className:"text-sm text-muted-foreground",children:r.label})]},n)),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("div",{className:"size-3 rotate-45 bg-primary"}),l.jsx("span",{className:"text-sm text-muted-foreground",children:"Marco"})]})]}));$b.displayName="GanttLegend";function h5({...t}){return l.jsx(Vs.Root,{"data-slot":"hover-card",...t})}function p5({...t}){return l.jsx(Vs.Trigger,{"data-slot":"hover-card-trigger",...t})}function m5({className:t,align:e="center",sideOffset:n=4,...r}){return l.jsx(Vs.Portal,{"data-slot":"hover-card-portal",children:l.jsx(Vs.Content,{"data-slot":"hover-card-content",align:e,sideOffset:n,className:y("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",t),...r})})}function g5({className:t,containerClassName:e,...n}){return l.jsx(np.OTPInput,{"data-slot":"input-otp",containerClassName:y("flex items-center gap-2 has-disabled:opacity-50",e),className:y("disabled:cursor-not-allowed",t),...n})}function b5({className:t,...e}){return l.jsx("div",{"data-slot":"input-otp-group",className:y("flex items-center gap-1",t),...e})}function x5({index:t,className:e,...n}){const r=I.useContext(np.OTPInputContext),{char:i,hasFakeCaret:a,isActive:s}=(r==null?void 0:r.slots[t])??{};return l.jsxs("div",{"data-slot":"input-otp-slot","data-active":s,className:y("data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm bg-input-background transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]",e),...n,children:[i,a&&l.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:l.jsx("div",{className:"animate-caret-blink bg-foreground h-4 w-px duration-1000"})})]})}function v5({...t}){return l.jsx("div",{"data-slot":"input-otp-separator",role:"separator",...t,children:l.jsx(N.MinusIcon,{})})}const Jo=I.forwardRef(({className:t,value:e,defaultValue:n=0,onChange:r,min:i=Number.MIN_SAFE_INTEGER,max:a=Number.MAX_SAFE_INTEGER,step:s=1,precision:o=0,formatOptions:f,locale:c="pt-BR",allowMouseWheel:d=!1,clampValueOnBlur:u=!0,keepWithinRange:p=!0,disabled:h,readOnly:m,...g},b)=>{const[x,w]=I.useState(n),[j,v]=I.useState(""),[L,C]=I.useState(!1),k=I.useRef(null),S=e!==void 0?e:x,T=I.useCallback(W=>f?new Intl.NumberFormat(c,f).format(W):W.toFixed(o),[f,c,o]),E=W=>{const pe=W.replace(/[^\d,.-]/g,"").replace(",","."),_=parseFloat(pe);return isNaN(_)?0:_},H=W=>p?Math.min(Math.max(W,i),a):W,V=I.useCallback((W,ye=!1)=>{const pe=ye?H(W):W;e===void 0&&w(pe),r&&r(pe)},[e,r,H]);I.useEffect(()=>{L||v(T(S))},[S,T,L]);const Q=()=>{if(h||m)return;const W=S+s;W<=a&&V(W)},K=()=>{if(h||m)return;const W=S-s;W>=i&&V(W)},O=W=>{const pe=W.target.value.replace(/[^\d,.-]/g,"");v(pe);const _=E(pe);V(_,!1)},F=W=>{if(C(!1),u){const ye=H(S);V(ye,!1),v(T(ye))}else v(T(S));g.onBlur&&g.onBlur(W)},Y=W=>{C(!0),v(S.toString()),W.target.select(),g.onFocus&&g.onFocus(W)},ae=W=>{h||m||(W.key==="ArrowUp"?(W.preventDefault(),Q()):W.key==="ArrowDown"&&(W.preventDefault(),K()),g.onKeyDown&&g.onKeyDown(W))},ce=W=>{!d||h||m||!L||(W.preventDefault(),W.deltaY<0?Q():W.deltaY>0&&K())};return I.useImperativeHandle(b,()=>k.current),l.jsxs("div",{className:"relative w-full",children:[l.jsx("input",{ref:k,type:"text",inputMode:"decimal","data-slot":"input",className:y("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border pl-3 pr-14 py-1 text-base bg-input-background transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive","text-right tabular-nums",t),value:j,onChange:O,onBlur:F,onFocus:Y,onKeyDown:ae,onWheel:ce,disabled:h,readOnly:m,"aria-valuemin":i,"aria-valuemax":a,"aria-valuenow":S,role:"spinbutton",...g}),l.jsxs("div",{className:"absolute top-1/2 -translate-y-1/2 flex flex-col gap-0.5 pointer-events-auto",style:{right:"4px"},children:[l.jsx(B,{type:"button",variant:"ghost",size:"icon",className:"h-3.5 w-7 rounded-sm p-0 hover:bg-muted pointer-events-auto",onClick:Q,disabled:h||m||S>=a,tabIndex:-1,"aria-label":"Increment value",children:l.jsx(N.ChevronUp,{className:"h-3 w-3"})}),l.jsx(B,{type:"button",variant:"ghost",size:"icon",className:"h-3.5 w-7 rounded-sm p-0 hover:bg-muted pointer-events-auto",onClick:K,disabled:h||m||S<=i,tabIndex:-1,"aria-label":"Decrement value",children:l.jsx(N.ChevronDown,{className:"h-3 w-3"})})]})]})});Jo.displayName="NumberInput";const Zb=I.forwardRef(({className:t,showToggle:e=!0,...n},r)=>{const[i,a]=I.useState(!1);return l.jsxs("div",{className:"relative",children:[l.jsx("input",{type:i?"text":"password","data-slot":"input",className:y("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border px-3 py-1 text-base bg-input-background transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e&&"pr-10",t),ref:r,...n}),e&&l.jsx("button",{type:"button",onClick:()=>a(!i),className:"absolute right-0 top-0 h-full px-3 py-2 hover:bg-transparent",tabIndex:-1,"aria-label":i?"Hide password":"Show password",children:i?l.jsx(N.EyeOff,{className:"h-4 w-4 text-muted-foreground"}):l.jsx(N.Eye,{className:"h-4 w-4 text-muted-foreground"})})]})});Zb.displayName="PasswordInput";function Xd({className:t,...e}){return l.jsx("textarea",{"data-slot":"textarea",className:y("resize-none border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-input-background px-3 py-2 text-base transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),...e})}function qb({className:t,...e}){return l.jsx("div",{"data-slot":"input-group",role:"group",className:y("group/input-group cn-input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto",t),...e})}const y5=an.cva("cn-input-group-addon flex cursor-text items-center justify-center select-none",{variants:{align:{"inline-start":"cn-input-group-addon-align-inline-start order-first","inline-end":"cn-input-group-addon-align-inline-end order-last","block-start":"cn-input-group-addon-align-block-start order-first w-full justify-start","block-end":"cn-input-group-addon-align-block-end order-last w-full justify-start"}},defaultVariants:{align:"inline-start"}});function vc({className:t,align:e="inline-start",...n}){return l.jsx("div",{role:"group","data-slot":"input-group-addon","data-align":e,className:y(y5({align:e}),t),onClick:r=>{var i,a;r.target.closest("button")||(a=(i=r.currentTarget.parentElement)==null?void 0:i.querySelector("input"))==null||a.focus()},...n})}const w5=an.cva("flex items-center gap-2 text-sm shadow-none",{variants:{size:{default:"h-7",sm:"h-6",xs:"h-5","icon-xs":"size-5"}},defaultVariants:{size:"default"}});function M5({className:t,size:e,variant:n="ghost",type:r="button",...i}){return l.jsx(B,{"data-slot":"input-group-button",type:r,variant:n,className:y(w5({size:e}),t),...i})}function j5({className:t,...e}){return l.jsx("span",{"data-slot":"input-group-text",className:y("text-muted-foreground text-sm",t),...e})}function C5({className:t,...e}){return l.jsx(Yt,{"data-slot":"input-group-control",className:y("cn-input-group-input flex-1",t),...e})}function L5({className:t,...e}){return l.jsx(Xd,{"data-slot":"input-group-control",className:y("cn-input-group-textarea flex-1 resize-none",t),...e})}const N5={BRL:{symbol:"R$",icon:N.Coins,locale:"pt-BR"},USD:{symbol:"$",icon:N.DollarSign,locale:"en-US"},EUR:{symbol:"€",icon:N.Euro,locale:"de-DE"}},Kb=I.forwardRef(({className:t,currency:e="BRL",locale:n,showSymbol:r=!1,symbolPosition:i="start",min:a=0,...s},o)=>{const f=N5[e],c=n||f.locale,d=f.icon;return r?l.jsxs(qb,{className:t,children:[i==="start"&&l.jsx(vc,{children:l.jsx(d,{className:"h-4 w-4 text-muted-foreground"})}),l.jsx(Jo,{ref:o,className:y("border-none shadow-none ring-0 focus-visible:ring-0 focus-visible:border-transparent",i==="start"?"pl-2":"pr-2"),min:a,precision:2,formatOptions:{style:"currency",currency:e,minimumFractionDigits:2,maximumFractionDigits:2},locale:c,...s}),i==="end"&&l.jsx(vc,{align:"inline-end",children:l.jsx(d,{className:"h-4 w-4 text-muted-foreground"})})]}):l.jsx(Jo,{ref:o,className:t,min:a,precision:2,formatOptions:{style:"currency",currency:e,minimumFractionDigits:2,maximumFractionDigits:2},locale:c,...s})});Kb.displayName="CurrencyInput";function k5({className:t,...e}){return l.jsx(Ye.Root,{"data-slot":"menubar",className:y("bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs",t),...e})}function S5({...t}){return l.jsx(Ye.Menu,{"data-slot":"menubar-menu",...t})}function I5({...t}){return l.jsx(Ye.Group,{"data-slot":"menubar-group",...t})}function Xb({...t}){return l.jsx(Ye.Portal,{"data-slot":"menubar-portal",...t})}function T5({...t}){return l.jsx(Ye.RadioGroup,{"data-slot":"menubar-radio-group",...t})}function D5({className:t,...e}){return l.jsx(Ye.Trigger,{"data-slot":"menubar-trigger",className:y("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none",t),...e})}function E5({className:t,align:e="start",alignOffset:n=-4,sideOffset:r=8,...i}){return l.jsx(Xb,{children:l.jsx(Ye.Content,{"data-slot":"menubar-content",align:e,alignOffset:n,sideOffset:r,className:y("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md",t),...i})})}function A5({className:t,inset:e,variant:n="default",...r}){return l.jsx(Ye.Item,{"data-slot":"menubar-item","data-inset":e,"data-variant":n,className:y("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...r})}function z5({className:t,children:e,checked:n,...r}){return l.jsxs(Ye.CheckboxItem,{"data-slot":"menubar-checkbox-item",className:y("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),checked:n,...r,children:[l.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:l.jsx(Ye.ItemIndicator,{children:l.jsx(N.CheckIcon,{className:"size-4"})})}),e]})}function O5({className:t,children:e,...n}){return l.jsxs(Ye.RadioItem,{"data-slot":"menubar-radio-item",className:y("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...n,children:[l.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:l.jsx(Ye.ItemIndicator,{children:l.jsx(N.CircleIcon,{className:"size-2 fill-current"})})}),e]})}function P5({className:t,inset:e,...n}){return l.jsx(Ye.Label,{"data-slot":"menubar-label","data-inset":e,className:y("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",t),...n})}function R5({className:t,...e}){return l.jsx(Ye.Separator,{"data-slot":"menubar-separator",className:y("bg-border -mx-1 my-1 h-px",t),...e})}function B5({className:t,...e}){return l.jsx("span",{"data-slot":"menubar-shortcut",className:y("text-muted-foreground ml-auto text-xs tracking-widest",t),...e})}function H5({...t}){return l.jsx(Ye.Sub,{"data-slot":"menubar-sub",...t})}function F5({className:t,inset:e,children:n,...r}){return l.jsxs(Ye.SubTrigger,{"data-slot":"menubar-sub-trigger","data-inset":e,className:y("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8",t),...r,children:[n,l.jsx(N.ChevronRightIcon,{className:"ml-auto h-4 w-4"})]})}function U5({className:t,...e}){return l.jsx(Ye.SubContent,{"data-slot":"menubar-sub-content",className:y("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",t),...e})}function _5({className:t,children:e,viewport:n=!0,...r}){return l.jsxs(Sr.Root,{"data-slot":"navigation-menu","data-viewport":n,className:y("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",t),...r,children:[e,n&&l.jsx(G5,{})]})}function J5({className:t,...e}){return l.jsx(Sr.List,{"data-slot":"navigation-menu-list",className:y("group flex flex-1 list-none items-center justify-center gap-1",t),...e})}function V5({className:t,...e}){return l.jsx(Sr.Item,{"data-slot":"navigation-menu-item",className:y("relative",t),...e})}const e4=an.cva("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");function Y5({className:t,children:e,...n}){return l.jsxs(Sr.Trigger,{"data-slot":"navigation-menu-trigger",className:y(e4(),"group",t),...n,children:[e," ",l.jsx(N.ChevronDownIcon,{className:"relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})}function Q5({className:t,...e}){return l.jsx(Sr.Content,{"data-slot":"navigation-menu-content",className:y("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto","group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",t),...e})}function G5({className:t,...e}){return l.jsx("div",{className:y("absolute top-full left-0 isolate z-50 flex justify-center"),children:l.jsx(Sr.Viewport,{"data-slot":"navigation-menu-viewport",className:y("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",t),...e})})}function W5({className:t,...e}){return l.jsx(Sr.Link,{"data-slot":"navigation-menu-link",className:y("data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",t),...e})}function $5({title:t,description:e,breadcrumbs:n,actions:r,secondaryNavCollapsed:i=!1,onSecondaryNavToggle:a,className:s}){return l.jsxs("div",{className:y("border-b bg-background",s),children:[l.jsxs("div",{className:"flex h-14 items-center gap-4 px-6",children:[l.jsx(B,{variant:"ghost",size:"icon",className:"h-8 w-8 shrink-0",onClick:a,title:i?"Mostrar menu lateral":"Ocultar menu lateral",children:i?l.jsx(N.PanelLeftOpen,{className:"h-4 w-4"}):l.jsx(N.PanelLeftClose,{className:"h-4 w-4"})}),n&&n.length>0&&l.jsx(up,{children:l.jsx(hp,{children:n.map((o,f)=>l.jsxs(I.Fragment,{children:[f>0&&l.jsx(bp,{}),l.jsx(pp,{children:f===n.length-1?l.jsx(gp,{children:o.label}):o.href?l.jsx(mp,{href:o.href,children:o.label}):l.jsx("span",{children:o.label})})]},f))})}),!n&&l.jsx("div",{className:"flex-1",children:l.jsx("h1",{className:"text-lg font-semibold",children:t})}),r&&l.jsx("div",{className:"ml-auto flex items-center gap-2",children:r})]}),e&&l.jsx("div",{className:"border-t px-6 py-3",children:l.jsx("p",{className:"text-sm text-muted-foreground",children:e})})]})}function Z5({title:t,icon:e,badge:n,actions:r,secondaryNavCollapsed:i=!1,onSecondaryNavToggle:a,className:s}){return l.jsxs("div",{className:y("flex h-14 items-center gap-3 border-b bg-background px-6",s),children:[l.jsx(B,{variant:"ghost",size:"icon",className:"h-8 w-8 shrink-0",onClick:a,title:i?"Mostrar menu lateral":"Ocultar menu lateral",children:i?l.jsx(N.PanelLeftOpen,{className:"h-4 w-4"}):l.jsx(N.PanelLeftClose,{className:"h-4 w-4"})}),e&&l.jsx("div",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10",children:l.jsx(e,{className:"h-4 w-4 text-primary"})}),l.jsx("h1",{className:"flex-1 text-lg font-semibold",children:t}),n&&l.jsx("div",{className:"shrink-0",children:n}),r&&l.jsx("div",{className:"flex shrink-0 items-center gap-2",children:r})]})}function q5({className:t,...e}){return l.jsx("nav",{role:"navigation","aria-label":"pagination","data-slot":"pagination",className:y("mx-auto flex w-full justify-center",t),...e})}function K5({className:t,...e}){return l.jsx("ul",{"data-slot":"pagination-content",className:y("flex flex-row items-center gap-1",t),...e})}function X5({...t}){return l.jsx("li",{"data-slot":"pagination-item",...t})}function eu({className:t,isActive:e,size:n="icon",...r}){return l.jsx("a",{"aria-current":e?"page":void 0,"data-slot":"pagination-link","data-active":e,className:y(Bn({variant:e?"outline":"ghost",size:n}),t),...r})}function eA({className:t,...e}){return l.jsxs(eu,{"aria-label":"Go to previous page",size:"default",className:y("gap-1 px-2.5 sm:pl-2.5",t),...e,children:[l.jsx(N.ChevronLeftIcon,{}),l.jsx("span",{className:"hidden sm:block",children:"Previous"})]})}function tA({className:t,...e}){return l.jsxs(eu,{"aria-label":"Go to next page",size:"default",className:y("gap-1 px-2.5 sm:pr-2.5",t),...e,children:[l.jsx("span",{className:"hidden sm:block",children:"Next"}),l.jsx(N.ChevronRightIcon,{})]})}function nA({className:t,...e}){return l.jsxs("span",{"aria-hidden":!0,"data-slot":"pagination-ellipsis",className:y("flex size-9 items-center justify-center",t),...e,children:[l.jsx(N.MoreHorizontalIcon,{className:"size-4"}),l.jsx("span",{className:"sr-only",children:"More pages"})]})}function rA({className:t,...e}){return l.jsx(Mf.Root,{"data-slot":"radio-group",className:y("grid gap-3",t),...e})}function iA({className:t,...e}){return l.jsx(Mf.Item,{"data-slot":"radio-group-item",className:y("peer h-5 w-5 shrink-0 rounded-full border border-gray-300 bg-white shadow-sm transition-all hover:shadow-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/40 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",t),...e,children:l.jsx(Mf.Indicator,{"data-slot":"radio-group-indicator",className:"flex items-center justify-center",children:l.jsx("div",{className:"h-2 w-2 rounded-full bg-white"})})})}function aA({className:t,...e}){return l.jsx(jc.PanelGroup,{"data-slot":"resizable-panel-group",className:y("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",t),...e})}function sA({...t}){return l.jsx(jc.Panel,{"data-slot":"resizable-panel",...t})}function oA({withHandle:t,className:e,...n}){return l.jsx(jc.PanelResizeHandle,{"data-slot":"resizable-handle",className:y("bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",e),...n,children:t&&l.jsx("div",{className:"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border",children:l.jsx(N.GripVerticalIcon,{className:"size-2.5"})})})}function t4({...t}){return l.jsx(Ee.Root,{"data-slot":"sheet",...t})}function lA({...t}){return l.jsx(Ee.Trigger,{"data-slot":"sheet-trigger",...t})}function fA({...t}){return l.jsx(Ee.Close,{"data-slot":"sheet-close",...t})}function cA({...t}){return l.jsx(Ee.Portal,{"data-slot":"sheet-portal",...t})}const n4=I.forwardRef(({className:t,...e},n)=>l.jsx(Ee.Overlay,{ref:n,"data-slot":"sheet-overlay",className:y("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...e}));n4.displayName=Ee.Overlay.displayName;function r4({className:t,children:e,side:n="right",...r}){return l.jsxs(cA,{children:[l.jsx(n4,{}),l.jsxs(Ee.Content,{"data-slot":"sheet-content",className:y("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",n==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",n==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",n==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",n==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",t),...r,children:[e,l.jsxs(Ee.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[l.jsx(N.XIcon,{className:"size-4"}),l.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function i4({className:t,...e}){return l.jsx("div",{"data-slot":"sheet-header",className:y("flex flex-col gap-1.5 p-4",t),...e})}function dA({className:t,...e}){return l.jsx("div",{"data-slot":"sheet-footer",className:y("mt-auto flex flex-col gap-2 p-4",t),...e})}function a4({className:t,...e}){return l.jsx(Ee.Title,{"data-slot":"sheet-title",className:y("text-foreground font-semibold",t),...e})}function s4({className:t,...e}){return l.jsx(Ee.Description,{"data-slot":"sheet-description",className:y("text-muted-foreground text-sm",t),...e})}const wf=768;function o4(){const[t,e]=I.useState(void 0);return I.useEffect(()=>{const n=window.matchMedia(`(max-width: ${wf-1}px)`),r=()=>{e(window.innerWidth<wf)};return n.addEventListener("change",r),e(window.innerWidth<wf),()=>n.removeEventListener("change",r)},[]),!!t}const uA="sidebar_state",hA=3600*24*7,pA="16rem",mA="18rem",gA="3rem",bA="b",l4=I.createContext(null);function ns(){const t=I.useContext(l4);if(!t)throw new Error("useSidebar must be used within a SidebarProvider.");return t}function xA({defaultOpen:t=!0,open:e,onOpenChange:n,className:r,style:i,children:a,...s}){const o=o4(),[f,c]=I.useState(!1),[d,u]=I.useState(t),p=e??d,h=I.useCallback(x=>{const w=typeof x=="function"?x(p):x;n?n(w):u(w),document.cookie=`${uA}=${w}; path=/; max-age=${hA}`},[n,p]),m=I.useCallback(()=>o?c(x=>!x):h(x=>!x),[o,h,c]);I.useEffect(()=>{const x=w=>{w.key===bA&&(w.metaKey||w.ctrlKey)&&(w.preventDefault(),m())};return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[m]);const g=p?"expanded":"collapsed",b=I.useMemo(()=>({state:g,open:p,setOpen:h,isMobile:o,openMobile:f,setOpenMobile:c,toggleSidebar:m}),[g,p,h,o,f,c,m]);return l.jsx(l4.Provider,{value:b,children:l.jsx(Sc,{delayDuration:0,children:l.jsx("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":pA,"--sidebar-width-icon":gA,...i},className:y("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",r),...s,children:a})})})}function vA({side:t="left",variant:e="sidebar",collapsible:n="offcanvas",className:r,children:i,...a}){const{isMobile:s,state:o,openMobile:f,setOpenMobile:c}=ns();return n==="none"?l.jsx("div",{"data-slot":"sidebar",className:y("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",r),...a,children:i}):s?l.jsx(t4,{open:f,onOpenChange:c,...a,children:l.jsxs(r4,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",style:{"--sidebar-width":mA},side:t,children:[l.jsxs(i4,{className:"sr-only",children:[l.jsx(a4,{children:"Sidebar"}),l.jsx(s4,{children:"Displays the mobile sidebar."})]}),l.jsx("div",{className:"flex h-full w-full flex-col",children:i})]})}):l.jsxs("div",{className:"group peer text-sidebar-foreground hidden md:block","data-state":o,"data-collapsible":o==="collapsed"?n:"","data-variant":e,"data-side":t,"data-slot":"sidebar",children:[l.jsx("div",{"data-slot":"sidebar-gap",className:y("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),l.jsx("div",{"data-slot":"sidebar-container",className:y("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",t==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",r),...a,children:l.jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",children:i})})]})}function yA({className:t,onClick:e,...n}){const{toggleSidebar:r}=ns();return l.jsxs(B,{"data-sidebar":"trigger","data-slot":"sidebar-trigger",variant:"ghost",size:"icon",className:y("size-7",t),onClick:i=>{e==null||e(i),r()},...n,children:[l.jsx(N.PanelLeftIcon,{}),l.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})}function wA({className:t,...e}){const{toggleSidebar:n}=ns();return l.jsx("button",{"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:y("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",t),...e})}function MA({className:t,...e}){return l.jsx("main",{"data-slot":"sidebar-inset",className:y("bg-background relative flex w-full flex-1 flex-col","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",t),...e})}function jA({className:t,...e}){return l.jsx("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:y("flex flex-col gap-2 p-2",t),...e})}function CA({className:t,...e}){return l.jsx("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:y("flex flex-col gap-2 p-2",t),...e})}function LA({className:t,...e}){return l.jsx(An,{"data-slot":"sidebar-separator","data-sidebar":"separator",className:y("bg-sidebar-border mx-2 w-auto",t),...e})}function NA({className:t,...e}){return l.jsx("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:y("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",t),...e})}function kA({className:t,...e}){return l.jsx("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:y("relative flex w-full min-w-0 flex-col p-2",t),...e})}function SA({className:t,asChild:e=!1,...n}){const r=e?wn.Slot:"div";return l.jsx(r,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:y("text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",t),...n})}function IA({className:t,asChild:e=!1,...n}){const r=e?wn.Slot:"button";return l.jsx(r,{"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:y("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",t),...n})}function TA({className:t,...e}){return l.jsx("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:y("w-full text-sm",t),...e})}function DA({className:t,...e}){return l.jsx("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:y("flex w-full min-w-0 flex-col gap-1",t),...e})}function EA({className:t,...e}){return l.jsx("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:y("group/menu-item relative",t),...e})}const AA=an.cva("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function zA({asChild:t=!1,isActive:e=!1,variant:n="default",size:r="default",tooltip:i,className:a,...s}){const o=t?wn.Slot:"button",{isMobile:f,state:c}=ns(),d=l.jsx(o,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":r,"data-active":e,className:y(AA({variant:n,size:r}),a),...s});return i?(typeof i=="string"&&(i={children:i}),l.jsxs(ei,{children:[l.jsx(ti,{asChild:!0,children:d}),l.jsx(ni,{side:"right",align:"center",hidden:c!=="collapsed"||f,...i})]})):d}function OA({className:t,asChild:e=!1,showOnHover:n=!1,...r}){const i=e?wn.Slot:"button";return l.jsx(i,{"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:y("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",n&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",t),...r})}function PA({className:t,...e}){return l.jsx("div",{"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:y("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t),...e})}function RA({className:t,showIcon:e=!1,...n}){const r=I.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return l.jsxs("div",{"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:y("flex h-8 items-center gap-2 rounded-md px-2",t),...n,children:[e&&l.jsx(Rn,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),l.jsx(Rn,{className:"h-4 max-w-(--skeleton-width) flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})}function BA({className:t,...e}){return l.jsx("ul",{"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:y("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",t),...e})}function HA({className:t,...e}){return l.jsx("li",{"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:y("group/menu-sub-item relative",t),...e})}function FA({asChild:t=!1,size:e="md",isActive:n=!1,className:r,...i}){const a=t?wn.Slot:"a";return l.jsx(a,{"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":e,"data-active":n,className:y("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",r),...i})}const f4=an.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-white dark:bg-zinc-900 border border-input hover:bg-accent hover:text-accent-foreground text-foreground",google:"bg-white dark:bg-zinc-900 border border-input hover:bg-accent text-foreground",github:"bg-[#24292F] hover:bg-[#24292F]/90 text-white dark:bg-[#24292F] dark:hover:bg-[#24292F]/80",facebook:"bg-[#1877F2] hover:bg-[#1877F2]/90 text-white",apple:"bg-black hover:bg-black/90 text-white dark:bg-white dark:hover:bg-white/90 dark:text-black",microsoft:"bg-white dark:bg-zinc-900 border border-input hover:bg-accent text-foreground"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),UA=()=>l.jsxs("svg",{className:"h-5 w-5",viewBox:"0 0 24 24",fill:"none",children:[l.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),l.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),l.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),l.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]}),_A=()=>l.jsx("svg",{className:"h-5 w-5",viewBox:"0 0 24 24",fill:"currentColor",children:l.jsx("path",{d:"M17.05 20.28c-.98.95-2.05.88-3.08.4-1.09-.5-2.08-.48-3.24 0-1.44.62-2.2.44-3.06-.4C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09l.01-.01zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z"})}),JA=()=>l.jsx("svg",{className:"h-5 w-5",viewBox:"0 0 24 24",fill:"currentColor",children:l.jsx("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})}),VA=()=>l.jsxs("svg",{className:"h-5 w-5",viewBox:"0 0 24 24",fill:"none",children:[l.jsx("path",{d:"M11.4 11.4H2V2h9.4v9.4z",fill:"#F25022"}),l.jsx("path",{d:"M22 11.4h-9.4V2H22v9.4z",fill:"#7FBA00"}),l.jsx("path",{d:"M11.4 22H2v-9.4h9.4V22z",fill:"#00A4EF"}),l.jsx("path",{d:"M22 22h-9.4v-9.4H22V22z",fill:"#FFB900"})]}),c4=I.forwardRef(({className:t,variant:e,size:n,provider:r,children:i,...a},s)=>{const o=e||r,f=()=>{switch(r){case"google":return l.jsx(UA,{});case"github":return l.jsx(N.Github,{className:"h-5 w-5"});case"facebook":return l.jsx(JA,{});case"apple":return l.jsx(_A,{});case"microsoft":return l.jsx(VA,{});default:return null}},c=()=>`Continue with ${{google:"Google",github:"GitHub",facebook:"Facebook",apple:"Apple",microsoft:"Microsoft"}[r]}`;return l.jsxs("button",{className:y(f4({variant:o,size:n,className:t})),ref:s,...a,children:[f(),l.jsx("span",{children:i||c()})]})});c4.displayName="SocialButton";function d4({className:t,defaultValue:e,value:n,min:r=0,max:i=100,...a}){const s=I.useMemo(()=>Array.isArray(n)?n:Array.isArray(e)?e:[r,i],[n,e,r,i]);return l.jsxs(hs.Root,{"data-slot":"slider",defaultValue:e,value:n,min:r,max:i,className:y("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",t),...a,children:[l.jsx(hs.Track,{"data-slot":"slider-track",className:y("bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-4 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"),children:l.jsx(hs.Range,{"data-slot":"slider-range",className:y("bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full")})}),Array.from({length:s.length},(o,f)=>l.jsx(hs.Thumb,{"data-slot":"slider-thumb",className:"border-primary bg-background ring-ring/50 block size-4 shrink-0 rounded-full border shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"},f))]})}function YA(t){const{theme:e="system"}=px.useTheme();return l.jsx(rp.Toaster,{theme:e,className:"toaster group",toastOptions:{unstyled:!0,classNames:{toast:"w-full rounded-lg border px-4 py-3 shadow-lg flex items-start gap-3 bg-card text-card-foreground border-border",title:"font-medium text-sm",description:"text-sm mt-1",actionButton:"inline-flex items-center justify-center rounded-md text-sm font-medium bg-primary text-primary-foreground hover:bg-primary/90 h-8 px-3",cancelButton:"inline-flex items-center justify-center rounded-md text-sm font-medium bg-muted text-muted-foreground hover:bg-muted/90 h-8 px-3",closeButton:"absolute right-2 top-2 rounded-md p-1 text-foreground/50 hover:text-foreground",error:"!bg-red-50 dark:!bg-red-950/30 !text-red-700 dark:!text-red-400 !border-red-200 dark:!border-red-800 [&_[data-title]]:text-red-700 dark:[&_[data-title]]:text-red-400 [&_[data-description]]:text-red-700/90 dark:[&_[data-description]]:text-red-400/90",success:"!bg-green-50 dark:!bg-green-950/30 !text-green-700 dark:!text-green-400 !border-green-200 dark:!border-green-800 [&_[data-title]]:text-green-700 dark:[&_[data-title]]:text-green-400 [&_[data-description]]:text-green-700/90 dark:[&_[data-description]]:text-green-400/90",warning:"!bg-yellow-50 dark:!bg-yellow-950/30 !text-yellow-700 dark:!text-yellow-400 !border-yellow-200 dark:!border-yellow-800 [&_[data-title]]:text-yellow-700 dark:[&_[data-title]]:text-yellow-400 [&_[data-description]]:text-yellow-700/90 dark:[&_[data-description]]:text-yellow-400/90",info:"!bg-cyan-50 dark:!bg-cyan-950/30 !text-cyan-700 dark:!text-cyan-400 !border-cyan-200 dark:!border-cyan-800 [&_[data-title]]:text-cyan-700 dark:[&_[data-title]]:text-cyan-400 [&_[data-description]]:text-cyan-700/90 dark:[&_[data-description]]:text-cyan-400/90"}},...t})}function u4({className:t,...e}){return l.jsx(fu.Root,{"data-slot":"switch",className:y("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-switch-background focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",t),...e,children:l.jsx(fu.Thumb,{"data-slot":"switch-thumb",className:y("bg-card dark:data-[state=unchecked]:bg-card-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")})})}const tu=I.forwardRef(({className:t,...e},n)=>l.jsx("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:l.jsx("table",{ref:n,"data-slot":"table",className:y("w-full caption-bottom text-sm",t),...e})}));tu.displayName="Table";const nu=I.forwardRef(({className:t,...e},n)=>l.jsx("thead",{ref:n,"data-slot":"table-header",className:y("[&_tr]:border-b",t),...e}));nu.displayName="TableHeader";const ru=I.forwardRef(({className:t,...e},n)=>l.jsx("tbody",{ref:n,"data-slot":"table-body",className:y("[&_tr:last-child]:border-0",t),...e}));ru.displayName="TableBody";const h4=I.forwardRef(({className:t,...e},n)=>l.jsx("tfoot",{ref:n,"data-slot":"table-footer",className:y("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",t),...e}));h4.displayName="TableFooter";const Kr=I.forwardRef(({className:t,...e},n)=>l.jsx("tr",{ref:n,"data-slot":"table-row",className:y("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",t),...e}));Kr.displayName="TableRow";const iu=I.forwardRef(({className:t,...e},n)=>l.jsx("th",{ref:n,"data-slot":"table-head",className:y("text-foreground h-10 px-2 text-left align-middle font-medium","[&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...e}));iu.displayName="TableHead";const da=I.forwardRef(({className:t,...e},n)=>l.jsx("td",{ref:n,"data-slot":"table-cell",className:y("p-2 align-middle","[&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...e}));da.displayName="TableCell";const p4=I.forwardRef(({className:t,...e},n)=>l.jsx("caption",{ref:n,"data-slot":"table-caption",className:y("text-muted-foreground mt-4 text-sm",t),...e}));p4.displayName="TableCaption";const QA={previous:"Anterior",next:"Próxima",first:"Primeira",last:"Última",showing:"Mostrando",of:"de",results:"resultados",itemsPerPage:"Itens por página",page:"Página"},GA=[10,20,30,50,100];function m4(t,e,n=5){if(e<=n)return Array.from({length:e},(o,f)=>f+1);const r=[],i=Math.floor(n/2);r.push(1);let a=Math.max(2,t-i),s=Math.min(e-1,t+i);t<=i+1?s=n-1:t>=e-i&&(a=e-n+2),a>2&&r.push("ellipsis");for(let o=a;o<=s;o++)r.push(o);return s<e-1&&r.push("ellipsis"),e>1&&r.push(e),r}function au({currentPage:t,totalPages:e,pageSize:n,totalItems:r,onPageChange:i,onPageSizeChange:a,pageSizeOptions:s=GA,maxVisiblePages:o=5,showInfo:f=!0,showPageNumbers:c=!0,showPageSizeSelector:d=!0,showFirstLastButtons:u=!0,labels:p,className:h}){const m={...QA,...p},g=m4(t,e,o),b=(t-1)*n+1,x=Math.min(t*n,r),w=t>1,j=t<e;return e===0?null:l.jsxs("div",{className:y("flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",h),role:"navigation","aria-label":"Paginação da tabela",children:[f&&l.jsxs("p",{className:"text-sm text-muted-foreground order-2 sm:order-1",children:[m.showing," ",l.jsx("span",{className:"font-medium text-foreground",children:b})," - ",l.jsx("span",{className:"font-medium text-foreground",children:x})," ",m.of," ",l.jsx("span",{className:"font-medium text-foreground",children:r})," ",m.results]}),l.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:gap-4 order-1 sm:order-2",children:[d&&a&&l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("span",{className:"text-sm text-muted-foreground whitespace-nowrap",children:m.itemsPerPage}),l.jsxs(Zt,{value:String(n),onValueChange:v=>a(Number(v)),children:[l.jsx(Kt,{className:"h-8 w-[70px]",children:l.jsx(qt,{placeholder:n})}),l.jsx(Xt,{children:s.map(v=>l.jsx(kt,{value:String(v),children:v},v))})]})]}),l.jsxs("span",{className:"text-sm text-muted-foreground sm:hidden",children:[m.page," ",t," ",m.of," ",e]}),l.jsxs("div",{className:"flex items-center gap-1",children:[u&&l.jsx(B,{variant:"outline",size:"icon",className:"h-8 w-8",onClick:()=>i(1),disabled:!w,"aria-label":m.first,children:l.jsx(N.ChevronsLeft,{className:"h-4 w-4"})}),l.jsx(B,{variant:"outline",size:"icon",className:"h-8 w-8",onClick:()=>i(t-1),disabled:!w,"aria-label":m.previous,children:l.jsx(N.ChevronLeft,{className:"h-4 w-4"})}),c&&l.jsx("div",{className:"hidden sm:flex items-center gap-1",children:g.map((v,L)=>v==="ellipsis"?l.jsx("span",{className:"flex items-center justify-center w-8 h-8 text-muted-foreground","aria-hidden":!0,children:"..."},`ellipsis-${L}`):l.jsx(B,{variant:t===v?"default":"outline",size:"icon",className:"h-8 w-8",onClick:()=>i(v),"aria-label":`${m.page} ${v}`,"aria-current":t===v?"page":void 0,children:v},v))}),l.jsx(B,{variant:"outline",size:"icon",className:"h-8 w-8",onClick:()=>i(t+1),disabled:!j,"aria-label":m.next,children:l.jsx(N.ChevronRight,{className:"h-4 w-4"})}),u&&l.jsx(B,{variant:"outline",size:"icon",className:"h-8 w-8",onClick:()=>i(e),disabled:!j,"aria-label":m.last,children:l.jsx(N.ChevronsRight,{className:"h-4 w-4"})})]})]})]})}au.displayName="TablePagination";function g4(t){const{currentPage:e,pageSize:n,totalItems:r}=t,i=Math.ceil(r/n),a=(e-1)*n,s=Math.min(a+n,r);return{totalPages:i,startIndex:a,endIndex:s,hasNextPage:e<i,hasPreviousPage:e>1}}function WA({data:t,initialPageSize:e=10,resetOnDataChange:n=!0,serverSideTotalItems:r}){const[i,a]=M.useState(1),[s,o]=M.useState(e),f=r!==void 0,c=f?r:t.length;M.useMemo(()=>{n&&a(1)},[t.length,n]);const d=Math.ceil(c/s),u=Math.min(Math.max(1,i),Math.max(1,d)),p=(u-1)*s,h=Math.min(p+s,c),m=M.useMemo(()=>f?t:t.slice(p,h),[t,p,h,f]),g=L=>{const C=Math.max(1,Math.min(L,d));a(C)},b=()=>{i<d&&a(L=>L+1)},x=()=>{i>1&&a(L=>L-1)},w=L=>{o(L),a(1)},j={currentPage:u,pageSize:s,totalItems:c,onPageChange:g,onPageSizeChange:w},v=g4(j);return{currentPage:u,pageSize:s,totalItems:c,totalPages:d,paginatedData:m,goToPage:g,nextPage:b,prevPage:x,setPageSize:w,paginationConfig:j,metadata:v}}function $A({data:t,initialSort:e={column:null,direction:null},initialPageSize:n=10,enablePagination:r=!0,serverMode:i=!1,totalItems:a,serverCurrentPage:s,serverCurrentPageSize:o}){const[f,c]=M.useState(e),[d,u]=M.useState([]),p=M.useMemo(()=>i||d.length===0?t:t.filter(C=>d.every(k=>{const S=C[k.column];switch(k.operator){case"equals":return S==k.value;case"contains":return String(S).toLowerCase().includes(String(k.value).toLowerCase());case"startsWith":return String(S).toLowerCase().startsWith(String(k.value).toLowerCase());case"greaterThan":return S>k.value;case"greaterThanOrEqual":return S>=k.value;case"lessThan":return S<k.value;case"lessThanOrEqual":return S<=k.value;default:return!0}})),[t,d,i]),h=M.useMemo(()=>i||!f.column||!f.direction?p:[...p].sort((C,k)=>{const S=C[f.column],T=k[f.column];return S<T?f.direction==="asc"?-1:1:S>T?f.direction==="asc"?1:-1:0}),[p,f,i]),m=i?a??t.length:h.length,g=WA({data:i?t:h,initialPageSize:n,resetOnDataChange:!0,serverSideTotalItems:i?m:void 0});M.useEffect(()=>{i&&(s!==void 0&&s!==g.currentPage&&g.goToPage(s),o!==void 0&&o!==g.pageSize&&g.setPageSize(o))},[i,s,o,g]);const b=C=>{c(k=>{if(k.column===C){if(k.direction==="asc")return{column:C,direction:"desc"};if(k.direction==="desc")return{column:null,direction:null}}return{column:C,direction:"asc"}})},x=(C,k,S="contains")=>{u(T=>{const E=T.filter(H=>H.column!==C);return k===""||k===null||k===void 0?E:[...E,{column:C,operator:S,value:k}]})},w=C=>{u(k=>k.filter(S=>S.column!==C))},j=C=>f.column===C?f.direction:null,v=i?t:r?g.paginatedData:h,L=i&&(s!==void 0||o!==void 0)?{...g.paginationConfig,currentPage:s??g.paginationConfig.currentPage,pageSize:o??g.paginationConfig.pageSize}:g.paginationConfig;return{data:v,state:{sort:f,filters:d,pagination:L},handlers:{onSort:b,setFilter:x,removeFilter:w,clearFilters:()=>u([])},getSortDirection:j}}function b4({label:t,value:e,onRemove:n,className:r}){return l.jsxs(be,{variant:"secondary",className:y("gap-1 pr-1 pl-2 h-7",n&&"pr-1",r),children:[l.jsxs("span",{className:"text-sm",children:[t,e&&l.jsxs(l.Fragment,{children:[": ",l.jsx("span",{className:"font-semibold",children:e})]})]}),n&&l.jsx("button",{type:"button",onClick:n,className:"ml-1 rounded-sm hover:bg-muted p-0.5 transition-colors","aria-label":`Remove ${t} filter`,children:l.jsx(N.X,{className:"h-3 w-3"})})]})}function x4({activeFilters:t=[],onClearAll:e,onOpenFilters:n,className:r,children:i}){const a=t.length>0;return l.jsxs("div",{className:y("flex items-center gap-2 flex-wrap",r),children:[l.jsxs(B,{variant:"outline",size:"sm",onClick:n,className:"gap-2",children:[l.jsx(N.Filter,{className:"h-4 w-4"}),"Filtros",a&&l.jsx("span",{className:"ml-1 rounded-full bg-primary text-primary-foreground w-5 h-5 text-xs flex items-center justify-center",children:t.length})]}),a&&l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"h-4 w-px bg-border"}),t.map(s=>l.jsx(b4,{label:s.label,value:s.value,onRemove:s.onRemove},s.id)),l.jsxs(B,{variant:"ghost",size:"sm",onClick:e,className:"gap-1 h-7 px-2",children:[l.jsx(N.X,{className:"h-3 w-3"}),"Limpar tudo"]})]}),i]})}const Kh=[{value:"is",label:"é",multiSelect:!1},{value:"is_not",label:"não é",multiSelect:!1},{value:"is_any_of",label:"é qualquer um de",multiSelect:!0},{value:"is_none_of",label:"não é nenhum de",multiSelect:!0},{value:"contains",label:"contém",multiSelect:!1},{value:"does_not_contain",label:"não contém",multiSelect:!1},{value:"greater_than",label:"maior que",multiSelect:!1},{value:"greater_than_or_equal",label:"maior ou igual a",multiSelect:!1},{value:"less_than",label:"menor que",multiSelect:!1},{value:"less_than_or_equal",label:"menor ou igual a",multiSelect:!1},{value:"is_empty",label:"está vazio",multiSelect:!1},{value:"is_not_empty",label:"não está vazio",multiSelect:!1}];function v4({conditions:t,onConditionsChange:e,fields:n,className:r}){const i=()=>{var f;const o={id:Math.random().toString(36).substr(2,9),field:((f=n[0])==null?void 0:f.value)||"",operator:"is",value:""};e([...t,o])},a=o=>{e(t.filter(f=>f.id!==o))},s=(o,f)=>{e(t.map(c=>c.id===o?{...c,...f}:c))};return l.jsxs("div",{className:y("space-y-3",r),children:[t.length===0?l.jsx("div",{className:"text-center py-8 text-muted-foreground text-sm",children:'Nenhuma condição de filtro. Clique em "Adicionar condição" para começar.'}):t.map((o,f)=>l.jsx(ZA,{condition:o,fields:n,index:f,onUpdate:c=>s(o.id,c),onRemove:()=>a(o.id)},o.id)),l.jsxs(B,{type:"button",variant:"outline",size:"sm",onClick:i,className:"gap-2",children:[l.jsx(N.Plus,{className:"h-4 w-4"}),"Adicionar condição"]})]})}function ZA({condition:t,fields:e,index:n,onUpdate:r,onRemove:i}){var m;const a=e.find(g=>g.value===t.field),s=Kh.find(g=>g.value===t.operator),o=(a==null?void 0:a.multiSelect)||(s==null?void 0:s.multiSelect)||!1,f=!["is_empty","is_not_empty"].includes(t.operator),[c,d]=M.useState(""),u=Array.isArray(t.value)?t.value:t.value?[t.value]:[],p=g=>{if(!o){r({value:g});return}const b=Array.isArray(t.value)?t.value:[],x=b.includes(g)?b.filter(w=>w!==g):[...b,g];r({value:x})},h=g=>{if(!o)return;const b=Array.isArray(t.value)?t.value:[];r({value:b.filter(x=>x!==g)})};return l.jsxs("div",{className:"flex items-start gap-2 group",children:[l.jsx("div",{className:"flex items-center h-9 px-2 text-sm text-muted-foreground",children:n===0?"Onde":"E"}),l.jsxs("div",{className:"flex-1 flex items-center gap-2 flex-wrap p-2 border rounded-lg bg-background",children:[l.jsxs(tt,{children:[l.jsx(We,{asChild:!0,children:l.jsx(B,{variant:"ghost",size:"sm",className:"h-7 px-2 font-normal hover:bg-muted",children:(a==null?void 0:a.label)||"Selecionar campo"})}),l.jsx($e,{className:"w-[200px] p-2",align:"start",children:l.jsx("div",{className:"space-y-1",children:e.map(g=>l.jsx(B,{variant:"ghost",size:"sm",className:y("w-full justify-start",t.field===g.value&&"bg-muted"),onClick:()=>r({field:g.value,value:g.multiSelect?[]:""}),children:g.label},g.value))})})]}),l.jsxs(tt,{children:[l.jsx(We,{asChild:!0,children:l.jsx(B,{variant:"ghost",size:"sm",className:"h-7 px-2 font-normal hover:bg-muted text-muted-foreground",children:(s==null?void 0:s.label)||"is"})}),l.jsx($e,{className:"w-[200px] p-2",align:"start",children:l.jsx("div",{className:"space-y-1",children:Kh.map(g=>l.jsx(B,{variant:"ghost",size:"sm",className:y("w-full justify-start",t.operator===g.value&&"bg-muted"),onClick:()=>r({operator:g.value,value:g.multiSelect?[]:""}),children:g.label},g.value))})})]}),f&&l.jsxs(l.Fragment,{children:[a!=null&&a.options?l.jsxs(tt,{onOpenChange:g=>!g&&d(""),children:[l.jsx(We,{asChild:!0,children:l.jsx(B,{variant:"ghost",size:"sm",className:"h-7 px-2 font-normal hover:bg-muted",children:o&&u.length>0?l.jsxs("span",{className:"flex items-center gap-1",children:[u.length," selecionado",u.length>1?"s":""]}):!o&&t.value&&((m=a.options.find(g=>g.value===t.value))==null?void 0:m.label)||"Selecionar valor"})}),l.jsx($e,{className:"w-[240px] p-3",align:"start",children:l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{className:"text-xs text-muted-foreground",children:o?"Selecionar valores":"Selecionar valor"}),l.jsxs("div",{className:"relative",children:[l.jsx(N.Search,{className:"absolute left-2 top-2.5 h-4 w-4 text-muted-foreground"}),l.jsx(Yt,{type:"text",placeholder:"Buscar...",value:c,onChange:g=>d(g.target.value),className:"h-9 pl-8",autoFocus:!0})]}),l.jsx("div",{className:"space-y-2 max-h-[200px] overflow-y-auto",children:(()=>{const g=a.options.filter(b=>b.label.toLowerCase().includes(c.toLowerCase())||b.value.toLowerCase().includes(c.toLowerCase()));return g.length===0?l.jsx("div",{className:"text-sm text-muted-foreground text-center py-4",children:"Nenhum resultado encontrado"}):g.map(b=>{const x=o?u.includes(b.value):t.value===b.value;return l.jsx("div",{className:"flex items-center space-x-2",children:o?l.jsxs(l.Fragment,{children:[l.jsx(Np,{id:`${t.id}-${b.value}`,checked:x,onCheckedChange:()=>p(b.value)}),l.jsx("label",{htmlFor:`${t.id}-${b.value}`,className:"text-sm cursor-pointer flex-1",children:b.label})]}):l.jsx(B,{variant:"ghost",size:"sm",className:y("w-full justify-start",x&&"bg-muted"),onClick:()=>r({value:b.value}),children:b.label})},b.value)})})()})]})})]}):(a==null?void 0:a.type)==="date"?l.jsx(Vd,{value:t.value?new Date(t.value+"T00:00:00"):void 0,onChange:g=>{if(g){const b=g.toISOString().split("T")[0];r({value:b})}else r({value:""})},placeholder:"Selecionar data",className:"h-7 text-sm"}):l.jsxs(tt,{children:[l.jsx(We,{asChild:!0,children:l.jsx(B,{variant:"ghost",size:"sm",className:"h-7 px-2 font-normal hover:bg-muted max-w-[200px] truncate",children:t.value||"Inserir valor"})}),l.jsx($e,{className:"w-[240px] p-3",align:"start",children:l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{className:"text-xs text-muted-foreground",children:"Inserir valor"}),l.jsx(Yt,{type:(a==null?void 0:a.type)==="number"?"number":"text",value:Array.isArray(t.value)?"":t.value,onChange:g=>r({value:g.target.value}),placeholder:"Digite o valor...",autoFocus:!0})]})})]}),o&&u.length>0&&l.jsx("div",{className:"flex items-center gap-1 flex-wrap",children:u.map(g=>{var x,w;const b=((w=(x=a==null?void 0:a.options)==null?void 0:x.find(j=>j.value===g))==null?void 0:w.label)||g;return l.jsxs(be,{variant:"secondary",className:"gap-1 h-6 text-xs",children:[b,l.jsx("button",{type:"button",onClick:()=>h(g),className:"ml-1 rounded-sm hover:bg-muted p-0.5 transition-colors","aria-label":`Remover ${b}`,children:l.jsx(N.X,{className:"h-3 w-3"})})]},g)})})]})]}),l.jsx(B,{type:"button",variant:"ghost",size:"sm",onClick:i,className:"h-9 w-9 p-0 opacity-0 group-hover:opacity-100 transition-opacity","aria-label":"Remover condição",children:l.jsx(N.X,{className:"h-4 w-4"})})]})}function y4({data:t,columns:e,searchPlaceholder:n="Buscar...",searchableColumns:r,enableSearch:i=!0,filterFields:a=[],enableFilters:s=!1,initialFilters:o=[],pageSizeOptions:f=[5,10,20,50],initialPageSize:c=10,toolbarActions:d,serverConfig:u,isLoading:p=!1,emptyMessage:h,className:m}){var _,q;const g=!!u,{data:b,state:x,handlers:w,getSortDirection:j}=$A({data:t,initialPageSize:c,initialSort:{column:null,direction:null},serverMode:g,totalItems:u==null?void 0:u.totalItems,serverCurrentPage:u==null?void 0:u.currentPage,serverCurrentPageSize:u==null?void 0:u.currentPageSize}),[v,L]=M.useState(""),[C,k]=M.useState(!1),[S,T]=M.useState(o),E=r?r[0]:((_=e.find(A=>A.key==="nome"||A.key==="name"||A.key==="title"||A.key==="titulo"))==null?void 0:_.key)||((q=e[0])==null?void 0:q.key),H=A=>{switch(A){case"is":return"equals";case"equals":return"equals";case"contains":return"contains";case"contem":return"contains";case"starts_with":return"startsWith";case"greater_than":return"greaterThan";case"greater_than_or_equal":return"greaterThanOrEqual";case"less_than":return"lessThan";case"less_than_or_equal":return"lessThanOrEqual";case"entre":return"equals";default:return"contains"}},V=M.useCallback(async A=>{g&&(u!=null&&u.onFilterChange)?await u.onFilterChange(A,v):(w.clearFilters(),v&&w.setFilter(E,v,"contains"),A.forEach(J=>{const se=H(J.operator);w.setFilter(J.field,J.value,se)}))},[g,u,v,w,E]);M.useEffect(()=>{o&&(T(o),o.length>0&&(g&&(u!=null&&u.onFilterChange)?u.onFilterChange(o,v):(w.clearFilters(),v&&w.setFilter(E,v,"contains"),o.forEach(A=>{const J=H(A.operator);w.setFilter(A.field,A.value,J)}))))},[JSON.stringify(o)]);const Q=M.useCallback(async A=>{L(A),g&&(u!=null&&u.onFilterChange)?await u.onFilterChange(S,A):w.setFilter(E,A,"contains")},[g,u,S,w,E]),K=A=>{if(/^\d{4}-\d{2}-\d{2}/.test(A)){const J=new Date(A+"T00:00:00");if(!isNaN(J.getTime()))return J.toLocaleDateString("pt-BR")}return A},O=A=>({is:"é",is_not:"não é",is_any_of:"é qualquer um de",is_none_of:"não é nenhum de",equals:"igual a",not_equals:"diferente de",contains:"contém",contem:"contém",does_not_contain:"não contém",starts_with:"começa com",ends_with:"termina com",greater_than:"maior que",greater_than_or_equal:"maior ou igual a",less_than:"menor que",less_than_or_equal:"menor ou igual a",is_empty:"está vazio",is_not_empty:"não está vazio",entre:"entre"})[A]||A,F=S.map(A=>{var ct,dt;const J=a.find(Qe=>Qe.value===A.field),se=O(A.operator);let we;return Array.isArray(A.value)?we=A.value.map(Qe=>{var on,Cn;return((Cn=(on=J==null?void 0:J.options)==null?void 0:on.find(Br=>Br.value===Qe))==null?void 0:Cn.label)||Qe}).join(", "):(J==null?void 0:J.type)==="date"?we=K(A.value):we=((dt=(ct=J==null?void 0:J.options)==null?void 0:ct.find(Qe=>Qe.value===A.value))==null?void 0:dt.label)||A.value,{id:A.id,label:(J==null?void 0:J.label)||A.field,value:se?`${se} ${we}`:we,onRemove:()=>{const Qe=S.filter(on=>on.id!==A.id);T(Qe),V(Qe)}}}),Y=()=>{V(S),k(!1)},ae=()=>{T([]),g&&(u!=null&&u.onFilterChange)?u.onFilterChange([],v):(w.clearFilters(),v&&w.setFilter(E,v,"contains"))},ce=M.useCallback(async A=>{if(g&&(u!=null&&u.onSortChange)){const J=x.sort;let se="asc";J.column===A&&(se=J.direction==="asc"?"desc":J.direction==="desc"?null:"asc");const we={column:se?A:null,direction:se};w.onSort(A),await u.onSortChange(we)}else w.onSort(A)},[g,u,x.sort,w]),W=M.useCallback(async A=>{g&&(u!=null&&u.onPageChange)?await u.onPageChange(A,x.pagination.pageSize):x.pagination.onPageChange&&x.pagination.onPageChange(A)},[g,u,x.pagination]),ye=M.useCallback(async A=>{g&&(u!=null&&u.onPageChange)?await u.onPageChange(1,A):x.pagination.onPageSizeChange&&x.pagination.onPageSizeChange(A)},[g,u,x.pagination]),pe=()=>{const A=S.length>0,J=v.trim().length>0;return A||J?"Nenhum resultado encontrado para os filtros aplicados.":h||"Nenhum dado disponível."};return l.jsxs("div",{className:y("space-y-4",m),children:[l.jsxs("div",{className:"flex items-center justify-between gap-2",children:[l.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[i&&l.jsxs("div",{className:"relative max-w-sm flex-1",children:[l.jsx(N.Search,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground pointer-events-none"}),l.jsx(Yt,{placeholder:n,value:v,onChange:A=>Q(A.target.value),onKeyDown:A=>{A.key==="Enter"&&A.preventDefault()},className:"pl-9"})]}),s&&a.length>0&&l.jsxs(tt,{open:C,onOpenChange:k,children:[l.jsx(We,{asChild:!0,children:l.jsxs(B,{variant:"outline",size:"sm",className:"gap-2",children:[l.jsx(N.Filter,{className:"h-4 w-4"}),"Filtros",S.length>0&&l.jsx("span",{className:"ml-1 rounded-full bg-primary text-primary-foreground w-5 h-5 text-xs flex items-center justify-center",children:S.length})]})}),l.jsxs($e,{className:"w-[700px] p-0",align:"start",sideOffset:8,children:[l.jsxs("div",{className:"p-6 border-b",children:[l.jsx("h3",{className:"font-semibold",children:"Filtros Avançados"}),l.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Adicione condições de filtro para refinar os resultados."})]}),l.jsx("div",{className:"p-6",children:l.jsx(v4,{conditions:S,onConditionsChange:T,fields:a})}),l.jsxs("div",{className:"flex items-center justify-end gap-2 p-4 border-t bg-muted/50",children:[l.jsx(B,{variant:"outline",size:"sm",onClick:()=>k(!1),children:"Cancelar"}),l.jsx(B,{size:"sm",onClick:Y,children:"Aplicar Filtros"})]})]})]})]}),d&&l.jsx("div",{className:"flex items-center gap-2",children:d})]}),S.length>0&&l.jsx(x4,{activeFilters:F,onClearAll:ae}),l.jsx("div",{className:"rounded-md border",children:l.jsxs(tu,{children:[l.jsx(nu,{children:l.jsx(Kr,{children:e.map(A=>l.jsxs(iu,{className:y(A.headerClassName,A.sortable&&"cursor-pointer select-none hover:bg-muted/50 transition-colors",A.sortable&&j(A.key)&&"text-primary"),style:{width:A.width},onClick:()=>A.sortable&&ce(A.key),"aria-sort":A.sortable?j(A.key)==="asc"?"ascending":j(A.key)==="desc"?"descending":"none":void 0,children:[A.header,A.sortable&&j(A.key)&&l.jsx(N.ArrowUpDown,{className:"ml-2 h-4 w-4 inline"})]},String(A.key)))})}),l.jsx(ru,{children:p?Array.from({length:Math.min(x.pagination.pageSize,15)}).map((A,J)=>l.jsx(Kr,{children:e.map((se,we)=>l.jsx(da,{className:se.className,children:l.jsx(Rn,{className:"h-4 w-full"})},we))},`skeleton-${J}`)):b.length>0?b.map((A,J)=>l.jsx(Kr,{children:e.map(se=>l.jsx(da,{className:y(se.className,se.align?`text-${se.align}`:"text-left"),children:se.render?se.render(A[se.key],A,J):A[se.key]},String(se.key)))},J)):l.jsx(Kr,{children:l.jsx(da,{colSpan:e.length,className:"h-24 text-center",children:pe()})})})]})}),l.jsx(au,{currentPage:x.pagination.currentPage,totalPages:Math.ceil(x.pagination.totalItems/x.pagination.pageSize),pageSize:x.pagination.pageSize,totalItems:x.pagination.totalItems,onPageChange:W,onPageSizeChange:ye,pageSizeOptions:f})]})}function qA({data:t,columns:e,title:n,description:r,searchPlaceholder:i="Buscar...",searchableColumns:a,filterFields:s=[],initialFilters:o,enableSearch:f=!0,enableFilters:c=s.length>0,pageSizeOptions:d=[5,10,20,50],initialPageSize:u=10,showCard:p=!0,cardPadding:h="p-6",toolbarActions:m,isLoading:g=!1,emptyMessage:b="Nenhum resultado encontrado.",className:x,serverConfig:w},j){const v=l.jsx(y4,{data:t,columns:e,searchPlaceholder:i,searchableColumns:a,enableSearch:f,enableFilters:c,filterFields:s,initialFilters:o,initialPageSize:u,pageSizeOptions:d,toolbarActions:m,serverConfig:w,isLoading:g,emptyMessage:b});return p?l.jsxs(vr,{ref:j,className:y(h,x),children:[(n||r)&&l.jsxs("div",{className:"mb-6",children:[n&&l.jsx("h2",{className:"text-lg font-semibold",children:n}),r&&l.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:r})]}),v]}):l.jsxs("div",{ref:j,className:x,children:[(n||r)&&l.jsxs("div",{className:"mb-6",children:[n&&l.jsx("h2",{className:"text-lg font-semibold",children:n}),r&&l.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:r})]}),v]})}const w4=I.forwardRef(qA);w4.displayName="AdvancedDataTable";function KA({filters:t=[],onSelectFilter:e,onToggleFavorite:n,onDeleteFilter:r,className:i}){const a=t.filter(o=>o.isFavorite),s=t.filter(o=>!o.isFavorite);return l.jsxs(Pa,{children:[l.jsx(Ra,{asChild:!0,children:l.jsxs(B,{variant:"outline",size:"sm",className:y("gap-2",i),children:[l.jsx(N.Download,{className:"h-4 w-4"}),"Filtros salvos",t.length>0&&l.jsxs("span",{className:"text-xs text-muted-foreground",children:["(",t.length,")"]})]})}),l.jsx(Ba,{align:"start",className:"w-[280px]",children:t.length===0?l.jsx("div",{className:"px-2 py-6 text-center text-sm text-muted-foreground",children:"No saved filters yet"}):l.jsxs(l.Fragment,{children:[a.length>0&&l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"px-2 py-1.5 text-xs font-semibold text-muted-foreground",children:"Favorites"}),a.map(o=>l.jsx(Xh,{filter:o,onSelect:e,onToggleFavorite:n,onDelete:r},o.id)),s.length>0&&l.jsx(Ys,{})]}),s.length>0&&l.jsxs(l.Fragment,{children:[a.length>0&&l.jsx("div",{className:"px-2 py-1.5 text-xs font-semibold text-muted-foreground",children:"Todos filtros"}),s.map(o=>l.jsx(Xh,{filter:o,onSelect:e,onToggleFavorite:n,onDelete:r},o.id))]})]})})]})}function Xh({filter:t,onSelect:e,onToggleFavorite:n,onDelete:r}){return l.jsxs("div",{className:"flex items-center gap-1 px-2 py-1.5 hover:bg-muted rounded-sm group",children:[l.jsx("button",{onClick:i=>{i.stopPropagation(),n==null||n(t.id)},className:"p-1 hover:bg-accent rounded-sm",children:l.jsx(N.Star,{className:y("h-3.5 w-3.5",t.isFavorite?"fill-yellow-500 text-yellow-500":"text-muted-foreground")})}),l.jsxs("button",{onClick:()=>e==null?void 0:e(t.id),className:"flex-1 text-left px-2",children:[l.jsx("div",{className:"text-sm",children:t.name}),t.description&&l.jsx("div",{className:"text-xs text-muted-foreground",children:t.description}),t.filterCount!==void 0&&l.jsxs("div",{className:"text-xs text-muted-foreground mt-0.5",children:[t.filterCount," ",t.filterCount===1?"filter":"filters"]})]}),l.jsx("button",{onClick:i=>{i.stopPropagation(),r==null||r(t.id)},className:"p-1 hover:bg-accent rounded-sm opacity-0 group-hover:opacity-100 transition-opacity",children:l.jsx(N.Trash2,{className:"h-3.5 w-3.5 text-destructive"})})]})}const XA=[{value:"not-started",label:"Não iniciada",color:"bg-gray-500"},{value:"in-progress",label:"Em progresso",color:"bg-primary"},{value:"on-hold",label:"Em espera",color:"bg-cyan-500"},{value:"completed",label:"Concluída",color:"bg-green-500"},{value:"delayed",label:"Atrasada",color:"bg-red-500"},{value:"cancelled",label:"Cancelada",color:"bg-orange-500"}];function e8({task:t,open:e,onOpenChange:n,onSave:r,availableTasks:i=[],availableAssignees:a=[]}){var x;const[s,o]=I.useState(null),[f,c]=I.useState(!1),[d,u]=I.useState(!1);if(I.useEffect(()=>{t&&o({...t})},[t]),!s)return null;const p=()=>{r(s),n(!1)},h=(w,j)=>{o(v=>v?{...v,[w]:j}:null)},m=w=>{o(j=>{if(!j)return null;const v=j.dependencies||[],L=v.includes(w)?v.filter(C=>C!==w):[...v,w];return{...j,dependencies:L}})},g=i.filter(w=>w.id!==s.id),b=s.name.trim()!==""&&s.startDate<=s.endDate;return l.jsx(Za,{open:e,onOpenChange:n,children:l.jsxs(qa,{className:"max-w-2xl max-h-[90vh] overflow-y-auto",children:[l.jsxs(Ka,{children:[l.jsx(Xa,{children:"Editar Tarefa"}),l.jsx(es,{children:'Altere os detalhes da tarefa abaixo. As mudanças serão salvas ao clicar em "Salvar alterações".'})]}),l.jsxs("div",{className:"space-y-6 py-4",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{htmlFor:"task-name",children:"Nome da Tarefa *"}),l.jsx(Yt,{id:"task-name",value:s.name,onChange:w=>h("name",w.target.value),placeholder:"Ex: Briefing com cliente"})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{htmlFor:"task-description",children:"Descrição"}),l.jsx(Xd,{id:"task-description",value:s.description||"",onChange:w=>h("description",w.target.value),placeholder:"Adicione detalhes sobre esta tarefa...",rows:3})]}),l.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{children:"Data de Início *"}),l.jsxs(tt,{open:f,onOpenChange:c,children:[l.jsx(We,{asChild:!0,children:l.jsxs(B,{variant:"outline",className:y("w-full justify-start text-left font-normal",!s.startDate&&"text-muted-foreground"),children:[l.jsx(N.CalendarIcon,{className:"mr-2 size-4"}),s.startDate?R.format(s.startDate,"dd/MM/yyyy",{locale:gt}):"Selecionar data"]})}),l.jsx($e,{className:"w-auto p-0",align:"start",children:l.jsx(Calendar,{mode:"single",selected:s.startDate,onSelect:w=>{w&&(h("startDate",w),c(!1))},initialFocus:!0})})]})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{children:"Data de Término *"}),l.jsxs(tt,{open:d,onOpenChange:u,children:[l.jsx(We,{asChild:!0,children:l.jsxs(B,{variant:"outline",className:y("w-full justify-start text-left font-normal",!s.endDate&&"text-muted-foreground"),children:[l.jsx(N.CalendarIcon,{className:"mr-2 size-4"}),s.endDate?R.format(s.endDate,"dd/MM/yyyy",{locale:gt}):"Selecionar data"]})}),l.jsx($e,{className:"w-auto p-0",align:"start",children:l.jsx(Calendar,{mode:"single",selected:s.endDate,onSelect:w=>{w&&(h("endDate",w),u(!1))},disabled:w=>s.startDate?w<s.startDate:!1,initialFocus:!0})})]})]})]}),s.startDate>s.endDate&&l.jsxs("div",{className:"flex items-center gap-2 p-3 rounded-lg bg-red-50 dark:bg-red-950/20 border border-red-200 dark:border-red-900",children:[l.jsx(N.AlertCircle,{className:"size-4 text-red-600 flex-shrink-0"}),l.jsx("p",{className:"text-sm text-red-900 dark:text-red-200",children:"A data de término deve ser posterior à data de início"})]}),l.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{htmlFor:"task-status",children:"Status"}),l.jsxs(Zt,{value:s.status,onValueChange:w=>h("status",w),children:[l.jsx(Kt,{id:"task-status",children:l.jsx(qt,{})}),l.jsx(Xt,{children:XA.map(w=>l.jsx(kt,{value:w.value,children:l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("div",{className:y("size-2 rounded-full",w.color)}),w.label]})},w.value))})]})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{htmlFor:"task-assignee",children:"Responsável"}),l.jsxs(Zt,{value:((x=s.assignee)==null?void 0:x.name)||"",onValueChange:w=>{const j=a.find(v=>v.name===w);h("assignee",j||void 0)},children:[l.jsx(Kt,{id:"task-assignee",children:l.jsx(qt,{placeholder:"Selecionar responsável"})}),l.jsx(Xt,{children:a.map(w=>l.jsx(kt,{value:w.name,children:l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(N.User,{className:"size-4"}),w.name]})},w.name))})]})]})]}),l.jsxs("div",{className:"space-y-3",children:[l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsx(He,{children:"Progresso"}),l.jsxs("span",{className:"text-sm font-medium",children:[s.progress,"%"]})]}),l.jsx(d4,{value:[s.progress],onValueChange:w=>h("progress",w[0]),max:100,step:5,className:"w-full"}),l.jsxs("div",{className:"flex justify-between text-xs text-muted-foreground",children:[l.jsx("span",{children:"0%"}),l.jsx("span",{children:"50%"}),l.jsx("span",{children:"100%"})]})]}),l.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg border",children:[l.jsxs("div",{className:"space-y-0.5",children:[l.jsx(He,{htmlFor:"milestone-toggle",className:"cursor-pointer",children:"Marco Importante (Milestone)"}),l.jsx("p",{className:"text-sm text-muted-foreground",children:"Marcos aparecem como losangos no cronograma"})]}),l.jsx(u4,{id:"milestone-toggle",checked:s.milestone||!1,onCheckedChange:w=>h("milestone",w)})]}),g.length>0&&l.jsxs("div",{className:"space-y-3",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(N.Link2,{className:"size-4 text-muted-foreground"}),l.jsx(He,{children:"Dependências"})]}),l.jsx("p",{className:"text-sm text-muted-foreground",children:"Selecione as tarefas que precisam ser concluídas antes desta"}),l.jsx("div",{className:"space-y-2 max-h-48 overflow-y-auto border rounded-lg p-3",children:g.map(w=>{var v;const j=((v=s.dependencies)==null?void 0:v.includes(w.id))||!1;return l.jsxs("div",{className:y("flex items-center gap-3 p-2 rounded-md cursor-pointer transition-colors",j?"bg-primary/10 border border-primary/20":"hover:bg-muted/50"),onClick:()=>m(w.id),children:[l.jsx("div",{className:y("size-4 rounded border-2 flex items-center justify-center transition-all",j?"bg-primary border-primary":"border-muted-foreground"),children:j&&l.jsx("div",{className:"size-2 rounded-sm bg-white"})}),l.jsx("span",{className:"text-sm flex-1",children:w.name}),w.assignee&&l.jsx(be,{variant:"outline",className:"text-xs",children:w.assignee.name})]},w.id)})}),s.dependencies&&s.dependencies.length>0&&l.jsxs("p",{className:"text-xs text-muted-foreground",children:[s.dependencies.length," dependência(s) selecionada(s)"]})]})]}),l.jsxs(jl,{children:[l.jsx(B,{variant:"outline",onClick:()=>n(!1),children:"Cancelar"}),l.jsx(B,{onClick:p,disabled:!b,children:"Salvar alterações"})]})]})})}const t8=t=>{switch(t){case"create":return l.jsx(N.PlusCircle,{className:"h-4 w-4 text-green-600"});case"status_change":return l.jsx(N.RefreshCw,{className:"h-4 w-4 text-blue-600"});case"comment":return l.jsx(N.MessageSquare,{className:"h-4 w-4 text-slate-500"});case"upload":return l.jsx(N.Paperclip,{className:"h-4 w-4 text-orange-600"});case"assignment":return l.jsx(N.User,{className:"h-4 w-4 text-purple-600"});case"update":return l.jsx(N.Pencil,{className:"h-4 w-4 text-amber-600"});default:return l.jsx(N.Circle,{className:"h-4 w-4 text-slate-400"})}},n8=t=>{switch(t){case"create":return"bg-green-50 border-green-200";case"status_change":return"bg-blue-50 border-blue-200";case"comment":return"bg-slate-50 border-slate-200";case"upload":return"bg-orange-50 border-orange-200";case"assignment":return"bg-purple-50 border-purple-200";case"update":return"bg-amber-50 border-amber-200";default:return"bg-slate-50 border-slate-200"}},r8=({event:t,isLast:e,onDetailsOpen:n})=>{var o,f,c,d,u,p,h;const[r,i]=I.useState(!1),a=!!((o=t.metadata)!=null&&o.before||(f=t.metadata)!=null&&f.after||(c=t.metadata)!=null&&c.details),s=m=>{i(m),m&&n&&n(t)};return l.jsxs("div",{className:"flex gap-4 group",children:[l.jsxs("div",{className:"flex flex-col items-center",children:[l.jsx("div",{className:y("flex items-center justify-center w-8 h-8 rounded-full border shadow-sm z-10 transition-colors","bg-background group-hover:border-primary/50",n8(t.action)),children:t8(t.action)}),!e&&l.jsx("div",{className:"w-px h-full bg-border group-hover:bg-primary/20 transition-colors min-h-[2rem]"})]}),l.jsx("div",{className:"flex-1 pb-8 min-w-0",children:l.jsxs("div",{className:"flex flex-col gap-1",children:[l.jsxs("div",{className:"flex items-center justify-between gap-4",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-foreground/90",children:[l.jsx("span",{className:"font-semibold",children:t.user.name}),l.jsx("span",{className:"text-muted-foreground font-normal",children:t.title})]}),l.jsx("span",{className:"text-xs text-muted-foreground whitespace-nowrap",title:R.format(t.timestamp,"PPpp",{locale:gt}),children:R.formatDistanceToNow(t.timestamp,{addSuffix:!0,locale:gt})})]}),a&&l.jsxs(kp,{open:r,onOpenChange:s,className:"mt-1",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[t.action==="upload"&&((d=t.metadata)==null?void 0:d.fileName)&&l.jsxs(be,{variant:"outline",className:"gap-1 font-normal bg-muted/30 text-muted-foreground hover:bg-muted/50",children:[l.jsx(N.FileText,{className:"h-3 w-3"}),t.metadata.fileName]}),l.jsx(Sp,{asChild:!0,children:l.jsxs(B,{variant:"ghost",size:"sm",className:"h-6 px-2 text-xs text-muted-foreground hover:text-primary gap-1",children:[r?"Ocultar detalhes":"Ver detalhes",l.jsx(N.ChevronRight,{className:y("h-3 w-3 transition-transform duration-200",r&&"rotate-90")})]})})]}),l.jsx(Ip,{className:"mt-2",children:l.jsxs("div",{className:"rounded-md border bg-muted/30 p-3 text-sm animate-in slide-in-from-top-2 duration-200",children:[(((u=t.metadata)==null?void 0:u.before)||((p=t.metadata)==null?void 0:p.after))&&l.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-2 sm:gap-4",children:[t.metadata.before&&l.jsx("div",{className:"flex-1 p-2 rounded bg-background/50 border border-dashed text-muted-foreground line-through text-xs",children:t.metadata.before}),t.metadata.before&&t.metadata.after&&l.jsx(N.ArrowRight,{className:"h-4 w-4 text-muted-foreground hidden sm:block"}),t.metadata.after&&l.jsx("div",{className:"flex-1 p-2 rounded bg-background border border-l-4 border-l-[#7F26BF] shadow-sm text-foreground text-xs font-medium",children:t.metadata.after})]}),((h=t.metadata)==null?void 0:h.details)&&l.jsx("div",{className:"prose prose-sm dark:prose-invert max-w-none text-xs",children:t.metadata.details})]})})]})]})})]})},i8=({events:t,className:e,onDetailsOpen:n})=>l.jsx("div",{className:y("flex flex-col",e),children:t.map((r,i)=>l.jsx(r8,{event:r,isLast:i===t.length-1,onDetailsOpen:n},r.id))}),M4=I.createContext(void 0);function j4(){const t=I.useContext(M4);if(!t)throw new Error("UnderlineTabs components must be used within UnderlineTabs");return t}function a8({defaultValue:t,value:e,onValueChange:n,children:r,className:i}){const[a,s]=I.useState(t||""),o=e!==void 0?e:a,f=c=>{e===void 0&&s(c),n==null||n(c)};return l.jsx(M4.Provider,{value:{value:o,onValueChange:f},children:l.jsx("div",{className:y("w-full",i),role:"tablist",children:r})})}function s8({children:t,className:e}){return l.jsx("div",{className:y("border-b border-border bg-background",e),children:l.jsx("div",{className:"flex",children:t})})}function o8({value:t,children:e,className:n,disabled:r=!1}){const{value:i,onValueChange:a}=j4(),s=i===t;return l.jsx("button",{type:"button",role:"tab","aria-selected":s,"aria-disabled":r,disabled:r,onClick:()=>!r&&a(t),className:y("px-4 h-12 text-sm font-medium border-b-2 transition-colors relative","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50",s?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground hover:border-border",n),children:e})}function l8({value:t,children:e,className:n}){const{value:r}=j4();return r!==t?null:l.jsx("div",{role:"tabpanel","aria-labelledby":t,className:y("mt-4",n),children:e})}const C4=I.createContext({size:"default",variant:"default"});function f8({className:t,variant:e,size:n,children:r,...i}){return l.jsx(ip.Root,{"data-slot":"toggle-group","data-variant":e,"data-size":n,className:y("group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs",t),...i,children:l.jsx(C4.Provider,{value:{variant:e,size:n},children:r})})}function c8({className:t,children:e,variant:n,size:r,...i}){const a=I.useContext(C4);return l.jsx(ip.Item,{"data-slot":"toggle-group-item","data-variant":a.variant||n,"data-size":a.size||r,className:y(Yd({variant:a.variant||n,size:a.size||r}),"min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first:border-l",t),...i,children:e})}const Ti={sm:"w-24 h-24",md:"w-32 h-32",lg:"w-48 h-48"};function L4({className:t,size:e="md",primaryColor:n="var(--purple-500)",secondaryColor:r="var(--purple-100)"}){return l.jsxs("svg",{className:y(Ti[e],t),viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("circle",{cx:"60",cy:"60",r:"55",fill:r,opacity:"0.5"}),l.jsx("rect",{x:"30",y:"45",width:"60",height:"40",rx:"4",fill:n,opacity:"0.2"}),l.jsx("rect",{x:"30",y:"45",width:"60",height:"15",rx:"4",fill:n}),l.jsx("path",{d:"M35 60 L60 75 L85 60",stroke:n,strokeWidth:"3",fill:"none"}),l.jsx("circle",{cx:"25",cy:"35",r:"3",fill:n,opacity:"0.6"}),l.jsx("circle",{cx:"95",cy:"40",r:"2",fill:n,opacity:"0.4"}),l.jsx("circle",{cx:"100",cy:"70",r:"2.5",fill:n,opacity:"0.5"})]})}function N4({className:t,size:e="md",primaryColor:n="var(--purple-500)",secondaryColor:r="var(--purple-100)"}){return l.jsxs("svg",{className:y(Ti[e],t),viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("circle",{cx:"60",cy:"60",r:"55",fill:r,opacity:"0.5"}),l.jsx("circle",{cx:"52",cy:"52",r:"22",stroke:n,strokeWidth:"4",fill:"none"}),l.jsx("line",{x1:"68",y1:"68",x2:"88",y2:"88",stroke:n,strokeWidth:"4",strokeLinecap:"round"}),l.jsx("line",{x1:"45",y1:"45",x2:"59",y2:"59",stroke:n,strokeWidth:"3",strokeLinecap:"round",opacity:"0.6"}),l.jsx("line",{x1:"59",y1:"45",x2:"45",y2:"59",stroke:n,strokeWidth:"3",strokeLinecap:"round",opacity:"0.6"})]})}function k4({className:t,size:e="md",primaryColor:n="var(--purple-500)",secondaryColor:r="var(--purple-100)"}){return l.jsxs("svg",{className:y(Ti[e],t),viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("circle",{cx:"60",cy:"60",r:"55",fill:r,opacity:"0.5"}),l.jsx("path",{d:"M25 40 L25 85 L95 85 L95 45 L55 45 L50 40 Z",fill:n,opacity:"0.3"}),l.jsx("path",{d:"M25 50 L25 85 L95 85 L95 50 Z",fill:n,opacity:"0.6"}),l.jsx("line",{x1:"60",y1:"60",x2:"60",y2:"76",stroke:"white",strokeWidth:"3",strokeLinecap:"round"}),l.jsx("line",{x1:"52",y1:"68",x2:"68",y2:"68",stroke:"white",strokeWidth:"3",strokeLinecap:"round"})]})}function S4({className:t,size:e="md",primaryColor:n="var(--purple-500)",secondaryColor:r="var(--purple-100)"}){return l.jsxs("svg",{className:y(Ti[e],t),viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("circle",{cx:"60",cy:"60",r:"55",fill:r,opacity:"0.5"}),l.jsx("rect",{x:"28",y:"35",width:"64",height:"55",rx:"4",fill:n,opacity:"0.2"}),l.jsx("rect",{x:"28",y:"35",width:"64",height:"15",rx:"4",fill:n}),l.jsx("rect",{x:"40",y:"30",width:"4",height:"12",rx:"2",fill:n}),l.jsx("rect",{x:"76",y:"30",width:"4",height:"12",rx:"2",fill:n}),l.jsx("circle",{cx:"45",cy:"62",r:"3",fill:n,opacity:"0.3"}),l.jsx("circle",{cx:"60",cy:"62",r:"3",fill:n,opacity:"0.3"}),l.jsx("circle",{cx:"75",cy:"62",r:"3",fill:n,opacity:"0.3"}),l.jsx("circle",{cx:"45",cy:"77",r:"3",fill:n,opacity:"0.3"}),l.jsx("circle",{cx:"60",cy:"77",r:"3",fill:n,opacity:"0.3"}),l.jsx("circle",{cx:"75",cy:"77",r:"3",fill:n,opacity:"0.3"})]})}function I4({className:t,size:e="md",primaryColor:n="var(--red-500)",secondaryColor:r="var(--red-100)"}){return l.jsxs("svg",{className:y(Ti[e],t),viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("circle",{cx:"60",cy:"60",r:"55",fill:r,opacity:"0.5"}),l.jsx("path",{d:"M60 30 L90 80 L30 80 Z",fill:n,opacity:"0.2",stroke:n,strokeWidth:"3"}),l.jsx("line",{x1:"60",y1:"48",x2:"60",y2:"62",stroke:n,strokeWidth:"4",strokeLinecap:"round"}),l.jsx("circle",{cx:"60",cy:"70",r:"2.5",fill:n})]})}function T4({className:t,size:e="md",primaryColor:n="var(--green-500)",secondaryColor:r="var(--green-100)"}){return l.jsxs("svg",{className:y(Ti[e],t),viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("circle",{cx:"60",cy:"60",r:"55",fill:r,opacity:"0.5"}),l.jsx("circle",{cx:"60",cy:"60",r:"30",fill:n,opacity:"0.2",stroke:n,strokeWidth:"3"}),l.jsx("path",{d:"M45 60 L55 70 L75 50",stroke:n,strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]})}const d8={EmptyInbox:L4,EmptySearch:N4,EmptyProjects:k4,EmptyCalendar:S4,ErrorState:I4,SuccessState:T4};function u8({data:t,showPreview:e=!1,logo:n}){const r=a=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(a),i=a=>new Date(a).toLocaleDateString("pt-BR",{year:"numeric",month:"long",day:"numeric"});return l.jsxs("div",{className:y("proposal-template bg-white text-black",e?"shadow-lg rounded-lg p-8 max-w-5xl mx-auto my-8":"p-0"),style:{fontFamily:"system-ui, -apple-system, sans-serif",fontSize:"12pt",lineHeight:"1.6"},children:[l.jsx(Cc,{logo:n,companyName:t.agency.name,contactInfo:{email:t.agency.email,phone:t.agency.phone},documentType:"Proposta Comercial",documentNumber:t.proposalNumber,issueDate:i(t.issueDate)}),l.jsx(ut,{children:l.jsx(sr,{columns:2,items:[{label:"Nº da Proposta",value:t.proposalNumber,highlight:!0},{label:"Validade",value:i(t.validUntil)},{label:"Cliente",value:t.client.name,highlight:!0},...t.client.contact?[{label:"Contato",value:t.client.contact}]:[]]})}),l.jsxs(ut,{title:"Projeto",children:[l.jsx("h3",{className:"text-base font-semibold text-primary mb-3",children:t.projectTitle}),t.projectDescription&&l.jsx("p",{className:"text-sm text-gray-700 leading-relaxed",children:t.projectDescription})]}),t.objectives&&t.objectives.length>0&&l.jsx(ut,{title:"Objetivos",children:l.jsx("ul",{className:"list-disc list-inside space-y-2",children:t.objectives.map((a,s)=>l.jsx("li",{className:"text-sm text-gray-700",children:a},s))})}),l.jsxs(ut,{title:"Escopo e Investimento",children:[l.jsx(Qs,{columns:[{header:"Item",key:"name",width:"35%"},{header:"Descrição",key:"description",width:"30%"},{header:"Qtd.",key:"quantity",align:"center",width:"10%",render:a=>a||"-"},{header:"Valor Unit.",key:"unitPrice",align:"right",width:"12.5%",render:a=>a?r(a):"-"},{header:"Valor Total",key:"totalPrice",align:"right",width:"12.5%",render:a=>r(a)}],data:t.items,striped:!0,density:"comfortable"}),l.jsx("div",{className:"mt-6 flex justify-end",children:l.jsxs("div",{className:"w-80 space-y-2",children:[l.jsxs("div",{className:"flex justify-between text-sm",children:[l.jsx("span",{className:"text-gray-600",children:"Subtotal:"}),l.jsx("span",{className:"font-semibold",children:r(t.subtotal)})]}),t.discount&&t.discount>0&&l.jsxs("div",{className:"flex justify-between text-sm",children:[l.jsx("span",{className:"text-gray-600",children:"Desconto:"}),l.jsxs("span",{className:"font-semibold text-green-600",children:["- ",r(t.discount)]})]}),l.jsxs("div",{className:"border-t-2 border-primary pt-2 flex justify-between",children:[l.jsx("span",{className:"font-semibold text-base",children:"Total:"}),l.jsx("span",{className:"font-semibold text-lg text-primary",children:r(t.total)})]})]})})]}),(t.paymentConditions||t.deliveryTime)&&l.jsx(ut,{title:"Condições Comerciais",children:l.jsx(sr,{columns:1,items:[...t.paymentConditions?[{label:"Forma de Pagamento",value:t.paymentConditions}]:[],...t.deliveryTime?[{label:"Prazo de Entrega",value:t.deliveryTime}]:[]]})}),t.notes&&l.jsx(ut,{title:"Observações",children:l.jsx("p",{className:"text-sm text-gray-700 leading-relaxed",children:t.notes})}),l.jsx(Nc,{signatures:[{label:"APROVAÇÃO DO CLIENTE",name:t.client.name,role:t.client.contact}],layout:"vertical",instructionText:"Para aprovar esta proposta, assine abaixo e retorne para o e-mail indicado no cabeçalho."}),l.jsx(Lc,{pageNumber:1,totalPages:1,footerText:`Proposta válida até ${i(t.validUntil)}`})]})}Object.defineProperty(exports,"toast",{enumerable:!0,get:()=>rp.toast});exports.Accordion=wx;exports.AccordionContent=Cx;exports.AccordionItem=Mx;exports.AccordionTrigger=jx;exports.AdvancedDataTable=w4;exports.Alert=Px;exports.AlertDescription=Bx;exports.AlertDialog=Lx;exports.AlertDialogAction=Ax;exports.AlertDialogCancel=zx;exports.AlertDialogContent=Sx;exports.AlertDialogDescription=Ex;exports.AlertDialogFooter=Tx;exports.AlertDialogHeader=Ix;exports.AlertDialogTitle=Dx;exports.AlertDialogTrigger=Nx;exports.AlertTitle=Rx;exports.AppLayout=Ux;exports.AppLayoutPrimaryNav=qx;exports.AppLayoutSecondaryNav=Kx;exports.AppLayoutUserMenu=cp;exports.AspectRatio=Xx;exports.AuthLayout=dp;exports.Avatar=Jt;exports.AvatarFallback=Vt;exports.AvatarImage=Vn;exports.Badge=be;exports.BrandLogo=oi;exports.Breadcrumb=up;exports.BreadcrumbEllipsis=ev;exports.BreadcrumbItem=pp;exports.BreadcrumbLink=mp;exports.BreadcrumbList=hp;exports.BreadcrumbPage=gp;exports.BreadcrumbSeparator=bp;exports.Button=B;exports.Calendar=Yo;exports.Card=vr;exports.CardAction=Av;exports.CardContent=ci;exports.CardDescription=xp;exports.CardFooter=vp;exports.CardHeader=li;exports.CardTitle=fi;exports.Carousel=Rv;exports.CarouselContent=Bv;exports.CarouselItem=Hv;exports.CarouselNext=Uv;exports.CarouselPrevious=Fv;exports.ChartContainer=Jv;exports.ChartLegend=Gv;exports.ChartLegendContent=Wv;exports.ChartTooltip=Yv;exports.ChartTooltipContent=Qv;exports.Checkbox=Np;exports.Collapsible=kp;exports.CollapsibleContent=Ip;exports.CollapsibleTrigger=Sp;exports.ColorPicker=Zv;exports.Command=sb;exports.CommandDialog=aT;exports.CommandEmpty=lT;exports.CommandGroup=fT;exports.CommandInput=sT;exports.CommandItem=dT;exports.CommandList=oT;exports.CommandSeparator=cT;exports.CommandShortcut=uT;exports.CommentSystem=QI;exports.CompactPageHeader=Z5;exports.ContextMenu=hT;exports.ContextMenuCheckboxItem=jT;exports.ContextMenuContent=wT;exports.ContextMenuGroup=mT;exports.ContextMenuItem=MT;exports.ContextMenuLabel=LT;exports.ContextMenuPortal=gT;exports.ContextMenuRadioGroup=xT;exports.ContextMenuRadioItem=CT;exports.ContextMenuSeparator=NT;exports.ContextMenuShortcut=kT;exports.ContextMenuSub=bT;exports.ContextMenuSubContent=yT;exports.ContextMenuSubTrigger=vT;exports.ContextMenuTrigger=pT;exports.ContractPrint=Pv;exports.ContractPrintPreview=Mp;exports.ContractTemplate=kc;exports.CurrencyInput=Kb;exports.DataTable=y4;exports.DatePicker=Vd;exports.DateRangePicker=tb;exports.Dialog=Za;exports.DialogClose=iT;exports.DialogContent=qa;exports.DialogDescription=es;exports.DialogFooter=jl;exports.DialogHeader=Ka;exports.DialogTitle=Xa;exports.DialogTrigger=nT;exports.DocumentEditor=ET;exports.Drawer=AT;exports.DrawerClose=fb;exports.DrawerContent=db;exports.DrawerDescription=hb;exports.DrawerFooter=PT;exports.DrawerHeader=OT;exports.DrawerTitle=ub;exports.DrawerTrigger=lb;exports.DropdownMenu=Pa;exports.DropdownMenuCheckboxItem=Jx;exports.DropdownMenuContent=Ba;exports.DropdownMenuGroup=lp;exports.DropdownMenuItem=ur;exports.DropdownMenuLabel=fp;exports.DropdownMenuPortal=_x;exports.DropdownMenuRadioGroup=Vx;exports.DropdownMenuRadioItem=Yx;exports.DropdownMenuSeparator=Ys;exports.DropdownMenuShortcut=Qx;exports.DropdownMenuSub=Gx;exports.DropdownMenuSubContent=$x;exports.DropdownMenuSubTrigger=Wx;exports.DropdownMenuTrigger=Ra;exports.EditableBadge=pb;exports.EditorialCalendar=n5;exports.EmptyCalendarIllustration=S4;exports.EmptyInboxIllustration=L4;exports.EmptyProjectsIllustration=k4;exports.EmptySearchIllustration=N4;exports.ErrorStateIllustration=I4;exports.FilterBar=x4;exports.FilterBuilder=v4;exports.FilterChip=b4;exports.Form=i5;exports.FormControl=l5;exports.FormDescription=f5;exports.FormField=a5;exports.FormItem=s5;exports.FormLabel=o5;exports.FormMessage=c5;exports.GanttChart=Wb;exports.GanttLegend=$b;exports.HoverCard=h5;exports.HoverCardContent=m5;exports.HoverCardTrigger=p5;exports.Illustrations=d8;exports.ImageWithFallback=yp;exports.Input=Yt;exports.InputGroup=qb;exports.InputGroupAddon=vc;exports.InputGroupButton=M5;exports.InputGroupInput=C5;exports.InputGroupText=j5;exports.InputGroupTextarea=L5;exports.InputOTP=g5;exports.InputOTPGroup=b5;exports.InputOTPSeparator=v5;exports.InputOTPSlot=x5;exports.KPICard=ib;exports.KanbanCard=rb;exports.Label=He;exports.MentionList=Cd;exports.Menubar=k5;exports.MenubarCheckboxItem=z5;exports.MenubarContent=E5;exports.MenubarGroup=I5;exports.MenubarItem=A5;exports.MenubarLabel=P5;exports.MenubarMenu=S5;exports.MenubarPortal=Xb;exports.MenubarRadioGroup=T5;exports.MenubarRadioItem=O5;exports.MenubarSeparator=R5;exports.MenubarShortcut=B5;exports.MenubarSub=H5;exports.MenubarSubContent=U5;exports.MenubarSubTrigger=F5;exports.MenubarTrigger=D5;exports.NavigationMenu=_5;exports.NavigationMenuContent=Q5;exports.NavigationMenuItem=V5;exports.NavigationMenuLink=W5;exports.NavigationMenuList=J5;exports.NavigationMenuTrigger=Y5;exports.NumberInput=Jo;exports.PageHeader=$5;exports.Pagination=q5;exports.PaginationContent=K5;exports.PaginationEllipsis=nA;exports.PaginationItem=X5;exports.PaginationLink=eu;exports.PaginationNext=tA;exports.PaginationPrevious=eA;exports.PasswordInput=Zb;exports.Popover=tt;exports.PopoverContent=$e;exports.PopoverTrigger=We;exports.PrintFooter=Lc;exports.PrintHeader=Cc;exports.PrintInfoGrid=sr;exports.PrintSection=ut;exports.PrintSignature=Nc;exports.PrintTable=Qs;exports.Progress=nb;exports.ProposalTemplate=u8;exports.RadioGroup=rA;exports.RadioGroupItem=iA;exports.ResizableHandle=oA;exports.ResizablePanel=sA;exports.ResizablePanelGroup=aA;exports.SavedFilters=KA;exports.ScrollArea=dr;exports.ScrollBar=sp;exports.Select=Zt;exports.SelectContent=Xt;exports.SelectGroup=GI;exports.SelectItem=kt;exports.SelectLabel=WI;exports.SelectSeparator=$I;exports.SelectTrigger=Kt;exports.SelectValue=qt;exports.Separator=An;exports.Sheet=t4;exports.SheetClose=fA;exports.SheetContent=r4;exports.SheetDescription=s4;exports.SheetFooter=dA;exports.SheetHeader=i4;exports.SheetTitle=a4;exports.SheetTrigger=lA;exports.Sidebar=vA;exports.SidebarContent=NA;exports.SidebarFooter=CA;exports.SidebarGroup=kA;exports.SidebarGroupAction=IA;exports.SidebarGroupContent=TA;exports.SidebarGroupLabel=SA;exports.SidebarHeader=jA;exports.SidebarInset=MA;exports.SidebarMenu=DA;exports.SidebarMenuAction=OA;exports.SidebarMenuBadge=PA;exports.SidebarMenuButton=zA;exports.SidebarMenuItem=EA;exports.SidebarMenuSkeleton=RA;exports.SidebarMenuSub=BA;exports.SidebarMenuSubButton=FA;exports.SidebarMenuSubItem=HA;exports.SidebarProvider=xA;exports.SidebarRail=wA;exports.SidebarSeparator=LA;exports.SidebarTrigger=yA;exports.Skeleton=Rn;exports.Slider=d4;exports.SocialButton=c4;exports.SuccessStateIllustration=T4;exports.Switch=u4;exports.Table=tu;exports.TableBody=ru;exports.TableCaption=p4;exports.TableCell=da;exports.TableFooter=h4;exports.TableHead=iu;exports.TableHeader=nu;exports.TablePagination=au;exports.TableRow=Kr;exports.Tabs=mb;exports.TabsContent=BT;exports.TabsList=gb;exports.TabsTrigger=Us;exports.TaskCalendar=r5;exports.TaskEditDialog=e8;exports.Textarea=Xd;exports.TimePicker=za;exports.Timeline=i8;exports.Toaster=YA;exports.Toggle=ob;exports.ToggleGroup=f8;exports.ToggleGroupItem=c8;exports.Tooltip=ei;exports.TooltipContent=ni;exports.TooltipProvider=Sc;exports.TooltipTrigger=ti;exports.UnderlineTabs=a8;exports.UnderlineTabsContent=l8;exports.UnderlineTabsList=s8;exports.UnderlineTabsTrigger=o8;exports.badgeVariants=op;exports.buttonVariants=Bn;exports.calculatePaginationMetadata=g4;exports.cn=y;exports.dadosContratoExemplo=Ov;exports.getPageNumbers=m4;exports.navigationMenuTriggerStyle=e4;exports.socialButtonVariants=f4;exports.toggleVariants=Yd;exports.useFormField=ts;exports.useIsMobile=o4;exports.usePrintContract=wp;exports.useSidebar=ns;
|
|
222
|
+
`),dataTransfer:t=>t},matchesTypes:["Url","text/uri-list"]},[Eb]:{exposeProperties:{text:(t,e)=>xf(t,e,""),dataTransfer:t=>t},matchesTypes:["Text","text/plain"]}};function _E(t,e){const n=bc[t];if(!n)throw new Error(`native type ${t} has no configuration`);const r=new UE(n);return r.loadDataTransfer(e),r}function vf(t){if(!t)return null;const e=Array.prototype.slice.call(t.types||[]);return Object.keys(bc).filter(n=>{const r=bc[n];return r!=null&&r.matchesTypes?r.matchesTypes.some(i=>e.indexOf(i)>-1):!1})[0]||null}const JE=Ib(()=>/firefox/i.test(navigator.userAgent)),zb=Ib(()=>!!window.safari);class Gh{interpolate(e){const{xs:n,ys:r,c1s:i,c2s:a,c3s:s}=this;let o=n.length-1;if(e===n[o])return r[o];let f=0,c=s.length-1,d;for(;f<=c;){d=Math.floor(.5*(f+c));const h=n[d];if(h<e)f=d+1;else if(h>e)c=d-1;else return r[d]}o=Math.max(0,c);const u=e-n[o],p=u*u;return r[o]+i[o]*u+a[o]*p+s[o]*u*p}constructor(e,n){const{length:r}=e,i=[];for(let h=0;h<r;h++)i.push(h);i.sort((h,m)=>e[h]<e[m]?-1:1);const a=[],s=[];let o,f;for(let h=0;h<r-1;h++)o=e[h+1]-e[h],f=n[h+1]-n[h],a.push(o),s.push(f/o);const c=[s[0]];for(let h=0;h<a.length-1;h++){const m=s[h],g=s[h+1];if(m*g<=0)c.push(0);else{o=a[h];const b=a[h+1],x=o+b;c.push(3*x/((x+b)/m+(x+o)/g))}}c.push(s[s.length-1]);const d=[],u=[];let p;for(let h=0;h<c.length-1;h++){p=s[h];const m=c[h],g=1/a[h],b=m+c[h+1]-p-p;d.push((p-m-b)*g),u.push(b*g*g)}this.xs=e,this.ys=n,this.c1s=c,this.c2s=d,this.c3s=u}}const VE=1;function Ob(t){const e=t.nodeType===VE?t:t.parentElement;if(!e)return null;const{top:n,left:r}=e.getBoundingClientRect();return{x:r,y:n}}function Ds(t){return{x:t.clientX,y:t.clientY}}function YE(t){var e;return t.nodeName==="IMG"&&(JE()||!(!((e=document.documentElement)===null||e===void 0)&&e.contains(t)))}function QE(t,e,n,r){let i=t?e.width:n,a=t?e.height:r;return zb()&&t&&(a/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:a}}function GE(t,e,n,r,i){const a=YE(e),o=Ob(a?t:e),f={x:n.x-o.x,y:n.y-o.y},{offsetWidth:c,offsetHeight:d}=t,{anchorX:u,anchorY:p}=r,{dragPreviewWidth:h,dragPreviewHeight:m}=QE(a,e,c,d),g=()=>{let C=new Gh([0,.5,1],[f.y,f.y/d*m,f.y+m-d]).interpolate(p);return zb()&&a&&(C+=(window.devicePixelRatio-1)*m),C},b=()=>new Gh([0,.5,1],[f.x,f.x/c*h,f.x+h-c]).interpolate(u),{offsetX:x,offsetY:w}=i,j=x===0||x,v=w===0||w;return{x:j?x:b(),y:v?w:g()}}class WE{get window(){if(this.globalContext)return this.globalContext;if(typeof window<"u")return window}get document(){var e;return!((e=this.globalContext)===null||e===void 0)&&e.document?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return((e=this.optionsArgs)===null||e===void 0?void 0:e.rootElement)||this.window}constructor(e,n){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=n}}function $E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wh(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){$E(t,i,n[i])})}return t}class ZE{profile(){var e,n;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((e=this.dragStartSourceIds)===null||e===void 0?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((n=this.dragOverTargetIds)===null||n===void 0?void 0:n.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const e=this.rootElement;if(e!==void 0){if(e.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){const e=this.rootElement;if(e!==void 0&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var n;(n=this.window)===null||n===void 0||n.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(e,n,r){return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,n),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,n,r){this.sourceNodes.set(e,n),this.sourceNodeOptions.set(e,r);const i=s=>this.handleDragStart(s,e),a=s=>this.handleSelectStart(s);return n.setAttribute("draggable","true"),n.addEventListener("dragstart",i),n.addEventListener("selectstart",a),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),n.removeEventListener("dragstart",i),n.removeEventListener("selectstart",a),n.setAttribute("draggable","false")}}connectDropTarget(e,n){const r=s=>this.handleDragEnter(s,e),i=s=>this.handleDragOver(s,e),a=s=>this.handleDrop(s,e);return n.addEventListener("dragenter",r),n.addEventListener("dragover",i),n.addEventListener("drop",a),()=>{n.removeEventListener("dragenter",r),n.removeEventListener("dragover",i),n.removeEventListener("drop",a)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const e=this.monitor.getSourceId(),n=this.sourceNodeOptions.get(e);return Wh({dropEffect:this.altKeyPressed?"copy":"move"},n||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const e=this.monitor.getSourceId(),n=this.sourcePreviewNodeOptions.get(e);return Wh({anchorX:.5,anchorY:.5,captureDraggingState:!1},n||{})}isDraggingNativeItem(){const e=this.monitor.getItemType();return Object.keys(Qh).some(n=>Qh[n]===e)}beginDragNativeItem(e,n){this.clearCurrentDragSourceNode(),this.currentNativeSource=_E(e,n),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e;const n=1e3;this.mouseMoveTimeoutTimer=setTimeout(()=>{var r;return(r=this.rootElement)===null||r===void 0?void 0:r.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},n)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;(e=this.window)===null||e===void 0||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,n){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(n))}handleDragEnter(e,n){this.dragEnterTargetIds.unshift(n)}handleDragOver(e,n){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(n)}handleDrop(e,n){this.dropTargetIds.unshift(n)}constructor(e,n,r){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=i=>{const a=this.sourceNodes.get(i);return a&&Ob(a)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=i=>!!(i&&this.document&&this.document.body&&this.document.body.contains(i)),this.endDragIfSourceWasRemovedFromDOM=()=>{const i=this.currentDragSourceNode;i==null||this.isNodeInDocument(i)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=i=>{this.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(i||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame<"u"&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=i=>{if(i.defaultPrevented)return;const{dragStartSourceIds:a}=this;this.dragStartSourceIds=null;const s=Ds(i);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(a||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:s});const{dataTransfer:o}=i,f=vf(o);if(this.monitor.isDragging()){if(o&&typeof o.setDragImage=="function"){const d=this.monitor.getSourceId(),u=this.sourceNodes.get(d),p=this.sourcePreviewNodes.get(d)||u;if(p){const{anchorX:h,anchorY:m,offsetX:g,offsetY:b}=this.getCurrentSourcePreviewNodeOptions(),j=GE(u,p,s,{anchorX:h,anchorY:m},{offsetX:g,offsetY:b});o.setDragImage(p,j.x,j.y)}}try{o==null||o.setData("application/json",{})}catch{}this.setCurrentDragSourceNode(i.target);const{captureDraggingState:c}=this.getCurrentSourcePreviewNodeOptions();c?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(f)this.beginDragNativeItem(f);else{if(o&&!o.types&&(i.target&&!i.target.hasAttribute||!i.target.hasAttribute("draggable")))return;i.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=i=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var a;(a=this.currentNativeSource)===null||a===void 0||a.loadDataTransfer(i.dataTransfer)}if(!this.enterLeaveCounter.enter(i.target)||this.monitor.isDragging())return;const{dataTransfer:o}=i,f=vf(o);f&&this.beginDragNativeItem(f,o)},this.handleTopDragEnter=i=>{const{dragEnterTargetIds:a}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=i.altKey,a.length>0&&this.actions.hover(a,{clientOffset:Ds(i)}),a.some(o=>this.monitor.canDropOnTarget(o))&&(i.preventDefault(),i.dataTransfer&&(i.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=i=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var a;(a=this.currentNativeSource)===null||a===void 0||a.loadDataTransfer(i.dataTransfer)}},this.handleTopDragOver=i=>{const{dragOverTargetIds:a}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){i.preventDefault(),i.dataTransfer&&(i.dataTransfer.dropEffect="none");return}this.altKeyPressed=i.altKey,this.lastClientOffset=Ds(i),this.scheduleHover(a),(a||[]).some(o=>this.monitor.canDropOnTarget(o))?(i.preventDefault(),i.dataTransfer&&(i.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?i.preventDefault():(i.preventDefault(),i.dataTransfer&&(i.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=i=>{this.isDraggingNativeItem()&&i.preventDefault(),this.enterLeaveCounter.leave(i.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=i=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var a;i.preventDefault(),(a=this.currentNativeSource)===null||a===void 0||a.loadDataTransfer(i.dataTransfer)}else vf(i.dataTransfer)&&i.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=i=>{const{dropTargetIds:a}=this;this.dropTargetIds=[],this.actions.hover(a,{clientOffset:Ds(i)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=i=>{const a=i.target;typeof a.dragDrop=="function"&&(a.tagName==="INPUT"||a.tagName==="SELECT"||a.tagName==="TEXTAREA"||a.isContentEditable||(i.preventDefault(),a.dragDrop()))},this.options=new WE(n,r),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new FE(this.isNodeInDocument)}}const Pb=function(e,n,r){return new ZE(e,n,r)},Oa={TASK:"task"},Rb={instagram:N.Instagram,linkedin:N.Linkedin,facebook:N.Facebook,twitter:N.Twitter,youtube:N.Youtube,blog:N.Calendar,other:N.Calendar},yf={instagram:"text-pink-600",linkedin:"text-blue-700",facebook:"text-blue-600",twitter:"text-sky-500",youtube:"text-red-600",blog:"text-orange-500",other:"text-gray-500"},xc={idea:"bg-gray-100 text-gray-600 border-gray-200",planned:"bg-blue-50 text-blue-600 border-blue-200","in-progress":"bg-yellow-50 text-yellow-600 border-yellow-200",approval:"bg-purple-50 text-purple-600 border-purple-200",scheduled:"bg-green-50 text-green-600 border-green-200",published:"bg-slate-800 text-white border-slate-700"},$h=["bg-blue-50 border-blue-100 text-blue-700","bg-green-50 border-green-100 text-green-700","bg-purple-50 border-purple-100 text-purple-700","bg-orange-50 border-orange-100 text-orange-700","bg-pink-50 border-pink-100 text-pink-700","bg-yellow-50 border-yellow-100 text-yellow-700"],Zh=t=>{const e=t.split("").reduce((n,r)=>n+r.charCodeAt(0),0);return $h[e%$h.length]};function Il({task:t,view:e="month",mode:n="editorial",onClick:r,style:i}){var p;const[{isDragging:a},s]=TE(()=>({type:Oa.TASK,item:{id:t.id,type:Oa.TASK},collect:h=>({isDragging:!!h.isDragging()})}),[t.id]),o=t.channel?Rb[t.channel]:N.Calendar,f=t.date?new Date(t.date):null,c=t.endDate?new Date(t.endDate):f?R.addHours(f,1):null,d=f?R.format(f,"HH:mm"):null,u=f&&c?`${R.format(f,"HH:mm")} - ${R.format(c,"HH:mm")}`:d;return n==="editorial"&&(e==="week"||e==="day")?l.jsxs("div",{ref:s,onClick:r,className:y("relative group cursor-pointer bg-white border rounded-md shadow-sm hover:shadow-md transition-all mb-3 overflow-hidden",a?"opacity-50":"opacity-100",t.status==="published"?"border-l-4 border-l-slate-800":"border-l-4 border-l-[#7F26BF]"),children:[l.jsxs("div",{className:"flex items-center justify-between px-3 py-2 border-b bg-gray-50/50",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(o,{size:14,className:y(t.channel?yf[t.channel]:"text-gray-400")}),d&&l.jsx("span",{className:"text-xs font-medium text-gray-500",children:d})]}),l.jsx("div",{className:"opacity-0 group-hover:opacity-100 text-gray-400 cursor-grab",children:l.jsx(N.GripVertical,{size:14})})]}),t.imageUrl&&l.jsx("div",{className:"w-full aspect-video bg-gray-100 relative border-b",children:l.jsx("img",{src:t.imageUrl,alt:"",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-3",children:[l.jsx("h4",{className:"text-sm font-medium text-gray-900 line-clamp-2 mb-2 leading-snug",children:t.title}),l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsx(be,{variant:"outline",className:y("px-1.5 py-0 text-[10px] h-5 font-normal uppercase tracking-wide",xc[t.status]),children:t.status}),t.assignees&&t.assignees.length>0&&l.jsx("div",{className:"flex -space-x-2",children:t.assignees.slice(0,2).map((h,m)=>l.jsxs(Jt,{className:"w-5 h-5 border border-white",children:[l.jsx(Vn,{src:h.avatar}),l.jsx(Vt,{className:"text-[8px]",children:h.name[0]})]},m))})]})]})]}):n==="editorial"&&e==="month"?l.jsxs("div",{ref:s,onClick:r,className:y("relative group cursor-pointer bg-white border rounded-md shadow-sm hover:shadow-md transition-all mb-1 overflow-hidden flex items-center gap-2 p-1.5",a?"opacity-50":"opacity-100",t.status==="published"?"border-l-4 border-l-slate-800":"border-l-4 border-l-[#7F26BF]"),children:[t.imageUrl&&l.jsx("div",{className:"w-8 h-8 flex-shrink-0 bg-gray-100 rounded overflow-hidden",children:l.jsx("img",{src:t.imageUrl,alt:"",className:"w-full h-full object-cover"})}),l.jsx("div",{className:"min-w-0 flex-1",children:l.jsxs("div",{className:"flex items-center gap-1.5",children:[l.jsx(o,{size:12,className:y(t.channel?yf[t.channel]:"text-gray-400")}),l.jsx("span",{className:"truncate font-medium text-xs",children:t.title})]})})]}):n==="execution"&&(e==="week"||e==="day")?l.jsxs("div",{ref:s,onClick:r,style:i,className:y("absolute z-10 rounded-md border shadow-sm p-1.5 text-xs flex flex-col overflow-hidden hover:overflow-visible hover:h-auto! hover:min-h-[min-content] hover:z-50 transition-all cursor-pointer group",a?"opacity-50":"opacity-100",t.color||Zh(t.id)),children:[l.jsxs("div",{className:"flex items-center gap-1 mb-0.5 font-semibold opacity-75 text-[10px] leading-none",children:[l.jsx(N.Clock,{size:10}),l.jsx("span",{className:"truncate",children:u})]}),l.jsx("div",{className:"font-bold leading-tight mb-1 line-clamp-2 text-[11px]",children:t.title}),l.jsxs("div",{className:"mt-auto flex items-center justify-between pt-1",children:[l.jsx("div",{className:"flex -space-x-1.5",children:(p=t.assignees)==null?void 0:p.map((h,m)=>l.jsxs(Jt,{className:"w-4 h-4 border border-white",children:[l.jsx(Vn,{src:h.avatar}),l.jsx(Vt,{className:"text-[8px]",children:h.name[0]})]},m))}),t.status!=="published"&&l.jsx("div",{className:y("w-2 h-2 rounded-full",xc[t.status].split(" ")[1].replace("text-","bg-"))})]})]}):n==="execution"&&e==="month"?l.jsxs("div",{ref:s,onClick:r,className:y("relative group cursor-pointer rounded px-2 py-1 mb-1 text-xs truncate font-medium transition-all",a?"opacity-50":"opacity-100",t.color||Zh(t.id).replace("bg-","bg-opacity-20 bg-")),children:[d," ",t.title]}):l.jsxs("div",{ref:s,onClick:r,className:y("relative group cursor-pointer bg-white border rounded-md shadow-sm hover:shadow-md transition-all mb-2 p-2 flex items-start gap-3",a?"opacity-50":"opacity-100",n==="editorial"&&(t.status==="published"?"border-l-4 border-l-slate-800":"border-l-4 border-l-[#7F26BF]")),children:[n==="editorial"&&t.imageUrl&&l.jsx("div",{className:"w-10 h-10 flex-shrink-0 bg-gray-100 rounded overflow-hidden",children:l.jsx("img",{src:t.imageUrl,alt:"",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"min-w-0 flex-1",children:[l.jsxs("div",{className:"flex items-center gap-1.5 mb-1",children:[n==="editorial"&&l.jsx(o,{size:12,className:y(t.channel?yf[t.channel]:"text-gray-400")}),l.jsx("span",{className:"truncate font-medium text-sm",children:t.title})]}),l.jsx(be,{variant:"secondary",className:"text-[10px] h-4 px-1 py-0",children:t.status})]})]})}function qE({days:t,tasks:e,onDropTask:n,onTaskClick:r,onAddClick:i,view:a}){return l.jsx("div",{className:y("grid h-full min-h-[calc(100vh-200px)] bg-gray-50/30",a==="week"?"grid-cols-7 divide-x":"grid-cols-1 border-x"),children:t.map(s=>{const o=e.filter(f=>f.date&&R.isSameDay(new Date(f.date),s)).sort((f,c)=>f.date&&c.date?new Date(f.date).getTime()-new Date(c.date).getTime():0);return l.jsx(KE,{day:s,tasks:o,onDropTask:n,onTaskClick:r,onAddClick:i,isToday:R.isToday(s)},s.toISOString())})})}function KE({day:t,tasks:e,onDropTask:n,onTaskClick:r,onAddClick:i,isToday:a}){const[{isOver:s},o]=Kd(()=>({accept:Oa.TASK,drop:f=>n(f.id,t),collect:f=>({isOver:!!f.isOver()})}),[t,n]);return l.jsxs("div",{ref:o,className:y("flex flex-col h-full min-h-0 transition-colors",s&&"bg-purple-50 ring-inset ring-2 ring-[#7F26BF]"),children:[l.jsxs("div",{className:y("p-2 text-center border-b bg-white sticky top-0 z-10",a&&"bg-purple-50/50"),children:[l.jsx("div",{className:"text-xs font-semibold uppercase text-gray-500 mb-1",children:R.format(t,"EEE")}),l.jsx("div",{className:y("w-8 h-8 rounded-full flex items-center justify-center mx-auto text-sm font-medium",a?"bg-[#7F26BF] text-white":"text-gray-900 bg-gray-100"),children:R.format(t,"d")})]}),l.jsxs("div",{className:"flex-1 p-2 space-y-3 overflow-y-auto",children:[l.jsxs(B,{variant:"outline",size:"sm",className:"w-full mb-2 justify-center px-1",onClick:()=>i(t),children:[l.jsx(N.Plus,{size:12,className:"flex-shrink-0"}),l.jsx("span",{className:"truncate ml-1.5 hidden xl:inline",children:"Add Post"}),l.jsx("span",{className:"truncate ml-1.5 inline xl:hidden",children:"Add"})]}),e.map(f=>l.jsx(Il,{task:f,view:"week",mode:"editorial",onClick:()=>r(f)},f.id))]})]})}function XE({days:t,tasks:e,onDropTask:n,onTaskClick:r,onAddClick:i}){const a=Array.from({length:24},(s,o)=>o);return l.jsxs("div",{className:"flex h-full relative overflow-y-auto bg-white select-none",children:[l.jsxs("div",{className:"w-14 flex-shrink-0 border-r bg-white sticky left-0 z-30",children:[l.jsx("div",{className:"h-10 border-b bg-white sticky top-0 z-40 flex-shrink-0"})," ",a.map(s=>l.jsx("div",{className:"h-24 border-b text-right pr-2 pt-2 text-xs text-gray-400 font-medium relative",children:l.jsx("span",{className:"-top-2.5 relative",children:R.format(R.setHours(new Date,s),"ha")})},s))]}),l.jsxs("div",{className:"flex flex-1 min-w-0 relative",children:[t.map((s,o)=>{const f=e.filter(c=>c.date&&R.isSameDay(new Date(c.date),s));return l.jsx(e5,{day:s,tasks:f,onDropTask:n,onTaskClick:r,onAddClick:i,isLast:o===t.length-1,HOURS:a},s.toISOString())}),l.jsxs("div",{className:"absolute inset-0 pointer-events-none z-0",children:[l.jsx("div",{className:"h-10 border-b bg-transparent"})," ",a.map(s=>l.jsx("div",{className:"h-24 border-b border-dashed border-gray-100 w-full"},s))]})]})]})}function e5({day:t,tasks:e,onDropTask:n,onTaskClick:r,onAddClick:i,isLast:a,HOURS:s}){const[{isOver:o},f]=Kd(()=>({accept:Oa.TASK,drop:(c,d)=>{n(c.id,t)},collect:c=>({isOver:!!c.isOver()})}),[t,n]);return l.jsxs("div",{ref:f,className:y("flex-1 relative min-w-[150px]",!a&&"border-r",o&&"bg-blue-50/30"),children:[l.jsx("div",{className:"sticky top-0 z-20 bg-white border-b h-10 flex items-center justify-center shadow-sm",children:l.jsxs("div",{className:"text-xs font-bold text-gray-500",children:[R.format(t,"EEE")," ",l.jsx("span",{className:y("ml-1",R.isToday(t)&&"text-blue-600"),children:R.format(t,"d")})]})}),s.map(c=>l.jsx("div",{className:"h-24 w-full absolute hover:bg-gray-50/50 transition-colors cursor-pointer z-10",style:{top:`${c*96+40}px`},onClick:d=>{d.stopPropagation();const u=new Date(t);u.setHours(c,0),i(u)}},c)),e.map(c=>{const d=c.date?new Date(c.date):new Date,u=c.endDate?new Date(c.endDate):R.addHours(d,1),p=R.getHours(d),h=R.getMinutes(d);let m=R.differenceInMinutes(u,d);m<30&&(m=30);const g=p*96+h/60*96+40,b=m/60*96;return l.jsx(Il,{task:c,view:"week",mode:"execution",onClick:()=>r(c),style:{top:`${g}px`,height:`${b}px`,left:"4px",right:"4px",position:"absolute"}},c.id)})]})}function Bb({days:t,tasks:e,currentDate:n,onDropTask:r,onTaskClick:i,onAddClick:a,mode:s}){return l.jsx("div",{className:"grid grid-cols-7 auto-rows-fr min-h-[800px]",children:t.map(o=>{const f=e.filter(c=>c.date&&R.isSameDay(new Date(c.date),o));return l.jsx(t5,{date:o,tasks:f,isCurrentMonth:R.isSameMonth(o,n),onDropTask:r,onTaskClick:i,onAddClick:a,mode:s},o.toISOString())})})}function t5({date:t,tasks:e,isCurrentMonth:n,onDropTask:r,onTaskClick:i,onAddClick:a,mode:s}){const[{isOver:o},f]=Kd(()=>({accept:Oa.TASK,drop:d=>r(d.id,t),collect:d=>({isOver:!!d.isOver()})}),[t,r]),c=R.isToday(t);return l.jsxs("div",{ref:f,className:y("min-h-[120px] border-b border-r p-2 relative transition-colors group flex flex-col",!n&&"bg-gray-50/50 text-gray-400",o&&"bg-purple-50 ring-2 ring-inset ring-[#7F26BF]",c&&"bg-purple-50/30"),children:[l.jsxs("div",{className:"flex justify-between items-start mb-2",children:[l.jsx("span",{className:y("text-sm font-medium rounded-full w-7 h-7 flex items-center justify-center",c?"bg-[#7F26BF] text-white":"text-gray-700"),children:R.format(t,"d")}),l.jsx(B,{variant:"ghost",size:"icon",className:"h-6 w-6 opacity-0 group-hover:opacity-100 transition-opacity",onClick:()=>a(t),children:l.jsx(N.Plus,{size:14})})]}),l.jsx("div",{className:"flex-1 flex flex-col gap-1",children:e.map(d=>l.jsx(Il,{task:d,view:"month",mode:s,onClick:()=>i(d)},d.id))})]})}function Hb({isOpen:t,onClose:e,task:n,onSave:r,isNew:i=!1}){const[a,s]=M.useState(n||{});M.useMemo(()=>{s(n||{})},[n]);const o=()=>{r(a),e()};return l.jsx(Za,{open:t,onOpenChange:f=>!f&&e(),children:l.jsxs(qa,{className:"sm:max-w-[600px]",children:[l.jsxs(Ka,{children:[l.jsx(Xa,{children:i?"Create New Task":"Edit Task"}),l.jsx(es,{children:i?"Enter the details for the new task below.":"Modify the details of the selected task."})]}),l.jsxs("div",{className:"grid gap-6 py-4",children:[l.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[l.jsx("label",{htmlFor:"title",className:"text-right text-sm font-medium",children:"Title"}),l.jsx("input",{id:"title",className:"col-span-3 flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",value:a.title||"",onChange:f=>s({...a,title:f.target.value}),placeholder:"e.g. New Feature Announcement"})]}),l.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[l.jsx("label",{className:"text-right text-sm font-medium",children:"Time"}),l.jsxs("div",{className:"col-span-3 flex gap-2 items-center",children:[l.jsx("input",{type:"date",className:"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm",value:a.date instanceof Date?R.format(a.date,"yyyy-MM-dd"):typeof a.date=="string"?a.date.split("T")[0]:"",onChange:f=>{const c=f.target.value,d=a.date instanceof Date?a.date:new Date,u=new Date(`${c}T${R.format(d,"HH:mm")}`);s({...a,date:u})}}),l.jsx("span",{className:"text-sm text-gray-500",children:"at"}),l.jsx("input",{type:"time",className:"w-32 flex h-9 rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm",value:a.date instanceof Date?R.format(a.date,"HH:mm"):"09:00",onChange:f=>{const c=f.target.value,d=a.date instanceof Date?R.format(a.date,"yyyy-MM-dd"):R.format(new Date,"yyyy-MM-dd");s({...a,date:new Date(`${d}T${c}`)})}})]})]}),l.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[l.jsx("label",{htmlFor:"channel",className:"text-right text-sm font-medium",children:"Channel / Category"}),l.jsx("select",{id:"channel",className:"col-span-3 flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm",value:a.channel||"instagram",onChange:f=>s({...a,channel:f.target.value}),children:Object.keys(Rb).map(f=>l.jsx("option",{value:f,children:f.charAt(0).toUpperCase()+f.slice(1)},f))})]}),l.jsxs("div",{className:"grid grid-cols-4 items-center gap-4",children:[l.jsx("label",{htmlFor:"status",className:"text-right text-sm font-medium",children:"Status"}),l.jsx("select",{id:"status",className:"col-span-3 flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm",value:a.status||"idea",onChange:f=>s({...a,status:f.target.value}),children:Object.keys(xc).map(f=>l.jsx("option",{value:f,children:f.charAt(0).toUpperCase()+f.slice(1)},f))})]}),l.jsxs("div",{className:"grid grid-cols-4 items-start gap-4",children:[l.jsx("label",{htmlFor:"description",className:"text-right text-sm font-medium pt-2",children:"Description"}),l.jsx("textarea",{id:"description",className:"col-span-3 flex min-h-[80px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",value:a.description||"",onChange:f=>s({...a,description:f.target.value}),placeholder:"Details about this post..."})]})]}),l.jsxs(jl,{children:[l.jsx(B,{variant:"outline",onClick:e,children:"Cancel"}),l.jsx(B,{className:"bg-[#7F26BF] hover:bg-[#6E21A6]",onClick:o,children:"Save Changes"})]})]})})}function Fb({tasks:t,onTaskUpdate:e,onTaskCreate:n,defaultView:r="month"}){const[i,a]=M.useState(new Date),[s,o]=M.useState(r),[f,c]=M.useState(!0),[d,u]=M.useState(!1),[p,h]=M.useState(null),[m,g]=M.useState(!1),b=M.useMemo(()=>{let E,H;if(s==="month"){const V=R.startOfMonth(i),Q=R.endOfMonth(V);E=R.startOfWeek(V),H=R.endOfWeek(Q)}else s==="week"?(E=R.startOfWeek(i),H=R.endOfWeek(i)):(E=i,H=i);return R.eachDayOfInterval({start:E,end:H})},[i,s]),x=t.filter(E=>!E.date),w=t.filter(E=>E.date);return{currentDate:i,view:s,setView:o,isSidebarOpen:f,setIsSidebarOpen:c,isModalOpen:d,setIsModalOpen:u,editingTask:p,isNewTask:m,calendarDays:b,unplannedTasks:x,scheduledTasks:w,handlePrev:()=>{a(s==="month"?R.subMonths(i,1):s==="week"?R.addDays(i,-7):R.addDays(i,-1))},handleNext:()=>{a(s==="month"?R.addMonths(i,1):s==="week"?R.addDays(i,7):R.addDays(i,1))},handleToday:()=>a(new Date),handleDropTask:(E,H,V)=>{const Q=t.find(K=>K.id===E);if(Q){let K=new Date(H);if(s==="month"||V==="editorial")if(Q.date){const F=new Date(Q.date);K.setHours(F.getHours(),F.getMinutes())}else K.setHours(9,0);const O={...Q,date:K};e(O)}},handleTaskClick:E=>{h(E),g(!1),u(!0)},handleAddClick:E=>{const H=E||new Date;R.getHours(H)===0&&R.getMinutes(H)===0&&H.setHours(9,0),h({date:H,status:"idea",channel:"instagram"}),g(!0),u(!0)},handleModalSave:E=>{m?n&&n(E):E.id&&e(E),u(!1)}}}function Ub({isOpen:t,setIsOpen:e,tasks:n,onAddClick:r,onTaskClick:i,mode:a}){return t?l.jsxs("div",{className:"w-72 border-r bg-gray-50/50 flex flex-col transition-all duration-300 flex-shrink-0",children:[l.jsxs("div",{className:"p-4 border-b bg-white flex items-center justify-between",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("h3",{className:"font-semibold text-sm text-gray-900",children:"Backlog"}),l.jsx(be,{variant:"secondary",className:"bg-gray-100 text-xs",children:n.length})]}),l.jsx(B,{variant:"ghost",size:"icon",className:"h-6 w-6",onClick:()=>e(!1),children:l.jsx(N.PanelLeftClose,{size:16})})]}),l.jsx("div",{className:"px-4 pt-3 bg-white pb-3 border-b space-y-2",children:l.jsxs(B,{onClick:r,variant:"outline",size:"sm",className:"w-full justify-start pl-2",children:[l.jsx(N.Plus,{size:12,className:"mr-1.5"})," New Task"]})}),l.jsx(dr,{className:"flex-1 p-3",children:l.jsx("div",{className:"space-y-2",children:n.length===0?l.jsx("div",{className:"text-center py-10 px-4 border-2 border-dashed border-gray-200 rounded-lg",children:l.jsx("p",{className:"text-xs text-gray-400",children:"No unscheduled items"})}):n.map(s=>l.jsx(Il,{task:s,view:"backlog",mode:a,onClick:()=>i(s)},s.id))})})]}):l.jsxs("div",{className:"border-r bg-white flex flex-col items-center py-4 w-12 flex-shrink-0 cursor-pointer hover:bg-gray-50 transition-colors",onClick:()=>e(!0),children:[l.jsx(N.PanelLeftOpen,{className:"text-gray-500 mb-4",size:20}),l.jsx("div",{className:"flex-1 flex items-center justify-center min-h-0",children:l.jsx("div",{className:"whitespace-nowrap text-xs font-medium text-gray-400 -rotate-90 transform",children:"BACKLOG"})}),l.jsx(be,{className:"mt-2 h-5 w-5 p-0 flex items-center justify-center rounded-full bg-[#7F26BF] text-[10px]",children:n.length})]})}function _b({title:t,onPrev:e,onNext:n,onToday:r,onAdd:i,view:a,setView:s}){return l.jsxs("div",{className:"flex flex-col xl:flex-row items-center justify-between p-4 border-b gap-4 flex-shrink-0 bg-white",children:[l.jsxs("div",{className:"flex items-center gap-4 w-full xl:w-auto justify-between xl:justify-start",children:[l.jsxs("div",{className:"flex items-center border rounded-md bg-white shadow-sm",children:[l.jsx(B,{variant:"ghost",size:"icon",onClick:e,className:"h-8 w-8 rounded-r-none",children:l.jsx(N.ChevronLeft,{className:"h-4 w-4"})}),l.jsx(B,{variant:"ghost",onClick:r,className:"h-8 px-3 rounded-none border-x text-sm font-medium hover:bg-gray-50",children:"Today"}),l.jsx(B,{variant:"ghost",size:"icon",onClick:n,className:"h-8 w-8 rounded-l-none",children:l.jsx(N.ChevronRight,{className:"h-4 w-4"})})]}),l.jsx("h2",{className:"text-lg font-bold text-gray-900 whitespace-nowrap",children:t})]}),l.jsxs("div",{className:"flex items-center gap-3 w-full xl:w-auto overflow-x-auto pb-1 xl:pb-0 justify-end",children:[l.jsx(mb,{value:a,onValueChange:o=>s(o),className:"flex-shrink-0",children:l.jsxs(gb,{className:"h-9",children:[l.jsx(Us,{value:"month",className:"text-xs",children:"Month"}),l.jsx(Us,{value:"week",className:"text-xs",children:"Week"}),l.jsx(Us,{value:"day",className:"text-xs",children:"Day"})]})}),l.jsxs(B,{variant:"default",className:"h-9 px-4 flex-shrink-0",onClick:i,children:[l.jsx(N.Plus,{className:"mr-2 h-4 w-4"})," Create"]})]})]})}function Jb({days:t}){return l.jsx("div",{className:"grid grid-cols-7 border-b bg-gray-50 flex-shrink-0 divide-x",children:t.slice(0,7).map((e,n)=>l.jsx("div",{className:"py-2 text-center group",children:l.jsx("div",{className:y("text-xs font-semibold uppercase tracking-wider",R.isToday(e)?"text-[#7F26BF]":"text-gray-500"),children:R.format(e,"EEE")})},n))})}function n5(t){const e=Fb({...t,defaultView:"month"});return l.jsx(Cb,{backend:Pb,children:l.jsxs("div",{className:y("flex h-[calc(100vh-100px)] bg-background border rounded-lg overflow-hidden shadow-sm",t.className),children:[l.jsx(Ub,{isOpen:e.isSidebarOpen,setIsOpen:e.setIsSidebarOpen,tasks:e.unplannedTasks,onAddClick:()=>e.handleAddClick(),onTaskClick:e.handleTaskClick,mode:"editorial"}),l.jsxs("div",{className:"flex-1 flex flex-col min-w-0 bg-white",children:[l.jsx(_b,{title:e.view==="day"?R.format(e.currentDate,"MMM d, yyyy"):R.format(e.currentDate,"MMMM yyyy"),onPrev:e.handlePrev,onNext:e.handleNext,onToday:e.handleToday,onAdd:()=>e.handleAddClick(e.currentDate),view:e.view,setView:e.setView,mode:"editorial"}),e.view==="month"&&l.jsx(Jb,{days:e.calendarDays}),l.jsx("div",{className:"flex-1 overflow-hidden flex flex-col relative",children:e.view==="month"?l.jsx(Bb,{days:e.calendarDays,tasks:e.scheduledTasks,currentDate:e.currentDate,onDropTask:(n,r)=>e.handleDropTask(n,r,"editorial"),onTaskClick:e.handleTaskClick,onAddClick:e.handleAddClick,mode:"editorial"}):l.jsx(qE,{days:e.calendarDays,tasks:e.scheduledTasks,onDropTask:(n,r)=>e.handleDropTask(n,r,"editorial"),onTaskClick:e.handleTaskClick,onAddClick:e.handleAddClick,view:e.view})})]}),e.isModalOpen&&l.jsx(Hb,{isOpen:e.isModalOpen,onClose:()=>e.setIsModalOpen(!1),task:e.editingTask||{},onSave:e.handleModalSave,isNew:e.isNewTask})]})})}function r5(t){const e=Fb({...t,defaultView:"week"});return l.jsx(Cb,{backend:Pb,children:l.jsxs("div",{className:y("flex h-[calc(100vh-100px)] bg-background border rounded-lg overflow-hidden shadow-sm",t.className),children:[l.jsx(Ub,{isOpen:e.isSidebarOpen,setIsOpen:e.setIsSidebarOpen,tasks:e.unplannedTasks,onAddClick:()=>e.handleAddClick(),onTaskClick:e.handleTaskClick,mode:"execution"}),l.jsxs("div",{className:"flex-1 flex flex-col min-w-0 bg-white",children:[l.jsx(_b,{title:e.view==="day"?R.format(e.currentDate,"MMM d, yyyy"):R.format(e.currentDate,"MMMM yyyy"),onPrev:e.handlePrev,onNext:e.handleNext,onToday:e.handleToday,onAdd:()=>e.handleAddClick(e.currentDate),view:e.view,setView:e.setView,mode:"execution"}),e.view==="month"&&l.jsx(Jb,{days:e.calendarDays}),l.jsx("div",{className:"flex-1 overflow-hidden flex flex-col relative",children:e.view==="month"?l.jsx(Bb,{days:e.calendarDays,tasks:e.scheduledTasks,currentDate:e.currentDate,onDropTask:(n,r)=>e.handleDropTask(n,r,"execution"),onTaskClick:e.handleTaskClick,onAddClick:e.handleAddClick,mode:"execution"}):l.jsx(XE,{days:e.calendarDays,tasks:e.scheduledTasks,onDropTask:(n,r)=>e.handleDropTask(n,r,"execution"),onTaskClick:e.handleTaskClick,onAddClick:e.handleAddClick})})]}),e.isModalOpen&&l.jsx(Hb,{isOpen:e.isModalOpen,onClose:()=>e.setIsModalOpen(!1),task:e.editingTask||{},onSave:e.handleModalSave,isNew:e.isNewTask})]})})}const i5=Js.FormProvider,Vb=I.createContext({}),a5=({...t})=>l.jsx(Vb.Provider,{value:{name:t.name},children:l.jsx(Js.Controller,{...t})}),ts=()=>{const t=I.useContext(Vb),e=I.useContext(Yb),{getFieldState:n}=Js.useFormContext(),r=Js.useFormState({name:t.name}),i=n(t.name,r);if(!t)throw new Error("useFormField should be used within <FormField>");const{id:a}=e;return{id:a,name:t.name,formItemId:`${a}-form-item`,formDescriptionId:`${a}-form-item-description`,formMessageId:`${a}-form-item-message`,...i}},Yb=I.createContext({});function s5({className:t,...e}){const n=I.useId();return l.jsx(Yb.Provider,{value:{id:n},children:l.jsx("div",{"data-slot":"form-item",className:y("grid gap-2",t),...e})})}function o5({className:t,...e}){const{error:n,formItemId:r}=ts();return l.jsx(He,{"data-slot":"form-label","data-error":!!n,className:y("data-[error=true]:text-destructive",t),htmlFor:r,...e})}function l5({...t}){const{error:e,formItemId:n,formDescriptionId:r,formMessageId:i}=ts();return l.jsx(wn.Slot,{"data-slot":"form-control",id:n,"aria-describedby":e?`${r} ${i}`:`${r}`,"aria-invalid":!!e,...t})}function f5({className:t,...e}){const{formDescriptionId:n}=ts();return l.jsx("p",{"data-slot":"form-description",id:n,className:y("text-muted-foreground text-sm",t),...e})}function c5({className:t,...e}){const{error:n,formMessageId:r}=ts(),i=n?String((n==null?void 0:n.message)??""):e.children;return i?l.jsx("p",{"data-slot":"form-message",id:r,className:y("text-destructive text-sm",t),...e,children:i}):null}const Qb={"not-started":{label:"Não iniciada",icon:N.Circle,variant:"outline",barColor:"bg-gray-300 dark:bg-gray-600"},"in-progress":{label:"Em progresso",icon:N.Clock,variant:"default",barColor:"bg-primary"},"on-hold":{label:"Em espera",icon:N.AlertCircle,variant:"secondary",barColor:"bg-cyan-500"},completed:{label:"Concluída",icon:N.CheckCircle2,variant:"outline",barColor:"bg-green-500"},delayed:{label:"Atrasada",icon:N.AlertCircle,variant:"destructive",barColor:"bg-red-500"},cancelled:{label:"Cancelada",icon:N.AlertCircle,variant:"destructive",barColor:"bg-orange-500"}},qh=["#7F26BF","#0086E6","#24B347","#F26924","#E91E63","#9C27B0","#00BCD4","#FF9800"];function d5(t,e,n,r,i){const a=R.differenceInDays(r,n),s=R.differenceInDays(t,n),o=R.differenceInDays(e,t)+1,f=s/a*100,c=o/a*100;return{left:f,width:c}}const Gb=I.memo(({task:t,timelineStart:e,timelineEnd:n,columnWidth:r,rowHeight:i,onTaskClick:a,onTaskEdit:s})=>{const{left:o,width:f}=d5(t.startDate,t.endDate,e,n),c=Qb[t.status],d=c.icon;return t.milestone?l.jsxs("div",{className:"absolute group/milestone",style:{left:`${o}%`,top:"50%",transform:"translateY(-50%)"},children:[l.jsxs(ei,{children:[l.jsx(ti,{asChild:!0,children:l.jsx("div",{className:y("w-4 h-4 rotate-45 cursor-pointer transition-all hover:scale-125",c.barColor),onClick:()=>a==null?void 0:a(t),role:"button",tabIndex:0,"aria-label":`Milestone: ${t.name}`})}),l.jsx(ni,{side:"top",className:"max-w-sm",children:l.jsxs("div",{className:"space-y-1",children:[l.jsx("p",{className:"font-medium",children:t.name}),l.jsx("p",{className:"text-xs opacity-90",children:"📍 Marco importante"}),l.jsxs("p",{className:"text-xs opacity-90",children:["📅 ",R.format(t.startDate,"dd/MM/yyyy",{locale:gt})]})]})})]}),s&&l.jsx("button",{className:"absolute -right-6 top-1/2 -translate-y-1/2 opacity-0 group-hover/milestone:opacity-100 transition-opacity bg-background border rounded p-1 shadow-md hover:bg-primary hover:text-primary-foreground",onClick:u=>{u.stopPropagation(),s(t)},"aria-label":"Editar marco",children:l.jsx(N.Edit,{className:"size-3"})})]}):l.jsxs(tt,{children:[l.jsx(We,{asChild:!0,children:l.jsxs("div",{className:"absolute group/task cursor-pointer",style:{left:`${o}%`,width:`${f}%`,top:"20%",height:"60%"},onClick:()=>a==null?void 0:a(t),role:"button",tabIndex:0,"aria-label":`Task: ${t.name}, Status: ${c.label}, Progress: ${t.progress}%`,children:[l.jsx("div",{className:y("absolute inset-0 rounded-lg transition-all",c.barColor,"group-hover/task:shadow-lg group-hover/task:scale-[1.02]","opacity-90 group-hover/task:opacity-100")}),t.progress>0&&l.jsx("div",{className:"absolute inset-0 rounded-lg bg-white/20 dark:bg-black/20",style:{clipPath:`inset(0 ${100-t.progress}% 0 0)`}}),l.jsxs("div",{className:"absolute inset-0 flex items-center px-2 gap-1.5",children:[l.jsx(d,{className:"size-3 text-white flex-shrink-0"}),l.jsx("span",{className:"text-xs text-white truncate",children:t.name}),t.assignee&&l.jsx("div",{className:"ml-auto flex-shrink-0",children:l.jsx(Jt,{className:"size-5 border border-white/50",children:l.jsx(Vt,{className:"bg-white/20 text-white text-[8px]",children:t.assignee.initials||t.assignee.name.substring(0,2).toUpperCase()})})})]}),s&&l.jsx("button",{className:"absolute -right-7 top-1/2 -translate-y-1/2 opacity-0 group-hover/task:opacity-100 transition-opacity bg-background border rounded p-1.5 shadow-lg hover:bg-primary hover:text-primary-foreground z-20",onClick:u=>{u.stopPropagation(),s(t)},"aria-label":"Editar tarefa",children:l.jsx(N.Edit,{className:"size-3.5"})})]})}),l.jsx($e,{className:"w-80",align:"start",children:l.jsxs("div",{className:"space-y-3",children:[l.jsxs("div",{children:[l.jsx("h4",{className:"font-medium mb-1",children:t.name}),t.description&&l.jsx("p",{className:"text-sm text-muted-foreground",children:t.description})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[l.jsx(N.Calendar,{className:"size-4 text-muted-foreground"}),l.jsxs("span",{children:[R.format(t.startDate,"dd/MM/yyyy",{locale:gt})," -"," ",R.format(t.endDate,"dd/MM/yyyy",{locale:gt})]})]}),l.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[l.jsx(N.Clock,{className:"size-4 text-muted-foreground"}),l.jsxs("span",{children:[R.differenceInDays(t.endDate,t.startDate)+1," dias"]})]}),t.assignee&&l.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[l.jsx(N.User,{className:"size-4 text-muted-foreground"}),l.jsx("span",{children:t.assignee.name})]})]}),l.jsxs("div",{className:"flex items-center justify-between pt-2 border-t",children:[l.jsxs(be,{variant:c.variant,className:"gap-1",children:[l.jsx(d,{className:"size-3"}),c.label]}),l.jsxs("span",{className:"text-sm text-muted-foreground",children:[t.progress,"% concluído"]})]})]})})]})});Gb.displayName="TaskRow";const u5=["DOM","SEG","TER","QUA","QUI","SEX","SAB"],Wb=I.forwardRef(({tasks:t,projects:e=[],onTaskClick:n,onTaskEdit:r,rowHeight:i=48,columnWidth:a=40,groupBy:s="projects"},o)=>{const[f,c]=I.useState(new Date),[d,u]=I.useState(new Set),p=R.startOfMonth(f),h=R.endOfMonth(f),m=R.eachDayOfInterval({start:p,end:h}),g=()=>c(R.subMonths(f,1)),b=()=>c(R.addMonths(f,1)),x=()=>c(new Date),w=I.useMemo(()=>{if(s==="assignees"){const v=new Map;return t.forEach(C=>{var S;const k=((S=C.assignee)==null?void 0:S.name)||"Sem responsável";v.has(k)||v.set(k,[]),v.get(k).push(C)}),Array.from(v.entries()).map(([C,k],S)=>{var T,E,H;return{id:C,name:C,color:(T=k[0])!=null&&T.assignee?qh[S%qh.length]:"#999",initials:((H=(E=k[0])==null?void 0:E.assignee)==null?void 0:H.initials)||"??",tasks:k}})}else{const v=new Map;return t.forEach(L=>{const C=L.projectId;v.has(C)||v.set(C,[]),v.get(C).push(L)}),e.length>0?e.map(C=>({...C,tasks:v.get(C.id)||[]})).filter(C=>C.tasks.length>0):[{id:"default",name:"Tarefas",color:"#7F26BF",tasks:t}]}},[t,e,s]),j=v=>{u(L=>{const C=new Set(L);return C.has(v)?C.delete(v):C.add(v),C})};return l.jsxs("div",{className:"flex flex-col gap-4",children:[l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(B,{variant:"ghost",size:"icon",onClick:g,children:l.jsx(N.ChevronLeft,{className:"h-4 w-4"})}),l.jsx("h2",{className:"text-lg font-bold min-w-[200px] text-center",children:R.format(f,"MMMM yyyy",{locale:gt})}),l.jsx(B,{variant:"ghost",size:"icon",onClick:b,children:l.jsx(N.ChevronRight,{className:"h-4 w-4"})})]}),l.jsx(B,{variant:"outline",size:"sm",onClick:x,children:"Hoje"})]}),l.jsx("div",{ref:o,className:y("gantt-chart overflow-hidden rounded-lg border bg-card flex flex-col"),role:"grid","aria-label":"Gantt Chart",children:l.jsx("div",{className:"overflow-auto max-h-[600px] relative",children:l.jsxs("div",{style:{minWidth:"max-content"},children:[l.jsxs("div",{className:"sticky top-0 z-40 flex bg-background border-b shadow-sm",children:[l.jsx("div",{className:"sticky left-0 z-50 border-r bg-background flex items-center px-4",style:{width:"280px",height:"50px"},children:l.jsx("span",{className:"font-medium text-sm",children:s==="assignees"?"Colaboradores":"Tarefas"})}),l.jsx("div",{className:"flex",children:m.map(v=>{const L=R.isWeekend(v);return l.jsx("div",{className:y("flex-shrink-0 border-r text-center bg-background",L&&"bg-muted/20"),style:{width:`${a}px`},children:l.jsxs("div",{className:"h-full flex flex-col items-center justify-center gap-0.5 py-1",children:[l.jsx("span",{className:"text-[10px] font-bold leading-none text-foreground",children:u5[v.getDay()]}),l.jsx("span",{className:"text-[10px] text-muted-foreground leading-none",children:R.format(v,"d",{locale:gt})})]})},v.toISOString())})})]}),l.jsxs("div",{className:"relative",children:[l.jsx("div",{className:"absolute inset-0 flex pointer-events-none pl-[280px]",children:m.map(v=>{const L=R.isWeekend(v),C=R.isSameDay(v,new Date);return l.jsx("div",{className:y("flex-shrink-0 h-full",L&&"bg-muted/10",C&&"bg-primary/5"),style:{width:`${a}px`}},`grid-${v.toISOString()}`)})}),w.map(v=>{const L=d.has(v.id);return l.jsxs("div",{children:[l.jsxs("div",{className:"flex sticky-container",children:[l.jsxs("div",{className:"sticky left-0 z-30 w-[280px] border-r bg-background flex items-center gap-2 px-3 py-2 border-b hover:bg-muted/50 transition-colors cursor-pointer",style:{height:`${i}px`},onClick:()=>j(v.id),children:[L?l.jsx(N.ChevronRight,{className:"size-4 text-muted-foreground"}):l.jsx(N.ChevronDown,{className:"size-4 text-muted-foreground"}),s==="assignees"&&v.initials?l.jsx(Jt,{className:"size-6",children:l.jsx(Vt,{style:{backgroundColor:v.color},className:"text-white text-[10px]",children:v.initials})}):l.jsx("div",{className:"size-3 rounded-full flex-shrink-0",style:{backgroundColor:v.color||"var(--primary)"}}),l.jsx("span",{className:"font-medium text-sm truncate",children:v.name}),l.jsx("span",{className:"ml-auto text-xs text-muted-foreground",children:v.tasks.length})]}),l.jsx("div",{className:"flex-1 border-b",style:{height:`${i}px`}})]}),!L&&v.tasks.map(C=>l.jsxs("div",{className:"flex sticky-container group",children:[l.jsxs("div",{className:"sticky left-0 z-30 w-[280px] border-r bg-background flex items-center gap-2 px-3 py-2 pl-9 border-b hover:bg-muted/20 transition-colors",style:{height:`${i}px`},children:[l.jsx("div",{className:y("size-2 rounded-full flex-shrink-0",C.milestone&&"rotate-45"),style:{backgroundColor:v.color}}),l.jsx("span",{className:"text-sm truncate flex-1",children:C.name}),s==="projects"&&C.assignee&&l.jsx(Jt,{className:"size-6 opacity-0 group-hover:opacity-100 transition-opacity",children:l.jsx(Vt,{className:"text-[10px]",children:C.assignee.initials||C.assignee.name.substring(0,2).toUpperCase()})}),r&&l.jsx(N.Edit,{className:"size-4 text-muted-foreground cursor-pointer hover:text-primary ml-2 opacity-0 group-hover:opacity-100",onClick:()=>r(C)})]}),l.jsx("div",{className:"relative flex-1 border-b",style:{height:`${i}px`},children:l.jsx(Gb,{task:C,timelineStart:p,timelineEnd:h,columnWidth:a,rowHeight:i,onTaskClick:n,onTaskEdit:r})})]},C.id))]},v.id)}),(()=>{const v=new Date;if(v>=p&&v<=h){const C=280+R.differenceInDays(v,p)*a+a/2;return l.jsx("div",{className:"absolute top-0 bottom-0 w-0.5 bg-primary pointer-events-none z-20",style:{left:`${C}px`},children:l.jsx("div",{className:"absolute -top-1 -left-1.5 size-3 rounded-full bg-primary shadow-sm"})})}return null})()]})]})})})]})});Wb.displayName="GanttChart";const $b=I.forwardRef(({className:t},e)=>l.jsxs("div",{ref:e,className:y("flex flex-wrap gap-4",t),children:[Object.entries(Qb).map(([n,r])=>l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("div",{className:y("size-3 rounded",r.barColor)}),l.jsx("span",{className:"text-sm text-muted-foreground",children:r.label})]},n)),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("div",{className:"size-3 rotate-45 bg-primary"}),l.jsx("span",{className:"text-sm text-muted-foreground",children:"Marco"})]})]}));$b.displayName="GanttLegend";function h5({...t}){return l.jsx(Vs.Root,{"data-slot":"hover-card",...t})}function p5({...t}){return l.jsx(Vs.Trigger,{"data-slot":"hover-card-trigger",...t})}function m5({className:t,align:e="center",sideOffset:n=4,...r}){return l.jsx(Vs.Portal,{"data-slot":"hover-card-portal",children:l.jsx(Vs.Content,{"data-slot":"hover-card-content",align:e,sideOffset:n,className:y("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",t),...r})})}function g5({className:t,containerClassName:e,...n}){return l.jsx(np.OTPInput,{"data-slot":"input-otp",containerClassName:y("flex items-center gap-2 has-disabled:opacity-50",e),className:y("disabled:cursor-not-allowed",t),...n})}function b5({className:t,...e}){return l.jsx("div",{"data-slot":"input-otp-group",className:y("flex items-center gap-1",t),...e})}function x5({index:t,className:e,...n}){const r=I.useContext(np.OTPInputContext),{char:i,hasFakeCaret:a,isActive:s}=(r==null?void 0:r.slots[t])??{};return l.jsxs("div",{"data-slot":"input-otp-slot","data-active":s,className:y("data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm bg-input-background transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]",e),...n,children:[i,a&&l.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:l.jsx("div",{className:"animate-caret-blink bg-foreground h-4 w-px duration-1000"})})]})}function v5({...t}){return l.jsx("div",{"data-slot":"input-otp-separator",role:"separator",...t,children:l.jsx(N.MinusIcon,{})})}const Jo=I.forwardRef(({className:t,value:e,defaultValue:n=0,onChange:r,min:i=Number.MIN_SAFE_INTEGER,max:a=Number.MAX_SAFE_INTEGER,step:s=1,precision:o=0,formatOptions:f,locale:c="pt-BR",allowMouseWheel:d=!1,clampValueOnBlur:u=!0,keepWithinRange:p=!0,disabled:h,readOnly:m,...g},b)=>{const[x,w]=I.useState(n),[j,v]=I.useState(""),[L,C]=I.useState(!1),k=I.useRef(null),S=e!==void 0?e:x,T=I.useCallback(W=>f?new Intl.NumberFormat(c,f).format(W):W.toFixed(o),[f,c,o]),E=W=>{const pe=W.replace(/[^\d,.-]/g,"").replace(",","."),_=parseFloat(pe);return isNaN(_)?0:_},H=W=>p?Math.min(Math.max(W,i),a):W,V=I.useCallback((W,ye=!1)=>{const pe=ye?H(W):W;e===void 0&&w(pe),r&&r(pe)},[e,r,H]);I.useEffect(()=>{L||v(T(S))},[S,T,L]);const Q=()=>{if(h||m)return;const W=S+s;W<=a&&V(W)},K=()=>{if(h||m)return;const W=S-s;W>=i&&V(W)},O=W=>{const pe=W.target.value.replace(/[^\d,.-]/g,"");v(pe);const _=E(pe);V(_,!1)},F=W=>{if(C(!1),u){const ye=H(S);V(ye,!1),v(T(ye))}else v(T(S));g.onBlur&&g.onBlur(W)},Y=W=>{C(!0),v(S.toString()),W.target.select(),g.onFocus&&g.onFocus(W)},ae=W=>{h||m||(W.key==="ArrowUp"?(W.preventDefault(),Q()):W.key==="ArrowDown"&&(W.preventDefault(),K()),g.onKeyDown&&g.onKeyDown(W))},ce=W=>{!d||h||m||!L||(W.preventDefault(),W.deltaY<0?Q():W.deltaY>0&&K())};return I.useImperativeHandle(b,()=>k.current),l.jsxs("div",{className:"relative w-full",children:[l.jsx("input",{ref:k,type:"text",inputMode:"decimal","data-slot":"input",className:y("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border pl-3 pr-10 py-1 text-base bg-input-background transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive","text-right tabular-nums",t),value:j,onChange:O,onBlur:F,onFocus:Y,onKeyDown:ae,onWheel:ce,disabled:h,readOnly:m,"aria-valuemin":i,"aria-valuemax":a,"aria-valuenow":S,role:"spinbutton",...g}),l.jsxs("div",{className:"absolute top-1/2 -translate-y-1/2 flex flex-col gap-0.5",style:{right:"4px"},children:[l.jsx("button",{type:"button",onClick:Q,disabled:h||m||S>=a,tabIndex:-1,"aria-label":"Increment value",className:"h-4 w-7 rounded flex items-center justify-center hover:bg-muted transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:l.jsx(N.ChevronUp,{className:"h-3 w-3"})}),l.jsx("button",{type:"button",onClick:K,disabled:h||m||S<=i,tabIndex:-1,"aria-label":"Decrement value",className:"h-4 w-7 rounded flex items-center justify-center hover:bg-muted transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:l.jsx(N.ChevronDown,{className:"h-3 w-3"})})]})]})});Jo.displayName="NumberInput";const Zb=I.forwardRef(({className:t,showToggle:e=!0,...n},r)=>{const[i,a]=I.useState(!1);return l.jsxs("div",{className:"relative",children:[l.jsx("input",{type:i?"text":"password","data-slot":"input",className:y("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border px-3 py-1 text-base bg-input-background transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e&&"pr-10",t),ref:r,...n}),e&&l.jsx("button",{type:"button",onClick:()=>a(!i),className:"absolute right-0 top-0 h-full px-3 py-2 hover:bg-transparent",tabIndex:-1,"aria-label":i?"Hide password":"Show password",children:i?l.jsx(N.EyeOff,{className:"h-4 w-4 text-muted-foreground"}):l.jsx(N.Eye,{className:"h-4 w-4 text-muted-foreground"})})]})});Zb.displayName="PasswordInput";function Xd({className:t,...e}){return l.jsx("textarea",{"data-slot":"textarea",className:y("resize-none border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-input-background px-3 py-2 text-base transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),...e})}function qb({className:t,...e}){return l.jsx("div",{"data-slot":"input-group",role:"group",className:y("group/input-group cn-input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto",t),...e})}const y5=an.cva("cn-input-group-addon flex cursor-text items-center justify-center select-none",{variants:{align:{"inline-start":"cn-input-group-addon-align-inline-start order-first","inline-end":"cn-input-group-addon-align-inline-end order-last","block-start":"cn-input-group-addon-align-block-start order-first w-full justify-start","block-end":"cn-input-group-addon-align-block-end order-last w-full justify-start"}},defaultVariants:{align:"inline-start"}});function vc({className:t,align:e="inline-start",...n}){return l.jsx("div",{role:"group","data-slot":"input-group-addon","data-align":e,className:y(y5({align:e}),t),onClick:r=>{var i,a;r.target.closest("button")||(a=(i=r.currentTarget.parentElement)==null?void 0:i.querySelector("input"))==null||a.focus()},...n})}const w5=an.cva("flex items-center gap-2 text-sm shadow-none",{variants:{size:{default:"h-7",sm:"h-6",xs:"h-5","icon-xs":"size-5"}},defaultVariants:{size:"default"}});function M5({className:t,size:e,variant:n="ghost",type:r="button",...i}){return l.jsx(B,{"data-slot":"input-group-button",type:r,variant:n,className:y(w5({size:e}),t),...i})}function j5({className:t,...e}){return l.jsx("span",{"data-slot":"input-group-text",className:y("text-muted-foreground text-sm",t),...e})}function C5({className:t,...e}){return l.jsx(Yt,{"data-slot":"input-group-control",className:y("cn-input-group-input flex-1",t),...e})}function L5({className:t,...e}){return l.jsx(Xd,{"data-slot":"input-group-control",className:y("cn-input-group-textarea flex-1 resize-none",t),...e})}const N5={BRL:{symbol:"R$",icon:N.Coins,locale:"pt-BR"},USD:{symbol:"$",icon:N.DollarSign,locale:"en-US"},EUR:{symbol:"€",icon:N.Euro,locale:"de-DE"}},Kb=I.forwardRef(({className:t,currency:e="BRL",locale:n,showSymbol:r=!1,symbolPosition:i="start",min:a=0,...s},o)=>{const f=N5[e],c=n||f.locale,d=f.icon;return r?l.jsxs(qb,{className:t,children:[i==="start"&&l.jsx(vc,{children:l.jsx(d,{className:"h-4 w-4 text-muted-foreground"})}),l.jsx(Jo,{ref:o,className:y("border-none shadow-none ring-0 focus-visible:ring-0 focus-visible:border-transparent",i==="start"?"pl-2":"pr-2"),min:a,precision:2,formatOptions:{style:"currency",currency:e,minimumFractionDigits:2,maximumFractionDigits:2},locale:c,...s}),i==="end"&&l.jsx(vc,{align:"inline-end",children:l.jsx(d,{className:"h-4 w-4 text-muted-foreground"})})]}):l.jsx(Jo,{ref:o,className:t,min:a,precision:2,formatOptions:{style:"currency",currency:e,minimumFractionDigits:2,maximumFractionDigits:2},locale:c,...s})});Kb.displayName="CurrencyInput";function k5({className:t,...e}){return l.jsx(Ye.Root,{"data-slot":"menubar",className:y("bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs",t),...e})}function S5({...t}){return l.jsx(Ye.Menu,{"data-slot":"menubar-menu",...t})}function I5({...t}){return l.jsx(Ye.Group,{"data-slot":"menubar-group",...t})}function Xb({...t}){return l.jsx(Ye.Portal,{"data-slot":"menubar-portal",...t})}function T5({...t}){return l.jsx(Ye.RadioGroup,{"data-slot":"menubar-radio-group",...t})}function D5({className:t,...e}){return l.jsx(Ye.Trigger,{"data-slot":"menubar-trigger",className:y("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none",t),...e})}function E5({className:t,align:e="start",alignOffset:n=-4,sideOffset:r=8,...i}){return l.jsx(Xb,{children:l.jsx(Ye.Content,{"data-slot":"menubar-content",align:e,alignOffset:n,sideOffset:r,className:y("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md",t),...i})})}function A5({className:t,inset:e,variant:n="default",...r}){return l.jsx(Ye.Item,{"data-slot":"menubar-item","data-inset":e,"data-variant":n,className:y("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...r})}function z5({className:t,children:e,checked:n,...r}){return l.jsxs(Ye.CheckboxItem,{"data-slot":"menubar-checkbox-item",className:y("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),checked:n,...r,children:[l.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:l.jsx(Ye.ItemIndicator,{children:l.jsx(N.CheckIcon,{className:"size-4"})})}),e]})}function O5({className:t,children:e,...n}){return l.jsxs(Ye.RadioItem,{"data-slot":"menubar-radio-item",className:y("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...n,children:[l.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:l.jsx(Ye.ItemIndicator,{children:l.jsx(N.CircleIcon,{className:"size-2 fill-current"})})}),e]})}function P5({className:t,inset:e,...n}){return l.jsx(Ye.Label,{"data-slot":"menubar-label","data-inset":e,className:y("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",t),...n})}function R5({className:t,...e}){return l.jsx(Ye.Separator,{"data-slot":"menubar-separator",className:y("bg-border -mx-1 my-1 h-px",t),...e})}function B5({className:t,...e}){return l.jsx("span",{"data-slot":"menubar-shortcut",className:y("text-muted-foreground ml-auto text-xs tracking-widest",t),...e})}function H5({...t}){return l.jsx(Ye.Sub,{"data-slot":"menubar-sub",...t})}function F5({className:t,inset:e,children:n,...r}){return l.jsxs(Ye.SubTrigger,{"data-slot":"menubar-sub-trigger","data-inset":e,className:y("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8",t),...r,children:[n,l.jsx(N.ChevronRightIcon,{className:"ml-auto h-4 w-4"})]})}function U5({className:t,...e}){return l.jsx(Ye.SubContent,{"data-slot":"menubar-sub-content",className:y("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",t),...e})}function _5({className:t,children:e,viewport:n=!0,...r}){return l.jsxs(Sr.Root,{"data-slot":"navigation-menu","data-viewport":n,className:y("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",t),...r,children:[e,n&&l.jsx(G5,{})]})}function J5({className:t,...e}){return l.jsx(Sr.List,{"data-slot":"navigation-menu-list",className:y("group flex flex-1 list-none items-center justify-center gap-1",t),...e})}function V5({className:t,...e}){return l.jsx(Sr.Item,{"data-slot":"navigation-menu-item",className:y("relative",t),...e})}const e4=an.cva("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");function Y5({className:t,children:e,...n}){return l.jsxs(Sr.Trigger,{"data-slot":"navigation-menu-trigger",className:y(e4(),"group",t),...n,children:[e," ",l.jsx(N.ChevronDownIcon,{className:"relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})}function Q5({className:t,...e}){return l.jsx(Sr.Content,{"data-slot":"navigation-menu-content",className:y("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto","group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",t),...e})}function G5({className:t,...e}){return l.jsx("div",{className:y("absolute top-full left-0 isolate z-50 flex justify-center"),children:l.jsx(Sr.Viewport,{"data-slot":"navigation-menu-viewport",className:y("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",t),...e})})}function W5({className:t,...e}){return l.jsx(Sr.Link,{"data-slot":"navigation-menu-link",className:y("data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",t),...e})}function $5({title:t,description:e,breadcrumbs:n,actions:r,secondaryNavCollapsed:i=!1,onSecondaryNavToggle:a,className:s}){return l.jsxs("div",{className:y("border-b bg-background",s),children:[l.jsxs("div",{className:"flex h-14 items-center gap-4 px-6",children:[l.jsx(B,{variant:"ghost",size:"icon",className:"h-8 w-8 shrink-0",onClick:a,title:i?"Mostrar menu lateral":"Ocultar menu lateral",children:i?l.jsx(N.PanelLeftOpen,{className:"h-4 w-4"}):l.jsx(N.PanelLeftClose,{className:"h-4 w-4"})}),n&&n.length>0&&l.jsx(up,{children:l.jsx(hp,{children:n.map((o,f)=>l.jsxs(I.Fragment,{children:[f>0&&l.jsx(bp,{}),l.jsx(pp,{children:f===n.length-1?l.jsx(gp,{children:o.label}):o.href?l.jsx(mp,{href:o.href,children:o.label}):l.jsx("span",{children:o.label})})]},f))})}),!n&&l.jsx("div",{className:"flex-1",children:l.jsx("h1",{className:"text-lg font-semibold",children:t})}),r&&l.jsx("div",{className:"ml-auto flex items-center gap-2",children:r})]}),e&&l.jsx("div",{className:"border-t px-6 py-3",children:l.jsx("p",{className:"text-sm text-muted-foreground",children:e})})]})}function Z5({title:t,icon:e,badge:n,actions:r,secondaryNavCollapsed:i=!1,onSecondaryNavToggle:a,className:s}){return l.jsxs("div",{className:y("flex h-14 items-center gap-3 border-b bg-background px-6",s),children:[l.jsx(B,{variant:"ghost",size:"icon",className:"h-8 w-8 shrink-0",onClick:a,title:i?"Mostrar menu lateral":"Ocultar menu lateral",children:i?l.jsx(N.PanelLeftOpen,{className:"h-4 w-4"}):l.jsx(N.PanelLeftClose,{className:"h-4 w-4"})}),e&&l.jsx("div",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10",children:l.jsx(e,{className:"h-4 w-4 text-primary"})}),l.jsx("h1",{className:"flex-1 text-lg font-semibold",children:t}),n&&l.jsx("div",{className:"shrink-0",children:n}),r&&l.jsx("div",{className:"flex shrink-0 items-center gap-2",children:r})]})}function q5({className:t,...e}){return l.jsx("nav",{role:"navigation","aria-label":"pagination","data-slot":"pagination",className:y("mx-auto flex w-full justify-center",t),...e})}function K5({className:t,...e}){return l.jsx("ul",{"data-slot":"pagination-content",className:y("flex flex-row items-center gap-1",t),...e})}function X5({...t}){return l.jsx("li",{"data-slot":"pagination-item",...t})}function eu({className:t,isActive:e,size:n="icon",...r}){return l.jsx("a",{"aria-current":e?"page":void 0,"data-slot":"pagination-link","data-active":e,className:y(Bn({variant:e?"outline":"ghost",size:n}),t),...r})}function eA({className:t,...e}){return l.jsxs(eu,{"aria-label":"Go to previous page",size:"default",className:y("gap-1 px-2.5 sm:pl-2.5",t),...e,children:[l.jsx(N.ChevronLeftIcon,{}),l.jsx("span",{className:"hidden sm:block",children:"Previous"})]})}function tA({className:t,...e}){return l.jsxs(eu,{"aria-label":"Go to next page",size:"default",className:y("gap-1 px-2.5 sm:pr-2.5",t),...e,children:[l.jsx("span",{className:"hidden sm:block",children:"Next"}),l.jsx(N.ChevronRightIcon,{})]})}function nA({className:t,...e}){return l.jsxs("span",{"aria-hidden":!0,"data-slot":"pagination-ellipsis",className:y("flex size-9 items-center justify-center",t),...e,children:[l.jsx(N.MoreHorizontalIcon,{className:"size-4"}),l.jsx("span",{className:"sr-only",children:"More pages"})]})}function rA({className:t,...e}){return l.jsx(Mf.Root,{"data-slot":"radio-group",className:y("grid gap-3",t),...e})}function iA({className:t,...e}){return l.jsx(Mf.Item,{"data-slot":"radio-group-item",className:y("peer h-5 w-5 shrink-0 rounded-full border border-gray-300 bg-white shadow-sm transition-all hover:shadow-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/40 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",t),...e,children:l.jsx(Mf.Indicator,{"data-slot":"radio-group-indicator",className:"flex items-center justify-center",children:l.jsx("div",{className:"h-2 w-2 rounded-full bg-white"})})})}function aA({className:t,...e}){return l.jsx(jc.PanelGroup,{"data-slot":"resizable-panel-group",className:y("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",t),...e})}function sA({...t}){return l.jsx(jc.Panel,{"data-slot":"resizable-panel",...t})}function oA({withHandle:t,className:e,...n}){return l.jsx(jc.PanelResizeHandle,{"data-slot":"resizable-handle",className:y("bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",e),...n,children:t&&l.jsx("div",{className:"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border",children:l.jsx(N.GripVerticalIcon,{className:"size-2.5"})})})}function t4({...t}){return l.jsx(Ee.Root,{"data-slot":"sheet",...t})}function lA({...t}){return l.jsx(Ee.Trigger,{"data-slot":"sheet-trigger",...t})}function fA({...t}){return l.jsx(Ee.Close,{"data-slot":"sheet-close",...t})}function cA({...t}){return l.jsx(Ee.Portal,{"data-slot":"sheet-portal",...t})}const n4=I.forwardRef(({className:t,...e},n)=>l.jsx(Ee.Overlay,{ref:n,"data-slot":"sheet-overlay",className:y("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...e}));n4.displayName=Ee.Overlay.displayName;function r4({className:t,children:e,side:n="right",...r}){return l.jsxs(cA,{children:[l.jsx(n4,{}),l.jsxs(Ee.Content,{"data-slot":"sheet-content",className:y("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",n==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",n==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",n==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",n==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",t),...r,children:[e,l.jsxs(Ee.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[l.jsx(N.XIcon,{className:"size-4"}),l.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function i4({className:t,...e}){return l.jsx("div",{"data-slot":"sheet-header",className:y("flex flex-col gap-1.5 p-4",t),...e})}function dA({className:t,...e}){return l.jsx("div",{"data-slot":"sheet-footer",className:y("mt-auto flex flex-col gap-2 p-4",t),...e})}function a4({className:t,...e}){return l.jsx(Ee.Title,{"data-slot":"sheet-title",className:y("text-foreground font-semibold",t),...e})}function s4({className:t,...e}){return l.jsx(Ee.Description,{"data-slot":"sheet-description",className:y("text-muted-foreground text-sm",t),...e})}const wf=768;function o4(){const[t,e]=I.useState(void 0);return I.useEffect(()=>{const n=window.matchMedia(`(max-width: ${wf-1}px)`),r=()=>{e(window.innerWidth<wf)};return n.addEventListener("change",r),e(window.innerWidth<wf),()=>n.removeEventListener("change",r)},[]),!!t}const uA="sidebar_state",hA=3600*24*7,pA="16rem",mA="18rem",gA="3rem",bA="b",l4=I.createContext(null);function ns(){const t=I.useContext(l4);if(!t)throw new Error("useSidebar must be used within a SidebarProvider.");return t}function xA({defaultOpen:t=!0,open:e,onOpenChange:n,className:r,style:i,children:a,...s}){const o=o4(),[f,c]=I.useState(!1),[d,u]=I.useState(t),p=e??d,h=I.useCallback(x=>{const w=typeof x=="function"?x(p):x;n?n(w):u(w),document.cookie=`${uA}=${w}; path=/; max-age=${hA}`},[n,p]),m=I.useCallback(()=>o?c(x=>!x):h(x=>!x),[o,h,c]);I.useEffect(()=>{const x=w=>{w.key===bA&&(w.metaKey||w.ctrlKey)&&(w.preventDefault(),m())};return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[m]);const g=p?"expanded":"collapsed",b=I.useMemo(()=>({state:g,open:p,setOpen:h,isMobile:o,openMobile:f,setOpenMobile:c,toggleSidebar:m}),[g,p,h,o,f,c,m]);return l.jsx(l4.Provider,{value:b,children:l.jsx(Sc,{delayDuration:0,children:l.jsx("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":pA,"--sidebar-width-icon":gA,...i},className:y("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",r),...s,children:a})})})}function vA({side:t="left",variant:e="sidebar",collapsible:n="offcanvas",className:r,children:i,...a}){const{isMobile:s,state:o,openMobile:f,setOpenMobile:c}=ns();return n==="none"?l.jsx("div",{"data-slot":"sidebar",className:y("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",r),...a,children:i}):s?l.jsx(t4,{open:f,onOpenChange:c,...a,children:l.jsxs(r4,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",style:{"--sidebar-width":mA},side:t,children:[l.jsxs(i4,{className:"sr-only",children:[l.jsx(a4,{children:"Sidebar"}),l.jsx(s4,{children:"Displays the mobile sidebar."})]}),l.jsx("div",{className:"flex h-full w-full flex-col",children:i})]})}):l.jsxs("div",{className:"group peer text-sidebar-foreground hidden md:block","data-state":o,"data-collapsible":o==="collapsed"?n:"","data-variant":e,"data-side":t,"data-slot":"sidebar",children:[l.jsx("div",{"data-slot":"sidebar-gap",className:y("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),l.jsx("div",{"data-slot":"sidebar-container",className:y("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",t==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",r),...a,children:l.jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",children:i})})]})}function yA({className:t,onClick:e,...n}){const{toggleSidebar:r}=ns();return l.jsxs(B,{"data-sidebar":"trigger","data-slot":"sidebar-trigger",variant:"ghost",size:"icon",className:y("size-7",t),onClick:i=>{e==null||e(i),r()},...n,children:[l.jsx(N.PanelLeftIcon,{}),l.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})}function wA({className:t,...e}){const{toggleSidebar:n}=ns();return l.jsx("button",{"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:y("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",t),...e})}function MA({className:t,...e}){return l.jsx("main",{"data-slot":"sidebar-inset",className:y("bg-background relative flex w-full flex-1 flex-col","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",t),...e})}function jA({className:t,...e}){return l.jsx("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:y("flex flex-col gap-2 p-2",t),...e})}function CA({className:t,...e}){return l.jsx("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:y("flex flex-col gap-2 p-2",t),...e})}function LA({className:t,...e}){return l.jsx(An,{"data-slot":"sidebar-separator","data-sidebar":"separator",className:y("bg-sidebar-border mx-2 w-auto",t),...e})}function NA({className:t,...e}){return l.jsx("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:y("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",t),...e})}function kA({className:t,...e}){return l.jsx("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:y("relative flex w-full min-w-0 flex-col p-2",t),...e})}function SA({className:t,asChild:e=!1,...n}){const r=e?wn.Slot:"div";return l.jsx(r,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:y("text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",t),...n})}function IA({className:t,asChild:e=!1,...n}){const r=e?wn.Slot:"button";return l.jsx(r,{"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:y("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",t),...n})}function TA({className:t,...e}){return l.jsx("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:y("w-full text-sm",t),...e})}function DA({className:t,...e}){return l.jsx("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:y("flex w-full min-w-0 flex-col gap-1",t),...e})}function EA({className:t,...e}){return l.jsx("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:y("group/menu-item relative",t),...e})}const AA=an.cva("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function zA({asChild:t=!1,isActive:e=!1,variant:n="default",size:r="default",tooltip:i,className:a,...s}){const o=t?wn.Slot:"button",{isMobile:f,state:c}=ns(),d=l.jsx(o,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":r,"data-active":e,className:y(AA({variant:n,size:r}),a),...s});return i?(typeof i=="string"&&(i={children:i}),l.jsxs(ei,{children:[l.jsx(ti,{asChild:!0,children:d}),l.jsx(ni,{side:"right",align:"center",hidden:c!=="collapsed"||f,...i})]})):d}function OA({className:t,asChild:e=!1,showOnHover:n=!1,...r}){const i=e?wn.Slot:"button";return l.jsx(i,{"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:y("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",n&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",t),...r})}function PA({className:t,...e}){return l.jsx("div",{"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:y("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t),...e})}function RA({className:t,showIcon:e=!1,...n}){const r=I.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return l.jsxs("div",{"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:y("flex h-8 items-center gap-2 rounded-md px-2",t),...n,children:[e&&l.jsx(Rn,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),l.jsx(Rn,{className:"h-4 max-w-(--skeleton-width) flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})}function BA({className:t,...e}){return l.jsx("ul",{"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:y("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",t),...e})}function HA({className:t,...e}){return l.jsx("li",{"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:y("group/menu-sub-item relative",t),...e})}function FA({asChild:t=!1,size:e="md",isActive:n=!1,className:r,...i}){const a=t?wn.Slot:"a";return l.jsx(a,{"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":e,"data-active":n,className:y("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",r),...i})}const f4=an.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-white dark:bg-zinc-900 border border-input hover:bg-accent hover:text-accent-foreground text-foreground",google:"bg-white dark:bg-zinc-900 border border-input hover:bg-accent text-foreground",github:"bg-[#24292F] hover:bg-[#24292F]/90 text-white dark:bg-[#24292F] dark:hover:bg-[#24292F]/80",facebook:"bg-[#1877F2] hover:bg-[#1877F2]/90 text-white",apple:"bg-black hover:bg-black/90 text-white dark:bg-white dark:hover:bg-white/90 dark:text-black",microsoft:"bg-white dark:bg-zinc-900 border border-input hover:bg-accent text-foreground"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),UA=()=>l.jsxs("svg",{className:"h-5 w-5",viewBox:"0 0 24 24",fill:"none",children:[l.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),l.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),l.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),l.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]}),_A=()=>l.jsx("svg",{className:"h-5 w-5",viewBox:"0 0 24 24",fill:"currentColor",children:l.jsx("path",{d:"M17.05 20.28c-.98.95-2.05.88-3.08.4-1.09-.5-2.08-.48-3.24 0-1.44.62-2.2.44-3.06-.4C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09l.01-.01zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z"})}),JA=()=>l.jsx("svg",{className:"h-5 w-5",viewBox:"0 0 24 24",fill:"currentColor",children:l.jsx("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})}),VA=()=>l.jsxs("svg",{className:"h-5 w-5",viewBox:"0 0 24 24",fill:"none",children:[l.jsx("path",{d:"M11.4 11.4H2V2h9.4v9.4z",fill:"#F25022"}),l.jsx("path",{d:"M22 11.4h-9.4V2H22v9.4z",fill:"#7FBA00"}),l.jsx("path",{d:"M11.4 22H2v-9.4h9.4V22z",fill:"#00A4EF"}),l.jsx("path",{d:"M22 22h-9.4v-9.4H22V22z",fill:"#FFB900"})]}),c4=I.forwardRef(({className:t,variant:e,size:n,provider:r,children:i,...a},s)=>{const o=e||r,f=()=>{switch(r){case"google":return l.jsx(UA,{});case"github":return l.jsx(N.Github,{className:"h-5 w-5"});case"facebook":return l.jsx(JA,{});case"apple":return l.jsx(_A,{});case"microsoft":return l.jsx(VA,{});default:return null}},c=()=>`Continue with ${{google:"Google",github:"GitHub",facebook:"Facebook",apple:"Apple",microsoft:"Microsoft"}[r]}`;return l.jsxs("button",{className:y(f4({variant:o,size:n,className:t})),ref:s,...a,children:[f(),l.jsx("span",{children:i||c()})]})});c4.displayName="SocialButton";function d4({className:t,defaultValue:e,value:n,min:r=0,max:i=100,...a}){const s=I.useMemo(()=>Array.isArray(n)?n:Array.isArray(e)?e:[r,i],[n,e,r,i]);return l.jsxs(hs.Root,{"data-slot":"slider",defaultValue:e,value:n,min:r,max:i,className:y("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",t),...a,children:[l.jsx(hs.Track,{"data-slot":"slider-track",className:y("bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-4 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"),children:l.jsx(hs.Range,{"data-slot":"slider-range",className:y("bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full")})}),Array.from({length:s.length},(o,f)=>l.jsx(hs.Thumb,{"data-slot":"slider-thumb",className:"border-primary bg-background ring-ring/50 block size-4 shrink-0 rounded-full border shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"},f))]})}function YA(t){const{theme:e="system"}=px.useTheme();return l.jsx(rp.Toaster,{theme:e,className:"toaster group",toastOptions:{unstyled:!0,classNames:{toast:"w-full rounded-lg border px-4 py-3 shadow-lg flex items-start gap-3 bg-card text-card-foreground border-border",title:"font-medium text-sm",description:"text-sm mt-1",actionButton:"inline-flex items-center justify-center rounded-md text-sm font-medium bg-primary text-primary-foreground hover:bg-primary/90 h-8 px-3",cancelButton:"inline-flex items-center justify-center rounded-md text-sm font-medium bg-muted text-muted-foreground hover:bg-muted/90 h-8 px-3",closeButton:"absolute right-2 top-2 rounded-md p-1 text-foreground/50 hover:text-foreground",error:"!bg-red-50 dark:!bg-red-950/30 !text-red-700 dark:!text-red-400 !border-red-200 dark:!border-red-800 [&_[data-title]]:text-red-700 dark:[&_[data-title]]:text-red-400 [&_[data-description]]:text-red-700/90 dark:[&_[data-description]]:text-red-400/90",success:"!bg-green-50 dark:!bg-green-950/30 !text-green-700 dark:!text-green-400 !border-green-200 dark:!border-green-800 [&_[data-title]]:text-green-700 dark:[&_[data-title]]:text-green-400 [&_[data-description]]:text-green-700/90 dark:[&_[data-description]]:text-green-400/90",warning:"!bg-yellow-50 dark:!bg-yellow-950/30 !text-yellow-700 dark:!text-yellow-400 !border-yellow-200 dark:!border-yellow-800 [&_[data-title]]:text-yellow-700 dark:[&_[data-title]]:text-yellow-400 [&_[data-description]]:text-yellow-700/90 dark:[&_[data-description]]:text-yellow-400/90",info:"!bg-cyan-50 dark:!bg-cyan-950/30 !text-cyan-700 dark:!text-cyan-400 !border-cyan-200 dark:!border-cyan-800 [&_[data-title]]:text-cyan-700 dark:[&_[data-title]]:text-cyan-400 [&_[data-description]]:text-cyan-700/90 dark:[&_[data-description]]:text-cyan-400/90"}},...t})}function u4({className:t,...e}){return l.jsx(fu.Root,{"data-slot":"switch",className:y("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-switch-background focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",t),...e,children:l.jsx(fu.Thumb,{"data-slot":"switch-thumb",className:y("bg-card dark:data-[state=unchecked]:bg-card-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")})})}const tu=I.forwardRef(({className:t,...e},n)=>l.jsx("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:l.jsx("table",{ref:n,"data-slot":"table",className:y("w-full caption-bottom text-sm",t),...e})}));tu.displayName="Table";const nu=I.forwardRef(({className:t,...e},n)=>l.jsx("thead",{ref:n,"data-slot":"table-header",className:y("[&_tr]:border-b",t),...e}));nu.displayName="TableHeader";const ru=I.forwardRef(({className:t,...e},n)=>l.jsx("tbody",{ref:n,"data-slot":"table-body",className:y("[&_tr:last-child]:border-0",t),...e}));ru.displayName="TableBody";const h4=I.forwardRef(({className:t,...e},n)=>l.jsx("tfoot",{ref:n,"data-slot":"table-footer",className:y("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",t),...e}));h4.displayName="TableFooter";const Kr=I.forwardRef(({className:t,...e},n)=>l.jsx("tr",{ref:n,"data-slot":"table-row",className:y("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",t),...e}));Kr.displayName="TableRow";const iu=I.forwardRef(({className:t,...e},n)=>l.jsx("th",{ref:n,"data-slot":"table-head",className:y("text-foreground h-10 px-2 text-left align-middle font-medium","[&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...e}));iu.displayName="TableHead";const da=I.forwardRef(({className:t,...e},n)=>l.jsx("td",{ref:n,"data-slot":"table-cell",className:y("p-2 align-middle","[&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...e}));da.displayName="TableCell";const p4=I.forwardRef(({className:t,...e},n)=>l.jsx("caption",{ref:n,"data-slot":"table-caption",className:y("text-muted-foreground mt-4 text-sm",t),...e}));p4.displayName="TableCaption";const QA={previous:"Anterior",next:"Próxima",first:"Primeira",last:"Última",showing:"Mostrando",of:"de",results:"resultados",itemsPerPage:"Itens por página",page:"Página"},GA=[10,20,30,50,100];function m4(t,e,n=5){if(e<=n)return Array.from({length:e},(o,f)=>f+1);const r=[],i=Math.floor(n/2);r.push(1);let a=Math.max(2,t-i),s=Math.min(e-1,t+i);t<=i+1?s=n-1:t>=e-i&&(a=e-n+2),a>2&&r.push("ellipsis");for(let o=a;o<=s;o++)r.push(o);return s<e-1&&r.push("ellipsis"),e>1&&r.push(e),r}function au({currentPage:t,totalPages:e,pageSize:n,totalItems:r,onPageChange:i,onPageSizeChange:a,pageSizeOptions:s=GA,maxVisiblePages:o=5,showInfo:f=!0,showPageNumbers:c=!0,showPageSizeSelector:d=!0,showFirstLastButtons:u=!0,labels:p,className:h}){const m={...QA,...p},g=m4(t,e,o),b=(t-1)*n+1,x=Math.min(t*n,r),w=t>1,j=t<e;return e===0?null:l.jsxs("div",{className:y("flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",h),role:"navigation","aria-label":"Paginação da tabela",children:[f&&l.jsxs("p",{className:"text-sm text-muted-foreground order-2 sm:order-1",children:[m.showing," ",l.jsx("span",{className:"font-medium text-foreground",children:b})," - ",l.jsx("span",{className:"font-medium text-foreground",children:x})," ",m.of," ",l.jsx("span",{className:"font-medium text-foreground",children:r})," ",m.results]}),l.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:gap-4 order-1 sm:order-2",children:[d&&a&&l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("span",{className:"text-sm text-muted-foreground whitespace-nowrap",children:m.itemsPerPage}),l.jsxs(Zt,{value:String(n),onValueChange:v=>a(Number(v)),children:[l.jsx(Kt,{className:"h-8 w-[70px]",children:l.jsx(qt,{placeholder:n})}),l.jsx(Xt,{children:s.map(v=>l.jsx(kt,{value:String(v),children:v},v))})]})]}),l.jsxs("span",{className:"text-sm text-muted-foreground sm:hidden",children:[m.page," ",t," ",m.of," ",e]}),l.jsxs("div",{className:"flex items-center gap-1",children:[u&&l.jsx(B,{variant:"outline",size:"icon",className:"h-8 w-8",onClick:()=>i(1),disabled:!w,"aria-label":m.first,children:l.jsx(N.ChevronsLeft,{className:"h-4 w-4"})}),l.jsx(B,{variant:"outline",size:"icon",className:"h-8 w-8",onClick:()=>i(t-1),disabled:!w,"aria-label":m.previous,children:l.jsx(N.ChevronLeft,{className:"h-4 w-4"})}),c&&l.jsx("div",{className:"hidden sm:flex items-center gap-1",children:g.map((v,L)=>v==="ellipsis"?l.jsx("span",{className:"flex items-center justify-center w-8 h-8 text-muted-foreground","aria-hidden":!0,children:"..."},`ellipsis-${L}`):l.jsx(B,{variant:t===v?"default":"outline",size:"icon",className:"h-8 w-8",onClick:()=>i(v),"aria-label":`${m.page} ${v}`,"aria-current":t===v?"page":void 0,children:v},v))}),l.jsx(B,{variant:"outline",size:"icon",className:"h-8 w-8",onClick:()=>i(t+1),disabled:!j,"aria-label":m.next,children:l.jsx(N.ChevronRight,{className:"h-4 w-4"})}),u&&l.jsx(B,{variant:"outline",size:"icon",className:"h-8 w-8",onClick:()=>i(e),disabled:!j,"aria-label":m.last,children:l.jsx(N.ChevronsRight,{className:"h-4 w-4"})})]})]})]})}au.displayName="TablePagination";function g4(t){const{currentPage:e,pageSize:n,totalItems:r}=t,i=Math.ceil(r/n),a=(e-1)*n,s=Math.min(a+n,r);return{totalPages:i,startIndex:a,endIndex:s,hasNextPage:e<i,hasPreviousPage:e>1}}function WA({data:t,initialPageSize:e=10,resetOnDataChange:n=!0,serverSideTotalItems:r}){const[i,a]=M.useState(1),[s,o]=M.useState(e),f=r!==void 0,c=f?r:t.length;M.useMemo(()=>{n&&a(1)},[t.length,n]);const d=Math.ceil(c/s),u=Math.min(Math.max(1,i),Math.max(1,d)),p=(u-1)*s,h=Math.min(p+s,c),m=M.useMemo(()=>f?t:t.slice(p,h),[t,p,h,f]),g=L=>{const C=Math.max(1,Math.min(L,d));a(C)},b=()=>{i<d&&a(L=>L+1)},x=()=>{i>1&&a(L=>L-1)},w=L=>{o(L),a(1)},j={currentPage:u,pageSize:s,totalItems:c,onPageChange:g,onPageSizeChange:w},v=g4(j);return{currentPage:u,pageSize:s,totalItems:c,totalPages:d,paginatedData:m,goToPage:g,nextPage:b,prevPage:x,setPageSize:w,paginationConfig:j,metadata:v}}function $A({data:t,initialSort:e={column:null,direction:null},initialPageSize:n=10,enablePagination:r=!0,serverMode:i=!1,totalItems:a,serverCurrentPage:s,serverCurrentPageSize:o}){const[f,c]=M.useState(e),[d,u]=M.useState([]),p=M.useMemo(()=>i||d.length===0?t:t.filter(C=>d.every(k=>{const S=C[k.column];switch(k.operator){case"equals":return S==k.value;case"contains":return String(S).toLowerCase().includes(String(k.value).toLowerCase());case"startsWith":return String(S).toLowerCase().startsWith(String(k.value).toLowerCase());case"greaterThan":return S>k.value;case"greaterThanOrEqual":return S>=k.value;case"lessThan":return S<k.value;case"lessThanOrEqual":return S<=k.value;default:return!0}})),[t,d,i]),h=M.useMemo(()=>i||!f.column||!f.direction?p:[...p].sort((C,k)=>{const S=C[f.column],T=k[f.column];return S<T?f.direction==="asc"?-1:1:S>T?f.direction==="asc"?1:-1:0}),[p,f,i]),m=i?a??t.length:h.length,g=WA({data:i?t:h,initialPageSize:n,resetOnDataChange:!0,serverSideTotalItems:i?m:void 0});M.useEffect(()=>{i&&(s!==void 0&&s!==g.currentPage&&g.goToPage(s),o!==void 0&&o!==g.pageSize&&g.setPageSize(o))},[i,s,o,g]);const b=C=>{c(k=>{if(k.column===C){if(k.direction==="asc")return{column:C,direction:"desc"};if(k.direction==="desc")return{column:null,direction:null}}return{column:C,direction:"asc"}})},x=(C,k,S="contains")=>{u(T=>{const E=T.filter(H=>H.column!==C);return k===""||k===null||k===void 0?E:[...E,{column:C,operator:S,value:k}]})},w=C=>{u(k=>k.filter(S=>S.column!==C))},j=C=>f.column===C?f.direction:null,v=i?t:r?g.paginatedData:h,L=i&&(s!==void 0||o!==void 0)?{...g.paginationConfig,currentPage:s??g.paginationConfig.currentPage,pageSize:o??g.paginationConfig.pageSize}:g.paginationConfig;return{data:v,state:{sort:f,filters:d,pagination:L},handlers:{onSort:b,setFilter:x,removeFilter:w,clearFilters:()=>u([])},getSortDirection:j}}function b4({label:t,value:e,onRemove:n,className:r}){return l.jsxs(be,{variant:"secondary",className:y("gap-1 pr-1 pl-2 h-7",n&&"pr-1",r),children:[l.jsxs("span",{className:"text-sm",children:[t,e&&l.jsxs(l.Fragment,{children:[": ",l.jsx("span",{className:"font-semibold",children:e})]})]}),n&&l.jsx("button",{type:"button",onClick:n,className:"ml-1 rounded-sm hover:bg-muted p-0.5 transition-colors","aria-label":`Remove ${t} filter`,children:l.jsx(N.X,{className:"h-3 w-3"})})]})}function x4({activeFilters:t=[],onClearAll:e,onOpenFilters:n,className:r,children:i}){const a=t.length>0;return l.jsxs("div",{className:y("flex items-center gap-2 flex-wrap",r),children:[l.jsxs(B,{variant:"outline",size:"sm",onClick:n,className:"gap-2",children:[l.jsx(N.Filter,{className:"h-4 w-4"}),"Filtros",a&&l.jsx("span",{className:"ml-1 rounded-full bg-primary text-primary-foreground w-5 h-5 text-xs flex items-center justify-center",children:t.length})]}),a&&l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"h-4 w-px bg-border"}),t.map(s=>l.jsx(b4,{label:s.label,value:s.value,onRemove:s.onRemove},s.id)),l.jsxs(B,{variant:"ghost",size:"sm",onClick:e,className:"gap-1 h-7 px-2",children:[l.jsx(N.X,{className:"h-3 w-3"}),"Limpar tudo"]})]}),i]})}const Kh=[{value:"is",label:"é",multiSelect:!1},{value:"is_not",label:"não é",multiSelect:!1},{value:"is_any_of",label:"é qualquer um de",multiSelect:!0},{value:"is_none_of",label:"não é nenhum de",multiSelect:!0},{value:"contains",label:"contém",multiSelect:!1},{value:"does_not_contain",label:"não contém",multiSelect:!1},{value:"greater_than",label:"maior que",multiSelect:!1},{value:"greater_than_or_equal",label:"maior ou igual a",multiSelect:!1},{value:"less_than",label:"menor que",multiSelect:!1},{value:"less_than_or_equal",label:"menor ou igual a",multiSelect:!1},{value:"is_empty",label:"está vazio",multiSelect:!1},{value:"is_not_empty",label:"não está vazio",multiSelect:!1}];function v4({conditions:t,onConditionsChange:e,fields:n,className:r}){const i=()=>{var f;const o={id:Math.random().toString(36).substr(2,9),field:((f=n[0])==null?void 0:f.value)||"",operator:"is",value:""};e([...t,o])},a=o=>{e(t.filter(f=>f.id!==o))},s=(o,f)=>{e(t.map(c=>c.id===o?{...c,...f}:c))};return l.jsxs("div",{className:y("space-y-3",r),children:[t.length===0?l.jsx("div",{className:"text-center py-8 text-muted-foreground text-sm",children:'Nenhuma condição de filtro. Clique em "Adicionar condição" para começar.'}):t.map((o,f)=>l.jsx(ZA,{condition:o,fields:n,index:f,onUpdate:c=>s(o.id,c),onRemove:()=>a(o.id)},o.id)),l.jsxs(B,{type:"button",variant:"outline",size:"sm",onClick:i,className:"gap-2",children:[l.jsx(N.Plus,{className:"h-4 w-4"}),"Adicionar condição"]})]})}function ZA({condition:t,fields:e,index:n,onUpdate:r,onRemove:i}){var m;const a=e.find(g=>g.value===t.field),s=Kh.find(g=>g.value===t.operator),o=(a==null?void 0:a.multiSelect)||(s==null?void 0:s.multiSelect)||!1,f=!["is_empty","is_not_empty"].includes(t.operator),[c,d]=M.useState(""),u=Array.isArray(t.value)?t.value:t.value?[t.value]:[],p=g=>{if(!o){r({value:g});return}const b=Array.isArray(t.value)?t.value:[],x=b.includes(g)?b.filter(w=>w!==g):[...b,g];r({value:x})},h=g=>{if(!o)return;const b=Array.isArray(t.value)?t.value:[];r({value:b.filter(x=>x!==g)})};return l.jsxs("div",{className:"flex items-start gap-2 group",children:[l.jsx("div",{className:"flex items-center h-9 px-2 text-sm text-muted-foreground",children:n===0?"Onde":"E"}),l.jsxs("div",{className:"flex-1 flex items-center gap-2 flex-wrap p-2 border rounded-lg bg-background",children:[l.jsxs(tt,{children:[l.jsx(We,{asChild:!0,children:l.jsx(B,{variant:"ghost",size:"sm",className:"h-7 px-2 font-normal hover:bg-muted",children:(a==null?void 0:a.label)||"Selecionar campo"})}),l.jsx($e,{className:"w-[200px] p-2",align:"start",children:l.jsx("div",{className:"space-y-1",children:e.map(g=>l.jsx(B,{variant:"ghost",size:"sm",className:y("w-full justify-start",t.field===g.value&&"bg-muted"),onClick:()=>r({field:g.value,value:g.multiSelect?[]:""}),children:g.label},g.value))})})]}),l.jsxs(tt,{children:[l.jsx(We,{asChild:!0,children:l.jsx(B,{variant:"ghost",size:"sm",className:"h-7 px-2 font-normal hover:bg-muted text-muted-foreground",children:(s==null?void 0:s.label)||"is"})}),l.jsx($e,{className:"w-[200px] p-2",align:"start",children:l.jsx("div",{className:"space-y-1",children:Kh.map(g=>l.jsx(B,{variant:"ghost",size:"sm",className:y("w-full justify-start",t.operator===g.value&&"bg-muted"),onClick:()=>r({operator:g.value,value:g.multiSelect?[]:""}),children:g.label},g.value))})})]}),f&&l.jsxs(l.Fragment,{children:[a!=null&&a.options?l.jsxs(tt,{onOpenChange:g=>!g&&d(""),children:[l.jsx(We,{asChild:!0,children:l.jsx(B,{variant:"ghost",size:"sm",className:"h-7 px-2 font-normal hover:bg-muted",children:o&&u.length>0?l.jsxs("span",{className:"flex items-center gap-1",children:[u.length," selecionado",u.length>1?"s":""]}):!o&&t.value&&((m=a.options.find(g=>g.value===t.value))==null?void 0:m.label)||"Selecionar valor"})}),l.jsx($e,{className:"w-[240px] p-3",align:"start",children:l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{className:"text-xs text-muted-foreground",children:o?"Selecionar valores":"Selecionar valor"}),l.jsxs("div",{className:"relative",children:[l.jsx(N.Search,{className:"absolute left-2 top-2.5 h-4 w-4 text-muted-foreground"}),l.jsx(Yt,{type:"text",placeholder:"Buscar...",value:c,onChange:g=>d(g.target.value),className:"h-9 pl-8",autoFocus:!0})]}),l.jsx("div",{className:"space-y-2 max-h-[200px] overflow-y-auto",children:(()=>{const g=a.options.filter(b=>b.label.toLowerCase().includes(c.toLowerCase())||b.value.toLowerCase().includes(c.toLowerCase()));return g.length===0?l.jsx("div",{className:"text-sm text-muted-foreground text-center py-4",children:"Nenhum resultado encontrado"}):g.map(b=>{const x=o?u.includes(b.value):t.value===b.value;return l.jsx("div",{className:"flex items-center space-x-2",children:o?l.jsxs(l.Fragment,{children:[l.jsx(Np,{id:`${t.id}-${b.value}`,checked:x,onCheckedChange:()=>p(b.value)}),l.jsx("label",{htmlFor:`${t.id}-${b.value}`,className:"text-sm cursor-pointer flex-1",children:b.label})]}):l.jsx(B,{variant:"ghost",size:"sm",className:y("w-full justify-start",x&&"bg-muted"),onClick:()=>r({value:b.value}),children:b.label})},b.value)})})()})]})})]}):(a==null?void 0:a.type)==="date"?l.jsx(Vd,{value:t.value?new Date(t.value+"T00:00:00"):void 0,onChange:g=>{if(g){const b=g.toISOString().split("T")[0];r({value:b})}else r({value:""})},placeholder:"Selecionar data",className:"h-7 text-sm"}):l.jsxs(tt,{children:[l.jsx(We,{asChild:!0,children:l.jsx(B,{variant:"ghost",size:"sm",className:"h-7 px-2 font-normal hover:bg-muted max-w-[200px] truncate",children:t.value||"Inserir valor"})}),l.jsx($e,{className:"w-[240px] p-3",align:"start",children:l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{className:"text-xs text-muted-foreground",children:"Inserir valor"}),l.jsx(Yt,{type:(a==null?void 0:a.type)==="number"?"number":"text",value:Array.isArray(t.value)?"":t.value,onChange:g=>r({value:g.target.value}),placeholder:"Digite o valor...",autoFocus:!0})]})})]}),o&&u.length>0&&l.jsx("div",{className:"flex items-center gap-1 flex-wrap",children:u.map(g=>{var x,w;const b=((w=(x=a==null?void 0:a.options)==null?void 0:x.find(j=>j.value===g))==null?void 0:w.label)||g;return l.jsxs(be,{variant:"secondary",className:"gap-1 h-6 text-xs",children:[b,l.jsx("button",{type:"button",onClick:()=>h(g),className:"ml-1 rounded-sm hover:bg-muted p-0.5 transition-colors","aria-label":`Remover ${b}`,children:l.jsx(N.X,{className:"h-3 w-3"})})]},g)})})]})]}),l.jsx(B,{type:"button",variant:"ghost",size:"sm",onClick:i,className:"h-9 w-9 p-0 opacity-0 group-hover:opacity-100 transition-opacity","aria-label":"Remover condição",children:l.jsx(N.X,{className:"h-4 w-4"})})]})}function y4({data:t,columns:e,searchPlaceholder:n="Buscar...",searchableColumns:r,enableSearch:i=!0,filterFields:a=[],enableFilters:s=!1,initialFilters:o=[],pageSizeOptions:f=[5,10,20,50],initialPageSize:c=10,toolbarActions:d,serverConfig:u,isLoading:p=!1,emptyMessage:h,className:m}){var _,q;const g=!!u,{data:b,state:x,handlers:w,getSortDirection:j}=$A({data:t,initialPageSize:c,initialSort:{column:null,direction:null},serverMode:g,totalItems:u==null?void 0:u.totalItems,serverCurrentPage:u==null?void 0:u.currentPage,serverCurrentPageSize:u==null?void 0:u.currentPageSize}),[v,L]=M.useState(""),[C,k]=M.useState(!1),[S,T]=M.useState(o),E=r?r[0]:((_=e.find(A=>A.key==="nome"||A.key==="name"||A.key==="title"||A.key==="titulo"))==null?void 0:_.key)||((q=e[0])==null?void 0:q.key),H=A=>{switch(A){case"is":return"equals";case"equals":return"equals";case"contains":return"contains";case"contem":return"contains";case"starts_with":return"startsWith";case"greater_than":return"greaterThan";case"greater_than_or_equal":return"greaterThanOrEqual";case"less_than":return"lessThan";case"less_than_or_equal":return"lessThanOrEqual";case"entre":return"equals";default:return"contains"}},V=M.useCallback(async A=>{g&&(u!=null&&u.onFilterChange)?await u.onFilterChange(A,v):(w.clearFilters(),v&&w.setFilter(E,v,"contains"),A.forEach(J=>{const se=H(J.operator);w.setFilter(J.field,J.value,se)}))},[g,u,v,w,E]);M.useEffect(()=>{o&&(T(o),o.length>0&&(g&&(u!=null&&u.onFilterChange)?u.onFilterChange(o,v):(w.clearFilters(),v&&w.setFilter(E,v,"contains"),o.forEach(A=>{const J=H(A.operator);w.setFilter(A.field,A.value,J)}))))},[JSON.stringify(o)]);const Q=M.useCallback(async A=>{L(A),g&&(u!=null&&u.onFilterChange)?await u.onFilterChange(S,A):w.setFilter(E,A,"contains")},[g,u,S,w,E]),K=A=>{if(/^\d{4}-\d{2}-\d{2}/.test(A)){const J=new Date(A+"T00:00:00");if(!isNaN(J.getTime()))return J.toLocaleDateString("pt-BR")}return A},O=A=>({is:"é",is_not:"não é",is_any_of:"é qualquer um de",is_none_of:"não é nenhum de",equals:"igual a",not_equals:"diferente de",contains:"contém",contem:"contém",does_not_contain:"não contém",starts_with:"começa com",ends_with:"termina com",greater_than:"maior que",greater_than_or_equal:"maior ou igual a",less_than:"menor que",less_than_or_equal:"menor ou igual a",is_empty:"está vazio",is_not_empty:"não está vazio",entre:"entre"})[A]||A,F=S.map(A=>{var ct,dt;const J=a.find(Qe=>Qe.value===A.field),se=O(A.operator);let we;return Array.isArray(A.value)?we=A.value.map(Qe=>{var on,Cn;return((Cn=(on=J==null?void 0:J.options)==null?void 0:on.find(Br=>Br.value===Qe))==null?void 0:Cn.label)||Qe}).join(", "):(J==null?void 0:J.type)==="date"?we=K(A.value):we=((dt=(ct=J==null?void 0:J.options)==null?void 0:ct.find(Qe=>Qe.value===A.value))==null?void 0:dt.label)||A.value,{id:A.id,label:(J==null?void 0:J.label)||A.field,value:se?`${se} ${we}`:we,onRemove:()=>{const Qe=S.filter(on=>on.id!==A.id);T(Qe),V(Qe)}}}),Y=()=>{V(S),k(!1)},ae=()=>{T([]),g&&(u!=null&&u.onFilterChange)?u.onFilterChange([],v):(w.clearFilters(),v&&w.setFilter(E,v,"contains"))},ce=M.useCallback(async A=>{if(g&&(u!=null&&u.onSortChange)){const J=x.sort;let se="asc";J.column===A&&(se=J.direction==="asc"?"desc":J.direction==="desc"?null:"asc");const we={column:se?A:null,direction:se};w.onSort(A),await u.onSortChange(we)}else w.onSort(A)},[g,u,x.sort,w]),W=M.useCallback(async A=>{g&&(u!=null&&u.onPageChange)?await u.onPageChange(A,x.pagination.pageSize):x.pagination.onPageChange&&x.pagination.onPageChange(A)},[g,u,x.pagination]),ye=M.useCallback(async A=>{g&&(u!=null&&u.onPageChange)?await u.onPageChange(1,A):x.pagination.onPageSizeChange&&x.pagination.onPageSizeChange(A)},[g,u,x.pagination]),pe=()=>{const A=S.length>0,J=v.trim().length>0;return A||J?"Nenhum resultado encontrado para os filtros aplicados.":h||"Nenhum dado disponível."};return l.jsxs("div",{className:y("space-y-4",m),children:[l.jsxs("div",{className:"flex items-center justify-between gap-2",children:[l.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[i&&l.jsxs("div",{className:"relative max-w-sm flex-1",children:[l.jsx(N.Search,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground pointer-events-none"}),l.jsx(Yt,{placeholder:n,value:v,onChange:A=>Q(A.target.value),onKeyDown:A=>{A.key==="Enter"&&A.preventDefault()},className:"pl-9"})]}),s&&a.length>0&&l.jsxs(tt,{open:C,onOpenChange:k,children:[l.jsx(We,{asChild:!0,children:l.jsxs(B,{variant:"outline",size:"sm",className:"gap-2",children:[l.jsx(N.Filter,{className:"h-4 w-4"}),"Filtros",S.length>0&&l.jsx("span",{className:"ml-1 rounded-full bg-primary text-primary-foreground w-5 h-5 text-xs flex items-center justify-center",children:S.length})]})}),l.jsxs($e,{className:"w-[700px] p-0",align:"start",sideOffset:8,children:[l.jsxs("div",{className:"p-6 border-b",children:[l.jsx("h3",{className:"font-semibold",children:"Filtros Avançados"}),l.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Adicione condições de filtro para refinar os resultados."})]}),l.jsx("div",{className:"p-6",children:l.jsx(v4,{conditions:S,onConditionsChange:T,fields:a})}),l.jsxs("div",{className:"flex items-center justify-end gap-2 p-4 border-t bg-muted/50",children:[l.jsx(B,{variant:"outline",size:"sm",onClick:()=>k(!1),children:"Cancelar"}),l.jsx(B,{size:"sm",onClick:Y,children:"Aplicar Filtros"})]})]})]})]}),d&&l.jsx("div",{className:"flex items-center gap-2",children:d})]}),S.length>0&&l.jsx(x4,{activeFilters:F,onClearAll:ae}),l.jsx("div",{className:"rounded-md border",children:l.jsxs(tu,{children:[l.jsx(nu,{children:l.jsx(Kr,{children:e.map(A=>l.jsxs(iu,{className:y(A.headerClassName,A.sortable&&"cursor-pointer select-none hover:bg-muted/50 transition-colors",A.sortable&&j(A.key)&&"text-primary"),style:{width:A.width},onClick:()=>A.sortable&&ce(A.key),"aria-sort":A.sortable?j(A.key)==="asc"?"ascending":j(A.key)==="desc"?"descending":"none":void 0,children:[A.header,A.sortable&&j(A.key)&&l.jsx(N.ArrowUpDown,{className:"ml-2 h-4 w-4 inline"})]},String(A.key)))})}),l.jsx(ru,{children:p?Array.from({length:Math.min(x.pagination.pageSize,15)}).map((A,J)=>l.jsx(Kr,{children:e.map((se,we)=>l.jsx(da,{className:se.className,children:l.jsx(Rn,{className:"h-4 w-full"})},we))},`skeleton-${J}`)):b.length>0?b.map((A,J)=>l.jsx(Kr,{children:e.map(se=>l.jsx(da,{className:y(se.className,se.align?`text-${se.align}`:"text-left"),children:se.render?se.render(A[se.key],A,J):A[se.key]},String(se.key)))},J)):l.jsx(Kr,{children:l.jsx(da,{colSpan:e.length,className:"h-24 text-center",children:pe()})})})]})}),l.jsx(au,{currentPage:x.pagination.currentPage,totalPages:Math.ceil(x.pagination.totalItems/x.pagination.pageSize),pageSize:x.pagination.pageSize,totalItems:x.pagination.totalItems,onPageChange:W,onPageSizeChange:ye,pageSizeOptions:f})]})}function qA({data:t,columns:e,title:n,description:r,searchPlaceholder:i="Buscar...",searchableColumns:a,filterFields:s=[],initialFilters:o,enableSearch:f=!0,enableFilters:c=s.length>0,pageSizeOptions:d=[5,10,20,50],initialPageSize:u=10,showCard:p=!0,cardPadding:h="p-6",toolbarActions:m,isLoading:g=!1,emptyMessage:b="Nenhum resultado encontrado.",className:x,serverConfig:w},j){const v=l.jsx(y4,{data:t,columns:e,searchPlaceholder:i,searchableColumns:a,enableSearch:f,enableFilters:c,filterFields:s,initialFilters:o,initialPageSize:u,pageSizeOptions:d,toolbarActions:m,serverConfig:w,isLoading:g,emptyMessage:b});return p?l.jsxs(vr,{ref:j,className:y(h,x),children:[(n||r)&&l.jsxs("div",{className:"mb-6",children:[n&&l.jsx("h2",{className:"text-lg font-semibold",children:n}),r&&l.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:r})]}),v]}):l.jsxs("div",{ref:j,className:x,children:[(n||r)&&l.jsxs("div",{className:"mb-6",children:[n&&l.jsx("h2",{className:"text-lg font-semibold",children:n}),r&&l.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:r})]}),v]})}const w4=I.forwardRef(qA);w4.displayName="AdvancedDataTable";function KA({filters:t=[],onSelectFilter:e,onToggleFavorite:n,onDeleteFilter:r,className:i}){const a=t.filter(o=>o.isFavorite),s=t.filter(o=>!o.isFavorite);return l.jsxs(Pa,{children:[l.jsx(Ra,{asChild:!0,children:l.jsxs(B,{variant:"outline",size:"sm",className:y("gap-2",i),children:[l.jsx(N.Download,{className:"h-4 w-4"}),"Filtros salvos",t.length>0&&l.jsxs("span",{className:"text-xs text-muted-foreground",children:["(",t.length,")"]})]})}),l.jsx(Ba,{align:"start",className:"w-[280px]",children:t.length===0?l.jsx("div",{className:"px-2 py-6 text-center text-sm text-muted-foreground",children:"No saved filters yet"}):l.jsxs(l.Fragment,{children:[a.length>0&&l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"px-2 py-1.5 text-xs font-semibold text-muted-foreground",children:"Favorites"}),a.map(o=>l.jsx(Xh,{filter:o,onSelect:e,onToggleFavorite:n,onDelete:r},o.id)),s.length>0&&l.jsx(Ys,{})]}),s.length>0&&l.jsxs(l.Fragment,{children:[a.length>0&&l.jsx("div",{className:"px-2 py-1.5 text-xs font-semibold text-muted-foreground",children:"Todos filtros"}),s.map(o=>l.jsx(Xh,{filter:o,onSelect:e,onToggleFavorite:n,onDelete:r},o.id))]})]})})]})}function Xh({filter:t,onSelect:e,onToggleFavorite:n,onDelete:r}){return l.jsxs("div",{className:"flex items-center gap-1 px-2 py-1.5 hover:bg-muted rounded-sm group",children:[l.jsx("button",{onClick:i=>{i.stopPropagation(),n==null||n(t.id)},className:"p-1 hover:bg-accent rounded-sm",children:l.jsx(N.Star,{className:y("h-3.5 w-3.5",t.isFavorite?"fill-yellow-500 text-yellow-500":"text-muted-foreground")})}),l.jsxs("button",{onClick:()=>e==null?void 0:e(t.id),className:"flex-1 text-left px-2",children:[l.jsx("div",{className:"text-sm",children:t.name}),t.description&&l.jsx("div",{className:"text-xs text-muted-foreground",children:t.description}),t.filterCount!==void 0&&l.jsxs("div",{className:"text-xs text-muted-foreground mt-0.5",children:[t.filterCount," ",t.filterCount===1?"filter":"filters"]})]}),l.jsx("button",{onClick:i=>{i.stopPropagation(),r==null||r(t.id)},className:"p-1 hover:bg-accent rounded-sm opacity-0 group-hover:opacity-100 transition-opacity",children:l.jsx(N.Trash2,{className:"h-3.5 w-3.5 text-destructive"})})]})}const XA=[{value:"not-started",label:"Não iniciada",color:"bg-gray-500"},{value:"in-progress",label:"Em progresso",color:"bg-primary"},{value:"on-hold",label:"Em espera",color:"bg-cyan-500"},{value:"completed",label:"Concluída",color:"bg-green-500"},{value:"delayed",label:"Atrasada",color:"bg-red-500"},{value:"cancelled",label:"Cancelada",color:"bg-orange-500"}];function e8({task:t,open:e,onOpenChange:n,onSave:r,availableTasks:i=[],availableAssignees:a=[]}){var x;const[s,o]=I.useState(null),[f,c]=I.useState(!1),[d,u]=I.useState(!1);if(I.useEffect(()=>{t&&o({...t})},[t]),!s)return null;const p=()=>{r(s),n(!1)},h=(w,j)=>{o(v=>v?{...v,[w]:j}:null)},m=w=>{o(j=>{if(!j)return null;const v=j.dependencies||[],L=v.includes(w)?v.filter(C=>C!==w):[...v,w];return{...j,dependencies:L}})},g=i.filter(w=>w.id!==s.id),b=s.name.trim()!==""&&s.startDate<=s.endDate;return l.jsx(Za,{open:e,onOpenChange:n,children:l.jsxs(qa,{className:"max-w-2xl max-h-[90vh] overflow-y-auto",children:[l.jsxs(Ka,{children:[l.jsx(Xa,{children:"Editar Tarefa"}),l.jsx(es,{children:'Altere os detalhes da tarefa abaixo. As mudanças serão salvas ao clicar em "Salvar alterações".'})]}),l.jsxs("div",{className:"space-y-6 py-4",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{htmlFor:"task-name",children:"Nome da Tarefa *"}),l.jsx(Yt,{id:"task-name",value:s.name,onChange:w=>h("name",w.target.value),placeholder:"Ex: Briefing com cliente"})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{htmlFor:"task-description",children:"Descrição"}),l.jsx(Xd,{id:"task-description",value:s.description||"",onChange:w=>h("description",w.target.value),placeholder:"Adicione detalhes sobre esta tarefa...",rows:3})]}),l.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{children:"Data de Início *"}),l.jsxs(tt,{open:f,onOpenChange:c,children:[l.jsx(We,{asChild:!0,children:l.jsxs(B,{variant:"outline",className:y("w-full justify-start text-left font-normal",!s.startDate&&"text-muted-foreground"),children:[l.jsx(N.CalendarIcon,{className:"mr-2 size-4"}),s.startDate?R.format(s.startDate,"dd/MM/yyyy",{locale:gt}):"Selecionar data"]})}),l.jsx($e,{className:"w-auto p-0",align:"start",children:l.jsx(Calendar,{mode:"single",selected:s.startDate,onSelect:w=>{w&&(h("startDate",w),c(!1))},initialFocus:!0})})]})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{children:"Data de Término *"}),l.jsxs(tt,{open:d,onOpenChange:u,children:[l.jsx(We,{asChild:!0,children:l.jsxs(B,{variant:"outline",className:y("w-full justify-start text-left font-normal",!s.endDate&&"text-muted-foreground"),children:[l.jsx(N.CalendarIcon,{className:"mr-2 size-4"}),s.endDate?R.format(s.endDate,"dd/MM/yyyy",{locale:gt}):"Selecionar data"]})}),l.jsx($e,{className:"w-auto p-0",align:"start",children:l.jsx(Calendar,{mode:"single",selected:s.endDate,onSelect:w=>{w&&(h("endDate",w),u(!1))},disabled:w=>s.startDate?w<s.startDate:!1,initialFocus:!0})})]})]})]}),s.startDate>s.endDate&&l.jsxs("div",{className:"flex items-center gap-2 p-3 rounded-lg bg-red-50 dark:bg-red-950/20 border border-red-200 dark:border-red-900",children:[l.jsx(N.AlertCircle,{className:"size-4 text-red-600 flex-shrink-0"}),l.jsx("p",{className:"text-sm text-red-900 dark:text-red-200",children:"A data de término deve ser posterior à data de início"})]}),l.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{htmlFor:"task-status",children:"Status"}),l.jsxs(Zt,{value:s.status,onValueChange:w=>h("status",w),children:[l.jsx(Kt,{id:"task-status",children:l.jsx(qt,{})}),l.jsx(Xt,{children:XA.map(w=>l.jsx(kt,{value:w.value,children:l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("div",{className:y("size-2 rounded-full",w.color)}),w.label]})},w.value))})]})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(He,{htmlFor:"task-assignee",children:"Responsável"}),l.jsxs(Zt,{value:((x=s.assignee)==null?void 0:x.name)||"",onValueChange:w=>{const j=a.find(v=>v.name===w);h("assignee",j||void 0)},children:[l.jsx(Kt,{id:"task-assignee",children:l.jsx(qt,{placeholder:"Selecionar responsável"})}),l.jsx(Xt,{children:a.map(w=>l.jsx(kt,{value:w.name,children:l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(N.User,{className:"size-4"}),w.name]})},w.name))})]})]})]}),l.jsxs("div",{className:"space-y-3",children:[l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsx(He,{children:"Progresso"}),l.jsxs("span",{className:"text-sm font-medium",children:[s.progress,"%"]})]}),l.jsx(d4,{value:[s.progress],onValueChange:w=>h("progress",w[0]),max:100,step:5,className:"w-full"}),l.jsxs("div",{className:"flex justify-between text-xs text-muted-foreground",children:[l.jsx("span",{children:"0%"}),l.jsx("span",{children:"50%"}),l.jsx("span",{children:"100%"})]})]}),l.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg border",children:[l.jsxs("div",{className:"space-y-0.5",children:[l.jsx(He,{htmlFor:"milestone-toggle",className:"cursor-pointer",children:"Marco Importante (Milestone)"}),l.jsx("p",{className:"text-sm text-muted-foreground",children:"Marcos aparecem como losangos no cronograma"})]}),l.jsx(u4,{id:"milestone-toggle",checked:s.milestone||!1,onCheckedChange:w=>h("milestone",w)})]}),g.length>0&&l.jsxs("div",{className:"space-y-3",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(N.Link2,{className:"size-4 text-muted-foreground"}),l.jsx(He,{children:"Dependências"})]}),l.jsx("p",{className:"text-sm text-muted-foreground",children:"Selecione as tarefas que precisam ser concluídas antes desta"}),l.jsx("div",{className:"space-y-2 max-h-48 overflow-y-auto border rounded-lg p-3",children:g.map(w=>{var v;const j=((v=s.dependencies)==null?void 0:v.includes(w.id))||!1;return l.jsxs("div",{className:y("flex items-center gap-3 p-2 rounded-md cursor-pointer transition-colors",j?"bg-primary/10 border border-primary/20":"hover:bg-muted/50"),onClick:()=>m(w.id),children:[l.jsx("div",{className:y("size-4 rounded border-2 flex items-center justify-center transition-all",j?"bg-primary border-primary":"border-muted-foreground"),children:j&&l.jsx("div",{className:"size-2 rounded-sm bg-white"})}),l.jsx("span",{className:"text-sm flex-1",children:w.name}),w.assignee&&l.jsx(be,{variant:"outline",className:"text-xs",children:w.assignee.name})]},w.id)})}),s.dependencies&&s.dependencies.length>0&&l.jsxs("p",{className:"text-xs text-muted-foreground",children:[s.dependencies.length," dependência(s) selecionada(s)"]})]})]}),l.jsxs(jl,{children:[l.jsx(B,{variant:"outline",onClick:()=>n(!1),children:"Cancelar"}),l.jsx(B,{onClick:p,disabled:!b,children:"Salvar alterações"})]})]})})}const t8=t=>{switch(t){case"create":return l.jsx(N.PlusCircle,{className:"h-4 w-4 text-green-600"});case"status_change":return l.jsx(N.RefreshCw,{className:"h-4 w-4 text-blue-600"});case"comment":return l.jsx(N.MessageSquare,{className:"h-4 w-4 text-slate-500"});case"upload":return l.jsx(N.Paperclip,{className:"h-4 w-4 text-orange-600"});case"assignment":return l.jsx(N.User,{className:"h-4 w-4 text-purple-600"});case"update":return l.jsx(N.Pencil,{className:"h-4 w-4 text-amber-600"});default:return l.jsx(N.Circle,{className:"h-4 w-4 text-slate-400"})}},n8=t=>{switch(t){case"create":return"bg-green-50 border-green-200";case"status_change":return"bg-blue-50 border-blue-200";case"comment":return"bg-slate-50 border-slate-200";case"upload":return"bg-orange-50 border-orange-200";case"assignment":return"bg-purple-50 border-purple-200";case"update":return"bg-amber-50 border-amber-200";default:return"bg-slate-50 border-slate-200"}},r8=({event:t,isLast:e,onDetailsOpen:n})=>{var o,f,c,d,u,p,h;const[r,i]=I.useState(!1),a=!!((o=t.metadata)!=null&&o.before||(f=t.metadata)!=null&&f.after||(c=t.metadata)!=null&&c.details),s=m=>{i(m),m&&n&&n(t)};return l.jsxs("div",{className:"flex gap-4 group",children:[l.jsxs("div",{className:"flex flex-col items-center",children:[l.jsx("div",{className:y("flex items-center justify-center w-8 h-8 rounded-full border shadow-sm z-10 transition-colors","bg-background group-hover:border-primary/50",n8(t.action)),children:t8(t.action)}),!e&&l.jsx("div",{className:"w-px h-full bg-border group-hover:bg-primary/20 transition-colors min-h-[2rem]"})]}),l.jsx("div",{className:"flex-1 pb-8 min-w-0",children:l.jsxs("div",{className:"flex flex-col gap-1",children:[l.jsxs("div",{className:"flex items-center justify-between gap-4",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-foreground/90",children:[l.jsx("span",{className:"font-semibold",children:t.user.name}),l.jsx("span",{className:"text-muted-foreground font-normal",children:t.title})]}),l.jsx("span",{className:"text-xs text-muted-foreground whitespace-nowrap",title:R.format(t.timestamp,"PPpp",{locale:gt}),children:R.formatDistanceToNow(t.timestamp,{addSuffix:!0,locale:gt})})]}),a&&l.jsxs(kp,{open:r,onOpenChange:s,className:"mt-1",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[t.action==="upload"&&((d=t.metadata)==null?void 0:d.fileName)&&l.jsxs(be,{variant:"outline",className:"gap-1 font-normal bg-muted/30 text-muted-foreground hover:bg-muted/50",children:[l.jsx(N.FileText,{className:"h-3 w-3"}),t.metadata.fileName]}),l.jsx(Sp,{asChild:!0,children:l.jsxs(B,{variant:"ghost",size:"sm",className:"h-6 px-2 text-xs text-muted-foreground hover:text-primary gap-1",children:[r?"Ocultar detalhes":"Ver detalhes",l.jsx(N.ChevronRight,{className:y("h-3 w-3 transition-transform duration-200",r&&"rotate-90")})]})})]}),l.jsx(Ip,{className:"mt-2",children:l.jsxs("div",{className:"rounded-md border bg-muted/30 p-3 text-sm animate-in slide-in-from-top-2 duration-200",children:[(((u=t.metadata)==null?void 0:u.before)||((p=t.metadata)==null?void 0:p.after))&&l.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-2 sm:gap-4",children:[t.metadata.before&&l.jsx("div",{className:"flex-1 p-2 rounded bg-background/50 border border-dashed text-muted-foreground line-through text-xs",children:t.metadata.before}),t.metadata.before&&t.metadata.after&&l.jsx(N.ArrowRight,{className:"h-4 w-4 text-muted-foreground hidden sm:block"}),t.metadata.after&&l.jsx("div",{className:"flex-1 p-2 rounded bg-background border border-l-4 border-l-[#7F26BF] shadow-sm text-foreground text-xs font-medium",children:t.metadata.after})]}),((h=t.metadata)==null?void 0:h.details)&&l.jsx("div",{className:"prose prose-sm dark:prose-invert max-w-none text-xs",children:t.metadata.details})]})})]})]})})]})},i8=({events:t,className:e,onDetailsOpen:n})=>l.jsx("div",{className:y("flex flex-col",e),children:t.map((r,i)=>l.jsx(r8,{event:r,isLast:i===t.length-1,onDetailsOpen:n},r.id))}),M4=I.createContext(void 0);function j4(){const t=I.useContext(M4);if(!t)throw new Error("UnderlineTabs components must be used within UnderlineTabs");return t}function a8({defaultValue:t,value:e,onValueChange:n,children:r,className:i}){const[a,s]=I.useState(t||""),o=e!==void 0?e:a,f=c=>{e===void 0&&s(c),n==null||n(c)};return l.jsx(M4.Provider,{value:{value:o,onValueChange:f},children:l.jsx("div",{className:y("w-full",i),role:"tablist",children:r})})}function s8({children:t,className:e}){return l.jsx("div",{className:y("border-b border-border bg-background",e),children:l.jsx("div",{className:"flex",children:t})})}function o8({value:t,children:e,className:n,disabled:r=!1}){const{value:i,onValueChange:a}=j4(),s=i===t;return l.jsx("button",{type:"button",role:"tab","aria-selected":s,"aria-disabled":r,disabled:r,onClick:()=>!r&&a(t),className:y("px-4 h-12 text-sm font-medium border-b-2 transition-colors relative","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50",s?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground hover:border-border",n),children:e})}function l8({value:t,children:e,className:n}){const{value:r}=j4();return r!==t?null:l.jsx("div",{role:"tabpanel","aria-labelledby":t,className:y("mt-4",n),children:e})}const C4=I.createContext({size:"default",variant:"default"});function f8({className:t,variant:e,size:n,children:r,...i}){return l.jsx(ip.Root,{"data-slot":"toggle-group","data-variant":e,"data-size":n,className:y("group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs",t),...i,children:l.jsx(C4.Provider,{value:{variant:e,size:n},children:r})})}function c8({className:t,children:e,variant:n,size:r,...i}){const a=I.useContext(C4);return l.jsx(ip.Item,{"data-slot":"toggle-group-item","data-variant":a.variant||n,"data-size":a.size||r,className:y(Yd({variant:a.variant||n,size:a.size||r}),"min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first:border-l",t),...i,children:e})}const Ti={sm:"w-24 h-24",md:"w-32 h-32",lg:"w-48 h-48"};function L4({className:t,size:e="md",primaryColor:n="var(--purple-500)",secondaryColor:r="var(--purple-100)"}){return l.jsxs("svg",{className:y(Ti[e],t),viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("circle",{cx:"60",cy:"60",r:"55",fill:r,opacity:"0.5"}),l.jsx("rect",{x:"30",y:"45",width:"60",height:"40",rx:"4",fill:n,opacity:"0.2"}),l.jsx("rect",{x:"30",y:"45",width:"60",height:"15",rx:"4",fill:n}),l.jsx("path",{d:"M35 60 L60 75 L85 60",stroke:n,strokeWidth:"3",fill:"none"}),l.jsx("circle",{cx:"25",cy:"35",r:"3",fill:n,opacity:"0.6"}),l.jsx("circle",{cx:"95",cy:"40",r:"2",fill:n,opacity:"0.4"}),l.jsx("circle",{cx:"100",cy:"70",r:"2.5",fill:n,opacity:"0.5"})]})}function N4({className:t,size:e="md",primaryColor:n="var(--purple-500)",secondaryColor:r="var(--purple-100)"}){return l.jsxs("svg",{className:y(Ti[e],t),viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("circle",{cx:"60",cy:"60",r:"55",fill:r,opacity:"0.5"}),l.jsx("circle",{cx:"52",cy:"52",r:"22",stroke:n,strokeWidth:"4",fill:"none"}),l.jsx("line",{x1:"68",y1:"68",x2:"88",y2:"88",stroke:n,strokeWidth:"4",strokeLinecap:"round"}),l.jsx("line",{x1:"45",y1:"45",x2:"59",y2:"59",stroke:n,strokeWidth:"3",strokeLinecap:"round",opacity:"0.6"}),l.jsx("line",{x1:"59",y1:"45",x2:"45",y2:"59",stroke:n,strokeWidth:"3",strokeLinecap:"round",opacity:"0.6"})]})}function k4({className:t,size:e="md",primaryColor:n="var(--purple-500)",secondaryColor:r="var(--purple-100)"}){return l.jsxs("svg",{className:y(Ti[e],t),viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("circle",{cx:"60",cy:"60",r:"55",fill:r,opacity:"0.5"}),l.jsx("path",{d:"M25 40 L25 85 L95 85 L95 45 L55 45 L50 40 Z",fill:n,opacity:"0.3"}),l.jsx("path",{d:"M25 50 L25 85 L95 85 L95 50 Z",fill:n,opacity:"0.6"}),l.jsx("line",{x1:"60",y1:"60",x2:"60",y2:"76",stroke:"white",strokeWidth:"3",strokeLinecap:"round"}),l.jsx("line",{x1:"52",y1:"68",x2:"68",y2:"68",stroke:"white",strokeWidth:"3",strokeLinecap:"round"})]})}function S4({className:t,size:e="md",primaryColor:n="var(--purple-500)",secondaryColor:r="var(--purple-100)"}){return l.jsxs("svg",{className:y(Ti[e],t),viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("circle",{cx:"60",cy:"60",r:"55",fill:r,opacity:"0.5"}),l.jsx("rect",{x:"28",y:"35",width:"64",height:"55",rx:"4",fill:n,opacity:"0.2"}),l.jsx("rect",{x:"28",y:"35",width:"64",height:"15",rx:"4",fill:n}),l.jsx("rect",{x:"40",y:"30",width:"4",height:"12",rx:"2",fill:n}),l.jsx("rect",{x:"76",y:"30",width:"4",height:"12",rx:"2",fill:n}),l.jsx("circle",{cx:"45",cy:"62",r:"3",fill:n,opacity:"0.3"}),l.jsx("circle",{cx:"60",cy:"62",r:"3",fill:n,opacity:"0.3"}),l.jsx("circle",{cx:"75",cy:"62",r:"3",fill:n,opacity:"0.3"}),l.jsx("circle",{cx:"45",cy:"77",r:"3",fill:n,opacity:"0.3"}),l.jsx("circle",{cx:"60",cy:"77",r:"3",fill:n,opacity:"0.3"}),l.jsx("circle",{cx:"75",cy:"77",r:"3",fill:n,opacity:"0.3"})]})}function I4({className:t,size:e="md",primaryColor:n="var(--red-500)",secondaryColor:r="var(--red-100)"}){return l.jsxs("svg",{className:y(Ti[e],t),viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("circle",{cx:"60",cy:"60",r:"55",fill:r,opacity:"0.5"}),l.jsx("path",{d:"M60 30 L90 80 L30 80 Z",fill:n,opacity:"0.2",stroke:n,strokeWidth:"3"}),l.jsx("line",{x1:"60",y1:"48",x2:"60",y2:"62",stroke:n,strokeWidth:"4",strokeLinecap:"round"}),l.jsx("circle",{cx:"60",cy:"70",r:"2.5",fill:n})]})}function T4({className:t,size:e="md",primaryColor:n="var(--green-500)",secondaryColor:r="var(--green-100)"}){return l.jsxs("svg",{className:y(Ti[e],t),viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("circle",{cx:"60",cy:"60",r:"55",fill:r,opacity:"0.5"}),l.jsx("circle",{cx:"60",cy:"60",r:"30",fill:n,opacity:"0.2",stroke:n,strokeWidth:"3"}),l.jsx("path",{d:"M45 60 L55 70 L75 50",stroke:n,strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]})}const d8={EmptyInbox:L4,EmptySearch:N4,EmptyProjects:k4,EmptyCalendar:S4,ErrorState:I4,SuccessState:T4};function u8({data:t,showPreview:e=!1,logo:n}){const r=a=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(a),i=a=>new Date(a).toLocaleDateString("pt-BR",{year:"numeric",month:"long",day:"numeric"});return l.jsxs("div",{className:y("proposal-template bg-white text-black",e?"shadow-lg rounded-lg p-8 max-w-5xl mx-auto my-8":"p-0"),style:{fontFamily:"system-ui, -apple-system, sans-serif",fontSize:"12pt",lineHeight:"1.6"},children:[l.jsx(Cc,{logo:n,companyName:t.agency.name,contactInfo:{email:t.agency.email,phone:t.agency.phone},documentType:"Proposta Comercial",documentNumber:t.proposalNumber,issueDate:i(t.issueDate)}),l.jsx(ut,{children:l.jsx(sr,{columns:2,items:[{label:"Nº da Proposta",value:t.proposalNumber,highlight:!0},{label:"Validade",value:i(t.validUntil)},{label:"Cliente",value:t.client.name,highlight:!0},...t.client.contact?[{label:"Contato",value:t.client.contact}]:[]]})}),l.jsxs(ut,{title:"Projeto",children:[l.jsx("h3",{className:"text-base font-semibold text-primary mb-3",children:t.projectTitle}),t.projectDescription&&l.jsx("p",{className:"text-sm text-gray-700 leading-relaxed",children:t.projectDescription})]}),t.objectives&&t.objectives.length>0&&l.jsx(ut,{title:"Objetivos",children:l.jsx("ul",{className:"list-disc list-inside space-y-2",children:t.objectives.map((a,s)=>l.jsx("li",{className:"text-sm text-gray-700",children:a},s))})}),l.jsxs(ut,{title:"Escopo e Investimento",children:[l.jsx(Qs,{columns:[{header:"Item",key:"name",width:"35%"},{header:"Descrição",key:"description",width:"30%"},{header:"Qtd.",key:"quantity",align:"center",width:"10%",render:a=>a||"-"},{header:"Valor Unit.",key:"unitPrice",align:"right",width:"12.5%",render:a=>a?r(a):"-"},{header:"Valor Total",key:"totalPrice",align:"right",width:"12.5%",render:a=>r(a)}],data:t.items,striped:!0,density:"comfortable"}),l.jsx("div",{className:"mt-6 flex justify-end",children:l.jsxs("div",{className:"w-80 space-y-2",children:[l.jsxs("div",{className:"flex justify-between text-sm",children:[l.jsx("span",{className:"text-gray-600",children:"Subtotal:"}),l.jsx("span",{className:"font-semibold",children:r(t.subtotal)})]}),t.discount&&t.discount>0&&l.jsxs("div",{className:"flex justify-between text-sm",children:[l.jsx("span",{className:"text-gray-600",children:"Desconto:"}),l.jsxs("span",{className:"font-semibold text-green-600",children:["- ",r(t.discount)]})]}),l.jsxs("div",{className:"border-t-2 border-primary pt-2 flex justify-between",children:[l.jsx("span",{className:"font-semibold text-base",children:"Total:"}),l.jsx("span",{className:"font-semibold text-lg text-primary",children:r(t.total)})]})]})})]}),(t.paymentConditions||t.deliveryTime)&&l.jsx(ut,{title:"Condições Comerciais",children:l.jsx(sr,{columns:1,items:[...t.paymentConditions?[{label:"Forma de Pagamento",value:t.paymentConditions}]:[],...t.deliveryTime?[{label:"Prazo de Entrega",value:t.deliveryTime}]:[]]})}),t.notes&&l.jsx(ut,{title:"Observações",children:l.jsx("p",{className:"text-sm text-gray-700 leading-relaxed",children:t.notes})}),l.jsx(Nc,{signatures:[{label:"APROVAÇÃO DO CLIENTE",name:t.client.name,role:t.client.contact}],layout:"vertical",instructionText:"Para aprovar esta proposta, assine abaixo e retorne para o e-mail indicado no cabeçalho."}),l.jsx(Lc,{pageNumber:1,totalPages:1,footerText:`Proposta válida até ${i(t.validUntil)}`})]})}Object.defineProperty(exports,"toast",{enumerable:!0,get:()=>rp.toast});exports.Accordion=wx;exports.AccordionContent=Cx;exports.AccordionItem=Mx;exports.AccordionTrigger=jx;exports.AdvancedDataTable=w4;exports.Alert=Px;exports.AlertDescription=Bx;exports.AlertDialog=Lx;exports.AlertDialogAction=Ax;exports.AlertDialogCancel=zx;exports.AlertDialogContent=Sx;exports.AlertDialogDescription=Ex;exports.AlertDialogFooter=Tx;exports.AlertDialogHeader=Ix;exports.AlertDialogTitle=Dx;exports.AlertDialogTrigger=Nx;exports.AlertTitle=Rx;exports.AppLayout=Ux;exports.AppLayoutPrimaryNav=qx;exports.AppLayoutSecondaryNav=Kx;exports.AppLayoutUserMenu=cp;exports.AspectRatio=Xx;exports.AuthLayout=dp;exports.Avatar=Jt;exports.AvatarFallback=Vt;exports.AvatarImage=Vn;exports.Badge=be;exports.BrandLogo=oi;exports.Breadcrumb=up;exports.BreadcrumbEllipsis=ev;exports.BreadcrumbItem=pp;exports.BreadcrumbLink=mp;exports.BreadcrumbList=hp;exports.BreadcrumbPage=gp;exports.BreadcrumbSeparator=bp;exports.Button=B;exports.Calendar=Yo;exports.Card=vr;exports.CardAction=Av;exports.CardContent=ci;exports.CardDescription=xp;exports.CardFooter=vp;exports.CardHeader=li;exports.CardTitle=fi;exports.Carousel=Rv;exports.CarouselContent=Bv;exports.CarouselItem=Hv;exports.CarouselNext=Uv;exports.CarouselPrevious=Fv;exports.ChartContainer=Jv;exports.ChartLegend=Gv;exports.ChartLegendContent=Wv;exports.ChartTooltip=Yv;exports.ChartTooltipContent=Qv;exports.Checkbox=Np;exports.Collapsible=kp;exports.CollapsibleContent=Ip;exports.CollapsibleTrigger=Sp;exports.ColorPicker=Zv;exports.Command=sb;exports.CommandDialog=aT;exports.CommandEmpty=lT;exports.CommandGroup=fT;exports.CommandInput=sT;exports.CommandItem=dT;exports.CommandList=oT;exports.CommandSeparator=cT;exports.CommandShortcut=uT;exports.CommentSystem=QI;exports.CompactPageHeader=Z5;exports.ContextMenu=hT;exports.ContextMenuCheckboxItem=jT;exports.ContextMenuContent=wT;exports.ContextMenuGroup=mT;exports.ContextMenuItem=MT;exports.ContextMenuLabel=LT;exports.ContextMenuPortal=gT;exports.ContextMenuRadioGroup=xT;exports.ContextMenuRadioItem=CT;exports.ContextMenuSeparator=NT;exports.ContextMenuShortcut=kT;exports.ContextMenuSub=bT;exports.ContextMenuSubContent=yT;exports.ContextMenuSubTrigger=vT;exports.ContextMenuTrigger=pT;exports.ContractPrint=Pv;exports.ContractPrintPreview=Mp;exports.ContractTemplate=kc;exports.CurrencyInput=Kb;exports.DataTable=y4;exports.DatePicker=Vd;exports.DateRangePicker=tb;exports.Dialog=Za;exports.DialogClose=iT;exports.DialogContent=qa;exports.DialogDescription=es;exports.DialogFooter=jl;exports.DialogHeader=Ka;exports.DialogTitle=Xa;exports.DialogTrigger=nT;exports.DocumentEditor=ET;exports.Drawer=AT;exports.DrawerClose=fb;exports.DrawerContent=db;exports.DrawerDescription=hb;exports.DrawerFooter=PT;exports.DrawerHeader=OT;exports.DrawerTitle=ub;exports.DrawerTrigger=lb;exports.DropdownMenu=Pa;exports.DropdownMenuCheckboxItem=Jx;exports.DropdownMenuContent=Ba;exports.DropdownMenuGroup=lp;exports.DropdownMenuItem=ur;exports.DropdownMenuLabel=fp;exports.DropdownMenuPortal=_x;exports.DropdownMenuRadioGroup=Vx;exports.DropdownMenuRadioItem=Yx;exports.DropdownMenuSeparator=Ys;exports.DropdownMenuShortcut=Qx;exports.DropdownMenuSub=Gx;exports.DropdownMenuSubContent=$x;exports.DropdownMenuSubTrigger=Wx;exports.DropdownMenuTrigger=Ra;exports.EditableBadge=pb;exports.EditorialCalendar=n5;exports.EmptyCalendarIllustration=S4;exports.EmptyInboxIllustration=L4;exports.EmptyProjectsIllustration=k4;exports.EmptySearchIllustration=N4;exports.ErrorStateIllustration=I4;exports.FilterBar=x4;exports.FilterBuilder=v4;exports.FilterChip=b4;exports.Form=i5;exports.FormControl=l5;exports.FormDescription=f5;exports.FormField=a5;exports.FormItem=s5;exports.FormLabel=o5;exports.FormMessage=c5;exports.GanttChart=Wb;exports.GanttLegend=$b;exports.HoverCard=h5;exports.HoverCardContent=m5;exports.HoverCardTrigger=p5;exports.Illustrations=d8;exports.ImageWithFallback=yp;exports.Input=Yt;exports.InputGroup=qb;exports.InputGroupAddon=vc;exports.InputGroupButton=M5;exports.InputGroupInput=C5;exports.InputGroupText=j5;exports.InputGroupTextarea=L5;exports.InputOTP=g5;exports.InputOTPGroup=b5;exports.InputOTPSeparator=v5;exports.InputOTPSlot=x5;exports.KPICard=ib;exports.KanbanCard=rb;exports.Label=He;exports.MentionList=Cd;exports.Menubar=k5;exports.MenubarCheckboxItem=z5;exports.MenubarContent=E5;exports.MenubarGroup=I5;exports.MenubarItem=A5;exports.MenubarLabel=P5;exports.MenubarMenu=S5;exports.MenubarPortal=Xb;exports.MenubarRadioGroup=T5;exports.MenubarRadioItem=O5;exports.MenubarSeparator=R5;exports.MenubarShortcut=B5;exports.MenubarSub=H5;exports.MenubarSubContent=U5;exports.MenubarSubTrigger=F5;exports.MenubarTrigger=D5;exports.NavigationMenu=_5;exports.NavigationMenuContent=Q5;exports.NavigationMenuItem=V5;exports.NavigationMenuLink=W5;exports.NavigationMenuList=J5;exports.NavigationMenuTrigger=Y5;exports.NumberInput=Jo;exports.PageHeader=$5;exports.Pagination=q5;exports.PaginationContent=K5;exports.PaginationEllipsis=nA;exports.PaginationItem=X5;exports.PaginationLink=eu;exports.PaginationNext=tA;exports.PaginationPrevious=eA;exports.PasswordInput=Zb;exports.Popover=tt;exports.PopoverContent=$e;exports.PopoverTrigger=We;exports.PrintFooter=Lc;exports.PrintHeader=Cc;exports.PrintInfoGrid=sr;exports.PrintSection=ut;exports.PrintSignature=Nc;exports.PrintTable=Qs;exports.Progress=nb;exports.ProposalTemplate=u8;exports.RadioGroup=rA;exports.RadioGroupItem=iA;exports.ResizableHandle=oA;exports.ResizablePanel=sA;exports.ResizablePanelGroup=aA;exports.SavedFilters=KA;exports.ScrollArea=dr;exports.ScrollBar=sp;exports.Select=Zt;exports.SelectContent=Xt;exports.SelectGroup=GI;exports.SelectItem=kt;exports.SelectLabel=WI;exports.SelectSeparator=$I;exports.SelectTrigger=Kt;exports.SelectValue=qt;exports.Separator=An;exports.Sheet=t4;exports.SheetClose=fA;exports.SheetContent=r4;exports.SheetDescription=s4;exports.SheetFooter=dA;exports.SheetHeader=i4;exports.SheetTitle=a4;exports.SheetTrigger=lA;exports.Sidebar=vA;exports.SidebarContent=NA;exports.SidebarFooter=CA;exports.SidebarGroup=kA;exports.SidebarGroupAction=IA;exports.SidebarGroupContent=TA;exports.SidebarGroupLabel=SA;exports.SidebarHeader=jA;exports.SidebarInset=MA;exports.SidebarMenu=DA;exports.SidebarMenuAction=OA;exports.SidebarMenuBadge=PA;exports.SidebarMenuButton=zA;exports.SidebarMenuItem=EA;exports.SidebarMenuSkeleton=RA;exports.SidebarMenuSub=BA;exports.SidebarMenuSubButton=FA;exports.SidebarMenuSubItem=HA;exports.SidebarProvider=xA;exports.SidebarRail=wA;exports.SidebarSeparator=LA;exports.SidebarTrigger=yA;exports.Skeleton=Rn;exports.Slider=d4;exports.SocialButton=c4;exports.SuccessStateIllustration=T4;exports.Switch=u4;exports.Table=tu;exports.TableBody=ru;exports.TableCaption=p4;exports.TableCell=da;exports.TableFooter=h4;exports.TableHead=iu;exports.TableHeader=nu;exports.TablePagination=au;exports.TableRow=Kr;exports.Tabs=mb;exports.TabsContent=BT;exports.TabsList=gb;exports.TabsTrigger=Us;exports.TaskCalendar=r5;exports.TaskEditDialog=e8;exports.Textarea=Xd;exports.TimePicker=za;exports.Timeline=i8;exports.Toaster=YA;exports.Toggle=ob;exports.ToggleGroup=f8;exports.ToggleGroupItem=c8;exports.Tooltip=ei;exports.TooltipContent=ni;exports.TooltipProvider=Sc;exports.TooltipTrigger=ti;exports.UnderlineTabs=a8;exports.UnderlineTabsContent=l8;exports.UnderlineTabsList=s8;exports.UnderlineTabsTrigger=o8;exports.badgeVariants=op;exports.buttonVariants=Bn;exports.calculatePaginationMetadata=g4;exports.cn=y;exports.dadosContratoExemplo=Ov;exports.getPageNumbers=m4;exports.navigationMenuTriggerStyle=e4;exports.socialButtonVariants=f4;exports.toggleVariants=Yd;exports.useFormField=ts;exports.useIsMobile=o4;exports.usePrintContract=wp;exports.useSidebar=ns;
|
|
223
223
|
//# sourceMappingURL=index.cjs.map
|