index.CQCVgAi8.js 214 KB

12345678910
  1. import{a as Ol,aH as Tl,aB as Dl,r as Q,_ as et,f as ci,q as Vl,W as Pl,w as Rl,aj as Oe,at as Ul,c as Y,o as B,b as s,S as v,K as y,P as k,Q as re,u as be,M as Te,J as Ce,R as We,a9 as He,L as jo,G as It,T as Zi,Y as Kl,F as Ml,a7 as kl}from"./vue.D1BjjNmv.js";import{b as Bl,c as Nl,C as jl,U as Ct}from"./api.DPLIsmLY.js";import{r as tt,S as Ve,a8 as Fl,g as Ll,a9 as Ql,c as Gl,E as R,X as yt,U as bn,aa as zl,ab as qi,Y as _i,ac as fi,ad as $l,ae as Jl,Z as ea}from"./index.WUjxGbo-.js";import{g as Wl}from"./pcaData.5HEg6BqW.js";import Hl from"./QuestionBankForm.CCS5NLEm.js";import{A as Yl}from"./api.ahSFSCnV.js";import Xl from"./treeList.BjwL-xfk.js";import{G as ta,a as na,b as oa}from"./api.DqFYcIo3.js";import{_ as Zl}from"./_plugin-vue_export-helper.DlAUqK2U.js";import"./QuestionOptionsEditor.CfqO4x61.js";import"./BlankAnswerEditor.DfAHFZ1O.js";const ia="/assets/sheng.BKW1Im68.png",ql="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAImCAQAAAAGHG0zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFyGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNS0wNi0xM1QxNzowMToyMCswODowMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNDE0NGJjZC05NWJlLTMxNGMtODlmZC01MTk0MTdmODc5OWEiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplYzMyM2E1Zi04ZWZiLTgxNGUtYWMzOS05Nzc3ODNiNDUzYjQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIHN0RXZ0OndoZW49IjIwMjUtMDYtMTNUMTc6MDE6MjArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4wIChXaW5kb3dzKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MzQxNDRiY2QtOTViZS0zMTRjLTg5ZmQtNTE5NDE3Zjg3OTlhIiBzdEV2dDp3aGVuPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JOr+gQAABzlJREFUeJzt1rENwzAQBEHTUOHsnEoVKhDwG8xUcNHi1vkBdPynBwA8iRKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHJND3hrn+kFULXX9IIveUpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEp60wvAHjwlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSDlmh7w1j7TC6Bqr+kFX/KUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUtaZXgDw4CkBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHIDp74LS5/6zzUAAAAASUVORK5CYII=";function _l(l){return tt({url:"/api/system/competency/list",method:"get",params:{...l,tenant_id:Ve.get("tenant_id")}})}function qt(l){return tt({url:"/api/system/interview_question/list",method:"get",params:{...l,tenant_id:Ve.get("tenant_id")}})}function es(l){return tt({url:"/api/system/interview_question/ai_generated",method:"post",data:{...l,tenant_id:Ve.get("tenant_id")},timeout:0})}function aa(l){return tt({url:"/api/system/interview_question/draft_list",method:"get",params:{...l,tenant_id:Ve.get("tenant_id")}})}function ts(l){return tt({url:"/api/system/interview_question/confirm_draft",method:"post",data:{...l,tenant_id:Ve.get("tenant_id")},timeout:0})}function ns(l){return tt({url:"/api/system/digital_human/",method:"get",params:{...l,tenant_id:Ve.get("tenant_id")}})}function vi(l){return tt({url:"/api/system/job_config/list",method:"post",data:{...l,tenant_id:Ve.get("tenant_id")}})}function Pt(l){return tt({url:`/api/system/job_config/detail/${l.id}`,method:"put",data:{...l,tenant_id:Ve.get("tenant_id")}})}function Bn(l){return tt({url:`/api/system/job_config/position/detail/${l}`,method:"get"})}function pi(l){return tt({url:"api/system/job/add_question",method:"post",data:{...l,tenant_id:Ve.get("tenant_id")}})}function mi(l){return tt({url:"/api/system/digital_human/generate_opening_video",method:"post",data:{...l,tenant_id:Ve.get("tenant_id")},timeout:0})}function ra(l){return tt({url:"/api/system/digital_human/generate_question_videos",method:"post",data:{...l,tenant_id:Ve.get("tenant_id"),force_regenerate:!0},timeout:0})}function os(l){return tt({url:"/api/system/job/batch_delete_questions",method:"post",data:{...l,tenant_id:Ve.get("tenant_id")}})}function la(l){return tt({url:"/competency/generate_from_position/",method:"post",data:{...l,tenant_id:Ve.get("tenant_id")},timeout:0})}function is(l){return tt({url:"/competency/save_position_tags/",method:"post",data:{...l,tenant_id:Ve.get("tenant_id")}})}function as(l){return tt({url:"/api/system/competency/list",method:"get",params:{...l,tenant_id:Ve.get("tenant_id")}})}function rs(l){return tt({url:"/api/system/job/questions",method:"get",params:{...l,tenant_id:Ve.get("tenant_id")}})}function ls(l){return tt({url:"/api/system/competency/create",method:"post",data:{...l,tenant_id:Ve.get("tenant_id")}})}function ss(l){return tt({url:"/api/system/competency/batch_bind",method:"post",data:{...l,tenant_id:Ve.get("tenant_id")}})}var Ea={exports:{}};/**!
  2. * Sortable 1.14.0
  3. * @author RubaXa <trash@rubaxa.org>
  4. * @author owenm <owen23355@gmail.com>
  5. * @license MIT
  6. */function sa(l,i){var o=Object.keys(l);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(l);i&&(d=d.filter(function(n){return Object.getOwnPropertyDescriptor(l,n).enumerable})),o.push.apply(o,d)}return o}function $t(l){for(var i=1;i<arguments.length;i++){var o=arguments[i]!=null?arguments[i]:{};i%2?sa(Object(o),!0).forEach(function(d){ds(l,d,o[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(o)):sa(Object(o)).forEach(function(d){Object.defineProperty(l,d,Object.getOwnPropertyDescriptor(o,d))})}return l}function Jo(l){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Jo=function(i){return typeof i}:Jo=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Jo(l)}function ds(l,i,o){return i in l?Object.defineProperty(l,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):l[i]=o,l}function Ut(){return Ut=Object.assign||function(l){for(var i=1;i<arguments.length;i++){var o=arguments[i];for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(l[d]=o[d])}return l},Ut.apply(this,arguments)}function us(l,i){if(l==null)return{};var o={},d=Object.keys(l),n,c;for(c=0;c<d.length;c++)n=d[c],!(i.indexOf(n)>=0)&&(o[n]=l[n]);return o}function cs(l,i){if(l==null)return{};var o=us(l,i),d,n;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(l);for(n=0;n<c.length;n++)d=c[n],!(i.indexOf(d)>=0)&&Object.prototype.propertyIsEnumerable.call(l,d)&&(o[d]=l[d])}return o}function fs(l){return vs(l)||ps(l)||ms(l)||gs()}function vs(l){if(Array.isArray(l))return wi(l)}function ps(l){if(typeof Symbol<"u"&&l[Symbol.iterator]!=null||l["@@iterator"]!=null)return Array.from(l)}function ms(l,i){if(l){if(typeof l=="string")return wi(l,i);var o=Object.prototype.toString.call(l).slice(8,-1);if(o==="Object"&&l.constructor&&(o=l.constructor.name),o==="Map"||o==="Set")return Array.from(l);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return wi(l,i)}}function wi(l,i){(i==null||i>l.length)&&(i=l.length);for(var o=0,d=new Array(i);o<i;o++)d[o]=l[o];return d}function gs(){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 hs="1.14.0";function _t(l){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(l)}var en=_t(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ao=_t(/Edge/i),da=_t(/firefox/i),So=_t(/safari/i)&&!_t(/chrome/i)&&!_t(/android/i),xa=_t(/iP(ad|od|hone)/i),ys=_t(/chrome/i)&&_t(/android/i),Ia={capture:!1,passive:!1};function Se(l,i,o){l.addEventListener(i,o,!en&&Ia)}function ge(l,i,o){l.removeEventListener(i,o,!en&&Ia)}function Zo(l,i){if(i){if(i[0]===">"&&(i=i.substring(1)),l)try{if(l.matches)return l.matches(i);if(l.msMatchesSelector)return l.msMatchesSelector(i);if(l.webkitMatchesSelector)return l.webkitMatchesSelector(i)}catch{return!1}return!1}}function bs(l){return l.host&&l!==document&&l.host.nodeType?l.host:l.parentNode}function Nt(l,i,o,d){if(l){o=o||document;do{if(i!=null&&(i[0]===">"?l.parentNode===o&&Zo(l,i):Zo(l,i))||d&&l===o)return l;if(l===o)break}while(l=bs(l))}return null}var ua=/\s+/g;function Le(l,i,o){if(l&&i)if(l.classList)l.classList[o?"add":"remove"](i);else{var d=(" "+l.className+" ").replace(ua," ").replace(" "+i+" "," ");l.className=(d+(o?" "+i:"")).replace(ua," ")}}function oe(l,i,o){var d=l&&l.style;if(d){if(o===void 0)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(l,""):l.currentStyle&&(o=l.currentStyle),i===void 0?o:o[i];!(i in d)&&i.indexOf("webkit")===-1&&(i="-webkit-"+i),d[i]=o+(typeof o=="string"?"":"px")}}function In(l,i){var o="";if(typeof l=="string")o=l;else do{var d=oe(l,"transform");d&&d!=="none"&&(o=d+" "+o)}while(!i&&(l=l.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(o)}function Ca(l,i,o){if(l){var d=l.getElementsByTagName(i),n=0,c=d.length;if(o)for(;n<c;n++)o(d[n],n);return d}return[]}function zt(){var l=document.scrollingElement;return l||document.documentElement}function Fe(l,i,o,d,n){if(!(!l.getBoundingClientRect&&l!==window)){var c,t,a,r,u,g,m;if(l!==window&&l.parentNode&&l!==zt()?(c=l.getBoundingClientRect(),t=c.top,a=c.left,r=c.bottom,u=c.right,g=c.height,m=c.width):(t=0,a=0,r=window.innerHeight,u=window.innerWidth,g=window.innerHeight,m=window.innerWidth),(i||o)&&l!==window&&(n=n||l.parentNode,!en))do if(n&&n.getBoundingClientRect&&(oe(n,"transform")!=="none"||o&&oe(n,"position")!=="static")){var h=n.getBoundingClientRect();t-=h.top+parseInt(oe(n,"border-top-width")),a-=h.left+parseInt(oe(n,"border-left-width")),r=t+c.height,u=a+c.width;break}while(n=n.parentNode);if(d&&l!==window){var b=In(n||l),S=b&&b.a,E=b&&b.d;b&&(t/=E,a/=S,m/=S,g/=E,r=t+g,u=a+m)}return{top:t,left:a,bottom:r,right:u,width:m,height:g}}}function ca(l,i,o){for(var d=un(l,!0),n=Fe(l)[i];d;){var c=Fe(d)[o],t=void 0;if(t=n>=c,!t)return d;if(d===zt())break;d=un(d,!1)}return!1}function Gn(l,i,o,d){for(var n=0,c=0,t=l.children;c<t.length;){if(t[c].style.display!=="none"&&t[c]!==ue.ghost&&(d||t[c]!==ue.dragged)&&Nt(t[c],o.draggable,l,!1)){if(n===i)return t[c];n++}c++}return null}function Pi(l,i){for(var o=l.lastElementChild;o&&(o===ue.ghost||oe(o,"display")==="none"||i&&!Zo(o,i));)o=o.previousElementSibling;return o||null}function $e(l,i){var o=0;if(!l||!l.parentNode)return-1;for(;l=l.previousElementSibling;)l.nodeName.toUpperCase()!=="TEMPLATE"&&l!==ue.clone&&(!i||Zo(l,i))&&o++;return o}function fa(l){var i=0,o=0,d=zt();if(l)do{var n=In(l),c=n.a,t=n.d;i+=l.scrollLeft*c,o+=l.scrollTop*t}while(l!==d&&(l=l.parentNode));return[i,o]}function Ss(l,i){for(var o in l)if(l.hasOwnProperty(o)){for(var d in i)if(i.hasOwnProperty(d)&&i[d]===l[o][d])return Number(o)}return-1}function un(l,i){if(!l||!l.getBoundingClientRect)return zt();var o=l,d=!1;do if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var n=oe(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 zt();if(d||i)return o;d=!0}}while(o=o.parentNode);return zt()}function Es(l,i){if(l&&i)for(var o in i)i.hasOwnProperty(o)&&(l[o]=i[o]);return l}function gi(l,i){return Math.round(l.top)===Math.round(i.top)&&Math.round(l.left)===Math.round(i.left)&&Math.round(l.height)===Math.round(i.height)&&Math.round(l.width)===Math.round(i.width)}var Eo;function Aa(l,i){return function(){if(!Eo){var o=arguments,d=this;o.length===1?l.call(d,o[0]):l.apply(d,o),Eo=setTimeout(function(){Eo=void 0},i)}}}function xs(){clearTimeout(Eo),Eo=void 0}function wa(l,i,o){l.scrollLeft+=i,l.scrollTop+=o}function Ri(l){var i=window.Polymer,o=window.jQuery||window.Zepto;return i&&i.dom?i.dom(l).cloneNode(!0):o?o(l).clone(!0)[0]:l.cloneNode(!0)}function va(l,i){oe(l,"position","absolute"),oe(l,"top",i.top),oe(l,"left",i.left),oe(l,"width",i.width),oe(l,"height",i.height)}function hi(l){oe(l,"position",""),oe(l,"top",""),oe(l,"left",""),oe(l,"width",""),oe(l,"height","")}var pt="Sortable"+new Date().getTime();function Is(){var l=[],i;return{captureAnimationState:function(){if(l=[],!!this.options.animation){var d=[].slice.call(this.el.children);d.forEach(function(n){if(!(oe(n,"display")==="none"||n===ue.ghost)){l.push({target:n,rect:Fe(n)});var c=$t({},l[l.length-1].rect);if(n.thisAnimationDuration){var t=In(n,!0);t&&(c.top-=t.f,c.left-=t.e)}n.fromRect=c}})}},addAnimationState:function(d){l.push(d)},removeAnimationState:function(d){l.splice(Ss(l,{target:d}),1)},animateAll:function(d){var n=this;if(!this.options.animation){clearTimeout(i),typeof d=="function"&&d();return}var c=!1,t=0;l.forEach(function(a){var r=0,u=a.target,g=u.fromRect,m=Fe(u),h=u.prevFromRect,b=u.prevToRect,S=a.rect,E=In(u,!0);E&&(m.top-=E.f,m.left-=E.e),u.toRect=m,u.thisAnimationDuration&&gi(h,m)&&!gi(g,m)&&(S.top-m.top)/(S.left-m.left)===(g.top-m.top)/(g.left-m.left)&&(r=As(S,h,b,n.options)),gi(m,g)||(u.prevFromRect=g,u.prevToRect=m,r||(r=n.options.animation),n.animate(u,S,m,r)),r&&(c=!0,t=Math.max(t,r),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},r),u.thisAnimationDuration=r)}),clearTimeout(i),c?i=setTimeout(function(){typeof d=="function"&&d()},t):typeof d=="function"&&d(),l=[]},animate:function(d,n,c,t){if(t){oe(d,"transition",""),oe(d,"transform","");var a=In(this.el),r=a&&a.a,u=a&&a.d,g=(n.left-c.left)/(r||1),m=(n.top-c.top)/(u||1);d.animatingX=!!g,d.animatingY=!!m,oe(d,"transform","translate3d("+g+"px,"+m+"px,0)"),this.forRepaintDummy=Cs(d),oe(d,"transition","transform "+t+"ms"+(this.options.easing?" "+this.options.easing:"")),oe(d,"transform","translate3d(0,0,0)"),typeof d.animated=="number"&&clearTimeout(d.animated),d.animated=setTimeout(function(){oe(d,"transition",""),oe(d,"transform",""),d.animated=!1,d.animatingX=!1,d.animatingY=!1},t)}}}}function Cs(l){return l.offsetWidth}function As(l,i,o,d){return Math.sqrt(Math.pow(i.top-l.top,2)+Math.pow(i.left-l.left,2))/Math.sqrt(Math.pow(i.top-o.top,2)+Math.pow(i.left-o.left,2))*d.animation}var Nn=[],yi={initializeByDefault:!0},wo={mount:function(i){for(var o in yi)yi.hasOwnProperty(o)&&!(o in i)&&(i[o]=yi[o]);Nn.forEach(function(d){if(d.pluginName===i.pluginName)throw"Sortable: Cannot mount plugin ".concat(i.pluginName," more than once")}),Nn.push(i)},pluginEvent:function(i,o,d){var n=this;this.eventCanceled=!1,d.cancel=function(){n.eventCanceled=!0};var c=i+"Global";Nn.forEach(function(t){o[t.pluginName]&&(o[t.pluginName][c]&&o[t.pluginName][c]($t({sortable:o},d)),o.options[t.pluginName]&&o[t.pluginName][i]&&o[t.pluginName][i]($t({sortable:o},d)))})},initializePlugins:function(i,o,d,n){Nn.forEach(function(a){var r=a.pluginName;if(!(!i.options[r]&&!a.initializeByDefault)){var u=new a(i,o,i.options);u.sortable=i,u.options=i.options,i[r]=u,Ut(d,u.defaults)}});for(var c in i.options)if(i.options.hasOwnProperty(c)){var t=this.modifyOption(i,c,i.options[c]);typeof t<"u"&&(i.options[c]=t)}},getEventProperties:function(i,o){var d={};return Nn.forEach(function(n){typeof n.eventProperties=="function"&&Ut(d,n.eventProperties.call(o[n.pluginName],i))}),d},modifyOption:function(i,o,d){var n;return Nn.forEach(function(c){i[c.pluginName]&&c.optionListeners&&typeof c.optionListeners[o]=="function"&&(n=c.optionListeners[o].call(i[c.pluginName],d))}),n}};function go(l){var i=l.sortable,o=l.rootEl,d=l.name,n=l.targetEl,c=l.cloneEl,t=l.toEl,a=l.fromEl,r=l.oldIndex,u=l.newIndex,g=l.oldDraggableIndex,m=l.newDraggableIndex,h=l.originalEvent,b=l.putSortable,S=l.extraEventProperties;if(i=i||o&&o[pt],!!i){var E,I=i.options,w="on"+d.charAt(0).toUpperCase()+d.substr(1);window.CustomEvent&&!en&&!Ao?E=new CustomEvent(d,{bubbles:!0,cancelable:!0}):(E=document.createEvent("Event"),E.initEvent(d,!0,!0)),E.to=t||o,E.from=a||o,E.item=n||o,E.clone=c,E.oldIndex=r,E.newIndex=u,E.oldDraggableIndex=g,E.newDraggableIndex=m,E.originalEvent=h,E.pullMode=b?b.lastPutMode:void 0;var O=$t($t({},S),wo.getEventProperties(d,i));for(var M in O)E[M]=O[M];o&&o.dispatchEvent(E),I[w]&&I[w].call(i,E)}}var ws=["evt"],St=function(i,o){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=d.evt,c=cs(d,ws);wo.pluginEvent.bind(ue)(i,o,$t({dragEl:W,parentEl:Ge,ghostEl:me,rootEl:je,nextEl:xn,lastDownEl:Wo,cloneEl:ze,cloneHidden:dn,dragStarted:ho,putSortable:ut,activeSortable:ue.active,originalEvent:n,oldIndex:Qn,oldDraggableIndex:xo,newIndex:wt,newDraggableIndex:sn,hideGhostForTarget:Va,unhideGhostForTarget:Pa,cloneNowHidden:function(){dn=!0},cloneNowShown:function(){dn=!1},dispatchSortableEvent:function(a){bt({sortable:o,name:a,originalEvent:n})}},c))};function bt(l){go($t({putSortable:ut,cloneEl:ze,targetEl:W,rootEl:je,oldIndex:Qn,oldDraggableIndex:xo,newIndex:wt,newDraggableIndex:sn},l))}var W,Ge,me,je,xn,Wo,ze,dn,Qn,wt,xo,sn,Fo,ut,Ln=!1,qo=!1,_o=[],Sn,kt,bi,Si,pa,ma,ho,jn,Io,Co=!1,Lo=!1,Ho,vt,Ei=[],Oi=!1,ei=[],ni=typeof document<"u",Qo=xa,ga=Ao||en?"cssFloat":"float",Os=ni&&!ys&&!xa&&"draggable"in document.createElement("div"),Oa=function(){if(ni){if(en)return!1;var l=document.createElement("x");return l.style.cssText="pointer-events:auto",l.style.pointerEvents==="auto"}}(),Ta=function(i,o){var d=oe(i),n=parseInt(d.width)-parseInt(d.paddingLeft)-parseInt(d.paddingRight)-parseInt(d.borderLeftWidth)-parseInt(d.borderRightWidth),c=Gn(i,0,o),t=Gn(i,1,o),a=c&&oe(c),r=t&&oe(t),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Fe(c).width,g=r&&parseInt(r.marginLeft)+parseInt(r.marginRight)+Fe(t).width;if(d.display==="flex")return d.flexDirection==="column"||d.flexDirection==="column-reverse"?"vertical":"horizontal";if(d.display==="grid")return d.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(c&&a.float&&a.float!=="none"){var m=a.float==="left"?"left":"right";return t&&(r.clear==="both"||r.clear===m)?"vertical":"horizontal"}return c&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||u>=n&&d[ga]==="none"||t&&d[ga]==="none"&&u+g>n)?"vertical":"horizontal"},Ts=function(i,o,d){var n=d?i.left:i.top,c=d?i.right:i.bottom,t=d?i.width:i.height,a=d?o.left:o.top,r=d?o.right:o.bottom,u=d?o.width:o.height;return n===a||c===r||n+t/2===a+u/2},Ds=function(i,o){var d;return _o.some(function(n){var c=n[pt].options.emptyInsertThreshold;if(!(!c||Pi(n))){var t=Fe(n),a=i>=t.left-c&&i<=t.right+c,r=o>=t.top-c&&o<=t.bottom+c;if(a&&r)return d=n}}),d},Da=function(i){function o(c,t){return function(a,r,u,g){var m=a.options.group.name&&r.options.group.name&&a.options.group.name===r.options.group.name;if(c==null&&(t||m))return!0;if(c==null||c===!1)return!1;if(t&&c==="clone")return c;if(typeof c=="function")return o(c(a,r,u,g),t)(a,r,u,g);var h=(t?a:r).options.group.name;return c===!0||typeof c=="string"&&c===h||c.join&&c.indexOf(h)>-1}}var d={},n=i.group;(!n||Jo(n)!="object")&&(n={name:n}),d.name=n.name,d.checkPull=o(n.pull,!0),d.checkPut=o(n.put),d.revertClone=n.revertClone,i.group=d},Va=function(){!Oa&&me&&oe(me,"display","none")},Pa=function(){!Oa&&me&&oe(me,"display","")};ni&&document.addEventListener("click",function(l){if(qo)return l.preventDefault(),l.stopPropagation&&l.stopPropagation(),l.stopImmediatePropagation&&l.stopImmediatePropagation(),qo=!1,!1},!0);var En=function(i){if(W){i=i.touches?i.touches[0]:i;var o=Ds(i.clientX,i.clientY);if(o){var d={};for(var n in i)i.hasOwnProperty(n)&&(d[n]=i[n]);d.target=d.rootEl=o,d.preventDefault=void 0,d.stopPropagation=void 0,o[pt]._onDragOver(d)}}},Vs=function(i){W&&W.parentNode[pt]._isOutsideThisEl(i.target)};function ue(l,i){if(!(l&&l.nodeType&&l.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(l));this.el=l,this.options=i=Ut({},i),l[pt]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(l.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ta(l,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&&!So,emptyInsertThreshold:5};wo.initializePlugins(this,l,o);for(var d in o)!(d in i)&&(i[d]=o[d]);Da(i);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=i.forceFallback?!1:Os,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?Se(l,"pointerdown",this._onTapStart):(Se(l,"mousedown",this._onTapStart),Se(l,"touchstart",this._onTapStart)),this.nativeDraggable&&(Se(l,"dragover",this),Se(l,"dragenter",this)),_o.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),Ut(this,Is())}ue.prototype={constructor:ue,_isOutsideThisEl:function(i){!this.el.contains(i)&&i!==this.el&&(jn=null)},_getDirection:function(i,o){return typeof this.options.direction=="function"?this.options.direction.call(this,i,o,W):this.options.direction},_onTapStart:function(i){if(i.cancelable){var o=this,d=this.el,n=this.options,c=n.preventOnFilter,t=i.type,a=i.touches&&i.touches[0]||i.pointerType&&i.pointerType==="touch"&&i,r=(a||i).target,u=i.target.shadowRoot&&(i.path&&i.path[0]||i.composedPath&&i.composedPath()[0])||r,g=n.filter;if(Ns(d),!W&&!(/mousedown|pointerdown/.test(t)&&i.button!==0||n.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&So&&r&&r.tagName.toUpperCase()==="SELECT")&&(r=Nt(r,n.draggable,d,!1),!(r&&r.animated)&&Wo!==r)){if(Qn=$e(r),xo=$e(r,n.draggable),typeof g=="function"){if(g.call(this,i,r,this)){bt({sortable:o,rootEl:u,name:"filter",targetEl:r,toEl:d,fromEl:d}),St("filter",o,{evt:i}),c&&i.cancelable&&i.preventDefault();return}}else if(g&&(g=g.split(",").some(function(m){if(m=Nt(u,m.trim(),d,!1),m)return bt({sortable:o,rootEl:m,name:"filter",targetEl:r,fromEl:d,toEl:d}),St("filter",o,{evt:i}),!0}),g)){c&&i.cancelable&&i.preventDefault();return}n.handle&&!Nt(u,n.handle,d,!1)||this._prepareDragStart(i,a,r)}}},_prepareDragStart:function(i,o,d){var n=this,c=n.el,t=n.options,a=c.ownerDocument,r;if(d&&!W&&d.parentNode===c){var u=Fe(d);if(je=c,W=d,Ge=W.parentNode,xn=W.nextSibling,Wo=d,Fo=t.group,ue.dragged=W,Sn={target:W,clientX:(o||i).clientX,clientY:(o||i).clientY},pa=Sn.clientX-u.left,ma=Sn.clientY-u.top,this._lastX=(o||i).clientX,this._lastY=(o||i).clientY,W.style["will-change"]="all",r=function(){if(St("delayEnded",n,{evt:i}),ue.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!da&&n.nativeDraggable&&(W.draggable=!0),n._triggerDragStart(i,o),bt({sortable:n,name:"choose",originalEvent:i}),Le(W,t.chosenClass,!0)},t.ignore.split(",").forEach(function(g){Ca(W,g.trim(),xi)}),Se(a,"dragover",En),Se(a,"mousemove",En),Se(a,"touchmove",En),Se(a,"mouseup",n._onDrop),Se(a,"touchend",n._onDrop),Se(a,"touchcancel",n._onDrop),da&&this.nativeDraggable&&(this.options.touchStartThreshold=4,W.draggable=!0),St("delayStart",this,{evt:i}),t.delay&&(!t.delayOnTouchOnly||o)&&(!this.nativeDraggable||!(Ao||en))){if(ue.eventCanceled){this._onDrop();return}Se(a,"mouseup",n._disableDelayedDrag),Se(a,"touchend",n._disableDelayedDrag),Se(a,"touchcancel",n._disableDelayedDrag),Se(a,"mousemove",n._delayedDragTouchMoveHandler),Se(a,"touchmove",n._delayedDragTouchMoveHandler),t.supportPointer&&Se(a,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(r,t.delay)}else r()}},_delayedDragTouchMoveHandler:function(i){var o=i.touches?i.touches[0]:i;Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){W&&xi(W),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?Se(document,"pointermove",this._onTouchMove):o?Se(document,"touchmove",this._onTouchMove):Se(document,"mousemove",this._onTouchMove):(Se(W,"dragend",this),Se(je,"dragstart",this._onDragStart));try{document.selection?Yo(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(i,o){if(Ln=!1,je&&W){St("dragStarted",this,{evt:o}),this.nativeDraggable&&Se(document,"dragover",Vs);var d=this.options;!i&&Le(W,d.dragClass,!1),Le(W,d.ghostClass,!0),ue.active=this,i&&this._appendGhost(),bt({sortable:this,name:"start",originalEvent:o})}else this._nulling()},_emulateDragOver:function(){if(kt){this._lastX=kt.clientX,this._lastY=kt.clientY,Va();for(var i=document.elementFromPoint(kt.clientX,kt.clientY),o=i;i&&i.shadowRoot&&(i=i.shadowRoot.elementFromPoint(kt.clientX,kt.clientY),i!==o);)o=i;if(W.parentNode[pt]._isOutsideThisEl(i),o)do{if(o[pt]){var d=void 0;if(d=o[pt]._onDragOver({clientX:kt.clientX,clientY:kt.clientY,target:i,rootEl:o}),d&&!this.options.dragoverBubble)break}i=o}while(o=o.parentNode);Pa()}},_onTouchMove:function(i){if(Sn){var o=this.options,d=o.fallbackTolerance,n=o.fallbackOffset,c=i.touches?i.touches[0]:i,t=me&&In(me,!0),a=me&&t&&t.a,r=me&&t&&t.d,u=Qo&&vt&&fa(vt),g=(c.clientX-Sn.clientX+n.x)/(a||1)+(u?u[0]-Ei[0]:0)/(a||1),m=(c.clientY-Sn.clientY+n.y)/(r||1)+(u?u[1]-Ei[1]:0)/(r||1);if(!ue.active&&!Ln){if(d&&Math.max(Math.abs(c.clientX-this._lastX),Math.abs(c.clientY-this._lastY))<d)return;this._onDragStart(i,!0)}if(me){t?(t.e+=g-(bi||0),t.f+=m-(Si||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,")");oe(me,"webkitTransform",h),oe(me,"mozTransform",h),oe(me,"msTransform",h),oe(me,"transform",h),bi=g,Si=m,kt=c}i.cancelable&&i.preventDefault()}},_appendGhost:function(){if(!me){var i=this.options.fallbackOnBody?document.body:je,o=Fe(W,!0,Qo,!0,i),d=this.options;if(Qo){for(vt=i;oe(vt,"position")==="static"&&oe(vt,"transform")==="none"&&vt!==document;)vt=vt.parentNode;vt!==document.body&&vt!==document.documentElement?(vt===document&&(vt=zt()),o.top+=vt.scrollTop,o.left+=vt.scrollLeft):vt=zt(),Ei=fa(vt)}me=W.cloneNode(!0),Le(me,d.ghostClass,!1),Le(me,d.fallbackClass,!0),Le(me,d.dragClass,!0),oe(me,"transition",""),oe(me,"transform",""),oe(me,"box-sizing","border-box"),oe(me,"margin",0),oe(me,"top",o.top),oe(me,"left",o.left),oe(me,"width",o.width),oe(me,"height",o.height),oe(me,"opacity","0.8"),oe(me,"position",Qo?"absolute":"fixed"),oe(me,"zIndex","100000"),oe(me,"pointerEvents","none"),ue.ghost=me,i.appendChild(me),oe(me,"transform-origin",pa/parseInt(me.style.width)*100+"% "+ma/parseInt(me.style.height)*100+"%")}},_onDragStart:function(i,o){var d=this,n=i.dataTransfer,c=d.options;if(St("dragStart",this,{evt:i}),ue.eventCanceled){this._onDrop();return}St("setupClone",this),ue.eventCanceled||(ze=Ri(W),ze.draggable=!1,ze.style["will-change"]="",this._hideClone(),Le(ze,this.options.chosenClass,!1),ue.clone=ze),d.cloneId=Yo(function(){St("clone",d),!ue.eventCanceled&&(d.options.removeCloneOnHide||je.insertBefore(ze,W),d._hideClone(),bt({sortable:d,name:"clone"}))}),!o&&Le(W,c.dragClass,!0),o?(qo=!0,d._loopId=setInterval(d._emulateDragOver,50)):(ge(document,"mouseup",d._onDrop),ge(document,"touchend",d._onDrop),ge(document,"touchcancel",d._onDrop),n&&(n.effectAllowed="move",c.setData&&c.setData.call(d,n,W)),Se(document,"drop",d),oe(W,"transform","translateZ(0)")),Ln=!0,d._dragStartId=Yo(d._dragStarted.bind(d,o,i)),Se(document,"selectstart",d),ho=!0,So&&oe(document.body,"user-select","none")},_onDragOver:function(i){var o=this.el,d=i.target,n,c,t,a=this.options,r=a.group,u=ue.active,g=Fo===r,m=a.sort,h=ut||u,b,S=this,E=!1;if(Oi)return;function I(Ee,Pe){St(Ee,S,$t({evt:i,isOwner:g,axis:b?"vertical":"horizontal",revert:t,dragRect:n,targetRect:c,canSort:m,fromSortable:h,target:d,completed:O,onMove:function(Me,ke){return Go(je,o,W,n,Me,Fe(Me),i,ke)},changed:M},Pe))}function w(){I("dragOverAnimationCapture"),S.captureAnimationState(),S!==h&&h.captureAnimationState()}function O(Ee){return I("dragOverCompleted",{insertion:Ee}),Ee&&(g?u._hideClone():u._showClone(S),S!==h&&(Le(W,ut?ut.options.ghostClass:u.options.ghostClass,!1),Le(W,a.ghostClass,!0)),ut!==S&&S!==ue.active?ut=S:S===ue.active&&ut&&(ut=null),h===S&&(S._ignoreWhileAnimating=d),S.animateAll(function(){I("dragOverAnimationComplete"),S._ignoreWhileAnimating=null}),S!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(d===W&&!W.animated||d===o&&!d.animated)&&(jn=null),!a.dragoverBubble&&!i.rootEl&&d!==document&&(W.parentNode[pt]._isOutsideThisEl(i.target),!Ee&&En(i)),!a.dragoverBubble&&i.stopPropagation&&i.stopPropagation(),E=!0}function M(){wt=$e(W),sn=$e(W,a.draggable),bt({sortable:S,name:"change",toEl:o,newIndex:wt,newDraggableIndex:sn,originalEvent:i})}if(i.preventDefault!==void 0&&i.cancelable&&i.preventDefault(),d=Nt(d,a.draggable,o,!0),I("dragOver"),ue.eventCanceled)return E;if(W.contains(i.target)||d.animated&&d.animatingX&&d.animatingY||S._ignoreWhileAnimating===d)return O(!1);if(qo=!1,u&&!a.disabled&&(g?m||(t=Ge!==je):ut===this||(this.lastPutMode=Fo.checkPull(this,u,W,i))&&r.checkPut(this,u,W,i))){if(b=this._getDirection(i,d)==="vertical",n=Fe(W),I("dragOverValid"),ue.eventCanceled)return E;if(t)return Ge=je,w(),this._hideClone(),I("revert"),ue.eventCanceled||(xn?je.insertBefore(W,xn):je.appendChild(W)),O(!0);var T=Pi(o,a.draggable);if(!T||Ks(i,b,this)&&!T.animated){if(T===W)return O(!1);if(T&&o===i.target&&(d=T),d&&(c=Fe(d)),Go(je,o,W,n,d,c,i,!!d)!==!1)return w(),o.appendChild(W),Ge=o,M(),O(!0)}else if(T&&Us(i,b,this)){var N=Gn(o,0,a,!0);if(N===W)return O(!1);if(d=N,c=Fe(d),Go(je,o,W,n,d,c,i,!1)!==!1)return w(),o.insertBefore(W,N),Ge=o,M(),O(!0)}else if(d.parentNode===o){c=Fe(d);var U=0,ee,z=W.parentNode!==o,K=!Ts(W.animated&&W.toRect||n,d.animated&&d.toRect||c,b),X=b?"top":"left",_=ca(d,"top","top")||ca(W,"top","top"),se=_?_.scrollTop:void 0;jn!==d&&(ee=c[X],Co=!1,Lo=!K&&a.invertSwap||z),U=Ms(i,d,c,b,K?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Lo,jn===d);var L;if(U!==0){var $=$e(W);do $-=U,L=Ge.children[$];while(L&&(oe(L,"display")==="none"||L===me))}if(U===0||L===d)return O(!1);jn=d,Io=U;var H=d.nextElementSibling,Z=!1;Z=U===1;var ie=Go(je,o,W,n,d,c,i,Z);if(ie!==!1)return(ie===1||ie===-1)&&(Z=ie===1),Oi=!0,setTimeout(Rs,30),w(),Z&&!H?o.appendChild(W):d.parentNode.insertBefore(W,Z?H:d),_&&wa(_,0,se-_.scrollTop),Ge=W.parentNode,ee!==void 0&&!Lo&&(Ho=Math.abs(ee-Fe(d)[X])),M(),O(!0)}if(o.contains(W))return O(!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",En),ge(document,"mousemove",En),ge(document,"touchmove",En)},_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,d=this.options;if(wt=$e(W),sn=$e(W,d.draggable),St("drop",this,{evt:i}),Ge=W&&W.parentNode,wt=$e(W),sn=$e(W,d.draggable),ue.eventCanceled){this._nulling();return}Ln=!1,Lo=!1,Co=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ti(this.cloneId),Ti(this._dragStartId),this.nativeDraggable&&(ge(document,"drop",this),ge(o,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),So&&oe(document.body,"user-select",""),oe(W,"transform",""),i&&(ho&&(i.cancelable&&i.preventDefault(),!d.dropBubble&&i.stopPropagation()),me&&me.parentNode&&me.parentNode.removeChild(me),(je===Ge||ut&&ut.lastPutMode!=="clone")&&ze&&ze.parentNode&&ze.parentNode.removeChild(ze),W&&(this.nativeDraggable&&ge(W,"dragend",this),xi(W),W.style["will-change"]="",ho&&!Ln&&Le(W,ut?ut.options.ghostClass:this.options.ghostClass,!1),Le(W,this.options.chosenClass,!1),bt({sortable:this,name:"unchoose",toEl:Ge,newIndex:null,newDraggableIndex:null,originalEvent:i}),je!==Ge?(wt>=0&&(bt({rootEl:Ge,name:"add",toEl:Ge,fromEl:je,originalEvent:i}),bt({sortable:this,name:"remove",toEl:Ge,originalEvent:i}),bt({rootEl:Ge,name:"sort",toEl:Ge,fromEl:je,originalEvent:i}),bt({sortable:this,name:"sort",toEl:Ge,originalEvent:i})),ut&&ut.save()):wt!==Qn&&wt>=0&&(bt({sortable:this,name:"update",toEl:Ge,originalEvent:i}),bt({sortable:this,name:"sort",toEl:Ge,originalEvent:i})),ue.active&&((wt==null||wt===-1)&&(wt=Qn,sn=xo),bt({sortable:this,name:"end",toEl:Ge,originalEvent:i}),this.save()))),this._nulling()},_nulling:function(){St("nulling",this),je=W=Ge=me=xn=ze=Wo=dn=Sn=kt=ho=wt=sn=Qn=xo=jn=Io=ut=Fo=ue.dragged=ue.ghost=ue.clone=ue.active=null,ei.forEach(function(i){i.checked=!0}),ei.length=bi=Si=0},handleEvent:function(i){switch(i.type){case"drop":case"dragend":this._onDrop(i);break;case"dragenter":case"dragover":W&&(this._onDragOver(i),Ps(i));break;case"selectstart":i.preventDefault();break}},toArray:function(){for(var i=[],o,d=this.el.children,n=0,c=d.length,t=this.options;n<c;n++)o=d[n],Nt(o,t.draggable,this.el,!1)&&i.push(o.getAttribute(t.dataIdAttr)||Bs(o));return i},sort:function(i,o){var d={},n=this.el;this.toArray().forEach(function(c,t){var a=n.children[t];Nt(a,this.options.draggable,n,!1)&&(d[c]=a)},this),o&&this.captureAnimationState(),i.forEach(function(c){d[c]&&(n.removeChild(d[c]),n.appendChild(d[c]))}),o&&this.animateAll()},save:function(){var i=this.options.store;i&&i.set&&i.set(this)},closest:function(i,o){return Nt(i,o||this.options.draggable,this.el,!1)},option:function(i,o){var d=this.options;if(o===void 0)return d[i];var n=wo.modifyOption(this,i,o);typeof n<"u"?d[i]=n:d[i]=o,i==="group"&&Da(d)},destroy:function(){St("destroy",this);var i=this.el;i[pt]=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(),_o.splice(_o.indexOf(this.el),1),this.el=i=null},_hideClone:function(){if(!dn){if(St("hideClone",this),ue.eventCanceled)return;oe(ze,"display","none"),this.options.removeCloneOnHide&&ze.parentNode&&ze.parentNode.removeChild(ze),dn=!0}},_showClone:function(i){if(i.lastPutMode!=="clone"){this._hideClone();return}if(dn){if(St("showClone",this),ue.eventCanceled)return;W.parentNode==je&&!this.options.group.revertClone?je.insertBefore(ze,W):xn?je.insertBefore(ze,xn):je.appendChild(ze),this.options.group.revertClone&&this.animate(W,ze),oe(ze,"display",""),dn=!1}}};function Ps(l){l.dataTransfer&&(l.dataTransfer.dropEffect="move"),l.cancelable&&l.preventDefault()}function Go(l,i,o,d,n,c,t,a){var r,u=l[pt],g=u.options.onMove,m;return window.CustomEvent&&!en&&!Ao?r=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(r=document.createEvent("Event"),r.initEvent("move",!0,!0)),r.to=i,r.from=l,r.dragged=o,r.draggedRect=d,r.related=n||i,r.relatedRect=c||Fe(i),r.willInsertAfter=a,r.originalEvent=t,l.dispatchEvent(r),g&&(m=g.call(u,r,t)),m}function xi(l){l.draggable=!1}function Rs(){Oi=!1}function Us(l,i,o){var d=Fe(Gn(o.el,0,o.options,!0)),n=10;return i?l.clientX<d.left-n||l.clientY<d.top&&l.clientX<d.right:l.clientY<d.top-n||l.clientY<d.bottom&&l.clientX<d.left}function Ks(l,i,o){var d=Fe(Pi(o.el,o.options.draggable)),n=10;return i?l.clientX>d.right+n||l.clientX<=d.right&&l.clientY>d.bottom&&l.clientX>=d.left:l.clientX>d.right&&l.clientY>d.top||l.clientX<=d.right&&l.clientY>d.bottom+n}function Ms(l,i,o,d,n,c,t,a){var r=d?l.clientY:l.clientX,u=d?o.height:o.width,g=d?o.top:o.left,m=d?o.bottom:o.right,h=!1;if(!t){if(a&&Ho<u*n){if(!Co&&(Io===1?r>g+u*c/2:r<m-u*c/2)&&(Co=!0),Co)h=!0;else if(Io===1?r<g+Ho:r>m-Ho)return-Io}else if(r>g+u*(1-n)/2&&r<m-u*(1-n)/2)return ks(i)}return h=h||t,h&&(r<g+u*c/2||r>m-u*c/2)?r>g+u/2?1:-1:0}function ks(l){return $e(W)<$e(l)?1:-1}function Bs(l){for(var i=l.tagName+l.className+l.src+l.href+l.textContent,o=i.length,d=0;o--;)d+=i.charCodeAt(o);return d.toString(36)}function Ns(l){ei.length=0;for(var i=l.getElementsByTagName("input"),o=i.length;o--;){var d=i[o];d.checked&&ei.push(d)}}function Yo(l){return setTimeout(l,0)}function Ti(l){return clearTimeout(l)}ni&&Se(document,"touchmove",function(l){(ue.active||Ln)&&l.cancelable&&l.preventDefault()});ue.utils={on:Se,off:ge,css:oe,find:Ca,is:function(i,o){return!!Nt(i,o,i,!1)},extend:Es,throttle:Aa,closest:Nt,toggleClass:Le,clone:Ri,index:$e,nextTick:Yo,cancelNextTick:Ti,detectDirection:Ta,getChild:Gn};ue.get=function(l){return l[pt]};ue.mount=function(){for(var l=arguments.length,i=new Array(l),o=0;o<l;o++)i[o]=arguments[o];i[0].constructor===Array&&(i=i[0]),i.forEach(function(d){if(!d.prototype||!d.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(d));d.utils&&(ue.utils=$t($t({},ue.utils),d.utils)),wo.mount(d)})};ue.create=function(l,i){return new ue(l,i)};ue.version=hs;var Ye=[],yo,Di,Vi=!1,Ii,Ci,ti,bo;function js(){function l(){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 l.prototype={dragStarted:function(o){var d=o.originalEvent;this.sortable.nativeDraggable?Se(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Se(document,"pointermove",this._handleFallbackAutoScroll):d.touches?Se(document,"touchmove",this._handleFallbackAutoScroll):Se(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(o){var d=o.originalEvent;!this.options.dragOverBubble&&!d.rootEl&&this._handleAutoScroll(d)},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)),ha(),Xo(),xs()},nulling:function(){ti=Di=yo=Vi=bo=Ii=Ci=null,Ye.length=0},_handleFallbackAutoScroll:function(o){this._handleAutoScroll(o,!0)},_handleAutoScroll:function(o,d){var n=this,c=(o.touches?o.touches[0]:o).clientX,t=(o.touches?o.touches[0]:o).clientY,a=document.elementFromPoint(c,t);if(ti=o,d||this.options.forceAutoScrollFallback||Ao||en||So){Ai(o,this.options,a,d);var r=un(a,!0);Vi&&(!bo||c!==Ii||t!==Ci)&&(bo&&ha(),bo=setInterval(function(){var u=un(document.elementFromPoint(c,t),!0);u!==r&&(r=u,Xo()),Ai(o,n.options,u,d)},10),Ii=c,Ci=t)}else{if(!this.options.bubbleScroll||un(a,!0)===zt()){Xo();return}Ai(o,this.options,un(a,!1),!1)}}},Ut(l,{pluginName:"scroll",initializeByDefault:!0})}function Xo(){Ye.forEach(function(l){clearInterval(l.pid)}),Ye=[]}function ha(){clearInterval(bo)}var Ai=Aa(function(l,i,o,d){if(i.scroll){var n=(l.touches?l.touches[0]:l).clientX,c=(l.touches?l.touches[0]:l).clientY,t=i.scrollSensitivity,a=i.scrollSpeed,r=zt(),u=!1,g;Di!==o&&(Di=o,Xo(),yo=i.scroll,g=i.scrollFn,yo===!0&&(yo=un(o,!0)));var m=0,h=yo;do{var b=h,S=Fe(b),E=S.top,I=S.bottom,w=S.left,O=S.right,M=S.width,T=S.height,N=void 0,U=void 0,ee=b.scrollWidth,z=b.scrollHeight,K=oe(b),X=b.scrollLeft,_=b.scrollTop;b===r?(N=M<ee&&(K.overflowX==="auto"||K.overflowX==="scroll"||K.overflowX==="visible"),U=T<z&&(K.overflowY==="auto"||K.overflowY==="scroll"||K.overflowY==="visible")):(N=M<ee&&(K.overflowX==="auto"||K.overflowX==="scroll"),U=T<z&&(K.overflowY==="auto"||K.overflowY==="scroll"));var se=N&&(Math.abs(O-n)<=t&&X+M<ee)-(Math.abs(w-n)<=t&&!!X),L=U&&(Math.abs(I-c)<=t&&_+T<z)-(Math.abs(E-c)<=t&&!!_);if(!Ye[m])for(var $=0;$<=m;$++)Ye[$]||(Ye[$]={});(Ye[m].vx!=se||Ye[m].vy!=L||Ye[m].el!==b)&&(Ye[m].el=b,Ye[m].vx=se,Ye[m].vy=L,clearInterval(Ye[m].pid),(se!=0||L!=0)&&(u=!0,Ye[m].pid=setInterval((function(){d&&this.layer===0&&ue.active._onTouchMove(ti);var H=Ye[this.layer].vy?Ye[this.layer].vy*a:0,Z=Ye[this.layer].vx?Ye[this.layer].vx*a:0;typeof g=="function"&&g.call(ue.dragged.parentNode[pt],Z,H,l,ti,Ye[this.layer].el)!=="continue"||wa(Ye[this.layer].el,Z,H)}).bind({layer:m}),24))),m++}while(i.bubbleScroll&&h!==r&&(h=un(h,!1)));Vi=u}},30),Ra=function(i){var o=i.originalEvent,d=i.putSortable,n=i.dragEl,c=i.activeSortable,t=i.dispatchSortableEvent,a=i.hideGhostForTarget,r=i.unhideGhostForTarget;if(o){var u=d||c;a();var g=o.changedTouches&&o.changedTouches.length?o.changedTouches[0]:o,m=document.elementFromPoint(g.clientX,g.clientY);r(),u&&!u.el.contains(m)&&(t("spill"),this.onSpill({dragEl:n,putSortable:d}))}};function Ui(){}Ui.prototype={startIndex:null,dragStart:function(i){var o=i.oldDraggableIndex;this.startIndex=o},onSpill:function(i){var o=i.dragEl,d=i.putSortable;this.sortable.captureAnimationState(),d&&d.captureAnimationState();var n=Gn(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(o,n):this.sortable.el.appendChild(o),this.sortable.animateAll(),d&&d.animateAll()},drop:Ra};Ut(Ui,{pluginName:"revertOnSpill"});function Ki(){}Ki.prototype={onSpill:function(i){var o=i.dragEl,d=i.putSortable,n=d||this.sortable;n.captureAnimationState(),o.parentNode&&o.parentNode.removeChild(o),n.animateAll()},drop:Ra};Ut(Ki,{pluginName:"removeOnSpill"});var Rt;function Fs(){function l(){this.defaults={swapClass:"sortable-swap-highlight"}}return l.prototype={dragStart:function(o){var d=o.dragEl;Rt=d},dragOverValid:function(o){var d=o.completed,n=o.target,c=o.onMove,t=o.activeSortable,a=o.changed,r=o.cancel;if(t.options.swap){var u=this.sortable.el,g=this.options;if(n&&n!==u){var m=Rt;c(n)!==!1?(Le(n,g.swapClass,!0),Rt=n):Rt=null,m&&m!==Rt&&Le(m,g.swapClass,!1)}a(),d(!0),r()}},drop:function(o){var d=o.activeSortable,n=o.putSortable,c=o.dragEl,t=n||this.sortable,a=this.options;Rt&&Le(Rt,a.swapClass,!1),Rt&&(a.swap||n&&n.options.swap)&&c!==Rt&&(t.captureAnimationState(),t!==d&&d.captureAnimationState(),Ls(c,Rt),t.animateAll(),t!==d&&d.animateAll())},nulling:function(){Rt=null}},Ut(l,{pluginName:"swap",eventProperties:function(){return{swapItem:Rt}}})}function Ls(l,i){var o=l.parentNode,d=i.parentNode,n,c;!o||!d||o.isEqualNode(i)||d.isEqualNode(l)||(n=$e(l),c=$e(i),o.isEqualNode(d)&&n<c&&c++,o.insertBefore(i,o.children[n]),d.insertBefore(l,d.children[c]))}var fe=[],At=[],vo,Bt,po=!1,Et=!1,Fn=!1,Ke,mo,zo;function Qs(){function l(i){for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));i.options.supportPointer?Se(document,"pointerup",this._deselectMultiDrag):(Se(document,"mouseup",this._deselectMultiDrag),Se(document,"touchend",this._deselectMultiDrag)),Se(document,"keydown",this._checkKeyDown),Se(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(n,c){var t="";fe.length&&Bt===i?fe.forEach(function(a,r){t+=(r?", ":"")+a.textContent}):t=c.textContent,n.setData("Text",t)}}}return l.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(o){var d=o.dragEl;Ke=d},delayEnded:function(){this.isMultiDrag=~fe.indexOf(Ke)},setupClone:function(o){var d=o.sortable,n=o.cancel;if(this.isMultiDrag){for(var c=0;c<fe.length;c++)At.push(Ri(fe[c])),At[c].sortableIndex=fe[c].sortableIndex,At[c].draggable=!1,At[c].style["will-change"]="",Le(At[c],this.options.selectedClass,!1),fe[c]===Ke&&Le(At[c],this.options.chosenClass,!1);d._hideClone(),n()}},clone:function(o){var d=o.sortable,n=o.rootEl,c=o.dispatchSortableEvent,t=o.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||fe.length&&Bt===d&&(ya(!0,n),c("clone"),t()))},showClone:function(o){var d=o.cloneNowShown,n=o.rootEl,c=o.cancel;this.isMultiDrag&&(ya(!1,n),At.forEach(function(t){oe(t,"display","")}),d(),zo=!1,c())},hideClone:function(o){var d=this;o.sortable;var n=o.cloneNowHidden,c=o.cancel;this.isMultiDrag&&(At.forEach(function(t){oe(t,"display","none"),d.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)}),n(),zo=!0,c())},dragStartGlobal:function(o){o.sortable,!this.isMultiDrag&&Bt&&Bt.multiDrag._deselectMultiDrag(),fe.forEach(function(d){d.sortableIndex=$e(d)}),fe=fe.sort(function(d,n){return d.sortableIndex-n.sortableIndex}),Fn=!0},dragStarted:function(o){var d=this,n=o.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){fe.forEach(function(t){t!==Ke&&oe(t,"position","absolute")});var c=Fe(Ke,!1,!0,!0);fe.forEach(function(t){t!==Ke&&va(t,c)}),Et=!0,po=!0}n.animateAll(function(){Et=!1,po=!1,d.options.animation&&fe.forEach(function(t){hi(t)}),d.options.sort&&$o()})}},dragOver:function(o){var d=o.target,n=o.completed,c=o.cancel;Et&&~fe.indexOf(d)&&(n(!1),c())},revert:function(o){var d=o.fromSortable,n=o.rootEl,c=o.sortable,t=o.dragRect;fe.length>1&&(fe.forEach(function(a){c.addAnimationState({target:a,rect:Et?Fe(a):t}),hi(a),a.fromRect=t,d.removeAnimationState(a)}),Et=!1,Gs(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(o){var d=o.sortable,n=o.isOwner,c=o.insertion,t=o.activeSortable,a=o.parentEl,r=o.putSortable,u=this.options;if(c){if(n&&t._hideClone(),po=!1,u.animation&&fe.length>1&&(Et||!n&&!t.options.sort&&!r)){var g=Fe(Ke,!1,!0,!0);fe.forEach(function(h){h!==Ke&&(va(h,g),a.appendChild(h))}),Et=!0}if(!n)if(Et||$o(),fe.length>1){var m=zo;t._showClone(d),t.options.animation&&!zo&&m&&At.forEach(function(h){t.addAnimationState({target:h,rect:mo}),h.fromRect=mo,h.thisAnimationDuration=null})}else t._showClone(d)}},dragOverAnimationCapture:function(o){var d=o.dragRect,n=o.isOwner,c=o.activeSortable;if(fe.forEach(function(a){a.thisAnimationDuration=null}),c.options.animation&&!n&&c.multiDrag.isMultiDrag){mo=Ut({},d);var t=In(Ke,!0);mo.top-=t.f,mo.left-=t.e}},dragOverAnimationComplete:function(){Et&&(Et=!1,$o())},drop:function(o){var d=o.originalEvent,n=o.rootEl,c=o.parentEl,t=o.sortable,a=o.dispatchSortableEvent,r=o.oldIndex,u=o.putSortable,g=u||this.sortable;if(d){var m=this.options,h=c.children;if(!Fn)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Le(Ke,m.selectedClass,!~fe.indexOf(Ke)),~fe.indexOf(Ke))fe.splice(fe.indexOf(Ke),1),vo=null,go({sortable:t,rootEl:n,name:"deselect",targetEl:Ke});else{if(fe.push(Ke),go({sortable:t,rootEl:n,name:"select",targetEl:Ke}),d.shiftKey&&vo&&t.el.contains(vo)){var b=$e(vo),S=$e(Ke);if(~b&&~S&&b!==S){var E,I;for(S>b?(I=b,E=S):(I=S,E=b+1);I<E;I++)~fe.indexOf(h[I])||(Le(h[I],m.selectedClass,!0),fe.push(h[I]),go({sortable:t,rootEl:n,name:"select",targetEl:h[I]}))}}else vo=Ke;Bt=g}if(Fn&&this.isMultiDrag){if(Et=!1,(c[pt].options.sort||c!==n)&&fe.length>1){var w=Fe(Ke),O=$e(Ke,":not(."+this.options.selectedClass+")");if(!po&&m.animation&&(Ke.thisAnimationDuration=null),g.captureAnimationState(),!po&&(m.animation&&(Ke.fromRect=w,fe.forEach(function(T){if(T.thisAnimationDuration=null,T!==Ke){var N=Et?Fe(T):w;T.fromRect=N,g.addAnimationState({target:T,rect:N})}})),$o(),fe.forEach(function(T){h[O]?c.insertBefore(T,h[O]):c.appendChild(T),O++}),r===$e(Ke))){var M=!1;fe.forEach(function(T){if(T.sortableIndex!==$e(T)){M=!0;return}}),M&&a("update")}fe.forEach(function(T){hi(T)}),g.animateAll()}Bt=g}(n===c||u&&u.lastPutMode!=="clone")&&At.forEach(function(T){T.parentNode&&T.parentNode.removeChild(T)})}},nullingGlobal:function(){this.isMultiDrag=Fn=!1,At.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 Fn<"u"&&Fn)&&Bt===this.sortable&&!(o&&Nt(o.target,this.options.draggable,this.sortable.el,!1))&&!(o&&o.button!==0))for(;fe.length;){var d=fe[0];Le(d,this.options.selectedClass,!1),fe.shift(),go({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:d})}},_checkKeyDown:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Ut(l,{pluginName:"multiDrag",utils:{select:function(o){var d=o.parentNode[pt];!d||!d.options.multiDrag||~fe.indexOf(o)||(Bt&&Bt!==d&&(Bt.multiDrag._deselectMultiDrag(),Bt=d),Le(o,d.options.selectedClass,!0),fe.push(o))},deselect:function(o){var d=o.parentNode[pt],n=fe.indexOf(o);!d||!d.options.multiDrag||!~n||(Le(o,d.options.selectedClass,!1),fe.splice(n,1))}},eventProperties:function(){var o=this,d=[],n=[];return fe.forEach(function(c){d.push({multiDragElement:c,index:c.sortableIndex});var t;Et&&c!==Ke?t=-1:Et?t=$e(c,":not(."+o.options.selectedClass+")"):t=$e(c),n.push({multiDragElement:c,index:t})}),{items:fs(fe),clones:[].concat(At),oldIndicies:d,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(l,i){fe.forEach(function(o,d){var n=i.children[o.sortableIndex+(l?Number(d):0)];n?i.insertBefore(o,n):i.appendChild(o)})}function ya(l,i){At.forEach(function(o,d){var n=i.children[o.sortableIndex+(l?Number(d):0)];n?i.insertBefore(o,n):i.appendChild(o)})}function $o(){fe.forEach(function(l){l!==Ke&&l.parentNode&&l.parentNode.removeChild(l)})}ue.mount(new js);ue.mount(Ki,Ui);const zs=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Qs,Sortable:ue,Swap:Fs,default:ue},Symbol.toStringTag,{value:"Module"})),$s=Fl(zs);(function(l,i){(function(d,n){l.exports=n(Ql,$s)})(typeof self<"u"?self:Gl,function(o,d){return function(n){var c={};function t(a){if(c[a])return c[a].exports;var r=c[a]={i:a,l:!1,exports:{}};return n[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=n,t.c=c,t.d=function(a,r,u){t.o(a,r)||Object.defineProperty(a,r,{enumerable:!0,get:u})},t.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},t.t=function(a,r){if(r&1&&(a=t(a)),r&8||r&4&&typeof a=="object"&&a&&a.__esModule)return a;var u=Object.create(null);if(t.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:a}),r&2&&typeof a!="string")for(var g in a)t.d(u,g,(function(m){return a[m]}).bind(null,g));return u},t.n=function(a){var r=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(r,"a",r),r},t.o=function(a,r){return Object.prototype.hasOwnProperty.call(a,r)},t.p="",t(t.s="fb15")}({"00ee":function(n,c,t){var a=t("b622"),r=a("toStringTag"),u={};u[r]="z",n.exports=String(u)==="[object z]"},"0366":function(n,c,t){var a=t("1c0b");n.exports=function(r,u,g){if(a(r),u===void 0)return r;switch(g){case 0:return function(){return r.call(u)};case 1:return function(m){return r.call(u,m)};case 2:return function(m,h){return r.call(u,m,h)};case 3:return function(m,h,b){return r.call(u,m,h,b)}}return function(){return r.apply(u,arguments)}}},"057f":function(n,c,t){var a=t("fc6a"),r=t("241c").f,u={}.toString,g=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(h){try{return r(h)}catch{return g.slice()}};n.exports.f=function(b){return g&&u.call(b)=="[object Window]"?m(b):r(a(b))}},"06cf":function(n,c,t){var a=t("83ab"),r=t("d1e7"),u=t("5c6c"),g=t("fc6a"),m=t("c04e"),h=t("5135"),b=t("0cfb"),S=Object.getOwnPropertyDescriptor;c.f=a?S:function(I,w){if(I=g(I),w=m(w,!0),b)try{return S(I,w)}catch{}if(h(I,w))return u(!r.f.call(I,w),I[w])}},"0cfb":function(n,c,t){var a=t("83ab"),r=t("d039"),u=t("cc12");n.exports=!a&&!r(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(n,c,t){var a=t("23e7"),r=t("d58f").left,u=t("a640"),g=t("ae40"),m=u("reduce"),h=g("reduce",{1:0});a({target:"Array",proto:!0,forced:!m||!h},{reduce:function(S){return r(this,S,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(n,c,t){var a=t("c6b6"),r=t("9263");n.exports=function(u,g){var m=u.exec;if(typeof m=="function"){var h=m.call(u,g);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(a(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return r.call(u,g)}},"159b":function(n,c,t){var a=t("da84"),r=t("fdbc"),u=t("17c2"),g=t("9112");for(var m in r){var h=a[m],b=h&&h.prototype;if(b&&b.forEach!==u)try{g(b,"forEach",u)}catch{b.forEach=u}}},"17c2":function(n,c,t){var a=t("b727").forEach,r=t("a640"),u=t("ae40"),g=r("forEach"),m=u("forEach");n.exports=!g||!m?function(b){return a(this,b,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(n,c,t){var a=t("d066");n.exports=a("document","documentElement")},"1c0b":function(n,c){n.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(n,c,t){var a=t("b622"),r=a("iterator"),u=!1;try{var g=0,m={next:function(){return{done:!!g++}},return:function(){u=!0}};m[r]=function(){return this},Array.from(m,function(){throw 2})}catch{}n.exports=function(h,b){if(!b&&!u)return!1;var S=!1;try{var E={};E[r]=function(){return{next:function(){return{done:S=!0}}}},h(E)}catch{}return S}},"1d80":function(n,c){n.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}},"1dde":function(n,c,t){var a=t("d039"),r=t("b622"),u=t("2d00"),g=r("species");n.exports=function(m){return u>=51||!a(function(){var h=[],b=h.constructor={};return b[g]=function(){return{foo:1}},h[m](Boolean).foo!==1})}},"23cb":function(n,c,t){var a=t("a691"),r=Math.max,u=Math.min;n.exports=function(g,m){var h=a(g);return h<0?r(h+m,0):u(h,m)}},"23e7":function(n,c,t){var a=t("da84"),r=t("06cf").f,u=t("9112"),g=t("6eeb"),m=t("ce4e"),h=t("e893"),b=t("94ca");n.exports=function(S,E){var I=S.target,w=S.global,O=S.stat,M,T,N,U,ee,z;if(w?T=a:O?T=a[I]||m(I,{}):T=(a[I]||{}).prototype,T)for(N in E){if(ee=E[N],S.noTargetGet?(z=r(T,N),U=z&&z.value):U=T[N],M=b(w?N:I+(O?".":"#")+N,S.forced),!M&&U!==void 0){if(typeof ee==typeof U)continue;h(ee,U)}(S.sham||U&&U.sham)&&u(ee,"sham",!0),g(T,N,ee,S)}}},"241c":function(n,c,t){var a=t("ca84"),r=t("7839"),u=r.concat("length","prototype");c.f=Object.getOwnPropertyNames||function(m){return a(m,u)}},"25f0":function(n,c,t){var a=t("6eeb"),r=t("825a"),u=t("d039"),g=t("ad6d"),m="toString",h=RegExp.prototype,b=h[m],S=u(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),E=b.name!=m;(S||E)&&a(RegExp.prototype,m,function(){var w=r(this),O=String(w.source),M=w.flags,T=String(M===void 0&&w instanceof RegExp&&!("flags"in h)?g.call(w):M);return"/"+O+"/"+T},{unsafe:!0})},"2ca0":function(n,c,t){var a=t("23e7"),r=t("06cf").f,u=t("50c4"),g=t("5a34"),m=t("1d80"),h=t("ab13"),b=t("c430"),S="".startsWith,E=Math.min,I=h("startsWith"),w=!b&&!I&&!!function(){var O=r(String.prototype,"startsWith");return O&&!O.writable}();a({target:"String",proto:!0,forced:!w&&!I},{startsWith:function(M){var T=String(m(this));g(M);var N=u(E(arguments.length>1?arguments[1]:void 0,T.length)),U=String(M);return S?S.call(T,U,N):T.slice(N,N+U.length)===U}})},"2d00":function(n,c,t){var a=t("da84"),r=t("342f"),u=a.process,g=u&&u.versions,m=g&&g.v8,h,b;m?(h=m.split("."),b=h[0]+h[1]):r&&(h=r.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=r.match(/Chrome\/(\d+)/),h&&(b=h[1]))),n.exports=b&&+b},"342f":function(n,c,t){var a=t("d066");n.exports=a("navigator","userAgent")||""},"35a1":function(n,c,t){var a=t("f5df"),r=t("3f8c"),u=t("b622"),g=u("iterator");n.exports=function(m){if(m!=null)return m[g]||m["@@iterator"]||r[a(m)]}},"37e8":function(n,c,t){var a=t("83ab"),r=t("9bf2"),u=t("825a"),g=t("df75");n.exports=a?Object.defineProperties:function(h,b){u(h);for(var S=g(b),E=S.length,I=0,w;E>I;)r.f(h,w=S[I++],b[w]);return h}},"3bbe":function(n,c,t){var a=t("861d");n.exports=function(r){if(!a(r)&&r!==null)throw TypeError("Can't set "+String(r)+" as a prototype");return r}},"3ca3":function(n,c,t){var a=t("6547").charAt,r=t("69f3"),u=t("7dd0"),g="String Iterator",m=r.set,h=r.getterFor(g);u(String,"String",function(b){m(this,{type:g,string:String(b),index:0})},function(){var S=h(this),E=S.string,I=S.index,w;return I>=E.length?{value:void 0,done:!0}:(w=a(E,I),S.index+=w.length,{value:w,done:!1})})},"3f8c":function(n,c){n.exports={}},4160:function(n,c,t){var a=t("23e7"),r=t("17c2");a({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},"428f":function(n,c,t){var a=t("da84");n.exports=a},"44ad":function(n,c,t){var a=t("d039"),r=t("c6b6"),u="".split;n.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(g){return r(g)=="String"?u.call(g,""):Object(g)}:Object},"44d2":function(n,c,t){var a=t("b622"),r=t("7c73"),u=t("9bf2"),g=a("unscopables"),m=Array.prototype;m[g]==null&&u.f(m,g,{configurable:!0,value:r(null)}),n.exports=function(h){m[g][h]=!0}},"44e7":function(n,c,t){var a=t("861d"),r=t("c6b6"),u=t("b622"),g=u("match");n.exports=function(m){var h;return a(m)&&((h=m[g])!==void 0?!!h:r(m)=="RegExp")}},4930:function(n,c,t){var a=t("d039");n.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(n,c,t){var a=t("fc6a"),r=t("50c4"),u=t("23cb"),g=function(m){return function(h,b,S){var E=a(h),I=r(E.length),w=u(S,I),O;if(m&&b!=b){for(;I>w;)if(O=E[w++],O!=O)return!0}else for(;I>w;w++)if((m||w in E)&&E[w]===b)return m||w||0;return!m&&-1}};n.exports={includes:g(!0),indexOf:g(!1)}},"4de4":function(n,c,t){var a=t("23e7"),r=t("b727").filter,u=t("1dde"),g=t("ae40"),m=u("filter"),h=g("filter");a({target:"Array",proto:!0,forced:!m||!h},{filter:function(S){return r(this,S,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(n,c,t){var a=t("0366"),r=t("7b0b"),u=t("9bdd"),g=t("e95a"),m=t("50c4"),h=t("8418"),b=t("35a1");n.exports=function(E){var I=r(E),w=typeof this=="function"?this:Array,O=arguments.length,M=O>1?arguments[1]:void 0,T=M!==void 0,N=b(I),U=0,ee,z,K,X,_,se;if(T&&(M=a(M,O>2?arguments[2]:void 0,2)),N!=null&&!(w==Array&&g(N)))for(X=N.call(I),_=X.next,z=new w;!(K=_.call(X)).done;U++)se=T?u(X,M,[K.value,U],!0):K.value,h(z,U,se);else for(ee=m(I.length),z=new w(ee);ee>U;U++)se=T?M(I[U],U):I[U],h(z,U,se);return z.length=U,z}},"4fad":function(n,c,t){var a=t("23e7"),r=t("6f53").entries;a({target:"Object",stat:!0},{entries:function(g){return r(g)}})},"50c4":function(n,c,t){var a=t("a691"),r=Math.min;n.exports=function(u){return u>0?r(a(u),9007199254740991):0}},5135:function(n,c){var t={}.hasOwnProperty;n.exports=function(a,r){return t.call(a,r)}},5319:function(n,c,t){var a=t("d784"),r=t("825a"),u=t("7b0b"),g=t("50c4"),m=t("a691"),h=t("1d80"),b=t("8aa5"),S=t("14c3"),E=Math.max,I=Math.min,w=Math.floor,O=/\$([$&'`]|\d\d?|<[^>]*>)/g,M=/\$([$&'`]|\d\d?)/g,T=function(N){return N===void 0?N:String(N)};a("replace",2,function(N,U,ee,z){var K=z.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,X=z.REPLACE_KEEPS_$0,_=K?"$":"$0";return[function($,H){var Z=h(this),ie=$==null?void 0:$[N];return ie!==void 0?ie.call($,Z,H):U.call(String(Z),$,H)},function(L,$){if(!K&&X||typeof $=="string"&&$.indexOf(_)===-1){var H=ee(U,L,this,$);if(H.done)return H.value}var Z=r(L),ie=String(this),Ee=typeof $=="function";Ee||($=String($));var Pe=Z.global;if(Pe){var Xe=Z.unicode;Z.lastIndex=0}for(var Me=[];;){var ke=S(Z,ie);if(ke===null||(Me.push(ke),!Pe))break;var Je=String(ke[0]);Je===""&&(Z.lastIndex=b(ie,g(Z.lastIndex),Xe))}for(var De="",Qe=0,Ae=0;Ae<Me.length;Ae++){ke=Me[Ae];for(var we=String(ke[0]),mt=E(I(m(ke.index),ie.length),0),nt=[],Kt=1;Kt<ke.length;Kt++)nt.push(T(ke[Kt]));var gt=ke.groups;if(Ee){var it=[we].concat(nt,mt,ie);gt!==void 0&&it.push(gt);var Ze=String($.apply(void 0,it))}else Ze=se(we,ie,mt,nt,gt,$);mt>=Qe&&(De+=ie.slice(Qe,mt)+Ze,Qe=mt+we.length)}return De+ie.slice(Qe)}];function se(L,$,H,Z,ie,Ee){var Pe=H+L.length,Xe=Z.length,Me=M;return ie!==void 0&&(ie=u(ie),Me=O),U.call(Ee,Me,function(ke,Je){var De;switch(Je.charAt(0)){case"$":return"$";case"&":return L;case"`":return $.slice(0,H);case"'":return $.slice(Pe);case"<":De=ie[Je.slice(1,-1)];break;default:var Qe=+Je;if(Qe===0)return ke;if(Qe>Xe){var Ae=w(Qe/10);return Ae===0?ke:Ae<=Xe?Z[Ae-1]===void 0?Je.charAt(1):Z[Ae-1]+Je.charAt(1):ke}De=Z[Qe-1]}return De===void 0?"":De})}})},5692:function(n,c,t){var a=t("c430"),r=t("c6cd");(n.exports=function(u,g){return r[u]||(r[u]=g!==void 0?g:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(n,c,t){var a=t("d066"),r=t("241c"),u=t("7418"),g=t("825a");n.exports=a("Reflect","ownKeys")||function(h){var b=r.f(g(h)),S=u.f;return S?b.concat(S(h)):b}},"5a34":function(n,c,t){var a=t("44e7");n.exports=function(r){if(a(r))throw TypeError("The method doesn't accept regular expressions");return r}},"5c6c":function(n,c){n.exports=function(t,a){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:a}}},"5db7":function(n,c,t){var a=t("23e7"),r=t("a2bf"),u=t("7b0b"),g=t("50c4"),m=t("1c0b"),h=t("65f0");a({target:"Array",proto:!0},{flatMap:function(S){var E=u(this),I=g(E.length),w;return m(S),w=h(E,0),w.length=r(w,E,E,I,0,1,S,arguments.length>1?arguments[1]:void 0),w}})},6547:function(n,c,t){var a=t("a691"),r=t("1d80"),u=function(g){return function(m,h){var b=String(r(m)),S=a(h),E=b.length,I,w;return S<0||S>=E?g?"":void 0:(I=b.charCodeAt(S),I<55296||I>56319||S+1===E||(w=b.charCodeAt(S+1))<56320||w>57343?g?b.charAt(S):I:g?b.slice(S,S+2):(I-55296<<10)+(w-56320)+65536)}};n.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(n,c,t){var a=t("861d"),r=t("e8b5"),u=t("b622"),g=u("species");n.exports=function(m,h){var b;return r(m)&&(b=m.constructor,typeof b=="function"&&(b===Array||r(b.prototype))?b=void 0:a(b)&&(b=b[g],b===null&&(b=void 0))),new(b===void 0?Array:b)(h===0?0:h)}},"69f3":function(n,c,t){var a=t("7f9a"),r=t("da84"),u=t("861d"),g=t("9112"),m=t("5135"),h=t("f772"),b=t("d012"),S=r.WeakMap,E,I,w,O=function(K){return w(K)?I(K):E(K,{})},M=function(K){return function(X){var _;if(!u(X)||(_=I(X)).type!==K)throw TypeError("Incompatible receiver, "+K+" required");return _}};if(a){var T=new S,N=T.get,U=T.has,ee=T.set;E=function(K,X){return ee.call(T,K,X),X},I=function(K){return N.call(T,K)||{}},w=function(K){return U.call(T,K)}}else{var z=h("state");b[z]=!0,E=function(K,X){return g(K,z,X),X},I=function(K){return m(K,z)?K[z]:{}},w=function(K){return m(K,z)}}n.exports={set:E,get:I,has:w,enforce:O,getterFor:M}},"6eeb":function(n,c,t){var a=t("da84"),r=t("9112"),u=t("5135"),g=t("ce4e"),m=t("8925"),h=t("69f3"),b=h.get,S=h.enforce,E=String(String).split("String");(n.exports=function(I,w,O,M){var T=M?!!M.unsafe:!1,N=M?!!M.enumerable:!1,U=M?!!M.noTargetGet:!1;if(typeof O=="function"&&(typeof w=="string"&&!u(O,"name")&&r(O,"name",w),S(O).source=E.join(typeof w=="string"?w:"")),I===a){N?I[w]=O:g(w,O);return}else T?!U&&I[w]&&(N=!0):delete I[w];N?I[w]=O:r(I,w,O)})(Function.prototype,"toString",function(){return typeof this=="function"&&b(this).source||m(this)})},"6f53":function(n,c,t){var a=t("83ab"),r=t("df75"),u=t("fc6a"),g=t("d1e7").f,m=function(h){return function(b){for(var S=u(b),E=r(S),I=E.length,w=0,O=[],M;I>w;)M=E[w++],(!a||g.call(S,M))&&O.push(h?[M,S[M]]:S[M]);return O}};n.exports={entries:m(!0),values:m(!1)}},"73d9":function(n,c,t){var a=t("44d2");a("flatMap")},7418:function(n,c){c.f=Object.getOwnPropertySymbols},"746f":function(n,c,t){var a=t("428f"),r=t("5135"),u=t("e538"),g=t("9bf2").f;n.exports=function(m){var h=a.Symbol||(a.Symbol={});r(h,m)||g(h,m,{value:u.f(m)})}},7839:function(n,c){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(n,c,t){var a=t("1d80");n.exports=function(r){return Object(a(r))}},"7c73":function(n,c,t){var a=t("825a"),r=t("37e8"),u=t("7839"),g=t("d012"),m=t("1be4"),h=t("cc12"),b=t("f772"),S=">",E="<",I="prototype",w="script",O=b("IE_PROTO"),M=function(){},T=function(K){return E+w+S+K+E+"/"+w+S},N=function(K){K.write(T("")),K.close();var X=K.parentWindow.Object;return K=null,X},U=function(){var K=h("iframe"),X="java"+w+":",_;return K.style.display="none",m.appendChild(K),K.src=String(X),_=K.contentWindow.document,_.open(),_.write(T("document.F=Object")),_.close(),_.F},ee,z=function(){try{ee=document.domain&&new ActiveXObject("htmlfile")}catch{}z=ee?N(ee):U();for(var K=u.length;K--;)delete z[I][u[K]];return z()};g[O]=!0,n.exports=Object.create||function(X,_){var se;return X!==null?(M[I]=a(X),se=new M,M[I]=null,se[O]=X):se=z(),_===void 0?se:r(se,_)}},"7dd0":function(n,c,t){var a=t("23e7"),r=t("9ed3"),u=t("e163"),g=t("d2bb"),m=t("d44e"),h=t("9112"),b=t("6eeb"),S=t("b622"),E=t("c430"),I=t("3f8c"),w=t("ae93"),O=w.IteratorPrototype,M=w.BUGGY_SAFARI_ITERATORS,T=S("iterator"),N="keys",U="values",ee="entries",z=function(){return this};n.exports=function(K,X,_,se,L,$,H){r(_,X,se);var Z=function(Ae){if(Ae===L&&Me)return Me;if(!M&&Ae in Pe)return Pe[Ae];switch(Ae){case N:return function(){return new _(this,Ae)};case U:return function(){return new _(this,Ae)};case ee:return function(){return new _(this,Ae)}}return function(){return new _(this)}},ie=X+" Iterator",Ee=!1,Pe=K.prototype,Xe=Pe[T]||Pe["@@iterator"]||L&&Pe[L],Me=!M&&Xe||Z(L),ke=X=="Array"&&Pe.entries||Xe,Je,De,Qe;if(ke&&(Je=u(ke.call(new K)),O!==Object.prototype&&Je.next&&(!E&&u(Je)!==O&&(g?g(Je,O):typeof Je[T]!="function"&&h(Je,T,z)),m(Je,ie,!0,!0),E&&(I[ie]=z))),L==U&&Xe&&Xe.name!==U&&(Ee=!0,Me=function(){return Xe.call(this)}),(!E||H)&&Pe[T]!==Me&&h(Pe,T,Me),I[X]=Me,L)if(De={values:Z(U),keys:$?Me:Z(N),entries:Z(ee)},H)for(Qe in De)(M||Ee||!(Qe in Pe))&&b(Pe,Qe,De[Qe]);else a({target:X,proto:!0,forced:M||Ee},De);return De}},"7f9a":function(n,c,t){var a=t("da84"),r=t("8925"),u=a.WeakMap;n.exports=typeof u=="function"&&/native code/.test(r(u))},"825a":function(n,c,t){var a=t("861d");n.exports=function(r){if(!a(r))throw TypeError(String(r)+" is not an object");return r}},"83ab":function(n,c,t){var a=t("d039");n.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(n,c,t){var a=t("c04e"),r=t("9bf2"),u=t("5c6c");n.exports=function(g,m,h){var b=a(m);b in g?r.f(g,b,u(0,h)):g[b]=h}},"861d":function(n,c){n.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},8875:function(n,c,t){var a,r,u;(function(g,m){r=[],a=m,u=typeof a=="function"?a.apply(c,r):a,u!==void 0&&(n.exports=u)})(typeof self<"u"?self:this,function(){function g(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==g&&document.currentScript)return document.currentScript;try{throw new Error}catch(ee){var h=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,b=/@([^@]*):(\d+):(\d+)\s*$/ig,S=h.exec(ee.stack)||b.exec(ee.stack),E=S&&S[1]||!1,I=S&&S[2]||!1,w=document.location.href.replace(document.location.hash,""),O,M,T,N=document.getElementsByTagName("script");E===w&&(O=document.documentElement.outerHTML,M=new RegExp("(?:[^\\n]+?\\n){0,"+(I-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),T=O.replace(M,"$1").trim());for(var U=0;U<N.length;U++)if(N[U].readyState==="interactive"||N[U].src===E||E===w&&N[U].innerHTML&&N[U].innerHTML.trim()===T)return N[U];return null}}return g})},8925:function(n,c,t){var a=t("c6cd"),r=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(u){return r.call(u)}),n.exports=a.inspectSource},"8aa5":function(n,c,t){var a=t("6547").charAt;n.exports=function(r,u,g){return u+(g?a(r,u).length:1)}},"8bbf":function(n,c){n.exports=o},"90e3":function(n,c){var t=0,a=Math.random();n.exports=function(r){return"Symbol("+String(r===void 0?"":r)+")_"+(++t+a).toString(36)}},9112:function(n,c,t){var a=t("83ab"),r=t("9bf2"),u=t("5c6c");n.exports=a?function(g,m,h){return r.f(g,m,u(1,h))}:function(g,m,h){return g[m]=h,g}},9263:function(n,c,t){var a=t("ad6d"),r=t("9f7f"),u=RegExp.prototype.exec,g=String.prototype.replace,m=u,h=function(){var I=/a/,w=/b*/g;return u.call(I,"a"),u.call(w,"a"),I.lastIndex!==0||w.lastIndex!==0}(),b=r.UNSUPPORTED_Y||r.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,E=h||S||b;E&&(m=function(w){var O=this,M,T,N,U,ee=b&&O.sticky,z=a.call(O),K=O.source,X=0,_=w;return ee&&(z=z.replace("y",""),z.indexOf("g")===-1&&(z+="g"),_=String(w).slice(O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&w[O.lastIndex-1]!==`
  8. `)&&(K="(?: "+K+")",_=" "+_,X++),T=new RegExp("^(?:"+K+")",z)),S&&(T=new RegExp("^"+K+"$(?!\\s)",z)),h&&(M=O.lastIndex),N=u.call(ee?T:O,_),ee?N?(N.input=N.input.slice(X),N[0]=N[0].slice(X),N.index=O.lastIndex,O.lastIndex+=N[0].length):O.lastIndex=0:h&&N&&(O.lastIndex=O.global?N.index+N[0].length:M),S&&N&&N.length>1&&g.call(N[0],T,function(){for(U=1;U<arguments.length-2;U++)arguments[U]===void 0&&(N[U]=void 0)}),N}),n.exports=m},"94ca":function(n,c,t){var a=t("d039"),r=/#|\.prototype\./,u=function(S,E){var I=m[g(S)];return I==b?!0:I==h?!1:typeof E=="function"?a(E):!!E},g=u.normalize=function(S){return String(S).replace(r,".").toLowerCase()},m=u.data={},h=u.NATIVE="N",b=u.POLYFILL="P";n.exports=u},"99af":function(n,c,t){var a=t("23e7"),r=t("d039"),u=t("e8b5"),g=t("861d"),m=t("7b0b"),h=t("50c4"),b=t("8418"),S=t("65f0"),E=t("1dde"),I=t("b622"),w=t("2d00"),O=I("isConcatSpreadable"),M=9007199254740991,T="Maximum allowed index exceeded",N=w>=51||!r(function(){var K=[];return K[O]=!1,K.concat()[0]!==K}),U=E("concat"),ee=function(K){if(!g(K))return!1;var X=K[O];return X!==void 0?!!X:u(K)},z=!N||!U;a({target:"Array",proto:!0,forced:z},{concat:function(X){var _=m(this),se=S(_,0),L=0,$,H,Z,ie,Ee;for($=-1,Z=arguments.length;$<Z;$++)if(Ee=$===-1?_:arguments[$],ee(Ee)){if(ie=h(Ee.length),L+ie>M)throw TypeError(T);for(H=0;H<ie;H++,L++)H in Ee&&b(se,L,Ee[H])}else{if(L>=M)throw TypeError(T);b(se,L++,Ee)}return se.length=L,se}})},"9bdd":function(n,c,t){var a=t("825a");n.exports=function(r,u,g,m){try{return m?u(a(g)[0],g[1]):u(g)}catch(b){var h=r.return;throw h!==void 0&&a(h.call(r)),b}}},"9bf2":function(n,c,t){var a=t("83ab"),r=t("0cfb"),u=t("825a"),g=t("c04e"),m=Object.defineProperty;c.f=a?m:function(b,S,E){if(u(b),S=g(S,!0),u(E),r)try{return m(b,S,E)}catch{}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(b[S]=E.value),b}},"9ed3":function(n,c,t){var a=t("ae93").IteratorPrototype,r=t("7c73"),u=t("5c6c"),g=t("d44e"),m=t("3f8c"),h=function(){return this};n.exports=function(b,S,E){var I=S+" Iterator";return b.prototype=r(a,{next:u(1,E)}),g(b,I,!1,!0),m[I]=h,b}},"9f7f":function(n,c,t){var a=t("d039");function r(u,g){return RegExp(u,g)}c.UNSUPPORTED_Y=a(function(){var u=r("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),c.BROKEN_CARET=a(function(){var u=r("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(n,c,t){var a=t("e8b5"),r=t("50c4"),u=t("0366"),g=function(m,h,b,S,E,I,w,O){for(var M=E,T=0,N=w?u(w,O,3):!1,U;T<S;){if(T in b){if(U=N?N(b[T],T,h):b[T],I>0&&a(U))M=g(m,h,U,r(U.length),M,I-1)-1;else{if(M>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[M]=U}M++}T++}return M};n.exports=g},a352:function(n,c){n.exports=d},a434:function(n,c,t){var a=t("23e7"),r=t("23cb"),u=t("a691"),g=t("50c4"),m=t("7b0b"),h=t("65f0"),b=t("8418"),S=t("1dde"),E=t("ae40"),I=S("splice"),w=E("splice",{ACCESSORS:!0,0:0,1:2}),O=Math.max,M=Math.min,T=9007199254740991,N="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!I||!w},{splice:function(ee,z){var K=m(this),X=g(K.length),_=r(ee,X),se=arguments.length,L,$,H,Z,ie,Ee;if(se===0?L=$=0:se===1?(L=0,$=X-_):(L=se-2,$=M(O(u(z),0),X-_)),X+L-$>T)throw TypeError(N);for(H=h(K,$),Z=0;Z<$;Z++)ie=_+Z,ie in K&&b(H,Z,K[ie]);if(H.length=$,L<$){for(Z=_;Z<X-$;Z++)ie=Z+$,Ee=Z+L,ie in K?K[Ee]=K[ie]:delete K[Ee];for(Z=X;Z>X-$+L;Z--)delete K[Z-1]}else if(L>$)for(Z=X-$;Z>_;Z--)ie=Z+$-1,Ee=Z+L-1,ie in K?K[Ee]=K[ie]:delete K[Ee];for(Z=0;Z<L;Z++)K[Z+_]=arguments[Z+2];return K.length=X-$+L,H}})},a4d3:function(n,c,t){var a=t("23e7"),r=t("da84"),u=t("d066"),g=t("c430"),m=t("83ab"),h=t("4930"),b=t("fdbf"),S=t("d039"),E=t("5135"),I=t("e8b5"),w=t("861d"),O=t("825a"),M=t("7b0b"),T=t("fc6a"),N=t("c04e"),U=t("5c6c"),ee=t("7c73"),z=t("df75"),K=t("241c"),X=t("057f"),_=t("7418"),se=t("06cf"),L=t("9bf2"),$=t("d1e7"),H=t("9112"),Z=t("6eeb"),ie=t("5692"),Ee=t("f772"),Pe=t("d012"),Xe=t("90e3"),Me=t("b622"),ke=t("e538"),Je=t("746f"),De=t("d44e"),Qe=t("69f3"),Ae=t("b727").forEach,we=Ee("hidden"),mt="Symbol",nt="prototype",Kt=Me("toPrimitive"),gt=Qe.set,it=Qe.getterFor(mt),Ze=Object[nt],qe=r.Symbol,Jt=u("JSON","stringify"),Ot=se.f,Tt=L.f,Cn=X.f,zn=$.f,xt=ie("symbols"),jt=ie("op-symbols"),tn=ie("string-to-symbol-registry"),cn=ie("symbol-to-string-registry"),fn=ie("wks"),vn=r.QObject,pn=!vn||!vn[nt]||!vn[nt].findChild,mn=m&&S(function(){return ee(Tt({},"a",{get:function(){return Tt(this,"a",{value:7}).a}})).a!=7})?function(q,ne,le){var he=Ot(Ze,ne);he&&delete Ze[ne],Tt(q,ne,le),he&&q!==Ze&&Tt(Ze,ne,he)}:Tt,nn=function(q,ne){var le=xt[q]=ee(qe[nt]);return gt(le,{type:mt,tag:q,description:ne}),m||(le.description=ne),le},A=b?function(q){return typeof q=="symbol"}:function(q){return Object(q)instanceof qe},C=function(ne,le,he){ne===Ze&&C(jt,le,he),O(ne);var ye=N(le,!0);return O(he),E(xt,ye)?(he.enumerable?(E(ne,we)&&ne[we][ye]&&(ne[we][ye]=!1),he=ee(he,{enumerable:U(0,!1)})):(E(ne,we)||Tt(ne,we,U(1,{})),ne[we][ye]=!0),mn(ne,ye,he)):Tt(ne,ye,he)},P=function(ne,le){O(ne);var he=T(le),ye=z(he).concat(xe(he));return Ae(ye,function(ct){(!m||te.call(he,ct))&&C(ne,ct,he[ct])}),ne},j=function(ne,le){return le===void 0?ee(ne):P(ee(ne),le)},te=function(ne){var le=N(ne,!0),he=zn.call(this,le);return this===Ze&&E(xt,le)&&!E(jt,le)?!1:he||!E(this,le)||!E(xt,le)||E(this,we)&&this[we][le]?he:!0},de=function(ne,le){var he=T(ne),ye=N(le,!0);if(!(he===Ze&&E(xt,ye)&&!E(jt,ye))){var ct=Ot(he,ye);return ct&&E(xt,ye)&&!(E(he,we)&&he[we][ye])&&(ct.enumerable=!0),ct}},ve=function(ne){var le=Cn(T(ne)),he=[];return Ae(le,function(ye){!E(xt,ye)&&!E(Pe,ye)&&he.push(ye)}),he},xe=function(ne){var le=ne===Ze,he=Cn(le?jt:T(ne)),ye=[];return Ae(he,function(ct){E(xt,ct)&&(!le||E(Ze,ct))&&ye.push(xt[ct])}),ye};if(h||(qe=function(){if(this instanceof qe)throw TypeError("Symbol is not a constructor");var ne=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),le=Xe(ne),he=function(ye){this===Ze&&he.call(jt,ye),E(this,we)&&E(this[we],le)&&(this[we][le]=!1),mn(this,le,U(1,ye))};return m&&pn&&mn(Ze,le,{configurable:!0,set:he}),nn(le,ne)},Z(qe[nt],"toString",function(){return it(this).tag}),Z(qe,"withoutSetter",function(q){return nn(Xe(q),q)}),$.f=te,L.f=C,se.f=de,K.f=X.f=ve,_.f=xe,ke.f=function(q){return nn(Me(q),q)},m&&(Tt(qe[nt],"description",{configurable:!0,get:function(){return it(this).description}}),g||Z(Ze,"propertyIsEnumerable",te,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:qe}),Ae(z(fn),function(q){Je(q)}),a({target:mt,stat:!0,forced:!h},{for:function(q){var ne=String(q);if(E(tn,ne))return tn[ne];var le=qe(ne);return tn[ne]=le,cn[le]=ne,le},keyFor:function(ne){if(!A(ne))throw TypeError(ne+" is not a symbol");if(E(cn,ne))return cn[ne]},useSetter:function(){pn=!0},useSimple:function(){pn=!1}}),a({target:"Object",stat:!0,forced:!h,sham:!m},{create:j,defineProperty:C,defineProperties:P,getOwnPropertyDescriptor:de}),a({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:ve,getOwnPropertySymbols:xe}),a({target:"Object",stat:!0,forced:S(function(){_.f(1)})},{getOwnPropertySymbols:function(ne){return _.f(M(ne))}}),Jt){var Be=!h||S(function(){var q=qe();return Jt([q])!="[null]"||Jt({a:q})!="{}"||Jt(Object(q))!="{}"});a({target:"JSON",stat:!0,forced:Be},{stringify:function(ne,le,he){for(var ye=[ne],ct=1,An;arguments.length>ct;)ye.push(arguments[ct++]);if(An=le,!(!w(le)&&ne===void 0||A(ne)))return I(le)||(le=function(oi,gn){if(typeof An=="function"&&(gn=An.call(this,oi,gn)),!A(gn))return gn}),ye[1]=le,Jt.apply(null,ye)}})}qe[nt][Kt]||H(qe[nt],Kt,qe[nt].valueOf),De(qe,mt),Pe[we]=!0},a630:function(n,c,t){var a=t("23e7"),r=t("4df4"),u=t("1c7e"),g=!u(function(m){Array.from(m)});a({target:"Array",stat:!0,forced:g},{from:r})},a640:function(n,c,t){var a=t("d039");n.exports=function(r,u){var g=[][r];return!!g&&a(function(){g.call(null,u||function(){throw 1},1)})}},a691:function(n,c){var t=Math.ceil,a=Math.floor;n.exports=function(r){return isNaN(r=+r)?0:(r>0?a:t)(r)}},ab13:function(n,c,t){var a=t("b622"),r=a("match");n.exports=function(u){var g=/./;try{"/./"[u](g)}catch{try{return g[r]=!1,"/./"[u](g)}catch{}}return!1}},ac1f:function(n,c,t){var a=t("23e7"),r=t("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},ad6d:function(n,c,t){var a=t("825a");n.exports=function(){var r=a(this),u="";return r.global&&(u+="g"),r.ignoreCase&&(u+="i"),r.multiline&&(u+="m"),r.dotAll&&(u+="s"),r.unicode&&(u+="u"),r.sticky&&(u+="y"),u}},ae40:function(n,c,t){var a=t("83ab"),r=t("d039"),u=t("5135"),g=Object.defineProperty,m={},h=function(b){throw b};n.exports=function(b,S){if(u(m,b))return m[b];S||(S={});var E=[][b],I=u(S,"ACCESSORS")?S.ACCESSORS:!1,w=u(S,0)?S[0]:h,O=u(S,1)?S[1]:void 0;return m[b]=!!E&&!r(function(){if(I&&!a)return!0;var M={length:-1};I?g(M,1,{enumerable:!0,get:h}):M[1]=1,E.call(M,w,O)})}},ae93:function(n,c,t){var a=t("e163"),r=t("9112"),u=t("5135"),g=t("b622"),m=t("c430"),h=g("iterator"),b=!1,S=function(){return this},E,I,w;[].keys&&(w=[].keys(),"next"in w?(I=a(a(w)),I!==Object.prototype&&(E=I)):b=!0),E==null&&(E={}),!m&&!u(E,h)&&r(E,h,S),n.exports={IteratorPrototype:E,BUGGY_SAFARI_ITERATORS:b}},b041:function(n,c,t){var a=t("00ee"),r=t("f5df");n.exports=a?{}.toString:function(){return"[object "+r(this)+"]"}},b0c0:function(n,c,t){var a=t("83ab"),r=t("9bf2").f,u=Function.prototype,g=u.toString,m=/^\s*function ([^ (]*)/,h="name";a&&!(h in u)&&r(u,h,{configurable:!0,get:function(){try{return g.call(this).match(m)[1]}catch{return""}}})},b622:function(n,c,t){var a=t("da84"),r=t("5692"),u=t("5135"),g=t("90e3"),m=t("4930"),h=t("fdbf"),b=r("wks"),S=a.Symbol,E=h?S:S&&S.withoutSetter||g;n.exports=function(I){return u(b,I)||(m&&u(S,I)?b[I]=S[I]:b[I]=E("Symbol."+I)),b[I]}},b64b:function(n,c,t){var a=t("23e7"),r=t("7b0b"),u=t("df75"),g=t("d039"),m=g(function(){u(1)});a({target:"Object",stat:!0,forced:m},{keys:function(b){return u(r(b))}})},b727:function(n,c,t){var a=t("0366"),r=t("44ad"),u=t("7b0b"),g=t("50c4"),m=t("65f0"),h=[].push,b=function(S){var E=S==1,I=S==2,w=S==3,O=S==4,M=S==6,T=S==5||M;return function(N,U,ee,z){for(var K=u(N),X=r(K),_=a(U,ee,3),se=g(X.length),L=0,$=z||m,H=E?$(N,se):I?$(N,0):void 0,Z,ie;se>L;L++)if((T||L in X)&&(Z=X[L],ie=_(Z,L,K),S)){if(E)H[L]=ie;else if(ie)switch(S){case 3:return!0;case 5:return Z;case 6:return L;case 2:h.call(H,Z)}else if(O)return!1}return M?-1:w||O?O:H}};n.exports={forEach:b(0),map:b(1),filter:b(2),some:b(3),every:b(4),find:b(5),findIndex:b(6)}},c04e:function(n,c,t){var a=t("861d");n.exports=function(r,u){if(!a(r))return r;var g,m;if(u&&typeof(g=r.toString)=="function"&&!a(m=g.call(r))||typeof(g=r.valueOf)=="function"&&!a(m=g.call(r))||!u&&typeof(g=r.toString)=="function"&&!a(m=g.call(r)))return m;throw TypeError("Can't convert object to primitive value")}},c430:function(n,c){n.exports=!1},c6b6:function(n,c){var t={}.toString;n.exports=function(a){return t.call(a).slice(8,-1)}},c6cd:function(n,c,t){var a=t("da84"),r=t("ce4e"),u="__core-js_shared__",g=a[u]||r(u,{});n.exports=g},c740:function(n,c,t){var a=t("23e7"),r=t("b727").findIndex,u=t("44d2"),g=t("ae40"),m="findIndex",h=!0,b=g(m);m in[]&&Array(1)[m](function(){h=!1}),a({target:"Array",proto:!0,forced:h||!b},{findIndex:function(E){return r(this,E,arguments.length>1?arguments[1]:void 0)}}),u(m)},c8ba:function(n,c){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}n.exports=t},c975:function(n,c,t){var a=t("23e7"),r=t("4d64").indexOf,u=t("a640"),g=t("ae40"),m=[].indexOf,h=!!m&&1/[1].indexOf(1,-0)<0,b=u("indexOf"),S=g("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:h||!b||!S},{indexOf:function(I){return h?m.apply(this,arguments)||0:r(this,I,arguments.length>1?arguments[1]:void 0)}})},ca84:function(n,c,t){var a=t("5135"),r=t("fc6a"),u=t("4d64").indexOf,g=t("d012");n.exports=function(m,h){var b=r(m),S=0,E=[],I;for(I in b)!a(g,I)&&a(b,I)&&E.push(I);for(;h.length>S;)a(b,I=h[S++])&&(~u(E,I)||E.push(I));return E}},caad:function(n,c,t){var a=t("23e7"),r=t("4d64").includes,u=t("44d2"),g=t("ae40"),m=g("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!m},{includes:function(b){return r(this,b,arguments.length>1?arguments[1]:void 0)}}),u("includes")},cc12:function(n,c,t){var a=t("da84"),r=t("861d"),u=a.document,g=r(u)&&r(u.createElement);n.exports=function(m){return g?u.createElement(m):{}}},ce4e:function(n,c,t){var a=t("da84"),r=t("9112");n.exports=function(u,g){try{r(a,u,g)}catch{a[u]=g}return g}},d012:function(n,c){n.exports={}},d039:function(n,c){n.exports=function(t){try{return!!t()}catch{return!0}}},d066:function(n,c,t){var a=t("428f"),r=t("da84"),u=function(g){return typeof g=="function"?g:void 0};n.exports=function(g,m){return arguments.length<2?u(a[g])||u(r[g]):a[g]&&a[g][m]||r[g]&&r[g][m]}},d1e7:function(n,c,t){var a={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,u=r&&!a.call({1:2},1);c.f=u?function(m){var h=r(this,m);return!!h&&h.enumerable}:a},d28b:function(n,c,t){var a=t("746f");a("iterator")},d2bb:function(n,c,t){var a=t("825a"),r=t("3bbe");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,g={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(g,[]),u=g instanceof Array}catch{}return function(b,S){return a(b),r(S),u?m.call(b,S):b.__proto__=S,b}}():void 0)},d3b7:function(n,c,t){var a=t("00ee"),r=t("6eeb"),u=t("b041");a||r(Object.prototype,"toString",u,{unsafe:!0})},d44e:function(n,c,t){var a=t("9bf2").f,r=t("5135"),u=t("b622"),g=u("toStringTag");n.exports=function(m,h,b){m&&!r(m=b?m:m.prototype,g)&&a(m,g,{configurable:!0,value:h})}},d58f:function(n,c,t){var a=t("1c0b"),r=t("7b0b"),u=t("44ad"),g=t("50c4"),m=function(h){return function(b,S,E,I){a(S);var w=r(b),O=u(w),M=g(w.length),T=h?M-1:0,N=h?-1:1;if(E<2)for(;;){if(T in O){I=O[T],T+=N;break}if(T+=N,h?T<0:M<=T)throw TypeError("Reduce of empty array with no initial value")}for(;h?T>=0:M>T;T+=N)T in O&&(I=S(I,O[T],T,w));return I}};n.exports={left:m(!1),right:m(!0)}},d784:function(n,c,t){t("ac1f");var a=t("6eeb"),r=t("d039"),u=t("b622"),g=t("9263"),m=t("9112"),h=u("species"),b=!r(function(){var O=/./;return O.exec=function(){var M=[];return M.groups={a:"7"},M},"".replace(O,"$<a>")!=="7"}),S=function(){return"a".replace(/./,"$0")==="$0"}(),E=u("replace"),I=function(){return/./[E]?/./[E]("a","$0")==="":!1}(),w=!r(function(){var O=/(?:)/,M=O.exec;O.exec=function(){return M.apply(this,arguments)};var T="ab".split(O);return T.length!==2||T[0]!=="a"||T[1]!=="b"});n.exports=function(O,M,T,N){var U=u(O),ee=!r(function(){var L={};return L[U]=function(){return 7},""[O](L)!=7}),z=ee&&!r(function(){var L=!1,$=/a/;return O==="split"&&($={},$.constructor={},$.constructor[h]=function(){return $},$.flags="",$[U]=/./[U]),$.exec=function(){return L=!0,null},$[U](""),!L});if(!ee||!z||O==="replace"&&!(b&&S&&!I)||O==="split"&&!w){var K=/./[U],X=T(U,""[O],function(L,$,H,Z,ie){return $.exec===g?ee&&!ie?{done:!0,value:K.call($,H,Z)}:{done:!0,value:L.call(H,$,Z)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:I}),_=X[0],se=X[1];a(String.prototype,O,_),a(RegExp.prototype,U,M==2?function(L,$){return se.call(L,this,$)}:function(L){return se.call(L,this)})}N&&m(RegExp.prototype[U],"sham",!0)}},d81d:function(n,c,t){var a=t("23e7"),r=t("b727").map,u=t("1dde"),g=t("ae40"),m=u("map"),h=g("map");a({target:"Array",proto:!0,forced:!m||!h},{map:function(S){return r(this,S,arguments.length>1?arguments[1]:void 0)}})},da84:function(n,c,t){(function(a){var r=function(u){return u&&u.Math==Math&&u};n.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof a=="object"&&a)||Function("return this")()}).call(this,t("c8ba"))},dbb4:function(n,c,t){var a=t("23e7"),r=t("83ab"),u=t("56ef"),g=t("fc6a"),m=t("06cf"),h=t("8418");a({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(S){for(var E=g(S),I=m.f,w=u(E),O={},M=0,T,N;w.length>M;)N=I(E,T=w[M++]),N!==void 0&&h(O,T,N);return O}})},dbf1:function(n,c,t){(function(a){t.d(c,"a",function(){return u});function r(){return typeof window<"u"?window.console:a.console}var u=r()}).call(this,t("c8ba"))},ddb0:function(n,c,t){var a=t("da84"),r=t("fdbc"),u=t("e260"),g=t("9112"),m=t("b622"),h=m("iterator"),b=m("toStringTag"),S=u.values;for(var E in r){var I=a[E],w=I&&I.prototype;if(w){if(w[h]!==S)try{g(w,h,S)}catch{w[h]=S}if(w[b]||g(w,b,E),r[E]){for(var O in u)if(w[O]!==u[O])try{g(w,O,u[O])}catch{w[O]=u[O]}}}}},df75:function(n,c,t){var a=t("ca84"),r=t("7839");n.exports=Object.keys||function(g){return a(g,r)}},e01a:function(n,c,t){var a=t("23e7"),r=t("83ab"),u=t("da84"),g=t("5135"),m=t("861d"),h=t("9bf2").f,b=t("e893"),S=u.Symbol;if(r&&typeof S=="function"&&(!("description"in S.prototype)||S().description!==void 0)){var E={},I=function(){var U=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),ee=this instanceof I?new S(U):U===void 0?S():S(U);return U===""&&(E[ee]=!0),ee};b(I,S);var w=I.prototype=S.prototype;w.constructor=I;var O=w.toString,M=String(S("test"))=="Symbol(test)",T=/^Symbol\((.*)\)[^)]+$/;h(w,"description",{configurable:!0,get:function(){var U=m(this)?this.valueOf():this,ee=O.call(U);if(g(E,U))return"";var z=M?ee.slice(7,-1):ee.replace(T,"$1");return z===""?void 0:z}}),a({global:!0,forced:!0},{Symbol:I})}},e163:function(n,c,t){var a=t("5135"),r=t("7b0b"),u=t("f772"),g=t("e177"),m=u("IE_PROTO"),h=Object.prototype;n.exports=g?Object.getPrototypeOf:function(b){return b=r(b),a(b,m)?b[m]:typeof b.constructor=="function"&&b instanceof b.constructor?b.constructor.prototype:b instanceof Object?h:null}},e177:function(n,c,t){var a=t("d039");n.exports=!a(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})},e260:function(n,c,t){var a=t("fc6a"),r=t("44d2"),u=t("3f8c"),g=t("69f3"),m=t("7dd0"),h="Array Iterator",b=g.set,S=g.getterFor(h);n.exports=m(Array,"Array",function(E,I){b(this,{type:h,target:a(E),index:0,kind:I})},function(){var E=S(this),I=E.target,w=E.kind,O=E.index++;return!I||O>=I.length?(E.target=void 0,{value:void 0,done:!0}):w=="keys"?{value:O,done:!1}:w=="values"?{value:I[O],done:!1}:{value:[O,I[O]],done:!1}},"values"),u.Arguments=u.Array,r("keys"),r("values"),r("entries")},e439:function(n,c,t){var a=t("23e7"),r=t("d039"),u=t("fc6a"),g=t("06cf").f,m=t("83ab"),h=r(function(){g(1)}),b=!m||h;a({target:"Object",stat:!0,forced:b,sham:!m},{getOwnPropertyDescriptor:function(E,I){return g(u(E),I)}})},e538:function(n,c,t){var a=t("b622");c.f=a},e893:function(n,c,t){var a=t("5135"),r=t("56ef"),u=t("06cf"),g=t("9bf2");n.exports=function(m,h){for(var b=r(h),S=g.f,E=u.f,I=0;I<b.length;I++){var w=b[I];a(m,w)||S(m,w,E(h,w))}}},e8b5:function(n,c,t){var a=t("c6b6");n.exports=Array.isArray||function(u){return a(u)=="Array"}},e95a:function(n,c,t){var a=t("b622"),r=t("3f8c"),u=a("iterator"),g=Array.prototype;n.exports=function(m){return m!==void 0&&(r.Array===m||g[u]===m)}},f5df:function(n,c,t){var a=t("00ee"),r=t("c6b6"),u=t("b622"),g=u("toStringTag"),m=r(function(){return arguments}())=="Arguments",h=function(b,S){try{return b[S]}catch{}};n.exports=a?r:function(b){var S,E,I;return b===void 0?"Undefined":b===null?"Null":typeof(E=h(S=Object(b),g))=="string"?E:m?r(S):(I=r(S))=="Object"&&typeof S.callee=="function"?"Arguments":I}},f772:function(n,c,t){var a=t("5692"),r=t("90e3"),u=a("keys");n.exports=function(g){return u[g]||(u[g]=r(g))}},fb15:function(n,c,t){if(t.r(c),typeof window<"u"){var a=window.document.currentScript;{var r=t("8875");a=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r})}var u=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(t.p=u[1])}t("99af"),t("4de4"),t("4160"),t("c975"),t("d81d"),t("a434"),t("159b"),t("a4d3"),t("e439"),t("dbb4"),t("b64b");function g(A,C,P){return C in A?Object.defineProperty(A,C,{value:P,enumerable:!0,configurable:!0,writable:!0}):A[C]=P,A}function m(A,C){var P=Object.keys(A);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(A);C&&(j=j.filter(function(te){return Object.getOwnPropertyDescriptor(A,te).enumerable})),P.push.apply(P,j)}return P}function h(A){for(var C=1;C<arguments.length;C++){var P=arguments[C]!=null?arguments[C]:{};C%2?m(Object(P),!0).forEach(function(j){g(A,j,P[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(P)):m(Object(P)).forEach(function(j){Object.defineProperty(A,j,Object.getOwnPropertyDescriptor(P,j))})}return A}function b(A){if(Array.isArray(A))return A}t("e01a"),t("d28b"),t("e260"),t("d3b7"),t("3ca3"),t("ddb0");function S(A,C){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(A)))){var P=[],j=!0,te=!1,de=void 0;try{for(var ve=A[Symbol.iterator](),xe;!(j=(xe=ve.next()).done)&&(P.push(xe.value),!(C&&P.length===C));j=!0);}catch(Be){te=!0,de=Be}finally{try{!j&&ve.return!=null&&ve.return()}finally{if(te)throw de}}return P}}t("a630"),t("fb6a"),t("b0c0"),t("25f0");function E(A,C){(C==null||C>A.length)&&(C=A.length);for(var P=0,j=new Array(C);P<C;P++)j[P]=A[P];return j}function I(A,C){if(A){if(typeof A=="string")return E(A,C);var P=Object.prototype.toString.call(A).slice(8,-1);if(P==="Object"&&A.constructor&&(P=A.constructor.name),P==="Map"||P==="Set")return Array.from(A);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return E(A,C)}}function w(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  9. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function O(A,C){return b(A)||S(A,C)||I(A,C)||w()}function M(A){if(Array.isArray(A))return E(A)}function T(A){if(typeof Symbol<"u"&&Symbol.iterator in Object(A))return Array.from(A)}function N(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
  10. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function U(A){return M(A)||T(A)||I(A)||N()}var ee=t("a352"),z=t.n(ee);function K(A){A.parentElement!==null&&A.parentElement.removeChild(A)}function X(A,C,P){var j=P===0?A.children[0]:A.children[P-1].nextSibling;A.insertBefore(C,j)}var _=t("dbf1");t("13d5"),t("4fad"),t("ac1f"),t("5319");function se(A){var C=Object.create(null);return function(j){var te=C[j];return te||(C[j]=A(j))}}var L=/-(\w)/g,$=se(function(A){return A.replace(L,function(C,P){return P.toUpperCase()})});t("5db7"),t("73d9");var H=["Start","Add","Remove","Update","End"],Z=["Choose","Unchoose","Sort","Filter","Clone"],ie=["Move"],Ee=[ie,H,Z].flatMap(function(A){return A}).map(function(A){return"on".concat(A)}),Pe={manage:ie,manageAndEmit:H,emit:Z};function Xe(A){return Ee.indexOf(A)!==-1}t("caad"),t("2ca0");var Me=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function ke(A){return Me.includes(A)}function Je(A){return["transition-group","TransitionGroup"].includes(A)}function De(A){return["id","class","role","style"].includes(A)||A.startsWith("data-")||A.startsWith("aria-")||A.startsWith("on")}function Qe(A){return A.reduce(function(C,P){var j=O(P,2),te=j[0],de=j[1];return C[te]=de,C},{})}function Ae(A){var C=A.$attrs,P=A.componentData,j=P===void 0?{}:P,te=Qe(Object.entries(C).filter(function(de){var ve=O(de,2),xe=ve[0];return ve[1],De(xe)}));return h(h({},te),j)}function we(A){var C=A.$attrs,P=A.callBackBuilder,j=Qe(mt(C));Object.entries(P).forEach(function(de){var ve=O(de,2),xe=ve[0],Be=ve[1];Pe[xe].forEach(function(q){j["on".concat(q)]=Be(q)})});var te="[data-draggable]".concat(j.draggable||"");return h(h({},j),{},{draggable:te})}function mt(A){return Object.entries(A).filter(function(C){var P=O(C,2),j=P[0];return P[1],!De(j)}).map(function(C){var P=O(C,2),j=P[0],te=P[1];return[$(j),te]}).filter(function(C){var P=O(C,2),j=P[0];return P[1],!Xe(j)})}t("c740");function nt(A,C){if(!(A instanceof C))throw new TypeError("Cannot call a class as a function")}function Kt(A,C){for(var P=0;P<C.length;P++){var j=C[P];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(A,j.key,j)}}function gt(A,C,P){return C&&Kt(A.prototype,C),A}var it=function(C){var P=C.el;return P},Ze=function(C,P){return C.__draggable_context=P},qe=function(C){return C.__draggable_context},Jt=function(){function A(C){var P=C.nodes,j=P.header,te=P.default,de=P.footer,ve=C.root,xe=C.realList;nt(this,A),this.defaultNodes=te,this.children=[].concat(U(j),U(te),U(de)),this.externalComponent=ve.externalComponent,this.rootTransition=ve.transition,this.tag=ve.tag,this.realList=xe}return gt(A,[{key:"render",value:function(P,j){var te=this.tag,de=this.children,ve=this._isRootComponent,xe=ve?{default:function(){return de}}:de;return P(te,j,xe)}},{key:"updated",value:function(){var P=this.defaultNodes,j=this.realList;P.forEach(function(te,de){Ze(it(te),{element:j[de],index:de})})}},{key:"getUnderlyingVm",value:function(P){return qe(P)}},{key:"getVmIndexFromDomIndex",value:function(P,j){var te=this.defaultNodes,de=te.length,ve=j.children,xe=ve.item(P);if(xe===null)return de;var Be=qe(xe);if(Be)return Be.index;if(de===0)return 0;var q=it(te[0]),ne=U(ve).findIndex(function(le){return le===q});return P<ne?0:de}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),A}(),Ot=t("8bbf");function Tt(A,C){var P=A[C];return P?P():[]}function Cn(A){var C=A.$slots,P=A.realList,j=A.getKey,te=P||[],de=["header","footer"].map(function(le){return Tt(C,le)}),ve=O(de,2),xe=ve[0],Be=ve[1],q=C.item;if(!q)throw new Error("draggable element must have an item slot");var ne=te.flatMap(function(le,he){return q({element:le,index:he}).map(function(ye){return ye.key=j(le),ye.props=h(h({},ye.props||{}),{},{"data-draggable":!0}),ye})});if(ne.length!==te.length)throw new Error("Item slot must have only one child");return{header:xe,footer:Be,default:ne}}function zn(A){var C=Je(A),P=!ke(A)&&!C;return{transition:C,externalComponent:P,tag:P?Object(Ot.resolveComponent)(A):C?Ot.TransitionGroup:A}}function xt(A){var C=A.$slots,P=A.tag,j=A.realList,te=A.getKey,de=Cn({$slots:C,realList:j,getKey:te}),ve=zn(P);return new Jt({nodes:de,root:ve,realList:j})}function jt(A,C){var P=this;Object(Ot.nextTick)(function(){return P.$emit(A.toLowerCase(),C)})}function tn(A){var C=this;return function(P,j){if(C.realList!==null)return C["onDrag".concat(A)](P,j)}}function cn(A){var C=this,P=tn.call(this,A);return function(j,te){P.call(C,j,te),jt.call(C,A,j)}}var fn=null,vn={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(C){return C}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},pn=["update:modelValue","change"].concat(U([].concat(U(Pe.manageAndEmit),U(Pe.emit)).map(function(A){return A.toLowerCase()}))),mn=Object(Ot.defineComponent)({name:"draggable",inheritAttrs:!1,props:vn,emits:pn,data:function(){return{error:!1}},render:function(){try{this.error=!1;var C=this.$slots,P=this.$attrs,j=this.tag,te=this.componentData,de=this.realList,ve=this.getKey,xe=xt({$slots:C,tag:j,realList:de,getKey:ve});this.componentStructure=xe;var Be=Ae({$attrs:P,componentData:te});return xe.render(Ot.h,Be)}catch(q){return this.error=!0,Object(Ot.h)("pre",{style:{color:"red"}},q.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&_.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var C=this;if(!this.error){var P=this.$attrs,j=this.$el,te=this.componentStructure;te.updated();var de=we({$attrs:P,callBackBuilder:{manageAndEmit:function(Be){return cn.call(C,Be)},emit:function(Be){return jt.bind(C,Be)},manage:function(Be){return tn.call(C,Be)}}}),ve=j.nodeType===1?j:j.parentElement;this._sortable=new z.a(ve,de),this.targetDomElement=ve,ve.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var C=this.list;return C||this.modelValue},getKey:function(){var C=this.itemKey;return typeof C=="function"?C:function(P){return P[C]}}},watch:{$attrs:{handler:function(C){var P=this._sortable;P&&mt(C).forEach(function(j){var te=O(j,2),de=te[0],ve=te[1];P.option(de,ve)})},deep:!0}},methods:{getUnderlyingVm:function(C){return this.componentStructure.getUnderlyingVm(C)||null},getUnderlyingPotencialDraggableComponent:function(C){return C.__draggable_component__},emitChanges:function(C){var P=this;Object(Ot.nextTick)(function(){return P.$emit("change",C)})},alterList:function(C){if(this.list){C(this.list);return}var P=U(this.modelValue);C(P),this.$emit("update:modelValue",P)},spliceList:function(){var C=arguments,P=function(te){return te.splice.apply(te,U(C))};this.alterList(P)},updatePosition:function(C,P){var j=function(de){return de.splice(P,0,de.splice(C,1)[0])};this.alterList(j)},getRelatedContextFromMoveEvent:function(C){var P=C.to,j=C.related,te=this.getUnderlyingPotencialDraggableComponent(P);if(!te)return{component:te};var de=te.realList,ve={list:de,component:te};if(P!==j&&de){var xe=te.getUnderlyingVm(j)||{};return h(h({},xe),ve)}return ve},getVmIndexFromDomIndex:function(C){return this.componentStructure.getVmIndexFromDomIndex(C,this.targetDomElement)},onDragStart:function(C){this.context=this.getUnderlyingVm(C.item),C.item._underlying_vm_=this.clone(this.context.element),fn=C.item},onDragAdd:function(C){var P=C.item._underlying_vm_;if(P!==void 0){K(C.item);var j=this.getVmIndexFromDomIndex(C.newIndex);this.spliceList(j,0,P);var te={element:P,newIndex:j};this.emitChanges({added:te})}},onDragRemove:function(C){if(X(this.$el,C.item,C.oldIndex),C.pullMode==="clone"){K(C.clone);return}var P=this.context,j=P.index,te=P.element;this.spliceList(j,1);var de={element:te,oldIndex:j};this.emitChanges({removed:de})},onDragUpdate:function(C){K(C.item),X(C.from,C.item,C.oldIndex);var P=this.context.index,j=this.getVmIndexFromDomIndex(C.newIndex);this.updatePosition(P,j);var te={element:this.context.element,oldIndex:P,newIndex:j};this.emitChanges({moved:te})},computeFutureIndex:function(C,P){if(!C.element)return 0;var j=U(P.to.children).filter(function(xe){return xe.style.display!=="none"}),te=j.indexOf(P.related),de=C.component.getVmIndexFromDomIndex(te),ve=j.indexOf(fn)!==-1;return ve||!P.willInsertAfter?de:de+1},onDragMove:function(C,P){var j=this.move,te=this.realList;if(!j||!te)return!0;var de=this.getRelatedContextFromMoveEvent(C),ve=this.computeFutureIndex(de,C),xe=h(h({},this.context),{},{futureIndex:ve}),Be=h(h({},C),{},{relatedContext:de,draggedContext:xe});return j(Be,P)},onDragEnd:function(){fn=null}}}),nn=mn;c.default=nn},fb6a:function(n,c,t){var a=t("23e7"),r=t("861d"),u=t("e8b5"),g=t("23cb"),m=t("50c4"),h=t("fc6a"),b=t("8418"),S=t("b622"),E=t("1dde"),I=t("ae40"),w=E("slice"),O=I("slice",{ACCESSORS:!0,0:0,1:2}),M=S("species"),T=[].slice,N=Math.max;a({target:"Array",proto:!0,forced:!w||!O},{slice:function(ee,z){var K=h(this),X=m(K.length),_=g(ee,X),se=g(z===void 0?X:z,X),L,$,H;if(u(K)&&(L=K.constructor,typeof L=="function"&&(L===Array||u(L.prototype))?L=void 0:r(L)&&(L=L[M],L===null&&(L=void 0)),L===Array||L===void 0))return T.call(K,_,se);for($=new(L===void 0?Array:L)(N(se-_,0)),H=0;_<se;_++,H++)_ in K&&b($,H,K[_]);return $.length=H,$}})},fc6a:function(n,c,t){var a=t("44ad"),r=t("1d80");n.exports=function(u){return a(r(u))}},fdbc:function(n,c){n.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(n,c,t){var a=t("4930");n.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(Ea);var Js=Ea.exports;const ba=Ll(Js);function Sa(l,i){["name","gender","phone","id_card","ethnicity","height","weight","current_address","household_location","marital_status","expected_salary"].forEach(n=>{i[n]&&(l[n].visible=i[n].visible,l[n].required=i[n].required)}),["family_member","education","work_experience"].forEach(n=>{i[n]&&(l[n].visible=i[n].visible,Object.keys(i[n].fields).forEach(c=>{l[n].fields[c]&&(l[n].fields[c].visible=i[n].fields[c].visible,l[n].fields[c].required=i[n].fields[c].required)}))})}const Ws={class:"position-detail-container"},Hs={class:"header-container"},Ys={class:"header-actions"},Xs={class:"detail-content"},Zs={class:"detail-item"},qs={key:0,class:"detail-value"},_s={key:1,class:"title-edit-container"},ed={class:"title-edit-actions"},td={class:"detail-item"},nd={key:0,class:"detail-value"},od={key:1,class:"title-edit-container"},id={class:"title-edit-actions"},ad={class:"detail-item"},rd={key:0,class:"detail-value"},ld={key:1,class:"title-edit-container"},sd={class:"salary-range-container"},dd={class:"title-edit-actions"},ud={class:"detail-item"},cd={key:0,class:"detail-value"},fd={key:1,class:"title-edit-container"},vd={class:"title-edit-actions"},pd={class:"detail-item"},md={key:0,class:"detail-value"},gd={key:1,class:"title-edit-container"},hd={class:"title-edit-actions"},yd={class:"detail-item"},bd={key:0,class:"detail-value"},Sd={key:1,class:"title-edit-container"},Ed={class:"title-edit-actions"},xd={class:"detail-item"},Id={class:"detail-value"},Cd={class:"detail-item"},Ad={key:0,class:"detail-value"},wd={key:1,class:"title-edit-container"},Od={class:"title-edit-actions"},Td={class:"detail-item"},Dd=["innerHTML"],Vd={key:2,class:"title-edit-container"},Pd={class:"title-edit-actions"},Rd={class:"detail-item"},Ud=["innerHTML"],Kd={key:2,class:"title-edit-container"},Md={class:"title-edit-actions"},kd={class:"detail-item"},Bd={key:0,class:"detail-value"},Nd={key:1,class:"title-edit-container"},jd={class:"title-edit-actions"},Fd={class:"status-cards"},Ld={class:"status-switch"},Qd={class:"status-text"},Gd={class:"section-title"},zd={class:"usage-content"},$d={key:0,class:"usage-value"},Jd={key:1,class:"title-edit-container"},Wd={class:"title-edit-actions"},Hd={class:"section-title"},Yd={class:"process-steps"},Xd={key:0,class:"step-number"},Zd={class:"step-content"},qd={class:"step-title"},_d={class:"section-title"},eu={class:"process-dialog-content"},tu={key:0,class:"add-process-btn-top"},nu={key:0,class:"process-number"},ou={class:"process-edit-content"},iu={key:1,class:"process-edit-btn"},au=["onClick"],ru={class:"dialog-footer"},lu={class:"ai-video-steps"},su={key:0,class:"ai-video-content","element-loading-text":"正在生成能力标签..."},du={class:"ai-video-options"},uu={class:"recommended-dimensions"},cu={class:"dimension-grid"},fu={class:"ability-label"},vu={class:"optional-dimensions"},pu={class:"header-row"},mu={class:"right_btn"},gu={class:"dimension-grid"},hu={class:"ability-label"},yu={class:"custom-dimensions"},bu={class:"dimension-form"},Su={class:"dimension-row"},Eu={class:"dimension-input"},xu={class:"dimension-input"},Iu={class:"dimension-actions"},Cu={key:1,class:"ai-video-content"},Au={class:"interview-settings"},wu={class:"interview-header"},Ou={class:"interview-actions"},Tu={class:"question-switches"},Du={class:"switch-item"},Vu={class:"switch-item"},Pu={class:"interview-duration"},Ru={class:"duration-value"},Uu={class:"interview-content"},Ku={class:"interview-questions-container","element-loading-text":"AI正在生成题目..."},Mu={key:0,class:"no-questions"},ku={key:1,class:"question-list"},Bu={class:"question-card"},Nu={class:"question-header"},ju={class:"question-title"},Fu={class:"title-content"},Lu={class:"question-content"},Qu={class:"question-number"},Gu={style:{color:"#0017ab"}},zu={class:"question-tags"},$u={key:0,class:"more-tags-indicator"},Ju={class:"question-actions",style:{"margin-top":"0px"}},Wu={class:"question-info"},Hu={class:"info-item"},Yu={key:0,class:"question-actions"},Xu={class:"answer-limit"},Zu={class:"answer-limit"},qu={key:1,class:"question-actions"},_u={class:"answer-limit"},ec={class:"multi-dimension-questions"},tc={class:"dimension-list"},nc={class:"dimension-header"},oc={class:"dimension-info"},ic={class:"ability-name"},ac=["onClick"],rc={key:2,class:"ai-video-content"},lc={class:"system-settings"},sc={class:"setting-section"},dc={style:{display:"flex","align-items":"flex-start"}},uc={style:{width:"100px",height:"170px","background-color":"#f2f2f2","margin-right":"30px","border-radius":"10px",overflow:"hidden"}},cc=["src"],fc={class:"interviewer-avatars"},vc=["onClick"],pc={class:"avatar-wrapper"},mc=["src","alt"],gc=["title"],hc={class:"setting-item",style:{border:"none"}},yc={class:"setting-options"},bc={class:"interview-settings"},Sc={class:"setting-item"},Ec={class:"setting-item"},xc={class:"setting-options"},Ic={class:"setting-item"},Cc={class:"drawer-footer"},Ac={class:"video-lecture-form"},wc={class:"form-item"},Oc={class:"upload-area"},Tc={class:"form-item"},Dc={class:"dialog-footer"},Vc={class:"ai-chat-content"},Pc={class:"chat-settings"},Rc={class:"chat-actions"},Uc={class:"chat-questions"},Kc={key:0,class:"empty-questions"},Mc={key:1,class:"question-list"},kc={class:"question-card"},Bc={class:"question-header"},Nc={class:"question-title"},jc={class:"question-number"},Fc={class:"question-actions"},Lc={class:"weight-control"},Qc={class:"answer-limit"},Gc={class:"question-info"},zc={class:"info-item"},$c={class:"info-item"},Jc={class:"info-item"},Wc={class:"drawer-footer"},Hc={class:"question-form"},Yc={class:"form-item"},Xc={class:"form-item"},Zc={class:"form-item"},qc={class:"competency-config"},_c={class:"tag-name"},ef={class:"form-tip"},tf={class:"form-item"},nf={class:"form-item"},of={key:0,class:"form-item"},af=["onClick"],rf={class:"form-item"},lf={class:"form-item"},sf={class:"form-item"},df={class:"form-item"},uf={class:"dialog-footer"},cf={class:"question-select-content"},ff={class:"custom-tree-node"},vf={class:"node-label",style:{display:"flex","align-items":"center"}},pf={class:"ml-2"},mf={class:"dialog-footer"},gf={class:"data-collection-form"},hf={class:"field-config-panel"},yf={class:"field-config-list"},bf={class:"field-config-item"},Sf={class:"field-label"},Ef={class:"field-config-item"},xf={class:"field-label"},If={class:"field-config-item sub-field"},Cf={class:"field-label"},Af={class:"field-config-item"},wf={class:"field-label"},Of={class:"field-config-item sub-field"},Tf={class:"field-label"},Df={class:"field-config-item"},Vf={class:"field-label"},Pf={class:"field-config-item"},Rf={class:"field-label"},Uf={class:"field-config-item sub-field"},Kf={class:"field-label"},Mf={class:"dialog-footer"},kf={class:"resume-collection-form"},Bf={class:"form-item"},Nf={class:"dialog-footer"},jf={class:"code-test-form"},Ff={class:"form-item"},Lf={class:"form-item"},Qf={class:"switch-label"},Gf={class:"form-item"},zf={class:"test-paper-selector"},$f={key:0,class:"empty-paper"},Jf={key:1,class:"selected-paper"},Wf={class:"paper-info"},Hf={class:"paper-title"},Yf={class:"paper-meta"},Xf={class:"paper-actions"},Zf={class:"dialog-footer"},qf={class:"typing-test-form"},_f={class:"form-item"},ev={class:"article-selection"},tv={class:"form-item"},nv={class:"form-item"},ov={class:"time-input-container"},iv={class:"form-item"},av={class:"upload-area"},rv={class:"form-item"},lv={class:"form-item"},sv={class:"form-item"},dv={class:"form-item"},uv={class:"criteria-options"},cv={class:"dialog-footer"},fv={class:"interview-settings-content"},vv={class:"settings-section"},pv={class:"setting-item"},mv={class:"setting-item"},gv={class:"setting-item"},hv={class:"setting-item"},yv={class:"setting-item"},bv={class:"settings-section"},Sv={class:"setting-item"},Ev={class:"setting-info"},xv={class:"setting-desc-container"},Iv={class:"setting-item"},Cv={class:"setting-info"},Av={key:0,class:"setting-desc-container"},wv={class:"setting-desc"},Ov={key:1,class:"desc-edit-container"},Tv={class:"desc-edit-actions"},Dv={class:"setting-item"},Vv={class:"setting-info"},Pv={key:0,class:"setting-desc-container"},Rv={class:"setting-desc"},Uv={key:1,class:"desc-edit-container"},Kv={class:"desc-edit-actions"},Mv={class:"setting-item"},kv={class:"setting-info"},Bv={key:0,class:"setting-desc-container"},Nv={class:"setting-desc"},jv={key:1,class:"desc-edit-container"},Fv={class:"desc-edit-actions"},Lv={class:"dialog-footer"},Qv={class:"question-select-content"},Gv={class:"document-box document-left-box"},zv={class:"search-bar"},$v={class:"search-inputs"},Jv={class:"question-lists"},Wv={class:"pagination-container"},Hv={class:"dialog-footer"},Yv={class:"candidate-questions-form"},Xv={class:"form-item"},Zv={class:"form-item"},qv={class:"form-item"},_v={class:"dialog-footer"},ep={class:"dialog-footer"},tp=Ol({__name:"index",setup(l){const i=Tl(),o=Dl(),d=Q(o.query.id),n=Q(!1),c=Q(!1),t=f=>r.slice(0,f+1).filter(e=>e.visible).length,a=et({title:"",job_category:"",job_type_display:"",city:"",location:[],location_str:"",address_detail:"",benefits:[],requirements:"",job_type:0,salary_range:"",department:"",end_date:"",description:"",work_experience_required:"",education_required:"",competency_tags:[],options:[],status:0}),r=et([{id:6,name:"简历收集",description:"简历收集",active:!0,type:"resume_collection",visible:!0},{id:5,name:"资料收集",description:"资料收集",active:!0,type:"data_collection",visible:!0},{id:2,name:"AI考察",description:"AI考察",active:!0,type:"ai_video",visible:!0},{id:8,name:"综合素质考察",description:"综合素质考察",active:!0,type:"common_sense",visible:!0},{id:9,name:"心理问题",description:"心理问题",active:!0,type:"psychological_problem",visible:!0},{id:7,name:"候选人提问",description:"时长5分钟,最多3个问题",active:!0,type:"candidate_questions",visible:!0,config:{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}},{id:3,name:"已通过",description:"已通过",active:!0,type:"passed",visible:!0},{id:4,name:"已淘汰",description:"已淘汰",active:!1,type:"rejected",visible:!0}]),u=Q(!1),g=[{label:"视频宣讲",value:"video_presentation"},{label:"简历收集",value:"resume_collection"},{label:"资料收集",value:"data_collection"},{label:"AI考察",value:"ai_video"},{label:"综合素质考察",value:"common_sense"},{label:"心理问题",value:"psychological_problem"},{label:"候选人提问",value:"candidate_questions"},{label:"肢体检测",value:"body_detection"}],m=Q(!1),h=f=>{lt.pageSize=f,qt({page:lt.page,limit:lt.pageSize,question_form:st.question_form}).then(e=>{e.data&&(lt.value=e.data.items,ft.page=e.data.page,ft.pageSize=e.data.limit,Yt.value=e.data.total)})},b=f=>{lt.page=f,qt({page:lt.page,limit:lt.pageSize,question_form:st.question_form}).then(e=>{e.data&&(lt.value=e.data.items,ft.page=e.data.page,ft.pageSize=e.data.limit,Yt.value=e.data.total)})},S=async()=>{const f=Ft.value.map(e=>e.id);if(console.log("selectedQuestionIds",f),f.length===0){R.warning("请至少选择一个问题");return}try{await pi({position_id:o.query.id,question_id:f,duration:60,tenant_id:Ve.get("tenant_id")});const e=lt.value.filter(D=>D.selected);Ft.value.push(...e),R.success("问题添加成功"),m.value=!1}catch(e){console.error("添加问题失败:",e),e.code===4e3?R.warning("该题目已绑定,请选择其他题目"):R.error("添加问题失败,请重试")}},E=()=>{Kn.value=!0,la({position_id:o.query.id}).then(f=>{f.data.forEach(e=>{e.selected=!1}),Mt.value=f.data,console.log("res",f),Kn.value=!1}).catch(f=>{console.log("err",f),Kn.value=!1})},I=Wl(),w=f=>{if(console.log("地址选择变化:",f),f&&Array.isArray(f)&&f.length>0){const[e,D,x]=f,V=I.find(ce=>ce.code===e);let F;V&&V.children&&(F=V.children.find(ce=>ce.code===D),F&&F.children&&F.children.find(ce=>ce.code===x))}},O=(f,e)=>{},M=Q(-1),T=Q(!1),N=et({top:"0px",left:"0px"}),U=Q(!1),ee=et({qualityControl:!1,teamwork:!1,problemSolving:!1,dataAnalysis:!1,positionMatch:!1,proactiveness:!1,basicAbility:!1,communication:!1,serviceAwareness:!1,xxxx:!1}),z=Q(1),K=Q([{label:"沟通能力",value:"communication",level:"CC",description:"能够清晰、准确地表达想法,善于倾听和理解他人的观点,具备良好的书面和口头表达能力。",expanded:!1,isNew:!0},{label:"团队协作",value:"teamwork",level:"CC",description:"能够与团队成员有效合作,共同完成目标,具备良好的团队精神和协作意识。",expanded:!1,isNew:!1}]);et({min:0,max:100,minScore:0,maxScore:0});const X=f=>{console.log(f)};Q("standard"),Q(!1);const _=Q(!1),se=et({title:"",videoFile:null,description:"",broadcastType:"required"}),L=Q(!1);Q(15),Q(5);const $=Q(!1),H=et({id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:""}),Z=f=>f.map(e=>e.id),ie=Q([]),Ee=Q([]),Pe=Q([{label:"技术能力",value:"tech"},{label:"管理能力",value:"management"},{label:"沟通能力",value:"communication"},{label:"专业知识",value:"professional"},{label:"个人素质",value:"personal"}]),Xe=Q([{label:"时间管理",value:"time_management"},{label:"压力处理",value:"pressure_handling"},{label:"团队合作",value:"team_cooperation"},{label:"问题分析",value:"problem_analysis"},{label:"创新思维",value:"innovative_thinking"}]),Me=()=>{Object.assign(H,{id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:""})},ke=async()=>{const f=await Bl({page:1,page_size:50});console.log(f),Ee.value=f.data.map(e=>({label:e.title,value:String(e.id)}))},Je=()=>{$.value=!1,Me()},De=Q(!1),Qe=et({isRequired:!1,questions:[]});Q([{label:"Q1",value:"q1",isVisible:!0,enableScoring:!1,isRequired:!1},{label:"请问你的毕业院校是哪里?",value:"school",isVisible:!0,enableScoring:!1,isRequired:!0}]);const Ae=Q(!1),we=et({title:"简历收集",isRequired:!0,steps:4}),mt=()=>{Ae.value=!0},nt=()=>{Ae.value=!1,Object.assign(we,{title:"简历收集",isRequired:!0,steps:4})},Kt=()=>{const f={id:Date.now(),name:we.title,description:"简历收集",active:!0,type:"resume_collection",config:{...we},visible:!0};r.splice(M.value,0,f),console.log(r),Ae.value=!1,R.success("简历收集步骤已添加"),nt()},gt=Q(!1),it=et({enableScoreQuestions:!1,enableColorBlindQuestions:!1,enableOpenQuestions:!1}),Ze=async()=>{try{const f=o.query.id;if(!f){R.error("职位ID不存在");return}const e=Array.isArray(f)?f[0]:f,D=f,x=await Nl(f);if(x&&x.data){Object.assign(a,x.data),ie.value=x.data.competency_tags;const V=await Bn(f);V&&V.data&&(Re.value=V.data.id,V.data.enable_psychological_test!==void 0&&(it.enableScoreQuestions=V.data.enable_psychological_test),V.data.enable_color_blind_test!==void 0&&(it.enableColorBlindQuestions=V.data.enable_color_blind_test)),n.value=a.status===1}}catch(f){console.error("获取职位详情失败:",f),R.error("获取职位详情失败")}},qe=()=>{i.push("/position/list")},Jt=()=>{i.push("/position/list")},Ot=async f=>{const e=o.query.id;try{const D=f?1:0;if(f){const x=await jl({position_id:e,tenant_id:Ve.get("tenant_id")});if(x.code===2e3){const{is_all_completed:V,total_questions:F}=x.data;if(!V||F<=0){R.warning(`无法开启职位,原因:${F<=0?"当前职位没有设置面试题目":"面试题目视频未全部生成完成"}`),n.value=!f;return}}else{R.error("检查视频状态失败,请稍后重试"),n.value=!f;return}}await Ct({id:e,status:D}),a.status=D,R.success(`职位已${f?"开启":"关闭"}`)}catch(D){console.error("修改状态失败:",D),R.error("修改状态失败"),n.value=!f}},Tt=()=>{u.value=!0},Cn=()=>{u.value=!1,R.success("招聘流程已更新")},zn=()=>{u.value=!1},xt=(f,e)=>{f.type=="ai_video"&&(U.value=!1),f.type=="ai_chat"&&(L.value=!1),f.type=="ai_video"&&Pt({id:Re.value,enable_open_questions:!1}).then(D=>{D.code==2e3?R.success("删除成功"):R.error("删除失败")}),f.type=="psychological_problem"&&Pt({id:Re.value,enable_scoring_questions:!1}).then(D=>{D.code==2e3?R.success("删除成功"):R.error("删除失败")}),f.type=="common_sense"&&Pt({id:Re.value,enable_single_choice:!1,enable_multiple_choice:!1,enable_image_choice:!1,enable_fill_blank:!1}).then(D=>{D.code==2e3?R.success("删除成功"):R.error("删除失败")}),f.type=="resume_collection"&&Pt({id:Re.value,require_resume_upload:!1}).then(D=>{D.code==2e3?R.success("删除成功"):R.error("删除失败")}),r.splice(e,1)},jt=f=>({0:"未发布",1:"已发布",2:"已结束"})[f]||"未知状态",tn=f=>({0:"info",1:"success",2:"danger"})[f]||"info",cn=f=>({0:"全职",1:"兼职",2:"实习",3:"其他"})[f]||"未知",fn=(f,e)=>{M.value=f,T.value=!0,console.log(f,e);const D=e.currentTarget,x=D.closest(".process-dialog-content");if(x){const V=D.getBoundingClientRect(),F=x.getBoundingClientRect(),ce=V.bottom-F.top+5,J=V.left-F.left;N.top=`${ce}px`,N.left=`${J}px`}e.stopPropagation()},vn=async(f,e)=>{if(f==="ai_video"&&Pt({id:Re.value,enable_open_questions:!0}).then(V=>{V.code==2e3?(r[2].visible=!0,T.value=!1):R.error("更新配置失败")}),f==="common_sense"&&Pt({id:Re.value,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_fill_blank:!0}).then(V=>{V.code==2e3?(r[3].visible=!0,console.log("recruitmentProcess",r),T.value=!1):R.error("更新配置失败")}),f==="psychological_problem"&&Pt({id:Re.value,enable_scoring_questions:!0}).then(V=>{V.code==2e3?(r[4].visible=!0,T.value=!1):R.error("更新配置失败")}),f==="post_render_questions"){ll.value=!0,T.value=!1;return}if(f=="resume_collection"&&Pt({id:Re.value,require_resume_upload:!0}).then(V=>{V.code==2e3?(r[0].visible=!0,R.success("新增成功")):R.error("删除失败")}),r.find(V=>!!(V.type&&V.type===f||V.name===e))){T.value=!1;return}if(f==="ai_chat"){L.value=!0,T.value=!1;return}if(f==="video_presentation"){Kt(),T.value=!1;return}if(f==="data_collection"){const V=await Bn(o.query.id);V&&V.data?(Re.value=V.data.id,Sa(G,V.data.profile_fields_config),De.value=!0,T.value=!1):(De.value=!0,T.value=!1);return}if(f==="resume_collection"){mt(),T.value=!1;return}if(f==="code_test"){Ma(),T.value=!1;return}if(f==="typing_test"){Jn.value=!0,T.value=!1;return}if(f==="candidate_questions"){Mn.value=!0,T.value=!1;return}const x={id:Date.now(),name:e,description:e,active:!0,type:f,visible:!0};console.log("newStep",x),r.splice(M.value,0,x),T.value=!1},pn=async()=>{if(z.value<3){if(z.value===1){const f=Mt.value.filter(e=>e.selected);if(f.length===0){R.warning("请至少选择一个胜任力考核维度");return}try{K.value=f.map(e=>({label:e.name,value:e.name.toLowerCase().replace(/\s+/g,"_"),id:e.id,description:e.description||"",level:"CC",expanded:!1,isNew:!0}))}catch(e){console.error("处理胜任力标签失败:",e),R.error("处理胜任力标签失败");return}}if(z.value===2){if(q.value.length===0){R.warning("请至少添加一个面试题目");return}try{await Ar()}catch(f){console.error("保存题目失败:",f),R.error("保存题目失败");return}}if(z.value===3){const f=wr();if(!f.isValid){f.messages.forEach(D=>{R.warning(D)});return}const e=Dr();console.log("完整的面试配置:",e)}z.value++}else nn()},mn=()=>{z.value>1&&z.value--},nn=async()=>{var V;if(!ht.value||!ht.value.id){R.warning("请选择面试官形象");return}const f={id:ht.value.id,name:ht.value.name,avatar_url:ht.value.avatar_url||ht.value.image},e=li(),D={enableScoreQuestions:it.enableScoreQuestions,enableColorBlindQuestions:it.enableColorBlindQuestions};try{if(await Ct({id:o.query.id,status:0}),a.status=0,n.value=!1,Re.value==0){const F=await vi({position_id:o.query.id,digital_human_id:ht.value.id});if(F.code==2e3){R.success("配置保存成功");try{const ce={config_id:((V=F.data)==null?void 0:V.id)||F.data};e.beforeStartText&&e.beforeStartText.trim()!==""?(await mi(ce),console.log("开场白生成成功"),U.value=!1,z.value=1,await new Promise(pe=>setTimeout(pe,4e3))):console.log("无开场白配置,跳过开场白生成"),await ra(ce),R.success("视频开始生成")}catch(ce){console.error("获取开场白和视频失败:",ce),R.warning("视频生成中,请稍后")}}else R.error("配置保存失败")}else if((await Pt({id:Re.value,digital_human_id:ht.value.id})).code==2e3){R.success("配置保存成功");try{const ce={config_id:Re.value};console.log("开始生成开场白..."),await mi(ce),console.log("开场白生成成功"),U.value=!1,z.value=1,console.log("等待4秒后开始生成视频..."),await Rr(4e3),console.log("开始生成视频..."),await ra(ce),console.log("视频生成请求已发送"),R.success("视频开始生成")}catch(ce){console.error("获取开场白和视频失败:",ce),R.warning("视频生成中,请稍后")}}else R.error("配置保存失败")}catch(F){console.error("更新职位状态失败:",F),R.error("更新职位状态失败");return}console.log("保存时选中的面试官:",f),console.log("保存时的面试设置:",e),console.log("保存时的题目设置:",D);const x={id:Date.now(),name:"AI考察",description:`已选择${K.value.length}项能力测评`,active:!0,type:"ai_video",abilities:K.value.map(F=>F.value),interviewer:f,settings:e};r.splice(M.value,0,x),U.value=!1,z.value=1,R.success("AI考察步骤已添加")},A=()=>{U.value=!1,z.value=1},C=f=>{},P=()=>{_.value=!1,Object.assign(se,{title:"",videoFile:null,description:"",broadcastType:"required"})},j=()=>{const f={id:Date.now(),name:se.title||"视频宣讲",description:se.description||"视频宣讲",active:!0,type:"video_presentation",config:{...se}};r.splice(M.value,0,f),_.value=!1,R.success("视频宣讲步骤已添加"),P()},te=()=>{const f={id:Date.now(),name:"AI实时对话",description:"AI实时对话",active:!0,type:"ai_chat"};r.splice(M.value,0,f),L.value=!1,R.success("AI实时对话步骤已添加")},de=()=>{L.value=!1},ve=()=>{if(!Ue.title.trim()){R.warning("请输入环节名称");return}if(Ue.duration<=0){R.warning("提问时长必须大于0分钟");return}if(Ue.maxQuestions<=0){R.warning("最多提问数量必须大于0");return}if(co.value>=0){const f=r[co.value];f.name=Ue.title,f.description=`时长${Ue.duration}分钟,最多${Ue.maxQuestions}个问题`,f.config={...Ue},R.success("候选人提问环节已更新")}else{const f={id:Date.now(),name:Ue.title,description:`时长${Ue.duration}分钟,最多${Ue.maxQuestions}个问题`,active:!0,type:"candidate_questions",config:{...Ue},visible:!0};r.splice(M.value,0,f),R.success("候选人提问环节已添加")}Mn.value=!1,Be()},xe=()=>{Mn.value=!1,Be()},Be=()=>{co.value=-1,Object.assign(Ue,{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]})},q=Q([]),ne=ci(()=>q.value.reduce((f,e)=>{switch(e.question_form){case 0:return f+60;case 1:return f+30;case 2:return f+30;default:return f+30}},0)),le=ci(()=>{const f=ne.value;if(f<60)return`${f}秒`;const e=Math.floor(f/60),D=f%60;return D>0?`${e}分${D}秒`:`${e}分钟`}),he=()=>{$.value=!0},ye=()=>{ko.value={question:"",question_form:null,competency_tags:[],position_types:[],category_id:null,tags:[],recommended_duration:60,status:1,is_required_correct:!1,is_system:!1,sort:1,options:[],scoring_reference:"",blank_answer_template:[]},Li.value=!1,ro.value=!0},ct=async f=>{try{const e=await Yl({...f,tenant_id:Ve.get("tenant_id")});if(e&&e.code===2e3){if(R.success("题目创建成功"),console.log(e),e.data){const D={id:e.data.id||e.data,title:f.question,question_form:f.question_form,question_form_name:oi(f.question_form),scoring_reference:f.scoring_reference||"",competency_tags:f.competency_tags||[],options:f.options||[],enable_follow_up:!1,maxAnswers:1,weight:100,source:"custom_selected"};q.value.push(D)}ro.value=!1}else R.error("题目创建失败,请重试")}catch(e){console.error("创建题目失败:",e),R.error("题目创建失败,请重试")}},An=()=>{ro.value=!1,ko.value={}},oi=f=>({0:"开放问题",1:"单选题",2:"多选题",3:"色盲题",4:"得分题",5:"判断题",6:"填空题"})[f]||"未知类型",gn=f=>{const e=q.value[f];console.log(e),Object.assign(H,e),console.log(q),$.value=!0,al()},Mi=f=>{ea.confirm("确认删除该问题?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{q.value.splice(f,1),R.success("删除成功")})},Ua=()=>{Object.assign(G,JSON.parse(JSON.stringify(Gi))),De.value=!1,Object.assign(Qe,{isRequired:!1,questions:[]})};Vl(()=>{Ze(),Ni(),Vr(),ke(),Ka()}),Pl(()=>{Fi()});const Ka=async()=>{try{const f=o.query.id;if(f){const e=await Bn(f);e&&e.data&&(e.data.enable_psychological_test!==void 0&&(it.enableScoreQuestions=e.data.enable_psychological_test),e.data.enable_color_blind_test!==void 0&&(it.enableColorBlindQuestions=e.data.enable_color_blind_test),r[2].visible=e.data.question_form_switches.enable_open_questions,r[3].visible=e.data.question_form_switches.enable_single_choice||e.data.question_form_switches.enable_multiple_choice||e.data.question_form_switches.enable_image_choice||e.data.question_form_switches.enable_fill_blank,r[4].visible=e.data.question_form_switches.enable_scoring_questions,r[0].visible=e.data.require_resume_upload)}}catch(f){console.error("初始化配置状态失败:",f)}},$n=Q(!1),at=et({title:"代码笔试",autoJudge:!0,selectedPaper:null}),Ma=()=>{$n.value=!0},ki=()=>{$n.value=!1,Object.assign(at,{title:"代码笔试",autoJudge:!0,selectedPaper:null})},ka=()=>{if(!at.selectedPaper){R.warning("请添加考试试卷");return}const f={id:Date.now(),name:at.title,description:`${at.selectedPaper.title}`,active:!0,type:"code_test",config:{...at}};r.splice(M.value,0,f),$n.value=!1,R.success("代码笔试步骤已添加"),ki()},Ba=()=>{at.selectedPaper={id:1,title:"前端开发工程师笔试",questionCount:4,duration:60,difficulty:"中等难度"}},Na=()=>{R.info("查看试卷功能开发中")},ja=()=>{R.info("更换试卷功能开发中")},Fa=()=>{at.selectedPaper=null},Jn=Q(!1),ot=et({title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]}),Bi=()=>{Jn.value=!1,Object.assign(ot,{title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]})},La=()=>{const f={id:Date.now(),name:ot.title,description:`打字测试 ${ot.duration}分钟`,active:!0,type:"typing_test",config:{...ot}};r.splice(M.value,0,f),Jn.value=!1,R.success("打字测试步骤已添加"),Bi()},Oo=Q(!1),wn=Q(""),Qa=()=>{wn.value=a.title,Oo.value=!0},Ga=()=>{Oo.value=!1},za=async()=>{if(!wn.value.trim()){R.warning("职位名称不能为空");return}try{const f=o.query.id;await Ct({id:f,title:wn.value.trim()}),a.title=wn.value.trim(),Oo.value=!1,R.success("职位名称已更新")}catch(f){console.error("更新职位名称失败:",f),R.error("更新职位名称失败")}},To=Q(!1),Wt=Q(""),$a=()=>{if(!a.location)Wt.value="";else if(Array.isArray(a.location))Wt.value=a.location;else if(typeof a.location=="string")try{const e=a.location.replace(/[\[\]']/g,"").split(",").map(F=>F.trim()),D=I.find(F=>F.name===e[0]);let x,V;D&&D.children&&(x=D.children.find(F=>F.name===e[1]),x&&x.children&&(V=x.children.find(F=>F.name===e[2]))),Wt.value=[D==null?void 0:D.code,x==null?void 0:x.code,V==null?void 0:V.code].filter(Boolean)}catch(f){console.error("解析地址失败:",f),Wt.value=""}To.value=!0},Ja=()=>{To.value=!1},Wa=async()=>{try{const f=o.query.id,e=[];if(Wt.value&&Array.isArray(Wt.value)){const[D,x,V]=Wt.value,F=I.find(pe=>pe.code===D);let ce,J;F&&(e.push(F.name),F.children&&(ce=F.children.find(pe=>pe.code===x),ce&&(e.push(ce.name),ce.children&&(J=ce.children.find(pe=>pe.code===V),J&&e.push(J.name)))))}await Ct({id:f,location:e}),a.location=e,To.value=!1,R.success("工作地点已更新")}catch(f){console.error("更新工作地点失败:",f),R.error("更新工作地点失败")}},Do=Q(!1),Wn=Q("月薪"),hn=Q(0),on=Q(0),Ha=()=>{if(a.salary_range){const f=a.salary_range.split(" ");if(f.length>=2){Wn.value=f[0];const e=f[1].split("-");e.length===2&&(hn.value=parseInt(e[0])||0,on.value=parseInt(e[1])||0)}}else Wn.value="月薪",hn.value=0,on.value=0;Do.value=!0},Ya=()=>{Do.value=!1},ii=()=>{hn.value>on.value&&on.value!==0&&(hn.value=on.value)},Xa=async()=>{try{const f=o.query.id,e=`${Wn.value} ${hn.value}-${on.value}`;await Ct({id:f,salary_range:e}),a.salary_range=e,Do.value=!1,R.success("职位薪资已更新")}catch(f){console.error("更新职位薪资失败:",f),R.error("更新职位薪资失败")}},Vo=Q(!1),Hn=Q(""),Za=()=>{Hn.value=a.work_experience_required||"",Vo.value=!0},qa=()=>{Vo.value=!1},_a=async()=>{try{const f=o.query.id;await Ct({id:f,work_experience_required:Hn.value}),a.work_experience_required=Hn.value,Vo.value=!1,R.success("工作经验已更新")}catch(f){console.error("更新工作经验失败:",f),R.error("更新工作经验失败")}},Po=Q(!1),Yn=Q(""),er=()=>{Yn.value=a.education_required||"",Po.value=!0},tr=()=>{Po.value=!1},nr=async()=>{try{const f=o.query.id;await Ct({id:f,education_required:Yn.value}),a.education_required=Yn.value,Po.value=!1,R.success("学历要求已更新")}catch(f){console.error("更新学历要求失败:",f),R.error("更新学历要求失败")}},Ro=Q(!1),Xn=Q(""),or=()=>{Xn.value=a.department||"",Ro.value=!0},ir=()=>{Ro.value=!1},ar=async()=>{try{const f=o.query.id;await Ct({id:f,department:Xn.value.trim()}),a.department=Xn.value.trim(),Ro.value=!1,R.success("所属部门已更新")}catch(f){console.error("更新所属部门失败:",f),R.error("更新所属部门失败")}},Uo=Q(!1),Zn=Q(""),rr=()=>{Zn.value=a.end_date||"",Uo.value=!0},lr=()=>{Uo.value=!1},sr=async()=>{try{const f=o.query.id;await Ct({id:f,end_date:Zn.value}),a.end_date=Zn.value,Uo.value=!1,R.success("截止日期已更新")}catch(f){console.error("更新截止日期失败:",f),R.error("更新截止日期失败")}},qn=Q(!1),_n=Q(""),dr=()=>{_n.value=a.requirements||"",qn.value=!0},ur=()=>{qn.value=!1},cr=async()=>{try{const f=o.query.id;await Ct({id:f,requirements:_n.value}),a.requirements=_n.value,qn.value=!1,R.success("职位要求已更新")}catch(f){console.error("更新职位要求失败:",f),R.error("更新职位要求失败")}},eo=Q(!1),to=Q(""),fr=()=>{to.value=a.description||"",eo.value=!0},vr=()=>{eo.value=!1},pr=async()=>{try{const f=o.query.id;await Ct({id:f,description:to.value}),a.description=to.value,eo.value=!1,R.success("职位描述已更新")}catch(f){console.error("更新职位描述失败:",f),R.error("更新职位描述失败")}},On=Q(!1),no=Q(0),mr=()=>{no.value=a.job_type||0,On.value=!0},gr=()=>{On.value=!1},hr=async()=>{try{const f=o.query.id;await Ct({id:f,job_type:no.value}),a.job_type=no.value,On.value=!1,R.success("职位性质已更新")}catch(f){console.error("更新职位性质失败:",f),R.error("更新职位性质失败")}},Mt=Q([]),Ko=Q(!1),Tn=Q([]),Ni=async()=>{try{const f=await _l({page:1,pageSize:1e3});f&&f.data}catch(f){console.error("获取能力标签列表失败:",f),R.error("获取能力标签列表失败")}},yr=async()=>{var f;await Ni(),Tn.value=((f=a.competency_tags)==null?void 0:f.map(e=>e.id))||[],ie.value.forEach(e=>{e.selected=Tn.value.includes(e.id)}),Ko.value=!0},br=()=>{Ko.value=!1},Sr=async()=>{try{const f=o.query.id;await Ct({id:f,competency_tags:Tn.value}),a.competency_tags=ie.value.filter(e=>Tn.value.includes(e.id)).map(e=>({id:e.id,name:e.name})),Ko.value=!1,R.success("能力标签已更新")}catch(f){console.error("更新能力标签失败:",f),R.error("更新能力标签失败")}},Er=Q(null),Re=Q(0),Mo=async f=>{if(f.name==="资料收集"){const e=await Bn(o.query.id);e&&e.data&&(Re.value=e.data.id,Sa(G,e.data.profile_fields_config),De.value=!0,T.value=!1);return}if(f.name==="AI考察"){if(f.action==="delete"){await rl();return}const e=await Bn(o.query.id);Kn.value=!0,Er.value=f,U.value=!0,z.value=1;try{const D=await aa({position_id:o.query.id,page:1,limit:20});D&&D.data&&D.data.dataList&&(q.value=D.data.dataList.map(V=>(V.content=V.question,V.title=V.question,V.competency_tags=V.competency_tag_info,V.source="ai_generated",V)));const x=await as({position_id:o.query.id,page:1,limit:50});if(console.log("existingTags",x),x&&x.data&&x.data.items.length>0)x.data.items.forEach(V=>{V.importance=1,V.selected=!1,a.latest_competency_snapshot&&Array.isArray(a.latest_competency_snapshot)&&(V.selected=a.latest_competency_snapshot.some(F=>F.id===V.id))}),Mt.value=x.data.items;else{const V=await la({position_id:o.query.id});if(V&&V.data){V.data.forEach(F=>{F.selected=!1}),Mt.value=V.data;try{await is({position_id:o.query.id,tags:Mt.value}),R.success("胜任力标签保存成功")}catch(F){console.error("保存胜任力标签失败:",F),R.error("胜任力标签保存失败")}}}e&&e.data&&(Re.value=e.data.id)}catch(D){console.error("获取或生成能力标签失败:",D),R.error("获取或生成能力标签失败")}finally{Kn.value=!1}Object.keys(ee).forEach(D=>{ee[D]=!1})}f.name==="综合素质考察"&&qt({page:1,limit:20}).then(e=>{e.data&&(lt.value=e.data.items,ft.page=e.data.page,ft.pageSize=e.data.limit,Yt.value=e.data.total,pl(),m.value=!0)}),f.name==="心理问题"&&qt({page:1,limit:30,question_form:4}).then(e=>{e.data&&(st.question_form=4,lt.value=e.data.items,ft.page=e.data.page,ft.pageSize=e.data.limit,Yt.value=e.data.total,hl(),Vn.value=!0)})},an=Q(""),Dn=Q(""),xr=Q(!1),Ir=async()=>{if(!an.value.trim()){R.warning("请输入维度名称");return}if(Mt.value.find(e=>e.name===an.value.trim())){R.warning("该维度名称已存在,请重新输入");return}try{const e=await ls({name:an.value.trim(),description:Dn.value.trim(),importance:1,weight:0});if(!e.data)throw new Error("创建标签失败");const D=e.data.id;await ss({tag_ids:[D],position_ids:[d.value]});const x={id:D,name:an.value.trim(),description:Dn.value.trim(),selected:!1,importance:1,weight:0,isCustom:!0};Mt.value.push(x),xr.value,an.value="",Dn.value="",console.log("添加新维度成功:",x),console.log("当前备选维度列表:",Mt.value)}catch(e){console.error("添加自定义维度失败:",e),R.error("添加自定义维度失败,请重试")}},rt=et({keepVideo:!0,interruptionMode:"",smartFollowUp:!1,followUpStyle:""}),ai=Q([{id:1,name:"Jessica",image:"/avatars/jessica.png"},{id:2,name:"Mike",image:"/avatars/mike.png"},{id:3,name:"Sarah",image:"/avatars/sarah.png"}]),ht=Q(ai.value[0]),ri=Q(""),Cr=f=>{ht.value=f,console.log("选中的面试官信息:",{id:f.id,name:f.name,avatar_url:f.avatar_url||f.image}),ri.value=f.avatar_url,R.success(`已选择面试官:${f.name}`)},Ar=async()=>{const f=q.value.filter(D=>D.source==="ai_generated"),e=q.value.filter(D=>D.source==="custom_selected");if(console.log("AI生成的题目:",f),console.log("自定义选择的题目:",e),f.length>0&&(await ts({draft_ids:f.map(D=>D.id)}),console.log("AI生成的题目已保存到草稿")),e.length>0){const D={position_id:o.query.id,question_id:{question_id:e},duration:60,tenant_id:Ve.get("tenant_id")};console.log("自定义选择的题目需要调用专门的接口处理");const x=await pi(D);x&&x.code===2e3?R.success("自定义选择的题目已保存"):R.error("自定义选择的题目保存失败")}},li=()=>{const f={keepVideo:rt.keepVideo,interruptionMode:rt.interruptionMode,followUpStyle:rt.followUpStyle,smartFollowUp:rt.smartFollowUp};return console.log("当前面试设置:",f),f},oo=(f,e)=>{switch(console.log(`面试设置 ${f} 已更改为:`,e),f){case"keepVideo":console.log("回答视频保留设置:",e?"开启":"关闭");break;case"interruptionMode":console.log("中断后作答限制模式:",e==="previous"?"从上一问重新作答":"从当前问题作答");break;case"followUpStyle":console.log("追问风格:",e);break;case"smartFollowUp":console.log("智慧追问设置:",e?"开启":"关闭");break}},wr=()=>{const f=li(),e={isValid:!0,messages:[]};return f.interruptionMode===""&&(e.isValid=!1,e.messages.push("请选择中断后作答限制模式")),e},Or=f=>{c.value=!0,console.log("开始拖拽题目:",f)},Tr=f=>{c.value=!1,console.log("拖拽结束:",f),console.log("当前题目顺序:",q.value),R.success("题目顺序已更新")},Dr=()=>({interviewer:{id:ht.value.id,name:ht.value.name,avatar_url:ht.value.avatar_url||ht.value.image},settings:li(),questionSettings:{enableScoreQuestions:it.enableScoreQuestions,enableColorBlindQuestions:it.enableColorBlindQuestions},abilities:K.value,questions:q.value,currentStep:z.value}),Vr=async()=>{const f=await ns({page:1,pageSize:1e3});f&&f.data&&(ai.value=f.data)},ji=(f,e)=>{e?io.value.push({name:f.name,description:f.description||"暂无描述"}):io.value=io.value.filter(D=>D.name!==f.name)},Pr=f=>{ea.confirm("确认删除这个胜任力标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const e=K.value[f];K.value.splice(f,1),io.value=io.value.filter(x=>x.name!==e.label);const D=Mt.value.find(x=>x.name===e.label);D&&(D.selected=!1),R.success("胜任力标签已删除")}).catch(()=>{})},io=Q([]),Rr=f=>new Promise(e=>setTimeout(e,f));let Ht=null;const Ur=async(f,e=300,D=2e3)=>{let x=0;Ht={cancelled:!1};const V=Ht;return new Promise((F,ce)=>{const J=async()=>{try{if(V.cancelled){console.log("轮询已被取消"),F(null);return}x++,console.log(`第${x}次轮询获取草稿列表...`);const pe=await aa(f);if(V.cancelled){console.log("轮询已被取消"),F(null);return}if(pe&&pe.data&&pe.data.dataList&&pe.data.dataList.length>0){console.log("轮询成功,获取到草稿列表数据"),Ht=null,F(pe);return}if(x>=e){console.log("轮询达到最大次数,停止轮询"),Ht=null,F(pe);return}setTimeout(J,D)}catch(pe){if(console.error(`第${x}次轮询失败:`,pe),V.cancelled){console.log("轮询已被取消"),F(null);return}x<e?setTimeout(J,D):(Ht=null,ce(pe))}};J()})},Fi=()=>{Ht&&(Ht.cancelled=!0,Ht=null,console.log("轮询已被手动取消"))},Kr=()=>{Fi(),gt.value=!1,R.info("已取消AI自动组题")},Vn=Q(!1),ao=Q(""),lt=Q([]),Ft=Q([]),ro=Q(!1),ko=Q({}),Li=Q(!1),Mr=Q(0),Yt=Q(0),st=et({page:1,pageSize:10,keyword:"",question_form:null}),ft=et({page:1,limit:20,keyword:"",question_form:null}),kr=async()=>{try{const f={...st,keyword:ao.value,...st.question_form!==null&&{question_form:st.question_form}},e=await qt(f);e&&e.data&&(lt.value=e.data.items,Mr.value=e.data.total)}catch(f){console.error("获取题目列表失败:",f),R.error("获取题目列表失败")}},Bo=()=>{st.page=1,kr()},Br=f=>{Ft.value=f},Qi=()=>{Vn.value=!1,Ft.value=[],ao.value=""},Nr=async()=>{if(Ft.value.length===0){R.warning("请至少选择一个题目");return}try{const f=Ft.value.map(D=>D.id);await pi({position_id:o.query.id,question_id:f,duration:60,tenant_id:Ve.get("tenant_id")});const e=Ft.value.map(D=>({id:D.id,title:D.question||D.title,ability:D.ability||"未设置",content:D.content||D.question,target:D.target||"未设置",competency_tags:D.competency_tags||[],question_form_name:D.question_form_name,scoring_reference:D.scoring_reference,question_form:D.question_form,is_required_correct:D.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:D.options||[],source:"custom_selected"}));q.value.push(...e),Vn.value=!1,Ft.value=[],ao.value="",R.success("题目添加成功")}catch(f){console.error("添加题目失败:",f),Vn.value=!1,f.code===4e3?R.warning("该题目已绑定,请选择其他题目"):R.error("添加题目失败,请重试")}},Gi={name:{visible:!0,label:"姓名",required:!0},gender:{visible:!0,label:"性别",required:!0},three_period:{visible:!0,label:"是否为三期",required:!0},phone:{visible:!0,label:"手机号",required:!0},id_card:{visible:!0,label:"身份证号",required:!0},ethnicity:{visible:!0,label:"民族",required:!0},height:{visible:!0,label:"身高(cm)",required:!1},weight:{visible:!0,label:"体重(kg)",required:!1},current_address:{visible:!0,label:"现居住地址",required:!0},household_location:{visible:!0,label:"户口所在地",required:!1},marital_status:{visible:!0,label:"婚育状况",required:!1},expected_salary:{visible:!0,label:"期望薪资(元/月)",required:!1},family_member:{visible:!0,label:"家庭成员",fields:{relation:{visible:!0,label:"称谓",required:!0},name:{visible:!0,label:"姓名",required:!0},workplace_address:{visible:!0,label:"工作单位/家庭地址",required:!1},position:{visible:!0,label:"职务",required:!1},phone:{visible:!0,label:"联系电话",required:!0},is_emergency_contact:{visible:!0,label:"是否为紧急联系人",required:!1}}},education:{visible:!0,label:"教育经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},school_name:{visible:!0,label:"学校名称",required:!0},major:{visible:!0,label:"专业",required:!0},degree:{visible:!0,label:"学历",required:!0}}},require_professional_skills:{visible:!0,label:"专业技能",required:!0},training_fields_config:{visible:!0,label:"受过的培训",required:!0},work_experience:{visible:!0,label:"工作经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},company_name:{visible:!0,label:"单位名称",required:!0},employee_count:{visible:!0,label:"单位人数",required:!0},department:{visible:!0,label:"任职部门",required:!0},position:{visible:!0,label:"担任职务",required:!0},monthly_salary:{visible:!0,label:"月总收入",required:!0},supervisor:{visible:!0,label:"直接领导",required:!0},supervisor_phone:{visible:!0,label:"领导电话",required:!0}}},question_form_switches:{enable_open_questions:!0,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_scoring_questions:!0,enable_follow_up_questions:!0,enable_fill_blank:!0}},G=et(JSON.parse(JSON.stringify(Gi))),jr=async()=>{try{const f={position_id:o.query.id,require_resume_upload:!0,resume_file_types:["pdf","docx","doc"],max_resume_size_mb:10,digital_human_opening_speech:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",require_basic_info:!0,profile_fields_config:{name:{required:G.name.required,visible:G.name.visible},phone:{required:G.phone.required,visible:G.phone.visible},id_card:{required:G.id_card.required,visible:G.id_card.visible},gender:{required:G.gender.required,visible:G.gender.visible},birth_date:{required:!1,visible:!0},political_status:{required:!1,visible:!0},ethnicity:{required:G.ethnicity.required,visible:G.ethnicity.visible},height:{required:G.height.required,visible:G.height.visible},weight:{required:G.weight.required,visible:G.weight.visible},marital_status:{required:G.marital_status.required,visible:G.marital_status.visible}},require_education_info:G.education.visible,education_fields_config:{school_name:{required:G.education.fields.school_name.required,visible:G.education.fields.school_name.visible},major:{required:G.education.fields.major.required,visible:G.education.fields.major.visible},degree:{required:G.education.fields.degree.required,visible:G.education.fields.degree.visible},start_date:{required:G.education.fields.start_time.required,visible:G.education.fields.start_time.visible},end_date:{required:G.education.fields.end_time.required,visible:G.education.fields.end_time.visible}},require_work_experience:G.work_experience.visible,work_experience_fields_config:{company_name:{required:G.work_experience.fields.company_name.required,visible:G.work_experience.fields.company_name.visible},position:{required:G.work_experience.fields.position.required,visible:G.work_experience.fields.position.visible},department:{required:G.work_experience.fields.department.required,visible:G.work_experience.fields.department.visible},start_date:{required:G.work_experience.fields.start_time.required,visible:G.work_experience.fields.start_time.visible},end_date:{required:G.work_experience.fields.end_time.required,visible:G.work_experience.fields.end_time.visible},job_description:{required:!0,visible:!0},achievements:{required:!1,visible:!0},resignation_reason:{required:!1,visible:!0}},require_family_info:G.family_member.visible,family_fields_config:{relation:{required:G.family_member.fields.relation.required,visible:G.family_member.fields.relation.visible},name:{required:G.family_member.fields.name.required,visible:G.family_member.fields.name.visible},workplace:{required:G.family_member.fields.workplace_address.required,visible:G.family_member.fields.workplace_address.visible},position:{required:G.family_member.fields.position.required,visible:G.family_member.fields.position.visible},phone:{required:G.family_member.fields.phone.required,visible:G.family_member.fields.phone.visible}},require_training_info:G.training_fields_config.visible,require_professional_skills:G.require_professional_skills.visible,enable_posture_check:!0,posture_check_config:{required_photos:["front","side","back"],instructions:"请按照提示上传您的全身照片,确保光线充足,背景简洁"},interview_duration_minutes:45,enable_video_recording:!0,enable_face_recognition:!0,scoring_method:"hybrid",auto_analysis_enabled:!0,custom_welcome_message:"欢迎参加咖啡师岗位的面试,请放松心情,准备好开始面试吧!",custom_instructions:"本次面试共有10个问题,每个问题有60秒的回答时间,请简洁明了地表达您的观点。",notification_config:{send_email:!0,send_sms:!1,notify_hr:!0,completion_message:"感谢您完成面试,我们将在3个工作日内给您回复。"},is_active:!0,is_template:!1};Re.value==0||(f.id=Re.value),Re.value==0?(await vi(f)).code==2e3?(R.success("配置保存成功"),De.value=!1,T.value=!1):R.error("配置保存失败"):(await Pt(f)).code==2e3?(R.success("配置保存成功"),De.value=!1,T.value=!1):R.error("配置保存失败")}catch(f){console.error("保存配置失败:",f),R.error("配置保存失败")}},Fr=()=>({name:G.name,gender:G.gender,three_period:G.three_period,phone:G.phone,id_card:G.id_card,ethnicity:G.ethnicity,height:G.height,weight:G.weight,current_address:G.current_address,household_location:G.household_location,marital_status:G.marital_status,expected_salary:G.expected_salary}),Lr=()=>({skills:G.require_professional_skills,training:G.training_fields_config}),lo=Q(!1),Ne=et({faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部结束,感谢您的参与,请等待后续通知。"}),Pn=Q(!1),so=Q(!1),uo=Q(!1),rn=Q(""),Rn=Q(""),Un=Q(""),Qr=()=>{lo.value=!1,Pn.value=!1,so.value=!1,uo.value=!1,Object.assign(Ne,{faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我想咨询其间的面试,欢迎来到大面试",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部流程拍摄,面试者同意可为今后资讯调研"})},Gr=()=>{console.log("保存面试设置:",Ne),R.success("面试设置已保存"),lo.value=!1},zr=()=>{Bn(o.query.id).then(f=>{lo.value=!0,Re.value=f.data.id,Ne.beforeStartText=f.data.digital_human_opening_speech})},$r=()=>{rn.value=Ne.beforeStartText,Pn.value=!0},Jr=()=>{Pn.value=!1,rn.value=""},Wr=async()=>{var f;if(!rn.value.trim()){R.warning("开始前提示内容不能为空");return}Ne.beforeStartText=rn.value.trim();try{let e;if(console.log(Re.value),Re.value==0)e=await vi({position_id:o.query.id,digital_human_opening_speech:rn.value.trim()}),e.code===2e3?(Re.value=((f=e.data)==null?void 0:f.id)||e.data,R.success("开始前提示内容已创建"),Pn.value=!1):R.error("开始前提示内容创建失败");else if(e=await Pt({id:Re.value,digital_human_opening_speech:rn.value.trim()}),e.code===2e3){R.success("开始前提示内容已更新"),Pn.value=!1;try{const D={config_id:Re.value};await mi(D),console.log("开场白生成成功")}catch(D){console.error("获取开场白失败:",D),R.warning("开场白生成中,请稍后")}}else R.error("开始前提示内容更新失败")}catch(e){console.error("保存开始前提示内容失败:",e),R.error("保存失败,请重试")}},Hr=()=>{Rn.value=Ne.afterStartText,so.value=!0},Yr=()=>{so.value=!1,Rn.value=""},Xr=()=>{if(!Rn.value.trim()){R.warning("开始后提醒内容不能为空");return}Ne.afterStartText=Rn.value.trim(),so.value=!1,R.success("开始后提醒内容已更新")},Zr=()=>{Un.value=Ne.disclaimerText,uo.value=!0},qr=()=>{uo.value=!1,Un.value=""},_r=()=>{if(!Un.value.trim()){R.warning("免责声明内容不能为空");return}Ne.disclaimerText=Un.value.trim(),uo.value=!1,R.success("免责声明内容已更新")},yn=et({openQuestionsCount:5,choiceQuestionsCount:10}),zi=()=>{console.log("题目数量已更新:",yn)},$i=async()=>{try{gt.value=!0;const f=K.value.map(x=>x.id);if(f.length===0){R.warning("请先选择能力标签");return}const e={position_id:o.query.id,competency_tag_ids:f,open_questions_count:yn.openQuestionsCount,choice_questions_count:yn.choiceQuestionsCount,auto_save:!0,tenant_id:Ve.get("tenant_id")},D=await es(e);if(D&&D.data){const x=await Ur({tenant_id:Ve.get("tenant_id"),page:1,limit:30,position_id:o.query.id});if(console.log(x),x===null){console.log("轮询被取消,停止处理");return}if(x&&x.data&&x.data.dataList){const V=x.data.dataList.map(F=>({id:F.id||Date.now(),title:F.question||F.title,ability:F.ability||"未设置",content:F.content||F.question,target:F.target||"未设置",competency_tags:F.competency_tag_info||[],question_form_name:F.question_form_name,scoring_reference:F.scoring_reference,question_form:F.question_form,is_required_correct:F.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:F.options||[],source:"ai_generated"}));q.value=V,R.success(`已成功生成${V.length}个面试题目`)}else R.warning("AI生成题目中,请稍后再试")}}catch(f){console.error("AI自动组题失败:",f),R.error("AI自动组题失败,请重试")}finally{gt.value=!1}},el=f=>{if(H.competency_tags=[],f.length>0){const e=Math.floor(100/f.length),D=100%f.length;H.competency_tags=f.map((x,V)=>{const F=ie.value.find(ce=>ce.id===x);return{id:x,name:F?F.name:`标签${x}`,weight:e+(V<D?1:0)}})}},tl=f=>{switch(H.type=f,f){case"open":H.suggestedDuration=120;break;case"single":case"multiple":H.suggestedDuration=60;break;case"fill":H.suggestedDuration=30;break;case"self":H.suggestedDuration=180;break;default:H.suggestedDuration=60}},Kn=Q(!1),Mn=Q(!1),co=Q(-1),Ue=et({title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}),nl=(f,e)=>{co.value=e,f.config?Object.assign(Ue,f.config):(Ue.title=f.name,Ue.description=f.description||"候选人可以向面试官提问关于公司、职位或团队的问题",Ue.duration=5,Ue.maxQuestions=3,Ue.isRequired=f.active,Ue.allowSkip=!1,Ue.guidelines=["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]),Mn.value=!0},ol=(f,e)=>{switch(f.type){case"ai_video":Mo(f);break;case"candidate_questions":nl(f,e);break;case"data_collection":Mo(f);break;case"resume_collection":Mo(f);break;default:Mo(f);break}},il=(f,e)=>{(e===null||e<0)&&(e=0),e>100&&(e=100);const D=H.competency_tags;D[f].weight;const x=Math.round(e);if(D[f].weight=x,D.length===1){D[0].weight=100;return}const V=D.filter((ce,J)=>J!==f),F=V.reduce((ce,J)=>ce+J.weight,0);if(F===0){const ce=100-x,J=Math.floor(ce/V.length),pe=ce%V.length;V.forEach((dt,Dt)=>{const Lt=D.findIndex(Qt=>Qt.id===dt.id);D[Lt].weight=J+(Dt<pe?1:0)})}else{const ce=100-x;if(ce>0){V.forEach(pe=>{const dt=D.findIndex(Lt=>Lt.id===pe.id),Dt=pe.weight/F;D[dt].weight=Math.round(ce*Dt)});const J=si();if(J!==100){const pe=100-J,dt=V.reduce((Lt,Qt)=>Qt.weight>Lt.weight?Qt:Lt),Dt=D.findIndex(Lt=>Lt.id===dt.id);D[Dt].weight+=pe}}else V.forEach(J=>{const pe=D.findIndex(dt=>dt.id===J.id);D[pe].weight=0})}},si=()=>H.competency_tags.reduce((e,D)=>e+(D.weight||0),0),al=()=>{const f=H.competency_tags;if(f.length===0)return;const e=Math.floor(100/f.length),D=100%f.length;f.forEach((x,V)=>{x.weight=e+(V<D?1:0)})},Ji=ci({get:()=>Z(H.competency_tags),set:f=>{H.competency_tags=f,el(f)}}),rl=async()=>{try{const f=await rs({position_id:o.query.id,tenant_id:Ve.get("tenant_id"),is_ai_generated:!0});f&&f.data&&f.data.length>0&&(await os({position_id:o.query.id,question_id:f.data.map(e=>e.id),tenant_id:Ve.get("tenant_id")}),Re.value>0&&await Pt({id:Re.value,enable_ai_questions:!1}),R.success("AI考察问题已删除"))}catch(f){console.error("删除AI考察问题失败:",f),R.error("删除AI考察问题失败")}};Rl(()=>G.question_form_switches.enable_open_questions,f=>{f?r.forEach(e=>{e.type==="ai_interview"&&(e.visible=!0)}):r.forEach(e=>{e.type==="ai_interview"&&(e.visible=!1)})},{immediate:!0}),Q(!1),Q(!1);const ll=Q(!1),No=Q(!1),ln=Q({duration:5,detectionItems:["face","pose"],promptText:"请按照提示完成相应的动作,系统将自动进行检测。"}),sl=()=>{No.value=!1},dl=async()=>{try{await saveProcessConfig({position_id:o.params.id,process_type:"body_detection",config:ln.value}),R.success("配置保存成功"),No.value=!1}catch(f){console.error("保存肢体检测配置失败:",f),R.error("配置保存失败")}},Wi=Q([]),ul=Q(),cl=f=>{console.log(f);const{firstLevel:e,secondLevel:D,currentNode:x}=f;D?qt({page:1,limit:20,question_tags:D.id.replace("tag_",""),question_form:st.question_form}).then(V=>{V.data&&(lt.value=V.data.items,ft.page=V.data.page,ft.pageSize=V.data.limit,Yt.value=V.data.total)}):e&&qt({page:1,limit:20,question_category:e.id.replace("category_",""),question_form:st.question_form}).then(V=>{V.data&&(lt.value=V.data.items,ft.page=V.data.page,ft.pageSize=V.data.limit,Yt.value=V.data.total)})},fl=f=>{console.log(f)},vl=f=>{console.log(f)},pl=()=>{ta({}).then(f=>{console.log("ret",f),f.data,na({}).then(e=>{console.log("res",e);const D=e.data.items.filter(x=>!["技术能力","服务意识","职业素质","基本常识","色盲检测","内容铺垫"].includes(x.name));oa({}).then(x=>{console.log("res",x);const V=x.data.items,F=[...D.map(ce=>({id:`category_${ce.id}`,title:ce.name,children:V.filter(J=>J.category_id===ce.id).map(J=>({id:`tag_${J.id}`,title:J.name,chinese_explanation:J.chinese_explanation||""}))}))];Wi.value=F})})})},Hi=Q([]),ml={children:"children",label:"title"},gl=async f=>{try{if(f.id.startsWith("category_")){const e=f.id.replace("category_",""),D=await qt({page:1,limit:1e3,question_category:e,question_form:st.question_form});if(D&&D.data){lt.value=D.data.items,ft.page=D.data.page,ft.pageSize=D.data.limit,Yt.value=D.data.total;const x=document.querySelector(".el-table__header-wrapper");if(x){const V=x.querySelector(".el-checkbox");V&&V.__vueParentComponent.emit("change",!0)}Ft.value=D.data.items}}else if(f.id.startsWith("tag_")){const e=f.id.replace("tag_",""),D=await qt({page:1,limit:1e3,question_tags:e,question_form:st.question_form});if(D&&D.data){lt.value=D.data.items,ft.page=D.data.page,ft.pageSize=D.data.limit,Yt.value=D.data.total;const x=document.querySelector(".el-table__header-wrapper");if(x){const V=x.querySelector(".el-checkbox");V&&V.__vueParentComponent.emit("change",!0)}Ft.value=D.data.items}}}catch(e){console.error("获取题目列表失败:",e),R.error("获取题目列表失败")}},hl=()=>{ta({}).then(f=>{console.log("ret",f),f.data,na({}).then(e=>{console.log("res",e);const D=e.data.items.filter(x=>!["技术能力","服务意识","职业素质","基本常识","色盲检测","内容铺垫","红线题","健康情况","综合素质题"].includes(x.name));oa({}).then(x=>{console.log("res",x);const V=x.data.items,F=[...D.map(ce=>({id:`category_${ce.id}`,title:ce.name,children:V.filter(J=>J.category_id===ce.id).map(J=>({id:`tag_${J.id}`,title:J.name,chinese_explanation:J.chinese_explanation||""}))}))];Hi.value=F})})})};return(f,e)=>{const D=Oe("page-header"),x=Oe("el-button"),V=Oe("el-icon"),F=Oe("el-input"),ce=Oe("el-cascader"),J=Oe("el-option"),pe=Oe("el-select"),dt=Oe("el-input-number"),Dt=Oe("el-tag"),Lt=Oe("el-date-picker"),Qt=Oe("el-card"),_e=Oe("el-switch"),Vt=Oe("el-dialog"),Xt=Oe("el-checkbox"),yl=Oe("Refresh"),fo=Oe("el-radio"),Yi=Oe("el-upload"),kn=Oe("el-tooltip"),bl=Oe("Folder"),Sl=Oe("el-tree"),Gt=Oe("el-col"),Zt=Oe("el-row"),El=Oe("el-radio-group"),di=Oe("el-table-column"),xl=Oe("el-table"),Il=Oe("el-pagination"),ui=Oe("el-form-item"),Cl=Oe("el-checkbox-group"),Al=Oe("el-form"),Xi=Ul("loading");return B(),Y("div",Ws,[s("div",Hs,[v(D,{title:"测试",onBack:qe}),s("div",Ys,[v(x,{type:"primary",onClick:Jt},{default:y(()=>e[92]||(e[92]=[k("保存")])),_:1})])]),s("div",Xs,[v(Qt,{class:"detail-card"},{default:y(()=>[e[125]||(e[125]=s("div",{class:"section-title"},[s("div",{class:"section-line"}),s("span",null,"职位详情")],-1)),s("div",Zs,[e[95]||(e[95]=s("div",{class:"detail-label"},"职位名称",-1)),Oo.value?(B(),Y("div",_s,[v(F,{modelValue:wn.value,"onUpdate:modelValue":e[0]||(e[0]=p=>wn.value=p),placeholder:"请输入职位名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"]),s("div",ed,[v(x,{size:"small",onClick:Ga},{default:y(()=>e[93]||(e[93]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:za},{default:y(()=>e[94]||(e[94]=[k("保存")])),_:1})])])):(B(),Y("div",qs,[k(re(a.title)+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:Qa},{default:y(()=>[v(V,null,{default:y(()=>[v(be(yt))]),_:1})]),_:1})]))]),s("div",td,[e[98]||(e[98]=s("div",{class:"detail-label"},"工作地点",-1)),To.value?(B(),Y("div",od,[v(ce,{modelValue:Wt.value,"onUpdate:modelValue":e[1]||(e[1]=p=>Wt.value=p),options:be(I),props:{expandTrigger:"hover",checkStrictly:!1,value:"code",label:"name"},style:{width:"100%"},placeholder:"请选择工作地点",clearable:"",onChange:w},null,8,["modelValue","options"]),s("div",id,[v(x,{size:"small",onClick:Ja},{default:y(()=>e[96]||(e[96]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Wa},{default:y(()=>e[97]||(e[97]=[k("保存")])),_:1})])])):(B(),Y("div",nd,[k(re((()=>{if(!a.location)return"暂无";if(Array.isArray(a.location))return a.location.join(",");if(typeof a.location=="string")try{return a.location.replace(/[\[\]']/g,"").split(",").map(ae=>ae.trim()).join(",")}catch{return a.location}return a.location})())+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:$a},{default:y(()=>[v(V,null,{default:y(()=>[v(be(yt))]),_:1})]),_:1})]))]),s("div",ad,[e[102]||(e[102]=s("div",{class:"detail-label"},"职位薪资",-1)),Do.value?(B(),Y("div",ld,[s("div",sd,[v(pe,{modelValue:Wn.value,"onUpdate:modelValue":e[2]||(e[2]=p=>Wn.value=p),placeholder:"薪资类型",class:"salary-type-select",onChange:ii},{default:y(()=>[v(J,{label:"月薪",value:"月薪"}),v(J,{label:"年薪",value:"年薪"}),v(J,{label:"日薪",value:"日薪"}),v(J,{label:"时薪",value:"时薪"})]),_:1},8,["modelValue"]),v(dt,{modelValue:hn.value,"onUpdate:modelValue":e[3]||(e[3]=p=>hn.value=p),placeholder:"起始薪资",class:"salary-input",type:"number","controls-position":"right",min:"0",onInput:ii},null,8,["modelValue"]),e[99]||(e[99]=s("span",{class:"salary-separator"},"-",-1)),v(dt,{modelValue:on.value,"onUpdate:modelValue":e[4]||(e[4]=p=>on.value=p),placeholder:"最高薪资",class:"salary-input","controls-position":"right",type:"number",min:"0",onInput:ii},null,8,["modelValue"])]),s("div",dd,[v(x,{size:"small",onClick:Ya},{default:y(()=>e[100]||(e[100]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Xa},{default:y(()=>e[101]||(e[101]=[k("保存")])),_:1})])])):(B(),Y("div",rd,[k(re(a.salary_range||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:Ha},{default:y(()=>[v(V,null,{default:y(()=>[v(be(yt))]),_:1})]),_:1})]))]),s("div",ud,[e[105]||(e[105]=s("div",{class:"detail-label"},"工作经验",-1)),Vo.value?(B(),Y("div",fd,[v(pe,{modelValue:Hn.value,"onUpdate:modelValue":e[5]||(e[5]=p=>Hn.value=p),placeholder:"请选择工作经验",style:{width:"100%"}},{default:y(()=>[v(J,{label:"不限",value:"不限"}),v(J,{label:"应届毕业生",value:"应届毕业生"}),v(J,{label:"1年以下",value:"1年以下"}),v(J,{label:"1-3年",value:"1-3年"}),v(J,{label:"3-5年",value:"3-5年"}),v(J,{label:"5-10年",value:"5-10年"}),v(J,{label:"10年以上",value:"10年以上"})]),_:1},8,["modelValue"]),s("div",vd,[v(x,{size:"small",onClick:qa},{default:y(()=>e[103]||(e[103]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:_a},{default:y(()=>e[104]||(e[104]=[k("保存")])),_:1})])])):(B(),Y("div",cd,[k(re(a.work_experience_required||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:Za},{default:y(()=>[v(V,null,{default:y(()=>[v(be(yt))]),_:1})]),_:1})]))]),s("div",pd,[e[108]||(e[108]=s("div",{class:"detail-label"},"学历要求",-1)),Po.value?(B(),Y("div",gd,[v(pe,{modelValue:Yn.value,"onUpdate:modelValue":e[6]||(e[6]=p=>Yn.value=p),placeholder:"请选择学历要求",style:{width:"100%"}},{default:y(()=>[v(J,{label:"不限",value:"不限"}),v(J,{label:"高中",value:"高中"}),v(J,{label:"大专",value:"大专"}),v(J,{label:"本科",value:"本科"}),v(J,{label:"硕士",value:"硕士"}),v(J,{label:"博士",value:"博士"})]),_:1},8,["modelValue"]),s("div",hd,[v(x,{size:"small",onClick:tr},{default:y(()=>e[106]||(e[106]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:nr},{default:y(()=>e[107]||(e[107]=[k("保存")])),_:1})])])):(B(),Y("div",md,[k(re(a.education_required||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:er},{default:y(()=>[v(V,null,{default:y(()=>[v(be(yt))]),_:1})]),_:1})]))]),s("div",yd,[e[111]||(e[111]=s("div",{class:"detail-label"},"所属部门",-1)),Ro.value?(B(),Y("div",Sd,[v(F,{modelValue:Xn.value,"onUpdate:modelValue":e[7]||(e[7]=p=>Xn.value=p),placeholder:"请输入所属部门",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),s("div",Ed,[v(x,{size:"small",onClick:ir},{default:y(()=>e[109]||(e[109]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:ar},{default:y(()=>e[110]||(e[110]=[k("保存")])),_:1})])])):(B(),Y("div",bd,[k(re(a.department||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:or},{default:y(()=>[v(V,null,{default:y(()=>[v(be(yt))]),_:1})]),_:1})]))]),s("div",xd,[e[112]||(e[112]=s("div",{class:"detail-label"},"职位状态",-1)),s("div",Id,[v(Dt,{type:tn(a.status)},{default:y(()=>[k(re(jt(a.status)),1)]),_:1},8,["type"])])]),s("div",Cd,[e[115]||(e[115]=s("div",{class:"detail-label"},"截止日期",-1)),Uo.value?(B(),Y("div",wd,[v(Lt,{modelValue:Zn.value,"onUpdate:modelValue":e[8]||(e[8]=p=>Zn.value=p),type:"datetime",placeholder:"请选择截止日期","value-format":"YYYY-MM-DD HH:mm:ss",style:{width:"100%"}},null,8,["modelValue"]),s("div",Od,[v(x,{size:"small",onClick:lr},{default:y(()=>e[113]||(e[113]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:sr},{default:y(()=>e[114]||(e[114]=[k("保存")])),_:1})])])):(B(),Y("div",Ad,[k(re(a.end_date||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:rr},{default:y(()=>[v(V,null,{default:y(()=>[v(be(yt))]),_:1})]),_:1})]))]),s("div",Td,[e[118]||(e[118]=s("div",{class:"detail-label"},"职位要求",-1)),qn.value?Te("",!0):(B(),Y("div",{key:0,class:"detail-value html-content",innerHTML:a.requirements},null,8,Dd)),qn.value?(B(),Y("div",Vd,[v(F,{modelValue:_n.value,"onUpdate:modelValue":e[9]||(e[9]=p=>_n.value=p),type:"textarea",rows:"6",placeholder:"请输入职位要求",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),s("div",Pd,[v(x,{size:"small",onClick:ur},{default:y(()=>e[116]||(e[116]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:cr},{default:y(()=>e[117]||(e[117]=[k("保存")])),_:1})])])):(B(),Ce(x,{key:1,type:"text",class:"edit-title-btn",onClick:dr},{default:y(()=>[v(V,null,{default:y(()=>[v(be(yt))]),_:1})]),_:1}))]),e[126]||(e[126]=s("div",{style:{width:"100%","border-bottom":"1px solid #e5e5e5"}},null,-1)),s("div",Rd,[e[121]||(e[121]=s("div",{class:"detail-label"},"职位描述",-1)),eo.value?Te("",!0):(B(),Y("div",{key:0,class:"detail-value html-content",innerHTML:a.description},null,8,Ud)),eo.value?(B(),Y("div",Kd,[v(F,{modelValue:to.value,"onUpdate:modelValue":e[10]||(e[10]=p=>to.value=p),type:"textarea",rows:"6",placeholder:"请输入职位描述",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),s("div",Md,[v(x,{size:"small",onClick:vr},{default:y(()=>e[119]||(e[119]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:pr},{default:y(()=>e[120]||(e[120]=[k("保存")])),_:1})])])):(B(),Ce(x,{key:1,type:"text",class:"edit-title-btn",onClick:fr},{default:y(()=>[v(V,null,{default:y(()=>[v(be(yt))]),_:1})]),_:1}))]),s("div",kd,[e[124]||(e[124]=s("div",{class:"detail-label"},"能力标签",-1)),Ko.value?(B(),Y("div",Nd,[v(pe,{modelValue:Tn.value,"onUpdate:modelValue":e[11]||(e[11]=p=>Tn.value=p),multiple:"",filterable:"",placeholder:"请选择能力标签",style:{width:"100%"}},{default:y(()=>[(B(!0),Y(We,null,He(ie.value,p=>(B(),Ce(J,{key:p.id,label:p.name,value:p.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),s("div",jd,[v(x,{size:"small",onClick:br},{default:y(()=>e[122]||(e[122]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Sr},{default:y(()=>e[123]||(e[123]=[k("保存")])),_:1})])])):(B(),Y("div",Bd,[(B(!0),Y(We,null,He(a.competency_tags,p=>(B(),Ce(Dt,{key:p.id,effect:"plain",class:"competency-tag"},{default:y(()=>[k(re(p.name),1)]),_:2},1024))),128)),v(x,{type:"text",class:"edit-title-btn",onClick:yr},{default:y(()=>[v(V,null,{default:y(()=>[v(be(yt))]),_:1})]),_:1})]))])]),_:1}),s("div",Fd,[v(Qt,{class:"status-card"},{default:y(()=>[e[127]||(e[127]=s("div",{class:"section-title"},[s("div",{class:"section-line"}),s("span",null,"职位状态")],-1)),s("div",Ld,[v(_e,{modelValue:n.value,"onUpdate:modelValue":e[12]||(e[12]=p=>n.value=p),"inactive-text":"",onChange:Ot},null,8,["modelValue"]),s("span",Qd,re(n.value?"已启用":"待启用"),1)])]),_:1}),v(Qt,{class:"status-card"},{default:y(()=>[s("div",Gd,[e[129]||(e[129]=s("div",{class:"section-line"},null,-1)),e[130]||(e[130]=s("span",null,"职位性质",-1)),On.value?Te("",!0):(B(),Ce(x,{key:0,type:"text",class:"edit-btn",onClick:mr},{default:y(()=>e[128]||(e[128]=[k("编辑")])),_:1}))]),s("div",zd,[On.value?Te("",!0):(B(),Y("div",$d,re(cn(a.job_type)),1)),On.value?(B(),Y("div",Jd,[v(pe,{modelValue:no.value,"onUpdate:modelValue":e[13]||(e[13]=p=>no.value=p),placeholder:"请选择职位性质",style:{width:"100%"}},{default:y(()=>[v(J,{label:"全职",value:0}),v(J,{label:"兼职",value:1}),v(J,{label:"实习",value:2}),v(J,{label:"其他",value:3})]),_:1},8,["modelValue"]),s("div",Wd,[v(x,{size:"small",onClick:gr},{default:y(()=>e[131]||(e[131]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:hr},{default:y(()=>e[132]||(e[132]=[k("保存")])),_:1})])])):Te("",!0)])]),_:1}),v(Qt,{class:"status-card"},{default:y(()=>[s("div",Hd,[e[134]||(e[134]=s("div",{class:"section-line"},null,-1)),e[135]||(e[135]=s("span",null,"招聘流程",-1)),v(x,{type:"text",class:"edit-btn",onClick:Tt},{default:y(()=>e[133]||(e[133]=[k("设置流程")])),_:1})]),s("div",Yd,[(B(!0),Y(We,null,He(r,(p,ae)=>jo((B(),Y("div",{key:p.id,class:It(["process-step",{disabled:!p.active}])},[p.name!="已通过"&&p.name!="已淘汰"?(B(),Y("div",Xd,re(t(ae)),1)):Te("",!0),s("div",Zd,[s("div",qd,re(p.name),1)])],2)),[[Zi,p.visible]])),128))])]),_:1}),v(Qt,{class:"status-card"},{default:y(()=>[s("div",_d,[e[137]||(e[137]=s("div",{class:"section-line"},null,-1)),e[138]||(e[138]=s("span",null,"面试设置",-1)),v(x,{type:"text",class:"edit-btn",onClick:zr},{default:y(()=>e[136]||(e[136]=[k("编辑")])),_:1})])]),_:1})])]),v(Vt,{title:"设置招聘流程",modelValue:u.value,"onUpdate:modelValue":e[16]||(e[16]=p=>u.value=p),width:"500px","close-on-click-modal":!1},{footer:y(()=>[s("span",ru,[v(x,{onClick:zn},{default:y(()=>e[142]||(e[142]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:Cn},{default:y(()=>e[143]||(e[143]=[k("确定")])),_:1})])]),default:y(()=>[s("div",eu,[(B(!0),Y(We,null,He(r,(p,ae)=>jo((B(),Y("div",{key:p.id},[ae<r.length-1?(B(),Y("div",tu,[v(x,{type:"text",onClick:Ie=>fn(ae,Ie)},{default:y(()=>[v(V,null,{default:y(()=>[v(be(bn))]),_:1})]),_:2},1032,["onClick"])])):Te("",!0),s("div",{class:It(["process-edit-item",{highlight:p.active}])},[p.name!="已通过"&&p.name!="已淘汰"?(B(),Y("div",nu,re(t(ae)),1)):Te("",!0),s("div",ou,[s("div",null,re(p.name),1)]),p.name!="已通过"&&p.name!="已淘汰"?(B(),Y("div",iu,[p.name!="简历收集"?(B(),Ce(x,{key:0,type:"info",size:"small",plain:"",onClick:Ie=>ol(p,ae)},{default:y(()=>e[139]||(e[139]=[k(" 修改 ")])),_:2},1032,["onClick"])):Te("",!0),p.name!="资料收集"&&p.name!="AI考察"?(B(),Ce(x,{key:1,type:"danger",size:"small",plain:"",style:{"margin-top":"10px","margin-left":"0px"},onClick:Ie=>xt(p,ae)},{default:y(()=>e[140]||(e[140]=[k(" 删除 ")])),_:2},1032,["onClick"])):Te("",!0)])):Te("",!0)],2)])),[[Zi,p.visible]])),128)),e[141]||(e[141]=s("div",{class:"add-process-btn"},null,-1))]),T.value?(B(),Y("div",{key:0,class:"process-options-menu",style:Ml({top:N.top,left:N.left}),onClick:e[15]||(e[15]=Kl(()=>{},["stop"]))},[s("div",{class:"close-btn",onClick:e[14]||(e[14]=p=>T.value=!1)},[v(V,null,{default:y(()=>[v(be(zl))]),_:1})]),(B(),Y(We,null,He(g,p=>s("div",{key:p.value,class:"process-option-item",onClick:ae=>vn(p.value,p.label)},re(p.label),9,au)),64))],4)):Te("",!0)]),_:1},8,["modelValue"]),v(be(fi),{title:"AI考察",modelValue:U.value,"onUpdate:modelValue":e[35]||(e[35]=p=>U.value=p),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-video-drawer","destroy-on-close":!1},{footer:y(()=>[s("div",Cc,[z.value>1?(B(),Ce(x,{key:0,size:"small",onClick:mn},{default:y(()=>e[184]||(e[184]=[k("上一步")])),_:1})):Te("",!0),v(x,{onClick:A,size:"small"},{default:y(()=>e[185]||(e[185]=[k("取消")])),_:1}),z.value<3?(B(),Ce(x,{key:1,type:"primary",size:"small",onClick:pn,style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[186]||(e[186]=[k("下一步")])),_:1})):(B(),Ce(x,{key:2,type:"success",onClick:nn,size:"small",style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[187]||(e[187]=[k("新增")])),_:1}))])]),default:y(()=>[s("div",lu,[s("div",{class:It(["step-item",{active:z.value===1}]),onClick:e[17]||(e[17]=p=>C(1))},[e[144]||(e[144]=s("div",{class:"step-number"},"1",-1)),s("div",{class:It(["step-title",{"active-title":z.value===1}])},"考察能力",2)],2),s("div",{class:It(["step-line",{"active-line":z.value>=2}])},null,2),s("div",{class:It(["step-item",{active:z.value===2}]),onClick:e[18]||(e[18]=p=>C(2))},[e[145]||(e[145]=s("div",{class:"step-number"},"2",-1)),s("div",{class:It(["step-title",{"active-title":z.value===2}])},"面试题目",2)],2),s("div",{class:It(["step-line",{"active-line":z.value>=3}])},null,2),s("div",{class:It(["step-item",{active:z.value===3}]),onClick:e[19]||(e[19]=p=>C(3))},[e[146]||(e[146]=s("div",{class:"step-number"},"3",-1)),s("div",{class:It(["step-title",{"active-title":z.value===3}])},"系统设置",2)],2)]),z.value===1?jo((B(),Y("div",su,[s("div",du,[e[153]||(e[153]=s("div",{class:"ai-video-options-header"},[s("div",{class:"ai-video-options-header-title"},[s("span",null,"AI根据岗位信息生成的能力,创建完步骤后,会自动将选择的胜任力考核维度加入到该职位的考察能力列表中。")])],-1)),s("div",uu,[s("div",cu,[(B(!0),Y(We,null,He(Mt.value.slice(0,10),p=>(B(),Ce(Xt,{key:p.id,modelValue:p.selected,"onUpdate:modelValue":ae=>p.selected=ae,onChange:ae=>ji(p,ae),class:"custom-checkbox"},{default:y(()=>[s("div",fu,[s("span",null,re(p.name),1),e[147]||(e[147]=s("img",{src:ia,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),s("div",vu,[s("div",pu,[e[149]||(e[149]=s("h3",{style:{color:"#808080"}},"备选考核维度",-1)),s("div",mu,[v(x,{type:"primary",class:"custom-btn",plain:"",size:"small",onClick:E},{default:y(()=>e[148]||(e[148]=[k("重新生成")])),_:1})])]),s("div",gu,[(B(!0),Y(We,null,He(Mt.value.slice(10,50),p=>(B(),Ce(Xt,{key:p.id,modelValue:p.selected,"onUpdate:modelValue":ae=>p.selected=ae,onChange:ae=>ji(p,ae),class:"custom-checkbox"},{default:y(()=>[s("div",hu,[s("span",null,re(p.name),1)])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),s("div",yu,[e[152]||(e[152]=s("h3",{style:{color:"#808080"}},"自定义维度",-1)),s("div",bu,[s("div",Su,[s("div",Eu,[v(F,{style:{width:"150px"},modelValue:an.value,"onUpdate:modelValue":e[20]||(e[20]=p=>an.value=p),placeholder:"请输入维度名称"},null,8,["modelValue"])]),s("div",xu,[e[150]||(e[150]=s("div",{class:"input-label"},"特征描述:",-1)),v(F,{modelValue:Dn.value,"onUpdate:modelValue":e[21]||(e[21]=p=>Dn.value=p),style:{width:"500px"},type:"textarea",placeholder:"请输入特征描述"},null,8,["modelValue"])])]),s("div",Iu,[v(x,{type:"primary",onClick:Ir},{default:y(()=>e[151]||(e[151]=[k("添加")])),_:1})])])])])])),[[Xi,Kn.value]]):Te("",!0),z.value===2?(B(),Y("div",Cu,[s("div",Au,[s("div",wu,[s("div",Ou,[v(x,{plain:"",class:"custom-btn",onClick:ye},{default:y(()=>[v(V,null,{default:y(()=>[v(be(bn))]),_:1}),e[154]||(e[154]=k(" 自定义题目 "))]),_:1}),v(x,{plain:"",class:"custom-btn"},{default:y(()=>[v(V,null,{default:y(()=>[v(be(qi))]),_:1}),e[155]||(e[155]=k(" 导入题目 "))]),_:1}),q.value.length>0?(B(),Ce(x,{key:0,type:"primary",plain:"",class:"custom-btn",loading:gt.value,onClick:$i},{default:y(()=>[v(V,null,{default:y(()=>[v(yl)]),_:1}),e[156]||(e[156]=k(" 重新生成 "))]),_:1},8,["loading"])):Te("",!0),s("div",Tu,[s("div",Du,[e[157]||(e[157]=s("span",{class:"switch-label"},"开放题数量",-1)),v(dt,{modelValue:yn.openQuestionsCount,"onUpdate:modelValue":e[22]||(e[22]=p=>yn.openQuestionsCount=p),min:1,max:10,size:"small",onChange:zi},null,8,["modelValue"])]),s("div",Vu,[e[158]||(e[158]=s("span",{class:"switch-label"},"选择题数量",-1)),v(dt,{modelValue:yn.choiceQuestionsCount,"onUpdate:modelValue":e[23]||(e[23]=p=>yn.choiceQuestionsCount=p),min:1,max:20,size:"small",onChange:zi},null,8,["modelValue"])])])]),s("div",Pu,[e[159]||(e[159]=s("span",null,"预计面试时长: ",-1)),s("span",Ru,re(le.value),1),e[160]||(e[160]=s("span",{class:"duration-tip"},"拖动试题卡片可改变试题顺序",-1))])]),s("div",Uu,[jo((B(),Y("div",Ku,[q.value.length===0?(B(),Y("div",Mu,[e[163]||(e[163]=s("p",null,"暂无题目",-1)),e[164]||(e[164]=s("p",{class:"ai-tip"},'点击"AI自动组题"按钮',-1)),e[165]||(e[165]=s("p",{class:"ai-tip"},"可根据您选择的能力类型一键组题",-1)),v(x,{type:"success",class:"auto-generate-btn",loading:gt.value,onClick:$i},{default:y(()=>e[161]||(e[161]=[k(" AI自动组题 ")])),_:1},8,["loading"]),gt.value&&be(Ht)?(B(),Ce(x,{key:0,type:"warning",plain:"",size:"small",onClick:Kr,style:{"margin-left":"10px"}},{default:y(()=>e[162]||(e[162]=[k(" 取消生成 ")])),_:1})):Te("",!0)])):(B(),Y("div",ku,[v(be(ba),{modelValue:q.value,"onUpdate:modelValue":e[24]||(e[24]=p=>q.value=p),"item-key":"id",handle:".drag-handle",onStart:Or,onEnd:Tr,animation:"200","ghost-class":"sortable-ghost","chosen-class":"sortable-chosen","drag-class":"sortable-drag"},{item:y(({element:p})=>[s("div",Bu,[e[169]||(e[169]=s("div",{class:"drag-handle"},[s("img",{src:ql,alt:"",class:"dorp"})],-1)),s("div",Nu,[s("div",ju,[s("div",Fu,[s("div",Lu,[s("span",Qu,"题目"+re(q.value.indexOf(p)+1),1),s("span",null,[s("span",Gu,re("「"+p.question_form_name+"」"),1),k(re(p.title),1)])]),s("div",zu,[(B(!0),Y(We,null,He((p.competency_tag_info||p.competency_tags||[]).slice(0,2),(ae,Ie)=>(B(),Ce(Dt,{key:ae.id,effect:"plain",class:"competency-tag",size:"small"},{default:y(()=>[k(re(ae.name),1)]),_:2},1024))),128)),(p.competency_tag_info||p.competency_tags||[]).length>2?(B(),Y("span",$u," +"+re((p.competency_tag_info||p.competency_tags||[]).length-2),1)):Te("",!0)])])]),s("div",Ju,[v(x,{type:"text",onClick:ae=>gn(q.value.indexOf(p))},{default:y(()=>[v(V,null,{default:y(()=>[v(be(yt))]),_:1})]),_:2},1032,["onClick"]),v(x,{type:"text",onClick:ae=>Mi(q.value.indexOf(p))},{default:y(()=>[v(V,null,{default:y(()=>[v(be(_i))]),_:1})]),_:2},1032,["onClick"])])]),s("div",Wu,[s("div",Hu,[s("span",null,re(p.scoring_reference),1)])]),p.question_form==0?(B(),Y("div",Yu,[s("div",Xu,[v(_e,{style:{"margin-top":"0px"},modelValue:p.enable_follow_up,"onUpdate:modelValue":ae=>p.enable_follow_up=ae,onChange:X},null,8,["modelValue","onUpdate:modelValue"]),e[166]||(e[166]=s("span",{class:"answer-label"},"回答不充分追问",-1))]),s("div",Zu,[e[167]||(e[167]=s("span",{class:"answer-label"},"追问轮数",-1)),v(pe,{modelValue:p.maxAnswers,"onUpdate:modelValue":ae=>p.maxAnswers=ae,size:"small",placeholder:"请选择"},{default:y(()=>[v(J,{label:"1次",value:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])])])):Te("",!0),p.question_form==1?(B(),Y("div",qu,[s("div",_u,[e[168]||(e[168]=s("span",{class:"answer-label"},"是否为红线题:",-1)),v(pe,{modelValue:p.is_required_correct,"onUpdate:modelValue":ae=>p.is_required_correct=ae,onChange:ae=>O(p.id,p.is_required_correct),size:"small",placeholder:"请选择"},{default:y(()=>[v(J,{label:"是",value:!0}),v(J,{label:"否",value:!1})]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])])])):Te("",!0)])]),_:1},8,["modelValue"])]))])),[[Xi,gt.value]]),s("div",ec,[e[172]||(e[172]=s("div",{class:"dimension-title"},"已选胜任力考核维度",-1)),s("div",tc,[(B(!0),Y(We,null,He(K.value,(p,ae)=>(B(),Y("div",{key:p.value,class:"dimension-item"},[s("div",nc,[s("div",oc,[s("span",ic,re(p.label),1),e[170]||(e[170]=s("img",{src:ia,alt:"",class:"sheng"},null,-1))])]),s("div",{class:"dimension-content",onClick:Ie=>Pr(ae),title:"点击删除此胜任力标签"},e[171]||(e[171]=[s("div",{class:"ability-description"},re("—"),-1)]),8,ac)]))),128))])])])])])):Te("",!0),z.value===3?(B(),Y("div",rc,[s("div",lc,[s("div",sc,[e[183]||(e[183]=s("div",{class:"section-header"},"请选择面试官形象",-1)),s("div",dc,[s("div",uc,[ri.value?(B(),Y("img",{key:0,src:ri.value,alt:"",style:{width:"100%",height:"100%","object-fit":"cover",transform:"translateZ(0)","backface-visibility":"hidden"}},null,8,cc)):Te("",!0)]),s("div",null,[s("div",fc,[(B(!0),Y(We,null,He(ai.value,p=>(B(),Y("div",{key:p.id,class:It(["avatar-item",{active:ht.value.id===p.id}]),onClick:ae=>Cr(p)},[s("div",pc,[s("div",{class:It(["avatar-circle",{selected:ht.value.id===p.id}])},[s("img",{src:p.avatar_url||p.image,alt:p.name},null,8,mc)],2),s("div",{class:"avatar-name",title:p.name},re(p.name),9,gc)])],10,vc))),128))]),s("div",hc,[e[173]||(e[173]=s("div",{class:"setting-label"},"「追问风格」",-1)),s("div",yc,[v(pe,{modelValue:rt.followUpStyle,"onUpdate:modelValue":e[25]||(e[25]=p=>rt.followUpStyle=p),placeholder:"请选择",onChange:e[26]||(e[26]=p=>oo("followUpStyle",rt.followUpStyle))},{default:y(()=>[v(J,{label:"温和",value:"1"}),v(J,{label:"严厉",value:"2"}),v(J,{label:"严谨",value:"3"})]),_:1},8,["modelValue"])]),e[174]||(e[174]=s("div",{class:"setting-desc"},null,-1))])])]),s("div",bc,[s("div",Sc,[e[175]||(e[175]=s("div",{class:"setting-label"},[s("p",null,"「回答视频保留」")],-1)),e[176]||(e[176]=s("div",{class:"setting-desc"},[s("p",null,"选取后,将在报告中展示候选人的回答视频")],-1)),v(_e,{modelValue:rt.keepVideo,"onUpdate:modelValue":e[27]||(e[27]=p=>rt.keepVideo=p),onChange:e[28]||(e[28]=p=>oo("keepVideo",p)),disabled:!0},null,8,["modelValue"])]),s("div",Ec,[e[179]||(e[179]=s("div",{class:"setting-label"},[s("p",null,"「中断后作答限制」")],-1)),s("div",xc,[v(fo,{modelValue:rt.interruptionMode,"onUpdate:modelValue":e[29]||(e[29]=p=>rt.interruptionMode=p),label:"current",onChange:e[30]||(e[30]=p=>oo("interruptionMode",rt.interruptionMode))},{default:y(()=>e[177]||(e[177]=[k(" 从当前问题重新作答 ")])),_:1},8,["modelValue"]),v(fo,{modelValue:rt.interruptionMode,"onUpdate:modelValue":e[31]||(e[31]=p=>rt.interruptionMode=p),label:"previous",onChange:e[32]||(e[32]=p=>oo("interruptionMode",rt.interruptionMode))},{default:y(()=>e[178]||(e[178]=[k(" 从头作答 ")])),_:1},8,["modelValue"])]),e[180]||(e[180]=s("div",{class:"setting-desc",style:{width:"40px"}},null,-1))]),s("div",Ic,[e[181]||(e[181]=s("div",{class:"setting-label"},[s("p",null,"「智慧追问」")],-1)),e[182]||(e[182]=s("div",{class:"setting-desc"},[s("p",null,"追问将结合候选人资料情况,综合分析发问")],-1)),v(_e,{modelValue:rt.smartFollowUp,"onUpdate:modelValue":e[33]||(e[33]=p=>rt.smartFollowUp=p),onChange:e[34]||(e[34]=p=>oo("smartFollowUp",p))},null,8,["modelValue"])])])])])])):Te("",!0)]),_:1},8,["modelValue"]),v(Vt,{title:"新增视频宣讲",modelValue:_.value,"onUpdate:modelValue":e[37]||(e[37]=p=>_.value=p),width:"35%","close-on-click-modal":!1,class:"video-lecture-dialog"},{footer:y(()=>[s("span",Dc,[v(x,{onClick:P},{default:y(()=>e[191]||(e[191]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:j},{default:y(()=>e[192]||(e[192]=[k("确认")])),_:1})])]),default:y(()=>[s("div",Ac,[s("div",wc,[e[189]||(e[189]=s("div",{class:"form-label"},"上传视频",-1)),v(Yi,{class:"video-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"video/*"},{default:y(()=>[s("div",Oc,[v(V,null,{default:y(()=>[v(be(bn))]),_:1}),e[188]||(e[188]=s("div",{class:"upload-text"},"上传文件大小不超过500M",-1))])]),_:1})]),s("div",Tc,[e[190]||(e[190]=s("div",{class:"form-label"},"视频简介",-1)),v(F,{modelValue:se.description,"onUpdate:modelValue":e[36]||(e[36]=p=>se.description=p),type:"textarea",rows:"4",placeholder:"视频简介会显示在视频下方的标题下方",maxlength:"200","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),v(be(fi),{title:"AI实时对话",modelValue:L.value,"onUpdate:modelValue":e[39]||(e[39]=p=>L.value=p),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-chat-drawer","destroy-on-close":!1},{footer:y(()=>[s("div",Wc,[v(x,{onClick:de},{default:y(()=>e[203]||(e[203]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:te},{default:y(()=>e[204]||(e[204]=[k("确认")])),_:1})])]),default:y(()=>[s("div",Vc,[s("div",Pc,[e[202]||(e[202]=s("div",{class:"section-title"},[s("div",{class:"section-line"}),s("span",null,"对话设置")],-1)),s("div",Rc,[v(x,{type:"primary",plain:"",onClick:he},{default:y(()=>[v(V,null,{default:y(()=>[v(be(bn))]),_:1}),e[193]||(e[193]=k(" 添加问题 "))]),_:1}),v(x,{type:"success",plain:"",onClick:ye},{default:y(()=>[v(V,null,{default:y(()=>[v(be(qi))]),_:1}),e[194]||(e[194]=k(" 导入问题 "))]),_:1})]),s("div",Uc,[q.value.length===0?(B(),Y("div",Kc,e[195]||(e[195]=[s("p",null,"暂无问题",-1),s("p",{class:"tip-text"},'点击"添加问题"或"导入问题"添加面试问题',-1)]))):(B(),Y("div",Mc,[v(be(ba),{modelValue:q.value,"onUpdate:modelValue":e[38]||(e[38]=p=>q.value=p),"item-key":"id",handle:".drag-handle"},{item:y(({element:p,index:ae})=>[k(re(p)+" ",1),s("div",kc,[s("div",Bc,[s("div",Nc,[s("span",jc,"题目"+re(ae+1),1),s("span",null,re(p.question),1)]),s("div",Fc,[s("div",Lc,[e[197]||(e[197]=s("span",{class:"weight-label"},"权重占比:",-1)),v(dt,{modelValue:p.weight,"onUpdate:modelValue":Ie=>p.weight=Ie,min:0,max:100,step:1,size:"small","controls-position":"right"},{suffix:y(()=>e[196]||(e[196]=[k("%")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),s("div",Qc,[e[198]||(e[198]=s("span",{class:"answer-label"},"最多回答次数",-1)),v(pe,{modelValue:p.maxAnswers,"onUpdate:modelValue":Ie=>p.maxAnswers=Ie,size:"small",placeholder:"请选择"},{default:y(()=>[v(J,{label:"1次",value:1}),v(J,{label:"2次",value:2}),v(J,{label:"3次",value:3})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),v(x,{type:"text",onClick:Ie=>gn(ae)},{default:y(()=>[v(V,null,{default:y(()=>[v(be(yt))]),_:1})]),_:2},1032,["onClick"]),v(x,{type:"text",onClick:Ie=>Mi(ae)},{default:y(()=>[v(V,null,{default:y(()=>[v(be(_i))]),_:1})]),_:2},1032,["onClick"])])]),s("div",Gc,[s("div",zc,[e[199]||(e[199]=s("span",{class:"info-label"},"考察能力:",-1)),s("span",null,re(p.ability),1)]),s("div",$c,[e[200]||(e[200]=s("span",{class:"info-label"},"面试内容:",-1)),s("span",null,re(p.content),1)]),s("div",Jc,[e[201]||(e[201]=s("span",{class:"info-label"},"对话目标:",-1)),s("span",null,re(p.target),1)])])])]),_:1},8,["modelValue"])]))])])])]),_:1},8,["modelValue"]),v(Vt,{title:"查看问题",modelValue:$.value,"onUpdate:modelValue":e[48]||(e[48]=p=>$.value=p),width:"500px","close-on-click-modal":!1,class:"question-dialog"},{footer:y(()=>[s("span",uf,[v(x,{onClick:Je},{default:y(()=>e[229]||(e[229]=[k("取消")])),_:1})])]),default:y(()=>[s("div",Hc,[s("div",Yc,[e[205]||(e[205]=s("div",{class:"form-label"},[k(" 题目内容"),s("span",{class:"required"},"*")],-1)),v(F,{modelValue:H.content,"onUpdate:modelValue":e[40]||(e[40]=p=>H.content=p),type:"textarea",rows:"4",placeholder:"请描述一次你如何在紧迫的时间内完成一个复杂的后端开发任务的经历",maxlength:"300","show-word-limit":"",disabled:!0},null,8,["modelValue"])]),s("div",Xc,[e[206]||(e[206]=s("div",{class:"form-label"},"胜任力标签",-1)),v(pe,{modelValue:Ji.value,"onUpdate:modelValue":e[41]||(e[41]=p=>Ji.value=p),placeholder:"请选择胜任力标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(B(!0),Y(We,null,He(ie.value,p=>(B(),Ce(J,{key:p.id,label:p.name,value:p.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[207]||(e[207]=s("div",{class:"form-tip"},"选择胜任力标签和胜任力标签,可多选",-1))]),s("div",Zc,[e[213]||(e[213]=s("div",{class:"form-label"}," 胜任力配置 ",-1)),s("div",qc,[e[209]||(e[209]=s("div",{class:"config-row"},[s("span",{class:"config-label"},"标签"),s("span",{class:"config-label"},"权重")],-1)),(B(!0),Y(We,null,He(H.competency_tags,(p,ae)=>(B(),Y("div",{class:"config-row",key:p.id},[s("span",_c,re(p.name),1),v(dt,{modelValue:p.weight,"onUpdate:modelValue":Ie=>p.weight=Ie,min:0,max:100,step:1,disabled:!0,"controls-position":"right",onChange:Ie=>il(ae,Ie)},null,8,["modelValue","onUpdate:modelValue","onChange"]),e[208]||(e[208]=k(" % "))]))),128))]),s("div",ef,[e[210]||(e[210]=k(" 配置各个胜任力标签的权重,总和需要100% ")),s("span",{class:It(["weight-sum",{"weight-error":si()!==100}])}," (当前总计: "+re(si())+"%) ",3),e[211]||(e[211]=s("br",null,null,-1)),v(V,{style:{color:"#409eff","margin-right":"4px","margin-top":"4px"}},{default:y(()=>[v(be($l))]),_:1}),e[212]||(e[212]=s("span",{style:{color:"#909399","font-size":"11px"}},' 修改任意权重时,其他权重会自动按比例调整以保持总和为100%。点击"平均分配"可快速平均分配所有权重。 ',-1))])]),s("div",tf,[e[214]||(e[214]=s("div",{class:"form-label"},"题目形式",-1)),v(pe,{modelValue:H.question_form,"onUpdate:modelValue":e[42]||(e[42]=p=>H.question_form=p),placeholder:"开放问题",class:"full-width",disabled:!0,onChange:tl},{default:y(()=>[v(J,{label:"开放问题",value:0}),v(J,{label:"单选题",value:1}),v(J,{label:"多选题",value:"multiple"}),v(J,{label:"填空题",value:"fill"}),v(J,{label:"自言语",value:"self"})]),_:1},8,["modelValue"]),e[215]||(e[215]=s("div",{class:"form-tip"},"选择题目的形式:开放问题、单选题、多选题、填空题、自言语",-1))]),s("div",nf,[e[216]||(e[216]=s("div",{class:"form-label"},"适用职位",-1)),v(pe,{modelValue:d.value,"onUpdate:modelValue":e[43]||(e[43]=p=>d.value=p),placeholder:"请选择适用职位类型",class:"full-width",disabled:!0},{default:y(()=>[(B(!0),Y(We,null,He(Ee.value,p=>(B(),Ce(J,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[217]||(e[217]=s("div",{class:"form-tip"},"选择题目适用的职位类型,可多选",-1))]),H.question_form===1||H.question_form===2?(B(),Y("div",of,[e[219]||(e[219]=s("div",{class:"form-label"},"选项",-1)),s("div",null,[e[218]||(e[218]=s("div",{class:"option-header",style:{display:"flex","margin-bottom":"10px","font-weight":"bold"}},[s("span",{style:{flex:"1"}},"选项内容"),s("span",{style:{width:"80px","text-align":"center"}},"是否正确")],-1)),(B(!0),Y(We,null,He(H.options,(p,ae)=>(B(),Y("div",{key:ae,class:"option-item",style:{display:"flex","align-items":"center","margin-bottom":"10px"}},[v(F,{modelValue:p.text,"onUpdate:modelValue":Ie=>p.text=Ie,placeholder:"请输入选项内容",disabled:!0,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","onUpdate:modelValue"]),v(kn,{content:"设置为正确答案",placement:"top",effect:"light",disabled:!0},{default:y(()=>[s("div",{onClick:()=>{H.question_form===1?H.options.forEach((Ie,wl)=>{Ie.is_correct=wl===ae}):p.is_correct=!p.is_correct},style:{cursor:"pointer",width:"80px","text-align":"center"}},[H.question_form===1?(B(),Ce(fo,{key:0,disabled:!0,modelValue:p.is_correct,"onUpdate:modelValue":Ie=>p.is_correct=Ie,label:!0},null,8,["modelValue","onUpdate:modelValue"])):(B(),Ce(Xt,{key:1,disabled:!0,modelValue:p.is_correct,"onUpdate:modelValue":Ie=>p.is_correct=Ie},null,8,["modelValue","onUpdate:modelValue"]))],8,af)]),_:2},1024)]))),128))]),e[220]||(e[220]=s("div",{class:"form-tip"},"添加选项并设置正确答案,单选题只能有一个正确答案,多选题可以有多个正确答案",-1))])):Te("",!0),s("div",rf,[e[221]||(e[221]=s("div",{class:"form-label"},"分类",-1)),v(pe,{modelValue:H.category,"onUpdate:modelValue":e[44]||(e[44]=p=>H.category=p),placeholder:"请选择题目分类",class:"full-width",disabled:!0},{default:y(()=>[(B(!0),Y(We,null,He(Pe.value,p=>(B(),Ce(J,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[222]||(e[222]=s("div",{class:"form-tip"},"选择题目所属分类",-1))]),s("div",lf,[e[223]||(e[223]=s("div",{class:"form-label"},"标签",-1)),v(pe,{modelValue:H.tags,"onUpdate:modelValue":e[45]||(e[45]=p=>H.tags=p),placeholder:"请选择标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(B(!0),Y(We,null,He(Xe.value,p=>(B(),Ce(J,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[224]||(e[224]=s("div",{class:"form-tip"},"选择题目相关标签,可多选",-1))]),s("div",sf,[e[225]||(e[225]=s("div",{class:"form-label"},"建议时长(秒)",-1)),v(dt,{modelValue:H.suggestedDuration,"onUpdate:modelValue":e[46]||(e[46]=p=>H.suggestedDuration=p),min:0,step:1,"controls-position":"right",placeholder:"请输入建议回答时长",class:"full-width",disabled:!0},null,8,["modelValue"]),e[226]||(e[226]=s("div",{class:"form-tip"},"建议回答题目的时长,单位为秒",-1))]),s("div",df,[e[227]||(e[227]=s("div",{class:"form-label"},"评价标准",-1)),v(F,{modelValue:H.scoring_reference,"onUpdate:modelValue":e[47]||(e[47]=p=>H.scoring_reference=p),type:"textarea",disabled:!0,rows:"4",placeholder:"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",class:"full-width"},null,8,["modelValue"]),e[228]||(e[228]=s("div",{class:"form-tip"},"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",-1))])])]),_:1},8,["modelValue"]),v(Vt,{title:"选择题目",modelValue:Vn.value,"onUpdate:modelValue":e[49]||(e[49]=p=>Vn.value=p),width:"30%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[s("span",mf,[v(x,{onClick:Qi},{default:y(()=>e[230]||(e[230]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:Nr,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[231]||(e[231]=[k("确定")])),_:1})])]),default:y(()=>[s("div",cf,[v(Sl,{ref:"treeRef",data:Hi.value,"node-key":"id",props:ml,"default-expand-all":"","highlight-current":"",onNodeClick:gl},{default:y(({node:p,data:ae})=>[s("div",ff,[s("div",vf,[v(V,null,{default:y(()=>[v(bl)]),_:1}),s("span",pf,re(ae.title),1)])])]),_:1},8,["data"])])]),_:1},8,["modelValue"]),v(Vt,{title:"创建自定义题目",modelValue:ro.value,"onUpdate:modelValue":e[51]||(e[51]=p=>ro.value=p),width:"40%","close-on-click-modal":!1,class:"question-bank-form-dialog","before-close":An},{default:y(()=>[v(Hl,{modelValue:ko.value,"onUpdate:modelValue":e[50]||(e[50]=p=>ko.value=p),"is-edit":Li.value,onSubmit:ct,onCancel:An},null,8,["modelValue","is-edit"])]),_:1},8,["modelValue"]),v(Vt,{title:"资料收集",modelValue:De.value,"onUpdate:modelValue":e[55]||(e[55]=p=>De.value=p),width:"900px","close-on-click-modal":!1,class:"data-collection-dialog"},{footer:y(()=>[s("span",Mf,[v(x,{onClick:Ua},{default:y(()=>e[241]||(e[241]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:jr},{default:y(()=>e[242]||(e[242]=[k("确认")])),_:1})])]),default:y(()=>[s("div",gf,[s("div",hf,[e[240]||(e[240]=s("div",{class:"panel-header"},[s("h3",null,"字段显示配置")],-1)),s("div",yf,[e[235]||(e[235]=s("div",{class:"section-title"},"基本信息",-1)),v(Zt,{gutter:20},{default:y(()=>[(B(!0),Y(We,null,He(Fr(),(p,ae)=>(B(),Ce(Gt,{span:8,key:ae},{default:y(()=>[s("div",bf,[s("span",Sf,re(p.label),1),v(kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(_e,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,disabled:p.label=="姓名"||p.label=="手机号"||p.label=="身份证号",class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue","disabled"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[236]||(e[236]=s("div",{class:"section-title"},"家庭成员信息",-1)),v(Zt,{gutter:20},{default:y(()=>[v(Gt,{span:24},{default:y(()=>[s("div",Ef,[s("span",xf,[k(re(G.family_member.label)+" ",1),G.family_member.visible?(B(),Ce(Dt,{key:0,size:"small",type:"success"},{default:y(()=>e[232]||(e[232]=[k("已启用")])),_:1})):Te("",!0)]),v(_e,{modelValue:G.family_member.visible,"onUpdate:modelValue":e[52]||(e[52]=p=>G.family_member.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),G.family_member.visible?(B(),Ce(Zt,{key:0,gutter:20},{default:y(()=>[(B(!0),Y(We,null,He(G.family_member.fields,(p,ae)=>(B(),Ce(Gt,{span:8,key:ae},{default:y(()=>[s("div",If,[s("span",Cf,re(p.label),1),v(kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(_e,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0),e[237]||(e[237]=s("div",{class:"section-title"},"教育经历",-1)),v(Zt,{gutter:20},{default:y(()=>[v(Gt,{span:24},{default:y(()=>[s("div",Af,[s("span",wf,[k(re(G.education.label)+" ",1),G.education.visible?(B(),Ce(Dt,{key:0,size:"small",type:"success"},{default:y(()=>e[233]||(e[233]=[k("已启用")])),_:1})):Te("",!0)]),v(_e,{modelValue:G.education.visible,"onUpdate:modelValue":e[53]||(e[53]=p=>G.education.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),G.education.visible?(B(),Ce(Zt,{key:1,gutter:20},{default:y(()=>[(B(!0),Y(We,null,He(G.education.fields,(p,ae)=>(B(),Ce(Gt,{span:8,key:ae},{default:y(()=>[s("div",Of,[s("span",Tf,re(p.label),1),v(kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(_e,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0),e[238]||(e[238]=s("div",{class:"section-title"},"专业技能",-1)),v(Zt,{gutter:20},{default:y(()=>[(B(!0),Y(We,null,He(Lr(),(p,ae)=>(B(),Ce(Gt,{span:8,key:ae},{default:y(()=>[s("div",Df,[s("span",Vf,re(p.label),1),v(kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(_e,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[239]||(e[239]=s("div",{class:"section-title"},"工作经历",-1)),v(Zt,{gutter:20},{default:y(()=>[v(Gt,{span:24},{default:y(()=>[s("div",Pf,[s("span",Rf,[k(re(G.work_experience.label)+" ",1),G.work_experience.visible?(B(),Ce(Dt,{key:0,size:"small",type:"success"},{default:y(()=>e[234]||(e[234]=[k("已启用")])),_:1})):Te("",!0)]),v(_e,{modelValue:G.work_experience.visible,"onUpdate:modelValue":e[54]||(e[54]=p=>G.work_experience.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),G.work_experience.visible?(B(),Ce(Zt,{key:2,gutter:20},{default:y(()=>[(B(!0),Y(We,null,He(G.work_experience.fields,(p,ae)=>(B(),Ce(Gt,{span:8,key:ae},{default:y(()=>[s("div",Uf,[s("span",Kf,re(p.label),1),v(kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(_e,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0)])])])]),_:1},8,["modelValue"]),v(Vt,{title:"简历收集",modelValue:Ae.value,"onUpdate:modelValue":e[57]||(e[57]=p=>Ae.value=p),width:"500px","close-on-click-modal":!1,class:"resume-collection-dialog"},{footer:y(()=>[s("span",Nf,[v(x,{onClick:nt},{default:y(()=>e[244]||(e[244]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:Kt},{default:y(()=>e[245]||(e[245]=[k("确认")])),_:1})])]),default:y(()=>[s("div",kf,[s("div",Bf,[e[243]||(e[243]=s("div",{class:"form-label"},"步骤名称",-1)),v(F,{modelValue:we.title,"onUpdate:modelValue":e[56]||(e[56]=p=>we.title=p),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":"",disabled:!0},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),v(Vt,{title:"添加代码笔试步骤",modelValue:$n.value,"onUpdate:modelValue":e[60]||(e[60]=p=>$n.value=p),width:"500px","close-on-click-modal":!1,class:"code-test-dialog"},{footer:y(()=>[s("span",Zf,[v(x,{onClick:ki},{default:y(()=>e[254]||(e[254]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:ka},{default:y(()=>e[255]||(e[255]=[k("确认")])),_:1})])]),default:y(()=>[s("div",jf,[s("div",Ff,[e[246]||(e[246]=s("div",{class:"form-label"},"步骤名称",-1)),v(F,{modelValue:at.title,"onUpdate:modelValue":e[58]||(e[58]=p=>at.title=p),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),s("div",Lf,[e[247]||(e[247]=s("div",{class:"form-label"},"自动评判试卷",-1)),v(_e,{modelValue:at.autoJudge,"onUpdate:modelValue":e[59]||(e[59]=p=>at.autoJudge=p)},null,8,["modelValue"]),s("span",Qf,re(at.autoJudge?"开启":"关闭"),1)]),s("div",Gf,[e[253]||(e[253]=s("div",{class:"form-label"},"添加考试试卷",-1)),s("div",zf,[at.selectedPaper?(B(),Y("div",Jf,[s("div",Wf,[s("div",Hf,re(at.selectedPaper.title),1),s("div",Yf,[s("span",null,re(at.selectedPaper.questionCount)+"道题",1),s("span",null,re(at.selectedPaper.duration)+"分钟",1),s("span",null,re(at.selectedPaper.difficulty),1)])]),s("div",Xf,[v(x,{type:"text",onClick:Na},{default:y(()=>e[250]||(e[250]=[k("查看")])),_:1}),v(x,{type:"text",onClick:ja},{default:y(()=>e[251]||(e[251]=[k("更换")])),_:1}),v(x,{type:"text",onClick:Fa},{default:y(()=>e[252]||(e[252]=[k("删除")])),_:1})])])):(B(),Y("div",$f,[v(x,{type:"primary",plain:"",onClick:Ba},{default:y(()=>[v(V,null,{default:y(()=>[v(be(bn))]),_:1}),e[248]||(e[248]=k(" 添加考卷 "))]),_:1}),e[249]||(e[249]=s("p",{class:"tip-text"},"多选时,考生会随机分配到一套试卷",-1))]))])])])]),_:1},8,["modelValue"]),v(be(fi),{title:"添加打字测试步骤",modelValue:Jn.value,"onUpdate:modelValue":e[68]||(e[68]=p=>Jn.value=p),size:"60%","close-on-click-modal":!1,class:"typing-test-dialog","destroy-on-close":!1},{footer:y(()=>[s("span",cv,[v(x,{onClick:Bi},{default:y(()=>e[272]||(e[272]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:La},{default:y(()=>e[273]||(e[273]=[k("保存")])),_:1})])]),default:y(()=>[s("div",qf,[s("div",_f,[e[257]||(e[257]=s("div",{class:"form-label"},"选择文章",-1)),s("div",ev,[v(x,{type:"primary",size:"small",class:"add-article-btn"},{default:y(()=>[v(V,null,{default:y(()=>[v(be(bn))]),_:1}),e[256]||(e[256]=k(" 添加文章 "))]),_:1})])]),s("div",tv,[e[260]||(e[260]=s("div",{class:"form-label"},"候选人选择文章方式",-1)),v(El,{modelValue:ot.selectionMode,"onUpdate:modelValue":e[61]||(e[61]=p=>ot.selectionMode=p)},{default:y(()=>[v(fo,{label:"random"},{default:y(()=>e[258]||(e[258]=[k("随机抽取")])),_:1}),v(fo,{label:"self"},{default:y(()=>e[259]||(e[259]=[k("候选人自主选择")])),_:1})]),_:1},8,["modelValue"])]),s("div",nv,[e[262]||(e[262]=s("div",{class:"form-label"},"测试时间",-1)),s("div",ov,[v(F,{modelValue:ot.duration,"onUpdate:modelValue":e[62]||(e[62]=p=>ot.duration=p),class:"time-input"},null,8,["modelValue"]),e[261]||(e[261]=s("span",{class:"time-unit"},"分钟",-1))])]),s("div",iv,[e[264]||(e[264]=s("div",{class:"form-label"},"登录界面预览图(建议尺寸1024*768像素,最大不要超过5M)",-1)),v(Yi,{class:"preview-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"image/*"},{default:y(()=>[s("div",av,[v(V,null,{default:y(()=>[v(be(bn))]),_:1}),e[263]||(e[263]=s("div",{class:"upload-text"},"添加图片",-1))])]),_:1})]),s("div",rv,[e[265]||(e[265]=s("div",{class:"form-label"},"注意事项内容(在登录界面显示)",-1)),v(F,{modelValue:ot.notes,"onUpdate:modelValue":e[63]||(e[63]=p=>ot.notes=p),type:"textarea",rows:"4",placeholder:"请输入注意事项内容",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),s("div",lv,[e[266]||(e[266]=s("div",{class:"form-label"},"测试页面标题",-1)),v(F,{modelValue:ot.pageTitle,"onUpdate:modelValue":e[64]||(e[64]=p=>ot.pageTitle=p),placeholder:"测试页面标题"},null,8,["modelValue"])]),s("div",sv,[e[268]||(e[268]=s("div",{class:"form-label"},"视频监控",-1)),v(Xt,{modelValue:ot.videoMonitoring,"onUpdate:modelValue":e[65]||(e[65]=p=>ot.videoMonitoring=p)},{default:y(()=>e[267]||(e[267]=[k("视频监控")])),_:1},8,["modelValue"])]),s("div",dv,[e[271]||(e[271]=s("div",{class:"form-label"},"通过标准",-1)),s("div",uv,[v(Xt,{modelValue:ot.passCriteria.speed,"onUpdate:modelValue":e[66]||(e[66]=p=>ot.passCriteria.speed=p)},{default:y(()=>e[269]||(e[269]=[k("速度")])),_:1},8,["modelValue"]),v(Xt,{modelValue:ot.passCriteria.accuracy,"onUpdate:modelValue":e[67]||(e[67]=p=>ot.passCriteria.accuracy=p)},{default:y(()=>e[270]||(e[270]=[k("正确率")])),_:1},8,["modelValue"])])])])]),_:1},8,["modelValue"]),v(Vt,{title:"面试设置",modelValue:lo.value,"onUpdate:modelValue":e[78]||(e[78]=p=>lo.value=p),width:"60%","close-on-click-modal":!1,class:"interview-settings-dialog"},{footer:y(()=>[s("span",Lv,[v(x,{onClick:Qr},{default:y(()=>e[293]||(e[293]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:Gr},{default:y(()=>e[294]||(e[294]=[k("完成")])),_:1})])]),default:y(()=>[s("div",fv,[s("div",vv,[e[280]||(e[280]=s("div",{class:"section-header"},[s("span",{class:"section-title"},"防作弊设置")],-1)),s("div",pv,[e[274]||(e[274]=s("div",{class:"setting-info"},[s("span",{class:"setting-name"},"「人脸一致性检测」"),s("p",{class:"setting-desc"},"该强调,非本人操作人脸可视化提醒和警示,默认开启")],-1)),v(_e,{modelValue:Ne.faceConsistency,"onUpdate:modelValue":e[69]||(e[69]=p=>Ne.faceConsistency=p),disabled:!0},null,8,["modelValue"])]),s("div",mv,[e[275]||(e[275]=s("div",{class:"setting-info"},[s("span",{class:"setting-name"},"「 防截屏 / 录屏 」"),s("p",{class:"setting-desc"},"该强调,非本人前来体验截屏录屏以上行为,为防止提醒")],-1)),v(_e,{modelValue:Ne.preventScreenshot,"onUpdate:modelValue":e[70]||(e[70]=p=>Ne.preventScreenshot=p),disabled:!0},null,8,["modelValue"])]),s("div",gv,[e[277]||(e[277]=s("div",{class:"setting-info"},[s("span",{class:"setting-name"},"「 切 屏 预 制 」"),s("p",{class:"setting-desc"},"该强调,非本人前使用切屏处理用页面,为防作弊警示")],-1)),v(_e,{modelValue:Ne.screenSwitchAlert,"onUpdate:modelValue":e[71]||(e[71]=p=>Ne.screenSwitchAlert=p),disabled:!0},{default:y(()=>e[276]||(e[276]=[s("span",{class:"switch-desc"},"切屏超过 2 次关闭,作答本关面试",-1)])),_:1},8,["modelValue"])]),s("div",hv,[e[278]||(e[278]=s("div",{class:"setting-info"},[s("span",{class:"setting-name"},"「 情 绪 识 别」"),s("p",{class:"setting-desc"},"该现已,条件较差以及入侵过程中的作弊,条件等好等")],-1)),v(_e,{modelValue:Ne.positionDetection,"onUpdate:modelValue":e[72]||(e[72]=p=>Ne.positionDetection=p),disabled:!0},null,8,["modelValue"])]),s("div",yv,[e[279]||(e[279]=s("div",{class:"setting-info"},[s("span",{class:"setting-name"},"「 眼 动 检 测 」"),s("p",{class:"setting-desc"},"视实检测候选人的眼动频率进行分析,页面等较等")],-1)),v(_e,{modelValue:Ne.eyeMovementDetection,"onUpdate:modelValue":e[73]||(e[73]=p=>Ne.eyeMovementDetection=p),disabled:!0},null,8,["modelValue"])])]),s("div",bv,[e[292]||(e[292]=s("div",{class:"section-header"},[s("span",{class:"section-title"},"其他设置")],-1)),s("div",Sv,[s("div",Ev,[e[282]||(e[282]=s("span",{class:"setting-name"},"重复面试",-1)),s("div",xv,[e[281]||(e[281]=s("p",{class:"setting-desc",style:{}},"选取后,将允许面试者进行重复面试",-1)),v(_e,{modelValue:Ne.reviewInterview,"onUpdate:modelValue":e[74]||(e[74]=p=>Ne.reviewInterview=p)},null,8,["modelValue"])])])]),s("div",Iv,[s("div",Cv,[e[285]||(e[285]=s("span",{class:"setting-name"},"开场词",-1)),Pn.value?(B(),Y("div",Ov,[v(F,{modelValue:rn.value,"onUpdate:modelValue":e[75]||(e[75]=p=>rn.value=p),type:"textarea",rows:"5",maxlength:"150",placeholder:"请输入开始前提示内容","show-word-limit":""},null,8,["modelValue"]),s("div",Tv,[v(x,{size:"small",onClick:Jr},{default:y(()=>e[283]||(e[283]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Wr},{default:y(()=>e[284]||(e[284]=[k("保存")])),_:1})])])):(B(),Y("div",Av,[s("p",wv,re(Ne.beforeStartText),1),v(x,{type:"text",class:"edit-desc-btn",onClick:$r},{default:y(()=>[v(V,null,{default:y(()=>[v(be(yt))]),_:1})]),_:1})]))])]),s("div",Dv,[s("div",Vv,[e[288]||(e[288]=s("span",{class:"setting-name"},"开始后提醒",-1)),so.value?(B(),Y("div",Uv,[v(F,{modelValue:Rn.value,"onUpdate:modelValue":e[76]||(e[76]=p=>Rn.value=p),type:"textarea",rows:"2",placeholder:"请输入开始后提醒内容",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),s("div",Kv,[v(x,{size:"small",onClick:Yr},{default:y(()=>e[286]||(e[286]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Xr},{default:y(()=>e[287]||(e[287]=[k("保存")])),_:1})])])):(B(),Y("div",Pv,[s("p",Rv,re(Ne.afterStartText),1),v(x,{type:"text",class:"edit-desc-btn",onClick:Hr},{default:y(()=>[v(V,null,{default:y(()=>[v(be(yt))]),_:1})]),_:1})]))])]),s("div",Mv,[s("div",kv,[e[291]||(e[291]=s("span",{class:"setting-name"},"结束语",-1)),uo.value?(B(),Y("div",jv,[v(F,{modelValue:Un.value,"onUpdate:modelValue":e[77]||(e[77]=p=>Un.value=p),type:"textarea",rows:"2",placeholder:"请输入免责声明内容",maxlength:"200","show-word-limit":""},null,8,["modelValue"]),s("div",Fv,[v(x,{size:"small",onClick:qr},{default:y(()=>e[289]||(e[289]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:_r},{default:y(()=>e[290]||(e[290]=[k("保存")])),_:1})])])):(B(),Y("div",Bv,[s("p",Nv,re(Ne.disclaimerText),1),v(x,{type:"text",class:"edit-desc-btn",onClick:Zr},{default:y(()=>[v(V,null,{default:y(()=>[v(be(yt))]),_:1})]),_:1})]))])])])])]),_:1},8,["modelValue"]),v(Vt,{title:"选择题目",modelValue:m.value,"onUpdate:modelValue":e[83]||(e[83]=p=>m.value=p),width:"70%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[s("span",Hv,[v(x,{onClick:Qi},{default:y(()=>e[295]||(e[295]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:S,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[296]||(e[296]=[k("确定")])),_:1})])]),default:y(()=>[s("div",Qv,[v(Zt,{class:"document-el-row"},{default:y(()=>[v(Gt,{span:3},{default:y(()=>[s("div",Gv,[v(Xl,{ref_key:"treeListRef",ref:ul,treeData:Wi.value,onTreeClick:cl,onUpdateDocument:fl,onDeleteDocument:vl},null,8,["treeData"])])]),_:1}),v(Gt,{span:21},{default:y(()=>[s("div",zv,[s("div",$v,[v(F,{modelValue:ao.value,"onUpdate:modelValue":e[79]||(e[79]=p=>ao.value=p),placeholder:"请输入关键词搜索题目",clearable:"",onClear:Bo,onKeyup:kl(Bo,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:y(()=>[v(x,{onClick:Bo},{default:y(()=>[v(V,null,{default:y(()=>[v(be(Jl))]),_:1})]),_:1})]),_:1},8,["modelValue"]),v(pe,{modelValue:st.question_form,"onUpdate:modelValue":e[80]||(e[80]=p=>st.question_form=p),placeholder:"题目类型",clearable:"",onChange:Bo,style:{width:"120px"}},{default:y(()=>[v(J,{label:"开放问题",value:0}),v(J,{label:"单选题",value:1}),v(J,{label:"多选题",value:2}),v(J,{label:"看图选答案",value:3}),v(J,{label:"得分题",value:4}),v(J,{label:"追加型开放问题",value:5}),v(J,{label:"填空题",value:6})]),_:1},8,["modelValue"])])]),s("div",Jv,[v(xl,{data:lt.value,style:{width:"100%"},onSelectionChange:Br},{default:y(()=>[v(di,{type:"selection",width:"55"}),v(di,{prop:"question",label:"题目标题"}),v(di,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),s("div",Wv,[v(Il,{"current-page":st.page,"onUpdate:currentPage":e[81]||(e[81]=p=>st.page=p),"page-size":st.pageSize,"onUpdate:pageSize":e[82]||(e[82]=p=>st.pageSize=p),total:Yt.value,"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next",onSizeChange:h,onCurrentChange:b},null,8,["current-page","page-size","total"])])])]),_:1})]),_:1})])]),_:1},8,["modelValue"]),v(Vt,{title:co.value>=0?"编辑候选人提问环节":"配置候选人提问环节",modelValue:Mn.value,"onUpdate:modelValue":e[87]||(e[87]=p=>Mn.value=p),width:"600px","close-on-click-modal":!1,class:"candidate-questions-dialog"},{footer:y(()=>[s("span",_v,[v(x,{onClick:xe},{default:y(()=>e[303]||(e[303]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:ve},{default:y(()=>e[304]||(e[304]=[k("确认")])),_:1})])]),default:y(()=>[s("div",Yv,[s("div",Xv,[e[297]||(e[297]=s("div",{class:"form-label"},[k(" 环节名称"),s("span",{class:"required"},"*")],-1)),v(F,{modelValue:Ue.title,"onUpdate:modelValue":e[84]||(e[84]=p=>Ue.title=p),placeholder:"请输入环节名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),s("div",Zv,[e[298]||(e[298]=s("div",{class:"form-label"},[k(" 提问时长"),s("span",{class:"required"},"*")],-1)),v(dt,{modelValue:Ue.duration,"onUpdate:modelValue":e[85]||(e[85]=p=>Ue.duration=p),min:1,max:30,step:1,"controls-position":"right",style:{width:"200px"}},null,8,["modelValue"]),e[299]||(e[299]=s("span",{class:"form-unit"},"分钟",-1)),e[300]||(e[300]=s("div",{class:"form-tip"},"候选人可用于提问的总时长",-1))]),s("div",qv,[e[301]||(e[301]=s("div",{class:"form-label"},"环节描述",-1)),v(F,{modelValue:Ue.description,"onUpdate:modelValue":e[86]||(e[86]=p=>Ue.description=p),type:"textarea",rows:"3",placeholder:"请输入环节描述",maxlength:"200"},null,8,["modelValue"]),e[302]||(e[302]=s("div",{class:"form-tip"},"向候选人说明此环节的目的和意义",-1))])])]),_:1},8,["title","modelValue"]),v(Vt,{modelValue:No.value,"onUpdate:modelValue":e[91]||(e[91]=p=>No.value=p),title:"肢体检测配置",width:"600px","close-on-click-modal":!1},{footer:y(()=>[s("span",ep,[v(x,{onClick:sl,size:"small"},{default:y(()=>e[309]||(e[309]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:dl,size:"small"},{default:y(()=>e[310]||(e[310]=[k("确定")])),_:1})])]),default:y(()=>[v(Al,{model:ln.value,"label-width":"120px"},{default:y(()=>[v(ui,{label:"检测时长"},{default:y(()=>[v(dt,{modelValue:ln.value.duration,"onUpdate:modelValue":e[88]||(e[88]=p=>ln.value.duration=p),min:1,max:30,step:1,"controls-position":"right"},null,8,["modelValue"]),e[305]||(e[305]=k(" 分钟 "))]),_:1}),v(ui,{label:"检测项目"},{default:y(()=>[v(Cl,{modelValue:ln.value.detectionItems,"onUpdate:modelValue":e[89]||(e[89]=p=>ln.value.detectionItems=p)},{default:y(()=>[v(Xt,{label:"face"},{default:y(()=>e[306]||(e[306]=[k("面部表情")])),_:1}),v(Xt,{label:"pose"},{default:y(()=>e[307]||(e[307]=[k("肢体姿态")])),_:1}),v(Xt,{label:"gesture"},{default:y(()=>e[308]||(e[308]=[k("手势动作")])),_:1})]),_:1},8,["modelValue"])]),_:1}),v(ui,{label:"提示文本"},{default:y(()=>[v(F,{modelValue:ln.value.promptText,"onUpdate:modelValue":e[90]||(e[90]=p=>ln.value.promptText=p),type:"textarea",rows:3,placeholder:"请输入提示文本"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])])}}}),vp=Zl(tp,[["__scopeId","data-v-698bb86d"]]);export{vp as default};