Source
+ ${coll.sourceUrl && (coll.sourceUrl.startsWith("http://") || coll.sourceUrl.startsWith("https://")) ? html` + ${coll.sourceUrl} ` : html` + ${coll.sourceUrl} `} + + + this.onCopy(e, coll.sourceUrl)}" class="copy">(${coll.filename})
` : ""} +Date Loaded
${coll.ctime ? new Date(coll.ctime).toLocaleString() : ""}Total Size
${prettyBytes(Number(coll.size || 0))}Description
${coll.desc}Source
- ${coll.sourceUrl && (coll.sourceUrl.startsWith("http://") || coll.sourceUrl.startsWith("https://")) ? html` - ${coll.sourceUrl} ` : html` - ${coll.sourceUrl} `} - +Filename
${coll.filename}(${coll.filename})
` : ""} + ${domain ? html` + - ${detailed ? html` -Filename
${coll.filename}Created With
+ ${software || "Unknown"} +Date Loaded
${coll.ctime ? new Date(coll.ctime).toLocaleString() : ""}Total Size
${prettyBytes(Number(coll.size || 0))}Validation
+ ${numValid > 0 || numInvalid > 0 ? html` +${numValid} hashes verified${numInvalid ? html`, ${numInvalid} invalid` : ""}
` : html` + Not Available`} +Package Hash
+ ${datapackageHash || "Not Available"} +Loading Mode
${coll.onDemand ? "Download On-Demand" : "Fully Local"} @@ -450,22 +494,12 @@ class CollInfo extends LitElementCollection id
${coll.coll}Skipped
`; } + renderVerifyInfo() { + if (this.embed !== "replay-with-info") { + return ""; + } + + return html`+ Even if the original page goes offline or is changed, the content below will remain unchanged as it is loaded from a web archive. +
+${dateStr}
+ ${domain ? html` +${domain}
+ ${certFingerprintUrl ? + html`` : ""} + ` : software ? html` +${software}
` : ""} +${numValid} hashes verified${numInvalid ? html`, ${numInvalid} invalid` : ""}
` : html` +Not Available
+ `} +${datapackageHash}
+${prettyBytes(Number(this.collInfo.size || 0))}
+This archive can then be viewed directly in your browser by loading it via replayweb.page
+ ` : ""} +
+
+
+
>>2),c[u++]=255&(r<<6|i<<1|n>>>4),c[u++]=255&(n<<4|s>>>1),c[u++]=255&(s<<7|o<<2|a>>>3),c[u++]=255&(a<<5|h);var w=d-p;return 2===w?(e=l[t.charAt(f++)],r=l[t.charAt(f++)],c[u++]=255&(e<<3|r>>>2)):4===w?(e=l[t.charAt(f++)],r=l[t.charAt(f++)],i=l[t.charAt(f++)],n=l[t.charAt(f++)],c[u++]=255&(e<<3|r>>>2),c[u++]=255&(r<<6|i<<1|n>>>4)):5===w?(e=l[t.charAt(f++)],r=l[t.charAt(f++)],i=l[t.charAt(f++)],n=l[t.charAt(f++)],s=l[t.charAt(f++)],c[u++]=255&(e<<3|r>>>2),c[u++]=255&(r<<6|i<<1|n>>>4),c[u++]=255&(n<<4|s>>>1)):7===w&&(e=l[t.charAt(f++)],r=l[t.charAt(f++)],i=l[t.charAt(f++)],n=l[t.charAt(f++)],s=l[t.charAt(f++)],o=l[t.charAt(f++)],a=l[t.charAt(f++)],c[u++]=255&(e<<3|r>>>2),c[u++]=255&(r<<6|i<<1|n>>>4),c[u++]=255&(n<<4|s>>>1),c[u++]=255&(s<<7|o<<2|a>>>3)),c},d=function(t,e){if(!e)return function(t){for(var e,r,i="",n=t.length,s=0,o=0;s >6,h[l++]=128|63&o):o<55296||o>=57344?(h[l++]=224|o>>12,h[l++]=128|o>>6&63,h[l++]=128|63&o):(o=65536+((1023&o)<<10|1023&t.charCodeAt(++d)),h[l++]=240|o>>18,h[l++]=128|o>>12&63,h[l++]=128|o>>6&63,h[l++]=128|63&o);f=l-5,d===p&&++d,d>p&&l<6&&(c=!0),e=h[0],l>4?(r=h[1],i=h[2],n=h[3],s=h[4],u+=a[e>>>3]+a[31&(e<<2|r>>>6)]+a[r>>>1&31]+a[31&(r<<4|i>>>4)]+a[31&(i<<1|n>>>7)]+a[n>>>2&31]+a[31&(n<<3|s>>>5)]+a[31&s]):1===l?u+=a[e>>>3]+a[e<<2&31]+"======":2===l?(r=h[1],u+=a[e>>>3]+a[31&(e<<2|r>>>6)]+a[r>>>1&31]+a[r<<4&31]+"===="):3===l?(r=h[1],i=h[2],u+=a[e>>>3]+a[31&(e<<2|r>>>6)]+a[r>>>1&31]+a[31&(r<<4|i>>>4)]+a[i<<1&31]+"==="):(r=h[1],i=h[2],n=h[3],u+=a[e>>>3]+a[31&(e<<2|r>>>6)]+a[r>>>1&31]+a[31&(r<<4|i>>>4)]+a[31&(i<<1|n>>>7)]+a[n>>>2&31]+a[n<<3&31]+"=")}while(!c);return u}(t)},decode:d};d.asBytes=u,s?t.exports=f:(e.base32=f,o&&(void 0===(i=function(){return f}.call(f,r,f,t))||(t.exports=i)))}()},645:(t,e)=>{
+!function(){"use strict";var e="object"==typeof window?window:{};!e.HI_BASE32_NO_NODE_JS&&"object"==typeof n&&n.versions&&n.versions.node&&(e=r.g);var s=!e.HI_BASE32_NO_COMMON_JS&&t.exports,o=r.amdO,a="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".split(""),c={A:0,B:1,C:2,D:3,E:4,F:5,G:6,H:7,I:8,J:9,K:10,L:11,M:12,N:13,O:14,P:15,Q:16,R:17,S:18,T:19,U:20,V:21,W:22,X:23,Y:24,Z:25,2:26,3:27,4:28,5:29,6:30,7:31},l=[0,0,0,0,0,0,0,0],h=function(t,e){e.length>10&&(e="..."+e.substr(-10));var r=new Error("Decoded data is not valid UTF-8. Maybe try base32.decode.asBytes()? Partial data after reading "+t+" bytes: "+e+" <-");throw r.position=t,r},u=function(t){if(""===t)return[];if(!/^[A-Z2-7=]+$/.test(t))throw new Error("Invalid base32 characters");for(var e,r,i,n,s,o,a,l,h=[],u=0,d=(t=t.replace(/=/g,"")).length,f=0,p=d>>3<<3;f >>2),h[u++]=255&(r<<6|i<<1|n>>>4),h[u++]=255&(n<<4|s>>>1),h[u++]=255&(s<<7|o<<2|a>>>3),h[u++]=255&(a<<5|l);var g=d-p;return 2===g?(e=c[t.charAt(f++)],r=c[t.charAt(f++)],h[u++]=255&(e<<3|r>>>2)):4===g?(e=c[t.charAt(f++)],r=c[t.charAt(f++)],i=c[t.charAt(f++)],n=c[t.charAt(f++)],h[u++]=255&(e<<3|r>>>2),h[u++]=255&(r<<6|i<<1|n>>>4)):5===g?(e=c[t.charAt(f++)],r=c[t.charAt(f++)],i=c[t.charAt(f++)],n=c[t.charAt(f++)],s=c[t.charAt(f++)],h[u++]=255&(e<<3|r>>>2),h[u++]=255&(r<<6|i<<1|n>>>4),h[u++]=255&(n<<4|s>>>1)):7===g&&(e=c[t.charAt(f++)],r=c[t.charAt(f++)],i=c[t.charAt(f++)],n=c[t.charAt(f++)],s=c[t.charAt(f++)],o=c[t.charAt(f++)],a=c[t.charAt(f++)],h[u++]=255&(e<<3|r>>>2),h[u++]=255&(r<<6|i<<1|n>>>4),h[u++]=255&(n<<4|s>>>1),h[u++]=255&(s<<7|o<<2|a>>>3)),h},d=function(t,e){if(!e)return function(t){for(var e,r,i="",n=t.length,s=0,o=0;s >6,l[c++]=128|63&o):o<55296||o>=57344?(l[c++]=224|o>>12,l[c++]=128|o>>6&63,l[c++]=128|63&o):(o=65536+((1023&o)<<10|1023&t.charCodeAt(++d)),l[c++]=240|o>>18,l[c++]=128|o>>12&63,l[c++]=128|o>>6&63,l[c++]=128|63&o);f=c-5,d===p&&++d,d>p&&c<6&&(h=!0),e=l[0],c>4?(r=l[1],i=l[2],n=l[3],s=l[4],u+=a[e>>>3]+a[31&(e<<2|r>>>6)]+a[r>>>1&31]+a[31&(r<<4|i>>>4)]+a[31&(i<<1|n>>>7)]+a[n>>>2&31]+a[31&(n<<3|s>>>5)]+a[31&s]):1===c?u+=a[e>>>3]+a[e<<2&31]+"======":2===c?(r=l[1],u+=a[e>>>3]+a[31&(e<<2|r>>>6)]+a[r>>>1&31]+a[r<<4&31]+"===="):3===c?(r=l[1],i=l[2],u+=a[e>>>3]+a[31&(e<<2|r>>>6)]+a[r>>>1&31]+a[31&(r<<4|i>>>4)]+a[i<<1&31]+"==="):(r=l[1],i=l[2],n=l[3],u+=a[e>>>3]+a[31&(e<<2|r>>>6)]+a[r>>>1&31]+a[31&(r<<4|i>>>4)]+a[31&(i<<1|n>>>7)]+a[n>>>2&31]+a[n<<3&31]+"=")}while(!h);return u}(t)},decode:d};d.asBytes=u,s?t.exports=f:(e.base32=f,o&&(void 0===(i=function(){return f}.call(f,r,f,t))||(t.exports=i)))}()},645:(t,e)=>{
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh o){if(t.match_start=e,o=i,i>=a)break;w=h[s+o-1],m=h[s+o]}}}while((e=f[e&d])>l&&0!=--n);return o<=t.lookahead?o:t.lookahead}function A(t){var e,r,i,s,l,h,c,d,f,p,w=t.w_size;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=w+(w-u)){n.arraySet(t.window,t.window,w,w,0),t.match_start-=w,t.strstart-=w,t.block_start-=w,e=r=t.hash_size;do{i=t.head[--e],t.head[e]=i>=w?i-w:0}while(--r);e=r=w;do{i=t.prev[--e],t.prev[e]=i>=w?i-w:0}while(--r);s+=w}if(0===t.strm.avail_in)break;if(h=t.strm,c=t.window,d=t.strstart+t.lookahead,f=s,p=void 0,(p=h.avail_in)>f&&(p=f),r=0===p?0:(h.avail_in-=p,n.arraySet(c,h.input,h.next_in,p,d),1===h.state.wrap?h.adler=o(h.adler,c,p,d):2===h.state.wrap&&(h.adler=a(h.adler,c,p,d)),h.next_in+=p,h.total_in+=p,p),t.lookahead+=r,t.lookahead+t.insert>=3)for(l=t.strstart-t.insert,t.ins_h=t.window[l],t.ins_h=(t.ins_h< >>=y=b>>>24,p-=y,!(16&(y=b>>>16&255))){if(0==(64&y)){b=m[(65535&b)+(f&(1<=3&&0===t.bl_tree[2*d[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),n=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=n&&(n=o)):n=o=r+5,r+4<=n&&-1!==e?F(t,e,r,i):4===t.strategy||o===n?(S(t,2+(i?1:0),3),P(t,f,p)):(S(t,4+(i?1:0),3),function(t,e,r,i){var n;for(S(t,e-257,5),S(t,r-1,5),S(t,i-4,4),n=0;n>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(m[r]+s+1)]++,t.dyn_dtree[2*E(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){S(t,2,3),x(t,256,f),function(t){16===t.bi_valid?(R(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},2292:t=>{"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},8490:(t,e,r)=>{"use strict";var i=r(4155),n=r(7673),s=r(8575),o=r(7529);const a=parseInt(i.env.PARSE_LINK_HEADER_MAXLEN)||2e3,l=null!=i.env.PARSE_LINK_HEADER_THROW_ON_MAXLEN_EXCEEDED;function h(t){return t&&t.rel}function c(t,e){return e.rel.split(/\s+/).forEach((function(r){t[r]=o(e,{rel:r})})),t}function u(t,e){var r=e.match(/\s*(.+)\s*=\s*"?([^"]+)"?/);return r&&(t[r[1]]=r[2]),t}function d(t){try{var e=t.match(/([^>]*)>(.*)/),r=e[1],i=e[2].split(";"),a=s.parse(r),l=n.parse(a.query);i.shift();var h=i.reduce(u,{});return(h=o(l,h)).url=r,h}catch(t){return null}}t.exports=function(t){return function(t){if(!t)return!1;if(t.length>a){if(l)throw new Error("Input string too long, it should be under "+a+" characters.");return!1}return!0}(t)?t.split(/,\s*).map(d).filter(h).reduce(c,{}):null}},980:(t,e,r)=>{"use strict";const i=r(2650),{escapeString:n}=r(3988);t.exports=class extends i{constructor(){super({sourceCodeLocationInfo:!0}),this.posTracker=this.locInfoMixin.posTracker}_transformChunk(t){super._transformChunk(t)}_getRawHtml(t){const e=this.posTracker.droppedBufferSize,r=t.startOffset-e,i=t.endOffset-e;return this.tokenizer.preprocessor.html.slice(r,i)}_handleToken(t){super._handleToken(t)||this.emitRaw(this._getRawHtml(t.location)),this.parserFeedbackSimulator.skipNextNewLine=!1}_emitToken(t,e){this.emit(t,e,this._getRawHtml(e.sourceCodeLocation))}emitDoctype(t){let e=`",this.push(e)}emitStartTag(t){let e=`<${t.tagName}`;const r=t.attrs;for(let t=0;t