@nocobase/app 1.7.0-beta.9 → 1.8.0-beta.1
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/client/501.72b99d17.async.js +1 -0
- package/dist/client/5977.08716e4e.async.js +58 -0
- package/dist/client/index.html +1 -1
- package/dist/client/index.html.tpl +1 -1
- package/dist/client/npm._at_budibase.b1200847.async.js +36 -0
- package/dist/client/npm._at_dnd-kit.ebb2cc42.async.js +5 -0
- package/dist/client/npm._at_formily.f71b1c62.async.js +96 -0
- package/dist/client/{npm._at_rc-component.12d32a22.async.js → npm._at_rc-component.5f4cc5e2.async.js} +1 -1
- package/dist/client/{npm.dayjs.54ff5ad9.async.js → npm.dayjs.45ed1676.async.js} +1 -1
- package/dist/client/{npm.mermaid.42f5ed21.async.js → npm.mermaid.b398414f.async.js} +114 -114
- package/dist/client/{npm.rc-image.c695cc37.async.js → npm.rc-image.d550fa79.async.js} +1 -1
- package/dist/client/{npm.rc-menu.ab059b1c.async.js → npm.rc-menu.da4ef0ce.async.js} +1 -1
- package/dist/client/{npm.rc-select.6b32e443.async.js → npm.rc-select.44fb85b4.async.js} +1 -1
- package/dist/client/{npm.rc-tree.a1cc1b34.async.js → npm.rc-tree.49888c60.async.js} +1 -1
- package/dist/client/npm.sanitize-html.506a0a55.async.js +34 -0
- package/dist/client/npm.uuid.15e7bb90.async.js +1 -0
- package/dist/client/p__index.e8f58a9f.async.js +1665 -0
- package/dist/client/{umi.021ad53c.js → umi.a7d2d1d2.js} +16 -16
- package/package.json +6 -6
- package/dist/client/2167.a74bd66f.async.js +0 -58
- package/dist/client/501.e8db2401.async.js +0 -1
- package/dist/client/npm._at_budibase.4c85e362.async.js +0 -36
- package/dist/client/npm._at_dnd-kit.0058c596.async.js +0 -5
- package/dist/client/npm._at_formily.5f112117.async.js +0 -100
- package/dist/client/npm.sanitize-html.5dd1860c.async.js +0 -34
- package/dist/client/p__index.2fd148ac.async.js +0 -1600
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[501],{80501:function(N,m,e){e.r(m),e.d(m,{default:function(){return A}});var y=e(84203),p=e(34138),j=e.n(p),x=e(97857),C=e.n(x),o=e(4737);function k(u,I){o.o.initialize(C()({securityLevel:"loose"},I));function L(n){return n.split(/\s+/g)[0]}var l=u.renderer.rules.fence;function R(n,c,E,F,s){var v=n[c],f=v.info.trim(),H=f?L(f):"";if(["mermaid","{mermaid}"].indexOf(H)===-1)return l!==void 0?l(n,c,E,F,s):"";var g="",r=[],a=document.createElement("div");document.body.appendChild(a);try{var h="mermaid-container";o.o.mermaidAPI.render(h,v.content,function(d){var i=document.getElementById(h);i!==null&&r.push(["style","max-width:".concat(i.style.maxWidth,";max-height:").concat(i.style.maxHeight)]),g=d},a)}catch(d){return'<div class="alert alert-danger">'.concat(d,"</div>")}finally{a.remove()}return r.push(["src","data:image/svg+xml,".concat(encodeURIComponent(g))]),"<img ".concat(s.renderAttrs({attrs:r}),">")}u.renderer.rules.fence=R}var t=new y.Z({html:!0,linkify:!0,typographer:!0,breaks:!0});t.use(j()),t.use(k);var A=t}}]);
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[527],{11700:function(N,v,f){"use strict";var c=f(77218);N.exports=function(u,a){typeof u=="string"?u=[u]:Array.isArray(u)||(a=u,u=null),a=a||{};var e=a.handlebars||a.hbs||f(96750);if(N.exports.handlebars=e,u)u.forEach(function(r){e.registerHelper(c[r])});else for(const r in c){const t=c[r];e.registerHelper(t)}return e.helpers};for(const s in c){const u=c[s];N.exports[s]=function(a){a=a||{};var e=a.handlebars||a.hbs||f(96750);return N.exports.handlebars=e,e.registerHelper(u),u}}N.exports.utils=f(18849)},19886:function(N,v,f){"use strict";var c=f(6057),s=N.exports;const u=f(29946),a=f(54358);s.after=function(e,r){return c.isUndefined(e)?"":(e=c.result(e),Array.isArray(e)?e.slice(r):"")},s.arrayify=function(e){return c.isUndefined(e)?[]:e?Array.isArray(e)?e:[e]:[]},s.before=function(e,r){return c.isUndefined(e)?"":(e=c.result(e),Array.isArray(e)?e.slice(0,r-1):"")},s.eachIndex=function(e,r){var t="";if(c.isUndefined(e))return"";if(e=c.result(e),Array.isArray(e))for(var n=0;n<e.length;n++)t+=r.fn({item:e[n],index:n});return t},s.filter=function(e,r,t){if(c.isUndefined(e))return t.inverse(this);if(e=c.result(e),Array.isArray(e)){var n="",i=[],l=t.hash&&(t.hash.property||t.hash.prop);if(l?i=e.filter(function(b){return r===u(b,l)}):i=e.filter(function(b){return r===b}),i&&i.length>0){for(var d=0;d<i.length;d++)n+=t.fn(i[d]);return n}}return t.inverse(this)},s.first=function(e,r){return c.isUndefined(e)?[]:(e=c.result(e),Array.isArray(e)?isNaN(r)?e[0]:e.slice(0,r):[])},s.forEach=function(e,r){if(c.isUndefined(e))return r.inverse(this);if(e=c.result(e),Array.isArray(e)){for(var t=a(r,r.hash),n=e.length,i="",l=-1;++l<n;){var d=e[l];t.index=l,d.index=l+1,d.total=n,d.isFirst=l===0,d.isLast=l===n-1,i+=r.fn(d,{data:t})}return i}return r.inverse(this)},s.inArray=function(e,r,t){return c.isUndefined(e)?"":(e=c.result(e),Array.isArray(e)?c.value(c.indexOf(e,r)>-1,this,t):"")},s.isArray=function(e){return Array.isArray(e)},s.itemAt=function(e,r){if(c.isUndefined(e))return null;if(e=c.result(e),Array.isArray(e)){if(r=isNaN(r)?0:+r,r<0)return e[e.length+r];if(r<e.length)return e[r]}return null},s.join=function(e,r){return c.isUndefined(e)?"":typeof e=="string"?e:(e=c.result(e),Array.isArray(e)?(r=c.isString(r)?r:", ",e.join(r)):"")},s.equalsLength=function(e,r,t){c.isOptions(r)&&(t=r,r=0);var n=s.length(e);return c.value(n===r,this,t)},s.last=function(e,r){return c.isUndefined(e)||!Array.isArray(e)&&typeof value!="string"?"":isNaN(r)?e[e.length-1]:e.slice(-Math.abs(r))},s.length=function(e){return c.isUndefined(e)?0:(c.isObject(e)&&!c.isOptions(e)&&(e=Object.keys(e)),typeof e=="string"&&e.startsWith("[")&&e.endsWith("]")?e.split(",").length:typeof e=="string"||Array.isArray(e)?e.length:0)},s.lengthEqual=s.equalsLength,s.map=function(e,r){if(c.isUndefined(e)||!Array.isArray(e))return"";var t=e.length,n=new Array(t),i=-1;if(typeof r!="function")return e;for(;++i<t;)n[i]=r(e[i],i,e);return n},s.pluck=function(e,r){if(c.isUndefined(e))return"";if(e=c.result(e),Array.isArray(e)){for(var t=[],n=0;n<e.length;n++){var i=u(e[n],r);typeof i<"u"&&t.push(i)}return t}return""},s.reverse=function(e){return c.isUndefined(e)?"":(e=c.result(e),Array.isArray(e)?[...e].reverse():e&&typeof e=="string"?e.split("").reverse().join(""):"")},s.some=function(e,r,t){if(c.isUndefined(e))return t.inverse(this);if(e=c.result(e),Array.isArray(e)){for(var n=0;n<e.length;n++)if(r(e[n],n,e))return t.fn(this)}return t.inverse(this)},s.sort=function(e,r){return c.isUndefined(e)?"":(e=c.result(e),Array.isArray(e)?u(r,"hash.reverse")?[...e].sort().reverse():[...e].sort():"")},s.sortBy=function(e,r,t){if(c.isUndefined(e))return"";if(e=c.result(e),Array.isArray(e)){var n=[].slice.call(arguments);return n.pop(),!c.isString(r)&&typeof r!="function"?[...e].sort():typeof r=="function"?[...e].sort(r):[...e].sort((i,l)=>i[r]>l[r]?1:-1)}return""},s.withAfter=function(e,r,t){if(c.isUndefined(e))return"";if(e=c.result(e),Array.isArray(e)){e=e.slice(r);for(var n="",i=0;i<e.length;i++)n+=t.fn(e[i]);return n}return""},s.withBefore=function(e,r,t){if(c.isUndefined(e))return"";if(e=c.result(e),Array.isArray(e)){e=e.slice(0,-r);for(var n="",i=0;i<e.length;i++)n+=t.fn(e[i]);return n}return""},s.withFirst=function(e,r,t){if(c.isUndefined(e))return"";if(e=c.result(e),Array.isArray(e)){if(c.isUndefined(r)||(r=parseFloat(c.result(r))),c.isUndefined(r))return t=r,t.fn(e[0]);e=e.slice(0,r);for(var n="",i=0;i<e.length;i++)n+=t.fn(e[i]);return n}return""},s.withGroup=function(e,r,t){if(c.isUndefined(e))return"";var n="";if(e=c.result(e),Array.isArray(e)&&e.length>0){for(var i=[],l=0;l<e.length;l++)l>0&&l%r===0&&(n+=t.fn(i),i=[]),i.push(e[l]);n+=t.fn(i)}return n},s.withLast=function(e,r,t){if(c.isUndefined(e))return"";if(e=c.result(e),Array.isArray(e)){if(c.isUndefined(r)||(r=parseFloat(c.result(r))),c.isUndefined(r))return t=r,t.fn(e[e.length-1]);e=e.slice(-r);for(var n=e.length,i=-1,l="";++i<n;)l+=t.fn(e[i]);return l}return""},s.withSort=function(e,r,t){if(c.isUndefined(e))return"";if(e=c.result(e),Array.isArray(e)){var n="";if(c.isUndefined(r)){t=r,e=[...e].sort(),u(t,"hash.reverse")&&(e=e.reverse());for(var i=0,l=e.length;i<l;i++)n+=t.fn(e[i]);return n}e=[...e].sort(function(o,y){return o=u(o,r),y=u(y,r),o>y?1:o<y?-1:0}),u(t,"hash.reverse")&&(e=e.reverse());for(var d=e.length,b=-1;++b<d;)n+=t.fn(e[b]);return n}return""},s.unique=function(e,r){return c.isUndefined(e)?"":(e=c.result(e),Array.isArray(e)?e.filter(function(t,n,i){return i.indexOf(t)===n}):"")}},94841:function(N,v,f){"use strict";var c=f(59816),s=f(94612);const u=f(13319),a=f(12533);var e=N.exports;e.embed=function(t,n){n=typeof n!="string"?s.extname(t).slice(1):n;var i=c.readFileSync(t,"utf8");return(n==="markdown"||n==="md")&&(n="markdown",i=i.split("`").join("`")),u(i,n).trim()+`
|
|
2
|
-
`},e.gist=function(r){return a("script",{src:"https://gist.github.com/"+r+".js"})},e.jsfiddle=function(t){var n=Object.assign({},t&&t.hash);if(typeof n.id>"u")throw new Error("jsfiddle helper expects an `id`");return n.id="http://jsfiddle.net/"+n.id,n.width=n.width||"100%",n.height=n.height||"300",n.skin=n.skin||"/presentation/",n.tabs=(n.tabs||"result,js,html,css")+n.skin,n.src=n.id+"/embedded/"+n.tabs,n.allowfullscreen=n.allowfullscreen||"allowfullscreen",n.frameborder=n.frameborder||"0",delete n.tabs,delete n.skin,delete n.id,a("iframe",n)}},4361:function(N,v,f){"use strict";var c=f(6057),s=f(32975),u=f(19886),a=u.forEach,e=s.forOwn,r=N.exports;r.isEmpty=function(t,n){if(!c.isOptions(n))return n=t,c.fn(!0,this,n);if(Array.isArray(t)&&!t.length)return c.fn(!0,this,n);var i=Object.keys(t),l=typeof t=="object"&&!i.length;return c.value(l,this,n)},r.iterate=function(t,n){return Array.isArray(t)?a.apply(null,arguments):c.isObject(t)?e.apply(null,arguments):n.inverse(this)}},20954:function(N,v,f){"use strict";var c=f(13501),s=f(6057),u=f(18849);const a=f(3503),e=f(72219);var r=N.exports;r.and=function(){for(var t=arguments.length-1,n=arguments[t],i=!0,l=0;l<t;l++)if(!arguments[l]){i=!1;break}return s.value(i,this,n)},r.compare=function(t,n,i,l){if(arguments.length<4)throw new Error("handlebars Helper {{compare}} expects 4 arguments");var d;switch(n){case"==":d=t==i;break;case"===":d=t===i;break;case"!=":d=t!=i;break;case"!==":d=t!==i;break;case"<":d=t<i;break;case">":d=t>i;break;case"<=":d=t<=i;break;case">=":d=t>=i;break;case"typeof":d=typeof t===i;break;default:throw new Error("helper {{compare}}: invalid operator: `"+n+"`")}return s.value(d,this,l)},r.contains=function(t,n,i,l){typeof i=="object"&&(l=i,i=void 0);var d=u.contains(t,n,i);return s.value(d,this,l)},r.default=function(){for(var t=0;t<arguments.length-1;t++)if(arguments[t]!=null)return arguments[t];return""},r.eq=function(t,n,i){return arguments.length===2&&(i=n,n=i.hash.compare),s.value(t===n,this,i)},r.gt=function(t,n,i){return arguments.length===2&&(i=n,n=i.hash.compare),s.value(t>n,this,i)},r.gte=function(t,n,i){return arguments.length===2&&(i=n,n=i.hash.compare),s.value(t>=n,this,i)},r.has=function(t,n,i){return s.isOptions(t)&&(i=t,n=null,t=null),s.isOptions(n)&&(i=n,n=null),t===null?s.value(!1,this,i):arguments.length===2?s.value(c(this,t),this,i):(Array.isArray(t)||s.isString(t))&&s.isString(n)&&t.indexOf(n)>-1?s.fn(!0,this,i):s.isObject(t)&&s.isString(n)&&n in t?s.fn(!0,this,i):s.inverse(!1,this,i)},r.isFalsey=function(t,n){return s.value(a(t),this,n)},r.isTruthy=function(t,n){return s.value(!a(t),this,n)},r.ifEven=function(t,n){return s.value(!e(t),this,n)},r.ifNth=function(t,n,i){var l=!isNaN(t)&&!isNaN(n)&&n%t===0;return s.value(l,this,i)},r.ifOdd=function(t,n){return s.value(e(t),this,n)},r.is=function(t,n,i){return arguments.length===2&&(i=n,n=i.hash.compare),s.value(t==n,this,i)},r.isnt=function(t,n,i){return arguments.length===2&&(i=n,n=i.hash.compare),s.value(t!=n,this,i)},r.lt=function(t,n,i){return arguments.length===2&&(i=n,n=i.hash.compare),s.value(t<n,this,i)},r.lte=function(t,n,i){return arguments.length===2&&(i=n,n=i.hash.compare),s.value(t<=n,this,i)},r.neither=function(t,n,i){return s.value(!t&&!n,this,i)},r.not=function(t,n){return s.value(!t,this,n)},r.or=function(){for(var t=arguments.length-1,n=arguments[t],i=!1,l=0;l<t;l++)if(arguments[l]){i=!0;break}return s.value(i,this,n)},r.unlessEq=function(t,n,i){return s.isOptions(n)&&(i=n,n=i.hash.compare),s.value(t!==n,this,i)},r.unlessGt=function(t,n,i){return s.isOptions(n)&&(i=n,n=i.hash.compare),s.value(t<=n,this,i)},r.unlessLt=function(t,n,i){return s.isOptions(n)&&(i=n,n=i.hash.compare),s.value(t>=n,this,i)},r.unlessGteq=function(t,n,i){return s.isOptions(n)&&(i=n,n=i.hash.compare),s.value(t<n,this,i)},r.unlessLteq=function(t,n,i){return s.isOptions(n)&&(i=n,n=i.hash.compare),s.value(t>n,this,i)}},11691:function(N,v,f){"use strict";var c=f(94612),s=f(6057),u=f(59251),a=u.parseAttributes,e=N.exports;const r=f(12533);e.attr=function(t){var n=a(t&&t.hash||{});return n.trim()?" "+n:""},e.css=function(t,n){arguments.length<2&&(n=t,t=[]);var i=s.arrayify(t),l="";return this&&this.options&&(l=this.options.assets||""),n.hash.href&&(i=s.arrayify(n.hash.href)),i.map(function(d){var b=c.extname(d),o=d;return/(^\/\/)|(:\/\/)/.test(d)||(o=c.posix.join(l,d)),b===".less"?`<link type="text/css" rel="stylesheet/less" href="${o}">`:`<link type="text/css" rel="stylesheet" href="${o}">`}).join(`
|
|
3
|
-
`)},e.js=function(t){if(typeof t=="object"&&t.hash){var n=a(t.hash);return`<script${n?" "+n:""}><\/script>`}return typeof t=="string"?`<script src="${t}"><\/script>`:(t=s.arrayify(t),t.map(function(i){return c.extname(i)===".coffee"?r("script",{type:"text/coffeescript",src:i}):r("script",{src:i})}).join(`
|
|
4
|
-
`))},e.sanitize=function(t){return u.sanitize(t)},e.ul=function(t,n){return"<ul "+a(n.hash)+">"+t.map(function(i){return typeof i!="string"&&(i=n.fn(i)),"<li>"+i+"</li>"}).join(`
|
|
5
|
-
`)+"</ul>"},e.ol=function(t,n){return"<ol "+a(n.hash)+">"+t.map(function(i){return typeof i!="string"&&(i=n.fn(i)),"<li>"+i+"</li>"}).join(`
|
|
6
|
-
`)+"</ol>"},e.thumbnailImage=function(t){var n="",i="",l=t.full||!1,d={alt:t.alt,src:t.thumbnail,width:t.size.width,height:t.size.height},b={id:"image-"+t.id},o={href:l,rel:"thumbnail"};return t.classes&&(t.classes.image&&(d.class=t.classes.image.join(" ")),t.classes.figure&&(b.class=t.classes.figure.join(" ")),t.classes.link&&(o.class=t.classes.link.join(" "))),n+="<figure "+a(b)+`>
|
|
7
|
-
`,i+="<img "+a(d)+`>
|
|
8
|
-
`,l?n+="<a "+a(o)+`>
|
|
9
|
-
`+i+`</a>
|
|
10
|
-
`:n+=i,t.caption&&(n+="<figcaption>"+t.caption+`</figcaption>
|
|
11
|
-
`),n+="</figure>",n}},86205:function(N,v,f){"use strict";var c=f(6057),s=N.exports;const u=f(29946);s.i18n=function(a,e,r){if(c.isOptions(e)&&(r=e,e={}),!c.isString(a))throw new Error('{{i18n}} helper expected "key" to be a string');var t=c.options(this,e,r),n=Object.assign({},this,t),i=n.language||n.lang;if(typeof i!="string")throw new TypeError('{{i18n}} helper expected "language" to be a string');var l=n[i];if(typeof l>"u")throw new Error('{{i18n}} helper cannot find language "'+i+'"');var d=u(l,a);if(typeof d>"u")throw new Error('{{i18n}} helper cannot find property "'+a+'" for language "'+i+'"');return d}},77218:function(N,v,f){"use strict";N.exports={array:f(19886),code:f(94841),collection:f(4361),comparison:f(20954),html:f(11691),i18n:f(86205),inflection:f(74914),match:f(20952),math:f(36231),misc:f(71469),number:f(29389),object:f(32975),path:f(52951),regex:f(34996),string:f(27845),url:f(21769),uuid:f(95936)}},74914:function(N,v,f){"use strict";var c=f(6057),s=N.exports;s.inflect=function(u,a,e,r){var t=u>1||u===0?e:a;return r===!0?String(u)+" "+t:t},s.ordinalize=function(u){var a=Math.abs(Math.round(u)),e=String(u),r=a%100;if(c.indexOf([11,12,13],r)>=0)return e+"th";switch(a%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd";default:return e+"th"}}},22194:function(N){const v=`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta.
|
|
12
|
-
|
|
13
|
-
Crase tempor malesuada magna a vehicula. Nam sollicitudin vel turpis id fermentum. Ut sit amet nisl ac nulla vulputate ultrices vitae vitae urna. Quisque eget odio ac lectus vestibulum faucibus eget in metus. In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus tortor. Nulla facilisi. Donec vulputate interdum sollicitudin. Nunc lacinia auctor quam sed pellentesque. Aliquam dui mauris, mattis quis lacus id, pellentesque lobortis odio.
|
|
14
|
-
|
|
15
|
-
Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede. Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis. Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi. Praesent id justo in neque elementum ultrices. Sed malesuada augue eu sapien sodales congue. Nam ut dui. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi. Proin vel ante a orci tempus eleifend ut et magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In condimentum facilisis porta. Sed nec diam eu diam mattis viverra. Nulla fringilla, orci ac euismod semper, magna diam porttitor mauris, quis sollicitudin sapien justo in libero. Vestibulum mollis mauris enim. Morbi euismod magna ac lorem rutrum elementum. Donec viverra auctor lobortis. Pellentesque eu est a nulla placerat dignissim. Morbi a enim in magna semper bibendum. Etiam scelerisque, nunc ac egestas consequat, odio nibh euismod nulla, eget auctor orci nibh vel nisi. Aliquam erat volutpat. Sed quis velit. Nulla facilisi. Nulla libero. Vivamus fermentum nibh in augue. Praesent a lacus at urna congue rutrum. Nulla enim eros, porttitor eu, tempus id, varius non, nibh. Vestibulum imperdiet nibh vel magna lacinia ultrices. Sed id ligula quis est convallis tempor.
|
|
16
|
-
|
|
17
|
-
Aliquam erat volutpat. Integer aliquam ultrices nunc. Ut lectus dui, tincidunt ac, scelerisque ac, ultrices vitae, risus. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat. Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur vehicula nisi a magna. Sed nec libero. Phasellus nonummy magna. Sed et libero nec ligula blandit fringilla. Ut pretium tempus gravida. Proin lacinia justo vel ipsum varius eget auctor est iaculis.
|
|
18
|
-
|
|
19
|
-
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce luctus vestibulum augue ut aliquet. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta.
|
|
20
|
-
|
|
21
|
-
Nam dui erat, auctor a, dignissim quis. Aenean dignissim pellentesque felis. Sed gravida ante at nunc dictum placerat. Donec placerat nisl magna, et faucibus arcu condimentum sed. Curabitur et eros ac orci vehicula vestibulum sit amet at nunc. Maecenas non diam cursus, tincidunt nisi vitae, hendrerit enim. Donec vulputate felis id felis dapibus fermentum.
|
|
22
|
-
|
|
23
|
-
Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede. Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis. Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi. Praesent id justo in neque elementum ultrices. Sed malesuada augue eu sapien sodales congue. Nam ut dui. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi.
|
|
24
|
-
|
|
25
|
-
Pellentesque sit amet mauris eget lectus commodo viverra. Donec vulputate interdum sollicitudin. Nunc lacinia auctor quam sed pellentesque. Aliquam dui mauris, mattis quis lacus id, pellentesque lobortis odio. Cras ultricies ligula sed magna dictum porta. Curabitur aliquet quam id dui posuere blandit. Nulla porttitor accumsan tincidunt. Donec sollicitudin molestie malesuada. Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem. Sed porttitor lectus nibh. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui.
|
|
26
|
-
|
|
27
|
-
Cras ultricies ligula sed magna dictum porta. Donec rutrum congue leo eget malesuada. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Curabitur aliquet quam id dui posuere blandit. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Pellentesque in ipsum id orci porta dapibus. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Donec rutrum congue leo eget malesuada. Vivamus suscipit tortor eget felis porttitor volutpat. Nulla porttitor accumsan tincidunt.
|
|
28
|
-
|
|
29
|
-
Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta. Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Curabitur aliquet quam id dui posuere blandit.
|
|
30
|
-
|
|
31
|
-
Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta. Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus.
|
|
32
|
-
|
|
33
|
-
Curabitur aliquet quam id dui posuere blandit. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Pellentesque in ipsum id orci porta dapibus. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta. Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Curabitur aliquet quam id dui posuere blandit. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui.`;N.exports=v},20952:function(N,v,f){"use strict";var c=f(6057),s=N.exports;const u=f(19498);s.match=function(a,e,r,t){var n=c.options(this,r,t);return typeof e=="string"&&(e=e.split(/, */)),u(a,e,n)},s.isMatch=function(a,e,r,t){var n=c.options(this,r,t);return u.isMatch(a,e,n)},s.mm=function(){return console.log("the {{mm}} helper is depcrecated and will be removed"),console.log("in handlebars-helpers v1.0.0, please use the {{match}}"),console.log("helper instead."),s.match.apply(this,arguments)}},36231:function(N,v,f){"use strict";var c=f(18849),s=N.exports;s.abs=function(u){if(isNaN(u))throw new TypeError("expected a number");return Math.abs(u)},s.add=function(u,a){return!isNaN(u)&&!isNaN(a)?Number(u)+Number(a):typeof u=="string"&&typeof a=="string"?u+a:""},s.avg=function(){const u=[].concat.apply([],arguments);return u.pop(),s.sum(u)/u.length},s.ceil=function(u){if(isNaN(u))throw new TypeError("expected a number");return Math.ceil(u)},s.divide=function(u,a){if(isNaN(u))throw new TypeError("expected the first argument to be a number");if(isNaN(a))throw new TypeError("expected the second argument to be a number");return Number(u)/Number(a)},s.floor=function(u){if(isNaN(u))throw new TypeError("expected a number");return Math.floor(u)},s.minus=function(u,a){if(isNaN(u))throw new TypeError("expected the first argument to be a number");if(isNaN(a))throw new TypeError("expected the second argument to be a number");return Number(u)-Number(a)},s.modulo=function(u,a){if(isNaN(u))throw new TypeError("expected the first argument to be a number");if(isNaN(a))throw new TypeError("expected the second argument to be a number");return Number(u)%Number(a)},s.multiply=function(u,a){if(isNaN(u))throw new TypeError("expected the first argument to be a number");if(isNaN(a))throw new TypeError("expected the second argument to be a number");return Number(u)*Number(a)},s.plus=function(u,a){if(isNaN(u))throw new TypeError("expected the first argument to be a number");if(isNaN(a))throw new TypeError("expected the second argument to be a number");return Number(u)+Number(a)},s.random=function(u,a){if(isNaN(u))throw new TypeError("expected minimum to be a number");if(isNaN(a))throw new TypeError("expected maximum to be a number");return c.random(u,a)},s.remainder=function(u,a){return u%a},s.round=function(u){if(isNaN(u))throw new TypeError("expected a number");return Math.round(u)},s.subtract=function(u,a){if(isNaN(u))throw new TypeError("expected the first argument to be a number");if(isNaN(a))throw new TypeError("expected the second argument to be a number");return Number(u)-Number(a)},s.sum=function(){for(var u=[].concat.apply([],arguments),a=u.length,e=0;a--;)isNaN(u[a])||(e+=Number(u[a]));return e}},71469:function(N,v,f){"use strict";var c=f(6057),s=N.exports;const u=f(29946),a=f(54358);s.frame=function(e,r){typeof e=="object"&&e.hash&&(r=e,e=r.data);var t=a(e);return typeof r!="object"&&(r={}),t.extend(r.hash),r.fn(this,{data:t})},s.option=function(e,r,t){return u(c.options(this,r,t),e)},s.noop=function(e){return e.fn(this)},s.typeOf=function(e){return typeof e},s.withHash=function(e){return e.hash&&Object.keys(e.hash).length?e.fn(e.hash):e.inverse(this)}},29389:function(N,v,f){"use strict";var c=f(6057),s=N.exports;s.bytes=function(u,a,e){if(u==null||isNaN(u)&&(u=u.length,!u))return"0 B";isNaN(a)&&(a=2);var r=["B","kB","MB","GB","TB","PB","EB","ZB","YB"];a=Math.pow(10,a),u=Number(u);for(var t=r.length-1;t-->=0;){var n=Math.pow(10,t*3);if(n<=u+1){u=Math.round(u*a/n)/a,u+=" "+r[t];break}}return u},s.addCommas=function(u){return u.toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,")},s.phoneNumber=function(u){return u=u.toString(),"("+u.substr(0,3)+") "+u.substr(3,3)+"-"+u.substr(6,4)},s.toAbbr=function(u,a){isNaN(u)&&(u=0),c.isUndefined(a)&&(a=2),u=Number(u),a=Math.pow(10,a);for(var e=["k","m","b","t","q"],r=e.length-1;r>=0;){var t=Math.pow(10,(r+1)*3);if(t<=u+1){u=Math.round(u*a/t)/a,u+=e[r];break}r--}return u},s.toExponential=function(u,a){return isNaN(u)&&(u=0),c.isUndefined(a)&&(a=0),Number(u).toExponential(a)},s.toFixed=function(u,a){return isNaN(u)&&(u=0),isNaN(a)&&(a=0),Number(u).toFixed(a)},s.toFloat=function(u){return parseFloat(u)},s.toInt=function(u){return parseInt(u,10)},s.toPrecision=function(u,a){return isNaN(u)&&(u=0),isNaN(a)&&(a=1),Number(u).toPrecision(a)}},32975:function(N,v,f){"use strict";var c=Object.hasOwnProperty,s=f(6057),u=f(19886),a=N.exports;const e=f(29946),r=f(69391),t=f(54358);a.extend=function(){var n=[].slice.call(arguments),i={};s.isOptions(n[n.length-1])&&(i=n.pop().hash,n.push(i));for(var l={},d=0;d<n.length;d++){var b=n[d];if(s.isObject(b))for(var o=Object.keys(b),y=0;y<o.length;y++){var m=o[y];l[m]=b[m]}}return l},a.forIn=function(n,i){if(!s.isOptions(i))return n.inverse(this);var l=t(i,i.hash),d="";for(var b in n)l.key=b,d+=i.fn(n[b],{data:l});return d},a.forOwn=function(n,i){if(!s.isOptions(i))return n.inverse(this);var l=t(i,i.hash),d="";for(var b in n)n.hasOwnProperty(b)&&(l.key=b,d+=i.fn(n[b],{data:l}));return d},a.toPath=function(){for(var n=[],i=0;i<arguments.length;i++)(typeof arguments[i]=="string"||typeof arguments[i]=="number")&&n.push(arguments[i]);return n.join(".")},a.get=function(n,i,l){var d=e(i,n);return l&&l.fn?d?l.fn(d):l.inverse(i):d},a.getObject=function(n,i){return r(i,n)},a.hasOwn=function(n,i){return c.call(n,i)},a.isObject=function(n){return typeof n=="object"},a.JSONparse=function(n,i){return JSON.parse(n)},a.JSONstringify=function(n,i){return isNaN(i)&&(i=0),JSON.stringify(n,null,i)},a.merge=function(n){var i=[].slice.call(arguments),l={};return s.isOptions(i[i.length-1])&&(l=i.pop().hash,i.push(l)),Object.assign.apply(null,i)},a.parseJSON=a.JSONparse,a.pick=function(n,i,l){for(var d=u.arrayify(n),b=d.length,o=-1,y={};++o<b;)y=a.extend({},y,r(i,d[o]));return l.fn?Object.keys(y).length?l.fn(y):l.inverse(i):y},a.stringify=a.JSONstringify},52951:function(N,v,f){"use strict";var c=f(34155),s=f(6057),u=f(94612);const a=f(45824);var e=N.exports;e.absolute=function(r,t){t=t||{data:{}};var n=s.options(this,t),i=Object.assign({},t.data.root,n),l=i.cwd||c.cwd();return u.resolve(l,r)},e.dirname=function(r,t){if(typeof r!="string")throw new TypeError(s.expectedType("filepath","string",r));return u.dirname(r)},e.relative=function(r,t){if(typeof r!="string")throw new TypeError(s.expectedType("first path","string",r));if(typeof t!="string")throw new TypeError(s.expectedType("second path","string",t));return a(r,t)},e.basename=function(r){if(typeof r!="string")throw new TypeError(s.expectedType("filepath","string",r));return u.basename(r)},e.stem=function(r){if(typeof r!="string")throw new TypeError(s.expectedType("filepath","string",r));return u.basename(r,u.extname(r))},e.extname=function(r){if(typeof r!="string")throw new TypeError(s.expectedType("filepath","string",r));return u.extname(r)},e.resolve=function(r){var t=[].slice.call(arguments),n=s.options(this,t.pop()),i=u.resolve(n.cwd||c.cwd());return t.unshift(i),u.resolve.apply(u,t)},e.segments=function(r,t,n){if(typeof r!="string")throw new TypeError(s.expectedType("filepath","string",r));var i=r.split(/[\\\/]+/);return i.slice(t,n).join("/")}},34996:function(N,v,f){"use strict";var c=f(6057),s=N.exports;const u=f(26401);s.toRegex=function(a,e,r){var t=c.options({},e,r);return new RegExp(a,t.flags)},s.test=function(a,e){if(typeof a!="string")return!1;if(u(e)!=="regexp")throw new TypeError("expected a regular expression");return e.test(a)}},27845:function(N,v,f){"use strict";var c=f(6057),s=f(18849),u=N.exports;let a=f(22194);u.append=function(e,r){return typeof e=="string"&&typeof r=="string"?e+r:e},u.camelcase=function(e){return typeof e!="string"?"":s.changecase(e,function(r){return r.toUpperCase()})},u.capitalize=function(e){return typeof e!="string"?"":e.charAt(0).toUpperCase()+e.slice(1)},u.capitalizeAll=function(e){if(typeof e!="string")return"";if(c.isString(e))return e.replace(/\w\S*/g,function(r){return u.capitalize(r)})},u.center=function(e,r){if(typeof e!="string")return"";for(var t="",n=0;n<r;)t+=" ",n++;return t+e+t},u.chop=function(e){return typeof e!="string"?"":s.chop(e)},u.dashcase=function(e){return typeof e!="string"?"":s.changecase(e,function(r){return"-"+r})},u.dotcase=function(e){return typeof e!="string"?"":s.changecase(e,function(r){return"."+r})},u.downcase=function(){return u.lowercase.apply(this,arguments)},u.ellipsis=function(e,r){if(c.isString(e))return e.length<=r?e:u.truncate(e,r)+"\u2026"},u.hyphenate=function(e){return typeof e!="string"?"":e.split(" ").join("-")},u.isString=function(e){return typeof e=="string"},u.lowercase=function(e){return c.isObject(e)&&e.fn?e.fn(this).toLowerCase():typeof e!="string"?"":e.toLowerCase()},u.occurrences=function(e,r){if(typeof e!="string")return"";for(var t=r.length,n=0,i=0;(n=e.indexOf(r,n))>-1;)i++,n+=t;return i},u.pascalcase=function(e){return typeof e!="string"?"":(e=s.changecase(e,function(r){return r.toUpperCase()}),e.charAt(0).toUpperCase()+e.slice(1))},u.pathcase=function(e){return typeof e!="string"?"":s.changecase(e,function(r){return"/"+r})},u.plusify=function(e,r){return typeof e!="string"?"":(c.isString(r)||(r=" "),e.split(r).join("+"))},u.prepend=function(e,r){return typeof e=="string"&&typeof r=="string"?r+e:e},u.raw=function(e){var r=e.fn(),t=c.options(this,e);if(t.escape!==!1)for(var n=0;(n=r.indexOf("{{",n))!==-1;)r[n-1]!=="\\"&&(r=r.slice(0,n)+"\\"+r.slice(n)),n+=3;return r},u.remove=function(e,r){return typeof e!="string"?"":c.isString(r)?e.split(r).join(""):e},u.removeFirst=function(e,r){return typeof e!="string"?"":c.isString(r)?e.replace(r,""):e},u.replace=function(e,r,t){return typeof e!="string"?"":c.isString(r)?(c.isString(t)||(t=""),e.split(r).join(t)):e},u.replaceFirst=function(e,r,t){return typeof e!="string"?"":c.isString(r)?(c.isString(t)||(t=""),e.replace(r,t)):e},u.reverse=f(19886).reverse,u.sentence=function(e){return typeof e!="string"?"":e.replace(/((?:\S[^\.\?\!]*)[\.\?\!]*)/g,function(r){return r.charAt(0).toUpperCase()+r.substr(1).toLowerCase()})},u.snakecase=function(e){return typeof e!="string"?"":s.changecase(e,function(r){return"_"+r})},u.split=function(e,r){return typeof e!="string"?"":(c.isString(r)||(r=","),e.split(r))},u.startsWith=function(e,r,t){var n=[].slice.call(arguments);return t=n.pop(),c.isString(r)&&r.indexOf(e)===0?t.fn(this):typeof t.inverse=="function"?t.inverse(this):""},u.titleize=function(e){if(typeof e!="string")return"";for(var r=e.replace(/[- _]+/g," "),t=r.split(" "),n=t.length,i=[],l=0;n--;){var d=t[l++];i.push(v.capitalize(d))}return i.join(" ")},u.trim=function(e){return typeof e=="string"?e.trim():""},u.trimLeft=function(e){if(c.isString(e))return e.replace(/^\s+/,"")},u.trimRight=function(e){if(c.isString(e))return e.replace(/\s+$/,"")},u.truncate=function(e,r,t){if(c.isString(e))return typeof t!="string"&&(t=""),e.length>r?e.slice(0,r-t.length)+t:e},u.truncateWords=function(e,r,t){if(c.isString(e)&&!isNaN(r)){typeof t!="string"&&(t="\u2026");var n=Number(r),i=e.split(/[ \t]/);if(n>=i.length)return e;i=i.slice(0,n);var l=i.join(" ").trim();return l+t}},u.upcase=function(){return u.uppercase.apply(this,arguments)},u.uppercase=function(e){return c.isObject(e)&&e.fn?e.fn(this).toUpperCase():typeof e!="string"?"":e.toUpperCase()},u.lorem=function(e){return(isNaN(e)||e<1||!e)&&(e=11),a.substring(0,e)}},21769:function(N,v,f){"use strict";var c=f(8575),s=f(6057),u=f(87735),a=N.exports;a.encodeURI=function(e){if(s.isString(e))return encodeURIComponent(e)},a.escape=function(e){if(s.isString(e))return u.escape(e)},a.decodeURI=function(e){if(s.isString(e))return decodeURIComponent(e)},a.urlResolve=function(e,r){return c.resolve(e,r)},a.urlParse=function(e){return c.parse(e)},a.stripQuerystring=function(e){if(s.isString(e))return e.split("?")[0]},a.stripProtocol=function(e){if(s.isString(e)){var r=c.parse(e);return r.protocol="",r.format()}}},54358:function(N){"use strict";N.exports=function(f){if(typeof f!="object")throw new TypeError("createFrame expects data to be an object");var c=Object.assign({},f);if(c._parent=f,c.extend=function(e){Object.assign(this,e)},arguments.length>1)for(var s=[].slice.call(arguments,1),u=s.length,a=-1;++a<u;)c.extend(s[a]||{});return c}},3503:function(N){"use strict";function v(f,c){if(!f)return!0;let s=c||v.keywords;Array.isArray(s)||(s=[s]);const u=typeof f=="string"?f.toLowerCase():null;for(const a of s)if(a===f||a===u)return!0;return!1}v.keywords=["0","false","nada","nil","nay","nah","negative","no","none","nope","nul","null","nix","nyet","uh-uh","veto","zero"],N.exports=v},59251:function(N,v,f){"use strict";var c=f(6057),s=f(62393),u=N.exports;u.condense=function(a){return a.replace(/(\r\n|\r|\n|\u2028|\u2029) {2,}/g,`
|
|
34
|
-
`)},u.padcomments=function(a){return a.replace(/(\s*<!--)/g,`
|
|
35
|
-
$1`)},u.parseAttributes=function(e){return Object.keys(e).map(function(r){var t=String(e[r]).replace(/^['"]|["']$/g,"");return r+'="'+t+'"'}).join(" ")},u.sanitize=function(a){return c.isString(a)?s(a).trim():""},u.toAttributes=function(e){for(var r="",t=Object.keys(e),n=0;n<t.length;n++){var i=e[t[n]];i===!0?r+=" "+t[n]:r+=" "+t[n]+'="'+String(i)+'"'}return r}},18849:function(N,v,f){"use strict";const c=f(6057);v.contains=function(s,u,a){return s==null||u==null||isNaN(s.length)?!1:s.indexOf(u,a)!==-1},v.chop=function(s){if(typeof s!="string")return"";var u=/^[-_.\W\s]+|[-_.\W\s]+$/g;return s.trim().replace(u,"")},v.changecase=function(s,u){if(typeof s!="string")return"";if(s.length===1)return s.toLowerCase();s=v.chop(s).toLowerCase(),typeof u!="function"&&(u=c.identity);var a=/[-_.\W\s]+(\w|$)/g;return s.replace(a,function(e,r){return u(r)})},v.random=function(s,u){return s+Math.floor(Math.random()*(u-s+1))}},72219:function(N){"use strict";N.exports=function(f){const c=Math.abs(f);if(isNaN(c))throw new TypeError("expected a number");if(!Number.isInteger(c))throw new Error("expected an integer");if(!Number.isSafeInteger(c))throw new Error("value exceeds maximum safe integer");return c%2===1}},95936:function(N,v,f){const c=f(92996),s=N.exports;s.uuid=function(){return c.v4()}},68527:function(N,v,f){"use strict";const c=f(59743),s=f(78337),u=f(86582),a=f(11834),e=(r,t={})=>{let n=[];if(Array.isArray(r))for(const i of r){const l=e.create(i,t);Array.isArray(l)?n.push(...l):n.push(l)}else n=[].concat(e.create(r,t));return t&&t.expand===!0&&t.nodupes===!0&&(n=[...new Set(n)]),n};e.parse=(r,t={})=>a(r,t),e.stringify=(r,t={})=>c(typeof r=="string"?e.parse(r,t):r,t),e.compile=(r,t={})=>(typeof r=="string"&&(r=e.parse(r,t)),s(r,t)),e.expand=(r,t={})=>{typeof r=="string"&&(r=e.parse(r,t));let n=u(r,t);return t.noempty===!0&&(n=n.filter(Boolean)),t.nodupes===!0&&(n=[...new Set(n)]),n},e.create=(r,t={})=>r===""||r.length<3?[r]:t.expand!==!0?e.compile(r,t):e.expand(r,t),N.exports=e},78337:function(N,v,f){"use strict";const c=f(38154),s=f(79963),u=(a,e={})=>{const r=(t,n={})=>{const i=s.isInvalidBrace(n),l=t.invalid===!0&&e.escapeInvalid===!0,d=i===!0||l===!0,b=e.escapeInvalid===!0?"\\":"";let o="";if(t.isOpen===!0)return b+t.value;if(t.isClose===!0)return console.log("node.isClose",b,t.value),b+t.value;if(t.type==="open")return d?b+t.value:"(";if(t.type==="close")return d?b+t.value:")";if(t.type==="comma")return t.prev.type==="comma"?"":d?t.value:"|";if(t.value)return t.value;if(t.nodes&&t.ranges>0){const y=s.reduce(t.nodes),m=c(...y,{...e,wrap:!1,toRegex:!0,strictZeros:!0});if(m.length!==0)return y.length>1&&m.length>1?`(${m})`:m}if(t.nodes)for(const y of t.nodes)o+=r(y,t);return o};return r(a)};N.exports=u},2223:function(N){"use strict";N.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
|
|
36
|
-
`,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}},86582:function(N,v,f){"use strict";const c=f(38154),s=f(59743),u=f(79963),a=(r="",t="",n=!1)=>{const i=[];if(r=[].concat(r),t=[].concat(t),!t.length)return r;if(!r.length)return n?u.flatten(t).map(l=>`{${l}}`):t;for(const l of r)if(Array.isArray(l))for(const d of l)i.push(a(d,t,n));else for(let d of t)n===!0&&typeof d=="string"&&(d=`{${d}}`),i.push(Array.isArray(d)?a(l,d,n):l+d);return u.flatten(i)},e=(r,t={})=>{const n=t.rangeLimit===void 0?1e3:t.rangeLimit,i=(l,d={})=>{l.queue=[];let b=d,o=d.queue;for(;b.type!=="brace"&&b.type!=="root"&&b.parent;)b=b.parent,o=b.queue;if(l.invalid||l.dollar){o.push(a(o.pop(),s(l,t)));return}if(l.type==="brace"&&l.invalid!==!0&&l.nodes.length===2){o.push(a(o.pop(),["{}"]));return}if(l.nodes&&l.ranges>0){const g=u.reduce(l.nodes);if(u.exceedsLimit(...g,t.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let p=c(...g,t);p.length===0&&(p=s(l,t)),o.push(a(o.pop(),p)),l.nodes=[];return}const y=u.encloseBrace(l);let m=l.queue,h=l;for(;h.type!=="brace"&&h.type!=="root"&&h.parent;)h=h.parent,m=h.queue;for(let g=0;g<l.nodes.length;g++){const p=l.nodes[g];if(p.type==="comma"&&l.type==="brace"){g===1&&m.push(""),m.push("");continue}if(p.type==="close"){o.push(a(o.pop(),m,y));continue}if(p.value&&p.type!=="open"){m.push(a(m.pop(),p.value));continue}p.nodes&&i(p,l)}return m};return u.flatten(i(r))};N.exports=e},11834:function(N,v,f){"use strict";const c=f(59743),{MAX_LENGTH:s,CHAR_BACKSLASH:u,CHAR_BACKTICK:a,CHAR_COMMA:e,CHAR_DOT:r,CHAR_LEFT_PARENTHESES:t,CHAR_RIGHT_PARENTHESES:n,CHAR_LEFT_CURLY_BRACE:i,CHAR_RIGHT_CURLY_BRACE:l,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_RIGHT_SQUARE_BRACKET:b,CHAR_DOUBLE_QUOTE:o,CHAR_SINGLE_QUOTE:y,CHAR_NO_BREAK_SPACE:m,CHAR_ZERO_WIDTH_NOBREAK_SPACE:h}=f(2223),g=(p,A={})=>{if(typeof p!="string")throw new TypeError("Expected a string");const w=A||{},C=typeof w.maxLength=="number"?Math.min(s,w.maxLength):s;if(p.length>C)throw new SyntaxError(`Input length (${p.length}), exceeds max characters (${C})`);const R={type:"root",input:p,nodes:[]},S=[R];let E=R,x=R,H=0;const M=p.length;let I=0,L=0,O;const j=()=>p[I++],U=T=>{if(T.type==="text"&&x.type==="dot"&&(x.type="text"),x&&x.type==="text"&&T.type==="text"){x.value+=T.value;return}return E.nodes.push(T),T.parent=E,T.prev=x,x=T,T};for(U({type:"bos"});I<M;)if(E=S[S.length-1],O=j(),!(O===h||O===m)){if(O===u){U({type:"text",value:(A.keepEscaping?O:"")+j()});continue}if(O===b){U({type:"text",value:"\\"+O});continue}if(O===d){H++;let T;for(;I<M&&(T=j());){if(O+=T,T===d){H++;continue}if(T===u){O+=j();continue}if(T===b&&(H--,H===0))break}U({type:"text",value:O});continue}if(O===t){E=U({type:"paren",nodes:[]}),S.push(E),U({type:"text",value:O});continue}if(O===n){if(E.type!=="paren"){U({type:"text",value:O});continue}E=S.pop(),U({type:"text",value:O}),E=S[S.length-1];continue}if(O===o||O===y||O===a){const T=O;let P;for(A.keepQuotes!==!0&&(O="");I<M&&(P=j());){if(P===u){O+=P+j();continue}if(P===T){A.keepQuotes===!0&&(O+=P);break}O+=P}U({type:"text",value:O});continue}if(O===i){L++;const P={type:"brace",open:!0,close:!1,dollar:x.value&&x.value.slice(-1)==="$"||E.dollar===!0,depth:L,commas:0,ranges:0,nodes:[]};E=U(P),S.push(E),U({type:"open",value:O});continue}if(O===l){if(E.type!=="brace"){U({type:"text",value:O});continue}const T="close";E=S.pop(),E.close=!0,U({type:T,value:O}),L--,E=S[S.length-1];continue}if(O===e&&L>0){if(E.ranges>0){E.ranges=0;const T=E.nodes.shift();E.nodes=[T,{type:"text",value:c(E)}]}U({type:"comma",value:O}),E.commas++;continue}if(O===r&&L>0&&E.commas===0){const T=E.nodes;if(L===0||T.length===0){U({type:"text",value:O});continue}if(x.type==="dot"){if(E.range=[],x.value+=O,x.type="range",E.nodes.length!==3&&E.nodes.length!==5){E.invalid=!0,E.ranges=0,x.type="text";continue}E.ranges++,E.args=[];continue}if(x.type==="range"){T.pop();const P=T[T.length-1];P.value+=x.value+O,x=P,E.ranges--;continue}U({type:"dot",value:O});continue}U({type:"text",value:O})}do if(E=S.pop(),E.type!=="root"){E.nodes.forEach(D=>{D.nodes||(D.type==="open"&&(D.isOpen=!0),D.type==="close"&&(D.isClose=!0),D.nodes||(D.type="text"),D.invalid=!0)});const T=S[S.length-1],P=T.nodes.indexOf(E);T.nodes.splice(P,1,...E.nodes)}while(S.length>0);return U({type:"eos"}),R};N.exports=g},59743:function(N,v,f){"use strict";const c=f(79963);N.exports=(s,u={})=>{const a=(e,r={})=>{const t=u.escapeInvalid&&c.isInvalidBrace(r),n=e.invalid===!0&&u.escapeInvalid===!0;let i="";if(e.value)return(t||n)&&c.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(const l of e.nodes)i+=a(l);return i};return a(s)}},79963:function(N,v){"use strict";v.isInteger=f=>typeof f=="number"?Number.isInteger(f):typeof f=="string"&&f.trim()!==""?Number.isInteger(Number(f)):!1,v.find=(f,c)=>f.nodes.find(s=>s.type===c),v.exceedsLimit=(f,c,s=1,u)=>u===!1||!v.isInteger(f)||!v.isInteger(c)?!1:(Number(c)-Number(f))/Number(s)>=u,v.escapeNode=(f,c=0,s)=>{const u=f.nodes[c];u&&(s&&u.type===s||u.type==="open"||u.type==="close")&&u.escaped!==!0&&(u.value="\\"+u.value,u.escaped=!0)},v.encloseBrace=f=>f.type!=="brace"||f.commas>>0+f.ranges>>0?!1:(f.invalid=!0,!0),v.isInvalidBrace=f=>f.type!=="brace"?!1:f.invalid===!0||f.dollar?!0:!(f.commas>>0+f.ranges>>0)||f.open!==!0||f.close!==!0?(f.invalid=!0,!0):!1,v.isOpenOrClose=f=>f.type==="open"||f.type==="close"?!0:f.open===!0||f.close===!0,v.reduce=f=>f.reduce((c,s)=>(s.type==="text"&&c.push(s.value),s.type==="range"&&(s.type="text"),c),[]),v.flatten=(...f)=>{const c=[],s=u=>{for(let a=0;a<u.length;a++){const e=u[a];if(Array.isArray(e)){s(e);continue}e!==void 0&&c.push(e)}return c};return s(f),c}},38154:function(N,v,f){"use strict";const c=f(89539),s=f(45702),u=w=>w!==null&&typeof w=="object"&&!Array.isArray(w),a=w=>C=>w===!0?Number(C):String(C),e=w=>typeof w=="number"||typeof w=="string"&&w!=="",r=w=>Number.isInteger(+w),t=w=>{let C=`${w}`,R=-1;if(C[0]==="-"&&(C=C.slice(1)),C==="0")return!1;for(;C[++R]==="0";);return R>0},n=(w,C,R)=>typeof w=="string"||typeof C=="string"?!0:R.stringify===!0,i=(w,C,R)=>{if(C>0){let S=w[0]==="-"?"-":"";S&&(w=w.slice(1)),w=S+w.padStart(S?C-1:C,"0")}return R===!1?String(w):w},l=(w,C)=>{let R=w[0]==="-"?"-":"";for(R&&(w=w.slice(1),C--);w.length<C;)w="0"+w;return R?"-"+w:w},d=(w,C,R)=>{w.negatives.sort((M,I)=>M<I?-1:M>I?1:0),w.positives.sort((M,I)=>M<I?-1:M>I?1:0);let S=C.capture?"":"?:",E="",x="",H;return w.positives.length&&(E=w.positives.map(M=>l(String(M),R)).join("|")),w.negatives.length&&(x=`-(${S}${w.negatives.map(M=>l(String(M),R)).join("|")})`),E&&x?H=`${E}|${x}`:H=E||x,C.wrap?`(${S}${H})`:H},b=(w,C,R,S)=>{if(R)return s(w,C,{wrap:!1,...S});let E=String.fromCharCode(w);if(w===C)return E;let x=String.fromCharCode(C);return`[${E}-${x}]`},o=(w,C,R)=>{if(Array.isArray(w)){let S=R.wrap===!0,E=R.capture?"":"?:";return S?`(${E}${w.join("|")})`:w.join("|")}return s(w,C,R)},y=(...w)=>new RangeError("Invalid range arguments: "+c.inspect(...w)),m=(w,C,R)=>{if(R.strictRanges===!0)throw y([w,C]);return[]},h=(w,C)=>{if(C.strictRanges===!0)throw new TypeError(`Expected step "${w}" to be a number`);return[]},g=(w,C,R=1,S={})=>{let E=Number(w),x=Number(C);if(!Number.isInteger(E)||!Number.isInteger(x)){if(S.strictRanges===!0)throw y([w,C]);return[]}E===0&&(E=0),x===0&&(x=0);let H=E>x,M=String(w),I=String(C),L=String(R);R=Math.max(Math.abs(R),1);let O=t(M)||t(I)||t(L),j=O?Math.max(M.length,I.length,L.length):0,U=O===!1&&n(w,C,S)===!1,T=S.transform||a(U);if(S.toRegex&&R===1)return b(l(w,j),l(C,j),!0,S);let P={negatives:[],positives:[]},D=k=>P[k<0?"negatives":"positives"].push(Math.abs(k)),B=[],q=0;for(;H?E>=x:E<=x;)S.toRegex===!0&&R>1?D(E):B.push(i(T(E,q),j,U)),E=H?E-R:E+R,q++;return S.toRegex===!0?R>1?d(P,S,j):o(B,null,{wrap:!1,...S}):B},p=(w,C,R=1,S={})=>{if(!r(w)&&w.length>1||!r(C)&&C.length>1)return m(w,C,S);let E=S.transform||(U=>String.fromCharCode(U)),x=`${w}`.charCodeAt(0),H=`${C}`.charCodeAt(0),M=x>H,I=Math.min(x,H),L=Math.max(x,H);if(S.toRegex&&R===1)return b(I,L,!1,S);let O=[],j=0;for(;M?x>=H:x<=H;)O.push(E(x,j)),x=M?x-R:x+R,j++;return S.toRegex===!0?o(O,null,{wrap:!1,options:S}):O},A=(w,C,R,S={})=>{if(C==null&&e(w))return[w];if(!e(w)||!e(C))return m(w,C,S);if(typeof R=="function")return A(w,C,1,{transform:R});if(u(R))return A(w,C,0,R);let E={...S};return E.capture===!0&&(E.wrap=!0),R=R||E.step||1,r(R)?r(w)&&r(C)?g(w,C,R,E):p(w,C,Math.max(Math.abs(R),1),E):R!=null&&!u(R)?h(R,E):A(w,C,1,R)};N.exports=A},13501:function(N,v,f){"use strict";const c=f(29946),s=f(45633);N.exports=function(a,e,r){return u(a)&&(typeof e=="string"||Array.isArray(e))?s(c(a,e,r)):!1};function u(a){return a!=null&&(typeof a=="object"||typeof a=="function"||Array.isArray(a))}},45633:function(N,v,f){"use strict";const c=f(26401);N.exports=function s(u){switch(c(u)){case"boolean":case"date":case"function":case"null":case"number":return!0;case"undefined":return!1;case"regexp":return u.source!=="(?:)"&&u.source!=="";case"buffer":return u.toString()!=="";case"error":return u.message!=="";case"string":case"arguments":return u.length!==0;case"file":case"map":case"set":return u.size!==0;case"array":case"object":for(const a of Object.keys(u))if(s(u[a]))return!0;return!1;default:return!0}}},19498:function(N,v,f){"use strict";const c=f(89539),s=f(68527),u=f(59444),a=f(28702),e=n=>n===""||n==="./",r=n=>{const i=n.indexOf("{");return i>-1&&n.indexOf("}",i)>-1},t=(n,i,l)=>{i=[].concat(i),n=[].concat(n);let d=new Set,b=new Set,o=new Set,y=0,m=p=>{o.add(p.output),l&&l.onResult&&l.onResult(p)};for(let p=0;p<i.length;p++){let A=u(String(i[p]),{...l,onResult:m},!0),w=A.state.negated||A.state.negatedExtglob;w&&y++;for(let C of n){let R=A(C,!0);(w?!R.isMatch:R.isMatch)&&(w?d.add(R.output):(d.delete(R.output),b.add(R.output)))}}let g=(y===i.length?[...o]:[...b]).filter(p=>!d.has(p));if(l&&g.length===0){if(l.failglob===!0)throw new Error(`No matches found for "${i.join(", ")}"`);if(l.nonull===!0||l.nullglob===!0)return l.unescape?i.map(p=>p.replace(/\\/g,"")):i}return g};t.match=t,t.matcher=(n,i)=>u(n,i),t.isMatch=(n,i,l)=>u(i,l)(n),t.any=t.isMatch,t.not=(n,i,l={})=>{i=[].concat(i).map(String);let d=new Set,b=[],o=m=>{l.onResult&&l.onResult(m),b.push(m.output)},y=new Set(t(n,i,{...l,onResult:o}));for(let m of b)y.has(m)||d.add(m);return[...d]},t.contains=(n,i,l)=>{if(typeof n!="string")throw new TypeError(`Expected a string: "${c.inspect(n)}"`);if(Array.isArray(i))return i.some(d=>t.contains(n,d,l));if(typeof i=="string"){if(e(n)||e(i))return!1;if(n.includes(i)||n.startsWith("./")&&n.slice(2).includes(i))return!0}return t.isMatch(n,i,{...l,contains:!0})},t.matchKeys=(n,i,l)=>{if(!a.isObject(n))throw new TypeError("Expected the first argument to be an object");let d=t(Object.keys(n),i,l),b={};for(let o of d)b[o]=n[o];return b},t.some=(n,i,l)=>{let d=[].concat(n);for(let b of[].concat(i)){let o=u(String(b),l);if(d.some(y=>o(y)))return!0}return!1},t.every=(n,i,l)=>{let d=[].concat(n);for(let b of[].concat(i)){let o=u(String(b),l);if(!d.every(y=>o(y)))return!1}return!0},t.all=(n,i,l)=>{if(typeof n!="string")throw new TypeError(`Expected a string: "${c.inspect(n)}"`);return[].concat(i).every(d=>u(d,l)(n))},t.capture=(n,i,l)=>{let d=a.isWindows(l),o=u.makeRe(String(n),{...l,capture:!0}).exec(d?a.toPosixSlashes(i):i);if(o)return o.slice(1).map(y=>y===void 0?"":y)},t.makeRe=(...n)=>u.makeRe(...n),t.scan=(...n)=>u.scan(...n),t.parse=(n,i)=>{let l=[];for(let d of[].concat(n||[]))for(let b of s(String(d),i))l.push(u.parse(b,i));return l},t.braces=(n,i)=>{if(typeof n!="string")throw new TypeError("Expected a string");return i&&i.nobrace===!0||!r(n)?[n]:s(n,i)},t.braceExpand=(n,i)=>{if(typeof n!="string")throw new TypeError("Expected a string");return t.braces(n,{...i,expand:!0})},t.hasBraces=r,N.exports=t},92996:function(N,v,f){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),Object.defineProperty(v,"NIL",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(v,"parse",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(v,"stringify",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(v,"v1",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(v,"v3",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(v,"v4",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(v,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(v,"validate",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(v,"version",{enumerable:!0,get:function(){return r.default}});var c=l(f(19946)),s=l(f(43300)),u=l(f(35356)),a=l(f(23683)),e=l(f(84270)),r=l(f(48660)),t=l(f(15456)),n=l(f(21582)),i=l(f(69875));function l(d){return d&&d.__esModule?d:{default:d}}},21406:function(N,v){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;function f(o){if(typeof o=="string"){const y=unescape(encodeURIComponent(o));o=new Uint8Array(y.length);for(let m=0;m<y.length;++m)o[m]=y.charCodeAt(m)}return c(u(a(o),o.length*8))}function c(o){const y=[],m=o.length*32,h="0123456789abcdef";for(let g=0;g<m;g+=8){const p=o[g>>5]>>>g%32&255,A=parseInt(h.charAt(p>>>4&15)+h.charAt(p&15),16);y.push(A)}return y}function s(o){return(o+64>>>9<<4)+14+1}function u(o,y){o[y>>5]|=128<<y%32,o[s(y)-1]=y;let m=1732584193,h=-271733879,g=-1732584194,p=271733878;for(let A=0;A<o.length;A+=16){const w=m,C=h,R=g,S=p;m=n(m,h,g,p,o[A],7,-680876936),p=n(p,m,h,g,o[A+1],12,-389564586),g=n(g,p,m,h,o[A+2],17,606105819),h=n(h,g,p,m,o[A+3],22,-1044525330),m=n(m,h,g,p,o[A+4],7,-176418897),p=n(p,m,h,g,o[A+5],12,1200080426),g=n(g,p,m,h,o[A+6],17,-1473231341),h=n(h,g,p,m,o[A+7],22,-45705983),m=n(m,h,g,p,o[A+8],7,1770035416),p=n(p,m,h,g,o[A+9],12,-1958414417),g=n(g,p,m,h,o[A+10],17,-42063),h=n(h,g,p,m,o[A+11],22,-1990404162),m=n(m,h,g,p,o[A+12],7,1804603682),p=n(p,m,h,g,o[A+13],12,-40341101),g=n(g,p,m,h,o[A+14],17,-1502002290),h=n(h,g,p,m,o[A+15],22,1236535329),m=i(m,h,g,p,o[A+1],5,-165796510),p=i(p,m,h,g,o[A+6],9,-1069501632),g=i(g,p,m,h,o[A+11],14,643717713),h=i(h,g,p,m,o[A],20,-373897302),m=i(m,h,g,p,o[A+5],5,-701558691),p=i(p,m,h,g,o[A+10],9,38016083),g=i(g,p,m,h,o[A+15],14,-660478335),h=i(h,g,p,m,o[A+4],20,-405537848),m=i(m,h,g,p,o[A+9],5,568446438),p=i(p,m,h,g,o[A+14],9,-1019803690),g=i(g,p,m,h,o[A+3],14,-187363961),h=i(h,g,p,m,o[A+8],20,1163531501),m=i(m,h,g,p,o[A+13],5,-1444681467),p=i(p,m,h,g,o[A+2],9,-51403784),g=i(g,p,m,h,o[A+7],14,1735328473),h=i(h,g,p,m,o[A+12],20,-1926607734),m=l(m,h,g,p,o[A+5],4,-378558),p=l(p,m,h,g,o[A+8],11,-2022574463),g=l(g,p,m,h,o[A+11],16,1839030562),h=l(h,g,p,m,o[A+14],23,-35309556),m=l(m,h,g,p,o[A+1],4,-1530992060),p=l(p,m,h,g,o[A+4],11,1272893353),g=l(g,p,m,h,o[A+7],16,-155497632),h=l(h,g,p,m,o[A+10],23,-1094730640),m=l(m,h,g,p,o[A+13],4,681279174),p=l(p,m,h,g,o[A],11,-358537222),g=l(g,p,m,h,o[A+3],16,-722521979),h=l(h,g,p,m,o[A+6],23,76029189),m=l(m,h,g,p,o[A+9],4,-640364487),p=l(p,m,h,g,o[A+12],11,-421815835),g=l(g,p,m,h,o[A+15],16,530742520),h=l(h,g,p,m,o[A+2],23,-995338651),m=d(m,h,g,p,o[A],6,-198630844),p=d(p,m,h,g,o[A+7],10,1126891415),g=d(g,p,m,h,o[A+14],15,-1416354905),h=d(h,g,p,m,o[A+5],21,-57434055),m=d(m,h,g,p,o[A+12],6,1700485571),p=d(p,m,h,g,o[A+3],10,-1894986606),g=d(g,p,m,h,o[A+10],15,-1051523),h=d(h,g,p,m,o[A+1],21,-2054922799),m=d(m,h,g,p,o[A+8],6,1873313359),p=d(p,m,h,g,o[A+15],10,-30611744),g=d(g,p,m,h,o[A+6],15,-1560198380),h=d(h,g,p,m,o[A+13],21,1309151649),m=d(m,h,g,p,o[A+4],6,-145523070),p=d(p,m,h,g,o[A+11],10,-1120210379),g=d(g,p,m,h,o[A+2],15,718787259),h=d(h,g,p,m,o[A+9],21,-343485551),m=e(m,w),h=e(h,C),g=e(g,R),p=e(p,S)}return[m,h,g,p]}function a(o){if(o.length===0)return[];const y=o.length*8,m=new Uint32Array(s(y));for(let h=0;h<y;h+=8)m[h>>5]|=(o[h/8]&255)<<h%32;return m}function e(o,y){const m=(o&65535)+(y&65535);return(o>>16)+(y>>16)+(m>>16)<<16|m&65535}function r(o,y){return o<<y|o>>>32-y}function t(o,y,m,h,g,p){return e(r(e(e(y,o),e(h,p)),g),m)}function n(o,y,m,h,g,p,A){return t(y&m|~y&h,o,y,g,p,A)}function i(o,y,m,h,g,p,A){return t(y&h|m&~h,o,y,g,p,A)}function l(o,y,m,h,g,p,A){return t(y^m^h,o,y,g,p,A)}function d(o,y,m,h,g,p,A){return t(m^(y|~h),o,y,g,p,A)}var b=f;v.default=b},54912:function(N,v){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var c={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};v.default=c},84270:function(N,v){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var f="00000000-0000-0000-0000-000000000000";v.default=f},69875:function(N,v,f){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var c=s(f(15456));function s(e){return e&&e.__esModule?e:{default:e}}function u(e){if(!(0,c.default)(e))throw TypeError("Invalid UUID");let r;const t=new Uint8Array(16);return t[0]=(r=parseInt(e.slice(0,8),16))>>>24,t[1]=r>>>16&255,t[2]=r>>>8&255,t[3]=r&255,t[4]=(r=parseInt(e.slice(9,13),16))>>>8,t[5]=r&255,t[6]=(r=parseInt(e.slice(14,18),16))>>>8,t[7]=r&255,t[8]=(r=parseInt(e.slice(19,23),16))>>>8,t[9]=r&255,t[10]=(r=parseInt(e.slice(24,36),16))/1099511627776&255,t[11]=r/4294967296&255,t[12]=r>>>24&255,t[13]=r>>>16&255,t[14]=r>>>8&255,t[15]=r&255,t}var a=u;v.default=a},16137:function(N,v){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var f=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;v.default=f},61632:function(N,v){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=s;let f;const c=new Uint8Array(16);function s(){if(!f&&(f=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!f))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return f(c)}},61372:function(N,v){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;function f(a,e,r,t){switch(a){case 0:return e&r^~e&t;case 1:return e^r^t;case 2:return e&r^e&t^r&t;case 3:return e^r^t}}function c(a,e){return a<<e|a>>>32-e}function s(a){const e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof a=="string"){const l=unescape(encodeURIComponent(a));a=[];for(let d=0;d<l.length;++d)a.push(l.charCodeAt(d))}else Array.isArray(a)||(a=Array.prototype.slice.call(a));a.push(128);const t=a.length/4+2,n=Math.ceil(t/16),i=new Array(n);for(let l=0;l<n;++l){const d=new Uint32Array(16);for(let b=0;b<16;++b)d[b]=a[l*64+b*4]<<24|a[l*64+b*4+1]<<16|a[l*64+b*4+2]<<8|a[l*64+b*4+3];i[l]=d}i[n-1][14]=(a.length-1)*8/Math.pow(2,32),i[n-1][14]=Math.floor(i[n-1][14]),i[n-1][15]=(a.length-1)*8&4294967295;for(let l=0;l<n;++l){const d=new Uint32Array(80);for(let g=0;g<16;++g)d[g]=i[l][g];for(let g=16;g<80;++g)d[g]=c(d[g-3]^d[g-8]^d[g-14]^d[g-16],1);let b=r[0],o=r[1],y=r[2],m=r[3],h=r[4];for(let g=0;g<80;++g){const p=Math.floor(g/20),A=c(b,5)+f(p,o,y,m)+h+e[p]+d[g]>>>0;h=m,m=y,y=c(o,30)>>>0,o=b,b=A}r[0]=r[0]+b>>>0,r[1]=r[1]+o>>>0,r[2]=r[2]+y>>>0,r[3]=r[3]+m>>>0,r[4]=r[4]+h>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}var u=s;v.default=u},21582:function(N,v,f){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0,v.unsafeStringify=a;var c=s(f(15456));function s(t){return t&&t.__esModule?t:{default:t}}const u=[];for(let t=0;t<256;++t)u.push((t+256).toString(16).slice(1));function a(t,n=0){return u[t[n+0]]+u[t[n+1]]+u[t[n+2]]+u[t[n+3]]+"-"+u[t[n+4]]+u[t[n+5]]+"-"+u[t[n+6]]+u[t[n+7]]+"-"+u[t[n+8]]+u[t[n+9]]+"-"+u[t[n+10]]+u[t[n+11]]+u[t[n+12]]+u[t[n+13]]+u[t[n+14]]+u[t[n+15]]}function e(t,n=0){const i=a(t,n);if(!(0,c.default)(i))throw TypeError("Stringified UUID is invalid");return i}var r=e;v.default=r},19946:function(N,v,f){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var c=u(f(61632)),s=f(21582);function u(l){return l&&l.__esModule?l:{default:l}}let a,e,r=0,t=0;function n(l,d,b){let o=d&&b||0;const y=d||new Array(16);l=l||{};let m=l.node||a,h=l.clockseq!==void 0?l.clockseq:e;if(m==null||h==null){const R=l.random||(l.rng||c.default)();m==null&&(m=a=[R[0]|1,R[1],R[2],R[3],R[4],R[5]]),h==null&&(h=e=(R[6]<<8|R[7])&16383)}let g=l.msecs!==void 0?l.msecs:Date.now(),p=l.nsecs!==void 0?l.nsecs:t+1;const A=g-r+(p-t)/1e4;if(A<0&&l.clockseq===void 0&&(h=h+1&16383),(A<0||g>r)&&l.nsecs===void 0&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");r=g,t=p,e=h,g+=122192928e5;const w=((g&268435455)*1e4+p)%4294967296;y[o++]=w>>>24&255,y[o++]=w>>>16&255,y[o++]=w>>>8&255,y[o++]=w&255;const C=g/4294967296*1e4&268435455;y[o++]=C>>>8&255,y[o++]=C&255,y[o++]=C>>>24&15|16,y[o++]=C>>>16&255,y[o++]=h>>>8|128,y[o++]=h&255;for(let R=0;R<6;++R)y[o+R]=m[R];return d||(0,s.unsafeStringify)(y)}var i=n;v.default=i},43300:function(N,v,f){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var c=u(f(11881)),s=u(f(21406));function u(r){return r&&r.__esModule?r:{default:r}}var e=(0,c.default)("v3",48,s.default);v.default=e},11881:function(N,v,f){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.URL=v.DNS=void 0,v.default=t;var c=f(21582),s=u(f(69875));function u(n){return n&&n.__esModule?n:{default:n}}function a(n){n=unescape(encodeURIComponent(n));const i=[];for(let l=0;l<n.length;++l)i.push(n.charCodeAt(l));return i}const e="6ba7b810-9dad-11d1-80b4-00c04fd430c8";v.DNS=e;const r="6ba7b811-9dad-11d1-80b4-00c04fd430c8";v.URL=r;function t(n,i,l){function d(b,o,y,m){var h;if(typeof b=="string"&&(b=a(b)),typeof o=="string"&&(o=(0,s.default)(o)),((h=o)===null||h===void 0?void 0:h.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let g=new Uint8Array(16+b.length);if(g.set(o),g.set(b,o.length),g=l(g),g[6]=g[6]&15|i,g[8]=g[8]&63|128,y){m=m||0;for(let p=0;p<16;++p)y[m+p]=g[p];return y}return(0,c.unsafeStringify)(g)}try{d.name=n}catch{}return d.DNS=e,d.URL=r,d}},35356:function(N,v,f){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var c=a(f(54912)),s=a(f(61632)),u=f(21582);function a(t){return t&&t.__esModule?t:{default:t}}function e(t,n,i){if(c.default.randomUUID&&!n&&!t)return c.default.randomUUID();t=t||{};const l=t.random||(t.rng||s.default)();if(l[6]=l[6]&15|64,l[8]=l[8]&63|128,n){i=i||0;for(let d=0;d<16;++d)n[i+d]=l[d];return n}return(0,u.unsafeStringify)(l)}var r=e;v.default=r},23683:function(N,v,f){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var c=u(f(11881)),s=u(f(61372));function u(r){return r&&r.__esModule?r:{default:r}}var e=(0,c.default)("v5",80,s.default);v.default=e},15456:function(N,v,f){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var c=s(f(16137));function s(e){return e&&e.__esModule?e:{default:e}}function u(e){return typeof e=="string"&&c.default.test(e)}var a=u;v.default=a},48660:function(N,v,f){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var c=s(f(15456));function s(e){return e&&e.__esModule?e:{default:e}}function u(e){if(!(0,c.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}var a=u;v.default=a},29946:function(N,v,f){var c=f(47798);N.exports=function(r,t,n){if(c(n)||(n={default:n}),!e(r))return typeof n.default<"u"?n.default:r;typeof t=="number"&&(t=String(t));var i=Array.isArray(t),l=typeof t=="string",d=n.separator||".",b=n.joinChar||(typeof d=="string"?d:".");if(!l&&!i)return r;if(l&&t in r)return a(t,r,n)?r[t]:n.default;var o=i?t:u(t,d,n),y=o.length,m=0;do{var h=o[m];for(typeof h=="number"&&(h=String(h));h&&h.slice(-1)==="\\";)h=s([h.slice(0,-1),o[++m]||""],b,n);if(h in r){if(!a(h,r,n))return n.default;r=r[h]}else{for(var g=!1,p=m+1;p<y;)if(h=s([h,o[p++]],b,n),g=h in r){if(!a(h,r,n))return n.default;r=r[h],m=p-1;break}if(!g)return n.default}}while(++m<y&&e(r));return m===y?r:n.default};function s(r,t,n){return typeof n.join=="function"?n.join(r):r[0]+t+r[1]}function u(r,t,n){return typeof n.split=="function"?n.split(r):r.split(t)}function a(r,t,n){return typeof n.isValid=="function"?n.isValid(r,t):!0}function e(r){return c(r)||Array.isArray(r)||typeof r=="function"}}}]);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[4989],{42617:function(mt,ne,k){k.r(ne),k.d(ne,{HiddenText:function(){return f},LiveRegion:function(){return Y},useAnnouncement:function(){return he}});var s=k(67294);const W={display:"none"};function f(X){let{id:D,value:_}=X;return s.createElement("div",{id:D,style:W},_)}function Y(X){let{id:D,announcement:_,ariaLiveType:V="assertive"}=X;const N={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return s.createElement("div",{id:D,style:N,role:"status","aria-live":V,"aria-atomic":!0},_)}function he(){const[X,D]=(0,s.useState)("");return{announce:(0,s.useCallback)(V=>{V!=null&&D(V)},[]),announcement:X}}},94697:function(mt,ne,k){k.r(ne),k.d(ne,{AutoScrollActivator:function(){return ye},DndContext:function(){return Fn},DragOverlay:function(){return jn},KeyboardCode:function(){return F},KeyboardSensor:function(){return kt},MeasuringFrequency:function(){return je},MeasuringStrategy:function(){return Me},MouseSensor:function(){return on},PointerSensor:function(){return Xt},TouchSensor:function(){return sn},TraversalOrder:function(){return He},applyModifiers:function(){return Ht},closestCenter:function(){return _e},closestCorners:function(){return et},defaultAnnouncements:function(){return X},defaultCoordinates:function(){return Z},defaultDropAnimation:function(){return ln},getClientRect:function(){return x},getFirstCollision:function(){return Xe},getScrollableAncestors:function(){return re},pointerWithin:function(){return l},rectIntersection:function(){return o},useDndContext:function(){return un},useDndMonitor:function(){return Ke},useDraggable:function(){return Un},useDroppable:function(){return Xn},useSensor:function(){return Tn},useSensors:function(){return On}});var s=k(67294),W=k(73935),f=k(24285),Y=k(42617);const he={draggable:`
|
|
2
|
-
To pick up a draggable item, press the space bar.
|
|
3
|
-
While dragging, use the arrow keys to move the item.
|
|
4
|
-
Press space again to drop the item in its new position, or press escape to cancel.
|
|
5
|
-
`},X={onDragStart(e){return`Picked up draggable item ${e}.`},onDragOver(e,t){return t?`Draggable item ${e} was moved over droppable area ${t}.`:`Draggable item ${e} is no longer over a droppable area.`},onDragEnd(e,t){return t?`Draggable item ${e} was dropped over droppable area ${t}`:`Draggable item ${e} was dropped.`},onDragCancel(e){return`Dragging was cancelled. Draggable item ${e} was dropped.`}};var D;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(D||(D={}));function _(...e){}class V extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(({disabled:t})=>!t)}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const N={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:{},droppableRects:new Map,droppableContainers:new V,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:_},scrollableAncestors:[],scrollableAncestorRects:[],measureDroppableContainers:_,windowRect:null,measuringScheduled:!1},T={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:_,draggableNodes:{},over:null,measureDroppableContainers:_},S=(0,s.createContext)(T),P=(0,s.createContext)(N);function ie(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:{},translate:{x:0,y:0}},droppable:{containers:new V}}}function Fe(e,t){switch(t.type){case D.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case D.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case D.DragEnd:case D.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case D.RegisterDroppable:{const{element:n}=t,{id:r}=n,i=new V(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case D.SetDroppableDisabled:{const{id:n,key:r,disabled:i}=t,c=e.droppable.containers.get(n);if(!c||r!==c.key)return e;const a=new V(e.droppable.containers);return a.set(n,{...c,disabled:i}),{...e,droppable:{...e.droppable,containers:a}}}case D.UnregisterDroppable:{const{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const c=new V(e.droppable.containers);return c.delete(n),{...e,droppable:{...e.droppable,containers:c}}}default:return e}}const De=(0,s.createContext)({type:null,event:null});function Ke({onDragStart:e,onDragMove:t,onDragOver:n,onDragEnd:r,onDragCancel:i}){const c=(0,s.useContext)(De),a=(0,s.useRef)(c);(0,s.useEffect)(()=>{if(c!==a.current){const{type:h,event:g}=c;switch(h){case D.DragStart:e==null||e(g);break;case D.DragMove:t==null||t(g);break;case D.DragOver:n==null||n(g);break;case D.DragCancel:i==null||i(g);break;case D.DragEnd:r==null||r(g);break}a.current=c}},[c,e,t,n,r,i])}function $e({announcements:e=X,hiddenTextDescribedById:t,screenReaderInstructions:n}){const{announce:r,announcement:i}=(0,Y.useAnnouncement)(),c=(0,f.useUniqueId)("DndLiveRegion"),[a,h]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{h(!0)},[]),Ke((0,s.useMemo)(()=>({onDragStart({active:g}){r(e.onDragStart(g.id))},onDragMove({active:g,over:p}){e.onDragMove&&r(e.onDragMove(g.id,p==null?void 0:p.id))},onDragOver({active:g,over:p}){r(e.onDragOver(g.id,p==null?void 0:p.id))},onDragEnd({active:g,over:p}){r(e.onDragEnd(g.id,p==null?void 0:p.id))},onDragCancel({active:g}){r(e.onDragCancel(g.id))}}),[r,e])),a?(0,W.createPortal)(s.createElement(s.Fragment,null,s.createElement(Y.HiddenText,{id:t,value:n.draggable}),s.createElement(Y.LiveRegion,{id:c,announcement:i})),document.body):null}const Z=Object.freeze({x:0,y:0});function Ce(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Qe(e,t){const n=(0,f.getEventCoordinates)(e);if(!n)return"0 0";const r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return`${r.x}% ${r.y}%`}function Ue({data:{value:e}},{data:{value:t}}){return e-t}function ke({data:{value:e}},{data:{value:t}}){return t-e}function ze({left:e,top:t,height:n,width:r}){return[{x:e,y:t},{x:e+r,y:t},{x:e,y:t+n},{x:e+r,y:t+n}]}function Xe(e,t){if(!e||e.length===0)return null;const[n]=e;return t?n[t]:n}function Ze(e,t=e.left,n=e.top){return{x:t+e.width*.5,y:n+e.height*.5}}const _e=({collisionRect:e,droppableContainers:t})=>{const n=Ze(e,e.left,e.top),r=[];for(const i of t){const{id:c,rect:{current:a}}=i;if(a){const h=Ce(Ze(a),n);r.push({id:c,data:{droppableContainer:i,value:h}})}}return r.sort(Ue)},et=({collisionRect:e,droppableContainers:t})=>{const n=ze(e),r=[];for(const i of t){const{id:c,rect:{current:a}}=i;if(a){const h=ze(a),g=n.reduce((b,m,L)=>b+Ce(h[L],m),0),p=Number((g/4).toFixed(4));r.push({id:c,data:{droppableContainer:i,value:p}})}}return r.sort(Ue)};function ut(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),c=Math.min(t.top+t.height,e.top+e.height),a=i-r,h=c-n;if(r<i&&n<c){const g=t.width*t.height,p=e.width*e.height,b=a*h,m=b/(g+p-b);return Number(m.toFixed(4))}return 0}const o=({collisionRect:e,droppableContainers:t})=>{const n=[];for(const r of t){const{id:i,rect:{current:c}}=r;if(c){const a=ut(c,e);a>0&&n.push({id:i,data:{droppableContainer:r,value:a}})}}return n.sort(ke)};function u(e,t){const{top:n,left:r,bottom:i,right:c}=t;return n<=e.y&&e.y<=i&&r<=e.x&&e.x<=c}const l=({droppableContainers:e,pointerCoordinates:t})=>{if(!t)return[];const n=[];for(const r of e){const{id:i,rect:{current:c}}=r;if(c&&u(t,c)){const h=ze(c).reduce((p,b)=>p+Ce(t,b),0),g=Number((h/4).toFixed(4));n.push({id:i,data:{droppableContainer:r,value:g}})}}return n.sort(Ue)};function d(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function v(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:Z}function y(e){return function(n,...r){return r.reduce((i,c)=>({...i,top:i.top+e*c.y,bottom:i.bottom+e*c.y,left:i.left+e*c.x,right:i.right+e*c.x}),{...n})}}const O=y(1);function U(e,t,n){let r,i,c,a,h;if(t.startsWith("matrix3d("))r=t.slice(9,-1).split(/, /),i=+r[0],c=+r[5],a=+r[12],h=+r[13];else if(t.startsWith("matrix("))r=t.slice(7,-1).split(/, /),i=+r[0],c=+r[3],a=+r[4],h=+r[5];else return e;const g=e.left-a-(1-i)*parseFloat(n),p=e.top-h-(1-c)*parseFloat(n.slice(n.indexOf(" ")+1)),b=i?e.width/i:e.width,m=c?e.height/c:e.height;return{width:b,height:m,top:p,right:g+b,bottom:p+m,left:g}}const C={ignoreTransform:!1};function x(e,t=C){let n=e.getBoundingClientRect();if(t.ignoreTransform){const{getComputedStyle:p}=(0,f.getWindow)(e),{transform:b,transformOrigin:m}=p(e);b&&(n=U(n,b,m))}const{top:r,left:i,width:c,height:a,bottom:h,right:g}=n;return{top:r,left:i,width:c,height:a,bottom:h,right:g}}function K(e){return x(e,{ignoreTransform:!0})}function ge(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function q(e,t=(0,f.getWindow)(e).getComputedStyle(e)){return t.position==="fixed"}function Re(e,t=(0,f.getWindow)(e).getComputedStyle(e)){const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].find(i=>{const c=t[i];return typeof c=="string"?n.test(c):!1})!=null}function re(e){const t=[];function n(r){if(!r)return t;if((0,f.isDocument)(r)&&r.scrollingElement!=null&&!t.includes(r.scrollingElement))return t.push(r.scrollingElement),t;if(!(0,f.isHTMLElement)(r)||(0,f.isSVGElement)(r)||t.includes(r))return t;const{getComputedStyle:i}=(0,f.getWindow)(r),c=i(r);return r!==e&&Re(r,c)&&t.push(r),q(r,c)?t:n(r.parentNode)}return e?n(e):t}function ve(e){return!f.canUseDOM||!e?null:(0,f.isWindow)(e)?e:(0,f.isNode)(e)?(0,f.isDocument)(e)||e===(0,f.getOwnerDocument)(e).scrollingElement?window:(0,f.isHTMLElement)(e)?e:null:null}function Se(e){return(0,f.isWindow)(e)?e.scrollX:e.scrollLeft}function ee(e){return(0,f.isWindow)(e)?e.scrollY:e.scrollTop}function Ee(e){return{x:Se(e),y:ee(e)}}var be;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(be||(be={}));function xe(e){const t={x:0,y:0},n={x:e.scrollWidth-e.clientWidth,y:e.scrollHeight-e.clientHeight},r=e.scrollTop<=t.y,i=e.scrollLeft<=t.x,c=e.scrollTop>=n.y,a=e.scrollLeft>=n.x;return{isTop:r,isLeft:i,isBottom:c,isRight:a,maxScroll:n,minScroll:t}}function wt(e){return!f.canUseDOM||!e?!1:e===document.scrollingElement}const It={x:.2,y:.2};function Dt(e,t,{top:n,left:r,right:i,bottom:c},a=10,h=It){const{clientHeight:g,clientWidth:p}=e,b=wt(e)?{top:0,left:0,right:p,bottom:g,width:p,height:g}:t,{isTop:m,isBottom:L,isLeft:R,isRight:M}=xe(e),E={x:0,y:0},I={x:0,y:0},w={height:b.height*h.y,width:b.width*h.x};return!m&&n<=b.top+w.height?(E.y=be.Backward,I.y=a*Math.abs((b.top+w.height-n)/w.height)):!L&&c>=b.bottom-w.height&&(E.y=be.Forward,I.y=a*Math.abs((b.bottom-w.height-c)/w.height)),!M&&i>=b.right-w.width?(E.x=be.Forward,I.x=a*Math.abs((b.right-w.width-i)/w.width)):!R&&r<=b.left+w.width&&(E.x=be.Backward,I.x=a*Math.abs((b.left+w.width-r)/w.width)),{direction:E,speed:I}}function Ye(e){if(e===document.scrollingElement){const{innerWidth:c,innerHeight:a}=window;return{top:0,left:0,right:c,bottom:a,width:c,height:a}}const{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function Ct(e){return e.reduce((t,n)=>(0,f.add)(t,Ee(n)),Z)}function Nt(e){return e.reduce((t,n)=>t+Se(n),0)}function Pt(e){return e.reduce((t,n)=>t+ee(n),0)}const Rt=[["x",["left","right"],Nt],["y",["top","bottom"],Pt]];class lt{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=re(n),i=Ct(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[c,a,h]of Rt)for(const g of a)Object.defineProperty(this,g,{get:()=>{const p=h(r),b=i[c]-p;return this.rect[g]+b},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}var ye;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(ye||(ye={}));var He;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(He||(He={}));function Bt({acceleration:e,activator:t=ye.Pointer,canScroll:n,draggingRect:r,enabled:i,interval:c=5,order:a=He.TreeOrder,pointerCoordinates:h,scrollableAncestors:g,scrollableAncestorRects:p,threshold:b}){const[m,L]=(0,f.useInterval)(),R=(0,s.useRef)({x:1,y:1}),M=(0,s.useMemo)(()=>{switch(t){case ye.Pointer:return h?{top:h.y,bottom:h.y,left:h.x,right:h.x}:null;case ye.DraggableRect:return r}return null},[t,r,h]),E=(0,s.useRef)(Z),I=(0,s.useRef)(null),w=(0,s.useCallback)(()=>{const A=I.current;if(!A)return;const $=R.current.x*E.current.x,z=R.current.y*E.current.y;A.scrollBy($,z)},[]),H=(0,s.useMemo)(()=>a===He.TreeOrder?[...g].reverse():g,[a,g]);(0,s.useEffect)(()=>{if(!i||!g.length||!M){L();return}for(const A of H){if((n==null?void 0:n(A))===!1)continue;const $=g.indexOf(A),z=p[$];if(!z)continue;const{direction:B,speed:te}=Dt(A,z,M,e,b);if(te.x>0||te.y>0){L(),I.current=A,m(w,c),R.current=te,E.current=B;return}}R.current={x:0,y:0},E.current={x:0,y:0},L()},[e,w,n,L,i,c,JSON.stringify(M),m,g,H,p,JSON.stringify(b)])}function Wt(e,t){const n=t!==null?e[t]:void 0,r=n?n.node.current:null;return(0,f.useLazyMemo)(i=>{var c;return t===null?null:(c=r??i)!=null?c:null},[r,t])}function Ae(e,t){return(0,s.useMemo)(()=>e.reduce((n,r)=>{const{sensor:i}=r,c=i.activators.map(a=>({eventName:a.eventName,handler:t(a.handler,r)}));return[...n,...c]},[]),[e,t])}var Me;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Me||(Me={}));var je;(function(e){e.Optimized="optimized"})(je||(je={}));const at=new Map,Jt={measure:K,strategy:Me.WhileDragging,frequency:je.Optimized};function Ft(e,{dragging:t,dependencies:n,config:r}){const[i,c]=(0,s.useState)(null),a=i!=null,{frequency:h,measure:g,strategy:p}={...Jt,...r},b=(0,s.useRef)(e),m=(0,s.useCallback)((I=[])=>c(w=>w?w.concat(I):I),[]),L=(0,s.useRef)(null),R=E(),M=(0,f.useLazyMemo)(I=>{if(R&&!t)return at;const w=i;if(!I||I===at||b.current!==e||w!=null){const H=new Map;for(let A of e){if(!A)continue;if(w&&w.length>0&&!w.includes(A.id)&&A.rect.current){H.set(A.id,A.rect.current);continue}const $=A.node.current,z=$?new lt(g($),$):null;A.rect.current=z,z&&H.set(A.id,z)}return H}return I},[e,i,t,R,g]);return(0,s.useEffect)(()=>{b.current=e},[e]),(0,s.useEffect)(()=>{R||requestAnimationFrame(()=>m())},[t,R]),(0,s.useEffect)(()=>{a&&c(null)},[a]),(0,s.useEffect)(()=>{R||typeof h!="number"||L.current!==null||(L.current=setTimeout(()=>{m(),L.current=null},h))},[h,R,m,...n]),{droppableRects:M,measureDroppableContainers:m,measuringScheduled:a};function E(){switch(p){case Me.Always:return!1;case Me.BeforeDragging:return t;default:return!t}}}function Ie({onResize:e,disabled:t}){const n=(0,s.useMemo)(()=>{if(t||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:r}=window;return new r(e)},[t,e]);return(0,s.useEffect)(()=>()=>n==null?void 0:n.disconnect(),[n]),n}function tt(e){const[t,n]=(0,s.useState)(null),r=(0,s.useRef)(e),i=(0,s.useCallback)(c=>{const a=ve(c.target);a&&n(h=>h?(h.set(a,Ee(a)),new Map(h)):null)},[]);return(0,s.useEffect)(()=>{const c=r.current;if(e!==c){a(c);const h=e.map(g=>{const p=ve(g);return p?(p.addEventListener("scroll",i,{passive:!0}),[p,Ee(p)]):null}).filter(g=>g!=null);n(h.length?new Map(h):null),r.current=e}return()=>{a(e),a(c)};function a(h){h.forEach(g=>{const p=ve(g);p==null||p.removeEventListener("scroll",i)})}},[i,e]),(0,s.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((c,a)=>(0,f.add)(c,a),Z):Ct(e):Z,[e,t])}const J=[];function Kt(e){const t=(0,s.useRef)(e),n=(0,f.useLazyMemo)(r=>e?r&&e&&t.current&&e.parentNode===t.current.parentNode?r:re(e):J,[e]);return(0,s.useEffect)(()=>{t.current=e},[e]),n}function St(e){(0,s.useEffect)(()=>{if(!f.canUseDOM)return;const t=e.map(({sensor:n})=>n.setup==null?void 0:n.setup());return()=>{for(const n of t)n==null||n()}},e.map(({sensor:t})=>t))}function dt(e,t){return(0,s.useMemo)(()=>e.reduce((n,{eventName:r,handler:i})=>(n[r]=c=>{i(c,t)},n),{}),[e,t])}const $t=Sn(K),Rn=En(K);function Qt(e,t,n){const r=(0,s.useRef)(e);return(0,f.useLazyMemo)(i=>e?n||!i&&e||e!==r.current?(0,f.isHTMLElement)(e)&&e.parentNode==null?null:new lt(t(e),e):i??null:null,[e,n,t])}function Sn(e){return(t,n)=>Qt(t,e,n)}function En(e){const t=[];return function(r,i){const c=(0,s.useRef)(r);return(0,f.useLazyMemo)(a=>r.length?i||!a&&r.length||r!==c.current?r.map(h=>new lt(e(h),h)):a??t:t,[r,i])}}function xn(e){return(0,s.useMemo)(()=>e?ge(e):null,[e])}function Zt(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return(0,f.isHTMLElement)(t)?t:e}function Mn({measure:e=x}){const[t,n]=(0,s.useState)(null),r=(0,s.useCallback)(g=>{for(const{target:p}of g)if((0,f.isHTMLElement)(p)){n(b=>{const m=e(p);return b?{...b,width:m.width,height:m.height}:m});break}},[e]),i=Ie({onResize:r}),c=(0,s.useCallback)(g=>{const p=Zt(g);i==null||i.disconnect(),p&&(i==null||i.observe(p)),n(p?e(p):null)},[e,i]),[a,h]=(0,f.useNodeRef)(c);return(0,s.useMemo)(()=>({nodeRef:a,rect:t,setRef:h}),[t,a,h])}function Tn(e,t){return(0,s.useMemo)(()=>({sensor:e,options:t??{}}),[e,t])}function On(...e){return(0,s.useMemo)(()=>[...e].filter(t=>t!=null),[...e])}class ft{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var i;(i=this.target)==null||i.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function Ln(e){const{EventTarget:t}=(0,f.getWindow)(e);return e instanceof t?e:(0,f.getOwnerDocument)(e)}function Ut(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var ce;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(ce||(ce={}));function en(e){e.preventDefault()}function An(e){e.stopPropagation()}var F;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(F||(F={}));const tn={start:[F.Space,F.Enter],cancel:[F.Esc],end:[F.Space,F.Enter]},In=(e,{currentCoordinates:t})=>{switch(e.code){case F.Right:return{...t,x:t.x+25};case F.Left:return{...t,x:t.x-25};case F.Down:return{...t,y:t.y+25};case F.Up:return{...t,y:t.y-25}}};class kt{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.coordinates=Z,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new ft((0,f.getOwnerDocument)(n)),this.windowListeners=new ft((0,f.getWindow)(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ce.Resize,this.handleCancel),this.windowListeners.add(ce.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(ce.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props;if(!t.node.current)throw new Error("Active draggable node is undefined");const r=K(t.node.current),i={x:r.left,y:r.top};this.coordinates=i,n(i)}handleKeyDown(t){if((0,f.isKeyboardEvent)(t)){const{coordinates:n}=this,{active:r,context:i,options:c}=this.props,{keyboardCodes:a=tn,coordinateGetter:h=In,scrollBehavior:g="smooth"}=c,{code:p}=t;if(a.end.includes(p)){this.handleEnd(t);return}if(a.cancel.includes(p)){this.handleCancel(t);return}const b=h(t,{active:r,context:i.current,currentCoordinates:n});if(b){const m={x:0,y:0},{scrollableAncestors:L}=i.current;for(const R of L){const M=t.code,E=(0,f.subtract)(b,n),{isTop:I,isRight:w,isLeft:H,isBottom:A,maxScroll:$,minScroll:z}=xe(R),B=Ye(R),te={x:Math.min(M===F.Right?B.right-B.width/2:B.right,Math.max(M===F.Right?B.left:B.left+B.width/2,b.x)),y:Math.min(M===F.Down?B.bottom-B.height/2:B.bottom,Math.max(M===F.Down?B.top:B.top+B.height/2,b.y))},Ve=M===F.Right&&!w||M===F.Left&&!H,j=M===F.Down&&!A||M===F.Up&&!I;if(Ve&&te.x!==b.x){if(M===F.Right&&R.scrollLeft+E.x<=$.x||M===F.Left&&R.scrollLeft+E.x>=z.x){R.scrollBy({left:E.x,behavior:g});return}m.x=M===F.Right?R.scrollLeft-$.x:R.scrollLeft-z.x,R.scrollBy({left:-m.x,behavior:g});break}else if(j&&te.y!==b.y){if(M===F.Down&&R.scrollTop+E.y<=$.y||M===F.Up&&R.scrollTop+E.y>=z.y){R.scrollBy({top:E.y,behavior:g});return}m.y=M===F.Down?R.scrollTop-$.y:R.scrollTop-z.y,R.scrollBy({top:-m.y,behavior:g});break}}this.handleMove(t,(0,f.add)(b,m))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n),this.coordinates=n}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}kt.activators=[{eventName:"onKeyDown",handler:(e,{keyboardCodes:t=tn,onActivation:n})=>{const{code:r}=e.nativeEvent;return t.start.includes(r)?(e.preventDefault(),n==null||n({event:e.nativeEvent}),!0):!1}}];function nn(e){return!!(e&&"distance"in e)}function rn(e){return!!(e&&"delay"in e)}class zt{constructor(t,n,r=Ln(t.event.target)){var i;this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:c}=t,{target:a}=c;this.props=t,this.events=n,this.document=(0,f.getOwnerDocument)(a),this.documentListeners=new ft(this.document),this.listeners=new ft(r),this.windowListeners=new ft((0,f.getWindow)(a)),this.initialCoordinates=(i=(0,f.getEventCoordinates)(c))!=null?i:Z,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),this.windowListeners.add(ce.Resize,this.handleCancel),this.windowListeners.add(ce.DragStart,en),this.windowListeners.add(ce.VisibilityChange,this.handleCancel),this.windowListeners.add(ce.ContextMenu,en),this.documentListeners.add(ce.Keydown,this.handleKeydown),n){if(nn(n))return;if(rn(n)){this.timeoutId=setTimeout(this.handleStart,n.delay);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(ce.Click,An,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ce.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:i,props:c}=this,{onMove:a,options:{activationConstraint:h}}=c;if(!i)return;const g=(n=(0,f.getEventCoordinates)(t))!=null?n:Z,p=(0,f.subtract)(i,g);if(!r&&h){if(rn(h))return Ut(p,h.tolerance)?this.handleCancel():void 0;if(nn(h))return h.tolerance!=null&&Ut(p,h.tolerance)?this.handleCancel():Ut(p,h.distance)?this.handleStart():void 0}t.cancelable&&t.preventDefault(),a(g)}handleEnd(){const{onEnd:t}=this.props;this.detach(),t()}handleCancel(){const{onCancel:t}=this.props;this.detach(),t()}handleKeydown(t){t.code===F.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const Nn={move:{name:"pointermove"},end:{name:"pointerup"}};class Xt extends zt{constructor(t){const{event:n}=t,r=(0,f.getOwnerDocument)(n.target);super(t,Nn,r)}}Xt.activators=[{eventName:"onPointerDown",handler:({nativeEvent:e},{onActivation:t})=>!e.isPrimary||e.button!==0?!1:(t==null||t({event:e}),!0)}];const Pn={move:{name:"mousemove"},end:{name:"mouseup"}};var _t;(function(e){e[e.RightClick=2]="RightClick"})(_t||(_t={}));class on extends zt{constructor(t){super(t,Pn,(0,f.getOwnerDocument)(t.event.target))}}on.activators=[{eventName:"onMouseDown",handler:({nativeEvent:e},{onActivation:t})=>e.button===_t.RightClick?!1:(t==null||t({event:e}),!0)}];const Yt={move:{name:"touchmove"},end:{name:"touchend"}};class sn extends zt{constructor(t){super(t,Yt)}static setup(){return window.addEventListener(Yt.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(Yt.move.name,t)};function t(){}}}sn.activators=[{eventName:"onTouchStart",handler:({nativeEvent:e},{onActivation:t})=>{const{touches:n}=e;return n.length>1?!1:(t==null||t({event:e}),!0)}}];function Ht(e,{transform:t,...n}){return e!=null&&e.length?e.reduce((r,i)=>i({transform:r,...n}),t):t}const Bn=[{sensor:Xt,options:{}},{sensor:kt,options:{}}],Wn={current:{}},Et=(0,s.createContext)({...Z,scaleX:1,scaleY:1}),Fn=(0,s.memo)(function({id:t,autoScroll:n=!0,announcements:r,children:i,sensors:c=Bn,collisionDetection:a=o,measuring:h,modifiers:g,screenReaderInstructions:p=he,...b}){var m,L,R,M,E,I,w;const H=(0,s.useReducer)(Fe,void 0,ie),[A,$]=H,[z,B]=(0,s.useState)(()=>({type:null,event:null})),[te,Ve]=(0,s.useState)(!1),{draggable:{active:j,nodes:Q,translate:ue},droppable:{containers:oe}}=A,nt=j?Q[j]:null,rt=(0,s.useRef)({initial:null,translated:null}),se=(0,s.useMemo)(()=>{var G;return j!=null?{id:j,data:(G=nt==null?void 0:nt.data)!=null?G:Wn,rect:rt}:null},[j,nt]),me=(0,s.useRef)(null),[Ge,ot]=(0,s.useState)(null),[Te,Ne]=(0,s.useState)(null),ht=(0,f.useLatestValue)(b,Object.values(b)),jt=(0,f.useUniqueId)("DndDescribedBy",t),an=(0,s.useMemo)(()=>oe.getEnabled(),[oe]),{droppableRects:gt,measureDroppableContainers:xt,measuringScheduled:dn}=Ft(an,{dragging:te,dependencies:[ue.x,ue.y],config:h==null?void 0:h.droppable}),Oe=Wt(Q,j),fn=Te?(0,f.getEventCoordinates)(Te):null,le=Qt(Oe,(m=h==null||(L=h.draggable)==null?void 0:L.measure)!=null?m:K),Vt=$t(Oe?Oe.parentElement:null),qe=(0,s.useRef)({active:null,activeNode:Oe,collisionRect:null,collisions:null,droppableRects:gt,draggableNodes:Q,draggingNode:null,draggingNodeRect:null,droppableContainers:oe,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),hn=oe.getNodeFor((R=qe.current.over)==null?void 0:R.id),vt=Mn({measure:h==null||(M=h.dragOverlay)==null?void 0:M.measure}),pt=(E=vt.nodeRef.current)!=null?E:Oe,Je=(I=vt.rect)!=null?I:le,Mt=(0,s.useRef)(null),Vn=Mt.current,gn=Je===le?v(le,Vn):Z,Gt=xn(pt?pt.ownerDocument.defaultView:null),Pe=Kt(j?hn??pt:null),Tt=Rn(Pe),qt=Ht(g,{transform:{x:ue.x-gn.x,y:ue.y-gn.y,scaleX:1,scaleY:1},activatorEvent:Te,active:se,activeNodeRect:le,containerNodeRect:Vt,draggingNodeRect:Je,over:qe.current.over,overlayNodeRect:vt.rect,scrollableAncestors:Pe,scrollableAncestorRects:Tt,windowRect:Gt}),vn=fn?(0,f.add)(fn,ue):null,Gn=tt(Pe),st=(0,f.add)(qt,Gn),it=Je?O(Je,qt):null,bt=se&&it?a({active:se,collisionRect:it,droppableContainers:an,pointerCoordinates:vn}):null,pn=Xe(bt,"id"),[Be,bn]=(0,s.useState)(null),qn=d(qt,(w=Be==null?void 0:Be.rect)!=null?w:null,le),yn=(0,s.useCallback)((G,{sensor:ae,options:de})=>{if(!me.current)return;const we=Q[me.current];if(!we)return;const pe=new ae({active:me.current,activeNode:we,event:G.nativeEvent,options:de,context:qe,onStart(fe){const We=me.current;if(!We)return;const yt=Q[We];if(!yt)return;const{onDragStart:Ot}=ht.current,Lt={active:{id:We,data:yt.data,rect:rt}};(0,W.unstable_batchedUpdates)(()=>{$({type:D.DragStart,initialCoordinates:fe,active:We}),B({type:D.DragStart,event:Lt})}),Ot==null||Ot(Lt)},onMove(fe){$({type:D.DragMove,coordinates:fe})},onEnd:Le(D.DragEnd),onCancel:Le(D.DragCancel)});(0,W.unstable_batchedUpdates)(()=>{ot(pe),Ne(G.nativeEvent)});function Le(fe){return async function(){const{active:yt,collisions:Ot,over:Lt,scrollAdjustedTranslate:wn}=qe.current;let ct=null;if(yt&&wn){const{cancelDrop:At}=ht.current;ct={active:yt,collisions:Ot,delta:wn,over:Lt},fe===D.DragEnd&&typeof At=="function"&&await Promise.resolve(At(ct))&&(fe=D.DragCancel)}me.current=null,(0,W.unstable_batchedUpdates)(()=>{if($({type:fe}),bn(null),Ve(!1),ot(null),Ne(null),ct&&B({type:fe,event:ct}),ct){const{onDragCancel:At,onDragEnd:Dn}=ht.current,Cn=fe===D.DragEnd?Dn:At;Cn==null||Cn(ct)}})}}},[Q]),Jn=(0,s.useCallback)((G,ae)=>(de,we)=>{const pe=de.nativeEvent;me.current!==null||pe.dndKit||pe.defaultPrevented||G(de,ae.options)===!0&&(pe.dndKit={capturedBy:ae.sensor},me.current=we,yn(de,ae))},[yn]),mn=Ae(c,Jn);St(c),(0,s.useEffect)(()=>{j!=null&&Ve(!0)},[j]),(0,s.useEffect)(()=>{se||(Mt.current=null),se&&le&&!Mt.current&&(Mt.current=le)},[le,se]),(0,s.useEffect)(()=>{const{onDragMove:G}=ht.current,{active:ae,collisions:de,over:we}=qe.current;if(!ae)return;const pe={active:ae,collisions:de,delta:{x:st.x,y:st.y},over:we};B({type:D.DragMove,event:pe}),G==null||G(pe)},[st.x,st.y]),(0,s.useEffect)(()=>{const{active:G,collisions:ae,droppableContainers:de,scrollAdjustedTranslate:we}=qe.current;if(!G||!me.current||!we)return;const{onDragOver:pe}=ht.current,Le=de.get(pn),fe=Le&&Le.rect.current?{id:Le.id,rect:Le.rect.current,data:Le.data,disabled:Le.disabled}:null,We={active:G,collisions:ae,delta:{x:we.x,y:we.y},over:fe};(0,W.unstable_batchedUpdates)(()=>{bn(fe),B({type:D.DragOver,event:We}),pe==null||pe(We)})},[pn]),(0,f.useIsomorphicLayoutEffect)(()=>{qe.current={active:se,activeNode:Oe,collisionRect:it,collisions:bt,droppableRects:gt,draggableNodes:Q,draggingNode:pt,draggingNodeRect:Je,droppableContainers:oe,over:Be,scrollableAncestors:Pe,scrollAdjustedTranslate:st},rt.current={initial:Je,translated:it}},[se,Oe,bt,it,Q,pt,Je,gt,oe,Be,Pe,st]),Bt({...er(),draggingRect:it,pointerCoordinates:vn,scrollableAncestors:Pe,scrollableAncestorRects:Tt});const Qn=(0,s.useMemo)(()=>({active:se,activeNode:Oe,activeNodeRect:le,activatorEvent:Te,collisions:bt,containerNodeRect:Vt,dragOverlay:vt,draggableNodes:Q,droppableContainers:oe,droppableRects:gt,over:Be,measureDroppableContainers:xt,scrollableAncestors:Pe,scrollableAncestorRects:Tt,measuringScheduled:dn,windowRect:Gt}),[se,Oe,le,Te,bt,Vt,vt,Q,oe,gt,Be,xt,Pe,Tt,dn,Gt]),Zn=(0,s.useMemo)(()=>({activatorEvent:Te,activators:mn,active:se,activeNodeRect:le,ariaDescribedById:{draggable:jt},dispatch:$,draggableNodes:Q,over:Be,measureDroppableContainers:xt}),[Te,mn,se,le,$,jt,Q,Be,xt]);return s.createElement(De.Provider,{value:z},s.createElement(S.Provider,{value:Zn},s.createElement(P.Provider,{value:Qn},s.createElement(Et.Provider,{value:qn},i))),s.createElement($e,{announcements:r,hiddenTextDescribedById:jt,screenReaderInstructions:p}));function er(){const G=(Ge==null?void 0:Ge.autoScrollEnabled)===!1,ae=typeof n=="object"?n.enabled===!1:n===!1,de=!G&&!ae;return typeof n=="object"?{...n,enabled:de}:{enabled:de}}}),Kn=(0,s.createContext)(null),cn="button",$n="Droppable";function Un({id:e,data:t,disabled:n=!1,attributes:r}){const i=(0,f.useUniqueId)($n),{activators:c,activatorEvent:a,active:h,activeNodeRect:g,ariaDescribedById:p,draggableNodes:b,over:m}=(0,s.useContext)(S),{role:L=cn,roleDescription:R="draggable",tabIndex:M=0}=r??{},E=(h==null?void 0:h.id)===e,I=(0,s.useContext)(E?Et:Kn),[w,H]=(0,f.useNodeRef)(),A=dt(c,e),$=(0,f.useLatestValue)(t);(0,f.useIsomorphicLayoutEffect)(()=>(b[e]={id:e,key:i,node:w,data:$},()=>{const B=b[e];B&&B.key===i&&delete b[e]}),[b,e]);const z=(0,s.useMemo)(()=>({role:L,tabIndex:M,"aria-pressed":E&&L===cn?!0:void 0,"aria-roledescription":R,"aria-describedby":p.draggable}),[L,M,E,R,p.draggable]);return{active:h,activatorEvent:a,activeNodeRect:g,attributes:z,isDragging:E,listeners:n?void 0:A,node:w,over:m,setNodeRef:H,transform:I}}function un(){return(0,s.useContext)(P)}const kn="Droppable",zn={timeout:25};function Xn({data:e,disabled:t=!1,id:n,resizeObserverConfig:r}){const i=(0,f.useUniqueId)(kn),{active:c,dispatch:a,over:h,measureDroppableContainers:g}=(0,s.useContext)(S),p=(0,s.useRef)(!1),b=(0,s.useRef)(null),m=(0,s.useRef)(null),{disabled:L,updateMeasurementsFor:R,timeout:M}={...zn,...r},E=(0,f.useLatestValue)(R??n),I=(0,s.useCallback)(()=>{if(!p.current){p.current=!0;return}m.current!=null&&clearTimeout(m.current),m.current=setTimeout(()=>{g(typeof E.current=="string"?[E.current]:E.current),m.current=null},M)},[M]),w=Ie({onResize:I,disabled:L||!c}),H=(0,s.useCallback)((B,te)=>{w&&(te&&(w.unobserve(te),p.current=!1),B&&w.observe(B))},[w]),[A,$]=(0,f.useNodeRef)(H),z=(0,f.useLatestValue)(e);return(0,s.useEffect)(()=>{!w||!A.current||(w.disconnect(),p.current=!1,w.observe(A.current))},[A,w]),(0,f.useIsomorphicLayoutEffect)(()=>(a({type:D.RegisterDroppable,element:{id:n,key:i,disabled:t,node:A,rect:b,data:z}}),()=>a({type:D.UnregisterDroppable,key:i,id:n})),[n]),(0,s.useEffect)(()=>{a({type:D.SetDroppableDisabled,id:n,key:i,disabled:t})},[t]),{active:c,rect:b,isOver:(h==null?void 0:h.id)===n,node:A,over:h,setNodeRef:$}}const ln={duration:250,easing:"ease",dragSourceOpacity:0};function _n({animate:e,adjustScale:t,activeId:n,draggableNodes:r,duration:i,dragSourceOpacity:c,easing:a,node:h,transform:g}){const[p,b]=(0,s.useState)(!1);return(0,f.useIsomorphicLayoutEffect)(()=>{var m;if(!e||!n||!a||!i){e&&b(!0);return}const L=(m=r[n])==null?void 0:m.node.current;if(g&&h&&L&&L.parentNode!==null){const R=Zt(h);if(R){const M=R.getBoundingClientRect(),E=K(L),I={x:M.left-E.left,y:M.top-E.top};if(Math.abs(I.x)||Math.abs(I.y)){const w={scaleX:t?E.width*g.scaleX/M.width:1,scaleY:t?E.height*g.scaleY/M.height:1},H=f.CSS.Transform.toString({x:g.x-I.x,y:g.y-I.y,...w}),A=L.style.opacity;c!=null&&(L.style.opacity=`${c}`);const $=h.animate([{transform:f.CSS.Transform.toString(g)},{transform:H}],{easing:a,duration:i});$.onfinish=()=>{h.style.display="none",b(!0),L&&c!=null&&(L.style.opacity=A)};return}}}b(!0)},[e,n,t,r,i,a,c,h,g]),(0,f.useIsomorphicLayoutEffect)(()=>{p&&b(!1)},[p]),p}const Yn={x:0,y:0,scaleX:1,scaleY:1},Hn=e=>(0,f.isKeyboardEvent)(e)?"transform 250ms ease":void 0,jn=s.memo(({adjustScale:e=!1,children:t,dropAnimation:n=ln,style:r,transition:i=Hn,modifiers:c,wrapperElement:a="div",className:h,zIndex:g=999})=>{var p,b;const{active:m,activeNodeRect:L,containerNodeRect:R,draggableNodes:M,activatorEvent:E,over:I,dragOverlay:w,scrollableAncestors:H,scrollableAncestorRects:A,windowRect:$}=un(),z=(0,s.useContext)(Et),B=Ht(c,{activatorEvent:E,active:m,activeNodeRect:L,containerNodeRect:R,draggingNodeRect:w.rect,over:I,overlayNodeRect:w.rect,scrollableAncestors:H,scrollableAncestorRects:A,transform:z,windowRect:$}),te=m!==null,Ve=e?B:{...B,scaleX:1,scaleY:1},j=(0,f.useLazyMemo)(Ne=>te?Ne||(L?{...L}:null):null,[te,L]),Q=j?{position:"fixed",width:j.width,height:j.height,top:j.top,left:j.left,zIndex:g,transform:f.CSS.Transform.toString(Ve),touchAction:"none",transformOrigin:e&&E?Qe(E,j):void 0,transition:typeof i=="function"?i(E):i,...r}:void 0,ue=te?{style:Q,children:t,className:h,transform:Ve}:void 0,oe=(0,s.useRef)(ue),nt=ue??oe.current,{children:rt,transform:se,...me}=nt??{},Ge=(0,s.useRef)((p=m==null?void 0:m.id)!=null?p:null),ot=_n({animate:!!(n&&Ge.current&&!m),adjustScale:e,activeId:Ge.current,draggableNodes:M,duration:n==null?void 0:n.duration,easing:n==null?void 0:n.easing,dragSourceOpacity:n==null?void 0:n.dragSourceOpacity,node:w.nodeRef.current,transform:(b=oe.current)==null?void 0:b.transform}),Te=!!(rt&&(t||n&&!ot));return(0,s.useEffect)(()=>{if((m==null?void 0:m.id)!==Ge.current){var Ne;Ge.current=(Ne=m==null?void 0:m.id)!=null?Ne:null}m&&oe.current!==ue&&(oe.current=ue)},[m,ue]),(0,s.useEffect)(()=>{ot&&(oe.current=void 0)},[ot]),Te?s.createElement(S.Provider,{value:T},s.createElement(Et.Provider,{value:Yn},s.createElement(a,{...me,ref:w.setRef},rt))):null})},32339:function(mt,ne,k){k.r(ne),k.d(ne,{createSnapModifier:function(){return W},restrictToFirstScrollableAncestor:function(){return X},restrictToHorizontalAxis:function(){return f},restrictToParentElement:function(){return he},restrictToVerticalAxis:function(){return D},restrictToWindowEdges:function(){return _},snapCenterToCursor:function(){return V}});var s=k(24285);function W(N){return T=>{let{transform:S}=T;return{...S,x:Math.ceil(S.x/N)*N,y:Math.ceil(S.y/N)*N}}}const f=N=>{let{transform:T}=N;return{...T,y:0}};function Y(N,T,S){const P={...N};return T.top+N.y<=S.top?P.y=S.top-T.top:T.bottom+N.y>=S.top+S.height&&(P.y=S.top+S.height-T.bottom),T.left+N.x<=S.left?P.x=S.left-T.left:T.right+N.x>=S.left+S.width&&(P.x=S.left+S.width-T.right),P}const he=N=>{let{containerNodeRect:T,draggingNodeRect:S,transform:P}=N;return!S||!T?P:Y(P,S,T)},X=N=>{let{draggingNodeRect:T,transform:S,scrollableAncestorRects:P}=N;const ie=P[0];return!T||!ie?S:Y(S,T,ie)},D=N=>{let{transform:T}=N;return{...T,x:0}},_=N=>{let{transform:T,draggingNodeRect:S,windowRect:P}=N;return!S||!P?T:Y(T,S,P)},V=N=>{let{activatorEvent:T,draggingNodeRect:S,transform:P}=N;if(S&&T){const ie=(0,s.getEventCoordinates)(T);if(!ie)return P;const Fe=ie.x-S.left,De=ie.y-S.top;return{...P,x:P.x+Fe-S.width/2,y:P.y+De-S.height/2}}return P}},45587:function(mt,ne,k){k.r(ne),k.d(ne,{SortableContext:function(){return $e},arrayMove:function(){return Y},arraySwap:function(){return he},defaultAnimateLayoutChanges:function(){return Qe},defaultNewIndexGetter:function(){return Ce},horizontalListSortingStrategy:function(){return V},rectSortingStrategy:function(){return T},rectSwappingStrategy:function(){return S},sortableKeyboardCoordinates:function(){return ut},useSortable:function(){return _e},verticalListSortingStrategy:function(){return ie}});var s=k(67294),W=k(94697),f=k(24285);function Y(o,u,l){const d=o.slice();return d.splice(l<0?d.length+l:l,0,d.splice(u,1)[0]),d}function he(o,u,l){const d=o.slice();return d[u]=o[l],d[l]=o[u],d}function X(o,u){return o.reduce((l,d,v)=>{const y=u.get(d);return y&&(l[v]=y),l},Array(o.length))}function D(o){return o!==null&&o>=0}const _={scaleX:1,scaleY:1},V=({rects:o,activeNodeRect:u,activeIndex:l,overIndex:d,index:v})=>{var y;const O=(y=o[l])!=null?y:u;if(!O)return null;const U=N(o,v,l);if(v===l){const C=o[d];return C?{x:l<d?C.left+C.width-(O.left+O.width):C.left-O.left,y:0,..._}:null}return v>l&&v<=d?{x:-O.width-U,y:0,..._}:v<l&&v>=d?{x:O.width+U,y:0,..._}:{x:0,y:0,..._}};function N(o,u,l){const d=o[u],v=o[u-1],y=o[u+1];return!d||!v&&!y?0:l<u?v?d.left-(v.left+v.width):y.left-(d.left+d.width):y?y.left-(d.left+d.width):d.left-(v.left+v.width)}const T=({rects:o,activeIndex:u,overIndex:l,index:d})=>{const v=Y(o,l,u),y=o[d],O=v[d];return!O||!y?null:{x:O.left-y.left,y:O.top-y.top,scaleX:O.width/y.width,scaleY:O.height/y.height}},S=({activeIndex:o,index:u,rects:l,overIndex:d})=>{let v,y;return u===o&&(v=l[u],y=l[d]),u===d&&(v=l[u],y=l[o]),!y||!v?null:{x:y.left-v.left,y:y.top-v.top,scaleX:y.width/v.width,scaleY:y.height/v.height}},P={scaleX:1,scaleY:1},ie=({activeIndex:o,activeNodeRect:u,index:l,rects:d,overIndex:v})=>{var y;const O=(y=d[o])!=null?y:u;if(!O)return null;if(l===o){const C=d[v];return C?{x:0,y:o<v?C.top+C.height-(O.top+O.height):C.top-O.top,...P}:null}const U=Fe(d,l,o);return l>o&&l<=v?{x:0,y:-O.height-U,...P}:l<o&&l>=v?{x:0,y:O.height+U,...P}:{x:0,y:0,...P}};function Fe(o,u,l){const d=o[u],v=o[u-1],y=o[u+1];return d?l<u?v?d.top-(v.top+v.height):y?y.top-(d.top+d.height):0:y?y.top-(d.top+d.height):v?d.top-(v.top+v.height):0:0}const De="Sortable",Ke=s.createContext({activeIndex:-1,containerId:De,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:T});function $e({children:o,id:u,items:l,strategy:d=T}){const{active:v,dragOverlay:y,droppableRects:O,over:U,measureDroppableContainers:C,measuringScheduled:x}=(0,W.useDndContext)(),K=(0,f.useUniqueId)(De,u),ge=y.rect!==null,q=(0,s.useMemo)(()=>l.map(xe=>typeof xe=="string"?xe:xe.id),[l]),Re=v!=null,re=v?q.indexOf(v.id):-1,ve=U?q.indexOf(U.id):-1,Se=(0,s.useRef)(q),ee=!Z(q,Se.current),Ee=ve!==-1&&re===-1||ee;(0,f.useIsomorphicLayoutEffect)(()=>{ee&&Re&&!x&&C(q)},[ee,q,Re,C,x]),(0,s.useEffect)(()=>{Se.current=q},[q]);const be=(0,s.useMemo)(()=>({activeIndex:re,containerId:K,disableTransforms:Ee,items:q,overIndex:ve,useDragOverlay:ge,sortedRects:X(q,O),strategy:d}),[re,K,Ee,q,ve,O,ge,d]);return s.createElement(Ke.Provider,{value:be},o)}function Z(o,u){return o.join()===u.join()}const Ce=({id:o,items:u,activeIndex:l,overIndex:d})=>Y(u,l,d).indexOf(o),Qe=({containerId:o,isSorting:u,wasDragging:l,index:d,items:v,newIndex:y,previousItems:O,previousContainerId:U,transition:C})=>!C||!l||O!==v&&d===y?!1:u?!0:y!==d&&o===U,Ue={duration:200,easing:"ease"},ke="transform",ze=f.CSS.Transition.toString({property:ke,duration:0,easing:"linear"}),Xe={roleDescription:"sortable"};function Ze({disabled:o,index:u,node:l,rect:d}){const[v,y]=(0,s.useState)(null),O=(0,s.useRef)(u);return(0,f.useIsomorphicLayoutEffect)(()=>{if(!o&&u!==O.current&&l.current){const U=d.current;if(U){const C=(0,W.getClientRect)(l.current,{ignoreTransform:!0}),x={x:U.left-C.left,y:U.top-C.top,scaleX:U.width/C.width,scaleY:U.height/C.height};(x.x||x.y)&&y(x)}}u!==O.current&&(O.current=u)},[o,u,l,d]),(0,s.useEffect)(()=>{v&&requestAnimationFrame(()=>{y(null)})},[v]),v}function _e({animateLayoutChanges:o=Qe,attributes:u,disabled:l,data:d,getNewIndex:v=Ce,id:y,strategy:O,resizeObserverConfig:U,transition:C=Ue}){const{items:x,containerId:K,activeIndex:ge,disableTransforms:q,sortedRects:Re,overIndex:re,useDragOverlay:ve,strategy:Se}=(0,s.useContext)(Ke),ee=x.indexOf(y),Ee=(0,s.useMemo)(()=>({sortable:{containerId:K,index:ee,items:x},...d}),[K,d,ee,x]),be=(0,s.useMemo)(()=>x.slice(x.indexOf(y)),[x,y]),{rect:xe,node:wt,isOver:It,setNodeRef:Dt}=(0,W.useDroppable)({id:y,data:Ee,resizeObserverConfig:{updateMeasurementsFor:be,...U}}),{active:Ye,activatorEvent:Ct,activeNodeRect:Nt,attributes:Pt,setNodeRef:Rt,listeners:lt,isDragging:ye,over:He,transform:Bt}=(0,W.useDraggable)({id:y,data:Ee,attributes:{...Xe,...u},disabled:l}),Wt=(0,f.useCombinedRefs)(Dt,Rt),Ae=!!Ye,Me=Ae&&!q&&D(ge)&&D(re),je=!ve&&ye,at=je&&Me?Bt:null,Ft=Me?at??(O??Se)({rects:Re,activeNodeRect:Nt,activeIndex:ge,overIndex:re,index:ee}):null,Ie=D(ge)&&D(re)?v({id:y,items:x,activeIndex:ge,overIndex:re}):ee,tt=Ye==null?void 0:Ye.id,J=(0,s.useRef)({activeId:tt,items:x,newIndex:Ie,containerId:K}),Kt=x!==J.current.items,St=o({active:Ye,containerId:K,isDragging:ye,isSorting:Ae,id:y,index:ee,items:x,newIndex:J.current.newIndex,previousItems:J.current.items,previousContainerId:J.current.containerId,transition:C,wasDragging:J.current.activeId!=null}),dt=Ze({disabled:!St,index:ee,node:wt,rect:xe});return(0,s.useEffect)(()=>{Ae&&J.current.newIndex!==Ie&&(J.current.newIndex=Ie),K!==J.current.containerId&&(J.current.containerId=K),x!==J.current.items&&(J.current.items=x),tt!==J.current.activeId&&(J.current.activeId=tt)},[tt,Ae,Ie,K,x]),{active:Ye,activeIndex:ge,attributes:Pt,rect:xe,index:ee,newIndex:Ie,items:x,isOver:It,isSorting:Ae,isDragging:ye,listeners:lt,node:wt,overIndex:re,over:He,setNodeRef:Wt,setDroppableNodeRef:Dt,setDraggableNodeRef:Rt,transform:dt??Ft,transition:$t()};function $t(){if(dt||Kt&&J.current.newIndex===ee)return ze;if(!(je&&!(0,f.isKeyboardEvent)(Ct)||!C)&&(Ae||St))return f.CSS.Transition.toString({...C,property:ke})}}const et=[W.KeyboardCode.Down,W.KeyboardCode.Right,W.KeyboardCode.Up,W.KeyboardCode.Left],ut=(o,{context:{active:u,droppableContainers:l,collisionRect:d,scrollableAncestors:v}})=>{if(et.includes(o.code)){if(o.preventDefault(),!u||!d)return;const y=[];l.getEnabled().forEach(C=>{if(!C||C!=null&&C.disabled)return;const x=C==null?void 0:C.rect.current;if(x)switch(o.code){case W.KeyboardCode.Down:d.top+d.height<=x.top&&y.push(C);break;case W.KeyboardCode.Up:d.top>=x.top+x.height&&y.push(C);break;case W.KeyboardCode.Left:d.left>=x.left+x.width&&y.push(C);break;case W.KeyboardCode.Right:d.left+d.width<=x.left&&y.push(C);break}});const O=(0,W.closestCorners)({active:u,collisionRect:d,droppableContainers:y,pointerCoordinates:null}),U=(0,W.getFirstCollision)(O,"id");if(U!=null){const C=l.get(U),x=C==null?void 0:C.node.current,K=C==null?void 0:C.rect.current;if(x&&K){const Re=(0,W.getScrollableAncestors)(x).some((ve,Se)=>v[Se]!==ve)?{x:0,y:0}:{x:d.width-K.width,y:d.height-K.height};return{x:K.left-Re.x,y:K.top-Re.y}}}}}},24285:function(mt,ne,k){k.r(ne),k.d(ne,{CSS:function(){return _e},add:function(){return Qe},canUseDOM:function(){return f},findFirstFocusableNode:function(){return ut},getEventCoordinates:function(){return Ze},getOwnerDocument:function(){return N},getWindow:function(){return X},hasViewportRelativeCoordinates:function(){return ke},isDocument:function(){return D},isHTMLElement:function(){return _},isKeyboardEvent:function(){return ze},isNode:function(){return he},isSVGElement:function(){return V},isTouchEvent:function(){return Xe},isWindow:function(){return Y},subtract:function(){return Ue},useCombinedRefs:function(){return W},useEvent:function(){return S},useInterval:function(){return P},useIsomorphicLayoutEffect:function(){return T},useLatestValue:function(){return ie},useLazyMemo:function(){return Fe},useNodeRef:function(){return De},usePrevious:function(){return Ke},useUniqueId:function(){return Z}});var s=k(67294);function W(){for(var o=arguments.length,u=new Array(o),l=0;l<o;l++)u[l]=arguments[l];return(0,s.useMemo)(()=>d=>{u.forEach(v=>v(d))},u)}const f=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Y(o){const u=Object.prototype.toString.call(o);return u==="[object Window]"||u==="[object global]"}function he(o){return"nodeType"in o}function X(o){var u,l;return o?Y(o)?o:he(o)&&(u=(l=o.ownerDocument)==null?void 0:l.defaultView)!=null?u:window:window}function D(o){const{Document:u}=X(o);return o instanceof u}function _(o){return Y(o)?!1:o instanceof X(o).HTMLElement}function V(o){return o instanceof X(o).SVGElement}function N(o){return o?Y(o)?o.document:he(o)?D(o)?o:_(o)||V(o)?o.ownerDocument:document:document:document}const T=f?s.useLayoutEffect:s.useEffect;function S(o){const u=(0,s.useRef)(o);return T(()=>{u.current=o}),(0,s.useCallback)(function(){for(var l=arguments.length,d=new Array(l),v=0;v<l;v++)d[v]=arguments[v];return u.current==null?void 0:u.current(...d)},[])}function P(){const o=(0,s.useRef)(null),u=(0,s.useCallback)((d,v)=>{o.current=setInterval(d,v)},[]),l=(0,s.useCallback)(()=>{o.current!==null&&(clearInterval(o.current),o.current=null)},[]);return[u,l]}function ie(o,u){u===void 0&&(u=[o]);const l=(0,s.useRef)(o);return T(()=>{l.current!==o&&(l.current=o)},u),l}function Fe(o,u){const l=(0,s.useRef)();return(0,s.useMemo)(()=>{const d=o(l.current);return l.current=d,d},[...u])}function De(o){const u=S(o),l=(0,s.useRef)(null),d=(0,s.useCallback)(v=>{v!==l.current&&(u==null||u(v,l.current)),l.current=v},[]);return[l,d]}function Ke(o){const u=(0,s.useRef)();return(0,s.useEffect)(()=>{u.current=o},[o]),u.current}let $e={};function Z(o,u){return(0,s.useMemo)(()=>{if(u)return u;const l=$e[o]==null?0:$e[o]+1;return $e[o]=l,o+"-"+l},[o,u])}function Ce(o){return function(u){for(var l=arguments.length,d=new Array(l>1?l-1:0),v=1;v<l;v++)d[v-1]=arguments[v];return d.reduce((y,O)=>{const U=Object.entries(O);for(const[C,x]of U){const K=y[C];K!=null&&(y[C]=K+o*x)}return y},{...u})}}const Qe=Ce(1),Ue=Ce(-1);function ke(o){return"clientX"in o&&"clientY"in o}function ze(o){if(!o)return!1;const{KeyboardEvent:u}=X(o.target);return u&&o instanceof u}function Xe(o){if(!o)return!1;const{TouchEvent:u}=X(o.target);return u&&o instanceof u}function Ze(o){if(Xe(o)){if(o.touches&&o.touches.length){const{clientX:u,clientY:l}=o.touches[0];return{x:u,y:l}}else if(o.changedTouches&&o.changedTouches.length){const{clientX:u,clientY:l}=o.changedTouches[0];return{x:u,y:l}}}return ke(o)?{x:o.clientX,y:o.clientY}:null}const _e=Object.freeze({Translate:{toString(o){if(!o)return;const{x:u,y:l}=o;return"translate3d("+(u?Math.round(u):0)+"px, "+(l?Math.round(l):0)+"px, 0)"}},Scale:{toString(o){if(!o)return;const{scaleX:u,scaleY:l}=o;return"scaleX("+u+") scaleY("+l+")"}},Transform:{toString(o){if(o)return[_e.Translate.toString(o),_e.Scale.toString(o)].join(" ")}},Transition:{toString(o){let{property:u,duration:l,easing:d}=o;return u+" "+l+"ms "+d}}}),et="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function ut(o){return o.matches(et)?o:o.querySelector(et)}}}]);
|