eadyState="loading",U(S)),ke||C(E,()=>{Ie()})};C(Ee,()=>{Ie()});b.on(be,()=>{Ie()});_wpmeteor.rdelay>=0&&Ze.capture();var Ce=1,at=()=>{--Ce||U(b.emit.bind(b,M))};var H=!1,S=()=>{let t=N.shift();if(t)t[u](m+"src")?t[D]("async")?(Ce++,Ue(t,at),U(S)):Ue(t,U.bind(null,S)):(t.origtype==P&&Ue(t),U(S));else if(te.length){for(;te.length;)N.push(te.shift());Re(),U(S)}else if(ct([f,A,B]))ie([f,A,B]),U(S);else if(ke)if(ct([E,B]))ie([E,B]),U(S);else if(Ce>1)Lt(S);else if(I.length){for(;I.length;)N.push(I.shift());Re(),U(S)}else{if(l.RocketLazyLoadScripts)try{RocketLazyLoadScripts.run()}catch(e){x(e)}c.readyState="complete",kt(),At.unmock(),H=!1,se=!0,l[ae](at)}else H=!1},Oe=t=>{let e=V(Y),n=t.attributes;for(var s=n.length-1;s>=0;s--)n[s].name.startsWith(m)||e[y](n[s].name,n[s].value);let r=t[u](m+"type");r?e.type=r:e.type="text/javascript",(t.textContent||"").match(/^\s*class RocketLazyLoadScripts/)?e.textContent=t.textContent.replace(/^\s*class\s*RocketLazyLoadScripts/,"window.RocketLazyLoadScripts=class").replace("RocketLazyLoadScripts.run();",""):e.textContent=t.textContent;for(let i of["onload","onerror","onreadystatechange"])t[i]&&(e[i]=t[i]);return e},lt=(t,e)=>{let n=t.parentNode;if(n)return(n.nodeType===11?V(n.host[_]):V(n[_]))[G](n.replaceChild(e,t)),n.isConnected?t:void 0;x("No parent for",t)},Ue=(t,e)=>{let n=t[u](m+"src");if(n){let s=Oe(t),r=De?De.bind(s):s[r].bind(s);t.getEventListeners&&t.getEventListeners().forEach(([o,d])=>{r(o,d)}),e&&(r(E,e),r(fe,e)),s.src=n;let i=lt(t,s),a=s[u]("type");(!i||t[D]("nomodule")||a&&!Be.test(a))&&e&&e()}else t.origtype===P?lt(t,Oe(t)):e&&e()},Ve=(t,e)=>{let n=(h[t]||[]).indexOf(e);if(n>=0)return h[t][n]=void 0,!0},dt=(t,e,...n)=>{if("HTMLDocument::"+f==oe&&t===f&&!e.toString().match(/jQueryMock/)){b.on(M,c[g].bind(c,t,e,...n));return}if(e&&(t===f||t===A)){let s=le+t;h[s]=h[s]||[],h[s].push(e),se&&ie([t]);return}return $(t,e,...n)},pt=(t,e,...n)=>{if(t===f){let s=le+t;Ve(s,e)}return xt(t,e,...n)};Pe(c,{[g]:{get(){return dt},set(){return dt}},[de]:{get(){return pt},set(){return pt}}});var ut={},ve=t=>{if(t)try{t.match(/^\/\/\w+/)&&(t=c.location.protocol+t);let e=new URL(t),n=e.origin;if(n&&!ut[n]&&c.location.host!==e.host){let s=V("link");s.rel="preconnect",s.href=n,c.head[G](s),ut[n]=!0}}catch{}},ce={},Tt=(t,e,n,s)=>{var r=V("link");r.rel=e?"modulepre"+E:"pre"+E,r.as="script",n&&r[y]("crossorigin",n),r.href=t,s[G](r),ce[t]=!0},Re=()=>{if(_wpmeteor.preload&&N.length){let t=c.createDocumentFragment();N.forEach(e=>{let n=e[u](m+"src");n&&!ce[n]&&!e[u](m+"integrity")&&!e[D]("nomodule")&&Tt(n,e[u](m+"type")=="module",e[D]("crossorigin")&&e[u]("crossorigin"),t)}),ye(c.head[G].bind(c.head,t))}};$(f,()=>{let t=[...N];N.length=0,[...c[O]("script[type='"+P+"']"),...t].forEach(e=>{if(ne.has(e))return;let n=e[F]("type").bind(e);T(e,"origtype",{get(){return n()}}),(e[u](m+"src")||"").match(/\/gtm.js\?/)?I.push(e):e[D]("async")?I.unshift(e):e[D]("defer")?te.push(e):N.push(e),ne.add(e)})});var xe=function(...t){let e=V(...t);if(!t||t[0].toUpperCase()!==Y||!H)return e;let n=e[y].bind(e),s=e[u].bind(e),r=e[D].bind(e),i=e[F]("attributes").bind(e),a=[];return e.getEventListeners=()=>a,ee.forEach(o=>{let d=e[F](o).bind(e);z[re+"y"](e,o,{set(p){return o==="type"&&p&&!Be.test(p)?e[y](o,p):((o==="src"&&p||o==="type"&&p&&e.origsrc)&&n("type",P),p?e[y](m+o,p):e[pe](m+o))},get(){return e[u](m+o)}}),T(e,"orig"+o,{get(){return d()}})}),e[g]=function(o,d){a.push([o,d])},e[y]=function(o,d){if(ee.includes(o))return o==="type"&&d&&!Be.test(d)?n(o,d):((o==="src"&&d||o==="type"&&d&&e.origsrc)&&n("type",P),d?n(m+o,d):e[pe](m+o));n(o,d)},e[u]=function(o){return ee.indexOf(o)>=0?s(m+o):s(o)},e[D]=function(o){return ee.indexOf(o)>=0?r(m+o):r(o)},T(e,"attributes",{get(){return[...i()].filter(d=>d.name!=="type").map(d=>({name:d.name.match(new RegExp(m))?d.name.replace(m,""):d.name,value:d.value}))}}),e};Object.defineProperty(Document[v],"createElement",{set(t){t!==xe&&(Le=t)},get(){return Le||xe}});var ne=new Set,He=new MutationObserver(t=>{H&&t.forEach(({removedNodes:e,addedNodes:n,target:s})=>{e.forEach(r=>{r.nodeType===1&&Y===r[_]&&"origtype"in r&&ne.delete(r)}),n.forEach(r=>{if(r.nodeType===1)if(Y===r[_]){if("origtype"in r){let i=r[u](m+"src");ne.has(r)&&x("Inserted twice",r),r.parentNode?(ne.add(r),(i||"").match(/\/gtm.js\?/)?(I.push(r),ve(i)):r[D]("async")?(I.unshift(r),ve(i)):r[D]("defer")?(te.push(r),ve(i)):(i&&!r[u](m+"integrity")&&!r[D]("nomodule")&&!ce[i]&&(Ye(Fe(),"pre preload",N.length),Tt(i,r[u](m+"type")=="module",r[D]("crossorigin")&&r[u]("crossorigin"),c.head)),N.push(r))):(r[g](E,a=>a.target.parentNode[j](a.target)),r[g](fe,a=>a.target.parentNode[j](a.target)),s[G](r))}}else r[_]==="LINK"&&r[u]("as")==="script"&&(ce[r[u]("href")]=!0)})})}),Gt={childList:!0,subtree:!0,attributes:!0,attributeOldValue:!0};He.observe(c.documentElement,Gt);var It=HTMLElement[v].attachShadow;HTMLElement[v].attachShadow=function(t){let e=It.call(this,t);return t.mode==="open"&&He.observe(e,Gt),e};var ft=z[We](HTMLIFrameElement[v],"src");T(HTMLIFrameElement[v],"src",{get(){return this.dataset.fpoSrc?this.dataset.fpoSrc:ft.get.call(this)},set(t){delete this.dataset.fpoSrc,ft.set.call(this,t)}});b.on(M,()=>{(!Le||Le===xe)&&(Document[v].createElement=_t,He.disconnect()),dispatchEvent(new CustomEvent(me)),dispatchEvent(new CustomEvent(M))});var Me=t=>{let e,n;!c.currentScript||!c.currentScript.parentNode?(e=c.body,n=e.lastChild):(n=c.currentScript,e=n.parentNode);try{let s=V("div");s.innerHTML=t,Array.from(s.childNodes).forEach(r=>{r.nodeName===Y?e.insertBefore(Oe(r),n):e.insertBefore(r,n)})}catch(s){x(s)}},Et=t=>Me(t+` `);Pe(c,{write:{get(){return Me},set(t){return Me=t}},writeln:{get(){return Et},set(t){return Et=t}}});var mt=(t,e,...n)=>{if(k+f==oe&&t===f&&!e.toString().match(/jQueryMock/)){b.on(M,l[g].bind(l,t,e,...n));return}if(k+E==oe&&t===E){b.on(M,l[g].bind(l,t,e,...n));return}if(e&&(t===E||t===f||t===B&&!se)){let s=t===f?le+t:k+t;h[s]=h[s]||[],h[s].push(e),se&&ie([t]);return}return C(t,e,...n)},gt=(t,e)=>{if(t===E){let n=t===f?le+t:k+t;Ve(n,e)}return wt(t,e)};Pe(l,{[g]:{get(){return mt},set(){return mt}},[de]:{get(){return gt},set(){return gt}}});var qe=t=>{let e;return{get(){return e},set(n){return e&&Ve(t,n),h[t]=h[t]||[],h[t].push(n),e=n}}};C(Qe,t=>{let{target:e,event:n}=t.detail,s=e===l?c.body:e,r=s[u](m+"on"+n.type);s[pe](m+"on"+n.type);try{let i=new Function("event",r);e===l?l[g](E,i.bind(e,n)):i.call(e,n)}catch(i){console.err(i)}});{let t=qe(k+E);T(l,"onload",t),$(f,()=>{T(c.body,"onload",t)})}T(c,"onreadystatechange",qe(le+A));T(l,"onmessage",qe(k+B));(()=>{let t=l.innerHeight,e=l.innerWidth,n=r=>{let a={"4g":1250,"3g":2500,"2g":2500}[(navigator.connection||{}).effectiveType]||0,o=r.getBoundingClientRect(),d={top:-1*t-a,left:-1*e-a,bottom:t+a,right:e+a};return!(o.left>=d.right||o.right<=d.left||o.top>=d.bottom||o.bottom<=d.top)},s=(r=!0)=>{let i=1,a=-1,o={},d=()=>{a++,--i||l[ae](b.emit.bind(b,be),_wpmeteor.rdelay)};Array.from(c.getElementsByTagName("*")).forEach(p=>{let w,Q,K;if(p[_]==="IMG"){let L=p.currentSrc||p.src;L&&!o[L]&&!L.match(/^data:/i)&&((p.loading||"").toLowerCase()!=="lazy"||n(p))&&(w=L)}else if(p[_]===Y)ve(p[u](m+"src"));else if(p[_]==="LINK"&&p[u]("as")==="script"&&["pre"+E,"modulepre"+E].indexOf(p[u]("rel"))>=0)ce[p[u]("href")]=!0;else if((Q=l.getComputedStyle(p))&&(K=(Q.backgroundImage||"").match(/^url\s*\((.*?)\)/i))&&(K||[]).length){let L=K[0].slice(4,-1).replace(/"/g,"");!o[L]&&!L.match(/^data:/i)&&(w=L)}if(w){o[w]=!0;let L=new Image;r&&(i++,L[g](E,d),L[g](fe,d)),L.src=w}}),c.fonts.ready.then(()=>{d()})};_wpmeteor.rdelay===0?$(f,s):C(E,s)})();})(); //0.1.47 河北景渤石油机械有限公司 – 河北景渤石油机械有限公司
联系我们

河北景渤石油机械有限公司

Hebei Jingbo Petroleum Machinery Co., Ltd

在线留言