const _EC = { Pop:{ "Msg":function(msg,timeout,type,close){ close=close||true; timeout = timeout || 3000; if(Number($('.msg').length) !== 1) { _EC.Pop.Remove(); } let mas_html = ''; switch(type){ case "error": mas_html = '
'; break; case "success": mas_html = '
'; break; case "loading": mas_html = '
'; break; default: mas_html = '
'; } $('body').append(mas_html); $('.msg-box-msg').html(msg); if(close){ setTimeout(_EC.Pop.Remove,timeout); } }, 'Remove':function(){ $('.msg').remove(); } } } const language = { 0:'请登录后查看', 1:'立即登录', 2:'空列表', 3:'分享积分赚钱', 4:'Xem thêm', 5:'Rút ngọn', 6:'您确认购买此条数据访问权限吗?', 7:'暂无角色简介', 8:'角色简介', 9:'角色详情', 10:'封面图', 11:'相关作品', 12:'明星信息获取失败~', 13:'切换成功~', 14:'请先输入关键词!', 15:'该网站不提供查看', 16:'请输入网址及分享说明(您的分享只有站长可见):', 17:'提交分享', 18:'分享网址', 19:'验证码', 20:'详情详情', 21:'音乐地址有时效哦~太长时间后可能无法播放~', 22:'一首巨好听的歌', 23:'分享给你一起听听吧:', 24:'复制内容', 25:'分享音乐', 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:'请输入分享内容!', 52:'数据报错', 53:'举报成功~ 感谢您的支持', 54:'取消回复', 55:'请输入您的评论!', 56:'模块mid错误!', 57:'关联id错误', 58:'请求失败,请重试', 59:'看不清楚? 换一张!', 60:'签到成功,积分+', 61:'收藏成功' } var HTML = { 'Art': function (res, ajaxData) { let list = []; switch (ajaxData.tpl) { case"art_type.html": for (let i = 0; i < res.list.length; i++) { let pd = res.list[i]; let str = '
封面图' + HTML.ArtLevel(pd.art_level) + HTML.ArtPwd(pd.art_pwd) + '
' + pd.art_name + HTML.ArtSub(pd.art_sub) + '
\n
' + HTML.ArtPoints(pd.art_points) + '' + pd['type_name'] + '' + HTML.ArtTag(pd.art_tag, ajaxData.tag) + '
\n
' + HTML.TimeFormat(pd['art_time']) + '' + pd.art_hits + '
'; list.push(str) } break; case"actor_type.html": for (let i = 0; i < res.list.length; i++) { let pd = res.list[i]; let str = '
' + '
' + '' + '' + pd['actor_name'] + '' + '
' + pd['actor_name'] + '
'; list.push(str) } break; case"vod": const ajaxVod = res['ajax']; const vodPic = ajaxVod['vod_pic']; const vodTarget = ajaxVod['vod_target']; const rewrite = res['rewrite']; for (let i = 0; i < res.list.length; i++) { let pd = res.list[i]; let vodPicUrl = HTML.PicIf(pd.vod_pic, pd.vod_pic_thumb, vodPic); let artTypeUrl = HTML.ArtType(rewrite, pd.vod_id, pd.vod_en, ajaxData['url']); let str = ``; list.push(str); } break; } return list }, 'TimeFormat': function (timestamp) { function formatMsgTime(timespan) { let dateTime = parseDate(timespan); let year = dateTime.getFullYear(); let month = dateTime.getMonth() + 1; let day = dateTime.getDate(); let hour = dateTime.getHours(); let minute = dateTime.getMinutes(); minute = minute < 10 ? "0" + minute : minute; let second = dateTime.getSeconds(); let now = new Date(); let milliseconds = 0; let timeSpanStr = ""; milliseconds = now.getTime() - dateTime.getTime(); let when = ""; if (hour < 6) { when = "凌晨 " } else if (hour < 9) { when = "早上 " } else if (hour < 12) { when = "上午 " } else if (hour < 14) { when = "中午 " } else if (hour < 17) { when = "下午 " } else if (hour < 19) { when = "傍晚 " } else if (hour < 22) { when = "晚上 " } else { when = "深夜 " } if (milliseconds <= 1000 * 30 * 1) { timeSpanStr = '刚刚' } else if (milliseconds <= 1000 * 60 * 1) { timeSpanStr = '1分钟内' } else if (1000 * 60 * 1 < milliseconds && milliseconds <= 1000 * 60 * 30) { timeSpanStr = Math.round((milliseconds / (1000 * 60))) + '分钟前' } else if (1000 * 60 * 30 < milliseconds && milliseconds <= 1000 * 60 * 60) { timeSpanStr = '半小时前' } else if (1000 * 60 * 60 < milliseconds && milliseconds <= (1000 * 60 * 60 * now.getHours() + 1000 * 60 * now.getMinutes() + 1000 * now.getSeconds() + now.getMilliseconds())) { timeSpanStr = "今天" + when + hour + ":" + minute } else if (1000 * 60 * 60 * now.getHours() < milliseconds && milliseconds <= 1000 * 60 * 60 * 24) { timeSpanStr = '昨天' + when + hour + ":" + minute } else if (1000 * 60 * 60 * 24 < milliseconds && milliseconds <= 1000 * 60 * 60 * 24 * 15) { var d = Math.round(milliseconds / (1000 * 60 * 60 * 24)); if (d == 1 || (d == 2 && milliseconds == (1000 * 60 * 60 * now.getHours() + 1000 * 60 * now.getMinutes() + 1000 * now.getSeconds() + now.getMilliseconds()) + 86400000)) { timeSpanStr += '昨天' } else if (d == 2) { timeSpanStr += '前天' } else if (d == 3) { timeSpanStr += '大前天' } else { timeSpanStr += Math.round(milliseconds / (1000 * 60 * 60 * 24)) + '天前' } timeSpanStr += when + hour + ":" + minute } else if (milliseconds > 1000 * 60 * 60 * 24 * 15 && year == now.getFullYear()) { timeSpanStr = month + '月' + day + '日 ' + hour + ':' + minute } else { timeSpanStr = year + '年' + month + '月' + day + '日 ' + hour + ':' + minute } return timeSpanStr } let parseDate = function (dateString) { return new Date(Date.parse(dateString.replace(/-/g, "/"))) }; function getLocalTime(nS) { return new Date(parseInt(nS) * 1000).toLocaleString().replace(/:\d{1,2}$/, ' ') } return formatMsgTime(getLocalTime(timestamp)) }, 'ArtTag': function (txt, u) { let html = ''; if (txt != '') { let tag = txt.split(","); for (let i = 0; i < tag.length; i++) { let url = u.replace("66", tag[i]); html = html + '# ' + tag[i] + '' } } return html }, 'ArtLevel': function (level) { if (level != '') { return '推荐' + level + '' } return '' }, 'ArtPwd': function (pwd) { if (pwd != '') { return '' } return '' }, 'ArtSub': function (sub) { if (sub != '') { return '[' + sub + ']' } return '' }, 'ArtPoints': function (points) { return points != '' ? '付费阅读 ¥' + points + '' : ''; }, 'ArtColor': function (color) { return color != '' ? ' style="color:#' + color + '"' : ''; }, 'ArtType': function (v,id,en,u) { let result = u; switch (v) { case "1": result = result.replace("nickname", en); break; case "2": result = result.replace("ISCCCS", id); break; default: result = result.replace("66", id); break; } return result; }, 'Skeleton': function (id, num, type) { let data = { 'art_type.html': '
\n
', 'art_type2.html': '
', 'actor_type.html': '
', 'vod': '
\n
', 'iv': '
\n
', }; let htmlArr = []; for (let i = 0; i < num; i++) { htmlArr.push(data[type]); } const html = htmlArr.join(''); id.empty(); id.prepend(html); }, 'Pic': function (url) { let protocol = maccms.upload.protocol || 'http'; if (url.startsWith('mac:')) { url = url.replace('mac:', protocol + ':'); } else if (!url.startsWith('http') && !url.startsWith('//') && url.charAt(0) !== '/') { if (maccms.upload.mode === 'remote') { url = maccms.upload.remoteurl + url; } else { url = '/' + url; } } else if (maccms.upload.img_key && url.includes(maccms.upload.img_key)) { url = maccms.upload.img_api + '' + url; } return url; }, 'PicIf': function (pic, thumb, if2) { if (thumb.length > 1 && if2 == 'a') { return HTML.Pic(thumb) } return HTML.Pic(pic) }, 'tag': function (if2, if3, color, data) { const key = parseInt(data['vod_level'], 10); const htmlClass = `public-prt ${color}`; const isShowTags = Number(if2) === 1; const isShowRemarks = Number(if3) === 2; const isShowScore = Number(if3) === 3; let html = ''; let name = ''; if (typeof label[key] !== 'undefined') { name = label[key].name; } if (name) { html = `${name}`; }else if(isShowTags && data.vod_class !== ''){ html = `${HTML.tagSplit(data.vod_class)}`; } if (isShowRemarks) { html = html+`${data.vod_remarks}`; } else if (isShowScore) { const score = Number(data.vod_douban_score) > 1 ? data.vod_douban_score : data.vod_score; html += `${score}`; } return html; }, 'tagSplit': function (lass) { const splitResult = lass.split(',')[0]; return splitResult === '' ? '热播' : splitResult; }, 'Title': function (if4, data) { let html = ''; let vodSubLength = data.vod_sub.length; let vodBlurbLength = data.vod_blurb.length; let vodRemarksLength = data.vod_remarks.length; if (if4 === "2") { html = vodSubLength > 1 ? data.vod_sub : data.vod_actor; } else if (if4 === "3") { html = vodBlurbLength > 1 ? data.vod_blurb : data.vod_actor; } else if (if4 === "4") { html = vodRemarksLength > 1 ? data.vod_remarks : data.vod_serial; } if (html.length > 1) { return '
' + html + '
'; } else { return ''; } }, 'Target':function (target){ return target === '_blank' ? ' target="_blank"' : ''; }, convertToHttps:function (url) { if (!url.startsWith('https://')) { url = url.replace('http://', 'https://'); } return url; } } var hexcase=0;var b64pad="";var chrsz=8;function hex_md5(s){return binl2hex(core_md5(str2binl(s),s.length*chrsz))}function b64_md5(s){return binl2b64(core_md5(str2binl(s),s.length*chrsz))}function str_md5(s){return binl2str(core_md5(str2binl(s),s.length*chrsz))}function hex_hmac_md5(key,data){return binl2hex(core_hmac_md5(key,data))}function b64_hmac_md5(key,data){return binl2b64(core_hmac_md5(key,data))}function str_hmac_md5(key,data){return binl2str(core_hmac_md5(key,data))}function md5_vm_test(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function core_md5(x,len){x[len>>5]|=0x80<<((len)%32);x[(((len+64)>>>9)<<4)+14]=len;var a=1732584193;var b=-271733879;var c=-1732584194;var d=271733878;for(var i=0;i16)bkey=core_md5(bkey,key.length*chrsz);var ipad=Array(16),opad=Array(16);for(var i=0;i<16;i++){ipad[i]=bkey[i]^0x36363636;opad[i]=bkey[i]^0x5C5C5C5C}var hash=core_md5(ipad.concat(str2binl(data)),512+data.length*chrsz);return core_md5(opad.concat(hash),512+128)}function safe_add(x,y){var lsw=(x&0xFFFF)+(y&0xFFFF);var msw=(x>>16)+(y>>16)+(lsw>>16);return(msw<<16)|(lsw&0xFFFF)}function bit_rol(num,cnt){return(num<>>(32-cnt))}function str2binl(str){var bin=Array();var mask=(1<>5]|=(str.charCodeAt(i/chrsz)&mask)<<(i%32);return bin}function binl2str(bin){var str="";var mask=(1<>5]>>>(i%32))&mask);return str}function binl2hex(binarray){var hex_tab=hexcase?"0123456789ABCDEF":"0123456789abcdef";var str="";for(var i=0;i>2]>>((i%4)*8+4))&0xF)+hex_tab.charAt((binarray[i>>2]>>((i%4)*8))&0xF)}return str}function binl2b64(binarray){var tab="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var str="";for(var i=0;i>2]>>8*(i%4))&0xFF)<<16)|(((binarray[i+1>>2]>>8*((i+1)%4))&0xFF)<<8)|((binarray[i+2>>2]>>8*((i+2)%4))&0xFF);for(var j=0;j<4;j++){if(i*8+j*6>binarray.length*32)str+=b64pad;else str+=tab.charAt((triplet>>6*(3-j))&0x3F)}}return str} !function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).LazyLoad=t()}(this,(function(){"use strict";function n(){return n=Object.assign||function(n){for(var t=1;t1,r={elements_selector:".lazy",container:e||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading2",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},c=function(t){return n({},r,t)},l=function(n,t){var e,i="LazyLoad::Initialized",o=new n(t);try{e=new CustomEvent(i,{detail:{instance:o}})}catch(n){(e=document.createEvent("CustomEvent")).initCustomEvent(i,!1,!1,{instance:o})}window.dispatchEvent(e)},u="src",s="srcset",d="sizes",f="poster",_="llOriginalAttrs",g="data",v="loading",b="loaded",m="applied",p="error",h="native",E="data-",I="ll-status",y=function(n,t){return n.getAttribute(E+t)},k=function(n){return y(n,I)},w=function(n,t){return function(n,t,e){var i="data-ll-status";null!==e?n.setAttribute(i,e):n.removeAttribute(i)}(n,0,t)},A=function(n){return w(n,null)},L=function(n){return null===k(n)},O=function(n){return k(n)===h},x=[v,b,m,p],C=function(n,t,e,i){n&&(void 0===i?void 0===e?n(t):n(t,e):n(t,e,i))},N=function(n,t){o?n.classList.add(t):n.className+=(n.className?" ":"")+t},M=function(n,t){o?n.classList.remove(t):n.className=n.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},z=function(n){return n.llTempImage},T=function(n,t){if(t){var e=t._observer;e&&e.unobserve(n)}},R=function(n,t){n&&(n.loadingCount+=t)},G=function(n,t){n&&(n.toLoadCount=t)},j=function(n){for(var t,e=[],i=0;t=n.children[i];i+=1)"SOURCE"===t.tagName&&e.push(t);return e},D=function(n,t){var e=n.parentNode;e&&"PICTURE"===e.tagName&&j(e).forEach(t)},H=function(n,t){j(n).forEach(t)},V=[u],F=[u,f],B=[u,s,d],J=[g],P=function(n){return!!n[_]},S=function(n){return n[_]},U=function(n){return delete n[_]},$=function(n,t){if(!P(n)){var e={};t.forEach((function(t){e[t]=n.getAttribute(t)})),n[_]=e}},q=function(n,t){if(P(n)){var e=S(n);t.forEach((function(t){!function(n,t,e){e?n.setAttribute(t,e):n.removeAttribute(t)}(n,t,e[t])}))}},K=function(n,t,e){N(n,t.class_applied),w(n,m),e&&(t.unobserve_completed&&T(n,t),C(t.callback_applied,n,e))},Q=function(n,t,e){N(n,t.class_loading),w(n,v),e&&(R(e,1),C(t.callback_loading,n,e))},W=function(n,t,e){e&&n.setAttribute(t,e)},X=function(n,t){W(n,d,y(n,t.data_sizes)),W(n,s,y(n,t.data_srcset)),W(n,u,y(n,t.data_src))},Y={IMG:function(n,t){D(n,(function(n){$(n,B),X(n,t)})),$(n,B),X(n,t)},IFRAME:function(n,t){$(n,V),W(n,u,y(n,t.data_src))},VIDEO:function(n,t){H(n,(function(n){$(n,V),W(n,u,y(n,t.data_src))})),$(n,F),W(n,f,y(n,t.data_poster)),W(n,u,y(n,t.data_src)),n.load()},OBJECT:function(n,t){$(n,J),W(n,g,y(n,t.data_src))}},Z=["IMG","IFRAME","VIDEO","OBJECT"],nn=function(n,t){!t||function(n){return n.loadingCount>0}(t)||function(n){return n.toLoadCount>0}(t)||C(n.callback_finish,t)},tn=function(n,t,e){n.addEventListener(t,e),n.llEvLisnrs[t]=e},en=function(n,t,e){n.removeEventListener(t,e)},on=function(n){return!!n.llEvLisnrs},an=function(n){if(on(n)){var t=n.llEvLisnrs;for(var e in t){var i=t[e];en(n,e,i)}delete n.llEvLisnrs}},rn=function(n,t,e){!function(n){delete n.llTempImage}(n),R(e,-1),function(n){n&&(n.toLoadCount-=1)}(e),M(n,t.class_loading),t.unobserve_completed&&T(n,e)},cn=function(n,t,e){var i=z(n)||n;on(i)||function(n,t,e){on(n)||(n.llEvLisnrs={});var i="VIDEO"===n.tagName?"loadeddata":"load";tn(n,i,t),tn(n,"error",e)}(i,(function(o){!function(n,t,e,i){var o=O(t);rn(t,e,i),N(t,e.class_loaded),w(t,b),C(e.callback_loaded,t,i),o||nn(e,i)}(0,n,t,e),an(i)}),(function(o){!function(n,t,e,i){var o=O(t);rn(t,e,i),N(t,e.class_error),w(t,p),C(e.callback_error,t,i),e.restore_on_error&&q(t,B),o||nn(e,i)}(0,n,t,e),an(i)}))},ln=function(n,t,e){!function(n){return Z.indexOf(n.tagName)>-1}(n)?function(n,t,e){!function(n){n.llTempImage=document.createElement("IMG")}(n),cn(n,t,e),function(n){P(n)||(n[_]={backgroundImage:n.style.backgroundImage})}(n),function(n,t,e){var i=y(n,t.data_bg),o=y(n,t.data_bg_hidpi),r=a&&o?o:i;r&&(n.style.backgroundImage='url("'.concat(r,'")'),z(n).setAttribute(u,r),Q(n,t,e))}(n,t,e),function(n,t,e){var i=y(n,t.data_bg_multi),o=y(n,t.data_bg_multi_hidpi),r=a&&o?o:i;r&&(n.style.backgroundImage=r,K(n,t,e))}(n,t,e),function(n,t,e){var i=y(n,t.data_bg_set);if(i){var o=i.split("|"),a=o.map((function(n){return"image-set(".concat(n,")")}));n.style.backgroundImage=a.join(),""===n.style.backgroundImage&&(a=o.map((function(n){return"-webkit-image-set(".concat(n,")")})),n.style.backgroundImage=a.join()),K(n,t,e)}}(n,t,e)}(n,t,e):function(n,t,e){cn(n,t,e),function(n,t,e){var i=Y[n.tagName];i&&(i(n,t),Q(n,t,e))}(n,t,e)}(n,t,e)},un=function(n){n.removeAttribute(u),n.removeAttribute(s),n.removeAttribute(d)},sn=function(n){D(n,(function(n){q(n,B)})),q(n,B)},dn={IMG:sn,IFRAME:function(n){q(n,V)},VIDEO:function(n){H(n,(function(n){q(n,V)})),q(n,F),n.load()},OBJECT:function(n){q(n,J)}},fn=function(n,t){(function(n){var t=dn[n.tagName];t?t(n):function(n){if(P(n)){var t=S(n);n.style.backgroundImage=t.backgroundImage}}(n)})(n),function(n,t){L(n)||O(n)||(M(n,t.class_entered),M(n,t.class_exited),M(n,t.class_applied),M(n,t.class_loading),M(n,t.class_loaded),M(n,t.class_error))}(n,t),A(n),U(n)},_n=["IMG","IFRAME","VIDEO"],gn=function(n){return n.use_native&&"loading"in HTMLImageElement.prototype},vn=function(n,t,e){n.forEach((function(n){return function(n){return n.isIntersecting||n.intersectionRatio>0}(n)?function(n,t,e,i){var o=function(n){return x.indexOf(k(n))>=0}(n);w(n,"entered"),N(n,e.class_entered),M(n,e.class_exited),function(n,t,e){t.unobserve_entered&&T(n,e)}(n,e,i),C(e.callback_enter,n,t,i),o||ln(n,e,i)}(n.target,n,t,e):function(n,t,e,i){L(n)||(N(n,e.class_exited),function(n,t,e,i){e.cancel_on_exit&&function(n){return k(n)===v}(n)&&"IMG"===n.tagName&&(an(n),function(n){D(n,(function(n){un(n)})),un(n)}(n),sn(n),M(n,e.class_loading),R(i,-1),A(n),C(e.callback_cancel,n,t,i))}(n,t,e,i),C(e.callback_exit,n,t,i))}(n.target,n,t,e)}))},bn=function(n){return Array.prototype.slice.call(n)},mn=function(n){return n.container.querySelectorAll(n.elements_selector)},pn=function(n){return function(n){return k(n)===p}(n)},hn=function(n,t){return function(n){return bn(n).filter(L)}(n||mn(t))},En=function(n,e){var o=c(n);this._settings=o,this.loadingCount=0,function(n,t){i&&!gn(n)&&(t._observer=new IntersectionObserver((function(e){vn(e,n,t)}),function(n){return{root:n.container===document?null:n.container,rootMargin:n.thresholds||n.threshold+"px"}}(n)))}(o,this),function(n,e){t&&(e._onlineHandler=function(){!function(n,t){var e;(e=mn(n),bn(e).filter(pn)).forEach((function(t){M(t,n.class_error),A(t)})),t.update()}(n,e)},window.addEventListener("online",e._onlineHandler))}(o,this),this.update(e)};return En.prototype={update:function(n){var t,o,a=this._settings,r=hn(n,a);G(this,r.length),!e&&i?gn(a)?function(n,t,e){n.forEach((function(n){-1!==_n.indexOf(n.tagName)&&function(n,t,e){n.setAttribute("loading","lazy"),cn(n,t,e),function(n,t){var e=Y[n.tagName];e&&e(n,t)}(n,t),w(n,h)}(n,t,e)})),G(e,0)}(r,a,this):(o=r,function(n){n.disconnect()}(t=this._observer),function(n,t){t.forEach((function(t){n.observe(t)}))}(t,o)):this.loadAll(r)},destroy:function(){this._observer&&this._observer.disconnect(),t&&window.removeEventListener("online",this._onlineHandler),mn(this._settings).forEach((function(n){U(n)})),delete this._observer,delete this._settings,delete this._onlineHandler,delete this.loadingCount,delete this.toLoadCount},loadAll:function(n){var t=this,e=this._settings;hn(n,e).forEach((function(n){T(n,t),ln(n,e,t)}))},restoreAll:function(){var n=this._settings;mn(n).forEach((function(t){fn(t,n)}))}},En.load=function(n,t){var e=c(t);ln(n,e)},En.resetStatus=function(n){A(n)},t&&function(n,t){if(t)if(t.length)for(var e,i=0;e=t[i];i+=1)l(n,e);else l(n,t)}(En,window.lazyLoadOptions),En})); (function(){var a,b,c,d,e,f=function(a,b){return function(){return a.apply(b,arguments)}},g=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};b=function(){function a(){}return a.prototype.extend=function(a,b){var c,d;for(c in b)d=b[c],null==a[c]&&(a[c]=d);return a},a.prototype.isMobile=function(a){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)},a.prototype.addEvent=function(a,b,c){return null!=a.addEventListener?a.addEventListener(b,c,!1):null!=a.attachEvent?a.attachEvent("on"+b,c):a[b]=c},a.prototype.removeEvent=function(a,b,c){return null!=a.removeEventListener?a.removeEventListener(b,c,!1):null!=a.detachEvent?a.detachEvent("on"+b,c):delete a[b]},a.prototype.innerHeight=function(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight},a}(),c=this.WeakMap||this.MozWeakMap||(c=function(){function a(){this.keys=[],this.values=[]}return a.prototype.get=function(a){var b,c,d,e,f;for(f=this.keys,b=d=0,e=f.length;e>d;b=++d)if(c=f[b],c===a)return this.values[b]},a.prototype.set=function(a,b){var c,d,e,f,g;for(g=this.keys,c=e=0,f=g.length;f>e;c=++e)if(d=g[c],d===a)return void(this.values[c]=b);return this.keys.push(a),this.values.push(b)},a}()),a=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(a=function(){function a(){"undefined"!=typeof console&&null!==console&&console.warn("MutationObserver is not supported by your browser."),"undefined"!=typeof console&&null!==console&&console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}return a.notSupported=!0,a.prototype.observe=function(){},a}()),d=this.getComputedStyle||function(a){return this.getPropertyValue=function(b){var c;return"float"===b&&(b="styleFloat"),e.test(b)&&b.replace(e,function(a,b){return b.toUpperCase()}),(null!=(c=a.currentStyle)?c[b]:void 0)||null},this},e=/(\-([a-z]){1})/g,this.WOW=function(){function e(a){null==a&&(a={}),this.scrollCallback=f(this.scrollCallback,this),this.scrollHandler=f(this.scrollHandler,this),this.start=f(this.start,this),this.scrolled=!0,this.config=this.util().extend(a,this.defaults),this.animationNameCache=new c}return e.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0},e.prototype.init=function(){var a;return this.element=window.document.documentElement,"interactive"===(a=document.readyState)||"complete"===a?this.start():this.util().addEvent(document,"DOMContentLoaded",this.start),this.finished=[]},e.prototype.start=function(){var b,c,d,e;if(this.stopped=!1,this.boxes=function(){var a,c,d,e;for(d=this.element.querySelectorAll("."+this.config.boxClass),e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.all=function(){var a,c,d,e;for(d=this.boxes,e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else{for(e=this.boxes,c=0,d=e.length;d>c;c++)b=e[c],this.applyStyle(b,!0);this.util().addEvent(window,"scroll",this.scrollHandler),this.util().addEvent(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)}return this.config.live?new a(function(a){return function(b){var c,d,e,f,g;for(g=[],e=0,f=b.length;f>e;e++)d=b[e],g.push(function(){var a,b,e,f;for(e=d.addedNodes||[],f=[],a=0,b=e.length;b>a;a++)c=e[a],f.push(this.doSync(c));return f}.call(a));return g}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},e.prototype.stop=function(){return this.stopped=!0,this.util().removeEvent(window,"scroll",this.scrollHandler),this.util().removeEvent(window,"resize",this.scrollHandler),null!=this.interval?clearInterval(this.interval):void 0},e.prototype.sync=function(){return a.notSupported?this.doSync(this.element):void 0},e.prototype.doSync=function(a){var b,c,d,e,f;if(!this.stopped){if(null==a&&(a=this.element),1!==a.nodeType)return;for(a=a.parentNode||a,e=a.querySelectorAll("."+this.config.boxClass),f=[],c=0,d=e.length;d>c;c++)b=e[c],g.call(this.all,b)<0?(this.applyStyle(b,!0),this.boxes.push(b),this.all.push(b),f.push(this.scrolled=!0)):f.push(void 0);return f}},e.prototype.show=function(a){return this.applyStyle(a),a.className=""+a.className+" "+this.config.animateClass},e.prototype.applyStyle=function(a,b){var c,d,e;return d=a.getAttribute("data-wow-duration"),c=a.getAttribute("data-wow-delay"),e=a.getAttribute("data-wow-iteration"),this.animate(function(f){return function(){return f.customStyle(a,b,d,c,e)}}(this))},e.prototype.animate=function(){return"requestAnimationFrame"in window?function(a){return window.requestAnimationFrame(a)}:function(a){return a()}}(),e.prototype.resetStyle=function(){var a,b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(a.setAttribute("style","visibility: visible;"));return e},e.prototype.customStyle=function(a,b,c,d,e){return b&&this.cacheAnimationName(a),a.style.visibility=b?"hidden":"visible",c&&this.vendorSet(a.style,{animationDuration:c}),d&&this.vendorSet(a.style,{animationDelay:d}),e&&this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?"none":this.cachedAnimationName(a)}),a},e.prototype.vendors=["moz","webkit"],e.prototype.vendorSet=function(a,b){var c,d,e,f;f=[];for(c in b)d=b[c],a[""+c]=d,f.push(function(){var b,f,g,h;for(g=this.vendors,h=[],b=0,f=g.length;f>b;b++)e=g[b],h.push(a[""+e+c.charAt(0).toUpperCase()+c.substr(1)]=d);return h}.call(this));return f},e.prototype.vendorCSS=function(a,b){var c,e,f,g,h,i;for(e=d(a),c=e.getPropertyCSSValue(b),i=this.vendors,g=0,h=i.length;h>g;g++)f=i[g],c=c||e.getPropertyCSSValue("-"+f+"-"+b);return c},e.prototype.animationName=function(a){var b;try{b=this.vendorCSS(a,"animation-name").cssText}catch(c){b=d(a).getPropertyValue("animation-name")}return"none"===b?"":b},e.prototype.cacheAnimationName=function(a){return this.animationNameCache.set(a,this.animationName(a))},e.prototype.cachedAnimationName=function(a){return this.animationNameCache.get(a)},e.prototype.scrollHandler=function(){return this.scrolled=!0},e.prototype.scrollCallback=function(){var a;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],a&&(this.isVisible(a)?this.show(a):e.push(a));return e}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},e.prototype.offsetTop=function(a){for(var b;void 0===a.offsetTop;)a=a.parentNode;for(b=a.offsetTop;a=a.offsetParent;)b+=a.offsetTop;return b},e.prototype.isVisible=function(a){var b,c,d,e,f;return c=a.getAttribute("data-wow-offset")||this.config.offset,f=window.pageYOffset,e=f+Math.min(this.element.clientHeight,this.util().innerHeight())-c,d=this.offsetTop(a),b=d+a.clientHeight,e>=d&&b>=f},e.prototype.util=function(){return null!=this._util?this._util:this._util=new b},e.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},e}()}).call(this); !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return n={686:function(t,e,n){"use strict";n.d(e,{default:function(){return o}});var e=n(279),i=n.n(e),e=n(370),u=n.n(e),e=n(817),c=n.n(e);function a(t){try{return document.execCommand(t)}catch(t){return}}var f=function(t){t=c()(t);return a("cut"),t};var l=function(t){var e,n,o,r=1'),slider=$('
'),prevArrow=$(''),nextArrow=$(''),pageSpan=$(''))});slider.append(placeholders).on('click',function(e){hideOverlay()});$('body').on('touchstart','#gallerySlider img',function(e){var touch=e.originalEvent,startX=touch.changedTouches[0].pageX;slider.on('touchmove',function(e){e.preventDefault();touch=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0];if(touch.pageX-startX>10){slider.off('touchmove');showPrevious()}else if(touch.pageX-startX<-10){slider.off('touchmove');showNext()}});return false}).on('touchend',function(){slider.off('touchmove')});items.on('click',function(e){e.preventDefault();index=items.index(this);showOverlay(index);showImage(index);calcPages(items,index);preload(index+1);preload(index-1);$(document).data("overlayVisible",true);e.cancelBubble=true});function calcPages(items,index){pageSpan.text((index+1)+"/"+items.length)}if(!("ontouchstart"in window)){overlay.append(prevArrow).append(nextArrow);prevArrow.click(function(e){e.preventDefault();showPrevious()});nextArrow.click(function(e){e.preventDefault();showNext()})}$(window).bind('keydown',function(e){if(e.keyCode==37){showPrevious()}else if(e.keyCode==39){showNext()}});function showOverlay(index){if(overlayVisible){return false}overlay.show();setTimeout(function(){overlay.addClass('visible')},100);offsetSlider(index);overlayVisible=true}function hideOverlay(){if(!overlayVisible){return false}overlay.hide().removeClass('visible');overlayVisible=false;$(document).data("overlayVisible",overlayVisible)}function offsetSlider(index){slider.css('left',(-index*100)+'%')}function preload(index){setTimeout(function(){showImage(index)},1000)}function showImage(index){if(index<0||index>=items.length){return false}loadImage(items.eq(index).attr('src'),function(){placeholders.eq(index).html(this)})}function loadImage(src,callback){var img=$('').on('load',function(){callback.call(img)});img.attr('src',src)}function showNext(){if(index+10){index--;offsetSlider(index);preload(index-1);calcPages(items,index)}else{slider.addClass('leftSpring');setTimeout(function(){slider.removeClass('leftSpring')},500)}}}})(jQuery); eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(3($){4 s={1r:"<1q 2i=\'T-2\'>",1l:"1k",1j:"1k",1i:"1R",1f:"1M",V:"1K",W:"1J",1b:"1z U",19:"2x",17:D,16:"21",O:P,15:D,Q:P,7:"T-U-14"};$.13.2=3(f){4 g=u;6(!g.12){8 g}4 i=$.1N(s,f);6(g.12>1){g.10(3(){$(u).2(i)});8 g}6(g.E("2")){g.v("2.F");8 g}g.7(i.7);g.E("2",f);6(!i.R){1x 24 1S("1W 1d 1y 1A 1G. 1I 1L 1O: $(...).2({R: \'...\'})")}6(!i.Q){g.1P(i.1r)}4 j=$("<1q>").7("1e");4 k=$("<2b>").t({X:"Y",Z:i.1l}).7(i.1j);4 l=$("").t("X","11").7(i.1f).M(i.1i);4 m=$("").7(i.W).M(i.V).9("H",3(){k.H();8 D});4 n=$("").7(i.19).M(i.1b).9("H",3(){g.v("2.A");g.v("2.23");g.K();8 D});4 p="2e-"+2h.2j().2m(2n).2p(5,20).2t();4 q=$("<1w>").t({18:p,Z:p}).x();4 r=$("<1a>").7(i.16).t({1B:q.t("18"),1C:"1D/1a-E",1E:"1F",1d:i.R});r.C([m,k,l,n,q]);6(i.15){n.K()}6(i.17){l.x();k.9("1H",3(){6(!$(u).1c()){8}l.H()})}6(i.O){k.x()}L{m.x()}j.C(r);r.9("11",3(){4 c=$(u);q.J("I");4 d=g.t("G");6(1g i.1h==="1Q"){g.t("G",i.1h)}g.7("S");j.x();q.9("I",3(){4 a=$(u.1T.1U).1V();4 b;1X{b=1Y("("+a+")");}1Z(e){}6(b==22){y(g,d);g.v("2.1m",[\'返回数据格式不正确\']);8;}6(b.25==0){y(g,d);g.v("2.1m",[b.26]);8;}6(i.O){g.v("2.F")}6(!k.1c()){y(g,d);8}q.t("G","");y(g,b.Y,3(){g.v("2.27")});k.28(k.29(P))})});6(!i.Q){g.2a().C(j)}L{j.1n({2c:"2d"});j.7("T-U-14-1e");$("1o").C(j.x());g.9("2f",3(){6(g.2g("S")){8}4 a=g.1p();j.1n({B:a.B,z:a.z});j.2k()});$("1o").9("2l","."+i.7,3(e){4 o=g.1p();4 w=g.2o();4 h=g.2q();6(e.1so.z+w||(e.1to.B+h)){j.x()}})}g.9("2.A",3(){j.K();g.J("2.A");g.J("2.F");g.E("2",2r)});g.9("2.F",3(){g.v("2.A");g.2(f)});8 g};3 y(a,b,c){a.2s(3(){a.t("G",b);1u(a,3(){a.2u("S");a.2v();6(1g c==="3"){c()}})})}3 1u(a,b){$(a).10(3(){6(u.2w){b.1v(u)}L{$(u).9("I",3(){b.1v(u)})}})}$.2=$.13.2;$.2.2y=s})($);',62,159,'||imageUpload|function|var||if|addClass|return|on||||||||||||||||||||attr|this|trigger||hide|loadImage|left|destroy|top|append|false|data|reload|src|click|load|off|remove|else|html|button|hideFileInput|true|hover|formAction|loading|jQuery|image|browseButtonValue|browseButtonClass|type|file|name|each|submit|length|fn|upload|hideDeleteButton|formClass|automaticUpload|id|deleteButtonClass|form|deleteButtonValue|val|action|controls|uploadButtonClass|typeof|waiter|uploadButtonValue|inputFileClass|inputFile|inputFileName|uploadFailed|css|body|offset|div|wrapContent|pageX|pageY|imgLoad|apply|iframe|throw|was|Delete|not|target|enctype|multipart|method|post|provided|change|Please|browseButton|Browse|provide|uploadButton|extend|it|wrap|string|Upload|Error|contentWindow|document|text|Form|try|eval|catch||controlForm|undefined|imageRemoved|new|code|msg|imageChanged|replaceWith|clone|parent|input|position|absolute|uploadIframe|mouseenter|hasClass|Math|class|random|show|mouseleave|toString|36|width|substring|height|null|fadeOut|toLowerCase|removeClass|fadeIn|complete|deleteButton|defaults'.split('|'),0,{})); (function(r){r.fn.qrcode=function(h){var s;function u(a){this.mode=s;this.data=a}function o(a,c){this.typeNumber=a;this.errorCorrectLevel=c;this.modules=null;this.moduleCount=0;this.dataCache=null;this.dataList=[]}function q(a,c){if(void 0==a.length)throw Error(a.length+"/"+c);for(var d=0;da||this.moduleCount<=a||0>c||this.moduleCount<=c)throw Error(a+","+c);return this.modules[a][c]},getModuleCount:function(){return this.moduleCount},make:function(){if(1>this.typeNumber){for(var a=1,a=1;40>a;a++){for(var c=p.getRSBlocks(a,this.errorCorrectLevel),d=new t,b=0,e=0;e=d;d++)if(!(-1>=a+d||this.moduleCount<=a+d))for(var b=-1;7>=b;b++)-1>=c+b||this.moduleCount<=c+b||(this.modules[a+d][c+b]= 0<=d&&6>=d&&(0==b||6==b)||0<=b&&6>=b&&(0==d||6==d)||2<=d&&4>=d&&2<=b&&4>=b?!0:!1)},getBestMaskPattern:function(){for(var a=0,c=0,d=0;8>d;d++){this.makeImpl(!0,d);var b=j.getLostPoint(this);if(0==d||a>b)a=b,c=d}return c},createMovieClip:function(a,c,d){a=a.createEmptyMovieClip(c,d);this.make();for(c=0;c=f;f++)for(var i=-2;2>=i;i++)this.modules[b+f][e+i]=-2==f||2==f||-2==i||2==i||0==f&&0==i?!0:!1}},setupTypeNumber:function(a){for(var c= j.getBCHTypeNumber(this.typeNumber),d=0;18>d;d++){var b=!a&&1==(c>>d&1);this.modules[Math.floor(d/3)][d%3+this.moduleCount-8-3]=b}for(d=0;18>d;d++)b=!a&&1==(c>>d&1),this.modules[d%3+this.moduleCount-8-3][Math.floor(d/3)]=b},setupTypeInfo:function(a,c){for(var d=j.getBCHTypeInfo(this.errorCorrectLevel<<3|c),b=0;15>b;b++){var e=!a&&1==(d>>b&1);6>b?this.modules[b][8]=e:8>b?this.modules[b+1][8]=e:this.modules[this.moduleCount-15+b][8]=e}for(b=0;15>b;b++)e=!a&&1==(d>>b&1),8>b?this.modules[8][this.moduleCount- b-1]=e:9>b?this.modules[8][15-b-1+1]=e:this.modules[8][15-b-1]=e;this.modules[this.moduleCount-8][8]=!a},mapData:function(a,c){for(var d=-1,b=this.moduleCount-1,e=7,f=0,i=this.moduleCount-1;0g;g++)if(null==this.modules[b][i-g]){var n=!1;f>>e&1));j.getMask(c,b,i-g)&&(n=!n);this.modules[b][i-g]=n;e--; -1==e&&(f++,e=7)}b+=d;if(0>b||this.moduleCount<=b){b-=d;d=-d;break}}}};o.PAD0=236;o.PAD1=17;o.createData=function(a,c,d){for(var c=p.getRSBlocks(a, c),b=new t,e=0;e8*a)throw Error("code length overflow. ("+b.getLengthInBits()+">"+8*a+")");for(b.getLengthInBits()+4<=8*a&&b.put(0,4);0!=b.getLengthInBits()%8;)b.putBit(!1);for(;!(b.getLengthInBits()>=8*a);){b.put(o.PAD0,8);if(b.getLengthInBits()>=8*a)break;b.put(o.PAD1,8)}return o.createBytes(b,c)};o.createBytes=function(a,c){for(var d= 0,b=0,e=0,f=Array(c.length),i=Array(c.length),g=0;g>>=1;return c},getPatternPosition:function(a){return j.PATTERN_POSITION_TABLE[a-1]},getMask:function(a,c,d){switch(a){case 0:return 0==(c+d)%2;case 1:return 0==c%2;case 2:return 0==d%3;case 3:return 0==(c+d)%3;case 4:return 0==(Math.floor(c/2)+Math.floor(d/3))%2;case 5:return 0==c*d%2+c*d%3;case 6:return 0==(c*d%2+c*d%3)%2;case 7:return 0==(c*d%3+(c+d)%2)%2;default:throw Error("bad maskPattern:"+ a);}},getErrorCorrectPolynomial:function(a){for(var c=new q([1],0),d=0;dc)switch(a){case 1:return 10;case 2:return 9;case s:return 8;case 8:return 8;default:throw Error("mode:"+a);}else if(27>c)switch(a){case 1:return 12;case 2:return 11;case s:return 16;case 8:return 10;default:throw Error("mode:"+a);}else if(41>c)switch(a){case 1:return 14;case 2:return 13;case s:return 16;case 8:return 12;default:throw Error("mode:"+ a);}else throw Error("type:"+c);},getLostPoint:function(a){for(var c=a.getModuleCount(),d=0,b=0;b=g;g++)if(!(0>b+g||c<=b+g))for(var h=-1;1>=h;h++)0>e+h||c<=e+h||0==g&&0==h||i==a.isDark(b+g,e+h)&&f++;5a)throw Error("glog("+a+")");return l.LOG_TABLE[a]},gexp:function(a){for(;0>a;)a+=255;for(;256<=a;)a-=255;return l.EXP_TABLE[a]},EXP_TABLE:Array(256), LOG_TABLE:Array(256)},m=0;8>m;m++)l.EXP_TABLE[m]=1<m;m++)l.EXP_TABLE[m]=l.EXP_TABLE[m-4]^l.EXP_TABLE[m-5]^l.EXP_TABLE[m-6]^l.EXP_TABLE[m-8];for(m=0;255>m;m++)l.LOG_TABLE[l.EXP_TABLE[m]]=m;q.prototype={get:function(a){return this.num[a]},getLength:function(){return this.num.length},multiply:function(a){for(var c=Array(this.getLength()+a.getLength()-1),d=0;d this.getLength()-a.getLength())return this;for(var c=l.glog(this.get(0))-l.glog(a.get(0)),d=Array(this.getLength()),b=0;b>>7-a%8&1)},put:function(a,c){for(var d=0;d>>c-d-1&1))},getLengthInBits:function(){return this.length},putBit:function(a){var c=Math.floor(this.length/8);this.buffer.length<=c&&this.buffer.push(0);a&&(this.buffer[c]|=128>>>this.length%8);this.length++}};"string"===typeof h&&(h={text:h});h=r.extend({},{render:"canvas",width:256,height:256,typeNumber:-1, correctLevel:2,background:"#ffffff",foreground:"#000000"},h);return this.each(function(){var a;if("canvas"==h.render){a=new o(h.typeNumber,h.correctLevel);a.addData(h.text);a.make();var c=document.createElement("canvas");c.width=h.width;c.height=h.height;for(var d=c.getContext("2d"),b=h.width/a.getModuleCount(),e=h.height/a.getModuleCount(),f=0;f").css("width",h.width+"px").css("height",h.height+"px").css("border","0px").css("border-collapse","collapse").css("background-color",h.background);d=h.width/a.getModuleCount();b=h.height/a.getModuleCount();for(e=0;e").css("height",b+"px").appendTo(c);for(i=0;i").css("width", d+"px").css("background-color",a.isDark(e,i)?h.foreground:h.background).appendTo(f)}}a=c;jQuery(a).appendTo(this)})}})(jQuery);