mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-12 10:00:07 -04:00
Rebuild /docs
This commit is contained in:
parent
15a3e5f54e
commit
b1957b0f17
64 changed files with 114 additions and 106 deletions
File diff suppressed because one or more lines are too long
BIN
docs/_app/assets/pages/__layout.svelte-07dcf560.css.br
Normal file
BIN
docs/_app/assets/pages/__layout.svelte-07dcf560.css.br
Normal file
Binary file not shown.
BIN
docs/_app/assets/pages/__layout.svelte-07dcf560.css.gz
Normal file
BIN
docs/_app/assets/pages/__layout.svelte-07dcf560.css.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
docs/_app/assets/pages/index.svelte-7b0d7303.css
Normal file
1
docs/_app/assets/pages/index.svelte-7b0d7303.css
Normal file
File diff suppressed because one or more lines are too long
BIN
docs/_app/assets/pages/index.svelte-7b0d7303.css.br
Normal file
BIN
docs/_app/assets/pages/index.svelte-7b0d7303.css.br
Normal file
Binary file not shown.
BIN
docs/_app/assets/pages/index.svelte-7b0d7303.css.gz
Normal file
BIN
docs/_app/assets/pages/index.svelte-7b0d7303.css.gz
Normal file
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
.tooltip.svelte-1x4n8x:after{content:"";position:absolute;left:100%;top:50%;border-width:7px;border-style:solid;transform:translate3d(0,-7px,0);border-color:transparent transparent transparent black}.value .val,.value .key{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}.dark .value{--leafDefaultColor:white;--leafStringColor:white;--leafNumberColor:white;--leafBooleanColor:white;--nodeColor:white}.value{--nodeBorderLeft:1px dotted #9ca3b0;--leafDefaultColor:#525a69;--leafStringColor:#525a69;--leafNumberColor:#525a69;--leafBooleanColor:#525a69;--nodeColor:#525a69}.value .key,.value .comma{color:#9ca3b0}.active.svelte-1wpa6us{background-color:#f3f4f6;color:#111828}
|
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
1
docs/_app/chunks/index-9924f987.js
Normal file
1
docs/_app/chunks/index-9924f987.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{E as f,s as l}from"./index-d84399ad.js";const e=[];function h(n,u=f){let o;const i=new Set;function r(t){if(l(n,t)&&(n=t,o)){const c=!e.length;for(const s of i)s[1](),e.push(s,n);if(c){for(let s=0;s<e.length;s+=2)e[s][0](e[s+1]);e.length=0}}}function b(t){r(t(n))}function p(t,c=f){const s=[t,c];return i.add(s),i.size===1&&(o=u(r)||f),t(n),()=>{i.delete(s),i.size===0&&(o(),o=null)}}return{set:r,update:b,subscribe:p}}export{h as w};
|
3
docs/_app/chunks/index-9924f987.js.br
Normal file
3
docs/_app/chunks/index-9924f987.js.br
Normal file
|
@ -0,0 +1,3 @@
|
|||
¹`ŒÒ²™æ=
|
||||
Ÿé*Û¼ wù5±ŒU)‚XB±/x×ïÖ¶Ni4¾YB!_ó<>câšú÷ œTCN‹Š§ÛüŠ 7l
I=Cƒnpü·Œ
|
||||
ƒÞ“€;jŠÿ_óóyîg]÷Ñâuî[“ºñþ˜qêg#cw”sk±ÓéüN_ cYؼF–‚ÓP/2z-õ·1îx½¹–,Ü<>
,¦€ž>,G”Ú½FÛþ1܇Ó8½Ãèt`<60><>“gÛ.Œf¦^`¸öq’bàö5Ú¨<C39A>&øœ'Kõs¨KEïëš•‚Ë>¼|žE¥[iF¬‰¥ºÍ%¤1ˆ^m*3‰ÛŽßW
dAÿj£Ý™4´˜¥{9[
|
BIN
docs/_app/chunks/index-9924f987.js.gz
Normal file
BIN
docs/_app/chunks/index-9924f987.js.gz
Normal file
Binary file not shown.
4
docs/_app/chunks/index-d84399ad.js
Normal file
4
docs/_app/chunks/index-d84399ad.js
Normal file
File diff suppressed because one or more lines are too long
BIN
docs/_app/chunks/index-d84399ad.js.br
Normal file
BIN
docs/_app/chunks/index-d84399ad.js.br
Normal file
Binary file not shown.
BIN
docs/_app/chunks/index-d84399ad.js.gz
Normal file
BIN
docs/_app/chunks/index-d84399ad.js.gz
Normal file
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
import{D as c,X as b,_ as l,Y as m}from"./vendor-e06f8fa1.js";const $=c(""),w=c(!1),f=c([]),j=c({}),p=c([]);function C(t){const o=t.toLowerCase().match(/(".*?"|[^"\s]+)+(?=\s*|\s*$)/g)||[],n=[];for(let a of o){let h="_key";a.includes(":")&&([h,a]=a.split(":")),a=a.replace(/\"/g,""),h&&a&&n.push({field:h,value:a})}if(!n.length){w.set(!1),p.set(b(f));return}const i=b(f).filter(a=>{for(let h of n){if(!h.value)return!1;const u=new RegExp(h.value,"i");if(!a._searchable[h.field]||!u.test(a._searchable[h.field]))return!1}return!0});p.set(i),w.set(!0),console.log(".")}async function L(){let t=await fetch("https://iptv-org.github.io/api/countries.json").then(e=>e.json()).then(e=>e.length?e:[]).then(e=>e.map(s=>(s.expanded=!1,s))).then(e=>l.keyBy(e,"code")).catch(console.error);j.set(t);let o=await fetch("https://iptv-org.github.io/api/regions.json").then(e=>e.json()).then(e=>e.length?e:[]).then(e=>l.keyBy(e,"code")).catch(console.error),n=await fetch("https://iptv-org.github.io/api/subdivisions.json").then(e=>e.json()).then(e=>e.length?e:[]).then(e=>l.keyBy(e,"code")).catch(console.error),i=await fetch("https://iptv-org.github.io/api/languages.json").then(e=>e.json()).then(e=>e.length?e:[]).then(e=>l.keyBy(e,"code")).catch(console.error),a=await fetch("https://iptv-org.github.io/api/categories.json").then(e=>e.json()).then(e=>e.length?e:[]).then(e=>l.keyBy(e,"id")).catch(console.error),h=await fetch("https://iptv-org.github.io/api/streams.json").then(e=>e.json()).then(e=>e.length?e:[]).then(e=>l.groupBy(e,"channel")).catch(console.error),u=await fetch("https://iptv-org.github.io/api/guides.json").then(e=>e.json()).then(e=>e.length?e:[]).then(e=>l.groupBy(e,"channel")).catch(console.error),d=await fetch("https://iptv-org.github.io/api/channels.json").then(e=>e.json()).then(e=>e.map(s=>{s._raw=JSON.parse(JSON.stringify(s)),s._streams=h[s.id]||[],s._guides=u[s.id]||[];for(let y in s)switch(y){case"languages":s.languages=s.languages.map(r=>i[r]).filter(r=>r);break;case"broadcast_area":s.broadcast_area=s.broadcast_area.map(r=>{const[_,g]=r.split("/");switch(_){case"c":return t[g];case"r":return o[g];case"s":return n[g]}}).filter(r=>r);break;case"categories":s.categories=s.categories.map(r=>a[r]).filter(r=>r);break;case"country":s.country=t[s.country];break;case"subdivision":s.subdivision=n[s.subdivision];break}return s._searchable=k(s),s})).catch(e=>(console.error(e),[]));f.set(d),p.set(d)}function v(t){const o=t.native_name?m(t.native_name):null;return[t.id,t.name,t.native_name,o].map(n=>n||"").filter(n=>n).join("|").toLowerCase()}function k(t){const o={};for(let n in t)n.startsWith("_")||t[n]===null||t[n]===void 0||(Array.isArray(t[n])?o[n]=t[n].map(i=>i.name?i.name.toLowerCase():null).filter(i=>i).join(","):typeof t[n]=="object"&&t[n].name?o[n]=t[n].name.toLowerCase():o[n]=t[n].toString().toLowerCase());return o._key=v(t),o}function x(t,o){if(window.history.pushState){let n=t&&o?`?${t}=${o}`:"";n=n.replace(/\+/g,"%2B");const i=`${window.location.protocol}//${window.location.host}${window.location.pathname}${n}`,a={};a[t]=o,window.history.pushState(a,"",i),B(o)}}function B(t){const o=t?`${t} \xB7 iptv-org`:"iptv-org";document.title=o}export{C as a,B as b,f as c,L as d,j as e,p as f,w as h,$ as q,x as s};
|
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
docs/_app/chunks/store-c8953aa8.js.br
Normal file
BIN
docs/_app/chunks/store-c8953aa8.js.br
Normal file
Binary file not shown.
BIN
docs/_app/chunks/store-c8953aa8.js.gz
Normal file
BIN
docs/_app/chunks/store-c8953aa8.js.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
docs/_app/error.svelte-67a4a6f4.js
Normal file
1
docs/_app/error.svelte-67a4a6f4.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{S as y,i as z,s as A,e as E,t as v,c as d,a as b,h as P,d as o,g as u,H as R,j as H,k as N,l as q,m as S,E as C}from"./chunks/index-d84399ad.js";function h(r){let l,t=r[1].frame+"",a;return{c(){l=E("pre"),a=v(t)},l(f){l=d(f,"PRE",{});var s=b(l);a=P(s,t),s.forEach(o)},m(f,s){u(f,l,s),R(l,a)},p(f,s){s&2&&t!==(t=f[1].frame+"")&&H(a,t)},d(f){f&&o(l)}}}function w(r){let l,t=r[1].stack+"",a;return{c(){l=E("pre"),a=v(t)},l(f){l=d(f,"PRE",{});var s=b(l);a=P(s,t),s.forEach(o)},m(f,s){u(f,l,s),R(l,a)},p(f,s){s&2&&t!==(t=f[1].stack+"")&&H(a,t)},d(f){f&&o(l)}}}function B(r){let l,t,a,f,s=r[1].message+"",c,k,n,p,i=r[1].frame&&h(r),_=r[1].stack&&w(r);return{c(){l=E("h1"),t=v(r[0]),a=N(),f=E("pre"),c=v(s),k=N(),i&&i.c(),n=N(),_&&_.c(),p=q()},l(e){l=d(e,"H1",{});var m=b(l);t=P(m,r[0]),m.forEach(o),a=S(e),f=d(e,"PRE",{});var j=b(f);c=P(j,s),j.forEach(o),k=S(e),i&&i.l(e),n=S(e),_&&_.l(e),p=q()},m(e,m){u(e,l,m),R(l,t),u(e,a,m),u(e,f,m),R(f,c),u(e,k,m),i&&i.m(e,m),u(e,n,m),_&&_.m(e,m),u(e,p,m)},p(e,[m]){m&1&&H(t,e[0]),m&2&&s!==(s=e[1].message+"")&&H(c,s),e[1].frame?i?i.p(e,m):(i=h(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),e[1].stack?_?_.p(e,m):(_=w(e),_.c(),_.m(p.parentNode,p)):_&&(_.d(1),_=null)},i:C,o:C,d(e){e&&o(l),e&&o(a),e&&o(f),e&&o(k),i&&i.d(e),e&&o(n),_&&_.d(e),e&&o(p)}}}function G({error:r,status:l}){return{props:{error:r,status:l}}}function D(r,l,t){let{status:a}=l,{error:f}=l;return r.$$set=s=>{"status"in s&&t(0,a=s.status),"error"in s&&t(1,f=s.error)},[a,f]}class I extends y{constructor(l){super(),z(this,l,D,B,A,{status:0,error:1})}}export{I as default,G as load};
|
BIN
docs/_app/error.svelte-67a4a6f4.js.br
Normal file
BIN
docs/_app/error.svelte-67a4a6f4.js.br
Normal file
Binary file not shown.
BIN
docs/_app/error.svelte-67a4a6f4.js.gz
Normal file
BIN
docs/_app/error.svelte-67a4a6f4.js.gz
Normal file
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
import{S as w,i as y,s as z,e as E,t as v,c as d,a as b,h as P,d as o,g as u,H as R,j as H,k as N,l as q,m as S,L as C}from"./chunks/vendor-e06f8fa1.js";function L(r){let l,t=r[1].frame+"",a;return{c(){l=E("pre"),a=v(t)},l(f){l=d(f,"PRE",{});var s=b(l);a=P(s,t),s.forEach(o)},m(f,s){u(f,l,s),R(l,a)},p(f,s){s&2&&t!==(t=f[1].frame+"")&&H(a,t)},d(f){f&&o(l)}}}function h(r){let l,t=r[1].stack+"",a;return{c(){l=E("pre"),a=v(t)},l(f){l=d(f,"PRE",{});var s=b(l);a=P(s,t),s.forEach(o)},m(f,s){u(f,l,s),R(l,a)},p(f,s){s&2&&t!==(t=f[1].stack+"")&&H(a,t)},d(f){f&&o(l)}}}function A(r){let l,t,a,f,s=r[1].message+"",c,k,n,p,i=r[1].frame&&L(r),_=r[1].stack&&h(r);return{c(){l=E("h1"),t=v(r[0]),a=N(),f=E("pre"),c=v(s),k=N(),i&&i.c(),n=N(),_&&_.c(),p=q()},l(e){l=d(e,"H1",{});var m=b(l);t=P(m,r[0]),m.forEach(o),a=S(e),f=d(e,"PRE",{});var j=b(f);c=P(j,s),j.forEach(o),k=S(e),i&&i.l(e),n=S(e),_&&_.l(e),p=q()},m(e,m){u(e,l,m),R(l,t),u(e,a,m),u(e,f,m),R(f,c),u(e,k,m),i&&i.m(e,m),u(e,n,m),_&&_.m(e,m),u(e,p,m)},p(e,[m]){m&1&&H(t,e[0]),m&2&&s!==(s=e[1].message+"")&&H(c,s),e[1].frame?i?i.p(e,m):(i=L(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),e[1].stack?_?_.p(e,m):(_=h(e),_.c(),_.m(p.parentNode,p)):_&&(_.d(1),_=null)},i:C,o:C,d(e){e&&o(l),e&&o(a),e&&o(f),e&&o(k),i&&i.d(e),e&&o(n),_&&_.d(e),e&&o(p)}}}function F({error:r,status:l}){return{props:{error:r,status:l}}}function B(r,l,t){let{status:a}=l,{error:f}=l;return r.$$set=s=>{"status"in s&&t(0,a=s.status),"error"in s&&t(1,f=s.error)},[a,f]}class G extends w{constructor(l){super();y(this,l,B,A,z,{status:0,error:1})}}export{G as default,F as load};
|
Binary file not shown.
Binary file not shown.
|
@ -1,10 +1,11 @@
|
|||
{
|
||||
".svelte-kit/runtime/client/start.js": {
|
||||
"file": "start-0281ef27.js",
|
||||
"file": "start-7ed185ec.js",
|
||||
"src": ".svelte-kit/runtime/client/start.js",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_vendor-e06f8fa1.js"
|
||||
"_index-d84399ad.js",
|
||||
"_index-9924f987.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"src/routes/__layout.svelte",
|
||||
|
@ -13,50 +14,56 @@
|
|||
]
|
||||
},
|
||||
"src/routes/__layout.svelte": {
|
||||
"file": "pages/__layout.svelte-8a4b19fb.js",
|
||||
"file": "pages/__layout.svelte-530a141d.js",
|
||||
"src": "src/routes/__layout.svelte",
|
||||
"isEntry": true,
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_vendor-e06f8fa1.js",
|
||||
"_store-93a026ed.js"
|
||||
"_index-d84399ad.js",
|
||||
"_store-c8953aa8.js",
|
||||
"_index-9924f987.js"
|
||||
],
|
||||
"css": [
|
||||
"assets/pages/__layout.svelte-0f0f9924.css"
|
||||
"assets/pages/__layout.svelte-07dcf560.css"
|
||||
]
|
||||
},
|
||||
".svelte-kit/runtime/components/error.svelte": {
|
||||
"file": "error.svelte-eafc136f.js",
|
||||
"file": "error.svelte-67a4a6f4.js",
|
||||
"src": ".svelte-kit/runtime/components/error.svelte",
|
||||
"isEntry": true,
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_vendor-e06f8fa1.js"
|
||||
"_index-d84399ad.js"
|
||||
]
|
||||
},
|
||||
"src/routes/index.svelte": {
|
||||
"file": "pages/index.svelte-925f19ed.js",
|
||||
"file": "pages/index.svelte-6f1b9321.js",
|
||||
"src": "src/routes/index.svelte",
|
||||
"isEntry": true,
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_vendor-e06f8fa1.js",
|
||||
"_store-93a026ed.js"
|
||||
"_index-d84399ad.js",
|
||||
"_store-c8953aa8.js",
|
||||
"_index-9924f987.js"
|
||||
],
|
||||
"css": [
|
||||
"assets/pages/index.svelte-fade4f59.css"
|
||||
"assets/pages/index.svelte-7b0d7303.css"
|
||||
]
|
||||
},
|
||||
"_vendor-e06f8fa1.js": {
|
||||
"file": "chunks/vendor-e06f8fa1.js",
|
||||
"css": [
|
||||
"assets/vendor-c8b32335.css"
|
||||
]
|
||||
"_index-d84399ad.js": {
|
||||
"file": "chunks/index-d84399ad.js"
|
||||
},
|
||||
"_store-93a026ed.js": {
|
||||
"file": "chunks/store-93a026ed.js",
|
||||
"_index-9924f987.js": {
|
||||
"file": "chunks/index-9924f987.js",
|
||||
"imports": [
|
||||
"_vendor-e06f8fa1.js"
|
||||
"_index-d84399ad.js"
|
||||
]
|
||||
},
|
||||
"_store-c8953aa8.js": {
|
||||
"file": "chunks/store-c8953aa8.js",
|
||||
"imports": [
|
||||
"_index-9924f987.js",
|
||||
"_index-d84399ad.js"
|
||||
]
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
19
docs/_app/pages/__layout.svelte-530a141d.js
Normal file
19
docs/_app/pages/__layout.svelte-530a141d.js
Normal file
File diff suppressed because one or more lines are too long
BIN
docs/_app/pages/__layout.svelte-530a141d.js.br
Normal file
BIN
docs/_app/pages/__layout.svelte-530a141d.js.br
Normal file
Binary file not shown.
BIN
docs/_app/pages/__layout.svelte-530a141d.js.gz
Normal file
BIN
docs/_app/pages/__layout.svelte-530a141d.js.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
8
docs/_app/pages/index.svelte-6f1b9321.js
Normal file
8
docs/_app/pages/index.svelte-6f1b9321.js
Normal file
File diff suppressed because one or more lines are too long
BIN
docs/_app/pages/index.svelte-6f1b9321.js.br
Normal file
BIN
docs/_app/pages/index.svelte-6f1b9321.js.br
Normal file
Binary file not shown.
BIN
docs/_app/pages/index.svelte-6f1b9321.js.gz
Normal file
BIN
docs/_app/pages/index.svelte-6f1b9321.js.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
1
docs/_app/start-7ed185ec.js
Normal file
1
docs/_app/start-7ed185ec.js
Normal file
File diff suppressed because one or more lines are too long
BIN
docs/_app/start-7ed185ec.js.br
Normal file
BIN
docs/_app/start-7ed185ec.js.br
Normal file
Binary file not shown.
BIN
docs/_app/start-7ed185ec.js.gz
Normal file
BIN
docs/_app/start-7ed185ec.js.gz
Normal file
Binary file not shown.
|
@ -1 +1 @@
|
|||
{"version":"1652029742872"}
|
||||
{"version":"1652032873384"}
|
Binary file not shown.
Binary file not shown.
|
@ -16,14 +16,14 @@
|
|||
}
|
||||
}
|
||||
</script><meta name="description" content="Collection of resources dedicated to IPTV" data-svelte="svelte-1y0o10k">
|
||||
<link rel="stylesheet" href="/_app/assets/vendor-c8b32335.css">
|
||||
<link rel="stylesheet" href="/_app/assets/pages/__layout.svelte-0f0f9924.css">
|
||||
<link rel="stylesheet" href="/_app/assets/pages/index.svelte-fade4f59.css">
|
||||
<link rel="modulepreload" href="/_app/start-0281ef27.js">
|
||||
<link rel="modulepreload" href="/_app/chunks/vendor-e06f8fa1.js">
|
||||
<link rel="modulepreload" href="/_app/pages/__layout.svelte-8a4b19fb.js">
|
||||
<link rel="modulepreload" href="/_app/chunks/store-93a026ed.js">
|
||||
<link rel="modulepreload" href="/_app/pages/index.svelte-925f19ed.js">
|
||||
<link rel="stylesheet" href="/_app/assets/pages/__layout.svelte-07dcf560.css">
|
||||
<link rel="stylesheet" href="/_app/assets/pages/index.svelte-7b0d7303.css">
|
||||
<link rel="modulepreload" href="/_app/start-7ed185ec.js">
|
||||
<link rel="modulepreload" href="/_app/chunks/index-d84399ad.js">
|
||||
<link rel="modulepreload" href="/_app/chunks/index-9924f987.js">
|
||||
<link rel="modulepreload" href="/_app/pages/__layout.svelte-530a141d.js">
|
||||
<link rel="modulepreload" href="/_app/chunks/store-c8953aa8.js">
|
||||
<link rel="modulepreload" href="/_app/pages/index.svelte-6f1b9321.js">
|
||||
<script>
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register('/service-worker.js');
|
||||
|
@ -64,7 +64,7 @@
|
|||
|
||||
|
||||
<script type="module" data-hydrate="1wsdtjz">
|
||||
import { start } from "/_app/start-0281ef27.js";
|
||||
import { start } from "/_app/start-7ed185ec.js";
|
||||
start({
|
||||
target: document.querySelector('[data-hydrate="1wsdtjz"]').parentNode,
|
||||
paths: {"base":"","assets":""},
|
||||
|
@ -76,8 +76,8 @@
|
|||
status: 200,
|
||||
error: null,
|
||||
nodes: [
|
||||
import("/_app/pages/__layout.svelte-8a4b19fb.js"),
|
||||
import("/_app/pages/index.svelte-925f19ed.js")
|
||||
import("/_app/pages/__layout.svelte-530a141d.js"),
|
||||
import("/_app/pages/index.svelte-6f1b9321.js")
|
||||
],
|
||||
params: {},
|
||||
routeId: ""
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,13 +1,13 @@
|
|||
const build = [
|
||||
"/_app/start-0281ef27.js",
|
||||
"/_app/pages/__layout.svelte-8a4b19fb.js",
|
||||
"/_app/assets/pages/__layout.svelte-0f0f9924.css",
|
||||
"/_app/error.svelte-eafc136f.js",
|
||||
"/_app/pages/index.svelte-925f19ed.js",
|
||||
"/_app/assets/pages/index.svelte-fade4f59.css",
|
||||
"/_app/chunks/vendor-e06f8fa1.js",
|
||||
"/_app/assets/vendor-c8b32335.css",
|
||||
"/_app/chunks/store-93a026ed.js"
|
||||
"/_app/start-7ed185ec.js",
|
||||
"/_app/pages/__layout.svelte-530a141d.js",
|
||||
"/_app/assets/pages/__layout.svelte-07dcf560.css",
|
||||
"/_app/error.svelte-67a4a6f4.js",
|
||||
"/_app/pages/index.svelte-6f1b9321.js",
|
||||
"/_app/assets/pages/index.svelte-7b0d7303.css",
|
||||
"/_app/chunks/index-d84399ad.js",
|
||||
"/_app/chunks/index-9924f987.js",
|
||||
"/_app/chunks/store-c8953aa8.js"
|
||||
];
|
||||
const files = [
|
||||
"/.nojekyll",
|
||||
|
@ -15,7 +15,7 @@ const files = [
|
|||
"/logo_512.png",
|
||||
"/manifest.json"
|
||||
];
|
||||
const version = "1652029742872";
|
||||
const version = "1652032873384";
|
||||
const ASSETS = `cache_${version}`;
|
||||
const to_cache = build.concat(files);
|
||||
const staticAssets = new Set(to_cache);
|
||||
|
@ -51,16 +51,14 @@ self.addEventListener("fetch", (event) => {
|
|||
return;
|
||||
const url = new URL(event.request.url);
|
||||
const isHttp = url.protocol.startsWith("http");
|
||||
const isDevServerRequest = url.hostname === self.location.hostname && url.port !== self.location.port;
|
||||
const isSameOrigin = url.host === self.location.host;
|
||||
const isStaticAsset = isSameOrigin && staticAssets.has(url.pathname);
|
||||
const skipBecauseUncached = event.request.cache === "only-if-cached" && !isStaticAsset;
|
||||
if (!isHttp || !isSameOrigin || skipBecauseUncached)
|
||||
return;
|
||||
event.respondWith((async () => {
|
||||
let cachedAsset;
|
||||
if (isStaticAsset) {
|
||||
cachedAsset = await caches.match(event.request);
|
||||
}
|
||||
return cachedAsset || fetchAndCache(event.request);
|
||||
})());
|
||||
if (isHttp && isSameOrigin && !isDevServerRequest && !skipBecauseUncached) {
|
||||
event.respondWith((async () => {
|
||||
const cachedAsset = isStaticAsset && await caches.match(event.request);
|
||||
return cachedAsset || fetchAndCache(event.request);
|
||||
})());
|
||||
}
|
||||
});
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue