index.PP34f6m8.js 218 KB

12345678910
  1. import{a as Ql,r as Q,aH as Gl,aB as zl,_ as _e,f as vi,q as $l,W as Jl,w as sa,aj as Pe,at as Wl,c as Y,o as K,b as r,S as p,K as y,P as U,Q as ae,u as fe,M as Te,J as Ae,R as Ye,a9 as Xe,L as Go,G as Ot,T as da,Y as Hl,F as Yl,a7 as Xl,t as ua}from"./vue.D1BjjNmv.js";import{b as ql,c as Zl,C as _l,U as Tt}from"./api.DP10QXd1.js";import{ab as es,g as ts,ac as ns,c as os,E as V,a1 as ft,$ as Sn,ad as is,ae as ca,C as fa,af as pi,ag as as,A as rs,S as Zt,F as va}from"./index.B_y27FvG.js";import{G as Nn,a as ls,b as ss,Q as ds,c as _t,A as mi,d as pa,e as gi,U as yt,D as ma,C as hi,f as yi,g as ga,h as us,i as cs,B as fs,S as vs,j as ps,k as ha,l as ms,m as gs,n as hs,o as ys}from"./QuestionBankForm.tSCptLSz.js";import{g as bs}from"./pcaData.5HEg6BqW.js";import Ss from"./BlankAnswerEditor.C84NgMQM.js";import{A as Es}from"./api.B-OvvV6t.js";import xs from"./treeList.DxG2LbKp.js";import{G as ya,a as ba,b as Sa}from"./api.DXZI3x1c.js";import{_ as Is}from"./_plugin-vue_export-helper.DlAUqK2U.js";import"./QuestionOptionsEditor.e0gHieJV.js";const Ea="/assets/sheng.BKW1Im68.png",Cs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAImCAQAAAAGHG0zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFyGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNS0wNi0xM1QxNzowMToyMCswODowMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNDE0NGJjZC05NWJlLTMxNGMtODlmZC01MTk0MTdmODc5OWEiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplYzMyM2E1Zi04ZWZiLTgxNGUtYWMzOS05Nzc3ODNiNDUzYjQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIHN0RXZ0OndoZW49IjIwMjUtMDYtMTNUMTc6MDE6MjArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4wIChXaW5kb3dzKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MzQxNDRiY2QtOTViZS0zMTRjLTg5ZmQtNTE5NDE3Zjg3OTlhIiBzdEV2dDp3aGVuPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JOr+gQAABzlJREFUeJzt1rENwzAQBEHTUOHsnEoVKhDwG8xUcNHi1vkBdPynBwA8iRKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHJND3hrn+kFULXX9IIveUpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEp60wvAHjwlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSDlmh7w1j7TC6Bqr+kFX/KUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUtaZXgDw4CkBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHIDp74LS5/6zzUAAAAASUVORK5CYII=";var Ma={exports:{}};/**!
  2. * Sortable 1.14.0
  3. * @author RubaXa <trash@rubaxa.org>
  4. * @author owenm <owen23355@gmail.com>
  5. * @license MIT
  6. */function xa(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?xa(Object(i),!0).forEach(function(d){ws(u,d,i[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(i)):xa(Object(i)).forEach(function(d){Object.defineProperty(u,d,Object.getOwnPropertyDescriptor(i,d))})}return u}function Xo(u){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Xo=function(o){return typeof o}:Xo=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Xo(u)}function ws(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 As(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 Os(u,o){if(u==null)return{};var i=As(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 Ts(u){return Ds(u)||Ps(u)||Vs(u)||Rs()}function Ds(u){if(Array.isArray(u))return Di(u)}function Ps(u){if(typeof Symbol<"u"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}function Vs(u,o){if(u){if(typeof u=="string")return Di(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 Di(u,o)}}function Di(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 Rs(){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 Us="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),Ao=en(/Edge/i),Ia=en(/firefox/i),Eo=en(/safari/i)&&!en(/chrome/i)&&!en(/android/i),Na=en(/iP(ad|od|hone)/i),ks=en(/chrome/i)&&en(/android/i),Ba={capture:!1,passive:!1};function Ee(u,o,i){u.addEventListener(o,i,!tn&&Ba)}function ye(u,o,i){u.removeEventListener(o,i,!tn&&Ba)}function ti(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 Ks(u){return u.host&&u!==document&&u.host.nodeType?u.host:u.parentNode}function Bt(u,o,i,d){if(u){i=i||document;do{if(o!=null&&(o[0]===">"?u.parentNode===i&&ti(u,o):ti(u,o))||d&&u===i)return u;if(u===i)break}while(u=Ks(u))}return null}var Ca=/\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(Ca," ").replace(" "+o+" "," ");u.className=(d+(i?" "+o:"")).replace(Ca," ")}}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 Cn(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 Fa(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,f,v,m;if(u!==window&&u.parentNode&&u!==Jt()?(s=u.getBoundingClientRect(),t=s.top,a=s.left,l=s.bottom,f=s.right,v=s.height,m=s.width):(t=0,a=0,l=window.innerHeight,f=window.innerWidth,v=window.innerHeight,m=window.innerWidth),(o||i)&&u!==window&&(n=n||u.parentNode,!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,f=a+s.width;break}while(n=n.parentNode);if(d&&u!==window){var b=Cn(n||u),S=b&&b.a,E=b&&b.d;b&&(t/=E,a/=S,m/=S,v/=E,l=t+v,f=a+m)}return{top:t,left:a,bottom:l,right:f,width:m,height:v}}}function wa(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 Gn(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)&&Bt(t[s],i.draggable,u,!1)){if(n===o)return t[s];n++}s++}return null}function ki(u,o){for(var i=u.lastElementChild;i&&(i===ve.ghost||oe(i,"display")==="none"||o&&!ti(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||ti(u,o))&&i++;return i}function Aa(u){var o=0,i=0,d=Jt();if(u)do{var n=Cn(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 Ms(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 Ns(u,o){if(u&&o)for(var i in o)o.hasOwnProperty(i)&&(u[i]=o[i]);return u}function bi(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 xo;function ja(u,o){return function(){if(!xo){var i=arguments,d=this;i.length===1?u.call(d,i[0]):u.apply(d,i),xo=setTimeout(function(){xo=void 0},o)}}}function Bs(){clearTimeout(xo),xo=void 0}function La(u,o,i){u.scrollLeft+=o,u.scrollTop+=i}function Ki(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 Oa(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 Si(u){oe(u,"position",""),oe(u,"top",""),oe(u,"left",""),oe(u,"width",""),oe(u,"height","")}var pt="Sortable"+new Date().getTime();function Fs(){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=Cn(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(Ms(u,{target:d}),1)},animateAll:function(d){var n=this;if(!this.options.animation){clearTimeout(o),typeof d=="function"&&d();return}var s=!1,t=0;u.forEach(function(a){var l=0,f=a.target,v=f.fromRect,m=je(f),h=f.prevFromRect,b=f.prevToRect,S=a.rect,E=Cn(f,!0);E&&(m.top-=E.f,m.left-=E.e),f.toRect=m,f.thisAnimationDuration&&bi(h,m)&&!bi(v,m)&&(S.top-m.top)/(S.left-m.left)===(v.top-m.top)/(v.left-m.left)&&(l=Ls(S,h,b,n.options)),bi(m,v)||(f.prevFromRect=v,f.prevToRect=m,l||(l=n.options.animation),n.animate(f,S,m,l)),l&&(s=!0,t=Math.max(t,l),clearTimeout(f.animationResetTimer),f.animationResetTimer=setTimeout(function(){f.animationTime=0,f.prevFromRect=null,f.fromRect=null,f.prevToRect=null,f.thisAnimationDuration=null},l),f.thisAnimationDuration=l)}),clearTimeout(o),s?o=setTimeout(function(){typeof d=="function"&&d()},t):typeof d=="function"&&d(),u=[]},animate:function(d,n,s,t){if(t){oe(d,"transition",""),oe(d,"transform","");var a=Cn(this.el),l=a&&a.a,f=a&&a.d,v=(n.left-s.left)/(l||1),m=(n.top-s.top)/(f||1);d.animatingX=!!v,d.animatingY=!!m,oe(d,"transform","translate3d("+v+"px,"+m+"px,0)"),this.forRepaintDummy=js(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 js(u){return u.offsetWidth}function Ls(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 Bn=[],Ei={initializeByDefault:!0},Oo={mount:function(o){for(var i in Ei)Ei.hasOwnProperty(i)&&!(i in o)&&(o[i]=Ei[i]);Bn.forEach(function(d){if(d.pluginName===o.pluginName)throw"Sortable: Cannot mount plugin ".concat(o.pluginName," more than once")}),Bn.push(o)},pluginEvent:function(o,i,d){var n=this;this.eventCanceled=!1,d.cancel=function(){n.eventCanceled=!0};var s=o+"Global";Bn.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){Bn.forEach(function(a){var l=a.pluginName;if(!(!o.options[l]&&!a.initializeByDefault)){var f=new a(o,i,o.options);f.sortable=o,f.options=o.options,o[l]=f,kt(d,f.defaults)}});for(var s in o.options)if(o.options.hasOwnProperty(s)){var t=this.modifyOption(o,s,o.options[s]);typeof t<"u"&&(o.options[s]=t)}},getEventProperties:function(o,i){var d={};return Bn.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 Bn.forEach(function(s){o[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[i]=="function"&&(n=s.optionListeners[i].call(o[s.pluginName],d))}),n}};function ho(u){var o=u.sortable,i=u.rootEl,d=u.name,n=u.targetEl,s=u.cloneEl,t=u.toEl,a=u.fromEl,l=u.oldIndex,f=u.newIndex,v=u.oldDraggableIndex,m=u.newDraggableIndex,h=u.originalEvent,b=u.putSortable,S=u.extraEventProperties;if(o=o||i&&i[pt],!!o){var E,I=o.options,O="on"+d.charAt(0).toUpperCase()+d.substr(1);window.CustomEvent&&!tn&&!Ao?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=f,E.oldDraggableIndex=v,E.newDraggableIndex=m,E.originalEvent=h,E.pullMode=b?b.lastPutMode:void 0;var T=Wt(Wt({},S),Oo.getEventProperties(d,o));for(var B in T)E[B]=T[B];i&&i.dispatchEvent(E),I[O]&&I[O].call(o,E)}}var Qs=["evt"],Et=function(o,i){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=d.evt,s=Os(d,Qs);Oo.pluginEvent.bind(ve)(o,i,Wt({dragEl:W,parentEl:$e,ghostEl:he,rootEl:Fe,nextEl:In,lastDownEl:qo,cloneEl:Je,cloneHidden:dn,dragStarted:yo,putSortable:dt,activeSortable:ve.active,originalEvent:n,oldIndex:Qn,oldDraggableIndex:Io,newIndex:Pt,newDraggableIndex:sn,hideGhostForTarget:$a,unhideGhostForTarget:Ja,cloneNowHidden:function(){dn=!0},cloneNowShown:function(){dn=!1},dispatchSortableEvent:function(a){bt({sortable:i,name:a,originalEvent:n})}},s))};function bt(u){ho(Wt({putSortable:dt,cloneEl:Je,targetEl:W,rootEl:Fe,oldIndex:Qn,oldDraggableIndex:Io,newIndex:Pt,newDraggableIndex:sn},u))}var W,$e,he,Fe,In,qo,Je,dn,Qn,Pt,Io,sn,zo,dt,Ln=!1,ni=!1,oi=[],En,Mt,xi,Ii,Ta,Da,yo,Fn,Co,wo=!1,$o=!1,Zo,vt,Ci=[],Pi=!1,ii=[],ri=typeof document<"u",Jo=Na,Pa=Ao||tn?"cssFloat":"float",Gs=ri&&!ks&&!Na&&"draggable"in document.createElement("div"),Qa=function(){if(ri){if(tn)return!1;var u=document.createElement("x");return u.style.cssText="pointer-events:auto",u.style.pointerEvents==="auto"}}(),Ga=function(o,i){var d=oe(o),n=parseInt(d.width)-parseInt(d.paddingLeft)-parseInt(d.paddingRight)-parseInt(d.borderLeftWidth)-parseInt(d.borderRightWidth),s=Gn(o,0,i),t=Gn(o,1,i),a=s&&oe(s),l=t&&oe(t),f=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"||f>=n&&d[Pa]==="none"||t&&d[Pa]==="none"&&f+v>n)?"vertical":"horizontal"},zs=function(o,i,d){var n=d?o.left:o.top,s=d?o.right:o.bottom,t=d?o.width:o.height,a=d?i.left:i.top,l=d?i.right:i.bottom,f=d?i.width:i.height;return n===a||s===l||n+t/2===a+f/2},$s=function(o,i){var d;return oi.some(function(n){var s=n[pt].options.emptyInsertThreshold;if(!(!s||ki(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},za=function(o){function i(s,t){return function(a,l,f,v){var m=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(s==null&&(t||m))return!0;if(s==null||s===!1)return!1;if(t&&s==="clone")return s;if(typeof s=="function")return i(s(a,l,f,v),t)(a,l,f,v);var h=(t?a:l).options.group.name;return s===!0||typeof s=="string"&&s===h||s.join&&s.indexOf(h)>-1}}var d={},n=o.group;(!n||Xo(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},$a=function(){!Qa&&he&&oe(he,"display","none")},Ja=function(){!Qa&&he&&oe(he,"display","")};ri&&document.addEventListener("click",function(u){if(ni)return u.preventDefault(),u.stopPropagation&&u.stopPropagation(),u.stopImmediatePropagation&&u.stopImmediatePropagation(),ni=!1,!1},!0);var xn=function(o){if(W){o=o.touches?o.touches[0]:o;var i=$s(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)}}},Js=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 Ga(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&&!Eo,emptyInsertThreshold:5};Oo.initializePlugins(this,u,i);for(var d in i)!(d in o)&&(o[d]=i[d]);za(o);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=o.forceFallback?!1:Gs,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)),oi.push(this.el),o.store&&o.store.get&&this.sort(o.store.get(this)||[]),kt(this,Fs())}ve.prototype={constructor:ve,_isOutsideThisEl:function(o){!this.el.contains(o)&&o!==this.el&&(Fn=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,f=o.target.shadowRoot&&(o.path&&o.path[0]||o.composedPath&&o.composedPath()[0])||l,v=n.filter;if(ed(d),!W&&!(/mousedown|pointerdown/.test(t)&&o.button!==0||n.disabled)&&!f.isContentEditable&&!(!this.nativeDraggable&&Eo&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Bt(l,n.draggable,d,!1),!(l&&l.animated)&&qo!==l)){if(Qn=We(l),Io=We(l,n.draggable),typeof v=="function"){if(v.call(this,o,l,this)){bt({sortable:i,rootEl:f,name:"filter",targetEl:l,toEl:d,fromEl:d}),Et("filter",i,{evt:o}),s&&o.cancelable&&o.preventDefault();return}}else if(v&&(v=v.split(",").some(function(m){if(m=Bt(f,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&&!Bt(f,n.handle,d,!1)||this._prepareDragStart(o,a,l)}}},_prepareDragStart:function(o,i,d){var n=this,s=n.el,t=n.options,a=s.ownerDocument,l;if(d&&!W&&d.parentNode===s){var f=je(d);if(Fe=s,W=d,$e=W.parentNode,In=W.nextSibling,qo=d,zo=t.group,ve.dragged=W,En={target:W,clientX:(i||o).clientX,clientY:(i||o).clientY},Ta=En.clientX-f.left,Da=En.clientY-f.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(),!Ia&&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){Fa(W,v.trim(),wi)}),Ee(a,"dragover",xn),Ee(a,"mousemove",xn),Ee(a,"touchmove",xn),Ee(a,"mouseup",n._onDrop),Ee(a,"touchend",n._onDrop),Ee(a,"touchcancel",n._onDrop),Ia&&this.nativeDraggable&&(this.options.touchStartThreshold=4,W.draggable=!0),Et("delayStart",this,{evt:o}),t.delay&&(!t.delayOnTouchOnly||i)&&(!this.nativeDraggable||!(Ao||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&&wi(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?_o(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(o,i){if(Ln=!1,Fe&&W){Et("dragStarted",this,{evt:i}),this.nativeDraggable&&Ee(document,"dragover",Js);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(Mt){this._lastX=Mt.clientX,this._lastY=Mt.clientY,$a();for(var o=document.elementFromPoint(Mt.clientX,Mt.clientY),i=o;o&&o.shadowRoot&&(o=o.shadowRoot.elementFromPoint(Mt.clientX,Mt.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:Mt.clientX,clientY:Mt.clientY,target:o,rootEl:i}),d&&!this.options.dragoverBubble)break}o=i}while(i=i.parentNode);Ja()}},_onTouchMove:function(o){if(En){var i=this.options,d=i.fallbackTolerance,n=i.fallbackOffset,s=o.touches?o.touches[0]:o,t=he&&Cn(he,!0),a=he&&t&&t.a,l=he&&t&&t.d,f=Jo&&vt&&Aa(vt),v=(s.clientX-En.clientX+n.x)/(a||1)+(f?f[0]-Ci[0]:0)/(a||1),m=(s.clientY-En.clientY+n.y)/(l||1)+(f?f[1]-Ci[1]:0)/(l||1);if(!ve.active&&!Ln){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-(xi||0),t.f+=m-(Ii||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),xi=v,Ii=m,Mt=s}o.cancelable&&o.preventDefault()}},_appendGhost:function(){if(!he){var o=this.options.fallbackOnBody?document.body:Fe,i=je(W,!0,Jo,!0,o),d=this.options;if(Jo){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(),Ci=Aa(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",Jo?"absolute":"fixed"),oe(he,"zIndex","100000"),oe(he,"pointerEvents","none"),ve.ghost=he,o.appendChild(he),oe(he,"transform-origin",Ta/parseInt(he.style.width)*100+"% "+Da/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=Ki(W),Je.draggable=!1,Je.style["will-change"]="",this._hideClone(),ze(Je,this.options.chosenClass,!1),ve.clone=Je),d.cloneId=_o(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?(ni=!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)")),Ln=!0,d._dragStartId=_o(d._dragStarted.bind(d,i,o)),Ee(document,"selectstart",d),yo=!0,Eo&&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,f=ve.active,v=zo===l,m=a.sort,h=dt||f,b,S=this,E=!1;if(Pi)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,Z){return Wo(Fe,i,W,n,Ve,je(Ve),o,Z)},changed:B},Oe))}function O(){I("dragOverAnimationCapture"),S.captureAnimationState(),S!==h&&h.captureAnimationState()}function T(be){return I("dragOverCompleted",{insertion:be}),be&&(v?f._hideClone():f._showClone(S),S!==h&&(ze(W,dt?dt.options.ghostClass:f.options.ghostClass,!1),ze(W,a.ghostClass,!0)),dt!==S&&S!==ve.active?dt=S:S===ve.active&&dt&&(dt=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)&&(Fn=null),!a.dragoverBubble&&!o.rootEl&&d!==document&&(W.parentNode[pt]._isOutsideThisEl(o.target),!be&&xn(o)),!a.dragoverBubble&&o.stopPropagation&&o.stopPropagation(),E=!0}function B(){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=Bt(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(ni=!1,f&&!a.disabled&&(v?m||(t=$e!==Fe):dt===this||(this.lastPutMode=zo.checkPull(this,f,W,o))&&l.checkPut(this,f,W,o))){if(b=this._getDirection(o,d)==="vertical",n=je(W),I("dragOverValid"),ve.eventCanceled)return E;if(t)return $e=Fe,O(),this._hideClone(),I("revert"),ve.eventCanceled||(In?Fe.insertBefore(W,In):Fe.appendChild(W)),T(!0);var R=ki(i,a.draggable);if(!R||Xs(o,b,this)&&!R.animated){if(R===W)return T(!1);if(R&&i===o.target&&(d=R),d&&(s=je(d)),Wo(Fe,i,W,n,d,s,o,!!d)!==!1)return O(),i.appendChild(W),$e=i,B(),T(!0)}else if(R&&Ys(o,b,this)){var F=Gn(i,0,a,!0);if(F===W)return T(!1);if(d=F,s=je(d),Wo(Fe,i,W,n,d,s,o,!1)!==!1)return O(),i.insertBefore(W,F),$e=i,B(),T(!0)}else if(d.parentNode===i){s=je(d);var k=0,_,te=W.parentNode!==i,M=!zs(W.animated&&W.toRect||n,d.animated&&d.toRect||s,b),J=b?"top":"left",z=wa(d,"top","top")||wa(W,"top","top"),ce=z?z.scrollTop:void 0;Fn!==d&&(_=s[J],wo=!1,$o=!M&&a.invertSwap||te),k=qs(o,d,s,b,M?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,$o,Fn===d);var G;if(k!==0){var X=We(W);do X-=k,G=$e.children[X];while(G&&(oe(G,"display")==="none"||G===he))}if(k===0||G===d)return T(!1);Fn=d,Co=k;var q=d.nextElementSibling,H=!1;H=k===1;var re=Wo(Fe,i,W,n,d,s,o,H);if(re!==!1)return(re===1||re===-1)&&(H=re===1),Pi=!0,setTimeout(Hs,30),O(),H&&!q?i.appendChild(W):d.parentNode.insertBefore(W,H?q:d),z&&La(z,0,ce-z.scrollTop),$e=W.parentNode,_!==void 0&&!$o&&(Zo=Math.abs(_-je(d)[J])),B(),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",xn),ye(document,"mousemove",xn),ye(document,"touchmove",xn)},_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}Ln=!1,$o=!1,wo=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Vi(this.cloneId),Vi(this._dragStartId),this.nativeDraggable&&(ye(document,"drop",this),ye(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Eo&&oe(document.body,"user-select",""),oe(W,"transform",""),o&&(yo&&(o.cancelable&&o.preventDefault(),!d.dropBubble&&o.stopPropagation()),he&&he.parentNode&&he.parentNode.removeChild(he),(Fe===$e||dt&&dt.lastPutMode!=="clone")&&Je&&Je.parentNode&&Je.parentNode.removeChild(Je),W&&(this.nativeDraggable&&ye(W,"dragend",this),wi(W),W.style["will-change"]="",yo&&!Ln&&ze(W,dt?dt.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})),dt&&dt.save()):Pt!==Qn&&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=Qn,sn=Io),bt({sortable:this,name:"end",toEl:$e,originalEvent:o}),this.save()))),this._nulling()},_nulling:function(){Et("nulling",this),Fe=W=$e=he=In=Je=qo=dn=En=Mt=yo=Pt=sn=Qn=Io=Fn=Co=dt=zo=ve.dragged=ve.ghost=ve.clone=ve.active=null,ii.forEach(function(o){o.checked=!0}),ii.length=xi=Ii=0},handleEvent:function(o){switch(o.type){case"drop":case"dragend":this._onDrop(o);break;case"dragenter":case"dragover":W&&(this._onDragOver(o),Ws(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],Bt(i,t.draggable,this.el,!1)&&o.push(i.getAttribute(t.dataIdAttr)||_s(i));return o},sort:function(o,i){var d={},n=this.el;this.toArray().forEach(function(s,t){var a=n.children[t];Bt(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 Bt(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=Oo.modifyOption(this,o,i);typeof n<"u"?d[o]=n:d[o]=i,o==="group"&&za(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(),oi.splice(oi.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):In?Fe.insertBefore(Je,In):Fe.appendChild(Je),this.options.group.revertClone&&this.animate(W,Je),oe(Je,"display",""),dn=!1}}};function Ws(u){u.dataTransfer&&(u.dataTransfer.dropEffect="move"),u.cancelable&&u.preventDefault()}function Wo(u,o,i,d,n,s,t,a){var l,f=u[pt],v=f.options.onMove,m;return window.CustomEvent&&!tn&&!Ao?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(f,l,t)),m}function wi(u){u.draggable=!1}function Hs(){Pi=!1}function Ys(u,o,i){var d=je(Gn(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 Xs(u,o,i){var d=je(ki(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 qs(u,o,i,d,n,s,t,a){var l=d?u.clientY:u.clientX,f=d?i.height:i.width,v=d?i.top:i.left,m=d?i.bottom:i.right,h=!1;if(!t){if(a&&Zo<f*n){if(!wo&&(Co===1?l>v+f*s/2:l<m-f*s/2)&&(wo=!0),wo)h=!0;else if(Co===1?l<v+Zo:l>m-Zo)return-Co}else if(l>v+f*(1-n)/2&&l<m-f*(1-n)/2)return Zs(o)}return h=h||t,h&&(l<v+f*s/2||l>m-f*s/2)?l>v+f/2?1:-1:0}function Zs(u){return We(W)<We(u)?1:-1}function _s(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 ed(u){ii.length=0;for(var o=u.getElementsByTagName("input"),i=o.length;i--;){var d=o[i];d.checked&&ii.push(d)}}function _o(u){return setTimeout(u,0)}function Vi(u){return clearTimeout(u)}ri&&Ee(document,"touchmove",function(u){(ve.active||Ln)&&u.cancelable&&u.preventDefault()});ve.utils={on:Ee,off:ye,css:oe,find:Fa,is:function(o,i){return!!Bt(o,i,o,!1)},extend:Ns,throttle:ja,closest:Bt,toggleClass:ze,clone:Ki,index:We,nextTick:_o,cancelNextTick:Vi,detectDirection:Ga,getChild:Gn};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)),Oo.mount(d)})};ve.create=function(u,o){return new ve(u,o)};ve.version=Us;var qe=[],bo,Ri,Ui=!1,Ai,Oi,ai,So;function td(){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)),Va(),ei(),Bs()},nulling:function(){ai=Ri=bo=Ui=So=Ai=Oi=null,qe.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(ai=i,d||this.options.forceAutoScrollFallback||Ao||tn||Eo){Ti(i,this.options,a,d);var l=un(a,!0);Ui&&(!So||s!==Ai||t!==Oi)&&(So&&Va(),So=setInterval(function(){var f=un(document.elementFromPoint(s,t),!0);f!==l&&(l=f,ei()),Ti(i,n.options,f,d)},10),Ai=s,Oi=t)}else{if(!this.options.bubbleScroll||un(a,!0)===Jt()){ei();return}Ti(i,this.options,un(a,!1),!1)}}},kt(u,{pluginName:"scroll",initializeByDefault:!0})}function ei(){qe.forEach(function(u){clearInterval(u.pid)}),qe=[]}function Va(){clearInterval(So)}var Ti=ja(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(),f=!1,v;Ri!==i&&(Ri=i,ei(),bo=o.scroll,v=o.scrollFn,bo===!0&&(bo=un(i,!0)));var m=0,h=bo;do{var b=h,S=je(b),E=S.top,I=S.bottom,O=S.left,T=S.right,B=S.width,R=S.height,F=void 0,k=void 0,_=b.scrollWidth,te=b.scrollHeight,M=oe(b),J=b.scrollLeft,z=b.scrollTop;b===l?(F=B<_&&(M.overflowX==="auto"||M.overflowX==="scroll"||M.overflowX==="visible"),k=R<te&&(M.overflowY==="auto"||M.overflowY==="scroll"||M.overflowY==="visible")):(F=B<_&&(M.overflowX==="auto"||M.overflowX==="scroll"),k=R<te&&(M.overflowY==="auto"||M.overflowY==="scroll"));var ce=F&&(Math.abs(T-n)<=t&&J+B<_)-(Math.abs(O-n)<=t&&!!J),G=k&&(Math.abs(I-s)<=t&&z+R<te)-(Math.abs(E-s)<=t&&!!z);if(!qe[m])for(var X=0;X<=m;X++)qe[X]||(qe[X]={});(qe[m].vx!=ce||qe[m].vy!=G||qe[m].el!==b)&&(qe[m].el=b,qe[m].vx=ce,qe[m].vy=G,clearInterval(qe[m].pid),(ce!=0||G!=0)&&(f=!0,qe[m].pid=setInterval((function(){d&&this.layer===0&&ve.active._onTouchMove(ai);var q=qe[this.layer].vy?qe[this.layer].vy*a:0,H=qe[this.layer].vx?qe[this.layer].vx*a:0;typeof v=="function"&&v.call(ve.dragged.parentNode[pt],H,q,u,ai,qe[this.layer].el)!=="continue"||La(qe[this.layer].el,H,q)}).bind({layer:m}),24))),m++}while(o.bubbleScroll&&h!==l&&(h=un(h,!1)));Ui=f}},30),Wa=function(o){var i=o.originalEvent,d=o.putSortable,n=o.dragEl,s=o.activeSortable,t=o.dispatchSortableEvent,a=o.hideGhostForTarget,l=o.unhideGhostForTarget;if(i){var f=d||s;a();var v=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,m=document.elementFromPoint(v.clientX,v.clientY);l(),f&&!f.el.contains(m)&&(t("spill"),this.onSpill({dragEl:n,putSortable:d}))}};function Mi(){}Mi.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=Gn(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:Wa};kt(Mi,{pluginName:"revertOnSpill"});function Ni(){}Ni.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:Wa};kt(Ni,{pluginName:"removeOnSpill"});var Ut;function nd(){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 f=this.sortable.el,v=this.options;if(n&&n!==f){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(),od(s,Ut),t.animateAll(),t!==d&&d.animateAll())},nulling:function(){Ut=null}},kt(u,{pluginName:"swap",eventProperties:function(){return{swapItem:Ut}}})}function od(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=[],po,Nt,mo=!1,xt=!1,jn=!1,ke,go,Ho;function id(){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&&Nt===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(Ki(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&&Nt===d&&(Ra(!0,n),s("clone"),t()))},showClone:function(i){var d=i.cloneNowShown,n=i.rootEl,s=i.cancel;this.isMultiDrag&&(Ra(!1,n),Dt.forEach(function(t){oe(t,"display","")}),d(),Ho=!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(),Ho=!0,s())},dragStartGlobal:function(i){i.sortable,!this.isMultiDrag&&Nt&&Nt.multiDrag._deselectMultiDrag(),me.forEach(function(d){d.sortableIndex=We(d)}),me=me.sort(function(d,n){return d.sortableIndex-n.sortableIndex}),jn=!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&&Oa(t,s)}),xt=!0,mo=!0}n.animateAll(function(){xt=!1,mo=!1,d.options.animation&&me.forEach(function(t){Si(t)}),d.options.sort&&Yo()})}},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}),Si(a),a.fromRect=t,d.removeAnimationState(a)}),xt=!1,ad(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(i){var d=i.sortable,n=i.isOwner,s=i.insertion,t=i.activeSortable,a=i.parentEl,l=i.putSortable,f=this.options;if(s){if(n&&t._hideClone(),mo=!1,f.animation&&me.length>1&&(xt||!n&&!t.options.sort&&!l)){var v=je(ke,!1,!0,!0);me.forEach(function(h){h!==ke&&(Oa(h,v),a.appendChild(h))}),xt=!0}if(!n)if(xt||Yo(),me.length>1){var m=Ho;t._showClone(d),t.options.animation&&!Ho&&m&&Dt.forEach(function(h){t.addAnimationState({target:h,rect:go}),h.fromRect=go,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){go=kt({},d);var t=Cn(ke,!0);go.top-=t.f,go.left-=t.e}},dragOverAnimationComplete:function(){xt&&(xt=!1,Yo())},drop:function(i){var d=i.originalEvent,n=i.rootEl,s=i.parentEl,t=i.sortable,a=i.dispatchSortableEvent,l=i.oldIndex,f=i.putSortable,v=f||this.sortable;if(d){var m=this.options,h=s.children;if(!jn)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),ze(ke,m.selectedClass,!~me.indexOf(ke)),~me.indexOf(ke))me.splice(me.indexOf(ke),1),po=null,ho({sortable:t,rootEl:n,name:"deselect",targetEl:ke});else{if(me.push(ke),ho({sortable:t,rootEl:n,name:"select",targetEl:ke}),d.shiftKey&&po&&t.el.contains(po)){var b=We(po),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]),ho({sortable:t,rootEl:n,name:"select",targetEl:h[I]}))}}else po=ke;Nt=v}if(jn&&this.isMultiDrag){if(xt=!1,(s[pt].options.sort||s!==n)&&me.length>1){var O=je(ke),T=We(ke,":not(."+this.options.selectedClass+")");if(!mo&&m.animation&&(ke.thisAnimationDuration=null),v.captureAnimationState(),!mo&&(m.animation&&(ke.fromRect=O,me.forEach(function(R){if(R.thisAnimationDuration=null,R!==ke){var F=xt?je(R):O;R.fromRect=F,v.addAnimationState({target:R,rect:F})}})),Yo(),me.forEach(function(R){h[T]?s.insertBefore(R,h[T]):s.appendChild(R),T++}),l===We(ke))){var B=!1;me.forEach(function(R){if(R.sortableIndex!==We(R)){B=!0;return}}),B&&a("update")}me.forEach(function(R){Si(R)}),v.animateAll()}Nt=v}(n===s||f&&f.lastPutMode!=="clone")&&Dt.forEach(function(R){R.parentNode&&R.parentNode.removeChild(R)})}},nullingGlobal:function(){this.isMultiDrag=jn=!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 jn<"u"&&jn)&&Nt===this.sortable&&!(i&&Bt(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(),ho({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)||(Nt&&Nt!==d&&(Nt.multiDrag._deselectMultiDrag(),Nt=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:Ts(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 ad(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 Ra(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 Yo(){me.forEach(function(u){u!==ke&&u.parentNode&&u.parentNode.removeChild(u)})}ve.mount(new td);ve.mount(Ni,Mi);const rd=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:id,Sortable:ve,Swap:nd,default:ve},Symbol.toStringTag,{value:"Module"})),ld=es(rd);(function(u,o){(function(d,n){u.exports=n(ns,ld)})(typeof self<"u"?self:os,function(i,d){return function(n){var s={};function t(a){if(s[a])return s[a].exports;var l=s[a]={i:a,l:!1,exports:{}};return n[a].call(l.exports,l,l.exports,t),l.l=!0,l.exports}return t.m=n,t.c=s,t.d=function(a,l,f){t.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:f})},t.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},t.t=function(a,l){if(l&1&&(a=t(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var f=Object.create(null);if(t.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var v in a)t.d(f,v,(function(m){return a[m]}).bind(null,v));return f},t.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(l,"a",l),l},t.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},t.p="",t(t.s="fb15")}({"00ee":function(n,s,t){var a=t("b622"),l=a("toStringTag"),f={};f[l]="z",n.exports=String(f)==="[object z]"},"0366":function(n,s,t){var a=t("1c0b");n.exports=function(l,f,v){if(a(l),f===void 0)return l;switch(v){case 0:return function(){return l.call(f)};case 1:return function(m){return l.call(f,m)};case 2:return function(m,h){return l.call(f,m,h)};case 3:return function(m,h,b){return l.call(f,m,h,b)}}return function(){return l.apply(f,arguments)}}},"057f":function(n,s,t){var a=t("fc6a"),l=t("241c").f,f={}.toString,v=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(h){try{return l(h)}catch{return v.slice()}};n.exports.f=function(b){return v&&f.call(b)=="[object Window]"?m(b):l(a(b))}},"06cf":function(n,s,t){var a=t("83ab"),l=t("d1e7"),f=t("5c6c"),v=t("fc6a"),m=t("c04e"),h=t("5135"),b=t("0cfb"),S=Object.getOwnPropertyDescriptor;s.f=a?S:function(I,O){if(I=v(I),O=m(O,!0),b)try{return S(I,O)}catch{}if(h(I,O))return f(!l.f.call(I,O),I[O])}},"0cfb":function(n,s,t){var a=t("83ab"),l=t("d039"),f=t("cc12");n.exports=!a&&!l(function(){return Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(n,s,t){var a=t("23e7"),l=t("d58f").left,f=t("a640"),v=t("ae40"),m=f("reduce"),h=v("reduce",{1:0});a({target:"Array",proto:!0,forced:!m||!h},{reduce:function(S){return l(this,S,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(n,s,t){var a=t("c6b6"),l=t("9263");n.exports=function(f,v){var m=f.exec;if(typeof m=="function"){var h=m.call(f,v);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(a(f)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(f,v)}},"159b":function(n,s,t){var a=t("da84"),l=t("fdbc"),f=t("17c2"),v=t("9112");for(var m in l){var h=a[m],b=h&&h.prototype;if(b&&b.forEach!==f)try{v(b,"forEach",f)}catch{b.forEach=f}}},"17c2":function(n,s,t){var a=t("b727").forEach,l=t("a640"),f=t("ae40"),v=l("forEach"),m=f("forEach");n.exports=!v||!m?function(b){return a(this,b,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(n,s,t){var a=t("d066");n.exports=a("document","documentElement")},"1c0b":function(n,s){n.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(n,s,t){var a=t("b622"),l=a("iterator"),f=!1;try{var v=0,m={next:function(){return{done:!!v++}},return:function(){f=!0}};m[l]=function(){return this},Array.from(m,function(){throw 2})}catch{}n.exports=function(h,b){if(!b&&!f)return!1;var S=!1;try{var 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"),f=t("2d00"),v=l("species");n.exports=function(m){return f>=51||!a(function(){var h=[],b=h.constructor={};return b[v]=function(){return{foo:1}},h[m](Boolean).foo!==1})}},"23cb":function(n,s,t){var a=t("a691"),l=Math.max,f=Math.min;n.exports=function(v,m){var h=a(v);return h<0?l(h+m,0):f(h,m)}},"23e7":function(n,s,t){var a=t("da84"),l=t("06cf").f,f=t("9112"),v=t("6eeb"),m=t("ce4e"),h=t("e893"),b=t("94ca");n.exports=function(S,E){var I=S.target,O=S.global,T=S.stat,B,R,F,k,_,te;if(O?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),k=te&&te.value):k=R[F],B=b(O?F:I+(T?".":"#")+F,S.forced),!B&&k!==void 0){if(typeof _==typeof k)continue;h(_,k)}(S.sham||k&&k.sham)&&f(_,"sham",!0),v(R,F,_,S)}}},"241c":function(n,s,t){var a=t("ca84"),l=t("7839"),f=l.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(m){return a(m,f)}},"25f0":function(n,s,t){var a=t("6eeb"),l=t("825a"),f=t("d039"),v=t("ad6d"),m="toString",h=RegExp.prototype,b=h[m],S=f(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),E=b.name!=m;(S||E)&&a(RegExp.prototype,m,function(){var O=l(this),T=String(O.source),B=O.flags,R=String(B===void 0&&O instanceof RegExp&&!("flags"in h)?v.call(O):B);return"/"+T+"/"+R},{unsafe:!0})},"2ca0":function(n,s,t){var a=t("23e7"),l=t("06cf").f,f=t("50c4"),v=t("5a34"),m=t("1d80"),h=t("ab13"),b=t("c430"),S="".startsWith,E=Math.min,I=h("startsWith"),O=!b&&!I&&!!function(){var T=l(String.prototype,"startsWith");return T&&!T.writable}();a({target:"String",proto:!0,forced:!O&&!I},{startsWith:function(B){var R=String(m(this));v(B);var F=f(E(arguments.length>1?arguments[1]:void 0,R.length)),k=String(B);return S?S.call(R,k,F):R.slice(F,F+k.length)===k}})},"2d00":function(n,s,t){var a=t("da84"),l=t("342f"),f=a.process,v=f&&f.versions,m=v&&v.v8,h,b;m?(h=m.split("."),b=h[0]+h[1]):l&&(h=l.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=l.match(/Chrome\/(\d+)/),h&&(b=h[1]))),n.exports=b&&+b},"342f":function(n,s,t){var a=t("d066");n.exports=a("navigator","userAgent")||""},"35a1":function(n,s,t){var a=t("f5df"),l=t("3f8c"),f=t("b622"),v=f("iterator");n.exports=function(m){if(m!=null)return m[v]||m["@@iterator"]||l[a(m)]}},"37e8":function(n,s,t){var a=t("83ab"),l=t("9bf2"),f=t("825a"),v=t("df75");n.exports=a?Object.defineProperties:function(h,b){f(h);for(var S=v(b),E=S.length,I=0,O;E>I;)l.f(h,O=S[I++],b[O]);return h}},"3bbe":function(n,s,t){var a=t("861d");n.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(n,s,t){var a=t("6547").charAt,l=t("69f3"),f=t("7dd0"),v="String Iterator",m=l.set,h=l.getterFor(v);f(String,"String",function(b){m(this,{type:v,string:String(b),index:0})},function(){var S=h(this),E=S.string,I=S.index,O;return I>=E.length?{value:void 0,done:!0}:(O=a(E,I),S.index+=O.length,{value:O,done:!1})})},"3f8c":function(n,s){n.exports={}},4160:function(n,s,t){var a=t("23e7"),l=t("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(n,s,t){var a=t("da84");n.exports=a},"44ad":function(n,s,t){var a=t("d039"),l=t("c6b6"),f="".split;n.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(v){return l(v)=="String"?f.call(v,""):Object(v)}:Object},"44d2":function(n,s,t){var a=t("b622"),l=t("7c73"),f=t("9bf2"),v=a("unscopables"),m=Array.prototype;m[v]==null&&f.f(m,v,{configurable:!0,value:l(null)}),n.exports=function(h){m[v][h]=!0}},"44e7":function(n,s,t){var a=t("861d"),l=t("c6b6"),f=t("b622"),v=f("match");n.exports=function(m){var h;return a(m)&&((h=m[v])!==void 0?!!h:l(m)=="RegExp")}},4930:function(n,s,t){var a=t("d039");n.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(n,s,t){var a=t("fc6a"),l=t("50c4"),f=t("23cb"),v=function(m){return function(h,b,S){var E=a(h),I=l(E.length),O=f(S,I),T;if(m&&b!=b){for(;I>O;)if(T=E[O++],T!=T)return!0}else for(;I>O;O++)if((m||O in E)&&E[O]===b)return m||O||0;return!m&&-1}};n.exports={includes:v(!0),indexOf:v(!1)}},"4de4":function(n,s,t){var a=t("23e7"),l=t("b727").filter,f=t("1dde"),v=t("ae40"),m=f("filter"),h=v("filter");a({target:"Array",proto:!0,forced:!m||!h},{filter:function(S){return l(this,S,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(n,s,t){var a=t("0366"),l=t("7b0b"),f=t("9bdd"),v=t("e95a"),m=t("50c4"),h=t("8418"),b=t("35a1");n.exports=function(E){var I=l(E),O=typeof this=="function"?this:Array,T=arguments.length,B=T>1?arguments[1]:void 0,R=B!==void 0,F=b(I),k=0,_,te,M,J,z,ce;if(R&&(B=a(B,T>2?arguments[2]:void 0,2)),F!=null&&!(O==Array&&v(F)))for(J=F.call(I),z=J.next,te=new O;!(M=z.call(J)).done;k++)ce=R?f(J,B,[M.value,k],!0):M.value,h(te,k,ce);else for(_=m(I.length),te=new O(_);_>k;k++)ce=R?B(I[k],k):I[k],h(te,k,ce);return te.length=k,te}},"4fad":function(n,s,t){var a=t("23e7"),l=t("6f53").entries;a({target:"Object",stat:!0},{entries:function(v){return l(v)}})},"50c4":function(n,s,t){var a=t("a691"),l=Math.min;n.exports=function(f){return f>0?l(a(f),9007199254740991):0}},5135:function(n,s){var t={}.hasOwnProperty;n.exports=function(a,l){return t.call(a,l)}},5319:function(n,s,t){var a=t("d784"),l=t("825a"),f=t("7b0b"),v=t("50c4"),m=t("a691"),h=t("1d80"),b=t("8aa5"),S=t("14c3"),E=Math.max,I=Math.min,O=Math.floor,T=/\$([$&'`]|\d\d?|<[^>]*>)/g,B=/\$([$&'`]|\d\d?)/g,R=function(F){return F===void 0?F:String(F)};a("replace",2,function(F,k,_,te){var M=te.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,J=te.REPLACE_KEEPS_$0,z=M?"$":"$0";return[function(X,q){var H=h(this),re=X==null?void 0:X[F];return re!==void 0?re.call(X,H,q):k.call(String(H),X,q)},function(G,X){if(!M&&J||typeof X=="string"&&X.indexOf(z)===-1){var q=_(k,G,this,X);if(q.done)return q.value}var H=l(G),re=String(this),be=typeof X=="function";be||(X=String(X));var Oe=H.global;if(Oe){var Ne=H.unicode;H.lastIndex=0}for(var Ve=[];;){var Z=S(H,re);if(Z===null||(Ve.push(Z),!Oe))break;var He=String(Z[0]);He===""&&(H.lastIndex=b(re,v(H.lastIndex),Ne))}for(var Ke="",Le=0,Re=0;Re<Ve.length;Re++){Z=Ve[Re];for(var Me=String(Z[0]),mt=E(I(m(Z.index),re.length),0),nt=[],Ft=1;Ft<Z.length;Ft++)nt.push(R(Z[Ft]));var ut=Z.groups;if(be){var St=[Me].concat(nt,mt,re);ut!==void 0&&St.push(ut);var Qe=String(X.apply(void 0,St))}else Qe=ce(Me,re,mt,nt,ut,X);mt>=Le&&(Ke+=re.slice(Le,mt)+Qe,Le=mt+Me.length)}return Ke+re.slice(Le)}];function ce(G,X,q,H,re,be){var Oe=q+G.length,Ne=H.length,Ve=B;return re!==void 0&&(re=f(re),Ve=T),k.call(be,Ve,function(Z,He){var Ke;switch(He.charAt(0)){case"$":return"$";case"&":return G;case"`":return X.slice(0,q);case"'":return X.slice(Oe);case"<":Ke=re[He.slice(1,-1)];break;default:var Le=+He;if(Le===0)return Z;if(Le>Ne){var Re=O(Le/10);return Re===0?Z:Re<=Ne?H[Re-1]===void 0?He.charAt(1):H[Re-1]+He.charAt(1):Z}Ke=H[Le-1]}return Ke===void 0?"":Ke})}})},5692:function(n,s,t){var a=t("c430"),l=t("c6cd");(n.exports=function(f,v){return l[f]||(l[f]=v!==void 0?v:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(n,s,t){var a=t("d066"),l=t("241c"),f=t("7418"),v=t("825a");n.exports=a("Reflect","ownKeys")||function(h){var b=l.f(v(h)),S=f.f;return S?b.concat(S(h)):b}},"5a34":function(n,s,t){var a=t("44e7");n.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(n,s){n.exports=function(t,a){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:a}}},"5db7":function(n,s,t){var a=t("23e7"),l=t("a2bf"),f=t("7b0b"),v=t("50c4"),m=t("1c0b"),h=t("65f0");a({target:"Array",proto:!0},{flatMap:function(S){var E=f(this),I=v(E.length),O;return m(S),O=h(E,0),O.length=l(O,E,E,I,0,1,S,arguments.length>1?arguments[1]:void 0),O}})},6547:function(n,s,t){var a=t("a691"),l=t("1d80"),f=function(v){return function(m,h){var b=String(l(m)),S=a(h),E=b.length,I,O;return S<0||S>=E?v?"":void 0:(I=b.charCodeAt(S),I<55296||I>56319||S+1===E||(O=b.charCodeAt(S+1))<56320||O>57343?v?b.charAt(S):I:v?b.slice(S,S+2):(I-55296<<10)+(O-56320)+65536)}};n.exports={codeAt:f(!1),charAt:f(!0)}},"65f0":function(n,s,t){var a=t("861d"),l=t("e8b5"),f=t("b622"),v=f("species");n.exports=function(m,h){var b;return l(m)&&(b=m.constructor,typeof b=="function"&&(b===Array||l(b.prototype))?b=void 0:a(b)&&(b=b[v],b===null&&(b=void 0))),new(b===void 0?Array:b)(h===0?0:h)}},"69f3":function(n,s,t){var a=t("7f9a"),l=t("da84"),f=t("861d"),v=t("9112"),m=t("5135"),h=t("f772"),b=t("d012"),S=l.WeakMap,E,I,O,T=function(M){return O(M)?I(M):E(M,{})},B=function(M){return function(J){var z;if(!f(J)||(z=I(J)).type!==M)throw TypeError("Incompatible receiver, "+M+" required");return z}};if(a){var R=new S,F=R.get,k=R.has,_=R.set;E=function(M,J){return _.call(R,M,J),J},I=function(M){return F.call(R,M)||{}},O=function(M){return k.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]:{}},O=function(M){return m(M,te)}}n.exports={set:E,get:I,has:O,enforce:T,getterFor:B}},"6eeb":function(n,s,t){var a=t("da84"),l=t("9112"),f=t("5135"),v=t("ce4e"),m=t("8925"),h=t("69f3"),b=h.get,S=h.enforce,E=String(String).split("String");(n.exports=function(I,O,T,B){var R=B?!!B.unsafe:!1,F=B?!!B.enumerable:!1,k=B?!!B.noTargetGet:!1;if(typeof T=="function"&&(typeof O=="string"&&!f(T,"name")&&l(T,"name",O),S(T).source=E.join(typeof O=="string"?O:"")),I===a){F?I[O]=T:v(O,T);return}else R?!k&&I[O]&&(F=!0):delete I[O];F?I[O]=T:l(I,O,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"),f=t("fc6a"),v=t("d1e7").f,m=function(h){return function(b){for(var S=f(b),E=l(S),I=E.length,O=0,T=[],B;I>O;)B=E[O++],(!a||v.call(S,B))&&T.push(h?[B,S[B]]:S[B]);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"),f=t("e538"),v=t("9bf2").f;n.exports=function(m){var h=a.Symbol||(a.Symbol={});l(h,m)||v(h,m,{value:f.f(m)})}},7839:function(n,s){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(n,s,t){var a=t("1d80");n.exports=function(l){return Object(a(l))}},"7c73":function(n,s,t){var a=t("825a"),l=t("37e8"),f=t("7839"),v=t("d012"),m=t("1be4"),h=t("cc12"),b=t("f772"),S=">",E="<",I="prototype",O="script",T=b("IE_PROTO"),B=function(){},R=function(M){return E+O+S+M+E+"/"+O+S},F=function(M){M.write(R("")),M.close();var J=M.parentWindow.Object;return M=null,J},k=function(){var M=h("iframe"),J="java"+O+":",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(_):k();for(var M=f.length;M--;)delete te[I][f[M]];return te()};v[T]=!0,n.exports=Object.create||function(J,z){var ce;return J!==null?(B[I]=a(J),ce=new B,B[I]=null,ce[T]=J):ce=te(),z===void 0?ce:l(ce,z)}},"7dd0":function(n,s,t){var a=t("23e7"),l=t("9ed3"),f=t("e163"),v=t("d2bb"),m=t("d44e"),h=t("9112"),b=t("6eeb"),S=t("b622"),E=t("c430"),I=t("3f8c"),O=t("ae93"),T=O.IteratorPrototype,B=O.BUGGY_SAFARI_ITERATORS,R=S("iterator"),F="keys",k="values",_="entries",te=function(){return this};n.exports=function(M,J,z,ce,G,X,q){l(z,J,ce);var H=function(Re){if(Re===G&&Ve)return Ve;if(!B&&Re in Oe)return Oe[Re];switch(Re){case F:return function(){return new z(this,Re)};case k:return function(){return new z(this,Re)};case _:return function(){return new z(this,Re)}}return function(){return new z(this)}},re=J+" Iterator",be=!1,Oe=M.prototype,Ne=Oe[R]||Oe["@@iterator"]||G&&Oe[G],Ve=!B&&Ne||H(G),Z=J=="Array"&&Oe.entries||Ne,He,Ke,Le;if(Z&&(He=f(Z.call(new M)),T!==Object.prototype&&He.next&&(!E&&f(He)!==T&&(v?v(He,T):typeof He[R]!="function"&&h(He,R,te)),m(He,re,!0,!0),E&&(I[re]=te))),G==k&&Ne&&Ne.name!==k&&(be=!0,Ve=function(){return Ne.call(this)}),(!E||q)&&Oe[R]!==Ve&&h(Oe,R,Ve),I[J]=Ve,G)if(Ke={values:H(k),keys:X?Ve:H(F),entries:H(_)},q)for(Le in Ke)(B||be||!(Le in Oe))&&b(Oe,Le,Ke[Le]);else a({target:J,proto:!0,forced:B||be},Ke);return Ke}},"7f9a":function(n,s,t){var a=t("da84"),l=t("8925"),f=a.WeakMap;n.exports=typeof f=="function"&&/native code/.test(l(f))},"825a":function(n,s,t){var a=t("861d");n.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(n,s,t){var a=t("d039");n.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(n,s,t){var a=t("c04e"),l=t("9bf2"),f=t("5c6c");n.exports=function(v,m,h){var b=a(m);b in v?l.f(v,b,f(0,h)):v[b]=h}},"861d":function(n,s){n.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},8875:function(n,s,t){var a,l,f;(function(v,m){l=[],a=m,f=typeof a=="function"?a.apply(s,l):a,f!==void 0&&(n.exports=f)})(typeof self<"u"?self:this,function(){function v(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==v&&document.currentScript)return document.currentScript;try{throw new Error}catch(_){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,O=document.location.href.replace(document.location.hash,""),T,B,R,F=document.getElementsByTagName("script");E===O&&(T=document.documentElement.outerHTML,B=new RegExp("(?:[^\\n]+?\\n){0,"+(I-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),R=T.replace(B,"$1").trim());for(var k=0;k<F.length;k++)if(F[k].readyState==="interactive"||F[k].src===E||E===O&&F[k].innerHTML&&F[k].innerHTML.trim()===R)return F[k];return null}}return v})},8925:function(n,s,t){var a=t("c6cd"),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(f){return l.call(f)}),n.exports=a.inspectSource},"8aa5":function(n,s,t){var a=t("6547").charAt;n.exports=function(l,f,v){return f+(v?a(l,f).length:1)}},"8bbf":function(n,s){n.exports=i},"90e3":function(n,s){var t=0,a=Math.random();n.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++t+a).toString(36)}},9112:function(n,s,t){var a=t("83ab"),l=t("9bf2"),f=t("5c6c");n.exports=a?function(v,m,h){return l.f(v,m,f(1,h))}:function(v,m,h){return v[m]=h,v}},9263:function(n,s,t){var a=t("ad6d"),l=t("9f7f"),f=RegExp.prototype.exec,v=String.prototype.replace,m=f,h=function(){var I=/a/,O=/b*/g;return f.call(I,"a"),f.call(O,"a"),I.lastIndex!==0||O.lastIndex!==0}(),b=l.UNSUPPORTED_Y||l.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,E=h||S||b;E&&(m=function(O){var T=this,B,R,F,k,_=b&&T.sticky,te=a.call(T),M=T.source,J=0,z=O;return _&&(te=te.replace("y",""),te.indexOf("g")===-1&&(te+="g"),z=String(O).slice(T.lastIndex),T.lastIndex>0&&(!T.multiline||T.multiline&&O[T.lastIndex-1]!==`
  8. `)&&(M="(?: "+M+")",z=" "+z,J++),R=new RegExp("^(?:"+M+")",te)),S&&(R=new RegExp("^"+M+"$(?!\\s)",te)),h&&(B=T.lastIndex),F=f.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:B),S&&F&&F.length>1&&v.call(F[0],R,function(){for(k=1;k<arguments.length-2;k++)arguments[k]===void 0&&(F[k]=void 0)}),F}),n.exports=m},"94ca":function(n,s,t){var a=t("d039"),l=/#|\.prototype\./,f=function(S,E){var I=m[v(S)];return I==b?!0:I==h?!1:typeof E=="function"?a(E):!!E},v=f.normalize=function(S){return String(S).replace(l,".").toLowerCase()},m=f.data={},h=f.NATIVE="N",b=f.POLYFILL="P";n.exports=f},"99af":function(n,s,t){var a=t("23e7"),l=t("d039"),f=t("e8b5"),v=t("861d"),m=t("7b0b"),h=t("50c4"),b=t("8418"),S=t("65f0"),E=t("1dde"),I=t("b622"),O=t("2d00"),T=I("isConcatSpreadable"),B=9007199254740991,R="Maximum allowed index exceeded",F=O>=51||!l(function(){var M=[];return M[T]=!1,M.concat()[0]!==M}),k=E("concat"),_=function(M){if(!v(M))return!1;var J=M[T];return J!==void 0?!!J:f(M)},te=!F||!k;a({target:"Array",proto:!0,forced:te},{concat:function(J){var z=m(this),ce=S(z,0),G=0,X,q,H,re,be;for(X=-1,H=arguments.length;X<H;X++)if(be=X===-1?z:arguments[X],_(be)){if(re=h(be.length),G+re>B)throw TypeError(R);for(q=0;q<re;q++,G++)q in be&&b(ce,G,be[q])}else{if(G>=B)throw TypeError(R);b(ce,G++,be)}return ce.length=G,ce}})},"9bdd":function(n,s,t){var a=t("825a");n.exports=function(l,f,v,m){try{return m?f(a(v)[0],v[1]):f(v)}catch(b){var h=l.return;throw h!==void 0&&a(h.call(l)),b}}},"9bf2":function(n,s,t){var a=t("83ab"),l=t("0cfb"),f=t("825a"),v=t("c04e"),m=Object.defineProperty;s.f=a?m:function(b,S,E){if(f(b),S=v(S,!0),f(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"),f=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:f(1,E)}),v(b,I,!1,!0),m[I]=h,b}},"9f7f":function(n,s,t){var a=t("d039");function l(f,v){return RegExp(f,v)}s.UNSUPPORTED_Y=a(function(){var f=l("a","y");return f.lastIndex=2,f.exec("abcd")!=null}),s.BROKEN_CARET=a(function(){var f=l("^r","gy");return f.lastIndex=2,f.exec("str")!=null})},a2bf:function(n,s,t){var a=t("e8b5"),l=t("50c4"),f=t("0366"),v=function(m,h,b,S,E,I,O,T){for(var B=E,R=0,F=O?f(O,T,3):!1,k;R<S;){if(R in b){if(k=F?F(b[R],R,h):b[R],I>0&&a(k))B=v(m,h,k,l(k.length),B,I-1)-1;else{if(B>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[B]=k}B++}R++}return B};n.exports=v},a352:function(n,s){n.exports=d},a434:function(n,s,t){var a=t("23e7"),l=t("23cb"),f=t("a691"),v=t("50c4"),m=t("7b0b"),h=t("65f0"),b=t("8418"),S=t("1dde"),E=t("ae40"),I=S("splice"),O=E("splice",{ACCESSORS:!0,0:0,1:2}),T=Math.max,B=Math.min,R=9007199254740991,F="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!I||!O},{splice:function(_,te){var M=m(this),J=v(M.length),z=l(_,J),ce=arguments.length,G,X,q,H,re,be;if(ce===0?G=X=0:ce===1?(G=0,X=J-z):(G=ce-2,X=B(T(f(te),0),J-z)),J+G-X>R)throw TypeError(F);for(q=h(M,X),H=0;H<X;H++)re=z+H,re in M&&b(q,H,M[re]);if(q.length=X,G<X){for(H=z;H<J-X;H++)re=H+X,be=H+G,re in M?M[be]=M[re]:delete M[be];for(H=J;H>J-X+G;H--)delete M[H-1]}else if(G>X)for(H=J-X;H>z;H--)re=H+X-1,be=H+G-1,re in M?M[be]=M[re]:delete M[be];for(H=0;H<G;H++)M[H+z]=arguments[H+2];return M.length=J-X+G,q}})},a4d3:function(n,s,t){var a=t("23e7"),l=t("da84"),f=t("d066"),v=t("c430"),m=t("83ab"),h=t("4930"),b=t("fdbf"),S=t("d039"),E=t("5135"),I=t("e8b5"),O=t("861d"),T=t("825a"),B=t("7b0b"),R=t("fc6a"),F=t("c04e"),k=t("5c6c"),_=t("7c73"),te=t("df75"),M=t("241c"),J=t("057f"),z=t("7418"),ce=t("06cf"),G=t("9bf2"),X=t("d1e7"),q=t("9112"),H=t("6eeb"),re=t("5692"),be=t("f772"),Oe=t("d012"),Ne=t("90e3"),Ve=t("b622"),Z=t("e538"),He=t("746f"),Ke=t("d44e"),Le=t("69f3"),Re=t("b727").forEach,Me=be("hidden"),mt="Symbol",nt="prototype",Ft=Ve("toPrimitive"),ut=Le.set,St=Le.getterFor(mt),Qe=Object[nt],Ze=l.Symbol,jt=f("JSON","stringify"),It=ce.f,et=G.f,Ct=J.f,zn=X.f,wt=re("symbols"),Lt=re("op-symbols"),nn=re("string-to-symbol-registry"),cn=re("symbol-to-string-registry"),fn=re("wks"),vn=l.QObject,pn=!vn||!vn[nt]||!vn[nt].findChild,mn=m&&S(function(){return _(et({},"a",{get:function(){return et(this,"a",{value:7}).a}})).a!=7})?function(pe,ne,de){var Se=It(Qe,ne);Se&&delete Qe[ne],et(pe,ne,de),Se&&pe!==Qe&&et(Qe,ne,Se)}:et,gn=function(pe,ne){var de=wt[pe]=_(Ze[nt]);return ut(de,{type:mt,tag:pe,description:ne}),m||(de.description=ne),de},w=b?function(pe){return typeof pe=="symbol"}:function(pe){return Object(pe)instanceof Ze},C=function(ne,de,Se){ne===Qe&&C(Lt,de,Se),T(ne);var Ie=F(de,!0);return T(Se),E(wt,Ie)?(Se.enumerable?(E(ne,Me)&&ne[Me][Ie]&&(ne[Me][Ie]=!1),Se=_(Se,{enumerable:k(0,!1)})):(E(ne,Me)||et(ne,Me,k(1,{})),ne[Me][Ie]=!0),mn(ne,Ie,Se)):et(ne,Ie,Se)},P=function(ne,de){T(ne);var Se=R(de),Ie=te(Se).concat(xe(Se));return Re(Ie,function(ot){(!m||ee.call(Se,ot))&&C(ne,ot,Se[ot])}),ne},L=function(ne,de){return de===void 0?_(ne):P(_(ne),de)},ee=function(ne){var de=F(ne,!0),Se=zn.call(this,de);return this===Qe&&E(wt,de)&&!E(Lt,de)?!1:Se||!E(this,de)||!E(wt,de)||E(this,Me)&&this[Me][de]?Se:!0},ue=function(ne,de){var Se=R(ne),Ie=F(de,!0);if(!(Se===Qe&&E(wt,Ie)&&!E(Lt,Ie))){var ot=It(Se,Ie);return ot&&E(wt,Ie)&&!(E(Se,Me)&&Se[Me][Ie])&&(ot.enumerable=!0),ot}},ge=function(ne){var de=Ct(R(ne)),Se=[];return Re(de,function(Ie){!E(wt,Ie)&&!E(Oe,Ie)&&Se.push(Ie)}),Se},xe=function(ne){var de=ne===Qe,Se=Ct(de?Lt:R(ne)),Ie=[];return Re(Se,function(ot){E(wt,ot)&&(!de||E(Qe,ot))&&Ie.push(wt[ot])}),Ie};if(h||(Ze=function(){if(this instanceof Ze)throw TypeError("Symbol is not a constructor");var ne=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),de=Ne(ne),Se=function(Ie){this===Qe&&Se.call(Lt,Ie),E(this,Me)&&E(this[Me],de)&&(this[Me][de]=!1),mn(this,de,k(1,Ie))};return m&&pn&&mn(Qe,de,{configurable:!0,set:Se}),gn(de,ne)},H(Ze[nt],"toString",function(){return St(this).tag}),H(Ze,"withoutSetter",function(pe){return gn(Ne(pe),pe)}),X.f=ee,G.f=C,ce.f=ue,M.f=J.f=ge,z.f=xe,Z.f=function(pe){return gn(Ve(pe),pe)},m&&(et(Ze[nt],"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:Ze}),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 de=Ze(ne);return nn[ne]=de,cn[de]=ne,de},keyFor:function(ne){if(!w(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:L,defineProperty:C,defineProperties:P,getOwnPropertyDescriptor:ue}),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(B(ne))}}),jt){var Be=!h||S(function(){var pe=Ze();return jt([pe])!="[null]"||jt({a:pe})!="{}"||jt(Object(pe))!="{}"});a({target:"JSON",stat:!0,forced:Be},{stringify:function(ne,de,Se){for(var Ie=[ne],ot=1,Ce;arguments.length>ot;)Ie.push(arguments[ot++]);if(Ce=de,!(!O(de)&&ne===void 0||w(ne)))return I(de)||(de=function(li,wn){if(typeof Ce=="function"&&(wn=Ce.call(this,li,wn)),!w(wn))return wn}),Ie[1]=de,jt.apply(null,Ie)}})}Ze[nt][Ft]||q(Ze[nt],Ft,Ze[nt].valueOf),Ke(Ze,mt),Oe[Me]=!0},a630:function(n,s,t){var a=t("23e7"),l=t("4df4"),f=t("1c7e"),v=!f(function(m){Array.from(m)});a({target:"Array",stat:!0,forced:v},{from:l})},a640:function(n,s,t){var a=t("d039");n.exports=function(l,f){var v=[][l];return!!v&&a(function(){v.call(null,f||function(){throw 1},1)})}},a691:function(n,s){var t=Math.ceil,a=Math.floor;n.exports=function(l){return isNaN(l=+l)?0:(l>0?a:t)(l)}},ab13:function(n,s,t){var a=t("b622"),l=a("match");n.exports=function(f){var v=/./;try{"/./"[f](v)}catch{try{return v[l]=!1,"/./"[f](v)}catch{}}return!1}},ac1f:function(n,s,t){var a=t("23e7"),l=t("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(n,s,t){var a=t("825a");n.exports=function(){var l=a(this),f="";return l.global&&(f+="g"),l.ignoreCase&&(f+="i"),l.multiline&&(f+="m"),l.dotAll&&(f+="s"),l.unicode&&(f+="u"),l.sticky&&(f+="y"),f}},ae40:function(n,s,t){var a=t("83ab"),l=t("d039"),f=t("5135"),v=Object.defineProperty,m={},h=function(b){throw b};n.exports=function(b,S){if(f(m,b))return m[b];S||(S={});var E=[][b],I=f(S,"ACCESSORS")?S.ACCESSORS:!1,O=f(S,0)?S[0]:h,T=f(S,1)?S[1]:void 0;return m[b]=!!E&&!l(function(){if(I&&!a)return!0;var B={length:-1};I?v(B,1,{enumerable:!0,get:h}):B[1]=1,E.call(B,O,T)})}},ae93:function(n,s,t){var a=t("e163"),l=t("9112"),f=t("5135"),v=t("b622"),m=t("c430"),h=v("iterator"),b=!1,S=function(){return this},E,I,O;[].keys&&(O=[].keys(),"next"in O?(I=a(a(O)),I!==Object.prototype&&(E=I)):b=!0),E==null&&(E={}),!m&&!f(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,f=Function.prototype,v=f.toString,m=/^\s*function ([^ (]*)/,h="name";a&&!(h in f)&&l(f,h,{configurable:!0,get:function(){try{return v.call(this).match(m)[1]}catch{return""}}})},b622:function(n,s,t){var a=t("da84"),l=t("5692"),f=t("5135"),v=t("90e3"),m=t("4930"),h=t("fdbf"),b=l("wks"),S=a.Symbol,E=h?S:S&&S.withoutSetter||v;n.exports=function(I){return f(b,I)||(m&&f(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"),f=t("df75"),v=t("d039"),m=v(function(){f(1)});a({target:"Object",stat:!0,forced:m},{keys:function(b){return f(l(b))}})},b727:function(n,s,t){var a=t("0366"),l=t("44ad"),f=t("7b0b"),v=t("50c4"),m=t("65f0"),h=[].push,b=function(S){var E=S==1,I=S==2,O=S==3,T=S==4,B=S==6,R=S==5||B;return function(F,k,_,te){for(var M=f(F),J=l(M),z=a(k,_,3),ce=v(J.length),G=0,X=te||m,q=E?X(F,ce):I?X(F,0):void 0,H,re;ce>G;G++)if((R||G in J)&&(H=J[G],re=z(H,G,M),S)){if(E)q[G]=re;else if(re)switch(S){case 3:return!0;case 5:return H;case 6:return G;case 2:h.call(q,H)}else if(T)return!1}return B?-1:O||T?T:q}};n.exports={forEach:b(0),map:b(1),filter:b(2),some:b(3),every:b(4),find:b(5),findIndex:b(6)}},c04e:function(n,s,t){var a=t("861d");n.exports=function(l,f){if(!a(l))return l;var v,m;if(f&&typeof(v=l.toString)=="function"&&!a(m=v.call(l))||typeof(v=l.valueOf)=="function"&&!a(m=v.call(l))||!f&&typeof(v=l.toString)=="function"&&!a(m=v.call(l)))return m;throw TypeError("Can't convert object to primitive value")}},c430:function(n,s){n.exports=!1},c6b6:function(n,s){var t={}.toString;n.exports=function(a){return t.call(a).slice(8,-1)}},c6cd:function(n,s,t){var a=t("da84"),l=t("ce4e"),f="__core-js_shared__",v=a[f]||l(f,{});n.exports=v},c740:function(n,s,t){var a=t("23e7"),l=t("b727").findIndex,f=t("44d2"),v=t("ae40"),m="findIndex",h=!0,b=v(m);m in[]&&Array(1)[m](function(){h=!1}),a({target:"Array",proto:!0,forced:h||!b},{findIndex:function(E){return l(this,E,arguments.length>1?arguments[1]:void 0)}}),f(m)},c8ba:function(n,s){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}n.exports=t},c975:function(n,s,t){var a=t("23e7"),l=t("4d64").indexOf,f=t("a640"),v=t("ae40"),m=[].indexOf,h=!!m&&1/[1].indexOf(1,-0)<0,b=f("indexOf"),S=v("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:h||!b||!S},{indexOf:function(I){return h?m.apply(this,arguments)||0:l(this,I,arguments.length>1?arguments[1]:void 0)}})},ca84:function(n,s,t){var a=t("5135"),l=t("fc6a"),f=t("4d64").indexOf,v=t("d012");n.exports=function(m,h){var b=l(m),S=0,E=[],I;for(I in b)!a(v,I)&&a(b,I)&&E.push(I);for(;h.length>S;)a(b,I=h[S++])&&(~f(E,I)||E.push(I));return E}},caad:function(n,s,t){var a=t("23e7"),l=t("4d64").includes,f=t("44d2"),v=t("ae40"),m=v("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!m},{includes:function(b){return l(this,b,arguments.length>1?arguments[1]:void 0)}}),f("includes")},cc12:function(n,s,t){var a=t("da84"),l=t("861d"),f=a.document,v=l(f)&&l(f.createElement);n.exports=function(m){return v?f.createElement(m):{}}},ce4e:function(n,s,t){var a=t("da84"),l=t("9112");n.exports=function(f,v){try{l(a,f,v)}catch{a[f]=v}return v}},d012:function(n,s){n.exports={}},d039:function(n,s){n.exports=function(t){try{return!!t()}catch{return!0}}},d066:function(n,s,t){var a=t("428f"),l=t("da84"),f=function(v){return typeof v=="function"?v:void 0};n.exports=function(v,m){return arguments.length<2?f(a[v])||f(l[v]):a[v]&&a[v][m]||l[v]&&l[v][m]}},d1e7:function(n,s,t){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,f=l&&!a.call({1:2},1);s.f=f?function(m){var h=l(this,m);return!!h&&h.enumerable}:a},d28b:function(n,s,t){var a=t("746f");a("iterator")},d2bb:function(n,s,t){var a=t("825a"),l=t("3bbe");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f=!1,v={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(v,[]),f=v instanceof Array}catch{}return function(b,S){return a(b),l(S),f?m.call(b,S):b.__proto__=S,b}}():void 0)},d3b7:function(n,s,t){var a=t("00ee"),l=t("6eeb"),f=t("b041");a||l(Object.prototype,"toString",f,{unsafe:!0})},d44e:function(n,s,t){var a=t("9bf2").f,l=t("5135"),f=t("b622"),v=f("toStringTag");n.exports=function(m,h,b){m&&!l(m=b?m:m.prototype,v)&&a(m,v,{configurable:!0,value:h})}},d58f:function(n,s,t){var a=t("1c0b"),l=t("7b0b"),f=t("44ad"),v=t("50c4"),m=function(h){return function(b,S,E,I){a(S);var O=l(b),T=f(O),B=v(O.length),R=h?B-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:B<=R)throw TypeError("Reduce of empty array with no initial value")}for(;h?R>=0:B>R;R+=F)R in T&&(I=S(I,T[R],R,O));return I}};n.exports={left:m(!1),right:m(!0)}},d784:function(n,s,t){t("ac1f");var a=t("6eeb"),l=t("d039"),f=t("b622"),v=t("9263"),m=t("9112"),h=f("species"),b=!l(function(){var T=/./;return T.exec=function(){var B=[];return B.groups={a:"7"},B},"".replace(T,"$<a>")!=="7"}),S=function(){return"a".replace(/./,"$0")==="$0"}(),E=f("replace"),I=function(){return/./[E]?/./[E]("a","$0")==="":!1}(),O=!l(function(){var T=/(?:)/,B=T.exec;T.exec=function(){return B.apply(this,arguments)};var R="ab".split(T);return R.length!==2||R[0]!=="a"||R[1]!=="b"});n.exports=function(T,B,R,F){var k=f(T),_=!l(function(){var G={};return G[k]=function(){return 7},""[T](G)!=7}),te=_&&!l(function(){var G=!1,X=/a/;return T==="split"&&(X={},X.constructor={},X.constructor[h]=function(){return X},X.flags="",X[k]=/./[k]),X.exec=function(){return G=!0,null},X[k](""),!G});if(!_||!te||T==="replace"&&!(b&&S&&!I)||T==="split"&&!O){var M=/./[k],J=R(k,""[T],function(G,X,q,H,re){return X.exec===v?_&&!re?{done:!0,value:M.call(X,q,H)}:{done:!0,value:G.call(q,X,H)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:I}),z=J[0],ce=J[1];a(String.prototype,T,z),a(RegExp.prototype,k,B==2?function(G,X){return ce.call(G,this,X)}:function(G){return ce.call(G,this)})}F&&m(RegExp.prototype[k],"sham",!0)}},d81d:function(n,s,t){var a=t("23e7"),l=t("b727").map,f=t("1dde"),v=t("ae40"),m=f("map"),h=v("map");a({target:"Array",proto:!0,forced:!m||!h},{map:function(S){return l(this,S,arguments.length>1?arguments[1]:void 0)}})},da84:function(n,s,t){(function(a){var l=function(f){return f&&f.Math==Math&&f};n.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof a=="object"&&a)||Function("return this")()}).call(this,t("c8ba"))},dbb4:function(n,s,t){var a=t("23e7"),l=t("83ab"),f=t("56ef"),v=t("fc6a"),m=t("06cf"),h=t("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(S){for(var E=v(S),I=m.f,O=f(E),T={},B=0,R,F;O.length>B;)F=I(E,R=O[B++]),F!==void 0&&h(T,R,F);return T}})},dbf1:function(n,s,t){(function(a){t.d(s,"a",function(){return f});function l(){return typeof window<"u"?window.console:a.console}var f=l()}).call(this,t("c8ba"))},ddb0:function(n,s,t){var a=t("da84"),l=t("fdbc"),f=t("e260"),v=t("9112"),m=t("b622"),h=m("iterator"),b=m("toStringTag"),S=f.values;for(var E in l){var I=a[E],O=I&&I.prototype;if(O){if(O[h]!==S)try{v(O,h,S)}catch{O[h]=S}if(O[b]||v(O,b,E),l[E]){for(var T in f)if(O[T]!==f[T])try{v(O,T,f[T])}catch{O[T]=f[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"),f=t("da84"),v=t("5135"),m=t("861d"),h=t("9bf2").f,b=t("e893"),S=f.Symbol;if(l&&typeof S=="function"&&(!("description"in S.prototype)||S().description!==void 0)){var E={},I=function(){var k=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),_=this instanceof I?new S(k):k===void 0?S():S(k);return k===""&&(E[_]=!0),_};b(I,S);var O=I.prototype=S.prototype;O.constructor=I;var T=O.toString,B=String(S("test"))=="Symbol(test)",R=/^Symbol\((.*)\)[^)]+$/;h(O,"description",{configurable:!0,get:function(){var k=m(this)?this.valueOf():this,_=T.call(k);if(v(E,k))return"";var te=B?_.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"),f=t("f772"),v=t("e177"),m=f("IE_PROTO"),h=Object.prototype;n.exports=v?Object.getPrototypeOf:function(b){return b=l(b),a(b,m)?b[m]:typeof b.constructor=="function"&&b instanceof b.constructor?b.constructor.prototype:b instanceof Object?h:null}},e177:function(n,s,t){var a=t("d039");n.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(n,s,t){var a=t("fc6a"),l=t("44d2"),f=t("3f8c"),v=t("69f3"),m=t("7dd0"),h="Array Iterator",b=v.set,S=v.getterFor(h);n.exports=m(Array,"Array",function(E,I){b(this,{type:h,target:a(E),index:0,kind:I})},function(){var E=S(this),I=E.target,O=E.kind,T=E.index++;return!I||T>=I.length?(E.target=void 0,{value:void 0,done:!0}):O=="keys"?{value:T,done:!1}:O=="values"?{value:I[T],done:!1}:{value:[T,I[T]],done:!1}},"values"),f.Arguments=f.Array,l("keys"),l("values"),l("entries")},e439:function(n,s,t){var a=t("23e7"),l=t("d039"),f=t("fc6a"),v=t("06cf").f,m=t("83ab"),h=l(function(){v(1)}),b=!m||h;a({target:"Object",stat:!0,forced:b,sham:!m},{getOwnPropertyDescriptor:function(E,I){return v(f(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"),f=t("06cf"),v=t("9bf2");n.exports=function(m,h){for(var b=l(h),S=v.f,E=f.f,I=0;I<b.length;I++){var O=b[I];a(m,O)||S(m,O,E(h,O))}}},e8b5:function(n,s,t){var a=t("c6b6");n.exports=Array.isArray||function(f){return a(f)=="Array"}},e95a:function(n,s,t){var a=t("b622"),l=t("3f8c"),f=a("iterator"),v=Array.prototype;n.exports=function(m){return m!==void 0&&(l.Array===m||v[f]===m)}},f5df:function(n,s,t){var a=t("00ee"),l=t("c6b6"),f=t("b622"),v=f("toStringTag"),m=l(function(){return arguments}())=="Arguments",h=function(b,S){try{return b[S]}catch{}};n.exports=a?l:function(b){var S,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"),f=a("keys");n.exports=function(v){return f[v]||(f[v]=l(v))}},fb15:function(n,s,t){if(t.r(s),typeof window<"u"){var a=window.document.currentScript;{var l=t("8875");a=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var f=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);f&&(t.p=f[1])}t("99af"),t("4de4"),t("4160"),t("c975"),t("d81d"),t("a434"),t("159b"),t("a4d3"),t("e439"),t("dbb4"),t("b64b");function v(w,C,P){return C in w?Object.defineProperty(w,C,{value:P,enumerable:!0,configurable:!0,writable:!0}):w[C]=P,w}function m(w,C){var P=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);C&&(L=L.filter(function(ee){return Object.getOwnPropertyDescriptor(w,ee).enumerable})),P.push.apply(P,L)}return P}function h(w){for(var C=1;C<arguments.length;C++){var P=arguments[C]!=null?arguments[C]:{};C%2?m(Object(P),!0).forEach(function(L){v(w,L,P[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(P)):m(Object(P)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(P,L))})}return w}function b(w){if(Array.isArray(w))return w}t("e01a"),t("d28b"),t("e260"),t("d3b7"),t("3ca3"),t("ddb0");function S(w,C){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(w)))){var P=[],L=!0,ee=!1,ue=void 0;try{for(var ge=w[Symbol.iterator](),xe;!(L=(xe=ge.next()).done)&&(P.push(xe.value),!(C&&P.length===C));L=!0);}catch(Be){ee=!0,ue=Be}finally{try{!L&&ge.return!=null&&ge.return()}finally{if(ee)throw ue}}return P}}t("a630"),t("fb6a"),t("b0c0"),t("25f0");function E(w,C){(C==null||C>w.length)&&(C=w.length);for(var P=0,L=new Array(C);P<C;P++)L[P]=w[P];return L}function I(w,C){if(w){if(typeof w=="string")return E(w,C);var P=Object.prototype.toString.call(w).slice(8,-1);if(P==="Object"&&w.constructor&&(P=w.constructor.name),P==="Map"||P==="Set")return Array.from(w);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return E(w,C)}}function O(){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(w,C){return b(w)||S(w,C)||I(w,C)||O()}function B(w){if(Array.isArray(w))return E(w)}function R(w){if(typeof Symbol<"u"&&Symbol.iterator in Object(w))return Array.from(w)}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 k(w){return B(w)||R(w)||I(w)||F()}var _=t("a352"),te=t.n(_);function M(w){w.parentElement!==null&&w.parentElement.removeChild(w)}function J(w,C,P){var L=P===0?w.children[0]:w.children[P-1].nextSibling;w.insertBefore(C,L)}var z=t("dbf1");t("13d5"),t("4fad"),t("ac1f"),t("5319");function ce(w){var C=Object.create(null);return function(L){var ee=C[L];return ee||(C[L]=w(L))}}var G=/-(\w)/g,X=ce(function(w){return w.replace(G,function(C,P){return P.toUpperCase()})});t("5db7"),t("73d9");var q=["Start","Add","Remove","Update","End"],H=["Choose","Unchoose","Sort","Filter","Clone"],re=["Move"],be=[re,q,H].flatMap(function(w){return w}).map(function(w){return"on".concat(w)}),Oe={manage:re,manageAndEmit:q,emit:H};function Ne(w){return be.indexOf(w)!==-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 Z(w){return Ve.includes(w)}function He(w){return["transition-group","TransitionGroup"].includes(w)}function Ke(w){return["id","class","role","style"].includes(w)||w.startsWith("data-")||w.startsWith("aria-")||w.startsWith("on")}function Le(w){return w.reduce(function(C,P){var L=T(P,2),ee=L[0],ue=L[1];return C[ee]=ue,C},{})}function Re(w){var C=w.$attrs,P=w.componentData,L=P===void 0?{}:P,ee=Le(Object.entries(C).filter(function(ue){var ge=T(ue,2),xe=ge[0];return ge[1],Ke(xe)}));return h(h({},ee),L)}function Me(w){var C=w.$attrs,P=w.callBackBuilder,L=Le(mt(C));Object.entries(P).forEach(function(ue){var ge=T(ue,2),xe=ge[0],Be=ge[1];Oe[xe].forEach(function(pe){L["on".concat(pe)]=Be(pe)})});var ee="[data-draggable]".concat(L.draggable||"");return h(h({},L),{},{draggable:ee})}function mt(w){return Object.entries(w).filter(function(C){var P=T(C,2),L=P[0];return P[1],!Ke(L)}).map(function(C){var P=T(C,2),L=P[0],ee=P[1];return[X(L),ee]}).filter(function(C){var P=T(C,2),L=P[0];return P[1],!Ne(L)})}t("c740");function nt(w,C){if(!(w instanceof C))throw new TypeError("Cannot call a class as a function")}function Ft(w,C){for(var P=0;P<C.length;P++){var L=C[P];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(w,L.key,L)}}function ut(w,C,P){return C&&Ft(w.prototype,C),w}var St=function(C){var P=C.el;return P},Qe=function(C,P){return C.__draggable_context=P},Ze=function(C){return C.__draggable_context},jt=function(){function w(C){var P=C.nodes,L=P.header,ee=P.default,ue=P.footer,ge=C.root,xe=C.realList;nt(this,w),this.defaultNodes=ee,this.children=[].concat(k(L),k(ee),k(ue)),this.externalComponent=ge.externalComponent,this.rootTransition=ge.transition,this.tag=ge.tag,this.realList=xe}return ut(w,[{key:"render",value:function(P,L){var ee=this.tag,ue=this.children,ge=this._isRootComponent,xe=ge?{default:function(){return ue}}:ue;return P(ee,L,xe)}},{key:"updated",value:function(){var P=this.defaultNodes,L=this.realList;P.forEach(function(ee,ue){Qe(St(ee),{element:L[ue],index:ue})})}},{key:"getUnderlyingVm",value:function(P){return Ze(P)}},{key:"getVmIndexFromDomIndex",value:function(P,L){var ee=this.defaultNodes,ue=ee.length,ge=L.children,xe=ge.item(P);if(xe===null)return ue;var Be=Ze(xe);if(Be)return Be.index;if(ue===0)return 0;var pe=St(ee[0]),ne=k(ge).findIndex(function(de){return de===pe});return P<ne?0:ue}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),w}(),It=t("8bbf");function et(w,C){var P=w[C];return P?P():[]}function Ct(w){var C=w.$slots,P=w.realList,L=w.getKey,ee=P||[],ue=["header","footer"].map(function(de){return et(C,de)}),ge=T(ue,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(de,Se){return pe({element:de,index:Se}).map(function(Ie){return Ie.key=L(de),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 zn(w){var C=He(w),P=!Z(w)&&!C;return{transition:C,externalComponent:P,tag:P?Object(It.resolveComponent)(w):C?It.TransitionGroup:w}}function wt(w){var C=w.$slots,P=w.tag,L=w.realList,ee=w.getKey,ue=Ct({$slots:C,realList:L,getKey:ee}),ge=zn(P);return new jt({nodes:ue,root:ge,realList:L})}function Lt(w,C){var P=this;Object(It.nextTick)(function(){return P.$emit(w.toLowerCase(),C)})}function nn(w){var C=this;return function(P,L){if(C.realList!==null)return C["onDrag".concat(w)](P,L)}}function cn(w){var C=this,P=nn.call(this,w);return function(L,ee){P.call(C,L,ee),Lt.call(C,w,L)}}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(k([].concat(k(Oe.manageAndEmit),k(Oe.emit)).map(function(w){return w.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,P=this.$attrs,L=this.tag,ee=this.componentData,ue=this.realList,ge=this.getKey,xe=wt({$slots:C,tag:L,realList:ue,getKey:ge});this.componentStructure=xe;var Be=Re({$attrs:P,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 P=this.$attrs,L=this.$el,ee=this.componentStructure;ee.updated();var ue=Me({$attrs:P,callBackBuilder:{manageAndEmit:function(Be){return cn.call(C,Be)},emit:function(Be){return Lt.bind(C,Be)},manage:function(Be){return nn.call(C,Be)}}}),ge=L.nodeType===1?L:L.parentElement;this._sortable=new te.a(ge,ue),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(P){return P[C]}}},watch:{$attrs:{handler:function(C){var P=this._sortable;P&&mt(C).forEach(function(L){var ee=T(L,2),ue=ee[0],ge=ee[1];P.option(ue,ge)})},deep:!0}},methods:{getUnderlyingVm:function(C){return this.componentStructure.getUnderlyingVm(C)||null},getUnderlyingPotencialDraggableComponent:function(C){return C.__draggable_component__},emitChanges:function(C){var P=this;Object(It.nextTick)(function(){return P.$emit("change",C)})},alterList:function(C){if(this.list){C(this.list);return}var P=k(this.modelValue);C(P),this.$emit("update:modelValue",P)},spliceList:function(){var C=arguments,P=function(ee){return ee.splice.apply(ee,k(C))};this.alterList(P)},updatePosition:function(C,P){var L=function(ue){return ue.splice(P,0,ue.splice(C,1)[0])};this.alterList(L)},getRelatedContextFromMoveEvent:function(C){var P=C.to,L=C.related,ee=this.getUnderlyingPotencialDraggableComponent(P);if(!ee)return{component:ee};var ue=ee.realList,ge={list:ue,component:ee};if(P!==L&&ue){var xe=ee.getUnderlyingVm(L)||{};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 P=C.item._underlying_vm_;if(P!==void 0){M(C.item);var L=this.getVmIndexFromDomIndex(C.newIndex);this.spliceList(L,0,P);var ee={element:P,newIndex:L};this.emitChanges({added:ee})}},onDragRemove:function(C){if(J(this.$el,C.item,C.oldIndex),C.pullMode==="clone"){M(C.clone);return}var P=this.context,L=P.index,ee=P.element;this.spliceList(L,1);var ue={element:ee,oldIndex:L};this.emitChanges({removed:ue})},onDragUpdate:function(C){M(C.item),J(C.from,C.item,C.oldIndex);var P=this.context.index,L=this.getVmIndexFromDomIndex(C.newIndex);this.updatePosition(P,L);var ee={element:this.context.element,oldIndex:P,newIndex:L};this.emitChanges({moved:ee})},computeFutureIndex:function(C,P){if(!C.element)return 0;var L=k(P.to.children).filter(function(xe){return xe.style.display!=="none"}),ee=L.indexOf(P.related),ue=C.component.getVmIndexFromDomIndex(ee),ge=L.indexOf(fn)!==-1;return ge||!P.willInsertAfter?ue:ue+1},onDragMove:function(C,P){var L=this.move,ee=this.realList;if(!L||!ee)return!0;var ue=this.getRelatedContextFromMoveEvent(C),ge=this.computeFutureIndex(ue,C),xe=h(h({},this.context),{},{futureIndex:ge}),Be=h(h({},C),{},{relatedContext:ue,draggedContext:xe});return L(Be,P)},onDragEnd:function(){fn=null}}}),gn=mn;s.default=gn},fb6a:function(n,s,t){var a=t("23e7"),l=t("861d"),f=t("e8b5"),v=t("23cb"),m=t("50c4"),h=t("fc6a"),b=t("8418"),S=t("b622"),E=t("1dde"),I=t("ae40"),O=E("slice"),T=I("slice",{ACCESSORS:!0,0:0,1:2}),B=S("species"),R=[].slice,F=Math.max;a({target:"Array",proto:!0,forced:!O||!T},{slice:function(_,te){var M=h(this),J=m(M.length),z=v(_,J),ce=v(te===void 0?J:te,J),G,X,q;if(f(M)&&(G=M.constructor,typeof G=="function"&&(G===Array||f(G.prototype))?G=void 0:l(G)&&(G=G[B],G===null&&(G=void 0)),G===Array||G===void 0))return R.call(M,z,ce);for(X=new(G===void 0?Array:G)(F(ce-z,0)),q=0;z<ce;z++,q++)z in M&&b(X,q,M[z]);return X.length=q,X}})},fc6a:function(n,s,t){var a=t("44ad"),l=t("1d80");n.exports=function(f){return a(l(f))}},fdbc:function(n,s){n.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(n,s,t){var a=t("4930");n.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(Ma);var sd=Ma.exports;const Ua=ts(sd);function ka(u,o){["name","gender","phone","id_card","ethnicity","height","weight","current_address","household_location","marital_status","expected_salary","political_status"].forEach(n=>{o[n]&&(u[n].visible=o[n].visible,u[n].required=o[n].required)}),["family_member","education","work_experience"].forEach(n=>{o[n]&&(u[n].visible=o[n].visible,Object.keys(o[n].fields).forEach(s=>{u[n].fields[s]&&(u[n].fields[s].visible=o[n].fields[s].visible,u[n].fields[s].required=o[n].fields[s].required)}))})}const dd={class:"position-detail-container"},ud={class:"header-container"},cd={class:"header-actions"},fd={class:"detail-content"},vd={class:"detail-item"},pd={key:0,class:"detail-value"},md={key:1,class:"title-edit-container"},gd={class:"title-edit-actions"},hd={class:"detail-item"},yd={key:0,class:"detail-value"},bd={key:1,class:"title-edit-container"},Sd={class:"title-edit-actions"},Ed={class:"detail-item"},xd={key:0,class:"detail-value"},Id={key:1,class:"title-edit-container"},Cd={class:"title-edit-actions"},wd={class:"detail-item"},Ad={key:0,class:"detail-value"},Od={key:1,class:"title-edit-container"},Td={class:"salary-range-container"},Dd={class:"title-edit-actions"},Pd={class:"detail-item"},Vd={key:0,class:"detail-value"},Rd={key:1,class:"title-edit-container"},Ud={class:"title-edit-actions"},kd={class:"detail-item"},Kd={key:0,class:"detail-value"},Md={key:1,class:"title-edit-container"},Nd={class:"title-edit-actions"},Bd={class:"detail-item"},Fd={key:0,class:"detail-value"},jd={key:1,class:"title-edit-container"},Ld={class:"title-edit-actions"},Qd={class:"detail-item"},Gd={class:"detail-value"},zd={class:"detail-item"},$d={key:0,class:"detail-value"},Jd={key:1,class:"title-edit-container"},Wd={class:"title-edit-actions"},Hd={class:"detail-item"},Yd=["innerHTML"],Xd={key:2,class:"title-edit-container"},qd={class:"title-edit-actions"},Zd={class:"detail-item"},_d=["innerHTML"],eu={key:2,class:"title-edit-container"},tu={class:"title-edit-actions"},nu={class:"detail-item"},ou={key:0,class:"detail-value"},iu={key:1,class:"title-edit-container"},au={class:"title-edit-actions"},ru={class:"status-cards"},lu={class:"status-switch"},su={class:"status-text"},du={class:"section-title"},uu={class:"usage-content"},cu={key:0,class:"usage-value"},fu={key:1,class:"title-edit-container"},vu={class:"title-edit-actions"},pu={class:"section-title"},mu={class:"process-steps"},gu={key:0,class:"step-number"},hu={class:"step-content"},yu={class:"step-title"},bu={class:"section-title"},Su={class:"process-dialog-content"},Eu={key:0,class:"add-process-btn-top"},xu={key:0,class:"process-number"},Iu={class:"process-edit-content"},Cu={key:1,class:"process-edit-btn"},wu=["onClick"],Au={class:"dialog-footer"},Ou={class:"ai-video-steps"},Tu={key:0,class:"ai-video-content","element-loading-text":"正在生成能力标签..."},Du={class:"ai-video-options"},Pu={class:"recommended-dimensions"},Vu={class:"dimension-grid"},Ru={class:"ability-label"},Uu={class:"optional-dimensions"},ku={class:"header-row"},Ku={class:"right_btn"},Mu={class:"dimension-grid"},Nu={class:"ability-label"},Bu={class:"custom-dimensions"},Fu={class:"dimension-form"},ju={class:"dimension-row"},Lu={class:"dimension-input"},Qu={class:"dimension-input"},Gu={class:"dimension-actions"},zu={key:1,class:"ai-video-content"},$u={class:"interview-settings"},Ju={class:"interview-header"},Wu={class:"interview-actions"},Hu={class:"question-switches"},Yu={class:"switch-item"},Xu={class:"switch-item"},qu={class:"interview-duration"},Zu={class:"duration-value"},_u={class:"interview-content"},ec={class:"interview-questions-container","element-loading-text":"AI正在生成题目..."},tc={key:0,class:"no-questions"},nc={key:1,class:"question-list"},oc={class:"question-card"},ic={class:"question-header"},ac={class:"question-title"},rc={class:"title-content"},lc={class:"question-content"},sc={class:"question-number"},dc={style:{color:"#0017ab"}},uc={class:"question-tags"},cc={key:0,class:"more-tags-indicator"},fc={class:"question-actions",style:{"margin-top":"0px"}},vc={class:"question-info"},pc={class:"info-item"},mc={key:0,class:"question-actions"},gc={class:"answer-limit"},hc={class:"answer-limit"},yc={key:1,class:"question-actions"},bc={class:"answer-limit"},Sc={class:"multi-dimension-questions"},Ec={class:"dimension-list"},xc={class:"dimension-header"},Ic={class:"dimension-info"},Cc={class:"ability-name"},wc=["onClick"],Ac={key:2,class:"ai-video-content"},Oc={class:"system-settings"},Tc={class:"setting-section"},Dc={style:{display:"flex","align-items":"flex-start"}},Pc={style:{width:"100px",height:"170px","background-color":"#f2f2f2","margin-right":"30px","border-radius":"10px",overflow:"hidden"}},Vc=["src"],Rc={class:"interviewer-avatars"},Uc=["onClick"],kc={class:"avatar-wrapper"},Kc=["src","alt"],Mc=["title"],Nc={class:"setting-item",style:{border:"none"}},Bc={class:"setting-options"},Fc={class:"interview-settings"},jc={class:"setting-item"},Lc={class:"setting-item"},Qc={class:"setting-options"},Gc={class:"setting-item"},zc={class:"drawer-footer"},$c={class:"video-lecture-form"},Jc={class:"form-item"},Wc={class:"upload-area"},Hc={class:"form-item"},Yc={class:"dialog-footer"},Xc={class:"ai-chat-content"},qc={class:"chat-settings"},Zc={class:"chat-actions"},_c={class:"chat-questions"},ef={key:0,class:"empty-questions"},tf={key:1,class:"question-list"},nf={class:"question-card"},of={class:"question-header"},af={class:"question-title"},rf={class:"question-number"},lf={class:"question-actions"},sf={class:"weight-control"},df={class:"answer-limit"},uf={class:"question-info"},cf={class:"info-item"},ff={class:"info-item"},vf={class:"info-item"},pf={class:"drawer-footer"},mf={class:"question-form"},gf={class:"form-item"},hf={class:"form-item"},yf={class:"form-item"},bf={class:"competency-config"},Sf={class:"tag-name"},Ef={class:"form-tip"},xf={class:"form-item"},If={class:"form-item"},Cf={key:0,class:"form-item"},wf=["onClick"],Af={key:1,class:"form-item"},Of={key:2},Tf=["src"],Df={class:"form-item"},Pf={class:"form-item"},Vf={class:"form-item"},Rf={class:"form-item"},Uf={class:"dialog-footer"},kf={class:"question-select-content"},Kf={class:"custom-tree-node"},Mf={class:"node-label",style:{display:"flex","align-items":"center"}},Nf={class:"ml-2"},Bf={class:"dialog-footer"},Ff={class:"data-collection-form"},jf={class:"field-config-panel"},Lf={class:"field-config-list"},Qf={class:"field-config-item"},Gf={class:"field-label"},zf={class:"field-config-item"},$f={class:"field-label"},Jf={class:"field-config-item sub-field"},Wf={class:"field-label"},Hf={class:"field-config-item"},Yf={class:"field-label"},Xf={class:"field-config-item sub-field"},qf={class:"field-label"},Zf={class:"field-config-item"},_f={class:"field-label"},ev={class:"field-config-item"},tv={class:"field-label"},nv={class:"field-config-item sub-field"},ov={class:"field-label"},iv={class:"dialog-footer"},av={class:"resume-collection-form"},rv={class:"form-item"},lv={class:"dialog-footer"},sv={class:"code-test-form"},dv={class:"form-item"},uv={class:"form-item"},cv={class:"switch-label"},fv={class:"form-item"},vv={class:"test-paper-selector"},pv={key:0,class:"empty-paper"},mv={key:1,class:"selected-paper"},gv={class:"paper-info"},hv={class:"paper-title"},yv={class:"paper-meta"},bv={class:"paper-actions"},Sv={class:"dialog-footer"},Ev={class:"typing-test-form"},xv={class:"form-item"},Iv={class:"article-selection"},Cv={class:"form-item"},wv={class:"form-item"},Av={class:"time-input-container"},Ov={class:"form-item"},Tv={class:"upload-area"},Dv={class:"form-item"},Pv={class:"form-item"},Vv={class:"form-item"},Rv={class:"form-item"},Uv={class:"criteria-options"},kv={class:"dialog-footer"},Kv={class:"interview-settings-content"},Mv={class:"settings-section"},Nv={class:"setting-item"},Bv={class:"setting-item"},Fv={class:"setting-item"},jv={class:"setting-item"},Lv={class:"settings-section"},Qv={class:"setting-item"},Gv={class:"setting-info"},zv={class:"setting-desc-container"},$v={class:"setting-item"},Jv={class:"setting-info"},Wv={key:0,class:"setting-desc-container"},Hv={class:"setting-desc"},Yv={key:1,class:"desc-edit-container"},Xv={class:"desc-edit-actions"},qv={class:"setting-item"},Zv={class:"setting-info"},_v={key:0,class:"setting-desc-container"},ep={class:"setting-desc"},tp={key:1,class:"desc-edit-container"},np={class:"desc-edit-actions"},op={class:"setting-item"},ip={class:"setting-info"},ap={key:0,class:"setting-desc-container"},rp={class:"setting-desc"},lp={key:1,class:"desc-edit-container"},sp={class:"desc-edit-actions"},dp={class:"dialog-footer"},up={class:"question-select-content"},cp={class:"document-box document-left-box"},fp={class:"search-bar"},vp={class:"search-inputs"},pp={class:"question-lists"},mp={class:"pagination-container"},gp={class:"dialog-footer"},hp={class:"candidate-questions-form"},yp={class:"form-item"},bp={class:"form-item"},Sp={class:"form-item"},Ep={class:"dialog-footer"},xp={class:"dialog-footer"},Ip={class:"selected-applications-preview"},Cp={class:"preview-title"},wp={class:"preview-footer"},Ka="position_field_config_cache",Ap=Ql({__name:"index",setup(u){const o=(c,e)=>{try{const A={positionId:e,config:JSON.parse(JSON.stringify(c)),timestamp:Date.now()};localStorage.setItem(Ka,JSON.stringify(A))}catch(A){console.error("保存字段配置到缓存失败:",A)}},i=c=>{try{const e=localStorage.getItem(Ka);if(e){const A=JSON.parse(e);if(A.positionId===c&&Date.now()-A.timestamp<6048e5)return A.config}return null}catch(e){return console.error("读取字段配置缓存失败:",e),null}},d=Q(null),n=Gl(),s=zl(),t=Q(s.query.id),a=Q(!1),l=Q(!1),f=c=>m.slice(0,c+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=Q(!1),b=[{label:"视频宣讲",value:"video_presentation"},{label:"简历收集",value:"resume_collection"},{label:"资料收集",value:"data_collection"},{label:"AI考察",value:"ai_video"},{label:"综合素质考察",value:"common_sense"},{label:"心理测试",value:"psychological_problem"},{label:"候选人提问",value:"candidate_questions"},{label:"肢体检测",value:"posture_check"}],S=c=>(Vt.value.forEach(e=>{c.id==e.id&&(c.name=e.name)}),c.name),E=Q(!1),I=c=>{rt.pageSize=c,_t({page:rt.page,limit:rt.pageSize,question_form:lt.question_form}).then(e=>{e.data&&(rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Qt.value=e.data.total)})},O=c=>{rt.page=c,_t({page:rt.page,limit:rt.pageSize,question_form:lt.question_form}).then(e=>{e.data&&(rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Qt.value=e.data.total)})},T=async()=>{const c=Kt.value.map(e=>e.id);if(console.log("selectedQuestionIds",c),c.length===0){V.warning("请至少选择一个问题");return}try{await mi({position_id:s.query.id,question_id:c,duration:60,tenant_id:Zt.get("tenant_id")});const e=rt.value.filter(A=>A.selected);Kt.value.push(...e),V.success("问题添加成功"),E.value=!1}catch(e){console.error("添加问题失败:",e),e.code===4e3?V.warning("该题目已绑定,请选择其他题目"):V.error("添加问题失败,请重试")}},B=()=>{kn.value=!0,pa({position_id:s.query.id}).then(c=>{c.data.forEach(e=>{e.selected=!1}),Vt.value=c.data,console.log("res",c),kn.value=!1}).catch(c=>{console.log("err",c),kn.value=!1})},R=bs(),F=c=>{if(console.log("地址选择变化:",c),c&&Array.isArray(c)&&c.length>0){const[e,A,x]=c,D=R.find(le=>le.code===e);let N;D&&D.children&&(N=D.children.find(le=>le.code===A),N&&N.children&&N.children.find(le=>le.code===x))}},k=Q(!1),_=Q([]),te=async()=>{k.value=!0;try{const c=await gi({page:1,limit:100,job_id:s.query.id});c.data&&c.data.items&&(_.value=c.data.items)}catch(c){console.error("获取职位申请数据失败:",c),V.error("获取职位申请数据失败")}},M=(c,e)=>{},J=Q(-1),z=Q(!1),ce=_e({top:"0px",left:"0px"}),G=Q(!1),X=_e({qualityControl:!1,teamwork:!1,problemSolving:!1,dataAnalysis:!1,positionMatch:!1,proactiveness:!1,basicAbility:!1,communication:!1,serviceAwareness:!1,xxxx:!1}),q=Q(1),H=Q([{label:"沟通能力",value:"communication",level:"CC",description:"能够清晰、准确地表达想法,善于倾听和理解他人的观点,具备良好的书面和口头表达能力。",expanded:!1,isNew:!0},{label:"团队协作",value:"teamwork",level:"CC",description:"能够与团队成员有效合作,共同完成目标,具备良好的团队精神和协作意识。",expanded:!1,isNew:!1}]);_e({min:0,max:100,minScore:0,maxScore:0});const re=c=>{console.log(c)};Q("standard"),Q(!1);const be=Q(!1),Oe=_e({title:"",videoFile:null,description:"",broadcastType:"required"}),Ne=Q(!1);Q(15),Q(5);const Ve=Q(!1),Z=_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=c=>c.map(e=>e.id),Ke=Q([]),Le=Q([]),Re=Q([{label:"技术能力",value:"tech"},{label:"管理能力",value:"management"},{label:"沟通能力",value:"communication"},{label:"专业知识",value:"professional"},{label:"个人素质",value:"personal"}]),Me=Q([{label:"时间管理",value:"time_management"},{label:"压力处理",value:"pressure_handling"},{label:"团队合作",value:"team_cooperation"},{label:"问题分析",value:"problem_analysis"},{label:"创新思维",value:"innovative_thinking"}]),mt=()=>{Object.assign(Z,{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:[]})},nt=async()=>{const c=await ql({page:1,page_size:50});console.log(c),Le.value=c.data.map(e=>({label:e.title,value:String(e.id)}))},Ft=()=>{Ve.value=!1,mt()},ut=Q(!1);_e({isRequired:!1,questions:[]}),Q([{label:"Q1",value:"q1",isVisible:!0,enableScoring:!1,isRequired:!1},{label:"请问你的毕业院校是哪里?",value:"school",isVisible:!0,enableScoring:!1,isRequired:!0}]);const St=Q(!1),Qe=_e({title:"简历收集",isRequired:!0,steps:4}),Ze=()=>{St.value=!0},jt=()=>{St.value=!1,Object.assign(Qe,{title:"简历收集",isRequired:!0,steps:4})},It=()=>{const c={id:Date.now(),name:Qe.title,description:"简历收集",active:!0,type:"resume_collection",config:{...Qe},visible:!0};m.splice(J.value,0,c),yt({id:De.value,require_resume_upload:!0}).then(e=>{e.code==2e3?m[0].visible=!0:V.error("删除失败")}),St.value=!1,V.success("简历收集步骤已添加"),jt()},et=Q(!1),Ct=_e({enableScoreQuestions:!1,enableColorBlindQuestions:!1,enableOpenQuestions:!1}),zn=async()=>{try{const c=s.query.id;if(!c){V.error("职位ID不存在");return}const e=Array.isArray(c)?c[0]:c,A=c,x=await Zl(c);if(x&&x.data){Object.assign(v,x.data),Ke.value=x.data.competency_tags;const D=await Nn(c);D&&D.data&&(De.value=D.data.id,D.data.enable_psychological_test!==void 0&&(Ct.enableScoreQuestions=D.data.enable_psychological_test),D.data.enable_color_blind_test!==void 0&&(Ct.enableColorBlindQuestions=D.data.enable_color_blind_test)),a.value=v.status===1}}catch(c){console.error("获取职位详情失败:",c),V.error("获取职位详情失败")}},wt=()=>{n.push("/position/list")},Lt=()=>{n.push("/position/list")},nn=async c=>{const e=s.query.id;try{const A=c?1:0;if(c){const x=await _l({position_id:e,tenant_id:Zt.get("tenant_id")});if(x.code===2e3){const{is_all_completed:D,total_questions:N}=x.data;if(!D||N<=0){V.warning(`无法开启职位,原因:${N<=0?"当前职位没有设置面试题目":"面试题目视频未全部生成完成"}`),a.value=!c;return}}else{V.error("检查视频状态失败,请稍后重试"),a.value=!c;return}}await Tt({id:e,status:A}),v.status=A,V.success(`职位已${c?"开启":"关闭"}`)}catch(A){console.error("修改状态失败:",A),V.error("修改状态失败"),a.value=!c}},cn=()=>{h.value=!0},fn=()=>{h.value=!1,V.success("招聘流程已更新")},vn=()=>{h.value=!1},pn=(c,e)=>{c.type=="ai_video"&&(G.value=!1),c.type=="ai_chat"&&(Ne.value=!1),c.type=="ai_video"&&yt({id:De.value,enable_open_questions:!1}).then(A=>{A.code==2e3?V.success("删除成功"):V.error("删除失败")}),c.type=="psychological_problem"&&yt({id:De.value,enable_scoring_questions:!1}).then(A=>{if(console.log(A),A.code==2e3){const x=Do.value.filter(D=>D.question_form===4).map(D=>D.question_id).filter(D=>D!=null);console.log(x),x.length>0&&ma({position_id:s.query.id,question_id:x}),V.success("删除成功")}else V.error("删除失败")}),c.type=="common_sense"&&yt({id:De.value,enable_single_choice:!1,enable_multiple_choice:!1,enable_image_choice:!1,enable_fill_blank:!1}).then(A=>{if(A.code==2e3){V.success("删除成功");const x=Do.value.filter(D=>D.question_form!==4&&D.question_form!==0).map(D=>D.question_id).filter(D=>D!=null);x.length>0&&ma({position_id:s.query.id,question_id:x})}else V.error("删除失败")}),c.type=="resume_collection"&&yt({id:De.value,require_resume_upload:!1}).then(A=>{A.code==2e3?V.success("删除成功"):V.error("删除失败")}),c.type=="posture_check"&&yt({id:De.value,enable_posture_check:!1}).then(A=>{if(A.code==2e3){V.success("删除成功");return}else V.error("删除失败")}),m.splice(e,1),console.log("recruitmentProcess",m)},mn=c=>({0:"未发布",1:"已发布",2:"已结束"})[c]||"未知状态",gn=c=>({0:"info",1:"success",2:"danger"})[c]||"info",w=c=>({0:"全职",1:"兼职",2:"实习",3:"其他"})[c]||"未知",C=(c,e)=>{J.value=c,z.value=!0,console.log(c,e);const A=e.currentTarget,x=A.closest(".process-dialog-content");if(x){const D=A.getBoundingClientRect(),N=x.getBoundingClientRect(),le=D.bottom-N.top+5,$=D.left-N.left;ce.top=`${le}px`,ce.left=`${$}px`}e.stopPropagation()},P=async(c,e)=>{if(c==="ai_video"&&yt({id:De.value,enable_open_questions:!0}).then(D=>{D.code==2e3?(m[2].visible=!0,z.value=!1):V.error("更新配置失败")}),c==="common_sense"&&yt({id:De.value,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_fill_blank:!0}).then(D=>{D.code==2e3?(m[3].visible=!0,console.log("recruitmentProcess",m),z.value=!1):V.error("更新配置失败")}),c==="psychological_problem"&&yt({id:De.value,enable_scoring_questions:!0}).then(D=>{D.code==2e3?(m[4].visible=!0,z.value=!1):V.error("更新配置失败")}),c==="post_render_questions"){Il.value=!0,z.value=!1;return}if(c==="posture_check"&&yt({id:De.value,enable_posture_check:!0}).then(D=>{D.code==2e3?(console.log("recruitmentProcess",m),m[5].visible=!0,J.value=5):V.error("删除失败")}),m.find(D=>!!(D.type&&D.type===c||D.name===e))){z.value=!1;return}if(c==="ai_chat"){Ne.value=!0,z.value=!1;return}if(c==="video_presentation"){It(),z.value=!1;return}if(c==="data_collection"){const D=await Nn(s.query.id);D&&D.data?(De.value=D.data.id,ka(j,D.data.profile_fields_config),ut.value=!0,z.value=!1):(ut.value=!0,z.value=!1);return}if(c==="resume_collection"){Ze(),z.value=!1;return}if(c==="posture_check"&&(z.value=!1),c==="code_test"){_a(),z.value=!1;return}if(c==="typing_test"){Jn.value=!0,z.value=!1;return}if(c==="candidate_questions"){Kn.value=!0,z.value=!1;return}const x={id:Date.now(),name:e,description:e,active:!0,type:c,visible:!0};console.log("newStep",x),m.splice(c==="posture_check"?5:J.value,0,x),z.value=!1},L=async()=>{if(q.value<3){if(q.value===1){const c=Vt.value.filter(e=>e.selected);if(c.length===0){V.warning("请至少选择一个胜任力考核维度");return}try{H.value=c.map(e=>({label:e.name,value:e.name.toLowerCase().replace(/\s+/g,"_"),id:e.id,description:e.description||"",level:"CC",expanded:!1,isNew:!0}))}catch(e){console.error("处理胜任力标签失败:",e),V.error("处理胜任力标签失败");return}}if(q.value===2){if(Ce.value.length===0){V.warning("请至少添加一个面试题目");return}try{await jr()}catch(c){console.error("保存题目失败:",c),V.error("保存题目失败");return}}if(q.value===3){const c=Lr();if(!c.isValid){c.messages.forEach(A=>{V.warning(A)});return}const e=zr();console.log("完整的面试配置:",e)}q.value++}else ue()},ee=()=>{q.value>1&&q.value--},ue=async()=>{var D;if(!gt.value||!gt.value.id){V.warning("请选择面试官形象");return}if(!Bo.value){V.warning("请选择面试官");return}const c={id:gt.value.id,name:gt.value.name,avatar_url:gt.value.avatar_url||gt.value.image},e=ui(),A={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 N=await hi({position_id:s.query.id,digital_human_id:gt.value.id});if(N.code==2e3){V.success("配置保存成功");try{const le={config_id:((D=N.data)==null?void 0:D.id)||N.data};e.beforeStartText&&e.beforeStartText.trim()!==""?(await yi(le),console.log("开场白生成成功"),G.value=!1,q.value=1,await new Promise(ie=>setTimeout(ie,4e3))):console.log("无开场白配置,跳过开场白生成"),await ga(le),V.success("视频开始生成")}catch(le){console.error("获取开场白和视频失败:",le),V.warning("视频生成中,请稍后")}}else V.error("配置保存失败")}else if((await yt({id:De.value,digital_human_id:gt.value.id})).code==2e3){V.success("配置保存成功");try{const le={config_id:De.value};console.log("开始生成开场白..."),await yi(le),console.log("开场白生成成功"),G.value=!1,q.value=1,console.log("等待4秒后开始生成视频..."),await Wr(4e3),console.log("开始生成视频..."),await ga(le),console.log("视频生成请求已发送"),V.success("视频开始生成")}catch(le){console.error("获取开场白和视频失败:",le),V.warning("视频生成中,请稍后")}}else V.error("配置保存失败")}catch(N){console.error("更新职位状态失败:",N),V.error("更新职位状态失败");return}console.log("保存时选中的面试官:",c),console.log("保存时的面试设置:",e),console.log("保存时的题目设置:",A);const x={id:Date.now(),name:"AI考察",description:`已选择${H.value.length}项能力测评`,active:!0,type:"ai_video",abilities:H.value.map(N=>N.value),interviewer:c,settings:e};m.splice(J.value,0,x),G.value=!1,q.value=1,V.success("AI考察步骤已添加")},ge=()=>{G.value=!1,q.value=1},xe=c=>{},Be=()=>{be.value=!1,Object.assign(Oe,{title:"",videoFile:null,description:"",broadcastType:"required"})},pe=()=>{const c={id:Date.now(),name:Oe.title||"视频宣讲",description:Oe.description||"视频宣讲",active:!0,type:"video_presentation",config:{...Oe}};m.splice(J.value,0,c),be.value=!1,V.success("视频宣讲步骤已添加"),Be()},ne=()=>{const c={id:Date.now(),name:"AI实时对话",description:"AI实时对话",active:!0,type:"ai_chat"};m.splice(J.value,0,c),Ne.value=!1,V.success("AI实时对话步骤已添加")},de=()=>{Ne.value=!1},Se=()=>{if(!Ue.title.trim()){V.warning("请输入环节名称");return}if(Ue.duration<=0){V.warning("提问时长必须大于0分钟");return}if(Ue.maxQuestions<=0){V.warning("最多提问数量必须大于0");return}if(fo.value>=0){const c=m[fo.value];c.name=Ue.title,c.description=`时长${Ue.duration}分钟,最多${Ue.maxQuestions}个问题`,c.config={...Ue},V.success("候选人提问环节已更新")}else{const c={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,c),V.success("候选人提问环节已添加")}Kn.value=!1,ot()},Ie=()=>{Kn.value=!1,ot()},ot=()=>{fo.value=-1,Object.assign(Ue,{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]})},Ce=Q([]),li=vi(()=>Ce.value.reduce((c,e)=>{switch(e.question_form){case 0:return c+60;case 1:return c+30;case 2:return c+30;default:return c+30}},0)),wn=vi(()=>{const c=li.value;if(c<60)return`${c}秒`;const e=Math.floor(c/60),A=c%60;return A>0?`${e}分${A}秒`:`${e}分钟`}),Ha=()=>{Ve.value=!0},Bi=()=>{Fo.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,lo.value=!0},Ya=async c=>{try{const e=await Es({...c,tenant_id:Zt.get("tenant_id")});if(console.log(c),e&&e.code===2e3){if(V.success("题目创建成功"),console.log(e),e.data){const A={id:e.data.id||e.data,title:c.question,content:c.question,question_form:c.question_form,question_form_name:ji(c.question_form),scoring_reference:c.scoring_reference||"",competency_tag_info:c.competency_tags||[],competency_tags:c.competency_tags||[],options:c.options||[],enable_follow_up:!1,maxAnswers:1,weight:100,source:"custom_selected",question_image_url:c.question_image_url||""};Ce.value.push(A)}lo.value=!1}else V.error("题目创建失败,请重试")}catch(e){console.error("创建题目失败:",e),V.error("题目创建失败,请重试")}},Fi=()=>{lo.value=!1,Fo.value={}},ji=c=>({0:"开放问题",1:"单选题",2:"多选题",3:"识图题",4:"得分题",5:"判断题",6:"填空题"})[c]||"未知类型",Li=c=>{if(Ce.value[c].source!=="ai_generated")console.log(Ce.value[c].id),us(Ce.value[c].id).then(e=>{var A;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:ji(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:(A=e.data.options)==null?void 0:A.map(D=>({text:D.option_text,is_correct:D.is_correct,sort:D.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(Z,x)}});else{const e=Ce.value[c];console.log(e),Object.assign(Z,e),console.log(Ce)}Ve.value=!0,El()},Qi=c=>{va.confirm("确认删除该问题?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Ce.value.splice(c,1),V.success("删除成功")})},To=()=>{window.location.reload()},Xa=()=>{oo.value?(ua(()=>{Object.assign(j,oo.value)}),console.log(j)):(ua(()=>{Object.assign(j,JSON.parse(JSON.stringify(_i)))}),console.log("使用默认配置")),oo.value=null,Yi.value=!0,ut.value=!1,To()},Do=Q([]),qa=async()=>{const c=await gi({page:1,limit:100,job_id:s.query.id});c.data&&c.data.items&&(Do.value=c.data.items),console.log(Do.value)};$l(()=>{zn(),Hi(),$r(),nt(),Za(),qa()}),Jl(()=>{qi()});const Za=async()=>{try{const c=s.query.id;if(c){const e=await Nn(c);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(c){console.error("初始化配置状态失败:",c)}},$n=Q(!1),it=_e({title:"代码笔试",autoJudge:!0,selectedPaper:null}),_a=()=>{$n.value=!0},Gi=()=>{$n.value=!1,Object.assign(it,{title:"代码笔试",autoJudge:!0,selectedPaper:null})},er=()=>{if(!it.selectedPaper){V.warning("请添加考试试卷");return}const c={id:Date.now(),name:it.title,description:`${it.selectedPaper.title}`,active:!0,type:"code_test",config:{...it}};m.splice(J.value,0,c),$n.value=!1,V.success("代码笔试步骤已添加"),Gi()},tr=()=>{it.selectedPaper={id:1,title:"前端开发工程师笔试",questionCount:4,duration:60,difficulty:"中等难度"}},nr=()=>{V.info("查看试卷功能开发中")},or=()=>{V.info("更换试卷功能开发中")},ir=()=>{it.selectedPaper=null},Jn=Q(!1),tt=_e({title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]}),zi=()=>{Jn.value=!1,Object.assign(tt,{title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]})},ar=()=>{const c={id:Date.now(),name:tt.title,description:`打字测试 ${tt.duration}分钟`,active:!0,type:"typing_test",config:{...tt}};m.splice(J.value,0,c),Jn.value=!1,V.success("打字测试步骤已添加"),zi()},Po=Q(!1),An=Q(""),rr=()=>{An.value=v.title,Po.value=!0},lr=()=>{Po.value=!1},sr=async()=>{if(!An.value.trim()){V.warning("职位名称不能为空");return}try{const c=s.query.id;await Tt({id:c,title:An.value.trim()}),v.title=An.value.trim(),Po.value=!1,V.success("职位名称已更新")}catch(c){console.error("更新职位名称失败:",c),V.error("更新职位名称失败")}},Vo=Q(!1),Ht=Q(""),dr=()=>{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(N=>N.trim()),A=R.find(N=>N.name===e[0]);let x,D;A&&A.children&&(x=A.children.find(N=>N.name===e[1]),x&&x.children&&(D=x.children.find(N=>N.name===e[2]))),Ht.value=[A==null?void 0:A.code,x==null?void 0:x.code,D==null?void 0:D.code].filter(Boolean)}catch(c){console.error("解析地址失败:",c),Ht.value=""}Vo.value=!0},ur=()=>{Vo.value=!1},cr=async()=>{try{const c=s.query.id,e=[];if(Ht.value&&Array.isArray(Ht.value)){const[A,x,D]=Ht.value,N=R.find(ie=>ie.code===A);let le,$;N&&(e.push(N.name),N.children&&(le=N.children.find(ie=>ie.code===x),le&&(e.push(le.name),le.children&&($=le.children.find(ie=>ie.code===D),$&&e.push($.name)))))}await Tt({id:c,location:e}),v.location=e,Vo.value=!1,V.success("工作地点已更新")}catch(c){console.error("更新工作地点失败:",c),V.error("更新工作地点失败")}},Ro=Q(!1),Wn=Q("月薪"),hn=Q(0),on=Q(0),fr=()=>{if(v.salary_range){const c=v.salary_range.split(" ");if(c.length>=2){Wn.value=c[0];const e=c[1].split("-");e.length===2&&(hn.value=parseInt(e[0])||0,on.value=parseInt(e[1])||0)}}else Wn.value="月薪",hn.value=0,on.value=0;Ro.value=!0},vr=()=>{Ro.value=!1},si=()=>{hn.value>on.value&&on.value!==0&&(hn.value=on.value)},pr=async()=>{try{const c=s.query.id,e=`${Wn.value} ${hn.value}-${on.value}`;await Tt({id:c,salary_range:e}),v.salary_range=e,Ro.value=!1,V.success("职位薪资已更新")}catch(c){console.error("更新职位薪资失败:",c),V.error("更新职位薪资失败")}},Uo=Q(!1),Hn=Q(""),mr=()=>{Hn.value=v.work_experience_required||"",Uo.value=!0},gr=()=>{Uo.value=!1},hr=async()=>{try{const c=s.query.id;await Tt({id:c,work_experience_required:Hn.value}),v.work_experience_required=Hn.value,Uo.value=!1,V.success("工作经验已更新")}catch(c){console.error("更新工作经验失败:",c),V.error("更新工作经验失败")}},ko=Q(!1),Yn=Q(""),yr=()=>{Yn.value=v.education_required||"",ko.value=!0},br=()=>{ko.value=!1},Sr=async()=>{try{const c=s.query.id;await Tt({id:c,education_required:Yn.value}),v.education_required=Yn.value,ko.value=!1,V.success("学历要求已更新")}catch(c){console.error("更新学历要求失败:",c),V.error("更新学历要求失败")}},Xn=Q(!1),yn=Q(""),$i=()=>{yn.value=v.department||"",Xn.value=!0},Ji=()=>{Xn.value=!1},Wi=async()=>{try{const c=s.query.id;await Tt({id:c,department:yn.value.trim()}),v.department=yn.value.trim(),Xn.value=!1,V.success("所属部门已更新")}catch(c){console.error("更新所属部门失败:",c),V.error("更新所属部门失败")}},Ko=Q(!1),qn=Q(""),Er=()=>{qn.value=v.end_date||"",Ko.value=!0},xr=()=>{Ko.value=!1},Ir=async()=>{try{const c=s.query.id;await Tt({id:c,end_date:qn.value}),v.end_date=qn.value,Ko.value=!1,V.success("截止日期已更新")}catch(c){console.error("更新截止日期失败:",c),V.error("更新截止日期失败")}},Zn=Q(!1),_n=Q(""),Cr=()=>{_n.value=v.requirements||"",Zn.value=!0},wr=()=>{Zn.value=!1},Ar=async()=>{try{const c=s.query.id;await Tt({id:c,requirements:_n.value}),v.requirements=_n.value,Zn.value=!1,V.success("职位要求已更新")}catch(c){console.error("更新职位要求失败:",c),V.error("更新职位要求失败")}},eo=Q(!1),to=Q(""),Or=()=>{to.value=v.description||"",eo.value=!0},Tr=()=>{eo.value=!1},Dr=async()=>{try{const c=s.query.id;await Tt({id:c,description:to.value}),v.description=to.value,eo.value=!1,V.success("职位描述已更新")}catch(c){console.error("更新职位描述失败:",c),V.error("更新职位描述失败")}},On=Q(!1),no=Q(0),Pr=()=>{no.value=v.job_type||0,On.value=!0},Vr=()=>{On.value=!1},Rr=async()=>{try{const c=s.query.id;await Tt({id:c,job_type:no.value}),v.job_type=no.value,On.value=!1,V.success("职位性质已更新")}catch(c){console.error("更新职位性质失败:",c),V.error("更新职位性质失败")}},Vt=Q([]),Mo=Q(!1),Tn=Q([]),Hi=async()=>{try{const c=await ls({page:1,pageSize:1e3});c&&c.data&&(Ke.value=c.data.items.map(e=>({id:e.id,name:e.name,selected:!1})))}catch(c){console.error("获取能力标签列表失败:",c),V.error("获取能力标签列表失败")}},Ur=async()=>{var c;await Hi(),Tn.value=((c=v.competency_tags)==null?void 0:c.map(e=>e.id))||[],Ke.value.forEach(e=>{e.selected=Tn.value.includes(e.id)}),Mo.value=!0},kr=()=>{Mo.value=!1},Kr=async()=>{try{const c=s.query.id;await Tt({id:c,competency_tags:Tn.value}),v.competency_tags=Ke.value.filter(e=>Tn.value.includes(e.id)).map(e=>({id:e.id,name:e.name})),Mo.value=!1,V.success("能力标签已更新")}catch(c){console.error("更新能力标签失败:",c),V.error("更新能力标签失败")}},Mr=Q(null),De=Q(0),oo=Q(null),Yi=Q(!1),No=async c=>{if(c.name==="资料收集"){const e=await Nn(s.query.id);e&&e.data&&(De.value=e.data.id,oo.value=JSON.parse(JSON.stringify(j)),console.log(oo.value),ka(j,e.data.profile_fields_config),ut.value=!0,z.value=!1);return}if(c.name==="AI考察"){if(c.action==="delete"){await xl();return}const e=await Nn(s.query.id);kn.value=!0,Mr.value=c,G.value=!0,q.value=1;try{const A=await ha({position_id:s.query.id,page:1,limit:20});A&&A.data&&A.data.dataList&&(Ce.value=A.data.dataList.map(N=>(N.content=N.question,N.title=N.question,N.competency_tags=N.competency_tag_info,N.source="ai_generated",N)));const x=await gi({job_id:s.query.id,page:1,limit:50});if(x&&x.data){const N=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)),le=new Set(Ce.value.map(ie=>ie.content)),$=N.filter(ie=>!le.has(ie.content));Ce.value=[...Ce.value,...$],console.log("chatQuestions",Ce.value)}const D=await ms({position_id:s.query.id,page:1,limit:50});if(console.log("existingTags",D),D&&D.data&&D.data.items.length>0)D.data.items.forEach(N=>{N.importance=1,N.selected=!1,v.latest_competency_snapshot&&Array.isArray(v.latest_competency_snapshot)&&(N.selected=v.latest_competency_snapshot.some(le=>le.id===N.id))}),Vt.value=D.data.items;else{const N=await pa({position_id:s.query.id});if(N&&N.data){N.data.forEach(le=>{le.selected=!1}),Vt.value=N.data;try{await gs({position_id:s.query.id,tags:Vt.value}),V.success("胜任力标签保存成功")}catch(le){console.error("保存胜任力标签失败:",le),V.error("胜任力标签保存失败")}}}e&&e.data&&(De.value=e.data.id)}catch(A){console.error("获取或生成能力标签失败:",A),V.error("获取或生成能力标签失败")}finally{kn.value=!1}Object.keys(X).forEach(A=>{X[A]=!1})}c.name==="综合素质考察"&&_t({page:1,limit:20}).then(e=>{e.data&&(rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Qt.value=e.data.total,Pl(),E.value=!0)}),c.name==="心理测试"&&_t({page:1,limit:30,question_form:4}).then(e=>{e.data&&(lt.question_form=4,rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Qt.value=e.data.total,Ul(),Pn.value=!0)})},an=Q(""),Dn=Q(""),Nr=Q(!1),Br=async()=>{if(!an.value.trim()){V.warning("请输入维度名称");return}if(Vt.value.find(e=>e.name===an.value.trim())){V.warning("该维度名称已存在,请重新输入");return}try{const e=await cs({name:an.value.trim(),description:Dn.value.trim(),importance:1,weight:0});if(!e.data)throw new Error("创建标签失败");const A=e.data.id;await fs({tag_ids:[A],position_ids:[t.value]});const x={id:A,name:an.value.trim(),description:Dn.value.trim(),selected:!1,importance:1,weight:0,isCustom:!0};Vt.value.push(x),Nr.value,an.value="",Dn.value="",console.log("添加新维度成功:",x),console.log("当前备选维度列表:",Vt.value)}catch(e){console.error("添加自定义维度失败:",e),V.error("添加自定义维度失败,请重试")}},at=_e({keepVideo:!0,interruptionMode:"",smartFollowUp:!1,followUpStyle:""}),di=Q([{id:1,name:"Jessica",image:"/avatars/jessica.png"},{id:2,name:"Mike",image:"/avatars/mike.png"},{id:3,name:"Sarah",image:"/avatars/sarah.png"}]),gt=Q(di.value[0]),Bo=Q(""),Fr=c=>{gt.value=c,console.log("选中的面试官信息:",{id:c.id,name:c.name,avatar_url:c.avatar_url||c.image}),Bo.value=c.avatar_url,V.success(`已选择面试官:${c.name}`)},jr=async()=>{const c=Ce.value.filter(A=>A.source==="ai_generated"),e=Ce.value.filter(A=>A.source==="custom_selected");if(console.log("AI生成的题目:",c),console.log("自定义选择的题目:",e),c.length>0&&(await vs({draft_ids:c.map(A=>A.id)}),console.log("AI生成的题目已保存到草稿")),e.length>0){const A={position_id:s.query.id,question_id:{question_id:e},duration:60,tenant_id:Zt.get("tenant_id")};console.log("自定义选择的题目需要调用专门的接口处理");const x=await mi(A);x&&x.code===2e3?V.success("自定义选择的题目已保存"):V.error("自定义选择的题目保存失败")}},ui=()=>{const c={keepVideo:at.keepVideo,interruptionMode:at.interruptionMode,followUpStyle:at.followUpStyle,smartFollowUp:at.smartFollowUp};return console.log("当前面试设置:",c),c},io=(c,e)=>{switch(console.log(`面试设置 ${c} 已更改为:`,e),c){case"keepVideo":console.log("回答视频保留设置:",e?"开启":"关闭");break;case"interruptionMode":console.log("中断后作答限制模式:",e==="previous"?"从上一问重新作答":"从当前问题作答");break;case"followUpStyle":console.log("追问风格:",e);break;case"smartFollowUp":console.log("智慧追问设置:",e?"开启":"关闭");break}},Lr=()=>{const c=ui(),e={isValid:!0,messages:[]};return c.interruptionMode===""&&(e.isValid=!1,e.messages.push("请选择中断后作答限制模式")),e},Qr=c=>{l.value=!0,console.log("开始拖拽题目:",c)},Gr=c=>{l.value=!1,console.log("拖拽结束:",c),console.log("当前题目顺序:",Ce.value),V.success("题目顺序已更新")},zr=()=>({interviewer:{id:gt.value.id,name:gt.value.name,avatar_url:gt.value.avatar_url||gt.value.image},settings:ui(),questionSettings:{enableScoreQuestions:Ct.enableScoreQuestions,enableColorBlindQuestions:Ct.enableColorBlindQuestions},abilities:H.value,questions:Ce.value,currentStep:q.value}),$r=async()=>{const c=await ss({page:1,pageSize:1e3});c&&c.data&&(di.value=c.data)},Xi=(c,e)=>{e?ao.value.push({name:c.name,description:c.description||"暂无描述"}):ao.value=ao.value.filter(A=>A.name!==c.name)},Jr=c=>{va.confirm("确认删除这个胜任力标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const e=H.value[c];H.value.splice(c,1),ao.value=ao.value.filter(x=>x.name!==e.label);const A=Vt.value.find(x=>x.name===e.label);A&&(A.selected=!1),V.success("胜任力标签已删除")}).catch(()=>{})},ao=Q([]),Wr=c=>new Promise(e=>setTimeout(e,c));let Yt=null;const Hr=async(c,e=300,A=2e3)=>{let x=0;Yt={cancelled:!1};const D=Yt;return new Promise((N,le)=>{const $=async()=>{try{if(D.cancelled){console.log("轮询已被取消"),N(null);return}x++,console.log(`第${x}次轮询获取草稿列表...`);const ie=await ha(c);if(D.cancelled){console.log("轮询已被取消"),N(null);return}if(ie&&ie.data&&ie.data.dataList&&ie.data.dataList.length>0){console.log("轮询成功,获取到草稿列表数据"),Yt=null,N(ie);return}if(x>=e){console.log("轮询达到最大次数,停止轮询"),Yt=null,N(ie);return}setTimeout($,A)}catch(ie){if(console.error(`第${x}次轮询失败:`,ie),D.cancelled){console.log("轮询已被取消"),N(null);return}x<e?setTimeout($,A):(Yt=null,le(ie))}};$()})},qi=()=>{Yt&&(Yt.cancelled=!0,Yt=null,console.log("轮询已被手动取消"))},Yr=()=>{qi(),et.value=!1,V.info("已取消AI自动组题")},Pn=Q(!1),ro=Q(""),rt=Q([]),Kt=Q([]),lo=Q(!1),Fo=Q({}),Zi=Q(!1);Q(0);const Qt=Q(0),lt=_e({page:1,pageSize:10,keyword:"",question_form:null}),ct=_e({page:1,limit:20,keyword:"",question_form:null}),Xr=async()=>{try{const c={...lt,keyword:ro.value,...lt.question_form!==null&&{question_form:lt.question_form}},e=await _t(c);e&&e.data&&(console.log(e.data),rt.value=e.data.items,Qt.value=e.data.total)}catch(c){console.error("获取题目列表失败:",c),V.error("获取题目列表失败")}},jo=()=>{lt.page=1,Xr()},qr=c=>{Kt.value=c},Zr=()=>{Pn.value=!1,Kt.value=[],ro.value=""},_r=async()=>{if(Kt.value.length===0){V.warning("请至少选择一个题目");return}try{const c=Kt.value.map(A=>A.id);if(c.length==0)return;await mi({position_id:s.query.id,question_id:c,duration:60,tenant_id:Zt.get("tenant_id")});const e=Kt.value.map(A=>({id:A.id,title:A.question||A.title,ability:A.ability||"未设置",content:A.content||A.question,target:A.target||"未设置",competency_tags:A.competency_tags||[],question_form_name:A.question_form_name,scoring_reference:A.scoring_reference,question_form:A.question_form,is_required_correct:A.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:A.options||[],source:"custom_selected"}));Ce.value.push(...e),Pn.value=!1,Kt.value=[],ro.value="",V.success("题目添加成功"),To()}catch(c){console.error("添加题目失败:",c),Pn.value=!1,c.code===4e3?V.warning("该题目已绑定,请选择其他题目"):V.error("添加题目失败,请重试")}},_i={name:{visible:!0,label:"姓名",required:!0},gender:{visible:!0,label:"性别",required:!0},phone:{visible:!0,label:"手机号",required:!0},id_card:{visible:!0,label:"身份证号",required:!0},ethnicity:{visible:!0,label:"民族",required:!0},height:{visible:!0,label:"身高(cm)",required:!1},weight:{visible:!0,label:"体重(kg)",required:!1},current_address:{visible:!0,label:"现居住地址",required:!0},household_location:{visible:!0,label:"户口所在地",required:!1},marital_status:{visible:!0,label:"婚育状况",required:!1},expected_salary:{visible:!0,label:"期望薪资(元/月)",required:!1},political_status:{visible:!0,label:"政治面貌",required:!1},family_member:{visible:!0,label:"家庭成员",fields:{relation:{visible:!0,label:"称谓",required:!0},name:{visible:!0,label:"姓名",required:!0},workplace:{visible:!0,label:"工作单位/家庭地址",required:!1},position:{visible:!0,label:"职务",required:!1},phone:{visible:!0,label:"联系电话",required:!0},family_contact_person:{visible:!0,label:"是否为紧急联系人",required:!1}}},education:{visible:!0,label:"教育经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},school_name:{visible:!0,label:"学校名称",required:!0},major:{visible:!0,label:"专业",required:!0},degree:{visible:!0,label:"学历",required:!0}}},require_professional_skills:{visible:!0,label:"专业技能",required:!0},training_fields_config:{visible:!0,label:"受过的培训",required:!0},work_experience:{visible:!0,label:"工作经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},company_name:{visible:!0,label:"单位名称",required:!0},company_size:{visible:!0,label:"单位人数",required:!0},department:{visible:!0,label:"任职部门",required:!0},position:{visible:!0,label:"担任职务",required:!0},monthly_income:{visible:!0,label:"月总收入",required:!0},direct_supervisor:{visible:!0,label:"直接领导",required:!0},supervisor_phone:{visible:!0,label:"领导电话",required:!0}}},question_form_switches:{enable_open_questions:!0,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_scoring_questions:!0,enable_follow_up_questions:!0,enable_fill_blank:!0}},j=_e(()=>{const c=i(s.query.id);return c?(console.log("从缓存加载字段配置"),c):(console.log("使用默认字段配置"),JSON.parse(JSON.stringify(_i)))})(),el=async()=>{try{const c={position_id:s.query.id,require_resume_upload:!0,resume_file_types:["pdf","docx","doc"],max_resume_size_mb:10,digital_human_opening_speech:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",require_basic_info:!0,profile_fields_config:{name:{required:j.name.required,visible:j.name.visible},phone:{required:j.phone.required,visible:j.phone.visible},id_card:{required:j.id_card.required,visible:j.id_card.visible},gender:{required:j.gender.required,visible:j.gender.visible},birth_date:{required:!1,visible:!0},political_status:{required:j.political_status.required,visible:j.political_status.visible},ethnicity:{required:j.ethnicity.required,visible:j.ethnicity.visible},height:{required:j.height.required,visible:j.height.visible},weight:{required:j.weight.required,visible:j.weight.visible},marital_status:{required:j.marital_status.required,visible:j.marital_status.visible},expected_salary:{required:j.expected_salary.required,visible:j.expected_salary.visible},household_location:{required:j.household_location.required,visible:j.household_location.visible}},require_education_info:j.education.visible,education_fields_config:{school_name:{required:j.education.fields.school_name.required,visible:j.education.fields.school_name.visible},major:{required:j.education.fields.major.required,visible:j.education.fields.major.visible},degree:{required:j.education.fields.degree.required,visible:j.education.fields.degree.visible},start_date:{required:j.education.fields.start_time.required,visible:j.education.fields.start_time.visible},end_date:{required:j.education.fields.end_time.required,visible:j.education.fields.end_time.visible}},require_work_experience:j.work_experience.visible,work_experience_fields_config:{company_name:{required:j.work_experience.fields.company_name.required,visible:j.work_experience.fields.company_name.visible},position:{required:j.work_experience.fields.position.required,visible:j.work_experience.fields.position.visible},department:{required:j.work_experience.fields.department.required,visible:j.work_experience.fields.department.visible},start_date:{required:j.work_experience.fields.start_time.required,visible:j.work_experience.fields.start_time.visible},end_date:{required:j.work_experience.fields.end_time.required,visible:j.work_experience.fields.end_time.visible},job_description:{required:!0,visible:!0},achievements:{required:!1,visible:!0},resignation_reason:{required:!1,visible:!0},company_size:{required:j.work_experience.fields.company_size.required,visible:j.work_experience.fields.company_size.visible},monthly_income:{required:j.work_experience.fields.monthly_income.required,visible:j.work_experience.fields.monthly_income.visible},supervisor_phone:{required:j.work_experience.fields.supervisor_phone.required,visible:j.work_experience.fields.supervisor_phone.visible}},require_family_info:j.family_member.visible,family_fields_config:{relation:{required:j.family_member.fields.relation.required,visible:j.family_member.fields.relation.visible},name:{required:j.family_member.fields.name.required,visible:j.family_member.fields.name.visible},workplace:{required:j.family_member.fields.workplace.required,visible:j.family_member.fields.workplace.visible},position:{required:j.family_member.fields.position.required,visible:j.family_member.fields.position.visible},phone:{required:j.family_member.fields.phone.required,visible:j.family_member.fields.phone.visible},family_contact_person:{required:j.family_member.fields.family_contact_person.required,visible:j.family_member.fields.family_contact_person.visible}},require_training_info:j.training_fields_config.visible,require_professional_skills:j.require_professional_skills.visible,enable_posture_check:!0,posture_check_config:{required_photos:["front","side","back"],instructions:"请按照提示上传您的全身照片,确保光线充足,背景简洁"},interview_duration_minutes:45,enable_video_recording:!0,enable_face_recognition:!0,scoring_method:"hybrid",auto_analysis_enabled:!0,custom_welcome_message:"欢迎参加咖啡师岗位的面试,请放松心情,准备好开始面试吧!",custom_instructions:"本次面试共有10个问题,每个问题有60秒的回答时间,请简洁明了地表达您的观点。",notification_config:{send_email:!0,send_sms:!1,notify_hr:!0,completion_message:"感谢您完成面试,我们将在3个工作日内给您回复。"},is_active:!0,is_template:!1};De.value==0||(c.id=De.value),De.value==0?(await hi(c)).code==2e3?(V.success("配置保存成功"),o(j,s.query.id),ut.value=!1,z.value=!1):V.error("配置保存失败"):(await yt(c)).code==2e3?(V.success("配置保存成功"),o(j,s.query.id),ut.value=!1,z.value=!1):V.error("配置保存失败")}catch(c){console.error("保存配置失败:",c),V.error("配置保存失败")}},tl=()=>({name:j.name,id_card:j.id_card,phone:j.phone,gender:j.gender,ethnicity:j.ethnicity,height:j.height,weight:j.weight,current_address:j.current_address,household_location:j.household_location,marital_status:j.marital_status,expected_salary:j.expected_salary,political_status:j.political_status}),nl=()=>({skills:j.require_professional_skills,training:j.training_fields_config}),so=Q(!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:"本次面试已全部结束,感谢您的参与,请等待后续通知。"}),Vn=Q(!1),uo=Q(!1),co=Q(!1),rn=Q(""),Rn=Q(""),Un=Q(""),ol=()=>{so.value=!1,Vn.value=!1,uo.value=!1,co.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:"本次面试已全部流程拍摄,面试者同意可为今后资讯调研"}),To()},il=async()=>{let c;c=await yt({id:De.value,enable_emotion_analysis:Ge.positionDetection}),c.code==2e3||V.error("配置保存失败")},al=()=>{il(),V.success("面试设置已保存"),so.value=!1},rl=()=>{Nn(s.query.id).then(c=>{so.value=!0,De.value=c.data.id,Ge.beforeStartText=c.data.digital_human_opening_speech})},ll=()=>{rn.value=Ge.beforeStartText,Vn.value=!0},sl=()=>{Vn.value=!1,rn.value=""},dl=async()=>{var c;if(!rn.value.trim()){V.warning("开始前提示内容不能为空");return}Ge.beforeStartText=rn.value.trim();try{let e;if(console.log(De.value),De.value==0)e=await hi({position_id:s.query.id,digital_human_opening_speech:rn.value.trim()}),e.code===2e3?(De.value=((c=e.data)==null?void 0:c.id)||e.data,V.success("开场词提示内容已创建"),Vn.value=!1):V.error("开场词提示内容创建失败");else if(e=await yt({id:De.value,digital_human_opening_speech:rn.value.trim()}),e.code===2e3){V.success("开场词提示内容已更新"),Vn.value=!1;try{const A={config_id:De.value};await yi(A),console.log("开场词生成成功")}catch(A){console.error("获取开场词失败:",A),V.warning("开场词生成中,请稍后")}}else V.error("开场词提示内容更新失败")}catch(e){console.error("保存开场词提示内容失败:",e),V.error("保存失败,请重试")}},ul=()=>{Rn.value=Ge.afterStartText,uo.value=!0},cl=()=>{uo.value=!1,Rn.value=""},fl=()=>{if(!Rn.value.trim()){V.warning("开始后提醒内容不能为空");return}Ge.afterStartText=Rn.value.trim(),uo.value=!1,V.success("开始后提醒内容已更新")},vl=()=>{Un.value=Ge.disclaimerText,co.value=!0},pl=()=>{co.value=!1,Un.value="",To()},ml=()=>{if(!Un.value.trim()){V.warning("内容不能为空");return}Ge.disclaimerText=Un.value.trim(),co.value=!1,V.success("内容已更新")},bn=_e({openQuestionsCount:5,choiceQuestionsCount:10}),ea=()=>{console.log("题目数量已更新:",bn)},ta=async()=>{try{et.value=!0;const c=H.value.map(x=>x.id);if(c.length===0){V.warning("请先选择能力标签");return}const e={position_id:s.query.id,competency_tag_ids:c,open_questions_count:bn.openQuestionsCount,choice_questions_count:bn.choiceQuestionsCount,auto_save:!0,tenant_id:Zt.get("tenant_id")},A=await ps(e);if(A&&A.data){const x=await Hr({tenant_id:Zt.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 D=x.data.dataList.map(N=>({id:N.id||Date.now(),title:N.question||N.title,ability:N.ability||"未设置",content:N.content||N.question,target:N.target||"未设置",competency_tags:N.competency_tag_info||[],question_form_name:N.question_form_name,scoring_reference:N.scoring_reference,question_form:N.question_form,is_required_correct:N.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:N.options||[],source:"ai_generated"}));Ce.value=D,V.success(`已成功生成${D.length}个面试题目`)}else V.warning("AI生成题目中,请稍后再试")}}catch(c){console.error("AI自动组题失败:",c),V.error("AI自动组题失败,请重试")}finally{et.value=!1}},gl=c=>{if(Z.competency_tags=[],c.length>0){const e=Math.floor(100/c.length),A=100%c.length;Z.competency_tags=c.map((x,D)=>{const N=Ke.value.find(le=>le.id===x);return{id:x,name:N?N.name:`标签${x}`,weight:e+(D<A?1:0)}})}},hl=c=>{switch(Z.type=c,c){case"open":Z.suggestedDuration=120;break;case"single":case"multiple":Z.suggestedDuration=60;break;case"fill":Z.suggestedDuration=30;break;case"self":Z.suggestedDuration=180;break;default:Z.suggestedDuration=60}},kn=Q(!1),Kn=Q(!1),fo=Q(-1),Ue=_e({title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}),yl=(c,e)=>{fo.value=e,c.config?Object.assign(Ue,c.config):(Ue.title=c.name,Ue.description=c.description||"候选人可以向面试官提问关于公司、职位或团队的问题",Ue.duration=5,Ue.maxQuestions=3,Ue.isRequired=c.active,Ue.allowSkip=!1,Ue.guidelines=["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]),Kn.value=!0},bl=(c,e)=>{switch(c.type){case"ai_video":No(c);break;case"candidate_questions":yl(c,e);break;case"data_collection":No(c);break;case"resume_collection":No(c);break;default:No(c);break}},Sl=(c,e)=>{(e===null||e<0)&&(e=0),e>100&&(e=100);const A=Z.competency_tags;A[c].weight;const x=Math.round(e);if(A[c].weight=x,A.length===1){A[0].weight=100;return}const D=A.filter((le,$)=>$!==c),N=D.reduce((le,$)=>le+$.weight,0);if(N===0){const le=100-x,$=Math.floor(le/D.length),ie=le%D.length;D.forEach((st,Rt)=>{const Gt=A.findIndex(zt=>zt.id===st.id);A[Gt].weight=$+(Rt<ie?1:0)})}else{const le=100-x;if(le>0){D.forEach(ie=>{const st=A.findIndex(Gt=>Gt.id===ie.id),Rt=ie.weight/N;A[st].weight=Math.round(le*Rt)});const $=ci();if($!==100){const ie=100-$,st=D.reduce((Gt,zt)=>zt.weight>Gt.weight?zt:Gt),Rt=A.findIndex(Gt=>Gt.id===st.id);A[Rt].weight+=ie}}else D.forEach($=>{const ie=A.findIndex(st=>st.id===$.id);A[ie].weight=0})}},ci=()=>Z.competency_tags.reduce((e,A)=>e+(A.weight||0),0),El=()=>{const c=Z.competency_tags;if(c.length===0)return;const e=Math.floor(100/c.length),A=100%c.length;c.forEach((x,D)=>{x.weight=e+(D<A?1:0)})},na=vi({get:()=>He(Z.competency_tags),set:c=>{Z.competency_tags=c,gl(c)}}),xl=async()=>{try{const c=await hs({position_id:s.query.id,tenant_id:Zt.get("tenant_id"),is_ai_generated:!0});c&&c.data&&c.data.length>0&&(await ys({position_id:s.query.id,question_id:c.data.map(e=>e.id),tenant_id:Zt.get("tenant_id")}),De.value>0&&await yt({id:De.value,enable_ai_questions:!1}),V.success("AI考察问题已删除"))}catch(c){console.error("删除AI考察问题失败:",c),V.error("删除AI考察问题失败")}};sa(()=>j.question_form_switches.enable_open_questions,c=>{c?m.forEach(e=>{e.type==="ai_interview"&&(e.visible=!0)}):m.forEach(e=>{e.type==="ai_interview"&&(e.visible=!1)})},{immediate:!0}),sa(j,c=>{Yi.value&&(d.value&&clearTimeout(d.value),d.value=setTimeout(()=>{o(c,s.query.id),console.log("字段配置已自动保存到本地缓存")},1e3))},{deep:!0}),Q(!1),Q(!1);const Il=Q(!1),Lo=Q(!1),ln=Q({duration:5,detectionItems:["face","pose"],promptText:"请按照提示完成相应的动作,系统将自动进行检测。"}),Cl=()=>{Lo.value=!1},wl=async()=>{try{await saveProcessConfig({position_id:s.params.id,process_type:"posture_check",config:ln.value}),V.success("配置保存成功"),Lo.value=!1}catch(c){console.error("保存肢体检测配置失败:",c),V.error("配置保存失败")}},oa=Q([]),Al=Q(),Ol=c=>{console.log(c);const{firstLevel:e,secondLevel:A,currentNode:x}=c;A?_t({page:1,limit:20,question_tags:A.id.replace("tag_",""),question_form:lt.question_form}).then(D=>{D.data&&(rt.value=D.data.items,ct.page=D.data.page,ct.pageSize=D.data.limit,Qt.value=D.data.total)}):e&&_t({page:1,limit:20,question_category:e.id.replace("category_",""),question_form:lt.question_form}).then(D=>{D.data&&(rt.value=D.data.items,ct.page=D.data.page,ct.pageSize=D.data.limit,Qt.value=D.data.total)})},Tl=c=>{console.log(c)},Dl=c=>{console.log(c)},Pl=()=>{ya({page:1,limit:100}).then(c=>{console.log("ret",c),c.data,ba({page:1,limit:100}).then(e=>{console.log("res",e);const A=e.data.items.filter(x=>!["技术能力","服务意识","职业素质","基本常识","色盲检测","内容铺垫","心理测试1","心理测试"].includes(x.name));Sa({}).then(x=>{console.log("res",x);const D=x.data.items,N=[...A.map(le=>({id:`category_${le.id}`,title:le.name,children:D.filter($=>$.category_id===le.id).map($=>({id:`tag_${$.id}`,title:$.name,chinese_explanation:$.chinese_explanation||""}))}))];oa.value=N})})})},ia=Q([]),Vl={children:"children",label:"title"},Rl=async c=>{try{if(c.id.startsWith("category_")){const e=c.id.replace("category_",""),A=await _t({page:1,limit:1e3,question_category:e,question_form:lt.question_form});if(A&&A.data){rt.value=A.data.items,ct.page=A.data.page,ct.pageSize=A.data.limit,Qt.value=A.data.total;const x=document.querySelector(".el-table__header-wrapper");if(x){const D=x.querySelector(".el-checkbox");D&&D.__vueParentComponent.emit("change",!0)}Kt.value=A.data.items}}else if(c.id.startsWith("tag_")){const e=c.id.replace("tag_",""),A=await _t({page:1,limit:1e3,question_tags:e,question_form:lt.question_form});if(A&&A.data){rt.value=A.data.items,ct.page=A.data.page,ct.pageSize=A.data.limit,Qt.value=A.data.total;const x=document.querySelector(".el-table__header-wrapper");if(x){const D=x.querySelector(".el-checkbox");D&&D.__vueParentComponent.emit("change",!0)}Kt.value=A.data.items}}}catch(e){console.error("获取题目列表失败:",e),V.error("获取题目列表失败")}},Ul=()=>{ya({page:1,limit:100}).then(c=>{console.log("ret",c),c.data,ba({page:1,limit:100}).then(e=>{console.log("res",e);const A=e.data.items.filter(x=>["心理测试"].includes(x.name));Sa({}).then(x=>{console.log("res",x);const D=x.data.items,N=[...A.map(le=>({id:`category_${le.id}`,title:le.name,children:D.filter($=>$.category_id===le.id).map($=>({id:`tag_${$.id}`,title:$.name,chinese_explanation:$.chinese_explanation||""}))}))];ia.value=N})})})};return(c,e)=>{const A=Pe("page-header"),x=Pe("el-button"),D=Pe("el-icon"),N=Pe("el-input"),le=Pe("el-cascader"),$=Pe("el-option"),ie=Pe("el-select"),st=Pe("el-input-number"),Rt=Pe("el-tag"),Gt=Pe("el-date-picker"),zt=Pe("el-card"),ht=Pe("el-switch"),At=Pe("el-dialog"),Xt=Pe("el-checkbox"),kl=Pe("Refresh"),vo=Pe("el-radio"),aa=Pe("el-upload"),Mn=Pe("el-tooltip"),Kl=Pe("Folder"),Ml=Pe("el-tree"),$t=Pe("el-col"),qt=Pe("el-row"),Nl=Pe("el-radio-group"),Qo=Pe("el-table-column"),ra=Pe("el-table"),Bl=Pe("el-pagination"),fi=Pe("el-form-item"),Fl=Pe("el-checkbox-group"),jl=Pe("el-form"),la=Wl("loading");return K(),Y("div",dd,[r("div",ud,[p(A,{title:"测试",onBack:wt}),r("div",cd,[p(x,{type:"primary",onClick:Lt},{default:y(()=>e[91]||(e[91]=[U("保存")])),_:1})])]),r("div",fd,[p(zt,{class:"detail-card"},{default:y(()=>[e[127]||(e[127]=r("div",{class:"section-title"},[r("div",{class:"section-line"}),r("span",null,"职位详情")],-1)),r("div",vd,[e[94]||(e[94]=r("div",{class:"detail-label"},"职位名称",-1)),Po.value?(K(),Y("div",md,[p(N,{modelValue:An.value,"onUpdate:modelValue":e[0]||(e[0]=g=>An.value=g),placeholder:"请输入职位名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"]),r("div",gd,[p(x,{size:"small",onClick:lr},{default:y(()=>e[92]||(e[92]=[U("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:sr},{default:y(()=>e[93]||(e[93]=[U("保存")])),_:1})])])):(K(),Y("div",pd,[U(ae(v.title)+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:rr},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:1})]))]),r("div",hd,[e[97]||(e[97]=r("div",{class:"detail-label"},"工作地点",-1)),Vo.value?(K(),Y("div",bd,[p(le,{modelValue:Ht.value,"onUpdate:modelValue":e[1]||(e[1]=g=>Ht.value=g),options:fe(R),props:{expandTrigger:"hover",checkStrictly:!1,value:"code",label:"name"},style:{width:"100%"},placeholder:"请选择工作地点",clearable:"",onChange:F},null,8,["modelValue","options"]),r("div",Sd,[p(x,{size:"small",onClick:ur},{default:y(()=>e[95]||(e[95]=[U("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:cr},{default:y(()=>e[96]||(e[96]=[U("保存")])),_:1})])])):(K(),Y("div",yd,[U(ae((()=>{if(!v.location)return"暂无";if(Array.isArray(v.location))return v.location.join(",");if(typeof v.location=="string")try{return v.location.replace(/[\[\]']/g,"").split(",").map(se=>se.trim()).join(",")}catch{return v.location}return v.location})())+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:dr},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:1})]))]),r("div",Ed,[e[100]||(e[100]=r("div",{class:"detail-label"},"详细地址",-1)),Xn.value?(K(),Y("div",Id,[p(N,{modelValue:yn.value,"onUpdate:modelValue":e[2]||(e[2]=g=>yn.value=g),placeholder:"请输入详细地址",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),r("div",Cd,[p(x,{size:"small",onClick:Ji},{default:y(()=>e[98]||(e[98]=[U("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:Wi},{default:y(()=>e[99]||(e[99]=[U("保存")])),_:1})])])):(K(),Y("div",xd,[U(ae(v.department||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:$i},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:1})]))]),r("div",wd,[e[104]||(e[104]=r("div",{class:"detail-label"},"职位薪资",-1)),Ro.value?(K(),Y("div",Od,[r("div",Td,[p(ie,{modelValue:Wn.value,"onUpdate:modelValue":e[3]||(e[3]=g=>Wn.value=g),placeholder:"薪资类型",class:"salary-type-select",onChange:si},{default:y(()=>[p($,{label:"月薪",value:"月薪"}),p($,{label:"年薪",value:"年薪"}),p($,{label:"日薪",value:"日薪"}),p($,{label:"时薪",value:"时薪"})]),_:1},8,["modelValue"]),p(st,{modelValue:hn.value,"onUpdate:modelValue":e[4]||(e[4]=g=>hn.value=g),placeholder:"起始薪资",class:"salary-input",type:"number","controls-position":"right",min:"0",onInput:si},null,8,["modelValue"]),e[101]||(e[101]=r("span",{class:"salary-separator"},"-",-1)),p(st,{modelValue:on.value,"onUpdate:modelValue":e[5]||(e[5]=g=>on.value=g),placeholder:"最高薪资",class:"salary-input","controls-position":"right",type:"number",min:"0",onInput:si},null,8,["modelValue"])]),r("div",Dd,[p(x,{size:"small",onClick:vr},{default:y(()=>e[102]||(e[102]=[U("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:pr},{default:y(()=>e[103]||(e[103]=[U("保存")])),_:1})])])):(K(),Y("div",Ad,[U(ae(v.salary_range||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:fr},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:1})]))]),r("div",Pd,[e[107]||(e[107]=r("div",{class:"detail-label"},"工作经验",-1)),Uo.value?(K(),Y("div",Rd,[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:"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",Ud,[p(x,{size:"small",onClick:gr},{default:y(()=>e[105]||(e[105]=[U("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:hr},{default:y(()=>e[106]||(e[106]=[U("保存")])),_:1})])])):(K(),Y("div",Vd,[U(ae(v.work_experience_required||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:mr},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:1})]))]),r("div",kd,[e[110]||(e[110]=r("div",{class:"detail-label"},"学历要求",-1)),ko.value?(K(),Y("div",Md,[p(ie,{modelValue:Yn.value,"onUpdate:modelValue":e[7]||(e[7]=g=>Yn.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",Nd,[p(x,{size:"small",onClick:br},{default:y(()=>e[108]||(e[108]=[U("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:Sr},{default:y(()=>e[109]||(e[109]=[U("保存")])),_:1})])])):(K(),Y("div",Kd,[U(ae(v.education_required||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:yr},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:1})]))]),r("div",Bd,[e[113]||(e[113]=r("div",{class:"detail-label"},"所属部门",-1)),Xn.value?(K(),Y("div",jd,[p(N,{modelValue:yn.value,"onUpdate:modelValue":e[8]||(e[8]=g=>yn.value=g),placeholder:"请输入所属部门",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),r("div",Ld,[p(x,{size:"small",onClick:Ji},{default:y(()=>e[111]||(e[111]=[U("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:Wi},{default:y(()=>e[112]||(e[112]=[U("保存")])),_:1})])])):(K(),Y("div",Fd,[U(ae(v.department||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:$i},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:1})]))]),r("div",Qd,[e[114]||(e[114]=r("div",{class:"detail-label"},"职位状态",-1)),r("div",Gd,[p(Rt,{type:gn(v.status)},{default:y(()=>[U(ae(mn(v.status)),1)]),_:1},8,["type"])])]),r("div",zd,[e[117]||(e[117]=r("div",{class:"detail-label"},"截止日期",-1)),Ko.value?(K(),Y("div",Jd,[p(Gt,{modelValue:qn.value,"onUpdate:modelValue":e[9]||(e[9]=g=>qn.value=g),type:"datetime",placeholder:"请选择截止日期","value-format":"YYYY-MM-DD HH:mm:ss",style:{width:"100%"}},null,8,["modelValue"]),r("div",Wd,[p(x,{size:"small",onClick:xr},{default:y(()=>e[115]||(e[115]=[U("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:Ir},{default:y(()=>e[116]||(e[116]=[U("保存")])),_:1})])])):(K(),Y("div",$d,[U(ae(v.end_date||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:Er},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:1})]))]),r("div",Hd,[e[120]||(e[120]=r("div",{class:"detail-label"},"职位要求",-1)),Zn.value?Te("",!0):(K(),Y("div",{key:0,class:"detail-value html-content",innerHTML:v.requirements},null,8,Yd)),Zn.value?(K(),Y("div",Xd,[p(N,{modelValue:_n.value,"onUpdate:modelValue":e[10]||(e[10]=g=>_n.value=g),type:"textarea",rows:"6",placeholder:"请输入职位要求",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),r("div",qd,[p(x,{size:"small",onClick:wr},{default:y(()=>e[118]||(e[118]=[U("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:Ar},{default:y(()=>e[119]||(e[119]=[U("保存")])),_:1})])])):(K(),Ae(x,{key:1,type:"text",class:"edit-title-btn",onClick:Cr},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:1}))]),e[128]||(e[128]=r("div",{style:{width:"100%","border-bottom":"1px solid #e5e5e5"}},null,-1)),r("div",Zd,[e[123]||(e[123]=r("div",{class:"detail-label"},"职位描述",-1)),eo.value?Te("",!0):(K(),Y("div",{key:0,class:"detail-value html-content",innerHTML:v.description},null,8,_d)),eo.value?(K(),Y("div",eu,[p(N,{modelValue:to.value,"onUpdate:modelValue":e[11]||(e[11]=g=>to.value=g),type:"textarea",rows:"6",placeholder:"请输入职位描述",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),r("div",tu,[p(x,{size:"small",onClick:Tr},{default:y(()=>e[121]||(e[121]=[U("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:Dr},{default:y(()=>e[122]||(e[122]=[U("保存")])),_:1})])])):(K(),Ae(x,{key:1,type:"text",class:"edit-title-btn",onClick:Or},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:1}))]),r("div",nu,[e[126]||(e[126]=r("div",{class:"detail-label"},"能力标签",-1)),Mo.value?(K(),Y("div",iu,[p(ie,{modelValue:Tn.value,"onUpdate:modelValue":e[12]||(e[12]=g=>Tn.value=g),multiple:"",filterable:"",placeholder:"请选择能力标签",style:{width:"100%"}},{default:y(()=>[(K(!0),Y(Ye,null,Xe(Ke.value,g=>(K(),Ae($,{key:g.id,label:g.name,value:g.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),r("div",au,[p(x,{size:"small",onClick:kr},{default:y(()=>e[124]||(e[124]=[U("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:Kr},{default:y(()=>e[125]||(e[125]=[U("保存")])),_:1})])])):(K(),Y("div",ou,[(K(!0),Y(Ye,null,Xe(v.competency_tags,g=>(K(),Ae(Rt,{key:g.id,effect:"plain",class:"competency-tag"},{default:y(()=>[U(ae(g.name),1)]),_:2},1024))),128)),p(x,{type:"text",class:"edit-title-btn",onClick:Ur},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:1})]))])]),_:1}),r("div",ru,[p(zt,{class:"status-card"},{default:y(()=>[e[129]||(e[129]=r("div",{class:"section-title"},[r("div",{class:"section-line"}),r("span",null,"职位状态")],-1)),r("div",lu,[p(ht,{modelValue:a.value,"onUpdate:modelValue":e[13]||(e[13]=g=>a.value=g),"inactive-text":"",onChange:nn},null,8,["modelValue"]),r("span",su,ae(a.value?"已启用":"待启用"),1)])]),_:1}),p(zt,{class:"status-card"},{default:y(()=>[r("div",du,[e[131]||(e[131]=r("div",{class:"section-line"},null,-1)),e[132]||(e[132]=r("span",null,"职位性质",-1)),On.value?Te("",!0):(K(),Ae(x,{key:0,type:"text",class:"edit-btn",onClick:Pr},{default:y(()=>e[130]||(e[130]=[U("编辑")])),_:1}))]),r("div",uu,[On.value?Te("",!0):(K(),Y("div",cu,ae(w(v.job_type)),1)),On.value?(K(),Y("div",fu,[p(ie,{modelValue:no.value,"onUpdate:modelValue":e[14]||(e[14]=g=>no.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",vu,[p(x,{size:"small",onClick:Vr},{default:y(()=>e[133]||(e[133]=[U("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:Rr},{default:y(()=>e[134]||(e[134]=[U("保存")])),_:1})])])):Te("",!0)])]),_:1}),p(zt,{class:"status-card"},{default:y(()=>[r("div",pu,[e[136]||(e[136]=r("div",{class:"section-line"},null,-1)),e[137]||(e[137]=r("span",null,"招聘流程",-1)),p(x,{type:"text",class:"edit-btn",onClick:cn},{default:y(()=>e[135]||(e[135]=[U("设置流程")])),_:1})]),r("div",mu,[(K(!0),Y(Ye,null,Xe(m,(g,se)=>Go((K(),Y("div",{key:g.id,class:Ot(["process-step",{disabled:!g.active}])},[g.name!="已通过"&&g.name!="已淘汰"?(K(),Y("div",gu,ae(f(se)),1)):Te("",!0),r("div",hu,[r("div",yu,ae(g.name),1)])],2)),[[da,g.visible]])),128))])]),_:1}),p(zt,{class:"status-card"},{default:y(()=>[r("div",bu,[e[139]||(e[139]=r("div",{class:"section-line"},null,-1)),e[140]||(e[140]=r("span",null,"面试设置",-1)),p(x,{type:"text",class:"edit-btn",onClick:rl},{default:y(()=>e[138]||(e[138]=[U("编辑")])),_:1})])]),_:1})])]),p(At,{title:"设置招聘流程",modelValue:h.value,"onUpdate:modelValue":e[17]||(e[17]=g=>h.value=g),width:"500px","close-on-click-modal":!1},{footer:y(()=>[r("span",Au,[p(x,{onClick:vn},{default:y(()=>e[144]||(e[144]=[U("取消")])),_:1}),p(x,{type:"primary",onClick:fn},{default:y(()=>e[145]||(e[145]=[U("确定")])),_:1})])]),default:y(()=>[r("div",Su,[(K(!0),Y(Ye,null,Xe(m,(g,se)=>Go((K(),Y("div",{key:g.id},[se<m.length-1?(K(),Y("div",Eu,[p(x,{type:"text",onClick:we=>C(se,we)},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(Sn))]),_:1})]),_:2},1032,["onClick"])])):Te("",!0),r("div",{class:Ot(["process-edit-item",{highlight:g.active}])},[g.name!="已通过"&&g.name!="已淘汰"?(K(),Y("div",xu,ae(f(se)),1)):Te("",!0),r("div",Iu,[r("div",null,ae(g.name),1)]),g.name!="已通过"&&g.name!="已淘汰"?(K(),Y("div",Cu,[g.name!="简历收集"&&g.name!="肢体检测"?(K(),Ae(x,{key:0,type:"info",size:"small",plain:"",onClick:we=>bl(g,se)},{default:y(()=>e[141]||(e[141]=[U(" 修改 ")])),_:2},1032,["onClick"])):Te("",!0),g.name!="资料收集"&&g.name!="AI考察"?(K(),Ae(x,{key:1,type:"danger",size:"small",plain:"",style:{"margin-top":"10px","margin-left":"0px"},onClick:we=>pn(g,se)},{default:y(()=>e[142]||(e[142]=[U(" 删除 ")])),_:2},1032,["onClick"])):Te("",!0)])):Te("",!0)],2)])),[[da,g.visible]])),128)),e[143]||(e[143]=r("div",{class:"add-process-btn"},null,-1))]),z.value?(K(),Y("div",{key:0,class:"process-options-menu",style:Yl({top:ce.top,left:ce.left}),onClick:e[16]||(e[16]=Hl(()=>{},["stop"]))},[r("div",{class:"close-btn",onClick:e[15]||(e[15]=g=>z.value=!1)},[p(D,null,{default:y(()=>[p(fe(is))]),_:1})]),(K(),Y(Ye,null,Xe(b,g=>r("div",{key:g.value,class:"process-option-item",onClick:se=>P(g.value,g.label)},ae(g.label),9,wu)),64))],4)):Te("",!0)]),_:1},8,["modelValue"]),p(fe(pi),{title:"AI考察",modelValue:G.value,"onUpdate:modelValue":e[36]||(e[36]=g=>G.value=g),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-video-drawer","destroy-on-close":!1},{footer:y(()=>[r("div",zc,[q.value>1?(K(),Ae(x,{key:0,size:"small",onClick:ee},{default:y(()=>e[186]||(e[186]=[U("上一步")])),_:1})):Te("",!0),p(x,{onClick:ge,size:"small"},{default:y(()=>e[187]||(e[187]=[U("取消")])),_:1}),q.value<3?(K(),Ae(x,{key:1,type:"primary",size:"small",onClick:L,style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[188]||(e[188]=[U("下一步")])),_:1})):(K(),Ae(x,{key:2,type:"success",onClick:ue,size:"small",style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[189]||(e[189]=[U("新增")])),_:1}))])]),default:y(()=>[r("div",Ou,[r("div",{class:Ot(["step-item",{active:q.value===1}]),onClick:e[18]||(e[18]=g=>xe(1))},[e[146]||(e[146]=r("div",{class:"step-number"},"1",-1)),r("div",{class:Ot(["step-title",{"active-title":q.value===1}])},"考察能力",2)],2),r("div",{class:Ot(["step-line",{"active-line":q.value>=2}])},null,2),r("div",{class:Ot(["step-item",{active:q.value===2}]),onClick:e[19]||(e[19]=g=>xe(2))},[e[147]||(e[147]=r("div",{class:"step-number"},"2",-1)),r("div",{class:Ot(["step-title",{"active-title":q.value===2}])},"面试题目",2)],2),r("div",{class:Ot(["step-line",{"active-line":q.value>=3}])},null,2),r("div",{class:Ot(["step-item",{active:q.value===3}]),onClick:e[20]||(e[20]=g=>xe(3))},[e[148]||(e[148]=r("div",{class:"step-number"},"3",-1)),r("div",{class:Ot(["step-title",{"active-title":q.value===3}])},"系统设置",2)],2)]),q.value===1?Go((K(),Y("div",Tu,[r("div",Du,[e[155]||(e[155]=r("div",{class:"ai-video-options-header"},[r("div",{class:"ai-video-options-header-title"},[r("span",null,"AI根据岗位信息生成的能力,创建完步骤后,会自动将选择的胜任力考核维度加入到该职位的考察能力列表中。")])],-1)),r("div",Pu,[r("div",Vu,[(K(!0),Y(Ye,null,Xe(Vt.value.slice(0,10),g=>(K(),Ae(Xt,{key:g.id,modelValue:g.selected,"onUpdate:modelValue":se=>g.selected=se,onChange:se=>Xi(g,se),class:"custom-checkbox"},{default:y(()=>[r("div",Ru,[r("span",null,ae(g.name),1),e[149]||(e[149]=r("img",{src:Ea,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),r("div",Uu,[r("div",ku,[e[151]||(e[151]=r("h3",{style:{color:"#808080"}},"备选考核维度",-1)),r("div",Ku,[p(x,{type:"primary",class:"custom-btn",plain:"",size:"small",onClick:B},{default:y(()=>e[150]||(e[150]=[U("重新生成")])),_:1})])]),r("div",Mu,[(K(!0),Y(Ye,null,Xe(Vt.value.slice(10,50),g=>(K(),Ae(Xt,{key:g.id,modelValue:g.selected,"onUpdate:modelValue":se=>g.selected=se,onChange:se=>Xi(g,se),class:"custom-checkbox"},{default:y(()=>[r("div",Nu,[r("span",null,ae(g.name),1)])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),r("div",Bu,[e[154]||(e[154]=r("h3",{style:{color:"#808080"}},"自定义维度",-1)),r("div",Fu,[r("div",ju,[r("div",Lu,[p(N,{style:{width:"150px"},modelValue:an.value,"onUpdate:modelValue":e[21]||(e[21]=g=>an.value=g),placeholder:"请输入维度名称"},null,8,["modelValue"])]),r("div",Qu,[e[152]||(e[152]=r("div",{class:"input-label"},"特征描述:",-1)),p(N,{modelValue:Dn.value,"onUpdate:modelValue":e[22]||(e[22]=g=>Dn.value=g),style:{width:"500px"},type:"textarea",placeholder:"请输入特征描述"},null,8,["modelValue"])])]),r("div",Gu,[p(x,{type:"primary",onClick:Br},{default:y(()=>e[153]||(e[153]=[U("添加")])),_:1})])])])])])),[[la,kn.value]]):Te("",!0),q.value===2?(K(),Y("div",zu,[r("div",$u,[r("div",Ju,[r("div",Wu,[p(x,{plain:"",class:"custom-btn",onClick:Bi},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(Sn))]),_:1}),e[156]||(e[156]=U(" 自定义题目 "))]),_:1}),p(x,{plain:"",class:"custom-btn"},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ca))]),_:1}),e[157]||(e[157]=U(" 导入题目 "))]),_:1}),Ce.value.length>0?(K(),Ae(x,{key:0,type:"primary",plain:"",class:"custom-btn",loading:et.value,onClick:ta},{default:y(()=>[p(D,null,{default:y(()=>[p(kl)]),_:1}),e[158]||(e[158]=U(" 重新生成 "))]),_:1},8,["loading"])):Te("",!0),r("div",Hu,[r("div",Yu,[e[159]||(e[159]=r("span",{class:"switch-label"},"开放题数量",-1)),p(st,{modelValue:bn.openQuestionsCount,"onUpdate:modelValue":e[23]||(e[23]=g=>bn.openQuestionsCount=g),min:1,max:10,size:"small",onChange:ea},null,8,["modelValue"])]),r("div",Xu,[e[160]||(e[160]=r("span",{class:"switch-label"},"选择题数量",-1)),p(st,{modelValue:bn.choiceQuestionsCount,"onUpdate:modelValue":e[24]||(e[24]=g=>bn.choiceQuestionsCount=g),min:1,max:20,size:"small",onChange:ea},null,8,["modelValue"])])])]),r("div",qu,[e[161]||(e[161]=r("span",null,"预计面试时长: ",-1)),r("span",Zu,ae(wn.value),1),e[162]||(e[162]=r("span",{class:"duration-tip"},"拖动试题卡片可改变试题顺序",-1))])]),r("div",_u,[Go((K(),Y("div",ec,[Ce.value.length===0?(K(),Y("div",tc,[e[165]||(e[165]=r("p",null,"暂无题目",-1)),e[166]||(e[166]=r("p",{class:"ai-tip"},'点击"AI自动组题"按钮',-1)),e[167]||(e[167]=r("p",{class:"ai-tip"},"可根据您选择的能力类型一键组题",-1)),p(x,{type:"success",class:"auto-generate-btn",loading:et.value,onClick:ta},{default:y(()=>e[163]||(e[163]=[U(" AI自动组题 ")])),_:1},8,["loading"]),et.value&&fe(Yt)?(K(),Ae(x,{key:0,type:"warning",plain:"",size:"small",onClick:Yr,style:{"margin-left":"10px"}},{default:y(()=>e[164]||(e[164]=[U(" 取消生成 ")])),_:1})):Te("",!0)])):(K(),Y("div",nc,[p(fe(Ua),{modelValue:Ce.value,"onUpdate:modelValue":e[25]||(e[25]=g=>Ce.value=g),"item-key":"id",handle:".drag-handle",onStart:Qr,onEnd:Gr,animation:"200","ghost-class":"sortable-ghost","chosen-class":"sortable-chosen","drag-class":"sortable-drag"},{item:y(({element:g})=>[r("div",oc,[e[171]||(e[171]=r("div",{class:"drag-handle"},[r("img",{src:Cs,alt:"",class:"dorp"})],-1)),r("div",ic,[r("div",ac,[r("div",rc,[r("div",lc,[r("span",sc,"题目"+ae(Ce.value.indexOf(g)+1),1),r("span",null,[r("span",dc,ae("「"+g.question_form_name+"」"),1),U(ae(g.title),1)])]),r("div",uc,[(K(!0),Y(Ye,null,Xe((g.competency_tag_info||g.competency_tags||[]).slice(0,2),(se,we)=>(K(),Ae(Rt,{key:se.id,effect:"plain",class:"competency-tag",size:"small"},{default:y(()=>[U(ae(S(se)),1)]),_:2},1024))),128)),(g.competency_tag_info||g.competency_tags||[]).length>2?(K(),Y("span",cc," +"+ae((g.competency_tag_info||g.competency_tags||[]).length-2),1)):Te("",!0)])])]),r("div",fc,[p(x,{type:"text",onClick:se=>Li(Ce.value.indexOf(g))},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:2},1032,["onClick"]),p(x,{type:"text",onClick:se=>Qi(Ce.value.indexOf(g))},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(fa))]),_:1})]),_:2},1032,["onClick"])])]),r("div",vc,[r("div",pc,[r("span",null,ae(g.scoring_reference),1)])]),g.question_form==0?(K(),Y("div",mc,[r("div",gc,[p(ht,{style:{"margin-top":"0px"},modelValue:g.enable_follow_up,"onUpdate:modelValue":se=>g.enable_follow_up=se,onChange:re},null,8,["modelValue","onUpdate:modelValue"]),e[168]||(e[168]=r("span",{class:"answer-label"},"回答不充分追问",-1))]),r("div",hc,[e[169]||(e[169]=r("span",{class:"answer-label"},"追问轮数",-1)),p(ie,{modelValue:g.maxAnswers,"onUpdate:modelValue":se=>g.maxAnswers=se,size:"small",placeholder:"请选择"},{default:y(()=>[p($,{label:"1次",value:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])])])):Te("",!0),g.question_form==1?(K(),Y("div",yc,[r("div",bc,[e[170]||(e[170]=r("span",{class:"answer-label"},"是否为红线题:",-1)),p(ie,{modelValue:g.is_required_correct,"onUpdate:modelValue":se=>g.is_required_correct=se,disabled:!0,onChange:se=>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"])]))])),[[la,et.value]]),r("div",Sc,[e[174]||(e[174]=r("div",{class:"dimension-title"},"已选胜任力考核维度",-1)),r("div",Ec,[(K(!0),Y(Ye,null,Xe(H.value,(g,se)=>(K(),Y("div",{key:g.value,class:"dimension-item"},[r("div",xc,[r("div",Ic,[r("span",Cc,ae(g.label),1),e[172]||(e[172]=r("img",{src:Ea,alt:"",class:"sheng"},null,-1))])]),r("div",{class:"dimension-content",onClick:we=>Jr(se),title:"点击删除此胜任力标签"},e[173]||(e[173]=[r("div",{class:"ability-description"},ae("—"),-1)]),8,wc)]))),128))])])])])])):Te("",!0),q.value===3?(K(),Y("div",Ac,[r("div",Oc,[r("div",Tc,[e[185]||(e[185]=r("div",{class:"section-header"},"请选择面试官形象",-1)),r("div",Dc,[r("div",Pc,[Bo.value?(K(),Y("img",{key:0,src:Bo.value,alt:"",style:{width:"100%",height:"100%","object-fit":"cover",transform:"translateZ(0)","backface-visibility":"hidden"}},null,8,Vc)):Te("",!0)]),r("div",null,[r("div",Rc,[(K(!0),Y(Ye,null,Xe(di.value,g=>(K(),Y("div",{key:g.id,class:Ot(["avatar-item",{active:gt.value.id===g.id}]),onClick:se=>Fr(g)},[r("div",kc,[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,Kc)],2),r("div",{class:"avatar-name",title:g.name},ae(g.name),9,Mc)])],10,Uc))),128))]),r("div",Nc,[e[175]||(e[175]=r("div",{class:"setting-label"},"「追问风格」",-1)),r("div",Bc,[p(ie,{modelValue:at.followUpStyle,"onUpdate:modelValue":e[26]||(e[26]=g=>at.followUpStyle=g),placeholder:"请选择",onChange:e[27]||(e[27]=g=>io("followUpStyle",at.followUpStyle))},{default:y(()=>[p($,{label:"温和",value:"1"}),p($,{label:"严厉",value:"2"}),p($,{label:"严谨",value:"3"})]),_:1},8,["modelValue"])]),e[176]||(e[176]=r("div",{class:"setting-desc"},null,-1))])])]),r("div",Fc,[r("div",jc,[e[177]||(e[177]=r("div",{class:"setting-label"},[r("p",null,"「回答视频保留」")],-1)),e[178]||(e[178]=r("div",{class:"setting-desc"},[r("p",null,"选取后,将在报告中展示候选人的回答视频")],-1)),p(ht,{modelValue:at.keepVideo,"onUpdate:modelValue":e[28]||(e[28]=g=>at.keepVideo=g),onChange:e[29]||(e[29]=g=>io("keepVideo",g)),disabled:!0},null,8,["modelValue"])]),r("div",Lc,[e[181]||(e[181]=r("div",{class:"setting-label"},[r("p",null,"「中断后作答限制」")],-1)),r("div",Qc,[p(vo,{modelValue:at.interruptionMode,"onUpdate:modelValue":e[30]||(e[30]=g=>at.interruptionMode=g),label:"current",onChange:e[31]||(e[31]=g=>io("interruptionMode",at.interruptionMode))},{default:y(()=>e[179]||(e[179]=[U(" 从当前问题重新作答 ")])),_:1},8,["modelValue"]),p(vo,{modelValue:at.interruptionMode,"onUpdate:modelValue":e[32]||(e[32]=g=>at.interruptionMode=g),label:"previous",onChange:e[33]||(e[33]=g=>io("interruptionMode",at.interruptionMode))},{default:y(()=>e[180]||(e[180]=[U(" 从头作答 ")])),_:1},8,["modelValue"])]),e[182]||(e[182]=r("div",{class:"setting-desc",style:{width:"40px"}},null,-1))]),r("div",Gc,[e[183]||(e[183]=r("div",{class:"setting-label"},[r("p",null,"「智慧追问」")],-1)),e[184]||(e[184]=r("div",{class:"setting-desc"},[r("p",null,"追问将结合候选人资料情况,综合分析发问")],-1)),p(ht,{modelValue:at.smartFollowUp,"onUpdate:modelValue":e[34]||(e[34]=g=>at.smartFollowUp=g),onChange:e[35]||(e[35]=g=>io("smartFollowUp",g))},null,8,["modelValue"])])])])])])):Te("",!0)]),_:1},8,["modelValue"]),p(At,{title:"新增视频宣讲",modelValue:be.value,"onUpdate:modelValue":e[38]||(e[38]=g=>be.value=g),width:"35%","close-on-click-modal":!1,class:"video-lecture-dialog"},{footer:y(()=>[r("span",Yc,[p(x,{onClick:Be},{default:y(()=>e[193]||(e[193]=[U("取消")])),_:1}),p(x,{type:"primary",onClick:pe},{default:y(()=>e[194]||(e[194]=[U("确认")])),_:1})])]),default:y(()=>[r("div",$c,[r("div",Jc,[e[191]||(e[191]=r("div",{class:"form-label"},"上传视频",-1)),p(aa,{class:"video-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"video/*"},{default:y(()=>[r("div",Wc,[p(D,null,{default:y(()=>[p(fe(Sn))]),_:1}),e[190]||(e[190]=r("div",{class:"upload-text"},"上传文件大小不超过500M",-1))])]),_:1})]),r("div",Hc,[e[192]||(e[192]=r("div",{class:"form-label"},"视频简介",-1)),p(N,{modelValue:Oe.description,"onUpdate:modelValue":e[37]||(e[37]=g=>Oe.description=g),type:"textarea",rows:"4",placeholder:"视频简介会显示在视频下方的标题下方",maxlength:"200","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),p(fe(pi),{title:"AI实时对话",modelValue:Ne.value,"onUpdate:modelValue":e[40]||(e[40]=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",pf,[p(x,{onClick:de},{default:y(()=>e[205]||(e[205]=[U("取消")])),_:1}),p(x,{type:"primary",onClick:ne},{default:y(()=>e[206]||(e[206]=[U("确认")])),_:1})])]),default:y(()=>[r("div",Xc,[r("div",qc,[e[204]||(e[204]=r("div",{class:"section-title"},[r("div",{class:"section-line"}),r("span",null,"对话设置")],-1)),r("div",Zc,[p(x,{type:"primary",plain:"",onClick:Ha},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(Sn))]),_:1}),e[195]||(e[195]=U(" 添加问题 "))]),_:1}),p(x,{type:"success",plain:"",onClick:Bi},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ca))]),_:1}),e[196]||(e[196]=U(" 导入问题 "))]),_:1})]),r("div",_c,[Ce.value.length===0?(K(),Y("div",ef,e[197]||(e[197]=[r("p",null,"暂无问题",-1),r("p",{class:"tip-text"},'点击"添加问题"或"导入问题"添加面试问题',-1)]))):(K(),Y("div",tf,[p(fe(Ua),{modelValue:Ce.value,"onUpdate:modelValue":e[39]||(e[39]=g=>Ce.value=g),"item-key":"id",handle:".drag-handle"},{item:y(({element:g,index:se})=>[U(ae(g)+" ",1),r("div",nf,[r("div",of,[r("div",af,[r("span",rf,"题目"+ae(se+1),1),r("span",null,ae(g.question),1)]),r("div",lf,[r("div",sf,[e[199]||(e[199]=r("span",{class:"weight-label"},"权重占比:",-1)),p(st,{modelValue:g.weight,"onUpdate:modelValue":we=>g.weight=we,min:0,max:100,step:1,size:"small","controls-position":"right"},{suffix:y(()=>e[198]||(e[198]=[U("%")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),r("div",df,[e[200]||(e[200]=r("span",{class:"answer-label"},"最多回答次数",-1)),p(ie,{modelValue:g.maxAnswers,"onUpdate:modelValue":we=>g.maxAnswers=we,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:we=>Li(se)},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:2},1032,["onClick"]),p(x,{type:"text",onClick:we=>Qi(se)},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(fa))]),_:1})]),_:2},1032,["onClick"])])]),r("div",uf,[r("div",cf,[e[201]||(e[201]=r("span",{class:"info-label"},"考察能力:",-1)),r("span",null,ae(g.ability),1)]),r("div",ff,[e[202]||(e[202]=r("span",{class:"info-label"},"面试内容:",-1)),r("span",null,ae(g.content),1)]),r("div",vf,[e[203]||(e[203]=r("span",{class:"info-label"},"对话目标:",-1)),r("span",null,ae(g.target),1)])])])]),_:1},8,["modelValue"])]))])])])]),_:1},8,["modelValue"]),p(At,{title:"查看问题",modelValue:Ve.value,"onUpdate:modelValue":e[49]||(e[49]=g=>Ve.value=g),width:"500px","close-on-click-modal":!1,class:"question-dialog"},{footer:y(()=>[r("span",Uf,[p(x,{onClick:Ft},{default:y(()=>e[233]||(e[233]=[U("取消")])),_:1})])]),default:y(()=>[r("div",mf,[r("div",gf,[e[207]||(e[207]=r("div",{class:"form-label"},[U(" 题目内容"),r("span",{class:"required"},"*")],-1)),p(N,{modelValue:Z.content,"onUpdate:modelValue":e[41]||(e[41]=g=>Z.content=g),type:"textarea",rows:"4",placeholder:"请描述一次你如何在紧迫的时间内完成一个复杂的后端开发任务的经历",maxlength:"300","show-word-limit":"",disabled:!0},null,8,["modelValue"])]),r("div",hf,[e[208]||(e[208]=r("div",{class:"form-label"},"胜任力标签",-1)),p(ie,{modelValue:na.value,"onUpdate:modelValue":e[42]||(e[42]=g=>na.value=g),placeholder:"请选择胜任力标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(K(!0),Y(Ye,null,Xe(Z.competency_tags,g=>(K(),Ae($,{key:g.id,label:g.name,value:g.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[209]||(e[209]=r("div",{class:"form-tip"},"选择胜任力标签和胜任力标签,可多选",-1))]),r("div",yf,[e[215]||(e[215]=r("div",{class:"form-label"}," 胜任力配置 ",-1)),r("div",bf,[e[211]||(e[211]=r("div",{class:"config-row"},[r("span",{class:"config-label"},"标签"),r("span",{class:"config-label"},"权重")],-1)),(K(!0),Y(Ye,null,Xe(Z.competency_tags,(g,se)=>(K(),Y("div",{class:"config-row",key:g.id},[r("span",Sf,ae(g.name),1),p(st,{modelValue:g.weight,"onUpdate:modelValue":we=>g.weight=we,min:0,max:100,step:1,disabled:!0,"controls-position":"right",onChange:we=>Sl(se,we)},null,8,["modelValue","onUpdate:modelValue","onChange"]),e[210]||(e[210]=U(" % "))]))),128))]),r("div",Ef,[e[212]||(e[212]=U(" 配置各个胜任力标签的权重,总和需要100% ")),r("span",{class:Ot(["weight-sum",{"weight-error":ci()!==100}])}," (当前总计: "+ae(ci())+"%) ",3),e[213]||(e[213]=r("br",null,null,-1)),p(D,{style:{color:"#409eff","margin-right":"4px","margin-top":"4px"}},{default:y(()=>[p(fe(as))]),_:1}),e[214]||(e[214]=r("span",{style:{color:"#909399","font-size":"11px"}},' 修改任意权重时,其他权重会自动按比例调整以保持总和为100%。点击"平均分配"可快速平均分配所有权重。 ',-1))])]),r("div",xf,[e[216]||(e[216]=r("div",{class:"form-label"},"题目形式",-1)),p(ie,{modelValue:Z.question_form,"onUpdate:modelValue":e[43]||(e[43]=g=>Z.question_form=g),placeholder:"开放问题",class:"full-width",disabled:!0,onChange:hl},{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[217]||(e[217]=r("div",{class:"form-tip"},"选择题目的形式:开放问题、单选题、多选题、填空题、自言语",-1))]),r("div",If,[e[218]||(e[218]=r("div",{class:"form-label"},"适用职位",-1)),p(ie,{modelValue:t.value,"onUpdate:modelValue":e[44]||(e[44]=g=>t.value=g),placeholder:"请选择适用职位类型",class:"full-width",disabled:!0},{default:y(()=>[(K(!0),Y(Ye,null,Xe(Le.value,g=>(K(),Ae($,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[219]||(e[219]=r("div",{class:"form-tip"},"选择题目适用的职位类型,可多选",-1))]),Z.question_form===1||Z.question_form===2||Z.question_form===3?(K(),Y("div",Cf,[e[221]||(e[221]=r("div",{class:"form-label"},"选项",-1)),r("div",null,[e[220]||(e[220]=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),Y(Ye,null,Xe(Z.options,(g,se)=>(K(),Y("div",{key:se,class:"option-item",style:{display:"flex","align-items":"center","margin-bottom":"10px"}},[p(N,{modelValue:g.text,"onUpdate:modelValue":we=>g.text=we,placeholder:"请输入选项内容",disabled:!0,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","onUpdate:modelValue"]),p(Mn,{content:"设置为正确答案",placement:"top",effect:"light",disabled:!0},{default:y(()=>[r("div",{onClick:()=>{Z.question_form===1||Z.question_form===3?Z.options.forEach((we,Ll)=>{we.is_correct=Ll===se}):g.is_correct=!g.is_correct},style:{cursor:"pointer",width:"80px","text-align":"center"}},[Z.question_form===1||Z.question_form===3?(K(),Ae(vo,{key:0,disabled:!0,modelValue:g.is_correct,"onUpdate:modelValue":we=>g.is_correct=we,label:!0},null,8,["modelValue","onUpdate:modelValue"])):(K(),Ae(Xt,{key:1,disabled:!0,modelValue:g.is_correct,"onUpdate:modelValue":we=>g.is_correct=we},null,8,["modelValue","onUpdate:modelValue"]))],8,wf)]),_:2},1024)]))),128))]),e[222]||(e[222]=r("div",{class:"form-tip"},"添加选项并设置正确答案,单选题只能有一个正确答案,多选题可以有多个正确答案",-1))])):Te("",!0),Z.question_form==6?(K(),Y("div",Af,[e[223]||(e[223]=r("div",{class:"form-label"},"填空答案模板",-1)),p(Ss,{"model-value":Z.blank_answer_template||[],question:Z.content,readonly:!0},null,8,["model-value","question"])])):Te("",!0),Z.question_form===3?(K(),Y("div",Of,[e[224]||(e[224]=r("div",{class:"form-label"},"题目图片",-1)),r("img",{src:Z.question_image_url,alt:""},null,8,Tf)])):Te("",!0),r("div",Df,[e[225]||(e[225]=r("div",{class:"form-label"},"分类",-1)),p(ie,{modelValue:Z.category,"onUpdate:modelValue":e[45]||(e[45]=g=>Z.category=g),placeholder:"请选择题目分类",class:"full-width",disabled:!0},{default:y(()=>[(K(!0),Y(Ye,null,Xe(Re.value,g=>(K(),Ae($,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[226]||(e[226]=r("div",{class:"form-tip"},"选择题目所属分类",-1))]),r("div",Pf,[e[227]||(e[227]=r("div",{class:"form-label"},"标签",-1)),p(ie,{modelValue:Z.tags,"onUpdate:modelValue":e[46]||(e[46]=g=>Z.tags=g),placeholder:"请选择标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(K(!0),Y(Ye,null,Xe(Me.value,g=>(K(),Ae($,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[228]||(e[228]=r("div",{class:"form-tip"},"选择题目相关标签,可多选",-1))]),r("div",Vf,[e[229]||(e[229]=r("div",{class:"form-label"},"建议时长(秒)",-1)),p(st,{modelValue:Z.suggestedDuration,"onUpdate:modelValue":e[47]||(e[47]=g=>Z.suggestedDuration=g),min:0,step:1,"controls-position":"right",placeholder:"请输入建议回答时长",class:"full-width",disabled:!0},null,8,["modelValue"]),e[230]||(e[230]=r("div",{class:"form-tip"},"建议回答题目的时长,单位为秒",-1))]),r("div",Rf,[e[231]||(e[231]=r("div",{class:"form-label"},"评价标准",-1)),p(N,{modelValue:Z.scoring_reference,"onUpdate:modelValue":e[48]||(e[48]=g=>Z.scoring_reference=g),type:"textarea",disabled:!0,rows:"4",placeholder:"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",class:"full-width"},null,8,["modelValue"]),e[232]||(e[232]=r("div",{class:"form-tip"},"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",-1))])])]),_:1},8,["modelValue"]),p(At,{title:"选择题目",modelValue:Pn.value,"onUpdate:modelValue":e[50]||(e[50]=g=>Pn.value=g),width:"30%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[r("span",Bf,[p(x,{onClick:Zr},{default:y(()=>e[234]||(e[234]=[U("取消")])),_:1}),p(x,{type:"primary",onClick:_r,disabled:Kt.value.length==0,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[235]||(e[235]=[U("确定")])),_:1},8,["disabled"])])]),default:y(()=>[r("div",kf,[p(Ml,{ref:"treeRef",data:ia.value,"node-key":"id",props:Vl,"default-expand-all":"","highlight-current":"",onNodeClick:Rl},{default:y(({node:g,data:se})=>[r("div",Kf,[r("div",Mf,[p(D,null,{default:y(()=>[p(Kl)]),_:1}),r("span",Nf,ae(se.title),1)])])]),_:1},8,["data"])])]),_:1},8,["modelValue"]),p(At,{title:"创建自定义题目",modelValue:lo.value,"onUpdate:modelValue":e[52]||(e[52]=g=>lo.value=g),width:"40%","close-on-click-modal":!1,class:"question-bank-form-dialog","before-close":Fi},{default:y(()=>[p(ds,{modelValue:Fo.value,"onUpdate:modelValue":e[51]||(e[51]=g=>Fo.value=g),"is-edit":Zi.value,onSubmit:Ya,onCancel:Fi},null,8,["modelValue","is-edit"])]),_:1},8,["modelValue"]),p(At,{title:"资料收集",modelValue:ut.value,"onUpdate:modelValue":e[53]||(e[53]=g=>ut.value=g),width:"900px","close-on-click-modal":!1,class:"data-collection-dialog"},{footer:y(()=>[r("span",iv,[p(x,{onClick:Xa},{default:y(()=>e[245]||(e[245]=[U("取消")])),_:1}),p(x,{type:"primary",onClick:el},{default:y(()=>e[246]||(e[246]=[U("确认")])),_:1})])]),default:y(()=>[r("div",Ff,[r("div",jf,[e[244]||(e[244]=r("div",{class:"panel-header"},[r("h3",null,"字段显示配置")],-1)),r("div",Lf,[e[239]||(e[239]=r("div",{class:"section-title"},"基本信息",-1)),p(qt,{gutter:20},{default:y(()=>[(K(!0),Y(Ye,null,Xe(tl(),(g,se)=>(K(),Ae($t,{span:8,key:se},{default:y(()=>[r("div",Qf,[r("span",Gf,ae(g.label),1),p(Mn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(ht,{modelValue:g.visible,"onUpdate:modelValue":we=>g.visible=we,disabled:g.label=="姓名"||g.label=="手机号"||g.label=="身份证号",class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue","disabled"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[240]||(e[240]=r("div",{class:"section-title"},"家庭成员信息",-1)),p(qt,{gutter:20},{default:y(()=>[p($t,{span:24},{default:y(()=>[r("div",zf,[r("span",$f,[U(ae(fe(j).family_member.label)+" ",1),fe(j).family_member.visible?(K(),Ae(Rt,{key:0,size:"small",type:"success"},{default:y(()=>e[236]||(e[236]=[U("已启用")])),_:1})):Te("",!0)])])]),_:1})]),_:1}),fe(j).family_member.visible?(K(),Ae(qt,{key:0,gutter:20},{default:y(()=>[(K(!0),Y(Ye,null,Xe(fe(j).family_member.fields,(g,se)=>(K(),Ae($t,{span:8,key:se},{default:y(()=>[r("div",Jf,[r("span",Wf,ae(g.label),1),p(Mn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(ht,{modelValue:g.visible,"onUpdate:modelValue":we=>g.visible=we,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0),e[241]||(e[241]=r("div",{class:"section-title"},"教育经历",-1)),p(qt,{gutter:20},{default:y(()=>[p($t,{span:24},{default:y(()=>[r("div",Hf,[r("span",Yf,[U(ae(fe(j).education.label)+" ",1),fe(j).education.visible?(K(),Ae(Rt,{key:0,size:"small",type:"success"},{default:y(()=>e[237]||(e[237]=[U("已启用")])),_:1})):Te("",!0)])])]),_:1})]),_:1}),fe(j).education.visible?(K(),Ae(qt,{key:1,gutter:20},{default:y(()=>[(K(!0),Y(Ye,null,Xe(fe(j).education.fields,(g,se)=>(K(),Ae($t,{span:8,key:se},{default:y(()=>[r("div",Xf,[r("span",qf,ae(g.label),1),p(Mn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(ht,{modelValue:g.visible,"onUpdate:modelValue":we=>g.visible=we,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0),e[242]||(e[242]=r("div",{class:"section-title"},"专业技能",-1)),p(qt,{gutter:20},{default:y(()=>[(K(!0),Y(Ye,null,Xe(nl(),(g,se)=>(K(),Ae($t,{span:8,key:se},{default:y(()=>[r("div",Zf,[r("span",_f,ae(g.label),1),p(Mn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(ht,{modelValue:g.visible,"onUpdate:modelValue":we=>g.visible=we,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[243]||(e[243]=r("div",{class:"section-title"},"工作经历",-1)),p(qt,{gutter:20},{default:y(()=>[p($t,{span:24},{default:y(()=>[r("div",ev,[r("span",tv,[U(ae(fe(j).work_experience.label)+" ",1),fe(j).work_experience.visible?(K(),Ae(Rt,{key:0,size:"small",type:"success"},{default:y(()=>e[238]||(e[238]=[U("已启用")])),_:1})):Te("",!0)])])]),_:1})]),_:1}),fe(j).work_experience.visible?(K(),Ae(qt,{key:2,gutter:20},{default:y(()=>[(K(!0),Y(Ye,null,Xe(fe(j).work_experience.fields,(g,se)=>(K(),Ae($t,{span:8,key:se},{default:y(()=>[r("div",nv,[r("span",ov,ae(g.label),1),p(Mn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(ht,{modelValue:g.visible,"onUpdate:modelValue":we=>g.visible=we,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0)])])])]),_:1},8,["modelValue"]),p(At,{title:"简历收集",modelValue:St.value,"onUpdate:modelValue":e[55]||(e[55]=g=>St.value=g),width:"500px","close-on-click-modal":!1,class:"resume-collection-dialog"},{footer:y(()=>[r("span",lv,[p(x,{onClick:jt},{default:y(()=>e[248]||(e[248]=[U("取消")])),_:1}),p(x,{type:"primary",onClick:It},{default:y(()=>e[249]||(e[249]=[U("确认")])),_:1})])]),default:y(()=>[r("div",av,[r("div",rv,[e[247]||(e[247]=r("div",{class:"form-label"},"步骤名称",-1)),p(N,{modelValue:Qe.title,"onUpdate:modelValue":e[54]||(e[54]=g=>Qe.title=g),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":"",disabled:!0},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),p(At,{title:"添加代码笔试步骤",modelValue:$n.value,"onUpdate:modelValue":e[58]||(e[58]=g=>$n.value=g),width:"500px","close-on-click-modal":!1,class:"code-test-dialog"},{footer:y(()=>[r("span",Sv,[p(x,{onClick:Gi},{default:y(()=>e[258]||(e[258]=[U("取消")])),_:1}),p(x,{type:"primary",onClick:er},{default:y(()=>e[259]||(e[259]=[U("确认")])),_:1})])]),default:y(()=>[r("div",sv,[r("div",dv,[e[250]||(e[250]=r("div",{class:"form-label"},"步骤名称",-1)),p(N,{modelValue:it.title,"onUpdate:modelValue":e[56]||(e[56]=g=>it.title=g),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),r("div",uv,[e[251]||(e[251]=r("div",{class:"form-label"},"自动评判试卷",-1)),p(ht,{modelValue:it.autoJudge,"onUpdate:modelValue":e[57]||(e[57]=g=>it.autoJudge=g)},null,8,["modelValue"]),r("span",cv,ae(it.autoJudge?"开启":"关闭"),1)]),r("div",fv,[e[257]||(e[257]=r("div",{class:"form-label"},"添加考试试卷",-1)),r("div",vv,[it.selectedPaper?(K(),Y("div",mv,[r("div",gv,[r("div",hv,ae(it.selectedPaper.title),1),r("div",yv,[r("span",null,ae(it.selectedPaper.questionCount)+"道题",1),r("span",null,ae(it.selectedPaper.duration)+"分钟",1),r("span",null,ae(it.selectedPaper.difficulty),1)])]),r("div",bv,[p(x,{type:"text",onClick:nr},{default:y(()=>e[254]||(e[254]=[U("查看")])),_:1}),p(x,{type:"text",onClick:or},{default:y(()=>e[255]||(e[255]=[U("更换")])),_:1}),p(x,{type:"text",onClick:ir},{default:y(()=>e[256]||(e[256]=[U("删除")])),_:1})])])):(K(),Y("div",pv,[p(x,{type:"primary",plain:"",onClick:tr},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(Sn))]),_:1}),e[252]||(e[252]=U(" 添加考卷 "))]),_:1}),e[253]||(e[253]=r("p",{class:"tip-text"},"多选时,考生会随机分配到一套试卷",-1))]))])])])]),_:1},8,["modelValue"]),p(fe(pi),{title:"添加打字测试步骤",modelValue:Jn.value,"onUpdate:modelValue":e[66]||(e[66]=g=>Jn.value=g),size:"60%","close-on-click-modal":!1,class:"typing-test-dialog","destroy-on-close":!1},{footer:y(()=>[r("span",kv,[p(x,{onClick:zi},{default:y(()=>e[276]||(e[276]=[U("取消")])),_:1}),p(x,{type:"primary",onClick:ar},{default:y(()=>e[277]||(e[277]=[U("保存")])),_:1})])]),default:y(()=>[r("div",Ev,[r("div",xv,[e[261]||(e[261]=r("div",{class:"form-label"},"选择文章",-1)),r("div",Iv,[p(x,{type:"primary",size:"small",class:"add-article-btn"},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(Sn))]),_:1}),e[260]||(e[260]=U(" 添加文章 "))]),_:1})])]),r("div",Cv,[e[264]||(e[264]=r("div",{class:"form-label"},"候选人选择文章方式",-1)),p(Nl,{modelValue:tt.selectionMode,"onUpdate:modelValue":e[59]||(e[59]=g=>tt.selectionMode=g)},{default:y(()=>[p(vo,{label:"random"},{default:y(()=>e[262]||(e[262]=[U("随机抽取")])),_:1}),p(vo,{label:"self"},{default:y(()=>e[263]||(e[263]=[U("候选人自主选择")])),_:1})]),_:1},8,["modelValue"])]),r("div",wv,[e[266]||(e[266]=r("div",{class:"form-label"},"测试时间",-1)),r("div",Av,[p(N,{modelValue:tt.duration,"onUpdate:modelValue":e[60]||(e[60]=g=>tt.duration=g),class:"time-input"},null,8,["modelValue"]),e[265]||(e[265]=r("span",{class:"time-unit"},"分钟",-1))])]),r("div",Ov,[e[268]||(e[268]=r("div",{class:"form-label"},"登录界面预览图(建议尺寸1024*768像素,最大不要超过5M)",-1)),p(aa,{class:"preview-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"image/*"},{default:y(()=>[r("div",Tv,[p(D,null,{default:y(()=>[p(fe(Sn))]),_:1}),e[267]||(e[267]=r("div",{class:"upload-text"},"添加图片",-1))])]),_:1})]),r("div",Dv,[e[269]||(e[269]=r("div",{class:"form-label"},"注意事项内容(在登录界面显示)",-1)),p(N,{modelValue:tt.notes,"onUpdate:modelValue":e[61]||(e[61]=g=>tt.notes=g),type:"textarea",rows:"4",placeholder:"请输入注意事项内容",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),r("div",Pv,[e[270]||(e[270]=r("div",{class:"form-label"},"测试页面标题",-1)),p(N,{modelValue:tt.pageTitle,"onUpdate:modelValue":e[62]||(e[62]=g=>tt.pageTitle=g),placeholder:"测试页面标题"},null,8,["modelValue"])]),r("div",Vv,[e[272]||(e[272]=r("div",{class:"form-label"},"视频监控",-1)),p(Xt,{modelValue:tt.videoMonitoring,"onUpdate:modelValue":e[63]||(e[63]=g=>tt.videoMonitoring=g)},{default:y(()=>e[271]||(e[271]=[U("视频监控")])),_:1},8,["modelValue"])]),r("div",Rv,[e[275]||(e[275]=r("div",{class:"form-label"},"通过标准",-1)),r("div",Uv,[p(Xt,{modelValue:tt.passCriteria.speed,"onUpdate:modelValue":e[64]||(e[64]=g=>tt.passCriteria.speed=g)},{default:y(()=>e[273]||(e[273]=[U("速度")])),_:1},8,["modelValue"]),p(Xt,{modelValue:tt.passCriteria.accuracy,"onUpdate:modelValue":e[65]||(e[65]=g=>tt.passCriteria.accuracy=g)},{default:y(()=>e[274]||(e[274]=[U("正确率")])),_:1},8,["modelValue"])])])])]),_:1},8,["modelValue"]),p(At,{title:"面试设置",modelValue:so.value,"onUpdate:modelValue":e[75]||(e[75]=g=>so.value=g),width:"60%","close-on-click-modal":!1,class:"interview-settings-dialog"},{footer:y(()=>[r("span",dp,[p(x,{onClick:ol},{default:y(()=>e[296]||(e[296]=[U("取消")])),_:1}),p(x,{type:"primary",onClick:al},{default:y(()=>e[297]||(e[297]=[U("完成")])),_:1})])]),default:y(()=>[r("div",Kv,[r("div",Mv,[e[283]||(e[283]=r("div",{class:"section-header"},[r("span",{class:"section-title"},"防作弊设置")],-1)),r("div",Nv,[e[278]||(e[278]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「人脸一致性检测」"),r("p",{class:"setting-desc"},"选取后,将会在候选人离开前置摄像头时进行提示,默认开启")],-1)),p(ht,{modelValue:Ge.faceConsistency,"onUpdate:modelValue":e[67]||(e[67]=g=>Ge.faceConsistency=g),disabled:!0},null,8,["modelValue"])]),r("div",Bv,[e[279]||(e[279]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「 防截屏 / 录屏 」"),r("p",{class:"setting-desc"},"选取后,将会在候选人截屏或录屏时进行提示,为防止泄题,默认开启")],-1)),p(ht,{modelValue:Ge.preventScreenshot,"onUpdate:modelValue":e[68]||(e[68]=g=>Ge.preventScreenshot=g),disabled:!0},null,8,["modelValue"])]),r("div",Fv,[e[281]||(e[281]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「 切 屏 预 制 」"),r("p",{class:"setting-desc"},"选取后,将会在候选人切屏时进行提示,为防止作弊,默认开启")],-1)),p(ht,{modelValue:Ge.screenSwitchAlert,"onUpdate:modelValue":e[69]||(e[69]=g=>Ge.screenSwitchAlert=g),disabled:!0},{default:y(()=>e[280]||(e[280]=[r("span",{class:"switch-desc"},"切屏超过 2 次关闭,作废本关面试",-1)])),_:1},8,["modelValue"])]),r("div",jv,[e[282]||(e[282]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「情绪/眼动检测」"),r("p",{class:"setting-desc"},"该现已,将对候选人整场面试的情绪与压力表现进行分析,建议开启")],-1)),p(ht,{modelValue:Ge.positionDetection,"onUpdate:modelValue":e[70]||(e[70]=g=>Ge.positionDetection=g)},null,8,["modelValue"])])]),r("div",Lv,[e[295]||(e[295]=r("div",{class:"section-header"},[r("span",{class:"section-title"},"其他设置")],-1)),r("div",Qv,[r("div",Gv,[e[285]||(e[285]=r("span",{class:"setting-name"},"重复面试",-1)),r("div",zv,[e[284]||(e[284]=r("p",{class:"setting-desc",style:{}},"选取后,将允许面试者进行重复面试",-1)),p(ht,{modelValue:Ge.reviewInterview,"onUpdate:modelValue":e[71]||(e[71]=g=>Ge.reviewInterview=g)},null,8,["modelValue"])])])]),r("div",$v,[r("div",Jv,[e[288]||(e[288]=r("span",{class:"setting-name"},"开场词",-1)),Vn.value?(K(),Y("div",Yv,[p(N,{modelValue:rn.value,"onUpdate:modelValue":e[72]||(e[72]=g=>rn.value=g),type:"textarea",rows:"5",maxlength:"150",placeholder:"请输入开始前提示内容","show-word-limit":""},null,8,["modelValue"]),r("div",Xv,[p(x,{size:"small",onClick:sl},{default:y(()=>e[286]||(e[286]=[U("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:dl},{default:y(()=>e[287]||(e[287]=[U("保存")])),_:1})])])):(K(),Y("div",Wv,[r("p",Hv,ae(Ge.beforeStartText),1),p(x,{type:"text",class:"edit-desc-btn",onClick:ll},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:1})]))])]),r("div",qv,[r("div",Zv,[e[291]||(e[291]=r("span",{class:"setting-name"},"开始后提醒",-1)),uo.value?(K(),Y("div",tp,[p(N,{modelValue:Rn.value,"onUpdate:modelValue":e[73]||(e[73]=g=>Rn.value=g),type:"textarea",rows:"5",placeholder:"请输入开始后提醒内容",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),r("div",np,[p(x,{size:"small",onClick:cl},{default:y(()=>e[289]||(e[289]=[U("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:fl},{default:y(()=>e[290]||(e[290]=[U("保存")])),_:1})])])):(K(),Y("div",_v,[r("p",ep,ae(Ge.afterStartText),1),p(x,{type:"text",class:"edit-desc-btn",onClick:ul},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:1})]))])]),r("div",op,[r("div",ip,[e[294]||(e[294]=r("span",{class:"setting-name"},"结束语",-1)),co.value?(K(),Y("div",lp,[p(N,{modelValue:Un.value,"onUpdate:modelValue":e[74]||(e[74]=g=>Un.value=g),type:"textarea",rows:"5",placeholder:"请输入免责声明内容",maxlength:"200","show-word-limit":""},null,8,["modelValue"]),r("div",sp,[p(x,{size:"small",onClick:pl},{default:y(()=>e[292]||(e[292]=[U("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:ml},{default:y(()=>e[293]||(e[293]=[U("保存")])),_:1})])])):(K(),Y("div",ap,[r("p",rp,ae(Ge.disclaimerText),1),p(x,{type:"text",class:"edit-desc-btn",onClick:vl},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(ft))]),_:1})]),_:1})]))])])])])]),_:1},8,["modelValue"]),p(At,{title:"选择题目",modelValue:E.value,"onUpdate:modelValue":e[80]||(e[80]=g=>E.value=g),width:"70%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[r("span",gp,[p(x,{onClick:te},{default:y(()=>e[298]||(e[298]=[U("预览已选")])),_:1}),p(x,{type:"primary",onClick:T,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[299]||(e[299]=[U("确定")])),_:1})])]),default:y(()=>[r("div",up,[p(qt,{class:"document-el-row"},{default:y(()=>[p($t,{span:3},{default:y(()=>[r("div",cp,[p(xs,{ref_key:"treeListRef",ref:Al,treeData:oa.value,onTreeClick:Ol,onUpdateDocument:Tl,onDeleteDocument:Dl},null,8,["treeData"])])]),_:1}),p($t,{span:21},{default:y(()=>[r("div",fp,[r("div",vp,[p(N,{modelValue:ro.value,"onUpdate:modelValue":e[76]||(e[76]=g=>ro.value=g),placeholder:"请输入关键词搜索题目",clearable:"",onClear:jo,onKeyup:Xl(jo,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:y(()=>[p(x,{onClick:jo},{default:y(()=>[p(D,null,{default:y(()=>[p(fe(rs))]),_:1})]),_:1})]),_:1},8,["modelValue"]),p(ie,{modelValue:lt.question_form,"onUpdate:modelValue":e[77]||(e[77]=g=>lt.question_form=g),placeholder:"题目类型",clearable:"",onChange:jo,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",pp,[p(ra,{data:rt.value,style:{width:"100%"},onSelectionChange:qr},{default:y(()=>[p(Qo,{type:"selection",width:"55"}),p(Qo,{prop:"question",label:"题目标题"}),p(Qo,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),r("div",mp,[p(Bl,{"current-page":lt.page,"onUpdate:currentPage":e[78]||(e[78]=g=>lt.page=g),"page-size":lt.pageSize,"onUpdate:pageSize":e[79]||(e[79]=g=>lt.pageSize=g),total:Qt.value,"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next",onSizeChange:I,onCurrentChange:O},null,8,["current-page","page-size","total"])])])]),_:1})]),_:1})])]),_:1},8,["modelValue"]),p(At,{title:fo.value>=0?"编辑候选人提问环节":"配置候选人提问环节",modelValue:Kn.value,"onUpdate:modelValue":e[84]||(e[84]=g=>Kn.value=g),width:"600px","close-on-click-modal":!1,class:"candidate-questions-dialog"},{footer:y(()=>[r("span",Ep,[p(x,{onClick:Ie},{default:y(()=>e[306]||(e[306]=[U("取消")])),_:1}),p(x,{type:"primary",onClick:Se},{default:y(()=>e[307]||(e[307]=[U("确认")])),_:1})])]),default:y(()=>[r("div",hp,[r("div",yp,[e[300]||(e[300]=r("div",{class:"form-label"},[U(" 环节名称"),r("span",{class:"required"},"*")],-1)),p(N,{modelValue:Ue.title,"onUpdate:modelValue":e[81]||(e[81]=g=>Ue.title=g),placeholder:"请输入环节名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),r("div",bp,[e[301]||(e[301]=r("div",{class:"form-label"},[U(" 提问时长"),r("span",{class:"required"},"*")],-1)),p(st,{modelValue:Ue.duration,"onUpdate:modelValue":e[82]||(e[82]=g=>Ue.duration=g),min:1,max:30,step:1,"controls-position":"right",style:{width:"200px"}},null,8,["modelValue"]),e[302]||(e[302]=r("span",{class:"form-unit"},"分钟",-1)),e[303]||(e[303]=r("div",{class:"form-tip"},"候选人可用于提问的总时长",-1))]),r("div",Sp,[e[304]||(e[304]=r("div",{class:"form-label"},"环节描述",-1)),p(N,{modelValue:Ue.description,"onUpdate:modelValue":e[83]||(e[83]=g=>Ue.description=g),type:"textarea",rows:"3",placeholder:"请输入环节描述",maxlength:"200"},null,8,["modelValue"]),e[305]||(e[305]=r("div",{class:"form-tip"},"向候选人说明此环节的目的和意义",-1))])])]),_:1},8,["title","modelValue"]),p(At,{modelValue:Lo.value,"onUpdate:modelValue":e[88]||(e[88]=g=>Lo.value=g),title:"肢体检测配置",width:"600px","close-on-click-modal":!1},{footer:y(()=>[r("span",xp,[p(x,{onClick:Cl,size:"small"},{default:y(()=>e[312]||(e[312]=[U("取消")])),_:1}),p(x,{type:"primary",onClick:wl,size:"small"},{default:y(()=>e[313]||(e[313]=[U("确定")])),_:1})])]),default:y(()=>[p(jl,{model:ln.value,"label-width":"120px"},{default:y(()=>[p(fi,{label:"检测时长"},{default:y(()=>[p(st,{modelValue:ln.value.duration,"onUpdate:modelValue":e[85]||(e[85]=g=>ln.value.duration=g),min:1,max:30,step:1,"controls-position":"right"},null,8,["modelValue"]),e[308]||(e[308]=U(" 分钟 "))]),_:1}),p(fi,{label:"检测项目"},{default:y(()=>[p(Fl,{modelValue:ln.value.detectionItems,"onUpdate:modelValue":e[86]||(e[86]=g=>ln.value.detectionItems=g)},{default:y(()=>[p(Xt,{label:"face"},{default:y(()=>e[309]||(e[309]=[U("面部表情")])),_:1}),p(Xt,{label:"pose"},{default:y(()=>e[310]||(e[310]=[U("肢体姿态")])),_:1}),p(Xt,{label:"gesture"},{default:y(()=>e[311]||(e[311]=[U("手势动作")])),_:1})]),_:1},8,["modelValue"])]),_:1}),p(fi,{label:"提示文本"},{default:y(()=>[p(N,{modelValue:ln.value.promptText,"onUpdate:modelValue":e[87]||(e[87]=g=>ln.value.promptText=g),type:"textarea",rows:3,placeholder:"请输入提示文本"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),p(At,{modelValue:k.value,"onUpdate:modelValue":e[90]||(e[90]=g=>k.value=g),title:"职位问题预览",width:"60%","close-on-click-modal":!1},{default:y(()=>[r("div",Ip,[r("div",Cp,"已绑定的问题("+ae(_.value.length)+"):",1),p(ra,{data:_.value,style:{width:"100%"}},{default:y(()=>[p(Qo,{prop:"question",label:"问题内容","min-width":"300","show-overflow-tooltip":""})]),_:1},8,["data"])]),r("div",wp,[p(x,{type:"primary",onClick:e[89]||(e[89]=g=>k.value=!1)},{default:y(()=>e[314]||(e[314]=[U("关闭")])),_:1})])]),_:1},8,["modelValue"])])}}}),Bp=Is(Ap,[["__scopeId","data-v-9a9eb33c"]]);export{Bp as default};