index.CHJa07a1.js 216 KB

12345678910
  1. import{a as Kl,r as L,aH as Ml,aB as Nl,_ as _e,f as ui,q as Bl,W as Fl,w as ea,aj as Pe,at as jl,c as X,o as K,b as r,S as p,K as y,P as k,Q as se,u as de,M as Te,J as we,R as Ye,a9 as Xe,L as jo,G as Ot,T as ta,Y as Ll,F as Ql,a7 as Gl}from"./vue.D1BjjNmv.js";import{b as zl,c as $l,C as Jl,U as Tt}from"./api.D-vnMZx7.js";import{ab as Wl,g as Hl,ac as Yl,c as Xl,E as P,a1 as ht,$ as bn,ad as Zl,ae as na,C as oa,af as ci,ag as ql,A as _l,S as qt,F as ia}from"./index.DBkxKrhi.js";import{G as Mn,a as es,b as ts,Q as ns,c as _t,A as fi,d as aa,e as ra,U as yt,C as vi,f as pi,g as la,h as os,i as is,B as as,S as rs,j as ls,k as sa,l as ss,m as ds,n as us,o as cs}from"./QuestionBankForm.CZRLdCoI.js";import{g as fs}from"./pcaData.5HEg6BqW.js";import vs from"./BlankAnswerEditor.C84NgMQM.js";import{A as ps}from"./api.Dca_XxcD.js";import ms from"./treeList.BtJbzRzS.js";import{G as da,a as ua,b as ca}from"./api.D0q-9uBh.js";import{_ as gs}from"./_plugin-vue_export-helper.DlAUqK2U.js";import"./QuestionOptionsEditor.e0gHieJV.js";const fa="/assets/sheng.BKW1Im68.png",hs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAImCAQAAAAGHG0zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFyGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNS0wNi0xM1QxNzowMToyMCswODowMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNDE0NGJjZC05NWJlLTMxNGMtODlmZC01MTk0MTdmODc5OWEiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplYzMyM2E1Zi04ZWZiLTgxNGUtYWMzOS05Nzc3ODNiNDUzYjQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIHN0RXZ0OndoZW49IjIwMjUtMDYtMTNUMTc6MDE6MjArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4wIChXaW5kb3dzKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MzQxNDRiY2QtOTViZS0zMTRjLTg5ZmQtNTE5NDE3Zjg3OTlhIiBzdEV2dDp3aGVuPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JOr+gQAABzlJREFUeJzt1rENwzAQBEHTUOHsnEoVKhDwG8xUcNHi1vkBdPynBwA8iRKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHJND3hrn+kFULXX9IIveUpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEp60wvAHjwlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSDlmh7w1j7TC6Bqr+kFX/KUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUtaZXgDw4CkBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHIDp74LS5/6zzUAAAAASUVORK5CYII=";var Oa={exports:{}};/**!
  2. * Sortable 1.14.0
  3. * @author RubaXa <trash@rubaxa.org>
  4. * @author owenm <owen23355@gmail.com>
  5. * @license MIT
  6. */function va(u,o){var i=Object.keys(u);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(u);o&&(d=d.filter(function(n){return Object.getOwnPropertyDescriptor(u,n).enumerable})),i.push.apply(i,d)}return i}function Wt(u){for(var o=1;o<arguments.length;o++){var i=arguments[o]!=null?arguments[o]:{};o%2?va(Object(i),!0).forEach(function(d){ys(u,d,i[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(i)):va(Object(i)).forEach(function(d){Object.defineProperty(u,d,Object.getOwnPropertyDescriptor(i,d))})}return u}function Wo(u){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Wo=function(o){return typeof o}:Wo=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Wo(u)}function ys(u,o,i){return o in u?Object.defineProperty(u,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):u[o]=i,u}function kt(){return kt=Object.assign||function(u){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(u[d]=i[d])}return u},kt.apply(this,arguments)}function bs(u,o){if(u==null)return{};var i={},d=Object.keys(u),n,s;for(s=0;s<d.length;s++)n=d[s],!(o.indexOf(n)>=0)&&(i[n]=u[n]);return i}function Ss(u,o){if(u==null)return{};var i=bs(u,o),d,n;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);for(n=0;n<s.length;n++)d=s[n],!(o.indexOf(d)>=0)&&Object.prototype.propertyIsEnumerable.call(u,d)&&(i[d]=u[d])}return i}function Es(u){return xs(u)||Is(u)||Cs(u)||As()}function xs(u){if(Array.isArray(u))return Ai(u)}function Is(u){if(typeof Symbol<"u"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}function Cs(u,o){if(u){if(typeof u=="string")return Ai(u,o);var i=Object.prototype.toString.call(u).slice(8,-1);if(i==="Object"&&u.constructor&&(i=u.constructor.name),i==="Map"||i==="Set")return Array.from(u);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Ai(u,o)}}function Ai(u,o){(o==null||o>u.length)&&(o=u.length);for(var i=0,d=new Array(o);i<o;i++)d[i]=u[i];return d}function As(){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 ws="1.14.0";function en(u){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(u)}var tn=en(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Co=en(/Edge/i),pa=en(/firefox/i),bo=en(/safari/i)&&!en(/chrome/i)&&!en(/android/i),Ta=en(/iP(ad|od|hone)/i),Os=en(/chrome/i)&&en(/android/i),Da={capture:!1,passive:!1};function Ee(u,o,i){u.addEventListener(o,i,!tn&&Da)}function ye(u,o,i){u.removeEventListener(o,i,!tn&&Da)}function qo(u,o){if(o){if(o[0]===">"&&(o=o.substring(1)),u)try{if(u.matches)return u.matches(o);if(u.msMatchesSelector)return u.msMatchesSelector(o);if(u.webkitMatchesSelector)return u.webkitMatchesSelector(o)}catch{return!1}return!1}}function Ts(u){return u.host&&u!==document&&u.host.nodeType?u.host:u.parentNode}function Nt(u,o,i,d){if(u){i=i||document;do{if(o!=null&&(o[0]===">"?u.parentNode===i&&qo(u,o):qo(u,o))||d&&u===i)return u;if(u===i)break}while(u=Ts(u))}return null}var ma=/\s+/g;function ze(u,o,i){if(u&&o)if(u.classList)u.classList[i?"add":"remove"](o);else{var d=(" "+u.className+" ").replace(ma," ").replace(" "+o+" "," ");u.className=(d+(i?" "+o:"")).replace(ma," ")}}function oe(u,o,i){var d=u&&u.style;if(d){if(i===void 0)return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(u,""):u.currentStyle&&(i=u.currentStyle),o===void 0?i:i[o];!(o in d)&&o.indexOf("webkit")===-1&&(o="-webkit-"+o),d[o]=i+(typeof i=="string"?"":"px")}}function In(u,o){var i="";if(typeof u=="string")i=u;else do{var d=oe(u,"transform");d&&d!=="none"&&(i=d+" "+i)}while(!o&&(u=u.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(i)}function Pa(u,o,i){if(u){var d=u.getElementsByTagName(o),n=0,s=d.length;if(i)for(;n<s;n++)i(d[n],n);return d}return[]}function Jt(){var u=document.scrollingElement;return u||document.documentElement}function je(u,o,i,d,n){if(!(!u.getBoundingClientRect&&u!==window)){var s,t,a,l,c,v,m;if(u!==window&&u.parentNode&&u!==Jt()?(s=u.getBoundingClientRect(),t=s.top,a=s.left,l=s.bottom,c=s.right,v=s.height,m=s.width):(t=0,a=0,l=window.innerHeight,c=window.innerWidth,v=window.innerHeight,m=window.innerWidth),(o||i)&&u!==window&&(n=n||u.parentNode,!tn))do if(n&&n.getBoundingClientRect&&(oe(n,"transform")!=="none"||i&&oe(n,"position")!=="static")){var h=n.getBoundingClientRect();t-=h.top+parseInt(oe(n,"border-top-width")),a-=h.left+parseInt(oe(n,"border-left-width")),l=t+s.height,c=a+s.width;break}while(n=n.parentNode);if(d&&u!==window){var b=In(n||u),S=b&&b.a,E=b&&b.d;b&&(t/=E,a/=S,m/=S,v/=E,l=t+v,c=a+m)}return{top:t,left:a,bottom:l,right:c,width:m,height:v}}}function ga(u,o,i){for(var d=un(u,!0),n=je(u)[o];d;){var s=je(d)[i],t=void 0;if(t=n>=s,!t)return d;if(d===Jt())break;d=un(d,!1)}return!1}function Qn(u,o,i,d){for(var n=0,s=0,t=u.children;s<t.length;){if(t[s].style.display!=="none"&&t[s]!==ve.ghost&&(d||t[s]!==ve.dragged)&&Nt(t[s],i.draggable,u,!1)){if(n===o)return t[s];n++}s++}return null}function Pi(u,o){for(var i=u.lastElementChild;i&&(i===ve.ghost||oe(i,"display")==="none"||o&&!qo(i,o));)i=i.previousElementSibling;return i||null}function We(u,o){var i=0;if(!u||!u.parentNode)return-1;for(;u=u.previousElementSibling;)u.nodeName.toUpperCase()!=="TEMPLATE"&&u!==ve.clone&&(!o||qo(u,o))&&i++;return i}function ha(u){var o=0,i=0,d=Jt();if(u)do{var n=In(u),s=n.a,t=n.d;o+=u.scrollLeft*s,i+=u.scrollTop*t}while(u!==d&&(u=u.parentNode));return[o,i]}function Ds(u,o){for(var i in u)if(u.hasOwnProperty(i)){for(var d in o)if(o.hasOwnProperty(d)&&o[d]===u[i][d])return Number(i)}return-1}function un(u,o){if(!u||!u.getBoundingClientRect)return Jt();var i=u,d=!1;do if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var n=oe(i);if(i.clientWidth<i.scrollWidth&&(n.overflowX=="auto"||n.overflowX=="scroll")||i.clientHeight<i.scrollHeight&&(n.overflowY=="auto"||n.overflowY=="scroll")){if(!i.getBoundingClientRect||i===document.body)return Jt();if(d||o)return i;d=!0}}while(i=i.parentNode);return Jt()}function Ps(u,o){if(u&&o)for(var i in o)o.hasOwnProperty(i)&&(u[i]=o[i]);return u}function mi(u,o){return Math.round(u.top)===Math.round(o.top)&&Math.round(u.left)===Math.round(o.left)&&Math.round(u.height)===Math.round(o.height)&&Math.round(u.width)===Math.round(o.width)}var So;function Va(u,o){return function(){if(!So){var i=arguments,d=this;i.length===1?u.call(d,i[0]):u.apply(d,i),So=setTimeout(function(){So=void 0},o)}}}function Vs(){clearTimeout(So),So=void 0}function Ra(u,o,i){u.scrollLeft+=o,u.scrollTop+=i}function Vi(u){var o=window.Polymer,i=window.jQuery||window.Zepto;return o&&o.dom?o.dom(u).cloneNode(!0):i?i(u).clone(!0)[0]:u.cloneNode(!0)}function ya(u,o){oe(u,"position","absolute"),oe(u,"top",o.top),oe(u,"left",o.left),oe(u,"width",o.width),oe(u,"height",o.height)}function gi(u){oe(u,"position",""),oe(u,"top",""),oe(u,"left",""),oe(u,"width",""),oe(u,"height","")}var pt="Sortable"+new Date().getTime();function Rs(){var u=[],o;return{captureAnimationState:function(){if(u=[],!!this.options.animation){var d=[].slice.call(this.el.children);d.forEach(function(n){if(!(oe(n,"display")==="none"||n===ve.ghost)){u.push({target:n,rect:je(n)});var s=Wt({},u[u.length-1].rect);if(n.thisAnimationDuration){var t=In(n,!0);t&&(s.top-=t.f,s.left-=t.e)}n.fromRect=s}})}},addAnimationState:function(d){u.push(d)},removeAnimationState:function(d){u.splice(Ds(u,{target:d}),1)},animateAll:function(d){var n=this;if(!this.options.animation){clearTimeout(o),typeof d=="function"&&d();return}var s=!1,t=0;u.forEach(function(a){var l=0,c=a.target,v=c.fromRect,m=je(c),h=c.prevFromRect,b=c.prevToRect,S=a.rect,E=In(c,!0);E&&(m.top-=E.f,m.left-=E.e),c.toRect=m,c.thisAnimationDuration&&mi(h,m)&&!mi(v,m)&&(S.top-m.top)/(S.left-m.left)===(v.top-m.top)/(v.left-m.left)&&(l=ks(S,h,b,n.options)),mi(m,v)||(c.prevFromRect=v,c.prevToRect=m,l||(l=n.options.animation),n.animate(c,S,m,l)),l&&(s=!0,t=Math.max(t,l),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},l),c.thisAnimationDuration=l)}),clearTimeout(o),s?o=setTimeout(function(){typeof d=="function"&&d()},t):typeof d=="function"&&d(),u=[]},animate:function(d,n,s,t){if(t){oe(d,"transition",""),oe(d,"transform","");var a=In(this.el),l=a&&a.a,c=a&&a.d,v=(n.left-s.left)/(l||1),m=(n.top-s.top)/(c||1);d.animatingX=!!v,d.animatingY=!!m,oe(d,"transform","translate3d("+v+"px,"+m+"px,0)"),this.forRepaintDummy=Us(d),oe(d,"transition","transform "+t+"ms"+(this.options.easing?" "+this.options.easing:"")),oe(d,"transform","translate3d(0,0,0)"),typeof d.animated=="number"&&clearTimeout(d.animated),d.animated=setTimeout(function(){oe(d,"transition",""),oe(d,"transform",""),d.animated=!1,d.animatingX=!1,d.animatingY=!1},t)}}}}function Us(u){return u.offsetWidth}function ks(u,o,i,d){return Math.sqrt(Math.pow(o.top-u.top,2)+Math.pow(o.left-u.left,2))/Math.sqrt(Math.pow(o.top-i.top,2)+Math.pow(o.left-i.left,2))*d.animation}var Nn=[],hi={initializeByDefault:!0},Ao={mount:function(o){for(var i in hi)hi.hasOwnProperty(i)&&!(i in o)&&(o[i]=hi[i]);Nn.forEach(function(d){if(d.pluginName===o.pluginName)throw"Sortable: Cannot mount plugin ".concat(o.pluginName," more than once")}),Nn.push(o)},pluginEvent:function(o,i,d){var n=this;this.eventCanceled=!1,d.cancel=function(){n.eventCanceled=!0};var s=o+"Global";Nn.forEach(function(t){i[t.pluginName]&&(i[t.pluginName][s]&&i[t.pluginName][s](Wt({sortable:i},d)),i.options[t.pluginName]&&i[t.pluginName][o]&&i[t.pluginName][o](Wt({sortable:i},d)))})},initializePlugins:function(o,i,d,n){Nn.forEach(function(a){var l=a.pluginName;if(!(!o.options[l]&&!a.initializeByDefault)){var c=new a(o,i,o.options);c.sortable=o,c.options=o.options,o[l]=c,kt(d,c.defaults)}});for(var s in o.options)if(o.options.hasOwnProperty(s)){var t=this.modifyOption(o,s,o.options[s]);typeof t<"u"&&(o.options[s]=t)}},getEventProperties:function(o,i){var d={};return Nn.forEach(function(n){typeof n.eventProperties=="function"&&kt(d,n.eventProperties.call(i[n.pluginName],o))}),d},modifyOption:function(o,i,d){var n;return Nn.forEach(function(s){o[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[i]=="function"&&(n=s.optionListeners[i].call(o[s.pluginName],d))}),n}};function mo(u){var o=u.sortable,i=u.rootEl,d=u.name,n=u.targetEl,s=u.cloneEl,t=u.toEl,a=u.fromEl,l=u.oldIndex,c=u.newIndex,v=u.oldDraggableIndex,m=u.newDraggableIndex,h=u.originalEvent,b=u.putSortable,S=u.extraEventProperties;if(o=o||i&&i[pt],!!o){var E,I=o.options,w="on"+d.charAt(0).toUpperCase()+d.substr(1);window.CustomEvent&&!tn&&!Co?E=new CustomEvent(d,{bubbles:!0,cancelable:!0}):(E=document.createEvent("Event"),E.initEvent(d,!0,!0)),E.to=t||i,E.from=a||i,E.item=n||i,E.clone=s,E.oldIndex=l,E.newIndex=c,E.oldDraggableIndex=v,E.newDraggableIndex=m,E.originalEvent=h,E.pullMode=b?b.lastPutMode:void 0;var T=Wt(Wt({},S),Ao.getEventProperties(d,o));for(var N in T)E[N]=T[N];i&&i.dispatchEvent(E),I[w]&&I[w].call(o,E)}}var Ks=["evt"],Et=function(o,i){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=d.evt,s=Ss(d,Ks);Ao.pluginEvent.bind(ve)(o,i,Wt({dragEl:W,parentEl:$e,ghostEl:he,rootEl:Fe,nextEl:xn,lastDownEl:Ho,cloneEl:Je,cloneHidden:dn,dragStarted:go,putSortable:ut,activeSortable:ve.active,originalEvent:n,oldIndex:Ln,oldDraggableIndex:Eo,newIndex:Pt,newDraggableIndex:sn,hideGhostForTarget:Ma,unhideGhostForTarget:Na,cloneNowHidden:function(){dn=!0},cloneNowShown:function(){dn=!1},dispatchSortableEvent:function(a){bt({sortable:i,name:a,originalEvent:n})}},s))};function bt(u){mo(Wt({putSortable:ut,cloneEl:Je,targetEl:W,rootEl:Fe,oldIndex:Ln,oldDraggableIndex:Eo,newIndex:Pt,newDraggableIndex:sn},u))}var W,$e,he,Fe,xn,Ho,Je,dn,Ln,Pt,Eo,sn,Lo,ut,jn=!1,_o=!1,ei=[],Sn,Kt,yi,bi,ba,Sa,go,Bn,xo,Io=!1,Qo=!1,Yo,vt,Si=[],wi=!1,ti=[],oi=typeof document<"u",Go=Ta,Ea=Co||tn?"cssFloat":"float",Ms=oi&&!Os&&!Ta&&"draggable"in document.createElement("div"),Ua=function(){if(oi){if(tn)return!1;var u=document.createElement("x");return u.style.cssText="pointer-events:auto",u.style.pointerEvents==="auto"}}(),ka=function(o,i){var d=oe(o),n=parseInt(d.width)-parseInt(d.paddingLeft)-parseInt(d.paddingRight)-parseInt(d.borderLeftWidth)-parseInt(d.borderRightWidth),s=Qn(o,0,i),t=Qn(o,1,i),a=s&&oe(s),l=t&&oe(t),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+je(s).width,v=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+je(t).width;if(d.display==="flex")return d.flexDirection==="column"||d.flexDirection==="column-reverse"?"vertical":"horizontal";if(d.display==="grid")return d.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&a.float&&a.float!=="none"){var m=a.float==="left"?"left":"right";return t&&(l.clear==="both"||l.clear===m)?"vertical":"horizontal"}return s&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||c>=n&&d[Ea]==="none"||t&&d[Ea]==="none"&&c+v>n)?"vertical":"horizontal"},Ns=function(o,i,d){var n=d?o.left:o.top,s=d?o.right:o.bottom,t=d?o.width:o.height,a=d?i.left:i.top,l=d?i.right:i.bottom,c=d?i.width:i.height;return n===a||s===l||n+t/2===a+c/2},Bs=function(o,i){var d;return ei.some(function(n){var s=n[pt].options.emptyInsertThreshold;if(!(!s||Pi(n))){var t=je(n),a=o>=t.left-s&&o<=t.right+s,l=i>=t.top-s&&i<=t.bottom+s;if(a&&l)return d=n}}),d},Ka=function(o){function i(s,t){return function(a,l,c,v){var m=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(s==null&&(t||m))return!0;if(s==null||s===!1)return!1;if(t&&s==="clone")return s;if(typeof s=="function")return i(s(a,l,c,v),t)(a,l,c,v);var h=(t?a:l).options.group.name;return s===!0||typeof s=="string"&&s===h||s.join&&s.indexOf(h)>-1}}var d={},n=o.group;(!n||Wo(n)!="object")&&(n={name:n}),d.name=n.name,d.checkPull=i(n.pull,!0),d.checkPut=i(n.put),d.revertClone=n.revertClone,o.group=d},Ma=function(){!Ua&&he&&oe(he,"display","none")},Na=function(){!Ua&&he&&oe(he,"display","")};oi&&document.addEventListener("click",function(u){if(_o)return u.preventDefault(),u.stopPropagation&&u.stopPropagation(),u.stopImmediatePropagation&&u.stopImmediatePropagation(),_o=!1,!1},!0);var En=function(o){if(W){o=o.touches?o.touches[0]:o;var i=Bs(o.clientX,o.clientY);if(i){var d={};for(var n in o)o.hasOwnProperty(n)&&(d[n]=o[n]);d.target=d.rootEl=i,d.preventDefault=void 0,d.stopPropagation=void 0,i[pt]._onDragOver(d)}}},Fs=function(o){W&&W.parentNode[pt]._isOutsideThisEl(o.target)};function ve(u,o){if(!(u&&u.nodeType&&u.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(u));this.el=u,this.options=o=kt({},o),u[pt]=this;var i={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(u.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return ka(u,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,a){t.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:ve.supportPointer!==!1&&"PointerEvent"in window&&!bo,emptyInsertThreshold:5};Ao.initializePlugins(this,u,i);for(var d in i)!(d in o)&&(o[d]=i[d]);Ka(o);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=o.forceFallback?!1:Ms,this.nativeDraggable&&(this.options.touchStartThreshold=1),o.supportPointer?Ee(u,"pointerdown",this._onTapStart):(Ee(u,"mousedown",this._onTapStart),Ee(u,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ee(u,"dragover",this),Ee(u,"dragenter",this)),ei.push(this.el),o.store&&o.store.get&&this.sort(o.store.get(this)||[]),kt(this,Rs())}ve.prototype={constructor:ve,_isOutsideThisEl:function(o){!this.el.contains(o)&&o!==this.el&&(Bn=null)},_getDirection:function(o,i){return typeof this.options.direction=="function"?this.options.direction.call(this,o,i,W):this.options.direction},_onTapStart:function(o){if(o.cancelable){var i=this,d=this.el,n=this.options,s=n.preventOnFilter,t=o.type,a=o.touches&&o.touches[0]||o.pointerType&&o.pointerType==="touch"&&o,l=(a||o).target,c=o.target.shadowRoot&&(o.path&&o.path[0]||o.composedPath&&o.composedPath()[0])||l,v=n.filter;if(Ws(d),!W&&!(/mousedown|pointerdown/.test(t)&&o.button!==0||n.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&bo&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Nt(l,n.draggable,d,!1),!(l&&l.animated)&&Ho!==l)){if(Ln=We(l),Eo=We(l,n.draggable),typeof v=="function"){if(v.call(this,o,l,this)){bt({sortable:i,rootEl:c,name:"filter",targetEl:l,toEl:d,fromEl:d}),Et("filter",i,{evt:o}),s&&o.cancelable&&o.preventDefault();return}}else if(v&&(v=v.split(",").some(function(m){if(m=Nt(c,m.trim(),d,!1),m)return bt({sortable:i,rootEl:m,name:"filter",targetEl:l,fromEl:d,toEl:d}),Et("filter",i,{evt:o}),!0}),v)){s&&o.cancelable&&o.preventDefault();return}n.handle&&!Nt(c,n.handle,d,!1)||this._prepareDragStart(o,a,l)}}},_prepareDragStart:function(o,i,d){var n=this,s=n.el,t=n.options,a=s.ownerDocument,l;if(d&&!W&&d.parentNode===s){var c=je(d);if(Fe=s,W=d,$e=W.parentNode,xn=W.nextSibling,Ho=d,Lo=t.group,ve.dragged=W,Sn={target:W,clientX:(i||o).clientX,clientY:(i||o).clientY},ba=Sn.clientX-c.left,Sa=Sn.clientY-c.top,this._lastX=(i||o).clientX,this._lastY=(i||o).clientY,W.style["will-change"]="all",l=function(){if(Et("delayEnded",n,{evt:o}),ve.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!pa&&n.nativeDraggable&&(W.draggable=!0),n._triggerDragStart(o,i),bt({sortable:n,name:"choose",originalEvent:o}),ze(W,t.chosenClass,!0)},t.ignore.split(",").forEach(function(v){Pa(W,v.trim(),Ei)}),Ee(a,"dragover",En),Ee(a,"mousemove",En),Ee(a,"touchmove",En),Ee(a,"mouseup",n._onDrop),Ee(a,"touchend",n._onDrop),Ee(a,"touchcancel",n._onDrop),pa&&this.nativeDraggable&&(this.options.touchStartThreshold=4,W.draggable=!0),Et("delayStart",this,{evt:o}),t.delay&&(!t.delayOnTouchOnly||i)&&(!this.nativeDraggable||!(Co||tn))){if(ve.eventCanceled){this._onDrop();return}Ee(a,"mouseup",n._disableDelayedDrag),Ee(a,"touchend",n._disableDelayedDrag),Ee(a,"touchcancel",n._disableDelayedDrag),Ee(a,"mousemove",n._delayedDragTouchMoveHandler),Ee(a,"touchmove",n._delayedDragTouchMoveHandler),t.supportPointer&&Ee(a,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(l,t.delay)}else l()}},_delayedDragTouchMoveHandler:function(o){var i=o.touches?o.touches[0]:o;Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){W&&Ei(W),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var o=this.el.ownerDocument;ye(o,"mouseup",this._disableDelayedDrag),ye(o,"touchend",this._disableDelayedDrag),ye(o,"touchcancel",this._disableDelayedDrag),ye(o,"mousemove",this._delayedDragTouchMoveHandler),ye(o,"touchmove",this._delayedDragTouchMoveHandler),ye(o,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(o,i){i=i||o.pointerType=="touch"&&o,!this.nativeDraggable||i?this.options.supportPointer?Ee(document,"pointermove",this._onTouchMove):i?Ee(document,"touchmove",this._onTouchMove):Ee(document,"mousemove",this._onTouchMove):(Ee(W,"dragend",this),Ee(Fe,"dragstart",this._onDragStart));try{document.selection?Xo(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(o,i){if(jn=!1,Fe&&W){Et("dragStarted",this,{evt:i}),this.nativeDraggable&&Ee(document,"dragover",Fs);var d=this.options;!o&&ze(W,d.dragClass,!1),ze(W,d.ghostClass,!0),ve.active=this,o&&this._appendGhost(),bt({sortable:this,name:"start",originalEvent:i})}else this._nulling()},_emulateDragOver:function(){if(Kt){this._lastX=Kt.clientX,this._lastY=Kt.clientY,Ma();for(var o=document.elementFromPoint(Kt.clientX,Kt.clientY),i=o;o&&o.shadowRoot&&(o=o.shadowRoot.elementFromPoint(Kt.clientX,Kt.clientY),o!==i);)i=o;if(W.parentNode[pt]._isOutsideThisEl(o),i)do{if(i[pt]){var d=void 0;if(d=i[pt]._onDragOver({clientX:Kt.clientX,clientY:Kt.clientY,target:o,rootEl:i}),d&&!this.options.dragoverBubble)break}o=i}while(i=i.parentNode);Na()}},_onTouchMove:function(o){if(Sn){var i=this.options,d=i.fallbackTolerance,n=i.fallbackOffset,s=o.touches?o.touches[0]:o,t=he&&In(he,!0),a=he&&t&&t.a,l=he&&t&&t.d,c=Go&&vt&&ha(vt),v=(s.clientX-Sn.clientX+n.x)/(a||1)+(c?c[0]-Si[0]:0)/(a||1),m=(s.clientY-Sn.clientY+n.y)/(l||1)+(c?c[1]-Si[1]:0)/(l||1);if(!ve.active&&!jn){if(d&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<d)return;this._onDragStart(o,!0)}if(he){t?(t.e+=v-(yi||0),t.f+=m-(bi||0)):t={a:1,b:0,c:0,d:1,e:v,f:m};var h="matrix(".concat(t.a,",").concat(t.b,",").concat(t.c,",").concat(t.d,",").concat(t.e,",").concat(t.f,")");oe(he,"webkitTransform",h),oe(he,"mozTransform",h),oe(he,"msTransform",h),oe(he,"transform",h),yi=v,bi=m,Kt=s}o.cancelable&&o.preventDefault()}},_appendGhost:function(){if(!he){var o=this.options.fallbackOnBody?document.body:Fe,i=je(W,!0,Go,!0,o),d=this.options;if(Go){for(vt=o;oe(vt,"position")==="static"&&oe(vt,"transform")==="none"&&vt!==document;)vt=vt.parentNode;vt!==document.body&&vt!==document.documentElement?(vt===document&&(vt=Jt()),i.top+=vt.scrollTop,i.left+=vt.scrollLeft):vt=Jt(),Si=ha(vt)}he=W.cloneNode(!0),ze(he,d.ghostClass,!1),ze(he,d.fallbackClass,!0),ze(he,d.dragClass,!0),oe(he,"transition",""),oe(he,"transform",""),oe(he,"box-sizing","border-box"),oe(he,"margin",0),oe(he,"top",i.top),oe(he,"left",i.left),oe(he,"width",i.width),oe(he,"height",i.height),oe(he,"opacity","0.8"),oe(he,"position",Go?"absolute":"fixed"),oe(he,"zIndex","100000"),oe(he,"pointerEvents","none"),ve.ghost=he,o.appendChild(he),oe(he,"transform-origin",ba/parseInt(he.style.width)*100+"% "+Sa/parseInt(he.style.height)*100+"%")}},_onDragStart:function(o,i){var d=this,n=o.dataTransfer,s=d.options;if(Et("dragStart",this,{evt:o}),ve.eventCanceled){this._onDrop();return}Et("setupClone",this),ve.eventCanceled||(Je=Vi(W),Je.draggable=!1,Je.style["will-change"]="",this._hideClone(),ze(Je,this.options.chosenClass,!1),ve.clone=Je),d.cloneId=Xo(function(){Et("clone",d),!ve.eventCanceled&&(d.options.removeCloneOnHide||Fe.insertBefore(Je,W),d._hideClone(),bt({sortable:d,name:"clone"}))}),!i&&ze(W,s.dragClass,!0),i?(_o=!0,d._loopId=setInterval(d._emulateDragOver,50)):(ye(document,"mouseup",d._onDrop),ye(document,"touchend",d._onDrop),ye(document,"touchcancel",d._onDrop),n&&(n.effectAllowed="move",s.setData&&s.setData.call(d,n,W)),Ee(document,"drop",d),oe(W,"transform","translateZ(0)")),jn=!0,d._dragStartId=Xo(d._dragStarted.bind(d,i,o)),Ee(document,"selectstart",d),go=!0,bo&&oe(document.body,"user-select","none")},_onDragOver:function(o){var i=this.el,d=o.target,n,s,t,a=this.options,l=a.group,c=ve.active,v=Lo===l,m=a.sort,h=ut||c,b,S=this,E=!1;if(wi)return;function I(be,Oe){Et(be,S,Wt({evt:o,isOwner:v,axis:b?"vertical":"horizontal",revert:t,dragRect:n,targetRect:s,canSort:m,fromSortable:h,target:d,completed:T,onMove:function(Ve,q){return zo(Fe,i,W,n,Ve,je(Ve),o,q)},changed:N},Oe))}function w(){I("dragOverAnimationCapture"),S.captureAnimationState(),S!==h&&h.captureAnimationState()}function T(be){return I("dragOverCompleted",{insertion:be}),be&&(v?c._hideClone():c._showClone(S),S!==h&&(ze(W,ut?ut.options.ghostClass:c.options.ghostClass,!1),ze(W,a.ghostClass,!0)),ut!==S&&S!==ve.active?ut=S:S===ve.active&&ut&&(ut=null),h===S&&(S._ignoreWhileAnimating=d),S.animateAll(function(){I("dragOverAnimationComplete"),S._ignoreWhileAnimating=null}),S!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(d===W&&!W.animated||d===i&&!d.animated)&&(Bn=null),!a.dragoverBubble&&!o.rootEl&&d!==document&&(W.parentNode[pt]._isOutsideThisEl(o.target),!be&&En(o)),!a.dragoverBubble&&o.stopPropagation&&o.stopPropagation(),E=!0}function N(){Pt=We(W),sn=We(W,a.draggable),bt({sortable:S,name:"change",toEl:i,newIndex:Pt,newDraggableIndex:sn,originalEvent:o})}if(o.preventDefault!==void 0&&o.cancelable&&o.preventDefault(),d=Nt(d,a.draggable,i,!0),I("dragOver"),ve.eventCanceled)return E;if(W.contains(o.target)||d.animated&&d.animatingX&&d.animatingY||S._ignoreWhileAnimating===d)return T(!1);if(_o=!1,c&&!a.disabled&&(v?m||(t=$e!==Fe):ut===this||(this.lastPutMode=Lo.checkPull(this,c,W,o))&&l.checkPut(this,c,W,o))){if(b=this._getDirection(o,d)==="vertical",n=je(W),I("dragOverValid"),ve.eventCanceled)return E;if(t)return $e=Fe,w(),this._hideClone(),I("revert"),ve.eventCanceled||(xn?Fe.insertBefore(W,xn):Fe.appendChild(W)),T(!0);var R=Pi(i,a.draggable);if(!R||Gs(o,b,this)&&!R.animated){if(R===W)return T(!1);if(R&&i===o.target&&(d=R),d&&(s=je(d)),zo(Fe,i,W,n,d,s,o,!!d)!==!1)return w(),i.appendChild(W),$e=i,N(),T(!0)}else if(R&&Qs(o,b,this)){var F=Qn(i,0,a,!0);if(F===W)return T(!1);if(d=F,s=je(d),zo(Fe,i,W,n,d,s,o,!1)!==!1)return w(),i.insertBefore(W,F),$e=i,N(),T(!0)}else if(d.parentNode===i){s=je(d);var U=0,_,te=W.parentNode!==i,M=!Ns(W.animated&&W.toRect||n,d.animated&&d.toRect||s,b),J=b?"top":"left",z=ga(d,"top","top")||ga(W,"top","top"),fe=z?z.scrollTop:void 0;Bn!==d&&(_=s[J],Io=!1,Qo=!M&&a.invertSwap||te),U=zs(o,d,s,b,M?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Qo,Bn===d);var Q;if(U!==0){var Y=We(W);do Y-=U,Q=$e.children[Y];while(Q&&(oe(Q,"display")==="none"||Q===he))}if(U===0||Q===d)return T(!1);Bn=d,xo=U;var Z=d.nextElementSibling,H=!1;H=U===1;var ae=zo(Fe,i,W,n,d,s,o,H);if(ae!==!1)return(ae===1||ae===-1)&&(H=ae===1),wi=!0,setTimeout(Ls,30),w(),H&&!Z?i.appendChild(W):d.parentNode.insertBefore(W,H?Z:d),z&&Ra(z,0,fe-z.scrollTop),$e=W.parentNode,_!==void 0&&!Qo&&(Yo=Math.abs(_-je(d)[J])),N(),T(!0)}if(i.contains(W))return T(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){ye(document,"mousemove",this._onTouchMove),ye(document,"touchmove",this._onTouchMove),ye(document,"pointermove",this._onTouchMove),ye(document,"dragover",En),ye(document,"mousemove",En),ye(document,"touchmove",En)},_offUpEvents:function(){var o=this.el.ownerDocument;ye(o,"mouseup",this._onDrop),ye(o,"touchend",this._onDrop),ye(o,"pointerup",this._onDrop),ye(o,"touchcancel",this._onDrop),ye(document,"selectstart",this)},_onDrop:function(o){var i=this.el,d=this.options;if(Pt=We(W),sn=We(W,d.draggable),Et("drop",this,{evt:o}),$e=W&&W.parentNode,Pt=We(W),sn=We(W,d.draggable),ve.eventCanceled){this._nulling();return}jn=!1,Qo=!1,Io=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Oi(this.cloneId),Oi(this._dragStartId),this.nativeDraggable&&(ye(document,"drop",this),ye(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),bo&&oe(document.body,"user-select",""),oe(W,"transform",""),o&&(go&&(o.cancelable&&o.preventDefault(),!d.dropBubble&&o.stopPropagation()),he&&he.parentNode&&he.parentNode.removeChild(he),(Fe===$e||ut&&ut.lastPutMode!=="clone")&&Je&&Je.parentNode&&Je.parentNode.removeChild(Je),W&&(this.nativeDraggable&&ye(W,"dragend",this),Ei(W),W.style["will-change"]="",go&&!jn&&ze(W,ut?ut.options.ghostClass:this.options.ghostClass,!1),ze(W,this.options.chosenClass,!1),bt({sortable:this,name:"unchoose",toEl:$e,newIndex:null,newDraggableIndex:null,originalEvent:o}),Fe!==$e?(Pt>=0&&(bt({rootEl:$e,name:"add",toEl:$e,fromEl:Fe,originalEvent:o}),bt({sortable:this,name:"remove",toEl:$e,originalEvent:o}),bt({rootEl:$e,name:"sort",toEl:$e,fromEl:Fe,originalEvent:o}),bt({sortable:this,name:"sort",toEl:$e,originalEvent:o})),ut&&ut.save()):Pt!==Ln&&Pt>=0&&(bt({sortable:this,name:"update",toEl:$e,originalEvent:o}),bt({sortable:this,name:"sort",toEl:$e,originalEvent:o})),ve.active&&((Pt==null||Pt===-1)&&(Pt=Ln,sn=Eo),bt({sortable:this,name:"end",toEl:$e,originalEvent:o}),this.save()))),this._nulling()},_nulling:function(){Et("nulling",this),Fe=W=$e=he=xn=Je=Ho=dn=Sn=Kt=go=Pt=sn=Ln=Eo=Bn=xo=ut=Lo=ve.dragged=ve.ghost=ve.clone=ve.active=null,ti.forEach(function(o){o.checked=!0}),ti.length=yi=bi=0},handleEvent:function(o){switch(o.type){case"drop":case"dragend":this._onDrop(o);break;case"dragenter":case"dragover":W&&(this._onDragOver(o),js(o));break;case"selectstart":o.preventDefault();break}},toArray:function(){for(var o=[],i,d=this.el.children,n=0,s=d.length,t=this.options;n<s;n++)i=d[n],Nt(i,t.draggable,this.el,!1)&&o.push(i.getAttribute(t.dataIdAttr)||Js(i));return o},sort:function(o,i){var d={},n=this.el;this.toArray().forEach(function(s,t){var a=n.children[t];Nt(a,this.options.draggable,n,!1)&&(d[s]=a)},this),i&&this.captureAnimationState(),o.forEach(function(s){d[s]&&(n.removeChild(d[s]),n.appendChild(d[s]))}),i&&this.animateAll()},save:function(){var o=this.options.store;o&&o.set&&o.set(this)},closest:function(o,i){return Nt(o,i||this.options.draggable,this.el,!1)},option:function(o,i){var d=this.options;if(i===void 0)return d[o];var n=Ao.modifyOption(this,o,i);typeof n<"u"?d[o]=n:d[o]=i,o==="group"&&Ka(d)},destroy:function(){Et("destroy",this);var o=this.el;o[pt]=null,ye(o,"mousedown",this._onTapStart),ye(o,"touchstart",this._onTapStart),ye(o,"pointerdown",this._onTapStart),this.nativeDraggable&&(ye(o,"dragover",this),ye(o,"dragenter",this)),Array.prototype.forEach.call(o.querySelectorAll("[draggable]"),function(i){i.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),ei.splice(ei.indexOf(this.el),1),this.el=o=null},_hideClone:function(){if(!dn){if(Et("hideClone",this),ve.eventCanceled)return;oe(Je,"display","none"),this.options.removeCloneOnHide&&Je.parentNode&&Je.parentNode.removeChild(Je),dn=!0}},_showClone:function(o){if(o.lastPutMode!=="clone"){this._hideClone();return}if(dn){if(Et("showClone",this),ve.eventCanceled)return;W.parentNode==Fe&&!this.options.group.revertClone?Fe.insertBefore(Je,W):xn?Fe.insertBefore(Je,xn):Fe.appendChild(Je),this.options.group.revertClone&&this.animate(W,Je),oe(Je,"display",""),dn=!1}}};function js(u){u.dataTransfer&&(u.dataTransfer.dropEffect="move"),u.cancelable&&u.preventDefault()}function zo(u,o,i,d,n,s,t,a){var l,c=u[pt],v=c.options.onMove,m;return window.CustomEvent&&!tn&&!Co?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=o,l.from=u,l.dragged=i,l.draggedRect=d,l.related=n||o,l.relatedRect=s||je(o),l.willInsertAfter=a,l.originalEvent=t,u.dispatchEvent(l),v&&(m=v.call(c,l,t)),m}function Ei(u){u.draggable=!1}function Ls(){wi=!1}function Qs(u,o,i){var d=je(Qn(i.el,0,i.options,!0)),n=10;return o?u.clientX<d.left-n||u.clientY<d.top&&u.clientX<d.right:u.clientY<d.top-n||u.clientY<d.bottom&&u.clientX<d.left}function Gs(u,o,i){var d=je(Pi(i.el,i.options.draggable)),n=10;return o?u.clientX>d.right+n||u.clientX<=d.right&&u.clientY>d.bottom&&u.clientX>=d.left:u.clientX>d.right&&u.clientY>d.top||u.clientX<=d.right&&u.clientY>d.bottom+n}function zs(u,o,i,d,n,s,t,a){var l=d?u.clientY:u.clientX,c=d?i.height:i.width,v=d?i.top:i.left,m=d?i.bottom:i.right,h=!1;if(!t){if(a&&Yo<c*n){if(!Io&&(xo===1?l>v+c*s/2:l<m-c*s/2)&&(Io=!0),Io)h=!0;else if(xo===1?l<v+Yo:l>m-Yo)return-xo}else if(l>v+c*(1-n)/2&&l<m-c*(1-n)/2)return $s(o)}return h=h||t,h&&(l<v+c*s/2||l>m-c*s/2)?l>v+c/2?1:-1:0}function $s(u){return We(W)<We(u)?1:-1}function Js(u){for(var o=u.tagName+u.className+u.src+u.href+u.textContent,i=o.length,d=0;i--;)d+=o.charCodeAt(i);return d.toString(36)}function Ws(u){ti.length=0;for(var o=u.getElementsByTagName("input"),i=o.length;i--;){var d=o[i];d.checked&&ti.push(d)}}function Xo(u){return setTimeout(u,0)}function Oi(u){return clearTimeout(u)}oi&&Ee(document,"touchmove",function(u){(ve.active||jn)&&u.cancelable&&u.preventDefault()});ve.utils={on:Ee,off:ye,css:oe,find:Pa,is:function(o,i){return!!Nt(o,i,o,!1)},extend:Ps,throttle:Va,closest:Nt,toggleClass:ze,clone:Vi,index:We,nextTick:Xo,cancelNextTick:Oi,detectDirection:ka,getChild:Qn};ve.get=function(u){return u[pt]};ve.mount=function(){for(var u=arguments.length,o=new Array(u),i=0;i<u;i++)o[i]=arguments[i];o[0].constructor===Array&&(o=o[0]),o.forEach(function(d){if(!d.prototype||!d.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(d));d.utils&&(ve.utils=Wt(Wt({},ve.utils),d.utils)),Ao.mount(d)})};ve.create=function(u,o){return new ve(u,o)};ve.version=ws;var Ze=[],ho,Ti,Di=!1,xi,Ii,ni,yo;function Hs(){function u(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this))}return u.prototype={dragStarted:function(i){var d=i.originalEvent;this.sortable.nativeDraggable?Ee(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ee(document,"pointermove",this._handleFallbackAutoScroll):d.touches?Ee(document,"touchmove",this._handleFallbackAutoScroll):Ee(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(i){var d=i.originalEvent;!this.options.dragOverBubble&&!d.rootEl&&this._handleAutoScroll(d)},drop:function(){this.sortable.nativeDraggable?ye(document,"dragover",this._handleAutoScroll):(ye(document,"pointermove",this._handleFallbackAutoScroll),ye(document,"touchmove",this._handleFallbackAutoScroll),ye(document,"mousemove",this._handleFallbackAutoScroll)),xa(),Zo(),Vs()},nulling:function(){ni=Ti=ho=Di=yo=xi=Ii=null,Ze.length=0},_handleFallbackAutoScroll:function(i){this._handleAutoScroll(i,!0)},_handleAutoScroll:function(i,d){var n=this,s=(i.touches?i.touches[0]:i).clientX,t=(i.touches?i.touches[0]:i).clientY,a=document.elementFromPoint(s,t);if(ni=i,d||this.options.forceAutoScrollFallback||Co||tn||bo){Ci(i,this.options,a,d);var l=un(a,!0);Di&&(!yo||s!==xi||t!==Ii)&&(yo&&xa(),yo=setInterval(function(){var c=un(document.elementFromPoint(s,t),!0);c!==l&&(l=c,Zo()),Ci(i,n.options,c,d)},10),xi=s,Ii=t)}else{if(!this.options.bubbleScroll||un(a,!0)===Jt()){Zo();return}Ci(i,this.options,un(a,!1),!1)}}},kt(u,{pluginName:"scroll",initializeByDefault:!0})}function Zo(){Ze.forEach(function(u){clearInterval(u.pid)}),Ze=[]}function xa(){clearInterval(yo)}var Ci=Va(function(u,o,i,d){if(o.scroll){var n=(u.touches?u.touches[0]:u).clientX,s=(u.touches?u.touches[0]:u).clientY,t=o.scrollSensitivity,a=o.scrollSpeed,l=Jt(),c=!1,v;Ti!==i&&(Ti=i,Zo(),ho=o.scroll,v=o.scrollFn,ho===!0&&(ho=un(i,!0)));var m=0,h=ho;do{var b=h,S=je(b),E=S.top,I=S.bottom,w=S.left,T=S.right,N=S.width,R=S.height,F=void 0,U=void 0,_=b.scrollWidth,te=b.scrollHeight,M=oe(b),J=b.scrollLeft,z=b.scrollTop;b===l?(F=N<_&&(M.overflowX==="auto"||M.overflowX==="scroll"||M.overflowX==="visible"),U=R<te&&(M.overflowY==="auto"||M.overflowY==="scroll"||M.overflowY==="visible")):(F=N<_&&(M.overflowX==="auto"||M.overflowX==="scroll"),U=R<te&&(M.overflowY==="auto"||M.overflowY==="scroll"));var fe=F&&(Math.abs(T-n)<=t&&J+N<_)-(Math.abs(w-n)<=t&&!!J),Q=U&&(Math.abs(I-s)<=t&&z+R<te)-(Math.abs(E-s)<=t&&!!z);if(!Ze[m])for(var Y=0;Y<=m;Y++)Ze[Y]||(Ze[Y]={});(Ze[m].vx!=fe||Ze[m].vy!=Q||Ze[m].el!==b)&&(Ze[m].el=b,Ze[m].vx=fe,Ze[m].vy=Q,clearInterval(Ze[m].pid),(fe!=0||Q!=0)&&(c=!0,Ze[m].pid=setInterval((function(){d&&this.layer===0&&ve.active._onTouchMove(ni);var Z=Ze[this.layer].vy?Ze[this.layer].vy*a:0,H=Ze[this.layer].vx?Ze[this.layer].vx*a:0;typeof v=="function"&&v.call(ve.dragged.parentNode[pt],H,Z,u,ni,Ze[this.layer].el)!=="continue"||Ra(Ze[this.layer].el,H,Z)}).bind({layer:m}),24))),m++}while(o.bubbleScroll&&h!==l&&(h=un(h,!1)));Di=c}},30),Ba=function(o){var i=o.originalEvent,d=o.putSortable,n=o.dragEl,s=o.activeSortable,t=o.dispatchSortableEvent,a=o.hideGhostForTarget,l=o.unhideGhostForTarget;if(i){var c=d||s;a();var v=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,m=document.elementFromPoint(v.clientX,v.clientY);l(),c&&!c.el.contains(m)&&(t("spill"),this.onSpill({dragEl:n,putSortable:d}))}};function Ri(){}Ri.prototype={startIndex:null,dragStart:function(o){var i=o.oldDraggableIndex;this.startIndex=i},onSpill:function(o){var i=o.dragEl,d=o.putSortable;this.sortable.captureAnimationState(),d&&d.captureAnimationState();var n=Qn(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(i,n):this.sortable.el.appendChild(i),this.sortable.animateAll(),d&&d.animateAll()},drop:Ba};kt(Ri,{pluginName:"revertOnSpill"});function Ui(){}Ui.prototype={onSpill:function(o){var i=o.dragEl,d=o.putSortable,n=d||this.sortable;n.captureAnimationState(),i.parentNode&&i.parentNode.removeChild(i),n.animateAll()},drop:Ba};kt(Ui,{pluginName:"removeOnSpill"});var Ut;function Ys(){function u(){this.defaults={swapClass:"sortable-swap-highlight"}}return u.prototype={dragStart:function(i){var d=i.dragEl;Ut=d},dragOverValid:function(i){var d=i.completed,n=i.target,s=i.onMove,t=i.activeSortable,a=i.changed,l=i.cancel;if(t.options.swap){var c=this.sortable.el,v=this.options;if(n&&n!==c){var m=Ut;s(n)!==!1?(ze(n,v.swapClass,!0),Ut=n):Ut=null,m&&m!==Ut&&ze(m,v.swapClass,!1)}a(),d(!0),l()}},drop:function(i){var d=i.activeSortable,n=i.putSortable,s=i.dragEl,t=n||this.sortable,a=this.options;Ut&&ze(Ut,a.swapClass,!1),Ut&&(a.swap||n&&n.options.swap)&&s!==Ut&&(t.captureAnimationState(),t!==d&&d.captureAnimationState(),Xs(s,Ut),t.animateAll(),t!==d&&d.animateAll())},nulling:function(){Ut=null}},kt(u,{pluginName:"swap",eventProperties:function(){return{swapItem:Ut}}})}function Xs(u,o){var i=u.parentNode,d=o.parentNode,n,s;!i||!d||i.isEqualNode(o)||d.isEqualNode(u)||(n=We(u),s=We(o),i.isEqualNode(d)&&n<s&&s++,i.insertBefore(o,i.children[n]),d.insertBefore(u,d.children[s]))}var me=[],Dt=[],fo,Mt,vo=!1,xt=!1,Fn=!1,ke,po,$o;function Zs(){function u(o){for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));o.options.supportPointer?Ee(document,"pointerup",this._deselectMultiDrag):(Ee(document,"mouseup",this._deselectMultiDrag),Ee(document,"touchend",this._deselectMultiDrag)),Ee(document,"keydown",this._checkKeyDown),Ee(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(n,s){var t="";me.length&&Mt===o?me.forEach(function(a,l){t+=(l?", ":"")+a.textContent}):t=s.textContent,n.setData("Text",t)}}}return u.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(i){var d=i.dragEl;ke=d},delayEnded:function(){this.isMultiDrag=~me.indexOf(ke)},setupClone:function(i){var d=i.sortable,n=i.cancel;if(this.isMultiDrag){for(var s=0;s<me.length;s++)Dt.push(Vi(me[s])),Dt[s].sortableIndex=me[s].sortableIndex,Dt[s].draggable=!1,Dt[s].style["will-change"]="",ze(Dt[s],this.options.selectedClass,!1),me[s]===ke&&ze(Dt[s],this.options.chosenClass,!1);d._hideClone(),n()}},clone:function(i){var d=i.sortable,n=i.rootEl,s=i.dispatchSortableEvent,t=i.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||me.length&&Mt===d&&(Ia(!0,n),s("clone"),t()))},showClone:function(i){var d=i.cloneNowShown,n=i.rootEl,s=i.cancel;this.isMultiDrag&&(Ia(!1,n),Dt.forEach(function(t){oe(t,"display","")}),d(),$o=!1,s())},hideClone:function(i){var d=this;i.sortable;var n=i.cloneNowHidden,s=i.cancel;this.isMultiDrag&&(Dt.forEach(function(t){oe(t,"display","none"),d.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)}),n(),$o=!0,s())},dragStartGlobal:function(i){i.sortable,!this.isMultiDrag&&Mt&&Mt.multiDrag._deselectMultiDrag(),me.forEach(function(d){d.sortableIndex=We(d)}),me=me.sort(function(d,n){return d.sortableIndex-n.sortableIndex}),Fn=!0},dragStarted:function(i){var d=this,n=i.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){me.forEach(function(t){t!==ke&&oe(t,"position","absolute")});var s=je(ke,!1,!0,!0);me.forEach(function(t){t!==ke&&ya(t,s)}),xt=!0,vo=!0}n.animateAll(function(){xt=!1,vo=!1,d.options.animation&&me.forEach(function(t){gi(t)}),d.options.sort&&Jo()})}},dragOver:function(i){var d=i.target,n=i.completed,s=i.cancel;xt&&~me.indexOf(d)&&(n(!1),s())},revert:function(i){var d=i.fromSortable,n=i.rootEl,s=i.sortable,t=i.dragRect;me.length>1&&(me.forEach(function(a){s.addAnimationState({target:a,rect:xt?je(a):t}),gi(a),a.fromRect=t,d.removeAnimationState(a)}),xt=!1,qs(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(i){var d=i.sortable,n=i.isOwner,s=i.insertion,t=i.activeSortable,a=i.parentEl,l=i.putSortable,c=this.options;if(s){if(n&&t._hideClone(),vo=!1,c.animation&&me.length>1&&(xt||!n&&!t.options.sort&&!l)){var v=je(ke,!1,!0,!0);me.forEach(function(h){h!==ke&&(ya(h,v),a.appendChild(h))}),xt=!0}if(!n)if(xt||Jo(),me.length>1){var m=$o;t._showClone(d),t.options.animation&&!$o&&m&&Dt.forEach(function(h){t.addAnimationState({target:h,rect:po}),h.fromRect=po,h.thisAnimationDuration=null})}else t._showClone(d)}},dragOverAnimationCapture:function(i){var d=i.dragRect,n=i.isOwner,s=i.activeSortable;if(me.forEach(function(a){a.thisAnimationDuration=null}),s.options.animation&&!n&&s.multiDrag.isMultiDrag){po=kt({},d);var t=In(ke,!0);po.top-=t.f,po.left-=t.e}},dragOverAnimationComplete:function(){xt&&(xt=!1,Jo())},drop:function(i){var d=i.originalEvent,n=i.rootEl,s=i.parentEl,t=i.sortable,a=i.dispatchSortableEvent,l=i.oldIndex,c=i.putSortable,v=c||this.sortable;if(d){var m=this.options,h=s.children;if(!Fn)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),ze(ke,m.selectedClass,!~me.indexOf(ke)),~me.indexOf(ke))me.splice(me.indexOf(ke),1),fo=null,mo({sortable:t,rootEl:n,name:"deselect",targetEl:ke});else{if(me.push(ke),mo({sortable:t,rootEl:n,name:"select",targetEl:ke}),d.shiftKey&&fo&&t.el.contains(fo)){var b=We(fo),S=We(ke);if(~b&&~S&&b!==S){var E,I;for(S>b?(I=b,E=S):(I=S,E=b+1);I<E;I++)~me.indexOf(h[I])||(ze(h[I],m.selectedClass,!0),me.push(h[I]),mo({sortable:t,rootEl:n,name:"select",targetEl:h[I]}))}}else fo=ke;Mt=v}if(Fn&&this.isMultiDrag){if(xt=!1,(s[pt].options.sort||s!==n)&&me.length>1){var w=je(ke),T=We(ke,":not(."+this.options.selectedClass+")");if(!vo&&m.animation&&(ke.thisAnimationDuration=null),v.captureAnimationState(),!vo&&(m.animation&&(ke.fromRect=w,me.forEach(function(R){if(R.thisAnimationDuration=null,R!==ke){var F=xt?je(R):w;R.fromRect=F,v.addAnimationState({target:R,rect:F})}})),Jo(),me.forEach(function(R){h[T]?s.insertBefore(R,h[T]):s.appendChild(R),T++}),l===We(ke))){var N=!1;me.forEach(function(R){if(R.sortableIndex!==We(R)){N=!0;return}}),N&&a("update")}me.forEach(function(R){gi(R)}),v.animateAll()}Mt=v}(n===s||c&&c.lastPutMode!=="clone")&&Dt.forEach(function(R){R.parentNode&&R.parentNode.removeChild(R)})}},nullingGlobal:function(){this.isMultiDrag=Fn=!1,Dt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),ye(document,"pointerup",this._deselectMultiDrag),ye(document,"mouseup",this._deselectMultiDrag),ye(document,"touchend",this._deselectMultiDrag),ye(document,"keydown",this._checkKeyDown),ye(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(i){if(!(typeof Fn<"u"&&Fn)&&Mt===this.sortable&&!(i&&Nt(i.target,this.options.draggable,this.sortable.el,!1))&&!(i&&i.button!==0))for(;me.length;){var d=me[0];ze(d,this.options.selectedClass,!1),me.shift(),mo({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:d})}},_checkKeyDown:function(i){i.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(i){i.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},kt(u,{pluginName:"multiDrag",utils:{select:function(i){var d=i.parentNode[pt];!d||!d.options.multiDrag||~me.indexOf(i)||(Mt&&Mt!==d&&(Mt.multiDrag._deselectMultiDrag(),Mt=d),ze(i,d.options.selectedClass,!0),me.push(i))},deselect:function(i){var d=i.parentNode[pt],n=me.indexOf(i);!d||!d.options.multiDrag||!~n||(ze(i,d.options.selectedClass,!1),me.splice(n,1))}},eventProperties:function(){var i=this,d=[],n=[];return me.forEach(function(s){d.push({multiDragElement:s,index:s.sortableIndex});var t;xt&&s!==ke?t=-1:xt?t=We(s,":not(."+i.options.selectedClass+")"):t=We(s),n.push({multiDragElement:s,index:t})}),{items:Es(me),clones:[].concat(Dt),oldIndicies:d,newIndicies:n}},optionListeners:{multiDragKey:function(i){return i=i.toLowerCase(),i==="ctrl"?i="Control":i.length>1&&(i=i.charAt(0).toUpperCase()+i.substr(1)),i}}})}function qs(u,o){me.forEach(function(i,d){var n=o.children[i.sortableIndex+(u?Number(d):0)];n?o.insertBefore(i,n):o.appendChild(i)})}function Ia(u,o){Dt.forEach(function(i,d){var n=o.children[i.sortableIndex+(u?Number(d):0)];n?o.insertBefore(i,n):o.appendChild(i)})}function Jo(){me.forEach(function(u){u!==ke&&u.parentNode&&u.parentNode.removeChild(u)})}ve.mount(new Hs);ve.mount(Ui,Ri);const _s=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Zs,Sortable:ve,Swap:Ys,default:ve},Symbol.toStringTag,{value:"Module"})),ed=Wl(_s);(function(u,o){(function(d,n){u.exports=n(Yl,ed)})(typeof self<"u"?self:Xl,function(i,d){return function(n){var s={};function t(a){if(s[a])return s[a].exports;var l=s[a]={i:a,l:!1,exports:{}};return n[a].call(l.exports,l,l.exports,t),l.l=!0,l.exports}return t.m=n,t.c=s,t.d=function(a,l,c){t.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:c})},t.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},t.t=function(a,l){if(l&1&&(a=t(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(t.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var v in a)t.d(c,v,(function(m){return a[m]}).bind(null,v));return c},t.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(l,"a",l),l},t.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},t.p="",t(t.s="fb15")}({"00ee":function(n,s,t){var a=t("b622"),l=a("toStringTag"),c={};c[l]="z",n.exports=String(c)==="[object z]"},"0366":function(n,s,t){var a=t("1c0b");n.exports=function(l,c,v){if(a(l),c===void 0)return l;switch(v){case 0:return function(){return l.call(c)};case 1:return function(m){return l.call(c,m)};case 2:return function(m,h){return l.call(c,m,h)};case 3:return function(m,h,b){return l.call(c,m,h,b)}}return function(){return l.apply(c,arguments)}}},"057f":function(n,s,t){var a=t("fc6a"),l=t("241c").f,c={}.toString,v=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(h){try{return l(h)}catch{return v.slice()}};n.exports.f=function(b){return v&&c.call(b)=="[object Window]"?m(b):l(a(b))}},"06cf":function(n,s,t){var a=t("83ab"),l=t("d1e7"),c=t("5c6c"),v=t("fc6a"),m=t("c04e"),h=t("5135"),b=t("0cfb"),S=Object.getOwnPropertyDescriptor;s.f=a?S:function(I,w){if(I=v(I),w=m(w,!0),b)try{return S(I,w)}catch{}if(h(I,w))return c(!l.f.call(I,w),I[w])}},"0cfb":function(n,s,t){var a=t("83ab"),l=t("d039"),c=t("cc12");n.exports=!a&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(n,s,t){var a=t("23e7"),l=t("d58f").left,c=t("a640"),v=t("ae40"),m=c("reduce"),h=v("reduce",{1:0});a({target:"Array",proto:!0,forced:!m||!h},{reduce:function(S){return l(this,S,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(n,s,t){var a=t("c6b6"),l=t("9263");n.exports=function(c,v){var m=c.exec;if(typeof m=="function"){var h=m.call(c,v);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(a(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,v)}},"159b":function(n,s,t){var a=t("da84"),l=t("fdbc"),c=t("17c2"),v=t("9112");for(var m in l){var h=a[m],b=h&&h.prototype;if(b&&b.forEach!==c)try{v(b,"forEach",c)}catch{b.forEach=c}}},"17c2":function(n,s,t){var a=t("b727").forEach,l=t("a640"),c=t("ae40"),v=l("forEach"),m=c("forEach");n.exports=!v||!m?function(b){return a(this,b,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(n,s,t){var a=t("d066");n.exports=a("document","documentElement")},"1c0b":function(n,s){n.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(n,s,t){var a=t("b622"),l=a("iterator"),c=!1;try{var v=0,m={next:function(){return{done:!!v++}},return:function(){c=!0}};m[l]=function(){return this},Array.from(m,function(){throw 2})}catch{}n.exports=function(h,b){if(!b&&!c)return!1;var S=!1;try{var E={};E[l]=function(){return{next:function(){return{done:S=!0}}}},h(E)}catch{}return S}},"1d80":function(n,s){n.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}},"1dde":function(n,s,t){var a=t("d039"),l=t("b622"),c=t("2d00"),v=l("species");n.exports=function(m){return c>=51||!a(function(){var h=[],b=h.constructor={};return b[v]=function(){return{foo:1}},h[m](Boolean).foo!==1})}},"23cb":function(n,s,t){var a=t("a691"),l=Math.max,c=Math.min;n.exports=function(v,m){var h=a(v);return h<0?l(h+m,0):c(h,m)}},"23e7":function(n,s,t){var a=t("da84"),l=t("06cf").f,c=t("9112"),v=t("6eeb"),m=t("ce4e"),h=t("e893"),b=t("94ca");n.exports=function(S,E){var I=S.target,w=S.global,T=S.stat,N,R,F,U,_,te;if(w?R=a:T?R=a[I]||m(I,{}):R=(a[I]||{}).prototype,R)for(F in E){if(_=E[F],S.noTargetGet?(te=l(R,F),U=te&&te.value):U=R[F],N=b(w?F:I+(T?".":"#")+F,S.forced),!N&&U!==void 0){if(typeof _==typeof U)continue;h(_,U)}(S.sham||U&&U.sham)&&c(_,"sham",!0),v(R,F,_,S)}}},"241c":function(n,s,t){var a=t("ca84"),l=t("7839"),c=l.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(m){return a(m,c)}},"25f0":function(n,s,t){var a=t("6eeb"),l=t("825a"),c=t("d039"),v=t("ad6d"),m="toString",h=RegExp.prototype,b=h[m],S=c(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),E=b.name!=m;(S||E)&&a(RegExp.prototype,m,function(){var w=l(this),T=String(w.source),N=w.flags,R=String(N===void 0&&w instanceof RegExp&&!("flags"in h)?v.call(w):N);return"/"+T+"/"+R},{unsafe:!0})},"2ca0":function(n,s,t){var a=t("23e7"),l=t("06cf").f,c=t("50c4"),v=t("5a34"),m=t("1d80"),h=t("ab13"),b=t("c430"),S="".startsWith,E=Math.min,I=h("startsWith"),w=!b&&!I&&!!function(){var T=l(String.prototype,"startsWith");return T&&!T.writable}();a({target:"String",proto:!0,forced:!w&&!I},{startsWith:function(N){var R=String(m(this));v(N);var F=c(E(arguments.length>1?arguments[1]:void 0,R.length)),U=String(N);return S?S.call(R,U,F):R.slice(F,F+U.length)===U}})},"2d00":function(n,s,t){var a=t("da84"),l=t("342f"),c=a.process,v=c&&c.versions,m=v&&v.v8,h,b;m?(h=m.split("."),b=h[0]+h[1]):l&&(h=l.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=l.match(/Chrome\/(\d+)/),h&&(b=h[1]))),n.exports=b&&+b},"342f":function(n,s,t){var a=t("d066");n.exports=a("navigator","userAgent")||""},"35a1":function(n,s,t){var a=t("f5df"),l=t("3f8c"),c=t("b622"),v=c("iterator");n.exports=function(m){if(m!=null)return m[v]||m["@@iterator"]||l[a(m)]}},"37e8":function(n,s,t){var a=t("83ab"),l=t("9bf2"),c=t("825a"),v=t("df75");n.exports=a?Object.defineProperties:function(h,b){c(h);for(var S=v(b),E=S.length,I=0,w;E>I;)l.f(h,w=S[I++],b[w]);return h}},"3bbe":function(n,s,t){var a=t("861d");n.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(n,s,t){var a=t("6547").charAt,l=t("69f3"),c=t("7dd0"),v="String Iterator",m=l.set,h=l.getterFor(v);c(String,"String",function(b){m(this,{type:v,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,s){n.exports={}},4160:function(n,s,t){var a=t("23e7"),l=t("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(n,s,t){var a=t("da84");n.exports=a},"44ad":function(n,s,t){var a=t("d039"),l=t("c6b6"),c="".split;n.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(v){return l(v)=="String"?c.call(v,""):Object(v)}:Object},"44d2":function(n,s,t){var a=t("b622"),l=t("7c73"),c=t("9bf2"),v=a("unscopables"),m=Array.prototype;m[v]==null&&c.f(m,v,{configurable:!0,value:l(null)}),n.exports=function(h){m[v][h]=!0}},"44e7":function(n,s,t){var a=t("861d"),l=t("c6b6"),c=t("b622"),v=c("match");n.exports=function(m){var h;return a(m)&&((h=m[v])!==void 0?!!h:l(m)=="RegExp")}},4930:function(n,s,t){var a=t("d039");n.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(n,s,t){var a=t("fc6a"),l=t("50c4"),c=t("23cb"),v=function(m){return function(h,b,S){var E=a(h),I=l(E.length),w=c(S,I),T;if(m&&b!=b){for(;I>w;)if(T=E[w++],T!=T)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:v(!0),indexOf:v(!1)}},"4de4":function(n,s,t){var a=t("23e7"),l=t("b727").filter,c=t("1dde"),v=t("ae40"),m=c("filter"),h=v("filter");a({target:"Array",proto:!0,forced:!m||!h},{filter:function(S){return l(this,S,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(n,s,t){var a=t("0366"),l=t("7b0b"),c=t("9bdd"),v=t("e95a"),m=t("50c4"),h=t("8418"),b=t("35a1");n.exports=function(E){var I=l(E),w=typeof this=="function"?this:Array,T=arguments.length,N=T>1?arguments[1]:void 0,R=N!==void 0,F=b(I),U=0,_,te,M,J,z,fe;if(R&&(N=a(N,T>2?arguments[2]:void 0,2)),F!=null&&!(w==Array&&v(F)))for(J=F.call(I),z=J.next,te=new w;!(M=z.call(J)).done;U++)fe=R?c(J,N,[M.value,U],!0):M.value,h(te,U,fe);else for(_=m(I.length),te=new w(_);_>U;U++)fe=R?N(I[U],U):I[U],h(te,U,fe);return te.length=U,te}},"4fad":function(n,s,t){var a=t("23e7"),l=t("6f53").entries;a({target:"Object",stat:!0},{entries:function(v){return l(v)}})},"50c4":function(n,s,t){var a=t("a691"),l=Math.min;n.exports=function(c){return c>0?l(a(c),9007199254740991):0}},5135:function(n,s){var t={}.hasOwnProperty;n.exports=function(a,l){return t.call(a,l)}},5319:function(n,s,t){var a=t("d784"),l=t("825a"),c=t("7b0b"),v=t("50c4"),m=t("a691"),h=t("1d80"),b=t("8aa5"),S=t("14c3"),E=Math.max,I=Math.min,w=Math.floor,T=/\$([$&'`]|\d\d?|<[^>]*>)/g,N=/\$([$&'`]|\d\d?)/g,R=function(F){return F===void 0?F:String(F)};a("replace",2,function(F,U,_,te){var M=te.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,J=te.REPLACE_KEEPS_$0,z=M?"$":"$0";return[function(Y,Z){var H=h(this),ae=Y==null?void 0:Y[F];return ae!==void 0?ae.call(Y,H,Z):U.call(String(H),Y,Z)},function(Q,Y){if(!M&&J||typeof Y=="string"&&Y.indexOf(z)===-1){var Z=_(U,Q,this,Y);if(Z.done)return Z.value}var H=l(Q),ae=String(this),be=typeof Y=="function";be||(Y=String(Y));var Oe=H.global;if(Oe){var Ne=H.unicode;H.lastIndex=0}for(var Ve=[];;){var q=S(H,ae);if(q===null||(Ve.push(q),!Oe))break;var He=String(q[0]);He===""&&(H.lastIndex=b(ae,v(H.lastIndex),Ne))}for(var Ke="",Le=0,Re=0;Re<Ve.length;Re++){q=Ve[Re];for(var Me=String(q[0]),mt=E(I(m(q.index),ae.length),0),ot=[],Bt=1;Bt<q.length;Bt++)ot.push(R(q[Bt]));var ct=q.groups;if(be){var St=[Me].concat(ot,mt,ae);ct!==void 0&&St.push(ct);var Qe=String(Y.apply(void 0,St))}else Qe=fe(Me,ae,mt,ot,ct,Y);mt>=Le&&(Ke+=ae.slice(Le,mt)+Qe,Le=mt+Me.length)}return Ke+ae.slice(Le)}];function fe(Q,Y,Z,H,ae,be){var Oe=Z+Q.length,Ne=H.length,Ve=N;return ae!==void 0&&(ae=c(ae),Ve=T),U.call(be,Ve,function(q,He){var Ke;switch(He.charAt(0)){case"$":return"$";case"&":return Q;case"`":return Y.slice(0,Z);case"'":return Y.slice(Oe);case"<":Ke=ae[He.slice(1,-1)];break;default:var Le=+He;if(Le===0)return q;if(Le>Ne){var Re=w(Le/10);return Re===0?q:Re<=Ne?H[Re-1]===void 0?He.charAt(1):H[Re-1]+He.charAt(1):q}Ke=H[Le-1]}return Ke===void 0?"":Ke})}})},5692:function(n,s,t){var a=t("c430"),l=t("c6cd");(n.exports=function(c,v){return l[c]||(l[c]=v!==void 0?v:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(n,s,t){var a=t("d066"),l=t("241c"),c=t("7418"),v=t("825a");n.exports=a("Reflect","ownKeys")||function(h){var b=l.f(v(h)),S=c.f;return S?b.concat(S(h)):b}},"5a34":function(n,s,t){var a=t("44e7");n.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(n,s){n.exports=function(t,a){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:a}}},"5db7":function(n,s,t){var a=t("23e7"),l=t("a2bf"),c=t("7b0b"),v=t("50c4"),m=t("1c0b"),h=t("65f0");a({target:"Array",proto:!0},{flatMap:function(S){var E=c(this),I=v(E.length),w;return m(S),w=h(E,0),w.length=l(w,E,E,I,0,1,S,arguments.length>1?arguments[1]:void 0),w}})},6547:function(n,s,t){var a=t("a691"),l=t("1d80"),c=function(v){return function(m,h){var b=String(l(m)),S=a(h),E=b.length,I,w;return S<0||S>=E?v?"":void 0:(I=b.charCodeAt(S),I<55296||I>56319||S+1===E||(w=b.charCodeAt(S+1))<56320||w>57343?v?b.charAt(S):I:v?b.slice(S,S+2):(I-55296<<10)+(w-56320)+65536)}};n.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(n,s,t){var a=t("861d"),l=t("e8b5"),c=t("b622"),v=c("species");n.exports=function(m,h){var b;return l(m)&&(b=m.constructor,typeof b=="function"&&(b===Array||l(b.prototype))?b=void 0:a(b)&&(b=b[v],b===null&&(b=void 0))),new(b===void 0?Array:b)(h===0?0:h)}},"69f3":function(n,s,t){var a=t("7f9a"),l=t("da84"),c=t("861d"),v=t("9112"),m=t("5135"),h=t("f772"),b=t("d012"),S=l.WeakMap,E,I,w,T=function(M){return w(M)?I(M):E(M,{})},N=function(M){return function(J){var z;if(!c(J)||(z=I(J)).type!==M)throw TypeError("Incompatible receiver, "+M+" required");return z}};if(a){var R=new S,F=R.get,U=R.has,_=R.set;E=function(M,J){return _.call(R,M,J),J},I=function(M){return F.call(R,M)||{}},w=function(M){return U.call(R,M)}}else{var te=h("state");b[te]=!0,E=function(M,J){return v(M,te,J),J},I=function(M){return m(M,te)?M[te]:{}},w=function(M){return m(M,te)}}n.exports={set:E,get:I,has:w,enforce:T,getterFor:N}},"6eeb":function(n,s,t){var a=t("da84"),l=t("9112"),c=t("5135"),v=t("ce4e"),m=t("8925"),h=t("69f3"),b=h.get,S=h.enforce,E=String(String).split("String");(n.exports=function(I,w,T,N){var R=N?!!N.unsafe:!1,F=N?!!N.enumerable:!1,U=N?!!N.noTargetGet:!1;if(typeof T=="function"&&(typeof w=="string"&&!c(T,"name")&&l(T,"name",w),S(T).source=E.join(typeof w=="string"?w:"")),I===a){F?I[w]=T:v(w,T);return}else R?!U&&I[w]&&(F=!0):delete I[w];F?I[w]=T:l(I,w,T)})(Function.prototype,"toString",function(){return typeof this=="function"&&b(this).source||m(this)})},"6f53":function(n,s,t){var a=t("83ab"),l=t("df75"),c=t("fc6a"),v=t("d1e7").f,m=function(h){return function(b){for(var S=c(b),E=l(S),I=E.length,w=0,T=[],N;I>w;)N=E[w++],(!a||v.call(S,N))&&T.push(h?[N,S[N]]:S[N]);return T}};n.exports={entries:m(!0),values:m(!1)}},"73d9":function(n,s,t){var a=t("44d2");a("flatMap")},7418:function(n,s){s.f=Object.getOwnPropertySymbols},"746f":function(n,s,t){var a=t("428f"),l=t("5135"),c=t("e538"),v=t("9bf2").f;n.exports=function(m){var h=a.Symbol||(a.Symbol={});l(h,m)||v(h,m,{value:c.f(m)})}},7839:function(n,s){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(n,s,t){var a=t("1d80");n.exports=function(l){return Object(a(l))}},"7c73":function(n,s,t){var a=t("825a"),l=t("37e8"),c=t("7839"),v=t("d012"),m=t("1be4"),h=t("cc12"),b=t("f772"),S=">",E="<",I="prototype",w="script",T=b("IE_PROTO"),N=function(){},R=function(M){return E+w+S+M+E+"/"+w+S},F=function(M){M.write(R("")),M.close();var J=M.parentWindow.Object;return M=null,J},U=function(){var M=h("iframe"),J="java"+w+":",z;return M.style.display="none",m.appendChild(M),M.src=String(J),z=M.contentWindow.document,z.open(),z.write(R("document.F=Object")),z.close(),z.F},_,te=function(){try{_=document.domain&&new ActiveXObject("htmlfile")}catch{}te=_?F(_):U();for(var M=c.length;M--;)delete te[I][c[M]];return te()};v[T]=!0,n.exports=Object.create||function(J,z){var fe;return J!==null?(N[I]=a(J),fe=new N,N[I]=null,fe[T]=J):fe=te(),z===void 0?fe:l(fe,z)}},"7dd0":function(n,s,t){var a=t("23e7"),l=t("9ed3"),c=t("e163"),v=t("d2bb"),m=t("d44e"),h=t("9112"),b=t("6eeb"),S=t("b622"),E=t("c430"),I=t("3f8c"),w=t("ae93"),T=w.IteratorPrototype,N=w.BUGGY_SAFARI_ITERATORS,R=S("iterator"),F="keys",U="values",_="entries",te=function(){return this};n.exports=function(M,J,z,fe,Q,Y,Z){l(z,J,fe);var H=function(Re){if(Re===Q&&Ve)return Ve;if(!N&&Re in Oe)return Oe[Re];switch(Re){case F:return function(){return new z(this,Re)};case U:return function(){return new z(this,Re)};case _:return function(){return new z(this,Re)}}return function(){return new z(this)}},ae=J+" Iterator",be=!1,Oe=M.prototype,Ne=Oe[R]||Oe["@@iterator"]||Q&&Oe[Q],Ve=!N&&Ne||H(Q),q=J=="Array"&&Oe.entries||Ne,He,Ke,Le;if(q&&(He=c(q.call(new M)),T!==Object.prototype&&He.next&&(!E&&c(He)!==T&&(v?v(He,T):typeof He[R]!="function"&&h(He,R,te)),m(He,ae,!0,!0),E&&(I[ae]=te))),Q==U&&Ne&&Ne.name!==U&&(be=!0,Ve=function(){return Ne.call(this)}),(!E||Z)&&Oe[R]!==Ve&&h(Oe,R,Ve),I[J]=Ve,Q)if(Ke={values:H(U),keys:Y?Ve:H(F),entries:H(_)},Z)for(Le in Ke)(N||be||!(Le in Oe))&&b(Oe,Le,Ke[Le]);else a({target:J,proto:!0,forced:N||be},Ke);return Ke}},"7f9a":function(n,s,t){var a=t("da84"),l=t("8925"),c=a.WeakMap;n.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(n,s,t){var a=t("861d");n.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(n,s,t){var a=t("d039");n.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(n,s,t){var a=t("c04e"),l=t("9bf2"),c=t("5c6c");n.exports=function(v,m,h){var b=a(m);b in v?l.f(v,b,c(0,h)):v[b]=h}},"861d":function(n,s){n.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},8875:function(n,s,t){var a,l,c;(function(v,m){l=[],a=m,c=typeof a=="function"?a.apply(s,l):a,c!==void 0&&(n.exports=c)})(typeof self<"u"?self:this,function(){function v(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==v&&document.currentScript)return document.currentScript;try{throw new Error}catch(_){var h=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,b=/@([^@]*):(\d+):(\d+)\s*$/ig,S=h.exec(_.stack)||b.exec(_.stack),E=S&&S[1]||!1,I=S&&S[2]||!1,w=document.location.href.replace(document.location.hash,""),T,N,R,F=document.getElementsByTagName("script");E===w&&(T=document.documentElement.outerHTML,N=new RegExp("(?:[^\\n]+?\\n){0,"+(I-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),R=T.replace(N,"$1").trim());for(var U=0;U<F.length;U++)if(F[U].readyState==="interactive"||F[U].src===E||E===w&&F[U].innerHTML&&F[U].innerHTML.trim()===R)return F[U];return null}}return v})},8925:function(n,s,t){var a=t("c6cd"),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(c){return l.call(c)}),n.exports=a.inspectSource},"8aa5":function(n,s,t){var a=t("6547").charAt;n.exports=function(l,c,v){return c+(v?a(l,c).length:1)}},"8bbf":function(n,s){n.exports=i},"90e3":function(n,s){var t=0,a=Math.random();n.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++t+a).toString(36)}},9112:function(n,s,t){var a=t("83ab"),l=t("9bf2"),c=t("5c6c");n.exports=a?function(v,m,h){return l.f(v,m,c(1,h))}:function(v,m,h){return v[m]=h,v}},9263:function(n,s,t){var a=t("ad6d"),l=t("9f7f"),c=RegExp.prototype.exec,v=String.prototype.replace,m=c,h=function(){var I=/a/,w=/b*/g;return c.call(I,"a"),c.call(w,"a"),I.lastIndex!==0||w.lastIndex!==0}(),b=l.UNSUPPORTED_Y||l.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,E=h||S||b;E&&(m=function(w){var T=this,N,R,F,U,_=b&&T.sticky,te=a.call(T),M=T.source,J=0,z=w;return _&&(te=te.replace("y",""),te.indexOf("g")===-1&&(te+="g"),z=String(w).slice(T.lastIndex),T.lastIndex>0&&(!T.multiline||T.multiline&&w[T.lastIndex-1]!==`
  8. `)&&(M="(?: "+M+")",z=" "+z,J++),R=new RegExp("^(?:"+M+")",te)),S&&(R=new RegExp("^"+M+"$(?!\\s)",te)),h&&(N=T.lastIndex),F=c.call(_?R:T,z),_?F?(F.input=F.input.slice(J),F[0]=F[0].slice(J),F.index=T.lastIndex,T.lastIndex+=F[0].length):T.lastIndex=0:h&&F&&(T.lastIndex=T.global?F.index+F[0].length:N),S&&F&&F.length>1&&v.call(F[0],R,function(){for(U=1;U<arguments.length-2;U++)arguments[U]===void 0&&(F[U]=void 0)}),F}),n.exports=m},"94ca":function(n,s,t){var a=t("d039"),l=/#|\.prototype\./,c=function(S,E){var I=m[v(S)];return I==b?!0:I==h?!1:typeof E=="function"?a(E):!!E},v=c.normalize=function(S){return String(S).replace(l,".").toLowerCase()},m=c.data={},h=c.NATIVE="N",b=c.POLYFILL="P";n.exports=c},"99af":function(n,s,t){var a=t("23e7"),l=t("d039"),c=t("e8b5"),v=t("861d"),m=t("7b0b"),h=t("50c4"),b=t("8418"),S=t("65f0"),E=t("1dde"),I=t("b622"),w=t("2d00"),T=I("isConcatSpreadable"),N=9007199254740991,R="Maximum allowed index exceeded",F=w>=51||!l(function(){var M=[];return M[T]=!1,M.concat()[0]!==M}),U=E("concat"),_=function(M){if(!v(M))return!1;var J=M[T];return J!==void 0?!!J:c(M)},te=!F||!U;a({target:"Array",proto:!0,forced:te},{concat:function(J){var z=m(this),fe=S(z,0),Q=0,Y,Z,H,ae,be;for(Y=-1,H=arguments.length;Y<H;Y++)if(be=Y===-1?z:arguments[Y],_(be)){if(ae=h(be.length),Q+ae>N)throw TypeError(R);for(Z=0;Z<ae;Z++,Q++)Z in be&&b(fe,Q,be[Z])}else{if(Q>=N)throw TypeError(R);b(fe,Q++,be)}return fe.length=Q,fe}})},"9bdd":function(n,s,t){var a=t("825a");n.exports=function(l,c,v,m){try{return m?c(a(v)[0],v[1]):c(v)}catch(b){var h=l.return;throw h!==void 0&&a(h.call(l)),b}}},"9bf2":function(n,s,t){var a=t("83ab"),l=t("0cfb"),c=t("825a"),v=t("c04e"),m=Object.defineProperty;s.f=a?m:function(b,S,E){if(c(b),S=v(S,!0),c(E),l)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,s,t){var a=t("ae93").IteratorPrototype,l=t("7c73"),c=t("5c6c"),v=t("d44e"),m=t("3f8c"),h=function(){return this};n.exports=function(b,S,E){var I=S+" Iterator";return b.prototype=l(a,{next:c(1,E)}),v(b,I,!1,!0),m[I]=h,b}},"9f7f":function(n,s,t){var a=t("d039");function l(c,v){return RegExp(c,v)}s.UNSUPPORTED_Y=a(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),s.BROKEN_CARET=a(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(n,s,t){var a=t("e8b5"),l=t("50c4"),c=t("0366"),v=function(m,h,b,S,E,I,w,T){for(var N=E,R=0,F=w?c(w,T,3):!1,U;R<S;){if(R in b){if(U=F?F(b[R],R,h):b[R],I>0&&a(U))N=v(m,h,U,l(U.length),N,I-1)-1;else{if(N>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[N]=U}N++}R++}return N};n.exports=v},a352:function(n,s){n.exports=d},a434:function(n,s,t){var a=t("23e7"),l=t("23cb"),c=t("a691"),v=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}),T=Math.max,N=Math.min,R=9007199254740991,F="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!I||!w},{splice:function(_,te){var M=m(this),J=v(M.length),z=l(_,J),fe=arguments.length,Q,Y,Z,H,ae,be;if(fe===0?Q=Y=0:fe===1?(Q=0,Y=J-z):(Q=fe-2,Y=N(T(c(te),0),J-z)),J+Q-Y>R)throw TypeError(F);for(Z=h(M,Y),H=0;H<Y;H++)ae=z+H,ae in M&&b(Z,H,M[ae]);if(Z.length=Y,Q<Y){for(H=z;H<J-Y;H++)ae=H+Y,be=H+Q,ae in M?M[be]=M[ae]:delete M[be];for(H=J;H>J-Y+Q;H--)delete M[H-1]}else if(Q>Y)for(H=J-Y;H>z;H--)ae=H+Y-1,be=H+Q-1,ae in M?M[be]=M[ae]:delete M[be];for(H=0;H<Q;H++)M[H+z]=arguments[H+2];return M.length=J-Y+Q,Z}})},a4d3:function(n,s,t){var a=t("23e7"),l=t("da84"),c=t("d066"),v=t("c430"),m=t("83ab"),h=t("4930"),b=t("fdbf"),S=t("d039"),E=t("5135"),I=t("e8b5"),w=t("861d"),T=t("825a"),N=t("7b0b"),R=t("fc6a"),F=t("c04e"),U=t("5c6c"),_=t("7c73"),te=t("df75"),M=t("241c"),J=t("057f"),z=t("7418"),fe=t("06cf"),Q=t("9bf2"),Y=t("d1e7"),Z=t("9112"),H=t("6eeb"),ae=t("5692"),be=t("f772"),Oe=t("d012"),Ne=t("90e3"),Ve=t("b622"),q=t("e538"),He=t("746f"),Ke=t("d44e"),Le=t("69f3"),Re=t("b727").forEach,Me=be("hidden"),mt="Symbol",ot="prototype",Bt=Ve("toPrimitive"),ct=Le.set,St=Le.getterFor(mt),Qe=Object[ot],qe=l.Symbol,Ft=c("JSON","stringify"),It=fe.f,et=Q.f,Ct=J.f,Gn=Y.f,At=ae("symbols"),jt=ae("op-symbols"),nn=ae("string-to-symbol-registry"),cn=ae("symbol-to-string-registry"),fn=ae("wks"),vn=l.QObject,pn=!vn||!vn[ot]||!vn[ot].findChild,mn=m&&S(function(){return _(et({},"a",{get:function(){return et(this,"a",{value:7}).a}})).a!=7})?function(pe,ne,ue){var Se=It(Qe,ne);Se&&delete Qe[ne],et(pe,ne,ue),Se&&pe!==Qe&&et(Qe,ne,Se)}:et,gn=function(pe,ne){var ue=At[pe]=_(qe[ot]);return ct(ue,{type:mt,tag:pe,description:ne}),m||(ue.description=ne),ue},A=b?function(pe){return typeof pe=="symbol"}:function(pe){return Object(pe)instanceof qe},C=function(ne,ue,Se){ne===Qe&&C(jt,ue,Se),T(ne);var Ie=F(ue,!0);return T(Se),E(At,Ie)?(Se.enumerable?(E(ne,Me)&&ne[Me][Ie]&&(ne[Me][Ie]=!1),Se=_(Se,{enumerable:U(0,!1)})):(E(ne,Me)||et(ne,Me,U(1,{})),ne[Me][Ie]=!0),mn(ne,Ie,Se)):et(ne,Ie,Se)},D=function(ne,ue){T(ne);var Se=R(ue),Ie=te(Se).concat(xe(Se));return Re(Ie,function(it){(!m||ee.call(Se,it))&&C(ne,it,Se[it])}),ne},j=function(ne,ue){return ue===void 0?_(ne):D(_(ne),ue)},ee=function(ne){var ue=F(ne,!0),Se=Gn.call(this,ue);return this===Qe&&E(At,ue)&&!E(jt,ue)?!1:Se||!E(this,ue)||!E(At,ue)||E(this,Me)&&this[Me][ue]?Se:!0},ce=function(ne,ue){var Se=R(ne),Ie=F(ue,!0);if(!(Se===Qe&&E(At,Ie)&&!E(jt,Ie))){var it=It(Se,Ie);return it&&E(At,Ie)&&!(E(Se,Me)&&Se[Me][Ie])&&(it.enumerable=!0),it}},ge=function(ne){var ue=Ct(R(ne)),Se=[];return Re(ue,function(Ie){!E(At,Ie)&&!E(Oe,Ie)&&Se.push(Ie)}),Se},xe=function(ne){var ue=ne===Qe,Se=Ct(ue?jt:R(ne)),Ie=[];return Re(Se,function(it){E(At,it)&&(!ue||E(Qe,it))&&Ie.push(At[it])}),Ie};if(h||(qe=function(){if(this instanceof qe)throw TypeError("Symbol is not a constructor");var ne=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),ue=Ne(ne),Se=function(Ie){this===Qe&&Se.call(jt,Ie),E(this,Me)&&E(this[Me],ue)&&(this[Me][ue]=!1),mn(this,ue,U(1,Ie))};return m&&pn&&mn(Qe,ue,{configurable:!0,set:Se}),gn(ue,ne)},H(qe[ot],"toString",function(){return St(this).tag}),H(qe,"withoutSetter",function(pe){return gn(Ne(pe),pe)}),Y.f=ee,Q.f=C,fe.f=ce,M.f=J.f=ge,z.f=xe,q.f=function(pe){return gn(Ve(pe),pe)},m&&(et(qe[ot],"description",{configurable:!0,get:function(){return St(this).description}}),v||H(Qe,"propertyIsEnumerable",ee,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:qe}),Re(te(fn),function(pe){He(pe)}),a({target:mt,stat:!0,forced:!h},{for:function(pe){var ne=String(pe);if(E(nn,ne))return nn[ne];var ue=qe(ne);return nn[ne]=ue,cn[ue]=ne,ue},keyFor:function(ne){if(!A(ne))throw TypeError(ne+" is not a symbol");if(E(cn,ne))return cn[ne]},useSetter:function(){pn=!0},useSimple:function(){pn=!1}}),a({target:"Object",stat:!0,forced:!h,sham:!m},{create:j,defineProperty:C,defineProperties:D,getOwnPropertyDescriptor:ce}),a({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:ge,getOwnPropertySymbols:xe}),a({target:"Object",stat:!0,forced:S(function(){z.f(1)})},{getOwnPropertySymbols:function(ne){return z.f(N(ne))}}),Ft){var Be=!h||S(function(){var pe=qe();return Ft([pe])!="[null]"||Ft({a:pe})!="{}"||Ft(Object(pe))!="{}"});a({target:"JSON",stat:!0,forced:Be},{stringify:function(ne,ue,Se){for(var Ie=[ne],it=1,Ce;arguments.length>it;)Ie.push(arguments[it++]);if(Ce=ue,!(!w(ue)&&ne===void 0||A(ne)))return I(ue)||(ue=function(ii,Cn){if(typeof Ce=="function"&&(Cn=Ce.call(this,ii,Cn)),!A(Cn))return Cn}),Ie[1]=ue,Ft.apply(null,Ie)}})}qe[ot][Bt]||Z(qe[ot],Bt,qe[ot].valueOf),Ke(qe,mt),Oe[Me]=!0},a630:function(n,s,t){var a=t("23e7"),l=t("4df4"),c=t("1c7e"),v=!c(function(m){Array.from(m)});a({target:"Array",stat:!0,forced:v},{from:l})},a640:function(n,s,t){var a=t("d039");n.exports=function(l,c){var v=[][l];return!!v&&a(function(){v.call(null,c||function(){throw 1},1)})}},a691:function(n,s){var t=Math.ceil,a=Math.floor;n.exports=function(l){return isNaN(l=+l)?0:(l>0?a:t)(l)}},ab13:function(n,s,t){var a=t("b622"),l=a("match");n.exports=function(c){var v=/./;try{"/./"[c](v)}catch{try{return v[l]=!1,"/./"[c](v)}catch{}}return!1}},ac1f:function(n,s,t){var a=t("23e7"),l=t("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(n,s,t){var a=t("825a");n.exports=function(){var l=a(this),c="";return l.global&&(c+="g"),l.ignoreCase&&(c+="i"),l.multiline&&(c+="m"),l.dotAll&&(c+="s"),l.unicode&&(c+="u"),l.sticky&&(c+="y"),c}},ae40:function(n,s,t){var a=t("83ab"),l=t("d039"),c=t("5135"),v=Object.defineProperty,m={},h=function(b){throw b};n.exports=function(b,S){if(c(m,b))return m[b];S||(S={});var E=[][b],I=c(S,"ACCESSORS")?S.ACCESSORS:!1,w=c(S,0)?S[0]:h,T=c(S,1)?S[1]:void 0;return m[b]=!!E&&!l(function(){if(I&&!a)return!0;var N={length:-1};I?v(N,1,{enumerable:!0,get:h}):N[1]=1,E.call(N,w,T)})}},ae93:function(n,s,t){var a=t("e163"),l=t("9112"),c=t("5135"),v=t("b622"),m=t("c430"),h=v("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&&!c(E,h)&&l(E,h,S),n.exports={IteratorPrototype:E,BUGGY_SAFARI_ITERATORS:b}},b041:function(n,s,t){var a=t("00ee"),l=t("f5df");n.exports=a?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(n,s,t){var a=t("83ab"),l=t("9bf2").f,c=Function.prototype,v=c.toString,m=/^\s*function ([^ (]*)/,h="name";a&&!(h in c)&&l(c,h,{configurable:!0,get:function(){try{return v.call(this).match(m)[1]}catch{return""}}})},b622:function(n,s,t){var a=t("da84"),l=t("5692"),c=t("5135"),v=t("90e3"),m=t("4930"),h=t("fdbf"),b=l("wks"),S=a.Symbol,E=h?S:S&&S.withoutSetter||v;n.exports=function(I){return c(b,I)||(m&&c(S,I)?b[I]=S[I]:b[I]=E("Symbol."+I)),b[I]}},b64b:function(n,s,t){var a=t("23e7"),l=t("7b0b"),c=t("df75"),v=t("d039"),m=v(function(){c(1)});a({target:"Object",stat:!0,forced:m},{keys:function(b){return c(l(b))}})},b727:function(n,s,t){var a=t("0366"),l=t("44ad"),c=t("7b0b"),v=t("50c4"),m=t("65f0"),h=[].push,b=function(S){var E=S==1,I=S==2,w=S==3,T=S==4,N=S==6,R=S==5||N;return function(F,U,_,te){for(var M=c(F),J=l(M),z=a(U,_,3),fe=v(J.length),Q=0,Y=te||m,Z=E?Y(F,fe):I?Y(F,0):void 0,H,ae;fe>Q;Q++)if((R||Q in J)&&(H=J[Q],ae=z(H,Q,M),S)){if(E)Z[Q]=ae;else if(ae)switch(S){case 3:return!0;case 5:return H;case 6:return Q;case 2:h.call(Z,H)}else if(T)return!1}return N?-1:w||T?T:Z}};n.exports={forEach:b(0),map:b(1),filter:b(2),some:b(3),every:b(4),find:b(5),findIndex:b(6)}},c04e:function(n,s,t){var a=t("861d");n.exports=function(l,c){if(!a(l))return l;var v,m;if(c&&typeof(v=l.toString)=="function"&&!a(m=v.call(l))||typeof(v=l.valueOf)=="function"&&!a(m=v.call(l))||!c&&typeof(v=l.toString)=="function"&&!a(m=v.call(l)))return m;throw TypeError("Can't convert object to primitive value")}},c430:function(n,s){n.exports=!1},c6b6:function(n,s){var t={}.toString;n.exports=function(a){return t.call(a).slice(8,-1)}},c6cd:function(n,s,t){var a=t("da84"),l=t("ce4e"),c="__core-js_shared__",v=a[c]||l(c,{});n.exports=v},c740:function(n,s,t){var a=t("23e7"),l=t("b727").findIndex,c=t("44d2"),v=t("ae40"),m="findIndex",h=!0,b=v(m);m in[]&&Array(1)[m](function(){h=!1}),a({target:"Array",proto:!0,forced:h||!b},{findIndex:function(E){return l(this,E,arguments.length>1?arguments[1]:void 0)}}),c(m)},c8ba:function(n,s){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}n.exports=t},c975:function(n,s,t){var a=t("23e7"),l=t("4d64").indexOf,c=t("a640"),v=t("ae40"),m=[].indexOf,h=!!m&&1/[1].indexOf(1,-0)<0,b=c("indexOf"),S=v("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:h||!b||!S},{indexOf:function(I){return h?m.apply(this,arguments)||0:l(this,I,arguments.length>1?arguments[1]:void 0)}})},ca84:function(n,s,t){var a=t("5135"),l=t("fc6a"),c=t("4d64").indexOf,v=t("d012");n.exports=function(m,h){var b=l(m),S=0,E=[],I;for(I in b)!a(v,I)&&a(b,I)&&E.push(I);for(;h.length>S;)a(b,I=h[S++])&&(~c(E,I)||E.push(I));return E}},caad:function(n,s,t){var a=t("23e7"),l=t("4d64").includes,c=t("44d2"),v=t("ae40"),m=v("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!m},{includes:function(b){return l(this,b,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(n,s,t){var a=t("da84"),l=t("861d"),c=a.document,v=l(c)&&l(c.createElement);n.exports=function(m){return v?c.createElement(m):{}}},ce4e:function(n,s,t){var a=t("da84"),l=t("9112");n.exports=function(c,v){try{l(a,c,v)}catch{a[c]=v}return v}},d012:function(n,s){n.exports={}},d039:function(n,s){n.exports=function(t){try{return!!t()}catch{return!0}}},d066:function(n,s,t){var a=t("428f"),l=t("da84"),c=function(v){return typeof v=="function"?v:void 0};n.exports=function(v,m){return arguments.length<2?c(a[v])||c(l[v]):a[v]&&a[v][m]||l[v]&&l[v][m]}},d1e7:function(n,s,t){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!a.call({1:2},1);s.f=c?function(m){var h=l(this,m);return!!h&&h.enumerable}:a},d28b:function(n,s,t){var a=t("746f");a("iterator")},d2bb:function(n,s,t){var a=t("825a"),l=t("3bbe");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,v={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(v,[]),c=v instanceof Array}catch{}return function(b,S){return a(b),l(S),c?m.call(b,S):b.__proto__=S,b}}():void 0)},d3b7:function(n,s,t){var a=t("00ee"),l=t("6eeb"),c=t("b041");a||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(n,s,t){var a=t("9bf2").f,l=t("5135"),c=t("b622"),v=c("toStringTag");n.exports=function(m,h,b){m&&!l(m=b?m:m.prototype,v)&&a(m,v,{configurable:!0,value:h})}},d58f:function(n,s,t){var a=t("1c0b"),l=t("7b0b"),c=t("44ad"),v=t("50c4"),m=function(h){return function(b,S,E,I){a(S);var w=l(b),T=c(w),N=v(w.length),R=h?N-1:0,F=h?-1:1;if(E<2)for(;;){if(R in T){I=T[R],R+=F;break}if(R+=F,h?R<0:N<=R)throw TypeError("Reduce of empty array with no initial value")}for(;h?R>=0:N>R;R+=F)R in T&&(I=S(I,T[R],R,w));return I}};n.exports={left:m(!1),right:m(!0)}},d784:function(n,s,t){t("ac1f");var a=t("6eeb"),l=t("d039"),c=t("b622"),v=t("9263"),m=t("9112"),h=c("species"),b=!l(function(){var T=/./;return T.exec=function(){var N=[];return N.groups={a:"7"},N},"".replace(T,"$<a>")!=="7"}),S=function(){return"a".replace(/./,"$0")==="$0"}(),E=c("replace"),I=function(){return/./[E]?/./[E]("a","$0")==="":!1}(),w=!l(function(){var T=/(?:)/,N=T.exec;T.exec=function(){return N.apply(this,arguments)};var R="ab".split(T);return R.length!==2||R[0]!=="a"||R[1]!=="b"});n.exports=function(T,N,R,F){var U=c(T),_=!l(function(){var Q={};return Q[U]=function(){return 7},""[T](Q)!=7}),te=_&&!l(function(){var Q=!1,Y=/a/;return T==="split"&&(Y={},Y.constructor={},Y.constructor[h]=function(){return Y},Y.flags="",Y[U]=/./[U]),Y.exec=function(){return Q=!0,null},Y[U](""),!Q});if(!_||!te||T==="replace"&&!(b&&S&&!I)||T==="split"&&!w){var M=/./[U],J=R(U,""[T],function(Q,Y,Z,H,ae){return Y.exec===v?_&&!ae?{done:!0,value:M.call(Y,Z,H)}:{done:!0,value:Q.call(Z,Y,H)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:I}),z=J[0],fe=J[1];a(String.prototype,T,z),a(RegExp.prototype,U,N==2?function(Q,Y){return fe.call(Q,this,Y)}:function(Q){return fe.call(Q,this)})}F&&m(RegExp.prototype[U],"sham",!0)}},d81d:function(n,s,t){var a=t("23e7"),l=t("b727").map,c=t("1dde"),v=t("ae40"),m=c("map"),h=v("map");a({target:"Array",proto:!0,forced:!m||!h},{map:function(S){return l(this,S,arguments.length>1?arguments[1]:void 0)}})},da84:function(n,s,t){(function(a){var l=function(c){return c&&c.Math==Math&&c};n.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof a=="object"&&a)||Function("return this")()}).call(this,t("c8ba"))},dbb4:function(n,s,t){var a=t("23e7"),l=t("83ab"),c=t("56ef"),v=t("fc6a"),m=t("06cf"),h=t("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(S){for(var E=v(S),I=m.f,w=c(E),T={},N=0,R,F;w.length>N;)F=I(E,R=w[N++]),F!==void 0&&h(T,R,F);return T}})},dbf1:function(n,s,t){(function(a){t.d(s,"a",function(){return c});function l(){return typeof window<"u"?window.console:a.console}var c=l()}).call(this,t("c8ba"))},ddb0:function(n,s,t){var a=t("da84"),l=t("fdbc"),c=t("e260"),v=t("9112"),m=t("b622"),h=m("iterator"),b=m("toStringTag"),S=c.values;for(var E in l){var I=a[E],w=I&&I.prototype;if(w){if(w[h]!==S)try{v(w,h,S)}catch{w[h]=S}if(w[b]||v(w,b,E),l[E]){for(var T in c)if(w[T]!==c[T])try{v(w,T,c[T])}catch{w[T]=c[T]}}}}},df75:function(n,s,t){var a=t("ca84"),l=t("7839");n.exports=Object.keys||function(v){return a(v,l)}},e01a:function(n,s,t){var a=t("23e7"),l=t("83ab"),c=t("da84"),v=t("5135"),m=t("861d"),h=t("9bf2").f,b=t("e893"),S=c.Symbol;if(l&&typeof S=="function"&&(!("description"in S.prototype)||S().description!==void 0)){var E={},I=function(){var U=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),_=this instanceof I?new S(U):U===void 0?S():S(U);return U===""&&(E[_]=!0),_};b(I,S);var w=I.prototype=S.prototype;w.constructor=I;var T=w.toString,N=String(S("test"))=="Symbol(test)",R=/^Symbol\((.*)\)[^)]+$/;h(w,"description",{configurable:!0,get:function(){var U=m(this)?this.valueOf():this,_=T.call(U);if(v(E,U))return"";var te=N?_.slice(7,-1):_.replace(R,"$1");return te===""?void 0:te}}),a({global:!0,forced:!0},{Symbol:I})}},e163:function(n,s,t){var a=t("5135"),l=t("7b0b"),c=t("f772"),v=t("e177"),m=c("IE_PROTO"),h=Object.prototype;n.exports=v?Object.getPrototypeOf:function(b){return b=l(b),a(b,m)?b[m]:typeof b.constructor=="function"&&b instanceof b.constructor?b.constructor.prototype:b instanceof Object?h:null}},e177:function(n,s,t){var a=t("d039");n.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(n,s,t){var a=t("fc6a"),l=t("44d2"),c=t("3f8c"),v=t("69f3"),m=t("7dd0"),h="Array Iterator",b=v.set,S=v.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,T=E.index++;return!I||T>=I.length?(E.target=void 0,{value:void 0,done:!0}):w=="keys"?{value:T,done:!1}:w=="values"?{value:I[T],done:!1}:{value:[T,I[T]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(n,s,t){var a=t("23e7"),l=t("d039"),c=t("fc6a"),v=t("06cf").f,m=t("83ab"),h=l(function(){v(1)}),b=!m||h;a({target:"Object",stat:!0,forced:b,sham:!m},{getOwnPropertyDescriptor:function(E,I){return v(c(E),I)}})},e538:function(n,s,t){var a=t("b622");s.f=a},e893:function(n,s,t){var a=t("5135"),l=t("56ef"),c=t("06cf"),v=t("9bf2");n.exports=function(m,h){for(var b=l(h),S=v.f,E=c.f,I=0;I<b.length;I++){var w=b[I];a(m,w)||S(m,w,E(h,w))}}},e8b5:function(n,s,t){var a=t("c6b6");n.exports=Array.isArray||function(c){return a(c)=="Array"}},e95a:function(n,s,t){var a=t("b622"),l=t("3f8c"),c=a("iterator"),v=Array.prototype;n.exports=function(m){return m!==void 0&&(l.Array===m||v[c]===m)}},f5df:function(n,s,t){var a=t("00ee"),l=t("c6b6"),c=t("b622"),v=c("toStringTag"),m=l(function(){return arguments}())=="Arguments",h=function(b,S){try{return b[S]}catch{}};n.exports=a?l:function(b){var S,E,I;return b===void 0?"Undefined":b===null?"Null":typeof(E=h(S=Object(b),v))=="string"?E:m?l(S):(I=l(S))=="Object"&&typeof S.callee=="function"?"Arguments":I}},f772:function(n,s,t){var a=t("5692"),l=t("90e3"),c=a("keys");n.exports=function(v){return c[v]||(c[v]=l(v))}},fb15:function(n,s,t){if(t.r(s),typeof window<"u"){var a=window.document.currentScript;{var l=t("8875");a=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var c=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(t.p=c[1])}t("99af"),t("4de4"),t("4160"),t("c975"),t("d81d"),t("a434"),t("159b"),t("a4d3"),t("e439"),t("dbb4"),t("b64b");function v(A,C,D){return C in A?Object.defineProperty(A,C,{value:D,enumerable:!0,configurable:!0,writable:!0}):A[C]=D,A}function m(A,C){var D=Object.keys(A);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(A);C&&(j=j.filter(function(ee){return Object.getOwnPropertyDescriptor(A,ee).enumerable})),D.push.apply(D,j)}return D}function h(A){for(var C=1;C<arguments.length;C++){var D=arguments[C]!=null?arguments[C]:{};C%2?m(Object(D),!0).forEach(function(j){v(A,j,D[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(D)):m(Object(D)).forEach(function(j){Object.defineProperty(A,j,Object.getOwnPropertyDescriptor(D,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 D=[],j=!0,ee=!1,ce=void 0;try{for(var ge=A[Symbol.iterator](),xe;!(j=(xe=ge.next()).done)&&(D.push(xe.value),!(C&&D.length===C));j=!0);}catch(Be){ee=!0,ce=Be}finally{try{!j&&ge.return!=null&&ge.return()}finally{if(ee)throw ce}}return D}}t("a630"),t("fb6a"),t("b0c0"),t("25f0");function E(A,C){(C==null||C>A.length)&&(C=A.length);for(var D=0,j=new Array(C);D<C;D++)j[D]=A[D];return j}function I(A,C){if(A){if(typeof A=="string")return E(A,C);var D=Object.prototype.toString.call(A).slice(8,-1);if(D==="Object"&&A.constructor&&(D=A.constructor.name),D==="Map"||D==="Set")return Array.from(A);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))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 T(A,C){return b(A)||S(A,C)||I(A,C)||w()}function N(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 F(){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 U(A){return N(A)||R(A)||I(A)||F()}var _=t("a352"),te=t.n(_);function M(A){A.parentElement!==null&&A.parentElement.removeChild(A)}function J(A,C,D){var j=D===0?A.children[0]:A.children[D-1].nextSibling;A.insertBefore(C,j)}var z=t("dbf1");t("13d5"),t("4fad"),t("ac1f"),t("5319");function fe(A){var C=Object.create(null);return function(j){var ee=C[j];return ee||(C[j]=A(j))}}var Q=/-(\w)/g,Y=fe(function(A){return A.replace(Q,function(C,D){return D.toUpperCase()})});t("5db7"),t("73d9");var Z=["Start","Add","Remove","Update","End"],H=["Choose","Unchoose","Sort","Filter","Clone"],ae=["Move"],be=[ae,Z,H].flatMap(function(A){return A}).map(function(A){return"on".concat(A)}),Oe={manage:ae,manageAndEmit:Z,emit:H};function Ne(A){return be.indexOf(A)!==-1}t("caad"),t("2ca0");var Ve=["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 q(A){return Ve.includes(A)}function He(A){return["transition-group","TransitionGroup"].includes(A)}function Ke(A){return["id","class","role","style"].includes(A)||A.startsWith("data-")||A.startsWith("aria-")||A.startsWith("on")}function Le(A){return A.reduce(function(C,D){var j=T(D,2),ee=j[0],ce=j[1];return C[ee]=ce,C},{})}function Re(A){var C=A.$attrs,D=A.componentData,j=D===void 0?{}:D,ee=Le(Object.entries(C).filter(function(ce){var ge=T(ce,2),xe=ge[0];return ge[1],Ke(xe)}));return h(h({},ee),j)}function Me(A){var C=A.$attrs,D=A.callBackBuilder,j=Le(mt(C));Object.entries(D).forEach(function(ce){var ge=T(ce,2),xe=ge[0],Be=ge[1];Oe[xe].forEach(function(pe){j["on".concat(pe)]=Be(pe)})});var ee="[data-draggable]".concat(j.draggable||"");return h(h({},j),{},{draggable:ee})}function mt(A){return Object.entries(A).filter(function(C){var D=T(C,2),j=D[0];return D[1],!Ke(j)}).map(function(C){var D=T(C,2),j=D[0],ee=D[1];return[Y(j),ee]}).filter(function(C){var D=T(C,2),j=D[0];return D[1],!Ne(j)})}t("c740");function ot(A,C){if(!(A instanceof C))throw new TypeError("Cannot call a class as a function")}function Bt(A,C){for(var D=0;D<C.length;D++){var j=C[D];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(A,j.key,j)}}function ct(A,C,D){return C&&Bt(A.prototype,C),A}var St=function(C){var D=C.el;return D},Qe=function(C,D){return C.__draggable_context=D},qe=function(C){return C.__draggable_context},Ft=function(){function A(C){var D=C.nodes,j=D.header,ee=D.default,ce=D.footer,ge=C.root,xe=C.realList;ot(this,A),this.defaultNodes=ee,this.children=[].concat(U(j),U(ee),U(ce)),this.externalComponent=ge.externalComponent,this.rootTransition=ge.transition,this.tag=ge.tag,this.realList=xe}return ct(A,[{key:"render",value:function(D,j){var ee=this.tag,ce=this.children,ge=this._isRootComponent,xe=ge?{default:function(){return ce}}:ce;return D(ee,j,xe)}},{key:"updated",value:function(){var D=this.defaultNodes,j=this.realList;D.forEach(function(ee,ce){Qe(St(ee),{element:j[ce],index:ce})})}},{key:"getUnderlyingVm",value:function(D){return qe(D)}},{key:"getVmIndexFromDomIndex",value:function(D,j){var ee=this.defaultNodes,ce=ee.length,ge=j.children,xe=ge.item(D);if(xe===null)return ce;var Be=qe(xe);if(Be)return Be.index;if(ce===0)return 0;var pe=St(ee[0]),ne=U(ge).findIndex(function(ue){return ue===pe});return D<ne?0:ce}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),A}(),It=t("8bbf");function et(A,C){var D=A[C];return D?D():[]}function Ct(A){var C=A.$slots,D=A.realList,j=A.getKey,ee=D||[],ce=["header","footer"].map(function(ue){return et(C,ue)}),ge=T(ce,2),xe=ge[0],Be=ge[1],pe=C.item;if(!pe)throw new Error("draggable element must have an item slot");var ne=ee.flatMap(function(ue,Se){return pe({element:ue,index:Se}).map(function(Ie){return Ie.key=j(ue),Ie.props=h(h({},Ie.props||{}),{},{"data-draggable":!0}),Ie})});if(ne.length!==ee.length)throw new Error("Item slot must have only one child");return{header:xe,footer:Be,default:ne}}function Gn(A){var C=He(A),D=!q(A)&&!C;return{transition:C,externalComponent:D,tag:D?Object(It.resolveComponent)(A):C?It.TransitionGroup:A}}function At(A){var C=A.$slots,D=A.tag,j=A.realList,ee=A.getKey,ce=Ct({$slots:C,realList:j,getKey:ee}),ge=Gn(D);return new Ft({nodes:ce,root:ge,realList:j})}function jt(A,C){var D=this;Object(It.nextTick)(function(){return D.$emit(A.toLowerCase(),C)})}function nn(A){var C=this;return function(D,j){if(C.realList!==null)return C["onDrag".concat(A)](D,j)}}function cn(A){var C=this,D=nn.call(this,A);return function(j,ee){D.call(C,j,ee),jt.call(C,A,j)}}var fn=null,vn={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}},pn=["update:modelValue","change"].concat(U([].concat(U(Oe.manageAndEmit),U(Oe.emit)).map(function(A){return A.toLowerCase()}))),mn=Object(It.defineComponent)({name:"draggable",inheritAttrs:!1,props:vn,emits:pn,data:function(){return{error:!1}},render:function(){try{this.error=!1;var C=this.$slots,D=this.$attrs,j=this.tag,ee=this.componentData,ce=this.realList,ge=this.getKey,xe=At({$slots:C,tag:j,realList:ce,getKey:ge});this.componentStructure=xe;var Be=Re({$attrs:D,componentData:ee});return xe.render(It.h,Be)}catch(pe){return this.error=!0,Object(It.h)("pre",{style:{color:"red"}},pe.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&z.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var C=this;if(!this.error){var D=this.$attrs,j=this.$el,ee=this.componentStructure;ee.updated();var ce=Me({$attrs:D,callBackBuilder:{manageAndEmit:function(Be){return cn.call(C,Be)},emit:function(Be){return jt.bind(C,Be)},manage:function(Be){return nn.call(C,Be)}}}),ge=j.nodeType===1?j:j.parentElement;this._sortable=new te.a(ge,ce),this.targetDomElement=ge,ge.__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(D){return D[C]}}},watch:{$attrs:{handler:function(C){var D=this._sortable;D&&mt(C).forEach(function(j){var ee=T(j,2),ce=ee[0],ge=ee[1];D.option(ce,ge)})},deep:!0}},methods:{getUnderlyingVm:function(C){return this.componentStructure.getUnderlyingVm(C)||null},getUnderlyingPotencialDraggableComponent:function(C){return C.__draggable_component__},emitChanges:function(C){var D=this;Object(It.nextTick)(function(){return D.$emit("change",C)})},alterList:function(C){if(this.list){C(this.list);return}var D=U(this.modelValue);C(D),this.$emit("update:modelValue",D)},spliceList:function(){var C=arguments,D=function(ee){return ee.splice.apply(ee,U(C))};this.alterList(D)},updatePosition:function(C,D){var j=function(ce){return ce.splice(D,0,ce.splice(C,1)[0])};this.alterList(j)},getRelatedContextFromMoveEvent:function(C){var D=C.to,j=C.related,ee=this.getUnderlyingPotencialDraggableComponent(D);if(!ee)return{component:ee};var ce=ee.realList,ge={list:ce,component:ee};if(D!==j&&ce){var xe=ee.getUnderlyingVm(j)||{};return h(h({},xe),ge)}return ge},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),fn=C.item},onDragAdd:function(C){var D=C.item._underlying_vm_;if(D!==void 0){M(C.item);var j=this.getVmIndexFromDomIndex(C.newIndex);this.spliceList(j,0,D);var ee={element:D,newIndex:j};this.emitChanges({added:ee})}},onDragRemove:function(C){if(J(this.$el,C.item,C.oldIndex),C.pullMode==="clone"){M(C.clone);return}var D=this.context,j=D.index,ee=D.element;this.spliceList(j,1);var ce={element:ee,oldIndex:j};this.emitChanges({removed:ce})},onDragUpdate:function(C){M(C.item),J(C.from,C.item,C.oldIndex);var D=this.context.index,j=this.getVmIndexFromDomIndex(C.newIndex);this.updatePosition(D,j);var ee={element:this.context.element,oldIndex:D,newIndex:j};this.emitChanges({moved:ee})},computeFutureIndex:function(C,D){if(!C.element)return 0;var j=U(D.to.children).filter(function(xe){return xe.style.display!=="none"}),ee=j.indexOf(D.related),ce=C.component.getVmIndexFromDomIndex(ee),ge=j.indexOf(fn)!==-1;return ge||!D.willInsertAfter?ce:ce+1},onDragMove:function(C,D){var j=this.move,ee=this.realList;if(!j||!ee)return!0;var ce=this.getRelatedContextFromMoveEvent(C),ge=this.computeFutureIndex(ce,C),xe=h(h({},this.context),{},{futureIndex:ge}),Be=h(h({},C),{},{relatedContext:ce,draggedContext:xe});return j(Be,D)},onDragEnd:function(){fn=null}}}),gn=mn;s.default=gn},fb6a:function(n,s,t){var a=t("23e7"),l=t("861d"),c=t("e8b5"),v=t("23cb"),m=t("50c4"),h=t("fc6a"),b=t("8418"),S=t("b622"),E=t("1dde"),I=t("ae40"),w=E("slice"),T=I("slice",{ACCESSORS:!0,0:0,1:2}),N=S("species"),R=[].slice,F=Math.max;a({target:"Array",proto:!0,forced:!w||!T},{slice:function(_,te){var M=h(this),J=m(M.length),z=v(_,J),fe=v(te===void 0?J:te,J),Q,Y,Z;if(c(M)&&(Q=M.constructor,typeof Q=="function"&&(Q===Array||c(Q.prototype))?Q=void 0:l(Q)&&(Q=Q[N],Q===null&&(Q=void 0)),Q===Array||Q===void 0))return R.call(M,z,fe);for(Y=new(Q===void 0?Array:Q)(F(fe-z,0)),Z=0;z<fe;z++,Z++)z in M&&b(Y,Z,M[z]);return Y.length=Z,Y}})},fc6a:function(n,s,t){var a=t("44ad"),l=t("1d80");n.exports=function(c){return a(l(c))}},fdbc:function(n,s){n.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(n,s,t){var a=t("4930");n.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(Oa);var td=Oa.exports;const Ca=Hl(td);function Aa(u,o){["name","gender","phone","id_card","ethnicity","height","weight","current_address","household_location","marital_status","expected_salary","three_period"].forEach(n=>{o[n]&&(u[n].visible=o[n].visible,u[n].required=o[n].required)}),["family_member","education","work_experience"].forEach(n=>{o[n]&&(u[n].visible=o[n].visible,Object.keys(o[n].fields).forEach(s=>{u[n].fields[s]&&(u[n].fields[s].visible=o[n].fields[s].visible,u[n].fields[s].required=o[n].fields[s].required)}))})}const nd={class:"position-detail-container"},od={class:"header-container"},id={class:"header-actions"},ad={class:"detail-content"},rd={class:"detail-item"},ld={key:0,class:"detail-value"},sd={key:1,class:"title-edit-container"},dd={class:"title-edit-actions"},ud={class:"detail-item"},cd={key:0,class:"detail-value"},fd={key:1,class:"title-edit-container"},vd={class:"title-edit-actions"},pd={class:"detail-item"},md={key:0,class:"detail-value"},gd={key:1,class:"title-edit-container"},hd={class:"salary-range-container"},yd={class:"title-edit-actions"},bd={class:"detail-item"},Sd={key:0,class:"detail-value"},Ed={key:1,class:"title-edit-container"},xd={class:"title-edit-actions"},Id={class:"detail-item"},Cd={key:0,class:"detail-value"},Ad={key:1,class:"title-edit-container"},wd={class:"title-edit-actions"},Od={class:"detail-item"},Td={key:0,class:"detail-value"},Dd={key:1,class:"title-edit-container"},Pd={class:"title-edit-actions"},Vd={class:"detail-item"},Rd={class:"detail-value"},Ud={class:"detail-item"},kd={key:0,class:"detail-value"},Kd={key:1,class:"title-edit-container"},Md={class:"title-edit-actions"},Nd={class:"detail-item"},Bd=["innerHTML"],Fd={key:2,class:"title-edit-container"},jd={class:"title-edit-actions"},Ld={class:"detail-item"},Qd=["innerHTML"],Gd={key:2,class:"title-edit-container"},zd={class:"title-edit-actions"},$d={class:"detail-item"},Jd={key:0,class:"detail-value"},Wd={key:1,class:"title-edit-container"},Hd={class:"title-edit-actions"},Yd={class:"status-cards"},Xd={class:"status-switch"},Zd={class:"status-text"},qd={class:"section-title"},_d={class:"usage-content"},eu={key:0,class:"usage-value"},tu={key:1,class:"title-edit-container"},nu={class:"title-edit-actions"},ou={class:"section-title"},iu={class:"process-steps"},au={key:0,class:"step-number"},ru={class:"step-content"},lu={class:"step-title"},su={class:"section-title"},du={class:"process-dialog-content"},uu={key:0,class:"add-process-btn-top"},cu={key:0,class:"process-number"},fu={class:"process-edit-content"},vu={key:1,class:"process-edit-btn"},pu=["onClick"],mu={class:"dialog-footer"},gu={class:"ai-video-steps"},hu={key:0,class:"ai-video-content","element-loading-text":"正在生成能力标签..."},yu={class:"ai-video-options"},bu={class:"recommended-dimensions"},Su={class:"dimension-grid"},Eu={class:"ability-label"},xu={class:"optional-dimensions"},Iu={class:"header-row"},Cu={class:"right_btn"},Au={class:"dimension-grid"},wu={class:"ability-label"},Ou={class:"custom-dimensions"},Tu={class:"dimension-form"},Du={class:"dimension-row"},Pu={class:"dimension-input"},Vu={class:"dimension-input"},Ru={class:"dimension-actions"},Uu={key:1,class:"ai-video-content"},ku={class:"interview-settings"},Ku={class:"interview-header"},Mu={class:"interview-actions"},Nu={class:"question-switches"},Bu={class:"switch-item"},Fu={class:"switch-item"},ju={class:"interview-duration"},Lu={class:"duration-value"},Qu={class:"interview-content"},Gu={class:"interview-questions-container","element-loading-text":"AI正在生成题目..."},zu={key:0,class:"no-questions"},$u={key:1,class:"question-list"},Ju={class:"question-card"},Wu={class:"question-header"},Hu={class:"question-title"},Yu={class:"title-content"},Xu={class:"question-content"},Zu={class:"question-number"},qu={style:{color:"#0017ab"}},_u={class:"question-tags"},ec={key:0,class:"more-tags-indicator"},tc={class:"question-actions",style:{"margin-top":"0px"}},nc={class:"question-info"},oc={class:"info-item"},ic={key:0,class:"question-actions"},ac={class:"answer-limit"},rc={class:"answer-limit"},lc={key:1,class:"question-actions"},sc={class:"answer-limit"},dc={class:"multi-dimension-questions"},uc={class:"dimension-list"},cc={class:"dimension-header"},fc={class:"dimension-info"},vc={class:"ability-name"},pc=["onClick"],mc={key:2,class:"ai-video-content"},gc={class:"system-settings"},hc={class:"setting-section"},yc={style:{display:"flex","align-items":"flex-start"}},bc={style:{width:"100px",height:"170px","background-color":"#f2f2f2","margin-right":"30px","border-radius":"10px",overflow:"hidden"}},Sc=["src"],Ec={class:"interviewer-avatars"},xc=["onClick"],Ic={class:"avatar-wrapper"},Cc=["src","alt"],Ac=["title"],wc={class:"setting-item",style:{border:"none"}},Oc={class:"setting-options"},Tc={class:"interview-settings"},Dc={class:"setting-item"},Pc={class:"setting-item"},Vc={class:"setting-options"},Rc={class:"setting-item"},Uc={class:"drawer-footer"},kc={class:"video-lecture-form"},Kc={class:"form-item"},Mc={class:"upload-area"},Nc={class:"form-item"},Bc={class:"dialog-footer"},Fc={class:"ai-chat-content"},jc={class:"chat-settings"},Lc={class:"chat-actions"},Qc={class:"chat-questions"},Gc={key:0,class:"empty-questions"},zc={key:1,class:"question-list"},$c={class:"question-card"},Jc={class:"question-header"},Wc={class:"question-title"},Hc={class:"question-number"},Yc={class:"question-actions"},Xc={class:"weight-control"},Zc={class:"answer-limit"},qc={class:"question-info"},_c={class:"info-item"},ef={class:"info-item"},tf={class:"info-item"},nf={class:"drawer-footer"},of={class:"question-form"},af={class:"form-item"},rf={class:"form-item"},lf={class:"form-item"},sf={class:"competency-config"},df={class:"tag-name"},uf={class:"form-tip"},cf={class:"form-item"},ff={class:"form-item"},vf={key:0,class:"form-item"},pf=["onClick"],mf={key:1,class:"form-item"},gf={key:2},hf=["src"],yf={class:"form-item"},bf={class:"form-item"},Sf={class:"form-item"},Ef={class:"form-item"},xf={class:"dialog-footer"},If={class:"question-select-content"},Cf={class:"custom-tree-node"},Af={class:"node-label",style:{display:"flex","align-items":"center"}},wf={class:"ml-2"},Of={class:"dialog-footer"},Tf={class:"data-collection-form"},Df={class:"field-config-panel"},Pf={class:"field-config-list"},Vf={class:"field-config-item"},Rf={class:"field-label"},Uf={class:"field-config-item"},kf={class:"field-label"},Kf={class:"field-config-item sub-field"},Mf={class:"field-label"},Nf={class:"field-config-item"},Bf={class:"field-label"},Ff={class:"field-config-item sub-field"},jf={class:"field-label"},Lf={class:"field-config-item"},Qf={class:"field-label"},Gf={class:"field-config-item"},zf={class:"field-label"},$f={class:"field-config-item sub-field"},Jf={class:"field-label"},Wf={class:"dialog-footer"},Hf={class:"resume-collection-form"},Yf={class:"form-item"},Xf={class:"dialog-footer"},Zf={class:"code-test-form"},qf={class:"form-item"},_f={class:"form-item"},ev={class:"switch-label"},tv={class:"form-item"},nv={class:"test-paper-selector"},ov={key:0,class:"empty-paper"},iv={key:1,class:"selected-paper"},av={class:"paper-info"},rv={class:"paper-title"},lv={class:"paper-meta"},sv={class:"paper-actions"},dv={class:"dialog-footer"},uv={class:"typing-test-form"},cv={class:"form-item"},fv={class:"article-selection"},vv={class:"form-item"},pv={class:"form-item"},mv={class:"time-input-container"},gv={class:"form-item"},hv={class:"upload-area"},yv={class:"form-item"},bv={class:"form-item"},Sv={class:"form-item"},Ev={class:"form-item"},xv={class:"criteria-options"},Iv={class:"dialog-footer"},Cv={class:"interview-settings-content"},Av={class:"settings-section"},wv={class:"setting-item"},Ov={class:"setting-item"},Tv={class:"setting-item"},Dv={class:"setting-item"},Pv={class:"settings-section"},Vv={class:"setting-item"},Rv={class:"setting-info"},Uv={class:"setting-desc-container"},kv={class:"setting-item"},Kv={class:"setting-info"},Mv={key:0,class:"setting-desc-container"},Nv={class:"setting-desc"},Bv={key:1,class:"desc-edit-container"},Fv={class:"desc-edit-actions"},jv={class:"setting-item"},Lv={class:"setting-info"},Qv={key:0,class:"setting-desc-container"},Gv={class:"setting-desc"},zv={key:1,class:"desc-edit-container"},$v={class:"desc-edit-actions"},Jv={class:"setting-item"},Wv={class:"setting-info"},Hv={key:0,class:"setting-desc-container"},Yv={class:"setting-desc"},Xv={key:1,class:"desc-edit-container"},Zv={class:"desc-edit-actions"},qv={class:"dialog-footer"},_v={class:"question-select-content"},ep={class:"document-box document-left-box"},tp={class:"search-bar"},np={class:"search-inputs"},op={class:"question-lists"},ip={class:"pagination-container"},ap={class:"dialog-footer"},rp={class:"candidate-questions-form"},lp={class:"form-item"},sp={class:"form-item"},dp={class:"form-item"},up={class:"dialog-footer"},cp={class:"dialog-footer"},fp={class:"selected-applications-preview"},vp={class:"preview-title"},pp={class:"preview-footer"},wa="position_field_config_cache",mp=Kl({__name:"index",setup(u){const o=(f,e)=>{try{const O={positionId:e,config:JSON.parse(JSON.stringify(f)),timestamp:Date.now()};localStorage.setItem(wa,JSON.stringify(O))}catch(O){console.error("保存字段配置到缓存失败:",O)}},i=f=>{try{const e=localStorage.getItem(wa);if(e){const O=JSON.parse(e);if(O.positionId===f&&Date.now()-O.timestamp<6048e5)return O.config}return null}catch(e){return console.error("读取字段配置缓存失败:",e),null}},d=L(null),n=Ml(),s=Nl(),t=L(s.query.id),a=L(!1),l=L(!1),c=f=>m.slice(0,f+1).filter(e=>e.visible).length,v=_e({title:"",job_category:"",job_type_display:"",city:"",location:[],location_str:"",address_detail:"",benefits:[],requirements:"",job_type:0,salary_range:"",department:"",end_date:"",description:"",work_experience_required:"",education_required:"",competency_tags:[],options:[],status:0}),m=_e([{id:6,name:"简历收集",description:"简历收集",active:!0,type:"resume_collection",visible:!0},{id:5,name:"资料收集",description:"资料收集",active:!0,type:"data_collection",visible:!0},{id:2,name:"AI考察",description:"AI考察",active:!0,type:"ai_video",visible:!0},{id:8,name:"综合素质考察",description:"综合素质考察",active:!0,type:"common_sense",visible:!0},{id:9,name:"心理测试",description:"心理测试",active:!0,type:"psychological_problem",visible:!0},{id:10,name:"肢体检测",description:"肢体检测",active:!0,type:"posture_check",visible:!0},{id:7,name:"候选人提问",description:"时长5分钟,最多3个问题",active:!0,type:"candidate_questions",visible:!0,config:{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}},{id:3,name:"已通过",description:"已通过",active:!0,type:"passed",visible:!0},{id:4,name:"已淘汰",description:"已淘汰",active:!1,type:"rejected",visible:!0}]),h=L(!1),b=[{label:"视频宣讲",value:"video_presentation"},{label:"简历收集",value:"resume_collection"},{label:"资料收集",value:"data_collection"},{label:"AI考察",value:"ai_video"},{label:"综合素质考察",value:"common_sense"},{label:"心理测试",value:"psychological_problem"},{label:"候选人提问",value:"candidate_questions"},{label:"肢体检测",value:"posture_check"}],S=f=>(Vt.value.forEach(e=>{f.id==e.id&&(f.name=e.name)}),f.name),E=L(!1),I=f=>{lt.pageSize=f,_t({page:lt.page,limit:lt.pageSize,question_form:st.question_form}).then(e=>{e.data&&(lt.value=e.data.items,ft.page=e.data.page,ft.pageSize=e.data.limit,Qt.value=e.data.total)})},w=f=>{lt.page=f,_t({page:lt.page,limit:lt.pageSize,question_form:st.question_form}).then(e=>{e.data&&(lt.value=e.data.items,ft.page=e.data.page,ft.pageSize=e.data.limit,Qt.value=e.data.total)})},T=async()=>{const f=Lt.value.map(e=>e.id);if(console.log("selectedQuestionIds",f),f.length===0){P.warning("请至少选择一个问题");return}try{await fi({position_id:s.query.id,question_id:f,duration:60,tenant_id:qt.get("tenant_id")});const e=lt.value.filter(O=>O.selected);Lt.value.push(...e),P.success("问题添加成功"),E.value=!1}catch(e){console.error("添加问题失败:",e),e.code===4e3?P.warning("该题目已绑定,请选择其他题目"):P.error("添加问题失败,请重试")}},N=()=>{Un.value=!0,aa({position_id:s.query.id}).then(f=>{f.data.forEach(e=>{e.selected=!1}),Vt.value=f.data,console.log("res",f),Un.value=!1}).catch(f=>{console.log("err",f),Un.value=!1})},R=fs(),F=f=>{if(console.log("地址选择变化:",f),f&&Array.isArray(f)&&f.length>0){const[e,O,x]=f,V=R.find(re=>re.code===e);let B;V&&V.children&&(B=V.children.find(re=>re.code===O),B&&B.children&&B.children.find(re=>re.code===x))}},U=L(!1),_=L([]),te=async()=>{U.value=!0;try{const f=await ra({page:1,limit:100,job_id:s.query.id});f.data&&f.data.items&&(_.value=f.data.items)}catch(f){console.error("获取职位申请数据失败:",f),P.error("获取职位申请数据失败")}},M=(f,e)=>{},J=L(-1),z=L(!1),fe=_e({top:"0px",left:"0px"}),Q=L(!1),Y=_e({qualityControl:!1,teamwork:!1,problemSolving:!1,dataAnalysis:!1,positionMatch:!1,proactiveness:!1,basicAbility:!1,communication:!1,serviceAwareness:!1,xxxx:!1}),Z=L(1),H=L([{label:"沟通能力",value:"communication",level:"CC",description:"能够清晰、准确地表达想法,善于倾听和理解他人的观点,具备良好的书面和口头表达能力。",expanded:!1,isNew:!0},{label:"团队协作",value:"teamwork",level:"CC",description:"能够与团队成员有效合作,共同完成目标,具备良好的团队精神和协作意识。",expanded:!1,isNew:!1}]);_e({min:0,max:100,minScore:0,maxScore:0});const ae=f=>{console.log(f)};L("standard"),L(!1);const be=L(!1),Oe=_e({title:"",videoFile:null,description:"",broadcastType:"required"}),Ne=L(!1);L(15),L(5);const Ve=L(!1),q=_e({id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:"",question_image_url:"",blank_answer_template:[]}),He=f=>f.map(e=>e.id),Ke=L([]),Le=L([]),Re=L([{label:"技术能力",value:"tech"},{label:"管理能力",value:"management"},{label:"沟通能力",value:"communication"},{label:"专业知识",value:"professional"},{label:"个人素质",value:"personal"}]),Me=L([{label:"时间管理",value:"time_management"},{label:"压力处理",value:"pressure_handling"},{label:"团队合作",value:"team_cooperation"},{label:"问题分析",value:"problem_analysis"},{label:"创新思维",value:"innovative_thinking"}]),mt=()=>{Object.assign(q,{id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:"",question_image_url:"",blank_answer_template:[]})},ot=async()=>{const f=await zl({page:1,page_size:50});console.log(f),Le.value=f.data.map(e=>({label:e.title,value:String(e.id)}))},Bt=()=>{Ve.value=!1,mt()},ct=L(!1);_e({isRequired:!1,questions:[]}),L([{label:"Q1",value:"q1",isVisible:!0,enableScoring:!1,isRequired:!1},{label:"请问你的毕业院校是哪里?",value:"school",isVisible:!0,enableScoring:!1,isRequired:!0}]);const St=L(!1),Qe=_e({title:"简历收集",isRequired:!0,steps:4}),qe=()=>{St.value=!0},Ft=()=>{St.value=!1,Object.assign(Qe,{title:"简历收集",isRequired:!0,steps:4})},It=()=>{const f={id:Date.now(),name:Qe.title,description:"简历收集",active:!0,type:"resume_collection",config:{...Qe},visible:!0};m.splice(J.value,0,f),yt({id:De.value,require_resume_upload:!0}).then(e=>{e.code==2e3?m[0].visible=!0:P.error("删除失败")}),St.value=!1,P.success("简历收集步骤已添加"),Ft()},et=L(!1),Ct=_e({enableScoreQuestions:!1,enableColorBlindQuestions:!1,enableOpenQuestions:!1}),Gn=async()=>{try{const f=s.query.id;if(!f){P.error("职位ID不存在");return}const e=Array.isArray(f)?f[0]:f,O=f,x=await $l(f);if(x&&x.data){Object.assign(v,x.data),Ke.value=x.data.competency_tags;const V=await Mn(f);V&&V.data&&(De.value=V.data.id,V.data.enable_psychological_test!==void 0&&(Ct.enableScoreQuestions=V.data.enable_psychological_test),V.data.enable_color_blind_test!==void 0&&(Ct.enableColorBlindQuestions=V.data.enable_color_blind_test)),a.value=v.status===1}}catch(f){console.error("获取职位详情失败:",f),P.error("获取职位详情失败")}},At=()=>{n.push("/position/list")},jt=()=>{n.push("/position/list")},nn=async f=>{const e=s.query.id;try{const O=f?1:0;if(f){const x=await Jl({position_id:e,tenant_id:qt.get("tenant_id")});if(x.code===2e3){const{is_all_completed:V,total_questions:B}=x.data;if(!V||B<=0){P.warning(`无法开启职位,原因:${B<=0?"当前职位没有设置面试题目":"面试题目视频未全部生成完成"}`),a.value=!f;return}}else{P.error("检查视频状态失败,请稍后重试"),a.value=!f;return}}await Tt({id:e,status:O}),v.status=O,P.success(`职位已${f?"开启":"关闭"}`)}catch(O){console.error("修改状态失败:",O),P.error("修改状态失败"),a.value=!f}},cn=()=>{h.value=!0},fn=()=>{h.value=!1,P.success("招聘流程已更新")},vn=()=>{h.value=!1},pn=(f,e)=>{f.type=="ai_video"&&(Q.value=!1),f.type=="ai_chat"&&(Ne.value=!1),f.type=="ai_video"&&yt({id:De.value,enable_open_questions:!1}).then(O=>{O.code==2e3?P.success("删除成功"):P.error("删除失败")}),f.type=="psychological_problem"&&yt({id:De.value,enable_scoring_questions:!1}).then(O=>{O.code==2e3?P.success("删除成功"):P.error("删除失败")}),f.type=="common_sense"&&yt({id:De.value,enable_single_choice:!1,enable_multiple_choice:!1,enable_image_choice:!1,enable_fill_blank:!1}).then(O=>{O.code==2e3?P.success("删除成功"):P.error("删除失败")}),f.type=="resume_collection"&&yt({id:De.value,require_resume_upload:!1}).then(O=>{O.code==2e3?P.success("删除成功"):P.error("删除失败")}),f.type=="posture_check"&&yt({id:De.value,enable_posture_check:!1}).then(O=>{if(O.code==2e3){P.success("删除成功");return}else P.error("删除失败")}),m.splice(e,1),console.log("recruitmentProcess",m)},mn=f=>({0:"未发布",1:"已发布",2:"已结束"})[f]||"未知状态",gn=f=>({0:"info",1:"success",2:"danger"})[f]||"info",A=f=>({0:"全职",1:"兼职",2:"实习",3:"其他"})[f]||"未知",C=(f,e)=>{J.value=f,z.value=!0,console.log(f,e);const O=e.currentTarget,x=O.closest(".process-dialog-content");if(x){const V=O.getBoundingClientRect(),B=x.getBoundingClientRect(),re=V.bottom-B.top+5,$=V.left-B.left;fe.top=`${re}px`,fe.left=`${$}px`}e.stopPropagation()},D=async(f,e)=>{if(f==="ai_video"&&yt({id:De.value,enable_open_questions:!0}).then(V=>{V.code==2e3?(m[2].visible=!0,z.value=!1):P.error("更新配置失败")}),f==="common_sense"&&yt({id:De.value,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_fill_blank:!0}).then(V=>{V.code==2e3?(m[3].visible=!0,console.log("recruitmentProcess",m),z.value=!1):P.error("更新配置失败")}),f==="psychological_problem"&&yt({id:De.value,enable_scoring_questions:!0}).then(V=>{V.code==2e3?(m[4].visible=!0,z.value=!1):P.error("更新配置失败")}),f==="post_render_questions"){gl.value=!0,z.value=!1;return}if(f==="posture_check"&&yt({id:De.value,enable_posture_check:!0}).then(V=>{V.code==2e3?(console.log("recruitmentProcess",m),m[5].visible=!0):P.error("删除失败")}),m.find(V=>!!(V.type&&V.type===f||V.name===e))){z.value=!1;return}if(f==="ai_chat"){Ne.value=!0,z.value=!1;return}if(f==="video_presentation"){It(),z.value=!1;return}if(f==="data_collection"){const V=await Mn(s.query.id);V&&V.data?(De.value=V.data.id,Aa(G,V.data.profile_fields_config),ct.value=!0,z.value=!1):(ct.value=!0,z.value=!1);return}if(f==="resume_collection"){qe(),z.value=!1;return}if(f==="posture_check"&&(z.value=!1),f==="code_test"){Ga(),z.value=!1;return}if(f==="typing_test"){$n.value=!0,z.value=!1;return}if(f==="candidate_questions"){kn.value=!0,z.value=!1;return}const x={id:Date.now(),name:e,description:e,active:!0,type:f,visible:!0};console.log("newStep",x),m.splice(J.value,0,x),z.value=!1},j=async()=>{if(Z.value<3){if(Z.value===1){const f=Vt.value.filter(e=>e.selected);if(f.length===0){P.warning("请至少选择一个胜任力考核维度");return}try{H.value=f.map(e=>({label:e.name,value:e.name.toLowerCase().replace(/\s+/g,"_"),id:e.id,description:e.description||"",level:"CC",expanded:!1,isNew:!0}))}catch(e){console.error("处理胜任力标签失败:",e),P.error("处理胜任力标签失败");return}}if(Z.value===2){if(Ce.value.length===0){P.warning("请至少添加一个面试题目");return}try{await Ur()}catch(f){console.error("保存题目失败:",f),P.error("保存题目失败");return}}if(Z.value===3){const f=kr();if(!f.isValid){f.messages.forEach(O=>{P.warning(O)});return}const e=Nr();console.log("完整的面试配置:",e)}Z.value++}else ce()},ee=()=>{Z.value>1&&Z.value--},ce=async()=>{var V;if(!gt.value||!gt.value.id){P.warning("请选择面试官形象");return}if(!Ko.value){P.warning("请选择面试官");return}const f={id:gt.value.id,name:gt.value.name,avatar_url:gt.value.avatar_url||gt.value.image},e=li(),O={enableScoreQuestions:Ct.enableScoreQuestions,enableColorBlindQuestions:Ct.enableColorBlindQuestions};try{if(await Tt({id:s.query.id,status:0}),v.status=0,a.value=!1,De.value==0){const B=await vi({position_id:s.query.id,digital_human_id:gt.value.id});if(B.code==2e3){P.success("配置保存成功");try{const re={config_id:((V=B.data)==null?void 0:V.id)||B.data};e.beforeStartText&&e.beforeStartText.trim()!==""?(await pi(re),console.log("开场白生成成功"),Q.value=!1,Z.value=1,await new Promise(ie=>setTimeout(ie,4e3))):console.log("无开场白配置,跳过开场白生成"),await la(re),P.success("视频开始生成")}catch(re){console.error("获取开场白和视频失败:",re),P.warning("视频生成中,请稍后")}}else P.error("配置保存失败")}else if((await yt({id:De.value,digital_human_id:gt.value.id})).code==2e3){P.success("配置保存成功");try{const re={config_id:De.value};console.log("开始生成开场白..."),await pi(re),console.log("开场白生成成功"),Q.value=!1,Z.value=1,console.log("等待4秒后开始生成视频..."),await jr(4e3),console.log("开始生成视频..."),await la(re),console.log("视频生成请求已发送"),P.success("视频开始生成")}catch(re){console.error("获取开场白和视频失败:",re),P.warning("视频生成中,请稍后")}}else P.error("配置保存失败")}catch(B){console.error("更新职位状态失败:",B),P.error("更新职位状态失败");return}console.log("保存时选中的面试官:",f),console.log("保存时的面试设置:",e),console.log("保存时的题目设置:",O);const x={id:Date.now(),name:"AI考察",description:`已选择${H.value.length}项能力测评`,active:!0,type:"ai_video",abilities:H.value.map(B=>B.value),interviewer:f,settings:e};m.splice(J.value,0,x),Q.value=!1,Z.value=1,P.success("AI考察步骤已添加")},ge=()=>{Q.value=!1,Z.value=1},xe=f=>{},Be=()=>{be.value=!1,Object.assign(Oe,{title:"",videoFile:null,description:"",broadcastType:"required"})},pe=()=>{const f={id:Date.now(),name:Oe.title||"视频宣讲",description:Oe.description||"视频宣讲",active:!0,type:"video_presentation",config:{...Oe}};m.splice(J.value,0,f),be.value=!1,P.success("视频宣讲步骤已添加"),Be()},ne=()=>{const f={id:Date.now(),name:"AI实时对话",description:"AI实时对话",active:!0,type:"ai_chat"};m.splice(J.value,0,f),Ne.value=!1,P.success("AI实时对话步骤已添加")},ue=()=>{Ne.value=!1},Se=()=>{if(!Ue.title.trim()){P.warning("请输入环节名称");return}if(Ue.duration<=0){P.warning("提问时长必须大于0分钟");return}if(Ue.maxQuestions<=0){P.warning("最多提问数量必须大于0");return}if(uo.value>=0){const f=m[uo.value];f.name=Ue.title,f.description=`时长${Ue.duration}分钟,最多${Ue.maxQuestions}个问题`,f.config={...Ue},P.success("候选人提问环节已更新")}else{const f={id:Date.now(),name:Ue.title,description:`时长${Ue.duration}分钟,最多${Ue.maxQuestions}个问题`,active:!0,type:"candidate_questions",config:{...Ue},visible:!0};m.splice(J.value,0,f),P.success("候选人提问环节已添加")}kn.value=!1,it()},Ie=()=>{kn.value=!1,it()},it=()=>{uo.value=-1,Object.assign(Ue,{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]})},Ce=L([]),ii=ui(()=>Ce.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)),Cn=ui(()=>{const f=ii.value;if(f<60)return`${f}秒`;const e=Math.floor(f/60),O=f%60;return O>0?`${e}分${O}秒`:`${e}分钟`}),Fa=()=>{Ve.value=!0},ki=()=>{Mo.value={question:"",question_form:0,competency_tags:[],position_types:[],category_id:null,tags:[],recommended_duration:60,status:1,is_required_correct:!1,is_system:!1,sort:1,options:[],scoring_reference:"",blank_answer_template:[]},zi.value=!1,ao.value=!0},ja=async f=>{try{const e=await ps({...f,tenant_id:qt.get("tenant_id")});if(console.log(f),e&&e.code===2e3){if(P.success("题目创建成功"),console.log(e),e.data){const O={id:e.data.id||e.data,title:f.question,content:f.question,question_form:f.question_form,question_form_name:Mi(f.question_form),scoring_reference:f.scoring_reference||"",competency_tag_info:f.competency_tags||[],competency_tags:f.competency_tags||[],options:f.options||[],enable_follow_up:!1,maxAnswers:1,weight:100,source:"custom_selected",question_image_url:f.question_image_url||""};Ce.value.push(O)}ao.value=!1}else P.error("题目创建失败,请重试")}catch(e){console.error("创建题目失败:",e),P.error("题目创建失败,请重试")}},Ki=()=>{ao.value=!1,Mo.value={}},Mi=f=>({0:"开放问题",1:"单选题",2:"多选题",3:"识图题",4:"得分题",5:"判断题",6:"填空题"})[f]||"未知类型",Ni=f=>{if(Ce.value[f].source!=="ai_generated")console.log(Ce.value[f].id),os(Ce.value[f].id).then(e=>{var O;if(console.log(e),e.code===2e3){const x={id:e.data.id,content:e.data.question,question_form:e.data.question_form,question_form_name:Mi(e.data.question_form),scoring_reference:e.data.scoring_reference,competency_tag_info:e.data.competency_tag_info,competency_tags:e.data.competency_tags,options:(O=e.data.options)==null?void 0:O.map(V=>({text:V.option_text,is_correct:V.is_correct,sort:V.sort})),enable_follow_up:e.data.enable_follow_up,maxAnswers:e.data.maxAnswers,weight:e.data.weight,question_image_url:e.data.question_image_url,blank_answer_template:e.data.blank_answer_template||[]};Object.assign(q,x)}});else{const e=Ce.value[f];console.log(e),Object.assign(q,e),console.log(Ce)}Ve.value=!0,pl()},Bi=f=>{ia.confirm("确认删除该问题?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Ce.value.splice(f,1),P.success("删除成功")})},La=()=>{Object.assign(G,JSON.parse(JSON.stringify($i))),ct.value=!1};Bl(()=>{Gn(),Li(),Br(),ot(),Qa()}),Fl(()=>{Gi()});const Qa=async()=>{try{const f=s.query.id;if(f){const e=await Mn(f);e&&e.data&&(e.data.enable_psychological_test!==void 0&&(Ct.enableScoreQuestions=e.data.enable_psychological_test),e.data.enable_color_blind_test!==void 0&&(Ct.enableColorBlindQuestions=e.data.enable_color_blind_test),Ge.positionDetection=e.data.enable_emotion_analysis,m[2].visible=e.data.question_form_switches.enable_open_questions,m[3].visible=e.data.question_form_switches.enable_single_choice||e.data.question_form_switches.enable_multiple_choice||e.data.question_form_switches.enable_image_choice||e.data.question_form_switches.enable_fill_blank,m[4].visible=e.data.question_form_switches.enable_scoring_questions,m[5].visible=e.data.enable_posture_check,m[0].visible=e.data.require_resume_upload)}}catch(f){console.error("初始化配置状态失败:",f)}},zn=L(!1),at=_e({title:"代码笔试",autoJudge:!0,selectedPaper:null}),Ga=()=>{zn.value=!0},Fi=()=>{zn.value=!1,Object.assign(at,{title:"代码笔试",autoJudge:!0,selectedPaper:null})},za=()=>{if(!at.selectedPaper){P.warning("请添加考试试卷");return}const f={id:Date.now(),name:at.title,description:`${at.selectedPaper.title}`,active:!0,type:"code_test",config:{...at}};m.splice(J.value,0,f),zn.value=!1,P.success("代码笔试步骤已添加"),Fi()},$a=()=>{at.selectedPaper={id:1,title:"前端开发工程师笔试",questionCount:4,duration:60,difficulty:"中等难度"}},Ja=()=>{P.info("查看试卷功能开发中")},Wa=()=>{P.info("更换试卷功能开发中")},Ha=()=>{at.selectedPaper=null},$n=L(!1),tt=_e({title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]}),ji=()=>{$n.value=!1,Object.assign(tt,{title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]})},Ya=()=>{const f={id:Date.now(),name:tt.title,description:`打字测试 ${tt.duration}分钟`,active:!0,type:"typing_test",config:{...tt}};m.splice(J.value,0,f),$n.value=!1,P.success("打字测试步骤已添加"),ji()},wo=L(!1),An=L(""),Xa=()=>{An.value=v.title,wo.value=!0},Za=()=>{wo.value=!1},qa=async()=>{if(!An.value.trim()){P.warning("职位名称不能为空");return}try{const f=s.query.id;await Tt({id:f,title:An.value.trim()}),v.title=An.value.trim(),wo.value=!1,P.success("职位名称已更新")}catch(f){console.error("更新职位名称失败:",f),P.error("更新职位名称失败")}},Oo=L(!1),Ht=L(""),_a=()=>{if(!v.location)Ht.value="";else if(Array.isArray(v.location))Ht.value=v.location;else if(typeof v.location=="string")try{const e=v.location.replace(/[\[\]']/g,"").split(",").map(B=>B.trim()),O=R.find(B=>B.name===e[0]);let x,V;O&&O.children&&(x=O.children.find(B=>B.name===e[1]),x&&x.children&&(V=x.children.find(B=>B.name===e[2]))),Ht.value=[O==null?void 0:O.code,x==null?void 0:x.code,V==null?void 0:V.code].filter(Boolean)}catch(f){console.error("解析地址失败:",f),Ht.value=""}Oo.value=!0},er=()=>{Oo.value=!1},tr=async()=>{try{const f=s.query.id,e=[];if(Ht.value&&Array.isArray(Ht.value)){const[O,x,V]=Ht.value,B=R.find(ie=>ie.code===O);let re,$;B&&(e.push(B.name),B.children&&(re=B.children.find(ie=>ie.code===x),re&&(e.push(re.name),re.children&&($=re.children.find(ie=>ie.code===V),$&&e.push($.name)))))}await Tt({id:f,location:e}),v.location=e,Oo.value=!1,P.success("工作地点已更新")}catch(f){console.error("更新工作地点失败:",f),P.error("更新工作地点失败")}},To=L(!1),Jn=L("月薪"),hn=L(0),on=L(0),nr=()=>{if(v.salary_range){const f=v.salary_range.split(" ");if(f.length>=2){Jn.value=f[0];const e=f[1].split("-");e.length===2&&(hn.value=parseInt(e[0])||0,on.value=parseInt(e[1])||0)}}else Jn.value="月薪",hn.value=0,on.value=0;To.value=!0},or=()=>{To.value=!1},ai=()=>{hn.value>on.value&&on.value!==0&&(hn.value=on.value)},ir=async()=>{try{const f=s.query.id,e=`${Jn.value} ${hn.value}-${on.value}`;await Tt({id:f,salary_range:e}),v.salary_range=e,To.value=!1,P.success("职位薪资已更新")}catch(f){console.error("更新职位薪资失败:",f),P.error("更新职位薪资失败")}},Do=L(!1),Wn=L(""),ar=()=>{Wn.value=v.work_experience_required||"",Do.value=!0},rr=()=>{Do.value=!1},lr=async()=>{try{const f=s.query.id;await Tt({id:f,work_experience_required:Wn.value}),v.work_experience_required=Wn.value,Do.value=!1,P.success("工作经验已更新")}catch(f){console.error("更新工作经验失败:",f),P.error("更新工作经验失败")}},Po=L(!1),Hn=L(""),sr=()=>{Hn.value=v.education_required||"",Po.value=!0},dr=()=>{Po.value=!1},ur=async()=>{try{const f=s.query.id;await Tt({id:f,education_required:Hn.value}),v.education_required=Hn.value,Po.value=!1,P.success("学历要求已更新")}catch(f){console.error("更新学历要求失败:",f),P.error("更新学历要求失败")}},Vo=L(!1),Yn=L(""),cr=()=>{Yn.value=v.department||"",Vo.value=!0},fr=()=>{Vo.value=!1},vr=async()=>{try{const f=s.query.id;await Tt({id:f,department:Yn.value.trim()}),v.department=Yn.value.trim(),Vo.value=!1,P.success("所属部门已更新")}catch(f){console.error("更新所属部门失败:",f),P.error("更新所属部门失败")}},Ro=L(!1),Xn=L(""),pr=()=>{Xn.value=v.end_date||"",Ro.value=!0},mr=()=>{Ro.value=!1},gr=async()=>{try{const f=s.query.id;await Tt({id:f,end_date:Xn.value}),v.end_date=Xn.value,Ro.value=!1,P.success("截止日期已更新")}catch(f){console.error("更新截止日期失败:",f),P.error("更新截止日期失败")}},Zn=L(!1),qn=L(""),hr=()=>{qn.value=v.requirements||"",Zn.value=!0},yr=()=>{Zn.value=!1},br=async()=>{try{const f=s.query.id;await Tt({id:f,requirements:qn.value}),v.requirements=qn.value,Zn.value=!1,P.success("职位要求已更新")}catch(f){console.error("更新职位要求失败:",f),P.error("更新职位要求失败")}},_n=L(!1),eo=L(""),Sr=()=>{eo.value=v.description||"",_n.value=!0},Er=()=>{_n.value=!1},xr=async()=>{try{const f=s.query.id;await Tt({id:f,description:eo.value}),v.description=eo.value,_n.value=!1,P.success("职位描述已更新")}catch(f){console.error("更新职位描述失败:",f),P.error("更新职位描述失败")}},wn=L(!1),to=L(0),Ir=()=>{to.value=v.job_type||0,wn.value=!0},Cr=()=>{wn.value=!1},Ar=async()=>{try{const f=s.query.id;await Tt({id:f,job_type:to.value}),v.job_type=to.value,wn.value=!1,P.success("职位性质已更新")}catch(f){console.error("更新职位性质失败:",f),P.error("更新职位性质失败")}},Vt=L([]),Uo=L(!1),On=L([]),Li=async()=>{try{const f=await es({page:1,pageSize:1e3});f&&f.data}catch(f){console.error("获取能力标签列表失败:",f),P.error("获取能力标签列表失败")}},wr=async()=>{var f;await Li(),On.value=((f=v.competency_tags)==null?void 0:f.map(e=>e.id))||[],Ke.value.forEach(e=>{e.selected=On.value.includes(e.id)}),Uo.value=!0},Or=()=>{Uo.value=!1},Tr=async()=>{try{const f=s.query.id;await Tt({id:f,competency_tags:On.value}),v.competency_tags=Ke.value.filter(e=>On.value.includes(e.id)).map(e=>({id:e.id,name:e.name})),Uo.value=!1,P.success("能力标签已更新")}catch(f){console.error("更新能力标签失败:",f),P.error("更新能力标签失败")}},Dr=L(null),De=L(0),ko=async f=>{if(f.name==="资料收集"){const e=await Mn(s.query.id);e&&e.data&&(De.value=e.data.id,Aa(G,e.data.profile_fields_config),ct.value=!0,z.value=!1);return}if(f.name==="AI考察"){if(f.action==="delete"){await ml();return}const e=await Mn(s.query.id);Un.value=!0,Dr.value=f,Q.value=!0,Z.value=1;try{const O=await sa({position_id:s.query.id,page:1,limit:20});O&&O.data&&O.data.dataList&&(Ce.value=O.data.dataList.map(B=>(B.content=B.question,B.title=B.question,B.competency_tags=B.competency_tag_info,B.source="ai_generated",B)));const x=await ra({job_id:s.query.id,page:1,limit:50});if(x&&x.data){const B=x.data.items.filter(ie=>ie.question_form!==4&&ie.question_form!==5).map(ie=>(ie.content=ie.question,ie.title=ie.question,ie.source="selected_application",ie.id=ie.question_id,ie)),re=new Set(Ce.value.map(ie=>ie.content)),$=B.filter(ie=>!re.has(ie.content));Ce.value=[...Ce.value,...$],console.log("chatQuestions",Ce.value)}const V=await ss({position_id:s.query.id,page:1,limit:50});if(console.log("existingTags",V),V&&V.data&&V.data.items.length>0)V.data.items.forEach(B=>{B.importance=1,B.selected=!1,v.latest_competency_snapshot&&Array.isArray(v.latest_competency_snapshot)&&(B.selected=v.latest_competency_snapshot.some(re=>re.id===B.id))}),Vt.value=V.data.items;else{const B=await aa({position_id:s.query.id});if(B&&B.data){B.data.forEach(re=>{re.selected=!1}),Vt.value=B.data;try{await ds({position_id:s.query.id,tags:Vt.value}),P.success("胜任力标签保存成功")}catch(re){console.error("保存胜任力标签失败:",re),P.error("胜任力标签保存失败")}}}e&&e.data&&(De.value=e.data.id)}catch(O){console.error("获取或生成能力标签失败:",O),P.error("获取或生成能力标签失败")}finally{Un.value=!1}Object.keys(Y).forEach(O=>{Y[O]=!1})}f.name==="综合素质考察"&&_t({page:1,limit:20}).then(e=>{e.data&&(lt.value=e.data.items,ft.page=e.data.page,ft.pageSize=e.data.limit,Qt.value=e.data.total,Il(),E.value=!0)}),f.name==="心理测试"&&_t({page:1,limit:30,question_form:4}).then(e=>{e.data&&(st.question_form=4,lt.value=e.data.items,ft.page=e.data.page,ft.pageSize=e.data.limit,Qt.value=e.data.total,wl(),Dn.value=!0)})},an=L(""),Tn=L(""),Pr=L(!1),Vr=async()=>{if(!an.value.trim()){P.warning("请输入维度名称");return}if(Vt.value.find(e=>e.name===an.value.trim())){P.warning("该维度名称已存在,请重新输入");return}try{const e=await is({name:an.value.trim(),description:Tn.value.trim(),importance:1,weight:0});if(!e.data)throw new Error("创建标签失败");const O=e.data.id;await as({tag_ids:[O],position_ids:[t.value]});const x={id:O,name:an.value.trim(),description:Tn.value.trim(),selected:!1,importance:1,weight:0,isCustom:!0};Vt.value.push(x),Pr.value,an.value="",Tn.value="",console.log("添加新维度成功:",x),console.log("当前备选维度列表:",Vt.value)}catch(e){console.error("添加自定义维度失败:",e),P.error("添加自定义维度失败,请重试")}},rt=_e({keepVideo:!0,interruptionMode:"",smartFollowUp:!1,followUpStyle:""}),ri=L([{id:1,name:"Jessica",image:"/avatars/jessica.png"},{id:2,name:"Mike",image:"/avatars/mike.png"},{id:3,name:"Sarah",image:"/avatars/sarah.png"}]),gt=L(ri.value[0]),Ko=L(""),Rr=f=>{gt.value=f,console.log("选中的面试官信息:",{id:f.id,name:f.name,avatar_url:f.avatar_url||f.image}),Ko.value=f.avatar_url,P.success(`已选择面试官:${f.name}`)},Ur=async()=>{const f=Ce.value.filter(O=>O.source==="ai_generated"),e=Ce.value.filter(O=>O.source==="custom_selected");if(console.log("AI生成的题目:",f),console.log("自定义选择的题目:",e),f.length>0&&(await rs({draft_ids:f.map(O=>O.id)}),console.log("AI生成的题目已保存到草稿")),e.length>0){const O={position_id:s.query.id,question_id:{question_id:e},duration:60,tenant_id:qt.get("tenant_id")};console.log("自定义选择的题目需要调用专门的接口处理");const x=await fi(O);x&&x.code===2e3?P.success("自定义选择的题目已保存"):P.error("自定义选择的题目保存失败")}},li=()=>{const f={keepVideo:rt.keepVideo,interruptionMode:rt.interruptionMode,followUpStyle:rt.followUpStyle,smartFollowUp:rt.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}},kr=()=>{const f=li(),e={isValid:!0,messages:[]};return f.interruptionMode===""&&(e.isValid=!1,e.messages.push("请选择中断后作答限制模式")),e},Kr=f=>{l.value=!0,console.log("开始拖拽题目:",f)},Mr=f=>{l.value=!1,console.log("拖拽结束:",f),console.log("当前题目顺序:",Ce.value),P.success("题目顺序已更新")},Nr=()=>({interviewer:{id:gt.value.id,name:gt.value.name,avatar_url:gt.value.avatar_url||gt.value.image},settings:li(),questionSettings:{enableScoreQuestions:Ct.enableScoreQuestions,enableColorBlindQuestions:Ct.enableColorBlindQuestions},abilities:H.value,questions:Ce.value,currentStep:Z.value}),Br=async()=>{const f=await ts({page:1,pageSize:1e3});f&&f.data&&(ri.value=f.data)},Qi=(f,e)=>{e?oo.value.push({name:f.name,description:f.description||"暂无描述"}):oo.value=oo.value.filter(O=>O.name!==f.name)},Fr=f=>{ia.confirm("确认删除这个胜任力标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const e=H.value[f];H.value.splice(f,1),oo.value=oo.value.filter(x=>x.name!==e.label);const O=Vt.value.find(x=>x.name===e.label);O&&(O.selected=!1),P.success("胜任力标签已删除")}).catch(()=>{})},oo=L([]),jr=f=>new Promise(e=>setTimeout(e,f));let Yt=null;const Lr=async(f,e=300,O=2e3)=>{let x=0;Yt={cancelled:!1};const V=Yt;return new Promise((B,re)=>{const $=async()=>{try{if(V.cancelled){console.log("轮询已被取消"),B(null);return}x++,console.log(`第${x}次轮询获取草稿列表...`);const ie=await sa(f);if(V.cancelled){console.log("轮询已被取消"),B(null);return}if(ie&&ie.data&&ie.data.dataList&&ie.data.dataList.length>0){console.log("轮询成功,获取到草稿列表数据"),Yt=null,B(ie);return}if(x>=e){console.log("轮询达到最大次数,停止轮询"),Yt=null,B(ie);return}setTimeout($,O)}catch(ie){if(console.error(`第${x}次轮询失败:`,ie),V.cancelled){console.log("轮询已被取消"),B(null);return}x<e?setTimeout($,O):(Yt=null,re(ie))}};$()})},Gi=()=>{Yt&&(Yt.cancelled=!0,Yt=null,console.log("轮询已被手动取消"))},Qr=()=>{Gi(),et.value=!1,P.info("已取消AI自动组题")},Dn=L(!1),io=L(""),lt=L([]),Lt=L([]),ao=L(!1),Mo=L({}),zi=L(!1);L(0);const Qt=L(0),st=_e({page:1,pageSize:10,keyword:"",question_form:null}),ft=_e({page:1,limit:20,keyword:"",question_form:null}),Gr=async()=>{try{const f={...st,keyword:io.value,...st.question_form!==null&&{question_form:st.question_form}},e=await _t(f);e&&e.data&&(console.log(e.data),lt.value=e.data.items,Qt.value=e.data.total)}catch(f){console.error("获取题目列表失败:",f),P.error("获取题目列表失败")}},No=()=>{st.page=1,Gr()},zr=f=>{Lt.value=f},$r=()=>{Dn.value=!1,Lt.value=[],io.value=""},Jr=async()=>{if(Lt.value.length===0){P.warning("请至少选择一个题目");return}try{const f=Lt.value.map(O=>O.id);await fi({position_id:s.query.id,question_id:f,duration:60,tenant_id:qt.get("tenant_id")});const e=Lt.value.map(O=>({id:O.id,title:O.question||O.title,ability:O.ability||"未设置",content:O.content||O.question,target:O.target||"未设置",competency_tags:O.competency_tags||[],question_form_name:O.question_form_name,scoring_reference:O.scoring_reference,question_form:O.question_form,is_required_correct:O.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:O.options||[],source:"custom_selected"}));Ce.value.push(...e),Dn.value=!1,Lt.value=[],io.value="",P.success("题目添加成功")}catch(f){console.error("添加题目失败:",f),Dn.value=!1,f.code===4e3?P.warning("该题目已绑定,请选择其他题目"):P.error("添加题目失败,请重试")}},$i={name:{visible:!0,label:"姓名",required:!0},gender:{visible:!0,label:"性别",required:!0},three_period:{visible:!0,label:"是否为三期",required:!0},phone:{visible:!0,label:"手机号",required:!0},id_card:{visible:!0,label:"身份证号",required:!0},ethnicity:{visible:!0,label:"民族",required:!0},height:{visible:!0,label:"身高(cm)",required:!1},weight:{visible:!0,label:"体重(kg)",required:!1},current_address:{visible:!0,label:"现居住地址",required:!0},household_location:{visible:!0,label:"户口所在地",required:!1},marital_status:{visible:!0,label:"婚育状况",required:!1},expected_salary:{visible:!0,label:"期望薪资(元/月)",required:!1},family_member:{visible:!0,label:"家庭成员",fields:{relation:{visible:!0,label:"称谓",required:!0},name:{visible:!0,label:"姓名",required:!0},workplace_address:{visible:!0,label:"工作单位/家庭地址",required:!1},position:{visible:!0,label:"职务",required:!1},phone:{visible:!0,label:"联系电话",required:!0},is_emergency_contact:{visible:!0,label:"是否为紧急联系人",required:!1}}},education:{visible:!0,label:"教育经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},school_name:{visible:!0,label:"学校名称",required:!0},major:{visible:!0,label:"专业",required:!0},degree:{visible:!0,label:"学历",required:!0}}},require_professional_skills:{visible:!0,label:"专业技能",required:!0},training_fields_config:{visible:!0,label:"受过的培训",required:!0},work_experience:{visible:!0,label:"工作经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},company_name:{visible:!0,label:"单位名称",required:!0},employee_count:{visible:!0,label:"单位人数",required:!0},department:{visible:!0,label:"任职部门",required:!0},position:{visible:!0,label:"担任职务",required:!0},monthly_salary:{visible:!0,label:"月总收入",required:!0},supervisor:{visible:!0,label:"直接领导",required:!0},supervisor_phone:{visible:!0,label:"领导电话",required:!0}}},question_form_switches:{enable_open_questions:!0,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_scoring_questions:!0,enable_follow_up_questions:!0,enable_fill_blank:!0}},G=_e(()=>{const f=i(s.query.id);return f?(console.log("从缓存加载字段配置"),f):(console.log("使用默认字段配置"),JSON.parse(JSON.stringify($i)))})(),Wr=async()=>{try{const f={position_id:s.query.id,require_resume_upload:!0,resume_file_types:["pdf","docx","doc"],max_resume_size_mb:10,digital_human_opening_speech:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",require_basic_info:!0,profile_fields_config:{name:{required:G.name.required,visible:G.name.visible},phone:{required:G.phone.required,visible:G.phone.visible},id_card:{required:G.id_card.required,visible:G.id_card.visible},gender:{required:G.gender.required,visible:G.gender.visible},birth_date:{required:!1,visible:!0},political_status:{required:!1,visible:!0},ethnicity:{required:G.ethnicity.required,visible:G.ethnicity.visible},height:{required:G.height.required,visible:G.height.visible},weight:{required:G.weight.required,visible:G.weight.visible},marital_status:{required:G.marital_status.required,visible:G.marital_status.visible}},require_education_info:G.education.visible,education_fields_config:{school_name:{required:G.education.fields.school_name.required,visible:G.education.fields.school_name.visible},major:{required:G.education.fields.major.required,visible:G.education.fields.major.visible},degree:{required:G.education.fields.degree.required,visible:G.education.fields.degree.visible},start_date:{required:G.education.fields.start_time.required,visible:G.education.fields.start_time.visible},end_date:{required:G.education.fields.end_time.required,visible:G.education.fields.end_time.visible}},require_work_experience:G.work_experience.visible,work_experience_fields_config:{company_name:{required:G.work_experience.fields.company_name.required,visible:G.work_experience.fields.company_name.visible},position:{required:G.work_experience.fields.position.required,visible:G.work_experience.fields.position.visible},department:{required:G.work_experience.fields.department.required,visible:G.work_experience.fields.department.visible},start_date:{required:G.work_experience.fields.start_time.required,visible:G.work_experience.fields.start_time.visible},end_date:{required:G.work_experience.fields.end_time.required,visible:G.work_experience.fields.end_time.visible},job_description:{required:!0,visible:!0},achievements:{required:!1,visible:!0},resignation_reason:{required:!1,visible:!0}},require_family_info:G.family_member.visible,family_fields_config:{relation:{required:G.family_member.fields.relation.required,visible:G.family_member.fields.relation.visible},name:{required:G.family_member.fields.name.required,visible:G.family_member.fields.name.visible},workplace:{required:G.family_member.fields.workplace_address.required,visible:G.family_member.fields.workplace_address.visible},position:{required:G.family_member.fields.position.required,visible:G.family_member.fields.position.visible},phone:{required:G.family_member.fields.phone.required,visible:G.family_member.fields.phone.visible}},require_training_info:G.training_fields_config.visible,require_professional_skills:G.require_professional_skills.visible,enable_posture_check:!0,posture_check_config:{required_photos:["front","side","back"],instructions:"请按照提示上传您的全身照片,确保光线充足,背景简洁"},interview_duration_minutes:45,enable_video_recording:!0,enable_face_recognition:!0,scoring_method:"hybrid",auto_analysis_enabled:!0,custom_welcome_message:"欢迎参加咖啡师岗位的面试,请放松心情,准备好开始面试吧!",custom_instructions:"本次面试共有10个问题,每个问题有60秒的回答时间,请简洁明了地表达您的观点。",notification_config:{send_email:!0,send_sms:!1,notify_hr:!0,completion_message:"感谢您完成面试,我们将在3个工作日内给您回复。"},is_active:!0,is_template:!1};De.value==0||(f.id=De.value),De.value==0?(await vi(f)).code==2e3?(P.success("配置保存成功"),o(G,s.query.id),ct.value=!1,z.value=!1):P.error("配置保存失败"):(await yt(f)).code==2e3?(P.success("配置保存成功"),o(G,s.query.id),ct.value=!1,z.value=!1):P.error("配置保存失败")}catch(f){console.error("保存配置失败:",f),P.error("配置保存失败")}},Hr=()=>({name:G.name,id_card:G.id_card,phone:G.phone,gender:G.gender,three_period:G.three_period,ethnicity:G.ethnicity,height:G.height,weight:G.weight,current_address:G.current_address,household_location:G.household_location,marital_status:G.marital_status,expected_salary:G.expected_salary}),Yr=()=>({skills:G.require_professional_skills,training:G.training_fields_config}),ro=L(!1),Ge=_e({faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部结束,感谢您的参与,请等待后续通知。"}),Pn=L(!1),lo=L(!1),so=L(!1),rn=L(""),Vn=L(""),Rn=L(""),Xr=()=>{ro.value=!1,Pn.value=!1,lo.value=!1,so.value=!1,Object.assign(Ge,{faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我想咨询其间的面试,欢迎来到大面试",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部流程拍摄,面试者同意可为今后资讯调研"})},Zr=async()=>{let f;f=await yt({id:De.value,enable_emotion_analysis:Ge.positionDetection}),f.code==2e3||P.error("配置保存失败")},qr=()=>{Zr(),P.success("面试设置已保存"),ro.value=!1},_r=()=>{Mn(s.query.id).then(f=>{ro.value=!0,De.value=f.data.id,Ge.beforeStartText=f.data.digital_human_opening_speech})},el=()=>{rn.value=Ge.beforeStartText,Pn.value=!0},tl=()=>{Pn.value=!1,rn.value=""},nl=async()=>{var f;if(!rn.value.trim()){P.warning("开始前提示内容不能为空");return}Ge.beforeStartText=rn.value.trim();try{let e;if(console.log(De.value),De.value==0)e=await vi({position_id:s.query.id,digital_human_opening_speech:rn.value.trim()}),e.code===2e3?(De.value=((f=e.data)==null?void 0:f.id)||e.data,P.success("开场词提示内容已创建"),Pn.value=!1):P.error("开场词提示内容创建失败");else if(e=await yt({id:De.value,digital_human_opening_speech:rn.value.trim()}),e.code===2e3){P.success("开场词提示内容已更新"),Pn.value=!1;try{const O={config_id:De.value};await pi(O),console.log("开场词生成成功")}catch(O){console.error("获取开场词失败:",O),P.warning("开场词生成中,请稍后")}}else P.error("开场词提示内容更新失败")}catch(e){console.error("保存开场词提示内容失败:",e),P.error("保存失败,请重试")}},ol=()=>{Vn.value=Ge.afterStartText,lo.value=!0},il=()=>{lo.value=!1,Vn.value=""},al=()=>{if(!Vn.value.trim()){P.warning("开始后提醒内容不能为空");return}Ge.afterStartText=Vn.value.trim(),lo.value=!1,P.success("开始后提醒内容已更新")},rl=()=>{Rn.value=Ge.disclaimerText,so.value=!0},ll=()=>{so.value=!1,Rn.value=""},sl=()=>{if(!Rn.value.trim()){P.warning("内容不能为空");return}Ge.disclaimerText=Rn.value.trim(),so.value=!1,P.success("内容已更新")},yn=_e({openQuestionsCount:5,choiceQuestionsCount:10}),Ji=()=>{console.log("题目数量已更新:",yn)},Wi=async()=>{try{et.value=!0;const f=H.value.map(x=>x.id);if(f.length===0){P.warning("请先选择能力标签");return}const e={position_id:s.query.id,competency_tag_ids:f,open_questions_count:yn.openQuestionsCount,choice_questions_count:yn.choiceQuestionsCount,auto_save:!0,tenant_id:qt.get("tenant_id")},O=await ls(e);if(O&&O.data){const x=await Lr({tenant_id:qt.get("tenant_id"),page:1,limit:30,position_id:s.query.id});if(console.log(x),x===null){console.log("轮询被取消,停止处理");return}if(x&&x.data&&x.data.dataList){const V=x.data.dataList.map(B=>({id:B.id||Date.now(),title:B.question||B.title,ability:B.ability||"未设置",content:B.content||B.question,target:B.target||"未设置",competency_tags:B.competency_tag_info||[],question_form_name:B.question_form_name,scoring_reference:B.scoring_reference,question_form:B.question_form,is_required_correct:B.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:B.options||[],source:"ai_generated"}));Ce.value=V,P.success(`已成功生成${V.length}个面试题目`)}else P.warning("AI生成题目中,请稍后再试")}}catch(f){console.error("AI自动组题失败:",f),P.error("AI自动组题失败,请重试")}finally{et.value=!1}},dl=f=>{if(q.competency_tags=[],f.length>0){const e=Math.floor(100/f.length),O=100%f.length;q.competency_tags=f.map((x,V)=>{const B=Ke.value.find(re=>re.id===x);return{id:x,name:B?B.name:`标签${x}`,weight:e+(V<O?1:0)}})}},ul=f=>{switch(q.type=f,f){case"open":q.suggestedDuration=120;break;case"single":case"multiple":q.suggestedDuration=60;break;case"fill":q.suggestedDuration=30;break;case"self":q.suggestedDuration=180;break;default:q.suggestedDuration=60}},Un=L(!1),kn=L(!1),uo=L(-1),Ue=_e({title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}),cl=(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=["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]),kn.value=!0},fl=(f,e)=>{switch(f.type){case"ai_video":ko(f);break;case"candidate_questions":cl(f,e);break;case"data_collection":ko(f);break;case"resume_collection":ko(f);break;default:ko(f);break}},vl=(f,e)=>{(e===null||e<0)&&(e=0),e>100&&(e=100);const O=q.competency_tags;O[f].weight;const x=Math.round(e);if(O[f].weight=x,O.length===1){O[0].weight=100;return}const V=O.filter((re,$)=>$!==f),B=V.reduce((re,$)=>re+$.weight,0);if(B===0){const re=100-x,$=Math.floor(re/V.length),ie=re%V.length;V.forEach((dt,Rt)=>{const Gt=O.findIndex(zt=>zt.id===dt.id);O[Gt].weight=$+(Rt<ie?1:0)})}else{const re=100-x;if(re>0){V.forEach(ie=>{const dt=O.findIndex(Gt=>Gt.id===ie.id),Rt=ie.weight/B;O[dt].weight=Math.round(re*Rt)});const $=si();if($!==100){const ie=100-$,dt=V.reduce((Gt,zt)=>zt.weight>Gt.weight?zt:Gt),Rt=O.findIndex(Gt=>Gt.id===dt.id);O[Rt].weight+=ie}}else V.forEach($=>{const ie=O.findIndex(dt=>dt.id===$.id);O[ie].weight=0})}},si=()=>q.competency_tags.reduce((e,O)=>e+(O.weight||0),0),pl=()=>{const f=q.competency_tags;if(f.length===0)return;const e=Math.floor(100/f.length),O=100%f.length;f.forEach((x,V)=>{x.weight=e+(V<O?1:0)})},Hi=ui({get:()=>He(q.competency_tags),set:f=>{q.competency_tags=f,dl(f)}}),ml=async()=>{try{const f=await us({position_id:s.query.id,tenant_id:qt.get("tenant_id"),is_ai_generated:!0});f&&f.data&&f.data.length>0&&(await cs({position_id:s.query.id,question_id:f.data.map(e=>e.id),tenant_id:qt.get("tenant_id")}),De.value>0&&await yt({id:De.value,enable_ai_questions:!1}),P.success("AI考察问题已删除"))}catch(f){console.error("删除AI考察问题失败:",f),P.error("删除AI考察问题失败")}};ea(()=>G.question_form_switches.enable_open_questions,f=>{f?m.forEach(e=>{e.type==="ai_interview"&&(e.visible=!0)}):m.forEach(e=>{e.type==="ai_interview"&&(e.visible=!1)})},{immediate:!0}),ea(G,f=>{d.value&&clearTimeout(d.value),d.value=setTimeout(()=>{o(f,s.query.id),console.log("字段配置已自动保存到本地缓存")},1e3)},{deep:!0}),L(!1),L(!1);const gl=L(!1),Bo=L(!1),ln=L({duration:5,detectionItems:["face","pose"],promptText:"请按照提示完成相应的动作,系统将自动进行检测。"}),hl=()=>{Bo.value=!1},yl=async()=>{try{await saveProcessConfig({position_id:s.params.id,process_type:"posture_check",config:ln.value}),P.success("配置保存成功"),Bo.value=!1}catch(f){console.error("保存肢体检测配置失败:",f),P.error("配置保存失败")}},Yi=L([]),bl=L(),Sl=f=>{console.log(f);const{firstLevel:e,secondLevel:O,currentNode:x}=f;O?_t({page:1,limit:20,question_tags:O.id.replace("tag_",""),question_form:st.question_form}).then(V=>{V.data&&(lt.value=V.data.items,ft.page=V.data.page,ft.pageSize=V.data.limit,Qt.value=V.data.total)}):e&&_t({page:1,limit:20,question_category:e.id.replace("category_",""),question_form:st.question_form}).then(V=>{V.data&&(lt.value=V.data.items,ft.page=V.data.page,ft.pageSize=V.data.limit,Qt.value=V.data.total)})},El=f=>{console.log(f)},xl=f=>{console.log(f)},Il=()=>{da({page:1,limit:100}).then(f=>{console.log("ret",f),f.data,ua({page:1,limit:100}).then(e=>{console.log("res",e);const O=e.data.items.filter(x=>!["技术能力","服务意识","职业素质","基本常识","色盲检测","内容铺垫","心理测试1","心理测试"].includes(x.name));ca({}).then(x=>{console.log("res",x);const V=x.data.items,B=[...O.map(re=>({id:`category_${re.id}`,title:re.name,children:V.filter($=>$.category_id===re.id).map($=>({id:`tag_${$.id}`,title:$.name,chinese_explanation:$.chinese_explanation||""}))}))];Yi.value=B})})})},Xi=L([]),Cl={children:"children",label:"title"},Al=async f=>{try{if(f.id.startsWith("category_")){const e=f.id.replace("category_",""),O=await _t({page:1,limit:1e3,question_category:e,question_form:st.question_form});if(O&&O.data){lt.value=O.data.items,ft.page=O.data.page,ft.pageSize=O.data.limit,Qt.value=O.data.total;const x=document.querySelector(".el-table__header-wrapper");if(x){const V=x.querySelector(".el-checkbox");V&&V.__vueParentComponent.emit("change",!0)}Lt.value=O.data.items}}else if(f.id.startsWith("tag_")){const e=f.id.replace("tag_",""),O=await _t({page:1,limit:1e3,question_tags:e,question_form:st.question_form});if(O&&O.data){lt.value=O.data.items,ft.page=O.data.page,ft.pageSize=O.data.limit,Qt.value=O.data.total;const x=document.querySelector(".el-table__header-wrapper");if(x){const V=x.querySelector(".el-checkbox");V&&V.__vueParentComponent.emit("change",!0)}Lt.value=O.data.items}}}catch(e){console.error("获取题目列表失败:",e),P.error("获取题目列表失败")}},wl=()=>{da({page:1,limit:100}).then(f=>{console.log("ret",f),f.data,ua({page:1,limit:100}).then(e=>{console.log("res",e);const O=e.data.items.filter(x=>["心理测试"].includes(x.name));ca({}).then(x=>{console.log("res",x);const V=x.data.items,B=[...O.map(re=>({id:`category_${re.id}`,title:re.name,children:V.filter($=>$.category_id===re.id).map($=>({id:`tag_${$.id}`,title:$.name,chinese_explanation:$.chinese_explanation||""}))}))];Xi.value=B})})})};return(f,e)=>{const O=Pe("page-header"),x=Pe("el-button"),V=Pe("el-icon"),B=Pe("el-input"),re=Pe("el-cascader"),$=Pe("el-option"),ie=Pe("el-select"),dt=Pe("el-input-number"),Rt=Pe("el-tag"),Gt=Pe("el-date-picker"),zt=Pe("el-card"),nt=Pe("el-switch"),wt=Pe("el-dialog"),Xt=Pe("el-checkbox"),Ol=Pe("Refresh"),co=Pe("el-radio"),Zi=Pe("el-upload"),Kn=Pe("el-tooltip"),Tl=Pe("Folder"),Dl=Pe("el-tree"),$t=Pe("el-col"),Zt=Pe("el-row"),Pl=Pe("el-radio-group"),Fo=Pe("el-table-column"),qi=Pe("el-table"),Vl=Pe("el-pagination"),di=Pe("el-form-item"),Rl=Pe("el-checkbox-group"),Ul=Pe("el-form"),_i=jl("loading");return K(),X("div",nd,[r("div",od,[p(O,{title:"测试",onBack:At}),r("div",id,[p(x,{type:"primary",onClick:jt},{default:y(()=>e[93]||(e[93]=[k("保存")])),_:1})])]),r("div",ad,[p(zt,{class:"detail-card"},{default:y(()=>[e[126]||(e[126]=r("div",{class:"section-title"},[r("div",{class:"section-line"}),r("span",null,"职位详情")],-1)),r("div",rd,[e[96]||(e[96]=r("div",{class:"detail-label"},"职位名称",-1)),wo.value?(K(),X("div",sd,[p(B,{modelValue:An.value,"onUpdate:modelValue":e[0]||(e[0]=g=>An.value=g),placeholder:"请输入职位名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"]),r("div",dd,[p(x,{size:"small",onClick:Za},{default:y(()=>e[94]||(e[94]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:qa},{default:y(()=>e[95]||(e[95]=[k("保存")])),_:1})])])):(K(),X("div",ld,[k(se(v.title)+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:Xa},{default:y(()=>[p(V,null,{default:y(()=>[p(de(ht))]),_:1})]),_:1})]))]),r("div",ud,[e[99]||(e[99]=r("div",{class:"detail-label"},"工作地点",-1)),Oo.value?(K(),X("div",fd,[p(re,{modelValue:Ht.value,"onUpdate:modelValue":e[1]||(e[1]=g=>Ht.value=g),options:de(R),props:{expandTrigger:"hover",checkStrictly:!1,value:"code",label:"name"},style:{width:"100%"},placeholder:"请选择工作地点",clearable:"",onChange:F},null,8,["modelValue","options"]),r("div",vd,[p(x,{size:"small",onClick:er},{default:y(()=>e[97]||(e[97]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:tr},{default:y(()=>e[98]||(e[98]=[k("保存")])),_:1})])])):(K(),X("div",cd,[k(se((()=>{if(!v.location)return"暂无";if(Array.isArray(v.location))return v.location.join(",");if(typeof v.location=="string")try{return v.location.replace(/[\[\]']/g,"").split(",").map(le=>le.trim()).join(",")}catch{return v.location}return v.location})())+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:_a},{default:y(()=>[p(V,null,{default:y(()=>[p(de(ht))]),_:1})]),_:1})]))]),r("div",pd,[e[103]||(e[103]=r("div",{class:"detail-label"},"职位薪资",-1)),To.value?(K(),X("div",gd,[r("div",hd,[p(ie,{modelValue:Jn.value,"onUpdate:modelValue":e[2]||(e[2]=g=>Jn.value=g),placeholder:"薪资类型",class:"salary-type-select",onChange:ai},{default:y(()=>[p($,{label:"月薪",value:"月薪"}),p($,{label:"年薪",value:"年薪"}),p($,{label:"日薪",value:"日薪"}),p($,{label:"时薪",value:"时薪"})]),_:1},8,["modelValue"]),p(dt,{modelValue:hn.value,"onUpdate:modelValue":e[3]||(e[3]=g=>hn.value=g),placeholder:"起始薪资",class:"salary-input",type:"number","controls-position":"right",min:"0",onInput:ai},null,8,["modelValue"]),e[100]||(e[100]=r("span",{class:"salary-separator"},"-",-1)),p(dt,{modelValue:on.value,"onUpdate:modelValue":e[4]||(e[4]=g=>on.value=g),placeholder:"最高薪资",class:"salary-input","controls-position":"right",type:"number",min:"0",onInput:ai},null,8,["modelValue"])]),r("div",yd,[p(x,{size:"small",onClick:or},{default:y(()=>e[101]||(e[101]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:ir},{default:y(()=>e[102]||(e[102]=[k("保存")])),_:1})])])):(K(),X("div",md,[k(se(v.salary_range||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:nr},{default:y(()=>[p(V,null,{default:y(()=>[p(de(ht))]),_:1})]),_:1})]))]),r("div",bd,[e[106]||(e[106]=r("div",{class:"detail-label"},"工作经验",-1)),Do.value?(K(),X("div",Ed,[p(ie,{modelValue:Wn.value,"onUpdate:modelValue":e[5]||(e[5]=g=>Wn.value=g),placeholder:"请选择工作经验",style:{width:"100%"}},{default:y(()=>[p($,{label:"不限",value:"不限"}),p($,{label:"应届毕业生",value:"应届毕业生"}),p($,{label:"1年以下",value:"1年以下"}),p($,{label:"1-3年",value:"1-3年"}),p($,{label:"3-5年",value:"3-5年"}),p($,{label:"5-10年",value:"5-10年"}),p($,{label:"10年以上",value:"10年以上"})]),_:1},8,["modelValue"]),r("div",xd,[p(x,{size:"small",onClick:rr},{default:y(()=>e[104]||(e[104]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:lr},{default:y(()=>e[105]||(e[105]=[k("保存")])),_:1})])])):(K(),X("div",Sd,[k(se(v.work_experience_required||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:ar},{default:y(()=>[p(V,null,{default:y(()=>[p(de(ht))]),_:1})]),_:1})]))]),r("div",Id,[e[109]||(e[109]=r("div",{class:"detail-label"},"学历要求",-1)),Po.value?(K(),X("div",Ad,[p(ie,{modelValue:Hn.value,"onUpdate:modelValue":e[6]||(e[6]=g=>Hn.value=g),placeholder:"请选择学历要求",style:{width:"100%"}},{default:y(()=>[p($,{label:"不限",value:"不限"}),p($,{label:"高中",value:"高中"}),p($,{label:"大专",value:"大专"}),p($,{label:"本科",value:"本科"}),p($,{label:"硕士",value:"硕士"}),p($,{label:"博士",value:"博士"})]),_:1},8,["modelValue"]),r("div",wd,[p(x,{size:"small",onClick:dr},{default:y(()=>e[107]||(e[107]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:ur},{default:y(()=>e[108]||(e[108]=[k("保存")])),_:1})])])):(K(),X("div",Cd,[k(se(v.education_required||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:sr},{default:y(()=>[p(V,null,{default:y(()=>[p(de(ht))]),_:1})]),_:1})]))]),r("div",Od,[e[112]||(e[112]=r("div",{class:"detail-label"},"所属部门",-1)),Vo.value?(K(),X("div",Dd,[p(B,{modelValue:Yn.value,"onUpdate:modelValue":e[7]||(e[7]=g=>Yn.value=g),placeholder:"请输入所属部门",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),r("div",Pd,[p(x,{size:"small",onClick:fr},{default:y(()=>e[110]||(e[110]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:vr},{default:y(()=>e[111]||(e[111]=[k("保存")])),_:1})])])):(K(),X("div",Td,[k(se(v.department||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:cr},{default:y(()=>[p(V,null,{default:y(()=>[p(de(ht))]),_:1})]),_:1})]))]),r("div",Vd,[e[113]||(e[113]=r("div",{class:"detail-label"},"职位状态",-1)),r("div",Rd,[p(Rt,{type:gn(v.status)},{default:y(()=>[k(se(mn(v.status)),1)]),_:1},8,["type"])])]),r("div",Ud,[e[116]||(e[116]=r("div",{class:"detail-label"},"截止日期",-1)),Ro.value?(K(),X("div",Kd,[p(Gt,{modelValue:Xn.value,"onUpdate:modelValue":e[8]||(e[8]=g=>Xn.value=g),type:"datetime",placeholder:"请选择截止日期","value-format":"YYYY-MM-DD HH:mm:ss",style:{width:"100%"}},null,8,["modelValue"]),r("div",Md,[p(x,{size:"small",onClick:mr},{default:y(()=>e[114]||(e[114]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:gr},{default:y(()=>e[115]||(e[115]=[k("保存")])),_:1})])])):(K(),X("div",kd,[k(se(v.end_date||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:pr},{default:y(()=>[p(V,null,{default:y(()=>[p(de(ht))]),_:1})]),_:1})]))]),r("div",Nd,[e[119]||(e[119]=r("div",{class:"detail-label"},"职位要求",-1)),Zn.value?Te("",!0):(K(),X("div",{key:0,class:"detail-value html-content",innerHTML:v.requirements},null,8,Bd)),Zn.value?(K(),X("div",Fd,[p(B,{modelValue:qn.value,"onUpdate:modelValue":e[9]||(e[9]=g=>qn.value=g),type:"textarea",rows:"6",placeholder:"请输入职位要求",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),r("div",jd,[p(x,{size:"small",onClick:yr},{default:y(()=>e[117]||(e[117]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:br},{default:y(()=>e[118]||(e[118]=[k("保存")])),_:1})])])):(K(),we(x,{key:1,type:"text",class:"edit-title-btn",onClick:hr},{default:y(()=>[p(V,null,{default:y(()=>[p(de(ht))]),_:1})]),_:1}))]),e[127]||(e[127]=r("div",{style:{width:"100%","border-bottom":"1px solid #e5e5e5"}},null,-1)),r("div",Ld,[e[122]||(e[122]=r("div",{class:"detail-label"},"职位描述",-1)),_n.value?Te("",!0):(K(),X("div",{key:0,class:"detail-value html-content",innerHTML:v.description},null,8,Qd)),_n.value?(K(),X("div",Gd,[p(B,{modelValue:eo.value,"onUpdate:modelValue":e[10]||(e[10]=g=>eo.value=g),type:"textarea",rows:"6",placeholder:"请输入职位描述",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),r("div",zd,[p(x,{size:"small",onClick:Er},{default:y(()=>e[120]||(e[120]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:xr},{default:y(()=>e[121]||(e[121]=[k("保存")])),_:1})])])):(K(),we(x,{key:1,type:"text",class:"edit-title-btn",onClick:Sr},{default:y(()=>[p(V,null,{default:y(()=>[p(de(ht))]),_:1})]),_:1}))]),r("div",$d,[e[125]||(e[125]=r("div",{class:"detail-label"},"能力标签",-1)),Uo.value?(K(),X("div",Wd,[p(ie,{modelValue:On.value,"onUpdate:modelValue":e[11]||(e[11]=g=>On.value=g),multiple:"",filterable:"",placeholder:"请选择能力标签",style:{width:"100%"}},{default:y(()=>[(K(!0),X(Ye,null,Xe(Ke.value,g=>(K(),we($,{key:g.id,label:g.name,value:g.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),r("div",Hd,[p(x,{size:"small",onClick:Or},{default:y(()=>e[123]||(e[123]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:Tr},{default:y(()=>e[124]||(e[124]=[k("保存")])),_:1})])])):(K(),X("div",Jd,[(K(!0),X(Ye,null,Xe(v.competency_tags,g=>(K(),we(Rt,{key:g.id,effect:"plain",class:"competency-tag"},{default:y(()=>[k(se(g.name),1)]),_:2},1024))),128)),p(x,{type:"text",class:"edit-title-btn",onClick:wr},{default:y(()=>[p(V,null,{default:y(()=>[p(de(ht))]),_:1})]),_:1})]))])]),_:1}),r("div",Yd,[p(zt,{class:"status-card"},{default:y(()=>[e[128]||(e[128]=r("div",{class:"section-title"},[r("div",{class:"section-line"}),r("span",null,"职位状态")],-1)),r("div",Xd,[p(nt,{modelValue:a.value,"onUpdate:modelValue":e[12]||(e[12]=g=>a.value=g),"inactive-text":"",onChange:nn},null,8,["modelValue"]),r("span",Zd,se(a.value?"已启用":"待启用"),1)])]),_:1}),p(zt,{class:"status-card"},{default:y(()=>[r("div",qd,[e[130]||(e[130]=r("div",{class:"section-line"},null,-1)),e[131]||(e[131]=r("span",null,"职位性质",-1)),wn.value?Te("",!0):(K(),we(x,{key:0,type:"text",class:"edit-btn",onClick:Ir},{default:y(()=>e[129]||(e[129]=[k("编辑")])),_:1}))]),r("div",_d,[wn.value?Te("",!0):(K(),X("div",eu,se(A(v.job_type)),1)),wn.value?(K(),X("div",tu,[p(ie,{modelValue:to.value,"onUpdate:modelValue":e[13]||(e[13]=g=>to.value=g),placeholder:"请选择职位性质",style:{width:"100%"}},{default:y(()=>[p($,{label:"全职",value:0}),p($,{label:"兼职",value:1}),p($,{label:"实习",value:2}),p($,{label:"其他",value:3})]),_:1},8,["modelValue"]),r("div",nu,[p(x,{size:"small",onClick:Cr},{default:y(()=>e[132]||(e[132]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:Ar},{default:y(()=>e[133]||(e[133]=[k("保存")])),_:1})])])):Te("",!0)])]),_:1}),p(zt,{class:"status-card"},{default:y(()=>[r("div",ou,[e[135]||(e[135]=r("div",{class:"section-line"},null,-1)),e[136]||(e[136]=r("span",null,"招聘流程",-1)),p(x,{type:"text",class:"edit-btn",onClick:cn},{default:y(()=>e[134]||(e[134]=[k("设置流程")])),_:1})]),r("div",iu,[(K(!0),X(Ye,null,Xe(m,(g,le)=>jo((K(),X("div",{key:g.id,class:Ot(["process-step",{disabled:!g.active}])},[g.name!="已通过"&&g.name!="已淘汰"?(K(),X("div",au,se(c(le)),1)):Te("",!0),r("div",ru,[r("div",lu,se(g.name),1)])],2)),[[ta,g.visible]])),128))])]),_:1}),p(zt,{class:"status-card"},{default:y(()=>[r("div",su,[e[138]||(e[138]=r("div",{class:"section-line"},null,-1)),e[139]||(e[139]=r("span",null,"面试设置",-1)),p(x,{type:"text",class:"edit-btn",onClick:_r},{default:y(()=>e[137]||(e[137]=[k("编辑")])),_:1})])]),_:1})])]),p(wt,{title:"设置招聘流程",modelValue:h.value,"onUpdate:modelValue":e[16]||(e[16]=g=>h.value=g),width:"500px","close-on-click-modal":!1},{footer:y(()=>[r("span",mu,[p(x,{onClick:vn},{default:y(()=>e[143]||(e[143]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:fn},{default:y(()=>e[144]||(e[144]=[k("确定")])),_:1})])]),default:y(()=>[r("div",du,[(K(!0),X(Ye,null,Xe(m,(g,le)=>jo((K(),X("div",{key:g.id},[le<m.length-1?(K(),X("div",uu,[p(x,{type:"text",onClick:Ae=>C(le,Ae)},{default:y(()=>[p(V,null,{default:y(()=>[p(de(bn))]),_:1})]),_:2},1032,["onClick"])])):Te("",!0),r("div",{class:Ot(["process-edit-item",{highlight:g.active}])},[g.name!="已通过"&&g.name!="已淘汰"?(K(),X("div",cu,se(c(le)),1)):Te("",!0),r("div",fu,[r("div",null,se(g.name),1)]),g.name!="已通过"&&g.name!="已淘汰"?(K(),X("div",vu,[g.name!="简历收集"&&g.name!="肢体检测"?(K(),we(x,{key:0,type:"info",size:"small",plain:"",onClick:Ae=>fl(g,le)},{default:y(()=>e[140]||(e[140]=[k(" 修改 ")])),_:2},1032,["onClick"])):Te("",!0),g.name!="资料收集"&&g.name!="AI考察"?(K(),we(x,{key:1,type:"danger",size:"small",plain:"",style:{"margin-top":"10px","margin-left":"0px"},onClick:Ae=>pn(g,le)},{default:y(()=>e[141]||(e[141]=[k(" 删除 ")])),_:2},1032,["onClick"])):Te("",!0)])):Te("",!0)],2)])),[[ta,g.visible]])),128)),e[142]||(e[142]=r("div",{class:"add-process-btn"},null,-1))]),z.value?(K(),X("div",{key:0,class:"process-options-menu",style:Ql({top:fe.top,left:fe.left}),onClick:e[15]||(e[15]=Ll(()=>{},["stop"]))},[r("div",{class:"close-btn",onClick:e[14]||(e[14]=g=>z.value=!1)},[p(V,null,{default:y(()=>[p(de(Zl))]),_:1})]),(K(),X(Ye,null,Xe(b,g=>r("div",{key:g.value,class:"process-option-item",onClick:le=>D(g.value,g.label)},se(g.label),9,pu)),64))],4)):Te("",!0)]),_:1},8,["modelValue"]),p(de(ci),{title:"AI考察",modelValue:Q.value,"onUpdate:modelValue":e[35]||(e[35]=g=>Q.value=g),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-video-drawer","destroy-on-close":!1},{footer:y(()=>[r("div",Uc,[Z.value>1?(K(),we(x,{key:0,size:"small",onClick:ee},{default:y(()=>e[185]||(e[185]=[k("上一步")])),_:1})):Te("",!0),p(x,{onClick:ge,size:"small"},{default:y(()=>e[186]||(e[186]=[k("取消")])),_:1}),Z.value<3?(K(),we(x,{key:1,type:"primary",size:"small",onClick:j,style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[187]||(e[187]=[k("下一步")])),_:1})):(K(),we(x,{key:2,type:"success",onClick:ce,size:"small",style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[188]||(e[188]=[k("新增")])),_:1}))])]),default:y(()=>[r("div",gu,[r("div",{class:Ot(["step-item",{active:Z.value===1}]),onClick:e[17]||(e[17]=g=>xe(1))},[e[145]||(e[145]=r("div",{class:"step-number"},"1",-1)),r("div",{class:Ot(["step-title",{"active-title":Z.value===1}])},"考察能力",2)],2),r("div",{class:Ot(["step-line",{"active-line":Z.value>=2}])},null,2),r("div",{class:Ot(["step-item",{active:Z.value===2}]),onClick:e[18]||(e[18]=g=>xe(2))},[e[146]||(e[146]=r("div",{class:"step-number"},"2",-1)),r("div",{class:Ot(["step-title",{"active-title":Z.value===2}])},"面试题目",2)],2),r("div",{class:Ot(["step-line",{"active-line":Z.value>=3}])},null,2),r("div",{class:Ot(["step-item",{active:Z.value===3}]),onClick:e[19]||(e[19]=g=>xe(3))},[e[147]||(e[147]=r("div",{class:"step-number"},"3",-1)),r("div",{class:Ot(["step-title",{"active-title":Z.value===3}])},"系统设置",2)],2)]),Z.value===1?jo((K(),X("div",hu,[r("div",yu,[e[154]||(e[154]=r("div",{class:"ai-video-options-header"},[r("div",{class:"ai-video-options-header-title"},[r("span",null,"AI根据岗位信息生成的能力,创建完步骤后,会自动将选择的胜任力考核维度加入到该职位的考察能力列表中。")])],-1)),r("div",bu,[r("div",Su,[(K(!0),X(Ye,null,Xe(Vt.value.slice(0,10),g=>(K(),we(Xt,{key:g.id,modelValue:g.selected,"onUpdate:modelValue":le=>g.selected=le,onChange:le=>Qi(g,le),class:"custom-checkbox"},{default:y(()=>[r("div",Eu,[r("span",null,se(g.name),1),e[148]||(e[148]=r("img",{src:fa,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),r("div",xu,[r("div",Iu,[e[150]||(e[150]=r("h3",{style:{color:"#808080"}},"备选考核维度",-1)),r("div",Cu,[p(x,{type:"primary",class:"custom-btn",plain:"",size:"small",onClick:N},{default:y(()=>e[149]||(e[149]=[k("重新生成")])),_:1})])]),r("div",Au,[(K(!0),X(Ye,null,Xe(Vt.value.slice(10,50),g=>(K(),we(Xt,{key:g.id,modelValue:g.selected,"onUpdate:modelValue":le=>g.selected=le,onChange:le=>Qi(g,le),class:"custom-checkbox"},{default:y(()=>[r("div",wu,[r("span",null,se(g.name),1)])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),r("div",Ou,[e[153]||(e[153]=r("h3",{style:{color:"#808080"}},"自定义维度",-1)),r("div",Tu,[r("div",Du,[r("div",Pu,[p(B,{style:{width:"150px"},modelValue:an.value,"onUpdate:modelValue":e[20]||(e[20]=g=>an.value=g),placeholder:"请输入维度名称"},null,8,["modelValue"])]),r("div",Vu,[e[151]||(e[151]=r("div",{class:"input-label"},"特征描述:",-1)),p(B,{modelValue:Tn.value,"onUpdate:modelValue":e[21]||(e[21]=g=>Tn.value=g),style:{width:"500px"},type:"textarea",placeholder:"请输入特征描述"},null,8,["modelValue"])])]),r("div",Ru,[p(x,{type:"primary",onClick:Vr},{default:y(()=>e[152]||(e[152]=[k("添加")])),_:1})])])])])])),[[_i,Un.value]]):Te("",!0),Z.value===2?(K(),X("div",Uu,[r("div",ku,[r("div",Ku,[r("div",Mu,[p(x,{plain:"",class:"custom-btn",onClick:ki},{default:y(()=>[p(V,null,{default:y(()=>[p(de(bn))]),_:1}),e[155]||(e[155]=k(" 自定义题目 "))]),_:1}),p(x,{plain:"",class:"custom-btn"},{default:y(()=>[p(V,null,{default:y(()=>[p(de(na))]),_:1}),e[156]||(e[156]=k(" 导入题目 "))]),_:1}),Ce.value.length>0?(K(),we(x,{key:0,type:"primary",plain:"",class:"custom-btn",loading:et.value,onClick:Wi},{default:y(()=>[p(V,null,{default:y(()=>[p(Ol)]),_:1}),e[157]||(e[157]=k(" 重新生成 "))]),_:1},8,["loading"])):Te("",!0),r("div",Nu,[r("div",Bu,[e[158]||(e[158]=r("span",{class:"switch-label"},"开放题数量",-1)),p(dt,{modelValue:yn.openQuestionsCount,"onUpdate:modelValue":e[22]||(e[22]=g=>yn.openQuestionsCount=g),min:1,max:10,size:"small",onChange:Ji},null,8,["modelValue"])]),r("div",Fu,[e[159]||(e[159]=r("span",{class:"switch-label"},"选择题数量",-1)),p(dt,{modelValue:yn.choiceQuestionsCount,"onUpdate:modelValue":e[23]||(e[23]=g=>yn.choiceQuestionsCount=g),min:1,max:20,size:"small",onChange:Ji},null,8,["modelValue"])])])]),r("div",ju,[e[160]||(e[160]=r("span",null,"预计面试时长: ",-1)),r("span",Lu,se(Cn.value),1),e[161]||(e[161]=r("span",{class:"duration-tip"},"拖动试题卡片可改变试题顺序",-1))])]),r("div",Qu,[jo((K(),X("div",Gu,[Ce.value.length===0?(K(),X("div",zu,[e[164]||(e[164]=r("p",null,"暂无题目",-1)),e[165]||(e[165]=r("p",{class:"ai-tip"},'点击"AI自动组题"按钮',-1)),e[166]||(e[166]=r("p",{class:"ai-tip"},"可根据您选择的能力类型一键组题",-1)),p(x,{type:"success",class:"auto-generate-btn",loading:et.value,onClick:Wi},{default:y(()=>e[162]||(e[162]=[k(" AI自动组题 ")])),_:1},8,["loading"]),et.value&&de(Yt)?(K(),we(x,{key:0,type:"warning",plain:"",size:"small",onClick:Qr,style:{"margin-left":"10px"}},{default:y(()=>e[163]||(e[163]=[k(" 取消生成 ")])),_:1})):Te("",!0)])):(K(),X("div",$u,[p(de(Ca),{modelValue:Ce.value,"onUpdate:modelValue":e[24]||(e[24]=g=>Ce.value=g),"item-key":"id",handle:".drag-handle",onStart:Kr,onEnd:Mr,animation:"200","ghost-class":"sortable-ghost","chosen-class":"sortable-chosen","drag-class":"sortable-drag"},{item:y(({element:g})=>[r("div",Ju,[e[170]||(e[170]=r("div",{class:"drag-handle"},[r("img",{src:hs,alt:"",class:"dorp"})],-1)),r("div",Wu,[r("div",Hu,[r("div",Yu,[r("div",Xu,[r("span",Zu,"题目"+se(Ce.value.indexOf(g)+1),1),r("span",null,[r("span",qu,se("「"+g.question_form_name+"」"),1),k(se(g.title),1)])]),r("div",_u,[(K(!0),X(Ye,null,Xe((g.competency_tag_info||g.competency_tags||[]).slice(0,2),(le,Ae)=>(K(),we(Rt,{key:le.id,effect:"plain",class:"competency-tag",size:"small"},{default:y(()=>[k(se(S(le)),1)]),_:2},1024))),128)),(g.competency_tag_info||g.competency_tags||[]).length>2?(K(),X("span",ec," +"+se((g.competency_tag_info||g.competency_tags||[]).length-2),1)):Te("",!0)])])]),r("div",tc,[p(x,{type:"text",onClick:le=>Ni(Ce.value.indexOf(g))},{default:y(()=>[p(V,null,{default:y(()=>[p(de(ht))]),_:1})]),_:2},1032,["onClick"]),p(x,{type:"text",onClick:le=>Bi(Ce.value.indexOf(g))},{default:y(()=>[p(V,null,{default:y(()=>[p(de(oa))]),_:1})]),_:2},1032,["onClick"])])]),r("div",nc,[r("div",oc,[r("span",null,se(g.scoring_reference),1)])]),g.question_form==0?(K(),X("div",ic,[r("div",ac,[p(nt,{style:{"margin-top":"0px"},modelValue:g.enable_follow_up,"onUpdate:modelValue":le=>g.enable_follow_up=le,onChange:ae},null,8,["modelValue","onUpdate:modelValue"]),e[167]||(e[167]=r("span",{class:"answer-label"},"回答不充分追问",-1))]),r("div",rc,[e[168]||(e[168]=r("span",{class:"answer-label"},"追问轮数",-1)),p(ie,{modelValue:g.maxAnswers,"onUpdate:modelValue":le=>g.maxAnswers=le,size:"small",placeholder:"请选择"},{default:y(()=>[p($,{label:"1次",value:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])])])):Te("",!0),g.question_form==1?(K(),X("div",lc,[r("div",sc,[e[169]||(e[169]=r("span",{class:"answer-label"},"是否为红线题:",-1)),p(ie,{modelValue:g.is_required_correct,"onUpdate:modelValue":le=>g.is_required_correct=le,disabled:!0,onChange:le=>M(g.id,g.is_required_correct),size:"small",placeholder:"请选择"},{default:y(()=>[p($,{label:"是",value:!0}),p($,{label:"否",value:!1})]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])])])):Te("",!0)])]),_:1},8,["modelValue"])]))])),[[_i,et.value]]),r("div",dc,[e[173]||(e[173]=r("div",{class:"dimension-title"},"已选胜任力考核维度",-1)),r("div",uc,[(K(!0),X(Ye,null,Xe(H.value,(g,le)=>(K(),X("div",{key:g.value,class:"dimension-item"},[r("div",cc,[r("div",fc,[r("span",vc,se(g.label),1),e[171]||(e[171]=r("img",{src:fa,alt:"",class:"sheng"},null,-1))])]),r("div",{class:"dimension-content",onClick:Ae=>Fr(le),title:"点击删除此胜任力标签"},e[172]||(e[172]=[r("div",{class:"ability-description"},se("—"),-1)]),8,pc)]))),128))])])])])])):Te("",!0),Z.value===3?(K(),X("div",mc,[r("div",gc,[r("div",hc,[e[184]||(e[184]=r("div",{class:"section-header"},"请选择面试官形象",-1)),r("div",yc,[r("div",bc,[Ko.value?(K(),X("img",{key:0,src:Ko.value,alt:"",style:{width:"100%",height:"100%","object-fit":"cover",transform:"translateZ(0)","backface-visibility":"hidden"}},null,8,Sc)):Te("",!0)]),r("div",null,[r("div",Ec,[(K(!0),X(Ye,null,Xe(ri.value,g=>(K(),X("div",{key:g.id,class:Ot(["avatar-item",{active:gt.value.id===g.id}]),onClick:le=>Rr(g)},[r("div",Ic,[r("div",{class:Ot(["avatar-circle",{selected:gt.value.id===g.id}])},[r("img",{src:g.avatar_url||g.image,alt:g.name},null,8,Cc)],2),r("div",{class:"avatar-name",title:g.name},se(g.name),9,Ac)])],10,xc))),128))]),r("div",wc,[e[174]||(e[174]=r("div",{class:"setting-label"},"「追问风格」",-1)),r("div",Oc,[p(ie,{modelValue:rt.followUpStyle,"onUpdate:modelValue":e[25]||(e[25]=g=>rt.followUpStyle=g),placeholder:"请选择",onChange:e[26]||(e[26]=g=>no("followUpStyle",rt.followUpStyle))},{default:y(()=>[p($,{label:"温和",value:"1"}),p($,{label:"严厉",value:"2"}),p($,{label:"严谨",value:"3"})]),_:1},8,["modelValue"])]),e[175]||(e[175]=r("div",{class:"setting-desc"},null,-1))])])]),r("div",Tc,[r("div",Dc,[e[176]||(e[176]=r("div",{class:"setting-label"},[r("p",null,"「回答视频保留」")],-1)),e[177]||(e[177]=r("div",{class:"setting-desc"},[r("p",null,"选取后,将在报告中展示候选人的回答视频")],-1)),p(nt,{modelValue:rt.keepVideo,"onUpdate:modelValue":e[27]||(e[27]=g=>rt.keepVideo=g),onChange:e[28]||(e[28]=g=>no("keepVideo",g)),disabled:!0},null,8,["modelValue"])]),r("div",Pc,[e[180]||(e[180]=r("div",{class:"setting-label"},[r("p",null,"「中断后作答限制」")],-1)),r("div",Vc,[p(co,{modelValue:rt.interruptionMode,"onUpdate:modelValue":e[29]||(e[29]=g=>rt.interruptionMode=g),label:"current",onChange:e[30]||(e[30]=g=>no("interruptionMode",rt.interruptionMode))},{default:y(()=>e[178]||(e[178]=[k(" 从当前问题重新作答 ")])),_:1},8,["modelValue"]),p(co,{modelValue:rt.interruptionMode,"onUpdate:modelValue":e[31]||(e[31]=g=>rt.interruptionMode=g),label:"previous",onChange:e[32]||(e[32]=g=>no("interruptionMode",rt.interruptionMode))},{default:y(()=>e[179]||(e[179]=[k(" 从头作答 ")])),_:1},8,["modelValue"])]),e[181]||(e[181]=r("div",{class:"setting-desc",style:{width:"40px"}},null,-1))]),r("div",Rc,[e[182]||(e[182]=r("div",{class:"setting-label"},[r("p",null,"「智慧追问」")],-1)),e[183]||(e[183]=r("div",{class:"setting-desc"},[r("p",null,"追问将结合候选人资料情况,综合分析发问")],-1)),p(nt,{modelValue:rt.smartFollowUp,"onUpdate:modelValue":e[33]||(e[33]=g=>rt.smartFollowUp=g),onChange:e[34]||(e[34]=g=>no("smartFollowUp",g))},null,8,["modelValue"])])])])])])):Te("",!0)]),_:1},8,["modelValue"]),p(wt,{title:"新增视频宣讲",modelValue:be.value,"onUpdate:modelValue":e[37]||(e[37]=g=>be.value=g),width:"35%","close-on-click-modal":!1,class:"video-lecture-dialog"},{footer:y(()=>[r("span",Bc,[p(x,{onClick:Be},{default:y(()=>e[192]||(e[192]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:pe},{default:y(()=>e[193]||(e[193]=[k("确认")])),_:1})])]),default:y(()=>[r("div",kc,[r("div",Kc,[e[190]||(e[190]=r("div",{class:"form-label"},"上传视频",-1)),p(Zi,{class:"video-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"video/*"},{default:y(()=>[r("div",Mc,[p(V,null,{default:y(()=>[p(de(bn))]),_:1}),e[189]||(e[189]=r("div",{class:"upload-text"},"上传文件大小不超过500M",-1))])]),_:1})]),r("div",Nc,[e[191]||(e[191]=r("div",{class:"form-label"},"视频简介",-1)),p(B,{modelValue:Oe.description,"onUpdate:modelValue":e[36]||(e[36]=g=>Oe.description=g),type:"textarea",rows:"4",placeholder:"视频简介会显示在视频下方的标题下方",maxlength:"200","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),p(de(ci),{title:"AI实时对话",modelValue:Ne.value,"onUpdate:modelValue":e[39]||(e[39]=g=>Ne.value=g),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-chat-drawer","destroy-on-close":!1},{footer:y(()=>[r("div",nf,[p(x,{onClick:ue},{default:y(()=>e[204]||(e[204]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:ne},{default:y(()=>e[205]||(e[205]=[k("确认")])),_:1})])]),default:y(()=>[r("div",Fc,[r("div",jc,[e[203]||(e[203]=r("div",{class:"section-title"},[r("div",{class:"section-line"}),r("span",null,"对话设置")],-1)),r("div",Lc,[p(x,{type:"primary",plain:"",onClick:Fa},{default:y(()=>[p(V,null,{default:y(()=>[p(de(bn))]),_:1}),e[194]||(e[194]=k(" 添加问题 "))]),_:1}),p(x,{type:"success",plain:"",onClick:ki},{default:y(()=>[p(V,null,{default:y(()=>[p(de(na))]),_:1}),e[195]||(e[195]=k(" 导入问题 "))]),_:1})]),r("div",Qc,[Ce.value.length===0?(K(),X("div",Gc,e[196]||(e[196]=[r("p",null,"暂无问题",-1),r("p",{class:"tip-text"},'点击"添加问题"或"导入问题"添加面试问题',-1)]))):(K(),X("div",zc,[p(de(Ca),{modelValue:Ce.value,"onUpdate:modelValue":e[38]||(e[38]=g=>Ce.value=g),"item-key":"id",handle:".drag-handle"},{item:y(({element:g,index:le})=>[k(se(g)+" ",1),r("div",$c,[r("div",Jc,[r("div",Wc,[r("span",Hc,"题目"+se(le+1),1),r("span",null,se(g.question),1)]),r("div",Yc,[r("div",Xc,[e[198]||(e[198]=r("span",{class:"weight-label"},"权重占比:",-1)),p(dt,{modelValue:g.weight,"onUpdate:modelValue":Ae=>g.weight=Ae,min:0,max:100,step:1,size:"small","controls-position":"right"},{suffix:y(()=>e[197]||(e[197]=[k("%")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),r("div",Zc,[e[199]||(e[199]=r("span",{class:"answer-label"},"最多回答次数",-1)),p(ie,{modelValue:g.maxAnswers,"onUpdate:modelValue":Ae=>g.maxAnswers=Ae,size:"small",placeholder:"请选择"},{default:y(()=>[p($,{label:"1次",value:1}),p($,{label:"2次",value:2}),p($,{label:"3次",value:3})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),p(x,{type:"text",onClick:Ae=>Ni(le)},{default:y(()=>[p(V,null,{default:y(()=>[p(de(ht))]),_:1})]),_:2},1032,["onClick"]),p(x,{type:"text",onClick:Ae=>Bi(le)},{default:y(()=>[p(V,null,{default:y(()=>[p(de(oa))]),_:1})]),_:2},1032,["onClick"])])]),r("div",qc,[r("div",_c,[e[200]||(e[200]=r("span",{class:"info-label"},"考察能力:",-1)),r("span",null,se(g.ability),1)]),r("div",ef,[e[201]||(e[201]=r("span",{class:"info-label"},"面试内容:",-1)),r("span",null,se(g.content),1)]),r("div",tf,[e[202]||(e[202]=r("span",{class:"info-label"},"对话目标:",-1)),r("span",null,se(g.target),1)])])])]),_:1},8,["modelValue"])]))])])])]),_:1},8,["modelValue"]),p(wt,{title:"查看问题",modelValue:Ve.value,"onUpdate:modelValue":e[48]||(e[48]=g=>Ve.value=g),width:"500px","close-on-click-modal":!1,class:"question-dialog"},{footer:y(()=>[r("span",xf,[p(x,{onClick:Bt},{default:y(()=>e[232]||(e[232]=[k("取消")])),_:1})])]),default:y(()=>[r("div",of,[r("div",af,[e[206]||(e[206]=r("div",{class:"form-label"},[k(" 题目内容"),r("span",{class:"required"},"*")],-1)),p(B,{modelValue:q.content,"onUpdate:modelValue":e[40]||(e[40]=g=>q.content=g),type:"textarea",rows:"4",placeholder:"请描述一次你如何在紧迫的时间内完成一个复杂的后端开发任务的经历",maxlength:"300","show-word-limit":"",disabled:!0},null,8,["modelValue"])]),r("div",rf,[e[207]||(e[207]=r("div",{class:"form-label"},"胜任力标签",-1)),p(ie,{modelValue:Hi.value,"onUpdate:modelValue":e[41]||(e[41]=g=>Hi.value=g),placeholder:"请选择胜任力标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(K(!0),X(Ye,null,Xe(Ke.value,g=>(K(),we($,{key:g.id,label:g.name,value:g.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[208]||(e[208]=r("div",{class:"form-tip"},"选择胜任力标签和胜任力标签,可多选",-1))]),r("div",lf,[e[214]||(e[214]=r("div",{class:"form-label"}," 胜任力配置 ",-1)),r("div",sf,[e[210]||(e[210]=r("div",{class:"config-row"},[r("span",{class:"config-label"},"标签"),r("span",{class:"config-label"},"权重")],-1)),(K(!0),X(Ye,null,Xe(q.competency_tags,(g,le)=>(K(),X("div",{class:"config-row",key:g.id},[r("span",df,se(g.name),1),p(dt,{modelValue:g.weight,"onUpdate:modelValue":Ae=>g.weight=Ae,min:0,max:100,step:1,disabled:!0,"controls-position":"right",onChange:Ae=>vl(le,Ae)},null,8,["modelValue","onUpdate:modelValue","onChange"]),e[209]||(e[209]=k(" % "))]))),128))]),r("div",uf,[e[211]||(e[211]=k(" 配置各个胜任力标签的权重,总和需要100% ")),r("span",{class:Ot(["weight-sum",{"weight-error":si()!==100}])}," (当前总计: "+se(si())+"%) ",3),e[212]||(e[212]=r("br",null,null,-1)),p(V,{style:{color:"#409eff","margin-right":"4px","margin-top":"4px"}},{default:y(()=>[p(de(ql))]),_:1}),e[213]||(e[213]=r("span",{style:{color:"#909399","font-size":"11px"}},' 修改任意权重时,其他权重会自动按比例调整以保持总和为100%。点击"平均分配"可快速平均分配所有权重。 ',-1))])]),r("div",cf,[e[215]||(e[215]=r("div",{class:"form-label"},"题目形式",-1)),p(ie,{modelValue:q.question_form,"onUpdate:modelValue":e[42]||(e[42]=g=>q.question_form=g),placeholder:"开放问题",class:"full-width",disabled:!0,onChange:ul},{default:y(()=>[p($,{label:"开放问题",value:0}),p($,{label:"单选题",value:1}),p($,{label:"识图题",value:3}),p($,{label:"多选题",value:2}),p($,{label:"填空题",value:6}),p($,{label:"得分题",value:4}),p($,{label:"追加型开放问题",value:5})]),_:1},8,["modelValue"]),e[216]||(e[216]=r("div",{class:"form-tip"},"选择题目的形式:开放问题、单选题、多选题、填空题、自言语",-1))]),r("div",ff,[e[217]||(e[217]=r("div",{class:"form-label"},"适用职位",-1)),p(ie,{modelValue:t.value,"onUpdate:modelValue":e[43]||(e[43]=g=>t.value=g),placeholder:"请选择适用职位类型",class:"full-width",disabled:!0},{default:y(()=>[(K(!0),X(Ye,null,Xe(Le.value,g=>(K(),we($,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[218]||(e[218]=r("div",{class:"form-tip"},"选择题目适用的职位类型,可多选",-1))]),q.question_form===1||q.question_form===2||q.question_form===3?(K(),X("div",vf,[e[220]||(e[220]=r("div",{class:"form-label"},"选项",-1)),r("div",null,[e[219]||(e[219]=r("div",{class:"option-header",style:{display:"flex","margin-bottom":"10px","font-weight":"bold"}},[r("span",{style:{flex:"1"}},"选项内容"),r("span",{style:{width:"80px","text-align":"center"}},"是否正确")],-1)),(K(!0),X(Ye,null,Xe(q.options,(g,le)=>(K(),X("div",{key:le,class:"option-item",style:{display:"flex","align-items":"center","margin-bottom":"10px"}},[p(B,{modelValue:g.text,"onUpdate:modelValue":Ae=>g.text=Ae,placeholder:"请输入选项内容",disabled:!0,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","onUpdate:modelValue"]),p(Kn,{content:"设置为正确答案",placement:"top",effect:"light",disabled:!0},{default:y(()=>[r("div",{onClick:()=>{q.question_form===1||q.question_form===3?q.options.forEach((Ae,kl)=>{Ae.is_correct=kl===le}):g.is_correct=!g.is_correct},style:{cursor:"pointer",width:"80px","text-align":"center"}},[q.question_form===1||q.question_form===3?(K(),we(co,{key:0,disabled:!0,modelValue:g.is_correct,"onUpdate:modelValue":Ae=>g.is_correct=Ae,label:!0},null,8,["modelValue","onUpdate:modelValue"])):(K(),we(Xt,{key:1,disabled:!0,modelValue:g.is_correct,"onUpdate:modelValue":Ae=>g.is_correct=Ae},null,8,["modelValue","onUpdate:modelValue"]))],8,pf)]),_:2},1024)]))),128))]),e[221]||(e[221]=r("div",{class:"form-tip"},"添加选项并设置正确答案,单选题只能有一个正确答案,多选题可以有多个正确答案",-1))])):Te("",!0),q.question_form==6?(K(),X("div",mf,[e[222]||(e[222]=r("div",{class:"form-label"},"填空答案模板",-1)),p(vs,{"model-value":q.blank_answer_template||[],question:q.content,readonly:!0},null,8,["model-value","question"])])):Te("",!0),q.question_form===3?(K(),X("div",gf,[e[223]||(e[223]=r("div",{class:"form-label"},"题目图片",-1)),r("img",{src:q.question_image_url,alt:""},null,8,hf)])):Te("",!0),r("div",yf,[e[224]||(e[224]=r("div",{class:"form-label"},"分类",-1)),p(ie,{modelValue:q.category,"onUpdate:modelValue":e[44]||(e[44]=g=>q.category=g),placeholder:"请选择题目分类",class:"full-width",disabled:!0},{default:y(()=>[(K(!0),X(Ye,null,Xe(Re.value,g=>(K(),we($,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[225]||(e[225]=r("div",{class:"form-tip"},"选择题目所属分类",-1))]),r("div",bf,[e[226]||(e[226]=r("div",{class:"form-label"},"标签",-1)),p(ie,{modelValue:q.tags,"onUpdate:modelValue":e[45]||(e[45]=g=>q.tags=g),placeholder:"请选择标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(K(!0),X(Ye,null,Xe(Me.value,g=>(K(),we($,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[227]||(e[227]=r("div",{class:"form-tip"},"选择题目相关标签,可多选",-1))]),r("div",Sf,[e[228]||(e[228]=r("div",{class:"form-label"},"建议时长(秒)",-1)),p(dt,{modelValue:q.suggestedDuration,"onUpdate:modelValue":e[46]||(e[46]=g=>q.suggestedDuration=g),min:0,step:1,"controls-position":"right",placeholder:"请输入建议回答时长",class:"full-width",disabled:!0},null,8,["modelValue"]),e[229]||(e[229]=r("div",{class:"form-tip"},"建议回答题目的时长,单位为秒",-1))]),r("div",Ef,[e[230]||(e[230]=r("div",{class:"form-label"},"评价标准",-1)),p(B,{modelValue:q.scoring_reference,"onUpdate:modelValue":e[47]||(e[47]=g=>q.scoring_reference=g),type:"textarea",disabled:!0,rows:"4",placeholder:"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",class:"full-width"},null,8,["modelValue"]),e[231]||(e[231]=r("div",{class:"form-tip"},"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",-1))])])]),_:1},8,["modelValue"]),p(wt,{title:"选择题目",modelValue:Dn.value,"onUpdate:modelValue":e[49]||(e[49]=g=>Dn.value=g),width:"30%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[r("span",Of,[p(x,{onClick:$r},{default:y(()=>e[233]||(e[233]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:Jr,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[234]||(e[234]=[k("确定")])),_:1})])]),default:y(()=>[r("div",If,[p(Dl,{ref:"treeRef",data:Xi.value,"node-key":"id",props:Cl,"default-expand-all":"","highlight-current":"",onNodeClick:Al},{default:y(({node:g,data:le})=>[r("div",Cf,[r("div",Af,[p(V,null,{default:y(()=>[p(Tl)]),_:1}),r("span",wf,se(le.title),1)])])]),_:1},8,["data"])])]),_:1},8,["modelValue"]),p(wt,{title:"创建自定义题目",modelValue:ao.value,"onUpdate:modelValue":e[51]||(e[51]=g=>ao.value=g),width:"40%","close-on-click-modal":!1,class:"question-bank-form-dialog","before-close":Ki},{default:y(()=>[p(ns,{modelValue:Mo.value,"onUpdate:modelValue":e[50]||(e[50]=g=>Mo.value=g),"is-edit":zi.value,onSubmit:ja,onCancel:Ki},null,8,["modelValue","is-edit"])]),_:1},8,["modelValue"]),p(wt,{title:"资料收集",modelValue:ct.value,"onUpdate:modelValue":e[55]||(e[55]=g=>ct.value=g),width:"900px","close-on-click-modal":!1,class:"data-collection-dialog"},{footer:y(()=>[r("span",Wf,[p(x,{onClick:La},{default:y(()=>e[244]||(e[244]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:Wr},{default:y(()=>e[245]||(e[245]=[k("确认")])),_:1})])]),default:y(()=>[r("div",Tf,[r("div",Df,[e[243]||(e[243]=r("div",{class:"panel-header"},[r("h3",null,"字段显示配置")],-1)),r("div",Pf,[e[238]||(e[238]=r("div",{class:"section-title"},"基本信息",-1)),p(Zt,{gutter:20},{default:y(()=>[(K(!0),X(Ye,null,Xe(Hr(),(g,le)=>(K(),we($t,{span:8,key:le},{default:y(()=>[r("div",Vf,[r("span",Rf,se(g.label),1),p(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(nt,{modelValue:g.visible,"onUpdate:modelValue":Ae=>g.visible=Ae,disabled:g.label=="姓名"||g.label=="手机号"||g.label=="身份证号",class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue","disabled"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[239]||(e[239]=r("div",{class:"section-title"},"家庭成员信息",-1)),p(Zt,{gutter:20},{default:y(()=>[p($t,{span:24},{default:y(()=>[r("div",Uf,[r("span",kf,[k(se(de(G).family_member.label)+" ",1),de(G).family_member.visible?(K(),we(Rt,{key:0,size:"small",type:"success"},{default:y(()=>e[235]||(e[235]=[k("已启用")])),_:1})):Te("",!0)]),p(nt,{modelValue:de(G).family_member.visible,"onUpdate:modelValue":e[52]||(e[52]=g=>de(G).family_member.visible=g),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),de(G).family_member.visible?(K(),we(Zt,{key:0,gutter:20},{default:y(()=>[(K(!0),X(Ye,null,Xe(de(G).family_member.fields,(g,le)=>(K(),we($t,{span:8,key:le},{default:y(()=>[r("div",Kf,[r("span",Mf,se(g.label),1),p(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(nt,{modelValue:g.visible,"onUpdate:modelValue":Ae=>g.visible=Ae,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0),e[240]||(e[240]=r("div",{class:"section-title"},"教育经历",-1)),p(Zt,{gutter:20},{default:y(()=>[p($t,{span:24},{default:y(()=>[r("div",Nf,[r("span",Bf,[k(se(de(G).education.label)+" ",1),de(G).education.visible?(K(),we(Rt,{key:0,size:"small",type:"success"},{default:y(()=>e[236]||(e[236]=[k("已启用")])),_:1})):Te("",!0)]),p(nt,{modelValue:de(G).education.visible,"onUpdate:modelValue":e[53]||(e[53]=g=>de(G).education.visible=g),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),de(G).education.visible?(K(),we(Zt,{key:1,gutter:20},{default:y(()=>[(K(!0),X(Ye,null,Xe(de(G).education.fields,(g,le)=>(K(),we($t,{span:8,key:le},{default:y(()=>[r("div",Ff,[r("span",jf,se(g.label),1),p(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(nt,{modelValue:g.visible,"onUpdate:modelValue":Ae=>g.visible=Ae,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0),e[241]||(e[241]=r("div",{class:"section-title"},"专业技能",-1)),p(Zt,{gutter:20},{default:y(()=>[(K(!0),X(Ye,null,Xe(Yr(),(g,le)=>(K(),we($t,{span:8,key:le},{default:y(()=>[r("div",Lf,[r("span",Qf,se(g.label),1),p(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(nt,{modelValue:g.visible,"onUpdate:modelValue":Ae=>g.visible=Ae,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[242]||(e[242]=r("div",{class:"section-title"},"工作经历",-1)),p(Zt,{gutter:20},{default:y(()=>[p($t,{span:24},{default:y(()=>[r("div",Gf,[r("span",zf,[k(se(de(G).work_experience.label)+" ",1),de(G).work_experience.visible?(K(),we(Rt,{key:0,size:"small",type:"success"},{default:y(()=>e[237]||(e[237]=[k("已启用")])),_:1})):Te("",!0)]),p(nt,{modelValue:de(G).work_experience.visible,"onUpdate:modelValue":e[54]||(e[54]=g=>de(G).work_experience.visible=g),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),de(G).work_experience.visible?(K(),we(Zt,{key:2,gutter:20},{default:y(()=>[(K(!0),X(Ye,null,Xe(de(G).work_experience.fields,(g,le)=>(K(),we($t,{span:8,key:le},{default:y(()=>[r("div",$f,[r("span",Jf,se(g.label),1),p(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(nt,{modelValue:g.visible,"onUpdate:modelValue":Ae=>g.visible=Ae,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0)])])])]),_:1},8,["modelValue"]),p(wt,{title:"简历收集",modelValue:St.value,"onUpdate:modelValue":e[57]||(e[57]=g=>St.value=g),width:"500px","close-on-click-modal":!1,class:"resume-collection-dialog"},{footer:y(()=>[r("span",Xf,[p(x,{onClick:Ft},{default:y(()=>e[247]||(e[247]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:It},{default:y(()=>e[248]||(e[248]=[k("确认")])),_:1})])]),default:y(()=>[r("div",Hf,[r("div",Yf,[e[246]||(e[246]=r("div",{class:"form-label"},"步骤名称",-1)),p(B,{modelValue:Qe.title,"onUpdate:modelValue":e[56]||(e[56]=g=>Qe.title=g),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":"",disabled:!0},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),p(wt,{title:"添加代码笔试步骤",modelValue:zn.value,"onUpdate:modelValue":e[60]||(e[60]=g=>zn.value=g),width:"500px","close-on-click-modal":!1,class:"code-test-dialog"},{footer:y(()=>[r("span",dv,[p(x,{onClick:Fi},{default:y(()=>e[257]||(e[257]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:za},{default:y(()=>e[258]||(e[258]=[k("确认")])),_:1})])]),default:y(()=>[r("div",Zf,[r("div",qf,[e[249]||(e[249]=r("div",{class:"form-label"},"步骤名称",-1)),p(B,{modelValue:at.title,"onUpdate:modelValue":e[58]||(e[58]=g=>at.title=g),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),r("div",_f,[e[250]||(e[250]=r("div",{class:"form-label"},"自动评判试卷",-1)),p(nt,{modelValue:at.autoJudge,"onUpdate:modelValue":e[59]||(e[59]=g=>at.autoJudge=g)},null,8,["modelValue"]),r("span",ev,se(at.autoJudge?"开启":"关闭"),1)]),r("div",tv,[e[256]||(e[256]=r("div",{class:"form-label"},"添加考试试卷",-1)),r("div",nv,[at.selectedPaper?(K(),X("div",iv,[r("div",av,[r("div",rv,se(at.selectedPaper.title),1),r("div",lv,[r("span",null,se(at.selectedPaper.questionCount)+"道题",1),r("span",null,se(at.selectedPaper.duration)+"分钟",1),r("span",null,se(at.selectedPaper.difficulty),1)])]),r("div",sv,[p(x,{type:"text",onClick:Ja},{default:y(()=>e[253]||(e[253]=[k("查看")])),_:1}),p(x,{type:"text",onClick:Wa},{default:y(()=>e[254]||(e[254]=[k("更换")])),_:1}),p(x,{type:"text",onClick:Ha},{default:y(()=>e[255]||(e[255]=[k("删除")])),_:1})])])):(K(),X("div",ov,[p(x,{type:"primary",plain:"",onClick:$a},{default:y(()=>[p(V,null,{default:y(()=>[p(de(bn))]),_:1}),e[251]||(e[251]=k(" 添加考卷 "))]),_:1}),e[252]||(e[252]=r("p",{class:"tip-text"},"多选时,考生会随机分配到一套试卷",-1))]))])])])]),_:1},8,["modelValue"]),p(de(ci),{title:"添加打字测试步骤",modelValue:$n.value,"onUpdate:modelValue":e[68]||(e[68]=g=>$n.value=g),size:"60%","close-on-click-modal":!1,class:"typing-test-dialog","destroy-on-close":!1},{footer:y(()=>[r("span",Iv,[p(x,{onClick:ji},{default:y(()=>e[275]||(e[275]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:Ya},{default:y(()=>e[276]||(e[276]=[k("保存")])),_:1})])]),default:y(()=>[r("div",uv,[r("div",cv,[e[260]||(e[260]=r("div",{class:"form-label"},"选择文章",-1)),r("div",fv,[p(x,{type:"primary",size:"small",class:"add-article-btn"},{default:y(()=>[p(V,null,{default:y(()=>[p(de(bn))]),_:1}),e[259]||(e[259]=k(" 添加文章 "))]),_:1})])]),r("div",vv,[e[263]||(e[263]=r("div",{class:"form-label"},"候选人选择文章方式",-1)),p(Pl,{modelValue:tt.selectionMode,"onUpdate:modelValue":e[61]||(e[61]=g=>tt.selectionMode=g)},{default:y(()=>[p(co,{label:"random"},{default:y(()=>e[261]||(e[261]=[k("随机抽取")])),_:1}),p(co,{label:"self"},{default:y(()=>e[262]||(e[262]=[k("候选人自主选择")])),_:1})]),_:1},8,["modelValue"])]),r("div",pv,[e[265]||(e[265]=r("div",{class:"form-label"},"测试时间",-1)),r("div",mv,[p(B,{modelValue:tt.duration,"onUpdate:modelValue":e[62]||(e[62]=g=>tt.duration=g),class:"time-input"},null,8,["modelValue"]),e[264]||(e[264]=r("span",{class:"time-unit"},"分钟",-1))])]),r("div",gv,[e[267]||(e[267]=r("div",{class:"form-label"},"登录界面预览图(建议尺寸1024*768像素,最大不要超过5M)",-1)),p(Zi,{class:"preview-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"image/*"},{default:y(()=>[r("div",hv,[p(V,null,{default:y(()=>[p(de(bn))]),_:1}),e[266]||(e[266]=r("div",{class:"upload-text"},"添加图片",-1))])]),_:1})]),r("div",yv,[e[268]||(e[268]=r("div",{class:"form-label"},"注意事项内容(在登录界面显示)",-1)),p(B,{modelValue:tt.notes,"onUpdate:modelValue":e[63]||(e[63]=g=>tt.notes=g),type:"textarea",rows:"4",placeholder:"请输入注意事项内容",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),r("div",bv,[e[269]||(e[269]=r("div",{class:"form-label"},"测试页面标题",-1)),p(B,{modelValue:tt.pageTitle,"onUpdate:modelValue":e[64]||(e[64]=g=>tt.pageTitle=g),placeholder:"测试页面标题"},null,8,["modelValue"])]),r("div",Sv,[e[271]||(e[271]=r("div",{class:"form-label"},"视频监控",-1)),p(Xt,{modelValue:tt.videoMonitoring,"onUpdate:modelValue":e[65]||(e[65]=g=>tt.videoMonitoring=g)},{default:y(()=>e[270]||(e[270]=[k("视频监控")])),_:1},8,["modelValue"])]),r("div",Ev,[e[274]||(e[274]=r("div",{class:"form-label"},"通过标准",-1)),r("div",xv,[p(Xt,{modelValue:tt.passCriteria.speed,"onUpdate:modelValue":e[66]||(e[66]=g=>tt.passCriteria.speed=g)},{default:y(()=>e[272]||(e[272]=[k("速度")])),_:1},8,["modelValue"]),p(Xt,{modelValue:tt.passCriteria.accuracy,"onUpdate:modelValue":e[67]||(e[67]=g=>tt.passCriteria.accuracy=g)},{default:y(()=>e[273]||(e[273]=[k("正确率")])),_:1},8,["modelValue"])])])])]),_:1},8,["modelValue"]),p(wt,{title:"面试设置",modelValue:ro.value,"onUpdate:modelValue":e[77]||(e[77]=g=>ro.value=g),width:"60%","close-on-click-modal":!1,class:"interview-settings-dialog"},{footer:y(()=>[r("span",qv,[p(x,{onClick:Xr},{default:y(()=>e[295]||(e[295]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:qr},{default:y(()=>e[296]||(e[296]=[k("完成")])),_:1})])]),default:y(()=>[r("div",Cv,[r("div",Av,[e[282]||(e[282]=r("div",{class:"section-header"},[r("span",{class:"section-title"},"防作弊设置")],-1)),r("div",wv,[e[277]||(e[277]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「人脸一致性检测」"),r("p",{class:"setting-desc"},"选取后,将会在候选人离开前置摄像头时进行提示,默认开启")],-1)),p(nt,{modelValue:Ge.faceConsistency,"onUpdate:modelValue":e[69]||(e[69]=g=>Ge.faceConsistency=g),disabled:!0},null,8,["modelValue"])]),r("div",Ov,[e[278]||(e[278]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「 防截屏 / 录屏 」"),r("p",{class:"setting-desc"},"选取后,将会在候选人截屏或录屏时进行提示,为防止泄题,默认开启")],-1)),p(nt,{modelValue:Ge.preventScreenshot,"onUpdate:modelValue":e[70]||(e[70]=g=>Ge.preventScreenshot=g),disabled:!0},null,8,["modelValue"])]),r("div",Tv,[e[280]||(e[280]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「 切 屏 预 制 」"),r("p",{class:"setting-desc"},"选取后,将会在候选人切屏时进行提示,为防止作弊,默认开启")],-1)),p(nt,{modelValue:Ge.screenSwitchAlert,"onUpdate:modelValue":e[71]||(e[71]=g=>Ge.screenSwitchAlert=g),disabled:!0},{default:y(()=>e[279]||(e[279]=[r("span",{class:"switch-desc"},"切屏超过 2 次关闭,作废本关面试",-1)])),_:1},8,["modelValue"])]),r("div",Dv,[e[281]||(e[281]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「情绪/眼动检测」"),r("p",{class:"setting-desc"},"该现已,将对候选人整场面试的情绪与压力表现进行分析,建议开启")],-1)),p(nt,{modelValue:Ge.positionDetection,"onUpdate:modelValue":e[72]||(e[72]=g=>Ge.positionDetection=g)},null,8,["modelValue"])])]),r("div",Pv,[e[294]||(e[294]=r("div",{class:"section-header"},[r("span",{class:"section-title"},"其他设置")],-1)),r("div",Vv,[r("div",Rv,[e[284]||(e[284]=r("span",{class:"setting-name"},"重复面试",-1)),r("div",Uv,[e[283]||(e[283]=r("p",{class:"setting-desc",style:{}},"选取后,将允许面试者进行重复面试",-1)),p(nt,{modelValue:Ge.reviewInterview,"onUpdate:modelValue":e[73]||(e[73]=g=>Ge.reviewInterview=g)},null,8,["modelValue"])])])]),r("div",kv,[r("div",Kv,[e[287]||(e[287]=r("span",{class:"setting-name"},"开场词",-1)),Pn.value?(K(),X("div",Bv,[p(B,{modelValue:rn.value,"onUpdate:modelValue":e[74]||(e[74]=g=>rn.value=g),type:"textarea",rows:"5",maxlength:"150",placeholder:"请输入开始前提示内容","show-word-limit":""},null,8,["modelValue"]),r("div",Fv,[p(x,{size:"small",onClick:tl},{default:y(()=>e[285]||(e[285]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:nl},{default:y(()=>e[286]||(e[286]=[k("保存")])),_:1})])])):(K(),X("div",Mv,[r("p",Nv,se(Ge.beforeStartText),1),p(x,{type:"text",class:"edit-desc-btn",onClick:el},{default:y(()=>[p(V,null,{default:y(()=>[p(de(ht))]),_:1})]),_:1})]))])]),r("div",jv,[r("div",Lv,[e[290]||(e[290]=r("span",{class:"setting-name"},"开始后提醒",-1)),lo.value?(K(),X("div",zv,[p(B,{modelValue:Vn.value,"onUpdate:modelValue":e[75]||(e[75]=g=>Vn.value=g),type:"textarea",rows:"2",placeholder:"请输入开始后提醒内容",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),r("div",$v,[p(x,{size:"small",onClick:il},{default:y(()=>e[288]||(e[288]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:al},{default:y(()=>e[289]||(e[289]=[k("保存")])),_:1})])])):(K(),X("div",Qv,[r("p",Gv,se(Ge.afterStartText),1),p(x,{type:"text",class:"edit-desc-btn",onClick:ol},{default:y(()=>[p(V,null,{default:y(()=>[p(de(ht))]),_:1})]),_:1})]))])]),r("div",Jv,[r("div",Wv,[e[293]||(e[293]=r("span",{class:"setting-name"},"结束语",-1)),so.value?(K(),X("div",Xv,[p(B,{modelValue:Rn.value,"onUpdate:modelValue":e[76]||(e[76]=g=>Rn.value=g),type:"textarea",rows:"2",placeholder:"请输入免责声明内容",maxlength:"200","show-word-limit":""},null,8,["modelValue"]),r("div",Zv,[p(x,{size:"small",onClick:ll},{default:y(()=>e[291]||(e[291]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:sl},{default:y(()=>e[292]||(e[292]=[k("保存")])),_:1})])])):(K(),X("div",Hv,[r("p",Yv,se(Ge.disclaimerText),1),p(x,{type:"text",class:"edit-desc-btn",onClick:rl},{default:y(()=>[p(V,null,{default:y(()=>[p(de(ht))]),_:1})]),_:1})]))])])])])]),_:1},8,["modelValue"]),p(wt,{title:"选择题目",modelValue:E.value,"onUpdate:modelValue":e[82]||(e[82]=g=>E.value=g),width:"70%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[r("span",ap,[p(x,{onClick:te},{default:y(()=>e[297]||(e[297]=[k("预览已选")])),_:1}),p(x,{type:"primary",onClick:T,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[298]||(e[298]=[k("确定")])),_:1})])]),default:y(()=>[r("div",_v,[p(Zt,{class:"document-el-row"},{default:y(()=>[p($t,{span:3},{default:y(()=>[r("div",ep,[p(ms,{ref_key:"treeListRef",ref:bl,treeData:Yi.value,onTreeClick:Sl,onUpdateDocument:El,onDeleteDocument:xl},null,8,["treeData"])])]),_:1}),p($t,{span:21},{default:y(()=>[r("div",tp,[r("div",np,[p(B,{modelValue:io.value,"onUpdate:modelValue":e[78]||(e[78]=g=>io.value=g),placeholder:"请输入关键词搜索题目",clearable:"",onClear:No,onKeyup:Gl(No,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:y(()=>[p(x,{onClick:No},{default:y(()=>[p(V,null,{default:y(()=>[p(de(_l))]),_:1})]),_:1})]),_:1},8,["modelValue"]),p(ie,{modelValue:st.question_form,"onUpdate:modelValue":e[79]||(e[79]=g=>st.question_form=g),placeholder:"题目类型",clearable:"",onChange:No,style:{width:"120px"}},{default:y(()=>[p($,{label:"开放问题",value:0}),p($,{label:"单选题",value:1}),p($,{label:"多选题",value:2}),p($,{label:"识图题",value:3}),p($,{label:"得分题",value:4}),p($,{label:"追加型开放问题",value:5}),p($,{label:"填空题",value:6})]),_:1},8,["modelValue"])])]),r("div",op,[p(qi,{data:lt.value,style:{width:"100%"},onSelectionChange:zr},{default:y(()=>[p(Fo,{type:"selection",width:"55"}),p(Fo,{prop:"question",label:"题目标题"}),p(Fo,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),r("div",ip,[p(Vl,{"current-page":st.page,"onUpdate:currentPage":e[80]||(e[80]=g=>st.page=g),"page-size":st.pageSize,"onUpdate:pageSize":e[81]||(e[81]=g=>st.pageSize=g),total:Qt.value,"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next",onSizeChange:I,onCurrentChange:w},null,8,["current-page","page-size","total"])])])]),_:1})]),_:1})])]),_:1},8,["modelValue"]),p(wt,{title:uo.value>=0?"编辑候选人提问环节":"配置候选人提问环节",modelValue:kn.value,"onUpdate:modelValue":e[86]||(e[86]=g=>kn.value=g),width:"600px","close-on-click-modal":!1,class:"candidate-questions-dialog"},{footer:y(()=>[r("span",up,[p(x,{onClick:Ie},{default:y(()=>e[305]||(e[305]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:Se},{default:y(()=>e[306]||(e[306]=[k("确认")])),_:1})])]),default:y(()=>[r("div",rp,[r("div",lp,[e[299]||(e[299]=r("div",{class:"form-label"},[k(" 环节名称"),r("span",{class:"required"},"*")],-1)),p(B,{modelValue:Ue.title,"onUpdate:modelValue":e[83]||(e[83]=g=>Ue.title=g),placeholder:"请输入环节名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),r("div",sp,[e[300]||(e[300]=r("div",{class:"form-label"},[k(" 提问时长"),r("span",{class:"required"},"*")],-1)),p(dt,{modelValue:Ue.duration,"onUpdate:modelValue":e[84]||(e[84]=g=>Ue.duration=g),min:1,max:30,step:1,"controls-position":"right",style:{width:"200px"}},null,8,["modelValue"]),e[301]||(e[301]=r("span",{class:"form-unit"},"分钟",-1)),e[302]||(e[302]=r("div",{class:"form-tip"},"候选人可用于提问的总时长",-1))]),r("div",dp,[e[303]||(e[303]=r("div",{class:"form-label"},"环节描述",-1)),p(B,{modelValue:Ue.description,"onUpdate:modelValue":e[85]||(e[85]=g=>Ue.description=g),type:"textarea",rows:"3",placeholder:"请输入环节描述",maxlength:"200"},null,8,["modelValue"]),e[304]||(e[304]=r("div",{class:"form-tip"},"向候选人说明此环节的目的和意义",-1))])])]),_:1},8,["title","modelValue"]),p(wt,{modelValue:Bo.value,"onUpdate:modelValue":e[90]||(e[90]=g=>Bo.value=g),title:"肢体检测配置",width:"600px","close-on-click-modal":!1},{footer:y(()=>[r("span",cp,[p(x,{onClick:hl,size:"small"},{default:y(()=>e[311]||(e[311]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:yl,size:"small"},{default:y(()=>e[312]||(e[312]=[k("确定")])),_:1})])]),default:y(()=>[p(Ul,{model:ln.value,"label-width":"120px"},{default:y(()=>[p(di,{label:"检测时长"},{default:y(()=>[p(dt,{modelValue:ln.value.duration,"onUpdate:modelValue":e[87]||(e[87]=g=>ln.value.duration=g),min:1,max:30,step:1,"controls-position":"right"},null,8,["modelValue"]),e[307]||(e[307]=k(" 分钟 "))]),_:1}),p(di,{label:"检测项目"},{default:y(()=>[p(Rl,{modelValue:ln.value.detectionItems,"onUpdate:modelValue":e[88]||(e[88]=g=>ln.value.detectionItems=g)},{default:y(()=>[p(Xt,{label:"face"},{default:y(()=>e[308]||(e[308]=[k("面部表情")])),_:1}),p(Xt,{label:"pose"},{default:y(()=>e[309]||(e[309]=[k("肢体姿态")])),_:1}),p(Xt,{label:"gesture"},{default:y(()=>e[310]||(e[310]=[k("手势动作")])),_:1})]),_:1},8,["modelValue"])]),_:1}),p(di,{label:"提示文本"},{default:y(()=>[p(B,{modelValue:ln.value.promptText,"onUpdate:modelValue":e[89]||(e[89]=g=>ln.value.promptText=g),type:"textarea",rows:3,placeholder:"请输入提示文本"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),p(wt,{modelValue:U.value,"onUpdate:modelValue":e[92]||(e[92]=g=>U.value=g),title:"职位问题预览",width:"60%","close-on-click-modal":!1},{default:y(()=>[r("div",fp,[r("div",vp,"已绑定的问题("+se(_.value.length)+"):",1),p(qi,{data:_.value,style:{width:"100%"}},{default:y(()=>[p(Fo,{prop:"question",label:"问题内容","min-width":"300","show-overflow-tooltip":""})]),_:1},8,["data"])]),r("div",pp,[p(x,{type:"primary",onClick:e[91]||(e[91]=g=>U.value=!1)},{default:y(()=>e[313]||(e[313]=[k("关闭")])),_:1})])]),_:1},8,["modelValue"])])}}}),Op=gs(mp,[["__scopeId","data-v-7c80f920"]]);export{Op as default};