!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./jzfrontend/biz-shared/bizShared.min.js"),require("./jzfrontend/request/jzRequest.min.js"),require("./jzfrontend/utils/jzUtils.min.js")):"function"==typeof define&&define.amd?define("__JZ_UMD__",[,,],e):"object"==typeof exports?exports.__JZ_UMD__=e(require("./jzfrontend/biz-shared/bizShared.min.js"),require("./jzfrontend/request/jzRequest.min.js"),require("./jzfrontend/utils/jzUtils.min.js")):(t.__JZ_UMD__=t.__JZ_UMD__||{},t.__JZ_UMD__.site=e(t.bizShared,t.jzRequest,t.jzUtils))}(this,(function(__WEBPACK_EXTERNAL_MODULE__9045__,__WEBPACK_EXTERNAL_MODULE__875__,__WEBPACK_EXTERNAL_MODULE__8799__){return function(){var __webpack_modules__={3943:function(t,e,n){"use strict";n.r(e),n.d(e,{getServerTime:function(){return r}});var i=n(875),o=n.n(i);function r(){return o().get("/ajax/siteForm_h.jsp?cmd=getWafNotCk_getServerTime").then((function(t){var e=t.data;return void 0===e?{}:e}))}},5146:function(t,e,n){"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,r,a,s=[],l=!0,u=!1;try{if(r=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=n["return"]&&(a=n["return"](),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,e)||r(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){if(t){if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n0?"bold":"normal"}},{key:"toStyle",value:function(){return"\n {\n font-family: ".concat(this.fontFamily,";\n font-size: ").concat(this.fontSize,"px;\n font-weight: ").concat(this._getFontWeight(),";\n font-style: ").concat(1===this.italic?"italic":"normal",";\n text-decoration: ").concat(1===this.underline?"underline":"none",";\n color: ").concat(this.color,";\n ").concat(this.getTextAlignCss(),"\n }\n ")}}])&&s(e.prototype,n),i&&s(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function c(t,e,n){return n?t|=e:t&=~e,t}function f(t,e){return(t&e)==e}function d(t,e){for(var n={},i=0,r=Object.entries(t);i1&&arguments[1]!==undefined?arguments[1]:"module.flag",(function(e){return f(this[e],t)}),(function(e,n){this[e]=c(this[e],t,n)}))}function h(t,e,n){function i(e){return function(){var n="",i=this,o=t.split(".");n=o.pop();var a,s=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=r(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(l)throw a}}}}(o);try{for(s.s();!(a=s.n()).done;){i=i[a.value]}}catch(l){s.e(l)}finally{s.f()}return e.call.apply(e,[i,n].concat(Array.prototype.slice.call(arguments),[this]))}}return{get:i(e),set:i(n)}}function m(t){return 1==t?"dotted":2==t?"dashed":"solid"}function v(t){return t>0?"bold":"normal"}function g(){return['font-family:"icomoon",微软雅黑,"microsoft yahei",宋体,新宋体;',"speak:none;","font-style:normal;","font-weight:normal;","font-variant:normal;","text-transform:none;","line-height:1;","-webkit-font-smoothing:antialiased;","-moz-osx-font-smoothing:grayscale;"].join("")}function y(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:-1,e=arguments.length>1?arguments[1]:undefined,n=arguments.length>2?arguments[2]:undefined;return b(n&&-1!=t?"url("+n+") "+_(t)+" "+w(t)+","+e:e)}function b(t){if(null==t)return"";var e=";\n";e+="background:"+k(t=S(t))+";\n";var n=t.indexOf("linear-gradient(");return n>-1&&(e+="background:"+t.substring(0,n)+"-webkit-"+t.substring(n)+";\n",e+="background:"+t.substring(0,n)+"-moz-"+t.substring(n)+";\n",e+="background:"+t.substring(0,n)+"-ms-"+t.substring(n)+";\n",e+="background:"+t.substring(0,n)+"-o-"+t.substring(n)+";\n"),e+="background:"+t+";\n"}function _(t){var e="";return 0!=t&&6!=t&&7!=t&&8!=t&&9!=t&&13!=t&&14!=t&&15!=t&&16!=t&&17!=t&&40!=t||(e="no-repeat"),1!=t&&11!=t&&12!=t||(e="repeat-x"),2!=t&&21!=t&&22!=t||(e="repeat-y"),3!=t&&4!=t&&5!=t&&30!=t||(e="repeat"),e}function w(t){var e="center";return 9!=t&&12!=t||(e="bottom"),6!=t&&21!=t||(e="left"),7!=t&&22!=t||(e="right"),4!=t&&5!=t&&8!=t&&11!=t&&30!=t||(e="top"),13==t&&(e="left top"),14==t&&(e="right top"),15==t&&(e="left bottom"),16==t&&(e="right bottom"),e}function S(t){if(null==t)return"";if((t=(t=t.trim()).match("(?:.*?:)?([\\s\\S]*)")[1]||"").length<2)return t;","==t.substring(0,1)&&(t=t.substring(1)),","==t.substring(t.length-1)&&(t=t.substring(0,t.length-1));var e=t.indexOf("linear-gradient("),n=t.indexOf("url(");return e>-1&&n>-1&&e8||e<0||e>10)return n;switch(t){case 3:switch(e){case 10:n.height=5;break;case 9:case 8:case 7:case 6:n.height=4;break;case 5:n.height=3;break;case 4:case 3:case 2:n.height=2;break;case 1:n.height=1}break;case 4:case 5:switch(e){case 10:n.height=7,n.lineHeight=1;break;case 9:n.height=7,n.lineHeight=2;break;case 8:n.height=6;break;case 7:n.height=6,n.lineHeight=1;break;case 6:n.height=5,n.lineHeight=1;break;case 5:n.height=4;break;case 4:case 3:case 2:n.height=3;break;case 1:n.height=1}break;case 6:switch(e){case 10:n.height=6;break;case 9:case 8:n.height=5;break;case 7:case 6:n.height=4;break;case 5:case 4:case 3:n.height=3;break;case 2:case 1:n.height=2}break;default:n.height=2,n.lineHeight=0}return n}function x(t,e){if(null==t)return"";var n=L(t),i="",o=t.indexOf("linear-gradient(");return o>-1?(i+="background-image:"+t.substring(0,o)+"-webkit-"+t.substring(o)+(e?" !important":"")+";\n",i+="background-image:"+t+(e?" !important":"")+";\n",i+="-webkit-background-clip:text;",i+="-webkit-text-fill-color:transparent;",i+="color:"+P(n)+";\n",i+="color:"+n+(e?" !important":"")+";\n"):(i+="-webkit-text-fill-color: initial;\n",i+="color:"+P(t)+";\n",i+="color:"+t+(e?" !important":"")+";\n"),i}function P(t){if(null==t)return"";if(-1==t.indexOf("rgb"))return t;var e=t.indexOf("rgb"),n=(t=t.substring(e,t.indexOf(")",e))).split(/[()]/)[1].split(",");if(n.length<3)return"#000000";var i=n[0],o=n[1],r=n[2];return"#"+C(i)+C(o)+C(r)}function L(t){if(null==t)return"";if((t=t.trim()).indexOf("linear-gradient(")>-1){var e=t.indexOf("rgb");e>-1&&(t=(t=t.substring(e)).substring(0,t.indexOf(")")+1))}return t}function O(t,e,n,i,o,r,a,s,l){return j(e,a,"g_hover",n,i,o,r,s,l)}function j(t,e,n,i,o,r,a,s,l){var u="";return"g_hover"==n?(u+=e+" .formMiddle.formMiddle"+t+" ."+n+" a span, ",u+=e+" .formMiddle.formMiddle"+t+" ."+n+" a, ",u+=e+" .formMiddle.formMiddle"+t+" ."+n+" span, ",u+=e+" .formMiddle.formMiddle"+t+" ."+n,u+="{",u+="font-size: "+i+"px;",u+="font-family: "+s+";",u+="font-weight: "+v(o)+";",u+="font-style: "+(1==a?"italic":"normal")+";",u+="text-decoration: "+(1==r?"underline":"blink")+";",u+="color: "+l+";",u+="}\n"):(u+=e+" .formMiddle"+t+" ."+n+" a span, ",u+=e+" .formMiddle"+t+" ."+n+" a, ",u+=e+" .formMiddle"+t+" ."+n,u+="{",u+="font-size: "+i+"px;",u+="font-family: "+s+";",u+="font-style: "+(1==a?"italic":"normal")+";",u+="font-weight: "+v(o)+";",u+="text-decoration: "+(1==r?"underline":"blink")+";",u+="color: "+l+";",u+="}\n"),u}function I(t,e,n,i,o,r,a,s){var l="",u="";(4==n?l="background-size:100% 100%;background-position:top;":5==n&&(l="background-size:100%;background-position:top;"),A(t))&&(u+=s?o+" .formMiddle.formMiddle"+i+" .g_hover { background: none; }\n":o+" .formMiddle.formMiddle"+i+" .g_hover { background: "+y(n,r,a)+"; "+l+"}\n");return u}function E(t,e,n,i,o,r,a,s){var l="",u="";(4==n?l="background-size:100% 100%;background-position:top;":5==n&&(l="background-size:100%;background-position:top;"),D(t))&&(u+=s?o+" .formMiddle"+i+" .g_selected { background: none; }\n":o+" .formMiddle"+i+" .g_selected { background: "+y(n,r,a)+";"+l+" }\n");return u}function $(t,e,n,i,o,r,a,s,l){return j(e,a,"g_selected",n,i,o,r,s,l)}function A(t){var e=[13,21,26,38,9].includes(t),n=[6,7,24,47].includes(t),i=[10,11,27].includes(t);return e||n||i}function D(t){var e=[21,26,38,9].includes(t),n=[24].includes(t),i=[11,27].includes(t);return e||n||i}function B(t){return void 0===t?-1:t}function N(t,e){var n=.01*e,i=[];if(t.indexOf("rgb")>=0)return"rgba("+(i=t.split(","))[0].split("(")[1]+","+i[1]+","+i[2].replace(")","")+","+n+")";if(t.indexOf("#")>=0){if(7==t.length){var o=parseInt(t.substring(1),16);return"rgba("+(o>>16)+","+((65280&o)>>8)+","+(255&o)+","+n+")"}if(4==t.length){var r=String.valueOf(t.charAt(1)),a=String.valueOf(t.charAt(2)),s=String.valueOf(t.charAt(3));return"rgba("+parseInt(r+r,16)+","+parseInt(a+a,16)+","+parseInt(s+s,16)+","+n+")"}}return t}function H(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};switch(t.y){case 1:return"background: none;";case 2:var e="",n="",i=t.c||"",o=t.r;return t.f&&-1!==o&&(n="url(".concat(t.p,") ").concat(_(o)," ").concat(w(o))),""===i?i=n:e=""===n?i:n+","+i,"background: ".concat(e,";");default:return""}}function z(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"",e=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d+)\s*)?\)/g.exec(t);if(!e)return{};var n=o(e,5);return{r:n[1],g:n[2],b:n[3],a:n[4]}}function q(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return 110===t.style&&2===t.prop2}function J(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},e=arguments.length>1?arguments[1]:undefined,n=arguments.length>2?arguments[2]:undefined,i=t.style,o=void 0===i?0:i;return!n&&(!!q(t)||(!![18,116].includes(o)||e))}function R(t,e){var n=function(t){if(3==(t=t.replace("#","").toLowerCase()).length){for(var e=new Array,n=3;n--;)e[n]=t.charAt(n)+""+t.charAt(n);t=e.join("")}if(6==t.length){var i=t.match(/[0-9a-f]{2}/g);if(i&&3==i.length){for(var o=3;o--;)i[o]=parseInt(i[o],16);return i}return!1}}(function(t){if(/#/g.test(t))return t;t=t.replace(/[rgba\(\)]/g,"").split(",");for(var e,n=["#"],i=0;i<3;i++)1===(e=parseInt(t[i]).toString(16)).length&&(e="0"+e),n.push(e);return n.join("")}(t));if(!n||!e||isNaN(e))return"";e=Math.max(e,0),e=Math.min(e,100);for(var i=0;it.length)&&(e=t.length);for(var n=0,i=new Array(e);n1&&arguments[1]!==undefined?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.options=n,this.moduleId=e,this.$module=$("#module".concat(e)),this.$el=this.$module,this.module=this.options.module||{},this.pattern=this.module.pattern||{},this.perform=this.options.perform||{},this.initAnimation(),!g.includes(this.moduleId)&&this.checkHistoryPagination(),this.initPhotoSlideData(),this.initFLoatLayer()}var e,n,i;return e=t,n=[{key:"checkHistoryPagination",value:function(){var t=this;setTimeout((function(){var e=t.getStyle(),n=t.getModule(),i=n.openPagenation,o=n.blob0,r=n.prop0,a=t.$el.find(".pagenation .pageNo a").length?t.$el.find(".pagenation .pageNo a"):t.$el.find(".jz_pagenation_wrap .js_pagination");if(v.includes(e)&&a.length){var s=116==e?null==o?void 0:o.selectStyle:27==e?r:e,l="m".concat(t.moduleId,"_").concat(s,"pageno"),u=$.cookie(l);if(!u)return;116==e&&i&&4!=(null==o?void 0:o.selectStyle)&&t.getFlag(256)&&(Site.ajaxClick(a,t.moduleId,u),g.push(t.moduleId)),27==e&&t.getFlag(512)&&4!=r&&5!=r&&(Site.ajaxClick(a,t.moduleId,u),g.push(t.moduleId)),[2,74,12,8,13].includes(e)&&!t.getFlag(8)&&!t.getFlag(1)&&t.getFlag(1024)&&(Site.ajaxClick(a,t.moduleId,u),g.push(t.moduleId))}}),800)}},{key:"initPhotoSlideData",value:function(){var t=this;setTimeout((function(){!Site.photoSlide&&(Site.photoSlide={Func:{},Options:{},Plugins:{},Tool:{},PhotoSlide:{}});var e=d((function(){var n;e.times++;var i,o=null===(n=Site)||void 0===n||null===(n=n.photoSlide)||void 0===n||null===(n=n.Options)||void 0===n?void 0:n["module".concat(t.moduleId)];if((e.times>=10||!Fai.top["photoSlideTmp"+t.moduleId])&&(e.clearTick(),e=null),!o&&Fai.top["photoSlideTmp"+t.moduleId]&&(Site.photoSlide.Options["module".concat(t.moduleId)]={photoDataList:null===(i=Fai.top["photoSlideTmp"+t.moduleId])||void 0===i?void 0:i.photoDataList}),o&&Fai.top["photoSlideTmp"+t.moduleId]){var r,a,l,u,c,f=[];null!==(r=Site)&&void 0!==r&&null!==(r=r.photoSlide)&&void 0!==r&&null!==(r=r.Options)&&void 0!==r&&null!==(r=r["module".concat(t.moduleId)])&&void 0!==r&&r.photoDataList&&(f=null===(a=Site)||void 0===a||null===(a=a.photoSlide)||void 0===a||null===(a=a.Options)||void 0===a||null===(a=a["module".concat(t.moduleId)])||void 0===a?void 0:a.photoDataList,null===(l=Fai.top["photoSlideTmp"+t.moduleId])||void 0===l||null===(l=l.photoDataList)||void 0===l||l.forEach((function(t){var e;f=null===(e=f)||void 0===e?void 0:e.filter((function(e){return(null==t?void 0:t.id)!==(null==e?void 0:e.id)}))})),f=[].concat(s(f),s(null!==(u=null===(c=Fai.top["photoSlideTmp"+t.moduleId])||void 0===c?void 0:c.photoDataList)&&void 0!==u?u:[])),Site.photoSlide.Options["module".concat(t.moduleId)].photoDataList=f)}}))}),200)}},{key:"initAnimation",value:function(){var e=this,n=this.module.id;bizShared.AnimationApis.hasAnimationManageMap(n)?t.refreshOneSiteAnimationElPlay(n):setTimeout((function(){if(jzUtils.digGet(e.module,"commProp.cal[0].t")){var t=jzSite.getModuleTypeForAnimation(n),i=t<0?1:t,o=jzSite.getModuleStructureTypeForAnimation(i,n);jzSite.readyForContentAnimation(n,i,o)}if(Fai.top.limit_animation){$("#module".concat(n)).removeClass("animateModule"),$("#module".concat(n," .animateModule")).removeClass("animateModule");var r=$("#module".concat(n," .formMiddle").concat(n));r.length>0&&r.removeClass("fk-formMiddle-hidden")}else f(e.module),e.observeAnimation();Fai.top.limit_pic_effect&&$("#module".concat(n)).removeClass("J-effect-hvr-grow J-effect-hvr-float")}),50)}},{key:"isAutoHeight",value:function(){return 1==parseInt(this.getPerformAttr("_autoHeight"))}},{key:"observeAnimation",value:function(){bizShared.InterSectionObserApi.initAnimationObserver(this.$el[0])}},{key:"isVueModule",value:function(){return"true"===this.getPerformAttr("ssr")}},{key:"checkNestModule",value:function(){return Site.checkNestModule(this.$module)}},{key:"resetXPackModuleAutoHeight",value:function(t){Site.resetXPackModuleAutoHeight(this.$module,undefined,t)}},{key:"getModule",value:function(){var t=this.options.module;return t||this.throwError("未在访客态输出模块数据,请在inc文件中过滤并输出"),t}},{key:"getPattern",value:function(){var t=this.getModule().pattern;return t||this.throwError("未在访客态输出 pattern 字段,请在inc文件中过滤并输出"),t}},{key:"throwError",value:function(t){var e=Object.getPrototypeOf(this).constructor.name;throw new Error("".concat(t," [").concat(e,"]"))}},{key:"getAttr",value:function(t){return this.$module.attr(t)}},{key:"setAttr",value:function(t,e){return this.$module.attr(t,e)}},{key:"getStyle",value:function(){return this.options.style}},{key:"getType",value:function(){return this.options.type}},{key:"addClass",value:function(t){return this.$module.addClass(t),this}},{key:"removeClass",value:function(t){return this.$module.removeClass(t),this}},{key:"getModuleFlag",value:function(){var t=this.getModule().flag;return isNaN(t)&&this.throwError("未在访客态输出 flag 字段,请挂载 flag 字段到模块数据中"),t}},{key:"setModuleFlag",value:function(t){this.getModule().flag=t}},{key:"getFlag",value:function(t){var e=this.getModuleFlag();return this.getBitMemory(e,t)}},{key:"setFlag",value:function(t,e){var n=this.getModuleFlag();n=this.setBitMemory(n,t,e),this.setModuleFlag(n)}},{key:"checkBit",value:function(t,e){return this.getBitMemory(t,e)}},{key:"getBitMemory",value:function(e,n){return t.getBitMemory(e,n)}},{key:"setBitMemory",value:function(t,e,n){return n?t|=e:t&=~e,t}},{key:"getPerformAttr",value:function(t){if(Fai.top._manageMode){var e=this.perform.moduleAttr[t];return void 0===e?e:String(e)}if(y(t)){var n=this.perform.moduleAttr[t];return void 0===n?(n=function(t){return b[t]}(t),void 0===n?n:String(n)):String(n)}return this.getAttr(t)}},{key:"setPerformAttr",value:function(t,e){return Fai.top._manageMode||y(t)?this.perform.moduleAttr[t]=e:this.setAttr(t,e)}},{key:"initFLoatLayer",value:function(){var t=this.options.floatLayerId;t>0&&new window.jzSite.FloatLayer(t,{moduleId:this.moduleId})}}],i=[{key:"setHistoryPaginationClick",value:function(e,n){setTimeout((function(){var i=n.style,o=n.popupWay,r=n.openPagenation,a=n.blob0,s=n.flag,l=n.prop0,u=n.id;if(v.includes(i)){var c=116==i?null==a?void 0:a.selectStyle:27==i?l:i,f="m".concat(u,"_").concat(c,"pageno");(function(t){$.cookie(t,null,{expires:-2,path:"/",domain:location.host})})(f),116==i&&r&&4!=(null==a?void 0:a.selectStyle)&&null!=o&&o.includes("_self")&&m(u,".m_news_content a",f,e),27==i&&t.getBitMemory(s,512)&&4!=l&&5!=l&&m(u,2==l?".photoGroupALink":".J_photoForms a",f,e),[2,74,12,8,13].includes(i)&&!t.getBitMemory(s,8)&&!t.getBitMemory(s,1)&&t.getBitMemory(s,1024)&&m(u,"table a",f,e)}}),500)}},{key:"getBitMemory",value:function(t,e){return(t&e)==e}},{key:"getPerformAttr",value:function(t,e){if(h(t).getPerformAttr)return h(t).getPerformAttr(e)}},{key:"setPerformAttr",value:function(t,e,n){h(t).setPerformAttr&&h(t).setPerformAttr(e,n)}},{key:"install",value:function(t){jzModule.SiteModule.install(t),jzModule.ManageModule&&jzModule.ManageModule.install(t),jzModule._executeModuleLoadedCallback(t.id)}},{key:"activeModule",value:function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(p.includes(t.module.style)&&t.module.isSSR){var n,i=w[t.module.id];i&&i.inCol?(0===Object.keys(t.perform.inlineStyle).length&&(t.perform.inlineStyle=JSON.parse(i.inlineStyle)),t.module.inCol||(t.module.inCol=JSON.parse(i.inCol))):t.module.inCol&&(w[t.module.id]={inCol:JSON.stringify(t.module.inCol),inlineStyle:JSON.stringify(t.perform.inlineStyle)}),new Vue({el:e.el?e.el:"#module"+t.module.id,provide:r({module:t.module,perform:t.perform,options:t.options,moduleOptions:t.moduleOptions},null!==(n=null==e?void 0:e.provide)&&void 0!==n?n:{}),data:function(){return{moduleInfo:t.module}},render:function(t){return t(jzModule.ModuleComponent)}})}jzModule.Module.install(r(r({},t.moduleOptions),{},{originalModule:t.module,globalOption:t.options}))}},{key:"refreshOneSiteAnimationElPlay",value:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0,e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Fai.top._manageMode,n=bizShared.AnimationApis.getAnimationManage(t);bizShared.AnimationApis.hasAnimationManageMap(t)&&bizShared.ANIMATION_TYPE_LIST.forEach((function(i){var o=n.animation[i]||{};if(o.type||o.type&&(!e||Site.getModuleAttrAnimation(t).contentAnimationList[0].t))switch(i){case bizShared.ANIMATION_TYPE.CONTENT:jzSite.refreshOneSiteAnimationEl(t),n.contentPlay();break;case bizShared.ANIMATION_TYPE.ADMISSION:case bizShared.ANIMATION_TYPE.EMPHASIS:jzSite.refreshOneSiteAnimationEl(t);break;default:return}}))}}],n&&u(e.prototype,n),i&&u(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}()},7751:function(t,e,n){function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t){for(var e=1;e1?i-1:0),r=1;r1&&arguments[1]!==undefined?arguments[1]:1;this._checkArray();var i=this.hiddenModuleIndex(t);if(-1!==i){for(var o=arguments.length,r=new Array(o>2?o-2:0),a=2;a1&&arguments[1]!==undefined?arguments[1]:"";if(e){var n=t.classList;n?n.remove(e):$(t).removeClass(e)}},y=function(){function t(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),p&&(this.settings=Object.assign({},d,e),this.supportsIntersectionObserver=c(),this.supportsIntersectionObserver?(this.images=n||document.querySelectorAll(this.settings.selector),this._observer=null,this._init()):this._showAllImage(n))}var e,n,i;return e=t,n=[{key:"observeImages",value:function(t){var e=this;if(void 0!==t&&!(t instanceof NodeList||t instanceof Node))throw new Error("请传入node或者nodeList");if(this.supportsIntersectionObserver){var n=t||this.images,i=n instanceof NodeList?n:[t];Array.from(i).filter(this._filterImages.bind(this)).forEach((function(t){(function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"";if(e){var n=t.classList;return n?n.contains(e):$(t).hasClass(e)}})(t,e.settings.isTransparentClass)||v(t,e.settings.placeholderClass),e._observer.observe(t)}))}else this._showAllImage(t)}},{key:"_init",value:function(){var t=this.settings,e={root:t.root,rootMargin:t.rootMargin,threshold:t.threshold};this._observer=new IntersectionObserver(this._onIntersection.bind(this),e),this.observeImages()}},{key:"_onIntersection",value:function(t){var e=this;t.forEach((function(t){f(t)&&e._handleImageChange(t.target)}))}},{key:"_handleImageChange",value:function(t){var e=this,n=this.settings,i=n.originalSrcAttr,o=n.useWebp,r=h(t,i),a=o&&s()?l(r):r;(function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return new Promise((function(e,n){var i=document.createElement("img");i.src=t,i.onload=function(t){e(t)},i.onerror=function(t){n(t)}}))})(a).then((function(){e._changeImage(t,a)}))["catch"]((function(){e._changeImage(t,r)}))}},{key:"_changeImage",value:function(t,e){var n=this.settings,i=n.loadedAttr,o=n.animationClass,r=n.placeholderClass,a=n.animationDuration;"img"===t.tagName.toLowerCase()?m(t,"src",e):t.style.backgroundImage="url(".concat(e,")"),i&&m(t,i,"true"),r&&g(t,r),o&&(v(t,o),setTimeout((function(){g(t,o)}),a)),this._observer&&this._observer.unobserve(t)}},{key:"_showAllImage",value:function(t){var e=this.settings,n=e.originalSrcAttr,i=e.selector,o=e.loadedAttr;$(t||i).each((function(t,e){var i=$(e),r=i.attr(n);i.is("img")?i.attr("src",r):i.css("background-image","url(".concat(r,")")),o&&i.attr(o,"true")}))}},{key:"_filterImages",value:function(t){var e=this.settings,n=e.originalSrcAttr,i=e.loadedAttr,o=h(t,n),r="true"!==h(t,i);return o&&r}},{key:"forceLoadImages",value:function(t){var e=this;t.find(this.settings.selector).each((function(t,n){e._handleImageChange(n)}))}}],n&&o(e.prototype,n),i&&o(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();t.exports=y},3038:function(t,e,n){var i=n(5441),o=n(585),r=o.isSupportWebp,a=o.imgToWebp,s=".J_img_lazyLoad, img[data-original]",l=null;function u(t){null!==l&&l.observeImages(t)}t.exports={init:function(){var t={selector:s,useWebp:Fai.top.webpOptOpen};l=new i(t)},addImgLazyLoad:u,checkLazyLoad:function(t){null!==l&&t.find(s).each((function(t,e){u(e)}))},isSupportWebp:r,imgToWebp:a,forceLoadImages:function(t){null!==l&&l.forceLoadImages(t)}}},585:function(t){t.exports={isSupportWebp:function e(){if("undefined"!=typeof e._value)return e._value;var t="image/webp",n=document.createElement("canvas");return e._value=!(!n.getContext||!n.getContext("2d"))&&0===n.toDataURL(t).indexOf("data:"+t)},imgToWebp:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return/(\.faiusr\.com)|(\.aaadns\.com)/.test(t)&&(t=t.replace(/(jpg|jpeg|png|gif)$|(jpg|jpeg|png|gif)\?v=/,(function(t,e,n){return e?e+".webp":n?t.replace(n,n+".webp"):void 0}))),t}}},7214:function(t,e,n){function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){for(var n=0;n0&&setTimeout((function(){t.$el.find(".accordion_pack_container").toggleClass("js_triggerMutationOb")}),300),this.fixModuleHeightInVisitMode()}},{key:"fixModuleHeightInVisitMode",value:function(){Fai.top._manageMode||("number"==typeof this.module.collapseHeight&&this.$el.find(".accordion_item").height(this.module.collapseHeight),"number"==typeof this.module.expandHeight&&this.$el.find(".accordion_item_active").height(this.module.expandHeight))}},{key:"getModuleMaxHeight",value:function(t){for(var e=Array.from(t).reduce((function(t,e){var n=$(e),i=parseInt(n.css("top"))||0,o=n.outerHeight(!0);return i+o>t?i+o:t}),0),n=arguments.length,i=new Array(n>1?n-1:0),o=1;o\n\t\t\t\t\t.accordion_item_expand{\n\t\t\t\t\t\tfilter: alpha(opacity=0);\n\t\t\t\t\t}\n\t\t\t\t\t.accordion_item_collapse {\n\t\t\t\t\t\tfilter: alpha(opacity=100);\n\t\t\t\t\t}\n\t\t\t\t\t.accordion_item_active .accordion_item_expand {\n\t\t\t\t\t\tfilter: alpha(opacity=100);\n\t\t\t\t\t}\n\t\t\t\t\t.accordion_item_active .accordion_item_collapse {\n\t\t\t\t\t\tfilter: alpha(opacity=0);\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t')}}],r=[{key:"triggerModuleAnimation",value:function(t,e){var n=e&&e.find(".form[data-animationsid]")||[];n.length&&n.each((function(){var t=parseInt($(this).attr("data-animationsid"));bizShared.AnimationApis.getAnimationManage(t).isLoopRun(bizShared.ANIMATION_TYPE.CONTENT)&&jzModule.Module.refreshOneSiteAnimationElPlay(t,!1)}))}},{key:"triggerFlvModuleLazyLoad",value:function(t){t.find("video").trigger("appear")}}],i&&o(n.prototype,i),r&&o(n,r),Object.defineProperty(n,"prototype",{writable:!1}),e}(c)},5877:function(t,e,n){function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){for(var n=0;n0),jz_free_text1:t?"表单查询":"信息查询",jz_free_text2:n}}}))}return a}(o,i))}}])&&o(n.prototype,i),r&&o(n,r),Object.defineProperty(n,"prototype",{writable:!1}),e}(c)},2863:function(t,e,n){function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){for(var n=0;n0&&arguments[0]!==undefined?arguments[0]:{};this.showList=!1;var e=$("#m_friendlink__list-".concat(this.moduleId)),n=$("#m_friendlink__layer-".concat(this.moduleId));t.noAnimate||0==this.module.prop1?e.hide():e.slideUp(),n.hide()}},{key:"setListLayerStyle",value:function(){this.setListStyle(),this.setLayerStyle()}},{key:"generateListLayer",value:function(){if(!this.isMultiColumn()){var t=$("#m_friendlink__list-".concat(this.moduleId)),e=$("#m_friendlink__layer-".concat(this.moduleId));t.length&&t.remove(),e.length&&e.remove(),this.setIsGenerate(!1),this.generateListDom(),this.generateLayerDom(),this.setIsGenerate(!0),this.setListDataChange(!1)}}},{key:"generateLayerDom",value:function(){var t='\n \n '),e=this;$("#web").append(t),$("#m_friendlink__layer-".concat(this.moduleId)).click((function(){e.toggleFoucs(),e.toggleList()}))}},{key:"generateListDom",value:function(){for(var t=[],e=this.module.prop3,n=0;n\n \n ").concat(i.name,"\n \n \n ");t.push(o)}var r='\n \n ");$("#web").append(r)}},{key:"setLayerStyle",value:function(){$("#m_friendlink__layer-".concat(this.moduleId)).css({width:$("html").width()+"px",height:$("html").height()+"px"})}},{key:"setListStyle",value:function(){var t=$("#m_friendlink__list-".concat(this.moduleId)),e=$(this.$el).find(".m_friendlink__wrapper")[0].getBoundingClientRect(),n=e.left,i=e.top,o=e.width,r=e.bottom,a={left:n+"px",width:o+"px"};a=(this.module._manageMode?0==this.module.pattern.fl.dir:0==this.module.dir)?Object.assign(a,{top:r+5+"px",bottom:""}):Object.assign(a,{bottom:$("html").height()-i+5+"px",top:""}),t.css(a)}}],r=[{key:"resizeModule",value:function(t,e){var n=Site.getElemId(t.element),i=jzModule.SiteModule.find(n).module.pattern.fl;e&&(i.rect.t=1),i.rect.w=t.size.width,i.rect.h=t.size.height}}],i&&o(n.prototype,i),r&&o(n,r),Object.defineProperty(n,"prototype",{writable:!1}),e}(c)},4136:function(t,e,n){function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){for(var n=0;n0&&"none"!==e.css("display")&&e.hasClass("formStyle109")&&0===$("#hiddenModuleForms").find("#module"+t).length}}])&&o(n.prototype,i),r&&o(n,r),Object.defineProperty(n,"prototype",{writable:!1}),e}(c)},1327:function(t,e,n){function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){for(var n=0;n=s&&o<=s+i.outerWidth()&&r>=l-$(this).height()&&r<=l+i.outerHeight()?i.off("mouseleave.showPanel").on("mouseleave.showPanel",(function(e){setTimeout((function(){var n=Array.from(t.$el.find(".m_newsgroup__item-1")).some((function(t){var n=$(t),i=e.pageX,o=e.pageY,r=n.offset(),a=r.left,s=r.top;return i>=a&&i<=a+n.outerWidth()&&o>=s&&o<=s+n.outerHeight()}));n||t.panelHoming()}),20)})):t.panelHoming())}}))}}},{key:"initEvent",value:function(){var t=this.$el,e=t.find(".m_newsgroup__controlor");e.off("click.slidepanel"),t.find(".m_newsgroup__item-1").off("mouseover.fix").off("mouseover.fix"),(0==this.module.groupType||this.module.clickExpand)&&e.off("click.slidepanel").on("click.slidepanel",(function(){$(this).find(".m_newsgroup__switchicon").toggleClass("m_newsgroup__switchicon-rotate"),$(this).siblings(".m_newsgroup__itemwrap").slideToggle()}))}},{key:"initHoverBgEvent",value:function(){var t=this,e="";this.$el.find(".m_newsgroup__controlor").off("mouseover.hoverbg"),this.$el.find(".m_newsgroup__controlor").not(".m_newsgroup__controlor-nothover").off("mouseover.hoverbg").on("mouseover.hoverbg",(function(){var n=(t.module.pattern||{}).chb||{},i="undefined"==typeof n.r?-1:n.r,o=n.c||"#000",r=n.p||"",a="",s="";4==i?a="background-size:100% 100%;background-position:top;":5==i&&(a="background-size:100%;background-position:top;"),s+="background: "+d(i,o,r)+"; "+a+"\n",2==n.y&&(e=$(this).attr("style")||"",$(this).attr("style",s))})),this.$el.find(".m_newsgroup__controlor").off("mouseout.hoverbg").on("mouseout.hoverbg",(function(){2==((t.module.pattern||{}).chb||{}).y&&$(this).attr("style",e)}))}},{key:"initHoverTextEvent",value:function(){var t=this,e="";this.$el.find(".m_newsgroup__controlor").off("mouseover.hovertext"),this.$el.find(".m_newsgroup__controlor").not(".m_newsgroup__controlor-nothover").off("mouseover.hovertext").on("mouseover.hovertext",(function(){var n=(t.module.pattern||{}).chf||{},i=n.s||12,o=n.w||0,r=n.u||0,a=n.i||0,s=n.f||"SimSun",l=n.c||"#000000",u={"font-size":i+"px","font-family":s,"font-style":1==a?"italic":"normal","font-weight":p(o),"text-decoration":1==r?"underline":"blink",color:l},c=$(this).find(".m_newsgroup__href");e=c.attr("style")||"",n.y?c.css(u):t.module._manageMode?c.css("color",Fai.top._majorColorData):c.css("color",t.module._majorColorData)})),this.$el.find(".m_newsgroup__controlor").off("mouseout.hovertext").on("mouseout.hovertext",(function(){$(this).find(".m_newsgroup__href").attr("style",e)}))}}])&&o(n.prototype,i),r&&o(n,r),Object.defineProperty(n,"prototype",{writable:!1}),e}(c)},5067:function(t,e,n){function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){for(var n=0;n=i.width())){var o=$(t.target),r=o.hasClass("m_news_area"),a=o.parent().hasClass("m_news_area"),s=o.parents(".m_news_area");r?o.addClass("slider_arrow"):a?o.parent().addClass("slider_arrow"):s.length&&s.addClass("slider_arrow")}}})),this._style5Looper&&window.clearInterval(this._style5Looper),this.module.openScroll&&(this._style5Looper=setInterval((function(){var n=e.$el.find(".m_news_4"),i=e.$el.find(".m_news_4 .m_news_list");!1===t._mouseIn&&n.width()1&&arguments[1]!==undefined?arguments[1]:{loop:!1};if(!this.carouselLock){var n=this;this.carouselLock=!0;var i=t.hasClass("news_left_arrow")?1:0,o=this.$el.find(".m_news_4").width(),r=this.$el.find(".m_col_line").outerWidth(!0),a=this.$el.find(".m_news_4 .m_news_list"),s=a.width(),l=parseInt(a.css("left"));i||(o=0-o,r=0-r);var u=l+o+r;!0===e.loop&&Math.abs(u)>=s&&(u=0),i&&0==l||Math.abs(u)>=s?this.carouselLock=!1:(u>0?u=0:Math.abs(o)+Math.abs(u)>s&&(u=-(s-Math.abs(o))),a.animate({left:"".concat(u,"px")},800,(function(){n.carouselLock=!1})))}}},{key:"bindNewsWrapEvent",value:function(){var t=this;this.$el.on("mouseover.lock",(function(e){$(e.target).parents("#module".concat(t.options.id)).length&&(t.lock=!0)})).on("mouseleave.unlock",(function(){t.lock=!1,clearTimeout(t.timer),t.timer=setTimeout((function(){t.scrollCount||t.newsScroll()}),1e3)}))}},{key:"haveContentAnimate",value:function(){var t=this;if("undefined"==typeof _moduleListForContent)return!1;this.haveAnimation=window._moduleListForContent.some((function(e){return e.moduleId==t.moduleId}))}},{key:"newsScroll",value:function(){this.lock||this.editPanelLock||!this.isCanScroll()||this.haveAnimation||(this.scrollCount=!0,this.newsSetting.colCount?this.mutiScroll():this.singleScroll())}},{key:"singleScroll",value:function(){if(this.scrollTarget=this.$el.find(".m_news_list"),this.newsSetting.scrollDir){var t=this.scrollTarget.find(".m_news_content:last"),e=t.prev(),n=e.find(".m_row_line"),i=t.outerHeight(!0);2!==this.newsSetting.selectStyle&&(i+=n.outerHeight(!0)),this.newsAnimate(i,t,e)}else{var o=this.scrollTarget.find(".m_news_content:first"),r=o.next(),a=r.find(".m_row_line"),s=o.outerHeight(!0)+a.outerHeight(!0);this.newsAnimate(-s,o,r)}}},{key:"mutiScroll",value:function(){if(this.scrollTarget=this.$el.find(".m_news_wrap"),this.newsSetting.scrollDir){var t=this.scrollTarget.find(".m_row_class:last"),e=t.outerHeight(!0);this.newsAnimate(e,t)}else{var n=this.scrollTarget.find(".m_row_class:first"),i=n.nextAll(".m_row_class").find(".m_row_line"),o=n.outerHeight(!0)+i.outerHeight(!0);this.newsAnimate(-o,n)}}},{key:"newsAnimate",value:function(t,e,n){var i=this;new Promise((function(e){i.scrollTarget.animate({top:t+"px"},i.speedList[i.newsSetting.scrollSpeed],(function(){e()}))})).then((function(){e.hide(),i.scrollTarget.css("top",0),i.newsSetting.colCount||(i.newsSetting.scrollDir?n.prependTo(i.scrollTarget):n.appendTo(i.scrollTarget)),i.newsSetting.scrollDir?e.prependTo(i.scrollTarget):e.appendTo(i.scrollTarget),e.fadeIn((function(){i.setTimeoutScroll()}))}))}},{key:"setTimeoutScroll",value:function(){this.scrollCount=!1,this.newsScroll()}},{key:"start",value:function(){var t=this;return function(){4==t.newsSetting.selectStyle?t.bindSliderEvent():(t.lock=!1,setTimeout((function(){t.scrollCount||t.newsScroll()}),1e3))}}},{key:"preventScroll",value:function(){this.editPanelLock=!0}},{key:"restartScroll",value:function(){this.editPanelLock=!1,this.start()()}},{key:"createQuestion",value:function(t){Site.popupBox({htmlContent:this.createHtml(),width:530,height:450,extClass:"goBackQuestion",paddingBottom:0,boxId:1211}),this.initQuestEvent(t)}},{key:"createHtml",value:function(){return'\n\t\t\t
希望您有更好的体验,真诚得需要您的建议!
\n\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\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t再观察观察\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t影响到网站布局\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t展示效果没什么区别\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t其他\n\t\t\t\t\t\t\t\n\t\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
\n\t\t'}},{key:"initQuestEvent",value:function(t){var e=this;$(".goBackQuestion .radio").click((function(){$(this).parent().siblings().find(".radio_active").removeClass("radio_active"),$(this).toggleClass("radio_active")})),$(".goBackQuestion .comfirm").click((function(){$(".goBackQuestion .radio_active").each((function(n,i){var o=parseInt($(i).attr("data-log"));if($(i).hasClass("radio_input")){var r=$(".goBackQuestion .input").val();if(r.length>100||!r.length)return void Fai.ing("提交的文字不可超过100个或少于1个。",1e3);$.ajax({type:"get",url:Site.addRequestPrefix({newPath:"/ajax/feedback_h.jsp?cmd=addNewsListBackReason",oldPath:Site.genAjaxUrl("feedback_h.jsp?cmd=addNewsListBackReason")}),data:{reason:encodeURIComponent(r)},success:function(n){(n=$.parseJSON(n)).success&&($("#popupBg1211").remove(),$("#popupBox1211").remove(),jzModule.ManageModule.find(e.moduleId).switchModuleVersion(t))}})}else Site.logDog(201220,o),$("#popupBg1211").remove(),$("#popupBox1211").remove(),jzModule.ManageModule.find(e.moduleId).switchModuleVersion(t)}))}))}},{key:"bindJumpDetailEvent",value:function(){this.$el.find(".m_news_content").off("click.jumpDetail").on("click.jumpDetail",(function(t){var e=t.target,n=$(e);if(!["news_group","news_group_wrap","news_img","article_title","title_content","m_news_dotarea",".m_news_dot"].some((function(t){return n.hasClass(t)}))){var i=$(this).find(".article_title:visible");i.length&&i[0].click()}}))}},{key:"compatIEDot",value:function(){!Fai.isIE()||_manageMode||this.autoWrap||this.$el.find(".title_content").each((function(t,e){var n=$(e)[0].getBoundingClientRect().width;n=Math.ceil(100*n)/100,$(e).width(n).addClass("news_ie_ellipsis")}))}},{key:"compatIESummaryDot",value:function(){var t=this;Fai.isIE()&&!_manageMode&&this.module.newsSummary&&this.$el.find(".news_summary").each((function(e,n){var i=$(n).height(),o=parseInt($(n).css("line-height")),r=Math.ceil(i/o),a=i/r,s=t.newsSetting.rowCount+1,l=s*a;s=18||s.left-r.left>=18||s.left+e.width()+180&&o.map.panBy(r,0,{noAnimation:"none"}),t.removeEventListener("tilesloaded",s))})),Site.logJZFdp("jz_baidu_maps",{jz_content_terminal:"site",jz_version:Fai.top.jzVersion,jz_free_bool1:!Fai.top._manageMode})}},{key:"refreshMarker",value:function(t,n,i){var o,r,a,s=this.baiduContainerId,l=this.getBdStyle(),u=this.getMultiAddress(),c=1==l,f=u.length>1&&!c,d={anchor:new BMap.Size(10,25)},p=this;(o=this.map).clearOverlays(),r=new BMap.Point(u[0].x,u[0].y);for(var h=[],m=[],v=0;v0)break;m.push(_),f&&(d.imageOffset=new BMap.Size(-5-34*v,-4)),g=new BMap.Icon(Fai.top._resRoot+"/image/onlineMap/"+(f?"multi_icon":"multi_only")+".png?v=201809101152",new BMap.Size(24,29),d),y=new BMap.Marker(_,{icon:g});var w="";u[v].an&&(w+='
'+Fai.encodeHtml(u[v].an)+"
"),u[v].da&&(w+='
'+Fai.encodeHtml(u[v].da)+"
"),u[v].oi&&(w+='
'+Fai.encodeHtml(u[v].oi)+"
"),h[v]=b=new e.ComplexCustomOverlay({point:_,content:'
'+w+"
",boxClass:"map_msg_box J_msg_box__"+v,arrowClass:"map_msg_box__arrow",zIndex:1,offset:{x:0,y:-35}}),o.addOverlay(y),0==v&&o.addOverlay(b),function(t,e,n,i){p.fixAddEventListener(n,"click",(function(){h.forEach((function(e,n){n!=t&&o.removeOverlay(e)})),o.addOverlay(e),o.addOverlay(n),o.panTo(i)}))}(v,b,y,_)}if(p.fixAddEventListener(o,"resize",(function(){k()})),a=$("#"+s),this.initMapEvent(o,a,void 0,r,void 0),u.length>1&&!c)this.setZoom(m,o);else{var S=new BMap.Point(u[0].x,u[0].y);o.centerAndZoom(S,u[0].z)}function k(){var t,e,n,i,r,a,s=$("#"+p.baiduContainerId),l=[];if(1!==p.getBdStyle())u.forEach((function(t){l.push(new BMap.Point(t.x,t.y))})),a=(i=o.getViewport(l)).center,r=i.zoom,o.centerAndZoom(a,r);else{l.push(new BMap.Point(u[0].x,u[0].y)),a=(i=o.getViewport(l)).center,r=i.zoom,o.centerAndZoom(a,r),e=(t=s.find(".map_msg_box")).offset();var c=s.parent().find(".multi_panel"),f=c.offset(),d=c.width(),h=f.left+d-e.left;h>0&&p.map.panBy(h,0,{noAnimation:"none"})}e=(t=s.find(".map_msg_box")).offset(),((n=s.offset()).top-e.top>=18||n.left-e.left>=18||n.left+s.width()+18"),t.da&&(s+='
'+Fai.encodeHtml(t.da)+"
"),t.oi&&(s+='
'+Fai.encodeHtml(t.oi)+"
"),r=new e.ComplexCustomOverlay({point:a,content:'
'+s+"
",boxClass:"map_msg_box",arrowClass:"map_msg_box__arrow",zIndex:1,offset:{x:0,y:-35}}),n.addOverlay(o),n.addOverlay(r),n.panTo(a,{noAnimation:"none"}),this.setZoom([a],n,n.getZoom());var l,u,c,f,d=$("#module"+this.moduleId),p=d.find(".multi_panel"),h=d.find(".map_msg_box");p.length<1||h.length<1||(l=h.offset(),u=p.offset(),c=p.width(),(f=u.left+c-l.left)>0&&this.map.panBy(f,0,{noAnimation:"none"}))}},{key:"setZoom",value:function(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:-1,i=e.getViewport(t),o=i.zoom,r=i.center;e.centerAndZoom(r,n>0?n:o)}},{key:"updataGoogleInfo",value:function(t,e){try{var n=e||this.getMapInfo(),i=new google.maps.LatLng(t.x,t.y);this.g_infoWin.close(this.googleMap,this.marker),this.g_infoWin=new google.maps.InfoWindow({content:Fai.encodeHtml(n),width:"auto",height:"auto"}),this.g_infoWin.open(this.googleMap,this.marker),this.marker.setPosition(i)}catch(o){}}},{key:"googleMapInitial",value:function(){var t,e,n,i,o,r,a,s=this.googleContainerId,l=document.getElementById(s),u=this.getMapGooglePos(),c=this.getMapInfo(),f=u.x,d=u.y,p=window.google;p&&p.maps&&p.maps.LatLng?(i=new google.maps.LatLng(f,d),o=new google.maps.LatLng(f,d),r={draggable:!0,zoom:u.z,streetViewControl:!1,center:i,scaleControl:!0,mapTypeId:google.maps.MapTypeId.ROADMAP},this.googleMap=t=new google.maps.Map(l,r),a={map:t,position:o,animation:google.maps.Animation.DROP,draggable:!0},this.marker=e=new google.maps.Marker(a),e.setMap(t),this.g_infoWin=n=new google.maps.InfoWindow({content:Fai.encodeHtml(c),width:"auto",height:"auto"}),n.open(t,e),this.initGoogleMapEvent($(l)),Site.logJZFdp("jz_google_maps",{jz_content_terminal:"site",free_bool_1:!1,jz_free_bool2:!Fai.top._manageMode})):Fai.ing("当前谷歌地图在中国区已经被屏蔽",!0)}},{key:"doGoogleSearch",value:function(t,e){var n=this.googleMap,i=this.marker,o=e.p,r=e.a,a=new google.maps.Geocoder,s=o+r;a.geocode({address:s},(function(t,e){if(e==google.maps.GeocoderStatus.OK){var o=(t=t[0]).geometry.viewport;n.fitBounds(o),i.setPosition(t.geometry.location),i.setTitle(r)}}))}},{key:"centerPoint",value:function(){var t=this.conf.mapPos,e=new BMap.Point(t.x,t.y);this.map.centerAndZoom(e,t.z)}},{key:"initMapEvent",value:function(t,e,n,i,o){var r=this;Fai.top._manageMode&&e.on("mousedown",(function(t){t.stopPropagation()})),r.fixAddEventListener(t,"click",(function(e){e.overlay&&r.fixAddEventListener(e.overlay,"infowindowopen",(function(){t.removeOverlay(o)}))}))}},{key:"initGoogleMapEvent",value:function(t){Fai.top._manageMode&&t.on("mousedown",(function(t){t.stopPropagation()}))}},{key:"loadMapFailure",value:function(t,e){var n="
地图加载失败
"+e+"
";$("#"+t).html(n)}},{key:"addComplexCustomOverlay",value:function(){var t=this;function e(t){this.point=t.point,this.content=t.content||"",this.zIndex=t.zIndex||1,this.boxClass=t.boxClass||"",this.boxStyle=r(t.boxStyle),this.arrowClass=t.arrowClass||"",this.arrowStyle=r(t.arrowStyle),this.offset=t.offset||{x:0,y:0}}function n(t){if(t.map)try{var e=t.map.pointToOverlayPixel(t.point);t.box.style.left=e.x-parseInt($(t.box).width())/2-(parseInt(o(t.box,"padding-left"))+parseInt(o(t.box,"padding-right")))/2+t.offset.x+"px",t.box.style.bottom=-e.y+parseInt(o(t.arrow,"height"))-t.offset.y+"px",t.arrow.style.left=parseInt($(t.box).width())/2+10+"px"}catch(n){console.error(n)}}function o(t,e){if("undefined"!=typeof getComputedStyle){var n=getComputedStyle(t,null).getPropertyValue(e);return"opacity"==e?100*n:n}if("undefined"!=typeof t.currentStyle)return"opacity"==e?Number(t.currentStyle.getAttribute("filter").match(/(?:opacity[=:])(\d+)/)[1]):t.currentStyle.getAttribute(e)}function r(t){var e="";if("string"==typeof t)e=t;else if("object"==i(t))for(var n in t)e+=n+":"+t[n]+";";return e}return e.prototype=new BMap.Overlay,e.prototype.initialize=function(t){return this.map=t,this.box=document.createElement("div"),this.box.className=this.boxClass,this.box.style.cssText=this.boxStyle,this.box.innerHTML=this.content,this.close=document.createElement("div"),this.close.className="close",this.arrow=document.createElement("div"),this.arrow.className=this.arrowClass,this.arrow.style.cssText=this.arrowStyle,this.box.appendChild(this.arrow),this.box.appendChild(this.close),t.getPanes().labelPane.appendChild(this.box),this.boxWidth=o(this.box,"width"),this.initDefaultEvent(t),this.box},e.prototype.addEventListener=function(e,n){t.fixAddEventListener(this.box,e,n)},e.prototype.initDefaultEvent=function(e){var n=this;t.fixAddEventListener(this,"mousedown",(function(t){t.stopPropagation()})),t.fixAddEventListener(this,"click",(function(t){t.stopPropagation()})),t.fixAddEventListener(this,"touchmove",(function(t){t.stopPropagation()})),t.fixAddEventListener(this,"touchstart",(function(t){-1!=t.target.getAttribute("class").indexOf("close")&&e.removeOverlay(n)})),t.fixAddEventListener(this,"mousedown",(function(t){-1!=t.target.getAttribute("class").indexOf("close")&&e.removeOverlay(n)}))},e.prototype.draw=function(){n(this)},e.prototype.hide=function(){this.box.style.display="none"},e.prototype.reDraw=function(){n(this)},e}},{key:"fixAddEventListener",value:function(t,e,n){t.addEventListener?t.addEventListener(e,n):t.attachEvent&&t.attachEvent(e,n)}}],r&&o(n.prototype,r),s&&o(n,s),Object.defineProperty(n,"prototype",{writable:!1}),e}(c);d.onlineMapCallBackStack=[],d.finishCallBack=!1,t.exports=d},1634:function(t,e,n){function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){for(var n=0;n1&&arguments[1]!==undefined?arguments[1]:-1;Fai.top._manageMode&&jzManage._store.dispatch("pauseDataWatch");var i=t.showType;0===i?(jzUtils.isObject(t.translate)||e.initData(t,"translate",{type:0,top:0,left:0}),jzUtils.isObject(t.shadow)||e.initData(t,"shadow",{type:0}),jzUtils.isObject(t.scale)||e.initData(t,"scale",{type:0})):1===i?jzUtils.isObject(t.entrance)||e.initData(t,"entrance",{type:1,direction:0}):2===i&&(jzUtils.isObject(t.exit)||e.initData(t,"exit",{type:31,direction:0})),86===n&&(jzUtils.isObject(t.textStyle)||e.initData(t,"textStyle",{color:"",fontSize:"",bold:!1,underline:!1,italic:!1})),79===n&&(jzUtils.isObject(t.imageStyle)||e.initData(t,"imageStyle",{type:0}))}},{key:"setModuleAnimation",value:function(t){var n=t.i,i=t.entrance,o=t.exit,r=t.showType,a=p(n);1===r&&(null==a||a.updateAnimation({hoverDdmission:{t:i.type,s:.35,r:i.direction},hoverAppearance:{t:e.getExitType(i.type),s:.35,r:35===i.type||1===i.type?e.getMoveAnimationDirection(i.direction):i.direction}})),2===r&&(null==a||a.updateAnimation({hoverDdmission:{t:e.getEntranceType(o.type),s:.35,r:32===o.type||31===o.type?e.getMoveAnimationDirection(o.direction):o.direction},hoverAppearance:{t:o.type,s:.35,r:o.direction}}))}},{key:"getExitType",value:function(t){return{1:31,35:32,34:33}[t]}},{key:"getEntranceType",value:function(t){return{31:1,32:35,33:34}[t]}},{key:"getMoveAnimationDirection",value:function(t){return{1:2,2:1,3:4,4:3}[t]}}],(i=[{key:"init",value:function(){this.initHoverPack()}},{key:"_module",get:function(){return Fai.top._manageMode?this.module||{}:this.options||{}}},{key:"subModuleList",get:function(){return this._module.prop1||[]}},{key:"packEffectType",get:function(){return this._module.prop5.packEffect.type||0}},{key:"bgEffectType",get:function(){return this._module.prop5.bgEffect.type||0}},{key:"linkData",get:function(){return this._module.prop5.link||{}}},{key:"initHoverPack",value:function(){this.isHoverPack()&&(this._module.hoverStatus=0,this.initSubModuleAnimation(),this.$el.addClass("fk-hoverPack"),this.setPerformAttr("_autoHeight",0),this.initPackEffectInVistor(),this.initHoverPackBgMaskEffect(),this.initHoverEvent(),this.initHoverPackLink(),this.initSimpleTextTransition())}},{key:"isHoverPack",value:function(){return 1===this._module.prop2}},{key:"initSimpleTextTransition",value:function(){Fai.top._manageMode||this.handleSubModule((function(t,e){0===e.showType&&"86"===t.attr("_modulestyle")&&t.find("*").each((function(){var t=$(this);t.contents().filter((function(){return 3===this.nodeType})).text()&&t.attr("need-transition","true")}))}))}},{key:"initHoverPackLink",value:function(){if(Fai.top._manageMode)jzModule.PackManageModule.initHoverPackLinkInManage(this.module.id,this.linkData);else{var t=this.linkData,e=t.h,n=t.ot,i=t.reqArgs,o=t.isOpen;if(1===this.linkData.isOpen){var r=$('');this.$el.append(r),e.includes("Site.hoverQrCode")?r.attr("onmouseover",Fai.decodeHtml(e.replace("_script:",""))):r.on("click.link",(function(t){1===o&&(t.stopPropagation(),t.preventDefault(),JZ.setUrlArgToCookieAndJumpByWindowOpen(e,n?"_blank":"_self",i))}))}}}},{key:"initHoverPackBgMaskEffect",value:function(){var t=this._module.id,e={4:"f-packMaskBg-fade",5:"f-packMaskBg-slide"}[this.bgEffectType]||"",n="f-packMaskBg".concat(t);$("#".concat(n)).length>0&&$("#".concat(n)).remove(),$(".f-packContentBg".concat(t)).before($('
')))}},{key:"initPackEffectInVistor",value:function(){Fai.top._manageMode||(this.handleSubModule((function(t,e){0===e.showType&&t.addClass("pack_module_transition")})),0!=this.packEffectType&&(this.$el.addClass("hove_pack_effect--transition"),1===this.packEffectType&&this.$el.addClass("hove_pack_effect--translateY"),2===this.packEffectType&&this.$el.addClass("hove_pack_effect--boxShadow"),3===this.packEffectType&&this.$el.addClass("hove_pack_effect--translateY hove_pack_effect--boxShadow")))}},{key:"initSubModuleAnimation",value:function(){var t=this;setTimeout((function(){t.handleSubModule((function(t,n){e.initAnimationModuleData(n,Number(t.attr("_modulestyle"))),e.setModuleAnimation(n)}))}),100)}},{key:"initHoverEvent",value:function(){var t=this;Fai.top._manageMode||this.$el.on("mouseenter.hoverPack",(function(){t.changeHoverStatus()})).on("mouseleave.hoverPack",(function(){t.changeNormalStatus()}))}},{key:"changeNormalStatus",value:function(){var t=this;0!==this._module.hoverStatus&&(this._module.hoverStatus=0,this.$el.removeClass("pack_hover_status"),this.handleSubModule((function(e,n){var i=p(n.i);f.forEach((function(o){var r=o.hoverToNormal;jzUtils.isFunction(r)&&r.call(t,e,n,i)}))})),d.forEach((function(e){var n=e.hoverToNormal;jzUtils.isFunction(n)&&n.call(t)})))}},{key:"changeHoverStatus",value:function(){var t=this;1!==this._module.hoverStatus&&(this._module.hoverStatus=1,this.$el.addClass("pack_hover_status"),this.handleSubModule((function(e,n){var i=p(n.i);f.forEach((function(o){var r=o.normalToHover;jzUtils.isFunction(r)&&r.call(t,e,n,i)}))})),d.forEach((function(e){var n=e.normalToHover;jzUtils.isFunction(n)&&n.call(t)})))}},{key:"handleSubModule",value:function(t){var e=this,n=this.$el.find(".form");Array.from(n).filter((function(t){return jzModule.Module.getPerformAttr(Site.getElemId($(t)),"_inpack")>0})).forEach((function(n){var i=$(n),o=Number((i.attr("id")||"").replace("module",""))||-1,r=e.subModuleList.find((function(t){return t.i===o}));t(i,r)}))}},{key:"getSubModuleShowType",value:function(t){return this.getSubModuleAnimationData(t).showType||0}},{key:"getSubModuleAnimationData",value:function(t){var e=this._module.prop1.find((function(e){return e.i==t}));if(e)return e;console.error("getSubModuleAnimationData error")}},{key:"getMutationObserverOptions",value:function(){return{callback:this.mutationCallBack.bind(this),filterSelector:""}}},{key:"mutationCallBack",value:function(t){this.isAutoHeight()&&(Fai.top._mutationObLog&&console.log("".concat(this.moduleId,": 自由容器"),t),Site.autoPackModuleHeight(this.$el))}}])&&o(n.prototype,i),r&&o(n,r),Object.defineProperty(n,"prototype",{writable:!1}),e}(c)},6590:function(t,e,n){function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){for(var n=0;n40&&m(t,"height","auto")}if(o){Site.initSimpleText(r);var s=document.querySelector("#fkEditor-module".concat(e));s.classList.contains("fk-editor-vertical-rl")||s.classList.contains("fk-editor-vertical-lr")||m(s,"height","auto")}Site.checkIEGradientText(e),Site.initFontFaceText(e,i),JZ.setHrefEventHasReqArgs(t),function(t){if(Fai.top._manageMode){var e=t.querySelector(".fk-editor");if(e){var n=e.querySelectorAll("[contenteditable]");n&&n.forEach((function(t){return t.removeAttribute("contenteditable")}))}}}(t)})):Site.initSimpleTextContent(e,n,t)}},{key:"fixModuleHeight",value:function(t){var e,n;if(Fai.top._manageMode){var i=t.attr("_moduleid");if(86==(null===(e=Site.getModuleAttr(i))||void 0===e||null===(e=e.module)||void 0===e?void 0:e.style)){var o=null===(n=Fai.top.moduleAttr["module".concat(i)])||void 0===n||null===(n=n.module)||void 0===n?void 0:n.prop0,r=t[0];if(1!=o&&2!=o){var a=r.querySelector(".fk-editor");h(a)>40&&m(r,"height","auto")}}}}}],(i=null)&&o(n.prototype,i),r&&o(n,r),Object.defineProperty(n,"prototype",{writable:!1}),e}(c);t.exports=b},7105:function(module,__unused_webpack_exports,__webpack_require__){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function ownKeys(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function _objectSpread(t){for(var e=1;e=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,r=t},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw r}}}}function _slicedToArray(t,e){return _arrayWithHoles(t)||_iterableToArrayLimit(t,e)||_unsupportedIterableToArray(t,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,e):void 0}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=0;--r){var a=this.tryEntries[r],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},"catch":function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var o=i.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:O(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),v}},e}function asyncGeneratorStep(t,e,n,i,o,r,a){try{var s=t[r](a),l=s.value}catch(u){return void n(u)}s.done?e(l):Promise.resolve(l).then(i,o)}function _asyncToGenerator(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var r=t.apply(e,n);function a(t){asyncGeneratorStep(r,i,o,a,s,"next",t)}function s(t){asyncGeneratorStep(r,i,o,a,s,"throw",t)}a(undefined)}))}}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var n=0;n0&&arguments[0]!==undefined?arguments[0]:{},needUpdatePrice=Object.values(selectedMap).every((function(t){return null!=t}));if(needUpdatePrice)try{var _this$options$formula=this.options.formulaData,_this$options$formula2=void 0===_this$options$formula?{}:_this$options$formula,_this$options$formula3=_this$options$formula2.formula,formula=void 0===_this$options$formula3?"":_this$options$formula3,_this$options$formula4=_this$options$formula2.variableList,variableList=void 0===_this$options$formula4?[]:_this$options$formula4,updatedPriceExp=formula.replace(/prop(\d+)/gi,(function(){var t=Number(arguments.length<=1?undefined:arguments[1]),e=selectedMap[t];if(null==e)throw"表单项".concat(t,"已删除");var n=variableList.find((function(e){return e.id===t}));if(!n||!n.selectList)throw"找不到表单项".concat(t,"变量数据");var i=_this2.$el.find(".form_item[data-formid='".concat(e,"'] .item_number"));return 0===n.selectList.length?parseFloat($.trim(i.val())):n.selectList[e]})),price=eval(updatedPriceExp).toFixed(2);"Infinity"===Math.abs(price).toString()||isNaN(price)?this.$el.find(".pay_price").text(""):this.$el.find(".pay_price").text(price)}catch(err){Fai.ing(LS.paymentAmountCalcError||"支付金额计算有误,请联系管理员",!0),console.error(err)}}},{key:"initRules",value:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],e=arguments.length>1?arguments[1]:undefined;if(0!==t.length){var n=Site.checkRuleList(t,e),i=n.enableRuleList,o=n.hasRuleItemIds,r=_manageMode?this.options.module.id:this.options.moduleId;this.$el.find(".form_item").each((function(t,n){var a=$(n),s=Number(a.data("formid"));if(o.includes(s)){var l=Number(a.data("type")),u=i.filter((function(t){return t.contentId===s}));Site.initRuleEvent(a,l,u,e,i,r)}}))}}},{key:"showMsg",value:function(t){this.options.isPack?Fai.ing(t,!0):Vue.prototype.$modal.warning({title:t,duration:2e3})}},{key:"hideMsg",value:function(){this.$msgContainer&&(this.$msgContainer.parent().remove(),this.$msgContainer=null)}},{key:"initLoginUrl",value:function(){var t=this.$el.find(".login_url");t.length&&t.attr("href",Site.preprocessUrl({path:"login.jsp?url=".concat(Fai.encodeUrl(Fai.top.location.pathname+Fai.top.location.search)),oldPath:"login.jsp?url=".concat(Fai.encodeUrl(Fai.top.location.pathname+Fai.top.location.search))}))}},{key:"initValidation",value:function(){var t=this;this.$el.find(".validatecode_img, .validatecode_tip").click((function(){t.refreshValidation()}))}},{key:"initPhoneValidateCode",value:function(t,e){var n=this.$el.find(".item_".concat(t.id));if("string"==typeof e&&e.length>0){var i,o=_slicedToArray(null!==(i=e.match(/([a-zA-Z]+)?(\d+)?/))&&void 0!==i?i:["","",""],3),r=o[1],a=o[2];r&&n.find(".J_phoneAreaSelect").val(r),a&&n.find(".J_phoneInput").val(a)}this._initPhoneValidateCode(t,n)}},{key:"_initPhoneValidateCode",value:function(t,e){var n=this,i=!0,o=function(t){11!=t.length?(e.find(".J_validatorCodeBtn").addClass("phone_validator_code_btn__disabled"),i=!0):(e.find(".J_validatorCodeBtn").removeClass("phone_validator_code_btn__disabled"),i=!1)},r=e.find(".phone_number").val();r.length>0&&o(r),e.find(".phone_number").off("input").on("input",(function(t){var e=t.target.value;o(e)}));var a=function(){var i=_asyncToGenerator(_regeneratorRuntime().mark((function o(){var i,r,a,s;return _regeneratorRuntime().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if((i=$.trim(e.find(".phone_number").val()))&&Fai.isMobile(i)){o.next=4;break}return n.showMsg(Fai.format(LS.site_newMobileNumRegular,11)),o.abrupt("return");case 4:if(r=function(e){return new Promise((function(o){var r={formId:n.options.formId,contentId:t.id,validateCode:e,mobile:i};$.ajax({type:"POST",url:Site.addRequestPrefix({newPath:"/ajax",oldPath:"ajax"})+"/siteForm_h.jsp?cmd=wafNotCk_sendValidateCode",data:r,error:function(){o()},success:function(t){var e=$.parseJSON(t);o(e)}})}))},!t.smsImgVerify){o.next=11;break}return o.next=8,Site.createCaptchaPopup(r);case 8:o.t0=o.sent,o.next=14;break;case 11:return o.next=13,r();case 13:o.t0=o.sent;case 14:if(a=o.t0,t.smsImgVerify||(a&&a.success?Fai.ing(LS.memberDialogSendMobileCode,!0):Fai.ing(a&&a.msg?a.msg:LS.js_argsError)),!a||!a.success){o.next=20;break}return s=function(){return new Promise((function(t){var n=60,i=setInterval((function(){n--,e.find(".J_validatorCodeBtn").html(Fai.format(LS.reacquireMemCode,n)),n<1&&(clearInterval(i),t())}),1e3)}))},o.next=20,s();case 20:case"end":return o.stop()}}),o)})));return function(){return i.apply(this,arguments)}}(),s=!1;e.find(".J_validatorCodeBtn").off("click").on("click",(function(){_manageMode?Site.Message.warning("管理态不支持获取验证码"):s||i||(s=!0,a().then((function(){e.find(".J_validatorCodeBtn").html(LS.memberDialogAcquireCode),s=!1})))}))}},{key:"initDatepicker",value:function(t,e){var n=this.$el.find(".item_".concat(t.id));this._initDatepicker(t,n,!1,e),1==t.dateSetting.type&&this._initDatepicker(t,n,!0,e)}},{key:"_initDatepicker",value:function(t,e,n,i){Site.demandLoadCss(Fai.top.datePickerCssSource,(function(){var o,r=t.dateSetting;$.inArray(7,r.banSingleDateList)>-1&&-1===$.inArray(0,r.banSingleDateList)&&r.banSingleDateList.push(0);var a=e.find(".start_time"),s=e.find(".end_time"),l=n?s:a,u="1900:"+(parseInt($.format.date(new Date,"yyyy"))+10),c=0==r.type&&1==r.accuracy,f=new Date,d=new Date(f.getFullYear(),f.getMonth(),f.getDate()),p=_(d)[0],h=r.od.unSelectDay?r.od.unSelectDay.concat([]).sort((function(t,e){return t-e})):[],m=[];1==r.ot.t&&(m=r.ot.unSelectTime.slice());var v=0,g=1==r.banPassDate?d:new Date(1900,0,1),y=null!==(o=null==i?void 0:i.split("至"))&&void 0!==o?o:[];Array.isArray(y)&&y.length>0&&("string"==typeof y[0]&&new Date(y[0].trim())>=g&&a.val(y[0].trim()),"string"==typeof y[1]&&new Date(y[1].trim())>=g&&s.val(y[1].trim()));for(var b=0;b<24;b++)if(-1==$.inArray(b,m)){v=b;break}function _(t){var e=!0,n=t.getDay(),i=t.getTime();return 0==r.od.t?[!0,""]:(1==r.banAll&&(e=!1),0!=n&&6!=n||(e=1!=r.banHoliday),r.banSingleDateList&&r.banSingleDateList.length&&1==r.od.t&&$.inArray(n,r.banSingleDateList)>-1&&(e=!1),1==r.od.t&&$.inArray(i,r.od.unSelectDay)>-1&&(e=!1),1==r.od.t&&$.inArray(i,r.od.openDay)>-1&&(e=!0),[e,""])}l.datetimepicker("destroy").datetimepicker({dateFormat:"yy-mm-dd",changeYear:!0,changeMonth:!0,showButtonPanel:p,yearRange:u,zIndex:9033,hour:v,controlType:"fkControl",showMinute:!1,showTime:!1,hourText:"",hourAccuracy:!0,minDate:g,showTimepicker:c,autoChangeMonthYear:!1,beforeShow:function(t,e){e.dpDiv.addClass("fk-siteFormDatePicker fk-moduleFormDatePicker"),!n&&e.startDateNotLimit&&(e.settings.minDate=g,e.settings.maxDate=null,e.startDateNotLimit=!1)},afterShow:function(t,e){var i;n&&(i=new Date(a.val())).getTime()&&$.datepicker._selectToMonthYearDate("#"+t.id,e,i.getMonth(),i.getFullYear(),i.getDate())},onAfterUpdatePicker:function(t){var e=t.dpDiv.find(".ui-datepicker-today").find(".ui-state-default"),n=0!=t.currentYear||0!=t.currentMonth||0!=t.currentDay;e.hasClass("ui-state-hover")&&!n?e.addClass("fk-todayDefaultStyle"):t.dpDiv.find(".ui-state-hover").removeClass("ui-state-hover")},beforeShowTime:function(t){return!(m.length>0&&$.inArray(t,m)>-1)},beforeShowDay:function(t){return _(t)},onSelect:function(t,e){var i,o=t.replace(/-/g,"/"),l=new Date(o),u=new Date(l.getFullYear(),l.getMonth(),l.getDate()).getTime(),f={minDate:g,maxDate:null};if(n){if(n){for(var d=h.length;d>=0;d--)if(u>=h[d]){i=d;break}"number"==typeof i&&1==r.od.t&&(f.minDate=g.getTime()0)for(d=0;d<365;d++){var p=new Date(u+864e5*d);if(!_(p)[0]){f.maxDate=p;break}}e.startDateNotLimit=!0,f.minDate=new Date(o),s.datetimepicker("option",f)}c||(e.inline=!1)},onAfterSelect:function(t,e){e.inline||n||s.focus()}}),n&&s.off("click.openStart").on("click.openStart",(function(){a.focus()}))}))}},{key:"slideshowView",value:function(t,e,n){var i=_manageMode?this.options.module.id:this.options.moduleId,o=0;e.forEach((function(e,n){e.key===t&&(o=n)}));var r={id:"".concat(n.id,"_").concat(i),previewSrcList:e,initialIndex:o,logEventConfig:{event:"jz_hdpzj",properties:{jz_content_terminal:"site-在线表单",jz_version:Fai.top.jzVersion}}};Site.slideshowView(r)}},{key:"retryUpload",value:function(t,e){try{var n,i,o,r,a=this.uploadPreviewFileListMap.get(e),s=a.uploadPreviewFileList,l=a.upload,u=null!==(n=null===(i=s.filter((function(e){return(null==e?void 0:e.key)===t})))||void 0===i?void 0:i[0])&&void 0!==n?n:{};null==l||null===(o=l.fileObj)||void 0===o||null===(r=o.funUploadFile)||void 0===r||r.call(o,null==u?void 0:u.originalFile)}catch(c){console.log(c)}}},{key:"delUploadFile",value:function(t,e){try{var n,i,o,r,a,s,l,u,c,f=null,d=this.uploadPreviewFileListMap.get(e.id),p=d.uploadPreviewFileList,h=d.upload;if(p.forEach((function(e,n){e.key===t&&(f=p.splice(n,1))})),this.uploadNewVersion()){if(f)"loading"===(null===(n=f)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.status)&&(null==h||null===(i=h.cancel)||void 0===i||i.call(h,null===(o=f)||void 0===o||null===(o=o[0])||void 0===o||null===(o=o.originalFile)||void 0===o?void 0:o.index))}else if(f)"loading"===(null===(r=f)||void 0===r||null===(r=r[0])||void 0===r?void 0:r.status)&&(null==h||null===(a=h.stopUpload)||void 0===a||a.call(h));if(f)if(this.removePreviewFile(f[0],e),!p.length)null===(s=this.$el)||void 0===s||null===(l=s.find)||void 0===l||null===(l=l.call(s,".item_".concat(e.id)))||void 0===l||null===(u=l.find)||void 0===u||null===(u=u.call(l,".preview_file_tips"))||void 0===u||null===(c=u.show)||void 0===c||c.call(u)}catch(m){console.log(m)}}},{key:"uploadNewVersion",value:function(){return!jzUtils.browser.IEVersionCompare("10","LT")}},{key:"changePreviewClass",value:function(t,e){switch(e){case"hide":!t.hasClass("preview_hide")&&t.removeClass("preview_show").addClass("preview_hide");break;case"show":!t.hasClass("preview_show")&&t.removeClass("preview_hide").addClass("preview_show")}}},{key:"removePreviewFile",value:function(t,e){var n,i,o,r,a=_manageMode?this.options.module.id:this.options.moduleId,s=this.$el.find(".item_".concat(e.id)).find(".upload_btn"),l="".concat(t.key,"_").concat(a,"_").concat(e.id),u=$("#".concat(l)),c=(e||{}).fileNumLimit,f=void 0===c?1:c,d=this.uploadPreviewFileListMap.get(e.id).uploadPreviewFileList;null!=u&&u.length&&(u.remove(),(null==d?void 0:d.length)>=f?this.uploadNewVersion()?(null==s||null===(n=s.hasClass)||void 0===n||!n.call(s,"disable_upload"))&&(null==s||null===(i=s.addClass)||void 0===i||i.call(s,"disable_upload")):(this.upload.setButtonDisabled(!0),this.upload.setButtonCursor(-1)):this.uploadNewVersion()?(null==s||null===(o=s.hasClass)||void 0===o?void 0:o.call(s,"disable_upload"))&&(null==s||null===(r=s.removeClass)||void 0===r||r.call(s,"disable_upload")):(this.upload.setButtonDisabled(!1),this.upload.setButtonCursor(-2)))}},{key:"renderPreviewFile",value:function(t,e){var n,i=this,o=_manageMode?this.options.module.id:this.options.moduleId,r=this.$el.find(".item_".concat(e.id)),a=(e||{}).fileNumLimit,s=void 0===a?1:a,l=t||{},u=l.size,c=l.fileType,f=l.src,d=l.title,p=l.percent,h=l.key,m=l.status;if(this.showNewFileUpload(s)){var v=r.find(".upload_btn"),g=r.find(".preview_file_container .preview_file_list"),y="".concat(t.key,"_").concat(o,"_").concat(e.id),b=$("#".concat(y)),_=r.find(".preview_file_tips"),w="preview_file_item--progress",S="preview_file_item_retry",k="preview_file_item_del",C="preview_file_item_error",F="preview_file_item_title",M="preview_file_item_des",T=this.uploadPreviewFileListMap.get(e.id).uploadPreviewFileList;if(null!==(n=b)&&void 0!==n&&n.length)switch(m){case"loading":this.uploadNewVersion()&&this.changePreviewClass(b.find(".".concat(S)),"hide"),this.changePreviewClass(b.find(".".concat(w)),"show"),this.changePreviewClass(b.find(".".concat(C)),"hide"),this.changePreviewClass(b.find(".".concat(F)),"show"),this.changePreviewClass(b.find(".".concat(M)),"hide"),b.find(".preview_file_item--container").find(".jz_progress_bg").css("width","".concat(p,"%"));break;case"success":this.changePreviewClass(b.find(".".concat(w)),"hide"),this.uploadNewVersion()||"image"===c&&b.find(".preview_file_item_box--img").attr("src",f),"pdf"===c&&(b.find(".preview_file_icon--pdf").attr("href",f),b.find(".preview_file_item_title--pdf").attr("href",f)),setTimeout((function(){i.changePreviewClass(b.find(".".concat(M)),"show")}),300);break;case"error":this.uploadNewVersion()&&this.changePreviewClass(b.find(".".concat(S)),"show"),this.changePreviewClass(b.find(".".concat(w)),"hide"),this.changePreviewClass(b.find(".".concat(C)),"show"),this.changePreviewClass(b.find(".".concat(F)),"hide"),this.changePreviewClass(b.find(".".concat(M)),"hide")}else{var x=getPreviewSize(u),P="preview_file_icon preview_file_icon--".concat(c),L="image"===c?'').concat(d,''):''),O='

').concat(null!=d?d:"","

"),j=p<100?'\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n '):"",I="\n\t\t\t\t".concat(O,"\n\t\t\t\t").concat(j,'\n\t\t\t\t

').concat(x,'

\n\t\t\t\t

上传错误!

\n\t\t\t'),E=''),A=''),D='\n\t\t\t\t
  • \n\t\t\t\t\t
    \n\t\t\t\t\t\t').concat(L,'\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t').concat(I,'\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t').concat(E,"\n\t\t\t\t\t\t").concat(A,"\n\t\t\t\t\t
    \n\t\t\t\t
  • \n\t\t\t");g.append(D),b=$("#".concat(y))}if(_.is(":visible")&&_.hide(),"error"==m&&this.uploadNewVersion()&&b.off("click.retry").on("click.retry",".".concat(S),(function(){i.retryUpload(h,e.id)})),b.data("click.del")||(b.off("click.del").on("click.del",".".concat(k),(function(){i.delUploadFile(h,e)})),b.data("click.del",!0)),"error"==m||"success"==m){var B,N,H,z;if((null==T?void 0:T.length)>=s)if(this.uploadNewVersion())(null==v||null===(B=v.hasClass)||void 0===B||!B.call(v,"disable_upload"))&&(null==v||null===(N=v.addClass)||void 0===N||N.call(v,"disable_upload"));else this.upload.setButtonDisabled(!0),this.upload.setButtonCursor(-1);else if(this.uploadNewVersion())(null==v||null===(H=v.hasClass)||void 0===H?void 0:H.call(v,"disable_upload"))&&(null==v||null===(z=v.removeClass)||void 0===z||z.call(v,"disable_upload"));else this.upload.setButtonDisabled(!1),this.upload.setButtonCursor(-2);"image"===c&&b.off("click.previewImage").on("click.previewImage",(function(t){var n=i.uploadPreviewFileListMap.get(e.id).uploadPreviewFileList.filter((function(t){return"image"===(null==t?void 0:t.fileType)}));$(t.target).hasClass("preview_file_item_box--img")&&i.slideshowView(h,n,e)}))}}else if("success"==m){"image"===c&&r.find(".image_view_icon").css("display","inline-block").off("click.previewImage").on("click.previewImage",(function(){var t=i.uploadPreviewFileListMap.get(e.id).uploadPreviewFileList.filter((function(t){return"image"===(null==t?void 0:t.fileType)}));i.slideshowView(h,t,e)}));var q=r.find(".file_name");r.find(".limit_tip").hide(),q.css("display","inline-block"),q.text(t.title)}}},{key:"showNewFileUpload",value:function(t){return t>1}},{key:"getDefaultPreviewFileList",value:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},e=t.files,n=void 0===e?[]:e,i=t.value;return(void 0===i?[]:i).map((function(t){var e,i,o,r=n.find((function(e){return e.id===t}));if(r)return{size:r.size,fileType:(e=r.name,null!==(i=null===(o=window.bizShared)||void 0===o?void 0:o.getFileType(e))&&void 0!==i?i:""),title:r.name,src:"svg"==r.fileType?r.downloadUrl:r.previewUrl,key:r.id,_fileId:r.id,percent:100,status:"success"}})).filter(Boolean)}},{key:"initFileUpload",value:(_initFileUpload=_asyncToGenerator(_regeneratorRuntime().mark((function e(t,n){var i,o,r,a,s,l,u,c,f,d,p,h,m,v,g,y,b,_,w,S,k,C,F,M,T;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:T=function(e,n){var r=e.id,a=e.name,l=e.fullPath,c=e.fileId,f=e.width||0,d=e.height||0,p=e.type||0;i.showNewFileUpload(s)||o.find(".file_name").attr("_tmpFileId",r).attr("_tmpFileName",a).attr("title",a).attr("_fileId",c).attr("_width",f).attr("_height",d).attr("_type",p),u.forEach((function(e){var o,s=null!==(o=null==n?void 0:n.md5)&&void 0!==o?o:null==n?void 0:n.id;e.key===s&&(i.uploadNewVersion()||!i.uploadNewVersion()&&n.name===e.title)&&(e._tmpFileId=r,e._tmpFileName=a,e._fileId=c,e._width=f,e._height=d,e._type=p,!i.uploadNewVersion()&&l&&(e.src=l),e.percent=100,e.status="success",i.renderPreviewFile(e,t))}))},i=this,o=this.$el.find(".item_".concat(t.id)),r=o.find(".upload_btn"),a=(t||{}).fileNumLimit,s=void 0===a?1:a,this.uploadPreviewFileListMap.set(t.id,{uploadPreviewFileList:this.getDefaultPreviewFileList(n),upload:null}),l=this.uploadPreviewFileListMap.get(t.id),u=l.uploadPreviewFileList,c=_createForOfIteratorHelper(u);try{for(c.s();!(f=c.n()).done;)d=f.value,this.renderPreviewFile(d,t)}catch(x){c.e(x)}finally{c.f()}if(o.width()<530&&this.showNewFileUpload(s)&&o.find(".preview_file_container").addClass("preview_file_5"),!_manageMode){e.next=13;break}return r.click((function(){Fai.ing("当前为管理状态,文件上传无效。",!0)})),e.abrupt("return");case 13:if(p="*.*;",t.isAllFile||(p=((t.dftl||"")+(t.cftl||"")).split(" ").filter((function(t){return t})).map((function(t){return"*.".concat(t,";")})).join("")),h=t.size,m=this.options.fileSizeLimit||300,Fai.top._oem?Fai.top._siteVer<=120&&(m=10):Fai.top._siteVer<=10&&(m=1),h>m&&(h=m),v=r.attr("value"),g=!0,y=.31*o.width(),g&&((_=this.$el.width())<=400?(y=.95*(_-60))>161&&(y=161):y<111?y=111:y>161&&(y=161)),!this.uploadNewVersion()){e.next=32;break}return w=function(){i.uploadPreviewFileListMap.get(t.id).upload=r.uploadify(S),r.css("width",y+2),r.on("click",(function(){(null==u?void 0:u.length)>=s&&i.showNewFileUpload(s)||r.find("a")[0].click()}))},e.next=28,jzSite.libs.loadJqUpload();case 28:S={auto:!0,fileTypeExts:p,multi:!1,fileSizeLimit:1024*h*1024,fileSplitSize:1024*h*1024,breakPoints:!0,isBurst:!0,saveInfoLocal:!1,showUploadedPercent:!0,showUploadedSize:!0,removeTimeout:9999999,post_params:{app:21,type:0,fileUploadLimit:h,pieceUpload:!0},getFileSizeUrl:"/ajax/advanceUpload.jsp?cmd=_getUploadSize",uploader:"/ajax/advanceUpload.jsp?cmd=_mobiupload",onUploadStart:function(e,n){previewFile(n,(function(e,o,r){var a,l={};null!=u&&null!==(a=u.filter((function(t){return t.key===n.md5})))&&void 0!==a&&a.length?null==u||u.filter((function(t){t.key===n.md5&&(t.percent=0,t.status="loading",l=t)})):(l=_objectSpread(_objectSpread({src:o,key:n.md5},r),{},{title:n.name,size:n.size,type:n.type,percent:0,status:"loading",originalFile:n}),i.showNewFileUpload(s)?u.length-1&&(b=6),F={file_post_name:"Filedata",upload_url:"/ajax/upsiteimg_h.jsp",button_placeholder:r.get(0),file_size_limit:h+"MB",button_image_type:b,requeue_on_error:!1,button_height:g?"34":"22",button_width:g?y-2:"71",button_text:g?""+v+"":"",button_text_style:g?".fk_btText{text-align:center; font-family: 微软雅黑; color: #666666;}":"",button_text_top_padding:g?8:"",post_params:{ctrl:"Filedata",app:21,type:0,isSiteForm:!0},file_types:p,file_dialog_complete_handler:function(){this._allSuccess=!1,this.startUpload()},file_queue_error_handler:function(e,n){switch(n){case SWFUpload.QUEUE_ERROR.FILE_EXCEEDS_SIZE_LIMIT:Fai.ing(LS.siteFormSubmitCheckFileSizeErr,!0);break;case SWFUpload.QUEUE_ERROR.INVALID_FILETYPE:Fai.ing("不允许的文件类型",!0);break;case SWFUpload.QUEUE_ERROR.QUEUE_LIMIT_EXCEEDED:Fai.ing("一次只能上传一个文件",!0);break;default:Fai.ing("请重新选择文件上传。",!0)}u.forEach((function(n){n.key===e.id&&n.title===e.name&&(n.status="error",i.renderPreviewFile(n,t))}))},upload_success_handler:function(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},o=jQuery.parseJSON(n);this._allSuccess=null==o?void 0:o.success,this._sysResult=null==o?void 0:o.msg,null!=o&&o.success?(Fai.ing(Fai.format(LS.siteFormSubmitFileUploadSucess,Fai.encodeHtml(e.name)),!0),T(o,e)):(Fai.ing("文件"+e.name+","+(null==o?void 0:o.msg)||0),u.forEach((function(n){n.key===e.id&&n.title===e.name&&(n.status="error",i.renderPreviewFile(n,t))})))},upload_error_handler:function(e,n){-280==n?(Fai.ing("文件取消成功",!1),u.forEach((function(n){n.key===e.id&&n.title===e.name&&(n.status="error",i.renderPreviewFile(n,t))}))):-270==n?Fai.ing("已经存在名称为"+e.name+"的文件。",!0):(Fai.ing("服务繁忙,文件"+e.name+"上传失败,请稍候重试。"),u.forEach((function(n){n.key===e.id&&n.title===e.name&&(n.status="error",i.renderPreviewFile(n,t))})))},upload_complete_handler:function(e){e.filestatus==SWFUpload.FILE_STATUS.COMPLETE?setTimeout((function(){M.startUpload()}),M.upload_delay):e.filestatus==SWFUpload.FILE_STATUS.ERROR&&(Fai.ing("服务繁忙,文件"+e.name+"上传失败,请稍候重试。"),u.forEach((function(n){n.key===e.id&&n.title===e.name&&(n.status="error",i.renderPreviewFile(n,t))})))},upload_start_handler:function(e){var n;Fai.ing("读取文件准备上传",!1),previewFile(e,(function(n,o,r){var a,l={};null!=u&&null!==(a=u.filter((function(t){return t.key===e.id&&t.title===e.name})))&&void 0!==a&&a.length?null==u||u.filter((function(t){t.key===e.id&&t.title===e.name&&(t.percent=0,t.status="loading",l=t)})):(l=_objectSpread(_objectSpread({src:o,key:e.id},r),{},{title:e.name,size:e.size,type:e.type,percent:0,status:"loading",originalFile:e}),i.showNewFileUpload(s)?u.length').concat(t.value,"\n")})))):(null==r||r.hide(),null==a||a.hide(),null==s||s.hide())})),r.off(h).on(h,(function(){var n,d,h,m=null===(n=bizShared)||void 0===n?void 0:n.getMultiDropDownLevelData((null==t?void 0:t.input)||"",2,null==o?void 0:o.val(),null==r?void 0:r.val());(null==s||null===(d=s.html(""))||void 0===d||d.attr("disabled",!0),null!=m&&m.length)?(null==a||a.show(),null==s||s.hide(),i.changeMultiDropDownClass(e),null==a||null===(h=a.html(""))||void 0===h||h.removeAttr("disabled"),null==a||a.append(l.clone()),null==a||a.append(null==m?void 0:m.map((function(t){if(u&&p){var e="".concat(null==o?void 0:o.val(),"-").concat(null==r?void 0:r.val(),"-").concat(t.value);return i.initMultiDropDownLimit({nl:c,level:3,item:t,nd:f,levelItem:e})}return'\n")})))):(null==a||a.hide(),null==s||s.hide())})),a.off(h).on(h,(function(){var n,d,h=null===(n=bizShared)||void 0===n?void 0:n.getMultiDropDownLevelData((null==t?void 0:t.input)||"",3,null==o?void 0:o.val(),null==r?void 0:r.val(),null==a?void 0:a.val());null!=h&&h.length?(null==s||s.show(),i.changeMultiDropDownClass(e),null==s||null===(d=s.html(""))||void 0===d||d.removeAttr("disabled"),null==s||s.append(l.clone()),null==s||s.append(null==h?void 0:h.map((function(t){if(u&&p){var e="".concat(null==o?void 0:o.val(),"-").concat(null==r?void 0:r.val(),"-").concat(null==a?void 0:a.val(),"-").concat(t.value);return i.initMultiDropDownLimit({nl:c,level:4,item:t,nd:f,levelItem:e})}return'\n")})))):null==s||s.hide()})),"string"==typeof n&&n.length>0){var m=n.split("-"),v=[o,r,a];m.forEach((function(t,e){t&&v[e].val(t).trigger(h)}))}}},{key:"refreshMultiDropDown",value:function(t,e){e||(e=this.$el.find(".item_".concat(t.id)));var n=e.find(".select_level1"),i=e.find(".select_level2"),o=e.find(".select_level3"),r=e.find(".select_level4");n.val(-1),i.val(-1),o.val(-1),r.val(-1)}},{key:"initMultiDropDownLimit",value:function(t){var e=t.nl,n=t.item,i=t.nd,o=t.levelItem,r=e.find((function(t){return o===t.v&&null!=t.s})),a=null!=r&&!1===i?"(".concat(window.LS.remain).concat(r.s<=0?0:r.s,")"):"";return'\n")}},{key:"initAddress",value:function(t,e){var n=this.$el.find(".item_".concat(t.id)),i=this.options.lcid;this._initAddress(t,n,i,e)}},{key:"_initAddress",value:function(t,e,n,i){var o=e.find(".select_province"),r=e.find(".select_city"),a=e.find(".select_county"),s=e.find(".none_item").eq(0).clone(),l="",u=p("getProvince"),c=[],f=[];function d(t,e){var n=t.find((function(t){return i.includes(t.name)}));n&&e.val(n.id).trigger("change")}function p(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o').concat(i,"\n")})),o.append(l)})):(u.forEach((function(t){var e="",n="";t.cityInfo?(e=t.cityInfo[0],n=t.cityCode):(e=t.name,n=t.id);var i=p("simpleCityNameStr",e);l+='\n")})),o.append(l)),o.change((function(){c=p("getCities",o.val()),a.html("").attr("disabled",!0),r.html("").removeAttr("disabled"),r.append(s.clone()),r.append(c.map((function(t){return'\n")})))})),r.change((function(){f=p("getCounty",r.val()),a.html("").removeAttr("disabled"),f.length?(a.show().append(s.clone()),a.append(f.map((function(t){return'\n")})))):a.hide()})),"string"==typeof i&&i.length>0&&(d(u,o),d(c,r),d(f,a))}},{key:"refreshValidation",value:function(){this.$el.find(".validatecode_img").attr("src","".concat(Site.preprocessUrl({path:"",oldPath:""}),"validateCode.jsp?").concat(parseInt(1e3*Math.random()),"&vCodeId=").concat(this.options.id).concat(this.options.formId))}},{key:"fixLowIePlaceholder",value:function(){(Fai.isIE6()||Fai.isIE7()||Fai.isIE8()||Fai.isIE9())&&(this.$el.find(".fk_lowIEPlaceholderStyle").remove(),this.$el.find("input, textarea").each((function(t,e){var n=$(e),i=n.attr("placeholder");i&&(n.removeAttr("placeholder"),n.defaultValue||n.val(i).addClass("phcolor"),n.focus((function(){n.val()==i&&n.val("")})),n.blur((function(){""==n.val()&&n.val(i).addClass("phcolor")})),n.keydown((function(){n.removeClass("phcolor")})))})))}},{key:"initSubmit",value:function(){var t=this;this.$el.find(".submit .l, .submit .m, .submit .r").click((function(){return t.submit()}))}},{key:"getParamValue",value:function(t,e){var n=new RegExp(e+"=([^&]*)","i");return t.match(n)&&t.match(n)[1]||""}},{key:"getLotteryId",value:function(){var t=Fai.top.location.search;if(Fai.top.location.search.includes("lotteryId")){var e=this.getParamValue(t,"lotteryId"),n=this.getParamValue(t,"phoneNumber");window.history.pushState(null,"",location.origin+location.pathname+location.search.split("lotteryId")[0]),Site.getLotteryInfo(e,n,null,!0),Site.LocalStore.set("_lotteryId",""),Site.LocalStore.set("_phoneNumber","")}var i=this,o={cmd:"getWafNotCk_getFormLotteryByFormId",formId:Fai.top._manageMode?this.module.formData.id:this.options.formId};(Fai.top._manageMode?this.module.formData.associateLottery:this.options.formData.associateLottery)&&$.ajax({type:"GET",url:Site.addRequestPrefix({newPath:"/ajax/lottery_h.jsp",oldPath:Site.genAjaxUrl("lottery_h.jsp")}),data:o,error:function(){},success:function(t){var e=JSON.parse(t);e.success&&(i.module.lotteryId=e.info.id,i.module.lotteryName=e.info.name,i.module.lotteryOpen=e.info.flag,i.module.allowLottery=e.lotterySettingInfo.allowLottery,i.module.isOpenLottery=e.lotterySettingInfo.isOpenLottery,e.info.flag&&e.lotterySettingInfo.allowLottery&&e.lotterySettingInfo.isOpenLottery&&i.$el.find(".form-lottery-20201021-style").css("opacity",1))}})}},{key:"logFormSubmitByJz",value:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";!1===Fai.top._manageMode&&Site.logJZFdp("jz_c_form_submit",{jz_version:Fai.top.jzVersion,jz_content_terminal:"site",jz_free_text1:t,jz_site_id:Fai.top._siteId})}},{key:"transformFormItemText",value:function(){var t=this,e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];if(0===e.length)return"";var n=e.map((function(e){return t.formItemTypeNameArr[e.type]||""}));return Array.from(new Set(n)).join(",")}},{key:"logClueSubmitForm",value:function(t,e){var n,i,o=null,r=bizShared,a=r.Clue,s=a.clueKey,l=a.logClueSubmitFormSourceContent,u=r.clueReuqestVm;switch(null===(n=Fai)||void 0===n||null===(n=n.top)||void 0===n?void 0:n._colId){case 2:o=null==s?void 0:s.INDEX;break;case 12:o=null==s?void 0:s.PRODUCT_RESULT}null==u||u.changeSourceContentValue(null==s?void 0:s.SUBMIT_FORM,{expand_content:{infoExtend:t}}),null==u||u.changeSourceContentDataId(null==s?void 0:s.SUBMIT_FORM,null!==(i=null==e?void 0:e.formId)&&void 0!==i?i:0),o?null==u||u.logClueSourceContent(o,null==s?void 0:s.SUBMIT_FORM):l()}},{key:"_submit",value:function(t){var e=this,n=Monitor.startMonitor(MonitorDef.MonitorId.FORM_SUBMIT);return new Promise(function(){var i=_asyncToGenerator(_regeneratorRuntime().mark((function o(i,r){var a,s,l,u,c,f,d,p,h,m,v,g,y,b,_,w,S,k,C,F,M,T,x,P;return _regeneratorRuntime().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!_manageMode){o.next=3;break}return Fai.ing("当前为管理状态,提交无效。",!0),o.abrupt("return");case 3:if(0===e.options.formData.other.fas.fvmt||0!=e.options.buddyId){o.next=7;break}return e.showMsg("".concat(LS.siteFormSubmitNotLogin).concat(LS.login).concat(LS.period)),r(!1),o.abrupt("return");case 7:if(!e.options.isJuly3FreeUser){o.next=12;break}return Site.logDog(200964,8),Fai.ing("免费版暂不支持此功能"),r(!1),o.abrupt("return");case 12:l=[],u=[],c=e.options.contentList,f=e.$el.find(".form_item"),d=[],p=[],h=0,m=_regeneratorRuntime().mark((function L(){var t,n,i,o,a,s,m,v,y,b,_,w,S,k,C,F,M,T,x,P,O,j,I,E,A,D,B,N,H,z,q,J,R,U,W,V,Y,G,Z,Q,K,X,tt,et,nt,it,ot,rt,at,st,lt,ut,ct,ft,dt,pt;return _regeneratorRuntime().wrap((function(L){for(;;)switch(L.prev=L.next){case 0:if(!(t=c[g]).hide){L.next=3;break}return L.abrupt("return",0);case 3:if(n=f.eq(h),h++,n.is(":visible")){L.next=7;break}return L.abrupt("return",0);case 7:if(!e.options.openOnlinePay||1!=e.options.payType||null!==e.selectedMap[t.id]){L.next=10;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitCheckIsEmpty,Fai.encodeHtml(t.name)))});case 10:i={id:t.id,type:t.type,must:t.must},o={type:1,value:t.value,key:t.name},L.t0=t.type,L.next=0===L.t0?15:1===L.t0?33:5===L.t0?43:9===L.t0?44:10===L.t0?54:7===L.t0?64:2===L.t0?70:3===L.t0?77:4===L.t0?84:11===L.t0?92:12===L.t0?102:8===L.t0?135:6===L.t0?164:13===L.t0?180:14===L.t0?187:15===L.t0?194:201;break;case 15:a=0,s=100,m={};try{m=$.parseJSON(t.wordLimit)||{}}catch(ht){m={o:0}}if(1===m.o&&(a=m.i,s=m.a),v=$.trim(n.find("input").val()),!t.must||""!=v){L.next=24;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitInputIsEmpty,Fai.encodeHtml(t.name)))});case 24:if(!(v.length>s)){L.next=27;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitInputMaxLength,Fai.encodeHtml(t.name),s))});case 27:if(!(t.must&&v.length1e3)){L.next=40;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitInputMaxLength,Fai.encodeHtml(t.name),1e3))});case 40:return i.val=y||"",o.value=y||"",L.abrupt("break",201);case 43:return L.abrupt("break",201);case 44:if(b=$.trim(n.find("input").val()),!t.must||""!=b){L.next=48;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitInputIsEmpty,Fai.encodeHtml(t.name)))});case 48:if(!b||Fai.isEmail(b)){L.next=51;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.memberSignupUserAddItemCorrect,Fai.encodeHtml(t.name)))});case 51:return i.val=b||"",o.value=b||"",L.abrupt("break",201);case 54:if(_=$.trim(n.find("input").val()),!t.must||""!=_){L.next=58;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitInputIsEmpty,Fai.encodeHtml(t.name)))});case 58:if(!_||Fai.isCardNo(_)){L.next=61;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.memberSignupUserAddItemCorrect,Fai.encodeHtml(t.name)))});case 61:return i.val=_||"",o.value=_||"",L.abrupt("break",201);case 64:if(w=e.uploadPreviewFileListMap.get(t.id),S=w.uploadPreviewFileList,!t.must||S.some((function(t){return"success"==t.status}))){L.next=68;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitCheckHasFileUpload,Fai.encodeHtml(t.name)))});case 68:return S.length?(k=[],C=[],S.forEach((function(t){var e=t._tmpFileId,n=t._tmpFileName,i=t._fileId;l.push({fileId:i,tmpFileId:e,tmpFileName:n}),k.push(i),C.push(n)})),i.val=$.toJSON(k),o.value=C||""):(i.val="",o.value=""),L.abrupt("break",201);case 70:if(F=$.trim(n.find("input:checked").val()),!t.must||""!=F){L.next=74;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitCheckIsEmpty,Fai.encodeHtml(t.name)))});case 74:return i.val=F,o.value=F||"",L.abrupt("break",201);case 77:if(M=Array.from(n.find("input:checked")).map((function(t){return t.value})),!t.must||0!=M.length){L.next=81;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitCheckIsEmpty,Fai.encodeHtml(t.name)))});case 81:return i.val=M.join("\n"),o.value=M.join("\n")||"",L.abrupt("break",201);case 84:if("none"==(T=$.trim(n.find("select").val()))&&(T=""),!t.must||""!=T){L.next=89;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitCheckIsEmpty,Fai.encodeHtml(t.name)))});case 89:return i.val=T,o.value=T||"",L.abrupt("break",201);case 92:if(x=$.trim(n.find(".select_province :checked").attr("_name")),P=$.trim(n.find(".select_city :checked").attr("_name")),O=$.trim(n.find(".select_county :checked").attr("_name")),!t.must){L.next=99;break}if(x&&P){L.next=99;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitCheckIsEmpty,Fai.encodeHtml(t.name)))});case 99:return i.val=x+P+O,o.value=x+P+O||"",L.abrupt("break",201);case 102:if(N=$.trim(null===(j=n.find(".select_level1 :checked"))||void 0===j?void 0:j.attr("_name")),H=$.trim(null===(I=n.find(".select_level2 :checked"))||void 0===I?void 0:I.attr("_name")),z=$.trim(null===(E=n.find(".select_level3 :checked"))||void 0===E?void 0:E.attr("_name")),q=$.trim(null===(A=n.find(".select_level4 :checked"))||void 0===A?void 0:A.attr("_name")),J=null===(D=bizShared)||void 0===D?void 0:D.getMultiDropDownLevel(t.input),R=null===(B=bizShared)||void 0===B?void 0:B.getMultiDropDownInfo(t.input),U="",!t.must){L.next=113;break}if(N){L.next=113;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitCheckIsEmpty,Fai.encodeHtml(t.name)))});case 113:if(U="".concat(N),H&&(U+="-".concat(H)),!(t.must&&J>1)){L.next=120;break}if(null==(V=null===(W=bizShared)||void 0===W?void 0:W.getMultiDropDownLevelData(R,1,N))||!V.length||H){L.next=120;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitCheckIsEmpty,Fai.encodeHtml(t.name)))});case 120:if(z&&(U+="-".concat(z)),!(t.must&&J>2)){L.next=126;break}if(null==(G=null===(Y=bizShared)||void 0===Y?void 0:Y.getMultiDropDownLevelData(R,2,N,H))||!G.length||z){L.next=126;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitCheckIsEmpty,Fai.encodeHtml(t.name)))});case 126:if(q&&(U+="-".concat(q)),!(t.must&&J>3)){L.next=132;break}if(null==(Q=null===(Z=bizShared)||void 0===Z?void 0:Z.getMultiDropDownLevelData(R,3,N,H,z))||!Q.length||q){L.next=132;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitCheckIsEmpty,Fai.encodeHtml(t.name)))});case 132:return i.val=U,o.value=U||"",L.abrupt("break",201);case 135:if(K=n.find("select").val(),X=$.trim(n.find(".phone_number").val()),tt=(t.phoneNumberLength||"7-11").split("-"),et=tt[0],nt=tt[1]||et,it=$.trim(n.find(".phone_validate_code").val()),ot=t.smsVerify&&module.allowedFormSms&&t.smsImgVerify,e.options.phoneNumber=X,!t.must||""!=X){L.next=146;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitInputIsEmpty,Fai.encodeHtml(t.name)))});case 146:if(!X){L.next=158;break}if(Fai.isLimitedRangeNationMobile(X,et,nt)){L.next=150;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.site_newMobileNumRegular,tt))});case 150:if("11"!==t.phoneNumberLength||Fai.isMobile(X)){L.next=155;break}return r("invalid"),L.abrupt("return",{v:e.showMsg("手机号码格式有误")});case 155:if(Fai.isPhone(X)){L.next=158;break}return r("invalid"),L.abrupt("return",{v:e.showMsg("手机号码格式有误")});case 158:if(!t.must||!ot||""!=it){L.next=161;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.msgBoardInputValidateCode))});case 161:return K?(i.val=K+X,o.value=K+X||""):(i.val=X,o.value=X||""),it&&d.push({id:t.id,phoneValidateCode:it}),L.abrupt("break",201);case 164:if(rt=t.dateSetting||{},at=rt.type||0,st=$.trim(n.find(".start_time").val()),lt=$.trim(n.find(".end_time").val()),!t.must||""!=st){L.next=171;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitCheckIsEmpty,Fai.encodeHtml(t.name)))});case 171:if(i.val=st,o.value=st||"",1!=at){L.next=179;break}if(!t.must||""!=lt){L.next=177;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitCheckIsEmpty,Fai.encodeHtml(t.name)))});case 177:i.val+=" 至 ".concat(lt),o.value+=" 至 ".concat(lt);case 179:return L.abrupt("break",201);case 180:if(ut=$.trim(n.find("input").val()),!t.must||""!=ut){L.next=184;break}return r("invalid"),L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitInputIsEmpty,Fai.encodeHtml(t.name)))});case 184:return i.val=ut||"",o.value=ut||"",L.abrupt("break",201);case 187:if(ct=n[0].__vue__.$children[0].selectId,!t.must||""!==ct){L.next=190;break}return L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitCheckIsEmpty,Fai.encodeHtml(t.name)))});case 190:return ft=t.radioPicSetting.picList.find((function(t){return t.id===ct})),i.val=ft?$.toJSON([ft]):"",o.value="",L.abrupt("break",201);case 194:if(dt=n[0].__vue__.$children[0].selectIds,!t.must||0!==dt.length){L.next=197;break}return L.abrupt("return",{v:e.showMsg(Fai.format(LS.siteFormSubmitCheckIsEmpty,Fai.encodeHtml(t.name)))});case 197:return pt=t.checkBoxPicSetting.picList.filter((function(t){return dt.includes(t.id)})),i.val=$.toJSON(pt),o.value="",L.abrupt("break",201);case 201:u.push(i),p.push(o);case 203:case"end":return L.stop()}}),L)})),g=0;case 21:if(!(g99999999)){o.next=46;break}return r("invalid"),o.abrupt("return",e.showMsg(LS.paymentAmountOver||"支付金额过大,请联系管理员"));case 46:if(!e.options.allowFormProtocol||!e.options.isOpenFormProtocol||e.$el.find(".form_protocol input[type=checkbox]").prop("checked")){o.next=50;break}return r("invalid"),e.showMsg("".concat(LS.read_and_agree).concat(e.options.formProtocolTitle)),o.abrupt("return");case 50:if((w=document.location.href).length>500&&(w=w.substring(0,500)),Fai.top.pageName.endsWith(" - ")&&(Fai.top.pageName=Fai.top.pageName.substring(0,Fai.top.pageName.lastIndexOf(" - "))),S=Fai.top.openMultiPdInquiry&&Site.hasPopupModuleOpen()&&Fai.top._popupZone.fromProductBtn,k=null!==(a=null===(s=Fai.top.inquiryProductList)||void 0===s?void 0:s.map((function(t){return"产品".concat(t.name)})).join("、"))&&void 0!==a?a:[],C={pageUrl:w,pageName:"电脑网站-".concat(S?k:Fai.top.pageName)},S&&(F=JSON.parse(localStorage.getItem("inquiry_product_list")||"[]"),C.pdIdList=F,Site.logJZFdp("jz_products_inquiry_use",{jz_content_terminal:"site",jz_free_int1:F.length})),M=t({submitContentList:u,validateCode:y,submitFileList:l,submitOrigin:C,phoneValidateCodes:d}),T=M.url,x=M.data,!(P=M.before)){o.next=65;break}return o.next=62,P();case 62:if(!1!==o.sent){o.next=65;break}return o.abrupt("return");case 65:if(!e.isReCommit){o.next=67;break}return o.abrupt("return");case 67:e.isReCommit=!0,$.ajax({type:"post",url:T,data:x,error:function(t){r(),e.isReCommit=!1;var i=Site.getDialogContent(!1,Fai.format(LS.siteFormSubmitError));Site.popupBox({htmlContent:i,width:205,height:78}),n(!1,t)},success:function(t){if(e.isReCommit=!1,(t=JSON.parse(t)).success){if(e.logFormSubmitByJz(e.transformFormItemText(c)),e.logClueSubmitForm(p,e.options),i(),e.options.openOnlinePay&&e.options.allowOnlinePay&&!S){var o,a;Site.logDog(201217,5);var s=e.options.moduleId;if(0===parseFloat(null!==(o=null===(a=$("#module".concat(s," .J_price")).text())||void 0===a?void 0:a.match(/[\d|.]+/g))&&void 0!==o?o:-1)?e.checkLottery():e.handleOnlinePayVer2(t),e.module.lotteryOpen&&e.module.allowLottery){var l=e.options.phoneNumber,u=e.module.lotteryId;Site.LocalStore.set("_lotteryId",u),Site.LocalStore.set("_phoneNumber",l)}return void n()}e.checkLottery(),S&&localStorage.setItem("inquiry_product_list","[]"),n()}else{if(t.hasFW)return r("invalid"),e.showMsg(t.msg);if(-4==t.rt)return r("invalid"),e.showMsg(LS.siteFormSubmitCountLimit);if(-7==t.rt)return r("invalid"),e.showMsg(LS.siteImgFull);if(-8==t.rt)return r(),e.showMsg(t.msg);if(-20==t.rt)return r("invalid"),e.showMsg(t.msg);if(-401==t.rt)return r("invalid"),e.refreshValidation(),e.$el.find(".item_validatecode input").val(""),e.showMsg(LS.siteFormSubmitValidateCodeErr);if(-302==t.rt)return r("invalid"),e.showMsg(LS.siteFormSubmitNotLogin+LS.login+LS.period);if(-601==t.rt)return r("invalid"),e.showMsg(t.msg);if(-28!=t.rt){if(-1e3==t.rt)return r("invalid"),e.showMsg(t.msg);if(-2==t.rt){r("invalid");var f=c.find((function(e){return e.id==t.id}))||{};return e.showMsg((f.name||"")+":"+t.msg)}return-303==t.rt||-304==t.rt||-301==t.rt||-306==t.rt?(r(),void e.showMsg(t.msg)):-307==t.rt?(r(),void e.showMsg(Fai.format(LS.memberLevelPermission,e.options.globalOption.memberName,e.options.originalModule.memberLevel),!0)):-308==t.rt?(r(),void e.showMsg(Fai.format(LS.memberGroupPermission,e.options.globalOption.memberName))):(r(),n(!1,JSON.stringify(t)),e.showMsg(Fai.format(LS.siteFormSubmitError)))}var d=[];if(d.push("
    "),d.push("
    "),d.push(""),d.push(""),d.push("
    "),d.push("
    "),d.push("
    "+LS.hasSubmitThisSiteForm+"
    "),Site.popupBox({htmlContent:d.join(""),width:367,height:225}),setTimeout((function(){document.location.reload()}),2e3),t.needCode)return e.$el.find(".item_ValidateCode_wrap").show(),e.showMsg(t.msg)}}});case 69:case"end":return o.stop()}}),o)})));return function(t,e){return i.apply(this,arguments)}}())}},{key:"submit",value:function(){var t=this;return this._submit((function(e){var n={cmd:"addWafCk_addSubmit",formId:t.options.formId,submitContentList:Fai.encodeUrl($.toJSON(e.submitContentList)),vCodeId:"".concat(t.options.moduleId).concat(t.options.formId),validateCode:e.validateCode,tmpFileList:Fai.encodeUrl($.toJSON(e.submitFileList)),submitOrigin:Fai.encodeUrl($.toJSON(e.submitOrigin)),phoneValidateCodes:Fai.encodeUrl($.toJSON(e.phoneValidateCodes))},i=Object.keys(n).length;return n=Object.keys(n).reduce((function(t,e,o){return t+"".concat(e,"=").concat(n[e]).concat(o0&&arguments[0]!==undefined?arguments[0]:3e3;return new Promise((function(n){if(t.options.formData.submitSuccessTipCustom){Site.logJZFdp("jz_form_success_custom_popup_c",{jz_version:Fai.top.jzVersion,jz_content_terminal:"site"});var i=t.options.formData.popupContent,o=t.options.formData.popupSetting,r=o.popupType,a=o.popupHeight,s=o.popupWidth,l=1===r?'style="width:'.concat(s,"px;height:").concat(a,"px;max-height:").concat(a,'px;"'):"",u=1===r?'style="left: calc(50% + calc('.concat(s,"px / 2) - 18px - 14px);top: calc(50% - calc(").concat(a,'px / 2) + 18px)"'):"",c='\n
    \n
    \n ").concat(i,'\n \n \n \n
    \n
    \n '),f=$(c);$("body").append(f),Fai.top.$("html").addClass("htmlOverflowHidden"),jzSite.lazyLoad.checkLazyLoad($(".submitSuccessTipCustom_mask")),f.find(".submitSuccessTipCustom_close_btn").on("click",(function(){f.remove(),Fai.top.$("html").removeClass("htmlOverflowHidden"),f=null,3e3===e&&t.handleSubmitSuccessAction(),n()}))}else{var d=[],p=Fai.encodeHtml(t.options.formData.other.submitSuccessTips);t.options.showForm&&t.options.buddyId&&(p=t.options.siteOpenFormSubmitOk),t.options.inMemberDetailEditForm&&(p=window.LS.siteFormSubmitOk),d.push("
    "),d.push("
    "),d.push(" "),d.push(" "),d.push("
    "),d.push("
    "),d.push("
    "),d.push("
    "+p+"
    "),d.push("
    "),Site.popupBox({htmlContent:d.join(""),width:407,height:265,autoClose:e}),$(".formBox").css("position","fixed").css("top","50%").css("marginTop","-112px").css("left","50%").css("marginLeft","-180px"),3e3===e&&t.handleSubmitSuccessAction(),n()}}))}},{key:"handleSubmitSuccess",value:function(){this.openSuccessPopup()}},{key:"handleSubmitSuccessAction",value:function(){var t=this;setTimeout((function(){var e=t.options.jumpToUrl,n=e.includes("Site.fileDownload");1===t.options.openType?(window.open(e),!1!==t.options.reloadPageAfterSubmit&&(location.href="")):!1!==t.options.reloadPageAfterSubmit&&(location.href=e||""),n&&setTimeout((function(){!1!==t.options.reloadPageAfterSubmit&&document.location.reload()}),1e3)}),3e3)}},{key:"handleOnLinePay",value:function(t){var e=this,n=t.id,i={cmd:"getWafNotCk_getNativePayUrl",formId:this.options.formId,siteFormSubmitId:n};$.ajax({type:"post",url:Site.addRequestPrefix({newPath:"/ajax/siteForm_h.jsp",oldPath:Site.genAjaxUrl("siteForm_h.jsp")}),data:i,error:function(){var t=Site.getDialogContent(!1,Fai.format(LS.siteFormSubmitError));Site.popupBox({htmlContent:t,width:205,height:78})},success:function(t){var i=JSON.parse(t);if(i.success&&17==i.payMode)Site.logDog(201217,6),e.showQrcode(i.url),e.payTimer=setInterval(e.checkPayStatus(n),1e3);else{var o=Site.getDialogContent(!1,Fai.format(LS.siteFormSubmitError));Site.popupBox({htmlContent:o,width:205,height:78})}}})}},{key:"handleOnlinePayVer2",value:function(t){var e=this,n=t.id;Site.payUtils.openSitePay({handleOnlinePayUrl:function(t){var i=t.payMode;e.getOnlinePayUrl({submitId:n,payMode:i})}})}},{key:"handleWxPay",value:function(t,e,n){var i=this;Site.payUtils.showWeChatPay({url:e.url,payMode:n,closeFunc:function(){Site.logDog(201217,7),clearInterval(i.payTimer)}}),this.payTimer=setInterval(this.checkPayStatus(t),1e3)}},{key:"handleAliOrPaypalPay",value:function(t,e,n){var i=Fai.decodeHtml(e.payForm),o=Site.payUtils.BSSTYPE_FORM,r=t,a=Fai.top.location,s=a.search,l=jzUtils.createRandomId(6);window.localStorage.setItem("payRandom",l);var u={random:l,bssId:r,pJumpFormId:t};""!=this.options.jumpToUrl&&(u.pJumpToUrl=this.options.jumpToUrl,window.sessionStorage.setItem("jumpToUrl",this.options.jumpToUrl),s=""==s?"?jumpFormId="+t:s+"&jumpFormId="+t);var c=Site.LocalStore.get("_lotteryId"),f=Site.LocalStore.get("_phoneNumber");Site.LocalStore.remove("_lotteryId"),Site.LocalStore.remove("_phoneNumber"),c&&(""==s?s="?lotteryId=".concat(c,"&phoneNumber=").concat(f):s+="&lotteryId=".concat(c,"&phoneNumber=").concat(f),u.pLotteryId=c,u.pPhoneNumber=f);var d=a.pathname.split("/").filter((function(t){return t!=window._curLanCode})).join("/")+s+a.hash;Site.payUtils.showAliPay({bssType:o,bssId:r,payForm:i,url:d,payMode:n,payPalParams:u})}},{key:"getOnlinePayUrl",value:function(t){var e=t.submitId,n=t.payMode,i={cmd:"getWafNotCk_getNativePayUrl",formId:this.options.formId,siteFormSubmitId:e,payMode:n},o=this;$.ajax({type:"post",url:Site.addRequestPrefix({newPath:"/ajax/siteForm_h.jsp",oldPath:Site.genAjaxUrl("siteForm_h.jsp")}),data:i,error:function(){var t=Site.getDialogContent(!1,Fai.format(LS.siteFormSubmitError));Site.popupBox({htmlContent:t,width:205,height:78})},success:function(t){var i=jQuery.parseJSON(t);if(i.success)n==Site.payUtils.PAYMODE_WECHAT||n==Site.payUtils.PAYMODE_FAI_WECHAT?o.handleWxPay(e,i,n):n!=Site.payUtils.PAYMODE_ALIPAY&&n!=Site.payUtils.PAYMODE_PAYPAL||o.handleAliOrPaypalPay(e,i,n),Site.logDog(201217,6);else{var r=Fai.format(LS.siteFormSubmitError);""!=i.errMsg&&null!=i.errMsg&&(r=i.errMsg),Site.AlertWarmTip({tip:r})}}})}},{key:"checkLottery",value:(_checkLottery=_asyncToGenerator(_regeneratorRuntime().mark((function n(){var t,e,i,o,r,a,s;return _regeneratorRuntime().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!this.module.lotteryOpen||!this.module.allowLottery){n.next=13;break}if($(".popupZoneAreaClose").click(),t=this.options.phoneNumber,e=2e3,i=!0,o=this.module.lotteryId,r=Fai.top.location.search.includes("?")?Fai.top.location.href+"&lotteryId=".concat(o,"&phoneNumber=").concat(t):Fai.top.location.href+"?lotteryId=".concat(o,"&phoneNumber=").concat(t),a="login.jsp?url=".concat(Fai.encodeUrl(r)),!o){n.next=10;break}return s=0==this.options.buddyId,n.next=7,this.openSuccessPopup(e);case 7:setTimeout((function(){Site.getLotteryInfo(o,t,s?a:null,i)}),e),n.next=11;break;case 10:this.handleSubmitSuccess();case 11:n.next=14;break;case 13:this.handleSubmitSuccess();case 14:case"end":return n.stop()}}),n,this)}))),function(){return _checkLottery.apply(this,arguments)})},{key:"checkPayStatus",value:function(t){var e=this;return function(){var n={cmd:"wafNotCk_checkSiteFormSubmitStatue",siteFormSubmitId:t};$.ajax({type:"post",url:Site.addRequestPrefix({newPath:"/ajax/siteForm_h.jsp",oldPath:Site.genAjaxUrl("siteForm_h.jsp")}),data:n,error:function(){Fai.top.ing("网络错误")},success:function(t){JSON.parse(t).success&&(Site.logDog(201217,8),clearInterval(e.payTimer),Fai.top.$("html").css("overflow",""),Fai.top.$("#formPayCodeBox").remove(),e.checkLottery())}})}}},{key:"showQrcode",value:function(t,e){var n=this,i="";i=e==Site.payUtils.PAYMODE_FAI_WECHAT?t:"/qrCode.jsp?"+(window.newsId||"")+"&cmd=wxPayQrCode&&url=".concat(t);var o='\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    微信支付

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t请使用微信扫一扫
    扫描二维码支付\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t');Fai.top.$(o).appendTo("body"),Fai.top.$("html").css("overflow","hidden"),Fai.top.$("#siteFormClosePay").click((function(){Site.logDog(201217,7),Fai.top.$("html").css("overflow",""),Fai.top.$("#formPayCodeBox").remove(),clearInterval(n.payTimer)}))}},{key:"initFormProtocol",value:function(){var t=this,e=this.$el.find(".form_protocol_title");if(e.length){var n=Fai.getLanCode(),i=n.length?"/".concat(n,"/"):"/";e.click((function(){window.open("".concat(i,"viewFormProtocol.jsp?formId=").concat(Fai.top._manageMode?t.module.formData.id:t.options.formId))}));var o=this.$el.find(".form_protocol_text");o.length&&o.click((function(){var e=t.$el.find(".form_protocol input[type=checkbox]");$(e).prop("checked",!$(e).prop("checked"))}))}}}]),SiteFormModule}(SiteModule)},9059:function(t,e,n){function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){for(var n=0;n1&&arguments[1]!==undefined?arguments[1]:t,n=0,i=Array.from(t.find("video:not([autoplay])"));nt&&(t=o+r)})),this.$module.css("height","auto"),this.$module.find(".formMiddle"+this.moduleId+", .formMiddleContent").css("height","auto"),this.$module.find("#formTabContent".concat(this.moduleId)).height(t),this.$module.find("#formTab".concat(this.moduleId,".formTabDirectionY .titleTable")).height(t),this.$module.find(".formTabCntId").height(t)}},{key:"getMutationObserverOptions",value:function(){return{callback:this.mutationCallBack.bind(this),filterSelector:""}}},{key:"mutationCallBack",value:function(t){this.isAutoHeight()&&(Fai.top._mutationObLog&&console.log("".concat(this.moduleId,": 旧版标签模块"),t),this.isCustomHeight()?this.setCustomHeight():this.fixTabModuleHeight())}}],r=[{key:"isCustomHeight",value:function(t){t instanceof jQuery&&(t=t.attr("_moduleid"));var e=c.find(t);if(e&&e.isCustomHeight)return e.isCustomHeight()}},{key:"setCustomHeight",value:function(t){t instanceof jQuery&&(t=t.attr("_moduleid"));var e=c.find(t);if(e&&e.setCustomHeight)return e.setCustomHeight()}},{key:"setTabPackContentHeight",value:function(t){var e=t.attr("_moduleid"),n=c.find(e);if(n&&n.setTabPackContentHeight)return n.setTabPackContentHeight()}},{key:"isTabYModule",value:function(t){var e=t.attr("_moduleid"),n=c.find(e);if(n&&n.isDirectionY)return n.isDirectionY()}}],i&&o(n.prototype,i),r&&o(n,r),Object.defineProperty(n,"prototype",{writable:!1}),e}(c);t.exports=f,function(t,e,n){var i=e.data,o=e.dom,r=e.utils,a=e.event;r.getBaseDom=function(){var t,e,n,o=i.moduleId;if((t=Fai.top.$("#module"+o)).length&&!t.hasClass("jz-moduleTabYPattern113")&&f.isTabYModule(t)&&(n=(e=t.find(".formTabButtonYList")).find(".formTabButton"),e.length&&n.length))return{module:t,formTabButtonYList:e,formTabButton:n}},r.getAllFormTabButtonHeight=function(){var e=o.formTabButton,n=0;return e.each((function(){n+=t(this).outerHeight(!0)})),n},r.checkHeightEnough=function(){var t=i.wrapperHeight,e=i.allFormTabButtonHeight,n=i.formTabButtonLength;return t>e||n<2},r.getOnePageNumForFormTabButton=function(){var t,e=i.wrapperHeight,n=i.arrowHeight,o=i.formTabButtonHeight;return t=(t=e-i.formTabButtonHoverHeight-n)<0?0:t,Math.round(t/o)+1},r.getPageNum=function(){return Math.ceil(i.formTabButtonLength/i.onePageNumForFormTabButton)},a.findOrCreateArrow=function(){var e,n,r=o.formTabButtonYList,a=i.bgColor;return(e=(e=r.find(".J_tabYArrow")).length?e:t((n=[],n.push("
    "),n.push("
    "),n.push(""),n.push("
    "),n.push(""),n.push(""),n.push("
    "),n.push("
    "),n.push("
    "),n.join(""))).appendTo(r)).css("background-color",a),e.find(".J_arrowTopBg").css("border-bottom-color",a),e.find(".J_arrowBotomBg").css("border-top-color",a),e},a.setModuleNewHeight=function(){var t=i.onePageNumForFormTabButton,e=i.formTabButtonHeight,n=i.arrowHeight,r=i.moduleId,a=i.formTabButtonHoverHeight,s=(o.formTabButtonYList,(t-1)*e+a),l=s+n;return o.arrow.css("top",s),Site.setModuleHeight2(r,l),l},a.setPages=function(){for(var t=i.pageNum,e=i.onePageNumForFormTabButton,n=o.formTabButtonYList,r=o.formTabButton,a=0;a0&&arguments[0]!==undefined?arguments[0]:{},e=this,n=navigator.userAgent.includes("UBrowser"),i=Object.assign({},{event:this.getTabSwitchWay()?"click":"hover",onTabChanged:function(){var t=e.$module.find(".tab_pane_item--active");jzModule.NewsListModule.compatDot(t),e.triggerModuleAnimation(),e.triggerScroll(),e.bindLazyLoadForVideo(t),n&&jzSite.lazyLoad.forceLoadImages(t)},onBeforeTabChanged:function(){e.toggleAnimation.apply(e,arguments)}},t),o=new f(this.moduleId,i);return this.bindToggleAnimationEndEvent(this.$module.find(".J_site_tabs_pane").eq(0),".J_tab_pane_item"),o}},{key:"initSwitchTypeClass",value:function(){var t=this.getTabSwitchWay()||1==this.getStyle()?"j_tappack__switchevent-click":"j_tappack__switchevent-enter";this.$el.addClass(t)}},{key:"getStyle",value:function(){return this.module.prop2}},{key:"isDirectionY",value:function(){return this.getFlag(4)}},{key:"getTabSwitchWay",value:function(){return this.getFlag(8)}},{key:"isCustomHeight",value:function(){return this.getFlag(16)||1==this.getStyle()}},{key:"getFoldDisplay",value:function(){return this.getFlag(32)}},{key:"getGroupPageArrow",value:function(){return this.pattern.gpa}},{key:"setCustomHeight",value:function(){var t=this.$module,e=t.find(".formMiddle"),n=t.find(".formMiddleContent"),i=t.find(".formTab"),o=t.find(".formTabContent"),r=t.find(".formTabCntId"),a=2===this.getStyle();a&&(o=t.find(".J_site_tabs_pane"),r=t.find(".J_tab_pane_item")),t.css("height","auto"),e.css("height",""),n.css("height",""),this.isDirectionY()||a?i.css("height",o.height()):i.css("height",""),o.css("height",""),r.css("height","")}},{key:"setTabPackContentHeight",value:function(){var t=this.$module.find(".J_tabPackContent"),e=this.$module.find(".news_list_wrap"),n=0!==e.length;n&&(this.$module.find(".formTabCntId").css("visibility","initial"),e.addClass("news_list_fix_dot")),t.each((function(){var t=$(this),e=Site.getModuleAutoHeight(t);t.height(e)})),n&&(this.$module.find(".formTabCntId").css("visibility",""),e.removeClass("news_list_fix_dot"))}},{key:"initGroupPageArrow",value:function(){if(this.isDirectionY()){var t=this.getGroupPageArrow().bc;jzModule.TabPackModule.tabDirectionY.initArrowIfNotEnough(this.moduleId,t)}}},{key:"actionForVideo",value:function(t){for(var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:t,n=0,i=Array.from(t.find("video:not([autoplay])"));ne||i<2},o.getOnePageNumForFormTabButton=function(){var t,e=n.wrapperHeight,i=n.arrowHeight,o=n.formTabButtonHeight;return t=(t=e-n.formTabButtonHoverHeight-i)<0?0:t,Math.round(t/o)+1},o.getPageNum=function(){return Math.ceil(n.formTabButtonLength/n.onePageNumForFormTabButton)},r.findOrCreateArrow=function(){var e,o,r=i.formTabButtonYList,a=n.bgColor;return(e=(e=r.find(".J_tabYArrow")).length?e:t((o=[],o.push("
    "),o.push("
    "),o.push(""),o.push("
    "),o.push(""),o.push(""),o.push("
    "),o.push("
    "),o.push("
    "),o.join(""))).appendTo(r)).css("background-color",a),e.find(".J_arrowTopBg").css("border-bottom-color",a),e.find(".J_arrowBotomBg").css("border-top-color",a),e},r.setModuleNewHeight=function(){var t=n.onePageNumForFormTabButton,e=n.formTabButtonHeight,o=n.arrowHeight,r=n.moduleId,a=(t-1)*e+n.formTabButtonHoverHeight,s=a+o;return i.arrow.css("top",a),Site.setModuleHeight2(r,s),s},r.setPages=function(){for(var t=n.pageNum,e=n.onePageNumForFormTabButton,o=i.formTabButtonYList,r=i.formTabButton,a=0;at.length)&&(e=t.length);for(var n=0,i=new Array(e);n200)this.cb(t);else{var n,i,o,a,s=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=r(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(l)throw a}}}}(t);try{for(s.s();!(n=s.n()).done;){var l=n.value;if(!("undefined"!=typeof(a=l.target).classList?Array.from(a.classList):($(a).attr("class")||"").trim().split(/\s+/)).some((function(t){return e.filterClassSet.has(t)}))){if(this._isAnimation(l.target))break;if(!this._isManageTools(l)){if(this._isAutoHeightChange(l)){this.cb(t);break}var u=(i=l.target,o=void 0,(o=$(i)).hasClass("form")?o:o.parents(".form")||null);if(null!==u){var c=u.attr("_moduleid");if(c){if(c==this.containerId&&"childList"==l.type){this.cb(t);break}var f=u.height(),d=parseInt(u.css("top"));if("undefined"==typeof this._moduleHeightMap[c]){this._moduleHeightMap[c]={height:f,top:d},this.cb(t);break}if(this._moduleHeightMap[c].height!=f||this._moduleHeightMap[c].top!=d){this._moduleHeightMap[c].height=f,this._moduleHeightMap[c].top=d,this.cb(t);break}}}}}}}catch(p){s.e(p)}finally{s.f()}}}},{key:"_collectModuleHeight",value:function(){var t=this;setTimeout((function(){$(t.options.node).find(".form").each((function(e,n){var i=$(n).attr("_moduleid");i&&(t._moduleHeightMap[i]={height:$(n).height(),top:$(n).css("top")})})),!Fai.top._manageMode&&t.cb()}),500)}},{key:"observe",value:function(){var t=this,e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.options.node,n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.options.config;e&&null!==this._observer&&(e instanceof NodeList?o(e).forEach((function(e){return t._observer.observe(e,n)})):this._observer.observe(e,n))}},{key:"disconnect",value:function(){if(!this.isSupport)return window.clearInterval(this.intervalTimer),void(this.intervalTimer=null);null!==this._observer&&this._observer.disconnect()}},{key:"_handleCallback",value:function(t){var e=function(){var e=this;this.fnCalling=!0,t.apply(void 0,arguments),this._delay((function(){e.fnCalling=!1}))};return Fai.top._manageMode?c(e,this.options.throttleTime):f(e,16)}},{key:"isFilterDrag",value:function(){var t=document.querySelector(".moduleSortableHelperWrap"),e=$(document.querySelector(".jz_placeholder"));if(e.length>0&&"block"===e.css("display"))return!0;if(this.options.dragingCall){if(t&&"block"===t.style.display)return!0}else if(t)return!0;return!1}},{key:"_delay",value:function(t){"undefined"!=typeof Promise?Promise.resolve().then(t):setTimeout(t,0)}},{key:"_isManageTools",value:function(t){if(!Fai.top._manageMode)return!1;var e=!1,n=t.target;return"attributes"==t.type&&"class"==t.attributeName?!(!t.oldValue||!t.oldValue.includes("ui-resizable-autohide"))||n.classList.contains("ui-resizable-handle")||n.classList.contains("J_dragHandle")||n.classList.contains("fk-paddingMarginWrap")||n.classList.contains("ui-resizable-autohide")||n.classList.contains("J_packContent"):("childList"==t.type&&(e=[].concat(o(t.addedNodes),o(t.removedNodes)).some((function(t){return!!t.classList&&(t.classList.contains("ui-resizable-handle")||t.classList.contains("J_dragHandle")||t.classList.contains("fk-paddingMarginWrap"))}))),e)}},{key:"_isAnimation",value:function(t){return t.style.animation&&"none"!=t.style.animationName}},{key:"_handleFilterClasses",value:function(){return new Set(this.options.filterClassList.concat(h))}},{key:"_handleNotSupport",value:function(){this.intervalTimer=window.setInterval(this.options.callback,1e3)}},{key:"_isAutoHeightChange",value:function(t){return"attributes"===t.type&&"_autoheight"===t.attributeName}},{key:"_getContainerId",value:function(){var t=this.options.node;return t instanceof Node&&Number(t.getAttribute("_moduleid"))||null}}],n&&s(e.prototype,n),i&&s(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();t.exports={DomChanged:m,isSupport:d,isGrayTest:function(){return Fai.top._mutationObGrayTest}}},3377:function(t,e,n){var i=[n(7550)];t.exports={install:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};i.forEach((function(e){"function"==typeof e?e(t):e&&"function"==typeof e.install&&e.install(t)}))}}},7550:function(t){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};t._moduleLoadedCallbacks={},t.onModuleLoaded=function(t,n){if("number"!=typeof t)throw new Error("moduleId类型不为Number: "+e(t));if("function"!=typeof n)throw new Error("callback类型不为Function: "+e(n));this._moduleLoadedCallbacks[t]=n},t._executeModuleLoadedCallback=function(e){var n=this._moduleLoadedCallbacks[e];if("function"==typeof n&&"number"==typeof e){var i=t.SiteModule.find(e),o=t.ManageModule.find(e);n.call(t,i,o),delete this._moduleLoadedCallbacks[e]}}}},4486:function(t,e,n){"use strict";n.r(e),n.d(e,{getAnimationDirectionConf:function(){return _},getContentDomSeqList:function(){return k},getModuleStructureTypeForAnimation:function(){return w},getModuleTypeForAnimation:function(){return S},getSiteAnimationConfig:function(){return b},initSiteAnimation:function(){return L},readyForContentAnimation:function(){return M},refreshOneResAnimation:function(){return O},refreshOneSiteAnimationEl:function(){return j},siteConfigHandler:function(){return P},startEffectForAnimation:function(){return F},stopEffectForAnimation:function(){return C}});var i=n(9045),o=n(8799),r=function(t,e){var n,i,o=Fai.top.$("#module"+t);1==e?((n=o.find("#photoSwitch"+t)).find(".imageSwitchBtnArea .imageSwitchBtn").eq(0).trigger("click"),n.data("intervalId")&&(i=n.data("intervalId"),Fai.stopInterval(i))):2==e?((n=o.find("#photoDotSwitch"+t)).find(".imageSwitchBtnArea .imageSwitchBtn_dot").eq(0).trigger("click"),n.data("intervalId")&&(i=n.data("intervalId"),Fai.stopInterval(i))):3==e&&(n=o.find(".photoSmallPrePicContainer")).find(".photoSmallPrePicOuter").eq(0).trigger("click")},a=function(t,e){var n=$("#module"+t).find("#newsList"+t),i="scroll"+t,o=n.attr("scroll");o&&parseInt(o)&&(n.stop(),e?Fai.startInterval(i):Fai.stopInterval(i))},s=function(t,e){var n,i,o=Fai.top.$("#module"+t),r=[],a=[],s=0;if(10!=e&&13!=e)return n=o.find(".richModuleSlaveImgContainer"),(i=o.find(".richContent")).length>0&&a.push(i[0]),n.length>0&&a.push(n[0]),r[s++]=a,a=[],r},l=function(t,e){var n,i,o=Fai.top.$("#module"+t),r=[],a=[],s=0;if(7!=e)return n=o.find(".richModuleSlaveImgContainer"),i=o.find(".richContent"),n.length>0&&(a.push(n[0]),r[s++]=a,a=[]),i.length>0&&(a.push(i[0]),r[s++]=a,a=[]),r},u=function(t){var e,n=[],i=Fai.top.$("#module"+t).find(".moreCardDrag"),o=i.length;if(o>0)for(var r=0;r0){e=o;for(var a=0;a0){n=r;for(var s=0;s0){n=r;for(var s=0;s0){n=r;for(var s=0;s0){n=r;for(var s=0;s0){n=r;for(var s=0;s0){n=r;for(var s=0;s0){n=r;for(var s=0;s0){n=r;for(var s=0;s0&&(n.hasClass("richContent0")?r=7:n.hasClass("richContent1")?r=8:n.hasClass("richContent2")?r=9:n.hasClass("richContent3")?r=10:n.hasClass("richContent4")?r=11:n.hasClass("richContent5")?r=12:n.hasClass("richContent6")&&(r=13));break;case 3:91==a?r=4:92==a?r=5:93==a&&(r=6);break;case 4:var s=o.find(".photoMoreCardInner");s.hasClass("cardStyle0")?r=100:s.hasClass("cardStyle1")?r=101:s.hasClass("cardStyle2")?r=102:s.hasClass("cardStyle3")?r=103:s.hasClass("cardStyle4")?r=104:s.hasClass("cardStyle5")?r=105:s.hasClass("cardStyle6")?r=106:s.hasClass("cardStyle7")?r=107:s.hasClass("cardStyle8")?r=108:s.hasClass("cardStyle9")?r=109:s.hasClass("cardStyle10")?r=110:s.hasClass("cardStyle11")?r=111:s.hasClass("cardStyle12")&&(r=112);break;case 5:2==a?r=14:3==a?r=15:8==a?r=16:30==a?r=17:41==a?r=18:74==a&&(r=19);break;case 6:(n=o.find(".J_newsList")).length>0&&(0==(i=parseInt(n.attr("newslisttype")))?r=20:6==i?r=21:2==i?r=22:1==i?r=23:5==i?r=24:3==i?r=25:4==i&&(r=26));break;case 7:(n=o.find("#newsList"+e)).length>0&&(0==(i=parseInt(n.attr("_showsetting")))?r=27:1==i&&(r=28));break;case 8:if((n=o.find(".news_list_wrap")).length>0){var l=jzModule.SiteModule.find(e).module.blob0.selectStyle;l&&!l||(r=116)}}return r},S=function(t){var e=Site.getModuleStatus(t),n=parseInt(jzModule.Module.getPerformAttr(t,"_modulestyle")),i=-1;return 3==e||(88==n||89==n||90==n?i=1:1==n?i=2:91==n||92==n||93==n?i=3:98==n?i=4:2==n||3==n||8==n||30==n||41==n||74==n?i=5:6==n||7==n?i=6:116==n&&(i=8)),i},k=function(t,e,n){var i=[],o=w(t,n);switch(o){case 1:0==e?i=function(t){var e,n,i,o,r,a,s=Fai.top.$("#module"+t),l=[],u=[],c=0,f=s.find("#photoForms"+t);if(!(f.length<1)){for(e=(a=f.find(".J_photoForm")).length,o=(n=(n=f.width()/a.outerWidth(!0))<1?1:parseInt(n))*(i=Math.ceil(f.parents(".formMiddleContent"+t).height()/a.outerHeight(!0)))0&&(l[c++]=u,u=[]),(a=s.find("#pagenation"+t)).length>0&&u.push(a[0]),u.special=1,u.animationCls="fadeIn",l.push(u),l}}(n):1==e&&(i=function(t){var e,n,i,o,r,a,s=Fai.top.$("#module"+t),l=[],u=[],c=0,f=s.find("#photoForms"+t);if(!(f.length<1)){for(a=f.find(".J_photoForm"),o=(i=(i=f.width()/a.outerWidth(!0))<1?1:parseInt(i))*(n=Math.ceil(f.parents(".formMiddleContent"+t).height()/a.outerHeight(!0)))<(e=a.length)?i*n:e,r=0;r0&&u.push(a[0]),u.special=1,u.animationCls="fadeIn",l.push(u),l}}(n));break;case 2:0==e?i=function(t){var e,n,i,o,r,a=[],s=[],l=0,u=Fai.top.$("#module"+t).find("#photo-gallery-container"+t);if(!(u.length<1)){for(i=(e=(r=u.find(".J_photoForm")).length)<(n=Math.ceil(u.parent().width()/r.outerWidth(!0)))?e:n,o=0;o=i;e--)d.push(s[e]);f[p++]=d}else if(1==m){for(i=n<(r=Math.ceil(r))?n:r,e=0;e0){for(0==(a=l%(r=Math.floor(r)))&&(a=r),i=l-a,e=l-1;e>=i;e--)d.push(u[e]);for(f[p++]=d,d=[],i=l-a-(i=r*(o-1)=i;e--)d.push(u[e]),e%r==0&&0!=e&&(f[p++]=d,d=[]);d.length>0&&(f[p++]=d),f.reverse()}else{for(e=0;e0&&(f[p++]=d)}else if(-1==m){for(e=0;e=i;e--)d.push(s[e]),f[p++]=d,d=[];f.reverse()}else if(1==v)for(i=n<(r=Math.ceil(r))?n:r,e=0;e0){for(0==(a=l%(r=Math.floor(r)))&&(a=r),i=l-a,e=l-1;e>=i;e--)d.push(u[e]),f[p++]=d,d=[];for(i=l-a-(i=r*(o-1)=i;e--)d.push(u[e]),f[p++]=d,d=[];f.reverse()}else for(e=0;e0&&i.push(e[0]),(e=r.find(".photoSwitchBg")).length>0&&i.push(e[0]),n[o++]=i,n}(n);break;case 5:i=function(t){var e,n=[],i=[],o=0,r=Fai.top.$("#module"+t).find("#photoSwitch"+t);if(!(r.length<1))return e=r.find(".switchGroup a").eq(0),i.push(e[0]),n[o++]=i,i=[],(e=r.find(".imageSwitchBtnArea")).length>0&&i.push(e[0]),(e=r.find(".photoSwitchBg")).length>0&&i.push(e[0]),n[o++]=i,n}(n);break;case 6:i=function(t){var e,n=[],i=[],o=0,r=Fai.top.$("#module"+t).find(".carouselPhotosSmallPic");if(!(r.length<1))return e=r.find(".photoContainerLeft"),i.push(e[0]),n[o++]=i,i=[],(e=r.find(".photoSmallPrePicContainer")).length>0&&i.push(e[0]),n[o++]=i,n}(n);break;case 7:i=s(n,o);break;case 10:case 13:i=l(n,o);break;case 8:case 9:case 11:case 12:0==e?i=s(n,o):1==e&&(i=l(n,o));break;case 14:0==e?i=function(t){var e,n,i,o,r,a,s,l,u,c=[],f=[],d=[],p=0,h=Fai.top.$("#module"+t).find("#productList"+t);if(!(h.length<1)){for(l=(u=Fai.top["productList"+t])&&u.data&&u.data.imgEffType?u.data.imgEffType:1,i=(a=h.find(".productTileForm")).length,o=(e=(e=h.width()/a.outerWidth(!0))<1?1:parseInt(e))*(n=Math.round(h.height()/a.outerHeight(!0)))0&&(c[p++]=d,d=[])),s=a.eq(r).find(".imgDiv"),f.push(s[0]),s=a.eq(r).find(".propList"),4!=l&&5!=l&&d.push(s[0]);return f.length>0&&(c[p++]=f,f=[]),d.length>0&&(c[p++]=d,d=[]),(s=h.find(".productListSytle")).length>0&&f.push(s[0]),(s=h.find(".separatorLine")).length>0&&f.push(s[0]),(s=h.find("#pagenation"+t)).length>0&&f.push(s[0]),f.special=1,f.animationCls="fadeIn",c[p++]=f,c}}(n):1==e&&(i=function(t){var e,n,i,o,r,a,s,l,u,c=Fai.top.$("#module"+t),f=[],d=[],p=[],h=0,m=c.find("#productList"+t);if(!(m.length<1)){for(l=(u=Fai.top["productList"+t])&&u.data&&u.data.imgEffType?u.data.imgEffType:1,i=(s=m.find(".productTileForm")).length,o=(e=(e=m.width()/s.outerWidth(!0))<1?1:parseInt(e))*(n=Math.round(m.height()/s.outerHeight(!0)))0&&d.push(a[0]),(a=m.find(".separatorLine")).length>0&&d.push(a[0]),(a=m.find("#pagenation"+t)).length>0&&d.push(a[0]),d.special=1,d.animationCls="fadeIn",f.push(d),f}}(n));break;case 15:0==e?i=function(t){var e,n,i,o,r,a,s,l,u,c,f,d,p,h=Fai.top.$("#module"+t),m=[],v=[],g=[],y=0,b=h.data("options"),_=b?b.proMarqueeDirection:-1,w=h.find("#demo0"+t);if(!(w.length<1)){if(f=(d=Fai.top["Product"+t])&&d.ieOpt?d.ieOpt.effType:1,s=w.find(".productMarqueeForm"),u=(c=w.find('.productMarqueeForm[clonediv="true"]')).length,r=w.parent().width()/s.outerWidth(!0),o=Math.ceil(w.parent().height()/s.outerHeight(!0)),n=s.length,p=4!=f&&5!=f||s.find(".J_marqueePropListInfo .g_stress .fk-prop-price-other").length>0,0==_){for(i=n-(i=n<(r=Math.ceil(r))?n:r),e=n-1;e>=i;e--)l=s.eq(e).find(".imgDiv"),v.push(l[0]),l=s.eq(e).find(".J_marqueePropListInfo"),p&&g.push(l[0]);v.length>0&&(m[y++]=v),g.length>0&&(m[y++]=g)}else if(1==_){for(i=n<(r=Math.ceil(r))?n:r,e=0;e0&&(m[y++]=v),g.length>0&&(m[y++]=g)}else if(2==_)if(u>0){for(0==(a=u%(r=Math.floor(r)))&&(a=r),i=u-a,e=u-1;e>=i;e--)l=c.eq(e).find(".imgDiv"),v.push(l[0]),l=c.eq(e).find(".J_marqueePropListInfo"),p&&g.push(l[0]);for(g.length>0&&(m[y++]=g,g=[]),m[y++]=v,v=[],i=u-a-(i=r*(o-1)=i;e--)l=c.eq(e).find(".imgDiv"),v.push(l[0]),l=c.eq(e).find(".J_marqueePropListInfo"),p&&g.push(l[0]),e%r==0&&0!=e&&(g.length>0&&(m[y++]=g,g=[]),m[y++]=v,v=[]);v.length>0&&(m[y++]=v),g.length>0&&(m[y++]=g),m.reverse()}else{for(r=Math.floor(r),e=0;e0&&(m[y++]=g,g=[])),l=s.eq(e).find(".imgDiv"),v.push(l[0]),l=s.eq(e).find(".J_marqueePropListInfo"),p&&g.push(l[0]);v.length>0&&(m[y++]=v),g.length>0&&(m[y++]=g)}else if(3==_){for(i=o*(r=Math.floor(r))0&&(m[y++]=g,g=[])),l=s.eq(e).find(".imgDiv"),v.push(l[0]),l=s.eq(e).find(".J_marqueePropListInfo"),p&&g.push(l[0]);v.length>0&&(m[y++]=v),g.length>0&&(m[y++]=g)}else if(-1==_){for(r=Math.floor(r),e=0;e0&&(m[y++]=g,g=[])),l=s.eq(e).find(".imgDiv"),v.push(l[0]),l=s.eq(e).find(".J_marqueePropListInfo"),p&&g.push(l[0]);v.length>0&&(m[y++]=v),g.length>0&&(m[y++]=g)}return m}}(n):1==e&&(i=function(t){var e,n,i,o,r,a,s,l,u,c,f,d,p,h=Fai.top.$("#module"+t),m=[],v=[],g=[],y=0,b=h.find("#demo0"+t),_=h.data("options"),w=_?_.proMarqueeDirection:-1;if(!(b.length<1)){if(f=(d=Fai.top["Product"+t])&&d.ieOpt?d.ieOpt.effType:1,s=b.find(".productMarqueeForm"),u=(c=b.find('.productMarqueeForm[clonediv="true"]')).length,r=b.parent().width()/s.outerWidth(!0),o=Math.ceil(b.parent().height()/s.outerHeight(!0)),n=s.length,p=4!=f&&5!=f||s.find(".J_marqueePropListInfo .g_stress .fk-prop-price-other").length>0,0==w){for(i=n-(i=n<(r=Math.ceil(r))?n:r),e=n-1;e>=i;e--)l=s.eq(e).find(".imgDiv"),v.push(l[0]),l=s.eq(e).find(".J_marqueePropListInfo"),p&&g.push(l[0]);v.reverse(),g.reverse(),$.each(v,(function(t,e){e&&(m[y++]=e)})),$.each(g,(function(t,e){e&&(m[y++]=e)}))}else if(1==w){for(i=n<(r=Math.ceil(r))?n:r,e=0;e0){for(0==(a=u%r)&&(a=r),i=u-a,e=u-1;e>=i;e--)l=c.eq(e).find(".imgDiv"),v.push(l[0]),l=c.eq(e).find(".J_marqueePropListInfo"),p&&g.push(l[0]);for($.each(g,(function(t,e){e&&(m[y++]=e)})),$.each(v,(function(t,e){e&&(m[y++]=e)})),v=[],g=[],i=u-a-(i=r*(o-1)=i;e--)0!=v.length&&v.length%r==0&&($.each(g,(function(t,e){e&&(m[y++]=e)})),g=[],$.each(v,(function(t,e){e&&(m[y++]=e)})),v=[]),l=c.eq(e).find(".imgDiv"),v.push(l[0]),l=c.eq(e).find(".J_marqueePropListInfo"),p&&g.push(l[0]);$.each(g,(function(t,e){e&&(m[y++]=e)})),$.each(v,(function(t,e){e&&(m[y++]=e)})),m.reverse()}else{for(e=0;e0&&($.each(v,(function(t,e){e&&(m[y++]=e)})),$.each(g,(function(t,e){e&&(m[y++]=e)})))}else if(3==w){for(i=n-u0&&($.each(v,(function(t,e){e&&(m[y++]=e)})),$.each(g,(function(t,e){e&&(m[y++]=e)})))}return m}}(n));break;case 16:i=function(t){var e,n=Fai.top.$("#module"+t),i=[],o=[],r=n.find("#productList"+t);if(!(r.length<1))return(e=r.find(".productPicListForm")).each((function(){i.push($(this)[0])})),(e=r.find(".productListSytle")).length>0&&o.push(e[0]),(e=r.find(".separatorLine")).length>0&&o.push(e[0]),(e=r.find("#pagenation"+t)).length>0&&o.push(e[0]),o.special=1,o.animationCls="fadeIn",i.push(o),i}(n);break;case 17:0==e?i=function(t){var e,n,i,o,r,a,s,l,u=Fai.top.$("#module"+t),c=[],f=[],d=u.find("#product-gallery-container"+t);if(!(d.length<1)){for(s=(l=Fai.top["productList"+t])&&l.data&&l.data.imgEffType?l.data.imgEffType:1,i=(e=(a=d.find(".product-container")).length)<(n=Math.round(d.parent().width()/a.outerWidth(!0)))?e:n,r=a.find(".img-container"),o=0;o0&&r.find(".sixth_ProductPanel").length>0&&(r=r.find(".sixth_ProductPanel")),4!=s&&5!=s||r.find(".g_stress .fk-prop-price-other").length>0){for(o=0;o0&&f.push(r[0]),f.special=1,f.animationCls="fadeIn",c.push(f),c}}(n):1==e&&(i=function(t){var e,n,i,o,r,a,s,l,u=Fai.top.$("#module"+t),c=[],f=[],d=0,p=u.find("#product-gallery-container"+t);if(!(p.length<1)){for(s=(l=Fai.top["productList"+t])&&l.data&&l.data.imgEffType?l.data.imgEffType:1,i=(e=(a=p.find(".product-container")).length)<(n=Math.round(p.parent().width()/a.outerWidth(!0)))?e:n,r=a.find(".img-container"),o=0;o0&&r.find(".sixth_ProductPanel").length>0&&(r=r.find(".sixth_ProductPanel")),4!=s&&5!=s||r.find(".g_stress .fk-prop-price-other").length>0)for(o=0;o0&&f.push(r[0]),f.special=1,f.animationCls="fadeIn",c[d++]=f,c}}(n));break;case 18:0==e?i=function(t){var e,n,i,o=[],r=Fai.top.$("#module"+t).find(".productSmallPicForms");if(!(r.length<1))return n=r.find(".smallPicUpForms"),o.push(n[0]),n=(i=r.find(".smallPicDownForms")).find(".smallPicDownFormsMid"),o.push(n[0]),n=i.find(".smallPrePic_control"),o.push(n[0]),o[e=o.length-1].special=1,o[e].animationCls="fadeIn",o}(n):1==e&&(i=function(t){var e,n,i,o=Fai.top.$("#module"+t),r=[],a=o.find(".productSmallPicForms");if(!(a.length<1))return n=(i=a.find(".smallPicUpForms")).find(".containerLeft"),r.push(n[0]),n=i.find(".containerRight"),r.push(n[0]),(n=(i=a.find(".smallPicDownForms")).find(".smallPicDownFormsMid .smallPrePicOuter")).each((function(){r.push($(this)[0])})),n=i.find(".smallPrePic_control"),r.push(n[0]),e=r.length-1,r[e].special=1,r[e].animationCls="fadeIn",r}(n));break;case 19:0==e?i=function(t){var e,n=Fai.top.$("#module"+t),i=[],o=[],r=n.find("#productList"+t);if(!(r.length<1))return(e=r.find(".doubleProduct")).each((function(){i.push($(this)[0])})),(e=r.find(".productListSytle")).length>0&&o.push(e[0]),(e=r.find(".separatorLine")).length>0&&o.push(e[0]),(e=r.find("#pagenation"+t)).length>0&&o.push(e[0]),o.special=1,o.animationCls="fadeIn",i.push(o),i}(n):1==e&&(i=function(t){var e,n=Fai.top.$("#module"+t),i=[],o=[],r=n.find("#productList"+t);if(!(r.length<1))return(e=r.find(".doubleProduct")).each((function(){$(this).find(".productDoublePicListForm").each((function(){i.push($(this).find(".imgDiv")[0]),i.push($(this).find(".propList")[0])}))})),(e=r.find(".productListSytle")).length>0&&o.push(e[0]),(e=r.find(".separatorLine")).length>0&&o.push(e[0]),(e=r.find("#pagenation"+t)).length>0&&o.push(e[0]),o.special=1,o.animationCls="fadeIn",i.push(o),i}(n));break;case 20:case 22:case 23:case 25:case 26:case 27:case 28:i=function(t,e){var n,i,o=Fai.top.$("#module"+t),r=[],a=[],s=0;if(!((n=o.find("#newsList"+t)).length<0))return(20==e||22==e||23==e||25==e||26==e?n.find(".J_newsListLine"):n.find(".J_newsResultLine")).each((function(){r[s++]=$(this)[0]})),(i=n.find(".separatorLine")).length>0&&a.push(i[0]),(i=o.find("#pagenation"+t)).length>0&&a.push(i[0]),a.special=1,a.animationCls="fadeIn",r[s++]=a,r}(n,o);break;case 21:0==e?i=function(t){var e,n,i,o,r,a,s,l,u=Fai.top.$("#module"+t),c=[],f=[],d=[],p=0;if(!((a=u.find("#newsList"+t)).length<0)){for(n=(s=a.find(".J_newsListLine")).length,r=(i=(i=a.width()/s.outerWidth(!0))<1?1:parseInt(i))*(o=Math.ceil(a.height()/s.outerHeight(!0)))0&&(c[p++]=f,c[p++]=d,f=[],d=[]),(l=u.find("#pagenation"+t)).length>0&&f.push(l[0]),f.special=1,f.animationCls="fadeIn",c[p++]=f,c}}(n):1==e&&(i=function(t){var e,n,i,o,r,a,s,l,u=Fai.top.$("#module"+t),c=[],f=[],d=[],p=0;if(!((a=u.find("#newsList"+t)).length<0)){for(n=(s=a.find(".J_newsListLine")).length,r=(i=(i=a.width()/s.outerWidth(!0))<1?1:parseInt(i))*(o=Math.ceil(a.height()/s.outerHeight(!0)))0&&f.push(l[0]),f.special=1,f.animationCls="fadeIn",c[p++]=f,c}}(n));break;case 24:i=function(t){var e,n,i,o,r=Fai.top.$("#module"+t),a=[],s=[],l=0;if(!((e=r.find("#newsList"+t)).length<0))return n=e.find(".J_newsListLine"),o=e.find(".J_timeLine"),s.push(o[0]),o=n.find(".newsCircleOuter"),s.push(o[0]),a[l++]=s,s.special=1,s.animationCls="fadeIn",(s=[]).special=0,n.each((function(){s.push($(this).find(".J_newsCalendar")[0]),s.push($(this).find(".J_newsTitle")[0]),a[l++]=s,(s=[]).push($(this).find(".pic-mixNewsStyleSummary")[0]),a[l++]=s,s=[]})),(i=r.find("#pagenation"+t)).length>0&&s.push(i[0]),s.special=1,s.animationCls="fadeIn",a[l++]=s,a}(n);break;case 100:case 111:0==e?i=u(n):1==e?i=c(n):2==e?i=f(n):3==e&&(i=f(n,!0));break;case 101:0==e?i=u(n):1==e?i=c(n):2==e?i=d(n):3==e&&(i=d(n,!0));break;case 102:case 105:case 107:0==e?i=u(n):1==e?i=c(n):2==e?i=p(n):3==e&&(i=p(n,!0));break;case 103:case 104:case 108:0==e?i=u(n):1==e?i=c(n):2==e?i=h(n):3==e&&(i=h(n,!0));break;case 106:0==e?i=u(n):1==e?i=c(n):2==e?i=m(n):3==e&&(i=m(n,!0));break;case 109:0==e?i=u(n):1==e?i=c(n):2==e?i=v(n):3==e&&(i=v(n,!0));break;case 110:0==e?i=u(n):1==e?i=c(n):2==e?i=g(n):3==e&&(i=g(n,!0));break;case 112:0==e?i=u(n):1==e?i=c(n):2==e?i=y(n):3==e&&(i=y(n,!0));break;case 116:0==e&&(i=function(t){var e=jzModule.SiteModule.find(t).$el.find(".m_news_content"),n=[];return e.each((function(t,e){n.push(Array.from($(e)))})),n}(n))}return i||[]},C=function(t,e){switch(w(e,t)){case 3:case 15:!function(t,e){var n,i,o,r=Fai.top.$("#module"+t),a=r.data("options"),s=r.find("#demo0"+t);switch(n=1==e?a?a.phoMarqueeDirection:-1:a?a.proMarqueeDirection:-1,n=parseInt(n)){case 0:o=s.outerWidth(),s.parent().scrollLeft(o),Fai.stopInterval("marquee"+t);break;case 1:s.parent().scrollLeft(0),Fai.stopInterval("marquee"+t);break;case 2:i=s.outerHeight(),s.parent().scrollTop(i),Fai.stopInterval("marquee"+t);break;case 3:s.parent().scrollTop(0),Fai.stopInterval("marquee"+t)}}(t,e);break;case 4:r(t,2);break;case 5:r(t,1);break;case 6:r(t,3)}if(6===e)a(t,!1)},F=function(t,e){var n,i,o=w(e,t),r=Fai.top.$("#module"+t);switch(o){case 3:case 15:setTimeout((function(){Fai.startInterval("marquee"+t)}),0);break;case 4:(n=r.find("#photoDotSwitch"+t)).data("intervalId")&&(i=n.data("intervalId"),Fai.startInterval(i));break;case 5:(n=r.find("#photoSwitch"+t)).data("intervalId")&&(i=n.data("intervalId"),Fai.startInterval(i))}if(6===e)a(t,!0)},M=function(t,e,n){switch(e){case 1:case 2:case 5:case 7:Fai.top.Fai.setCtrlStyleCss("contentAnimationStyle","module"+t,".formMiddleContent"+t,"overflow","hidden !important");break;case 6:Fai.top.Fai.setCtrlStyleCss("contentAnimationStyle","module"+t,".formMiddleContent"+t,"overflow","hidden !important"),Fai.top.Fai.setCtrlStyleCss("contentAnimationStyle","module"+t,".formMiddleContent"+t+" .newsList","overflow","hidden");break;case 8:Fai.top.jzModule.NewsListModule.find(t).lock=!0}if(1===n)Fai.top.Fai.setCtrlStyleCss("contentAnimationStyle","module"+t,".formMiddleContent"+t+" .listPhotosList","overflow","hidden !important");C(t,e)},T=function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0,n=$("#module"+e).find(".formMiddle"+e);t.el.length?t.el.forEach((function(t){(0,o.isArray)(t)?t.length&&t.forEach((function(t){$(t).addClass("animateModule")})):$(t).addClass("animateModule")})):n&&n.removeClass("fk-formMiddle-hidden")},x=function(t,e){var n,i,o;if(i=S(t),o=w(i,t),0!==(n=e).t&&"undefined"!=typeof n.t){if("undefined"==typeof n.r){var r=_(undefined);n.r=r.length<1?0:r[0]}"undefined"==typeof n.o&&(n.o=0),10!=o&&13!=o||(n.o=1),n.el=k(i,n.o,t),T(n,t),n.mt=i<0?1:i,n.st=o}},P=function(t,e){var n=t.idSelector,o=$("#".concat(n)),r=e.style;i.ANIMATION_TYPE_LIST.forEach((function(e){var n=t[e]||{};switch(e){case i.ANIMATION_TYPE.CONTENT:n.beforeAnimationStart=function(e){return new Promise((function(i,o){var r=t.id,a=t.idSelector,s=$("#".concat(a)),l=Site.checkNestModule(s),u=s.find(".formMiddle".concat(r)),c=Site.getModuleStatus(r),f=n.mt,d=w(f,r);if(l.inPack);else if(l.nest||1!=c){if(l.nest||2!=c)return u.removeClass("fk-formMiddle-hidden"),void o(e)}else;u.length&&u.removeClass("fk-formMiddle-hidden"),M(r,f,d),i(e)}))},n.afterAnimationEnd=function(e){return new Promise((function(i){var o=t.id,r=n.mt;!function(t,e,n){switch(e){case 1:case 2:case 5:case 7:Fai.top.Fai.removeCtrlStyleCss("contentAnimationStyle","module"+t,".formMiddleContent"+t,"overflow");break;case 6:Fai.top.Fai.removeCtrlStyleCss("contentAnimationStyle","module"+t,".formMiddleContent"+t,"overflow"),Fai.top.Fai.removeCtrlStyleCss("contentAnimationStyle","module"+t,".formMiddleContent"+t+" .newsList","overflow");break;case 8:Fai.top.jzModule.NewsListModule.find(t).contentAnimationCount||setTimeout((function(){Fai.top.jzModule.NewsListModule.find(t).lock=!0,Fai.top.jzModule.NewsListModule.find(t).contentAnimationCount=1,Fai.top.jzModule.NewsListModule.find(t).haveAnimation=!1,Fai.top.jzModule.NewsListModule.find(t).start()()}),1e3)}1===n&&Fai.top.Fai.removeCtrlStyleCss("contentAnimationStyle","module"+t,".formMiddleContent"+t+" .listPhotosList","overflow");F(t,e)}(o,r,w(r,o)),i(e)}))},x(t.id,n);break;case i.ANIMATION_TYPE.ADMISSION:case i.ANIMATION_TYPE.EMPHASIS:default:if(29==r||110==r){var a=o.find(".tab_anim"),s=Array.from(a);n.el=s}n.beforeAnimationStart=function(e){return new Promise((function(n,i){var o=t.id,a=t.idSelector,s=$("#".concat(a)),l=Site.checkNestModule(s),u=Site.getModuleStatus(o);if(l.inPack);else if(l.nest||1!=u&&3!=u){if(l.nest||2!=u){if(29==r||110==r);else if(117!=r)return s.removeClass("animateModule"),void i(e)}else if(79!=r&&81!=r&&86!=r&&115!=r)return s.removeClass("animateModule"),void i(e)}else;n(e)}))},n.afterAnimationEnd=function(t){return new Promise((function(e){115==r&&Site.triggerScroll(o),e(t)}))}}}))},L=function(t){var e=b(t);P(e,t),i.AnimationApis.initAnimationManage(e)},O=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},e=t.id,n=t.commProp,r=(0,o.deepExtendClone)(n.al[1]||{}),a=(0,o.deepExtendClone)(n.al[0]||{}),s=(0,o.deepExtendClone)(n.cal[0]||{}),l={emphasis:r,admission:a,content:s},u=i.AnimationApis.getAnimationManage(e);u?(s.t>0&&x(e,l[i.ANIMATION_TYPE.CONTENT]),u.updateAnimation(l)):u=L(t)},j=function(t){var e=i.AnimationApis.getAnimationManage(t),n=S(t);if(e){var o=$("#module".concat(t)),r=parseInt(jzModule.Module.getPerformAttr(t,"_modulestyle"));i.ANIMATION_TYPE_LIST.forEach((function(a){var s=e.animation[a]||{};if(s&&s.type>0)if(a===i.ANIMATION_TYPE.CONTENT)s.el=k(n,s.order,t),e.setAnimation(),e.setAnimationElId(),T(s,t);else{if(29==r||110==r){var l=o.find(".tab_anim"),u=Array.from(l);s.el=u}else s.el=o[0];e.setAnimation(),e.setAnimationElId()}}))}}},3949:function(t,e,n){function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){for(var n=0;n\n
    \n \n
    ').concat(i,'\n 下载\n \n \n \n
    \n
    \n \n '),a=null;$("body").append(r),(a=$("#j_previewImgPopup")).find(".j_previewClose").off("click.close").on("click.close",(function(t){t.preventDefault(),a.remove(),a=null}))}}])&&n(e.prototype,i),o&&n(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}()},6864:function(t){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,r,a,s=[],l=!0,u=!1;try{if(r=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=n["return"]&&(a=n["return"](),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n1&&arguments[1]!==undefined?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.moduleId=e,this.$module=Fai.top.$("#module".concat(e)),this._config=n,this._cache={},this._init()}var e,i,r;return e=t,i=[{key:"config",get:function(){return Object.assign({},this.defaultConfig,this._config)}},{key:"defaultConfig",get:function(){return{navItemActiveClass:"tab_nav_item--active",paneItemActiveClass:"tab_pane_item--active",event:"click",initialIndex:0}}},{key:"setConfig",value:function(){var t=this,e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};Object.keys(e).forEach((function(n){t._config[n]=e[n]}))}},{key:"setCache",value:function(t,e){return this._cache[t]=e}},{key:"getCache",value:function(t){return this._cache[t]?this._cache[t]:null}},{key:"_init",value:function(){this.selectTabByIndex(this.config.initialIndex),this._bindEvents()}},{key:"_bindEvents",value:function(){var t=this.getTabInfo().$tabNav;switch(this.config.event){case"click":default:this.bindClickEvent(t);break;case"hover":this.bindHoverEvent(t)}t.removeClass("tab_nav_event--hover tab_nav_event--click").addClass("tab_nav_event--".concat(this.config.event))}},{key:"bindClickEvent",value:function(t){var e=this,n="click.changeTab";t.off(n).on(n,".J_tab_nav_item",(function(t){e.selectTabByIndex($(t.currentTarget).index())}))}},{key:"bindHoverEvent",value:function(t){var e=this,i="mouseenter.changeTab";t.off(i).on(i,".J_tab_nav_item",(function(t){var i,o,r=n(null!==(i=null===(o=t.currentTarget.className)||void 0===o?void 0:o.match(/j_tabitem_(\d+)/))&&void 0!==i?i:[undefined,-1],2)[1];-1!==r&&e.selectTabByIndex(r)}))}},{key:"_unbindEvents",value:function(){this.getTabInfo().$tabNav.off("click.changeTab").off("mouseenter.changeTab")}},{key:"update",value:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};this.setConfig(t),this._unbindEvents(),this._init()}},{key:"selectTabByIndex",value:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0,e=this.getTabInfo(),n=e.$tabNavItems,i=e.$tabPaneItems;this.handleChangeTab(n,i,t)}},{key:"getTabInfo",value:function(){var t=this.getCache("$tabNav")?this.getCache("$tabNav"):this.setCache("$tabNav",this.$module.find(".J_site_tabs_nav").eq(0)),e=this.getCache("$tabPane")?this.getCache("$tabPane"):this.setCache("$tabPane",this.$module.find(".J_site_tabs_pane").eq(0));return{$tabNav:t,$tabPane:e,$tabNavItems:t.find(".J_tab_nav_item"),$tabPaneItems:e.find(".J_tab_pane_item")}}},{key:"handleChangeTab",value:function(t,e,n){var i=e.filter(".J_tab_pane_item--active"),o=e.eq(n),r=i.index();r!=n&&("function"==typeof this.config.onBeforeTabChanged&&this.config.onBeforeTabChanged.call(this,{$currentEl:i,$activeEl:o,currentIdx:r,activeIdx:n}),this.toggleActive(t,e,n),"function"==typeof this.config.onTabChanged&&this.config.onTabChanged.call(this))}},{key:"toggleActive",value:function(t,e,n){var i="".concat(this.config.navItemActiveClass," J_tab_nav_item--active"),o="".concat(this.config.paneItemActiveClass," J_tab_pane_item--active");e.removeClass(o).eq(n).addClass(o),t.removeClass(i).eq(n).addClass(i)}}],i&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();t.exports={SiteTabs:a}},3279:function(t){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e){for(var n=0;n1e3&&(b=!0,m))return Fai.ing(Fai.format(LS.siteFormSubmitInputMaxLength,Fai.encodeHtml(g)),1e3),!1;break;case"address":var S=$.trim(p.find(".select_province :checked").attr("_name")),k=$.trim(p.find(".select_city :checked").attr("_name")),C=$.trim(p.find(".select_county :checked").attr("_name"));if(y=S+k+C,""==S&&""==k&&""==C&&(b=!0,m))return Fai.ing(Fai.format(LS.siteFormSubmitInputIsEmpty,Fai.encodeHtml(g)),!1),!1;break;case"multiDropdown":var F,M,T,x,P=$.trim(null===(F=p.find(".select_level1 :checked"))||void 0===F?void 0:F.attr("_name")),L=$.trim(null===(M=p.find(".select_level2 :checked"))||void 0===M?void 0:M.attr("_name")),O=$.trim(null===(T=p.find(".select_level3 :checked"))||void 0===T?void 0:T.attr("_name")),j=$.trim(null===(x=p.find(".select_level4 :checked"))||void 0===x?void 0:x.attr("_name")),I="";if(I="".concat(P),L&&(I+="-".concat(L)),O&&(I+="-".concat(O)),j&&(I+="-".concat(j)),y=I,""==I&&(b=!0,m))return Fai.ing(Fai.format(LS.siteFormSubmitInputIsEmpty,Fai.encodeHtml(g)),!1),!1;break;case"date":var E=(o(n,p).dateSetting||{}).type||0,A=$.trim(p.find(".start_time").val()),D=$.trim(p.find(".end_time").val());if(""==A&&(b=!0,m))return Fai.ing(Fai.format(LS.siteFormSubmitCheckIsEmpty,Fai.encodeHtml(g))),!1;if(y=A,1==E){if(""==D&&(b=!1,m))return Fai.ing(Fai.format(LS.siteFormSubmitCheckIsEmpty,Fai.encodeHtml(g))),!1;y+=" 至 ".concat(D)}break;case"phone":var B=o(n,p),N=p.find("select").val(),H=$.trim(p.find(".phone_number").val()),z=(B.phoneNumberLength||"7-11").split("-"),q=z[0],J=z[1]||q;if(y=N?N+H:H,""==H&&!N&&(b=!0,m))return Fai.ing(Fai.format(LS.siteFormSubmitInputIsEmpty,Fai.encodeHtml(g)),!1),!1;if(H){if(!Fai.isLimitedRangeNationMobile(H,q,J)&&(b=!0,m))return Fai.ing(Fai.format(LS.site_newMobileNumRegular,Fai.encodeHtml(g)),!1),!1;if(11==H.length&&!Fai.isMobile(H)&&(b=!0,m))return Fai.ing(Fai.format(LS.site_newMobileNumRegular,Fai.encodeHtml(g)),!1),!1}}b||s.push({index:f,prop:"prop"+v,type:h,value:y})}var R=[].concat(s).filter((function(t){var e;return"date"==r(c,t.type)&&" 至 "!==t.value||"date"!==r(c,t.type)&&"phone"!==r(c,t.type)||"phone"==r(c,t.type)&&t.value!==(null===(e=$(l[null==t?void 0:t.index]))||void 0===e||null===(e=e.find("select"))||void 0===e?void 0:e.val())}));return R.length||1!=c?(e(s),!0):l.length>1?(Fai.ing(LS.js_customSearch_condition,!1),!1):(l.length&&Fai.ing(Fai.format(LS.siteFormSubmitInputIsEmpty,Fai.encodeHtml($(l[0]).data("name"))),!1),!1)}(t,(function(t){h.push("condition="+Fai.encodeUrl($.toJSON(t)))}),e);v&&(window.location.href=Site.preprocessUrl({path:"",oldPath:""})+"csr.jsp?".concat(h.join("&")),Site.logDog(201006,1))}else{var g;top._manageMode?Fai.top._oem?Fai.ing("表单查询为网站至尊版功能。"):Fai.ing("表单查询为网站皇冠版功能。立即升级"):Fai.ing("功能不可用,如需继续使用请联系网站管理员")}}else Fai.ing("功能不可用,如需继续使用请联系网站管理员",!0)}(n,t,e)})),function(t,e){var n,i,r=jzModule.SiteModule.find(e).options.initalState;if(null!==(n=null==r||null===(i=r.projectInfo)||void 0===i?void 0:i.funcType)&&void 0!==n&&n){var a=t.find(".u_custom_search_entry--field_item6 .J_unitCustomSearchEntryControl");if(a.length){var s=o(e,a);jzModule.SiteFormModule.prototype._initDatepicker.call(jzModule.SiteFormModule.prototype,s,a,!1),1==s.dateSetting.type&&jzModule.SiteFormModule.prototype._initDatepicker.call(jzModule.SiteFormModule.prototype,s,a,!0)}var l=t.find(".u_custom_search_entry--field_item11 .J_unitCustomSearchEntryControl");if(l.length){var u=o(e,l);jzModule.SiteFormModule.prototype._initAddress.call(jzModule.SiteFormModule.prototype,u,l,window._lcid)}var c=t.find(".u_custom_search_entry--field_item8 .J_unitCustomSearchEntryControl");if(c.length){var f=o(e,c);jzModule.SiteFormModule.prototype._initPhoneValidateCode.call(jzModule.SiteFormModule.prototype,f,c)}var d=t.find(".u_custom_search_entry--field_item12 .J_unitCustomSearchEntryControl");if(d.length){var p=o(e,d);jzModule.SiteFormModule.prototype.initMultiDropDown.call(jzModule.SiteFormModule.prototype,p,d)}}}(n,t))}}],(i=null)&&n(e.prototype,i),a&&n(e,a),Object.defineProperty(e,"prototype",{writable:!1}),t}();var r=function(t,e){var n="";if(t)switch(e){case 0:n="singleLine";break;case 1:n="multiLine";break;case 2:n="radio";break;case 3:n="multipleChoice";break;case 4:n="dropdown";break;case 6:n="date";break;case 8:n="phone";break;case 9:n="mail";break;case 10:n="identity";break;case 11:n="address";break;case 12:n="multiDropdown";break;case 13:n="number";break;default:n="-"}else switch(e){case 0:default:n="singleLine";break;case 1:n="radio";break;case 2:n="multipleChoice";break;case 3:n="dropdown";break;case 4:n="photo"}return n}},329:function(t){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports={supportsIntersectionObserver:function n(){if("undefined"!=typeof n._value)return n._value;var t=Fai.isIE7()||Fai.isIE8(),e=Fai.top.window.navigator.userAgent.toLowerCase(),i=(e.includes("android")||e.includes("adr"))&&e.includes("micromessenger");return n._value="IntersectionObserver"in window&&!t&&!i},isIntersecting:function(t){return t.isIntersecting||t.intersectionRatio>0},isFunction:function(t){return"function"==typeof t},isUndefined:function(t){return void 0===t},debounce:function(t,e){var n=t,i=null;return function(){for(var t=arguments.length,o=new Array(t),r=0;r1&&arguments[1]!==undefined?arguments[1]:3e3,n=document.createElement("script");return n.src=t,new Promise((function(i,o){n.onload=i,n.onerror=o,setTimeout((function(){o(new Error("".concat(t," load timeout")))}),e),document.head.appendChild(n)}))}}},9045:function(t){"use strict";t.exports=__WEBPACK_EXTERNAL_MODULE__9045__},875:function(t){"use strict";t.exports=__WEBPACK_EXTERNAL_MODULE__875__},8799:function(t){"use strict";t.exports=__WEBPACK_EXTERNAL_MODULE__8799__}},__webpack_module_cache__={},inProgress,dataWebpackPrefix;function __webpack_require__(t){var e=__webpack_module_cache__[t];if(e!==undefined)return e.exports;var n=__webpack_module_cache__[t]={id:t,loaded:!1,exports:{}};return __webpack_modules__[t](n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=function(t,e){for(var n in e)__webpack_require__.o(e,n)&&!__webpack_require__.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},__webpack_require__.f={},__webpack_require__.e=function(t){return Promise.all(Object.keys(__webpack_require__.f).reduce((function(e,n){return __webpack_require__.f[n](t,e),e}),[]))},__webpack_require__.u=function(t){return"popperjs.f4ed19df.js"},__webpack_require__.miniCssF=function(t){return undefined},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},inProgress={},dataWebpackPrefix="__JZ_UMD__:",__webpack_require__.l=function(t,e,n,i){if(inProgress[t])inProgress[t].push(e);else{var o,r;if(n!==undefined)for(var a=document.getElementsByTagName("script"),s=0;s-1&&!t;)t=n[i--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=t}(),function(){var t={4641:0};__webpack_require__.f.j=function(e,n){var i=__webpack_require__.o(t,e)?t[e]:undefined;if(0!==i)if(i)n.push(i[2]);else{var o=new Promise((function(n,o){i=t[e]=[n,o]}));n.push(i[2]=o);var r=__webpack_require__.p+__webpack_require__.u(e),a=new Error;__webpack_require__.l(r,(function(n){if(__webpack_require__.o(t,e)&&(0!==(i=t[e])&&(t[e]=undefined),i)){var o=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;a.message="Loading chunk "+e+" failed.\n("+o+": "+r+")",a.name="ChunkLoadError",a.type=o,a.request=r,i[1](a)}}),"chunk-"+e,e)}};var e=function(e,n){var i,o,r=n[0],a=n[1],s=n[2],l=0;if(r.some((function(e){return 0!==t[e]}))){for(i in a)__webpack_require__.o(a,i)&&(__webpack_require__.m[i]=a[i]);if(s)s(__webpack_require__)}for(e&&e(n);l=0;--r){var a=this.tryEntries[r],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),y}},"catch":function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var o=i.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:I(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),y}},e}function l(t,e,n,i,o,r,a){try{var s=t[r](a),l=s.value}catch(u){return void n(u)}s.done?e(l):Promise.resolve(l).then(i,o)}var u={isRender:!1,instance:null,render:function(){var t,e=this;return(t=s().mark((function n(){var t,i;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,!e.isRender){n.next=4;break}return e.instance.toggle(!0),n.abrupt("return");case 4:if(Fai.top._Global.openSuspendServ){n.next=6;break}return n.abrupt("return");case 6:return n.next=8,e.getData();case 8:t=n.sent,i=t.pageData,e.isRender=!0,e.instance=new Vue({components:{suspendServComponent:r},data:{vueData:i,show:!0},mounted:function(){setTimeout((function(){Fai.top._manageMode&&jzManage.siteToolbar.bind({target:".s_suspendserv_wrap",name:"suspendServ",type:"system"})}))},methods:{toggle:function(t){this.show=t}},template:'\n \n '}).$mount(),$("body").append(e.instance.$el),n.next=19;break;case 15:n.prev=15,n.t0=n["catch"](0),console.log("悬浮客服加载失败"),console.error(n.t0);case 19:case"end":return n.stop()}}),n,null,[[0,15]])})),function(){var e=this,n=arguments;return new Promise((function(i,o){var r=t.apply(e,n);function a(t){l(r,i,o,a,s,"next",t)}function s(t){l(r,i,o,a,s,"throw",t)}a(undefined)}))})()},setting:function(){Fai.top.bizManageShared.jzPopups.initPopups({title:"悬浮客服",width:663,contentHeight:507,microApps:{id:"suspendServEdit",ajaxUrl:"/api/manage/suspendServices/getSuspendServListPopupData"},saveName:"save",okButtonProps:{loading:!1},handleOk:function(t){var e=t.servlist,n=t.styleType;return new Promise((function(t){var i,o=(null===(i=jzSite)||void 0===i||null===(i=i.systemComponents)||void 0===i||null===(i=i.suspendServ)||void 0===i?void 0:i.instance)||{};o.vueData.servlist=e,o.vueData.styleType=n,t()}))}})},getData:function(){var t=Fai.top._manageMode?"/api/manage/suspendServices/getSuspendServListPopupData":"/api/guest/suspendServices/getSuspendServListPopupData";return new Promise((function(e){jzRequest.post(t).then((function(t){var n=t.data;n.success?e(n):Fai.ing(n.msg||"系统错误")}))}))},hidden:function(){this.instance.toggle(!1)}},c={suspendServ:u},f=__webpack_require__(8799),d=__webpack_require__(4486),p=!1,h=function jt(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return new Promise((function(e){if(!$.contextMenu){if(jt.Dep.push(t),p)return;return p=!0,void $LAB.script(Fai.top.resMap.js.contextMenu).wait((function(){jt.Dep.forEach((function(t){return $.contextMenu(t)})),e()}))}$.contextMenu(t),e()}))};h.Dep=[];var m=function(){return new Promise((function(t){$.fn.parallax?t():$LAB.script(Fai.top.resMap.js.parallax).wait((function(){t()}))}))},v=!1,g=function(){return new Promise((function(t){v?t(Site.newGuidePanel):Site.loadCss(Fai.top.resMap.css.guidePanel,(function(){$LAB.script(Fai.top.resMap.js.guidePanel).wait((function(){v=!0,t(Site.newGuidePanel)}))}))}))},y=!1,b=function(){return new Promise((function(t){y?t():Site.loadCss(Fai.top.resMap.css.navPackPanel,(function(){$LAB.script(Fai.top.resMap.js.navPackPanel).wait((function(){y=!0,t()}))}))}))},_=function(){return new Promise((function(t){"undefined"!=typeof $.fn.uploadify?t():$LAB.script(Fai.top.resMap.js.jqUpload).wait((function(){t()}))}))},w=function(){return new Promise((function(t){"undefined"!=typeof window.SWFUploadCreator?t():$LAB.script(Fai.top.resMap.js.swfUpload).wait((function(){t()}))}))},S=!1,k=function(){return new Promise((function(t){S?t():$LAB.script(Fai.top.resMap.js.three,Fai.top.resMap.js.sphereviewer).wait((function(){S=!0,t()}))}))},C=!1,F=function(){return new Promise((function(t){C?t():$LAB.script(Fai.top.resMap.js.booking).wait((function(){C=!0,t()}))}))},M=__webpack_require__(585).isSupportWebp;function T(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return t.substring(t.lastIndexOf(".")+1)}var x={clientToWebp:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return!1===Fai.top.webpOptOpen||!1===this.supportWebp()?t:this.convertToWebp(t)},isomorphicToWebp:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"",e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return!1===e.open||!1===e.clientSupport?t:this.convertToWebp(t)},convertToWebp:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";if(t.includes("materialLib/image")||t.includes("template/"))return t;if(!1===t.includes("?"))return"webp"===T(t)?t:"".concat(t,".webp");var e=t.split("?");return"webp"!==T(e[0])&&(e[0]=e[0]+".webp"),e.join("?")},supportWebp:function(){return M()}};function P(t){return function(t){if(Array.isArray(t))return L(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return L(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n1&&arguments[1]!==undefined?arguments[1]:{},n=e.interfaceClass,i=e.impl;O.set(t,{interfaceClass:n,impl:i})},get:function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},n=e.params,i=void 0===n?[]:n,o=e.impl;if(O.has(t)){var r,a=O.get(t);return a.impl?o?a.impl[o]:Object.values(a.impl).map((function(t){return new(t.bind.apply(t,[null].concat(P(i))))})):new((r=a.interfaceClass).bind.apply(r,[null].concat(P(i))))}}},I=__webpack_require__(9045);function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}function A(t,e){for(var n=0;n0&&arguments[0]!==undefined?arguments[0]:[];if(0!==t.length){var e={cmd:"setWafCk_set",colId:Fai.top._colId,extId:Fai.top._extId};return this.request.post("/ajax/site_h.jsp",{params:e,data:{moduleList:JSON.stringify(t)}})}},getLayers:function(){return this.request.get("/ajax/linkChg_h.jsp",{params:{cmd:"getWafNotCk_getModuleListByStyle",moduleStyle:120}})},getLayerModuleInfo:function(t){var e={cmd:"getWafNotCk_getFloatLayerModule",_fresh:!1,_colId:Fai.top._colId,_extId:Fai.top._extId,floatLayerId:t,manageMode:Fai.top._manageMode,_majorColorData:Fai.top._majorColorData,_vueStyleGrayTest:Fai.top._vueStyleGrayTest};return this.request.get("/ajax/module_h.jsp",{params:e})},addChildModule:function(t,e){var n={cmd:"addWafCk_addNewInFloatLayerModule",floatLayerId:t,newInModule:JSON.stringify(e)};return this.request.post("/ajax/module_h.jsp",{params:n})},deleteModule:function(t){if(!t)throw Error("moduleId is required, but got ".concat(t));var e={cmd:"delWafCk_del",id:t};return this.request.get("/ajax/module_h.jsp",{params:e})},getAllModules:function(t){var e={cmd:"getWafNotCk_getInFloatLayerModule",_colId:Fai.top._colId,_extId:Fai.top._extId,floatLayerId:t};return this.request.post("/ajax/module_h.jsp",{params:e})}},U=["top-start","top","top-end","right-start","right","right-end","bottom-start","bottom","bottom-end","left-start","left","left-end"],W=function(t){return U[t]};function V(t){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},V(t)}function Y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function G(t){for(var e=1;e=0;--r){var a=this.tryEntries[r],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},"catch":function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var o=i.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:O(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),v}},e}function nt(t,e,n,i,o,r,a){try{var s=t[r](a),l=s.value}catch(u){return void n(u)}s.done?e(l):Promise.resolve(l).then(i,o)}function it(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var r=t.apply(e,n);function a(t){nt(r,i,o,a,s,"next",t)}function s(t){nt(r,i,o,a,s,"throw",t)}a(undefined)}))}}function ot(){return rt.apply(this,arguments)}function rt(){return(rt=it(et().mark((function t(){return et().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Q!=undefined){t.next=4;break}return t.next=3,__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,9492));case 3:Q=t.sent;case 4:return t.abrupt("return",Q);case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var at=function(){var t=it(et().mark((function e(){var t,n=arguments;return et().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ot();case 2:return t=e.sent,e.abrupt("return",t.createPopper.apply(t,n));case 4:case"end":return e.stop()}}),e)})));return function(){return t.apply(this,arguments)}}(),st={79:function(){return{modifiers:[{name:"offset",options:{offset:function(){return[0,6]}}}]}}},lt=function(t,e){var n;return(null!==(n=st[t])&&void 0!==n?n:function(){return{}})(e)};function ut(t){return ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ut(t)}function ct(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ft(t){for(var e=1;e=0;--r){var a=this.tryEntries[r],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},"catch":function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var o=i.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:O(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),v}},e}function ht(t,e,n,i,o,r,a){try{var s=t[r](a),l=s.value}catch(u){return void n(u)}s.done?e(l):Promise.resolve(l).then(i,o)}function mt(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var r=t.apply(e,n);function a(t){ht(r,i,o,a,s,"next",t)}function s(t){ht(r,i,o,a,s,"throw",t)}a(undefined)}))}}function vt(t,e){for(var n=0;n'),Fai.top.$("#popperContainer")}},bt=new Map,_t=new Map,wt=function(t,e){_t.set(t,e)},St=function(t){return _t.get(t)},kt=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.id=e,this.invokeModuleId=n.moduleId,this.data=null,this.options=Object.assign({},yt,n),this._containerKey="".concat(this.id,"-").concat(this.invokeModuleId),this.$invokeEl=$("#module".concat(this.invokeModuleId)),bt.set(this._containerKey,this),this.$invokeEl&&this.activate()}var e,n,i,o,r,a;return e=t,n=[{key:"init",value:(a=mt(pt().mark((function s(){var t,e,n,i,o=this;return pt().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!this.data){r.next=2;break}return r.abrupt("return");case 2:if(!0!==this._loadingData){r.next=4;break}return r.abrupt("return");case 4:return r.prev=4,r.next=7,this._loadData();case 7:r.next=13;break;case 9:throw r.prev=9,r.t0=r["catch"](4),console.error(r.t0),r.t0;case 13:t=Fai.top.$(this.data.domHtml),e=t.filter("#module".concat(this.id)).first(),n=t.filter("script").first(),Fai.top.$("body").append(n),i=this.options.getLayerContainer(),Fai.top.$(i).find("#module".concat(this.id)).length<=0&&Fai.top.$(i).append(e),Fai.top.$("body").append(t.filter("script").eq(1)),this.data.childrenModules.forEach((function(t){t.i&&!t.s&&Fai.top.$("#module".concat(o.id)).find("#module".concat(t.i)).hide()})),this.initFloatBtnCss(),t.filter("script").last().appendTo(Fai.top.$("body")),this._executeDomEffects();case 24:case"end":return r.stop()}}),s,this,[[4,9]])}))),function(){return a.apply(this,arguments)})},{key:"activate",value:(r=mt(pt().mark((function l(){var t,e,n=this;return pt().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:t=function(){var t=mt(pt().mark((function i(){var t,o,r;return pt().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(!window.jzManage||!0!==window.jzManage.FloatLayerManage.opening){i.next=2;break}return i.abrupt("return");case 2:return t=parseInt(Fai.top.$("#module".concat(n.invokeModuleId)).attr("_modulestyle")),X.onExpose(X.getModuleNameFormStyle(t)),bt.set(n._containerKey,n),i.next=7,n.init();case 7:if(n.data){i.next=9;break}return i.abrupt("return");case 9:return(o=Fai.top.$("#module".concat(n.id))).removeClass("hidden").addClass("J_popper").css("z-index","9031"),setTimeout((function(){o.addClass("active")}),100),r=lt(t,W(n.data.placement)),i.next=15,at(n.$invokeEl[0],o[0],ft({placement:W(n.data.placement)},r));case 15:n.popperInstance=i.sent,o.off("mouseenter.popper").on("mouseenter.popper",(function(){clearTimeout(St(n.id)),wt(n.id,null)})),o.off("mouseleave.popper").on("mouseleave.popper",(function(){clearTimeout(St(n.id)),e()}));case 18:case"end":return i.stop()}}),i)})));return function(){return t.apply(this,arguments)}}(),e=function(){if(!window.jzManage||!0!==window.jzManage.FloatLayerManage.opening){var t=Fai.top.$("#module".concat(n.id));t.removeClass("active");var e=setTimeout((function(){t.addClass("hidden"),n.popperInstance&&(n.popperInstance.destroy(),n.popperInstance=null)}),300);wt(n.id,e)}},this.$invokeEl.off("mouseenter.popper").on("mouseenter.popper",(function(){St(n.id)&&clearTimeout(St(n.id)),t(),n.$invokeEl.on("transitionend.floatLayer animationend.floatLayer",(function(){n.popperInstance.update()}))})),this.$invokeEl.off("mouseleave.popper").on("mouseleave.popper",(function(){St(n.id)&&clearTimeout(St(n.id));var t=setTimeout((function(){e()}),100);wt(n.id,t),n.$invokeEl.off("transitionend.floatLayer animationend.floatLayer")}));case 4:case"end":return i.stop()}}),l,this)}))),function(){return r.apply(this,arguments)})},{key:"deactivate",value:function(){this.$invokeEl&&this.$invokeEl.off("mouseenter.popper").off("mouseleave.popper")}},{key:"destroy",value:function(){$(this.options.getLayerContainer()).empty(),Fai.top.$("#popperContainer").empty(),this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null),this.data=null,bt["delete"](this._containerKey)}},{key:"_loadData",value:(o=mt(pt().mark((function u(){var t,e,n,i,o,r,a,s,l,c,f,d,p;return pt().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return this._loadingData=!0,a=window.jzSite.FloatLayer.getService(),u.next=4,a.getLayerModuleInfo(this.id);case 4:if(s=u.sent,(l=s.data)&&l.rtInfo){u.next=8;break}throw"获取浮层数据失败,请检查浮层是否存在";case 8:c=l.rtInfo?JSON.parse(l.rtInfo):{},f=null!==(t=null===(e=c.moduleDomList)||void 0===e||null===(e=e[0])||void 0===e?void 0:e.dom)&&void 0!==t?t:"",d=null!==(n=null===(i=c.moduleDomList)||void 0===i||null===(i=i[0])||void 0===i?void 0:i.inModuleList)&&void 0!==n?n:[],p=null!==(o=null==c||null===(r=c.moduleDomList)||void 0===r||null===(r=r[0])||void 0===r?void 0:r.flp)&&void 0!==o?o:0,this.data={domHtml:f,childrenModules:d,placement:p},this._loadingData=!1;case 14:case"end":return u.stop()}}),u,this)}))),function(){return o.apply(this,arguments)})},{key:"_executeDomEffects",value:function(){var t=Fai.top.$("#module".concat(this.id));jzUtils.run({name:"addQrCode"}),window.jzSite.lazyLoad.checkLazyLoad(t),t.off("wheel.fl").on("wheel.fl",(function(t){t.stopPropagation()}))}},{key:"initFloatBtnCss",value:function(){this.data.childrenModules.map((function(t){return Fai.top.$("#module".concat(t.i))})).filter((function(t){return 81===parseInt(t.attr("_modulestyle"))})).length>0&&0==Fai.top.$("link[href='"+Fai.top._floatBtnCssLink+"']").length&&Fai.top.$('').appendTo(top.$("head"))}}],i=[{key:"getService",value:function(){return R}},{key:"getLogger",value:function(){return X}},{key:"getPlacements",value:function(){return U}},{key:"clear",value:function(){bt.forEach((function(t){return t.destroy()}))}},{key:"find",value:function(t){return bt.has(t)?bt.get(t):null}}],n&&vt(e.prototype,n),i&&vt(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();"undefined"==typeof __DEV_SERVER__&&(__webpack_require__.p=Fai.top._resRoot+"/js/dist/");var Ct=__webpack_require__(2822),Ft=__webpack_require__(7751),Mt=__webpack_require__(9708),Tt=__webpack_require__(3377),xt=__webpack_require__(3038),Pt=__webpack_require__(1069),Lt=__webpack_require__(291);if("undefined"!=typeof window){window.jzSite={Core:e,ServiceFactory:j,lazyLoad:xt,hiddenModules:Pt,mutationObserver:Lt,digGet:f.digGet,libs:t,getSiteAnimationConfig:d.getSiteAnimationConfig,initSiteAnimation:d.initSiteAnimation,getModuleStructureTypeForAnimation:d.getModuleStructureTypeForAnimation,getModuleTypeForAnimation:d.getModuleTypeForAnimation,getContentDomSeqList:d.getContentDomSeqList,getAnimationDirectionConf:d.getAnimationDirectionConf,siteConfigHandler:d.siteConfigHandler,refreshOneResAnimation:d.refreshOneResAnimation,readyForContentAnimation:d.readyForContentAnimation,refreshOneSiteAnimationEl:d.refreshOneSiteAnimationEl,systemComponents:c,FloatLayer:kt};var Ot=window.jzModule||(window.jzModule={});Ot.Module=Ct,Ot.SiteModule=Ft,Tt.install(Ot),window.onlineMapCallBack=function(){try{Ot.OnlineMapModule.onlineMapCallBackStack.length&&Ot.OnlineMapModule.onlineMapCallBackStack.forEach((function(t){"function"==typeof t&&t()})),Ot.OnlineMapModule.finishCallBack=!0}catch(t){console.log(t)}},Object.assign(Ot,Mt)}}(),__webpack_exports__}()}));