12345678910 |
- import{a as ba,aH as Sa,aB as Ea,r as J,_ as qe,q as xa,W as Ia,aj as je,at as Ca,c as Y,o as N,b as u,S as p,K as S,P as M,Q as re,u as xe,M as Xe,J as Oe,R as He,a9 as Ye,G as bt,Y as Aa,F as wa,L as Sr,a7 as Oa}from"./vue.D1BjjNmv.js";import{a as Ta,U as It}from"./api.BYLId0zI.js";import{r as et,a1 as Da,g as Pa,a2 as Ra,c as Va,E as U,V as st,T as bn,a3 as Er,X as xr,a4 as Lo,a5 as Ka,Y as Ir}from"./index.DQ-PK7i3.js";import{g as Ua}from"./pcaData.5HEg6BqW.js";import{_ as Ma}from"./_plugin-vue_export-helper.DlAUqK2U.js";const ko="/assets/sheng.BKW1Im68.png",Ba="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAImCAQAAAAGHG0zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFyGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNS0wNi0xM1QxNzowMToyMCswODowMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNDE0NGJjZC05NWJlLTMxNGMtODlmZC01MTk0MTdmODc5OWEiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplYzMyM2E1Zi04ZWZiLTgxNGUtYWMzOS05Nzc3ODNiNDUzYjQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIHN0RXZ0OndoZW49IjIwMjUtMDYtMTNUMTc6MDE6MjArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4wIChXaW5kb3dzKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MzQxNDRiY2QtOTViZS0zMTRjLTg5ZmQtNTE5NDE3Zjg3OTlhIiBzdEV2dDp3aGVuPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JOr+gQAABzlJREFUeJzt1rENwzAQBEHTUOHsnEoVKhDwG8xUcNHi1vkBdPynBwA8iRKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHJND3hrn+kFULXX9IIveUpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEp60wvAHjwlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSDlmh7w1j7TC6Bqr+kFX/KUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUtaZXgDw4CkBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHIDp74LS5/6zzUAAAAASUVORK5CYII=";function Na(a){return et({url:"/api/system/competency/list",method:"get",params:{...a,tenant_id:1}})}function Jn(a){return et({url:"/api/system/interview_question/list",method:"get",params:{...a,tenant_id:1}})}function ja(a){return et({url:"/api/system/interview_question/ai_generated",method:"post",data:{...a,tenant_id:1},timeout:0})}function Fa(a){return et({url:`/api/system/interview_question/draft_list?tenant_id=${a.tenant_id}&position_id=${a.position_id}`,method:"get"})}function La(a){return et({url:"/api/system/interview_question/confirm_draft",method:"post",data:{...a,tenant_id:1}})}function ka(a){return et({url:"/api/system/digital_human/",method:"get",params:{...a,tenant_id:1}})}function en(a){return et({url:"/api/system/job_config/list",method:"post",data:{...a,tenant_id:1}})}function tn(a){return et({url:`/api/system/job_config/detail/${a.id}`,method:"put",data:{...a,tenant_id:1}})}function Sn(a){return et({url:`/api/system/job_config/position/detail/${a}`,method:"get"})}function Qa(a){return et({url:"api/system/job/add_question",method:"post",data:{...a,tenant_id:"1"}})}function Qo(a){return et({url:"/api/system/digital_human/generate_opening_video",method:"post",data:{...a,tenant_id:"1"},timeout:0})}function Cr(a){return et({url:"/api/system/digital_human/generate_question_videos",method:"post",data:{...a,tenant_id:"1",force_regenerate:!0},timeout:0})}function Ar(a){return et({url:"api/system/job/add_question",method:"post",data:{...a,tenant_id:"1"}})}function wr(a){return et({url:"/api/system/job/batch_delete_questions",method:"post",data:{...a,tenant_id:"1"}})}function Ga(a){return et({url:"/api/system/interview_question/update",method:"put",data:{...a,tenant_id:"1"}})}function Or(a){return et({url:"/competency/generate_from_position/",method:"post",data:{...a,tenant_id:"1"},timeout:0})}function za(a){return et({url:"/competency/save_position_tags/",method:"post",data:{...a,tenant_id:"1"}})}var kr={exports:{}};/**!
- * Sortable 1.14.0
- * @author RubaXa <trash@rubaxa.org>
- * @author owenm <owen23355@gmail.com>
- * @license MIT
- */function Tr(a,r){var o=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);r&&(d=d.filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable})),o.push.apply(o,d)}return o}function Pt(a){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?Tr(Object(o),!0).forEach(function(d){$a(a,d,o[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(o)):Tr(Object(o)).forEach(function(d){Object.defineProperty(a,d,Object.getOwnPropertyDescriptor(o,d))})}return a}function Ao(a){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ao=function(r){return typeof r}:Ao=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ao(a)}function $a(a,r,o){return r in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o,a}function Et(){return Et=Object.assign||function(a){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(a[d]=o[d])}return a},Et.apply(this,arguments)}function Ja(a,r){if(a==null)return{};var o={},d=Object.keys(a),n,s;for(s=0;s<d.length;s++)n=d[s],!(r.indexOf(n)>=0)&&(o[n]=a[n]);return o}function Wa(a,r){if(a==null)return{};var o=Ja(a,r),d,n;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);for(n=0;n<s.length;n++)d=s[n],!(r.indexOf(d)>=0)&&Object.prototype.propertyIsEnumerable.call(a,d)&&(o[d]=a[d])}return o}function Ha(a){return Ya(a)||Xa(a)||Za(a)||qa()}function Ya(a){if(Array.isArray(a))return _o(a)}function Xa(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function Za(a,r){if(a){if(typeof a=="string")return _o(a,r);var o=Object.prototype.toString.call(a).slice(8,-1);if(o==="Object"&&a.constructor&&(o=a.constructor.name),o==="Map"||o==="Set")return Array.from(a);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return _o(a,r)}}function _o(a,r){(r==null||r>a.length)&&(r=a.length);for(var o=0,d=new Array(r);o<r;o++)d[o]=a[o];return d}function qa(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _a="1.14.0";function Nt(a){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(a)}var jt=Nt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),io=Nt(/Edge/i),Dr=Nt(/firefox/i),eo=Nt(/safari/i)&&!Nt(/chrome/i)&&!Nt(/android/i),Qr=Nt(/iP(ad|od|hone)/i),el=Nt(/chrome/i)&&Nt(/android/i),Gr={capture:!1,passive:!1};function ye(a,r,o){a.addEventListener(r,o,!jt&&Gr)}function me(a,r,o){a.removeEventListener(r,o,!jt&&Gr)}function Po(a,r){if(r){if(r[0]===">"&&(r=r.substring(1)),a)try{if(a.matches)return a.matches(r);if(a.msMatchesSelector)return a.msMatchesSelector(r);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(r)}catch{return!1}return!1}}function tl(a){return a.host&&a!==document&&a.host.nodeType?a.host:a.parentNode}function wt(a,r,o,d){if(a){o=o||document;do{if(r!=null&&(r[0]===">"?a.parentNode===o&&Po(a,r):Po(a,r))||d&&a===o)return a;if(a===o)break}while(a=tl(a))}return null}var Pr=/\s+/g;function Fe(a,r,o){if(a&&r)if(a.classList)a.classList[o?"add":"remove"](r);else{var d=(" "+a.className+" ").replace(Pr," ").replace(" "+r+" "," ");a.className=(d+(o?" "+r:"")).replace(Pr," ")}}function te(a,r,o){var d=a&&a.style;if(d){if(o===void 0)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(a,""):a.currentStyle&&(o=a.currentStyle),r===void 0?o:o[r];!(r in d)&&r.indexOf("webkit")===-1&&(r="-webkit-"+r),d[r]=o+(typeof o=="string"?"":"px")}}function an(a,r){var o="";if(typeof a=="string")o=a;else do{var d=te(a,"transform");d&&d!=="none"&&(o=d+" "+o)}while(!r&&(a=a.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(o)}function zr(a,r,o){if(a){var d=a.getElementsByTagName(r),n=0,s=d.length;if(o)for(;n<s;n++)o(d[n],n);return d}return[]}function Dt(){var a=document.scrollingElement;return a||document.documentElement}function Me(a,r,o,d,n){if(!(!a.getBoundingClientRect&&a!==window)){var s,e,i,l,c,f,v;if(a!==window&&a.parentNode&&a!==Dt()?(s=a.getBoundingClientRect(),e=s.top,i=s.left,l=s.bottom,c=s.right,f=s.height,v=s.width):(e=0,i=0,l=window.innerHeight,c=window.innerWidth,f=window.innerHeight,v=window.innerWidth),(r||o)&&a!==window&&(n=n||a.parentNode,!jt))do if(n&&n.getBoundingClientRect&&(te(n,"transform")!=="none"||o&&te(n,"position")!=="static")){var g=n.getBoundingClientRect();e-=g.top+parseInt(te(n,"border-top-width")),i-=g.left+parseInt(te(n,"border-left-width")),l=e+s.height,c=i+s.width;break}while(n=n.parentNode);if(d&&a!==window){var h=an(n||a),y=h&&h.a,E=h&&h.d;h&&(e/=E,i/=y,v/=y,f/=E,l=e+f,c=i+v)}return{top:e,left:i,bottom:l,right:c,width:v,height:f}}}function Rr(a,r,o){for(var d=Wt(a,!0),n=Me(a)[r];d;){var s=Me(d)[o],e=void 0;if(e=n>=s,!e)return d;if(d===Dt())break;d=Wt(d,!1)}return!1}function wn(a,r,o,d){for(var n=0,s=0,e=a.children;s<e.length;){if(e[s].style.display!=="none"&&e[s]!==ie.ghost&&(d||e[s]!==ie.dragged)&&wt(e[s],o.draggable,a,!1)){if(n===r)return e[s];n++}s++}return null}function rr(a,r){for(var o=a.lastElementChild;o&&(o===ie.ghost||te(o,"display")==="none"||r&&!Po(o,r));)o=o.previousElementSibling;return o||null}function Qe(a,r){var o=0;if(!a||!a.parentNode)return-1;for(;a=a.previousElementSibling;)a.nodeName.toUpperCase()!=="TEMPLATE"&&a!==ie.clone&&(!r||Po(a,r))&&o++;return o}function Vr(a){var r=0,o=0,d=Dt();if(a)do{var n=an(a),s=n.a,e=n.d;r+=a.scrollLeft*s,o+=a.scrollTop*e}while(a!==d&&(a=a.parentNode));return[r,o]}function nl(a,r){for(var o in a)if(a.hasOwnProperty(o)){for(var d in r)if(r.hasOwnProperty(d)&&r[d]===a[o][d])return Number(o)}return-1}function Wt(a,r){if(!a||!a.getBoundingClientRect)return Dt();var o=a,d=!1;do if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var n=te(o);if(o.clientWidth<o.scrollWidth&&(n.overflowX=="auto"||n.overflowX=="scroll")||o.clientHeight<o.scrollHeight&&(n.overflowY=="auto"||n.overflowY=="scroll")){if(!o.getBoundingClientRect||o===document.body)return Dt();if(d||r)return o;d=!0}}while(o=o.parentNode);return Dt()}function ol(a,r){if(a&&r)for(var o in r)r.hasOwnProperty(o)&&(a[o]=r[o]);return a}function Go(a,r){return Math.round(a.top)===Math.round(r.top)&&Math.round(a.left)===Math.round(r.left)&&Math.round(a.height)===Math.round(r.height)&&Math.round(a.width)===Math.round(r.width)}var to;function $r(a,r){return function(){if(!to){var o=arguments,d=this;o.length===1?a.call(d,o[0]):a.apply(d,o),to=setTimeout(function(){to=void 0},r)}}}function rl(){clearTimeout(to),to=void 0}function Jr(a,r,o){a.scrollLeft+=r,a.scrollTop+=o}function ir(a){var r=window.Polymer,o=window.jQuery||window.Zepto;return r&&r.dom?r.dom(a).cloneNode(!0):o?o(a).clone(!0)[0]:a.cloneNode(!0)}function Kr(a,r){te(a,"position","absolute"),te(a,"top",r.top),te(a,"left",r.left),te(a,"width",r.width),te(a,"height",r.height)}function zo(a){te(a,"position",""),te(a,"top",""),te(a,"left",""),te(a,"width",""),te(a,"height","")}var rt="Sortable"+new Date().getTime();function il(){var a=[],r;return{captureAnimationState:function(){if(a=[],!!this.options.animation){var d=[].slice.call(this.el.children);d.forEach(function(n){if(!(te(n,"display")==="none"||n===ie.ghost)){a.push({target:n,rect:Me(n)});var s=Pt({},a[a.length-1].rect);if(n.thisAnimationDuration){var e=an(n,!0);e&&(s.top-=e.f,s.left-=e.e)}n.fromRect=s}})}},addAnimationState:function(d){a.push(d)},removeAnimationState:function(d){a.splice(nl(a,{target:d}),1)},animateAll:function(d){var n=this;if(!this.options.animation){clearTimeout(r),typeof d=="function"&&d();return}var s=!1,e=0;a.forEach(function(i){var l=0,c=i.target,f=c.fromRect,v=Me(c),g=c.prevFromRect,h=c.prevToRect,y=i.rect,E=an(c,!0);E&&(v.top-=E.f,v.left-=E.e),c.toRect=v,c.thisAnimationDuration&&Go(g,v)&&!Go(f,v)&&(y.top-v.top)/(y.left-v.left)===(f.top-v.top)/(f.left-v.left)&&(l=ll(y,g,h,n.options)),Go(v,f)||(c.prevFromRect=f,c.prevToRect=v,l||(l=n.options.animation),n.animate(c,y,v,l)),l&&(s=!0,e=Math.max(e,l),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},l),c.thisAnimationDuration=l)}),clearTimeout(r),s?r=setTimeout(function(){typeof d=="function"&&d()},e):typeof d=="function"&&d(),a=[]},animate:function(d,n,s,e){if(e){te(d,"transition",""),te(d,"transform","");var i=an(this.el),l=i&&i.a,c=i&&i.d,f=(n.left-s.left)/(l||1),v=(n.top-s.top)/(c||1);d.animatingX=!!f,d.animatingY=!!v,te(d,"transform","translate3d("+f+"px,"+v+"px,0)"),this.forRepaintDummy=al(d),te(d,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),te(d,"transform","translate3d(0,0,0)"),typeof d.animated=="number"&&clearTimeout(d.animated),d.animated=setTimeout(function(){te(d,"transition",""),te(d,"transform",""),d.animated=!1,d.animatingX=!1,d.animatingY=!1},e)}}}}function al(a){return a.offsetWidth}function ll(a,r,o,d){return Math.sqrt(Math.pow(r.top-a.top,2)+Math.pow(r.left-a.left,2))/Math.sqrt(Math.pow(r.top-o.top,2)+Math.pow(r.left-o.left,2))*d.animation}var En=[],$o={initializeByDefault:!0},ao={mount:function(r){for(var o in $o)$o.hasOwnProperty(o)&&!(o in r)&&(r[o]=$o[o]);En.forEach(function(d){if(d.pluginName===r.pluginName)throw"Sortable: Cannot mount plugin ".concat(r.pluginName," more than once")}),En.push(r)},pluginEvent:function(r,o,d){var n=this;this.eventCanceled=!1,d.cancel=function(){n.eventCanceled=!0};var s=r+"Global";En.forEach(function(e){o[e.pluginName]&&(o[e.pluginName][s]&&o[e.pluginName][s](Pt({sortable:o},d)),o.options[e.pluginName]&&o[e.pluginName][r]&&o[e.pluginName][r](Pt({sortable:o},d)))})},initializePlugins:function(r,o,d,n){En.forEach(function(i){var l=i.pluginName;if(!(!r.options[l]&&!i.initializeByDefault)){var c=new i(r,o,r.options);c.sortable=r,c.options=r.options,r[l]=c,Et(d,c.defaults)}});for(var s in r.options)if(r.options.hasOwnProperty(s)){var e=this.modifyOption(r,s,r.options[s]);typeof e<"u"&&(r.options[s]=e)}},getEventProperties:function(r,o){var d={};return En.forEach(function(n){typeof n.eventProperties=="function"&&Et(d,n.eventProperties.call(o[n.pluginName],r))}),d},modifyOption:function(r,o,d){var n;return En.forEach(function(s){r[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[o]=="function"&&(n=s.optionListeners[o].call(r[s.pluginName],d))}),n}};function Xn(a){var r=a.sortable,o=a.rootEl,d=a.name,n=a.targetEl,s=a.cloneEl,e=a.toEl,i=a.fromEl,l=a.oldIndex,c=a.newIndex,f=a.oldDraggableIndex,v=a.newDraggableIndex,g=a.originalEvent,h=a.putSortable,y=a.extraEventProperties;if(r=r||o&&o[rt],!!r){var E,x=r.options,T="on"+d.charAt(0).toUpperCase()+d.substr(1);window.CustomEvent&&!jt&&!io?E=new CustomEvent(d,{bubbles:!0,cancelable:!0}):(E=document.createEvent("Event"),E.initEvent(d,!0,!0)),E.to=e||o,E.from=i||o,E.item=n||o,E.clone=s,E.oldIndex=l,E.newIndex=c,E.oldDraggableIndex=f,E.newDraggableIndex=v,E.originalEvent=g,E.pullMode=h?h.lastPutMode:void 0;var I=Pt(Pt({},y),ao.getEventProperties(d,r));for(var V in I)E[V]=I[V];o&&o.dispatchEvent(E),x[T]&&x[T].call(r,E)}}var sl=["evt"],ct=function(r,o){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=d.evt,s=Wa(d,sl);ao.pluginEvent.bind(ie)(r,o,Pt({dragEl:k,parentEl:Le,ghostEl:ve,rootEl:Ue,nextEl:rn,lastDownEl:wo,cloneEl:ke,cloneHidden:Jt,dragStarted:Zn,putSortable:_e,activeSortable:ie.active,originalEvent:n,oldIndex:An,oldDraggableIndex:no,newIndex:mt,newDraggableIndex:$t,hideGhostForTarget:Xr,unhideGhostForTarget:Zr,cloneNowHidden:function(){Jt=!0},cloneNowShown:function(){Jt=!1},dispatchSortableEvent:function(i){dt({sortable:o,name:i,originalEvent:n})}},s))};function dt(a){Xn(Pt({putSortable:_e,cloneEl:ke,targetEl:k,rootEl:Ue,oldIndex:An,oldDraggableIndex:no,newIndex:mt,newDraggableIndex:$t},a))}var k,Le,ve,Ue,rn,wo,ke,Jt,An,mt,no,$t,bo,_e,Cn=!1,Ro=!1,Vo=[],nn,Ct,Jo,Wo,Ur,Mr,Zn,xn,oo,ro=!1,So=!1,Oo,ot,Ho=[],er=!1,Ko=[],Mo=typeof document<"u",Eo=Qr,Br=io||jt?"cssFloat":"float",dl=Mo&&!el&&!Qr&&"draggable"in document.createElement("div"),Wr=function(){if(Mo){if(jt)return!1;var a=document.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"}}(),Hr=function(r,o){var d=te(r),n=parseInt(d.width)-parseInt(d.paddingLeft)-parseInt(d.paddingRight)-parseInt(d.borderLeftWidth)-parseInt(d.borderRightWidth),s=wn(r,0,o),e=wn(r,1,o),i=s&&te(s),l=e&&te(e),c=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+Me(s).width,f=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Me(e).width;if(d.display==="flex")return d.flexDirection==="column"||d.flexDirection==="column-reverse"?"vertical":"horizontal";if(d.display==="grid")return d.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&i.float&&i.float!=="none"){var v=i.float==="left"?"left":"right";return e&&(l.clear==="both"||l.clear===v)?"vertical":"horizontal"}return s&&(i.display==="block"||i.display==="flex"||i.display==="table"||i.display==="grid"||c>=n&&d[Br]==="none"||e&&d[Br]==="none"&&c+f>n)?"vertical":"horizontal"},ul=function(r,o,d){var n=d?r.left:r.top,s=d?r.right:r.bottom,e=d?r.width:r.height,i=d?o.left:o.top,l=d?o.right:o.bottom,c=d?o.width:o.height;return n===i||s===l||n+e/2===i+c/2},cl=function(r,o){var d;return Vo.some(function(n){var s=n[rt].options.emptyInsertThreshold;if(!(!s||rr(n))){var e=Me(n),i=r>=e.left-s&&r<=e.right+s,l=o>=e.top-s&&o<=e.bottom+s;if(i&&l)return d=n}}),d},Yr=function(r){function o(s,e){return function(i,l,c,f){var v=i.options.group.name&&l.options.group.name&&i.options.group.name===l.options.group.name;if(s==null&&(e||v))return!0;if(s==null||s===!1)return!1;if(e&&s==="clone")return s;if(typeof s=="function")return o(s(i,l,c,f),e)(i,l,c,f);var g=(e?i:l).options.group.name;return s===!0||typeof s=="string"&&s===g||s.join&&s.indexOf(g)>-1}}var d={},n=r.group;(!n||Ao(n)!="object")&&(n={name:n}),d.name=n.name,d.checkPull=o(n.pull,!0),d.checkPut=o(n.put),d.revertClone=n.revertClone,r.group=d},Xr=function(){!Wr&&ve&&te(ve,"display","none")},Zr=function(){!Wr&&ve&&te(ve,"display","")};Mo&&document.addEventListener("click",function(a){if(Ro)return a.preventDefault(),a.stopPropagation&&a.stopPropagation(),a.stopImmediatePropagation&&a.stopImmediatePropagation(),Ro=!1,!1},!0);var on=function(r){if(k){r=r.touches?r.touches[0]:r;var o=cl(r.clientX,r.clientY);if(o){var d={};for(var n in r)r.hasOwnProperty(n)&&(d[n]=r[n]);d.target=d.rootEl=o,d.preventDefault=void 0,d.stopPropagation=void 0,o[rt]._onDragOver(d)}}},fl=function(r){k&&k.parentNode[rt]._isOutsideThisEl(r.target)};function ie(a,r){if(!(a&&a.nodeType&&a.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(a));this.el=a,this.options=r=Et({},r),a[rt]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(a.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Hr(a,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,i){e.setData("Text",i.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:ie.supportPointer!==!1&&"PointerEvent"in window&&!eo,emptyInsertThreshold:5};ao.initializePlugins(this,a,o);for(var d in o)!(d in r)&&(r[d]=o[d]);Yr(r);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=r.forceFallback?!1:dl,this.nativeDraggable&&(this.options.touchStartThreshold=1),r.supportPointer?ye(a,"pointerdown",this._onTapStart):(ye(a,"mousedown",this._onTapStart),ye(a,"touchstart",this._onTapStart)),this.nativeDraggable&&(ye(a,"dragover",this),ye(a,"dragenter",this)),Vo.push(this.el),r.store&&r.store.get&&this.sort(r.store.get(this)||[]),Et(this,il())}ie.prototype={constructor:ie,_isOutsideThisEl:function(r){!this.el.contains(r)&&r!==this.el&&(xn=null)},_getDirection:function(r,o){return typeof this.options.direction=="function"?this.options.direction.call(this,r,o,k):this.options.direction},_onTapStart:function(r){if(r.cancelable){var o=this,d=this.el,n=this.options,s=n.preventOnFilter,e=r.type,i=r.touches&&r.touches[0]||r.pointerType&&r.pointerType==="touch"&&r,l=(i||r).target,c=r.target.shadowRoot&&(r.path&&r.path[0]||r.composedPath&&r.composedPath()[0])||l,f=n.filter;if(Sl(d),!k&&!(/mousedown|pointerdown/.test(e)&&r.button!==0||n.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&eo&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=wt(l,n.draggable,d,!1),!(l&&l.animated)&&wo!==l)){if(An=Qe(l),no=Qe(l,n.draggable),typeof f=="function"){if(f.call(this,r,l,this)){dt({sortable:o,rootEl:c,name:"filter",targetEl:l,toEl:d,fromEl:d}),ct("filter",o,{evt:r}),s&&r.cancelable&&r.preventDefault();return}}else if(f&&(f=f.split(",").some(function(v){if(v=wt(c,v.trim(),d,!1),v)return dt({sortable:o,rootEl:v,name:"filter",targetEl:l,fromEl:d,toEl:d}),ct("filter",o,{evt:r}),!0}),f)){s&&r.cancelable&&r.preventDefault();return}n.handle&&!wt(c,n.handle,d,!1)||this._prepareDragStart(r,i,l)}}},_prepareDragStart:function(r,o,d){var n=this,s=n.el,e=n.options,i=s.ownerDocument,l;if(d&&!k&&d.parentNode===s){var c=Me(d);if(Ue=s,k=d,Le=k.parentNode,rn=k.nextSibling,wo=d,bo=e.group,ie.dragged=k,nn={target:k,clientX:(o||r).clientX,clientY:(o||r).clientY},Ur=nn.clientX-c.left,Mr=nn.clientY-c.top,this._lastX=(o||r).clientX,this._lastY=(o||r).clientY,k.style["will-change"]="all",l=function(){if(ct("delayEnded",n,{evt:r}),ie.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!Dr&&n.nativeDraggable&&(k.draggable=!0),n._triggerDragStart(r,o),dt({sortable:n,name:"choose",originalEvent:r}),Fe(k,e.chosenClass,!0)},e.ignore.split(",").forEach(function(f){zr(k,f.trim(),Yo)}),ye(i,"dragover",on),ye(i,"mousemove",on),ye(i,"touchmove",on),ye(i,"mouseup",n._onDrop),ye(i,"touchend",n._onDrop),ye(i,"touchcancel",n._onDrop),Dr&&this.nativeDraggable&&(this.options.touchStartThreshold=4,k.draggable=!0),ct("delayStart",this,{evt:r}),e.delay&&(!e.delayOnTouchOnly||o)&&(!this.nativeDraggable||!(io||jt))){if(ie.eventCanceled){this._onDrop();return}ye(i,"mouseup",n._disableDelayedDrag),ye(i,"touchend",n._disableDelayedDrag),ye(i,"touchcancel",n._disableDelayedDrag),ye(i,"mousemove",n._delayedDragTouchMoveHandler),ye(i,"touchmove",n._delayedDragTouchMoveHandler),e.supportPointer&&ye(i,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(l,e.delay)}else l()}},_delayedDragTouchMoveHandler:function(r){var o=r.touches?r.touches[0]:r;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(){k&&Yo(k),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var r=this.el.ownerDocument;me(r,"mouseup",this._disableDelayedDrag),me(r,"touchend",this._disableDelayedDrag),me(r,"touchcancel",this._disableDelayedDrag),me(r,"mousemove",this._delayedDragTouchMoveHandler),me(r,"touchmove",this._delayedDragTouchMoveHandler),me(r,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(r,o){o=o||r.pointerType=="touch"&&r,!this.nativeDraggable||o?this.options.supportPointer?ye(document,"pointermove",this._onTouchMove):o?ye(document,"touchmove",this._onTouchMove):ye(document,"mousemove",this._onTouchMove):(ye(k,"dragend",this),ye(Ue,"dragstart",this._onDragStart));try{document.selection?To(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(r,o){if(Cn=!1,Ue&&k){ct("dragStarted",this,{evt:o}),this.nativeDraggable&&ye(document,"dragover",fl);var d=this.options;!r&&Fe(k,d.dragClass,!1),Fe(k,d.ghostClass,!0),ie.active=this,r&&this._appendGhost(),dt({sortable:this,name:"start",originalEvent:o})}else this._nulling()},_emulateDragOver:function(){if(Ct){this._lastX=Ct.clientX,this._lastY=Ct.clientY,Xr();for(var r=document.elementFromPoint(Ct.clientX,Ct.clientY),o=r;r&&r.shadowRoot&&(r=r.shadowRoot.elementFromPoint(Ct.clientX,Ct.clientY),r!==o);)o=r;if(k.parentNode[rt]._isOutsideThisEl(r),o)do{if(o[rt]){var d=void 0;if(d=o[rt]._onDragOver({clientX:Ct.clientX,clientY:Ct.clientY,target:r,rootEl:o}),d&&!this.options.dragoverBubble)break}r=o}while(o=o.parentNode);Zr()}},_onTouchMove:function(r){if(nn){var o=this.options,d=o.fallbackTolerance,n=o.fallbackOffset,s=r.touches?r.touches[0]:r,e=ve&&an(ve,!0),i=ve&&e&&e.a,l=ve&&e&&e.d,c=Eo&&ot&&Vr(ot),f=(s.clientX-nn.clientX+n.x)/(i||1)+(c?c[0]-Ho[0]:0)/(i||1),v=(s.clientY-nn.clientY+n.y)/(l||1)+(c?c[1]-Ho[1]:0)/(l||1);if(!ie.active&&!Cn){if(d&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<d)return;this._onDragStart(r,!0)}if(ve){e?(e.e+=f-(Jo||0),e.f+=v-(Wo||0)):e={a:1,b:0,c:0,d:1,e:f,f:v};var g="matrix(".concat(e.a,",").concat(e.b,",").concat(e.c,",").concat(e.d,",").concat(e.e,",").concat(e.f,")");te(ve,"webkitTransform",g),te(ve,"mozTransform",g),te(ve,"msTransform",g),te(ve,"transform",g),Jo=f,Wo=v,Ct=s}r.cancelable&&r.preventDefault()}},_appendGhost:function(){if(!ve){var r=this.options.fallbackOnBody?document.body:Ue,o=Me(k,!0,Eo,!0,r),d=this.options;if(Eo){for(ot=r;te(ot,"position")==="static"&&te(ot,"transform")==="none"&&ot!==document;)ot=ot.parentNode;ot!==document.body&&ot!==document.documentElement?(ot===document&&(ot=Dt()),o.top+=ot.scrollTop,o.left+=ot.scrollLeft):ot=Dt(),Ho=Vr(ot)}ve=k.cloneNode(!0),Fe(ve,d.ghostClass,!1),Fe(ve,d.fallbackClass,!0),Fe(ve,d.dragClass,!0),te(ve,"transition",""),te(ve,"transform",""),te(ve,"box-sizing","border-box"),te(ve,"margin",0),te(ve,"top",o.top),te(ve,"left",o.left),te(ve,"width",o.width),te(ve,"height",o.height),te(ve,"opacity","0.8"),te(ve,"position",Eo?"absolute":"fixed"),te(ve,"zIndex","100000"),te(ve,"pointerEvents","none"),ie.ghost=ve,r.appendChild(ve),te(ve,"transform-origin",Ur/parseInt(ve.style.width)*100+"% "+Mr/parseInt(ve.style.height)*100+"%")}},_onDragStart:function(r,o){var d=this,n=r.dataTransfer,s=d.options;if(ct("dragStart",this,{evt:r}),ie.eventCanceled){this._onDrop();return}ct("setupClone",this),ie.eventCanceled||(ke=ir(k),ke.draggable=!1,ke.style["will-change"]="",this._hideClone(),Fe(ke,this.options.chosenClass,!1),ie.clone=ke),d.cloneId=To(function(){ct("clone",d),!ie.eventCanceled&&(d.options.removeCloneOnHide||Ue.insertBefore(ke,k),d._hideClone(),dt({sortable:d,name:"clone"}))}),!o&&Fe(k,s.dragClass,!0),o?(Ro=!0,d._loopId=setInterval(d._emulateDragOver,50)):(me(document,"mouseup",d._onDrop),me(document,"touchend",d._onDrop),me(document,"touchcancel",d._onDrop),n&&(n.effectAllowed="move",s.setData&&s.setData.call(d,n,k)),ye(document,"drop",d),te(k,"transform","translateZ(0)")),Cn=!0,d._dragStartId=To(d._dragStarted.bind(d,o,r)),ye(document,"selectstart",d),Zn=!0,eo&&te(document.body,"user-select","none")},_onDragOver:function(r){var o=this.el,d=r.target,n,s,e,i=this.options,l=i.group,c=ie.active,f=bo===l,v=i.sort,g=_e||c,h,y=this,E=!1;if(er)return;function x(Se,Ce){ct(Se,y,Pt({evt:r,isOwner:f,axis:h?"vertical":"horizontal",revert:e,dragRect:n,targetRect:s,canSort:v,fromSortable:g,target:d,completed:I,onMove:function(Ke,De){return xo(Ue,o,k,n,Ke,Me(Ke),r,De)},changed:V},Ce))}function T(){x("dragOverAnimationCapture"),y.captureAnimationState(),y!==g&&g.captureAnimationState()}function I(Se){return x("dragOverCompleted",{insertion:Se}),Se&&(f?c._hideClone():c._showClone(y),y!==g&&(Fe(k,_e?_e.options.ghostClass:c.options.ghostClass,!1),Fe(k,i.ghostClass,!0)),_e!==y&&y!==ie.active?_e=y:y===ie.active&&_e&&(_e=null),g===y&&(y._ignoreWhileAnimating=d),y.animateAll(function(){x("dragOverAnimationComplete"),y._ignoreWhileAnimating=null}),y!==g&&(g.animateAll(),g._ignoreWhileAnimating=null)),(d===k&&!k.animated||d===o&&!d.animated)&&(xn=null),!i.dragoverBubble&&!r.rootEl&&d!==document&&(k.parentNode[rt]._isOutsideThisEl(r.target),!Se&&on(r)),!i.dragoverBubble&&r.stopPropagation&&r.stopPropagation(),E=!0}function V(){mt=Qe(k),$t=Qe(k,i.draggable),dt({sortable:y,name:"change",toEl:o,newIndex:mt,newDraggableIndex:$t,originalEvent:r})}if(r.preventDefault!==void 0&&r.cancelable&&r.preventDefault(),d=wt(d,i.draggable,o,!0),x("dragOver"),ie.eventCanceled)return E;if(k.contains(r.target)||d.animated&&d.animatingX&&d.animatingY||y._ignoreWhileAnimating===d)return I(!1);if(Ro=!1,c&&!i.disabled&&(f?v||(e=Le!==Ue):_e===this||(this.lastPutMode=bo.checkPull(this,c,k,r))&&l.checkPut(this,c,k,r))){if(h=this._getDirection(r,d)==="vertical",n=Me(k),x("dragOverValid"),ie.eventCanceled)return E;if(e)return Le=Ue,T(),this._hideClone(),x("revert"),ie.eventCanceled||(rn?Ue.insertBefore(k,rn):Ue.appendChild(k)),I(!0);var P=rr(o,i.draggable);if(!P||gl(r,h,this)&&!P.animated){if(P===k)return I(!1);if(P&&o===r.target&&(d=P),d&&(s=Me(d)),xo(Ue,o,k,n,d,s,r,!!d)!==!1)return T(),o.appendChild(k),Le=o,V(),I(!0)}else if(P&&ml(r,h,this)){var K=wn(o,0,i,!0);if(K===k)return I(!1);if(d=K,s=Me(d),xo(Ue,o,k,n,d,s,r,!1)!==!1)return T(),o.insertBefore(k,K),Le=o,V(),I(!0)}else if(d.parentNode===o){s=Me(d);var R=0,W,H=k.parentNode!==o,w=!ul(k.animated&&k.toRect||n,d.animated&&d.toRect||s,h),z=h?"top":"left",X=Rr(d,"top","top")||Rr(k,"top","top"),se=X?X.scrollTop:void 0;xn!==d&&(W=s[z],ro=!1,So=!w&&i.invertSwap||H),R=hl(r,d,s,h,w?1:i.swapThreshold,i.invertedSwapThreshold==null?i.swapThreshold:i.invertedSwapThreshold,So,xn===d);var F;if(R!==0){var Q=Qe(k);do Q-=R,F=Le.children[Q];while(F&&(te(F,"display")==="none"||F===ve))}if(R===0||F===d)return I(!1);xn=d,oo=R;var le=d.nextElementSibling,$=!1;$=R===1;var _=xo(Ue,o,k,n,d,s,r,$);if(_!==!1)return(_===1||_===-1)&&($=_===1),er=!0,setTimeout(pl,30),T(),$&&!le?o.appendChild(k):d.parentNode.insertBefore(k,$?le:d),X&&Jr(X,0,se-X.scrollTop),Le=k.parentNode,W!==void 0&&!So&&(Oo=Math.abs(W-Me(d)[z])),V(),I(!0)}if(o.contains(k))return I(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){me(document,"mousemove",this._onTouchMove),me(document,"touchmove",this._onTouchMove),me(document,"pointermove",this._onTouchMove),me(document,"dragover",on),me(document,"mousemove",on),me(document,"touchmove",on)},_offUpEvents:function(){var r=this.el.ownerDocument;me(r,"mouseup",this._onDrop),me(r,"touchend",this._onDrop),me(r,"pointerup",this._onDrop),me(r,"touchcancel",this._onDrop),me(document,"selectstart",this)},_onDrop:function(r){var o=this.el,d=this.options;if(mt=Qe(k),$t=Qe(k,d.draggable),ct("drop",this,{evt:r}),Le=k&&k.parentNode,mt=Qe(k),$t=Qe(k,d.draggable),ie.eventCanceled){this._nulling();return}Cn=!1,So=!1,ro=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),tr(this.cloneId),tr(this._dragStartId),this.nativeDraggable&&(me(document,"drop",this),me(o,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),eo&&te(document.body,"user-select",""),te(k,"transform",""),r&&(Zn&&(r.cancelable&&r.preventDefault(),!d.dropBubble&&r.stopPropagation()),ve&&ve.parentNode&&ve.parentNode.removeChild(ve),(Ue===Le||_e&&_e.lastPutMode!=="clone")&&ke&&ke.parentNode&&ke.parentNode.removeChild(ke),k&&(this.nativeDraggable&&me(k,"dragend",this),Yo(k),k.style["will-change"]="",Zn&&!Cn&&Fe(k,_e?_e.options.ghostClass:this.options.ghostClass,!1),Fe(k,this.options.chosenClass,!1),dt({sortable:this,name:"unchoose",toEl:Le,newIndex:null,newDraggableIndex:null,originalEvent:r}),Ue!==Le?(mt>=0&&(dt({rootEl:Le,name:"add",toEl:Le,fromEl:Ue,originalEvent:r}),dt({sortable:this,name:"remove",toEl:Le,originalEvent:r}),dt({rootEl:Le,name:"sort",toEl:Le,fromEl:Ue,originalEvent:r}),dt({sortable:this,name:"sort",toEl:Le,originalEvent:r})),_e&&_e.save()):mt!==An&&mt>=0&&(dt({sortable:this,name:"update",toEl:Le,originalEvent:r}),dt({sortable:this,name:"sort",toEl:Le,originalEvent:r})),ie.active&&((mt==null||mt===-1)&&(mt=An,$t=no),dt({sortable:this,name:"end",toEl:Le,originalEvent:r}),this.save()))),this._nulling()},_nulling:function(){ct("nulling",this),Ue=k=Le=ve=rn=ke=wo=Jt=nn=Ct=Zn=mt=$t=An=no=xn=oo=_e=bo=ie.dragged=ie.ghost=ie.clone=ie.active=null,Ko.forEach(function(r){r.checked=!0}),Ko.length=Jo=Wo=0},handleEvent:function(r){switch(r.type){case"drop":case"dragend":this._onDrop(r);break;case"dragenter":case"dragover":k&&(this._onDragOver(r),vl(r));break;case"selectstart":r.preventDefault();break}},toArray:function(){for(var r=[],o,d=this.el.children,n=0,s=d.length,e=this.options;n<s;n++)o=d[n],wt(o,e.draggable,this.el,!1)&&r.push(o.getAttribute(e.dataIdAttr)||bl(o));return r},sort:function(r,o){var d={},n=this.el;this.toArray().forEach(function(s,e){var i=n.children[e];wt(i,this.options.draggable,n,!1)&&(d[s]=i)},this),o&&this.captureAnimationState(),r.forEach(function(s){d[s]&&(n.removeChild(d[s]),n.appendChild(d[s]))}),o&&this.animateAll()},save:function(){var r=this.options.store;r&&r.set&&r.set(this)},closest:function(r,o){return wt(r,o||this.options.draggable,this.el,!1)},option:function(r,o){var d=this.options;if(o===void 0)return d[r];var n=ao.modifyOption(this,r,o);typeof n<"u"?d[r]=n:d[r]=o,r==="group"&&Yr(d)},destroy:function(){ct("destroy",this);var r=this.el;r[rt]=null,me(r,"mousedown",this._onTapStart),me(r,"touchstart",this._onTapStart),me(r,"pointerdown",this._onTapStart),this.nativeDraggable&&(me(r,"dragover",this),me(r,"dragenter",this)),Array.prototype.forEach.call(r.querySelectorAll("[draggable]"),function(o){o.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Vo.splice(Vo.indexOf(this.el),1),this.el=r=null},_hideClone:function(){if(!Jt){if(ct("hideClone",this),ie.eventCanceled)return;te(ke,"display","none"),this.options.removeCloneOnHide&&ke.parentNode&&ke.parentNode.removeChild(ke),Jt=!0}},_showClone:function(r){if(r.lastPutMode!=="clone"){this._hideClone();return}if(Jt){if(ct("showClone",this),ie.eventCanceled)return;k.parentNode==Ue&&!this.options.group.revertClone?Ue.insertBefore(ke,k):rn?Ue.insertBefore(ke,rn):Ue.appendChild(ke),this.options.group.revertClone&&this.animate(k,ke),te(ke,"display",""),Jt=!1}}};function vl(a){a.dataTransfer&&(a.dataTransfer.dropEffect="move"),a.cancelable&&a.preventDefault()}function xo(a,r,o,d,n,s,e,i){var l,c=a[rt],f=c.options.onMove,v;return window.CustomEvent&&!jt&&!io?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=r,l.from=a,l.dragged=o,l.draggedRect=d,l.related=n||r,l.relatedRect=s||Me(r),l.willInsertAfter=i,l.originalEvent=e,a.dispatchEvent(l),f&&(v=f.call(c,l,e)),v}function Yo(a){a.draggable=!1}function pl(){er=!1}function ml(a,r,o){var d=Me(wn(o.el,0,o.options,!0)),n=10;return r?a.clientX<d.left-n||a.clientY<d.top&&a.clientX<d.right:a.clientY<d.top-n||a.clientY<d.bottom&&a.clientX<d.left}function gl(a,r,o){var d=Me(rr(o.el,o.options.draggable)),n=10;return r?a.clientX>d.right+n||a.clientX<=d.right&&a.clientY>d.bottom&&a.clientX>=d.left:a.clientX>d.right&&a.clientY>d.top||a.clientX<=d.right&&a.clientY>d.bottom+n}function hl(a,r,o,d,n,s,e,i){var l=d?a.clientY:a.clientX,c=d?o.height:o.width,f=d?o.top:o.left,v=d?o.bottom:o.right,g=!1;if(!e){if(i&&Oo<c*n){if(!ro&&(oo===1?l>f+c*s/2:l<v-c*s/2)&&(ro=!0),ro)g=!0;else if(oo===1?l<f+Oo:l>v-Oo)return-oo}else if(l>f+c*(1-n)/2&&l<v-c*(1-n)/2)return yl(r)}return g=g||e,g&&(l<f+c*s/2||l>v-c*s/2)?l>f+c/2?1:-1:0}function yl(a){return Qe(k)<Qe(a)?1:-1}function bl(a){for(var r=a.tagName+a.className+a.src+a.href+a.textContent,o=r.length,d=0;o--;)d+=r.charCodeAt(o);return d.toString(36)}function Sl(a){Ko.length=0;for(var r=a.getElementsByTagName("input"),o=r.length;o--;){var d=r[o];d.checked&&Ko.push(d)}}function To(a){return setTimeout(a,0)}function tr(a){return clearTimeout(a)}Mo&&ye(document,"touchmove",function(a){(ie.active||Cn)&&a.cancelable&&a.preventDefault()});ie.utils={on:ye,off:me,css:te,find:zr,is:function(r,o){return!!wt(r,o,r,!1)},extend:ol,throttle:$r,closest:wt,toggleClass:Fe,clone:ir,index:Qe,nextTick:To,cancelNextTick:tr,detectDirection:Hr,getChild:wn};ie.get=function(a){return a[rt]};ie.mount=function(){for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];r[0].constructor===Array&&(r=r[0]),r.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&&(ie.utils=Pt(Pt({},ie.utils),d.utils)),ao.mount(d)})};ie.create=function(a,r){return new ie(a,r)};ie.version=_a;var ze=[],qn,nr,or=!1,Xo,Zo,Uo,_n;function El(){function a(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var r in this)r.charAt(0)==="_"&&typeof this[r]=="function"&&(this[r]=this[r].bind(this))}return a.prototype={dragStarted:function(o){var d=o.originalEvent;this.sortable.nativeDraggable?ye(document,"dragover",this._handleAutoScroll):this.options.supportPointer?ye(document,"pointermove",this._handleFallbackAutoScroll):d.touches?ye(document,"touchmove",this._handleFallbackAutoScroll):ye(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(o){var d=o.originalEvent;!this.options.dragOverBubble&&!d.rootEl&&this._handleAutoScroll(d)},drop:function(){this.sortable.nativeDraggable?me(document,"dragover",this._handleAutoScroll):(me(document,"pointermove",this._handleFallbackAutoScroll),me(document,"touchmove",this._handleFallbackAutoScroll),me(document,"mousemove",this._handleFallbackAutoScroll)),Nr(),Do(),rl()},nulling:function(){Uo=nr=qn=or=_n=Xo=Zo=null,ze.length=0},_handleFallbackAutoScroll:function(o){this._handleAutoScroll(o,!0)},_handleAutoScroll:function(o,d){var n=this,s=(o.touches?o.touches[0]:o).clientX,e=(o.touches?o.touches[0]:o).clientY,i=document.elementFromPoint(s,e);if(Uo=o,d||this.options.forceAutoScrollFallback||io||jt||eo){qo(o,this.options,i,d);var l=Wt(i,!0);or&&(!_n||s!==Xo||e!==Zo)&&(_n&&Nr(),_n=setInterval(function(){var c=Wt(document.elementFromPoint(s,e),!0);c!==l&&(l=c,Do()),qo(o,n.options,c,d)},10),Xo=s,Zo=e)}else{if(!this.options.bubbleScroll||Wt(i,!0)===Dt()){Do();return}qo(o,this.options,Wt(i,!1),!1)}}},Et(a,{pluginName:"scroll",initializeByDefault:!0})}function Do(){ze.forEach(function(a){clearInterval(a.pid)}),ze=[]}function Nr(){clearInterval(_n)}var qo=$r(function(a,r,o,d){if(r.scroll){var n=(a.touches?a.touches[0]:a).clientX,s=(a.touches?a.touches[0]:a).clientY,e=r.scrollSensitivity,i=r.scrollSpeed,l=Dt(),c=!1,f;nr!==o&&(nr=o,Do(),qn=r.scroll,f=r.scrollFn,qn===!0&&(qn=Wt(o,!0)));var v=0,g=qn;do{var h=g,y=Me(h),E=y.top,x=y.bottom,T=y.left,I=y.right,V=y.width,P=y.height,K=void 0,R=void 0,W=h.scrollWidth,H=h.scrollHeight,w=te(h),z=h.scrollLeft,X=h.scrollTop;h===l?(K=V<W&&(w.overflowX==="auto"||w.overflowX==="scroll"||w.overflowX==="visible"),R=P<H&&(w.overflowY==="auto"||w.overflowY==="scroll"||w.overflowY==="visible")):(K=V<W&&(w.overflowX==="auto"||w.overflowX==="scroll"),R=P<H&&(w.overflowY==="auto"||w.overflowY==="scroll"));var se=K&&(Math.abs(I-n)<=e&&z+V<W)-(Math.abs(T-n)<=e&&!!z),F=R&&(Math.abs(x-s)<=e&&X+P<H)-(Math.abs(E-s)<=e&&!!X);if(!ze[v])for(var Q=0;Q<=v;Q++)ze[Q]||(ze[Q]={});(ze[v].vx!=se||ze[v].vy!=F||ze[v].el!==h)&&(ze[v].el=h,ze[v].vx=se,ze[v].vy=F,clearInterval(ze[v].pid),(se!=0||F!=0)&&(c=!0,ze[v].pid=setInterval((function(){d&&this.layer===0&&ie.active._onTouchMove(Uo);var le=ze[this.layer].vy?ze[this.layer].vy*i:0,$=ze[this.layer].vx?ze[this.layer].vx*i:0;typeof f=="function"&&f.call(ie.dragged.parentNode[rt],$,le,a,Uo,ze[this.layer].el)!=="continue"||Jr(ze[this.layer].el,$,le)}).bind({layer:v}),24))),v++}while(r.bubbleScroll&&g!==l&&(g=Wt(g,!1)));or=c}},30),qr=function(r){var o=r.originalEvent,d=r.putSortable,n=r.dragEl,s=r.activeSortable,e=r.dispatchSortableEvent,i=r.hideGhostForTarget,l=r.unhideGhostForTarget;if(o){var c=d||s;i();var f=o.changedTouches&&o.changedTouches.length?o.changedTouches[0]:o,v=document.elementFromPoint(f.clientX,f.clientY);l(),c&&!c.el.contains(v)&&(e("spill"),this.onSpill({dragEl:n,putSortable:d}))}};function ar(){}ar.prototype={startIndex:null,dragStart:function(r){var o=r.oldDraggableIndex;this.startIndex=o},onSpill:function(r){var o=r.dragEl,d=r.putSortable;this.sortable.captureAnimationState(),d&&d.captureAnimationState();var n=wn(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:qr};Et(ar,{pluginName:"revertOnSpill"});function lr(){}lr.prototype={onSpill:function(r){var o=r.dragEl,d=r.putSortable,n=d||this.sortable;n.captureAnimationState(),o.parentNode&&o.parentNode.removeChild(o),n.animateAll()},drop:qr};Et(lr,{pluginName:"removeOnSpill"});var St;function xl(){function a(){this.defaults={swapClass:"sortable-swap-highlight"}}return a.prototype={dragStart:function(o){var d=o.dragEl;St=d},dragOverValid:function(o){var d=o.completed,n=o.target,s=o.onMove,e=o.activeSortable,i=o.changed,l=o.cancel;if(e.options.swap){var c=this.sortable.el,f=this.options;if(n&&n!==c){var v=St;s(n)!==!1?(Fe(n,f.swapClass,!0),St=n):St=null,v&&v!==St&&Fe(v,f.swapClass,!1)}i(),d(!0),l()}},drop:function(o){var d=o.activeSortable,n=o.putSortable,s=o.dragEl,e=n||this.sortable,i=this.options;St&&Fe(St,i.swapClass,!1),St&&(i.swap||n&&n.options.swap)&&s!==St&&(e.captureAnimationState(),e!==d&&d.captureAnimationState(),Il(s,St),e.animateAll(),e!==d&&d.animateAll())},nulling:function(){St=null}},Et(a,{pluginName:"swap",eventProperties:function(){return{swapItem:St}}})}function Il(a,r){var o=a.parentNode,d=r.parentNode,n,s;!o||!d||o.isEqualNode(r)||d.isEqualNode(a)||(n=Qe(a),s=Qe(r),o.isEqualNode(d)&&n<s&&s++,o.insertBefore(r,o.children[n]),d.insertBefore(a,d.children[s]))}var ce=[],pt=[],Wn,At,Hn=!1,ft=!1,In=!1,Te,Yn,Io;function Cl(){function a(r){for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));r.options.supportPointer?ye(document,"pointerup",this._deselectMultiDrag):(ye(document,"mouseup",this._deselectMultiDrag),ye(document,"touchend",this._deselectMultiDrag)),ye(document,"keydown",this._checkKeyDown),ye(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(n,s){var e="";ce.length&&At===r?ce.forEach(function(i,l){e+=(l?", ":"")+i.textContent}):e=s.textContent,n.setData("Text",e)}}}return a.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(o){var d=o.dragEl;Te=d},delayEnded:function(){this.isMultiDrag=~ce.indexOf(Te)},setupClone:function(o){var d=o.sortable,n=o.cancel;if(this.isMultiDrag){for(var s=0;s<ce.length;s++)pt.push(ir(ce[s])),pt[s].sortableIndex=ce[s].sortableIndex,pt[s].draggable=!1,pt[s].style["will-change"]="",Fe(pt[s],this.options.selectedClass,!1),ce[s]===Te&&Fe(pt[s],this.options.chosenClass,!1);d._hideClone(),n()}},clone:function(o){var d=o.sortable,n=o.rootEl,s=o.dispatchSortableEvent,e=o.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||ce.length&&At===d&&(jr(!0,n),s("clone"),e()))},showClone:function(o){var d=o.cloneNowShown,n=o.rootEl,s=o.cancel;this.isMultiDrag&&(jr(!1,n),pt.forEach(function(e){te(e,"display","")}),d(),Io=!1,s())},hideClone:function(o){var d=this;o.sortable;var n=o.cloneNowHidden,s=o.cancel;this.isMultiDrag&&(pt.forEach(function(e){te(e,"display","none"),d.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)}),n(),Io=!0,s())},dragStartGlobal:function(o){o.sortable,!this.isMultiDrag&&At&&At.multiDrag._deselectMultiDrag(),ce.forEach(function(d){d.sortableIndex=Qe(d)}),ce=ce.sort(function(d,n){return d.sortableIndex-n.sortableIndex}),In=!0},dragStarted:function(o){var d=this,n=o.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){ce.forEach(function(e){e!==Te&&te(e,"position","absolute")});var s=Me(Te,!1,!0,!0);ce.forEach(function(e){e!==Te&&Kr(e,s)}),ft=!0,Hn=!0}n.animateAll(function(){ft=!1,Hn=!1,d.options.animation&&ce.forEach(function(e){zo(e)}),d.options.sort&&Co()})}},dragOver:function(o){var d=o.target,n=o.completed,s=o.cancel;ft&&~ce.indexOf(d)&&(n(!1),s())},revert:function(o){var d=o.fromSortable,n=o.rootEl,s=o.sortable,e=o.dragRect;ce.length>1&&(ce.forEach(function(i){s.addAnimationState({target:i,rect:ft?Me(i):e}),zo(i),i.fromRect=e,d.removeAnimationState(i)}),ft=!1,Al(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(o){var d=o.sortable,n=o.isOwner,s=o.insertion,e=o.activeSortable,i=o.parentEl,l=o.putSortable,c=this.options;if(s){if(n&&e._hideClone(),Hn=!1,c.animation&&ce.length>1&&(ft||!n&&!e.options.sort&&!l)){var f=Me(Te,!1,!0,!0);ce.forEach(function(g){g!==Te&&(Kr(g,f),i.appendChild(g))}),ft=!0}if(!n)if(ft||Co(),ce.length>1){var v=Io;e._showClone(d),e.options.animation&&!Io&&v&&pt.forEach(function(g){e.addAnimationState({target:g,rect:Yn}),g.fromRect=Yn,g.thisAnimationDuration=null})}else e._showClone(d)}},dragOverAnimationCapture:function(o){var d=o.dragRect,n=o.isOwner,s=o.activeSortable;if(ce.forEach(function(i){i.thisAnimationDuration=null}),s.options.animation&&!n&&s.multiDrag.isMultiDrag){Yn=Et({},d);var e=an(Te,!0);Yn.top-=e.f,Yn.left-=e.e}},dragOverAnimationComplete:function(){ft&&(ft=!1,Co())},drop:function(o){var d=o.originalEvent,n=o.rootEl,s=o.parentEl,e=o.sortable,i=o.dispatchSortableEvent,l=o.oldIndex,c=o.putSortable,f=c||this.sortable;if(d){var v=this.options,g=s.children;if(!In)if(v.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Fe(Te,v.selectedClass,!~ce.indexOf(Te)),~ce.indexOf(Te))ce.splice(ce.indexOf(Te),1),Wn=null,Xn({sortable:e,rootEl:n,name:"deselect",targetEl:Te});else{if(ce.push(Te),Xn({sortable:e,rootEl:n,name:"select",targetEl:Te}),d.shiftKey&&Wn&&e.el.contains(Wn)){var h=Qe(Wn),y=Qe(Te);if(~h&&~y&&h!==y){var E,x;for(y>h?(x=h,E=y):(x=y,E=h+1);x<E;x++)~ce.indexOf(g[x])||(Fe(g[x],v.selectedClass,!0),ce.push(g[x]),Xn({sortable:e,rootEl:n,name:"select",targetEl:g[x]}))}}else Wn=Te;At=f}if(In&&this.isMultiDrag){if(ft=!1,(s[rt].options.sort||s!==n)&&ce.length>1){var T=Me(Te),I=Qe(Te,":not(."+this.options.selectedClass+")");if(!Hn&&v.animation&&(Te.thisAnimationDuration=null),f.captureAnimationState(),!Hn&&(v.animation&&(Te.fromRect=T,ce.forEach(function(P){if(P.thisAnimationDuration=null,P!==Te){var K=ft?Me(P):T;P.fromRect=K,f.addAnimationState({target:P,rect:K})}})),Co(),ce.forEach(function(P){g[I]?s.insertBefore(P,g[I]):s.appendChild(P),I++}),l===Qe(Te))){var V=!1;ce.forEach(function(P){if(P.sortableIndex!==Qe(P)){V=!0;return}}),V&&i("update")}ce.forEach(function(P){zo(P)}),f.animateAll()}At=f}(n===s||c&&c.lastPutMode!=="clone")&&pt.forEach(function(P){P.parentNode&&P.parentNode.removeChild(P)})}},nullingGlobal:function(){this.isMultiDrag=In=!1,pt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),me(document,"pointerup",this._deselectMultiDrag),me(document,"mouseup",this._deselectMultiDrag),me(document,"touchend",this._deselectMultiDrag),me(document,"keydown",this._checkKeyDown),me(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(o){if(!(typeof In<"u"&&In)&&At===this.sortable&&!(o&&wt(o.target,this.options.draggable,this.sortable.el,!1))&&!(o&&o.button!==0))for(;ce.length;){var d=ce[0];Fe(d,this.options.selectedClass,!1),ce.shift(),Xn({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)}},Et(a,{pluginName:"multiDrag",utils:{select:function(o){var d=o.parentNode[rt];!d||!d.options.multiDrag||~ce.indexOf(o)||(At&&At!==d&&(At.multiDrag._deselectMultiDrag(),At=d),Fe(o,d.options.selectedClass,!0),ce.push(o))},deselect:function(o){var d=o.parentNode[rt],n=ce.indexOf(o);!d||!d.options.multiDrag||!~n||(Fe(o,d.options.selectedClass,!1),ce.splice(n,1))}},eventProperties:function(){var o=this,d=[],n=[];return ce.forEach(function(s){d.push({multiDragElement:s,index:s.sortableIndex});var e;ft&&s!==Te?e=-1:ft?e=Qe(s,":not(."+o.options.selectedClass+")"):e=Qe(s),n.push({multiDragElement:s,index:e})}),{items:Ha(ce),clones:[].concat(pt),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 Al(a,r){ce.forEach(function(o,d){var n=r.children[o.sortableIndex+(a?Number(d):0)];n?r.insertBefore(o,n):r.appendChild(o)})}function jr(a,r){pt.forEach(function(o,d){var n=r.children[o.sortableIndex+(a?Number(d):0)];n?r.insertBefore(o,n):r.appendChild(o)})}function Co(){ce.forEach(function(a){a!==Te&&a.parentNode&&a.parentNode.removeChild(a)})}ie.mount(new El);ie.mount(lr,ar);const wl=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Cl,Sortable:ie,Swap:xl,default:ie},Symbol.toStringTag,{value:"Module"})),Ol=Da(wl);(function(a,r){(function(d,n){a.exports=n(Ra,Ol)})(typeof self<"u"?self:Va,function(o,d){return function(n){var s={};function e(i){if(s[i])return s[i].exports;var l=s[i]={i,l:!1,exports:{}};return n[i].call(l.exports,l,l.exports,e),l.l=!0,l.exports}return e.m=n,e.c=s,e.d=function(i,l,c){e.o(i,l)||Object.defineProperty(i,l,{enumerable:!0,get:c})},e.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},e.t=function(i,l){if(l&1&&(i=e(i)),l&8||l&4&&typeof i=="object"&&i&&i.__esModule)return i;var c=Object.create(null);if(e.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:i}),l&2&&typeof i!="string")for(var f in i)e.d(c,f,(function(v){return i[v]}).bind(null,f));return c},e.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return e.d(l,"a",l),l},e.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},e.p="",e(e.s="fb15")}({"00ee":function(n,s,e){var i=e("b622"),l=i("toStringTag"),c={};c[l]="z",n.exports=String(c)==="[object z]"},"0366":function(n,s,e){var i=e("1c0b");n.exports=function(l,c,f){if(i(l),c===void 0)return l;switch(f){case 0:return function(){return l.call(c)};case 1:return function(v){return l.call(c,v)};case 2:return function(v,g){return l.call(c,v,g)};case 3:return function(v,g,h){return l.call(c,v,g,h)}}return function(){return l.apply(c,arguments)}}},"057f":function(n,s,e){var i=e("fc6a"),l=e("241c").f,c={}.toString,f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],v=function(g){try{return l(g)}catch{return f.slice()}};n.exports.f=function(h){return f&&c.call(h)=="[object Window]"?v(h):l(i(h))}},"06cf":function(n,s,e){var i=e("83ab"),l=e("d1e7"),c=e("5c6c"),f=e("fc6a"),v=e("c04e"),g=e("5135"),h=e("0cfb"),y=Object.getOwnPropertyDescriptor;s.f=i?y:function(x,T){if(x=f(x),T=v(T,!0),h)try{return y(x,T)}catch{}if(g(x,T))return c(!l.f.call(x,T),x[T])}},"0cfb":function(n,s,e){var i=e("83ab"),l=e("d039"),c=e("cc12");n.exports=!i&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(n,s,e){var i=e("23e7"),l=e("d58f").left,c=e("a640"),f=e("ae40"),v=c("reduce"),g=f("reduce",{1:0});i({target:"Array",proto:!0,forced:!v||!g},{reduce:function(y){return l(this,y,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(n,s,e){var i=e("c6b6"),l=e("9263");n.exports=function(c,f){var v=c.exec;if(typeof v=="function"){var g=v.call(c,f);if(typeof g!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return g}if(i(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,f)}},"159b":function(n,s,e){var i=e("da84"),l=e("fdbc"),c=e("17c2"),f=e("9112");for(var v in l){var g=i[v],h=g&&g.prototype;if(h&&h.forEach!==c)try{f(h,"forEach",c)}catch{h.forEach=c}}},"17c2":function(n,s,e){var i=e("b727").forEach,l=e("a640"),c=e("ae40"),f=l("forEach"),v=c("forEach");n.exports=!f||!v?function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(n,s,e){var i=e("d066");n.exports=i("document","documentElement")},"1c0b":function(n,s){n.exports=function(e){if(typeof e!="function")throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(n,s,e){var i=e("b622"),l=i("iterator"),c=!1;try{var f=0,v={next:function(){return{done:!!f++}},return:function(){c=!0}};v[l]=function(){return this},Array.from(v,function(){throw 2})}catch{}n.exports=function(g,h){if(!h&&!c)return!1;var y=!1;try{var E={};E[l]=function(){return{next:function(){return{done:y=!0}}}},g(E)}catch{}return y}},"1d80":function(n,s){n.exports=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e}},"1dde":function(n,s,e){var i=e("d039"),l=e("b622"),c=e("2d00"),f=l("species");n.exports=function(v){return c>=51||!i(function(){var g=[],h=g.constructor={};return h[f]=function(){return{foo:1}},g[v](Boolean).foo!==1})}},"23cb":function(n,s,e){var i=e("a691"),l=Math.max,c=Math.min;n.exports=function(f,v){var g=i(f);return g<0?l(g+v,0):c(g,v)}},"23e7":function(n,s,e){var i=e("da84"),l=e("06cf").f,c=e("9112"),f=e("6eeb"),v=e("ce4e"),g=e("e893"),h=e("94ca");n.exports=function(y,E){var x=y.target,T=y.global,I=y.stat,V,P,K,R,W,H;if(T?P=i:I?P=i[x]||v(x,{}):P=(i[x]||{}).prototype,P)for(K in E){if(W=E[K],y.noTargetGet?(H=l(P,K),R=H&&H.value):R=P[K],V=h(T?K:x+(I?".":"#")+K,y.forced),!V&&R!==void 0){if(typeof W==typeof R)continue;g(W,R)}(y.sham||R&&R.sham)&&c(W,"sham",!0),f(P,K,W,y)}}},"241c":function(n,s,e){var i=e("ca84"),l=e("7839"),c=l.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(v){return i(v,c)}},"25f0":function(n,s,e){var i=e("6eeb"),l=e("825a"),c=e("d039"),f=e("ad6d"),v="toString",g=RegExp.prototype,h=g[v],y=c(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),E=h.name!=v;(y||E)&&i(RegExp.prototype,v,function(){var T=l(this),I=String(T.source),V=T.flags,P=String(V===void 0&&T instanceof RegExp&&!("flags"in g)?f.call(T):V);return"/"+I+"/"+P},{unsafe:!0})},"2ca0":function(n,s,e){var i=e("23e7"),l=e("06cf").f,c=e("50c4"),f=e("5a34"),v=e("1d80"),g=e("ab13"),h=e("c430"),y="".startsWith,E=Math.min,x=g("startsWith"),T=!h&&!x&&!!function(){var I=l(String.prototype,"startsWith");return I&&!I.writable}();i({target:"String",proto:!0,forced:!T&&!x},{startsWith:function(V){var P=String(v(this));f(V);var K=c(E(arguments.length>1?arguments[1]:void 0,P.length)),R=String(V);return y?y.call(P,R,K):P.slice(K,K+R.length)===R}})},"2d00":function(n,s,e){var i=e("da84"),l=e("342f"),c=i.process,f=c&&c.versions,v=f&&f.v8,g,h;v?(g=v.split("."),h=g[0]+g[1]):l&&(g=l.match(/Edge\/(\d+)/),(!g||g[1]>=74)&&(g=l.match(/Chrome\/(\d+)/),g&&(h=g[1]))),n.exports=h&&+h},"342f":function(n,s,e){var i=e("d066");n.exports=i("navigator","userAgent")||""},"35a1":function(n,s,e){var i=e("f5df"),l=e("3f8c"),c=e("b622"),f=c("iterator");n.exports=function(v){if(v!=null)return v[f]||v["@@iterator"]||l[i(v)]}},"37e8":function(n,s,e){var i=e("83ab"),l=e("9bf2"),c=e("825a"),f=e("df75");n.exports=i?Object.defineProperties:function(g,h){c(g);for(var y=f(h),E=y.length,x=0,T;E>x;)l.f(g,T=y[x++],h[T]);return g}},"3bbe":function(n,s,e){var i=e("861d");n.exports=function(l){if(!i(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(n,s,e){var i=e("6547").charAt,l=e("69f3"),c=e("7dd0"),f="String Iterator",v=l.set,g=l.getterFor(f);c(String,"String",function(h){v(this,{type:f,string:String(h),index:0})},function(){var y=g(this),E=y.string,x=y.index,T;return x>=E.length?{value:void 0,done:!0}:(T=i(E,x),y.index+=T.length,{value:T,done:!1})})},"3f8c":function(n,s){n.exports={}},4160:function(n,s,e){var i=e("23e7"),l=e("17c2");i({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(n,s,e){var i=e("da84");n.exports=i},"44ad":function(n,s,e){var i=e("d039"),l=e("c6b6"),c="".split;n.exports=i(function(){return!Object("z").propertyIsEnumerable(0)})?function(f){return l(f)=="String"?c.call(f,""):Object(f)}:Object},"44d2":function(n,s,e){var i=e("b622"),l=e("7c73"),c=e("9bf2"),f=i("unscopables"),v=Array.prototype;v[f]==null&&c.f(v,f,{configurable:!0,value:l(null)}),n.exports=function(g){v[f][g]=!0}},"44e7":function(n,s,e){var i=e("861d"),l=e("c6b6"),c=e("b622"),f=c("match");n.exports=function(v){var g;return i(v)&&((g=v[f])!==void 0?!!g:l(v)=="RegExp")}},4930:function(n,s,e){var i=e("d039");n.exports=!!Object.getOwnPropertySymbols&&!i(function(){return!String(Symbol())})},"4d64":function(n,s,e){var i=e("fc6a"),l=e("50c4"),c=e("23cb"),f=function(v){return function(g,h,y){var E=i(g),x=l(E.length),T=c(y,x),I;if(v&&h!=h){for(;x>T;)if(I=E[T++],I!=I)return!0}else for(;x>T;T++)if((v||T in E)&&E[T]===h)return v||T||0;return!v&&-1}};n.exports={includes:f(!0),indexOf:f(!1)}},"4de4":function(n,s,e){var i=e("23e7"),l=e("b727").filter,c=e("1dde"),f=e("ae40"),v=c("filter"),g=f("filter");i({target:"Array",proto:!0,forced:!v||!g},{filter:function(y){return l(this,y,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(n,s,e){var i=e("0366"),l=e("7b0b"),c=e("9bdd"),f=e("e95a"),v=e("50c4"),g=e("8418"),h=e("35a1");n.exports=function(E){var x=l(E),T=typeof this=="function"?this:Array,I=arguments.length,V=I>1?arguments[1]:void 0,P=V!==void 0,K=h(x),R=0,W,H,w,z,X,se;if(P&&(V=i(V,I>2?arguments[2]:void 0,2)),K!=null&&!(T==Array&&f(K)))for(z=K.call(x),X=z.next,H=new T;!(w=X.call(z)).done;R++)se=P?c(z,V,[w.value,R],!0):w.value,g(H,R,se);else for(W=v(x.length),H=new T(W);W>R;R++)se=P?V(x[R],R):x[R],g(H,R,se);return H.length=R,H}},"4fad":function(n,s,e){var i=e("23e7"),l=e("6f53").entries;i({target:"Object",stat:!0},{entries:function(f){return l(f)}})},"50c4":function(n,s,e){var i=e("a691"),l=Math.min;n.exports=function(c){return c>0?l(i(c),9007199254740991):0}},5135:function(n,s){var e={}.hasOwnProperty;n.exports=function(i,l){return e.call(i,l)}},5319:function(n,s,e){var i=e("d784"),l=e("825a"),c=e("7b0b"),f=e("50c4"),v=e("a691"),g=e("1d80"),h=e("8aa5"),y=e("14c3"),E=Math.max,x=Math.min,T=Math.floor,I=/\$([$&'`]|\d\d?|<[^>]*>)/g,V=/\$([$&'`]|\d\d?)/g,P=function(K){return K===void 0?K:String(K)};i("replace",2,function(K,R,W,H){var w=H.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,z=H.REPLACE_KEEPS_$0,X=w?"$":"$0";return[function(Q,le){var $=g(this),_=Q==null?void 0:Q[K];return _!==void 0?_.call(Q,$,le):R.call(String($),Q,le)},function(F,Q){if(!w&&z||typeof Q=="string"&&Q.indexOf(X)===-1){var le=W(R,F,this,Q);if(le.done)return le.value}var $=l(F),_=String(this),Se=typeof Q=="function";Se||(Q=String(Q));var Ce=$.global;if(Ce){var Be=$.unicode;$.lastIndex=0}for(var Ke=[];;){var De=y($,_);if(De===null||(Ke.push(De),!Ce))break;var Ge=String(De[0]);Ge===""&&($.lastIndex=h(_,f($.lastIndex),Be))}for(var Pe="",Ee=0,we=0;we<Ke.length;we++){De=Ke[we];for(var Re=String(De[0]),it=E(x(v(De.index),_.length),0),Ze=[],Ot=1;Ot<De.length;Ot++)Ze.push(P(De[Ot]));var Rt=De.groups;if(Se){var Tt=[Re].concat(Ze,it,_);Rt!==void 0&&Tt.push(Rt);var $e=String(Q.apply(void 0,Tt))}else $e=se(Re,_,it,Ze,Rt,Q);it>=Ee&&(Pe+=_.slice(Ee,it)+$e,Ee=it+Re.length)}return Pe+_.slice(Ee)}];function se(F,Q,le,$,_,Se){var Ce=le+F.length,Be=$.length,Ke=V;return _!==void 0&&(_=c(_),Ke=I),R.call(Se,Ke,function(De,Ge){var Pe;switch(Ge.charAt(0)){case"$":return"$";case"&":return F;case"`":return Q.slice(0,le);case"'":return Q.slice(Ce);case"<":Pe=_[Ge.slice(1,-1)];break;default:var Ee=+Ge;if(Ee===0)return De;if(Ee>Be){var we=T(Ee/10);return we===0?De:we<=Be?$[we-1]===void 0?Ge.charAt(1):$[we-1]+Ge.charAt(1):De}Pe=$[Ee-1]}return Pe===void 0?"":Pe})}})},5692:function(n,s,e){var i=e("c430"),l=e("c6cd");(n.exports=function(c,f){return l[c]||(l[c]=f!==void 0?f:{})})("versions",[]).push({version:"3.6.5",mode:i?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(n,s,e){var i=e("d066"),l=e("241c"),c=e("7418"),f=e("825a");n.exports=i("Reflect","ownKeys")||function(g){var h=l.f(f(g)),y=c.f;return y?h.concat(y(g)):h}},"5a34":function(n,s,e){var i=e("44e7");n.exports=function(l){if(i(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(n,s){n.exports=function(e,i){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:i}}},"5db7":function(n,s,e){var i=e("23e7"),l=e("a2bf"),c=e("7b0b"),f=e("50c4"),v=e("1c0b"),g=e("65f0");i({target:"Array",proto:!0},{flatMap:function(y){var E=c(this),x=f(E.length),T;return v(y),T=g(E,0),T.length=l(T,E,E,x,0,1,y,arguments.length>1?arguments[1]:void 0),T}})},6547:function(n,s,e){var i=e("a691"),l=e("1d80"),c=function(f){return function(v,g){var h=String(l(v)),y=i(g),E=h.length,x,T;return y<0||y>=E?f?"":void 0:(x=h.charCodeAt(y),x<55296||x>56319||y+1===E||(T=h.charCodeAt(y+1))<56320||T>57343?f?h.charAt(y):x:f?h.slice(y,y+2):(x-55296<<10)+(T-56320)+65536)}};n.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(n,s,e){var i=e("861d"),l=e("e8b5"),c=e("b622"),f=c("species");n.exports=function(v,g){var h;return l(v)&&(h=v.constructor,typeof h=="function"&&(h===Array||l(h.prototype))?h=void 0:i(h)&&(h=h[f],h===null&&(h=void 0))),new(h===void 0?Array:h)(g===0?0:g)}},"69f3":function(n,s,e){var i=e("7f9a"),l=e("da84"),c=e("861d"),f=e("9112"),v=e("5135"),g=e("f772"),h=e("d012"),y=l.WeakMap,E,x,T,I=function(w){return T(w)?x(w):E(w,{})},V=function(w){return function(z){var X;if(!c(z)||(X=x(z)).type!==w)throw TypeError("Incompatible receiver, "+w+" required");return X}};if(i){var P=new y,K=P.get,R=P.has,W=P.set;E=function(w,z){return W.call(P,w,z),z},x=function(w){return K.call(P,w)||{}},T=function(w){return R.call(P,w)}}else{var H=g("state");h[H]=!0,E=function(w,z){return f(w,H,z),z},x=function(w){return v(w,H)?w[H]:{}},T=function(w){return v(w,H)}}n.exports={set:E,get:x,has:T,enforce:I,getterFor:V}},"6eeb":function(n,s,e){var i=e("da84"),l=e("9112"),c=e("5135"),f=e("ce4e"),v=e("8925"),g=e("69f3"),h=g.get,y=g.enforce,E=String(String).split("String");(n.exports=function(x,T,I,V){var P=V?!!V.unsafe:!1,K=V?!!V.enumerable:!1,R=V?!!V.noTargetGet:!1;if(typeof I=="function"&&(typeof T=="string"&&!c(I,"name")&&l(I,"name",T),y(I).source=E.join(typeof T=="string"?T:"")),x===i){K?x[T]=I:f(T,I);return}else P?!R&&x[T]&&(K=!0):delete x[T];K?x[T]=I:l(x,T,I)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||v(this)})},"6f53":function(n,s,e){var i=e("83ab"),l=e("df75"),c=e("fc6a"),f=e("d1e7").f,v=function(g){return function(h){for(var y=c(h),E=l(y),x=E.length,T=0,I=[],V;x>T;)V=E[T++],(!i||f.call(y,V))&&I.push(g?[V,y[V]]:y[V]);return I}};n.exports={entries:v(!0),values:v(!1)}},"73d9":function(n,s,e){var i=e("44d2");i("flatMap")},7418:function(n,s){s.f=Object.getOwnPropertySymbols},"746f":function(n,s,e){var i=e("428f"),l=e("5135"),c=e("e538"),f=e("9bf2").f;n.exports=function(v){var g=i.Symbol||(i.Symbol={});l(g,v)||f(g,v,{value:c.f(v)})}},7839:function(n,s){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(n,s,e){var i=e("1d80");n.exports=function(l){return Object(i(l))}},"7c73":function(n,s,e){var i=e("825a"),l=e("37e8"),c=e("7839"),f=e("d012"),v=e("1be4"),g=e("cc12"),h=e("f772"),y=">",E="<",x="prototype",T="script",I=h("IE_PROTO"),V=function(){},P=function(w){return E+T+y+w+E+"/"+T+y},K=function(w){w.write(P("")),w.close();var z=w.parentWindow.Object;return w=null,z},R=function(){var w=g("iframe"),z="java"+T+":",X;return w.style.display="none",v.appendChild(w),w.src=String(z),X=w.contentWindow.document,X.open(),X.write(P("document.F=Object")),X.close(),X.F},W,H=function(){try{W=document.domain&&new ActiveXObject("htmlfile")}catch{}H=W?K(W):R();for(var w=c.length;w--;)delete H[x][c[w]];return H()};f[I]=!0,n.exports=Object.create||function(z,X){var se;return z!==null?(V[x]=i(z),se=new V,V[x]=null,se[I]=z):se=H(),X===void 0?se:l(se,X)}},"7dd0":function(n,s,e){var i=e("23e7"),l=e("9ed3"),c=e("e163"),f=e("d2bb"),v=e("d44e"),g=e("9112"),h=e("6eeb"),y=e("b622"),E=e("c430"),x=e("3f8c"),T=e("ae93"),I=T.IteratorPrototype,V=T.BUGGY_SAFARI_ITERATORS,P=y("iterator"),K="keys",R="values",W="entries",H=function(){return this};n.exports=function(w,z,X,se,F,Q,le){l(X,z,se);var $=function(we){if(we===F&&Ke)return Ke;if(!V&&we in Ce)return Ce[we];switch(we){case K:return function(){return new X(this,we)};case R:return function(){return new X(this,we)};case W:return function(){return new X(this,we)}}return function(){return new X(this)}},_=z+" Iterator",Se=!1,Ce=w.prototype,Be=Ce[P]||Ce["@@iterator"]||F&&Ce[F],Ke=!V&&Be||$(F),De=z=="Array"&&Ce.entries||Be,Ge,Pe,Ee;if(De&&(Ge=c(De.call(new w)),I!==Object.prototype&&Ge.next&&(!E&&c(Ge)!==I&&(f?f(Ge,I):typeof Ge[P]!="function"&&g(Ge,P,H)),v(Ge,_,!0,!0),E&&(x[_]=H))),F==R&&Be&&Be.name!==R&&(Se=!0,Ke=function(){return Be.call(this)}),(!E||le)&&Ce[P]!==Ke&&g(Ce,P,Ke),x[z]=Ke,F)if(Pe={values:$(R),keys:Q?Ke:$(K),entries:$(W)},le)for(Ee in Pe)(V||Se||!(Ee in Ce))&&h(Ce,Ee,Pe[Ee]);else i({target:z,proto:!0,forced:V||Se},Pe);return Pe}},"7f9a":function(n,s,e){var i=e("da84"),l=e("8925"),c=i.WeakMap;n.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(n,s,e){var i=e("861d");n.exports=function(l){if(!i(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(n,s,e){var i=e("d039");n.exports=!i(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(n,s,e){var i=e("c04e"),l=e("9bf2"),c=e("5c6c");n.exports=function(f,v,g){var h=i(v);h in f?l.f(f,h,c(0,g)):f[h]=g}},"861d":function(n,s){n.exports=function(e){return typeof e=="object"?e!==null:typeof e=="function"}},8875:function(n,s,e){var i,l,c;(function(f,v){l=[],i=v,c=typeof i=="function"?i.apply(s,l):i,c!==void 0&&(n.exports=c)})(typeof self<"u"?self:this,function(){function f(){var v=Object.getOwnPropertyDescriptor(document,"currentScript");if(!v&&"currentScript"in document&&document.currentScript||v&&v.get!==f&&document.currentScript)return document.currentScript;try{throw new Error}catch(W){var g=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,h=/@([^@]*):(\d+):(\d+)\s*$/ig,y=g.exec(W.stack)||h.exec(W.stack),E=y&&y[1]||!1,x=y&&y[2]||!1,T=document.location.href.replace(document.location.hash,""),I,V,P,K=document.getElementsByTagName("script");E===T&&(I=document.documentElement.outerHTML,V=new RegExp("(?:[^\\n]+?\\n){0,"+(x-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),P=I.replace(V,"$1").trim());for(var R=0;R<K.length;R++)if(K[R].readyState==="interactive"||K[R].src===E||E===T&&K[R].innerHTML&&K[R].innerHTML.trim()===P)return K[R];return null}}return f})},8925:function(n,s,e){var i=e("c6cd"),l=Function.toString;typeof i.inspectSource!="function"&&(i.inspectSource=function(c){return l.call(c)}),n.exports=i.inspectSource},"8aa5":function(n,s,e){var i=e("6547").charAt;n.exports=function(l,c,f){return c+(f?i(l,c).length:1)}},"8bbf":function(n,s){n.exports=o},"90e3":function(n,s){var e=0,i=Math.random();n.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++e+i).toString(36)}},9112:function(n,s,e){var i=e("83ab"),l=e("9bf2"),c=e("5c6c");n.exports=i?function(f,v,g){return l.f(f,v,c(1,g))}:function(f,v,g){return f[v]=g,f}},9263:function(n,s,e){var i=e("ad6d"),l=e("9f7f"),c=RegExp.prototype.exec,f=String.prototype.replace,v=c,g=function(){var x=/a/,T=/b*/g;return c.call(x,"a"),c.call(T,"a"),x.lastIndex!==0||T.lastIndex!==0}(),h=l.UNSUPPORTED_Y||l.BROKEN_CARET,y=/()??/.exec("")[1]!==void 0,E=g||y||h;E&&(v=function(T){var I=this,V,P,K,R,W=h&&I.sticky,H=i.call(I),w=I.source,z=0,X=T;return W&&(H=H.replace("y",""),H.indexOf("g")===-1&&(H+="g"),X=String(T).slice(I.lastIndex),I.lastIndex>0&&(!I.multiline||I.multiline&&T[I.lastIndex-1]!==`
- `)&&(w="(?: "+w+")",X=" "+X,z++),P=new RegExp("^(?:"+w+")",H)),y&&(P=new RegExp("^"+w+"$(?!\\s)",H)),g&&(V=I.lastIndex),K=c.call(W?P:I,X),W?K?(K.input=K.input.slice(z),K[0]=K[0].slice(z),K.index=I.lastIndex,I.lastIndex+=K[0].length):I.lastIndex=0:g&&K&&(I.lastIndex=I.global?K.index+K[0].length:V),y&&K&&K.length>1&&f.call(K[0],P,function(){for(R=1;R<arguments.length-2;R++)arguments[R]===void 0&&(K[R]=void 0)}),K}),n.exports=v},"94ca":function(n,s,e){var i=e("d039"),l=/#|\.prototype\./,c=function(y,E){var x=v[f(y)];return x==h?!0:x==g?!1:typeof E=="function"?i(E):!!E},f=c.normalize=function(y){return String(y).replace(l,".").toLowerCase()},v=c.data={},g=c.NATIVE="N",h=c.POLYFILL="P";n.exports=c},"99af":function(n,s,e){var i=e("23e7"),l=e("d039"),c=e("e8b5"),f=e("861d"),v=e("7b0b"),g=e("50c4"),h=e("8418"),y=e("65f0"),E=e("1dde"),x=e("b622"),T=e("2d00"),I=x("isConcatSpreadable"),V=9007199254740991,P="Maximum allowed index exceeded",K=T>=51||!l(function(){var w=[];return w[I]=!1,w.concat()[0]!==w}),R=E("concat"),W=function(w){if(!f(w))return!1;var z=w[I];return z!==void 0?!!z:c(w)},H=!K||!R;i({target:"Array",proto:!0,forced:H},{concat:function(z){var X=v(this),se=y(X,0),F=0,Q,le,$,_,Se;for(Q=-1,$=arguments.length;Q<$;Q++)if(Se=Q===-1?X:arguments[Q],W(Se)){if(_=g(Se.length),F+_>V)throw TypeError(P);for(le=0;le<_;le++,F++)le in Se&&h(se,F,Se[le])}else{if(F>=V)throw TypeError(P);h(se,F++,Se)}return se.length=F,se}})},"9bdd":function(n,s,e){var i=e("825a");n.exports=function(l,c,f,v){try{return v?c(i(f)[0],f[1]):c(f)}catch(h){var g=l.return;throw g!==void 0&&i(g.call(l)),h}}},"9bf2":function(n,s,e){var i=e("83ab"),l=e("0cfb"),c=e("825a"),f=e("c04e"),v=Object.defineProperty;s.f=i?v:function(h,y,E){if(c(h),y=f(y,!0),c(E),l)try{return v(h,y,E)}catch{}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(h[y]=E.value),h}},"9ed3":function(n,s,e){var i=e("ae93").IteratorPrototype,l=e("7c73"),c=e("5c6c"),f=e("d44e"),v=e("3f8c"),g=function(){return this};n.exports=function(h,y,E){var x=y+" Iterator";return h.prototype=l(i,{next:c(1,E)}),f(h,x,!1,!0),v[x]=g,h}},"9f7f":function(n,s,e){var i=e("d039");function l(c,f){return RegExp(c,f)}s.UNSUPPORTED_Y=i(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),s.BROKEN_CARET=i(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(n,s,e){var i=e("e8b5"),l=e("50c4"),c=e("0366"),f=function(v,g,h,y,E,x,T,I){for(var V=E,P=0,K=T?c(T,I,3):!1,R;P<y;){if(P in h){if(R=K?K(h[P],P,g):h[P],x>0&&i(R))V=f(v,g,R,l(R.length),V,x-1)-1;else{if(V>=9007199254740991)throw TypeError("Exceed the acceptable array length");v[V]=R}V++}P++}return V};n.exports=f},a352:function(n,s){n.exports=d},a434:function(n,s,e){var i=e("23e7"),l=e("23cb"),c=e("a691"),f=e("50c4"),v=e("7b0b"),g=e("65f0"),h=e("8418"),y=e("1dde"),E=e("ae40"),x=y("splice"),T=E("splice",{ACCESSORS:!0,0:0,1:2}),I=Math.max,V=Math.min,P=9007199254740991,K="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!x||!T},{splice:function(W,H){var w=v(this),z=f(w.length),X=l(W,z),se=arguments.length,F,Q,le,$,_,Se;if(se===0?F=Q=0:se===1?(F=0,Q=z-X):(F=se-2,Q=V(I(c(H),0),z-X)),z+F-Q>P)throw TypeError(K);for(le=g(w,Q),$=0;$<Q;$++)_=X+$,_ in w&&h(le,$,w[_]);if(le.length=Q,F<Q){for($=X;$<z-Q;$++)_=$+Q,Se=$+F,_ in w?w[Se]=w[_]:delete w[Se];for($=z;$>z-Q+F;$--)delete w[$-1]}else if(F>Q)for($=z-Q;$>X;$--)_=$+Q-1,Se=$+F-1,_ in w?w[Se]=w[_]:delete w[Se];for($=0;$<F;$++)w[$+X]=arguments[$+2];return w.length=z-Q+F,le}})},a4d3:function(n,s,e){var i=e("23e7"),l=e("da84"),c=e("d066"),f=e("c430"),v=e("83ab"),g=e("4930"),h=e("fdbf"),y=e("d039"),E=e("5135"),x=e("e8b5"),T=e("861d"),I=e("825a"),V=e("7b0b"),P=e("fc6a"),K=e("c04e"),R=e("5c6c"),W=e("7c73"),H=e("df75"),w=e("241c"),z=e("057f"),X=e("7418"),se=e("06cf"),F=e("9bf2"),Q=e("d1e7"),le=e("9112"),$=e("6eeb"),_=e("5692"),Se=e("f772"),Ce=e("d012"),Be=e("90e3"),Ke=e("b622"),De=e("e538"),Ge=e("746f"),Pe=e("d44e"),Ee=e("69f3"),we=e("b727").forEach,Re=Se("hidden"),it="Symbol",Ze="prototype",Ot=Ke("toPrimitive"),Rt=Ee.set,Tt=Ee.getterFor(it),$e=Object[Ze],Je=l.Symbol,Vt=c("JSON","stringify"),gt=se.f,ht=F.f,ln=z.f,On=Q.f,vt=_("symbols"),xt=_("op-symbols"),Ft=_("string-to-symbol-registry"),Kt=_("symbol-to-string-registry"),Ht=_("wks"),Lt=l.QObject,Yt=!Lt||!Lt[Ze]||!Lt[Ze].findChild,Xt=v&&y(function(){return W(ht({},"a",{get:function(){return ht(this,"a",{value:7}).a}})).a!=7})?function(ae,ee,ne){var he=gt($e,ee);he&&delete $e[ee],ht(ae,ee,ne),he&&ae!==$e&&ht($e,ee,he)}:ht,Zt=function(ae,ee){var ne=vt[ae]=W(Je[Ze]);return Rt(ne,{type:it,tag:ae,description:ee}),v||(ne.description=ee),ne},C=h?function(ae){return typeof ae=="symbol"}:function(ae){return Object(ae)instanceof Je},O=function(ee,ne,he){ee===$e&&O(xt,ne,he),I(ee);var be=K(ne,!0);return I(he),E(vt,be)?(he.enumerable?(E(ee,Re)&&ee[Re][be]&&(ee[Re][be]=!1),he=W(he,{enumerable:R(0,!1)})):(E(ee,Re)||ht(ee,Re,R(1,{})),ee[Re][be]=!0),Xt(ee,be,he)):ht(ee,be,he)},D=function(ee,ne){I(ee);var he=P(ne),be=H(he).concat(ge(he));return we(be,function(tt){(!v||Z.call(he,tt))&&O(ee,tt,he[tt])}),ee},B=function(ee,ne){return ne===void 0?W(ee):D(W(ee),ne)},Z=function(ee){var ne=K(ee,!0),he=On.call(this,ne);return this===$e&&E(vt,ne)&&!E(xt,ne)?!1:he||!E(this,ne)||!E(vt,ne)||E(this,Re)&&this[Re][ne]?he:!0},oe=function(ee,ne){var he=P(ee),be=K(ne,!0);if(!(he===$e&&E(vt,be)&&!E(xt,be))){var tt=gt(he,be);return tt&&E(vt,be)&&!(E(he,Re)&&he[Re][be])&&(tt.enumerable=!0),tt}},fe=function(ee){var ne=ln(P(ee)),he=[];return we(ne,function(be){!E(vt,be)&&!E(Ce,be)&&he.push(be)}),he},ge=function(ee){var ne=ee===$e,he=ln(ne?xt:P(ee)),be=[];return we(he,function(tt){E(vt,tt)&&(!ne||E($e,tt))&&be.push(vt[tt])}),be};if(g||(Je=function(){if(this instanceof Je)throw TypeError("Symbol is not a constructor");var ee=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),ne=Be(ee),he=function(be){this===$e&&he.call(xt,be),E(this,Re)&&E(this[Re],ne)&&(this[Re][ne]=!1),Xt(this,ne,R(1,be))};return v&&Yt&&Xt($e,ne,{configurable:!0,set:he}),Zt(ne,ee)},$(Je[Ze],"toString",function(){return Tt(this).tag}),$(Je,"withoutSetter",function(ae){return Zt(Be(ae),ae)}),Q.f=Z,F.f=O,se.f=oe,w.f=z.f=fe,X.f=ge,De.f=function(ae){return Zt(Ke(ae),ae)},v&&(ht(Je[Ze],"description",{configurable:!0,get:function(){return Tt(this).description}}),f||$($e,"propertyIsEnumerable",Z,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!g,sham:!g},{Symbol:Je}),we(H(Ht),function(ae){Ge(ae)}),i({target:it,stat:!0,forced:!g},{for:function(ae){var ee=String(ae);if(E(Ft,ee))return Ft[ee];var ne=Je(ee);return Ft[ee]=ne,Kt[ne]=ee,ne},keyFor:function(ee){if(!C(ee))throw TypeError(ee+" is not a symbol");if(E(Kt,ee))return Kt[ee]},useSetter:function(){Yt=!0},useSimple:function(){Yt=!1}}),i({target:"Object",stat:!0,forced:!g,sham:!v},{create:B,defineProperty:O,defineProperties:D,getOwnPropertyDescriptor:oe}),i({target:"Object",stat:!0,forced:!g},{getOwnPropertyNames:fe,getOwnPropertySymbols:ge}),i({target:"Object",stat:!0,forced:y(function(){X.f(1)})},{getOwnPropertySymbols:function(ee){return X.f(V(ee))}}),Vt){var pe=!g||y(function(){var ae=Je();return Vt([ae])!="[null]"||Vt({a:ae})!="{}"||Vt(Object(ae))!="{}"});i({target:"JSON",stat:!0,forced:pe},{stringify:function(ee,ne,he){for(var be=[ee],tt=1,Tn;arguments.length>tt;)be.push(arguments[tt++]);if(Tn=ne,!(!T(ne)&&ee===void 0||C(ee)))return x(ne)||(ne=function(qt,Ne){if(typeof Tn=="function"&&(Ne=Tn.call(this,qt,Ne)),!C(Ne))return Ne}),be[1]=ne,Vt.apply(null,be)}})}Je[Ze][Ot]||le(Je[Ze],Ot,Je[Ze].valueOf),Pe(Je,it),Ce[Re]=!0},a630:function(n,s,e){var i=e("23e7"),l=e("4df4"),c=e("1c7e"),f=!c(function(v){Array.from(v)});i({target:"Array",stat:!0,forced:f},{from:l})},a640:function(n,s,e){var i=e("d039");n.exports=function(l,c){var f=[][l];return!!f&&i(function(){f.call(null,c||function(){throw 1},1)})}},a691:function(n,s){var e=Math.ceil,i=Math.floor;n.exports=function(l){return isNaN(l=+l)?0:(l>0?i:e)(l)}},ab13:function(n,s,e){var i=e("b622"),l=i("match");n.exports=function(c){var f=/./;try{"/./"[c](f)}catch{try{return f[l]=!1,"/./"[c](f)}catch{}}return!1}},ac1f:function(n,s,e){var i=e("23e7"),l=e("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(n,s,e){var i=e("825a");n.exports=function(){var l=i(this),c="";return l.global&&(c+="g"),l.ignoreCase&&(c+="i"),l.multiline&&(c+="m"),l.dotAll&&(c+="s"),l.unicode&&(c+="u"),l.sticky&&(c+="y"),c}},ae40:function(n,s,e){var i=e("83ab"),l=e("d039"),c=e("5135"),f=Object.defineProperty,v={},g=function(h){throw h};n.exports=function(h,y){if(c(v,h))return v[h];y||(y={});var E=[][h],x=c(y,"ACCESSORS")?y.ACCESSORS:!1,T=c(y,0)?y[0]:g,I=c(y,1)?y[1]:void 0;return v[h]=!!E&&!l(function(){if(x&&!i)return!0;var V={length:-1};x?f(V,1,{enumerable:!0,get:g}):V[1]=1,E.call(V,T,I)})}},ae93:function(n,s,e){var i=e("e163"),l=e("9112"),c=e("5135"),f=e("b622"),v=e("c430"),g=f("iterator"),h=!1,y=function(){return this},E,x,T;[].keys&&(T=[].keys(),"next"in T?(x=i(i(T)),x!==Object.prototype&&(E=x)):h=!0),E==null&&(E={}),!v&&!c(E,g)&&l(E,g,y),n.exports={IteratorPrototype:E,BUGGY_SAFARI_ITERATORS:h}},b041:function(n,s,e){var i=e("00ee"),l=e("f5df");n.exports=i?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(n,s,e){var i=e("83ab"),l=e("9bf2").f,c=Function.prototype,f=c.toString,v=/^\s*function ([^ (]*)/,g="name";i&&!(g in c)&&l(c,g,{configurable:!0,get:function(){try{return f.call(this).match(v)[1]}catch{return""}}})},b622:function(n,s,e){var i=e("da84"),l=e("5692"),c=e("5135"),f=e("90e3"),v=e("4930"),g=e("fdbf"),h=l("wks"),y=i.Symbol,E=g?y:y&&y.withoutSetter||f;n.exports=function(x){return c(h,x)||(v&&c(y,x)?h[x]=y[x]:h[x]=E("Symbol."+x)),h[x]}},b64b:function(n,s,e){var i=e("23e7"),l=e("7b0b"),c=e("df75"),f=e("d039"),v=f(function(){c(1)});i({target:"Object",stat:!0,forced:v},{keys:function(h){return c(l(h))}})},b727:function(n,s,e){var i=e("0366"),l=e("44ad"),c=e("7b0b"),f=e("50c4"),v=e("65f0"),g=[].push,h=function(y){var E=y==1,x=y==2,T=y==3,I=y==4,V=y==6,P=y==5||V;return function(K,R,W,H){for(var w=c(K),z=l(w),X=i(R,W,3),se=f(z.length),F=0,Q=H||v,le=E?Q(K,se):x?Q(K,0):void 0,$,_;se>F;F++)if((P||F in z)&&($=z[F],_=X($,F,w),y)){if(E)le[F]=_;else if(_)switch(y){case 3:return!0;case 5:return $;case 6:return F;case 2:g.call(le,$)}else if(I)return!1}return V?-1:T||I?I:le}};n.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6)}},c04e:function(n,s,e){var i=e("861d");n.exports=function(l,c){if(!i(l))return l;var f,v;if(c&&typeof(f=l.toString)=="function"&&!i(v=f.call(l))||typeof(f=l.valueOf)=="function"&&!i(v=f.call(l))||!c&&typeof(f=l.toString)=="function"&&!i(v=f.call(l)))return v;throw TypeError("Can't convert object to primitive value")}},c430:function(n,s){n.exports=!1},c6b6:function(n,s){var e={}.toString;n.exports=function(i){return e.call(i).slice(8,-1)}},c6cd:function(n,s,e){var i=e("da84"),l=e("ce4e"),c="__core-js_shared__",f=i[c]||l(c,{});n.exports=f},c740:function(n,s,e){var i=e("23e7"),l=e("b727").findIndex,c=e("44d2"),f=e("ae40"),v="findIndex",g=!0,h=f(v);v in[]&&Array(1)[v](function(){g=!1}),i({target:"Array",proto:!0,forced:g||!h},{findIndex:function(E){return l(this,E,arguments.length>1?arguments[1]:void 0)}}),c(v)},c8ba:function(n,s){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch{typeof window=="object"&&(e=window)}n.exports=e},c975:function(n,s,e){var i=e("23e7"),l=e("4d64").indexOf,c=e("a640"),f=e("ae40"),v=[].indexOf,g=!!v&&1/[1].indexOf(1,-0)<0,h=c("indexOf"),y=f("indexOf",{ACCESSORS:!0,1:0});i({target:"Array",proto:!0,forced:g||!h||!y},{indexOf:function(x){return g?v.apply(this,arguments)||0:l(this,x,arguments.length>1?arguments[1]:void 0)}})},ca84:function(n,s,e){var i=e("5135"),l=e("fc6a"),c=e("4d64").indexOf,f=e("d012");n.exports=function(v,g){var h=l(v),y=0,E=[],x;for(x in h)!i(f,x)&&i(h,x)&&E.push(x);for(;g.length>y;)i(h,x=g[y++])&&(~c(E,x)||E.push(x));return E}},caad:function(n,s,e){var i=e("23e7"),l=e("4d64").includes,c=e("44d2"),f=e("ae40"),v=f("indexOf",{ACCESSORS:!0,1:0});i({target:"Array",proto:!0,forced:!v},{includes:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(n,s,e){var i=e("da84"),l=e("861d"),c=i.document,f=l(c)&&l(c.createElement);n.exports=function(v){return f?c.createElement(v):{}}},ce4e:function(n,s,e){var i=e("da84"),l=e("9112");n.exports=function(c,f){try{l(i,c,f)}catch{i[c]=f}return f}},d012:function(n,s){n.exports={}},d039:function(n,s){n.exports=function(e){try{return!!e()}catch{return!0}}},d066:function(n,s,e){var i=e("428f"),l=e("da84"),c=function(f){return typeof f=="function"?f:void 0};n.exports=function(f,v){return arguments.length<2?c(i[f])||c(l[f]):i[f]&&i[f][v]||l[f]&&l[f][v]}},d1e7:function(n,s,e){var i={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!i.call({1:2},1);s.f=c?function(v){var g=l(this,v);return!!g&&g.enumerable}:i},d28b:function(n,s,e){var i=e("746f");i("iterator")},d2bb:function(n,s,e){var i=e("825a"),l=e("3bbe");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,f={},v;try{v=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,v.call(f,[]),c=f instanceof Array}catch{}return function(h,y){return i(h),l(y),c?v.call(h,y):h.__proto__=y,h}}():void 0)},d3b7:function(n,s,e){var i=e("00ee"),l=e("6eeb"),c=e("b041");i||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(n,s,e){var i=e("9bf2").f,l=e("5135"),c=e("b622"),f=c("toStringTag");n.exports=function(v,g,h){v&&!l(v=h?v:v.prototype,f)&&i(v,f,{configurable:!0,value:g})}},d58f:function(n,s,e){var i=e("1c0b"),l=e("7b0b"),c=e("44ad"),f=e("50c4"),v=function(g){return function(h,y,E,x){i(y);var T=l(h),I=c(T),V=f(T.length),P=g?V-1:0,K=g?-1:1;if(E<2)for(;;){if(P in I){x=I[P],P+=K;break}if(P+=K,g?P<0:V<=P)throw TypeError("Reduce of empty array with no initial value")}for(;g?P>=0:V>P;P+=K)P in I&&(x=y(x,I[P],P,T));return x}};n.exports={left:v(!1),right:v(!0)}},d784:function(n,s,e){e("ac1f");var i=e("6eeb"),l=e("d039"),c=e("b622"),f=e("9263"),v=e("9112"),g=c("species"),h=!l(function(){var I=/./;return I.exec=function(){var V=[];return V.groups={a:"7"},V},"".replace(I,"$<a>")!=="7"}),y=function(){return"a".replace(/./,"$0")==="$0"}(),E=c("replace"),x=function(){return/./[E]?/./[E]("a","$0")==="":!1}(),T=!l(function(){var I=/(?:)/,V=I.exec;I.exec=function(){return V.apply(this,arguments)};var P="ab".split(I);return P.length!==2||P[0]!=="a"||P[1]!=="b"});n.exports=function(I,V,P,K){var R=c(I),W=!l(function(){var F={};return F[R]=function(){return 7},""[I](F)!=7}),H=W&&!l(function(){var F=!1,Q=/a/;return I==="split"&&(Q={},Q.constructor={},Q.constructor[g]=function(){return Q},Q.flags="",Q[R]=/./[R]),Q.exec=function(){return F=!0,null},Q[R](""),!F});if(!W||!H||I==="replace"&&!(h&&y&&!x)||I==="split"&&!T){var w=/./[R],z=P(R,""[I],function(F,Q,le,$,_){return Q.exec===f?W&&!_?{done:!0,value:w.call(Q,le,$)}:{done:!0,value:F.call(le,Q,$)}:{done:!1}},{REPLACE_KEEPS_$0:y,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:x}),X=z[0],se=z[1];i(String.prototype,I,X),i(RegExp.prototype,R,V==2?function(F,Q){return se.call(F,this,Q)}:function(F){return se.call(F,this)})}K&&v(RegExp.prototype[R],"sham",!0)}},d81d:function(n,s,e){var i=e("23e7"),l=e("b727").map,c=e("1dde"),f=e("ae40"),v=c("map"),g=f("map");i({target:"Array",proto:!0,forced:!v||!g},{map:function(y){return l(this,y,arguments.length>1?arguments[1]:void 0)}})},da84:function(n,s,e){(function(i){var l=function(c){return c&&c.Math==Math&&c};n.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof i=="object"&&i)||Function("return this")()}).call(this,e("c8ba"))},dbb4:function(n,s,e){var i=e("23e7"),l=e("83ab"),c=e("56ef"),f=e("fc6a"),v=e("06cf"),g=e("8418");i({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(y){for(var E=f(y),x=v.f,T=c(E),I={},V=0,P,K;T.length>V;)K=x(E,P=T[V++]),K!==void 0&&g(I,P,K);return I}})},dbf1:function(n,s,e){(function(i){e.d(s,"a",function(){return c});function l(){return typeof window<"u"?window.console:i.console}var c=l()}).call(this,e("c8ba"))},ddb0:function(n,s,e){var i=e("da84"),l=e("fdbc"),c=e("e260"),f=e("9112"),v=e("b622"),g=v("iterator"),h=v("toStringTag"),y=c.values;for(var E in l){var x=i[E],T=x&&x.prototype;if(T){if(T[g]!==y)try{f(T,g,y)}catch{T[g]=y}if(T[h]||f(T,h,E),l[E]){for(var I in c)if(T[I]!==c[I])try{f(T,I,c[I])}catch{T[I]=c[I]}}}}},df75:function(n,s,e){var i=e("ca84"),l=e("7839");n.exports=Object.keys||function(f){return i(f,l)}},e01a:function(n,s,e){var i=e("23e7"),l=e("83ab"),c=e("da84"),f=e("5135"),v=e("861d"),g=e("9bf2").f,h=e("e893"),y=c.Symbol;if(l&&typeof y=="function"&&(!("description"in y.prototype)||y().description!==void 0)){var E={},x=function(){var R=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),W=this instanceof x?new y(R):R===void 0?y():y(R);return R===""&&(E[W]=!0),W};h(x,y);var T=x.prototype=y.prototype;T.constructor=x;var I=T.toString,V=String(y("test"))=="Symbol(test)",P=/^Symbol\((.*)\)[^)]+$/;g(T,"description",{configurable:!0,get:function(){var R=v(this)?this.valueOf():this,W=I.call(R);if(f(E,R))return"";var H=V?W.slice(7,-1):W.replace(P,"$1");return H===""?void 0:H}}),i({global:!0,forced:!0},{Symbol:x})}},e163:function(n,s,e){var i=e("5135"),l=e("7b0b"),c=e("f772"),f=e("e177"),v=c("IE_PROTO"),g=Object.prototype;n.exports=f?Object.getPrototypeOf:function(h){return h=l(h),i(h,v)?h[v]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?g:null}},e177:function(n,s,e){var i=e("d039");n.exports=!i(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(n,s,e){var i=e("fc6a"),l=e("44d2"),c=e("3f8c"),f=e("69f3"),v=e("7dd0"),g="Array Iterator",h=f.set,y=f.getterFor(g);n.exports=v(Array,"Array",function(E,x){h(this,{type:g,target:i(E),index:0,kind:x})},function(){var E=y(this),x=E.target,T=E.kind,I=E.index++;return!x||I>=x.length?(E.target=void 0,{value:void 0,done:!0}):T=="keys"?{value:I,done:!1}:T=="values"?{value:x[I],done:!1}:{value:[I,x[I]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(n,s,e){var i=e("23e7"),l=e("d039"),c=e("fc6a"),f=e("06cf").f,v=e("83ab"),g=l(function(){f(1)}),h=!v||g;i({target:"Object",stat:!0,forced:h,sham:!v},{getOwnPropertyDescriptor:function(E,x){return f(c(E),x)}})},e538:function(n,s,e){var i=e("b622");s.f=i},e893:function(n,s,e){var i=e("5135"),l=e("56ef"),c=e("06cf"),f=e("9bf2");n.exports=function(v,g){for(var h=l(g),y=f.f,E=c.f,x=0;x<h.length;x++){var T=h[x];i(v,T)||y(v,T,E(g,T))}}},e8b5:function(n,s,e){var i=e("c6b6");n.exports=Array.isArray||function(c){return i(c)=="Array"}},e95a:function(n,s,e){var i=e("b622"),l=e("3f8c"),c=i("iterator"),f=Array.prototype;n.exports=function(v){return v!==void 0&&(l.Array===v||f[c]===v)}},f5df:function(n,s,e){var i=e("00ee"),l=e("c6b6"),c=e("b622"),f=c("toStringTag"),v=l(function(){return arguments}())=="Arguments",g=function(h,y){try{return h[y]}catch{}};n.exports=i?l:function(h){var y,E,x;return h===void 0?"Undefined":h===null?"Null":typeof(E=g(y=Object(h),f))=="string"?E:v?l(y):(x=l(y))=="Object"&&typeof y.callee=="function"?"Arguments":x}},f772:function(n,s,e){var i=e("5692"),l=e("90e3"),c=i("keys");n.exports=function(f){return c[f]||(c[f]=l(f))}},fb15:function(n,s,e){if(e.r(s),typeof window<"u"){var i=window.document.currentScript;{var l=e("8875");i=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var c=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(e.p=c[1])}e("99af"),e("4de4"),e("4160"),e("c975"),e("d81d"),e("a434"),e("159b"),e("a4d3"),e("e439"),e("dbb4"),e("b64b");function f(C,O,D){return O in C?Object.defineProperty(C,O,{value:D,enumerable:!0,configurable:!0,writable:!0}):C[O]=D,C}function v(C,O){var D=Object.keys(C);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(C);O&&(B=B.filter(function(Z){return Object.getOwnPropertyDescriptor(C,Z).enumerable})),D.push.apply(D,B)}return D}function g(C){for(var O=1;O<arguments.length;O++){var D=arguments[O]!=null?arguments[O]:{};O%2?v(Object(D),!0).forEach(function(B){f(C,B,D[B])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(D)):v(Object(D)).forEach(function(B){Object.defineProperty(C,B,Object.getOwnPropertyDescriptor(D,B))})}return C}function h(C){if(Array.isArray(C))return C}e("e01a"),e("d28b"),e("e260"),e("d3b7"),e("3ca3"),e("ddb0");function y(C,O){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(C)))){var D=[],B=!0,Z=!1,oe=void 0;try{for(var fe=C[Symbol.iterator](),ge;!(B=(ge=fe.next()).done)&&(D.push(ge.value),!(O&&D.length===O));B=!0);}catch(pe){Z=!0,oe=pe}finally{try{!B&&fe.return!=null&&fe.return()}finally{if(Z)throw oe}}return D}}e("a630"),e("fb6a"),e("b0c0"),e("25f0");function E(C,O){(O==null||O>C.length)&&(O=C.length);for(var D=0,B=new Array(O);D<O;D++)B[D]=C[D];return B}function x(C,O){if(C){if(typeof C=="string")return E(C,O);var D=Object.prototype.toString.call(C).slice(8,-1);if(D==="Object"&&C.constructor&&(D=C.constructor.name),D==="Map"||D==="Set")return Array.from(C);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return E(C,O)}}function T(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function I(C,O){return h(C)||y(C,O)||x(C,O)||T()}function V(C){if(Array.isArray(C))return E(C)}function P(C){if(typeof Symbol<"u"&&Symbol.iterator in Object(C))return Array.from(C)}function K(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function R(C){return V(C)||P(C)||x(C)||K()}var W=e("a352"),H=e.n(W);function w(C){C.parentElement!==null&&C.parentElement.removeChild(C)}function z(C,O,D){var B=D===0?C.children[0]:C.children[D-1].nextSibling;C.insertBefore(O,B)}var X=e("dbf1");e("13d5"),e("4fad"),e("ac1f"),e("5319");function se(C){var O=Object.create(null);return function(B){var Z=O[B];return Z||(O[B]=C(B))}}var F=/-(\w)/g,Q=se(function(C){return C.replace(F,function(O,D){return D.toUpperCase()})});e("5db7"),e("73d9");var le=["Start","Add","Remove","Update","End"],$=["Choose","Unchoose","Sort","Filter","Clone"],_=["Move"],Se=[_,le,$].flatMap(function(C){return C}).map(function(C){return"on".concat(C)}),Ce={manage:_,manageAndEmit:le,emit:$};function Be(C){return Se.indexOf(C)!==-1}e("caad"),e("2ca0");var Ke=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function De(C){return Ke.includes(C)}function Ge(C){return["transition-group","TransitionGroup"].includes(C)}function Pe(C){return["id","class","role","style"].includes(C)||C.startsWith("data-")||C.startsWith("aria-")||C.startsWith("on")}function Ee(C){return C.reduce(function(O,D){var B=I(D,2),Z=B[0],oe=B[1];return O[Z]=oe,O},{})}function we(C){var O=C.$attrs,D=C.componentData,B=D===void 0?{}:D,Z=Ee(Object.entries(O).filter(function(oe){var fe=I(oe,2),ge=fe[0];return fe[1],Pe(ge)}));return g(g({},Z),B)}function Re(C){var O=C.$attrs,D=C.callBackBuilder,B=Ee(it(O));Object.entries(D).forEach(function(oe){var fe=I(oe,2),ge=fe[0],pe=fe[1];Ce[ge].forEach(function(ae){B["on".concat(ae)]=pe(ae)})});var Z="[data-draggable]".concat(B.draggable||"");return g(g({},B),{},{draggable:Z})}function it(C){return Object.entries(C).filter(function(O){var D=I(O,2),B=D[0];return D[1],!Pe(B)}).map(function(O){var D=I(O,2),B=D[0],Z=D[1];return[Q(B),Z]}).filter(function(O){var D=I(O,2),B=D[0];return D[1],!Be(B)})}e("c740");function Ze(C,O){if(!(C instanceof O))throw new TypeError("Cannot call a class as a function")}function Ot(C,O){for(var D=0;D<O.length;D++){var B=O[D];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(C,B.key,B)}}function Rt(C,O,D){return O&&Ot(C.prototype,O),C}var Tt=function(O){var D=O.el;return D},$e=function(O,D){return O.__draggable_context=D},Je=function(O){return O.__draggable_context},Vt=function(){function C(O){var D=O.nodes,B=D.header,Z=D.default,oe=D.footer,fe=O.root,ge=O.realList;Ze(this,C),this.defaultNodes=Z,this.children=[].concat(R(B),R(Z),R(oe)),this.externalComponent=fe.externalComponent,this.rootTransition=fe.transition,this.tag=fe.tag,this.realList=ge}return Rt(C,[{key:"render",value:function(D,B){var Z=this.tag,oe=this.children,fe=this._isRootComponent,ge=fe?{default:function(){return oe}}:oe;return D(Z,B,ge)}},{key:"updated",value:function(){var D=this.defaultNodes,B=this.realList;D.forEach(function(Z,oe){$e(Tt(Z),{element:B[oe],index:oe})})}},{key:"getUnderlyingVm",value:function(D){return Je(D)}},{key:"getVmIndexFromDomIndex",value:function(D,B){var Z=this.defaultNodes,oe=Z.length,fe=B.children,ge=fe.item(D);if(ge===null)return oe;var pe=Je(ge);if(pe)return pe.index;if(oe===0)return 0;var ae=Tt(Z[0]),ee=R(fe).findIndex(function(ne){return ne===ae});return D<ee?0:oe}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),C}(),gt=e("8bbf");function ht(C,O){var D=C[O];return D?D():[]}function ln(C){var O=C.$slots,D=C.realList,B=C.getKey,Z=D||[],oe=["header","footer"].map(function(ne){return ht(O,ne)}),fe=I(oe,2),ge=fe[0],pe=fe[1],ae=O.item;if(!ae)throw new Error("draggable element must have an item slot");var ee=Z.flatMap(function(ne,he){return ae({element:ne,index:he}).map(function(be){return be.key=B(ne),be.props=g(g({},be.props||{}),{},{"data-draggable":!0}),be})});if(ee.length!==Z.length)throw new Error("Item slot must have only one child");return{header:ge,footer:pe,default:ee}}function On(C){var O=Ge(C),D=!De(C)&&!O;return{transition:O,externalComponent:D,tag:D?Object(gt.resolveComponent)(C):O?gt.TransitionGroup:C}}function vt(C){var O=C.$slots,D=C.tag,B=C.realList,Z=C.getKey,oe=ln({$slots:O,realList:B,getKey:Z}),fe=On(D);return new Vt({nodes:oe,root:fe,realList:B})}function xt(C,O){var D=this;Object(gt.nextTick)(function(){return D.$emit(C.toLowerCase(),O)})}function Ft(C){var O=this;return function(D,B){if(O.realList!==null)return O["onDrag".concat(C)](D,B)}}function Kt(C){var O=this,D=Ft.call(this,C);return function(B,Z){D.call(O,B,Z),xt.call(O,C,B)}}var Ht=null,Lt={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(O){return O}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Yt=["update:modelValue","change"].concat(R([].concat(R(Ce.manageAndEmit),R(Ce.emit)).map(function(C){return C.toLowerCase()}))),Xt=Object(gt.defineComponent)({name:"draggable",inheritAttrs:!1,props:Lt,emits:Yt,data:function(){return{error:!1}},render:function(){try{this.error=!1;var O=this.$slots,D=this.$attrs,B=this.tag,Z=this.componentData,oe=this.realList,fe=this.getKey,ge=vt({$slots:O,tag:B,realList:oe,getKey:fe});this.componentStructure=ge;var pe=we({$attrs:D,componentData:Z});return ge.render(gt.h,pe)}catch(ae){return this.error=!0,Object(gt.h)("pre",{style:{color:"red"}},ae.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&X.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var O=this;if(!this.error){var D=this.$attrs,B=this.$el,Z=this.componentStructure;Z.updated();var oe=Re({$attrs:D,callBackBuilder:{manageAndEmit:function(pe){return Kt.call(O,pe)},emit:function(pe){return xt.bind(O,pe)},manage:function(pe){return Ft.call(O,pe)}}}),fe=B.nodeType===1?B:B.parentElement;this._sortable=new H.a(fe,oe),this.targetDomElement=fe,fe.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var O=this.list;return O||this.modelValue},getKey:function(){var O=this.itemKey;return typeof O=="function"?O:function(D){return D[O]}}},watch:{$attrs:{handler:function(O){var D=this._sortable;D&&it(O).forEach(function(B){var Z=I(B,2),oe=Z[0],fe=Z[1];D.option(oe,fe)})},deep:!0}},methods:{getUnderlyingVm:function(O){return this.componentStructure.getUnderlyingVm(O)||null},getUnderlyingPotencialDraggableComponent:function(O){return O.__draggable_component__},emitChanges:function(O){var D=this;Object(gt.nextTick)(function(){return D.$emit("change",O)})},alterList:function(O){if(this.list){O(this.list);return}var D=R(this.modelValue);O(D),this.$emit("update:modelValue",D)},spliceList:function(){var O=arguments,D=function(Z){return Z.splice.apply(Z,R(O))};this.alterList(D)},updatePosition:function(O,D){var B=function(oe){return oe.splice(D,0,oe.splice(O,1)[0])};this.alterList(B)},getRelatedContextFromMoveEvent:function(O){var D=O.to,B=O.related,Z=this.getUnderlyingPotencialDraggableComponent(D);if(!Z)return{component:Z};var oe=Z.realList,fe={list:oe,component:Z};if(D!==B&&oe){var ge=Z.getUnderlyingVm(B)||{};return g(g({},ge),fe)}return fe},getVmIndexFromDomIndex:function(O){return this.componentStructure.getVmIndexFromDomIndex(O,this.targetDomElement)},onDragStart:function(O){this.context=this.getUnderlyingVm(O.item),O.item._underlying_vm_=this.clone(this.context.element),Ht=O.item},onDragAdd:function(O){var D=O.item._underlying_vm_;if(D!==void 0){w(O.item);var B=this.getVmIndexFromDomIndex(O.newIndex);this.spliceList(B,0,D);var Z={element:D,newIndex:B};this.emitChanges({added:Z})}},onDragRemove:function(O){if(z(this.$el,O.item,O.oldIndex),O.pullMode==="clone"){w(O.clone);return}var D=this.context,B=D.index,Z=D.element;this.spliceList(B,1);var oe={element:Z,oldIndex:B};this.emitChanges({removed:oe})},onDragUpdate:function(O){w(O.item),z(O.from,O.item,O.oldIndex);var D=this.context.index,B=this.getVmIndexFromDomIndex(O.newIndex);this.updatePosition(D,B);var Z={element:this.context.element,oldIndex:D,newIndex:B};this.emitChanges({moved:Z})},computeFutureIndex:function(O,D){if(!O.element)return 0;var B=R(D.to.children).filter(function(ge){return ge.style.display!=="none"}),Z=B.indexOf(D.related),oe=O.component.getVmIndexFromDomIndex(Z),fe=B.indexOf(Ht)!==-1;return fe||!D.willInsertAfter?oe:oe+1},onDragMove:function(O,D){var B=this.move,Z=this.realList;if(!B||!Z)return!0;var oe=this.getRelatedContextFromMoveEvent(O),fe=this.computeFutureIndex(oe,O),ge=g(g({},this.context),{},{futureIndex:fe}),pe=g(g({},O),{},{relatedContext:oe,draggedContext:ge});return B(pe,D)},onDragEnd:function(){Ht=null}}}),Zt=Xt;s.default=Zt},fb6a:function(n,s,e){var i=e("23e7"),l=e("861d"),c=e("e8b5"),f=e("23cb"),v=e("50c4"),g=e("fc6a"),h=e("8418"),y=e("b622"),E=e("1dde"),x=e("ae40"),T=E("slice"),I=x("slice",{ACCESSORS:!0,0:0,1:2}),V=y("species"),P=[].slice,K=Math.max;i({target:"Array",proto:!0,forced:!T||!I},{slice:function(W,H){var w=g(this),z=v(w.length),X=f(W,z),se=f(H===void 0?z:H,z),F,Q,le;if(c(w)&&(F=w.constructor,typeof F=="function"&&(F===Array||c(F.prototype))?F=void 0:l(F)&&(F=F[V],F===null&&(F=void 0)),F===Array||F===void 0))return P.call(w,X,se);for(Q=new(F===void 0?Array:F)(K(se-X,0)),le=0;X<se;X++,le++)X in w&&h(Q,le,w[X]);return Q.length=le,Q}})},fc6a:function(n,s,e){var i=e("44ad"),l=e("1d80");n.exports=function(c){return i(l(c))}},fdbc:function(n,s){n.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(n,s,e){var i=e("4930");n.exports=i&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(kr);var Tl=kr.exports;const Fr=Pa(Tl);function Lr(a,r){["name","gender","phone","id_card","ethnicity","height","weight","current_address","household_location","marital_status","expected_salary"].forEach(n=>{r[n]&&(a[n].visible=r[n].visible,a[n].required=r[n].required)}),["family_member","education","work_experience"].forEach(n=>{r[n]&&(a[n].visible=r[n].visible,Object.keys(r[n].fields).forEach(s=>{a[n].fields[s]&&(a[n].fields[s].visible=r[n].fields[s].visible,a[n].fields[s].required=r[n].fields[s].required)}))})}const Dl={class:"position-detail-container"},Pl={class:"header-container"},Rl={class:"header-actions"},Vl={class:"detail-content"},Kl={class:"detail-item"},Ul={key:0,class:"detail-value"},Ml={key:1,class:"title-edit-container"},Bl={class:"title-edit-actions"},Nl={class:"detail-item"},jl={key:0,class:"detail-value"},Fl={key:1,class:"title-edit-container"},Ll={class:"title-edit-actions"},kl={class:"detail-item"},Ql={key:0,class:"detail-value"},Gl={key:1,class:"title-edit-container"},zl={class:"title-edit-actions"},$l={class:"detail-item"},Jl={key:0,class:"detail-value"},Wl={key:1,class:"title-edit-container"},Hl={class:"title-edit-actions"},Yl={class:"detail-item"},Xl={key:0,class:"detail-value"},Zl={key:1,class:"title-edit-container"},ql={class:"title-edit-actions"},_l={class:"detail-item"},es={key:0,class:"detail-value"},ts={key:1,class:"title-edit-container"},ns={class:"title-edit-actions"},os={class:"detail-item"},rs={class:"detail-value"},is={class:"detail-item"},as={key:0,class:"detail-value"},ls={key:1,class:"title-edit-container"},ss={class:"title-edit-actions"},ds={class:"detail-item"},us=["innerHTML"],cs={key:2,class:"title-edit-container"},fs={class:"title-edit-actions"},vs={class:"detail-item"},ps=["innerHTML"],ms={key:2,class:"title-edit-container"},gs={class:"title-edit-actions"},hs={class:"detail-item"},ys={key:0,class:"detail-value"},bs={key:1,class:"title-edit-container"},Ss={class:"title-edit-actions"},Es={class:"status-cards"},xs={class:"status-switch"},Is={class:"status-text"},Cs={class:"section-title"},As={class:"section-title"},ws={class:"process-steps"},Os={class:"step-number"},Ts={class:"step-content"},Ds={class:"step-title"},Ps={class:"section-title"},Rs={class:"process-dialog-content"},Vs={key:0,class:"add-process-btn-top"},Ks={class:"process-number"},Us={class:"process-edit-content"},Ms={class:"process-edit-desc"},Bs={class:"process-edit-btn"},Ns=["onClick"],js={class:"dialog-footer"},Fs={class:"ai-video-steps"},Ls={key:0,class:"ai-video-content","element-loading-text":"正在生成能力标签..."},ks={class:"ai-video-options"},Qs={class:"ai-video-options-header"},Gs={class:"right_btn"},zs={class:"recommended-dimensions"},$s={class:"dimension-grid"},Js={class:"ability-label"},Ws={class:"optional-dimensions"},Hs={class:"dimension-grid"},Ys={class:"ability-label"},Xs={class:"custom-dimensions"},Zs={class:"dimension-form"},qs={class:"dimension-row"},_s={class:"dimension-input"},ed={class:"dimension-input"},td={class:"dimension-actions"},nd={key:1,class:"ai-video-content"},od={class:"interview-settings"},rd={class:"interview-header"},id={class:"interview-actions"},ad={class:"question-switches"},ld={class:"switch-item"},sd={class:"switch-item"},dd={class:"switch-item"},ud={class:"switch-item"},cd={class:"interview-content"},fd={class:"interview-questions-container","element-loading-text":"AI正在生成题目..."},vd={key:0,class:"no-questions"},pd={key:1,class:"question-list"},md={class:"question-card"},gd={class:"question-header"},hd={class:"question-title"},yd={class:"title-content"},bd={class:"question-content"},Sd={class:"question-number"},Ed={style:{color:"#0017ab"}},xd={class:"question-tags"},Id={key:0,class:"more-tags-indicator"},Cd={class:"question-actions",style:{"margin-top":"0px"}},Ad={class:"question-info"},wd={class:"info-item"},Od={key:0,class:"question-actions"},Td={class:"answer-limit"},Dd={class:"answer-limit"},Pd={key:1,class:"question-actions"},Rd={class:"answer-limit"},Vd={class:"multi-dimension-questions"},Kd={class:"dimension-list"},Ud={class:"dimension-header"},Md={class:"dimension-info"},Bd={class:"ability-name"},Nd=["onClick"],jd={key:2,class:"ai-video-content"},Fd={class:"system-settings"},Ld={class:"setting-section"},kd={style:{display:"flex","align-items":"flex-start"}},Qd={style:{width:"100px",height:"170px","background-color":"#f2f2f2","margin-right":"30px","border-radius":"10px"}},Gd=["src"],zd={class:"interviewer-avatars"},$d=["onClick"],Jd={class:"avatar-wrapper"},Wd=["src","alt"],Hd=["title"],Yd={class:"interview-settings"},Xd={class:"setting-item"},Zd={class:"setting-item"},qd={class:"setting-options"},_d={class:"setting-item"},eu={class:"drawer-footer"},tu={class:"video-lecture-form"},nu={class:"form-item"},ou={class:"upload-area"},ru={class:"form-item"},iu={class:"form-item"},au={class:"dialog-footer"},lu={class:"ai-chat-content"},su={class:"chat-settings"},du={class:"chat-actions"},uu={class:"chat-questions"},cu={key:0,class:"empty-questions"},fu={key:1,class:"question-list"},vu={class:"question-card"},pu={class:"question-header"},mu={class:"question-title"},gu={class:"question-number"},hu={class:"question-actions"},yu={class:"weight-control"},bu={class:"answer-limit"},Su={class:"question-info"},Eu={class:"info-item"},xu={class:"info-item"},Iu={class:"info-item"},Cu={class:"drawer-footer"},Au={class:"question-form"},wu={class:"form-item"},Ou={class:"form-item"},Tu={class:"form-item"},Du={class:"competency-config"},Pu={class:"config-row"},Ru={class:"form-item"},Vu={class:"form-item"},Ku={class:"form-item"},Uu={class:"form-item"},Mu={class:"form-item"},Bu={class:"dialog-footer"},Nu={class:"question-select-content"},ju={class:"search-bar"},Fu={class:"search-inputs"},Lu={class:"question-lists"},ku={class:"pagination-container"},Qu={class:"dialog-footer"},Gu={class:"data-collection-form"},zu={class:"field-config-panel"},$u={class:"field-config-list"},Ju={class:"field-config-item"},Wu={class:"field-label"},Hu={class:"field-config-item"},Yu={class:"field-label"},Xu={class:"field-config-item sub-field"},Zu={class:"field-label"},qu={class:"field-config-item"},_u={class:"field-label"},ec={class:"field-config-item sub-field"},tc={class:"field-label"},nc={class:"field-config-item"},oc={class:"field-label"},rc={class:"field-config-item"},ic={class:"field-label"},ac={class:"field-config-item sub-field"},lc={class:"field-label"},sc={class:"dialog-footer"},dc={class:"resume-collection-form"},uc={class:"form-item"},cc={class:"dialog-footer"},fc={class:"code-test-form"},vc={class:"form-item"},pc={class:"form-item"},mc={class:"switch-label"},gc={class:"form-item"},hc={class:"test-paper-selector"},yc={key:0,class:"empty-paper"},bc={key:1,class:"selected-paper"},Sc={class:"paper-info"},Ec={class:"paper-title"},xc={class:"paper-meta"},Ic={class:"paper-actions"},Cc={class:"dialog-footer"},Ac={class:"typing-test-form"},wc={class:"form-item"},Oc={class:"article-selection"},Tc={class:"form-item"},Dc={class:"form-item"},Pc={class:"time-input-container"},Rc={class:"form-item"},Vc={class:"upload-area"},Kc={class:"form-item"},Uc={class:"form-item"},Mc={class:"form-item"},Bc={class:"form-item"},Nc={class:"criteria-options"},jc={class:"dialog-footer"},Fc={class:"interview-settings-content"},Lc={class:"settings-section"},kc={class:"setting-item"},Qc={class:"setting-info"},Gc={class:"setting-item"},zc={class:"setting-info"},$c={key:0,class:"setting-desc-container"},Jc={class:"setting-desc"},Wc={key:1,class:"desc-edit-container"},Hc={class:"desc-edit-actions"},Yc={class:"setting-item"},Xc={class:"setting-info"},Zc={key:0,class:"setting-desc-container"},qc={class:"setting-desc"},_c={key:1,class:"desc-edit-container"},ef={class:"desc-edit-actions"},tf={class:"setting-item"},nf={class:"setting-info"},of={key:0,class:"setting-desc-container"},rf={class:"setting-desc"},af={key:1,class:"desc-edit-container"},lf={class:"desc-edit-actions"},sf={class:"dialog-footer"},df=ba({__name:"index",setup(a){const r=Sa(),o=Ea();J(o.params.id);const d=J(!1),n=J(!1),s=qe({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:[],status:0}),e=qe([{id:5,name:"资料收集",description:"资料收集",active:!0},{id:2,name:"AI视频",description:"AI视频",active:!0},{id:1,name:"待核验",description:"待核验",active:!0},{id:3,name:"已通过",description:"已通过",active:!0},{id:4,name:"已淘汰",description:"已淘汰",active:!1}]),i=J(!1),l=[{label:"AI视频",value:"ai_video"},{label:"视频宣讲",value:"video_presentation"},{label:"AI实时对话",value:"ai_chat"},{label:"资料收集",value:"data_collection"},{label:"简历收集",value:"resume_collection"}],c=()=>{pn.value=!0,Or({position_id:o.query.id}).then(b=>{b.data.forEach(t=>{t.selected=!1}),Mt.value=b.data,console.log("res",b),pn.value=!1}).catch(b=>{console.log("err",b),pn.value=!1})},f=Ua(),v=b=>{if(console.log("地址选择变化:",b),b&&Array.isArray(b)&&b.length>0){const[t,j,A]=b,q=f.find(Ve=>Ve.code===t);let G;q&&q.children&&(G=q.children.find(Ve=>Ve.code===j),G&&G.children&&G.children.find(Ve=>Ve.code===A))}},g=(b,t)=>{Ga({id:b,is_required_correct:t}).then(j=>{console.log("res",j)})},h=J(-1),y=J(!1),E=qe({top:"0px",left:"0px"}),x=J(!1),T=qe({qualityControl:!1,teamwork:!1,problemSolving:!1,dataAnalysis:!1,positionMatch:!1,proactiveness:!1,basicAbility:!1,communication:!1,serviceAwareness:!1,xxxx:!1}),I=J(1),V=J([{label:"沟通能力",value:"communication",level:"CC",description:"能够清晰、准确地表达想法,善于倾听和理解他人的观点,具备良好的书面和口头表达能力。",expanded:!1,isNew:!0},{label:"团队协作",value:"teamwork",level:"CC",description:"能够与团队成员有效合作,共同完成目标,具备良好的团队精神和协作意识。",expanded:!1,isNew:!1}]);qe({min:0,max:100,minScore:0,maxScore:0});const P=b=>{console.log(b)};J("standard"),J(!1);const K=J(!1),R=qe({title:"",videoFile:null,description:"",broadcastType:"required"}),W=J(!1);J(15),J(5);const H=J(!1),w=qe({content:"",competencyTags:[],weight:100,level:1,type:"open",position:[],category:"",tags:[],suggestedDuration:60}),z=J([{label:"时间管理",value:"time_management"},{label:"沟通能力",value:"communication"},{label:"团队协作",value:"teamwork"},{label:"问题解决",value:"problem_solving"},{label:"抗压能力",value:"pressure_resistance"}]),X=J([{label:"后端开发",value:"backend"},{label:"前端开发",value:"frontend"},{label:"产品经理",value:"product_manager"},{label:"项目经理",value:"project_manager"},{label:"测试工程师",value:"test_engineer"}]),se=J([{label:"技术能力",value:"tech"},{label:"管理能力",value:"management"},{label:"沟通能力",value:"communication"},{label:"专业知识",value:"professional"},{label:"个人素质",value:"personal"}]),F=J([{label:"时间管理",value:"time_management"},{label:"压力处理",value:"pressure_handling"},{label:"团队合作",value:"team_cooperation"},{label:"问题分析",value:"problem_analysis"},{label:"创新思维",value:"innovative_thinking"}]),Q=()=>{Object.assign(w,{content:"",competencyTags:[],weight:100,level:1,type:"open",position:[],category:"",tags:[],suggestedDuration:60})},le=()=>{H.value=!1,Q()},$=async()=>{if(!w.content){U.error("请输入题目内容");return}if(pa()){if(!w.type){U.error("请选择题目形式");return}if(w.position.length===0){U.error("请选择适用职位");return}if(!w.category){U.error("请选择题目分类");return}if(w.suggestedDuration<=0){U.error("请设置有效的建议时长");return}try{const b={content:w.content,competencyTags:w.competencyTags,weight:w.weight,level:w.level,type:w.type,position:w.position,category:w.category,tags:w.tags,suggestedDuration:w.suggestedDuration};H.value=!1,Q(),U.success("问题添加成功")}catch(b){console.error("添加问题失败:",b),U.error("添加问题失败,请重试")}}},_=J(!1),Se=qe({isRequired:!1,questions:[]});J([{label:"Q1",value:"q1",isVisible:!0,enableScoring:!1,isRequired:!1},{label:"请问你的毕业院校是哪里?",value:"school",isVisible:!0,enableScoring:!1,isRequired:!0}]);const Ce=J(!1),Be=qe({title:"简历收集",isRequired:!0,steps:4}),Ke=()=>{Ce.value=!0},De=()=>{Ce.value=!1,Object.assign(Be,{title:"简历收集",isRequired:!0,steps:4})},Ge=()=>{const b={id:Date.now(),name:Be.title,description:"简历收集",active:!0,type:"resume_collection",config:{...Be}};e.splice(h.value,0,b),Ce.value=!1,U.success("简历收集步骤已添加"),De()},Pe=J(!1),Ee=qe({enableScoreQuestions:!1,enableColorBlindQuestions:!1}),we=async()=>{try{const b=o.query.id;if(!b){U.error("职位ID不存在");return}const t=Array.isArray(b)?b[0]:b,j=b,A=await Ta(b);if(A&&A.data){Object.assign(s,A.data);const q=await Sn(b);q&&q.data&&(Ae.value=q.data.id,q.data.enable_psychological_test!==void 0&&(Ee.enableScoreQuestions=q.data.enable_psychological_test),q.data.enable_color_blind_test!==void 0&&(Ee.enableColorBlindQuestions=q.data.enable_color_blind_test)),d.value=s.status===1}}catch(b){console.error("获取职位详情失败:",b),U.error("获取职位详情失败")}},Re=()=>{r.push("/position/list")},it=()=>{r.push("/position/list")},Ze=()=>{U.success("分享链接已复制到剪贴板")},Ot=async b=>{const t=o.query.id;try{const j=b?1:0;await It({id:t,status:j}),s.status=j,U.success(`职位已${b?"开启":"关闭"}`)}catch(j){console.error("修改状态失败:",j),U.error("修改状态失败"),d.value=!b}},Rt=()=>{U.info("编辑职位用途功能开发中")},Tt=()=>{i.value=!0},$e=()=>{i.value=!1,U.success("招聘流程已更新")},Je=()=>{i.value=!1},Vt=b=>{e.splice(b,1)},gt=b=>({0:"未发布",1:"已发布",2:"已结束"})[b]||"未知状态",ht=b=>({0:"info",1:"success",2:"danger"})[b]||"info",ln=async(b,t)=>{if(b==="ai_video"){x.value=!0,y.value=!1;return}if(b==="ai_chat"){W.value=!0,y.value=!1;return}if(b==="video_presentation"){Ht(),y.value=!1;return}if(b==="data_collection"){const A=await Sn(o.query.id);A&&A.data?(Ae.value=A.data.id,Lr(L,A.data.profile_fields_config),_.value=!0,y.value=!1):(_.value=!0,y.value=!1);return}if(b==="resume_collection"){Ke(),y.value=!1;return}if(b==="code_test"){ae(),y.value=!1;return}if(b==="typing_test"){qt.value=!0,y.value=!1;return}if(e.length>=6){U.warning("最多只能添加6个流程步骤");return}const j={id:Date.now(),name:t,description:t,active:!0,type:b};e.splice(h.value,0,j),y.value=!1},On=async()=>{if(I.value<3){if(I.value===1){const b=Mt.value.filter(t=>t.selected);if(b.length===0){U.warning("请至少选择一个胜任力考核维度");return}try{const t=b.map(j=>({name:j.name,description:j.description,importance:j.importance}));await za({position_id:o.query.id,tenant_id:"1",tags:t}),V.value=b.map(j=>({label:j.name,value:j.name.toLowerCase().replace(/\s+/g,"_"),description:j.description,level:"CC",expanded:!1,isNew:!0}))}catch(t){console.error("保存胜任力标签失败:",t),U.error("保存胜任力标签失败");return}}if(I.value===2){if(C.value.length===0){U.warning("请至少添加一个面试题目");return}try{await Ui()}catch(b){console.error("保存题目失败:",b),U.error("保存题目失败");return}}if(I.value===3){const b=Mi();if(!b.isValid){b.messages.forEach(j=>{U.warning(j)});return}const t=ji();console.log("完整的面试配置:",t)}I.value++}else xt()},vt=()=>{I.value>1&&I.value--},xt=async()=>{var q;if(!lt.value||!lt.value.id){U.warning("请选择面试官形象");return}const b={id:lt.value.id,name:lt.value.name,avatar_url:lt.value.avatar_url||lt.value.image},t=jo(),j={enableScoreQuestions:Ee.enableScoreQuestions,enableColorBlindQuestions:Ee.enableColorBlindQuestions};if(Ae.value==0){const G=await en({position_id:o.query.id,digital_human_id:lt.value.id});if(G.code==2e3){U.success("配置保存成功");try{const Ve={config_id:((q=G.data)==null?void 0:q.id)||G.data};t.beforeStartText&&t.beforeStartText.trim()!==""?(await Qo(Ve),console.log("开场白生成成功"),x.value=!1,I.value=1,await new Promise(Ie=>setTimeout(Ie,4e3))):console.log("无开场白配置,跳过开场白生成"),await Cr(Ve),U.success("视频开始生成")}catch(Ve){console.error("获取开场白和视频失败:",Ve),U.warning("视频生成中,请稍后")}}else U.error("配置保存失败")}else if((await tn({id:Ae.value,digital_human_id:lt.value.id})).code==2e3){U.success("配置保存成功");try{const Ve={config_id:Ae.value};console.log("开始生成开场白..."),await Qo(Ve),console.log("开场白生成成功"),x.value=!1,I.value=1,console.log("等待4秒后开始生成视频..."),await ki(4e3),console.log("开始生成视频..."),await Cr(Ve),console.log("视频生成请求已发送"),U.success("视频开始生成")}catch(Ve){console.error("获取开场白和视频失败:",Ve),U.warning("视频生成中,请稍后")}}else U.error("配置保存失败");console.log("保存时选中的面试官:",b),console.log("保存时的面试设置:",t),console.log("保存时的题目设置:",j);const A={id:Date.now(),name:"AI视频",description:`已选择${V.value.length}项能力测评`,active:!0,type:"ai_video",abilities:V.value.map(G=>G.value),interviewer:b,settings:t};e.splice(h.value,0,A),x.value=!1,I.value=1,U.success("AI视频步骤已添加")},Ft=()=>{x.value=!1,I.value=1},Kt=b=>{},Ht=()=>{K.value=!0},Lt=()=>{K.value=!1,Object.assign(R,{title:"",videoFile:null,description:"",broadcastType:"required"})},Yt=()=>{const b={id:Date.now(),name:R.title||"视频宣讲",description:R.description||"视频宣讲",active:!0,type:"video_presentation",config:{...R}};e.splice(h.value,0,b),K.value=!1,U.success("视频宣讲步骤已添加"),Lt()},Xt=()=>{const b={id:Date.now(),name:"AI实时对话",description:"AI实时对话",active:!0,type:"ai_chat"};e.splice(h.value,0,b),W.value=!1,U.success("AI实时对话步骤已添加")},Zt=()=>{W.value=!1},C=J([]),O=()=>{H.value=!0},D=()=>{Fn.value=!0,ho()},B=b=>{const t=C.value[b];Object.assign(w,t),H.value=!0},Z=b=>{Ir.confirm("确认删除该问题?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{C.value.splice(b,1),U.success("删除成功")})},oe=()=>{_.value=!1,Object.assign(Se,{isRequired:!1,questions:[]})};xa(()=>{we(),Oi(),Fi(),fe()}),Ia(()=>{vr()});const fe=async()=>{try{const b=o.query.id;if(b){const t=await Sn(b);t&&t.data&&(t.data.enable_psychological_test!==void 0&&(Ee.enableScoreQuestions=t.data.enable_psychological_test),t.data.enable_color_blind_test!==void 0&&(Ee.enableColorBlindQuestions=t.data.enable_color_blind_test))}}catch(b){console.error("初始化配置状态失败:",b)}},ge=J(!1),pe=qe({title:"代码笔试",autoJudge:!0,selectedPaper:null}),ae=()=>{ge.value=!0},ee=()=>{ge.value=!1,Object.assign(pe,{title:"代码笔试",autoJudge:!0,selectedPaper:null})},ne=()=>{if(!pe.selectedPaper){U.warning("请添加考试试卷");return}const b={id:Date.now(),name:pe.title,description:`${pe.selectedPaper.title}`,active:!0,type:"code_test",config:{...pe}};e.splice(h.value,0,b),ge.value=!1,U.success("代码笔试步骤已添加"),ee()},he=()=>{pe.selectedPaper={id:1,title:"前端开发工程师笔试",questionCount:4,duration:60,difficulty:"中等难度"}},be=()=>{U.info("查看试卷功能开发中")},tt=()=>{U.info("更换试卷功能开发中")},Tn=()=>{pe.selectedPaper=null},qt=J(!1),Ne=qe({title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]}),sr=()=>{qt.value=!1,Object.assign(Ne,{title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]})},_r=()=>{const b={id:Date.now(),name:Ne.title,description:`打字测试 ${Ne.duration}分钟`,active:!0,type:"typing_test",config:{...Ne}};e.splice(h.value,0,b),qt.value=!1,U.success("打字测试步骤已添加"),sr()},lo=J(!1),sn=J(""),ei=()=>{sn.value=s.title,lo.value=!0},ti=()=>{lo.value=!1},ni=async()=>{if(!sn.value.trim()){U.warning("职位名称不能为空");return}try{const b=o.query.id;await It({id:b,title:sn.value.trim()}),s.title=sn.value.trim(),lo.value=!1,U.success("职位名称已更新")}catch(b){console.error("更新职位名称失败:",b),U.error("更新职位名称失败")}},so=J(!1),Ut=J(""),oi=()=>{if(!s.location)Ut.value="";else if(Array.isArray(s.location))Ut.value=s.location;else if(typeof s.location=="string")try{const t=s.location.replace(/[\[\]']/g,"").split(",").map(G=>G.trim()),j=f.find(G=>G.name===t[0]);let A,q;j&&j.children&&(A=j.children.find(G=>G.name===t[1]),A&&A.children&&(q=A.children.find(G=>G.name===t[2]))),Ut.value=[j==null?void 0:j.code,A==null?void 0:A.code,q==null?void 0:q.code].filter(Boolean)}catch(b){console.error("解析地址失败:",b),Ut.value=""}so.value=!0},ri=()=>{so.value=!1},ii=async()=>{try{const b=o.query.id,t=[];if(Ut.value&&Array.isArray(Ut.value)){const[j,A,q]=Ut.value,G=f.find(Ie=>Ie.code===j);let Ve,de;G&&(t.push(G.name),G.children&&(Ve=G.children.find(Ie=>Ie.code===A),Ve&&(t.push(Ve.name),Ve.children&&(de=Ve.children.find(Ie=>Ie.code===q),de&&t.push(de.name)))))}await It({id:b,location:t}),s.location=t,so.value=!1,U.success("工作地点已更新")}catch(b){console.error("更新工作地点失败:",b),U.error("更新工作地点失败")}},uo=J(!1),Dn=J(""),ai=()=>{Dn.value=s.salary_range||"",uo.value=!0},li=()=>{uo.value=!1},si=async()=>{try{const b=o.query.id;await It({id:b,salary_range:Dn.value.trim()}),s.salary_range=Dn.value.trim(),uo.value=!1,U.success("职位薪资已更新")}catch(b){console.error("更新职位薪资失败:",b),U.error("更新职位薪资失败")}},co=J(!1),Pn=J(""),di=()=>{Pn.value=s.work_experience_required||"",co.value=!0},ui=()=>{co.value=!1},ci=async()=>{try{const b=o.query.id;await It({id:b,work_experience_required:Pn.value}),s.work_experience_required=Pn.value,co.value=!1,U.success("工作经验已更新")}catch(b){console.error("更新工作经验失败:",b),U.error("更新工作经验失败")}},fo=J(!1),Rn=J(""),fi=()=>{Rn.value=s.education_required||"",fo.value=!0},vi=()=>{fo.value=!1},pi=async()=>{try{const b=o.query.id;await It({id:b,education_required:Rn.value}),s.education_required=Rn.value,fo.value=!1,U.success("学历要求已更新")}catch(b){console.error("更新学历要求失败:",b),U.error("更新学历要求失败")}},vo=J(!1),Vn=J(""),mi=()=>{Vn.value=s.department||"",vo.value=!0},gi=()=>{vo.value=!1},hi=async()=>{try{const b=o.query.id;await It({id:b,department:Vn.value.trim()}),s.department=Vn.value.trim(),vo.value=!1,U.success("所属部门已更新")}catch(b){console.error("更新所属部门失败:",b),U.error("更新所属部门失败")}},po=J(!1),Kn=J(""),yi=()=>{Kn.value=s.end_date||"",po.value=!0},bi=()=>{po.value=!1},Si=async()=>{try{const b=o.query.id;await It({id:b,end_date:Kn.value}),s.end_date=Kn.value,po.value=!1,U.success("截止日期已更新")}catch(b){console.error("更新截止日期失败:",b),U.error("更新截止日期失败")}},Un=J(!1),Mn=J(""),Ei=()=>{Mn.value=s.requirements||"",Un.value=!0},xi=()=>{Un.value=!1},Ii=async()=>{try{const b=o.query.id;await It({id:b,requirements:Mn.value}),s.requirements=Mn.value,Un.value=!1,U.success("职位要求已更新")}catch(b){console.error("更新职位要求失败:",b),U.error("更新职位要求失败")}},Bn=J(!1),Nn=J(""),Ci=()=>{Nn.value=s.description||"",Bn.value=!0},Ai=()=>{Bn.value=!1},wi=async()=>{try{const b=o.query.id;await It({id:b,description:Nn.value}),s.description=Nn.value,Bn.value=!1,U.success("职位描述已更新")}catch(b){console.error("更新职位描述失败:",b),U.error("更新职位描述失败")}},Mt=J([]),mo=J(!1),jn=J([]),Oi=async()=>{try{const b=await Na({page:1,pageSize:1e3});b&&b.data}catch(b){console.error("获取能力标签列表失败:",b),U.error("获取能力标签列表失败")}},Ti=()=>{var b;jn.value=((b=s.competency_tags)==null?void 0:b.map(t=>t.id))||[],mo.value=!0},Di=()=>{mo.value=!1},Pi=async()=>{try{const b=o.query.id;await It({id:b,competency_tags:jn.value}),s.competency_tags=Mt.value.filter(t=>jn.value.includes(t.id)),mo.value=!1,U.success("能力标签已更新")}catch(b){console.error("更新能力标签失败:",b),U.error("更新能力标签失败")}},Ri=J(null),Ae=J(0),Vi=async b=>{if(b.name==="资料收集"){const t=await Sn(o.query.id);t&&t.data?(Ae.value=t.data.id,Lr(L,t.data.profile_fields_config),_.value=!0,y.value=!1):(_.value=!0,y.value=!1);return}if(b.name==="AI视频"){const t=await Sn(o.query.id);pn.value=!0,Ri.value=b,x.value=!0,I.value=1;try{const j=await Or({position_id:o.query.id});console.log("response2",j),t&&t.data&&(Ae.value=t.data.id),j&&j.data&&(j.data.forEach(A=>{A.selected=!1}),Mt.value=j.data)}catch(j){console.error("生成能力标签失败:",j),U.error("生成能力标签失败")}finally{pn.value=!1}Object.keys(T).forEach(j=>{T[j]=!1})}},dr=J(""),ur=J(""),cr=J(!1),at=qe({keepVideo:!1,interruptionMode:"",smartFollowUp:!1}),Bo=J([{id:1,name:"Jessica",image:"/avatars/jessica.png"},{id:2,name:"Mike",image:"/avatars/mike.png"},{id:3,name:"Sarah",image:"/avatars/sarah.png"}]),lt=J(Bo.value[0]),No=J(""),Ki=b=>{lt.value=b,console.log("选中的面试官信息:",{id:b.id,name:b.name,avatar_url:b.avatar_url||b.image}),No.value=b.avatar_url,U.success(`已选择面试官:${b.name}`)},Ui=async()=>{const b=C.value.filter(j=>j.source==="ai_generated"),t=C.value.filter(j=>j.source==="custom_selected");if(console.log("AI生成的题目:",b),console.log("自定义选择的题目:",t),b.length>0&&(await La({draft_ids:b.map(j=>j.id)}),console.log("AI生成的题目已保存到草稿")),t.length>0){const j={position_id:o.query.id,question_id:{question_id:t},duration:60,tenant_id:1};console.log("自定义选择的题目需要调用专门的接口处理");const A=await Qa(j);A&&A.code===2e3?U.success("自定义选择的题目已保存"):U.error("自定义选择的题目保存失败")}},jo=()=>{const b={keepVideo:at.keepVideo,interruptionMode:at.interruptionMode,smartFollowUp:at.smartFollowUp};return console.log("当前面试设置:",b),b},go=(b,t)=>{switch(console.log(`面试设置 ${b} 已更改为:`,t),b){case"keepVideo":console.log("回答视频保留设置:",t?"开启":"关闭");break;case"interruptionMode":console.log("中断后作答限制模式:",t==="previous"?"从上一问重新作答":"从当前问题作答");break;case"smartFollowUp":console.log("智慧追问设置:",t?"开启":"关闭");break}},Mi=()=>{const b=jo(),t={isValid:!0,messages:[]};return b.interruptionMode===""&&(t.isValid=!1,t.messages.push("请选择中断后作答限制模式")),t},Bi=b=>{n.value=!0,console.log("开始拖拽题目:",b)},Ni=b=>{n.value=!1,console.log("拖拽结束:",b),console.log("当前题目顺序:",C.value),U.success("题目顺序已更新")},ji=()=>({interviewer:{id:lt.value.id,name:lt.value.name,avatar_url:lt.value.avatar_url||lt.value.image},settings:jo(),questionSettings:{enableScoreQuestions:Ee.enableScoreQuestions,enableColorBlindQuestions:Ee.enableColorBlindQuestions},abilities:V.value,questions:C.value,currentStep:I.value}),Fi=async()=>{const b=await ka({page:1,pageSize:1e3});b&&b.data&&(Bo.value=b.data)},fr=(b,t)=>{t?dn.value.push({name:b.name,description:b.description||"暂无描述"}):dn.value=dn.value.filter(j=>j.name!==b.name)},Li=b=>{Ir.confirm("确认删除这个胜任力标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const t=V.value[b];V.value.splice(b,1),dn.value=dn.value.filter(A=>A.name!==t.label);const j=Mt.value.find(A=>A.name===t.label);j&&(j.selected=!1),U.success("胜任力标签已删除")}).catch(()=>{})},dn=J([]),ki=b=>new Promise(t=>setTimeout(t,b));let Bt=null;const Qi=async(b,t=30,j=2e3)=>{let A=0;Bt={cancelled:!1};const q=Bt;return new Promise((G,Ve)=>{const de=async()=>{try{if(q.cancelled){console.log("轮询已被取消"),G(null);return}A++,console.log(`第${A}次轮询获取草稿列表...`);const Ie=await Fa(b);if(q.cancelled){console.log("轮询已被取消"),G(null);return}if(Ie&&Ie.data&&Ie.data.dataList&&Ie.data.dataList.length>0){console.log("轮询成功,获取到草稿列表数据"),Bt=null,G(Ie);return}if(A>=t){console.log("轮询达到最大次数,停止轮询"),Bt=null,G(Ie);return}setTimeout(de,j)}catch(Ie){if(console.error(`第${A}次轮询失败:`,Ie),q.cancelled){console.log("轮询已被取消"),G(null);return}A<t?setTimeout(de,j):(Bt=null,Ve(Ie))}};de()})},vr=()=>{Bt&&(Bt.cancelled=!0,Bt=null,console.log("轮询已被手动取消"))},Gi=()=>{vr(),Pe.value=!1,U.info("已取消AI自动组题")},zi=async b=>{var t;if(console.log("得分题开关状态:",b?"开启":"关闭"),b){const j=await Jn({page:1,limit:1e3,question_form:4,tenant_id:1});console.log(j),j&&j.data?Ar({position_id:o.query.id,question_id:{question_id:j.data.items.map(A=>A.id)},tenant_id:1}).then(async A=>{var q;if(A.code===2e3){try{if(Ae.value>0)await tn({id:Ae.value,enable_psychological_test:!0}),console.log("配置中的enable_psychological_test字段已更新为true");else{const G=await en({position_id:o.query.id,enable_psychological_test:!0,tenant_id:1});G&&G.code===2e3&&(Ae.value=((q=G.data)==null?void 0:q.id)||G.data,console.log("配置创建成功,enable_psychological_test字段已设置为true"))}}catch(G){console.error("更新enable_psychological_test字段失败:",G)}U.success("得分题功能已开启")}else U.error("得分题功能开启失败")}):U.error("获取题目列表失败")}else try{const j=await Jn({page:1,limit:1e3,question_form:4,tenant_id:1});if(j&&j.data){if(await wr({position_id:o.query.id,question_id:j.data.items.map(A=>A.id),tenant_id:1}),Ae.value>0)await tn({id:Ae.value,enable_psychological_test:!1}),console.log("配置中的enable_psychological_test字段已更新为false");else{const A=await en({position_id:o.query.id,enable_psychological_test:!1,tenant_id:1});A&&A.code===2e3&&(Ae.value=((t=A.data)==null?void 0:t.id)||A.data,console.log("配置创建成功,enable_psychological_test字段已设置为false"))}U.info("得分题功能已关闭")}}catch(j){console.error("关闭得分题功能失败:",j),U.error("关闭得分题功能失败")}},$i=async b=>{var t;if(console.log("色盲题开关状态:",b?"开启":"关闭"),b){const j=await Jn({page:1,limit:1e3,question_form:3,tenant_id:1});console.log(j),j&&j.data?Ar({position_id:o.query.id,question_id:{question_id:j.data.items.map(A=>A.id)},tenant_id:1}).then(async A=>{var q;if(A.code===2e3){try{if(Ae.value>0)await tn({id:Ae.value,enable_color_blind_test:!0}),console.log("配置中的enable_color_blind_test字段已更新为true");else{const G=await en({position_id:o.query.id,enable_color_blind_test:!0,tenant_id:1});G&&G.code===2e3&&(Ae.value=((q=G.data)==null?void 0:q.id)||G.data,console.log("配置创建成功,enable_color_blind_test字段已设置为true"))}}catch(G){console.error("更新enable_color_blind_test字段失败:",G)}U.success("色盲题功能已开启")}else U.error("色盲题功能开启失败")}):U.error("获取色盲题目列表失败")}else try{const j=await Jn({page:1,limit:1e3,question_form:3,tenant_id:1});if(j&&j.data){if(await wr({position_id:o.query.id,question_id:j.data.items.map(A=>A.id),tenant_id:1}),Ae.value>0)await tn({id:Ae.value,enable_color_blind_test:!1}),console.log("配置中的enable_color_blind_test字段已更新为false");else{const A=await en({position_id:o.query.id,enable_color_blind_test:!1,tenant_id:1});A&&A.code===2e3&&(Ae.value=((t=A.data)==null?void 0:t.id)||A.data,console.log("配置创建成功,enable_color_blind_test字段已设置为false"))}U.info("色盲题功能已关闭")}}catch(j){console.error("关闭色盲题功能失败:",j),U.error("关闭色盲题功能失败")}},Fn=J(!1),Ln=J(""),pr=J([]),un=J([]),mr=J(0),yt=qe({page:1,pageSize:10,keyword:"",question_form:null}),ho=async()=>{try{const b={...yt,keyword:Ln.value,...yt.question_form!==null&&{question_form:yt.question_form}},t=await Jn(b);t&&t.data&&(pr.value=t.data.items,mr.value=t.data.total)}catch(b){console.error("获取题目列表失败:",b),U.error("获取题目列表失败")}},yo=()=>{yt.page=1,ho()},Ji=b=>{yt.pageSize=b,ho()},Wi=b=>{yt.page=b,ho()},Hi=b=>{un.value=b},Yi=()=>{Fn.value=!1,un.value=[],Ln.value=""},Xi=()=>{if(un.value.length===0){U.warning("请至少选择一个题目");return}console.log(un.value);const b=un.value.map(t=>({id:t.id||Date.now(),title:t.question||t.title,ability:t.ability||"未设置",content:t.content||t.question,target:t.target||"未设置",competency_tags:t.competency_tags||[],question_form_name:t.question_form_name,scoring_reference:t.scoring_reference,question_form:t.question_form,is_required_correct:t.is_required_correct,weight:100,maxAnswers:1,source:"custom_selected"}));C.value.push(...b),Fn.value=!1,un.value=[],Ln.value=""},L=qe({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}}},skills:{visible:!0,label:"专业技能",required:!0},training:{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}}}}),Zi=async()=>{try{const b={position_id:o.query.id,require_resume_upload:!0,resume_file_types:["pdf","docx","doc"],max_resume_size_mb:10,require_basic_info:!0,profile_fields_config:{name:{required:L.name.required,visible:L.name.visible},phone:{required:L.phone.required,visible:L.phone.visible},id_card:{required:L.id_card.required,visible:L.id_card.visible},gender:{required:L.gender.required,visible:L.gender.visible},birth_date:{required:!1,visible:!0},political_status:{required:!1,visible:!0},ethnicity:{required:L.ethnicity.required,visible:L.ethnicity.visible},height:{required:L.height.required,visible:L.height.visible},weight:{required:L.weight.required,visible:L.weight.visible},marital_status:{required:L.marital_status.required,visible:L.marital_status.visible}},require_education_info:L.education.visible,education_fields_config:{school_name:{required:L.education.fields.school_name.required,visible:L.education.fields.school_name.visible},major:{required:L.education.fields.major.required,visible:L.education.fields.major.visible},degree:{required:L.education.fields.degree.required,visible:L.education.fields.degree.visible},start_date:{required:L.education.fields.start_time.required,visible:L.education.fields.start_time.visible},end_date:{required:L.education.fields.end_time.required,visible:L.education.fields.end_time.visible}},require_work_experience:L.work_experience.visible,work_experience_fields_config:{company_name:{required:L.work_experience.fields.company_name.required,visible:L.work_experience.fields.company_name.visible},position:{required:L.work_experience.fields.position.required,visible:L.work_experience.fields.position.visible},department:{required:L.work_experience.fields.department.required,visible:L.work_experience.fields.department.visible},start_date:{required:L.work_experience.fields.start_time.required,visible:L.work_experience.fields.start_time.visible},end_date:{required:L.work_experience.fields.end_time.required,visible:L.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:L.family_member.visible,family_fields_config:{relation:{required:L.family_member.fields.relation.required,visible:L.family_member.fields.relation.visible},name:{required:L.family_member.fields.name.required,visible:L.family_member.fields.name.visible},workplace:{required:L.family_member.fields.workplace_address.required,visible:L.family_member.fields.workplace_address.visible},position:{required:L.family_member.fields.position.required,visible:L.family_member.fields.position.visible},phone:{required:L.family_member.fields.phone.required,visible:L.family_member.fields.phone.visible}},require_training_info:!1,training_fields_config:{training_name:{required:!0,visible:!0},institution:{required:!0,visible:!0},start_date:{required:!0,visible:!0},end_date:{required:!1,visible:!0},certificate:{required:!1,visible:!0}},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};Ae.value==0||(b.id=Ae.value),Ae.value==0?(await en(b)).code==2e3?(U.success("配置保存成功"),_.value=!1,y.value=!1):U.error("配置保存失败"):(await tn(b)).code==2e3?(U.success("配置保存成功"),_.value=!1,y.value=!1):U.error("配置保存失败")}catch(b){console.error("保存配置失败:",b),U.error("配置保存失败")}},qi=()=>({name:L.name,gender:L.gender,three_period:L.three_period,phone:L.phone,id_card:L.id_card,ethnicity:L.ethnicity,height:L.height,weight:L.weight,current_address:L.current_address,household_location:L.household_location,marital_status:L.marital_status,expected_salary:L.expected_salary}),_i=()=>({skills:L.skills,training:L.training}),kn=J(!1),ut=qe({faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部结束,感谢您的参与,请等待后续通知。"}),cn=J(!1),Qn=J(!1),Gn=J(!1),kt=J(""),fn=J(""),vn=J(""),ea=()=>{kn.value=!1,cn.value=!1,Qn.value=!1,Gn.value=!1,Object.assign(ut,{faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我想咨询其间的面试,欢迎来到大面试",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部流程拍摄,面试者同意可为今后资讯调研"})},ta=()=>{console.log("保存面试设置:",ut),U.success("面试设置已保存"),kn.value=!1},na=()=>{Sn(o.query.id).then(b=>{kn.value=!0,Ae.value=b.data.id,ut.beforeStartText=b.data.digital_human_opening_speech})},oa=()=>{kt.value=ut.beforeStartText,cn.value=!0},ra=()=>{cn.value=!1,kt.value=""},ia=async()=>{var b;if(!kt.value.trim()){U.warning("开始前提示内容不能为空");return}ut.beforeStartText=kt.value.trim();try{let t;if(console.log(Ae.value),Ae.value==0)t=await en({position_id:o.query.id,digital_human_opening_speech:kt.value.trim()}),t.code===2e3?(Ae.value=((b=t.data)==null?void 0:b.id)||t.data,U.success("开始前提示内容已创建"),cn.value=!1):U.error("开始前提示内容创建失败");else if(t=await tn({id:Ae.value,digital_human_opening_speech:kt.value.trim()}),t.code===2e3){U.success("开始前提示内容已更新"),cn.value=!1;try{const j={config_id:Ae.value};await Qo(j),console.log("开场白生成成功")}catch(j){console.error("获取开场白失败:",j),U.warning("开场白生成中,请稍后")}}else U.error("开始前提示内容更新失败")}catch(t){console.error("保存开始前提示内容失败:",t),U.error("保存失败,请重试")}},aa=()=>{fn.value=ut.afterStartText,Qn.value=!0},la=()=>{Qn.value=!1,fn.value=""},sa=()=>{if(!fn.value.trim()){U.warning("开始后提醒内容不能为空");return}ut.afterStartText=fn.value.trim(),Qn.value=!1,U.success("开始后提醒内容已更新")},da=()=>{vn.value=ut.disclaimerText,Gn.value=!0},ua=()=>{Gn.value=!1,vn.value=""},ca=()=>{if(!vn.value.trim()){U.warning("免责声明内容不能为空");return}ut.disclaimerText=vn.value.trim(),Gn.value=!1,U.success("免责声明内容已更新")},_t=qe({openQuestionsCount:5,choiceQuestionsCount:10}),gr=()=>{console.log("题目数量已更新:",_t)},fa=async()=>{try{Pe.value=!0;const b=dn.value.map(A=>{const q=Mt.value.find(G=>G.name===A.name);return q?q.id:null}).filter(A=>A!==null);if(b.length===0){U.warning("请先选择能力标签");return}const t={position_id:o.query.id,competency_tag_ids:b,open_questions_count:_t.openQuestionsCount,choice_questions_count:_t.choiceQuestionsCount,auto_save:!0,tenant_id:1},j=await ja(t);if(j&&j.data){const A=await Qi({tenant_id:1,position_id:o.query.id});if(console.log(A),A===null){console.log("轮询被取消,停止处理");return}if(A&&A.data&&A.data.dataList){const q=A.data.dataList.map(G=>({id:G.id||Date.now(),title:G.question||G.title,ability:G.ability||"未设置",content:G.content||G.question,target:G.target||"未设置",competency_tags:G.competency_tags||[],question_form_name:G.question_form_name,scoring_reference:G.scoring_reference,question_form:G.question_form,is_required_correct:G.is_required_correct,weight:100,maxAnswers:1,source:"ai_generated"}));C.value=q,U.success(`已成功生成${q.length}个面试题目`)}else U.warning("AI生成题目中,请稍后再试")}}catch(b){console.error("AI自动组题失败:",b),U.error("AI自动组题失败,请重试")}finally{Pe.value=!1}},va=b=>{w.competencyTags=b,b.length===1&&(w.weight=100)},pa=()=>w.competencyTags.length===0?(U.warning("请至少选择一个胜任力标签"),!1):w.weight<=0||w.weight>100?(U.warning("权重必须在1-100之间"),!1):w.level<1||w.level>5?(U.warning("级别必须在1-5之间"),!1):!0,ma=b=>{switch(w.type=b,b){case"open":w.suggestedDuration=120;break;case"single":case"multiple":w.suggestedDuration=60;break;case"fill":w.suggestedDuration=30;break;case"self":w.suggestedDuration=180;break;default:w.suggestedDuration=60}},pn=J(!1);return(b,t)=>{const j=je("page-header"),A=je("el-button"),q=je("el-icon"),G=je("el-input"),Ve=je("el-cascader"),de=je("el-option"),Ie=je("el-select"),mn=je("el-tag"),ga=je("el-date-picker"),zn=je("el-card"),nt=je("el-switch"),Qt=je("el-dialog"),gn=je("el-checkbox"),hn=je("el-input-number"),yn=je("el-radio"),hr=je("el-upload"),yr=je("el-radio-group"),Fo=je("el-table-column"),ha=je("el-table"),ya=je("el-pagination"),$n=je("el-tooltip"),Gt=je("el-col"),zt=je("el-row"),br=Ca("loading");return N(),Y("div",Dl,[u("div",Pl,[p(j,{title:"测试",onBack:Re}),u("div",Rl,[p(A,{type:"primary",onClick:it},{default:S(()=>t[76]||(t[76]=[M("保存")])),_:1}),p(A,{onClick:Ze},{default:S(()=>t[77]||(t[77]=[M("分享职位")])),_:1})])]),u("div",Vl,[p(zn,{class:"detail-card"},{default:S(()=>[t[109]||(t[109]=u("div",{class:"section-title"},[u("div",{class:"section-line"}),u("span",null,"职位详情")],-1)),u("div",Kl,[t[80]||(t[80]=u("div",{class:"detail-label"},"职位名称",-1)),lo.value?(N(),Y("div",Ml,[p(G,{modelValue:sn.value,"onUpdate:modelValue":t[0]||(t[0]=m=>sn.value=m),placeholder:"请输入职位名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"]),u("div",Bl,[p(A,{size:"small",onClick:ti},{default:S(()=>t[78]||(t[78]=[M("取消")])),_:1}),p(A,{size:"small",type:"primary",onClick:ni},{default:S(()=>t[79]||(t[79]=[M("保存")])),_:1})])])):(N(),Y("div",Ul,[M(re(s.title)+" ",1),p(A,{type:"text",class:"edit-title-btn",onClick:ei},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(st))]),_:1})]),_:1})]))]),u("div",Nl,[t[83]||(t[83]=u("div",{class:"detail-label"},"工作地点",-1)),so.value?(N(),Y("div",Fl,[p(Ve,{modelValue:Ut.value,"onUpdate:modelValue":t[1]||(t[1]=m=>Ut.value=m),options:xe(f),props:{expandTrigger:"hover",checkStrictly:!1,value:"code",label:"name"},style:{width:"100%"},placeholder:"请选择工作地点",clearable:"",onChange:v},null,8,["modelValue","options"]),u("div",Ll,[p(A,{size:"small",onClick:ri},{default:S(()=>t[81]||(t[81]=[M("取消")])),_:1}),p(A,{size:"small",type:"primary",onClick:ii},{default:S(()=>t[82]||(t[82]=[M("保存")])),_:1})])])):(N(),Y("div",jl,[M(re((()=>{if(!s.location)return"暂无";if(Array.isArray(s.location))return s.location.join(",");if(typeof s.location=="string")try{return s.location.replace(/[\[\]']/g,"").split(",").map(ue=>ue.trim()).join(",")}catch{return s.location}return s.location})())+" ",1),p(A,{type:"text",class:"edit-title-btn",onClick:oi},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(st))]),_:1})]),_:1})]))]),u("div",kl,[t[86]||(t[86]=u("div",{class:"detail-label"},"职位薪资",-1)),uo.value?(N(),Y("div",Gl,[p(G,{modelValue:Dn.value,"onUpdate:modelValue":t[2]||(t[2]=m=>Dn.value=m),placeholder:"请输入职位薪资",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),u("div",zl,[p(A,{size:"small",onClick:li},{default:S(()=>t[84]||(t[84]=[M("取消")])),_:1}),p(A,{size:"small",type:"primary",onClick:si},{default:S(()=>t[85]||(t[85]=[M("保存")])),_:1})])])):(N(),Y("div",Ql,[M(re(s.salary_range||"暂无")+" ",1),p(A,{type:"text",class:"edit-title-btn",onClick:ai},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(st))]),_:1})]),_:1})]))]),u("div",$l,[t[89]||(t[89]=u("div",{class:"detail-label"},"工作经验",-1)),co.value?(N(),Y("div",Wl,[p(Ie,{modelValue:Pn.value,"onUpdate:modelValue":t[3]||(t[3]=m=>Pn.value=m),placeholder:"请选择工作经验",style:{width:"100%"}},{default:S(()=>[p(de,{label:"不限",value:"不限"}),p(de,{label:"应届毕业生",value:"应届毕业生"}),p(de,{label:"1年以下",value:"1年以下"}),p(de,{label:"1-3年",value:"1-3年"}),p(de,{label:"3-5年",value:"3-5年"}),p(de,{label:"5-10年",value:"5-10年"}),p(de,{label:"10年以上",value:"10年以上"})]),_:1},8,["modelValue"]),u("div",Hl,[p(A,{size:"small",onClick:ui},{default:S(()=>t[87]||(t[87]=[M("取消")])),_:1}),p(A,{size:"small",type:"primary",onClick:ci},{default:S(()=>t[88]||(t[88]=[M("保存")])),_:1})])])):(N(),Y("div",Jl,[M(re(s.work_experience_required||"暂无")+" ",1),p(A,{type:"text",class:"edit-title-btn",onClick:di},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(st))]),_:1})]),_:1})]))]),u("div",Yl,[t[92]||(t[92]=u("div",{class:"detail-label"},"学历要求",-1)),fo.value?(N(),Y("div",Zl,[p(Ie,{modelValue:Rn.value,"onUpdate:modelValue":t[4]||(t[4]=m=>Rn.value=m),placeholder:"请选择学历要求",style:{width:"100%"}},{default:S(()=>[p(de,{label:"不限",value:"不限"}),p(de,{label:"高中",value:"高中"}),p(de,{label:"大专",value:"大专"}),p(de,{label:"本科",value:"本科"}),p(de,{label:"硕士",value:"硕士"}),p(de,{label:"博士",value:"博士"})]),_:1},8,["modelValue"]),u("div",ql,[p(A,{size:"small",onClick:vi},{default:S(()=>t[90]||(t[90]=[M("取消")])),_:1}),p(A,{size:"small",type:"primary",onClick:pi},{default:S(()=>t[91]||(t[91]=[M("保存")])),_:1})])])):(N(),Y("div",Xl,[M(re(s.education_required||"暂无")+" ",1),p(A,{type:"text",class:"edit-title-btn",onClick:fi},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(st))]),_:1})]),_:1})]))]),u("div",_l,[t[95]||(t[95]=u("div",{class:"detail-label"},"所属部门",-1)),vo.value?(N(),Y("div",ts,[p(G,{modelValue:Vn.value,"onUpdate:modelValue":t[5]||(t[5]=m=>Vn.value=m),placeholder:"请输入所属部门",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),u("div",ns,[p(A,{size:"small",onClick:gi},{default:S(()=>t[93]||(t[93]=[M("取消")])),_:1}),p(A,{size:"small",type:"primary",onClick:hi},{default:S(()=>t[94]||(t[94]=[M("保存")])),_:1})])])):(N(),Y("div",es,[M(re(s.department||"暂无")+" ",1),p(A,{type:"text",class:"edit-title-btn",onClick:mi},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(st))]),_:1})]),_:1})]))]),u("div",os,[t[96]||(t[96]=u("div",{class:"detail-label"},"职位状态",-1)),u("div",rs,[p(mn,{type:ht(s.status)},{default:S(()=>[M(re(gt(s.status)),1)]),_:1},8,["type"])])]),u("div",is,[t[99]||(t[99]=u("div",{class:"detail-label"},"截止日期",-1)),po.value?(N(),Y("div",ls,[p(ga,{modelValue:Kn.value,"onUpdate:modelValue":t[6]||(t[6]=m=>Kn.value=m),type:"date",placeholder:"请选择截止日期",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",style:{width:"100%"}},null,8,["modelValue"]),u("div",ss,[p(A,{size:"small",onClick:bi},{default:S(()=>t[97]||(t[97]=[M("取消")])),_:1}),p(A,{size:"small",type:"primary",onClick:Si},{default:S(()=>t[98]||(t[98]=[M("保存")])),_:1})])])):(N(),Y("div",as,[M(re(s.end_date||"暂无")+" ",1),p(A,{type:"text",class:"edit-title-btn",onClick:yi},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(st))]),_:1})]),_:1})]))]),u("div",ds,[t[102]||(t[102]=u("div",{class:"detail-label"},"职位要求",-1)),Un.value?Xe("",!0):(N(),Y("div",{key:0,class:"detail-value html-content",innerHTML:s.requirements},null,8,us)),Un.value?(N(),Y("div",cs,[p(G,{modelValue:Mn.value,"onUpdate:modelValue":t[7]||(t[7]=m=>Mn.value=m),type:"textarea",rows:"6",placeholder:"请输入职位要求",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),u("div",fs,[p(A,{size:"small",onClick:xi},{default:S(()=>t[100]||(t[100]=[M("取消")])),_:1}),p(A,{size:"small",type:"primary",onClick:Ii},{default:S(()=>t[101]||(t[101]=[M("保存")])),_:1})])])):(N(),Oe(A,{key:1,type:"text",class:"edit-title-btn",onClick:Ei},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(st))]),_:1})]),_:1}))]),t[110]||(t[110]=u("div",{style:{width:"100%","border-bottom":"1px solid #e5e5e5"}},null,-1)),u("div",vs,[t[105]||(t[105]=u("div",{class:"detail-label"},"职位描述",-1)),Bn.value?Xe("",!0):(N(),Y("div",{key:0,class:"detail-value html-content",innerHTML:s.description},null,8,ps)),Bn.value?(N(),Y("div",ms,[p(G,{modelValue:Nn.value,"onUpdate:modelValue":t[8]||(t[8]=m=>Nn.value=m),type:"textarea",rows:"6",placeholder:"请输入职位描述",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),u("div",gs,[p(A,{size:"small",onClick:Ai},{default:S(()=>t[103]||(t[103]=[M("取消")])),_:1}),p(A,{size:"small",type:"primary",onClick:wi},{default:S(()=>t[104]||(t[104]=[M("保存")])),_:1})])])):(N(),Oe(A,{key:1,type:"text",class:"edit-title-btn",onClick:Ci},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(st))]),_:1})]),_:1}))]),u("div",hs,[t[108]||(t[108]=u("div",{class:"detail-label"},"能力标签",-1)),mo.value?(N(),Y("div",bs,[p(Ie,{modelValue:jn.value,"onUpdate:modelValue":t[9]||(t[9]=m=>jn.value=m),multiple:"",filterable:"",placeholder:"请选择能力标签",style:{width:"100%"}},{default:S(()=>[(N(!0),Y(He,null,Ye(Mt.value,m=>(N(),Oe(de,{key:m.id,label:m.name,value:m.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),u("div",Ss,[p(A,{size:"small",onClick:Di},{default:S(()=>t[106]||(t[106]=[M("取消")])),_:1}),p(A,{size:"small",type:"primary",onClick:Pi},{default:S(()=>t[107]||(t[107]=[M("保存")])),_:1})])])):(N(),Y("div",ys,[(N(!0),Y(He,null,Ye(s.competency_tags,m=>(N(),Oe(mn,{key:m.id,effect:"plain",class:"competency-tag"},{default:S(()=>[M(re(m.name),1)]),_:2},1024))),128)),p(A,{type:"text",class:"edit-title-btn",onClick:Ti},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(st))]),_:1})]),_:1})]))])]),_:1}),u("div",Es,[p(zn,{class:"status-card"},{default:S(()=>[t[111]||(t[111]=u("div",{class:"section-title"},[u("div",{class:"section-line"}),u("span",null,"职位状态")],-1)),u("div",xs,[p(nt,{modelValue:d.value,"onUpdate:modelValue":t[10]||(t[10]=m=>d.value=m),"inactive-text":"",onChange:Ot},null,8,["modelValue"]),u("span",Is,re(d.value?"开启职位":"关闭职位"),1)])]),_:1}),p(zn,{class:"status-card"},{default:S(()=>[u("div",Cs,[t[113]||(t[113]=u("div",{class:"section-line"},null,-1)),t[114]||(t[114]=u("span",null,"职位性质",-1)),p(A,{type:"text",class:"edit-btn",onClick:Rt},{default:S(()=>t[112]||(t[112]=[M("编辑")])),_:1})]),t[115]||(t[115]=u("div",{class:"usage-content"},[u("div",{class:"usage-label"},"职位用途"),u("div",{class:"usage-value"},"正式招聘")],-1))]),_:1}),p(zn,{class:"status-card"},{default:S(()=>[u("div",As,[t[117]||(t[117]=u("div",{class:"section-line"},null,-1)),t[118]||(t[118]=u("span",null,"招聘流程",-1)),p(A,{type:"text",class:"edit-btn",onClick:Tt},{default:S(()=>t[116]||(t[116]=[M("设置流程")])),_:1})]),u("div",ws,[(N(!0),Y(He,null,Ye(e,(m,ue)=>(N(),Y("div",{key:m.id,class:bt(["process-step",{disabled:!m.active}])},[u("div",Os,re(ue+1),1),u("div",Ts,[u("div",Ds,re(m.name),1)])],2))),128))])]),_:1}),p(zn,{class:"status-card"},{default:S(()=>[u("div",Ps,[t[120]||(t[120]=u("div",{class:"section-line"},null,-1)),t[121]||(t[121]=u("span",null,"面试设置",-1)),p(A,{type:"text",class:"edit-btn",onClick:na},{default:S(()=>t[119]||(t[119]=[M("编辑")])),_:1})])]),_:1})])]),p(Qt,{title:"设置招聘流程",modelValue:i.value,"onUpdate:modelValue":t[12]||(t[12]=m=>i.value=m),width:"500px","close-on-click-modal":!1},{footer:S(()=>[u("span",js,[p(A,{onClick:Je},{default:S(()=>t[125]||(t[125]=[M("取消")])),_:1}),p(A,{type:"primary",onClick:$e},{default:S(()=>t[126]||(t[126]=[M("确定")])),_:1})])]),default:S(()=>[u("div",Rs,[(N(!0),Y(He,null,Ye(e,(m,ue)=>(N(),Y("div",{key:m.id},[(N(),Y("div",Vs)),u("div",{class:bt(["process-edit-item",{highlight:m.active}])},[u("div",Ks,re(ue+1),1),u("div",Us,[u("div",null,re(m.name),1),u("div",Ms,re(m.description),1)]),u("div",Bs,[p(A,{type:"info",size:"small",plain:"",onClick:We=>Vi(m)},{default:S(()=>t[122]||(t[122]=[M(" 修改 ")])),_:2},1032,["onClick"]),p(A,{type:"danger",size:"small",plain:"",style:{"margin-top":"10px","margin-left":"0px"},onClick:We=>Vt(ue)},{default:S(()=>t[123]||(t[123]=[M(" 删除 ")])),_:2},1032,["onClick"])])],2)]))),128)),t[124]||(t[124]=u("div",{class:"add-process-btn"},null,-1))]),y.value?(N(),Y("div",{key:0,class:"process-options-menu",style:wa({top:E.top,left:E.left}),onClick:t[11]||(t[11]=Aa(()=>{},["stop"]))},[(N(),Y(He,null,Ye(l,m=>u("div",{key:m.value,class:"process-option-item",onClick:ue=>ln(m.value,m.label)},re(m.label),9,Ns)),64))],4)):Xe("",!0)]),_:1},8,["modelValue"]),p(xe(Lo),{title:"AI视频",modelValue:x.value,"onUpdate:modelValue":t[33]||(t[33]=m=>x.value=m),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-video-drawer","destroy-on-close":!1},{footer:S(()=>[u("div",eu,[I.value>1?(N(),Oe(A,{key:0,size:"small",onClick:vt},{default:S(()=>t[167]||(t[167]=[M("上一步")])),_:1})):Xe("",!0),p(A,{onClick:Ft,size:"small"},{default:S(()=>t[168]||(t[168]=[M("取消")])),_:1}),I.value<3?(N(),Oe(A,{key:1,type:"primary",size:"small",onClick:On,style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:S(()=>t[169]||(t[169]=[M("下一步")])),_:1})):(N(),Oe(A,{key:2,type:"success",onClick:xt,size:"small",style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:S(()=>t[170]||(t[170]=[M("新增")])),_:1}))])]),default:S(()=>[u("div",Fs,[u("div",{class:bt(["step-item",{active:I.value===1}]),onClick:t[13]||(t[13]=m=>Kt(1))},[t[127]||(t[127]=u("div",{class:"step-number"},"1",-1)),u("div",{class:bt(["step-title",{"active-title":I.value===1}])},"考察能力",2)],2),u("div",{class:bt(["step-line",{"active-line":I.value>=2}])},null,2),u("div",{class:bt(["step-item",{active:I.value===2}]),onClick:t[14]||(t[14]=m=>Kt(2))},[t[128]||(t[128]=u("div",{class:"step-number"},"2",-1)),u("div",{class:bt(["step-title",{"active-title":I.value===2}])},"面试题目",2)],2),u("div",{class:bt(["step-line",{"active-line":I.value>=3}])},null,2),u("div",{class:bt(["step-item",{active:I.value===3}]),onClick:t[15]||(t[15]=m=>Kt(3))},[t[129]||(t[129]=u("div",{class:"step-number"},"3",-1)),u("div",{class:bt(["step-title",{"active-title":I.value===3}])},"系统设置",2)],2)]),I.value===1?Sr((N(),Y("div",Ls,[u("div",ks,[u("div",Qs,[t[131]||(t[131]=u("div",{class:"ai-video-options-header-title"},[u("span",null,"AI根据岗位信息生成的能力,创建完步骤后,会自动将选择的新智能能力加入到该职位的考察能力列表中。")],-1)),u("div",Gs,[p(A,{type:"primary",class:"custom-btn",plain:"",size:"small",onClick:c},{default:S(()=>t[130]||(t[130]=[M("重新生成")])),_:1})])]),u("div",zs,[u("div",$s,[(N(!0),Y(He,null,Ye(Mt.value.slice(0,10),m=>(N(),Oe(gn,{key:m.id,modelValue:m.selected,"onUpdate:modelValue":ue=>m.selected=ue,onChange:ue=>fr(m,ue),class:"custom-checkbox"},{default:S(()=>[u("div",Js,[u("span",null,re(m.name),1),t[132]||(t[132]=u("img",{src:ko,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),u("div",Ws,[t[134]||(t[134]=u("h3",{style:{color:"#808080"}},"备选考核维度",-1)),u("div",Hs,[(N(!0),Y(He,null,Ye(Mt.value.slice(10,20),m=>(N(),Oe(gn,{key:m.id,modelValue:m.selected,"onUpdate:modelValue":ue=>m.selected=ue,onChange:ue=>fr(m,ue),class:"custom-checkbox"},{default:S(()=>[u("div",Ys,[u("span",null,re(m.name),1),t[133]||(t[133]=u("img",{src:ko,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),u("div",Xs,[t[137]||(t[137]=u("h3",{style:{color:"#808080"}},"自定义维度",-1)),u("div",Zs,[u("div",qs,[u("div",_s,[p(G,{style:{width:"150px"},modelValue:dr.value,"onUpdate:modelValue":t[16]||(t[16]=m=>dr.value=m),placeholder:"请输入维度名称"},null,8,["modelValue"])]),u("div",ed,[t[135]||(t[135]=u("div",{class:"input-label"},"特征描述:",-1)),p(G,{modelValue:ur.value,"onUpdate:modelValue":t[17]||(t[17]=m=>ur.value=m),style:{width:"500px"},type:"textarea",placeholder:"请输入特征描述"},null,8,["modelValue"])])]),u("div",td,[p(gn,{modelValue:cr.value,"onUpdate:modelValue":t[18]||(t[18]=m=>cr.value=m),class:"custom-checkbox"},{default:S(()=>t[136]||(t[136]=[u("div",{class:"ability-label"},[u("span",null,"继续新增")],-1)])),_:1},8,["modelValue"])])])])])])),[[br,pn.value]]):Xe("",!0),I.value===2?(N(),Y("div",nd,[u("div",od,[u("div",rd,[u("div",id,[p(A,{plain:"",class:"custom-btn",onClick:D},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(bn))]),_:1}),t[138]||(t[138]=M(" 自定义题目 "))]),_:1}),p(A,{plain:"",class:"custom-btn"},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(Er))]),_:1}),t[139]||(t[139]=M(" 导入题目 "))]),_:1}),u("div",ad,[u("div",ld,[t[140]||(t[140]=u("span",{class:"switch-label"},"开放题数量",-1)),p(hn,{modelValue:_t.openQuestionsCount,"onUpdate:modelValue":t[19]||(t[19]=m=>_t.openQuestionsCount=m),min:1,max:20,size:"small",onChange:gr},null,8,["modelValue"])]),u("div",sd,[t[141]||(t[141]=u("span",{class:"switch-label"},"选择题数量",-1)),p(hn,{modelValue:_t.choiceQuestionsCount,"onUpdate:modelValue":t[20]||(t[20]=m=>_t.choiceQuestionsCount=m),min:1,max:20,size:"small",onChange:gr},null,8,["modelValue"])]),u("div",dd,[t[142]||(t[142]=u("span",{class:"switch-label"},"得分题",-1)),p(nt,{style:{"margin-top":"0px"},modelValue:Ee.enableScoreQuestions,"onUpdate:modelValue":t[21]||(t[21]=m=>Ee.enableScoreQuestions=m),onChange:zi},null,8,["modelValue"])]),u("div",ud,[t[143]||(t[143]=u("span",{class:"switch-label"},"色盲题",-1)),p(nt,{style:{"margin-top":"0px"},modelValue:Ee.enableColorBlindQuestions,"onUpdate:modelValue":t[22]||(t[22]=m=>Ee.enableColorBlindQuestions=m),onChange:$i},null,8,["modelValue"])])])]),t[144]||(t[144]=u("div",{class:"interview-duration"},[u("span",null,"预计面试时长: "),u("span",{class:"duration-value"},"0秒"),u("span",{class:"duration-tip"},"拖动试题卡片可改变试题顺序")],-1))]),u("div",cd,[Sr((N(),Y("div",fd,[C.value.length===0?(N(),Y("div",vd,[t[147]||(t[147]=u("p",null,"暂无题目",-1)),t[148]||(t[148]=u("p",{class:"ai-tip"},'点击"AI自动组题"按钮',-1)),t[149]||(t[149]=u("p",{class:"ai-tip"},"可根据您选择的能力类型一键组题",-1)),p(A,{type:"success",class:"auto-generate-btn",loading:Pe.value,onClick:fa},{default:S(()=>t[145]||(t[145]=[M(" AI自动组题 ")])),_:1},8,["loading"]),Pe.value&&xe(Bt)?(N(),Oe(A,{key:0,type:"warning",plain:"",size:"small",onClick:Gi,style:{"margin-left":"10px"}},{default:S(()=>t[146]||(t[146]=[M(" 取消生成 ")])),_:1})):Xe("",!0)])):(N(),Y("div",pd,[p(xe(Fr),{modelValue:C.value,"onUpdate:modelValue":t[23]||(t[23]=m=>C.value=m),"item-key":"id",handle:".drag-handle",onStart:Bi,onEnd:Ni,animation:"200","ghost-class":"sortable-ghost","chosen-class":"sortable-chosen","drag-class":"sortable-drag"},{item:S(({element:m})=>[u("div",md,[t[153]||(t[153]=u("div",{class:"drag-handle"},[u("img",{src:Ba,alt:"",class:"dorp"})],-1)),u("div",gd,[u("div",hd,[u("div",yd,[u("div",bd,[u("span",Sd,"题目"+re(C.value.indexOf(m)+1),1),u("span",null,[u("span",Ed,re("「"+m.question_form_name+"」"),1),M(re(m.title),1)])]),u("div",xd,[(N(!0),Y(He,null,Ye((m.competency_tags||[]).slice(0,2),(ue,We)=>(N(),Oe(mn,{key:ue.id,effect:"plain",class:"competency-tag",size:"small"},{default:S(()=>[M(re(ue.name),1)]),_:2},1024))),128)),(m.competency_tags||[]).length>2?(N(),Y("span",Id," +"+re((m.competency_tags||[]).length-2),1)):Xe("",!0)])])]),u("div",Cd,[p(A,{type:"text",onClick:ue=>B(C.value.indexOf(m))},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(st))]),_:1})]),_:2},1032,["onClick"]),p(A,{type:"text",onClick:ue=>Z(C.value.indexOf(m))},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(xr))]),_:1})]),_:2},1032,["onClick"])])]),u("div",Ad,[u("div",wd,[u("span",null,re(m.scoring_reference),1)])]),m.question_form==0?(N(),Y("div",Od,[u("div",Td,[p(nt,{style:{"margin-top":"0px"},modelValue:m.enable_follow_up,"onUpdate:modelValue":ue=>m.enable_follow_up=ue,onChange:P},null,8,["modelValue","onUpdate:modelValue"]),t[150]||(t[150]=u("span",{class:"answer-label"},"回答不充分追问",-1))]),u("div",Dd,[t[151]||(t[151]=u("span",{class:"answer-label"},"追问轮数",-1)),p(Ie,{modelValue:m.maxAnswers,"onUpdate:modelValue":ue=>m.maxAnswers=ue,size:"small",placeholder:"请选择"},{default:S(()=>[p(de,{label:"1次",value:1}),p(de,{label:"2次",value:2}),p(de,{label:"3次",value:3})]),_:2},1032,["modelValue","onUpdate:modelValue"])])])):Xe("",!0),m.question_form==1?(N(),Y("div",Pd,[u("div",Rd,[t[152]||(t[152]=u("span",{class:"answer-label"},"是否为红线题:",-1)),p(Ie,{modelValue:m.is_required_correct,"onUpdate:modelValue":ue=>m.is_required_correct=ue,onChange:ue=>g(m.id,m.is_required_correct),size:"small",placeholder:"请选择"},{default:S(()=>[p(de,{label:"是",value:!0}),p(de,{label:"否",value:!1})]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])])])):Xe("",!0)])]),_:1},8,["modelValue"])]))])),[[br,Pe.value]]),u("div",Vd,[t[156]||(t[156]=u("div",{class:"dimension-title"},"已选胜任力考核维度",-1)),u("div",Kd,[(N(!0),Y(He,null,Ye(V.value,(m,ue)=>(N(),Y("div",{key:m.value,class:"dimension-item"},[u("div",Ud,[u("div",Md,[u("span",Bd,re(m.label),1),t[154]||(t[154]=u("img",{src:ko,alt:"",class:"sheng"},null,-1))])]),u("div",{class:"dimension-content",onClick:We=>Li(ue),title:"点击删除此胜任力标签"},t[155]||(t[155]=[u("div",{class:"ability-description"},re("—"),-1)]),8,Nd)]))),128))])])])])])):Xe("",!0),I.value===3?(N(),Y("div",jd,[u("div",Fd,[u("div",Ld,[t[166]||(t[166]=u("div",{class:"section-header"},"请选择面试官形象",-1)),u("div",kd,[u("div",Qd,[No.value?(N(),Y("img",{key:0,src:No.value,alt:"",style:{width:"100%",height:"100%"}},null,8,Gd)):Xe("",!0)]),u("div",null,[u("div",zd,[(N(!0),Y(He,null,Ye(Bo.value,m=>(N(),Y("div",{key:m.id,class:bt(["avatar-item",{active:lt.value.id===m.id}]),onClick:ue=>Ki(m)},[u("div",Jd,[u("div",{class:bt(["avatar-circle",{selected:lt.value.id===m.id}])},[u("img",{src:m.avatar_url||m.image,alt:m.name},null,8,Wd)],2),u("div",{class:"avatar-name",title:m.name},re(m.name),9,Hd)])],10,$d))),128))]),u("div",null,[t[157]||(t[157]=M("追问风格: ")),p(Ie,{modelValue:at.interruptionMode,"onUpdate:modelValue":t[24]||(t[24]=m=>at.interruptionMode=m),placeholder:"请选择"},{default:S(()=>[p(de,{label:"温和",value:"1"}),p(de,{label:"严厉",value:"2"}),p(de,{label:"严谨",value:"3"})]),_:1},8,["modelValue"])])])]),u("div",Yd,[u("div",Xd,[t[158]||(t[158]=u("div",{class:"setting-label"},"「回答视频保留」",-1)),t[159]||(t[159]=u("div",{class:"setting-desc"},"选取后,将在报告中展示候选人的回答视频",-1)),p(nt,{modelValue:at.keepVideo,"onUpdate:modelValue":t[25]||(t[25]=m=>at.keepVideo=m),onChange:t[26]||(t[26]=m=>go("keepVideo",m))},null,8,["modelValue"])]),u("div",Zd,[t[162]||(t[162]=u("div",{class:"setting-label"},"「中断后作答限制」",-1)),u("div",qd,[p(yn,{modelValue:at.interruptionMode,"onUpdate:modelValue":t[27]||(t[27]=m=>at.interruptionMode=m),label:"current",onChange:t[28]||(t[28]=m=>go("interruptionMode",at.interruptionMode))},{default:S(()=>t[160]||(t[160]=[M(" 从当前问题重新作答 ")])),_:1},8,["modelValue"]),p(yn,{modelValue:at.interruptionMode,"onUpdate:modelValue":t[29]||(t[29]=m=>at.interruptionMode=m),label:"previous",onChange:t[30]||(t[30]=m=>go("interruptionMode",at.interruptionMode))},{default:S(()=>t[161]||(t[161]=[M(" 从头作答 ")])),_:1},8,["modelValue"])]),t[163]||(t[163]=u("div",{class:"setting-desc"},null,-1))]),u("div",_d,[t[164]||(t[164]=u("div",{class:"setting-label"},"「智慧追问」",-1)),t[165]||(t[165]=u("div",{class:"setting-desc"},"* 追问将结合候选人资料情况,综合分析发问",-1)),p(nt,{modelValue:at.smartFollowUp,"onUpdate:modelValue":t[31]||(t[31]=m=>at.smartFollowUp=m),onChange:t[32]||(t[32]=m=>go("smartFollowUp",m))},null,8,["modelValue"])])])])])])):Xe("",!0)]),_:1},8,["modelValue"]),p(Qt,{title:"新增视频宣讲",modelValue:K.value,"onUpdate:modelValue":t[36]||(t[36]=m=>K.value=m),width:"35%","close-on-click-modal":!1,class:"video-lecture-dialog"},{footer:S(()=>[u("span",au,[p(A,{onClick:Lt},{default:S(()=>t[177]||(t[177]=[M("取消")])),_:1}),p(A,{type:"primary",onClick:Yt},{default:S(()=>t[178]||(t[178]=[M("确认")])),_:1})])]),default:S(()=>[u("div",tu,[u("div",nu,[t[172]||(t[172]=u("div",{class:"form-label"},"上传视频",-1)),p(hr,{class:"video-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"video/*"},{default:S(()=>[u("div",ou,[p(q,null,{default:S(()=>[p(xe(bn))]),_:1}),t[171]||(t[171]=u("div",{class:"upload-text"},"上传文件大小不超过500M",-1))])]),_:1})]),u("div",ru,[t[173]||(t[173]=u("div",{class:"form-label"},"视频简介",-1)),p(G,{modelValue:R.description,"onUpdate:modelValue":t[34]||(t[34]=m=>R.description=m),type:"textarea",rows:"4",placeholder:"视频简介会显示在视频下方的标题下方",maxlength:"200","show-word-limit":""},null,8,["modelValue"])]),u("div",iu,[t[176]||(t[176]=u("div",{class:"form-label"},"播放设置",-1)),p(yr,{modelValue:R.broadcastType,"onUpdate:modelValue":t[35]||(t[35]=m=>R.broadcastType=m)},{default:S(()=>[p(yn,{label:"required"},{default:S(()=>t[174]||(t[174]=[M("必须看完")])),_:1}),p(yn,{label:"optional"},{default:S(()=>t[175]||(t[175]=[M("看过即可")])),_:1})]),_:1},8,["modelValue"])])])]),_:1},8,["modelValue"]),p(xe(Lo),{title:"AI实时对话",modelValue:W.value,"onUpdate:modelValue":t[38]||(t[38]=m=>W.value=m),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-chat-drawer","destroy-on-close":!1},{footer:S(()=>[u("div",Cu,[p(A,{onClick:Zt},{default:S(()=>t[189]||(t[189]=[M("取消")])),_:1}),p(A,{type:"primary",onClick:Xt},{default:S(()=>t[190]||(t[190]=[M("确认")])),_:1})])]),default:S(()=>[u("div",lu,[u("div",su,[t[188]||(t[188]=u("div",{class:"section-title"},[u("div",{class:"section-line"}),u("span",null,"对话设置")],-1)),u("div",du,[p(A,{type:"primary",plain:"",onClick:O},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(bn))]),_:1}),t[179]||(t[179]=M(" 添加问题 "))]),_:1}),p(A,{type:"success",plain:"",onClick:D},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(Er))]),_:1}),t[180]||(t[180]=M(" 导入问题 "))]),_:1})]),u("div",uu,[C.value.length===0?(N(),Y("div",cu,t[181]||(t[181]=[u("p",null,"暂无问题",-1),u("p",{class:"tip-text"},'点击"添加问题"或"导入问题"添加面试问题',-1)]))):(N(),Y("div",fu,[p(xe(Fr),{modelValue:C.value,"onUpdate:modelValue":t[37]||(t[37]=m=>C.value=m),"item-key":"id",handle:".drag-handle"},{item:S(({element:m,index:ue})=>[M(re(m)+" ",1),u("div",vu,[u("div",pu,[u("div",mu,[u("span",gu,"题目"+re(ue+1),1),u("span",null,re(m.question),1)]),u("div",hu,[u("div",yu,[t[183]||(t[183]=u("span",{class:"weight-label"},"权重占比:",-1)),p(hn,{modelValue:m.weight,"onUpdate:modelValue":We=>m.weight=We,min:0,max:100,step:1,size:"small","controls-position":"right"},{suffix:S(()=>t[182]||(t[182]=[M("%")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),u("div",bu,[t[184]||(t[184]=u("span",{class:"answer-label"},"最多回答次数",-1)),p(Ie,{modelValue:m.maxAnswers,"onUpdate:modelValue":We=>m.maxAnswers=We,size:"small",placeholder:"请选择"},{default:S(()=>[p(de,{label:"1次",value:1}),p(de,{label:"2次",value:2}),p(de,{label:"3次",value:3})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),p(A,{type:"text",onClick:We=>B(ue)},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(st))]),_:1})]),_:2},1032,["onClick"]),p(A,{type:"text",onClick:We=>Z(ue)},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(xr))]),_:1})]),_:2},1032,["onClick"])])]),u("div",Su,[u("div",Eu,[t[185]||(t[185]=u("span",{class:"info-label"},"考察能力:",-1)),u("span",null,re(m.ability),1)]),u("div",xu,[t[186]||(t[186]=u("span",{class:"info-label"},"面试内容:",-1)),u("span",null,re(m.content),1)]),u("div",Iu,[t[187]||(t[187]=u("span",{class:"info-label"},"对话目标:",-1)),u("span",null,re(m.target),1)])])])]),_:1},8,["modelValue"])]))])])])]),_:1},8,["modelValue"]),p(Qt,{title:"编辑问题",modelValue:H.value,"onUpdate:modelValue":t[48]||(t[48]=m=>H.value=m),width:"500px","close-on-click-modal":!1,class:"question-dialog"},{footer:S(()=>[u("span",Bu,[p(A,{onClick:le},{default:S(()=>t[209]||(t[209]=[M("取消")])),_:1}),p(A,{type:"primary",onClick:$},{default:S(()=>t[210]||(t[210]=[M("确认")])),_:1})])]),default:S(()=>[u("div",Au,[u("div",wu,[t[191]||(t[191]=u("div",{class:"form-label"},[M(" 题目内容"),u("span",{class:"required"},"*")],-1)),p(G,{modelValue:w.content,"onUpdate:modelValue":t[39]||(t[39]=m=>w.content=m),type:"textarea",rows:"4",placeholder:"请描述一次你如何在紧迫的时间内完成一个复杂的后端开发任务的经历",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),u("div",Ou,[t[192]||(t[192]=u("div",{class:"form-label"},"胜任力标签",-1)),p(Ie,{modelValue:w.competencyTags,"onUpdate:modelValue":t[40]||(t[40]=m=>w.competencyTags=m),placeholder:"请选择胜任力标签",class:"full-width",multiple:"",onChange:va},{default:S(()=>[(N(!0),Y(He,null,Ye(z.value,m=>(N(),Oe(de,{key:m.value,label:m.label,value:m.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),t[193]||(t[193]=u("div",{class:"form-tip"},"选择胜任力标签和胜任力标签,可多选",-1))]),u("div",Tu,[t[197]||(t[197]=u("div",{class:"form-label"}," 胜任力配置 ",-1)),u("div",Du,[t[196]||(t[196]=u("div",{class:"config-row"},[u("span",{class:"config-label"},"标签"),u("span",{class:"config-label"},"权重"),u("span",{class:"config-label"},"级别")],-1)),u("div",Pu,[t[194]||(t[194]=u("span",{class:"tag-name"},"时间管理",-1)),p(hn,{modelValue:w.weight,"onUpdate:modelValue":t[41]||(t[41]=m=>w.weight=m),min:0,max:100,step:1,"controls-position":"right"},null,8,["modelValue"]),t[195]||(t[195]=M(" % ")),p(hn,{modelValue:w.level,"onUpdate:modelValue":t[42]||(t[42]=m=>w.level=m),min:1,max:5,step:1,"controls-position":"right"},null,8,["modelValue"])])]),t[198]||(t[198]=u("div",{class:"form-tip"},"配置各个胜任力标签的权重,总和需要100%",-1))]),u("div",Ru,[t[199]||(t[199]=u("div",{class:"form-label"},"题目形式",-1)),p(Ie,{modelValue:w.type,"onUpdate:modelValue":t[43]||(t[43]=m=>w.type=m),placeholder:"开放问题",class:"full-width",onChange:ma},{default:S(()=>[p(de,{label:"开放问题",value:"open"}),p(de,{label:"单选题",value:"single"}),p(de,{label:"多选题",value:"multiple"}),p(de,{label:"填空题",value:"fill"}),p(de,{label:"自言语",value:"self"})]),_:1},8,["modelValue"]),t[200]||(t[200]=u("div",{class:"form-tip"},"选择题目的形式:开放问题、单选题、多选题、填空题、自言语",-1))]),u("div",Vu,[t[201]||(t[201]=u("div",{class:"form-label"},"适用职位",-1)),p(Ie,{modelValue:w.position,"onUpdate:modelValue":t[44]||(t[44]=m=>w.position=m),placeholder:"请选择适用职位类型",class:"full-width",multiple:""},{default:S(()=>[(N(!0),Y(He,null,Ye(X.value,m=>(N(),Oe(de,{key:m.value,label:m.label,value:m.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),t[202]||(t[202]=u("div",{class:"form-tip"},"选择题目适用的职位类型,可多选",-1))]),u("div",Ku,[t[203]||(t[203]=u("div",{class:"form-label"},"分类",-1)),p(Ie,{modelValue:w.category,"onUpdate:modelValue":t[45]||(t[45]=m=>w.category=m),placeholder:"请选择题目分类",class:"full-width"},{default:S(()=>[(N(!0),Y(He,null,Ye(se.value,m=>(N(),Oe(de,{key:m.value,label:m.label,value:m.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),t[204]||(t[204]=u("div",{class:"form-tip"},"选择题目所属分类",-1))]),u("div",Uu,[t[205]||(t[205]=u("div",{class:"form-label"},"标签",-1)),p(Ie,{modelValue:w.tags,"onUpdate:modelValue":t[46]||(t[46]=m=>w.tags=m),placeholder:"请选择标签",class:"full-width",multiple:""},{default:S(()=>[(N(!0),Y(He,null,Ye(F.value,m=>(N(),Oe(de,{key:m.value,label:m.label,value:m.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),t[206]||(t[206]=u("div",{class:"form-tip"},"选择题目相关标签,可多选",-1))]),u("div",Mu,[t[207]||(t[207]=u("div",{class:"form-label"},"建议时长(秒)",-1)),p(hn,{modelValue:w.suggestedDuration,"onUpdate:modelValue":t[47]||(t[47]=m=>w.suggestedDuration=m),min:0,step:1,"controls-position":"right",placeholder:"请输入建议回答时长",class:"full-width"},null,8,["modelValue"]),t[208]||(t[208]=u("div",{class:"form-tip"},"建议回答题目的时长,单位为秒",-1))])])]),_:1},8,["modelValue"]),p(Qt,{title:"选择题目",modelValue:Fn.value,"onUpdate:modelValue":t[53]||(t[53]=m=>Fn.value=m),width:"70%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:S(()=>[u("span",Qu,[p(A,{onClick:Yi},{default:S(()=>t[211]||(t[211]=[M("取消")])),_:1}),p(A,{type:"primary",onClick:Xi,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:S(()=>t[212]||(t[212]=[M("确定")])),_:1})])]),default:S(()=>[u("div",Nu,[u("div",ju,[u("div",Fu,[p(G,{modelValue:Ln.value,"onUpdate:modelValue":t[49]||(t[49]=m=>Ln.value=m),placeholder:"请输入关键词搜索题目",clearable:"",onClear:yo,onKeyup:Oa(yo,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:S(()=>[p(A,{onClick:yo},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(Ka))]),_:1})]),_:1})]),_:1},8,["modelValue"]),p(Ie,{modelValue:yt.question_form,"onUpdate:modelValue":t[50]||(t[50]=m=>yt.question_form=m),placeholder:"题目类型",clearable:"",onChange:yo,style:{width:"120px"}},{default:S(()=>[p(de,{label:"开放问题",value:0}),p(de,{label:"单选题",value:1})]),_:1},8,["modelValue"])])]),u("div",Lu,[p(ha,{data:pr.value,style:{width:"100%"},onSelectionChange:Hi},{default:S(()=>[p(Fo,{type:"selection",width:"55"}),p(Fo,{prop:"question",label:"题目标题"}),p(Fo,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),u("div",ku,[p(ya,{"current-page":yt.page,"onUpdate:currentPage":t[51]||(t[51]=m=>yt.page=m),"page-size":yt.pageSize,"onUpdate:pageSize":t[52]||(t[52]=m=>yt.pageSize=m),total:mr.value,"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next",onSizeChange:Ji,onCurrentChange:Wi},null,8,["current-page","page-size","total"])])])])]),_:1},8,["modelValue"]),p(Qt,{title:"资料收集",modelValue:_.value,"onUpdate:modelValue":t[57]||(t[57]=m=>_.value=m),width:"900px","close-on-click-modal":!1,class:"data-collection-dialog"},{footer:S(()=>[u("span",sc,[p(A,{onClick:oe},{default:S(()=>t[222]||(t[222]=[M("取消")])),_:1}),p(A,{type:"primary",onClick:Zi},{default:S(()=>t[223]||(t[223]=[M("确认")])),_:1})])]),default:S(()=>[u("div",Gu,[u("div",zu,[t[221]||(t[221]=u("div",{class:"panel-header"},[u("h3",null,"字段显示配置")],-1)),u("div",$u,[t[216]||(t[216]=u("div",{class:"section-title"},"基本信息",-1)),p(zt,{gutter:20},{default:S(()=>[(N(!0),Y(He,null,Ye(qi(),(m,ue)=>(N(),Oe(Gt,{span:8,key:ue},{default:S(()=>[u("div",Ju,[u("span",Wu,re(m.label),1),p($n,{content:"切换显示/隐藏",placement:"top"},{default:S(()=>[p(nt,{modelValue:m.visible,"onUpdate:modelValue":We=>m.visible=We,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),t[217]||(t[217]=u("div",{class:"section-title"},"家庭成员信息",-1)),p(zt,{gutter:20},{default:S(()=>[p(Gt,{span:24},{default:S(()=>[u("div",Hu,[u("span",Yu,[M(re(L.family_member.label)+" ",1),L.family_member.visible?(N(),Oe(mn,{key:0,size:"small",type:"success"},{default:S(()=>t[213]||(t[213]=[M("已启用")])),_:1})):Xe("",!0)]),p(nt,{modelValue:L.family_member.visible,"onUpdate:modelValue":t[54]||(t[54]=m=>L.family_member.visible=m),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),L.family_member.visible?(N(),Oe(zt,{key:0,gutter:20},{default:S(()=>[(N(!0),Y(He,null,Ye(L.family_member.fields,(m,ue)=>(N(),Oe(Gt,{span:8,key:ue},{default:S(()=>[u("div",Xu,[u("span",Zu,re(m.label),1),p($n,{content:"切换显示/隐藏",placement:"top"},{default:S(()=>[p(nt,{modelValue:m.visible,"onUpdate:modelValue":We=>m.visible=We,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Xe("",!0),t[218]||(t[218]=u("div",{class:"section-title"},"教育经历",-1)),p(zt,{gutter:20},{default:S(()=>[p(Gt,{span:24},{default:S(()=>[u("div",qu,[u("span",_u,[M(re(L.education.label)+" ",1),L.education.visible?(N(),Oe(mn,{key:0,size:"small",type:"success"},{default:S(()=>t[214]||(t[214]=[M("已启用")])),_:1})):Xe("",!0)]),p(nt,{modelValue:L.education.visible,"onUpdate:modelValue":t[55]||(t[55]=m=>L.education.visible=m),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),L.education.visible?(N(),Oe(zt,{key:1,gutter:20},{default:S(()=>[(N(!0),Y(He,null,Ye(L.education.fields,(m,ue)=>(N(),Oe(Gt,{span:8,key:ue},{default:S(()=>[u("div",ec,[u("span",tc,re(m.label),1),p($n,{content:"切换显示/隐藏",placement:"top"},{default:S(()=>[p(nt,{modelValue:m.visible,"onUpdate:modelValue":We=>m.visible=We,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Xe("",!0),t[219]||(t[219]=u("div",{class:"section-title"},"专业技能",-1)),p(zt,{gutter:20},{default:S(()=>[(N(!0),Y(He,null,Ye(_i(),(m,ue)=>(N(),Oe(Gt,{span:8,key:ue},{default:S(()=>[u("div",nc,[u("span",oc,re(m.label),1),p($n,{content:"切换显示/隐藏",placement:"top"},{default:S(()=>[p(nt,{modelValue:m.visible,"onUpdate:modelValue":We=>m.visible=We,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),t[220]||(t[220]=u("div",{class:"section-title"},"工作经历",-1)),p(zt,{gutter:20},{default:S(()=>[p(Gt,{span:24},{default:S(()=>[u("div",rc,[u("span",ic,[M(re(L.work_experience.label)+" ",1),L.work_experience.visible?(N(),Oe(mn,{key:0,size:"small",type:"success"},{default:S(()=>t[215]||(t[215]=[M("已启用")])),_:1})):Xe("",!0)]),p(nt,{modelValue:L.work_experience.visible,"onUpdate:modelValue":t[56]||(t[56]=m=>L.work_experience.visible=m),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),L.work_experience.visible?(N(),Oe(zt,{key:2,gutter:20},{default:S(()=>[(N(!0),Y(He,null,Ye(L.work_experience.fields,(m,ue)=>(N(),Oe(Gt,{span:8,key:ue},{default:S(()=>[u("div",ac,[u("span",lc,re(m.label),1),p($n,{content:"切换显示/隐藏",placement:"top"},{default:S(()=>[p(nt,{modelValue:m.visible,"onUpdate:modelValue":We=>m.visible=We,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Xe("",!0)])])])]),_:1},8,["modelValue"]),p(Qt,{title:"简历收集",modelValue:Ce.value,"onUpdate:modelValue":t[59]||(t[59]=m=>Ce.value=m),width:"500px","close-on-click-modal":!1,class:"resume-collection-dialog"},{footer:S(()=>[u("span",cc,[p(A,{onClick:De},{default:S(()=>t[225]||(t[225]=[M("取消")])),_:1}),p(A,{type:"primary",onClick:Ge},{default:S(()=>t[226]||(t[226]=[M("确认")])),_:1})])]),default:S(()=>[u("div",dc,[u("div",uc,[t[224]||(t[224]=u("div",{class:"form-label"},"步骤名称",-1)),p(G,{modelValue:Be.title,"onUpdate:modelValue":t[58]||(t[58]=m=>Be.title=m),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),p(Qt,{title:"添加代码笔试步骤",modelValue:ge.value,"onUpdate:modelValue":t[62]||(t[62]=m=>ge.value=m),width:"500px","close-on-click-modal":!1,class:"code-test-dialog"},{footer:S(()=>[u("span",Cc,[p(A,{onClick:ee},{default:S(()=>t[235]||(t[235]=[M("取消")])),_:1}),p(A,{type:"primary",onClick:ne},{default:S(()=>t[236]||(t[236]=[M("确认")])),_:1})])]),default:S(()=>[u("div",fc,[u("div",vc,[t[227]||(t[227]=u("div",{class:"form-label"},"步骤名称",-1)),p(G,{modelValue:pe.title,"onUpdate:modelValue":t[60]||(t[60]=m=>pe.title=m),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),u("div",pc,[t[228]||(t[228]=u("div",{class:"form-label"},"自动评判试卷",-1)),p(nt,{modelValue:pe.autoJudge,"onUpdate:modelValue":t[61]||(t[61]=m=>pe.autoJudge=m)},null,8,["modelValue"]),u("span",mc,re(pe.autoJudge?"开启":"关闭"),1)]),u("div",gc,[t[234]||(t[234]=u("div",{class:"form-label"},"添加考试试卷",-1)),u("div",hc,[pe.selectedPaper?(N(),Y("div",bc,[u("div",Sc,[u("div",Ec,re(pe.selectedPaper.title),1),u("div",xc,[u("span",null,re(pe.selectedPaper.questionCount)+"道题",1),u("span",null,re(pe.selectedPaper.duration)+"分钟",1),u("span",null,re(pe.selectedPaper.difficulty),1)])]),u("div",Ic,[p(A,{type:"text",onClick:be},{default:S(()=>t[231]||(t[231]=[M("查看")])),_:1}),p(A,{type:"text",onClick:tt},{default:S(()=>t[232]||(t[232]=[M("更换")])),_:1}),p(A,{type:"text",onClick:Tn},{default:S(()=>t[233]||(t[233]=[M("删除")])),_:1})])])):(N(),Y("div",yc,[p(A,{type:"primary",plain:"",onClick:he},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(bn))]),_:1}),t[229]||(t[229]=M(" 添加考卷 "))]),_:1}),t[230]||(t[230]=u("p",{class:"tip-text"},"多选时,考生会随机分配到一套试卷",-1))]))])])])]),_:1},8,["modelValue"]),p(xe(Lo),{title:"添加打字测试步骤",modelValue:qt.value,"onUpdate:modelValue":t[70]||(t[70]=m=>qt.value=m),size:"60%","close-on-click-modal":!1,class:"typing-test-dialog","destroy-on-close":!1},{footer:S(()=>[u("span",jc,[p(A,{onClick:sr},{default:S(()=>t[253]||(t[253]=[M("取消")])),_:1}),p(A,{type:"primary",onClick:_r},{default:S(()=>t[254]||(t[254]=[M("保存")])),_:1})])]),default:S(()=>[u("div",Ac,[u("div",wc,[t[238]||(t[238]=u("div",{class:"form-label"},"选择文章",-1)),u("div",Oc,[p(A,{type:"primary",size:"small",class:"add-article-btn"},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(bn))]),_:1}),t[237]||(t[237]=M(" 添加文章 "))]),_:1})])]),u("div",Tc,[t[241]||(t[241]=u("div",{class:"form-label"},"候选人选择文章方式",-1)),p(yr,{modelValue:Ne.selectionMode,"onUpdate:modelValue":t[63]||(t[63]=m=>Ne.selectionMode=m)},{default:S(()=>[p(yn,{label:"random"},{default:S(()=>t[239]||(t[239]=[M("随机抽取")])),_:1}),p(yn,{label:"self"},{default:S(()=>t[240]||(t[240]=[M("候选人自主选择")])),_:1})]),_:1},8,["modelValue"])]),u("div",Dc,[t[243]||(t[243]=u("div",{class:"form-label"},"测试时间",-1)),u("div",Pc,[p(G,{modelValue:Ne.duration,"onUpdate:modelValue":t[64]||(t[64]=m=>Ne.duration=m),class:"time-input"},null,8,["modelValue"]),t[242]||(t[242]=u("span",{class:"time-unit"},"分钟",-1))])]),u("div",Rc,[t[245]||(t[245]=u("div",{class:"form-label"},"登录界面预览图(建议尺寸1024*768像素,最大不要超过5M)",-1)),p(hr,{class:"preview-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"image/*"},{default:S(()=>[u("div",Vc,[p(q,null,{default:S(()=>[p(xe(bn))]),_:1}),t[244]||(t[244]=u("div",{class:"upload-text"},"添加图片",-1))])]),_:1})]),u("div",Kc,[t[246]||(t[246]=u("div",{class:"form-label"},"注意事项内容(在登录界面显示)",-1)),p(G,{modelValue:Ne.notes,"onUpdate:modelValue":t[65]||(t[65]=m=>Ne.notes=m),type:"textarea",rows:"4",placeholder:"请输入注意事项内容",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),u("div",Uc,[t[247]||(t[247]=u("div",{class:"form-label"},"测试页面标题",-1)),p(G,{modelValue:Ne.pageTitle,"onUpdate:modelValue":t[66]||(t[66]=m=>Ne.pageTitle=m),placeholder:"测试页面标题"},null,8,["modelValue"])]),u("div",Mc,[t[249]||(t[249]=u("div",{class:"form-label"},"视频监控",-1)),p(gn,{modelValue:Ne.videoMonitoring,"onUpdate:modelValue":t[67]||(t[67]=m=>Ne.videoMonitoring=m)},{default:S(()=>t[248]||(t[248]=[M("视频监控")])),_:1},8,["modelValue"])]),u("div",Bc,[t[252]||(t[252]=u("div",{class:"form-label"},"通过标准",-1)),u("div",Nc,[p(gn,{modelValue:Ne.passCriteria.speed,"onUpdate:modelValue":t[68]||(t[68]=m=>Ne.passCriteria.speed=m)},{default:S(()=>t[250]||(t[250]=[M("速度")])),_:1},8,["modelValue"]),p(gn,{modelValue:Ne.passCriteria.accuracy,"onUpdate:modelValue":t[69]||(t[69]=m=>Ne.passCriteria.accuracy=m)},{default:S(()=>t[251]||(t[251]=[M("正确率")])),_:1},8,["modelValue"])])])])]),_:1},8,["modelValue"]),p(Qt,{title:"面试设置",modelValue:kn.value,"onUpdate:modelValue":t[75]||(t[75]=m=>kn.value=m),width:"60%","close-on-click-modal":!1,class:"interview-settings-dialog"},{footer:S(()=>[u("span",sf,[p(A,{onClick:ea},{default:S(()=>t[268]||(t[268]=[M("取消")])),_:1}),p(A,{type:"primary",onClick:ta},{default:S(()=>t[269]||(t[269]=[M("完成")])),_:1})])]),default:S(()=>[u("div",Fc,[t[267]||(t[267]=u("div",{class:"settings-section"},[u("div",{class:"section-header"},[u("span",{class:"section-title"},"防作弊设置")]),u("div",{class:"setting-item"},[u("div",{class:"setting-info"},[u("span",{class:"setting-name"},"「人脸一致性检测」"),u("p",{class:"setting-desc"},"该强调,非本人操作人脸可视化提醒和警示,默认开启")])]),u("div",{class:"setting-item"},[u("div",{class:"setting-info"},[u("span",{class:"setting-name"},"「 防截屏 / 录屏 」"),u("p",{class:"setting-desc"},"该强调,非本人前来体验截屏录屏以上行为,为防止提醒")])]),u("div",{class:"setting-item"},[u("div",{class:"setting-info"},[u("span",{class:"setting-name"},"「 切 屏 预 制 」"),u("p",{class:"setting-desc"},"该强调,非本人前使用切屏处理用页面,为防作弊警示")])]),u("div",{class:"setting-item"},[u("div",{class:"setting-info"},[u("span",{class:"setting-name"},"「 情 绪 识 别」"),u("p",{class:"setting-desc"},"该现已,条件较差以及入侵过程中的作弊,条件等好等")])]),u("div",{class:"setting-item"},[u("div",{class:"setting-info"},[u("span",{class:"setting-name"},"「 眼 动 检 测 」"),u("p",{class:"setting-desc"},"视实检测候选人的眼动频率进行分析,页面等较等")])])],-1)),u("div",Lc,[t[266]||(t[266]=u("div",{class:"section-header"},[u("span",{class:"section-title"},"其他设置")],-1)),u("div",kc,[u("div",Qc,[t[255]||(t[255]=u("span",{class:"setting-name"},"复习面试",-1)),t[256]||(t[256]=u("p",{class:"setting-desc"},"选取后,将允许面试者进行重复面试",-1)),p(nt,{modelValue:ut.reviewInterview,"onUpdate:modelValue":t[71]||(t[71]=m=>ut.reviewInterview=m)},null,8,["modelValue"])])]),u("div",Gc,[u("div",zc,[t[259]||(t[259]=u("span",{class:"setting-name"},"开场词",-1)),cn.value?(N(),Y("div",Wc,[p(G,{modelValue:kt.value,"onUpdate:modelValue":t[72]||(t[72]=m=>kt.value=m),type:"textarea",rows:"2",placeholder:"请输入开始前提示内容","show-word-limit":""},null,8,["modelValue"]),u("div",Hc,[p(A,{size:"small",onClick:ra},{default:S(()=>t[257]||(t[257]=[M("取消")])),_:1}),p(A,{size:"small",type:"primary",onClick:ia},{default:S(()=>t[258]||(t[258]=[M("保存")])),_:1})])])):(N(),Y("div",$c,[u("p",Jc,re(ut.beforeStartText),1),p(A,{type:"text",class:"edit-desc-btn",onClick:oa},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(st))]),_:1})]),_:1})]))])]),u("div",Yc,[u("div",Xc,[t[262]||(t[262]=u("span",{class:"setting-name"},"开始后提醒",-1)),Qn.value?(N(),Y("div",_c,[p(G,{modelValue:fn.value,"onUpdate:modelValue":t[73]||(t[73]=m=>fn.value=m),type:"textarea",rows:"2",placeholder:"请输入开始后提醒内容",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),u("div",ef,[p(A,{size:"small",onClick:la},{default:S(()=>t[260]||(t[260]=[M("取消")])),_:1}),p(A,{size:"small",type:"primary",onClick:sa},{default:S(()=>t[261]||(t[261]=[M("保存")])),_:1})])])):(N(),Y("div",Zc,[u("p",qc,re(ut.afterStartText),1),p(A,{type:"text",class:"edit-desc-btn",onClick:aa},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(st))]),_:1})]),_:1})]))])]),u("div",tf,[u("div",nf,[t[265]||(t[265]=u("span",{class:"setting-name"},"结束语",-1)),Gn.value?(N(),Y("div",af,[p(G,{modelValue:vn.value,"onUpdate:modelValue":t[74]||(t[74]=m=>vn.value=m),type:"textarea",rows:"2",placeholder:"请输入免责声明内容",maxlength:"200","show-word-limit":""},null,8,["modelValue"]),u("div",lf,[p(A,{size:"small",onClick:ua},{default:S(()=>t[263]||(t[263]=[M("取消")])),_:1}),p(A,{size:"small",type:"primary",onClick:ca},{default:S(()=>t[264]||(t[264]=[M("保存")])),_:1})])])):(N(),Y("div",of,[u("p",rf,re(ut.disclaimerText),1),p(A,{type:"text",class:"edit-desc-btn",onClick:da},{default:S(()=>[p(q,null,{default:S(()=>[p(xe(st))]),_:1})]),_:1})]))])])])])]),_:1},8,["modelValue"])])}}}),mf=Ma(df,[["__scopeId","data-v-bb7caaf3"]]);export{mf as default};
|