web/static-dist/libs/autocomplete.js
(开头部分) 25KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
!function(t){function e(n){if(o[n])return o[n].exports;var i=o[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var o={};return e.m=t,e.c=o,e.p="/static-dist/",e(0)}({f28e8f7804389cec7d22:function(t,e,o){e=t.exports=o("e7f1add7f34e416618de")(),e.push([t.id,".xdsoft_autocomplete{display:inline;position:relative;word-spacing:normal;text-transform:none;text-indent:0;text-shadow:none;text-align:start}.xdsoft_autocomplete .xdsoft_input{position:relative;z-index:2}.xdsoft_autocomplete .xdsoft_autocomplete_dropdown{position:absolute;border:1px solid #ccc;border-top-color:#d9d9d9;box-shadow:0 2px 4px rgba(0,0,0,.2);-webkit-box-shadow:0 2px 4px rgba(0,0,0,.2);cursor:default;display:none;z-index:1001;margin-top:-1px;background-color:#fff;min-width:100%;overflow:auto;border-radius:4px}.xdsoft_autocomplete .xdsoft_autocomplete_hint{position:absolute;z-index:1;color:#ccc!important;-webkit-text-fill-color:#ccc!important;text-fill-color:#ccc!important;overflow:hidden!important;white-space:pre!important}.xdsoft_autocomplete .xdsoft_autocomplete_hint span{color:transparent;opacity:0}.xdsoft_autocomplete .xdsoft_autocomplete_dropdown>.xdsoft_autocomplete_copyright{color:#ddd;font-size:10px;text-decoration:none;right:5px;position:absolute;margin-top:-15px;z-index:1002}.xdsoft_autocomplete .xdsoft_autocomplete_dropdown>div{background:#fff;white-space:nowrap;cursor:pointer;line-height:1.5em;padding:2px 0}.xdsoft_autocomplete .xdsoft_autocomplete_dropdown>div.active{background:#616161;color:#fff}",""])},e7f1add7f34e416618de:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var o=this[e];o[2]?t.push("@media "+o[2]+"{"+o[1]+"}"):t.push(o[1])}return t.join("")},t.i=function(e,o){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},i=0;i<this.length;i++){var r=this[i][0];"number"==typeof r&&(n[r]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&n[a[0]]||(o&&!a[2]?a[2]=o:o&&(a[2]="("+a[2]+") and ("+o+")"),t.push(a))}},t}},"856ca10075d492a4b751":function(t,e,o){"use strict";o("a04e6da7d5c6ef6996f6"),o("f28e8f7804389cec7d21")},a04e6da7d5c6ef6996f6:function(t,e){"use strict";!function(t){function e(t){if(!t)return"";var e,o="";for(e=0;e<t.length;e+=1)o+=B[t.charAt(e)]||t.charAt(e);return o}function o(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function n(t){if(t){if(t.selectionStart)return t.selectionStart;if(document.selection){t.focus();var e=document.selection.createRange(),o=document.selection.createRange().text.length;return e.moveStart("character",-t.value.length),e.text.length-o}}}function i(t,e){if(t.setSelectionRange)t.focus(),t.setSelectionRange(e,e);else if(t.createTextRange){var o=t.createTextRange();o.collapse(!0),o.moveEnd("character",e),o.moveStart("character",e),o.select()}}function r(t){return void 0!==t}function a(e,o,n,i){return r(e)&&!t.isArray(e)?t.isFunction(e)?e.apply(this,o):i:r(n)?a.call(this,n,o):i}function s(t,e,o,n){var i;return a.call(this,r(this.source[e])&&Object.prototype.hasOwnProperty.call(this.source[e],t)?this.source[e][t]:i,o,function(){return a.call(this,r(this[t][e])?this[t][e]:r(this[t][0])?this[t][0]:Object.prototype.hasOwnProperty.call(this,t)?this[t]:i,o,A[t][e]||A[t][0]||A[t],n)},n)}function c(e,o){return r(o)||(o=0),t.isArray(this.source)&&r(this.source[o])&&r(this.source[o][e])?this.source[o][e]:r(this[e])?t.isArray(this[e])?r(this[e][o])?this[e][o]:r(this[e][0])?this[e][0]:null:this[e]:null}function l(e,o,n,i){o.xhr&&o.xhr.abort(),o.xhr=t.ajax(t.extend(!0,{url:e,type:"GET",async:!0,cache:!1,dataType:"json"},o.ajax)).done(function(e){n&&n.apply(this,t.makeArray(arguments))}).fail(function(t,e){})}function u(t,e){var o,n=!1;for(o=0;o<t.length;o+=1)if(n=s.call(this,"findRight",o,[t[o],e,o]))return{right:n,source:o};return!1}function d(t,e){var o;for(p.call(this,t,e),o=0;o<t.length;o+=1)t[o]=s.call(this,"filter",o,[t[o],e,o],t[o])}function f(e,o,n){var i,c=this;if(t.isFunction(c.source))c.source.apply(c,[e,function(t){o=[t],a.call(c,n,[e])},o,0]);else for(i=0;i<c.source.length;i+=1)if(t.isArray(c.source[i]))o[i]=c.source[i];else if(t.isFunction(c.source[i]))!function(i){c.source[i].apply(c,[e,function(r){if(o[i]||(o[i]=[]),r&&t.isArray(r))switch(c.appendMethod){case"replace":o[i]=r;break;default:o[i]=o[i].concat(r)}a.call(c,n,[e])},o,i])}(i);else switch(c.source[i].type){case"remote":if(r(c.source[i].url)&&(!r(c.source[i].minLength)||e.length>=c.source[i].minLength)){var u=s.call(c,"replace",i,[c.source[i].url,e],"");o[i]||(o[i]=[]),function(t){l(u,c.source[t],function(i){o[t]=i,a.call(c,n,[e])},c.debug)}(i)}break;default:r(c.source[i].data)?o[i]=c.source[i].data:o[i]=c.source[i]}a.call(c,n,[e])}function p(t,e){for(var o=0;o<t.length;o++)t[o]=s.call(this,"preparse",o,[t[o],e],t[o])}function h(e,o){var n,i,r,a=[];for(n=0;n<e.length;n+=1)for(i=0;i<e[n].length&&!(a.length>=this.limit);i+=1)r=t(s.call(this,"render",n,[e[n][i],n,i,o],"")),r.data("source",n),r.data("pid",i),r.data("item",e[n][i]),a.push(r);return a}function g(t,e){return!!(r(t.data("source"))&&r(t.data("pid"))&&r(e[t.data("source")])&&r(e[t.data("source")][t.data("pid")]))&&e[t.data("source")][t.data("pid")]}function v(t,e){var o=g(t,e);return o?s.call(this,"getValue",t.data("source"),[o,t.data("source")]):r(t.data("value"))?decodeURIComponent(t.data("value")):t.html()}function m(e,o){function a(){if(A.val()!=E)return E=A.val(),E.length<o.minLength?void A.trigger("close.xdsoft"):void f.call(o,E,B,function(t){if(t==E){var e;if(d.call(o,B,t),A.trigger("updateContent.xdsoft"),o.showHint&&E.length&&E.length<=A.prop("size")&&(e=u.call(o,B,E))){var n=s.call(o,"getTitle",e.source,[e.right,e.source]);n=t+n.substr(t.length),m.val(n)}else m.val("")}})}function c(t){var e,i=t.keyCode;switch(i){case L:case j:case T:case H:case W:if(t.shiftKey||t.ctrlKey)return!0;break;case R:case S:return!0;case b:case y:return!!(O||P||t.shiftKey||t.ctrlKey)||(I=A.val(),M=n(A[0]),i!==b||M!==I.length||((e=u.call(o,B,I))?A.trigger("pick.xdsoft",[s.call(o,"getValue",e.source,[e.right,e.source])]):A.trigger("pick.xdsoft"),t.preventDefault(),!1));case k:return!0;case z:return!F||(A.trigger("pick.xdsoft"),t.preventDefault(),!1);case _:return A.val(E).trigger("close.xdsoft"),t.preventDefault(),!1;case C:case w:if(!F)return A.trigger("open.xdsoft"),A.trigger("updateContent.xdsoft"),t.preventDefault(),!1;N=p.find("div.active");var r=i==C?"next":"prev",a=!0;return N.length?(N.removeClass("active"),N[r]().length?N[r]().addClass("active"):(A.val(E),a=!1)):p.children().eq(i==C?0:-1).addClass("active"),a&&A.trigger("timepick.xdsoft"),p.trigger("updatescroll.xdsoft"),t.preventDefault(),!1}}if(!t(e).hasClass("xdsoft_input")){var l=t('<div class="xdsoft_autocomplete"></div>'),p=t('<div class="xdsoft_autocomplete_dropdown"></div>'),m=t('<input readonly class="xdsoft_autocomplete_hint"/>'),A=t(e),U=0,B=[],F=!1,I="",E="",K="",N=null,M=0;A.data("autocomplete_options",o),p.on("mousedown",function(t){t.preventDefault(),t.stopPropagation()}).on("updatescroll.xdsoft",function(){var t=p.find(".active");if(t.length){var e=t.position().top,o=t.outerHeight(!0),n=p.scrollTop(),i=p.height();e<0?p.scrollTop(n-Math.abs(e)):e+o>i&&p.scrollTop(n+e+o-i)}}),l.css({display:A.css("display"),width:A.css("width")}),o.style&&l.css(o.style),A.addClass("xdsoft_input").attr("autocomplete","off"),p.on("mousemove","div",function(){return!!t(this).hasClass("active")||(p.find("div").removeClass("active"),void t(this).addClass("active"))}).on("mousedown touchstart","div",function(){p.find("div").removeClass("active"),t(this).addClass("active"),A.trigger("pick.xdsoft")}),A.data("xdsoft_autocomplete",B).after(l).on("pick.xdsoft",function(t,e){A.trigger("timepick.xdsoft",e),K=E=A.val(),A.trigger("close.xdsoft"),N=p.find("div.active").eq(0),N.length||(N=p.children().first()),A.trigger("selected.xdsoft",[g(N,B)])}).on("timepick.xdsoft",function(t,e){N=p.find("div.active"),N.length||(N=p.children().first()),N.length&&(r(e)?A.val(e):A.val(v.call(o,N,B)),A.trigger("autocompleted.xdsoft",[g(N,B)]),m.val(""),i(A[0],A.val().length))}).on("keydown.xdsoft input.xdsoft cut.xdsoft paste.xdsoft",function(t){var e=c(t);return e===!1||e===!0?e:(setTimeout(function(){a()},1),void a())}).on("change.xdsoft",function(t){E=A.val()}),E=A.val(),f.call(o,A.val(),B,function(t){d.call(o,B,t)}),o.openOnFocus&&A.on("focusin.xdsoft",function(){A.trigger("open.xdsoft"),A.trigger("updateContent.xdsoft")}),o.closeOnBlur&&A.on("focusout.xdsoft",function(){A.trigger("close.xdsoft")}),l.append(A).append(p);var V=!1,q=0;A.on("updateHelperPosition.xdsoft",function(){clearTimeout(q),q=setTimeout(function(){if(l.css({display:A.css("display"),width:A.css("width")}),p.css(t.extend(!0,{left:A.position().left,top:A.position().top+parseInt(A.css("marginTop"))+parseInt(A[0].offsetHeight),marginLeft:A.css("marginLeft"),marginRight:A.css("marginRight"),width:"100%"==o.dropdownWidth?A[0].offsetWidth:o.dropdownWidth},o.dropdownStyle)),o.showHint){var e=getComputedStyle(A[0],"");m[0].style.cssText=e.cssText,m.css({"box-sizing":e.boxSizing,borderStyle:"solid",borderCollapse:e.borderCollapse,borderLeftWidth:e.borderLeftWidth,borderRightWidth:e.borderRightWidth,borderTopWidth:e.borderTopWidth,borderBottomWidth:e.borderBottomWidth,paddingBottom:e.paddingBottom,marginBottom:e.marginBottom,paddingTop:e.paddingTop,marginTop:e.marginTop,paddingLeft:e.paddingLeft,marginLeft:e.marginLeft,paddingRight:e.paddingRight,marginRight:e.marginRight,maxHeight:e.maxHeight,minHeight:e.minHeight,maxWidth:e.maxWidth,minWidth:e.minWidth,width:e.width,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight,outlineWidth:e.outlineWidth,fontFamily:e.fontFamily,fontVariant:e.fontVariant,fontStyle:A.css("fontStyle"),fontSize:A.css("fontSize"),fontWeight:A.css("fontWeight"),flex:e.flex,justifyContent:e.justifyContent,borderRadius:e.borderRadius,"-webkit-box-shadow":"none","box-shadow":"none"}),A.css("font-size",A.css("fontSize")),m.innerHeight(A.innerHeight()),m.css(t.extend(!0,{position:"absolute",zIndex:"1",borderColor:"transparent",outlineColor:"transparent",left:A.position().left,top:A.position().top,background:A.css("background")},o.hintStyle)),V!==!1?m.css("background",V):V=A.css("background");try{A[0].style.setProperty("background","transparent","important")}catch(t){A.css("background","transparent")}l.append(m)}},o.timeoutUpdate||1)}),A.is(":visible")?A.trigger("updateHelperPosition.xdsoft"):x=setInterval(function(){A.is(":visible")&&(A.trigger("updateHelperPosition.xdsoft"),clearInterval(x))},100),t(window).on("resize",function(){l.css({width:"auto"}),A.trigger("updateHelperPosition.xdsoft")}),A.on("close.xdsoft",function(){F&&(p.hide(),m.val(""),o.autoselect||A.val(E),F=!1)}).on("updateContent.xdsoft",function(){var e=h.call(o,B,A.val()),n=10;return e.length?(A.trigger("open.xdsoft"),t(e).each(function(){this.css(t.extend(!0,{paddingLeft:A.css("paddingLeft"),paddingRight:A.css("paddingRight")},o.itemStyle))}),p.html(e),n=o.visibleHeight?o.visibleHeight:o.visibleLimit*((e[0]?e[0].outerHeight(!0):0)||o.defaultHeightItem)+5,void p.css("maxHeight",n+"px")):void A.trigger("close.xdsoft")}).on("open.xdsoft",function(){F||(p.show(),F=!0)}).on("destroy.xdsoft",function(){A.removeClass("xdsoft"),l.after(A),l.remove(),clearTimeout(U),A.data("xdsoft_autocomplete",null),A.off(".xdsoft")})}}var x,y=37,b=39,w=38,C=40,k=9,S=17,R=16,z=13,_=27,L=65,j=67,T=86,H=90,W=89,A={},O=!1,P=!1,U={},B={"ẚ":"a","Á":"a","á":"a","À":"a","à":"a","Ă":"a","ă":"a","Ắ":"a","ắ":"a","Ằ":"a","ằ":"a","Ẵ":"a","ẵ":"a","Ẳ":"a","Ẫ":"a","ẫ":"a","Ẩ":"a","ẩ":"a","Ǎ":"a","ǎ":"a","Å":"a","å":"a","Ǻ":"a","ǻ":"a","Ä":"a","ä":"a","Ǟ":"a","ǟ":"a","Ã":"a","ã":"a","Ȧ":"a","ȧ":"a","Ǡ":"a","ǡ":"a","Ą":"a","ą":"a","Ā":"a","ā":"a","Ả":"a","ả":"a","Ȁ":"a","ȁ":"a","Ȃ":"a","ȃ":"a","Ạ":"a","ạ":"a","Ặ":"a","ặ":"a","Ậ":"a","ậ":"a","Ḁ":"a","ḁ":"a","Ⱥ":"a","ⱥ":"a","Ǽ":"a","ǽ":"a","Ǣ":"a","ǣ":"a","Ḃ":"b","ḃ":"b","Ḅ":"b","ḅ":"b","Ḇ":"b","ḇ":"b","Ƀ":"b","ƀ":"b","ᵬ":"b","Ɓ":"b","ɓ":"b","Ƃ":"b","ƃ":"b","Ć":"c","ć":"c","Ĉ":"c","ĉ":"c","Č":"c","č":"c","Ċ":"c","ċ":"c","Ç":"c","ç":"c","Ḉ":"c","ḉ":"c","Ȼ":"c","ȼ":"c","Ƈ":"c","ƈ":"c","ɕ":"c","Ď":"d","ď":"d","Ḋ":"d","ḋ":"d","Ḑ":"d","ḑ":"d","Ḍ":"d","ḍ":"d","Ḓ":"d","ḓ":"d","Ḏ":"d","ḏ":"d","Đ":"d","đ":"d","ᵭ":"d","Ɖ":"d","ɖ":"d","Ɗ":"d","ɗ":"d","Ƌ":"d","ƌ":"d","ȡ":"d","ð":"d","É":"e","Ə":"e","Ǝ":"e","ǝ":"e","é":"e","È":"e","è":"e","Ĕ":"e","ĕ":"e","Ê":"e","ê":"e","Ế":"e","ế":"e","Ề":"e","ề":"e","Ễ":"e","ễ":"e","Ể":"e","ể":"e","Ě":"e","ě":"e","Ë":"e","ë":"e","Ẽ":"e","ẽ":"e","Ė":"e","ė":"e","Ȩ":"e","ȩ":"e","Ḝ":"e","ḝ":"e","Ę":"e","ę":"e","Ē":"e","ē":"e","Ḗ":"e","ḗ":"e","Ḕ":"e","ḕ":"e","Ẻ":"e","ẻ":"e","Ȅ":"e","ȅ":"e","Ȇ":"e","ȇ":"e","Ẹ":"e","ẹ":"e","Ệ":"e","ệ":"e","Ḙ":"e","ḙ":"e","Ḛ":"e","ḛ":"e","Ɇ":"e","ɇ":"e","ɚ":"e","ɝ":"e","Ḟ":"f","ḟ":"f","ᵮ":"f","Ƒ":"f","ƒ":"f","Ǵ":"g","ǵ":"g","Ğ":"g","ğ":"g","Ĝ":"g","ĝ":"g","Ǧ":"g","ǧ":"g","Ġ":"g","ġ":"g","Ģ":"g","ģ":"g","Ḡ":"g","ḡ":"g","Ǥ":"g","ǥ":"g","Ɠ":"g","ɠ":"g","Ĥ":"h","ĥ":"h","Ȟ":"h","ȟ":"h","Ḧ":"h","ḧ":"h","Ḣ":"h","ḣ":"h","Ḩ":"h","ḩ":"h","Ḥ":"h","ḥ":"h","Ḫ":"h","ḫ":"h",H:"h","̱":"h","ẖ":"h","Ħ":"h","ħ":"h","Ⱨ":"h","ⱨ":"h","Í":"i","í":"i","Ì":"i","ì":"i","Ĭ":"i","ĭ":"i","Î":"i","î":"i","Ǐ":"i","ǐ":"i","Ï":"i","ï":"i","Ḯ":"i","ḯ":"i","Ĩ":"i","ĩ":"i","İ":"i",i:"i","Į":"i","į":"i","Ī":"i","ī":"i","Ỉ":"i","ỉ":"i","Ȉ":"i","ȉ":"i","Ȋ":"i","ȋ":"i","Ị":"i","ị":"i","Ḭ":"i","ḭ":"i",I:"i","ı":"i","Ɨ":"i","ɨ":"i","Ĵ":"j","ĵ":"j",J:"j","̌":"j","ǰ":"j","ȷ":"j","Ɉ":"j","ɉ":"j","ʝ":"j","ɟ":"j","ʄ":"j","Ḱ":"k","ḱ":"k","Ǩ":"k","ǩ":"k","Ķ":"k","ķ":"k","Ḳ":"k","ḳ":"k","Ḵ":"k","ḵ":"k","Ƙ":"k","ƙ":"k","Ⱪ":"k","ⱪ":"k","Ĺ":"a","ĺ":"l","Ľ":"l","ľ":"l","Ļ":"l","ļ":"l","Ḷ":"l","ḷ":"l","Ḹ":"l","ḹ":"l","Ḽ":"l","ḽ":"l","Ḻ":"l","ḻ":"l","Ł":"l","ł":"l","̣":"l","Ŀ":"l","ŀ":"l","Ƚ":"l","ƚ":"l","Ⱡ":"l","ⱡ":"l","Ɫ":"l","ɫ":"l","ɬ":"l","ɭ":"l","ȴ":"l","Ḿ":"m","ḿ":"m","Ṁ":"m","ṁ":"m","Ṃ":"m","ṃ":"m","ɱ":"m","Ń":"n","ń":"n","Ǹ":"n","ǹ":"n","Ň":"n","ň":"n","Ñ":"n","ñ":"n","Ṅ":"n","ṅ":"n","Ņ":"n","ņ":"n","Ṇ":"n","ṇ":"n","Ṋ":"n","ṋ":"n","Ṉ":"n","ṉ":"n","Ɲ":"n","ɲ":"n","Ƞ":"n","ƞ":"n","ɳ":"n","ȵ":"n",N:"n","̈":"n",n:"n","Ó":"o","ó":"o","Ò":"o","ò":"o","Ŏ":"o","ŏ":"o","Ô":"o","ô":"o","Ố":"o","ố":"o","Ồ":"o","ồ":"o","Ỗ":"o","ỗ":"o","Ổ":"o","ổ":"o","Ǒ":"o","ǒ":"o","Ö":"o","ö":"o","Ȫ":"o","ȫ":"o","Ő":"o","ő":"o","Õ":"o","õ":"o","Ṍ":"o","ṍ":"o","Ṏ":"o","ṏ":"o","Ȭ":"o","ȭ":"o","Ȯ":"o","ȯ":"o","Ȱ":"o","ȱ":"o","Ø":"o","ø":"o","Ǿ":"o","ǿ":"o","Ǫ":"o","ǫ":"o","Ǭ":"o","ǭ":"o","Ō":"o","ō":"o","Ṓ":"o","ṓ":"o","Ṑ":"o","ṑ":"o","Ỏ":"o","ỏ":"o","Ȍ":"o","ȍ":"o","Ȏ":"o","ȏ":"o","Ơ":"o","ơ":"o","Ớ":"o","ớ":"o","Ờ":"o","ờ":"o","Ỡ":"o","ỡ":"o","Ở":"o","ở":"o","Ợ":"o","ợ":"o","Ọ":"o","ọ":"o","Ộ":"o","ộ":"o","Ɵ":"o","ɵ":"o","Ṕ":"p","ṕ":"p","Ṗ":"p","ṗ":"p","Ᵽ":"p","Ƥ":"p","ƥ":"p",P:"p","̃":"p",p:"p","ʠ":"q","Ɋ":"q","ɋ":"q","Ŕ":"r","ŕ":"r","Ř":"r","ř":"r","Ṙ":"r","ṙ":"r","Ŗ":"r","ŗ":"r","Ȑ":"r","ȑ":"r","Ȓ":"r","ȓ":"r","Ṛ":"r","ṛ":"r","Ṝ":"r","ṝ":"r","Ṟ":"r","ṟ":"r","Ɍ":"r","ɍ":"r","ᵲ":"r","ɼ":"r","Ɽ":"r","ɽ":"r","ɾ":"r","ᵳ":"r","ß":"s","Ś":"s","ś":"s","Ṥ":"s","ṥ":"s","Ŝ":"s","ŝ":"s","Š":"s","š":"s","Ṧ":"s","ṧ":"s","Ṡ":"s","ṡ":"s","ẛ":"s","Ş":"s","ş":"s","Ṣ":"s","ṣ":"s","Ṩ":"s","ṩ":"s","Ș":"s","ș":"s","ʂ":"s",S:"s","̩":"s",s:"s","Þ":"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","Ú":"u","ú":"u","Ù":"u","ù":"u","Ŭ":"u","ŭ":"u","Û":"u","û":"u","Ǔ":"u","ǔ":"u","Ů":"u","ů":"u","Ü":"u","ü":"u","Ǘ":"u","ǘ":"u","Ǜ":"u","ǜ":"u","Ǚ":"u","ǚ":"u","Ǖ":"u","ǖ":"u","Ű":"u","ű":"u","Ũ":"u","ũ":"u","Ṹ":"u","ṹ":"u","Ų":"u","ų":"u","Ū":"u","ū":"u","Ṻ":"u","ṻ":"u","Ủ":"u","ủ":"u","Ȕ":"u","ȕ":"u","Ȗ":"u","ȗ":"u","Ư":"u","ư":"u","Ứ":"u","ứ":"u","Ừ":"u","ừ":"u","Ữ":"u","ữ":"u","Ử":"u","ử":"u","Ự":"u","ự":"u","Ụ":"u","ụ":"u","Ṳ":"u","ṳ":"u","Ṷ":"u","ṷ":"u","Ṵ":"u","ṵ":"u","Ʉ":"u","ʉ":"u","Ṽ":"v","ṽ":"v","Ṿ":"v","ṿ":"v","Ʋ":"v","ʋ":"v","Ẃ":"w","ẃ":"w","Ẁ":"w","ẁ":"w","Ŵ":"w","ŵ":"w",W:"w","̊":"w","ẘ":"w","Ẅ":"w","ẅ":"w","Ẇ":"w","ẇ":"w","Ẉ":"w","ẉ":"w","Ẍ":"x","ẍ":"x","Ẋ":"x","ẋ":"x","Ý":"y","ý":"y","Ỳ":"y","ỳ":"y","Ŷ":"y","ŷ":"y",Y:"y","ẙ":"y","Ÿ":"y","ÿ":"y","Ỹ":"y","ỹ":"y","Ẏ":"y","ẏ":"y","Ȳ":"y","ȳ":"y","Ỷ":"y","ỷ":"y","Ỵ":"y","ỵ":"y","ʏ":"y","Ɏ":"y","ɏ":"y","Ƴ":"y","ƴ":"y","Ź":"z","ź":"z","Ẑ":"z","ẑ":"z","Ž":"z","ž":"z","Ż":"z","ż":"z","Ẓ":"z","ẓ":"z","Ẕ":"z","ẕ":"z","Ƶ":"z","ƶ":"z","Ȥ":"z","ȥ":"z","ʐ":"z","ʑ":"z","Ⱬ":"z","ⱬ":"z","Ǯ":"z","ǯ":"z","ƺ":"z","2":"2","6":"6","B":"B","F":"F","J":"J","N":"N","R":"R","V":"V","Z":"Z","b":"b","f":"f","j":"j","n":"n","r":"r","v":"v","z":"z","1":"1","5":"5","9":"9","A":"A","E":"E","I":"I","M":"M","Q":"Q","U":"U","Y":"Y","a":"a","e":"e","i":"i","m":"m","q":"q","u":"u","y":"y","0":"0","4":"4","8":"8","D":"D","H":"H","L":"L","P":"P","T":"T","X":"X","d":"d","h":"h","l":"l","p":"p","t":"t","x":"x","3":"3","7":"7","C":"C","G":"G","K":"K","O":"O","S":"S","W":"W","c":"c","g":"g","k":"k","o":"o","s":"s","w":"w","ẳ":"a","Â":"a","â":"a","Ấ":"a","ấ":"a","Ầ":"a","ầ":"a"};void 0===window.getComputedStyle&&(window.getComputedStyle=function(){function t(e,o,n,i){var r,a=o[n],s=parseFloat(a),c=a.split(/\d/)[0];return i=null!==i?i:/%|em/.test(c)&&e.parentElement?t(e.parentElement,e.parentElement.currentStyle,"fontSize",null):16,r="fontSize"===n?i:/width/i.test(n)?e.clientWidth:e.clientHeight,"em"===c?s*i:"in"===c?96*s:"pt"===c?96*s/72:"%"===c?s/100*r:s}function e(t,e){var o="border"===e?"Width":"",n=e+"Top"+o,i=e+"Right"+o,r=e+"Bottom"+o,a=e+"Left"+o;t[e]=(t[n]===t[i]===t[r]===t[a]?[t[n]]:t[n]===t[r]&&t[a]===t[i]?[t[n],t[i]]:t[a]===t[i]?[t[n],t[i],t[r]]:[t[n],t[i],t[r],t[a]]).join(" ")}function o(o){var n,i=o.currentStyle,r=this,a=t(o,i,"fontSize",null);for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(/width|height|margin.|padding.|border.+W/.test(n)&&"auto"!==r[n]?r[n]=t(o,i,n,a)+"px":"styleFloat"===n?r.float=i[n]:r[n]=i[n]);return e(r,"margin"),e(r,"padding"),e(r,"border"),r.fontSize=a+"px",r}function n(t){return new o(t)}return o.prototype={constructor:o,getPropertyPriority:function(){},getPropertyValue:function(t){return this[t]||""},item:function(){},removeProperty:function(){},setProperty:function(){},getPropertyCSSValue:function(){}},n}(this)),t(document).on("keydown.xdsoftctrl",function(t){t.keyCode===S&&(O=!0),t.keyCode===R&&(O=!0)}).on("keyup.xdsoftctrl",function(t){t.keyCode===S&&(O=!1),t.keyCode===R&&(O=!1)}),A={minLength:0,valueKey:"value",titleKey:"title",highlight:!0,showHint:!0,dropdownWidth:"100%",dropdownStyle:{},itemStyle:{},hintStyle:!1,style:!1,debug:!0,openOnFocus:!1,closeOnBlur:!0,autoselect:!1,accents:!0,replaceAccentsForRemote:!0,limit:20,visibleLimit:20,visibleHeight:0,defaultHeightItem:30,timeoutUpdate:10,get:function(t,e){return c.call(this,t,e)},replace:[function(t,o){return this.replaceAccentsForRemote&&(o=e(o)),t.replace("%QUERY%",encodeURIComponent(o))}],equal:function(t,e){return e.toLowerCase()==t.substr(0,e.length).toLowerCase()},findRight:[function(t,e,o){var n,i="";if(t)for(n=0;n<t.length;n+=1)if(i=s.call(this,"getValue",o,[t[n],o]),s.call(this,"equal",o,[i,e,o],!1))return t[n];return!1}],valid:[function(t,o){return this.accents&&(t=e(t),o=e(o)),t.toLowerCase().indexOf(o.toLowerCase())!=-1}],filter:[function(t,e,o){var n,i=[],a="";if(t)for(n=0;n<t.length;n+=1)a=r(t[n][this.get("valueKey",o)])?t[n][this.get("valueKey",o)]:t[n].toString(),s.call(this,"valid",o,[a,e])&&i.push(t[n]);return i}],preparse:function(t){return t},getValue:[function(t,e){return r(t[this.get("valueKey",e)])?t[this.get("valueKey",e)]:t.toString()}],getTitle:[function(t,e){return r(t[this.get("titleKey",e)])?t[this.get("titleKey",e)]:t.toString()}],render:[function(t,n,i,r){var a,c,l,u=s.call(this,"getValue",n,[t,n],A.getValue[0].call(this,t,n)),d=s.call(this,"getTitle",n,[t,n],A.getTitle[0].call(this,t,n)),f="",p="",h="",g="",v=0;if(this.highlight)if(this.accents){for(p=e(d).toLowerCase().replace(/[<>]+/g,""),f=e(r).toLowerCase().replace(/[<>]+/g,""),h=p.replace(new RegExp(o(f),"g"),"<"+f+">"),l=0;l<h.length;l+=1)a=d.charAt(v),c=h.charAt(l),"<"===c?g+="<b>":">"===c?g+="</b>":(v+=1,g+=a);d=g}else d=d.replace(new RegExp("("+o(r)+")","i"),"<b>$1</b>");return"<div "+(u==r?'class="active"':"")+' data-value="'+encodeURIComponent(u)+'">'+d+"</div>"}],appendMethod:"concat",source:[]},U={destroy:function(){return this.trigger("destroy.xdsoft")},update:function(){return this.trigger("updateHelperPosition.xdsoft")},options:function(e){return this.data("autocomplete_options")&&t.isPlainObject(e)&&this.data("autocomplete_options",t.extend(!0,this.data("autocomplete_options"),e)),this},setSource:function(e,o){if(this.data("autocomplete_options")&&(t.isPlainObject(e)||t.isFunction(e)||t.isArray(e))){var n=this.data("autocomplete_options"),i=this.data("xdsoft_autocomplete"),r=n.source;void 0===o||isNaN(o)?t.isFunction(e)?this.data("autocomplete_options").source=e:t.extend(!0,r,e):t.isPlainObject(e)||t.isArray(e)?r[o]=t.extend(!0,t.isArray(e)?[]:{},e):r[o]=e,f.call(n,this.val(),i,function(t){d.call(n,i,t)})}return this},getSource:function(t){if(this.data("autocomplete_options")){var e=this.data("autocomplete_options").source;return void 0!==t&&!isNaN(t)&&e[t]?e[t]:e}return null}},t.fn.autocomplete=function(e,o,n){return"string"===t.type(e)&&U[e]?U[e].call(this,o,n):this.each(function(){var o=t.extend(!0,{},A,e);m(this,o)})}}(jQuery)},bdf3ee7433c7d244da7e:function(t,e,o){function n(t,e){for(var o=0;o<t.length;o++){var n=t[o],i=p[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(l(n.parts[r],e))}else{for(var a=[],r=0;r<n.parts.length;r++)a.push(l(n.parts[r],e));p[n.id]={id:n.id,refs:1,parts:a}}}}function i(t){for(var e=[],o={},n=0;n<t.length;n++){var i=t[n],r=i[0],a=i[1],s=i[2],c=i[3],l={css:a,media:s,sourceMap:c};o[r]?o[r].parts.push(l):e.push(o[r]={id:r,parts:[l]})}return e}function r(t,e){var o=v(),n=y[y.length-1];if("top"===t.insertAt)n?n.nextSibling?o.insertBefore(e,n.nextSibling):o.appendChild(e):o.insertBefore(e,o.firstChild),y.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");o.appendChild(e)}}function a(t){t.parentNode.removeChild(t);var e=y.indexOf(t);e>=0&&y.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",r(t,e),e}function c(t){var e=document.createElement("link");return e.rel="stylesheet",r(t,e),e}function l(t,e){var o,n,i;if(e.singleton){var r=x++;o=m||(m=s(e)),n=u.bind(null,o,r,!1),i=u.bind(null,o,r,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=c(e),n=f.bind(null,o),i=function(){a(o),o.href&&URL.revokeObjectURL(o.href)}):(o=s(e),n=d.bind(null,o),i=function(){a(o)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else i()}}function u(t,e,o,n){var i=o?"":n.css;if(t.styleSheet)t.styleSheet.cssText=b(e,i);else{var r=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(r,a[e]):t.appendChild(r)}}function d(t,e){var o=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}function f(t,e){var o=e.css,n=e.sourceMap;n&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var i=new Blob([o],{type:"text/css"}),r=t.href;t.href=URL.createObjectURL(i),r&&URL.revokeObjectURL(r)}var p={},h=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},g=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,x=0,y=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=g()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var o=i(t);return n(o,e),function(t){for(var r=[],a=0;a<o.length;a++){var s=o[a],c=p[s.id];c.refs--,r.push(c)}if(t){var l=i(t);n(l,e)}for(var a=0;a<r.length;a++){var c=r[a];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete p[c.id]}}}};var b=function(){var t=[];return function(e,o){return t[e]=o,t.filter(Boolean).join("\n")}}()},f28e8f7804389cec7d21:function(t,e,o){var n=o("f28e8f7804389cec7d22");"string"==typeof n&&(n=[[t.id,n,""]]);o("bdf3ee7433c7d244da7e")(n,{insertAt:"top"});n.locals&&(t.exports=n.locals)},0:function(t,e,o){t.exports=o("856ca10075d492a4b751")}});
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。