@qratilabs/qrati-connect 2.6.0 → 2.7.0

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.
Files changed (72) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/element/B8jogRzT.js +4 -0
  3. package/element/{wHbQZdly.js → BiQECCnr.js} +1 -1
  4. package/element/{B4-Qw59P.js → BjbDXTeP.js} +3 -3
  5. package/element/{DPOkh0eJ.js → COUnPxHl.js} +1 -1
  6. package/element/{DODG2TX4.js → CkfXzc1_.js} +1 -1
  7. package/element/{B28y50Bi.js → DGeYAYfl.js} +1 -1
  8. package/element/{CUOOhGTj.js → DXPR6JWg.js} +1 -1
  9. package/element/{D4xTzxjA.js → DqOnDVHH.js} +1 -1
  10. package/element/ThtSVXLE.js +32 -0
  11. package/element/{CH2f_afH.js → gajcOMzQ.js} +1 -1
  12. package/element/{Cf1QDu0i.js → ojjN3KY4.js} +1 -1
  13. package/element/web.es.js +192 -183
  14. package/element/xqhGemdL.js +16 -0
  15. package/package.json +1 -1
  16. package/react/{C4TTO8j2.js → B0pbGxj0.js} +1 -1
  17. package/react/B57jvRJw.js +1 -0
  18. package/react/{B8FlrdhF.js → B74JcfT2.js} +1 -1
  19. package/react/{Cs3wia2w.js → BBaYBpSS.js} +1 -1
  20. package/react/{pIx9IeV5.js → BUm8-ZtV.js} +1 -1
  21. package/react/Bran9aUe.js +32 -0
  22. package/react/{BaT1o9UO.js → CDAGXOJa.js} +1 -1
  23. package/react/{aragUG-J.js → CMUYyO6F.js} +1 -1
  24. package/react/CPs8NoX7.js +1 -0
  25. package/react/{DOw70z3P.js → CdZcv5CJ.js} +1 -1
  26. package/react/Ce4GGag_.js +1 -0
  27. package/react/CnRdB6_J.js +16 -0
  28. package/react/{e8YBtYhk.js → CzNVO0Zz.js} +1 -1
  29. package/react/{D7c4q3kj.js → D6h9tRAZ.js} +1 -1
  30. package/react/{DLf4fPpy.js → DCjmEjZr.js} +1 -1
  31. package/react/{BXiO9Rt2.js → DJ-3Sziz.js} +1 -1
  32. package/react/{DB3DJWUI.js → DKvJBrWM.js} +3 -3
  33. package/react/DSAOtDOg.js +4 -0
  34. package/react/{DEIcfk-y.js → DaQR1Bft.js} +1 -1
  35. package/react/{CT_Cvh8-.js → Dbq_PyC6.js} +1 -1
  36. package/react/{sxfIEK17.js → DdmNkEML.js} +1 -1
  37. package/react/{CNAEfadS.js → buiUjKpV.js} +1 -1
  38. package/react/{Czrz88CD.js → dLaHt9rf.js} +1 -1
  39. package/react/index.cjs +1 -1
  40. package/react/index.mjs +419 -410
  41. package/react/{Dljj3ToS.js → zrUJi_8F.js} +1 -1
  42. package/umd/web.umd.js +1 -1
  43. package/element/BKzoEuEi.js +0 -4
  44. package/element/B_TauT26.js +0 -1
  45. package/element/CudAoK3L.js +0 -32
  46. package/element/DHTkVJH6.js +0 -1
  47. package/element/Dc7DVn3n.js +0 -16
  48. package/react/BD2gDjZu.js +0 -1
  49. package/react/BUcttdEL.js +0 -1
  50. package/react/BXe4I1MJ.js +0 -32
  51. package/react/B_TauT26.js +0 -1
  52. package/react/BhU5cdLs.js +0 -1
  53. package/react/C1A9nC-v.js +0 -16
  54. package/react/DDbNaN3e.js +0 -4
  55. package/react/DHTkVJH6.js +0 -1
  56. package/react/DV6DJ1Br.js +0 -1
  57. package/react/QPXxc9eb.js +0 -1
  58. /package/element/{DMDEuqn7.js → BppxGns9.js} +0 -0
  59. /package/element/{Ccwm5LwS.js → C2ydm0ZD.js} +0 -0
  60. /package/element/{DSjmSa7l.js → CjmNvKgB.js} +0 -0
  61. /package/element/{ZShDCNL_.js → CziefUVo.js} +0 -0
  62. /package/element/{DD-DUfz5.js → DUlbZyIi.js} +0 -0
  63. /package/react/{CCCbXwws.js → BT55gXKs.js} +0 -0
  64. /package/react/{CEEUMvOM.js → Bxitmzur.js} +0 -0
  65. /package/react/{Bqe_56Ho.js → CO70kETi.js} +0 -0
  66. /package/react/{CssqM9iA.js → CR2MwRBM.js} +0 -0
  67. /package/react/{DV8H8PH6.js → CtCRzhKd.js} +0 -0
  68. /package/react/{BxS4S1Bm.js → CvLw8owR.js} +0 -0
  69. /package/react/{bYucjLbl.js → D5puLxf7.js} +0 -0
  70. /package/react/{BqRDSbh4.js → DtvJNH06.js} +0 -0
  71. /package/react/{DvZVbBR7.js → LDusNFdQ.js} +0 -0
  72. /package/react/{DYyT8DeU.js → zyOknCLQ.js} +0 -0
package/react/QPXxc9eb.js DELETED
@@ -1 +0,0 @@
1
- import*as e from"react";import{jsx as t}from"react/jsx-runtime";var r,o,n,s,i,a,l,c,u,d,p,f,h={},_=[],m=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,b=Array.isArray;function g(e,t){for(var r in t)e[r]=t[r];return e}function v(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function y(e,t,o){var n,s,i,a={};for(i in t)"key"==i?n=t[i]:"ref"==i?s=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?r.call(arguments,2):o),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return w(e,a,n,s,null)}function w(e,t,r,s,i){var a={type:e,props:t,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==i?++n:i,__i:-1,__u:0};return null==i&&null!=o.vnode&&o.vnode(a),a}function k(e){return e.children}function E(e,t){this.props=e,this.context=t}function x(e,t){if(null==t)return e.__?x(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e)return r.__e;return"function"==typeof e.type?x(e):null}function S(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,n=[],s=[],i=g({},t);i.__v=t.__v+1,o.vnode&&o.vnode(i),F(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,n,null==r?x(t):r,!!(32&t.__u),s),i.__v=t.__v,i.__.__k[i.__i]=i,U(n,i,s),t.__e=t.__=null,i.__e!=r&&T(i)}}function T(e){if(null!=(e=e.__)&&null!=e.__c)return e.__e=e.__c.base=null,e.__k.some(function(t){if(null!=t&&null!=t.__e)return e.__e=e.__c.base=t.__e}),T(e)}function N(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!O.__r++||i!=o.debounceRendering)&&((i=o.debounceRendering)||a)(O)}function O(){try{for(var e,t=1;s.length;)s.length>t&&s.sort(l),e=s.shift(),t=s.length,S(e)}finally{s.length=O.__r=0}}function C(e,t,r,o,n,s,i,a,l,c,u){var d,p,f,m,g,v,y,E=o&&o.__k||_,S=t.length;for(l=function(e,t,r,o,n){var s,i,a,l,c,u=r.length,d=u,p=0;for(e.__k=new Array(n),s=0;s<n;s++)null!=(i=t[s])&&"boolean"!=typeof i&&"function"!=typeof i?("string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?i=e.__k[s]=w(null,i,null,null,null):b(i)?i=e.__k[s]=w(k,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?i=e.__k[s]=w(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):e.__k[s]=i,l=s+p,i.__=e,i.__b=e.__b+1,a=null,-1!=(c=i.__i=R(i,r,l,d))&&(d--,(a=r[c])&&(a.__u|=2)),null==a||null==a.__v?(-1==c&&(n>u?p--:n<u&&p++),"function"!=typeof i.type&&(i.__u|=4)):c!=l&&(c==l-1?p--:c==l+1?p++:(c>l?p--:p++,i.__u|=4))):e.__k[s]=null;if(d)for(s=0;s<u;s++)null!=(a=r[s])&&!(2&a.__u)&&(a.__e==o&&(o=x(a)),q(a,a));return o}(r,t,E,l,S),d=0;d<S;d++)null!=(f=r.__k[d])&&(p=-1!=f.__i&&E[f.__i]||h,f.__i=d,v=F(e,f,p,n,s,i,a,l,c,u),m=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&z(p.ref,null,f),u.push(f.ref,f.__c||m,f)),null==g&&null!=m&&(g=m),(y=!!(4&f.__u))||p.__k===f.__k?l=A(f,l,e,y):"function"==typeof f.type&&void 0!==v?l=v:m&&(l=m.nextSibling),f.__u&=-7);return r.__e=g,l}function A(e,t,r,o){var n,s;if("function"==typeof e.type){for(n=e.__k,s=0;n&&s<n.length;s++)n[s]&&(n[s].__=e,t=A(n[s],t,r,o));return t}e.__e!=t&&(o&&(t&&e.type&&!t.parentNode&&(t=x(e)),r.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function I(e,t){return t=t||[],null==e||"boolean"==typeof e||(b(e)?e.some(function(e){I(e,t)}):t.push(e)),t}function R(e,t,r,o){var n,s,i,a=e.key,l=e.type,c=t[r],u=null!=c&&!(2&c.__u);if(null===c&&null==a||u&&a==c.key&&l==c.type)return r;if(o>(u?1:0))for(n=r-1,s=r+1;n>=0||s<t.length;)if(null!=(c=t[i=n>=0?n--:s++])&&!(2&c.__u)&&a==c.key&&l==c.type)return i;return-1}function D(e,t,r){"-"==t[0]?e.setProperty(t,null==r?"":r):e[t]=null==r?"":"number"!=typeof r||m.test(t)?r:r+"px"}function P(e,t,r,o,n){var s,i;e:if("style"==t)if("string"==typeof r)e.style.cssText=r;else{if("string"==typeof o&&(e.style.cssText=o=""),o)for(t in o)r&&t in r||D(e.style,t,"");if(r)for(t in r)o&&r[t]==o[t]||D(e.style,t,r[t])}else if("o"==t[0]&&"n"==t[1])s=t!=(t=t.replace(c,"$1")),i=t.toLowerCase(),t=i in e||"onFocusOut"==t||"onFocusIn"==t?i.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+s]=r,r?o?r.u=o.u:(r.u=u,e.addEventListener(t,s?p:d,s)):e.removeEventListener(t,s?p:d,s);else{if("http://www.w3.org/2000/svg"==n)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==r?"":r;break e}catch(e){}"function"==typeof r||(null==r||!1===r&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==r?"":r))}}function L(e){return function(t){if(this.l){var r=this.l[t.type+e];if(null==t.t)t.t=u++;else if(t.t<r.u)return;return r(o.event?o.event(t):t)}}}function F(e,t,r,n,s,i,a,l,c,u){var d,p,f,h,m,y,w,x,S,T,N,O,A,I,R,D=t.type;if(void 0!==t.constructor)return null;128&r.__u&&(c=!!(32&r.__u),i=[l=t.__e=r.__e]),(d=o.__b)&&d(t);e:if("function"==typeof D)try{if(x=t.props,S=D.prototype&&D.prototype.render,T=(d=D.contextType)&&n[d.__c],N=d?T?T.props.value:d.__:n,r.__c?w=(p=t.__c=r.__c).__=p.__E:(S?t.__c=p=new D(x,N):(t.__c=p=new E(x,N),p.constructor=D,p.render=j),T&&T.sub(p),p.state||(p.state={}),p.__n=n,f=p.__d=!0,p.__h=[],p._sb=[]),S&&null==p.__s&&(p.__s=p.state),S&&null!=D.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=g({},p.__s)),g(p.__s,D.getDerivedStateFromProps(x,p.__s))),h=p.props,m=p.state,p.__v=t,f)S&&null==D.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),S&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(S&&null==D.getDerivedStateFromProps&&x!==h&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(x,N),t.__v==r.__v||!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(x,p.__s,N)){t.__v!=r.__v&&(p.props=x,p.state=p.__s,p.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(e){e&&(e.__=t)}),_.push.apply(p.__h,p._sb),p._sb=[],p.__h.length&&a.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(x,p.__s,N),S&&null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(h,m,y)})}if(p.context=N,p.props=x,p.__P=e,p.__e=!1,O=o.__r,A=0,S)p.state=p.__s,p.__d=!1,O&&O(t),d=p.render(p.props,p.state,p.context),_.push.apply(p.__h,p._sb),p._sb=[];else do{p.__d=!1,O&&O(t),d=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++A<25);p.state=p.__s,null!=p.getChildContext&&(n=g(g({},n),p.getChildContext())),S&&!f&&null!=p.getSnapshotBeforeUpdate&&(y=p.getSnapshotBeforeUpdate(h,m)),I=null!=d&&d.type===k&&null==d.key?G(d.props.children):d,l=C(e,b(I)?I:[I],t,r,n,s,i,a,l,c,u),p.base=t.__e,t.__u&=-161,p.__h.length&&a.push(p),w&&(p.__E=p.__=null)}catch(e){if(t.__v=null,c||null!=i)if(e.then){for(t.__u|=c?160:128;l&&8==l.nodeType&&l.nextSibling;)l=l.nextSibling;i[i.indexOf(l)]=null,t.__e=l}else{for(R=i.length;R--;)v(i[R]);$(t)}else t.__e=r.__e,t.__k=r.__k,e.then||$(t);o.__e(e,t,r)}else null==i&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):l=t.__e=M(r.__e,t,r,n,s,i,a,c,u);return(d=o.diffed)&&d(t),128&t.__u?void 0:l}function $(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some($))}function U(e,t,r){for(var n=0;n<r.length;n++)z(r[n],r[++n],r[++n]);o.__c&&o.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){o.__e(e,t.__v)}})}function G(e){return"object"!=typeof e||null==e||e.__b>0?e:b(e)?e.map(G):g({},e)}function M(e,t,n,s,i,a,l,c,u){var d,p,f,_,m,g,y,w=n.props||h,k=t.props,E=t.type;if("svg"==E?i="http://www.w3.org/2000/svg":"math"==E?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=a)for(d=0;d<a.length;d++)if((m=a[d])&&"setAttribute"in m==!!E&&(E?m.localName==E:3==m.nodeType)){e=m,a[d]=null;break}if(null==e){if(null==E)return document.createTextNode(k);e=document.createElementNS(i,E,k.is&&k),c&&(o.__m&&o.__m(t,a),c=!1),a=null}if(null==E)w===k||c&&e.data==k||(e.data=k);else{if(a=a&&r.call(e.childNodes),!c&&null!=a)for(w={},d=0;d<e.attributes.length;d++)w[(m=e.attributes[d]).name]=m.value;for(d in w)m=w[d],"dangerouslySetInnerHTML"==d?f=m:"children"==d||d in k||"value"==d&&"defaultValue"in k||"checked"==d&&"defaultChecked"in k||P(e,d,null,m,i);for(d in k)m=k[d],"children"==d?_=m:"dangerouslySetInnerHTML"==d?p=m:"value"==d?g=m:"checked"==d?y=m:c&&"function"!=typeof m||w[d]===m||P(e,d,m,w[d],i);if(p)c||f&&(p.__html==f.__html||p.__html==e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(f&&(e.innerHTML=""),C("template"==t.type?e.content:e,b(_)?_:[_],t,n,s,"foreignObject"==E?"http://www.w3.org/1999/xhtml":i,a,l,a?a[0]:n.__k&&x(n,0),c,u),null!=a)for(d=a.length;d--;)v(a[d]);c||(d="value","progress"==E&&null==g?e.removeAttribute("value"):null!=g&&(g!==e[d]||"progress"==E&&!g||"option"==E&&g!=w[d])&&P(e,d,g,w[d],i),d="checked",null!=y&&y!=e[d]&&P(e,d,y,w[d],i))}return e}function z(e,t,r){try{if("function"==typeof e){var n="function"==typeof e.__u;n&&e.__u(),n&&null==t||(e.__u=e(t))}else e.current=t}catch(e){o.__e(e,r)}}function q(e,t,r){var n,s;if(o.unmount&&o.unmount(e),(n=e.ref)&&(n.current&&n.current!=e.__e||z(n,null,t)),null!=(n=e.__c)){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(e){o.__e(e,t)}n.base=n.__P=null}if(n=e.__k)for(s=0;s<n.length;s++)n[s]&&q(n[s],t,r||"function"!=typeof e.type);r||v(e.__e),e.__c=e.__=e.__e=void 0}function j(e,t,r){return this.constructor(e,r)}function H(e,t,n){var s,i,a,l;t==document&&(t=document.documentElement),o.__&&o.__(e,t),i=(s="function"==typeof n)?null:n&&n.__k||t.__k,a=[],l=[],F(t,e=(!s&&n||t).__k=y(k,null,[e]),i||h,h,t.namespaceURI,!s&&n?[n]:i?null:t.firstChild?r.call(t.childNodes):null,a,!s&&n?n:i?i.__e:t.firstChild,s,l),U(a,e,l)}function V(e,t,o){var n,s,i,a,l=g({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==i?n=t[i]:"ref"==i?s=t[i]:l[i]=void 0===t[i]&&null!=a?a[i]:t[i];return arguments.length>2&&(l.children=arguments.length>3?r.call(arguments,2):o),w(e.type,l,n||e.key,s||e.ref,null)}function W(e){function t(e){var r,o;return this.getChildContext||(r=/* @__PURE__ */new Set,(o={})[t.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&r.forEach(function(e){e.__e=!0,N(e)})},this.sub=function(e){r.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){r&&r.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+f++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}r=_.slice,o={__e:function(e,t,r,o){for(var n,s,i;t=t.__;)if((n=t.__c)&&!n.__)try{if((s=n.constructor)&&null!=s.getDerivedStateFromError&&(n.setState(s.getDerivedStateFromError(e)),i=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e,o||{}),i=n.__d),i)return n.__E=n}catch(t){e=t}throw e}},n=0,E.prototype.setState=function(e,t){var r=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=g({},this.state);"function"==typeof e&&(e=e(g({},r),this.props)),e&&g(r,e),null!=e&&this.__v&&(t&&this._sb.push(t),N(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),N(this))},E.prototype.render=k,s=[],a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=function(e,t){return e.__v.__b-t.__v.__b},O.__r=0,c=/(PointerCapture)$|Capture$/i,u=0,d=L(!1),p=L(!0),f=0;var B,K,Q,Y,J=0,Z=[],X=o,ee=X.__b,te=X.__r,re=X.diffed,oe=X.__c,ne=X.unmount,se=X.__;function ie(e,t){X.__h&&X.__h(K,e,J||t),J=0;var r=K.__H||(K.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function ae(e){return J=1,function(e,t){var r=ie(B++,2);if(r.t=e,!r.__c&&(r.__=[we(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],o=r.t(t,e);t!==o&&(r.__N=[o,r.__[1]],r.__c.setState({}))}],r.__c=K,!K.__f)){var o=function(e,t,o){if(!r.__c.__H)return!0;var s=r.__c.__H.__.filter(function(e){return e.__c});if(s.every(function(e){return!e.__N}))return!n||n.call(this,e,t,o);var i=r.__c.props!==e;return s.some(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}}),n&&n.call(this,e,t,o)||i};K.__f=!0;var n=K.shouldComponentUpdate,s=K.componentWillUpdate;K.componentWillUpdate=function(e,t,r){if(this.__e){var i=n;n=void 0,o(e,t,r),n=i}s&&s.call(this,e,t,r)},K.shouldComponentUpdate=o}return r.__N||r.__}(we,e)}function le(e,t){var r=ie(B++,3);!X.__s&&ye(r.__H,t)&&(r.__=e,r.u=t,K.__H.__h.push(r))}function ce(e,t){var r=ie(B++,4);!X.__s&&ye(r.__H,t)&&(r.__=e,r.u=t,K.__h.push(r))}function ue(e){return J=5,de(function(){return{current:e}},[])}function de(e,t){var r=ie(B++,7);return ye(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function pe(e,t){return J=8,de(function(){return e},t)}function fe(e){var t=K.context[e.__c],r=ie(B++,9);return r.c=e,t?(r.__??(r.__=!0,t.sub(K)),t.props.value):e.__}function he(){var e=ie(B++,11);if(!e.__){for(var t=K.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function _e(){for(var e;e=Z.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(ge),t.__h.some(ve),t.__h=[]}catch(Bt){t.__h=[],X.__e(Bt,e.__v)}}}X.__b=function(e){K=null,ee&&ee(e)},X.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),se&&se(e,t)},X.__r=function(e){te&&te(e),B=0;var t=(K=e.__c).__H;t&&(Q===K?(t.__h=[],K.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(ge),t.__h.some(ve),t.__h=[],B=0)),Q=K},X.diffed=function(e){re&&re(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Z.push(t)&&Y===X.requestAnimationFrame||((Y=X.requestAnimationFrame)||be)(_e)),t.__H.__.some(function(e){e.u&&(e.__H=e.u),e.u=void 0})),Q=K=null},X.__c=function(e,t){t.some(function(e){try{e.__h.some(ge),e.__h=e.__h.filter(function(e){return!e.__||ve(e)})}catch(Bt){t.some(function(e){e.__h&&(e.__h=[])}),t=[],X.__e(Bt,e.__v)}}),oe&&oe(e,t)},X.unmount=function(e){ne&&ne(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.some(function(e){try{ge(e)}catch(e){t=e}}),r.__H=void 0,t&&X.__e(t,r.__v))};var me="function"==typeof requestAnimationFrame;function be(e){var t,r=function(){clearTimeout(o),me&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(r,35);me&&(t=requestAnimationFrame(r))}function ge(e){var t=K,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),K=t}function ve(e){var t=K;e.__c=e.__(),K=t}function ye(e,t){return!e||e.length!==t.length||t.some(function(t,r){return t!==e[r]})}function we(e,t){return"function"==typeof t?t(e):t}var ke=class{constructor(){this.listeners=/* @__PURE__ */new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Ee=new class extends ke{#e;#t;#r;constructor(){super(),this.#r=e=>{if("undefined"!=typeof window&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:"hidden"!==globalThis.document?.visibilityState}},xe={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Se=new class{#o=xe;#n=!1;setTimeoutProvider(e){"production"!==process.env.NODE_ENV&&this.#n&&e!==this.#o&&console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.",{previous:this.#o,provider:e}),this.#o=e,"production"!==process.env.NODE_ENV&&(this.#n=!1)}setTimeout(e,t){return"production"!==process.env.NODE_ENV&&(this.#n=!0),this.#o.setTimeout(e,t)}clearTimeout(e){this.#o.clearTimeout(e)}setInterval(e,t){return"production"!==process.env.NODE_ENV&&(this.#n=!0),this.#o.setInterval(e,t)}clearInterval(e){this.#o.clearInterval(e)}},Te="undefined"==typeof window||"Deno"in globalThis;function Ne(){}function Oe(e,t){return"function"==typeof e?e(t):e}function Ce(e){return"number"==typeof e&&e>=0&&e!==1/0}function Ae(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ie(e,t){return"function"==typeof e?e(t):e}function Re(e,t){return"function"==typeof e?e(t):e}function De(e,t){const{type:r="all",exact:o,fetchStatus:n,predicate:s,queryKey:i,stale:a}=e;if(i)if(o){if(t.queryHash!==Le(i,t.options))return!1}else if(!$e(t.queryKey,i))return!1;if("all"!==r){const e=t.isActive();if("active"===r&&!e)return!1;if("inactive"===r&&e)return!1}return!("boolean"==typeof a&&t.isStale()!==a||n&&n!==t.state.fetchStatus||s&&!s(t))}function Pe(e,t){const{exact:r,status:o,predicate:n,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(r){if(Fe(t.options.mutationKey)!==Fe(s))return!1}else if(!$e(t.options.mutationKey,s))return!1}return!(o&&t.state.status!==o||n&&!n(t))}function Le(e,t){return(t?.queryKeyHashFn||Fe)(e)}function Fe(e){return JSON.stringify(e,(e,t)=>qe(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function $e(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every(r=>$e(e[r],t[r]))}var Ue=Object.prototype.hasOwnProperty;function Ge(e,t,r=0){if(e===t)return e;if(r>500)return t;const o=ze(e)&&ze(t);if(!(o||qe(e)&&qe(t)))return t;const n=(o?e:Object.keys(e)).length,s=o?t:Object.keys(t),i=s.length,a=o?new Array(i):{};let l=0;for(let c=0;c<i;c++){const i=o?c:s[c],u=e[i],d=t[i];if(u===d){a[i]=u,(o?c<n:Ue.call(e,i))&&l++;continue}if(null===u||null===d||"object"!=typeof u||"object"!=typeof d){a[i]=d;continue}const p=Ge(u,d,r+1);a[i]=p,p===u&&l++}return n===i&&l===n?e:a}function Me(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function ze(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function qe(e){if(!je(e))return!1;const t=e.constructor;if(void 0===t)return!0;const r=t.prototype;return!!je(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function je(e){return"[object Object]"===Object.prototype.toString.call(e)}function He(e,t,r){if("function"==typeof r.structuralSharing)return r.structuralSharing(e,t);if(!1!==r.structuralSharing){if("production"!==process.env.NODE_ENV)try{return Ge(e,t)}catch(o){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${r.queryHash}]: ${o}`),o}return Ge(e,t)}return t}function Ve(e,t,r=0){const o=[...e,t];return r&&o.length>r?o.slice(1):o}function We(e,t,r=0){const o=[t,...e];return r&&o.length>r?o.slice(0,-1):o}var Be=/* @__PURE__ */Symbol();function Ke(e,t){return"production"!==process.env.NODE_ENV&&e.queryFn===Be&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==Be?e.queryFn:()=>Promise.reject(/* @__PURE__ */new Error(`Missing queryFn: '${e.queryHash}'`))}function Qe(e,t){return"function"==typeof e?e(...t):!!e}function Ye(e,t,r){let o,n=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(o??=t(),n||(n=!0,o.aborted?r():o.addEventListener("abort",r,{once:!0})),o)}),e}var Je=/* @__PURE__ */(()=>{let e=()=>Te;return{isServer:()=>e(),setIsServer(t){e=t}}})();function Ze(){let e,t;const r=new Promise((r,o)=>{e=r,t=o});function o(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{o({status:"fulfilled",value:t}),e(t)},r.reject=e=>{o({status:"rejected",reason:e}),t(e)},r}var Xe=function(e){setTimeout(e,0)},et=function(){let e=[],t=0,r=e=>{e()},o=e=>{e()},n=Xe;const s=o=>{t?e.push(o):n(()=>{r(o)})};return{batch:s=>{let i;t++;try{i=s()}finally{t--,t||(()=>{const t=e;e=[],t.length&&n(()=>{o(()=>{t.forEach(e=>{r(e)})})})})()}return i},batchCalls:e=>(...t)=>{s(()=>{e(...t)})},schedule:s,setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{o=e},setScheduler:e=>{n=e}}}(),tt=new class extends ke{#s=!0;#t;#r;constructor(){super(),this.#r=e=>{if("undefined"!=typeof window&&window.addEventListener){const t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#s!==e&&(this.#s=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#s}};function rt(e){return Math.min(1e3*2**e,3e4)}function ot(e){return"online"!==(e??"online")||tt.isOnline()}var nt=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function st(e){let t,r=!1,o=0;const n=Ze(),s=()=>"pending"!==n.status,i=()=>Ee.isFocused()&&("always"===e.networkMode||tt.isOnline())&&e.canRun(),a=()=>ot(e.networkMode)&&e.canRun(),l=e=>{s()||(t?.(),n.resolve(e))},c=e=>{s()||(t?.(),n.reject(e))},u=()=>new Promise(r=>{t=e=>{(s()||i())&&r(e)},e.onPause?.()}).then(()=>{t=void 0,s()||e.onContinue?.()}),d=()=>{if(s())return;let t;const n=0===o?e.initialPromise:void 0;try{t=n??e.fn()}catch(a){t=Promise.reject(a)}Promise.resolve(t).then(l).catch(t=>{if(s())return;const n=e.retry??(Je.isServer()?0:3),a=e.retryDelay??rt,l="function"==typeof a?a(o,t):a,p=!0===n||"number"==typeof n&&o<n||"function"==typeof n&&n(o,t);var f;!r&&p?(o++,e.onFail?.(o,t),(f=l,new Promise(e=>{Se.setTimeout(e,f)})).then(()=>i()?void 0:u()).then(()=>{r?c(t):d()})):c(t)})};return{promise:n,status:()=>n.status,cancel:t=>{if(!s()){const r=new nt(t);c(r),e.onCancel?.(r)}},continue:()=>(t?.(),n),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:a,start:()=>(a()?d():u().then(d),n)}}var it=class{#i;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ce(this.gcTime)&&(this.#i=Se.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Je.isServer()?1/0:3e5))}clearGcTimeout(){this.#i&&(Se.clearTimeout(this.#i),this.#i=void 0)}},at=class extends it{#a;#l;#c;#u;#d;#p;#f;constructor(e){super(),this.#f=!1,this.#p=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#u=e.client,this.#c=this.#u.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#a=ut(this.options),this.state=e.state??this.#a,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#d?.promise}setOptions(e){if(this.options={...this.#p,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const e=ut(this.options);void 0!==e.data&&(this.setState(ct(e.data,e.dataUpdatedAt)),this.#a=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#c.remove(this)}setData(e,t){const r=He(this.state.data,e,this.options);return this.#h({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#h({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#d?.promise;return this.#d?.cancel(e),t?t.then(Ne).catch(Ne):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#a}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==Re(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Be||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===Ie(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!Ae(this.state.dataUpdatedAt,e))}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#d?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#d?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#c.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#d&&(this.#f||this.#_()?this.#d.cancel({revert:!0}):this.#d.cancelRetry()),this.scheduleGc()),this.#c.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#_(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#h({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&"rejected"!==this.#d?.status())if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#d)return this.#d.continueRetry(),this.#d.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}"production"!==process.env.NODE_ENV&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const r=new AbortController,o=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#f=!0,r.signal)})},n=()=>{const e=Ke(this.options,t),r=(()=>{const e={client:this.#u,queryKey:this.queryKey,meta:this.meta};return o(e),e})();return this.#f=!1,this.options.persister?this.options.persister(e,r,this):e(r)},s=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#u,state:this.state,fetchFn:n};return o(e),e})();this.options.behavior?.onFetch(s,this),this.#l=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===s.fetchOptions?.meta||this.#h({type:"fetch",meta:s.fetchOptions?.meta}),this.#d=st({initialPromise:t?.initialPromise,fn:s.fetchFn,onCancel:e=>{e instanceof nt&&e.revert&&this.setState({...this.#l,fetchStatus:"idle"}),r.abort()},onFail:(e,t)=>{this.#h({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#h({type:"pause"})},onContinue:()=>{this.#h({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0});try{const e=await this.#d.start();if(void 0===e)throw"production"!==process.env.NODE_ENV&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),new Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#c.config.onSuccess?.(e,this),this.#c.config.onSettled?.(e,this.state.error,this),e}catch(i){if(i instanceof nt){if(i.silent)return this.#d.promise;if(i.revert){if(void 0===this.state.data)throw i;return this.state.data}}throw this.#h({type:"error",error:i}),this.#c.config.onError?.(i,this),this.#c.config.onSettled?.(this.state.data,i,this),i}finally{this.scheduleGc()}}#h(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...lt(t.data,this.options),fetchMeta:e.meta??null};case"success":const r={...t,...ct(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#l=e.manual?r:void 0,r;case"error":const o=e.error;return{...t,error:o,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),et.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#c.notify({query:this,type:"updated",action:e})})}};function lt(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ot(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function ct(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function ut(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,o=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var dt=e.createContext(void 0),pt=t=>{const r=e.useContext(dt);if(t)return t;if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},ft=({client:r,children:o})=>(e.useEffect(()=>(r.mount(),()=>{r.unmount()}),[r]),/* @__PURE__ */t(dt.Provider,{value:r,children:o})),ht={PUBLIC_EVENTS:"/",FOLDER_EVENTS:e=>`/${e}`,LOGIN:"/auth/login",REGISTER:"/auth/register",FORGOT_PASSWORD:"/auth/forgot-password",RESET_PASSWORD:"/auth/reset-password",VERIFY_EMAIL:"/auth/verify-email",GALLERY:e=>`/event/${e}`,UPLOAD:e=>`/event/${e}/upload`,CURATE:e=>`/event/${e}/curate`,LEADERBOARD:e=>`/event/${e}/leaderboard`},_t={ORGANIZATION_SETTINGS:e=>`https://qrati.com/org/${e}/settings`,ORGANIZATION_SETTINGS_INTEGRATION:e=>`https://qrati.com/org/${e}/settings/integration`,ORGANIZATION_DASHBOARD:e=>`https://qrati.com/org/${e}/dashboard`,ORGANIZATION_ADMINS:e=>`https://qrati.com/org/${e}/admins`,EVENT_SETTINGS_BASIC_DETAILS:e=>`https://qrati.com/event/${e}/settings`,EVENT_REVIEW_CONTENTS:e=>`https://qrati.com/event/${e}/review-contents`,EVENT_DEEP_SEARCH:e=>`https://qrati.com/event/${e}/deep-search`,EVENT_GENERATE_ARTICLE:e=>`https://qrati.com/event/${e}/generate-article`,EVENT_ACCESS_REQUESTS:e=>`https://qrati.com/event/${e}/access-requests`,EVENT_SHOT_INSPECTOR:e=>`https://qrati.com/event/${e}/shot-inspector`,EVENT_CURATION_DETAILS:e=>`https://qrati.com/event/${e}/curation-details`},mt={PUBLIC:"PUBLIC",PRIVATE:"PRIVATE",SECRET:"SECRET"},bt="https://qrati.com/api/connect",gt={INITIALIZE_SESSION:`${bt}/session/initialize`,REGISTER:`${bt}/auth/register`,LOGIN:`${bt}/auth/login`,LOGOUT:`${bt}/auth/logout`,UPDATE_SESSION:`${bt}/session/update`,EXTERNAL_LOGIN:`${bt}/auth/external-login`,PUBLIC_EVENTS:`${bt}/event/public-events`,SEARCH_EVENTS:`${bt}/event/search`,FOLDER_DETAILS:`${bt}/folder/details`,NESTED_FOLDERS:`${bt}/folder/nested-folders`,GET_EVENT_POINTS:`${bt}/event/points`,ELIGIBLE_TO_CURATE:`${bt}/content/curation-eligibility`,CONTENT_FOR_CURATION:`${bt}/content/for-curation`,CURATE_CONTENT:`${bt}/content/curate`,GET_LEADERBOARD:`${bt}/event/leaderboard`,GET_UPLOAD_COUNT:`${bt}/event/upload-count`,SINGLE_UPLOAD:`${bt}/content/single-upload`,UPDATE_REACTION:`${bt}/content/update-reaction`,EVENT_DATA:`${bt}/event/details-with-ads-parameters`,UPDATE_EVENT_LAYOUT:`${bt}/event/update-layout`,GET_EVENT_STATISTICS:`${bt}/event/statistics`,GET_CONTENTS:`${bt}/content/for-gallery`,SEARCH_CONTENTS:`${bt}/content/search`,GET_CONTENTS_COUNT:`${bt}/content/count`,UPDATE_AD_ANALYTICS:`${bt}/event/update-ad-analytics`,INCREMENT_EVENT_VIEW:`${bt}/event/increment-view`,SEND_PASSWORD_RESET_CODE:`${bt}/auth/send-password-reset-code`,VERIFY_PASSWORD_RESET_CODE:`${bt}/auth/verify-password-reset-code`,RESET_PASSWORD:`${bt}/auth/reset-password`,REPORT_ERROR:`${bt}/session/report-error`},vt={OWNER:"owner",ADMIN:"admin",MODERATOR:"moderator"},yt={IMAGE:"IMAGE",VIDEO:"VIDEO",AD:"AD"},wt={ROW:"ROW",COLUMN:"COLUMN",MASONRY:"MASONRY"},kt={IN_REVIEW:"IN_REVIEW",APPROVED:"APPROVED",REJECTED:"REJECTED"},Et={WAITING:"Waiting",UPLOADING:"Uploading",RETRYING:"Retrying",DONE:"Done",FAILED:"Failed",ERROR:"Error"},xt=1048576,St={CLOSED:"CLOSED",OPEN:"OPEN",UPCOMING:"UPCOMING"},Tt={WAITING:"Waiting",PROCESSING:"Processing",DONE:"Done"},Nt={TEXT:"text",IMAGE:"image",LOTTIE:"lottie"},Ot={CONTEST:"CONTEST",REACTION:"REACTION"},Ct={GRID:"grid",SINGLE:"single"},At={POPULAR:"popular",UPLOAD_TIME:"upload",CAPTURE_TIME:"capture"},It={[At.POPULAR]:{label:"Popular",sortField:"score"},[At.UPLOAD_TIME]:{label:"Uploaded",sortField:"createdAt"},[At.CAPTURE_TIME]:{label:"Captured",sortField:"capturedAt"}},Rt=At.UPLOAD_TIME,Dt={ASC:"asc",DESC:"desc"},Pt={[Dt.ASC]:{label:"Ascending",sortOrder:""},[Dt.DESC]:{label:"Descending",sortOrder:"-"}},Lt=Dt.DESC,Ft={OWN:"own",CURATED:"curated",ELIGIBLE:"eligible"},$t={NONE:null,LINK:"LINK",EMAIL:"EMAIL",PHONE:"PHONE",SMS:"SMS",WHATSAPP:"WHATSAPP",MESSENGER:"MESSENGER"},Ut={[$t.LINK]:"material-symbols:open-in-new-rounded",[$t.EMAIL]:"material-symbols:alternate-email-rounded",[$t.PHONE]:"material-symbols:call-outline",[$t.SMS]:"material-symbols:sms-outline-rounded",[$t.WHATSAPP]:"logos:whatsapp-icon",[$t.MESSENGER]:"logos:messenger"},Gt={AD_IMPRESSION:"impression",AD_ENGAGEMENT:"engagement",AD_CLICK:"click"},Mt={EVENT_IN_REVIEW_COUNT:e=>`in-review-count-${e}`,CONTENTS_BY_EVENT:e=>`contents-by-event-${e}`},zt=0;function qt(e,t,r,n,s,i){t||(t={});var a,l,c=t;if("ref"in c)for(l in c={},t)"ref"==l?a=t[l]:c[l]=t[l];var u={type:e,props:c,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--zt,__i:-1,__u:0,__source:s,__self:i};if("function"==typeof e&&(a=e.defaultProps))for(l in a)void 0===c[l]&&(c[l]=a[l]);return o.vnode&&o.vnode(u),u}Array.isArray;var jt='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',Ht=e=>e.trim().replace(/\s+/g," "),Vt=e=>{if(!e)return jt;const t=Ht("string"==typeof e?e:e.fontFamily||""),r="string"==typeof e?void 0:e.customFontName;return t&&"system"!==t?"custom"===t?`"${r||"QratiCustomFont"}", ${jt}`:`"${t}", ${jt}`:jt},Wt=(e,t)=>{if(!e?.fontFamily||"system"===e.fontFamily)return"";const r=Ht(e.fontFamily);if("custom"===r&&t){const r=e.customFontName||"QratiCustomFont",n=/\.woff2(\?|$)/i.test(t)?"woff2":/\.ttf(\?|$)/i.test(t)?"truetype":"woff";return`@font-face{font-family:"${o=r,o.replace(/"/g,'\\"')}";src:url("${t}") format("${n}");font-weight:400 700;font-style:normal;font-display:swap;}`}var o;const n=(e=>{if(!e)return null;const t=Ht(e);return t&&"system"!==t.toLowerCase()&&"custom"!==t.toLowerCase()?`https://fonts.googleapis.com/css2?family=${t.replace(/\s+/g,"+")}:wght@400;500;600;700&display=swap`:null})(r);return n?`@import url("${n}");`:""};function Bt(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=Bt(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function Kt(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=Bt(e))&&(o&&(o+=" "),o+=t);return o}var Qt=(e=/* @__PURE__ */new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),Yt="-",Jt=[],Zt=e=>{const t=tr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return er(e);const r=e.split(Yt);return Xt(r,""===r[0]&&r.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=o[e],n=r[e];return t?n?((e,t)=>{const r=new Array(e.length+t.length);for(let o=0;o<e.length;o++)r[o]=e[o];for(let o=0;o<t.length;o++)r[e.length+o]=t[o];return r})(n,t):t:n||Jt}return r[e]||Jt}}},Xt=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],n=r.nextPart.get(o);if(n){const r=Xt(e,t+1,n);if(r)return r}const s=r.validators;if(null===s)return;const i=0===t?e.join(Yt):e.slice(t).join(Yt),a=s.length;for(let l=0;l<a;l++){const e=s[l];if(e.validator(i))return e.classGroupId}},er=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),o=t.slice(0,r);return o?"arbitrary.."+o:void 0})(),tr=e=>{const{theme:t,classGroups:r}=e;return rr(r,t)},rr=(e,t)=>{const r=Qt();for(const o in e){const n=e[o];or(n,r,o,t)}return r},or=(e,t,r,o)=>{const n=e.length;for(let s=0;s<n;s++){const n=e[s];nr(n,t,r,o)}},nr=(e,t,r,o)=>{"string"!=typeof e?"function"!=typeof e?ar(e,t,r,o):ir(e,t,r,o):sr(e,t,r)},sr=(e,t,r)=>{(""===e?t:lr(t,e)).classGroupId=r},ir=(e,t,r,o)=>{cr(e)?or(e(o),t,r,o):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(r,e)))},ar=(e,t,r,o)=>{const n=Object.entries(e),s=n.length;for(let i=0;i<s;i++){const[e,s]=n[i];or(s,lr(t,e),r,o)}},lr=(e,t)=>{let r=e;const o=t.split(Yt),n=o.length;for(let s=0;s<n;s++){const e=o[s];let t=r.nextPart.get(e);t||(t=Qt(),r.nextPart.set(e,t)),r=t}return r},cr=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,ur=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),o=Object.create(null);const n=(n,s)=>{r[n]=s,t++,t>e&&(t=0,o=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=o[e])?(n(e,t),t):void 0},set(e,t){e in r?r[e]=t:n(e,t)}}},dr=[],pr=(e,t,r,o,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:o,isExternal:n}),fr=e=>{const{prefix:t,experimentalParseClassName:r}=e;let o=e=>{const t=[];let r,o=0,n=0,s=0;const i=e.length;for(let u=0;u<i;u++){const i=e[u];if(0===o&&0===n){if(":"===i){t.push(e.slice(s,u)),s=u+1;continue}if("/"===i){r=u;continue}}"["===i?o++:"]"===i?o--:"("===i?n++:")"===i&&n--}const a=0===t.length?e:e.slice(s);let l=a,c=!1;return a.endsWith("!")?(l=a.slice(0,-1),c=!0):a.startsWith("!")&&(l=a.slice(1),c=!0),pr(t,c,l,r&&r>s?r-s:void 0)};if(t){const e=t+":",r=o;o=t=>t.startsWith(e)?r(t.slice(e.length)):pr(dr,!1,t,void 0,!0)}if(r){const e=o;o=t=>r({className:t,parseClassName:e})}return o},hr=e=>{const t=/* @__PURE__ */new Map;return e.orderSensitiveModifiers.forEach((e,r)=>{t.set(e,1e6+r)}),e=>{const r=[];let o=[];for(let n=0;n<e.length;n++){const s=e[n],i="["===s[0],a=t.has(s);i||a?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(s)):o.push(s)}return o.length>0&&(o.sort(),r.push(...o)),r}},_r=/\s+/,mr=e=>{if("string"==typeof e)return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=mr(e[o]))&&(r&&(r+=" "),r+=t);return r},br=[],gr=e=>{const t=t=>t[e]||br;return t.isThemeGetter=!0,t},vr=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,yr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,wr=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,kr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Er=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,xr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Sr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Tr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Nr=e=>wr.test(e),Or=e=>!!e&&!Number.isNaN(Number(e)),Cr=e=>!!e&&Number.isInteger(Number(e)),Ar=e=>e.endsWith("%")&&Or(e.slice(0,-1)),Ir=e=>kr.test(e),Rr=()=>!0,Dr=e=>Er.test(e)&&!xr.test(e),Pr=()=>!1,Lr=e=>Sr.test(e),Fr=e=>Tr.test(e),$r=e=>!Gr(e)&&!Br(e),Ur=e=>to(e,so,Pr),Gr=e=>vr.test(e),Mr=e=>to(e,io,Dr),zr=e=>to(e,ao,Or),qr=e=>to(e,co,Rr),jr=e=>to(e,lo,Pr),Hr=e=>to(e,oo,Pr),Vr=e=>to(e,no,Fr),Wr=e=>to(e,uo,Lr),Br=e=>yr.test(e),Kr=e=>ro(e,io),Qr=e=>ro(e,lo),Yr=e=>ro(e,oo),Jr=e=>ro(e,so),Zr=e=>ro(e,no),Xr=e=>ro(e,uo,!0),eo=e=>ro(e,co,!0),to=(e,t,r)=>{const o=vr.exec(e);return!!o&&(o[1]?t(o[1]):r(o[2]))},ro=(e,t,r=!1)=>{const o=yr.exec(e);return!!o&&(o[1]?t(o[1]):r)},oo=e=>"position"===e||"percentage"===e,no=e=>"image"===e||"url"===e,so=e=>"length"===e||"size"===e||"bg-size"===e,io=e=>"length"===e,ao=e=>"number"===e,lo=e=>"family-name"===e,co=e=>"number"===e||"weight"===e,uo=e=>"shadow"===e,po=/* @__PURE__ */((e,...t)=>{let r,o,n,s;const i=e=>{const t=o(e);if(t)return t;const s=((e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:s}=t,i=[],a=e.trim().split(_r);let l="";for(let c=a.length-1;c>=0;c-=1){const e=a[c],{isExternal:t,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=r(e);if(t){l=e+(l.length>0?" "+l:l);continue}let h=!!f,_=o(h?p.substring(0,f):p);if(!_){if(!h){l=e+(l.length>0?" "+l:l);continue}if(_=o(p),!_){l=e+(l.length>0?" "+l:l);continue}h=!1}const m=0===u.length?"":1===u.length?u[0]:s(u).join(":"),b=d?m+"!":m,g=b+_;if(i.indexOf(g)>-1)continue;i.push(g);const v=n(_,h);for(let r=0;r<v.length;++r){const e=v[r];i.push(b+e)}l=e+(l.length>0?" "+l:l)}return l})(e,r);return n(e,s),s};return s=a=>{var l;return l=t.reduce((e,t)=>t(e),e()),r={cache:ur(l.cacheSize),parseClassName:fr(l),sortModifiers:hr(l),...Zt(l)},o=r.cache.get,n=r.cache.set,s=i,i(a)},(...e)=>s(((...e)=>{let t,r,o=0,n="";for(;o<e.length;)(t=e[o++])&&(r=mr(t))&&(n&&(n+=" "),n+=r);return n})(...e))})(()=>{const e=gr("color"),t=gr("font"),r=gr("text"),o=gr("font-weight"),n=gr("tracking"),s=gr("leading"),i=gr("breakpoint"),a=gr("container"),l=gr("spacing"),c=gr("radius"),u=gr("shadow"),d=gr("inset-shadow"),p=gr("text-shadow"),f=gr("drop-shadow"),h=gr("blur"),_=gr("perspective"),m=gr("aspect"),b=gr("ease"),g=gr("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Br,Gr],y=()=>[Br,Gr,l],w=()=>[Nr,"full","auto",...y()],k=()=>[Cr,"none","subgrid",Br,Gr],E=()=>["auto",{span:["full",Cr,Br,Gr]},Cr,Br,Gr],x=()=>[Cr,"auto",Br,Gr],S=()=>["auto","min","max","fr",Br,Gr],T=()=>["auto",...y()],N=()=>[Nr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],O=()=>[Nr,"screen","full","dvw","lvw","svw","min","max","fit",...y()],C=()=>[Nr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...y()],A=()=>[e,Br,Gr],I=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Yr,Hr,{position:[Br,Gr]}],R=()=>["auto","cover","contain",Jr,Ur,{size:[Br,Gr]}],D=()=>[Ar,Kr,Mr],P=()=>["","none","full",c,Br,Gr],L=()=>["",Or,Kr,Mr],F=()=>[Or,Ar,Yr,Hr],$=()=>["","none",h,Br,Gr],U=()=>["none",Or,Br,Gr],G=()=>["none",Or,Br,Gr],M=()=>[Or,Br,Gr],z=()=>[Nr,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ir],breakpoint:[Ir],color:[Rr],container:[Ir],"drop-shadow":[Ir],ease:["in","out","in-out"],font:[$r],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ir],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ir],shadow:[Ir],spacing:["px",Or],text:[Ir],"text-shadow":[Ir],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Nr,Gr,Br,m]}],container:["container"],columns:[{columns:[Or,Gr,Br,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{"inset-s":w(),start:w()}],end:[{"inset-e":w(),end:w()}],"inset-bs":[{"inset-bs":w()}],"inset-be":[{"inset-be":w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[Cr,"auto",Br,Gr]}],basis:[{basis:[Nr,"full","auto",a,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Or,Nr,"auto","initial","none",Gr]}],grow:[{grow:["",Or,Br,Gr]}],shrink:[{shrink:["",Or,Br,Gr]}],order:[{order:[Cr,"first","last","none",Br,Gr]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":S()}],"auto-rows":[{"auto-rows":S()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pbs:[{pbs:y()}],pbe:[{pbe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mbs:[{mbs:T()}],mbe:[{mbe:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:N()}],"inline-size":[{inline:["auto",...O()]}],"min-inline-size":[{"min-inline":["auto",...O()]}],"max-inline-size":[{"max-inline":["none",...O()]}],"block-size":[{block:["auto",...C()]}],"min-block-size":[{"min-block":["auto",...C()]}],"max-block-size":[{"max-block":["none",...C()]}],w:[{w:[a,"screen",...N()]}],"min-w":[{"min-w":[a,"screen","none",...N()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...N()]}],h:[{h:["screen","lh",...N()]}],"min-h":[{"min-h":["screen","lh","none",...N()]}],"max-h":[{"max-h":["screen","lh",...N()]}],"font-size":[{text:["base",r,Kr,Mr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,eo,qr]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ar,Gr]}],"font-family":[{font:[Qr,jr,t]}],"font-features":[{"font-features":[Gr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,Br,Gr]}],"line-clamp":[{"line-clamp":[Or,"none",Br,zr]}],leading:[{leading:[s,...y()]}],"list-image":[{"list-image":["none",Br,Gr]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Br,Gr]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:A()}],"text-color":[{text:A()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[Or,"from-font","auto",Br,Mr]}],"text-decoration-color":[{decoration:A()}],"underline-offset":[{"underline-offset":[Or,"auto",Br,Gr]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Br,Gr]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Br,Gr]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:I()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:R()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Cr,Br,Gr],radial:["",Br,Gr],conic:[Cr,Br,Gr]},Zr,Vr]}],"bg-color":[{bg:A()}],"gradient-from-pos":[{from:D()}],"gradient-via-pos":[{via:D()}],"gradient-to-pos":[{to:D()}],"gradient-from":[{from:A()}],"gradient-via":[{via:A()}],"gradient-to":[{to:A()}],rounded:[{rounded:P()}],"rounded-s":[{"rounded-s":P()}],"rounded-e":[{"rounded-e":P()}],"rounded-t":[{"rounded-t":P()}],"rounded-r":[{"rounded-r":P()}],"rounded-b":[{"rounded-b":P()}],"rounded-l":[{"rounded-l":P()}],"rounded-ss":[{"rounded-ss":P()}],"rounded-se":[{"rounded-se":P()}],"rounded-ee":[{"rounded-ee":P()}],"rounded-es":[{"rounded-es":P()}],"rounded-tl":[{"rounded-tl":P()}],"rounded-tr":[{"rounded-tr":P()}],"rounded-br":[{"rounded-br":P()}],"rounded-bl":[{"rounded-bl":P()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-bs":[{"border-bs":L()}],"border-w-be":[{"border-be":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":L()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:A()}],"border-color-x":[{"border-x":A()}],"border-color-y":[{"border-y":A()}],"border-color-s":[{"border-s":A()}],"border-color-e":[{"border-e":A()}],"border-color-bs":[{"border-bs":A()}],"border-color-be":[{"border-be":A()}],"border-color-t":[{"border-t":A()}],"border-color-r":[{"border-r":A()}],"border-color-b":[{"border-b":A()}],"border-color-l":[{"border-l":A()}],"divide-color":[{divide:A()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[Or,Br,Gr]}],"outline-w":[{outline:["",Or,Kr,Mr]}],"outline-color":[{outline:A()}],shadow:[{shadow:["","none",u,Xr,Wr]}],"shadow-color":[{shadow:A()}],"inset-shadow":[{"inset-shadow":["none",d,Xr,Wr]}],"inset-shadow-color":[{"inset-shadow":A()}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:A()}],"ring-offset-w":[{"ring-offset":[Or,Mr]}],"ring-offset-color":[{"ring-offset":A()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":A()}],"text-shadow":[{"text-shadow":["none",p,Xr,Wr]}],"text-shadow-color":[{"text-shadow":A()}],opacity:[{opacity:[Or,Br,Gr]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Or]}],"mask-image-linear-from-pos":[{"mask-linear-from":F()}],"mask-image-linear-to-pos":[{"mask-linear-to":F()}],"mask-image-linear-from-color":[{"mask-linear-from":A()}],"mask-image-linear-to-color":[{"mask-linear-to":A()}],"mask-image-t-from-pos":[{"mask-t-from":F()}],"mask-image-t-to-pos":[{"mask-t-to":F()}],"mask-image-t-from-color":[{"mask-t-from":A()}],"mask-image-t-to-color":[{"mask-t-to":A()}],"mask-image-r-from-pos":[{"mask-r-from":F()}],"mask-image-r-to-pos":[{"mask-r-to":F()}],"mask-image-r-from-color":[{"mask-r-from":A()}],"mask-image-r-to-color":[{"mask-r-to":A()}],"mask-image-b-from-pos":[{"mask-b-from":F()}],"mask-image-b-to-pos":[{"mask-b-to":F()}],"mask-image-b-from-color":[{"mask-b-from":A()}],"mask-image-b-to-color":[{"mask-b-to":A()}],"mask-image-l-from-pos":[{"mask-l-from":F()}],"mask-image-l-to-pos":[{"mask-l-to":F()}],"mask-image-l-from-color":[{"mask-l-from":A()}],"mask-image-l-to-color":[{"mask-l-to":A()}],"mask-image-x-from-pos":[{"mask-x-from":F()}],"mask-image-x-to-pos":[{"mask-x-to":F()}],"mask-image-x-from-color":[{"mask-x-from":A()}],"mask-image-x-to-color":[{"mask-x-to":A()}],"mask-image-y-from-pos":[{"mask-y-from":F()}],"mask-image-y-to-pos":[{"mask-y-to":F()}],"mask-image-y-from-color":[{"mask-y-from":A()}],"mask-image-y-to-color":[{"mask-y-to":A()}],"mask-image-radial":[{"mask-radial":[Br,Gr]}],"mask-image-radial-from-pos":[{"mask-radial-from":F()}],"mask-image-radial-to-pos":[{"mask-radial-to":F()}],"mask-image-radial-from-color":[{"mask-radial-from":A()}],"mask-image-radial-to-color":[{"mask-radial-to":A()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[Or]}],"mask-image-conic-from-pos":[{"mask-conic-from":F()}],"mask-image-conic-to-pos":[{"mask-conic-to":F()}],"mask-image-conic-from-color":[{"mask-conic-from":A()}],"mask-image-conic-to-color":[{"mask-conic-to":A()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:I()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:R()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Br,Gr]}],filter:[{filter:["","none",Br,Gr]}],blur:[{blur:$()}],brightness:[{brightness:[Or,Br,Gr]}],contrast:[{contrast:[Or,Br,Gr]}],"drop-shadow":[{"drop-shadow":["","none",f,Xr,Wr]}],"drop-shadow-color":[{"drop-shadow":A()}],grayscale:[{grayscale:["",Or,Br,Gr]}],"hue-rotate":[{"hue-rotate":[Or,Br,Gr]}],invert:[{invert:["",Or,Br,Gr]}],saturate:[{saturate:[Or,Br,Gr]}],sepia:[{sepia:["",Or,Br,Gr]}],"backdrop-filter":[{"backdrop-filter":["","none",Br,Gr]}],"backdrop-blur":[{"backdrop-blur":$()}],"backdrop-brightness":[{"backdrop-brightness":[Or,Br,Gr]}],"backdrop-contrast":[{"backdrop-contrast":[Or,Br,Gr]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Or,Br,Gr]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Or,Br,Gr]}],"backdrop-invert":[{"backdrop-invert":["",Or,Br,Gr]}],"backdrop-opacity":[{"backdrop-opacity":[Or,Br,Gr]}],"backdrop-saturate":[{"backdrop-saturate":[Or,Br,Gr]}],"backdrop-sepia":[{"backdrop-sepia":["",Or,Br,Gr]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Br,Gr]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Or,"initial",Br,Gr]}],ease:[{ease:["linear","initial",b,Br,Gr]}],delay:[{delay:[Or,Br,Gr]}],animate:[{animate:["none",g,Br,Gr]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[_,Br,Gr]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:U()}],"rotate-x":[{"rotate-x":U()}],"rotate-y":[{"rotate-y":U()}],"rotate-z":[{"rotate-z":U()}],scale:[{scale:G()}],"scale-x":[{"scale-x":G()}],"scale-y":[{"scale-y":G()}],"scale-z":[{"scale-z":G()}],"scale-3d":["scale-3d"],skew:[{skew:M()}],"skew-x":[{"skew-x":M()}],"skew-y":[{"skew-y":M()}],transform:[{transform:[Br,Gr,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:z()}],"translate-x":[{"translate-x":z()}],"translate-y":[{"translate-y":z()}],"translate-z":[{"translate-z":z()}],"translate-none":["translate-none"],accent:[{accent:A()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:A()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Br,Gr]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mbs":[{"scroll-mbs":y()}],"scroll-mbe":[{"scroll-mbe":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pbs":[{"scroll-pbs":y()}],"scroll-pbe":[{"scroll-pbe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Br,Gr]}],fill:[{fill:["none",...A()]}],"stroke-w":[{stroke:[Or,Kr,Mr,zr]}],stroke:[{stroke:["none",...A()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}),fo=(...e)=>Kt(po(...e.filter(Boolean))),ho=e=>{const t=e.replace(/#/g,"");return(299*parseInt(t.slice(0,2),16)+587*parseInt(t.slice(2,4),16)+114*parseInt(t.slice(4,6),16))/1e3>=128?"#000000":"#FFFFFF"},_o="px",mo=(e,t="light")=>{const r=e?.themeSettings?.colors??{},o=e?.themeSettings?.border,n=e?.themeSettings?.shadow,s=e?.integrationSettings,i="dark"===t,a=(e,t,o,n)=>{const s=i?n:o;return r[i?t:e]||s},l=a("primaryLight","primaryDark","#ff4800","#ff4800");return{"--background":a("backgroundLight","backgroundDark","#fafafa","#0a0a0a"),"--foreground":a("foregroundLight","foregroundDark","#252629","#f5f5f5"),"--muted":a("mutedLight","mutedDark","#e5e5e5","#171717"),"--muted-foreground":a("mutedForegroundLight","mutedForegroundDark","#484848","#b5b8bb"),"--border":a("borderLight","borderDark","#dddddd","#353538"),"--input":a("inputLight","inputDark","#f5f5f5","#171717"),"--primary":l,"--primary-foreground":ho(l),"--popover":a("popoverLight","popoverDark","#f5f5f5","#171717"),"--popover-foreground":a("popoverForegroundLight","popoverForegroundDark","#252629","#fafafa"),"--info":a("infoLight","infoDark","#2563eb","#5b8def"),"--warning":a("warningLight","warningDark","#f59e0b","#fbbf24"),"--success":a("successLight","successDark","#10b981","#34d399"),"--destructive":a("destructiveLight","destructiveDark","#ef4444","#f87171"),"--border-width":`${o?.width||"1"}${o?.unit||"px"}`,"--radius":`${o?.radius||"10"}${o?.unit||"px"}`,"--shadow-outer-horizontal-offset":`${n?.outerHorizontalOffset||"0"}${n?.unit||_o}`,"--shadow-outer-vertical-offset":`${n?.outerVerticalOffset||"0"}${n?.unit||_o}`,"--shadow-outer-blur":`${n?.outerBlur||"0"}${n?.unit||_o}`,"--shadow-outer-spread":`${n?.outerSpread||"0"}${n?.unit||_o}`,"--font-family":Vt(s)}};export{$e as $,Dt as A,Ze as B,_t as C,k as Ct,Mt as D,ht as E,lt as F,Ke as G,Ye as H,it as I,Le as J,Oe as K,st as L,ft as M,pt as N,Ft as O,at as P,Ne as Q,tt as R,mt as S,y as St,wt as T,E as Tt,Ve as U,Je as V,We as W,Pe as X,Ce as Y,De as Z,Ct as _,le as _t,qt as a,Be as at,Ot as b,V as bt,$t as c,Ee as ct,Tt as d,de as dt,He as et,At as f,ce as ft,Et as g,fe as gt,yt as h,pe as ht,Wt as i,Qe as it,Pt as j,Nt as k,Ut as l,ke as lt,kt as m,he as mt,mo as n,Ie as nt,vt as o,Ae as ot,It as p,ae as pt,Fe as q,Kt as r,Me as rt,Gt as s,Se as st,fo as t,Re as tt,gt as u,ue as ut,Rt as v,H as vt,xt as w,o as wt,St as x,W as xt,Lt as y,I as yt,et as z};
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes