index.MlOWVmsX.js 212 KB

12345678910
  1. import{a as Ol,aH as Tl,aB as Dl,r as G,_ as et,f as ui,q as Vl,W as Pl,w as Rl,aj as Oe,at as Ul,c as X,o as B,b as l,S as v,K as y,P as k,Q as ie,u as be,M as Te,J as Ce,R as Je,a9 as We,L as Fo,G as St,T as Zi,Y as Kl,F as Ml,a7 as kl}from"./vue.D1BjjNmv.js";import{b as Bl,c as Nl,C as Fl,U as Et}from"./api.B_R0lgwQ.js";import{a8 as jl,g as Ll,a9 as Ql,c as Gl,E as U,X as mt,U as yn,aa as zl,ab as qi,Y as _i,ac as ci,ad as $l,ae as Jl,S as Xt,Z as ea}from"./index.DysYMDGA.js";import{G as Mn,a as Wl,b as Hl,Q as Yl,c as Zt,A as fi,d as ta,U as Dt,C as vi,e as pi,f as na,g as Xl,h as Zl,B as ql,S as _l,i as es,j as oa,k as ts,l as ns,m as os,n as is}from"./QuestionBankForm.BKfIIast.js";import{g as as}from"./pcaData.5HEg6BqW.js";import{A as rs}from"./api.CbS_Txmu.js";import ls from"./treeList.PwlADjBD.js";import{G as ia,a as aa,b as ra}from"./api.9Sa-OzHo.js";import{_ as ss}from"./_plugin-vue_export-helper.DlAUqK2U.js";import"./QuestionOptionsEditor.CfqO4x61.js";import"./BlankAnswerEditor.DfAHFZ1O.js";const la="/assets/sheng.BKW1Im68.png",ds="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAImCAQAAAAGHG0zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFyGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNS0wNi0xM1QxNzowMToyMCswODowMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNDE0NGJjZC05NWJlLTMxNGMtODlmZC01MTk0MTdmODc5OWEiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplYzMyM2E1Zi04ZWZiLTgxNGUtYWMzOS05Nzc3ODNiNDUzYjQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIHN0RXZ0OndoZW49IjIwMjUtMDYtMTNUMTc6MDE6MjArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4wIChXaW5kb3dzKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MzQxNDRiY2QtOTViZS0zMTRjLTg5ZmQtNTE5NDE3Zjg3OTlhIiBzdEV2dDp3aGVuPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JOr+gQAABzlJREFUeJzt1rENwzAQBEHTUOHsnEoVKhDwG8xUcNHi1vkBdPynBwA8iRKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHJND3hrn+kFULXX9IIveUpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEp60wvAHjwlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSDlmh7w1j7TC6Bqr+kFX/KUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUtaZXgDw4CkBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHIDp74LS5/6zzUAAAAASUVORK5CYII=";var Ea={exports:{}};/**!
  2. * Sortable 1.14.0
  3. * @author RubaXa <trash@rubaxa.org>
  4. * @author owenm <owen23355@gmail.com>
  5. * @license MIT
  6. */function sa(d,i){var o=Object.keys(d);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(d);i&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(d,n).enumerable})),o.push.apply(o,s)}return o}function Gt(d){for(var i=1;i<arguments.length;i++){var o=arguments[i]!=null?arguments[i]:{};i%2?sa(Object(o),!0).forEach(function(s){us(d,s,o[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(o)):sa(Object(o)).forEach(function(s){Object.defineProperty(d,s,Object.getOwnPropertyDescriptor(o,s))})}return d}function Jo(d){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Jo=function(i){return typeof i}:Jo=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Jo(d)}function us(d,i,o){return i in d?Object.defineProperty(d,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):d[i]=o,d}function Pt(){return Pt=Object.assign||function(d){for(var i=1;i<arguments.length;i++){var o=arguments[i];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(d[s]=o[s])}return d},Pt.apply(this,arguments)}function cs(d,i){if(d==null)return{};var o={},s=Object.keys(d),n,c;for(c=0;c<s.length;c++)n=s[c],!(i.indexOf(n)>=0)&&(o[n]=d[n]);return o}function fs(d,i){if(d==null)return{};var o=cs(d,i),s,n;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(d);for(n=0;n<c.length;n++)s=c[n],!(i.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(d,s)&&(o[s]=d[s])}return o}function vs(d){return ps(d)||ms(d)||gs(d)||hs()}function ps(d){if(Array.isArray(d))return Ai(d)}function ms(d){if(typeof Symbol<"u"&&d[Symbol.iterator]!=null||d["@@iterator"]!=null)return Array.from(d)}function gs(d,i){if(d){if(typeof d=="string")return Ai(d,i);var o=Object.prototype.toString.call(d).slice(8,-1);if(o==="Object"&&d.constructor&&(o=d.constructor.name),o==="Map"||o==="Set")return Array.from(d);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Ai(d,i)}}function Ai(d,i){(i==null||i>d.length)&&(i=d.length);for(var o=0,s=new Array(i);o<i;o++)s[o]=d[o];return s}function hs(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
  7. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ys="1.14.0";function qt(d){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(d)}var _t=qt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Co=qt(/Edge/i),da=qt(/firefox/i),bo=qt(/safari/i)&&!qt(/chrome/i)&&!qt(/android/i),xa=qt(/iP(ad|od|hone)/i),bs=qt(/chrome/i)&&qt(/android/i),Ia={capture:!1,passive:!1};function Se(d,i,o){d.addEventListener(i,o,!_t&&Ia)}function he(d,i,o){d.removeEventListener(i,o,!_t&&Ia)}function Zo(d,i){if(i){if(i[0]===">"&&(i=i.substring(1)),d)try{if(d.matches)return d.matches(i);if(d.msMatchesSelector)return d.msMatchesSelector(i);if(d.webkitMatchesSelector)return d.webkitMatchesSelector(i)}catch{return!1}return!1}}function Ss(d){return d.host&&d!==document&&d.host.nodeType?d.host:d.parentNode}function Mt(d,i,o,s){if(d){o=o||document;do{if(i!=null&&(i[0]===">"?d.parentNode===o&&Zo(d,i):Zo(d,i))||s&&d===o)return d;if(d===o)break}while(d=Ss(d))}return null}var ua=/\s+/g;function Le(d,i,o){if(d&&i)if(d.classList)d.classList[o?"add":"remove"](i);else{var s=(" "+d.className+" ").replace(ua," ").replace(" "+i+" "," ");d.className=(s+(o?" "+i:"")).replace(ua," ")}}function te(d,i,o){var s=d&&d.style;if(s){if(o===void 0)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(d,""):d.currentStyle&&(o=d.currentStyle),i===void 0?o:o[i];!(i in s)&&i.indexOf("webkit")===-1&&(i="-webkit-"+i),s[i]=o+(typeof o=="string"?"":"px")}}function xn(d,i){var o="";if(typeof d=="string")o=d;else do{var s=te(d,"transform");s&&s!=="none"&&(o=s+" "+o)}while(!i&&(d=d.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(o)}function Ca(d,i,o){if(d){var s=d.getElementsByTagName(i),n=0,c=s.length;if(o)for(;n<c;n++)o(s[n],n);return s}return[]}function Qt(){var d=document.scrollingElement;return d||document.documentElement}function Fe(d,i,o,s,n){if(!(!d.getBoundingClientRect&&d!==window)){var c,t,a,r,u,g,m;if(d!==window&&d.parentNode&&d!==Qt()?(c=d.getBoundingClientRect(),t=c.top,a=c.left,r=c.bottom,u=c.right,g=c.height,m=c.width):(t=0,a=0,r=window.innerHeight,u=window.innerWidth,g=window.innerHeight,m=window.innerWidth),(i||o)&&d!==window&&(n=n||d.parentNode,!_t))do if(n&&n.getBoundingClientRect&&(te(n,"transform")!=="none"||o&&te(n,"position")!=="static")){var h=n.getBoundingClientRect();t-=h.top+parseInt(te(n,"border-top-width")),a-=h.left+parseInt(te(n,"border-left-width")),r=t+c.height,u=a+c.width;break}while(n=n.parentNode);if(s&&d!==window){var b=xn(n||d),S=b&&b.a,E=b&&b.d;b&&(t/=E,a/=S,m/=S,g/=E,r=t+g,u=a+m)}return{top:t,left:a,bottom:r,right:u,width:m,height:g}}}function ca(d,i,o){for(var s=sn(d,!0),n=Fe(d)[i];s;){var c=Fe(s)[o],t=void 0;if(t=n>=c,!t)return s;if(s===Qt())break;s=sn(s,!1)}return!1}function Ln(d,i,o,s){for(var n=0,c=0,t=d.children;c<t.length;){if(t[c].style.display!=="none"&&t[c]!==ue.ghost&&(s||t[c]!==ue.dragged)&&Mt(t[c],o.draggable,d,!1)){if(n===i)return t[c];n++}c++}return null}function Vi(d,i){for(var o=d.lastElementChild;o&&(o===ue.ghost||te(o,"display")==="none"||i&&!Zo(o,i));)o=o.previousElementSibling;return o||null}function ze(d,i){var o=0;if(!d||!d.parentNode)return-1;for(;d=d.previousElementSibling;)d.nodeName.toUpperCase()!=="TEMPLATE"&&d!==ue.clone&&(!i||Zo(d,i))&&o++;return o}function fa(d){var i=0,o=0,s=Qt();if(d)do{var n=xn(d),c=n.a,t=n.d;i+=d.scrollLeft*c,o+=d.scrollTop*t}while(d!==s&&(d=d.parentNode));return[i,o]}function Es(d,i){for(var o in d)if(d.hasOwnProperty(o)){for(var s in i)if(i.hasOwnProperty(s)&&i[s]===d[o][s])return Number(o)}return-1}function sn(d,i){if(!d||!d.getBoundingClientRect)return Qt();var o=d,s=!1;do if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var n=te(o);if(o.clientWidth<o.scrollWidth&&(n.overflowX=="auto"||n.overflowX=="scroll")||o.clientHeight<o.scrollHeight&&(n.overflowY=="auto"||n.overflowY=="scroll")){if(!o.getBoundingClientRect||o===document.body)return Qt();if(s||i)return o;s=!0}}while(o=o.parentNode);return Qt()}function xs(d,i){if(d&&i)for(var o in i)i.hasOwnProperty(o)&&(d[o]=i[o]);return d}function mi(d,i){return Math.round(d.top)===Math.round(i.top)&&Math.round(d.left)===Math.round(i.left)&&Math.round(d.height)===Math.round(i.height)&&Math.round(d.width)===Math.round(i.width)}var So;function Aa(d,i){return function(){if(!So){var o=arguments,s=this;o.length===1?d.call(s,o[0]):d.apply(s,o),So=setTimeout(function(){So=void 0},i)}}}function Is(){clearTimeout(So),So=void 0}function wa(d,i,o){d.scrollLeft+=i,d.scrollTop+=o}function Pi(d){var i=window.Polymer,o=window.jQuery||window.Zepto;return i&&i.dom?i.dom(d).cloneNode(!0):o?o(d).clone(!0)[0]:d.cloneNode(!0)}function va(d,i){te(d,"position","absolute"),te(d,"top",i.top),te(d,"left",i.left),te(d,"width",i.width),te(d,"height",i.height)}function gi(d){te(d,"position",""),te(d,"top",""),te(d,"left",""),te(d,"width",""),te(d,"height","")}var vt="Sortable"+new Date().getTime();function Cs(){var d=[],i;return{captureAnimationState:function(){if(d=[],!!this.options.animation){var s=[].slice.call(this.el.children);s.forEach(function(n){if(!(te(n,"display")==="none"||n===ue.ghost)){d.push({target:n,rect:Fe(n)});var c=Gt({},d[d.length-1].rect);if(n.thisAnimationDuration){var t=xn(n,!0);t&&(c.top-=t.f,c.left-=t.e)}n.fromRect=c}})}},addAnimationState:function(s){d.push(s)},removeAnimationState:function(s){d.splice(Es(d,{target:s}),1)},animateAll:function(s){var n=this;if(!this.options.animation){clearTimeout(i),typeof s=="function"&&s();return}var c=!1,t=0;d.forEach(function(a){var r=0,u=a.target,g=u.fromRect,m=Fe(u),h=u.prevFromRect,b=u.prevToRect,S=a.rect,E=xn(u,!0);E&&(m.top-=E.f,m.left-=E.e),u.toRect=m,u.thisAnimationDuration&&mi(h,m)&&!mi(g,m)&&(S.top-m.top)/(S.left-m.left)===(g.top-m.top)/(g.left-m.left)&&(r=ws(S,h,b,n.options)),mi(m,g)||(u.prevFromRect=g,u.prevToRect=m,r||(r=n.options.animation),n.animate(u,S,m,r)),r&&(c=!0,t=Math.max(t,r),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},r),u.thisAnimationDuration=r)}),clearTimeout(i),c?i=setTimeout(function(){typeof s=="function"&&s()},t):typeof s=="function"&&s(),d=[]},animate:function(s,n,c,t){if(t){te(s,"transition",""),te(s,"transform","");var a=xn(this.el),r=a&&a.a,u=a&&a.d,g=(n.left-c.left)/(r||1),m=(n.top-c.top)/(u||1);s.animatingX=!!g,s.animatingY=!!m,te(s,"transform","translate3d("+g+"px,"+m+"px,0)"),this.forRepaintDummy=As(s),te(s,"transition","transform "+t+"ms"+(this.options.easing?" "+this.options.easing:"")),te(s,"transform","translate3d(0,0,0)"),typeof s.animated=="number"&&clearTimeout(s.animated),s.animated=setTimeout(function(){te(s,"transition",""),te(s,"transform",""),s.animated=!1,s.animatingX=!1,s.animatingY=!1},t)}}}}function As(d){return d.offsetWidth}function ws(d,i,o,s){return Math.sqrt(Math.pow(i.top-d.top,2)+Math.pow(i.left-d.left,2))/Math.sqrt(Math.pow(i.top-o.top,2)+Math.pow(i.left-o.left,2))*s.animation}var kn=[],hi={initializeByDefault:!0},Ao={mount:function(i){for(var o in hi)hi.hasOwnProperty(o)&&!(o in i)&&(i[o]=hi[o]);kn.forEach(function(s){if(s.pluginName===i.pluginName)throw"Sortable: Cannot mount plugin ".concat(i.pluginName," more than once")}),kn.push(i)},pluginEvent:function(i,o,s){var n=this;this.eventCanceled=!1,s.cancel=function(){n.eventCanceled=!0};var c=i+"Global";kn.forEach(function(t){o[t.pluginName]&&(o[t.pluginName][c]&&o[t.pluginName][c](Gt({sortable:o},s)),o.options[t.pluginName]&&o[t.pluginName][i]&&o[t.pluginName][i](Gt({sortable:o},s)))})},initializePlugins:function(i,o,s,n){kn.forEach(function(a){var r=a.pluginName;if(!(!i.options[r]&&!a.initializeByDefault)){var u=new a(i,o,i.options);u.sortable=i,u.options=i.options,i[r]=u,Pt(s,u.defaults)}});for(var c in i.options)if(i.options.hasOwnProperty(c)){var t=this.modifyOption(i,c,i.options[c]);typeof t<"u"&&(i.options[c]=t)}},getEventProperties:function(i,o){var s={};return kn.forEach(function(n){typeof n.eventProperties=="function"&&Pt(s,n.eventProperties.call(o[n.pluginName],i))}),s},modifyOption:function(i,o,s){var n;return kn.forEach(function(c){i[c.pluginName]&&c.optionListeners&&typeof c.optionListeners[o]=="function"&&(n=c.optionListeners[o].call(i[c.pluginName],s))}),n}};function mo(d){var i=d.sortable,o=d.rootEl,s=d.name,n=d.targetEl,c=d.cloneEl,t=d.toEl,a=d.fromEl,r=d.oldIndex,u=d.newIndex,g=d.oldDraggableIndex,m=d.newDraggableIndex,h=d.originalEvent,b=d.putSortable,S=d.extraEventProperties;if(i=i||o&&o[vt],!!i){var E,I=i.options,w="on"+s.charAt(0).toUpperCase()+s.substr(1);window.CustomEvent&&!_t&&!Co?E=new CustomEvent(s,{bubbles:!0,cancelable:!0}):(E=document.createEvent("Event"),E.initEvent(s,!0,!0)),E.to=t||o,E.from=a||o,E.item=n||o,E.clone=c,E.oldIndex=r,E.newIndex=u,E.oldDraggableIndex=g,E.newDraggableIndex=m,E.originalEvent=h,E.pullMode=b?b.lastPutMode:void 0;var O=Gt(Gt({},S),Ao.getEventProperties(s,i));for(var F in O)E[F]=O[F];o&&o.dispatchEvent(E),I[w]&&I[w].call(i,E)}}var Os=["evt"],ht=function(i,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=s.evt,c=fs(s,Os);Ao.pluginEvent.bind(ue)(i,o,Gt({dragEl:H,parentEl:Qe,ghostEl:me,rootEl:Ne,nextEl:En,lastDownEl:Wo,cloneEl:Ge,cloneHidden:ln,dragStarted:go,putSortable:dt,activeSortable:ue.active,originalEvent:n,oldIndex:jn,oldDraggableIndex:Eo,newIndex:It,newDraggableIndex:rn,hideGhostForTarget:Va,unhideGhostForTarget:Pa,cloneNowHidden:function(){ln=!0},cloneNowShown:function(){ln=!1},dispatchSortableEvent:function(a){gt({sortable:o,name:a,originalEvent:n})}},c))};function gt(d){mo(Gt({putSortable:dt,cloneEl:Ge,targetEl:H,rootEl:Ne,oldIndex:jn,oldDraggableIndex:Eo,newIndex:It,newDraggableIndex:rn},d))}var H,Qe,me,Ne,En,Wo,Ge,ln,jn,It,Eo,rn,jo,dt,Fn=!1,qo=!1,_o=[],bn,Ut,yi,bi,pa,ma,go,Bn,xo,Io=!1,Lo=!1,Ho,ft,Si=[],wi=!1,ei=[],ni=typeof document<"u",Qo=xa,ga=Co||_t?"cssFloat":"float",Ts=ni&&!bs&&!xa&&"draggable"in document.createElement("div"),Oa=function(){if(ni){if(_t)return!1;var d=document.createElement("x");return d.style.cssText="pointer-events:auto",d.style.pointerEvents==="auto"}}(),Ta=function(i,o){var s=te(i),n=parseInt(s.width)-parseInt(s.paddingLeft)-parseInt(s.paddingRight)-parseInt(s.borderLeftWidth)-parseInt(s.borderRightWidth),c=Ln(i,0,o),t=Ln(i,1,o),a=c&&te(c),r=t&&te(t),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Fe(c).width,g=r&&parseInt(r.marginLeft)+parseInt(r.marginRight)+Fe(t).width;if(s.display==="flex")return s.flexDirection==="column"||s.flexDirection==="column-reverse"?"vertical":"horizontal";if(s.display==="grid")return s.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(c&&a.float&&a.float!=="none"){var m=a.float==="left"?"left":"right";return t&&(r.clear==="both"||r.clear===m)?"vertical":"horizontal"}return c&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||u>=n&&s[ga]==="none"||t&&s[ga]==="none"&&u+g>n)?"vertical":"horizontal"},Ds=function(i,o,s){var n=s?i.left:i.top,c=s?i.right:i.bottom,t=s?i.width:i.height,a=s?o.left:o.top,r=s?o.right:o.bottom,u=s?o.width:o.height;return n===a||c===r||n+t/2===a+u/2},Vs=function(i,o){var s;return _o.some(function(n){var c=n[vt].options.emptyInsertThreshold;if(!(!c||Vi(n))){var t=Fe(n),a=i>=t.left-c&&i<=t.right+c,r=o>=t.top-c&&o<=t.bottom+c;if(a&&r)return s=n}}),s},Da=function(i){function o(c,t){return function(a,r,u,g){var m=a.options.group.name&&r.options.group.name&&a.options.group.name===r.options.group.name;if(c==null&&(t||m))return!0;if(c==null||c===!1)return!1;if(t&&c==="clone")return c;if(typeof c=="function")return o(c(a,r,u,g),t)(a,r,u,g);var h=(t?a:r).options.group.name;return c===!0||typeof c=="string"&&c===h||c.join&&c.indexOf(h)>-1}}var s={},n=i.group;(!n||Jo(n)!="object")&&(n={name:n}),s.name=n.name,s.checkPull=o(n.pull,!0),s.checkPut=o(n.put),s.revertClone=n.revertClone,i.group=s},Va=function(){!Oa&&me&&te(me,"display","none")},Pa=function(){!Oa&&me&&te(me,"display","")};ni&&document.addEventListener("click",function(d){if(qo)return d.preventDefault(),d.stopPropagation&&d.stopPropagation(),d.stopImmediatePropagation&&d.stopImmediatePropagation(),qo=!1,!1},!0);var Sn=function(i){if(H){i=i.touches?i.touches[0]:i;var o=Vs(i.clientX,i.clientY);if(o){var s={};for(var n in i)i.hasOwnProperty(n)&&(s[n]=i[n]);s.target=s.rootEl=o,s.preventDefault=void 0,s.stopPropagation=void 0,o[vt]._onDragOver(s)}}},Ps=function(i){H&&H.parentNode[vt]._isOutsideThisEl(i.target)};function ue(d,i){if(!(d&&d.nodeType&&d.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(d));this.el=d,this.options=i=Pt({},i),d[vt]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(d.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ta(d,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,a){t.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:ue.supportPointer!==!1&&"PointerEvent"in window&&!bo,emptyInsertThreshold:5};Ao.initializePlugins(this,d,o);for(var s in o)!(s in i)&&(i[s]=o[s]);Da(i);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=i.forceFallback?!1:Ts,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?Se(d,"pointerdown",this._onTapStart):(Se(d,"mousedown",this._onTapStart),Se(d,"touchstart",this._onTapStart)),this.nativeDraggable&&(Se(d,"dragover",this),Se(d,"dragenter",this)),_o.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),Pt(this,Cs())}ue.prototype={constructor:ue,_isOutsideThisEl:function(i){!this.el.contains(i)&&i!==this.el&&(Bn=null)},_getDirection:function(i,o){return typeof this.options.direction=="function"?this.options.direction.call(this,i,o,H):this.options.direction},_onTapStart:function(i){if(i.cancelable){var o=this,s=this.el,n=this.options,c=n.preventOnFilter,t=i.type,a=i.touches&&i.touches[0]||i.pointerType&&i.pointerType==="touch"&&i,r=(a||i).target,u=i.target.shadowRoot&&(i.path&&i.path[0]||i.composedPath&&i.composedPath()[0])||r,g=n.filter;if(Fs(s),!H&&!(/mousedown|pointerdown/.test(t)&&i.button!==0||n.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&bo&&r&&r.tagName.toUpperCase()==="SELECT")&&(r=Mt(r,n.draggable,s,!1),!(r&&r.animated)&&Wo!==r)){if(jn=ze(r),Eo=ze(r,n.draggable),typeof g=="function"){if(g.call(this,i,r,this)){gt({sortable:o,rootEl:u,name:"filter",targetEl:r,toEl:s,fromEl:s}),ht("filter",o,{evt:i}),c&&i.cancelable&&i.preventDefault();return}}else if(g&&(g=g.split(",").some(function(m){if(m=Mt(u,m.trim(),s,!1),m)return gt({sortable:o,rootEl:m,name:"filter",targetEl:r,fromEl:s,toEl:s}),ht("filter",o,{evt:i}),!0}),g)){c&&i.cancelable&&i.preventDefault();return}n.handle&&!Mt(u,n.handle,s,!1)||this._prepareDragStart(i,a,r)}}},_prepareDragStart:function(i,o,s){var n=this,c=n.el,t=n.options,a=c.ownerDocument,r;if(s&&!H&&s.parentNode===c){var u=Fe(s);if(Ne=c,H=s,Qe=H.parentNode,En=H.nextSibling,Wo=s,jo=t.group,ue.dragged=H,bn={target:H,clientX:(o||i).clientX,clientY:(o||i).clientY},pa=bn.clientX-u.left,ma=bn.clientY-u.top,this._lastX=(o||i).clientX,this._lastY=(o||i).clientY,H.style["will-change"]="all",r=function(){if(ht("delayEnded",n,{evt:i}),ue.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!da&&n.nativeDraggable&&(H.draggable=!0),n._triggerDragStart(i,o),gt({sortable:n,name:"choose",originalEvent:i}),Le(H,t.chosenClass,!0)},t.ignore.split(",").forEach(function(g){Ca(H,g.trim(),Ei)}),Se(a,"dragover",Sn),Se(a,"mousemove",Sn),Se(a,"touchmove",Sn),Se(a,"mouseup",n._onDrop),Se(a,"touchend",n._onDrop),Se(a,"touchcancel",n._onDrop),da&&this.nativeDraggable&&(this.options.touchStartThreshold=4,H.draggable=!0),ht("delayStart",this,{evt:i}),t.delay&&(!t.delayOnTouchOnly||o)&&(!this.nativeDraggable||!(Co||_t))){if(ue.eventCanceled){this._onDrop();return}Se(a,"mouseup",n._disableDelayedDrag),Se(a,"touchend",n._disableDelayedDrag),Se(a,"touchcancel",n._disableDelayedDrag),Se(a,"mousemove",n._delayedDragTouchMoveHandler),Se(a,"touchmove",n._delayedDragTouchMoveHandler),t.supportPointer&&Se(a,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(r,t.delay)}else r()}},_delayedDragTouchMoveHandler:function(i){var o=i.touches?i.touches[0]:i;Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){H&&Ei(H),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var i=this.el.ownerDocument;he(i,"mouseup",this._disableDelayedDrag),he(i,"touchend",this._disableDelayedDrag),he(i,"touchcancel",this._disableDelayedDrag),he(i,"mousemove",this._delayedDragTouchMoveHandler),he(i,"touchmove",this._delayedDragTouchMoveHandler),he(i,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(i,o){o=o||i.pointerType=="touch"&&i,!this.nativeDraggable||o?this.options.supportPointer?Se(document,"pointermove",this._onTouchMove):o?Se(document,"touchmove",this._onTouchMove):Se(document,"mousemove",this._onTouchMove):(Se(H,"dragend",this),Se(Ne,"dragstart",this._onDragStart));try{document.selection?Yo(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(i,o){if(Fn=!1,Ne&&H){ht("dragStarted",this,{evt:o}),this.nativeDraggable&&Se(document,"dragover",Ps);var s=this.options;!i&&Le(H,s.dragClass,!1),Le(H,s.ghostClass,!0),ue.active=this,i&&this._appendGhost(),gt({sortable:this,name:"start",originalEvent:o})}else this._nulling()},_emulateDragOver:function(){if(Ut){this._lastX=Ut.clientX,this._lastY=Ut.clientY,Va();for(var i=document.elementFromPoint(Ut.clientX,Ut.clientY),o=i;i&&i.shadowRoot&&(i=i.shadowRoot.elementFromPoint(Ut.clientX,Ut.clientY),i!==o);)o=i;if(H.parentNode[vt]._isOutsideThisEl(i),o)do{if(o[vt]){var s=void 0;if(s=o[vt]._onDragOver({clientX:Ut.clientX,clientY:Ut.clientY,target:i,rootEl:o}),s&&!this.options.dragoverBubble)break}i=o}while(o=o.parentNode);Pa()}},_onTouchMove:function(i){if(bn){var o=this.options,s=o.fallbackTolerance,n=o.fallbackOffset,c=i.touches?i.touches[0]:i,t=me&&xn(me,!0),a=me&&t&&t.a,r=me&&t&&t.d,u=Qo&&ft&&fa(ft),g=(c.clientX-bn.clientX+n.x)/(a||1)+(u?u[0]-Si[0]:0)/(a||1),m=(c.clientY-bn.clientY+n.y)/(r||1)+(u?u[1]-Si[1]:0)/(r||1);if(!ue.active&&!Fn){if(s&&Math.max(Math.abs(c.clientX-this._lastX),Math.abs(c.clientY-this._lastY))<s)return;this._onDragStart(i,!0)}if(me){t?(t.e+=g-(yi||0),t.f+=m-(bi||0)):t={a:1,b:0,c:0,d:1,e:g,f:m};var h="matrix(".concat(t.a,",").concat(t.b,",").concat(t.c,",").concat(t.d,",").concat(t.e,",").concat(t.f,")");te(me,"webkitTransform",h),te(me,"mozTransform",h),te(me,"msTransform",h),te(me,"transform",h),yi=g,bi=m,Ut=c}i.cancelable&&i.preventDefault()}},_appendGhost:function(){if(!me){var i=this.options.fallbackOnBody?document.body:Ne,o=Fe(H,!0,Qo,!0,i),s=this.options;if(Qo){for(ft=i;te(ft,"position")==="static"&&te(ft,"transform")==="none"&&ft!==document;)ft=ft.parentNode;ft!==document.body&&ft!==document.documentElement?(ft===document&&(ft=Qt()),o.top+=ft.scrollTop,o.left+=ft.scrollLeft):ft=Qt(),Si=fa(ft)}me=H.cloneNode(!0),Le(me,s.ghostClass,!1),Le(me,s.fallbackClass,!0),Le(me,s.dragClass,!0),te(me,"transition",""),te(me,"transform",""),te(me,"box-sizing","border-box"),te(me,"margin",0),te(me,"top",o.top),te(me,"left",o.left),te(me,"width",o.width),te(me,"height",o.height),te(me,"opacity","0.8"),te(me,"position",Qo?"absolute":"fixed"),te(me,"zIndex","100000"),te(me,"pointerEvents","none"),ue.ghost=me,i.appendChild(me),te(me,"transform-origin",pa/parseInt(me.style.width)*100+"% "+ma/parseInt(me.style.height)*100+"%")}},_onDragStart:function(i,o){var s=this,n=i.dataTransfer,c=s.options;if(ht("dragStart",this,{evt:i}),ue.eventCanceled){this._onDrop();return}ht("setupClone",this),ue.eventCanceled||(Ge=Pi(H),Ge.draggable=!1,Ge.style["will-change"]="",this._hideClone(),Le(Ge,this.options.chosenClass,!1),ue.clone=Ge),s.cloneId=Yo(function(){ht("clone",s),!ue.eventCanceled&&(s.options.removeCloneOnHide||Ne.insertBefore(Ge,H),s._hideClone(),gt({sortable:s,name:"clone"}))}),!o&&Le(H,c.dragClass,!0),o?(qo=!0,s._loopId=setInterval(s._emulateDragOver,50)):(he(document,"mouseup",s._onDrop),he(document,"touchend",s._onDrop),he(document,"touchcancel",s._onDrop),n&&(n.effectAllowed="move",c.setData&&c.setData.call(s,n,H)),Se(document,"drop",s),te(H,"transform","translateZ(0)")),Fn=!0,s._dragStartId=Yo(s._dragStarted.bind(s,o,i)),Se(document,"selectstart",s),go=!0,bo&&te(document.body,"user-select","none")},_onDragOver:function(i){var o=this.el,s=i.target,n,c,t,a=this.options,r=a.group,u=ue.active,g=jo===r,m=a.sort,h=dt||u,b,S=this,E=!1;if(wi)return;function I(ge,De){ht(ge,S,Gt({evt:i,isOwner:g,axis:b?"vertical":"horizontal",revert:t,dragRect:n,targetRect:c,canSort:m,fromSortable:h,target:s,completed:O,onMove:function(Me,ke){return Go(Ne,o,H,n,Me,Fe(Me),i,ke)},changed:F},De))}function w(){I("dragOverAnimationCapture"),S.captureAnimationState(),S!==h&&h.captureAnimationState()}function O(ge){return I("dragOverCompleted",{insertion:ge}),ge&&(g?u._hideClone():u._showClone(S),S!==h&&(Le(H,dt?dt.options.ghostClass:u.options.ghostClass,!1),Le(H,a.ghostClass,!0)),dt!==S&&S!==ue.active?dt=S:S===ue.active&&dt&&(dt=null),h===S&&(S._ignoreWhileAnimating=s),S.animateAll(function(){I("dragOverAnimationComplete"),S._ignoreWhileAnimating=null}),S!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(s===H&&!H.animated||s===o&&!s.animated)&&(Bn=null),!a.dragoverBubble&&!i.rootEl&&s!==document&&(H.parentNode[vt]._isOutsideThisEl(i.target),!ge&&Sn(i)),!a.dragoverBubble&&i.stopPropagation&&i.stopPropagation(),E=!0}function F(){It=ze(H),rn=ze(H,a.draggable),gt({sortable:S,name:"change",toEl:o,newIndex:It,newDraggableIndex:rn,originalEvent:i})}if(i.preventDefault!==void 0&&i.cancelable&&i.preventDefault(),s=Mt(s,a.draggable,o,!0),I("dragOver"),ue.eventCanceled)return E;if(H.contains(i.target)||s.animated&&s.animatingX&&s.animatingY||S._ignoreWhileAnimating===s)return O(!1);if(qo=!1,u&&!a.disabled&&(g?m||(t=Qe!==Ne):dt===this||(this.lastPutMode=jo.checkPull(this,u,H,i))&&r.checkPut(this,u,H,i))){if(b=this._getDirection(i,s)==="vertical",n=Fe(H),I("dragOverValid"),ue.eventCanceled)return E;if(t)return Qe=Ne,w(),this._hideClone(),I("revert"),ue.eventCanceled||(En?Ne.insertBefore(H,En):Ne.appendChild(H)),O(!0);var R=Vi(o,a.draggable);if(!R||Ms(i,b,this)&&!R.animated){if(R===H)return O(!1);if(R&&o===i.target&&(s=R),s&&(c=Fe(s)),Go(Ne,o,H,n,s,c,i,!!s)!==!1)return w(),o.appendChild(H),Qe=o,F(),O(!0)}else if(R&&Ks(i,b,this)){var K=Ln(o,0,a,!0);if(K===H)return O(!1);if(s=K,c=Fe(s),Go(Ne,o,H,n,s,c,i,!1)!==!1)return w(),o.insertBefore(H,K),Qe=o,F(),O(!0)}else if(s.parentNode===o){c=Fe(s);var M=0,Z,ee=H.parentNode!==o,V=!Ds(H.animated&&H.toRect||n,s.animated&&s.toRect||c,b),Y=b?"top":"left",q=ca(s,"top","top")||ca(H,"top","top"),le=q?q.scrollTop:void 0;Bn!==s&&(Z=c[Y],Io=!1,Lo=!V&&a.invertSwap||ee),M=ks(i,s,c,b,V?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Lo,Bn===s);var Q;if(M!==0){var J=ze(H);do J-=M,Q=Qe.children[J];while(Q&&(te(Q,"display")==="none"||Q===me))}if(M===0||Q===s)return O(!1);Bn=s,xo=M;var re=s.nextElementSibling,N=!1;N=M===1;var ne=Go(Ne,o,H,n,s,c,i,N);if(ne!==!1)return(ne===1||ne===-1)&&(N=ne===1),wi=!0,setTimeout(Us,30),w(),N&&!re?o.appendChild(H):s.parentNode.insertBefore(H,N?re:s),q&&wa(q,0,le-q.scrollTop),Qe=H.parentNode,Z!==void 0&&!Lo&&(Ho=Math.abs(Z-Fe(s)[Y])),F(),O(!0)}if(o.contains(H))return O(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){he(document,"mousemove",this._onTouchMove),he(document,"touchmove",this._onTouchMove),he(document,"pointermove",this._onTouchMove),he(document,"dragover",Sn),he(document,"mousemove",Sn),he(document,"touchmove",Sn)},_offUpEvents:function(){var i=this.el.ownerDocument;he(i,"mouseup",this._onDrop),he(i,"touchend",this._onDrop),he(i,"pointerup",this._onDrop),he(i,"touchcancel",this._onDrop),he(document,"selectstart",this)},_onDrop:function(i){var o=this.el,s=this.options;if(It=ze(H),rn=ze(H,s.draggable),ht("drop",this,{evt:i}),Qe=H&&H.parentNode,It=ze(H),rn=ze(H,s.draggable),ue.eventCanceled){this._nulling();return}Fn=!1,Lo=!1,Io=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Oi(this.cloneId),Oi(this._dragStartId),this.nativeDraggable&&(he(document,"drop",this),he(o,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),bo&&te(document.body,"user-select",""),te(H,"transform",""),i&&(go&&(i.cancelable&&i.preventDefault(),!s.dropBubble&&i.stopPropagation()),me&&me.parentNode&&me.parentNode.removeChild(me),(Ne===Qe||dt&&dt.lastPutMode!=="clone")&&Ge&&Ge.parentNode&&Ge.parentNode.removeChild(Ge),H&&(this.nativeDraggable&&he(H,"dragend",this),Ei(H),H.style["will-change"]="",go&&!Fn&&Le(H,dt?dt.options.ghostClass:this.options.ghostClass,!1),Le(H,this.options.chosenClass,!1),gt({sortable:this,name:"unchoose",toEl:Qe,newIndex:null,newDraggableIndex:null,originalEvent:i}),Ne!==Qe?(It>=0&&(gt({rootEl:Qe,name:"add",toEl:Qe,fromEl:Ne,originalEvent:i}),gt({sortable:this,name:"remove",toEl:Qe,originalEvent:i}),gt({rootEl:Qe,name:"sort",toEl:Qe,fromEl:Ne,originalEvent:i}),gt({sortable:this,name:"sort",toEl:Qe,originalEvent:i})),dt&&dt.save()):It!==jn&&It>=0&&(gt({sortable:this,name:"update",toEl:Qe,originalEvent:i}),gt({sortable:this,name:"sort",toEl:Qe,originalEvent:i})),ue.active&&((It==null||It===-1)&&(It=jn,rn=Eo),gt({sortable:this,name:"end",toEl:Qe,originalEvent:i}),this.save()))),this._nulling()},_nulling:function(){ht("nulling",this),Ne=H=Qe=me=En=Ge=Wo=ln=bn=Ut=go=It=rn=jn=Eo=Bn=xo=dt=jo=ue.dragged=ue.ghost=ue.clone=ue.active=null,ei.forEach(function(i){i.checked=!0}),ei.length=yi=bi=0},handleEvent:function(i){switch(i.type){case"drop":case"dragend":this._onDrop(i);break;case"dragenter":case"dragover":H&&(this._onDragOver(i),Rs(i));break;case"selectstart":i.preventDefault();break}},toArray:function(){for(var i=[],o,s=this.el.children,n=0,c=s.length,t=this.options;n<c;n++)o=s[n],Mt(o,t.draggable,this.el,!1)&&i.push(o.getAttribute(t.dataIdAttr)||Ns(o));return i},sort:function(i,o){var s={},n=this.el;this.toArray().forEach(function(c,t){var a=n.children[t];Mt(a,this.options.draggable,n,!1)&&(s[c]=a)},this),o&&this.captureAnimationState(),i.forEach(function(c){s[c]&&(n.removeChild(s[c]),n.appendChild(s[c]))}),o&&this.animateAll()},save:function(){var i=this.options.store;i&&i.set&&i.set(this)},closest:function(i,o){return Mt(i,o||this.options.draggable,this.el,!1)},option:function(i,o){var s=this.options;if(o===void 0)return s[i];var n=Ao.modifyOption(this,i,o);typeof n<"u"?s[i]=n:s[i]=o,i==="group"&&Da(s)},destroy:function(){ht("destroy",this);var i=this.el;i[vt]=null,he(i,"mousedown",this._onTapStart),he(i,"touchstart",this._onTapStart),he(i,"pointerdown",this._onTapStart),this.nativeDraggable&&(he(i,"dragover",this),he(i,"dragenter",this)),Array.prototype.forEach.call(i.querySelectorAll("[draggable]"),function(o){o.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),_o.splice(_o.indexOf(this.el),1),this.el=i=null},_hideClone:function(){if(!ln){if(ht("hideClone",this),ue.eventCanceled)return;te(Ge,"display","none"),this.options.removeCloneOnHide&&Ge.parentNode&&Ge.parentNode.removeChild(Ge),ln=!0}},_showClone:function(i){if(i.lastPutMode!=="clone"){this._hideClone();return}if(ln){if(ht("showClone",this),ue.eventCanceled)return;H.parentNode==Ne&&!this.options.group.revertClone?Ne.insertBefore(Ge,H):En?Ne.insertBefore(Ge,En):Ne.appendChild(Ge),this.options.group.revertClone&&this.animate(H,Ge),te(Ge,"display",""),ln=!1}}};function Rs(d){d.dataTransfer&&(d.dataTransfer.dropEffect="move"),d.cancelable&&d.preventDefault()}function Go(d,i,o,s,n,c,t,a){var r,u=d[vt],g=u.options.onMove,m;return window.CustomEvent&&!_t&&!Co?r=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(r=document.createEvent("Event"),r.initEvent("move",!0,!0)),r.to=i,r.from=d,r.dragged=o,r.draggedRect=s,r.related=n||i,r.relatedRect=c||Fe(i),r.willInsertAfter=a,r.originalEvent=t,d.dispatchEvent(r),g&&(m=g.call(u,r,t)),m}function Ei(d){d.draggable=!1}function Us(){wi=!1}function Ks(d,i,o){var s=Fe(Ln(o.el,0,o.options,!0)),n=10;return i?d.clientX<s.left-n||d.clientY<s.top&&d.clientX<s.right:d.clientY<s.top-n||d.clientY<s.bottom&&d.clientX<s.left}function Ms(d,i,o){var s=Fe(Vi(o.el,o.options.draggable)),n=10;return i?d.clientX>s.right+n||d.clientX<=s.right&&d.clientY>s.bottom&&d.clientX>=s.left:d.clientX>s.right&&d.clientY>s.top||d.clientX<=s.right&&d.clientY>s.bottom+n}function ks(d,i,o,s,n,c,t,a){var r=s?d.clientY:d.clientX,u=s?o.height:o.width,g=s?o.top:o.left,m=s?o.bottom:o.right,h=!1;if(!t){if(a&&Ho<u*n){if(!Io&&(xo===1?r>g+u*c/2:r<m-u*c/2)&&(Io=!0),Io)h=!0;else if(xo===1?r<g+Ho:r>m-Ho)return-xo}else if(r>g+u*(1-n)/2&&r<m-u*(1-n)/2)return Bs(i)}return h=h||t,h&&(r<g+u*c/2||r>m-u*c/2)?r>g+u/2?1:-1:0}function Bs(d){return ze(H)<ze(d)?1:-1}function Ns(d){for(var i=d.tagName+d.className+d.src+d.href+d.textContent,o=i.length,s=0;o--;)s+=i.charCodeAt(o);return s.toString(36)}function Fs(d){ei.length=0;for(var i=d.getElementsByTagName("input"),o=i.length;o--;){var s=i[o];s.checked&&ei.push(s)}}function Yo(d){return setTimeout(d,0)}function Oi(d){return clearTimeout(d)}ni&&Se(document,"touchmove",function(d){(ue.active||Fn)&&d.cancelable&&d.preventDefault()});ue.utils={on:Se,off:he,css:te,find:Ca,is:function(i,o){return!!Mt(i,o,i,!1)},extend:xs,throttle:Aa,closest:Mt,toggleClass:Le,clone:Pi,index:ze,nextTick:Yo,cancelNextTick:Oi,detectDirection:Ta,getChild:Ln};ue.get=function(d){return d[vt]};ue.mount=function(){for(var d=arguments.length,i=new Array(d),o=0;o<d;o++)i[o]=arguments[o];i[0].constructor===Array&&(i=i[0]),i.forEach(function(s){if(!s.prototype||!s.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(s));s.utils&&(ue.utils=Gt(Gt({},ue.utils),s.utils)),Ao.mount(s)})};ue.create=function(d,i){return new ue(d,i)};ue.version=ys;var Ye=[],ho,Ti,Di=!1,xi,Ii,ti,yo;function js(){function d(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this))}return d.prototype={dragStarted:function(o){var s=o.originalEvent;this.sortable.nativeDraggable?Se(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Se(document,"pointermove",this._handleFallbackAutoScroll):s.touches?Se(document,"touchmove",this._handleFallbackAutoScroll):Se(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(o){var s=o.originalEvent;!this.options.dragOverBubble&&!s.rootEl&&this._handleAutoScroll(s)},drop:function(){this.sortable.nativeDraggable?he(document,"dragover",this._handleAutoScroll):(he(document,"pointermove",this._handleFallbackAutoScroll),he(document,"touchmove",this._handleFallbackAutoScroll),he(document,"mousemove",this._handleFallbackAutoScroll)),ha(),Xo(),Is()},nulling:function(){ti=Ti=ho=Di=yo=xi=Ii=null,Ye.length=0},_handleFallbackAutoScroll:function(o){this._handleAutoScroll(o,!0)},_handleAutoScroll:function(o,s){var n=this,c=(o.touches?o.touches[0]:o).clientX,t=(o.touches?o.touches[0]:o).clientY,a=document.elementFromPoint(c,t);if(ti=o,s||this.options.forceAutoScrollFallback||Co||_t||bo){Ci(o,this.options,a,s);var r=sn(a,!0);Di&&(!yo||c!==xi||t!==Ii)&&(yo&&ha(),yo=setInterval(function(){var u=sn(document.elementFromPoint(c,t),!0);u!==r&&(r=u,Xo()),Ci(o,n.options,u,s)},10),xi=c,Ii=t)}else{if(!this.options.bubbleScroll||sn(a,!0)===Qt()){Xo();return}Ci(o,this.options,sn(a,!1),!1)}}},Pt(d,{pluginName:"scroll",initializeByDefault:!0})}function Xo(){Ye.forEach(function(d){clearInterval(d.pid)}),Ye=[]}function ha(){clearInterval(yo)}var Ci=Aa(function(d,i,o,s){if(i.scroll){var n=(d.touches?d.touches[0]:d).clientX,c=(d.touches?d.touches[0]:d).clientY,t=i.scrollSensitivity,a=i.scrollSpeed,r=Qt(),u=!1,g;Ti!==o&&(Ti=o,Xo(),ho=i.scroll,g=i.scrollFn,ho===!0&&(ho=sn(o,!0)));var m=0,h=ho;do{var b=h,S=Fe(b),E=S.top,I=S.bottom,w=S.left,O=S.right,F=S.width,R=S.height,K=void 0,M=void 0,Z=b.scrollWidth,ee=b.scrollHeight,V=te(b),Y=b.scrollLeft,q=b.scrollTop;b===r?(K=F<Z&&(V.overflowX==="auto"||V.overflowX==="scroll"||V.overflowX==="visible"),M=R<ee&&(V.overflowY==="auto"||V.overflowY==="scroll"||V.overflowY==="visible")):(K=F<Z&&(V.overflowX==="auto"||V.overflowX==="scroll"),M=R<ee&&(V.overflowY==="auto"||V.overflowY==="scroll"));var le=K&&(Math.abs(O-n)<=t&&Y+F<Z)-(Math.abs(w-n)<=t&&!!Y),Q=M&&(Math.abs(I-c)<=t&&q+R<ee)-(Math.abs(E-c)<=t&&!!q);if(!Ye[m])for(var J=0;J<=m;J++)Ye[J]||(Ye[J]={});(Ye[m].vx!=le||Ye[m].vy!=Q||Ye[m].el!==b)&&(Ye[m].el=b,Ye[m].vx=le,Ye[m].vy=Q,clearInterval(Ye[m].pid),(le!=0||Q!=0)&&(u=!0,Ye[m].pid=setInterval((function(){s&&this.layer===0&&ue.active._onTouchMove(ti);var re=Ye[this.layer].vy?Ye[this.layer].vy*a:0,N=Ye[this.layer].vx?Ye[this.layer].vx*a:0;typeof g=="function"&&g.call(ue.dragged.parentNode[vt],N,re,d,ti,Ye[this.layer].el)!=="continue"||wa(Ye[this.layer].el,N,re)}).bind({layer:m}),24))),m++}while(i.bubbleScroll&&h!==r&&(h=sn(h,!1)));Di=u}},30),Ra=function(i){var o=i.originalEvent,s=i.putSortable,n=i.dragEl,c=i.activeSortable,t=i.dispatchSortableEvent,a=i.hideGhostForTarget,r=i.unhideGhostForTarget;if(o){var u=s||c;a();var g=o.changedTouches&&o.changedTouches.length?o.changedTouches[0]:o,m=document.elementFromPoint(g.clientX,g.clientY);r(),u&&!u.el.contains(m)&&(t("spill"),this.onSpill({dragEl:n,putSortable:s}))}};function Ri(){}Ri.prototype={startIndex:null,dragStart:function(i){var o=i.oldDraggableIndex;this.startIndex=o},onSpill:function(i){var o=i.dragEl,s=i.putSortable;this.sortable.captureAnimationState(),s&&s.captureAnimationState();var n=Ln(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(o,n):this.sortable.el.appendChild(o),this.sortable.animateAll(),s&&s.animateAll()},drop:Ra};Pt(Ri,{pluginName:"revertOnSpill"});function Ui(){}Ui.prototype={onSpill:function(i){var o=i.dragEl,s=i.putSortable,n=s||this.sortable;n.captureAnimationState(),o.parentNode&&o.parentNode.removeChild(o),n.animateAll()},drop:Ra};Pt(Ui,{pluginName:"removeOnSpill"});var Vt;function Ls(){function d(){this.defaults={swapClass:"sortable-swap-highlight"}}return d.prototype={dragStart:function(o){var s=o.dragEl;Vt=s},dragOverValid:function(o){var s=o.completed,n=o.target,c=o.onMove,t=o.activeSortable,a=o.changed,r=o.cancel;if(t.options.swap){var u=this.sortable.el,g=this.options;if(n&&n!==u){var m=Vt;c(n)!==!1?(Le(n,g.swapClass,!0),Vt=n):Vt=null,m&&m!==Vt&&Le(m,g.swapClass,!1)}a(),s(!0),r()}},drop:function(o){var s=o.activeSortable,n=o.putSortable,c=o.dragEl,t=n||this.sortable,a=this.options;Vt&&Le(Vt,a.swapClass,!1),Vt&&(a.swap||n&&n.options.swap)&&c!==Vt&&(t.captureAnimationState(),t!==s&&s.captureAnimationState(),Qs(c,Vt),t.animateAll(),t!==s&&s.animateAll())},nulling:function(){Vt=null}},Pt(d,{pluginName:"swap",eventProperties:function(){return{swapItem:Vt}}})}function Qs(d,i){var o=d.parentNode,s=i.parentNode,n,c;!o||!s||o.isEqualNode(i)||s.isEqualNode(d)||(n=ze(d),c=ze(i),o.isEqualNode(s)&&n<c&&c++,o.insertBefore(i,o.children[n]),s.insertBefore(d,s.children[c]))}var fe=[],xt=[],fo,Kt,vo=!1,yt=!1,Nn=!1,Ke,po,zo;function Gs(){function d(i){for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));i.options.supportPointer?Se(document,"pointerup",this._deselectMultiDrag):(Se(document,"mouseup",this._deselectMultiDrag),Se(document,"touchend",this._deselectMultiDrag)),Se(document,"keydown",this._checkKeyDown),Se(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(n,c){var t="";fe.length&&Kt===i?fe.forEach(function(a,r){t+=(r?", ":"")+a.textContent}):t=c.textContent,n.setData("Text",t)}}}return d.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(o){var s=o.dragEl;Ke=s},delayEnded:function(){this.isMultiDrag=~fe.indexOf(Ke)},setupClone:function(o){var s=o.sortable,n=o.cancel;if(this.isMultiDrag){for(var c=0;c<fe.length;c++)xt.push(Pi(fe[c])),xt[c].sortableIndex=fe[c].sortableIndex,xt[c].draggable=!1,xt[c].style["will-change"]="",Le(xt[c],this.options.selectedClass,!1),fe[c]===Ke&&Le(xt[c],this.options.chosenClass,!1);s._hideClone(),n()}},clone:function(o){var s=o.sortable,n=o.rootEl,c=o.dispatchSortableEvent,t=o.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||fe.length&&Kt===s&&(ya(!0,n),c("clone"),t()))},showClone:function(o){var s=o.cloneNowShown,n=o.rootEl,c=o.cancel;this.isMultiDrag&&(ya(!1,n),xt.forEach(function(t){te(t,"display","")}),s(),zo=!1,c())},hideClone:function(o){var s=this;o.sortable;var n=o.cloneNowHidden,c=o.cancel;this.isMultiDrag&&(xt.forEach(function(t){te(t,"display","none"),s.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)}),n(),zo=!0,c())},dragStartGlobal:function(o){o.sortable,!this.isMultiDrag&&Kt&&Kt.multiDrag._deselectMultiDrag(),fe.forEach(function(s){s.sortableIndex=ze(s)}),fe=fe.sort(function(s,n){return s.sortableIndex-n.sortableIndex}),Nn=!0},dragStarted:function(o){var s=this,n=o.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){fe.forEach(function(t){t!==Ke&&te(t,"position","absolute")});var c=Fe(Ke,!1,!0,!0);fe.forEach(function(t){t!==Ke&&va(t,c)}),yt=!0,vo=!0}n.animateAll(function(){yt=!1,vo=!1,s.options.animation&&fe.forEach(function(t){gi(t)}),s.options.sort&&$o()})}},dragOver:function(o){var s=o.target,n=o.completed,c=o.cancel;yt&&~fe.indexOf(s)&&(n(!1),c())},revert:function(o){var s=o.fromSortable,n=o.rootEl,c=o.sortable,t=o.dragRect;fe.length>1&&(fe.forEach(function(a){c.addAnimationState({target:a,rect:yt?Fe(a):t}),gi(a),a.fromRect=t,s.removeAnimationState(a)}),yt=!1,zs(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(o){var s=o.sortable,n=o.isOwner,c=o.insertion,t=o.activeSortable,a=o.parentEl,r=o.putSortable,u=this.options;if(c){if(n&&t._hideClone(),vo=!1,u.animation&&fe.length>1&&(yt||!n&&!t.options.sort&&!r)){var g=Fe(Ke,!1,!0,!0);fe.forEach(function(h){h!==Ke&&(va(h,g),a.appendChild(h))}),yt=!0}if(!n)if(yt||$o(),fe.length>1){var m=zo;t._showClone(s),t.options.animation&&!zo&&m&&xt.forEach(function(h){t.addAnimationState({target:h,rect:po}),h.fromRect=po,h.thisAnimationDuration=null})}else t._showClone(s)}},dragOverAnimationCapture:function(o){var s=o.dragRect,n=o.isOwner,c=o.activeSortable;if(fe.forEach(function(a){a.thisAnimationDuration=null}),c.options.animation&&!n&&c.multiDrag.isMultiDrag){po=Pt({},s);var t=xn(Ke,!0);po.top-=t.f,po.left-=t.e}},dragOverAnimationComplete:function(){yt&&(yt=!1,$o())},drop:function(o){var s=o.originalEvent,n=o.rootEl,c=o.parentEl,t=o.sortable,a=o.dispatchSortableEvent,r=o.oldIndex,u=o.putSortable,g=u||this.sortable;if(s){var m=this.options,h=c.children;if(!Nn)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Le(Ke,m.selectedClass,!~fe.indexOf(Ke)),~fe.indexOf(Ke))fe.splice(fe.indexOf(Ke),1),fo=null,mo({sortable:t,rootEl:n,name:"deselect",targetEl:Ke});else{if(fe.push(Ke),mo({sortable:t,rootEl:n,name:"select",targetEl:Ke}),s.shiftKey&&fo&&t.el.contains(fo)){var b=ze(fo),S=ze(Ke);if(~b&&~S&&b!==S){var E,I;for(S>b?(I=b,E=S):(I=S,E=b+1);I<E;I++)~fe.indexOf(h[I])||(Le(h[I],m.selectedClass,!0),fe.push(h[I]),mo({sortable:t,rootEl:n,name:"select",targetEl:h[I]}))}}else fo=Ke;Kt=g}if(Nn&&this.isMultiDrag){if(yt=!1,(c[vt].options.sort||c!==n)&&fe.length>1){var w=Fe(Ke),O=ze(Ke,":not(."+this.options.selectedClass+")");if(!vo&&m.animation&&(Ke.thisAnimationDuration=null),g.captureAnimationState(),!vo&&(m.animation&&(Ke.fromRect=w,fe.forEach(function(R){if(R.thisAnimationDuration=null,R!==Ke){var K=yt?Fe(R):w;R.fromRect=K,g.addAnimationState({target:R,rect:K})}})),$o(),fe.forEach(function(R){h[O]?c.insertBefore(R,h[O]):c.appendChild(R),O++}),r===ze(Ke))){var F=!1;fe.forEach(function(R){if(R.sortableIndex!==ze(R)){F=!0;return}}),F&&a("update")}fe.forEach(function(R){gi(R)}),g.animateAll()}Kt=g}(n===c||u&&u.lastPutMode!=="clone")&&xt.forEach(function(R){R.parentNode&&R.parentNode.removeChild(R)})}},nullingGlobal:function(){this.isMultiDrag=Nn=!1,xt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),he(document,"pointerup",this._deselectMultiDrag),he(document,"mouseup",this._deselectMultiDrag),he(document,"touchend",this._deselectMultiDrag),he(document,"keydown",this._checkKeyDown),he(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(o){if(!(typeof Nn<"u"&&Nn)&&Kt===this.sortable&&!(o&&Mt(o.target,this.options.draggable,this.sortable.el,!1))&&!(o&&o.button!==0))for(;fe.length;){var s=fe[0];Le(s,this.options.selectedClass,!1),fe.shift(),mo({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:s})}},_checkKeyDown:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Pt(d,{pluginName:"multiDrag",utils:{select:function(o){var s=o.parentNode[vt];!s||!s.options.multiDrag||~fe.indexOf(o)||(Kt&&Kt!==s&&(Kt.multiDrag._deselectMultiDrag(),Kt=s),Le(o,s.options.selectedClass,!0),fe.push(o))},deselect:function(o){var s=o.parentNode[vt],n=fe.indexOf(o);!s||!s.options.multiDrag||!~n||(Le(o,s.options.selectedClass,!1),fe.splice(n,1))}},eventProperties:function(){var o=this,s=[],n=[];return fe.forEach(function(c){s.push({multiDragElement:c,index:c.sortableIndex});var t;yt&&c!==Ke?t=-1:yt?t=ze(c,":not(."+o.options.selectedClass+")"):t=ze(c),n.push({multiDragElement:c,index:t})}),{items:vs(fe),clones:[].concat(xt),oldIndicies:s,newIndicies:n}},optionListeners:{multiDragKey:function(o){return o=o.toLowerCase(),o==="ctrl"?o="Control":o.length>1&&(o=o.charAt(0).toUpperCase()+o.substr(1)),o}}})}function zs(d,i){fe.forEach(function(o,s){var n=i.children[o.sortableIndex+(d?Number(s):0)];n?i.insertBefore(o,n):i.appendChild(o)})}function ya(d,i){xt.forEach(function(o,s){var n=i.children[o.sortableIndex+(d?Number(s):0)];n?i.insertBefore(o,n):i.appendChild(o)})}function $o(){fe.forEach(function(d){d!==Ke&&d.parentNode&&d.parentNode.removeChild(d)})}ue.mount(new js);ue.mount(Ui,Ri);const $s=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Gs,Sortable:ue,Swap:Ls,default:ue},Symbol.toStringTag,{value:"Module"})),Js=jl($s);(function(d,i){(function(s,n){d.exports=n(Ql,Js)})(typeof self<"u"?self:Gl,function(o,s){return function(n){var c={};function t(a){if(c[a])return c[a].exports;var r=c[a]={i:a,l:!1,exports:{}};return n[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=n,t.c=c,t.d=function(a,r,u){t.o(a,r)||Object.defineProperty(a,r,{enumerable:!0,get:u})},t.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},t.t=function(a,r){if(r&1&&(a=t(a)),r&8||r&4&&typeof a=="object"&&a&&a.__esModule)return a;var u=Object.create(null);if(t.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:a}),r&2&&typeof a!="string")for(var g in a)t.d(u,g,(function(m){return a[m]}).bind(null,g));return u},t.n=function(a){var r=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(r,"a",r),r},t.o=function(a,r){return Object.prototype.hasOwnProperty.call(a,r)},t.p="",t(t.s="fb15")}({"00ee":function(n,c,t){var a=t("b622"),r=a("toStringTag"),u={};u[r]="z",n.exports=String(u)==="[object z]"},"0366":function(n,c,t){var a=t("1c0b");n.exports=function(r,u,g){if(a(r),u===void 0)return r;switch(g){case 0:return function(){return r.call(u)};case 1:return function(m){return r.call(u,m)};case 2:return function(m,h){return r.call(u,m,h)};case 3:return function(m,h,b){return r.call(u,m,h,b)}}return function(){return r.apply(u,arguments)}}},"057f":function(n,c,t){var a=t("fc6a"),r=t("241c").f,u={}.toString,g=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(h){try{return r(h)}catch{return g.slice()}};n.exports.f=function(b){return g&&u.call(b)=="[object Window]"?m(b):r(a(b))}},"06cf":function(n,c,t){var a=t("83ab"),r=t("d1e7"),u=t("5c6c"),g=t("fc6a"),m=t("c04e"),h=t("5135"),b=t("0cfb"),S=Object.getOwnPropertyDescriptor;c.f=a?S:function(I,w){if(I=g(I),w=m(w,!0),b)try{return S(I,w)}catch{}if(h(I,w))return u(!r.f.call(I,w),I[w])}},"0cfb":function(n,c,t){var a=t("83ab"),r=t("d039"),u=t("cc12");n.exports=!a&&!r(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(n,c,t){var a=t("23e7"),r=t("d58f").left,u=t("a640"),g=t("ae40"),m=u("reduce"),h=g("reduce",{1:0});a({target:"Array",proto:!0,forced:!m||!h},{reduce:function(S){return r(this,S,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(n,c,t){var a=t("c6b6"),r=t("9263");n.exports=function(u,g){var m=u.exec;if(typeof m=="function"){var h=m.call(u,g);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(a(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return r.call(u,g)}},"159b":function(n,c,t){var a=t("da84"),r=t("fdbc"),u=t("17c2"),g=t("9112");for(var m in r){var h=a[m],b=h&&h.prototype;if(b&&b.forEach!==u)try{g(b,"forEach",u)}catch{b.forEach=u}}},"17c2":function(n,c,t){var a=t("b727").forEach,r=t("a640"),u=t("ae40"),g=r("forEach"),m=u("forEach");n.exports=!g||!m?function(b){return a(this,b,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(n,c,t){var a=t("d066");n.exports=a("document","documentElement")},"1c0b":function(n,c){n.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(n,c,t){var a=t("b622"),r=a("iterator"),u=!1;try{var g=0,m={next:function(){return{done:!!g++}},return:function(){u=!0}};m[r]=function(){return this},Array.from(m,function(){throw 2})}catch{}n.exports=function(h,b){if(!b&&!u)return!1;var S=!1;try{var E={};E[r]=function(){return{next:function(){return{done:S=!0}}}},h(E)}catch{}return S}},"1d80":function(n,c){n.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}},"1dde":function(n,c,t){var a=t("d039"),r=t("b622"),u=t("2d00"),g=r("species");n.exports=function(m){return u>=51||!a(function(){var h=[],b=h.constructor={};return b[g]=function(){return{foo:1}},h[m](Boolean).foo!==1})}},"23cb":function(n,c,t){var a=t("a691"),r=Math.max,u=Math.min;n.exports=function(g,m){var h=a(g);return h<0?r(h+m,0):u(h,m)}},"23e7":function(n,c,t){var a=t("da84"),r=t("06cf").f,u=t("9112"),g=t("6eeb"),m=t("ce4e"),h=t("e893"),b=t("94ca");n.exports=function(S,E){var I=S.target,w=S.global,O=S.stat,F,R,K,M,Z,ee;if(w?R=a:O?R=a[I]||m(I,{}):R=(a[I]||{}).prototype,R)for(K in E){if(Z=E[K],S.noTargetGet?(ee=r(R,K),M=ee&&ee.value):M=R[K],F=b(w?K:I+(O?".":"#")+K,S.forced),!F&&M!==void 0){if(typeof Z==typeof M)continue;h(Z,M)}(S.sham||M&&M.sham)&&u(Z,"sham",!0),g(R,K,Z,S)}}},"241c":function(n,c,t){var a=t("ca84"),r=t("7839"),u=r.concat("length","prototype");c.f=Object.getOwnPropertyNames||function(m){return a(m,u)}},"25f0":function(n,c,t){var a=t("6eeb"),r=t("825a"),u=t("d039"),g=t("ad6d"),m="toString",h=RegExp.prototype,b=h[m],S=u(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),E=b.name!=m;(S||E)&&a(RegExp.prototype,m,function(){var w=r(this),O=String(w.source),F=w.flags,R=String(F===void 0&&w instanceof RegExp&&!("flags"in h)?g.call(w):F);return"/"+O+"/"+R},{unsafe:!0})},"2ca0":function(n,c,t){var a=t("23e7"),r=t("06cf").f,u=t("50c4"),g=t("5a34"),m=t("1d80"),h=t("ab13"),b=t("c430"),S="".startsWith,E=Math.min,I=h("startsWith"),w=!b&&!I&&!!function(){var O=r(String.prototype,"startsWith");return O&&!O.writable}();a({target:"String",proto:!0,forced:!w&&!I},{startsWith:function(F){var R=String(m(this));g(F);var K=u(E(arguments.length>1?arguments[1]:void 0,R.length)),M=String(F);return S?S.call(R,M,K):R.slice(K,K+M.length)===M}})},"2d00":function(n,c,t){var a=t("da84"),r=t("342f"),u=a.process,g=u&&u.versions,m=g&&g.v8,h,b;m?(h=m.split("."),b=h[0]+h[1]):r&&(h=r.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=r.match(/Chrome\/(\d+)/),h&&(b=h[1]))),n.exports=b&&+b},"342f":function(n,c,t){var a=t("d066");n.exports=a("navigator","userAgent")||""},"35a1":function(n,c,t){var a=t("f5df"),r=t("3f8c"),u=t("b622"),g=u("iterator");n.exports=function(m){if(m!=null)return m[g]||m["@@iterator"]||r[a(m)]}},"37e8":function(n,c,t){var a=t("83ab"),r=t("9bf2"),u=t("825a"),g=t("df75");n.exports=a?Object.defineProperties:function(h,b){u(h);for(var S=g(b),E=S.length,I=0,w;E>I;)r.f(h,w=S[I++],b[w]);return h}},"3bbe":function(n,c,t){var a=t("861d");n.exports=function(r){if(!a(r)&&r!==null)throw TypeError("Can't set "+String(r)+" as a prototype");return r}},"3ca3":function(n,c,t){var a=t("6547").charAt,r=t("69f3"),u=t("7dd0"),g="String Iterator",m=r.set,h=r.getterFor(g);u(String,"String",function(b){m(this,{type:g,string:String(b),index:0})},function(){var S=h(this),E=S.string,I=S.index,w;return I>=E.length?{value:void 0,done:!0}:(w=a(E,I),S.index+=w.length,{value:w,done:!1})})},"3f8c":function(n,c){n.exports={}},4160:function(n,c,t){var a=t("23e7"),r=t("17c2");a({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},"428f":function(n,c,t){var a=t("da84");n.exports=a},"44ad":function(n,c,t){var a=t("d039"),r=t("c6b6"),u="".split;n.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(g){return r(g)=="String"?u.call(g,""):Object(g)}:Object},"44d2":function(n,c,t){var a=t("b622"),r=t("7c73"),u=t("9bf2"),g=a("unscopables"),m=Array.prototype;m[g]==null&&u.f(m,g,{configurable:!0,value:r(null)}),n.exports=function(h){m[g][h]=!0}},"44e7":function(n,c,t){var a=t("861d"),r=t("c6b6"),u=t("b622"),g=u("match");n.exports=function(m){var h;return a(m)&&((h=m[g])!==void 0?!!h:r(m)=="RegExp")}},4930:function(n,c,t){var a=t("d039");n.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(n,c,t){var a=t("fc6a"),r=t("50c4"),u=t("23cb"),g=function(m){return function(h,b,S){var E=a(h),I=r(E.length),w=u(S,I),O;if(m&&b!=b){for(;I>w;)if(O=E[w++],O!=O)return!0}else for(;I>w;w++)if((m||w in E)&&E[w]===b)return m||w||0;return!m&&-1}};n.exports={includes:g(!0),indexOf:g(!1)}},"4de4":function(n,c,t){var a=t("23e7"),r=t("b727").filter,u=t("1dde"),g=t("ae40"),m=u("filter"),h=g("filter");a({target:"Array",proto:!0,forced:!m||!h},{filter:function(S){return r(this,S,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(n,c,t){var a=t("0366"),r=t("7b0b"),u=t("9bdd"),g=t("e95a"),m=t("50c4"),h=t("8418"),b=t("35a1");n.exports=function(E){var I=r(E),w=typeof this=="function"?this:Array,O=arguments.length,F=O>1?arguments[1]:void 0,R=F!==void 0,K=b(I),M=0,Z,ee,V,Y,q,le;if(R&&(F=a(F,O>2?arguments[2]:void 0,2)),K!=null&&!(w==Array&&g(K)))for(Y=K.call(I),q=Y.next,ee=new w;!(V=q.call(Y)).done;M++)le=R?u(Y,F,[V.value,M],!0):V.value,h(ee,M,le);else for(Z=m(I.length),ee=new w(Z);Z>M;M++)le=R?F(I[M],M):I[M],h(ee,M,le);return ee.length=M,ee}},"4fad":function(n,c,t){var a=t("23e7"),r=t("6f53").entries;a({target:"Object",stat:!0},{entries:function(g){return r(g)}})},"50c4":function(n,c,t){var a=t("a691"),r=Math.min;n.exports=function(u){return u>0?r(a(u),9007199254740991):0}},5135:function(n,c){var t={}.hasOwnProperty;n.exports=function(a,r){return t.call(a,r)}},5319:function(n,c,t){var a=t("d784"),r=t("825a"),u=t("7b0b"),g=t("50c4"),m=t("a691"),h=t("1d80"),b=t("8aa5"),S=t("14c3"),E=Math.max,I=Math.min,w=Math.floor,O=/\$([$&'`]|\d\d?|<[^>]*>)/g,F=/\$([$&'`]|\d\d?)/g,R=function(K){return K===void 0?K:String(K)};a("replace",2,function(K,M,Z,ee){var V=ee.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,Y=ee.REPLACE_KEEPS_$0,q=V?"$":"$0";return[function(J,re){var N=h(this),ne=J==null?void 0:J[K];return ne!==void 0?ne.call(J,N,re):M.call(String(N),J,re)},function(Q,J){if(!V&&Y||typeof J=="string"&&J.indexOf(q)===-1){var re=Z(M,Q,this,J);if(re.done)return re.value}var N=r(Q),ne=String(this),ge=typeof J=="function";ge||(J=String(J));var De=N.global;if(De){var Xe=N.unicode;N.lastIndex=0}for(var Me=[];;){var ke=S(N,ne);if(ke===null||(Me.push(ke),!De))break;var $e=String(ke[0]);$e===""&&(N.lastIndex=b(ne,g(N.lastIndex),Xe))}for(var He="",Ae=0,Ve=0;Ve<Me.length;Ve++){ke=Me[Ve];for(var we=String(ke[0]),Ze=E(I(m(ke.index),ne.length),0),nt=[],Rt=1;Rt<ke.length;Rt++)nt.push(R(ke[Rt]));var kt=ke.groups;if(ge){var ut=[we].concat(nt,Ze,ne);kt!==void 0&&ut.push(kt);var Pe=String(J.apply(void 0,ut))}else Pe=le(we,ne,Ze,nt,kt,J);Ze>=Ae&&(He+=ne.slice(Ae,Ze)+Pe,Ae=Ze+we.length)}return He+ne.slice(Ae)}];function le(Q,J,re,N,ne,ge){var De=re+Q.length,Xe=N.length,Me=F;return ne!==void 0&&(ne=u(ne),Me=O),M.call(ge,Me,function(ke,$e){var He;switch($e.charAt(0)){case"$":return"$";case"&":return Q;case"`":return J.slice(0,re);case"'":return J.slice(De);case"<":He=ne[$e.slice(1,-1)];break;default:var Ae=+$e;if(Ae===0)return ke;if(Ae>Xe){var Ve=w(Ae/10);return Ve===0?ke:Ve<=Xe?N[Ve-1]===void 0?$e.charAt(1):N[Ve-1]+$e.charAt(1):ke}He=N[Ae-1]}return He===void 0?"":He})}})},5692:function(n,c,t){var a=t("c430"),r=t("c6cd");(n.exports=function(u,g){return r[u]||(r[u]=g!==void 0?g:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(n,c,t){var a=t("d066"),r=t("241c"),u=t("7418"),g=t("825a");n.exports=a("Reflect","ownKeys")||function(h){var b=r.f(g(h)),S=u.f;return S?b.concat(S(h)):b}},"5a34":function(n,c,t){var a=t("44e7");n.exports=function(r){if(a(r))throw TypeError("The method doesn't accept regular expressions");return r}},"5c6c":function(n,c){n.exports=function(t,a){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:a}}},"5db7":function(n,c,t){var a=t("23e7"),r=t("a2bf"),u=t("7b0b"),g=t("50c4"),m=t("1c0b"),h=t("65f0");a({target:"Array",proto:!0},{flatMap:function(S){var E=u(this),I=g(E.length),w;return m(S),w=h(E,0),w.length=r(w,E,E,I,0,1,S,arguments.length>1?arguments[1]:void 0),w}})},6547:function(n,c,t){var a=t("a691"),r=t("1d80"),u=function(g){return function(m,h){var b=String(r(m)),S=a(h),E=b.length,I,w;return S<0||S>=E?g?"":void 0:(I=b.charCodeAt(S),I<55296||I>56319||S+1===E||(w=b.charCodeAt(S+1))<56320||w>57343?g?b.charAt(S):I:g?b.slice(S,S+2):(I-55296<<10)+(w-56320)+65536)}};n.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(n,c,t){var a=t("861d"),r=t("e8b5"),u=t("b622"),g=u("species");n.exports=function(m,h){var b;return r(m)&&(b=m.constructor,typeof b=="function"&&(b===Array||r(b.prototype))?b=void 0:a(b)&&(b=b[g],b===null&&(b=void 0))),new(b===void 0?Array:b)(h===0?0:h)}},"69f3":function(n,c,t){var a=t("7f9a"),r=t("da84"),u=t("861d"),g=t("9112"),m=t("5135"),h=t("f772"),b=t("d012"),S=r.WeakMap,E,I,w,O=function(V){return w(V)?I(V):E(V,{})},F=function(V){return function(Y){var q;if(!u(Y)||(q=I(Y)).type!==V)throw TypeError("Incompatible receiver, "+V+" required");return q}};if(a){var R=new S,K=R.get,M=R.has,Z=R.set;E=function(V,Y){return Z.call(R,V,Y),Y},I=function(V){return K.call(R,V)||{}},w=function(V){return M.call(R,V)}}else{var ee=h("state");b[ee]=!0,E=function(V,Y){return g(V,ee,Y),Y},I=function(V){return m(V,ee)?V[ee]:{}},w=function(V){return m(V,ee)}}n.exports={set:E,get:I,has:w,enforce:O,getterFor:F}},"6eeb":function(n,c,t){var a=t("da84"),r=t("9112"),u=t("5135"),g=t("ce4e"),m=t("8925"),h=t("69f3"),b=h.get,S=h.enforce,E=String(String).split("String");(n.exports=function(I,w,O,F){var R=F?!!F.unsafe:!1,K=F?!!F.enumerable:!1,M=F?!!F.noTargetGet:!1;if(typeof O=="function"&&(typeof w=="string"&&!u(O,"name")&&r(O,"name",w),S(O).source=E.join(typeof w=="string"?w:"")),I===a){K?I[w]=O:g(w,O);return}else R?!M&&I[w]&&(K=!0):delete I[w];K?I[w]=O:r(I,w,O)})(Function.prototype,"toString",function(){return typeof this=="function"&&b(this).source||m(this)})},"6f53":function(n,c,t){var a=t("83ab"),r=t("df75"),u=t("fc6a"),g=t("d1e7").f,m=function(h){return function(b){for(var S=u(b),E=r(S),I=E.length,w=0,O=[],F;I>w;)F=E[w++],(!a||g.call(S,F))&&O.push(h?[F,S[F]]:S[F]);return O}};n.exports={entries:m(!0),values:m(!1)}},"73d9":function(n,c,t){var a=t("44d2");a("flatMap")},7418:function(n,c){c.f=Object.getOwnPropertySymbols},"746f":function(n,c,t){var a=t("428f"),r=t("5135"),u=t("e538"),g=t("9bf2").f;n.exports=function(m){var h=a.Symbol||(a.Symbol={});r(h,m)||g(h,m,{value:u.f(m)})}},7839:function(n,c){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(n,c,t){var a=t("1d80");n.exports=function(r){return Object(a(r))}},"7c73":function(n,c,t){var a=t("825a"),r=t("37e8"),u=t("7839"),g=t("d012"),m=t("1be4"),h=t("cc12"),b=t("f772"),S=">",E="<",I="prototype",w="script",O=b("IE_PROTO"),F=function(){},R=function(V){return E+w+S+V+E+"/"+w+S},K=function(V){V.write(R("")),V.close();var Y=V.parentWindow.Object;return V=null,Y},M=function(){var V=h("iframe"),Y="java"+w+":",q;return V.style.display="none",m.appendChild(V),V.src=String(Y),q=V.contentWindow.document,q.open(),q.write(R("document.F=Object")),q.close(),q.F},Z,ee=function(){try{Z=document.domain&&new ActiveXObject("htmlfile")}catch{}ee=Z?K(Z):M();for(var V=u.length;V--;)delete ee[I][u[V]];return ee()};g[O]=!0,n.exports=Object.create||function(Y,q){var le;return Y!==null?(F[I]=a(Y),le=new F,F[I]=null,le[O]=Y):le=ee(),q===void 0?le:r(le,q)}},"7dd0":function(n,c,t){var a=t("23e7"),r=t("9ed3"),u=t("e163"),g=t("d2bb"),m=t("d44e"),h=t("9112"),b=t("6eeb"),S=t("b622"),E=t("c430"),I=t("3f8c"),w=t("ae93"),O=w.IteratorPrototype,F=w.BUGGY_SAFARI_ITERATORS,R=S("iterator"),K="keys",M="values",Z="entries",ee=function(){return this};n.exports=function(V,Y,q,le,Q,J,re){r(q,Y,le);var N=function(Ve){if(Ve===Q&&Me)return Me;if(!F&&Ve in De)return De[Ve];switch(Ve){case K:return function(){return new q(this,Ve)};case M:return function(){return new q(this,Ve)};case Z:return function(){return new q(this,Ve)}}return function(){return new q(this)}},ne=Y+" Iterator",ge=!1,De=V.prototype,Xe=De[R]||De["@@iterator"]||Q&&De[Q],Me=!F&&Xe||N(Q),ke=Y=="Array"&&De.entries||Xe,$e,He,Ae;if(ke&&($e=u(ke.call(new V)),O!==Object.prototype&&$e.next&&(!E&&u($e)!==O&&(g?g($e,O):typeof $e[R]!="function"&&h($e,R,ee)),m($e,ne,!0,!0),E&&(I[ne]=ee))),Q==M&&Xe&&Xe.name!==M&&(ge=!0,Me=function(){return Xe.call(this)}),(!E||re)&&De[R]!==Me&&h(De,R,Me),I[Y]=Me,Q)if(He={values:N(M),keys:J?Me:N(K),entries:N(Z)},re)for(Ae in He)(F||ge||!(Ae in De))&&b(De,Ae,He[Ae]);else a({target:Y,proto:!0,forced:F||ge},He);return He}},"7f9a":function(n,c,t){var a=t("da84"),r=t("8925"),u=a.WeakMap;n.exports=typeof u=="function"&&/native code/.test(r(u))},"825a":function(n,c,t){var a=t("861d");n.exports=function(r){if(!a(r))throw TypeError(String(r)+" is not an object");return r}},"83ab":function(n,c,t){var a=t("d039");n.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(n,c,t){var a=t("c04e"),r=t("9bf2"),u=t("5c6c");n.exports=function(g,m,h){var b=a(m);b in g?r.f(g,b,u(0,h)):g[b]=h}},"861d":function(n,c){n.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},8875:function(n,c,t){var a,r,u;(function(g,m){r=[],a=m,u=typeof a=="function"?a.apply(c,r):a,u!==void 0&&(n.exports=u)})(typeof self<"u"?self:this,function(){function g(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==g&&document.currentScript)return document.currentScript;try{throw new Error}catch(Z){var h=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,b=/@([^@]*):(\d+):(\d+)\s*$/ig,S=h.exec(Z.stack)||b.exec(Z.stack),E=S&&S[1]||!1,I=S&&S[2]||!1,w=document.location.href.replace(document.location.hash,""),O,F,R,K=document.getElementsByTagName("script");E===w&&(O=document.documentElement.outerHTML,F=new RegExp("(?:[^\\n]+?\\n){0,"+(I-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),R=O.replace(F,"$1").trim());for(var M=0;M<K.length;M++)if(K[M].readyState==="interactive"||K[M].src===E||E===w&&K[M].innerHTML&&K[M].innerHTML.trim()===R)return K[M];return null}}return g})},8925:function(n,c,t){var a=t("c6cd"),r=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(u){return r.call(u)}),n.exports=a.inspectSource},"8aa5":function(n,c,t){var a=t("6547").charAt;n.exports=function(r,u,g){return u+(g?a(r,u).length:1)}},"8bbf":function(n,c){n.exports=o},"90e3":function(n,c){var t=0,a=Math.random();n.exports=function(r){return"Symbol("+String(r===void 0?"":r)+")_"+(++t+a).toString(36)}},9112:function(n,c,t){var a=t("83ab"),r=t("9bf2"),u=t("5c6c");n.exports=a?function(g,m,h){return r.f(g,m,u(1,h))}:function(g,m,h){return g[m]=h,g}},9263:function(n,c,t){var a=t("ad6d"),r=t("9f7f"),u=RegExp.prototype.exec,g=String.prototype.replace,m=u,h=function(){var I=/a/,w=/b*/g;return u.call(I,"a"),u.call(w,"a"),I.lastIndex!==0||w.lastIndex!==0}(),b=r.UNSUPPORTED_Y||r.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,E=h||S||b;E&&(m=function(w){var O=this,F,R,K,M,Z=b&&O.sticky,ee=a.call(O),V=O.source,Y=0,q=w;return Z&&(ee=ee.replace("y",""),ee.indexOf("g")===-1&&(ee+="g"),q=String(w).slice(O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&w[O.lastIndex-1]!==`
  8. `)&&(V="(?: "+V+")",q=" "+q,Y++),R=new RegExp("^(?:"+V+")",ee)),S&&(R=new RegExp("^"+V+"$(?!\\s)",ee)),h&&(F=O.lastIndex),K=u.call(Z?R:O,q),Z?K?(K.input=K.input.slice(Y),K[0]=K[0].slice(Y),K.index=O.lastIndex,O.lastIndex+=K[0].length):O.lastIndex=0:h&&K&&(O.lastIndex=O.global?K.index+K[0].length:F),S&&K&&K.length>1&&g.call(K[0],R,function(){for(M=1;M<arguments.length-2;M++)arguments[M]===void 0&&(K[M]=void 0)}),K}),n.exports=m},"94ca":function(n,c,t){var a=t("d039"),r=/#|\.prototype\./,u=function(S,E){var I=m[g(S)];return I==b?!0:I==h?!1:typeof E=="function"?a(E):!!E},g=u.normalize=function(S){return String(S).replace(r,".").toLowerCase()},m=u.data={},h=u.NATIVE="N",b=u.POLYFILL="P";n.exports=u},"99af":function(n,c,t){var a=t("23e7"),r=t("d039"),u=t("e8b5"),g=t("861d"),m=t("7b0b"),h=t("50c4"),b=t("8418"),S=t("65f0"),E=t("1dde"),I=t("b622"),w=t("2d00"),O=I("isConcatSpreadable"),F=9007199254740991,R="Maximum allowed index exceeded",K=w>=51||!r(function(){var V=[];return V[O]=!1,V.concat()[0]!==V}),M=E("concat"),Z=function(V){if(!g(V))return!1;var Y=V[O];return Y!==void 0?!!Y:u(V)},ee=!K||!M;a({target:"Array",proto:!0,forced:ee},{concat:function(Y){var q=m(this),le=S(q,0),Q=0,J,re,N,ne,ge;for(J=-1,N=arguments.length;J<N;J++)if(ge=J===-1?q:arguments[J],Z(ge)){if(ne=h(ge.length),Q+ne>F)throw TypeError(R);for(re=0;re<ne;re++,Q++)re in ge&&b(le,Q,ge[re])}else{if(Q>=F)throw TypeError(R);b(le,Q++,ge)}return le.length=Q,le}})},"9bdd":function(n,c,t){var a=t("825a");n.exports=function(r,u,g,m){try{return m?u(a(g)[0],g[1]):u(g)}catch(b){var h=r.return;throw h!==void 0&&a(h.call(r)),b}}},"9bf2":function(n,c,t){var a=t("83ab"),r=t("0cfb"),u=t("825a"),g=t("c04e"),m=Object.defineProperty;c.f=a?m:function(b,S,E){if(u(b),S=g(S,!0),u(E),r)try{return m(b,S,E)}catch{}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(b[S]=E.value),b}},"9ed3":function(n,c,t){var a=t("ae93").IteratorPrototype,r=t("7c73"),u=t("5c6c"),g=t("d44e"),m=t("3f8c"),h=function(){return this};n.exports=function(b,S,E){var I=S+" Iterator";return b.prototype=r(a,{next:u(1,E)}),g(b,I,!1,!0),m[I]=h,b}},"9f7f":function(n,c,t){var a=t("d039");function r(u,g){return RegExp(u,g)}c.UNSUPPORTED_Y=a(function(){var u=r("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),c.BROKEN_CARET=a(function(){var u=r("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(n,c,t){var a=t("e8b5"),r=t("50c4"),u=t("0366"),g=function(m,h,b,S,E,I,w,O){for(var F=E,R=0,K=w?u(w,O,3):!1,M;R<S;){if(R in b){if(M=K?K(b[R],R,h):b[R],I>0&&a(M))F=g(m,h,M,r(M.length),F,I-1)-1;else{if(F>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[F]=M}F++}R++}return F};n.exports=g},a352:function(n,c){n.exports=s},a434:function(n,c,t){var a=t("23e7"),r=t("23cb"),u=t("a691"),g=t("50c4"),m=t("7b0b"),h=t("65f0"),b=t("8418"),S=t("1dde"),E=t("ae40"),I=S("splice"),w=E("splice",{ACCESSORS:!0,0:0,1:2}),O=Math.max,F=Math.min,R=9007199254740991,K="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!I||!w},{splice:function(Z,ee){var V=m(this),Y=g(V.length),q=r(Z,Y),le=arguments.length,Q,J,re,N,ne,ge;if(le===0?Q=J=0:le===1?(Q=0,J=Y-q):(Q=le-2,J=F(O(u(ee),0),Y-q)),Y+Q-J>R)throw TypeError(K);for(re=h(V,J),N=0;N<J;N++)ne=q+N,ne in V&&b(re,N,V[ne]);if(re.length=J,Q<J){for(N=q;N<Y-J;N++)ne=N+J,ge=N+Q,ne in V?V[ge]=V[ne]:delete V[ge];for(N=Y;N>Y-J+Q;N--)delete V[N-1]}else if(Q>J)for(N=Y-J;N>q;N--)ne=N+J-1,ge=N+Q-1,ne in V?V[ge]=V[ne]:delete V[ge];for(N=0;N<Q;N++)V[N+q]=arguments[N+2];return V.length=Y-J+Q,re}})},a4d3:function(n,c,t){var a=t("23e7"),r=t("da84"),u=t("d066"),g=t("c430"),m=t("83ab"),h=t("4930"),b=t("fdbf"),S=t("d039"),E=t("5135"),I=t("e8b5"),w=t("861d"),O=t("825a"),F=t("7b0b"),R=t("fc6a"),K=t("c04e"),M=t("5c6c"),Z=t("7c73"),ee=t("df75"),V=t("241c"),Y=t("057f"),q=t("7418"),le=t("06cf"),Q=t("9bf2"),J=t("d1e7"),re=t("9112"),N=t("6eeb"),ne=t("5692"),ge=t("f772"),De=t("d012"),Xe=t("90e3"),Me=t("b622"),ke=t("e538"),$e=t("746f"),He=t("d44e"),Ae=t("69f3"),Ve=t("b727").forEach,we=ge("hidden"),Ze="Symbol",nt="prototype",Rt=Me("toPrimitive"),kt=Ae.set,ut=Ae.getterFor(Ze),Pe=Object[nt],qe=r.Symbol,zt=u("JSON","stringify"),Ct=le.f,At=Q.f,In=Y.f,Qn=J.f,bt=ne("symbols"),Bt=ne("op-symbols"),en=ne("string-to-symbol-registry"),dn=ne("symbol-to-string-registry"),un=ne("wks"),cn=r.QObject,fn=!cn||!cn[nt]||!cn[nt].findChild,vn=m&&S(function(){return Z(At({},"a",{get:function(){return At(this,"a",{value:7}).a}})).a!=7})?function(de,$,ae){var ye=Ct(Pe,$);ye&&delete Pe[$],At(de,$,ae),ye&&de!==Pe&&At(Pe,$,ye)}:At,pn=function(de,$){var ae=bt[de]=Z(qe[nt]);return kt(ae,{type:Ze,tag:de,description:$}),m||(ae.description=$),ae},A=b?function(de){return typeof de=="symbol"}:function(de){return Object(de)instanceof qe},C=function($,ae,ye){$===Pe&&C(Bt,ae,ye),O($);var Ee=K(ae,!0);return O(ye),E(bt,Ee)?(ye.enumerable?(E($,we)&&$[we][Ee]&&($[we][Ee]=!1),ye=Z(ye,{enumerable:M(0,!1)})):(E($,we)||At($,we,M(1,{})),$[we][Ee]=!0),vn($,Ee,ye)):At($,Ee,ye)},P=function($,ae){O($);var ye=R(ae),Ee=ee(ye).concat(xe(ye));return Ve(Ee,function(ot){(!m||_.call(ye,ot))&&C($,ot,ye[ot])}),$},j=function($,ae){return ae===void 0?Z($):P(Z($),ae)},_=function($){var ae=K($,!0),ye=Qn.call(this,ae);return this===Pe&&E(bt,ae)&&!E(Bt,ae)?!1:ye||!E(this,ae)||!E(bt,ae)||E(this,we)&&this[we][ae]?ye:!0},se=function($,ae){var ye=R($),Ee=K(ae,!0);if(!(ye===Pe&&E(bt,Ee)&&!E(Bt,Ee))){var ot=Ct(ye,Ee);return ot&&E(bt,Ee)&&!(E(ye,we)&&ye[we][Ee])&&(ot.enumerable=!0),ot}},ve=function($){var ae=In(R($)),ye=[];return Ve(ae,function(Ee){!E(bt,Ee)&&!E(De,Ee)&&ye.push(Ee)}),ye},xe=function($){var ae=$===Pe,ye=In(ae?Bt:R($)),Ee=[];return Ve(ye,function(ot){E(bt,ot)&&(!ae||E(Pe,ot))&&Ee.push(bt[ot])}),Ee};if(h||(qe=function(){if(this instanceof qe)throw TypeError("Symbol is not a constructor");var $=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),ae=Xe($),ye=function(Ee){this===Pe&&ye.call(Bt,Ee),E(this,we)&&E(this[we],ae)&&(this[we][ae]=!1),vn(this,ae,M(1,Ee))};return m&&fn&&vn(Pe,ae,{configurable:!0,set:ye}),pn(ae,$)},N(qe[nt],"toString",function(){return ut(this).tag}),N(qe,"withoutSetter",function(de){return pn(Xe(de),de)}),J.f=_,Q.f=C,le.f=se,V.f=Y.f=ve,q.f=xe,ke.f=function(de){return pn(Me(de),de)},m&&(At(qe[nt],"description",{configurable:!0,get:function(){return ut(this).description}}),g||N(Pe,"propertyIsEnumerable",_,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:qe}),Ve(ee(un),function(de){$e(de)}),a({target:Ze,stat:!0,forced:!h},{for:function(de){var $=String(de);if(E(en,$))return en[$];var ae=qe($);return en[$]=ae,dn[ae]=$,ae},keyFor:function($){if(!A($))throw TypeError($+" is not a symbol");if(E(dn,$))return dn[$]},useSetter:function(){fn=!0},useSimple:function(){fn=!1}}),a({target:"Object",stat:!0,forced:!h,sham:!m},{create:j,defineProperty:C,defineProperties:P,getOwnPropertyDescriptor:se}),a({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:ve,getOwnPropertySymbols:xe}),a({target:"Object",stat:!0,forced:S(function(){q.f(1)})},{getOwnPropertySymbols:function($){return q.f(F($))}}),zt){var je=!h||S(function(){var de=qe();return zt([de])!="[null]"||zt({a:de})!="{}"||zt(Object(de))!="{}"});a({target:"JSON",stat:!0,forced:je},{stringify:function($,ae,ye){for(var Ee=[$],ot=1,Gn;arguments.length>ot;)Ee.push(arguments[ot++]);if(Gn=ae,!(!w(ae)&&$===void 0||A($)))return I(ae)||(ae=function(wo,mn){if(typeof Gn=="function"&&(mn=Gn.call(this,wo,mn)),!A(mn))return mn}),Ee[1]=ae,zt.apply(null,Ee)}})}qe[nt][Rt]||re(qe[nt],Rt,qe[nt].valueOf),He(qe,Ze),De[we]=!0},a630:function(n,c,t){var a=t("23e7"),r=t("4df4"),u=t("1c7e"),g=!u(function(m){Array.from(m)});a({target:"Array",stat:!0,forced:g},{from:r})},a640:function(n,c,t){var a=t("d039");n.exports=function(r,u){var g=[][r];return!!g&&a(function(){g.call(null,u||function(){throw 1},1)})}},a691:function(n,c){var t=Math.ceil,a=Math.floor;n.exports=function(r){return isNaN(r=+r)?0:(r>0?a:t)(r)}},ab13:function(n,c,t){var a=t("b622"),r=a("match");n.exports=function(u){var g=/./;try{"/./"[u](g)}catch{try{return g[r]=!1,"/./"[u](g)}catch{}}return!1}},ac1f:function(n,c,t){var a=t("23e7"),r=t("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},ad6d:function(n,c,t){var a=t("825a");n.exports=function(){var r=a(this),u="";return r.global&&(u+="g"),r.ignoreCase&&(u+="i"),r.multiline&&(u+="m"),r.dotAll&&(u+="s"),r.unicode&&(u+="u"),r.sticky&&(u+="y"),u}},ae40:function(n,c,t){var a=t("83ab"),r=t("d039"),u=t("5135"),g=Object.defineProperty,m={},h=function(b){throw b};n.exports=function(b,S){if(u(m,b))return m[b];S||(S={});var E=[][b],I=u(S,"ACCESSORS")?S.ACCESSORS:!1,w=u(S,0)?S[0]:h,O=u(S,1)?S[1]:void 0;return m[b]=!!E&&!r(function(){if(I&&!a)return!0;var F={length:-1};I?g(F,1,{enumerable:!0,get:h}):F[1]=1,E.call(F,w,O)})}},ae93:function(n,c,t){var a=t("e163"),r=t("9112"),u=t("5135"),g=t("b622"),m=t("c430"),h=g("iterator"),b=!1,S=function(){return this},E,I,w;[].keys&&(w=[].keys(),"next"in w?(I=a(a(w)),I!==Object.prototype&&(E=I)):b=!0),E==null&&(E={}),!m&&!u(E,h)&&r(E,h,S),n.exports={IteratorPrototype:E,BUGGY_SAFARI_ITERATORS:b}},b041:function(n,c,t){var a=t("00ee"),r=t("f5df");n.exports=a?{}.toString:function(){return"[object "+r(this)+"]"}},b0c0:function(n,c,t){var a=t("83ab"),r=t("9bf2").f,u=Function.prototype,g=u.toString,m=/^\s*function ([^ (]*)/,h="name";a&&!(h in u)&&r(u,h,{configurable:!0,get:function(){try{return g.call(this).match(m)[1]}catch{return""}}})},b622:function(n,c,t){var a=t("da84"),r=t("5692"),u=t("5135"),g=t("90e3"),m=t("4930"),h=t("fdbf"),b=r("wks"),S=a.Symbol,E=h?S:S&&S.withoutSetter||g;n.exports=function(I){return u(b,I)||(m&&u(S,I)?b[I]=S[I]:b[I]=E("Symbol."+I)),b[I]}},b64b:function(n,c,t){var a=t("23e7"),r=t("7b0b"),u=t("df75"),g=t("d039"),m=g(function(){u(1)});a({target:"Object",stat:!0,forced:m},{keys:function(b){return u(r(b))}})},b727:function(n,c,t){var a=t("0366"),r=t("44ad"),u=t("7b0b"),g=t("50c4"),m=t("65f0"),h=[].push,b=function(S){var E=S==1,I=S==2,w=S==3,O=S==4,F=S==6,R=S==5||F;return function(K,M,Z,ee){for(var V=u(K),Y=r(V),q=a(M,Z,3),le=g(Y.length),Q=0,J=ee||m,re=E?J(K,le):I?J(K,0):void 0,N,ne;le>Q;Q++)if((R||Q in Y)&&(N=Y[Q],ne=q(N,Q,V),S)){if(E)re[Q]=ne;else if(ne)switch(S){case 3:return!0;case 5:return N;case 6:return Q;case 2:h.call(re,N)}else if(O)return!1}return F?-1:w||O?O:re}};n.exports={forEach:b(0),map:b(1),filter:b(2),some:b(3),every:b(4),find:b(5),findIndex:b(6)}},c04e:function(n,c,t){var a=t("861d");n.exports=function(r,u){if(!a(r))return r;var g,m;if(u&&typeof(g=r.toString)=="function"&&!a(m=g.call(r))||typeof(g=r.valueOf)=="function"&&!a(m=g.call(r))||!u&&typeof(g=r.toString)=="function"&&!a(m=g.call(r)))return m;throw TypeError("Can't convert object to primitive value")}},c430:function(n,c){n.exports=!1},c6b6:function(n,c){var t={}.toString;n.exports=function(a){return t.call(a).slice(8,-1)}},c6cd:function(n,c,t){var a=t("da84"),r=t("ce4e"),u="__core-js_shared__",g=a[u]||r(u,{});n.exports=g},c740:function(n,c,t){var a=t("23e7"),r=t("b727").findIndex,u=t("44d2"),g=t("ae40"),m="findIndex",h=!0,b=g(m);m in[]&&Array(1)[m](function(){h=!1}),a({target:"Array",proto:!0,forced:h||!b},{findIndex:function(E){return r(this,E,arguments.length>1?arguments[1]:void 0)}}),u(m)},c8ba:function(n,c){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}n.exports=t},c975:function(n,c,t){var a=t("23e7"),r=t("4d64").indexOf,u=t("a640"),g=t("ae40"),m=[].indexOf,h=!!m&&1/[1].indexOf(1,-0)<0,b=u("indexOf"),S=g("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:h||!b||!S},{indexOf:function(I){return h?m.apply(this,arguments)||0:r(this,I,arguments.length>1?arguments[1]:void 0)}})},ca84:function(n,c,t){var a=t("5135"),r=t("fc6a"),u=t("4d64").indexOf,g=t("d012");n.exports=function(m,h){var b=r(m),S=0,E=[],I;for(I in b)!a(g,I)&&a(b,I)&&E.push(I);for(;h.length>S;)a(b,I=h[S++])&&(~u(E,I)||E.push(I));return E}},caad:function(n,c,t){var a=t("23e7"),r=t("4d64").includes,u=t("44d2"),g=t("ae40"),m=g("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!m},{includes:function(b){return r(this,b,arguments.length>1?arguments[1]:void 0)}}),u("includes")},cc12:function(n,c,t){var a=t("da84"),r=t("861d"),u=a.document,g=r(u)&&r(u.createElement);n.exports=function(m){return g?u.createElement(m):{}}},ce4e:function(n,c,t){var a=t("da84"),r=t("9112");n.exports=function(u,g){try{r(a,u,g)}catch{a[u]=g}return g}},d012:function(n,c){n.exports={}},d039:function(n,c){n.exports=function(t){try{return!!t()}catch{return!0}}},d066:function(n,c,t){var a=t("428f"),r=t("da84"),u=function(g){return typeof g=="function"?g:void 0};n.exports=function(g,m){return arguments.length<2?u(a[g])||u(r[g]):a[g]&&a[g][m]||r[g]&&r[g][m]}},d1e7:function(n,c,t){var a={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,u=r&&!a.call({1:2},1);c.f=u?function(m){var h=r(this,m);return!!h&&h.enumerable}:a},d28b:function(n,c,t){var a=t("746f");a("iterator")},d2bb:function(n,c,t){var a=t("825a"),r=t("3bbe");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,g={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(g,[]),u=g instanceof Array}catch{}return function(b,S){return a(b),r(S),u?m.call(b,S):b.__proto__=S,b}}():void 0)},d3b7:function(n,c,t){var a=t("00ee"),r=t("6eeb"),u=t("b041");a||r(Object.prototype,"toString",u,{unsafe:!0})},d44e:function(n,c,t){var a=t("9bf2").f,r=t("5135"),u=t("b622"),g=u("toStringTag");n.exports=function(m,h,b){m&&!r(m=b?m:m.prototype,g)&&a(m,g,{configurable:!0,value:h})}},d58f:function(n,c,t){var a=t("1c0b"),r=t("7b0b"),u=t("44ad"),g=t("50c4"),m=function(h){return function(b,S,E,I){a(S);var w=r(b),O=u(w),F=g(w.length),R=h?F-1:0,K=h?-1:1;if(E<2)for(;;){if(R in O){I=O[R],R+=K;break}if(R+=K,h?R<0:F<=R)throw TypeError("Reduce of empty array with no initial value")}for(;h?R>=0:F>R;R+=K)R in O&&(I=S(I,O[R],R,w));return I}};n.exports={left:m(!1),right:m(!0)}},d784:function(n,c,t){t("ac1f");var a=t("6eeb"),r=t("d039"),u=t("b622"),g=t("9263"),m=t("9112"),h=u("species"),b=!r(function(){var O=/./;return O.exec=function(){var F=[];return F.groups={a:"7"},F},"".replace(O,"$<a>")!=="7"}),S=function(){return"a".replace(/./,"$0")==="$0"}(),E=u("replace"),I=function(){return/./[E]?/./[E]("a","$0")==="":!1}(),w=!r(function(){var O=/(?:)/,F=O.exec;O.exec=function(){return F.apply(this,arguments)};var R="ab".split(O);return R.length!==2||R[0]!=="a"||R[1]!=="b"});n.exports=function(O,F,R,K){var M=u(O),Z=!r(function(){var Q={};return Q[M]=function(){return 7},""[O](Q)!=7}),ee=Z&&!r(function(){var Q=!1,J=/a/;return O==="split"&&(J={},J.constructor={},J.constructor[h]=function(){return J},J.flags="",J[M]=/./[M]),J.exec=function(){return Q=!0,null},J[M](""),!Q});if(!Z||!ee||O==="replace"&&!(b&&S&&!I)||O==="split"&&!w){var V=/./[M],Y=R(M,""[O],function(Q,J,re,N,ne){return J.exec===g?Z&&!ne?{done:!0,value:V.call(J,re,N)}:{done:!0,value:Q.call(re,J,N)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:I}),q=Y[0],le=Y[1];a(String.prototype,O,q),a(RegExp.prototype,M,F==2?function(Q,J){return le.call(Q,this,J)}:function(Q){return le.call(Q,this)})}K&&m(RegExp.prototype[M],"sham",!0)}},d81d:function(n,c,t){var a=t("23e7"),r=t("b727").map,u=t("1dde"),g=t("ae40"),m=u("map"),h=g("map");a({target:"Array",proto:!0,forced:!m||!h},{map:function(S){return r(this,S,arguments.length>1?arguments[1]:void 0)}})},da84:function(n,c,t){(function(a){var r=function(u){return u&&u.Math==Math&&u};n.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof a=="object"&&a)||Function("return this")()}).call(this,t("c8ba"))},dbb4:function(n,c,t){var a=t("23e7"),r=t("83ab"),u=t("56ef"),g=t("fc6a"),m=t("06cf"),h=t("8418");a({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(S){for(var E=g(S),I=m.f,w=u(E),O={},F=0,R,K;w.length>F;)K=I(E,R=w[F++]),K!==void 0&&h(O,R,K);return O}})},dbf1:function(n,c,t){(function(a){t.d(c,"a",function(){return u});function r(){return typeof window<"u"?window.console:a.console}var u=r()}).call(this,t("c8ba"))},ddb0:function(n,c,t){var a=t("da84"),r=t("fdbc"),u=t("e260"),g=t("9112"),m=t("b622"),h=m("iterator"),b=m("toStringTag"),S=u.values;for(var E in r){var I=a[E],w=I&&I.prototype;if(w){if(w[h]!==S)try{g(w,h,S)}catch{w[h]=S}if(w[b]||g(w,b,E),r[E]){for(var O in u)if(w[O]!==u[O])try{g(w,O,u[O])}catch{w[O]=u[O]}}}}},df75:function(n,c,t){var a=t("ca84"),r=t("7839");n.exports=Object.keys||function(g){return a(g,r)}},e01a:function(n,c,t){var a=t("23e7"),r=t("83ab"),u=t("da84"),g=t("5135"),m=t("861d"),h=t("9bf2").f,b=t("e893"),S=u.Symbol;if(r&&typeof S=="function"&&(!("description"in S.prototype)||S().description!==void 0)){var E={},I=function(){var M=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Z=this instanceof I?new S(M):M===void 0?S():S(M);return M===""&&(E[Z]=!0),Z};b(I,S);var w=I.prototype=S.prototype;w.constructor=I;var O=w.toString,F=String(S("test"))=="Symbol(test)",R=/^Symbol\((.*)\)[^)]+$/;h(w,"description",{configurable:!0,get:function(){var M=m(this)?this.valueOf():this,Z=O.call(M);if(g(E,M))return"";var ee=F?Z.slice(7,-1):Z.replace(R,"$1");return ee===""?void 0:ee}}),a({global:!0,forced:!0},{Symbol:I})}},e163:function(n,c,t){var a=t("5135"),r=t("7b0b"),u=t("f772"),g=t("e177"),m=u("IE_PROTO"),h=Object.prototype;n.exports=g?Object.getPrototypeOf:function(b){return b=r(b),a(b,m)?b[m]:typeof b.constructor=="function"&&b instanceof b.constructor?b.constructor.prototype:b instanceof Object?h:null}},e177:function(n,c,t){var a=t("d039");n.exports=!a(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})},e260:function(n,c,t){var a=t("fc6a"),r=t("44d2"),u=t("3f8c"),g=t("69f3"),m=t("7dd0"),h="Array Iterator",b=g.set,S=g.getterFor(h);n.exports=m(Array,"Array",function(E,I){b(this,{type:h,target:a(E),index:0,kind:I})},function(){var E=S(this),I=E.target,w=E.kind,O=E.index++;return!I||O>=I.length?(E.target=void 0,{value:void 0,done:!0}):w=="keys"?{value:O,done:!1}:w=="values"?{value:I[O],done:!1}:{value:[O,I[O]],done:!1}},"values"),u.Arguments=u.Array,r("keys"),r("values"),r("entries")},e439:function(n,c,t){var a=t("23e7"),r=t("d039"),u=t("fc6a"),g=t("06cf").f,m=t("83ab"),h=r(function(){g(1)}),b=!m||h;a({target:"Object",stat:!0,forced:b,sham:!m},{getOwnPropertyDescriptor:function(E,I){return g(u(E),I)}})},e538:function(n,c,t){var a=t("b622");c.f=a},e893:function(n,c,t){var a=t("5135"),r=t("56ef"),u=t("06cf"),g=t("9bf2");n.exports=function(m,h){for(var b=r(h),S=g.f,E=u.f,I=0;I<b.length;I++){var w=b[I];a(m,w)||S(m,w,E(h,w))}}},e8b5:function(n,c,t){var a=t("c6b6");n.exports=Array.isArray||function(u){return a(u)=="Array"}},e95a:function(n,c,t){var a=t("b622"),r=t("3f8c"),u=a("iterator"),g=Array.prototype;n.exports=function(m){return m!==void 0&&(r.Array===m||g[u]===m)}},f5df:function(n,c,t){var a=t("00ee"),r=t("c6b6"),u=t("b622"),g=u("toStringTag"),m=r(function(){return arguments}())=="Arguments",h=function(b,S){try{return b[S]}catch{}};n.exports=a?r:function(b){var S,E,I;return b===void 0?"Undefined":b===null?"Null":typeof(E=h(S=Object(b),g))=="string"?E:m?r(S):(I=r(S))=="Object"&&typeof S.callee=="function"?"Arguments":I}},f772:function(n,c,t){var a=t("5692"),r=t("90e3"),u=a("keys");n.exports=function(g){return u[g]||(u[g]=r(g))}},fb15:function(n,c,t){if(t.r(c),typeof window<"u"){var a=window.document.currentScript;{var r=t("8875");a=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r})}var u=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(t.p=u[1])}t("99af"),t("4de4"),t("4160"),t("c975"),t("d81d"),t("a434"),t("159b"),t("a4d3"),t("e439"),t("dbb4"),t("b64b");function g(A,C,P){return C in A?Object.defineProperty(A,C,{value:P,enumerable:!0,configurable:!0,writable:!0}):A[C]=P,A}function m(A,C){var P=Object.keys(A);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(A);C&&(j=j.filter(function(_){return Object.getOwnPropertyDescriptor(A,_).enumerable})),P.push.apply(P,j)}return P}function h(A){for(var C=1;C<arguments.length;C++){var P=arguments[C]!=null?arguments[C]:{};C%2?m(Object(P),!0).forEach(function(j){g(A,j,P[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(P)):m(Object(P)).forEach(function(j){Object.defineProperty(A,j,Object.getOwnPropertyDescriptor(P,j))})}return A}function b(A){if(Array.isArray(A))return A}t("e01a"),t("d28b"),t("e260"),t("d3b7"),t("3ca3"),t("ddb0");function S(A,C){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(A)))){var P=[],j=!0,_=!1,se=void 0;try{for(var ve=A[Symbol.iterator](),xe;!(j=(xe=ve.next()).done)&&(P.push(xe.value),!(C&&P.length===C));j=!0);}catch(je){_=!0,se=je}finally{try{!j&&ve.return!=null&&ve.return()}finally{if(_)throw se}}return P}}t("a630"),t("fb6a"),t("b0c0"),t("25f0");function E(A,C){(C==null||C>A.length)&&(C=A.length);for(var P=0,j=new Array(C);P<C;P++)j[P]=A[P];return j}function I(A,C){if(A){if(typeof A=="string")return E(A,C);var P=Object.prototype.toString.call(A).slice(8,-1);if(P==="Object"&&A.constructor&&(P=A.constructor.name),P==="Map"||P==="Set")return Array.from(A);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return E(A,C)}}function w(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  9. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function O(A,C){return b(A)||S(A,C)||I(A,C)||w()}function F(A){if(Array.isArray(A))return E(A)}function R(A){if(typeof Symbol<"u"&&Symbol.iterator in Object(A))return Array.from(A)}function K(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
  10. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function M(A){return F(A)||R(A)||I(A)||K()}var Z=t("a352"),ee=t.n(Z);function V(A){A.parentElement!==null&&A.parentElement.removeChild(A)}function Y(A,C,P){var j=P===0?A.children[0]:A.children[P-1].nextSibling;A.insertBefore(C,j)}var q=t("dbf1");t("13d5"),t("4fad"),t("ac1f"),t("5319");function le(A){var C=Object.create(null);return function(j){var _=C[j];return _||(C[j]=A(j))}}var Q=/-(\w)/g,J=le(function(A){return A.replace(Q,function(C,P){return P.toUpperCase()})});t("5db7"),t("73d9");var re=["Start","Add","Remove","Update","End"],N=["Choose","Unchoose","Sort","Filter","Clone"],ne=["Move"],ge=[ne,re,N].flatMap(function(A){return A}).map(function(A){return"on".concat(A)}),De={manage:ne,manageAndEmit:re,emit:N};function Xe(A){return ge.indexOf(A)!==-1}t("caad"),t("2ca0");var Me=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function ke(A){return Me.includes(A)}function $e(A){return["transition-group","TransitionGroup"].includes(A)}function He(A){return["id","class","role","style"].includes(A)||A.startsWith("data-")||A.startsWith("aria-")||A.startsWith("on")}function Ae(A){return A.reduce(function(C,P){var j=O(P,2),_=j[0],se=j[1];return C[_]=se,C},{})}function Ve(A){var C=A.$attrs,P=A.componentData,j=P===void 0?{}:P,_=Ae(Object.entries(C).filter(function(se){var ve=O(se,2),xe=ve[0];return ve[1],He(xe)}));return h(h({},_),j)}function we(A){var C=A.$attrs,P=A.callBackBuilder,j=Ae(Ze(C));Object.entries(P).forEach(function(se){var ve=O(se,2),xe=ve[0],je=ve[1];De[xe].forEach(function(de){j["on".concat(de)]=je(de)})});var _="[data-draggable]".concat(j.draggable||"");return h(h({},j),{},{draggable:_})}function Ze(A){return Object.entries(A).filter(function(C){var P=O(C,2),j=P[0];return P[1],!He(j)}).map(function(C){var P=O(C,2),j=P[0],_=P[1];return[J(j),_]}).filter(function(C){var P=O(C,2),j=P[0];return P[1],!Xe(j)})}t("c740");function nt(A,C){if(!(A instanceof C))throw new TypeError("Cannot call a class as a function")}function Rt(A,C){for(var P=0;P<C.length;P++){var j=C[P];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(A,j.key,j)}}function kt(A,C,P){return C&&Rt(A.prototype,C),A}var ut=function(C){var P=C.el;return P},Pe=function(C,P){return C.__draggable_context=P},qe=function(C){return C.__draggable_context},zt=function(){function A(C){var P=C.nodes,j=P.header,_=P.default,se=P.footer,ve=C.root,xe=C.realList;nt(this,A),this.defaultNodes=_,this.children=[].concat(M(j),M(_),M(se)),this.externalComponent=ve.externalComponent,this.rootTransition=ve.transition,this.tag=ve.tag,this.realList=xe}return kt(A,[{key:"render",value:function(P,j){var _=this.tag,se=this.children,ve=this._isRootComponent,xe=ve?{default:function(){return se}}:se;return P(_,j,xe)}},{key:"updated",value:function(){var P=this.defaultNodes,j=this.realList;P.forEach(function(_,se){Pe(ut(_),{element:j[se],index:se})})}},{key:"getUnderlyingVm",value:function(P){return qe(P)}},{key:"getVmIndexFromDomIndex",value:function(P,j){var _=this.defaultNodes,se=_.length,ve=j.children,xe=ve.item(P);if(xe===null)return se;var je=qe(xe);if(je)return je.index;if(se===0)return 0;var de=ut(_[0]),$=M(ve).findIndex(function(ae){return ae===de});return P<$?0:se}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),A}(),Ct=t("8bbf");function At(A,C){var P=A[C];return P?P():[]}function In(A){var C=A.$slots,P=A.realList,j=A.getKey,_=P||[],se=["header","footer"].map(function(ae){return At(C,ae)}),ve=O(se,2),xe=ve[0],je=ve[1],de=C.item;if(!de)throw new Error("draggable element must have an item slot");var $=_.flatMap(function(ae,ye){return de({element:ae,index:ye}).map(function(Ee){return Ee.key=j(ae),Ee.props=h(h({},Ee.props||{}),{},{"data-draggable":!0}),Ee})});if($.length!==_.length)throw new Error("Item slot must have only one child");return{header:xe,footer:je,default:$}}function Qn(A){var C=$e(A),P=!ke(A)&&!C;return{transition:C,externalComponent:P,tag:P?Object(Ct.resolveComponent)(A):C?Ct.TransitionGroup:A}}function bt(A){var C=A.$slots,P=A.tag,j=A.realList,_=A.getKey,se=In({$slots:C,realList:j,getKey:_}),ve=Qn(P);return new zt({nodes:se,root:ve,realList:j})}function Bt(A,C){var P=this;Object(Ct.nextTick)(function(){return P.$emit(A.toLowerCase(),C)})}function en(A){var C=this;return function(P,j){if(C.realList!==null)return C["onDrag".concat(A)](P,j)}}function dn(A){var C=this,P=en.call(this,A);return function(j,_){P.call(C,j,_),Bt.call(C,A,j)}}var un=null,cn={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(C){return C}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},fn=["update:modelValue","change"].concat(M([].concat(M(De.manageAndEmit),M(De.emit)).map(function(A){return A.toLowerCase()}))),vn=Object(Ct.defineComponent)({name:"draggable",inheritAttrs:!1,props:cn,emits:fn,data:function(){return{error:!1}},render:function(){try{this.error=!1;var C=this.$slots,P=this.$attrs,j=this.tag,_=this.componentData,se=this.realList,ve=this.getKey,xe=bt({$slots:C,tag:j,realList:se,getKey:ve});this.componentStructure=xe;var je=Ve({$attrs:P,componentData:_});return xe.render(Ct.h,je)}catch(de){return this.error=!0,Object(Ct.h)("pre",{style:{color:"red"}},de.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&q.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var C=this;if(!this.error){var P=this.$attrs,j=this.$el,_=this.componentStructure;_.updated();var se=we({$attrs:P,callBackBuilder:{manageAndEmit:function(je){return dn.call(C,je)},emit:function(je){return Bt.bind(C,je)},manage:function(je){return en.call(C,je)}}}),ve=j.nodeType===1?j:j.parentElement;this._sortable=new ee.a(ve,se),this.targetDomElement=ve,ve.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var C=this.list;return C||this.modelValue},getKey:function(){var C=this.itemKey;return typeof C=="function"?C:function(P){return P[C]}}},watch:{$attrs:{handler:function(C){var P=this._sortable;P&&Ze(C).forEach(function(j){var _=O(j,2),se=_[0],ve=_[1];P.option(se,ve)})},deep:!0}},methods:{getUnderlyingVm:function(C){return this.componentStructure.getUnderlyingVm(C)||null},getUnderlyingPotencialDraggableComponent:function(C){return C.__draggable_component__},emitChanges:function(C){var P=this;Object(Ct.nextTick)(function(){return P.$emit("change",C)})},alterList:function(C){if(this.list){C(this.list);return}var P=M(this.modelValue);C(P),this.$emit("update:modelValue",P)},spliceList:function(){var C=arguments,P=function(_){return _.splice.apply(_,M(C))};this.alterList(P)},updatePosition:function(C,P){var j=function(se){return se.splice(P,0,se.splice(C,1)[0])};this.alterList(j)},getRelatedContextFromMoveEvent:function(C){var P=C.to,j=C.related,_=this.getUnderlyingPotencialDraggableComponent(P);if(!_)return{component:_};var se=_.realList,ve={list:se,component:_};if(P!==j&&se){var xe=_.getUnderlyingVm(j)||{};return h(h({},xe),ve)}return ve},getVmIndexFromDomIndex:function(C){return this.componentStructure.getVmIndexFromDomIndex(C,this.targetDomElement)},onDragStart:function(C){this.context=this.getUnderlyingVm(C.item),C.item._underlying_vm_=this.clone(this.context.element),un=C.item},onDragAdd:function(C){var P=C.item._underlying_vm_;if(P!==void 0){V(C.item);var j=this.getVmIndexFromDomIndex(C.newIndex);this.spliceList(j,0,P);var _={element:P,newIndex:j};this.emitChanges({added:_})}},onDragRemove:function(C){if(Y(this.$el,C.item,C.oldIndex),C.pullMode==="clone"){V(C.clone);return}var P=this.context,j=P.index,_=P.element;this.spliceList(j,1);var se={element:_,oldIndex:j};this.emitChanges({removed:se})},onDragUpdate:function(C){V(C.item),Y(C.from,C.item,C.oldIndex);var P=this.context.index,j=this.getVmIndexFromDomIndex(C.newIndex);this.updatePosition(P,j);var _={element:this.context.element,oldIndex:P,newIndex:j};this.emitChanges({moved:_})},computeFutureIndex:function(C,P){if(!C.element)return 0;var j=M(P.to.children).filter(function(xe){return xe.style.display!=="none"}),_=j.indexOf(P.related),se=C.component.getVmIndexFromDomIndex(_),ve=j.indexOf(un)!==-1;return ve||!P.willInsertAfter?se:se+1},onDragMove:function(C,P){var j=this.move,_=this.realList;if(!j||!_)return!0;var se=this.getRelatedContextFromMoveEvent(C),ve=this.computeFutureIndex(se,C),xe=h(h({},this.context),{},{futureIndex:ve}),je=h(h({},C),{},{relatedContext:se,draggedContext:xe});return j(je,P)},onDragEnd:function(){un=null}}}),pn=vn;c.default=pn},fb6a:function(n,c,t){var a=t("23e7"),r=t("861d"),u=t("e8b5"),g=t("23cb"),m=t("50c4"),h=t("fc6a"),b=t("8418"),S=t("b622"),E=t("1dde"),I=t("ae40"),w=E("slice"),O=I("slice",{ACCESSORS:!0,0:0,1:2}),F=S("species"),R=[].slice,K=Math.max;a({target:"Array",proto:!0,forced:!w||!O},{slice:function(Z,ee){var V=h(this),Y=m(V.length),q=g(Z,Y),le=g(ee===void 0?Y:ee,Y),Q,J,re;if(u(V)&&(Q=V.constructor,typeof Q=="function"&&(Q===Array||u(Q.prototype))?Q=void 0:r(Q)&&(Q=Q[F],Q===null&&(Q=void 0)),Q===Array||Q===void 0))return R.call(V,q,le);for(J=new(Q===void 0?Array:Q)(K(le-q,0)),re=0;q<le;q++,re++)q in V&&b(J,re,V[q]);return J.length=re,J}})},fc6a:function(n,c,t){var a=t("44ad"),r=t("1d80");n.exports=function(u){return a(r(u))}},fdbc:function(n,c){n.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(n,c,t){var a=t("4930");n.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(Ea);var Ws=Ea.exports;const ba=Ll(Ws);function Sa(d,i){["name","gender","phone","id_card","ethnicity","height","weight","current_address","household_location","marital_status","expected_salary"].forEach(n=>{i[n]&&(d[n].visible=i[n].visible,d[n].required=i[n].required)}),["family_member","education","work_experience"].forEach(n=>{i[n]&&(d[n].visible=i[n].visible,Object.keys(i[n].fields).forEach(c=>{d[n].fields[c]&&(d[n].fields[c].visible=i[n].fields[c].visible,d[n].fields[c].required=i[n].fields[c].required)}))})}const Hs={class:"position-detail-container"},Ys={class:"header-container"},Xs={class:"header-actions"},Zs={class:"detail-content"},qs={class:"detail-item"},_s={key:0,class:"detail-value"},ed={key:1,class:"title-edit-container"},td={class:"title-edit-actions"},nd={class:"detail-item"},od={key:0,class:"detail-value"},id={key:1,class:"title-edit-container"},ad={class:"title-edit-actions"},rd={class:"detail-item"},ld={key:0,class:"detail-value"},sd={key:1,class:"title-edit-container"},dd={class:"salary-range-container"},ud={class:"title-edit-actions"},cd={class:"detail-item"},fd={key:0,class:"detail-value"},vd={key:1,class:"title-edit-container"},pd={class:"title-edit-actions"},md={class:"detail-item"},gd={key:0,class:"detail-value"},hd={key:1,class:"title-edit-container"},yd={class:"title-edit-actions"},bd={class:"detail-item"},Sd={key:0,class:"detail-value"},Ed={key:1,class:"title-edit-container"},xd={class:"title-edit-actions"},Id={class:"detail-item"},Cd={class:"detail-value"},Ad={class:"detail-item"},wd={key:0,class:"detail-value"},Od={key:1,class:"title-edit-container"},Td={class:"title-edit-actions"},Dd={class:"detail-item"},Vd=["innerHTML"],Pd={key:2,class:"title-edit-container"},Rd={class:"title-edit-actions"},Ud={class:"detail-item"},Kd=["innerHTML"],Md={key:2,class:"title-edit-container"},kd={class:"title-edit-actions"},Bd={class:"detail-item"},Nd={key:0,class:"detail-value"},Fd={key:1,class:"title-edit-container"},jd={class:"title-edit-actions"},Ld={class:"status-cards"},Qd={class:"status-switch"},Gd={class:"status-text"},zd={class:"section-title"},$d={class:"usage-content"},Jd={key:0,class:"usage-value"},Wd={key:1,class:"title-edit-container"},Hd={class:"title-edit-actions"},Yd={class:"section-title"},Xd={class:"process-steps"},Zd={key:0,class:"step-number"},qd={class:"step-content"},_d={class:"step-title"},eu={class:"section-title"},tu={class:"process-dialog-content"},nu={key:0,class:"add-process-btn-top"},ou={key:0,class:"process-number"},iu={class:"process-edit-content"},au={key:1,class:"process-edit-btn"},ru=["onClick"],lu={class:"dialog-footer"},su={class:"ai-video-steps"},du={key:0,class:"ai-video-content","element-loading-text":"正在生成能力标签..."},uu={class:"ai-video-options"},cu={class:"recommended-dimensions"},fu={class:"dimension-grid"},vu={class:"ability-label"},pu={class:"optional-dimensions"},mu={class:"header-row"},gu={class:"right_btn"},hu={class:"dimension-grid"},yu={class:"ability-label"},bu={class:"custom-dimensions"},Su={class:"dimension-form"},Eu={class:"dimension-row"},xu={class:"dimension-input"},Iu={class:"dimension-input"},Cu={class:"dimension-actions"},Au={key:1,class:"ai-video-content"},wu={class:"interview-settings"},Ou={class:"interview-header"},Tu={class:"interview-actions"},Du={class:"question-switches"},Vu={class:"switch-item"},Pu={class:"switch-item"},Ru={class:"interview-duration"},Uu={class:"duration-value"},Ku={class:"interview-content"},Mu={class:"interview-questions-container","element-loading-text":"AI正在生成题目..."},ku={key:0,class:"no-questions"},Bu={key:1,class:"question-list"},Nu={class:"question-card"},Fu={class:"question-header"},ju={class:"question-title"},Lu={class:"title-content"},Qu={class:"question-content"},Gu={class:"question-number"},zu={style:{color:"#0017ab"}},$u={class:"question-tags"},Ju={key:0,class:"more-tags-indicator"},Wu={class:"question-actions",style:{"margin-top":"0px"}},Hu={class:"question-info"},Yu={class:"info-item"},Xu={key:0,class:"question-actions"},Zu={class:"answer-limit"},qu={class:"answer-limit"},_u={key:1,class:"question-actions"},ec={class:"answer-limit"},tc={class:"multi-dimension-questions"},nc={class:"dimension-list"},oc={class:"dimension-header"},ic={class:"dimension-info"},ac={class:"ability-name"},rc=["onClick"],lc={key:2,class:"ai-video-content"},sc={class:"system-settings"},dc={class:"setting-section"},uc={style:{display:"flex","align-items":"flex-start"}},cc={style:{width:"100px",height:"170px","background-color":"#f2f2f2","margin-right":"30px","border-radius":"10px",overflow:"hidden"}},fc=["src"],vc={class:"interviewer-avatars"},pc=["onClick"],mc={class:"avatar-wrapper"},gc=["src","alt"],hc=["title"],yc={class:"setting-item",style:{border:"none"}},bc={class:"setting-options"},Sc={class:"interview-settings"},Ec={class:"setting-item"},xc={class:"setting-item"},Ic={class:"setting-options"},Cc={class:"setting-item"},Ac={class:"drawer-footer"},wc={class:"video-lecture-form"},Oc={class:"form-item"},Tc={class:"upload-area"},Dc={class:"form-item"},Vc={class:"dialog-footer"},Pc={class:"ai-chat-content"},Rc={class:"chat-settings"},Uc={class:"chat-actions"},Kc={class:"chat-questions"},Mc={key:0,class:"empty-questions"},kc={key:1,class:"question-list"},Bc={class:"question-card"},Nc={class:"question-header"},Fc={class:"question-title"},jc={class:"question-number"},Lc={class:"question-actions"},Qc={class:"weight-control"},Gc={class:"answer-limit"},zc={class:"question-info"},$c={class:"info-item"},Jc={class:"info-item"},Wc={class:"info-item"},Hc={class:"drawer-footer"},Yc={class:"question-form"},Xc={class:"form-item"},Zc={class:"form-item"},qc={class:"form-item"},_c={class:"competency-config"},ef={class:"tag-name"},tf={class:"form-tip"},nf={class:"form-item"},of={class:"form-item"},af={key:0,class:"form-item"},rf=["onClick"],lf={class:"form-item"},sf={class:"form-item"},df={class:"form-item"},uf={class:"form-item"},cf={class:"dialog-footer"},ff={class:"question-select-content"},vf={class:"custom-tree-node"},pf={class:"node-label",style:{display:"flex","align-items":"center"}},mf={class:"ml-2"},gf={class:"dialog-footer"},hf={class:"data-collection-form"},yf={class:"field-config-panel"},bf={class:"field-config-list"},Sf={class:"field-config-item"},Ef={class:"field-label"},xf={class:"field-config-item"},If={class:"field-label"},Cf={class:"field-config-item sub-field"},Af={class:"field-label"},wf={class:"field-config-item"},Of={class:"field-label"},Tf={class:"field-config-item sub-field"},Df={class:"field-label"},Vf={class:"field-config-item"},Pf={class:"field-label"},Rf={class:"field-config-item"},Uf={class:"field-label"},Kf={class:"field-config-item sub-field"},Mf={class:"field-label"},kf={class:"dialog-footer"},Bf={class:"resume-collection-form"},Nf={class:"form-item"},Ff={class:"dialog-footer"},jf={class:"code-test-form"},Lf={class:"form-item"},Qf={class:"form-item"},Gf={class:"switch-label"},zf={class:"form-item"},$f={class:"test-paper-selector"},Jf={key:0,class:"empty-paper"},Wf={key:1,class:"selected-paper"},Hf={class:"paper-info"},Yf={class:"paper-title"},Xf={class:"paper-meta"},Zf={class:"paper-actions"},qf={class:"dialog-footer"},_f={class:"typing-test-form"},ev={class:"form-item"},tv={class:"article-selection"},nv={class:"form-item"},ov={class:"form-item"},iv={class:"time-input-container"},av={class:"form-item"},rv={class:"upload-area"},lv={class:"form-item"},sv={class:"form-item"},dv={class:"form-item"},uv={class:"form-item"},cv={class:"criteria-options"},fv={class:"dialog-footer"},vv={class:"interview-settings-content"},pv={class:"settings-section"},mv={class:"setting-item"},gv={class:"setting-item"},hv={class:"setting-item"},yv={class:"setting-item"},bv={class:"setting-item"},Sv={class:"settings-section"},Ev={class:"setting-item"},xv={class:"setting-info"},Iv={class:"setting-desc-container"},Cv={class:"setting-item"},Av={class:"setting-info"},wv={key:0,class:"setting-desc-container"},Ov={class:"setting-desc"},Tv={key:1,class:"desc-edit-container"},Dv={class:"desc-edit-actions"},Vv={class:"setting-item"},Pv={class:"setting-info"},Rv={key:0,class:"setting-desc-container"},Uv={class:"setting-desc"},Kv={key:1,class:"desc-edit-container"},Mv={class:"desc-edit-actions"},kv={class:"setting-item"},Bv={class:"setting-info"},Nv={key:0,class:"setting-desc-container"},Fv={class:"setting-desc"},jv={key:1,class:"desc-edit-container"},Lv={class:"desc-edit-actions"},Qv={class:"dialog-footer"},Gv={class:"question-select-content"},zv={class:"document-box document-left-box"},$v={class:"search-bar"},Jv={class:"search-inputs"},Wv={class:"question-lists"},Hv={class:"pagination-container"},Yv={class:"dialog-footer"},Xv={class:"candidate-questions-form"},Zv={class:"form-item"},qv={class:"form-item"},_v={class:"form-item"},ep={class:"dialog-footer"},tp={class:"dialog-footer"},np=Ol({__name:"index",setup(d){const i=Tl(),o=Dl(),s=G(o.query.id),n=G(!1),c=G(!1),t=f=>r.slice(0,f+1).filter(e=>e.visible).length,a=et({title:"",job_category:"",job_type_display:"",city:"",location:[],location_str:"",address_detail:"",benefits:[],requirements:"",job_type:0,salary_range:"",department:"",end_date:"",description:"",work_experience_required:"",education_required:"",competency_tags:[],options:[],status:0}),r=et([{id:6,name:"简历收集",description:"简历收集",active:!0,type:"resume_collection",visible:!0},{id:5,name:"资料收集",description:"资料收集",active:!0,type:"data_collection",visible:!0},{id:2,name:"AI考察",description:"AI考察",active:!0,type:"ai_video",visible:!0},{id:8,name:"综合素质考察",description:"综合素质考察",active:!0,type:"common_sense",visible:!0},{id:9,name:"心理问题",description:"心理问题",active:!0,type:"psychological_problem",visible:!0},{id:7,name:"候选人提问",description:"时长5分钟,最多3个问题",active:!0,type:"candidate_questions",visible:!0,config:{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}},{id:3,name:"已通过",description:"已通过",active:!0,type:"passed",visible:!0},{id:4,name:"已淘汰",description:"已淘汰",active:!1,type:"rejected",visible:!0}]),u=G(!1),g=[{label:"视频宣讲",value:"video_presentation"},{label:"简历收集",value:"resume_collection"},{label:"资料收集",value:"data_collection"},{label:"AI考察",value:"ai_video"},{label:"综合素质考察",value:"common_sense"},{label:"心理问题",value:"psychological_problem"},{label:"候选人提问",value:"candidate_questions"},{label:"肢体检测",value:"body_detection"}],m=f=>(wt.value.forEach(e=>{f.id==e.id&&(f.name=e.name)}),f.name),h=G(!1),b=f=>{rt.pageSize=f,Zt({page:rt.page,limit:rt.pageSize,question_form:lt.question_form}).then(e=>{e.data&&(rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Wt.value=e.data.total)})},S=f=>{rt.page=f,Zt({page:rt.page,limit:rt.pageSize,question_form:lt.question_form}).then(e=>{e.data&&(rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Wt.value=e.data.total)})},E=async()=>{const f=Nt.value.map(e=>e.id);if(console.log("selectedQuestionIds",f),f.length===0){U.warning("请至少选择一个问题");return}try{await fi({position_id:o.query.id,question_id:f,duration:60,tenant_id:Xt.get("tenant_id")});const e=rt.value.filter(T=>T.selected);Nt.value.push(...e),U.success("问题添加成功"),h.value=!1}catch(e){console.error("添加问题失败:",e),e.code===4e3?U.warning("该题目已绑定,请选择其他题目"):U.error("添加问题失败,请重试")}},I=()=>{Rn.value=!0,ta({position_id:o.query.id}).then(f=>{f.data.forEach(e=>{e.selected=!1}),wt.value=f.data,console.log("res",f),Rn.value=!1}).catch(f=>{console.log("err",f),Rn.value=!1})},w=as(),O=f=>{if(console.log("地址选择变化:",f),f&&Array.isArray(f)&&f.length>0){const[e,T,x]=f,D=w.find(ce=>ce.code===e);let L;D&&D.children&&(L=D.children.find(ce=>ce.code===T),L&&L.children&&L.children.find(ce=>ce.code===x))}},F=(f,e)=>{},R=G(-1),K=G(!1),M=et({top:"0px",left:"0px"}),Z=G(!1),ee=et({qualityControl:!1,teamwork:!1,problemSolving:!1,dataAnalysis:!1,positionMatch:!1,proactiveness:!1,basicAbility:!1,communication:!1,serviceAwareness:!1,xxxx:!1}),V=G(1),Y=G([{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 q=f=>{console.log(f)};G("standard"),G(!1);const le=G(!1),Q=et({title:"",videoFile:null,description:"",broadcastType:"required"}),J=G(!1);G(15),G(5);const re=G(!1),N=et({id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:""}),ne=f=>f.map(e=>e.id),ge=G([]),De=G([]),Xe=G([{label:"技术能力",value:"tech"},{label:"管理能力",value:"management"},{label:"沟通能力",value:"communication"},{label:"专业知识",value:"professional"},{label:"个人素质",value:"personal"}]),Me=G([{label:"时间管理",value:"time_management"},{label:"压力处理",value:"pressure_handling"},{label:"团队合作",value:"team_cooperation"},{label:"问题分析",value:"problem_analysis"},{label:"创新思维",value:"innovative_thinking"}]),ke=()=>{Object.assign(N,{id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:""})},$e=async()=>{const f=await Bl({page:1,page_size:50});console.log(f),De.value=f.data.map(e=>({label:e.title,value:String(e.id)}))},He=()=>{re.value=!1,ke()},Ae=G(!1),Ve=et({isRequired:!1,questions:[]});G([{label:"Q1",value:"q1",isVisible:!0,enableScoring:!1,isRequired:!1},{label:"请问你的毕业院校是哪里?",value:"school",isVisible:!0,enableScoring:!1,isRequired:!0}]);const we=G(!1),Ze=et({title:"简历收集",isRequired:!0,steps:4}),nt=()=>{we.value=!0},Rt=()=>{we.value=!1,Object.assign(Ze,{title:"简历收集",isRequired:!0,steps:4})},kt=()=>{const f={id:Date.now(),name:Ze.title,description:"简历收集",active:!0,type:"resume_collection",config:{...Ze},visible:!0};r.splice(R.value,0,f),console.log(r),we.value=!1,U.success("简历收集步骤已添加"),Rt()},ut=G(!1),Pe=et({enableScoreQuestions:!1,enableColorBlindQuestions:!1,enableOpenQuestions:!1}),qe=async()=>{try{const f=o.query.id;if(!f){U.error("职位ID不存在");return}const e=Array.isArray(f)?f[0]:f,T=f,x=await Nl(f);if(x&&x.data){Object.assign(a,x.data),ge.value=x.data.competency_tags;const D=await Mn(f);D&&D.data&&(Re.value=D.data.id,D.data.enable_psychological_test!==void 0&&(Pe.enableScoreQuestions=D.data.enable_psychological_test),D.data.enable_color_blind_test!==void 0&&(Pe.enableColorBlindQuestions=D.data.enable_color_blind_test)),n.value=a.status===1}}catch(f){console.error("获取职位详情失败:",f),U.error("获取职位详情失败")}},zt=()=>{i.push("/position/list")},Ct=()=>{i.push("/position/list")},At=async f=>{const e=o.query.id;try{const T=f?1:0;if(f){const x=await Fl({position_id:e,tenant_id:Xt.get("tenant_id")});if(x.code===2e3){const{is_all_completed:D,total_questions:L}=x.data;if(!D||L<=0){U.warning(`无法开启职位,原因:${L<=0?"当前职位没有设置面试题目":"面试题目视频未全部生成完成"}`),n.value=!f;return}}else{U.error("检查视频状态失败,请稍后重试"),n.value=!f;return}}await Et({id:e,status:T}),a.status=T,U.success(`职位已${f?"开启":"关闭"}`)}catch(T){console.error("修改状态失败:",T),U.error("修改状态失败"),n.value=!f}},In=()=>{u.value=!0},Qn=()=>{u.value=!1,U.success("招聘流程已更新")},bt=()=>{u.value=!1},Bt=(f,e)=>{f.type=="ai_video"&&(Z.value=!1),f.type=="ai_chat"&&(J.value=!1),f.type=="ai_video"&&Dt({id:Re.value,enable_open_questions:!1}).then(T=>{T.code==2e3?U.success("删除成功"):U.error("删除失败")}),f.type=="psychological_problem"&&Dt({id:Re.value,enable_scoring_questions:!1}).then(T=>{T.code==2e3?U.success("删除成功"):U.error("删除失败")}),f.type=="common_sense"&&Dt({id:Re.value,enable_single_choice:!1,enable_multiple_choice:!1,enable_image_choice:!1,enable_fill_blank:!1}).then(T=>{T.code==2e3?U.success("删除成功"):U.error("删除失败")}),f.type=="resume_collection"&&Dt({id:Re.value,require_resume_upload:!1}).then(T=>{T.code==2e3?U.success("删除成功"):U.error("删除失败")}),r.splice(e,1)},en=f=>({0:"未发布",1:"已发布",2:"已结束"})[f]||"未知状态",dn=f=>({0:"info",1:"success",2:"danger"})[f]||"info",un=f=>({0:"全职",1:"兼职",2:"实习",3:"其他"})[f]||"未知",cn=(f,e)=>{R.value=f,K.value=!0,console.log(f,e);const T=e.currentTarget,x=T.closest(".process-dialog-content");if(x){const D=T.getBoundingClientRect(),L=x.getBoundingClientRect(),ce=D.bottom-L.top+5,W=D.left-L.left;M.top=`${ce}px`,M.left=`${W}px`}e.stopPropagation()},fn=async(f,e)=>{if(f==="ai_video"&&Dt({id:Re.value,enable_open_questions:!0}).then(D=>{D.code==2e3?(r[2].visible=!0,K.value=!1):U.error("更新配置失败")}),f==="common_sense"&&Dt({id:Re.value,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_fill_blank:!0}).then(D=>{D.code==2e3?(r[3].visible=!0,console.log("recruitmentProcess",r),K.value=!1):U.error("更新配置失败")}),f==="psychological_problem"&&Dt({id:Re.value,enable_scoring_questions:!0}).then(D=>{D.code==2e3?(r[4].visible=!0,K.value=!1):U.error("更新配置失败")}),f==="post_render_questions"){ll.value=!0,K.value=!1;return}if(f=="resume_collection"&&Dt({id:Re.value,require_resume_upload:!0}).then(D=>{D.code==2e3?(r[0].visible=!0,U.success("新增成功")):U.error("删除失败")}),r.find(D=>!!(D.type&&D.type===f||D.name===e))){K.value=!1;return}if(f==="ai_chat"){J.value=!0,K.value=!1;return}if(f==="video_presentation"){kt(),K.value=!1;return}if(f==="data_collection"){const D=await Mn(o.query.id);D&&D.data?(Re.value=D.data.id,Sa(z,D.data.profile_fields_config),Ae.value=!0,K.value=!1):(Ae.value=!0,K.value=!1);return}if(f==="resume_collection"){nt(),K.value=!1;return}if(f==="code_test"){Ma(),K.value=!1;return}if(f==="typing_test"){$n.value=!0,K.value=!1;return}if(f==="candidate_questions"){Un.value=!0,K.value=!1;return}const x={id:Date.now(),name:e,description:e,active:!0,type:f,visible:!0};console.log("newStep",x),r.splice(R.value,0,x),K.value=!1},vn=async()=>{if(V.value<3){if(V.value===1){const f=wt.value.filter(e=>e.selected);if(f.length===0){U.warning("请至少选择一个胜任力考核维度");return}try{Y.value=f.map(e=>({label:e.name,value:e.name.toLowerCase().replace(/\s+/g,"_"),id:e.id,description:e.description||"",level:"CC",expanded:!1,isNew:!0}))}catch(e){console.error("处理胜任力标签失败:",e),U.error("处理胜任力标签失败");return}}if(V.value===2){if($.value.length===0){U.warning("请至少添加一个面试题目");return}try{await Ar()}catch(f){console.error("保存题目失败:",f),U.error("保存题目失败");return}}if(V.value===3){const f=wr();if(!f.isValid){f.messages.forEach(T=>{U.warning(T)});return}const e=Dr();console.log("完整的面试配置:",e)}V.value++}else A()},pn=()=>{V.value>1&&V.value--},A=async()=>{var D;if(!pt.value||!pt.value.id){U.warning("请选择面试官形象");return}const f={id:pt.value.id,name:pt.value.name,avatar_url:pt.value.avatar_url||pt.value.image},e=ri(),T={enableScoreQuestions:Pe.enableScoreQuestions,enableColorBlindQuestions:Pe.enableColorBlindQuestions};try{if(await Et({id:o.query.id,status:0}),a.status=0,n.value=!1,Re.value==0){const L=await vi({position_id:o.query.id,digital_human_id:pt.value.id});if(L.code==2e3){U.success("配置保存成功");try{const ce={config_id:((D=L.data)==null?void 0:D.id)||L.data};e.beforeStartText&&e.beforeStartText.trim()!==""?(await pi(ce),console.log("开场白生成成功"),Z.value=!1,V.value=1,await new Promise(pe=>setTimeout(pe,4e3))):console.log("无开场白配置,跳过开场白生成"),await na(ce),U.success("视频开始生成")}catch(ce){console.error("获取开场白和视频失败:",ce),U.warning("视频生成中,请稍后")}}else U.error("配置保存失败")}else if((await Dt({id:Re.value,digital_human_id:pt.value.id})).code==2e3){U.success("配置保存成功");try{const ce={config_id:Re.value};console.log("开始生成开场白..."),await pi(ce),console.log("开场白生成成功"),Z.value=!1,V.value=1,console.log("等待4秒后开始生成视频..."),await Rr(4e3),console.log("开始生成视频..."),await na(ce),console.log("视频生成请求已发送"),U.success("视频开始生成")}catch(ce){console.error("获取开场白和视频失败:",ce),U.warning("视频生成中,请稍后")}}else U.error("配置保存失败")}catch(L){console.error("更新职位状态失败:",L),U.error("更新职位状态失败");return}console.log("保存时选中的面试官:",f),console.log("保存时的面试设置:",e),console.log("保存时的题目设置:",T);const x={id:Date.now(),name:"AI考察",description:`已选择${Y.value.length}项能力测评`,active:!0,type:"ai_video",abilities:Y.value.map(L=>L.value),interviewer:f,settings:e};r.splice(R.value,0,x),Z.value=!1,V.value=1,U.success("AI考察步骤已添加")},C=()=>{Z.value=!1,V.value=1},P=f=>{},j=()=>{le.value=!1,Object.assign(Q,{title:"",videoFile:null,description:"",broadcastType:"required"})},_=()=>{const f={id:Date.now(),name:Q.title||"视频宣讲",description:Q.description||"视频宣讲",active:!0,type:"video_presentation",config:{...Q}};r.splice(R.value,0,f),le.value=!1,U.success("视频宣讲步骤已添加"),j()},se=()=>{const f={id:Date.now(),name:"AI实时对话",description:"AI实时对话",active:!0,type:"ai_chat"};r.splice(R.value,0,f),J.value=!1,U.success("AI实时对话步骤已添加")},ve=()=>{J.value=!1},xe=()=>{if(!Ue.title.trim()){U.warning("请输入环节名称");return}if(Ue.duration<=0){U.warning("提问时长必须大于0分钟");return}if(Ue.maxQuestions<=0){U.warning("最多提问数量必须大于0");return}if(uo.value>=0){const f=r[uo.value];f.name=Ue.title,f.description=`时长${Ue.duration}分钟,最多${Ue.maxQuestions}个问题`,f.config={...Ue},U.success("候选人提问环节已更新")}else{const f={id:Date.now(),name:Ue.title,description:`时长${Ue.duration}分钟,最多${Ue.maxQuestions}个问题`,active:!0,type:"candidate_questions",config:{...Ue},visible:!0};r.splice(R.value,0,f),U.success("候选人提问环节已添加")}Un.value=!1,de()},je=()=>{Un.value=!1,de()},de=()=>{uo.value=-1,Object.assign(Ue,{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]})},$=G([]),ae=ui(()=>$.value.reduce((f,e)=>{switch(e.question_form){case 0:return f+60;case 1:return f+30;case 2:return f+30;default:return f+30}},0)),ye=ui(()=>{const f=ae.value;if(f<60)return`${f}秒`;const e=Math.floor(f/60),T=f%60;return T>0?`${e}分${T}秒`:`${e}分钟`}),Ee=()=>{re.value=!0},ot=()=>{ko.value={question:"",question_form:null,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:[]},Li.value=!1,ao.value=!0},Gn=async f=>{try{const e=await rs({...f,tenant_id:Xt.get("tenant_id")});if(console.log(f),e&&e.code===2e3){if(U.success("题目创建成功"),console.log(e),e.data){const T={id:e.data.id||e.data,title:f.question,content:f.question,question_form:f.question_form,question_form_name:mn(f.question_form),scoring_reference:f.scoring_reference||"",competency_tag_info:f.competency_tags||[],competency_tags:f.competency_tags||[],options:f.options||[],enable_follow_up:!1,maxAnswers:1,weight:100,source:"custom_selected"};$.value.push(T)}ao.value=!1}else U.error("题目创建失败,请重试")}catch(e){console.error("创建题目失败:",e),U.error("题目创建失败,请重试")}},wo=()=>{ao.value=!1,ko.value={}},mn=f=>({0:"开放问题",1:"单选题",2:"多选题",3:"色盲题",4:"得分题",5:"判断题",6:"填空题"})[f]||"未知类型",Ki=f=>{if($.value[f].source!=="ai_generated")console.log($.value[f].id),Xl($.value[f].id).then(e=>{if(console.log(e),e.code===2e3){const T={id:e.data.id,content:e.data.question,question_form:e.data.question_form,question_form_name:mn(e.data.question_form),scoring_reference:e.data.scoring_reference,competency_tag_info:e.data.competency_tag_info,competency_tags:e.data.competency_tags,options:e.data.options.map(x=>({text:x.option_text,is_correct:x.is_correct,sort:x.sort})),enable_follow_up:e.data.enable_follow_up,maxAnswers:e.data.maxAnswers,weight:e.data.weight};Object.assign(N,T)}});else{const e=$.value[f];console.log(e),Object.assign(N,e),console.log($)}re.value=!0,al()},Mi=f=>{ea.confirm("确认删除该问题?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{$.value.splice(f,1),U.success("删除成功")})},Ua=()=>{Object.assign(z,JSON.parse(JSON.stringify(Gi))),Ae.value=!1,Object.assign(Ve,{isRequired:!1,questions:[]})};Vl(()=>{qe(),Ni(),Vr(),$e(),Ka()}),Pl(()=>{ji()});const Ka=async()=>{try{const f=o.query.id;if(f){const e=await Mn(f);e&&e.data&&(e.data.enable_psychological_test!==void 0&&(Pe.enableScoreQuestions=e.data.enable_psychological_test),e.data.enable_color_blind_test!==void 0&&(Pe.enableColorBlindQuestions=e.data.enable_color_blind_test),r[2].visible=e.data.question_form_switches.enable_open_questions,r[3].visible=e.data.question_form_switches.enable_single_choice||e.data.question_form_switches.enable_multiple_choice||e.data.question_form_switches.enable_image_choice||e.data.question_form_switches.enable_fill_blank,r[4].visible=e.data.question_form_switches.enable_scoring_questions,r[0].visible=e.data.require_resume_upload)}}catch(f){console.error("初始化配置状态失败:",f)}},zn=G(!1),it=et({title:"代码笔试",autoJudge:!0,selectedPaper:null}),Ma=()=>{zn.value=!0},ki=()=>{zn.value=!1,Object.assign(it,{title:"代码笔试",autoJudge:!0,selectedPaper:null})},ka=()=>{if(!it.selectedPaper){U.warning("请添加考试试卷");return}const f={id:Date.now(),name:it.title,description:`${it.selectedPaper.title}`,active:!0,type:"code_test",config:{...it}};r.splice(R.value,0,f),zn.value=!1,U.success("代码笔试步骤已添加"),ki()},Ba=()=>{it.selectedPaper={id:1,title:"前端开发工程师笔试",questionCount:4,duration:60,difficulty:"中等难度"}},Na=()=>{U.info("查看试卷功能开发中")},Fa=()=>{U.info("更换试卷功能开发中")},ja=()=>{it.selectedPaper=null},$n=G(!1),tt=et({title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]}),Bi=()=>{$n.value=!1,Object.assign(tt,{title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]})},La=()=>{const f={id:Date.now(),name:tt.title,description:`打字测试 ${tt.duration}分钟`,active:!0,type:"typing_test",config:{...tt}};r.splice(R.value,0,f),$n.value=!1,U.success("打字测试步骤已添加"),Bi()},Oo=G(!1),Cn=G(""),Qa=()=>{Cn.value=a.title,Oo.value=!0},Ga=()=>{Oo.value=!1},za=async()=>{if(!Cn.value.trim()){U.warning("职位名称不能为空");return}try{const f=o.query.id;await Et({id:f,title:Cn.value.trim()}),a.title=Cn.value.trim(),Oo.value=!1,U.success("职位名称已更新")}catch(f){console.error("更新职位名称失败:",f),U.error("更新职位名称失败")}},To=G(!1),$t=G(""),$a=()=>{if(!a.location)$t.value="";else if(Array.isArray(a.location))$t.value=a.location;else if(typeof a.location=="string")try{const e=a.location.replace(/[\[\]']/g,"").split(",").map(L=>L.trim()),T=w.find(L=>L.name===e[0]);let x,D;T&&T.children&&(x=T.children.find(L=>L.name===e[1]),x&&x.children&&(D=x.children.find(L=>L.name===e[2]))),$t.value=[T==null?void 0:T.code,x==null?void 0:x.code,D==null?void 0:D.code].filter(Boolean)}catch(f){console.error("解析地址失败:",f),$t.value=""}To.value=!0},Ja=()=>{To.value=!1},Wa=async()=>{try{const f=o.query.id,e=[];if($t.value&&Array.isArray($t.value)){const[T,x,D]=$t.value,L=w.find(pe=>pe.code===T);let ce,W;L&&(e.push(L.name),L.children&&(ce=L.children.find(pe=>pe.code===x),ce&&(e.push(ce.name),ce.children&&(W=ce.children.find(pe=>pe.code===D),W&&e.push(W.name)))))}await Et({id:f,location:e}),a.location=e,To.value=!1,U.success("工作地点已更新")}catch(f){console.error("更新工作地点失败:",f),U.error("更新工作地点失败")}},Do=G(!1),Jn=G("月薪"),gn=G(0),tn=G(0),Ha=()=>{if(a.salary_range){const f=a.salary_range.split(" ");if(f.length>=2){Jn.value=f[0];const e=f[1].split("-");e.length===2&&(gn.value=parseInt(e[0])||0,tn.value=parseInt(e[1])||0)}}else Jn.value="月薪",gn.value=0,tn.value=0;Do.value=!0},Ya=()=>{Do.value=!1},oi=()=>{gn.value>tn.value&&tn.value!==0&&(gn.value=tn.value)},Xa=async()=>{try{const f=o.query.id,e=`${Jn.value} ${gn.value}-${tn.value}`;await Et({id:f,salary_range:e}),a.salary_range=e,Do.value=!1,U.success("职位薪资已更新")}catch(f){console.error("更新职位薪资失败:",f),U.error("更新职位薪资失败")}},Vo=G(!1),Wn=G(""),Za=()=>{Wn.value=a.work_experience_required||"",Vo.value=!0},qa=()=>{Vo.value=!1},_a=async()=>{try{const f=o.query.id;await Et({id:f,work_experience_required:Wn.value}),a.work_experience_required=Wn.value,Vo.value=!1,U.success("工作经验已更新")}catch(f){console.error("更新工作经验失败:",f),U.error("更新工作经验失败")}},Po=G(!1),Hn=G(""),er=()=>{Hn.value=a.education_required||"",Po.value=!0},tr=()=>{Po.value=!1},nr=async()=>{try{const f=o.query.id;await Et({id:f,education_required:Hn.value}),a.education_required=Hn.value,Po.value=!1,U.success("学历要求已更新")}catch(f){console.error("更新学历要求失败:",f),U.error("更新学历要求失败")}},Ro=G(!1),Yn=G(""),or=()=>{Yn.value=a.department||"",Ro.value=!0},ir=()=>{Ro.value=!1},ar=async()=>{try{const f=o.query.id;await Et({id:f,department:Yn.value.trim()}),a.department=Yn.value.trim(),Ro.value=!1,U.success("所属部门已更新")}catch(f){console.error("更新所属部门失败:",f),U.error("更新所属部门失败")}},Uo=G(!1),Xn=G(""),rr=()=>{Xn.value=a.end_date||"",Uo.value=!0},lr=()=>{Uo.value=!1},sr=async()=>{try{const f=o.query.id;await Et({id:f,end_date:Xn.value}),a.end_date=Xn.value,Uo.value=!1,U.success("截止日期已更新")}catch(f){console.error("更新截止日期失败:",f),U.error("更新截止日期失败")}},Zn=G(!1),qn=G(""),dr=()=>{qn.value=a.requirements||"",Zn.value=!0},ur=()=>{Zn.value=!1},cr=async()=>{try{const f=o.query.id;await Et({id:f,requirements:qn.value}),a.requirements=qn.value,Zn.value=!1,U.success("职位要求已更新")}catch(f){console.error("更新职位要求失败:",f),U.error("更新职位要求失败")}},_n=G(!1),eo=G(""),fr=()=>{eo.value=a.description||"",_n.value=!0},vr=()=>{_n.value=!1},pr=async()=>{try{const f=o.query.id;await Et({id:f,description:eo.value}),a.description=eo.value,_n.value=!1,U.success("职位描述已更新")}catch(f){console.error("更新职位描述失败:",f),U.error("更新职位描述失败")}},An=G(!1),to=G(0),mr=()=>{to.value=a.job_type||0,An.value=!0},gr=()=>{An.value=!1},hr=async()=>{try{const f=o.query.id;await Et({id:f,job_type:to.value}),a.job_type=to.value,An.value=!1,U.success("职位性质已更新")}catch(f){console.error("更新职位性质失败:",f),U.error("更新职位性质失败")}},wt=G([]),Ko=G(!1),wn=G([]),Ni=async()=>{try{const f=await Wl({page:1,pageSize:1e3});f&&f.data}catch(f){console.error("获取能力标签列表失败:",f),U.error("获取能力标签列表失败")}},yr=async()=>{var f;await Ni(),wn.value=((f=a.competency_tags)==null?void 0:f.map(e=>e.id))||[],ge.value.forEach(e=>{e.selected=wn.value.includes(e.id)}),Ko.value=!0},br=()=>{Ko.value=!1},Sr=async()=>{try{const f=o.query.id;await Et({id:f,competency_tags:wn.value}),a.competency_tags=ge.value.filter(e=>wn.value.includes(e.id)).map(e=>({id:e.id,name:e.name})),Ko.value=!1,U.success("能力标签已更新")}catch(f){console.error("更新能力标签失败:",f),U.error("更新能力标签失败")}},Er=G(null),Re=G(0),Mo=async f=>{if(f.name==="资料收集"){const e=await Mn(o.query.id);e&&e.data&&(Re.value=e.data.id,Sa(z,e.data.profile_fields_config),Ae.value=!0,K.value=!1);return}if(f.name==="AI考察"){if(f.action==="delete"){await rl();return}const e=await Mn(o.query.id);Rn.value=!0,Er.value=f,Z.value=!0,V.value=1;try{const T=await oa({position_id:o.query.id,page:1,limit:20});T&&T.data&&T.data.dataList&&($.value=T.data.dataList.map(D=>(D.content=D.question,D.title=D.question,D.competency_tags=D.competency_tag_info,D.source="ai_generated",D)));const x=await ts({position_id:o.query.id,page:1,limit:50});if(console.log("existingTags",x),x&&x.data&&x.data.items.length>0)x.data.items.forEach(D=>{D.importance=1,D.selected=!1,a.latest_competency_snapshot&&Array.isArray(a.latest_competency_snapshot)&&(D.selected=a.latest_competency_snapshot.some(L=>L.id===D.id))}),wt.value=x.data.items;else{const D=await ta({position_id:o.query.id});if(D&&D.data){D.data.forEach(L=>{L.selected=!1}),wt.value=D.data;try{await ns({position_id:o.query.id,tags:wt.value}),U.success("胜任力标签保存成功")}catch(L){console.error("保存胜任力标签失败:",L),U.error("胜任力标签保存失败")}}}e&&e.data&&(Re.value=e.data.id)}catch(T){console.error("获取或生成能力标签失败:",T),U.error("获取或生成能力标签失败")}finally{Rn.value=!1}Object.keys(ee).forEach(T=>{ee[T]=!1})}f.name==="综合素质考察"&&Zt({page:1,limit:20}).then(e=>{e.data&&(rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Wt.value=e.data.total,pl(),h.value=!0)}),f.name==="心理问题"&&Zt({page:1,limit:30,question_form:4}).then(e=>{e.data&&(lt.question_form=4,rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Wt.value=e.data.total,hl(),Tn.value=!0)})},nn=G(""),On=G(""),xr=G(!1),Ir=async()=>{if(!nn.value.trim()){U.warning("请输入维度名称");return}if(wt.value.find(e=>e.name===nn.value.trim())){U.warning("该维度名称已存在,请重新输入");return}try{const e=await Zl({name:nn.value.trim(),description:On.value.trim(),importance:1,weight:0});if(!e.data)throw new Error("创建标签失败");const T=e.data.id;await ql({tag_ids:[T],position_ids:[s.value]});const x={id:T,name:nn.value.trim(),description:On.value.trim(),selected:!1,importance:1,weight:0,isCustom:!0};wt.value.push(x),xr.value,nn.value="",On.value="",console.log("添加新维度成功:",x),console.log("当前备选维度列表:",wt.value)}catch(e){console.error("添加自定义维度失败:",e),U.error("添加自定义维度失败,请重试")}},at=et({keepVideo:!0,interruptionMode:"",smartFollowUp:!1,followUpStyle:""}),ii=G([{id:1,name:"Jessica",image:"/avatars/jessica.png"},{id:2,name:"Mike",image:"/avatars/mike.png"},{id:3,name:"Sarah",image:"/avatars/sarah.png"}]),pt=G(ii.value[0]),ai=G(""),Cr=f=>{pt.value=f,console.log("选中的面试官信息:",{id:f.id,name:f.name,avatar_url:f.avatar_url||f.image}),ai.value=f.avatar_url,U.success(`已选择面试官:${f.name}`)},Ar=async()=>{const f=$.value.filter(T=>T.source==="ai_generated"),e=$.value.filter(T=>T.source==="custom_selected");if(console.log("AI生成的题目:",f),console.log("自定义选择的题目:",e),f.length>0&&(await _l({draft_ids:f.map(T=>T.id)}),console.log("AI生成的题目已保存到草稿")),e.length>0){const T={position_id:o.query.id,question_id:{question_id:e},duration:60,tenant_id:Xt.get("tenant_id")};console.log("自定义选择的题目需要调用专门的接口处理");const x=await fi(T);x&&x.code===2e3?U.success("自定义选择的题目已保存"):U.error("自定义选择的题目保存失败")}},ri=()=>{const f={keepVideo:at.keepVideo,interruptionMode:at.interruptionMode,followUpStyle:at.followUpStyle,smartFollowUp:at.smartFollowUp};return console.log("当前面试设置:",f),f},no=(f,e)=>{switch(console.log(`面试设置 ${f} 已更改为:`,e),f){case"keepVideo":console.log("回答视频保留设置:",e?"开启":"关闭");break;case"interruptionMode":console.log("中断后作答限制模式:",e==="previous"?"从上一问重新作答":"从当前问题作答");break;case"followUpStyle":console.log("追问风格:",e);break;case"smartFollowUp":console.log("智慧追问设置:",e?"开启":"关闭");break}},wr=()=>{const f=ri(),e={isValid:!0,messages:[]};return f.interruptionMode===""&&(e.isValid=!1,e.messages.push("请选择中断后作答限制模式")),e},Or=f=>{c.value=!0,console.log("开始拖拽题目:",f)},Tr=f=>{c.value=!1,console.log("拖拽结束:",f),console.log("当前题目顺序:",$.value),U.success("题目顺序已更新")},Dr=()=>({interviewer:{id:pt.value.id,name:pt.value.name,avatar_url:pt.value.avatar_url||pt.value.image},settings:ri(),questionSettings:{enableScoreQuestions:Pe.enableScoreQuestions,enableColorBlindQuestions:Pe.enableColorBlindQuestions},abilities:Y.value,questions:$.value,currentStep:V.value}),Vr=async()=>{const f=await Hl({page:1,pageSize:1e3});f&&f.data&&(ii.value=f.data)},Fi=(f,e)=>{e?oo.value.push({name:f.name,description:f.description||"暂无描述"}):oo.value=oo.value.filter(T=>T.name!==f.name)},Pr=f=>{ea.confirm("确认删除这个胜任力标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const e=Y.value[f];Y.value.splice(f,1),oo.value=oo.value.filter(x=>x.name!==e.label);const T=wt.value.find(x=>x.name===e.label);T&&(T.selected=!1),U.success("胜任力标签已删除")}).catch(()=>{})},oo=G([]),Rr=f=>new Promise(e=>setTimeout(e,f));let Jt=null;const Ur=async(f,e=300,T=2e3)=>{let x=0;Jt={cancelled:!1};const D=Jt;return new Promise((L,ce)=>{const W=async()=>{try{if(D.cancelled){console.log("轮询已被取消"),L(null);return}x++,console.log(`第${x}次轮询获取草稿列表...`);const pe=await oa(f);if(D.cancelled){console.log("轮询已被取消"),L(null);return}if(pe&&pe.data&&pe.data.dataList&&pe.data.dataList.length>0){console.log("轮询成功,获取到草稿列表数据"),Jt=null,L(pe);return}if(x>=e){console.log("轮询达到最大次数,停止轮询"),Jt=null,L(pe);return}setTimeout(W,T)}catch(pe){if(console.error(`第${x}次轮询失败:`,pe),D.cancelled){console.log("轮询已被取消"),L(null);return}x<e?setTimeout(W,T):(Jt=null,ce(pe))}};W()})},ji=()=>{Jt&&(Jt.cancelled=!0,Jt=null,console.log("轮询已被手动取消"))},Kr=()=>{ji(),ut.value=!1,U.info("已取消AI自动组题")},Tn=G(!1),io=G(""),rt=G([]),Nt=G([]),ao=G(!1),ko=G({}),Li=G(!1),Mr=G(0),Wt=G(0),lt=et({page:1,pageSize:10,keyword:"",question_form:null}),ct=et({page:1,limit:20,keyword:"",question_form:null}),kr=async()=>{try{const f={...lt,keyword:io.value,...lt.question_form!==null&&{question_form:lt.question_form}},e=await Zt(f);e&&e.data&&(rt.value=e.data.items,Mr.value=e.data.total)}catch(f){console.error("获取题目列表失败:",f),U.error("获取题目列表失败")}},Bo=()=>{lt.page=1,kr()},Br=f=>{Nt.value=f},Qi=()=>{Tn.value=!1,Nt.value=[],io.value=""},Nr=async()=>{if(Nt.value.length===0){U.warning("请至少选择一个题目");return}try{const f=Nt.value.map(T=>T.id);await fi({position_id:o.query.id,question_id:f,duration:60,tenant_id:Xt.get("tenant_id")});const e=Nt.value.map(T=>({id:T.id,title:T.question||T.title,ability:T.ability||"未设置",content:T.content||T.question,target:T.target||"未设置",competency_tags:T.competency_tags||[],question_form_name:T.question_form_name,scoring_reference:T.scoring_reference,question_form:T.question_form,is_required_correct:T.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:T.options||[],source:"custom_selected"}));$.value.push(...e),Tn.value=!1,Nt.value=[],io.value="",U.success("题目添加成功")}catch(f){console.error("添加题目失败:",f),Tn.value=!1,f.code===4e3?U.warning("该题目已绑定,请选择其他题目"):U.error("添加题目失败,请重试")}},Gi={name:{visible:!0,label:"姓名",required:!0},gender:{visible:!0,label:"性别",required:!0},three_period:{visible:!0,label:"是否为三期",required:!0},phone:{visible:!0,label:"手机号",required:!0},id_card:{visible:!0,label:"身份证号",required:!0},ethnicity:{visible:!0,label:"民族",required:!0},height:{visible:!0,label:"身高(cm)",required:!1},weight:{visible:!0,label:"体重(kg)",required:!1},current_address:{visible:!0,label:"现居住地址",required:!0},household_location:{visible:!0,label:"户口所在地",required:!1},marital_status:{visible:!0,label:"婚育状况",required:!1},expected_salary:{visible:!0,label:"期望薪资(元/月)",required:!1},family_member:{visible:!0,label:"家庭成员",fields:{relation:{visible:!0,label:"称谓",required:!0},name:{visible:!0,label:"姓名",required:!0},workplace_address:{visible:!0,label:"工作单位/家庭地址",required:!1},position:{visible:!0,label:"职务",required:!1},phone:{visible:!0,label:"联系电话",required:!0},is_emergency_contact:{visible:!0,label:"是否为紧急联系人",required:!1}}},education:{visible:!0,label:"教育经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},school_name:{visible:!0,label:"学校名称",required:!0},major:{visible:!0,label:"专业",required:!0},degree:{visible:!0,label:"学历",required:!0}}},require_professional_skills:{visible:!0,label:"专业技能",required:!0},training_fields_config:{visible:!0,label:"受过的培训",required:!0},work_experience:{visible:!0,label:"工作经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},company_name:{visible:!0,label:"单位名称",required:!0},employee_count:{visible:!0,label:"单位人数",required:!0},department:{visible:!0,label:"任职部门",required:!0},position:{visible:!0,label:"担任职务",required:!0},monthly_salary:{visible:!0,label:"月总收入",required:!0},supervisor:{visible:!0,label:"直接领导",required:!0},supervisor_phone:{visible:!0,label:"领导电话",required:!0}}},question_form_switches:{enable_open_questions:!0,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_scoring_questions:!0,enable_follow_up_questions:!0,enable_fill_blank:!0}},z=et(JSON.parse(JSON.stringify(Gi))),Fr=async()=>{try{const f={position_id:o.query.id,require_resume_upload:!0,resume_file_types:["pdf","docx","doc"],max_resume_size_mb:10,digital_human_opening_speech:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",require_basic_info:!0,profile_fields_config:{name:{required:z.name.required,visible:z.name.visible},phone:{required:z.phone.required,visible:z.phone.visible},id_card:{required:z.id_card.required,visible:z.id_card.visible},gender:{required:z.gender.required,visible:z.gender.visible},birth_date:{required:!1,visible:!0},political_status:{required:!1,visible:!0},ethnicity:{required:z.ethnicity.required,visible:z.ethnicity.visible},height:{required:z.height.required,visible:z.height.visible},weight:{required:z.weight.required,visible:z.weight.visible},marital_status:{required:z.marital_status.required,visible:z.marital_status.visible}},require_education_info:z.education.visible,education_fields_config:{school_name:{required:z.education.fields.school_name.required,visible:z.education.fields.school_name.visible},major:{required:z.education.fields.major.required,visible:z.education.fields.major.visible},degree:{required:z.education.fields.degree.required,visible:z.education.fields.degree.visible},start_date:{required:z.education.fields.start_time.required,visible:z.education.fields.start_time.visible},end_date:{required:z.education.fields.end_time.required,visible:z.education.fields.end_time.visible}},require_work_experience:z.work_experience.visible,work_experience_fields_config:{company_name:{required:z.work_experience.fields.company_name.required,visible:z.work_experience.fields.company_name.visible},position:{required:z.work_experience.fields.position.required,visible:z.work_experience.fields.position.visible},department:{required:z.work_experience.fields.department.required,visible:z.work_experience.fields.department.visible},start_date:{required:z.work_experience.fields.start_time.required,visible:z.work_experience.fields.start_time.visible},end_date:{required:z.work_experience.fields.end_time.required,visible:z.work_experience.fields.end_time.visible},job_description:{required:!0,visible:!0},achievements:{required:!1,visible:!0},resignation_reason:{required:!1,visible:!0}},require_family_info:z.family_member.visible,family_fields_config:{relation:{required:z.family_member.fields.relation.required,visible:z.family_member.fields.relation.visible},name:{required:z.family_member.fields.name.required,visible:z.family_member.fields.name.visible},workplace:{required:z.family_member.fields.workplace_address.required,visible:z.family_member.fields.workplace_address.visible},position:{required:z.family_member.fields.position.required,visible:z.family_member.fields.position.visible},phone:{required:z.family_member.fields.phone.required,visible:z.family_member.fields.phone.visible}},require_training_info:z.training_fields_config.visible,require_professional_skills:z.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};Re.value==0||(f.id=Re.value),Re.value==0?(await vi(f)).code==2e3?(U.success("配置保存成功"),Ae.value=!1,K.value=!1):U.error("配置保存失败"):(await Dt(f)).code==2e3?(U.success("配置保存成功"),Ae.value=!1,K.value=!1):U.error("配置保存失败")}catch(f){console.error("保存配置失败:",f),U.error("配置保存失败")}},jr=()=>({name:z.name,gender:z.gender,three_period:z.three_period,phone:z.phone,id_card:z.id_card,ethnicity:z.ethnicity,height:z.height,weight:z.weight,current_address:z.current_address,household_location:z.household_location,marital_status:z.marital_status,expected_salary:z.expected_salary}),Lr=()=>({skills:z.require_professional_skills,training:z.training_fields_config}),ro=G(!1),Be=et({faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部结束,感谢您的参与,请等待后续通知。"}),Dn=G(!1),lo=G(!1),so=G(!1),on=G(""),Vn=G(""),Pn=G(""),Qr=()=>{ro.value=!1,Dn.value=!1,lo.value=!1,so.value=!1,Object.assign(Be,{faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我想咨询其间的面试,欢迎来到大面试",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部流程拍摄,面试者同意可为今后资讯调研"})},Gr=()=>{console.log("保存面试设置:",Be),U.success("面试设置已保存"),ro.value=!1},zr=()=>{Mn(o.query.id).then(f=>{ro.value=!0,Re.value=f.data.id,Be.beforeStartText=f.data.digital_human_opening_speech})},$r=()=>{on.value=Be.beforeStartText,Dn.value=!0},Jr=()=>{Dn.value=!1,on.value=""},Wr=async()=>{var f;if(!on.value.trim()){U.warning("开始前提示内容不能为空");return}Be.beforeStartText=on.value.trim();try{let e;if(console.log(Re.value),Re.value==0)e=await vi({position_id:o.query.id,digital_human_opening_speech:on.value.trim()}),e.code===2e3?(Re.value=((f=e.data)==null?void 0:f.id)||e.data,U.success("开始前提示内容已创建"),Dn.value=!1):U.error("开始前提示内容创建失败");else if(e=await Dt({id:Re.value,digital_human_opening_speech:on.value.trim()}),e.code===2e3){U.success("开始前提示内容已更新"),Dn.value=!1;try{const T={config_id:Re.value};await pi(T),console.log("开场白生成成功")}catch(T){console.error("获取开场白失败:",T),U.warning("开场白生成中,请稍后")}}else U.error("开始前提示内容更新失败")}catch(e){console.error("保存开始前提示内容失败:",e),U.error("保存失败,请重试")}},Hr=()=>{Vn.value=Be.afterStartText,lo.value=!0},Yr=()=>{lo.value=!1,Vn.value=""},Xr=()=>{if(!Vn.value.trim()){U.warning("开始后提醒内容不能为空");return}Be.afterStartText=Vn.value.trim(),lo.value=!1,U.success("开始后提醒内容已更新")},Zr=()=>{Pn.value=Be.disclaimerText,so.value=!0},qr=()=>{so.value=!1,Pn.value=""},_r=()=>{if(!Pn.value.trim()){U.warning("免责声明内容不能为空");return}Be.disclaimerText=Pn.value.trim(),so.value=!1,U.success("免责声明内容已更新")},hn=et({openQuestionsCount:5,choiceQuestionsCount:10}),zi=()=>{console.log("题目数量已更新:",hn)},$i=async()=>{try{ut.value=!0;const f=Y.value.map(x=>x.id);if(f.length===0){U.warning("请先选择能力标签");return}const e={position_id:o.query.id,competency_tag_ids:f,open_questions_count:hn.openQuestionsCount,choice_questions_count:hn.choiceQuestionsCount,auto_save:!0,tenant_id:Xt.get("tenant_id")},T=await es(e);if(T&&T.data){const x=await Ur({tenant_id:Xt.get("tenant_id"),page:1,limit:30,position_id:o.query.id});if(console.log(x),x===null){console.log("轮询被取消,停止处理");return}if(x&&x.data&&x.data.dataList){const D=x.data.dataList.map(L=>({id:L.id||Date.now(),title:L.question||L.title,ability:L.ability||"未设置",content:L.content||L.question,target:L.target||"未设置",competency_tags:L.competency_tag_info||[],question_form_name:L.question_form_name,scoring_reference:L.scoring_reference,question_form:L.question_form,is_required_correct:L.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:L.options||[],source:"ai_generated"}));$.value=D,U.success(`已成功生成${D.length}个面试题目`)}else U.warning("AI生成题目中,请稍后再试")}}catch(f){console.error("AI自动组题失败:",f),U.error("AI自动组题失败,请重试")}finally{ut.value=!1}},el=f=>{if(N.competency_tags=[],f.length>0){const e=Math.floor(100/f.length),T=100%f.length;N.competency_tags=f.map((x,D)=>{const L=ge.value.find(ce=>ce.id===x);return{id:x,name:L?L.name:`标签${x}`,weight:e+(D<T?1:0)}})}},tl=f=>{switch(N.type=f,f){case"open":N.suggestedDuration=120;break;case"single":case"multiple":N.suggestedDuration=60;break;case"fill":N.suggestedDuration=30;break;case"self":N.suggestedDuration=180;break;default:N.suggestedDuration=60}},Rn=G(!1),Un=G(!1),uo=G(-1),Ue=et({title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}),nl=(f,e)=>{uo.value=e,f.config?Object.assign(Ue,f.config):(Ue.title=f.name,Ue.description=f.description||"候选人可以向面试官提问关于公司、职位或团队的问题",Ue.duration=5,Ue.maxQuestions=3,Ue.isRequired=f.active,Ue.allowSkip=!1,Ue.guidelines=["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]),Un.value=!0},ol=(f,e)=>{switch(f.type){case"ai_video":Mo(f);break;case"candidate_questions":nl(f,e);break;case"data_collection":Mo(f);break;case"resume_collection":Mo(f);break;default:Mo(f);break}},il=(f,e)=>{(e===null||e<0)&&(e=0),e>100&&(e=100);const T=N.competency_tags;T[f].weight;const x=Math.round(e);if(T[f].weight=x,T.length===1){T[0].weight=100;return}const D=T.filter((ce,W)=>W!==f),L=D.reduce((ce,W)=>ce+W.weight,0);if(L===0){const ce=100-x,W=Math.floor(ce/D.length),pe=ce%D.length;D.forEach((st,Ot)=>{const Ft=T.findIndex(jt=>jt.id===st.id);T[Ft].weight=W+(Ot<pe?1:0)})}else{const ce=100-x;if(ce>0){D.forEach(pe=>{const st=T.findIndex(Ft=>Ft.id===pe.id),Ot=pe.weight/L;T[st].weight=Math.round(ce*Ot)});const W=li();if(W!==100){const pe=100-W,st=D.reduce((Ft,jt)=>jt.weight>Ft.weight?jt:Ft),Ot=T.findIndex(Ft=>Ft.id===st.id);T[Ot].weight+=pe}}else D.forEach(W=>{const pe=T.findIndex(st=>st.id===W.id);T[pe].weight=0})}},li=()=>N.competency_tags.reduce((e,T)=>e+(T.weight||0),0),al=()=>{const f=N.competency_tags;if(f.length===0)return;const e=Math.floor(100/f.length),T=100%f.length;f.forEach((x,D)=>{x.weight=e+(D<T?1:0)})},Ji=ui({get:()=>ne(N.competency_tags),set:f=>{N.competency_tags=f,el(f)}}),rl=async()=>{try{const f=await os({position_id:o.query.id,tenant_id:Xt.get("tenant_id"),is_ai_generated:!0});f&&f.data&&f.data.length>0&&(await is({position_id:o.query.id,question_id:f.data.map(e=>e.id),tenant_id:Xt.get("tenant_id")}),Re.value>0&&await Dt({id:Re.value,enable_ai_questions:!1}),U.success("AI考察问题已删除"))}catch(f){console.error("删除AI考察问题失败:",f),U.error("删除AI考察问题失败")}};Rl(()=>z.question_form_switches.enable_open_questions,f=>{f?r.forEach(e=>{e.type==="ai_interview"&&(e.visible=!0)}):r.forEach(e=>{e.type==="ai_interview"&&(e.visible=!1)})},{immediate:!0}),G(!1),G(!1);const ll=G(!1),No=G(!1),an=G({duration:5,detectionItems:["face","pose"],promptText:"请按照提示完成相应的动作,系统将自动进行检测。"}),sl=()=>{No.value=!1},dl=async()=>{try{await saveProcessConfig({position_id:o.params.id,process_type:"body_detection",config:an.value}),U.success("配置保存成功"),No.value=!1}catch(f){console.error("保存肢体检测配置失败:",f),U.error("配置保存失败")}},Wi=G([]),ul=G(),cl=f=>{console.log(f);const{firstLevel:e,secondLevel:T,currentNode:x}=f;T?Zt({page:1,limit:20,question_tags:T.id.replace("tag_",""),question_form:lt.question_form}).then(D=>{D.data&&(rt.value=D.data.items,ct.page=D.data.page,ct.pageSize=D.data.limit,Wt.value=D.data.total)}):e&&Zt({page:1,limit:20,question_category:e.id.replace("category_",""),question_form:lt.question_form}).then(D=>{D.data&&(rt.value=D.data.items,ct.page=D.data.page,ct.pageSize=D.data.limit,Wt.value=D.data.total)})},fl=f=>{console.log(f)},vl=f=>{console.log(f)},pl=()=>{ia({}).then(f=>{console.log("ret",f),f.data,aa({}).then(e=>{console.log("res",e);const T=e.data.items.filter(x=>!["技术能力","服务意识","职业素质","基本常识","色盲检测","内容铺垫"].includes(x.name));ra({}).then(x=>{console.log("res",x);const D=x.data.items,L=[...T.map(ce=>({id:`category_${ce.id}`,title:ce.name,children:D.filter(W=>W.category_id===ce.id).map(W=>({id:`tag_${W.id}`,title:W.name,chinese_explanation:W.chinese_explanation||""}))}))];Wi.value=L})})})},Hi=G([]),ml={children:"children",label:"title"},gl=async f=>{try{if(f.id.startsWith("category_")){const e=f.id.replace("category_",""),T=await Zt({page:1,limit:1e3,question_category:e,question_form:lt.question_form});if(T&&T.data){rt.value=T.data.items,ct.page=T.data.page,ct.pageSize=T.data.limit,Wt.value=T.data.total;const x=document.querySelector(".el-table__header-wrapper");if(x){const D=x.querySelector(".el-checkbox");D&&D.__vueParentComponent.emit("change",!0)}Nt.value=T.data.items}}else if(f.id.startsWith("tag_")){const e=f.id.replace("tag_",""),T=await Zt({page:1,limit:1e3,question_tags:e,question_form:lt.question_form});if(T&&T.data){rt.value=T.data.items,ct.page=T.data.page,ct.pageSize=T.data.limit,Wt.value=T.data.total;const x=document.querySelector(".el-table__header-wrapper");if(x){const D=x.querySelector(".el-checkbox");D&&D.__vueParentComponent.emit("change",!0)}Nt.value=T.data.items}}}catch(e){console.error("获取题目列表失败:",e),U.error("获取题目列表失败")}},hl=()=>{ia({}).then(f=>{console.log("ret",f),f.data,aa({}).then(e=>{console.log("res",e);const T=e.data.items.filter(x=>!["技术能力","服务意识","职业素质","基本常识","色盲检测","内容铺垫","红线题","健康情况","综合素质题"].includes(x.name));ra({}).then(x=>{console.log("res",x);const D=x.data.items,L=[...T.map(ce=>({id:`category_${ce.id}`,title:ce.name,children:D.filter(W=>W.category_id===ce.id).map(W=>({id:`tag_${W.id}`,title:W.name,chinese_explanation:W.chinese_explanation||""}))}))];Hi.value=L})})})};return(f,e)=>{const T=Oe("page-header"),x=Oe("el-button"),D=Oe("el-icon"),L=Oe("el-input"),ce=Oe("el-cascader"),W=Oe("el-option"),pe=Oe("el-select"),st=Oe("el-input-number"),Ot=Oe("el-tag"),Ft=Oe("el-date-picker"),jt=Oe("el-card"),_e=Oe("el-switch"),Tt=Oe("el-dialog"),Ht=Oe("el-checkbox"),yl=Oe("Refresh"),co=Oe("el-radio"),Yi=Oe("el-upload"),Kn=Oe("el-tooltip"),bl=Oe("Folder"),Sl=Oe("el-tree"),Lt=Oe("el-col"),Yt=Oe("el-row"),El=Oe("el-radio-group"),si=Oe("el-table-column"),xl=Oe("el-table"),Il=Oe("el-pagination"),di=Oe("el-form-item"),Cl=Oe("el-checkbox-group"),Al=Oe("el-form"),Xi=Ul("loading");return B(),X("div",Hs,[l("div",Ys,[v(T,{title:"测试",onBack:zt}),l("div",Xs,[v(x,{type:"primary",onClick:Ct},{default:y(()=>e[92]||(e[92]=[k("保存")])),_:1})])]),l("div",Zs,[v(jt,{class:"detail-card"},{default:y(()=>[e[125]||(e[125]=l("div",{class:"section-title"},[l("div",{class:"section-line"}),l("span",null,"职位详情")],-1)),l("div",qs,[e[95]||(e[95]=l("div",{class:"detail-label"},"职位名称",-1)),Oo.value?(B(),X("div",ed,[v(L,{modelValue:Cn.value,"onUpdate:modelValue":e[0]||(e[0]=p=>Cn.value=p),placeholder:"请输入职位名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"]),l("div",td,[v(x,{size:"small",onClick:Ga},{default:y(()=>e[93]||(e[93]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:za},{default:y(()=>e[94]||(e[94]=[k("保存")])),_:1})])])):(B(),X("div",_s,[k(ie(a.title)+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:Qa},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))]),l("div",nd,[e[98]||(e[98]=l("div",{class:"detail-label"},"工作地点",-1)),To.value?(B(),X("div",id,[v(ce,{modelValue:$t.value,"onUpdate:modelValue":e[1]||(e[1]=p=>$t.value=p),options:be(w),props:{expandTrigger:"hover",checkStrictly:!1,value:"code",label:"name"},style:{width:"100%"},placeholder:"请选择工作地点",clearable:"",onChange:O},null,8,["modelValue","options"]),l("div",ad,[v(x,{size:"small",onClick:Ja},{default:y(()=>e[96]||(e[96]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Wa},{default:y(()=>e[97]||(e[97]=[k("保存")])),_:1})])])):(B(),X("div",od,[k(ie((()=>{if(!a.location)return"暂无";if(Array.isArray(a.location))return a.location.join(",");if(typeof a.location=="string")try{return a.location.replace(/[\[\]']/g,"").split(",").map(oe=>oe.trim()).join(",")}catch{return a.location}return a.location})())+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:$a},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))]),l("div",rd,[e[102]||(e[102]=l("div",{class:"detail-label"},"职位薪资",-1)),Do.value?(B(),X("div",sd,[l("div",dd,[v(pe,{modelValue:Jn.value,"onUpdate:modelValue":e[2]||(e[2]=p=>Jn.value=p),placeholder:"薪资类型",class:"salary-type-select",onChange:oi},{default:y(()=>[v(W,{label:"月薪",value:"月薪"}),v(W,{label:"年薪",value:"年薪"}),v(W,{label:"日薪",value:"日薪"}),v(W,{label:"时薪",value:"时薪"})]),_:1},8,["modelValue"]),v(st,{modelValue:gn.value,"onUpdate:modelValue":e[3]||(e[3]=p=>gn.value=p),placeholder:"起始薪资",class:"salary-input",type:"number","controls-position":"right",min:"0",onInput:oi},null,8,["modelValue"]),e[99]||(e[99]=l("span",{class:"salary-separator"},"-",-1)),v(st,{modelValue:tn.value,"onUpdate:modelValue":e[4]||(e[4]=p=>tn.value=p),placeholder:"最高薪资",class:"salary-input","controls-position":"right",type:"number",min:"0",onInput:oi},null,8,["modelValue"])]),l("div",ud,[v(x,{size:"small",onClick:Ya},{default:y(()=>e[100]||(e[100]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Xa},{default:y(()=>e[101]||(e[101]=[k("保存")])),_:1})])])):(B(),X("div",ld,[k(ie(a.salary_range||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:Ha},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))]),l("div",cd,[e[105]||(e[105]=l("div",{class:"detail-label"},"工作经验",-1)),Vo.value?(B(),X("div",vd,[v(pe,{modelValue:Wn.value,"onUpdate:modelValue":e[5]||(e[5]=p=>Wn.value=p),placeholder:"请选择工作经验",style:{width:"100%"}},{default:y(()=>[v(W,{label:"不限",value:"不限"}),v(W,{label:"应届毕业生",value:"应届毕业生"}),v(W,{label:"1年以下",value:"1年以下"}),v(W,{label:"1-3年",value:"1-3年"}),v(W,{label:"3-5年",value:"3-5年"}),v(W,{label:"5-10年",value:"5-10年"}),v(W,{label:"10年以上",value:"10年以上"})]),_:1},8,["modelValue"]),l("div",pd,[v(x,{size:"small",onClick:qa},{default:y(()=>e[103]||(e[103]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:_a},{default:y(()=>e[104]||(e[104]=[k("保存")])),_:1})])])):(B(),X("div",fd,[k(ie(a.work_experience_required||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:Za},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))]),l("div",md,[e[108]||(e[108]=l("div",{class:"detail-label"},"学历要求",-1)),Po.value?(B(),X("div",hd,[v(pe,{modelValue:Hn.value,"onUpdate:modelValue":e[6]||(e[6]=p=>Hn.value=p),placeholder:"请选择学历要求",style:{width:"100%"}},{default:y(()=>[v(W,{label:"不限",value:"不限"}),v(W,{label:"高中",value:"高中"}),v(W,{label:"大专",value:"大专"}),v(W,{label:"本科",value:"本科"}),v(W,{label:"硕士",value:"硕士"}),v(W,{label:"博士",value:"博士"})]),_:1},8,["modelValue"]),l("div",yd,[v(x,{size:"small",onClick:tr},{default:y(()=>e[106]||(e[106]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:nr},{default:y(()=>e[107]||(e[107]=[k("保存")])),_:1})])])):(B(),X("div",gd,[k(ie(a.education_required||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:er},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))]),l("div",bd,[e[111]||(e[111]=l("div",{class:"detail-label"},"所属部门",-1)),Ro.value?(B(),X("div",Ed,[v(L,{modelValue:Yn.value,"onUpdate:modelValue":e[7]||(e[7]=p=>Yn.value=p),placeholder:"请输入所属部门",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),l("div",xd,[v(x,{size:"small",onClick:ir},{default:y(()=>e[109]||(e[109]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:ar},{default:y(()=>e[110]||(e[110]=[k("保存")])),_:1})])])):(B(),X("div",Sd,[k(ie(a.department||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:or},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))]),l("div",Id,[e[112]||(e[112]=l("div",{class:"detail-label"},"职位状态",-1)),l("div",Cd,[v(Ot,{type:dn(a.status)},{default:y(()=>[k(ie(en(a.status)),1)]),_:1},8,["type"])])]),l("div",Ad,[e[115]||(e[115]=l("div",{class:"detail-label"},"截止日期",-1)),Uo.value?(B(),X("div",Od,[v(Ft,{modelValue:Xn.value,"onUpdate:modelValue":e[8]||(e[8]=p=>Xn.value=p),type:"datetime",placeholder:"请选择截止日期","value-format":"YYYY-MM-DD HH:mm:ss",style:{width:"100%"}},null,8,["modelValue"]),l("div",Td,[v(x,{size:"small",onClick:lr},{default:y(()=>e[113]||(e[113]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:sr},{default:y(()=>e[114]||(e[114]=[k("保存")])),_:1})])])):(B(),X("div",wd,[k(ie(a.end_date||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:rr},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))]),l("div",Dd,[e[118]||(e[118]=l("div",{class:"detail-label"},"职位要求",-1)),Zn.value?Te("",!0):(B(),X("div",{key:0,class:"detail-value html-content",innerHTML:a.requirements},null,8,Vd)),Zn.value?(B(),X("div",Pd,[v(L,{modelValue:qn.value,"onUpdate:modelValue":e[9]||(e[9]=p=>qn.value=p),type:"textarea",rows:"6",placeholder:"请输入职位要求",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),l("div",Rd,[v(x,{size:"small",onClick:ur},{default:y(()=>e[116]||(e[116]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:cr},{default:y(()=>e[117]||(e[117]=[k("保存")])),_:1})])])):(B(),Ce(x,{key:1,type:"text",class:"edit-title-btn",onClick:dr},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1}))]),e[126]||(e[126]=l("div",{style:{width:"100%","border-bottom":"1px solid #e5e5e5"}},null,-1)),l("div",Ud,[e[121]||(e[121]=l("div",{class:"detail-label"},"职位描述",-1)),_n.value?Te("",!0):(B(),X("div",{key:0,class:"detail-value html-content",innerHTML:a.description},null,8,Kd)),_n.value?(B(),X("div",Md,[v(L,{modelValue:eo.value,"onUpdate:modelValue":e[10]||(e[10]=p=>eo.value=p),type:"textarea",rows:"6",placeholder:"请输入职位描述",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),l("div",kd,[v(x,{size:"small",onClick:vr},{default:y(()=>e[119]||(e[119]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:pr},{default:y(()=>e[120]||(e[120]=[k("保存")])),_:1})])])):(B(),Ce(x,{key:1,type:"text",class:"edit-title-btn",onClick:fr},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1}))]),l("div",Bd,[e[124]||(e[124]=l("div",{class:"detail-label"},"能力标签",-1)),Ko.value?(B(),X("div",Fd,[v(pe,{modelValue:wn.value,"onUpdate:modelValue":e[11]||(e[11]=p=>wn.value=p),multiple:"",filterable:"",placeholder:"请选择能力标签",style:{width:"100%"}},{default:y(()=>[(B(!0),X(Je,null,We(ge.value,p=>(B(),Ce(W,{key:p.id,label:p.name,value:p.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),l("div",jd,[v(x,{size:"small",onClick:br},{default:y(()=>e[122]||(e[122]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Sr},{default:y(()=>e[123]||(e[123]=[k("保存")])),_:1})])])):(B(),X("div",Nd,[(B(!0),X(Je,null,We(a.competency_tags,p=>(B(),Ce(Ot,{key:p.id,effect:"plain",class:"competency-tag"},{default:y(()=>[k(ie(p.name),1)]),_:2},1024))),128)),v(x,{type:"text",class:"edit-title-btn",onClick:yr},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))])]),_:1}),l("div",Ld,[v(jt,{class:"status-card"},{default:y(()=>[e[127]||(e[127]=l("div",{class:"section-title"},[l("div",{class:"section-line"}),l("span",null,"职位状态")],-1)),l("div",Qd,[v(_e,{modelValue:n.value,"onUpdate:modelValue":e[12]||(e[12]=p=>n.value=p),"inactive-text":"",onChange:At},null,8,["modelValue"]),l("span",Gd,ie(n.value?"已启用":"待启用"),1)])]),_:1}),v(jt,{class:"status-card"},{default:y(()=>[l("div",zd,[e[129]||(e[129]=l("div",{class:"section-line"},null,-1)),e[130]||(e[130]=l("span",null,"职位性质",-1)),An.value?Te("",!0):(B(),Ce(x,{key:0,type:"text",class:"edit-btn",onClick:mr},{default:y(()=>e[128]||(e[128]=[k("编辑")])),_:1}))]),l("div",$d,[An.value?Te("",!0):(B(),X("div",Jd,ie(un(a.job_type)),1)),An.value?(B(),X("div",Wd,[v(pe,{modelValue:to.value,"onUpdate:modelValue":e[13]||(e[13]=p=>to.value=p),placeholder:"请选择职位性质",style:{width:"100%"}},{default:y(()=>[v(W,{label:"全职",value:0}),v(W,{label:"兼职",value:1}),v(W,{label:"实习",value:2}),v(W,{label:"其他",value:3})]),_:1},8,["modelValue"]),l("div",Hd,[v(x,{size:"small",onClick:gr},{default:y(()=>e[131]||(e[131]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:hr},{default:y(()=>e[132]||(e[132]=[k("保存")])),_:1})])])):Te("",!0)])]),_:1}),v(jt,{class:"status-card"},{default:y(()=>[l("div",Yd,[e[134]||(e[134]=l("div",{class:"section-line"},null,-1)),e[135]||(e[135]=l("span",null,"招聘流程",-1)),v(x,{type:"text",class:"edit-btn",onClick:In},{default:y(()=>e[133]||(e[133]=[k("设置流程")])),_:1})]),l("div",Xd,[(B(!0),X(Je,null,We(r,(p,oe)=>Fo((B(),X("div",{key:p.id,class:St(["process-step",{disabled:!p.active}])},[p.name!="已通过"&&p.name!="已淘汰"?(B(),X("div",Zd,ie(t(oe)),1)):Te("",!0),l("div",qd,[l("div",_d,ie(p.name),1)])],2)),[[Zi,p.visible]])),128))])]),_:1}),v(jt,{class:"status-card"},{default:y(()=>[l("div",eu,[e[137]||(e[137]=l("div",{class:"section-line"},null,-1)),e[138]||(e[138]=l("span",null,"面试设置",-1)),v(x,{type:"text",class:"edit-btn",onClick:zr},{default:y(()=>e[136]||(e[136]=[k("编辑")])),_:1})])]),_:1})])]),v(Tt,{title:"设置招聘流程",modelValue:u.value,"onUpdate:modelValue":e[16]||(e[16]=p=>u.value=p),width:"500px","close-on-click-modal":!1},{footer:y(()=>[l("span",lu,[v(x,{onClick:bt},{default:y(()=>e[142]||(e[142]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:Qn},{default:y(()=>e[143]||(e[143]=[k("确定")])),_:1})])]),default:y(()=>[l("div",tu,[(B(!0),X(Je,null,We(r,(p,oe)=>Fo((B(),X("div",{key:p.id},[oe<r.length-1?(B(),X("div",nu,[v(x,{type:"text",onClick:Ie=>cn(oe,Ie)},{default:y(()=>[v(D,null,{default:y(()=>[v(be(yn))]),_:1})]),_:2},1032,["onClick"])])):Te("",!0),l("div",{class:St(["process-edit-item",{highlight:p.active}])},[p.name!="已通过"&&p.name!="已淘汰"?(B(),X("div",ou,ie(t(oe)),1)):Te("",!0),l("div",iu,[l("div",null,ie(p.name),1)]),p.name!="已通过"&&p.name!="已淘汰"?(B(),X("div",au,[p.name!="简历收集"?(B(),Ce(x,{key:0,type:"info",size:"small",plain:"",onClick:Ie=>ol(p,oe)},{default:y(()=>e[139]||(e[139]=[k(" 修改 ")])),_:2},1032,["onClick"])):Te("",!0),p.name!="资料收集"&&p.name!="AI考察"?(B(),Ce(x,{key:1,type:"danger",size:"small",plain:"",style:{"margin-top":"10px","margin-left":"0px"},onClick:Ie=>Bt(p,oe)},{default:y(()=>e[140]||(e[140]=[k(" 删除 ")])),_:2},1032,["onClick"])):Te("",!0)])):Te("",!0)],2)])),[[Zi,p.visible]])),128)),e[141]||(e[141]=l("div",{class:"add-process-btn"},null,-1))]),K.value?(B(),X("div",{key:0,class:"process-options-menu",style:Ml({top:M.top,left:M.left}),onClick:e[15]||(e[15]=Kl(()=>{},["stop"]))},[l("div",{class:"close-btn",onClick:e[14]||(e[14]=p=>K.value=!1)},[v(D,null,{default:y(()=>[v(be(zl))]),_:1})]),(B(),X(Je,null,We(g,p=>l("div",{key:p.value,class:"process-option-item",onClick:oe=>fn(p.value,p.label)},ie(p.label),9,ru)),64))],4)):Te("",!0)]),_:1},8,["modelValue"]),v(be(ci),{title:"AI考察",modelValue:Z.value,"onUpdate:modelValue":e[35]||(e[35]=p=>Z.value=p),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-video-drawer","destroy-on-close":!1},{footer:y(()=>[l("div",Ac,[V.value>1?(B(),Ce(x,{key:0,size:"small",onClick:pn},{default:y(()=>e[184]||(e[184]=[k("上一步")])),_:1})):Te("",!0),v(x,{onClick:C,size:"small"},{default:y(()=>e[185]||(e[185]=[k("取消")])),_:1}),V.value<3?(B(),Ce(x,{key:1,type:"primary",size:"small",onClick:vn,style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[186]||(e[186]=[k("下一步")])),_:1})):(B(),Ce(x,{key:2,type:"success",onClick:A,size:"small",style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[187]||(e[187]=[k("新增")])),_:1}))])]),default:y(()=>[l("div",su,[l("div",{class:St(["step-item",{active:V.value===1}]),onClick:e[17]||(e[17]=p=>P(1))},[e[144]||(e[144]=l("div",{class:"step-number"},"1",-1)),l("div",{class:St(["step-title",{"active-title":V.value===1}])},"考察能力",2)],2),l("div",{class:St(["step-line",{"active-line":V.value>=2}])},null,2),l("div",{class:St(["step-item",{active:V.value===2}]),onClick:e[18]||(e[18]=p=>P(2))},[e[145]||(e[145]=l("div",{class:"step-number"},"2",-1)),l("div",{class:St(["step-title",{"active-title":V.value===2}])},"面试题目",2)],2),l("div",{class:St(["step-line",{"active-line":V.value>=3}])},null,2),l("div",{class:St(["step-item",{active:V.value===3}]),onClick:e[19]||(e[19]=p=>P(3))},[e[146]||(e[146]=l("div",{class:"step-number"},"3",-1)),l("div",{class:St(["step-title",{"active-title":V.value===3}])},"系统设置",2)],2)]),V.value===1?Fo((B(),X("div",du,[l("div",uu,[e[153]||(e[153]=l("div",{class:"ai-video-options-header"},[l("div",{class:"ai-video-options-header-title"},[l("span",null,"AI根据岗位信息生成的能力,创建完步骤后,会自动将选择的胜任力考核维度加入到该职位的考察能力列表中。")])],-1)),l("div",cu,[l("div",fu,[(B(!0),X(Je,null,We(wt.value.slice(0,10),p=>(B(),Ce(Ht,{key:p.id,modelValue:p.selected,"onUpdate:modelValue":oe=>p.selected=oe,onChange:oe=>Fi(p,oe),class:"custom-checkbox"},{default:y(()=>[l("div",vu,[l("span",null,ie(p.name),1),e[147]||(e[147]=l("img",{src:la,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),l("div",pu,[l("div",mu,[e[149]||(e[149]=l("h3",{style:{color:"#808080"}},"备选考核维度",-1)),l("div",gu,[v(x,{type:"primary",class:"custom-btn",plain:"",size:"small",onClick:I},{default:y(()=>e[148]||(e[148]=[k("重新生成")])),_:1})])]),l("div",hu,[(B(!0),X(Je,null,We(wt.value.slice(10,50),p=>(B(),Ce(Ht,{key:p.id,modelValue:p.selected,"onUpdate:modelValue":oe=>p.selected=oe,onChange:oe=>Fi(p,oe),class:"custom-checkbox"},{default:y(()=>[l("div",yu,[l("span",null,ie(p.name),1)])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),l("div",bu,[e[152]||(e[152]=l("h3",{style:{color:"#808080"}},"自定义维度",-1)),l("div",Su,[l("div",Eu,[l("div",xu,[v(L,{style:{width:"150px"},modelValue:nn.value,"onUpdate:modelValue":e[20]||(e[20]=p=>nn.value=p),placeholder:"请输入维度名称"},null,8,["modelValue"])]),l("div",Iu,[e[150]||(e[150]=l("div",{class:"input-label"},"特征描述:",-1)),v(L,{modelValue:On.value,"onUpdate:modelValue":e[21]||(e[21]=p=>On.value=p),style:{width:"500px"},type:"textarea",placeholder:"请输入特征描述"},null,8,["modelValue"])])]),l("div",Cu,[v(x,{type:"primary",onClick:Ir},{default:y(()=>e[151]||(e[151]=[k("添加")])),_:1})])])])])])),[[Xi,Rn.value]]):Te("",!0),V.value===2?(B(),X("div",Au,[l("div",wu,[l("div",Ou,[l("div",Tu,[v(x,{plain:"",class:"custom-btn",onClick:ot},{default:y(()=>[v(D,null,{default:y(()=>[v(be(yn))]),_:1}),e[154]||(e[154]=k(" 自定义题目 "))]),_:1}),v(x,{plain:"",class:"custom-btn"},{default:y(()=>[v(D,null,{default:y(()=>[v(be(qi))]),_:1}),e[155]||(e[155]=k(" 导入题目 "))]),_:1}),$.value.length>0?(B(),Ce(x,{key:0,type:"primary",plain:"",class:"custom-btn",loading:ut.value,onClick:$i},{default:y(()=>[v(D,null,{default:y(()=>[v(yl)]),_:1}),e[156]||(e[156]=k(" 重新生成 "))]),_:1},8,["loading"])):Te("",!0),l("div",Du,[l("div",Vu,[e[157]||(e[157]=l("span",{class:"switch-label"},"开放题数量",-1)),v(st,{modelValue:hn.openQuestionsCount,"onUpdate:modelValue":e[22]||(e[22]=p=>hn.openQuestionsCount=p),min:1,max:10,size:"small",onChange:zi},null,8,["modelValue"])]),l("div",Pu,[e[158]||(e[158]=l("span",{class:"switch-label"},"选择题数量",-1)),v(st,{modelValue:hn.choiceQuestionsCount,"onUpdate:modelValue":e[23]||(e[23]=p=>hn.choiceQuestionsCount=p),min:1,max:20,size:"small",onChange:zi},null,8,["modelValue"])])])]),l("div",Ru,[e[159]||(e[159]=l("span",null,"预计面试时长: ",-1)),l("span",Uu,ie(ye.value),1),e[160]||(e[160]=l("span",{class:"duration-tip"},"拖动试题卡片可改变试题顺序",-1))])]),l("div",Ku,[Fo((B(),X("div",Mu,[$.value.length===0?(B(),X("div",ku,[e[163]||(e[163]=l("p",null,"暂无题目",-1)),e[164]||(e[164]=l("p",{class:"ai-tip"},'点击"AI自动组题"按钮',-1)),e[165]||(e[165]=l("p",{class:"ai-tip"},"可根据您选择的能力类型一键组题",-1)),v(x,{type:"success",class:"auto-generate-btn",loading:ut.value,onClick:$i},{default:y(()=>e[161]||(e[161]=[k(" AI自动组题 ")])),_:1},8,["loading"]),ut.value&&be(Jt)?(B(),Ce(x,{key:0,type:"warning",plain:"",size:"small",onClick:Kr,style:{"margin-left":"10px"}},{default:y(()=>e[162]||(e[162]=[k(" 取消生成 ")])),_:1})):Te("",!0)])):(B(),X("div",Bu,[v(be(ba),{modelValue:$.value,"onUpdate:modelValue":e[24]||(e[24]=p=>$.value=p),"item-key":"id",handle:".drag-handle",onStart:Or,onEnd:Tr,animation:"200","ghost-class":"sortable-ghost","chosen-class":"sortable-chosen","drag-class":"sortable-drag"},{item:y(({element:p})=>[l("div",Nu,[e[169]||(e[169]=l("div",{class:"drag-handle"},[l("img",{src:ds,alt:"",class:"dorp"})],-1)),l("div",Fu,[l("div",ju,[l("div",Lu,[l("div",Qu,[l("span",Gu,"题目"+ie($.value.indexOf(p)+1),1),l("span",null,[l("span",zu,ie("「"+p.question_form_name+"」"),1),k(ie(p.title),1)])]),l("div",$u,[(B(!0),X(Je,null,We((p.competency_tag_info||p.competency_tags||[]).slice(0,2),(oe,Ie)=>(B(),Ce(Ot,{key:oe.id,effect:"plain",class:"competency-tag",size:"small"},{default:y(()=>[k(ie(m(oe)),1)]),_:2},1024))),128)),(p.competency_tag_info||p.competency_tags||[]).length>2?(B(),X("span",Ju," +"+ie((p.competency_tag_info||p.competency_tags||[]).length-2),1)):Te("",!0)])])]),l("div",Wu,[v(x,{type:"text",onClick:oe=>Ki($.value.indexOf(p))},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:2},1032,["onClick"]),v(x,{type:"text",onClick:oe=>Mi($.value.indexOf(p))},{default:y(()=>[v(D,null,{default:y(()=>[v(be(_i))]),_:1})]),_:2},1032,["onClick"])])]),l("div",Hu,[l("div",Yu,[l("span",null,ie(p.scoring_reference),1)])]),p.question_form==0?(B(),X("div",Xu,[l("div",Zu,[v(_e,{style:{"margin-top":"0px"},modelValue:p.enable_follow_up,"onUpdate:modelValue":oe=>p.enable_follow_up=oe,onChange:q},null,8,["modelValue","onUpdate:modelValue"]),e[166]||(e[166]=l("span",{class:"answer-label"},"回答不充分追问",-1))]),l("div",qu,[e[167]||(e[167]=l("span",{class:"answer-label"},"追问轮数",-1)),v(pe,{modelValue:p.maxAnswers,"onUpdate:modelValue":oe=>p.maxAnswers=oe,size:"small",placeholder:"请选择"},{default:y(()=>[v(W,{label:"1次",value:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])])])):Te("",!0),p.question_form==1?(B(),X("div",_u,[l("div",ec,[e[168]||(e[168]=l("span",{class:"answer-label"},"是否为红线题:",-1)),v(pe,{modelValue:p.is_required_correct,"onUpdate:modelValue":oe=>p.is_required_correct=oe,onChange:oe=>F(p.id,p.is_required_correct),size:"small",placeholder:"请选择"},{default:y(()=>[v(W,{label:"是",value:!0}),v(W,{label:"否",value:!1})]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])])])):Te("",!0)])]),_:1},8,["modelValue"])]))])),[[Xi,ut.value]]),l("div",tc,[e[172]||(e[172]=l("div",{class:"dimension-title"},"已选胜任力考核维度",-1)),l("div",nc,[(B(!0),X(Je,null,We(Y.value,(p,oe)=>(B(),X("div",{key:p.value,class:"dimension-item"},[l("div",oc,[l("div",ic,[l("span",ac,ie(p.label),1),e[170]||(e[170]=l("img",{src:la,alt:"",class:"sheng"},null,-1))])]),l("div",{class:"dimension-content",onClick:Ie=>Pr(oe),title:"点击删除此胜任力标签"},e[171]||(e[171]=[l("div",{class:"ability-description"},ie("—"),-1)]),8,rc)]))),128))])])])])])):Te("",!0),V.value===3?(B(),X("div",lc,[l("div",sc,[l("div",dc,[e[183]||(e[183]=l("div",{class:"section-header"},"请选择面试官形象",-1)),l("div",uc,[l("div",cc,[ai.value?(B(),X("img",{key:0,src:ai.value,alt:"",style:{width:"100%",height:"100%","object-fit":"cover",transform:"translateZ(0)","backface-visibility":"hidden"}},null,8,fc)):Te("",!0)]),l("div",null,[l("div",vc,[(B(!0),X(Je,null,We(ii.value,p=>(B(),X("div",{key:p.id,class:St(["avatar-item",{active:pt.value.id===p.id}]),onClick:oe=>Cr(p)},[l("div",mc,[l("div",{class:St(["avatar-circle",{selected:pt.value.id===p.id}])},[l("img",{src:p.avatar_url||p.image,alt:p.name},null,8,gc)],2),l("div",{class:"avatar-name",title:p.name},ie(p.name),9,hc)])],10,pc))),128))]),l("div",yc,[e[173]||(e[173]=l("div",{class:"setting-label"},"「追问风格」",-1)),l("div",bc,[v(pe,{modelValue:at.followUpStyle,"onUpdate:modelValue":e[25]||(e[25]=p=>at.followUpStyle=p),placeholder:"请选择",onChange:e[26]||(e[26]=p=>no("followUpStyle",at.followUpStyle))},{default:y(()=>[v(W,{label:"温和",value:"1"}),v(W,{label:"严厉",value:"2"}),v(W,{label:"严谨",value:"3"})]),_:1},8,["modelValue"])]),e[174]||(e[174]=l("div",{class:"setting-desc"},null,-1))])])]),l("div",Sc,[l("div",Ec,[e[175]||(e[175]=l("div",{class:"setting-label"},[l("p",null,"「回答视频保留」")],-1)),e[176]||(e[176]=l("div",{class:"setting-desc"},[l("p",null,"选取后,将在报告中展示候选人的回答视频")],-1)),v(_e,{modelValue:at.keepVideo,"onUpdate:modelValue":e[27]||(e[27]=p=>at.keepVideo=p),onChange:e[28]||(e[28]=p=>no("keepVideo",p)),disabled:!0},null,8,["modelValue"])]),l("div",xc,[e[179]||(e[179]=l("div",{class:"setting-label"},[l("p",null,"「中断后作答限制」")],-1)),l("div",Ic,[v(co,{modelValue:at.interruptionMode,"onUpdate:modelValue":e[29]||(e[29]=p=>at.interruptionMode=p),label:"current",onChange:e[30]||(e[30]=p=>no("interruptionMode",at.interruptionMode))},{default:y(()=>e[177]||(e[177]=[k(" 从当前问题重新作答 ")])),_:1},8,["modelValue"]),v(co,{modelValue:at.interruptionMode,"onUpdate:modelValue":e[31]||(e[31]=p=>at.interruptionMode=p),label:"previous",onChange:e[32]||(e[32]=p=>no("interruptionMode",at.interruptionMode))},{default:y(()=>e[178]||(e[178]=[k(" 从头作答 ")])),_:1},8,["modelValue"])]),e[180]||(e[180]=l("div",{class:"setting-desc",style:{width:"40px"}},null,-1))]),l("div",Cc,[e[181]||(e[181]=l("div",{class:"setting-label"},[l("p",null,"「智慧追问」")],-1)),e[182]||(e[182]=l("div",{class:"setting-desc"},[l("p",null,"追问将结合候选人资料情况,综合分析发问")],-1)),v(_e,{modelValue:at.smartFollowUp,"onUpdate:modelValue":e[33]||(e[33]=p=>at.smartFollowUp=p),onChange:e[34]||(e[34]=p=>no("smartFollowUp",p))},null,8,["modelValue"])])])])])])):Te("",!0)]),_:1},8,["modelValue"]),v(Tt,{title:"新增视频宣讲",modelValue:le.value,"onUpdate:modelValue":e[37]||(e[37]=p=>le.value=p),width:"35%","close-on-click-modal":!1,class:"video-lecture-dialog"},{footer:y(()=>[l("span",Vc,[v(x,{onClick:j},{default:y(()=>e[191]||(e[191]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:_},{default:y(()=>e[192]||(e[192]=[k("确认")])),_:1})])]),default:y(()=>[l("div",wc,[l("div",Oc,[e[189]||(e[189]=l("div",{class:"form-label"},"上传视频",-1)),v(Yi,{class:"video-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"video/*"},{default:y(()=>[l("div",Tc,[v(D,null,{default:y(()=>[v(be(yn))]),_:1}),e[188]||(e[188]=l("div",{class:"upload-text"},"上传文件大小不超过500M",-1))])]),_:1})]),l("div",Dc,[e[190]||(e[190]=l("div",{class:"form-label"},"视频简介",-1)),v(L,{modelValue:Q.description,"onUpdate:modelValue":e[36]||(e[36]=p=>Q.description=p),type:"textarea",rows:"4",placeholder:"视频简介会显示在视频下方的标题下方",maxlength:"200","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),v(be(ci),{title:"AI实时对话",modelValue:J.value,"onUpdate:modelValue":e[39]||(e[39]=p=>J.value=p),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-chat-drawer","destroy-on-close":!1},{footer:y(()=>[l("div",Hc,[v(x,{onClick:ve},{default:y(()=>e[203]||(e[203]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:se},{default:y(()=>e[204]||(e[204]=[k("确认")])),_:1})])]),default:y(()=>[l("div",Pc,[l("div",Rc,[e[202]||(e[202]=l("div",{class:"section-title"},[l("div",{class:"section-line"}),l("span",null,"对话设置")],-1)),l("div",Uc,[v(x,{type:"primary",plain:"",onClick:Ee},{default:y(()=>[v(D,null,{default:y(()=>[v(be(yn))]),_:1}),e[193]||(e[193]=k(" 添加问题 "))]),_:1}),v(x,{type:"success",plain:"",onClick:ot},{default:y(()=>[v(D,null,{default:y(()=>[v(be(qi))]),_:1}),e[194]||(e[194]=k(" 导入问题 "))]),_:1})]),l("div",Kc,[$.value.length===0?(B(),X("div",Mc,e[195]||(e[195]=[l("p",null,"暂无问题",-1),l("p",{class:"tip-text"},'点击"添加问题"或"导入问题"添加面试问题',-1)]))):(B(),X("div",kc,[v(be(ba),{modelValue:$.value,"onUpdate:modelValue":e[38]||(e[38]=p=>$.value=p),"item-key":"id",handle:".drag-handle"},{item:y(({element:p,index:oe})=>[k(ie(p)+" ",1),l("div",Bc,[l("div",Nc,[l("div",Fc,[l("span",jc,"题目"+ie(oe+1),1),l("span",null,ie(p.question),1)]),l("div",Lc,[l("div",Qc,[e[197]||(e[197]=l("span",{class:"weight-label"},"权重占比:",-1)),v(st,{modelValue:p.weight,"onUpdate:modelValue":Ie=>p.weight=Ie,min:0,max:100,step:1,size:"small","controls-position":"right"},{suffix:y(()=>e[196]||(e[196]=[k("%")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),l("div",Gc,[e[198]||(e[198]=l("span",{class:"answer-label"},"最多回答次数",-1)),v(pe,{modelValue:p.maxAnswers,"onUpdate:modelValue":Ie=>p.maxAnswers=Ie,size:"small",placeholder:"请选择"},{default:y(()=>[v(W,{label:"1次",value:1}),v(W,{label:"2次",value:2}),v(W,{label:"3次",value:3})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),v(x,{type:"text",onClick:Ie=>Ki(oe)},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:2},1032,["onClick"]),v(x,{type:"text",onClick:Ie=>Mi(oe)},{default:y(()=>[v(D,null,{default:y(()=>[v(be(_i))]),_:1})]),_:2},1032,["onClick"])])]),l("div",zc,[l("div",$c,[e[199]||(e[199]=l("span",{class:"info-label"},"考察能力:",-1)),l("span",null,ie(p.ability),1)]),l("div",Jc,[e[200]||(e[200]=l("span",{class:"info-label"},"面试内容:",-1)),l("span",null,ie(p.content),1)]),l("div",Wc,[e[201]||(e[201]=l("span",{class:"info-label"},"对话目标:",-1)),l("span",null,ie(p.target),1)])])])]),_:1},8,["modelValue"])]))])])])]),_:1},8,["modelValue"]),v(Tt,{title:"查看问题",modelValue:re.value,"onUpdate:modelValue":e[48]||(e[48]=p=>re.value=p),width:"500px","close-on-click-modal":!1,class:"question-dialog"},{footer:y(()=>[l("span",cf,[v(x,{onClick:He},{default:y(()=>e[229]||(e[229]=[k("取消")])),_:1})])]),default:y(()=>[l("div",Yc,[l("div",Xc,[e[205]||(e[205]=l("div",{class:"form-label"},[k(" 题目内容"),l("span",{class:"required"},"*")],-1)),v(L,{modelValue:N.content,"onUpdate:modelValue":e[40]||(e[40]=p=>N.content=p),type:"textarea",rows:"4",placeholder:"请描述一次你如何在紧迫的时间内完成一个复杂的后端开发任务的经历",maxlength:"300","show-word-limit":"",disabled:!0},null,8,["modelValue"])]),l("div",Zc,[e[206]||(e[206]=l("div",{class:"form-label"},"胜任力标签",-1)),v(pe,{modelValue:Ji.value,"onUpdate:modelValue":e[41]||(e[41]=p=>Ji.value=p),placeholder:"请选择胜任力标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(B(!0),X(Je,null,We(ge.value,p=>(B(),Ce(W,{key:p.id,label:p.name,value:p.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[207]||(e[207]=l("div",{class:"form-tip"},"选择胜任力标签和胜任力标签,可多选",-1))]),l("div",qc,[e[213]||(e[213]=l("div",{class:"form-label"}," 胜任力配置 ",-1)),l("div",_c,[e[209]||(e[209]=l("div",{class:"config-row"},[l("span",{class:"config-label"},"标签"),l("span",{class:"config-label"},"权重")],-1)),(B(!0),X(Je,null,We(N.competency_tags,(p,oe)=>(B(),X("div",{class:"config-row",key:p.id},[l("span",ef,ie(p.name),1),v(st,{modelValue:p.weight,"onUpdate:modelValue":Ie=>p.weight=Ie,min:0,max:100,step:1,disabled:!0,"controls-position":"right",onChange:Ie=>il(oe,Ie)},null,8,["modelValue","onUpdate:modelValue","onChange"]),e[208]||(e[208]=k(" % "))]))),128))]),l("div",tf,[e[210]||(e[210]=k(" 配置各个胜任力标签的权重,总和需要100% ")),l("span",{class:St(["weight-sum",{"weight-error":li()!==100}])}," (当前总计: "+ie(li())+"%) ",3),e[211]||(e[211]=l("br",null,null,-1)),v(D,{style:{color:"#409eff","margin-right":"4px","margin-top":"4px"}},{default:y(()=>[v(be($l))]),_:1}),e[212]||(e[212]=l("span",{style:{color:"#909399","font-size":"11px"}},' 修改任意权重时,其他权重会自动按比例调整以保持总和为100%。点击"平均分配"可快速平均分配所有权重。 ',-1))])]),l("div",nf,[e[214]||(e[214]=l("div",{class:"form-label"},"题目形式",-1)),v(pe,{modelValue:N.question_form,"onUpdate:modelValue":e[42]||(e[42]=p=>N.question_form=p),placeholder:"开放问题",class:"full-width",disabled:!0,onChange:tl},{default:y(()=>[v(W,{label:"开放问题",value:0}),v(W,{label:"单选题",value:1}),v(W,{label:"多选题",value:"multiple"}),v(W,{label:"填空题",value:"fill"}),v(W,{label:"自言语",value:"self"})]),_:1},8,["modelValue"]),e[215]||(e[215]=l("div",{class:"form-tip"},"选择题目的形式:开放问题、单选题、多选题、填空题、自言语",-1))]),l("div",of,[e[216]||(e[216]=l("div",{class:"form-label"},"适用职位",-1)),v(pe,{modelValue:s.value,"onUpdate:modelValue":e[43]||(e[43]=p=>s.value=p),placeholder:"请选择适用职位类型",class:"full-width",disabled:!0},{default:y(()=>[(B(!0),X(Je,null,We(De.value,p=>(B(),Ce(W,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[217]||(e[217]=l("div",{class:"form-tip"},"选择题目适用的职位类型,可多选",-1))]),N.question_form===1||N.question_form===2?(B(),X("div",af,[e[219]||(e[219]=l("div",{class:"form-label"},"选项",-1)),l("div",null,[e[218]||(e[218]=l("div",{class:"option-header",style:{display:"flex","margin-bottom":"10px","font-weight":"bold"}},[l("span",{style:{flex:"1"}},"选项内容"),l("span",{style:{width:"80px","text-align":"center"}},"是否正确")],-1)),(B(!0),X(Je,null,We(N.options,(p,oe)=>(B(),X("div",{key:oe,class:"option-item",style:{display:"flex","align-items":"center","margin-bottom":"10px"}},[v(L,{modelValue:p.text,"onUpdate:modelValue":Ie=>p.text=Ie,placeholder:"请输入选项内容",disabled:!0,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","onUpdate:modelValue"]),v(Kn,{content:"设置为正确答案",placement:"top",effect:"light",disabled:!0},{default:y(()=>[l("div",{onClick:()=>{N.question_form===1?N.options.forEach((Ie,wl)=>{Ie.is_correct=wl===oe}):p.is_correct=!p.is_correct},style:{cursor:"pointer",width:"80px","text-align":"center"}},[N.question_form===1?(B(),Ce(co,{key:0,disabled:!0,modelValue:p.is_correct,"onUpdate:modelValue":Ie=>p.is_correct=Ie,label:!0},null,8,["modelValue","onUpdate:modelValue"])):(B(),Ce(Ht,{key:1,disabled:!0,modelValue:p.is_correct,"onUpdate:modelValue":Ie=>p.is_correct=Ie},null,8,["modelValue","onUpdate:modelValue"]))],8,rf)]),_:2},1024)]))),128))]),e[220]||(e[220]=l("div",{class:"form-tip"},"添加选项并设置正确答案,单选题只能有一个正确答案,多选题可以有多个正确答案",-1))])):Te("",!0),l("div",lf,[e[221]||(e[221]=l("div",{class:"form-label"},"分类",-1)),v(pe,{modelValue:N.category,"onUpdate:modelValue":e[44]||(e[44]=p=>N.category=p),placeholder:"请选择题目分类",class:"full-width",disabled:!0},{default:y(()=>[(B(!0),X(Je,null,We(Xe.value,p=>(B(),Ce(W,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[222]||(e[222]=l("div",{class:"form-tip"},"选择题目所属分类",-1))]),l("div",sf,[e[223]||(e[223]=l("div",{class:"form-label"},"标签",-1)),v(pe,{modelValue:N.tags,"onUpdate:modelValue":e[45]||(e[45]=p=>N.tags=p),placeholder:"请选择标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(B(!0),X(Je,null,We(Me.value,p=>(B(),Ce(W,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[224]||(e[224]=l("div",{class:"form-tip"},"选择题目相关标签,可多选",-1))]),l("div",df,[e[225]||(e[225]=l("div",{class:"form-label"},"建议时长(秒)",-1)),v(st,{modelValue:N.suggestedDuration,"onUpdate:modelValue":e[46]||(e[46]=p=>N.suggestedDuration=p),min:0,step:1,"controls-position":"right",placeholder:"请输入建议回答时长",class:"full-width",disabled:!0},null,8,["modelValue"]),e[226]||(e[226]=l("div",{class:"form-tip"},"建议回答题目的时长,单位为秒",-1))]),l("div",uf,[e[227]||(e[227]=l("div",{class:"form-label"},"评价标准",-1)),v(L,{modelValue:N.scoring_reference,"onUpdate:modelValue":e[47]||(e[47]=p=>N.scoring_reference=p),type:"textarea",disabled:!0,rows:"4",placeholder:"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",class:"full-width"},null,8,["modelValue"]),e[228]||(e[228]=l("div",{class:"form-tip"},"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",-1))])])]),_:1},8,["modelValue"]),v(Tt,{title:"选择题目",modelValue:Tn.value,"onUpdate:modelValue":e[49]||(e[49]=p=>Tn.value=p),width:"30%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[l("span",gf,[v(x,{onClick:Qi},{default:y(()=>e[230]||(e[230]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:Nr,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[231]||(e[231]=[k("确定")])),_:1})])]),default:y(()=>[l("div",ff,[v(Sl,{ref:"treeRef",data:Hi.value,"node-key":"id",props:ml,"default-expand-all":"","highlight-current":"",onNodeClick:gl},{default:y(({node:p,data:oe})=>[l("div",vf,[l("div",pf,[v(D,null,{default:y(()=>[v(bl)]),_:1}),l("span",mf,ie(oe.title),1)])])]),_:1},8,["data"])])]),_:1},8,["modelValue"]),v(Tt,{title:"创建自定义题目",modelValue:ao.value,"onUpdate:modelValue":e[51]||(e[51]=p=>ao.value=p),width:"40%","close-on-click-modal":!1,class:"question-bank-form-dialog","before-close":wo},{default:y(()=>[v(Yl,{modelValue:ko.value,"onUpdate:modelValue":e[50]||(e[50]=p=>ko.value=p),"is-edit":Li.value,onSubmit:Gn,onCancel:wo},null,8,["modelValue","is-edit"])]),_:1},8,["modelValue"]),v(Tt,{title:"资料收集",modelValue:Ae.value,"onUpdate:modelValue":e[55]||(e[55]=p=>Ae.value=p),width:"900px","close-on-click-modal":!1,class:"data-collection-dialog"},{footer:y(()=>[l("span",kf,[v(x,{onClick:Ua},{default:y(()=>e[241]||(e[241]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:Fr},{default:y(()=>e[242]||(e[242]=[k("确认")])),_:1})])]),default:y(()=>[l("div",hf,[l("div",yf,[e[240]||(e[240]=l("div",{class:"panel-header"},[l("h3",null,"字段显示配置")],-1)),l("div",bf,[e[235]||(e[235]=l("div",{class:"section-title"},"基本信息",-1)),v(Yt,{gutter:20},{default:y(()=>[(B(!0),X(Je,null,We(jr(),(p,oe)=>(B(),Ce(Lt,{span:8,key:oe},{default:y(()=>[l("div",Sf,[l("span",Ef,ie(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(_e,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,disabled:p.label=="姓名"||p.label=="手机号"||p.label=="身份证号",class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue","disabled"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[236]||(e[236]=l("div",{class:"section-title"},"家庭成员信息",-1)),v(Yt,{gutter:20},{default:y(()=>[v(Lt,{span:24},{default:y(()=>[l("div",xf,[l("span",If,[k(ie(z.family_member.label)+" ",1),z.family_member.visible?(B(),Ce(Ot,{key:0,size:"small",type:"success"},{default:y(()=>e[232]||(e[232]=[k("已启用")])),_:1})):Te("",!0)]),v(_e,{modelValue:z.family_member.visible,"onUpdate:modelValue":e[52]||(e[52]=p=>z.family_member.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),z.family_member.visible?(B(),Ce(Yt,{key:0,gutter:20},{default:y(()=>[(B(!0),X(Je,null,We(z.family_member.fields,(p,oe)=>(B(),Ce(Lt,{span:8,key:oe},{default:y(()=>[l("div",Cf,[l("span",Af,ie(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(_e,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0),e[237]||(e[237]=l("div",{class:"section-title"},"教育经历",-1)),v(Yt,{gutter:20},{default:y(()=>[v(Lt,{span:24},{default:y(()=>[l("div",wf,[l("span",Of,[k(ie(z.education.label)+" ",1),z.education.visible?(B(),Ce(Ot,{key:0,size:"small",type:"success"},{default:y(()=>e[233]||(e[233]=[k("已启用")])),_:1})):Te("",!0)]),v(_e,{modelValue:z.education.visible,"onUpdate:modelValue":e[53]||(e[53]=p=>z.education.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),z.education.visible?(B(),Ce(Yt,{key:1,gutter:20},{default:y(()=>[(B(!0),X(Je,null,We(z.education.fields,(p,oe)=>(B(),Ce(Lt,{span:8,key:oe},{default:y(()=>[l("div",Tf,[l("span",Df,ie(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(_e,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0),e[238]||(e[238]=l("div",{class:"section-title"},"专业技能",-1)),v(Yt,{gutter:20},{default:y(()=>[(B(!0),X(Je,null,We(Lr(),(p,oe)=>(B(),Ce(Lt,{span:8,key:oe},{default:y(()=>[l("div",Vf,[l("span",Pf,ie(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(_e,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[239]||(e[239]=l("div",{class:"section-title"},"工作经历",-1)),v(Yt,{gutter:20},{default:y(()=>[v(Lt,{span:24},{default:y(()=>[l("div",Rf,[l("span",Uf,[k(ie(z.work_experience.label)+" ",1),z.work_experience.visible?(B(),Ce(Ot,{key:0,size:"small",type:"success"},{default:y(()=>e[234]||(e[234]=[k("已启用")])),_:1})):Te("",!0)]),v(_e,{modelValue:z.work_experience.visible,"onUpdate:modelValue":e[54]||(e[54]=p=>z.work_experience.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),z.work_experience.visible?(B(),Ce(Yt,{key:2,gutter:20},{default:y(()=>[(B(!0),X(Je,null,We(z.work_experience.fields,(p,oe)=>(B(),Ce(Lt,{span:8,key:oe},{default:y(()=>[l("div",Kf,[l("span",Mf,ie(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(_e,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0)])])])]),_:1},8,["modelValue"]),v(Tt,{title:"简历收集",modelValue:we.value,"onUpdate:modelValue":e[57]||(e[57]=p=>we.value=p),width:"500px","close-on-click-modal":!1,class:"resume-collection-dialog"},{footer:y(()=>[l("span",Ff,[v(x,{onClick:Rt},{default:y(()=>e[244]||(e[244]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:kt},{default:y(()=>e[245]||(e[245]=[k("确认")])),_:1})])]),default:y(()=>[l("div",Bf,[l("div",Nf,[e[243]||(e[243]=l("div",{class:"form-label"},"步骤名称",-1)),v(L,{modelValue:Ze.title,"onUpdate:modelValue":e[56]||(e[56]=p=>Ze.title=p),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":"",disabled:!0},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),v(Tt,{title:"添加代码笔试步骤",modelValue:zn.value,"onUpdate:modelValue":e[60]||(e[60]=p=>zn.value=p),width:"500px","close-on-click-modal":!1,class:"code-test-dialog"},{footer:y(()=>[l("span",qf,[v(x,{onClick:ki},{default:y(()=>e[254]||(e[254]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:ka},{default:y(()=>e[255]||(e[255]=[k("确认")])),_:1})])]),default:y(()=>[l("div",jf,[l("div",Lf,[e[246]||(e[246]=l("div",{class:"form-label"},"步骤名称",-1)),v(L,{modelValue:it.title,"onUpdate:modelValue":e[58]||(e[58]=p=>it.title=p),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),l("div",Qf,[e[247]||(e[247]=l("div",{class:"form-label"},"自动评判试卷",-1)),v(_e,{modelValue:it.autoJudge,"onUpdate:modelValue":e[59]||(e[59]=p=>it.autoJudge=p)},null,8,["modelValue"]),l("span",Gf,ie(it.autoJudge?"开启":"关闭"),1)]),l("div",zf,[e[253]||(e[253]=l("div",{class:"form-label"},"添加考试试卷",-1)),l("div",$f,[it.selectedPaper?(B(),X("div",Wf,[l("div",Hf,[l("div",Yf,ie(it.selectedPaper.title),1),l("div",Xf,[l("span",null,ie(it.selectedPaper.questionCount)+"道题",1),l("span",null,ie(it.selectedPaper.duration)+"分钟",1),l("span",null,ie(it.selectedPaper.difficulty),1)])]),l("div",Zf,[v(x,{type:"text",onClick:Na},{default:y(()=>e[250]||(e[250]=[k("查看")])),_:1}),v(x,{type:"text",onClick:Fa},{default:y(()=>e[251]||(e[251]=[k("更换")])),_:1}),v(x,{type:"text",onClick:ja},{default:y(()=>e[252]||(e[252]=[k("删除")])),_:1})])])):(B(),X("div",Jf,[v(x,{type:"primary",plain:"",onClick:Ba},{default:y(()=>[v(D,null,{default:y(()=>[v(be(yn))]),_:1}),e[248]||(e[248]=k(" 添加考卷 "))]),_:1}),e[249]||(e[249]=l("p",{class:"tip-text"},"多选时,考生会随机分配到一套试卷",-1))]))])])])]),_:1},8,["modelValue"]),v(be(ci),{title:"添加打字测试步骤",modelValue:$n.value,"onUpdate:modelValue":e[68]||(e[68]=p=>$n.value=p),size:"60%","close-on-click-modal":!1,class:"typing-test-dialog","destroy-on-close":!1},{footer:y(()=>[l("span",fv,[v(x,{onClick:Bi},{default:y(()=>e[272]||(e[272]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:La},{default:y(()=>e[273]||(e[273]=[k("保存")])),_:1})])]),default:y(()=>[l("div",_f,[l("div",ev,[e[257]||(e[257]=l("div",{class:"form-label"},"选择文章",-1)),l("div",tv,[v(x,{type:"primary",size:"small",class:"add-article-btn"},{default:y(()=>[v(D,null,{default:y(()=>[v(be(yn))]),_:1}),e[256]||(e[256]=k(" 添加文章 "))]),_:1})])]),l("div",nv,[e[260]||(e[260]=l("div",{class:"form-label"},"候选人选择文章方式",-1)),v(El,{modelValue:tt.selectionMode,"onUpdate:modelValue":e[61]||(e[61]=p=>tt.selectionMode=p)},{default:y(()=>[v(co,{label:"random"},{default:y(()=>e[258]||(e[258]=[k("随机抽取")])),_:1}),v(co,{label:"self"},{default:y(()=>e[259]||(e[259]=[k("候选人自主选择")])),_:1})]),_:1},8,["modelValue"])]),l("div",ov,[e[262]||(e[262]=l("div",{class:"form-label"},"测试时间",-1)),l("div",iv,[v(L,{modelValue:tt.duration,"onUpdate:modelValue":e[62]||(e[62]=p=>tt.duration=p),class:"time-input"},null,8,["modelValue"]),e[261]||(e[261]=l("span",{class:"time-unit"},"分钟",-1))])]),l("div",av,[e[264]||(e[264]=l("div",{class:"form-label"},"登录界面预览图(建议尺寸1024*768像素,最大不要超过5M)",-1)),v(Yi,{class:"preview-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"image/*"},{default:y(()=>[l("div",rv,[v(D,null,{default:y(()=>[v(be(yn))]),_:1}),e[263]||(e[263]=l("div",{class:"upload-text"},"添加图片",-1))])]),_:1})]),l("div",lv,[e[265]||(e[265]=l("div",{class:"form-label"},"注意事项内容(在登录界面显示)",-1)),v(L,{modelValue:tt.notes,"onUpdate:modelValue":e[63]||(e[63]=p=>tt.notes=p),type:"textarea",rows:"4",placeholder:"请输入注意事项内容",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),l("div",sv,[e[266]||(e[266]=l("div",{class:"form-label"},"测试页面标题",-1)),v(L,{modelValue:tt.pageTitle,"onUpdate:modelValue":e[64]||(e[64]=p=>tt.pageTitle=p),placeholder:"测试页面标题"},null,8,["modelValue"])]),l("div",dv,[e[268]||(e[268]=l("div",{class:"form-label"},"视频监控",-1)),v(Ht,{modelValue:tt.videoMonitoring,"onUpdate:modelValue":e[65]||(e[65]=p=>tt.videoMonitoring=p)},{default:y(()=>e[267]||(e[267]=[k("视频监控")])),_:1},8,["modelValue"])]),l("div",uv,[e[271]||(e[271]=l("div",{class:"form-label"},"通过标准",-1)),l("div",cv,[v(Ht,{modelValue:tt.passCriteria.speed,"onUpdate:modelValue":e[66]||(e[66]=p=>tt.passCriteria.speed=p)},{default:y(()=>e[269]||(e[269]=[k("速度")])),_:1},8,["modelValue"]),v(Ht,{modelValue:tt.passCriteria.accuracy,"onUpdate:modelValue":e[67]||(e[67]=p=>tt.passCriteria.accuracy=p)},{default:y(()=>e[270]||(e[270]=[k("正确率")])),_:1},8,["modelValue"])])])])]),_:1},8,["modelValue"]),v(Tt,{title:"面试设置",modelValue:ro.value,"onUpdate:modelValue":e[78]||(e[78]=p=>ro.value=p),width:"60%","close-on-click-modal":!1,class:"interview-settings-dialog"},{footer:y(()=>[l("span",Qv,[v(x,{onClick:Qr},{default:y(()=>e[293]||(e[293]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:Gr},{default:y(()=>e[294]||(e[294]=[k("完成")])),_:1})])]),default:y(()=>[l("div",vv,[l("div",pv,[e[280]||(e[280]=l("div",{class:"section-header"},[l("span",{class:"section-title"},"防作弊设置")],-1)),l("div",mv,[e[274]||(e[274]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「人脸一致性检测」"),l("p",{class:"setting-desc"},"该强调,非本人操作人脸可视化提醒和警示,默认开启")],-1)),v(_e,{modelValue:Be.faceConsistency,"onUpdate:modelValue":e[69]||(e[69]=p=>Be.faceConsistency=p),disabled:!0},null,8,["modelValue"])]),l("div",gv,[e[275]||(e[275]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 防截屏 / 录屏 」"),l("p",{class:"setting-desc"},"该强调,非本人前来体验截屏录屏以上行为,为防止提醒")],-1)),v(_e,{modelValue:Be.preventScreenshot,"onUpdate:modelValue":e[70]||(e[70]=p=>Be.preventScreenshot=p),disabled:!0},null,8,["modelValue"])]),l("div",hv,[e[277]||(e[277]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 切 屏 预 制 」"),l("p",{class:"setting-desc"},"该强调,非本人前使用切屏处理用页面,为防作弊警示")],-1)),v(_e,{modelValue:Be.screenSwitchAlert,"onUpdate:modelValue":e[71]||(e[71]=p=>Be.screenSwitchAlert=p),disabled:!0},{default:y(()=>e[276]||(e[276]=[l("span",{class:"switch-desc"},"切屏超过 2 次关闭,作答本关面试",-1)])),_:1},8,["modelValue"])]),l("div",yv,[e[278]||(e[278]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 情 绪 识 别」"),l("p",{class:"setting-desc"},"该现已,条件较差以及入侵过程中的作弊,条件等好等")],-1)),v(_e,{modelValue:Be.positionDetection,"onUpdate:modelValue":e[72]||(e[72]=p=>Be.positionDetection=p),disabled:!0},null,8,["modelValue"])]),l("div",bv,[e[279]||(e[279]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 眼 动 检 测 」"),l("p",{class:"setting-desc"},"视实检测候选人的眼动频率进行分析,页面等较等")],-1)),v(_e,{modelValue:Be.eyeMovementDetection,"onUpdate:modelValue":e[73]||(e[73]=p=>Be.eyeMovementDetection=p),disabled:!0},null,8,["modelValue"])])]),l("div",Sv,[e[292]||(e[292]=l("div",{class:"section-header"},[l("span",{class:"section-title"},"其他设置")],-1)),l("div",Ev,[l("div",xv,[e[282]||(e[282]=l("span",{class:"setting-name"},"重复面试",-1)),l("div",Iv,[e[281]||(e[281]=l("p",{class:"setting-desc",style:{}},"选取后,将允许面试者进行重复面试",-1)),v(_e,{modelValue:Be.reviewInterview,"onUpdate:modelValue":e[74]||(e[74]=p=>Be.reviewInterview=p)},null,8,["modelValue"])])])]),l("div",Cv,[l("div",Av,[e[285]||(e[285]=l("span",{class:"setting-name"},"开场词",-1)),Dn.value?(B(),X("div",Tv,[v(L,{modelValue:on.value,"onUpdate:modelValue":e[75]||(e[75]=p=>on.value=p),type:"textarea",rows:"5",maxlength:"150",placeholder:"请输入开始前提示内容","show-word-limit":""},null,8,["modelValue"]),l("div",Dv,[v(x,{size:"small",onClick:Jr},{default:y(()=>e[283]||(e[283]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Wr},{default:y(()=>e[284]||(e[284]=[k("保存")])),_:1})])])):(B(),X("div",wv,[l("p",Ov,ie(Be.beforeStartText),1),v(x,{type:"text",class:"edit-desc-btn",onClick:$r},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))])]),l("div",Vv,[l("div",Pv,[e[288]||(e[288]=l("span",{class:"setting-name"},"开始后提醒",-1)),lo.value?(B(),X("div",Kv,[v(L,{modelValue:Vn.value,"onUpdate:modelValue":e[76]||(e[76]=p=>Vn.value=p),type:"textarea",rows:"2",placeholder:"请输入开始后提醒内容",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),l("div",Mv,[v(x,{size:"small",onClick:Yr},{default:y(()=>e[286]||(e[286]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Xr},{default:y(()=>e[287]||(e[287]=[k("保存")])),_:1})])])):(B(),X("div",Rv,[l("p",Uv,ie(Be.afterStartText),1),v(x,{type:"text",class:"edit-desc-btn",onClick:Hr},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))])]),l("div",kv,[l("div",Bv,[e[291]||(e[291]=l("span",{class:"setting-name"},"结束语",-1)),so.value?(B(),X("div",jv,[v(L,{modelValue:Pn.value,"onUpdate:modelValue":e[77]||(e[77]=p=>Pn.value=p),type:"textarea",rows:"2",placeholder:"请输入免责声明内容",maxlength:"200","show-word-limit":""},null,8,["modelValue"]),l("div",Lv,[v(x,{size:"small",onClick:qr},{default:y(()=>e[289]||(e[289]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:_r},{default:y(()=>e[290]||(e[290]=[k("保存")])),_:1})])])):(B(),X("div",Nv,[l("p",Fv,ie(Be.disclaimerText),1),v(x,{type:"text",class:"edit-desc-btn",onClick:Zr},{default:y(()=>[v(D,null,{default:y(()=>[v(be(mt))]),_:1})]),_:1})]))])])])])]),_:1},8,["modelValue"]),v(Tt,{title:"选择题目",modelValue:h.value,"onUpdate:modelValue":e[83]||(e[83]=p=>h.value=p),width:"70%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[l("span",Yv,[v(x,{onClick:Qi},{default:y(()=>e[295]||(e[295]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:E,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[296]||(e[296]=[k("确定")])),_:1})])]),default:y(()=>[l("div",Gv,[v(Yt,{class:"document-el-row"},{default:y(()=>[v(Lt,{span:3},{default:y(()=>[l("div",zv,[v(ls,{ref_key:"treeListRef",ref:ul,treeData:Wi.value,onTreeClick:cl,onUpdateDocument:fl,onDeleteDocument:vl},null,8,["treeData"])])]),_:1}),v(Lt,{span:21},{default:y(()=>[l("div",$v,[l("div",Jv,[v(L,{modelValue:io.value,"onUpdate:modelValue":e[79]||(e[79]=p=>io.value=p),placeholder:"请输入关键词搜索题目",clearable:"",onClear:Bo,onKeyup:kl(Bo,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:y(()=>[v(x,{onClick:Bo},{default:y(()=>[v(D,null,{default:y(()=>[v(be(Jl))]),_:1})]),_:1})]),_:1},8,["modelValue"]),v(pe,{modelValue:lt.question_form,"onUpdate:modelValue":e[80]||(e[80]=p=>lt.question_form=p),placeholder:"题目类型",clearable:"",onChange:Bo,style:{width:"120px"}},{default:y(()=>[v(W,{label:"开放问题",value:0}),v(W,{label:"单选题",value:1}),v(W,{label:"多选题",value:2}),v(W,{label:"看图选答案",value:3}),v(W,{label:"得分题",value:4}),v(W,{label:"追加型开放问题",value:5}),v(W,{label:"填空题",value:6})]),_:1},8,["modelValue"])])]),l("div",Wv,[v(xl,{data:rt.value,style:{width:"100%"},onSelectionChange:Br},{default:y(()=>[v(si,{type:"selection",width:"55"}),v(si,{prop:"question",label:"题目标题"}),v(si,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),l("div",Hv,[v(Il,{"current-page":lt.page,"onUpdate:currentPage":e[81]||(e[81]=p=>lt.page=p),"page-size":lt.pageSize,"onUpdate:pageSize":e[82]||(e[82]=p=>lt.pageSize=p),total:Wt.value,"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next",onSizeChange:b,onCurrentChange:S},null,8,["current-page","page-size","total"])])])]),_:1})]),_:1})])]),_:1},8,["modelValue"]),v(Tt,{title:uo.value>=0?"编辑候选人提问环节":"配置候选人提问环节",modelValue:Un.value,"onUpdate:modelValue":e[87]||(e[87]=p=>Un.value=p),width:"600px","close-on-click-modal":!1,class:"candidate-questions-dialog"},{footer:y(()=>[l("span",ep,[v(x,{onClick:je},{default:y(()=>e[303]||(e[303]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:xe},{default:y(()=>e[304]||(e[304]=[k("确认")])),_:1})])]),default:y(()=>[l("div",Xv,[l("div",Zv,[e[297]||(e[297]=l("div",{class:"form-label"},[k(" 环节名称"),l("span",{class:"required"},"*")],-1)),v(L,{modelValue:Ue.title,"onUpdate:modelValue":e[84]||(e[84]=p=>Ue.title=p),placeholder:"请输入环节名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),l("div",qv,[e[298]||(e[298]=l("div",{class:"form-label"},[k(" 提问时长"),l("span",{class:"required"},"*")],-1)),v(st,{modelValue:Ue.duration,"onUpdate:modelValue":e[85]||(e[85]=p=>Ue.duration=p),min:1,max:30,step:1,"controls-position":"right",style:{width:"200px"}},null,8,["modelValue"]),e[299]||(e[299]=l("span",{class:"form-unit"},"分钟",-1)),e[300]||(e[300]=l("div",{class:"form-tip"},"候选人可用于提问的总时长",-1))]),l("div",_v,[e[301]||(e[301]=l("div",{class:"form-label"},"环节描述",-1)),v(L,{modelValue:Ue.description,"onUpdate:modelValue":e[86]||(e[86]=p=>Ue.description=p),type:"textarea",rows:"3",placeholder:"请输入环节描述",maxlength:"200"},null,8,["modelValue"]),e[302]||(e[302]=l("div",{class:"form-tip"},"向候选人说明此环节的目的和意义",-1))])])]),_:1},8,["title","modelValue"]),v(Tt,{modelValue:No.value,"onUpdate:modelValue":e[91]||(e[91]=p=>No.value=p),title:"肢体检测配置",width:"600px","close-on-click-modal":!1},{footer:y(()=>[l("span",tp,[v(x,{onClick:sl,size:"small"},{default:y(()=>e[309]||(e[309]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:dl,size:"small"},{default:y(()=>e[310]||(e[310]=[k("确定")])),_:1})])]),default:y(()=>[v(Al,{model:an.value,"label-width":"120px"},{default:y(()=>[v(di,{label:"检测时长"},{default:y(()=>[v(st,{modelValue:an.value.duration,"onUpdate:modelValue":e[88]||(e[88]=p=>an.value.duration=p),min:1,max:30,step:1,"controls-position":"right"},null,8,["modelValue"]),e[305]||(e[305]=k(" 分钟 "))]),_:1}),v(di,{label:"检测项目"},{default:y(()=>[v(Cl,{modelValue:an.value.detectionItems,"onUpdate:modelValue":e[89]||(e[89]=p=>an.value.detectionItems=p)},{default:y(()=>[v(Ht,{label:"face"},{default:y(()=>e[306]||(e[306]=[k("面部表情")])),_:1}),v(Ht,{label:"pose"},{default:y(()=>e[307]||(e[307]=[k("肢体姿态")])),_:1}),v(Ht,{label:"gesture"},{default:y(()=>e[308]||(e[308]=[k("手势动作")])),_:1})]),_:1},8,["modelValue"])]),_:1}),v(di,{label:"提示文本"},{default:y(()=>[v(L,{modelValue:an.value.promptText,"onUpdate:modelValue":e[90]||(e[90]=p=>an.value.promptText=p),type:"textarea",rows:3,placeholder:"请输入提示文本"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])])}}}),pp=ss(np,[["__scopeId","data-v-af2b7b61"]]);export{pp as default};