/*! Powered by kodbox;hash:80dcc1acc2b840c4af90 [2024/08/02 12:57:05] */ !function(a){var n={};function i(e){var t;return(n[e]||(t=n[e]={"i":e,"l":!1,"exports":{}},a[e].call(t.exports,t,t.exports,i),t.l=!0,t)).exports}i.m=a,i.c=n,i.d=function(e,t,a){i.o(e,t)||Object.defineProperty(e,t,{"enumerable":!0,"get":a})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{"value":"Module"}),Object.defineProperty(e,"__esModule",{"value":!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{"enumerable":!0,"value":t}),2&e&&"string"!=typeof t)for(var n in t)i.d(a,n,function(e){return t[e]}.bind(null,n));return a},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=689)}({"11":function(e,t){e.exports=function(e){function t(e){"undefined"!=typeof console&&(console.error||console.log)("[Script Loader]",e)}try{"undefined"!=typeof execScript&&"undefined"!=typeof attachEvent&&"undefined"==typeof addEventListener?execScript(e):"undefined"!=typeof eval?eval.call(null,e):t("EvalError: No eval function available")}catch(a){t(a)}}},"113":function(e,t,a){"use strict";var d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p=function p(e,t){var a={"fileSelect":"fileSelectShare","folderView":"folderViewShare"},n=(t=t||{},window.FILE_INFO&&FILE_INFO.savePath&&"1"==FILE_INFO.canWrite&&0===FILE_INFO.savePath.indexOf("{shareItemLink:")&&a[e]&&(e=a[e],t.sharePath=FILE_INFO.savePath.split("/")[0]),kodApi.API_URL+"#"+e);return $.each(t,function(e,t){"object"==(void 0===t?"undefined":d(t))&&(t=jsonEncode(t)),n+="&"+e+"="+urlEncode(t)}),n},u={"selectFolder":"选择文件夹","fileView":"文件预览","folderView":"文件夹展示","onSave":"保存中...","saveTo":"文件保存到"},o=function o(e){for(var t={},a=document.cookie.split("; "),n=0;n',$(t).html(a)):f(e,$.extend(!0,{},{"title":u["fileView"]},t))},kodApi.folderView=function(e,t){var a,e=p("folderView",{"path":e});"string"==typeof t||$.isDom(t)?(a='',$(t).html(a)):f(e,$.extend(!0,{},{"title":u["folderView"]},t))},Tips.notify),h=(Tips.notify=function(e){return"tipsCloseCallback"==e.onClose&&(e.onClose=function(){y("this.tipsCloseCallback."+e.id,[])}),r(e)},Tips.notify.tips=r.tips,Tips.notify.loading=r.loading,undefined),s=!1,c=!1,g=function g(e){return b[e]?b[e]:eval(e)},l=function l(){var e,t;s||(e=UUID(),t=p("folderView",{"urlParam":{"uuid":e}}),t=$('\n\t
\n\t\t\n\t
').appendTo("body").find("iframe").get(0).contentWindow,(s=new Messenger(e)).addTarget(t,e),s.listen(function(e){var t;e&&"object"==(void 0===e?"undefined":d(e))&&e.fromKod&&("pageOnload"==e.type?(c=!0,v()):"runCode"==e.type&&(t=g(e.method))&&t.apply(h,e.args))}))},m=[],b={},y=function y(e,t,a,n){t=$.isArray(t)?t:[],n=n||UUID();e={"type":"runCode","method":e,"args":t};b[n]=a=a||function(){},e.callback=n,t.push(n),l(),m.push(e),v()},v=function v(){if(c){for(var e=0;e').appendTo("body");o&&r.attr("multiple","multiple"),n.allowExt&&r.attr("accept",makeInputAccept(n.allowExt)),n.accept&&r.attr("accept",n.accept),r.click().bind("change",function(e){r.remove();var t=o?[]:this.files[0];if(o)for(var a=0;aa",c=n.getElementsByTagName("*"),(d=n.getElementsByTagName("a")[0]).style.cssText="top:1px;float:left;opacity:.5",!c||!c.length||!d)return{};g=(c=e.createElement("select")).appendChild(e.createElement("option")),h=n.getElementsByTagName("input")[0],b={"leadingWhitespace":3===n.firstChild.nodeType,"tbody":!n.getElementsByTagName("tbody").length,"htmlSerialize":!!n.getElementsByTagName("link").length,"style":/top/.test(d.getAttribute("style")),"hrefNormalized":"/a"===d.getAttribute("href"),"opacity":/^0.5/.test(d.style.opacity),"cssFloat":!!d.style.cssFloat,"checkOn":"on"===h.value,"optSelected":g.selected,"getSetAttribute":"t"!==n.className,"enctype":!!e.createElement("form").enctype,"html5Clone":"<:nav>"!==e.createElement("nav").cloneNode(!0).outerHTML,"boxModel":"CSS1Compat"===e.compatMode,"submitBubbles":!0,"changeBubbles":!0,"focusinBubbles":!1,"deleteExpando":!0,"noCloneEvent":!0,"inlineBlockNeedsLayout":!1,"shrinkWrapBlocks":!1,"reliableMarginRight":!0,"boxSizingReliable":!0,"pixelPosition":!1},h.checked=!0,b.noCloneChecked=h.cloneNode(!0).checked,c.disabled=!0,b.optDisabled=!g.disabled;try{delete n.test}catch(o){b.deleteExpando=!1}if(!n.addEventListener&&n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",g=function(){b.noCloneEvent=!1}),n.cloneNode(!0).fireEvent("onclick"),n.detachEvent("onclick",g)),(h=e.createElement("input")).value="t",h.setAttribute("type","radio"),b.radioValue="t"===h.value,h.setAttribute("checked","checked"),h.setAttribute("name","t"),n.appendChild(h),(g=e.createDocumentFragment()).appendChild(n.lastChild),b.checkClone=g.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=h.checked,g.removeChild(h),g.appendChild(n),n.attachEvent)for(k in{"submit":!0,"change":!0,"focusin":!0})j="on"+k,l=j in n,l||(n.setAttribute(j,"return;"),l="function"==typeof n[j]),b[k+"Bubbles"]=l;return p(function(){var c,d,f,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",i=e.getElementsByTagName("body")[0];i&&((c=e.createElement("div")).style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",i.insertBefore(c,i.firstChild),d=e.createElement("div"),c.appendChild(d),d.innerHTML="
t
",(f=d.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",l=0===f[0].offsetHeight,f[0].style.display="",f[1].style.display="none",b.reliableHiddenOffsets=l&&0===f[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",b.boxSizing=4===d.offsetWidth,b.doesNotIncludeMarginInBodyOffset=1!==i.offsetTop,a.getComputedStyle&&(b.pixelPosition="1%"!==(a.getComputedStyle(d,null)||{}).top,b.boxSizingReliable="4px"===(a.getComputedStyle(d,null)||{"width":"4px"}).width,(f=e.createElement("div")).style.cssText=d.style.cssText=h,f.style.marginRight=f.style.width="0",d.style.width="1px",d.appendChild(f),b.reliableMarginRight=!parseFloat((a.getComputedStyle(f,null)||{}).marginRight)),"undefined"!=typeof d.style.zoom&&(d.innerHTML="",d.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",b.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.style.overflow="visible",d.innerHTML="
",d.firstChild.style.width="5px",b.shrinkWrapBlocks=3!==d.offsetWidth,c.style.zoom=1),i.removeChild(c))}),g.removeChild(n),d=c=h=g=n=null,b}(),/^(?:\\{.*\\}|\\[.*\\])$/),I=/([A-Z])/g;p.extend({"cache":{},"deletedIds":[],"uuid":0,"expando":"jQuery"+(p.fn.jquery+Math.random()).replace(/\\D/g,""),"noData":{"embed":!0,"object":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000","applet":!0},"hasData":function(a){return!!(a=a.nodeType?p.cache[a[p.expando]]:a[p.expando])&&!K(a)},"data":function(a,c,d,e){if(p.acceptData(a)){var g,h=p.expando,i="string"==typeof c,j=a.nodeType,k=j?p.cache:a,l=j?a[h]:a[h]&&h;if(l&&k[l]&&(e||k[l].data)||!i||d!==b)return l||(j?a[h]=l=p.deletedIds.pop()||++p.uuid:l=h),k[l]||(k[l]={},j)||(k[l].toJSON=p.noop),"object"!=typeof c&&"function"!=typeof c||(e?k[l]=p.extend(k[l],c):k[l].data=p.extend(k[l].data,c)),a=k[l],e||(a.data||(a.data={}),a=a.data),d!==b&&(a[p.camelCase(c)]=d),i?null==(g=a[c])&&(g=a[p.camelCase(c)]):g=a,g}},"removeData":function(a,b,c){if(p.acceptData(a)){var d,e,f,g=a.nodeType,h=g?p.cache:a,i=g?a[p.expando]:p.expando;if(h[i]){if(b&&(d=c?h[i]:h[i].data)){for((e=0,f=(b=p.isArray(b)?b:b in d||(b=p.camelCase(b))in d?[b]:b.split(" ")).length);eq&&u.push({"elem":this,"matches":o.slice(q)}),d=0;d+~])"+r+"*",z="(?=[^\\\\x20\\\\t\\\\r\\\\n\\\\f])(?:\\\\\\\\.|"+t+"|"+w.replace(2,7)+"|[^\\\\\\\\(),])+",A=new RegExp("^"+r+"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)"+r+"+$","g"),B=new RegExp("^"+y),C=new RegExp(z+"?(?="+r+"*,|$)","g"),D=new RegExp("^(?:(?!,)(?:(?:^|,)"+r+"*"+z+")*?|"+r+"*(.*?))(\\\\)|$)"),E=new RegExp(z.slice(19,-6)+"\\\\x20\\\\t\\\\r\\\\n\\\\f>+~])+|"+y,"g"),F=/^(?:#([\\w\\-]+)|(\\w+)|\\.([\\w\\-]+))$/,G=/[\\x20\\t\\r\\n\\f]*[+~]/,H=/:not\\($/,I=/h\\d/i,J=/input|select|textarea|button/i,K=/\\\\(?!\\\\)/g,L={"ID":new RegExp("^#("+a+")"),"CLASS":new RegExp("^\\\\.("+a+")"),"NAME":new RegExp("^\\\\[name=[\'\\"]?("+a+")[\'\\"]?\\\\]"),"TAG":new RegExp("^("+a.replace("[-","[-\\\\*")+")"),"ATTR":new RegExp("^"+t),"PSEUDO":new RegExp("^"+w),"CHILD":new RegExp("^:(only|nth|last|first)-child(?:\\\\("+r+"*(even|odd|(([+-]|)(\\\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\\\d+)|))"+r+"*\\\\)|)","i"),"POS":new RegExp(x,"ig"),"needsContext":new RegExp("^"+r+"*[>+~]|"+x,"i")},M={},N=[],O={},P=[],z=function(a){return a.sizzleFilter=!0,a},y=function(a){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===a}},a=function(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}},T=function(a){var b=!1,c=h.createElement("div");try{b=a(c)}catch(d){}return b},U=T(function(a){a.innerHTML="";a=typeof a.lastChild.getAttribute("multiple");return"boolean"!=a&&"string"!=a}),t=T(function(a){a.id=q+0,a.innerHTML="
",i.insertBefore(a,i.firstChild);var b=h.getElementsByName&&h.getElementsByName(q).length===2+h.getElementsByName(q+0).length;return g=!h.getElementById(q),i.removeChild(a),b}),w=T(function(a){return a.appendChild(h.createComment("")),0===a.getElementsByTagName("*").length}),x=T(function(a){return a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!=j&&"#"===a.firstChild.getAttribute("href")}),Y=T(function(a){return a.innerHTML="
",!(!a.getElementsByClassName||0===a.getElementsByClassName("e").length)&&(a.lastChild.className="e",1!==a.getElementsByClassName("e").length)}),Z=function(a,b,c,d){c=c||[];var e,f,g,i,j=(b=b||h).nodeType;if(1!==j&&9!==j)return[];if(!a||"string"!=typeof a)return c;if(!(g=ba(b))&&!d&&(e=F.exec(a)))if(i=e[1]){if(9===j){if(!(f=b.getElementById(i))||!f.parentNode)return c;if(f.id===i)return c.push(f),c}else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(i))&&bb(b,f)&&f.id===i)return c.push(f),c}else{if(e[2])return o.apply(c,n.call(b.getElementsByTagName(a),0)),c;if((i=e[3])&&Y&&b.getElementsByClassName)return o.apply(c,n.call(b.getElementsByClassName(i),0)),c}return bm(a,b,c,d,g)},$=Z.selectors={"cacheLength":50,"match":L,"order":["ID","TAG"],"attrHandle":{},"createPseudo":z,"find":{"ID":g?function(a,b,c){if(typeof b.getElementById!=j&&!c)return(c=b.getElementById(a))&&c.parentNode?[c]:[]}:function(a,c,d){if(typeof c.getElementById!=j&&!d)return(d=c.getElementById(a))?d.id===a||typeof d.getAttributeNode!=j&&d.getAttributeNode("id").value===a?[d]:b:[]},"TAG":w?function(a,b){if(typeof b.getElementsByTagName!=j)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTagName(a);if("*"!==a)return c;for(var d,e=[],f=0;d=c[f];f++)1===d.nodeType&&e.push(d);return e}},"relative":{">":{"dir":"parentNode","first":!0}," ":{"dir":"parentNode"},"+":{"dir":"previousSibling","first":!0},"~":{"dir":"previousSibling"}},"preFilter":{"ATTR":function(a){return a[1]=a[1].replace(K,""),a[3]=(a[4]||a[5]||"").replace(K,""),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},"CHILD":function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1]?(a[2]||Z.error(a[0]),a[3]=+(a[3]?a[4]+(a[5]||1):2*("even"===a[2]||"odd"===a[2])),a[4]=+(a[6]+a[7]||"odd"===a[2])):a[2]&&Z.error(a[0]),a},"PSEUDO":function(a){var b,c=a[4];return L.CHILD.test(a[0])?null:(c&&(b=D.exec(c))&&b.pop()&&(a[0]=a[0].slice(0,b[0].length-c.length-1),c=b[0].slice(0,-1)),a.splice(2,3,c||a[3]),a)}},"filter":{"ID":g?function(a){return a=a.replace(K,""),function(b){return b.getAttribute("id")===a}}:function(a){return a=a.replace(K,""),function(b){b=typeof b.getAttributeNode!=j&&b.getAttributeNode("id");return b&&b.value===a}},"TAG":function(a){return"*"===a?function(){return!0}:(a=a.replace(K,"").toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},"CLASS":function(a){var b=M[a];return b||(b=M[a]=new RegExp("(^|"+r+")"+a+"("+r+"|$)"),N.push(a),N.length>$.cacheLength&&delete M[N.shift()]),function(a){return b.test(a.className||typeof a.getAttribute!=j&&a.getAttribute("class")||"")}},"ATTR":function(a,b,c){return b?function(d){var d=Z.attr(d,a),f=d+"";if(null==d)return"!="===b;switch(b){case"=":return f===c;case"!=":return f!==c;case"^=":return c&&0===f.indexOf(c);case"*=":return c&&-1$.cacheLength&&delete O[P.shift()]}return g}),bm=(Z.matches=function(a,b){return Z(a,null,null,b)},Z.matchesSelector=function(a,b){return 0",a.querySelectorAll("[selected]").length||e.push("\\\\["+r+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||e.push(":checked")}),T(function(a){a.innerHTML="

",a.querySelectorAll("[test^=\'\']").length&&e.push("[*^$]="+r+"*(?:\\"\\"|\'\')"),a.innerHTML="",a.querySelectorAll(":enabled").length||e.push(":enabled",":disabled")}),e=e.length&&new RegExp(e.join("|")),bm=function(a,d,f,g,h){if(!(g||h||e&&e.test(a)))if(9===d.nodeType)try{return o.apply(f,n.call(d.querySelectorAll(a),0)),f}catch(i){}else if(1===d.nodeType&&"object"!==d.nodeName.toLowerCase()){var j=d.getAttribute("id"),k=j||q,l=G.test(a)&&d.parentNode||d;j?k=k.replace(c,"\\\\$&"):d.setAttribute("id",k);try{return o.apply(f,n.call(l.querySelectorAll(a.replace(C,"[id=\'"+k+"\'] $&")),0)),f}catch(i){}finally{j||d.removeAttribute("id")}}return b(a,d,f,g,h)},g&&(T(function(b){a=g.call(b,"div");try{g.call(b,"[test!=\'\']:sizzle"),f.push($.match.PSEUDO)}catch(c){}}),f=new RegExp(f.join("|")),Z.matchesSelector=function(b,c){if(c=c.replace(d,"=\'$1\']"),!(ba(b)||f.test(c)||e&&e.test(c)))try{var h=g.call(b,c);if(h||a||b.document&&11!==b.document.nodeType)return h}catch(i){}return 0]*)\\/>/gi,bp=/<([\\w:]+)/,bq=/]","i"),bv=/^(?:checkbox|radio)$/,bw=/checked\\s*(?:[^=]|=\\s*.checked.)/i,bx=/\\/(java|ecma)script/i,by=/^\\s*\\s*$/g,bz={"option":[1,""],"legend":[1,"
","
"],"thead":[1,"","
"],"tr":[2,"","
"],"td":[3,"","
"],"col":[2,"","
"],"area":[1,"",""],"_default":[0,"",""]},bA=bk(e),bB=bA.appendChild(e.createElement("div"));bz.optgroup=bz.option,bz.tbody=bz.tfoot=bz.colgroup=bz.caption=bz.thead,bz.th=bz.td,p.support.htmlSerialize||(bz._default=[1,"X
","
"]),p.fn.extend({"text":function(a){return p.access(this,function(a){return a===b?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||e).createTextNode(a))},null,a,arguments.length)},"wrapAll":function(a){var b;return p.isFunction(a)?this.each(function(b){p(this).wrapAll(a.call(this,b))}):(this[0]&&(b=p(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){for(var a=this;a.firstChild&&1===a.firstChild.nodeType;)a=a.firstChild;return a}).append(this)),this)},"wrapInner":function(a){return p.isFunction(a)?this.each(function(b){p(this).wrapInner(a.call(this,b))}):this.each(function(){var b=p(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},"wrap":function(a){var b=p.isFunction(a);return this.each(function(c){p(this).wrapAll(b?a.call(this,c):a)})},"unwrap":function(){return this.parent().each(function(){p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)}).end()},"append":function(){return this.domManip(arguments,!0,function(a){1!==this.nodeType&&11!==this.nodeType||this.appendChild(a)})},"prepend":function(){return this.domManip(arguments,!0,function(a){1!==this.nodeType&&11!==this.nodeType||this.insertBefore(a,this.firstChild)})},"before":function(){var a;return bh(this[0])?arguments.length?(a=p.clean(arguments),this.pushStack(p.merge(a,this),"before",this.selector)):void 0:this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)})},"after":function(){var a;return bh(this[0])?arguments.length?(a=p.clean(arguments),this.pushStack(p.merge(this,a),"after",this.selector)):void 0:this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)})},"remove":function(a,b){for(var c,d=0;null!=(c=this[d]);d++)a&&!p.filter(a,[c]).length||(b||1!==c.nodeType||(p.cleanData(c.getElementsByTagName("*")),p.cleanData([c])),c.parentNode&&c.parentNode.removeChild(c));return this},"empty":function(){for(var a,b=0;null!=(a=this[b]);b++)for(1===a.nodeType&&p.cleanData(a.getElementsByTagName("*"));a.firstChild;)a.removeChild(a.firstChild);return this},"clone":function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return p.clone(this,a,b)})},"html":function(a){return p.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return 1===c.nodeType?c.innerHTML.replace(bm,""):b;if("string"==typeof a&&!bs.test(a)&&(p.support.htmlSerialize||!bu.test(a))&&(p.support.leadingWhitespace||!bn.test(a))&&!bz[(bp.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(bo,"<$1>");try{for(;d")?g=a.cloneNode(!0):(bB.innerHTML=a.outerHTML,bB.removeChild(g=bB.firstChild)),!(p.support.noCloneEvent&&p.support.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||p.isXMLDoc(a)))for(bE(a,g),d=bF(a),e=bF(g),f=0;d[f];++f)e[f]&&bE(d[f],e[f]);if(b&&(bD(a,g),c))for(d=bF(a),e=bF(g),f=0;d[f];++f)bD(d[f],e[f]);return d=e=null,g},"clean":function(a,b,c,d){for(var f,h,i,j,k,l,m,n,q,r,s=0,t=[],g=(b=b&&"undefined"!=typeof b.createDocumentFragment?b:e)===e&&bA;null!=(h=a[s]);s++)if("number"==typeof h&&(h+=""),h){if("string"==typeof h)if(br.test(h)){for(g=g||bk(b),l=l||g.appendChild(b.createElement("div")),h=h.replace(bo,"<$1>"),i=(bp.exec(h)||["",""])[1].toLowerCase(),k=(j=bz[i]||bz._default)[0],l.innerHTML=j[1]+h+j[2];k--;)l=l.lastChild;if(!p.support.tbody)for(m=bq.test(h),f=(n="table"!==i||m?""!==j[1]||m?[]:l.childNodes:l.firstChild&&l.firstChild.childNodes).length-1;0<=f;--f)p.nodeName(n[f],"tbody")&&!n[f].childNodes.length&&n[f].parentNode.removeChild(n[f]);!p.support.leadingWhitespace&&bn.test(h)&&l.insertBefore(b.createTextNode(bn.exec(h)[0]),l.firstChild),h=l.childNodes,l=g.lastChild}else h=b.createTextNode(h);h.nodeType?t.push(h):t=p.merge(t,h)}if(l&&(g.removeChild(l),h=l=g=null),!p.support.appendChecked)for(s=0;null!=(h=t[s]);s++)p.nodeName(h,"input")?bG(h):"undefined"!=typeof h.getElementsByTagName&&p.grep(h.getElementsByTagName("input"),bG);if(c)for(q=function(a){if(!a.type||bx.test(a.type))return d?d.push(a.parentNode?a.parentNode.removeChild(a):a):c.appendChild(a)},s=0;null!=(h=t[s]);s++)p.nodeName(h,"script")&&q(h)||(c.appendChild(h),"undefined"!=typeof h.getElementsByTagName&&(r=p.grep(p.merge([],h.getElementsByTagName("script")),q),t.splice.apply(t,[s+1,0].concat(r)),s+=r.length));return t},"cleanData":function(a,b){for(var c,d,e,f,g=0,h=p.expando,i=p.cache,j=p.support.deleteExpando,k=p.event.special;null!=(e=a[g]);g++)if((b||p.acceptData(e))&&(c=(d=e[h])&&i[d])){if(c.events)for(f in c.events)k[f]?p.event.remove(e,f):p.removeEvent(e,f,c.handle);i[d]&&(delete i[d],j?delete e[h]:e.removeAttribute?e.removeAttribute(h):e[h]=null,p.deletedIds.push(d))}}}),function(){var a,b;p.uaMatch=function(a){a=a.toLowerCase();a=/(chrome)[ \\/]([\\w.]+)/.exec(a)||/(webkit)[ \\/]([\\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \\/]([\\w.]+)/.exec(a)||/(msie) ([\\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\\w.]+)|)/.exec(a)||[];return{"browser":a[1]||"","version":a[2]||"0"}},b={},(a=p.uaMatch(g.userAgent)).browser&&(b[a.browser]=!0,b.version=a.version),b.webkit&&(b.safari=!0),p.browser=b,p.sub=function(){function a(b,c){return new a.fn.init(b,c)}p.extend(!0,a,this),a.superclass=this,((a.fn=a.prototype=this()).constructor=a).sub=this.sub,a.fn.init=function c(c,d){return d&&d instanceof p&&!(d instanceof a)&&(d=a(d)),p.fn.init.call(this,c,d,b)},a.fn.init.prototype=a.fn;var b=a(e);return a}}();var bH,bI,bJ,bK=/alpha\\([^)]*\\)/i,bL=/opacity=([^)]*)/,bM=/^(top|right|bottom|left)$/,bN=/^margin/,bO=new RegExp("^("+q+")(.*)$","i"),bP=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),bQ=new RegExp("^([-+])=("+q+")","i"),bR={},bS={"position":"absolute","visibility":"hidden","display":"block"},bT={"letterSpacing":0,"fontWeight":400,"lineHeight":1},bU=["Top","Right","Bottom","Left"],bV=["Webkit","O","Moz","ms"],bW=p.fn.toggle,cc=(p.fn.extend({"css":function(a,c){return p.access(this,function(a,c,d){return d!==b?p.style(a,c,d):p.css(a,c)},a,c,1)<[^<]*)*<\\/script>/gi,cr=/([?&])_=[^&]*/,cs=/^([\\w\\+\\.\\-]+:)(?:\\/\\/([^\\/?#:]*)(?::(\\d+)|)|)/,ct=p.fn.load,cu={},cv={},cw=["*/"]+["*"];try{ci=f.href}catch(cx){(ci=e.createElement("a")).href="",ci=ci.href}cj=cs.exec(ci.toLowerCase())||[],p.fn.load=function(a,c,d){var e,f,g,h,i;return"string"!=typeof a&&ct?ct.apply(this,arguments):(this.length&&(h=this,0<=(i=a.indexOf(" "))&&(e=a.slice(i,a.length),a=a.slice(0,i)),p.isFunction(c)?(d=c,c=b):"object"==typeof c&&(f="POST"),p.ajax({"url":a,"type":f,"dataType":"html","data":c,"complete":function(a,b){d&&h.each(d,g||[a.responseText,b,a])}}).done(function(a){g=arguments,h.html(e?p("
").append(a.replace(cq,"")).find(e):a)})),this)},p.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){p.fn[b]=function(a){return this.on(b,a)}}),p.each(["get","post"],function(a,c){p[c]=function(a,d,e,f){return p.isFunction(d)&&(f=f||e,e=d,d=b),p.ajax({"type":c,"url":a,"data":d,"success":e,"dataType":f})}}),p.extend({"getScript":function(a,c){return p.get(a,b,c,"script")},"getJSON":function(a,b,c){return p.get(a,b,c,"json")},"ajaxSetup":function(a,b){return b?cA(a,p.ajaxSettings):(b=a,a=p.ajaxSettings),cA(a,b),a},"ajaxSettings":{"url":ci,"isLocal":/^(?:about|app|app\\-storage|.+\\-extension|file|res|widget):$/.test(cj[1]),"global":!0,"type":"GET","contentType":"application/x-www-form-urlencoded; charset=UTF-8","processData":!0,"async":!0,"accepts":{"xml":"application/xml, text/xml","html":"text/html","text":"text/plain","json":"application/json, text/javascript","*":cw},"contents":{"xml":/xml/,"html":/html/,"json":/json/},"responseFields":{"xml":"responseXML","text":"responseText"},"converters":{"* text":a.String,"text html":!0,"text json":p.parseJSON,"text xml":p.parseXML},"flatOptions":{"context":!0,"url":!0}},"ajaxPrefilter":cy(cu),"ajaxTransport":cy(cv),"ajax":function(a,c){function y(a,c,f,i){var k,s,t,u,y=c;2!==v&&(v=2,h&&clearTimeout(h),g=b,e=i||"",x.readyState=0\\t\\t\\t\\t\\t\\t\\t\\t

\\t\\t\\t\\t×\\t\\t\\t\\t
\\t\\t\\t
\').appendTo("body")).show().css({"left":"50%","margin-left":-$dom.outerWidth()/2}),$dom.find(".tips-close").click(function(){$dom.animate({"opacity":0,"top":-$dom.height()},inTime,0,function(){$(this).remove()})})),$("#"+single));switch(code){case!0:case undefined:case"success":theType="success";break;case"info":theType="info";break;case"warning":theType="warning";break;case!1:case"error":theType="error",delay=6e3;break;default:theType="info"}return $dom.removeClass().addClass("tips-box "+theType),msg!=undefined&&$dom.find(".tips-msg p").htmlText(msg),$dom.show().css({"left":"50%","margin-left":-$dom.outerWidth()/2}),$dom}),popDelayClose=!1,notify=function(config){initLang();var options=$.extend(!0,{"id":"","title":"","content":"","icon":"","className":"","process":{},"delay":0,"delayClose":800,"animateTime":250,"onClose":function(){},"beforeClose":function(){return!0},"position":"topRight"},config),$main=$(),closeDelay=!1,close=function(delay){var msg,content,theWidth,height,marginBottom;return!1!==options.beforeClose()&&("object"==typeof delay&&"undefined"!=typeof delay.code&&(msg="string"==typeof delay.data?delay.data:"",content=delay._dataContent||actions._dataContent||"",delay.code?(actions.icon("success").title(msg||LNG["explorer.success"]),actions.content(content||LNG["explorer.success"]),delay=2*options.delayClose,$main.find(".process-add").css({"width":"100%"})):(actions.icon("error").title(msg||LNG["explorer.error"]),actions.content(content||LNG["explorer.error"]),$main.find(".process-box").hide(),delay=6*options.delayClose)),$main.find(".clear").show(),delay=delay||options.delayClose||0,theWidth=$main.outerWidth()+20,height=$main.height(),marginBottom=parseInt($main.css("margin-bottom")),-1!=["topLeft","bottomLeft"].indexOf(options.position)&&(theWidth=-theWidth),clearTimeout(closeDelay),closeDelay=setTimeout(function(){$main.data("tipsNotify",""),$main.animate({"opacity":0},{"duration":1.5*options.animateTime,"easing":"swing","progress":function(elements,complete){var percentHeight=complete<=.7?1:(1-complete)/(1-.7),percentPose=complete<=.7?complete/.7:1,percentPose=(complete=complete.toFixed(3),percentHeight=percentHeight.toFixed(3),{"left":(percentPose=percentPose.toFixed(3))*theWidth,"opacity":percentHeight,"margin-bottom":marginBottom-(height+marginBottom)*complete+"px"});$main.css(percentPose)},"complete":function(){$main.remove(),options.onClose()}})},delay),actions)},actions={"icon":function(text){return $main.find(".kui-notify-icon").removeClass("hidden").html(\'\'),actions},"title":function(text){var $dom=$main.find(".kui-notify-content-title"),titleMethod=text?"removeClass":"addClass";return $dom.removeClass("hidden").htmlText(text),$dom[titleMethod]("empty"),actions},"content":function(text){return $main.find(".kui-notify-content-message").removeClass("hidden").htmlText(text),actions},"process":function(info){var $dom;if(info!==undefined&&null!==info&&("object"!=typeof info||info.process!==undefined||info.text!==undefined))return(info="object"!=typeof info?{"text":"","process":parseFloat(info)}:info).process=!info.process||info.process<=0?0:info.process,info.process=1<=info.process?1:info.process,info.text=info.text||"",($dom=$main.find(".kui-notify-content-process")).removeClass("hidden"),$dom.find(".process-add").css({"width":100*info.process+"%"}),$dom.find(".process-title").htmlText(info.text),actions},"processHide":function(){return $main.find(".kui-notify-content-process").hide(),actions},"$main":$main,"close":close};return actions.$main=function(){$notify=$(".kui-notify"),$default=($notify=0==$notify.length?$(\'\\t\\t\\t
\\t\\t\\t\\t
\\t\\t\\t\\t
\\t\\t\\t\\t
\\t\\t\\t\\t
\\t\\t\\t
\').appendTo("body"):$notify).find(".kui-notify-topRight");var theWidth,$notify=0!=($notify=$notify.find(".kui-notify-"+options.position)).length?$notify:$default,$default=$notify.find(\'[item-id="\'+options.id+\'"]\'),exists=!1;options.id&&0!=$default.length?($main=$default,exists=!0):$main=$(\'\\t\\t\\t
\\t\\t\\t\\t
\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t
\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t
\\t\\t\\t\\t\\t
\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t
\\t\\t\\t\\t
\\t\\t\\t
\').appendTo($notify);if($.each(["title","content","icon","process"],function(index,key){options[key]!=undefined&&actions[key](options[key])}),options.className&&$main.addClass(options.className),options.id&&$main.attr("item-id",options.id),options.delay&&setTimeout(close,options.delay),$main.find(".kui-notify-close").bind("click",close),!exists)return theWidth=$main.outerWidth()+20,-1!=["topLeft","bottomLeft"].indexOf(options.position)&&(theWidth=-theWidth),$main.css({"opacity":0,"left":theWidth}),$main.animate({"opacity":1},{"duration":options.animateTime,"easing":"swing","progress":function(elements,complete){complete={"left":(complete<=.3?1:(1-complete)/.7)*theWidth,"opacity":complete<=.3?complete/.3:1};$main.css(complete)},"complete":function(){$main.css({"left":"","height":"","opacity":"","margin-bottom":""})}}),$main}(),options.id&&$main.data("tipsNotify",actions),actions},out=(notify.tips=function(content,icon,timeout){return icon=!0===icon||icon===undefined||1===icon?"success":icon,notify({"content":content,"icon":icon=!1===icon||0===icon?"error":icon,"delay":(timeout="error"==icon?timeout||6e3:timeout)||2e3})},notify.loading=function(content){content=notify({"title":content||LNG["explorer.loading"],"icon":"loading"});return content.$main.addClass("notify-loading"),content},$.fn.loading=function(opacity){opacity=$(this).loadingMask(!1,opacity||.8);return opacity.$main.addClass("tips-small"),opacity},$.fn.loadingMask=function(title,opacity){var $that=$(this).first(),title=("static"==$that.css("position")&&$that.css("position","relative"),Tips.loadingMask($that,title,opacity));return title.$main.css("border-radius",$that.css("border-radius")),title},{"tips":function(msg,code,delayClose){initLang(),msg&&"object"==typeof msg&&(code=msg.code,"string"!=typeof(msg=msg.data))&&(msg=code?LNG["explorer.success"]:LNG["explorer.error"]);var $dom=_init(!1,msg,code),msg=delayClose||delay;$dom.stop(!0,!0).css({"opacity":0,"top":-$dom.height()}).show().animate({"opacity":1,"top":0},inTime,0),setTimeout(function(){$dom.animate({"opacity":0,"top":-$dom.height()},inTime,0,function(){$dom.remove()})},msg)},"pop":function(msg,delayTime){var $dom=$(".message-tips-pop");0==$dom.length&&($dom=$(\'
\').appendTo("body").addClass("message-tips-pop")).css({"position":"fixed","left":"50%","top":"50%","display":"block","opacity":0,"padding":"30px 40px","color":"#fff","background":"#000","z-index":99999,"font-size":"25px","border-radius":"10px"}),$dom.find(".tips-msg").htmlText(msg),$dom.css({"margin-left":-$dom.outerWidth()/2,"margin-top":-$dom.outerHeight()/2});clearTimeout(popDelayClose),$dom.stop(!0,!1).fadeIn(150).animate({"opacity":.4},150,0),popDelayClose=setTimeout(function(){$dom.animate({"opacity":0},150,0,function(){$dom.css("display","none")})},delayTime||delay)},"loading":function(msg,code){initLang(),"object"==typeof msg&&(code=msg.code,msg=msg.data),msg==undefined&&(msg=LNG["explorer.loading"]);msg=_init(!0,msg+="   ",code);msg.stop(!0,!0).css({"opacity":"0","top":-msg.height()}).animate({"opacity":1,"top":0},inTime,0)},"close":function(msg,code,delayClose){if(initLang(),"object"==typeof msg)try{code=msg.code,msg=msg.data,code&&"string"!=typeof msg&&(msg=LNG["explorer.success"])}catch(e){code=0,msg=""}var $dom;0==$("#messageTips").length&&!msg||(($dom=_init(!0,msg,code)).closeType="doing",(delay=delayClose||delay)||$dom.stop(!0,!1),"0px"!=$dom.css("top")?$dom.css({"opacity":"0","top":-$dom.height()}).animate({"opacity":1,"top":0},inTime,function(){$dom.delay(delay).animate({"opacity":0,"top":-$dom.height()},inTime,"linear",function(){$dom.remove(),$dom.closeType="done"})}):$dom.show().delay(delay).animate({"opacity":0,"top":-$dom.height()},inTime,"linear",function(){$dom.remove(),$dom.closeType="done"}))},"notify":notify,"notifyRun":function(id,method,args){id=$(\'.kui-notify [item-id="\'+id+\'"]\').data("tipsNotify");if(!id)return!1;id[method].apply(id,args)},"loadingMask":function($parent,title,maskOpacity){initLang();var title=title||LNG["explorer.loading"],loadingImage=staticPath+"images/common/loading-pin3.gif",loadingImage=\'\\t\\t
\\t\\t\\t
\\t\\t\\t
\\t\\t\\t\\t
\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t
\\t\\t\\t\\t
\\t\\t\\t\\t
\'+title+"
\\t\\t\\t
\\t\\t
",$main=($parent=$parent||$("body")).children(".loading-msg-mask");return 0==$main.length&&($parent.prepend(loadingImage),($main=$parent.children(".loading-msg-mask")).stop(!0,!1).hide().fadeIn(200)),$main.find(".loading-msg-title").htmlText(title),void 0!==maskOpacity&&(maskOpacity=parseFloat(maskOpacity)||.4,$main.css({"pointer-events":"auto"}),$main.find(".loading-mask").css({"opacity":maskOpacity})),{"$main":$main,"close":function(delay,animateTime){var delay=delay||10,animateTime=animateTime||300,$dom=$parent.children(".loading-msg-mask");0!=$dom.length&&$dom.stop(!0,!1).show().delay(delay).fadeOut(animateTime,function(){$dom.remove()})},"mask":function(bgColor){bgColor=bgColor||"rgba(255,255,255,0.4)",$main.css({"pointer-events":"auto"}),$main.find(".loading-mask").css({"background":bgColor})},"title":function(title){$main.find(".loading-msg-title").htmlText(title)}}}});for(key in out)out["_"+key]=out[key],out[key]=function(key,method){return function(){return Tips.debug&&console.error("Tips."+key,arguments),method.apply(Tips,arguments)}}(key,out[key]);return out.notify.tips=notify.tips,out.notify.loading=notify.loading,out}();Tips.debug=!1;'},"632":function(e,t){e.exports='!function($){$.formPopBind=function(options,context){var $trigger=options.$trigger,showView=function(e){var display;if((viewMain=$trigger.data("formViewObj"))&&viewMain.$el)return display=!0,viewMain._isShow&&$.targetParent(e,$trigger)&&(display=!1),viewMain.display(display,e);options.optionsGet&&_.extend(options,options.optionsGet());var viewMain=$.formPopCreate(options,context);options.initViewAfter&&options.initViewAfter(viewMain),$trigger.data("formViewObj",viewMain),viewMain.display(!0,e)};$trigger.bind("click",showView),context&&context.bind&&context.bind("onRemove",function(){var viewMain=$trigger.data("formViewObj");viewMain&&viewMain.$el&&($trigger.unbind("click",showView),viewMain.destroy())})},$.formPopCreate=function(options,context){var buttons,optionsDefault={"$el":"","$trigger":"","$triggerClickShow":!1,"$ignoreHide":"","title":"","titleIcon":"","className":"","formData":!1,"formLazy":!1,"formLoad":function(){},"pose":{"my":"left top","at":"right top"},"animateIn":200,"show":function(viewMain){},"hide":function(viewMain){},"showBefore":function(viewMain){},"hideBefore":function(viewMain){},"hideAfter":function(viewMain){},"destroyBefore":function(viewMain){},"bind":function(evt,callback){},"trigger":function(evt){Events.trigger.apply(window,arguments)},"cancelVal":LNG["common.cancel"],"okVal":LNG["common.save"],"cancel":!1,"ok":!1,"buttons":[]},isFirstShow=((options=_.extend(optionsDefault,options)).$el||(optionsDefault=`
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t
`,options.$el=$(optionsDefault).appendTo("body"),options.title||options.$el.find(".header").addClass("hidden"),options.title&&options.$el.find(".header .title").html(options.title),options.titleIcon&&options.$el.find(".header .title-icon").addClass(options.titleIcon),buttons="",$.isArray(options.buttons)&&$.each(options.buttons,function(index,item){item&&item.val&&item.callback&&(buttons+=\'\'+item.val+"")}),options.cancel&&(buttons+=\'\'+options.cancelVal+""),options.ok&&(buttons+=\'\'+options.okVal+""),buttons&&$(\'
\'+buttons+"
").appendTo(options.$el).find(".kui-btn").bind("click",function(e){var action=$(this).attr("data-action"),callback=options[action]||!1;(callback=parseInt(action)+""==action?buttons[parseInt(action)].callback:callback).apply(context,[viewMain])})),options.className&&options.$el.addClass(options.className),options.$el.hide(),!1),viewMain=_.extend({"_isShow":!1,"showBeforeFirst":function(){},"display":function(show,e){viewMain.$el&&show!=viewMain._isShow&&((viewMain._isShow=show)?(isFirstShow||(isFirstShow=!0,viewMain.showBeforeFirst()),viewMain.showBefore(viewMain),options.animateIn&&viewMain.$el.fadeIn(options.animateIn),options.animateIn||viewMain.$el.show(),viewMain.$el.position({"of":viewMain.$trigger,"my":viewMain.pose.my,"at":viewMain.pose.at,"collision":"flipfit flipfit"}),viewMain.$trigger.trigger("formPopShow",viewMain),viewMain.show(viewMain)):(viewMain.hideBefore(viewMain),viewMain.hide(viewMain),viewMain.$trigger.trigger("formPopHide",viewMain),viewMain.$el.fadeOut(200,function(e){viewMain.hideAfter(viewMain)})))},"destroy":function(){viewMain.$el&&(viewMain.form&&viewMain.form.objectRemove(),viewMain.$trigger.trigger("formPopDestroy",viewMain),viewMain.$trigger.data("formViewObj",""),viewMain.destroyBefore(),viewMain.$el.remove(),viewMain.$el=!1,_.each(viewMain,function(v,k){delete viewMain[k]}),viewMain._destroyed=!0,$(document).unbind("mousedown touchstart",eventClick),$(document).unbind("keydown",eventEsc))}},options),$main=(formPopMake(viewMain,context),viewMain.$el),eventEsc=function(e){if("Escape"==e.key)return $.isEdit(e)&&$.targetParent(e,$main)?$main.focus():void($.targetParent(e,$main.find(".target-show-view-open"))||$.formPopTargetSelf($(e.target),$main)||viewMain.display&&viewMain.display(!1,e))},eventClick=function(e){$.targetParent(e,viewMain.$trigger)||viewMain.$ignoreHide&&$.targetParent(e,viewMain.$ignoreHide)||$.targetParent(e,$main)||$.formPopTargetSelf($(e.target),$main)||viewMain.display&&viewMain.display(!1,e)},optionsDefault=($(document).bind("keydown",eventEsc),$(document).bind("mousedown touchstart",eventClick),function(){viewMain.display&&viewMain.display(!1)}),formPop=$.formPopTarget(viewMain.$trigger,$main,optionsDefault);return viewMain.show=function(){formPop.show()},viewMain.hide=function(){formPop.hide()},viewMain.$el.find(".view-close").bind("click",optionsDefault),viewMain.$trigger.data("formViewObj",viewMain),$main.data("formViewObj",viewMain),options.$triggerClickShow&&options.$trigger.bind("click",function(e){var isShow=options.$trigger.hasClass("target-show-view-open");viewMain.display(!isShow)}),viewMain};var formPopMake=function(viewMain,context){var callArray,initForm,formProxy,proxyMethod;viewMain.formData&&(callArray=[],initForm=function(){var theForm=new kodApi.formMaker({"parent":context,"formData":viewMain.formData});theForm.renderTarget(viewMain.$el.find(".view-content")),theForm.bind("initFinished",function(){viewMain._isFormProxy&&(viewMain._isFormProxy=!1,_.each(callArray,function(item){theForm[item[0]].apply(theForm,item[1])})),viewMain.formLoad()}),viewMain.form=theForm},viewMain.formLazy?(formProxy={},viewMain._isFormProxy=!0,proxyMethod="setValue,getValue,bind,resetValue".split(","),_.each(proxyMethod,function(method){formProxy[method]=function(){if(!viewMain._isFormProxy)return viewMain.form[method].apply(viewMain.form,_.toArray(arguments));callArray.push([method,_.toArray(arguments)])}}),formProxy.objectRemove=function(){viewMain._isFormProxy=!1},viewMain.showBeforeFirst=function(){initForm()},viewMain.form=formProxy):initForm())},zIndexMax=($.formPopTarget=function($trigger,$formPopView,viewHide){var $_trigger=$($trigger),$_viewPop=$($formPopView),hideSubView=function($view){var $view=$view.find(".target-show-view-open"),subView=$view.data("formViewObj");subView&&subView.$el&&hideSubView(subView.$el),$view.trigger("hide_sub_view")},timeLast=timeFloat();return $_trigger.bind("hide_sub_view",function(e){var timeNow=timeFloat();timeNow-timeLast<=.1||(timeLast=timeNow,viewHide&&viewHide())}),{"show":function(){$_trigger.addClass("target-show-view-open"),$_viewPop.attr("target-show-from","1").attr("tabindex","1"),$_viewPop.data("target-show-from",$_trigger),$_viewPop.zIndexMax(2)},"hide":function(){$_trigger.removeClass("target-show-view-open"),$_viewPop.removeAttr("target-show-from","1"),$_viewPop.data("target-show-from",""),hideSubView($_viewPop),$_trigger.trigger("hide_sub_view")}}},$.formPopTargetSelf=function($node,$main){for(var loop=1;loop<=50;){var $showNode=$($node).parentNode("[target-show-from]"),$showFrom=$($showNode).data("target-show-from");if(!$showNode||!$showFrom)return!1;if($showFrom.parentNode($main))return $showFrom;$node=$showFrom,loop++}return!1},$.formPopTargetFirst=function($node){for(var loop=1;loop<=50;){var $showNode=$($node).parentNode("[target-show-from]"),$showFrom=$($showNode).data("target-show-from");if(!$showNode||!$showFrom)return $node;$node=$showFrom,loop++}return $node},$.formPopTargetParents=function($node){for(var result=[],loop=1;loop<=50;){var $showNode=$($node).parentNode("[target-show-from]"),$showFrom=$($showNode).data("target-show-from");if(!$showNode||!$showFrom)return result;loop++,result.push($node=$showFrom)}return result},$.targetParentFormPop=function(e,selector){return $.formPopTargetFirst($(e.target)).parentNode(selector)},300),zIndexMaxGet=function(){return zIndexMax+=1,$.dialog&&($.dialog.defaults.zIndex=zIndexMax),zIndexMax};$.zIndexMax=zIndexMaxGet,$.fn.zIndexMax=function(add){add=zIndexMaxGet()+(add?parseInt(add):0);$(this).css("z-index",add)}}(jQuery);'},"633":function(e,t){e.exports='var WorkerRun=function(work,param,callback,alias){var makeAliasCode=function(obj){if(!obj)return"";for(var source="",set={},makeItem=(obj.hasOwnProperty(0)||(obj=[obj]),function(key,value){var property=window,keyArr=key.split(".");"string"==typeof value?value=\'"\'+value+\'"\':"object"==typeof value&&(value=JSON.stringify(value));for(var i=0;i=la.LOADING)){a.status=la.LOADING;var c=a.resolve();D("load",c);for(var d=0,e=c.length;d=la.EXECUTING)){if(c.status=la.EXECUTING,c._entry&&!c._entry.length&&delete c._entry,!c.hasOwnProperty("factory"))return c.non=!0,b;var e=c.uri,f=(a.resolve=function(a){return t.resolve(a,e)},a["async"]=function(b,c){return t.use(b,c,e+"_async_"+B++),a},c.factory),f=z(f)?f.call(c.exports={},a,c.exports,c):f;f===b&&(f=c.exports),delete c.factory,c.exports=f,c.status=la.EXECUTED,D("exec",c)}return c.exports},t.prototype.fetch=function(a){function c(){u.request(g.requestUri,g.onRequest,g.charset,g.crossorigin)}var e=this,f=e.uri,g=(e.status=la.FETCHING,{"uri":f}),h=(D("fetch",g),g.requestUri||f);return!h||ja.hasOwnProperty(h)?e.load():ia.hasOwnProperty(h)?ka[h].push(e):(ia[h]=!0,ka[h]=[e],D("request",g={"uri":f,"requestUri":h,"onRequest":function(a){delete ia[h],ja[h]=!0,ha&&(t.save(f,ha),ha=null);var b,c=(c=ka[h])||[];for(delete ka[h];b=c.shift();)!0===a?b.error():b.load()},"charset":z(v.charset)?v.charset(h):v.charset,"crossorigin":z(v.crossorigin)?v.crossorigin(h):v.crossorigin}),g.requested||(a?a[g.requestUri]=c:c())),b},t.resolve=function(a,b){a={"id":a,"refUri":b};return D("resolve",a),a.uri||u.resolve(a.id,b)},t.define=function(a,c,d){var g,e=arguments.length,e=(1===e?(d=a,a=b):2===e&&(d=c,y(a)?(c=a,a=b):c=b),!y(c)&&z(d)&&(c=b===s?[]:s(""+d)),{"id":a,"uri":t.resolve(a),"deps":c,"factory":d});M||e.uri||!Z.attachEvent||b===r||(g=r())&&(e.uri=g.src),D("define",e),e.uri?t.save(e.uri,e):ha=e},t.save=function(a,b){var c=t.get(a);c.statusloading..\'),$content.append(\'
\'),$content.addClass("aui-content-iframe"),DOM.wrap.find(".aui-loading").css({"top":DOM.wrap.find(".aui-title").height()/2}),$iframe.attr("allowTransparency",!0).attr("frameborder","0").attr("allowfullscreen","true").attr("webkitallowfullscreen","true").attr("mozallowfullscreen","true"),DOM=function(){clearTimeout(loadDelay),$content.find(".aui-loading").fadeOut(600).remove(),that.resetTitleLength();try{$iframe.get(0).contentWindow.Messenger&&$content.find(".iframe-mask").remove()}catch(err){}},$iframe.css("display","none"),$iframe.bind("load",DOM).bind("error",DOM),$iframe.fadeIn(300),loadDelay=setTimeout(DOM,15e3))):msg&&1===msg.nodeType&&(display=msg.style.display,prev=msg.previousSibling,next=msg.nextSibling,parent=msg.parentNode,that._elemBack=function(){prev&&prev.parentNode?prev.parentNode.insertBefore(msg,prev.nextSibling):next&&next.parentNode?next.parentNode.insertBefore(msg,next):parent&&parent.appendChild(msg),msg.style.display=display,that._elemBack=null},$content.html(""),content.appendChild(msg),msg.style.display="block"),arguments[1]||(that.config.follow?that.follow(that.config.follow):(left-=(wrap.offsetWidth-width)/2,top-=(wrap.offsetHeight-height)/2,wrap.style.left=Math.max(left,0)+"px",wrap.style.top=Math.max(top,0)+"px"),cssWidth&&"auto"!==cssWidth&&(wrap.style.width=wrap.offsetWidth+"px"),that._autoPositionType()),that._runScript(content),that)},"title":function(text){var DOM=this.DOM,wrap=DOM.wrap,DOM=DOM.title,className="aui-state-no-title";return void 0===text?DOM[0]:(!1===text?(DOM.hide().html(""),wrap.addClass(className)):(this.config.title=text,DOM.data("data-title",text),wrap.hasClass(className)&&(wrap.removeClass(className),DOM.show()),this.resetTitleLength(),dialogList.title(this.config.id,text)),this)},"dialogResize":function(){var func=this.config&&this.config.resizeCallback;func&&func.apply(this),this._mainWidth=this.$main.width()},"resetTitleLength":function(){if(this.$main&&this._mainWidth){this._titleFontSize||(this._titleFontSize=parseInt(this.DOM.title.css("font-size")));var title=this.DOM.title,fontSize=this._titleFontSize,titleBefore=title.data("data-title"),titleStr=titleBefore,maxWidth=this._mainWidth-160;if(this.config&&!this.config.resize)return title.html(titleStr);var stringWidth=function(str,fontSize){for(var width=0,text=(text=htmlRemoveTags(str)).replace(/ /g," "),i=0;i]+>/g,"")},strWidth=stringWidth(titleStr,fontSize);if(strWidth")+1,strWidth=titleStr.substr(0,point),titleStr=titleStr.substr(point));stringWidth(titleStr,fontSize)>maxWidth&&!((titleStr=titleStr.substr(1)).length<10););if(htmlRemoveTags(titleBefore)==titleStr)return title.html(titleBefore);title.html(strWidth+"..."+titleStr)}},"position":function(left,top){var config=this.config,wrap=this.DOM.wrap[0],config=config.fixed,docLeft=_$document.scrollLeft(),docTop=_$document.scrollTop(),dl=config?0:docLeft,dt=config?0:docTop,ww=_$window.width(),wh=_$window.height(),ow=wrap.offsetWidth,oh=wrap.offsetHeight,wrap=wrap.style;return-1===left||-1===top?(-1===left&&(wrap.left=Math.max((ww-ow)/2,0)+"px"),-1===top&&(wrap.top=Math.max((wh-oh)/2,0)+"px")):(config&&(docTop=docLeft=0),!left&&0!==left||(this._left=-1!==left.toString().indexOf("%")?left:null,"number"==typeof(left=this._toNumber(left,ww-ow))?(left+=docLeft,wrap.left=Math.max(left,dl)+"px"):"string"==typeof left&&(wrap.left=left)),!top&&0!==top||(this._top=-1!==top.toString().indexOf("%")?top:null,"number"==typeof(top=this._toNumber(top,wh-oh))?(top+=docTop,wrap.top=Math.max(top,dt)+"px"):"string"==typeof top&&(wrap.top=top)),void 0!==left&&void 0!==top&&(this._follow=null,this._autoPositionType())),this},"size":function(width,height){this.config;var maxWidth,DOM=this.DOM,wrap=DOM.wrap,DOM=DOM.main,wrapStyle=wrap[0].style,style=DOM[0].style,beforeWidth=width,beforeHeight=height;return width&&(this._width=-1!==width.toString().indexOf("%")?width:this._width,maxWidth=_$window.width()-wrap[0].offsetWidth+DOM[0].offsetWidth,"number"==typeof(width=this._toNumber(width,maxWidth))?(wrapStyle.width="auto",style.width=Math.max(this.config.minWidth,width)+"px",wrapStyle.width=wrap[0].offsetWidth+"px"):"string"==typeof width&&"auto"===(style.width=width)&&wrap.css("width","auto")),height&&(this._height=-1!==height.toString().indexOf("%")?height:this._height,maxWidth=_$window.height()-wrap[0].offsetHeight+DOM[0].offsetHeight,"number"==typeof(height=this._toNumber(height,maxWidth))?style.height=Math.max(this.config.minHeight,height)+"px":"string"==typeof height&&(style.height=height)),this.dialogResize(),beforeWidth&&(this._width=beforeWidth),beforeHeight&&(this._height=beforeHeight),this},"follow":function(elem){var expando,winWidth,docLeft,width,isFixed,left,$elem,style,wrapWidth,height,winHeight,wrap,docTop,config=this.config;return(elem="string"==typeof elem||elem&&1===elem.nodeType?($elem=$(elem))[0]:elem)&&(elem.offsetWidth||elem.offsetHeight)?(expando=_expando+"follow",winWidth=_$window.width(),winHeight=_$window.height(),docLeft=_$document.scrollLeft(),docTop=_$document.scrollTop(),$elem=$elem.offset(),width=elem.offsetWidth,height=elem.offsetHeight,left=(isFixed=config.fixed)?$elem.left-docLeft:$elem.left,$elem=isFixed?$elem.top-docTop:$elem.top,style=(wrap=this.DOM.wrap[0]).style,wrapWidth=wrap.offsetWidth,docTop=winHeight+(winHeight=isFixed?0:docTop)<(docTop=$elem+height)+(height=wrap.offsetHeight)&&winHeight<$elem-height?$elem-height:docTop,style.left=(wrap=(wrap=left-(wrapWidth-width)/2)<(winHeight=isFixed?0:docLeft)?left:winWidth"+title+""+event._returnValue,function(){$frame.attr("last-close-check",timeFloat()),self.close()}),!0}}catch(error){}},"close":function(){if(this.closed)return this;if(this.closeIframeCheck())return this;if(!1===(this.config.closeBefore||$.noop).call(this,window))return!1;this.closed=!0;var that=this,DOM=that.DOM,wrap=DOM.wrap,list=artDialog.list,closeCallback=that.config.close,closeThis=(that.config.follow,$(this.DOM.main[0]),that.time(),that.unlock(),that.config&&!1!==that.config["title"]&&dialogList.close(that.config.id),that.config&&delete list[that.config["id"]],function(){for(var i in that._formPopView&&that._formPopView.hide(),window.Events&&Events.trigger("dialog.beforeClose",this),"function"==typeof closeCallback&&closeCallback.call(that,window),that._elemBack&&that._elemBack(),wrap[0].className=wrap[0].style.cssText="",DOM.title.html(""),DOM.content.html(""),DOM.buttons.html(""),artDialog.focus===that&&(artDialog.focus=null),that._removeEvent(),that.hide(!0)._setAbsolute(),that)that.hasOwnProperty(i)&&"DOM"!==i&&delete that[i];return wrap.remove(),that.resetIndex(),window.Events&&Events.trigger("dialog.afterClose",this),that});if(!that.config.animate)return closeThis();this.hasFrame();list="animated "+that.config.animateClose;wrap.width(),wrap.addClass(list).animate({"bottom":0},{"duration":150,"complete":function(){return closeThis()}})},"time":function(second){var that=this,cancel=that.config.cancelVal,timer=that._timer;return timer&&clearTimeout(timer),second&&(that._timer=setTimeout(function(){that._click(cancel)},1e3*second)),that},"focus":function(){try{var elem;this.config.focus&&(elem=this._focus&&this._focus[0]||this.DOM.close[0])&&elem.focus()}catch(e){}return this},"zIndex":function(){if(0==$("."+this.config.id).length)return this.close();var index=$.zIndexMax?$.zIndexMax():$.dialog.defaults.zIndex++,setIndex=index+(this.config.zIndexMax?11e5:0),index=(this.DOM.wrap.css("zIndex",setIndex),this.config.zIndex=index,this._lockMask&&this._lockMask.css("zIndex",setIndex-1),this._lockMaskWrap&&this._lockMaskWrap.css("zIndex",setIndex-1),this.DOM.content.find("iframe")),setIndex=index.get(0);if(1==index.length&&setIndex)try{var doc=setIndex.contentWindow&&setIndex.contentWindow.document,main=!!doc&&(doc.body||doc);main&&document.activeElement!=setIndex&&!$(doc.activeElement).isEdit()&&$(main).focus()}catch(e){}return this.focusDialog()},"focusDialog":function(){return!1!==this.config.title&&dialogList.focus(this.config.id),artDialog.focus&&artDialog.focus.DOM.wrap.removeClass("aui-state-focus"),(artDialog.focus=this).DOM.wrap.addClass("aui-state-focus"),this},"lock":function(){var that,index,wrap,config,docHeight,lockMaskWrap,lockMask,docWidth;return this._lock?this:(index=artDialog.defaults.zIndex-1,wrap=(that=this).DOM.wrap,config=that.config,docWidth=_$document.width(),docHeight=_$document.height(),lockMaskWrap=that._lockMaskWrap||$(document.body.appendChild(document.createElement("div"))),lockMask=that._lockMask||$(lockMaskWrap[0].appendChild(document.createElement("div"))),docWidth=_isMobile?"width:"+docWidth+"px;height:"+docHeight+"px":"width:100%;height:100%",wrap.addClass("aui-state-lock"),lockMaskWrap[0].style.cssText=docWidth+";position:fixed;z-index:"+index+";top:0;left:0;overflow:hidden;",lockMask[0].style.cssText="height:100%;background:"+config.background+";filter:alpha(opacity=0);opacity:0",lockMask.stop(),lockMask.bind("click",function(){that._reset(),wrap.width(),wrap.find(".animated").removeClass(config.animateOpen),setTimeout(function(){wrap.width(),wrap.find(".animated").removeClass(config.animateOpen+" animated"),wrap.width()},400)}).bind("dblclick",function(){}),0===config.duration?lockMask.css({"opacity":config.opacity}):lockMask.animate({"opacity":config.opacity},config.duration),that._lockMaskWrap=lockMaskWrap,that._lockMask=lockMask,that._lock=!0,that.zIndex(),that)},"unlock":function(){var style,un,lockMaskWrap=this._lockMaskWrap,lockMask=this._lockMask;return this._lock&&(style=lockMaskWrap[0].style,un=function(){style.cssText="display:none",lockMaskWrap.remove()},lockMask.stop().unbind(),this.DOM.wrap.removeClass("aui-state-lock"),this.config.duration?lockMask.animate({"opacity":0},this.config.duration,un):un(),this._lock=!1),this},"_getDOM":function(){var wrap=document.createElement("div"),body=document.body;this.config.parentAt&&0!=$(this.config.parentAt).length&&(body=$(this.config.parentAt).get(0)),wrap.style.cssText="position:absolute;left:0;top:0",wrap.innerHTML=artDialog._templates,body.insertBefore(wrap,body.firstChild);for(var name,i=0,DOM={"wrap":$(wrap)},els=wrap.getElementsByTagName("*"),elsLen=els.length;i
\',artDialog.defaults={"content":"","parentAt":"","title":"消息","button":null,"ok":null,"cancel":null,"init":null,"close":null,"okVal":"确定","cancelVal":"取消","width":"auto","height":"auto","minWidth":96,"minHeight":32,"padding":"0","icon":null,"time":null,"esc":!0,"focus":!0,"show":!0,"follow":null,"path":_elem,"lock":!1,"background":"#000","opacity":.7,"duration":300,"fixed":!1,"left":"50%","top":"38.2%","zIndex":300,"displayTab":!0,"animate":!0,"animateOpen":"dialogShow","animateClose":"dialogClose","ico":"","resize":!1,"drag":!0,"closeBefore":!1,"resizeCallback":!1},window.artDialog=$.dialog=$.artDialog=artDialog}(this.art||this.jQuery&&(this.art=jQuery),this),function($){var _dragEvent,_use,_$window=$(window),_$document=$(document),_elem=document.documentElement,_isLosecapture="onlosecapture"in _elem,_isSetCapture="setCapture"in _elem;artDialog.dragEvent=function(){var that=this,proxy=function(name){var fn=that[name];that[name]=function(){return fn.apply(that,arguments)}};proxy("start"),proxy("move"),proxy("end")},artDialog.dragEvent.prototype={"onstart":$.noop,"start":function(event){return $.eventTouchReset(event),_$document.bind("mousemove touchmove",this.move).bind("mouseup touchend",this.end),this.onstart(event.clientX,event.clientY),!1},"onmove":$.noop,"move":function(event){return $.eventTouchReset(event),this.onmove(event.clientX,event.clientY),!1},"onend":$.noop,"end":function(event){return $.eventTouchReset(event),_$document.unbind("mousemove touchmove",this.move).unbind("mouseup touchend",this.end),this.onend(event.clientX,event.clientY),!1}},preMouseUpTime=0,_use=function(event){var startWidth,startHeight,startLeft,startTop,isResize,startX,startY,screenWidth,screenHeight,api=artDialog.focus,DOM=api.DOM,wrap=DOM.wrap,title=DOM.title,main=DOM.main,clsSelect="getSelection"in window?function(){window.getSelection().removeAllRanges()}:function(){try{document.selection.empty()}catch(e){}};_dragEvent.onstart=function(x,y){startX=x,startY=y,screenHeight=$(window).height(),screenWidth=$(window).width(),startTop=(startLeft=(isResize&&(startWidth=main[0].offsetWidth,startHeight=main[0].offsetHeight),wrap[0].offsetLeft),wrap[0].offsetTop),_$document.bind("dblclick",_dragEvent.end),_isLosecapture?title.bind("losecapture",_dragEvent.end):_$window.bind("blur",_dragEvent.end),_isSetCapture&&title[0].setCapture(),wrap.addClass("aui-state-drag"),api.focus()},_dragEvent.onmove=function(x,y){if(!wrap.hasClass("dialog-max")){if(x=(x=screenWidth<=x?screenWidth:x)<=0?0:x,y=(y=screenHeight<=y?screenHeight:y)<=0?0:y,x-=startX,y-=startY,isResize){if(resizeDirection==undefined)return;var wrapStyle=wrap[0].style,style=main[0].style,left=startLeft,top=startTop,width=startWidth,height=startHeight;switch(resizeDirection){case"top":top=y+top,height=-y+height;break;case"right":width=x+width;break;case"bottom":height=y+height;break;case"left":left=x+left,width=-x+width;break;case"top-left":left=x+left,top=y+top,width=-x+width,height=-y+height;break;case"top-right":top=y+top,width=x+width,height=-y+height;break;case"bottom-right":width=x+startWidth,height=y+startHeight;break;case"bottom-left":left=x+left,width=-x+startWidth,height=y+startHeight}left=left<=0?0:left,top=top<=0?0:top,wrapStyle.width="auto",wrapStyle.width=wrap[0].offsetWidth+"px",wrapStyle.left=left+"px",wrapStyle.top=top+"px",style.width=Math.max(0,width)+"px",style.height=Math.max(0,height)+"px",api._width=width,api._height=height,api.resetTitleLength(),api.dialogResize()}else{(style=wrap[0].style).left=x+startLeft+"px",style.top=y+startTop+"px";$(window).height()-(y+startTop)<=50&&(style.top=$(window).height()-50+"px")}clsSelect()}},_dragEvent.onend=function(x,y){var theTime=parseInt((new Date).valueOf()),isDblclick=!1,theTime=(theTime-preMouseUpTime<300&&api.config.resize?(api.$main.hasClass("dialog-min-size")?api._clickMin():api._clickMax(),isDblclick=!0):preMouseUpTime=theTime,_$document.unbind("dblclick",_dragEvent.end),_isLosecapture?title.unbind("losecapture",_dragEvent.end):_$window.unbind("blur",_dragEvent.end),_isSetCapture&&title[0].releaseCapture(),api.closed||api._autoPositionType(),wrap.removeClass("aui-state-drag"),1<=$(DOM.wrap).find("iframe").length&&$(DOM.wrap).find("iframe").focus(),wrap.find(".aui-main")),height=theTime.height();isResize||isDblclick||(theTime.css({"height":0}),theTime.height(),theTime.css({"height":height+"px"}))},isResize=$(event.target).hasClass("resize-handle"),resizeDirection=$(event.target).attr("resize"),_dragEvent.start(event)},_$document.bind("mousedown touchstart",function(event){if(1!=event.which&&"mousedown"==event.type)return!0;var target,config,api=artDialog.focus;api&&(target=event.target,config=api.config,api=api.DOM,!1!==config.drag&&target===api.title[0]||!1!==config.resize&&$(target).hasClass("resize-handle"))&&(_dragEvent=_dragEvent||new artDialog.dragEvent,_use(event))})}(this.art||this.jQuery&&(this.art=jQuery)),function($,window,artDialog){var _topDialog,_proxyDialog,_zIndex,_data="@ARTDIALOG.DATA",_open="@ARTDIALOG.OPEN",_opener="@ARTDIALOG.OPENER",_winName=window.name=window.name||"@ARTDIALOG.WINNAME"+ +new Date,_top=($(function(){window.jQuery||"BackCompat"!==document.compatMode||alert(\'artDialog Error: document.compatMode === "BackCompat"\')}),artDialog.top=function(){try{return share.frameTop()}catch(e){return window}}());artDialog.parent=_top,_topDialog=_top.artDialog,_zIndex=function(){return _topDialog.defaults.zIndex},artDialog.data=function(name,value){var top=artDialog.top,cache=top[_data]||{};return top[_data]=cache,void 0===value?cache[name]:(cache[name]=value,cache)},artDialog.removeData=function(name){var cache=artDialog.top[_data];cache&&cache[name]&&delete cache[name]},artDialog.through=_proxyDialog=function(){var api=_topDialog.apply(this,arguments);return _top!==window&&(artDialog.list[api.config.id]=api),api},_top!==window&&$(window).bind("unload",function(){var config,i,list=artDialog.list;for(i in list)list[i]&&((config=list[i].config)&&(config.duration=0),list[i].close())}),artDialog.open=function(url,options,cache){options=options||{};var api,DOM,$content,iframe,$iframe,$idoc,iwin,ibody,ret,i,top=artDialog.top,loadCss="width:100%;height:100%;border:none 0",load=(!1===cache&&(cache=+new Date,url=(ret=url.replace(/([?&])_=[^&]*/,"$1_="+cache))+(ret===url?(/\\?/.test(url)?"&":"?")+"_="+cache:"")),function(){var iWidth,aConfig=api.config;if(DOM.content.find(".aui-loading").remove(),$content.addClass("aui-state-full"),aConfig){try{iwin=iframe.contentWindow,$idoc=$(iwin.document),ibody=iwin.document.body}catch(e){return iframe.style.cssText=loadCss,aConfig.follow?api.follow(aConfig.follow):api.position(aConfig.left,aConfig.top),options.init&&options.init.call(api,iwin,top),void(options.init=null)}iWidth="auto"===aConfig.width?$idoc.width()+parseInt($(ibody).css("marginLeft")):aConfig.width,aConfig="auto"===aConfig.height?$idoc.height():aConfig.height,iframe.style.cssText=loadCss,api.size(iWidth,aConfig),$.browser.safari&&setTimeout(function(){$.artDialog.tips("",.01)},10),options.init&&options.init.call(api,iwin,top),options.init=null}}),config={"zIndex":_zIndex(),"init":function(){DOM=(api=this).DOM,DOM.main,($content=DOM.content).addClass("aui-content-iframe"),DOM.content.append(\'
loading..
\'),DOM.wrap.find(".aui-loading").css({"top":DOM.wrap.find(".aui-title").height()/2}),(iframe=api.iframe=top.document.createElement("iframe")).src=url,iframe.name="Open"+api.config.id,iframe.style.cssText="position:absolute;left:-9999em;top:-9999em;border:none 0;background:transparent",iframe.setAttribute("frameborder",0,0),iframe.setAttribute("allowTransparency",!0),$iframe=$(iframe),api.content().appendChild(iframe),$iframe.attr("allowfullscreen","true").attr("webkitallowfullscreen","true").attr("mozallowfullscreen","true"),iwin=iframe.contentWindow;try{iwin.name=iframe.name,artDialog.data(iframe.name+_open,api),artDialog.data(iframe.name+_opener,window)}catch(e){}$iframe.bind("load",load).bind("error",load),setTimeout(load,15e3)},"close":function(){if($iframe.css("display","none").unbind("load",load),options.close&&!1===options.close.call(this,iframe.contentWindow,top))return!1;$content.removeClass("aui-state-full"),$iframe[0].src="about:blank",$iframe.remove();try{artDialog.removeData(iframe.name+_open),artDialog.removeData(iframe.name+_opener)}catch(e){}}};for(i in"function"==typeof options.ok&&(config.ok=function(){return options.ok.call(api,iframe.contentWindow,top)}),"function"==typeof options.cancel&&(config.cancel=function(){return options.cancel.call(api,iframe.contentWindow,top)}),delete options.content,options)void 0===config[i]&&(config[i]=options[i]);return _proxyDialog(config)},artDialog.open.api=artDialog.data(_winName+_open),artDialog.opener=artDialog.data(_winName+_opener)||window,artDialog.open.origin=artDialog.opener,artDialog.close=function(){var api=artDialog.data(_winName+_open);return api&&api.close(),!1},_top!=window&&$(document).bind("mousedown",function(){var api=artDialog.open.api;api&&api.zIndex()}),artDialog.load=function(url,options,cache){cache=cache||!1;var i,opt=options||{},config={"zIndex":_zIndex(),"init":function(here){var api=this;api.config;$.ajax({"url":url,"success":function(content){api.content(content),opt.init&&opt.init.call(api,here)},"cache":cache})}};for(i in delete options.content,opt)void 0===config[i]&&(config[i]=opt[i]);return _proxyDialog(config)},artDialog.alert=function(content,callback,icon){return _proxyDialog({"id":"Alert","className":"dialog-alert-box","zIndex":_zIndex(),"zIndexMax":!0,"icon":icon=icon||"warning","padding":"30px 35px","left":"50%","top":"50%","fixed":!0,"lock":!0,"opacity":.2,"content":content,"ok":!0,"close":callback})},artDialog.success=function(content,callback){return artDialog.alert(content,callback,"succeed")},artDialog.confirm=function(content,yes,no,okVal){content={"id":"Confirm","className":"dialog-confirm-box","zIndex":_zIndex(),"zIndexMax":!0,"icon":"question","fixed":!0,"left":"50%","top":"50%","padding":"30px 20px","lock":!0,"opacity":.2,"content":content,"ok":function(here){return yes.call(this,here)},"cancel":function(here){if(!1!==no)return no&&no.call(this,here)}};return okVal&&(content.okVal=okVal,content.className+=" confirm-warning"),_proxyDialog(content)},artDialog.prompt=function(content,yes,value){var input;return _proxyDialog({"id":"Prompt","zIndex":_zIndex(),"zIndexMax":!0,"icon":"question","className":"dialog-prompt-box","fixed":!0,"padding":"30px 35px","left":"50%","top":"35%","lock":!0,"opacity":.15,"content":[\'
\',content,"
",\'
\',\'\',"
"].join(""),"init":function(){(input=this.DOM.content.find("input")[0]).select(),input.focus()},"ok":function(here){return yes&&yes.call(this,input.value,here)},"cancel":!0})},artDialog.tips=function(content,time){return _proxyDialog({"id":"Tips","zIndex":_zIndex(),"zIndexMax":!0,"title":!1,"padding":20,"cancel":!1,"fixed":!0,"lock":!1}).content(\'
\'+content+"
").time(time||1.5)},$(function(){var dragEvent,mask,style,event=artDialog.dragEvent;event&&($(window),$(document),dragEvent=event.prototype,mask=document.createElement("div"),(style=mask.style).cssText="display:none;position:fixed;left:0;top:0;width:100%;height:100%;cursor:move;filter:alpha(opacity=0);opacity:0;background:#FFF",document.body.appendChild(mask),dragEvent._start=dragEvent.start,dragEvent._end=dragEvent.end,dragEvent.start=function(e){var cursor=$(e.target).css("cursor"),cursor=($(mask).css({"cursor":cursor}),artDialog.focus.DOM);cursor.main[0],cursor.content[0].getElementsByTagName("iframe")[0];dragEvent._start.apply(this,arguments),style.display="block",style.zIndex=artDialog.defaults.zIndex+3},dragEvent.end=function(){artDialog.focus;dragEvent._end.apply(this,arguments),style.display="none"})})}(this.art||this.jQuery,this,this.artDialog),$.artDialog.confirm2=function(content,yes,no,okVal){var numbers=[roundFromTo(1,20),roundFromTo(1,20)],value=numbers[0]+numbers[1],text=window.LNG&&window.LNG["common.confirmTips"]||"危险操作,请确认",numbers=\'\\t\\t
\'+text+": "+(numbers[0]+"+"+numbers[1]+"=")+\'
\',dialog=$.artDialog.confirm(content,function(){return $input.val()!=value?($input.val("").focus(),Tips.tips(text,"warning"),!1):yes()},no,okVal),content=($(numbers).insertAfter(dialog.$main.find(".aui-main").parent()),dialog.$main),$ok=content.find(".aui-state-highlight"),$input=content.find(".confirm-tips input"),no=(content.addClass("dialog-confirm2"),function(){$input.focus()});return no(),setTimeout(no,50),setTimeout(no,500),$input.bind("change keyup",function(e){}),$input.bind("keyup",function(e){"Enter"==e.key&&$ok.trigger("click"),"Escape"==e.key&&dialog.close()}),dialog};'},"689":function(e,t,a){e.exports=a(690)},"690":function(e,t,a){"use strict";window["kodApi"]={"STATIC_PATH":"./","API_URL":"./"},window.kodSdkConfig&&(kodApi.STATIC_PATH=kodSdkConfig.cdn||kodSdkConfig.api+"static/"||kodApi.STATIC_PATH,kodApi.API_URL=kodSdkConfig.api||kodApi.API_URL),a(124),a(691),a(693),a(695),a(125),a(126),a(127),a(128),a(129),a(130),a(131),a(132),a(697),a(113),window.requireAsync=seajs.use,function(e){$.dialog&&($.dialog.defaults.path=kodApi.STATIC_PATH+"app/vender/artDialog-icon/"),requireAsync([kodApi.STATIC_PATH+"style/dist/sdk.css"],e)}()},"691":function(e,t,a){"use strict";a(11)(a(692))},"692":function(e,t){e.exports='var time=function(){var theTime=(new Date).valueOf();return parseInt(theTime/1e3)},UUID=function(){return"uuid_"+time()+"_"+Math.ceil(1e4*Math.random())},jsonDecode=function(str){try{return JSON.parse(str)}catch(e){return null}},jsonEncode=function(obj){try{return JSON.stringify(obj)}catch(e){return null}},urlEncode=function(str){try{return encodeURIComponent(str)}catch(e){return str}},urlDecode=function(str){try{return decodeURIComponent(str)}catch(e){return str}},isDom=function(item){return"function"==typeof HTMLElement?item instanceof HTMLElement:item&&"object"==typeof item&&1===item.nodeType&&"string"==typeof item.nodeName},htmlEncode=function(str,notSpace){return str&&0!=str.length?str.replace(/&/g,"&").replace(//g,">").replace(/ /g," ").replace(/\\\'/g,"'").replace(/\\"/g,"""):""},htmlDecode=function(str){return str&&0!=str.length?str.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/ /g," ").replace(/'/g,"\'").replace(/"/g,\'"\').replace(/ /g," "):""},stopPP=function(e){return(e=e||window.event)&&(e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),e.originalEvent&&e.originalEvent.preventDefault&&e.originalEvent.preventDefault(),e.cancelBubble=!0,e.keyCode=0,e.returnValue=!1),!1},Base64={"encode":function(stringToEncode){var encodeUTF8string=function(str){return encodeURIComponent(str).replace(/%([0-9A-F]{2})/g,function(match,p1){return String.fromCharCode("0x"+p1)})};if("undefined"!=typeof window.btoa)return window.btoa(encodeUTF8string(stringToEncode));var h2,h3,h4,bits,b64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i=0,ac=0,enc="",tmpArr=[];if(!stringToEncode)return stringToEncode;for(stringToEncode=encodeUTF8string(stringToEncode);h2=(bits=stringToEncode.charCodeAt(i++)<<16|stringToEncode.charCodeAt(i++)<<8|stringToEncode.charCodeAt(i++))>>12&63,h3=bits>>6&63,h4=63&bits,tmpArr[ac++]=b64.charAt(bits>>18&63)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4),i>16&255,o2=bits>>8&255,bits=255&bits,tmpArr[ac++]=64===h3?String.fromCharCode(o1):64===h4?String.fromCharCode(o1,o2):String.fromCharCode(o1,o2,bits),i>2))+base64EncodeChars.charAt((3&c1)<<4)+"==";break}if(c2=str.charCodeAt(i++),i==len){out=(out=(out+=base64EncodeChars.charAt(c1>>2))+base64EncodeChars.charAt((3&c1)<<4|(240&c2)>>4))+base64EncodeChars.charAt((15&c2)<<2)+"=";break}c3=str.charCodeAt(i++),out=(out=(out=(out+=base64EncodeChars.charAt(c1>>2))+base64EncodeChars.charAt((3&c1)<<4|(240&c2)>>4))+base64EncodeChars.charAt((15&c2)<<2|(192&c3)>>6))+base64EncodeChars.charAt(63&c3)}return out},"decode":function(str){for(var c1,c2,c3,c4,base64DecodeChars=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1),len=str.length,i=0,out="";i>4);do{if(61==(c3=255&str.charCodeAt(i++)))return out}while(c3=base64DecodeChars[c3],i>2);do{if(61==(c4=255&str.charCodeAt(i++)))return out}while(c4=base64DecodeChars[c4],i