12345678910 |
- import{a as Vl,aH as Pl,aB as Rl,r as Q,_ as et,f as ui,q as Ul,W as Kl,w as Ml,aj as Te,at as kl,c as X,o as B,b as l,S as v,K as y,P as U,Q as le,u as Ee,M as we,J as Ae,R as Je,a9 as We,L as jo,G as Ct,T as ea,Y as Bl,F as Nl,a7 as Fl}from"./vue.D1BjjNmv.js";import{b as jl,c as Ll,C as Ql,U as At}from"./api.J-cJRDXq.js";import{a9 as Gl,g as zl,aa as $l,c as Jl,E as R,Y as gt,V as yn,ab as Wl,ac as ta,Z as na,ad as ci,ae as Hl,af as Yl,S as Xt,$ as oa}from"./index.-GVFoSJY.js";import{G as Mn,a as Xl,b as Zl,Q as ql,c as Zt,A as fi,d as ia,e as _l,U as Pt,C as vi,f as pi,g as aa,h as es,i as ts,B as ns,S as os,j as is,k as ra,l as as,m as rs,n as ls,o as ss}from"./QuestionBankForm.C45M2Emh.js";import{g as ds}from"./pcaData.5HEg6BqW.js";import{A as us}from"./api.ClVHceUk.js";import cs from"./treeList.DCXQQzen.js";import{G as la,a as sa,b as da}from"./api.DRKSc4V9.js";import{_ as fs}from"./_plugin-vue_export-helper.DlAUqK2U.js";import"./QuestionOptionsEditor.e0gHieJV.js";import"./BlankAnswerEditor.CI_z8z3V.js";const ua="/assets/sheng.BKW1Im68.png",vs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAImCAQAAAAGHG0zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFyGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNS0wNi0xM1QxNzowMToyMCswODowMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNDE0NGJjZC05NWJlLTMxNGMtODlmZC01MTk0MTdmODc5OWEiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplYzMyM2E1Zi04ZWZiLTgxNGUtYWMzOS05Nzc3ODNiNDUzYjQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIHN0RXZ0OndoZW49IjIwMjUtMDYtMTNUMTc6MDE6MjArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4wIChXaW5kb3dzKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MzQxNDRiY2QtOTViZS0zMTRjLTg5ZmQtNTE5NDE3Zjg3OTlhIiBzdEV2dDp3aGVuPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JOr+gQAABzlJREFUeJzt1rENwzAQBEHTUOHsnEoVKhDwG8xUcNHi1vkBdPynBwA8iRKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHJND3hrn+kFULXX9IIveUpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEp60wvAHjwlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSDlmh7w1j7TC6Bqr+kFX/KUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUtaZXgDw4CkBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHIDp74LS5/6zzUAAAAASUVORK5CYII=";var Ca={exports:{}};/**!
- * Sortable 1.14.0
- * @author RubaXa <trash@rubaxa.org>
- * @author owenm <owen23355@gmail.com>
- * @license MIT
- */function ca(d,i){var o=Object.keys(d);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(d);i&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(d,n).enumerable})),o.push.apply(o,s)}return o}function zt(d){for(var i=1;i<arguments.length;i++){var o=arguments[i]!=null?arguments[i]:{};i%2?ca(Object(o),!0).forEach(function(s){ps(d,s,o[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(o)):ca(Object(o)).forEach(function(s){Object.defineProperty(d,s,Object.getOwnPropertyDescriptor(o,s))})}return d}function Wo(d){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Wo=function(i){return typeof i}:Wo=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Wo(d)}function ps(d,i,o){return i in d?Object.defineProperty(d,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):d[i]=o,d}function Ut(){return Ut=Object.assign||function(d){for(var i=1;i<arguments.length;i++){var o=arguments[i];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(d[s]=o[s])}return d},Ut.apply(this,arguments)}function ms(d,i){if(d==null)return{};var o={},s=Object.keys(d),n,c;for(c=0;c<s.length;c++)n=s[c],!(i.indexOf(n)>=0)&&(o[n]=d[n]);return o}function gs(d,i){if(d==null)return{};var o=ms(d,i),s,n;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(d);for(n=0;n<c.length;n++)s=c[n],!(i.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(d,s)&&(o[s]=d[s])}return o}function hs(d){return ys(d)||bs(d)||Ss(d)||Es()}function ys(d){if(Array.isArray(d))return Ai(d)}function bs(d){if(typeof Symbol<"u"&&d[Symbol.iterator]!=null||d["@@iterator"]!=null)return Array.from(d)}function Ss(d,i){if(d){if(typeof d=="string")return Ai(d,i);var o=Object.prototype.toString.call(d).slice(8,-1);if(o==="Object"&&d.constructor&&(o=d.constructor.name),o==="Map"||o==="Set")return Array.from(d);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Ai(d,i)}}function Ai(d,i){(i==null||i>d.length)&&(i=d.length);for(var o=0,s=new Array(i);o<i;o++)s[o]=d[o];return s}function Es(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var xs="1.14.0";function qt(d){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(d)}var _t=qt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Co=qt(/Edge/i),fa=qt(/firefox/i),bo=qt(/safari/i)&&!qt(/chrome/i)&&!qt(/android/i),Aa=qt(/iP(ad|od|hone)/i),Is=qt(/chrome/i)&&qt(/android/i),wa={capture:!1,passive:!1};function xe(d,i,o){d.addEventListener(i,o,!_t&&wa)}function Se(d,i,o){d.removeEventListener(i,o,!_t&&wa)}function qo(d,i){if(i){if(i[0]===">"&&(i=i.substring(1)),d)try{if(d.matches)return d.matches(i);if(d.msMatchesSelector)return d.msMatchesSelector(i);if(d.webkitMatchesSelector)return d.webkitMatchesSelector(i)}catch{return!1}return!1}}function Cs(d){return d.host&&d!==document&&d.host.nodeType?d.host:d.parentNode}function kt(d,i,o,s){if(d){o=o||document;do{if(i!=null&&(i[0]===">"?d.parentNode===o&&qo(d,i):qo(d,i))||s&&d===o)return d;if(d===o)break}while(d=Cs(d))}return null}var va=/\s+/g;function Ne(d,i,o){if(d&&i)if(d.classList)d.classList[o?"add":"remove"](i);else{var s=(" "+d.className+" ").replace(va," ").replace(" "+i+" "," ");d.className=(s+(o?" "+i:"")).replace(va," ")}}function oe(d,i,o){var s=d&&d.style;if(s){if(o===void 0)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(d,""):d.currentStyle&&(o=d.currentStyle),i===void 0?o:o[i];!(i in s)&&i.indexOf("webkit")===-1&&(i="-webkit-"+i),s[i]=o+(typeof o=="string"?"":"px")}}function xn(d,i){var o="";if(typeof d=="string")o=d;else do{var s=oe(d,"transform");s&&s!=="none"&&(o=s+" "+o)}while(!i&&(d=d.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(o)}function Oa(d,i,o){if(d){var s=d.getElementsByTagName(i),n=0,c=s.length;if(o)for(;n<c;n++)o(s[n],n);return s}return[]}function Gt(){var d=document.scrollingElement;return d||document.documentElement}function ke(d,i,o,s,n){if(!(!d.getBoundingClientRect&&d!==window)){var c,t,a,r,u,g,m;if(d!==window&&d.parentNode&&d!==Gt()?(c=d.getBoundingClientRect(),t=c.top,a=c.left,r=c.bottom,u=c.right,g=c.height,m=c.width):(t=0,a=0,r=window.innerHeight,u=window.innerWidth,g=window.innerHeight,m=window.innerWidth),(i||o)&&d!==window&&(n=n||d.parentNode,!_t))do if(n&&n.getBoundingClientRect&&(oe(n,"transform")!=="none"||o&&oe(n,"position")!=="static")){var h=n.getBoundingClientRect();t-=h.top+parseInt(oe(n,"border-top-width")),a-=h.left+parseInt(oe(n,"border-left-width")),r=t+c.height,u=a+c.width;break}while(n=n.parentNode);if(s&&d!==window){var b=xn(n||d),S=b&&b.a,E=b&&b.d;b&&(t/=E,a/=S,m/=S,g/=E,r=t+g,u=a+m)}return{top:t,left:a,bottom:r,right:u,width:m,height:g}}}function pa(d,i,o){for(var s=sn(d,!0),n=ke(d)[i];s;){var c=ke(s)[o],t=void 0;if(t=n>=c,!t)return s;if(s===Gt())break;s=sn(s,!1)}return!1}function Ln(d,i,o,s){for(var n=0,c=0,t=d.children;c<t.length;){if(t[c].style.display!=="none"&&t[c]!==ce.ghost&&(s||t[c]!==ce.dragged)&&kt(t[c],o.draggable,d,!1)){if(n===i)return t[c];n++}c++}return null}function Vi(d,i){for(var o=d.lastElementChild;o&&(o===ce.ghost||oe(o,"display")==="none"||i&&!qo(o,i));)o=o.previousElementSibling;return o||null}function ze(d,i){var o=0;if(!d||!d.parentNode)return-1;for(;d=d.previousElementSibling;)d.nodeName.toUpperCase()!=="TEMPLATE"&&d!==ce.clone&&(!i||qo(d,i))&&o++;return o}function ma(d){var i=0,o=0,s=Gt();if(d)do{var n=xn(d),c=n.a,t=n.d;i+=d.scrollLeft*c,o+=d.scrollTop*t}while(d!==s&&(d=d.parentNode));return[i,o]}function As(d,i){for(var o in d)if(d.hasOwnProperty(o)){for(var s in i)if(i.hasOwnProperty(s)&&i[s]===d[o][s])return Number(o)}return-1}function sn(d,i){if(!d||!d.getBoundingClientRect)return Gt();var o=d,s=!1;do if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var n=oe(o);if(o.clientWidth<o.scrollWidth&&(n.overflowX=="auto"||n.overflowX=="scroll")||o.clientHeight<o.scrollHeight&&(n.overflowY=="auto"||n.overflowY=="scroll")){if(!o.getBoundingClientRect||o===document.body)return Gt();if(s||i)return o;s=!0}}while(o=o.parentNode);return Gt()}function ws(d,i){if(d&&i)for(var o in i)i.hasOwnProperty(o)&&(d[o]=i[o]);return d}function mi(d,i){return Math.round(d.top)===Math.round(i.top)&&Math.round(d.left)===Math.round(i.left)&&Math.round(d.height)===Math.round(i.height)&&Math.round(d.width)===Math.round(i.width)}var So;function Ta(d,i){return function(){if(!So){var o=arguments,s=this;o.length===1?d.call(s,o[0]):d.apply(s,o),So=setTimeout(function(){So=void 0},i)}}}function Os(){clearTimeout(So),So=void 0}function Da(d,i,o){d.scrollLeft+=i,d.scrollTop+=o}function Pi(d){var i=window.Polymer,o=window.jQuery||window.Zepto;return i&&i.dom?i.dom(d).cloneNode(!0):o?o(d).clone(!0)[0]:d.cloneNode(!0)}function ga(d,i){oe(d,"position","absolute"),oe(d,"top",i.top),oe(d,"left",i.left),oe(d,"width",i.width),oe(d,"height",i.height)}function gi(d){oe(d,"position",""),oe(d,"top",""),oe(d,"left",""),oe(d,"width",""),oe(d,"height","")}var vt="Sortable"+new Date().getTime();function Ts(){var d=[],i;return{captureAnimationState:function(){if(d=[],!!this.options.animation){var s=[].slice.call(this.el.children);s.forEach(function(n){if(!(oe(n,"display")==="none"||n===ce.ghost)){d.push({target:n,rect:ke(n)});var c=zt({},d[d.length-1].rect);if(n.thisAnimationDuration){var t=xn(n,!0);t&&(c.top-=t.f,c.left-=t.e)}n.fromRect=c}})}},addAnimationState:function(s){d.push(s)},removeAnimationState:function(s){d.splice(As(d,{target:s}),1)},animateAll:function(s){var n=this;if(!this.options.animation){clearTimeout(i),typeof s=="function"&&s();return}var c=!1,t=0;d.forEach(function(a){var r=0,u=a.target,g=u.fromRect,m=ke(u),h=u.prevFromRect,b=u.prevToRect,S=a.rect,E=xn(u,!0);E&&(m.top-=E.f,m.left-=E.e),u.toRect=m,u.thisAnimationDuration&&mi(h,m)&&!mi(g,m)&&(S.top-m.top)/(S.left-m.left)===(g.top-m.top)/(g.left-m.left)&&(r=Vs(S,h,b,n.options)),mi(m,g)||(u.prevFromRect=g,u.prevToRect=m,r||(r=n.options.animation),n.animate(u,S,m,r)),r&&(c=!0,t=Math.max(t,r),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},r),u.thisAnimationDuration=r)}),clearTimeout(i),c?i=setTimeout(function(){typeof s=="function"&&s()},t):typeof s=="function"&&s(),d=[]},animate:function(s,n,c,t){if(t){oe(s,"transition",""),oe(s,"transform","");var a=xn(this.el),r=a&&a.a,u=a&&a.d,g=(n.left-c.left)/(r||1),m=(n.top-c.top)/(u||1);s.animatingX=!!g,s.animatingY=!!m,oe(s,"transform","translate3d("+g+"px,"+m+"px,0)"),this.forRepaintDummy=Ds(s),oe(s,"transition","transform "+t+"ms"+(this.options.easing?" "+this.options.easing:"")),oe(s,"transform","translate3d(0,0,0)"),typeof s.animated=="number"&&clearTimeout(s.animated),s.animated=setTimeout(function(){oe(s,"transition",""),oe(s,"transform",""),s.animated=!1,s.animatingX=!1,s.animatingY=!1},t)}}}}function Ds(d){return d.offsetWidth}function Vs(d,i,o,s){return Math.sqrt(Math.pow(i.top-d.top,2)+Math.pow(i.left-d.left,2))/Math.sqrt(Math.pow(i.top-o.top,2)+Math.pow(i.left-o.left,2))*s.animation}var kn=[],hi={initializeByDefault:!0},Ao={mount:function(i){for(var o in hi)hi.hasOwnProperty(o)&&!(o in i)&&(i[o]=hi[o]);kn.forEach(function(s){if(s.pluginName===i.pluginName)throw"Sortable: Cannot mount plugin ".concat(i.pluginName," more than once")}),kn.push(i)},pluginEvent:function(i,o,s){var n=this;this.eventCanceled=!1,s.cancel=function(){n.eventCanceled=!0};var c=i+"Global";kn.forEach(function(t){o[t.pluginName]&&(o[t.pluginName][c]&&o[t.pluginName][c](zt({sortable:o},s)),o.options[t.pluginName]&&o[t.pluginName][i]&&o[t.pluginName][i](zt({sortable:o},s)))})},initializePlugins:function(i,o,s,n){kn.forEach(function(a){var r=a.pluginName;if(!(!i.options[r]&&!a.initializeByDefault)){var u=new a(i,o,i.options);u.sortable=i,u.options=i.options,i[r]=u,Ut(s,u.defaults)}});for(var c in i.options)if(i.options.hasOwnProperty(c)){var t=this.modifyOption(i,c,i.options[c]);typeof t<"u"&&(i.options[c]=t)}},getEventProperties:function(i,o){var s={};return kn.forEach(function(n){typeof n.eventProperties=="function"&&Ut(s,n.eventProperties.call(o[n.pluginName],i))}),s},modifyOption:function(i,o,s){var n;return kn.forEach(function(c){i[c.pluginName]&&c.optionListeners&&typeof c.optionListeners[o]=="function"&&(n=c.optionListeners[o].call(i[c.pluginName],s))}),n}};function mo(d){var i=d.sortable,o=d.rootEl,s=d.name,n=d.targetEl,c=d.cloneEl,t=d.toEl,a=d.fromEl,r=d.oldIndex,u=d.newIndex,g=d.oldDraggableIndex,m=d.newDraggableIndex,h=d.originalEvent,b=d.putSortable,S=d.extraEventProperties;if(i=i||o&&o[vt],!!i){var E,I=i.options,w="on"+s.charAt(0).toUpperCase()+s.substr(1);window.CustomEvent&&!_t&&!Co?E=new CustomEvent(s,{bubbles:!0,cancelable:!0}):(E=document.createEvent("Event"),E.initEvent(s,!0,!0)),E.to=t||o,E.from=a||o,E.item=n||o,E.clone=c,E.oldIndex=r,E.newIndex=u,E.oldDraggableIndex=g,E.newDraggableIndex=m,E.originalEvent=h,E.pullMode=b?b.lastPutMode:void 0;var O=zt(zt({},S),Ao.getEventProperties(s,i));for(var k in O)E[k]=O[k];o&&o.dispatchEvent(E),I[w]&&I[w].call(i,E)}}var Ps=["evt"],bt=function(i,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=s.evt,c=gs(s,Ps);Ao.pluginEvent.bind(ce)(i,o,zt({dragEl:$,parentEl:Qe,ghostEl:he,rootEl:Me,nextEl:En,lastDownEl:Ho,cloneEl:Ge,cloneHidden:ln,dragStarted:go,putSortable:dt,activeSortable:ce.active,originalEvent:n,oldIndex:jn,oldDraggableIndex:Eo,newIndex:Ot,newDraggableIndex:rn,hideGhostForTarget:Ua,unhideGhostForTarget:Ka,cloneNowHidden:function(){ln=!0},cloneNowShown:function(){ln=!1},dispatchSortableEvent:function(a){ht({sortable:o,name:a,originalEvent:n})}},c))};function ht(d){mo(zt({putSortable:dt,cloneEl:Ge,targetEl:$,rootEl:Me,oldIndex:jn,oldDraggableIndex:Eo,newIndex:Ot,newDraggableIndex:rn},d))}var $,Qe,he,Me,En,Ho,Ge,ln,jn,Ot,Eo,rn,Lo,dt,Fn=!1,_o=!1,ei=[],bn,Kt,yi,bi,ha,ya,go,Bn,xo,Io=!1,Qo=!1,Yo,ft,Si=[],wi=!1,ti=[],oi=typeof document<"u",Go=Aa,ba=Co||_t?"cssFloat":"float",Rs=oi&&!Is&&!Aa&&"draggable"in document.createElement("div"),Va=function(){if(oi){if(_t)return!1;var d=document.createElement("x");return d.style.cssText="pointer-events:auto",d.style.pointerEvents==="auto"}}(),Pa=function(i,o){var s=oe(i),n=parseInt(s.width)-parseInt(s.paddingLeft)-parseInt(s.paddingRight)-parseInt(s.borderLeftWidth)-parseInt(s.borderRightWidth),c=Ln(i,0,o),t=Ln(i,1,o),a=c&&oe(c),r=t&&oe(t),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+ke(c).width,g=r&&parseInt(r.marginLeft)+parseInt(r.marginRight)+ke(t).width;if(s.display==="flex")return s.flexDirection==="column"||s.flexDirection==="column-reverse"?"vertical":"horizontal";if(s.display==="grid")return s.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(c&&a.float&&a.float!=="none"){var m=a.float==="left"?"left":"right";return t&&(r.clear==="both"||r.clear===m)?"vertical":"horizontal"}return c&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||u>=n&&s[ba]==="none"||t&&s[ba]==="none"&&u+g>n)?"vertical":"horizontal"},Us=function(i,o,s){var n=s?i.left:i.top,c=s?i.right:i.bottom,t=s?i.width:i.height,a=s?o.left:o.top,r=s?o.right:o.bottom,u=s?o.width:o.height;return n===a||c===r||n+t/2===a+u/2},Ks=function(i,o){var s;return ei.some(function(n){var c=n[vt].options.emptyInsertThreshold;if(!(!c||Vi(n))){var t=ke(n),a=i>=t.left-c&&i<=t.right+c,r=o>=t.top-c&&o<=t.bottom+c;if(a&&r)return s=n}}),s},Ra=function(i){function o(c,t){return function(a,r,u,g){var m=a.options.group.name&&r.options.group.name&&a.options.group.name===r.options.group.name;if(c==null&&(t||m))return!0;if(c==null||c===!1)return!1;if(t&&c==="clone")return c;if(typeof c=="function")return o(c(a,r,u,g),t)(a,r,u,g);var h=(t?a:r).options.group.name;return c===!0||typeof c=="string"&&c===h||c.join&&c.indexOf(h)>-1}}var s={},n=i.group;(!n||Wo(n)!="object")&&(n={name:n}),s.name=n.name,s.checkPull=o(n.pull,!0),s.checkPut=o(n.put),s.revertClone=n.revertClone,i.group=s},Ua=function(){!Va&&he&&oe(he,"display","none")},Ka=function(){!Va&&he&&oe(he,"display","")};oi&&document.addEventListener("click",function(d){if(_o)return d.preventDefault(),d.stopPropagation&&d.stopPropagation(),d.stopImmediatePropagation&&d.stopImmediatePropagation(),_o=!1,!1},!0);var Sn=function(i){if($){i=i.touches?i.touches[0]:i;var o=Ks(i.clientX,i.clientY);if(o){var s={};for(var n in i)i.hasOwnProperty(n)&&(s[n]=i[n]);s.target=s.rootEl=o,s.preventDefault=void 0,s.stopPropagation=void 0,o[vt]._onDragOver(s)}}},Ms=function(i){$&&$.parentNode[vt]._isOutsideThisEl(i.target)};function ce(d,i){if(!(d&&d.nodeType&&d.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(d));this.el=d,this.options=i=Ut({},i),d[vt]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(d.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Pa(d,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,a){t.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:ce.supportPointer!==!1&&"PointerEvent"in window&&!bo,emptyInsertThreshold:5};Ao.initializePlugins(this,d,o);for(var s in o)!(s in i)&&(i[s]=o[s]);Ra(i);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=i.forceFallback?!1:Rs,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?xe(d,"pointerdown",this._onTapStart):(xe(d,"mousedown",this._onTapStart),xe(d,"touchstart",this._onTapStart)),this.nativeDraggable&&(xe(d,"dragover",this),xe(d,"dragenter",this)),ei.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),Ut(this,Ts())}ce.prototype={constructor:ce,_isOutsideThisEl:function(i){!this.el.contains(i)&&i!==this.el&&(Bn=null)},_getDirection:function(i,o){return typeof this.options.direction=="function"?this.options.direction.call(this,i,o,$):this.options.direction},_onTapStart:function(i){if(i.cancelable){var o=this,s=this.el,n=this.options,c=n.preventOnFilter,t=i.type,a=i.touches&&i.touches[0]||i.pointerType&&i.pointerType==="touch"&&i,r=(a||i).target,u=i.target.shadowRoot&&(i.path&&i.path[0]||i.composedPath&&i.composedPath()[0])||r,g=n.filter;if(Gs(s),!$&&!(/mousedown|pointerdown/.test(t)&&i.button!==0||n.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&bo&&r&&r.tagName.toUpperCase()==="SELECT")&&(r=kt(r,n.draggable,s,!1),!(r&&r.animated)&&Ho!==r)){if(jn=ze(r),Eo=ze(r,n.draggable),typeof g=="function"){if(g.call(this,i,r,this)){ht({sortable:o,rootEl:u,name:"filter",targetEl:r,toEl:s,fromEl:s}),bt("filter",o,{evt:i}),c&&i.cancelable&&i.preventDefault();return}}else if(g&&(g=g.split(",").some(function(m){if(m=kt(u,m.trim(),s,!1),m)return ht({sortable:o,rootEl:m,name:"filter",targetEl:r,fromEl:s,toEl:s}),bt("filter",o,{evt:i}),!0}),g)){c&&i.cancelable&&i.preventDefault();return}n.handle&&!kt(u,n.handle,s,!1)||this._prepareDragStart(i,a,r)}}},_prepareDragStart:function(i,o,s){var n=this,c=n.el,t=n.options,a=c.ownerDocument,r;if(s&&!$&&s.parentNode===c){var u=ke(s);if(Me=c,$=s,Qe=$.parentNode,En=$.nextSibling,Ho=s,Lo=t.group,ce.dragged=$,bn={target:$,clientX:(o||i).clientX,clientY:(o||i).clientY},ha=bn.clientX-u.left,ya=bn.clientY-u.top,this._lastX=(o||i).clientX,this._lastY=(o||i).clientY,$.style["will-change"]="all",r=function(){if(bt("delayEnded",n,{evt:i}),ce.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!fa&&n.nativeDraggable&&($.draggable=!0),n._triggerDragStart(i,o),ht({sortable:n,name:"choose",originalEvent:i}),Ne($,t.chosenClass,!0)},t.ignore.split(",").forEach(function(g){Oa($,g.trim(),Ei)}),xe(a,"dragover",Sn),xe(a,"mousemove",Sn),xe(a,"touchmove",Sn),xe(a,"mouseup",n._onDrop),xe(a,"touchend",n._onDrop),xe(a,"touchcancel",n._onDrop),fa&&this.nativeDraggable&&(this.options.touchStartThreshold=4,$.draggable=!0),bt("delayStart",this,{evt:i}),t.delay&&(!t.delayOnTouchOnly||o)&&(!this.nativeDraggable||!(Co||_t))){if(ce.eventCanceled){this._onDrop();return}xe(a,"mouseup",n._disableDelayedDrag),xe(a,"touchend",n._disableDelayedDrag),xe(a,"touchcancel",n._disableDelayedDrag),xe(a,"mousemove",n._delayedDragTouchMoveHandler),xe(a,"touchmove",n._delayedDragTouchMoveHandler),t.supportPointer&&xe(a,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(r,t.delay)}else r()}},_delayedDragTouchMoveHandler:function(i){var o=i.touches?i.touches[0]:i;Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){$&&Ei($),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var i=this.el.ownerDocument;Se(i,"mouseup",this._disableDelayedDrag),Se(i,"touchend",this._disableDelayedDrag),Se(i,"touchcancel",this._disableDelayedDrag),Se(i,"mousemove",this._delayedDragTouchMoveHandler),Se(i,"touchmove",this._delayedDragTouchMoveHandler),Se(i,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(i,o){o=o||i.pointerType=="touch"&&i,!this.nativeDraggable||o?this.options.supportPointer?xe(document,"pointermove",this._onTouchMove):o?xe(document,"touchmove",this._onTouchMove):xe(document,"mousemove",this._onTouchMove):(xe($,"dragend",this),xe(Me,"dragstart",this._onDragStart));try{document.selection?Xo(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(i,o){if(Fn=!1,Me&&$){bt("dragStarted",this,{evt:o}),this.nativeDraggable&&xe(document,"dragover",Ms);var s=this.options;!i&&Ne($,s.dragClass,!1),Ne($,s.ghostClass,!0),ce.active=this,i&&this._appendGhost(),ht({sortable:this,name:"start",originalEvent:o})}else this._nulling()},_emulateDragOver:function(){if(Kt){this._lastX=Kt.clientX,this._lastY=Kt.clientY,Ua();for(var i=document.elementFromPoint(Kt.clientX,Kt.clientY),o=i;i&&i.shadowRoot&&(i=i.shadowRoot.elementFromPoint(Kt.clientX,Kt.clientY),i!==o);)o=i;if($.parentNode[vt]._isOutsideThisEl(i),o)do{if(o[vt]){var s=void 0;if(s=o[vt]._onDragOver({clientX:Kt.clientX,clientY:Kt.clientY,target:i,rootEl:o}),s&&!this.options.dragoverBubble)break}i=o}while(o=o.parentNode);Ka()}},_onTouchMove:function(i){if(bn){var o=this.options,s=o.fallbackTolerance,n=o.fallbackOffset,c=i.touches?i.touches[0]:i,t=he&&xn(he,!0),a=he&&t&&t.a,r=he&&t&&t.d,u=Go&&ft&&ma(ft),g=(c.clientX-bn.clientX+n.x)/(a||1)+(u?u[0]-Si[0]:0)/(a||1),m=(c.clientY-bn.clientY+n.y)/(r||1)+(u?u[1]-Si[1]:0)/(r||1);if(!ce.active&&!Fn){if(s&&Math.max(Math.abs(c.clientX-this._lastX),Math.abs(c.clientY-this._lastY))<s)return;this._onDragStart(i,!0)}if(he){t?(t.e+=g-(yi||0),t.f+=m-(bi||0)):t={a:1,b:0,c:0,d:1,e:g,f:m};var h="matrix(".concat(t.a,",").concat(t.b,",").concat(t.c,",").concat(t.d,",").concat(t.e,",").concat(t.f,")");oe(he,"webkitTransform",h),oe(he,"mozTransform",h),oe(he,"msTransform",h),oe(he,"transform",h),yi=g,bi=m,Kt=c}i.cancelable&&i.preventDefault()}},_appendGhost:function(){if(!he){var i=this.options.fallbackOnBody?document.body:Me,o=ke($,!0,Go,!0,i),s=this.options;if(Go){for(ft=i;oe(ft,"position")==="static"&&oe(ft,"transform")==="none"&&ft!==document;)ft=ft.parentNode;ft!==document.body&&ft!==document.documentElement?(ft===document&&(ft=Gt()),o.top+=ft.scrollTop,o.left+=ft.scrollLeft):ft=Gt(),Si=ma(ft)}he=$.cloneNode(!0),Ne(he,s.ghostClass,!1),Ne(he,s.fallbackClass,!0),Ne(he,s.dragClass,!0),oe(he,"transition",""),oe(he,"transform",""),oe(he,"box-sizing","border-box"),oe(he,"margin",0),oe(he,"top",o.top),oe(he,"left",o.left),oe(he,"width",o.width),oe(he,"height",o.height),oe(he,"opacity","0.8"),oe(he,"position",Go?"absolute":"fixed"),oe(he,"zIndex","100000"),oe(he,"pointerEvents","none"),ce.ghost=he,i.appendChild(he),oe(he,"transform-origin",ha/parseInt(he.style.width)*100+"% "+ya/parseInt(he.style.height)*100+"%")}},_onDragStart:function(i,o){var s=this,n=i.dataTransfer,c=s.options;if(bt("dragStart",this,{evt:i}),ce.eventCanceled){this._onDrop();return}bt("setupClone",this),ce.eventCanceled||(Ge=Pi($),Ge.draggable=!1,Ge.style["will-change"]="",this._hideClone(),Ne(Ge,this.options.chosenClass,!1),ce.clone=Ge),s.cloneId=Xo(function(){bt("clone",s),!ce.eventCanceled&&(s.options.removeCloneOnHide||Me.insertBefore(Ge,$),s._hideClone(),ht({sortable:s,name:"clone"}))}),!o&&Ne($,c.dragClass,!0),o?(_o=!0,s._loopId=setInterval(s._emulateDragOver,50)):(Se(document,"mouseup",s._onDrop),Se(document,"touchend",s._onDrop),Se(document,"touchcancel",s._onDrop),n&&(n.effectAllowed="move",c.setData&&c.setData.call(s,n,$)),xe(document,"drop",s),oe($,"transform","translateZ(0)")),Fn=!0,s._dragStartId=Xo(s._dragStarted.bind(s,o,i)),xe(document,"selectstart",s),go=!0,bo&&oe(document.body,"user-select","none")},_onDragOver:function(i){var o=this.el,s=i.target,n,c,t,a=this.options,r=a.group,u=ce.active,g=Lo===r,m=a.sort,h=dt||u,b,S=this,E=!1;if(wi)return;function I(ye,ee){bt(ye,S,zt({evt:i,isOwner:g,axis:b?"vertical":"horizontal",revert:t,dragRect:n,targetRect:c,canSort:m,fromSortable:h,target:s,completed:O,onMove:function(Oe,Ue){return zo(Me,o,$,n,Oe,ke(Oe),i,Ue)},changed:k},ee))}function w(){I("dragOverAnimationCapture"),S.captureAnimationState(),S!==h&&h.captureAnimationState()}function O(ye){return I("dragOverCompleted",{insertion:ye}),ye&&(g?u._hideClone():u._showClone(S),S!==h&&(Ne($,dt?dt.options.ghostClass:u.options.ghostClass,!1),Ne($,a.ghostClass,!0)),dt!==S&&S!==ce.active?dt=S:S===ce.active&&dt&&(dt=null),h===S&&(S._ignoreWhileAnimating=s),S.animateAll(function(){I("dragOverAnimationComplete"),S._ignoreWhileAnimating=null}),S!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(s===$&&!$.animated||s===o&&!s.animated)&&(Bn=null),!a.dragoverBubble&&!i.rootEl&&s!==document&&($.parentNode[vt]._isOutsideThisEl(i.target),!ye&&Sn(i)),!a.dragoverBubble&&i.stopPropagation&&i.stopPropagation(),E=!0}function k(){Ot=ze($),rn=ze($,a.draggable),ht({sortable:S,name:"change",toEl:o,newIndex:Ot,newDraggableIndex:rn,originalEvent:i})}if(i.preventDefault!==void 0&&i.cancelable&&i.preventDefault(),s=kt(s,a.draggable,o,!0),I("dragOver"),ce.eventCanceled)return E;if($.contains(i.target)||s.animated&&s.animatingX&&s.animatingY||S._ignoreWhileAnimating===s)return O(!1);if(_o=!1,u&&!a.disabled&&(g?m||(t=Qe!==Me):dt===this||(this.lastPutMode=Lo.checkPull(this,u,$,i))&&r.checkPut(this,u,$,i))){if(b=this._getDirection(i,s)==="vertical",n=ke($),I("dragOverValid"),ce.eventCanceled)return E;if(t)return Qe=Me,w(),this._hideClone(),I("revert"),ce.eventCanceled||(En?Me.insertBefore($,En):Me.appendChild($)),O(!0);var P=Vi(o,a.draggable);if(!P||Fs(i,b,this)&&!P.animated){if(P===$)return O(!1);if(P&&o===i.target&&(s=P),s&&(c=ke(s)),zo(Me,o,$,n,s,c,i,!!s)!==!1)return w(),o.appendChild($),Qe=o,k(),O(!0)}else if(P&&Ns(i,b,this)){var N=Ln(o,0,a,!0);if(N===$)return O(!1);if(s=N,c=ke(s),zo(Me,o,$,n,s,c,i,!1)!==!1)return w(),o.insertBefore($,N),Qe=o,k(),O(!0)}else if(s.parentNode===o){c=ke(s);var M=0,Z,J=$.parentNode!==o,K=!Us($.animated&&$.toRect||n,s.animated&&s.toRect||c,b),W=b?"top":"left",_=pa(s,"top","top")||pa($,"top","top"),q=_?_.scrollTop:void 0;Bn!==s&&(Z=c[W],Io=!1,Qo=!K&&a.invertSwap||J),M=js(i,s,c,b,K?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Qo,Bn===s);var j;if(M!==0){var H=ze($);do H-=M,j=Qe.children[H];while(j&&(oe(j,"display")==="none"||j===he))}if(M===0||j===s)return O(!1);Bn=s,xo=M;var ue=s.nextElementSibling,Y=!1;Y=M===1;var ae=zo(Me,o,$,n,s,c,i,Y);if(ae!==!1)return(ae===1||ae===-1)&&(Y=ae===1),wi=!0,setTimeout(Bs,30),w(),Y&&!ue?o.appendChild($):s.parentNode.insertBefore($,Y?ue:s),_&&Da(_,0,q-_.scrollTop),Qe=$.parentNode,Z!==void 0&&!Qo&&(Yo=Math.abs(Z-ke(s)[W])),k(),O(!0)}if(o.contains($))return O(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Se(document,"mousemove",this._onTouchMove),Se(document,"touchmove",this._onTouchMove),Se(document,"pointermove",this._onTouchMove),Se(document,"dragover",Sn),Se(document,"mousemove",Sn),Se(document,"touchmove",Sn)},_offUpEvents:function(){var i=this.el.ownerDocument;Se(i,"mouseup",this._onDrop),Se(i,"touchend",this._onDrop),Se(i,"pointerup",this._onDrop),Se(i,"touchcancel",this._onDrop),Se(document,"selectstart",this)},_onDrop:function(i){var o=this.el,s=this.options;if(Ot=ze($),rn=ze($,s.draggable),bt("drop",this,{evt:i}),Qe=$&&$.parentNode,Ot=ze($),rn=ze($,s.draggable),ce.eventCanceled){this._nulling();return}Fn=!1,Qo=!1,Io=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Oi(this.cloneId),Oi(this._dragStartId),this.nativeDraggable&&(Se(document,"drop",this),Se(o,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),bo&&oe(document.body,"user-select",""),oe($,"transform",""),i&&(go&&(i.cancelable&&i.preventDefault(),!s.dropBubble&&i.stopPropagation()),he&&he.parentNode&&he.parentNode.removeChild(he),(Me===Qe||dt&&dt.lastPutMode!=="clone")&&Ge&&Ge.parentNode&&Ge.parentNode.removeChild(Ge),$&&(this.nativeDraggable&&Se($,"dragend",this),Ei($),$.style["will-change"]="",go&&!Fn&&Ne($,dt?dt.options.ghostClass:this.options.ghostClass,!1),Ne($,this.options.chosenClass,!1),ht({sortable:this,name:"unchoose",toEl:Qe,newIndex:null,newDraggableIndex:null,originalEvent:i}),Me!==Qe?(Ot>=0&&(ht({rootEl:Qe,name:"add",toEl:Qe,fromEl:Me,originalEvent:i}),ht({sortable:this,name:"remove",toEl:Qe,originalEvent:i}),ht({rootEl:Qe,name:"sort",toEl:Qe,fromEl:Me,originalEvent:i}),ht({sortable:this,name:"sort",toEl:Qe,originalEvent:i})),dt&&dt.save()):Ot!==jn&&Ot>=0&&(ht({sortable:this,name:"update",toEl:Qe,originalEvent:i}),ht({sortable:this,name:"sort",toEl:Qe,originalEvent:i})),ce.active&&((Ot==null||Ot===-1)&&(Ot=jn,rn=Eo),ht({sortable:this,name:"end",toEl:Qe,originalEvent:i}),this.save()))),this._nulling()},_nulling:function(){bt("nulling",this),Me=$=Qe=he=En=Ge=Ho=ln=bn=Kt=go=Ot=rn=jn=Eo=Bn=xo=dt=Lo=ce.dragged=ce.ghost=ce.clone=ce.active=null,ti.forEach(function(i){i.checked=!0}),ti.length=yi=bi=0},handleEvent:function(i){switch(i.type){case"drop":case"dragend":this._onDrop(i);break;case"dragenter":case"dragover":$&&(this._onDragOver(i),ks(i));break;case"selectstart":i.preventDefault();break}},toArray:function(){for(var i=[],o,s=this.el.children,n=0,c=s.length,t=this.options;n<c;n++)o=s[n],kt(o,t.draggable,this.el,!1)&&i.push(o.getAttribute(t.dataIdAttr)||Qs(o));return i},sort:function(i,o){var s={},n=this.el;this.toArray().forEach(function(c,t){var a=n.children[t];kt(a,this.options.draggable,n,!1)&&(s[c]=a)},this),o&&this.captureAnimationState(),i.forEach(function(c){s[c]&&(n.removeChild(s[c]),n.appendChild(s[c]))}),o&&this.animateAll()},save:function(){var i=this.options.store;i&&i.set&&i.set(this)},closest:function(i,o){return kt(i,o||this.options.draggable,this.el,!1)},option:function(i,o){var s=this.options;if(o===void 0)return s[i];var n=Ao.modifyOption(this,i,o);typeof n<"u"?s[i]=n:s[i]=o,i==="group"&&Ra(s)},destroy:function(){bt("destroy",this);var i=this.el;i[vt]=null,Se(i,"mousedown",this._onTapStart),Se(i,"touchstart",this._onTapStart),Se(i,"pointerdown",this._onTapStart),this.nativeDraggable&&(Se(i,"dragover",this),Se(i,"dragenter",this)),Array.prototype.forEach.call(i.querySelectorAll("[draggable]"),function(o){o.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),ei.splice(ei.indexOf(this.el),1),this.el=i=null},_hideClone:function(){if(!ln){if(bt("hideClone",this),ce.eventCanceled)return;oe(Ge,"display","none"),this.options.removeCloneOnHide&&Ge.parentNode&&Ge.parentNode.removeChild(Ge),ln=!0}},_showClone:function(i){if(i.lastPutMode!=="clone"){this._hideClone();return}if(ln){if(bt("showClone",this),ce.eventCanceled)return;$.parentNode==Me&&!this.options.group.revertClone?Me.insertBefore(Ge,$):En?Me.insertBefore(Ge,En):Me.appendChild(Ge),this.options.group.revertClone&&this.animate($,Ge),oe(Ge,"display",""),ln=!1}}};function ks(d){d.dataTransfer&&(d.dataTransfer.dropEffect="move"),d.cancelable&&d.preventDefault()}function zo(d,i,o,s,n,c,t,a){var r,u=d[vt],g=u.options.onMove,m;return window.CustomEvent&&!_t&&!Co?r=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(r=document.createEvent("Event"),r.initEvent("move",!0,!0)),r.to=i,r.from=d,r.dragged=o,r.draggedRect=s,r.related=n||i,r.relatedRect=c||ke(i),r.willInsertAfter=a,r.originalEvent=t,d.dispatchEvent(r),g&&(m=g.call(u,r,t)),m}function Ei(d){d.draggable=!1}function Bs(){wi=!1}function Ns(d,i,o){var s=ke(Ln(o.el,0,o.options,!0)),n=10;return i?d.clientX<s.left-n||d.clientY<s.top&&d.clientX<s.right:d.clientY<s.top-n||d.clientY<s.bottom&&d.clientX<s.left}function Fs(d,i,o){var s=ke(Vi(o.el,o.options.draggable)),n=10;return i?d.clientX>s.right+n||d.clientX<=s.right&&d.clientY>s.bottom&&d.clientX>=s.left:d.clientX>s.right&&d.clientY>s.top||d.clientX<=s.right&&d.clientY>s.bottom+n}function js(d,i,o,s,n,c,t,a){var r=s?d.clientY:d.clientX,u=s?o.height:o.width,g=s?o.top:o.left,m=s?o.bottom:o.right,h=!1;if(!t){if(a&&Yo<u*n){if(!Io&&(xo===1?r>g+u*c/2:r<m-u*c/2)&&(Io=!0),Io)h=!0;else if(xo===1?r<g+Yo:r>m-Yo)return-xo}else if(r>g+u*(1-n)/2&&r<m-u*(1-n)/2)return Ls(i)}return h=h||t,h&&(r<g+u*c/2||r>m-u*c/2)?r>g+u/2?1:-1:0}function Ls(d){return ze($)<ze(d)?1:-1}function Qs(d){for(var i=d.tagName+d.className+d.src+d.href+d.textContent,o=i.length,s=0;o--;)s+=i.charCodeAt(o);return s.toString(36)}function Gs(d){ti.length=0;for(var i=d.getElementsByTagName("input"),o=i.length;o--;){var s=i[o];s.checked&&ti.push(s)}}function Xo(d){return setTimeout(d,0)}function Oi(d){return clearTimeout(d)}oi&&xe(document,"touchmove",function(d){(ce.active||Fn)&&d.cancelable&&d.preventDefault()});ce.utils={on:xe,off:Se,css:oe,find:Oa,is:function(i,o){return!!kt(i,o,i,!1)},extend:ws,throttle:Ta,closest:kt,toggleClass:Ne,clone:Pi,index:ze,nextTick:Xo,cancelNextTick:Oi,detectDirection:Pa,getChild:Ln};ce.get=function(d){return d[vt]};ce.mount=function(){for(var d=arguments.length,i=new Array(d),o=0;o<d;o++)i[o]=arguments[o];i[0].constructor===Array&&(i=i[0]),i.forEach(function(s){if(!s.prototype||!s.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(s));s.utils&&(ce.utils=zt(zt({},ce.utils),s.utils)),Ao.mount(s)})};ce.create=function(d,i){return new ce(d,i)};ce.version=xs;var Ze=[],ho,Ti,Di=!1,xi,Ii,ni,yo;function zs(){function d(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this))}return d.prototype={dragStarted:function(o){var s=o.originalEvent;this.sortable.nativeDraggable?xe(document,"dragover",this._handleAutoScroll):this.options.supportPointer?xe(document,"pointermove",this._handleFallbackAutoScroll):s.touches?xe(document,"touchmove",this._handleFallbackAutoScroll):xe(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(o){var s=o.originalEvent;!this.options.dragOverBubble&&!s.rootEl&&this._handleAutoScroll(s)},drop:function(){this.sortable.nativeDraggable?Se(document,"dragover",this._handleAutoScroll):(Se(document,"pointermove",this._handleFallbackAutoScroll),Se(document,"touchmove",this._handleFallbackAutoScroll),Se(document,"mousemove",this._handleFallbackAutoScroll)),Sa(),Zo(),Os()},nulling:function(){ni=Ti=ho=Di=yo=xi=Ii=null,Ze.length=0},_handleFallbackAutoScroll:function(o){this._handleAutoScroll(o,!0)},_handleAutoScroll:function(o,s){var n=this,c=(o.touches?o.touches[0]:o).clientX,t=(o.touches?o.touches[0]:o).clientY,a=document.elementFromPoint(c,t);if(ni=o,s||this.options.forceAutoScrollFallback||Co||_t||bo){Ci(o,this.options,a,s);var r=sn(a,!0);Di&&(!yo||c!==xi||t!==Ii)&&(yo&&Sa(),yo=setInterval(function(){var u=sn(document.elementFromPoint(c,t),!0);u!==r&&(r=u,Zo()),Ci(o,n.options,u,s)},10),xi=c,Ii=t)}else{if(!this.options.bubbleScroll||sn(a,!0)===Gt()){Zo();return}Ci(o,this.options,sn(a,!1),!1)}}},Ut(d,{pluginName:"scroll",initializeByDefault:!0})}function Zo(){Ze.forEach(function(d){clearInterval(d.pid)}),Ze=[]}function Sa(){clearInterval(yo)}var Ci=Ta(function(d,i,o,s){if(i.scroll){var n=(d.touches?d.touches[0]:d).clientX,c=(d.touches?d.touches[0]:d).clientY,t=i.scrollSensitivity,a=i.scrollSpeed,r=Gt(),u=!1,g;Ti!==o&&(Ti=o,Zo(),ho=i.scroll,g=i.scrollFn,ho===!0&&(ho=sn(o,!0)));var m=0,h=ho;do{var b=h,S=ke(b),E=S.top,I=S.bottom,w=S.left,O=S.right,k=S.width,P=S.height,N=void 0,M=void 0,Z=b.scrollWidth,J=b.scrollHeight,K=oe(b),W=b.scrollLeft,_=b.scrollTop;b===r?(N=k<Z&&(K.overflowX==="auto"||K.overflowX==="scroll"||K.overflowX==="visible"),M=P<J&&(K.overflowY==="auto"||K.overflowY==="scroll"||K.overflowY==="visible")):(N=k<Z&&(K.overflowX==="auto"||K.overflowX==="scroll"),M=P<J&&(K.overflowY==="auto"||K.overflowY==="scroll"));var q=N&&(Math.abs(O-n)<=t&&W+k<Z)-(Math.abs(w-n)<=t&&!!W),j=M&&(Math.abs(I-c)<=t&&_+P<J)-(Math.abs(E-c)<=t&&!!_);if(!Ze[m])for(var H=0;H<=m;H++)Ze[H]||(Ze[H]={});(Ze[m].vx!=q||Ze[m].vy!=j||Ze[m].el!==b)&&(Ze[m].el=b,Ze[m].vx=q,Ze[m].vy=j,clearInterval(Ze[m].pid),(q!=0||j!=0)&&(u=!0,Ze[m].pid=setInterval((function(){s&&this.layer===0&&ce.active._onTouchMove(ni);var ue=Ze[this.layer].vy?Ze[this.layer].vy*a:0,Y=Ze[this.layer].vx?Ze[this.layer].vx*a:0;typeof g=="function"&&g.call(ce.dragged.parentNode[vt],Y,ue,d,ni,Ze[this.layer].el)!=="continue"||Da(Ze[this.layer].el,Y,ue)}).bind({layer:m}),24))),m++}while(i.bubbleScroll&&h!==r&&(h=sn(h,!1)));Di=u}},30),Ma=function(i){var o=i.originalEvent,s=i.putSortable,n=i.dragEl,c=i.activeSortable,t=i.dispatchSortableEvent,a=i.hideGhostForTarget,r=i.unhideGhostForTarget;if(o){var u=s||c;a();var g=o.changedTouches&&o.changedTouches.length?o.changedTouches[0]:o,m=document.elementFromPoint(g.clientX,g.clientY);r(),u&&!u.el.contains(m)&&(t("spill"),this.onSpill({dragEl:n,putSortable:s}))}};function Ri(){}Ri.prototype={startIndex:null,dragStart:function(i){var o=i.oldDraggableIndex;this.startIndex=o},onSpill:function(i){var o=i.dragEl,s=i.putSortable;this.sortable.captureAnimationState(),s&&s.captureAnimationState();var n=Ln(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(o,n):this.sortable.el.appendChild(o),this.sortable.animateAll(),s&&s.animateAll()},drop:Ma};Ut(Ri,{pluginName:"revertOnSpill"});function Ui(){}Ui.prototype={onSpill:function(i){var o=i.dragEl,s=i.putSortable,n=s||this.sortable;n.captureAnimationState(),o.parentNode&&o.parentNode.removeChild(o),n.animateAll()},drop:Ma};Ut(Ui,{pluginName:"removeOnSpill"});var Rt;function $s(){function d(){this.defaults={swapClass:"sortable-swap-highlight"}}return d.prototype={dragStart:function(o){var s=o.dragEl;Rt=s},dragOverValid:function(o){var s=o.completed,n=o.target,c=o.onMove,t=o.activeSortable,a=o.changed,r=o.cancel;if(t.options.swap){var u=this.sortable.el,g=this.options;if(n&&n!==u){var m=Rt;c(n)!==!1?(Ne(n,g.swapClass,!0),Rt=n):Rt=null,m&&m!==Rt&&Ne(m,g.swapClass,!1)}a(),s(!0),r()}},drop:function(o){var s=o.activeSortable,n=o.putSortable,c=o.dragEl,t=n||this.sortable,a=this.options;Rt&&Ne(Rt,a.swapClass,!1),Rt&&(a.swap||n&&n.options.swap)&&c!==Rt&&(t.captureAnimationState(),t!==s&&s.captureAnimationState(),Js(c,Rt),t.animateAll(),t!==s&&s.animateAll())},nulling:function(){Rt=null}},Ut(d,{pluginName:"swap",eventProperties:function(){return{swapItem:Rt}}})}function Js(d,i){var o=d.parentNode,s=i.parentNode,n,c;!o||!s||o.isEqualNode(i)||s.isEqualNode(d)||(n=ze(d),c=ze(i),o.isEqualNode(s)&&n<c&&c++,o.insertBefore(i,o.children[n]),s.insertBefore(d,s.children[c]))}var me=[],wt=[],fo,Mt,vo=!1,St=!1,Nn=!1,Re,po,$o;function Ws(){function d(i){for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));i.options.supportPointer?xe(document,"pointerup",this._deselectMultiDrag):(xe(document,"mouseup",this._deselectMultiDrag),xe(document,"touchend",this._deselectMultiDrag)),xe(document,"keydown",this._checkKeyDown),xe(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(n,c){var t="";me.length&&Mt===i?me.forEach(function(a,r){t+=(r?", ":"")+a.textContent}):t=c.textContent,n.setData("Text",t)}}}return d.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(o){var s=o.dragEl;Re=s},delayEnded:function(){this.isMultiDrag=~me.indexOf(Re)},setupClone:function(o){var s=o.sortable,n=o.cancel;if(this.isMultiDrag){for(var c=0;c<me.length;c++)wt.push(Pi(me[c])),wt[c].sortableIndex=me[c].sortableIndex,wt[c].draggable=!1,wt[c].style["will-change"]="",Ne(wt[c],this.options.selectedClass,!1),me[c]===Re&&Ne(wt[c],this.options.chosenClass,!1);s._hideClone(),n()}},clone:function(o){var s=o.sortable,n=o.rootEl,c=o.dispatchSortableEvent,t=o.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||me.length&&Mt===s&&(Ea(!0,n),c("clone"),t()))},showClone:function(o){var s=o.cloneNowShown,n=o.rootEl,c=o.cancel;this.isMultiDrag&&(Ea(!1,n),wt.forEach(function(t){oe(t,"display","")}),s(),$o=!1,c())},hideClone:function(o){var s=this;o.sortable;var n=o.cloneNowHidden,c=o.cancel;this.isMultiDrag&&(wt.forEach(function(t){oe(t,"display","none"),s.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)}),n(),$o=!0,c())},dragStartGlobal:function(o){o.sortable,!this.isMultiDrag&&Mt&&Mt.multiDrag._deselectMultiDrag(),me.forEach(function(s){s.sortableIndex=ze(s)}),me=me.sort(function(s,n){return s.sortableIndex-n.sortableIndex}),Nn=!0},dragStarted:function(o){var s=this,n=o.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){me.forEach(function(t){t!==Re&&oe(t,"position","absolute")});var c=ke(Re,!1,!0,!0);me.forEach(function(t){t!==Re&&ga(t,c)}),St=!0,vo=!0}n.animateAll(function(){St=!1,vo=!1,s.options.animation&&me.forEach(function(t){gi(t)}),s.options.sort&&Jo()})}},dragOver:function(o){var s=o.target,n=o.completed,c=o.cancel;St&&~me.indexOf(s)&&(n(!1),c())},revert:function(o){var s=o.fromSortable,n=o.rootEl,c=o.sortable,t=o.dragRect;me.length>1&&(me.forEach(function(a){c.addAnimationState({target:a,rect:St?ke(a):t}),gi(a),a.fromRect=t,s.removeAnimationState(a)}),St=!1,Hs(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(o){var s=o.sortable,n=o.isOwner,c=o.insertion,t=o.activeSortable,a=o.parentEl,r=o.putSortable,u=this.options;if(c){if(n&&t._hideClone(),vo=!1,u.animation&&me.length>1&&(St||!n&&!t.options.sort&&!r)){var g=ke(Re,!1,!0,!0);me.forEach(function(h){h!==Re&&(ga(h,g),a.appendChild(h))}),St=!0}if(!n)if(St||Jo(),me.length>1){var m=$o;t._showClone(s),t.options.animation&&!$o&&m&&wt.forEach(function(h){t.addAnimationState({target:h,rect:po}),h.fromRect=po,h.thisAnimationDuration=null})}else t._showClone(s)}},dragOverAnimationCapture:function(o){var s=o.dragRect,n=o.isOwner,c=o.activeSortable;if(me.forEach(function(a){a.thisAnimationDuration=null}),c.options.animation&&!n&&c.multiDrag.isMultiDrag){po=Ut({},s);var t=xn(Re,!0);po.top-=t.f,po.left-=t.e}},dragOverAnimationComplete:function(){St&&(St=!1,Jo())},drop:function(o){var s=o.originalEvent,n=o.rootEl,c=o.parentEl,t=o.sortable,a=o.dispatchSortableEvent,r=o.oldIndex,u=o.putSortable,g=u||this.sortable;if(s){var m=this.options,h=c.children;if(!Nn)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ne(Re,m.selectedClass,!~me.indexOf(Re)),~me.indexOf(Re))me.splice(me.indexOf(Re),1),fo=null,mo({sortable:t,rootEl:n,name:"deselect",targetEl:Re});else{if(me.push(Re),mo({sortable:t,rootEl:n,name:"select",targetEl:Re}),s.shiftKey&&fo&&t.el.contains(fo)){var b=ze(fo),S=ze(Re);if(~b&&~S&&b!==S){var E,I;for(S>b?(I=b,E=S):(I=S,E=b+1);I<E;I++)~me.indexOf(h[I])||(Ne(h[I],m.selectedClass,!0),me.push(h[I]),mo({sortable:t,rootEl:n,name:"select",targetEl:h[I]}))}}else fo=Re;Mt=g}if(Nn&&this.isMultiDrag){if(St=!1,(c[vt].options.sort||c!==n)&&me.length>1){var w=ke(Re),O=ze(Re,":not(."+this.options.selectedClass+")");if(!vo&&m.animation&&(Re.thisAnimationDuration=null),g.captureAnimationState(),!vo&&(m.animation&&(Re.fromRect=w,me.forEach(function(P){if(P.thisAnimationDuration=null,P!==Re){var N=St?ke(P):w;P.fromRect=N,g.addAnimationState({target:P,rect:N})}})),Jo(),me.forEach(function(P){h[O]?c.insertBefore(P,h[O]):c.appendChild(P),O++}),r===ze(Re))){var k=!1;me.forEach(function(P){if(P.sortableIndex!==ze(P)){k=!0;return}}),k&&a("update")}me.forEach(function(P){gi(P)}),g.animateAll()}Mt=g}(n===c||u&&u.lastPutMode!=="clone")&&wt.forEach(function(P){P.parentNode&&P.parentNode.removeChild(P)})}},nullingGlobal:function(){this.isMultiDrag=Nn=!1,wt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),Se(document,"pointerup",this._deselectMultiDrag),Se(document,"mouseup",this._deselectMultiDrag),Se(document,"touchend",this._deselectMultiDrag),Se(document,"keydown",this._checkKeyDown),Se(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(o){if(!(typeof Nn<"u"&&Nn)&&Mt===this.sortable&&!(o&&kt(o.target,this.options.draggable,this.sortable.el,!1))&&!(o&&o.button!==0))for(;me.length;){var s=me[0];Ne(s,this.options.selectedClass,!1),me.shift(),mo({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:s})}},_checkKeyDown:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Ut(d,{pluginName:"multiDrag",utils:{select:function(o){var s=o.parentNode[vt];!s||!s.options.multiDrag||~me.indexOf(o)||(Mt&&Mt!==s&&(Mt.multiDrag._deselectMultiDrag(),Mt=s),Ne(o,s.options.selectedClass,!0),me.push(o))},deselect:function(o){var s=o.parentNode[vt],n=me.indexOf(o);!s||!s.options.multiDrag||!~n||(Ne(o,s.options.selectedClass,!1),me.splice(n,1))}},eventProperties:function(){var o=this,s=[],n=[];return me.forEach(function(c){s.push({multiDragElement:c,index:c.sortableIndex});var t;St&&c!==Re?t=-1:St?t=ze(c,":not(."+o.options.selectedClass+")"):t=ze(c),n.push({multiDragElement:c,index:t})}),{items:hs(me),clones:[].concat(wt),oldIndicies:s,newIndicies:n}},optionListeners:{multiDragKey:function(o){return o=o.toLowerCase(),o==="ctrl"?o="Control":o.length>1&&(o=o.charAt(0).toUpperCase()+o.substr(1)),o}}})}function Hs(d,i){me.forEach(function(o,s){var n=i.children[o.sortableIndex+(d?Number(s):0)];n?i.insertBefore(o,n):i.appendChild(o)})}function Ea(d,i){wt.forEach(function(o,s){var n=i.children[o.sortableIndex+(d?Number(s):0)];n?i.insertBefore(o,n):i.appendChild(o)})}function Jo(){me.forEach(function(d){d!==Re&&d.parentNode&&d.parentNode.removeChild(d)})}ce.mount(new zs);ce.mount(Ui,Ri);const Ys=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Ws,Sortable:ce,Swap:$s,default:ce},Symbol.toStringTag,{value:"Module"})),Xs=Gl(Ys);(function(d,i){(function(s,n){d.exports=n($l,Xs)})(typeof self<"u"?self:Jl,function(o,s){return function(n){var c={};function t(a){if(c[a])return c[a].exports;var r=c[a]={i:a,l:!1,exports:{}};return n[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=n,t.c=c,t.d=function(a,r,u){t.o(a,r)||Object.defineProperty(a,r,{enumerable:!0,get:u})},t.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},t.t=function(a,r){if(r&1&&(a=t(a)),r&8||r&4&&typeof a=="object"&&a&&a.__esModule)return a;var u=Object.create(null);if(t.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:a}),r&2&&typeof a!="string")for(var g in a)t.d(u,g,(function(m){return a[m]}).bind(null,g));return u},t.n=function(a){var r=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(r,"a",r),r},t.o=function(a,r){return Object.prototype.hasOwnProperty.call(a,r)},t.p="",t(t.s="fb15")}({"00ee":function(n,c,t){var a=t("b622"),r=a("toStringTag"),u={};u[r]="z",n.exports=String(u)==="[object z]"},"0366":function(n,c,t){var a=t("1c0b");n.exports=function(r,u,g){if(a(r),u===void 0)return r;switch(g){case 0:return function(){return r.call(u)};case 1:return function(m){return r.call(u,m)};case 2:return function(m,h){return r.call(u,m,h)};case 3:return function(m,h,b){return r.call(u,m,h,b)}}return function(){return r.apply(u,arguments)}}},"057f":function(n,c,t){var a=t("fc6a"),r=t("241c").f,u={}.toString,g=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(h){try{return r(h)}catch{return g.slice()}};n.exports.f=function(b){return g&&u.call(b)=="[object Window]"?m(b):r(a(b))}},"06cf":function(n,c,t){var a=t("83ab"),r=t("d1e7"),u=t("5c6c"),g=t("fc6a"),m=t("c04e"),h=t("5135"),b=t("0cfb"),S=Object.getOwnPropertyDescriptor;c.f=a?S:function(I,w){if(I=g(I),w=m(w,!0),b)try{return S(I,w)}catch{}if(h(I,w))return u(!r.f.call(I,w),I[w])}},"0cfb":function(n,c,t){var a=t("83ab"),r=t("d039"),u=t("cc12");n.exports=!a&&!r(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(n,c,t){var a=t("23e7"),r=t("d58f").left,u=t("a640"),g=t("ae40"),m=u("reduce"),h=g("reduce",{1:0});a({target:"Array",proto:!0,forced:!m||!h},{reduce:function(S){return r(this,S,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(n,c,t){var a=t("c6b6"),r=t("9263");n.exports=function(u,g){var m=u.exec;if(typeof m=="function"){var h=m.call(u,g);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(a(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return r.call(u,g)}},"159b":function(n,c,t){var a=t("da84"),r=t("fdbc"),u=t("17c2"),g=t("9112");for(var m in r){var h=a[m],b=h&&h.prototype;if(b&&b.forEach!==u)try{g(b,"forEach",u)}catch{b.forEach=u}}},"17c2":function(n,c,t){var a=t("b727").forEach,r=t("a640"),u=t("ae40"),g=r("forEach"),m=u("forEach");n.exports=!g||!m?function(b){return a(this,b,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(n,c,t){var a=t("d066");n.exports=a("document","documentElement")},"1c0b":function(n,c){n.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(n,c,t){var a=t("b622"),r=a("iterator"),u=!1;try{var g=0,m={next:function(){return{done:!!g++}},return:function(){u=!0}};m[r]=function(){return this},Array.from(m,function(){throw 2})}catch{}n.exports=function(h,b){if(!b&&!u)return!1;var S=!1;try{var E={};E[r]=function(){return{next:function(){return{done:S=!0}}}},h(E)}catch{}return S}},"1d80":function(n,c){n.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}},"1dde":function(n,c,t){var a=t("d039"),r=t("b622"),u=t("2d00"),g=r("species");n.exports=function(m){return u>=51||!a(function(){var h=[],b=h.constructor={};return b[g]=function(){return{foo:1}},h[m](Boolean).foo!==1})}},"23cb":function(n,c,t){var a=t("a691"),r=Math.max,u=Math.min;n.exports=function(g,m){var h=a(g);return h<0?r(h+m,0):u(h,m)}},"23e7":function(n,c,t){var a=t("da84"),r=t("06cf").f,u=t("9112"),g=t("6eeb"),m=t("ce4e"),h=t("e893"),b=t("94ca");n.exports=function(S,E){var I=S.target,w=S.global,O=S.stat,k,P,N,M,Z,J;if(w?P=a:O?P=a[I]||m(I,{}):P=(a[I]||{}).prototype,P)for(N in E){if(Z=E[N],S.noTargetGet?(J=r(P,N),M=J&&J.value):M=P[N],k=b(w?N:I+(O?".":"#")+N,S.forced),!k&&M!==void 0){if(typeof Z==typeof M)continue;h(Z,M)}(S.sham||M&&M.sham)&&u(Z,"sham",!0),g(P,N,Z,S)}}},"241c":function(n,c,t){var a=t("ca84"),r=t("7839"),u=r.concat("length","prototype");c.f=Object.getOwnPropertyNames||function(m){return a(m,u)}},"25f0":function(n,c,t){var a=t("6eeb"),r=t("825a"),u=t("d039"),g=t("ad6d"),m="toString",h=RegExp.prototype,b=h[m],S=u(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),E=b.name!=m;(S||E)&&a(RegExp.prototype,m,function(){var w=r(this),O=String(w.source),k=w.flags,P=String(k===void 0&&w instanceof RegExp&&!("flags"in h)?g.call(w):k);return"/"+O+"/"+P},{unsafe:!0})},"2ca0":function(n,c,t){var a=t("23e7"),r=t("06cf").f,u=t("50c4"),g=t("5a34"),m=t("1d80"),h=t("ab13"),b=t("c430"),S="".startsWith,E=Math.min,I=h("startsWith"),w=!b&&!I&&!!function(){var O=r(String.prototype,"startsWith");return O&&!O.writable}();a({target:"String",proto:!0,forced:!w&&!I},{startsWith:function(k){var P=String(m(this));g(k);var N=u(E(arguments.length>1?arguments[1]:void 0,P.length)),M=String(k);return S?S.call(P,M,N):P.slice(N,N+M.length)===M}})},"2d00":function(n,c,t){var a=t("da84"),r=t("342f"),u=a.process,g=u&&u.versions,m=g&&g.v8,h,b;m?(h=m.split("."),b=h[0]+h[1]):r&&(h=r.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=r.match(/Chrome\/(\d+)/),h&&(b=h[1]))),n.exports=b&&+b},"342f":function(n,c,t){var a=t("d066");n.exports=a("navigator","userAgent")||""},"35a1":function(n,c,t){var a=t("f5df"),r=t("3f8c"),u=t("b622"),g=u("iterator");n.exports=function(m){if(m!=null)return m[g]||m["@@iterator"]||r[a(m)]}},"37e8":function(n,c,t){var a=t("83ab"),r=t("9bf2"),u=t("825a"),g=t("df75");n.exports=a?Object.defineProperties:function(h,b){u(h);for(var S=g(b),E=S.length,I=0,w;E>I;)r.f(h,w=S[I++],b[w]);return h}},"3bbe":function(n,c,t){var a=t("861d");n.exports=function(r){if(!a(r)&&r!==null)throw TypeError("Can't set "+String(r)+" as a prototype");return r}},"3ca3":function(n,c,t){var a=t("6547").charAt,r=t("69f3"),u=t("7dd0"),g="String Iterator",m=r.set,h=r.getterFor(g);u(String,"String",function(b){m(this,{type:g,string:String(b),index:0})},function(){var S=h(this),E=S.string,I=S.index,w;return I>=E.length?{value:void 0,done:!0}:(w=a(E,I),S.index+=w.length,{value:w,done:!1})})},"3f8c":function(n,c){n.exports={}},4160:function(n,c,t){var a=t("23e7"),r=t("17c2");a({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},"428f":function(n,c,t){var a=t("da84");n.exports=a},"44ad":function(n,c,t){var a=t("d039"),r=t("c6b6"),u="".split;n.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(g){return r(g)=="String"?u.call(g,""):Object(g)}:Object},"44d2":function(n,c,t){var a=t("b622"),r=t("7c73"),u=t("9bf2"),g=a("unscopables"),m=Array.prototype;m[g]==null&&u.f(m,g,{configurable:!0,value:r(null)}),n.exports=function(h){m[g][h]=!0}},"44e7":function(n,c,t){var a=t("861d"),r=t("c6b6"),u=t("b622"),g=u("match");n.exports=function(m){var h;return a(m)&&((h=m[g])!==void 0?!!h:r(m)=="RegExp")}},4930:function(n,c,t){var a=t("d039");n.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(n,c,t){var a=t("fc6a"),r=t("50c4"),u=t("23cb"),g=function(m){return function(h,b,S){var E=a(h),I=r(E.length),w=u(S,I),O;if(m&&b!=b){for(;I>w;)if(O=E[w++],O!=O)return!0}else for(;I>w;w++)if((m||w in E)&&E[w]===b)return m||w||0;return!m&&-1}};n.exports={includes:g(!0),indexOf:g(!1)}},"4de4":function(n,c,t){var a=t("23e7"),r=t("b727").filter,u=t("1dde"),g=t("ae40"),m=u("filter"),h=g("filter");a({target:"Array",proto:!0,forced:!m||!h},{filter:function(S){return r(this,S,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(n,c,t){var a=t("0366"),r=t("7b0b"),u=t("9bdd"),g=t("e95a"),m=t("50c4"),h=t("8418"),b=t("35a1");n.exports=function(E){var I=r(E),w=typeof this=="function"?this:Array,O=arguments.length,k=O>1?arguments[1]:void 0,P=k!==void 0,N=b(I),M=0,Z,J,K,W,_,q;if(P&&(k=a(k,O>2?arguments[2]:void 0,2)),N!=null&&!(w==Array&&g(N)))for(W=N.call(I),_=W.next,J=new w;!(K=_.call(W)).done;M++)q=P?u(W,k,[K.value,M],!0):K.value,h(J,M,q);else for(Z=m(I.length),J=new w(Z);Z>M;M++)q=P?k(I[M],M):I[M],h(J,M,q);return J.length=M,J}},"4fad":function(n,c,t){var a=t("23e7"),r=t("6f53").entries;a({target:"Object",stat:!0},{entries:function(g){return r(g)}})},"50c4":function(n,c,t){var a=t("a691"),r=Math.min;n.exports=function(u){return u>0?r(a(u),9007199254740991):0}},5135:function(n,c){var t={}.hasOwnProperty;n.exports=function(a,r){return t.call(a,r)}},5319:function(n,c,t){var a=t("d784"),r=t("825a"),u=t("7b0b"),g=t("50c4"),m=t("a691"),h=t("1d80"),b=t("8aa5"),S=t("14c3"),E=Math.max,I=Math.min,w=Math.floor,O=/\$([$&'`]|\d\d?|<[^>]*>)/g,k=/\$([$&'`]|\d\d?)/g,P=function(N){return N===void 0?N:String(N)};a("replace",2,function(N,M,Z,J){var K=J.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,W=J.REPLACE_KEEPS_$0,_=K?"$":"$0";return[function(H,ue){var Y=h(this),ae=H==null?void 0:H[N];return ae!==void 0?ae.call(H,Y,ue):M.call(String(Y),H,ue)},function(j,H){if(!K&&W||typeof H=="string"&&H.indexOf(_)===-1){var ue=Z(M,j,this,H);if(ue.done)return ue.value}var Y=r(j),ae=String(this),ye=typeof H=="function";ye||(H=String(H));var ee=Y.global;if(ee){var qe=Y.unicode;Y.lastIndex=0}for(var Oe=[];;){var Ue=S(Y,ae);if(Ue===null||(Oe.push(Ue),!ee))break;var $e=String(Ue[0]);$e===""&&(Y.lastIndex=b(ae,g(Y.lastIndex),qe))}for(var He="",Fe=0,De=0;De<Oe.length;De++){Ue=Oe[De];for(var Ke=String(Ue[0]),je=E(I(m(Ue.index),ae.length),0),ot=[],yt=1;yt<Ue.length;yt++)ot.push(P(Ue[yt]));var Et=Ue.groups;if(ye){var Bt=[Ke].concat(ot,je,ae);Et!==void 0&&Bt.push(Et);var Ye=String(H.apply(void 0,Bt))}else Ye=q(Ke,ae,je,ot,Et,H);je>=Fe&&(He+=ae.slice(Fe,je)+Ye,Fe=je+Ke.length)}return He+ae.slice(Fe)}];function q(j,H,ue,Y,ae,ye){var ee=ue+j.length,qe=Y.length,Oe=k;return ae!==void 0&&(ae=u(ae),Oe=O),M.call(ye,Oe,function(Ue,$e){var He;switch($e.charAt(0)){case"$":return"$";case"&":return j;case"`":return H.slice(0,ue);case"'":return H.slice(ee);case"<":He=ae[$e.slice(1,-1)];break;default:var Fe=+$e;if(Fe===0)return Ue;if(Fe>qe){var De=w(Fe/10);return De===0?Ue:De<=qe?Y[De-1]===void 0?$e.charAt(1):Y[De-1]+$e.charAt(1):Ue}He=Y[Fe-1]}return He===void 0?"":He})}})},5692:function(n,c,t){var a=t("c430"),r=t("c6cd");(n.exports=function(u,g){return r[u]||(r[u]=g!==void 0?g:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(n,c,t){var a=t("d066"),r=t("241c"),u=t("7418"),g=t("825a");n.exports=a("Reflect","ownKeys")||function(h){var b=r.f(g(h)),S=u.f;return S?b.concat(S(h)):b}},"5a34":function(n,c,t){var a=t("44e7");n.exports=function(r){if(a(r))throw TypeError("The method doesn't accept regular expressions");return r}},"5c6c":function(n,c){n.exports=function(t,a){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:a}}},"5db7":function(n,c,t){var a=t("23e7"),r=t("a2bf"),u=t("7b0b"),g=t("50c4"),m=t("1c0b"),h=t("65f0");a({target:"Array",proto:!0},{flatMap:function(S){var E=u(this),I=g(E.length),w;return m(S),w=h(E,0),w.length=r(w,E,E,I,0,1,S,arguments.length>1?arguments[1]:void 0),w}})},6547:function(n,c,t){var a=t("a691"),r=t("1d80"),u=function(g){return function(m,h){var b=String(r(m)),S=a(h),E=b.length,I,w;return S<0||S>=E?g?"":void 0:(I=b.charCodeAt(S),I<55296||I>56319||S+1===E||(w=b.charCodeAt(S+1))<56320||w>57343?g?b.charAt(S):I:g?b.slice(S,S+2):(I-55296<<10)+(w-56320)+65536)}};n.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(n,c,t){var a=t("861d"),r=t("e8b5"),u=t("b622"),g=u("species");n.exports=function(m,h){var b;return r(m)&&(b=m.constructor,typeof b=="function"&&(b===Array||r(b.prototype))?b=void 0:a(b)&&(b=b[g],b===null&&(b=void 0))),new(b===void 0?Array:b)(h===0?0:h)}},"69f3":function(n,c,t){var a=t("7f9a"),r=t("da84"),u=t("861d"),g=t("9112"),m=t("5135"),h=t("f772"),b=t("d012"),S=r.WeakMap,E,I,w,O=function(K){return w(K)?I(K):E(K,{})},k=function(K){return function(W){var _;if(!u(W)||(_=I(W)).type!==K)throw TypeError("Incompatible receiver, "+K+" required");return _}};if(a){var P=new S,N=P.get,M=P.has,Z=P.set;E=function(K,W){return Z.call(P,K,W),W},I=function(K){return N.call(P,K)||{}},w=function(K){return M.call(P,K)}}else{var J=h("state");b[J]=!0,E=function(K,W){return g(K,J,W),W},I=function(K){return m(K,J)?K[J]:{}},w=function(K){return m(K,J)}}n.exports={set:E,get:I,has:w,enforce:O,getterFor:k}},"6eeb":function(n,c,t){var a=t("da84"),r=t("9112"),u=t("5135"),g=t("ce4e"),m=t("8925"),h=t("69f3"),b=h.get,S=h.enforce,E=String(String).split("String");(n.exports=function(I,w,O,k){var P=k?!!k.unsafe:!1,N=k?!!k.enumerable:!1,M=k?!!k.noTargetGet:!1;if(typeof O=="function"&&(typeof w=="string"&&!u(O,"name")&&r(O,"name",w),S(O).source=E.join(typeof w=="string"?w:"")),I===a){N?I[w]=O:g(w,O);return}else P?!M&&I[w]&&(N=!0):delete I[w];N?I[w]=O:r(I,w,O)})(Function.prototype,"toString",function(){return typeof this=="function"&&b(this).source||m(this)})},"6f53":function(n,c,t){var a=t("83ab"),r=t("df75"),u=t("fc6a"),g=t("d1e7").f,m=function(h){return function(b){for(var S=u(b),E=r(S),I=E.length,w=0,O=[],k;I>w;)k=E[w++],(!a||g.call(S,k))&&O.push(h?[k,S[k]]:S[k]);return O}};n.exports={entries:m(!0),values:m(!1)}},"73d9":function(n,c,t){var a=t("44d2");a("flatMap")},7418:function(n,c){c.f=Object.getOwnPropertySymbols},"746f":function(n,c,t){var a=t("428f"),r=t("5135"),u=t("e538"),g=t("9bf2").f;n.exports=function(m){var h=a.Symbol||(a.Symbol={});r(h,m)||g(h,m,{value:u.f(m)})}},7839:function(n,c){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(n,c,t){var a=t("1d80");n.exports=function(r){return Object(a(r))}},"7c73":function(n,c,t){var a=t("825a"),r=t("37e8"),u=t("7839"),g=t("d012"),m=t("1be4"),h=t("cc12"),b=t("f772"),S=">",E="<",I="prototype",w="script",O=b("IE_PROTO"),k=function(){},P=function(K){return E+w+S+K+E+"/"+w+S},N=function(K){K.write(P("")),K.close();var W=K.parentWindow.Object;return K=null,W},M=function(){var K=h("iframe"),W="java"+w+":",_;return K.style.display="none",m.appendChild(K),K.src=String(W),_=K.contentWindow.document,_.open(),_.write(P("document.F=Object")),_.close(),_.F},Z,J=function(){try{Z=document.domain&&new ActiveXObject("htmlfile")}catch{}J=Z?N(Z):M();for(var K=u.length;K--;)delete J[I][u[K]];return J()};g[O]=!0,n.exports=Object.create||function(W,_){var q;return W!==null?(k[I]=a(W),q=new k,k[I]=null,q[O]=W):q=J(),_===void 0?q:r(q,_)}},"7dd0":function(n,c,t){var a=t("23e7"),r=t("9ed3"),u=t("e163"),g=t("d2bb"),m=t("d44e"),h=t("9112"),b=t("6eeb"),S=t("b622"),E=t("c430"),I=t("3f8c"),w=t("ae93"),O=w.IteratorPrototype,k=w.BUGGY_SAFARI_ITERATORS,P=S("iterator"),N="keys",M="values",Z="entries",J=function(){return this};n.exports=function(K,W,_,q,j,H,ue){r(_,W,q);var Y=function(De){if(De===j&&Oe)return Oe;if(!k&&De in ee)return ee[De];switch(De){case N:return function(){return new _(this,De)};case M:return function(){return new _(this,De)};case Z:return function(){return new _(this,De)}}return function(){return new _(this)}},ae=W+" Iterator",ye=!1,ee=K.prototype,qe=ee[P]||ee["@@iterator"]||j&&ee[j],Oe=!k&&qe||Y(j),Ue=W=="Array"&&ee.entries||qe,$e,He,Fe;if(Ue&&($e=u(Ue.call(new K)),O!==Object.prototype&&$e.next&&(!E&&u($e)!==O&&(g?g($e,O):typeof $e[P]!="function"&&h($e,P,J)),m($e,ae,!0,!0),E&&(I[ae]=J))),j==M&&qe&&qe.name!==M&&(ye=!0,Oe=function(){return qe.call(this)}),(!E||ue)&&ee[P]!==Oe&&h(ee,P,Oe),I[W]=Oe,j)if(He={values:Y(M),keys:H?Oe:Y(N),entries:Y(Z)},ue)for(Fe in He)(k||ye||!(Fe in ee))&&b(ee,Fe,He[Fe]);else a({target:W,proto:!0,forced:k||ye},He);return He}},"7f9a":function(n,c,t){var a=t("da84"),r=t("8925"),u=a.WeakMap;n.exports=typeof u=="function"&&/native code/.test(r(u))},"825a":function(n,c,t){var a=t("861d");n.exports=function(r){if(!a(r))throw TypeError(String(r)+" is not an object");return r}},"83ab":function(n,c,t){var a=t("d039");n.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(n,c,t){var a=t("c04e"),r=t("9bf2"),u=t("5c6c");n.exports=function(g,m,h){var b=a(m);b in g?r.f(g,b,u(0,h)):g[b]=h}},"861d":function(n,c){n.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},8875:function(n,c,t){var a,r,u;(function(g,m){r=[],a=m,u=typeof a=="function"?a.apply(c,r):a,u!==void 0&&(n.exports=u)})(typeof self<"u"?self:this,function(){function g(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==g&&document.currentScript)return document.currentScript;try{throw new Error}catch(Z){var h=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,b=/@([^@]*):(\d+):(\d+)\s*$/ig,S=h.exec(Z.stack)||b.exec(Z.stack),E=S&&S[1]||!1,I=S&&S[2]||!1,w=document.location.href.replace(document.location.hash,""),O,k,P,N=document.getElementsByTagName("script");E===w&&(O=document.documentElement.outerHTML,k=new RegExp("(?:[^\\n]+?\\n){0,"+(I-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),P=O.replace(k,"$1").trim());for(var M=0;M<N.length;M++)if(N[M].readyState==="interactive"||N[M].src===E||E===w&&N[M].innerHTML&&N[M].innerHTML.trim()===P)return N[M];return null}}return g})},8925:function(n,c,t){var a=t("c6cd"),r=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(u){return r.call(u)}),n.exports=a.inspectSource},"8aa5":function(n,c,t){var a=t("6547").charAt;n.exports=function(r,u,g){return u+(g?a(r,u).length:1)}},"8bbf":function(n,c){n.exports=o},"90e3":function(n,c){var t=0,a=Math.random();n.exports=function(r){return"Symbol("+String(r===void 0?"":r)+")_"+(++t+a).toString(36)}},9112:function(n,c,t){var a=t("83ab"),r=t("9bf2"),u=t("5c6c");n.exports=a?function(g,m,h){return r.f(g,m,u(1,h))}:function(g,m,h){return g[m]=h,g}},9263:function(n,c,t){var a=t("ad6d"),r=t("9f7f"),u=RegExp.prototype.exec,g=String.prototype.replace,m=u,h=function(){var I=/a/,w=/b*/g;return u.call(I,"a"),u.call(w,"a"),I.lastIndex!==0||w.lastIndex!==0}(),b=r.UNSUPPORTED_Y||r.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,E=h||S||b;E&&(m=function(w){var O=this,k,P,N,M,Z=b&&O.sticky,J=a.call(O),K=O.source,W=0,_=w;return Z&&(J=J.replace("y",""),J.indexOf("g")===-1&&(J+="g"),_=String(w).slice(O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&w[O.lastIndex-1]!==`
- `)&&(K="(?: "+K+")",_=" "+_,W++),P=new RegExp("^(?:"+K+")",J)),S&&(P=new RegExp("^"+K+"$(?!\\s)",J)),h&&(k=O.lastIndex),N=u.call(Z?P:O,_),Z?N?(N.input=N.input.slice(W),N[0]=N[0].slice(W),N.index=O.lastIndex,O.lastIndex+=N[0].length):O.lastIndex=0:h&&N&&(O.lastIndex=O.global?N.index+N[0].length:k),S&&N&&N.length>1&&g.call(N[0],P,function(){for(M=1;M<arguments.length-2;M++)arguments[M]===void 0&&(N[M]=void 0)}),N}),n.exports=m},"94ca":function(n,c,t){var a=t("d039"),r=/#|\.prototype\./,u=function(S,E){var I=m[g(S)];return I==b?!0:I==h?!1:typeof E=="function"?a(E):!!E},g=u.normalize=function(S){return String(S).replace(r,".").toLowerCase()},m=u.data={},h=u.NATIVE="N",b=u.POLYFILL="P";n.exports=u},"99af":function(n,c,t){var a=t("23e7"),r=t("d039"),u=t("e8b5"),g=t("861d"),m=t("7b0b"),h=t("50c4"),b=t("8418"),S=t("65f0"),E=t("1dde"),I=t("b622"),w=t("2d00"),O=I("isConcatSpreadable"),k=9007199254740991,P="Maximum allowed index exceeded",N=w>=51||!r(function(){var K=[];return K[O]=!1,K.concat()[0]!==K}),M=E("concat"),Z=function(K){if(!g(K))return!1;var W=K[O];return W!==void 0?!!W:u(K)},J=!N||!M;a({target:"Array",proto:!0,forced:J},{concat:function(W){var _=m(this),q=S(_,0),j=0,H,ue,Y,ae,ye;for(H=-1,Y=arguments.length;H<Y;H++)if(ye=H===-1?_:arguments[H],Z(ye)){if(ae=h(ye.length),j+ae>k)throw TypeError(P);for(ue=0;ue<ae;ue++,j++)ue in ye&&b(q,j,ye[ue])}else{if(j>=k)throw TypeError(P);b(q,j++,ye)}return q.length=j,q}})},"9bdd":function(n,c,t){var a=t("825a");n.exports=function(r,u,g,m){try{return m?u(a(g)[0],g[1]):u(g)}catch(b){var h=r.return;throw h!==void 0&&a(h.call(r)),b}}},"9bf2":function(n,c,t){var a=t("83ab"),r=t("0cfb"),u=t("825a"),g=t("c04e"),m=Object.defineProperty;c.f=a?m:function(b,S,E){if(u(b),S=g(S,!0),u(E),r)try{return m(b,S,E)}catch{}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(b[S]=E.value),b}},"9ed3":function(n,c,t){var a=t("ae93").IteratorPrototype,r=t("7c73"),u=t("5c6c"),g=t("d44e"),m=t("3f8c"),h=function(){return this};n.exports=function(b,S,E){var I=S+" Iterator";return b.prototype=r(a,{next:u(1,E)}),g(b,I,!1,!0),m[I]=h,b}},"9f7f":function(n,c,t){var a=t("d039");function r(u,g){return RegExp(u,g)}c.UNSUPPORTED_Y=a(function(){var u=r("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),c.BROKEN_CARET=a(function(){var u=r("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(n,c,t){var a=t("e8b5"),r=t("50c4"),u=t("0366"),g=function(m,h,b,S,E,I,w,O){for(var k=E,P=0,N=w?u(w,O,3):!1,M;P<S;){if(P in b){if(M=N?N(b[P],P,h):b[P],I>0&&a(M))k=g(m,h,M,r(M.length),k,I-1)-1;else{if(k>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[k]=M}k++}P++}return k};n.exports=g},a352:function(n,c){n.exports=s},a434:function(n,c,t){var a=t("23e7"),r=t("23cb"),u=t("a691"),g=t("50c4"),m=t("7b0b"),h=t("65f0"),b=t("8418"),S=t("1dde"),E=t("ae40"),I=S("splice"),w=E("splice",{ACCESSORS:!0,0:0,1:2}),O=Math.max,k=Math.min,P=9007199254740991,N="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!I||!w},{splice:function(Z,J){var K=m(this),W=g(K.length),_=r(Z,W),q=arguments.length,j,H,ue,Y,ae,ye;if(q===0?j=H=0:q===1?(j=0,H=W-_):(j=q-2,H=k(O(u(J),0),W-_)),W+j-H>P)throw TypeError(N);for(ue=h(K,H),Y=0;Y<H;Y++)ae=_+Y,ae in K&&b(ue,Y,K[ae]);if(ue.length=H,j<H){for(Y=_;Y<W-H;Y++)ae=Y+H,ye=Y+j,ae in K?K[ye]=K[ae]:delete K[ye];for(Y=W;Y>W-H+j;Y--)delete K[Y-1]}else if(j>H)for(Y=W-H;Y>_;Y--)ae=Y+H-1,ye=Y+j-1,ae in K?K[ye]=K[ae]:delete K[ye];for(Y=0;Y<j;Y++)K[Y+_]=arguments[Y+2];return K.length=W-H+j,ue}})},a4d3:function(n,c,t){var a=t("23e7"),r=t("da84"),u=t("d066"),g=t("c430"),m=t("83ab"),h=t("4930"),b=t("fdbf"),S=t("d039"),E=t("5135"),I=t("e8b5"),w=t("861d"),O=t("825a"),k=t("7b0b"),P=t("fc6a"),N=t("c04e"),M=t("5c6c"),Z=t("7c73"),J=t("df75"),K=t("241c"),W=t("057f"),_=t("7418"),q=t("06cf"),j=t("9bf2"),H=t("d1e7"),ue=t("9112"),Y=t("6eeb"),ae=t("5692"),ye=t("f772"),ee=t("d012"),qe=t("90e3"),Oe=t("b622"),Ue=t("e538"),$e=t("746f"),He=t("d44e"),Fe=t("69f3"),De=t("b727").forEach,Ke=ye("hidden"),je="Symbol",ot="prototype",yt=Oe("toPrimitive"),Et=Fe.set,Bt=Fe.getterFor(je),Ye=Object[ot],Xe=r.Symbol,pt=u("JSON","stringify"),_e=q.f,Tt=j.f,In=W.f,Qn=H.f,xt=ae("symbols"),Nt=ae("op-symbols"),en=ae("string-to-symbol-registry"),dn=ae("symbol-to-string-registry"),un=ae("wks"),cn=r.QObject,fn=!cn||!cn[ot]||!cn[ot].findChild,vn=m&&S(function(){return Z(Tt({},"a",{get:function(){return Tt(this,"a",{value:7}).a}})).a!=7})?function(fe,ne,se){var be=_e(Ye,ne);be&&delete Ye[ne],Tt(fe,ne,se),be&&fe!==Ye&&Tt(Ye,ne,be)}:Tt,pn=function(fe,ne){var se=xt[fe]=Z(Xe[ot]);return Et(se,{type:je,tag:fe,description:ne}),m||(se.description=ne),se},A=b?function(fe){return typeof fe=="symbol"}:function(fe){return Object(fe)instanceof Xe},C=function(ne,se,be){ne===Ye&&C(Nt,se,be),O(ne);var ie=N(se,!0);return O(be),E(xt,ie)?(be.enumerable?(E(ne,Ke)&&ne[Ke][ie]&&(ne[Ke][ie]=!1),be=Z(be,{enumerable:M(0,!1)})):(E(ne,Ke)||Tt(ne,Ke,M(1,{})),ne[Ke][ie]=!0),vn(ne,ie,be)):Tt(ne,ie,be)},V=function(ne,se){O(ne);var be=P(se),ie=J(be).concat(Ie(be));return De(ie,function(ut){(!m||te.call(be,ut))&&C(ne,ut,be[ut])}),ne},F=function(ne,se){return se===void 0?Z(ne):V(Z(ne),se)},te=function(ne){var se=N(ne,!0),be=Qn.call(this,se);return this===Ye&&E(xt,se)&&!E(Nt,se)?!1:be||!E(this,se)||!E(xt,se)||E(this,Ke)&&this[Ke][se]?be:!0},de=function(ne,se){var be=P(ne),ie=N(se,!0);if(!(be===Ye&&E(xt,ie)&&!E(Nt,ie))){var ut=_e(be,ie);return ut&&E(xt,ie)&&!(E(be,Ke)&&be[Ke][ie])&&(ut.enumerable=!0),ut}},pe=function(ne){var se=In(P(ne)),be=[];return De(se,function(ie){!E(xt,ie)&&!E(ee,ie)&&be.push(ie)}),be},Ie=function(ne){var se=ne===Ye,be=In(se?Nt:P(ne)),ie=[];return De(be,function(ut){E(xt,ut)&&(!se||E(Ye,ut))&&ie.push(xt[ut])}),ie};if(h||(Xe=function(){if(this instanceof Xe)throw TypeError("Symbol is not a constructor");var ne=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),se=qe(ne),be=function(ie){this===Ye&&be.call(Nt,ie),E(this,Ke)&&E(this[Ke],se)&&(this[Ke][se]=!1),vn(this,se,M(1,ie))};return m&&fn&&vn(Ye,se,{configurable:!0,set:be}),pn(se,ne)},Y(Xe[ot],"toString",function(){return Bt(this).tag}),Y(Xe,"withoutSetter",function(fe){return pn(qe(fe),fe)}),H.f=te,j.f=C,q.f=de,K.f=W.f=pe,_.f=Ie,Ue.f=function(fe){return pn(Oe(fe),fe)},m&&(Tt(Xe[ot],"description",{configurable:!0,get:function(){return Bt(this).description}}),g||Y(Ye,"propertyIsEnumerable",te,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Xe}),De(J(un),function(fe){$e(fe)}),a({target:je,stat:!0,forced:!h},{for:function(fe){var ne=String(fe);if(E(en,ne))return en[ne];var se=Xe(ne);return en[ne]=se,dn[se]=ne,se},keyFor:function(ne){if(!A(ne))throw TypeError(ne+" is not a symbol");if(E(dn,ne))return dn[ne]},useSetter:function(){fn=!0},useSimple:function(){fn=!1}}),a({target:"Object",stat:!0,forced:!h,sham:!m},{create:F,defineProperty:C,defineProperties:V,getOwnPropertyDescriptor:de}),a({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:pe,getOwnPropertySymbols:Ie}),a({target:"Object",stat:!0,forced:S(function(){_.f(1)})},{getOwnPropertySymbols:function(ne){return _.f(k(ne))}}),pt){var Be=!h||S(function(){var fe=Xe();return pt([fe])!="[null]"||pt({a:fe})!="{}"||pt(Object(fe))!="{}"});a({target:"JSON",stat:!0,forced:Be},{stringify:function(ne,se,be){for(var ie=[ne],ut=1,Gn;arguments.length>ut;)ie.push(arguments[ut++]);if(Gn=se,!(!w(se)&&ne===void 0||A(ne)))return I(se)||(se=function(ii,mn){if(typeof Gn=="function"&&(mn=Gn.call(this,ii,mn)),!A(mn))return mn}),ie[1]=se,pt.apply(null,ie)}})}Xe[ot][yt]||ue(Xe[ot],yt,Xe[ot].valueOf),He(Xe,je),ee[Ke]=!0},a630:function(n,c,t){var a=t("23e7"),r=t("4df4"),u=t("1c7e"),g=!u(function(m){Array.from(m)});a({target:"Array",stat:!0,forced:g},{from:r})},a640:function(n,c,t){var a=t("d039");n.exports=function(r,u){var g=[][r];return!!g&&a(function(){g.call(null,u||function(){throw 1},1)})}},a691:function(n,c){var t=Math.ceil,a=Math.floor;n.exports=function(r){return isNaN(r=+r)?0:(r>0?a:t)(r)}},ab13:function(n,c,t){var a=t("b622"),r=a("match");n.exports=function(u){var g=/./;try{"/./"[u](g)}catch{try{return g[r]=!1,"/./"[u](g)}catch{}}return!1}},ac1f:function(n,c,t){var a=t("23e7"),r=t("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},ad6d:function(n,c,t){var a=t("825a");n.exports=function(){var r=a(this),u="";return r.global&&(u+="g"),r.ignoreCase&&(u+="i"),r.multiline&&(u+="m"),r.dotAll&&(u+="s"),r.unicode&&(u+="u"),r.sticky&&(u+="y"),u}},ae40:function(n,c,t){var a=t("83ab"),r=t("d039"),u=t("5135"),g=Object.defineProperty,m={},h=function(b){throw b};n.exports=function(b,S){if(u(m,b))return m[b];S||(S={});var E=[][b],I=u(S,"ACCESSORS")?S.ACCESSORS:!1,w=u(S,0)?S[0]:h,O=u(S,1)?S[1]:void 0;return m[b]=!!E&&!r(function(){if(I&&!a)return!0;var k={length:-1};I?g(k,1,{enumerable:!0,get:h}):k[1]=1,E.call(k,w,O)})}},ae93:function(n,c,t){var a=t("e163"),r=t("9112"),u=t("5135"),g=t("b622"),m=t("c430"),h=g("iterator"),b=!1,S=function(){return this},E,I,w;[].keys&&(w=[].keys(),"next"in w?(I=a(a(w)),I!==Object.prototype&&(E=I)):b=!0),E==null&&(E={}),!m&&!u(E,h)&&r(E,h,S),n.exports={IteratorPrototype:E,BUGGY_SAFARI_ITERATORS:b}},b041:function(n,c,t){var a=t("00ee"),r=t("f5df");n.exports=a?{}.toString:function(){return"[object "+r(this)+"]"}},b0c0:function(n,c,t){var a=t("83ab"),r=t("9bf2").f,u=Function.prototype,g=u.toString,m=/^\s*function ([^ (]*)/,h="name";a&&!(h in u)&&r(u,h,{configurable:!0,get:function(){try{return g.call(this).match(m)[1]}catch{return""}}})},b622:function(n,c,t){var a=t("da84"),r=t("5692"),u=t("5135"),g=t("90e3"),m=t("4930"),h=t("fdbf"),b=r("wks"),S=a.Symbol,E=h?S:S&&S.withoutSetter||g;n.exports=function(I){return u(b,I)||(m&&u(S,I)?b[I]=S[I]:b[I]=E("Symbol."+I)),b[I]}},b64b:function(n,c,t){var a=t("23e7"),r=t("7b0b"),u=t("df75"),g=t("d039"),m=g(function(){u(1)});a({target:"Object",stat:!0,forced:m},{keys:function(b){return u(r(b))}})},b727:function(n,c,t){var a=t("0366"),r=t("44ad"),u=t("7b0b"),g=t("50c4"),m=t("65f0"),h=[].push,b=function(S){var E=S==1,I=S==2,w=S==3,O=S==4,k=S==6,P=S==5||k;return function(N,M,Z,J){for(var K=u(N),W=r(K),_=a(M,Z,3),q=g(W.length),j=0,H=J||m,ue=E?H(N,q):I?H(N,0):void 0,Y,ae;q>j;j++)if((P||j in W)&&(Y=W[j],ae=_(Y,j,K),S)){if(E)ue[j]=ae;else if(ae)switch(S){case 3:return!0;case 5:return Y;case 6:return j;case 2:h.call(ue,Y)}else if(O)return!1}return k?-1:w||O?O:ue}};n.exports={forEach:b(0),map:b(1),filter:b(2),some:b(3),every:b(4),find:b(5),findIndex:b(6)}},c04e:function(n,c,t){var a=t("861d");n.exports=function(r,u){if(!a(r))return r;var g,m;if(u&&typeof(g=r.toString)=="function"&&!a(m=g.call(r))||typeof(g=r.valueOf)=="function"&&!a(m=g.call(r))||!u&&typeof(g=r.toString)=="function"&&!a(m=g.call(r)))return m;throw TypeError("Can't convert object to primitive value")}},c430:function(n,c){n.exports=!1},c6b6:function(n,c){var t={}.toString;n.exports=function(a){return t.call(a).slice(8,-1)}},c6cd:function(n,c,t){var a=t("da84"),r=t("ce4e"),u="__core-js_shared__",g=a[u]||r(u,{});n.exports=g},c740:function(n,c,t){var a=t("23e7"),r=t("b727").findIndex,u=t("44d2"),g=t("ae40"),m="findIndex",h=!0,b=g(m);m in[]&&Array(1)[m](function(){h=!1}),a({target:"Array",proto:!0,forced:h||!b},{findIndex:function(E){return r(this,E,arguments.length>1?arguments[1]:void 0)}}),u(m)},c8ba:function(n,c){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}n.exports=t},c975:function(n,c,t){var a=t("23e7"),r=t("4d64").indexOf,u=t("a640"),g=t("ae40"),m=[].indexOf,h=!!m&&1/[1].indexOf(1,-0)<0,b=u("indexOf"),S=g("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:h||!b||!S},{indexOf:function(I){return h?m.apply(this,arguments)||0:r(this,I,arguments.length>1?arguments[1]:void 0)}})},ca84:function(n,c,t){var a=t("5135"),r=t("fc6a"),u=t("4d64").indexOf,g=t("d012");n.exports=function(m,h){var b=r(m),S=0,E=[],I;for(I in b)!a(g,I)&&a(b,I)&&E.push(I);for(;h.length>S;)a(b,I=h[S++])&&(~u(E,I)||E.push(I));return E}},caad:function(n,c,t){var a=t("23e7"),r=t("4d64").includes,u=t("44d2"),g=t("ae40"),m=g("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!m},{includes:function(b){return r(this,b,arguments.length>1?arguments[1]:void 0)}}),u("includes")},cc12:function(n,c,t){var a=t("da84"),r=t("861d"),u=a.document,g=r(u)&&r(u.createElement);n.exports=function(m){return g?u.createElement(m):{}}},ce4e:function(n,c,t){var a=t("da84"),r=t("9112");n.exports=function(u,g){try{r(a,u,g)}catch{a[u]=g}return g}},d012:function(n,c){n.exports={}},d039:function(n,c){n.exports=function(t){try{return!!t()}catch{return!0}}},d066:function(n,c,t){var a=t("428f"),r=t("da84"),u=function(g){return typeof g=="function"?g:void 0};n.exports=function(g,m){return arguments.length<2?u(a[g])||u(r[g]):a[g]&&a[g][m]||r[g]&&r[g][m]}},d1e7:function(n,c,t){var a={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,u=r&&!a.call({1:2},1);c.f=u?function(m){var h=r(this,m);return!!h&&h.enumerable}:a},d28b:function(n,c,t){var a=t("746f");a("iterator")},d2bb:function(n,c,t){var a=t("825a"),r=t("3bbe");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,g={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(g,[]),u=g instanceof Array}catch{}return function(b,S){return a(b),r(S),u?m.call(b,S):b.__proto__=S,b}}():void 0)},d3b7:function(n,c,t){var a=t("00ee"),r=t("6eeb"),u=t("b041");a||r(Object.prototype,"toString",u,{unsafe:!0})},d44e:function(n,c,t){var a=t("9bf2").f,r=t("5135"),u=t("b622"),g=u("toStringTag");n.exports=function(m,h,b){m&&!r(m=b?m:m.prototype,g)&&a(m,g,{configurable:!0,value:h})}},d58f:function(n,c,t){var a=t("1c0b"),r=t("7b0b"),u=t("44ad"),g=t("50c4"),m=function(h){return function(b,S,E,I){a(S);var w=r(b),O=u(w),k=g(w.length),P=h?k-1:0,N=h?-1:1;if(E<2)for(;;){if(P in O){I=O[P],P+=N;break}if(P+=N,h?P<0:k<=P)throw TypeError("Reduce of empty array with no initial value")}for(;h?P>=0:k>P;P+=N)P in O&&(I=S(I,O[P],P,w));return I}};n.exports={left:m(!1),right:m(!0)}},d784:function(n,c,t){t("ac1f");var a=t("6eeb"),r=t("d039"),u=t("b622"),g=t("9263"),m=t("9112"),h=u("species"),b=!r(function(){var O=/./;return O.exec=function(){var k=[];return k.groups={a:"7"},k},"".replace(O,"$<a>")!=="7"}),S=function(){return"a".replace(/./,"$0")==="$0"}(),E=u("replace"),I=function(){return/./[E]?/./[E]("a","$0")==="":!1}(),w=!r(function(){var O=/(?:)/,k=O.exec;O.exec=function(){return k.apply(this,arguments)};var P="ab".split(O);return P.length!==2||P[0]!=="a"||P[1]!=="b"});n.exports=function(O,k,P,N){var M=u(O),Z=!r(function(){var j={};return j[M]=function(){return 7},""[O](j)!=7}),J=Z&&!r(function(){var j=!1,H=/a/;return O==="split"&&(H={},H.constructor={},H.constructor[h]=function(){return H},H.flags="",H[M]=/./[M]),H.exec=function(){return j=!0,null},H[M](""),!j});if(!Z||!J||O==="replace"&&!(b&&S&&!I)||O==="split"&&!w){var K=/./[M],W=P(M,""[O],function(j,H,ue,Y,ae){return H.exec===g?Z&&!ae?{done:!0,value:K.call(H,ue,Y)}:{done:!0,value:j.call(ue,H,Y)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:I}),_=W[0],q=W[1];a(String.prototype,O,_),a(RegExp.prototype,M,k==2?function(j,H){return q.call(j,this,H)}:function(j){return q.call(j,this)})}N&&m(RegExp.prototype[M],"sham",!0)}},d81d:function(n,c,t){var a=t("23e7"),r=t("b727").map,u=t("1dde"),g=t("ae40"),m=u("map"),h=g("map");a({target:"Array",proto:!0,forced:!m||!h},{map:function(S){return r(this,S,arguments.length>1?arguments[1]:void 0)}})},da84:function(n,c,t){(function(a){var r=function(u){return u&&u.Math==Math&&u};n.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof a=="object"&&a)||Function("return this")()}).call(this,t("c8ba"))},dbb4:function(n,c,t){var a=t("23e7"),r=t("83ab"),u=t("56ef"),g=t("fc6a"),m=t("06cf"),h=t("8418");a({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(S){for(var E=g(S),I=m.f,w=u(E),O={},k=0,P,N;w.length>k;)N=I(E,P=w[k++]),N!==void 0&&h(O,P,N);return O}})},dbf1:function(n,c,t){(function(a){t.d(c,"a",function(){return u});function r(){return typeof window<"u"?window.console:a.console}var u=r()}).call(this,t("c8ba"))},ddb0:function(n,c,t){var a=t("da84"),r=t("fdbc"),u=t("e260"),g=t("9112"),m=t("b622"),h=m("iterator"),b=m("toStringTag"),S=u.values;for(var E in r){var I=a[E],w=I&&I.prototype;if(w){if(w[h]!==S)try{g(w,h,S)}catch{w[h]=S}if(w[b]||g(w,b,E),r[E]){for(var O in u)if(w[O]!==u[O])try{g(w,O,u[O])}catch{w[O]=u[O]}}}}},df75:function(n,c,t){var a=t("ca84"),r=t("7839");n.exports=Object.keys||function(g){return a(g,r)}},e01a:function(n,c,t){var a=t("23e7"),r=t("83ab"),u=t("da84"),g=t("5135"),m=t("861d"),h=t("9bf2").f,b=t("e893"),S=u.Symbol;if(r&&typeof S=="function"&&(!("description"in S.prototype)||S().description!==void 0)){var E={},I=function(){var M=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Z=this instanceof I?new S(M):M===void 0?S():S(M);return M===""&&(E[Z]=!0),Z};b(I,S);var w=I.prototype=S.prototype;w.constructor=I;var O=w.toString,k=String(S("test"))=="Symbol(test)",P=/^Symbol\((.*)\)[^)]+$/;h(w,"description",{configurable:!0,get:function(){var M=m(this)?this.valueOf():this,Z=O.call(M);if(g(E,M))return"";var J=k?Z.slice(7,-1):Z.replace(P,"$1");return J===""?void 0:J}}),a({global:!0,forced:!0},{Symbol:I})}},e163:function(n,c,t){var a=t("5135"),r=t("7b0b"),u=t("f772"),g=t("e177"),m=u("IE_PROTO"),h=Object.prototype;n.exports=g?Object.getPrototypeOf:function(b){return b=r(b),a(b,m)?b[m]:typeof b.constructor=="function"&&b instanceof b.constructor?b.constructor.prototype:b instanceof Object?h:null}},e177:function(n,c,t){var a=t("d039");n.exports=!a(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})},e260:function(n,c,t){var a=t("fc6a"),r=t("44d2"),u=t("3f8c"),g=t("69f3"),m=t("7dd0"),h="Array Iterator",b=g.set,S=g.getterFor(h);n.exports=m(Array,"Array",function(E,I){b(this,{type:h,target:a(E),index:0,kind:I})},function(){var E=S(this),I=E.target,w=E.kind,O=E.index++;return!I||O>=I.length?(E.target=void 0,{value:void 0,done:!0}):w=="keys"?{value:O,done:!1}:w=="values"?{value:I[O],done:!1}:{value:[O,I[O]],done:!1}},"values"),u.Arguments=u.Array,r("keys"),r("values"),r("entries")},e439:function(n,c,t){var a=t("23e7"),r=t("d039"),u=t("fc6a"),g=t("06cf").f,m=t("83ab"),h=r(function(){g(1)}),b=!m||h;a({target:"Object",stat:!0,forced:b,sham:!m},{getOwnPropertyDescriptor:function(E,I){return g(u(E),I)}})},e538:function(n,c,t){var a=t("b622");c.f=a},e893:function(n,c,t){var a=t("5135"),r=t("56ef"),u=t("06cf"),g=t("9bf2");n.exports=function(m,h){for(var b=r(h),S=g.f,E=u.f,I=0;I<b.length;I++){var w=b[I];a(m,w)||S(m,w,E(h,w))}}},e8b5:function(n,c,t){var a=t("c6b6");n.exports=Array.isArray||function(u){return a(u)=="Array"}},e95a:function(n,c,t){var a=t("b622"),r=t("3f8c"),u=a("iterator"),g=Array.prototype;n.exports=function(m){return m!==void 0&&(r.Array===m||g[u]===m)}},f5df:function(n,c,t){var a=t("00ee"),r=t("c6b6"),u=t("b622"),g=u("toStringTag"),m=r(function(){return arguments}())=="Arguments",h=function(b,S){try{return b[S]}catch{}};n.exports=a?r:function(b){var S,E,I;return b===void 0?"Undefined":b===null?"Null":typeof(E=h(S=Object(b),g))=="string"?E:m?r(S):(I=r(S))=="Object"&&typeof S.callee=="function"?"Arguments":I}},f772:function(n,c,t){var a=t("5692"),r=t("90e3"),u=a("keys");n.exports=function(g){return u[g]||(u[g]=r(g))}},fb15:function(n,c,t){if(t.r(c),typeof window<"u"){var a=window.document.currentScript;{var r=t("8875");a=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r})}var u=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(t.p=u[1])}t("99af"),t("4de4"),t("4160"),t("c975"),t("d81d"),t("a434"),t("159b"),t("a4d3"),t("e439"),t("dbb4"),t("b64b");function g(A,C,V){return C in A?Object.defineProperty(A,C,{value:V,enumerable:!0,configurable:!0,writable:!0}):A[C]=V,A}function m(A,C){var V=Object.keys(A);if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(A);C&&(F=F.filter(function(te){return Object.getOwnPropertyDescriptor(A,te).enumerable})),V.push.apply(V,F)}return V}function h(A){for(var C=1;C<arguments.length;C++){var V=arguments[C]!=null?arguments[C]:{};C%2?m(Object(V),!0).forEach(function(F){g(A,F,V[F])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(V)):m(Object(V)).forEach(function(F){Object.defineProperty(A,F,Object.getOwnPropertyDescriptor(V,F))})}return A}function b(A){if(Array.isArray(A))return A}t("e01a"),t("d28b"),t("e260"),t("d3b7"),t("3ca3"),t("ddb0");function S(A,C){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(A)))){var V=[],F=!0,te=!1,de=void 0;try{for(var pe=A[Symbol.iterator](),Ie;!(F=(Ie=pe.next()).done)&&(V.push(Ie.value),!(C&&V.length===C));F=!0);}catch(Be){te=!0,de=Be}finally{try{!F&&pe.return!=null&&pe.return()}finally{if(te)throw de}}return V}}t("a630"),t("fb6a"),t("b0c0"),t("25f0");function E(A,C){(C==null||C>A.length)&&(C=A.length);for(var V=0,F=new Array(C);V<C;V++)F[V]=A[V];return F}function I(A,C){if(A){if(typeof A=="string")return E(A,C);var V=Object.prototype.toString.call(A).slice(8,-1);if(V==="Object"&&A.constructor&&(V=A.constructor.name),V==="Map"||V==="Set")return Array.from(A);if(V==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(V))return E(A,C)}}function w(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function O(A,C){return b(A)||S(A,C)||I(A,C)||w()}function k(A){if(Array.isArray(A))return E(A)}function P(A){if(typeof Symbol<"u"&&Symbol.iterator in Object(A))return Array.from(A)}function N(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function M(A){return k(A)||P(A)||I(A)||N()}var Z=t("a352"),J=t.n(Z);function K(A){A.parentElement!==null&&A.parentElement.removeChild(A)}function W(A,C,V){var F=V===0?A.children[0]:A.children[V-1].nextSibling;A.insertBefore(C,F)}var _=t("dbf1");t("13d5"),t("4fad"),t("ac1f"),t("5319");function q(A){var C=Object.create(null);return function(F){var te=C[F];return te||(C[F]=A(F))}}var j=/-(\w)/g,H=q(function(A){return A.replace(j,function(C,V){return V.toUpperCase()})});t("5db7"),t("73d9");var ue=["Start","Add","Remove","Update","End"],Y=["Choose","Unchoose","Sort","Filter","Clone"],ae=["Move"],ye=[ae,ue,Y].flatMap(function(A){return A}).map(function(A){return"on".concat(A)}),ee={manage:ae,manageAndEmit:ue,emit:Y};function qe(A){return ye.indexOf(A)!==-1}t("caad"),t("2ca0");var Oe=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function Ue(A){return Oe.includes(A)}function $e(A){return["transition-group","TransitionGroup"].includes(A)}function He(A){return["id","class","role","style"].includes(A)||A.startsWith("data-")||A.startsWith("aria-")||A.startsWith("on")}function Fe(A){return A.reduce(function(C,V){var F=O(V,2),te=F[0],de=F[1];return C[te]=de,C},{})}function De(A){var C=A.$attrs,V=A.componentData,F=V===void 0?{}:V,te=Fe(Object.entries(C).filter(function(de){var pe=O(de,2),Ie=pe[0];return pe[1],He(Ie)}));return h(h({},te),F)}function Ke(A){var C=A.$attrs,V=A.callBackBuilder,F=Fe(je(C));Object.entries(V).forEach(function(de){var pe=O(de,2),Ie=pe[0],Be=pe[1];ee[Ie].forEach(function(fe){F["on".concat(fe)]=Be(fe)})});var te="[data-draggable]".concat(F.draggable||"");return h(h({},F),{},{draggable:te})}function je(A){return Object.entries(A).filter(function(C){var V=O(C,2),F=V[0];return V[1],!He(F)}).map(function(C){var V=O(C,2),F=V[0],te=V[1];return[H(F),te]}).filter(function(C){var V=O(C,2),F=V[0];return V[1],!qe(F)})}t("c740");function ot(A,C){if(!(A instanceof C))throw new TypeError("Cannot call a class as a function")}function yt(A,C){for(var V=0;V<C.length;V++){var F=C[V];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(A,F.key,F)}}function Et(A,C,V){return C&&yt(A.prototype,C),A}var Bt=function(C){var V=C.el;return V},Ye=function(C,V){return C.__draggable_context=V},Xe=function(C){return C.__draggable_context},pt=function(){function A(C){var V=C.nodes,F=V.header,te=V.default,de=V.footer,pe=C.root,Ie=C.realList;ot(this,A),this.defaultNodes=te,this.children=[].concat(M(F),M(te),M(de)),this.externalComponent=pe.externalComponent,this.rootTransition=pe.transition,this.tag=pe.tag,this.realList=Ie}return Et(A,[{key:"render",value:function(V,F){var te=this.tag,de=this.children,pe=this._isRootComponent,Ie=pe?{default:function(){return de}}:de;return V(te,F,Ie)}},{key:"updated",value:function(){var V=this.defaultNodes,F=this.realList;V.forEach(function(te,de){Ye(Bt(te),{element:F[de],index:de})})}},{key:"getUnderlyingVm",value:function(V){return Xe(V)}},{key:"getVmIndexFromDomIndex",value:function(V,F){var te=this.defaultNodes,de=te.length,pe=F.children,Ie=pe.item(V);if(Ie===null)return de;var Be=Xe(Ie);if(Be)return Be.index;if(de===0)return 0;var fe=Bt(te[0]),ne=M(pe).findIndex(function(se){return se===fe});return V<ne?0:de}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),A}(),_e=t("8bbf");function Tt(A,C){var V=A[C];return V?V():[]}function In(A){var C=A.$slots,V=A.realList,F=A.getKey,te=V||[],de=["header","footer"].map(function(se){return Tt(C,se)}),pe=O(de,2),Ie=pe[0],Be=pe[1],fe=C.item;if(!fe)throw new Error("draggable element must have an item slot");var ne=te.flatMap(function(se,be){return fe({element:se,index:be}).map(function(ie){return ie.key=F(se),ie.props=h(h({},ie.props||{}),{},{"data-draggable":!0}),ie})});if(ne.length!==te.length)throw new Error("Item slot must have only one child");return{header:Ie,footer:Be,default:ne}}function Qn(A){var C=$e(A),V=!Ue(A)&&!C;return{transition:C,externalComponent:V,tag:V?Object(_e.resolveComponent)(A):C?_e.TransitionGroup:A}}function xt(A){var C=A.$slots,V=A.tag,F=A.realList,te=A.getKey,de=In({$slots:C,realList:F,getKey:te}),pe=Qn(V);return new pt({nodes:de,root:pe,realList:F})}function Nt(A,C){var V=this;Object(_e.nextTick)(function(){return V.$emit(A.toLowerCase(),C)})}function en(A){var C=this;return function(V,F){if(C.realList!==null)return C["onDrag".concat(A)](V,F)}}function dn(A){var C=this,V=en.call(this,A);return function(F,te){V.call(C,F,te),Nt.call(C,A,F)}}var un=null,cn={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(C){return C}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},fn=["update:modelValue","change"].concat(M([].concat(M(ee.manageAndEmit),M(ee.emit)).map(function(A){return A.toLowerCase()}))),vn=Object(_e.defineComponent)({name:"draggable",inheritAttrs:!1,props:cn,emits:fn,data:function(){return{error:!1}},render:function(){try{this.error=!1;var C=this.$slots,V=this.$attrs,F=this.tag,te=this.componentData,de=this.realList,pe=this.getKey,Ie=xt({$slots:C,tag:F,realList:de,getKey:pe});this.componentStructure=Ie;var Be=De({$attrs:V,componentData:te});return Ie.render(_e.h,Be)}catch(fe){return this.error=!0,Object(_e.h)("pre",{style:{color:"red"}},fe.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&_.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var C=this;if(!this.error){var V=this.$attrs,F=this.$el,te=this.componentStructure;te.updated();var de=Ke({$attrs:V,callBackBuilder:{manageAndEmit:function(Be){return dn.call(C,Be)},emit:function(Be){return Nt.bind(C,Be)},manage:function(Be){return en.call(C,Be)}}}),pe=F.nodeType===1?F:F.parentElement;this._sortable=new J.a(pe,de),this.targetDomElement=pe,pe.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var C=this.list;return C||this.modelValue},getKey:function(){var C=this.itemKey;return typeof C=="function"?C:function(V){return V[C]}}},watch:{$attrs:{handler:function(C){var V=this._sortable;V&&je(C).forEach(function(F){var te=O(F,2),de=te[0],pe=te[1];V.option(de,pe)})},deep:!0}},methods:{getUnderlyingVm:function(C){return this.componentStructure.getUnderlyingVm(C)||null},getUnderlyingPotencialDraggableComponent:function(C){return C.__draggable_component__},emitChanges:function(C){var V=this;Object(_e.nextTick)(function(){return V.$emit("change",C)})},alterList:function(C){if(this.list){C(this.list);return}var V=M(this.modelValue);C(V),this.$emit("update:modelValue",V)},spliceList:function(){var C=arguments,V=function(te){return te.splice.apply(te,M(C))};this.alterList(V)},updatePosition:function(C,V){var F=function(de){return de.splice(V,0,de.splice(C,1)[0])};this.alterList(F)},getRelatedContextFromMoveEvent:function(C){var V=C.to,F=C.related,te=this.getUnderlyingPotencialDraggableComponent(V);if(!te)return{component:te};var de=te.realList,pe={list:de,component:te};if(V!==F&&de){var Ie=te.getUnderlyingVm(F)||{};return h(h({},Ie),pe)}return pe},getVmIndexFromDomIndex:function(C){return this.componentStructure.getVmIndexFromDomIndex(C,this.targetDomElement)},onDragStart:function(C){this.context=this.getUnderlyingVm(C.item),C.item._underlying_vm_=this.clone(this.context.element),un=C.item},onDragAdd:function(C){var V=C.item._underlying_vm_;if(V!==void 0){K(C.item);var F=this.getVmIndexFromDomIndex(C.newIndex);this.spliceList(F,0,V);var te={element:V,newIndex:F};this.emitChanges({added:te})}},onDragRemove:function(C){if(W(this.$el,C.item,C.oldIndex),C.pullMode==="clone"){K(C.clone);return}var V=this.context,F=V.index,te=V.element;this.spliceList(F,1);var de={element:te,oldIndex:F};this.emitChanges({removed:de})},onDragUpdate:function(C){K(C.item),W(C.from,C.item,C.oldIndex);var V=this.context.index,F=this.getVmIndexFromDomIndex(C.newIndex);this.updatePosition(V,F);var te={element:this.context.element,oldIndex:V,newIndex:F};this.emitChanges({moved:te})},computeFutureIndex:function(C,V){if(!C.element)return 0;var F=M(V.to.children).filter(function(Ie){return Ie.style.display!=="none"}),te=F.indexOf(V.related),de=C.component.getVmIndexFromDomIndex(te),pe=F.indexOf(un)!==-1;return pe||!V.willInsertAfter?de:de+1},onDragMove:function(C,V){var F=this.move,te=this.realList;if(!F||!te)return!0;var de=this.getRelatedContextFromMoveEvent(C),pe=this.computeFutureIndex(de,C),Ie=h(h({},this.context),{},{futureIndex:pe}),Be=h(h({},C),{},{relatedContext:de,draggedContext:Ie});return F(Be,V)},onDragEnd:function(){un=null}}}),pn=vn;c.default=pn},fb6a:function(n,c,t){var a=t("23e7"),r=t("861d"),u=t("e8b5"),g=t("23cb"),m=t("50c4"),h=t("fc6a"),b=t("8418"),S=t("b622"),E=t("1dde"),I=t("ae40"),w=E("slice"),O=I("slice",{ACCESSORS:!0,0:0,1:2}),k=S("species"),P=[].slice,N=Math.max;a({target:"Array",proto:!0,forced:!w||!O},{slice:function(Z,J){var K=h(this),W=m(K.length),_=g(Z,W),q=g(J===void 0?W:J,W),j,H,ue;if(u(K)&&(j=K.constructor,typeof j=="function"&&(j===Array||u(j.prototype))?j=void 0:r(j)&&(j=j[k],j===null&&(j=void 0)),j===Array||j===void 0))return P.call(K,_,q);for(H=new(j===void 0?Array:j)(N(q-_,0)),ue=0;_<q;_++,ue++)_ in K&&b(H,ue,K[_]);return H.length=ue,H}})},fc6a:function(n,c,t){var a=t("44ad"),r=t("1d80");n.exports=function(u){return a(r(u))}},fdbc:function(n,c){n.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(n,c,t){var a=t("4930");n.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(Ca);var Zs=Ca.exports;const xa=zl(Zs);function Ia(d,i){["name","gender","phone","id_card","ethnicity","height","weight","current_address","household_location","marital_status","expected_salary"].forEach(n=>{i[n]&&(d[n].visible=i[n].visible,d[n].required=i[n].required)}),["family_member","education","work_experience"].forEach(n=>{i[n]&&(d[n].visible=i[n].visible,Object.keys(i[n].fields).forEach(c=>{d[n].fields[c]&&(d[n].fields[c].visible=i[n].fields[c].visible,d[n].fields[c].required=i[n].fields[c].required)}))})}const qs={class:"position-detail-container"},_s={class:"header-container"},ed={class:"header-actions"},td={class:"detail-content"},nd={class:"detail-item"},od={key:0,class:"detail-value"},id={key:1,class:"title-edit-container"},ad={class:"title-edit-actions"},rd={class:"detail-item"},ld={key:0,class:"detail-value"},sd={key:1,class:"title-edit-container"},dd={class:"title-edit-actions"},ud={class:"detail-item"},cd={key:0,class:"detail-value"},fd={key:1,class:"title-edit-container"},vd={class:"salary-range-container"},pd={class:"title-edit-actions"},md={class:"detail-item"},gd={key:0,class:"detail-value"},hd={key:1,class:"title-edit-container"},yd={class:"title-edit-actions"},bd={class:"detail-item"},Sd={key:0,class:"detail-value"},Ed={key:1,class:"title-edit-container"},xd={class:"title-edit-actions"},Id={class:"detail-item"},Cd={key:0,class:"detail-value"},Ad={key:1,class:"title-edit-container"},wd={class:"title-edit-actions"},Od={class:"detail-item"},Td={class:"detail-value"},Dd={class:"detail-item"},Vd={key:0,class:"detail-value"},Pd={key:1,class:"title-edit-container"},Rd={class:"title-edit-actions"},Ud={class:"detail-item"},Kd=["innerHTML"],Md={key:2,class:"title-edit-container"},kd={class:"title-edit-actions"},Bd={class:"detail-item"},Nd=["innerHTML"],Fd={key:2,class:"title-edit-container"},jd={class:"title-edit-actions"},Ld={class:"detail-item"},Qd={key:0,class:"detail-value"},Gd={key:1,class:"title-edit-container"},zd={class:"title-edit-actions"},$d={class:"status-cards"},Jd={class:"status-switch"},Wd={class:"status-text"},Hd={class:"section-title"},Yd={class:"usage-content"},Xd={key:0,class:"usage-value"},Zd={key:1,class:"title-edit-container"},qd={class:"title-edit-actions"},_d={class:"section-title"},eu={class:"process-steps"},tu={key:0,class:"step-number"},nu={class:"step-content"},ou={class:"step-title"},iu={class:"section-title"},au={class:"process-dialog-content"},ru={key:0,class:"add-process-btn-top"},lu={key:0,class:"process-number"},su={class:"process-edit-content"},du={key:1,class:"process-edit-btn"},uu=["onClick"],cu={class:"dialog-footer"},fu={class:"ai-video-steps"},vu={key:0,class:"ai-video-content","element-loading-text":"正在生成能力标签..."},pu={class:"ai-video-options"},mu={class:"recommended-dimensions"},gu={class:"dimension-grid"},hu={class:"ability-label"},yu={class:"optional-dimensions"},bu={class:"header-row"},Su={class:"right_btn"},Eu={class:"dimension-grid"},xu={class:"ability-label"},Iu={class:"custom-dimensions"},Cu={class:"dimension-form"},Au={class:"dimension-row"},wu={class:"dimension-input"},Ou={class:"dimension-input"},Tu={class:"dimension-actions"},Du={key:1,class:"ai-video-content"},Vu={class:"interview-settings"},Pu={class:"interview-header"},Ru={class:"interview-actions"},Uu={class:"question-switches"},Ku={class:"switch-item"},Mu={class:"switch-item"},ku={class:"interview-duration"},Bu={class:"duration-value"},Nu={class:"interview-content"},Fu={class:"interview-questions-container","element-loading-text":"AI正在生成题目..."},ju={key:0,class:"no-questions"},Lu={key:1,class:"question-list"},Qu={class:"question-card"},Gu={class:"question-header"},zu={class:"question-title"},$u={class:"title-content"},Ju={class:"question-content"},Wu={class:"question-number"},Hu={style:{color:"#0017ab"}},Yu={class:"question-tags"},Xu={key:0,class:"more-tags-indicator"},Zu={class:"question-actions",style:{"margin-top":"0px"}},qu={class:"question-info"},_u={class:"info-item"},ec={key:0,class:"question-actions"},tc={class:"answer-limit"},nc={class:"answer-limit"},oc={key:1,class:"question-actions"},ic={class:"answer-limit"},ac={class:"multi-dimension-questions"},rc={class:"dimension-list"},lc={class:"dimension-header"},sc={class:"dimension-info"},dc={class:"ability-name"},uc=["onClick"],cc={key:2,class:"ai-video-content"},fc={class:"system-settings"},vc={class:"setting-section"},pc={style:{display:"flex","align-items":"flex-start"}},mc={style:{width:"100px",height:"170px","background-color":"#f2f2f2","margin-right":"30px","border-radius":"10px",overflow:"hidden"}},gc=["src"],hc={class:"interviewer-avatars"},yc=["onClick"],bc={class:"avatar-wrapper"},Sc=["src","alt"],Ec=["title"],xc={class:"setting-item",style:{border:"none"}},Ic={class:"setting-options"},Cc={class:"interview-settings"},Ac={class:"setting-item"},wc={class:"setting-item"},Oc={class:"setting-options"},Tc={class:"setting-item"},Dc={class:"drawer-footer"},Vc={class:"video-lecture-form"},Pc={class:"form-item"},Rc={class:"upload-area"},Uc={class:"form-item"},Kc={class:"dialog-footer"},Mc={class:"ai-chat-content"},kc={class:"chat-settings"},Bc={class:"chat-actions"},Nc={class:"chat-questions"},Fc={key:0,class:"empty-questions"},jc={key:1,class:"question-list"},Lc={class:"question-card"},Qc={class:"question-header"},Gc={class:"question-title"},zc={class:"question-number"},$c={class:"question-actions"},Jc={class:"weight-control"},Wc={class:"answer-limit"},Hc={class:"question-info"},Yc={class:"info-item"},Xc={class:"info-item"},Zc={class:"info-item"},qc={class:"drawer-footer"},_c={class:"question-form"},ef={class:"form-item"},tf={class:"form-item"},nf={class:"form-item"},of={class:"competency-config"},af={class:"tag-name"},rf={class:"form-tip"},lf={class:"form-item"},sf={class:"form-item"},df={key:0,class:"form-item"},uf=["onClick"],cf={key:1},ff=["src"],vf={class:"form-item"},pf={class:"form-item"},mf={class:"form-item"},gf={class:"form-item"},hf={class:"dialog-footer"},yf={class:"question-select-content"},bf={class:"custom-tree-node"},Sf={class:"node-label",style:{display:"flex","align-items":"center"}},Ef={class:"ml-2"},xf={class:"dialog-footer"},If={class:"data-collection-form"},Cf={class:"field-config-panel"},Af={class:"field-config-list"},wf={class:"field-config-item"},Of={class:"field-label"},Tf={class:"field-config-item"},Df={class:"field-label"},Vf={class:"field-config-item sub-field"},Pf={class:"field-label"},Rf={class:"field-config-item"},Uf={class:"field-label"},Kf={class:"field-config-item sub-field"},Mf={class:"field-label"},kf={class:"field-config-item"},Bf={class:"field-label"},Nf={class:"field-config-item"},Ff={class:"field-label"},jf={class:"field-config-item sub-field"},Lf={class:"field-label"},Qf={class:"dialog-footer"},Gf={class:"resume-collection-form"},zf={class:"form-item"},$f={class:"dialog-footer"},Jf={class:"code-test-form"},Wf={class:"form-item"},Hf={class:"form-item"},Yf={class:"switch-label"},Xf={class:"form-item"},Zf={class:"test-paper-selector"},qf={key:0,class:"empty-paper"},_f={key:1,class:"selected-paper"},ev={class:"paper-info"},tv={class:"paper-title"},nv={class:"paper-meta"},ov={class:"paper-actions"},iv={class:"dialog-footer"},av={class:"typing-test-form"},rv={class:"form-item"},lv={class:"article-selection"},sv={class:"form-item"},dv={class:"form-item"},uv={class:"time-input-container"},cv={class:"form-item"},fv={class:"upload-area"},vv={class:"form-item"},pv={class:"form-item"},mv={class:"form-item"},gv={class:"form-item"},hv={class:"criteria-options"},yv={class:"dialog-footer"},bv={class:"interview-settings-content"},Sv={class:"settings-section"},Ev={class:"setting-item"},xv={class:"setting-item"},Iv={class:"setting-item"},Cv={class:"setting-item"},Av={class:"settings-section"},wv={class:"setting-item"},Ov={class:"setting-info"},Tv={class:"setting-desc-container"},Dv={class:"setting-item"},Vv={class:"setting-info"},Pv={key:0,class:"setting-desc-container"},Rv={class:"setting-desc"},Uv={key:1,class:"desc-edit-container"},Kv={class:"desc-edit-actions"},Mv={class:"setting-item"},kv={class:"setting-info"},Bv={key:0,class:"setting-desc-container"},Nv={class:"setting-desc"},Fv={key:1,class:"desc-edit-container"},jv={class:"desc-edit-actions"},Lv={class:"setting-item"},Qv={class:"setting-info"},Gv={key:0,class:"setting-desc-container"},zv={class:"setting-desc"},$v={key:1,class:"desc-edit-container"},Jv={class:"desc-edit-actions"},Wv={class:"dialog-footer"},Hv={class:"question-select-content"},Yv={class:"document-box document-left-box"},Xv={class:"search-bar"},Zv={class:"search-inputs"},qv={class:"question-lists"},_v={class:"pagination-container"},ep={class:"dialog-footer"},tp={class:"candidate-questions-form"},np={class:"form-item"},op={class:"form-item"},ip={class:"form-item"},ap={class:"dialog-footer"},rp={class:"dialog-footer"},lp={class:"selected-applications-preview"},sp={class:"preview-title"},dp={class:"preview-footer"},up=Vl({__name:"index",setup(d){const i=Pl(),o=Rl(),s=Q(o.query.id),n=Q(!1),c=Q(!1),t=f=>r.slice(0,f+1).filter(e=>e.visible).length,a=et({title:"",job_category:"",job_type_display:"",city:"",location:[],location_str:"",address_detail:"",benefits:[],requirements:"",job_type:0,salary_range:"",department:"",end_date:"",description:"",work_experience_required:"",education_required:"",competency_tags:[],options:[],status:0}),r=et([{id:6,name:"简历收集",description:"简历收集",active:!0,type:"resume_collection",visible:!0},{id:5,name:"资料收集",description:"资料收集",active:!0,type:"data_collection",visible:!0},{id:2,name:"AI考察",description:"AI考察",active:!0,type:"ai_video",visible:!0},{id:8,name:"综合素质考察",description:"综合素质考察",active:!0,type:"common_sense",visible:!0},{id:9,name:"心理问题",description:"心理问题",active:!0,type:"psychological_problem",visible:!0},{id:7,name:"候选人提问",description:"时长5分钟,最多3个问题",active:!0,type:"candidate_questions",visible:!0,config:{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}},{id:3,name:"已通过",description:"已通过",active:!0,type:"passed",visible:!0},{id:4,name:"已淘汰",description:"已淘汰",active:!1,type:"rejected",visible:!0}]),u=Q(!1),g=[{label:"视频宣讲",value:"video_presentation"},{label:"简历收集",value:"resume_collection"},{label:"资料收集",value:"data_collection"},{label:"AI考察",value:"ai_video"},{label:"综合素质考察",value:"common_sense"},{label:"心理问题",value:"psychological_problem"},{label:"候选人提问",value:"candidate_questions"},{label:"肢体检测",value:"body_detection"}],m=f=>(Dt.value.forEach(e=>{f.id==e.id&&(f.name=e.name)}),f.name),h=Q(!1),b=f=>{rt.pageSize=f,Zt({page:rt.page,limit:rt.pageSize,question_form:lt.question_form}).then(e=>{e.data&&(rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Wt.value=e.data.total)})},S=f=>{rt.page=f,Zt({page:rt.page,limit:rt.pageSize,question_form:lt.question_form}).then(e=>{e.data&&(rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Wt.value=e.data.total)})},E=async()=>{const f=Ft.value.map(e=>e.id);if(console.log("selectedQuestionIds",f),f.length===0){R.warning("请至少选择一个问题");return}try{await fi({position_id:o.query.id,question_id:f,duration:60,tenant_id:Xt.get("tenant_id")});const e=rt.value.filter(T=>T.selected);Ft.value.push(...e),R.success("问题添加成功"),h.value=!1}catch(e){console.error("添加问题失败:",e),e.code===4e3?R.warning("该题目已绑定,请选择其他题目"):R.error("添加问题失败,请重试")}},I=()=>{Rn.value=!0,ia({position_id:o.query.id}).then(f=>{f.data.forEach(e=>{e.selected=!1}),Dt.value=f.data,console.log("res",f),Rn.value=!1}).catch(f=>{console.log("err",f),Rn.value=!1})},w=ds(),O=f=>{if(console.log("地址选择变化:",f),f&&Array.isArray(f)&&f.length>0){const[e,T,x]=f,D=w.find(ve=>ve.code===e);let L;D&&D.children&&(L=D.children.find(ve=>ve.code===T),L&&L.children&&L.children.find(ve=>ve.code===x))}},k=Q(!1),P=Q([]),N=async()=>{k.value=!0;try{const f=await _l({page:1,limit:100,job_id:22,question_form:0});f.data&&f.data.items&&(P.value=f.data.items)}catch(f){console.error("获取职位申请数据失败:",f),R.error("获取职位申请数据失败")}},M=(f,e)=>{},Z=Q(-1),J=Q(!1),K=et({top:"0px",left:"0px"}),W=Q(!1),_=et({qualityControl:!1,teamwork:!1,problemSolving:!1,dataAnalysis:!1,positionMatch:!1,proactiveness:!1,basicAbility:!1,communication:!1,serviceAwareness:!1,xxxx:!1}),q=Q(1),j=Q([{label:"沟通能力",value:"communication",level:"CC",description:"能够清晰、准确地表达想法,善于倾听和理解他人的观点,具备良好的书面和口头表达能力。",expanded:!1,isNew:!0},{label:"团队协作",value:"teamwork",level:"CC",description:"能够与团队成员有效合作,共同完成目标,具备良好的团队精神和协作意识。",expanded:!1,isNew:!1}]);et({min:0,max:100,minScore:0,maxScore:0});const H=f=>{console.log(f)};Q("standard"),Q(!1);const ue=Q(!1),Y=et({title:"",videoFile:null,description:"",broadcastType:"required"}),ae=Q(!1);Q(15),Q(5);const ye=Q(!1),ee=et({id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:"",question_image_url:""}),qe=f=>f.map(e=>e.id),Oe=Q([]),Ue=Q([]),$e=Q([{label:"技术能力",value:"tech"},{label:"管理能力",value:"management"},{label:"沟通能力",value:"communication"},{label:"专业知识",value:"professional"},{label:"个人素质",value:"personal"}]),He=Q([{label:"时间管理",value:"time_management"},{label:"压力处理",value:"pressure_handling"},{label:"团队合作",value:"team_cooperation"},{label:"问题分析",value:"problem_analysis"},{label:"创新思维",value:"innovative_thinking"}]),Fe=()=>{Object.assign(ee,{id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:"",question_image_url:""})},De=async()=>{const f=await jl({page:1,page_size:50});console.log(f),Ue.value=f.data.map(e=>({label:e.title,value:String(e.id)}))},Ke=()=>{ye.value=!1,Fe()},je=Q(!1),ot=et({isRequired:!1,questions:[]});Q([{label:"Q1",value:"q1",isVisible:!0,enableScoring:!1,isRequired:!1},{label:"请问你的毕业院校是哪里?",value:"school",isVisible:!0,enableScoring:!1,isRequired:!0}]);const yt=Q(!1),Et=et({title:"简历收集",isRequired:!0,steps:4}),Bt=()=>{yt.value=!0},Ye=()=>{yt.value=!1,Object.assign(Et,{title:"简历收集",isRequired:!0,steps:4})},Xe=()=>{const f={id:Date.now(),name:Et.title,description:"简历收集",active:!0,type:"resume_collection",config:{...Et},visible:!0};r.splice(Z.value,0,f),console.log(r),yt.value=!1,R.success("简历收集步骤已添加"),Ye()},pt=Q(!1),_e=et({enableScoreQuestions:!1,enableColorBlindQuestions:!1,enableOpenQuestions:!1}),Tt=async()=>{try{const f=o.query.id;if(!f){R.error("职位ID不存在");return}const e=Array.isArray(f)?f[0]:f,T=f,x=await Ll(f);if(x&&x.data){Object.assign(a,x.data),Oe.value=x.data.competency_tags;const D=await Mn(f);D&&D.data&&(Ve.value=D.data.id,D.data.enable_psychological_test!==void 0&&(_e.enableScoreQuestions=D.data.enable_psychological_test),D.data.enable_color_blind_test!==void 0&&(_e.enableColorBlindQuestions=D.data.enable_color_blind_test)),n.value=a.status===1}}catch(f){console.error("获取职位详情失败:",f),R.error("获取职位详情失败")}},In=()=>{i.push("/position/list")},Qn=()=>{i.push("/position/list")},xt=async f=>{const e=o.query.id;try{const T=f?1:0;if(f){const x=await Ql({position_id:e,tenant_id:Xt.get("tenant_id")});if(x.code===2e3){const{is_all_completed:D,total_questions:L}=x.data;if(!D||L<=0){R.warning(`无法开启职位,原因:${L<=0?"当前职位没有设置面试题目":"面试题目视频未全部生成完成"}`),n.value=!f;return}}else{R.error("检查视频状态失败,请稍后重试"),n.value=!f;return}}await At({id:e,status:T}),a.status=T,R.success(`职位已${f?"开启":"关闭"}`)}catch(T){console.error("修改状态失败:",T),R.error("修改状态失败"),n.value=!f}},Nt=()=>{u.value=!0},en=()=>{u.value=!1,R.success("招聘流程已更新")},dn=()=>{u.value=!1},un=(f,e)=>{f.type=="ai_video"&&(W.value=!1),f.type=="ai_chat"&&(ae.value=!1),f.type=="ai_video"&&Pt({id:Ve.value,enable_open_questions:!1}).then(T=>{T.code==2e3?R.success("删除成功"):R.error("删除失败")}),f.type=="psychological_problem"&&Pt({id:Ve.value,enable_scoring_questions:!1}).then(T=>{T.code==2e3?R.success("删除成功"):R.error("删除失败")}),f.type=="common_sense"&&Pt({id:Ve.value,enable_single_choice:!1,enable_multiple_choice:!1,enable_image_choice:!1,enable_fill_blank:!1}).then(T=>{T.code==2e3?R.success("删除成功"):R.error("删除失败")}),f.type=="resume_collection"&&Pt({id:Ve.value,require_resume_upload:!1}).then(T=>{T.code==2e3?R.success("删除成功"):R.error("删除失败")}),r.splice(e,1)},cn=f=>({0:"未发布",1:"已发布",2:"已结束"})[f]||"未知状态",fn=f=>({0:"info",1:"success",2:"danger"})[f]||"info",vn=f=>({0:"全职",1:"兼职",2:"实习",3:"其他"})[f]||"未知",pn=(f,e)=>{Z.value=f,J.value=!0,console.log(f,e);const T=e.currentTarget,x=T.closest(".process-dialog-content");if(x){const D=T.getBoundingClientRect(),L=x.getBoundingClientRect(),ve=D.bottom-L.top+5,z=D.left-L.left;K.top=`${ve}px`,K.left=`${z}px`}e.stopPropagation()},A=async(f,e)=>{if(f==="ai_video"&&Pt({id:Ve.value,enable_open_questions:!0}).then(D=>{D.code==2e3?(r[2].visible=!0,J.value=!1):R.error("更新配置失败")}),f==="common_sense"&&Pt({id:Ve.value,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_fill_blank:!0}).then(D=>{D.code==2e3?(r[3].visible=!0,console.log("recruitmentProcess",r),J.value=!1):R.error("更新配置失败")}),f==="psychological_problem"&&Pt({id:Ve.value,enable_scoring_questions:!0}).then(D=>{D.code==2e3?(r[4].visible=!0,J.value=!1):R.error("更新配置失败")}),f==="post_render_questions"){cl.value=!0,J.value=!1;return}if(f=="resume_collection"&&Pt({id:Ve.value,require_resume_upload:!0}).then(D=>{D.code==2e3?r[0].visible=!0:R.error("删除失败")}),r.find(D=>!!(D.type&&D.type===f||D.name===e))){J.value=!1;return}if(f==="ai_chat"){ae.value=!0,J.value=!1;return}if(f==="video_presentation"){Xe(),J.value=!1;return}if(f==="data_collection"){const D=await Mn(o.query.id);D&&D.data?(Ve.value=D.data.id,Ia(G,D.data.profile_fields_config),je.value=!0,J.value=!1):(je.value=!0,J.value=!1);return}if(f==="resume_collection"){Bt(),J.value=!1;return}if(f==="code_test"){Fa(),J.value=!1;return}if(f==="typing_test"){$n.value=!0,J.value=!1;return}if(f==="candidate_questions"){Un.value=!0,J.value=!1;return}const x={id:Date.now(),name:e,description:e,active:!0,type:f,visible:!0};console.log("newStep",x),r.splice(Z.value,0,x),J.value=!1},C=async()=>{if(q.value<3){if(q.value===1){const f=Dt.value.filter(e=>e.selected);if(f.length===0){R.warning("请至少选择一个胜任力考核维度");return}try{j.value=f.map(e=>({label:e.name,value:e.name.toLowerCase().replace(/\s+/g,"_"),id:e.id,description:e.description||"",level:"CC",expanded:!1,isNew:!0}))}catch(e){console.error("处理胜任力标签失败:",e),R.error("处理胜任力标签失败");return}}if(q.value===2){if(ie.value.length===0){R.warning("请至少添加一个面试题目");return}try{await Dr()}catch(f){console.error("保存题目失败:",f),R.error("保存题目失败");return}}if(q.value===3){const f=Vr();if(!f.isValid){f.messages.forEach(T=>{R.warning(T)});return}const e=Ur();console.log("完整的面试配置:",e)}q.value++}else F()},V=()=>{q.value>1&&q.value--},F=async()=>{var D;if(!mt.value||!mt.value.id){R.warning("请选择面试官形象");return}if(!Mo.value){R.warning("请选择面试官");return}const f={id:mt.value.id,name:mt.value.name,avatar_url:mt.value.avatar_url||mt.value.image},e=li(),T={enableScoreQuestions:_e.enableScoreQuestions,enableColorBlindQuestions:_e.enableColorBlindQuestions};try{if(await At({id:o.query.id,status:0}),a.status=0,n.value=!1,Ve.value==0){const L=await vi({position_id:o.query.id,digital_human_id:mt.value.id});if(L.code==2e3){R.success("配置保存成功");try{const ve={config_id:((D=L.data)==null?void 0:D.id)||L.data};e.beforeStartText&&e.beforeStartText.trim()!==""?(await pi(ve),console.log("开场白生成成功"),W.value=!1,q.value=1,await new Promise(ge=>setTimeout(ge,4e3))):console.log("无开场白配置,跳过开场白生成"),await aa(ve),R.success("视频开始生成")}catch(ve){console.error("获取开场白和视频失败:",ve),R.warning("视频生成中,请稍后")}}else R.error("配置保存失败")}else if((await Pt({id:Ve.value,digital_human_id:mt.value.id})).code==2e3){R.success("配置保存成功");try{const ve={config_id:Ve.value};console.log("开始生成开场白..."),await pi(ve),console.log("开场白生成成功"),W.value=!1,q.value=1,console.log("等待4秒后开始生成视频..."),await kr(4e3),console.log("开始生成视频..."),await aa(ve),console.log("视频生成请求已发送"),R.success("视频开始生成")}catch(ve){console.error("获取开场白和视频失败:",ve),R.warning("视频生成中,请稍后")}}else R.error("配置保存失败")}catch(L){console.error("更新职位状态失败:",L),R.error("更新职位状态失败");return}console.log("保存时选中的面试官:",f),console.log("保存时的面试设置:",e),console.log("保存时的题目设置:",T);const x={id:Date.now(),name:"AI考察",description:`已选择${j.value.length}项能力测评`,active:!0,type:"ai_video",abilities:j.value.map(L=>L.value),interviewer:f,settings:e};r.splice(Z.value,0,x),W.value=!1,q.value=1,R.success("AI考察步骤已添加")},te=()=>{W.value=!1,q.value=1},de=f=>{},pe=()=>{ue.value=!1,Object.assign(Y,{title:"",videoFile:null,description:"",broadcastType:"required"})},Ie=()=>{const f={id:Date.now(),name:Y.title||"视频宣讲",description:Y.description||"视频宣讲",active:!0,type:"video_presentation",config:{...Y}};r.splice(Z.value,0,f),ue.value=!1,R.success("视频宣讲步骤已添加"),pe()},Be=()=>{const f={id:Date.now(),name:"AI实时对话",description:"AI实时对话",active:!0,type:"ai_chat"};r.splice(Z.value,0,f),ae.value=!1,R.success("AI实时对话步骤已添加")},fe=()=>{ae.value=!1},ne=()=>{if(!Pe.title.trim()){R.warning("请输入环节名称");return}if(Pe.duration<=0){R.warning("提问时长必须大于0分钟");return}if(Pe.maxQuestions<=0){R.warning("最多提问数量必须大于0");return}if(uo.value>=0){const f=r[uo.value];f.name=Pe.title,f.description=`时长${Pe.duration}分钟,最多${Pe.maxQuestions}个问题`,f.config={...Pe},R.success("候选人提问环节已更新")}else{const f={id:Date.now(),name:Pe.title,description:`时长${Pe.duration}分钟,最多${Pe.maxQuestions}个问题`,active:!0,type:"candidate_questions",config:{...Pe},visible:!0};r.splice(Z.value,0,f),R.success("候选人提问环节已添加")}Un.value=!1,be()},se=()=>{Un.value=!1,be()},be=()=>{uo.value=-1,Object.assign(Pe,{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]})},ie=Q([]),ut=ui(()=>ie.value.reduce((f,e)=>{switch(e.question_form){case 0:return f+60;case 1:return f+30;case 2:return f+30;default:return f+30}},0)),Gn=ui(()=>{const f=ut.value;if(f<60)return`${f}秒`;const e=Math.floor(f/60),T=f%60;return T>0?`${e}分${T}秒`:`${e}分钟`}),ii=()=>{ye.value=!0},mn=()=>{ko.value={question:"",question_form:0,competency_tags:[],position_types:[],category_id:null,tags:[],recommended_duration:60,status:1,is_required_correct:!1,is_system:!1,sort:1,options:[],scoring_reference:"",blank_answer_template:[]},Gi.value=!1,ao.value=!0},ka=async f=>{try{const e=await us({...f,tenant_id:Xt.get("tenant_id")});if(console.log(f),e&&e.code===2e3){if(R.success("题目创建成功"),console.log(e),e.data){const T={id:e.data.id||e.data,title:f.question,content:f.question,question_form:f.question_form,question_form_name:Mi(f.question_form),scoring_reference:f.scoring_reference||"",competency_tag_info:f.competency_tags||[],competency_tags:f.competency_tags||[],options:f.options||[],enable_follow_up:!1,maxAnswers:1,weight:100,source:"custom_selected",question_image_url:f.question_image_url||""};ie.value.push(T)}ao.value=!1}else R.error("题目创建失败,请重试")}catch(e){console.error("创建题目失败:",e),R.error("题目创建失败,请重试")}},Ki=()=>{ao.value=!1,ko.value={}},Mi=f=>({0:"开放问题",1:"单选题",2:"多选题",3:"色盲题",4:"得分题",5:"判断题",6:"填空题"})[f]||"未知类型",ki=f=>{if(ie.value[f].source!=="ai_generated")console.log(ie.value[f].id),es(ie.value[f].id).then(e=>{if(console.log(e),e.code===2e3){const T={id:e.data.id,content:e.data.question,question_form:e.data.question_form,question_form_name:Mi(e.data.question_form),scoring_reference:e.data.scoring_reference,competency_tag_info:e.data.competency_tag_info,competency_tags:e.data.competency_tags,options:e.data.options.map(x=>({text:x.option_text,is_correct:x.is_correct,sort:x.sort})),enable_follow_up:e.data.enable_follow_up,maxAnswers:e.data.maxAnswers,weight:e.data.weight,question_image_url:e.data.question_image_url};Object.assign(ee,T)}});else{const e=ie.value[f];console.log(e),Object.assign(ee,e),console.log(ie)}ye.value=!0,dl()},Bi=f=>{oa.confirm("确认删除该问题?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{ie.value.splice(f,1),R.success("删除成功")})},Ba=()=>{Object.assign(G,JSON.parse(JSON.stringify($i))),je.value=!1,Object.assign(ot,{isRequired:!1,questions:[]})};Ul(()=>{Tt(),ji(),Kr(),De(),Na()}),Kl(()=>{Qi()});const Na=async()=>{try{const f=o.query.id;if(f){const e=await Mn(f);e&&e.data&&(e.data.enable_psychological_test!==void 0&&(_e.enableScoreQuestions=e.data.enable_psychological_test),e.data.enable_color_blind_test!==void 0&&(_e.enableColorBlindQuestions=e.data.enable_color_blind_test),r[2].visible=e.data.question_form_switches.enable_open_questions,r[3].visible=e.data.question_form_switches.enable_single_choice||e.data.question_form_switches.enable_multiple_choice||e.data.question_form_switches.enable_image_choice||e.data.question_form_switches.enable_fill_blank,r[4].visible=e.data.question_form_switches.enable_scoring_questions,r[0].visible=e.data.require_resume_upload)}}catch(f){console.error("初始化配置状态失败:",f)}},zn=Q(!1),it=et({title:"代码笔试",autoJudge:!0,selectedPaper:null}),Fa=()=>{zn.value=!0},Ni=()=>{zn.value=!1,Object.assign(it,{title:"代码笔试",autoJudge:!0,selectedPaper:null})},ja=()=>{if(!it.selectedPaper){R.warning("请添加考试试卷");return}const f={id:Date.now(),name:it.title,description:`${it.selectedPaper.title}`,active:!0,type:"code_test",config:{...it}};r.splice(Z.value,0,f),zn.value=!1,R.success("代码笔试步骤已添加"),Ni()},La=()=>{it.selectedPaper={id:1,title:"前端开发工程师笔试",questionCount:4,duration:60,difficulty:"中等难度"}},Qa=()=>{R.info("查看试卷功能开发中")},Ga=()=>{R.info("更换试卷功能开发中")},za=()=>{it.selectedPaper=null},$n=Q(!1),tt=et({title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]}),Fi=()=>{$n.value=!1,Object.assign(tt,{title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]})},$a=()=>{const f={id:Date.now(),name:tt.title,description:`打字测试 ${tt.duration}分钟`,active:!0,type:"typing_test",config:{...tt}};r.splice(Z.value,0,f),$n.value=!1,R.success("打字测试步骤已添加"),Fi()},wo=Q(!1),Cn=Q(""),Ja=()=>{Cn.value=a.title,wo.value=!0},Wa=()=>{wo.value=!1},Ha=async()=>{if(!Cn.value.trim()){R.warning("职位名称不能为空");return}try{const f=o.query.id;await At({id:f,title:Cn.value.trim()}),a.title=Cn.value.trim(),wo.value=!1,R.success("职位名称已更新")}catch(f){console.error("更新职位名称失败:",f),R.error("更新职位名称失败")}},Oo=Q(!1),$t=Q(""),Ya=()=>{if(!a.location)$t.value="";else if(Array.isArray(a.location))$t.value=a.location;else if(typeof a.location=="string")try{const e=a.location.replace(/[\[\]']/g,"").split(",").map(L=>L.trim()),T=w.find(L=>L.name===e[0]);let x,D;T&&T.children&&(x=T.children.find(L=>L.name===e[1]),x&&x.children&&(D=x.children.find(L=>L.name===e[2]))),$t.value=[T==null?void 0:T.code,x==null?void 0:x.code,D==null?void 0:D.code].filter(Boolean)}catch(f){console.error("解析地址失败:",f),$t.value=""}Oo.value=!0},Xa=()=>{Oo.value=!1},Za=async()=>{try{const f=o.query.id,e=[];if($t.value&&Array.isArray($t.value)){const[T,x,D]=$t.value,L=w.find(ge=>ge.code===T);let ve,z;L&&(e.push(L.name),L.children&&(ve=L.children.find(ge=>ge.code===x),ve&&(e.push(ve.name),ve.children&&(z=ve.children.find(ge=>ge.code===D),z&&e.push(z.name)))))}await At({id:f,location:e}),a.location=e,Oo.value=!1,R.success("工作地点已更新")}catch(f){console.error("更新工作地点失败:",f),R.error("更新工作地点失败")}},To=Q(!1),Jn=Q("月薪"),gn=Q(0),tn=Q(0),qa=()=>{if(a.salary_range){const f=a.salary_range.split(" ");if(f.length>=2){Jn.value=f[0];const e=f[1].split("-");e.length===2&&(gn.value=parseInt(e[0])||0,tn.value=parseInt(e[1])||0)}}else Jn.value="月薪",gn.value=0,tn.value=0;To.value=!0},_a=()=>{To.value=!1},ai=()=>{gn.value>tn.value&&tn.value!==0&&(gn.value=tn.value)},er=async()=>{try{const f=o.query.id,e=`${Jn.value} ${gn.value}-${tn.value}`;await At({id:f,salary_range:e}),a.salary_range=e,To.value=!1,R.success("职位薪资已更新")}catch(f){console.error("更新职位薪资失败:",f),R.error("更新职位薪资失败")}},Do=Q(!1),Wn=Q(""),tr=()=>{Wn.value=a.work_experience_required||"",Do.value=!0},nr=()=>{Do.value=!1},or=async()=>{try{const f=o.query.id;await At({id:f,work_experience_required:Wn.value}),a.work_experience_required=Wn.value,Do.value=!1,R.success("工作经验已更新")}catch(f){console.error("更新工作经验失败:",f),R.error("更新工作经验失败")}},Vo=Q(!1),Hn=Q(""),ir=()=>{Hn.value=a.education_required||"",Vo.value=!0},ar=()=>{Vo.value=!1},rr=async()=>{try{const f=o.query.id;await At({id:f,education_required:Hn.value}),a.education_required=Hn.value,Vo.value=!1,R.success("学历要求已更新")}catch(f){console.error("更新学历要求失败:",f),R.error("更新学历要求失败")}},Po=Q(!1),Yn=Q(""),lr=()=>{Yn.value=a.department||"",Po.value=!0},sr=()=>{Po.value=!1},dr=async()=>{try{const f=o.query.id;await At({id:f,department:Yn.value.trim()}),a.department=Yn.value.trim(),Po.value=!1,R.success("所属部门已更新")}catch(f){console.error("更新所属部门失败:",f),R.error("更新所属部门失败")}},Ro=Q(!1),Xn=Q(""),ur=()=>{Xn.value=a.end_date||"",Ro.value=!0},cr=()=>{Ro.value=!1},fr=async()=>{try{const f=o.query.id;await At({id:f,end_date:Xn.value}),a.end_date=Xn.value,Ro.value=!1,R.success("截止日期已更新")}catch(f){console.error("更新截止日期失败:",f),R.error("更新截止日期失败")}},Zn=Q(!1),qn=Q(""),vr=()=>{qn.value=a.requirements||"",Zn.value=!0},pr=()=>{Zn.value=!1},mr=async()=>{try{const f=o.query.id;await At({id:f,requirements:qn.value}),a.requirements=qn.value,Zn.value=!1,R.success("职位要求已更新")}catch(f){console.error("更新职位要求失败:",f),R.error("更新职位要求失败")}},_n=Q(!1),eo=Q(""),gr=()=>{eo.value=a.description||"",_n.value=!0},hr=()=>{_n.value=!1},yr=async()=>{try{const f=o.query.id;await At({id:f,description:eo.value}),a.description=eo.value,_n.value=!1,R.success("职位描述已更新")}catch(f){console.error("更新职位描述失败:",f),R.error("更新职位描述失败")}},An=Q(!1),to=Q(0),br=()=>{to.value=a.job_type||0,An.value=!0},Sr=()=>{An.value=!1},Er=async()=>{try{const f=o.query.id;await At({id:f,job_type:to.value}),a.job_type=to.value,An.value=!1,R.success("职位性质已更新")}catch(f){console.error("更新职位性质失败:",f),R.error("更新职位性质失败")}},Dt=Q([]),Uo=Q(!1),wn=Q([]),ji=async()=>{try{const f=await Xl({page:1,pageSize:1e3});f&&f.data}catch(f){console.error("获取能力标签列表失败:",f),R.error("获取能力标签列表失败")}},xr=async()=>{var f;await ji(),wn.value=((f=a.competency_tags)==null?void 0:f.map(e=>e.id))||[],Oe.value.forEach(e=>{e.selected=wn.value.includes(e.id)}),Uo.value=!0},Ir=()=>{Uo.value=!1},Cr=async()=>{try{const f=o.query.id;await At({id:f,competency_tags:wn.value}),a.competency_tags=Oe.value.filter(e=>wn.value.includes(e.id)).map(e=>({id:e.id,name:e.name})),Uo.value=!1,R.success("能力标签已更新")}catch(f){console.error("更新能力标签失败:",f),R.error("更新能力标签失败")}},Ar=Q(null),Ve=Q(0),Ko=async f=>{if(f.name==="资料收集"){const e=await Mn(o.query.id);e&&e.data&&(Ve.value=e.data.id,Ia(G,e.data.profile_fields_config),je.value=!0,J.value=!1);return}if(f.name==="AI考察"){if(f.action==="delete"){await ul();return}const e=await Mn(o.query.id);Rn.value=!0,Ar.value=f,W.value=!0,q.value=1;try{const T=await ra({position_id:o.query.id,page:1,limit:20});T&&T.data&&T.data.dataList&&(ie.value=T.data.dataList.map(D=>(D.content=D.question,D.title=D.question,D.competency_tags=D.competency_tag_info,D.source="ai_generated",D)));const x=await as({position_id:o.query.id,page:1,limit:50});if(console.log("existingTags",x),x&&x.data&&x.data.items.length>0)x.data.items.forEach(D=>{D.importance=1,D.selected=!1,a.latest_competency_snapshot&&Array.isArray(a.latest_competency_snapshot)&&(D.selected=a.latest_competency_snapshot.some(L=>L.id===D.id))}),Dt.value=x.data.items;else{const D=await ia({position_id:o.query.id});if(D&&D.data){D.data.forEach(L=>{L.selected=!1}),Dt.value=D.data;try{await rs({position_id:o.query.id,tags:Dt.value}),R.success("胜任力标签保存成功")}catch(L){console.error("保存胜任力标签失败:",L),R.error("胜任力标签保存失败")}}}e&&e.data&&(Ve.value=e.data.id)}catch(T){console.error("获取或生成能力标签失败:",T),R.error("获取或生成能力标签失败")}finally{Rn.value=!1}Object.keys(_).forEach(T=>{_[T]=!1})}f.name==="综合素质考察"&&Zt({page:1,limit:20}).then(e=>{e.data&&(rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Wt.value=e.data.total,yl(),h.value=!0)}),f.name==="心理问题"&&Zt({page:1,limit:30,question_form:4}).then(e=>{e.data&&(lt.question_form=4,rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Wt.value=e.data.total,El(),Tn.value=!0)})},nn=Q(""),On=Q(""),wr=Q(!1),Or=async()=>{if(!nn.value.trim()){R.warning("请输入维度名称");return}if(Dt.value.find(e=>e.name===nn.value.trim())){R.warning("该维度名称已存在,请重新输入");return}try{const e=await ts({name:nn.value.trim(),description:On.value.trim(),importance:1,weight:0});if(!e.data)throw new Error("创建标签失败");const T=e.data.id;await ns({tag_ids:[T],position_ids:[s.value]});const x={id:T,name:nn.value.trim(),description:On.value.trim(),selected:!1,importance:1,weight:0,isCustom:!0};Dt.value.push(x),wr.value,nn.value="",On.value="",console.log("添加新维度成功:",x),console.log("当前备选维度列表:",Dt.value)}catch(e){console.error("添加自定义维度失败:",e),R.error("添加自定义维度失败,请重试")}},at=et({keepVideo:!0,interruptionMode:"",smartFollowUp:!1,followUpStyle:""}),ri=Q([{id:1,name:"Jessica",image:"/avatars/jessica.png"},{id:2,name:"Mike",image:"/avatars/mike.png"},{id:3,name:"Sarah",image:"/avatars/sarah.png"}]),mt=Q(ri.value[0]),Mo=Q(""),Tr=f=>{mt.value=f,console.log("选中的面试官信息:",{id:f.id,name:f.name,avatar_url:f.avatar_url||f.image}),Mo.value=f.avatar_url,R.success(`已选择面试官:${f.name}`)},Dr=async()=>{const f=ie.value.filter(T=>T.source==="ai_generated"),e=ie.value.filter(T=>T.source==="custom_selected");if(console.log("AI生成的题目:",f),console.log("自定义选择的题目:",e),f.length>0&&(await os({draft_ids:f.map(T=>T.id)}),console.log("AI生成的题目已保存到草稿")),e.length>0){const T={position_id:o.query.id,question_id:{question_id:e},duration:60,tenant_id:Xt.get("tenant_id")};console.log("自定义选择的题目需要调用专门的接口处理");const x=await fi(T);x&&x.code===2e3?R.success("自定义选择的题目已保存"):R.error("自定义选择的题目保存失败")}},li=()=>{const f={keepVideo:at.keepVideo,interruptionMode:at.interruptionMode,followUpStyle:at.followUpStyle,smartFollowUp:at.smartFollowUp};return console.log("当前面试设置:",f),f},no=(f,e)=>{switch(console.log(`面试设置 ${f} 已更改为:`,e),f){case"keepVideo":console.log("回答视频保留设置:",e?"开启":"关闭");break;case"interruptionMode":console.log("中断后作答限制模式:",e==="previous"?"从上一问重新作答":"从当前问题作答");break;case"followUpStyle":console.log("追问风格:",e);break;case"smartFollowUp":console.log("智慧追问设置:",e?"开启":"关闭");break}},Vr=()=>{const f=li(),e={isValid:!0,messages:[]};return f.interruptionMode===""&&(e.isValid=!1,e.messages.push("请选择中断后作答限制模式")),e},Pr=f=>{c.value=!0,console.log("开始拖拽题目:",f)},Rr=f=>{c.value=!1,console.log("拖拽结束:",f),console.log("当前题目顺序:",ie.value),R.success("题目顺序已更新")},Ur=()=>({interviewer:{id:mt.value.id,name:mt.value.name,avatar_url:mt.value.avatar_url||mt.value.image},settings:li(),questionSettings:{enableScoreQuestions:_e.enableScoreQuestions,enableColorBlindQuestions:_e.enableColorBlindQuestions},abilities:j.value,questions:ie.value,currentStep:q.value}),Kr=async()=>{const f=await Zl({page:1,pageSize:1e3});f&&f.data&&(ri.value=f.data)},Li=(f,e)=>{e?oo.value.push({name:f.name,description:f.description||"暂无描述"}):oo.value=oo.value.filter(T=>T.name!==f.name)},Mr=f=>{oa.confirm("确认删除这个胜任力标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const e=j.value[f];j.value.splice(f,1),oo.value=oo.value.filter(x=>x.name!==e.label);const T=Dt.value.find(x=>x.name===e.label);T&&(T.selected=!1),R.success("胜任力标签已删除")}).catch(()=>{})},oo=Q([]),kr=f=>new Promise(e=>setTimeout(e,f));let Jt=null;const Br=async(f,e=300,T=2e3)=>{let x=0;Jt={cancelled:!1};const D=Jt;return new Promise((L,ve)=>{const z=async()=>{try{if(D.cancelled){console.log("轮询已被取消"),L(null);return}x++,console.log(`第${x}次轮询获取草稿列表...`);const ge=await ra(f);if(D.cancelled){console.log("轮询已被取消"),L(null);return}if(ge&&ge.data&&ge.data.dataList&&ge.data.dataList.length>0){console.log("轮询成功,获取到草稿列表数据"),Jt=null,L(ge);return}if(x>=e){console.log("轮询达到最大次数,停止轮询"),Jt=null,L(ge);return}setTimeout(z,T)}catch(ge){if(console.error(`第${x}次轮询失败:`,ge),D.cancelled){console.log("轮询已被取消"),L(null);return}x<e?setTimeout(z,T):(Jt=null,ve(ge))}};z()})},Qi=()=>{Jt&&(Jt.cancelled=!0,Jt=null,console.log("轮询已被手动取消"))},Nr=()=>{Qi(),pt.value=!1,R.info("已取消AI自动组题")},Tn=Q(!1),io=Q(""),rt=Q([]),Ft=Q([]),ao=Q(!1),ko=Q({}),Gi=Q(!1),Fr=Q(0),Wt=Q(0),lt=et({page:1,pageSize:10,keyword:"",question_form:null}),ct=et({page:1,limit:20,keyword:"",question_form:null}),jr=async()=>{try{const f={...lt,keyword:io.value,...lt.question_form!==null&&{question_form:lt.question_form}},e=await Zt(f);e&&e.data&&(rt.value=e.data.items,Fr.value=e.data.total)}catch(f){console.error("获取题目列表失败:",f),R.error("获取题目列表失败")}},Bo=()=>{lt.page=1,jr()},Lr=f=>{Ft.value=f},zi=()=>{Tn.value=!1,Ft.value=[],io.value=""},Qr=async()=>{if(Ft.value.length===0){R.warning("请至少选择一个题目");return}try{const f=Ft.value.map(T=>T.id);await fi({position_id:o.query.id,question_id:f,duration:60,tenant_id:Xt.get("tenant_id")});const e=Ft.value.map(T=>({id:T.id,title:T.question||T.title,ability:T.ability||"未设置",content:T.content||T.question,target:T.target||"未设置",competency_tags:T.competency_tags||[],question_form_name:T.question_form_name,scoring_reference:T.scoring_reference,question_form:T.question_form,is_required_correct:T.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:T.options||[],source:"custom_selected"}));ie.value.push(...e),Tn.value=!1,Ft.value=[],io.value="",R.success("题目添加成功")}catch(f){console.error("添加题目失败:",f),Tn.value=!1,f.code===4e3?R.warning("该题目已绑定,请选择其他题目"):R.error("添加题目失败,请重试")}},$i={name:{visible:!0,label:"姓名",required:!0},gender:{visible:!0,label:"性别",required:!0},three_period:{visible:!0,label:"是否为三期",required:!0},phone:{visible:!0,label:"手机号",required:!0},id_card:{visible:!0,label:"身份证号",required:!0},ethnicity:{visible:!0,label:"民族",required:!0},height:{visible:!0,label:"身高(cm)",required:!1},weight:{visible:!0,label:"体重(kg)",required:!1},current_address:{visible:!0,label:"现居住地址",required:!0},household_location:{visible:!0,label:"户口所在地",required:!1},marital_status:{visible:!0,label:"婚育状况",required:!1},expected_salary:{visible:!0,label:"期望薪资(元/月)",required:!1},family_member:{visible:!0,label:"家庭成员",fields:{relation:{visible:!0,label:"称谓",required:!0},name:{visible:!0,label:"姓名",required:!0},workplace_address:{visible:!0,label:"工作单位/家庭地址",required:!1},position:{visible:!0,label:"职务",required:!1},phone:{visible:!0,label:"联系电话",required:!0},is_emergency_contact:{visible:!0,label:"是否为紧急联系人",required:!1}}},education:{visible:!0,label:"教育经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},school_name:{visible:!0,label:"学校名称",required:!0},major:{visible:!0,label:"专业",required:!0},degree:{visible:!0,label:"学历",required:!0}}},require_professional_skills:{visible:!0,label:"专业技能",required:!0},training_fields_config:{visible:!0,label:"受过的培训",required:!0},work_experience:{visible:!0,label:"工作经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},company_name:{visible:!0,label:"单位名称",required:!0},employee_count:{visible:!0,label:"单位人数",required:!0},department:{visible:!0,label:"任职部门",required:!0},position:{visible:!0,label:"担任职务",required:!0},monthly_salary:{visible:!0,label:"月总收入",required:!0},supervisor:{visible:!0,label:"直接领导",required:!0},supervisor_phone:{visible:!0,label:"领导电话",required:!0}}},question_form_switches:{enable_open_questions:!0,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_scoring_questions:!0,enable_follow_up_questions:!0,enable_fill_blank:!0}},G=et(JSON.parse(JSON.stringify($i))),Gr=async()=>{try{const f={position_id:o.query.id,require_resume_upload:!0,resume_file_types:["pdf","docx","doc"],max_resume_size_mb:10,digital_human_opening_speech:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",require_basic_info:!0,profile_fields_config:{name:{required:G.name.required,visible:G.name.visible},phone:{required:G.phone.required,visible:G.phone.visible},id_card:{required:G.id_card.required,visible:G.id_card.visible},gender:{required:G.gender.required,visible:G.gender.visible},birth_date:{required:!1,visible:!0},political_status:{required:!1,visible:!0},ethnicity:{required:G.ethnicity.required,visible:G.ethnicity.visible},height:{required:G.height.required,visible:G.height.visible},weight:{required:G.weight.required,visible:G.weight.visible},marital_status:{required:G.marital_status.required,visible:G.marital_status.visible}},require_education_info:G.education.visible,education_fields_config:{school_name:{required:G.education.fields.school_name.required,visible:G.education.fields.school_name.visible},major:{required:G.education.fields.major.required,visible:G.education.fields.major.visible},degree:{required:G.education.fields.degree.required,visible:G.education.fields.degree.visible},start_date:{required:G.education.fields.start_time.required,visible:G.education.fields.start_time.visible},end_date:{required:G.education.fields.end_time.required,visible:G.education.fields.end_time.visible}},require_work_experience:G.work_experience.visible,work_experience_fields_config:{company_name:{required:G.work_experience.fields.company_name.required,visible:G.work_experience.fields.company_name.visible},position:{required:G.work_experience.fields.position.required,visible:G.work_experience.fields.position.visible},department:{required:G.work_experience.fields.department.required,visible:G.work_experience.fields.department.visible},start_date:{required:G.work_experience.fields.start_time.required,visible:G.work_experience.fields.start_time.visible},end_date:{required:G.work_experience.fields.end_time.required,visible:G.work_experience.fields.end_time.visible},job_description:{required:!0,visible:!0},achievements:{required:!1,visible:!0},resignation_reason:{required:!1,visible:!0}},require_family_info:G.family_member.visible,family_fields_config:{relation:{required:G.family_member.fields.relation.required,visible:G.family_member.fields.relation.visible},name:{required:G.family_member.fields.name.required,visible:G.family_member.fields.name.visible},workplace:{required:G.family_member.fields.workplace_address.required,visible:G.family_member.fields.workplace_address.visible},position:{required:G.family_member.fields.position.required,visible:G.family_member.fields.position.visible},phone:{required:G.family_member.fields.phone.required,visible:G.family_member.fields.phone.visible}},require_training_info:G.training_fields_config.visible,require_professional_skills:G.require_professional_skills.visible,enable_posture_check:!0,posture_check_config:{required_photos:["front","side","back"],instructions:"请按照提示上传您的全身照片,确保光线充足,背景简洁"},interview_duration_minutes:45,enable_video_recording:!0,enable_face_recognition:!0,scoring_method:"hybrid",auto_analysis_enabled:!0,custom_welcome_message:"欢迎参加咖啡师岗位的面试,请放松心情,准备好开始面试吧!",custom_instructions:"本次面试共有10个问题,每个问题有60秒的回答时间,请简洁明了地表达您的观点。",notification_config:{send_email:!0,send_sms:!1,notify_hr:!0,completion_message:"感谢您完成面试,我们将在3个工作日内给您回复。"},is_active:!0,is_template:!1};Ve.value==0||(f.id=Ve.value),Ve.value==0?(await vi(f)).code==2e3?(R.success("配置保存成功"),je.value=!1,J.value=!1):R.error("配置保存失败"):(await Pt(f)).code==2e3?(R.success("配置保存成功"),je.value=!1,J.value=!1):R.error("配置保存失败")}catch(f){console.error("保存配置失败:",f),R.error("配置保存失败")}},zr=()=>({name:G.name,id_card:G.id_card,phone:G.phone,gender:G.gender,three_period:G.three_period,ethnicity:G.ethnicity,height:G.height,weight:G.weight,current_address:G.current_address,household_location:G.household_location,marital_status:G.marital_status,expected_salary:G.expected_salary}),$r=()=>({skills:G.require_professional_skills,training:G.training_fields_config}),ro=Q(!1),Le=et({faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部结束,感谢您的参与,请等待后续通知。"}),Dn=Q(!1),lo=Q(!1),so=Q(!1),on=Q(""),Vn=Q(""),Pn=Q(""),Jr=()=>{ro.value=!1,Dn.value=!1,lo.value=!1,so.value=!1,Object.assign(Le,{faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我想咨询其间的面试,欢迎来到大面试",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部流程拍摄,面试者同意可为今后资讯调研"})},Wr=()=>{console.log("保存面试设置:",Le),R.success("面试设置已保存"),ro.value=!1},Hr=()=>{Mn(o.query.id).then(f=>{ro.value=!0,Ve.value=f.data.id,Le.beforeStartText=f.data.digital_human_opening_speech})},Yr=()=>{on.value=Le.beforeStartText,Dn.value=!0},Xr=()=>{Dn.value=!1,on.value=""},Zr=async()=>{var f;if(!on.value.trim()){R.warning("开始前提示内容不能为空");return}Le.beforeStartText=on.value.trim();try{let e;if(console.log(Ve.value),Ve.value==0)e=await vi({position_id:o.query.id,digital_human_opening_speech:on.value.trim()}),e.code===2e3?(Ve.value=((f=e.data)==null?void 0:f.id)||e.data,R.success("开场词提示内容已创建"),Dn.value=!1):R.error("开场词提示内容创建失败");else if(e=await Pt({id:Ve.value,digital_human_opening_speech:on.value.trim()}),e.code===2e3){R.success("开场词提示内容已更新"),Dn.value=!1;try{const T={config_id:Ve.value};await pi(T),console.log("开场词生成成功")}catch(T){console.error("获取开场词失败:",T),R.warning("开场词生成中,请稍后")}}else R.error("开场词提示内容更新失败")}catch(e){console.error("保存开场词提示内容失败:",e),R.error("保存失败,请重试")}},qr=()=>{Vn.value=Le.afterStartText,lo.value=!0},_r=()=>{lo.value=!1,Vn.value=""},el=()=>{if(!Vn.value.trim()){R.warning("开始后提醒内容不能为空");return}Le.afterStartText=Vn.value.trim(),lo.value=!1,R.success("开始后提醒内容已更新")},tl=()=>{Pn.value=Le.disclaimerText,so.value=!0},nl=()=>{so.value=!1,Pn.value=""},ol=()=>{if(!Pn.value.trim()){R.warning("内容不能为空");return}Le.disclaimerText=Pn.value.trim(),so.value=!1,R.success("内容已更新")},hn=et({openQuestionsCount:5,choiceQuestionsCount:10}),Ji=()=>{console.log("题目数量已更新:",hn)},Wi=async()=>{try{pt.value=!0;const f=j.value.map(x=>x.id);if(f.length===0){R.warning("请先选择能力标签");return}const e={position_id:o.query.id,competency_tag_ids:f,open_questions_count:hn.openQuestionsCount,choice_questions_count:hn.choiceQuestionsCount,auto_save:!0,tenant_id:Xt.get("tenant_id")},T=await is(e);if(T&&T.data){const x=await Br({tenant_id:Xt.get("tenant_id"),page:1,limit:30,position_id:o.query.id});if(console.log(x),x===null){console.log("轮询被取消,停止处理");return}if(x&&x.data&&x.data.dataList){const D=x.data.dataList.map(L=>({id:L.id||Date.now(),title:L.question||L.title,ability:L.ability||"未设置",content:L.content||L.question,target:L.target||"未设置",competency_tags:L.competency_tag_info||[],question_form_name:L.question_form_name,scoring_reference:L.scoring_reference,question_form:L.question_form,is_required_correct:L.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:L.options||[],source:"ai_generated"}));ie.value=D,R.success(`已成功生成${D.length}个面试题目`)}else R.warning("AI生成题目中,请稍后再试")}}catch(f){console.error("AI自动组题失败:",f),R.error("AI自动组题失败,请重试")}finally{pt.value=!1}},il=f=>{if(ee.competency_tags=[],f.length>0){const e=Math.floor(100/f.length),T=100%f.length;ee.competency_tags=f.map((x,D)=>{const L=Oe.value.find(ve=>ve.id===x);return{id:x,name:L?L.name:`标签${x}`,weight:e+(D<T?1:0)}})}},al=f=>{switch(ee.type=f,f){case"open":ee.suggestedDuration=120;break;case"single":case"multiple":ee.suggestedDuration=60;break;case"fill":ee.suggestedDuration=30;break;case"self":ee.suggestedDuration=180;break;default:ee.suggestedDuration=60}},Rn=Q(!1),Un=Q(!1),uo=Q(-1),Pe=et({title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}),rl=(f,e)=>{uo.value=e,f.config?Object.assign(Pe,f.config):(Pe.title=f.name,Pe.description=f.description||"候选人可以向面试官提问关于公司、职位或团队的问题",Pe.duration=5,Pe.maxQuestions=3,Pe.isRequired=f.active,Pe.allowSkip=!1,Pe.guidelines=["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]),Un.value=!0},ll=(f,e)=>{switch(f.type){case"ai_video":Ko(f);break;case"candidate_questions":rl(f,e);break;case"data_collection":Ko(f);break;case"resume_collection":Ko(f);break;default:Ko(f);break}},sl=(f,e)=>{(e===null||e<0)&&(e=0),e>100&&(e=100);const T=ee.competency_tags;T[f].weight;const x=Math.round(e);if(T[f].weight=x,T.length===1){T[0].weight=100;return}const D=T.filter((ve,z)=>z!==f),L=D.reduce((ve,z)=>ve+z.weight,0);if(L===0){const ve=100-x,z=Math.floor(ve/D.length),ge=ve%D.length;D.forEach((st,Vt)=>{const jt=T.findIndex(Lt=>Lt.id===st.id);T[jt].weight=z+(Vt<ge?1:0)})}else{const ve=100-x;if(ve>0){D.forEach(ge=>{const st=T.findIndex(jt=>jt.id===ge.id),Vt=ge.weight/L;T[st].weight=Math.round(ve*Vt)});const z=si();if(z!==100){const ge=100-z,st=D.reduce((jt,Lt)=>Lt.weight>jt.weight?Lt:jt),Vt=T.findIndex(jt=>jt.id===st.id);T[Vt].weight+=ge}}else D.forEach(z=>{const ge=T.findIndex(st=>st.id===z.id);T[ge].weight=0})}},si=()=>ee.competency_tags.reduce((e,T)=>e+(T.weight||0),0),dl=()=>{const f=ee.competency_tags;if(f.length===0)return;const e=Math.floor(100/f.length),T=100%f.length;f.forEach((x,D)=>{x.weight=e+(D<T?1:0)})},Hi=ui({get:()=>qe(ee.competency_tags),set:f=>{ee.competency_tags=f,il(f)}}),ul=async()=>{try{const f=await ls({position_id:o.query.id,tenant_id:Xt.get("tenant_id"),is_ai_generated:!0});f&&f.data&&f.data.length>0&&(await ss({position_id:o.query.id,question_id:f.data.map(e=>e.id),tenant_id:Xt.get("tenant_id")}),Ve.value>0&&await Pt({id:Ve.value,enable_ai_questions:!1}),R.success("AI考察问题已删除"))}catch(f){console.error("删除AI考察问题失败:",f),R.error("删除AI考察问题失败")}};Ml(()=>G.question_form_switches.enable_open_questions,f=>{f?r.forEach(e=>{e.type==="ai_interview"&&(e.visible=!0)}):r.forEach(e=>{e.type==="ai_interview"&&(e.visible=!1)})},{immediate:!0}),Q(!1),Q(!1);const cl=Q(!1),No=Q(!1),an=Q({duration:5,detectionItems:["face","pose"],promptText:"请按照提示完成相应的动作,系统将自动进行检测。"}),fl=()=>{No.value=!1},vl=async()=>{try{await saveProcessConfig({position_id:o.params.id,process_type:"body_detection",config:an.value}),R.success("配置保存成功"),No.value=!1}catch(f){console.error("保存肢体检测配置失败:",f),R.error("配置保存失败")}},Yi=Q([]),pl=Q(),ml=f=>{console.log(f);const{firstLevel:e,secondLevel:T,currentNode:x}=f;T?Zt({page:1,limit:20,question_tags:T.id.replace("tag_",""),question_form:lt.question_form}).then(D=>{D.data&&(rt.value=D.data.items,ct.page=D.data.page,ct.pageSize=D.data.limit,Wt.value=D.data.total)}):e&&Zt({page:1,limit:20,question_category:e.id.replace("category_",""),question_form:lt.question_form}).then(D=>{D.data&&(rt.value=D.data.items,ct.page=D.data.page,ct.pageSize=D.data.limit,Wt.value=D.data.total)})},gl=f=>{console.log(f)},hl=f=>{console.log(f)},yl=()=>{la({page:1,limit:100}).then(f=>{console.log("ret",f),f.data,sa({page:1,limit:100}).then(e=>{console.log("res",e);const T=e.data.items.filter(x=>!["技术能力","服务意识","职业素质","基本常识","色盲检测","内容铺垫","心理测试1","心理测试"].includes(x.name));da({}).then(x=>{console.log("res",x);const D=x.data.items,L=[...T.map(ve=>({id:`category_${ve.id}`,title:ve.name,children:D.filter(z=>z.category_id===ve.id).map(z=>({id:`tag_${z.id}`,title:z.name,chinese_explanation:z.chinese_explanation||""}))}))];Yi.value=L})})})},Xi=Q([]),bl={children:"children",label:"title"},Sl=async f=>{try{if(f.id.startsWith("category_")){const e=f.id.replace("category_",""),T=await Zt({page:1,limit:1e3,question_category:e,question_form:lt.question_form});if(T&&T.data){rt.value=T.data.items,ct.page=T.data.page,ct.pageSize=T.data.limit,Wt.value=T.data.total;const x=document.querySelector(".el-table__header-wrapper");if(x){const D=x.querySelector(".el-checkbox");D&&D.__vueParentComponent.emit("change",!0)}Ft.value=T.data.items}}else if(f.id.startsWith("tag_")){const e=f.id.replace("tag_",""),T=await Zt({page:1,limit:1e3,question_tags:e,question_form:lt.question_form});if(T&&T.data){rt.value=T.data.items,ct.page=T.data.page,ct.pageSize=T.data.limit,Wt.value=T.data.total;const x=document.querySelector(".el-table__header-wrapper");if(x){const D=x.querySelector(".el-checkbox");D&&D.__vueParentComponent.emit("change",!0)}Ft.value=T.data.items}}}catch(e){console.error("获取题目列表失败:",e),R.error("获取题目列表失败")}},El=()=>{la({page:1,limit:100}).then(f=>{console.log("ret",f),f.data,sa({page:1,limit:100}).then(e=>{console.log("res",e);const T=e.data.items.filter(x=>["心理测试"].includes(x.name));da({}).then(x=>{console.log("res",x);const D=x.data.items,L=[...T.map(ve=>({id:`category_${ve.id}`,title:ve.name,children:D.filter(z=>z.category_id===ve.id).map(z=>({id:`tag_${z.id}`,title:z.name,chinese_explanation:z.chinese_explanation||""}))}))];Xi.value=L})})})};return(f,e)=>{const T=Te("page-header"),x=Te("el-button"),D=Te("el-icon"),L=Te("el-input"),ve=Te("el-cascader"),z=Te("el-option"),ge=Te("el-select"),st=Te("el-input-number"),Vt=Te("el-tag"),jt=Te("el-date-picker"),Lt=Te("el-card"),nt=Te("el-switch"),It=Te("el-dialog"),Ht=Te("el-checkbox"),xl=Te("Refresh"),co=Te("el-radio"),Zi=Te("el-upload"),Kn=Te("el-tooltip"),Il=Te("Folder"),Cl=Te("el-tree"),Qt=Te("el-col"),Yt=Te("el-row"),Al=Te("el-radio-group"),Fo=Te("el-table-column"),qi=Te("el-table"),wl=Te("el-pagination"),di=Te("el-form-item"),Ol=Te("el-checkbox-group"),Tl=Te("el-form"),_i=kl("loading");return B(),X("div",qs,[l("div",_s,[v(T,{title:"测试",onBack:In}),l("div",ed,[v(x,{type:"primary",onClick:Qn},{default:y(()=>e[93]||(e[93]=[U("保存")])),_:1})])]),l("div",td,[v(Lt,{class:"detail-card"},{default:y(()=>[e[126]||(e[126]=l("div",{class:"section-title"},[l("div",{class:"section-line"}),l("span",null,"职位详情")],-1)),l("div",nd,[e[96]||(e[96]=l("div",{class:"detail-label"},"职位名称",-1)),wo.value?(B(),X("div",id,[v(L,{modelValue:Cn.value,"onUpdate:modelValue":e[0]||(e[0]=p=>Cn.value=p),placeholder:"请输入职位名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"]),l("div",ad,[v(x,{size:"small",onClick:Wa},{default:y(()=>e[94]||(e[94]=[U("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Ha},{default:y(()=>e[95]||(e[95]=[U("保存")])),_:1})])])):(B(),X("div",od,[U(le(a.title)+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:Ja},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(gt))]),_:1})]),_:1})]))]),l("div",rd,[e[99]||(e[99]=l("div",{class:"detail-label"},"工作地点",-1)),Oo.value?(B(),X("div",sd,[v(ve,{modelValue:$t.value,"onUpdate:modelValue":e[1]||(e[1]=p=>$t.value=p),options:Ee(w),props:{expandTrigger:"hover",checkStrictly:!1,value:"code",label:"name"},style:{width:"100%"},placeholder:"请选择工作地点",clearable:"",onChange:O},null,8,["modelValue","options"]),l("div",dd,[v(x,{size:"small",onClick:Xa},{default:y(()=>e[97]||(e[97]=[U("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Za},{default:y(()=>e[98]||(e[98]=[U("保存")])),_:1})])])):(B(),X("div",ld,[U(le((()=>{if(!a.location)return"暂无";if(Array.isArray(a.location))return a.location.join(",");if(typeof a.location=="string")try{return a.location.replace(/[\[\]']/g,"").split(",").map(re=>re.trim()).join(",")}catch{return a.location}return a.location})())+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:Ya},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(gt))]),_:1})]),_:1})]))]),l("div",ud,[e[103]||(e[103]=l("div",{class:"detail-label"},"职位薪资",-1)),To.value?(B(),X("div",fd,[l("div",vd,[v(ge,{modelValue:Jn.value,"onUpdate:modelValue":e[2]||(e[2]=p=>Jn.value=p),placeholder:"薪资类型",class:"salary-type-select",onChange:ai},{default:y(()=>[v(z,{label:"月薪",value:"月薪"}),v(z,{label:"年薪",value:"年薪"}),v(z,{label:"日薪",value:"日薪"}),v(z,{label:"时薪",value:"时薪"})]),_:1},8,["modelValue"]),v(st,{modelValue:gn.value,"onUpdate:modelValue":e[3]||(e[3]=p=>gn.value=p),placeholder:"起始薪资",class:"salary-input",type:"number","controls-position":"right",min:"0",onInput:ai},null,8,["modelValue"]),e[100]||(e[100]=l("span",{class:"salary-separator"},"-",-1)),v(st,{modelValue:tn.value,"onUpdate:modelValue":e[4]||(e[4]=p=>tn.value=p),placeholder:"最高薪资",class:"salary-input","controls-position":"right",type:"number",min:"0",onInput:ai},null,8,["modelValue"])]),l("div",pd,[v(x,{size:"small",onClick:_a},{default:y(()=>e[101]||(e[101]=[U("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:er},{default:y(()=>e[102]||(e[102]=[U("保存")])),_:1})])])):(B(),X("div",cd,[U(le(a.salary_range||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:qa},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(gt))]),_:1})]),_:1})]))]),l("div",md,[e[106]||(e[106]=l("div",{class:"detail-label"},"工作经验",-1)),Do.value?(B(),X("div",hd,[v(ge,{modelValue:Wn.value,"onUpdate:modelValue":e[5]||(e[5]=p=>Wn.value=p),placeholder:"请选择工作经验",style:{width:"100%"}},{default:y(()=>[v(z,{label:"不限",value:"不限"}),v(z,{label:"应届毕业生",value:"应届毕业生"}),v(z,{label:"1年以下",value:"1年以下"}),v(z,{label:"1-3年",value:"1-3年"}),v(z,{label:"3-5年",value:"3-5年"}),v(z,{label:"5-10年",value:"5-10年"}),v(z,{label:"10年以上",value:"10年以上"})]),_:1},8,["modelValue"]),l("div",yd,[v(x,{size:"small",onClick:nr},{default:y(()=>e[104]||(e[104]=[U("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:or},{default:y(()=>e[105]||(e[105]=[U("保存")])),_:1})])])):(B(),X("div",gd,[U(le(a.work_experience_required||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:tr},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(gt))]),_:1})]),_:1})]))]),l("div",bd,[e[109]||(e[109]=l("div",{class:"detail-label"},"学历要求",-1)),Vo.value?(B(),X("div",Ed,[v(ge,{modelValue:Hn.value,"onUpdate:modelValue":e[6]||(e[6]=p=>Hn.value=p),placeholder:"请选择学历要求",style:{width:"100%"}},{default:y(()=>[v(z,{label:"不限",value:"不限"}),v(z,{label:"高中",value:"高中"}),v(z,{label:"大专",value:"大专"}),v(z,{label:"本科",value:"本科"}),v(z,{label:"硕士",value:"硕士"}),v(z,{label:"博士",value:"博士"})]),_:1},8,["modelValue"]),l("div",xd,[v(x,{size:"small",onClick:ar},{default:y(()=>e[107]||(e[107]=[U("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:rr},{default:y(()=>e[108]||(e[108]=[U("保存")])),_:1})])])):(B(),X("div",Sd,[U(le(a.education_required||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:ir},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(gt))]),_:1})]),_:1})]))]),l("div",Id,[e[112]||(e[112]=l("div",{class:"detail-label"},"所属部门",-1)),Po.value?(B(),X("div",Ad,[v(L,{modelValue:Yn.value,"onUpdate:modelValue":e[7]||(e[7]=p=>Yn.value=p),placeholder:"请输入所属部门",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),l("div",wd,[v(x,{size:"small",onClick:sr},{default:y(()=>e[110]||(e[110]=[U("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:dr},{default:y(()=>e[111]||(e[111]=[U("保存")])),_:1})])])):(B(),X("div",Cd,[U(le(a.department||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:lr},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(gt))]),_:1})]),_:1})]))]),l("div",Od,[e[113]||(e[113]=l("div",{class:"detail-label"},"职位状态",-1)),l("div",Td,[v(Vt,{type:fn(a.status)},{default:y(()=>[U(le(cn(a.status)),1)]),_:1},8,["type"])])]),l("div",Dd,[e[116]||(e[116]=l("div",{class:"detail-label"},"截止日期",-1)),Ro.value?(B(),X("div",Pd,[v(jt,{modelValue:Xn.value,"onUpdate:modelValue":e[8]||(e[8]=p=>Xn.value=p),type:"datetime",placeholder:"请选择截止日期","value-format":"YYYY-MM-DD HH:mm:ss",style:{width:"100%"}},null,8,["modelValue"]),l("div",Rd,[v(x,{size:"small",onClick:cr},{default:y(()=>e[114]||(e[114]=[U("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:fr},{default:y(()=>e[115]||(e[115]=[U("保存")])),_:1})])])):(B(),X("div",Vd,[U(le(a.end_date||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:ur},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(gt))]),_:1})]),_:1})]))]),l("div",Ud,[e[119]||(e[119]=l("div",{class:"detail-label"},"职位要求",-1)),Zn.value?we("",!0):(B(),X("div",{key:0,class:"detail-value html-content",innerHTML:a.requirements},null,8,Kd)),Zn.value?(B(),X("div",Md,[v(L,{modelValue:qn.value,"onUpdate:modelValue":e[9]||(e[9]=p=>qn.value=p),type:"textarea",rows:"6",placeholder:"请输入职位要求",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),l("div",kd,[v(x,{size:"small",onClick:pr},{default:y(()=>e[117]||(e[117]=[U("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:mr},{default:y(()=>e[118]||(e[118]=[U("保存")])),_:1})])])):(B(),Ae(x,{key:1,type:"text",class:"edit-title-btn",onClick:vr},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(gt))]),_:1})]),_:1}))]),e[127]||(e[127]=l("div",{style:{width:"100%","border-bottom":"1px solid #e5e5e5"}},null,-1)),l("div",Bd,[e[122]||(e[122]=l("div",{class:"detail-label"},"职位描述",-1)),_n.value?we("",!0):(B(),X("div",{key:0,class:"detail-value html-content",innerHTML:a.description},null,8,Nd)),_n.value?(B(),X("div",Fd,[v(L,{modelValue:eo.value,"onUpdate:modelValue":e[10]||(e[10]=p=>eo.value=p),type:"textarea",rows:"6",placeholder:"请输入职位描述",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),l("div",jd,[v(x,{size:"small",onClick:hr},{default:y(()=>e[120]||(e[120]=[U("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:yr},{default:y(()=>e[121]||(e[121]=[U("保存")])),_:1})])])):(B(),Ae(x,{key:1,type:"text",class:"edit-title-btn",onClick:gr},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(gt))]),_:1})]),_:1}))]),l("div",Ld,[e[125]||(e[125]=l("div",{class:"detail-label"},"能力标签",-1)),Uo.value?(B(),X("div",Gd,[v(ge,{modelValue:wn.value,"onUpdate:modelValue":e[11]||(e[11]=p=>wn.value=p),multiple:"",filterable:"",placeholder:"请选择能力标签",style:{width:"100%"}},{default:y(()=>[(B(!0),X(Je,null,We(Oe.value,p=>(B(),Ae(z,{key:p.id,label:p.name,value:p.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),l("div",zd,[v(x,{size:"small",onClick:Ir},{default:y(()=>e[123]||(e[123]=[U("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Cr},{default:y(()=>e[124]||(e[124]=[U("保存")])),_:1})])])):(B(),X("div",Qd,[(B(!0),X(Je,null,We(a.competency_tags,p=>(B(),Ae(Vt,{key:p.id,effect:"plain",class:"competency-tag"},{default:y(()=>[U(le(p.name),1)]),_:2},1024))),128)),v(x,{type:"text",class:"edit-title-btn",onClick:xr},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(gt))]),_:1})]),_:1})]))])]),_:1}),l("div",$d,[v(Lt,{class:"status-card"},{default:y(()=>[e[128]||(e[128]=l("div",{class:"section-title"},[l("div",{class:"section-line"}),l("span",null,"职位状态")],-1)),l("div",Jd,[v(nt,{modelValue:n.value,"onUpdate:modelValue":e[12]||(e[12]=p=>n.value=p),"inactive-text":"",onChange:xt},null,8,["modelValue"]),l("span",Wd,le(n.value?"已启用":"待启用"),1)])]),_:1}),v(Lt,{class:"status-card"},{default:y(()=>[l("div",Hd,[e[130]||(e[130]=l("div",{class:"section-line"},null,-1)),e[131]||(e[131]=l("span",null,"职位性质",-1)),An.value?we("",!0):(B(),Ae(x,{key:0,type:"text",class:"edit-btn",onClick:br},{default:y(()=>e[129]||(e[129]=[U("编辑")])),_:1}))]),l("div",Yd,[An.value?we("",!0):(B(),X("div",Xd,le(vn(a.job_type)),1)),An.value?(B(),X("div",Zd,[v(ge,{modelValue:to.value,"onUpdate:modelValue":e[13]||(e[13]=p=>to.value=p),placeholder:"请选择职位性质",style:{width:"100%"}},{default:y(()=>[v(z,{label:"全职",value:0}),v(z,{label:"兼职",value:1}),v(z,{label:"实习",value:2}),v(z,{label:"其他",value:3})]),_:1},8,["modelValue"]),l("div",qd,[v(x,{size:"small",onClick:Sr},{default:y(()=>e[132]||(e[132]=[U("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Er},{default:y(()=>e[133]||(e[133]=[U("保存")])),_:1})])])):we("",!0)])]),_:1}),v(Lt,{class:"status-card"},{default:y(()=>[l("div",_d,[e[135]||(e[135]=l("div",{class:"section-line"},null,-1)),e[136]||(e[136]=l("span",null,"招聘流程",-1)),v(x,{type:"text",class:"edit-btn",onClick:Nt},{default:y(()=>e[134]||(e[134]=[U("设置流程")])),_:1})]),l("div",eu,[(B(!0),X(Je,null,We(r,(p,re)=>jo((B(),X("div",{key:p.id,class:Ct(["process-step",{disabled:!p.active}])},[p.name!="已通过"&&p.name!="已淘汰"?(B(),X("div",tu,le(t(re)),1)):we("",!0),l("div",nu,[l("div",ou,le(p.name),1)])],2)),[[ea,p.visible]])),128))])]),_:1}),v(Lt,{class:"status-card"},{default:y(()=>[l("div",iu,[e[138]||(e[138]=l("div",{class:"section-line"},null,-1)),e[139]||(e[139]=l("span",null,"面试设置",-1)),v(x,{type:"text",class:"edit-btn",onClick:Hr},{default:y(()=>e[137]||(e[137]=[U("编辑")])),_:1})])]),_:1})])]),v(It,{title:"设置招聘流程",modelValue:u.value,"onUpdate:modelValue":e[16]||(e[16]=p=>u.value=p),width:"500px","close-on-click-modal":!1},{footer:y(()=>[l("span",cu,[v(x,{onClick:dn},{default:y(()=>e[143]||(e[143]=[U("取消")])),_:1}),v(x,{type:"primary",onClick:en},{default:y(()=>e[144]||(e[144]=[U("确定")])),_:1})])]),default:y(()=>[l("div",au,[(B(!0),X(Je,null,We(r,(p,re)=>jo((B(),X("div",{key:p.id},[re<r.length-1?(B(),X("div",ru,[v(x,{type:"text",onClick:Ce=>pn(re,Ce)},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(yn))]),_:1})]),_:2},1032,["onClick"])])):we("",!0),l("div",{class:Ct(["process-edit-item",{highlight:p.active}])},[p.name!="已通过"&&p.name!="已淘汰"?(B(),X("div",lu,le(t(re)),1)):we("",!0),l("div",su,[l("div",null,le(p.name),1)]),p.name!="已通过"&&p.name!="已淘汰"?(B(),X("div",du,[p.name!="简历收集"?(B(),Ae(x,{key:0,type:"info",size:"small",plain:"",onClick:Ce=>ll(p,re)},{default:y(()=>e[140]||(e[140]=[U(" 修改 ")])),_:2},1032,["onClick"])):we("",!0),p.name!="资料收集"&&p.name!="AI考察"?(B(),Ae(x,{key:1,type:"danger",size:"small",plain:"",style:{"margin-top":"10px","margin-left":"0px"},onClick:Ce=>un(p,re)},{default:y(()=>e[141]||(e[141]=[U(" 删除 ")])),_:2},1032,["onClick"])):we("",!0)])):we("",!0)],2)])),[[ea,p.visible]])),128)),e[142]||(e[142]=l("div",{class:"add-process-btn"},null,-1))]),J.value?(B(),X("div",{key:0,class:"process-options-menu",style:Nl({top:K.top,left:K.left}),onClick:e[15]||(e[15]=Bl(()=>{},["stop"]))},[l("div",{class:"close-btn",onClick:e[14]||(e[14]=p=>J.value=!1)},[v(D,null,{default:y(()=>[v(Ee(Wl))]),_:1})]),(B(),X(Je,null,We(g,p=>l("div",{key:p.value,class:"process-option-item",onClick:re=>A(p.value,p.label)},le(p.label),9,uu)),64))],4)):we("",!0)]),_:1},8,["modelValue"]),v(Ee(ci),{title:"AI考察",modelValue:W.value,"onUpdate:modelValue":e[35]||(e[35]=p=>W.value=p),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-video-drawer","destroy-on-close":!1},{footer:y(()=>[l("div",Dc,[q.value>1?(B(),Ae(x,{key:0,size:"small",onClick:V},{default:y(()=>e[185]||(e[185]=[U("上一步")])),_:1})):we("",!0),v(x,{onClick:te,size:"small"},{default:y(()=>e[186]||(e[186]=[U("取消")])),_:1}),q.value<3?(B(),Ae(x,{key:1,type:"primary",size:"small",onClick:C,style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[187]||(e[187]=[U("下一步")])),_:1})):(B(),Ae(x,{key:2,type:"success",onClick:F,size:"small",style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[188]||(e[188]=[U("新增")])),_:1}))])]),default:y(()=>[l("div",fu,[l("div",{class:Ct(["step-item",{active:q.value===1}]),onClick:e[17]||(e[17]=p=>de(1))},[e[145]||(e[145]=l("div",{class:"step-number"},"1",-1)),l("div",{class:Ct(["step-title",{"active-title":q.value===1}])},"考察能力",2)],2),l("div",{class:Ct(["step-line",{"active-line":q.value>=2}])},null,2),l("div",{class:Ct(["step-item",{active:q.value===2}]),onClick:e[18]||(e[18]=p=>de(2))},[e[146]||(e[146]=l("div",{class:"step-number"},"2",-1)),l("div",{class:Ct(["step-title",{"active-title":q.value===2}])},"面试题目",2)],2),l("div",{class:Ct(["step-line",{"active-line":q.value>=3}])},null,2),l("div",{class:Ct(["step-item",{active:q.value===3}]),onClick:e[19]||(e[19]=p=>de(3))},[e[147]||(e[147]=l("div",{class:"step-number"},"3",-1)),l("div",{class:Ct(["step-title",{"active-title":q.value===3}])},"系统设置",2)],2)]),q.value===1?jo((B(),X("div",vu,[l("div",pu,[e[154]||(e[154]=l("div",{class:"ai-video-options-header"},[l("div",{class:"ai-video-options-header-title"},[l("span",null,"AI根据岗位信息生成的能力,创建完步骤后,会自动将选择的胜任力考核维度加入到该职位的考察能力列表中。")])],-1)),l("div",mu,[l("div",gu,[(B(!0),X(Je,null,We(Dt.value.slice(0,10),p=>(B(),Ae(Ht,{key:p.id,modelValue:p.selected,"onUpdate:modelValue":re=>p.selected=re,onChange:re=>Li(p,re),class:"custom-checkbox"},{default:y(()=>[l("div",hu,[l("span",null,le(p.name),1),e[148]||(e[148]=l("img",{src:ua,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),l("div",yu,[l("div",bu,[e[150]||(e[150]=l("h3",{style:{color:"#808080"}},"备选考核维度",-1)),l("div",Su,[v(x,{type:"primary",class:"custom-btn",plain:"",size:"small",onClick:I},{default:y(()=>e[149]||(e[149]=[U("重新生成")])),_:1})])]),l("div",Eu,[(B(!0),X(Je,null,We(Dt.value.slice(10,50),p=>(B(),Ae(Ht,{key:p.id,modelValue:p.selected,"onUpdate:modelValue":re=>p.selected=re,onChange:re=>Li(p,re),class:"custom-checkbox"},{default:y(()=>[l("div",xu,[l("span",null,le(p.name),1)])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),l("div",Iu,[e[153]||(e[153]=l("h3",{style:{color:"#808080"}},"自定义维度",-1)),l("div",Cu,[l("div",Au,[l("div",wu,[v(L,{style:{width:"150px"},modelValue:nn.value,"onUpdate:modelValue":e[20]||(e[20]=p=>nn.value=p),placeholder:"请输入维度名称"},null,8,["modelValue"])]),l("div",Ou,[e[151]||(e[151]=l("div",{class:"input-label"},"特征描述:",-1)),v(L,{modelValue:On.value,"onUpdate:modelValue":e[21]||(e[21]=p=>On.value=p),style:{width:"500px"},type:"textarea",placeholder:"请输入特征描述"},null,8,["modelValue"])])]),l("div",Tu,[v(x,{type:"primary",onClick:Or},{default:y(()=>e[152]||(e[152]=[U("添加")])),_:1})])])])])])),[[_i,Rn.value]]):we("",!0),q.value===2?(B(),X("div",Du,[l("div",Vu,[l("div",Pu,[l("div",Ru,[v(x,{plain:"",class:"custom-btn",onClick:mn},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(yn))]),_:1}),e[155]||(e[155]=U(" 自定义题目 "))]),_:1}),v(x,{plain:"",class:"custom-btn"},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(ta))]),_:1}),e[156]||(e[156]=U(" 导入题目 "))]),_:1}),ie.value.length>0?(B(),Ae(x,{key:0,type:"primary",plain:"",class:"custom-btn",loading:pt.value,onClick:Wi},{default:y(()=>[v(D,null,{default:y(()=>[v(xl)]),_:1}),e[157]||(e[157]=U(" 重新生成 "))]),_:1},8,["loading"])):we("",!0),l("div",Uu,[l("div",Ku,[e[158]||(e[158]=l("span",{class:"switch-label"},"开放题数量",-1)),v(st,{modelValue:hn.openQuestionsCount,"onUpdate:modelValue":e[22]||(e[22]=p=>hn.openQuestionsCount=p),min:1,max:10,size:"small",onChange:Ji},null,8,["modelValue"])]),l("div",Mu,[e[159]||(e[159]=l("span",{class:"switch-label"},"选择题数量",-1)),v(st,{modelValue:hn.choiceQuestionsCount,"onUpdate:modelValue":e[23]||(e[23]=p=>hn.choiceQuestionsCount=p),min:1,max:20,size:"small",onChange:Ji},null,8,["modelValue"])])])]),l("div",ku,[e[160]||(e[160]=l("span",null,"预计面试时长: ",-1)),l("span",Bu,le(Gn.value),1),e[161]||(e[161]=l("span",{class:"duration-tip"},"拖动试题卡片可改变试题顺序",-1))])]),l("div",Nu,[jo((B(),X("div",Fu,[ie.value.length===0?(B(),X("div",ju,[e[164]||(e[164]=l("p",null,"暂无题目",-1)),e[165]||(e[165]=l("p",{class:"ai-tip"},'点击"AI自动组题"按钮',-1)),e[166]||(e[166]=l("p",{class:"ai-tip"},"可根据您选择的能力类型一键组题",-1)),v(x,{type:"success",class:"auto-generate-btn",loading:pt.value,onClick:Wi},{default:y(()=>e[162]||(e[162]=[U(" AI自动组题 ")])),_:1},8,["loading"]),pt.value&&Ee(Jt)?(B(),Ae(x,{key:0,type:"warning",plain:"",size:"small",onClick:Nr,style:{"margin-left":"10px"}},{default:y(()=>e[163]||(e[163]=[U(" 取消生成 ")])),_:1})):we("",!0)])):(B(),X("div",Lu,[v(Ee(xa),{modelValue:ie.value,"onUpdate:modelValue":e[24]||(e[24]=p=>ie.value=p),"item-key":"id",handle:".drag-handle",onStart:Pr,onEnd:Rr,animation:"200","ghost-class":"sortable-ghost","chosen-class":"sortable-chosen","drag-class":"sortable-drag"},{item:y(({element:p})=>[l("div",Qu,[e[170]||(e[170]=l("div",{class:"drag-handle"},[l("img",{src:vs,alt:"",class:"dorp"})],-1)),l("div",Gu,[l("div",zu,[l("div",$u,[l("div",Ju,[l("span",Wu,"题目"+le(ie.value.indexOf(p)+1),1),l("span",null,[l("span",Hu,le("「"+p.question_form_name+"」"),1),U(le(p.title),1)])]),l("div",Yu,[(B(!0),X(Je,null,We((p.competency_tag_info||p.competency_tags||[]).slice(0,2),(re,Ce)=>(B(),Ae(Vt,{key:re.id,effect:"plain",class:"competency-tag",size:"small"},{default:y(()=>[U(le(m(re)),1)]),_:2},1024))),128)),(p.competency_tag_info||p.competency_tags||[]).length>2?(B(),X("span",Xu," +"+le((p.competency_tag_info||p.competency_tags||[]).length-2),1)):we("",!0)])])]),l("div",Zu,[v(x,{type:"text",onClick:re=>ki(ie.value.indexOf(p))},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(gt))]),_:1})]),_:2},1032,["onClick"]),v(x,{type:"text",onClick:re=>Bi(ie.value.indexOf(p))},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(na))]),_:1})]),_:2},1032,["onClick"])])]),l("div",qu,[l("div",_u,[l("span",null,le(p.scoring_reference),1)])]),p.question_form==0?(B(),X("div",ec,[l("div",tc,[v(nt,{style:{"margin-top":"0px"},modelValue:p.enable_follow_up,"onUpdate:modelValue":re=>p.enable_follow_up=re,onChange:H},null,8,["modelValue","onUpdate:modelValue"]),e[167]||(e[167]=l("span",{class:"answer-label"},"回答不充分追问",-1))]),l("div",nc,[e[168]||(e[168]=l("span",{class:"answer-label"},"追问轮数",-1)),v(ge,{modelValue:p.maxAnswers,"onUpdate:modelValue":re=>p.maxAnswers=re,size:"small",placeholder:"请选择"},{default:y(()=>[v(z,{label:"1次",value:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])])])):we("",!0),p.question_form==1?(B(),X("div",oc,[l("div",ic,[e[169]||(e[169]=l("span",{class:"answer-label"},"是否为红线题:",-1)),v(ge,{modelValue:p.is_required_correct,"onUpdate:modelValue":re=>p.is_required_correct=re,disabled:!0,onChange:re=>M(p.id,p.is_required_correct),size:"small",placeholder:"请选择"},{default:y(()=>[v(z,{label:"是",value:!0}),v(z,{label:"否",value:!1})]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])])])):we("",!0)])]),_:1},8,["modelValue"])]))])),[[_i,pt.value]]),l("div",ac,[e[173]||(e[173]=l("div",{class:"dimension-title"},"已选胜任力考核维度",-1)),l("div",rc,[(B(!0),X(Je,null,We(j.value,(p,re)=>(B(),X("div",{key:p.value,class:"dimension-item"},[l("div",lc,[l("div",sc,[l("span",dc,le(p.label),1),e[171]||(e[171]=l("img",{src:ua,alt:"",class:"sheng"},null,-1))])]),l("div",{class:"dimension-content",onClick:Ce=>Mr(re),title:"点击删除此胜任力标签"},e[172]||(e[172]=[l("div",{class:"ability-description"},le("—"),-1)]),8,uc)]))),128))])])])])])):we("",!0),q.value===3?(B(),X("div",cc,[l("div",fc,[l("div",vc,[e[184]||(e[184]=l("div",{class:"section-header"},"请选择面试官形象",-1)),l("div",pc,[l("div",mc,[Mo.value?(B(),X("img",{key:0,src:Mo.value,alt:"",style:{width:"100%",height:"100%","object-fit":"cover",transform:"translateZ(0)","backface-visibility":"hidden"}},null,8,gc)):we("",!0)]),l("div",null,[l("div",hc,[(B(!0),X(Je,null,We(ri.value,p=>(B(),X("div",{key:p.id,class:Ct(["avatar-item",{active:mt.value.id===p.id}]),onClick:re=>Tr(p)},[l("div",bc,[l("div",{class:Ct(["avatar-circle",{selected:mt.value.id===p.id}])},[l("img",{src:p.avatar_url||p.image,alt:p.name},null,8,Sc)],2),l("div",{class:"avatar-name",title:p.name},le(p.name),9,Ec)])],10,yc))),128))]),l("div",xc,[e[174]||(e[174]=l("div",{class:"setting-label"},"「追问风格」",-1)),l("div",Ic,[v(ge,{modelValue:at.followUpStyle,"onUpdate:modelValue":e[25]||(e[25]=p=>at.followUpStyle=p),placeholder:"请选择",onChange:e[26]||(e[26]=p=>no("followUpStyle",at.followUpStyle))},{default:y(()=>[v(z,{label:"温和",value:"1"}),v(z,{label:"严厉",value:"2"}),v(z,{label:"严谨",value:"3"})]),_:1},8,["modelValue"])]),e[175]||(e[175]=l("div",{class:"setting-desc"},null,-1))])])]),l("div",Cc,[l("div",Ac,[e[176]||(e[176]=l("div",{class:"setting-label"},[l("p",null,"「回答视频保留」")],-1)),e[177]||(e[177]=l("div",{class:"setting-desc"},[l("p",null,"选取后,将在报告中展示候选人的回答视频")],-1)),v(nt,{modelValue:at.keepVideo,"onUpdate:modelValue":e[27]||(e[27]=p=>at.keepVideo=p),onChange:e[28]||(e[28]=p=>no("keepVideo",p)),disabled:!0},null,8,["modelValue"])]),l("div",wc,[e[180]||(e[180]=l("div",{class:"setting-label"},[l("p",null,"「中断后作答限制」")],-1)),l("div",Oc,[v(co,{modelValue:at.interruptionMode,"onUpdate:modelValue":e[29]||(e[29]=p=>at.interruptionMode=p),label:"current",onChange:e[30]||(e[30]=p=>no("interruptionMode",at.interruptionMode))},{default:y(()=>e[178]||(e[178]=[U(" 从当前问题重新作答 ")])),_:1},8,["modelValue"]),v(co,{modelValue:at.interruptionMode,"onUpdate:modelValue":e[31]||(e[31]=p=>at.interruptionMode=p),label:"previous",onChange:e[32]||(e[32]=p=>no("interruptionMode",at.interruptionMode))},{default:y(()=>e[179]||(e[179]=[U(" 从头作答 ")])),_:1},8,["modelValue"])]),e[181]||(e[181]=l("div",{class:"setting-desc",style:{width:"40px"}},null,-1))]),l("div",Tc,[e[182]||(e[182]=l("div",{class:"setting-label"},[l("p",null,"「智慧追问」")],-1)),e[183]||(e[183]=l("div",{class:"setting-desc"},[l("p",null,"追问将结合候选人资料情况,综合分析发问")],-1)),v(nt,{modelValue:at.smartFollowUp,"onUpdate:modelValue":e[33]||(e[33]=p=>at.smartFollowUp=p),onChange:e[34]||(e[34]=p=>no("smartFollowUp",p))},null,8,["modelValue"])])])])])])):we("",!0)]),_:1},8,["modelValue"]),v(It,{title:"新增视频宣讲",modelValue:ue.value,"onUpdate:modelValue":e[37]||(e[37]=p=>ue.value=p),width:"35%","close-on-click-modal":!1,class:"video-lecture-dialog"},{footer:y(()=>[l("span",Kc,[v(x,{onClick:pe},{default:y(()=>e[192]||(e[192]=[U("取消")])),_:1}),v(x,{type:"primary",onClick:Ie},{default:y(()=>e[193]||(e[193]=[U("确认")])),_:1})])]),default:y(()=>[l("div",Vc,[l("div",Pc,[e[190]||(e[190]=l("div",{class:"form-label"},"上传视频",-1)),v(Zi,{class:"video-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"video/*"},{default:y(()=>[l("div",Rc,[v(D,null,{default:y(()=>[v(Ee(yn))]),_:1}),e[189]||(e[189]=l("div",{class:"upload-text"},"上传文件大小不超过500M",-1))])]),_:1})]),l("div",Uc,[e[191]||(e[191]=l("div",{class:"form-label"},"视频简介",-1)),v(L,{modelValue:Y.description,"onUpdate:modelValue":e[36]||(e[36]=p=>Y.description=p),type:"textarea",rows:"4",placeholder:"视频简介会显示在视频下方的标题下方",maxlength:"200","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),v(Ee(ci),{title:"AI实时对话",modelValue:ae.value,"onUpdate:modelValue":e[39]||(e[39]=p=>ae.value=p),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-chat-drawer","destroy-on-close":!1},{footer:y(()=>[l("div",qc,[v(x,{onClick:fe},{default:y(()=>e[204]||(e[204]=[U("取消")])),_:1}),v(x,{type:"primary",onClick:Be},{default:y(()=>e[205]||(e[205]=[U("确认")])),_:1})])]),default:y(()=>[l("div",Mc,[l("div",kc,[e[203]||(e[203]=l("div",{class:"section-title"},[l("div",{class:"section-line"}),l("span",null,"对话设置")],-1)),l("div",Bc,[v(x,{type:"primary",plain:"",onClick:ii},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(yn))]),_:1}),e[194]||(e[194]=U(" 添加问题 "))]),_:1}),v(x,{type:"success",plain:"",onClick:mn},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(ta))]),_:1}),e[195]||(e[195]=U(" 导入问题 "))]),_:1})]),l("div",Nc,[ie.value.length===0?(B(),X("div",Fc,e[196]||(e[196]=[l("p",null,"暂无问题",-1),l("p",{class:"tip-text"},'点击"添加问题"或"导入问题"添加面试问题',-1)]))):(B(),X("div",jc,[v(Ee(xa),{modelValue:ie.value,"onUpdate:modelValue":e[38]||(e[38]=p=>ie.value=p),"item-key":"id",handle:".drag-handle"},{item:y(({element:p,index:re})=>[U(le(p)+" ",1),l("div",Lc,[l("div",Qc,[l("div",Gc,[l("span",zc,"题目"+le(re+1),1),l("span",null,le(p.question),1)]),l("div",$c,[l("div",Jc,[e[198]||(e[198]=l("span",{class:"weight-label"},"权重占比:",-1)),v(st,{modelValue:p.weight,"onUpdate:modelValue":Ce=>p.weight=Ce,min:0,max:100,step:1,size:"small","controls-position":"right"},{suffix:y(()=>e[197]||(e[197]=[U("%")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),l("div",Wc,[e[199]||(e[199]=l("span",{class:"answer-label"},"最多回答次数",-1)),v(ge,{modelValue:p.maxAnswers,"onUpdate:modelValue":Ce=>p.maxAnswers=Ce,size:"small",placeholder:"请选择"},{default:y(()=>[v(z,{label:"1次",value:1}),v(z,{label:"2次",value:2}),v(z,{label:"3次",value:3})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),v(x,{type:"text",onClick:Ce=>ki(re)},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(gt))]),_:1})]),_:2},1032,["onClick"]),v(x,{type:"text",onClick:Ce=>Bi(re)},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(na))]),_:1})]),_:2},1032,["onClick"])])]),l("div",Hc,[l("div",Yc,[e[200]||(e[200]=l("span",{class:"info-label"},"考察能力:",-1)),l("span",null,le(p.ability),1)]),l("div",Xc,[e[201]||(e[201]=l("span",{class:"info-label"},"面试内容:",-1)),l("span",null,le(p.content),1)]),l("div",Zc,[e[202]||(e[202]=l("span",{class:"info-label"},"对话目标:",-1)),l("span",null,le(p.target),1)])])])]),_:1},8,["modelValue"])]))])])])]),_:1},8,["modelValue"]),v(It,{title:"查看问题",modelValue:ye.value,"onUpdate:modelValue":e[48]||(e[48]=p=>ye.value=p),width:"500px","close-on-click-modal":!1,class:"question-dialog"},{footer:y(()=>[l("span",hf,[v(x,{onClick:Ke},{default:y(()=>e[231]||(e[231]=[U("取消")])),_:1})])]),default:y(()=>[l("div",_c,[l("div",ef,[e[206]||(e[206]=l("div",{class:"form-label"},[U(" 题目内容"),l("span",{class:"required"},"*")],-1)),v(L,{modelValue:ee.content,"onUpdate:modelValue":e[40]||(e[40]=p=>ee.content=p),type:"textarea",rows:"4",placeholder:"请描述一次你如何在紧迫的时间内完成一个复杂的后端开发任务的经历",maxlength:"300","show-word-limit":"",disabled:!0},null,8,["modelValue"])]),l("div",tf,[e[207]||(e[207]=l("div",{class:"form-label"},"胜任力标签",-1)),v(ge,{modelValue:Hi.value,"onUpdate:modelValue":e[41]||(e[41]=p=>Hi.value=p),placeholder:"请选择胜任力标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(B(!0),X(Je,null,We(Oe.value,p=>(B(),Ae(z,{key:p.id,label:p.name,value:p.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[208]||(e[208]=l("div",{class:"form-tip"},"选择胜任力标签和胜任力标签,可多选",-1))]),l("div",nf,[e[214]||(e[214]=l("div",{class:"form-label"}," 胜任力配置 ",-1)),l("div",of,[e[210]||(e[210]=l("div",{class:"config-row"},[l("span",{class:"config-label"},"标签"),l("span",{class:"config-label"},"权重")],-1)),(B(!0),X(Je,null,We(ee.competency_tags,(p,re)=>(B(),X("div",{class:"config-row",key:p.id},[l("span",af,le(p.name),1),v(st,{modelValue:p.weight,"onUpdate:modelValue":Ce=>p.weight=Ce,min:0,max:100,step:1,disabled:!0,"controls-position":"right",onChange:Ce=>sl(re,Ce)},null,8,["modelValue","onUpdate:modelValue","onChange"]),e[209]||(e[209]=U(" % "))]))),128))]),l("div",rf,[e[211]||(e[211]=U(" 配置各个胜任力标签的权重,总和需要100% ")),l("span",{class:Ct(["weight-sum",{"weight-error":si()!==100}])}," (当前总计: "+le(si())+"%) ",3),e[212]||(e[212]=l("br",null,null,-1)),v(D,{style:{color:"#409eff","margin-right":"4px","margin-top":"4px"}},{default:y(()=>[v(Ee(Hl))]),_:1}),e[213]||(e[213]=l("span",{style:{color:"#909399","font-size":"11px"}},' 修改任意权重时,其他权重会自动按比例调整以保持总和为100%。点击"平均分配"可快速平均分配所有权重。 ',-1))])]),l("div",lf,[e[215]||(e[215]=l("div",{class:"form-label"},"题目形式",-1)),v(ge,{modelValue:ee.question_form,"onUpdate:modelValue":e[42]||(e[42]=p=>ee.question_form=p),placeholder:"开放问题",class:"full-width",disabled:!0,onChange:al},{default:y(()=>[v(z,{label:"开放问题",value:0}),v(z,{label:"单选题",value:1}),v(z,{label:"看图选答案",value:3}),v(z,{label:"多选题",value:2}),v(z,{label:"填空题",value:6}),v(z,{label:"得分题",value:4}),v(z,{label:"追加型开放问题",value:5})]),_:1},8,["modelValue"]),e[216]||(e[216]=l("div",{class:"form-tip"},"选择题目的形式:开放问题、单选题、多选题、填空题、自言语",-1))]),l("div",sf,[e[217]||(e[217]=l("div",{class:"form-label"},"适用职位",-1)),v(ge,{modelValue:s.value,"onUpdate:modelValue":e[43]||(e[43]=p=>s.value=p),placeholder:"请选择适用职位类型",class:"full-width",disabled:!0},{default:y(()=>[(B(!0),X(Je,null,We(Ue.value,p=>(B(),Ae(z,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[218]||(e[218]=l("div",{class:"form-tip"},"选择题目适用的职位类型,可多选",-1))]),ee.question_form===1||ee.question_form===2||ee.question_form===3?(B(),X("div",df,[e[220]||(e[220]=l("div",{class:"form-label"},"选项",-1)),l("div",null,[e[219]||(e[219]=l("div",{class:"option-header",style:{display:"flex","margin-bottom":"10px","font-weight":"bold"}},[l("span",{style:{flex:"1"}},"选项内容"),l("span",{style:{width:"80px","text-align":"center"}},"是否正确")],-1)),(B(!0),X(Je,null,We(ee.options,(p,re)=>(B(),X("div",{key:re,class:"option-item",style:{display:"flex","align-items":"center","margin-bottom":"10px"}},[v(L,{modelValue:p.text,"onUpdate:modelValue":Ce=>p.text=Ce,placeholder:"请输入选项内容",disabled:!0,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","onUpdate:modelValue"]),v(Kn,{content:"设置为正确答案",placement:"top",effect:"light",disabled:!0},{default:y(()=>[l("div",{onClick:()=>{ee.question_form===1||ee.question_form===3?ee.options.forEach((Ce,Dl)=>{Ce.is_correct=Dl===re}):p.is_correct=!p.is_correct},style:{cursor:"pointer",width:"80px","text-align":"center"}},[ee.question_form===1||ee.question_form===3?(B(),Ae(co,{key:0,disabled:!0,modelValue:p.is_correct,"onUpdate:modelValue":Ce=>p.is_correct=Ce,label:!0},null,8,["modelValue","onUpdate:modelValue"])):(B(),Ae(Ht,{key:1,disabled:!0,modelValue:p.is_correct,"onUpdate:modelValue":Ce=>p.is_correct=Ce},null,8,["modelValue","onUpdate:modelValue"]))],8,uf)]),_:2},1024)]))),128))]),e[221]||(e[221]=l("div",{class:"form-tip"},"添加选项并设置正确答案,单选题只能有一个正确答案,多选题可以有多个正确答案",-1))])):we("",!0),ee.question_form===3?(B(),X("div",cf,[e[222]||(e[222]=l("div",{class:"form-label"},"题目图片",-1)),l("img",{src:ee.question_image_url,alt:""},null,8,ff)])):we("",!0),l("div",vf,[e[223]||(e[223]=l("div",{class:"form-label"},"分类",-1)),v(ge,{modelValue:ee.category,"onUpdate:modelValue":e[44]||(e[44]=p=>ee.category=p),placeholder:"请选择题目分类",class:"full-width",disabled:!0},{default:y(()=>[(B(!0),X(Je,null,We($e.value,p=>(B(),Ae(z,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[224]||(e[224]=l("div",{class:"form-tip"},"选择题目所属分类",-1))]),l("div",pf,[e[225]||(e[225]=l("div",{class:"form-label"},"标签",-1)),v(ge,{modelValue:ee.tags,"onUpdate:modelValue":e[45]||(e[45]=p=>ee.tags=p),placeholder:"请选择标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(B(!0),X(Je,null,We(He.value,p=>(B(),Ae(z,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[226]||(e[226]=l("div",{class:"form-tip"},"选择题目相关标签,可多选",-1))]),l("div",mf,[e[227]||(e[227]=l("div",{class:"form-label"},"建议时长(秒)",-1)),v(st,{modelValue:ee.suggestedDuration,"onUpdate:modelValue":e[46]||(e[46]=p=>ee.suggestedDuration=p),min:0,step:1,"controls-position":"right",placeholder:"请输入建议回答时长",class:"full-width",disabled:!0},null,8,["modelValue"]),e[228]||(e[228]=l("div",{class:"form-tip"},"建议回答题目的时长,单位为秒",-1))]),l("div",gf,[e[229]||(e[229]=l("div",{class:"form-label"},"评价标准",-1)),v(L,{modelValue:ee.scoring_reference,"onUpdate:modelValue":e[47]||(e[47]=p=>ee.scoring_reference=p),type:"textarea",disabled:!0,rows:"4",placeholder:"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",class:"full-width"},null,8,["modelValue"]),e[230]||(e[230]=l("div",{class:"form-tip"},"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",-1))])])]),_:1},8,["modelValue"]),v(It,{title:"选择题目",modelValue:Tn.value,"onUpdate:modelValue":e[49]||(e[49]=p=>Tn.value=p),width:"30%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[l("span",xf,[v(x,{onClick:zi},{default:y(()=>e[232]||(e[232]=[U("取消")])),_:1}),v(x,{type:"primary",onClick:Qr,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[233]||(e[233]=[U("确定")])),_:1})])]),default:y(()=>[l("div",yf,[v(Cl,{ref:"treeRef",data:Xi.value,"node-key":"id",props:bl,"default-expand-all":"","highlight-current":"",onNodeClick:Sl},{default:y(({node:p,data:re})=>[l("div",bf,[l("div",Sf,[v(D,null,{default:y(()=>[v(Il)]),_:1}),l("span",Ef,le(re.title),1)])])]),_:1},8,["data"])])]),_:1},8,["modelValue"]),v(It,{title:"创建自定义题目",modelValue:ao.value,"onUpdate:modelValue":e[51]||(e[51]=p=>ao.value=p),width:"40%","close-on-click-modal":!1,class:"question-bank-form-dialog","before-close":Ki},{default:y(()=>[v(ql,{modelValue:ko.value,"onUpdate:modelValue":e[50]||(e[50]=p=>ko.value=p),"is-edit":Gi.value,onSubmit:ka,onCancel:Ki},null,8,["modelValue","is-edit"])]),_:1},8,["modelValue"]),v(It,{title:"资料收集",modelValue:je.value,"onUpdate:modelValue":e[55]||(e[55]=p=>je.value=p),width:"900px","close-on-click-modal":!1,class:"data-collection-dialog"},{footer:y(()=>[l("span",Qf,[v(x,{onClick:Ba},{default:y(()=>e[243]||(e[243]=[U("取消")])),_:1}),v(x,{type:"primary",onClick:Gr},{default:y(()=>e[244]||(e[244]=[U("确认")])),_:1})])]),default:y(()=>[l("div",If,[l("div",Cf,[e[242]||(e[242]=l("div",{class:"panel-header"},[l("h3",null,"字段显示配置")],-1)),l("div",Af,[e[237]||(e[237]=l("div",{class:"section-title"},"基本信息",-1)),v(Yt,{gutter:20},{default:y(()=>[(B(!0),X(Je,null,We(zr(),(p,re)=>(B(),Ae(Qt,{span:8,key:re},{default:y(()=>[l("div",wf,[l("span",Of,le(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(nt,{modelValue:p.visible,"onUpdate:modelValue":Ce=>p.visible=Ce,disabled:p.label=="姓名"||p.label=="手机号"||p.label=="身份证号",class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue","disabled"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[238]||(e[238]=l("div",{class:"section-title"},"家庭成员信息",-1)),v(Yt,{gutter:20},{default:y(()=>[v(Qt,{span:24},{default:y(()=>[l("div",Tf,[l("span",Df,[U(le(G.family_member.label)+" ",1),G.family_member.visible?(B(),Ae(Vt,{key:0,size:"small",type:"success"},{default:y(()=>e[234]||(e[234]=[U("已启用")])),_:1})):we("",!0)]),v(nt,{modelValue:G.family_member.visible,"onUpdate:modelValue":e[52]||(e[52]=p=>G.family_member.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),G.family_member.visible?(B(),Ae(Yt,{key:0,gutter:20},{default:y(()=>[(B(!0),X(Je,null,We(G.family_member.fields,(p,re)=>(B(),Ae(Qt,{span:8,key:re},{default:y(()=>[l("div",Vf,[l("span",Pf,le(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(nt,{modelValue:p.visible,"onUpdate:modelValue":Ce=>p.visible=Ce,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):we("",!0),e[239]||(e[239]=l("div",{class:"section-title"},"教育经历",-1)),v(Yt,{gutter:20},{default:y(()=>[v(Qt,{span:24},{default:y(()=>[l("div",Rf,[l("span",Uf,[U(le(G.education.label)+" ",1),G.education.visible?(B(),Ae(Vt,{key:0,size:"small",type:"success"},{default:y(()=>e[235]||(e[235]=[U("已启用")])),_:1})):we("",!0)]),v(nt,{modelValue:G.education.visible,"onUpdate:modelValue":e[53]||(e[53]=p=>G.education.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),G.education.visible?(B(),Ae(Yt,{key:1,gutter:20},{default:y(()=>[(B(!0),X(Je,null,We(G.education.fields,(p,re)=>(B(),Ae(Qt,{span:8,key:re},{default:y(()=>[l("div",Kf,[l("span",Mf,le(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(nt,{modelValue:p.visible,"onUpdate:modelValue":Ce=>p.visible=Ce,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):we("",!0),e[240]||(e[240]=l("div",{class:"section-title"},"专业技能",-1)),v(Yt,{gutter:20},{default:y(()=>[(B(!0),X(Je,null,We($r(),(p,re)=>(B(),Ae(Qt,{span:8,key:re},{default:y(()=>[l("div",kf,[l("span",Bf,le(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(nt,{modelValue:p.visible,"onUpdate:modelValue":Ce=>p.visible=Ce,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[241]||(e[241]=l("div",{class:"section-title"},"工作经历",-1)),v(Yt,{gutter:20},{default:y(()=>[v(Qt,{span:24},{default:y(()=>[l("div",Nf,[l("span",Ff,[U(le(G.work_experience.label)+" ",1),G.work_experience.visible?(B(),Ae(Vt,{key:0,size:"small",type:"success"},{default:y(()=>e[236]||(e[236]=[U("已启用")])),_:1})):we("",!0)]),v(nt,{modelValue:G.work_experience.visible,"onUpdate:modelValue":e[54]||(e[54]=p=>G.work_experience.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),G.work_experience.visible?(B(),Ae(Yt,{key:2,gutter:20},{default:y(()=>[(B(!0),X(Je,null,We(G.work_experience.fields,(p,re)=>(B(),Ae(Qt,{span:8,key:re},{default:y(()=>[l("div",jf,[l("span",Lf,le(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(nt,{modelValue:p.visible,"onUpdate:modelValue":Ce=>p.visible=Ce,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):we("",!0)])])])]),_:1},8,["modelValue"]),v(It,{title:"简历收集",modelValue:yt.value,"onUpdate:modelValue":e[57]||(e[57]=p=>yt.value=p),width:"500px","close-on-click-modal":!1,class:"resume-collection-dialog"},{footer:y(()=>[l("span",$f,[v(x,{onClick:Ye},{default:y(()=>e[246]||(e[246]=[U("取消")])),_:1}),v(x,{type:"primary",onClick:Xe},{default:y(()=>e[247]||(e[247]=[U("确认")])),_:1})])]),default:y(()=>[l("div",Gf,[l("div",zf,[e[245]||(e[245]=l("div",{class:"form-label"},"步骤名称",-1)),v(L,{modelValue:Et.title,"onUpdate:modelValue":e[56]||(e[56]=p=>Et.title=p),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":"",disabled:!0},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),v(It,{title:"添加代码笔试步骤",modelValue:zn.value,"onUpdate:modelValue":e[60]||(e[60]=p=>zn.value=p),width:"500px","close-on-click-modal":!1,class:"code-test-dialog"},{footer:y(()=>[l("span",iv,[v(x,{onClick:Ni},{default:y(()=>e[256]||(e[256]=[U("取消")])),_:1}),v(x,{type:"primary",onClick:ja},{default:y(()=>e[257]||(e[257]=[U("确认")])),_:1})])]),default:y(()=>[l("div",Jf,[l("div",Wf,[e[248]||(e[248]=l("div",{class:"form-label"},"步骤名称",-1)),v(L,{modelValue:it.title,"onUpdate:modelValue":e[58]||(e[58]=p=>it.title=p),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),l("div",Hf,[e[249]||(e[249]=l("div",{class:"form-label"},"自动评判试卷",-1)),v(nt,{modelValue:it.autoJudge,"onUpdate:modelValue":e[59]||(e[59]=p=>it.autoJudge=p)},null,8,["modelValue"]),l("span",Yf,le(it.autoJudge?"开启":"关闭"),1)]),l("div",Xf,[e[255]||(e[255]=l("div",{class:"form-label"},"添加考试试卷",-1)),l("div",Zf,[it.selectedPaper?(B(),X("div",_f,[l("div",ev,[l("div",tv,le(it.selectedPaper.title),1),l("div",nv,[l("span",null,le(it.selectedPaper.questionCount)+"道题",1),l("span",null,le(it.selectedPaper.duration)+"分钟",1),l("span",null,le(it.selectedPaper.difficulty),1)])]),l("div",ov,[v(x,{type:"text",onClick:Qa},{default:y(()=>e[252]||(e[252]=[U("查看")])),_:1}),v(x,{type:"text",onClick:Ga},{default:y(()=>e[253]||(e[253]=[U("更换")])),_:1}),v(x,{type:"text",onClick:za},{default:y(()=>e[254]||(e[254]=[U("删除")])),_:1})])])):(B(),X("div",qf,[v(x,{type:"primary",plain:"",onClick:La},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(yn))]),_:1}),e[250]||(e[250]=U(" 添加考卷 "))]),_:1}),e[251]||(e[251]=l("p",{class:"tip-text"},"多选时,考生会随机分配到一套试卷",-1))]))])])])]),_:1},8,["modelValue"]),v(Ee(ci),{title:"添加打字测试步骤",modelValue:$n.value,"onUpdate:modelValue":e[68]||(e[68]=p=>$n.value=p),size:"60%","close-on-click-modal":!1,class:"typing-test-dialog","destroy-on-close":!1},{footer:y(()=>[l("span",yv,[v(x,{onClick:Fi},{default:y(()=>e[274]||(e[274]=[U("取消")])),_:1}),v(x,{type:"primary",onClick:$a},{default:y(()=>e[275]||(e[275]=[U("保存")])),_:1})])]),default:y(()=>[l("div",av,[l("div",rv,[e[259]||(e[259]=l("div",{class:"form-label"},"选择文章",-1)),l("div",lv,[v(x,{type:"primary",size:"small",class:"add-article-btn"},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(yn))]),_:1}),e[258]||(e[258]=U(" 添加文章 "))]),_:1})])]),l("div",sv,[e[262]||(e[262]=l("div",{class:"form-label"},"候选人选择文章方式",-1)),v(Al,{modelValue:tt.selectionMode,"onUpdate:modelValue":e[61]||(e[61]=p=>tt.selectionMode=p)},{default:y(()=>[v(co,{label:"random"},{default:y(()=>e[260]||(e[260]=[U("随机抽取")])),_:1}),v(co,{label:"self"},{default:y(()=>e[261]||(e[261]=[U("候选人自主选择")])),_:1})]),_:1},8,["modelValue"])]),l("div",dv,[e[264]||(e[264]=l("div",{class:"form-label"},"测试时间",-1)),l("div",uv,[v(L,{modelValue:tt.duration,"onUpdate:modelValue":e[62]||(e[62]=p=>tt.duration=p),class:"time-input"},null,8,["modelValue"]),e[263]||(e[263]=l("span",{class:"time-unit"},"分钟",-1))])]),l("div",cv,[e[266]||(e[266]=l("div",{class:"form-label"},"登录界面预览图(建议尺寸1024*768像素,最大不要超过5M)",-1)),v(Zi,{class:"preview-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"image/*"},{default:y(()=>[l("div",fv,[v(D,null,{default:y(()=>[v(Ee(yn))]),_:1}),e[265]||(e[265]=l("div",{class:"upload-text"},"添加图片",-1))])]),_:1})]),l("div",vv,[e[267]||(e[267]=l("div",{class:"form-label"},"注意事项内容(在登录界面显示)",-1)),v(L,{modelValue:tt.notes,"onUpdate:modelValue":e[63]||(e[63]=p=>tt.notes=p),type:"textarea",rows:"4",placeholder:"请输入注意事项内容",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),l("div",pv,[e[268]||(e[268]=l("div",{class:"form-label"},"测试页面标题",-1)),v(L,{modelValue:tt.pageTitle,"onUpdate:modelValue":e[64]||(e[64]=p=>tt.pageTitle=p),placeholder:"测试页面标题"},null,8,["modelValue"])]),l("div",mv,[e[270]||(e[270]=l("div",{class:"form-label"},"视频监控",-1)),v(Ht,{modelValue:tt.videoMonitoring,"onUpdate:modelValue":e[65]||(e[65]=p=>tt.videoMonitoring=p)},{default:y(()=>e[269]||(e[269]=[U("视频监控")])),_:1},8,["modelValue"])]),l("div",gv,[e[273]||(e[273]=l("div",{class:"form-label"},"通过标准",-1)),l("div",hv,[v(Ht,{modelValue:tt.passCriteria.speed,"onUpdate:modelValue":e[66]||(e[66]=p=>tt.passCriteria.speed=p)},{default:y(()=>e[271]||(e[271]=[U("速度")])),_:1},8,["modelValue"]),v(Ht,{modelValue:tt.passCriteria.accuracy,"onUpdate:modelValue":e[67]||(e[67]=p=>tt.passCriteria.accuracy=p)},{default:y(()=>e[272]||(e[272]=[U("正确率")])),_:1},8,["modelValue"])])])])]),_:1},8,["modelValue"]),v(It,{title:"面试设置",modelValue:ro.value,"onUpdate:modelValue":e[77]||(e[77]=p=>ro.value=p),width:"60%","close-on-click-modal":!1,class:"interview-settings-dialog"},{footer:y(()=>[l("span",Wv,[v(x,{onClick:Jr},{default:y(()=>e[294]||(e[294]=[U("取消")])),_:1}),v(x,{type:"primary",onClick:Wr},{default:y(()=>e[295]||(e[295]=[U("完成")])),_:1})])]),default:y(()=>[l("div",bv,[l("div",Sv,[e[281]||(e[281]=l("div",{class:"section-header"},[l("span",{class:"section-title"},"防作弊设置")],-1)),l("div",Ev,[e[276]||(e[276]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「人脸一致性检测」"),l("p",{class:"setting-desc"},"选取后,将会在候选人离开前置摄像头时进行提示,默认开启")],-1)),v(nt,{modelValue:Le.faceConsistency,"onUpdate:modelValue":e[69]||(e[69]=p=>Le.faceConsistency=p),disabled:!0},null,8,["modelValue"])]),l("div",xv,[e[277]||(e[277]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 防截屏 / 录屏 」"),l("p",{class:"setting-desc"},"选取后,将会在候选人截屏或录屏时进行提示,为防止泄题,默认开启")],-1)),v(nt,{modelValue:Le.preventScreenshot,"onUpdate:modelValue":e[70]||(e[70]=p=>Le.preventScreenshot=p),disabled:!0},null,8,["modelValue"])]),l("div",Iv,[e[279]||(e[279]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 切 屏 预 制 」"),l("p",{class:"setting-desc"},"选取后,将会在候选人切屏时进行提示,为防止作弊,默认开启")],-1)),v(nt,{modelValue:Le.screenSwitchAlert,"onUpdate:modelValue":e[71]||(e[71]=p=>Le.screenSwitchAlert=p),disabled:!0},{default:y(()=>e[278]||(e[278]=[l("span",{class:"switch-desc"},"切屏超过 2 次关闭,作废本关面试",-1)])),_:1},8,["modelValue"])]),l("div",Cv,[e[280]||(e[280]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「情绪/眼动检测」"),l("p",{class:"setting-desc"},"该现已,将对候选人整场面试的情绪与压力表现进行分析,建议开启")],-1)),v(nt,{modelValue:Le.positionDetection,"onUpdate:modelValue":e[72]||(e[72]=p=>Le.positionDetection=p)},null,8,["modelValue"])])]),l("div",Av,[e[293]||(e[293]=l("div",{class:"section-header"},[l("span",{class:"section-title"},"其他设置")],-1)),l("div",wv,[l("div",Ov,[e[283]||(e[283]=l("span",{class:"setting-name"},"重复面试",-1)),l("div",Tv,[e[282]||(e[282]=l("p",{class:"setting-desc",style:{}},"选取后,将允许面试者进行重复面试",-1)),v(nt,{modelValue:Le.reviewInterview,"onUpdate:modelValue":e[73]||(e[73]=p=>Le.reviewInterview=p)},null,8,["modelValue"])])])]),l("div",Dv,[l("div",Vv,[e[286]||(e[286]=l("span",{class:"setting-name"},"开场词",-1)),Dn.value?(B(),X("div",Uv,[v(L,{modelValue:on.value,"onUpdate:modelValue":e[74]||(e[74]=p=>on.value=p),type:"textarea",rows:"5",maxlength:"150",placeholder:"请输入开始前提示内容","show-word-limit":""},null,8,["modelValue"]),l("div",Kv,[v(x,{size:"small",onClick:Xr},{default:y(()=>e[284]||(e[284]=[U("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Zr},{default:y(()=>e[285]||(e[285]=[U("保存")])),_:1})])])):(B(),X("div",Pv,[l("p",Rv,le(Le.beforeStartText),1),v(x,{type:"text",class:"edit-desc-btn",onClick:Yr},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(gt))]),_:1})]),_:1})]))])]),l("div",Mv,[l("div",kv,[e[289]||(e[289]=l("span",{class:"setting-name"},"开始后提醒",-1)),lo.value?(B(),X("div",Fv,[v(L,{modelValue:Vn.value,"onUpdate:modelValue":e[75]||(e[75]=p=>Vn.value=p),type:"textarea",rows:"2",placeholder:"请输入开始后提醒内容",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),l("div",jv,[v(x,{size:"small",onClick:_r},{default:y(()=>e[287]||(e[287]=[U("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:el},{default:y(()=>e[288]||(e[288]=[U("保存")])),_:1})])])):(B(),X("div",Bv,[l("p",Nv,le(Le.afterStartText),1),v(x,{type:"text",class:"edit-desc-btn",onClick:qr},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(gt))]),_:1})]),_:1})]))])]),l("div",Lv,[l("div",Qv,[e[292]||(e[292]=l("span",{class:"setting-name"},"结束语",-1)),so.value?(B(),X("div",$v,[v(L,{modelValue:Pn.value,"onUpdate:modelValue":e[76]||(e[76]=p=>Pn.value=p),type:"textarea",rows:"2",placeholder:"请输入免责声明内容",maxlength:"200","show-word-limit":""},null,8,["modelValue"]),l("div",Jv,[v(x,{size:"small",onClick:nl},{default:y(()=>e[290]||(e[290]=[U("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:ol},{default:y(()=>e[291]||(e[291]=[U("保存")])),_:1})])])):(B(),X("div",Gv,[l("p",zv,le(Le.disclaimerText),1),v(x,{type:"text",class:"edit-desc-btn",onClick:tl},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(gt))]),_:1})]),_:1})]))])])])])]),_:1},8,["modelValue"]),v(It,{title:"选择题目",modelValue:h.value,"onUpdate:modelValue":e[82]||(e[82]=p=>h.value=p),width:"70%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[l("span",ep,[v(x,{onClick:N},{default:y(()=>e[296]||(e[296]=[U("预览已选")])),_:1}),v(x,{onClick:zi},{default:y(()=>e[297]||(e[297]=[U("取消")])),_:1}),v(x,{type:"primary",onClick:E,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[298]||(e[298]=[U("确定")])),_:1})])]),default:y(()=>[l("div",Hv,[v(Yt,{class:"document-el-row"},{default:y(()=>[v(Qt,{span:3},{default:y(()=>[l("div",Yv,[v(cs,{ref_key:"treeListRef",ref:pl,treeData:Yi.value,onTreeClick:ml,onUpdateDocument:gl,onDeleteDocument:hl},null,8,["treeData"])])]),_:1}),v(Qt,{span:21},{default:y(()=>[l("div",Xv,[l("div",Zv,[v(L,{modelValue:io.value,"onUpdate:modelValue":e[78]||(e[78]=p=>io.value=p),placeholder:"请输入关键词搜索题目",clearable:"",onClear:Bo,onKeyup:Fl(Bo,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:y(()=>[v(x,{onClick:Bo},{default:y(()=>[v(D,null,{default:y(()=>[v(Ee(Yl))]),_:1})]),_:1})]),_:1},8,["modelValue"]),v(ge,{modelValue:lt.question_form,"onUpdate:modelValue":e[79]||(e[79]=p=>lt.question_form=p),placeholder:"题目类型",clearable:"",onChange:Bo,style:{width:"120px"}},{default:y(()=>[v(z,{label:"开放问题",value:0}),v(z,{label:"单选题",value:1}),v(z,{label:"多选题",value:2}),v(z,{label:"看图选答案",value:3}),v(z,{label:"得分题",value:4}),v(z,{label:"追加型开放问题",value:5}),v(z,{label:"填空题",value:6})]),_:1},8,["modelValue"])])]),l("div",qv,[v(qi,{data:rt.value,style:{width:"100%"},onSelectionChange:Lr},{default:y(()=>[v(Fo,{type:"selection",width:"55"}),v(Fo,{prop:"question",label:"题目标题"}),v(Fo,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),l("div",_v,[v(wl,{"current-page":lt.page,"onUpdate:currentPage":e[80]||(e[80]=p=>lt.page=p),"page-size":lt.pageSize,"onUpdate:pageSize":e[81]||(e[81]=p=>lt.pageSize=p),total:Wt.value,"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next",onSizeChange:b,onCurrentChange:S},null,8,["current-page","page-size","total"])])])]),_:1})]),_:1})])]),_:1},8,["modelValue"]),v(It,{title:uo.value>=0?"编辑候选人提问环节":"配置候选人提问环节",modelValue:Un.value,"onUpdate:modelValue":e[86]||(e[86]=p=>Un.value=p),width:"600px","close-on-click-modal":!1,class:"candidate-questions-dialog"},{footer:y(()=>[l("span",ap,[v(x,{onClick:se},{default:y(()=>e[305]||(e[305]=[U("取消")])),_:1}),v(x,{type:"primary",onClick:ne},{default:y(()=>e[306]||(e[306]=[U("确认")])),_:1})])]),default:y(()=>[l("div",tp,[l("div",np,[e[299]||(e[299]=l("div",{class:"form-label"},[U(" 环节名称"),l("span",{class:"required"},"*")],-1)),v(L,{modelValue:Pe.title,"onUpdate:modelValue":e[83]||(e[83]=p=>Pe.title=p),placeholder:"请输入环节名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),l("div",op,[e[300]||(e[300]=l("div",{class:"form-label"},[U(" 提问时长"),l("span",{class:"required"},"*")],-1)),v(st,{modelValue:Pe.duration,"onUpdate:modelValue":e[84]||(e[84]=p=>Pe.duration=p),min:1,max:30,step:1,"controls-position":"right",style:{width:"200px"}},null,8,["modelValue"]),e[301]||(e[301]=l("span",{class:"form-unit"},"分钟",-1)),e[302]||(e[302]=l("div",{class:"form-tip"},"候选人可用于提问的总时长",-1))]),l("div",ip,[e[303]||(e[303]=l("div",{class:"form-label"},"环节描述",-1)),v(L,{modelValue:Pe.description,"onUpdate:modelValue":e[85]||(e[85]=p=>Pe.description=p),type:"textarea",rows:"3",placeholder:"请输入环节描述",maxlength:"200"},null,8,["modelValue"]),e[304]||(e[304]=l("div",{class:"form-tip"},"向候选人说明此环节的目的和意义",-1))])])]),_:1},8,["title","modelValue"]),v(It,{modelValue:No.value,"onUpdate:modelValue":e[90]||(e[90]=p=>No.value=p),title:"肢体检测配置",width:"600px","close-on-click-modal":!1},{footer:y(()=>[l("span",rp,[v(x,{onClick:fl,size:"small"},{default:y(()=>e[311]||(e[311]=[U("取消")])),_:1}),v(x,{type:"primary",onClick:vl,size:"small"},{default:y(()=>e[312]||(e[312]=[U("确定")])),_:1})])]),default:y(()=>[v(Tl,{model:an.value,"label-width":"120px"},{default:y(()=>[v(di,{label:"检测时长"},{default:y(()=>[v(st,{modelValue:an.value.duration,"onUpdate:modelValue":e[87]||(e[87]=p=>an.value.duration=p),min:1,max:30,step:1,"controls-position":"right"},null,8,["modelValue"]),e[307]||(e[307]=U(" 分钟 "))]),_:1}),v(di,{label:"检测项目"},{default:y(()=>[v(Ol,{modelValue:an.value.detectionItems,"onUpdate:modelValue":e[88]||(e[88]=p=>an.value.detectionItems=p)},{default:y(()=>[v(Ht,{label:"face"},{default:y(()=>e[308]||(e[308]=[U("面部表情")])),_:1}),v(Ht,{label:"pose"},{default:y(()=>e[309]||(e[309]=[U("肢体姿态")])),_:1}),v(Ht,{label:"gesture"},{default:y(()=>e[310]||(e[310]=[U("手势动作")])),_:1})]),_:1},8,["modelValue"])]),_:1}),v(di,{label:"提示文本"},{default:y(()=>[v(L,{modelValue:an.value.promptText,"onUpdate:modelValue":e[89]||(e[89]=p=>an.value.promptText=p),type:"textarea",rows:3,placeholder:"请输入提示文本"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),v(It,{modelValue:k.value,"onUpdate:modelValue":e[92]||(e[92]=p=>k.value=p),title:"职位问题预览",width:"60%","close-on-click-modal":!1},{default:y(()=>[l("div",lp,[l("div",sp,"已绑定的问题("+le(P.value.length)+"):",1),v(qi,{data:P.value,style:{width:"100%"}},{default:y(()=>[v(Fo,{prop:"question",label:"问题内容","min-width":"300","show-overflow-tooltip":""})]),_:1},8,["data"])]),l("div",dp,[v(x,{type:"primary",onClick:e[91]||(e[91]=p=>k.value=!1)},{default:y(()=>e[313]||(e[313]=[U("关闭")])),_:1})])]),_:1},8,["modelValue"])])}}}),xp=fs(up,[["__scopeId","data-v-78157f90"]]);export{xp as default};
|