pleroma/priv/static/packs/common.js

2 lines
984 KiB
JavaScript
Raw Normal View History

2018-09-16 21:17:34 +00:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],[,,,,,,,,function(e,a,i){"use strict";i.d(a,"a",function(){return t}),i.d(a,"f",function(){return n}),i.d(a,"c",function(){return o}),i.d(a,"e",function(){return s}),i.d(a,"g",function(){return r}),i.d(a,"d",function(){return l}),i.d(a,"b",function(){return _});var t=function(e){return"/"===e.charAt(0)?e:"/"+e},n=function(e){return"/"===e.charAt(0)?e.substr(1):e},o=function(e,a){return new RegExp("^"+a+"(\\/|\\?|#|$)","i").test(e)},s=function(e,a){return o(e,a)?e.substr(a.length):e},r=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},l=function(e){var a=e||"/",i="",t="",n=a.indexOf("#");-1!==n&&(t=a.substr(n),a=a.substr(0,n));var o=a.indexOf("?");return-1!==o&&(i=a.substr(o),a=a.substr(0,o)),{pathname:a,search:"?"===i?"":i,hash:"#"===t?"":t}},_=function(e){var a=e.pathname,i=e.search,t=e.hash,n=a||"/";return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),t&&"#"!==t&&(n+="#"===t.charAt(0)?t:"#"+t),n}},,,,,function(e,a,i){"use strict";e.exports=function(){}},,function(e,a,i){"use strict";i.d(a,"b",function(){return t}),i.d(a,"a",function(){return n}),i.d(a,"e",function(){return o}),i.d(a,"c",function(){return s}),i.d(a,"g",function(){return r}),i.d(a,"h",function(){return l}),i.d(a,"f",function(){return _}),i.d(a,"d",function(){return g});var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n=function(e,a,i){return e.addEventListener?e.addEventListener(a,i,!1):e.attachEvent("on"+a,i)},o=function(e,a,i){return e.removeEventListener?e.removeEventListener(a,i,!1):e.detachEvent("on"+a,i)},s=function(e,a){return a(window.confirm(e))},r=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)},l=function(){return-1===window.navigator.userAgent.indexOf("Trident")},_=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},g=function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")}},function(e,a,i){"use strict";function h(e){return"/"===e.charAt(0)}function f(e,a){for(var i=a,t=i+1,n=e.length;t<n;i+=1,t+=1)e[i]=e[t];e.pop()}var o=function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",i=e&&e.split("/")||[],t=a&&a.split("/")||[],n=e&&h(e),o=a&&h(a),s=n||o;if(e&&h(e)?t=i:i.length&&(t.pop(),t=t.concat(i)),!t.length)return"/";var r=void 0;if(t.length){var l=t[t.length-1];r="."===l||".."===l||""===l}else r=!1;for(var _=0,g=t.length;0<=g;g--){var c=t[g];"."===c?f(t,g):".."===c?(f(t,g),_++):_&&(f(t,g),_--)}if(!s)for(;_--;_)t.unshift("..");!s||""===t[0]||t[0]&&h(t[0])||t.unshift("");var d=t.join("/");return r&&"/"!==d.substr(-1)&&(d+="/"),d},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var t=function i(a,t){if(a===t)return!0;if(null==a||null==t)return!1;if(Array.isArray(a))return Array.isArray(t)&&a.length===t.length&&a.every(function(e,a){return i(e,t[a])});var e=void 0===a?"undefined":l(a);if(e!==(void 0===t?"undefined":l(t)))return!1;if("object"!==e)return!1;var n=a.valueOf(),o=t.valueOf();if(n!==a||o!==t)return i(n,o);var s=Object.keys(a),r=Object.keys(t);return s.length===r.length&&s.every(function(e){return i(a[e],t[e])})},s=i(8);i.d(a,"a",function(){return n}),i.d(a,"b",function(){return _});var r=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(e[t]=i[t])}return e},n=function(e,a,i,t){var n=void 0;"string"==typeof e?(n=Object(s.d)(e)).state=a:(void 0===(n=r({},e)).pathname&&(n.pathname=""),n.search?"?"!==n.search.charAt(0)&&(n.search="?"+n.search):n.search="",n.hash?"#"!==n.hash.charAt(0)&&(n.hash="#"+n.hash):n.hash="",void 0!==a&&void 0===n.state&&(n.state=a));try{n.pathname=decodeURI(n.pathname)}catch(e){throw e instanceof URIError?new URIErr
//# sourceMappingURL=common.js.map