index.DRsmRgoI.js 192 KB

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