PageSourceSearch

https://pcdn-www.pcloud.com/ZWc5h/_next/static/chunks/6021.6a98fe9eb9b2c721.js

js pcloud.com collected 2026-10-01 08:37:51 UTC 13,434 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1322,6021],{6021:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(95155),o=n(69828),a=n(38739),l=n(63915),i=n(81322),s=n(12115),u=n(60082),c=n(13977),p=n(4474),d=n(37559),g=n(93344);let f=({downloadLink:e=null,useHyperLinkElement:t=!0})=>((0,s.useEffect)(()=>{if(e)if(t){let t=document.createElement("a");t.href=e,t.download="pCloud Drive",t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)}else window.location=e},[e]),null),v=({title:e={t_text:"HOW_TO_INSTALL_PCLOUD_DRIVE_ON",t_default:"How to install pCloud Drive",t_params:[]},titleBackgroundImage:t,linkSrc:n=null,linkText:v=null,backgroundSection:x=null,sectionClassName:h="",noteLabel:m=null,noteText:C=null,smallDescriptionText:b=null,smallDescriptionImage:y=null,terminalNotes:T=null,seeHiddenText:j=null,downloadLink:E=null,downloadLinkData:_=null})=>{let{t:k}=(0,i.useT)(),{downloadLink:w,seeHiddenText:L}=(({onReady:e}={})=>{let t=(0,u.useSearchParams)(),n=t?.get("download")||null,[r,o]=(0,s.use
1State)(null),[a,l]=(0,s.useState)(!!n),[i,g]=(0,s.useState)(null),f=(0,s.useRef)(e),v=(0,s.useRef)(!1);return(0,s.useEffect)(()=>{f.current=e},[e]),(0,s.useEffect)(()=>{let e=!1,t=()=>{f.current&&!v.current&&(v.current=!0,f.current())};if(!n){l(!1),t();return}let r=p.AD[n];if(!r?.value){l(!1),t();return}return(0,c.default)("getpublinkdownload",{code:r.value},n=>{e||(0===n.result&&n.hosts?.[0]?o("//"+n.hosts[0]+n.path):g("Failed to get download link"),l(!1),t())},{errorCallback:()=>{e||(g("API error"),l(!1),t())},onXhrError:()=>{e||(g("Network error"),l(!1),t())},apiServer:d.US_API}),()=>{e=!0}},[n]),{downloadLink:r,isLoading:a,error:i,downloadParam:n,seeHiddenText:p.AD[n]?.hash||null}})({onReady:(0,g.m)("InstallNotesAndDownloadAppSection")}),N=E||w,O=j||L;return(0,r.jsxs)(r.Fragment,{children:[N&&(0,r.jsx)(f,{downloadLink:N}),(0,r.jsx)("section",{className:`section ${h}`,style:x?{background:x}:void 0,children:(0,r.jsxs)("div",{className:"align-container with-small-gap",children:[(0,r.jsx)("h1",{className:"title text-gradient",style:{backgroundImage:t},children:k(e)}),n?(0,r.jsxs)("a",{href:n,className:`header-text-subheader-link ${N?"has-download-link":""} text-gradient`,children:[k(v)," ",(0,r.jsx)(o.default,{})]}):null,N?(0,r.jsxs)("div",{className:"header-text-download-link-wrapper",children:[_&&_.textBefore?(0,r.jsx)("span",{children:k(_.textBefore)}):null,(0,r.jsx)("a",{href:N,target:"_blank",className:"header-text-download-link text-gradient",children:k(_?.linkText||"Download")})]}):null,C?(0,r.jsxs)("div",{className:"header-text-note",children:[(0,r.jsx)("span",{className:"header-text-note-label",children:k(m).trim()})," ",(0,r.jsx)(a.default,{text:k(C),converters:[l.linkConverter,l.brTagConverter]})]}):null,T&&T.length>0?(0,r.jsx)("div",{className:"terminal-notes-instructions",children:T.map(e=>(0,r.jsxs)("div",{className:"terminal-notes-wrapper",children:[(0,r.jsx)("div",{children:k(e.note)}),(0,r.jsx)("div",{className:"terminal-notes-command",children:k(e.command)})]}))}):null,O?(0,r.jsx)("div",{className:"sha256-note-wrapper",children:(0,r.jsxs)("div",{className:"see-hidden-text-content hash-text",children:[(0,r.jsx)("strong",{children:"SHA-256: "})," ",(0,r.jsx)("span",{children:O})]})}):null,b||y?(0,r.jsxs)("div",{className:"header-text-small-desc-wrapper",children:[y?(0,r.jsx)("img",{src:y,alt:k(b)}):null,y?(0,r.jsx)("div",{className:"header-text-small-desc",children:(0,r.jsx)(a.default,{text:k(b),converters:[l.boldConverter]})}):null]}):null]})})]})}},25982:(e,t,n)=>{var r={"./bg/translation-extracted.json":[70757,757],"./de/translation-extracted.json":[65237,5237],"./en/translation-extracted.json":[59137,9137],"./es/translation-extracted.json":[58866,8866],"./fr/translation-extracted.json":[83466,3466],"./it/translation-extracted.json":[77227,7227],"./ja/translation-extracted.json":[50167,167],"./nl/translation-extracted.json":[23892,3892],"./pt/translation-extracted.json":[33478,3478],"./ru/translation-extracted.json":[45291,5291],"./tr/translation-extracted.json":[38956,8956],"./zh/translation-extracted.json":[88060,8060]};function o(e){if(!n.o(r,e))return Promise.resolve().then(()=>{var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return n.e(t[1]).then(()=>n.t(o,19))}o.keys=()=>Object.keys(r),o.id=25982,e.exports=o},38739:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.brTagConverter=t.linkConverter=t.italicConverter=t.boldConverter=t.BR_REGEX=t.ITALIC_REGEX=t.BOLD_REGEX=t.LINK_REGEX=void 0;var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var l,i=e[Symbol.iterator]();!(r=(l=i.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&i.return&&i.return()}finally{if(o)throw a}}return n}(e,t);
1throw TypeError("Invalid attempt to destructure non-iterable instance")},i=n(12115),s=(r=i)&&r.__esModule?r:{default:r},u=t.LINK_REGEX=RegExp("((?:https?://)?(?:[da-z.-]+).(?:[a-z.]{2,6})(?:[-a-zA-Z0-9@:%_+.~#?&//=]*)*/?)(?:[(.+?)])?/","g"),c=t.BOLD_REGEX=RegExp("\\*([\\w\\d\\s\\:\\/\\.\\[\\]]+)\\*","g"),p=t.ITALIC_REGEX=RegExp("\\_([\\w\\d\\s\\:\\/\\.\\[\\]]+)\\_","g"),d=t.BR_REGEX=RegExp("<br\\/>","g");t.boldConverter={regex:c,component:"span",props:{style:{fontWeight:"900"}},innerText:function(e){return e[1]}},t.italicConverter={regex:p,component:"span",props:{style:{fontStyle:"italic"}},innerText:function(e){return e[1]}},t.linkConverter={regex:u,component:"a",props:function(e){var t=l(e,2);return{href:(t[0],t[1]),targer:"_blank"}},innerText:function(e){return e[2]||e[1]}},t.brTagConverter={regex:d,component:"br"};var g=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var e=(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),a(t,[{key:"getPlainTextComponent",value:function(e,t){var n=this.props,r=n.plainTextComponent,o=n.plainTextStyle;return s.default.createElement(r,{key:t,style:o},e)}},{key:"getCurrentConverter",value:function(e){return this.props.converters.reduce(function(t,n){var r=new RegExp((n=o({},n)).regex);if(!r)throw Error("Invalid regex");if(!r.global)throw Error("Regex missing global flag");var a=r.exec(e);if(null!==a){n.match=a;var l=t&&t.match.index,i=n.match.index;(null===t||i<l)&&(t=n)}return t},null)}},{key:"generateComponent",value:function(e,t){var n=e.component,r=e.match,o=e.props,a=void 0===o?{}:o,l=e.innerText,i=null;return"function"==typeof a&&(a=a(r)),a.key=t,"function"==typeof l&&(l=l(r)),void 0!==l&&(i=this.generateComponentList(l,r[0])),s.default.createElement(n,a,i)}},{key:"generateComponentList",value:function(e,t){for(var n=e,r=[];""!==n;){var o=this.getCurrentConverter(n);if(!o||t===o.match[0])break;var a=o.match.index,l=n.slice(0,a);n=n.slice(a+o.match[0].length),""!==l&&r.push(this.getPlainTextComponent(l,r.length.toString())),r.push(this.generateComponent(o,r.length.toString()))}return""!==n&&(""!==t?r.push(n):r.push(this.getPlainTextComponent(n,r.length.toString()))),r}},{key:"render",value:function(){var e=this.props,t=e.text,n=e.converters;if(!t)throw Error('Missing property "text"');return n?this.generateComponentList(t,""):this.getPlainTextComponent(t)}}]),t}(i.Component);g.defaultProps={text:"",plainTextComponent:"span",converters:[]},t.default=g},63915:(e,t,n)=>{"use strict";var r=n(64665);Object.defineProperty(t,"__esModule",{value:!0}),t.underlineConverter=t.ulElementConverter=t.styledSpanTagConverter=t.strongConverter=t.spanClassTagConverter=t.paragraphConverter=t.olElementConverter=t.listItemConverter=t.linkConverterV2=t.linkConverterSelf=t.linkConverterBlankV2=t.linkConverter=t.liElementConverter=t.italicConverter=t.headline4Converter=t.divClassTagConverter=t.brTagConverter=t.boldConverter=void 0;var o=r(n(98108));r(n(38739)),t.boldConverter={component:"span",props:{style:{fontWeight:"bold"}},regex:/\<b\>(.+?)\<\/b\>/g,innerText:function(e){return e[1]}},t.strongConverter={component:"span",props:{style:{fontWeight:"bold"}},regex:/\<strong\>(.+?)\<\/strong\>/g,innerText:function(e){return e[1]}},t.listItemConverter={component:"li",props:{},regex:/\<li\>(.+?)\<\/li\>/g,innerText:function(e){return e[1]}},t.headline4Converter={component:"h4",props:{},regex:/\<h4\>(.+?)\<\/h4\>/g,innerText:function(e){return e[1]}},t.paragraphConverter={component:"p",props:{},regex:/\<p\>(.+?)\<\/p\>/g,innerText:function(e){return e[1]}},t.underlineConverter={component:"span",props:{style:{textDecoration:"underline"}},regex:/\<u\>(.+?)\<\/u\>/g,innerText:function(e){return e[1]}},t.brTagConverter={regex:/<br[\s]*[\/]?>/g,component:"br"},t.spanClassTagConverter={regex:/\<span class=['"](.*?)['"]>(.+?)\<\/span\>/g,component:"span",props:function(e){var t=(0,o.default)(e,2);return{className:(t[0],t[1])}},innerText:function(e){return e[2]||e[1]}},t.styledSpanTagConverter={regex:/\<span\>(.+?)\<\/span\>/g,props:{style:{color:"#17bed0"}},component:"span",innerText:function(e){return e[1]}},t.linkConverter={regex:/((?:https?:\/\/)?(?:[\da-z\.-]+)\.(?:[a-z\.]{2,6})[-a-zA-Z0-9@:%_\+.~#?&/=]*\/?|mailto:[\w\.-]+@[\da-z\.-]+\.[a-z]{2,6})(?:\[(.+?)\])/g,component:"a",props:function(e){var t=(0,o.default)(e,2);return{href:(t[0],t[1]),target:"_blank"}},innerText:function(e){return e[2]||e[1]}},t.linkConverterSelf={regex:/((?:https?:\/\/)?(?:[\da-z\.-]+)\.(?:[a-z\.]{2,6})[-a-zA-Z0-9@:%_\+.~#?&/=]*\/?|mailto:[\w\.-]+@[\da-z\.-]+\.[a-z]{2,6})(?:\[(.+?)\])?/g,component:"a",props:function(e){var t=(0,o.default)(e,2);return{href:(t[0],t[1]),target:"_self"}},innerText:function(e){return e[2]||e[1]}},t.linkConverterBlankV2={regex:/((?:https?:\/\/)?(?:[\da-z\.-]+)\.(?:[a-z\.]{2,6})[-a-zA-Z0-9@:%_\+.~#?&/=]*\/?)\[(.+?)\]/g,component:"a",props:function(e){var t=(0,o.default)(e,2);return{href:(t[0],t[1]),target:"_blank"}},innerText:function(e){return e[2]||e[1]}},t.linkConverterV2={regex:/\<link (.+?)\|([^>]+)\>/g,component:"a",props:function(e){var t=(0,o.default)(e,2);return{href:(t[0],t[1])}},innerText:function(e){return e[2]}},t.divClassTagConverter={regex:/\<div class='(.*?)'>(.+?)\<\/div\>/g,component:"div",props:function(e){var t=(0,o.default)(e,2);return{className:(t[0],t[1])}},innerText:function(e){return e[2]||e[1]}},t.ulElementConverter={regex:/\<ul>(.+?)\<\/ul\>/g,component:"ul",innerText:function(e){return e[1]}},t.olElementConverter={regex:/\<ol>([\s\S]+?)\<\/ol\>/g,component:"ol",innerText:function(e){return e[1]}},t.liElementConverter={regex:/\<li>(.+?)\<\/li\>/g,component:"li",innerText:function(e){return e[1]}},t.italicConverter={component:"span",props:{style:{fontStyle:"italic"}},regex:/\<i\>(.+?)\<\/i\>/g,innerText:function(e){return e[1]}}}
1,69828:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r,o=n(12115);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let l=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:7,height:11,fill:"none"},e),r||(r=o.createElement("path",{fill:"#17BED0",d:"M4.931 5.172.872 1.36A.66.66 0 0 1 .66.87.64.64 0 0 1 .872.373.74.74 0 0 1 1.397.17a.74.74 0 0 1 .526.203L6.4 4.58q.14.132.197.277a.9.9 0 0 1 .058.315.9.9 0 0 1-.058.315.8.8 0 0 1-.197.277L1.923 9.971a.75.75 0 0 1-.52.199.73.73 0 0 1-.53-.2.65.65 0 0 1-.217-.492q0-.29.216-.494z"})))}},81322:(e,t,n)=>{"use strict";n.d(t,{useT:()=>d});var r=n(63628),o=n(9340),a=n(45636),l=n(89996),i=n(47e3);r.Ay.use(a.r).use((0,o.A)(e=>n(25982)(`./${e}/translation-extracted.json`))).init({supportedLngs:l.languages,fallbackLng:l.fallbackLng,lng:(0,i.useInstantLanguage)(),detection:{order:["path","htmlTag","cookie","navigator"]},preload:[]});let s=r.Ay;var u=n(60082),c=n(12115),p=n(20077);function d(e,t){let n=(0,u.useParams)()?.locale;if("string"!=typeof n)throw Error("useT is only available inside /app/[lng]");{let[e,t]=(0,c.useState)(s.resolvedLanguage);(0,c.useEffect)(()=>{e!==s.resolvedLanguage&&t(s.resolvedLanguage)},[e,s.resolvedLanguage]),(0,c.useEffect)(()=>{n&&s.resolvedLanguage!==n&&s.changeLanguage(n)},[n,s])}let{t:r,i18n:o}=(0,p.Bd)(e,t);return{t:(e,t,n={})=>{let o=null;if("object"==typeof e&&void 0!==e.t_text){if(o=r(e.t_text,e?.t_default),void 0!==e.t_params)for(let t in e.t_params)o=o.replace(RegExp("%"+t+"%","g"),e.t_params[t])}else o=r(e,t);for(let e in n)o=o.replace(RegExp("%"+e+"%","g"),n[e]);return o},i18n: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.