pdf-master-landing 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/flutter_bootstrap.js +1 -1
- package/dist/app/main.dart.js +64016 -63859
- package/dist/app/main.dart.wasm +0 -0
- package/dist/app/version.json +1 -1
- package/dist/assets/main-qphtmh1g.js +1 -0
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/main-D8sOrAB3.js +0 -1
package/dist/app/main.dart.wasm
CHANGED
|
Binary file
|
package/dist/app/version.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"app_name":"pdf_master","version":"0.0.
|
|
1
|
+
{"app_name":"pdf_master","version":"0.0.2","build_number":"2","package_name":"pdf_master"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as c,j as e,s as m,r as p,L as w,H as f,F as _,c as v}from"./tokens-dhEWX-dA.js";const d=new Set,g="/app/".replace(/\/?$/,"/");function a(s){return g+s.replace(/^\//,"")}function N(s,n,t={}){if(d.has(s+":"+n))return;d.add(s+":"+n);const i=document.createElement("link");i.rel=s,i.href=n,Object.entries(t).forEach(([o,u])=>i.setAttribute(o,u)),document.head.appendChild(i)}function r(s,n){N("prefetch",s,n?{as:n,crossorigin:"anonymous"}:{})}function k(){const s=navigator.connection;return s?!!(s.saveData||s.effectiveType&&/(^|-)(2g|slow-2g)$/.test(s.effectiveType)):!1}let h=!1;function l(){if(h||(h=!0,r(a("flutter_bootstrap.js"),"script"),r(a("manifest.json")),k()))return;("requestIdleCallback"in window?n=>window.requestIdleCallback(n):n=>setTimeout(n,600))(()=>{r(a("main.dart.js"),"script"),r(a("flutter.js"),"script"),r(a("flutter_service_worker.js"),"script"),r(a("canvaskit/canvaskit.js"),"script"),r(a("canvaskit/canvaskit.wasm"),"fetch"),r(a("canvaskit/skwasm.wasm"),"fetch"),r(a("sqlite3.wasm"),"fetch"),r(a("drift_worker.dart.js"),"script"),r(a("icons/Icon-192.png"),"image")})}function x(s="_self"){const n=a("index.html");s==="_blank"?window.open(n,"_blank","noopener"):window.location.href=n}function y(){const{t:s}=c();return e.jsx("section",{id:"top",className:"hero",children:e.jsxs("div",{className:"wrap hero__inner",children:[e.jsxs("div",{className:"hero__copy",children:[e.jsxs("h1",{className:"hero__title",children:[s.heroTitleLine1,e.jsx("br",{}),s.heroTitleLine2]}),e.jsx("p",{className:"hero__lede",children:s.heroLede}),e.jsxs("div",{className:"hero__actions",children:[e.jsx("a",{href:"#download",className:"btn btn--primary btn--lg",onClick:m("download"),children:s.heroDownload}),e.jsx("button",{type:"button",className:"btn btn--ghost btn--lg",onClick:()=>x("_self"),onMouseEnter:l,children:s.heroExperience})]})]}),e.jsx("div",{className:"hero__visual","aria-hidden":!0,children:e.jsxs("div",{className:"window",children:[e.jsxs("div",{className:"window__bar",children:[e.jsxs("span",{className:"window__dots",children:[e.jsx("i",{}),e.jsx("i",{}),e.jsx("i",{})]}),e.jsx("span",{className:"window__title",children:"document.pdf"})]}),e.jsxs("div",{className:"window__body",children:[e.jsxs("aside",{className:"window__sidebar",children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]}),e.jsxs("div",{className:"window__page",children:[e.jsx("img",{src:"/brand/app-mark.png",alt:"",className:"window__mark"}),e.jsx("span",{className:"page-line",style:{width:"90%"}}),e.jsx("span",{className:"page-line",style:{width:"74%"}}),e.jsx("span",{className:"page-line page-line--hl",style:{width:"60%"}}),e.jsx("span",{className:"page-line",style:{width:"88%"}}),e.jsx("span",{className:"page-line",style:{width:"52%"}}),e.jsx("span",{className:"page-line",style:{width:"82%"}}),e.jsx("span",{className:"page-line",style:{width:"68%"}})]})]})]})})]})})}function b(){const{t:s}=c(),n=s.features;return e.jsx("section",{id:"features",className:"features",children:e.jsxs("div",{className:"wrap",children:[e.jsxs("header",{className:"features__head",children:[e.jsx("h2",{children:s.featuresTitle}),e.jsx("p",{children:s.featuresLead})]}),e.jsx("div",{className:"features__grid",children:n.map(t=>e.jsxs("article",{className:"card",children:[e.jsx("div",{className:"card__icon",children:e.jsx(M,{name:t.icon})}),e.jsx("h3",{children:t.title}),e.jsx("p",{children:t.body})]},t.title))})]})})}function M({name:s}){const n={width:22,height:22,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0};switch(s){case"annotate":return e.jsxs("svg",{...n,children:[e.jsx("path",{d:"M4 18l4-1 11-11a2 2 0 0 0-3-3L5 14l-1 4z"}),e.jsx("path",{d:"M14 5l3 3"})]});case"merge":return e.jsxs("svg",{...n,children:[e.jsx("rect",{x:"4",y:"4",width:"8",height:"10",rx:"1.5"}),e.jsx("rect",{x:"12",y:"10",width:"8",height:"10",rx:"1.5"}),e.jsx("path",{d:"M8 16v2a2 2 0 0 0 2 2h2M14 4h1a2 2 0 0 1 2 2v2"})]});case"image":return e.jsxs("svg",{...n,children:[e.jsx("rect",{x:"3",y:"5",width:"18",height:"16",rx:"2"}),e.jsx("path",{d:"M7 15l3-3 3 3 2-2 4 4"}),e.jsx("path",{d:"M8 9h.01"})]});case"secure":return e.jsxs("svg",{...n,children:[e.jsx("path",{d:"M12 2l7 4v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6l7-4z"}),e.jsx("path",{d:"M9 12h6M10 12v-2a2 2 0 0 1 4 0v2M10 12v4h4v-4"})]});case"cross":return e.jsxs("svg",{...n,children:[e.jsx("rect",{x:"2",y:"4",width:"14",height:"10",rx:"1.5"}),e.jsx("rect",{x:"14",y:"9",width:"8",height:"11",rx:"1.5"}),e.jsx("path",{d:"M5 18h6"})]});case"offline":return e.jsxs("svg",{...n,children:[e.jsx("path",{d:"M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-4z"}),e.jsx("path",{d:"M9 12l2 2 4-4"})]})}}const j="9PF542ZFDZQL",z=`ms-windows-store://pdp/?productid=${j}`,E=`https://apps.microsoft.com/detail/${j}`,L=[{key:"mac",brand:"apple"},{key:"ios",brand:"apple"},{key:"windows",brand:"windows"},{key:"android",brand:"play"},{key:"linux",brand:"flathub"},{key:"pwa",brand:"chrome"}];function S(){const{t:s}=c();return e.jsx("section",{id:"download",className:"download",children:e.jsxs("div",{className:"wrap",children:[e.jsx("header",{className:"download__head",children:e.jsx("h2",{children:s.downloadTitle})}),e.jsx("div",{className:"store-grid",children:L.map(n=>e.jsx(C,{store:n},n.key))})]})})}function C({store:s}){const{t:n}=c(),t=n.stores[s.key],i=s.key==="pwa",o=()=>{if(i){x("_self");return}if(s.key==="windows"){window.location.href=A();return}if(s.href){window.open(s.href,"_blank","noopener");return}alert(n.storeComingSoon(t.store))};return e.jsxs("button",{type:"button",className:"store",onClick:o,onMouseEnter:i?l:void 0,children:[e.jsx("span",{className:"store__logo",children:e.jsx(D,{name:s.brand})}),e.jsxs("div",{className:"store__text",children:[e.jsx("span",{className:"store__store",children:t.store}),e.jsxs("span",{className:"store__meta",children:[e.jsx("span",{className:"store__platform",children:t.platform}),e.jsx("span",{className:"store__dot","aria-hidden":!0,children:"·"}),t.meta]})]})]})}function A(){return T()?z:E}function T(){const n=navigator.userAgentData?.platform||navigator.platform;return/win/i.test(n)||/windows/i.test(navigator.userAgent)}function D({name:s}){const n={width:20,height:20,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0};switch(s){case"apple":return e.jsx("svg",{...n,children:e.jsx("path",{d:"M16.7 12.7c0-2.4 2-3.5 2-3.6-1.1-1.6-2.8-1.8-3.4-1.9-1.4-.1-2.8.9-3.5.9s-1.8-.9-3-.9c-1.5 0-3 .9-3.8 2.3-1.6 2.8-.4 7 1.2 9.3.7 1.1 1.6 2.4 2.8 2.4 1.1 0 1.6-.7 2.9-.7s1.7.7 3 .7c1.2 0 2-.7 2.7-1.8.6-.9.9-1.8 1.1-2.7-2.4-1-2-3.7-2-4zM14.6 5.5c.6-.7 1-1.7 1-2.7-.9 0-2 .6-2.6 1.3-.6.6-1.1 1.6-1 2.6 1 .1 2-.5 2.6-1.2z"})});case"windows":return e.jsx("svg",{...n,children:e.jsx("path",{d:"M3 5.5l8-1.1V12H3V5.5zM12 4.3l9-1.3V12h-9V4.3zM3 13h8v6.6l-8-1.1V13zm9 0h9v8.7l-9-1.3V13z"})});case"play":return e.jsx("svg",{...n,children:e.jsx("path",{d:"M3.609 1.814L13.792 12 3.61 22.186a.996.996 0 01-.61-.92V2.734a1 1 0 01.609-.92zm10.89 10.893l2.302 2.303-10.937 6.333 8.635-8.636zm3.199-3.198l2.808 1.626a1 1 0 010 1.73l-2.808 1.626L15.297 12l2.401-2.491zM5.864 2.658L16.802 8.99l-2.303 2.303L5.864 2.658z"})});case"flathub":return e.jsx("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"currentColor","aria-hidden":!0,children:e.jsx("path",{d:"M12 2L3 6v6c0 5 3.8 9.4 9 10 5.2-.6 9-5 9-10V6l-9-4zm-1 5h2v2h-2V7zm-3 4h8v2H8v-2zm0 4h8v2H8v-2z"})});case"chrome":return e.jsx("svg",{...n,children:e.jsx("path",{d:"M12 0C8.21 0 4.831 1.757 2.632 4.501l3.953 6.848A5.454 5.454 0 0 1 12 6.545h10.691A12 12 0 0 0 12 0zM1.931 5.47A11.943 11.943 0 0 0 0 12c0 6.012 4.42 10.991 10.189 11.864l3.953-6.847a5.45 5.45 0 0 1-6.865-2.29zm13.342 2.166a5.446 5.446 0 0 1 1.45 7.09l.002.001h-.002l-5.344 9.257c.206.01.413.016.621.016 6.627 0 12-5.373 12-12 0-1.54-.29-3.011-.818-4.364zM12 16.364a4.364 4.364 0 1 1 0-8.728 4.364 4.364 0 0 1 0 8.728Z"})})}}function I(){return p.useEffect(()=>{l()},[]),e.jsxs(w,{children:[e.jsx(f,{}),e.jsxs("main",{children:[e.jsx(y,{}),e.jsx(b,{}),e.jsx(S,{})]}),e.jsx(_,{})]})}l();v(document.getElementById("root")).render(e.jsx(p.StrictMode,{children:e.jsx(I,{})}));
|
package/dist/index.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
<link rel="prefetch" href="/app/flutter_bootstrap.js" as="script" />
|
|
16
16
|
<link rel="prefetch" href="/app/manifest.json" />
|
|
17
|
-
<script type="module" crossorigin src="/assets/main-
|
|
17
|
+
<script type="module" crossorigin src="/assets/main-qphtmh1g.js"></script>
|
|
18
18
|
<link rel="modulepreload" crossorigin href="/assets/tokens-dhEWX-dA.js">
|
|
19
19
|
<link rel="stylesheet" crossorigin href="/assets/style-DPCEmzUq.css">
|
|
20
20
|
</head>
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as c,j as e,s as u,r as x,L as m,H as w,F as f,c as v}from"./tokens-dhEWX-dA.js";const o=new Set,_="/app/".replace(/\/?$/,"/");function n(s){return _+s.replace(/^\//,"")}function g(s,a,r={}){if(o.has(s+":"+a))return;o.add(s+":"+a);const i=document.createElement("link");i.rel=s,i.href=a,Object.entries(r).forEach(([d,j])=>i.setAttribute(d,j)),document.head.appendChild(i)}function t(s,a){g("prefetch",s,a?{as:a,crossorigin:"anonymous"}:{})}function N(){const s=navigator.connection;return s?!!(s.saveData||s.effectiveType&&/(^|-)(2g|slow-2g)$/.test(s.effectiveType)):!1}let h=!1;function l(){if(h||(h=!0,t(n("flutter_bootstrap.js"),"script"),t(n("manifest.json")),N()))return;("requestIdleCallback"in window?a=>window.requestIdleCallback(a):a=>setTimeout(a,600))(()=>{t(n("main.dart.js"),"script"),t(n("flutter.js"),"script"),t(n("flutter_service_worker.js"),"script"),t(n("canvaskit/canvaskit.js"),"script"),t(n("canvaskit/canvaskit.wasm"),"fetch"),t(n("canvaskit/skwasm.wasm"),"fetch"),t(n("sqlite3.wasm"),"fetch"),t(n("drift_worker.dart.js"),"script"),t(n("icons/Icon-192.png"),"image")})}function p(s="_self"){const a=n("index.html");s==="_blank"?window.open(a,"_blank","noopener"):window.location.href=a}function k(){const{t:s}=c();return e.jsx("section",{id:"top",className:"hero",children:e.jsxs("div",{className:"wrap hero__inner",children:[e.jsxs("div",{className:"hero__copy",children:[e.jsxs("h1",{className:"hero__title",children:[s.heroTitleLine1,e.jsx("br",{}),s.heroTitleLine2]}),e.jsx("p",{className:"hero__lede",children:s.heroLede}),e.jsxs("div",{className:"hero__actions",children:[e.jsx("a",{href:"#download",className:"btn btn--primary btn--lg",onClick:u("download"),children:s.heroDownload}),e.jsx("button",{type:"button",className:"btn btn--ghost btn--lg",onClick:()=>p("_self"),onMouseEnter:l,children:s.heroExperience})]})]}),e.jsx("div",{className:"hero__visual","aria-hidden":!0,children:e.jsxs("div",{className:"window",children:[e.jsxs("div",{className:"window__bar",children:[e.jsxs("span",{className:"window__dots",children:[e.jsx("i",{}),e.jsx("i",{}),e.jsx("i",{})]}),e.jsx("span",{className:"window__title",children:"document.pdf"})]}),e.jsxs("div",{className:"window__body",children:[e.jsxs("aside",{className:"window__sidebar",children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]}),e.jsxs("div",{className:"window__page",children:[e.jsx("img",{src:"/brand/app-mark.png",alt:"",className:"window__mark"}),e.jsx("span",{className:"page-line",style:{width:"90%"}}),e.jsx("span",{className:"page-line",style:{width:"74%"}}),e.jsx("span",{className:"page-line page-line--hl",style:{width:"60%"}}),e.jsx("span",{className:"page-line",style:{width:"88%"}}),e.jsx("span",{className:"page-line",style:{width:"52%"}}),e.jsx("span",{className:"page-line",style:{width:"82%"}}),e.jsx("span",{className:"page-line",style:{width:"68%"}})]})]})]})})]})})}function y(){const{t:s}=c(),a=s.features;return e.jsx("section",{id:"features",className:"features",children:e.jsxs("div",{className:"wrap",children:[e.jsxs("header",{className:"features__head",children:[e.jsx("h2",{children:s.featuresTitle}),e.jsx("p",{children:s.featuresLead})]}),e.jsx("div",{className:"features__grid",children:a.map(r=>e.jsxs("article",{className:"card",children:[e.jsx("div",{className:"card__icon",children:e.jsx(b,{name:r.icon})}),e.jsx("h3",{children:r.title}),e.jsx("p",{children:r.body})]},r.title))})]})})}function b({name:s}){const a={width:22,height:22,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0};switch(s){case"annotate":return e.jsxs("svg",{...a,children:[e.jsx("path",{d:"M4 18l4-1 11-11a2 2 0 0 0-3-3L5 14l-1 4z"}),e.jsx("path",{d:"M14 5l3 3"})]});case"merge":return e.jsxs("svg",{...a,children:[e.jsx("rect",{x:"4",y:"4",width:"8",height:"10",rx:"1.5"}),e.jsx("rect",{x:"12",y:"10",width:"8",height:"10",rx:"1.5"}),e.jsx("path",{d:"M8 16v2a2 2 0 0 0 2 2h2M14 4h1a2 2 0 0 1 2 2v2"})]});case"image":return e.jsxs("svg",{...a,children:[e.jsx("rect",{x:"3",y:"5",width:"18",height:"16",rx:"2"}),e.jsx("path",{d:"M7 15l3-3 3 3 2-2 4 4"}),e.jsx("path",{d:"M8 9h.01"})]});case"secure":return e.jsxs("svg",{...a,children:[e.jsx("path",{d:"M12 2l7 4v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6l7-4z"}),e.jsx("path",{d:"M9 12h6M10 12v-2a2 2 0 0 1 4 0v2M10 12v4h4v-4"})]});case"cross":return e.jsxs("svg",{...a,children:[e.jsx("rect",{x:"2",y:"4",width:"14",height:"10",rx:"1.5"}),e.jsx("rect",{x:"14",y:"9",width:"8",height:"11",rx:"1.5"}),e.jsx("path",{d:"M5 18h6"})]});case"offline":return e.jsxs("svg",{...a,children:[e.jsx("path",{d:"M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-4z"}),e.jsx("path",{d:"M9 12l2 2 4-4"})]})}}const M=[{key:"mac",brand:"apple"},{key:"ios",brand:"apple"},{key:"windows",brand:"windows"},{key:"android",brand:"play"},{key:"linux",brand:"flathub"},{key:"pwa",brand:"chrome"}];function z(){const{t:s}=c();return e.jsx("section",{id:"download",className:"download",children:e.jsxs("div",{className:"wrap",children:[e.jsx("header",{className:"download__head",children:e.jsx("h2",{children:s.downloadTitle})}),e.jsx("div",{className:"store-grid",children:M.map(a=>e.jsx(L,{store:a},a.key))})]})})}function L({store:s}){const{t:a}=c(),r=a.stores[s.key],i=s.key==="pwa",d=()=>{if(i){p("_self");return}if(s.href){window.open(s.href,"_blank","noopener");return}alert(a.storeComingSoon(r.store))};return e.jsxs("button",{type:"button",className:"store",onClick:d,onMouseEnter:i?l:void 0,children:[e.jsx("span",{className:"store__logo",children:e.jsx(E,{name:s.brand})}),e.jsxs("div",{className:"store__text",children:[e.jsx("span",{className:"store__store",children:r.store}),e.jsxs("span",{className:"store__meta",children:[e.jsx("span",{className:"store__platform",children:r.platform}),e.jsx("span",{className:"store__dot","aria-hidden":!0,children:"·"}),r.meta]})]})]})}function E({name:s}){const a={width:20,height:20,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0};switch(s){case"apple":return e.jsx("svg",{...a,children:e.jsx("path",{d:"M16.7 12.7c0-2.4 2-3.5 2-3.6-1.1-1.6-2.8-1.8-3.4-1.9-1.4-.1-2.8.9-3.5.9s-1.8-.9-3-.9c-1.5 0-3 .9-3.8 2.3-1.6 2.8-.4 7 1.2 9.3.7 1.1 1.6 2.4 2.8 2.4 1.1 0 1.6-.7 2.9-.7s1.7.7 3 .7c1.2 0 2-.7 2.7-1.8.6-.9.9-1.8 1.1-2.7-2.4-1-2-3.7-2-4zM14.6 5.5c.6-.7 1-1.7 1-2.7-.9 0-2 .6-2.6 1.3-.6.6-1.1 1.6-1 2.6 1 .1 2-.5 2.6-1.2z"})});case"windows":return e.jsx("svg",{...a,children:e.jsx("path",{d:"M3 5.5l8-1.1V12H3V5.5zM12 4.3l9-1.3V12h-9V4.3zM3 13h8v6.6l-8-1.1V13zm9 0h9v8.7l-9-1.3V13z"})});case"play":return e.jsx("svg",{...a,children:e.jsx("path",{d:"M3.609 1.814L13.792 12 3.61 22.186a.996.996 0 01-.61-.92V2.734a1 1 0 01.609-.92zm10.89 10.893l2.302 2.303-10.937 6.333 8.635-8.636zm3.199-3.198l2.808 1.626a1 1 0 010 1.73l-2.808 1.626L15.297 12l2.401-2.491zM5.864 2.658L16.802 8.99l-2.303 2.303L5.864 2.658z"})});case"flathub":return e.jsx("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"currentColor","aria-hidden":!0,children:e.jsx("path",{d:"M12 2L3 6v6c0 5 3.8 9.4 9 10 5.2-.6 9-5 9-10V6l-9-4zm-1 5h2v2h-2V7zm-3 4h8v2H8v-2zm0 4h8v2H8v-2z"})});case"chrome":return e.jsx("svg",{...a,children:e.jsx("path",{d:"M12 0C8.21 0 4.831 1.757 2.632 4.501l3.953 6.848A5.454 5.454 0 0 1 12 6.545h10.691A12 12 0 0 0 12 0zM1.931 5.47A11.943 11.943 0 0 0 0 12c0 6.012 4.42 10.991 10.189 11.864l3.953-6.847a5.45 5.45 0 0 1-6.865-2.29zm13.342 2.166a5.446 5.446 0 0 1 1.45 7.09l.002.001h-.002l-5.344 9.257c.206.01.413.016.621.016 6.627 0 12-5.373 12-12 0-1.54-.29-3.011-.818-4.364zM12 16.364a4.364 4.364 0 1 1 0-8.728 4.364 4.364 0 0 1 0 8.728Z"})})}}function C(){return x.useEffect(()=>{l()},[]),e.jsxs(m,{children:[e.jsx(w,{}),e.jsxs("main",{children:[e.jsx(k,{}),e.jsx(y,{}),e.jsx(z,{})]}),e.jsx(f,{})]})}l();v(document.getElementById("root")).render(e.jsx(x.StrictMode,{children:e.jsx(C,{})}));
|