Upgrade to v1.6.0
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{1460:function(e,t,n){"use strict";n.r(t);var a=n(33),l=n.n(a),r=n(38),i=n.n(r),c=n(35),o=n.n(c),d=n(34),s=n(37),u=n(48),m=n(36);t.default=i()({displayName:"EncryptedEventDialog",propTypes:{event:o.a.object.isRequired,onFinished:o.a.func.isRequired},getInitialState:function(){return{device:null}},componentDidMount:function(){this._unmounted=!1;const e=s.a.get();this.refreshDevice().then(t=>t||e.downloadKeys([this.props.event.getSender()],!0).then(()=>this.refreshDevice())).then(t=>{this._unmounted||(this.setState({device:t}),e.on("deviceVerificationChanged",this.onDeviceVerificationChanged))},e=>{console.log("Error downloading devices",e)})},componentWillUnmount:function(){this._unmounted=!0;const e=s.a.get();e&&e.removeListener("deviceVerificationChanged",this.onDeviceVerificationChanged)},refreshDevice:function(){return Promise.resolve(s.a.get().getEventSenderDeviceInfo(this.props.event))},onDeviceVerificationChanged:function(e,t){e===this.props.event.getSender()&&this.refreshDevice().then(e=>{this.setState({device:e})})},onKeyDown:function(e){e.key===u.a.ESCAPE&&(e.stopPropagation(),e.preventDefault(),this.props.onFinished(!1))},_renderDeviceInfo:function(){const e=this.state.device;if(!e)return l.a.createElement("i",null,Object(d.a)("unknown device"));let t=l.a.createElement("b",null,Object(d.a)("NOT verified"));return e.isBlocked()?t=l.a.createElement("b",null,Object(d.a)("Blacklisted")):e.isVerified()&&(t=Object(d.a)("verified")),l.a.createElement("table",null,l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Name")),l.a.createElement("td",null,e.getDisplayName())),l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Device ID")),l.a.createElement("td",null,l.a.createElement("code",null,e.deviceId))),l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Verification")),l.a.createElement("td",null,t)),l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Ed25519 fingerprint")),l.a.createElement("td",null,l.a.createElement("code",null,e.getFingerprint())))))},_renderEventInfo:function(){const e=this.props.event;return l.a.createElement("table",null,l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("User ID")),l.a.createElement("td",null,e.getSender())),l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Curve25519 identity key")),l.a.createElement("td",null,l.a.createElement("code",null,e.getSenderKey()||l.a.createElement("i",null,Object(d.a)("none"))))),l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Claimed Ed25519 fingerprint key")),l.a.createElement("td",null,l.a.createElement("code",null,e.getKeysClaimed().ed25519||l.a.createElement("i",null,Object(d.a)("none"))))),l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Algorithm")),l.a.createElement("td",null,e.getWireContent().algorithm||l.a.createElement("i",null,Object(d.a)("unencrypted")))),"m.bad.encrypted"===e.getContent().msgtype?l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Decryption error")),l.a.createElement("td",null,e.getContent().body)):null,l.a.createElement("tr",null,l.a.createElement("td",null,Object(d.a)("Session ID")),l.a.createElement("td",null,l.a.createElement("code",null,e.getWireContent().session_id||l.a.createElement("i",null,Object(d.a)("none")))))))},render:function(){const e=m.getComponent("elements.DeviceVerifyButtons");let t=null;return this.state.device&&(t=l.a.createElement(e,{device:this.state.device,userId:this.props.event.getSender()})),l.a.createElement("div",{className:"mx_EncryptedEventDialog",onKeyDown:this.onKeyDown},l.a.createElement("div",{className:"mx_Dialog_title"},Object(d.a)("End-to-end encryption information")),l.a.createElement("div",{className:"mx_Dialog_content"},l.a.createElement("h4",null,Object(d.a)("Event information")),this._renderEventInfo(),l.a.createElement("h4",null,Object(d.a)("Sender session information")),this._renderDeviceInfo()),l.a.createElement("div",{className:"mx_Dialog_buttons"},l.a.createElement("button",{className:"mx_Dialog_primary",onClick:this.props.onFinished,autoFocus:!0},Object(d.a)("OK")),t))}})}}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
|
||||
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{1449:function(e,n,t){"use strict";t.r(n),t.d(n,"default",(function(){return b}));var s=t(3),a=t.n(s),i=t(33),o=t.n(i),r=t(36),l=t(35),d=t.n(l),c=t(39),p=t(34),u=t(40),h=t(145);class b extends o.a.Component{constructor(e){super(e),a()(this,"_onDisable",async()=>{this.setState({disabling:!0}),await u.b.setValue("enableEventIndexing",null,u.a.DEVICE,!1),await h.a.deleteEventIndex(),this.props.onFinished(),c.a.dispatch({action:"view_user_settings"})}),this.state={disabling:!1}}render(){const e=r.getComponent("views.dialogs.BaseDialog"),n=r.getComponent("elements.Spinner"),t=r.getComponent("views.elements.DialogButtons");return o.a.createElement(e,{onFinished:this.props.onFinished,title:Object(p.a)("Are you sure?")},Object(p.a)("If disabled, messages from encrypted rooms won't appear in search results."),this.state.disabling?o.a.createElement(n,null):o.a.createElement("div",null),o.a.createElement(t,{primaryButton:Object(p.a)("Disable"),onPrimaryButtonClick:this._onDisable,primaryButtonClass:"danger",cancelButtonClass:"warning",onCancel:this.props.onFinished,disabled:this.state.disabling}))}}a()(b,"propTypes",{onFinished:d.a.func.isRequired})}}]);
|
||||
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{1462:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return p}));var o=n(3),a=n.n(o),s=n(33),r=n.n(s),l=n(36),i=n(35),c=n.n(i),m=n(34),u=n(40),d=n(41),g=n(64),h=n(145);class p extends r.a.Component{constructor(e){super(e),a()(this,"updateCurrentRoom",async e=>{const t=h.a.get();let n;try{n=await t.getStats()}catch{return}let o=null;e&&(o=e.name);const a=t.crawlingRooms(),s=a.crawlingRooms.size,r=a.totalRooms.size;this.setState({eventIndexSize:n.size,eventCount:n.eventCount,crawlingRoomsCount:s,roomCount:r,currentRoom:o})}),a()(this,"_onDisable",async()=>{d.a.createTrackedDialogAsync("Disable message search","Disable message search",n.e(20).then(n.bind(null,1449)),null,null,!1,!0)}),a()(this,"_onCrawlerSleepTimeChange",e=>{this.setState({crawlerSleepTime:e.target.value}),u.b.setValue("crawlerSleepTime",null,u.a.DEVICE,e.target.value)}),this.state={eventIndexSize:0,eventCount:0,crawlingRoomsCount:0,roomCount:0,currentRoom:null,crawlerSleepTime:u.b.getValueAt(u.a.DEVICE,"crawlerSleepTime")}}componentWillUnmount(){const e=h.a.get();null!==e&&e.removeListener("changedCheckpoint",this.updateCurrentRoom)}async componentDidMount(){let e=0,t=0,n=0,o=0,a=null;const s=h.a.get();if(null!==s){s.on("changedCheckpoint",this.updateCurrentRoom);try{const t=await s.getStats();e=t.size,o=t.eventCount}catch{}const r=s.crawlingRooms();t=r.crawlingRooms.size,n=r.totalRooms.size;const l=s.currentRoom();l&&(a=l.name)}this.setState({eventIndexSize:e,eventCount:o,crawlingRoomsCount:t,roomCount:n,currentRoom:a})}render(){let e;e=null===this.state.currentRoom?Object(m.a)("Not currently indexing messages for any room."):Object(m.a)("Currently indexing: %(currentRoom)s.",{currentRoom:this.state.currentRoom});const t=l.getComponent("views.elements.Field"),n=Math.max(0,this.state.roomCount-this.state.crawlingRoomsCount),o=r.a.createElement("div",null,Object(m.a)("Riot is securely caching encrypted messages locally for them to appear in search results:"),r.a.createElement("div",{className:"mx_SettingsTab_subsectionText"},e,r.a.createElement("br",null),Object(m.a)("Space used:")," ",Object(g.a)(this.state.eventIndexSize,0),r.a.createElement("br",null),Object(m.a)("Indexed messages:")," ",Object(g.d)(this.state.eventCount),r.a.createElement("br",null),Object(m.a)("Indexed rooms:")," ",Object(m.a)("%(doneRooms)s out of %(totalRooms)s",{doneRooms:Object(g.d)(n),totalRooms:Object(g.d)(this.state.roomCount)})," ",r.a.createElement("br",null),r.a.createElement(t,{label:Object(m.a)("Message downloading sleep time(ms)"),type:"number",value:this.state.crawlerSleepTime,onChange:this._onCrawlerSleepTimeChange}))),a=l.getComponent("views.dialogs.BaseDialog"),s=l.getComponent("views.elements.DialogButtons");return r.a.createElement(a,{className:"mx_ManageEventIndexDialog",onFinished:this.props.onFinished,title:Object(m.a)("Message search")},o,r.a.createElement(s,{primaryButton:Object(m.a)("Done"),onPrimaryButtonClick:this.props.onFinished,primaryButtonClass:"primary",cancelButton:Object(m.a)("Disable"),onCancel:this._onDisable,cancelButtonClass:"danger"}))}}a()(p,"propTypes",{onFinished:c.a.func.isRequired})}}]);
|
||||
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{1461:function(e,n,t){"use strict";t.r(n),t.d(n,"default",(function(){return p}));var o=t(3),s=t.n(o),i=t(33),a=t.n(i),r=t(35),u=t.n(r),c=t(36),l=t(34);class p extends a.a.PureComponent{constructor(...e){super(...e),s()(this,"onDontAskAgainClick",()=>{this.props.onFinished(),this.props.onDontAskAgain()}),s()(this,"onSetupClick",()=>{this.props.onFinished(),this.props.onSetup()})}render(){const e=c.getComponent("views.dialogs.BaseDialog"),n=c.getComponent("views.elements.DialogButtons");return a.a.createElement(e,{className:"mx_IgnoreRecoveryReminderDialog",onFinished:this.props.onFinished,title:Object(l.a)("Are you sure?")},a.a.createElement("div",null,a.a.createElement("p",null,Object(l.a)("Without setting up Secure Message Recovery, you'll lose your secure message history when you log out.")),a.a.createElement("p",null,Object(l.a)("If you don't want to set this up now, you can later in Settings.")),a.a.createElement("div",{className:"mx_Dialog_buttons"},a.a.createElement(n,{primaryButton:Object(l.a)("Set up"),onPrimaryButtonClick:this.onSetupClick,cancelButton:Object(l.a)("Don't ask again"),onCancel:this.onDontAskAgainClick}))))}}s()(p,"propTypes",{onDontAskAgain:u.a.func.isRequired,onFinished:u.a.func.isRequired,onSetup:u.a.func.isRequired})}}]);
|
||||
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{1456:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return m}));var a=n(3),o=n.n(a),s=n(33),i=n.n(s),c=n(35),r=n.n(c),l=n(36),u=n(37),p=n(39),d=n(34),h=n(41);class m extends i.a.PureComponent{constructor(...e){super(...e),o()(this,"onOkClick",()=>{this.props.onFinished()}),o()(this,"onGoToSettingsClick",()=>{this.props.onFinished(),p.a.dispatch({action:"view_user_settings"})}),o()(this,"onSetupClick",async()=>{const e=l.getComponent("dialogs.keybackup.RestoreKeyBackupDialog");h.a.createTrackedDialog("Restore Backup","",e,{onFinished:this.props.onFinished},null,!1,!0)})}render(){const e=l.getComponent("views.dialogs.BaseDialog"),t=l.getComponent("views.elements.DialogButtons"),n=i.a.createElement("span",{className:"mx_KeyBackupFailedDialog_title"},Object(d.a)("New Recovery Method")),a=i.a.createElement("p",null,Object(d.a)("A new recovery passphrase and key for Secure Messages have been detected.")),o=i.a.createElement("p",{className:"warning"},Object(d.a)("If you didn't set the new recovery method, an attacker may be trying to access your account. Change your account password and set a new recovery method immediately in Settings."));let s;return s=u.a.get().getKeyBackupEnabled()?i.a.createElement("div",null,a,i.a.createElement("p",null,Object(d.a)("This session is encrypting history using the new recovery method.")),o,i.a.createElement(t,{primaryButton:Object(d.a)("OK"),onPrimaryButtonClick:this.onOkClick,cancelButton:Object(d.a)("Go to Settings"),onCancel:this.onGoToSettingsClick})):i.a.createElement("div",null,a,o,i.a.createElement(t,{primaryButton:Object(d.a)("Set up Secure Messages"),onPrimaryButtonClick:this.onSetupClick,cancelButton:Object(d.a)("Go to Settings"),onCancel:this.onGoToSettingsClick})),i.a.createElement(e,{className:"mx_KeyBackupFailedDialog",onFinished:this.props.onFinished,title:n},s)}}o()(m,"propTypes",{newVersionInfo:r.a.object,onFinished:r.a.func.isRequired})}}]);
|
||||
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{1457:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return h}));var s=n(3),a=n.n(s),o=n(33),i=n.n(o),c=n(35),r=n.n(c),l=n(36),u=n(39),d=n(34),p=n(41);class h extends i.a.PureComponent{constructor(...e){super(...e),a()(this,"onGoToSettingsClick",()=>{this.props.onFinished(),u.a.dispatch({action:"view_user_settings"})}),a()(this,"onSetupClick",()=>{this.props.onFinished(),p.a.createTrackedDialogAsync("Key Backup","Key Backup",Promise.all([n.e(0),n.e(1)]).then(n.bind(null,1448)),null,null,!1,!0)})}render(){const e=l.getComponent("views.dialogs.BaseDialog"),t=l.getComponent("views.elements.DialogButtons"),n=i.a.createElement("span",{className:"mx_KeyBackupFailedDialog_title"},Object(d.a)("Recovery Method Removed"));return i.a.createElement(e,{className:"mx_KeyBackupFailedDialog",onFinished:this.props.onFinished,title:n},i.a.createElement("div",null,i.a.createElement("p",null,Object(d.a)("This session has detected that your recovery passphrase and key for Secure Messages have been removed.")),i.a.createElement("p",null,Object(d.a)("If you did this accidentally, you can setup Secure Messages on this session which will re-encrypt this session's message history with a new recovery method.")),i.a.createElement("p",{className:"warning"},Object(d.a)("If you didn't remove the recovery method, an attacker may be trying to access your account. Change your account password and set a new recovery method immediately in Settings.")),i.a.createElement(t,{primaryButton:Object(d.a)("Set up Secure Messages"),onPrimaryButtonClick:this.onSetupClick,cancelButton:Object(d.a)("Go to Settings"),onCancel:this.onGoToSettingsClick})))}}a()(h,"propTypes",{onFinished:r.a.func.isRequired})}}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
/*! modernizr 3.8.0 (Custom Build) | MIT *
|
||||
* https://modernizr.com/download/?-cors-cssanimations-cssfilters-displaytable-es5date-es5function-es5object-es5undefined-es6array-es6collections-es6string-fetch-flexbox-json-localstorage-objectfit-promises-sandbox-svg-svgasimg-svgfilters-urlparser-urlsearchparams-setclasses-cssclassprefix:modernizr_ !*/
|
||||
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{711:function(e,r,t){"use strict";t.r(r);var a=t(33),s=t(35),n=t(34);const i=({title:e,messages:r})=>a.createElement("div",{className:"mx_GenericErrorPage"},a.createElement("div",{className:"mx_GenericErrorPage_box"},a.createElement("h1",null,e),a.createElement("div",null,r&&r.map(e=>a.createElement("p",{key:e},Object(n.a)(e))))));i.propTypes={title:s.string.isRequired,messages:s.arrayOf(s.string.isRequired)},r.default=i}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
@font-face{font-family:Nunito;font-style:normal;font-weight:400;src:url(../../fonts/Nunito/Nunito-Regular.73a8196.ttf) format("truetype")}body{font-family:Nunito,Arial,Helvetica,sans-serif;background-color:#181b21;color:#edf3ff}body,html{padding:0;margin:0}#jitsiContainer{position:fixed;top:0;bottom:0;left:0;right:0}#joinButtonContainer{display:table;position:absolute;height:100%;width:100%}.joinConferenceFloating{display:table-cell;vertical-align:middle}.joinConferencePrompt{margin-left:auto;margin-right:auto;width:90%;text-align:center}#joinButton{cursor:pointer;padding:7px 18px;text-align:center;border-radius:4px;display:inline-block;font-size:14px;color:#fff;background-color:#03b381;border:0}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{1455:function(e,o,n){"use strict";n.r(o),function(e){n.d(o,"loadApp",(function(){return U}));var t=n(33),i=n.n(t),r=n(36),a=n(50),s=n(392),c=n(34),l=n(65),d=n(187),f=n(181),u=n(55),g=n.n(u),w=n(15),h=n(37),p=n(45),m=n(82);e.React=i.a;let _=null;function v(e){const o=Object(w.b)(e);return{screen:o.location.substring(1),params:o.params}}function b(e){decodeURIComponent(window.location.hash)!==_&&function(e){if(!window.matrixChat)return;console.log("Routing URL ",e.href);const o=v(e);window.matrixChat.showScreen(o.screen,o.params)}(window.location)}function C(e){console.log("newscreen "+e);const o="#/"+e;_=o,window.location.hash=o}function y(e){let o;o="vector:"===window.location.protocol?"https://riot.im/app/#/register":window.location.protocol+"//"+window.location.host+window.location.pathname+"#/register";const n=Object.keys(e);for(let t=0;t<n.length;++t){o+=0===t?"?":"&";const i=n[t];o+=i+"="+encodeURIComponent(e[i])}return o}function O(){const e=g.a.parse(window.location.href);e.search="";const o=g.a.format(e);console.log("Redirecting to "+o+" to drop loginToken from queryparams"),window.location.href=o}async function U(e){const o=document.body.dataset.vectorIndexeddbWorkerScript;if(!o)throw Object(c.h)(Object(c.b)("Missing indexeddb worker script!"));h.a.setIndexedDbWorkerScript(o),m.a.setConferenceHandler(s),window.addEventListener("hashchange",b);const n=a.a.get(),t=Object(w.a)(window.location),u=window.location.protocol+"//"+window.location.host+window.location.pathname;console.log("Vector starting at "+u),n.startUpdater();const g=await async function(){let e;try{console.log("Verifying homeserver configuration");const o=p.a.get();let n=o.default_server_config;const t=o.default_server_name,i=o.default_hs_url,r=o.default_is_url,a=[n,t,i].filter(e=>!!e);if(a.length>1)throw Object(c.h)(Object(c.b)("Invalid configuration: can only specify one of default_server_config, default_server_name, or default_hs_url."));if(a.length<1)throw Object(c.h)(Object(c.b)("Invalid configuration: no default server specified."));i&&(console.log("Config uses a default_hs_url - constructing a default_server_config using this information"),console.warn("DEPRECATED CONFIG OPTION: In the future, default_hs_url will not be accepted. Please use default_server_config instead."),n={"m.homeserver":{base_url:i}},r&&(n["m.identity_server"]={base_url:r}));let s=null;n&&(console.log("Config uses a default_server_config - validating object"),s=await d.a.fromDiscoveryConfig(n)),t&&(console.log("Config uses a default_server_name - doing .well-known lookup"),console.warn("DEPRECATED CONFIG OPTION: In the future, default_server_name will not be accepted. Please use default_server_config instead."),s=await d.a.findClientConfig(t)),e=l.b.buildValidatedConfigFromDiscovery(t,s,!0)}catch(o){const{hsUrl:n,isUrl:t,userId:i}=f.b();if(!n||!i)throw o;console.error(o),console.warn("A session was found - suppressing config error and using the session's homeserver"),console.log("Using pre-existing hsUrl and isUrl: ",{hsUrl:n,isUrl:t}),e=await l.b.validateServerConfigWithStaticUrls(n,t,!0)}return e.isDefault=!0,console.log("Using homeserver config:",e),console.log("Updating SdkConfig with validated discovery information"),p.a.add({validated_server_config:e}),p.a.get()}(),_=r.getComponent("structures.MatrixChat");return i.a.createElement(_,{onNewScreen:C,makeRegistrationUrl:y,ConferenceHandler:s,config:g,realQueryParams:t,startingFragmentQueryParams:e,enableGuest:!g.disable_guests,onTokenLoginCompleted:O,initialScreenAfterLogin:v(window.location),defaultDeviceDisplayName:n.getDefaultDeviceDisplayName()})}}.call(this,n(17))}}]);
|
||||
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[11,5],{1463:function(e,t,r){"use strict";r.r(t),r.d(t,"components",(function(){return k}));var a=r(711),o=r(3),n=r.n(o),s=r(383),l=r(281),i=r.n(l),c=r(34);class m extends s.a{translate(e){return e=(e=i()(Object(c.a)(e))).replace(/\[matrix\]/,'<a href="https://matrix.org" target="_blank" rel="noreferrer noopener"><img width="79" height="34" alt="[matrix]" style="padding-left: 1px;vertical-align: middle" src="welcome/images/matrix.svg"/></a>')}}n()(m,"replaces","EmbeddedPage");var u=r(33),g=r.n(u),d=r(45);const h=()=>{const e=d.a.get().branding;let t=[{text:"blog",url:"https://blog.riot.im"},{text:"twitter",url:"https://twitter.com/@RiotChat"},{text:"github",url:"https://github.com/vector-im/riot-web"}];e&&e.authFooterLinks&&(t=e.authFooterLinks);const r=[];for(const e of t)r.push(g.a.createElement("a",{href:e.url,key:e.text,target:"_blank",rel:"noreferrer noopener"},e.text));return g.a.createElement("div",{className:"mx_AuthFooter"},r,g.a.createElement("a",{href:"https://matrix.org",target:"_blank",rel:"noreferrer noopener"},Object(c.a)("powered by Matrix")))};h.replaces="AuthFooter";var p=h,b=r(35),v=r.n(b);class x extends g.a.PureComponent{render(){const e=d.a.get().branding;let t="themes/riot/img/logos/riot-im-logo-black-text.svg";return e&&e.authHeaderLogoUrl&&(t=e.authHeaderLogoUrl),g.a.createElement("div",{className:"mx_AuthHeaderLogo"},g.a.createElement("img",{src:t,alt:"Riot"}))}}n()(x,"replaces","AuthHeaderLogo"),n()(x,"propTypes",{icon:v.a.string});var E=r(36);class f extends g.a.PureComponent{render(){const e=E.getComponent("auth.AuthFooter"),t=d.a.get().branding;let r="themes/riot/img/backgrounds/valley.jpg";t&&t.welcomeBackgroundUrl&&(r=t.welcomeBackgroundUrl);const a={background:"center/cover fixed url(".concat(r,")")},o={position:"absolute",top:0,right:0,bottom:0,left:0,filter:"blur(10px)",background:a.background};return g.a.createElement("div",{className:"mx_AuthPage",style:a},g.a.createElement("div",{className:"mx_AuthPage_modal",style:{position:"relative",background:"initial"}},g.a.createElement("div",{className:"mx_AuthPage_modalBlur",style:o}),g.a.createElement("div",{className:"mx_AuthPage_modalContent",style:{display:"flex",zIndex:1,background:"rgba(255, 255, 255, 0.59)",borderRadius:"4px"}},this.props.children)),g.a.createElement(e,null))}}n()(f,"replaces","AuthPage");const _=({onFinished:e})=>g.a.createElement("div",{className:"mx_ErrorDialog"},g.a.createElement("div",{className:"mx_Dialog_title"},Object(c.a)("Custom Server Options")),g.a.createElement("div",{className:"mx_Dialog_content"},g.a.createElement("p",null,Object(c.a)("You can use the custom server options to sign into other Matrix servers by specifying a different homeserver URL. This allows you to use Riot with an existing Matrix account on a different homeserver."))),g.a.createElement("div",{className:"mx_Dialog_buttons"},g.a.createElement("button",{onClick:e,autoFocus:!0},Object(c.a)("Dismiss"))));_.replaces="CustomServerDialog";var w=_;let k={};a.default&&(k["structures.ErrorView"]=a.default),m&&(k["structures.VectorEmbeddedPage"]=m),p&&(k["views.auth.VectorAuthFooter"]=p),x&&(k["views.auth.VectorAuthHeaderLogo"]=x),f&&(k["views.auth.VectorAuthPage"]=f),w&&(k["views.auth.VectorCustomServerDialog"]=w)},711:function(e,t,r){"use strict";r.r(t);var a=r(33),o=r(35),n=r(34);const s=({title:e,messages:t})=>a.createElement("div",{className:"mx_GenericErrorPage"},a.createElement("div",{className:"mx_GenericErrorPage_box"},a.createElement("h1",null,e),a.createElement("div",null,t&&t.map(e=>a.createElement("p",{key:e},Object(n.a)(e))))));s.propTypes={title:o.string.isRequired,messages:o.arrayOf(o.string.isRequired)},t.default=s}}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=31)}({31:function(e,t,r){}});
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=29)}({29:function(e,t,r){}});
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=30)}({30:function(e,t,r){}});
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=28)}({28:function(e,t,r){}});
|
||||
@@ -0,0 +1 @@
|
||||
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=27)}({27:function(e,t){const n=window.location.search.substring(1).split("&");let o;for(let e=0;e<n.length;++e){const t=n[e].split("=");"origin"===t[0]&&(o=decodeURIComponent(t[1]))}window.onmessage=function(e){e.origin===o&&(e.data.blob?function(e){const t=e.data,n=document.createElement("img");n.id="img",n.src=t.imgSrc,n.style=t.imgStyle;const o=document.createElement("a");o.id="a",o.rel="noreferrer noopener",o.download=t.download,o.style=t.style,o.style.fontFamily="Arial, Helvetica, Sans-Serif",o.href=window.URL.createObjectURL(t.blob),o.appendChild(n),o.appendChild(document.createTextNode(t.textContent));const r=document.body;r.style="margin: 0px; overflow: hidden",r.appendChild(o),e.data.auto&&o.click()}(e):function(e){const t=e.data,n=document.getElementById("img");n.src=t.imgSrc,n.style=t.imgStyle,document.getElementById("a").style=t.style}(e))}}});
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,135 @@
|
||||
/*
|
||||
object-assign
|
||||
(c) Sindre Sorhus
|
||||
@license MIT
|
||||
*/
|
||||
|
||||
/*!
|
||||
Copyright (c) 2017 Jed Watson.
|
||||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
|
||||
/*!
|
||||
* The buffer module from node.js, for the browser.
|
||||
*
|
||||
* @author Feross Aboukhadijeh <http://feross.org>
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/*!
|
||||
* UAParser.js v0.7.21
|
||||
* Lightweight JavaScript-based User-Agent string parser
|
||||
* https://github.com/faisalman/ua-parser-js
|
||||
*
|
||||
* Copyright © 2012-2019 Faisal Salman <f@faisalman.com>
|
||||
* Licensed under MIT License
|
||||
*/
|
||||
|
||||
/*!
|
||||
* content-type
|
||||
* Copyright(c) 2015 Douglas Christopher Wilson
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
/*!
|
||||
* escape-html
|
||||
* Copyright(c) 2012-2013 TJ Holowaychuk
|
||||
* Copyright(c) 2015 Andreas Lubbe
|
||||
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of the
|
||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||
|
||||
See the Apache Version 2.0 License for specific language governing permissions
|
||||
and limitations under the License.
|
||||
***************************************************************************** */
|
||||
|
||||
/*! VelocityJS.org (1.5.2). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */
|
||||
|
||||
/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */
|
||||
|
||||
/*! http://mths.be/fromcodepoint v0.2.1 by @mathias */
|
||||
|
||||
/*! http://mths.be/repeat v0.2.0 by @mathias */
|
||||
|
||||
/*! https://mths.be/punycode v1.4.1 by @mathias */
|
||||
|
||||
/**
|
||||
* @license
|
||||
* Lodash <https://lodash.com/>
|
||||
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||||
* Released under MIT license <https://lodash.com/license>
|
||||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license MIT
|
||||
* @fileOverview Favico animations
|
||||
* @author Miroslav Magda, http://blog.ejci.net
|
||||
* @version 0.3.10
|
||||
*/
|
||||
|
||||
/**
|
||||
* filesize
|
||||
*
|
||||
* @copyright 2017 Jason Mulligan <jason.mulligan@avoidwork.com>
|
||||
* @license BSD-3-Clause
|
||||
* @version 3.5.6
|
||||
*/
|
||||
|
||||
/**
|
||||
* what-input - A global utility for tracking the current input method (mouse, keyboard or touch).
|
||||
* @version v5.2.7
|
||||
* @link https://github.com/ten1seven/what-input
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/** @license React v0.19.1
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v16.13.1
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v16.13.1
|
||||
* react-is.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v16.13.1
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/*@cc_on!@*/
|
||||
Reference in New Issue
Block a user