filesbox/web/dist/32025.fb95a089.async.js

3 lines
55 KiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[32025],{74707:function(Z,P,s){"use strict";s.d(P,{Z:function(){return k}});var p=s(28991),D=s(67294),y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-80 600c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z"}}]},name:"pause-circle",theme:"filled"},O=y,E=s(27029),g=function(b,S){return D.createElement(E.Z,(0,p.Z)((0,p.Z)({},b),{},{ref:S,icon:O}))};g.displayName="PauseCircleFilled";var k=D.forwardRef(g)},39144:function(Z,P,s){"use strict";s.d(P,{Z:function(){return k}});var p=s(28991),D=s(67294),y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z"}}]},name:"play-circle",theme:"filled"},O=y,E=s(27029),g=function(b,S){return D.createElement(E.Z,(0,p.Z)((0,p.Z)({},b),{},{ref:S,icon:O}))};g.displayName="PlayCircleFilled";var k=D.forwardRef(g)},1977:function(Z,P,s){"use strict";s.d(P,{Z:function(){return k}});var p=s(28991),D=s(67294),y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},O=y,E=s(27029),g=function(b,S){return D.createElement(E.Z,(0,p.Z)((0,p.Z)({},b),{},{ref:S,icon:O}))};g.displayName="PlusCircleOutlined";var k=D.forwardRef(g)},31045:function(Z,P,s){"use strict";s.d(P,{k:function(){return D}});var p=s(34155);function D(O,E,...g){if(y()&&E===void 0)throw new Error("invariant requires an error message argument");if(!O){let k;if(E===void 0)k=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let T=0;k=new Error(E.replace(/%s/g,function(){return g[T++]})),k.name="Invariant Violation"}throw k.framesToPop=1,k}}function y(){return typeof p!="undefined"&&!0}},63621:function(Z,P,s){"use strict";s.d(P,{w:function(){return p}});function p(D,y,O,E){let g=O?O.call(E,D,y):void 0;if(g!==void 0)return!!g;if(D===y)return!0;if(typeof D!="object"||!D||typeof y!="object"||!y)return!1;const k=Object.keys(D),T=Object.keys(y);if(k.length!==T.length)return!1;const b=Object.prototype.hasOwnProperty.bind(y);for(let S=0;S<k.length;S++){const H=k[S];if(!b(H))return!1;const x=D[H],_=y[H];if(g=O?O.call(E,x,_,H):void 0,g===!1||g===void 0&&x!==_)return!1}return!0}},42222:function(Z,P,s){"use strict";s.d(P,{L:function(){return D}});var p=s(67294),D=(0,p.createContext)({dragDropManager:void 0})},19034:function(Z,P,s){"use strict";s.d(P,{W:function(){return ht}});var p=s(2824),D=s(85893),y=s(14890),O=s(69610),E=s(54941),g=s(31045);function k(e,n,t){return n.split(".").reduce(function(i,u){return i&&i[u]?i[u]:t||null},e)}function T(e,n){return e.filter(function(t){return t!==n})}function b(e){return typeof e=="string"}function S(e){return typeof e=="object"}function H(e,n){var t=new Map,i=function(I){t.set(I,t.has(I)?t.get(I)+1:1)};e.forEach(i),n.forEach(i);var u=[];return t.forEach(function(v,I){v===1&&u.push(I)}),u}function x(e,n){return e.filter(function(t){return n.indexOf(t)>-1})}var _="dnd-core/INIT_COORDS",F="dnd-core/BEGIN_DRAG",W="dnd-core/PUBLISH_DRAG_SOURCE",j="dnd-core/HOVER",Y="dnd-core/DROP",ee="dnd-core/END_DRAG";function ie(e,n){return{type:_,payload:{sourceClientOffset:n||null,clientOffset:e||null}}}var te={type:_,
`),dataTransfer:a=>a},matchesTypes:["Url","text/uri-list"]},[b]:{exposeProperties:{text:(a,r)=>H(a,r,""),dataTransfer:a=>a},matchesTypes:["Text","text/plain"]}};function _(a,r){const o=x[a];if(!o)throw new Error(`native type ${a} has no configuration`);const f=new g(o);return f.loadDataTransfer(r),f}function F(a){if(!a)return null;const r=Array.prototype.slice.call(a.types||[]);return Object.keys(x).filter(o=>{const f=x[o];return(f==null?void 0:f.matchesTypes)?f.matchesTypes.some(c=>r.indexOf(c)>-1):!1})[0]||null}const W=D(()=>/firefox/i.test(navigator.userAgent)),j=D(()=>Boolean(window.safari));class Y{interpolate(r){const{xs:o,ys:f,c1s:c,c2s:h,c3s:R}=this;let C=o.length-1;if(r===o[C])return f[C];let L=0,V=R.length-1,A;for(;L<=V;){A=Math.floor(.5*(L+V));const X=o[A];if(X<r)L=A+1;else if(X>r)V=A-1;else return f[A]}C=Math.max(0,V);const z=r-o[C],$=z*z;return f[C]+c[C]*z+h[C]*$+R[C]*z*$}constructor(r,o){const{length:f}=r,c=[];for(let M=0;M<f;M++)c.push(M);c.sort((M,K)=>r[M]<r[K]?-1:1);const h=[],R=[],C=[];let L,V;for(let M=0;M<f-1;M++)L=r[M+1]-r[M],V=o[M+1]-o[M],R.push(L),h.push(V),C.push(V/L);const A=[C[0]];for(let M=0;M<R.length-1;M++){const K=C[M],J=C[M+1];if(K*J<=0)A.push(0);else{L=R[M];const Q=R[M+1],re=L+Q;A.push(3*re/((re+Q)/K+(re+L)/J))}}A.push(C[C.length-1]);const z=[],$=[];let X;for(let M=0;M<A.length-1;M++){X=C[M];const K=A[M],J=1/R[M],Q=K+A[M+1]-X-X;z.push((X-K-Q)*J),$.push(Q*J*J)}this.xs=r,this.ys=o,this.c1s=A,this.c2s=z,this.c3s=$}}const ee=1;function ie(a){const r=a.nodeType===ee?a:a.parentElement;if(!r)return null;const{top:o,left:f}=r.getBoundingClientRect();return{x:f,y:o}}function te(a){return{x:a.clientX,y:a.clientY}}function ae(a){var r;return a.nodeName==="IMG"&&(W()||!((r=document.documentElement)===null||r===void 0?void 0:r.contains(a)))}function oe(a,r,o,f){let c=a?r.width:o,h=a?r.height:f;return j()&&a&&(h/=window.devicePixelRatio,c/=window.devicePixelRatio),{dragPreviewWidth:c,dragPreviewHeight:h}}function se(a,r,o,f,c){const h=ae(r),C=ie(h?a:r),L={x:o.x-C.x,y:o.y-C.y},{offsetWidth:V,offsetHeight:A}=a,{anchorX:z,anchorY:$}=f,{dragPreviewWidth:X,dragPreviewHeight:M}=oe(h,r,V,A),K=()=>{let ge=new Y([0,.5,1],[L.y,L.y/A*M,L.y+M-A]).interpolate($);return j()&&h&&(ge+=(window.devicePixelRatio-1)*M),ge},J=()=>new Y([0,.5,1],[L.x,L.x/V*X,L.x+X-V]).interpolate(z),{offsetX:Q,offsetY:re}=c,ne=Q===0||Q,le=re===0||re;return{x:ne?Q:J(),y:le?re:K()}}class ue{get window(){if(this.globalContext)return this.globalContext;if(typeof window!="undefined")return window}get document(){var r;return((r=this.globalContext)===null||r===void 0?void 0:r.document)?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var r;return((r=this.optionsArgs)===null||r===void 0?void 0:r.rootElement)||this.window}constructor(r,o){this.ownerDocument=null,this.globalContext=r,this.optionsArgs=o}}function w(a,r,o){return r in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o,a}function m(a){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{},f=Object.keys(o);typeof Object.getOwnPropertySymbols=="function"&&(f=f.concat(Object.getOwnPropertySymbols(o).filter(function(c){return Object.getOwnPropertyDescriptor(o,c).enumerable}))),f.forEach(function(c){w(a,c,o[c])})}return a}class d{profile(){var r,o;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((r=this.dragStartSourceIds)===null||r===void 0?void 0:r.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((o=this.dragOverTargetIds)===null||o===void 0?void 0:o.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const r=this.rootElement;if(r!==void 0){if(r.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");r.__isReactDndBackendSetUp