function isIE(){return window.navigator.userAgent.indexOf("MSIE")>=0||window.navigator.userAgent.indexOf("Trident/")>=0}function newUuid(){var n=Date.now();return typeof performance!="undefined"&&typeof performance.now=="function"&&(n+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var i=(n+Math.random()*16)%16|0;return n=Math.floor(n/16),(t==="x"?i:i&3|8).toString(16)})}function htmlEncode(n){return $("
<\/div>").text(n).html()}function htmlDecode(n){return $("
<\/div>").html(n).text()}function htmlAttributeEncode(n){var i=$("
<\/a>"),t;return i.attr("href",n),t=i[0].outerHTML,t.substr(9,t.length-15)}function htmlAttributeDecode(n){return typeof n=="string"&&n.indexOf('"')==-1?$('<\/a>').attr("href"):n}$(function(){if(isIE()){var n=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){n.apply(this,arguments);Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}}});var lib=function(){var n=function(){function t(t,i){var r=t;return i&&i.replace(n,".$3").replace(/\\('|")/g,"$1").split(".").forEach(function(n){r&&n&&(r=r[n])}),r}function i(t,i,r){if(t&&i){var u=t,f=i.replace(n,".$3").replace(/\\('|")/g,"$1").split(".").filter(function(n){return n}),e=f.length;f.forEach(function(n,t){var i,o;if(t0?Array(i).fill(t||0).map(function(n,t){return n+t}):[]}function s(n,t){if(typeof n=="undefined")return"";var i=String(n).split("."),r=i[0].replace(/(.)(?=(\d{3})+$)/g,"$1,");return t&&i.length>1?r+"."+i[1]:r}function h(n,t,i){var r=String(n).match(/^(-?)(\d*)\.?(\d*)$/);return r?r[1]+(Array(t).join(0)+r[2]).slice(-Math.max(t,r[2].length))+(typeof i!="number"&&r[3].length>0||i>0?".":"")+(typeof i=="number"?i>0?(r[3]+Array(i+1).join(0)).slice(0,i):"":r[3]):n}return{isNaNOrNega:n,isNaNOrZero:t,isNaNOrZeroOrNega:i,ifNaN:r,ifNaNOrNega:u,ifNaNOrZero:f,ifNaNOrZeroOrNega:e,range:o,toNumeric:s,zeroFormat:h}}(),i=function(){function n(n){return typeof n=="string"?n:n!=undefined&&n!=null&&typeof n.toString=="function"?n.toString():""}function u(t){var i,r;return(t=n(t),i=null,arguments.length==2&&typeof arguments[1]=="object"&&arguments[1]!=null&&Object.keys(arguments[1]).length>0?i=arguments[1]:arguments.length>=2&&(i=Array.prototype.slice.call(arguments,1)),typeof i=="object"&&i!=null)?(r=Object.keys(i),t.replace(/{(\w+)}/g,function(n,t){return r.indexOf(t)>=0?typeof i[t]!="undefined"?i[t]:"":n})):t}function t(n){return typeof n=="undefined"||n==null||n==""}function i(n){return typeof n=="undefined"||n==null||r.test(n)}function f(){return Array.prototype.slice.call(arguments,0).find(function(n){return!t(n)})}function e(){return Array.prototype.slice.call(arguments,0).find(function(n){return!i(n)})}var r=/^\s*$/;return{from:n,format:u,isNullOrEmpty:t,isNullOrWhiteSpace:i,ifNullOrEmpty:f,ifNullOrWhiteSpace:e}}(),r=function(){function n(n,t,i){return i=$.extend({propertyNames:null},i),t.map(function(t){if(i.propertyNames!=null&&Array.isArray(i.propertyNames)&&i.propertyNames.some(function(){return!0})){var r=[];return i.propertyNames.forEach(function(n){r.push(t[n])}),lib.String.format(n,r)}return lib.String.format(n,t)})}function t(n,t,i){return i=$.extend({attr:{},"class":{},bindAttr:null,bindClass:null},i),t.map(function(t){var r=$(document.createElement(n)),u=$.extend({},i.attr),f;return typeof i.bindAttr=="function"&&$.extend(u,i.bindAttr(t)),Object.keys(u).forEach(function(n){n=="text"?r.text(u[n]):n=="html"?r.html(u[n]):typeof u[n]=="boolean"?u[n]?r.attr(n,n):r.removeAttr(n,n):r.attr(n,u[n])}),f=$.extend({},i.class),typeof i.bindClass=="function"&&$.extend(f,i.bindClass(t)),Object.keys(f).forEach(function(n){r.toggleClass(n,!!f[n])}),r.get(0)})}return{mapFormat:n,mapElement:t}}(),u=function(){function n(n,t,i,r){var u,o,f,e;if(r=$.extend({moveForward:!1,fillObject:null,conflictResolver:null},r),Array.isArray(n)){if(u=[],o=Symbol("null"),n.forEach(function(n){for(var f=parseInt(n[t]),s=parseInt(n[i]),e;u.length<=s;)u.push([]);for(e=u[s];e.length<=f;)e.push(o);e[f]==o?e[f]=n:typeof r.conflictResolver=="function"?e[f]=r.conflictResolver(e[f],n,f,s):console.error(lib.String.format("conflict at ({0}, {1})",f,s))}),r.moveForward)for(f=u.length-1;f>=0;f--)for(e=u[f].length-1;e>=0;e--)u[f][e]==o&&(u[f].splice(e,1),e0&&n.every(function(n){return Array.isArray(n)})){for(i=[],r=0;r=0&&r.splice(u,1),r.join(" ");if(Array.isArray(n))return r=n.concat(),u=r.indexOf(t),i!==!1&&u==-1?r.push(t):i!==!0&&u>=0&&r.splice(u,1),r;if(n){var o=Object.keys(n),e=o.includes(t),f={};return i===!1||e?i!==!0&&e&&(f[t]=!1):f[t]=!0,$.extend({},n,f)}return i?t:null}function t(t,i){return n(t,i,!0)}function i(t,i){return n(t,i,!1)}function r(n,t){return typeof n=="string"?n.split(" ").includes(t):Array.isArray(n)?n.includes(t):n?n[t]===!0:!1}return{toggleClass:n,addClass:t,removeClass:i,hasClass:r}}();return{Object:n,Number:t,String:i,Array:r,Grid:u,Date:f,RegExp:e,Element:o,Promise:s,Vue:h}}(),ui=function(){function n(){if(arguments.length>=2)$.extend(!0,s,lib.Object.set({},arguments[0],arguments[1]));else return lib.Object.get(s,arguments[0])}function e(){var i,r,u,f;if(arguments.length>=1){if(i=arguments[0],typeof i!="string"||i.length===0)return;if(r=jQuery.Event("language-change.app"),$("body").trigger(r,[e(),i]),r.isDefaultPrevented())return;$.cookie("Recruiting_Language",i,{path:"/"});$("body").attr("data-language",i);n("language",i);u=n("area")?t("Page_"+n("area")+"_"+n("controller")+"_"+n("action")+"_Title",n("action")):t("Page_"+n("controller")+"_"+n("action")+"_Title",n("action"));f=n("area")?t("Area_"+n("area"),n("area")):t("AppName",n("appName"));document.title=u?u+" | "+f:f;l();$("body").trigger(jQuery.Event("language-changed.app"),[i])}else return n("language")}function t(t,i){var u=i,r;return t&&(r=t.match(o),r&&r[2]&&(u=(n("resources."+r[2])||{})[e()]),u||(r&&r[3]&&r[3].trim()=="?"?u=null:r&&r[3]&&h.test(r[3])?u=r[3].match(h)[1]:typeof i=="string"&&i.trim().length?u=i:r&&(u=r[2]))),u}function u(n,i,r){var u=t(n,i);return r===!0?lib.String.format('{1}<\/span>',htmlAttributeEncode(n),u):lib.String.format('{1}<\/span>',htmlAttributeEncode(n),htmlEncode(u))}function c(n,t){if(t=$.extend({resAttributeNames:["res","res-html","res-title","res-placeholder","res-alt"],allowTagNames:["span","div"],forbidTagNames:["script","style","iframe","object","img","video"],forbidAttributeNames:["src"]},t),typeof n=="string"){var o=/^res[\w-]*$/,s=t.resAttributeNames?t.resAttributeNames.filter(function(n){return o.test(n)}).map(function(n){return"["+n+"]"}).join(", "):null,i=$(n);if(i.is(s)){var r=/^[\w-]+$/,h=/^[\w-]+$/,u=t.allowTagNames?t.allowTagNames.filter(function(n){return r.test(n)}).join(", "):null,f=t.forbidTagNames?t.forbidTagNames.filter(function(n){return r.test(n)}).join(", "):null,e=t.forbidAttributeNames?t.forbidAttributeNames.filter(function(n){return h.test(n)}).map(function(n){return"["+n+"]"}).join(", "):null;return i.toArray().concat(i.find("*").toArray()).every(function(n){var t=$(n);return(!u||t.is(u))&&(!f||!t.is(f))&&(!e||!t.is(e))})}}return!1}function l(n){var i=$.extend(!0,{},n),t,r,u;(n=$.extend({container:"body",attributeNames:["title","placeholder","alt"],inhibitDefault:!1},n),t=jQuery.Event("resources-apply.app"),$("body").trigger(t,[e(),i,n]),t.isDefaultPrevented())||(r=$(n.container),u=n.attributeNames.map(function(n){return"res-"+n}).concat(["res","res-html"]),u.forEach(function(t){r.find(lib.String.format("[{0}]:not([{0}='']):not([{0}='{0}'])",t)).each(function(i,r){var s=t.substr(4),v=t=="res"?$(r).html():t=="res-html"?$(r).html():$(r).attr(s),h=$(r).attr(t).match(o),e=h[2],f=a(r,t,e,v,n),c=jQuery.Event("resource-content-apply.app"),l=t=="res"?"text":t=="res-html"?"html":s,u;($(r).trigger(c,[l,e,f]),c.isDefaultPrevented())||(t=="res"?(u=$(r).data("res-filler")||$(r).attr("res-filler"),u&&typeof u=="string"&&u!="unset"&&(u=window[u]||lib.Object.get(window,u)),u&&typeof u=="function"?u(r,e,f):u!="unset"&&$(r).html(htmlEncode(f).replace(/<\s*br\s*\/?>/g,h[1]=="!"?" ":"
"))):t=="res-html"?$(r).html(f):$(r).attr(s,f),$(r).trigger(jQuery.Event("resource-content-applied.app"),[l,e,f]))})}),$("body").trigger(jQuery.Event("resources-applied.app"),[e(),i,n]))}function a(n,i,r,u,f){for(var s=f.inhibitDefault?t(r):t($(n).attr(i),u),e=[];n.hasAttribute(i+"-"+e.length);){var h=i+"-"+e.length,c=$(n).attr(h).match(o),l=c[2];e.push(a(n,h,l,null,f))}return e.length?lib.String.format(s,e):s}function i(n){n=$.extend({progressValue:50,duration:0,blockId:null},n);n.blockId&&f.indexOf(n.blockId)==-1&&f.push(n.blockId);$("#contentProgress").is(":visible")||($("#contentProgress .progress-bar").attr("aria-valuenow","0").css("width","0"),$("#contentProgress").show());Number($("#contentProgress .progress-bar").attr("aria-valuenow"))0&&setTimeout(function(){r({blockId:n.blockId})},n.duration*1e3)}function r(n){if(n=$.extend({blockId:null},n),n.blockId){var t=f.indexOf(n.blockId);t>=0&&f.splice(t,1)}f.length==0&&($("#contentProgress .progress-bar").attr("aria-valuenow","100").css("width","100%"),$("#contentProgress").fadeOut("slow"))}function p(n){var t;return v(n).then(function(n){t=n}),t}function w(){var n;return y.apply(this,arguments).then(function(t){n=t}),n}function v(n){var t=newUuid(),u;return typeof n=="function"?new Promise(function(u){i({blockId:t});var f=n();r({blockId:t});u(f)}):n.done&&n.fail&&n.always?new Promise(function(u,f){i({blockId:t});n.done(function(n){r({blockId:t});u(n)}).fail(function(n,i,u){r({blockId:t});f(ajaxErrorToMessage(n,i,u))})}):n.then&&n.catch&&n.finally?(i({blockId:t}),n.finally(function(){r({blockId:t})})):n.subscribe?(i({blockId:t}),n.subscribe({complete:function(){r({blockId:t})}})):(u="An executor not supported.",console.error(u),Promise.reject(u))}function y(){var n=Array.prototype.slice.call(arguments,0);return new Promise(function(t,u){function h(n){f.values.push(n);f.successCount++;c()}function s(n){n?f.reasons.push(n):f.unexpectedErrorCount++;f.errorCount++;c()}function c(){if(f.successCount+f.errorCount0&&u(f)}var o=newUuid(),f={successCount:0,errorCount:0,unexpectedErrorCount:0,values:[],reasons:[]},e=0,l=setInterval(function(){e<99&&(e=e+Math.max(1,(100-e)/30),i({progressValue:e,blockId:o}))},1230);n&&n.length?(i({progressValue:e,blockId:o}),n.forEach(function(n){var i,t;if(typeof n=="function"){try{i=n()}catch(r){s(r);return}h(i)}else n.done&&n.fail&&n.always?n.done(function(n){h(n)}).fail(function(n,t,i){s(ajaxErrorToMessage(n,t,i))}):n.then&&n.catch&&n.finally?n.then(function(n){h(n)}).catch(function(n){s(n)}):(t="An executor not supported.",console.error(t),s(t))})):t([])})}function b(n,i){return typeof i=="string"&&(i={title:i}),Swal.fire($.extend({title:t("Message_AlertTitle","提示訊息"),text:n,confirmButtonText:u("Button_Confirm","Confirm"),customClass:{confirmButton:"btn btn-primary"},buttonsStyling:!1,allowOutsideClick:!1},i)).then(function(n){return Promise.resolve(n)})}function k(n,i){return Swal.fire({title:i||t("Message_ConfirmTitle","待確認訊息"),text:n,type:"question",showCancelButton:!0,confirmButtonText:u("Button_Confirm","Confirm"),cancelButtonText:u("Button_Cancel","Cancel"),customClass:{confirmButton:"btn btn-primary m-1",cancelButton:"btn btn-secondary m-1"},buttonsStyling:!1,allowOutsideClick:!1}).then(function(n){return Promise.resolve(n.value)})}function d(n,t){return Swal.fire($.extend({title:n,input:"text",inputAttributes:{autocapitalize:"off"},inputValidator:function(n){if(!n)return"Required."},showCancelButton:!0,confirmButtonText:u("Button_Confirm","Confirm"),cancelButtonText:u("Button_Cancel","Cancel"),customClass:{confirmButton:"btn btn-primary m-1",cancelButton:"btn btn-secondary m-1"},buttonsStyling:!1,allowOutsideClick:!1},t)).then(function(n){return Promise.resolve(n.value)})}function g(n,t,i){i=$.extend({title:null,delay:3579},i);var r=$('