1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9233],{5088:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/client-run-download",function(){return t(93579)}])},93579:function(n,e,t){"use strict";t.r(e),t.d(e,{Download:function(){return g},__N_SSG:function(){return b}});var o=t(11527),a=t(89501),l=t(31263),i=t(21283),c=t(6663),s=t(75163),d=t(25654),r=t(24925),u=t.n(r),w=t(15481),_=t.n(w),f=t(67422),h=t.n(f),m=t(69864),p=t(50959),v=t(65174),x=t.n(v),b=!0;let g=()=>{let{t:n}=(0,d.$G)(),e=(0,m.useRouter)(),{isMac:t}=(0,s.u)(),[a,r]=(0,p.useState)(),w=async()=>{let{taskId:n,workFlowType:t}=e.query;if(void 0!==t){if(Number(t)===c.$5.TemplateMode){let{templateRegistrationId:e}=await (0,l.TY)(n);if(e){let{runOn:t}=await (0,l.wN)(e);window.open("octoparse://?type=2&taskID=".concat(n,"&runOn=").concat(t),"_self")}}else n?window.open("octoparse://?type=2&taskID=".concat(n),"_self"):window.open("octoparse://?type=2","_self")}};return(0,p.useEffect)(()=>{w()},[e]),(0,p.useEffect)(()=>{(async()=>{let n=await (0,i.mH)();n&&r(n)})()},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(u(),{children:(0,o.jsx)("meta",{name:"robots",content:"noindex, nofollow"})}),(0,o.jsx)("div",{className:x().wrapper,children:(0,o.jsx)("div",{className:x().container,children:(0,o.jsx)("div",{className:x().download,children:(0,o.jsxs)("div",{className:x().container,children:[(0,o.jsx)(_(),{className:x().logo,src:"/static/share_logo.png",width:80,height:80,alt:""}),(0,o.jsx)("div",{className:x().title,children:n("share:download.title")}),(0,o.jsx)("div",{className:x().desc,children:n("share:download.desc")}),(0,o.jsx)("a",{className:x().btn_link,href:"/download/latest?os=".concat(t?"mac":"win"),id:"client-run-download",children:(0,o.jsx)("span",{className:x().btn,children:n("share:task.btn.download")})}),(0,o.jsxs)("div",{className:x().again,children:[n("share:download.ask"),(0,o.jsx)(h(),{href:"javascript:void(0)",onClick:w,children:n("share:download.repeat")})]})]})})})})]})},j=()=>(0,o.jsx)(g,{});j.getLayout=n=>(0,a.G)(n,!1),e.default=j},66077:function(n,e,t){"use strict";t.d(e,{a5:function(){return a},c9:function(){return l}});let o="/download/latest";function a(n){var e,t,o;let a=null!==(e=null==n?void 0:n.platform)&&void 0!==e?e:"undefined"!=typeof navigator?navigator.platform:"",l=null!==(t=null==n?void 0:n.userAgent)&&void 0!==t?t:"undefined"!=typeof navigator?navigator.userAgent:"",i=null!==(o=null==n?void 0:n.maxTouchPoints)&&void 0!==o?o:"undefined"!=typeof navigator?navigator.maxTouchPoints:0,c="".concat(a," ").concat(l).toLowerCase();return/\b(mac|macintel|macintosh|mac os|darwin)\b/.test(c)?a.toLowerCase().includes("mac")&&i>1?null:"mac":/\b(win|win32|win64|windows|wow64)\b/.test(c)?"win":null}function l(n){return n?"".concat(o,"?os=").concat(n):o}},75163:function(n,e,t){"use strict";t.d(e,{u:function(){return l}});var o=t(50959),a=t(66077);let l=()=>{let[n,e]=(0,o.useState)(!1),[t,l]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let n=(0,a.a5)();e("mac"===n),l("win"===n)},[]),{isMac:n,isWindows:t,setIsMac:e}}},65174:function(n){n.exports={wrapper:"client-run-download_wrapper__2j2Vm",download:"client-run-download_download__oZzFr",container:"client-run-download_container__ebJEM",logo:"client-run-download_logo__FFIm4",title:"client-run-download_title__6JxJa",desc:"client-run-download_desc__ZEw2B",btn_link:"client-run-download_btn_link__KPdPR",btn:"client-run-download_btn__Tkfzo",disable:"client-run-download_disable__zj4Vb",again:"client-run-download_again__DW3qD"}}},function(n){n.O(0,[6841,5989,8827,6919,9501,9774,2888,179],function(){return n(n.s=5088)}),_N_E=n.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.