From 5a3158ff68170a14ca61ef3bf956e84e80376087 Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Thu, 16 Jan 2025 03:42:14 +0100 Subject: [PATCH] [web] Fix for setting "streamurl_ignore" #1829 --- htdocs/assets/index.js | 2 +- web-src/src/pages/PageSettingsArtwork.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/assets/index.js b/htdocs/assets/index.js index 8cad971a..dcbb6bb1 100644 --- a/htdocs/assets/index.js +++ b/htdocs/assets/index.js @@ -68,4 +68,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var oj="1.14.0";function Ar(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Nr=Ar(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Gi=Ar(/Edge/i),bh=Ar(/firefox/i),pi=Ar(/safari/i)&&!Ar(/chrome/i)&&!Ar(/android/i),lz=Ar(/iP(ad|od|hone)/i),sj=Ar(/chrome/i)&&Ar(/android/i),cz={capture:!1,passive:!1};function Ze(e,t,n){e.addEventListener(t,n,!Nr&&cz)}function qe(e,t,n){e.removeEventListener(t,n,!Nr&&cz)}function hl(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function ij(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Zn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&hl(e,t):hl(e,t))||r&&e===n)return e;if(e===n)break}while(e=ij(e))}return null}var Ch=/\s+/g;function Ct(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Ch," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Ch," ")}}function be(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function Lo(e,t){var n="";if(typeof e=="string")n=e;else do{var r=be(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function uz(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,s=r.length;if(n)for(;o=s,!i)return r;if(r===pr())break;r=to(r,!1)}return!1}function Es(e,t,n,r){for(var o=0,s=0,i=e.children;s2&&arguments[2]!==void 0?arguments[2]:{},o=r.evt,s=JU(r,fj);Ki.pluginEvent.bind(Ie)(t,n,gr({dragEl:he,parentEl:St,ghostEl:je,rootEl:yt,nextEl:ko,lastDownEl:Ma,cloneEl:xt,cloneHidden:eo,dragStarted:ei,putSortable:Bt,activeSortable:Ie.active,originalEvent:o,oldIndex:ls,oldDraggableIndex:_i,newIndex:vn,newDraggableIndex:Xr,hideGhostForTarget:_z,unhideGhostForTarget:gz,cloneNowHidden:function(){eo=!0},cloneNowShown:function(){eo=!1},dispatchSortableEvent:function(a){en({sortable:n,name:a,originalEvent:o})}},s))};function en(e){Qs(gr({putSortable:Bt,cloneEl:xt,targetEl:he,rootEl:yt,oldIndex:ls,oldDraggableIndex:_i,newIndex:vn,newDraggableIndex:Xr},e))}var he,St,je,yt,ko,Ma,xt,eo,ls,vn,_i,Xr,ba,Bt,ss=!1,_l=!1,gl=[],Co,Gn,jc,Bc,xh,Eh,ei,Jo,gi,yi=!1,Ca=!1,Fa,Wt,Wc=[],Qu=!1,yl=[],ic=typeof document<"u",wa=lz,$h=Gi||Nr?"cssFloat":"float",pj=ic&&!sj&&!lz&&"draggable"in document.createElement("div"),fz=function(){if(ic){if(Nr)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),pz=function(t,n){var r=be(t),o=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),s=Es(t,0,n),i=Es(t,1,n),a=s&&be(s),l=i&&be(i),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+zt(s).width,m=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+zt(i).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&a.float&&a.float!=="none"){var d=a.float==="left"?"left":"right";return i&&(l.clear==="both"||l.clear===d)?"vertical":"horizontal"}return s&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||u>=o&&r[$h]==="none"||i&&r[$h]==="none"&&u+m>o)?"vertical":"horizontal"},hj=function(t,n,r){var o=r?t.left:t.top,s=r?t.right:t.bottom,i=r?t.width:t.height,a=r?n.left:n.top,l=r?n.right:n.bottom,u=r?n.width:n.height;return o===a||s===l||o+i/2===a+u/2},_j=function(t,n){var r;return gl.some(function(o){var s=o[Zt].options.emptyInsertThreshold;if(!(!s||fm(o))){var i=zt(o),a=t>=i.left-s&&t<=i.right+s,l=n>=i.top-s&&n<=i.bottom+s;if(a&&l)return r=o}}),r},hz=function(t){function n(s,i){return function(a,l,u,m){var d=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(s==null&&(i||d))return!0;if(s==null||s===!1)return!1;if(i&&s==="clone")return s;if(typeof s=="function")return n(s(a,l,u,m),i)(a,l,u,m);var f=(i?a:l).options.group.name;return s===!0||typeof s=="string"&&s===f||s.join&&s.indexOf(f)>-1}}var r={},o=t.group;(!o||Ra(o)!="object")&&(o={name:o}),r.name=o.name,r.checkPull=n(o.pull,!0),r.checkPut=n(o.put),r.revertClone=o.revertClone,t.group=r},_z=function(){!fz&&je&&be(je,"display","none")},gz=function(){!fz&&je&&be(je,"display","")};ic&&document.addEventListener("click",function(e){if(_l)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),_l=!1,!1},!0);var wo=function(t){if(he){t=t.touches?t.touches[0]:t;var n=_j(t.clientX,t.clientY);if(n){var r={};for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[Zt]._onDragOver(r)}}},gj=function(t){he&&he.parentNode[Zt]._isOutsideThisEl(t.target)};function Ie(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Vn({},t),e[Zt]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return pz(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(i,a){i.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ie.supportPointer!==!1&&"PointerEvent"in window&&!pi,emptyInsertThreshold:5};Ki.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);hz(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:pj,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Ze(e,"pointerdown",this._onTapStart):(Ze(e,"mousedown",this._onTapStart),Ze(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ze(e,"dragover",this),Ze(e,"dragenter",this)),gl.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Vn(this,uj())}Ie.prototype={constructor:Ie,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Jo=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,he):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,o=this.options,s=o.preventOnFilter,i=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(a||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,m=o.filter;if(Sj(r),!he&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||o.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&pi&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Zn(l,o.draggable,r,!1),!(l&&l.animated)&&Ma!==l)){if(ls=Tt(l),_i=Tt(l,o.draggable),typeof m=="function"){if(m.call(this,t,l,this)){en({sortable:n,rootEl:u,name:"filter",targetEl:l,toEl:r,fromEl:r}),an("filter",n,{evt:t}),s&&t.cancelable&&t.preventDefault();return}}else if(m&&(m=m.split(",").some(function(d){if(d=Zn(u,d.trim(),r,!1),d)return en({sortable:n,rootEl:d,name:"filter",targetEl:l,fromEl:r,toEl:r}),an("filter",n,{evt:t}),!0}),m)){s&&t.cancelable&&t.preventDefault();return}o.handle&&!Zn(u,o.handle,r,!1)||this._prepareDragStart(t,a,l)}}},_prepareDragStart:function(t,n,r){var o=this,s=o.el,i=o.options,a=s.ownerDocument,l;if(r&&!he&&r.parentNode===s){var u=zt(r);if(yt=s,he=r,St=he.parentNode,ko=he.nextSibling,Ma=r,ba=i.group,Ie.dragged=he,Co={target:he,clientX:(n||t).clientX,clientY:(n||t).clientY},xh=Co.clientX-u.left,Eh=Co.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,he.style["will-change"]="all",l=function(){if(an("delayEnded",o,{evt:t}),Ie.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!bh&&o.nativeDraggable&&(he.draggable=!0),o._triggerDragStart(t,n),en({sortable:o,name:"choose",originalEvent:t}),Ct(he,i.chosenClass,!0)},i.ignore.split(",").forEach(function(m){uz(he,m.trim(),qc)}),Ze(a,"dragover",wo),Ze(a,"mousemove",wo),Ze(a,"touchmove",wo),Ze(a,"mouseup",o._onDrop),Ze(a,"touchend",o._onDrop),Ze(a,"touchcancel",o._onDrop),bh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,he.draggable=!0),an("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Gi||Nr))){if(Ie.eventCanceled){this._onDrop();return}Ze(a,"mouseup",o._disableDelayedDrag),Ze(a,"touchend",o._disableDelayedDrag),Ze(a,"touchcancel",o._disableDelayedDrag),Ze(a,"mousemove",o._delayedDragTouchMoveHandler),Ze(a,"touchmove",o._delayedDragTouchMoveHandler),i.supportPointer&&Ze(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(l,i.delay)}else l()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){he&&qc(he),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;qe(t,"mouseup",this._disableDelayedDrag),qe(t,"touchend",this._disableDelayedDrag),qe(t,"touchcancel",this._disableDelayedDrag),qe(t,"mousemove",this._delayedDragTouchMoveHandler),qe(t,"touchmove",this._delayedDragTouchMoveHandler),qe(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?Ze(document,"pointermove",this._onTouchMove):n?Ze(document,"touchmove",this._onTouchMove):Ze(document,"mousemove",this._onTouchMove):(Ze(he,"dragend",this),Ze(yt,"dragstart",this._onDragStart));try{document.selection?Va(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(ss=!1,yt&&he){an("dragStarted",this,{evt:n}),this.nativeDraggable&&Ze(document,"dragover",gj);var r=this.options;!t&&Ct(he,r.dragClass,!1),Ct(he,r.ghostClass,!0),Ie.active=this,t&&this._appendGhost(),en({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Gn){this._lastX=Gn.clientX,this._lastY=Gn.clientY,_z();for(var t=document.elementFromPoint(Gn.clientX,Gn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Gn.clientX,Gn.clientY),t!==n);)n=t;if(he.parentNode[Zt]._isOutsideThisEl(t),n)do{if(n[Zt]){var r=void 0;if(r=n[Zt]._onDragOver({clientX:Gn.clientX,clientY:Gn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);gz()}},_onTouchMove:function(t){if(Co){var n=this.options,r=n.fallbackTolerance,o=n.fallbackOffset,s=t.touches?t.touches[0]:t,i=je&&Lo(je,!0),a=je&&i&&i.a,l=je&&i&&i.d,u=wa&&Wt&&kh(Wt),m=(s.clientX-Co.clientX+o.x)/(a||1)+(u?u[0]-Wc[0]:0)/(a||1),d=(s.clientY-Co.clientY+o.y)/(l||1)+(u?u[1]-Wc[1]:0)/(l||1);if(!Ie.active&&!ss){if(r&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))=0&&(en({rootEl:St,name:"add",toEl:St,fromEl:yt,originalEvent:t}),en({sortable:this,name:"remove",toEl:St,originalEvent:t}),en({rootEl:St,name:"sort",toEl:St,fromEl:yt,originalEvent:t}),en({sortable:this,name:"sort",toEl:St,originalEvent:t})),Bt&&Bt.save()):vn!==ls&&vn>=0&&(en({sortable:this,name:"update",toEl:St,originalEvent:t}),en({sortable:this,name:"sort",toEl:St,originalEvent:t})),Ie.active&&((vn==null||vn===-1)&&(vn=ls,Xr=_i),en({sortable:this,name:"end",toEl:St,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){an("nulling",this),yt=he=St=je=ko=xt=Ma=eo=Co=Gn=ei=vn=Xr=ls=_i=Jo=gi=Bt=ba=Ie.dragged=Ie.ghost=Ie.clone=Ie.active=null,yl.forEach(function(t){t.checked=!0}),yl.length=jc=Bc=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":he&&(this._onDragOver(t),yj(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,o=0,s=r.length,i=this.options;or.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}function Cj(e,t,n,r,o,s,i,a){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,m=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!i){if(a&&Fam+u*s/2:ld-Fa)return-gi}else if(l>m+u*(1-o)/2&&ld-u*s/2)?l>m+u/2?1:-1:0}function wj(e){return Tt(he)1&&(Fe.forEach(function(a){s.addAnimationState({target:a,rect:ln?zt(a):i}),Hc(a),a.fromRect=i,r.removeAnimationState(a)}),ln=!1,Aj(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(n){var r=n.sortable,o=n.isOwner,s=n.insertion,i=n.activeSortable,a=n.parentEl,l=n.putSortable,u=this.options;if(s){if(o&&i._hideClone(),qs=!1,u.animation&&Fe.length>1&&(ln||!o&&!i.options.sort&&!l)){var m=zt(pt,!1,!0,!0);Fe.forEach(function(f){f!==pt&&(Sh(f,m),a.appendChild(f))}),ln=!0}if(!o)if(ln||xa(),Fe.length>1){var d=Sa;i._showClone(r),i.options.animation&&!Sa&&d&&zn.forEach(function(f){i.addAnimationState({target:f,rect:Gs}),f.fromRect=Gs,f.thisAnimationDuration=null})}else i._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,o=n.isOwner,s=n.activeSortable;if(Fe.forEach(function(a){a.thisAnimationDuration=null}),s.options.animation&&!o&&s.multiDrag.isMultiDrag){Gs=Vn({},r);var i=Lo(pt,!0);Gs.top-=i.f,Gs.left-=i.e}},dragOverAnimationComplete:function(){ln&&(ln=!1,xa())},drop:function(n){var r=n.originalEvent,o=n.rootEl,s=n.parentEl,i=n.sortable,a=n.dispatchSortableEvent,l=n.oldIndex,u=n.putSortable,m=u||this.sortable;if(r){var d=this.options,f=s.children;if(!Qo)if(d.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ct(pt,d.selectedClass,!~Fe.indexOf(pt)),~Fe.indexOf(pt))Fe.splice(Fe.indexOf(pt),1),Ws=null,Qs({sortable:i,rootEl:o,name:"deselect",targetEl:pt,originalEvt:r});else{if(Fe.push(pt),Qs({sortable:i,rootEl:o,name:"select",targetEl:pt,originalEvt:r}),r.shiftKey&&Ws&&i.el.contains(Ws)){var p=Tt(Ws),h=Tt(pt);if(~p&&~h&&p!==h){var g,z;for(h>p?(z=p,g=h):(z=h,g=p+1);z1){var k=zt(pt),w=Tt(pt,":not(."+this.options.selectedClass+")");if(!qs&&d.animation&&(pt.thisAnimationDuration=null),m.captureAnimationState(),!qs&&(d.animation&&(pt.fromRect=k,Fe.forEach(function(v){if(v.thisAnimationDuration=null,v!==pt){var S=ln?zt(v):k;v.fromRect=S,m.addAnimationState({target:v,rect:S})}})),xa(),Fe.forEach(function(v){f[w]?s.insertBefore(v,f[w]):s.appendChild(v),w++}),l===Tt(pt))){var _=!1;Fe.forEach(function(v){if(v.sortableIndex!==Tt(v)){_=!0;return}}),_&&a("update")}Fe.forEach(function(v){Hc(v)}),m.animateAll()}Kn=m}(o===s||u&&u.lastPutMode!=="clone")&&zn.forEach(function(v){v.parentNode&&v.parentNode.removeChild(v)})}},nullingGlobal:function(){this.isMultiDrag=Qo=!1,zn.length=0},destroyGlobal:function(){this._deselectMultiDrag(),qe(document,"pointerup",this._deselectMultiDrag),qe(document,"mouseup",this._deselectMultiDrag),qe(document,"touchend",this._deselectMultiDrag),qe(document,"keydown",this._checkKeyDown),qe(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Qo<"u"&&Qo)&&Kn===this.sortable&&!(n&&Zn(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;Fe.length;){var r=Fe[0];Ct(r,this.options.selectedClass,!1),Fe.shift(),Qs({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r,originalEvt:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Vn(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[Zt];!r||!r.options.multiDrag||~Fe.indexOf(n)||(Kn&&Kn!==r&&(Kn.multiDrag._deselectMultiDrag(),Kn=r),Ct(n,r.options.selectedClass,!0),Fe.push(n))},deselect:function(n){var r=n.parentNode[Zt],o=Fe.indexOf(n);!r||!r.options.multiDrag||!~o||(Ct(n,r.options.selectedClass,!1),Fe.splice(o,1))}},eventProperties:function(){var n=this,r=[],o=[];return Fe.forEach(function(s){r.push({multiDragElement:s,index:s.sortableIndex});var i;ln&&s!==pt?i=-1:ln?i=Tt(s,":not(."+n.options.selectedClass+")"):i=Tt(s),o.push({multiDragElement:s,index:i})}),{items:QU(Fe),clones:[].concat(zn),oldIndicies:r,newIndicies:o}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function Aj(e,t){Fe.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function Ah(e,t){zn.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function xa(){Fe.forEach(function(e){e!==pt&&e.parentNode&&e.parentNode.removeChild(e)})}Ie.mount(new xj);Ie.mount(_m,hm);const Oj=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Tj,Sortable:Ie,Swap:Ej,default:Ie},Symbol.toStringTag,{value:"Module"})),Pj=Py(Oj);(function(e,t){(function(r,o){e.exports=o(Fy,Pj)})(typeof self<"u"?self:Oy,function(n,r){return function(o){var s={};function i(a){if(s[a])return s[a].exports;var l=s[a]={i:a,l:!1,exports:{}};return o[a].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=o,i.c=s,i.d=function(a,l,u){i.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:u})},i.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,l){if(l&1&&(a=i(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var u=Object.create(null);if(i.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var m in a)i.d(u,m,(function(d){return a[d]}).bind(null,m));return u},i.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(l,"a",l),l},i.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},i.p="",i(i.s="fb15")}({"00ee":function(o,s,i){var a=i("b622"),l=a("toStringTag"),u={};u[l]="z",o.exports=String(u)==="[object z]"},"0366":function(o,s,i){var a=i("1c0b");o.exports=function(l,u,m){if(a(l),u===void 0)return l;switch(m){case 0:return function(){return l.call(u)};case 1:return function(d){return l.call(u,d)};case 2:return function(d,f){return l.call(u,d,f)};case 3:return function(d,f,p){return l.call(u,d,f,p)}}return function(){return l.apply(u,arguments)}}},"057f":function(o,s,i){var a=i("fc6a"),l=i("241c").f,u={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],d=function(f){try{return l(f)}catch{return m.slice()}};o.exports.f=function(p){return m&&u.call(p)=="[object Window]"?d(p):l(a(p))}},"06cf":function(o,s,i){var a=i("83ab"),l=i("d1e7"),u=i("5c6c"),m=i("fc6a"),d=i("c04e"),f=i("5135"),p=i("0cfb"),h=Object.getOwnPropertyDescriptor;s.f=a?h:function(z,k){if(z=m(z),k=d(k,!0),p)try{return h(z,k)}catch{}if(f(z,k))return u(!l.f.call(z,k),z[k])}},"0cfb":function(o,s,i){var a=i("83ab"),l=i("d039"),u=i("cc12");o.exports=!a&&!l(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(o,s,i){var a=i("23e7"),l=i("d58f").left,u=i("a640"),m=i("ae40"),d=u("reduce"),f=m("reduce",{1:0});a({target:"Array",proto:!0,forced:!d||!f},{reduce:function(h){return l(this,h,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(o,s,i){var a=i("c6b6"),l=i("9263");o.exports=function(u,m){var d=u.exec;if(typeof d=="function"){var f=d.call(u,m);if(typeof f!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return f}if(a(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(u,m)}},"159b":function(o,s,i){var a=i("da84"),l=i("fdbc"),u=i("17c2"),m=i("9112");for(var d in l){var f=a[d],p=f&&f.prototype;if(p&&p.forEach!==u)try{m(p,"forEach",u)}catch{p.forEach=u}}},"17c2":function(o,s,i){var a=i("b727").forEach,l=i("a640"),u=i("ae40"),m=l("forEach"),d=u("forEach");o.exports=!m||!d?function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(o,s,i){var a=i("d066");o.exports=a("document","documentElement")},"1c0b":function(o,s){o.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"1c7e":function(o,s,i){var a=i("b622"),l=a("iterator"),u=!1;try{var m=0,d={next:function(){return{done:!!m++}},return:function(){u=!0}};d[l]=function(){return this},Array.from(d,function(){throw 2})}catch{}o.exports=function(f,p){if(!p&&!u)return!1;var h=!1;try{var g={};g[l]=function(){return{next:function(){return{done:h=!0}}}},f(g)}catch{}return h}},"1d80":function(o,s){o.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"1dde":function(o,s,i){var a=i("d039"),l=i("b622"),u=i("2d00"),m=l("species");o.exports=function(d){return u>=51||!a(function(){var f=[],p=f.constructor={};return p[m]=function(){return{foo:1}},f[d](Boolean).foo!==1})}},"23cb":function(o,s,i){var a=i("a691"),l=Math.max,u=Math.min;o.exports=function(m,d){var f=a(m);return f<0?l(f+d,0):u(f,d)}},"23e7":function(o,s,i){var a=i("da84"),l=i("06cf").f,u=i("9112"),m=i("6eeb"),d=i("ce4e"),f=i("e893"),p=i("94ca");o.exports=function(h,g){var z=h.target,k=h.global,w=h.stat,_,v,S,C,L,D;if(k?v=a:w?v=a[z]||d(z,{}):v=(a[z]||{}).prototype,v)for(S in g){if(L=g[S],h.noTargetGet?(D=l(v,S),C=D&&D.value):C=v[S],_=p(k?S:z+(w?".":"#")+S,h.forced),!_&&C!==void 0){if(typeof L==typeof C)continue;f(L,C)}(h.sham||C&&C.sham)&&u(L,"sham",!0),m(v,S,L,h)}}},"241c":function(o,s,i){var a=i("ca84"),l=i("7839"),u=l.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(d){return a(d,u)}},"25f0":function(o,s,i){var a=i("6eeb"),l=i("825a"),u=i("d039"),m=i("ad6d"),d="toString",f=RegExp.prototype,p=f[d],h=u(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),g=p.name!=d;(h||g)&&a(RegExp.prototype,d,function(){var k=l(this),w=String(k.source),_=k.flags,v=String(_===void 0&&k instanceof RegExp&&!("flags"in f)?m.call(k):_);return"/"+w+"/"+v},{unsafe:!0})},"2ca0":function(o,s,i){var a=i("23e7"),l=i("06cf").f,u=i("50c4"),m=i("5a34"),d=i("1d80"),f=i("ab13"),p=i("c430"),h="".startsWith,g=Math.min,z=f("startsWith"),k=!p&&!z&&!!function(){var w=l(String.prototype,"startsWith");return w&&!w.writable}();a({target:"String",proto:!0,forced:!k&&!z},{startsWith:function(_){var v=String(d(this));m(_);var S=u(g(arguments.length>1?arguments[1]:void 0,v.length)),C=String(_);return h?h.call(v,C,S):v.slice(S,S+C.length)===C}})},"2d00":function(o,s,i){var a=i("da84"),l=i("342f"),u=a.process,m=u&&u.versions,d=m&&m.v8,f,p;d?(f=d.split("."),p=f[0]+f[1]):l&&(f=l.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=l.match(/Chrome\/(\d+)/),f&&(p=f[1]))),o.exports=p&&+p},"342f":function(o,s,i){var a=i("d066");o.exports=a("navigator","userAgent")||""},"35a1":function(o,s,i){var a=i("f5df"),l=i("3f8c"),u=i("b622"),m=u("iterator");o.exports=function(d){if(d!=null)return d[m]||d["@@iterator"]||l[a(d)]}},"37e8":function(o,s,i){var a=i("83ab"),l=i("9bf2"),u=i("825a"),m=i("df75");o.exports=a?Object.defineProperties:function(f,p){u(f);for(var h=m(p),g=h.length,z=0,k;g>z;)l.f(f,k=h[z++],p[k]);return f}},"3bbe":function(o,s,i){var a=i("861d");o.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(o,s,i){var a=i("6547").charAt,l=i("69f3"),u=i("7dd0"),m="String Iterator",d=l.set,f=l.getterFor(m);u(String,"String",function(p){d(this,{type:m,string:String(p),index:0})},function(){var h=f(this),g=h.string,z=h.index,k;return z>=g.length?{value:void 0,done:!0}:(k=a(g,z),h.index+=k.length,{value:k,done:!1})})},"3f8c":function(o,s){o.exports={}},4160:function(o,s,i){var a=i("23e7"),l=i("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(o,s,i){var a=i("da84");o.exports=a},"44ad":function(o,s,i){var a=i("d039"),l=i("c6b6"),u="".split;o.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(m){return l(m)=="String"?u.call(m,""):Object(m)}:Object},"44d2":function(o,s,i){var a=i("b622"),l=i("7c73"),u=i("9bf2"),m=a("unscopables"),d=Array.prototype;d[m]==null&&u.f(d,m,{configurable:!0,value:l(null)}),o.exports=function(f){d[m][f]=!0}},"44e7":function(o,s,i){var a=i("861d"),l=i("c6b6"),u=i("b622"),m=u("match");o.exports=function(d){var f;return a(d)&&((f=d[m])!==void 0?!!f:l(d)=="RegExp")}},4930:function(o,s,i){var a=i("d039");o.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(o,s,i){var a=i("fc6a"),l=i("50c4"),u=i("23cb"),m=function(d){return function(f,p,h){var g=a(f),z=l(g.length),k=u(h,z),w;if(d&&p!=p){for(;z>k;)if(w=g[k++],w!=w)return!0}else for(;z>k;k++)if((d||k in g)&&g[k]===p)return d||k||0;return!d&&-1}};o.exports={includes:m(!0),indexOf:m(!1)}},"4de4":function(o,s,i){var a=i("23e7"),l=i("b727").filter,u=i("1dde"),m=i("ae40"),d=u("filter"),f=m("filter");a({target:"Array",proto:!0,forced:!d||!f},{filter:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(o,s,i){var a=i("0366"),l=i("7b0b"),u=i("9bdd"),m=i("e95a"),d=i("50c4"),f=i("8418"),p=i("35a1");o.exports=function(g){var z=l(g),k=typeof this=="function"?this:Array,w=arguments.length,_=w>1?arguments[1]:void 0,v=_!==void 0,S=p(z),C=0,L,D,$,F,q,U;if(v&&(_=a(_,w>2?arguments[2]:void 0,2)),S!=null&&!(k==Array&&m(S)))for(F=S.call(z),q=F.next,D=new k;!($=q.call(F)).done;C++)U=v?u(F,_,[$.value,C],!0):$.value,f(D,C,U);else for(L=d(z.length),D=new k(L);L>C;C++)U=v?_(z[C],C):z[C],f(D,C,U);return D.length=C,D}},"4fad":function(o,s,i){var a=i("23e7"),l=i("6f53").entries;a({target:"Object",stat:!0},{entries:function(m){return l(m)}})},"50c4":function(o,s,i){var a=i("a691"),l=Math.min;o.exports=function(u){return u>0?l(a(u),9007199254740991):0}},5135:function(o,s){var i={}.hasOwnProperty;o.exports=function(a,l){return i.call(a,l)}},5319:function(o,s,i){var a=i("d784"),l=i("825a"),u=i("7b0b"),m=i("50c4"),d=i("a691"),f=i("1d80"),p=i("8aa5"),h=i("14c3"),g=Math.max,z=Math.min,k=Math.floor,w=/\$([$&'`]|\d\d?|<[^>]*>)/g,_=/\$([$&'`]|\d\d?)/g,v=function(S){return S===void 0?S:String(S)};a("replace",2,function(S,C,L,D){var $=D.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,F=D.REPLACE_KEEPS_$0,q=$?"$":"$0";return[function(ne,me){var K=f(this),re=ne==null?void 0:ne[S];return re!==void 0?re.call(ne,K,me):C.call(String(K),ne,me)},function(W,ne){if(!$&&F||typeof ne=="string"&&ne.indexOf(q)===-1){var me=L(C,W,this,ne);if(me.done)return me.value}var K=l(W),re=String(this),ce=typeof ne=="function";ce||(ne=String(ne));var Ne=K.global;if(Ne){var it=K.unicode;K.lastIndex=0}for(var Ve=[];;){var He=h(K,re);if(He===null||(Ve.push(He),!Ne))break;var at=String(He[0]);at===""&&(K.lastIndex=p(re,m(K.lastIndex),it))}for(var lt="",ut=0,We=0;We=ut&&(lt+=re.slice(ut,fe)+A,ut=fe+Y.length)}return lt+re.slice(ut)}];function U(W,ne,me,K,re,ce){var Ne=me+W.length,it=K.length,Ve=_;return re!==void 0&&(re=u(re),Ve=w),C.call(ce,Ve,function(He,at){var lt;switch(at.charAt(0)){case"$":return"$";case"&":return W;case"`":return ne.slice(0,me);case"'":return ne.slice(Ne);case"<":lt=re[at.slice(1,-1)];break;default:var ut=+at;if(ut===0)return He;if(ut>it){var We=k(ut/10);return We===0?He:We<=it?K[We-1]===void 0?at.charAt(1):K[We-1]+at.charAt(1):He}lt=K[ut-1]}return lt===void 0?"":lt})}})},5692:function(o,s,i){var a=i("c430"),l=i("c6cd");(o.exports=function(u,m){return l[u]||(l[u]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(o,s,i){var a=i("d066"),l=i("241c"),u=i("7418"),m=i("825a");o.exports=a("Reflect","ownKeys")||function(f){var p=l.f(m(f)),h=u.f;return h?p.concat(h(f)):p}},"5a34":function(o,s,i){var a=i("44e7");o.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(o,s){o.exports=function(i,a){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:a}}},"5db7":function(o,s,i){var a=i("23e7"),l=i("a2bf"),u=i("7b0b"),m=i("50c4"),d=i("1c0b"),f=i("65f0");a({target:"Array",proto:!0},{flatMap:function(h){var g=u(this),z=m(g.length),k;return d(h),k=f(g,0),k.length=l(k,g,g,z,0,1,h,arguments.length>1?arguments[1]:void 0),k}})},6547:function(o,s,i){var a=i("a691"),l=i("1d80"),u=function(m){return function(d,f){var p=String(l(d)),h=a(f),g=p.length,z,k;return h<0||h>=g?m?"":void 0:(z=p.charCodeAt(h),z<55296||z>56319||h+1===g||(k=p.charCodeAt(h+1))<56320||k>57343?m?p.charAt(h):z:m?p.slice(h,h+2):(z-55296<<10)+(k-56320)+65536)}};o.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(o,s,i){var a=i("861d"),l=i("e8b5"),u=i("b622"),m=u("species");o.exports=function(d,f){var p;return l(d)&&(p=d.constructor,typeof p=="function"&&(p===Array||l(p.prototype))?p=void 0:a(p)&&(p=p[m],p===null&&(p=void 0))),new(p===void 0?Array:p)(f===0?0:f)}},"69f3":function(o,s,i){var a=i("7f9a"),l=i("da84"),u=i("861d"),m=i("9112"),d=i("5135"),f=i("f772"),p=i("d012"),h=l.WeakMap,g,z,k,w=function($){return k($)?z($):g($,{})},_=function($){return function(F){var q;if(!u(F)||(q=z(F)).type!==$)throw TypeError("Incompatible receiver, "+$+" required");return q}};if(a){var v=new h,S=v.get,C=v.has,L=v.set;g=function($,F){return L.call(v,$,F),F},z=function($){return S.call(v,$)||{}},k=function($){return C.call(v,$)}}else{var D=f("state");p[D]=!0,g=function($,F){return m($,D,F),F},z=function($){return d($,D)?$[D]:{}},k=function($){return d($,D)}}o.exports={set:g,get:z,has:k,enforce:w,getterFor:_}},"6eeb":function(o,s,i){var a=i("da84"),l=i("9112"),u=i("5135"),m=i("ce4e"),d=i("8925"),f=i("69f3"),p=f.get,h=f.enforce,g=String(String).split("String");(o.exports=function(z,k,w,_){var v=_?!!_.unsafe:!1,S=_?!!_.enumerable:!1,C=_?!!_.noTargetGet:!1;if(typeof w=="function"&&(typeof k=="string"&&!u(w,"name")&&l(w,"name",k),h(w).source=g.join(typeof k=="string"?k:"")),z===a){S?z[k]=w:m(k,w);return}else v?!C&&z[k]&&(S=!0):delete z[k];S?z[k]=w:l(z,k,w)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||d(this)})},"6f53":function(o,s,i){var a=i("83ab"),l=i("df75"),u=i("fc6a"),m=i("d1e7").f,d=function(f){return function(p){for(var h=u(p),g=l(h),z=g.length,k=0,w=[],_;z>k;)_=g[k++],(!a||m.call(h,_))&&w.push(f?[_,h[_]]:h[_]);return w}};o.exports={entries:d(!0),values:d(!1)}},"73d9":function(o,s,i){var a=i("44d2");a("flatMap")},7418:function(o,s){s.f=Object.getOwnPropertySymbols},"746f":function(o,s,i){var a=i("428f"),l=i("5135"),u=i("e538"),m=i("9bf2").f;o.exports=function(d){var f=a.Symbol||(a.Symbol={});l(f,d)||m(f,d,{value:u.f(d)})}},7839:function(o,s){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(o,s,i){var a=i("1d80");o.exports=function(l){return Object(a(l))}},"7c73":function(o,s,i){var a=i("825a"),l=i("37e8"),u=i("7839"),m=i("d012"),d=i("1be4"),f=i("cc12"),p=i("f772"),h=">",g="<",z="prototype",k="script",w=p("IE_PROTO"),_=function(){},v=function($){return g+k+h+$+g+"/"+k+h},S=function($){$.write(v("")),$.close();var F=$.parentWindow.Object;return $=null,F},C=function(){var $=f("iframe"),F="java"+k+":",q;return $.style.display="none",d.appendChild($),$.src=String(F),q=$.contentWindow.document,q.open(),q.write(v("document.F=Object")),q.close(),q.F},L,D=function(){try{L=document.domain&&new ActiveXObject("htmlfile")}catch{}D=L?S(L):C();for(var $=u.length;$--;)delete D[z][u[$]];return D()};m[w]=!0,o.exports=Object.create||function(F,q){var U;return F!==null?(_[z]=a(F),U=new _,_[z]=null,U[w]=F):U=D(),q===void 0?U:l(U,q)}},"7dd0":function(o,s,i){var a=i("23e7"),l=i("9ed3"),u=i("e163"),m=i("d2bb"),d=i("d44e"),f=i("9112"),p=i("6eeb"),h=i("b622"),g=i("c430"),z=i("3f8c"),k=i("ae93"),w=k.IteratorPrototype,_=k.BUGGY_SAFARI_ITERATORS,v=h("iterator"),S="keys",C="values",L="entries",D=function(){return this};o.exports=function($,F,q,U,W,ne,me){l(q,F,U);var K=function(We){if(We===W&&Ve)return Ve;if(!_&&We in Ne)return Ne[We];switch(We){case S:return function(){return new q(this,We)};case C:return function(){return new q(this,We)};case L:return function(){return new q(this,We)}}return function(){return new q(this)}},re=F+" Iterator",ce=!1,Ne=$.prototype,it=Ne[v]||Ne["@@iterator"]||W&&Ne[W],Ve=!_&&it||K(W),He=F=="Array"&&Ne.entries||it,at,lt,ut;if(He&&(at=u(He.call(new $)),w!==Object.prototype&&at.next&&(!g&&u(at)!==w&&(m?m(at,w):typeof at[v]!="function"&&f(at,v,D)),d(at,re,!0,!0),g&&(z[re]=D))),W==C&&it&&it.name!==C&&(ce=!0,Ve=function(){return it.call(this)}),(!g||me)&&Ne[v]!==Ve&&f(Ne,v,Ve),z[F]=Ve,W)if(lt={values:K(C),keys:ne?Ve:K(S),entries:K(L)},me)for(ut in lt)(_||ce||!(ut in Ne))&&p(Ne,ut,lt[ut]);else a({target:F,proto:!0,forced:_||ce},lt);return lt}},"7f9a":function(o,s,i){var a=i("da84"),l=i("8925"),u=a.WeakMap;o.exports=typeof u=="function"&&/native code/.test(l(u))},"825a":function(o,s,i){var a=i("861d");o.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(o,s,i){var a=i("d039");o.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(o,s,i){var a=i("c04e"),l=i("9bf2"),u=i("5c6c");o.exports=function(m,d,f){var p=a(d);p in m?l.f(m,p,u(0,f)):m[p]=f}},"861d":function(o,s){o.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},8875:function(o,s,i){var a,l,u;(function(m,d){l=[],a=d,u=typeof a=="function"?a.apply(s,l):a,u!==void 0&&(o.exports=u)})(typeof self<"u"?self:this,function(){function m(){var d=Object.getOwnPropertyDescriptor(document,"currentScript");if(!d&&"currentScript"in document&&document.currentScript||d&&d.get!==m&&document.currentScript)return document.currentScript;try{throw new Error}catch(L){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=f.exec(L.stack)||p.exec(L.stack),g=h&&h[1]||!1,z=h&&h[2]||!1,k=document.location.href.replace(document.location.hash,""),w,_,v,S=document.getElementsByTagName("script");g===k&&(w=document.documentElement.outerHTML,_=new RegExp("(?:[^\\n]+?\\n){0,"+(z-2)+"}[^<]*