index.BVn5Veis.js 200 KB

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