(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{1878:function(e,a,t){e.exports=t.p+"files/b0b27c154c6bcece35d9a2e5a6d8520b.png"},1879:function(e,a,t){e.exports=t.p+"files/deb733e8ae657e1813261ce18d4aec46.png"},1906:function(e,a,t){"use strict";t.r(a);var n=t(154),r=t(35),s=(t(158),t(17)),o=t.n(s),p=t(554),c=t(8),i=t.n(c),l=t(572),m=t(1878),d=t.n(m),g=t(1879),u=t.n(g);function h(e){var a=e.iosAppDownloadLink,t=e.history,n=e.location;return o.a.createElement("div",{className:"get-app get-ios-app"},o.a.createElement("h1",{className:"get-app__header"},o.a.createElement(p.c,{id:"get_app.iosHeader",defaultMessage:"Mattermost works best if you switch to our iPhone app"})),o.a.createElement("hr",null),o.a.createElement("a",{className:"get-ios-app__app-store-link",href:Object(l.g)(a),rel:"noopener noreferrer"},o.a.createElement("img",{src:d.a})),o.a.createElement("img",{className:"get-app__screenshot",src:u.a}),o.a.createElement("h2",{className:"get-ios-app__already-have-it"},o.a.createElement(p.c,{id:"get_app.alreadyHaveIt",defaultMessage:"Already have it?"})),o.a.createElement("a",{className:"btn btn-primary get-ios-app__open-mattermost",href:"mattermost://"},o.a.createElement(p.c,{id:"get_app.openMattermost",defaultMessage:"Open Mattermost"})),o.a.createElement("span",{className:"get-app__continue-with-browser"},o.a.createElement(p.c,{id:"get_app.continueWithBrowser",defaultMessage:"Or {link}",values:{link:o.a.createElement("a",{onClick:function(e){e.preventDefault();var a=new URLSearchParams(n.search).get("redirect_to");a?t.push(a):t.push("/")},className:"get-ios-app__continue"},o.a.createElement(p.c,{id:"get_app.continueWithBrowserLink",defaultMessage:"continue with browser"}))}})))}h.propTypes={iosAppDownloadLink:i.a.string};a.default=Object(n.connect)(function(e){return{iosAppDownloadLink:Object(r.getConfig)(e).IosAppDownloadLink}})(h)}}]);
//# sourceMappingURL=21.32c67a5dbd44306d5f31.js.map