12345678910 |
- import{a as Yl,r as L,aH as Xl,aB as ql,_ as et,f as qo,q as Zl,W as _l,w as ca,aj as Ve,at as es,c as W,o as K,b as r,S as p,K as y,P as k,Q as le,u as ce,M as De,J as Oe,R as He,a9 as Ye,L as Fn,G as Tt,T as fa,Y as ts,F as ns,a7 as os,t as Zo}from"./vue.D1BjjNmv.js";import{b as is,c as as,C as rs,U as Et}from"./api.BcUundRe.js";import{ab as ls,g as ss,ac as ds,c as us,E as P,a1 as ft,$ as yn,ad as cs,ae as va,C as pa,af as xi,ag as fs,A as vs,S as Xt,F as ma}from"./index.BORolnlR.js";import{G as jn,a as ps,b as ms,Q as gs,c as qt,A as Ii,d as ga,e as Ci,U as yt,C as bo,D as ha,f as wi,g as ya,h as hs,i as ys,B as bs,S as Ss,j as Es,k as ba,l as xs,m as Is,n as Cs,o as ws}from"./QuestionBankForm.DXyQbc8G.js";import{g as As}from"./pcaData.5HEg6BqW.js";import Os from"./BlankAnswerEditor.C84NgMQM.js";import{A as Ts}from"./api.DKlZTv0E.js";import Ds from"./treeList.DAgO5t9h.js";import{G as Sa,a as Ea,b as xa}from"./api.BjWh4P4W.js";import{_ as Ps}from"./_plugin-vue_export-helper.DlAUqK2U.js";import"./QuestionOptionsEditor.e0gHieJV.js";const Ia="/assets/sheng.BKW1Im68.png",Rs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAImCAQAAAAGHG0zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFyGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNS0wNi0xM1QxNzowMToyMCswODowMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNDE0NGJjZC05NWJlLTMxNGMtODlmZC01MTk0MTdmODc5OWEiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplYzMyM2E1Zi04ZWZiLTgxNGUtYWMzOS05Nzc3ODNiNDUzYjQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIHN0RXZ0OndoZW49IjIwMjUtMDYtMTNUMTc6MDE6MjArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4wIChXaW5kb3dzKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MzQxNDRiY2QtOTViZS0zMTRjLTg5ZmQtNTE5NDE3Zjg3OTlhIiBzdEV2dDp3aGVuPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JOr+gQAABzlJREFUeJzt1rENwzAQBEHTUOHsnEoVKhDwG8xUcNHi1vkBdPynBwA8iRKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHJND3hrn+kFULXX9IIveUpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEp60wvAHjwlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSDlmh7w1j7TC6Bqr+kFX/KUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUtaZXgDw4CkBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHIDp74LS5/6zzUAAAAASUVORK5CYII=";var Ba={exports:{}};/**!
- * Sortable 1.14.0
- * @author RubaXa <trash@rubaxa.org>
- * @author owenm <owen23355@gmail.com>
- * @license MIT
- */function Ca(u,o){var i=Object.keys(u);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(u);o&&(d=d.filter(function(n){return Object.getOwnPropertyDescriptor(u,n).enumerable})),i.push.apply(i,d)}return i}function $t(u){for(var o=1;o<arguments.length;o++){var i=arguments[o]!=null?arguments[o]:{};o%2?Ca(Object(i),!0).forEach(function(d){Vs(u,d,i[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(i)):Ca(Object(i)).forEach(function(d){Object.defineProperty(u,d,Object.getOwnPropertyDescriptor(i,d))})}return u}function ai(u){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ai=function(o){return typeof o}:ai=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},ai(u)}function Vs(u,o,i){return o in u?Object.defineProperty(u,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):u[o]=i,u}function Ut(){return Ut=Object.assign||function(u){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(u[d]=i[d])}return u},Ut.apply(this,arguments)}function Us(u,o){if(u==null)return{};var i={},d=Object.keys(u),n,s;for(s=0;s<d.length;s++)n=d[s],!(o.indexOf(n)>=0)&&(i[n]=u[n]);return i}function ks(u,o){if(u==null)return{};var i=Us(u,o),d,n;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);for(n=0;n<s.length;n++)d=s[n],!(o.indexOf(d)>=0)&&Object.prototype.propertyIsEnumerable.call(u,d)&&(i[d]=u[d])}return i}function Ks(u){return Ms(u)||Ns(u)||Bs(u)||Fs()}function Ms(u){if(Array.isArray(u))return Mi(u)}function Ns(u){if(typeof Symbol<"u"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}function Bs(u,o){if(u){if(typeof u=="string")return Mi(u,o);var i=Object.prototype.toString.call(u).slice(8,-1);if(i==="Object"&&u.constructor&&(i=u.constructor.name),i==="Map"||i==="Set")return Array.from(u);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Mi(u,o)}}function Mi(u,o){(o==null||o>u.length)&&(o=u.length);for(var i=0,d=new Array(o);i<o;i++)d[i]=u[i];return d}function Fs(){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 js="1.14.0";function Zt(u){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(u)}var _t=Zt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Vo=Zt(/Edge/i),wa=Zt(/firefox/i),Oo=Zt(/safari/i)&&!Zt(/chrome/i)&&!Zt(/android/i),Fa=Zt(/iP(ad|od|hone)/i),Ls=Zt(/chrome/i)&&Zt(/android/i),ja={capture:!1,passive:!1};function xe(u,o,i){u.addEventListener(o,i,!_t&&ja)}function be(u,o,i){u.removeEventListener(o,i,!_t&&ja)}function ui(u,o){if(o){if(o[0]===">"&&(o=o.substring(1)),u)try{if(u.matches)return u.matches(o);if(u.msMatchesSelector)return u.msMatchesSelector(o);if(u.webkitMatchesSelector)return u.webkitMatchesSelector(o)}catch{return!1}return!1}}function Qs(u){return u.host&&u!==document&&u.host.nodeType?u.host:u.parentNode}function Nt(u,o,i,d){if(u){i=i||document;do{if(o!=null&&(o[0]===">"?u.parentNode===i&&ui(u,o):ui(u,o))||d&&u===i)return u;if(u===i)break}while(u=Qs(u))}return null}var Aa=/\s+/g;function Ge(u,o,i){if(u&&o)if(u.classList)u.classList[i?"add":"remove"](o);else{var d=(" "+u.className+" ").replace(Aa," ").replace(" "+o+" "," ");u.className=(d+(i?" "+o:"")).replace(Aa," ")}}function ae(u,o,i){var d=u&&u.style;if(d){if(i===void 0)return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(u,""):u.currentStyle&&(i=u.currentStyle),o===void 0?i:i[o];!(o in d)&&o.indexOf("webkit")===-1&&(o="-webkit-"+o),d[o]=i+(typeof i=="string"?"":"px")}}function xn(u,o){var i="";if(typeof u=="string")i=u;else do{var d=ae(u,"transform");d&&d!=="none"&&(i=d+" "+i)}while(!o&&(u=u.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(i)}function La(u,o,i){if(u){var d=u.getElementsByTagName(o),n=0,s=d.length;if(i)for(;n<s;n++)i(d[n],n);return d}return[]}function zt(){var u=document.scrollingElement;return u||document.documentElement}function Le(u,o,i,d,n){if(!(!u.getBoundingClientRect&&u!==window)){var s,t,a,l,f,v,m;if(u!==window&&u.parentNode&&u!==zt()?(s=u.getBoundingClientRect(),t=s.top,a=s.left,l=s.bottom,f=s.right,v=s.height,m=s.width):(t=0,a=0,l=window.innerHeight,f=window.innerWidth,v=window.innerHeight,m=window.innerWidth),(o||i)&&u!==window&&(n=n||u.parentNode,!_t))do if(n&&n.getBoundingClientRect&&(ae(n,"transform")!=="none"||i&&ae(n,"position")!=="static")){var h=n.getBoundingClientRect();t-=h.top+parseInt(ae(n,"border-top-width")),a-=h.left+parseInt(ae(n,"border-left-width")),l=t+s.height,f=a+s.width;break}while(n=n.parentNode);if(d&&u!==window){var b=xn(n||u),S=b&&b.a,x=b&&b.d;b&&(t/=x,a/=S,m/=S,v/=x,l=t+v,f=a+m)}return{top:t,left:a,bottom:l,right:f,width:m,height:v}}}function Oa(u,o,i){for(var d=dn(u,!0),n=Le(u)[o];d;){var s=Le(d)[i],t=void 0;if(t=n>=s,!t)return d;if(d===zt())break;d=dn(d,!1)}return!1}function Jn(u,o,i,d){for(var n=0,s=0,t=u.children;s<t.length;){if(t[s].style.display!=="none"&&t[s]!==fe.ghost&&(d||t[s]!==fe.dragged)&&Nt(t[s],i.draggable,u,!1)){if(n===o)return t[s];n++}s++}return null}function Li(u,o){for(var i=u.lastElementChild;i&&(i===fe.ghost||ae(i,"display")==="none"||o&&!ui(i,o));)i=i.previousElementSibling;return i||null}function Je(u,o){var i=0;if(!u||!u.parentNode)return-1;for(;u=u.previousElementSibling;)u.nodeName.toUpperCase()!=="TEMPLATE"&&u!==fe.clone&&(!o||ui(u,o))&&i++;return i}function Ta(u){var o=0,i=0,d=zt();if(u)do{var n=xn(u),s=n.a,t=n.d;o+=u.scrollLeft*s,i+=u.scrollTop*t}while(u!==d&&(u=u.parentNode));return[o,i]}function Gs(u,o){for(var i in u)if(u.hasOwnProperty(i)){for(var d in o)if(o.hasOwnProperty(d)&&o[d]===u[i][d])return Number(i)}return-1}function dn(u,o){if(!u||!u.getBoundingClientRect)return zt();var i=u,d=!1;do if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var n=ae(i);if(i.clientWidth<i.scrollWidth&&(n.overflowX=="auto"||n.overflowX=="scroll")||i.clientHeight<i.scrollHeight&&(n.overflowY=="auto"||n.overflowY=="scroll")){if(!i.getBoundingClientRect||i===document.body)return zt();if(d||o)return i;d=!0}}while(i=i.parentNode);return zt()}function zs(u,o){if(u&&o)for(var i in o)o.hasOwnProperty(i)&&(u[i]=o[i]);return u}function Ai(u,o){return Math.round(u.top)===Math.round(o.top)&&Math.round(u.left)===Math.round(o.left)&&Math.round(u.height)===Math.round(o.height)&&Math.round(u.width)===Math.round(o.width)}var To;function Qa(u,o){return function(){if(!To){var i=arguments,d=this;i.length===1?u.call(d,i[0]):u.apply(d,i),To=setTimeout(function(){To=void 0},o)}}}function $s(){clearTimeout(To),To=void 0}function Ga(u,o,i){u.scrollLeft+=o,u.scrollTop+=i}function Qi(u){var o=window.Polymer,i=window.jQuery||window.Zepto;return o&&o.dom?o.dom(u).cloneNode(!0):i?i(u).clone(!0)[0]:u.cloneNode(!0)}function Da(u,o){ae(u,"position","absolute"),ae(u,"top",o.top),ae(u,"left",o.left),ae(u,"width",o.width),ae(u,"height",o.height)}function Oi(u){ae(u,"position",""),ae(u,"top",""),ae(u,"left",""),ae(u,"width",""),ae(u,"height","")}var pt="Sortable"+new Date().getTime();function Js(){var u=[],o;return{captureAnimationState:function(){if(u=[],!!this.options.animation){var d=[].slice.call(this.el.children);d.forEach(function(n){if(!(ae(n,"display")==="none"||n===fe.ghost)){u.push({target:n,rect:Le(n)});var s=$t({},u[u.length-1].rect);if(n.thisAnimationDuration){var t=xn(n,!0);t&&(s.top-=t.f,s.left-=t.e)}n.fromRect=s}})}},addAnimationState:function(d){u.push(d)},removeAnimationState:function(d){u.splice(Gs(u,{target:d}),1)},animateAll:function(d){var n=this;if(!this.options.animation){clearTimeout(o),typeof d=="function"&&d();return}var s=!1,t=0;u.forEach(function(a){var l=0,f=a.target,v=f.fromRect,m=Le(f),h=f.prevFromRect,b=f.prevToRect,S=a.rect,x=xn(f,!0);x&&(m.top-=x.f,m.left-=x.e),f.toRect=m,f.thisAnimationDuration&&Ai(h,m)&&!Ai(v,m)&&(S.top-m.top)/(S.left-m.left)===(v.top-m.top)/(v.left-m.left)&&(l=Hs(S,h,b,n.options)),Ai(m,v)||(f.prevFromRect=v,f.prevToRect=m,l||(l=n.options.animation),n.animate(f,S,m,l)),l&&(s=!0,t=Math.max(t,l),clearTimeout(f.animationResetTimer),f.animationResetTimer=setTimeout(function(){f.animationTime=0,f.prevFromRect=null,f.fromRect=null,f.prevToRect=null,f.thisAnimationDuration=null},l),f.thisAnimationDuration=l)}),clearTimeout(o),s?o=setTimeout(function(){typeof d=="function"&&d()},t):typeof d=="function"&&d(),u=[]},animate:function(d,n,s,t){if(t){ae(d,"transition",""),ae(d,"transform","");var a=xn(this.el),l=a&&a.a,f=a&&a.d,v=(n.left-s.left)/(l||1),m=(n.top-s.top)/(f||1);d.animatingX=!!v,d.animatingY=!!m,ae(d,"transform","translate3d("+v+"px,"+m+"px,0)"),this.forRepaintDummy=Ws(d),ae(d,"transition","transform "+t+"ms"+(this.options.easing?" "+this.options.easing:"")),ae(d,"transform","translate3d(0,0,0)"),typeof d.animated=="number"&&clearTimeout(d.animated),d.animated=setTimeout(function(){ae(d,"transition",""),ae(d,"transform",""),d.animated=!1,d.animatingX=!1,d.animatingY=!1},t)}}}}function Ws(u){return u.offsetWidth}function Hs(u,o,i,d){return Math.sqrt(Math.pow(o.top-u.top,2)+Math.pow(o.left-u.left,2))/Math.sqrt(Math.pow(o.top-i.top,2)+Math.pow(o.left-i.left,2))*d.animation}var Ln=[],Ti={initializeByDefault:!0},Uo={mount:function(o){for(var i in Ti)Ti.hasOwnProperty(i)&&!(i in o)&&(o[i]=Ti[i]);Ln.forEach(function(d){if(d.pluginName===o.pluginName)throw"Sortable: Cannot mount plugin ".concat(o.pluginName," more than once")}),Ln.push(o)},pluginEvent:function(o,i,d){var n=this;this.eventCanceled=!1,d.cancel=function(){n.eventCanceled=!0};var s=o+"Global";Ln.forEach(function(t){i[t.pluginName]&&(i[t.pluginName][s]&&i[t.pluginName][s]($t({sortable:i},d)),i.options[t.pluginName]&&i[t.pluginName][o]&&i[t.pluginName][o]($t({sortable:i},d)))})},initializePlugins:function(o,i,d,n){Ln.forEach(function(a){var l=a.pluginName;if(!(!o.options[l]&&!a.initializeByDefault)){var f=new a(o,i,o.options);f.sortable=o,f.options=o.options,o[l]=f,Ut(d,f.defaults)}});for(var s in o.options)if(o.options.hasOwnProperty(s)){var t=this.modifyOption(o,s,o.options[s]);typeof t<"u"&&(o.options[s]=t)}},getEventProperties:function(o,i){var d={};return Ln.forEach(function(n){typeof n.eventProperties=="function"&&Ut(d,n.eventProperties.call(i[n.pluginName],o))}),d},modifyOption:function(o,i,d){var n;return Ln.forEach(function(s){o[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[i]=="function"&&(n=s.optionListeners[i].call(o[s.pluginName],d))}),n}};function Io(u){var o=u.sortable,i=u.rootEl,d=u.name,n=u.targetEl,s=u.cloneEl,t=u.toEl,a=u.fromEl,l=u.oldIndex,f=u.newIndex,v=u.oldDraggableIndex,m=u.newDraggableIndex,h=u.originalEvent,b=u.putSortable,S=u.extraEventProperties;if(o=o||i&&i[pt],!!o){var x,I=o.options,T="on"+d.charAt(0).toUpperCase()+d.substr(1);window.CustomEvent&&!_t&&!Vo?x=new CustomEvent(d,{bubbles:!0,cancelable:!0}):(x=document.createEvent("Event"),x.initEvent(d,!0,!0)),x.to=t||i,x.from=a||i,x.item=n||i,x.clone=s,x.oldIndex=l,x.newIndex=f,x.oldDraggableIndex=v,x.newDraggableIndex=m,x.originalEvent=h,x.pullMode=b?b.lastPutMode:void 0;var D=$t($t({},S),Uo.getEventProperties(d,o));for(var B in D)x[B]=D[B];i&&i.dispatchEvent(x),I[T]&&I[T].call(o,x)}}var Ys=["evt"],xt=function(o,i){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=d.evt,s=ks(d,Ys);Uo.pluginEvent.bind(fe)(o,i,$t({dragEl:H,parentEl:ze,ghostEl:ye,rootEl:je,nextEl:En,lastDownEl:ri,cloneEl:$e,cloneHidden:sn,dragStarted:Co,putSortable:ut,activeSortable:fe.active,originalEvent:n,oldIndex:$n,oldDraggableIndex:Do,newIndex:Pt,newDraggableIndex:ln,hideGhostForTarget:Wa,unhideGhostForTarget:Ha,cloneNowHidden:function(){sn=!0},cloneNowShown:function(){sn=!1},dispatchSortableEvent:function(a){bt({sortable:i,name:a,originalEvent:n})}},s))};function bt(u){Io($t({putSortable:ut,cloneEl:$e,targetEl:H,rootEl:je,oldIndex:$n,oldDraggableIndex:Do,newIndex:Pt,newDraggableIndex:ln},u))}var H,ze,ye,je,En,ri,$e,sn,$n,Pt,Do,ln,_o,ut,zn=!1,ci=!1,fi=[],bn,Kt,Di,Pi,Pa,Ra,Co,Qn,Po,Ro=!1,ei=!1,li,vt,Ri=[],Ni=!1,vi=[],mi=typeof document<"u",ti=Fa,Va=Vo||_t?"cssFloat":"float",Xs=mi&&!Ls&&!Fa&&"draggable"in document.createElement("div"),za=function(){if(mi){if(_t)return!1;var u=document.createElement("x");return u.style.cssText="pointer-events:auto",u.style.pointerEvents==="auto"}}(),$a=function(o,i){var d=ae(o),n=parseInt(d.width)-parseInt(d.paddingLeft)-parseInt(d.paddingRight)-parseInt(d.borderLeftWidth)-parseInt(d.borderRightWidth),s=Jn(o,0,i),t=Jn(o,1,i),a=s&&ae(s),l=t&&ae(t),f=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Le(s).width,v=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Le(t).width;if(d.display==="flex")return d.flexDirection==="column"||d.flexDirection==="column-reverse"?"vertical":"horizontal";if(d.display==="grid")return d.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&a.float&&a.float!=="none"){var m=a.float==="left"?"left":"right";return t&&(l.clear==="both"||l.clear===m)?"vertical":"horizontal"}return s&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||f>=n&&d[Va]==="none"||t&&d[Va]==="none"&&f+v>n)?"vertical":"horizontal"},qs=function(o,i,d){var n=d?o.left:o.top,s=d?o.right:o.bottom,t=d?o.width:o.height,a=d?i.left:i.top,l=d?i.right:i.bottom,f=d?i.width:i.height;return n===a||s===l||n+t/2===a+f/2},Zs=function(o,i){var d;return fi.some(function(n){var s=n[pt].options.emptyInsertThreshold;if(!(!s||Li(n))){var t=Le(n),a=o>=t.left-s&&o<=t.right+s,l=i>=t.top-s&&i<=t.bottom+s;if(a&&l)return d=n}}),d},Ja=function(o){function i(s,t){return function(a,l,f,v){var m=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(s==null&&(t||m))return!0;if(s==null||s===!1)return!1;if(t&&s==="clone")return s;if(typeof s=="function")return i(s(a,l,f,v),t)(a,l,f,v);var h=(t?a:l).options.group.name;return s===!0||typeof s=="string"&&s===h||s.join&&s.indexOf(h)>-1}}var d={},n=o.group;(!n||ai(n)!="object")&&(n={name:n}),d.name=n.name,d.checkPull=i(n.pull,!0),d.checkPut=i(n.put),d.revertClone=n.revertClone,o.group=d},Wa=function(){!za&&ye&&ae(ye,"display","none")},Ha=function(){!za&&ye&&ae(ye,"display","")};mi&&document.addEventListener("click",function(u){if(ci)return u.preventDefault(),u.stopPropagation&&u.stopPropagation(),u.stopImmediatePropagation&&u.stopImmediatePropagation(),ci=!1,!1},!0);var Sn=function(o){if(H){o=o.touches?o.touches[0]:o;var i=Zs(o.clientX,o.clientY);if(i){var d={};for(var n in o)o.hasOwnProperty(n)&&(d[n]=o[n]);d.target=d.rootEl=i,d.preventDefault=void 0,d.stopPropagation=void 0,i[pt]._onDragOver(d)}}},_s=function(o){H&&H.parentNode[pt]._isOutsideThisEl(o.target)};function fe(u,o){if(!(u&&u.nodeType&&u.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(u));this.el=u,this.options=o=Ut({},o),u[pt]=this;var i={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(u.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return $a(u,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:fe.supportPointer!==!1&&"PointerEvent"in window&&!Oo,emptyInsertThreshold:5};Uo.initializePlugins(this,u,i);for(var d in i)!(d in o)&&(o[d]=i[d]);Ja(o);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=o.forceFallback?!1:Xs,this.nativeDraggable&&(this.options.touchStartThreshold=1),o.supportPointer?xe(u,"pointerdown",this._onTapStart):(xe(u,"mousedown",this._onTapStart),xe(u,"touchstart",this._onTapStart)),this.nativeDraggable&&(xe(u,"dragover",this),xe(u,"dragenter",this)),fi.push(this.el),o.store&&o.store.get&&this.sort(o.store.get(this)||[]),Ut(this,Js())}fe.prototype={constructor:fe,_isOutsideThisEl:function(o){!this.el.contains(o)&&o!==this.el&&(Qn=null)},_getDirection:function(o,i){return typeof this.options.direction=="function"?this.options.direction.call(this,o,i,H):this.options.direction},_onTapStart:function(o){if(o.cancelable){var i=this,d=this.el,n=this.options,s=n.preventOnFilter,t=o.type,a=o.touches&&o.touches[0]||o.pointerType&&o.pointerType==="touch"&&o,l=(a||o).target,f=o.target.shadowRoot&&(o.path&&o.path[0]||o.composedPath&&o.composedPath()[0])||l,v=n.filter;if(ld(d),!H&&!(/mousedown|pointerdown/.test(t)&&o.button!==0||n.disabled)&&!f.isContentEditable&&!(!this.nativeDraggable&&Oo&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Nt(l,n.draggable,d,!1),!(l&&l.animated)&&ri!==l)){if($n=Je(l),Do=Je(l,n.draggable),typeof v=="function"){if(v.call(this,o,l,this)){bt({sortable:i,rootEl:f,name:"filter",targetEl:l,toEl:d,fromEl:d}),xt("filter",i,{evt:o}),s&&o.cancelable&&o.preventDefault();return}}else if(v&&(v=v.split(",").some(function(m){if(m=Nt(f,m.trim(),d,!1),m)return bt({sortable:i,rootEl:m,name:"filter",targetEl:l,fromEl:d,toEl:d}),xt("filter",i,{evt:o}),!0}),v)){s&&o.cancelable&&o.preventDefault();return}n.handle&&!Nt(f,n.handle,d,!1)||this._prepareDragStart(o,a,l)}}},_prepareDragStart:function(o,i,d){var n=this,s=n.el,t=n.options,a=s.ownerDocument,l;if(d&&!H&&d.parentNode===s){var f=Le(d);if(je=s,H=d,ze=H.parentNode,En=H.nextSibling,ri=d,_o=t.group,fe.dragged=H,bn={target:H,clientX:(i||o).clientX,clientY:(i||o).clientY},Pa=bn.clientX-f.left,Ra=bn.clientY-f.top,this._lastX=(i||o).clientX,this._lastY=(i||o).clientY,H.style["will-change"]="all",l=function(){if(xt("delayEnded",n,{evt:o}),fe.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!wa&&n.nativeDraggable&&(H.draggable=!0),n._triggerDragStart(o,i),bt({sortable:n,name:"choose",originalEvent:o}),Ge(H,t.chosenClass,!0)},t.ignore.split(",").forEach(function(v){La(H,v.trim(),Vi)}),xe(a,"dragover",Sn),xe(a,"mousemove",Sn),xe(a,"touchmove",Sn),xe(a,"mouseup",n._onDrop),xe(a,"touchend",n._onDrop),xe(a,"touchcancel",n._onDrop),wa&&this.nativeDraggable&&(this.options.touchStartThreshold=4,H.draggable=!0),xt("delayStart",this,{evt:o}),t.delay&&(!t.delayOnTouchOnly||i)&&(!this.nativeDraggable||!(Vo||_t))){if(fe.eventCanceled){this._onDrop();return}xe(a,"mouseup",n._disableDelayedDrag),xe(a,"touchend",n._disableDelayedDrag),xe(a,"touchcancel",n._disableDelayedDrag),xe(a,"mousemove",n._delayedDragTouchMoveHandler),xe(a,"touchmove",n._delayedDragTouchMoveHandler),t.supportPointer&&xe(a,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(l,t.delay)}else l()}},_delayedDragTouchMoveHandler:function(o){var i=o.touches?o.touches[0]:o;Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){H&&Vi(H),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var o=this.el.ownerDocument;be(o,"mouseup",this._disableDelayedDrag),be(o,"touchend",this._disableDelayedDrag),be(o,"touchcancel",this._disableDelayedDrag),be(o,"mousemove",this._delayedDragTouchMoveHandler),be(o,"touchmove",this._delayedDragTouchMoveHandler),be(o,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(o,i){i=i||o.pointerType=="touch"&&o,!this.nativeDraggable||i?this.options.supportPointer?xe(document,"pointermove",this._onTouchMove):i?xe(document,"touchmove",this._onTouchMove):xe(document,"mousemove",this._onTouchMove):(xe(H,"dragend",this),xe(je,"dragstart",this._onDragStart));try{document.selection?si(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(o,i){if(zn=!1,je&&H){xt("dragStarted",this,{evt:i}),this.nativeDraggable&&xe(document,"dragover",_s);var d=this.options;!o&&Ge(H,d.dragClass,!1),Ge(H,d.ghostClass,!0),fe.active=this,o&&this._appendGhost(),bt({sortable:this,name:"start",originalEvent:i})}else this._nulling()},_emulateDragOver:function(){if(Kt){this._lastX=Kt.clientX,this._lastY=Kt.clientY,Wa();for(var o=document.elementFromPoint(Kt.clientX,Kt.clientY),i=o;o&&o.shadowRoot&&(o=o.shadowRoot.elementFromPoint(Kt.clientX,Kt.clientY),o!==i);)i=o;if(H.parentNode[pt]._isOutsideThisEl(o),i)do{if(i[pt]){var d=void 0;if(d=i[pt]._onDragOver({clientX:Kt.clientX,clientY:Kt.clientY,target:o,rootEl:i}),d&&!this.options.dragoverBubble)break}o=i}while(i=i.parentNode);Ha()}},_onTouchMove:function(o){if(bn){var i=this.options,d=i.fallbackTolerance,n=i.fallbackOffset,s=o.touches?o.touches[0]:o,t=ye&&xn(ye,!0),a=ye&&t&&t.a,l=ye&&t&&t.d,f=ti&&vt&&Ta(vt),v=(s.clientX-bn.clientX+n.x)/(a||1)+(f?f[0]-Ri[0]:0)/(a||1),m=(s.clientY-bn.clientY+n.y)/(l||1)+(f?f[1]-Ri[1]:0)/(l||1);if(!fe.active&&!zn){if(d&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<d)return;this._onDragStart(o,!0)}if(ye){t?(t.e+=v-(Di||0),t.f+=m-(Pi||0)):t={a:1,b:0,c:0,d:1,e:v,f:m};var h="matrix(".concat(t.a,",").concat(t.b,",").concat(t.c,",").concat(t.d,",").concat(t.e,",").concat(t.f,")");ae(ye,"webkitTransform",h),ae(ye,"mozTransform",h),ae(ye,"msTransform",h),ae(ye,"transform",h),Di=v,Pi=m,Kt=s}o.cancelable&&o.preventDefault()}},_appendGhost:function(){if(!ye){var o=this.options.fallbackOnBody?document.body:je,i=Le(H,!0,ti,!0,o),d=this.options;if(ti){for(vt=o;ae(vt,"position")==="static"&&ae(vt,"transform")==="none"&&vt!==document;)vt=vt.parentNode;vt!==document.body&&vt!==document.documentElement?(vt===document&&(vt=zt()),i.top+=vt.scrollTop,i.left+=vt.scrollLeft):vt=zt(),Ri=Ta(vt)}ye=H.cloneNode(!0),Ge(ye,d.ghostClass,!1),Ge(ye,d.fallbackClass,!0),Ge(ye,d.dragClass,!0),ae(ye,"transition",""),ae(ye,"transform",""),ae(ye,"box-sizing","border-box"),ae(ye,"margin",0),ae(ye,"top",i.top),ae(ye,"left",i.left),ae(ye,"width",i.width),ae(ye,"height",i.height),ae(ye,"opacity","0.8"),ae(ye,"position",ti?"absolute":"fixed"),ae(ye,"zIndex","100000"),ae(ye,"pointerEvents","none"),fe.ghost=ye,o.appendChild(ye),ae(ye,"transform-origin",Pa/parseInt(ye.style.width)*100+"% "+Ra/parseInt(ye.style.height)*100+"%")}},_onDragStart:function(o,i){var d=this,n=o.dataTransfer,s=d.options;if(xt("dragStart",this,{evt:o}),fe.eventCanceled){this._onDrop();return}xt("setupClone",this),fe.eventCanceled||($e=Qi(H),$e.draggable=!1,$e.style["will-change"]="",this._hideClone(),Ge($e,this.options.chosenClass,!1),fe.clone=$e),d.cloneId=si(function(){xt("clone",d),!fe.eventCanceled&&(d.options.removeCloneOnHide||je.insertBefore($e,H),d._hideClone(),bt({sortable:d,name:"clone"}))}),!i&&Ge(H,s.dragClass,!0),i?(ci=!0,d._loopId=setInterval(d._emulateDragOver,50)):(be(document,"mouseup",d._onDrop),be(document,"touchend",d._onDrop),be(document,"touchcancel",d._onDrop),n&&(n.effectAllowed="move",s.setData&&s.setData.call(d,n,H)),xe(document,"drop",d),ae(H,"transform","translateZ(0)")),zn=!0,d._dragStartId=si(d._dragStarted.bind(d,i,o)),xe(document,"selectstart",d),Co=!0,Oo&&ae(document.body,"user-select","none")},_onDragOver:function(o){var i=this.el,d=o.target,n,s,t,a=this.options,l=a.group,f=fe.active,v=_o===l,m=a.sort,h=ut||f,b,S=this,x=!1;if(Ni)return;function I(Ie,Pe){xt(Ie,S,$t({evt:o,isOwner:v,axis:b?"vertical":"horizontal",revert:t,dragRect:n,targetRect:s,canSort:m,fromSortable:h,target:d,completed:D,onMove:function(Re,Ue){return ni(je,i,H,n,Re,Le(Re),o,Ue)},changed:B},Pe))}function T(){I("dragOverAnimationCapture"),S.captureAnimationState(),S!==h&&h.captureAnimationState()}function D(Ie){return I("dragOverCompleted",{insertion:Ie}),Ie&&(v?f._hideClone():f._showClone(S),S!==h&&(Ge(H,ut?ut.options.ghostClass:f.options.ghostClass,!1),Ge(H,a.ghostClass,!0)),ut!==S&&S!==fe.active?ut=S:S===fe.active&&ut&&(ut=null),h===S&&(S._ignoreWhileAnimating=d),S.animateAll(function(){I("dragOverAnimationComplete"),S._ignoreWhileAnimating=null}),S!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(d===H&&!H.animated||d===i&&!d.animated)&&(Qn=null),!a.dragoverBubble&&!o.rootEl&&d!==document&&(H.parentNode[pt]._isOutsideThisEl(o.target),!Ie&&Sn(o)),!a.dragoverBubble&&o.stopPropagation&&o.stopPropagation(),x=!0}function B(){Pt=Je(H),ln=Je(H,a.draggable),bt({sortable:S,name:"change",toEl:i,newIndex:Pt,newDraggableIndex:ln,originalEvent:o})}if(o.preventDefault!==void 0&&o.cancelable&&o.preventDefault(),d=Nt(d,a.draggable,i,!0),I("dragOver"),fe.eventCanceled)return x;if(H.contains(o.target)||d.animated&&d.animatingX&&d.animatingY||S._ignoreWhileAnimating===d)return D(!1);if(ci=!1,f&&!a.disabled&&(v?m||(t=ze!==je):ut===this||(this.lastPutMode=_o.checkPull(this,f,H,o))&&l.checkPut(this,f,H,o))){if(b=this._getDirection(o,d)==="vertical",n=Le(H),I("dragOverValid"),fe.eventCanceled)return x;if(t)return ze=je,T(),this._hideClone(),I("revert"),fe.eventCanceled||(En?je.insertBefore(H,En):je.appendChild(H)),D(!0);var V=Li(i,a.draggable);if(!V||od(o,b,this)&&!V.animated){if(V===H)return D(!1);if(V&&i===o.target&&(d=V),d&&(s=Le(d)),ni(je,i,H,n,d,s,o,!!d)!==!1)return T(),i.appendChild(H),ze=i,B(),D(!0)}else if(V&&nd(o,b,this)){var F=Jn(i,0,a,!0);if(F===H)return D(!1);if(d=F,s=Le(d),ni(je,i,H,n,d,s,o,!1)!==!1)return T(),i.insertBefore(H,F),ze=i,B(),D(!0)}else if(d.parentNode===i){s=Le(d);var M=0,q,te=H.parentNode!==i,N=!qs(H.animated&&H.toRect||n,d.animated&&d.toRect||s,b),X=b?"top":"left",Y=Oa(d,"top","top")||Oa(H,"top","top"),Z=Y?Y.scrollTop:void 0;Qn!==d&&(q=s[X],Ro=!1,ei=!N&&a.invertSwap||te),M=id(o,d,s,b,N?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,ei,Qn===d);var z;if(M!==0){var $=Je(H);do $-=M,z=ze.children[$];while(z&&(ae(z,"display")==="none"||z===ye))}if(M===0||z===d)return D(!1);Qn=d,Po=M;var ve=d.nextElementSibling,Q=!1;Q=M===1;var ne=ni(je,i,H,n,d,s,o,Q);if(ne!==!1)return(ne===1||ne===-1)&&(Q=ne===1),Ni=!0,setTimeout(td,30),T(),Q&&!ve?i.appendChild(H):d.parentNode.insertBefore(H,Q?ve:d),Y&&Ga(Y,0,Z-Y.scrollTop),ze=H.parentNode,q!==void 0&&!ei&&(li=Math.abs(q-Le(d)[X])),B(),D(!0)}if(i.contains(H))return D(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){be(document,"mousemove",this._onTouchMove),be(document,"touchmove",this._onTouchMove),be(document,"pointermove",this._onTouchMove),be(document,"dragover",Sn),be(document,"mousemove",Sn),be(document,"touchmove",Sn)},_offUpEvents:function(){var o=this.el.ownerDocument;be(o,"mouseup",this._onDrop),be(o,"touchend",this._onDrop),be(o,"pointerup",this._onDrop),be(o,"touchcancel",this._onDrop),be(document,"selectstart",this)},_onDrop:function(o){var i=this.el,d=this.options;if(Pt=Je(H),ln=Je(H,d.draggable),xt("drop",this,{evt:o}),ze=H&&H.parentNode,Pt=Je(H),ln=Je(H,d.draggable),fe.eventCanceled){this._nulling();return}zn=!1,ei=!1,Ro=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Bi(this.cloneId),Bi(this._dragStartId),this.nativeDraggable&&(be(document,"drop",this),be(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Oo&&ae(document.body,"user-select",""),ae(H,"transform",""),o&&(Co&&(o.cancelable&&o.preventDefault(),!d.dropBubble&&o.stopPropagation()),ye&&ye.parentNode&&ye.parentNode.removeChild(ye),(je===ze||ut&&ut.lastPutMode!=="clone")&&$e&&$e.parentNode&&$e.parentNode.removeChild($e),H&&(this.nativeDraggable&&be(H,"dragend",this),Vi(H),H.style["will-change"]="",Co&&!zn&&Ge(H,ut?ut.options.ghostClass:this.options.ghostClass,!1),Ge(H,this.options.chosenClass,!1),bt({sortable:this,name:"unchoose",toEl:ze,newIndex:null,newDraggableIndex:null,originalEvent:o}),je!==ze?(Pt>=0&&(bt({rootEl:ze,name:"add",toEl:ze,fromEl:je,originalEvent:o}),bt({sortable:this,name:"remove",toEl:ze,originalEvent:o}),bt({rootEl:ze,name:"sort",toEl:ze,fromEl:je,originalEvent:o}),bt({sortable:this,name:"sort",toEl:ze,originalEvent:o})),ut&&ut.save()):Pt!==$n&&Pt>=0&&(bt({sortable:this,name:"update",toEl:ze,originalEvent:o}),bt({sortable:this,name:"sort",toEl:ze,originalEvent:o})),fe.active&&((Pt==null||Pt===-1)&&(Pt=$n,ln=Do),bt({sortable:this,name:"end",toEl:ze,originalEvent:o}),this.save()))),this._nulling()},_nulling:function(){xt("nulling",this),je=H=ze=ye=En=$e=ri=sn=bn=Kt=Co=Pt=ln=$n=Do=Qn=Po=ut=_o=fe.dragged=fe.ghost=fe.clone=fe.active=null,vi.forEach(function(o){o.checked=!0}),vi.length=Di=Pi=0},handleEvent:function(o){switch(o.type){case"drop":case"dragend":this._onDrop(o);break;case"dragenter":case"dragover":H&&(this._onDragOver(o),ed(o));break;case"selectstart":o.preventDefault();break}},toArray:function(){for(var o=[],i,d=this.el.children,n=0,s=d.length,t=this.options;n<s;n++)i=d[n],Nt(i,t.draggable,this.el,!1)&&o.push(i.getAttribute(t.dataIdAttr)||rd(i));return o},sort:function(o,i){var d={},n=this.el;this.toArray().forEach(function(s,t){var a=n.children[t];Nt(a,this.options.draggable,n,!1)&&(d[s]=a)},this),i&&this.captureAnimationState(),o.forEach(function(s){d[s]&&(n.removeChild(d[s]),n.appendChild(d[s]))}),i&&this.animateAll()},save:function(){var o=this.options.store;o&&o.set&&o.set(this)},closest:function(o,i){return Nt(o,i||this.options.draggable,this.el,!1)},option:function(o,i){var d=this.options;if(i===void 0)return d[o];var n=Uo.modifyOption(this,o,i);typeof n<"u"?d[o]=n:d[o]=i,o==="group"&&Ja(d)},destroy:function(){xt("destroy",this);var o=this.el;o[pt]=null,be(o,"mousedown",this._onTapStart),be(o,"touchstart",this._onTapStart),be(o,"pointerdown",this._onTapStart),this.nativeDraggable&&(be(o,"dragover",this),be(o,"dragenter",this)),Array.prototype.forEach.call(o.querySelectorAll("[draggable]"),function(i){i.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),fi.splice(fi.indexOf(this.el),1),this.el=o=null},_hideClone:function(){if(!sn){if(xt("hideClone",this),fe.eventCanceled)return;ae($e,"display","none"),this.options.removeCloneOnHide&&$e.parentNode&&$e.parentNode.removeChild($e),sn=!0}},_showClone:function(o){if(o.lastPutMode!=="clone"){this._hideClone();return}if(sn){if(xt("showClone",this),fe.eventCanceled)return;H.parentNode==je&&!this.options.group.revertClone?je.insertBefore($e,H):En?je.insertBefore($e,En):je.appendChild($e),this.options.group.revertClone&&this.animate(H,$e),ae($e,"display",""),sn=!1}}};function ed(u){u.dataTransfer&&(u.dataTransfer.dropEffect="move"),u.cancelable&&u.preventDefault()}function ni(u,o,i,d,n,s,t,a){var l,f=u[pt],v=f.options.onMove,m;return window.CustomEvent&&!_t&&!Vo?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=o,l.from=u,l.dragged=i,l.draggedRect=d,l.related=n||o,l.relatedRect=s||Le(o),l.willInsertAfter=a,l.originalEvent=t,u.dispatchEvent(l),v&&(m=v.call(f,l,t)),m}function Vi(u){u.draggable=!1}function td(){Ni=!1}function nd(u,o,i){var d=Le(Jn(i.el,0,i.options,!0)),n=10;return o?u.clientX<d.left-n||u.clientY<d.top&&u.clientX<d.right:u.clientY<d.top-n||u.clientY<d.bottom&&u.clientX<d.left}function od(u,o,i){var d=Le(Li(i.el,i.options.draggable)),n=10;return o?u.clientX>d.right+n||u.clientX<=d.right&&u.clientY>d.bottom&&u.clientX>=d.left:u.clientX>d.right&&u.clientY>d.top||u.clientX<=d.right&&u.clientY>d.bottom+n}function id(u,o,i,d,n,s,t,a){var l=d?u.clientY:u.clientX,f=d?i.height:i.width,v=d?i.top:i.left,m=d?i.bottom:i.right,h=!1;if(!t){if(a&&li<f*n){if(!Ro&&(Po===1?l>v+f*s/2:l<m-f*s/2)&&(Ro=!0),Ro)h=!0;else if(Po===1?l<v+li:l>m-li)return-Po}else if(l>v+f*(1-n)/2&&l<m-f*(1-n)/2)return ad(o)}return h=h||t,h&&(l<v+f*s/2||l>m-f*s/2)?l>v+f/2?1:-1:0}function ad(u){return Je(H)<Je(u)?1:-1}function rd(u){for(var o=u.tagName+u.className+u.src+u.href+u.textContent,i=o.length,d=0;i--;)d+=o.charCodeAt(i);return d.toString(36)}function ld(u){vi.length=0;for(var o=u.getElementsByTagName("input"),i=o.length;i--;){var d=o[i];d.checked&&vi.push(d)}}function si(u){return setTimeout(u,0)}function Bi(u){return clearTimeout(u)}mi&&xe(document,"touchmove",function(u){(fe.active||zn)&&u.cancelable&&u.preventDefault()});fe.utils={on:xe,off:be,css:ae,find:La,is:function(o,i){return!!Nt(o,i,o,!1)},extend:zs,throttle:Qa,closest:Nt,toggleClass:Ge,clone:Qi,index:Je,nextTick:si,cancelNextTick:Bi,detectDirection:$a,getChild:Jn};fe.get=function(u){return u[pt]};fe.mount=function(){for(var u=arguments.length,o=new Array(u),i=0;i<u;i++)o[i]=arguments[i];o[0].constructor===Array&&(o=o[0]),o.forEach(function(d){if(!d.prototype||!d.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(d));d.utils&&(fe.utils=$t($t({},fe.utils),d.utils)),Uo.mount(d)})};fe.create=function(u,o){return new fe(u,o)};fe.version=js;var Ze=[],wo,Fi,ji=!1,Ui,ki,pi,Ao;function sd(){function u(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this))}return u.prototype={dragStarted:function(i){var d=i.originalEvent;this.sortable.nativeDraggable?xe(document,"dragover",this._handleAutoScroll):this.options.supportPointer?xe(document,"pointermove",this._handleFallbackAutoScroll):d.touches?xe(document,"touchmove",this._handleFallbackAutoScroll):xe(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(i){var d=i.originalEvent;!this.options.dragOverBubble&&!d.rootEl&&this._handleAutoScroll(d)},drop:function(){this.sortable.nativeDraggable?be(document,"dragover",this._handleAutoScroll):(be(document,"pointermove",this._handleFallbackAutoScroll),be(document,"touchmove",this._handleFallbackAutoScroll),be(document,"mousemove",this._handleFallbackAutoScroll)),Ua(),di(),$s()},nulling:function(){pi=Fi=wo=ji=Ao=Ui=ki=null,Ze.length=0},_handleFallbackAutoScroll:function(i){this._handleAutoScroll(i,!0)},_handleAutoScroll:function(i,d){var n=this,s=(i.touches?i.touches[0]:i).clientX,t=(i.touches?i.touches[0]:i).clientY,a=document.elementFromPoint(s,t);if(pi=i,d||this.options.forceAutoScrollFallback||Vo||_t||Oo){Ki(i,this.options,a,d);var l=dn(a,!0);ji&&(!Ao||s!==Ui||t!==ki)&&(Ao&&Ua(),Ao=setInterval(function(){var f=dn(document.elementFromPoint(s,t),!0);f!==l&&(l=f,di()),Ki(i,n.options,f,d)},10),Ui=s,ki=t)}else{if(!this.options.bubbleScroll||dn(a,!0)===zt()){di();return}Ki(i,this.options,dn(a,!1),!1)}}},Ut(u,{pluginName:"scroll",initializeByDefault:!0})}function di(){Ze.forEach(function(u){clearInterval(u.pid)}),Ze=[]}function Ua(){clearInterval(Ao)}var Ki=Qa(function(u,o,i,d){if(o.scroll){var n=(u.touches?u.touches[0]:u).clientX,s=(u.touches?u.touches[0]:u).clientY,t=o.scrollSensitivity,a=o.scrollSpeed,l=zt(),f=!1,v;Fi!==i&&(Fi=i,di(),wo=o.scroll,v=o.scrollFn,wo===!0&&(wo=dn(i,!0)));var m=0,h=wo;do{var b=h,S=Le(b),x=S.top,I=S.bottom,T=S.left,D=S.right,B=S.width,V=S.height,F=void 0,M=void 0,q=b.scrollWidth,te=b.scrollHeight,N=ae(b),X=b.scrollLeft,Y=b.scrollTop;b===l?(F=B<q&&(N.overflowX==="auto"||N.overflowX==="scroll"||N.overflowX==="visible"),M=V<te&&(N.overflowY==="auto"||N.overflowY==="scroll"||N.overflowY==="visible")):(F=B<q&&(N.overflowX==="auto"||N.overflowX==="scroll"),M=V<te&&(N.overflowY==="auto"||N.overflowY==="scroll"));var Z=F&&(Math.abs(D-n)<=t&&X+B<q)-(Math.abs(T-n)<=t&&!!X),z=M&&(Math.abs(I-s)<=t&&Y+V<te)-(Math.abs(x-s)<=t&&!!Y);if(!Ze[m])for(var $=0;$<=m;$++)Ze[$]||(Ze[$]={});(Ze[m].vx!=Z||Ze[m].vy!=z||Ze[m].el!==b)&&(Ze[m].el=b,Ze[m].vx=Z,Ze[m].vy=z,clearInterval(Ze[m].pid),(Z!=0||z!=0)&&(f=!0,Ze[m].pid=setInterval((function(){d&&this.layer===0&&fe.active._onTouchMove(pi);var ve=Ze[this.layer].vy?Ze[this.layer].vy*a:0,Q=Ze[this.layer].vx?Ze[this.layer].vx*a:0;typeof v=="function"&&v.call(fe.dragged.parentNode[pt],Q,ve,u,pi,Ze[this.layer].el)!=="continue"||Ga(Ze[this.layer].el,Q,ve)}).bind({layer:m}),24))),m++}while(o.bubbleScroll&&h!==l&&(h=dn(h,!1)));ji=f}},30),Ya=function(o){var i=o.originalEvent,d=o.putSortable,n=o.dragEl,s=o.activeSortable,t=o.dispatchSortableEvent,a=o.hideGhostForTarget,l=o.unhideGhostForTarget;if(i){var f=d||s;a();var v=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,m=document.elementFromPoint(v.clientX,v.clientY);l(),f&&!f.el.contains(m)&&(t("spill"),this.onSpill({dragEl:n,putSortable:d}))}};function Gi(){}Gi.prototype={startIndex:null,dragStart:function(o){var i=o.oldDraggableIndex;this.startIndex=i},onSpill:function(o){var i=o.dragEl,d=o.putSortable;this.sortable.captureAnimationState(),d&&d.captureAnimationState();var n=Jn(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(i,n):this.sortable.el.appendChild(i),this.sortable.animateAll(),d&&d.animateAll()},drop:Ya};Ut(Gi,{pluginName:"revertOnSpill"});function zi(){}zi.prototype={onSpill:function(o){var i=o.dragEl,d=o.putSortable,n=d||this.sortable;n.captureAnimationState(),i.parentNode&&i.parentNode.removeChild(i),n.animateAll()},drop:Ya};Ut(zi,{pluginName:"removeOnSpill"});var Vt;function dd(){function u(){this.defaults={swapClass:"sortable-swap-highlight"}}return u.prototype={dragStart:function(i){var d=i.dragEl;Vt=d},dragOverValid:function(i){var d=i.completed,n=i.target,s=i.onMove,t=i.activeSortable,a=i.changed,l=i.cancel;if(t.options.swap){var f=this.sortable.el,v=this.options;if(n&&n!==f){var m=Vt;s(n)!==!1?(Ge(n,v.swapClass,!0),Vt=n):Vt=null,m&&m!==Vt&&Ge(m,v.swapClass,!1)}a(),d(!0),l()}},drop:function(i){var d=i.activeSortable,n=i.putSortable,s=i.dragEl,t=n||this.sortable,a=this.options;Vt&&Ge(Vt,a.swapClass,!1),Vt&&(a.swap||n&&n.options.swap)&&s!==Vt&&(t.captureAnimationState(),t!==d&&d.captureAnimationState(),ud(s,Vt),t.animateAll(),t!==d&&d.animateAll())},nulling:function(){Vt=null}},Ut(u,{pluginName:"swap",eventProperties:function(){return{swapItem:Vt}}})}function ud(u,o){var i=u.parentNode,d=o.parentNode,n,s;!i||!d||i.isEqualNode(o)||d.isEqualNode(u)||(n=Je(u),s=Je(o),i.isEqualNode(d)&&n<s&&s++,i.insertBefore(o,i.children[n]),d.insertBefore(u,d.children[s]))}var he=[],Dt=[],So,Mt,Eo=!1,It=!1,Gn=!1,Ne,xo,oi;function cd(){function u(o){for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));o.options.supportPointer?xe(document,"pointerup",this._deselectMultiDrag):(xe(document,"mouseup",this._deselectMultiDrag),xe(document,"touchend",this._deselectMultiDrag)),xe(document,"keydown",this._checkKeyDown),xe(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(n,s){var t="";he.length&&Mt===o?he.forEach(function(a,l){t+=(l?", ":"")+a.textContent}):t=s.textContent,n.setData("Text",t)}}}return u.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(i){var d=i.dragEl;Ne=d},delayEnded:function(){this.isMultiDrag=~he.indexOf(Ne)},setupClone:function(i){var d=i.sortable,n=i.cancel;if(this.isMultiDrag){for(var s=0;s<he.length;s++)Dt.push(Qi(he[s])),Dt[s].sortableIndex=he[s].sortableIndex,Dt[s].draggable=!1,Dt[s].style["will-change"]="",Ge(Dt[s],this.options.selectedClass,!1),he[s]===Ne&&Ge(Dt[s],this.options.chosenClass,!1);d._hideClone(),n()}},clone:function(i){var d=i.sortable,n=i.rootEl,s=i.dispatchSortableEvent,t=i.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||he.length&&Mt===d&&(ka(!0,n),s("clone"),t()))},showClone:function(i){var d=i.cloneNowShown,n=i.rootEl,s=i.cancel;this.isMultiDrag&&(ka(!1,n),Dt.forEach(function(t){ae(t,"display","")}),d(),oi=!1,s())},hideClone:function(i){var d=this;i.sortable;var n=i.cloneNowHidden,s=i.cancel;this.isMultiDrag&&(Dt.forEach(function(t){ae(t,"display","none"),d.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)}),n(),oi=!0,s())},dragStartGlobal:function(i){i.sortable,!this.isMultiDrag&&Mt&&Mt.multiDrag._deselectMultiDrag(),he.forEach(function(d){d.sortableIndex=Je(d)}),he=he.sort(function(d,n){return d.sortableIndex-n.sortableIndex}),Gn=!0},dragStarted:function(i){var d=this,n=i.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){he.forEach(function(t){t!==Ne&&ae(t,"position","absolute")});var s=Le(Ne,!1,!0,!0);he.forEach(function(t){t!==Ne&&Da(t,s)}),It=!0,Eo=!0}n.animateAll(function(){It=!1,Eo=!1,d.options.animation&&he.forEach(function(t){Oi(t)}),d.options.sort&&ii()})}},dragOver:function(i){var d=i.target,n=i.completed,s=i.cancel;It&&~he.indexOf(d)&&(n(!1),s())},revert:function(i){var d=i.fromSortable,n=i.rootEl,s=i.sortable,t=i.dragRect;he.length>1&&(he.forEach(function(a){s.addAnimationState({target:a,rect:It?Le(a):t}),Oi(a),a.fromRect=t,d.removeAnimationState(a)}),It=!1,fd(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(i){var d=i.sortable,n=i.isOwner,s=i.insertion,t=i.activeSortable,a=i.parentEl,l=i.putSortable,f=this.options;if(s){if(n&&t._hideClone(),Eo=!1,f.animation&&he.length>1&&(It||!n&&!t.options.sort&&!l)){var v=Le(Ne,!1,!0,!0);he.forEach(function(h){h!==Ne&&(Da(h,v),a.appendChild(h))}),It=!0}if(!n)if(It||ii(),he.length>1){var m=oi;t._showClone(d),t.options.animation&&!oi&&m&&Dt.forEach(function(h){t.addAnimationState({target:h,rect:xo}),h.fromRect=xo,h.thisAnimationDuration=null})}else t._showClone(d)}},dragOverAnimationCapture:function(i){var d=i.dragRect,n=i.isOwner,s=i.activeSortable;if(he.forEach(function(a){a.thisAnimationDuration=null}),s.options.animation&&!n&&s.multiDrag.isMultiDrag){xo=Ut({},d);var t=xn(Ne,!0);xo.top-=t.f,xo.left-=t.e}},dragOverAnimationComplete:function(){It&&(It=!1,ii())},drop:function(i){var d=i.originalEvent,n=i.rootEl,s=i.parentEl,t=i.sortable,a=i.dispatchSortableEvent,l=i.oldIndex,f=i.putSortable,v=f||this.sortable;if(d){var m=this.options,h=s.children;if(!Gn)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ge(Ne,m.selectedClass,!~he.indexOf(Ne)),~he.indexOf(Ne))he.splice(he.indexOf(Ne),1),So=null,Io({sortable:t,rootEl:n,name:"deselect",targetEl:Ne});else{if(he.push(Ne),Io({sortable:t,rootEl:n,name:"select",targetEl:Ne}),d.shiftKey&&So&&t.el.contains(So)){var b=Je(So),S=Je(Ne);if(~b&&~S&&b!==S){var x,I;for(S>b?(I=b,x=S):(I=S,x=b+1);I<x;I++)~he.indexOf(h[I])||(Ge(h[I],m.selectedClass,!0),he.push(h[I]),Io({sortable:t,rootEl:n,name:"select",targetEl:h[I]}))}}else So=Ne;Mt=v}if(Gn&&this.isMultiDrag){if(It=!1,(s[pt].options.sort||s!==n)&&he.length>1){var T=Le(Ne),D=Je(Ne,":not(."+this.options.selectedClass+")");if(!Eo&&m.animation&&(Ne.thisAnimationDuration=null),v.captureAnimationState(),!Eo&&(m.animation&&(Ne.fromRect=T,he.forEach(function(V){if(V.thisAnimationDuration=null,V!==Ne){var F=It?Le(V):T;V.fromRect=F,v.addAnimationState({target:V,rect:F})}})),ii(),he.forEach(function(V){h[D]?s.insertBefore(V,h[D]):s.appendChild(V),D++}),l===Je(Ne))){var B=!1;he.forEach(function(V){if(V.sortableIndex!==Je(V)){B=!0;return}}),B&&a("update")}he.forEach(function(V){Oi(V)}),v.animateAll()}Mt=v}(n===s||f&&f.lastPutMode!=="clone")&&Dt.forEach(function(V){V.parentNode&&V.parentNode.removeChild(V)})}},nullingGlobal:function(){this.isMultiDrag=Gn=!1,Dt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),be(document,"pointerup",this._deselectMultiDrag),be(document,"mouseup",this._deselectMultiDrag),be(document,"touchend",this._deselectMultiDrag),be(document,"keydown",this._checkKeyDown),be(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(i){if(!(typeof Gn<"u"&&Gn)&&Mt===this.sortable&&!(i&&Nt(i.target,this.options.draggable,this.sortable.el,!1))&&!(i&&i.button!==0))for(;he.length;){var d=he[0];Ge(d,this.options.selectedClass,!1),he.shift(),Io({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:d})}},_checkKeyDown:function(i){i.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(i){i.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Ut(u,{pluginName:"multiDrag",utils:{select:function(i){var d=i.parentNode[pt];!d||!d.options.multiDrag||~he.indexOf(i)||(Mt&&Mt!==d&&(Mt.multiDrag._deselectMultiDrag(),Mt=d),Ge(i,d.options.selectedClass,!0),he.push(i))},deselect:function(i){var d=i.parentNode[pt],n=he.indexOf(i);!d||!d.options.multiDrag||!~n||(Ge(i,d.options.selectedClass,!1),he.splice(n,1))}},eventProperties:function(){var i=this,d=[],n=[];return he.forEach(function(s){d.push({multiDragElement:s,index:s.sortableIndex});var t;It&&s!==Ne?t=-1:It?t=Je(s,":not(."+i.options.selectedClass+")"):t=Je(s),n.push({multiDragElement:s,index:t})}),{items:Ks(he),clones:[].concat(Dt),oldIndicies:d,newIndicies:n}},optionListeners:{multiDragKey:function(i){return i=i.toLowerCase(),i==="ctrl"?i="Control":i.length>1&&(i=i.charAt(0).toUpperCase()+i.substr(1)),i}}})}function fd(u,o){he.forEach(function(i,d){var n=o.children[i.sortableIndex+(u?Number(d):0)];n?o.insertBefore(i,n):o.appendChild(i)})}function ka(u,o){Dt.forEach(function(i,d){var n=o.children[i.sortableIndex+(u?Number(d):0)];n?o.insertBefore(i,n):o.appendChild(i)})}function ii(){he.forEach(function(u){u!==Ne&&u.parentNode&&u.parentNode.removeChild(u)})}fe.mount(new sd);fe.mount(zi,Gi);const vd=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:cd,Sortable:fe,Swap:dd,default:fe},Symbol.toStringTag,{value:"Module"})),pd=ls(vd);(function(u,o){(function(d,n){u.exports=n(ds,pd)})(typeof self<"u"?self:us,function(i,d){return function(n){var s={};function t(a){if(s[a])return s[a].exports;var l=s[a]={i:a,l:!1,exports:{}};return n[a].call(l.exports,l,l.exports,t),l.l=!0,l.exports}return t.m=n,t.c=s,t.d=function(a,l,f){t.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:f})},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,l){if(l&1&&(a=t(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var f=Object.create(null);if(t.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var v in a)t.d(f,v,(function(m){return a[m]}).bind(null,v));return f},t.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(l,"a",l),l},t.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},t.p="",t(t.s="fb15")}({"00ee":function(n,s,t){var a=t("b622"),l=a("toStringTag"),f={};f[l]="z",n.exports=String(f)==="[object z]"},"0366":function(n,s,t){var a=t("1c0b");n.exports=function(l,f,v){if(a(l),f===void 0)return l;switch(v){case 0:return function(){return l.call(f)};case 1:return function(m){return l.call(f,m)};case 2:return function(m,h){return l.call(f,m,h)};case 3:return function(m,h,b){return l.call(f,m,h,b)}}return function(){return l.apply(f,arguments)}}},"057f":function(n,s,t){var a=t("fc6a"),l=t("241c").f,f={}.toString,v=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(h){try{return l(h)}catch{return v.slice()}};n.exports.f=function(b){return v&&f.call(b)=="[object Window]"?m(b):l(a(b))}},"06cf":function(n,s,t){var a=t("83ab"),l=t("d1e7"),f=t("5c6c"),v=t("fc6a"),m=t("c04e"),h=t("5135"),b=t("0cfb"),S=Object.getOwnPropertyDescriptor;s.f=a?S:function(I,T){if(I=v(I),T=m(T,!0),b)try{return S(I,T)}catch{}if(h(I,T))return f(!l.f.call(I,T),I[T])}},"0cfb":function(n,s,t){var a=t("83ab"),l=t("d039"),f=t("cc12");n.exports=!a&&!l(function(){return Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(n,s,t){var a=t("23e7"),l=t("d58f").left,f=t("a640"),v=t("ae40"),m=f("reduce"),h=v("reduce",{1:0});a({target:"Array",proto:!0,forced:!m||!h},{reduce:function(S){return l(this,S,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(n,s,t){var a=t("c6b6"),l=t("9263");n.exports=function(f,v){var m=f.exec;if(typeof m=="function"){var h=m.call(f,v);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(a(f)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(f,v)}},"159b":function(n,s,t){var a=t("da84"),l=t("fdbc"),f=t("17c2"),v=t("9112");for(var m in l){var h=a[m],b=h&&h.prototype;if(b&&b.forEach!==f)try{v(b,"forEach",f)}catch{b.forEach=f}}},"17c2":function(n,s,t){var a=t("b727").forEach,l=t("a640"),f=t("ae40"),v=l("forEach"),m=f("forEach");n.exports=!v||!m?function(b){return a(this,b,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(n,s,t){var a=t("d066");n.exports=a("document","documentElement")},"1c0b":function(n,s){n.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(n,s,t){var a=t("b622"),l=a("iterator"),f=!1;try{var v=0,m={next:function(){return{done:!!v++}},return:function(){f=!0}};m[l]=function(){return this},Array.from(m,function(){throw 2})}catch{}n.exports=function(h,b){if(!b&&!f)return!1;var S=!1;try{var x={};x[l]=function(){return{next:function(){return{done:S=!0}}}},h(x)}catch{}return S}},"1d80":function(n,s){n.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}},"1dde":function(n,s,t){var a=t("d039"),l=t("b622"),f=t("2d00"),v=l("species");n.exports=function(m){return f>=51||!a(function(){var h=[],b=h.constructor={};return b[v]=function(){return{foo:1}},h[m](Boolean).foo!==1})}},"23cb":function(n,s,t){var a=t("a691"),l=Math.max,f=Math.min;n.exports=function(v,m){var h=a(v);return h<0?l(h+m,0):f(h,m)}},"23e7":function(n,s,t){var a=t("da84"),l=t("06cf").f,f=t("9112"),v=t("6eeb"),m=t("ce4e"),h=t("e893"),b=t("94ca");n.exports=function(S,x){var I=S.target,T=S.global,D=S.stat,B,V,F,M,q,te;if(T?V=a:D?V=a[I]||m(I,{}):V=(a[I]||{}).prototype,V)for(F in x){if(q=x[F],S.noTargetGet?(te=l(V,F),M=te&&te.value):M=V[F],B=b(T?F:I+(D?".":"#")+F,S.forced),!B&&M!==void 0){if(typeof q==typeof M)continue;h(q,M)}(S.sham||M&&M.sham)&&f(q,"sham",!0),v(V,F,q,S)}}},"241c":function(n,s,t){var a=t("ca84"),l=t("7839"),f=l.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(m){return a(m,f)}},"25f0":function(n,s,t){var a=t("6eeb"),l=t("825a"),f=t("d039"),v=t("ad6d"),m="toString",h=RegExp.prototype,b=h[m],S=f(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),x=b.name!=m;(S||x)&&a(RegExp.prototype,m,function(){var T=l(this),D=String(T.source),B=T.flags,V=String(B===void 0&&T instanceof RegExp&&!("flags"in h)?v.call(T):B);return"/"+D+"/"+V},{unsafe:!0})},"2ca0":function(n,s,t){var a=t("23e7"),l=t("06cf").f,f=t("50c4"),v=t("5a34"),m=t("1d80"),h=t("ab13"),b=t("c430"),S="".startsWith,x=Math.min,I=h("startsWith"),T=!b&&!I&&!!function(){var D=l(String.prototype,"startsWith");return D&&!D.writable}();a({target:"String",proto:!0,forced:!T&&!I},{startsWith:function(B){var V=String(m(this));v(B);var F=f(x(arguments.length>1?arguments[1]:void 0,V.length)),M=String(B);return S?S.call(V,M,F):V.slice(F,F+M.length)===M}})},"2d00":function(n,s,t){var a=t("da84"),l=t("342f"),f=a.process,v=f&&f.versions,m=v&&v.v8,h,b;m?(h=m.split("."),b=h[0]+h[1]):l&&(h=l.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=l.match(/Chrome\/(\d+)/),h&&(b=h[1]))),n.exports=b&&+b},"342f":function(n,s,t){var a=t("d066");n.exports=a("navigator","userAgent")||""},"35a1":function(n,s,t){var a=t("f5df"),l=t("3f8c"),f=t("b622"),v=f("iterator");n.exports=function(m){if(m!=null)return m[v]||m["@@iterator"]||l[a(m)]}},"37e8":function(n,s,t){var a=t("83ab"),l=t("9bf2"),f=t("825a"),v=t("df75");n.exports=a?Object.defineProperties:function(h,b){f(h);for(var S=v(b),x=S.length,I=0,T;x>I;)l.f(h,T=S[I++],b[T]);return h}},"3bbe":function(n,s,t){var a=t("861d");n.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(n,s,t){var a=t("6547").charAt,l=t("69f3"),f=t("7dd0"),v="String Iterator",m=l.set,h=l.getterFor(v);f(String,"String",function(b){m(this,{type:v,string:String(b),index:0})},function(){var S=h(this),x=S.string,I=S.index,T;return I>=x.length?{value:void 0,done:!0}:(T=a(x,I),S.index+=T.length,{value:T,done:!1})})},"3f8c":function(n,s){n.exports={}},4160:function(n,s,t){var a=t("23e7"),l=t("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(n,s,t){var a=t("da84");n.exports=a},"44ad":function(n,s,t){var a=t("d039"),l=t("c6b6"),f="".split;n.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(v){return l(v)=="String"?f.call(v,""):Object(v)}:Object},"44d2":function(n,s,t){var a=t("b622"),l=t("7c73"),f=t("9bf2"),v=a("unscopables"),m=Array.prototype;m[v]==null&&f.f(m,v,{configurable:!0,value:l(null)}),n.exports=function(h){m[v][h]=!0}},"44e7":function(n,s,t){var a=t("861d"),l=t("c6b6"),f=t("b622"),v=f("match");n.exports=function(m){var h;return a(m)&&((h=m[v])!==void 0?!!h:l(m)=="RegExp")}},4930:function(n,s,t){var a=t("d039");n.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(n,s,t){var a=t("fc6a"),l=t("50c4"),f=t("23cb"),v=function(m){return function(h,b,S){var x=a(h),I=l(x.length),T=f(S,I),D;if(m&&b!=b){for(;I>T;)if(D=x[T++],D!=D)return!0}else for(;I>T;T++)if((m||T in x)&&x[T]===b)return m||T||0;return!m&&-1}};n.exports={includes:v(!0),indexOf:v(!1)}},"4de4":function(n,s,t){var a=t("23e7"),l=t("b727").filter,f=t("1dde"),v=t("ae40"),m=f("filter"),h=v("filter");a({target:"Array",proto:!0,forced:!m||!h},{filter:function(S){return l(this,S,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(n,s,t){var a=t("0366"),l=t("7b0b"),f=t("9bdd"),v=t("e95a"),m=t("50c4"),h=t("8418"),b=t("35a1");n.exports=function(x){var I=l(x),T=typeof this=="function"?this:Array,D=arguments.length,B=D>1?arguments[1]:void 0,V=B!==void 0,F=b(I),M=0,q,te,N,X,Y,Z;if(V&&(B=a(B,D>2?arguments[2]:void 0,2)),F!=null&&!(T==Array&&v(F)))for(X=F.call(I),Y=X.next,te=new T;!(N=Y.call(X)).done;M++)Z=V?f(X,B,[N.value,M],!0):N.value,h(te,M,Z);else for(q=m(I.length),te=new T(q);q>M;M++)Z=V?B(I[M],M):I[M],h(te,M,Z);return te.length=M,te}},"4fad":function(n,s,t){var a=t("23e7"),l=t("6f53").entries;a({target:"Object",stat:!0},{entries:function(v){return l(v)}})},"50c4":function(n,s,t){var a=t("a691"),l=Math.min;n.exports=function(f){return f>0?l(a(f),9007199254740991):0}},5135:function(n,s){var t={}.hasOwnProperty;n.exports=function(a,l){return t.call(a,l)}},5319:function(n,s,t){var a=t("d784"),l=t("825a"),f=t("7b0b"),v=t("50c4"),m=t("a691"),h=t("1d80"),b=t("8aa5"),S=t("14c3"),x=Math.max,I=Math.min,T=Math.floor,D=/\$([$&'`]|\d\d?|<[^>]*>)/g,B=/\$([$&'`]|\d\d?)/g,V=function(F){return F===void 0?F:String(F)};a("replace",2,function(F,M,q,te){var N=te.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,X=te.REPLACE_KEEPS_$0,Y=N?"$":"$0";return[function($,ve){var Q=h(this),ne=$==null?void 0:$[F];return ne!==void 0?ne.call($,Q,ve):M.call(String(Q),$,ve)},function(z,$){if(!N&&X||typeof $=="string"&&$.indexOf(Y)===-1){var ve=q(M,z,this,$);if(ve.done)return ve.value}var Q=l(z),ne=String(this),Ie=typeof $=="function";Ie||($=String($));var Pe=Q.global;if(Pe){var Fe=Q.unicode;Q.lastIndex=0}for(var Re=[];;){var Ue=S(Q,ne);if(Ue===null||(Re.push(Ue),!Pe))break;var _=String(Ue[0]);_===""&&(Q.lastIndex=b(ne,v(Q.lastIndex),Fe))}for(var Xe="",ke=0,Ke=0;Ke<Re.length;Ke++){Ue=Re[Ke];for(var Be=String(Ue[0]),mt=x(I(m(Ue.index),ne.length),0),ot=[],it=1;it<Ue.length;it++)ot.push(V(Ue[it]));var Ct=Ue.groups;if(Ie){var St=[Be].concat(ot,mt,ne);Ct!==void 0&&St.push(Ct);var _e=String($.apply(void 0,St))}else _e=Z(Be,ne,mt,ot,Ct,$);mt>=ke&&(Xe+=ne.slice(ke,mt)+_e,ke=mt+Be.length)}return Xe+ne.slice(ke)}];function Z(z,$,ve,Q,ne,Ie){var Pe=ve+z.length,Fe=Q.length,Re=B;return ne!==void 0&&(ne=f(ne),Re=D),M.call(Ie,Re,function(Ue,_){var Xe;switch(_.charAt(0)){case"$":return"$";case"&":return z;case"`":return $.slice(0,ve);case"'":return $.slice(Pe);case"<":Xe=ne[_.slice(1,-1)];break;default:var ke=+_;if(ke===0)return Ue;if(ke>Fe){var Ke=T(ke/10);return Ke===0?Ue:Ke<=Fe?Q[Ke-1]===void 0?_.charAt(1):Q[Ke-1]+_.charAt(1):Ue}Xe=Q[ke-1]}return Xe===void 0?"":Xe})}})},5692:function(n,s,t){var a=t("c430"),l=t("c6cd");(n.exports=function(f,v){return l[f]||(l[f]=v!==void 0?v:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(n,s,t){var a=t("d066"),l=t("241c"),f=t("7418"),v=t("825a");n.exports=a("Reflect","ownKeys")||function(h){var b=l.f(v(h)),S=f.f;return S?b.concat(S(h)):b}},"5a34":function(n,s,t){var a=t("44e7");n.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(n,s){n.exports=function(t,a){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:a}}},"5db7":function(n,s,t){var a=t("23e7"),l=t("a2bf"),f=t("7b0b"),v=t("50c4"),m=t("1c0b"),h=t("65f0");a({target:"Array",proto:!0},{flatMap:function(S){var x=f(this),I=v(x.length),T;return m(S),T=h(x,0),T.length=l(T,x,x,I,0,1,S,arguments.length>1?arguments[1]:void 0),T}})},6547:function(n,s,t){var a=t("a691"),l=t("1d80"),f=function(v){return function(m,h){var b=String(l(m)),S=a(h),x=b.length,I,T;return S<0||S>=x?v?"":void 0:(I=b.charCodeAt(S),I<55296||I>56319||S+1===x||(T=b.charCodeAt(S+1))<56320||T>57343?v?b.charAt(S):I:v?b.slice(S,S+2):(I-55296<<10)+(T-56320)+65536)}};n.exports={codeAt:f(!1),charAt:f(!0)}},"65f0":function(n,s,t){var a=t("861d"),l=t("e8b5"),f=t("b622"),v=f("species");n.exports=function(m,h){var b;return l(m)&&(b=m.constructor,typeof b=="function"&&(b===Array||l(b.prototype))?b=void 0:a(b)&&(b=b[v],b===null&&(b=void 0))),new(b===void 0?Array:b)(h===0?0:h)}},"69f3":function(n,s,t){var a=t("7f9a"),l=t("da84"),f=t("861d"),v=t("9112"),m=t("5135"),h=t("f772"),b=t("d012"),S=l.WeakMap,x,I,T,D=function(N){return T(N)?I(N):x(N,{})},B=function(N){return function(X){var Y;if(!f(X)||(Y=I(X)).type!==N)throw TypeError("Incompatible receiver, "+N+" required");return Y}};if(a){var V=new S,F=V.get,M=V.has,q=V.set;x=function(N,X){return q.call(V,N,X),X},I=function(N){return F.call(V,N)||{}},T=function(N){return M.call(V,N)}}else{var te=h("state");b[te]=!0,x=function(N,X){return v(N,te,X),X},I=function(N){return m(N,te)?N[te]:{}},T=function(N){return m(N,te)}}n.exports={set:x,get:I,has:T,enforce:D,getterFor:B}},"6eeb":function(n,s,t){var a=t("da84"),l=t("9112"),f=t("5135"),v=t("ce4e"),m=t("8925"),h=t("69f3"),b=h.get,S=h.enforce,x=String(String).split("String");(n.exports=function(I,T,D,B){var V=B?!!B.unsafe:!1,F=B?!!B.enumerable:!1,M=B?!!B.noTargetGet:!1;if(typeof D=="function"&&(typeof T=="string"&&!f(D,"name")&&l(D,"name",T),S(D).source=x.join(typeof T=="string"?T:"")),I===a){F?I[T]=D:v(T,D);return}else V?!M&&I[T]&&(F=!0):delete I[T];F?I[T]=D:l(I,T,D)})(Function.prototype,"toString",function(){return typeof this=="function"&&b(this).source||m(this)})},"6f53":function(n,s,t){var a=t("83ab"),l=t("df75"),f=t("fc6a"),v=t("d1e7").f,m=function(h){return function(b){for(var S=f(b),x=l(S),I=x.length,T=0,D=[],B;I>T;)B=x[T++],(!a||v.call(S,B))&&D.push(h?[B,S[B]]:S[B]);return D}};n.exports={entries:m(!0),values:m(!1)}},"73d9":function(n,s,t){var a=t("44d2");a("flatMap")},7418:function(n,s){s.f=Object.getOwnPropertySymbols},"746f":function(n,s,t){var a=t("428f"),l=t("5135"),f=t("e538"),v=t("9bf2").f;n.exports=function(m){var h=a.Symbol||(a.Symbol={});l(h,m)||v(h,m,{value:f.f(m)})}},7839:function(n,s){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(n,s,t){var a=t("1d80");n.exports=function(l){return Object(a(l))}},"7c73":function(n,s,t){var a=t("825a"),l=t("37e8"),f=t("7839"),v=t("d012"),m=t("1be4"),h=t("cc12"),b=t("f772"),S=">",x="<",I="prototype",T="script",D=b("IE_PROTO"),B=function(){},V=function(N){return x+T+S+N+x+"/"+T+S},F=function(N){N.write(V("")),N.close();var X=N.parentWindow.Object;return N=null,X},M=function(){var N=h("iframe"),X="java"+T+":",Y;return N.style.display="none",m.appendChild(N),N.src=String(X),Y=N.contentWindow.document,Y.open(),Y.write(V("document.F=Object")),Y.close(),Y.F},q,te=function(){try{q=document.domain&&new ActiveXObject("htmlfile")}catch{}te=q?F(q):M();for(var N=f.length;N--;)delete te[I][f[N]];return te()};v[D]=!0,n.exports=Object.create||function(X,Y){var Z;return X!==null?(B[I]=a(X),Z=new B,B[I]=null,Z[D]=X):Z=te(),Y===void 0?Z:l(Z,Y)}},"7dd0":function(n,s,t){var a=t("23e7"),l=t("9ed3"),f=t("e163"),v=t("d2bb"),m=t("d44e"),h=t("9112"),b=t("6eeb"),S=t("b622"),x=t("c430"),I=t("3f8c"),T=t("ae93"),D=T.IteratorPrototype,B=T.BUGGY_SAFARI_ITERATORS,V=S("iterator"),F="keys",M="values",q="entries",te=function(){return this};n.exports=function(N,X,Y,Z,z,$,ve){l(Y,X,Z);var Q=function(Ke){if(Ke===z&&Re)return Re;if(!B&&Ke in Pe)return Pe[Ke];switch(Ke){case F:return function(){return new Y(this,Ke)};case M:return function(){return new Y(this,Ke)};case q:return function(){return new Y(this,Ke)}}return function(){return new Y(this)}},ne=X+" Iterator",Ie=!1,Pe=N.prototype,Fe=Pe[V]||Pe["@@iterator"]||z&&Pe[z],Re=!B&&Fe||Q(z),Ue=X=="Array"&&Pe.entries||Fe,_,Xe,ke;if(Ue&&(_=f(Ue.call(new N)),D!==Object.prototype&&_.next&&(!x&&f(_)!==D&&(v?v(_,D):typeof _[V]!="function"&&h(_,V,te)),m(_,ne,!0,!0),x&&(I[ne]=te))),z==M&&Fe&&Fe.name!==M&&(Ie=!0,Re=function(){return Fe.call(this)}),(!x||ve)&&Pe[V]!==Re&&h(Pe,V,Re),I[X]=Re,z)if(Xe={values:Q(M),keys:$?Re:Q(F),entries:Q(q)},ve)for(ke in Xe)(B||Ie||!(ke in Pe))&&b(Pe,ke,Xe[ke]);else a({target:X,proto:!0,forced:B||Ie},Xe);return Xe}},"7f9a":function(n,s,t){var a=t("da84"),l=t("8925"),f=a.WeakMap;n.exports=typeof f=="function"&&/native code/.test(l(f))},"825a":function(n,s,t){var a=t("861d");n.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(n,s,t){var a=t("d039");n.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(n,s,t){var a=t("c04e"),l=t("9bf2"),f=t("5c6c");n.exports=function(v,m,h){var b=a(m);b in v?l.f(v,b,f(0,h)):v[b]=h}},"861d":function(n,s){n.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},8875:function(n,s,t){var a,l,f;(function(v,m){l=[],a=m,f=typeof a=="function"?a.apply(s,l):a,f!==void 0&&(n.exports=f)})(typeof self<"u"?self:this,function(){function v(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==v&&document.currentScript)return document.currentScript;try{throw new Error}catch(q){var h=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,b=/@([^@]*):(\d+):(\d+)\s*$/ig,S=h.exec(q.stack)||b.exec(q.stack),x=S&&S[1]||!1,I=S&&S[2]||!1,T=document.location.href.replace(document.location.hash,""),D,B,V,F=document.getElementsByTagName("script");x===T&&(D=document.documentElement.outerHTML,B=new RegExp("(?:[^\\n]+?\\n){0,"+(I-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),V=D.replace(B,"$1").trim());for(var M=0;M<F.length;M++)if(F[M].readyState==="interactive"||F[M].src===x||x===T&&F[M].innerHTML&&F[M].innerHTML.trim()===V)return F[M];return null}}return v})},8925:function(n,s,t){var a=t("c6cd"),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(f){return l.call(f)}),n.exports=a.inspectSource},"8aa5":function(n,s,t){var a=t("6547").charAt;n.exports=function(l,f,v){return f+(v?a(l,f).length:1)}},"8bbf":function(n,s){n.exports=i},"90e3":function(n,s){var t=0,a=Math.random();n.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++t+a).toString(36)}},9112:function(n,s,t){var a=t("83ab"),l=t("9bf2"),f=t("5c6c");n.exports=a?function(v,m,h){return l.f(v,m,f(1,h))}:function(v,m,h){return v[m]=h,v}},9263:function(n,s,t){var a=t("ad6d"),l=t("9f7f"),f=RegExp.prototype.exec,v=String.prototype.replace,m=f,h=function(){var I=/a/,T=/b*/g;return f.call(I,"a"),f.call(T,"a"),I.lastIndex!==0||T.lastIndex!==0}(),b=l.UNSUPPORTED_Y||l.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,x=h||S||b;x&&(m=function(T){var D=this,B,V,F,M,q=b&&D.sticky,te=a.call(D),N=D.source,X=0,Y=T;return q&&(te=te.replace("y",""),te.indexOf("g")===-1&&(te+="g"),Y=String(T).slice(D.lastIndex),D.lastIndex>0&&(!D.multiline||D.multiline&&T[D.lastIndex-1]!==`
- `)&&(N="(?: "+N+")",Y=" "+Y,X++),V=new RegExp("^(?:"+N+")",te)),S&&(V=new RegExp("^"+N+"$(?!\\s)",te)),h&&(B=D.lastIndex),F=f.call(q?V:D,Y),q?F?(F.input=F.input.slice(X),F[0]=F[0].slice(X),F.index=D.lastIndex,D.lastIndex+=F[0].length):D.lastIndex=0:h&&F&&(D.lastIndex=D.global?F.index+F[0].length:B),S&&F&&F.length>1&&v.call(F[0],V,function(){for(M=1;M<arguments.length-2;M++)arguments[M]===void 0&&(F[M]=void 0)}),F}),n.exports=m},"94ca":function(n,s,t){var a=t("d039"),l=/#|\.prototype\./,f=function(S,x){var I=m[v(S)];return I==b?!0:I==h?!1:typeof x=="function"?a(x):!!x},v=f.normalize=function(S){return String(S).replace(l,".").toLowerCase()},m=f.data={},h=f.NATIVE="N",b=f.POLYFILL="P";n.exports=f},"99af":function(n,s,t){var a=t("23e7"),l=t("d039"),f=t("e8b5"),v=t("861d"),m=t("7b0b"),h=t("50c4"),b=t("8418"),S=t("65f0"),x=t("1dde"),I=t("b622"),T=t("2d00"),D=I("isConcatSpreadable"),B=9007199254740991,V="Maximum allowed index exceeded",F=T>=51||!l(function(){var N=[];return N[D]=!1,N.concat()[0]!==N}),M=x("concat"),q=function(N){if(!v(N))return!1;var X=N[D];return X!==void 0?!!X:f(N)},te=!F||!M;a({target:"Array",proto:!0,forced:te},{concat:function(X){var Y=m(this),Z=S(Y,0),z=0,$,ve,Q,ne,Ie;for($=-1,Q=arguments.length;$<Q;$++)if(Ie=$===-1?Y:arguments[$],q(Ie)){if(ne=h(Ie.length),z+ne>B)throw TypeError(V);for(ve=0;ve<ne;ve++,z++)ve in Ie&&b(Z,z,Ie[ve])}else{if(z>=B)throw TypeError(V);b(Z,z++,Ie)}return Z.length=z,Z}})},"9bdd":function(n,s,t){var a=t("825a");n.exports=function(l,f,v,m){try{return m?f(a(v)[0],v[1]):f(v)}catch(b){var h=l.return;throw h!==void 0&&a(h.call(l)),b}}},"9bf2":function(n,s,t){var a=t("83ab"),l=t("0cfb"),f=t("825a"),v=t("c04e"),m=Object.defineProperty;s.f=a?m:function(b,S,x){if(f(b),S=v(S,!0),f(x),l)try{return m(b,S,x)}catch{}if("get"in x||"set"in x)throw TypeError("Accessors not supported");return"value"in x&&(b[S]=x.value),b}},"9ed3":function(n,s,t){var a=t("ae93").IteratorPrototype,l=t("7c73"),f=t("5c6c"),v=t("d44e"),m=t("3f8c"),h=function(){return this};n.exports=function(b,S,x){var I=S+" Iterator";return b.prototype=l(a,{next:f(1,x)}),v(b,I,!1,!0),m[I]=h,b}},"9f7f":function(n,s,t){var a=t("d039");function l(f,v){return RegExp(f,v)}s.UNSUPPORTED_Y=a(function(){var f=l("a","y");return f.lastIndex=2,f.exec("abcd")!=null}),s.BROKEN_CARET=a(function(){var f=l("^r","gy");return f.lastIndex=2,f.exec("str")!=null})},a2bf:function(n,s,t){var a=t("e8b5"),l=t("50c4"),f=t("0366"),v=function(m,h,b,S,x,I,T,D){for(var B=x,V=0,F=T?f(T,D,3):!1,M;V<S;){if(V in b){if(M=F?F(b[V],V,h):b[V],I>0&&a(M))B=v(m,h,M,l(M.length),B,I-1)-1;else{if(B>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[B]=M}B++}V++}return B};n.exports=v},a352:function(n,s){n.exports=d},a434:function(n,s,t){var a=t("23e7"),l=t("23cb"),f=t("a691"),v=t("50c4"),m=t("7b0b"),h=t("65f0"),b=t("8418"),S=t("1dde"),x=t("ae40"),I=S("splice"),T=x("splice",{ACCESSORS:!0,0:0,1:2}),D=Math.max,B=Math.min,V=9007199254740991,F="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!I||!T},{splice:function(q,te){var N=m(this),X=v(N.length),Y=l(q,X),Z=arguments.length,z,$,ve,Q,ne,Ie;if(Z===0?z=$=0:Z===1?(z=0,$=X-Y):(z=Z-2,$=B(D(f(te),0),X-Y)),X+z-$>V)throw TypeError(F);for(ve=h(N,$),Q=0;Q<$;Q++)ne=Y+Q,ne in N&&b(ve,Q,N[ne]);if(ve.length=$,z<$){for(Q=Y;Q<X-$;Q++)ne=Q+$,Ie=Q+z,ne in N?N[Ie]=N[ne]:delete N[Ie];for(Q=X;Q>X-$+z;Q--)delete N[Q-1]}else if(z>$)for(Q=X-$;Q>Y;Q--)ne=Q+$-1,Ie=Q+z-1,ne in N?N[Ie]=N[ne]:delete N[Ie];for(Q=0;Q<z;Q++)N[Q+Y]=arguments[Q+2];return N.length=X-$+z,ve}})},a4d3:function(n,s,t){var a=t("23e7"),l=t("da84"),f=t("d066"),v=t("c430"),m=t("83ab"),h=t("4930"),b=t("fdbf"),S=t("d039"),x=t("5135"),I=t("e8b5"),T=t("861d"),D=t("825a"),B=t("7b0b"),V=t("fc6a"),F=t("c04e"),M=t("5c6c"),q=t("7c73"),te=t("df75"),N=t("241c"),X=t("057f"),Y=t("7418"),Z=t("06cf"),z=t("9bf2"),$=t("d1e7"),ve=t("9112"),Q=t("6eeb"),ne=t("5692"),Ie=t("f772"),Pe=t("d012"),Fe=t("90e3"),Re=t("b622"),Ue=t("e538"),_=t("746f"),Xe=t("d44e"),ke=t("69f3"),Ke=t("b727").forEach,Be=Ie("hidden"),mt="Symbol",ot="prototype",it=Re("toPrimitive"),Ct=ke.set,St=ke.getterFor(mt),_e=Object[ot],qe=l.Symbol,Bt=f("JSON","stringify"),tt=Z.f,We=z.f,In=X.f,Wn=$.f,wt=ne("symbols"),Ft=ne("op-symbols"),en=ne("string-to-symbol-registry"),un=ne("symbol-to-string-registry"),cn=ne("wks"),fn=l.QObject,vn=!fn||!fn[ot]||!fn[ot].findChild,pn=m&&S(function(){return q(We({},"a",{get:function(){return We(this,"a",{value:7}).a}})).a!=7})?function(pe,oe,de){var Se=tt(_e,oe);Se&&delete _e[oe],We(pe,oe,de),Se&&pe!==_e&&We(_e,oe,Se)}:We,mn=function(pe,oe){var de=wt[pe]=q(qe[ot]);return Ct(de,{type:mt,tag:pe,description:oe}),m||(de.description=oe),de},A=b?function(pe){return typeof pe=="symbol"}:function(pe){return Object(pe)instanceof qe},w=function(oe,de,Se){oe===_e&&w(Ft,de,Se),D(oe);var Ee=F(de,!0);return D(Se),x(wt,Ee)?(Se.enumerable?(x(oe,Be)&&oe[Be][Ee]&&(oe[Be][Ee]=!1),Se=q(Se,{enumerable:M(0,!1)})):(x(oe,Be)||We(oe,Be,M(1,{})),oe[Be][Ee]=!0),pn(oe,Ee,Se)):We(oe,Ee,Se)},R=function(oe,de){D(oe);var Se=V(de),Ee=te(Se).concat(Ce(Se));return Ke(Ee,function(ge){(!m||ee.call(Se,ge))&&w(oe,ge,Se[ge])}),oe},G=function(oe,de){return de===void 0?q(oe):R(q(oe),de)},ee=function(oe){var de=F(oe,!0),Se=Wn.call(this,de);return this===_e&&x(wt,de)&&!x(Ft,de)?!1:Se||!x(this,de)||!x(wt,de)||x(this,Be)&&this[Be][de]?Se:!0},ue=function(oe,de){var Se=V(oe),Ee=F(de,!0);if(!(Se===_e&&x(wt,Ee)&&!x(Ft,Ee))){var ge=tt(Se,Ee);return ge&&x(wt,Ee)&&!(x(Se,Be)&&Se[Be][Ee])&&(ge.enumerable=!0),ge}},me=function(oe){var de=In(V(oe)),Se=[];return Ke(de,function(Ee){!x(wt,Ee)&&!x(Pe,Ee)&&Se.push(Ee)}),Se},Ce=function(oe){var de=oe===_e,Se=In(de?Ft:V(oe)),Ee=[];return Ke(Se,function(ge){x(wt,ge)&&(!de||x(_e,ge))&&Ee.push(wt[ge])}),Ee};if(h||(qe=function(){if(this instanceof qe)throw TypeError("Symbol is not a constructor");var oe=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),de=Fe(oe),Se=function(Ee){this===_e&&Se.call(Ft,Ee),x(this,Be)&&x(this[Be],de)&&(this[Be][de]=!1),pn(this,de,M(1,Ee))};return m&&vn&&pn(_e,de,{configurable:!0,set:Se}),mn(de,oe)},Q(qe[ot],"toString",function(){return St(this).tag}),Q(qe,"withoutSetter",function(pe){return mn(Fe(pe),pe)}),$.f=ee,z.f=w,Z.f=ue,N.f=X.f=me,Y.f=Ce,Ue.f=function(pe){return mn(Re(pe),pe)},m&&(We(qe[ot],"description",{configurable:!0,get:function(){return St(this).description}}),v||Q(_e,"propertyIsEnumerable",ee,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:qe}),Ke(te(cn),function(pe){_(pe)}),a({target:mt,stat:!0,forced:!h},{for:function(pe){var oe=String(pe);if(x(en,oe))return en[oe];var de=qe(oe);return en[oe]=de,un[de]=oe,de},keyFor:function(oe){if(!A(oe))throw TypeError(oe+" is not a symbol");if(x(un,oe))return un[oe]},useSetter:function(){vn=!0},useSimple:function(){vn=!1}}),a({target:"Object",stat:!0,forced:!h,sham:!m},{create:G,defineProperty:w,defineProperties:R,getOwnPropertyDescriptor:ue}),a({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:me,getOwnPropertySymbols:Ce}),a({target:"Object",stat:!0,forced:S(function(){Y.f(1)})},{getOwnPropertySymbols:function(oe){return Y.f(B(oe))}}),Bt){var Qe=!h||S(function(){var pe=qe();return Bt([pe])!="[null]"||Bt({a:pe})!="{}"||Bt(Object(pe))!="{}"});a({target:"JSON",stat:!0,forced:Qe},{stringify:function(oe,de,Se){for(var Ee=[oe],ge=1,Hn;arguments.length>ge;)Ee.push(arguments[ge++]);if(Hn=de,!(!T(de)&&oe===void 0||A(oe)))return I(de)||(de=function(gi,Cn){if(typeof Hn=="function"&&(Cn=Hn.call(this,gi,Cn)),!A(Cn))return Cn}),Ee[1]=de,Bt.apply(null,Ee)}})}qe[ot][it]||ve(qe[ot],it,qe[ot].valueOf),Xe(qe,mt),Pe[Be]=!0},a630:function(n,s,t){var a=t("23e7"),l=t("4df4"),f=t("1c7e"),v=!f(function(m){Array.from(m)});a({target:"Array",stat:!0,forced:v},{from:l})},a640:function(n,s,t){var a=t("d039");n.exports=function(l,f){var v=[][l];return!!v&&a(function(){v.call(null,f||function(){throw 1},1)})}},a691:function(n,s){var t=Math.ceil,a=Math.floor;n.exports=function(l){return isNaN(l=+l)?0:(l>0?a:t)(l)}},ab13:function(n,s,t){var a=t("b622"),l=a("match");n.exports=function(f){var v=/./;try{"/./"[f](v)}catch{try{return v[l]=!1,"/./"[f](v)}catch{}}return!1}},ac1f:function(n,s,t){var a=t("23e7"),l=t("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(n,s,t){var a=t("825a");n.exports=function(){var l=a(this),f="";return l.global&&(f+="g"),l.ignoreCase&&(f+="i"),l.multiline&&(f+="m"),l.dotAll&&(f+="s"),l.unicode&&(f+="u"),l.sticky&&(f+="y"),f}},ae40:function(n,s,t){var a=t("83ab"),l=t("d039"),f=t("5135"),v=Object.defineProperty,m={},h=function(b){throw b};n.exports=function(b,S){if(f(m,b))return m[b];S||(S={});var x=[][b],I=f(S,"ACCESSORS")?S.ACCESSORS:!1,T=f(S,0)?S[0]:h,D=f(S,1)?S[1]:void 0;return m[b]=!!x&&!l(function(){if(I&&!a)return!0;var B={length:-1};I?v(B,1,{enumerable:!0,get:h}):B[1]=1,x.call(B,T,D)})}},ae93:function(n,s,t){var a=t("e163"),l=t("9112"),f=t("5135"),v=t("b622"),m=t("c430"),h=v("iterator"),b=!1,S=function(){return this},x,I,T;[].keys&&(T=[].keys(),"next"in T?(I=a(a(T)),I!==Object.prototype&&(x=I)):b=!0),x==null&&(x={}),!m&&!f(x,h)&&l(x,h,S),n.exports={IteratorPrototype:x,BUGGY_SAFARI_ITERATORS:b}},b041:function(n,s,t){var a=t("00ee"),l=t("f5df");n.exports=a?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(n,s,t){var a=t("83ab"),l=t("9bf2").f,f=Function.prototype,v=f.toString,m=/^\s*function ([^ (]*)/,h="name";a&&!(h in f)&&l(f,h,{configurable:!0,get:function(){try{return v.call(this).match(m)[1]}catch{return""}}})},b622:function(n,s,t){var a=t("da84"),l=t("5692"),f=t("5135"),v=t("90e3"),m=t("4930"),h=t("fdbf"),b=l("wks"),S=a.Symbol,x=h?S:S&&S.withoutSetter||v;n.exports=function(I){return f(b,I)||(m&&f(S,I)?b[I]=S[I]:b[I]=x("Symbol."+I)),b[I]}},b64b:function(n,s,t){var a=t("23e7"),l=t("7b0b"),f=t("df75"),v=t("d039"),m=v(function(){f(1)});a({target:"Object",stat:!0,forced:m},{keys:function(b){return f(l(b))}})},b727:function(n,s,t){var a=t("0366"),l=t("44ad"),f=t("7b0b"),v=t("50c4"),m=t("65f0"),h=[].push,b=function(S){var x=S==1,I=S==2,T=S==3,D=S==4,B=S==6,V=S==5||B;return function(F,M,q,te){for(var N=f(F),X=l(N),Y=a(M,q,3),Z=v(X.length),z=0,$=te||m,ve=x?$(F,Z):I?$(F,0):void 0,Q,ne;Z>z;z++)if((V||z in X)&&(Q=X[z],ne=Y(Q,z,N),S)){if(x)ve[z]=ne;else if(ne)switch(S){case 3:return!0;case 5:return Q;case 6:return z;case 2:h.call(ve,Q)}else if(D)return!1}return B?-1:T||D?D:ve}};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,s,t){var a=t("861d");n.exports=function(l,f){if(!a(l))return l;var v,m;if(f&&typeof(v=l.toString)=="function"&&!a(m=v.call(l))||typeof(v=l.valueOf)=="function"&&!a(m=v.call(l))||!f&&typeof(v=l.toString)=="function"&&!a(m=v.call(l)))return m;throw TypeError("Can't convert object to primitive value")}},c430:function(n,s){n.exports=!1},c6b6:function(n,s){var t={}.toString;n.exports=function(a){return t.call(a).slice(8,-1)}},c6cd:function(n,s,t){var a=t("da84"),l=t("ce4e"),f="__core-js_shared__",v=a[f]||l(f,{});n.exports=v},c740:function(n,s,t){var a=t("23e7"),l=t("b727").findIndex,f=t("44d2"),v=t("ae40"),m="findIndex",h=!0,b=v(m);m in[]&&Array(1)[m](function(){h=!1}),a({target:"Array",proto:!0,forced:h||!b},{findIndex:function(x){return l(this,x,arguments.length>1?arguments[1]:void 0)}}),f(m)},c8ba:function(n,s){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,s,t){var a=t("23e7"),l=t("4d64").indexOf,f=t("a640"),v=t("ae40"),m=[].indexOf,h=!!m&&1/[1].indexOf(1,-0)<0,b=f("indexOf"),S=v("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:h||!b||!S},{indexOf:function(I){return h?m.apply(this,arguments)||0:l(this,I,arguments.length>1?arguments[1]:void 0)}})},ca84:function(n,s,t){var a=t("5135"),l=t("fc6a"),f=t("4d64").indexOf,v=t("d012");n.exports=function(m,h){var b=l(m),S=0,x=[],I;for(I in b)!a(v,I)&&a(b,I)&&x.push(I);for(;h.length>S;)a(b,I=h[S++])&&(~f(x,I)||x.push(I));return x}},caad:function(n,s,t){var a=t("23e7"),l=t("4d64").includes,f=t("44d2"),v=t("ae40"),m=v("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!m},{includes:function(b){return l(this,b,arguments.length>1?arguments[1]:void 0)}}),f("includes")},cc12:function(n,s,t){var a=t("da84"),l=t("861d"),f=a.document,v=l(f)&&l(f.createElement);n.exports=function(m){return v?f.createElement(m):{}}},ce4e:function(n,s,t){var a=t("da84"),l=t("9112");n.exports=function(f,v){try{l(a,f,v)}catch{a[f]=v}return v}},d012:function(n,s){n.exports={}},d039:function(n,s){n.exports=function(t){try{return!!t()}catch{return!0}}},d066:function(n,s,t){var a=t("428f"),l=t("da84"),f=function(v){return typeof v=="function"?v:void 0};n.exports=function(v,m){return arguments.length<2?f(a[v])||f(l[v]):a[v]&&a[v][m]||l[v]&&l[v][m]}},d1e7:function(n,s,t){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,f=l&&!a.call({1:2},1);s.f=f?function(m){var h=l(this,m);return!!h&&h.enumerable}:a},d28b:function(n,s,t){var a=t("746f");a("iterator")},d2bb:function(n,s,t){var a=t("825a"),l=t("3bbe");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f=!1,v={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(v,[]),f=v instanceof Array}catch{}return function(b,S){return a(b),l(S),f?m.call(b,S):b.__proto__=S,b}}():void 0)},d3b7:function(n,s,t){var a=t("00ee"),l=t("6eeb"),f=t("b041");a||l(Object.prototype,"toString",f,{unsafe:!0})},d44e:function(n,s,t){var a=t("9bf2").f,l=t("5135"),f=t("b622"),v=f("toStringTag");n.exports=function(m,h,b){m&&!l(m=b?m:m.prototype,v)&&a(m,v,{configurable:!0,value:h})}},d58f:function(n,s,t){var a=t("1c0b"),l=t("7b0b"),f=t("44ad"),v=t("50c4"),m=function(h){return function(b,S,x,I){a(S);var T=l(b),D=f(T),B=v(T.length),V=h?B-1:0,F=h?-1:1;if(x<2)for(;;){if(V in D){I=D[V],V+=F;break}if(V+=F,h?V<0:B<=V)throw TypeError("Reduce of empty array with no initial value")}for(;h?V>=0:B>V;V+=F)V in D&&(I=S(I,D[V],V,T));return I}};n.exports={left:m(!1),right:m(!0)}},d784:function(n,s,t){t("ac1f");var a=t("6eeb"),l=t("d039"),f=t("b622"),v=t("9263"),m=t("9112"),h=f("species"),b=!l(function(){var D=/./;return D.exec=function(){var B=[];return B.groups={a:"7"},B},"".replace(D,"$<a>")!=="7"}),S=function(){return"a".replace(/./,"$0")==="$0"}(),x=f("replace"),I=function(){return/./[x]?/./[x]("a","$0")==="":!1}(),T=!l(function(){var D=/(?:)/,B=D.exec;D.exec=function(){return B.apply(this,arguments)};var V="ab".split(D);return V.length!==2||V[0]!=="a"||V[1]!=="b"});n.exports=function(D,B,V,F){var M=f(D),q=!l(function(){var z={};return z[M]=function(){return 7},""[D](z)!=7}),te=q&&!l(function(){var z=!1,$=/a/;return D==="split"&&($={},$.constructor={},$.constructor[h]=function(){return $},$.flags="",$[M]=/./[M]),$.exec=function(){return z=!0,null},$[M](""),!z});if(!q||!te||D==="replace"&&!(b&&S&&!I)||D==="split"&&!T){var N=/./[M],X=V(M,""[D],function(z,$,ve,Q,ne){return $.exec===v?q&&!ne?{done:!0,value:N.call($,ve,Q)}:{done:!0,value:z.call(ve,$,Q)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:I}),Y=X[0],Z=X[1];a(String.prototype,D,Y),a(RegExp.prototype,M,B==2?function(z,$){return Z.call(z,this,$)}:function(z){return Z.call(z,this)})}F&&m(RegExp.prototype[M],"sham",!0)}},d81d:function(n,s,t){var a=t("23e7"),l=t("b727").map,f=t("1dde"),v=t("ae40"),m=f("map"),h=v("map");a({target:"Array",proto:!0,forced:!m||!h},{map:function(S){return l(this,S,arguments.length>1?arguments[1]:void 0)}})},da84:function(n,s,t){(function(a){var l=function(f){return f&&f.Math==Math&&f};n.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof a=="object"&&a)||Function("return this")()}).call(this,t("c8ba"))},dbb4:function(n,s,t){var a=t("23e7"),l=t("83ab"),f=t("56ef"),v=t("fc6a"),m=t("06cf"),h=t("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(S){for(var x=v(S),I=m.f,T=f(x),D={},B=0,V,F;T.length>B;)F=I(x,V=T[B++]),F!==void 0&&h(D,V,F);return D}})},dbf1:function(n,s,t){(function(a){t.d(s,"a",function(){return f});function l(){return typeof window<"u"?window.console:a.console}var f=l()}).call(this,t("c8ba"))},ddb0:function(n,s,t){var a=t("da84"),l=t("fdbc"),f=t("e260"),v=t("9112"),m=t("b622"),h=m("iterator"),b=m("toStringTag"),S=f.values;for(var x in l){var I=a[x],T=I&&I.prototype;if(T){if(T[h]!==S)try{v(T,h,S)}catch{T[h]=S}if(T[b]||v(T,b,x),l[x]){for(var D in f)if(T[D]!==f[D])try{v(T,D,f[D])}catch{T[D]=f[D]}}}}},df75:function(n,s,t){var a=t("ca84"),l=t("7839");n.exports=Object.keys||function(v){return a(v,l)}},e01a:function(n,s,t){var a=t("23e7"),l=t("83ab"),f=t("da84"),v=t("5135"),m=t("861d"),h=t("9bf2").f,b=t("e893"),S=f.Symbol;if(l&&typeof S=="function"&&(!("description"in S.prototype)||S().description!==void 0)){var x={},I=function(){var M=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),q=this instanceof I?new S(M):M===void 0?S():S(M);return M===""&&(x[q]=!0),q};b(I,S);var T=I.prototype=S.prototype;T.constructor=I;var D=T.toString,B=String(S("test"))=="Symbol(test)",V=/^Symbol\((.*)\)[^)]+$/;h(T,"description",{configurable:!0,get:function(){var M=m(this)?this.valueOf():this,q=D.call(M);if(v(x,M))return"";var te=B?q.slice(7,-1):q.replace(V,"$1");return te===""?void 0:te}}),a({global:!0,forced:!0},{Symbol:I})}},e163:function(n,s,t){var a=t("5135"),l=t("7b0b"),f=t("f772"),v=t("e177"),m=f("IE_PROTO"),h=Object.prototype;n.exports=v?Object.getPrototypeOf:function(b){return b=l(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,s,t){var a=t("d039");n.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(n,s,t){var a=t("fc6a"),l=t("44d2"),f=t("3f8c"),v=t("69f3"),m=t("7dd0"),h="Array Iterator",b=v.set,S=v.getterFor(h);n.exports=m(Array,"Array",function(x,I){b(this,{type:h,target:a(x),index:0,kind:I})},function(){var x=S(this),I=x.target,T=x.kind,D=x.index++;return!I||D>=I.length?(x.target=void 0,{value:void 0,done:!0}):T=="keys"?{value:D,done:!1}:T=="values"?{value:I[D],done:!1}:{value:[D,I[D]],done:!1}},"values"),f.Arguments=f.Array,l("keys"),l("values"),l("entries")},e439:function(n,s,t){var a=t("23e7"),l=t("d039"),f=t("fc6a"),v=t("06cf").f,m=t("83ab"),h=l(function(){v(1)}),b=!m||h;a({target:"Object",stat:!0,forced:b,sham:!m},{getOwnPropertyDescriptor:function(x,I){return v(f(x),I)}})},e538:function(n,s,t){var a=t("b622");s.f=a},e893:function(n,s,t){var a=t("5135"),l=t("56ef"),f=t("06cf"),v=t("9bf2");n.exports=function(m,h){for(var b=l(h),S=v.f,x=f.f,I=0;I<b.length;I++){var T=b[I];a(m,T)||S(m,T,x(h,T))}}},e8b5:function(n,s,t){var a=t("c6b6");n.exports=Array.isArray||function(f){return a(f)=="Array"}},e95a:function(n,s,t){var a=t("b622"),l=t("3f8c"),f=a("iterator"),v=Array.prototype;n.exports=function(m){return m!==void 0&&(l.Array===m||v[f]===m)}},f5df:function(n,s,t){var a=t("00ee"),l=t("c6b6"),f=t("b622"),v=f("toStringTag"),m=l(function(){return arguments}())=="Arguments",h=function(b,S){try{return b[S]}catch{}};n.exports=a?l:function(b){var S,x,I;return b===void 0?"Undefined":b===null?"Null":typeof(x=h(S=Object(b),v))=="string"?x:m?l(S):(I=l(S))=="Object"&&typeof S.callee=="function"?"Arguments":I}},f772:function(n,s,t){var a=t("5692"),l=t("90e3"),f=a("keys");n.exports=function(v){return f[v]||(f[v]=l(v))}},fb15:function(n,s,t){if(t.r(s),typeof window<"u"){var a=window.document.currentScript;{var l=t("8875");a=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var f=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);f&&(t.p=f[1])}t("99af"),t("4de4"),t("4160"),t("c975"),t("d81d"),t("a434"),t("159b"),t("a4d3"),t("e439"),t("dbb4"),t("b64b");function v(A,w,R){return w in A?Object.defineProperty(A,w,{value:R,enumerable:!0,configurable:!0,writable:!0}):A[w]=R,A}function m(A,w){var R=Object.keys(A);if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(A);w&&(G=G.filter(function(ee){return Object.getOwnPropertyDescriptor(A,ee).enumerable})),R.push.apply(R,G)}return R}function h(A){for(var w=1;w<arguments.length;w++){var R=arguments[w]!=null?arguments[w]:{};w%2?m(Object(R),!0).forEach(function(G){v(A,G,R[G])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(R)):m(Object(R)).forEach(function(G){Object.defineProperty(A,G,Object.getOwnPropertyDescriptor(R,G))})}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,w){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(A)))){var R=[],G=!0,ee=!1,ue=void 0;try{for(var me=A[Symbol.iterator](),Ce;!(G=(Ce=me.next()).done)&&(R.push(Ce.value),!(w&&R.length===w));G=!0);}catch(Qe){ee=!0,ue=Qe}finally{try{!G&&me.return!=null&&me.return()}finally{if(ee)throw ue}}return R}}t("a630"),t("fb6a"),t("b0c0"),t("25f0");function x(A,w){(w==null||w>A.length)&&(w=A.length);for(var R=0,G=new Array(w);R<w;R++)G[R]=A[R];return G}function I(A,w){if(A){if(typeof A=="string")return x(A,w);var R=Object.prototype.toString.call(A).slice(8,-1);if(R==="Object"&&A.constructor&&(R=A.constructor.name),R==="Map"||R==="Set")return Array.from(A);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return x(A,w)}}function T(){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 D(A,w){return b(A)||S(A,w)||I(A,w)||T()}function B(A){if(Array.isArray(A))return x(A)}function V(A){if(typeof Symbol<"u"&&Symbol.iterator in Object(A))return Array.from(A)}function F(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function M(A){return B(A)||V(A)||I(A)||F()}var q=t("a352"),te=t.n(q);function N(A){A.parentElement!==null&&A.parentElement.removeChild(A)}function X(A,w,R){var G=R===0?A.children[0]:A.children[R-1].nextSibling;A.insertBefore(w,G)}var Y=t("dbf1");t("13d5"),t("4fad"),t("ac1f"),t("5319");function Z(A){var w=Object.create(null);return function(G){var ee=w[G];return ee||(w[G]=A(G))}}var z=/-(\w)/g,$=Z(function(A){return A.replace(z,function(w,R){return R.toUpperCase()})});t("5db7"),t("73d9");var ve=["Start","Add","Remove","Update","End"],Q=["Choose","Unchoose","Sort","Filter","Clone"],ne=["Move"],Ie=[ne,ve,Q].flatMap(function(A){return A}).map(function(A){return"on".concat(A)}),Pe={manage:ne,manageAndEmit:ve,emit:Q};function Fe(A){return Ie.indexOf(A)!==-1}t("caad"),t("2ca0");var Re=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function Ue(A){return Re.includes(A)}function _(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 ke(A){return A.reduce(function(w,R){var G=D(R,2),ee=G[0],ue=G[1];return w[ee]=ue,w},{})}function Ke(A){var w=A.$attrs,R=A.componentData,G=R===void 0?{}:R,ee=ke(Object.entries(w).filter(function(ue){var me=D(ue,2),Ce=me[0];return me[1],Xe(Ce)}));return h(h({},ee),G)}function Be(A){var w=A.$attrs,R=A.callBackBuilder,G=ke(mt(w));Object.entries(R).forEach(function(ue){var me=D(ue,2),Ce=me[0],Qe=me[1];Pe[Ce].forEach(function(pe){G["on".concat(pe)]=Qe(pe)})});var ee="[data-draggable]".concat(G.draggable||"");return h(h({},G),{},{draggable:ee})}function mt(A){return Object.entries(A).filter(function(w){var R=D(w,2),G=R[0];return R[1],!Xe(G)}).map(function(w){var R=D(w,2),G=R[0],ee=R[1];return[$(G),ee]}).filter(function(w){var R=D(w,2),G=R[0];return R[1],!Fe(G)})}t("c740");function ot(A,w){if(!(A instanceof w))throw new TypeError("Cannot call a class as a function")}function it(A,w){for(var R=0;R<w.length;R++){var G=w[R];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(A,G.key,G)}}function Ct(A,w,R){return w&&it(A.prototype,w),A}var St=function(w){var R=w.el;return R},_e=function(w,R){return w.__draggable_context=R},qe=function(w){return w.__draggable_context},Bt=function(){function A(w){var R=w.nodes,G=R.header,ee=R.default,ue=R.footer,me=w.root,Ce=w.realList;ot(this,A),this.defaultNodes=ee,this.children=[].concat(M(G),M(ee),M(ue)),this.externalComponent=me.externalComponent,this.rootTransition=me.transition,this.tag=me.tag,this.realList=Ce}return Ct(A,[{key:"render",value:function(R,G){var ee=this.tag,ue=this.children,me=this._isRootComponent,Ce=me?{default:function(){return ue}}:ue;return R(ee,G,Ce)}},{key:"updated",value:function(){var R=this.defaultNodes,G=this.realList;R.forEach(function(ee,ue){_e(St(ee),{element:G[ue],index:ue})})}},{key:"getUnderlyingVm",value:function(R){return qe(R)}},{key:"getVmIndexFromDomIndex",value:function(R,G){var ee=this.defaultNodes,ue=ee.length,me=G.children,Ce=me.item(R);if(Ce===null)return ue;var Qe=qe(Ce);if(Qe)return Qe.index;if(ue===0)return 0;var pe=St(ee[0]),oe=M(me).findIndex(function(de){return de===pe});return R<oe?0:ue}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),A}(),tt=t("8bbf");function We(A,w){var R=A[w];return R?R():[]}function In(A){var w=A.$slots,R=A.realList,G=A.getKey,ee=R||[],ue=["header","footer"].map(function(de){return We(w,de)}),me=D(ue,2),Ce=me[0],Qe=me[1],pe=w.item;if(!pe)throw new Error("draggable element must have an item slot");var oe=ee.flatMap(function(de,Se){return pe({element:de,index:Se}).map(function(Ee){return Ee.key=G(de),Ee.props=h(h({},Ee.props||{}),{},{"data-draggable":!0}),Ee})});if(oe.length!==ee.length)throw new Error("Item slot must have only one child");return{header:Ce,footer:Qe,default:oe}}function Wn(A){var w=_(A),R=!Ue(A)&&!w;return{transition:w,externalComponent:R,tag:R?Object(tt.resolveComponent)(A):w?tt.TransitionGroup:A}}function wt(A){var w=A.$slots,R=A.tag,G=A.realList,ee=A.getKey,ue=In({$slots:w,realList:G,getKey:ee}),me=Wn(R);return new Bt({nodes:ue,root:me,realList:G})}function Ft(A,w){var R=this;Object(tt.nextTick)(function(){return R.$emit(A.toLowerCase(),w)})}function en(A){var w=this;return function(R,G){if(w.realList!==null)return w["onDrag".concat(A)](R,G)}}function un(A){var w=this,R=en.call(this,A);return function(G,ee){R.call(w,G,ee),Ft.call(w,A,G)}}var cn=null,fn={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(w){return w}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},vn=["update:modelValue","change"].concat(M([].concat(M(Pe.manageAndEmit),M(Pe.emit)).map(function(A){return A.toLowerCase()}))),pn=Object(tt.defineComponent)({name:"draggable",inheritAttrs:!1,props:fn,emits:vn,data:function(){return{error:!1}},render:function(){try{this.error=!1;var w=this.$slots,R=this.$attrs,G=this.tag,ee=this.componentData,ue=this.realList,me=this.getKey,Ce=wt({$slots:w,tag:G,realList:ue,getKey:me});this.componentStructure=Ce;var Qe=Ke({$attrs:R,componentData:ee});return Ce.render(tt.h,Qe)}catch(pe){return this.error=!0,Object(tt.h)("pre",{style:{color:"red"}},pe.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&Y.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var w=this;if(!this.error){var R=this.$attrs,G=this.$el,ee=this.componentStructure;ee.updated();var ue=Be({$attrs:R,callBackBuilder:{manageAndEmit:function(Qe){return un.call(w,Qe)},emit:function(Qe){return Ft.bind(w,Qe)},manage:function(Qe){return en.call(w,Qe)}}}),me=G.nodeType===1?G:G.parentElement;this._sortable=new te.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 w=this.list;return w||this.modelValue},getKey:function(){var w=this.itemKey;return typeof w=="function"?w:function(R){return R[w]}}},watch:{$attrs:{handler:function(w){var R=this._sortable;R&&mt(w).forEach(function(G){var ee=D(G,2),ue=ee[0],me=ee[1];R.option(ue,me)})},deep:!0}},methods:{getUnderlyingVm:function(w){return this.componentStructure.getUnderlyingVm(w)||null},getUnderlyingPotencialDraggableComponent:function(w){return w.__draggable_component__},emitChanges:function(w){var R=this;Object(tt.nextTick)(function(){return R.$emit("change",w)})},alterList:function(w){if(this.list){w(this.list);return}var R=M(this.modelValue);w(R),this.$emit("update:modelValue",R)},spliceList:function(){var w=arguments,R=function(ee){return ee.splice.apply(ee,M(w))};this.alterList(R)},updatePosition:function(w,R){var G=function(ue){return ue.splice(R,0,ue.splice(w,1)[0])};this.alterList(G)},getRelatedContextFromMoveEvent:function(w){var R=w.to,G=w.related,ee=this.getUnderlyingPotencialDraggableComponent(R);if(!ee)return{component:ee};var ue=ee.realList,me={list:ue,component:ee};if(R!==G&&ue){var Ce=ee.getUnderlyingVm(G)||{};return h(h({},Ce),me)}return me},getVmIndexFromDomIndex:function(w){return this.componentStructure.getVmIndexFromDomIndex(w,this.targetDomElement)},onDragStart:function(w){this.context=this.getUnderlyingVm(w.item),w.item._underlying_vm_=this.clone(this.context.element),cn=w.item},onDragAdd:function(w){var R=w.item._underlying_vm_;if(R!==void 0){N(w.item);var G=this.getVmIndexFromDomIndex(w.newIndex);this.spliceList(G,0,R);var ee={element:R,newIndex:G};this.emitChanges({added:ee})}},onDragRemove:function(w){if(X(this.$el,w.item,w.oldIndex),w.pullMode==="clone"){N(w.clone);return}var R=this.context,G=R.index,ee=R.element;this.spliceList(G,1);var ue={element:ee,oldIndex:G};this.emitChanges({removed:ue})},onDragUpdate:function(w){N(w.item),X(w.from,w.item,w.oldIndex);var R=this.context.index,G=this.getVmIndexFromDomIndex(w.newIndex);this.updatePosition(R,G);var ee={element:this.context.element,oldIndex:R,newIndex:G};this.emitChanges({moved:ee})},computeFutureIndex:function(w,R){if(!w.element)return 0;var G=M(R.to.children).filter(function(Ce){return Ce.style.display!=="none"}),ee=G.indexOf(R.related),ue=w.component.getVmIndexFromDomIndex(ee),me=G.indexOf(cn)!==-1;return me||!R.willInsertAfter?ue:ue+1},onDragMove:function(w,R){var G=this.move,ee=this.realList;if(!G||!ee)return!0;var ue=this.getRelatedContextFromMoveEvent(w),me=this.computeFutureIndex(ue,w),Ce=h(h({},this.context),{},{futureIndex:me}),Qe=h(h({},w),{},{relatedContext:ue,draggedContext:Ce});return G(Qe,R)},onDragEnd:function(){cn=null}}}),mn=pn;s.default=mn},fb6a:function(n,s,t){var a=t("23e7"),l=t("861d"),f=t("e8b5"),v=t("23cb"),m=t("50c4"),h=t("fc6a"),b=t("8418"),S=t("b622"),x=t("1dde"),I=t("ae40"),T=x("slice"),D=I("slice",{ACCESSORS:!0,0:0,1:2}),B=S("species"),V=[].slice,F=Math.max;a({target:"Array",proto:!0,forced:!T||!D},{slice:function(q,te){var N=h(this),X=m(N.length),Y=v(q,X),Z=v(te===void 0?X:te,X),z,$,ve;if(f(N)&&(z=N.constructor,typeof z=="function"&&(z===Array||f(z.prototype))?z=void 0:l(z)&&(z=z[B],z===null&&(z=void 0)),z===Array||z===void 0))return V.call(N,Y,Z);for($=new(z===void 0?Array:z)(F(Z-Y,0)),ve=0;Y<Z;Y++,ve++)Y in N&&b($,ve,N[Y]);return $.length=ve,$}})},fc6a:function(n,s,t){var a=t("44ad"),l=t("1d80");n.exports=function(f){return a(l(f))}},fdbc:function(n,s){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,s,t){var a=t("4930");n.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(Ba);var md=Ba.exports;const Ka=ss(md);function Ma(u,o){["name","gender","phone","id_card","ethnicity","height","weight","current_address","household_location","marital_status","expected_salary","political_status"].forEach(n=>{o[n]&&(u[n].visible=o[n].visible,u[n].required=o[n].required)}),["family_member","education","work_experience"].forEach(n=>{o[n]&&(u[n].visible=o[n].visible,Object.keys(o[n].fields).forEach(s=>{u[n].fields[s]&&(u[n].fields[s].visible=o[n].fields[s].visible,u[n].fields[s].required=o[n].fields[s].required)}))})}const gd={class:"position-detail-container"},hd={class:"header-container"},yd={class:"header-actions"},bd={class:"detail-content"},Sd={class:"detail-item"},Ed={key:0,class:"detail-value"},xd={key:1,class:"title-edit-container"},Id={class:"title-edit-actions"},Cd={class:"detail-item"},wd={key:0,class:"detail-value"},Ad={key:1,class:"title-edit-container"},Od={class:"title-edit-actions"},Td={class:"detail-item"},Dd={key:0,class:"detail-value"},Pd={key:1,class:"title-edit-container"},Rd={class:"title-edit-actions"},Vd={class:"detail-item"},Ud={key:0,class:"detail-value"},kd={key:1,class:"title-edit-container"},Kd={class:"salary-range-container"},Md={class:"title-edit-actions"},Nd={class:"detail-item"},Bd={key:0,class:"detail-value"},Fd={key:1,class:"title-edit-container"},jd={class:"title-edit-actions"},Ld={class:"detail-item"},Qd={key:0,class:"detail-value"},Gd={key:1,class:"title-edit-container"},zd={class:"title-edit-actions"},$d={class:"detail-item"},Jd={key:0,class:"detail-value"},Wd={key:1,class:"title-edit-container"},Hd={class:"title-edit-actions"},Yd={class:"detail-item"},Xd={class:"detail-value"},qd={class:"detail-item"},Zd={key:0,class:"detail-value"},_d={key:1,class:"title-edit-container"},eu={class:"title-edit-actions"},tu={class:"detail-item"},nu=["innerHTML"],ou={key:2,class:"title-edit-container"},iu={class:"title-edit-actions"},au={class:"detail-item"},ru=["innerHTML"],lu={key:2,class:"title-edit-container"},su={class:"title-edit-actions"},du={class:"detail-item"},uu={key:0,class:"detail-value"},cu={key:1,class:"title-edit-container"},fu={class:"title-edit-actions"},vu={class:"status-cards"},pu={class:"status-switch"},mu={class:"status-text"},gu={class:"section-title"},hu={class:"usage-content"},yu={key:0,class:"usage-value"},bu={key:1,class:"title-edit-container"},Su={class:"title-edit-actions"},Eu={class:"section-title"},xu={class:"process-steps"},Iu={key:0,class:"step-number"},Cu={class:"step-content"},wu={class:"step-title"},Au={class:"section-title"},Ou={class:"process-dialog-content"},Tu={key:0,class:"add-process-btn-top"},Du={key:0,class:"process-number"},Pu={class:"process-edit-content"},Ru={key:1,class:"process-edit-btn"},Vu=["onClick"],Uu={class:"dialog-footer"},ku={class:"ai-video-steps"},Ku={key:0,class:"ai-video-content","element-loading-text":"正在生成能力标签..."},Mu={class:"ai-video-options"},Nu={class:"recommended-dimensions"},Bu={class:"dimension-grid"},Fu={class:"ability-label"},ju={class:"optional-dimensions"},Lu={class:"header-row"},Qu={class:"right_btn"},Gu={class:"dimension-grid"},zu={class:"ability-label"},$u={class:"custom-dimensions"},Ju={class:"dimension-form"},Wu={class:"dimension-row"},Hu={class:"dimension-input"},Yu={class:"dimension-input"},Xu={class:"dimension-actions"},qu={key:1,class:"ai-video-content"},Zu={class:"interview-settings"},_u={class:"interview-header"},ec={class:"interview-actions"},tc={class:"question-switches"},nc={class:"switch-item"},oc={class:"switch-item"},ic={class:"interview-duration"},ac={class:"duration-value"},rc={class:"interview-content"},lc={class:"interview-questions-container","element-loading-text":"AI正在生成题目..."},sc={key:0,class:"no-questions"},dc={key:1,class:"question-list"},uc={class:"question-card"},cc={class:"question-header"},fc={class:"question-title"},vc={class:"title-content"},pc={class:"question-content"},mc={class:"question-number"},gc={style:{color:"#0017ab"}},hc={class:"question-tags"},yc={key:0,class:"more-tags-indicator"},bc={class:"question-actions",style:{"margin-top":"0px"}},Sc={class:"question-info"},Ec={class:"info-item"},xc={key:0,class:"question-actions"},Ic={class:"answer-limit"},Cc={class:"answer-limit"},wc={key:1,class:"question-actions"},Ac={class:"answer-limit"},Oc={class:"multi-dimension-questions"},Tc={class:"dimension-list"},Dc={class:"dimension-header"},Pc={class:"dimension-info"},Rc={class:"ability-name"},Vc=["onClick"],Uc={key:2,class:"ai-video-content"},kc={class:"system-settings"},Kc={class:"setting-section"},Mc={style:{display:"flex","align-items":"flex-start"}},Nc={style:{width:"100px",height:"170px","background-color":"#f2f2f2","margin-right":"30px","border-radius":"10px",overflow:"hidden"}},Bc=["src"],Fc={class:"interviewer-avatars"},jc=["onClick"],Lc={class:"avatar-wrapper"},Qc=["src","alt"],Gc=["title"],zc={class:"setting-item",style:{border:"none"}},$c={class:"setting-options"},Jc={class:"interview-settings"},Wc={class:"setting-item"},Hc={class:"setting-item"},Yc={class:"setting-options"},Xc={class:"setting-item"},qc={class:"drawer-footer"},Zc={class:"video-lecture-form"},_c={class:"form-item"},ef={class:"upload-area"},tf={class:"form-item"},nf={class:"dialog-footer"},of={class:"ai-chat-content"},af={class:"chat-settings"},rf={class:"chat-actions"},lf={class:"chat-questions"},sf={key:0,class:"empty-questions"},df={key:1,class:"question-list"},uf={class:"question-card"},cf={class:"question-header"},ff={class:"question-title"},vf={class:"question-number"},pf={class:"question-actions"},mf={class:"weight-control"},gf={class:"answer-limit"},hf={class:"question-info"},yf={class:"info-item"},bf={class:"info-item"},Sf={class:"info-item"},Ef={class:"drawer-footer"},xf={class:"question-form"},If={class:"form-item"},Cf={class:"form-item"},wf={class:"form-item"},Af={class:"competency-config"},Of={class:"tag-name"},Tf={class:"form-tip"},Df={class:"form-item"},Pf={class:"form-item"},Rf={key:0,class:"form-item"},Vf=["onClick"],Uf={key:1,class:"form-item"},kf={key:2},Kf=["src"],Mf={class:"form-item"},Nf={class:"form-item"},Bf={class:"form-item"},Ff={class:"form-item"},jf={class:"dialog-footer"},Lf={class:"question-select-content"},Qf={class:"custom-tree-node"},Gf={class:"node-label",style:{display:"flex","align-items":"center"}},zf={class:"ml-2"},$f={class:"dialog-footer"},Jf={class:"data-collection-form"},Wf={class:"field-config-panel"},Hf={class:"field-config-list"},Yf={class:"field-config-item"},Xf={class:"field-label"},qf={class:"field-config-item"},Zf={class:"field-label"},_f={class:"field-config-item sub-field"},ev={class:"field-label"},tv={class:"field-config-item"},nv={class:"field-label"},ov={class:"field-config-item sub-field"},iv={class:"field-label"},av={class:"field-config-item"},rv={class:"field-label"},lv={class:"field-config-item"},sv={class:"field-label"},dv={class:"field-config-item sub-field"},uv={class:"field-label"},cv={class:"dialog-footer"},fv={class:"resume-collection-form"},vv={class:"form-item"},pv={class:"dialog-footer"},mv={class:"code-test-form"},gv={class:"form-item"},hv={class:"form-item"},yv={class:"switch-label"},bv={class:"form-item"},Sv={class:"test-paper-selector"},Ev={key:0,class:"empty-paper"},xv={key:1,class:"selected-paper"},Iv={class:"paper-info"},Cv={class:"paper-title"},wv={class:"paper-meta"},Av={class:"paper-actions"},Ov={class:"dialog-footer"},Tv={class:"typing-test-form"},Dv={class:"form-item"},Pv={class:"article-selection"},Rv={class:"form-item"},Vv={class:"form-item"},Uv={class:"time-input-container"},kv={class:"form-item"},Kv={class:"upload-area"},Mv={class:"form-item"},Nv={class:"form-item"},Bv={class:"form-item"},Fv={class:"form-item"},jv={class:"criteria-options"},Lv={class:"dialog-footer"},Qv={class:"interview-settings-content"},Gv={class:"settings-section"},zv={class:"setting-item"},$v={class:"setting-item"},Jv={class:"setting-item"},Wv={class:"setting-item"},Hv={class:"settings-section"},Yv={class:"setting-item"},Xv={class:"setting-info"},qv={class:"setting-desc-container"},Zv={class:"setting-item"},_v={class:"setting-info"},ep={key:0,class:"setting-desc-container"},tp={class:"setting-desc"},np={key:1,class:"desc-edit-container"},op={class:"desc-edit-actions"},ip={class:"setting-item"},ap={class:"setting-info"},rp={key:0,class:"setting-desc-container"},lp={class:"setting-desc"},sp={key:1,class:"desc-edit-container"},dp={class:"desc-edit-actions"},up={class:"setting-item"},cp={class:"setting-info"},fp={key:0,class:"setting-desc-container"},vp={class:"setting-desc"},pp={key:1,class:"desc-edit-container"},mp={class:"desc-edit-actions"},gp={class:"dialog-footer"},hp={class:"question-select-content"},yp={class:"document-box document-left-box"},bp={class:"search-bar"},Sp={class:"search-inputs"},Ep={class:"question-lists"},xp={class:"pagination-container"},Ip={class:"dialog-footer"},Cp={class:"candidate-questions-form"},wp={class:"form-item"},Ap={class:"form-item"},Op={class:"form-item"},Tp={class:"dialog-footer"},Dp={class:"dialog-footer"},Pp={class:"selected-applications-preview"},Rp={class:"preview-title"},Vp={key:0,class:"tags-summary"},Up={key:1,style:{color:"#909399","margin-bottom":"8px"}},kp={class:"preview-footer"},Na="position_field_config_cache",Kp=Yl({__name:"index",setup(u){const o=(c,e)=>{try{const C={positionId:e,config:JSON.parse(JSON.stringify(c)),timestamp:Date.now()};localStorage.setItem(Na,JSON.stringify(C))}catch(C){console.error("保存字段配置到缓存失败:",C)}},i=c=>{try{const e=localStorage.getItem(Na);if(e){const C=JSON.parse(e);if(C.positionId===c&&Date.now()-C.timestamp<6048e5)return C.config}return null}catch(e){return console.error("读取字段配置缓存失败:",e),null}},d=L(null),n=Xl(),s=ql(),t=L(s.query.id),a=L(!1),l=L(!1),f=c=>m.slice(0,c+1).filter(e=>e.visible).length,v=et({title:"",job_category:"",job_type_display:"",city:"",location:[],location_str:"",address_detail:"",benefits:[],requirements:"",job_type:0,salary_range:"",department:"",end_date:"",description:"",work_experience_required:"",education_required:"",competency_tags:[],options:[],status:0,detailed_address:""}),m=et([{id:6,name:"简历收集",description:"简历收集",active:!0,type:"resume_collection",visible:!0},{id:5,name:"资料收集",description:"资料收集",active:!0,type:"data_collection",visible:!0},{id:2,name:"AI考察",description:"AI考察",active:!0,type:"ai_video",visible:!0},{id:8,name:"综合素质考察",description:"综合素质考察",active:!0,type:"common_sense",visible:!0},{id:9,name:"心理测试",description:"心理测试",active:!0,type:"psychological_problem",visible:!0},{id:10,name:"肢体检测",description:"肢体检测",active:!0,type:"posture_check",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}]),h=L(!1),b=[{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:"posture_check"}],S=c=>(Rt.value.forEach(e=>{c.id==e.id&&(c.name=e.name)}),c.name),x=L(!1),I=c=>{lt.pageSize=c,qt({page:lt.page,limit:lt.pageSize,question_form:st.question_form}).then(e=>{e.data&&(lt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,jt.value=e.data.total)})},T=c=>{lt.page=c,qt({page:lt.page,limit:lt.pageSize,question_form:st.question_form}).then(e=>{e.data&&(lt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,jt.value=e.data.total)})},D=async()=>{const c=kt.value.map(e=>e.id);if(console.log("selectedQuestionIds",c),c.length===0){P.warning("请至少选择一个问题");return}try{await Ii({position_id:s.query.id,question_id:c,duration:60,tenant_id:Xt.get("tenant_id")});const e=lt.value.filter(C=>C.selected);kt.value.push(...e),P.success("问题添加成功"),x.value=!1}catch(e){console.error("添加问题失败:",e),e.code===4e3?P.warning("该题目已绑定,请选择其他题目"):P.error("添加问题失败,请重试")}},B=()=>{Mn.value=!0,ga({position_id:s.query.id}).then(c=>{c.data.forEach(e=>{e.selected=!1}),Rt.value=c.data,console.log("res",c),Mn.value=!1}).catch(c=>{console.log("err",c),Mn.value=!1})},V=As(),F=c=>{if(console.log("地址选择变化:",c),c&&Array.isArray(c)&&c.length>0){const[e,C,E]=c,O=V.find(ie=>ie.code===e);let U;O&&O.children&&(U=O.children.find(ie=>ie.code===C),U&&U.children&&U.children.find(ie=>ie.code===E))}},M=L(!1),q=L([]),te=qo(()=>{const c=new Map,e=C=>{if(!C)return;const E=C.id??C.name;if(E==null)return;const O=String(E);c.has(O)||c.set(O,{id:C.id,name:C.name??C.label??C.text??""})};return q.value.forEach(C=>{const E=C.tags||C.competency_tags||C.tags||[];Array.isArray(E)&&E.forEach(e)}),Array.from(c.values())}),N=async c=>{M.value=!0;try{const e=await Ci({page:1,limit:100,job_id:s.query.id,question_form:c});e.data&&e.data.items&&(q.value=e.data.items)}catch(e){console.error("获取职位申请数据失败:",e),P.error("获取职位申请数据失败")}},X=(c,e)=>{},Y=L(-1),Z=L(!1),z=et({top:"0px",left:"0px"}),$=L(!1),ve=et({qualityControl:!1,teamwork:!1,problemSolving:!1,dataAnalysis:!1,positionMatch:!1,proactiveness:!1,basicAbility:!1,communication:!1,serviceAwareness:!1,xxxx:!1}),Q=L(1),ne=L([{label:"沟通能力",value:"communication",level:"CC",description:"能够清晰、准确地表达想法,善于倾听和理解他人的观点,具备良好的书面和口头表达能力。",expanded:!1,isNew:!0},{label:"团队协作",value:"teamwork",level:"CC",description:"能够与团队成员有效合作,共同完成目标,具备良好的团队精神和协作意识。",expanded:!1,isNew:!1}]);et({min:0,max:100,minScore:0,maxScore:0});const Ie=c=>{console.log(c)};L("standard"),L(!1);const Pe=L(!1),Fe=et({title:"",videoFile:null,description:"",broadcastType:"required"}),Re=L(!1);L(15),L(5);const Ue=L(!1),_=et({id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category_name:"",tags:[],suggestedDuration:60,scoring_reference:"",question_image_url:"",blank_answer_template:[],tag_ids:[]}),Xe=c=>c.map(e=>e.id),ke=L([]),Ke=L([]);L([{label:"技术能力",value:"tech"},{label:"管理能力",value:"management"},{label:"沟通能力",value:"communication"},{label:"专业知识",value:"professional"},{label:"个人素质",value:"personal"}]),L([]);const Be=()=>{Object.assign(_,{id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category_name:"",tags:[],suggestedDuration:60,scoring_reference:"",question_image_url:"",blank_answer_template:[],tag_ids:[]})},mt=async()=>{const c=await is({page:1,page_size:50});console.log(c),Ke.value=c.data.map(e=>({label:e.title,value:String(e.id)}))},ot=()=>{Ue.value=!1,Be()},it=L(!1);et({isRequired:!1,questions:[]}),L([{label:"Q1",value:"q1",isVisible:!0,enableScoring:!1,isRequired:!1},{label:"请问你的毕业院校是哪里?",value:"school",isVisible:!0,enableScoring:!1,isRequired:!0}]);const Ct=L(!1),St=et({title:"简历收集",isRequired:!0,steps:4}),_e=()=>{Ct.value=!0},qe=()=>{Ct.value=!1,Object.assign(St,{title:"简历收集",isRequired:!0,steps:4})},Bt=()=>{const c={id:Date.now(),name:St.title,description:"简历收集",active:!0,type:"resume_collection",config:{...St},visible:!0};m.splice(Y.value,0,c),yt({id:Te.value,require_resume_upload:!0}).then(e=>{e.code==2e3?m[0].visible=!0:P.error("删除失败")}),Ct.value=!1,P.success("简历收集步骤已添加"),qe()},tt=L(!1),We=et({enableScoreQuestions:!1,enableColorBlindQuestions:!1,enableOpenQuestions:!1}),In=async()=>{var c;try{const e=s.query.id;if(!e){P.error("职位ID不存在");return}const C=Array.isArray(e)?e[0]:e,E=e,O=await as(e);if(O&&O.data){Object.assign(v,O.data),console.log(v),ke.value=O.data.competency_tags;const U=await jn(e);if(U&&U.data)Te.value=U.data.id,U.data.enable_psychological_test!==void 0&&(We.enableScoreQuestions=U.data.enable_psychological_test),U.data.enable_color_blind_test!==void 0&&(We.enableColorBlindQuestions=U.data.enable_color_blind_test);else if(U&&U.code===2e3&&U.message==="该职位暂无配置")try{const ie=await bo({position_id:e,enable_psychological_test:!1,enable_color_blind_test:!1,digital_human_id:null,digital_human_opening_speech:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。"});ie&&ie.code===2e3?(Te.value=((c=ie.data)==null?void 0:c.id)||ie.data,P.success("已自动创建职位配置"),We.enableScoreQuestions=!1,We.enableColorBlindQuestions=!1):P.warning("自动创建配置失败,请手动创建")}catch(ie){console.error("自动创建配置失败:",ie),P.warning("自动创建配置失败,请手动创建")}a.value=v.status===1}}catch(e){console.error("获取职位详情失败:",e),P.error("获取职位详情失败")}},Wn=()=>{n.push("/position/list")},wt=()=>{n.push("/position/list")},Ft=async c=>{const e=s.query.id;try{const C=c?1:0;if(c){const E=await rs({position_id:e,tenant_id:Xt.get("tenant_id")});if(E.code===2e3){const{is_all_completed:O,total_questions:U}=E.data;if(!O||U<=0){P.warning(`无法开启职位,原因:${U<=0?"当前职位没有设置面试题目":"面试题目视频未全部生成完成"}`),a.value=!c;return}}else{P.error("检查视频状态失败,请稍后重试"),a.value=!c;return}}await Et({id:e,status:C}),v.status=C,P.success(`职位已${c?"开启":"关闭"}`)}catch(C){console.error("修改状态失败:",C),P.error("修改状态失败"),a.value=!c}},en=()=>{h.value=!0},un=()=>{h.value=!1,P.success("招聘流程已更新")},cn=()=>{h.value=!1},fn=(c,e)=>{c.type=="ai_video"&&($.value=!1),c.type=="ai_chat"&&(Re.value=!1),c.type=="ai_video"&&yt({id:Te.value,enable_open_questions:!1}).then(C=>{C.code==2e3?P.success("删除成功"):P.error("删除失败")}),c.type=="psychological_problem"&&yt({id:Te.value,enable_scoring_questions:!1}).then(C=>{if(console.log(C),C.code==2e3){const E=wn.value.filter(O=>O.question_form===4).map(O=>O.question_id).filter(O=>O!=null);console.log(E),E.length>0&&ha({position_id:s.query.id,question_id:E}).then(O=>{console.log(O),O.code==2e3&&(wn.value=[])}),P.success("删除成功")}else P.error("删除失败")}),c.type=="common_sense"&&yt({id:Te.value,enable_single_choice:!1,enable_multiple_choice:!1,enable_image_choice:!1,enable_fill_blank:!1}).then(C=>{if(C.code==2e3){P.success("删除成功");const E=wn.value.filter(O=>O.question_form!==4&&O.question_form!==0).map(O=>O.question_id).filter(O=>O!=null);E.length>0&&ha({position_id:s.query.id,question_id:E}).then(O=>{O.code==2e3&&(wn.value=[])})}else P.error("删除失败")}),c.type=="resume_collection"&&yt({id:Te.value,require_resume_upload:!1}).then(C=>{C.code==2e3?P.success("删除成功"):P.error("删除失败")}),c.type=="posture_check"&&yt({id:Te.value,enable_posture_check:!1}).then(C=>{if(C.code==2e3){P.success("删除成功");return}else P.error("删除失败")}),m.splice(e,1),console.log("recruitmentProcess",m)},vn=c=>({0:"未发布",1:"已发布",2:"已结束"})[c]||"未知状态",pn=c=>({0:"info",1:"success",2:"danger"})[c]||"info",mn=c=>({0:"全职",1:"兼职",2:"实习",3:"其他"})[c]||"未知",A=(c,e)=>{Y.value=c,Z.value=!0,console.log(c,e);const C=e.currentTarget,E=C.closest(".process-dialog-content");if(E){const O=C.getBoundingClientRect(),U=E.getBoundingClientRect(),ie=O.bottom-U.top+5,J=O.left-U.left;z.top=`${ie}px`,z.left=`${J}px`}e.stopPropagation()},w=async(c,e)=>{if(c==="ai_video"&&yt({id:Te.value,enable_open_questions:!0}).then(O=>{O.code==2e3?(m[2].visible=!0,Z.value=!1):P.error("更新配置失败")}),c==="common_sense"&&yt({id:Te.value,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_fill_blank:!0}).then(O=>{O.code==2e3?(m[3].visible=!0,console.log("recruitmentProcess",m),Z.value=!1):P.error("更新配置失败")}),c==="psychological_problem"&&yt({id:Te.value,enable_scoring_questions:!0}).then(O=>{O.code==2e3?(m[4].visible=!0,Z.value=!1):P.error("更新配置失败")}),c==="post_render_questions"){Pl.value=!0,Z.value=!1;return}if(c==="posture_check"&&yt({id:Te.value,enable_posture_check:!0}).then(O=>{O.code==2e3?(console.log("recruitmentProcess",m),m[5].visible=!0,Y.value=5):P.error("删除失败")}),m.find(O=>!!(O.type&&O.type===c||O.name===e))){Z.value=!1;return}if(c==="ai_chat"){Re.value=!0,Z.value=!1;return}if(c==="video_presentation"){Bt(),Z.value=!1;return}if(c==="data_collection"){const O=await jn(s.query.id);O&&O.data?(Te.value=O.data.id,Ma(j,O.data.profile_fields_config),it.value=!0,Z.value=!1):(it.value=!0,Z.value=!1);return}if(c==="resume_collection"){_e(),Z.value=!1;return}if(c==="posture_check"&&(Z.value=!1),c==="code_test"){er(),Z.value=!1;return}if(c==="typing_test"){Xn.value=!0,Z.value=!1;return}if(c==="candidate_questions"){Nn.value=!0,Z.value=!1;return}const E={id:Date.now(),name:e,description:e,active:!0,type:c,visible:!0};console.log("newStep",E),m.splice(c==="posture_check"?5:Y.value,0,E),Z.value=!1},R=async()=>{if(Q.value<3){if(Q.value===1){const c=Rt.value.filter(e=>e.selected);if(c.length===0){P.warning("请至少选择一个胜任力考核维度");return}try{ne.value=c.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(Q.value===2){if(ge.value.length===0){P.warning("请至少添加一个面试题目");return}try{await Wr()}catch(c){console.error("保存题目失败:",c),P.error("保存题目失败");return}}if(Q.value===3){const c=Hr();if(!c.isValid){c.messages.forEach(C=>{P.warning(C)});return}const e=qr();console.log("完整的面试配置:",e)}Q.value++}else ee()},G=()=>{Q.value>1&&Q.value--},ee=async()=>{var O;if(!gt.value||!gt.value.id){P.warning("请选择面试官形象");return}if(!$o.value){P.warning("请选择面试官");return}const c={id:gt.value.id,name:gt.value.name,avatar_url:gt.value.avatar_url||gt.value.image},e=bi(),C={enableScoreQuestions:We.enableScoreQuestions,enableColorBlindQuestions:We.enableColorBlindQuestions};try{if(await Et({id:s.query.id,status:0}),v.status=0,a.value=!1,Te.value==0){const U=await bo({position_id:s.query.id,digital_human_id:gt.value.id});if(U.code==2e3){P.success("配置保存成功");try{const ie={config_id:((O=U.data)==null?void 0:O.id)||U.data};e.beforeStartText&&e.beforeStartText.trim()!==""?(await wi(ie),console.log("开场白生成成功"),$.value=!1,Q.value=1,await new Promise(re=>setTimeout(re,4e3))):console.log("无开场白配置,跳过开场白生成"),await ya(ie),P.success("视频开始生成")}catch(ie){console.error("获取开场白和视频失败:",ie),P.warning("视频生成中,请稍后")}}else P.error("配置保存失败")}else if((await yt({id:Te.value,digital_human_id:gt.value.id})).code==2e3){P.success("配置保存成功");try{const ie={config_id:Te.value};console.log("开始生成开场白..."),await wi(ie),console.log("开场白生成成功"),$.value=!1,Q.value=1,console.log("等待4秒后开始生成视频..."),await el(4e3),console.log("开始生成视频..."),await ya(ie),console.log("视频生成请求已发送"),P.success("视频开始生成")}catch(ie){console.error("获取开场白和视频失败:",ie),P.warning("视频生成中,请稍后")}}else P.error("配置保存失败")}catch(U){console.error("更新职位状态失败:",U),P.error("更新职位状态失败");return}console.log("保存时选中的面试官:",c),console.log("保存时的面试设置:",e),console.log("保存时的题目设置:",C);const E={id:Date.now(),name:"AI考察",description:`已选择${ne.value.length}项能力测评`,active:!0,type:"ai_video",abilities:ne.value.map(U=>U.value),interviewer:c,settings:e};m.splice(Y.value,0,E),$.value=!1,Q.value=1,P.success("AI考察步骤已添加")},ue=()=>{$.value=!1,Q.value=1},me=c=>{},Ce=()=>{Pe.value=!1,Object.assign(Fe,{title:"",videoFile:null,description:"",broadcastType:"required"})},Qe=()=>{const c={id:Date.now(),name:Fe.title||"视频宣讲",description:Fe.description||"视频宣讲",active:!0,type:"video_presentation",config:{...Fe}};m.splice(Y.value,0,c),Pe.value=!1,P.success("视频宣讲步骤已添加"),Ce()},pe=()=>{const c={id:Date.now(),name:"AI实时对话",description:"AI实时对话",active:!0,type:"ai_chat"};m.splice(Y.value,0,c),Re.value=!1,P.success("AI实时对话步骤已添加")},oe=()=>{Re.value=!1},de=()=>{if(!Me.title.trim()){P.warning("请输入环节名称");return}if(Me.duration<=0){P.warning("提问时长必须大于0分钟");return}if(Me.maxQuestions<=0){P.warning("最多提问数量必须大于0");return}if(mo.value>=0){const c=m[mo.value];c.name=Me.title,c.description=`时长${Me.duration}分钟,最多${Me.maxQuestions}个问题`,c.config={...Me},P.success("候选人提问环节已更新")}else{const c={id:Date.now(),name:Me.title,description:`时长${Me.duration}分钟,最多${Me.maxQuestions}个问题`,active:!0,type:"candidate_questions",config:{...Me},visible:!0};m.splice(Y.value,0,c),P.success("候选人提问环节已添加")}Nn.value=!1,Ee()},Se=()=>{Nn.value=!1,Ee()},Ee=()=>{mo.value=-1,Object.assign(Me,{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]})},ge=L([]),Hn=qo(()=>ge.value.reduce((c,e)=>{switch(e.question_form){case 0:return c+60;case 1:return c+30;case 2:return c+30;default:return c+30}},0)),gi=qo(()=>{const c=Hn.value;if(c<60)return`${c}秒`;const e=Math.floor(c/60),C=c%60;return C>0?`${e}分${C}秒`:`${e}分钟`}),Cn=()=>{Ue.value=!0},$i=()=>{Jo.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:[]},na.value=!1,fo.value=!0},Xa=async c=>{try{const e=await Ts({...c,tenant_id:Xt.get("tenant_id")});if(console.log(c),e&&e.code===2e3){if(P.success("题目创建成功"),console.log(e),e.data){const C={id:e.data.id||e.data,title:c.question,content:c.question,question_form:c.question_form,question_form_name:Wi(c.question_form),scoring_reference:c.scoring_reference||"",competency_tag_info:c.competency_tags||[],competency_tags:c.competency_tags||[],options:c.options||[],enable_follow_up:!1,maxAnswers:1,weight:100,source:"custom_selected",question_image_url:c.question_image_url||""};ge.value.push(C)}fo.value=!1}else P.error("题目创建失败,请重试")}catch(e){console.error("创建题目失败:",e),P.error("题目创建失败,请重试")}},Ji=()=>{fo.value=!1,Jo.value={}},Wi=c=>({0:"开放问题",1:"单选题",2:"多选题",3:"识图题",4:"得分题",5:"判断题",6:"填空题"})[c]||"未知类型",Hi=c=>{if(ge.value[c].source!=="ai_generated")console.log(ge.value[c].id),hs(ge.value[c].id).then(e=>{var C;if(console.log(e),e.code===2e3){const E={id:e.data.id,content:e.data.question,question_form:e.data.question_form,question_form_name:Wi(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:(C=e.data.options)==null?void 0:C.map(O=>({text:O.option_text,is_correct:O.is_correct,sort:O.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,blank_answer_template:e.data.blank_answer_template||[],tags:e.data.tags,category_name:e.data.category_name,tag_ids:e.data.tag_ids};Object.assign(_,E)}});else{const e=ge.value[c];console.log(e),Object.assign(_,e),console.log(ge)}Ue.value=!0,Tl()},Yi=c=>{ma.confirm("确认删除该问题?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{ge.value.splice(c,1),P.success("删除成功")})},ko=()=>{window.location.reload()},qa=()=>{lo.value?(Zo(()=>{Object.assign(j,lo.value)}),console.log(j)):(Zo(()=>{Object.assign(j,JSON.parse(JSON.stringify(oa)))}),console.log("使用默认配置")),lo.value=null,_i.value=!0,it.value=!1,ko()},wn=L([]),Za=async()=>{const c=await Ci({page:1,limit:100,job_id:s.query.id});c.data&&c.data.items&&(wn.value=c.data.items),console.log(wn.value)};Zl(()=>{In(),Zi(),Zr(),mt(),_a(),Za()}),_l(()=>{ta()});const _a=async()=>{try{const c=s.query.id;if(c){const e=await jn(c);e&&e.data&&(e.data.enable_psychological_test!==void 0&&(We.enableScoreQuestions=e.data.enable_psychological_test),e.data.enable_color_blind_test!==void 0&&(We.enableColorBlindQuestions=e.data.enable_color_blind_test),Ae.positionDetection=e.data.enable_emotion_analysis,m[2].visible=e.data.question_form_switches.enable_open_questions,m[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,m[4].visible=e.data.question_form_switches.enable_scoring_questions,m[5].visible=e.data.enable_posture_check,m[0].visible=e.data.require_resume_upload)}}catch(c){console.error("初始化配置状态失败:",c)}},Yn=L(!1),at=et({title:"代码笔试",autoJudge:!0,selectedPaper:null}),er=()=>{Yn.value=!0},Xi=()=>{Yn.value=!1,Object.assign(at,{title:"代码笔试",autoJudge:!0,selectedPaper:null})},tr=()=>{if(!at.selectedPaper){P.warning("请添加考试试卷");return}const c={id:Date.now(),name:at.title,description:`${at.selectedPaper.title}`,active:!0,type:"code_test",config:{...at}};m.splice(Y.value,0,c),Yn.value=!1,P.success("代码笔试步骤已添加"),Xi()},nr=()=>{at.selectedPaper={id:1,title:"前端开发工程师笔试",questionCount:4,duration:60,difficulty:"中等难度"}},or=()=>{P.info("查看试卷功能开发中")},ir=()=>{P.info("更换试卷功能开发中")},ar=()=>{at.selectedPaper=null},Xn=L(!1),nt=et({title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]}),qi=()=>{Xn.value=!1,Object.assign(nt,{title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]})},rr=()=>{const c={id:Date.now(),name:nt.title,description:`打字测试 ${nt.duration}分钟`,active:!0,type:"typing_test",config:{...nt}};m.splice(Y.value,0,c),Xn.value=!1,P.success("打字测试步骤已添加"),qi()},Ko=L(!1),An=L(""),lr=()=>{An.value=v.title,Ko.value=!0},sr=()=>{Ko.value=!1},dr=async()=>{if(!An.value.trim()){P.warning("职位名称不能为空");return}try{const c=s.query.id;await Et({id:c,title:An.value.trim()}),v.title=An.value.trim(),Ko.value=!1,P.success("职位名称已更新")}catch(c){console.error("更新职位名称失败:",c),P.error("更新职位名称失败")}},Mo=L(!1),On=L(""),ur=()=>{On.value=v.detailed_address,Mo.value=!0},cr=()=>{Mo.value=!1},fr=async()=>{if(!On.value.trim()){P.warning("详细地址不能为空");return}try{const c=s.query.id;await Et({id:c,detailed_address:On.value.trim()}),v.detailed_address=On.value.trim(),Mo.value=!1,P.success("详细地址已更新")}catch(c){console.error("更新详细地址失败:",c),P.error("更新详细地址失败")}},No=L(!1),Jt=L(""),vr=()=>{if(!v.location)Jt.value="";else if(Array.isArray(v.location))Jt.value=v.location;else if(typeof v.location=="string")try{const e=v.location.replace(/[\[\]']/g,"").split(",").map(U=>U.trim()),C=V.find(U=>U.name===e[0]);let E,O;C&&C.children&&(E=C.children.find(U=>U.name===e[1]),E&&E.children&&(O=E.children.find(U=>U.name===e[2]))),Jt.value=[C==null?void 0:C.code,E==null?void 0:E.code,O==null?void 0:O.code].filter(Boolean)}catch(c){console.error("解析地址失败:",c),Jt.value=""}No.value=!0},pr=()=>{No.value=!1},mr=async()=>{try{const c=s.query.id,e=[];if(Jt.value&&Array.isArray(Jt.value)){const[C,E,O]=Jt.value,U=V.find(re=>re.code===C);let ie,J;U&&(e.push(U.name),U.children&&(ie=U.children.find(re=>re.code===E),ie&&(e.push(ie.name),ie.children&&(J=ie.children.find(re=>re.code===O),J&&e.push(J.name)))))}await Et({id:c,location:e}),v.location=e,No.value=!1,P.success("工作地点已更新")}catch(c){console.error("更新工作地点失败:",c),P.error("更新工作地点失败")}},Bo=L(!1),qn=L("月薪"),gn=L(0),tn=L(0),gr=()=>{if(v.salary_range){const c=v.salary_range.split(" ");if(c.length>=2){qn.value=c[0];const e=c[1].split("-");e.length===2&&(gn.value=parseInt(e[0])||0,tn.value=parseInt(e[1])||0)}}else qn.value="月薪",gn.value=0,tn.value=0;Bo.value=!0},hr=()=>{Bo.value=!1},hi=()=>{gn.value>tn.value&&tn.value!==0&&(gn.value=tn.value)},yr=async()=>{try{const c=s.query.id,e=`${qn.value} ${gn.value}-${tn.value}`;await Et({id:c,salary_range:e}),v.salary_range=e,Bo.value=!1,P.success("职位薪资已更新")}catch(c){console.error("更新职位薪资失败:",c),P.error("更新职位薪资失败")}},Fo=L(!1),Zn=L(""),br=()=>{Zn.value=v.work_experience_required||"",Fo.value=!0},Sr=()=>{Fo.value=!1},Er=async()=>{try{const c=s.query.id;await Et({id:c,work_experience_required:Zn.value}),v.work_experience_required=Zn.value,Fo.value=!1,P.success("工作经验已更新")}catch(c){console.error("更新工作经验失败:",c),P.error("更新工作经验失败")}},jo=L(!1),_n=L(""),xr=()=>{_n.value=v.education_required||"",jo.value=!0},Ir=()=>{jo.value=!1},Cr=async()=>{try{const c=s.query.id;await Et({id:c,education_required:_n.value}),v.education_required=_n.value,jo.value=!1,P.success("学历要求已更新")}catch(c){console.error("更新学历要求失败:",c),P.error("更新学历要求失败")}},Lo=L(!1),eo=L(""),wr=()=>{eo.value=v.department||"",Lo.value=!0},Ar=()=>{Lo.value=!1},Or=async()=>{try{const c=s.query.id;await Et({id:c,department:eo.value.trim()}),v.department=eo.value.trim(),Lo.value=!1,P.success("所属部门已更新")}catch(c){console.error("更新所属部门失败:",c),P.error("更新所属部门失败")}},Qo=L(!1),to=L(""),Tr=()=>{to.value=v.end_date||"",Qo.value=!0},Dr=()=>{Qo.value=!1},Pr=async()=>{try{const c=s.query.id;await Et({id:c,end_date:to.value}),v.end_date=to.value,Qo.value=!1,P.success("截止日期已更新")}catch(c){console.error("更新截止日期失败:",c),P.error("更新截止日期失败")}},no=L(!1),oo=L(""),Rr=()=>{oo.value=v.requirements||"",no.value=!0},Vr=()=>{no.value=!1},Ur=async()=>{try{const c=s.query.id;await Et({id:c,requirements:oo.value}),v.requirements=oo.value,no.value=!1,P.success("职位要求已更新")}catch(c){console.error("更新职位要求失败:",c),P.error("更新职位要求失败")}},io=L(!1),ao=L(""),kr=()=>{ao.value=v.description||"",io.value=!0},Kr=()=>{io.value=!1},Mr=async()=>{try{const c=s.query.id;await Et({id:c,description:ao.value}),v.description=ao.value,io.value=!1,P.success("职位描述已更新")}catch(c){console.error("更新职位描述失败:",c),P.error("更新职位描述失败")}},Tn=L(!1),ro=L(0),Nr=()=>{ro.value=v.job_type||0,Tn.value=!0},Br=()=>{Tn.value=!1},Fr=async()=>{try{const c=s.query.id;await Et({id:c,job_type:ro.value}),v.job_type=ro.value,Tn.value=!1,P.success("职位性质已更新")}catch(c){console.error("更新职位性质失败:",c),P.error("更新职位性质失败")}},Rt=L([]),Go=L(!1),Dn=L([]),Zi=async()=>{try{const c=await ps({page:1,pageSize:1e3});c&&c.data&&(ke.value=c.data.items.map(e=>({id:e.id,name:e.name,selected:!1})))}catch(c){console.error("获取能力标签列表失败:",c),P.error("获取能力标签列表失败")}},jr=async()=>{var c;await Zi(),Dn.value=((c=v.competency_tags)==null?void 0:c.map(e=>e.id))||[],ke.value.forEach(e=>{e.selected=Dn.value.includes(e.id)}),Go.value=!0},Lr=()=>{Go.value=!1},Qr=async()=>{try{const c=s.query.id;await Et({id:c,competency_tags:Dn.value}),v.competency_tags=ke.value.filter(e=>Dn.value.includes(e.id)).map(e=>({id:e.id,name:e.name})),Go.value=!1,P.success("能力标签已更新")}catch(c){console.error("更新能力标签失败:",c),P.error("更新能力标签失败")}},Gr=L(null),Te=L(0),lo=L(null),_i=L(!1),zo=async c=>{if(c.name==="资料收集"){const e=await jn(s.query.id);e&&e.data&&(Te.value=e.data.id,lo.value=JSON.parse(JSON.stringify(j)),console.log(lo.value),Ma(j,e.data.profile_fields_config),it.value=!0,Z.value=!1);return}if(c.name==="AI考察"){if(c.action==="delete"){await Dl();return}const e=await jn(s.query.id);Mn.value=!0,Gr.value=c,$.value=!0,Q.value=1;try{const C=await ba({position_id:s.query.id,page:1,limit:20});C&&C.data&&C.data.dataList&&(ge.value=C.data.dataList.map(U=>(U.content=U.question,U.title=U.question,U.competency_tags=U.competency_tag_info,U.source="ai_generated",U)));const E=await Ci({job_id:s.query.id,page:1,limit:50});if(E&&E.data){const U=E.data.items.filter(re=>re.question_form!==4&&re.question_form!==5).map(re=>(re.content=re.question,re.title=re.question,re.source="selected_application",re.id=re.question_id,re)),ie=new Set(ge.value.map(re=>re.content)),J=U.filter(re=>!ie.has(re.content));ge.value=[...ge.value,...J],console.log("chatQuestions",ge.value)}const O=await xs({position_id:s.query.id,page:1,limit:50});if(console.log("existingTags",O),O&&O.data&&O.data.items.length>0)O.data.items.forEach(U=>{U.importance=1,U.selected=!1,v.latest_competency_snapshot&&Array.isArray(v.latest_competency_snapshot)&&(U.selected=v.latest_competency_snapshot.some(ie=>ie.id===U.id))}),Rt.value=O.data.items;else{const U=await ga({position_id:s.query.id});if(U&&U.data){U.data.forEach(ie=>{ie.selected=!1}),Rt.value=U.data;try{await Is({position_id:s.query.id,tags:Rt.value}),P.success("胜任力标签保存成功")}catch(ie){console.error("保存胜任力标签失败:",ie),P.error("胜任力标签保存失败")}}}e&&e.data&&(Te.value=e.data.id)}catch(C){console.error("获取或生成能力标签失败:",C),P.error("获取或生成能力标签失败")}finally{Mn.value=!1}Object.keys(ve).forEach(C=>{ve[C]=!1})}c.name==="综合素质考察"&&qt({page:1,limit:20}).then(e=>{e.data&&(lt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,jt.value=e.data.total,Nl(),x.value=!0)}),c.name==="心理测试"&&qt({page:1,limit:30,question_form:4}).then(e=>{e.data&&(st.question_form=4,lt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,jt.value=e.data.total,jl(),Rn.value=!0)})},nn=L(""),Pn=L(""),zr=L(!1),$r=async()=>{if(!nn.value.trim()){P.warning("请输入维度名称");return}if(Rt.value.find(e=>e.name===nn.value.trim())){P.warning("该维度名称已存在,请重新输入");return}try{const e=await ys({name:nn.value.trim(),description:Pn.value.trim(),importance:1,weight:0});if(!e.data)throw new Error("创建标签失败");const C=e.data.id;await bs({tag_ids:[C],position_ids:[t.value]});const E={id:C,name:nn.value.trim(),description:Pn.value.trim(),selected:!1,importance:1,weight:0,isCustom:!0};Rt.value.push(E),zr.value,nn.value="",Pn.value="",console.log("添加新维度成功:",E),console.log("当前备选维度列表:",Rt.value)}catch(e){console.error("添加自定义维度失败:",e),P.error("添加自定义维度失败,请重试")}},rt=et({keepVideo:!0,interruptionMode:"",smartFollowUp:!1,followUpStyle:""}),yi=L([{id:1,name:"Jessica",image:"/avatars/jessica.png"},{id:2,name:"Mike",image:"/avatars/mike.png"},{id:3,name:"Sarah",image:"/avatars/sarah.png"}]),gt=L(yi.value[0]),$o=L(""),Jr=c=>{gt.value=c,console.log("选中的面试官信息:",{id:c.id,name:c.name,avatar_url:c.avatar_url||c.image}),$o.value=c.avatar_url,P.success(`已选择面试官:${c.name}`)},Wr=async()=>{const c=ge.value.filter(C=>C.source==="ai_generated"),e=ge.value.filter(C=>C.source==="custom_selected");if(console.log("AI生成的题目:",c),console.log("自定义选择的题目:",e),c.length>0&&(await Ss({draft_ids:c.map(C=>C.id)}),console.log("AI生成的题目已保存到草稿")),e.length>0){const C={position_id:s.query.id,question_id:{question_id:e},duration:60,tenant_id:Xt.get("tenant_id")};console.log("自定义选择的题目需要调用专门的接口处理");const E=await Ii(C);E&&E.code===2e3?P.success("自定义选择的题目已保存"):P.error("自定义选择的题目保存失败")}},bi=()=>{const c={keepVideo:rt.keepVideo,interruptionMode:rt.interruptionMode,followUpStyle:rt.followUpStyle,smartFollowUp:rt.smartFollowUp};return console.log("当前面试设置:",c),c},so=(c,e)=>{switch(console.log(`面试设置 ${c} 已更改为:`,e),c){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}},Hr=()=>{const c=bi(),e={isValid:!0,messages:[]};return c.interruptionMode===""&&(e.isValid=!1,e.messages.push("请选择中断后作答限制模式")),e},Yr=c=>{l.value=!0,console.log("开始拖拽题目:",c)},Xr=c=>{l.value=!1,console.log("拖拽结束:",c),console.log("当前题目顺序:",ge.value),P.success("题目顺序已更新")},qr=()=>({interviewer:{id:gt.value.id,name:gt.value.name,avatar_url:gt.value.avatar_url||gt.value.image},settings:bi(),questionSettings:{enableScoreQuestions:We.enableScoreQuestions,enableColorBlindQuestions:We.enableColorBlindQuestions},abilities:ne.value,questions:ge.value,currentStep:Q.value}),Zr=async()=>{const c=await ms({page:1,pageSize:1e3});c&&c.data&&(yi.value=c.data)},ea=(c,e)=>{e?uo.value.push({name:c.name,description:c.description||"暂无描述"}):uo.value=uo.value.filter(C=>C.name!==c.name)},_r=c=>{ma.confirm("确认删除这个胜任力标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const e=ne.value[c];ne.value.splice(c,1),uo.value=uo.value.filter(E=>E.name!==e.label);const C=Rt.value.find(E=>E.name===e.label);C&&(C.selected=!1),P.success("胜任力标签已删除")}).catch(()=>{})},uo=L([]),el=c=>new Promise(e=>setTimeout(e,c));let Wt=null;const tl=async(c,e=300,C=2e3)=>{let E=0;Wt={cancelled:!1};const O=Wt;return new Promise((U,ie)=>{const J=async()=>{try{if(O.cancelled){console.log("轮询已被取消"),U(null);return}E++,console.log(`第${E}次轮询获取草稿列表...`);const re=await ba(c);if(O.cancelled){console.log("轮询已被取消"),U(null);return}if(re&&re.data&&re.data.dataList&&re.data.dataList.length>0){console.log("轮询成功,获取到草稿列表数据"),Wt=null,U(re);return}if(E>=e){console.log("轮询达到最大次数,停止轮询"),Wt=null,U(re);return}setTimeout(J,C)}catch(re){if(console.error(`第${E}次轮询失败:`,re),O.cancelled){console.log("轮询已被取消"),U(null);return}E<e?setTimeout(J,C):(Wt=null,ie(re))}};J()})},ta=()=>{Wt&&(Wt.cancelled=!0,Wt=null,console.log("轮询已被手动取消"))},nl=()=>{ta(),tt.value=!1,P.info("已取消AI自动组题")},Rn=L(!1),co=L(""),lt=L([]),kt=L([]),fo=L(!1),Jo=L({}),na=L(!1);L(0);const jt=L(0),st=et({page:1,pageSize:10,keyword:"",question_form:null}),ct=et({page:1,limit:20,keyword:"",question_form:null}),ol=async()=>{try{const c={...st,keyword:co.value,...st.question_form!==null&&{question_form:st.question_form}},e=await qt(c);e&&e.data&&(console.log(e.data),lt.value=e.data.items,jt.value=e.data.total)}catch(c){console.error("获取题目列表失败:",c),P.error("获取题目列表失败")}},Wo=()=>{st.page=1,ol()},il=c=>{kt.value=c},al=()=>{Rn.value=!1,kt.value=[],co.value=""},rl=async()=>{if(kt.value.length===0){P.warning("请至少选择一个题目");return}try{const c=kt.value.map(C=>C.id);if(c.length==0)return;await Ii({position_id:s.query.id,question_id:c,duration:60,tenant_id:Xt.get("tenant_id")});const e=kt.value.map(C=>({id:C.id,title:C.question||C.title,ability:C.ability||"未设置",content:C.content||C.question,target:C.target||"未设置",competency_tags:C.competency_tags||[],question_form_name:C.question_form_name,scoring_reference:C.scoring_reference,question_form:C.question_form,is_required_correct:C.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:C.options||[],source:"custom_selected"}));ge.value.push(...e),Rn.value=!1,kt.value=[],co.value="",P.success("题目添加成功"),ko()}catch(c){console.error("添加题目失败:",c),Rn.value=!1,c.code===4e3?P.warning("该题目已绑定,请选择其他题目"):P.error("添加题目失败,请重试")}},oa={name:{visible:!0,label:"姓名",required:!0},gender:{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},political_status:{visible:!0,label:"政治面貌",required:!1},family_member:{visible:!0,label:"家庭成员",fields:{relation:{visible:!0,label:"称谓",required:!0},name:{visible:!0,label:"姓名",required:!0},workplace:{visible:!0,label:"工作单位/家庭地址",required:!1},position:{visible:!0,label:"职务",required:!1},phone:{visible:!0,label:"联系电话",required:!0},family_contact_person:{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},company_size:{visible:!0,label:"单位人数",required:!0},department:{visible:!0,label:"任职部门",required:!0},position:{visible:!0,label:"担任职务",required:!0},monthly_salary:{visible:!0,label:"月总收入",required:!0},direct_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}},j=et(()=>{const c=i(s.query.id);return c?(console.log("从缓存加载字段配置"),c):(console.log("使用默认字段配置"),JSON.parse(JSON.stringify(oa)))})(),ll=async()=>{try{const c={position_id:s.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:j.name.required,visible:j.name.visible},phone:{required:j.phone.required,visible:j.phone.visible},id_card:{required:j.id_card.required,visible:j.id_card.visible},gender:{required:j.gender.required,visible:j.gender.visible},birth_date:{required:!1,visible:!0},political_status:{required:j.political_status.required,visible:j.political_status.visible},ethnicity:{required:j.ethnicity.required,visible:j.ethnicity.visible},height:{required:j.height.required,visible:j.height.visible},weight:{required:j.weight.required,visible:j.weight.visible},marital_status:{required:j.marital_status.required,visible:j.marital_status.visible},expected_salary:{required:j.expected_salary.required,visible:j.expected_salary.visible},household_location:{required:j.household_location.required,visible:j.household_location.visible}},require_education_info:j.education.visible,education_fields_config:{school_name:{required:j.education.fields.school_name.required,visible:j.education.fields.school_name.visible},major:{required:j.education.fields.major.required,visible:j.education.fields.major.visible},degree:{required:j.education.fields.degree.required,visible:j.education.fields.degree.visible},start_date:{required:j.education.fields.start_time.required,visible:j.education.fields.start_time.visible},end_date:{required:j.education.fields.end_time.required,visible:j.education.fields.end_time.visible}},require_work_experience:j.work_experience.visible,work_experience_fields_config:{company_name:{required:j.work_experience.fields.company_name.required,visible:j.work_experience.fields.company_name.visible},position:{required:j.work_experience.fields.position.required,visible:j.work_experience.fields.position.visible},department:{required:j.work_experience.fields.department.required,visible:j.work_experience.fields.department.visible},start_date:{required:j.work_experience.fields.start_time.required,visible:j.work_experience.fields.start_time.visible},end_date:{required:j.work_experience.fields.end_time.required,visible:j.work_experience.fields.end_time.visible},job_description:{required:!0,visible:!0},achievements:{required:!1,visible:!0},resignation_reason:{required:!1,visible:!0},company_size:{required:j.work_experience.fields.company_size.required,visible:j.work_experience.fields.company_size.visible},monthly_salary:{required:j.work_experience.fields.monthly_salary.required,visible:j.work_experience.fields.monthly_salary.visible},supervisor_phone:{required:j.work_experience.fields.supervisor_phone.required,visible:j.work_experience.fields.supervisor_phone.visible}},require_family_info:j.family_member.visible,family_fields_config:{relation:{required:j.family_member.fields.relation.required,visible:j.family_member.fields.relation.visible},name:{required:j.family_member.fields.name.required,visible:j.family_member.fields.name.visible},workplace:{required:j.family_member.fields.workplace.required,visible:j.family_member.fields.workplace.visible},position:{required:j.family_member.fields.position.required,visible:j.family_member.fields.position.visible},phone:{required:j.family_member.fields.phone.required,visible:j.family_member.fields.phone.visible},family_contact_person:{required:j.family_member.fields.family_contact_person.required,visible:j.family_member.fields.family_contact_person.visible}},require_training_info:j.training_fields_config.visible,require_professional_skills:j.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};Te.value==0||(c.id=Te.value),Te.value==0?(await bo(c)).code==2e3?(P.success("配置保存成功"),o(j,s.query.id),it.value=!1,Z.value=!1):P.error("配置保存失败"):(await yt(c)).code==2e3?(P.success("配置保存成功"),o(j,s.query.id),it.value=!1,Z.value=!1):P.error("配置保存失败")}catch(c){console.error("保存配置失败:",c),P.error("配置保存失败")}},sl=()=>({name:j.name,id_card:j.id_card,phone:j.phone,gender:j.gender,ethnicity:j.ethnicity,height:j.height,weight:j.weight,current_address:j.current_address,household_location:j.household_location,marital_status:j.marital_status,expected_salary:j.expected_salary,political_status:j.political_status}),dl=()=>({skills:j.require_professional_skills,training:j.training_fields_config}),Vn=L(!1),Ae=et({faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部结束,感谢您的参与,请等待后续通知。"}),Un=L(!1),vo=L(!1),po=L(!1),on=L(""),kn=L(""),Kn=L(""),ul=()=>{an.value&&Object.keys(an.value).length>0&&(Object.assign(Ae,an.value),console.log("已恢复原始配置:",an.value)),Vn.value=!1,Un.value=!1,vo.value=!1,po.value=!1,an.value={},ko()},cl=async()=>{let c;c=await yt({id:Te.value,enable_emotion_analysis:Ae.positionDetection}),c.code==2e3||P.error("配置保存失败")},fl=()=>{cl(),P.success("面试设置已保存");const c=s.query.id,e=`reviewInterview_${c}`;sessionStorage.setItem(e,String(Ae.reviewInterview)),console.log(`职位 ${c} 的 reviewInterview 已保存:`,Ae.reviewInterview),Vn.value=!1,an.value={}},an=L({}),vl=async()=>{var c;try{const e=await jn(s.query.id);if(e&&e.data)Zo(()=>{an.value={...Ae};const C=s.query.id,E=`reviewInterview_${C}`,O=sessionStorage.getItem(E);Ae.reviewInterview=O==="true",console.log(`职位 ${C} 的 reviewInterview 配置:`,O,"转换后:",Ae.reviewInterview)}),Vn.value=!0,Te.value=e.data.id,Ae.beforeStartText=e.data.digital_human_opening_speech;else if(e&&e.code===2e3&&e.message==="该职位暂无配置")try{const C=await bo({position_id:s.query.id,enable_psychological_test:!1,enable_color_blind_test:!1,digital_human_id:null,digital_human_opening_speech:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。"});C&&C.code===2e3?(Te.value=((c=C.data)==null?void 0:c.id)||C.data,P.success("已自动创建职位配置"),Zo(()=>{an.value={...Ae};const E=s.query.id,O=`reviewInterview_${E}`,U=sessionStorage.getItem(O);Ae.reviewInterview=U==="true",console.log(`职位 ${E} 的 reviewInterview 配置:`,U,"转换后:",Ae.reviewInterview)}),Vn.value=!0,Ae.beforeStartText="你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。"):P.warning("自动创建配置失败,请手动创建")}catch(C){console.error("自动创建配置失败:",C),P.warning("自动创建配置失败,请手动创建")}}catch(e){console.error("获取配置失败:",e),P.error("获取配置失败")}},pl=()=>{on.value=Ae.beforeStartText,Un.value=!0},ml=()=>{Un.value=!1,on.value=""},gl=async()=>{var c;if(!on.value.trim()){P.warning("开始前提示内容不能为空");return}Ae.beforeStartText=on.value.trim();try{let e;if(console.log(Te.value),Te.value==0)e=await bo({position_id:s.query.id,digital_human_opening_speech:on.value.trim()}),e.code===2e3?(Te.value=((c=e.data)==null?void 0:c.id)||e.data,P.success("开场词提示内容已创建"),Un.value=!1):P.error("开场词提示内容创建失败");else if(e=await yt({id:Te.value,digital_human_opening_speech:on.value.trim()}),e.code===2e3){P.success("开场词提示内容已更新"),Un.value=!1;try{const C={config_id:Te.value};await wi(C),console.log("开场词生成成功")}catch(C){console.error("获取开场词失败:",C),P.warning("开场词生成中,请稍后")}}else P.error("开场词提示内容更新失败")}catch(e){console.error("保存开场词提示内容失败:",e),P.error("保存失败,请重试")}},hl=()=>{kn.value=Ae.afterStartText,vo.value=!0},yl=()=>{vo.value=!1,kn.value=""},bl=()=>{if(!kn.value.trim()){P.warning("开始后提醒内容不能为空");return}Ae.afterStartText=kn.value.trim(),vo.value=!1,P.success("开始后提醒内容已更新")},Sl=()=>{Kn.value=Ae.disclaimerText,po.value=!0},El=()=>{po.value=!1,Kn.value="",ko()},xl=()=>{if(!Kn.value.trim()){P.warning("内容不能为空");return}Ae.disclaimerText=Kn.value.trim(),po.value=!1,P.success("内容已更新")},hn=et({openQuestionsCount:5,choiceQuestionsCount:10}),ia=()=>{console.log("题目数量已更新:",hn)},aa=async()=>{try{tt.value=!0;const c=ne.value.map(E=>E.id);if(c.length===0){P.warning("请先选择能力标签");return}const e={position_id:s.query.id,competency_tag_ids:c,open_questions_count:hn.openQuestionsCount,choice_questions_count:hn.choiceQuestionsCount,auto_save:!0,tenant_id:Xt.get("tenant_id")},C=await Es(e);if(C&&C.data){const E=await tl({tenant_id:Xt.get("tenant_id"),page:1,limit:30,position_id:s.query.id});if(console.log(E),E===null){console.log("轮询被取消,停止处理");return}if(E&&E.data&&E.data.dataList){const O=E.data.dataList.map(U=>({id:U.id||Date.now(),title:U.question||U.title,ability:U.ability||"未设置",content:U.content||U.question,target:U.target||"未设置",competency_tags:U.competency_tag_info||[],question_form_name:U.question_form_name,scoring_reference:U.scoring_reference,question_form:U.question_form,is_required_correct:U.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:U.options||[],source:"ai_generated"}));ge.value=O,P.success(`已成功生成${O.length}个面试题目`)}else P.warning("AI生成题目中,请稍后再试")}}catch(c){console.error("AI自动组题失败:",c),P.error("AI自动组题失败,请重试")}finally{tt.value=!1}},Il=c=>{if(_.competency_tags=[],c.length>0){const e=Math.floor(100/c.length),C=100%c.length;_.competency_tags=c.map((E,O)=>{const U=ke.value.find(ie=>ie.id===E);return{id:E,name:U?U.name:`标签${E}`,weight:e+(O<C?1:0)}})}},Cl=c=>{switch(_.type=c,c){case"open":_.suggestedDuration=120;break;case"single":case"multiple":_.suggestedDuration=60;break;case"fill":_.suggestedDuration=30;break;case"self":_.suggestedDuration=180;break;default:_.suggestedDuration=60}},Mn=L(!1),Nn=L(!1),mo=L(-1),Me=et({title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}),wl=(c,e)=>{mo.value=e,c.config?Object.assign(Me,c.config):(Me.title=c.name,Me.description=c.description||"候选人可以向面试官提问关于公司、职位或团队的问题",Me.duration=5,Me.maxQuestions=3,Me.isRequired=c.active,Me.allowSkip=!1,Me.guidelines=["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]),Nn.value=!0},Al=(c,e)=>{switch(c.type){case"ai_video":zo(c);break;case"candidate_questions":wl(c,e);break;case"data_collection":zo(c);break;case"resume_collection":zo(c);break;default:zo(c);break}},Ol=(c,e)=>{(e===null||e<0)&&(e=0),e>100&&(e=100);const C=_.competency_tags;C[c].weight;const E=Math.round(e);if(C[c].weight=E,C.length===1){C[0].weight=100;return}const O=C.filter((ie,J)=>J!==c),U=O.reduce((ie,J)=>ie+J.weight,0);if(U===0){const ie=100-E,J=Math.floor(ie/O.length),re=ie%O.length;O.forEach((dt,At)=>{const Lt=C.findIndex(Qt=>Qt.id===dt.id);C[Lt].weight=J+(At<re?1:0)})}else{const ie=100-E;if(ie>0){O.forEach(re=>{const dt=C.findIndex(Lt=>Lt.id===re.id),At=re.weight/U;C[dt].weight=Math.round(ie*At)});const J=Si();if(J!==100){const re=100-J,dt=O.reduce((Lt,Qt)=>Qt.weight>Lt.weight?Qt:Lt),At=C.findIndex(Lt=>Lt.id===dt.id);C[At].weight+=re}}else O.forEach(J=>{const re=C.findIndex(dt=>dt.id===J.id);C[re].weight=0})}},Si=()=>_.competency_tags.reduce((e,C)=>e+(C.weight||0),0),Tl=()=>{const c=_.competency_tags;if(c.length===0)return;const e=Math.floor(100/c.length),C=100%c.length;c.forEach((E,O)=>{E.weight=e+(O<C?1:0)})},ra=qo({get:()=>Xe(_.competency_tags),set:c=>{_.competency_tags=c,Il(c)}}),Dl=async()=>{try{const c=await Cs({position_id:s.query.id,tenant_id:Xt.get("tenant_id"),is_ai_generated:!0});c&&c.data&&c.data.length>0&&(await ws({position_id:s.query.id,question_id:c.data.map(e=>e.id),tenant_id:Xt.get("tenant_id")}),Te.value>0&&await yt({id:Te.value,enable_ai_questions:!1}),P.success("AI考察问题已删除"))}catch(c){console.error("删除AI考察问题失败:",c),P.error("删除AI考察问题失败")}};ca(()=>j.question_form_switches.enable_open_questions,c=>{c?m.forEach(e=>{e.type==="ai_interview"&&(e.visible=!0)}):m.forEach(e=>{e.type==="ai_interview"&&(e.visible=!1)})},{immediate:!0}),ca(j,c=>{_i.value&&(d.value&&clearTimeout(d.value),d.value=setTimeout(()=>{o(c,s.query.id),console.log("字段配置已自动保存到本地缓存")},1e3))},{deep:!0}),L(!1),L(!1);const Pl=L(!1),Ho=L(!1),rn=L({duration:5,detectionItems:["face","pose"],promptText:"请按照提示完成相应的动作,系统将自动进行检测。"}),Rl=()=>{Ho.value=!1},Vl=async()=>{try{await saveProcessConfig({position_id:s.params.id,process_type:"posture_check",config:rn.value}),P.success("配置保存成功"),Ho.value=!1}catch(c){console.error("保存肢体检测配置失败:",c),P.error("配置保存失败")}},go=L(!1),la=L([]),Ul=L(),kl=c=>{console.log(c);const{firstLevel:e,secondLevel:C,currentNode:E}=c;C?qt({page:1,limit:20,question_tags:C.id.replace("tag_",""),question_form:st.question_form}).then(O=>{O.data&&(lt.value=O.data.items,ct.page=O.data.page,ct.pageSize=O.data.limit,jt.value=O.data.total)}):e&&qt({page:1,limit:20,question_category:e.id.replace("category_",""),question_form:st.question_form}).then(O=>{O.data&&(lt.value=O.data.items,ct.page=O.data.page,ct.pageSize=O.data.limit,jt.value=O.data.total)})},Kl=c=>{console.log(c)},Ml=c=>{console.log(c)},Nl=()=>{go.value=!0,Sa({page:1,limit:100}).then(c=>{console.log("ret",c),c.data,Ea({page:1,limit:100}).then(e=>{console.log("res",e);const C=e.data.items.filter(E=>!["技术能力","服务意识","职业素质","基本常识","色盲检测","内容铺垫","心理测试1","心理测试"].includes(E.name));xa({}).then(E=>{console.log("res",E);const O=E.data.items,U=[...C.map(ie=>({id:`category_${ie.id}`,title:ie.name,children:O.filter(J=>J.category_id===ie.id).map(J=>({id:`tag_${J.id}`,title:J.name,chinese_explanation:J.chinese_explanation||""}))}))];la.value=U,go.value=!1})})}).catch(()=>{go.value=!1}).finally(()=>{go.value=!1})},ho=L(!1),sa=L([]),Bl={children:"children",label:"title"},Fl=async c=>{try{if(c.id.startsWith("category_")){const e=c.id.replace("category_",""),C=await qt({page:1,limit:1e3,question_category:e,question_form:st.question_form});if(C&&C.data){lt.value=C.data.items,ct.page=C.data.page,ct.pageSize=C.data.limit,jt.value=C.data.total;const E=document.querySelector(".el-table__header-wrapper");if(E){const O=E.querySelector(".el-checkbox");O&&O.__vueParentComponent.emit("change",!0)}kt.value=C.data.items}}else if(c.id.startsWith("tag_")){const e=c.id.replace("tag_",""),C=await qt({page:1,limit:1e3,question_tags:e,question_form:st.question_form});if(C&&C.data){lt.value=C.data.items,ct.page=C.data.page,ct.pageSize=C.data.limit,jt.value=C.data.total;const E=document.querySelector(".el-table__header-wrapper");if(E){const O=E.querySelector(".el-checkbox");O&&O.__vueParentComponent.emit("change",!0)}kt.value=C.data.items}}}catch(e){console.error("获取题目列表失败:",e),P.error("获取题目列表失败")}},jl=()=>{ho.value=!0,Sa({page:1,limit:100}).then(c=>{console.log("ret",c),c.data,Ea({page:1,limit:100}).then(e=>{console.log("res",e);const C=e.data.items.filter(E=>["心理测试"].includes(E.name));xa({}).then(E=>{console.log("res",E);const O=E.data.items,U=[...C.map(ie=>({id:`category_${ie.id}`,title:ie.name,children:O.filter(J=>J.category_id===ie.id).map(J=>({id:`tag_${J.id}`,title:J.name,chinese_explanation:J.chinese_explanation||""}))}))];sa.value=U,ho.value=!1})})}).catch(()=>{ho.value=!1}).finally(()=>{ho.value=!1})};return(c,e)=>{const C=Ve("page-header"),E=Ve("el-button"),O=Ve("el-icon"),U=Ve("el-input"),ie=Ve("el-cascader"),J=Ve("el-option"),re=Ve("el-select"),dt=Ve("el-input-number"),At=Ve("el-tag"),Lt=Ve("el-date-picker"),Qt=Ve("el-card"),ht=Ve("el-switch"),Ot=Ve("el-dialog"),Ht=Ve("el-checkbox"),Ll=Ve("Refresh"),yo=Ve("el-radio"),da=Ve("el-upload"),Bn=Ve("el-tooltip"),Ql=Ve("Folder"),Gl=Ve("el-tree"),Gt=Ve("el-col"),Yt=Ve("el-row"),zl=Ve("el-radio-group"),Yo=Ve("el-table-column"),ua=Ve("el-table"),$l=Ve("el-pagination"),Ei=Ve("el-form-item"),Jl=Ve("el-checkbox-group"),Wl=Ve("el-form"),Xo=es("loading");return K(),W("div",gd,[r("div",hd,[p(C,{title:"测试",onBack:Wn}),r("div",yd,[p(E,{type:"primary",onClick:wt},{default:y(()=>e[93]||(e[93]=[k("保存")])),_:1})])]),r("div",bd,[p(Qt,{class:"detail-card"},{default:y(()=>[e[129]||(e[129]=r("div",{class:"section-title"},[r("div",{class:"section-line"}),r("span",null,"职位详情")],-1)),r("div",Sd,[e[96]||(e[96]=r("div",{class:"detail-label"},"职位名称",-1)),Ko.value?(K(),W("div",xd,[p(U,{modelValue:An.value,"onUpdate:modelValue":e[0]||(e[0]=g=>An.value=g),placeholder:"请输入职位名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"]),r("div",Id,[p(E,{size:"small",onClick:sr},{default:y(()=>e[94]||(e[94]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:dr},{default:y(()=>e[95]||(e[95]=[k("保存")])),_:1})])])):(K(),W("div",Ed,[k(le(v.title)+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:lr},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:1})]))]),r("div",Cd,[e[99]||(e[99]=r("div",{class:"detail-label"},"工作地点",-1)),No.value?(K(),W("div",Ad,[p(ie,{modelValue:Jt.value,"onUpdate:modelValue":e[1]||(e[1]=g=>Jt.value=g),options:ce(V),props:{expandTrigger:"hover",checkStrictly:!1,value:"code",label:"name"},style:{width:"100%"},placeholder:"请选择工作地点",clearable:"",onChange:F},null,8,["modelValue","options"]),r("div",Od,[p(E,{size:"small",onClick:pr},{default:y(()=>e[97]||(e[97]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:mr},{default:y(()=>e[98]||(e[98]=[k("保存")])),_:1})])])):(K(),W("div",wd,[k(le((()=>{if(!v.location)return"暂无";if(Array.isArray(v.location))return v.location.join(",");if(typeof v.location=="string")try{return v.location.replace(/[\[\]']/g,"").split(",").map(se=>se.trim()).join(",")}catch{return v.location}return v.location})())+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:vr},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:1})]))]),r("div",Td,[e[102]||(e[102]=r("div",{class:"detail-label"},"详细地址",-1)),Mo.value?(K(),W("div",Pd,[p(U,{modelValue:On.value,"onUpdate:modelValue":e[2]||(e[2]=g=>On.value=g),placeholder:"请输入详细地址",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),r("div",Rd,[p(E,{size:"small",onClick:cr},{default:y(()=>e[100]||(e[100]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:fr},{default:y(()=>e[101]||(e[101]=[k("保存")])),_:1})])])):(K(),W("div",Dd,[k(le(v.detailed_address||"暂无")+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:ur},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:1})]))]),r("div",Vd,[e[106]||(e[106]=r("div",{class:"detail-label"},"职位薪资",-1)),Bo.value?(K(),W("div",kd,[r("div",Kd,[p(re,{modelValue:qn.value,"onUpdate:modelValue":e[3]||(e[3]=g=>qn.value=g),placeholder:"薪资类型",class:"salary-type-select",onChange:hi},{default:y(()=>[p(J,{label:"月薪",value:"月薪"}),p(J,{label:"年薪",value:"年薪"}),p(J,{label:"日薪",value:"日薪"}),p(J,{label:"时薪",value:"时薪"})]),_:1},8,["modelValue"]),p(dt,{modelValue:gn.value,"onUpdate:modelValue":e[4]||(e[4]=g=>gn.value=g),placeholder:"起始薪资",class:"salary-input",type:"number","controls-position":"right",min:"0",onInput:hi},null,8,["modelValue"]),e[103]||(e[103]=r("span",{class:"salary-separator"},"-",-1)),p(dt,{modelValue:tn.value,"onUpdate:modelValue":e[5]||(e[5]=g=>tn.value=g),placeholder:"最高薪资",class:"salary-input","controls-position":"right",type:"number",min:"0",onInput:hi},null,8,["modelValue"])]),r("div",Md,[p(E,{size:"small",onClick:hr},{default:y(()=>e[104]||(e[104]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:yr},{default:y(()=>e[105]||(e[105]=[k("保存")])),_:1})])])):(K(),W("div",Ud,[k(le(v.salary_range||"暂无")+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:gr},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:1})]))]),r("div",Nd,[e[109]||(e[109]=r("div",{class:"detail-label"},"工作经验",-1)),Fo.value?(K(),W("div",Fd,[p(re,{modelValue:Zn.value,"onUpdate:modelValue":e[6]||(e[6]=g=>Zn.value=g),placeholder:"请选择工作经验",style:{width:"100%"}},{default:y(()=>[p(J,{label:"不限",value:"不限"}),p(J,{label:"应届毕业生",value:"应届毕业生"}),p(J,{label:"1年以下",value:"1年以下"}),p(J,{label:"1-3年",value:"1-3年"}),p(J,{label:"3-5年",value:"3-5年"}),p(J,{label:"5-10年",value:"5-10年"}),p(J,{label:"10年以上",value:"10年以上"})]),_:1},8,["modelValue"]),r("div",jd,[p(E,{size:"small",onClick:Sr},{default:y(()=>e[107]||(e[107]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:Er},{default:y(()=>e[108]||(e[108]=[k("保存")])),_:1})])])):(K(),W("div",Bd,[k(le(v.work_experience_required||"暂无")+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:br},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:1})]))]),r("div",Ld,[e[112]||(e[112]=r("div",{class:"detail-label"},"学历要求",-1)),jo.value?(K(),W("div",Gd,[p(re,{modelValue:_n.value,"onUpdate:modelValue":e[7]||(e[7]=g=>_n.value=g),placeholder:"请选择学历要求",style:{width:"100%"}},{default:y(()=>[p(J,{label:"不限",value:"不限"}),p(J,{label:"高中",value:"高中"}),p(J,{label:"大专",value:"大专"}),p(J,{label:"本科",value:"本科"}),p(J,{label:"硕士",value:"硕士"}),p(J,{label:"博士",value:"博士"})]),_:1},8,["modelValue"]),r("div",zd,[p(E,{size:"small",onClick:Ir},{default:y(()=>e[110]||(e[110]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:Cr},{default:y(()=>e[111]||(e[111]=[k("保存")])),_:1})])])):(K(),W("div",Qd,[k(le(v.education_required||"暂无")+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:xr},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:1})]))]),r("div",$d,[e[115]||(e[115]=r("div",{class:"detail-label"},"所属部门",-1)),Lo.value?(K(),W("div",Wd,[p(U,{modelValue:eo.value,"onUpdate:modelValue":e[8]||(e[8]=g=>eo.value=g),placeholder:"请输入所属部门",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),r("div",Hd,[p(E,{size:"small",onClick:Ar},{default:y(()=>e[113]||(e[113]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:Or},{default:y(()=>e[114]||(e[114]=[k("保存")])),_:1})])])):(K(),W("div",Jd,[k(le(v.department||"暂无")+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:wr},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:1})]))]),r("div",Yd,[e[116]||(e[116]=r("div",{class:"detail-label"},"职位状态",-1)),r("div",Xd,[p(At,{type:pn(v.status)},{default:y(()=>[k(le(vn(v.status)),1)]),_:1},8,["type"])])]),r("div",qd,[e[119]||(e[119]=r("div",{class:"detail-label"},"截止日期",-1)),Qo.value?(K(),W("div",_d,[p(Lt,{modelValue:to.value,"onUpdate:modelValue":e[9]||(e[9]=g=>to.value=g),type:"datetime",placeholder:"请选择截止日期","value-format":"YYYY-MM-DD HH:mm:ss",style:{width:"100%"}},null,8,["modelValue"]),r("div",eu,[p(E,{size:"small",onClick:Dr},{default:y(()=>e[117]||(e[117]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:Pr},{default:y(()=>e[118]||(e[118]=[k("保存")])),_:1})])])):(K(),W("div",Zd,[k(le(v.end_date||"暂无")+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:Tr},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:1})]))]),r("div",tu,[e[122]||(e[122]=r("div",{class:"detail-label"},"职位要求",-1)),no.value?De("",!0):(K(),W("div",{key:0,class:"detail-value html-content",innerHTML:v.requirements},null,8,nu)),no.value?(K(),W("div",ou,[p(U,{modelValue:oo.value,"onUpdate:modelValue":e[10]||(e[10]=g=>oo.value=g),type:"textarea",rows:"6",placeholder:"请输入职位要求",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),r("div",iu,[p(E,{size:"small",onClick:Vr},{default:y(()=>e[120]||(e[120]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:Ur},{default:y(()=>e[121]||(e[121]=[k("保存")])),_:1})])])):(K(),Oe(E,{key:1,type:"text",class:"edit-title-btn",onClick:Rr},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:1}))]),e[130]||(e[130]=r("div",{style:{width:"100%","border-bottom":"1px solid #e5e5e5"}},null,-1)),r("div",au,[e[125]||(e[125]=r("div",{class:"detail-label"},"职位描述",-1)),io.value?De("",!0):(K(),W("div",{key:0,class:"detail-value html-content",innerHTML:v.description},null,8,ru)),io.value?(K(),W("div",lu,[p(U,{modelValue:ao.value,"onUpdate:modelValue":e[11]||(e[11]=g=>ao.value=g),type:"textarea",rows:"6",placeholder:"请输入职位描述",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),r("div",su,[p(E,{size:"small",onClick:Kr},{default:y(()=>e[123]||(e[123]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:Mr},{default:y(()=>e[124]||(e[124]=[k("保存")])),_:1})])])):(K(),Oe(E,{key:1,type:"text",class:"edit-title-btn",onClick:kr},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:1}))]),r("div",du,[e[128]||(e[128]=r("div",{class:"detail-label"},"能力标签",-1)),Go.value?(K(),W("div",cu,[p(re,{modelValue:Dn.value,"onUpdate:modelValue":e[12]||(e[12]=g=>Dn.value=g),multiple:"",filterable:"",placeholder:"请选择能力标签",style:{width:"100%"}},{default:y(()=>[(K(!0),W(He,null,Ye(ke.value,g=>(K(),Oe(J,{key:g.id,label:g.name,value:g.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),r("div",fu,[p(E,{size:"small",onClick:Lr},{default:y(()=>e[126]||(e[126]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:Qr},{default:y(()=>e[127]||(e[127]=[k("保存")])),_:1})])])):(K(),W("div",uu,[(K(!0),W(He,null,Ye(v.competency_tags,g=>(K(),Oe(At,{key:g.id,effect:"plain",class:"competency-tag"},{default:y(()=>[k(le(g.name),1)]),_:2},1024))),128)),p(E,{type:"text",class:"edit-title-btn",onClick:jr},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:1})]))])]),_:1}),r("div",vu,[p(Qt,{class:"status-card"},{default:y(()=>[e[131]||(e[131]=r("div",{class:"section-title"},[r("div",{class:"section-line"}),r("span",null,"职位状态")],-1)),r("div",pu,[p(ht,{modelValue:a.value,"onUpdate:modelValue":e[13]||(e[13]=g=>a.value=g),"inactive-text":"",onChange:Ft},null,8,["modelValue"]),r("span",mu,le(a.value?"已启用":"待启用"),1)])]),_:1}),p(Qt,{class:"status-card"},{default:y(()=>[r("div",gu,[e[133]||(e[133]=r("div",{class:"section-line"},null,-1)),e[134]||(e[134]=r("span",null,"职位性质",-1)),Tn.value?De("",!0):(K(),Oe(E,{key:0,type:"text",class:"edit-btn",onClick:Nr},{default:y(()=>e[132]||(e[132]=[k("编辑")])),_:1}))]),r("div",hu,[Tn.value?De("",!0):(K(),W("div",yu,le(mn(v.job_type)),1)),Tn.value?(K(),W("div",bu,[p(re,{modelValue:ro.value,"onUpdate:modelValue":e[14]||(e[14]=g=>ro.value=g),placeholder:"请选择职位性质",style:{width:"100%"}},{default:y(()=>[p(J,{label:"全职",value:0}),p(J,{label:"兼职",value:1}),p(J,{label:"实习",value:2}),p(J,{label:"其他",value:3})]),_:1},8,["modelValue"]),r("div",Su,[p(E,{size:"small",onClick:Br},{default:y(()=>e[135]||(e[135]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:Fr},{default:y(()=>e[136]||(e[136]=[k("保存")])),_:1})])])):De("",!0)])]),_:1}),p(Qt,{class:"status-card"},{default:y(()=>[r("div",Eu,[e[138]||(e[138]=r("div",{class:"section-line"},null,-1)),e[139]||(e[139]=r("span",null,"招聘流程",-1)),p(E,{type:"text",class:"edit-btn",onClick:en},{default:y(()=>e[137]||(e[137]=[k("设置流程")])),_:1})]),r("div",xu,[(K(!0),W(He,null,Ye(m,(g,se)=>Fn((K(),W("div",{key:g.id,class:Tt(["process-step",{disabled:!g.active}])},[g.name!="已通过"&&g.name!="已淘汰"?(K(),W("div",Iu,le(f(se)),1)):De("",!0),r("div",Cu,[r("div",wu,le(g.name),1)])],2)),[[fa,g.visible]])),128))])]),_:1}),p(Qt,{class:"status-card"},{default:y(()=>[r("div",Au,[e[141]||(e[141]=r("div",{class:"section-line"},null,-1)),e[142]||(e[142]=r("span",null,"面试设置",-1)),p(E,{type:"text",class:"edit-btn",onClick:vl},{default:y(()=>e[140]||(e[140]=[k("编辑")])),_:1})])]),_:1})])]),p(Ot,{title:"设置招聘流程",modelValue:h.value,"onUpdate:modelValue":e[17]||(e[17]=g=>h.value=g),width:"500px","close-on-click-modal":!1},{footer:y(()=>[r("span",Uu,[p(E,{onClick:cn},{default:y(()=>e[146]||(e[146]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:un},{default:y(()=>e[147]||(e[147]=[k("确定")])),_:1})])]),default:y(()=>[r("div",Ou,[(K(!0),W(He,null,Ye(m,(g,se)=>Fn((K(),W("div",{key:g.id},[se<m.length-1?(K(),W("div",Tu,[p(E,{type:"text",onClick:we=>A(se,we)},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(yn))]),_:1})]),_:2},1032,["onClick"])])):De("",!0),r("div",{class:Tt(["process-edit-item",{highlight:g.active}])},[g.name!="已通过"&&g.name!="已淘汰"?(K(),W("div",Du,le(f(se)),1)):De("",!0),r("div",Pu,[r("div",null,le(g.name),1)]),g.name!="已通过"&&g.name!="已淘汰"?(K(),W("div",Ru,[g.name!="简历收集"&&g.name!="肢体检测"?(K(),Oe(E,{key:0,type:"info",size:"small",plain:"",onClick:we=>Al(g,se)},{default:y(()=>e[143]||(e[143]=[k(" 修改 ")])),_:2},1032,["onClick"])):De("",!0),g.name!="资料收集"&&g.name!="AI考察"?(K(),Oe(E,{key:1,type:"danger",size:"small",plain:"",style:{"margin-top":"10px","margin-left":"0px"},onClick:we=>fn(g,se)},{default:y(()=>e[144]||(e[144]=[k(" 删除 ")])),_:2},1032,["onClick"])):De("",!0)])):De("",!0)],2)])),[[fa,g.visible]])),128)),e[145]||(e[145]=r("div",{class:"add-process-btn"},null,-1))]),Z.value?(K(),W("div",{key:0,class:"process-options-menu",style:ns({top:z.top,left:z.left}),onClick:e[16]||(e[16]=ts(()=>{},["stop"]))},[r("div",{class:"close-btn",onClick:e[15]||(e[15]=g=>Z.value=!1)},[p(O,null,{default:y(()=>[p(ce(cs))]),_:1})]),(K(),W(He,null,Ye(b,g=>r("div",{key:g.value,class:"process-option-item",onClick:se=>w(g.value,g.label)},le(g.label),9,Vu)),64))],4)):De("",!0)]),_:1},8,["modelValue"]),p(ce(xi),{title:"AI考察",modelValue:$.value,"onUpdate:modelValue":e[36]||(e[36]=g=>$.value=g),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-video-drawer","destroy-on-close":!1},{footer:y(()=>[r("div",qc,[Q.value>1?(K(),Oe(E,{key:0,size:"small",onClick:G},{default:y(()=>e[188]||(e[188]=[k("上一步")])),_:1})):De("",!0),p(E,{onClick:ue,size:"small"},{default:y(()=>e[189]||(e[189]=[k("取消")])),_:1}),Q.value<3?(K(),Oe(E,{key:1,type:"primary",size:"small",onClick:R,style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[190]||(e[190]=[k("下一步")])),_:1})):(K(),Oe(E,{key:2,type:"success",onClick:ee,size:"small",style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[191]||(e[191]=[k("新增")])),_:1}))])]),default:y(()=>[r("div",ku,[r("div",{class:Tt(["step-item",{active:Q.value===1}]),onClick:e[18]||(e[18]=g=>me(1))},[e[148]||(e[148]=r("div",{class:"step-number"},"1",-1)),r("div",{class:Tt(["step-title",{"active-title":Q.value===1}])},"考察能力",2)],2),r("div",{class:Tt(["step-line",{"active-line":Q.value>=2}])},null,2),r("div",{class:Tt(["step-item",{active:Q.value===2}]),onClick:e[19]||(e[19]=g=>me(2))},[e[149]||(e[149]=r("div",{class:"step-number"},"2",-1)),r("div",{class:Tt(["step-title",{"active-title":Q.value===2}])},"面试题目",2)],2),r("div",{class:Tt(["step-line",{"active-line":Q.value>=3}])},null,2),r("div",{class:Tt(["step-item",{active:Q.value===3}]),onClick:e[20]||(e[20]=g=>me(3))},[e[150]||(e[150]=r("div",{class:"step-number"},"3",-1)),r("div",{class:Tt(["step-title",{"active-title":Q.value===3}])},"系统设置",2)],2)]),Q.value===1?Fn((K(),W("div",Ku,[r("div",Mu,[e[157]||(e[157]=r("div",{class:"ai-video-options-header"},[r("div",{class:"ai-video-options-header-title"},[r("span",null,"AI根据岗位信息生成的能力,创建完步骤后,会自动将选择的胜任力考核维度加入到该职位的考察能力列表中。")])],-1)),r("div",Nu,[r("div",Bu,[(K(!0),W(He,null,Ye(Rt.value.slice(0,10),g=>(K(),Oe(Ht,{key:g.id,modelValue:g.selected,"onUpdate:modelValue":se=>g.selected=se,onChange:se=>ea(g,se),class:"custom-checkbox"},{default:y(()=>[r("div",Fu,[r("span",null,le(g.name),1),e[151]||(e[151]=r("img",{src:Ia,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),r("div",ju,[r("div",Lu,[e[153]||(e[153]=r("h3",{style:{color:"#808080"}},"备选考核维度",-1)),r("div",Qu,[p(E,{type:"primary",class:"custom-btn",plain:"",size:"small",onClick:B},{default:y(()=>e[152]||(e[152]=[k("重新生成")])),_:1})])]),r("div",Gu,[(K(!0),W(He,null,Ye(Rt.value.slice(10,50),g=>(K(),Oe(Ht,{key:g.id,modelValue:g.selected,"onUpdate:modelValue":se=>g.selected=se,onChange:se=>ea(g,se),class:"custom-checkbox"},{default:y(()=>[r("div",zu,[r("span",null,le(g.name),1)])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),r("div",$u,[e[156]||(e[156]=r("h3",{style:{color:"#808080"}},"自定义维度",-1)),r("div",Ju,[r("div",Wu,[r("div",Hu,[p(U,{style:{width:"150px"},modelValue:nn.value,"onUpdate:modelValue":e[21]||(e[21]=g=>nn.value=g),placeholder:"请输入维度名称"},null,8,["modelValue"])]),r("div",Yu,[e[154]||(e[154]=r("div",{class:"input-label"},"特征描述:",-1)),p(U,{modelValue:Pn.value,"onUpdate:modelValue":e[22]||(e[22]=g=>Pn.value=g),style:{width:"500px"},type:"textarea",placeholder:"请输入特征描述"},null,8,["modelValue"])])]),r("div",Xu,[p(E,{type:"primary",onClick:$r},{default:y(()=>e[155]||(e[155]=[k("添加")])),_:1})])])])])])),[[Xo,Mn.value]]):De("",!0),Q.value===2?(K(),W("div",qu,[r("div",Zu,[r("div",_u,[r("div",ec,[p(E,{plain:"",class:"custom-btn",onClick:$i},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(yn))]),_:1}),e[158]||(e[158]=k(" 自定义题目 "))]),_:1}),p(E,{plain:"",class:"custom-btn"},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(va))]),_:1}),e[159]||(e[159]=k(" 导入题目 "))]),_:1}),ge.value.length>0?(K(),Oe(E,{key:0,type:"primary",plain:"",class:"custom-btn",loading:tt.value,onClick:aa},{default:y(()=>[p(O,null,{default:y(()=>[p(Ll)]),_:1}),e[160]||(e[160]=k(" 重新生成 "))]),_:1},8,["loading"])):De("",!0),r("div",tc,[r("div",nc,[e[161]||(e[161]=r("span",{class:"switch-label"},"开放题数量",-1)),p(dt,{modelValue:hn.openQuestionsCount,"onUpdate:modelValue":e[23]||(e[23]=g=>hn.openQuestionsCount=g),min:1,max:10,size:"small",onChange:ia},null,8,["modelValue"])]),r("div",oc,[e[162]||(e[162]=r("span",{class:"switch-label"},"选择题数量",-1)),p(dt,{modelValue:hn.choiceQuestionsCount,"onUpdate:modelValue":e[24]||(e[24]=g=>hn.choiceQuestionsCount=g),min:1,max:20,size:"small",onChange:ia},null,8,["modelValue"])])])]),r("div",ic,[e[163]||(e[163]=r("span",null,"预计面试时长: ",-1)),r("span",ac,le(gi.value),1),e[164]||(e[164]=r("span",{class:"duration-tip"},"拖动试题卡片可改变试题顺序",-1))])]),r("div",rc,[Fn((K(),W("div",lc,[ge.value.length===0?(K(),W("div",sc,[e[167]||(e[167]=r("p",null,"暂无题目",-1)),e[168]||(e[168]=r("p",{class:"ai-tip"},'点击"AI自动组题"按钮',-1)),e[169]||(e[169]=r("p",{class:"ai-tip"},"可根据您选择的能力类型一键组题",-1)),p(E,{type:"success",class:"auto-generate-btn",loading:tt.value,onClick:aa},{default:y(()=>e[165]||(e[165]=[k(" AI自动组题 ")])),_:1},8,["loading"]),tt.value&&ce(Wt)?(K(),Oe(E,{key:0,type:"warning",plain:"",size:"small",onClick:nl,style:{"margin-left":"10px"}},{default:y(()=>e[166]||(e[166]=[k(" 取消生成 ")])),_:1})):De("",!0)])):(K(),W("div",dc,[p(ce(Ka),{modelValue:ge.value,"onUpdate:modelValue":e[25]||(e[25]=g=>ge.value=g),"item-key":"id",handle:".drag-handle",onStart:Yr,onEnd:Xr,animation:"200","ghost-class":"sortable-ghost","chosen-class":"sortable-chosen","drag-class":"sortable-drag"},{item:y(({element:g})=>[r("div",uc,[e[173]||(e[173]=r("div",{class:"drag-handle"},[r("img",{src:Rs,alt:"",class:"dorp"})],-1)),r("div",cc,[r("div",fc,[r("div",vc,[r("div",pc,[r("span",mc,"题目"+le(ge.value.indexOf(g)+1),1),r("span",null,[r("span",gc,le("「"+g.question_form_name+"」"),1),k(le(g.title),1)])]),r("div",hc,[(K(!0),W(He,null,Ye((g.competency_tag_info||g.competency_tags||[]).slice(0,2),(se,we)=>(K(),Oe(At,{key:se.id,effect:"plain",class:"competency-tag",size:"small"},{default:y(()=>[k(le(S(se)),1)]),_:2},1024))),128)),(g.competency_tag_info||g.competency_tags||[]).length>2?(K(),W("span",yc," +"+le((g.competency_tag_info||g.competency_tags||[]).length-2),1)):De("",!0)])])]),r("div",bc,[p(E,{type:"text",onClick:se=>Hi(ge.value.indexOf(g))},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:2},1032,["onClick"]),p(E,{type:"text",onClick:se=>Yi(ge.value.indexOf(g))},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(pa))]),_:1})]),_:2},1032,["onClick"])])]),r("div",Sc,[r("div",Ec,[r("span",null,le(g.scoring_reference),1)])]),g.question_form==0?(K(),W("div",xc,[r("div",Ic,[p(ht,{style:{"margin-top":"0px"},modelValue:g.enable_follow_up,"onUpdate:modelValue":se=>g.enable_follow_up=se,onChange:Ie},null,8,["modelValue","onUpdate:modelValue"]),e[170]||(e[170]=r("span",{class:"answer-label"},"回答不充分追问",-1))]),r("div",Cc,[e[171]||(e[171]=r("span",{class:"answer-label"},"追问轮数",-1)),p(re,{modelValue:g.maxAnswers,"onUpdate:modelValue":se=>g.maxAnswers=se,size:"small",placeholder:"请选择"},{default:y(()=>[p(J,{label:"1次",value:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])])])):De("",!0),g.question_form==1?(K(),W("div",wc,[r("div",Ac,[e[172]||(e[172]=r("span",{class:"answer-label"},"是否为红线题:",-1)),p(re,{modelValue:g.is_required_correct,"onUpdate:modelValue":se=>g.is_required_correct=se,disabled:!0,onChange:se=>X(g.id,g.is_required_correct),size:"small",placeholder:"请选择"},{default:y(()=>[p(J,{label:"是",value:!0}),p(J,{label:"否",value:!1})]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])])])):De("",!0)])]),_:1},8,["modelValue"])]))])),[[Xo,tt.value]]),r("div",Oc,[e[176]||(e[176]=r("div",{class:"dimension-title"},"已选胜任力考核维度",-1)),r("div",Tc,[(K(!0),W(He,null,Ye(ne.value,(g,se)=>(K(),W("div",{key:g.value,class:"dimension-item"},[r("div",Dc,[r("div",Pc,[r("span",Rc,le(g.label),1),e[174]||(e[174]=r("img",{src:Ia,alt:"",class:"sheng"},null,-1))])]),r("div",{class:"dimension-content",onClick:we=>_r(se),title:"点击删除此胜任力标签"},e[175]||(e[175]=[r("div",{class:"ability-description"},le("—"),-1)]),8,Vc)]))),128))])])])])])):De("",!0),Q.value===3?(K(),W("div",Uc,[r("div",kc,[r("div",Kc,[e[187]||(e[187]=r("div",{class:"section-header"},"请选择面试官形象",-1)),r("div",Mc,[r("div",Nc,[$o.value?(K(),W("img",{key:0,src:$o.value,alt:"",style:{width:"100%",height:"100%","object-fit":"cover",transform:"translateZ(0)","backface-visibility":"hidden"}},null,8,Bc)):De("",!0)]),r("div",null,[r("div",Fc,[(K(!0),W(He,null,Ye(yi.value,g=>(K(),W("div",{key:g.id,class:Tt(["avatar-item",{active:gt.value.id===g.id}]),onClick:se=>Jr(g)},[r("div",Lc,[r("div",{class:Tt(["avatar-circle",{selected:gt.value.id===g.id}])},[r("img",{src:g.avatar_url||g.image,alt:g.name},null,8,Qc)],2),r("div",{class:"avatar-name",title:g.name},le(g.name),9,Gc)])],10,jc))),128))]),r("div",zc,[e[177]||(e[177]=r("div",{class:"setting-label"},"「追问风格」",-1)),r("div",$c,[p(re,{modelValue:rt.followUpStyle,"onUpdate:modelValue":e[26]||(e[26]=g=>rt.followUpStyle=g),placeholder:"请选择",onChange:e[27]||(e[27]=g=>so("followUpStyle",rt.followUpStyle))},{default:y(()=>[p(J,{label:"温和",value:"1"}),p(J,{label:"严厉",value:"2"}),p(J,{label:"严谨",value:"3"})]),_:1},8,["modelValue"])]),e[178]||(e[178]=r("div",{class:"setting-desc"},null,-1))])])]),r("div",Jc,[r("div",Wc,[e[179]||(e[179]=r("div",{class:"setting-label"},[r("p",null,"「回答视频保留」")],-1)),e[180]||(e[180]=r("div",{class:"setting-desc"},[r("p",null,"选取后,将在报告中展示候选人的回答视频")],-1)),p(ht,{modelValue:rt.keepVideo,"onUpdate:modelValue":e[28]||(e[28]=g=>rt.keepVideo=g),onChange:e[29]||(e[29]=g=>so("keepVideo",g)),disabled:!0},null,8,["modelValue"])]),r("div",Hc,[e[183]||(e[183]=r("div",{class:"setting-label"},[r("p",null,"「中断后作答限制」")],-1)),r("div",Yc,[p(yo,{modelValue:rt.interruptionMode,"onUpdate:modelValue":e[30]||(e[30]=g=>rt.interruptionMode=g),label:"current",onChange:e[31]||(e[31]=g=>so("interruptionMode",rt.interruptionMode))},{default:y(()=>e[181]||(e[181]=[k(" 从当前问题重新作答 ")])),_:1},8,["modelValue"]),p(yo,{modelValue:rt.interruptionMode,"onUpdate:modelValue":e[32]||(e[32]=g=>rt.interruptionMode=g),label:"previous",onChange:e[33]||(e[33]=g=>so("interruptionMode",rt.interruptionMode))},{default:y(()=>e[182]||(e[182]=[k(" 从头作答 ")])),_:1},8,["modelValue"])]),e[184]||(e[184]=r("div",{class:"setting-desc",style:{width:"40px"}},null,-1))]),r("div",Xc,[e[185]||(e[185]=r("div",{class:"setting-label"},[r("p",null,"「智慧追问」")],-1)),e[186]||(e[186]=r("div",{class:"setting-desc"},[r("p",null,"追问将结合候选人资料情况,综合分析发问")],-1)),p(ht,{modelValue:rt.smartFollowUp,"onUpdate:modelValue":e[34]||(e[34]=g=>rt.smartFollowUp=g),onChange:e[35]||(e[35]=g=>so("smartFollowUp",g))},null,8,["modelValue"])])])])])])):De("",!0)]),_:1},8,["modelValue"]),p(Ot,{title:"新增视频宣讲",modelValue:Pe.value,"onUpdate:modelValue":e[38]||(e[38]=g=>Pe.value=g),width:"35%","close-on-click-modal":!1,class:"video-lecture-dialog"},{footer:y(()=>[r("span",nf,[p(E,{onClick:Ce},{default:y(()=>e[195]||(e[195]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:Qe},{default:y(()=>e[196]||(e[196]=[k("确认")])),_:1})])]),default:y(()=>[r("div",Zc,[r("div",_c,[e[193]||(e[193]=r("div",{class:"form-label"},"上传视频",-1)),p(da,{class:"video-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"video/*"},{default:y(()=>[r("div",ef,[p(O,null,{default:y(()=>[p(ce(yn))]),_:1}),e[192]||(e[192]=r("div",{class:"upload-text"},"上传文件大小不超过500M",-1))])]),_:1})]),r("div",tf,[e[194]||(e[194]=r("div",{class:"form-label"},"视频简介",-1)),p(U,{modelValue:Fe.description,"onUpdate:modelValue":e[37]||(e[37]=g=>Fe.description=g),type:"textarea",rows:"4",placeholder:"视频简介会显示在视频下方的标题下方",maxlength:"200","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),p(ce(xi),{title:"AI实时对话",modelValue:Re.value,"onUpdate:modelValue":e[40]||(e[40]=g=>Re.value=g),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-chat-drawer","destroy-on-close":!1},{footer:y(()=>[r("div",Ef,[p(E,{onClick:oe},{default:y(()=>e[207]||(e[207]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:pe},{default:y(()=>e[208]||(e[208]=[k("确认")])),_:1})])]),default:y(()=>[r("div",of,[r("div",af,[e[206]||(e[206]=r("div",{class:"section-title"},[r("div",{class:"section-line"}),r("span",null,"对话设置")],-1)),r("div",rf,[p(E,{type:"primary",plain:"",onClick:Cn},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(yn))]),_:1}),e[197]||(e[197]=k(" 添加问题 "))]),_:1}),p(E,{type:"success",plain:"",onClick:$i},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(va))]),_:1}),e[198]||(e[198]=k(" 导入问题 "))]),_:1})]),r("div",lf,[ge.value.length===0?(K(),W("div",sf,e[199]||(e[199]=[r("p",null,"暂无问题",-1),r("p",{class:"tip-text"},'点击"添加问题"或"导入问题"添加面试问题',-1)]))):(K(),W("div",df,[p(ce(Ka),{modelValue:ge.value,"onUpdate:modelValue":e[39]||(e[39]=g=>ge.value=g),"item-key":"id",handle:".drag-handle"},{item:y(({element:g,index:se})=>[k(le(g)+" ",1),r("div",uf,[r("div",cf,[r("div",ff,[r("span",vf,"题目"+le(se+1),1),r("span",null,le(g.question),1)]),r("div",pf,[r("div",mf,[e[201]||(e[201]=r("span",{class:"weight-label"},"权重占比:",-1)),p(dt,{modelValue:g.weight,"onUpdate:modelValue":we=>g.weight=we,min:0,max:100,step:1,size:"small","controls-position":"right"},{suffix:y(()=>e[200]||(e[200]=[k("%")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),r("div",gf,[e[202]||(e[202]=r("span",{class:"answer-label"},"最多回答次数",-1)),p(re,{modelValue:g.maxAnswers,"onUpdate:modelValue":we=>g.maxAnswers=we,size:"small",placeholder:"请选择"},{default:y(()=>[p(J,{label:"1次",value:1}),p(J,{label:"2次",value:2}),p(J,{label:"3次",value:3})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),p(E,{type:"text",onClick:we=>Hi(se)},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:2},1032,["onClick"]),p(E,{type:"text",onClick:we=>Yi(se)},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(pa))]),_:1})]),_:2},1032,["onClick"])])]),r("div",hf,[r("div",yf,[e[203]||(e[203]=r("span",{class:"info-label"},"考察能力:",-1)),r("span",null,le(g.ability),1)]),r("div",bf,[e[204]||(e[204]=r("span",{class:"info-label"},"面试内容:",-1)),r("span",null,le(g.content),1)]),r("div",Sf,[e[205]||(e[205]=r("span",{class:"info-label"},"对话目标:",-1)),r("span",null,le(g.target),1)])])])]),_:1},8,["modelValue"])]))])])])]),_:1},8,["modelValue"]),p(Ot,{title:"查看问题",modelValue:Ue.value,"onUpdate:modelValue":e[49]||(e[49]=g=>Ue.value=g),width:"500px","close-on-click-modal":!1,class:"question-dialog"},{footer:y(()=>[r("span",jf,[p(E,{onClick:ot},{default:y(()=>e[235]||(e[235]=[k("取消")])),_:1})])]),default:y(()=>[r("div",xf,[r("div",If,[e[209]||(e[209]=r("div",{class:"form-label"},[k(" 题目内容"),r("span",{class:"required"},"*")],-1)),p(U,{modelValue:_.content,"onUpdate:modelValue":e[41]||(e[41]=g=>_.content=g),type:"textarea",rows:"4",placeholder:"请描述一次你如何在紧迫的时间内完成一个复杂的后端开发任务的经历",maxlength:"300","show-word-limit":"",disabled:!0},null,8,["modelValue"])]),r("div",Cf,[e[210]||(e[210]=r("div",{class:"form-label"},"胜任力标签",-1)),p(re,{modelValue:ra.value,"onUpdate:modelValue":e[42]||(e[42]=g=>ra.value=g),placeholder:"请选择胜任力标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(K(!0),W(He,null,Ye(_.competency_tags,g=>(K(),Oe(J,{key:g.id,label:g.name,value:g.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[211]||(e[211]=r("div",{class:"form-tip"},"选择胜任力标签和胜任力标签,可多选",-1))]),r("div",wf,[e[217]||(e[217]=r("div",{class:"form-label"}," 胜任力配置 ",-1)),r("div",Af,[e[213]||(e[213]=r("div",{class:"config-row"},[r("span",{class:"config-label"},"标签"),r("span",{class:"config-label"},"权重")],-1)),(K(!0),W(He,null,Ye(_.competency_tags,(g,se)=>(K(),W("div",{class:"config-row",key:g.id},[r("span",Of,le(g.name),1),p(dt,{modelValue:g.weight,"onUpdate:modelValue":we=>g.weight=we,min:0,max:100,step:1,disabled:!0,"controls-position":"right",onChange:we=>Ol(se,we)},null,8,["modelValue","onUpdate:modelValue","onChange"]),e[212]||(e[212]=k(" % "))]))),128))]),r("div",Tf,[e[214]||(e[214]=k(" 配置各个胜任力标签的权重,总和需要100% ")),r("span",{class:Tt(["weight-sum",{"weight-error":Si()!==100}])}," (当前总计: "+le(Si())+"%) ",3),e[215]||(e[215]=r("br",null,null,-1)),p(O,{style:{color:"#409eff","margin-right":"4px","margin-top":"4px"}},{default:y(()=>[p(ce(fs))]),_:1}),e[216]||(e[216]=r("span",{style:{color:"#909399","font-size":"11px"}},' 修改任意权重时,其他权重会自动按比例调整以保持总和为100%。点击"平均分配"可快速平均分配所有权重。 ',-1))])]),r("div",Df,[e[218]||(e[218]=r("div",{class:"form-label"},"题目形式",-1)),p(re,{modelValue:_.question_form,"onUpdate:modelValue":e[43]||(e[43]=g=>_.question_form=g),placeholder:"开放问题",class:"full-width",disabled:!0,onChange:Cl},{default:y(()=>[p(J,{label:"开放问题",value:0}),p(J,{label:"单选题",value:1}),p(J,{label:"识图题",value:3}),p(J,{label:"多选题",value:2}),p(J,{label:"填空题",value:6}),p(J,{label:"得分题",value:4}),p(J,{label:"追加型开放问题",value:5})]),_:1},8,["modelValue"]),e[219]||(e[219]=r("div",{class:"form-tip"},"选择题目的形式:开放问题、单选题、多选题、填空题、自言语",-1))]),r("div",Pf,[e[220]||(e[220]=r("div",{class:"form-label"},"适用职位",-1)),p(re,{modelValue:t.value,"onUpdate:modelValue":e[44]||(e[44]=g=>t.value=g),placeholder:"请选择适用职位类型",class:"full-width",disabled:!0},{default:y(()=>[(K(!0),W(He,null,Ye(Ke.value,g=>(K(),Oe(J,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[221]||(e[221]=r("div",{class:"form-tip"},"选择题目适用的职位类型,可多选",-1))]),_.question_form===1||_.question_form===2||_.question_form===3?(K(),W("div",Rf,[e[223]||(e[223]=r("div",{class:"form-label"},"选项",-1)),r("div",null,[e[222]||(e[222]=r("div",{class:"option-header",style:{display:"flex","margin-bottom":"10px","font-weight":"bold"}},[r("span",{style:{flex:"1"}},"选项内容"),r("span",{style:{width:"80px","text-align":"center"}},"是否正确")],-1)),(K(!0),W(He,null,Ye(_.options,(g,se)=>(K(),W("div",{key:se,class:"option-item",style:{display:"flex","align-items":"center","margin-bottom":"10px"}},[p(U,{modelValue:g.text,"onUpdate:modelValue":we=>g.text=we,placeholder:"请输入选项内容",disabled:!0,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","onUpdate:modelValue"]),p(Bn,{content:"设置为正确答案",placement:"top",effect:"light",disabled:!0},{default:y(()=>[r("div",{onClick:()=>{_.question_form===1||_.question_form===3?_.options.forEach((we,Hl)=>{we.is_correct=Hl===se}):g.is_correct=!g.is_correct},style:{cursor:"pointer",width:"80px","text-align":"center"}},[_.question_form===1||_.question_form===3?(K(),Oe(yo,{key:0,disabled:!0,modelValue:g.is_correct,"onUpdate:modelValue":we=>g.is_correct=we,label:!0},null,8,["modelValue","onUpdate:modelValue"])):(K(),Oe(Ht,{key:1,disabled:!0,modelValue:g.is_correct,"onUpdate:modelValue":we=>g.is_correct=we},null,8,["modelValue","onUpdate:modelValue"]))],8,Vf)]),_:2},1024)]))),128))]),e[224]||(e[224]=r("div",{class:"form-tip"},"添加选项并设置正确答案,单选题只能有一个正确答案,多选题可以有多个正确答案",-1))])):De("",!0),_.question_form==6?(K(),W("div",Uf,[e[225]||(e[225]=r("div",{class:"form-label"},"填空答案模板",-1)),p(Os,{"model-value":_.blank_answer_template||[],question:_.content,readonly:!0},null,8,["model-value","question"])])):De("",!0),_.question_form===3?(K(),W("div",kf,[e[226]||(e[226]=r("div",{class:"form-label"},"题目图片",-1)),r("img",{src:_.question_image_url,alt:""},null,8,Kf)])):De("",!0),r("div",Mf,[e[227]||(e[227]=r("div",{class:"form-label"},"分类",-1)),p(U,{modelValue:_.category_name,"onUpdate:modelValue":e[45]||(e[45]=g=>_.category_name=g),disabled:!0,placeholder:"暂无分类"},null,8,["modelValue"]),e[228]||(e[228]=r("div",{class:"form-tip"},"选择题目所属分类",-1))]),r("div",Nf,[e[229]||(e[229]=r("div",{class:"form-label"},"标签",-1)),p(re,{modelValue:_.tag_ids,"onUpdate:modelValue":e[46]||(e[46]=g=>_.tag_ids=g),placeholder:"暂无标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(K(!0),W(He,null,Ye(_.tags,g=>(K(),Oe(J,{key:g.value,label:g.name,value:g.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[230]||(e[230]=r("div",{class:"form-tip"},"选择题目相关标签,可多选",-1))]),r("div",Bf,[e[231]||(e[231]=r("div",{class:"form-label"},"建议时长(秒)",-1)),p(dt,{modelValue:_.suggestedDuration,"onUpdate:modelValue":e[47]||(e[47]=g=>_.suggestedDuration=g),min:0,step:1,"controls-position":"right",placeholder:"请输入建议回答时长",class:"full-width",disabled:!0},null,8,["modelValue"]),e[232]||(e[232]=r("div",{class:"form-tip"},"建议回答题目的时长,单位为秒",-1))]),r("div",Ff,[e[233]||(e[233]=r("div",{class:"form-label"},"评价标准",-1)),p(U,{modelValue:_.scoring_reference,"onUpdate:modelValue":e[48]||(e[48]=g=>_.scoring_reference=g),type:"textarea",disabled:!0,rows:"4",placeholder:"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",class:"full-width"},null,8,["modelValue"]),e[234]||(e[234]=r("div",{class:"form-tip"},"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",-1))])])]),_:1},8,["modelValue"]),p(Ot,{title:"选择题目",modelValue:Rn.value,"onUpdate:modelValue":e[51]||(e[51]=g=>Rn.value=g),width:"30%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[r("span",$f,[p(E,{onClick:e[50]||(e[50]=g=>N("4"))},{default:y(()=>e[236]||(e[236]=[k("预览已选")])),_:1}),p(E,{onClick:al},{default:y(()=>e[237]||(e[237]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:rl,disabled:kt.value.length==0,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[238]||(e[238]=[k("确定")])),_:1},8,["disabled"])])]),default:y(()=>[r("div",Lf,[Fn((K(),W("div",null,[p(Gl,{ref:"treeRef",data:sa.value,"node-key":"id",props:Bl,"default-expand-all":"","highlight-current":"",onNodeClick:Fl},{default:y(({node:g,data:se})=>[r("div",Qf,[r("div",Gf,[p(O,null,{default:y(()=>[p(Ql)]),_:1}),r("span",zf,le(se.title),1)])])]),_:1},8,["data"])])),[[Xo,ho.value]])])]),_:1},8,["modelValue"]),p(Ot,{title:"创建自定义题目",modelValue:fo.value,"onUpdate:modelValue":e[53]||(e[53]=g=>fo.value=g),width:"40%","close-on-click-modal":!1,class:"question-bank-form-dialog","before-close":Ji},{default:y(()=>[p(gs,{modelValue:Jo.value,"onUpdate:modelValue":e[52]||(e[52]=g=>Jo.value=g),"is-edit":na.value,onSubmit:Xa,onCancel:Ji},null,8,["modelValue","is-edit"])]),_:1},8,["modelValue"]),p(Ot,{title:"资料收集",modelValue:it.value,"onUpdate:modelValue":e[54]||(e[54]=g=>it.value=g),width:"900px","close-on-click-modal":!1,class:"data-collection-dialog"},{footer:y(()=>[r("span",cv,[p(E,{onClick:qa},{default:y(()=>e[248]||(e[248]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:ll},{default:y(()=>e[249]||(e[249]=[k("确认")])),_:1})])]),default:y(()=>[r("div",Jf,[r("div",Wf,[e[247]||(e[247]=r("div",{class:"panel-header"},[r("h3",null,"字段显示配置")],-1)),r("div",Hf,[e[242]||(e[242]=r("div",{class:"section-title"},"基本信息",-1)),p(Yt,{gutter:20},{default:y(()=>[(K(!0),W(He,null,Ye(sl(),(g,se)=>(K(),Oe(Gt,{span:8,key:se},{default:y(()=>[r("div",Yf,[r("span",Xf,le(g.label),1),p(Bn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(ht,{modelValue:g.visible,"onUpdate:modelValue":we=>g.visible=we,disabled:g.label=="姓名"||g.label=="手机号"||g.label=="身份证号",class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue","disabled"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[243]||(e[243]=r("div",{class:"section-title"},"家庭成员信息",-1)),p(Yt,{gutter:20},{default:y(()=>[p(Gt,{span:24},{default:y(()=>[r("div",qf,[r("span",Zf,[k(le(ce(j).family_member.label)+" ",1),ce(j).family_member.visible?(K(),Oe(At,{key:0,size:"small",type:"success"},{default:y(()=>e[239]||(e[239]=[k("已启用")])),_:1})):De("",!0)])])]),_:1})]),_:1}),ce(j).family_member.visible?(K(),Oe(Yt,{key:0,gutter:20},{default:y(()=>[(K(!0),W(He,null,Ye(ce(j).family_member.fields,(g,se)=>(K(),Oe(Gt,{span:8,key:se},{default:y(()=>[r("div",_f,[r("span",ev,le(g.label),1),p(Bn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(ht,{modelValue:g.visible,"onUpdate:modelValue":we=>g.visible=we,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):De("",!0),e[244]||(e[244]=r("div",{class:"section-title"},"教育经历",-1)),p(Yt,{gutter:20},{default:y(()=>[p(Gt,{span:24},{default:y(()=>[r("div",tv,[r("span",nv,[k(le(ce(j).education.label)+" ",1),ce(j).education.visible?(K(),Oe(At,{key:0,size:"small",type:"success"},{default:y(()=>e[240]||(e[240]=[k("已启用")])),_:1})):De("",!0)])])]),_:1})]),_:1}),ce(j).education.visible?(K(),Oe(Yt,{key:1,gutter:20},{default:y(()=>[(K(!0),W(He,null,Ye(ce(j).education.fields,(g,se)=>(K(),Oe(Gt,{span:8,key:se},{default:y(()=>[r("div",ov,[r("span",iv,le(g.label),1),p(Bn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(ht,{modelValue:g.visible,"onUpdate:modelValue":we=>g.visible=we,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):De("",!0),e[245]||(e[245]=r("div",{class:"section-title"},"专业技能",-1)),p(Yt,{gutter:20},{default:y(()=>[(K(!0),W(He,null,Ye(dl(),(g,se)=>(K(),Oe(Gt,{span:8,key:se},{default:y(()=>[r("div",av,[r("span",rv,le(g.label),1),p(Bn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(ht,{modelValue:g.visible,"onUpdate:modelValue":we=>g.visible=we,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[246]||(e[246]=r("div",{class:"section-title"},"工作经历",-1)),p(Yt,{gutter:20},{default:y(()=>[p(Gt,{span:24},{default:y(()=>[r("div",lv,[r("span",sv,[k(le(ce(j).work_experience.label)+" ",1),ce(j).work_experience.visible?(K(),Oe(At,{key:0,size:"small",type:"success"},{default:y(()=>e[241]||(e[241]=[k("已启用")])),_:1})):De("",!0)])])]),_:1})]),_:1}),ce(j).work_experience.visible?(K(),Oe(Yt,{key:2,gutter:20},{default:y(()=>[(K(!0),W(He,null,Ye(ce(j).work_experience.fields,(g,se)=>(K(),Oe(Gt,{span:8,key:se},{default:y(()=>[r("div",dv,[r("span",uv,le(g.label),1),p(Bn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(ht,{modelValue:g.visible,"onUpdate:modelValue":we=>g.visible=we,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):De("",!0)])])])]),_:1},8,["modelValue"]),p(Ot,{title:"简历收集",modelValue:Ct.value,"onUpdate:modelValue":e[56]||(e[56]=g=>Ct.value=g),width:"500px","close-on-click-modal":!1,class:"resume-collection-dialog"},{footer:y(()=>[r("span",pv,[p(E,{onClick:qe},{default:y(()=>e[251]||(e[251]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:Bt},{default:y(()=>e[252]||(e[252]=[k("确认")])),_:1})])]),default:y(()=>[r("div",fv,[r("div",vv,[e[250]||(e[250]=r("div",{class:"form-label"},"步骤名称",-1)),p(U,{modelValue:St.title,"onUpdate:modelValue":e[55]||(e[55]=g=>St.title=g),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":"",disabled:!0},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),p(Ot,{title:"添加代码笔试步骤",modelValue:Yn.value,"onUpdate:modelValue":e[59]||(e[59]=g=>Yn.value=g),width:"500px","close-on-click-modal":!1,class:"code-test-dialog"},{footer:y(()=>[r("span",Ov,[p(E,{onClick:Xi},{default:y(()=>e[261]||(e[261]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:tr},{default:y(()=>e[262]||(e[262]=[k("确认")])),_:1})])]),default:y(()=>[r("div",mv,[r("div",gv,[e[253]||(e[253]=r("div",{class:"form-label"},"步骤名称",-1)),p(U,{modelValue:at.title,"onUpdate:modelValue":e[57]||(e[57]=g=>at.title=g),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),r("div",hv,[e[254]||(e[254]=r("div",{class:"form-label"},"自动评判试卷",-1)),p(ht,{modelValue:at.autoJudge,"onUpdate:modelValue":e[58]||(e[58]=g=>at.autoJudge=g)},null,8,["modelValue"]),r("span",yv,le(at.autoJudge?"开启":"关闭"),1)]),r("div",bv,[e[260]||(e[260]=r("div",{class:"form-label"},"添加考试试卷",-1)),r("div",Sv,[at.selectedPaper?(K(),W("div",xv,[r("div",Iv,[r("div",Cv,le(at.selectedPaper.title),1),r("div",wv,[r("span",null,le(at.selectedPaper.questionCount)+"道题",1),r("span",null,le(at.selectedPaper.duration)+"分钟",1),r("span",null,le(at.selectedPaper.difficulty),1)])]),r("div",Av,[p(E,{type:"text",onClick:or},{default:y(()=>e[257]||(e[257]=[k("查看")])),_:1}),p(E,{type:"text",onClick:ir},{default:y(()=>e[258]||(e[258]=[k("更换")])),_:1}),p(E,{type:"text",onClick:ar},{default:y(()=>e[259]||(e[259]=[k("删除")])),_:1})])])):(K(),W("div",Ev,[p(E,{type:"primary",plain:"",onClick:nr},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(yn))]),_:1}),e[255]||(e[255]=k(" 添加考卷 "))]),_:1}),e[256]||(e[256]=r("p",{class:"tip-text"},"多选时,考生会随机分配到一套试卷",-1))]))])])])]),_:1},8,["modelValue"]),p(ce(xi),{title:"添加打字测试步骤",modelValue:Xn.value,"onUpdate:modelValue":e[67]||(e[67]=g=>Xn.value=g),size:"60%","close-on-click-modal":!1,class:"typing-test-dialog","destroy-on-close":!1},{footer:y(()=>[r("span",Lv,[p(E,{onClick:qi},{default:y(()=>e[279]||(e[279]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:rr},{default:y(()=>e[280]||(e[280]=[k("保存")])),_:1})])]),default:y(()=>[r("div",Tv,[r("div",Dv,[e[264]||(e[264]=r("div",{class:"form-label"},"选择文章",-1)),r("div",Pv,[p(E,{type:"primary",size:"small",class:"add-article-btn"},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(yn))]),_:1}),e[263]||(e[263]=k(" 添加文章 "))]),_:1})])]),r("div",Rv,[e[267]||(e[267]=r("div",{class:"form-label"},"候选人选择文章方式",-1)),p(zl,{modelValue:nt.selectionMode,"onUpdate:modelValue":e[60]||(e[60]=g=>nt.selectionMode=g)},{default:y(()=>[p(yo,{label:"random"},{default:y(()=>e[265]||(e[265]=[k("随机抽取")])),_:1}),p(yo,{label:"self"},{default:y(()=>e[266]||(e[266]=[k("候选人自主选择")])),_:1})]),_:1},8,["modelValue"])]),r("div",Vv,[e[269]||(e[269]=r("div",{class:"form-label"},"测试时间",-1)),r("div",Uv,[p(U,{modelValue:nt.duration,"onUpdate:modelValue":e[61]||(e[61]=g=>nt.duration=g),class:"time-input"},null,8,["modelValue"]),e[268]||(e[268]=r("span",{class:"time-unit"},"分钟",-1))])]),r("div",kv,[e[271]||(e[271]=r("div",{class:"form-label"},"登录界面预览图(建议尺寸1024*768像素,最大不要超过5M)",-1)),p(da,{class:"preview-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"image/*"},{default:y(()=>[r("div",Kv,[p(O,null,{default:y(()=>[p(ce(yn))]),_:1}),e[270]||(e[270]=r("div",{class:"upload-text"},"添加图片",-1))])]),_:1})]),r("div",Mv,[e[272]||(e[272]=r("div",{class:"form-label"},"注意事项内容(在登录界面显示)",-1)),p(U,{modelValue:nt.notes,"onUpdate:modelValue":e[62]||(e[62]=g=>nt.notes=g),type:"textarea",rows:"4",placeholder:"请输入注意事项内容",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),r("div",Nv,[e[273]||(e[273]=r("div",{class:"form-label"},"测试页面标题",-1)),p(U,{modelValue:nt.pageTitle,"onUpdate:modelValue":e[63]||(e[63]=g=>nt.pageTitle=g),placeholder:"测试页面标题"},null,8,["modelValue"])]),r("div",Bv,[e[275]||(e[275]=r("div",{class:"form-label"},"视频监控",-1)),p(Ht,{modelValue:nt.videoMonitoring,"onUpdate:modelValue":e[64]||(e[64]=g=>nt.videoMonitoring=g)},{default:y(()=>e[274]||(e[274]=[k("视频监控")])),_:1},8,["modelValue"])]),r("div",Fv,[e[278]||(e[278]=r("div",{class:"form-label"},"通过标准",-1)),r("div",jv,[p(Ht,{modelValue:nt.passCriteria.speed,"onUpdate:modelValue":e[65]||(e[65]=g=>nt.passCriteria.speed=g)},{default:y(()=>e[276]||(e[276]=[k("速度")])),_:1},8,["modelValue"]),p(Ht,{modelValue:nt.passCriteria.accuracy,"onUpdate:modelValue":e[66]||(e[66]=g=>nt.passCriteria.accuracy=g)},{default:y(()=>e[277]||(e[277]=[k("正确率")])),_:1},8,["modelValue"])])])])]),_:1},8,["modelValue"]),p(Ot,{title:"面试设置",modelValue:Vn.value,"onUpdate:modelValue":e[76]||(e[76]=g=>Vn.value=g),width:"60%","close-on-click-modal":!1,class:"interview-settings-dialog"},{footer:y(()=>[r("span",gp,[p(E,{onClick:ul},{default:y(()=>e[299]||(e[299]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:fl},{default:y(()=>e[300]||(e[300]=[k("完成")])),_:1})])]),default:y(()=>[r("div",Qv,[r("div",Gv,[e[286]||(e[286]=r("div",{class:"section-header"},[r("span",{class:"section-title"},"防作弊设置")],-1)),r("div",zv,[e[281]||(e[281]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「人脸一致性检测」"),r("p",{class:"setting-desc"},"选取后,将会在候选人离开前置摄像头时进行提示,默认开启")],-1)),p(ht,{modelValue:Ae.faceConsistency,"onUpdate:modelValue":e[68]||(e[68]=g=>Ae.faceConsistency=g),disabled:!0},null,8,["modelValue"])]),r("div",$v,[e[282]||(e[282]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「 防截屏 / 录屏 」"),r("p",{class:"setting-desc"},"选取后,将会在候选人截屏或录屏时进行提示,为防止泄题,默认开启")],-1)),p(ht,{modelValue:Ae.preventScreenshot,"onUpdate:modelValue":e[69]||(e[69]=g=>Ae.preventScreenshot=g),disabled:!0},null,8,["modelValue"])]),r("div",Jv,[e[284]||(e[284]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「 切 屏 预 制 」"),r("p",{class:"setting-desc"},"选取后,将会在候选人切屏时进行提示,为防止作弊,默认开启")],-1)),p(ht,{modelValue:Ae.screenSwitchAlert,"onUpdate:modelValue":e[70]||(e[70]=g=>Ae.screenSwitchAlert=g),disabled:!0},{default:y(()=>e[283]||(e[283]=[r("span",{class:"switch-desc"},"切屏超过 2 次关闭,作废本关面试",-1)])),_:1},8,["modelValue"])]),r("div",Wv,[e[285]||(e[285]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「情绪/眼动检测」"),r("p",{class:"setting-desc"},"该现已,将对候选人整场面试的情绪与压力表现进行分析,建议开启")],-1)),p(ht,{modelValue:Ae.positionDetection,"onUpdate:modelValue":e[71]||(e[71]=g=>Ae.positionDetection=g)},null,8,["modelValue"])])]),r("div",Hv,[e[298]||(e[298]=r("div",{class:"section-header"},[r("span",{class:"section-title"},"其他设置")],-1)),r("div",Yv,[r("div",Xv,[e[288]||(e[288]=r("span",{class:"setting-name"},"重复面试",-1)),r("div",qv,[e[287]||(e[287]=r("p",{class:"setting-desc",style:{}},"选取后,将允许面试者进行重复面试",-1)),p(ht,{modelValue:Ae.reviewInterview,"onUpdate:modelValue":e[72]||(e[72]=g=>Ae.reviewInterview=g)},null,8,["modelValue"])])])]),r("div",Zv,[r("div",_v,[e[291]||(e[291]=r("span",{class:"setting-name"},"开场词",-1)),Un.value?(K(),W("div",np,[p(U,{modelValue:on.value,"onUpdate:modelValue":e[73]||(e[73]=g=>on.value=g),type:"textarea",rows:"5",maxlength:"150",placeholder:"请输入开始前提示内容","show-word-limit":""},null,8,["modelValue"]),r("div",op,[p(E,{size:"small",onClick:ml},{default:y(()=>e[289]||(e[289]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:gl},{default:y(()=>e[290]||(e[290]=[k("保存")])),_:1})])])):(K(),W("div",ep,[r("p",tp,le(Ae.beforeStartText),1),p(E,{type:"text",class:"edit-desc-btn",onClick:pl},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:1})]))])]),r("div",ip,[r("div",ap,[e[294]||(e[294]=r("span",{class:"setting-name"},"开始后提醒",-1)),vo.value?(K(),W("div",sp,[p(U,{modelValue:kn.value,"onUpdate:modelValue":e[74]||(e[74]=g=>kn.value=g),type:"textarea",rows:"5",placeholder:"请输入开始后提醒内容",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),r("div",dp,[p(E,{size:"small",onClick:yl},{default:y(()=>e[292]||(e[292]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:bl},{default:y(()=>e[293]||(e[293]=[k("保存")])),_:1})])])):(K(),W("div",rp,[r("p",lp,le(Ae.afterStartText),1),p(E,{type:"text",class:"edit-desc-btn",onClick:hl},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:1})]))])]),r("div",up,[r("div",cp,[e[297]||(e[297]=r("span",{class:"setting-name"},"结束语",-1)),po.value?(K(),W("div",pp,[p(U,{modelValue:Kn.value,"onUpdate:modelValue":e[75]||(e[75]=g=>Kn.value=g),type:"textarea",rows:"5",placeholder:"请输入免责声明内容",maxlength:"200","show-word-limit":""},null,8,["modelValue"]),r("div",mp,[p(E,{size:"small",onClick:El},{default:y(()=>e[295]||(e[295]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:xl},{default:y(()=>e[296]||(e[296]=[k("保存")])),_:1})])])):(K(),W("div",fp,[r("p",vp,le(Ae.disclaimerText),1),p(E,{type:"text",class:"edit-desc-btn",onClick:Sl},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(ft))]),_:1})]),_:1})]))])])])])]),_:1},8,["modelValue"]),p(Ot,{title:"选择题目",modelValue:x.value,"onUpdate:modelValue":e[82]||(e[82]=g=>x.value=g),width:"70%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[r("span",Ip,[p(E,{onClick:e[81]||(e[81]=g=>N("0,1,2,3,5,6"))},{default:y(()=>e[301]||(e[301]=[k("预览已选")])),_:1}),p(E,{type:"primary",onClick:D,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[302]||(e[302]=[k("确定")])),_:1})])]),default:y(()=>[r("div",hp,[p(Yt,{class:"document-el-row"},{default:y(()=>[p(Gt,{span:3},{default:y(()=>[Fn((K(),W("div",yp,[p(Ds,{ref_key:"treeListRef",ref:Ul,treeData:la.value,onTreeClick:kl,onUpdateDocument:Kl,onDeleteDocument:Ml},null,8,["treeData"])])),[[Xo,go.value]])]),_:1}),p(Gt,{span:21},{default:y(()=>[r("div",bp,[r("div",Sp,[p(U,{modelValue:co.value,"onUpdate:modelValue":e[77]||(e[77]=g=>co.value=g),placeholder:"请输入关键词搜索题目",clearable:"",onClear:Wo,onKeyup:os(Wo,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:y(()=>[p(E,{onClick:Wo},{default:y(()=>[p(O,null,{default:y(()=>[p(ce(vs))]),_:1})]),_:1})]),_:1},8,["modelValue"]),p(re,{modelValue:st.question_form,"onUpdate:modelValue":e[78]||(e[78]=g=>st.question_form=g),placeholder:"题目类型",clearable:"",onChange:Wo,style:{width:"120px"}},{default:y(()=>[p(J,{label:"开放问题",value:0}),p(J,{label:"单选题",value:1}),p(J,{label:"多选题",value:2}),p(J,{label:"识图题",value:3}),p(J,{label:"得分题",value:4}),p(J,{label:"追加型开放问题",value:5}),p(J,{label:"填空题",value:6})]),_:1},8,["modelValue"])])]),r("div",Ep,[p(ua,{data:lt.value,style:{width:"100%"},onSelectionChange:il},{default:y(()=>[p(Yo,{type:"selection",width:"55"}),p(Yo,{prop:"question",label:"题目标题"}),p(Yo,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),r("div",xp,[p($l,{"current-page":st.page,"onUpdate:currentPage":e[79]||(e[79]=g=>st.page=g),"page-size":st.pageSize,"onUpdate:pageSize":e[80]||(e[80]=g=>st.pageSize=g),total:jt.value,"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next",onSizeChange:I,onCurrentChange:T},null,8,["current-page","page-size","total"])])])]),_:1})]),_:1})])]),_:1},8,["modelValue"]),p(Ot,{title:mo.value>=0?"编辑候选人提问环节":"配置候选人提问环节",modelValue:Nn.value,"onUpdate:modelValue":e[86]||(e[86]=g=>Nn.value=g),width:"600px","close-on-click-modal":!1,class:"candidate-questions-dialog"},{footer:y(()=>[r("span",Tp,[p(E,{onClick:Se},{default:y(()=>e[309]||(e[309]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:de},{default:y(()=>e[310]||(e[310]=[k("确认")])),_:1})])]),default:y(()=>[r("div",Cp,[r("div",wp,[e[303]||(e[303]=r("div",{class:"form-label"},[k(" 环节名称"),r("span",{class:"required"},"*")],-1)),p(U,{modelValue:Me.title,"onUpdate:modelValue":e[83]||(e[83]=g=>Me.title=g),placeholder:"请输入环节名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),r("div",Ap,[e[304]||(e[304]=r("div",{class:"form-label"},[k(" 提问时长"),r("span",{class:"required"},"*")],-1)),p(dt,{modelValue:Me.duration,"onUpdate:modelValue":e[84]||(e[84]=g=>Me.duration=g),min:1,max:30,step:1,"controls-position":"right",style:{width:"200px"}},null,8,["modelValue"]),e[305]||(e[305]=r("span",{class:"form-unit"},"分钟",-1)),e[306]||(e[306]=r("div",{class:"form-tip"},"候选人可用于提问的总时长",-1))]),r("div",Op,[e[307]||(e[307]=r("div",{class:"form-label"},"环节描述",-1)),p(U,{modelValue:Me.description,"onUpdate:modelValue":e[85]||(e[85]=g=>Me.description=g),type:"textarea",rows:"3",placeholder:"请输入环节描述",maxlength:"200"},null,8,["modelValue"]),e[308]||(e[308]=r("div",{class:"form-tip"},"向候选人说明此环节的目的和意义",-1))])])]),_:1},8,["title","modelValue"]),p(Ot,{modelValue:Ho.value,"onUpdate:modelValue":e[90]||(e[90]=g=>Ho.value=g),title:"肢体检测配置",width:"600px","close-on-click-modal":!1},{footer:y(()=>[r("span",Dp,[p(E,{onClick:Rl,size:"small"},{default:y(()=>e[315]||(e[315]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:Vl,size:"small"},{default:y(()=>e[316]||(e[316]=[k("确定")])),_:1})])]),default:y(()=>[p(Wl,{model:rn.value,"label-width":"120px"},{default:y(()=>[p(Ei,{label:"检测时长"},{default:y(()=>[p(dt,{modelValue:rn.value.duration,"onUpdate:modelValue":e[87]||(e[87]=g=>rn.value.duration=g),min:1,max:30,step:1,"controls-position":"right"},null,8,["modelValue"]),e[311]||(e[311]=k(" 分钟 "))]),_:1}),p(Ei,{label:"检测项目"},{default:y(()=>[p(Jl,{modelValue:rn.value.detectionItems,"onUpdate:modelValue":e[88]||(e[88]=g=>rn.value.detectionItems=g)},{default:y(()=>[p(Ht,{label:"face"},{default:y(()=>e[312]||(e[312]=[k("面部表情")])),_:1}),p(Ht,{label:"pose"},{default:y(()=>e[313]||(e[313]=[k("肢体姿态")])),_:1}),p(Ht,{label:"gesture"},{default:y(()=>e[314]||(e[314]=[k("手势动作")])),_:1})]),_:1},8,["modelValue"])]),_:1}),p(Ei,{label:"提示文本"},{default:y(()=>[p(U,{modelValue:rn.value.promptText,"onUpdate:modelValue":e[89]||(e[89]=g=>rn.value.promptText=g),type:"textarea",rows:3,placeholder:"请输入提示文本"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),p(Ot,{modelValue:M.value,"onUpdate:modelValue":e[92]||(e[92]=g=>M.value=g),title:"职位问题预览",width:"60%","close-on-click-modal":!1},{default:y(()=>[r("div",Pp,[r("div",Rp,"已绑定的问题("+le(q.value.length)+"):",1),te.value.length?(K(),W("div",Vp,[e[317]||(e[317]=r("span",{style:{"margin-right":"8px",color:"#606266"}},"标签:",-1)),(K(!0),W(He,null,Ye(te.value,g=>(K(),Oe(At,{key:g.id??g.name,effect:"plain",size:"small"},{default:y(()=>[k(le(g.name),1)]),_:2},1024))),128))])):(K(),W("div",Up,"暂无标签")),p(ua,{data:q.value,style:{width:"100%"}},{default:y(()=>[p(Yo,{prop:"question",label:"问题内容","min-width":"300","show-overflow-tooltip":""})]),_:1},8,["data"])]),r("div",kp,[p(E,{type:"primary",onClick:e[91]||(e[91]=g=>M.value=!1)},{default:y(()=>e[318]||(e[318]=[k("关闭")])),_:1})])]),_:1},8,["modelValue"])])}}}),Wp=Ps(Kp,[["__scopeId","data-v-c79bb0a8"]]);export{Wp as default};
|