(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d22ce36"],{f4c5:function(t,e,o){"use strict";o.r(e),o.d(e,"needCLodop",(function(){return a})),o.d(e,"getLodop",(function(){return u}));var n,r,i;o("37de"),o("63f1"),o("3920");function a(){try{var t=navigator.userAgent;if(t.match(/Windows\sPhone/i))return!0;if(t.match(/iPhone|iPod|iPad/i))return!0;if(t.match(/Android/i))return!0;if(t.match(/Edge\D?\d+/i))return!0;var e=t.match(/Trident\D?\d+/i),o=t.match(/MSIE\D?\d+/i),n=t.match(/OPR\D?\d+/i),r=t.match(/Firefox\D?\d+/i),i=t.match(/x64/i);if(!e&&!o&&i)return!0;if(r){if(r=r[0].match(/\d+/),r[0]>=41||i)return!0}else if(n){if(n=n[0].match(/\d+/),n[0]>=32)return!0}else if(!e&&!o){var a=t.match(/Chrome\D?\d+/i);if(a&&(a=a[0].match(/\d+/),a[0]>=41))return!0}return!1}catch(d){return!0}}if(a()){var d=document.head||document.getElementsByTagName("head")[0]||document.documentElement,c=document.createElement("script");c.src="http://localhost:8000/CLodopfuncs.js?priority=1",d.insertBefore(c,d.firstChild);var f=document.createElement("script");if(f.src="http://localhost:18000/CLodopfuncs.js?priority=0",d.insertBefore(f,d.firstChild),r=!!(c.src+f.src).match(/\/\/localho|\/\/127.0.0./i),c.attachEvent){i="loading";var l=function(){"loaded"==window.event.srcElement.readyState&&(i="complete")};c.attachEvent("onreadystatechange",l),f.attachEvent("onreadystatechange",l)}}function u(t,e){var o,d="<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='install_lodop32.exe' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>",c="<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='install_lodop32.exe' target='_self'>执行升级</a>,升级后请重新进入。</font>",f="<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='install_lodop64.exe' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>",l="<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='install_lodop64.exe' target='_self'>执行升级</a>,升级后请重新进入。</font>",u="<br><br><font color='#FF00FF'>（注意：如曾安装过Lodop旧版附件npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它）</font>",h="<br><br><font color='#FF00FF'>(如果此前正常，仅因浏览器升级或重安装而出问题，需重新执行以上安装）</font>",s="<br><font color='#FF00FF'>Web打印服务CLodop未安装启动，点击这里<a href='https://api.pt.huaml.com/soft/CLodop_Setup_for_Win32NT.exe' target='_self'>下载执行安装</a>",m="<br>（若此前已安装过，可<a href='CLodop.protocol:setup' target='_self'>点这里直接再次启动</a>）",p="，成功后请刷新本页面。</font>",b="<br><font color='#FF00FF'>Web打印服务CLodop需升级!点击这里<a href='CLodop_Setup_for_Win32NT.exe' target='_self'>执行升级</a>,升级后请刷新页面。</font>";try{var F=navigator.userAgent,L=!!F.match(/MSIE/i)||!!F.match(/Trident/i);if(a()){try{o=getCLodop()}catch(y){}if(!o&&("complete"!==document.readyState||L&&"loading"==i))return void alert("网页还没下载完毕，请稍等一下再操作.");if(!o)return void(document.body.innerHTML=s+(r?m:"")+p+document.body.innerHTML);CLODOP.CVERSION<"3.0.9.3"&&(document.body.innerHTML=b+document.body.innerHTML),e&&e.parentNode&&e.parentNode.removeChild(e),t&&t.parentNode&&t.parentNode.removeChild(t)}else{var g=L&&!!F.match(/x64/i);if(t||e?o=L?t:e:n?o=n:(o=document.createElement("object"),o.setAttribute("width",0),o.setAttribute("height",0),o.setAttribute("style","position:absolute;left:0px;top:-100px;width:0px;height:0px;"),L?o.setAttribute("classid","clsid:2105C259-1E0C-4534-8141-A753534CB4CA"):o.setAttribute("type","application/x-print-lodop"),document.documentElement.appendChild(o),n=o),!o||!o.VERSION)return F.indexOf("Chrome")>=0&&(document.body.innerHTML=h+document.body.innerHTML),F.indexOf("Firefox")>=0&&(document.body.innerHTML=u+document.body.innerHTML),document.body.innerHTML=(g?f:d)+document.body.innerHTML,o}return o.VERSION<"6.2.2.6"&&(a()||(document.body.innerHTML=(g?l:c)+document.body.innerHTML)),o}catch(y){alert("getLodop出错:"+y)}}}}]);