12345678910 |
- import{a as Dl,aH as Vl,aB as Pl,r as Q,_ as _e,f as ui,q as Rl,W as Ul,w as Kl,aj as Oe,at as Ml,c as Y,o as k,b as l,S as v,K as y,P as M,Q as re,u as be,M as we,J as Ce,R as Ge,a9 as ze,L as jo,G as Ct,T as _i,Y as kl,F as Bl,a7 as Nl}from"./vue.D1BjjNmv.js";import{b as Fl,c as jl,C as Ll,U as At}from"./api.DWtlNtqk.js";import{a9 as Ql,g as Gl,aa as zl,c as $l,E as P,Y as mt,V as hn,ab as Jl,ac as ea,Z as ta,ad as ci,ae as Wl,af as Hl,S as Xt,$ as na}from"./index.Bk_eBqy8.js";import{G as Mn,a as Yl,b as Xl,Q as Zl,c as Zt,A as fi,d as oa,U as Pt,C as vi,e as pi,f as ia,g as ql,h as _l,B as es,S as ts,i as ns,j as aa,k as os,l as is,m as as,n as rs}from"./QuestionBankForm.Cv74LX9e.js";import{g as ls}from"./pcaData.5HEg6BqW.js";import{A as ss}from"./api.DampbaaT.js";import ds from"./treeList.XD4hSVza.js";import{G as ra,a as la,b as sa}from"./api.D3wwRmJS.js";import{_ as us}from"./_plugin-vue_export-helper.DlAUqK2U.js";import"./QuestionOptionsEditor.e0gHieJV.js";import"./BlankAnswerEditor.CI_z8z3V.js";const da="/assets/sheng.BKW1Im68.png",cs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAImCAQAAAAGHG0zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFyGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNS0wNi0xM1QxNzowMToyMCswODowMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNDE0NGJjZC05NWJlLTMxNGMtODlmZC01MTk0MTdmODc5OWEiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplYzMyM2E1Zi04ZWZiLTgxNGUtYWMzOS05Nzc3ODNiNDUzYjQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIHN0RXZ0OndoZW49IjIwMjUtMDYtMTNUMTc6MDE6MjArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4wIChXaW5kb3dzKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MzQxNDRiY2QtOTViZS0zMTRjLTg5ZmQtNTE5NDE3Zjg3OTlhIiBzdEV2dDp3aGVuPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JOr+gQAABzlJREFUeJzt1rENwzAQBEHTUOHsnEoVKhDwG8xUcNHi1vkBdPynBwA8iRKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHJND3hrn+kFULXX9IIveUpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEp60wvAHjwlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSDlmh7w1j7TC6Bqr+kFX/KUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUtaZXgDw4CkBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHIDp74LS5/6zzUAAAAASUVORK5CYII=";var Ia={exports:{}};/**!
- * Sortable 1.14.0
- * @author RubaXa <trash@rubaxa.org>
- * @author owenm <owen23355@gmail.com>
- * @license MIT
- */function ua(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 Gt(d){for(var i=1;i<arguments.length;i++){var o=arguments[i]!=null?arguments[i]:{};i%2?ua(Object(o),!0).forEach(function(s){fs(d,s,o[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(o)):ua(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 fs(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 vs(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 ps(d,i){if(d==null)return{};var o=vs(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 ms(d){return gs(d)||hs(d)||ys(d)||bs()}function gs(d){if(Array.isArray(d))return Ai(d)}function hs(d){if(typeof Symbol<"u"&&d[Symbol.iterator]!=null||d["@@iterator"]!=null)return Array.from(d)}function ys(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 bs(){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 Ss="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),ca=qt(/firefox/i),bo=qt(/safari/i)&&!qt(/chrome/i)&&!qt(/android/i),Ca=qt(/iP(ad|od|hone)/i),Es=qt(/chrome/i)&&qt(/android/i),Aa={capture:!1,passive:!1};function Se(d,i,o){d.addEventListener(i,o,!_t&&Aa)}function ye(d,i,o){d.removeEventListener(i,o,!_t&&Aa)}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 xs(d){return d.host&&d!==document&&d.host.nodeType?d.host:d.parentNode}function Bt(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=xs(d))}return null}var fa=/\s+/g;function je(d,i,o){if(d&&i)if(d.classList)d.classList[o?"add":"remove"](i);else{var s=(" "+d.className+" ").replace(fa," ").replace(" "+i+" "," ");d.className=(s+(o?" "+i:"")).replace(fa," ")}}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 En(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 wa(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 Qt(){var d=document.scrollingElement;return d||document.documentElement}function Ne(d,i,o,s,n){if(!(!d.getBoundingClientRect&&d!==window)){var c,t,a,r,u,g,m;if(d!==window&&d.parentNode&&d!==Qt()?(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=En(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 va(d,i,o){for(var s=sn(d,!0),n=Ne(d)[i];s;){var c=Ne(s)[o],t=void 0;if(t=n>=c,!t)return s;if(s===Qt())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)&&Bt(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 We(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 pa(d){var i=0,o=0,s=Qt();if(d)do{var n=En(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 Is(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 Qt();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 Qt();if(s||i)return o;s=!0}}while(o=o.parentNode);return Qt()}function Cs(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 Oa(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 As(){clearTimeout(So),So=void 0}function Ta(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 ma(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 ft="Sortable"+new Date().getTime();function ws(){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:Ne(n)});var c=Gt({},d[d.length-1].rect);if(n.thisAnimationDuration){var t=En(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(Is(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=Ne(u),h=u.prevFromRect,b=u.prevToRect,S=a.rect,E=En(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=Ts(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=En(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=Os(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 Os(d){return d.offsetWidth}function Ts(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](Gt({sortable:o},s)),o.options[t.pluginName]&&o[t.pluginName][i]&&o[t.pluginName][i](Gt({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[ft],!!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=Gt(Gt({},S),Ao.getEventProperties(s,i));for(var B in O)E[B]=O[B];o&&o.dispatchEvent(E),I[w]&&I[w].call(i,E)}}var Ds=["evt"],yt=function(i,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=s.evt,c=ps(s,Ds);Ao.pluginEvent.bind(ce)(i,o,Gt({dragEl:H,parentEl:$e,ghostEl:he,rootEl:Be,nextEl:Sn,lastDownEl:Ho,cloneEl:Je,cloneHidden:ln,dragStarted:go,putSortable:lt,activeSortable:ce.active,originalEvent:n,oldIndex:jn,oldDraggableIndex:Eo,newIndex:Ot,newDraggableIndex:rn,hideGhostForTarget:Ra,unhideGhostForTarget:Ua,cloneNowHidden:function(){ln=!0},cloneNowShown:function(){ln=!1},dispatchSortableEvent:function(a){gt({sortable:o,name:a,originalEvent:n})}},c))};function gt(d){mo(Gt({putSortable:lt,cloneEl:Je,targetEl:H,rootEl:Be,oldIndex:jn,oldDraggableIndex:Eo,newIndex:Ot,newDraggableIndex:rn},d))}var H,$e,he,Be,Sn,Ho,Je,ln,jn,Ot,Eo,rn,Lo,lt,Fn=!1,_o=!1,ei=[],yn,Mt,yi,bi,ga,ha,go,Bn,xo,Io=!1,Qo=!1,Yo,ct,Si=[],wi=!1,ti=[],oi=typeof document<"u",Go=Ca,ya=Co||_t?"cssFloat":"float",Vs=oi&&!Es&&!Ca&&"draggable"in document.createElement("div"),Da=function(){if(oi){if(_t)return!1;var d=document.createElement("x");return d.style.cssText="pointer-events:auto",d.style.pointerEvents==="auto"}}(),Va=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)+Ne(c).width,g=r&&parseInt(r.marginLeft)+parseInt(r.marginRight)+Ne(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[ya]==="none"||t&&s[ya]==="none"&&u+g>n)?"vertical":"horizontal"},Ps=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},Rs=function(i,o){var s;return ei.some(function(n){var c=n[ft].options.emptyInsertThreshold;if(!(!c||Vi(n))){var t=Ne(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},Pa=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},Ra=function(){!Da&&he&&oe(he,"display","none")},Ua=function(){!Da&&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 bn=function(i){if(H){i=i.touches?i.touches[0]:i;var o=Rs(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[ft]._onDragOver(s)}}},Us=function(i){H&&H.parentNode[ft]._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[ft]=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 Va(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]);Pa(i);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=i.forceFallback?!1:Vs,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?Se(d,"pointerdown",this._onTapStart):(Se(d,"mousedown",this._onTapStart),Se(d,"touchstart",this._onTapStart)),this.nativeDraggable&&(Se(d,"dragover",this),Se(d,"dragenter",this)),ei.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),Ut(this,ws())}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,H):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(Ls(s),!H&&!(/mousedown|pointerdown/.test(t)&&i.button!==0||n.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&bo&&r&&r.tagName.toUpperCase()==="SELECT")&&(r=Bt(r,n.draggable,s,!1),!(r&&r.animated)&&Ho!==r)){if(jn=We(r),Eo=We(r,n.draggable),typeof g=="function"){if(g.call(this,i,r,this)){gt({sortable:o,rootEl:u,name:"filter",targetEl:r,toEl:s,fromEl:s}),yt("filter",o,{evt:i}),c&&i.cancelable&&i.preventDefault();return}}else if(g&&(g=g.split(",").some(function(m){if(m=Bt(u,m.trim(),s,!1),m)return gt({sortable:o,rootEl:m,name:"filter",targetEl:r,fromEl:s,toEl:s}),yt("filter",o,{evt:i}),!0}),g)){c&&i.cancelable&&i.preventDefault();return}n.handle&&!Bt(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&&!H&&s.parentNode===c){var u=Ne(s);if(Be=c,H=s,$e=H.parentNode,Sn=H.nextSibling,Ho=s,Lo=t.group,ce.dragged=H,yn={target:H,clientX:(o||i).clientX,clientY:(o||i).clientY},ga=yn.clientX-u.left,ha=yn.clientY-u.top,this._lastX=(o||i).clientX,this._lastY=(o||i).clientY,H.style["will-change"]="all",r=function(){if(yt("delayEnded",n,{evt:i}),ce.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!ca&&n.nativeDraggable&&(H.draggable=!0),n._triggerDragStart(i,o),gt({sortable:n,name:"choose",originalEvent:i}),je(H,t.chosenClass,!0)},t.ignore.split(",").forEach(function(g){wa(H,g.trim(),Ei)}),Se(a,"dragover",bn),Se(a,"mousemove",bn),Se(a,"touchmove",bn),Se(a,"mouseup",n._onDrop),Se(a,"touchend",n._onDrop),Se(a,"touchcancel",n._onDrop),ca&&this.nativeDraggable&&(this.options.touchStartThreshold=4,H.draggable=!0),yt("delayStart",this,{evt:i}),t.delay&&(!t.delayOnTouchOnly||o)&&(!this.nativeDraggable||!(Co||_t))){if(ce.eventCanceled){this._onDrop();return}Se(a,"mouseup",n._disableDelayedDrag),Se(a,"touchend",n._disableDelayedDrag),Se(a,"touchcancel",n._disableDelayedDrag),Se(a,"mousemove",n._delayedDragTouchMoveHandler),Se(a,"touchmove",n._delayedDragTouchMoveHandler),t.supportPointer&&Se(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(){H&&Ei(H),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var i=this.el.ownerDocument;ye(i,"mouseup",this._disableDelayedDrag),ye(i,"touchend",this._disableDelayedDrag),ye(i,"touchcancel",this._disableDelayedDrag),ye(i,"mousemove",this._delayedDragTouchMoveHandler),ye(i,"touchmove",this._delayedDragTouchMoveHandler),ye(i,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(i,o){o=o||i.pointerType=="touch"&&i,!this.nativeDraggable||o?this.options.supportPointer?Se(document,"pointermove",this._onTouchMove):o?Se(document,"touchmove",this._onTouchMove):Se(document,"mousemove",this._onTouchMove):(Se(H,"dragend",this),Se(Be,"dragstart",this._onDragStart));try{document.selection?Xo(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(i,o){if(Fn=!1,Be&&H){yt("dragStarted",this,{evt:o}),this.nativeDraggable&&Se(document,"dragover",Us);var s=this.options;!i&&je(H,s.dragClass,!1),je(H,s.ghostClass,!0),ce.active=this,i&&this._appendGhost(),gt({sortable:this,name:"start",originalEvent:o})}else this._nulling()},_emulateDragOver:function(){if(Mt){this._lastX=Mt.clientX,this._lastY=Mt.clientY,Ra();for(var i=document.elementFromPoint(Mt.clientX,Mt.clientY),o=i;i&&i.shadowRoot&&(i=i.shadowRoot.elementFromPoint(Mt.clientX,Mt.clientY),i!==o);)o=i;if(H.parentNode[ft]._isOutsideThisEl(i),o)do{if(o[ft]){var s=void 0;if(s=o[ft]._onDragOver({clientX:Mt.clientX,clientY:Mt.clientY,target:i,rootEl:o}),s&&!this.options.dragoverBubble)break}i=o}while(o=o.parentNode);Ua()}},_onTouchMove:function(i){if(yn){var o=this.options,s=o.fallbackTolerance,n=o.fallbackOffset,c=i.touches?i.touches[0]:i,t=he&&En(he,!0),a=he&&t&&t.a,r=he&&t&&t.d,u=Go&&ct&&pa(ct),g=(c.clientX-yn.clientX+n.x)/(a||1)+(u?u[0]-Si[0]:0)/(a||1),m=(c.clientY-yn.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,Mt=c}i.cancelable&&i.preventDefault()}},_appendGhost:function(){if(!he){var i=this.options.fallbackOnBody?document.body:Be,o=Ne(H,!0,Go,!0,i),s=this.options;if(Go){for(ct=i;oe(ct,"position")==="static"&&oe(ct,"transform")==="none"&&ct!==document;)ct=ct.parentNode;ct!==document.body&&ct!==document.documentElement?(ct===document&&(ct=Qt()),o.top+=ct.scrollTop,o.left+=ct.scrollLeft):ct=Qt(),Si=pa(ct)}he=H.cloneNode(!0),je(he,s.ghostClass,!1),je(he,s.fallbackClass,!0),je(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",ga/parseInt(he.style.width)*100+"% "+ha/parseInt(he.style.height)*100+"%")}},_onDragStart:function(i,o){var s=this,n=i.dataTransfer,c=s.options;if(yt("dragStart",this,{evt:i}),ce.eventCanceled){this._onDrop();return}yt("setupClone",this),ce.eventCanceled||(Je=Pi(H),Je.draggable=!1,Je.style["will-change"]="",this._hideClone(),je(Je,this.options.chosenClass,!1),ce.clone=Je),s.cloneId=Xo(function(){yt("clone",s),!ce.eventCanceled&&(s.options.removeCloneOnHide||Be.insertBefore(Je,H),s._hideClone(),gt({sortable:s,name:"clone"}))}),!o&&je(H,c.dragClass,!0),o?(_o=!0,s._loopId=setInterval(s._emulateDragOver,50)):(ye(document,"mouseup",s._onDrop),ye(document,"touchend",s._onDrop),ye(document,"touchcancel",s._onDrop),n&&(n.effectAllowed="move",c.setData&&c.setData.call(s,n,H)),Se(document,"drop",s),oe(H,"transform","translateZ(0)")),Fn=!0,s._dragStartId=Xo(s._dragStarted.bind(s,o,i)),Se(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=lt||u,b,S=this,E=!1;if(wi)return;function I(q,Te){yt(q,S,Gt({evt:i,isOwner:g,axis:b?"vertical":"horizontal",revert:t,dragRect:n,targetRect:c,canSort:m,fromSortable:h,target:s,completed:O,onMove:function(Ue,ke){return zo(Be,o,H,n,Ue,Ne(Ue),i,ke)},changed:B},Te))}function w(){I("dragOverAnimationCapture"),S.captureAnimationState(),S!==h&&h.captureAnimationState()}function O(q){return I("dragOverCompleted",{insertion:q}),q&&(g?u._hideClone():u._showClone(S),S!==h&&(je(H,lt?lt.options.ghostClass:u.options.ghostClass,!1),je(H,a.ghostClass,!0)),lt!==S&&S!==ce.active?lt=S:S===ce.active&<&&(lt=null),h===S&&(S._ignoreWhileAnimating=s),S.animateAll(function(){I("dragOverAnimationComplete"),S._ignoreWhileAnimating=null}),S!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(s===H&&!H.animated||s===o&&!s.animated)&&(Bn=null),!a.dragoverBubble&&!i.rootEl&&s!==document&&(H.parentNode[ft]._isOutsideThisEl(i.target),!q&&bn(i)),!a.dragoverBubble&&i.stopPropagation&&i.stopPropagation(),E=!0}function B(){Ot=We(H),rn=We(H,a.draggable),gt({sortable:S,name:"change",toEl:o,newIndex:Ot,newDraggableIndex:rn,originalEvent:i})}if(i.preventDefault!==void 0&&i.cancelable&&i.preventDefault(),s=Bt(s,a.draggable,o,!0),I("dragOver"),ce.eventCanceled)return E;if(H.contains(i.target)||s.animated&&s.animatingX&&s.animatingY||S._ignoreWhileAnimating===s)return O(!1);if(_o=!1,u&&!a.disabled&&(g?m||(t=$e!==Be):lt===this||(this.lastPutMode=Lo.checkPull(this,u,H,i))&&r.checkPut(this,u,H,i))){if(b=this._getDirection(i,s)==="vertical",n=Ne(H),I("dragOverValid"),ce.eventCanceled)return E;if(t)return $e=Be,w(),this._hideClone(),I("revert"),ce.eventCanceled||(Sn?Be.insertBefore(H,Sn):Be.appendChild(H)),O(!0);var R=Vi(o,a.draggable);if(!R||Bs(i,b,this)&&!R.animated){if(R===H)return O(!1);if(R&&o===i.target&&(s=R),s&&(c=Ne(s)),zo(Be,o,H,n,s,c,i,!!s)!==!1)return w(),o.appendChild(H),$e=o,B(),O(!0)}else if(R&&ks(i,b,this)){var N=Ln(o,0,a,!0);if(N===H)return O(!1);if(s=N,c=Ne(s),zo(Be,o,H,n,s,c,i,!1)!==!1)return w(),o.insertBefore(H,N),$e=o,B(),O(!0)}else if(s.parentNode===o){c=Ne(s);var U=0,$,ee=H.parentNode!==o,K=!Ps(H.animated&&H.toRect||n,s.animated&&s.toRect||c,b),Z=b?"top":"left",L=va(s,"top","top")||va(H,"top","top"),le=L?L.scrollTop:void 0;Bn!==s&&($=c[Z],Io=!1,Qo=!K&&a.invertSwap||ee),U=Ns(i,s,c,b,K?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Qo,Bn===s);var z;if(U!==0){var W=We(H);do W-=U,z=$e.children[W];while(z&&(oe(z,"display")==="none"||z===he))}if(U===0||z===s)return O(!1);Bn=s,xo=U;var de=s.nextElementSibling,X=!1;X=U===1;var ie=zo(Be,o,H,n,s,c,i,X);if(ie!==!1)return(ie===1||ie===-1)&&(X=ie===1),wi=!0,setTimeout(Ms,30),w(),X&&!de?o.appendChild(H):s.parentNode.insertBefore(H,X?de:s),L&&Ta(L,0,le-L.scrollTop),$e=H.parentNode,$!==void 0&&!Qo&&(Yo=Math.abs($-Ne(s)[Z])),B(),O(!0)}if(o.contains(H))return O(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){ye(document,"mousemove",this._onTouchMove),ye(document,"touchmove",this._onTouchMove),ye(document,"pointermove",this._onTouchMove),ye(document,"dragover",bn),ye(document,"mousemove",bn),ye(document,"touchmove",bn)},_offUpEvents:function(){var i=this.el.ownerDocument;ye(i,"mouseup",this._onDrop),ye(i,"touchend",this._onDrop),ye(i,"pointerup",this._onDrop),ye(i,"touchcancel",this._onDrop),ye(document,"selectstart",this)},_onDrop:function(i){var o=this.el,s=this.options;if(Ot=We(H),rn=We(H,s.draggable),yt("drop",this,{evt:i}),$e=H&&H.parentNode,Ot=We(H),rn=We(H,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&&(ye(document,"drop",this),ye(o,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),bo&&oe(document.body,"user-select",""),oe(H,"transform",""),i&&(go&&(i.cancelable&&i.preventDefault(),!s.dropBubble&&i.stopPropagation()),he&&he.parentNode&&he.parentNode.removeChild(he),(Be===$e||lt&<.lastPutMode!=="clone")&&Je&&Je.parentNode&&Je.parentNode.removeChild(Je),H&&(this.nativeDraggable&&ye(H,"dragend",this),Ei(H),H.style["will-change"]="",go&&!Fn&&je(H,lt?lt.options.ghostClass:this.options.ghostClass,!1),je(H,this.options.chosenClass,!1),gt({sortable:this,name:"unchoose",toEl:$e,newIndex:null,newDraggableIndex:null,originalEvent:i}),Be!==$e?(Ot>=0&&(gt({rootEl:$e,name:"add",toEl:$e,fromEl:Be,originalEvent:i}),gt({sortable:this,name:"remove",toEl:$e,originalEvent:i}),gt({rootEl:$e,name:"sort",toEl:$e,fromEl:Be,originalEvent:i}),gt({sortable:this,name:"sort",toEl:$e,originalEvent:i})),lt&<.save()):Ot!==jn&&Ot>=0&&(gt({sortable:this,name:"update",toEl:$e,originalEvent:i}),gt({sortable:this,name:"sort",toEl:$e,originalEvent:i})),ce.active&&((Ot==null||Ot===-1)&&(Ot=jn,rn=Eo),gt({sortable:this,name:"end",toEl:$e,originalEvent:i}),this.save()))),this._nulling()},_nulling:function(){yt("nulling",this),Be=H=$e=he=Sn=Je=Ho=ln=yn=Mt=go=Ot=rn=jn=Eo=Bn=xo=lt=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":H&&(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],Bt(o,t.draggable,this.el,!1)&&i.push(o.getAttribute(t.dataIdAttr)||js(o));return i},sort:function(i,o){var s={},n=this.el;this.toArray().forEach(function(c,t){var a=n.children[t];Bt(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 Bt(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"&&Pa(s)},destroy:function(){yt("destroy",this);var i=this.el;i[ft]=null,ye(i,"mousedown",this._onTapStart),ye(i,"touchstart",this._onTapStart),ye(i,"pointerdown",this._onTapStart),this.nativeDraggable&&(ye(i,"dragover",this),ye(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(yt("hideClone",this),ce.eventCanceled)return;oe(Je,"display","none"),this.options.removeCloneOnHide&&Je.parentNode&&Je.parentNode.removeChild(Je),ln=!0}},_showClone:function(i){if(i.lastPutMode!=="clone"){this._hideClone();return}if(ln){if(yt("showClone",this),ce.eventCanceled)return;H.parentNode==Be&&!this.options.group.revertClone?Be.insertBefore(Je,H):Sn?Be.insertBefore(Je,Sn):Be.appendChild(Je),this.options.group.revertClone&&this.animate(H,Je),oe(Je,"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[ft],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||Ne(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 Ms(){wi=!1}function ks(d,i,o){var s=Ne(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 Bs(d,i,o){var s=Ne(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 Ns(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 Fs(i)}return h=h||t,h&&(r<g+u*c/2||r>m-u*c/2)?r>g+u/2?1:-1:0}function Fs(d){return We(H)<We(d)?1:-1}function js(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 Ls(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&&Se(document,"touchmove",function(d){(ce.active||Fn)&&d.cancelable&&d.preventDefault()});ce.utils={on:Se,off:ye,css:oe,find:wa,is:function(i,o){return!!Bt(i,o,i,!1)},extend:Cs,throttle:Oa,closest:Bt,toggleClass:je,clone:Pi,index:We,nextTick:Xo,cancelNextTick:Oi,detectDirection:Va,getChild:Ln};ce.get=function(d){return d[ft]};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=Gt(Gt({},ce.utils),s.utils)),Ao.mount(s)})};ce.create=function(d,i){return new ce(d,i)};ce.version=Ss;var qe=[],ho,Ti,Di=!1,xi,Ii,ni,yo;function Qs(){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?Se(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Se(document,"pointermove",this._handleFallbackAutoScroll):s.touches?Se(document,"touchmove",this._handleFallbackAutoScroll):Se(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(o){var s=o.originalEvent;!this.options.dragOverBubble&&!s.rootEl&&this._handleAutoScroll(s)},drop:function(){this.sortable.nativeDraggable?ye(document,"dragover",this._handleAutoScroll):(ye(document,"pointermove",this._handleFallbackAutoScroll),ye(document,"touchmove",this._handleFallbackAutoScroll),ye(document,"mousemove",this._handleFallbackAutoScroll)),ba(),Zo(),As()},nulling:function(){ni=Ti=ho=Di=yo=xi=Ii=null,qe.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&&ba(),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)===Qt()){Zo();return}Ci(o,this.options,sn(a,!1),!1)}}},Ut(d,{pluginName:"scroll",initializeByDefault:!0})}function Zo(){qe.forEach(function(d){clearInterval(d.pid)}),qe=[]}function ba(){clearInterval(yo)}var Ci=Oa(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=Qt(),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=Ne(b),E=S.top,I=S.bottom,w=S.left,O=S.right,B=S.width,R=S.height,N=void 0,U=void 0,$=b.scrollWidth,ee=b.scrollHeight,K=oe(b),Z=b.scrollLeft,L=b.scrollTop;b===r?(N=B<$&&(K.overflowX==="auto"||K.overflowX==="scroll"||K.overflowX==="visible"),U=R<ee&&(K.overflowY==="auto"||K.overflowY==="scroll"||K.overflowY==="visible")):(N=B<$&&(K.overflowX==="auto"||K.overflowX==="scroll"),U=R<ee&&(K.overflowY==="auto"||K.overflowY==="scroll"));var le=N&&(Math.abs(O-n)<=t&&Z+B<$)-(Math.abs(w-n)<=t&&!!Z),z=U&&(Math.abs(I-c)<=t&&L+R<ee)-(Math.abs(E-c)<=t&&!!L);if(!qe[m])for(var W=0;W<=m;W++)qe[W]||(qe[W]={});(qe[m].vx!=le||qe[m].vy!=z||qe[m].el!==b)&&(qe[m].el=b,qe[m].vx=le,qe[m].vy=z,clearInterval(qe[m].pid),(le!=0||z!=0)&&(u=!0,qe[m].pid=setInterval((function(){s&&this.layer===0&&ce.active._onTouchMove(ni);var de=qe[this.layer].vy?qe[this.layer].vy*a:0,X=qe[this.layer].vx?qe[this.layer].vx*a:0;typeof g=="function"&&g.call(ce.dragged.parentNode[ft],X,de,d,ni,qe[this.layer].el)!=="continue"||Ta(qe[this.layer].el,X,de)}).bind({layer:m}),24))),m++}while(i.bubbleScroll&&h!==r&&(h=sn(h,!1)));Di=u}},30),Ka=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:Ka};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:Ka};Ut(Ui,{pluginName:"removeOnSpill"});var Rt;function Gs(){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?(je(n,g.swapClass,!0),Rt=n):Rt=null,m&&m!==Rt&&je(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&&je(Rt,a.swapClass,!1),Rt&&(a.swap||n&&n.options.swap)&&c!==Rt&&(t.captureAnimationState(),t!==s&&s.captureAnimationState(),zs(c,Rt),t.animateAll(),t!==s&&s.animateAll())},nulling:function(){Rt=null}},Ut(d,{pluginName:"swap",eventProperties:function(){return{swapItem:Rt}}})}function zs(d,i){var o=d.parentNode,s=i.parentNode,n,c;!o||!s||o.isEqualNode(i)||s.isEqualNode(d)||(n=We(d),c=We(i),o.isEqualNode(s)&&n<c&&c++,o.insertBefore(i,o.children[n]),s.insertBefore(d,s.children[c]))}var pe=[],wt=[],fo,kt,vo=!1,bt=!1,Nn=!1,Re,po,$o;function $s(){function d(i){for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));i.options.supportPointer?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),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(n,c){var t="";pe.length&&kt===i?pe.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=~pe.indexOf(Re)},setupClone:function(o){var s=o.sortable,n=o.cancel;if(this.isMultiDrag){for(var c=0;c<pe.length;c++)wt.push(Pi(pe[c])),wt[c].sortableIndex=pe[c].sortableIndex,wt[c].draggable=!1,wt[c].style["will-change"]="",je(wt[c],this.options.selectedClass,!1),pe[c]===Re&&je(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||pe.length&&kt===s&&(Sa(!0,n),c("clone"),t()))},showClone:function(o){var s=o.cloneNowShown,n=o.rootEl,c=o.cancel;this.isMultiDrag&&(Sa(!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&&kt&&kt.multiDrag._deselectMultiDrag(),pe.forEach(function(s){s.sortableIndex=We(s)}),pe=pe.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)){pe.forEach(function(t){t!==Re&&oe(t,"position","absolute")});var c=Ne(Re,!1,!0,!0);pe.forEach(function(t){t!==Re&&ma(t,c)}),bt=!0,vo=!0}n.animateAll(function(){bt=!1,vo=!1,s.options.animation&&pe.forEach(function(t){gi(t)}),s.options.sort&&Jo()})}},dragOver:function(o){var s=o.target,n=o.completed,c=o.cancel;bt&&~pe.indexOf(s)&&(n(!1),c())},revert:function(o){var s=o.fromSortable,n=o.rootEl,c=o.sortable,t=o.dragRect;pe.length>1&&(pe.forEach(function(a){c.addAnimationState({target:a,rect:bt?Ne(a):t}),gi(a),a.fromRect=t,s.removeAnimationState(a)}),bt=!1,Js(!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&&pe.length>1&&(bt||!n&&!t.options.sort&&!r)){var g=Ne(Re,!1,!0,!0);pe.forEach(function(h){h!==Re&&(ma(h,g),a.appendChild(h))}),bt=!0}if(!n)if(bt||Jo(),pe.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(pe.forEach(function(a){a.thisAnimationDuration=null}),c.options.animation&&!n&&c.multiDrag.isMultiDrag){po=Ut({},s);var t=En(Re,!0);po.top-=t.f,po.left-=t.e}},dragOverAnimationComplete:function(){bt&&(bt=!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(),je(Re,m.selectedClass,!~pe.indexOf(Re)),~pe.indexOf(Re))pe.splice(pe.indexOf(Re),1),fo=null,mo({sortable:t,rootEl:n,name:"deselect",targetEl:Re});else{if(pe.push(Re),mo({sortable:t,rootEl:n,name:"select",targetEl:Re}),s.shiftKey&&fo&&t.el.contains(fo)){var b=We(fo),S=We(Re);if(~b&&~S&&b!==S){var E,I;for(S>b?(I=b,E=S):(I=S,E=b+1);I<E;I++)~pe.indexOf(h[I])||(je(h[I],m.selectedClass,!0),pe.push(h[I]),mo({sortable:t,rootEl:n,name:"select",targetEl:h[I]}))}}else fo=Re;kt=g}if(Nn&&this.isMultiDrag){if(bt=!1,(c[ft].options.sort||c!==n)&&pe.length>1){var w=Ne(Re),O=We(Re,":not(."+this.options.selectedClass+")");if(!vo&&m.animation&&(Re.thisAnimationDuration=null),g.captureAnimationState(),!vo&&(m.animation&&(Re.fromRect=w,pe.forEach(function(R){if(R.thisAnimationDuration=null,R!==Re){var N=bt?Ne(R):w;R.fromRect=N,g.addAnimationState({target:R,rect:N})}})),Jo(),pe.forEach(function(R){h[O]?c.insertBefore(R,h[O]):c.appendChild(R),O++}),r===We(Re))){var B=!1;pe.forEach(function(R){if(R.sortableIndex!==We(R)){B=!0;return}}),B&&a("update")}pe.forEach(function(R){gi(R)}),g.animateAll()}kt=g}(n===c||u&&u.lastPutMode!=="clone")&&wt.forEach(function(R){R.parentNode&&R.parentNode.removeChild(R)})}},nullingGlobal:function(){this.isMultiDrag=Nn=!1,wt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),ye(document,"pointerup",this._deselectMultiDrag),ye(document,"mouseup",this._deselectMultiDrag),ye(document,"touchend",this._deselectMultiDrag),ye(document,"keydown",this._checkKeyDown),ye(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(o){if(!(typeof Nn<"u"&&Nn)&&kt===this.sortable&&!(o&&Bt(o.target,this.options.draggable,this.sortable.el,!1))&&!(o&&o.button!==0))for(;pe.length;){var s=pe[0];je(s,this.options.selectedClass,!1),pe.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[ft];!s||!s.options.multiDrag||~pe.indexOf(o)||(kt&&kt!==s&&(kt.multiDrag._deselectMultiDrag(),kt=s),je(o,s.options.selectedClass,!0),pe.push(o))},deselect:function(o){var s=o.parentNode[ft],n=pe.indexOf(o);!s||!s.options.multiDrag||!~n||(je(o,s.options.selectedClass,!1),pe.splice(n,1))}},eventProperties:function(){var o=this,s=[],n=[];return pe.forEach(function(c){s.push({multiDragElement:c,index:c.sortableIndex});var t;bt&&c!==Re?t=-1:bt?t=We(c,":not(."+o.options.selectedClass+")"):t=We(c),n.push({multiDragElement:c,index:t})}),{items:ms(pe),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 Js(d,i){pe.forEach(function(o,s){var n=i.children[o.sortableIndex+(d?Number(s):0)];n?i.insertBefore(o,n):i.appendChild(o)})}function Sa(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(){pe.forEach(function(d){d!==Re&&d.parentNode&&d.parentNode.removeChild(d)})}ce.mount(new Qs);ce.mount(Ui,Ri);const Ws=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:$s,Sortable:ce,Swap:Gs,default:ce},Symbol.toStringTag,{value:"Module"})),Hs=Ql(Ws);(function(d,i){(function(s,n){d.exports=n(zl,Hs)})(typeof self<"u"?self:$l,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,B,R,N,U,$,ee;if(w?R=a:O?R=a[I]||m(I,{}):R=(a[I]||{}).prototype,R)for(N in E){if($=E[N],S.noTargetGet?(ee=r(R,N),U=ee&&ee.value):U=R[N],B=b(w?N:I+(O?".":"#")+N,S.forced),!B&&U!==void 0){if(typeof $==typeof U)continue;h($,U)}(S.sham||U&&U.sham)&&u($,"sham",!0),g(R,N,$,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),B=w.flags,R=String(B===void 0&&w instanceof RegExp&&!("flags"in h)?g.call(w):B);return"/"+O+"/"+R},{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(B){var R=String(m(this));g(B);var N=u(E(arguments.length>1?arguments[1]:void 0,R.length)),U=String(B);return S?S.call(R,U,N):R.slice(N,N+U.length)===U}})},"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,B=O>1?arguments[1]:void 0,R=B!==void 0,N=b(I),U=0,$,ee,K,Z,L,le;if(R&&(B=a(B,O>2?arguments[2]:void 0,2)),N!=null&&!(w==Array&&g(N)))for(Z=N.call(I),L=Z.next,ee=new w;!(K=L.call(Z)).done;U++)le=R?u(Z,B,[K.value,U],!0):K.value,h(ee,U,le);else for($=m(I.length),ee=new w($);$>U;U++)le=R?B(I[U],U):I[U],h(ee,U,le);return ee.length=U,ee}},"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,B=/\$([$&'`]|\d\d?)/g,R=function(N){return N===void 0?N:String(N)};a("replace",2,function(N,U,$,ee){var K=ee.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,Z=ee.REPLACE_KEEPS_$0,L=K?"$":"$0";return[function(W,de){var X=h(this),ie=W==null?void 0:W[N];return ie!==void 0?ie.call(W,X,de):U.call(String(X),W,de)},function(z,W){if(!K&&Z||typeof W=="string"&&W.indexOf(L)===-1){var de=$(U,z,this,W);if(de.done)return de.value}var X=r(z),ie=String(this),q=typeof W=="function";q||(W=String(W));var Te=X.global;if(Te){var Me=X.unicode;X.lastIndex=0}for(var Ue=[];;){var ke=S(X,ie);if(ke===null||(Ue.push(ke),!Te))break;var He=String(ke[0]);He===""&&(X.lastIndex=b(ie,g(X.lastIndex),Me))}for(var Xe="",Le=0,De=0;De<Ue.length;De++){ke=Ue[De];for(var Ae=String(ke[0]),vt=E(I(m(ke.index),ie.length),0),Ye=[],ht=1;ht<ke.length;ht++)Ye.push(R(ke[ht]));var zt=ke.groups;if(q){var Kt=[Ae].concat(Ye,vt,ie);zt!==void 0&&Kt.push(zt);var Ze=String(W.apply(void 0,Kt))}else Ze=le(Ae,ie,vt,Ye,zt,W);vt>=Le&&(Xe+=ie.slice(Le,vt)+Ze,Le=vt+Ae.length)}return Xe+ie.slice(Le)}];function le(z,W,de,X,ie,q){var Te=de+z.length,Me=X.length,Ue=B;return ie!==void 0&&(ie=u(ie),Ue=O),U.call(q,Ue,function(ke,He){var Xe;switch(He.charAt(0)){case"$":return"$";case"&":return z;case"`":return W.slice(0,de);case"'":return W.slice(Te);case"<":Xe=ie[He.slice(1,-1)];break;default:var Le=+He;if(Le===0)return ke;if(Le>Me){var De=w(Le/10);return De===0?ke:De<=Me?X[De-1]===void 0?He.charAt(1):X[De-1]+He.charAt(1):ke}Xe=X[Le-1]}return Xe===void 0?"":Xe})}})},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,{})},B=function(K){return function(Z){var L;if(!u(Z)||(L=I(Z)).type!==K)throw TypeError("Incompatible receiver, "+K+" required");return L}};if(a){var R=new S,N=R.get,U=R.has,$=R.set;E=function(K,Z){return $.call(R,K,Z),Z},I=function(K){return N.call(R,K)||{}},w=function(K){return U.call(R,K)}}else{var ee=h("state");b[ee]=!0,E=function(K,Z){return g(K,ee,Z),Z},I=function(K){return m(K,ee)?K[ee]:{}},w=function(K){return m(K,ee)}}n.exports={set:E,get:I,has:w,enforce:O,getterFor:B}},"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,B){var R=B?!!B.unsafe:!1,N=B?!!B.enumerable:!1,U=B?!!B.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 R?!U&&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=[],B;I>w;)B=E[w++],(!a||g.call(S,B))&&O.push(h?[B,S[B]]:S[B]);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"),B=function(){},R=function(K){return E+w+S+K+E+"/"+w+S},N=function(K){K.write(R("")),K.close();var Z=K.parentWindow.Object;return K=null,Z},U=function(){var K=h("iframe"),Z="java"+w+":",L;return K.style.display="none",m.appendChild(K),K.src=String(Z),L=K.contentWindow.document,L.open(),L.write(R("document.F=Object")),L.close(),L.F},$,ee=function(){try{$=document.domain&&new ActiveXObject("htmlfile")}catch{}ee=$?N($):U();for(var K=u.length;K--;)delete ee[I][u[K]];return ee()};g[O]=!0,n.exports=Object.create||function(Z,L){var le;return Z!==null?(B[I]=a(Z),le=new B,B[I]=null,le[O]=Z):le=ee(),L===void 0?le:r(le,L)}},"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,B=w.BUGGY_SAFARI_ITERATORS,R=S("iterator"),N="keys",U="values",$="entries",ee=function(){return this};n.exports=function(K,Z,L,le,z,W,de){r(L,Z,le);var X=function(De){if(De===z&&Ue)return Ue;if(!B&&De in Te)return Te[De];switch(De){case N:return function(){return new L(this,De)};case U:return function(){return new L(this,De)};case $:return function(){return new L(this,De)}}return function(){return new L(this)}},ie=Z+" Iterator",q=!1,Te=K.prototype,Me=Te[R]||Te["@@iterator"]||z&&Te[z],Ue=!B&&Me||X(z),ke=Z=="Array"&&Te.entries||Me,He,Xe,Le;if(ke&&(He=u(ke.call(new K)),O!==Object.prototype&&He.next&&(!E&&u(He)!==O&&(g?g(He,O):typeof He[R]!="function"&&h(He,R,ee)),m(He,ie,!0,!0),E&&(I[ie]=ee))),z==U&&Me&&Me.name!==U&&(q=!0,Ue=function(){return Me.call(this)}),(!E||de)&&Te[R]!==Ue&&h(Te,R,Ue),I[Z]=Ue,z)if(Xe={values:X(U),keys:W?Ue:X(N),entries:X($)},de)for(Le in Xe)(B||q||!(Le in Te))&&b(Te,Le,Xe[Le]);else a({target:Z,proto:!0,forced:B||q},Xe);return Xe}},"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($){var h=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,b=/@([^@]*):(\d+):(\d+)\s*$/ig,S=h.exec($.stack)||b.exec($.stack),E=S&&S[1]||!1,I=S&&S[2]||!1,w=document.location.href.replace(document.location.hash,""),O,B,R,N=document.getElementsByTagName("script");E===w&&(O=document.documentElement.outerHTML,B=new RegExp("(?:[^\\n]+?\\n){0,"+(I-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),R=O.replace(B,"$1").trim());for(var U=0;U<N.length;U++)if(N[U].readyState==="interactive"||N[U].src===E||E===w&&N[U].innerHTML&&N[U].innerHTML.trim()===R)return N[U];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,B,R,N,U,$=b&&O.sticky,ee=a.call(O),K=O.source,Z=0,L=w;return $&&(ee=ee.replace("y",""),ee.indexOf("g")===-1&&(ee+="g"),L=String(w).slice(O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&w[O.lastIndex-1]!==`
- `)&&(K="(?: "+K+")",L=" "+L,Z++),R=new RegExp("^(?:"+K+")",ee)),S&&(R=new RegExp("^"+K+"$(?!\\s)",ee)),h&&(B=O.lastIndex),N=u.call($?R:O,L),$?N?(N.input=N.input.slice(Z),N[0]=N[0].slice(Z),N.index=O.lastIndex,O.lastIndex+=N[0].length):O.lastIndex=0:h&&N&&(O.lastIndex=O.global?N.index+N[0].length:B),S&&N&&N.length>1&&g.call(N[0],R,function(){for(U=1;U<arguments.length-2;U++)arguments[U]===void 0&&(N[U]=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"),B=9007199254740991,R="Maximum allowed index exceeded",N=w>=51||!r(function(){var K=[];return K[O]=!1,K.concat()[0]!==K}),U=E("concat"),$=function(K){if(!g(K))return!1;var Z=K[O];return Z!==void 0?!!Z:u(K)},ee=!N||!U;a({target:"Array",proto:!0,forced:ee},{concat:function(Z){var L=m(this),le=S(L,0),z=0,W,de,X,ie,q;for(W=-1,X=arguments.length;W<X;W++)if(q=W===-1?L:arguments[W],$(q)){if(ie=h(q.length),z+ie>B)throw TypeError(R);for(de=0;de<ie;de++,z++)de in q&&b(le,z,q[de])}else{if(z>=B)throw TypeError(R);b(le,z++,q)}return le.length=z,le}})},"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 B=E,R=0,N=w?u(w,O,3):!1,U;R<S;){if(R in b){if(U=N?N(b[R],R,h):b[R],I>0&&a(U))B=g(m,h,U,r(U.length),B,I-1)-1;else{if(B>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[B]=U}B++}R++}return B};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,B=Math.min,R=9007199254740991,N="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!I||!w},{splice:function($,ee){var K=m(this),Z=g(K.length),L=r($,Z),le=arguments.length,z,W,de,X,ie,q;if(le===0?z=W=0:le===1?(z=0,W=Z-L):(z=le-2,W=B(O(u(ee),0),Z-L)),Z+z-W>R)throw TypeError(N);for(de=h(K,W),X=0;X<W;X++)ie=L+X,ie in K&&b(de,X,K[ie]);if(de.length=W,z<W){for(X=L;X<Z-W;X++)ie=X+W,q=X+z,ie in K?K[q]=K[ie]:delete K[q];for(X=Z;X>Z-W+z;X--)delete K[X-1]}else if(z>W)for(X=Z-W;X>L;X--)ie=X+W-1,q=X+z-1,ie in K?K[q]=K[ie]:delete K[q];for(X=0;X<z;X++)K[X+L]=arguments[X+2];return K.length=Z-W+z,de}})},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"),B=t("7b0b"),R=t("fc6a"),N=t("c04e"),U=t("5c6c"),$=t("7c73"),ee=t("df75"),K=t("241c"),Z=t("057f"),L=t("7418"),le=t("06cf"),z=t("9bf2"),W=t("d1e7"),de=t("9112"),X=t("6eeb"),ie=t("5692"),q=t("f772"),Te=t("d012"),Me=t("90e3"),Ue=t("b622"),ke=t("e538"),He=t("746f"),Xe=t("d44e"),Le=t("69f3"),De=t("b727").forEach,Ae=q("hidden"),vt="Symbol",Ye="prototype",ht=Ue("toPrimitive"),zt=Le.set,Kt=Le.getterFor(vt),Ze=Object[Ye],Ke=r.Symbol,st=u("JSON","stringify"),Tt=le.f,Dt=z.f,xn=Z.f,Qn=W.f,St=ie("symbols"),Nt=ie("op-symbols"),en=ie("string-to-symbol-registry"),dn=ie("symbol-to-string-registry"),un=ie("wks"),cn=r.QObject,fn=!cn||!cn[Ye]||!cn[Ye].findChild,vn=m&&S(function(){return $(Dt({},"a",{get:function(){return Dt(this,"a",{value:7}).a}})).a!=7})?function(fe,ne,se){var te=Tt(Ze,ne);te&&delete Ze[ne],Dt(fe,ne,se),te&&fe!==Ze&&Dt(Ze,ne,te)}:Dt,pn=function(fe,ne){var se=St[fe]=$(Ke[Ye]);return zt(se,{type:vt,tag:fe,description:ne}),m||(se.description=ne),se},A=b?function(fe){return typeof fe=="symbol"}:function(fe){return Object(fe)instanceof Ke},C=function(ne,se,te){ne===Ze&&C(Nt,se,te),O(ne);var Ee=N(se,!0);return O(te),E(St,Ee)?(te.enumerable?(E(ne,Ae)&&ne[Ae][Ee]&&(ne[Ae][Ee]=!1),te=$(te,{enumerable:U(0,!1)})):(E(ne,Ae)||Dt(ne,Ae,U(1,{})),ne[Ae][Ee]=!0),vn(ne,Ee,te)):Dt(ne,Ee,te)},V=function(ne,se){O(ne);var te=R(se),Ee=ee(te).concat(xe(te));return De(Ee,function(dt){(!m||_.call(te,dt))&&C(ne,dt,te[dt])}),ne},F=function(ne,se){return se===void 0?$(ne):V($(ne),se)},_=function(ne){var se=N(ne,!0),te=Qn.call(this,se);return this===Ze&&E(St,se)&&!E(Nt,se)?!1:te||!E(this,se)||!E(St,se)||E(this,Ae)&&this[Ae][se]?te:!0},ue=function(ne,se){var te=R(ne),Ee=N(se,!0);if(!(te===Ze&&E(St,Ee)&&!E(Nt,Ee))){var dt=Tt(te,Ee);return dt&&E(St,Ee)&&!(E(te,Ae)&&te[Ae][Ee])&&(dt.enumerable=!0),dt}},me=function(ne){var se=xn(R(ne)),te=[];return De(se,function(Ee){!E(St,Ee)&&!E(Te,Ee)&&te.push(Ee)}),te},xe=function(ne){var se=ne===Ze,te=xn(se?Nt:R(ne)),Ee=[];return De(te,function(dt){E(St,dt)&&(!se||E(Ze,dt))&&Ee.push(St[dt])}),Ee};if(h||(Ke=function(){if(this instanceof Ke)throw TypeError("Symbol is not a constructor");var ne=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),se=Me(ne),te=function(Ee){this===Ze&&te.call(Nt,Ee),E(this,Ae)&&E(this[Ae],se)&&(this[Ae][se]=!1),vn(this,se,U(1,Ee))};return m&&fn&&vn(Ze,se,{configurable:!0,set:te}),pn(se,ne)},X(Ke[Ye],"toString",function(){return Kt(this).tag}),X(Ke,"withoutSetter",function(fe){return pn(Me(fe),fe)}),W.f=_,z.f=C,le.f=ue,K.f=Z.f=me,L.f=xe,ke.f=function(fe){return pn(Ue(fe),fe)},m&&(Dt(Ke[Ye],"description",{configurable:!0,get:function(){return Kt(this).description}}),g||X(Ze,"propertyIsEnumerable",_,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Ke}),De(ee(un),function(fe){He(fe)}),a({target:vt,stat:!0,forced:!h},{for:function(fe){var ne=String(fe);if(E(en,ne))return en[ne];var se=Ke(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:ue}),a({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:me,getOwnPropertySymbols:xe}),a({target:"Object",stat:!0,forced:S(function(){L.f(1)})},{getOwnPropertySymbols:function(ne){return L.f(B(ne))}}),st){var Fe=!h||S(function(){var fe=Ke();return st([fe])!="[null]"||st({a:fe})!="{}"||st(Object(fe))!="{}"});a({target:"JSON",stat:!0,forced:Fe},{stringify:function(ne,se,te){for(var Ee=[ne],dt=1,Gn;arguments.length>dt;)Ee.push(arguments[dt++]);if(Gn=se,!(!w(se)&&ne===void 0||A(ne)))return I(se)||(se=function(wo,In){if(typeof Gn=="function"&&(In=Gn.call(this,wo,In)),!A(In))return In}),Ee[1]=se,st.apply(null,Ee)}})}Ke[Ye][ht]||de(Ke[Ye],ht,Ke[Ye].valueOf),Xe(Ke,vt),Te[Ae]=!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 B={length:-1};I?g(B,1,{enumerable:!0,get:h}):B[1]=1,E.call(B,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,B=S==6,R=S==5||B;return function(N,U,$,ee){for(var K=u(N),Z=r(K),L=a(U,$,3),le=g(Z.length),z=0,W=ee||m,de=E?W(N,le):I?W(N,0):void 0,X,ie;le>z;z++)if((R||z in Z)&&(X=Z[z],ie=L(X,z,K),S)){if(E)de[z]=ie;else if(ie)switch(S){case 3:return!0;case 5:return X;case 6:return z;case 2:h.call(de,X)}else if(O)return!1}return B?-1:w||O?O:de}};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),B=g(w.length),R=h?B-1:0,N=h?-1:1;if(E<2)for(;;){if(R in O){I=O[R],R+=N;break}if(R+=N,h?R<0:B<=R)throw TypeError("Reduce of empty array with no initial value")}for(;h?R>=0:B>R;R+=N)R in O&&(I=S(I,O[R],R,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 B=[];return B.groups={a:"7"},B},"".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=/(?:)/,B=O.exec;O.exec=function(){return B.apply(this,arguments)};var R="ab".split(O);return R.length!==2||R[0]!=="a"||R[1]!=="b"});n.exports=function(O,B,R,N){var U=u(O),$=!r(function(){var z={};return z[U]=function(){return 7},""[O](z)!=7}),ee=$&&!r(function(){var z=!1,W=/a/;return O==="split"&&(W={},W.constructor={},W.constructor[h]=function(){return W},W.flags="",W[U]=/./[U]),W.exec=function(){return z=!0,null},W[U](""),!z});if(!$||!ee||O==="replace"&&!(b&&S&&!I)||O==="split"&&!w){var K=/./[U],Z=R(U,""[O],function(z,W,de,X,ie){return W.exec===g?$&&!ie?{done:!0,value:K.call(W,de,X)}:{done:!0,value:z.call(de,W,X)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:I}),L=Z[0],le=Z[1];a(String.prototype,O,L),a(RegExp.prototype,U,B==2?function(z,W){return le.call(z,this,W)}:function(z){return le.call(z,this)})}N&&m(RegExp.prototype[U],"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={},B=0,R,N;w.length>B;)N=I(E,R=w[B++]),N!==void 0&&h(O,R,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 U=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),$=this instanceof I?new S(U):U===void 0?S():S(U);return U===""&&(E[$]=!0),$};b(I,S);var w=I.prototype=S.prototype;w.constructor=I;var O=w.toString,B=String(S("test"))=="Symbol(test)",R=/^Symbol\((.*)\)[^)]+$/;h(w,"description",{configurable:!0,get:function(){var U=m(this)?this.valueOf():this,$=O.call(U);if(g(E,U))return"";var ee=B?$.slice(7,-1):$.replace(R,"$1");return ee===""?void 0:ee}}),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(_){return Object.getOwnPropertyDescriptor(A,_).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,_=!1,ue=void 0;try{for(var me=A[Symbol.iterator](),xe;!(F=(xe=me.next()).done)&&(V.push(xe.value),!(C&&V.length===C));F=!0);}catch(Fe){_=!0,ue=Fe}finally{try{!F&&me.return!=null&&me.return()}finally{if(_)throw ue}}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 B(A){if(Array.isArray(A))return E(A)}function R(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 U(A){return B(A)||R(A)||I(A)||N()}var $=t("a352"),ee=t.n($);function K(A){A.parentElement!==null&&A.parentElement.removeChild(A)}function Z(A,C,V){var F=V===0?A.children[0]:A.children[V-1].nextSibling;A.insertBefore(C,F)}var L=t("dbf1");t("13d5"),t("4fad"),t("ac1f"),t("5319");function le(A){var C=Object.create(null);return function(F){var _=C[F];return _||(C[F]=A(F))}}var z=/-(\w)/g,W=le(function(A){return A.replace(z,function(C,V){return V.toUpperCase()})});t("5db7"),t("73d9");var de=["Start","Add","Remove","Update","End"],X=["Choose","Unchoose","Sort","Filter","Clone"],ie=["Move"],q=[ie,de,X].flatMap(function(A){return A}).map(function(A){return"on".concat(A)}),Te={manage:ie,manageAndEmit:de,emit:X};function Me(A){return q.indexOf(A)!==-1}t("caad"),t("2ca0");var Ue=["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 ke(A){return Ue.includes(A)}function He(A){return["transition-group","TransitionGroup"].includes(A)}function Xe(A){return["id","class","role","style"].includes(A)||A.startsWith("data-")||A.startsWith("aria-")||A.startsWith("on")}function Le(A){return A.reduce(function(C,V){var F=O(V,2),_=F[0],ue=F[1];return C[_]=ue,C},{})}function De(A){var C=A.$attrs,V=A.componentData,F=V===void 0?{}:V,_=Le(Object.entries(C).filter(function(ue){var me=O(ue,2),xe=me[0];return me[1],Xe(xe)}));return h(h({},_),F)}function Ae(A){var C=A.$attrs,V=A.callBackBuilder,F=Le(vt(C));Object.entries(V).forEach(function(ue){var me=O(ue,2),xe=me[0],Fe=me[1];Te[xe].forEach(function(fe){F["on".concat(fe)]=Fe(fe)})});var _="[data-draggable]".concat(F.draggable||"");return h(h({},F),{},{draggable:_})}function vt(A){return Object.entries(A).filter(function(C){var V=O(C,2),F=V[0];return V[1],!Xe(F)}).map(function(C){var V=O(C,2),F=V[0],_=V[1];return[W(F),_]}).filter(function(C){var V=O(C,2),F=V[0];return V[1],!Me(F)})}t("c740");function Ye(A,C){if(!(A instanceof C))throw new TypeError("Cannot call a class as a function")}function ht(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 zt(A,C,V){return C&&ht(A.prototype,C),A}var Kt=function(C){var V=C.el;return V},Ze=function(C,V){return C.__draggable_context=V},Ke=function(C){return C.__draggable_context},st=function(){function A(C){var V=C.nodes,F=V.header,_=V.default,ue=V.footer,me=C.root,xe=C.realList;Ye(this,A),this.defaultNodes=_,this.children=[].concat(U(F),U(_),U(ue)),this.externalComponent=me.externalComponent,this.rootTransition=me.transition,this.tag=me.tag,this.realList=xe}return zt(A,[{key:"render",value:function(V,F){var _=this.tag,ue=this.children,me=this._isRootComponent,xe=me?{default:function(){return ue}}:ue;return V(_,F,xe)}},{key:"updated",value:function(){var V=this.defaultNodes,F=this.realList;V.forEach(function(_,ue){Ze(Kt(_),{element:F[ue],index:ue})})}},{key:"getUnderlyingVm",value:function(V){return Ke(V)}},{key:"getVmIndexFromDomIndex",value:function(V,F){var _=this.defaultNodes,ue=_.length,me=F.children,xe=me.item(V);if(xe===null)return ue;var Fe=Ke(xe);if(Fe)return Fe.index;if(ue===0)return 0;var fe=Kt(_[0]),ne=U(me).findIndex(function(se){return se===fe});return V<ne?0:ue}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),A}(),Tt=t("8bbf");function Dt(A,C){var V=A[C];return V?V():[]}function xn(A){var C=A.$slots,V=A.realList,F=A.getKey,_=V||[],ue=["header","footer"].map(function(se){return Dt(C,se)}),me=O(ue,2),xe=me[0],Fe=me[1],fe=C.item;if(!fe)throw new Error("draggable element must have an item slot");var ne=_.flatMap(function(se,te){return fe({element:se,index:te}).map(function(Ee){return Ee.key=F(se),Ee.props=h(h({},Ee.props||{}),{},{"data-draggable":!0}),Ee})});if(ne.length!==_.length)throw new Error("Item slot must have only one child");return{header:xe,footer:Fe,default:ne}}function Qn(A){var C=He(A),V=!ke(A)&&!C;return{transition:C,externalComponent:V,tag:V?Object(Tt.resolveComponent)(A):C?Tt.TransitionGroup:A}}function St(A){var C=A.$slots,V=A.tag,F=A.realList,_=A.getKey,ue=xn({$slots:C,realList:F,getKey:_}),me=Qn(V);return new st({nodes:ue,root:me,realList:F})}function Nt(A,C){var V=this;Object(Tt.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,_){V.call(C,F,_),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(U([].concat(U(Te.manageAndEmit),U(Te.emit)).map(function(A){return A.toLowerCase()}))),vn=Object(Tt.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,_=this.componentData,ue=this.realList,me=this.getKey,xe=St({$slots:C,tag:F,realList:ue,getKey:me});this.componentStructure=xe;var Fe=De({$attrs:V,componentData:_});return xe.render(Tt.h,Fe)}catch(fe){return this.error=!0,Object(Tt.h)("pre",{style:{color:"red"}},fe.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&L.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,_=this.componentStructure;_.updated();var ue=Ae({$attrs:V,callBackBuilder:{manageAndEmit:function(Fe){return dn.call(C,Fe)},emit:function(Fe){return Nt.bind(C,Fe)},manage:function(Fe){return en.call(C,Fe)}}}),me=F.nodeType===1?F:F.parentElement;this._sortable=new ee.a(me,ue),this.targetDomElement=me,me.__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&&vt(C).forEach(function(F){var _=O(F,2),ue=_[0],me=_[1];V.option(ue,me)})},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(Tt.nextTick)(function(){return V.$emit("change",C)})},alterList:function(C){if(this.list){C(this.list);return}var V=U(this.modelValue);C(V),this.$emit("update:modelValue",V)},spliceList:function(){var C=arguments,V=function(_){return _.splice.apply(_,U(C))};this.alterList(V)},updatePosition:function(C,V){var F=function(ue){return ue.splice(V,0,ue.splice(C,1)[0])};this.alterList(F)},getRelatedContextFromMoveEvent:function(C){var V=C.to,F=C.related,_=this.getUnderlyingPotencialDraggableComponent(V);if(!_)return{component:_};var ue=_.realList,me={list:ue,component:_};if(V!==F&&ue){var xe=_.getUnderlyingVm(F)||{};return h(h({},xe),me)}return me},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 _={element:V,newIndex:F};this.emitChanges({added:_})}},onDragRemove:function(C){if(Z(this.$el,C.item,C.oldIndex),C.pullMode==="clone"){K(C.clone);return}var V=this.context,F=V.index,_=V.element;this.spliceList(F,1);var ue={element:_,oldIndex:F};this.emitChanges({removed:ue})},onDragUpdate:function(C){K(C.item),Z(C.from,C.item,C.oldIndex);var V=this.context.index,F=this.getVmIndexFromDomIndex(C.newIndex);this.updatePosition(V,F);var _={element:this.context.element,oldIndex:V,newIndex:F};this.emitChanges({moved:_})},computeFutureIndex:function(C,V){if(!C.element)return 0;var F=U(V.to.children).filter(function(xe){return xe.style.display!=="none"}),_=F.indexOf(V.related),ue=C.component.getVmIndexFromDomIndex(_),me=F.indexOf(un)!==-1;return me||!V.willInsertAfter?ue:ue+1},onDragMove:function(C,V){var F=this.move,_=this.realList;if(!F||!_)return!0;var ue=this.getRelatedContextFromMoveEvent(C),me=this.computeFutureIndex(ue,C),xe=h(h({},this.context),{},{futureIndex:me}),Fe=h(h({},C),{},{relatedContext:ue,draggedContext:xe});return F(Fe,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}),B=S("species"),R=[].slice,N=Math.max;a({target:"Array",proto:!0,forced:!w||!O},{slice:function($,ee){var K=h(this),Z=m(K.length),L=g($,Z),le=g(ee===void 0?Z:ee,Z),z,W,de;if(u(K)&&(z=K.constructor,typeof z=="function"&&(z===Array||u(z.prototype))?z=void 0:r(z)&&(z=z[B],z===null&&(z=void 0)),z===Array||z===void 0))return R.call(K,L,le);for(W=new(z===void 0?Array:z)(N(le-L,0)),de=0;L<le;L++,de++)L in K&&b(W,de,K[L]);return W.length=de,W}})},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})})(Ia);var Ys=Ia.exports;const Ea=Gl(Ys);function xa(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 Xs={class:"position-detail-container"},Zs={class:"header-container"},qs={class:"header-actions"},_s={class:"detail-content"},ed={class:"detail-item"},td={key:0,class:"detail-value"},nd={key:1,class:"title-edit-container"},od={class:"title-edit-actions"},id={class:"detail-item"},ad={key:0,class:"detail-value"},rd={key:1,class:"title-edit-container"},ld={class:"title-edit-actions"},sd={class:"detail-item"},dd={key:0,class:"detail-value"},ud={key:1,class:"title-edit-container"},cd={class:"salary-range-container"},fd={class:"title-edit-actions"},vd={class:"detail-item"},pd={key:0,class:"detail-value"},md={key:1,class:"title-edit-container"},gd={class:"title-edit-actions"},hd={class:"detail-item"},yd={key:0,class:"detail-value"},bd={key:1,class:"title-edit-container"},Sd={class:"title-edit-actions"},Ed={class:"detail-item"},xd={key:0,class:"detail-value"},Id={key:1,class:"title-edit-container"},Cd={class:"title-edit-actions"},Ad={class:"detail-item"},wd={class:"detail-value"},Od={class:"detail-item"},Td={key:0,class:"detail-value"},Dd={key:1,class:"title-edit-container"},Vd={class:"title-edit-actions"},Pd={class:"detail-item"},Rd=["innerHTML"],Ud={key:2,class:"title-edit-container"},Kd={class:"title-edit-actions"},Md={class:"detail-item"},kd=["innerHTML"],Bd={key:2,class:"title-edit-container"},Nd={class:"title-edit-actions"},Fd={class:"detail-item"},jd={key:0,class:"detail-value"},Ld={key:1,class:"title-edit-container"},Qd={class:"title-edit-actions"},Gd={class:"status-cards"},zd={class:"status-switch"},$d={class:"status-text"},Jd={class:"section-title"},Wd={class:"usage-content"},Hd={key:0,class:"usage-value"},Yd={key:1,class:"title-edit-container"},Xd={class:"title-edit-actions"},Zd={class:"section-title"},qd={class:"process-steps"},_d={key:0,class:"step-number"},eu={class:"step-content"},tu={class:"step-title"},nu={class:"section-title"},ou={class:"process-dialog-content"},iu={key:0,class:"add-process-btn-top"},au={key:0,class:"process-number"},ru={class:"process-edit-content"},lu={key:1,class:"process-edit-btn"},su=["onClick"],du={class:"dialog-footer"},uu={class:"ai-video-steps"},cu={key:0,class:"ai-video-content","element-loading-text":"正在生成能力标签..."},fu={class:"ai-video-options"},vu={class:"recommended-dimensions"},pu={class:"dimension-grid"},mu={class:"ability-label"},gu={class:"optional-dimensions"},hu={class:"header-row"},yu={class:"right_btn"},bu={class:"dimension-grid"},Su={class:"ability-label"},Eu={class:"custom-dimensions"},xu={class:"dimension-form"},Iu={class:"dimension-row"},Cu={class:"dimension-input"},Au={class:"dimension-input"},wu={class:"dimension-actions"},Ou={key:1,class:"ai-video-content"},Tu={class:"interview-settings"},Du={class:"interview-header"},Vu={class:"interview-actions"},Pu={class:"question-switches"},Ru={class:"switch-item"},Uu={class:"switch-item"},Ku={class:"interview-duration"},Mu={class:"duration-value"},ku={class:"interview-content"},Bu={class:"interview-questions-container","element-loading-text":"AI正在生成题目..."},Nu={key:0,class:"no-questions"},Fu={key:1,class:"question-list"},ju={class:"question-card"},Lu={class:"question-header"},Qu={class:"question-title"},Gu={class:"title-content"},zu={class:"question-content"},$u={class:"question-number"},Ju={style:{color:"#0017ab"}},Wu={class:"question-tags"},Hu={key:0,class:"more-tags-indicator"},Yu={class:"question-actions",style:{"margin-top":"0px"}},Xu={class:"question-info"},Zu={class:"info-item"},qu={key:0,class:"question-actions"},_u={class:"answer-limit"},ec={class:"answer-limit"},tc={key:1,class:"question-actions"},nc={class:"answer-limit"},oc={class:"multi-dimension-questions"},ic={class:"dimension-list"},ac={class:"dimension-header"},rc={class:"dimension-info"},lc={class:"ability-name"},sc=["onClick"],dc={key:2,class:"ai-video-content"},uc={class:"system-settings"},cc={class:"setting-section"},fc={style:{display:"flex","align-items":"flex-start"}},vc={style:{width:"100px",height:"170px","background-color":"#f2f2f2","margin-right":"30px","border-radius":"10px",overflow:"hidden"}},pc=["src"],mc={class:"interviewer-avatars"},gc=["onClick"],hc={class:"avatar-wrapper"},yc=["src","alt"],bc=["title"],Sc={class:"setting-item",style:{border:"none"}},Ec={class:"setting-options"},xc={class:"interview-settings"},Ic={class:"setting-item"},Cc={class:"setting-item"},Ac={class:"setting-options"},wc={class:"setting-item"},Oc={class:"drawer-footer"},Tc={class:"video-lecture-form"},Dc={class:"form-item"},Vc={class:"upload-area"},Pc={class:"form-item"},Rc={class:"dialog-footer"},Uc={class:"ai-chat-content"},Kc={class:"chat-settings"},Mc={class:"chat-actions"},kc={class:"chat-questions"},Bc={key:0,class:"empty-questions"},Nc={key:1,class:"question-list"},Fc={class:"question-card"},jc={class:"question-header"},Lc={class:"question-title"},Qc={class:"question-number"},Gc={class:"question-actions"},zc={class:"weight-control"},$c={class:"answer-limit"},Jc={class:"question-info"},Wc={class:"info-item"},Hc={class:"info-item"},Yc={class:"info-item"},Xc={class:"drawer-footer"},Zc={class:"question-form"},qc={class:"form-item"},_c={class:"form-item"},ef={class:"form-item"},tf={class:"competency-config"},nf={class:"tag-name"},of={class:"form-tip"},af={class:"form-item"},rf={class:"form-item"},lf={key:0,class:"form-item"},sf=["onClick"],df={key:1},uf=["src"],cf={class:"form-item"},ff={class:"form-item"},vf={class:"form-item"},pf={class:"form-item"},mf={class:"dialog-footer"},gf={class:"question-select-content"},hf={class:"custom-tree-node"},yf={class:"node-label",style:{display:"flex","align-items":"center"}},bf={class:"ml-2"},Sf={class:"dialog-footer"},Ef={class:"data-collection-form"},xf={class:"field-config-panel"},If={class:"field-config-list"},Cf={class:"field-config-item"},Af={class:"field-label"},wf={class:"field-config-item"},Of={class:"field-label"},Tf={class:"field-config-item sub-field"},Df={class:"field-label"},Vf={class:"field-config-item"},Pf={class:"field-label"},Rf={class:"field-config-item sub-field"},Uf={class:"field-label"},Kf={class:"field-config-item"},Mf={class:"field-label"},kf={class:"field-config-item"},Bf={class:"field-label"},Nf={class:"field-config-item sub-field"},Ff={class:"field-label"},jf={class:"dialog-footer"},Lf={class:"resume-collection-form"},Qf={class:"form-item"},Gf={class:"dialog-footer"},zf={class:"code-test-form"},$f={class:"form-item"},Jf={class:"form-item"},Wf={class:"switch-label"},Hf={class:"form-item"},Yf={class:"test-paper-selector"},Xf={key:0,class:"empty-paper"},Zf={key:1,class:"selected-paper"},qf={class:"paper-info"},_f={class:"paper-title"},ev={class:"paper-meta"},tv={class:"paper-actions"},nv={class:"dialog-footer"},ov={class:"typing-test-form"},iv={class:"form-item"},av={class:"article-selection"},rv={class:"form-item"},lv={class:"form-item"},sv={class:"time-input-container"},dv={class:"form-item"},uv={class:"upload-area"},cv={class:"form-item"},fv={class:"form-item"},vv={class:"form-item"},pv={class:"form-item"},mv={class:"criteria-options"},gv={class:"dialog-footer"},hv={class:"interview-settings-content"},yv={class:"settings-section"},bv={class:"setting-item"},Sv={class:"setting-item"},Ev={class:"setting-item"},xv={class:"setting-item"},Iv={class:"settings-section"},Cv={class:"setting-item"},Av={class:"setting-info"},wv={class:"setting-desc-container"},Ov={class:"setting-item"},Tv={class:"setting-info"},Dv={key:0,class:"setting-desc-container"},Vv={class:"setting-desc"},Pv={key:1,class:"desc-edit-container"},Rv={class:"desc-edit-actions"},Uv={class:"setting-item"},Kv={class:"setting-info"},Mv={key:0,class:"setting-desc-container"},kv={class:"setting-desc"},Bv={key:1,class:"desc-edit-container"},Nv={class:"desc-edit-actions"},Fv={class:"setting-item"},jv={class:"setting-info"},Lv={key:0,class:"setting-desc-container"},Qv={class:"setting-desc"},Gv={key:1,class:"desc-edit-container"},zv={class:"desc-edit-actions"},$v={class:"dialog-footer"},Jv={class:"question-select-content"},Wv={class:"document-box document-left-box"},Hv={class:"search-bar"},Yv={class:"search-inputs"},Xv={class:"question-lists"},Zv={class:"pagination-container"},qv={class:"dialog-footer"},_v={class:"candidate-questions-form"},ep={class:"form-item"},tp={class:"form-item"},np={class:"form-item"},op={class:"dialog-footer"},ip={class:"dialog-footer"},ap={key:0,class:"selected-questions-preview"},rp={class:"preview-title"},lp={class:"preview-list"},sp={class:"preview-footer"},dp=Dl({__name:"index",setup(d){const i=Vl(),o=Pl(),s=Q(o.query.id),n=Q(!1),c=Q(!1),t=f=>r.slice(0,f+1).filter(e=>e.visible).length,a=_e({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=_e([{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=>(Vt.value.forEach(e=>{f.id==e.id&&(f.name=e.name)}),f.name),h=Q(!1),b=f=>{it.pageSize=f,Zt({page:it.page,limit:it.pageSize,question_form:at.question_form}).then(e=>{e.data&&(it.value=e.data.items,ut.page=e.data.page,ut.pageSize=e.data.limit,Wt.value=e.data.total)})},S=f=>{it.page=f,Zt({page:it.page,limit:it.pageSize,question_form:at.question_form}).then(e=>{e.data&&(it.value=e.data.items,ut.page=e.data.page,ut.pageSize=e.data.limit,Wt.value=e.data.total)})},E=async()=>{const f=Et.value.map(e=>e.id);if(console.log("selectedQuestionIds",f),f.length===0){P.warning("请至少选择一个问题");return}try{await fi({position_id:o.query.id,question_id:f,duration:60,tenant_id:Xt.get("tenant_id")});const e=it.value.filter(T=>T.selected);Et.value.push(...e),P.success("问题添加成功"),h.value=!1}catch(e){console.error("添加问题失败:",e),e.code===4e3?P.warning("该题目已绑定,请选择其他题目"):P.error("添加问题失败,请重试")}},I=()=>{Rn.value=!0,oa({position_id:o.query.id}).then(f=>{f.data.forEach(e=>{e.selected=!1}),Vt.value=f.data,console.log("res",f),Rn.value=!1}).catch(f=>{console.log("err",f),Rn.value=!1})},w=ls(),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 j;D&&D.children&&(j=D.children.find(ve=>ve.code===T),j&&j.children&&j.children.find(ve=>ve.code===x))}},B=Q(!1),R=()=>{B.value=!0},N=(f,e)=>{},U=Q(-1),$=Q(!1),ee=_e({top:"0px",left:"0px"}),K=Q(!1),Z=_e({qualityControl:!1,teamwork:!1,problemSolving:!1,dataAnalysis:!1,positionMatch:!1,proactiveness:!1,basicAbility:!1,communication:!1,serviceAwareness:!1,xxxx:!1}),L=Q(1),le=Q([{label:"沟通能力",value:"communication",level:"CC",description:"能够清晰、准确地表达想法,善于倾听和理解他人的观点,具备良好的书面和口头表达能力。",expanded:!1,isNew:!0},{label:"团队协作",value:"teamwork",level:"CC",description:"能够与团队成员有效合作,共同完成目标,具备良好的团队精神和协作意识。",expanded:!1,isNew:!1}]);_e({min:0,max:100,minScore:0,maxScore:0});const z=f=>{console.log(f)};Q("standard"),Q(!1);const W=Q(!1),de=_e({title:"",videoFile:null,description:"",broadcastType:"required"}),X=Q(!1);Q(15),Q(5);const ie=Q(!1),q=_e({id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:"",question_image_url:""}),Te=f=>f.map(e=>e.id),Me=Q([]),Ue=Q([]),ke=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"}]),Xe=()=>{Object.assign(q,{id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:"",question_image_url:""})},Le=async()=>{const f=await Fl({page:1,page_size:50});console.log(f),Ue.value=f.data.map(e=>({label:e.title,value:String(e.id)}))},De=()=>{ie.value=!1,Xe()},Ae=Q(!1),vt=_e({isRequired:!1,questions:[]});Q([{label:"Q1",value:"q1",isVisible:!0,enableScoring:!1,isRequired:!1},{label:"请问你的毕业院校是哪里?",value:"school",isVisible:!0,enableScoring:!1,isRequired:!0}]);const Ye=Q(!1),ht=_e({title:"简历收集",isRequired:!0,steps:4}),zt=()=>{Ye.value=!0},Kt=()=>{Ye.value=!1,Object.assign(ht,{title:"简历收集",isRequired:!0,steps:4})},Ze=()=>{const f={id:Date.now(),name:ht.title,description:"简历收集",active:!0,type:"resume_collection",config:{...ht},visible:!0};r.splice(U.value,0,f),console.log(r),Ye.value=!1,P.success("简历收集步骤已添加"),Kt()},Ke=Q(!1),st=_e({enableScoreQuestions:!1,enableColorBlindQuestions:!1,enableOpenQuestions:!1}),Tt=async()=>{try{const f=o.query.id;if(!f){P.error("职位ID不存在");return}const e=Array.isArray(f)?f[0]:f,T=f,x=await jl(f);if(x&&x.data){Object.assign(a,x.data),Me.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&&(st.enableScoreQuestions=D.data.enable_psychological_test),D.data.enable_color_blind_test!==void 0&&(st.enableColorBlindQuestions=D.data.enable_color_blind_test)),n.value=a.status===1}}catch(f){console.error("获取职位详情失败:",f),P.error("获取职位详情失败")}},Dt=()=>{i.push("/position/list")},xn=()=>{i.push("/position/list")},Qn=async f=>{const e=o.query.id;try{const T=f?1:0;if(f){const x=await Ll({position_id:e,tenant_id:Xt.get("tenant_id")});if(x.code===2e3){const{is_all_completed:D,total_questions:j}=x.data;if(!D||j<=0){P.warning(`无法开启职位,原因:${j<=0?"当前职位没有设置面试题目":"面试题目视频未全部生成完成"}`),n.value=!f;return}}else{P.error("检查视频状态失败,请稍后重试"),n.value=!f;return}}await At({id:e,status:T}),a.status=T,P.success(`职位已${f?"开启":"关闭"}`)}catch(T){console.error("修改状态失败:",T),P.error("修改状态失败"),n.value=!f}},St=()=>{u.value=!0},Nt=()=>{u.value=!1,P.success("招聘流程已更新")},en=()=>{u.value=!1},dn=(f,e)=>{f.type=="ai_video"&&(K.value=!1),f.type=="ai_chat"&&(X.value=!1),f.type=="ai_video"&&Pt({id:Ve.value,enable_open_questions:!1}).then(T=>{T.code==2e3?P.success("删除成功"):P.error("删除失败")}),f.type=="psychological_problem"&&Pt({id:Ve.value,enable_scoring_questions:!1}).then(T=>{T.code==2e3?P.success("删除成功"):P.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?P.success("删除成功"):P.error("删除失败")}),f.type=="resume_collection"&&Pt({id:Ve.value,require_resume_upload:!1}).then(T=>{T.code==2e3?P.success("删除成功"):P.error("删除失败")}),r.splice(e,1)},un=f=>({0:"未发布",1:"已发布",2:"已结束"})[f]||"未知状态",cn=f=>({0:"info",1:"success",2:"danger"})[f]||"info",fn=f=>({0:"全职",1:"兼职",2:"实习",3:"其他"})[f]||"未知",vn=(f,e)=>{U.value=f,$.value=!0,console.log(f,e);const T=e.currentTarget,x=T.closest(".process-dialog-content");if(x){const D=T.getBoundingClientRect(),j=x.getBoundingClientRect(),ve=D.bottom-j.top+5,J=D.left-j.left;ee.top=`${ve}px`,ee.left=`${J}px`}e.stopPropagation()},pn=async(f,e)=>{if(f==="ai_video"&&Pt({id:Ve.value,enable_open_questions:!0}).then(D=>{D.code==2e3?(r[2].visible=!0,$.value=!1):P.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),$.value=!1):P.error("更新配置失败")}),f==="psychological_problem"&&Pt({id:Ve.value,enable_scoring_questions:!0}).then(D=>{D.code==2e3?(r[4].visible=!0,$.value=!1):P.error("更新配置失败")}),f==="post_render_questions"){dl.value=!0,$.value=!1;return}if(f=="resume_collection"&&Pt({id:Ve.value,require_resume_upload:!0}).then(D=>{D.code==2e3?(r[0].visible=!0,P.success("新增成功")):P.error("删除失败")}),r.find(D=>!!(D.type&&D.type===f||D.name===e))){$.value=!1;return}if(f==="ai_chat"){X.value=!0,$.value=!1;return}if(f==="video_presentation"){Ze(),$.value=!1;return}if(f==="data_collection"){const D=await Mn(o.query.id);D&&D.data?(Ve.value=D.data.id,xa(G,D.data.profile_fields_config),Ae.value=!0,$.value=!1):(Ae.value=!0,$.value=!1);return}if(f==="resume_collection"){zt(),$.value=!1;return}if(f==="code_test"){Ba(),$.value=!1;return}if(f==="typing_test"){$n.value=!0,$.value=!1;return}if(f==="candidate_questions"){Un.value=!0,$.value=!1;return}const x={id:Date.now(),name:e,description:e,active:!0,type:f,visible:!0};console.log("newStep",x),r.splice(U.value,0,x),$.value=!1},A=async()=>{if(L.value<3){if(L.value===1){const f=Vt.value.filter(e=>e.selected);if(f.length===0){P.warning("请至少选择一个胜任力考核维度");return}try{le.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),P.error("处理胜任力标签失败");return}}if(L.value===2){if(te.value.length===0){P.warning("请至少添加一个面试题目");return}try{await Or()}catch(f){console.error("保存题目失败:",f),P.error("保存题目失败");return}}if(L.value===3){const f=Tr();if(!f.isValid){f.messages.forEach(T=>{P.warning(T)});return}const e=Pr();console.log("完整的面试配置:",e)}L.value++}else V()},C=()=>{L.value>1&&L.value--},V=async()=>{var D;if(!pt.value||!pt.value.id){P.warning("请选择面试官形象");return}if(!ko.value){P.warning("请选择面试官");return}const f={id:pt.value.id,name:pt.value.name,avatar_url:pt.value.avatar_url||pt.value.image},e=ri(),T={enableScoreQuestions:st.enableScoreQuestions,enableColorBlindQuestions:st.enableColorBlindQuestions};try{if(await At({id:o.query.id,status:0}),a.status=0,n.value=!1,Ve.value==0){const j=await vi({position_id:o.query.id,digital_human_id:pt.value.id});if(j.code==2e3){P.success("配置保存成功");try{const ve={config_id:((D=j.data)==null?void 0:D.id)||j.data};e.beforeStartText&&e.beforeStartText.trim()!==""?(await pi(ve),console.log("开场白生成成功"),K.value=!1,L.value=1,await new Promise(ge=>setTimeout(ge,4e3))):console.log("无开场白配置,跳过开场白生成"),await ia(ve),P.success("视频开始生成")}catch(ve){console.error("获取开场白和视频失败:",ve),P.warning("视频生成中,请稍后")}}else P.error("配置保存失败")}else if((await Pt({id:Ve.value,digital_human_id:pt.value.id})).code==2e3){P.success("配置保存成功");try{const ve={config_id:Ve.value};console.log("开始生成开场白..."),await pi(ve),console.log("开场白生成成功"),K.value=!1,L.value=1,console.log("等待4秒后开始生成视频..."),await Kr(4e3),console.log("开始生成视频..."),await ia(ve),console.log("视频生成请求已发送"),P.success("视频开始生成")}catch(ve){console.error("获取开场白和视频失败:",ve),P.warning("视频生成中,请稍后")}}else P.error("配置保存失败")}catch(j){console.error("更新职位状态失败:",j),P.error("更新职位状态失败");return}console.log("保存时选中的面试官:",f),console.log("保存时的面试设置:",e),console.log("保存时的题目设置:",T);const x={id:Date.now(),name:"AI考察",description:`已选择${le.value.length}项能力测评`,active:!0,type:"ai_video",abilities:le.value.map(j=>j.value),interviewer:f,settings:e};r.splice(U.value,0,x),K.value=!1,L.value=1,P.success("AI考察步骤已添加")},F=()=>{K.value=!1,L.value=1},_=f=>{},ue=()=>{W.value=!1,Object.assign(de,{title:"",videoFile:null,description:"",broadcastType:"required"})},me=()=>{const f={id:Date.now(),name:de.title||"视频宣讲",description:de.description||"视频宣讲",active:!0,type:"video_presentation",config:{...de}};r.splice(U.value,0,f),W.value=!1,P.success("视频宣讲步骤已添加"),ue()},xe=()=>{const f={id:Date.now(),name:"AI实时对话",description:"AI实时对话",active:!0,type:"ai_chat"};r.splice(U.value,0,f),X.value=!1,P.success("AI实时对话步骤已添加")},Fe=()=>{X.value=!1},fe=()=>{if(!Pe.title.trim()){P.warning("请输入环节名称");return}if(Pe.duration<=0){P.warning("提问时长必须大于0分钟");return}if(Pe.maxQuestions<=0){P.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},P.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(U.value,0,f),P.success("候选人提问环节已添加")}Un.value=!1,se()},ne=()=>{Un.value=!1,se()},se=()=>{uo.value=-1,Object.assign(Pe,{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]})},te=Q([]),Ee=ui(()=>te.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)),dt=ui(()=>{const f=Ee.value;if(f<60)return`${f}秒`;const e=Math.floor(f/60),T=f%60;return T>0?`${e}分${T}秒`:`${e}分钟`}),Gn=()=>{ie.value=!0},wo=()=>{Bo.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},In=async f=>{try{const e=await ss({...f,tenant_id:Xt.get("tenant_id")});if(console.log(f),e&&e.code===2e3){if(P.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||""};te.value.push(T)}ao.value=!1}else P.error("题目创建失败,请重试")}catch(e){console.error("创建题目失败:",e),P.error("题目创建失败,请重试")}},Ki=()=>{ao.value=!1,Bo.value={}},Mi=f=>({0:"开放问题",1:"单选题",2:"多选题",3:"色盲题",4:"得分题",5:"判断题",6:"填空题"})[f]||"未知类型",ki=f=>{if(te.value[f].source!=="ai_generated")console.log(te.value[f].id),ql(te.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(q,T)}});else{const e=te.value[f];console.log(e),Object.assign(q,e),console.log(te)}ie.value=!0,ll()},Bi=f=>{na.confirm("确认删除该问题?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{te.value.splice(f,1),P.success("删除成功")})},Ma=()=>{Object.assign(G,JSON.parse(JSON.stringify($i))),Ae.value=!1,Object.assign(vt,{isRequired:!1,questions:[]})};Rl(()=>{Tt(),ji(),Rr(),Le(),ka()}),Ul(()=>{Qi()});const ka=async()=>{try{const f=o.query.id;if(f){const e=await Mn(f);e&&e.data&&(e.data.enable_psychological_test!==void 0&&(st.enableScoreQuestions=e.data.enable_psychological_test),e.data.enable_color_blind_test!==void 0&&(st.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),nt=_e({title:"代码笔试",autoJudge:!0,selectedPaper:null}),Ba=()=>{zn.value=!0},Ni=()=>{zn.value=!1,Object.assign(nt,{title:"代码笔试",autoJudge:!0,selectedPaper:null})},Na=()=>{if(!nt.selectedPaper){P.warning("请添加考试试卷");return}const f={id:Date.now(),name:nt.title,description:`${nt.selectedPaper.title}`,active:!0,type:"code_test",config:{...nt}};r.splice(U.value,0,f),zn.value=!1,P.success("代码笔试步骤已添加"),Ni()},Fa=()=>{nt.selectedPaper={id:1,title:"前端开发工程师笔试",questionCount:4,duration:60,difficulty:"中等难度"}},ja=()=>{P.info("查看试卷功能开发中")},La=()=>{P.info("更换试卷功能开发中")},Qa=()=>{nt.selectedPaper=null},$n=Q(!1),et=_e({title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]}),Fi=()=>{$n.value=!1,Object.assign(et,{title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]})},Ga=()=>{const f={id:Date.now(),name:et.title,description:`打字测试 ${et.duration}分钟`,active:!0,type:"typing_test",config:{...et}};r.splice(U.value,0,f),$n.value=!1,P.success("打字测试步骤已添加"),Fi()},Oo=Q(!1),Cn=Q(""),za=()=>{Cn.value=a.title,Oo.value=!0},$a=()=>{Oo.value=!1},Ja=async()=>{if(!Cn.value.trim()){P.warning("职位名称不能为空");return}try{const f=o.query.id;await At({id:f,title:Cn.value.trim()}),a.title=Cn.value.trim(),Oo.value=!1,P.success("职位名称已更新")}catch(f){console.error("更新职位名称失败:",f),P.error("更新职位名称失败")}},To=Q(!1),$t=Q(""),Wa=()=>{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(j=>j.trim()),T=w.find(j=>j.name===e[0]);let x,D;T&&T.children&&(x=T.children.find(j=>j.name===e[1]),x&&x.children&&(D=x.children.find(j=>j.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=""}To.value=!0},Ha=()=>{To.value=!1},Ya=async()=>{try{const f=o.query.id,e=[];if($t.value&&Array.isArray($t.value)){const[T,x,D]=$t.value,j=w.find(ge=>ge.code===T);let ve,J;j&&(e.push(j.name),j.children&&(ve=j.children.find(ge=>ge.code===x),ve&&(e.push(ve.name),ve.children&&(J=ve.children.find(ge=>ge.code===D),J&&e.push(J.name)))))}await At({id:f,location:e}),a.location=e,To.value=!1,P.success("工作地点已更新")}catch(f){console.error("更新工作地点失败:",f),P.error("更新工作地点失败")}},Do=Q(!1),Jn=Q("月薪"),mn=Q(0),tn=Q(0),Xa=()=>{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&&(mn.value=parseInt(e[0])||0,tn.value=parseInt(e[1])||0)}}else Jn.value="月薪",mn.value=0,tn.value=0;Do.value=!0},Za=()=>{Do.value=!1},ii=()=>{mn.value>tn.value&&tn.value!==0&&(mn.value=tn.value)},qa=async()=>{try{const f=o.query.id,e=`${Jn.value} ${mn.value}-${tn.value}`;await At({id:f,salary_range:e}),a.salary_range=e,Do.value=!1,P.success("职位薪资已更新")}catch(f){console.error("更新职位薪资失败:",f),P.error("更新职位薪资失败")}},Vo=Q(!1),Wn=Q(""),_a=()=>{Wn.value=a.work_experience_required||"",Vo.value=!0},er=()=>{Vo.value=!1},tr=async()=>{try{const f=o.query.id;await At({id:f,work_experience_required:Wn.value}),a.work_experience_required=Wn.value,Vo.value=!1,P.success("工作经验已更新")}catch(f){console.error("更新工作经验失败:",f),P.error("更新工作经验失败")}},Po=Q(!1),Hn=Q(""),nr=()=>{Hn.value=a.education_required||"",Po.value=!0},or=()=>{Po.value=!1},ir=async()=>{try{const f=o.query.id;await At({id:f,education_required:Hn.value}),a.education_required=Hn.value,Po.value=!1,P.success("学历要求已更新")}catch(f){console.error("更新学历要求失败:",f),P.error("更新学历要求失败")}},Ro=Q(!1),Yn=Q(""),ar=()=>{Yn.value=a.department||"",Ro.value=!0},rr=()=>{Ro.value=!1},lr=async()=>{try{const f=o.query.id;await At({id:f,department:Yn.value.trim()}),a.department=Yn.value.trim(),Ro.value=!1,P.success("所属部门已更新")}catch(f){console.error("更新所属部门失败:",f),P.error("更新所属部门失败")}},Uo=Q(!1),Xn=Q(""),sr=()=>{Xn.value=a.end_date||"",Uo.value=!0},dr=()=>{Uo.value=!1},ur=async()=>{try{const f=o.query.id;await At({id:f,end_date:Xn.value}),a.end_date=Xn.value,Uo.value=!1,P.success("截止日期已更新")}catch(f){console.error("更新截止日期失败:",f),P.error("更新截止日期失败")}},Zn=Q(!1),qn=Q(""),cr=()=>{qn.value=a.requirements||"",Zn.value=!0},fr=()=>{Zn.value=!1},vr=async()=>{try{const f=o.query.id;await At({id:f,requirements:qn.value}),a.requirements=qn.value,Zn.value=!1,P.success("职位要求已更新")}catch(f){console.error("更新职位要求失败:",f),P.error("更新职位要求失败")}},_n=Q(!1),eo=Q(""),pr=()=>{eo.value=a.description||"",_n.value=!0},mr=()=>{_n.value=!1},gr=async()=>{try{const f=o.query.id;await At({id:f,description:eo.value}),a.description=eo.value,_n.value=!1,P.success("职位描述已更新")}catch(f){console.error("更新职位描述失败:",f),P.error("更新职位描述失败")}},An=Q(!1),to=Q(0),hr=()=>{to.value=a.job_type||0,An.value=!0},yr=()=>{An.value=!1},br=async()=>{try{const f=o.query.id;await At({id:f,job_type:to.value}),a.job_type=to.value,An.value=!1,P.success("职位性质已更新")}catch(f){console.error("更新职位性质失败:",f),P.error("更新职位性质失败")}},Vt=Q([]),Ko=Q(!1),wn=Q([]),ji=async()=>{try{const f=await Yl({page:1,pageSize:1e3});f&&f.data}catch(f){console.error("获取能力标签列表失败:",f),P.error("获取能力标签列表失败")}},Sr=async()=>{var f;await ji(),wn.value=((f=a.competency_tags)==null?void 0:f.map(e=>e.id))||[],Me.value.forEach(e=>{e.selected=wn.value.includes(e.id)}),Ko.value=!0},Er=()=>{Ko.value=!1},xr=async()=>{try{const f=o.query.id;await At({id:f,competency_tags:wn.value}),a.competency_tags=Me.value.filter(e=>wn.value.includes(e.id)).map(e=>({id:e.id,name:e.name})),Ko.value=!1,P.success("能力标签已更新")}catch(f){console.error("更新能力标签失败:",f),P.error("更新能力标签失败")}},Ir=Q(null),Ve=Q(0),Mo=async f=>{if(f.name==="资料收集"){const e=await Mn(o.query.id);e&&e.data&&(Ve.value=e.data.id,xa(G,e.data.profile_fields_config),Ae.value=!0,$.value=!1);return}if(f.name==="AI考察"){if(f.action==="delete"){await sl();return}const e=await Mn(o.query.id);Rn.value=!0,Ir.value=f,K.value=!0,L.value=1;try{const T=await aa({position_id:o.query.id,page:1,limit:20});T&&T.data&&T.data.dataList&&(te.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 os({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(j=>j.id===D.id))}),Vt.value=x.data.items;else{const D=await oa({position_id:o.query.id});if(D&&D.data){D.data.forEach(j=>{j.selected=!1}),Vt.value=D.data;try{await is({position_id:o.query.id,tags:Vt.value}),P.success("胜任力标签保存成功")}catch(j){console.error("保存胜任力标签失败:",j),P.error("胜任力标签保存失败")}}}e&&e.data&&(Ve.value=e.data.id)}catch(T){console.error("获取或生成能力标签失败:",T),P.error("获取或生成能力标签失败")}finally{Rn.value=!1}Object.keys(Z).forEach(T=>{Z[T]=!1})}f.name==="综合素质考察"&&Zt({page:1,limit:20}).then(e=>{e.data&&(it.value=e.data.items,ut.page=e.data.page,ut.pageSize=e.data.limit,Wt.value=e.data.total,gl(),h.value=!0)}),f.name==="心理问题"&&Zt({page:1,limit:30,question_form:4}).then(e=>{e.data&&(at.question_form=4,it.value=e.data.items,ut.page=e.data.page,ut.pageSize=e.data.limit,Wt.value=e.data.total,bl(),Tn.value=!0)})},nn=Q(""),On=Q(""),Cr=Q(!1),Ar=async()=>{if(!nn.value.trim()){P.warning("请输入维度名称");return}if(Vt.value.find(e=>e.name===nn.value.trim())){P.warning("该维度名称已存在,请重新输入");return}try{const e=await _l({name:nn.value.trim(),description:On.value.trim(),importance:1,weight:0});if(!e.data)throw new Error("创建标签失败");const T=e.data.id;await es({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};Vt.value.push(x),Cr.value,nn.value="",On.value="",console.log("添加新维度成功:",x),console.log("当前备选维度列表:",Vt.value)}catch(e){console.error("添加自定义维度失败:",e),P.error("添加自定义维度失败,请重试")}},ot=_e({keepVideo:!0,interruptionMode:"",smartFollowUp:!1,followUpStyle:""}),ai=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"}]),pt=Q(ai.value[0]),ko=Q(""),wr=f=>{pt.value=f,console.log("选中的面试官信息:",{id:f.id,name:f.name,avatar_url:f.avatar_url||f.image}),ko.value=f.avatar_url,P.success(`已选择面试官:${f.name}`)},Or=async()=>{const f=te.value.filter(T=>T.source==="ai_generated"),e=te.value.filter(T=>T.source==="custom_selected");if(console.log("AI生成的题目:",f),console.log("自定义选择的题目:",e),f.length>0&&(await ts({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?P.success("自定义选择的题目已保存"):P.error("自定义选择的题目保存失败")}},ri=()=>{const f={keepVideo:ot.keepVideo,interruptionMode:ot.interruptionMode,followUpStyle:ot.followUpStyle,smartFollowUp:ot.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}},Tr=()=>{const f=ri(),e={isValid:!0,messages:[]};return f.interruptionMode===""&&(e.isValid=!1,e.messages.push("请选择中断后作答限制模式")),e},Dr=f=>{c.value=!0,console.log("开始拖拽题目:",f)},Vr=f=>{c.value=!1,console.log("拖拽结束:",f),console.log("当前题目顺序:",te.value),P.success("题目顺序已更新")},Pr=()=>({interviewer:{id:pt.value.id,name:pt.value.name,avatar_url:pt.value.avatar_url||pt.value.image},settings:ri(),questionSettings:{enableScoreQuestions:st.enableScoreQuestions,enableColorBlindQuestions:st.enableColorBlindQuestions},abilities:le.value,questions:te.value,currentStep:L.value}),Rr=async()=>{const f=await Xl({page:1,pageSize:1e3});f&&f.data&&(ai.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)},Ur=f=>{na.confirm("确认删除这个胜任力标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const e=le.value[f];le.value.splice(f,1),oo.value=oo.value.filter(x=>x.name!==e.label);const T=Vt.value.find(x=>x.name===e.label);T&&(T.selected=!1),P.success("胜任力标签已删除")}).catch(()=>{})},oo=Q([]),Kr=f=>new Promise(e=>setTimeout(e,f));let Jt=null;const Mr=async(f,e=300,T=2e3)=>{let x=0;Jt={cancelled:!1};const D=Jt;return new Promise((j,ve)=>{const J=async()=>{try{if(D.cancelled){console.log("轮询已被取消"),j(null);return}x++,console.log(`第${x}次轮询获取草稿列表...`);const ge=await aa(f);if(D.cancelled){console.log("轮询已被取消"),j(null);return}if(ge&&ge.data&&ge.data.dataList&&ge.data.dataList.length>0){console.log("轮询成功,获取到草稿列表数据"),Jt=null,j(ge);return}if(x>=e){console.log("轮询达到最大次数,停止轮询"),Jt=null,j(ge);return}setTimeout(J,T)}catch(ge){if(console.error(`第${x}次轮询失败:`,ge),D.cancelled){console.log("轮询已被取消"),j(null);return}x<e?setTimeout(J,T):(Jt=null,ve(ge))}};J()})},Qi=()=>{Jt&&(Jt.cancelled=!0,Jt=null,console.log("轮询已被手动取消"))},kr=()=>{Qi(),Ke.value=!1,P.info("已取消AI自动组题")},Tn=Q(!1),io=Q(""),it=Q([]),Et=Q([]),ao=Q(!1),Bo=Q({}),Gi=Q(!1),Br=Q(0),Wt=Q(0),at=_e({page:1,pageSize:10,keyword:"",question_form:null}),ut=_e({page:1,limit:20,keyword:"",question_form:null}),Nr=async()=>{try{const f={...at,keyword:io.value,...at.question_form!==null&&{question_form:at.question_form}},e=await Zt(f);e&&e.data&&(it.value=e.data.items,Br.value=e.data.total)}catch(f){console.error("获取题目列表失败:",f),P.error("获取题目列表失败")}},No=()=>{at.page=1,Nr()},Fr=f=>{Et.value=f},zi=()=>{Tn.value=!1,Et.value=[],io.value=""},jr=async()=>{if(Et.value.length===0){P.warning("请至少选择一个题目");return}try{const f=Et.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=Et.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"}));te.value.push(...e),Tn.value=!1,Et.value=[],io.value="",P.success("题目添加成功")}catch(f){console.error("添加题目失败:",f),Tn.value=!1,f.code===4e3?P.warning("该题目已绑定,请选择其他题目"):P.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=_e(JSON.parse(JSON.stringify($i))),Lr=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?(P.success("配置保存成功"),Ae.value=!1,$.value=!1):P.error("配置保存失败"):(await Pt(f)).code==2e3?(P.success("配置保存成功"),Ae.value=!1,$.value=!1):P.error("配置保存失败")}catch(f){console.error("保存配置失败:",f),P.error("配置保存失败")}},Qr=()=>({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}),Gr=()=>({skills:G.require_professional_skills,training:G.training_fields_config}),ro=Q(!1),Qe=_e({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(""),zr=()=>{ro.value=!1,Dn.value=!1,lo.value=!1,so.value=!1,Object.assign(Qe,{faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我想咨询其间的面试,欢迎来到大面试",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部流程拍摄,面试者同意可为今后资讯调研"})},$r=()=>{console.log("保存面试设置:",Qe),P.success("面试设置已保存"),ro.value=!1},Jr=()=>{Mn(o.query.id).then(f=>{ro.value=!0,Ve.value=f.data.id,Qe.beforeStartText=f.data.digital_human_opening_speech})},Wr=()=>{on.value=Qe.beforeStartText,Dn.value=!0},Hr=()=>{Dn.value=!1,on.value=""},Yr=async()=>{var f;if(!on.value.trim()){P.warning("开始前提示内容不能为空");return}Qe.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,P.success("开始前提示内容已创建"),Dn.value=!1):P.error("开始前提示内容创建失败");else if(e=await Pt({id:Ve.value,digital_human_opening_speech:on.value.trim()}),e.code===2e3){P.success("开始前提示内容已更新"),Dn.value=!1;try{const T={config_id:Ve.value};await pi(T),console.log("开场白生成成功")}catch(T){console.error("获取开场白失败:",T),P.warning("开场白生成中,请稍后")}}else P.error("开始前提示内容更新失败")}catch(e){console.error("保存开始前提示内容失败:",e),P.error("保存失败,请重试")}},Xr=()=>{Vn.value=Qe.afterStartText,lo.value=!0},Zr=()=>{lo.value=!1,Vn.value=""},qr=()=>{if(!Vn.value.trim()){P.warning("开始后提醒内容不能为空");return}Qe.afterStartText=Vn.value.trim(),lo.value=!1,P.success("开始后提醒内容已更新")},_r=()=>{Pn.value=Qe.disclaimerText,so.value=!0},el=()=>{so.value=!1,Pn.value=""},tl=()=>{if(!Pn.value.trim()){P.warning("内容不能为空");return}Qe.disclaimerText=Pn.value.trim(),so.value=!1,P.success("内容已更新")},gn=_e({openQuestionsCount:5,choiceQuestionsCount:10}),Ji=()=>{console.log("题目数量已更新:",gn)},Wi=async()=>{try{Ke.value=!0;const f=le.value.map(x=>x.id);if(f.length===0){P.warning("请先选择能力标签");return}const e={position_id:o.query.id,competency_tag_ids:f,open_questions_count:gn.openQuestionsCount,choice_questions_count:gn.choiceQuestionsCount,auto_save:!0,tenant_id:Xt.get("tenant_id")},T=await ns(e);if(T&&T.data){const x=await Mr({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(j=>({id:j.id||Date.now(),title:j.question||j.title,ability:j.ability||"未设置",content:j.content||j.question,target:j.target||"未设置",competency_tags:j.competency_tag_info||[],question_form_name:j.question_form_name,scoring_reference:j.scoring_reference,question_form:j.question_form,is_required_correct:j.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:j.options||[],source:"ai_generated"}));te.value=D,P.success(`已成功生成${D.length}个面试题目`)}else P.warning("AI生成题目中,请稍后再试")}}catch(f){console.error("AI自动组题失败:",f),P.error("AI自动组题失败,请重试")}finally{Ke.value=!1}},nl=f=>{if(q.competency_tags=[],f.length>0){const e=Math.floor(100/f.length),T=100%f.length;q.competency_tags=f.map((x,D)=>{const j=Me.value.find(ve=>ve.id===x);return{id:x,name:j?j.name:`标签${x}`,weight:e+(D<T?1:0)}})}},ol=f=>{switch(q.type=f,f){case"open":q.suggestedDuration=120;break;case"single":case"multiple":q.suggestedDuration=60;break;case"fill":q.suggestedDuration=30;break;case"self":q.suggestedDuration=180;break;default:q.suggestedDuration=60}},Rn=Q(!1),Un=Q(!1),uo=Q(-1),Pe=_e({title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}),il=(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},al=(f,e)=>{switch(f.type){case"ai_video":Mo(f);break;case"candidate_questions":il(f,e);break;case"data_collection":Mo(f);break;case"resume_collection":Mo(f);break;default:Mo(f);break}},rl=(f,e)=>{(e===null||e<0)&&(e=0),e>100&&(e=100);const T=q.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,J)=>J!==f),j=D.reduce((ve,J)=>ve+J.weight,0);if(j===0){const ve=100-x,J=Math.floor(ve/D.length),ge=ve%D.length;D.forEach((rt,xt)=>{const Ft=T.findIndex(jt=>jt.id===rt.id);T[Ft].weight=J+(xt<ge?1:0)})}else{const ve=100-x;if(ve>0){D.forEach(ge=>{const rt=T.findIndex(Ft=>Ft.id===ge.id),xt=ge.weight/j;T[rt].weight=Math.round(ve*xt)});const J=li();if(J!==100){const ge=100-J,rt=D.reduce((Ft,jt)=>jt.weight>Ft.weight?jt:Ft),xt=T.findIndex(Ft=>Ft.id===rt.id);T[xt].weight+=ge}}else D.forEach(J=>{const ge=T.findIndex(rt=>rt.id===J.id);T[ge].weight=0})}},li=()=>q.competency_tags.reduce((e,T)=>e+(T.weight||0),0),ll=()=>{const f=q.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:()=>Te(q.competency_tags),set:f=>{q.competency_tags=f,nl(f)}}),sl=async()=>{try{const f=await as({position_id:o.query.id,tenant_id:Xt.get("tenant_id"),is_ai_generated:!0});f&&f.data&&f.data.length>0&&(await rs({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}),P.success("AI考察问题已删除"))}catch(f){console.error("删除AI考察问题失败:",f),P.error("删除AI考察问题失败")}};Kl(()=>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 dl=Q(!1),Fo=Q(!1),an=Q({duration:5,detectionItems:["face","pose"],promptText:"请按照提示完成相应的动作,系统将自动进行检测。"}),ul=()=>{Fo.value=!1},cl=async()=>{try{await saveProcessConfig({position_id:o.params.id,process_type:"body_detection",config:an.value}),P.success("配置保存成功"),Fo.value=!1}catch(f){console.error("保存肢体检测配置失败:",f),P.error("配置保存失败")}},Yi=Q([]),fl=Q(),vl=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:at.question_form}).then(D=>{D.data&&(it.value=D.data.items,ut.page=D.data.page,ut.pageSize=D.data.limit,Wt.value=D.data.total)}):e&&Zt({page:1,limit:20,question_category:e.id.replace("category_",""),question_form:at.question_form}).then(D=>{D.data&&(it.value=D.data.items,ut.page=D.data.page,ut.pageSize=D.data.limit,Wt.value=D.data.total)})},pl=f=>{console.log(f)},ml=f=>{console.log(f)},gl=()=>{ra({}).then(f=>{console.log("ret",f),f.data,la({}).then(e=>{console.log("res",e);const T=e.data.items.filter(x=>!["技术能力","服务意识","职业素质","基本常识","色盲检测","内容铺垫","心理测试1"].includes(x.name));sa({}).then(x=>{console.log("res",x);const D=x.data.items,j=[...T.map(ve=>({id:`category_${ve.id}`,title:ve.name,children:D.filter(J=>J.category_id===ve.id).map(J=>({id:`tag_${J.id}`,title:J.name,chinese_explanation:J.chinese_explanation||""}))}))];Yi.value=j})})})},Xi=Q([]),hl={children:"children",label:"title"},yl=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:at.question_form});if(T&&T.data){it.value=T.data.items,ut.page=T.data.page,ut.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)}Et.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:at.question_form});if(T&&T.data){it.value=T.data.items,ut.page=T.data.page,ut.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)}Et.value=T.data.items}}}catch(e){console.error("获取题目列表失败:",e),P.error("获取题目列表失败")}},bl=()=>{ra({}).then(f=>{console.log("ret",f),f.data,la({}).then(e=>{console.log("res",e);const T=e.data.items.filter(x=>!["技术能力","服务意识","职业素质","基本常识","色盲检测","内容铺垫","红线题","健康情况","综合素质题"].includes(x.name));sa({}).then(x=>{console.log("res",x);const D=x.data.items,j=[...T.map(ve=>({id:`category_${ve.id}`,title:ve.name,children:D.filter(J=>J.category_id===ve.id).map(J=>({id:`tag_${J.id}`,title:J.name,chinese_explanation:J.chinese_explanation||""}))}))];Xi.value=j})})})};return(f,e)=>{const T=Oe("page-header"),x=Oe("el-button"),D=Oe("el-icon"),j=Oe("el-input"),ve=Oe("el-cascader"),J=Oe("el-option"),ge=Oe("el-select"),rt=Oe("el-input-number"),xt=Oe("el-tag"),Ft=Oe("el-date-picker"),jt=Oe("el-card"),tt=Oe("el-switch"),It=Oe("el-dialog"),Ht=Oe("el-checkbox"),Sl=Oe("Refresh"),co=Oe("el-radio"),Zi=Oe("el-upload"),Kn=Oe("el-tooltip"),El=Oe("Folder"),xl=Oe("el-tree"),Lt=Oe("el-col"),Yt=Oe("el-row"),Il=Oe("el-radio-group"),si=Oe("el-table-column"),Cl=Oe("el-table"),Al=Oe("el-pagination"),di=Oe("el-form-item"),wl=Oe("el-checkbox-group"),Ol=Oe("el-form"),qi=Ml("loading");return k(),Y("div",Xs,[l("div",Zs,[v(T,{title:"测试",onBack:Dt}),l("div",qs,[v(x,{type:"primary",onClick:xn},{default:y(()=>e[93]||(e[93]=[M("保存")])),_:1})])]),l("div",_s,[v(jt,{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",ed,[e[96]||(e[96]=l("div",{class:"detail-label"},"职位名称",-1)),Oo.value?(k(),Y("div",nd,[v(j,{modelValue:Cn.value,"onUpdate:modelValue":e[0]||(e[0]=p=>Cn.value=p),placeholder:"请输入职位名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"]),l("div",od,[v(x,{size:"small",onClick:$a},{default:y(()=>e[94]||(e[94]=[M("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Ja},{default:y(()=>e[95]||(e[95]=[M("保存")])),_:1})])])):(k(),Y("div",td,[M(re(a.title)+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:za},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))]),l("div",id,[e[99]||(e[99]=l("div",{class:"detail-label"},"工作地点",-1)),To.value?(k(),Y("div",rd,[v(ve,{modelValue:$t.value,"onUpdate:modelValue":e[1]||(e[1]=p=>$t.value=p),options:be(w),props:{expandTrigger:"hover",checkStrictly:!1,value:"code",label:"name"},style:{width:"100%"},placeholder:"请选择工作地点",clearable:"",onChange:O},null,8,["modelValue","options"]),l("div",ld,[v(x,{size:"small",onClick:Ha},{default:y(()=>e[97]||(e[97]=[M("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Ya},{default:y(()=>e[98]||(e[98]=[M("保存")])),_:1})])])):(k(),Y("div",ad,[M(re((()=>{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(ae=>ae.trim()).join(",")}catch{return a.location}return a.location})())+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:Wa},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))]),l("div",sd,[e[103]||(e[103]=l("div",{class:"detail-label"},"职位薪资",-1)),Do.value?(k(),Y("div",ud,[l("div",cd,[v(ge,{modelValue:Jn.value,"onUpdate:modelValue":e[2]||(e[2]=p=>Jn.value=p),placeholder:"薪资类型",class:"salary-type-select",onChange:ii},{default:y(()=>[v(J,{label:"月薪",value:"月薪"}),v(J,{label:"年薪",value:"年薪"}),v(J,{label:"日薪",value:"日薪"}),v(J,{label:"时薪",value:"时薪"})]),_:1},8,["modelValue"]),v(rt,{modelValue:mn.value,"onUpdate:modelValue":e[3]||(e[3]=p=>mn.value=p),placeholder:"起始薪资",class:"salary-input",type:"number","controls-position":"right",min:"0",onInput:ii},null,8,["modelValue"]),e[100]||(e[100]=l("span",{class:"salary-separator"},"-",-1)),v(rt,{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:ii},null,8,["modelValue"])]),l("div",fd,[v(x,{size:"small",onClick:Za},{default:y(()=>e[101]||(e[101]=[M("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:qa},{default:y(()=>e[102]||(e[102]=[M("保存")])),_:1})])])):(k(),Y("div",dd,[M(re(a.salary_range||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:Xa},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))]),l("div",vd,[e[106]||(e[106]=l("div",{class:"detail-label"},"工作经验",-1)),Vo.value?(k(),Y("div",md,[v(ge,{modelValue:Wn.value,"onUpdate:modelValue":e[5]||(e[5]=p=>Wn.value=p),placeholder:"请选择工作经验",style:{width:"100%"}},{default:y(()=>[v(J,{label:"不限",value:"不限"}),v(J,{label:"应届毕业生",value:"应届毕业生"}),v(J,{label:"1年以下",value:"1年以下"}),v(J,{label:"1-3年",value:"1-3年"}),v(J,{label:"3-5年",value:"3-5年"}),v(J,{label:"5-10年",value:"5-10年"}),v(J,{label:"10年以上",value:"10年以上"})]),_:1},8,["modelValue"]),l("div",gd,[v(x,{size:"small",onClick:er},{default:y(()=>e[104]||(e[104]=[M("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:tr},{default:y(()=>e[105]||(e[105]=[M("保存")])),_:1})])])):(k(),Y("div",pd,[M(re(a.work_experience_required||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:_a},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))]),l("div",hd,[e[109]||(e[109]=l("div",{class:"detail-label"},"学历要求",-1)),Po.value?(k(),Y("div",bd,[v(ge,{modelValue:Hn.value,"onUpdate:modelValue":e[6]||(e[6]=p=>Hn.value=p),placeholder:"请选择学历要求",style:{width:"100%"}},{default:y(()=>[v(J,{label:"不限",value:"不限"}),v(J,{label:"高中",value:"高中"}),v(J,{label:"大专",value:"大专"}),v(J,{label:"本科",value:"本科"}),v(J,{label:"硕士",value:"硕士"}),v(J,{label:"博士",value:"博士"})]),_:1},8,["modelValue"]),l("div",Sd,[v(x,{size:"small",onClick:or},{default:y(()=>e[107]||(e[107]=[M("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:ir},{default:y(()=>e[108]||(e[108]=[M("保存")])),_:1})])])):(k(),Y("div",yd,[M(re(a.education_required||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:nr},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))]),l("div",Ed,[e[112]||(e[112]=l("div",{class:"detail-label"},"所属部门",-1)),Ro.value?(k(),Y("div",Id,[v(j,{modelValue:Yn.value,"onUpdate:modelValue":e[7]||(e[7]=p=>Yn.value=p),placeholder:"请输入所属部门",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),l("div",Cd,[v(x,{size:"small",onClick:rr},{default:y(()=>e[110]||(e[110]=[M("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:lr},{default:y(()=>e[111]||(e[111]=[M("保存")])),_:1})])])):(k(),Y("div",xd,[M(re(a.department||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:ar},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))]),l("div",Ad,[e[113]||(e[113]=l("div",{class:"detail-label"},"职位状态",-1)),l("div",wd,[v(xt,{type:cn(a.status)},{default:y(()=>[M(re(un(a.status)),1)]),_:1},8,["type"])])]),l("div",Od,[e[116]||(e[116]=l("div",{class:"detail-label"},"截止日期",-1)),Uo.value?(k(),Y("div",Dd,[v(Ft,{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",Vd,[v(x,{size:"small",onClick:dr},{default:y(()=>e[114]||(e[114]=[M("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:ur},{default:y(()=>e[115]||(e[115]=[M("保存")])),_:1})])])):(k(),Y("div",Td,[M(re(a.end_date||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:sr},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))]),l("div",Pd,[e[119]||(e[119]=l("div",{class:"detail-label"},"职位要求",-1)),Zn.value?we("",!0):(k(),Y("div",{key:0,class:"detail-value html-content",innerHTML:a.requirements},null,8,Rd)),Zn.value?(k(),Y("div",Ud,[v(j,{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:fr},{default:y(()=>e[117]||(e[117]=[M("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:vr},{default:y(()=>e[118]||(e[118]=[M("保存")])),_:1})])])):(k(),Ce(x,{key:1,type:"text",class:"edit-title-btn",onClick:cr},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1}))]),e[127]||(e[127]=l("div",{style:{width:"100%","border-bottom":"1px solid #e5e5e5"}},null,-1)),l("div",Md,[e[122]||(e[122]=l("div",{class:"detail-label"},"职位描述",-1)),_n.value?we("",!0):(k(),Y("div",{key:0,class:"detail-value html-content",innerHTML:a.description},null,8,kd)),_n.value?(k(),Y("div",Bd,[v(j,{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",Nd,[v(x,{size:"small",onClick:mr},{default:y(()=>e[120]||(e[120]=[M("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:gr},{default:y(()=>e[121]||(e[121]=[M("保存")])),_:1})])])):(k(),Ce(x,{key:1,type:"text",class:"edit-title-btn",onClick:pr},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1}))]),l("div",Fd,[e[125]||(e[125]=l("div",{class:"detail-label"},"能力标签",-1)),Ko.value?(k(),Y("div",Ld,[v(ge,{modelValue:wn.value,"onUpdate:modelValue":e[11]||(e[11]=p=>wn.value=p),multiple:"",filterable:"",placeholder:"请选择能力标签",style:{width:"100%"}},{default:y(()=>[(k(!0),Y(Ge,null,ze(Me.value,p=>(k(),Ce(J,{key:p.id,label:p.name,value:p.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),l("div",Qd,[v(x,{size:"small",onClick:Er},{default:y(()=>e[123]||(e[123]=[M("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:xr},{default:y(()=>e[124]||(e[124]=[M("保存")])),_:1})])])):(k(),Y("div",jd,[(k(!0),Y(Ge,null,ze(a.competency_tags,p=>(k(),Ce(xt,{key:p.id,effect:"plain",class:"competency-tag"},{default:y(()=>[M(re(p.name),1)]),_:2},1024))),128)),v(x,{type:"text",class:"edit-title-btn",onClick:Sr},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))])]),_:1}),l("div",Gd,[v(jt,{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",zd,[v(tt,{modelValue:n.value,"onUpdate:modelValue":e[12]||(e[12]=p=>n.value=p),"inactive-text":"",onChange:Qn},null,8,["modelValue"]),l("span",$d,re(n.value?"已启用":"待启用"),1)])]),_:1}),v(jt,{class:"status-card"},{default:y(()=>[l("div",Jd,[e[130]||(e[130]=l("div",{class:"section-line"},null,-1)),e[131]||(e[131]=l("span",null,"职位性质",-1)),An.value?we("",!0):(k(),Ce(x,{key:0,type:"text",class:"edit-btn",onClick:hr},{default:y(()=>e[129]||(e[129]=[M("编辑")])),_:1}))]),l("div",Wd,[An.value?we("",!0):(k(),Y("div",Hd,re(fn(a.job_type)),1)),An.value?(k(),Y("div",Yd,[v(ge,{modelValue:to.value,"onUpdate:modelValue":e[13]||(e[13]=p=>to.value=p),placeholder:"请选择职位性质",style:{width:"100%"}},{default:y(()=>[v(J,{label:"全职",value:0}),v(J,{label:"兼职",value:1}),v(J,{label:"实习",value:2}),v(J,{label:"其他",value:3})]),_:1},8,["modelValue"]),l("div",Xd,[v(x,{size:"small",onClick:yr},{default:y(()=>e[132]||(e[132]=[M("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:br},{default:y(()=>e[133]||(e[133]=[M("保存")])),_:1})])])):we("",!0)])]),_:1}),v(jt,{class:"status-card"},{default:y(()=>[l("div",Zd,[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:St},{default:y(()=>e[134]||(e[134]=[M("设置流程")])),_:1})]),l("div",qd,[(k(!0),Y(Ge,null,ze(r,(p,ae)=>jo((k(),Y("div",{key:p.id,class:Ct(["process-step",{disabled:!p.active}])},[p.name!="已通过"&&p.name!="已淘汰"?(k(),Y("div",_d,re(t(ae)),1)):we("",!0),l("div",eu,[l("div",tu,re(p.name),1)])],2)),[[_i,p.visible]])),128))])]),_:1}),v(jt,{class:"status-card"},{default:y(()=>[l("div",nu,[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:Jr},{default:y(()=>e[137]||(e[137]=[M("编辑")])),_: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",du,[v(x,{onClick:en},{default:y(()=>e[143]||(e[143]=[M("取消")])),_:1}),v(x,{type:"primary",onClick:Nt},{default:y(()=>e[144]||(e[144]=[M("确定")])),_:1})])]),default:y(()=>[l("div",ou,[(k(!0),Y(Ge,null,ze(r,(p,ae)=>jo((k(),Y("div",{key:p.id},[ae<r.length-1?(k(),Y("div",iu,[v(x,{type:"text",onClick:Ie=>vn(ae,Ie)},{default:y(()=>[v(D,null,{default:y(()=>[v(be(hn))]),_:1})]),_:2},1032,["onClick"])])):we("",!0),l("div",{class:Ct(["process-edit-item",{highlight:p.active}])},[p.name!="已通过"&&p.name!="已淘汰"?(k(),Y("div",au,re(t(ae)),1)):we("",!0),l("div",ru,[l("div",null,re(p.name),1)]),p.name!="已通过"&&p.name!="已淘汰"?(k(),Y("div",lu,[p.name!="简历收集"?(k(),Ce(x,{key:0,type:"info",size:"small",plain:"",onClick:Ie=>al(p,ae)},{default:y(()=>e[140]||(e[140]=[M(" 修改 ")])),_:2},1032,["onClick"])):we("",!0),p.name!="资料收集"&&p.name!="AI考察"?(k(),Ce(x,{key:1,type:"danger",size:"small",plain:"",style:{"margin-top":"10px","margin-left":"0px"},onClick:Ie=>dn(p,ae)},{default:y(()=>e[141]||(e[141]=[M(" 删除 ")])),_:2},1032,["onClick"])):we("",!0)])):we("",!0)],2)])),[[_i,p.visible]])),128)),e[142]||(e[142]=l("div",{class:"add-process-btn"},null,-1))]),$.value?(k(),Y("div",{key:0,class:"process-options-menu",style:Bl({top:ee.top,left:ee.left}),onClick:e[15]||(e[15]=kl(()=>{},["stop"]))},[l("div",{class:"close-btn",onClick:e[14]||(e[14]=p=>$.value=!1)},[v(D,null,{default:y(()=>[v(be(Jl))]),_:1})]),(k(),Y(Ge,null,ze(g,p=>l("div",{key:p.value,class:"process-option-item",onClick:ae=>pn(p.value,p.label)},re(p.label),9,su)),64))],4)):we("",!0)]),_:1},8,["modelValue"]),v(be(ci),{title:"AI考察",modelValue:K.value,"onUpdate:modelValue":e[35]||(e[35]=p=>K.value=p),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-video-drawer","destroy-on-close":!1},{footer:y(()=>[l("div",Oc,[L.value>1?(k(),Ce(x,{key:0,size:"small",onClick:C},{default:y(()=>e[185]||(e[185]=[M("上一步")])),_:1})):we("",!0),v(x,{onClick:F,size:"small"},{default:y(()=>e[186]||(e[186]=[M("取消")])),_:1}),L.value<3?(k(),Ce(x,{key:1,type:"primary",size:"small",onClick:A,style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[187]||(e[187]=[M("下一步")])),_:1})):(k(),Ce(x,{key:2,type:"success",onClick:V,size:"small",style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[188]||(e[188]=[M("新增")])),_:1}))])]),default:y(()=>[l("div",uu,[l("div",{class:Ct(["step-item",{active:L.value===1}]),onClick:e[17]||(e[17]=p=>_(1))},[e[145]||(e[145]=l("div",{class:"step-number"},"1",-1)),l("div",{class:Ct(["step-title",{"active-title":L.value===1}])},"考察能力",2)],2),l("div",{class:Ct(["step-line",{"active-line":L.value>=2}])},null,2),l("div",{class:Ct(["step-item",{active:L.value===2}]),onClick:e[18]||(e[18]=p=>_(2))},[e[146]||(e[146]=l("div",{class:"step-number"},"2",-1)),l("div",{class:Ct(["step-title",{"active-title":L.value===2}])},"面试题目",2)],2),l("div",{class:Ct(["step-line",{"active-line":L.value>=3}])},null,2),l("div",{class:Ct(["step-item",{active:L.value===3}]),onClick:e[19]||(e[19]=p=>_(3))},[e[147]||(e[147]=l("div",{class:"step-number"},"3",-1)),l("div",{class:Ct(["step-title",{"active-title":L.value===3}])},"系统设置",2)],2)]),L.value===1?jo((k(),Y("div",cu,[l("div",fu,[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",vu,[l("div",pu,[(k(!0),Y(Ge,null,ze(Vt.value.slice(0,10),p=>(k(),Ce(Ht,{key:p.id,modelValue:p.selected,"onUpdate:modelValue":ae=>p.selected=ae,onChange:ae=>Li(p,ae),class:"custom-checkbox"},{default:y(()=>[l("div",mu,[l("span",null,re(p.name),1),e[148]||(e[148]=l("img",{src:da,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),l("div",gu,[l("div",hu,[e[150]||(e[150]=l("h3",{style:{color:"#808080"}},"备选考核维度",-1)),l("div",yu,[v(x,{type:"primary",class:"custom-btn",plain:"",size:"small",onClick:I},{default:y(()=>e[149]||(e[149]=[M("重新生成")])),_:1})])]),l("div",bu,[(k(!0),Y(Ge,null,ze(Vt.value.slice(10,50),p=>(k(),Ce(Ht,{key:p.id,modelValue:p.selected,"onUpdate:modelValue":ae=>p.selected=ae,onChange:ae=>Li(p,ae),class:"custom-checkbox"},{default:y(()=>[l("div",Su,[l("span",null,re(p.name),1)])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),l("div",Eu,[e[153]||(e[153]=l("h3",{style:{color:"#808080"}},"自定义维度",-1)),l("div",xu,[l("div",Iu,[l("div",Cu,[v(j,{style:{width:"150px"},modelValue:nn.value,"onUpdate:modelValue":e[20]||(e[20]=p=>nn.value=p),placeholder:"请输入维度名称"},null,8,["modelValue"])]),l("div",Au,[e[151]||(e[151]=l("div",{class:"input-label"},"特征描述:",-1)),v(j,{modelValue:On.value,"onUpdate:modelValue":e[21]||(e[21]=p=>On.value=p),style:{width:"500px"},type:"textarea",placeholder:"请输入特征描述"},null,8,["modelValue"])])]),l("div",wu,[v(x,{type:"primary",onClick:Ar},{default:y(()=>e[152]||(e[152]=[M("添加")])),_:1})])])])])])),[[qi,Rn.value]]):we("",!0),L.value===2?(k(),Y("div",Ou,[l("div",Tu,[l("div",Du,[l("div",Vu,[v(x,{plain:"",class:"custom-btn",onClick:wo},{default:y(()=>[v(D,null,{default:y(()=>[v(be(hn))]),_:1}),e[155]||(e[155]=M(" 自定义题目 "))]),_:1}),v(x,{plain:"",class:"custom-btn"},{default:y(()=>[v(D,null,{default:y(()=>[v(be(ea))]),_:1}),e[156]||(e[156]=M(" 导入题目 "))]),_:1}),te.value.length>0?(k(),Ce(x,{key:0,type:"primary",plain:"",class:"custom-btn",loading:Ke.value,onClick:Wi},{default:y(()=>[v(D,null,{default:y(()=>[v(Sl)]),_:1}),e[157]||(e[157]=M(" 重新生成 "))]),_:1},8,["loading"])):we("",!0),l("div",Pu,[l("div",Ru,[e[158]||(e[158]=l("span",{class:"switch-label"},"开放题数量",-1)),v(rt,{modelValue:gn.openQuestionsCount,"onUpdate:modelValue":e[22]||(e[22]=p=>gn.openQuestionsCount=p),min:1,max:10,size:"small",onChange:Ji},null,8,["modelValue"])]),l("div",Uu,[e[159]||(e[159]=l("span",{class:"switch-label"},"选择题数量",-1)),v(rt,{modelValue:gn.choiceQuestionsCount,"onUpdate:modelValue":e[23]||(e[23]=p=>gn.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",Mu,re(dt.value),1),e[161]||(e[161]=l("span",{class:"duration-tip"},"拖动试题卡片可改变试题顺序",-1))])]),l("div",ku,[jo((k(),Y("div",Bu,[te.value.length===0?(k(),Y("div",Nu,[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:Ke.value,onClick:Wi},{default:y(()=>e[162]||(e[162]=[M(" AI自动组题 ")])),_:1},8,["loading"]),Ke.value&&be(Jt)?(k(),Ce(x,{key:0,type:"warning",plain:"",size:"small",onClick:kr,style:{"margin-left":"10px"}},{default:y(()=>e[163]||(e[163]=[M(" 取消生成 ")])),_:1})):we("",!0)])):(k(),Y("div",Fu,[v(be(Ea),{modelValue:te.value,"onUpdate:modelValue":e[24]||(e[24]=p=>te.value=p),"item-key":"id",handle:".drag-handle",onStart:Dr,onEnd:Vr,animation:"200","ghost-class":"sortable-ghost","chosen-class":"sortable-chosen","drag-class":"sortable-drag"},{item:y(({element:p})=>[l("div",ju,[e[170]||(e[170]=l("div",{class:"drag-handle"},[l("img",{src:cs,alt:"",class:"dorp"})],-1)),l("div",Lu,[l("div",Qu,[l("div",Gu,[l("div",zu,[l("span",$u,"题目"+re(te.value.indexOf(p)+1),1),l("span",null,[l("span",Ju,re("「"+p.question_form_name+"」"),1),M(re(p.title),1)])]),l("div",Wu,[(k(!0),Y(Ge,null,ze((p.competency_tag_info||p.competency_tags||[]).slice(0,2),(ae,Ie)=>(k(),Ce(xt,{key:ae.id,effect:"plain",class:"competency-tag",size:"small"},{default:y(()=>[M(re(m(ae)),1)]),_:2},1024))),128)),(p.competency_tag_info||p.competency_tags||[]).length>2?(k(),Y("span",Hu," +"+re((p.competency_tag_info||p.competency_tags||[]).length-2),1)):we("",!0)])])]),l("div",Yu,[v(x,{type:"text",onClick:ae=>ki(te.value.indexOf(p))},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:2},1032,["onClick"]),v(x,{type:"text",onClick:ae=>Bi(te.value.indexOf(p))},{default:y(()=>[v(D,null,{default:y(()=>[v(be(ta))]),_:1})]),_:2},1032,["onClick"])])]),l("div",Xu,[l("div",Zu,[l("span",null,re(p.scoring_reference),1)])]),p.question_form==0?(k(),Y("div",qu,[l("div",_u,[v(tt,{style:{"margin-top":"0px"},modelValue:p.enable_follow_up,"onUpdate:modelValue":ae=>p.enable_follow_up=ae,onChange:z},null,8,["modelValue","onUpdate:modelValue"]),e[167]||(e[167]=l("span",{class:"answer-label"},"回答不充分追问",-1))]),l("div",ec,[e[168]||(e[168]=l("span",{class:"answer-label"},"追问轮数",-1)),v(ge,{modelValue:p.maxAnswers,"onUpdate:modelValue":ae=>p.maxAnswers=ae,size:"small",placeholder:"请选择"},{default:y(()=>[v(J,{label:"1次",value:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])])])):we("",!0),p.question_form==1?(k(),Y("div",tc,[l("div",nc,[e[169]||(e[169]=l("span",{class:"answer-label"},"是否为红线题:",-1)),v(ge,{modelValue:p.is_required_correct,"onUpdate:modelValue":ae=>p.is_required_correct=ae,onChange:ae=>N(p.id,p.is_required_correct),size:"small",placeholder:"请选择"},{default:y(()=>[v(J,{label:"是",value:!0}),v(J,{label:"否",value:!1})]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])])])):we("",!0)])]),_:1},8,["modelValue"])]))])),[[qi,Ke.value]]),l("div",oc,[e[173]||(e[173]=l("div",{class:"dimension-title"},"已选胜任力考核维度",-1)),l("div",ic,[(k(!0),Y(Ge,null,ze(le.value,(p,ae)=>(k(),Y("div",{key:p.value,class:"dimension-item"},[l("div",ac,[l("div",rc,[l("span",lc,re(p.label),1),e[171]||(e[171]=l("img",{src:da,alt:"",class:"sheng"},null,-1))])]),l("div",{class:"dimension-content",onClick:Ie=>Ur(ae),title:"点击删除此胜任力标签"},e[172]||(e[172]=[l("div",{class:"ability-description"},re("—"),-1)]),8,sc)]))),128))])])])])])):we("",!0),L.value===3?(k(),Y("div",dc,[l("div",uc,[l("div",cc,[e[184]||(e[184]=l("div",{class:"section-header"},"请选择面试官形象",-1)),l("div",fc,[l("div",vc,[ko.value?(k(),Y("img",{key:0,src:ko.value,alt:"",style:{width:"100%",height:"100%","object-fit":"cover",transform:"translateZ(0)","backface-visibility":"hidden"}},null,8,pc)):we("",!0)]),l("div",null,[l("div",mc,[(k(!0),Y(Ge,null,ze(ai.value,p=>(k(),Y("div",{key:p.id,class:Ct(["avatar-item",{active:pt.value.id===p.id}]),onClick:ae=>wr(p)},[l("div",hc,[l("div",{class:Ct(["avatar-circle",{selected:pt.value.id===p.id}])},[l("img",{src:p.avatar_url||p.image,alt:p.name},null,8,yc)],2),l("div",{class:"avatar-name",title:p.name},re(p.name),9,bc)])],10,gc))),128))]),l("div",Sc,[e[174]||(e[174]=l("div",{class:"setting-label"},"「追问风格」",-1)),l("div",Ec,[v(ge,{modelValue:ot.followUpStyle,"onUpdate:modelValue":e[25]||(e[25]=p=>ot.followUpStyle=p),placeholder:"请选择",onChange:e[26]||(e[26]=p=>no("followUpStyle",ot.followUpStyle))},{default:y(()=>[v(J,{label:"温和",value:"1"}),v(J,{label:"严厉",value:"2"}),v(J,{label:"严谨",value:"3"})]),_:1},8,["modelValue"])]),e[175]||(e[175]=l("div",{class:"setting-desc"},null,-1))])])]),l("div",xc,[l("div",Ic,[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(tt,{modelValue:ot.keepVideo,"onUpdate:modelValue":e[27]||(e[27]=p=>ot.keepVideo=p),onChange:e[28]||(e[28]=p=>no("keepVideo",p)),disabled:!0},null,8,["modelValue"])]),l("div",Cc,[e[180]||(e[180]=l("div",{class:"setting-label"},[l("p",null,"「中断后作答限制」")],-1)),l("div",Ac,[v(co,{modelValue:ot.interruptionMode,"onUpdate:modelValue":e[29]||(e[29]=p=>ot.interruptionMode=p),label:"current",onChange:e[30]||(e[30]=p=>no("interruptionMode",ot.interruptionMode))},{default:y(()=>e[178]||(e[178]=[M(" 从当前问题重新作答 ")])),_:1},8,["modelValue"]),v(co,{modelValue:ot.interruptionMode,"onUpdate:modelValue":e[31]||(e[31]=p=>ot.interruptionMode=p),label:"previous",onChange:e[32]||(e[32]=p=>no("interruptionMode",ot.interruptionMode))},{default:y(()=>e[179]||(e[179]=[M(" 从头作答 ")])),_:1},8,["modelValue"])]),e[181]||(e[181]=l("div",{class:"setting-desc",style:{width:"40px"}},null,-1))]),l("div",wc,[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(tt,{modelValue:ot.smartFollowUp,"onUpdate:modelValue":e[33]||(e[33]=p=>ot.smartFollowUp=p),onChange:e[34]||(e[34]=p=>no("smartFollowUp",p))},null,8,["modelValue"])])])])])])):we("",!0)]),_:1},8,["modelValue"]),v(It,{title:"新增视频宣讲",modelValue:W.value,"onUpdate:modelValue":e[37]||(e[37]=p=>W.value=p),width:"35%","close-on-click-modal":!1,class:"video-lecture-dialog"},{footer:y(()=>[l("span",Rc,[v(x,{onClick:ue},{default:y(()=>e[192]||(e[192]=[M("取消")])),_:1}),v(x,{type:"primary",onClick:me},{default:y(()=>e[193]||(e[193]=[M("确认")])),_:1})])]),default:y(()=>[l("div",Tc,[l("div",Dc,[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",Vc,[v(D,null,{default:y(()=>[v(be(hn))]),_:1}),e[189]||(e[189]=l("div",{class:"upload-text"},"上传文件大小不超过500M",-1))])]),_:1})]),l("div",Pc,[e[191]||(e[191]=l("div",{class:"form-label"},"视频简介",-1)),v(j,{modelValue:de.description,"onUpdate:modelValue":e[36]||(e[36]=p=>de.description=p),type:"textarea",rows:"4",placeholder:"视频简介会显示在视频下方的标题下方",maxlength:"200","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),v(be(ci),{title:"AI实时对话",modelValue:X.value,"onUpdate:modelValue":e[39]||(e[39]=p=>X.value=p),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-chat-drawer","destroy-on-close":!1},{footer:y(()=>[l("div",Xc,[v(x,{onClick:Fe},{default:y(()=>e[204]||(e[204]=[M("取消")])),_:1}),v(x,{type:"primary",onClick:xe},{default:y(()=>e[205]||(e[205]=[M("确认")])),_:1})])]),default:y(()=>[l("div",Uc,[l("div",Kc,[e[203]||(e[203]=l("div",{class:"section-title"},[l("div",{class:"section-line"}),l("span",null,"对话设置")],-1)),l("div",Mc,[v(x,{type:"primary",plain:"",onClick:Gn},{default:y(()=>[v(D,null,{default:y(()=>[v(be(hn))]),_:1}),e[194]||(e[194]=M(" 添加问题 "))]),_:1}),v(x,{type:"success",plain:"",onClick:wo},{default:y(()=>[v(D,null,{default:y(()=>[v(be(ea))]),_:1}),e[195]||(e[195]=M(" 导入问题 "))]),_:1})]),l("div",kc,[te.value.length===0?(k(),Y("div",Bc,e[196]||(e[196]=[l("p",null,"暂无问题",-1),l("p",{class:"tip-text"},'点击"添加问题"或"导入问题"添加面试问题',-1)]))):(k(),Y("div",Nc,[v(be(Ea),{modelValue:te.value,"onUpdate:modelValue":e[38]||(e[38]=p=>te.value=p),"item-key":"id",handle:".drag-handle"},{item:y(({element:p,index:ae})=>[M(re(p)+" ",1),l("div",Fc,[l("div",jc,[l("div",Lc,[l("span",Qc,"题目"+re(ae+1),1),l("span",null,re(p.question),1)]),l("div",Gc,[l("div",zc,[e[198]||(e[198]=l("span",{class:"weight-label"},"权重占比:",-1)),v(rt,{modelValue:p.weight,"onUpdate:modelValue":Ie=>p.weight=Ie,min:0,max:100,step:1,size:"small","controls-position":"right"},{suffix:y(()=>e[197]||(e[197]=[M("%")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),l("div",$c,[e[199]||(e[199]=l("span",{class:"answer-label"},"最多回答次数",-1)),v(ge,{modelValue:p.maxAnswers,"onUpdate:modelValue":Ie=>p.maxAnswers=Ie,size:"small",placeholder:"请选择"},{default:y(()=>[v(J,{label:"1次",value:1}),v(J,{label:"2次",value:2}),v(J,{label:"3次",value:3})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),v(x,{type:"text",onClick:Ie=>ki(ae)},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:2},1032,["onClick"]),v(x,{type:"text",onClick:Ie=>Bi(ae)},{default:y(()=>[v(D,null,{default:y(()=>[v(be(ta))]),_:1})]),_:2},1032,["onClick"])])]),l("div",Jc,[l("div",Wc,[e[200]||(e[200]=l("span",{class:"info-label"},"考察能力:",-1)),l("span",null,re(p.ability),1)]),l("div",Hc,[e[201]||(e[201]=l("span",{class:"info-label"},"面试内容:",-1)),l("span",null,re(p.content),1)]),l("div",Yc,[e[202]||(e[202]=l("span",{class:"info-label"},"对话目标:",-1)),l("span",null,re(p.target),1)])])])]),_:1},8,["modelValue"])]))])])])]),_:1},8,["modelValue"]),v(It,{title:"查看问题",modelValue:ie.value,"onUpdate:modelValue":e[48]||(e[48]=p=>ie.value=p),width:"500px","close-on-click-modal":!1,class:"question-dialog"},{footer:y(()=>[l("span",mf,[v(x,{onClick:De},{default:y(()=>e[231]||(e[231]=[M("取消")])),_:1})])]),default:y(()=>[l("div",Zc,[l("div",qc,[e[206]||(e[206]=l("div",{class:"form-label"},[M(" 题目内容"),l("span",{class:"required"},"*")],-1)),v(j,{modelValue:q.content,"onUpdate:modelValue":e[40]||(e[40]=p=>q.content=p),type:"textarea",rows:"4",placeholder:"请描述一次你如何在紧迫的时间内完成一个复杂的后端开发任务的经历",maxlength:"300","show-word-limit":"",disabled:!0},null,8,["modelValue"])]),l("div",_c,[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(()=>[(k(!0),Y(Ge,null,ze(Me.value,p=>(k(),Ce(J,{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",ef,[e[214]||(e[214]=l("div",{class:"form-label"}," 胜任力配置 ",-1)),l("div",tf,[e[210]||(e[210]=l("div",{class:"config-row"},[l("span",{class:"config-label"},"标签"),l("span",{class:"config-label"},"权重")],-1)),(k(!0),Y(Ge,null,ze(q.competency_tags,(p,ae)=>(k(),Y("div",{class:"config-row",key:p.id},[l("span",nf,re(p.name),1),v(rt,{modelValue:p.weight,"onUpdate:modelValue":Ie=>p.weight=Ie,min:0,max:100,step:1,disabled:!0,"controls-position":"right",onChange:Ie=>rl(ae,Ie)},null,8,["modelValue","onUpdate:modelValue","onChange"]),e[209]||(e[209]=M(" % "))]))),128))]),l("div",of,[e[211]||(e[211]=M(" 配置各个胜任力标签的权重,总和需要100% ")),l("span",{class:Ct(["weight-sum",{"weight-error":li()!==100}])}," (当前总计: "+re(li())+"%) ",3),e[212]||(e[212]=l("br",null,null,-1)),v(D,{style:{color:"#409eff","margin-right":"4px","margin-top":"4px"}},{default:y(()=>[v(be(Wl))]),_:1}),e[213]||(e[213]=l("span",{style:{color:"#909399","font-size":"11px"}},' 修改任意权重时,其他权重会自动按比例调整以保持总和为100%。点击"平均分配"可快速平均分配所有权重。 ',-1))])]),l("div",af,[e[215]||(e[215]=l("div",{class:"form-label"},"题目形式",-1)),v(ge,{modelValue:q.question_form,"onUpdate:modelValue":e[42]||(e[42]=p=>q.question_form=p),placeholder:"开放问题",class:"full-width",disabled:!0,onChange:ol},{default:y(()=>[v(J,{label:"开放问题",value:0}),v(J,{label:"单选题",value:1}),v(J,{label:"看图选答案",value:3}),v(J,{label:"多选题",value:"multiple"}),v(J,{label:"填空题",value:"fill"}),v(J,{label:"自言语",value:"self"})]),_:1},8,["modelValue"]),e[216]||(e[216]=l("div",{class:"form-tip"},"选择题目的形式:开放问题、单选题、多选题、填空题、自言语",-1))]),l("div",rf,[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(()=>[(k(!0),Y(Ge,null,ze(Ue.value,p=>(k(),Ce(J,{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))]),q.question_form===1||q.question_form===2||q.question_form===3?(k(),Y("div",lf,[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)),(k(!0),Y(Ge,null,ze(q.options,(p,ae)=>(k(),Y("div",{key:ae,class:"option-item",style:{display:"flex","align-items":"center","margin-bottom":"10px"}},[v(j,{modelValue:p.text,"onUpdate:modelValue":Ie=>p.text=Ie,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:()=>{q.question_form===1||q.question_form===3?q.options.forEach((Ie,Tl)=>{Ie.is_correct=Tl===ae}):p.is_correct=!p.is_correct},style:{cursor:"pointer",width:"80px","text-align":"center"}},[q.question_form===1||q.question_form===3?(k(),Ce(co,{key:0,disabled:!0,modelValue:p.is_correct,"onUpdate:modelValue":Ie=>p.is_correct=Ie,label:!0},null,8,["modelValue","onUpdate:modelValue"])):(k(),Ce(Ht,{key:1,disabled:!0,modelValue:p.is_correct,"onUpdate:modelValue":Ie=>p.is_correct=Ie},null,8,["modelValue","onUpdate:modelValue"]))],8,sf)]),_:2},1024)]))),128))]),e[221]||(e[221]=l("div",{class:"form-tip"},"添加选项并设置正确答案,单选题只能有一个正确答案,多选题可以有多个正确答案",-1))])):we("",!0),q.question_form===3?(k(),Y("div",df,[e[222]||(e[222]=l("div",{class:"form-label"},"题目图片",-1)),l("img",{src:q.question_image_url,alt:""},null,8,uf)])):we("",!0),l("div",cf,[e[223]||(e[223]=l("div",{class:"form-label"},"分类",-1)),v(ge,{modelValue:q.category,"onUpdate:modelValue":e[44]||(e[44]=p=>q.category=p),placeholder:"请选择题目分类",class:"full-width",disabled:!0},{default:y(()=>[(k(!0),Y(Ge,null,ze(ke.value,p=>(k(),Ce(J,{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",ff,[e[225]||(e[225]=l("div",{class:"form-label"},"标签",-1)),v(ge,{modelValue:q.tags,"onUpdate:modelValue":e[45]||(e[45]=p=>q.tags=p),placeholder:"请选择标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(k(!0),Y(Ge,null,ze(He.value,p=>(k(),Ce(J,{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",vf,[e[227]||(e[227]=l("div",{class:"form-label"},"建议时长(秒)",-1)),v(rt,{modelValue:q.suggestedDuration,"onUpdate:modelValue":e[46]||(e[46]=p=>q.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",pf,[e[229]||(e[229]=l("div",{class:"form-label"},"评价标准",-1)),v(j,{modelValue:q.scoring_reference,"onUpdate:modelValue":e[47]||(e[47]=p=>q.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",Sf,[v(x,{onClick:zi},{default:y(()=>e[232]||(e[232]=[M("取消")])),_:1}),v(x,{type:"primary",onClick:jr,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[233]||(e[233]=[M("确定")])),_:1})])]),default:y(()=>[l("div",gf,[v(xl,{ref:"treeRef",data:Xi.value,"node-key":"id",props:hl,"default-expand-all":"","highlight-current":"",onNodeClick:yl},{default:y(({node:p,data:ae})=>[l("div",hf,[l("div",yf,[v(D,null,{default:y(()=>[v(El)]),_:1}),l("span",bf,re(ae.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(Zl,{modelValue:Bo.value,"onUpdate:modelValue":e[50]||(e[50]=p=>Bo.value=p),"is-edit":Gi.value,onSubmit:In,onCancel:Ki},null,8,["modelValue","is-edit"])]),_:1},8,["modelValue"]),v(It,{title:"资料收集",modelValue:Ae.value,"onUpdate:modelValue":e[55]||(e[55]=p=>Ae.value=p),width:"900px","close-on-click-modal":!1,class:"data-collection-dialog"},{footer:y(()=>[l("span",jf,[v(x,{onClick:Ma},{default:y(()=>e[243]||(e[243]=[M("取消")])),_:1}),v(x,{type:"primary",onClick:Lr},{default:y(()=>e[244]||(e[244]=[M("确认")])),_:1})])]),default:y(()=>[l("div",Ef,[l("div",xf,[e[242]||(e[242]=l("div",{class:"panel-header"},[l("h3",null,"字段显示配置")],-1)),l("div",If,[e[237]||(e[237]=l("div",{class:"section-title"},"基本信息",-1)),v(Yt,{gutter:20},{default:y(()=>[(k(!0),Y(Ge,null,ze(Qr(),(p,ae)=>(k(),Ce(Lt,{span:8,key:ae},{default:y(()=>[l("div",Cf,[l("span",Af,re(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(tt,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,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(Lt,{span:24},{default:y(()=>[l("div",wf,[l("span",Of,[M(re(G.family_member.label)+" ",1),G.family_member.visible?(k(),Ce(xt,{key:0,size:"small",type:"success"},{default:y(()=>e[234]||(e[234]=[M("已启用")])),_:1})):we("",!0)]),v(tt,{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?(k(),Ce(Yt,{key:0,gutter:20},{default:y(()=>[(k(!0),Y(Ge,null,ze(G.family_member.fields,(p,ae)=>(k(),Ce(Lt,{span:8,key:ae},{default:y(()=>[l("div",Tf,[l("span",Df,re(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(tt,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,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(Lt,{span:24},{default:y(()=>[l("div",Vf,[l("span",Pf,[M(re(G.education.label)+" ",1),G.education.visible?(k(),Ce(xt,{key:0,size:"small",type:"success"},{default:y(()=>e[235]||(e[235]=[M("已启用")])),_:1})):we("",!0)]),v(tt,{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?(k(),Ce(Yt,{key:1,gutter:20},{default:y(()=>[(k(!0),Y(Ge,null,ze(G.education.fields,(p,ae)=>(k(),Ce(Lt,{span:8,key:ae},{default:y(()=>[l("div",Rf,[l("span",Uf,re(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(tt,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,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(()=>[(k(!0),Y(Ge,null,ze(Gr(),(p,ae)=>(k(),Ce(Lt,{span:8,key:ae},{default:y(()=>[l("div",Kf,[l("span",Mf,re(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(tt,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,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(Lt,{span:24},{default:y(()=>[l("div",kf,[l("span",Bf,[M(re(G.work_experience.label)+" ",1),G.work_experience.visible?(k(),Ce(xt,{key:0,size:"small",type:"success"},{default:y(()=>e[236]||(e[236]=[M("已启用")])),_:1})):we("",!0)]),v(tt,{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?(k(),Ce(Yt,{key:2,gutter:20},{default:y(()=>[(k(!0),Y(Ge,null,ze(G.work_experience.fields,(p,ae)=>(k(),Ce(Lt,{span:8,key:ae},{default:y(()=>[l("div",Nf,[l("span",Ff,re(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(tt,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):we("",!0)])])])]),_:1},8,["modelValue"]),v(It,{title:"简历收集",modelValue:Ye.value,"onUpdate:modelValue":e[57]||(e[57]=p=>Ye.value=p),width:"500px","close-on-click-modal":!1,class:"resume-collection-dialog"},{footer:y(()=>[l("span",Gf,[v(x,{onClick:Kt},{default:y(()=>e[246]||(e[246]=[M("取消")])),_:1}),v(x,{type:"primary",onClick:Ze},{default:y(()=>e[247]||(e[247]=[M("确认")])),_:1})])]),default:y(()=>[l("div",Lf,[l("div",Qf,[e[245]||(e[245]=l("div",{class:"form-label"},"步骤名称",-1)),v(j,{modelValue:ht.title,"onUpdate:modelValue":e[56]||(e[56]=p=>ht.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",nv,[v(x,{onClick:Ni},{default:y(()=>e[256]||(e[256]=[M("取消")])),_:1}),v(x,{type:"primary",onClick:Na},{default:y(()=>e[257]||(e[257]=[M("确认")])),_:1})])]),default:y(()=>[l("div",zf,[l("div",$f,[e[248]||(e[248]=l("div",{class:"form-label"},"步骤名称",-1)),v(j,{modelValue:nt.title,"onUpdate:modelValue":e[58]||(e[58]=p=>nt.title=p),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),l("div",Jf,[e[249]||(e[249]=l("div",{class:"form-label"},"自动评判试卷",-1)),v(tt,{modelValue:nt.autoJudge,"onUpdate:modelValue":e[59]||(e[59]=p=>nt.autoJudge=p)},null,8,["modelValue"]),l("span",Wf,re(nt.autoJudge?"开启":"关闭"),1)]),l("div",Hf,[e[255]||(e[255]=l("div",{class:"form-label"},"添加考试试卷",-1)),l("div",Yf,[nt.selectedPaper?(k(),Y("div",Zf,[l("div",qf,[l("div",_f,re(nt.selectedPaper.title),1),l("div",ev,[l("span",null,re(nt.selectedPaper.questionCount)+"道题",1),l("span",null,re(nt.selectedPaper.duration)+"分钟",1),l("span",null,re(nt.selectedPaper.difficulty),1)])]),l("div",tv,[v(x,{type:"text",onClick:ja},{default:y(()=>e[252]||(e[252]=[M("查看")])),_:1}),v(x,{type:"text",onClick:La},{default:y(()=>e[253]||(e[253]=[M("更换")])),_:1}),v(x,{type:"text",onClick:Qa},{default:y(()=>e[254]||(e[254]=[M("删除")])),_:1})])])):(k(),Y("div",Xf,[v(x,{type:"primary",plain:"",onClick:Fa},{default:y(()=>[v(D,null,{default:y(()=>[v(be(hn))]),_:1}),e[250]||(e[250]=M(" 添加考卷 "))]),_:1}),e[251]||(e[251]=l("p",{class:"tip-text"},"多选时,考生会随机分配到一套试卷",-1))]))])])])]),_:1},8,["modelValue"]),v(be(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",gv,[v(x,{onClick:Fi},{default:y(()=>e[274]||(e[274]=[M("取消")])),_:1}),v(x,{type:"primary",onClick:Ga},{default:y(()=>e[275]||(e[275]=[M("保存")])),_:1})])]),default:y(()=>[l("div",ov,[l("div",iv,[e[259]||(e[259]=l("div",{class:"form-label"},"选择文章",-1)),l("div",av,[v(x,{type:"primary",size:"small",class:"add-article-btn"},{default:y(()=>[v(D,null,{default:y(()=>[v(be(hn))]),_:1}),e[258]||(e[258]=M(" 添加文章 "))]),_:1})])]),l("div",rv,[e[262]||(e[262]=l("div",{class:"form-label"},"候选人选择文章方式",-1)),v(Il,{modelValue:et.selectionMode,"onUpdate:modelValue":e[61]||(e[61]=p=>et.selectionMode=p)},{default:y(()=>[v(co,{label:"random"},{default:y(()=>e[260]||(e[260]=[M("随机抽取")])),_:1}),v(co,{label:"self"},{default:y(()=>e[261]||(e[261]=[M("候选人自主选择")])),_:1})]),_:1},8,["modelValue"])]),l("div",lv,[e[264]||(e[264]=l("div",{class:"form-label"},"测试时间",-1)),l("div",sv,[v(j,{modelValue:et.duration,"onUpdate:modelValue":e[62]||(e[62]=p=>et.duration=p),class:"time-input"},null,8,["modelValue"]),e[263]||(e[263]=l("span",{class:"time-unit"},"分钟",-1))])]),l("div",dv,[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",uv,[v(D,null,{default:y(()=>[v(be(hn))]),_:1}),e[265]||(e[265]=l("div",{class:"upload-text"},"添加图片",-1))])]),_:1})]),l("div",cv,[e[267]||(e[267]=l("div",{class:"form-label"},"注意事项内容(在登录界面显示)",-1)),v(j,{modelValue:et.notes,"onUpdate:modelValue":e[63]||(e[63]=p=>et.notes=p),type:"textarea",rows:"4",placeholder:"请输入注意事项内容",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),l("div",fv,[e[268]||(e[268]=l("div",{class:"form-label"},"测试页面标题",-1)),v(j,{modelValue:et.pageTitle,"onUpdate:modelValue":e[64]||(e[64]=p=>et.pageTitle=p),placeholder:"测试页面标题"},null,8,["modelValue"])]),l("div",vv,[e[270]||(e[270]=l("div",{class:"form-label"},"视频监控",-1)),v(Ht,{modelValue:et.videoMonitoring,"onUpdate:modelValue":e[65]||(e[65]=p=>et.videoMonitoring=p)},{default:y(()=>e[269]||(e[269]=[M("视频监控")])),_:1},8,["modelValue"])]),l("div",pv,[e[273]||(e[273]=l("div",{class:"form-label"},"通过标准",-1)),l("div",mv,[v(Ht,{modelValue:et.passCriteria.speed,"onUpdate:modelValue":e[66]||(e[66]=p=>et.passCriteria.speed=p)},{default:y(()=>e[271]||(e[271]=[M("速度")])),_:1},8,["modelValue"]),v(Ht,{modelValue:et.passCriteria.accuracy,"onUpdate:modelValue":e[67]||(e[67]=p=>et.passCriteria.accuracy=p)},{default:y(()=>e[272]||(e[272]=[M("正确率")])),_: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",$v,[v(x,{onClick:zr},{default:y(()=>e[294]||(e[294]=[M("取消")])),_:1}),v(x,{type:"primary",onClick:$r},{default:y(()=>e[295]||(e[295]=[M("完成")])),_:1})])]),default:y(()=>[l("div",hv,[l("div",yv,[e[281]||(e[281]=l("div",{class:"section-header"},[l("span",{class:"section-title"},"防作弊设置")],-1)),l("div",bv,[e[276]||(e[276]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「人脸一致性检测」"),l("p",{class:"setting-desc"},"选取后,将会在候选人离开前置摄像头时进行提示,默认开启")],-1)),v(tt,{modelValue:Qe.faceConsistency,"onUpdate:modelValue":e[69]||(e[69]=p=>Qe.faceConsistency=p),disabled:!0},null,8,["modelValue"])]),l("div",Sv,[e[277]||(e[277]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 防截屏 / 录屏 」"),l("p",{class:"setting-desc"},"选取后,将会在候选人截屏或录屏时进行提示,为防止泄题,默认开启")],-1)),v(tt,{modelValue:Qe.preventScreenshot,"onUpdate:modelValue":e[70]||(e[70]=p=>Qe.preventScreenshot=p),disabled:!0},null,8,["modelValue"])]),l("div",Ev,[e[279]||(e[279]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 切 屏 预 制 」"),l("p",{class:"setting-desc"},"选取后,将会在候选人切屏时进行提示,为防止作弊,默认开启")],-1)),v(tt,{modelValue:Qe.screenSwitchAlert,"onUpdate:modelValue":e[71]||(e[71]=p=>Qe.screenSwitchAlert=p),disabled:!0},{default:y(()=>e[278]||(e[278]=[l("span",{class:"switch-desc"},"切屏超过 2 次关闭,作废本关面试",-1)])),_:1},8,["modelValue"])]),l("div",xv,[e[280]||(e[280]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「情绪/眼动检测」"),l("p",{class:"setting-desc"},"该现已,将对候选人整场面试的情绪与压力表现进行分析,建议开启")],-1)),v(tt,{modelValue:Qe.positionDetection,"onUpdate:modelValue":e[72]||(e[72]=p=>Qe.positionDetection=p)},null,8,["modelValue"])])]),l("div",Iv,[e[293]||(e[293]=l("div",{class:"section-header"},[l("span",{class:"section-title"},"其他设置")],-1)),l("div",Cv,[l("div",Av,[e[283]||(e[283]=l("span",{class:"setting-name"},"重复面试",-1)),l("div",wv,[e[282]||(e[282]=l("p",{class:"setting-desc",style:{}},"选取后,将允许面试者进行重复面试",-1)),v(tt,{modelValue:Qe.reviewInterview,"onUpdate:modelValue":e[73]||(e[73]=p=>Qe.reviewInterview=p)},null,8,["modelValue"])])])]),l("div",Ov,[l("div",Tv,[e[286]||(e[286]=l("span",{class:"setting-name"},"开场词",-1)),Dn.value?(k(),Y("div",Pv,[v(j,{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",Rv,[v(x,{size:"small",onClick:Hr},{default:y(()=>e[284]||(e[284]=[M("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Yr},{default:y(()=>e[285]||(e[285]=[M("保存")])),_:1})])])):(k(),Y("div",Dv,[l("p",Vv,re(Qe.beforeStartText),1),v(x,{type:"text",class:"edit-desc-btn",onClick:Wr},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))])]),l("div",Uv,[l("div",Kv,[e[289]||(e[289]=l("span",{class:"setting-name"},"开始后提醒",-1)),lo.value?(k(),Y("div",Bv,[v(j,{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",Nv,[v(x,{size:"small",onClick:Zr},{default:y(()=>e[287]||(e[287]=[M("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:qr},{default:y(()=>e[288]||(e[288]=[M("保存")])),_:1})])])):(k(),Y("div",Mv,[l("p",kv,re(Qe.afterStartText),1),v(x,{type:"text",class:"edit-desc-btn",onClick:Xr},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))])]),l("div",Fv,[l("div",jv,[e[292]||(e[292]=l("span",{class:"setting-name"},"结束语",-1)),so.value?(k(),Y("div",Gv,[v(j,{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",zv,[v(x,{size:"small",onClick:el},{default:y(()=>e[290]||(e[290]=[M("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:tl},{default:y(()=>e[291]||(e[291]=[M("保存")])),_:1})])])):(k(),Y("div",Lv,[l("p",Qv,re(Qe.disclaimerText),1),v(x,{type:"text",class:"edit-desc-btn",onClick:_r},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_: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",qv,[v(x,{onClick:R},{default:y(()=>e[296]||(e[296]=[M("预览已选")])),_:1}),v(x,{onClick:zi},{default:y(()=>e[297]||(e[297]=[M("取消")])),_:1}),v(x,{type:"primary",onClick:E,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[298]||(e[298]=[M("确定")])),_:1})])]),default:y(()=>[l("div",Jv,[v(Yt,{class:"document-el-row"},{default:y(()=>[v(Lt,{span:3},{default:y(()=>[l("div",Wv,[v(ds,{ref_key:"treeListRef",ref:fl,treeData:Yi.value,onTreeClick:vl,onUpdateDocument:pl,onDeleteDocument:ml},null,8,["treeData"])])]),_:1}),v(Lt,{span:21},{default:y(()=>[l("div",Hv,[l("div",Yv,[v(j,{modelValue:io.value,"onUpdate:modelValue":e[78]||(e[78]=p=>io.value=p),placeholder:"请输入关键词搜索题目",clearable:"",onClear:No,onKeyup:Nl(No,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:y(()=>[v(x,{onClick:No},{default:y(()=>[v(D,null,{default:y(()=>[v(be(Hl))]),_:1})]),_:1})]),_:1},8,["modelValue"]),v(ge,{modelValue:at.question_form,"onUpdate:modelValue":e[79]||(e[79]=p=>at.question_form=p),placeholder:"题目类型",clearable:"",onChange:No,style:{width:"120px"}},{default:y(()=>[v(J,{label:"开放问题",value:0}),v(J,{label:"单选题",value:1}),v(J,{label:"多选题",value:2}),v(J,{label:"看图选答案",value:3}),v(J,{label:"得分题",value:4}),v(J,{label:"追加型开放问题",value:5}),v(J,{label:"填空题",value:6})]),_:1},8,["modelValue"])])]),l("div",Xv,[v(Cl,{data:it.value,style:{width:"100%"},onSelectionChange:Fr},{default:y(()=>[v(si,{type:"selection",width:"55"}),v(si,{prop:"question",label:"题目标题"}),v(si,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),l("div",Zv,[v(Al,{"current-page":at.page,"onUpdate:currentPage":e[80]||(e[80]=p=>at.page=p),"page-size":at.pageSize,"onUpdate:pageSize":e[81]||(e[81]=p=>at.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",op,[v(x,{onClick:ne},{default:y(()=>e[305]||(e[305]=[M("取消")])),_:1}),v(x,{type:"primary",onClick:fe},{default:y(()=>e[306]||(e[306]=[M("确认")])),_:1})])]),default:y(()=>[l("div",_v,[l("div",ep,[e[299]||(e[299]=l("div",{class:"form-label"},[M(" 环节名称"),l("span",{class:"required"},"*")],-1)),v(j,{modelValue:Pe.title,"onUpdate:modelValue":e[83]||(e[83]=p=>Pe.title=p),placeholder:"请输入环节名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),l("div",tp,[e[300]||(e[300]=l("div",{class:"form-label"},[M(" 提问时长"),l("span",{class:"required"},"*")],-1)),v(rt,{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",np,[e[303]||(e[303]=l("div",{class:"form-label"},"环节描述",-1)),v(j,{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:Fo.value,"onUpdate:modelValue":e[90]||(e[90]=p=>Fo.value=p),title:"肢体检测配置",width:"600px","close-on-click-modal":!1},{footer:y(()=>[l("span",ip,[v(x,{onClick:ul,size:"small"},{default:y(()=>e[311]||(e[311]=[M("取消")])),_:1}),v(x,{type:"primary",onClick:cl,size:"small"},{default:y(()=>e[312]||(e[312]=[M("确定")])),_:1})])]),default:y(()=>[v(Ol,{model:an.value,"label-width":"120px"},{default:y(()=>[v(di,{label:"检测时长"},{default:y(()=>[v(rt,{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]=M(" 分钟 "))]),_:1}),v(di,{label:"检测项目"},{default:y(()=>[v(wl,{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]=[M("面部表情")])),_:1}),v(Ht,{label:"pose"},{default:y(()=>e[309]||(e[309]=[M("肢体姿态")])),_:1}),v(Ht,{label:"gesture"},{default:y(()=>e[310]||(e[310]=[M("手势动作")])),_:1})]),_:1},8,["modelValue"])]),_:1}),v(di,{label:"提示文本"},{default:y(()=>[v(j,{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:B.value,"onUpdate:modelValue":e[92]||(e[92]=p=>B.value=p),title:"预览",width:"60%","close-on-click-modal":!1},{default:y(()=>[Et.value.length>0?(k(),Y("div",ap,[l("div",rp,"已选择的题目("+re(Et.value.length)+"):",1),l("div",lp,[(k(!0),Y(Ge,null,ze(Et.value,(p,ae)=>(k(),Ce(xt,{key:ae,class:"preview-item",closable:"",style:{"margin-bottom":"10px"}},{default:y(()=>[M(re(p.question),1)]),_:2},1024))),128))])])):we("",!0),l("div",sp,[v(x,{type:"primary",onClick:e[91]||(e[91]=p=>B.value=!1)},{default:y(()=>e[313]||(e[313]=[M("关闭")])),_:1})])]),_:1},8,["modelValue"])])}}}),Ep=us(dp,[["__scopeId","data-v-d1a1f879"]]);export{Ep as default};
|