PageSourceSearch

https://lwebapp.com/_next/static/chunks/pages/zh/epub-reader-4c3bc406d8f27496195d.js

js lwebapp.com collected 2026-10-01 15:33:27 UTC 13,918 bytes, 1 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[104],{"+oBk":function(e,t,r){"use strict";var n=r("nKUr"),a=r("MX0m"),o=r.n(a),c=r("g4pe"),s=r.n(c),i=(r("q1tI"),r("hzKd")),l=r("0TmZ"),p=r("Gb8u"),u=r("2n8N");t.a=function(e){var t=e.className,r=e.children,a=e.title,c=e.desc,d=e.thumb,j=e.keywords,b=c||i.a.en.indexDesc;j=j||i.a.en.indexKeywords;var m=d||"https://avatars.githubusercontent.com/u/72927208?v=4";return Object(n.jsxs)("main",{className:"jsx-1201827712 "+(t||""),children:[Object(n.jsxs)(s.a,{children:[Object(n.jsx)("meta",{charSet:"utf-8",className:"jsx-1201827712"}),Object(n.jsx)("title",{className:"jsx-1201827712",children:a}),Object(n.jsx)("meta",{name:"description",content:b,className:"jsx-1201827712"}),Object(n.jsx)("meta",{name:"keywords",content:j,className:"jsx-1201827712"}),Object(n.jsx)("meta",{property:"og:type",content:"website",className:"jsx-1201827712"}),Object(n.jsx)("meta",{property:"og:title",content:a,className:"jsx-1201827712"}),Object(n.jsx)("meta",{property:"og:description",content:b,className:"jsx-1201827712"}),Object(n.jsx)("meta",{property:"og:image",content:m,className:"jsx-1201827712"}),Object(n.jsx)("meta",{property:"twitter:card",content:"summary_large_image",className:"jsx-1201827712"}),Object(n.jsx)("meta",{property:"twitter:title",content:a,className:"jsx-1201827712"}),Object(n.jsx)("meta",{property:"twitter:description",content:b,className:"jsx-1201827712"}),Object(n.jsx)("meta",{property:"twitter:image",content:m,className:"jsx-1201827712"}),Object(n.jsx)("link",{rel:"stylesheet",href:"https://gcore.jsdelivr.net/npm/[email protected]/themes/prism-tomorrow.css",className:"jsx-1201827712"})]}),Object(n.jsx)(p.a,{}),r,Object(n.jsx)(l.a,{children:Object(n.jsx)(u.a,{})}),Object(n.jsx)(o.a,{id:"1201827712",children:["a.beian-link.jsx-1201827712{color:rgba(0,0,0,0.8);font-weight:400;}"]})]})}},"/tbu":function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/zh/epub-reader",function(){return r("s/h0")}])},"7ljp":function(e,t,r){"use strict";r.r(t),r.d(t,"MDXContext",(function(){return p})),r.d(t,"MDXProvider",(function(){return j})),r.d(t,"mdx",(function(){return f})),r.d(t,"useMDXComponents",(function(){return d})),r.d(t,"withMDXComponents",(function(){return u}));var n=r("q1tI"),a=r.n(n);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=a.a.createContext({}),u=function(e){return function(t){var r=d(t.components);return a.a.createElement(e,c({},t,{components:r}))}},d=function(e){var t=a.a.useContext(p),r=t;return e&&(r="function"===typeof e?e(t):i(i({},t),e)),r},j=function(e){var t=d(e.components);return a.a.createElement(p.Provider,{value:t},e.children)},b={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},m=a.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,o=e.originalType,c=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),p=d(r),u=n,j=p["".concat(c,".").concat(u)]||p[u]||b[u]||o;return r?a.a.createElement(j,i(i({ref:t},s),{},{components:r})):a.a.createElement(j,i({ref:t},s))}));function f(e,t){var r=arguments,n=t&&t.mdxType;if("string"===typeof e||n){var o=r.length,c=new Array(o);c[0]=m;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s.mdxType="string"===typeof e?e:n,c[1]=s;for(var l=2;l<o;l++)c[l]=r[l];return a.a.createElement.apply(null,c)}return a.a.createElement.apply(null,r)}m.displayName="MDXCreateElement"},QuMu:function(e,t,r){"use strict";var n=r("nKUr"),a=r("nAO/"),o=r.n(a);t.a=function(e){var t=e.locale,r=void 0===t?"en":t;return Object(n.jsxs)("div",{className:o.a.promoBanner,children:[Object(n.jsx)("img",{className:o.a.icon,src:"https://gcore.jsdelivr.net/gh/openHacking/static-files@main/uPic/vUF9dS.png",alt:"ChatGPT"}),Object(n.jsx)("p",{className:o.a.text,children:"zh"===r?"ExportGPT\uff1a\u4e00\u952e\u5bfc\u51faChatGPT\u5bf9\u8bdd\uff0c\u652f\u6301\u622a\u56fe\u3001Markdown\u3001PDF\u3001Word\u3001Excel\u7b49\u591a\u79cd\u683c\u5f0f":"ExportGPT: One-click export of ChatGPT conversations to screenshots, Markdown, PDF, Word, Excel, and more."}),Object(n.jsx)("a",{href:"https://chromewebstore.google.com/detail/exportgpt-export-chatgpt/jamcijfplmgbngnppdhmbbogjebgfimn",target:"_blank",rel:"noopener noreferrer",children:Object(n.jsx)("button",{className:o.a.button,children:"zh"===r?"\u7acb\u5373\u83b7\u53d6":"Get Now"})})]})}},SCMX:function(e,t,r){"use strict";var n=r("nKUr"),a=r("q1tI");t.a=function(){return Object(a.useEffect)((function(){var e=document.getElementsByClassName("adsbygoogle").length;window.adsbygoogle=window.adsbygoogle||[];for(var t=0;t<e;t++)try{window.adsbygoogle.push({})}catch(r){}}),[]),Object(n.jsx)("div",{className:"post-ads",children:Object(n.jsx)("div",{children:Object(n.jsx)("ins",{className:"adsbygoogle",style:{display:"block"},"data-ad-client":"ca-pub-3609041871317154","data-ad-slot":"3105679874","data-ad-format":"auto","data-full-width-responsive":"true"})})})}},"SV/J":function(e,t,r){"use strict";var n=r("nKUr"),a=r("vJKn"),o=r.n(a),c=r("rg98"),s=r("z7pX"),i=r("MX0m"),l=r.n(i),p=r("Xcx1"),u=r("q1tI"),d={en:{label:"Click here to upload a .epub file or drag and drop the .epub file to the dotted area",select:"Choose a epub file"},zh:{label:"\u70b9\u51fb\u6b64\u5904\u4e0a\u4f20\u4e00\u4e2a.epub\u
16587\u4ef6\u6216\u8005\u5c06.epub\u6587\u4ef6\u62d6\u653e\u5230\u865a\u7ebf\u533a\u57df",select:"\u9009\u62e9\u4e00\u4e2a.epub\u6587\u4ef6"}};t.a=function(e){var t=e.locale,r=d[void 0===t?"en":t];return Object(u.useEffect)((function(){Object(p.q)("https://gcore.jsdelivr.net/npm/epubjs/dist/epub.min.js"),Object(p.q)("https://gcore.jsdelivr.net/npm/[email protected]/dist/jszip.min.js");var e=Object(p.a)("#drop-area");function t(e){e.preventDefault(),e.stopPropagation()}function r(t){e.classList.add("highlight")}function n(t){e.classList.remove("highlight")}["dragenter","dragover","dragleave","drop"].forEach((function(r){e.addEventListener(r,t,!1)})),["dragenter","dragover"].forEach((function(t){e.addEventListener(t,r,!1)})),["dragleave","drop"].forEach((function(t){e.addEventListener(t,n,!1)})),e.addEventListener("drop",(function(e){i(e.dataTransfer.files)}),!1);var a=Object(p.a)("#fileElem");function i(e){(e=Object(s.a)(e)).forEach(l)}a.addEventListener("change",(function(){i(a.files)}));var l=function(){var e=Object(c.a)(o.a.mark((function e(t){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(r=new FileReader).readAsArrayBuffer(t),r.onloadend=function(){window.ePub(r.result).renderTo("epub-area",{manager:"continuous",flow:"scrolled",width:"100%",height:"100%"}).display();var e=Object(p.a)("#epub-area");e.style.height="80vh",e.scrollIntoView({behavior:"smooth"})};case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}),[]),Object(n.jsxs)("div",{className:"jsx-2698047456",children:[Object(n.jsx)("script",{src:"https://gcore.jsdelivr.net/npm/epubjs/dist/epub.min.js",className:"jsx-2698047456"}),Object(n.jsx)("script",{src:"https://gcore.jsdelivr.net/npm/[email protected]/dist/jszip.min.js",className:"jsx-2698047456"}),Object(n.jsxs)("div",{className:"jsx-2698047456",children:[Object(n.jsx)("div",{id:"drop-area",className:"jsx-2698047456",children:Object(n.jsxs)("form",{className:"jsx-2698047456 my-form",children:[Object(n.jsx)("p",{className:"jsx-2698047456",children:r.label}),Object(n.jsx)("input",{type:"file",id:"fileElem",accept:".epub",className:"jsx-2698047456"}),Object(n.jsx)("label",{htmlFor:"fileElem",className:"jsx-2698047456 btn select-pic",children:r.select})]})}),Object(n.jsx)("div",{id:"epub-area",className:"jsx-2698047456"})]}),Object(n.jsx)(l.a,{id:"2698047456",children:["#drop-area.jsx-2698047456{border:2px dashed #ccc;border-radius:20px;width:100%;margin:20px auto;padding:20px;}","#drop-area.highlight.jsx-2698047456{border-color:purple;}",".my-form.jsx-2698047456{margin-bottom:10px;text-align:center;}",".my-form.jsx-2698047456 p.jsx-2698047456{margin-top:0;}",".select-pic.jsx-2698047456{margin:20px auto;}","#fileElem.jsx-2698047456{display:none;}","#epub-area.jsx-2698047456{width:100%;margin:20px auto;}"]})]})}},dhJC:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}r.d(t,"a",(function(){return n}))},"nAO/":function(e,t,r){e.exports={promoBanner:"AdsToolsAffiliate_promoBanner__3ABqc",icon:"AdsToolsAffiliate_icon__1DtaZ",text:"AdsToolsAffiliate_text__2LG2_",button:"AdsToolsAffiliate_button__1CL45",shine:"AdsToolsAffiliate_shine__Ez-rN"}},rg98:function(e,t,r){"use strict";function n(e,t,r,n,a,o,c){try{var s=e[o](c),i=s.value}catch(l){return void r(l)}s.done?t(i):Promise.resolve(i).then(n,a)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var c=e.apply(t,r);function s(e){n(c,a,o,s,i,"next",e)}function i(e){n(c,a,o,s,i,"throw",e)}s(void 0)}))}}r.d(t,"a",(function(){return a}))},"s/h0":function(e,t,r){"use strict";r.r(t),r.d(t,"meta",(function(){return d})),r.d(t,"default",(function(){return m}));var n=r("cpVT"),a=r("dhJC"),o=(r("q1tI"),r("7ljp")),c=r("SCMX"),s=r("QuMu"),i=r("SV/J"),l=r("+oBk");function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?p(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d={title:"\u5728\u7ebf EPUB \u9605\u8bfb",description:"\u5728\u7ebf\u6253\u5f00epub\u6587\u4ef6\uff0c\u5728\u7ebf\u9605\u8bfbepub\u683c\u5f0f\u4e66\u7c4d\uff0c\u6d4f\u89c8\u5668\u76f4\u63a5\u6253\u5f00\uff0c\u4e0d\u7528\u540e\u7aef\u5904\u7406\u3002\u7eaf javascript epub \u9605\u8bfb\u5668",keywords:"epub,epub\u9605\u8bfb\u5668,\u5728\u7ebfepub,\u5728\u7ebfEPUB\u9605\u8bfb,epub kindle"},j={meta:d},b=function(e){var t=e.children;return Object(o.mdx)(l.a,{title:d.title,desc:d.description,keywords:d.keywords},Object(o.mdx)("article",{className:"post-content"},Object(o.mdx)("h1",null,d.title),Object(o.mdx)("div",{className:"post-text"},t)))};function m(e){var t=e.components,r=Object(a.a)(e,["components"]);return Object(o.mdx)(b,u(u(u({},j),r),{},{components:t,mdxType:"MDXLayout"}),Object(o.mdx)(s.a,{locale:"zh",mdxType:"AdsToolsAffiliate"}),Object(o.mdx)(i.a,{locale:"zh",mdxType:"EPUBReader"}),Object(o.mdx)(c.a,{mdxType:"AdsTools"}),Object(o.mdx)("h2",null,"\u5982\u4f55\u4f7f\u7528\u5728\u7ebf epub \u9605\u8bfb\u5de5\u5177\uff1f"),Object(o.mdx)("ol",null,Object(o.mdx)("li",{parentName:"ol"},"\u70b9\u51fb\u865a\u7ebf\u533a\u57df\u4e0a\u4f20\u672c\u5730\u7684 epub \u6587\u4ef6\uff0c\u6216\u8005\u62d6\u62fd\u672c\u5730\u7684 epub \u6587\u4ef6\u5230\u865a\u7ebf\u533a\u57df\u5185"),Object(o.mdx)("li",{parentName:"ol"},"\u5f00\u59cb\u4f53\u9a8c\u5728\u7ebf\u9605\u8bfb\u5427\uff01")),Object(o.mdx)("h2",null,"\u4e3a\u4ec0\u4e48\u5927\u5bb6\u559c\u6b22\u5728\u7ebf epub \u9605\u8bfb\u5de5\u5177\uff1f"),Object(o.mdx)("ol",null,Object(o.mdx)("li",{parentName:"ol"},"\u5f53\u4f60\u4e0b\u8f7d\u4e86\u4e00\u672c epub \u4e66\u7c4d\uff0c\u60f3\u5373\u523b\u9a8c\u8bc1\u4e0b\u4e66\u7c4d\u7684\u5185\u5bb9\uff0c\u4f46\u662f\u7535\u8111\u4e0a\u5e76\u6ca1\u6709\u5b89\u88c5 epub \u9605\u8bfb\u5668\uff0c\u8fd9\u65f6\u5019\u4f7f\u7528\u5728\u7ebf\u9605\u8bfb\u5668\u5c31\u6781\u4e3a\u65b9\u4fbf"),Object(o.mdx)("li",{parentName:"ol"},"\u53ef\u4ee5\u4f5c\u4e3a\u65e5\u5e38\u9605\u8bfb epub \u4e66\u7c4d\u7684\u5de5\u5177")),Object(o.mdx)("h2",null,"\u76f8\u5173\u5de5\u5177"),Object(o.mdx)("ul",null,Object(o.mdx)("li",{parentName:"ul"},Object(o.mdx)("a",u({parentName:"li"},{href:"./mobi-reader"}),"\u5728\u7ebf Mobi \u9605\u8bfb")),Object(o.mdx)("li",{parentName:"ul"},Object(o.mdx)("a",u({parentName:"li"},{href:"./docx-reader"}),"\u5728\u7ebf Docx \u9605\u8bfb"))),Object(o.mdx)("h2",null,"\u57fa\u672c\u539f\u7406"),Object(o.mdx)("p",null,"\u5728\u6d4f\u89c8\u5668\u4e2d\u8de8\u591a\u79cd\u8bbe\u5907\u5448\u73b0 ePub \u6587\u6863: ",Object(o.mdx)("a",u({parentName:"p"},{href:"https://github.com/futurepress/epub.js/"}),"Epub.js")))}m.isMDXComponent=!0}},[["/tbu",0,2,1,3]]]);

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.