Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/embedpre.../assets/pdf-flip.../template...
File: book-view.html
<div id="fb3d-ctx" class="flip-book">
[0] Fix | Delete
<div class="view">
[1] Fix | Delete
<div class="fnav">
[2] Fix | Delete
<div class="prev">
[3] Fix | Delete
<a class="cmdBackward but-show" href="/#"><span class="icon previous-page-icon">
[4] Fix | Delete
<svg title="<$tr>Previous page</$tr>" width="28.947" height="49.999" viewBox="0 0 28.947 49.999" fill="none"
[5] Fix | Delete
xmlns="http://www.w3.org/2000/svg">
[6] Fix | Delete
<path
[7] Fix | Delete
d="M1.372 22.096a4.12 4.12 0 0 0 0 5.821l20.559 20.559a4.118 4.118 0 0 0 5.821-5.821L10.097 25 27.739 7.345a4.118 4.118 0 0 0-5.821-5.821L1.359 22.083z"
[8] Fix | Delete
fill="#666" />
[9] Fix | Delete
</svg>
[10] Fix | Delete
</span></a>
[11] Fix | Delete
</div>
[12] Fix | Delete
<div class="next">
[13] Fix | Delete
<a class="cmdForward but-show" href="/#"><span class="icon next-page-icon">
[14] Fix | Delete
<svg title="<$tr>Next page</$tr>" width="29.605" height="50" viewBox="0 0 29.605 50" fill="none"
[15] Fix | Delete
xmlns="http://www.w3.org/2000/svg">
[16] Fix | Delete
<path
[17] Fix | Delete
d="M27.904 22.096a4.12 4.12 0 0 1 0 5.821L7.345 48.476a4.118 4.118 0 0 1-5.821-5.821L19.179 25 1.537 7.345a4.118 4.118 0 0 1 5.821-5.821l20.559 20.559z"
[18] Fix | Delete
fill="#666" />
[19] Fix | Delete
</svg>
[20] Fix | Delete
[21] Fix | Delete
</span></a>
[22] Fix | Delete
</div>
[23] Fix | Delete
</div>
[24] Fix | Delete
<div class="widLoadingProgress loading-progress hidden">
[25] Fix | Delete
<div class="progress">
[26] Fix | Delete
</div>
[27] Fix | Delete
<div class="txtLoadingProgress caption">
[28] Fix | Delete
</div>
[29] Fix | Delete
</div>
[30] Fix | Delete
<div class="widLoading page-loading hidden">
[31] Fix | Delete
</div>
[32] Fix | Delete
</div>
[33] Fix | Delete
[34] Fix | Delete
<div class="widFloatWnd float-wnd hidden">
[35] Fix | Delete
<div class="header">
[36] Fix | Delete
<$tr>Table of contents</$tr>
[37] Fix | Delete
<a href="/#" title="<$tr>Close</$tr>" class="close cmdCloseToc">
[38] Fix | Delete
<span class="icon">
[39] Fix | Delete
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
[40] Fix | Delete
<path
[41] Fix | Delete
d="M18.249 4.385a1.709 1.709 0 0 0-2.413-2.412l-5.609 5.614-5.614-5.609A1.709 1.709 0 0 0 2.2 4.391L7.815 10l-5.61 5.615a1.709 1.709 0 0 0 2.413 2.412l5.609-5.615 5.615 5.609a1.709 1.709 0 0 0 2.413-2.413L12.64 10z"
[42] Fix | Delete
fill="#fff" />
[43] Fix | Delete
</svg>
[44] Fix | Delete
[45] Fix | Delete
</span>
[46] Fix | Delete
</a>
[47] Fix | Delete
</div>
[48] Fix | Delete
<div class="body">
[49] Fix | Delete
<div class="ctrl">
[50] Fix | Delete
<div class="toc">
[51] Fix | Delete
<div class="toc-menu widTocMenu">
[52] Fix | Delete
<ul>
[53] Fix | Delete
<li class="cmdBookmarks"><a href="/#">
[54] Fix | Delete
<$tr>Bookmarks</$tr>
[55] Fix | Delete
</a></li>
[56] Fix | Delete
<li class="cmdThumbnails"><a href="/#">
[57] Fix | Delete
<$tr>Thumbnails</$tr>
[58] Fix | Delete
</a></li>
[59] Fix | Delete
<li class="cmdSearch"><a href="/#">
[60] Fix | Delete
<$tr>Search</$tr>
[61] Fix | Delete
</a></li>
[62] Fix | Delete
</ul>
[63] Fix | Delete
</div>
[64] Fix | Delete
<div class="widBookmarks toc-view">
[65] Fix | Delete
[66] Fix | Delete
</div>
[67] Fix | Delete
<div class="widThumbnails toc-view">
[68] Fix | Delete
[69] Fix | Delete
</div>
[70] Fix | Delete
<div class="widSearch toc-view">
[71] Fix | Delete
[72] Fix | Delete
</div>
[73] Fix | Delete
</div>
[74] Fix | Delete
</div>
[75] Fix | Delete
</div>
[76] Fix | Delete
</div>
[77] Fix | Delete
[78] Fix | Delete
<div class="controls">
[79] Fix | Delete
[80] Fix | Delete
<div class="ctrl js-center">
[81] Fix | Delete
<nav class="fnavbar">
[82] Fix | Delete
<ul class="fnav">
[83] Fix | Delete
[84] Fix | Delete
<li class="fnav-item cmdZoomIn"><a href="/#"><span class="icon">
[85] Fix | Delete
<svg title="<$tr>Zoom in</$tr>" width="30" height="30" viewBox="0 0 30 30" fill="none"
[86] Fix | Delete
xmlns="http://www.w3.org/2000/svg">
[87] Fix | Delete
<path
[88] Fix | Delete
d="M24.375 12.188c0 2.689-.873 5.174-2.344 7.189l7.418 7.424c.732.732.732 1.922 0 2.654s-1.922.732-2.654 0l-7.418-7.424a12.1 12.1 0 0 1-7.189 2.344C5.455 24.375 0 18.92 0 12.188S5.455 0 12.188 0s12.188 5.455 12.188 12.188m-13.594 5.156c0 .779.627 1.406 1.406 1.406s1.406-.627 1.406-1.406v-3.75h3.75c.779 0 1.406-.627 1.406-1.406s-.627-1.406-1.406-1.406h-3.75v-3.75c0-.779-.627-1.406-1.406-1.406s-1.406.627-1.406 1.406v3.75h-3.75c-.779 0-1.406.627-1.406 1.406s.627 1.406 1.406 1.406h3.75z"
[89] Fix | Delete
fill="#fff" />
[90] Fix | Delete
</svg>
[91] Fix | Delete
</span></a></li>
[92] Fix | Delete
<li class="fnav-item cmdZoomOut"><a href="/#"><span class="icon">
[93] Fix | Delete
<svg title="<$tr>Zoom out</$tr>" width="30" height="30" viewBox="0 0 30 30" fill="none"
[94] Fix | Delete
xmlns="http://www.w3.org/2000/svg">
[95] Fix | Delete
<g clip-path="url(#a)">
[96] Fix | Delete
<path
[97] Fix | Delete
d="M24.375 12.188c0 2.689-.873 5.174-2.344 7.189l7.418 7.424c.732.732.732 1.922 0 2.654s-1.922.732-2.654 0l-7.418-7.424a12.1 12.1 0 0 1-7.189 2.344C5.455 24.375 0 18.92 0 12.188S5.455 0 12.188 0s12.188 5.455 12.188 12.188M7.97 10.782c-.779 0-1.406.627-1.406 1.406s.627 1.406 1.406 1.406h8.438c.779 0 1.406-.627 1.406-1.406s-.627-1.406-1.406-1.406z"
[98] Fix | Delete
fill="#fff" />
[99] Fix | Delete
</g>
[100] Fix | Delete
<defs>
[101] Fix | Delete
<clipPath id="a">
[102] Fix | Delete
<path fill="#fff" d="M0 0h30v30H0z" />
[103] Fix | Delete
</clipPath>
[104] Fix | Delete
</defs>
[105] Fix | Delete
</svg>
[106] Fix | Delete
</span></a></li>
[107] Fix | Delete
<li class="fnav-item cmdDefaultZoom but-show"><a href="/#"><span class="icon">
[108] Fix | Delete
[109] Fix | Delete
<svg title="<$tr>Fit view</$tr>" width="30" height="30" viewBox="0 0 30 30" fill="none"
[110] Fix | Delete
xmlns="http://www.w3.org/2000/svg">
[111] Fix | Delete
<path
[112] Fix | Delete
d="M.005.005v7.498h1.874V1.879h5.623V.005zm28.116 22.493v5.623h-5.623v1.874h7.498v-7.497zM29.995.005v7.498h-1.874V1.879h-5.623V.005zM1.879 22.498v5.623h5.623v1.874H.005v-7.497z"
[113] Fix | Delete
fill="#fff" />
[114] Fix | Delete
<path fill-rule="evenodd" clip-rule="evenodd"
[115] Fix | Delete
d="M5.628 5.628v18.744h18.744V5.628zm1.874 1.874h14.995v14.995H7.502z" fill="#fff" />
[116] Fix | Delete
</svg>
[117] Fix | Delete
[118] Fix | Delete
</span></a></li>
[119] Fix | Delete
<li class="fnav-item cmdToc"><a href="/#"><span class="icon">
[120] Fix | Delete
<svg title="<$tr>Table of contents</$tr>" width="30" height="40" viewBox="0 0 30 40" fill="none"
[121] Fix | Delete
xmlns="http://www.w3.org/2000/svg">
[122] Fix | Delete
<path
[123] Fix | Delete
d="M0 3.75v34.352a1.9 1.9 0 0 0 2.992 1.554L15 31.25l12.008 8.406A1.9 1.9 0 0 0 30 38.102V3.75C30 1.68 28.32 0 26.25 0H3.75C1.68 0 0 1.68 0 3.75"
[124] Fix | Delete
fill="#fff" />
[125] Fix | Delete
</svg>
[126] Fix | Delete
</span></a></li>
[127] Fix | Delete
[128] Fix | Delete
<!-- <li class="fnav-item cmdFastBackward"><a href="/#"><span class="icon icon-backward">
[129] Fix | Delete
<svg title="<$tr>10 pages backward</$tr>" width="30" height="17" viewBox="0 0 30 17" fill="none" xmlns="http://www.w3.org/2000/svg">
[130] Fix | Delete
<path d="M0 0L10.6105 8.11579L0 16.2316V0ZM13.7368 0L24.3789 8.11579L13.7368 16.2316V0ZM26.2421 0.631578H30V15.6316H26.2421V0.631578Z" fill="white"/>
[131] Fix | Delete
</svg>
[132] Fix | Delete
</span></a></li> -->
[133] Fix | Delete
[134] Fix | Delete
[135] Fix | Delete
<li class="fnav-item cmdBackward"><a href="/#"><span class="icon">
[136] Fix | Delete
<svg class="rotate-180" width="25" height="17" viewBox="0 0 25 17" fill="none"
[137] Fix | Delete
xmlns="http://www.w3.org/2000/svg">
[138] Fix | Delete
<path d="M0 0L10.6105 8.11579L0 16.2316V0ZM13.7368 0L24.3789 8.11579L13.7368 16.2316V0Z"
[139] Fix | Delete
fill="white" />
[140] Fix | Delete
</svg>
[141] Fix | Delete
</span></a></li>
[142] Fix | Delete
[143] Fix | Delete
<li class="fnav-item">
[144] Fix | Delete
<div class="pages">
[145] Fix | Delete
<input type="text" class="number inpPage" maxlength="4" placeholder="1">
[146] Fix | Delete
<input type="text" class="amount inpPages" readOnly maxlength="4" placeholder="1">
[147] Fix | Delete
</div>
[148] Fix | Delete
</li>
[149] Fix | Delete
<li class="fnav-item cmdForward"><a href="/#"><span class="icon">
[150] Fix | Delete
<svg title="<$tr>Next page</$tr>" width="25" height="17" viewBox="0 0 25 17" fill="none"
[151] Fix | Delete
xmlns="http://www.w3.org/2000/svg">
[152] Fix | Delete
<path d="M0 0L10.6105 8.11579L0 16.2316V0ZM13.7368 0L24.3789 8.11579L13.7368 16.2316V0Z"
[153] Fix | Delete
fill="white" />
[154] Fix | Delete
</svg>
[155] Fix | Delete
</span></a></li>
[156] Fix | Delete
[157] Fix | Delete
<!-- <li class="fnav-item cmdFastForward"><a href="/#"><span class="icon">
[158] Fix | Delete
<svg title="<$tr>10 pages forward</$tr>" width="30" height="17" viewBox="0 0 30 17" fill="none" xmlns="http://www.w3.org/2000/svg">
[159] Fix | Delete
<path d="M0 0L10.6105 8.11579L0 16.2316V0ZM13.7368 0L24.3789 8.11579L13.7368 16.2316V0ZM26.2421 0.631578H30V15.6316H26.2421V0.631578Z" fill="white"/>
[160] Fix | Delete
</svg>
[161] Fix | Delete
[162] Fix | Delete
</span></a></li> -->
[163] Fix | Delete
[164] Fix | Delete
<li class="fnav-item but-show cmdDownload"><a id="download-pdf" href="/#"><span class="icon">
[165] Fix | Delete
<svg title="<$tr>Download</$tr>" width="20" height="20" viewBox="0 0 20 20" fill="none"
[166] Fix | Delete
xmlns="http://www.w3.org/2000/svg">
[167] Fix | Delete
<path
[168] Fix | Delete
d="M11.25 1.25a1.25 1.25 0 1 0-2.5 0v9.48L5.883 7.863a1.252 1.252 0 0 0-1.77 1.77l5 5a1.253 1.253 0 0 0 1.77 0l5-5a1.252 1.252 0 0 0-1.77-1.77L11.25 10.73zM2.5 13.75a2.5 2.5 0 0 0-2.5 2.5v1.25C0 18.879 1.121 20 2.5 20h15c1.379 0 2.5-1.121 2.5-2.5v-1.25c0-1.379-1.121-2.5-2.5-2.5h-3.965l-1.77 1.77a2.5 2.5 0 0 1-3.535 0l-1.765-1.77zm14.375 2.188c.249 0 .487.099.663.275a.94.94 0 0 1 0 1.326.94.94 0 0 1-1.326 0 .94.94 0 0 1 0-1.326.94.94 0 0 1 .663-.275"
[169] Fix | Delete
fill="#fff" />
[170] Fix | Delete
</svg>
[171] Fix | Delete
</span></a></li>
[172] Fix | Delete
<li class="fnav-item cmdPrint"><a href="/#"><span class="icon">
[173] Fix | Delete
<svg title="<$tr>Print</$tr>" width="30" height="30" viewBox="0 0 30 30" fill="none"
[174] Fix | Delete
xmlns="http://www.w3.org/2000/svg">
[175] Fix | Delete
<g clip-path="url(#a)">
[176] Fix | Delete
<path
[177] Fix | Delete
d="M7.5 0a3.754 3.754 0 0 0-3.75 3.75v5.625H7.5V3.75h13.283L22.5 5.467v3.908h3.75V5.467c0-.996-.393-1.951-1.096-2.654l-1.716-1.717A3.76 3.76 0 0 0 20.783 0zm15 20.625v5.625h-15v-5.625zm3.75 1.875h1.875A1.873 1.873 0 0 0 30 20.625V15a3.755 3.755 0 0 0-3.75-3.75H3.75A3.754 3.754 0 0 0 0 15v5.625C0 21.662.838 22.5 1.875 22.5H3.75v3.75A3.754 3.754 0 0 0 7.5 30h15a3.755 3.755 0 0 0 3.75-3.75zm-.938-7.969a1.406 1.406 0 1 1 0 2.812 1.406 1.406 0 0 1 0-2.812"
[178] Fix | Delete
fill="#fff" />
[179] Fix | Delete
</g>
[180] Fix | Delete
<defs>
[181] Fix | Delete
<clipPath id="a">
[182] Fix | Delete
<path fill="#fff" d="M0 0h30v30H0z" />
[183] Fix | Delete
</clipPath>
[184] Fix | Delete
</defs>
[185] Fix | Delete
</svg>
[186] Fix | Delete
[187] Fix | Delete
</span></a></li>
[188] Fix | Delete
<li class="fnav-item cmdFullScreen"><a href="/#"><span class="icon">
[189] Fix | Delete
<svg title="<$tr>Full screen</$tr>" width="20" height="20" viewBox="0 0 20 20" fill="none"
[190] Fix | Delete
xmlns="http://www.w3.org/2000/svg">
[191] Fix | Delete
<path
[192] Fix | Delete
d="M1.429 0C.638 0 0 .638 0 1.429v4.286c0 .79.638 1.429 1.429 1.429s1.429-.638 1.429-1.429V2.857h2.857A1.427 1.427 0 1 0 5.714 0zm1.429 14.286c0-.79-.638-1.429-1.429-1.429S0 13.496 0 14.286v4.286c0 .79.638 1.429 1.429 1.429h4.286c.79 0 1.429-.638 1.429-1.429s-.638-1.429-1.429-1.429H2.857zM14.286 0c-.79 0-1.429.638-1.429 1.429s.638 1.429 1.429 1.429h2.857v2.857c0 .79.638 1.429 1.429 1.429s1.429-.638 1.429-1.429V1.429c0-.79-.638-1.429-1.429-1.429zM20 14.286c0-.79-.638-1.429-1.429-1.429s-1.429.638-1.429 1.429v2.857h-2.857c-.79 0-1.429.638-1.429 1.429s.638 1.429 1.429 1.429h4.286c.79 0 1.429-.638 1.429-1.429z"
[193] Fix | Delete
fill="#fff" />
[194] Fix | Delete
</svg>
[195] Fix | Delete
[196] Fix | Delete
</span></a></li>
[197] Fix | Delete
[198] Fix | Delete
<li class="dropup fnav-item toggle widSettings">
[199] Fix | Delete
<a href="/#">
[200] Fix | Delete
<div class="icon-caret"><span class="icon">
[201] Fix | Delete
[202] Fix | Delete
<svg width="112" height="432" viewBox="0 0 112 432" fill="none" xmlns="http://www.w3.org/2000/svg">
[203] Fix | Delete
<path
[204] Fix | Delete
d="M56 320C41.1479 320 26.9041 325.9 16.402 336.402C5.89998 346.904 0 361.148 0 376C0 390.852 5.89998 405.096 16.402 415.598C26.9041 426.1 41.1479 432 56 432C70.8521 432 85.0959 426.1 95.598 415.598C106.1 405.096 112 390.852 112 376C112 361.148 106.1 346.904 95.598 336.402C85.0959 325.9 70.8521 320 56 320ZM56 160C41.1479 160 26.9041 165.9 16.402 176.402C5.89998 186.904 0 201.148 0 216C0 230.852 5.89998 245.096 16.402 255.598C26.9041 266.1 41.1479 272 56 272C70.8521 272 85.0959 266.1 95.598 255.598C106.1 245.096 112 230.852 112 216C112 201.148 106.1 186.904 95.598 176.402C85.0959 165.9 70.8521 160 56 160ZM112 56C112 41.1479 106.1 26.9041 95.598 16.402C85.0959 5.89998 70.8521 0 56 0C41.1479 0 26.9041 5.89998 16.402 16.402C5.89998 26.9041 0 41.1479 0 56C0 70.8521 5.89998 85.0959 16.402 95.598C26.9041 106.1 41.1479 112 56 112C70.8521 112 85.0959 106.1 95.598 95.598C106.1 85.0959 112 70.8521 112 56Z"
[205] Fix | Delete
fill="white" />
[206] Fix | Delete
</svg>
[207] Fix | Delete
[208] Fix | Delete
</span></div>
[209] Fix | Delete
</a>
[210] Fix | Delete
[211] Fix | Delete
<ul class="menu hidden">
[212] Fix | Delete
<li class="cmdSmartPan"><a href="/#"><span class="icon">
[213] Fix | Delete
<svg width="25.714" height="20" viewBox="0 0 25.714 20" fill="none"
[214] Fix | Delete
xmlns="http://www.w3.org/2000/svg">
[215] Fix | Delete
<path
[216] Fix | Delete
d="M12.857 2.143c-2.911 0-5.304 1.321-7.138 3.022C4 6.763 2.812 8.661 2.205 10c.607 1.339 1.795 3.236 3.509 4.835 1.839 1.701 4.232 3.022 7.143 3.022s5.304-1.321 7.138-3.022c1.719-1.599 2.907-3.496 3.514-4.835-.607-1.339-1.795-3.237-3.509-4.835-1.839-1.701-4.232-3.022-7.143-3.022M4.259 3.598C6.362 1.643 9.25 0 12.857 0s6.495 1.643 8.598 3.598c2.089 1.942 3.487 4.259 4.152 5.853.147.353.147.746 0 1.098-.665 1.594-2.062 3.915-4.152 5.853C19.352 18.357 16.464 20 12.857 20s-6.495-1.643-8.598-3.598C2.17 14.464.772 12.143.112 10.549a1.42 1.42 0 0 1 0-1.098c.66-1.594 2.058-3.915 4.147-5.853m8.598 9.973c1.973 0 3.571-1.598 3.571-3.571s-1.598-3.571-3.571-3.571h-.089a2.86 2.86 0 0 1-3.482 3.482V10a3.57 3.57 0 0 0 3.571 3.571m0-9.286a5.7 5.7 0 0 1 4.041 1.674 5.714 5.714 0 0 1 0 8.081 5.714 5.714 0 0 1-8.081 0 5.714 5.714 0 0 1 0-8.081 5.7 5.7 0 0 1 4.04-1.673"
[217] Fix | Delete
fill="#fff" />
[218] Fix | Delete
</svg>
[219] Fix | Delete
</span>
[220] Fix | Delete
<$tr>Smart pan</$tr>
[221] Fix | Delete
</a></li>
[222] Fix | Delete
<li class="cmdSinglePage"><a href="/#"><span class="icon">
[223] Fix | Delete
<svg width="15" height="20" viewBox="0 0 15 20" fill="none" xmlns="http://www.w3.org/2000/svg">
[224] Fix | Delete
<g clip-path="url(#a)">
[225] Fix | Delete
<path
[226] Fix | Delete
d="M2.5 18.125a.627.627 0 0 1-.625-.625v-15c0-.344.281-.625.625-.625h6.25V5c0 .692.558 1.25 1.25 1.25h3.125V17.5a.627.627 0 0 1-.625.625zM2.5 0A2.5 2.5 0 0 0 0 2.5v15C0 18.879 1.121 20 2.5 20h10c1.379 0 2.5-1.121 2.5-2.5V6.035a2.5 2.5 0 0 0-.731-1.77L10.73.73A2.5 2.5 0 0 0 8.965 0zm2.188 10c-.519 0-.938.418-.938.938s.418.938.938.938h5.625c.519 0 .938-.418.938-.938S10.832 10 10.313 10zm0 3.75c-.519 0-.938.418-.938.938s.418.938.938.938h5.625c.519 0 .938-.418.938-.938s-.418-.938-.938-.938z"
[227] Fix | Delete
fill="#fff" />
[228] Fix | Delete
</g>
[229] Fix | Delete
<defs>
[230] Fix | Delete
<clipPath id="a">
[231] Fix | Delete
<path fill="#fff" d="M0 0h15v20H0z" />
[232] Fix | Delete
</clipPath>
[233] Fix | Delete
</defs>
[234] Fix | Delete
</svg></span>
[235] Fix | Delete
<$tr>Single page</$tr>
[236] Fix | Delete
</a></li>
[237] Fix | Delete
<li class="cmdSounds"><a href="/#"><span class="icon sound-icon">
[238] Fix | Delete
<svg width="25" height="20" viewBox="0 0 25 20" fill="none" xmlns="http://www.w3.org/2000/svg">
[239] Fix | Delete
<path
[240] Fix | Delete
d="M20.844 1.27C23.379 3.328 25 6.477 25 10s-1.621 6.668-4.156 8.73c-.402.328-.992.266-1.32-.137s-.266-.992.137-1.32c2.117-1.719 3.465-4.336 3.465-7.273s-1.348-5.555-3.465-7.277c-.402-.328-.461-.918-.137-1.32s.918-.461 1.32-.137zM18.48 4.18c1.688 1.375 2.77 3.473 2.77 5.82s-1.082 4.445-2.77 5.82c-.402.328-.992.266-1.32-.137s-.266-.992.137-1.32c1.269-1.031 2.078-2.601 2.078-4.363s-.809-3.332-2.078-4.367c-.402-.328-.461-.918-.137-1.32s.918-.461 1.32-.137zm-2.363 2.91a3.755 3.755 0 0 1 0 5.82c-.402.328-.992.266-1.32-.137s-.266-.992.137-1.32c.421-.344.691-.867.691-1.453s-.27-1.109-.691-1.457c-.402-.328-.461-.918-.137-1.32s.918-.461 1.32-.137zm-4.355-5.731c.449.204.738.649.738 1.141v15c0 .492-.289.938-.738 1.141s-.977.121-1.344-.207l-5.27-4.684H2.5a2.5 2.5 0 0 1-2.5-2.5v-2.5c0-1.379 1.121-2.5 2.5-2.5h2.648l5.27-4.684a1.26 1.26 0 0 1 1.344-.207"
[241] Fix | Delete
fill="#fff" />
[242] Fix | Delete
</svg>
[243] Fix | Delete
</span>
[244] Fix | Delete
<$tr>Sounds</$tr>
[245] Fix | Delete
</a></li>
[246] Fix | Delete
<li class="cmdStats"><a href="/#"><span class="icon">
[247] Fix | Delete
<svg width="22.857" height="20" viewBox="0 0 22.857 20" fill="none"
[248] Fix | Delete
xmlns="http://www.w3.org/2000/svg">
[249] Fix | Delete
<path
[250] Fix | Delete
d="M2.857 1.429C2.857 0.638 2.219 0 1.429 0S0 0.638 0 1.429v15c0 1.973 1.598 3.571 3.571 3.571h17.857c0.79 0 1.429 -0.638 1.429 -1.429s-0.638 -1.429 -1.429 -1.429H3.571c-0.393 0 -0.714 -0.321 -0.714 -0.714zm18.152 3.866c0.558 -0.558 0.558 -1.464 0 -2.022s-1.464 -0.558 -2.022 0L14.286 7.978l-2.562 -2.562c-0.558 -0.558 -1.464 -0.558 -2.022 0l-5 5c-0.558 0.558 -0.558 1.464 0 2.022s1.464 0.558 2.022 0l3.991 -3.987 2.562 2.562c0.558 0.558 1.464 0.558 2.022 0l5.714 -5.714z"
[251] Fix | Delete
fill="#fff" />
[252] Fix | Delete
</svg>
[253] Fix | Delete
</span>
[254] Fix | Delete
<$tr>Stats</$tr>
[255] Fix | Delete
</a></li>
[256] Fix | Delete
<!-- <li class="divider"></li> -->
[257] Fix | Delete
<!-- <li class="cmdLightingUp"><a href="/#"><span class="icon arrow-icon">
[258] Fix | Delete
<svg width="35.019" height="20" viewBox="0 0 35.019 20" fill="none"
[259] Fix | Delete
xmlns="http://www.w3.org/2000/svg">
[260] Fix | Delete
<path
[261] Fix | Delete
d="M15.751.732a2.493 2.493 0 0 1 3.525 0l14.941 14.941a2.493 2.493 0 0 1-3.525 3.525L17.509 6.015 4.327 19.19a2.493 2.493 0 0 1-3.525-3.525L15.743.724z"
[262] Fix | Delete
fill="#fff" />
[263] Fix | Delete
</svg>
[264] Fix | Delete
</span>
[265] Fix | Delete
<$tr>Increase lighting</$tr>
[266] Fix | Delete
</a></li>
[267] Fix | Delete
<li class="cmdLightingDown"><a href="/#"><span class="icon arrow-icon">
[268] Fix | Delete
<svg width="35.019" height="20" viewBox="0 0 35.019 20" fill="none"
[269] Fix | Delete
xmlns="http://www.w3.org/2000/svg">
[270] Fix | Delete
<path
[271] Fix | Delete
d="M15.751 19.268c0.973 0.973 2.552 0.973 3.525 0l14.941 -14.941c0.973 -0.973 0.973 -2.552 0 -3.525s-2.552 -0.973 -3.525 0L17.509 13.984 4.327 0.809c-0.973 -0.973 -2.552 -0.973 -3.525 0s-0.973 2.552 0 3.525l14.941 14.941z"
[272] Fix | Delete
fill="#fff" />
[273] Fix | Delete
</svg>
[274] Fix | Delete
</span>
[275] Fix | Delete
<$tr>Reduce lighting</$tr>
[276] Fix | Delete
</a></li> -->
[277] Fix | Delete
</ul>
[278] Fix | Delete
</li>
[279] Fix | Delete
</ul>
[280] Fix | Delete
</nav>
[281] Fix | Delete
</div>
[282] Fix | Delete
[283] Fix | Delete
</div>
[284] Fix | Delete
</div>
[285] Fix | Delete
[286] Fix | Delete
[287] Fix | Delete
<script>
[288] Fix | Delete
[289] Fix | Delete
const adjustHexColor = (hexColor, percentage) => {
[290] Fix | Delete
// Convert hex color to RGB values
[291] Fix | Delete
const r = parseInt(hexColor.slice(1, 3), 16);
[292] Fix | Delete
const g = parseInt(hexColor.slice(3, 5), 16);
[293] Fix | Delete
const b = parseInt(hexColor.slice(5, 7), 16);
[294] Fix | Delete
[295] Fix | Delete
// Calculate adjusted RGB values
[296] Fix | Delete
const adjustment = Math.round((percentage / 100) * 255);
[297] Fix | Delete
const newR = Math.max(Math.min(r + adjustment, 255), 0);
[298] Fix | Delete
const newG = Math.max(Math.min(g + adjustment, 255), 0);
[299] Fix | Delete
const newB = Math.max(Math.min(b + adjustment, 255), 0);
[300] Fix | Delete
[301] Fix | Delete
// Convert adjusted RGB values back to hex color
[302] Fix | Delete
const newHexColor = '#' + ((1 << 24) + (newR << 16) + (newG << 8) + newB).toString(16).slice(1);
[303] Fix | Delete
[304] Fix | Delete
return newHexColor;
[305] Fix | Delete
}
[306] Fix | Delete
[307] Fix | Delete
[308] Fix | Delete
const getColorBrightness = (hexColor) => {
[309] Fix | Delete
const r = parseInt(hexColor.slice(1, 3), 16);
[310] Fix | Delete
const g = parseInt(hexColor.slice(3, 5), 16);
[311] Fix | Delete
const b = parseInt(hexColor.slice(5, 7), 16);
[312] Fix | Delete
[313] Fix | Delete
// Convert the RGB color to HSL
[314] Fix | Delete
const max = Math.max(r, g, b);
[315] Fix | Delete
const min = Math.min(r, g, b);
[316] Fix | Delete
const l = (max + min) / 2;
[317] Fix | Delete
[318] Fix | Delete
// Calculate the brightness position in percentage
[319] Fix | Delete
const brightnessPercentage = Math.round(l / 255 * 100);
[320] Fix | Delete
[321] Fix | Delete
return brightnessPercentage;
[322] Fix | Delete
}
[323] Fix | Delete
[324] Fix | Delete
try {
[325] Fix | Delete
// Access the parent iframe from the nested iframe
[326] Fix | Delete
var parentIframe = window.parent.frameElement;
[327] Fix | Delete
[328] Fix | Delete
// Check if the parentIframe exists
[329] Fix | Delete
if (parentIframe) {
[330] Fix | Delete
// Get the src attribute of the parent iframe
[331] Fix | Delete
var parentSrc = parentIframe.getAttribute("src");
[332] Fix | Delete
[333] Fix | Delete
// Extract the data attribute from the src (assuming it's in the query string)
[334] Fix | Delete
var dataUrlParams = new URLSearchParams(new URL(parentSrc).search);
[335] Fix | Delete
var dataKey = dataUrlParams.get('key');
[336] Fix | Delete
var dataFile = dataUrlParams.get('file');
[337] Fix | Delete
[338] Fix | Delete
var dataParams = atob(dataKey);
[339] Fix | Delete
[340] Fix | Delete
} else {
[341] Fix | Delete
console.error('Parent iframe not found');
[342] Fix | Delete
}
[343] Fix | Delete
} catch (error) {
[344] Fix | Delete
console.error('An error occurred:', error);
[345] Fix | Delete
}
[346] Fix | Delete
[347] Fix | Delete
// Step 2: Create URLSearchParams object
[348] Fix | Delete
const urlParams = new URLSearchParams(dataParams);
[349] Fix | Delete
[350] Fix | Delete
// Step 3: Convert URLSearchParams to Object
[351] Fix | Delete
const params = {};
[352] Fix | Delete
for (const [key, value] of urlParams.entries()) {
[353] Fix | Delete
params[key] = (value === 'yes' || value === 'true') ? true : (value === 'no' || value === 'false' ? false : value);
[354] Fix | Delete
}
[355] Fix | Delete
[356] Fix | Delete
[357] Fix | Delete
// Ensure the DOM is fully loaded before manipulating it
[358] Fix | Delete
if (!(params?.toolbar)) {
[359] Fix | Delete
document.querySelector(".flip-book .controls")?.remove();
[360] Fix | Delete
}
[361] Fix | Delete
if (!(params?.download)) {
[362] Fix | Delete
document.querySelector("li.fnav-item.cmdDownload")?.remove();
[363] Fix | Delete
document.querySelector("li.fnav-item.cmdPrint")?.remove();
[364] Fix | Delete
}
[365] Fix | Delete
if (!(params?.presentation)) {
[366] Fix | Delete
document.querySelector("li.fnav-item.cmdFullScreen")?.remove();
[367] Fix | Delete
}
[368] Fix | Delete
if (!(params?.zoom_in)) {
[369] Fix | Delete
document.querySelector("li.fnav-item.cmdZoomIn")?.remove();
[370] Fix | Delete
}
[371] Fix | Delete
if (!(params?.zoom_out)) {
[372] Fix | Delete
document.querySelector("li.fnav-item.cmdZoomOut")?.remove();
[373] Fix | Delete
}
[374] Fix | Delete
if (!(params?.fit_view)) {
[375] Fix | Delete
document.querySelector("li.fnav-item.cmdDefaultZoom")?.remove();
[376] Fix | Delete
}
[377] Fix | Delete
if (!(params?.bookmark)) {
[378] Fix | Delete
document.querySelector("li.fnav-item.cmdToc")?.remove();
[379] Fix | Delete
}
[380] Fix | Delete
[381] Fix | Delete
const element = document.querySelector(".flip-book .controls");
[382] Fix | Delete
if (params?.flipbook_toolbar_position === 'top') {
[383] Fix | Delete
if (element) {
[384] Fix | Delete
element.classList.add('toolbar-position-top');
[385] Fix | Delete
}
[386] Fix | Delete
}
[387] Fix | Delete
else {
[388] Fix | Delete
if (element) {
[389] Fix | Delete
element.classList.add('toolbar-position-bottom');
[390] Fix | Delete
}
[391] Fix | Delete
}
[392] Fix | Delete
[393] Fix | Delete
[394] Fix | Delete
//Create theme mode function
[395] Fix | Delete
const setThemeMode = (themeMode) => {
[396] Fix | Delete
const htmlEL = document.getElementsByTagName("html")[0];
[397] Fix | Delete
if (htmlEL) {
[398] Fix | Delete
htmlEL.setAttribute('ep-data-theme', themeMode);
[399] Fix | Delete
}
[400] Fix | Delete
}
[401] Fix | Delete
[402] Fix | Delete
[403] Fix | Delete
setThemeMode(params.themeMode);
[404] Fix | Delete
[405] Fix | Delete
[406] Fix | Delete
const pdfIframeStyle = () => {
[407] Fix | Delete
const otherhead = document.getElementsByTagName("head")[0];
[408] Fix | Delete
[409] Fix | Delete
const style = document.createElement("style");
[410] Fix | Delete
style.setAttribute('id', 'EBiframeStyleID');
[411] Fix | Delete
[412] Fix | Delete
let pdfCustomColor = '';
[413] Fix | Delete
[414] Fix | Delete
if (params.themeMode == 'custom') {
[415] Fix | Delete
[416] Fix | Delete
if (!params.customColor) {
[417] Fix | Delete
params.customColor = '#38383d';
[418] Fix | Delete
}
[419] Fix | Delete
[420] Fix | Delete
let colorBrightness = getColorBrightness(params.customColor);
[421] Fix | Delete
[422] Fix | Delete
let iconsTextsColor = 'white';
[423] Fix | Delete
if (colorBrightness > 60) {
[424] Fix | Delete
iconsTextsColor = 'black';
[425] Fix | Delete
}
[426] Fix | Delete
[427] Fix | Delete
pdfCustomColor = `[ep-data-theme=custom] {
[428] Fix | Delete
--body-bg-color: ${params.customColor};
[429] Fix | Delete
--toolbar-bg-color: ${adjustHexColor(params.customColor, 15)};
[430] Fix | Delete
--toolbar-icon-color: ${iconsTextsColor};
[431] Fix | Delete
--toolbar-active-icon-bg-color: ${adjustHexColor(params.customColor, 25)};
[432] Fix | Delete
--toolbar-item-hover-bg-color: ${adjustHexColor(params.customColor, 25)};
[433] Fix | Delete
--toolbar-current-page-number-bg-color: ${adjustHexColor(params.customColor, 10)};
[434] Fix | Delete
--toolbar-page-number-bg-color: ${adjustHexColor(params.customColor, 20)};
[435] Fix | Delete
}
[436] Fix | Delete
`;
[437] Fix | Delete
[438] Fix | Delete
style.textContent = `
[439] Fix | Delete
${pdfCustomColor}
[440] Fix | Delete
`;
[441] Fix | Delete
[442] Fix | Delete
[443] Fix | Delete
if (otherhead) {
[444] Fix | Delete
if (document.getElementById("EBiframeStyleID")) {
[445] Fix | Delete
document.getElementById("EBiframeStyleID").remove();
[446] Fix | Delete
}
[447] Fix | Delete
otherhead.appendChild(style);
[448] Fix | Delete
}
[449] Fix | Delete
}
[450] Fix | Delete
}
[451] Fix | Delete
[452] Fix | Delete
pdfIframeStyle();
[453] Fix | Delete
[454] Fix | Delete
console.log(params);
[455] Fix | Delete
[456] Fix | Delete
[457] Fix | Delete
const DownloadPDF = (pdfUrl) => {
[458] Fix | Delete
const fileName = pdfUrl.split('/').pop();
[459] Fix | Delete
[460] Fix | Delete
fetch(pdfUrl)
[461] Fix | Delete
.then(response => response.blob())
[462] Fix | Delete
.then(blob => {
[463] Fix | Delete
const url = URL.createObjectURL(blob);
[464] Fix | Delete
const link = document.createElement('a');
[465] Fix | Delete
link.href = url;
[466] Fix | Delete
link.download = fileName;
[467] Fix | Delete
document.body.appendChild(link);
[468] Fix | Delete
link.click();
[469] Fix | Delete
document.body.removeChild(link);
[470] Fix | Delete
URL.revokeObjectURL(url);
[471] Fix | Delete
})
[472] Fix | Delete
.catch(error => console.error('Error downloading the PDF:', error));
[473] Fix | Delete
}
[474] Fix | Delete
[475] Fix | Delete
document.getElementById('download-pdf').addEventListener('click', function (e) {
[476] Fix | Delete
e.preventDefault();
[477] Fix | Delete
DownloadPDF(dataFile);
[478] Fix | Delete
});
[479] Fix | Delete
[480] Fix | Delete
</script>
[481] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function