index.KzcICEhn.js 210 KB

12345678910
  1. import{a as ll,aH as sl,aB as dl,r as z,_ as nt,f as ri,q as ul,W as cl,w as fl,aj as Le,at as vl,c as H,o as k,b as l,S as f,K as b,P as B,Q as ae,u as Se,M as ke,J as Ae,R as Xe,a9 as Ze,L as Bo,G as xt,T as $i,Y as pl,F as ml,a7 as Ji}from"./vue.D1BjjNmv.js";import{b as gl,U as Ot}from"./api.B3uJjjz3.js";import{r as ot,a2 as hl,g as yl,a3 as bl,c as Sl,E as R,V as vt,T as pn,a4 as Wi,X as Hi,a5 as li,a6 as El,a7 as Yi,Y as Xi}from"./index.BrcdRtnk.js";import{g as xl}from"./pcaData.5HEg6BqW.js";import Il from"./QuestionBankForm.Wi9CUe2S.js";import{A as Cl}from"./api.C5b6doNP.js";import{_ as wl}from"./_plugin-vue_export-helper.DlAUqK2U.js";import"./QuestionOptionsEditor.CfqO4x61.js";import"./BlankAnswerEditor.C4I2efc6.js";const Zi="/assets/sheng.BKW1Im68.png",Al="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAImCAQAAAAGHG0zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFyGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNS0wNi0xM1QxNzowMToyMCswODowMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNDE0NGJjZC05NWJlLTMxNGMtODlmZC01MTk0MTdmODc5OWEiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplYzMyM2E1Zi04ZWZiLTgxNGUtYWMzOS05Nzc3ODNiNDUzYjQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIHN0RXZ0OndoZW49IjIwMjUtMDYtMTNUMTc6MDE6MjArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4wIChXaW5kb3dzKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MzQxNDRiY2QtOTViZS0zMTRjLTg5ZmQtNTE5NDE3Zjg3OTlhIiBzdEV2dDp3aGVuPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JOr+gQAABzlJREFUeJzt1rENwzAQBEHTUOHsnEoVKhDwG8xUcNHi1vkBdPynBwA8iRKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHJND3hrn+kFULXX9IIveUpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEp60wvAHjwlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSDlmh7w1j7TC6Bqr+kFX/KUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUtaZXgDw4CkBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHIDp74LS5/6zzUAAAAASUVORK5CYII=";function Ol(r){return ot({url:"/api/system/competency/list",method:"get",params:{...r,tenant_id:1}})}function zt(r){return ot({url:"/api/system/interview_question/list",method:"get",params:{...r,tenant_id:1}})}function Tl(r){return ot({url:"/api/system/interview_question/ai_generated",method:"post",data:{...r,tenant_id:1},timeout:0})}function Dl(r){return ot({url:"/api/system/interview_question/draft_list",method:"get",params:{...r,tenant_id:1}})}function Pl(r){return ot({url:"/api/system/interview_question/confirm_draft",method:"post",data:{...r,tenant_id:1}})}function Vl(r){return ot({url:"/api/system/digital_human/",method:"get",params:{...r,tenant_id:1}})}function mn(r){return ot({url:"/api/system/job_config/list",method:"post",data:{...r,tenant_id:1}})}function yt(r){return ot({url:`/api/system/job_config/detail/${r.id}`,method:"put",data:{...r,tenant_id:1}})}function Kn(r){return ot({url:`/api/system/job_config/position/detail/${r}`,method:"get"})}function qi(r){return ot({url:"api/system/job/add_question",method:"post",data:{...r,tenant_id:"1"}})}function si(r){return ot({url:"/api/system/digital_human/generate_opening_video",method:"post",data:{...r,tenant_id:"1"},timeout:0})}function _i(r){return ot({url:"/api/system/digital_human/generate_question_videos",method:"post",data:{...r,tenant_id:"1",force_regenerate:!0},timeout:0})}function ea(r){return ot({url:"api/system/job/add_question",method:"post",data:{...r,tenant_id:"1"}})}function di(r){return ot({url:"/api/system/job/batch_delete_questions",method:"post",data:{...r,tenant_id:"1"}})}function Rl(r){return ot({url:"/api/system/interview_question/update",method:"put",data:{...r,tenant_id:"1"}})}function ta(r){return ot({url:"/competency/generate_from_position/",method:"post",data:{...r,tenant_id:"1"},timeout:0})}function Ul(r){return ot({url:"/competency/save_position_tags/",method:"post",data:{...r,tenant_id:"1"}})}function Kl(r){return ot({url:"/api/system/competency/list",method:"get",params:{...r,tenant_id:"1"}})}function Ml(r){return ot({url:"/api/system/job/questions",method:"get",params:{...r,tenant_id:1}})}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 na(r,i){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);i&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),o.push.apply(o,u)}return o}function kt(r){for(var i=1;i<arguments.length;i++){var o=arguments[i]!=null?arguments[i]:{};i%2?na(Object(o),!0).forEach(function(u){Bl(r,u,o[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):na(Object(o)).forEach(function(u){Object.defineProperty(r,u,Object.getOwnPropertyDescriptor(o,u))})}return r}function zo(r){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?zo=function(i){return typeof i}:zo=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},zo(r)}function Bl(r,i,o){return i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r}function Dt(){return Dt=Object.assign||function(r){for(var i=1;i<arguments.length;i++){var o=arguments[i];for(var u in o)Object.prototype.hasOwnProperty.call(o,u)&&(r[u]=o[u])}return r},Dt.apply(this,arguments)}function jl(r,i){if(r==null)return{};var o={},u=Object.keys(r),n,d;for(d=0;d<u.length;d++)n=u[d],!(i.indexOf(n)>=0)&&(o[n]=r[n]);return o}function kl(r,i){if(r==null)return{};var o=jl(r,i),u,n;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(r);for(n=0;n<d.length;n++)u=d[n],!(i.indexOf(u)>=0)&&Object.prototype.propertyIsEnumerable.call(r,u)&&(o[u]=r[u])}return o}function Nl(r){return Fl(r)||Ll(r)||Ql(r)||zl()}function Fl(r){if(Array.isArray(r))return Si(r)}function Ll(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function Ql(r,i){if(r){if(typeof r=="string")return Si(r,i);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Si(r,i)}}function Si(r,i){(i==null||i>r.length)&&(i=r.length);for(var o=0,u=new Array(i);o<i;o++)u[o]=r[o];return u}function zl(){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 Gl="1.14.0";function Gt(r){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(r)}var $t=Gt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Io=Gt(/Edge/i),oa=Gt(/firefox/i),yo=Gt(/safari/i)&&!Gt(/chrome/i)&&!Gt(/android/i),ga=Gt(/iP(ad|od|hone)/i),$l=Gt(/chrome/i)&&Gt(/android/i),ha={capture:!1,passive:!1};function Ee(r,i,o){r.addEventListener(i,o,!$t&&ha)}function ge(r,i,o){r.removeEventListener(i,o,!$t&&ha)}function Ho(r,i){if(i){if(i[0]===">"&&(i=i.substring(1)),r)try{if(r.matches)return r.matches(i);if(r.msMatchesSelector)return r.msMatchesSelector(i);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(i)}catch{return!1}return!1}}function Jl(r){return r.host&&r!==document&&r.host.nodeType?r.host:r.parentNode}function Ut(r,i,o,u){if(r){o=o||document;do{if(i!=null&&(i[0]===">"?r.parentNode===o&&Ho(r,i):Ho(r,i))||u&&r===o)return r;if(r===o)break}while(r=Jl(r))}return null}var ia=/\s+/g;function Qe(r,i,o){if(r&&i)if(r.classList)r.classList[o?"add":"remove"](i);else{var u=(" "+r.className+" ").replace(ia," ").replace(" "+i+" "," ");r.className=(u+(o?" "+i:"")).replace(ia," ")}}function ne(r,i,o){var u=r&&r.style;if(u){if(o===void 0)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(r,""):r.currentStyle&&(o=r.currentStyle),i===void 0?o:o[i];!(i in u)&&i.indexOf("webkit")===-1&&(i="-webkit-"+i),u[i]=o+(typeof o=="string"?"":"px")}}function bn(r,i){var o="";if(typeof r=="string")o=r;else do{var u=ne(r,"transform");u&&u!=="none"&&(o=u+" "+o)}while(!i&&(r=r.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(o)}function ya(r,i,o){if(r){var u=r.getElementsByTagName(i),n=0,d=u.length;if(o)for(;n<d;n++)o(u[n],n);return u}return[]}function jt(){var r=document.scrollingElement;return r||document.documentElement}function Fe(r,i,o,u,n){if(!(!r.getBoundingClientRect&&r!==window)){var d,t,a,s,c,g,m;if(r!==window&&r.parentNode&&r!==jt()?(d=r.getBoundingClientRect(),t=d.top,a=d.left,s=d.bottom,c=d.right,g=d.height,m=d.width):(t=0,a=0,s=window.innerHeight,c=window.innerWidth,g=window.innerHeight,m=window.innerWidth),(i||o)&&r!==window&&(n=n||r.parentNode,!$t))do if(n&&n.getBoundingClientRect&&(ne(n,"transform")!=="none"||o&&ne(n,"position")!=="static")){var h=n.getBoundingClientRect();t-=h.top+parseInt(ne(n,"border-top-width")),a-=h.left+parseInt(ne(n,"border-left-width")),s=t+d.height,c=a+d.width;break}while(n=n.parentNode);if(u&&r!==window){var y=bn(n||r),S=y&&y.a,E=y&&y.d;y&&(t/=E,a/=S,m/=S,g/=E,s=t+g,c=a+m)}return{top:t,left:a,bottom:s,right:c,width:m,height:g}}}function aa(r,i,o){for(var u=nn(r,!0),n=Fe(r)[i];u;){var d=Fe(u)[o],t=void 0;if(t=n>=d,!t)return u;if(u===jt())break;u=nn(u,!1)}return!1}function Fn(r,i,o,u){for(var n=0,d=0,t=r.children;d<t.length;){if(t[d].style.display!=="none"&&t[d]!==ue.ghost&&(u||t[d]!==ue.dragged)&&Ut(t[d],o.draggable,r,!1)){if(n===i)return t[d];n++}d++}return null}function wi(r,i){for(var o=r.lastElementChild;o&&(o===ue.ghost||ne(o,"display")==="none"||i&&!Ho(o,i));)o=o.previousElementSibling;return o||null}function Je(r,i){var o=0;if(!r||!r.parentNode)return-1;for(;r=r.previousElementSibling;)r.nodeName.toUpperCase()!=="TEMPLATE"&&r!==ue.clone&&(!i||Ho(r,i))&&o++;return o}function ra(r){var i=0,o=0,u=jt();if(r)do{var n=bn(r),d=n.a,t=n.d;i+=r.scrollLeft*d,o+=r.scrollTop*t}while(r!==u&&(r=r.parentNode));return[i,o]}function Wl(r,i){for(var o in r)if(r.hasOwnProperty(o)){for(var u in i)if(i.hasOwnProperty(u)&&i[u]===r[o][u])return Number(o)}return-1}function nn(r,i){if(!r||!r.getBoundingClientRect)return jt();var o=r,u=!1;do if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var n=ne(o);if(o.clientWidth<o.scrollWidth&&(n.overflowX=="auto"||n.overflowX=="scroll")||o.clientHeight<o.scrollHeight&&(n.overflowY=="auto"||n.overflowY=="scroll")){if(!o.getBoundingClientRect||o===document.body)return jt();if(u||i)return o;u=!0}}while(o=o.parentNode);return jt()}function Hl(r,i){if(r&&i)for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o]);return r}function ui(r,i){return Math.round(r.top)===Math.round(i.top)&&Math.round(r.left)===Math.round(i.left)&&Math.round(r.height)===Math.round(i.height)&&Math.round(r.width)===Math.round(i.width)}var bo;function ba(r,i){return function(){if(!bo){var o=arguments,u=this;o.length===1?r.call(u,o[0]):r.apply(u,o),bo=setTimeout(function(){bo=void 0},i)}}}function Yl(){clearTimeout(bo),bo=void 0}function Sa(r,i,o){r.scrollLeft+=i,r.scrollTop+=o}function Ai(r){var i=window.Polymer,o=window.jQuery||window.Zepto;return i&&i.dom?i.dom(r).cloneNode(!0):o?o(r).clone(!0)[0]:r.cloneNode(!0)}function la(r,i){ne(r,"position","absolute"),ne(r,"top",i.top),ne(r,"left",i.left),ne(r,"width",i.width),ne(r,"height",i.height)}function ci(r){ne(r,"position",""),ne(r,"top",""),ne(r,"left",""),ne(r,"width",""),ne(r,"height","")}var ut="Sortable"+new Date().getTime();function Xl(){var r=[],i;return{captureAnimationState:function(){if(r=[],!!this.options.animation){var u=[].slice.call(this.el.children);u.forEach(function(n){if(!(ne(n,"display")==="none"||n===ue.ghost)){r.push({target:n,rect:Fe(n)});var d=kt({},r[r.length-1].rect);if(n.thisAnimationDuration){var t=bn(n,!0);t&&(d.top-=t.f,d.left-=t.e)}n.fromRect=d}})}},addAnimationState:function(u){r.push(u)},removeAnimationState:function(u){r.splice(Wl(r,{target:u}),1)},animateAll:function(u){var n=this;if(!this.options.animation){clearTimeout(i),typeof u=="function"&&u();return}var d=!1,t=0;r.forEach(function(a){var s=0,c=a.target,g=c.fromRect,m=Fe(c),h=c.prevFromRect,y=c.prevToRect,S=a.rect,E=bn(c,!0);E&&(m.top-=E.f,m.left-=E.e),c.toRect=m,c.thisAnimationDuration&&ui(h,m)&&!ui(g,m)&&(S.top-m.top)/(S.left-m.left)===(g.top-m.top)/(g.left-m.left)&&(s=ql(S,h,y,n.options)),ui(m,g)||(c.prevFromRect=g,c.prevToRect=m,s||(s=n.options.animation),n.animate(c,S,m,s)),s&&(d=!0,t=Math.max(t,s),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},s),c.thisAnimationDuration=s)}),clearTimeout(i),d?i=setTimeout(function(){typeof u=="function"&&u()},t):typeof u=="function"&&u(),r=[]},animate:function(u,n,d,t){if(t){ne(u,"transition",""),ne(u,"transform","");var a=bn(this.el),s=a&&a.a,c=a&&a.d,g=(n.left-d.left)/(s||1),m=(n.top-d.top)/(c||1);u.animatingX=!!g,u.animatingY=!!m,ne(u,"transform","translate3d("+g+"px,"+m+"px,0)"),this.forRepaintDummy=Zl(u),ne(u,"transition","transform "+t+"ms"+(this.options.easing?" "+this.options.easing:"")),ne(u,"transform","translate3d(0,0,0)"),typeof u.animated=="number"&&clearTimeout(u.animated),u.animated=setTimeout(function(){ne(u,"transition",""),ne(u,"transform",""),u.animated=!1,u.animatingX=!1,u.animatingY=!1},t)}}}}function Zl(r){return r.offsetWidth}function ql(r,i,o,u){return Math.sqrt(Math.pow(i.top-r.top,2)+Math.pow(i.left-r.left,2))/Math.sqrt(Math.pow(i.top-o.top,2)+Math.pow(i.left-o.left,2))*u.animation}var Mn=[],fi={initializeByDefault:!0},Co={mount:function(i){for(var o in fi)fi.hasOwnProperty(o)&&!(o in i)&&(i[o]=fi[o]);Mn.forEach(function(u){if(u.pluginName===i.pluginName)throw"Sortable: Cannot mount plugin ".concat(i.pluginName," more than once")}),Mn.push(i)},pluginEvent:function(i,o,u){var n=this;this.eventCanceled=!1,u.cancel=function(){n.eventCanceled=!0};var d=i+"Global";Mn.forEach(function(t){o[t.pluginName]&&(o[t.pluginName][d]&&o[t.pluginName][d](kt({sortable:o},u)),o.options[t.pluginName]&&o[t.pluginName][i]&&o[t.pluginName][i](kt({sortable:o},u)))})},initializePlugins:function(i,o,u,n){Mn.forEach(function(a){var s=a.pluginName;if(!(!i.options[s]&&!a.initializeByDefault)){var c=new a(i,o,i.options);c.sortable=i,c.options=i.options,i[s]=c,Dt(u,c.defaults)}});for(var d in i.options)if(i.options.hasOwnProperty(d)){var t=this.modifyOption(i,d,i.options[d]);typeof t<"u"&&(i.options[d]=t)}},getEventProperties:function(i,o){var u={};return Mn.forEach(function(n){typeof n.eventProperties=="function"&&Dt(u,n.eventProperties.call(o[n.pluginName],i))}),u},modifyOption:function(i,o,u){var n;return Mn.forEach(function(d){i[d.pluginName]&&d.optionListeners&&typeof d.optionListeners[o]=="function"&&(n=d.optionListeners[o].call(i[d.pluginName],u))}),n}};function po(r){var i=r.sortable,o=r.rootEl,u=r.name,n=r.targetEl,d=r.cloneEl,t=r.toEl,a=r.fromEl,s=r.oldIndex,c=r.newIndex,g=r.oldDraggableIndex,m=r.newDraggableIndex,h=r.originalEvent,y=r.putSortable,S=r.extraEventProperties;if(i=i||o&&o[ut],!!i){var E,I=i.options,w="on"+u.charAt(0).toUpperCase()+u.substr(1);window.CustomEvent&&!$t&&!Io?E=new CustomEvent(u,{bubbles:!0,cancelable:!0}):(E=document.createEvent("Event"),E.initEvent(u,!0,!0)),E.to=t||o,E.from=a||o,E.item=n||o,E.clone=d,E.oldIndex=s,E.newIndex=c,E.oldDraggableIndex=g,E.newDraggableIndex=m,E.originalEvent=h,E.pullMode=y?y.lastPutMode:void 0;var C=kt(kt({},S),Co.getEventProperties(u,i));for(var M in C)E[M]=C[M];o&&o.dispatchEvent(E),I[w]&&I[w].call(i,E)}}var _l=["evt"],bt=function(i,o){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=u.evt,d=kl(u,_l);Co.pluginEvent.bind(ue)(i,o,kt({dragEl:G,parentEl:Ge,ghostEl:pe,rootEl:Ne,nextEl:yn,lastDownEl:Go,cloneEl:$e,cloneHidden:tn,dragStarted:mo,putSortable:lt,activeSortable:ue.active,originalEvent:n,oldIndex:Nn,oldDraggableIndex:So,newIndex:Ct,newDraggableIndex:en,hideGhostForTarget:Ca,unhideGhostForTarget:wa,cloneNowHidden:function(){tn=!0},cloneNowShown:function(){tn=!1},dispatchSortableEvent:function(a){pt({sortable:o,name:a,originalEvent:n})}},d))};function pt(r){po(kt({putSortable:lt,cloneEl:$e,targetEl:G,rootEl:Ne,oldIndex:Nn,oldDraggableIndex:So,newIndex:Ct,newDraggableIndex:en},r))}var G,Ge,pe,Ne,yn,Go,$e,tn,Nn,Ct,So,en,jo,lt,kn=!1,Yo=!1,Xo=[],gn,Vt,vi,pi,sa,da,mo,Bn,Eo,xo=!1,ko=!1,$o,dt,mi=[],Ei=!1,Zo=[],_o=typeof document<"u",No=ga,ua=Io||$t?"cssFloat":"float",es=_o&&!$l&&!ga&&"draggable"in document.createElement("div"),Ea=function(){if(_o){if($t)return!1;var r=document.createElement("x");return r.style.cssText="pointer-events:auto",r.style.pointerEvents==="auto"}}(),xa=function(i,o){var u=ne(i),n=parseInt(u.width)-parseInt(u.paddingLeft)-parseInt(u.paddingRight)-parseInt(u.borderLeftWidth)-parseInt(u.borderRightWidth),d=Fn(i,0,o),t=Fn(i,1,o),a=d&&ne(d),s=t&&ne(t),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Fe(d).width,g=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Fe(t).width;if(u.display==="flex")return u.flexDirection==="column"||u.flexDirection==="column-reverse"?"vertical":"horizontal";if(u.display==="grid")return u.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(d&&a.float&&a.float!=="none"){var m=a.float==="left"?"left":"right";return t&&(s.clear==="both"||s.clear===m)?"vertical":"horizontal"}return d&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||c>=n&&u[ua]==="none"||t&&u[ua]==="none"&&c+g>n)?"vertical":"horizontal"},ts=function(i,o,u){var n=u?i.left:i.top,d=u?i.right:i.bottom,t=u?i.width:i.height,a=u?o.left:o.top,s=u?o.right:o.bottom,c=u?o.width:o.height;return n===a||d===s||n+t/2===a+c/2},ns=function(i,o){var u;return Xo.some(function(n){var d=n[ut].options.emptyInsertThreshold;if(!(!d||wi(n))){var t=Fe(n),a=i>=t.left-d&&i<=t.right+d,s=o>=t.top-d&&o<=t.bottom+d;if(a&&s)return u=n}}),u},Ia=function(i){function o(d,t){return function(a,s,c,g){var m=a.options.group.name&&s.options.group.name&&a.options.group.name===s.options.group.name;if(d==null&&(t||m))return!0;if(d==null||d===!1)return!1;if(t&&d==="clone")return d;if(typeof d=="function")return o(d(a,s,c,g),t)(a,s,c,g);var h=(t?a:s).options.group.name;return d===!0||typeof d=="string"&&d===h||d.join&&d.indexOf(h)>-1}}var u={},n=i.group;(!n||zo(n)!="object")&&(n={name:n}),u.name=n.name,u.checkPull=o(n.pull,!0),u.checkPut=o(n.put),u.revertClone=n.revertClone,i.group=u},Ca=function(){!Ea&&pe&&ne(pe,"display","none")},wa=function(){!Ea&&pe&&ne(pe,"display","")};_o&&document.addEventListener("click",function(r){if(Yo)return r.preventDefault(),r.stopPropagation&&r.stopPropagation(),r.stopImmediatePropagation&&r.stopImmediatePropagation(),Yo=!1,!1},!0);var hn=function(i){if(G){i=i.touches?i.touches[0]:i;var o=ns(i.clientX,i.clientY);if(o){var u={};for(var n in i)i.hasOwnProperty(n)&&(u[n]=i[n]);u.target=u.rootEl=o,u.preventDefault=void 0,u.stopPropagation=void 0,o[ut]._onDragOver(u)}}},os=function(i){G&&G.parentNode[ut]._isOutsideThisEl(i.target)};function ue(r,i){if(!(r&&r.nodeType&&r.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(r));this.el=r,this.options=i=Dt({},i),r[ut]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(r.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return xa(r,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,a){t.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:ue.supportPointer!==!1&&"PointerEvent"in window&&!yo,emptyInsertThreshold:5};Co.initializePlugins(this,r,o);for(var u in o)!(u in i)&&(i[u]=o[u]);Ia(i);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=i.forceFallback?!1:es,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?Ee(r,"pointerdown",this._onTapStart):(Ee(r,"mousedown",this._onTapStart),Ee(r,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ee(r,"dragover",this),Ee(r,"dragenter",this)),Xo.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),Dt(this,Xl())}ue.prototype={constructor:ue,_isOutsideThisEl:function(i){!this.el.contains(i)&&i!==this.el&&(Bn=null)},_getDirection:function(i,o){return typeof this.options.direction=="function"?this.options.direction.call(this,i,o,G):this.options.direction},_onTapStart:function(i){if(i.cancelable){var o=this,u=this.el,n=this.options,d=n.preventOnFilter,t=i.type,a=i.touches&&i.touches[0]||i.pointerType&&i.pointerType==="touch"&&i,s=(a||i).target,c=i.target.shadowRoot&&(i.path&&i.path[0]||i.composedPath&&i.composedPath()[0])||s,g=n.filter;if(cs(u),!G&&!(/mousedown|pointerdown/.test(t)&&i.button!==0||n.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&yo&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=Ut(s,n.draggable,u,!1),!(s&&s.animated)&&Go!==s)){if(Nn=Je(s),So=Je(s,n.draggable),typeof g=="function"){if(g.call(this,i,s,this)){pt({sortable:o,rootEl:c,name:"filter",targetEl:s,toEl:u,fromEl:u}),bt("filter",o,{evt:i}),d&&i.cancelable&&i.preventDefault();return}}else if(g&&(g=g.split(",").some(function(m){if(m=Ut(c,m.trim(),u,!1),m)return pt({sortable:o,rootEl:m,name:"filter",targetEl:s,fromEl:u,toEl:u}),bt("filter",o,{evt:i}),!0}),g)){d&&i.cancelable&&i.preventDefault();return}n.handle&&!Ut(c,n.handle,u,!1)||this._prepareDragStart(i,a,s)}}},_prepareDragStart:function(i,o,u){var n=this,d=n.el,t=n.options,a=d.ownerDocument,s;if(u&&!G&&u.parentNode===d){var c=Fe(u);if(Ne=d,G=u,Ge=G.parentNode,yn=G.nextSibling,Go=u,jo=t.group,ue.dragged=G,gn={target:G,clientX:(o||i).clientX,clientY:(o||i).clientY},sa=gn.clientX-c.left,da=gn.clientY-c.top,this._lastX=(o||i).clientX,this._lastY=(o||i).clientY,G.style["will-change"]="all",s=function(){if(bt("delayEnded",n,{evt:i}),ue.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!oa&&n.nativeDraggable&&(G.draggable=!0),n._triggerDragStart(i,o),pt({sortable:n,name:"choose",originalEvent:i}),Qe(G,t.chosenClass,!0)},t.ignore.split(",").forEach(function(g){ya(G,g.trim(),gi)}),Ee(a,"dragover",hn),Ee(a,"mousemove",hn),Ee(a,"touchmove",hn),Ee(a,"mouseup",n._onDrop),Ee(a,"touchend",n._onDrop),Ee(a,"touchcancel",n._onDrop),oa&&this.nativeDraggable&&(this.options.touchStartThreshold=4,G.draggable=!0),bt("delayStart",this,{evt:i}),t.delay&&(!t.delayOnTouchOnly||o)&&(!this.nativeDraggable||!(Io||$t))){if(ue.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(s,t.delay)}else s()}},_delayedDragTouchMoveHandler:function(i){var o=i.touches?i.touches[0]:i;Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){G&&gi(G),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var i=this.el.ownerDocument;ge(i,"mouseup",this._disableDelayedDrag),ge(i,"touchend",this._disableDelayedDrag),ge(i,"touchcancel",this._disableDelayedDrag),ge(i,"mousemove",this._delayedDragTouchMoveHandler),ge(i,"touchmove",this._delayedDragTouchMoveHandler),ge(i,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(i,o){o=o||i.pointerType=="touch"&&i,!this.nativeDraggable||o?this.options.supportPointer?Ee(document,"pointermove",this._onTouchMove):o?Ee(document,"touchmove",this._onTouchMove):Ee(document,"mousemove",this._onTouchMove):(Ee(G,"dragend",this),Ee(Ne,"dragstart",this._onDragStart));try{document.selection?Jo(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(i,o){if(kn=!1,Ne&&G){bt("dragStarted",this,{evt:o}),this.nativeDraggable&&Ee(document,"dragover",os);var u=this.options;!i&&Qe(G,u.dragClass,!1),Qe(G,u.ghostClass,!0),ue.active=this,i&&this._appendGhost(),pt({sortable:this,name:"start",originalEvent:o})}else this._nulling()},_emulateDragOver:function(){if(Vt){this._lastX=Vt.clientX,this._lastY=Vt.clientY,Ca();for(var i=document.elementFromPoint(Vt.clientX,Vt.clientY),o=i;i&&i.shadowRoot&&(i=i.shadowRoot.elementFromPoint(Vt.clientX,Vt.clientY),i!==o);)o=i;if(G.parentNode[ut]._isOutsideThisEl(i),o)do{if(o[ut]){var u=void 0;if(u=o[ut]._onDragOver({clientX:Vt.clientX,clientY:Vt.clientY,target:i,rootEl:o}),u&&!this.options.dragoverBubble)break}i=o}while(o=o.parentNode);wa()}},_onTouchMove:function(i){if(gn){var o=this.options,u=o.fallbackTolerance,n=o.fallbackOffset,d=i.touches?i.touches[0]:i,t=pe&&bn(pe,!0),a=pe&&t&&t.a,s=pe&&t&&t.d,c=No&&dt&&ra(dt),g=(d.clientX-gn.clientX+n.x)/(a||1)+(c?c[0]-mi[0]:0)/(a||1),m=(d.clientY-gn.clientY+n.y)/(s||1)+(c?c[1]-mi[1]:0)/(s||1);if(!ue.active&&!kn){if(u&&Math.max(Math.abs(d.clientX-this._lastX),Math.abs(d.clientY-this._lastY))<u)return;this._onDragStart(i,!0)}if(pe){t?(t.e+=g-(vi||0),t.f+=m-(pi||0)):t={a:1,b:0,c:0,d:1,e:g,f:m};var h="matrix(".concat(t.a,",").concat(t.b,",").concat(t.c,",").concat(t.d,",").concat(t.e,",").concat(t.f,")");ne(pe,"webkitTransform",h),ne(pe,"mozTransform",h),ne(pe,"msTransform",h),ne(pe,"transform",h),vi=g,pi=m,Vt=d}i.cancelable&&i.preventDefault()}},_appendGhost:function(){if(!pe){var i=this.options.fallbackOnBody?document.body:Ne,o=Fe(G,!0,No,!0,i),u=this.options;if(No){for(dt=i;ne(dt,"position")==="static"&&ne(dt,"transform")==="none"&&dt!==document;)dt=dt.parentNode;dt!==document.body&&dt!==document.documentElement?(dt===document&&(dt=jt()),o.top+=dt.scrollTop,o.left+=dt.scrollLeft):dt=jt(),mi=ra(dt)}pe=G.cloneNode(!0),Qe(pe,u.ghostClass,!1),Qe(pe,u.fallbackClass,!0),Qe(pe,u.dragClass,!0),ne(pe,"transition",""),ne(pe,"transform",""),ne(pe,"box-sizing","border-box"),ne(pe,"margin",0),ne(pe,"top",o.top),ne(pe,"left",o.left),ne(pe,"width",o.width),ne(pe,"height",o.height),ne(pe,"opacity","0.8"),ne(pe,"position",No?"absolute":"fixed"),ne(pe,"zIndex","100000"),ne(pe,"pointerEvents","none"),ue.ghost=pe,i.appendChild(pe),ne(pe,"transform-origin",sa/parseInt(pe.style.width)*100+"% "+da/parseInt(pe.style.height)*100+"%")}},_onDragStart:function(i,o){var u=this,n=i.dataTransfer,d=u.options;if(bt("dragStart",this,{evt:i}),ue.eventCanceled){this._onDrop();return}bt("setupClone",this),ue.eventCanceled||($e=Ai(G),$e.draggable=!1,$e.style["will-change"]="",this._hideClone(),Qe($e,this.options.chosenClass,!1),ue.clone=$e),u.cloneId=Jo(function(){bt("clone",u),!ue.eventCanceled&&(u.options.removeCloneOnHide||Ne.insertBefore($e,G),u._hideClone(),pt({sortable:u,name:"clone"}))}),!o&&Qe(G,d.dragClass,!0),o?(Yo=!0,u._loopId=setInterval(u._emulateDragOver,50)):(ge(document,"mouseup",u._onDrop),ge(document,"touchend",u._onDrop),ge(document,"touchcancel",u._onDrop),n&&(n.effectAllowed="move",d.setData&&d.setData.call(u,n,G)),Ee(document,"drop",u),ne(G,"transform","translateZ(0)")),kn=!0,u._dragStartId=Jo(u._dragStarted.bind(u,o,i)),Ee(document,"selectstart",u),mo=!0,yo&&ne(document.body,"user-select","none")},_onDragOver:function(i){var o=this.el,u=i.target,n,d,t,a=this.options,s=a.group,c=ue.active,g=jo===s,m=a.sort,h=lt||c,y,S=this,E=!1;if(Ei)return;function I(xe,Oe){bt(xe,S,kt({evt:i,isOwner:g,axis:y?"vertical":"horizontal",revert:t,dragRect:n,targetRect:d,canSort:m,fromSortable:h,target:u,completed:C,onMove:function(Ke,we){return Fo(Ne,o,G,n,Ke,Fe(Ke),i,we)},changed:M},Oe))}function w(){I("dragOverAnimationCapture"),S.captureAnimationState(),S!==h&&h.captureAnimationState()}function C(xe){return I("dragOverCompleted",{insertion:xe}),xe&&(g?c._hideClone():c._showClone(S),S!==h&&(Qe(G,lt?lt.options.ghostClass:c.options.ghostClass,!1),Qe(G,a.ghostClass,!0)),lt!==S&&S!==ue.active?lt=S:S===ue.active&&lt&&(lt=null),h===S&&(S._ignoreWhileAnimating=u),S.animateAll(function(){I("dragOverAnimationComplete"),S._ignoreWhileAnimating=null}),S!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(u===G&&!G.animated||u===o&&!u.animated)&&(Bn=null),!a.dragoverBubble&&!i.rootEl&&u!==document&&(G.parentNode[ut]._isOutsideThisEl(i.target),!xe&&hn(i)),!a.dragoverBubble&&i.stopPropagation&&i.stopPropagation(),E=!0}function M(){Ct=Je(G),en=Je(G,a.draggable),pt({sortable:S,name:"change",toEl:o,newIndex:Ct,newDraggableIndex:en,originalEvent:i})}if(i.preventDefault!==void 0&&i.cancelable&&i.preventDefault(),u=Ut(u,a.draggable,o,!0),I("dragOver"),ue.eventCanceled)return E;if(G.contains(i.target)||u.animated&&u.animatingX&&u.animatingY||S._ignoreWhileAnimating===u)return C(!1);if(Yo=!1,c&&!a.disabled&&(g?m||(t=Ge!==Ne):lt===this||(this.lastPutMode=jo.checkPull(this,c,G,i))&&s.checkPut(this,c,G,i))){if(y=this._getDirection(i,u)==="vertical",n=Fe(G),I("dragOverValid"),ue.eventCanceled)return E;if(t)return Ge=Ne,w(),this._hideClone(),I("revert"),ue.eventCanceled||(yn?Ne.insertBefore(G,yn):Ne.appendChild(G)),C(!0);var V=wi(o,a.draggable);if(!V||ls(i,y,this)&&!V.animated){if(V===G)return C(!1);if(V&&o===i.target&&(u=V),u&&(d=Fe(u)),Fo(Ne,o,G,n,u,d,i,!!u)!==!1)return w(),o.appendChild(G),Ge=o,M(),C(!0)}else if(V&&rs(i,y,this)){var j=Fn(o,0,a,!0);if(j===G)return C(!1);if(u=j,d=Fe(u),Fo(Ne,o,G,n,u,d,i,!1)!==!1)return w(),o.insertBefore(G,j),Ge=o,M(),C(!0)}else if(u.parentNode===o){d=Fe(u);var D=0,Y,ee=G.parentNode!==o,K=!ts(G.animated&&G.toRect||n,u.animated&&u.toRect||d,y),$=y?"top":"left",X=aa(u,"top","top")||aa(G,"top","top"),se=X?X.scrollTop:void 0;Bn!==u&&(Y=d[$],xo=!1,ko=!K&&a.invertSwap||ee),D=ss(i,u,d,y,K?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,ko,Bn===u);var T;if(D!==0){var J=Je(G);do J-=D,T=Ge.children[J];while(T&&(ne(T,"display")==="none"||T===pe))}if(D===0||T===u)return C(!1);Bn=u,Eo=D;var re=u.nextElementSibling,W=!1;W=D===1;var oe=Fo(Ne,o,G,n,u,d,i,W);if(oe!==!1)return(oe===1||oe===-1)&&(W=oe===1),Ei=!0,setTimeout(as,30),w(),W&&!re?o.appendChild(G):u.parentNode.insertBefore(G,W?re:u),X&&Sa(X,0,se-X.scrollTop),Ge=G.parentNode,Y!==void 0&&!ko&&($o=Math.abs(Y-Fe(u)[$])),M(),C(!0)}if(o.contains(G))return C(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){ge(document,"mousemove",this._onTouchMove),ge(document,"touchmove",this._onTouchMove),ge(document,"pointermove",this._onTouchMove),ge(document,"dragover",hn),ge(document,"mousemove",hn),ge(document,"touchmove",hn)},_offUpEvents:function(){var i=this.el.ownerDocument;ge(i,"mouseup",this._onDrop),ge(i,"touchend",this._onDrop),ge(i,"pointerup",this._onDrop),ge(i,"touchcancel",this._onDrop),ge(document,"selectstart",this)},_onDrop:function(i){var o=this.el,u=this.options;if(Ct=Je(G),en=Je(G,u.draggable),bt("drop",this,{evt:i}),Ge=G&&G.parentNode,Ct=Je(G),en=Je(G,u.draggable),ue.eventCanceled){this._nulling();return}kn=!1,ko=!1,xo=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),xi(this.cloneId),xi(this._dragStartId),this.nativeDraggable&&(ge(document,"drop",this),ge(o,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),yo&&ne(document.body,"user-select",""),ne(G,"transform",""),i&&(mo&&(i.cancelable&&i.preventDefault(),!u.dropBubble&&i.stopPropagation()),pe&&pe.parentNode&&pe.parentNode.removeChild(pe),(Ne===Ge||lt&&lt.lastPutMode!=="clone")&&$e&&$e.parentNode&&$e.parentNode.removeChild($e),G&&(this.nativeDraggable&&ge(G,"dragend",this),gi(G),G.style["will-change"]="",mo&&!kn&&Qe(G,lt?lt.options.ghostClass:this.options.ghostClass,!1),Qe(G,this.options.chosenClass,!1),pt({sortable:this,name:"unchoose",toEl:Ge,newIndex:null,newDraggableIndex:null,originalEvent:i}),Ne!==Ge?(Ct>=0&&(pt({rootEl:Ge,name:"add",toEl:Ge,fromEl:Ne,originalEvent:i}),pt({sortable:this,name:"remove",toEl:Ge,originalEvent:i}),pt({rootEl:Ge,name:"sort",toEl:Ge,fromEl:Ne,originalEvent:i}),pt({sortable:this,name:"sort",toEl:Ge,originalEvent:i})),lt&&lt.save()):Ct!==Nn&&Ct>=0&&(pt({sortable:this,name:"update",toEl:Ge,originalEvent:i}),pt({sortable:this,name:"sort",toEl:Ge,originalEvent:i})),ue.active&&((Ct==null||Ct===-1)&&(Ct=Nn,en=So),pt({sortable:this,name:"end",toEl:Ge,originalEvent:i}),this.save()))),this._nulling()},_nulling:function(){bt("nulling",this),Ne=G=Ge=pe=yn=$e=Go=tn=gn=Vt=mo=Ct=en=Nn=So=Bn=Eo=lt=jo=ue.dragged=ue.ghost=ue.clone=ue.active=null,Zo.forEach(function(i){i.checked=!0}),Zo.length=vi=pi=0},handleEvent:function(i){switch(i.type){case"drop":case"dragend":this._onDrop(i);break;case"dragenter":case"dragover":G&&(this._onDragOver(i),is(i));break;case"selectstart":i.preventDefault();break}},toArray:function(){for(var i=[],o,u=this.el.children,n=0,d=u.length,t=this.options;n<d;n++)o=u[n],Ut(o,t.draggable,this.el,!1)&&i.push(o.getAttribute(t.dataIdAttr)||us(o));return i},sort:function(i,o){var u={},n=this.el;this.toArray().forEach(function(d,t){var a=n.children[t];Ut(a,this.options.draggable,n,!1)&&(u[d]=a)},this),o&&this.captureAnimationState(),i.forEach(function(d){u[d]&&(n.removeChild(u[d]),n.appendChild(u[d]))}),o&&this.animateAll()},save:function(){var i=this.options.store;i&&i.set&&i.set(this)},closest:function(i,o){return Ut(i,o||this.options.draggable,this.el,!1)},option:function(i,o){var u=this.options;if(o===void 0)return u[i];var n=Co.modifyOption(this,i,o);typeof n<"u"?u[i]=n:u[i]=o,i==="group"&&Ia(u)},destroy:function(){bt("destroy",this);var i=this.el;i[ut]=null,ge(i,"mousedown",this._onTapStart),ge(i,"touchstart",this._onTapStart),ge(i,"pointerdown",this._onTapStart),this.nativeDraggable&&(ge(i,"dragover",this),ge(i,"dragenter",this)),Array.prototype.forEach.call(i.querySelectorAll("[draggable]"),function(o){o.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Xo.splice(Xo.indexOf(this.el),1),this.el=i=null},_hideClone:function(){if(!tn){if(bt("hideClone",this),ue.eventCanceled)return;ne($e,"display","none"),this.options.removeCloneOnHide&&$e.parentNode&&$e.parentNode.removeChild($e),tn=!0}},_showClone:function(i){if(i.lastPutMode!=="clone"){this._hideClone();return}if(tn){if(bt("showClone",this),ue.eventCanceled)return;G.parentNode==Ne&&!this.options.group.revertClone?Ne.insertBefore($e,G):yn?Ne.insertBefore($e,yn):Ne.appendChild($e),this.options.group.revertClone&&this.animate(G,$e),ne($e,"display",""),tn=!1}}};function is(r){r.dataTransfer&&(r.dataTransfer.dropEffect="move"),r.cancelable&&r.preventDefault()}function Fo(r,i,o,u,n,d,t,a){var s,c=r[ut],g=c.options.onMove,m;return window.CustomEvent&&!$t&&!Io?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=i,s.from=r,s.dragged=o,s.draggedRect=u,s.related=n||i,s.relatedRect=d||Fe(i),s.willInsertAfter=a,s.originalEvent=t,r.dispatchEvent(s),g&&(m=g.call(c,s,t)),m}function gi(r){r.draggable=!1}function as(){Ei=!1}function rs(r,i,o){var u=Fe(Fn(o.el,0,o.options,!0)),n=10;return i?r.clientX<u.left-n||r.clientY<u.top&&r.clientX<u.right:r.clientY<u.top-n||r.clientY<u.bottom&&r.clientX<u.left}function ls(r,i,o){var u=Fe(wi(o.el,o.options.draggable)),n=10;return i?r.clientX>u.right+n||r.clientX<=u.right&&r.clientY>u.bottom&&r.clientX>=u.left:r.clientX>u.right&&r.clientY>u.top||r.clientX<=u.right&&r.clientY>u.bottom+n}function ss(r,i,o,u,n,d,t,a){var s=u?r.clientY:r.clientX,c=u?o.height:o.width,g=u?o.top:o.left,m=u?o.bottom:o.right,h=!1;if(!t){if(a&&$o<c*n){if(!xo&&(Eo===1?s>g+c*d/2:s<m-c*d/2)&&(xo=!0),xo)h=!0;else if(Eo===1?s<g+$o:s>m-$o)return-Eo}else if(s>g+c*(1-n)/2&&s<m-c*(1-n)/2)return ds(i)}return h=h||t,h&&(s<g+c*d/2||s>m-c*d/2)?s>g+c/2?1:-1:0}function ds(r){return Je(G)<Je(r)?1:-1}function us(r){for(var i=r.tagName+r.className+r.src+r.href+r.textContent,o=i.length,u=0;o--;)u+=i.charCodeAt(o);return u.toString(36)}function cs(r){Zo.length=0;for(var i=r.getElementsByTagName("input"),o=i.length;o--;){var u=i[o];u.checked&&Zo.push(u)}}function Jo(r){return setTimeout(r,0)}function xi(r){return clearTimeout(r)}_o&&Ee(document,"touchmove",function(r){(ue.active||kn)&&r.cancelable&&r.preventDefault()});ue.utils={on:Ee,off:ge,css:ne,find:ya,is:function(i,o){return!!Ut(i,o,i,!1)},extend:Hl,throttle:ba,closest:Ut,toggleClass:Qe,clone:Ai,index:Je,nextTick:Jo,cancelNextTick:xi,detectDirection:xa,getChild:Fn};ue.get=function(r){return r[ut]};ue.mount=function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];i[0].constructor===Array&&(i=i[0]),i.forEach(function(u){if(!u.prototype||!u.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(u));u.utils&&(ue.utils=kt(kt({},ue.utils),u.utils)),Co.mount(u)})};ue.create=function(r,i){return new ue(r,i)};ue.version=Gl;var qe=[],go,Ii,Ci=!1,hi,yi,qo,ho;function fs(){function r(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this))}return r.prototype={dragStarted:function(o){var u=o.originalEvent;this.sortable.nativeDraggable?Ee(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ee(document,"pointermove",this._handleFallbackAutoScroll):u.touches?Ee(document,"touchmove",this._handleFallbackAutoScroll):Ee(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(o){var u=o.originalEvent;!this.options.dragOverBubble&&!u.rootEl&&this._handleAutoScroll(u)},drop:function(){this.sortable.nativeDraggable?ge(document,"dragover",this._handleAutoScroll):(ge(document,"pointermove",this._handleFallbackAutoScroll),ge(document,"touchmove",this._handleFallbackAutoScroll),ge(document,"mousemove",this._handleFallbackAutoScroll)),ca(),Wo(),Yl()},nulling:function(){qo=Ii=go=Ci=ho=hi=yi=null,qe.length=0},_handleFallbackAutoScroll:function(o){this._handleAutoScroll(o,!0)},_handleAutoScroll:function(o,u){var n=this,d=(o.touches?o.touches[0]:o).clientX,t=(o.touches?o.touches[0]:o).clientY,a=document.elementFromPoint(d,t);if(qo=o,u||this.options.forceAutoScrollFallback||Io||$t||yo){bi(o,this.options,a,u);var s=nn(a,!0);Ci&&(!ho||d!==hi||t!==yi)&&(ho&&ca(),ho=setInterval(function(){var c=nn(document.elementFromPoint(d,t),!0);c!==s&&(s=c,Wo()),bi(o,n.options,c,u)},10),hi=d,yi=t)}else{if(!this.options.bubbleScroll||nn(a,!0)===jt()){Wo();return}bi(o,this.options,nn(a,!1),!1)}}},Dt(r,{pluginName:"scroll",initializeByDefault:!0})}function Wo(){qe.forEach(function(r){clearInterval(r.pid)}),qe=[]}function ca(){clearInterval(ho)}var bi=ba(function(r,i,o,u){if(i.scroll){var n=(r.touches?r.touches[0]:r).clientX,d=(r.touches?r.touches[0]:r).clientY,t=i.scrollSensitivity,a=i.scrollSpeed,s=jt(),c=!1,g;Ii!==o&&(Ii=o,Wo(),go=i.scroll,g=i.scrollFn,go===!0&&(go=nn(o,!0)));var m=0,h=go;do{var y=h,S=Fe(y),E=S.top,I=S.bottom,w=S.left,C=S.right,M=S.width,V=S.height,j=void 0,D=void 0,Y=y.scrollWidth,ee=y.scrollHeight,K=ne(y),$=y.scrollLeft,X=y.scrollTop;y===s?(j=M<Y&&(K.overflowX==="auto"||K.overflowX==="scroll"||K.overflowX==="visible"),D=V<ee&&(K.overflowY==="auto"||K.overflowY==="scroll"||K.overflowY==="visible")):(j=M<Y&&(K.overflowX==="auto"||K.overflowX==="scroll"),D=V<ee&&(K.overflowY==="auto"||K.overflowY==="scroll"));var se=j&&(Math.abs(C-n)<=t&&$+M<Y)-(Math.abs(w-n)<=t&&!!$),T=D&&(Math.abs(I-d)<=t&&X+V<ee)-(Math.abs(E-d)<=t&&!!X);if(!qe[m])for(var J=0;J<=m;J++)qe[J]||(qe[J]={});(qe[m].vx!=se||qe[m].vy!=T||qe[m].el!==y)&&(qe[m].el=y,qe[m].vx=se,qe[m].vy=T,clearInterval(qe[m].pid),(se!=0||T!=0)&&(c=!0,qe[m].pid=setInterval((function(){u&&this.layer===0&&ue.active._onTouchMove(qo);var re=qe[this.layer].vy?qe[this.layer].vy*a:0,W=qe[this.layer].vx?qe[this.layer].vx*a:0;typeof g=="function"&&g.call(ue.dragged.parentNode[ut],W,re,r,qo,qe[this.layer].el)!=="continue"||Sa(qe[this.layer].el,W,re)}).bind({layer:m}),24))),m++}while(i.bubbleScroll&&h!==s&&(h=nn(h,!1)));Ci=c}},30),Aa=function(i){var o=i.originalEvent,u=i.putSortable,n=i.dragEl,d=i.activeSortable,t=i.dispatchSortableEvent,a=i.hideGhostForTarget,s=i.unhideGhostForTarget;if(o){var c=u||d;a();var g=o.changedTouches&&o.changedTouches.length?o.changedTouches[0]:o,m=document.elementFromPoint(g.clientX,g.clientY);s(),c&&!c.el.contains(m)&&(t("spill"),this.onSpill({dragEl:n,putSortable:u}))}};function Oi(){}Oi.prototype={startIndex:null,dragStart:function(i){var o=i.oldDraggableIndex;this.startIndex=o},onSpill:function(i){var o=i.dragEl,u=i.putSortable;this.sortable.captureAnimationState(),u&&u.captureAnimationState();var n=Fn(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(o,n):this.sortable.el.appendChild(o),this.sortable.animateAll(),u&&u.animateAll()},drop:Aa};Dt(Oi,{pluginName:"revertOnSpill"});function Ti(){}Ti.prototype={onSpill:function(i){var o=i.dragEl,u=i.putSortable,n=u||this.sortable;n.captureAnimationState(),o.parentNode&&o.parentNode.removeChild(o),n.animateAll()},drop:Aa};Dt(Ti,{pluginName:"removeOnSpill"});var Tt;function vs(){function r(){this.defaults={swapClass:"sortable-swap-highlight"}}return r.prototype={dragStart:function(o){var u=o.dragEl;Tt=u},dragOverValid:function(o){var u=o.completed,n=o.target,d=o.onMove,t=o.activeSortable,a=o.changed,s=o.cancel;if(t.options.swap){var c=this.sortable.el,g=this.options;if(n&&n!==c){var m=Tt;d(n)!==!1?(Qe(n,g.swapClass,!0),Tt=n):Tt=null,m&&m!==Tt&&Qe(m,g.swapClass,!1)}a(),u(!0),s()}},drop:function(o){var u=o.activeSortable,n=o.putSortable,d=o.dragEl,t=n||this.sortable,a=this.options;Tt&&Qe(Tt,a.swapClass,!1),Tt&&(a.swap||n&&n.options.swap)&&d!==Tt&&(t.captureAnimationState(),t!==u&&u.captureAnimationState(),ps(d,Tt),t.animateAll(),t!==u&&u.animateAll())},nulling:function(){Tt=null}},Dt(r,{pluginName:"swap",eventProperties:function(){return{swapItem:Tt}}})}function ps(r,i){var o=r.parentNode,u=i.parentNode,n,d;!o||!u||o.isEqualNode(i)||u.isEqualNode(r)||(n=Je(r),d=Je(i),o.isEqualNode(u)&&n<d&&d++,o.insertBefore(i,o.children[n]),u.insertBefore(r,u.children[d]))}var ce=[],It=[],co,Rt,fo=!1,St=!1,jn=!1,Ue,vo,Lo;function ms(){function r(i){for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));i.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,d){var t="";ce.length&&Rt===i?ce.forEach(function(a,s){t+=(s?", ":"")+a.textContent}):t=d.textContent,n.setData("Text",t)}}}return r.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(o){var u=o.dragEl;Ue=u},delayEnded:function(){this.isMultiDrag=~ce.indexOf(Ue)},setupClone:function(o){var u=o.sortable,n=o.cancel;if(this.isMultiDrag){for(var d=0;d<ce.length;d++)It.push(Ai(ce[d])),It[d].sortableIndex=ce[d].sortableIndex,It[d].draggable=!1,It[d].style["will-change"]="",Qe(It[d],this.options.selectedClass,!1),ce[d]===Ue&&Qe(It[d],this.options.chosenClass,!1);u._hideClone(),n()}},clone:function(o){var u=o.sortable,n=o.rootEl,d=o.dispatchSortableEvent,t=o.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||ce.length&&Rt===u&&(fa(!0,n),d("clone"),t()))},showClone:function(o){var u=o.cloneNowShown,n=o.rootEl,d=o.cancel;this.isMultiDrag&&(fa(!1,n),It.forEach(function(t){ne(t,"display","")}),u(),Lo=!1,d())},hideClone:function(o){var u=this;o.sortable;var n=o.cloneNowHidden,d=o.cancel;this.isMultiDrag&&(It.forEach(function(t){ne(t,"display","none"),u.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)}),n(),Lo=!0,d())},dragStartGlobal:function(o){o.sortable,!this.isMultiDrag&&Rt&&Rt.multiDrag._deselectMultiDrag(),ce.forEach(function(u){u.sortableIndex=Je(u)}),ce=ce.sort(function(u,n){return u.sortableIndex-n.sortableIndex}),jn=!0},dragStarted:function(o){var u=this,n=o.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){ce.forEach(function(t){t!==Ue&&ne(t,"position","absolute")});var d=Fe(Ue,!1,!0,!0);ce.forEach(function(t){t!==Ue&&la(t,d)}),St=!0,fo=!0}n.animateAll(function(){St=!1,fo=!1,u.options.animation&&ce.forEach(function(t){ci(t)}),u.options.sort&&Qo()})}},dragOver:function(o){var u=o.target,n=o.completed,d=o.cancel;St&&~ce.indexOf(u)&&(n(!1),d())},revert:function(o){var u=o.fromSortable,n=o.rootEl,d=o.sortable,t=o.dragRect;ce.length>1&&(ce.forEach(function(a){d.addAnimationState({target:a,rect:St?Fe(a):t}),ci(a),a.fromRect=t,u.removeAnimationState(a)}),St=!1,gs(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(o){var u=o.sortable,n=o.isOwner,d=o.insertion,t=o.activeSortable,a=o.parentEl,s=o.putSortable,c=this.options;if(d){if(n&&t._hideClone(),fo=!1,c.animation&&ce.length>1&&(St||!n&&!t.options.sort&&!s)){var g=Fe(Ue,!1,!0,!0);ce.forEach(function(h){h!==Ue&&(la(h,g),a.appendChild(h))}),St=!0}if(!n)if(St||Qo(),ce.length>1){var m=Lo;t._showClone(u),t.options.animation&&!Lo&&m&&It.forEach(function(h){t.addAnimationState({target:h,rect:vo}),h.fromRect=vo,h.thisAnimationDuration=null})}else t._showClone(u)}},dragOverAnimationCapture:function(o){var u=o.dragRect,n=o.isOwner,d=o.activeSortable;if(ce.forEach(function(a){a.thisAnimationDuration=null}),d.options.animation&&!n&&d.multiDrag.isMultiDrag){vo=Dt({},u);var t=bn(Ue,!0);vo.top-=t.f,vo.left-=t.e}},dragOverAnimationComplete:function(){St&&(St=!1,Qo())},drop:function(o){var u=o.originalEvent,n=o.rootEl,d=o.parentEl,t=o.sortable,a=o.dispatchSortableEvent,s=o.oldIndex,c=o.putSortable,g=c||this.sortable;if(u){var m=this.options,h=d.children;if(!jn)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Qe(Ue,m.selectedClass,!~ce.indexOf(Ue)),~ce.indexOf(Ue))ce.splice(ce.indexOf(Ue),1),co=null,po({sortable:t,rootEl:n,name:"deselect",targetEl:Ue});else{if(ce.push(Ue),po({sortable:t,rootEl:n,name:"select",targetEl:Ue}),u.shiftKey&&co&&t.el.contains(co)){var y=Je(co),S=Je(Ue);if(~y&&~S&&y!==S){var E,I;for(S>y?(I=y,E=S):(I=S,E=y+1);I<E;I++)~ce.indexOf(h[I])||(Qe(h[I],m.selectedClass,!0),ce.push(h[I]),po({sortable:t,rootEl:n,name:"select",targetEl:h[I]}))}}else co=Ue;Rt=g}if(jn&&this.isMultiDrag){if(St=!1,(d[ut].options.sort||d!==n)&&ce.length>1){var w=Fe(Ue),C=Je(Ue,":not(."+this.options.selectedClass+")");if(!fo&&m.animation&&(Ue.thisAnimationDuration=null),g.captureAnimationState(),!fo&&(m.animation&&(Ue.fromRect=w,ce.forEach(function(V){if(V.thisAnimationDuration=null,V!==Ue){var j=St?Fe(V):w;V.fromRect=j,g.addAnimationState({target:V,rect:j})}})),Qo(),ce.forEach(function(V){h[C]?d.insertBefore(V,h[C]):d.appendChild(V),C++}),s===Je(Ue))){var M=!1;ce.forEach(function(V){if(V.sortableIndex!==Je(V)){M=!0;return}}),M&&a("update")}ce.forEach(function(V){ci(V)}),g.animateAll()}Rt=g}(n===d||c&&c.lastPutMode!=="clone")&&It.forEach(function(V){V.parentNode&&V.parentNode.removeChild(V)})}},nullingGlobal:function(){this.isMultiDrag=jn=!1,It.length=0},destroyGlobal:function(){this._deselectMultiDrag(),ge(document,"pointerup",this._deselectMultiDrag),ge(document,"mouseup",this._deselectMultiDrag),ge(document,"touchend",this._deselectMultiDrag),ge(document,"keydown",this._checkKeyDown),ge(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(o){if(!(typeof jn<"u"&&jn)&&Rt===this.sortable&&!(o&&Ut(o.target,this.options.draggable,this.sortable.el,!1))&&!(o&&o.button!==0))for(;ce.length;){var u=ce[0];Qe(u,this.options.selectedClass,!1),ce.shift(),po({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:u})}},_checkKeyDown:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Dt(r,{pluginName:"multiDrag",utils:{select:function(o){var u=o.parentNode[ut];!u||!u.options.multiDrag||~ce.indexOf(o)||(Rt&&Rt!==u&&(Rt.multiDrag._deselectMultiDrag(),Rt=u),Qe(o,u.options.selectedClass,!0),ce.push(o))},deselect:function(o){var u=o.parentNode[ut],n=ce.indexOf(o);!u||!u.options.multiDrag||!~n||(Qe(o,u.options.selectedClass,!1),ce.splice(n,1))}},eventProperties:function(){var o=this,u=[],n=[];return ce.forEach(function(d){u.push({multiDragElement:d,index:d.sortableIndex});var t;St&&d!==Ue?t=-1:St?t=Je(d,":not(."+o.options.selectedClass+")"):t=Je(d),n.push({multiDragElement:d,index:t})}),{items:Nl(ce),clones:[].concat(It),oldIndicies:u,newIndicies:n}},optionListeners:{multiDragKey:function(o){return o=o.toLowerCase(),o==="ctrl"?o="Control":o.length>1&&(o=o.charAt(0).toUpperCase()+o.substr(1)),o}}})}function gs(r,i){ce.forEach(function(o,u){var n=i.children[o.sortableIndex+(r?Number(u):0)];n?i.insertBefore(o,n):i.appendChild(o)})}function fa(r,i){It.forEach(function(o,u){var n=i.children[o.sortableIndex+(r?Number(u):0)];n?i.insertBefore(o,n):i.appendChild(o)})}function Qo(){ce.forEach(function(r){r!==Ue&&r.parentNode&&r.parentNode.removeChild(r)})}ue.mount(new fs);ue.mount(Ti,Oi);const hs=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:ms,Sortable:ue,Swap:vs,default:ue},Symbol.toStringTag,{value:"Module"})),ys=hl(hs);(function(r,i){(function(u,n){r.exports=n(bl,ys)})(typeof self<"u"?self:Sl,function(o,u){return function(n){var d={};function t(a){if(d[a])return d[a].exports;var s=d[a]={i:a,l:!1,exports:{}};return n[a].call(s.exports,s,s.exports,t),s.l=!0,s.exports}return t.m=n,t.c=d,t.d=function(a,s,c){t.o(a,s)||Object.defineProperty(a,s,{enumerable:!0,get:c})},t.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},t.t=function(a,s){if(s&1&&(a=t(a)),s&8||s&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(t.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),s&2&&typeof a!="string")for(var g in a)t.d(c,g,(function(m){return a[m]}).bind(null,g));return c},t.n=function(a){var s=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(s,"a",s),s},t.o=function(a,s){return Object.prototype.hasOwnProperty.call(a,s)},t.p="",t(t.s="fb15")}({"00ee":function(n,d,t){var a=t("b622"),s=a("toStringTag"),c={};c[s]="z",n.exports=String(c)==="[object z]"},"0366":function(n,d,t){var a=t("1c0b");n.exports=function(s,c,g){if(a(s),c===void 0)return s;switch(g){case 0:return function(){return s.call(c)};case 1:return function(m){return s.call(c,m)};case 2:return function(m,h){return s.call(c,m,h)};case 3:return function(m,h,y){return s.call(c,m,h,y)}}return function(){return s.apply(c,arguments)}}},"057f":function(n,d,t){var a=t("fc6a"),s=t("241c").f,c={}.toString,g=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(h){try{return s(h)}catch{return g.slice()}};n.exports.f=function(y){return g&&c.call(y)=="[object Window]"?m(y):s(a(y))}},"06cf":function(n,d,t){var a=t("83ab"),s=t("d1e7"),c=t("5c6c"),g=t("fc6a"),m=t("c04e"),h=t("5135"),y=t("0cfb"),S=Object.getOwnPropertyDescriptor;d.f=a?S:function(I,w){if(I=g(I),w=m(w,!0),y)try{return S(I,w)}catch{}if(h(I,w))return c(!s.f.call(I,w),I[w])}},"0cfb":function(n,d,t){var a=t("83ab"),s=t("d039"),c=t("cc12");n.exports=!a&&!s(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(n,d,t){var a=t("23e7"),s=t("d58f").left,c=t("a640"),g=t("ae40"),m=c("reduce"),h=g("reduce",{1:0});a({target:"Array",proto:!0,forced:!m||!h},{reduce:function(S){return s(this,S,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(n,d,t){var a=t("c6b6"),s=t("9263");n.exports=function(c,g){var m=c.exec;if(typeof m=="function"){var h=m.call(c,g);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(a(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return s.call(c,g)}},"159b":function(n,d,t){var a=t("da84"),s=t("fdbc"),c=t("17c2"),g=t("9112");for(var m in s){var h=a[m],y=h&&h.prototype;if(y&&y.forEach!==c)try{g(y,"forEach",c)}catch{y.forEach=c}}},"17c2":function(n,d,t){var a=t("b727").forEach,s=t("a640"),c=t("ae40"),g=s("forEach"),m=c("forEach");n.exports=!g||!m?function(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(n,d,t){var a=t("d066");n.exports=a("document","documentElement")},"1c0b":function(n,d){n.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(n,d,t){var a=t("b622"),s=a("iterator"),c=!1;try{var g=0,m={next:function(){return{done:!!g++}},return:function(){c=!0}};m[s]=function(){return this},Array.from(m,function(){throw 2})}catch{}n.exports=function(h,y){if(!y&&!c)return!1;var S=!1;try{var E={};E[s]=function(){return{next:function(){return{done:S=!0}}}},h(E)}catch{}return S}},"1d80":function(n,d){n.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}},"1dde":function(n,d,t){var a=t("d039"),s=t("b622"),c=t("2d00"),g=s("species");n.exports=function(m){return c>=51||!a(function(){var h=[],y=h.constructor={};return y[g]=function(){return{foo:1}},h[m](Boolean).foo!==1})}},"23cb":function(n,d,t){var a=t("a691"),s=Math.max,c=Math.min;n.exports=function(g,m){var h=a(g);return h<0?s(h+m,0):c(h,m)}},"23e7":function(n,d,t){var a=t("da84"),s=t("06cf").f,c=t("9112"),g=t("6eeb"),m=t("ce4e"),h=t("e893"),y=t("94ca");n.exports=function(S,E){var I=S.target,w=S.global,C=S.stat,M,V,j,D,Y,ee;if(w?V=a:C?V=a[I]||m(I,{}):V=(a[I]||{}).prototype,V)for(j in E){if(Y=E[j],S.noTargetGet?(ee=s(V,j),D=ee&&ee.value):D=V[j],M=y(w?j:I+(C?".":"#")+j,S.forced),!M&&D!==void 0){if(typeof Y==typeof D)continue;h(Y,D)}(S.sham||D&&D.sham)&&c(Y,"sham",!0),g(V,j,Y,S)}}},"241c":function(n,d,t){var a=t("ca84"),s=t("7839"),c=s.concat("length","prototype");d.f=Object.getOwnPropertyNames||function(m){return a(m,c)}},"25f0":function(n,d,t){var a=t("6eeb"),s=t("825a"),c=t("d039"),g=t("ad6d"),m="toString",h=RegExp.prototype,y=h[m],S=c(function(){return y.call({source:"a",flags:"b"})!="/a/b"}),E=y.name!=m;(S||E)&&a(RegExp.prototype,m,function(){var w=s(this),C=String(w.source),M=w.flags,V=String(M===void 0&&w instanceof RegExp&&!("flags"in h)?g.call(w):M);return"/"+C+"/"+V},{unsafe:!0})},"2ca0":function(n,d,t){var a=t("23e7"),s=t("06cf").f,c=t("50c4"),g=t("5a34"),m=t("1d80"),h=t("ab13"),y=t("c430"),S="".startsWith,E=Math.min,I=h("startsWith"),w=!y&&!I&&!!function(){var C=s(String.prototype,"startsWith");return C&&!C.writable}();a({target:"String",proto:!0,forced:!w&&!I},{startsWith:function(M){var V=String(m(this));g(M);var j=c(E(arguments.length>1?arguments[1]:void 0,V.length)),D=String(M);return S?S.call(V,D,j):V.slice(j,j+D.length)===D}})},"2d00":function(n,d,t){var a=t("da84"),s=t("342f"),c=a.process,g=c&&c.versions,m=g&&g.v8,h,y;m?(h=m.split("."),y=h[0]+h[1]):s&&(h=s.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=s.match(/Chrome\/(\d+)/),h&&(y=h[1]))),n.exports=y&&+y},"342f":function(n,d,t){var a=t("d066");n.exports=a("navigator","userAgent")||""},"35a1":function(n,d,t){var a=t("f5df"),s=t("3f8c"),c=t("b622"),g=c("iterator");n.exports=function(m){if(m!=null)return m[g]||m["@@iterator"]||s[a(m)]}},"37e8":function(n,d,t){var a=t("83ab"),s=t("9bf2"),c=t("825a"),g=t("df75");n.exports=a?Object.defineProperties:function(h,y){c(h);for(var S=g(y),E=S.length,I=0,w;E>I;)s.f(h,w=S[I++],y[w]);return h}},"3bbe":function(n,d,t){var a=t("861d");n.exports=function(s){if(!a(s)&&s!==null)throw TypeError("Can't set "+String(s)+" as a prototype");return s}},"3ca3":function(n,d,t){var a=t("6547").charAt,s=t("69f3"),c=t("7dd0"),g="String Iterator",m=s.set,h=s.getterFor(g);c(String,"String",function(y){m(this,{type:g,string:String(y),index:0})},function(){var S=h(this),E=S.string,I=S.index,w;return I>=E.length?{value:void 0,done:!0}:(w=a(E,I),S.index+=w.length,{value:w,done:!1})})},"3f8c":function(n,d){n.exports={}},4160:function(n,d,t){var a=t("23e7"),s=t("17c2");a({target:"Array",proto:!0,forced:[].forEach!=s},{forEach:s})},"428f":function(n,d,t){var a=t("da84");n.exports=a},"44ad":function(n,d,t){var a=t("d039"),s=t("c6b6"),c="".split;n.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(g){return s(g)=="String"?c.call(g,""):Object(g)}:Object},"44d2":function(n,d,t){var a=t("b622"),s=t("7c73"),c=t("9bf2"),g=a("unscopables"),m=Array.prototype;m[g]==null&&c.f(m,g,{configurable:!0,value:s(null)}),n.exports=function(h){m[g][h]=!0}},"44e7":function(n,d,t){var a=t("861d"),s=t("c6b6"),c=t("b622"),g=c("match");n.exports=function(m){var h;return a(m)&&((h=m[g])!==void 0?!!h:s(m)=="RegExp")}},4930:function(n,d,t){var a=t("d039");n.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(n,d,t){var a=t("fc6a"),s=t("50c4"),c=t("23cb"),g=function(m){return function(h,y,S){var E=a(h),I=s(E.length),w=c(S,I),C;if(m&&y!=y){for(;I>w;)if(C=E[w++],C!=C)return!0}else for(;I>w;w++)if((m||w in E)&&E[w]===y)return m||w||0;return!m&&-1}};n.exports={includes:g(!0),indexOf:g(!1)}},"4de4":function(n,d,t){var a=t("23e7"),s=t("b727").filter,c=t("1dde"),g=t("ae40"),m=c("filter"),h=g("filter");a({target:"Array",proto:!0,forced:!m||!h},{filter:function(S){return s(this,S,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(n,d,t){var a=t("0366"),s=t("7b0b"),c=t("9bdd"),g=t("e95a"),m=t("50c4"),h=t("8418"),y=t("35a1");n.exports=function(E){var I=s(E),w=typeof this=="function"?this:Array,C=arguments.length,M=C>1?arguments[1]:void 0,V=M!==void 0,j=y(I),D=0,Y,ee,K,$,X,se;if(V&&(M=a(M,C>2?arguments[2]:void 0,2)),j!=null&&!(w==Array&&g(j)))for($=j.call(I),X=$.next,ee=new w;!(K=X.call($)).done;D++)se=V?c($,M,[K.value,D],!0):K.value,h(ee,D,se);else for(Y=m(I.length),ee=new w(Y);Y>D;D++)se=V?M(I[D],D):I[D],h(ee,D,se);return ee.length=D,ee}},"4fad":function(n,d,t){var a=t("23e7"),s=t("6f53").entries;a({target:"Object",stat:!0},{entries:function(g){return s(g)}})},"50c4":function(n,d,t){var a=t("a691"),s=Math.min;n.exports=function(c){return c>0?s(a(c),9007199254740991):0}},5135:function(n,d){var t={}.hasOwnProperty;n.exports=function(a,s){return t.call(a,s)}},5319:function(n,d,t){var a=t("d784"),s=t("825a"),c=t("7b0b"),g=t("50c4"),m=t("a691"),h=t("1d80"),y=t("8aa5"),S=t("14c3"),E=Math.max,I=Math.min,w=Math.floor,C=/\$([$&'`]|\d\d?|<[^>]*>)/g,M=/\$([$&'`]|\d\d?)/g,V=function(j){return j===void 0?j:String(j)};a("replace",2,function(j,D,Y,ee){var K=ee.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,$=ee.REPLACE_KEEPS_$0,X=K?"$":"$0";return[function(J,re){var W=h(this),oe=J==null?void 0:J[j];return oe!==void 0?oe.call(J,W,re):D.call(String(W),J,re)},function(T,J){if(!K&&$||typeof J=="string"&&J.indexOf(X)===-1){var re=Y(D,T,this,J);if(re.done)return re.value}var W=s(T),oe=String(this),xe=typeof J=="function";xe||(J=String(J));var Oe=W.global;if(Oe){var _e=W.unicode;W.lastIndex=0}for(var Ke=[];;){var we=S(W,oe);if(we===null||(Ke.push(we),!Oe))break;var We=String(we[0]);We===""&&(W.lastIndex=y(oe,g(W.lastIndex),_e))}for(var Me="",Te=0,De=0;De<Ke.length;De++){we=Ke[De];for(var Pe=String(we[0]),ct=E(I(m(we.index),oe.length),0),ze=[],He=1;He<we.length;He++)ze.push(V(we[He]));var Nt=we.groups;if(xe){var Kt=[Pe].concat(ze,ct,oe);Nt!==void 0&&Kt.push(Nt);var et=String(J.apply(void 0,Kt))}else et=se(Pe,oe,ct,ze,Nt,J);ct>=Te&&(Me+=oe.slice(Te,ct)+et,Te=ct+Pe.length)}return Me+oe.slice(Te)}];function se(T,J,re,W,oe,xe){var Oe=re+T.length,_e=W.length,Ke=M;return oe!==void 0&&(oe=c(oe),Ke=C),D.call(xe,Ke,function(we,We){var Me;switch(We.charAt(0)){case"$":return"$";case"&":return T;case"`":return J.slice(0,re);case"'":return J.slice(Oe);case"<":Me=oe[We.slice(1,-1)];break;default:var Te=+We;if(Te===0)return we;if(Te>_e){var De=w(Te/10);return De===0?we:De<=_e?W[De-1]===void 0?We.charAt(1):W[De-1]+We.charAt(1):we}Me=W[Te-1]}return Me===void 0?"":Me})}})},5692:function(n,d,t){var a=t("c430"),s=t("c6cd");(n.exports=function(c,g){return s[c]||(s[c]=g!==void 0?g:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(n,d,t){var a=t("d066"),s=t("241c"),c=t("7418"),g=t("825a");n.exports=a("Reflect","ownKeys")||function(h){var y=s.f(g(h)),S=c.f;return S?y.concat(S(h)):y}},"5a34":function(n,d,t){var a=t("44e7");n.exports=function(s){if(a(s))throw TypeError("The method doesn't accept regular expressions");return s}},"5c6c":function(n,d){n.exports=function(t,a){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:a}}},"5db7":function(n,d,t){var a=t("23e7"),s=t("a2bf"),c=t("7b0b"),g=t("50c4"),m=t("1c0b"),h=t("65f0");a({target:"Array",proto:!0},{flatMap:function(S){var E=c(this),I=g(E.length),w;return m(S),w=h(E,0),w.length=s(w,E,E,I,0,1,S,arguments.length>1?arguments[1]:void 0),w}})},6547:function(n,d,t){var a=t("a691"),s=t("1d80"),c=function(g){return function(m,h){var y=String(s(m)),S=a(h),E=y.length,I,w;return S<0||S>=E?g?"":void 0:(I=y.charCodeAt(S),I<55296||I>56319||S+1===E||(w=y.charCodeAt(S+1))<56320||w>57343?g?y.charAt(S):I:g?y.slice(S,S+2):(I-55296<<10)+(w-56320)+65536)}};n.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(n,d,t){var a=t("861d"),s=t("e8b5"),c=t("b622"),g=c("species");n.exports=function(m,h){var y;return s(m)&&(y=m.constructor,typeof y=="function"&&(y===Array||s(y.prototype))?y=void 0:a(y)&&(y=y[g],y===null&&(y=void 0))),new(y===void 0?Array:y)(h===0?0:h)}},"69f3":function(n,d,t){var a=t("7f9a"),s=t("da84"),c=t("861d"),g=t("9112"),m=t("5135"),h=t("f772"),y=t("d012"),S=s.WeakMap,E,I,w,C=function(K){return w(K)?I(K):E(K,{})},M=function(K){return function($){var X;if(!c($)||(X=I($)).type!==K)throw TypeError("Incompatible receiver, "+K+" required");return X}};if(a){var V=new S,j=V.get,D=V.has,Y=V.set;E=function(K,$){return Y.call(V,K,$),$},I=function(K){return j.call(V,K)||{}},w=function(K){return D.call(V,K)}}else{var ee=h("state");y[ee]=!0,E=function(K,$){return g(K,ee,$),$},I=function(K){return m(K,ee)?K[ee]:{}},w=function(K){return m(K,ee)}}n.exports={set:E,get:I,has:w,enforce:C,getterFor:M}},"6eeb":function(n,d,t){var a=t("da84"),s=t("9112"),c=t("5135"),g=t("ce4e"),m=t("8925"),h=t("69f3"),y=h.get,S=h.enforce,E=String(String).split("String");(n.exports=function(I,w,C,M){var V=M?!!M.unsafe:!1,j=M?!!M.enumerable:!1,D=M?!!M.noTargetGet:!1;if(typeof C=="function"&&(typeof w=="string"&&!c(C,"name")&&s(C,"name",w),S(C).source=E.join(typeof w=="string"?w:"")),I===a){j?I[w]=C:g(w,C);return}else V?!D&&I[w]&&(j=!0):delete I[w];j?I[w]=C:s(I,w,C)})(Function.prototype,"toString",function(){return typeof this=="function"&&y(this).source||m(this)})},"6f53":function(n,d,t){var a=t("83ab"),s=t("df75"),c=t("fc6a"),g=t("d1e7").f,m=function(h){return function(y){for(var S=c(y),E=s(S),I=E.length,w=0,C=[],M;I>w;)M=E[w++],(!a||g.call(S,M))&&C.push(h?[M,S[M]]:S[M]);return C}};n.exports={entries:m(!0),values:m(!1)}},"73d9":function(n,d,t){var a=t("44d2");a("flatMap")},7418:function(n,d){d.f=Object.getOwnPropertySymbols},"746f":function(n,d,t){var a=t("428f"),s=t("5135"),c=t("e538"),g=t("9bf2").f;n.exports=function(m){var h=a.Symbol||(a.Symbol={});s(h,m)||g(h,m,{value:c.f(m)})}},7839:function(n,d){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(n,d,t){var a=t("1d80");n.exports=function(s){return Object(a(s))}},"7c73":function(n,d,t){var a=t("825a"),s=t("37e8"),c=t("7839"),g=t("d012"),m=t("1be4"),h=t("cc12"),y=t("f772"),S=">",E="<",I="prototype",w="script",C=y("IE_PROTO"),M=function(){},V=function(K){return E+w+S+K+E+"/"+w+S},j=function(K){K.write(V("")),K.close();var $=K.parentWindow.Object;return K=null,$},D=function(){var K=h("iframe"),$="java"+w+":",X;return K.style.display="none",m.appendChild(K),K.src=String($),X=K.contentWindow.document,X.open(),X.write(V("document.F=Object")),X.close(),X.F},Y,ee=function(){try{Y=document.domain&&new ActiveXObject("htmlfile")}catch{}ee=Y?j(Y):D();for(var K=c.length;K--;)delete ee[I][c[K]];return ee()};g[C]=!0,n.exports=Object.create||function($,X){var se;return $!==null?(M[I]=a($),se=new M,M[I]=null,se[C]=$):se=ee(),X===void 0?se:s(se,X)}},"7dd0":function(n,d,t){var a=t("23e7"),s=t("9ed3"),c=t("e163"),g=t("d2bb"),m=t("d44e"),h=t("9112"),y=t("6eeb"),S=t("b622"),E=t("c430"),I=t("3f8c"),w=t("ae93"),C=w.IteratorPrototype,M=w.BUGGY_SAFARI_ITERATORS,V=S("iterator"),j="keys",D="values",Y="entries",ee=function(){return this};n.exports=function(K,$,X,se,T,J,re){s(X,$,se);var W=function(De){if(De===T&&Ke)return Ke;if(!M&&De in Oe)return Oe[De];switch(De){case j:return function(){return new X(this,De)};case D:return function(){return new X(this,De)};case Y:return function(){return new X(this,De)}}return function(){return new X(this)}},oe=$+" Iterator",xe=!1,Oe=K.prototype,_e=Oe[V]||Oe["@@iterator"]||T&&Oe[T],Ke=!M&&_e||W(T),we=$=="Array"&&Oe.entries||_e,We,Me,Te;if(we&&(We=c(we.call(new K)),C!==Object.prototype&&We.next&&(!E&&c(We)!==C&&(g?g(We,C):typeof We[V]!="function"&&h(We,V,ee)),m(We,oe,!0,!0),E&&(I[oe]=ee))),T==D&&_e&&_e.name!==D&&(xe=!0,Ke=function(){return _e.call(this)}),(!E||re)&&Oe[V]!==Ke&&h(Oe,V,Ke),I[$]=Ke,T)if(Me={values:W(D),keys:J?Ke:W(j),entries:W(Y)},re)for(Te in Me)(M||xe||!(Te in Oe))&&y(Oe,Te,Me[Te]);else a({target:$,proto:!0,forced:M||xe},Me);return Me}},"7f9a":function(n,d,t){var a=t("da84"),s=t("8925"),c=a.WeakMap;n.exports=typeof c=="function"&&/native code/.test(s(c))},"825a":function(n,d,t){var a=t("861d");n.exports=function(s){if(!a(s))throw TypeError(String(s)+" is not an object");return s}},"83ab":function(n,d,t){var a=t("d039");n.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(n,d,t){var a=t("c04e"),s=t("9bf2"),c=t("5c6c");n.exports=function(g,m,h){var y=a(m);y in g?s.f(g,y,c(0,h)):g[y]=h}},"861d":function(n,d){n.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},8875:function(n,d,t){var a,s,c;(function(g,m){s=[],a=m,c=typeof a=="function"?a.apply(d,s):a,c!==void 0&&(n.exports=c)})(typeof self<"u"?self:this,function(){function g(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==g&&document.currentScript)return document.currentScript;try{throw new Error}catch(Y){var h=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,y=/@([^@]*):(\d+):(\d+)\s*$/ig,S=h.exec(Y.stack)||y.exec(Y.stack),E=S&&S[1]||!1,I=S&&S[2]||!1,w=document.location.href.replace(document.location.hash,""),C,M,V,j=document.getElementsByTagName("script");E===w&&(C=document.documentElement.outerHTML,M=new RegExp("(?:[^\\n]+?\\n){0,"+(I-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),V=C.replace(M,"$1").trim());for(var D=0;D<j.length;D++)if(j[D].readyState==="interactive"||j[D].src===E||E===w&&j[D].innerHTML&&j[D].innerHTML.trim()===V)return j[D];return null}}return g})},8925:function(n,d,t){var a=t("c6cd"),s=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(c){return s.call(c)}),n.exports=a.inspectSource},"8aa5":function(n,d,t){var a=t("6547").charAt;n.exports=function(s,c,g){return c+(g?a(s,c).length:1)}},"8bbf":function(n,d){n.exports=o},"90e3":function(n,d){var t=0,a=Math.random();n.exports=function(s){return"Symbol("+String(s===void 0?"":s)+")_"+(++t+a).toString(36)}},9112:function(n,d,t){var a=t("83ab"),s=t("9bf2"),c=t("5c6c");n.exports=a?function(g,m,h){return s.f(g,m,c(1,h))}:function(g,m,h){return g[m]=h,g}},9263:function(n,d,t){var a=t("ad6d"),s=t("9f7f"),c=RegExp.prototype.exec,g=String.prototype.replace,m=c,h=function(){var I=/a/,w=/b*/g;return c.call(I,"a"),c.call(w,"a"),I.lastIndex!==0||w.lastIndex!==0}(),y=s.UNSUPPORTED_Y||s.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,E=h||S||y;E&&(m=function(w){var C=this,M,V,j,D,Y=y&&C.sticky,ee=a.call(C),K=C.source,$=0,X=w;return Y&&(ee=ee.replace("y",""),ee.indexOf("g")===-1&&(ee+="g"),X=String(w).slice(C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&w[C.lastIndex-1]!==`
  8. `)&&(K="(?: "+K+")",X=" "+X,$++),V=new RegExp("^(?:"+K+")",ee)),S&&(V=new RegExp("^"+K+"$(?!\\s)",ee)),h&&(M=C.lastIndex),j=c.call(Y?V:C,X),Y?j?(j.input=j.input.slice($),j[0]=j[0].slice($),j.index=C.lastIndex,C.lastIndex+=j[0].length):C.lastIndex=0:h&&j&&(C.lastIndex=C.global?j.index+j[0].length:M),S&&j&&j.length>1&&g.call(j[0],V,function(){for(D=1;D<arguments.length-2;D++)arguments[D]===void 0&&(j[D]=void 0)}),j}),n.exports=m},"94ca":function(n,d,t){var a=t("d039"),s=/#|\.prototype\./,c=function(S,E){var I=m[g(S)];return I==y?!0:I==h?!1:typeof E=="function"?a(E):!!E},g=c.normalize=function(S){return String(S).replace(s,".").toLowerCase()},m=c.data={},h=c.NATIVE="N",y=c.POLYFILL="P";n.exports=c},"99af":function(n,d,t){var a=t("23e7"),s=t("d039"),c=t("e8b5"),g=t("861d"),m=t("7b0b"),h=t("50c4"),y=t("8418"),S=t("65f0"),E=t("1dde"),I=t("b622"),w=t("2d00"),C=I("isConcatSpreadable"),M=9007199254740991,V="Maximum allowed index exceeded",j=w>=51||!s(function(){var K=[];return K[C]=!1,K.concat()[0]!==K}),D=E("concat"),Y=function(K){if(!g(K))return!1;var $=K[C];return $!==void 0?!!$:c(K)},ee=!j||!D;a({target:"Array",proto:!0,forced:ee},{concat:function($){var X=m(this),se=S(X,0),T=0,J,re,W,oe,xe;for(J=-1,W=arguments.length;J<W;J++)if(xe=J===-1?X:arguments[J],Y(xe)){if(oe=h(xe.length),T+oe>M)throw TypeError(V);for(re=0;re<oe;re++,T++)re in xe&&y(se,T,xe[re])}else{if(T>=M)throw TypeError(V);y(se,T++,xe)}return se.length=T,se}})},"9bdd":function(n,d,t){var a=t("825a");n.exports=function(s,c,g,m){try{return m?c(a(g)[0],g[1]):c(g)}catch(y){var h=s.return;throw h!==void 0&&a(h.call(s)),y}}},"9bf2":function(n,d,t){var a=t("83ab"),s=t("0cfb"),c=t("825a"),g=t("c04e"),m=Object.defineProperty;d.f=a?m:function(y,S,E){if(c(y),S=g(S,!0),c(E),s)try{return m(y,S,E)}catch{}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(y[S]=E.value),y}},"9ed3":function(n,d,t){var a=t("ae93").IteratorPrototype,s=t("7c73"),c=t("5c6c"),g=t("d44e"),m=t("3f8c"),h=function(){return this};n.exports=function(y,S,E){var I=S+" Iterator";return y.prototype=s(a,{next:c(1,E)}),g(y,I,!1,!0),m[I]=h,y}},"9f7f":function(n,d,t){var a=t("d039");function s(c,g){return RegExp(c,g)}d.UNSUPPORTED_Y=a(function(){var c=s("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),d.BROKEN_CARET=a(function(){var c=s("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(n,d,t){var a=t("e8b5"),s=t("50c4"),c=t("0366"),g=function(m,h,y,S,E,I,w,C){for(var M=E,V=0,j=w?c(w,C,3):!1,D;V<S;){if(V in y){if(D=j?j(y[V],V,h):y[V],I>0&&a(D))M=g(m,h,D,s(D.length),M,I-1)-1;else{if(M>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[M]=D}M++}V++}return M};n.exports=g},a352:function(n,d){n.exports=u},a434:function(n,d,t){var a=t("23e7"),s=t("23cb"),c=t("a691"),g=t("50c4"),m=t("7b0b"),h=t("65f0"),y=t("8418"),S=t("1dde"),E=t("ae40"),I=S("splice"),w=E("splice",{ACCESSORS:!0,0:0,1:2}),C=Math.max,M=Math.min,V=9007199254740991,j="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!I||!w},{splice:function(Y,ee){var K=m(this),$=g(K.length),X=s(Y,$),se=arguments.length,T,J,re,W,oe,xe;if(se===0?T=J=0:se===1?(T=0,J=$-X):(T=se-2,J=M(C(c(ee),0),$-X)),$+T-J>V)throw TypeError(j);for(re=h(K,J),W=0;W<J;W++)oe=X+W,oe in K&&y(re,W,K[oe]);if(re.length=J,T<J){for(W=X;W<$-J;W++)oe=W+J,xe=W+T,oe in K?K[xe]=K[oe]:delete K[xe];for(W=$;W>$-J+T;W--)delete K[W-1]}else if(T>J)for(W=$-J;W>X;W--)oe=W+J-1,xe=W+T-1,oe in K?K[xe]=K[oe]:delete K[xe];for(W=0;W<T;W++)K[W+X]=arguments[W+2];return K.length=$-J+T,re}})},a4d3:function(n,d,t){var a=t("23e7"),s=t("da84"),c=t("d066"),g=t("c430"),m=t("83ab"),h=t("4930"),y=t("fdbf"),S=t("d039"),E=t("5135"),I=t("e8b5"),w=t("861d"),C=t("825a"),M=t("7b0b"),V=t("fc6a"),j=t("c04e"),D=t("5c6c"),Y=t("7c73"),ee=t("df75"),K=t("241c"),$=t("057f"),X=t("7418"),se=t("06cf"),T=t("9bf2"),J=t("d1e7"),re=t("9112"),W=t("6eeb"),oe=t("5692"),xe=t("f772"),Oe=t("d012"),_e=t("90e3"),Ke=t("b622"),we=t("e538"),We=t("746f"),Me=t("d44e"),Te=t("69f3"),De=t("b727").forEach,Pe=xe("hidden"),ct="Symbol",ze="prototype",He=Ke("toPrimitive"),Nt=Te.set,Kt=Te.getterFor(ct),et=Object[ze],tt=s.Symbol,Ft=c("JSON","stringify"),wt=se.f,At=T.f,Sn=$.f,Ln=J.f,Et=oe("symbols"),Mt=oe("op-symbols"),Jt=oe("string-to-symbol-registry"),on=oe("symbol-to-string-registry"),an=oe("wks"),rn=s.QObject,ln=!rn||!rn[ze]||!rn[ze].findChild,Wt=m&&S(function(){return Y(At({},"a",{get:function(){return At(this,"a",{value:7}).a}})).a!=7})?function(Z,te,le){var he=wt(et,te);he&&delete et[te],At(Z,te,le),he&&Z!==et&&At(et,te,he)}:At,sn=function(Z,te){var le=Et[Z]=Y(tt[ze]);return Nt(le,{type:ct,tag:Z,description:te}),m||(le.description=te),le},A=y?function(Z){return typeof Z=="symbol"}:function(Z){return Object(Z)instanceof tt},O=function(te,le,he){te===et&&O(Mt,le,he),C(te);var ye=j(le,!0);return C(he),E(Et,ye)?(he.enumerable?(E(te,Pe)&&te[Pe][ye]&&(te[Pe][ye]=!1),he=Y(he,{enumerable:D(0,!1)})):(E(te,Pe)||At(te,Pe,D(1,{})),te[Pe][ye]=!0),Wt(te,ye,he)):At(te,ye,he)},P=function(te,le){C(te);var he=V(le),ye=ee(he).concat(Ie(he));return De(ye,function(st){(!m||_.call(he,st))&&O(te,st,he[st])}),te},N=function(te,le){return le===void 0?Y(te):P(Y(te),le)},_=function(te){var le=j(te,!0),he=Ln.call(this,le);return this===et&&E(Et,le)&&!E(Mt,le)?!1:he||!E(this,le)||!E(Et,le)||E(this,Pe)&&this[Pe][le]?he:!0},de=function(te,le){var he=V(te),ye=j(le,!0);if(!(he===et&&E(Et,ye)&&!E(Mt,ye))){var st=wt(he,ye);return st&&E(Et,ye)&&!(E(he,Pe)&&he[Pe][ye])&&(st.enumerable=!0),st}},fe=function(te){var le=Sn(V(te)),he=[];return De(le,function(ye){!E(Et,ye)&&!E(Oe,ye)&&he.push(ye)}),he},Ie=function(te){var le=te===et,he=Sn(le?Mt:V(te)),ye=[];return De(he,function(st){E(Et,st)&&(!le||E(et,st))&&ye.push(Et[st])}),ye};if(h||(tt=function(){if(this instanceof tt)throw TypeError("Symbol is not a constructor");var te=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),le=_e(te),he=function(ye){this===et&&he.call(Mt,ye),E(this,Pe)&&E(this[Pe],le)&&(this[Pe][le]=!1),Wt(this,le,D(1,ye))};return m&&ln&&Wt(et,le,{configurable:!0,set:he}),sn(le,te)},W(tt[ze],"toString",function(){return Kt(this).tag}),W(tt,"withoutSetter",function(Z){return sn(_e(Z),Z)}),J.f=_,T.f=O,se.f=de,K.f=$.f=fe,X.f=Ie,we.f=function(Z){return sn(Ke(Z),Z)},m&&(At(tt[ze],"description",{configurable:!0,get:function(){return Kt(this).description}}),g||W(et,"propertyIsEnumerable",_,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:tt}),De(ee(an),function(Z){We(Z)}),a({target:ct,stat:!0,forced:!h},{for:function(Z){var te=String(Z);if(E(Jt,te))return Jt[te];var le=tt(te);return Jt[te]=le,on[le]=te,le},keyFor:function(te){if(!A(te))throw TypeError(te+" is not a symbol");if(E(on,te))return on[te]},useSetter:function(){ln=!0},useSimple:function(){ln=!1}}),a({target:"Object",stat:!0,forced:!h,sham:!m},{create:N,defineProperty:O,defineProperties:P,getOwnPropertyDescriptor:de}),a({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:fe,getOwnPropertySymbols:Ie}),a({target:"Object",stat:!0,forced:S(function(){X.f(1)})},{getOwnPropertySymbols:function(te){return X.f(M(te))}}),Ft){var Be=!h||S(function(){var Z=tt();return Ft([Z])!="[null]"||Ft({a:Z})!="{}"||Ft(Object(Z))!="{}"});a({target:"JSON",stat:!0,forced:Be},{stringify:function(te,le,he){for(var ye=[te],st=1,En;arguments.length>st;)ye.push(arguments[st++]);if(En=le,!(!w(le)&&te===void 0||A(te)))return I(le)||(le=function(ei,dn){if(typeof En=="function"&&(dn=En.call(this,ei,dn)),!A(dn))return dn}),ye[1]=le,Ft.apply(null,ye)}})}tt[ze][He]||re(tt[ze],He,tt[ze].valueOf),Me(tt,ct),Oe[Pe]=!0},a630:function(n,d,t){var a=t("23e7"),s=t("4df4"),c=t("1c7e"),g=!c(function(m){Array.from(m)});a({target:"Array",stat:!0,forced:g},{from:s})},a640:function(n,d,t){var a=t("d039");n.exports=function(s,c){var g=[][s];return!!g&&a(function(){g.call(null,c||function(){throw 1},1)})}},a691:function(n,d){var t=Math.ceil,a=Math.floor;n.exports=function(s){return isNaN(s=+s)?0:(s>0?a:t)(s)}},ab13:function(n,d,t){var a=t("b622"),s=a("match");n.exports=function(c){var g=/./;try{"/./"[c](g)}catch{try{return g[s]=!1,"/./"[c](g)}catch{}}return!1}},ac1f:function(n,d,t){var a=t("23e7"),s=t("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==s},{exec:s})},ad6d:function(n,d,t){var a=t("825a");n.exports=function(){var s=a(this),c="";return s.global&&(c+="g"),s.ignoreCase&&(c+="i"),s.multiline&&(c+="m"),s.dotAll&&(c+="s"),s.unicode&&(c+="u"),s.sticky&&(c+="y"),c}},ae40:function(n,d,t){var a=t("83ab"),s=t("d039"),c=t("5135"),g=Object.defineProperty,m={},h=function(y){throw y};n.exports=function(y,S){if(c(m,y))return m[y];S||(S={});var E=[][y],I=c(S,"ACCESSORS")?S.ACCESSORS:!1,w=c(S,0)?S[0]:h,C=c(S,1)?S[1]:void 0;return m[y]=!!E&&!s(function(){if(I&&!a)return!0;var M={length:-1};I?g(M,1,{enumerable:!0,get:h}):M[1]=1,E.call(M,w,C)})}},ae93:function(n,d,t){var a=t("e163"),s=t("9112"),c=t("5135"),g=t("b622"),m=t("c430"),h=g("iterator"),y=!1,S=function(){return this},E,I,w;[].keys&&(w=[].keys(),"next"in w?(I=a(a(w)),I!==Object.prototype&&(E=I)):y=!0),E==null&&(E={}),!m&&!c(E,h)&&s(E,h,S),n.exports={IteratorPrototype:E,BUGGY_SAFARI_ITERATORS:y}},b041:function(n,d,t){var a=t("00ee"),s=t("f5df");n.exports=a?{}.toString:function(){return"[object "+s(this)+"]"}},b0c0:function(n,d,t){var a=t("83ab"),s=t("9bf2").f,c=Function.prototype,g=c.toString,m=/^\s*function ([^ (]*)/,h="name";a&&!(h in c)&&s(c,h,{configurable:!0,get:function(){try{return g.call(this).match(m)[1]}catch{return""}}})},b622:function(n,d,t){var a=t("da84"),s=t("5692"),c=t("5135"),g=t("90e3"),m=t("4930"),h=t("fdbf"),y=s("wks"),S=a.Symbol,E=h?S:S&&S.withoutSetter||g;n.exports=function(I){return c(y,I)||(m&&c(S,I)?y[I]=S[I]:y[I]=E("Symbol."+I)),y[I]}},b64b:function(n,d,t){var a=t("23e7"),s=t("7b0b"),c=t("df75"),g=t("d039"),m=g(function(){c(1)});a({target:"Object",stat:!0,forced:m},{keys:function(y){return c(s(y))}})},b727:function(n,d,t){var a=t("0366"),s=t("44ad"),c=t("7b0b"),g=t("50c4"),m=t("65f0"),h=[].push,y=function(S){var E=S==1,I=S==2,w=S==3,C=S==4,M=S==6,V=S==5||M;return function(j,D,Y,ee){for(var K=c(j),$=s(K),X=a(D,Y,3),se=g($.length),T=0,J=ee||m,re=E?J(j,se):I?J(j,0):void 0,W,oe;se>T;T++)if((V||T in $)&&(W=$[T],oe=X(W,T,K),S)){if(E)re[T]=oe;else if(oe)switch(S){case 3:return!0;case 5:return W;case 6:return T;case 2:h.call(re,W)}else if(C)return!1}return M?-1:w||C?C:re}};n.exports={forEach:y(0),map:y(1),filter:y(2),some:y(3),every:y(4),find:y(5),findIndex:y(6)}},c04e:function(n,d,t){var a=t("861d");n.exports=function(s,c){if(!a(s))return s;var g,m;if(c&&typeof(g=s.toString)=="function"&&!a(m=g.call(s))||typeof(g=s.valueOf)=="function"&&!a(m=g.call(s))||!c&&typeof(g=s.toString)=="function"&&!a(m=g.call(s)))return m;throw TypeError("Can't convert object to primitive value")}},c430:function(n,d){n.exports=!1},c6b6:function(n,d){var t={}.toString;n.exports=function(a){return t.call(a).slice(8,-1)}},c6cd:function(n,d,t){var a=t("da84"),s=t("ce4e"),c="__core-js_shared__",g=a[c]||s(c,{});n.exports=g},c740:function(n,d,t){var a=t("23e7"),s=t("b727").findIndex,c=t("44d2"),g=t("ae40"),m="findIndex",h=!0,y=g(m);m in[]&&Array(1)[m](function(){h=!1}),a({target:"Array",proto:!0,forced:h||!y},{findIndex:function(E){return s(this,E,arguments.length>1?arguments[1]:void 0)}}),c(m)},c8ba:function(n,d){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,d,t){var a=t("23e7"),s=t("4d64").indexOf,c=t("a640"),g=t("ae40"),m=[].indexOf,h=!!m&&1/[1].indexOf(1,-0)<0,y=c("indexOf"),S=g("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:h||!y||!S},{indexOf:function(I){return h?m.apply(this,arguments)||0:s(this,I,arguments.length>1?arguments[1]:void 0)}})},ca84:function(n,d,t){var a=t("5135"),s=t("fc6a"),c=t("4d64").indexOf,g=t("d012");n.exports=function(m,h){var y=s(m),S=0,E=[],I;for(I in y)!a(g,I)&&a(y,I)&&E.push(I);for(;h.length>S;)a(y,I=h[S++])&&(~c(E,I)||E.push(I));return E}},caad:function(n,d,t){var a=t("23e7"),s=t("4d64").includes,c=t("44d2"),g=t("ae40"),m=g("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!m},{includes:function(y){return s(this,y,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(n,d,t){var a=t("da84"),s=t("861d"),c=a.document,g=s(c)&&s(c.createElement);n.exports=function(m){return g?c.createElement(m):{}}},ce4e:function(n,d,t){var a=t("da84"),s=t("9112");n.exports=function(c,g){try{s(a,c,g)}catch{a[c]=g}return g}},d012:function(n,d){n.exports={}},d039:function(n,d){n.exports=function(t){try{return!!t()}catch{return!0}}},d066:function(n,d,t){var a=t("428f"),s=t("da84"),c=function(g){return typeof g=="function"?g:void 0};n.exports=function(g,m){return arguments.length<2?c(a[g])||c(s[g]):a[g]&&a[g][m]||s[g]&&s[g][m]}},d1e7:function(n,d,t){var a={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,c=s&&!a.call({1:2},1);d.f=c?function(m){var h=s(this,m);return!!h&&h.enumerable}:a},d28b:function(n,d,t){var a=t("746f");a("iterator")},d2bb:function(n,d,t){var a=t("825a"),s=t("3bbe");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,g={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(g,[]),c=g instanceof Array}catch{}return function(y,S){return a(y),s(S),c?m.call(y,S):y.__proto__=S,y}}():void 0)},d3b7:function(n,d,t){var a=t("00ee"),s=t("6eeb"),c=t("b041");a||s(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(n,d,t){var a=t("9bf2").f,s=t("5135"),c=t("b622"),g=c("toStringTag");n.exports=function(m,h,y){m&&!s(m=y?m:m.prototype,g)&&a(m,g,{configurable:!0,value:h})}},d58f:function(n,d,t){var a=t("1c0b"),s=t("7b0b"),c=t("44ad"),g=t("50c4"),m=function(h){return function(y,S,E,I){a(S);var w=s(y),C=c(w),M=g(w.length),V=h?M-1:0,j=h?-1:1;if(E<2)for(;;){if(V in C){I=C[V],V+=j;break}if(V+=j,h?V<0:M<=V)throw TypeError("Reduce of empty array with no initial value")}for(;h?V>=0:M>V;V+=j)V in C&&(I=S(I,C[V],V,w));return I}};n.exports={left:m(!1),right:m(!0)}},d784:function(n,d,t){t("ac1f");var a=t("6eeb"),s=t("d039"),c=t("b622"),g=t("9263"),m=t("9112"),h=c("species"),y=!s(function(){var C=/./;return C.exec=function(){var M=[];return M.groups={a:"7"},M},"".replace(C,"$<a>")!=="7"}),S=function(){return"a".replace(/./,"$0")==="$0"}(),E=c("replace"),I=function(){return/./[E]?/./[E]("a","$0")==="":!1}(),w=!s(function(){var C=/(?:)/,M=C.exec;C.exec=function(){return M.apply(this,arguments)};var V="ab".split(C);return V.length!==2||V[0]!=="a"||V[1]!=="b"});n.exports=function(C,M,V,j){var D=c(C),Y=!s(function(){var T={};return T[D]=function(){return 7},""[C](T)!=7}),ee=Y&&!s(function(){var T=!1,J=/a/;return C==="split"&&(J={},J.constructor={},J.constructor[h]=function(){return J},J.flags="",J[D]=/./[D]),J.exec=function(){return T=!0,null},J[D](""),!T});if(!Y||!ee||C==="replace"&&!(y&&S&&!I)||C==="split"&&!w){var K=/./[D],$=V(D,""[C],function(T,J,re,W,oe){return J.exec===g?Y&&!oe?{done:!0,value:K.call(J,re,W)}:{done:!0,value:T.call(re,J,W)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:I}),X=$[0],se=$[1];a(String.prototype,C,X),a(RegExp.prototype,D,M==2?function(T,J){return se.call(T,this,J)}:function(T){return se.call(T,this)})}j&&m(RegExp.prototype[D],"sham",!0)}},d81d:function(n,d,t){var a=t("23e7"),s=t("b727").map,c=t("1dde"),g=t("ae40"),m=c("map"),h=g("map");a({target:"Array",proto:!0,forced:!m||!h},{map:function(S){return s(this,S,arguments.length>1?arguments[1]:void 0)}})},da84:function(n,d,t){(function(a){var s=function(c){return c&&c.Math==Math&&c};n.exports=s(typeof globalThis=="object"&&globalThis)||s(typeof window=="object"&&window)||s(typeof self=="object"&&self)||s(typeof a=="object"&&a)||Function("return this")()}).call(this,t("c8ba"))},dbb4:function(n,d,t){var a=t("23e7"),s=t("83ab"),c=t("56ef"),g=t("fc6a"),m=t("06cf"),h=t("8418");a({target:"Object",stat:!0,sham:!s},{getOwnPropertyDescriptors:function(S){for(var E=g(S),I=m.f,w=c(E),C={},M=0,V,j;w.length>M;)j=I(E,V=w[M++]),j!==void 0&&h(C,V,j);return C}})},dbf1:function(n,d,t){(function(a){t.d(d,"a",function(){return c});function s(){return typeof window<"u"?window.console:a.console}var c=s()}).call(this,t("c8ba"))},ddb0:function(n,d,t){var a=t("da84"),s=t("fdbc"),c=t("e260"),g=t("9112"),m=t("b622"),h=m("iterator"),y=m("toStringTag"),S=c.values;for(var E in s){var I=a[E],w=I&&I.prototype;if(w){if(w[h]!==S)try{g(w,h,S)}catch{w[h]=S}if(w[y]||g(w,y,E),s[E]){for(var C in c)if(w[C]!==c[C])try{g(w,C,c[C])}catch{w[C]=c[C]}}}}},df75:function(n,d,t){var a=t("ca84"),s=t("7839");n.exports=Object.keys||function(g){return a(g,s)}},e01a:function(n,d,t){var a=t("23e7"),s=t("83ab"),c=t("da84"),g=t("5135"),m=t("861d"),h=t("9bf2").f,y=t("e893"),S=c.Symbol;if(s&&typeof S=="function"&&(!("description"in S.prototype)||S().description!==void 0)){var E={},I=function(){var D=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Y=this instanceof I?new S(D):D===void 0?S():S(D);return D===""&&(E[Y]=!0),Y};y(I,S);var w=I.prototype=S.prototype;w.constructor=I;var C=w.toString,M=String(S("test"))=="Symbol(test)",V=/^Symbol\((.*)\)[^)]+$/;h(w,"description",{configurable:!0,get:function(){var D=m(this)?this.valueOf():this,Y=C.call(D);if(g(E,D))return"";var ee=M?Y.slice(7,-1):Y.replace(V,"$1");return ee===""?void 0:ee}}),a({global:!0,forced:!0},{Symbol:I})}},e163:function(n,d,t){var a=t("5135"),s=t("7b0b"),c=t("f772"),g=t("e177"),m=c("IE_PROTO"),h=Object.prototype;n.exports=g?Object.getPrototypeOf:function(y){return y=s(y),a(y,m)?y[m]:typeof y.constructor=="function"&&y instanceof y.constructor?y.constructor.prototype:y instanceof Object?h:null}},e177:function(n,d,t){var a=t("d039");n.exports=!a(function(){function s(){}return s.prototype.constructor=null,Object.getPrototypeOf(new s)!==s.prototype})},e260:function(n,d,t){var a=t("fc6a"),s=t("44d2"),c=t("3f8c"),g=t("69f3"),m=t("7dd0"),h="Array Iterator",y=g.set,S=g.getterFor(h);n.exports=m(Array,"Array",function(E,I){y(this,{type:h,target:a(E),index:0,kind:I})},function(){var E=S(this),I=E.target,w=E.kind,C=E.index++;return!I||C>=I.length?(E.target=void 0,{value:void 0,done:!0}):w=="keys"?{value:C,done:!1}:w=="values"?{value:I[C],done:!1}:{value:[C,I[C]],done:!1}},"values"),c.Arguments=c.Array,s("keys"),s("values"),s("entries")},e439:function(n,d,t){var a=t("23e7"),s=t("d039"),c=t("fc6a"),g=t("06cf").f,m=t("83ab"),h=s(function(){g(1)}),y=!m||h;a({target:"Object",stat:!0,forced:y,sham:!m},{getOwnPropertyDescriptor:function(E,I){return g(c(E),I)}})},e538:function(n,d,t){var a=t("b622");d.f=a},e893:function(n,d,t){var a=t("5135"),s=t("56ef"),c=t("06cf"),g=t("9bf2");n.exports=function(m,h){for(var y=s(h),S=g.f,E=c.f,I=0;I<y.length;I++){var w=y[I];a(m,w)||S(m,w,E(h,w))}}},e8b5:function(n,d,t){var a=t("c6b6");n.exports=Array.isArray||function(c){return a(c)=="Array"}},e95a:function(n,d,t){var a=t("b622"),s=t("3f8c"),c=a("iterator"),g=Array.prototype;n.exports=function(m){return m!==void 0&&(s.Array===m||g[c]===m)}},f5df:function(n,d,t){var a=t("00ee"),s=t("c6b6"),c=t("b622"),g=c("toStringTag"),m=s(function(){return arguments}())=="Arguments",h=function(y,S){try{return y[S]}catch{}};n.exports=a?s:function(y){var S,E,I;return y===void 0?"Undefined":y===null?"Null":typeof(E=h(S=Object(y),g))=="string"?E:m?s(S):(I=s(S))=="Object"&&typeof S.callee=="function"?"Arguments":I}},f772:function(n,d,t){var a=t("5692"),s=t("90e3"),c=a("keys");n.exports=function(g){return c[g]||(c[g]=s(g))}},fb15:function(n,d,t){if(t.r(d),typeof window<"u"){var a=window.document.currentScript;{var s=t("8875");a=s(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:s})}var c=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(t.p=c[1])}t("99af"),t("4de4"),t("4160"),t("c975"),t("d81d"),t("a434"),t("159b"),t("a4d3"),t("e439"),t("dbb4"),t("b64b");function g(A,O,P){return O in A?Object.defineProperty(A,O,{value:P,enumerable:!0,configurable:!0,writable:!0}):A[O]=P,A}function m(A,O){var P=Object.keys(A);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(A);O&&(N=N.filter(function(_){return Object.getOwnPropertyDescriptor(A,_).enumerable})),P.push.apply(P,N)}return P}function h(A){for(var O=1;O<arguments.length;O++){var P=arguments[O]!=null?arguments[O]:{};O%2?m(Object(P),!0).forEach(function(N){g(A,N,P[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(P)):m(Object(P)).forEach(function(N){Object.defineProperty(A,N,Object.getOwnPropertyDescriptor(P,N))})}return A}function y(A){if(Array.isArray(A))return A}t("e01a"),t("d28b"),t("e260"),t("d3b7"),t("3ca3"),t("ddb0");function S(A,O){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(A)))){var P=[],N=!0,_=!1,de=void 0;try{for(var fe=A[Symbol.iterator](),Ie;!(N=(Ie=fe.next()).done)&&(P.push(Ie.value),!(O&&P.length===O));N=!0);}catch(Be){_=!0,de=Be}finally{try{!N&&fe.return!=null&&fe.return()}finally{if(_)throw de}}return P}}t("a630"),t("fb6a"),t("b0c0"),t("25f0");function E(A,O){(O==null||O>A.length)&&(O=A.length);for(var P=0,N=new Array(O);P<O;P++)N[P]=A[P];return N}function I(A,O){if(A){if(typeof A=="string")return E(A,O);var P=Object.prototype.toString.call(A).slice(8,-1);if(P==="Object"&&A.constructor&&(P=A.constructor.name),P==="Map"||P==="Set")return Array.from(A);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return E(A,O)}}function w(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  9. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(A,O){return y(A)||S(A,O)||I(A,O)||w()}function M(A){if(Array.isArray(A))return E(A)}function V(A){if(typeof Symbol<"u"&&Symbol.iterator in Object(A))return Array.from(A)}function j(){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 D(A){return M(A)||V(A)||I(A)||j()}var Y=t("a352"),ee=t.n(Y);function K(A){A.parentElement!==null&&A.parentElement.removeChild(A)}function $(A,O,P){var N=P===0?A.children[0]:A.children[P-1].nextSibling;A.insertBefore(O,N)}var X=t("dbf1");t("13d5"),t("4fad"),t("ac1f"),t("5319");function se(A){var O=Object.create(null);return function(N){var _=O[N];return _||(O[N]=A(N))}}var T=/-(\w)/g,J=se(function(A){return A.replace(T,function(O,P){return P.toUpperCase()})});t("5db7"),t("73d9");var re=["Start","Add","Remove","Update","End"],W=["Choose","Unchoose","Sort","Filter","Clone"],oe=["Move"],xe=[oe,re,W].flatMap(function(A){return A}).map(function(A){return"on".concat(A)}),Oe={manage:oe,manageAndEmit:re,emit:W};function _e(A){return xe.indexOf(A)!==-1}t("caad"),t("2ca0");var Ke=["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 we(A){return Ke.includes(A)}function We(A){return["transition-group","TransitionGroup"].includes(A)}function Me(A){return["id","class","role","style"].includes(A)||A.startsWith("data-")||A.startsWith("aria-")||A.startsWith("on")}function Te(A){return A.reduce(function(O,P){var N=C(P,2),_=N[0],de=N[1];return O[_]=de,O},{})}function De(A){var O=A.$attrs,P=A.componentData,N=P===void 0?{}:P,_=Te(Object.entries(O).filter(function(de){var fe=C(de,2),Ie=fe[0];return fe[1],Me(Ie)}));return h(h({},_),N)}function Pe(A){var O=A.$attrs,P=A.callBackBuilder,N=Te(ct(O));Object.entries(P).forEach(function(de){var fe=C(de,2),Ie=fe[0],Be=fe[1];Oe[Ie].forEach(function(Z){N["on".concat(Z)]=Be(Z)})});var _="[data-draggable]".concat(N.draggable||"");return h(h({},N),{},{draggable:_})}function ct(A){return Object.entries(A).filter(function(O){var P=C(O,2),N=P[0];return P[1],!Me(N)}).map(function(O){var P=C(O,2),N=P[0],_=P[1];return[J(N),_]}).filter(function(O){var P=C(O,2),N=P[0];return P[1],!_e(N)})}t("c740");function ze(A,O){if(!(A instanceof O))throw new TypeError("Cannot call a class as a function")}function He(A,O){for(var P=0;P<O.length;P++){var N=O[P];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(A,N.key,N)}}function Nt(A,O,P){return O&&He(A.prototype,O),A}var Kt=function(O){var P=O.el;return P},et=function(O,P){return O.__draggable_context=P},tt=function(O){return O.__draggable_context},Ft=function(){function A(O){var P=O.nodes,N=P.header,_=P.default,de=P.footer,fe=O.root,Ie=O.realList;ze(this,A),this.defaultNodes=_,this.children=[].concat(D(N),D(_),D(de)),this.externalComponent=fe.externalComponent,this.rootTransition=fe.transition,this.tag=fe.tag,this.realList=Ie}return Nt(A,[{key:"render",value:function(P,N){var _=this.tag,de=this.children,fe=this._isRootComponent,Ie=fe?{default:function(){return de}}:de;return P(_,N,Ie)}},{key:"updated",value:function(){var P=this.defaultNodes,N=this.realList;P.forEach(function(_,de){et(Kt(_),{element:N[de],index:de})})}},{key:"getUnderlyingVm",value:function(P){return tt(P)}},{key:"getVmIndexFromDomIndex",value:function(P,N){var _=this.defaultNodes,de=_.length,fe=N.children,Ie=fe.item(P);if(Ie===null)return de;var Be=tt(Ie);if(Be)return Be.index;if(de===0)return 0;var Z=Kt(_[0]),te=D(fe).findIndex(function(le){return le===Z});return P<te?0:de}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),A}(),wt=t("8bbf");function At(A,O){var P=A[O];return P?P():[]}function Sn(A){var O=A.$slots,P=A.realList,N=A.getKey,_=P||[],de=["header","footer"].map(function(le){return At(O,le)}),fe=C(de,2),Ie=fe[0],Be=fe[1],Z=O.item;if(!Z)throw new Error("draggable element must have an item slot");var te=_.flatMap(function(le,he){return Z({element:le,index:he}).map(function(ye){return ye.key=N(le),ye.props=h(h({},ye.props||{}),{},{"data-draggable":!0}),ye})});if(te.length!==_.length)throw new Error("Item slot must have only one child");return{header:Ie,footer:Be,default:te}}function Ln(A){var O=We(A),P=!we(A)&&!O;return{transition:O,externalComponent:P,tag:P?Object(wt.resolveComponent)(A):O?wt.TransitionGroup:A}}function Et(A){var O=A.$slots,P=A.tag,N=A.realList,_=A.getKey,de=Sn({$slots:O,realList:N,getKey:_}),fe=Ln(P);return new Ft({nodes:de,root:fe,realList:N})}function Mt(A,O){var P=this;Object(wt.nextTick)(function(){return P.$emit(A.toLowerCase(),O)})}function Jt(A){var O=this;return function(P,N){if(O.realList!==null)return O["onDrag".concat(A)](P,N)}}function on(A){var O=this,P=Jt.call(this,A);return function(N,_){P.call(O,N,_),Mt.call(O,A,N)}}var an=null,rn={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(O){return O}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},ln=["update:modelValue","change"].concat(D([].concat(D(Oe.manageAndEmit),D(Oe.emit)).map(function(A){return A.toLowerCase()}))),Wt=Object(wt.defineComponent)({name:"draggable",inheritAttrs:!1,props:rn,emits:ln,data:function(){return{error:!1}},render:function(){try{this.error=!1;var O=this.$slots,P=this.$attrs,N=this.tag,_=this.componentData,de=this.realList,fe=this.getKey,Ie=Et({$slots:O,tag:N,realList:de,getKey:fe});this.componentStructure=Ie;var Be=De({$attrs:P,componentData:_});return Ie.render(wt.h,Be)}catch(Z){return this.error=!0,Object(wt.h)("pre",{style:{color:"red"}},Z.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&X.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var O=this;if(!this.error){var P=this.$attrs,N=this.$el,_=this.componentStructure;_.updated();var de=Pe({$attrs:P,callBackBuilder:{manageAndEmit:function(Be){return on.call(O,Be)},emit:function(Be){return Mt.bind(O,Be)},manage:function(Be){return Jt.call(O,Be)}}}),fe=N.nodeType===1?N:N.parentElement;this._sortable=new ee.a(fe,de),this.targetDomElement=fe,fe.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var O=this.list;return O||this.modelValue},getKey:function(){var O=this.itemKey;return typeof O=="function"?O:function(P){return P[O]}}},watch:{$attrs:{handler:function(O){var P=this._sortable;P&&ct(O).forEach(function(N){var _=C(N,2),de=_[0],fe=_[1];P.option(de,fe)})},deep:!0}},methods:{getUnderlyingVm:function(O){return this.componentStructure.getUnderlyingVm(O)||null},getUnderlyingPotencialDraggableComponent:function(O){return O.__draggable_component__},emitChanges:function(O){var P=this;Object(wt.nextTick)(function(){return P.$emit("change",O)})},alterList:function(O){if(this.list){O(this.list);return}var P=D(this.modelValue);O(P),this.$emit("update:modelValue",P)},spliceList:function(){var O=arguments,P=function(_){return _.splice.apply(_,D(O))};this.alterList(P)},updatePosition:function(O,P){var N=function(de){return de.splice(P,0,de.splice(O,1)[0])};this.alterList(N)},getRelatedContextFromMoveEvent:function(O){var P=O.to,N=O.related,_=this.getUnderlyingPotencialDraggableComponent(P);if(!_)return{component:_};var de=_.realList,fe={list:de,component:_};if(P!==N&&de){var Ie=_.getUnderlyingVm(N)||{};return h(h({},Ie),fe)}return fe},getVmIndexFromDomIndex:function(O){return this.componentStructure.getVmIndexFromDomIndex(O,this.targetDomElement)},onDragStart:function(O){this.context=this.getUnderlyingVm(O.item),O.item._underlying_vm_=this.clone(this.context.element),an=O.item},onDragAdd:function(O){var P=O.item._underlying_vm_;if(P!==void 0){K(O.item);var N=this.getVmIndexFromDomIndex(O.newIndex);this.spliceList(N,0,P);var _={element:P,newIndex:N};this.emitChanges({added:_})}},onDragRemove:function(O){if($(this.$el,O.item,O.oldIndex),O.pullMode==="clone"){K(O.clone);return}var P=this.context,N=P.index,_=P.element;this.spliceList(N,1);var de={element:_,oldIndex:N};this.emitChanges({removed:de})},onDragUpdate:function(O){K(O.item),$(O.from,O.item,O.oldIndex);var P=this.context.index,N=this.getVmIndexFromDomIndex(O.newIndex);this.updatePosition(P,N);var _={element:this.context.element,oldIndex:P,newIndex:N};this.emitChanges({moved:_})},computeFutureIndex:function(O,P){if(!O.element)return 0;var N=D(P.to.children).filter(function(Ie){return Ie.style.display!=="none"}),_=N.indexOf(P.related),de=O.component.getVmIndexFromDomIndex(_),fe=N.indexOf(an)!==-1;return fe||!P.willInsertAfter?de:de+1},onDragMove:function(O,P){var N=this.move,_=this.realList;if(!N||!_)return!0;var de=this.getRelatedContextFromMoveEvent(O),fe=this.computeFutureIndex(de,O),Ie=h(h({},this.context),{},{futureIndex:fe}),Be=h(h({},O),{},{relatedContext:de,draggedContext:Ie});return N(Be,P)},onDragEnd:function(){an=null}}}),sn=Wt;d.default=sn},fb6a:function(n,d,t){var a=t("23e7"),s=t("861d"),c=t("e8b5"),g=t("23cb"),m=t("50c4"),h=t("fc6a"),y=t("8418"),S=t("b622"),E=t("1dde"),I=t("ae40"),w=E("slice"),C=I("slice",{ACCESSORS:!0,0:0,1:2}),M=S("species"),V=[].slice,j=Math.max;a({target:"Array",proto:!0,forced:!w||!C},{slice:function(Y,ee){var K=h(this),$=m(K.length),X=g(Y,$),se=g(ee===void 0?$:ee,$),T,J,re;if(c(K)&&(T=K.constructor,typeof T=="function"&&(T===Array||c(T.prototype))?T=void 0:s(T)&&(T=T[M],T===null&&(T=void 0)),T===Array||T===void 0))return V.call(K,X,se);for(J=new(T===void 0?Array:T)(j(se-X,0)),re=0;X<se;X++,re++)X in K&&y(J,re,K[X]);return J.length=re,J}})},fc6a:function(n,d,t){var a=t("44ad"),s=t("1d80");n.exports=function(c){return a(s(c))}},fdbc:function(n,d){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,d,t){var a=t("4930");n.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(ma);var bs=ma.exports;const va=yl(bs);function pa(r,i){["name","gender","phone","id_card","ethnicity","height","weight","current_address","household_location","marital_status","expected_salary"].forEach(n=>{i[n]&&(r[n].visible=i[n].visible,r[n].required=i[n].required)}),["family_member","education","work_experience"].forEach(n=>{i[n]&&(r[n].visible=i[n].visible,Object.keys(i[n].fields).forEach(d=>{r[n].fields[d]&&(r[n].fields[d].visible=i[n].fields[d].visible,r[n].fields[d].required=i[n].fields[d].required)}))})}const Ss={class:"position-detail-container"},Es={class:"header-container"},xs={class:"header-actions"},Is={class:"detail-content"},Cs={class:"detail-item"},ws={key:0,class:"detail-value"},As={key:1,class:"title-edit-container"},Os={class:"title-edit-actions"},Ts={class:"detail-item"},Ds={key:0,class:"detail-value"},Ps={key:1,class:"title-edit-container"},Vs={class:"title-edit-actions"},Rs={class:"detail-item"},Us={key:0,class:"detail-value"},Ks={key:1,class:"title-edit-container"},Ms={class:"title-edit-actions"},Bs={class:"detail-item"},js={key:0,class:"detail-value"},ks={key:1,class:"title-edit-container"},Ns={class:"title-edit-actions"},Fs={class:"detail-item"},Ls={key:0,class:"detail-value"},Qs={key:1,class:"title-edit-container"},zs={class:"title-edit-actions"},Gs={class:"detail-item"},$s={key:0,class:"detail-value"},Js={key:1,class:"title-edit-container"},Ws={class:"title-edit-actions"},Hs={class:"detail-item"},Ys={class:"detail-value"},Xs={class:"detail-item"},Zs={key:0,class:"detail-value"},qs={key:1,class:"title-edit-container"},_s={class:"title-edit-actions"},ed={class:"detail-item"},td=["innerHTML"],nd={key:2,class:"title-edit-container"},od={class:"title-edit-actions"},id={class:"detail-item"},ad=["innerHTML"],rd={key:2,class:"title-edit-container"},ld={class:"title-edit-actions"},sd={class:"detail-item"},dd={key:0,class:"detail-value"},ud={key:1,class:"title-edit-container"},cd={class:"title-edit-actions"},fd={class:"status-cards"},vd={class:"status-switch"},pd={class:"status-text"},md={class:"section-title"},gd={class:"usage-content"},hd={key:0,class:"usage-value"},yd={key:1,class:"title-edit-container"},bd={class:"title-edit-actions"},Sd={class:"section-title"},Ed={class:"process-steps"},xd={class:"step-number"},Id={class:"step-content"},Cd={class:"step-title"},wd={class:"section-title"},Ad={class:"process-dialog-content"},Od={key:0,class:"add-process-btn-top"},Td={class:"process-number"},Dd={class:"process-edit-content"},Pd={class:"process-edit-desc"},Vd={class:"process-edit-btn"},Rd=["onClick"],Ud={class:"dialog-footer"},Kd={class:"ai-video-steps"},Md={key:0,class:"ai-video-content","element-loading-text":"正在生成能力标签..."},Bd={class:"ai-video-options"},jd={class:"recommended-dimensions"},kd={class:"dimension-grid"},Nd={class:"ability-label"},Fd={class:"optional-dimensions"},Ld={class:"header-row"},Qd={class:"right_btn"},zd={class:"dimension-grid"},Gd={class:"ability-label"},$d={class:"custom-dimensions"},Jd={class:"dimension-form"},Wd={class:"dimension-row"},Hd={class:"dimension-input"},Yd={class:"dimension-input"},Xd={class:"dimension-actions"},Zd={key:1,class:"ai-video-content"},qd={class:"interview-settings"},_d={class:"interview-header"},eu={class:"interview-actions"},tu={class:"question-switches"},nu={class:"switch-item"},ou={class:"switch-item"},iu={class:"switch-item"},au={class:"switch-item"},ru={class:"interview-duration"},lu={class:"duration-value"},su={class:"interview-content"},du={class:"interview-questions-container","element-loading-text":"AI正在生成题目..."},uu={key:0,class:"no-questions"},cu={key:1,class:"question-list"},fu={class:"question-card"},vu={class:"question-header"},pu={class:"question-title"},mu={class:"title-content"},gu={class:"question-content"},hu={class:"question-number"},yu={style:{color:"#0017ab"}},bu={class:"question-tags"},Su={key:0,class:"more-tags-indicator"},Eu={class:"question-actions",style:{"margin-top":"0px"}},xu={class:"question-info"},Iu={class:"info-item"},Cu={key:0,class:"question-actions"},wu={class:"answer-limit"},Au={class:"answer-limit"},Ou={key:1,class:"question-actions"},Tu={class:"answer-limit"},Du={class:"multi-dimension-questions"},Pu={class:"dimension-list"},Vu={class:"dimension-header"},Ru={class:"dimension-info"},Uu={class:"ability-name"},Ku=["onClick"],Mu={key:2,class:"ai-video-content"},Bu={class:"system-settings"},ju={class:"setting-section"},ku={style:{display:"flex","align-items":"flex-start"}},Nu={style:{width:"100px",height:"170px","background-color":"#f2f2f2","margin-right":"30px","border-radius":"10px",overflow:"hidden"}},Fu=["src"],Lu={class:"interviewer-avatars"},Qu=["onClick"],zu={class:"avatar-wrapper"},Gu=["src","alt"],$u=["title"],Ju={class:"setting-item",style:{border:"none"}},Wu={class:"setting-options"},Hu={class:"interview-settings"},Yu={class:"setting-item"},Xu={class:"setting-item"},Zu={class:"setting-options"},qu={class:"setting-item"},_u={class:"drawer-footer"},ec={class:"video-lecture-form"},tc={class:"form-item"},nc={class:"upload-area"},oc={class:"form-item"},ic={class:"dialog-footer"},ac={class:"ai-chat-content"},rc={class:"chat-settings"},lc={class:"chat-actions"},sc={class:"chat-questions"},dc={key:0,class:"empty-questions"},uc={key:1,class:"question-list"},cc={class:"question-card"},fc={class:"question-header"},vc={class:"question-title"},pc={class:"question-number"},mc={class:"question-actions"},gc={class:"weight-control"},hc={class:"answer-limit"},yc={class:"question-info"},bc={class:"info-item"},Sc={class:"info-item"},Ec={class:"info-item"},xc={class:"drawer-footer"},Ic={class:"question-form"},Cc={class:"form-item"},wc={class:"form-item"},Ac={class:"form-item"},Oc={class:"competency-config"},Tc={class:"tag-name"},Dc={class:"form-tip"},Pc={class:"form-item"},Vc={class:"form-item"},Rc={key:0,class:"form-item"},Uc=["onClick"],Kc={style:{display:"flex","justify-content":"space-between","margin-top":"10px"}},Mc={class:"form-item"},Bc={class:"form-item"},jc={class:"form-item"},kc={class:"form-item"},Nc={class:"dialog-footer"},Fc={class:"question-select-content"},Lc={class:"search-bar"},Qc={class:"search-inputs"},zc={class:"question-lists"},Gc={class:"pagination-container"},$c={class:"dialog-footer"},Jc={class:"data-collection-form"},Wc={class:"field-config-panel"},Hc={class:"field-config-list"},Yc={class:"field-config-item"},Xc={class:"field-label"},Zc={class:"field-config-item"},qc={class:"field-label"},_c={class:"field-config-item sub-field"},ef={class:"field-label"},tf={class:"field-config-item"},nf={class:"field-label"},of={class:"field-config-item sub-field"},af={class:"field-label"},rf={class:"field-config-item"},lf={class:"field-label"},sf={class:"field-config-item"},df={class:"field-label"},uf={class:"field-config-item sub-field"},cf={class:"field-label"},ff={class:"dialog-footer"},vf={class:"resume-collection-form"},pf={class:"form-item"},mf={class:"dialog-footer"},gf={class:"code-test-form"},hf={class:"form-item"},yf={class:"form-item"},bf={class:"switch-label"},Sf={class:"form-item"},Ef={class:"test-paper-selector"},xf={key:0,class:"empty-paper"},If={key:1,class:"selected-paper"},Cf={class:"paper-info"},wf={class:"paper-title"},Af={class:"paper-meta"},Of={class:"paper-actions"},Tf={class:"dialog-footer"},Df={class:"typing-test-form"},Pf={class:"form-item"},Vf={class:"article-selection"},Rf={class:"form-item"},Uf={class:"form-item"},Kf={class:"time-input-container"},Mf={class:"form-item"},Bf={class:"upload-area"},jf={class:"form-item"},kf={class:"form-item"},Nf={class:"form-item"},Ff={class:"form-item"},Lf={class:"criteria-options"},Qf={class:"dialog-footer"},zf={class:"interview-settings-content"},Gf={class:"settings-section"},$f={class:"setting-item"},Jf={class:"setting-item"},Wf={class:"setting-item"},Hf={class:"setting-item"},Yf={class:"setting-item"},Xf={class:"settings-section"},Zf={class:"setting-item"},qf={class:"setting-info"},_f={class:"setting-item"},ev={class:"setting-info"},tv={key:0,class:"setting-desc-container"},nv={class:"setting-desc"},ov={key:1,class:"desc-edit-container"},iv={class:"desc-edit-actions"},av={class:"setting-item"},rv={class:"setting-info"},lv={key:0,class:"setting-desc-container"},sv={class:"setting-desc"},dv={key:1,class:"desc-edit-container"},uv={class:"desc-edit-actions"},cv={class:"setting-item"},fv={class:"setting-info"},vv={key:0,class:"setting-desc-container"},pv={class:"setting-desc"},mv={key:1,class:"desc-edit-container"},gv={class:"desc-edit-actions"},hv={class:"dialog-footer"},yv={class:"question-select-content"},bv={class:"search-bar"},Sv={class:"search-inputs"},Ev={class:"question-lists"},xv={class:"pagination-container"},Iv={class:"dialog-footer"},Cv={class:"candidate-questions-form"},wv={class:"form-item"},Av={class:"form-item"},Ov={class:"form-item"},Tv={class:"dialog-footer"},Dv=ll({__name:"index",setup(r){const i=sl(),o=dl();z(o.params.id);const u=z(!1),n=z(!1),d=nt({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}),t=nt([{id:6,name:"简历收集",description:"简历收集",active:!0,type:"resume_collection",visible:!0},{id:5,name:"资料收集",description:"资料收集",active:!0,type:"data_collection",visible:!0},{id:2,name:"AI考察",description:"AI考察",active:!0,type:"ai_video",visible:!0},{id:8,name:"常识问题",description:"常识问题",active:!0,type:"common_sense",visible:!0},{id:9,name:"心理问题",description:"心理问题",active:!0,type:"psychological_problem",visible:!0},{id:7,name:"候选人提问",description:"时长5分钟,最多3个问题",active:!0,type:"candidate_questions",visible:!0,config:{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}},{id:3,name:"已通过",description:"已通过",active:!0,type:"passed",visible:!0},{id:4,name:"已淘汰",description:"已淘汰",active:!1,type:"rejected",visible:!0}]),a=z(!1),s=[{label:"AI考察",value:"ai_video"},{label:"视频宣讲",value:"video_presentation"},{label:"资料收集",value:"data_collection"},{label:"简历收集",value:"resume_collection"},{label:"候选人提问",value:"candidate_questions"},{label:"心理问题",value:"psychological_problem"},{label:"常识问题",value:"common_sense"}],c=z(!1),g=v=>{mt.pageSize=v,zt({page:mt.page,limit:mt.pageSize,question_form:Ye.question_form}).then(e=>{e.data&&(mt.value=e.data.items,Yt.page=e.data.page,Yt.pageSize=e.data.limit,io.value=e.data.total)})},m=v=>{mt.page=v,zt({page:mt.page,limit:mt.pageSize,question_form:Ye.question_form}).then(e=>{e.data&&(mt.value=e.data.items,Yt.page=e.data.page,Yt.pageSize=e.data.limit,io.value=e.data.total)})},h=async()=>{const v=Ht.value.map(e=>e.id);if(console.log("selectedQuestionIds",v),v.length===0){R.warning("请至少选择一个问题");return}try{await qi({position_id:o.query.id,question_id:v,duration:60,tenant_id:"1"});const e=mt.value.filter(U=>U.selected);Ht.value.push(...e),R.success("问题添加成功"),c.value=!1}catch(e){console.error("添加问题失败:",e),R.error("添加问题失败,请重试")}},y=()=>{Tn.value=!0,ta({position_id:o.query.id}).then(v=>{v.data.forEach(e=>{e.selected=!1}),Bt.value=v.data,console.log("res",v),Tn.value=!1}).catch(v=>{console.log("err",v),Tn.value=!1})},S=xl(),E=v=>{if(console.log("地址选择变化:",v),v&&Array.isArray(v)&&v.length>0){const[e,U,x]=v,F=S.find(me=>me.code===e);let L;F&&F.children&&(L=F.children.find(me=>me.code===U),L&&L.children&&L.children.find(me=>me.code===x))}},I=(v,e)=>{Rl({id:v,is_required_correct:e}).then(U=>{console.log("res",U)})},w=z(-1),C=z(!1),M=nt({top:"0px",left:"0px"}),V=z(!1),j=nt({qualityControl:!1,teamwork:!1,problemSolving:!1,dataAnalysis:!1,positionMatch:!1,proactiveness:!1,basicAbility:!1,communication:!1,serviceAwareness:!1,xxxx:!1}),D=z(1),Y=z([{label:"沟通能力",value:"communication",level:"CC",description:"能够清晰、准确地表达想法,善于倾听和理解他人的观点,具备良好的书面和口头表达能力。",expanded:!1,isNew:!0},{label:"团队协作",value:"teamwork",level:"CC",description:"能够与团队成员有效合作,共同完成目标,具备良好的团队精神和协作意识。",expanded:!1,isNew:!1}]);nt({min:0,max:100,minScore:0,maxScore:0});const ee=v=>{console.log(v)};z("standard"),z(!1);const K=z(!1),$=nt({title:"",videoFile:null,description:"",broadcastType:"required"}),X=z(!1);z(15),z(5);const se=z(!1),T=nt({id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:""}),J=v=>v.map(e=>e.id),re=z([]),W=z([{label:"后端开发",value:"backend"},{label:"前端开发",value:"frontend"},{label:"产品经理",value:"product_manager"},{label:"项目经理",value:"project_manager"},{label:"测试工程师",value:"test_engineer"}]),oe=z([{label:"技术能力",value:"tech"},{label:"管理能力",value:"management"},{label:"沟通能力",value:"communication"},{label:"专业知识",value:"professional"},{label:"个人素质",value:"personal"}]),xe=z([{label:"时间管理",value:"time_management"},{label:"压力处理",value:"pressure_handling"},{label:"团队合作",value:"team_cooperation"},{label:"问题分析",value:"problem_analysis"},{label:"创新思维",value:"innovative_thinking"}]),Oe=()=>{Object.assign(T,{id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:""})},_e=()=>{se.value=!1,Oe()},Ke=async()=>{if(!T.content){R.error("请输入题目内容");return}if(Zr())try{const v={id:T.id,content:T.content,competency_tags:T.competency_tags,options:T.options,weight:T.weight,level:T.level,question_form:T.question_form,position:T.position,category:T.category,suggestedDuration:T.suggestedDuration,scoring_reference:T.scoring_reference};console.log(v),se.value=!1,Oe()}catch(v){console.error("添加问题失败:",v),R.error("添加问题失败,请重试")}},we=z(!1),We=nt({isRequired:!1,questions:[]});z([{label:"Q1",value:"q1",isVisible:!0,enableScoring:!1,isRequired:!1},{label:"请问你的毕业院校是哪里?",value:"school",isVisible:!0,enableScoring:!1,isRequired:!0}]);const Me=z(!1),Te=nt({title:"简历收集",isRequired:!0,steps:4}),De=()=>{Me.value=!0},Pe=()=>{Me.value=!1,Object.assign(Te,{title:"简历收集",isRequired:!0,steps:4})},ct=()=>{const v={id:Date.now(),name:Te.title,description:"简历收集",active:!0,type:"resume_collection",config:{...Te}};t.splice(w.value,0,v),Me.value=!1,R.success("简历收集步骤已添加"),Pe()},ze=z(!1),He=nt({enableScoreQuestions:!1,enableColorBlindQuestions:!1,enableOpenQuestions:!1}),Nt=async()=>{try{const v=o.query.id;if(!v){R.error("职位ID不存在");return}const e=Array.isArray(v)?v[0]:v,U=v,x=await gl(v);if(x&&x.data){Object.assign(d,x.data),re.value=x.data.competency_tags;const F=await Kn(v);F&&F.data&&(be.value=F.data.id,F.data.enable_psychological_test!==void 0&&(He.enableScoreQuestions=F.data.enable_psychological_test),F.data.enable_color_blind_test!==void 0&&(He.enableColorBlindQuestions=F.data.enable_color_blind_test)),u.value=d.status===1}}catch(v){console.error("获取职位详情失败:",v),R.error("获取职位详情失败")}},Kt=()=>{i.push("/position/list")},et=()=>{i.push("/position/list")},tt=()=>{R.success("分享链接已复制到剪贴板")},Ft=async v=>{const e=o.query.id;try{const U=v?1:0;await Ot({id:e,status:U}),d.status=U,R.success(`职位已${v?"开启":"关闭"}`)}catch(U){console.error("修改状态失败:",U),R.error("修改状态失败"),u.value=!v}},wt=()=>{a.value=!0},At=()=>{a.value=!1,R.success("招聘流程已更新")},Sn=()=>{a.value=!1},Ln=(v,e)=>{v.type=="ai_video"&&(V.value=!1),v.type=="ai_chat"&&(X.value=!1),v.type=="ai_video"&&yt({id:be.value,enable_open_questions:!1}).then(U=>{U.code==2e3?R.success("删除成功"):R.error("删除失败")}),v.type=="psychological_problem"&&yt({id:be.value,enable_scoring_questions:!1}).then(U=>{U.code==2e3?R.success("删除成功"):R.error("删除失败")}),v.type=="common_sense"&&yt({id:be.value,enable_single_choice:!1,enable_multiple_choice:!1,enable_image_choice:!1,enable_fill_blank:!1}).then(U=>{U.code==2e3?R.success("删除成功"):R.error("删除失败")}),t.splice(e,1)},Et=v=>({0:"未发布",1:"已发布",2:"已结束"})[v]||"未知状态",Mt=v=>({0:"info",1:"success",2:"danger"})[v]||"info",Jt=v=>({0:"全职",1:"兼职",2:"实习",3:"其他"})[v]||"未知",on=(v,e)=>{w.value=v,C.value=!0;const U=e.currentTarget,x=U.closest(".process-dialog-content");if(x){const F=U.getBoundingClientRect(),L=x.getBoundingClientRect(),me=F.bottom-L.top+5,q=F.left-L.left;M.top=`${me}px`,M.left=`${q}px`}e.stopPropagation()},an=async(v,e)=>{if(v==="ai_video"&&yt({id:be.value,enable_open_questions:!0}).then(F=>{F.code==2e3?(t[2].visible=!0,C.value=!1):R.error("更新配置失败")}),v==="common_sense"&&yt({id:be.value,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_fill_blank:!0}).then(F=>{F.code==2e3?(t[3].visible=!0,console.log("recruitmentProcess",t),C.value=!1):R.error("更新配置失败")}),v==="psychological_problem"&&yt({id:be.value,enable_scoring_questions:!0}).then(F=>{F.code==2e3?(t[4].visible=!0,C.value=!1):R.error("更新配置失败")}),v==="post_render_questions"){il.value=!0,C.value=!1;return}if(t.find(F=>!!(F.type&&F.type===v||F.name===e))){R.warning(`"${e}"步骤已存在,不能重复添加`),C.value=!1;return}if(v==="ai_chat"){X.value=!0,C.value=!1;return}if(v==="video_presentation"){O(),C.value=!1;return}if(v==="data_collection"){const F=await Kn(o.query.id);F&&F.data?(be.value=F.data.id,pa(Q,F.data.profile_fields_config),we.value=!0,C.value=!1):(we.value=!0,C.value=!1);return}if(v==="resume_collection"){De(),C.value=!1;return}if(v==="code_test"){Da(),C.value=!1;return}if(v==="typing_test"){zn.value=!0,C.value=!1;return}if(v==="candidate_questions"){Dn.value=!0,C.value=!1;return}const x={id:Date.now(),name:e,description:e,active:!0,type:v,visible:!0};console.log("newStep",x),t.splice(w.value,0,x),C.value=!1},rn=async()=>{if(D.value<3){if(D.value===1){const v=Bt.value.filter(e=>e.selected);if(v.length===0){R.warning("请至少选择一个胜任力考核维度");return}try{const e=v.map(U=>({name:U.name,description:U.description,importance:U.importance}));await Ul({position_id:o.query.id,tenant_id:"1",tags:e}).then(U=>{U.code==2e3&&(Y.value=U.data.map(x=>({label:x.name,value:x.name.toLowerCase().replace(/\s+/g,"_"),id:x.id,description:x.description,level:"CC",expanded:!1,isNew:!0})))})}catch(e){console.error("保存胜任力标签失败:",e),R.error("保存胜任力标签失败");return}}if(D.value===2){if(Z.value.length===0){R.warning("请至少添加一个面试题目");return}try{await br()}catch(v){console.error("保存题目失败:",v),R.error("保存题目失败");return}}if(D.value===3){const v=Sr();if(!v.isValid){v.messages.forEach(U=>{R.warning(U)});return}const e=Ir();console.log("完整的面试配置:",e)}D.value++}else Wt()},ln=()=>{D.value>1&&D.value--},Wt=async()=>{var F;if(!ft.value||!ft.value.id){R.warning("请选择面试官形象");return}const v={id:ft.value.id,name:ft.value.name,avatar_url:ft.value.avatar_url||ft.value.image},e=oi(),U={enableScoreQuestions:He.enableScoreQuestions,enableColorBlindQuestions:He.enableColorBlindQuestions};if(be.value==0){const L=await mn({position_id:o.query.id,digital_human_id:ft.value.id});if(L.code==2e3){R.success("配置保存成功");try{const me={config_id:((F=L.data)==null?void 0:F.id)||L.data};e.beforeStartText&&e.beforeStartText.trim()!==""?(await si(me),console.log("开场白生成成功"),V.value=!1,D.value=1,await new Promise(ve=>setTimeout(ve,4e3))):console.log("无开场白配置,跳过开场白生成"),await _i(me),R.success("视频开始生成")}catch(me){console.error("获取开场白和视频失败:",me),R.warning("视频生成中,请稍后")}}else R.error("配置保存失败")}else if((await yt({id:be.value,digital_human_id:ft.value.id})).code==2e3){R.success("配置保存成功");try{const me={config_id:be.value};console.log("开始生成开场白..."),await si(me),console.log("开场白生成成功"),V.value=!1,D.value=1,console.log("等待4秒后开始生成视频..."),await Ar(4e3),console.log("开始生成视频..."),await _i(me),console.log("视频生成请求已发送"),R.success("视频开始生成")}catch(me){console.error("获取开场白和视频失败:",me),R.warning("视频生成中,请稍后")}}else R.error("配置保存失败");console.log("保存时选中的面试官:",v),console.log("保存时的面试设置:",e),console.log("保存时的题目设置:",U);const x={id:Date.now(),name:"AI考察",description:`已选择${Y.value.length}项能力测评`,active:!0,type:"ai_video",abilities:Y.value.map(L=>L.value),interviewer:v,settings:e};t.splice(w.value,0,x),V.value=!1,D.value=1,R.success("AI考察步骤已添加")},sn=()=>{V.value=!1,D.value=1},A=v=>{},O=()=>{K.value=!0},P=()=>{K.value=!1,Object.assign($,{title:"",videoFile:null,description:"",broadcastType:"required"})},N=()=>{const v={id:Date.now(),name:$.title||"视频宣讲",description:$.description||"视频宣讲",active:!0,type:"video_presentation",config:{...$}};t.splice(w.value,0,v),K.value=!1,R.success("视频宣讲步骤已添加"),P()},_=()=>{const v={id:Date.now(),name:"AI实时对话",description:"AI实时对话",active:!0,type:"ai_chat"};t.splice(w.value,0,v),X.value=!1,R.success("AI实时对话步骤已添加")},de=()=>{X.value=!1},fe=()=>{if(!Ve.title.trim()){R.warning("请输入环节名称");return}if(Ve.duration<=0){R.warning("提问时长必须大于0分钟");return}if(Ve.maxQuestions<=0){R.warning("最多提问数量必须大于0");return}if(so.value>=0){const v=t[so.value];v.name=Ve.title,v.description=`时长${Ve.duration}分钟,最多${Ve.maxQuestions}个问题`,v.config={...Ve},R.success("候选人提问环节已更新")}else{const v={id:Date.now(),name:Ve.title,description:`时长${Ve.duration}分钟,最多${Ve.maxQuestions}个问题`,active:!0,type:"candidate_questions",config:{...Ve}};t.splice(w.value,0,v),R.success("候选人提问环节已添加")}Dn.value=!1,Be()},Ie=()=>{Dn.value=!1,Be()},Be=()=>{so.value=-1,Object.assign(Ve,{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]})},Z=z([]),te=ri(()=>Z.value.reduce((v,e)=>{switch(e.question_form){case 0:return v+60;case 1:return v+30;case 2:return v+30;default:return v+30}},0)),le=ri(()=>{const v=te.value;if(v<60)return`${v}秒`;const e=Math.floor(v/60),U=v%60;return U>0?`${e}分${U}秒`:`${e}分钟`}),he=()=>{se.value=!0},ye=()=>{Mo.value={question:"",question_form:null,competency_tags:[],position_types:[],category_id:null,tags:[],recommended_duration:60,status:1,is_required_correct:!1,is_system:!1,sort:1,options:[],scoring_reference:"",blank_answer_template:[]},Mi.value=!1,oo.value=!0},st=async v=>{try{const e=await Cl({...v,tenant_id:1});if(e&&e.code===2e3){if(R.success("题目创建成功"),console.log(e),e.data){const U={id:e.data.id||e.data,title:v.question,question_form:v.question_form,question_form_name:ei(v.question_form),scoring_reference:v.scoring_reference||"",competency_tags:v.competency_tags||[],options:v.options||[],enable_follow_up:!1,maxAnswers:1,weight:100,source:"custom_selected"};Z.value.push(U)}oo.value=!1}else R.error("题目创建失败,请重试")}catch(e){console.error("创建题目失败:",e),R.error("题目创建失败,请重试")}},En=()=>{oo.value=!1,Mo.value={}},ei=v=>({0:"开放问题",1:"单选题",2:"多选题",3:"色盲题",4:"得分题",5:"判断题",6:"填空题"})[v]||"未知类型",dn=v=>{const e=Z.value[v];console.log(e),Object.assign(T,e),se.value=!0,nl()},Di=v=>{Xi.confirm("确认删除该问题?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Z.value.splice(v,1),R.success("删除成功")})},Oa=()=>{we.value=!1,Object.assign(We,{isRequired:!1,questions:[]})};ul(()=>{Nt(),Ri(),Cr(),Ta()}),cl(()=>{Ki()});const Ta=async()=>{try{const v=o.query.id;if(v){const e=await Kn(v);e&&e.data&&(e.data.enable_psychological_test!==void 0&&(He.enableScoreQuestions=e.data.enable_psychological_test),e.data.enable_color_blind_test!==void 0&&(He.enableColorBlindQuestions=e.data.enable_color_blind_test),t[2].visible=e.data.question_form_switches.enable_open_questions,t[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,t[4].visible=e.data.question_form_switches.enable_scoring_questions)}}catch(v){console.error("初始化配置状态失败:",v)}},Qn=z(!1),at=nt({title:"代码笔试",autoJudge:!0,selectedPaper:null}),Da=()=>{Qn.value=!0},Pi=()=>{Qn.value=!1,Object.assign(at,{title:"代码笔试",autoJudge:!0,selectedPaper:null})},Pa=()=>{if(!at.selectedPaper){R.warning("请添加考试试卷");return}const v={id:Date.now(),name:at.title,description:`${at.selectedPaper.title}`,active:!0,type:"code_test",config:{...at}};t.splice(w.value,0,v),Qn.value=!1,R.success("代码笔试步骤已添加"),Pi()},Va=()=>{at.selectedPaper={id:1,title:"前端开发工程师笔试",questionCount:4,duration:60,difficulty:"中等难度"}},Ra=()=>{R.info("查看试卷功能开发中")},Ua=()=>{R.info("更换试卷功能开发中")},Ka=()=>{at.selectedPaper=null},zn=z(!1),it=nt({title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]}),Vi=()=>{zn.value=!1,Object.assign(it,{title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]})},Ma=()=>{const v={id:Date.now(),name:it.title,description:`打字测试 ${it.duration}分钟`,active:!0,type:"typing_test",config:{...it}};t.splice(w.value,0,v),zn.value=!1,R.success("打字测试步骤已添加"),Vi()},wo=z(!1),xn=z(""),Ba=()=>{xn.value=d.title,wo.value=!0},ja=()=>{wo.value=!1},ka=async()=>{if(!xn.value.trim()){R.warning("职位名称不能为空");return}try{const v=o.query.id;await Ot({id:v,title:xn.value.trim()}),d.title=xn.value.trim(),wo.value=!1,R.success("职位名称已更新")}catch(v){console.error("更新职位名称失败:",v),R.error("更新职位名称失败")}},Ao=z(!1),Lt=z(""),Na=()=>{if(!d.location)Lt.value="";else if(Array.isArray(d.location))Lt.value=d.location;else if(typeof d.location=="string")try{const e=d.location.replace(/[\[\]']/g,"").split(",").map(L=>L.trim()),U=S.find(L=>L.name===e[0]);let x,F;U&&U.children&&(x=U.children.find(L=>L.name===e[1]),x&&x.children&&(F=x.children.find(L=>L.name===e[2]))),Lt.value=[U==null?void 0:U.code,x==null?void 0:x.code,F==null?void 0:F.code].filter(Boolean)}catch(v){console.error("解析地址失败:",v),Lt.value=""}Ao.value=!0},Fa=()=>{Ao.value=!1},La=async()=>{try{const v=o.query.id,e=[];if(Lt.value&&Array.isArray(Lt.value)){const[U,x,F]=Lt.value,L=S.find(ve=>ve.code===U);let me,q;L&&(e.push(L.name),L.children&&(me=L.children.find(ve=>ve.code===x),me&&(e.push(me.name),me.children&&(q=me.children.find(ve=>ve.code===F),q&&e.push(q.name)))))}await Ot({id:v,location:e}),d.location=e,Ao.value=!1,R.success("工作地点已更新")}catch(v){console.error("更新工作地点失败:",v),R.error("更新工作地点失败")}},Oo=z(!1),Gn=z(""),Qa=()=>{Gn.value=d.salary_range||"",Oo.value=!0},za=()=>{Oo.value=!1},Ga=async()=>{try{const v=o.query.id;await Ot({id:v,salary_range:Gn.value.trim()}),d.salary_range=Gn.value.trim(),Oo.value=!1,R.success("职位薪资已更新")}catch(v){console.error("更新职位薪资失败:",v),R.error("更新职位薪资失败")}},To=z(!1),$n=z(""),$a=()=>{$n.value=d.work_experience_required||"",To.value=!0},Ja=()=>{To.value=!1},Wa=async()=>{try{const v=o.query.id;await Ot({id:v,work_experience_required:$n.value}),d.work_experience_required=$n.value,To.value=!1,R.success("工作经验已更新")}catch(v){console.error("更新工作经验失败:",v),R.error("更新工作经验失败")}},Do=z(!1),Jn=z(""),Ha=()=>{Jn.value=d.education_required||"",Do.value=!0},Ya=()=>{Do.value=!1},Xa=async()=>{try{const v=o.query.id;await Ot({id:v,education_required:Jn.value}),d.education_required=Jn.value,Do.value=!1,R.success("学历要求已更新")}catch(v){console.error("更新学历要求失败:",v),R.error("更新学历要求失败")}},Po=z(!1),Wn=z(""),Za=()=>{Wn.value=d.department||"",Po.value=!0},qa=()=>{Po.value=!1},_a=async()=>{try{const v=o.query.id;await Ot({id:v,department:Wn.value.trim()}),d.department=Wn.value.trim(),Po.value=!1,R.success("所属部门已更新")}catch(v){console.error("更新所属部门失败:",v),R.error("更新所属部门失败")}},Vo=z(!1),Hn=z(""),er=()=>{Hn.value=d.end_date||"",Vo.value=!0},tr=()=>{Vo.value=!1},nr=async()=>{try{const v=o.query.id;await Ot({id:v,end_date:Hn.value}),d.end_date=Hn.value,Vo.value=!1,R.success("截止日期已更新")}catch(v){console.error("更新截止日期失败:",v),R.error("更新截止日期失败")}},Yn=z(!1),Xn=z(""),or=()=>{Xn.value=d.requirements||"",Yn.value=!0},ir=()=>{Yn.value=!1},ar=async()=>{try{const v=o.query.id;await Ot({id:v,requirements:Xn.value}),d.requirements=Xn.value,Yn.value=!1,R.success("职位要求已更新")}catch(v){console.error("更新职位要求失败:",v),R.error("更新职位要求失败")}},Zn=z(!1),qn=z(""),rr=()=>{qn.value=d.description||"",Zn.value=!0},lr=()=>{Zn.value=!1},sr=async()=>{try{const v=o.query.id;await Ot({id:v,description:qn.value}),d.description=qn.value,Zn.value=!1,R.success("职位描述已更新")}catch(v){console.error("更新职位描述失败:",v),R.error("更新职位描述失败")}},In=z(!1),_n=z(0),dr=()=>{_n.value=d.job_type||0,In.value=!0},ur=()=>{In.value=!1},cr=async()=>{try{const v=o.query.id;await Ot({id:v,job_type:_n.value}),d.job_type=_n.value,In.value=!1,R.success("职位性质已更新")}catch(v){console.error("更新职位性质失败:",v),R.error("更新职位性质失败")}},Bt=z([]),Ro=z(!1),Cn=z([]),Ri=async()=>{try{const v=await Ol({page:1,pageSize:1e3});v&&v.data}catch(v){console.error("获取能力标签列表失败:",v),R.error("获取能力标签列表失败")}},fr=async()=>{var v;await Ri(),Cn.value=((v=d.competency_tags)==null?void 0:v.map(e=>e.id))||[],re.value.forEach(e=>{e.selected=Cn.value.includes(e.id)}),Ro.value=!0},vr=()=>{Ro.value=!1},pr=async()=>{try{const v=o.query.id;await Ot({id:v,competency_tags:Cn.value}),d.competency_tags=re.value.filter(e=>Cn.value.includes(e.id)).map(e=>({id:e.id,name:e.name})),Ro.value=!1,R.success("能力标签已更新")}catch(v){console.error("更新能力标签失败:",v),R.error("更新能力标签失败")}},mr=z(null),be=z(0),Uo=async v=>{if(v.name==="资料收集"){const e=await Kn(o.query.id);e&&e.data?(be.value=e.data.id,pa(Q,e.data.profile_fields_config),we.value=!0,C.value=!1):(we.value=!0,C.value=!1);return}if(v.name==="AI考察"){if(v.action==="delete"){await ol();return}const e=await Kn(o.query.id);Tn.value=!0,mr.value=v,V.value=!0,D.value=1;try{const U=await Kl({position_id:o.query.id,page:1,limit:20});if(console.log("existingTags",U),U&&U.data&&U.data.items.length>0)U.data.items.forEach(x=>{x.importance=1,x.selected=!1}),Bt.value=U.data.items;else{const x=await ta({position_id:o.query.id});x&&x.data&&(x.data.forEach(F=>{F.selected=!1}),Bt.value=x.data)}e&&e.data&&(be.value=e.data.id)}catch(U){console.error("获取或生成能力标签失败:",U),R.error("获取或生成能力标签失败")}finally{Tn.value=!1}Object.keys(j).forEach(U=>{j[U]=!1})}v.name==="常识问题"&&zt({page:1,limit:20}).then(e=>{e.data&&(mt.value=e.data.items,Yt.page=e.data.page,Yt.pageSize=e.data.limit,io.value=e.data.total,c.value=!0)}),v.name==="心理问题"&&zt({page:1,limit:30,question_form:4}).then(e=>{e.data&&(Ye.question_form=4,mt.value=e.data.items,Yt.page=e.data.page,Yt.pageSize=e.data.limit,io.value=e.data.total,c.value=!0)})},un=z(""),eo=z(""),gr=z(!1),hr=async()=>{if(!un.value.trim()){R.warning("请输入维度名称");return}if(Bt.value.find(e=>e.name===un.value.trim())){R.warning("该维度名称已存在,请重新输入");return}try{const e={id:Date.now(),name:un.value.trim(),description:eo.value.trim(),selected:!1,importance:1,weight:0,isCustom:!0};Bt.value.push(e),R.success(`自定义维度"${e.name}"已添加到备选维度列表`),gr.value,un.value="",eo.value="",console.log("添加新维度成功:",e),console.log("当前备选维度列表:",Bt.value)}catch(e){console.error("添加自定义维度失败:",e),R.error("添加自定义维度失败,请重试")}},rt=nt({keepVideo:!1,interruptionMode:"",smartFollowUp:!1,followUpStyle:""}),ti=z([{id:1,name:"Jessica",image:"/avatars/jessica.png"},{id:2,name:"Mike",image:"/avatars/mike.png"},{id:3,name:"Sarah",image:"/avatars/sarah.png"}]),ft=z(ti.value[0]),ni=z(""),yr=v=>{ft.value=v,console.log("选中的面试官信息:",{id:v.id,name:v.name,avatar_url:v.avatar_url||v.image}),ni.value=v.avatar_url,R.success(`已选择面试官:${v.name}`)},br=async()=>{const v=Z.value.filter(U=>U.source==="ai_generated"),e=Z.value.filter(U=>U.source==="custom_selected");if(console.log("AI生成的题目:",v),console.log("自定义选择的题目:",e),v.length>0&&(await Pl({draft_ids:v.map(U=>U.id)}),console.log("AI生成的题目已保存到草稿")),e.length>0){const U={position_id:o.query.id,question_id:{question_id:e},duration:60,tenant_id:1};console.log("自定义选择的题目需要调用专门的接口处理");const x=await qi(U);x&&x.code===2e3?R.success("自定义选择的题目已保存"):R.error("自定义选择的题目保存失败")}},oi=()=>{const v={keepVideo:rt.keepVideo,interruptionMode:rt.interruptionMode,followUpStyle:rt.followUpStyle,smartFollowUp:rt.smartFollowUp};return console.log("当前面试设置:",v),v},to=(v,e)=>{switch(console.log(`面试设置 ${v} 已更改为:`,e),v){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}},Sr=()=>{const v=oi(),e={isValid:!0,messages:[]};return v.interruptionMode===""&&(e.isValid=!1,e.messages.push("请选择中断后作答限制模式")),e},Er=v=>{n.value=!0,console.log("开始拖拽题目:",v)},xr=v=>{n.value=!1,console.log("拖拽结束:",v),console.log("当前题目顺序:",Z.value),R.success("题目顺序已更新")},Ir=()=>({interviewer:{id:ft.value.id,name:ft.value.name,avatar_url:ft.value.avatar_url||ft.value.image},settings:oi(),questionSettings:{enableScoreQuestions:He.enableScoreQuestions,enableColorBlindQuestions:He.enableColorBlindQuestions},abilities:Y.value,questions:Z.value,currentStep:D.value}),Cr=async()=>{const v=await Vl({page:1,pageSize:1e3});v&&v.data&&(ti.value=v.data)},Ui=(v,e)=>{e?no.value.push({name:v.name,description:v.description||"暂无描述"}):no.value=no.value.filter(U=>U.name!==v.name)},wr=v=>{Xi.confirm("确认删除这个胜任力标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const e=Y.value[v];Y.value.splice(v,1),no.value=no.value.filter(x=>x.name!==e.label);const U=Bt.value.find(x=>x.name===e.label);U&&(U.selected=!1),R.success("胜任力标签已删除")}).catch(()=>{})},no=z([]),Ar=v=>new Promise(e=>setTimeout(e,v));let Qt=null;const Or=async(v,e=50,U=2e3)=>{let x=0;Qt={cancelled:!1};const F=Qt;return new Promise((L,me)=>{const q=async()=>{try{if(F.cancelled){console.log("轮询已被取消"),L(null);return}x++,console.log(`第${x}次轮询获取草稿列表...`);const ve=await Dl(v);if(F.cancelled){console.log("轮询已被取消"),L(null);return}if(ve&&ve.data&&ve.data.dataList&&ve.data.dataList.length>0){console.log("轮询成功,获取到草稿列表数据"),Qt=null,L(ve);return}if(x>=e){console.log("轮询达到最大次数,停止轮询"),Qt=null,L(ve);return}setTimeout(q,U)}catch(ve){if(console.error(`第${x}次轮询失败:`,ve),F.cancelled){console.log("轮询已被取消"),L(null);return}x<e?setTimeout(q,U):(Qt=null,me(ve))}};q()})},Ki=()=>{Qt&&(Qt.cancelled=!0,Qt=null,console.log("轮询已被手动取消"))},Tr=()=>{Ki(),ze.value=!1,R.info("已取消AI自动组题")},Dr=async v=>{var e;if(console.log("得分题开关状态:",v?"开启":"关闭"),v){const U=await zt({page:1,limit:1e3,question_form:4,tenant_id:1});console.log(U),U&&U.data?ea({position_id:o.query.id,question_id:{question_id:U.data.items.map(x=>x.id)},tenant_id:1}).then(async x=>{var F;if(x.code===2e3){try{if(be.value>0)await yt({id:be.value,enable_psychological_test:!0}),console.log("配置中的enable_psychological_test字段已更新为true");else{const L=await mn({position_id:o.query.id,enable_psychological_test:!0,tenant_id:1});L&&L.code===2e3&&(be.value=((F=L.data)==null?void 0:F.id)||L.data,console.log("配置创建成功,enable_psychological_test字段已设置为true"))}}catch(L){console.error("更新enable_psychological_test字段失败:",L)}R.success("得分题功能已开启")}else R.error("得分题功能开启失败")}):R.error("获取题目列表失败")}else try{const U=await zt({page:1,limit:1e3,question_form:4,tenant_id:1});if(U&&U.data){if(await di({position_id:o.query.id,question_id:U.data.items.map(x=>x.id),tenant_id:1}),be.value>0)await yt({id:be.value,enable_psychological_test:!1}),console.log("配置中的enable_psychological_test字段已更新为false");else{const x=await mn({position_id:o.query.id,enable_psychological_test:!1,tenant_id:1});x&&x.code===2e3&&(be.value=((e=x.data)==null?void 0:e.id)||x.data,console.log("配置创建成功,enable_psychological_test字段已设置为false"))}R.info("得分题功能已关闭")}}catch(U){console.error("关闭得分题功能失败:",U),R.error("关闭得分题功能失败")}},Pr=async v=>{var e;if(console.log("色盲题开关状态:",v?"开启":"关闭"),v){const U=await zt({page:1,limit:1e3,question_form:3,tenant_id:1});console.log(U),U&&U.data?ea({position_id:o.query.id,question_id:{question_id:U.data.items.map(x=>x.id)},tenant_id:1}).then(async x=>{var F;if(x.code===2e3){try{if(be.value>0)await yt({id:be.value,enable_color_blind_test:!0}),console.log("配置中的enable_color_blind_test字段已更新为true");else{const L=await mn({position_id:o.query.id,enable_color_blind_test:!0,tenant_id:1});L&&L.code===2e3&&(be.value=((F=L.data)==null?void 0:F.id)||L.data,console.log("配置创建成功,enable_color_blind_test字段已设置为true"))}}catch(L){console.error("更新enable_color_blind_test字段失败:",L)}R.success("色盲题功能已开启")}else R.error("色盲题功能开启失败")}):R.error("获取色盲题目列表失败")}else try{const U=await zt({page:1,limit:1e3,question_form:3,tenant_id:1});if(U&&U.data){if(await di({position_id:o.query.id,question_id:U.data.items.map(x=>x.id),tenant_id:1}),be.value>0)await yt({id:be.value,enable_color_blind_test:!1}),console.log("配置中的enable_color_blind_test字段已更新为false");else{const x=await mn({position_id:o.query.id,enable_color_blind_test:!1,tenant_id:1});x&&x.code===2e3&&(be.value=((e=x.data)==null?void 0:e.id)||x.data,console.log("配置创建成功,enable_color_blind_test字段已设置为false"))}R.info("色盲题功能已关闭")}}catch(U){console.error("关闭色盲题功能失败:",U),R.error("关闭色盲题功能失败")}},Ko=z(!1),cn=z(""),mt=z([]),Ht=z([]),oo=z(!1),Mo=z({}),Mi=z(!1),Bi=z(0),io=z(0),Ye=nt({page:1,pageSize:10,keyword:"",question_form:null}),Yt=nt({page:1,limit:20,keyword:"",question_form:null}),ii=async()=>{try{const v={...Ye,keyword:cn.value,...Ye.question_form!==null&&{question_form:Ye.question_form}},e=await zt(v);e&&e.data&&(mt.value=e.data.items,Bi.value=e.data.total)}catch(v){console.error("获取题目列表失败:",v),R.error("获取题目列表失败")}},Xt=()=>{Ye.page=1,ii()},Vr=v=>{Ye.pageSize=v,ii()},Rr=v=>{Ye.page=v,ii()},ji=v=>{Ht.value=v},ki=()=>{Ko.value=!1,Ht.value=[],cn.value=""},Ur=()=>{if(Ht.value.length===0){R.warning("请至少选择一个题目");return}console.log(Ht.value);const v=Ht.value.map(e=>({id:e.id||Date.now(),title:e.question||e.title,ability:e.ability||"未设置",content:e.content||e.question,target:e.target||"未设置",competency_tags:e.competency_tags||[],question_form_name:e.question_form_name,scoring_reference:e.scoring_reference,question_form:e.question_form,is_required_correct:e.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:e.options||[],source:"custom_selected"}));Z.value.push(...v),Ko.value=!1,Ht.value=[],cn.value=""},Q=nt({name:{visible:!0,label:"姓名",required:!0},gender:{visible:!0,label:"性别",required:!0},three_period:{visible:!0,label:"是否为三期",required:!0},phone:{visible:!0,label:"手机号",required:!0},id_card:{visible:!0,label:"身份证号",required:!0},ethnicity:{visible:!0,label:"民族",required:!0},height:{visible:!0,label:"身高(cm)",required:!1},weight:{visible:!0,label:"体重(kg)",required:!1},current_address:{visible:!0,label:"现居住地址",required:!0},household_location:{visible:!0,label:"户口所在地",required:!1},marital_status:{visible:!0,label:"婚育状况",required:!1},expected_salary:{visible:!0,label:"期望薪资(元/月)",required:!1},family_member:{visible:!0,label:"家庭成员",fields:{relation:{visible:!0,label:"称谓",required:!0},name:{visible:!0,label:"姓名",required:!0},workplace_address:{visible:!0,label:"工作单位/家庭地址",required:!1},position:{visible:!0,label:"职务",required:!1},phone:{visible:!0,label:"联系电话",required:!0},is_emergency_contact:{visible:!0,label:"是否为紧急联系人",required:!1}}},education:{visible:!0,label:"教育经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},school_name:{visible:!0,label:"学校名称",required:!0},major:{visible:!0,label:"专业",required:!0},degree:{visible:!0,label:"学历",required:!0}}},require_professional_skills:{visible:!0,label:"专业技能",required:!0},training_fields_config:{visible:!0,label:"受过的培训",required:!0},work_experience:{visible:!0,label:"工作经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},company_name:{visible:!0,label:"单位名称",required:!0},employee_count:{visible:!0,label:"单位人数",required:!0},department:{visible:!0,label:"任职部门",required:!0},position:{visible:!0,label:"担任职务",required:!0},monthly_salary:{visible:!0,label:"月总收入",required:!0},supervisor:{visible:!0,label:"直接领导",required:!0},supervisor_phone:{visible:!0,label:"领导电话",required:!0}}},question_form_switches:{enable_open_questions:!0,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_scoring_questions:!0,enable_follow_up_questions:!0,enable_fill_blank:!0}}),Kr=async()=>{try{const v={position_id:o.query.id,require_resume_upload:!0,resume_file_types:["pdf","docx","doc"],max_resume_size_mb:10,require_basic_info:!0,profile_fields_config:{name:{required:Q.name.required,visible:Q.name.visible},phone:{required:Q.phone.required,visible:Q.phone.visible},id_card:{required:Q.id_card.required,visible:Q.id_card.visible},gender:{required:Q.gender.required,visible:Q.gender.visible},birth_date:{required:!1,visible:!0},political_status:{required:!1,visible:!0},ethnicity:{required:Q.ethnicity.required,visible:Q.ethnicity.visible},height:{required:Q.height.required,visible:Q.height.visible},weight:{required:Q.weight.required,visible:Q.weight.visible},marital_status:{required:Q.marital_status.required,visible:Q.marital_status.visible}},require_education_info:Q.education.visible,education_fields_config:{school_name:{required:Q.education.fields.school_name.required,visible:Q.education.fields.school_name.visible},major:{required:Q.education.fields.major.required,visible:Q.education.fields.major.visible},degree:{required:Q.education.fields.degree.required,visible:Q.education.fields.degree.visible},start_date:{required:Q.education.fields.start_time.required,visible:Q.education.fields.start_time.visible},end_date:{required:Q.education.fields.end_time.required,visible:Q.education.fields.end_time.visible}},require_work_experience:Q.work_experience.visible,work_experience_fields_config:{company_name:{required:Q.work_experience.fields.company_name.required,visible:Q.work_experience.fields.company_name.visible},position:{required:Q.work_experience.fields.position.required,visible:Q.work_experience.fields.position.visible},department:{required:Q.work_experience.fields.department.required,visible:Q.work_experience.fields.department.visible},start_date:{required:Q.work_experience.fields.start_time.required,visible:Q.work_experience.fields.start_time.visible},end_date:{required:Q.work_experience.fields.end_time.required,visible:Q.work_experience.fields.end_time.visible},job_description:{required:!0,visible:!0},achievements:{required:!1,visible:!0},resignation_reason:{required:!1,visible:!0}},require_family_info:Q.family_member.visible,family_fields_config:{relation:{required:Q.family_member.fields.relation.required,visible:Q.family_member.fields.relation.visible},name:{required:Q.family_member.fields.name.required,visible:Q.family_member.fields.name.visible},workplace:{required:Q.family_member.fields.workplace_address.required,visible:Q.family_member.fields.workplace_address.visible},position:{required:Q.family_member.fields.position.required,visible:Q.family_member.fields.position.visible},phone:{required:Q.family_member.fields.phone.required,visible:Q.family_member.fields.phone.visible}},require_training_info:Q.training_fields_config.visible,require_professional_skills:Q.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};be.value==0||(v.id=be.value),be.value==0?(await mn(v)).code==2e3?(R.success("配置保存成功"),we.value=!1,C.value=!1):R.error("配置保存失败"):(await yt(v)).code==2e3?(R.success("配置保存成功"),we.value=!1,C.value=!1):R.error("配置保存失败")}catch(v){console.error("保存配置失败:",v),R.error("配置保存失败")}},Mr=()=>({name:Q.name,gender:Q.gender,three_period:Q.three_period,phone:Q.phone,id_card:Q.id_card,ethnicity:Q.ethnicity,height:Q.height,weight:Q.weight,current_address:Q.current_address,household_location:Q.household_location,marital_status:Q.marital_status,expected_salary:Q.expected_salary}),Br=()=>({skills:Q.require_professional_skills,training:Q.training_fields_config}),ao=z(!1),je=nt({faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部结束,感谢您的参与,请等待后续通知。"}),wn=z(!1),ro=z(!1),lo=z(!1),Zt=z(""),An=z(""),On=z(""),jr=()=>{ao.value=!1,wn.value=!1,ro.value=!1,lo.value=!1,Object.assign(je,{faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我想咨询其间的面试,欢迎来到大面试",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部流程拍摄,面试者同意可为今后资讯调研"})},kr=()=>{console.log("保存面试设置:",je),R.success("面试设置已保存"),ao.value=!1},Nr=()=>{Kn(o.query.id).then(v=>{ao.value=!0,be.value=v.data.id,je.beforeStartText=v.data.digital_human_opening_speech})},Fr=()=>{Zt.value=je.beforeStartText,wn.value=!0},Lr=()=>{wn.value=!1,Zt.value=""},Qr=async()=>{var v;if(!Zt.value.trim()){R.warning("开始前提示内容不能为空");return}je.beforeStartText=Zt.value.trim();try{let e;if(console.log(be.value),be.value==0)e=await mn({position_id:o.query.id,digital_human_opening_speech:Zt.value.trim()}),e.code===2e3?(be.value=((v=e.data)==null?void 0:v.id)||e.data,R.success("开始前提示内容已创建"),wn.value=!1):R.error("开始前提示内容创建失败");else if(e=await yt({id:be.value,digital_human_opening_speech:Zt.value.trim()}),e.code===2e3){R.success("开始前提示内容已更新"),wn.value=!1;try{const U={config_id:be.value};await si(U),console.log("开场白生成成功")}catch(U){console.error("获取开场白失败:",U),R.warning("开场白生成中,请稍后")}}else R.error("开始前提示内容更新失败")}catch(e){console.error("保存开始前提示内容失败:",e),R.error("保存失败,请重试")}},zr=()=>{An.value=je.afterStartText,ro.value=!0},Gr=()=>{ro.value=!1,An.value=""},$r=()=>{if(!An.value.trim()){R.warning("开始后提醒内容不能为空");return}je.afterStartText=An.value.trim(),ro.value=!1,R.success("开始后提醒内容已更新")},Jr=()=>{On.value=je.disclaimerText,lo.value=!0},Wr=()=>{lo.value=!1,On.value=""},Hr=()=>{if(!On.value.trim()){R.warning("免责声明内容不能为空");return}je.disclaimerText=On.value.trim(),lo.value=!1,R.success("免责声明内容已更新")},fn=nt({openQuestionsCount:5,choiceQuestionsCount:10}),Ni=()=>{console.log("题目数量已更新:",fn)},Yr=async()=>{try{ze.value=!0;const v=Y.value.map(x=>x.id);if(v.length===0){R.warning("请先选择能力标签");return}const e={position_id:o.query.id,competency_tag_ids:v,open_questions_count:fn.openQuestionsCount,choice_questions_count:fn.choiceQuestionsCount,auto_save:!0,tenant_id:1},U=await Tl(e);if(U&&U.data){const x=await Or({tenant_id:1,page:1,limit:30,position_id:o.query.id});if(console.log(x),x===null){console.log("轮询被取消,停止处理");return}if(x&&x.data&&x.data.dataList){const F=x.data.dataList.map(L=>({id:L.id||Date.now(),title:L.question||L.title,ability:L.ability||"未设置",content:L.content||L.question,target:L.target||"未设置",competency_tags:L.competency_tag_info||[],question_form_name:L.question_form_name,scoring_reference:L.scoring_reference,question_form:L.question_form,is_required_correct:L.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:L.options||[],source:"ai_generated"}));Z.value=F,R.success(`已成功生成${F.length}个面试题目`)}else R.warning("AI生成题目中,请稍后再试")}}catch(v){console.error("AI自动组题失败:",v),R.error("AI自动组题失败,请重试")}finally{ze.value=!1}},Xr=v=>{if(T.competency_tags=[],v.length>0){const e=Math.floor(100/v.length),U=100%v.length;T.competency_tags=v.map((x,F)=>{const L=re.value.find(me=>me.id===x);return{id:x,name:L?L.name:`标签${x}`,weight:e+(F<U?1:0)}})}},Zr=()=>T.competency_tags.length===0?(R.warning("请至少选择一个胜任力标签"),!1):T.weight<=0||T.weight>100?(R.warning("权重必须在1-100之间"),!1):!0,qr=v=>{switch(T.type=v,v){case"open":T.suggestedDuration=120;break;case"single":case"multiple":T.suggestedDuration=60;break;case"fill":T.suggestedDuration=30;break;case"self":T.suggestedDuration=180;break;default:T.suggestedDuration=60}},Tn=z(!1),Dn=z(!1),so=z(-1),Ve=nt({title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}),_r=(v,e)=>{so.value=e,v.config?Object.assign(Ve,v.config):(Ve.title=v.name,Ve.description=v.description||"候选人可以向面试官提问关于公司、职位或团队的问题",Ve.duration=5,Ve.maxQuestions=3,Ve.isRequired=v.active,Ve.allowSkip=!1,Ve.guidelines=["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]),Dn.value=!0},el=(v,e)=>{switch(v.type){case"ai_video":Uo(v);break;case"candidate_questions":_r(v,e);break;case"data_collection":Uo(v);break;case"resume_collection":Uo(v);break;default:Uo(v);break}},tl=(v,e)=>{(e===null||e<0)&&(e=0),e>100&&(e=100);const U=T.competency_tags;U[v].weight;const x=Math.round(e);if(U[v].weight=x,U.length===1){U[0].weight=100;return}const F=U.filter((me,q)=>q!==v),L=F.reduce((me,q)=>me+q.weight,0);if(L===0){const me=100-x,q=Math.floor(me/F.length),ve=me%F.length;F.forEach((gt,vn)=>{const ht=U.findIndex(Re=>Re.id===gt.id);U[ht].weight=q+(vn<ve?1:0)})}else{const me=100-x;if(me>0){F.forEach(ve=>{const gt=U.findIndex(ht=>ht.id===ve.id),vn=ve.weight/L;U[gt].weight=Math.round(me*vn)});const q=ai();if(q!==100){const ve=100-q,gt=F.reduce((ht,Re)=>Re.weight>ht.weight?Re:ht),vn=U.findIndex(ht=>ht.id===gt.id);U[vn].weight+=ve}}else F.forEach(q=>{const ve=U.findIndex(gt=>gt.id===q.id);U[ve].weight=0})}},ai=()=>T.competency_tags.reduce((e,U)=>e+(U.weight||0),0),nl=()=>{const v=T.competency_tags;if(v.length===0)return;const e=Math.floor(100/v.length),U=100%v.length;v.forEach((x,F)=>{x.weight=e+(F<U?1:0)})},Fi=ri({get:()=>J(T.competency_tags),set:v=>{T.competency_tags=v,Xr(v)}}),ol=async()=>{try{const v=await Ml({position_id:o.query.id,tenant_id:1,is_ai_generated:!0});v&&v.data&&v.data.length>0&&(await di({position_id:o.query.id,question_id:v.data.map(e=>e.id),tenant_id:1}),be.value>0&&await yt({id:be.value,enable_ai_questions:!1}),R.success("AI考察问题已删除"))}catch(v){console.error("删除AI考察问题失败:",v),R.error("删除AI考察问题失败")}};fl(()=>Q.question_form_switches.enable_open_questions,v=>{v?t.forEach(e=>{e.type==="ai_interview"&&(e.visible=!0)}):t.forEach(e=>{e.type==="ai_interview"&&(e.visible=!1)})},{immediate:!0}),z(!1),z(!1);const il=z(!1);return(v,e)=>{const U=Le("page-header"),x=Le("el-button"),F=Le("el-icon"),L=Le("el-input"),me=Le("el-cascader"),q=Le("el-option"),ve=Le("el-select"),gt=Le("el-tag"),vn=Le("el-date-picker"),ht=Le("el-card"),Re=Le("el-switch"),Pt=Le("el-dialog"),Pn=Le("el-checkbox"),Vn=Le("el-input-number"),uo=Le("el-radio"),Li=Le("el-upload"),Rn=Le("el-tooltip"),Un=Le("el-table-column"),Qi=Le("el-table"),zi=Le("el-pagination"),qt=Le("el-col"),_t=Le("el-row"),al=Le("el-radio-group"),Gi=vl("loading");return k(),H("div",Ss,[l("div",Es,[f(U,{title:"测试",onBack:Kt}),l("div",xs,[f(x,{type:"primary",onClick:et},{default:b(()=>e[93]||(e[93]=[B("保存")])),_:1}),f(x,{onClick:tt},{default:b(()=>e[94]||(e[94]=[B("分享职位")])),_:1})])]),l("div",Is,[f(ht,{class:"detail-card"},{default:b(()=>[e[126]||(e[126]=l("div",{class:"section-title"},[l("div",{class:"section-line"}),l("span",null,"职位详情")],-1)),l("div",Cs,[e[97]||(e[97]=l("div",{class:"detail-label"},"职位名称",-1)),wo.value?(k(),H("div",As,[f(L,{modelValue:xn.value,"onUpdate:modelValue":e[0]||(e[0]=p=>xn.value=p),placeholder:"请输入职位名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"]),l("div",Os,[f(x,{size:"small",onClick:ja},{default:b(()=>e[95]||(e[95]=[B("取消")])),_:1}),f(x,{size:"small",type:"primary",onClick:ka},{default:b(()=>e[96]||(e[96]=[B("保存")])),_:1})])])):(k(),H("div",ws,[B(ae(d.title)+" ",1),f(x,{type:"text",class:"edit-title-btn",onClick:Ba},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(vt))]),_:1})]),_:1})]))]),l("div",Ts,[e[100]||(e[100]=l("div",{class:"detail-label"},"工作地点",-1)),Ao.value?(k(),H("div",Ps,[f(me,{modelValue:Lt.value,"onUpdate:modelValue":e[1]||(e[1]=p=>Lt.value=p),options:Se(S),props:{expandTrigger:"hover",checkStrictly:!1,value:"code",label:"name"},style:{width:"100%"},placeholder:"请选择工作地点",clearable:"",onChange:E},null,8,["modelValue","options"]),l("div",Vs,[f(x,{size:"small",onClick:Fa},{default:b(()=>e[98]||(e[98]=[B("取消")])),_:1}),f(x,{size:"small",type:"primary",onClick:La},{default:b(()=>e[99]||(e[99]=[B("保存")])),_:1})])])):(k(),H("div",Ds,[B(ae((()=>{if(!d.location)return"暂无";if(Array.isArray(d.location))return d.location.join(",");if(typeof d.location=="string")try{return d.location.replace(/[\[\]']/g,"").split(",").map(ie=>ie.trim()).join(",")}catch{return d.location}return d.location})())+" ",1),f(x,{type:"text",class:"edit-title-btn",onClick:Na},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(vt))]),_:1})]),_:1})]))]),l("div",Rs,[e[103]||(e[103]=l("div",{class:"detail-label"},"职位薪资",-1)),Oo.value?(k(),H("div",Ks,[f(L,{modelValue:Gn.value,"onUpdate:modelValue":e[2]||(e[2]=p=>Gn.value=p),placeholder:"请输入职位薪资",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),l("div",Ms,[f(x,{size:"small",onClick:za},{default:b(()=>e[101]||(e[101]=[B("取消")])),_:1}),f(x,{size:"small",type:"primary",onClick:Ga},{default:b(()=>e[102]||(e[102]=[B("保存")])),_:1})])])):(k(),H("div",Us,[B(ae(d.salary_range||"暂无")+" ",1),f(x,{type:"text",class:"edit-title-btn",onClick:Qa},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(vt))]),_:1})]),_:1})]))]),l("div",Bs,[e[106]||(e[106]=l("div",{class:"detail-label"},"工作经验",-1)),To.value?(k(),H("div",ks,[f(ve,{modelValue:$n.value,"onUpdate:modelValue":e[3]||(e[3]=p=>$n.value=p),placeholder:"请选择工作经验",style:{width:"100%"}},{default:b(()=>[f(q,{label:"不限",value:"不限"}),f(q,{label:"应届毕业生",value:"应届毕业生"}),f(q,{label:"1年以下",value:"1年以下"}),f(q,{label:"1-3年",value:"1-3年"}),f(q,{label:"3-5年",value:"3-5年"}),f(q,{label:"5-10年",value:"5-10年"}),f(q,{label:"10年以上",value:"10年以上"})]),_:1},8,["modelValue"]),l("div",Ns,[f(x,{size:"small",onClick:Ja},{default:b(()=>e[104]||(e[104]=[B("取消")])),_:1}),f(x,{size:"small",type:"primary",onClick:Wa},{default:b(()=>e[105]||(e[105]=[B("保存")])),_:1})])])):(k(),H("div",js,[B(ae(d.work_experience_required||"暂无")+" ",1),f(x,{type:"text",class:"edit-title-btn",onClick:$a},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(vt))]),_:1})]),_:1})]))]),l("div",Fs,[e[109]||(e[109]=l("div",{class:"detail-label"},"学历要求",-1)),Do.value?(k(),H("div",Qs,[f(ve,{modelValue:Jn.value,"onUpdate:modelValue":e[4]||(e[4]=p=>Jn.value=p),placeholder:"请选择学历要求",style:{width:"100%"}},{default:b(()=>[f(q,{label:"不限",value:"不限"}),f(q,{label:"高中",value:"高中"}),f(q,{label:"大专",value:"大专"}),f(q,{label:"本科",value:"本科"}),f(q,{label:"硕士",value:"硕士"}),f(q,{label:"博士",value:"博士"})]),_:1},8,["modelValue"]),l("div",zs,[f(x,{size:"small",onClick:Ya},{default:b(()=>e[107]||(e[107]=[B("取消")])),_:1}),f(x,{size:"small",type:"primary",onClick:Xa},{default:b(()=>e[108]||(e[108]=[B("保存")])),_:1})])])):(k(),H("div",Ls,[B(ae(d.education_required||"暂无")+" ",1),f(x,{type:"text",class:"edit-title-btn",onClick:Ha},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(vt))]),_:1})]),_:1})]))]),l("div",Gs,[e[112]||(e[112]=l("div",{class:"detail-label"},"所属部门",-1)),Po.value?(k(),H("div",Js,[f(L,{modelValue:Wn.value,"onUpdate:modelValue":e[5]||(e[5]=p=>Wn.value=p),placeholder:"请输入所属部门",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),l("div",Ws,[f(x,{size:"small",onClick:qa},{default:b(()=>e[110]||(e[110]=[B("取消")])),_:1}),f(x,{size:"small",type:"primary",onClick:_a},{default:b(()=>e[111]||(e[111]=[B("保存")])),_:1})])])):(k(),H("div",$s,[B(ae(d.department||"暂无")+" ",1),f(x,{type:"text",class:"edit-title-btn",onClick:Za},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(vt))]),_:1})]),_:1})]))]),l("div",Hs,[e[113]||(e[113]=l("div",{class:"detail-label"},"职位状态",-1)),l("div",Ys,[f(gt,{type:Mt(d.status)},{default:b(()=>[B(ae(Et(d.status)),1)]),_:1},8,["type"])])]),l("div",Xs,[e[116]||(e[116]=l("div",{class:"detail-label"},"截止日期",-1)),Vo.value?(k(),H("div",qs,[f(vn,{modelValue:Hn.value,"onUpdate:modelValue":e[6]||(e[6]=p=>Hn.value=p),type:"date",placeholder:"请选择截止日期",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",style:{width:"100%"}},null,8,["modelValue"]),l("div",_s,[f(x,{size:"small",onClick:tr},{default:b(()=>e[114]||(e[114]=[B("取消")])),_:1}),f(x,{size:"small",type:"primary",onClick:nr},{default:b(()=>e[115]||(e[115]=[B("保存")])),_:1})])])):(k(),H("div",Zs,[B(ae(d.end_date||"暂无")+" ",1),f(x,{type:"text",class:"edit-title-btn",onClick:er},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(vt))]),_:1})]),_:1})]))]),l("div",ed,[e[119]||(e[119]=l("div",{class:"detail-label"},"职位要求",-1)),Yn.value?ke("",!0):(k(),H("div",{key:0,class:"detail-value html-content",innerHTML:d.requirements},null,8,td)),Yn.value?(k(),H("div",nd,[f(L,{modelValue:Xn.value,"onUpdate:modelValue":e[7]||(e[7]=p=>Xn.value=p),type:"textarea",rows:"6",placeholder:"请输入职位要求",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),l("div",od,[f(x,{size:"small",onClick:ir},{default:b(()=>e[117]||(e[117]=[B("取消")])),_:1}),f(x,{size:"small",type:"primary",onClick:ar},{default:b(()=>e[118]||(e[118]=[B("保存")])),_:1})])])):(k(),Ae(x,{key:1,type:"text",class:"edit-title-btn",onClick:or},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(vt))]),_:1})]),_:1}))]),e[127]||(e[127]=l("div",{style:{width:"100%","border-bottom":"1px solid #e5e5e5"}},null,-1)),l("div",id,[e[122]||(e[122]=l("div",{class:"detail-label"},"职位描述",-1)),Zn.value?ke("",!0):(k(),H("div",{key:0,class:"detail-value html-content",innerHTML:d.description},null,8,ad)),Zn.value?(k(),H("div",rd,[f(L,{modelValue:qn.value,"onUpdate:modelValue":e[8]||(e[8]=p=>qn.value=p),type:"textarea",rows:"6",placeholder:"请输入职位描述",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),l("div",ld,[f(x,{size:"small",onClick:lr},{default:b(()=>e[120]||(e[120]=[B("取消")])),_:1}),f(x,{size:"small",type:"primary",onClick:sr},{default:b(()=>e[121]||(e[121]=[B("保存")])),_:1})])])):(k(),Ae(x,{key:1,type:"text",class:"edit-title-btn",onClick:rr},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(vt))]),_:1})]),_:1}))]),l("div",sd,[e[125]||(e[125]=l("div",{class:"detail-label"},"能力标签",-1)),Ro.value?(k(),H("div",ud,[f(ve,{modelValue:Cn.value,"onUpdate:modelValue":e[9]||(e[9]=p=>Cn.value=p),multiple:"",filterable:"",placeholder:"请选择能力标签",style:{width:"100%"}},{default:b(()=>[(k(!0),H(Xe,null,Ze(re.value,p=>(k(),Ae(q,{key:p.id,label:p.name,value:p.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),l("div",cd,[f(x,{size:"small",onClick:vr},{default:b(()=>e[123]||(e[123]=[B("取消")])),_:1}),f(x,{size:"small",type:"primary",onClick:pr},{default:b(()=>e[124]||(e[124]=[B("保存")])),_:1})])])):(k(),H("div",dd,[(k(!0),H(Xe,null,Ze(d.competency_tags,p=>(k(),Ae(gt,{key:p.id,effect:"plain",class:"competency-tag"},{default:b(()=>[B(ae(p.name),1)]),_:2},1024))),128)),f(x,{type:"text",class:"edit-title-btn",onClick:fr},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(vt))]),_:1})]),_:1})]))])]),_:1}),l("div",fd,[f(ht,{class:"status-card"},{default:b(()=>[e[128]||(e[128]=l("div",{class:"section-title"},[l("div",{class:"section-line"}),l("span",null,"职位状态")],-1)),l("div",vd,[f(Re,{modelValue:u.value,"onUpdate:modelValue":e[10]||(e[10]=p=>u.value=p),"inactive-text":"",onChange:Ft},null,8,["modelValue"]),l("span",pd,ae(u.value?"已启用":"待启用"),1)])]),_:1}),f(ht,{class:"status-card"},{default:b(()=>[l("div",md,[e[130]||(e[130]=l("div",{class:"section-line"},null,-1)),e[131]||(e[131]=l("span",null,"职位性质",-1)),In.value?ke("",!0):(k(),Ae(x,{key:0,type:"text",class:"edit-btn",onClick:dr},{default:b(()=>e[129]||(e[129]=[B("编辑")])),_:1}))]),l("div",gd,[In.value?ke("",!0):(k(),H("div",hd,ae(Jt(d.job_type)),1)),In.value?(k(),H("div",yd,[f(ve,{modelValue:_n.value,"onUpdate:modelValue":e[11]||(e[11]=p=>_n.value=p),placeholder:"请选择职位性质",style:{width:"100%"}},{default:b(()=>[f(q,{label:"全职",value:0}),f(q,{label:"兼职",value:1}),f(q,{label:"实习",value:2}),f(q,{label:"其他",value:3})]),_:1},8,["modelValue"]),l("div",bd,[f(x,{size:"small",onClick:ur},{default:b(()=>e[132]||(e[132]=[B("取消")])),_:1}),f(x,{size:"small",type:"primary",onClick:cr},{default:b(()=>e[133]||(e[133]=[B("保存")])),_:1})])])):ke("",!0)])]),_:1}),f(ht,{class:"status-card"},{default:b(()=>[l("div",Sd,[e[135]||(e[135]=l("div",{class:"section-line"},null,-1)),e[136]||(e[136]=l("span",null,"招聘流程",-1)),f(x,{type:"text",class:"edit-btn",onClick:wt},{default:b(()=>e[134]||(e[134]=[B("设置流程")])),_:1})]),l("div",Ed,[(k(!0),H(Xe,null,Ze(t,(p,ie)=>Bo((k(),H("div",{key:p.id,class:xt(["process-step",{disabled:!p.active}])},[l("div",xd,ae(ie+1),1),l("div",Id,[l("div",Cd,ae(p.name),1)])],2)),[[$i,p.visible]])),128))])]),_:1}),f(ht,{class:"status-card"},{default:b(()=>[l("div",wd,[e[138]||(e[138]=l("div",{class:"section-line"},null,-1)),e[139]||(e[139]=l("span",null,"面试设置",-1)),f(x,{type:"text",class:"edit-btn",onClick:Nr},{default:b(()=>e[137]||(e[137]=[B("编辑")])),_:1})])]),_:1})])]),f(Pt,{title:"设置招聘流程",modelValue:a.value,"onUpdate:modelValue":e[13]||(e[13]=p=>a.value=p),width:"500px","close-on-click-modal":!1},{footer:b(()=>[l("span",Ud,[f(x,{onClick:Sn},{default:b(()=>e[143]||(e[143]=[B("取消")])),_:1}),f(x,{type:"primary",onClick:At},{default:b(()=>e[144]||(e[144]=[B("确定")])),_:1})])]),default:b(()=>[l("div",Ad,[(k(!0),H(Xe,null,Ze(t,(p,ie)=>Bo((k(),H("div",{key:p.id},[ie<t.length-1?(k(),H("div",Od,[f(x,{type:"text",onClick:Ce=>on(ie,Ce)},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(pn))]),_:1})]),_:2},1032,["onClick"])])):ke("",!0),l("div",{class:xt(["process-edit-item",{highlight:p.active}])},[l("div",Td,ae(ie+1),1),l("div",Dd,[l("div",null,ae(p.name),1),l("div",Pd,ae(p.description),1)]),l("div",Vd,[f(x,{type:"info",size:"small",plain:"",onClick:Ce=>el(p,ie)},{default:b(()=>e[140]||(e[140]=[B(" 修改 ")])),_:2},1032,["onClick"]),f(x,{type:"danger",size:"small",plain:"",style:{"margin-top":"10px","margin-left":"0px"},onClick:Ce=>Ln(p,ie)},{default:b(()=>e[141]||(e[141]=[B(" 删除 ")])),_:2},1032,["onClick"])])],2)])),[[$i,p.visible]])),128)),e[142]||(e[142]=l("div",{class:"add-process-btn"},null,-1))]),C.value?(k(),H("div",{key:0,class:"process-options-menu",style:ml({top:M.top,left:M.left}),onClick:e[12]||(e[12]=pl(()=>{},["stop"]))},[(k(),H(Xe,null,Ze(s,p=>l("div",{key:p.value,class:"process-option-item",onClick:ie=>an(p.value,p.label)},ae(p.label),9,Rd)),64))],4)):ke("",!0)]),_:1},8,["modelValue"]),f(Se(li),{title:"AI考察",modelValue:V.value,"onUpdate:modelValue":e[34]||(e[34]=p=>V.value=p),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-video-drawer","destroy-on-close":!1},{footer:b(()=>[l("div",_u,[D.value>1?(k(),Ae(x,{key:0,size:"small",onClick:ln},{default:b(()=>e[186]||(e[186]=[B("上一步")])),_:1})):ke("",!0),f(x,{onClick:sn,size:"small"},{default:b(()=>e[187]||(e[187]=[B("取消")])),_:1}),D.value<3?(k(),Ae(x,{key:1,type:"primary",size:"small",onClick:rn,style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:b(()=>e[188]||(e[188]=[B("下一步")])),_:1})):(k(),Ae(x,{key:2,type:"success",onClick:Wt,size:"small",style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:b(()=>e[189]||(e[189]=[B("新增")])),_:1}))])]),default:b(()=>[l("div",Kd,[l("div",{class:xt(["step-item",{active:D.value===1}]),onClick:e[14]||(e[14]=p=>A(1))},[e[145]||(e[145]=l("div",{class:"step-number"},"1",-1)),l("div",{class:xt(["step-title",{"active-title":D.value===1}])},"考察能力",2)],2),l("div",{class:xt(["step-line",{"active-line":D.value>=2}])},null,2),l("div",{class:xt(["step-item",{active:D.value===2}]),onClick:e[15]||(e[15]=p=>A(2))},[e[146]||(e[146]=l("div",{class:"step-number"},"2",-1)),l("div",{class:xt(["step-title",{"active-title":D.value===2}])},"面试题目",2)],2),l("div",{class:xt(["step-line",{"active-line":D.value>=3}])},null,2),l("div",{class:xt(["step-item",{active:D.value===3}]),onClick:e[16]||(e[16]=p=>A(3))},[e[147]||(e[147]=l("div",{class:"step-number"},"3",-1)),l("div",{class:xt(["step-title",{"active-title":D.value===3}])},"系统设置",2)],2)]),D.value===1?Bo((k(),H("div",Md,[l("div",Bd,[e[154]||(e[154]=l("div",{class:"ai-video-options-header"},[l("div",{class:"ai-video-options-header-title"},[l("span",null,"AI根据岗位信息生成的能力,创建完步骤后,会自动将选择的新智能能力加入到该职位的考察能力列表中。")])],-1)),l("div",jd,[l("div",kd,[(k(!0),H(Xe,null,Ze(Bt.value.slice(0,10),p=>(k(),Ae(Pn,{key:p.id,modelValue:p.selected,"onUpdate:modelValue":ie=>p.selected=ie,onChange:ie=>Ui(p,ie),class:"custom-checkbox"},{default:b(()=>[l("div",Nd,[l("span",null,ae(p.name),1),e[148]||(e[148]=l("img",{src:Zi,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),l("div",Fd,[l("div",Ld,[e[150]||(e[150]=l("h3",{style:{color:"#808080"}},"备选考核维度",-1)),l("div",Qd,[f(x,{type:"primary",class:"custom-btn",plain:"",size:"small",onClick:y},{default:b(()=>e[149]||(e[149]=[B("重新生成")])),_:1})])]),l("div",zd,[(k(!0),H(Xe,null,Ze(Bt.value.slice(10,20),p=>(k(),Ae(Pn,{key:p.id,modelValue:p.selected,"onUpdate:modelValue":ie=>p.selected=ie,onChange:ie=>Ui(p,ie),class:"custom-checkbox"},{default:b(()=>[l("div",Gd,[l("span",null,ae(p.name),1)])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),l("div",$d,[e[153]||(e[153]=l("h3",{style:{color:"#808080"}},"自定义维度",-1)),l("div",Jd,[l("div",Wd,[l("div",Hd,[f(L,{style:{width:"150px"},modelValue:un.value,"onUpdate:modelValue":e[17]||(e[17]=p=>un.value=p),placeholder:"请输入维度名称"},null,8,["modelValue"])]),l("div",Yd,[e[151]||(e[151]=l("div",{class:"input-label"},"特征描述:",-1)),f(L,{modelValue:eo.value,"onUpdate:modelValue":e[18]||(e[18]=p=>eo.value=p),style:{width:"500px"},type:"textarea",placeholder:"请输入特征描述"},null,8,["modelValue"])])]),l("div",Xd,[f(x,{type:"primary",onClick:hr},{default:b(()=>e[152]||(e[152]=[B("添加")])),_:1})])])])])])),[[Gi,Tn.value]]):ke("",!0),D.value===2?(k(),H("div",Zd,[l("div",qd,[l("div",_d,[l("div",eu,[f(x,{plain:"",class:"custom-btn",onClick:ye},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(pn))]),_:1}),e[155]||(e[155]=B(" 自定义题目 "))]),_:1}),f(x,{plain:"",class:"custom-btn"},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(Wi))]),_:1}),e[156]||(e[156]=B(" 导入题目 "))]),_:1}),l("div",tu,[l("div",nu,[e[157]||(e[157]=l("span",{class:"switch-label"},"开放题数量",-1)),f(Vn,{modelValue:fn.openQuestionsCount,"onUpdate:modelValue":e[19]||(e[19]=p=>fn.openQuestionsCount=p),min:1,max:10,size:"small",onChange:Ni},null,8,["modelValue"])]),l("div",ou,[e[158]||(e[158]=l("span",{class:"switch-label"},"选择题数量",-1)),f(Vn,{modelValue:fn.choiceQuestionsCount,"onUpdate:modelValue":e[20]||(e[20]=p=>fn.choiceQuestionsCount=p),min:1,max:20,size:"small",onChange:Ni},null,8,["modelValue"])]),l("div",iu,[e[159]||(e[159]=l("span",{class:"switch-label"},"得分题",-1)),f(Re,{style:{"margin-top":"0px"},modelValue:He.enableScoreQuestions,"onUpdate:modelValue":e[21]||(e[21]=p=>He.enableScoreQuestions=p),onChange:Dr},null,8,["modelValue"])]),l("div",au,[e[160]||(e[160]=l("span",{class:"switch-label"},"色盲题",-1)),f(Re,{style:{"margin-top":"0px"},modelValue:He.enableColorBlindQuestions,"onUpdate:modelValue":e[22]||(e[22]=p=>He.enableColorBlindQuestions=p),onChange:Pr},null,8,["modelValue"])])])]),l("div",ru,[e[161]||(e[161]=l("span",null,"预计面试时长: ",-1)),l("span",lu,ae(le.value),1),e[162]||(e[162]=l("span",{class:"duration-tip"},"拖动试题卡片可改变试题顺序",-1))])]),l("div",su,[Bo((k(),H("div",du,[Z.value.length===0?(k(),H("div",uu,[e[165]||(e[165]=l("p",null,"暂无题目",-1)),e[166]||(e[166]=l("p",{class:"ai-tip"},'点击"AI自动组题"按钮',-1)),e[167]||(e[167]=l("p",{class:"ai-tip"},"可根据您选择的能力类型一键组题",-1)),f(x,{type:"success",class:"auto-generate-btn",loading:ze.value,onClick:Yr},{default:b(()=>e[163]||(e[163]=[B(" AI自动组题 ")])),_:1},8,["loading"]),ze.value&&Se(Qt)?(k(),Ae(x,{key:0,type:"warning",plain:"",size:"small",onClick:Tr,style:{"margin-left":"10px"}},{default:b(()=>e[164]||(e[164]=[B(" 取消生成 ")])),_:1})):ke("",!0)])):(k(),H("div",cu,[f(Se(va),{modelValue:Z.value,"onUpdate:modelValue":e[23]||(e[23]=p=>Z.value=p),"item-key":"id",handle:".drag-handle",onStart:Er,onEnd:xr,animation:"200","ghost-class":"sortable-ghost","chosen-class":"sortable-chosen","drag-class":"sortable-drag"},{item:b(({element:p})=>[l("div",fu,[e[171]||(e[171]=l("div",{class:"drag-handle"},[l("img",{src:Al,alt:"",class:"dorp"})],-1)),l("div",vu,[l("div",pu,[l("div",mu,[l("div",gu,[l("span",hu,"题目"+ae(Z.value.indexOf(p)+1),1),l("span",null,[l("span",yu,ae("「"+p.question_form_name+"」"),1),B(ae(p.title),1)])]),l("div",bu,[(k(!0),H(Xe,null,Ze((p.competency_tag_info||p.competency_tags||[]).slice(0,2),(ie,Ce)=>(k(),Ae(gt,{key:ie.id,effect:"plain",class:"competency-tag",size:"small"},{default:b(()=>[B(ae(ie.name),1)]),_:2},1024))),128)),(p.competency_tag_info||p.competency_tags||[]).length>2?(k(),H("span",Su," +"+ae((p.competency_tag_info||p.competency_tags||[]).length-2),1)):ke("",!0)])])]),l("div",Eu,[f(x,{type:"text",onClick:ie=>dn(Z.value.indexOf(p))},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(vt))]),_:1})]),_:2},1032,["onClick"]),f(x,{type:"text",onClick:ie=>Di(Z.value.indexOf(p))},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(Hi))]),_:1})]),_:2},1032,["onClick"])])]),l("div",xu,[l("div",Iu,[l("span",null,ae(p.scoring_reference),1)])]),p.question_form==0?(k(),H("div",Cu,[l("div",wu,[f(Re,{style:{"margin-top":"0px"},modelValue:p.enable_follow_up,"onUpdate:modelValue":ie=>p.enable_follow_up=ie,onChange:ee},null,8,["modelValue","onUpdate:modelValue"]),e[168]||(e[168]=l("span",{class:"answer-label"},"回答不充分追问",-1))]),l("div",Au,[e[169]||(e[169]=l("span",{class:"answer-label"},"追问轮数",-1)),f(ve,{modelValue:p.maxAnswers,"onUpdate:modelValue":ie=>p.maxAnswers=ie,size:"small",placeholder:"请选择"},{default:b(()=>[f(q,{label:"1次",value:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])])])):ke("",!0),p.question_form==1?(k(),H("div",Ou,[l("div",Tu,[e[170]||(e[170]=l("span",{class:"answer-label"},"是否为红线题:",-1)),f(ve,{modelValue:p.is_required_correct,"onUpdate:modelValue":ie=>p.is_required_correct=ie,onChange:ie=>I(p.id,p.is_required_correct),size:"small",placeholder:"请选择"},{default:b(()=>[f(q,{label:"是",value:!0}),f(q,{label:"否",value:!1})]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])])])):ke("",!0)])]),_:1},8,["modelValue"])]))])),[[Gi,ze.value]]),l("div",Du,[e[174]||(e[174]=l("div",{class:"dimension-title"},"已选胜任力考核维度",-1)),l("div",Pu,[(k(!0),H(Xe,null,Ze(Y.value,(p,ie)=>(k(),H("div",{key:p.value,class:"dimension-item"},[l("div",Vu,[l("div",Ru,[l("span",Uu,ae(p.label),1),e[172]||(e[172]=l("img",{src:Zi,alt:"",class:"sheng"},null,-1))])]),l("div",{class:"dimension-content",onClick:Ce=>wr(ie),title:"点击删除此胜任力标签"},e[173]||(e[173]=[l("div",{class:"ability-description"},ae("—"),-1)]),8,Ku)]))),128))])])])])])):ke("",!0),D.value===3?(k(),H("div",Mu,[l("div",Bu,[l("div",ju,[e[185]||(e[185]=l("div",{class:"section-header"},"请选择面试官形象",-1)),l("div",ku,[l("div",Nu,[ni.value?(k(),H("img",{key:0,src:ni.value,alt:"",style:{width:"100%",height:"100%","object-fit":"cover",transform:"translateZ(0)","backface-visibility":"hidden"}},null,8,Fu)):ke("",!0)]),l("div",null,[l("div",Lu,[(k(!0),H(Xe,null,Ze(ti.value,p=>(k(),H("div",{key:p.id,class:xt(["avatar-item",{active:ft.value.id===p.id}]),onClick:ie=>yr(p)},[l("div",zu,[l("div",{class:xt(["avatar-circle",{selected:ft.value.id===p.id}])},[l("img",{src:p.avatar_url||p.image,alt:p.name},null,8,Gu)],2),l("div",{class:"avatar-name",title:p.name},ae(p.name),9,$u)])],10,Qu))),128))]),l("div",Ju,[e[175]||(e[175]=l("div",{class:"setting-label"},"「追问风格」",-1)),l("div",Wu,[f(ve,{modelValue:rt.followUpStyle,"onUpdate:modelValue":e[24]||(e[24]=p=>rt.followUpStyle=p),placeholder:"请选择",onChange:e[25]||(e[25]=p=>to("followUpStyle",rt.followUpStyle))},{default:b(()=>[f(q,{label:"温和",value:"1"}),f(q,{label:"严厉",value:"2"}),f(q,{label:"严谨",value:"3"})]),_:1},8,["modelValue"])]),e[176]||(e[176]=l("div",{class:"setting-desc"},null,-1))])])]),l("div",Hu,[l("div",Yu,[e[177]||(e[177]=l("div",{class:"setting-label"},"「回答视频保留」",-1)),e[178]||(e[178]=l("div",{class:"setting-desc"},"选取后,将在报告中展示候选人的回答视频",-1)),f(Re,{modelValue:rt.keepVideo,"onUpdate:modelValue":e[26]||(e[26]=p=>rt.keepVideo=p),onChange:e[27]||(e[27]=p=>to("keepVideo",p))},null,8,["modelValue"])]),l("div",Xu,[e[181]||(e[181]=l("div",{class:"setting-label"},"「中断后作答限制」",-1)),l("div",Zu,[f(uo,{modelValue:rt.interruptionMode,"onUpdate:modelValue":e[28]||(e[28]=p=>rt.interruptionMode=p),label:"current",onChange:e[29]||(e[29]=p=>to("interruptionMode",rt.interruptionMode))},{default:b(()=>e[179]||(e[179]=[B(" 从当前问题重新作答 ")])),_:1},8,["modelValue"]),f(uo,{modelValue:rt.interruptionMode,"onUpdate:modelValue":e[30]||(e[30]=p=>rt.interruptionMode=p),label:"previous",onChange:e[31]||(e[31]=p=>to("interruptionMode",rt.interruptionMode))},{default:b(()=>e[180]||(e[180]=[B(" 从头作答 ")])),_:1},8,["modelValue"])]),e[182]||(e[182]=l("div",{class:"setting-desc"},null,-1))]),l("div",qu,[e[183]||(e[183]=l("div",{class:"setting-label"},"「智慧追问」",-1)),e[184]||(e[184]=l("div",{class:"setting-desc"},"* 追问将结合候选人资料情况,综合分析发问",-1)),f(Re,{modelValue:rt.smartFollowUp,"onUpdate:modelValue":e[32]||(e[32]=p=>rt.smartFollowUp=p),onChange:e[33]||(e[33]=p=>to("smartFollowUp",p))},null,8,["modelValue"])])])])])])):ke("",!0)]),_:1},8,["modelValue"]),f(Pt,{title:"新增视频宣讲",modelValue:K.value,"onUpdate:modelValue":e[36]||(e[36]=p=>K.value=p),width:"35%","close-on-click-modal":!1,class:"video-lecture-dialog"},{footer:b(()=>[l("span",ic,[f(x,{onClick:P},{default:b(()=>e[193]||(e[193]=[B("取消")])),_:1}),f(x,{type:"primary",onClick:N},{default:b(()=>e[194]||(e[194]=[B("确认")])),_:1})])]),default:b(()=>[l("div",ec,[l("div",tc,[e[191]||(e[191]=l("div",{class:"form-label"},"上传视频",-1)),f(Li,{class:"video-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"video/*"},{default:b(()=>[l("div",nc,[f(F,null,{default:b(()=>[f(Se(pn))]),_:1}),e[190]||(e[190]=l("div",{class:"upload-text"},"上传文件大小不超过500M",-1))])]),_:1})]),l("div",oc,[e[192]||(e[192]=l("div",{class:"form-label"},"视频简介",-1)),f(L,{modelValue:$.description,"onUpdate:modelValue":e[35]||(e[35]=p=>$.description=p),type:"textarea",rows:"4",placeholder:"视频简介会显示在视频下方的标题下方",maxlength:"200","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),f(Se(li),{title:"AI实时对话",modelValue:X.value,"onUpdate:modelValue":e[38]||(e[38]=p=>X.value=p),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-chat-drawer","destroy-on-close":!1},{footer:b(()=>[l("div",xc,[f(x,{onClick:de},{default:b(()=>e[205]||(e[205]=[B("取消")])),_:1}),f(x,{type:"primary",onClick:_},{default:b(()=>e[206]||(e[206]=[B("确认")])),_:1})])]),default:b(()=>[l("div",ac,[l("div",rc,[e[204]||(e[204]=l("div",{class:"section-title"},[l("div",{class:"section-line"}),l("span",null,"对话设置")],-1)),l("div",lc,[f(x,{type:"primary",plain:"",onClick:he},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(pn))]),_:1}),e[195]||(e[195]=B(" 添加问题 "))]),_:1}),f(x,{type:"success",plain:"",onClick:ye},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(Wi))]),_:1}),e[196]||(e[196]=B(" 导入问题 "))]),_:1})]),l("div",sc,[Z.value.length===0?(k(),H("div",dc,e[197]||(e[197]=[l("p",null,"暂无问题",-1),l("p",{class:"tip-text"},'点击"添加问题"或"导入问题"添加面试问题',-1)]))):(k(),H("div",uc,[f(Se(va),{modelValue:Z.value,"onUpdate:modelValue":e[37]||(e[37]=p=>Z.value=p),"item-key":"id",handle:".drag-handle"},{item:b(({element:p,index:ie})=>[B(ae(p)+" ",1),l("div",cc,[l("div",fc,[l("div",vc,[l("span",pc,"题目"+ae(ie+1),1),l("span",null,ae(p.question),1)]),l("div",mc,[l("div",gc,[e[199]||(e[199]=l("span",{class:"weight-label"},"权重占比:",-1)),f(Vn,{modelValue:p.weight,"onUpdate:modelValue":Ce=>p.weight=Ce,min:0,max:100,step:1,size:"small","controls-position":"right"},{suffix:b(()=>e[198]||(e[198]=[B("%")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),l("div",hc,[e[200]||(e[200]=l("span",{class:"answer-label"},"最多回答次数",-1)),f(ve,{modelValue:p.maxAnswers,"onUpdate:modelValue":Ce=>p.maxAnswers=Ce,size:"small",placeholder:"请选择"},{default:b(()=>[f(q,{label:"1次",value:1}),f(q,{label:"2次",value:2}),f(q,{label:"3次",value:3})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),f(x,{type:"text",onClick:Ce=>dn(ie)},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(vt))]),_:1})]),_:2},1032,["onClick"]),f(x,{type:"text",onClick:Ce=>Di(ie)},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(Hi))]),_:1})]),_:2},1032,["onClick"])])]),l("div",yc,[l("div",bc,[e[201]||(e[201]=l("span",{class:"info-label"},"考察能力:",-1)),l("span",null,ae(p.ability),1)]),l("div",Sc,[e[202]||(e[202]=l("span",{class:"info-label"},"面试内容:",-1)),l("span",null,ae(p.content),1)]),l("div",Ec,[e[203]||(e[203]=l("span",{class:"info-label"},"对话目标:",-1)),l("span",null,ae(p.target),1)])])])]),_:1},8,["modelValue"])]))])])])]),_:1},8,["modelValue"]),f(Pt,{title:"编辑问题",modelValue:se.value,"onUpdate:modelValue":e[49]||(e[49]=p=>se.value=p),width:"500px","close-on-click-modal":!1,class:"question-dialog"},{footer:b(()=>[l("span",Nc,[f(x,{onClick:_e},{default:b(()=>e[233]||(e[233]=[B("取消")])),_:1}),f(x,{type:"primary",onClick:Ke},{default:b(()=>e[234]||(e[234]=[B("确认")])),_:1})])]),default:b(()=>[l("div",Ic,[l("div",Cc,[e[207]||(e[207]=l("div",{class:"form-label"},[B(" 题目内容"),l("span",{class:"required"},"*")],-1)),f(L,{modelValue:T.content,"onUpdate:modelValue":e[39]||(e[39]=p=>T.content=p),type:"textarea",rows:"4",placeholder:"请描述一次你如何在紧迫的时间内完成一个复杂的后端开发任务的经历",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),l("div",wc,[e[208]||(e[208]=l("div",{class:"form-label"},"胜任力标签",-1)),f(ve,{modelValue:Fi.value,"onUpdate:modelValue":e[40]||(e[40]=p=>Fi.value=p),placeholder:"请选择胜任力标签",class:"full-width",multiple:""},{default:b(()=>[(k(!0),H(Xe,null,Ze(re.value,p=>(k(),Ae(q,{key:p.id,label:p.name,value:p.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[209]||(e[209]=l("div",{class:"form-tip"},"选择胜任力标签和胜任力标签,可多选",-1))]),l("div",Ac,[e[215]||(e[215]=l("div",{class:"form-label"}," 胜任力配置 ",-1)),l("div",Oc,[e[211]||(e[211]=l("div",{class:"config-row"},[l("span",{class:"config-label"},"标签"),l("span",{class:"config-label"},"权重")],-1)),(k(!0),H(Xe,null,Ze(T.competency_tags,(p,ie)=>(k(),H("div",{class:"config-row",key:p.id},[l("span",Tc,ae(p.name),1),f(Vn,{modelValue:p.weight,"onUpdate:modelValue":Ce=>p.weight=Ce,min:0,max:100,step:1,"controls-position":"right",onChange:Ce=>tl(ie,Ce)},null,8,["modelValue","onUpdate:modelValue","onChange"]),e[210]||(e[210]=B(" % "))]))),128))]),l("div",Dc,[e[212]||(e[212]=B(" 配置各个胜任力标签的权重,总和需要100% ")),l("span",{class:xt(["weight-sum",{"weight-error":ai()!==100}])}," (当前总计: "+ae(ai())+"%) ",3),e[213]||(e[213]=l("br",null,null,-1)),f(F,{style:{color:"#409eff","margin-right":"4px","margin-top":"4px"}},{default:b(()=>[f(Se(El))]),_:1}),e[214]||(e[214]=l("span",{style:{color:"#909399","font-size":"11px"}},' 修改任意权重时,其他权重会自动按比例调整以保持总和为100%。点击"平均分配"可快速平均分配所有权重。 ',-1))])]),l("div",Pc,[e[216]||(e[216]=l("div",{class:"form-label"},"题目形式",-1)),f(ve,{modelValue:T.type,"onUpdate:modelValue":e[41]||(e[41]=p=>T.type=p),placeholder:"开放问题",class:"full-width",onChange:qr},{default:b(()=>[f(q,{label:"开放问题",value:"open"}),f(q,{label:"单选题",value:"single"}),f(q,{label:"多选题",value:"multiple"}),f(q,{label:"填空题",value:"fill"}),f(q,{label:"自言语",value:"self"})]),_:1},8,["modelValue"]),e[217]||(e[217]=l("div",{class:"form-tip"},"选择题目的形式:开放问题、单选题、多选题、填空题、自言语",-1))]),l("div",Vc,[e[218]||(e[218]=l("div",{class:"form-label"},"适用职位",-1)),f(ve,{modelValue:T.position,"onUpdate:modelValue":e[42]||(e[42]=p=>T.position=p),placeholder:"请选择适用职位类型",class:"full-width",multiple:""},{default:b(()=>[(k(!0),H(Xe,null,Ze(W.value,p=>(k(),Ae(q,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[219]||(e[219]=l("div",{class:"form-tip"},"选择题目适用的职位类型,可多选",-1))]),T.question_form===1||T.question_form===2?(k(),H("div",Rc,[e[223]||(e[223]=l("div",{class:"form-label"},"选项",-1)),l("div",null,[e[222]||(e[222]=l("div",{class:"option-header",style:{display:"flex","margin-bottom":"10px","font-weight":"bold"}},[l("span",{style:{flex:"1"}},"选项内容"),l("span",{style:{width:"80px","text-align":"center"}},"是否正确")],-1)),(k(!0),H(Xe,null,Ze(T.options,(p,ie)=>(k(),H("div",{key:ie,class:"option-item",style:{display:"flex","align-items":"center","margin-bottom":"10px"}},[f(L,{modelValue:p.text,"onUpdate:modelValue":Ce=>p.text=Ce,placeholder:"请输入选项内容",style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","onUpdate:modelValue"]),f(Rn,{content:"设置为正确答案",placement:"top",effect:"light"},{default:b(()=>[l("div",{onClick:()=>{T.question_form===1?T.options.forEach((Ce,rl)=>{Ce.is_correct=rl===ie}):p.is_correct=!p.is_correct},style:{cursor:"pointer",width:"80px","text-align":"center"}},[T.question_form===1?(k(),Ae(uo,{key:0,modelValue:p.is_correct,"onUpdate:modelValue":Ce=>p.is_correct=Ce,label:!0},null,8,["modelValue","onUpdate:modelValue"])):(k(),Ae(Pn,{key:1,modelValue:p.is_correct,"onUpdate:modelValue":Ce=>p.is_correct=Ce},null,8,["modelValue","onUpdate:modelValue"]))],8,Uc)]),_:2},1024)]))),128)),l("div",Kc,[f(x,{type:"primary",onClick:e[43]||(e[43]=()=>{T.options||(T.options=[]);const p=T.options.length>0?Math.max(...T.options.map(ie=>ie.sort||0))+1:1;T.options.push({option_text:"",is_correct:!1,sort:p})})},{default:b(()=>e[220]||(e[220]=[B(" 添加选项 ")])),_:1}),T.options&&T.options.length>2?(k(),Ae(x,{key:0,type:"danger",onClick:e[44]||(e[44]=()=>{T.options.pop()})},{default:b(()=>e[221]||(e[221]=[B(" 删除最后一项 ")])),_:1})):ke("",!0)])]),e[224]||(e[224]=l("div",{class:"form-tip"},"添加选项并设置正确答案,单选题只能有一个正确答案,多选题可以有多个正确答案",-1))])):ke("",!0),l("div",Mc,[e[225]||(e[225]=l("div",{class:"form-label"},"分类",-1)),f(ve,{modelValue:T.category,"onUpdate:modelValue":e[45]||(e[45]=p=>T.category=p),placeholder:"请选择题目分类",class:"full-width"},{default:b(()=>[(k(!0),H(Xe,null,Ze(oe.value,p=>(k(),Ae(q,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[226]||(e[226]=l("div",{class:"form-tip"},"选择题目所属分类",-1))]),l("div",Bc,[e[227]||(e[227]=l("div",{class:"form-label"},"标签",-1)),f(ve,{modelValue:T.tags,"onUpdate:modelValue":e[46]||(e[46]=p=>T.tags=p),placeholder:"请选择标签",class:"full-width",multiple:""},{default:b(()=>[(k(!0),H(Xe,null,Ze(xe.value,p=>(k(),Ae(q,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[228]||(e[228]=l("div",{class:"form-tip"},"选择题目相关标签,可多选",-1))]),l("div",jc,[e[229]||(e[229]=l("div",{class:"form-label"},"建议时长(秒)",-1)),f(Vn,{modelValue:T.suggestedDuration,"onUpdate:modelValue":e[47]||(e[47]=p=>T.suggestedDuration=p),min:0,step:1,"controls-position":"right",placeholder:"请输入建议回答时长",class:"full-width"},null,8,["modelValue"]),e[230]||(e[230]=l("div",{class:"form-tip"},"建议回答题目的时长,单位为秒",-1))]),l("div",kc,[e[231]||(e[231]=l("div",{class:"form-label"},"评价标准",-1)),f(L,{modelValue:T.scoring_reference,"onUpdate:modelValue":e[48]||(e[48]=p=>T.scoring_reference=p),type:"textarea",rows:"4",placeholder:"请输入评价标准",class:"full-width"},null,8,["modelValue"]),e[232]||(e[232]=l("div",{class:"form-tip"},"评价标准,用于评价应聘者的表现",-1))])])]),_:1},8,["modelValue"]),f(Pt,{title:"选择题目",modelValue:Ko.value,"onUpdate:modelValue":e[54]||(e[54]=p=>Ko.value=p),width:"70%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:b(()=>[l("span",$c,[f(x,{onClick:ki},{default:b(()=>e[235]||(e[235]=[B("取消")])),_:1}),f(x,{type:"primary",onClick:Ur,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:b(()=>e[236]||(e[236]=[B("确定")])),_:1})])]),default:b(()=>[l("div",Fc,[l("div",Lc,[l("div",Qc,[f(L,{modelValue:cn.value,"onUpdate:modelValue":e[50]||(e[50]=p=>cn.value=p),placeholder:"请输入关键词搜索题目",clearable:"",onClear:Xt,onKeyup:Ji(Xt,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:b(()=>[f(x,{onClick:Xt},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(Yi))]),_:1})]),_:1})]),_:1},8,["modelValue"]),f(ve,{modelValue:Ye.question_form,"onUpdate:modelValue":e[51]||(e[51]=p=>Ye.question_form=p),placeholder:"题目类型",clearable:"",onChange:Xt,style:{width:"120px"}},{default:b(()=>[f(q,{label:"开放问题",value:0}),f(q,{label:"单选题",value:1})]),_:1},8,["modelValue"])])]),l("div",zc,[f(Qi,{data:mt.value,style:{width:"100%"},onSelectionChange:ji},{default:b(()=>[f(Un,{type:"selection",width:"55"}),f(Un,{prop:"question",label:"题目标题"}),f(Un,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),l("div",Gc,[f(zi,{"current-page":Ye.page,"onUpdate:currentPage":e[52]||(e[52]=p=>Ye.page=p),"page-size":Ye.pageSize,"onUpdate:pageSize":e[53]||(e[53]=p=>Ye.pageSize=p),total:Bi.value,"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next",onSizeChange:Vr,onCurrentChange:Rr},null,8,["current-page","page-size","total"])])])])]),_:1},8,["modelValue"]),f(Pt,{title:"创建自定义题目",modelValue:oo.value,"onUpdate:modelValue":e[56]||(e[56]=p=>oo.value=p),width:"40%","close-on-click-modal":!1,class:"question-bank-form-dialog","before-close":En},{default:b(()=>[f(Il,{modelValue:Mo.value,"onUpdate:modelValue":e[55]||(e[55]=p=>Mo.value=p),"is-edit":Mi.value,onSubmit:st,onCancel:En},null,8,["modelValue","is-edit"])]),_:1},8,["modelValue"]),f(Pt,{title:"资料收集",modelValue:we.value,"onUpdate:modelValue":e[60]||(e[60]=p=>we.value=p),width:"900px","close-on-click-modal":!1,class:"data-collection-dialog"},{footer:b(()=>[l("span",ff,[f(x,{onClick:Oa},{default:b(()=>e[246]||(e[246]=[B("取消")])),_:1}),f(x,{type:"primary",onClick:Kr},{default:b(()=>e[247]||(e[247]=[B("确认")])),_:1})])]),default:b(()=>[l("div",Jc,[l("div",Wc,[e[245]||(e[245]=l("div",{class:"panel-header"},[l("h3",null,"字段显示配置")],-1)),l("div",Hc,[e[240]||(e[240]=l("div",{class:"section-title"},"基本信息",-1)),f(_t,{gutter:20},{default:b(()=>[(k(!0),H(Xe,null,Ze(Mr(),(p,ie)=>(k(),Ae(qt,{span:8,key:ie},{default:b(()=>[l("div",Yc,[l("span",Xc,ae(p.label),1),f(Rn,{content:"切换显示/隐藏",placement:"top"},{default:b(()=>[f(Re,{modelValue:p.visible,"onUpdate:modelValue":Ce=>p.visible=Ce,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[241]||(e[241]=l("div",{class:"section-title"},"家庭成员信息",-1)),f(_t,{gutter:20},{default:b(()=>[f(qt,{span:24},{default:b(()=>[l("div",Zc,[l("span",qc,[B(ae(Q.family_member.label)+" ",1),Q.family_member.visible?(k(),Ae(gt,{key:0,size:"small",type:"success"},{default:b(()=>e[237]||(e[237]=[B("已启用")])),_:1})):ke("",!0)]),f(Re,{modelValue:Q.family_member.visible,"onUpdate:modelValue":e[57]||(e[57]=p=>Q.family_member.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),Q.family_member.visible?(k(),Ae(_t,{key:0,gutter:20},{default:b(()=>[(k(!0),H(Xe,null,Ze(Q.family_member.fields,(p,ie)=>(k(),Ae(qt,{span:8,key:ie},{default:b(()=>[l("div",_c,[l("span",ef,ae(p.label),1),f(Rn,{content:"切换显示/隐藏",placement:"top"},{default:b(()=>[f(Re,{modelValue:p.visible,"onUpdate:modelValue":Ce=>p.visible=Ce,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):ke("",!0),e[242]||(e[242]=l("div",{class:"section-title"},"教育经历",-1)),f(_t,{gutter:20},{default:b(()=>[f(qt,{span:24},{default:b(()=>[l("div",tf,[l("span",nf,[B(ae(Q.education.label)+" ",1),Q.education.visible?(k(),Ae(gt,{key:0,size:"small",type:"success"},{default:b(()=>e[238]||(e[238]=[B("已启用")])),_:1})):ke("",!0)]),f(Re,{modelValue:Q.education.visible,"onUpdate:modelValue":e[58]||(e[58]=p=>Q.education.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),Q.education.visible?(k(),Ae(_t,{key:1,gutter:20},{default:b(()=>[(k(!0),H(Xe,null,Ze(Q.education.fields,(p,ie)=>(k(),Ae(qt,{span:8,key:ie},{default:b(()=>[l("div",of,[l("span",af,ae(p.label),1),f(Rn,{content:"切换显示/隐藏",placement:"top"},{default:b(()=>[f(Re,{modelValue:p.visible,"onUpdate:modelValue":Ce=>p.visible=Ce,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):ke("",!0),e[243]||(e[243]=l("div",{class:"section-title"},"专业技能",-1)),f(_t,{gutter:20},{default:b(()=>[(k(!0),H(Xe,null,Ze(Br(),(p,ie)=>(k(),Ae(qt,{span:8,key:ie},{default:b(()=>[l("div",rf,[l("span",lf,ae(p.label),1),f(Rn,{content:"切换显示/隐藏",placement:"top"},{default:b(()=>[f(Re,{modelValue:p.visible,"onUpdate:modelValue":Ce=>p.visible=Ce,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[244]||(e[244]=l("div",{class:"section-title"},"工作经历",-1)),f(_t,{gutter:20},{default:b(()=>[f(qt,{span:24},{default:b(()=>[l("div",sf,[l("span",df,[B(ae(Q.work_experience.label)+" ",1),Q.work_experience.visible?(k(),Ae(gt,{key:0,size:"small",type:"success"},{default:b(()=>e[239]||(e[239]=[B("已启用")])),_:1})):ke("",!0)]),f(Re,{modelValue:Q.work_experience.visible,"onUpdate:modelValue":e[59]||(e[59]=p=>Q.work_experience.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),Q.work_experience.visible?(k(),Ae(_t,{key:2,gutter:20},{default:b(()=>[(k(!0),H(Xe,null,Ze(Q.work_experience.fields,(p,ie)=>(k(),Ae(qt,{span:8,key:ie},{default:b(()=>[l("div",uf,[l("span",cf,ae(p.label),1),f(Rn,{content:"切换显示/隐藏",placement:"top"},{default:b(()=>[f(Re,{modelValue:p.visible,"onUpdate:modelValue":Ce=>p.visible=Ce,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):ke("",!0)])])])]),_:1},8,["modelValue"]),f(Pt,{title:"简历收集",modelValue:Me.value,"onUpdate:modelValue":e[62]||(e[62]=p=>Me.value=p),width:"500px","close-on-click-modal":!1,class:"resume-collection-dialog"},{footer:b(()=>[l("span",mf,[f(x,{onClick:Pe},{default:b(()=>e[249]||(e[249]=[B("取消")])),_:1}),f(x,{type:"primary",onClick:ct},{default:b(()=>e[250]||(e[250]=[B("确认")])),_:1})])]),default:b(()=>[l("div",vf,[l("div",pf,[e[248]||(e[248]=l("div",{class:"form-label"},"步骤名称",-1)),f(L,{modelValue:Te.title,"onUpdate:modelValue":e[61]||(e[61]=p=>Te.title=p),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),f(Pt,{title:"添加代码笔试步骤",modelValue:Qn.value,"onUpdate:modelValue":e[65]||(e[65]=p=>Qn.value=p),width:"500px","close-on-click-modal":!1,class:"code-test-dialog"},{footer:b(()=>[l("span",Tf,[f(x,{onClick:Pi},{default:b(()=>e[259]||(e[259]=[B("取消")])),_:1}),f(x,{type:"primary",onClick:Pa},{default:b(()=>e[260]||(e[260]=[B("确认")])),_:1})])]),default:b(()=>[l("div",gf,[l("div",hf,[e[251]||(e[251]=l("div",{class:"form-label"},"步骤名称",-1)),f(L,{modelValue:at.title,"onUpdate:modelValue":e[63]||(e[63]=p=>at.title=p),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),l("div",yf,[e[252]||(e[252]=l("div",{class:"form-label"},"自动评判试卷",-1)),f(Re,{modelValue:at.autoJudge,"onUpdate:modelValue":e[64]||(e[64]=p=>at.autoJudge=p)},null,8,["modelValue"]),l("span",bf,ae(at.autoJudge?"开启":"关闭"),1)]),l("div",Sf,[e[258]||(e[258]=l("div",{class:"form-label"},"添加考试试卷",-1)),l("div",Ef,[at.selectedPaper?(k(),H("div",If,[l("div",Cf,[l("div",wf,ae(at.selectedPaper.title),1),l("div",Af,[l("span",null,ae(at.selectedPaper.questionCount)+"道题",1),l("span",null,ae(at.selectedPaper.duration)+"分钟",1),l("span",null,ae(at.selectedPaper.difficulty),1)])]),l("div",Of,[f(x,{type:"text",onClick:Ra},{default:b(()=>e[255]||(e[255]=[B("查看")])),_:1}),f(x,{type:"text",onClick:Ua},{default:b(()=>e[256]||(e[256]=[B("更换")])),_:1}),f(x,{type:"text",onClick:Ka},{default:b(()=>e[257]||(e[257]=[B("删除")])),_:1})])])):(k(),H("div",xf,[f(x,{type:"primary",plain:"",onClick:Va},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(pn))]),_:1}),e[253]||(e[253]=B(" 添加考卷 "))]),_:1}),e[254]||(e[254]=l("p",{class:"tip-text"},"多选时,考生会随机分配到一套试卷",-1))]))])])])]),_:1},8,["modelValue"]),f(Se(li),{title:"添加打字测试步骤",modelValue:zn.value,"onUpdate:modelValue":e[73]||(e[73]=p=>zn.value=p),size:"60%","close-on-click-modal":!1,class:"typing-test-dialog","destroy-on-close":!1},{footer:b(()=>[l("span",Qf,[f(x,{onClick:Vi},{default:b(()=>e[277]||(e[277]=[B("取消")])),_:1}),f(x,{type:"primary",onClick:Ma},{default:b(()=>e[278]||(e[278]=[B("保存")])),_:1})])]),default:b(()=>[l("div",Df,[l("div",Pf,[e[262]||(e[262]=l("div",{class:"form-label"},"选择文章",-1)),l("div",Vf,[f(x,{type:"primary",size:"small",class:"add-article-btn"},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(pn))]),_:1}),e[261]||(e[261]=B(" 添加文章 "))]),_:1})])]),l("div",Rf,[e[265]||(e[265]=l("div",{class:"form-label"},"候选人选择文章方式",-1)),f(al,{modelValue:it.selectionMode,"onUpdate:modelValue":e[66]||(e[66]=p=>it.selectionMode=p)},{default:b(()=>[f(uo,{label:"random"},{default:b(()=>e[263]||(e[263]=[B("随机抽取")])),_:1}),f(uo,{label:"self"},{default:b(()=>e[264]||(e[264]=[B("候选人自主选择")])),_:1})]),_:1},8,["modelValue"])]),l("div",Uf,[e[267]||(e[267]=l("div",{class:"form-label"},"测试时间",-1)),l("div",Kf,[f(L,{modelValue:it.duration,"onUpdate:modelValue":e[67]||(e[67]=p=>it.duration=p),class:"time-input"},null,8,["modelValue"]),e[266]||(e[266]=l("span",{class:"time-unit"},"分钟",-1))])]),l("div",Mf,[e[269]||(e[269]=l("div",{class:"form-label"},"登录界面预览图(建议尺寸1024*768像素,最大不要超过5M)",-1)),f(Li,{class:"preview-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"image/*"},{default:b(()=>[l("div",Bf,[f(F,null,{default:b(()=>[f(Se(pn))]),_:1}),e[268]||(e[268]=l("div",{class:"upload-text"},"添加图片",-1))])]),_:1})]),l("div",jf,[e[270]||(e[270]=l("div",{class:"form-label"},"注意事项内容(在登录界面显示)",-1)),f(L,{modelValue:it.notes,"onUpdate:modelValue":e[68]||(e[68]=p=>it.notes=p),type:"textarea",rows:"4",placeholder:"请输入注意事项内容",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),l("div",kf,[e[271]||(e[271]=l("div",{class:"form-label"},"测试页面标题",-1)),f(L,{modelValue:it.pageTitle,"onUpdate:modelValue":e[69]||(e[69]=p=>it.pageTitle=p),placeholder:"测试页面标题"},null,8,["modelValue"])]),l("div",Nf,[e[273]||(e[273]=l("div",{class:"form-label"},"视频监控",-1)),f(Pn,{modelValue:it.videoMonitoring,"onUpdate:modelValue":e[70]||(e[70]=p=>it.videoMonitoring=p)},{default:b(()=>e[272]||(e[272]=[B("视频监控")])),_:1},8,["modelValue"])]),l("div",Ff,[e[276]||(e[276]=l("div",{class:"form-label"},"通过标准",-1)),l("div",Lf,[f(Pn,{modelValue:it.passCriteria.speed,"onUpdate:modelValue":e[71]||(e[71]=p=>it.passCriteria.speed=p)},{default:b(()=>e[274]||(e[274]=[B("速度")])),_:1},8,["modelValue"]),f(Pn,{modelValue:it.passCriteria.accuracy,"onUpdate:modelValue":e[72]||(e[72]=p=>it.passCriteria.accuracy=p)},{default:b(()=>e[275]||(e[275]=[B("正确率")])),_:1},8,["modelValue"])])])])]),_:1},8,["modelValue"]),f(Pt,{title:"面试设置",modelValue:ao.value,"onUpdate:modelValue":e[83]||(e[83]=p=>ao.value=p),width:"60%","close-on-click-modal":!1,class:"interview-settings-dialog"},{footer:b(()=>[l("span",hv,[f(x,{onClick:jr},{default:b(()=>e[298]||(e[298]=[B("取消")])),_:1}),f(x,{type:"primary",onClick:kr},{default:b(()=>e[299]||(e[299]=[B("完成")])),_:1})])]),default:b(()=>[l("div",zf,[l("div",Gf,[e[285]||(e[285]=l("div",{class:"section-header"},[l("span",{class:"section-title"},"防作弊设置")],-1)),l("div",$f,[e[279]||(e[279]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「人脸一致性检测」"),l("p",{class:"setting-desc"},"该强调,非本人操作人脸可视化提醒和警示,默认开启")],-1)),f(Re,{modelValue:je.faceConsistency,"onUpdate:modelValue":e[74]||(e[74]=p=>je.faceConsistency=p),disabled:!0},null,8,["modelValue"])]),l("div",Jf,[e[280]||(e[280]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 防截屏 / 录屏 」"),l("p",{class:"setting-desc"},"该强调,非本人前来体验截屏录屏以上行为,为防止提醒")],-1)),f(Re,{modelValue:je.preventScreenshot,"onUpdate:modelValue":e[75]||(e[75]=p=>je.preventScreenshot=p),disabled:!0},null,8,["modelValue"])]),l("div",Wf,[e[282]||(e[282]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 切 屏 预 制 」"),l("p",{class:"setting-desc"},"该强调,非本人前使用切屏处理用页面,为防作弊警示")],-1)),f(Re,{modelValue:je.screenSwitchAlert,"onUpdate:modelValue":e[76]||(e[76]=p=>je.screenSwitchAlert=p),disabled:!0},{default:b(()=>e[281]||(e[281]=[l("span",{class:"switch-desc"},"切屏超过 2 次关闭,作答本关面试",-1)])),_:1},8,["modelValue"])]),l("div",Hf,[e[283]||(e[283]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 情 绪 识 别」"),l("p",{class:"setting-desc"},"该现已,条件较差以及入侵过程中的作弊,条件等好等")],-1)),f(Re,{modelValue:je.positionDetection,"onUpdate:modelValue":e[77]||(e[77]=p=>je.positionDetection=p)},null,8,["modelValue"])]),l("div",Yf,[e[284]||(e[284]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 眼 动 检 测 」"),l("p",{class:"setting-desc"},"视实检测候选人的眼动频率进行分析,页面等较等")],-1)),f(Re,{modelValue:je.eyeMovementDetection,"onUpdate:modelValue":e[78]||(e[78]=p=>je.eyeMovementDetection=p)},null,8,["modelValue"])])]),l("div",Xf,[e[297]||(e[297]=l("div",{class:"section-header"},[l("span",{class:"section-title"},"其他设置")],-1)),l("div",Zf,[l("div",qf,[e[286]||(e[286]=l("span",{class:"setting-name"},"重复面试",-1)),e[287]||(e[287]=l("p",{class:"setting-desc"},"选取后,将允许面试者进行重复面试",-1)),f(Re,{modelValue:je.reviewInterview,"onUpdate:modelValue":e[79]||(e[79]=p=>je.reviewInterview=p)},null,8,["modelValue"])])]),l("div",_f,[l("div",ev,[e[290]||(e[290]=l("span",{class:"setting-name"},"开场词",-1)),wn.value?(k(),H("div",ov,[f(L,{modelValue:Zt.value,"onUpdate:modelValue":e[80]||(e[80]=p=>Zt.value=p),type:"textarea",rows:"2",placeholder:"请输入开始前提示内容","show-word-limit":""},null,8,["modelValue"]),l("div",iv,[f(x,{size:"small",onClick:Lr},{default:b(()=>e[288]||(e[288]=[B("取消")])),_:1}),f(x,{size:"small",type:"primary",onClick:Qr},{default:b(()=>e[289]||(e[289]=[B("保存")])),_:1})])])):(k(),H("div",tv,[l("p",nv,ae(je.beforeStartText),1),f(x,{type:"text",class:"edit-desc-btn",onClick:Fr},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(vt))]),_:1})]),_:1})]))])]),l("div",av,[l("div",rv,[e[293]||(e[293]=l("span",{class:"setting-name"},"开始后提醒",-1)),ro.value?(k(),H("div",dv,[f(L,{modelValue:An.value,"onUpdate:modelValue":e[81]||(e[81]=p=>An.value=p),type:"textarea",rows:"2",placeholder:"请输入开始后提醒内容",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),l("div",uv,[f(x,{size:"small",onClick:Gr},{default:b(()=>e[291]||(e[291]=[B("取消")])),_:1}),f(x,{size:"small",type:"primary",onClick:$r},{default:b(()=>e[292]||(e[292]=[B("保存")])),_:1})])])):(k(),H("div",lv,[l("p",sv,ae(je.afterStartText),1),f(x,{type:"text",class:"edit-desc-btn",onClick:zr},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(vt))]),_:1})]),_:1})]))])]),l("div",cv,[l("div",fv,[e[296]||(e[296]=l("span",{class:"setting-name"},"结束语",-1)),lo.value?(k(),H("div",mv,[f(L,{modelValue:On.value,"onUpdate:modelValue":e[82]||(e[82]=p=>On.value=p),type:"textarea",rows:"2",placeholder:"请输入免责声明内容",maxlength:"200","show-word-limit":""},null,8,["modelValue"]),l("div",gv,[f(x,{size:"small",onClick:Wr},{default:b(()=>e[294]||(e[294]=[B("取消")])),_:1}),f(x,{size:"small",type:"primary",onClick:Hr},{default:b(()=>e[295]||(e[295]=[B("保存")])),_:1})])])):(k(),H("div",vv,[l("p",pv,ae(je.disclaimerText),1),f(x,{type:"text",class:"edit-desc-btn",onClick:Jr},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(vt))]),_:1})]),_:1})]))])])])])]),_:1},8,["modelValue"]),f(Pt,{title:"选择题目",modelValue:c.value,"onUpdate:modelValue":e[88]||(e[88]=p=>c.value=p),width:"70%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:b(()=>[l("span",Iv,[f(x,{onClick:ki},{default:b(()=>e[300]||(e[300]=[B("取消")])),_:1}),f(x,{type:"primary",onClick:h,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:b(()=>e[301]||(e[301]=[B("确定")])),_:1})])]),default:b(()=>[l("div",yv,[l("div",bv,[l("div",Sv,[f(L,{modelValue:cn.value,"onUpdate:modelValue":e[84]||(e[84]=p=>cn.value=p),placeholder:"请输入关键词搜索题目",clearable:"",onClear:Xt,onKeyup:Ji(Xt,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:b(()=>[f(x,{onClick:Xt},{default:b(()=>[f(F,null,{default:b(()=>[f(Se(Yi))]),_:1})]),_:1})]),_:1},8,["modelValue"]),f(ve,{modelValue:Ye.question_form,"onUpdate:modelValue":e[85]||(e[85]=p=>Ye.question_form=p),placeholder:"题目类型",clearable:"",onChange:Xt,style:{width:"120px"}},{default:b(()=>[f(q,{label:"开放问题",value:0}),f(q,{label:"单选题",value:1}),f(q,{label:"多选题",value:2}),f(q,{label:"看图选答案",value:3}),f(q,{label:"得分题",value:4}),f(q,{label:"追加型开放问题",value:5}),f(q,{label:"填空题",value:6})]),_:1},8,["modelValue"])])]),l("div",Ev,[f(Qi,{data:mt.value,style:{width:"100%"},onSelectionChange:ji},{default:b(()=>[f(Un,{type:"selection",width:"55"}),f(Un,{prop:"question",label:"题目标题"}),f(Un,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),l("div",xv,[f(zi,{"current-page":Ye.page,"onUpdate:currentPage":e[86]||(e[86]=p=>Ye.page=p),"page-size":Ye.pageSize,"onUpdate:pageSize":e[87]||(e[87]=p=>Ye.pageSize=p),total:io.value,"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next",onSizeChange:g,onCurrentChange:m},null,8,["current-page","page-size","total"])])])])]),_:1},8,["modelValue"]),f(Pt,{title:so.value>=0?"编辑候选人提问环节":"配置候选人提问环节",modelValue:Dn.value,"onUpdate:modelValue":e[92]||(e[92]=p=>Dn.value=p),width:"600px","close-on-click-modal":!1,class:"candidate-questions-dialog"},{footer:b(()=>[l("span",Tv,[f(x,{onClick:Ie},{default:b(()=>e[308]||(e[308]=[B("取消")])),_:1}),f(x,{type:"primary",onClick:fe},{default:b(()=>e[309]||(e[309]=[B("确认")])),_:1})])]),default:b(()=>[l("div",Cv,[l("div",wv,[e[302]||(e[302]=l("div",{class:"form-label"},[B(" 环节名称"),l("span",{class:"required"},"*")],-1)),f(L,{modelValue:Ve.title,"onUpdate:modelValue":e[89]||(e[89]=p=>Ve.title=p),placeholder:"请输入环节名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),l("div",Av,[e[303]||(e[303]=l("div",{class:"form-label"},[B(" 提问时长"),l("span",{class:"required"},"*")],-1)),f(Vn,{modelValue:Ve.duration,"onUpdate:modelValue":e[90]||(e[90]=p=>Ve.duration=p),min:1,max:30,step:1,"controls-position":"right",style:{width:"200px"}},null,8,["modelValue"]),e[304]||(e[304]=l("span",{class:"form-unit"},"分钟",-1)),e[305]||(e[305]=l("div",{class:"form-tip"},"候选人可用于提问的总时长",-1))]),l("div",Ov,[e[306]||(e[306]=l("div",{class:"form-label"},"环节描述",-1)),f(L,{modelValue:Ve.description,"onUpdate:modelValue":e[91]||(e[91]=p=>Ve.description=p),type:"textarea",rows:"3",placeholder:"请输入环节描述",maxlength:"200","show-word-limit":""},null,8,["modelValue"]),e[307]||(e[307]=l("div",{class:"form-tip"},"向候选人说明此环节的目的和意义",-1))])])]),_:1},8,["title","modelValue"])])}}}),Nv=wl(Dv,[["__scopeId","data-v-c98b6591"]]);export{Nv as default};