PageSourceSearch

https://toffeeshare.com/static/js/7.846764f0.chunk.js

js toffeeshare.com collected 2026-09-24 08:57:55 UTC 21,104 bytes, 1 lines download raw bytes

1(this.webpackJsonptoffeeshare=this.webpackJsonptoffeeshare||[]).push([[7],{145:function(e,n,t){"use strict";t.d(n,"a",(function(){return m}));var i=t(2),o=t(5),a=t.n(o),r=t(9),c=t(21),s=t(1),u=t(22),d=t(30),l=t(27),f=t(39),b=t(3),h=["en","es","nl"];function m(e){var n=e.color,t=e.children,o=e.title,m=e.description,v=e.image,p=e.onRendered,g=Object(d.b)(),w=Object(u.b)().i18n,j=Object(l.useHistory)(),O=Object(l.useLocation)(),y=Object(l.useParams)().lang,x=Object(d.c)((function(e){return e.settings})).language,_=Object(s.useState)(!1),k=Object(c.a)(_,2),C=k[0],S=k[1];Object(s.useEffect)((function(){y&&h.includes(y)&&(w.changeLanguage(y),g(Object(f.d)(y)))}),[y]),Object(s.useEffect)((function(){T(),A()}),[O]),Object(s.useEffect)((function(){var e=function(){var e=Object(r.a)(a.a.mark((function e(){var n,t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(x||y){e.next=7;break}if("en"===(t=null===(n=navigator.language)||void 0===n?void 0:n.split("-")[0])||!h.includes(t)){e.next=7;break}return w.changeLanguage(t),e.next=6,g(Object(f.d)(t));case 6:T(t);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[]);var T=function(e){var n="toffeesha.re"===window.location.hostname;if(e)e!==window.location.pathname.split("/")[1]&&j.push("/".concat(e).concat(window.location.pathname));else if(!n&&x&&"en"!==x&&h.includes(x)){var t=window.location.pathname.split("/")[1];y!==t&&j.push("/".concat(x).concat(window.location.pathname))}},A=function(){document.documentElement.setAttribute("lang",y||"en"),h.map((function(e){var n,t="link-".concat(e),i=window.location.pathname.replace("/".concat(y),""),o=document.createElement("link");o.rel="alternate",o.hreflang=e,o.href="https://".concat(window.location.host,"/").concat(e).concat(i),o.id=t,null===(n=document.getElementById(t))||void 0===n||n.remove(),document.head.appendChild(o)}))};return Object(s.useEffect)((function(){document.title=o,document.getElementsByTagName("meta").description.content=m,document.body.className=b.C?"dark":n||"body",S(!0),p&&p()}),[o,m]),Object(i.jsxs)("div",{className:"container-main",children:[Object(i.jsxs)(i.Fragment,{children:[Object(i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),Object(i.jsx)("meta",{name:"twitter:title",content:o}),Object(i.jsx)("meta",{name:"twitter:description",content:m}),Object(i.jsx)("meta",{name:"twitter:domain",content:"https://toffeeshare.com"}),v&&Object(i.jsx)("meta",{name:"og:image",content:"https://cms.toffeeshare.com".concat(v.url)}),v&&Object(i.jsx)("meta",{name:"twitter:image",content:"https://cms.toffeeshare.com".concat(v.url)})]}),C&&t]})}},146:function(e,n,t){"use strict";var i=t(24),o=t(25),a=function(){function e(){Object(i.a)(this,e)}return Object(o.a)(e,null,[{key:"isMobile",value:function(){var e,n=!1;return e=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od|ad)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
1sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(n=!0),n}},{key:"isFirefox",value:function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}},{key:"isAndroid",value:function(){var e=/(android)/i.test(navigator.userAgent);return e}},{key:"browser",value:function(){var e="other",n=!!!document.documentMode&&!!window.StyleMedia;return-1===navigator.userAgent.indexOf("Chrome")||n?-1===navigator.userAgent.indexOf("Safari")||n?-1!==navigator.userAgent.indexOf("Firefox")?e="firefox":-1!==navigator.userAgent.indexOf("MSIE")||1==!!document.documentMode?e="ie":n&&(e="edge"):e="safari":e="chrome",e}},{key:"systemOS",value:function(){var e="Unknown";return-1!==window.navigator.userAgent.indexOf("Windows NT 10.0")?e="Windows 10":-1!==window.navigator.userAgent.indexOf("Windows NT 6.2")?e="Windows 8":-1!==window.navigator.userAgent.indexOf("Windows NT 6.1")?e="Windows 7":-1!==window.navigator.userAgent.indexOf("Windows NT 6.0")?e="Windows Vista":-1!==window.navigator.userAgent.indexOf("Windows NT 5.1")?e="Windows XP":-1!==window.navigator.userAgent.indexOf("Windows NT 5.0")?e="Windows 2000":-1!==window.navigator.userAgent.indexOf("Mac")?e="Mac/iOS":-1!==window.navigator.userAgent.indexOf("X11")?e="UNIX":-1!==window.navigator.userAgent.indexOf("Linux")&&(e="Linux"),e}},{key:"canUseFileSystem",value:function(){var e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return!e||parseInt(e[2],10)>=91}},{key:"isIOS",value:function(){return"safari"===e.browser()&&e.isMobile()}}]),e}();n.a=a},148:function(e,n,t){"use strict";t.d(n,"a",(function(){return E}));var i=t(55),o=t(5),a=t.n(o),r=t(9),c=t(24),s=t(25),u=t(49),d=t(61),l=t.n(d),f=t(8),b=t(64),h=t(63),m=t(62),v=t(52),p=t(3),g=t(152),w=t.n(g),j=t(19),O=t(66),y=t.n(O),x=null;function _(){return(_=Object(r.a)(a.a.mark((function e(n,t){var i,o,r,c;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(x){e.next=4;break}return e.next=3,y()("".concat(p.d,"/data/mimeTypes.json"));case 3:x=e.sent;case 4:i=t.name.split("."),o=new window.Blob(n,{type:x?x["."+i[i.length-1]]:void 0}),r=URL.createObjectURL(o),(c=window.document.createElement("a")).href=r,c.download=t.name,c.setAttribute("type","hidden"),document.body.appendChild(c),c.click();case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var k=t(40),C="STREAMS",S="FILE_SYSTEM",T="BUFFER",A=function(e,n,t,i,o,c){for(var s=0,u=[],d=0,l=0,f=T,b=-1,h=n[0],m=[],v=!1,g=(new Date).getTime(),O=0;O<n.length;O++)s+=n[O].size;var y=setInterval((function(){var n=(new Date).getTime();i(d,s),t&&("closed"===e.readyState||n-g>5e3)&&x()}),100),x=function(){v||(v=!0,s!==d&&(e.close&&e.close(),o(p.i,d,A)))},A=function(n){g=(new Date).getTime(),e.onclose=void 0,e.onmessage=void 0,(e=n).onclose
1=x,e.onmessage=N,v=!1},N=function(e){var n=e.data;g=(new Date).getTime(),d+=n.byteLength,u.push(n)};e.onclose=x,e.onmessage=N;var R=function e(){switch(f){case C:for(;u.length>0&&l<h.size;){var n=u.shift();window.streamWriter.write(new Uint8Array(n)),l+=n.byteLength}break;case S:for(;u.length>0&&l<h.size;){var t=u.shift();window.fileStream.write(new Uint8Array(t)),l+=t.byteLength}break;default:for(;u.length>0&&l<h.size;){var i=u.shift();l+=i.byteLength,m.push(i)}}if(l!==h.size)j.c(e,10);else{switch(f){case C:window.streamWriter.close();break;case S:window.fileStream.close();break;case T:!function(e,n){_.apply(this,arguments)}(m,h),m=[]}M()}},M=function(){var e=Object(r.a)(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(b++,l=0,!n[b]){e.next=6;break}h=n[b],e.next=9;break;case 6:return clearInterval(y),c(),e.abrupt("return");case 9:e.prev=9;try{/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(w.a.mitm=p.c,window.fileStream=w.a.createWriteStream(h.name,{size:h.size}),window.streamWriter=window.fileStream.getWriter(),window.streamWriter&&(f=C))}catch(e){}if(f===C||!window.showSaveFilePicker){e.next=25;break}return e.prev=12,e.next=15,window.showSaveFilePicker({suggestedName:h.name});case 15:return t=e.sent,e.next=18,t.createWritable();case 18:window.fileStream=e.sent,f=S,e.next=25;break;case 22:e.prev=22,e.t0=e.catch(12),console.error(e.t0);case 25:R(),e.next=32;break;case 28:e.prev=28,e.t1=e.catch(9),R(),Object(k.a)(e.t1);case 32:case"end":return e.stop()}}),e,null,[[9,28],[12,22]])})));return function(){return e.apply(this,arguments)}}();M()},N=t(23);function R(e,n,t,i){e.send({event:p.t,origin:n,data:{message:t,parameters:i}})}var M,I,F=0;var E=function(){function e(){var n=this;Object(c.a)(this,e),this._peer=null,this._files=null,this._restoreCallback=null,this._connectionTimeout=null,this._isMobile=!1,this._usingFallback=!1,this._connector=null,this._destination=null,this._origin=null,this._noSleep=new l.a,this.connect=function(){var e=Object(r.a)(a.a.mark((function e(t){var i,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=function(){n._files?n._connector.send({event:p.q}):n._connector.send({event:p.o,destination:n._destination||null})},o=function(){N.b.send("Could not connect to the server, make sure the connection is not being blocked or try again later.")},n._destination=t,n._connector=new b.a,n._connector.init(n._onMessage,i,o);case 5:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),this.start=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;try{n._peer=Object(m.a)(),n._noSleep.enable(),navigator.wakeLock.request()}catch(e){}n._isMobile?(n._connectionTimeout=setTimeout((function(){return n._onTimeoutRoutine(e)}),1e4),n._connector.send({event:p.v,destination:n._destination,origin:n._origin})):n._connectionTimeout=setTimeout((function(){return n._onTimeoutRoutine(e)}),7e3),n._peer&&(n._peer.onicecandidate=function(e){e.candidate&&n._connector.send({event:p.r,destination:n._destination,origin:n._origin,data:e.candidate})},n._peer.ondatachannel=function(e){var t=e.channel;t.binaryType="arraybuffer",t.onopen=function(){clearTimeout(n._connectionTimeout),n._restoreCallback?(n._restoreCallback(t),n._restoreCallback=null):A(t,n._files,n._isMobile,n._onTransferProgress,n._onTransferErrored,n._onTransferFinished)}}),n._connector.send({event:p.A,destination:n._destination,origin:n._origin,data:{fromByte:e}})},this.broadcastLookup=function(e){n._connector.send({event:p.j,data:{code:e},origin:n._origin})},this.close=function(){var e;null===(e=n._connector)||void 0===e||e.close()},this._onTransferProgress=function(e,n){Object(f.b)(function(e,n){return function(t){var i=Math.round(e/n*100),o=(new Date).getTime(),a=((F=(F=(49*F+(e-I)/(o-M))/50)>0?F:1)/1e3).toFixed(2);t(Object(v.g)({speed:a,percentage:i})),M=o,I=e}}(e,n))},this._onTransferFinished=function(){Object(f.b)(Object(v.e)()),R(n._connector,n._origin,"TRANSFER_SUCCESS")},this._onTransferErrored=function(e,t,i){n._isMobile?(N.b.send("Connection was lost, now reconnecting"),n._restoreCallback=i,setTimeout((function(){return n.start(t)}),1e3),n._connector.send({event:p.v,destination:n._destination,origin:n._origin})):R(n._connector,n._origin,"TRANSFER_FAILED",{receivedBytes:t,isMobile:isMobile,files:n._files,fallback:n._usingFallback})},this._onTimeoutRoutine=function(){var e=Object(r.a)(a.a.mark((function e(t){var i,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(i=n._peer)||void 0===i||i.close(),!n._restoreCallback||n._usingFallback){e.next=5;break}n.start(t),e.next=12;break;case 5:return N.b.send(Object(u.b)("general.noDirectConnection")),n._usingFallback=!0,o=new h.a,e.next=10,o.init("receiver",n._origin,null);case 10:n._connector.send({event:p.p,destination:n._destination,origin:n._origin,data:{key:n._origin,fromByte:t}}),A(o,n._files,n._isMobile,n._onTransferProgress,n._onTransferErrored,n._onTransferFinished);case 12:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),this._onMessage=function(e){var t;Object(k.a)(e);var o=(t={},Object(i.a)(t,p.o,(function(){return n._eventConnectionRequest(e)})),Object(i.a)(t,p.x,(function(){return n._eventRemoteDescription(e)})),Object(i.a)(t,p.r,(function(){return n._eventRemoteIceCandidate(e)})),Object(i.a)(t,p.m,(function(){return n._eventConnectionAccept(e)}
1)),Object(i.a)(t,p.u,(function(){return n._eventReverseConnect(e)})),Object(i.a)(t,p.n,(function(){return n._eventConnectionIsMobile(e)})),Object(i.a)(t,p.j,(function(){return n._eventBroadcastLookupResult(e)})),t),a=e.event;o[a]&&o[a]()},this._eventBroadcastLookupResult=function(e){var n=e.origin;n?window.location="https://toffeeshare.com/c/".concat(n):N.b.send("Could not find a local device for this code")},this._eventReverseConnect=function(e){window.location="".concat(p.d,"/c/").concat(e.origin)},this._eventConnectionRequest=function(e){var t=e.data.assignedOrigin;n._origin=t,n._destination||Object(f.b)(Object(v.i)({origin:t,shareCode:t}))},this._eventConnectionAccept=function(e){var t=e.data;Object(f.b)(Object(v.b)({files:t.files})),n._files=t.files,n._isMobile=t.mobile},this._eventConnectionIsMobile=function(){Object(f.b)(Object(v.d)(!0)),n._isMobile=!0},this._eventRemoteIceCandidate=function(e){var t=e.data;if(window.RTCIceCandidate){var i=new RTCIceCandidate(t);n._peer.addIceCandidate(i)}},this._eventRemoteDescription=function(){var e=Object(r.a)(a.a.mark((function e(t){var i,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.data,e.prev=1,n._peer.setRemoteDescription(i),e.next=5,n._peer.createAnswer();case 5:o=e.sent,n._peer.setLocalDescription(o),n._connector.send({event:p.x,destination:n._destination,origin:n._origin,data:o}),e.next=12;break;case 10:e.prev=10,e.t0=e.catch(1);case 12:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(n){return e.apply(this,arguments)}}()}return Object(s.a)(e,null,[{key:"getInstance",value:function(){return e.instance||(e.instance=new e),this.instance}}]),e}();E.instance=null},151:function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var i=t(5),o=t.n(i),a=t(9),r=t(148),c=t(52),s=function(e){return function(){var n=Object(a.a)(o.a.mark((function n(t){var i;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t(Object(c.c)({shareCode:e})),(i=r.a.getInstance()).close(),i.connect(e);case 4:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}},196:function(e,n,t){},197:function(e,n,t){},244:function(e,n,t){"use strict";t.r(n);var i=t(2),o=t(21),a=t(1),r=t(30),c=t(8),s=t(27),u=t(163),d=t.n(u),l=t(190),f=t.n(l),b=t(145),h=t(146),m=t(23),v=t(54),p=t(52),g=t(17),w=t(151),j=t(5),O=t.n(j),y=t(9),x=t(148),_=t(41);t(196);function k(e){var n=e.onChange,t=Object(a.useState)(["","","",""]),r=Object(o.a)(t,2),c=r[0],s=r[1],u=Object(a.useRef)([]),d=Object(a.useState)(-1),l=Object(o.a)(d,2),f=l[0],b=l[1],h=function(e){var t,i=(e.clipboardData||window.clipboardData).getData("text"),o=Array.from(i);o.some((function(e){var n=parseInt(e);return isNaN(n)}))||4!==i.length||(s(o),null===(t=u.current[3])||void 0===t||t.focus(),n(o.join("")))};return Object(i.jsx)("div",{className:"input-code",children:c.map((function(e,t){return Object(i.jsx)("input",{maxLength:1,value:0===e.length&&f!==t?"-":e,ref:function(e){return u.current[t]=e},onKeyDown:function(e){return function(e,t){if(8===e.keyCode){var i,o=Object(_.a)(c);o[t]="",s(o),null===(i=u.current[t-1])||void 0===i||i.focus()}else{var a,r=Object(_.a)(c),d=parseInt(e.key);isNaN(d)||(r[t]=d,s(r),null===(a=u.current[t+1])||void 0===a||a.focus(),n(r.join("")))}}(e,t)},onPaste:h,onFocus:function(){return b(t)},onBlur:function(){return b(-1)}},t)}))})}var C=t(53);t(197),n.default=function(){var e=Object(s.useHistory)(),n=Object(a.useState)(!0),t=Object(o.a)(n,2),u=t[0],l=t[1],j=Object(a.useState)(!1),_=Object(o.a)(j,2),S=_[0],T=_[1],A=Object(a.useState)(""),N=Object(o.a)(A,2),R=N[0],M=N[1],I=Object(s.useParams)().shareCode,F=Object(r.c)(p.j),E=F.origin,W=F.files,L=F.shareCode,z=Object(r.c)(g.b).broadcastCode,P=!!L&&W&&W.length>0;Object(a.useEffect)((function(){L&&W.length>0?e.push("/"):h.a.isMobile()?l(!1):I||P?P&&(m.b.send("Mobile connect is disabled while sending files from PC","info",1e5),e.push("/")):(l(!0),Object(c.b)(Object(w.a)()))}),[W,W.length,P,I]);var D=function(n){if(n&&!S)if(n.startsWith("http"))T(!0),setTimeout((function(){window.location=n}),500);else{var t=JSON.parse(n);T(!0);var i=t.origin;Object(c.b)(Object(g.h)(i)),m.b.send("Connection has been made!",2e3),e.push("/")}},q={shareCode:L,origin:E};return Object(i.jsx)(b.a,{title:"Transfer files from your phone to PC",description:"Quickly share files from Android or iOS to your computer",color:"main",children:Object(i.jsx)("div",{className:"page-nearby-devices",children:u?Object(i.jsxs)(i.Fragment,{children:[Object(i.jsxs)("div",{className:"content-top",children:[Object(i.jsx)("div",{className:"left",children:Object(i.jsx)(v.a,{children:Object(i.jsxs)("div",{className:"modal-nearby-inner",children:[Object(i.jsx)("span",{className:"instructions",children:"Scan the QR-code or enter the 4 digit local code"}),Object(i.jsx)("div",{className:"container-qr",children:L?Object(i.jsx)(d.a,{value:JSON.stringify(q),size:150}):Object(i.jsxs)("span",{onClick:function(){document.location.reload()},children:["Click here for a new ",Object(i.jsx)("br",{})," QR-Code"]})}),Object(i.jsxs)("div",{className:"container-codes",children:[Object(i.jsx)(k,{onChange:function(e){M(e)}}),Object(i.jsx)(C.a,{onWhite:!0,title:"Confirm",onClick:function(){return Object(c.b)((e=R,function(){var n=Object(y.a)(O.a.mark((function n(t){return O.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:try{x.a.getInstance().broadcastLookup(e)}catch(e){m.b.send("An error occured while turning local sharing on, please retry or contact us if you keep seeing this message ⚠️"),
1console.error(e)}case 1:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()));var e}})]})]})})}),Object(i.jsx)("div",{className:"right",children:Object(i.jsx)("div",{className:"right-centered",children:Object(i.jsxs)(i.Fragment,{children:[Object(i.jsx)("h1",{children:"Connect to nearby devices"}),Object(i.jsxs)("p",{children:["Use this page to directly transfer files from your phone to your computer or to download files from another computer on the same network.",Object(i.jsx)("br",{}),Object(i.jsx)("br",{}),"Simply click 'share with nearby devices' on your phone or PC and follow the instructions."]})]})})})]}),Object(i.jsx)("div",{className:"content-middle"}),Object(i.jsx)("div",{className:"content-bottom",children:Object(i.jsxs)("div",{className:"container-informative",children:[Object(i.jsx)("h2",{children:"A more detailed explanation"}),Object(i.jsxs)("p",{children:["If you don't have any cable with you and you need to send some files from your phone to your computer you can use ToffeeShare as an alternative. You don't need to install anything. You just need your phone (Android or iOS) your PC and an active internet connection.",Object(i.jsx)("br",{}),Object(i.jsx)("br",{}),'Simply navigate to the homepage on your mobile phone. Press the button to select one or more files (you can select more than one file by long pressing) You\'ll then be presented with a screen that allows you to instantly share to link to a recipient with the orange button. Instead click on the button that says "Send to PC"',Object(i.jsx)("br",{}),Object(i.jsx)("br",{}),"A camera view finder should now open. With it, scan the QR code presented at the top of this page, and your computer should automatically navigate to your private sharing page. If you send more than one file we'd like to advice you to use Chrome or Edge, since these browsers have implemented a single click multi file download. In other browsers you would possibly have to accept every single file manually."]}),Object(i.jsx)("div",{className:"spacer"})]})})]}):Object(i.jsxs)("div",{className:"container-scanner",children:[Object(i.jsx)(f.a,{delay:100,onScan:D,showViewFinder:!1,facingMode:"environment",style:{position:"fixed",top:0,left:0,right:0,bottom:0,width:"100vw",height:"100vh"}}),Object(i.jsx)("div",{className:"qr-instructions",children:Object(i.jsxs)("p",{children:["Open the nearby devices page on your PC and scan the QR-code. Or enter your local code: ",Object(i.jsx)("b",{children:z})]})})]})})})}}}]);

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.