Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/ledger.corals.io/public/assets/core/compiled/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/ledger.corals.io/public/assets/core/compiled/js/laravel-echo-setup.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{189:function(e,n,t){e.exports=t(192)},192:function(e,n,t){"use strict";function i(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function r(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function s(e,n,t){return n&&r(e.prototype,n),t&&r(e,t),e}function o(){return(o=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)}function u(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&a(e,n)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,n){return(a=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function h(e,n){return!n||"object"!=typeof n&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function l(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,i=c(e);if(n){var r=c(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return h(this,t)}}t.r(n);var f=function(){function e(n){i(this,e),this._defaultOptions={auth:{headers:{}},authEndpoint:"/broadcasting/auth",broadcaster:"pusher",csrfToken:null,host:null,key:null,namespace:"App.Events"},this.setOptions(n),this.connect()}return s(e,[{key:"setOptions",value:function(e){return this.options=o(this._defaultOptions,e),this.csrfToken()&&(this.options.auth.headers["X-CSRF-TOKEN"]=this.csrfToken()),e}},{key:"csrfToken",value:function(){var e;return"undefined"!=typeof window&&window.Laravel&&window.Laravel.csrfToken?window.Laravel.csrfToken:this.options.csrfToken?this.options.csrfToken:"undefined"!=typeof document&&"function"==typeof document.querySelector&&(e=document.querySelector('meta[name="csrf-token"]'))?e.getAttribute("content"):null}}]),e}(),p=function(){function e(){i(this,e)}return s(e,[{key:"listenForWhisper",value:function(e,n){return this.listen(".client-"+e,n)}},{key:"notification",value:function(e){return this.listen(".Illuminate\\Notifications\\Events\\BroadcastNotificationCreated",e)}},{key:"stopListeningForWhisper",value:function(e){return this.stopListening(".client-"+e)}}]),e}(),v=function(){function e(n){i(this,e),this.setNamespace(n)}return s(e,[{key:"format",value:function(e){return"."===e.charAt(0)||"\\"===e.charAt(0)?e.substr(1):(this.namespace&&(e=this.namespace+"."+e),e.replace(/\./g,"\\"))}},{key:"setNamespace",value:function(e){this.namespace=e}}]),e}(),y=function(e){u(t,e);var n=l(t);function t(e,r,s){var o;return i(this,t),(o=n.call(this)).name=r,o.pusher=e,o.options=s,o.eventFormatter=new v(o.options.namespace),o.subscribe(),o}return s(t,[{key:"subscribe",value:function(){this.subscription=this.pusher.subscribe(this.name)}},{key:"unsubscribe",value:function(){this.pusher.unsubscribe(this.name)}},{key:"listen",value:function(e,n){return this.on(this.eventFormatter.format(e),n),this}},{key:"stopListening",value:function(e){return this.subscription.unbind(this.eventFormatter.format(e)),this}},{key:"subscribed",value:function(e){return this.on("pusher:subscription_succeeded",(function(){e()})),this}},{key:"error",value:function(e){return this.on("pusher:subscription_error",(function(n){e(n)})),this}},{key:"on",value:function(e,n){return this.subscription.bind(e,n),this}}]),t}(p),k=function(e){u(t,e);var n=l(t);function t(){return i(this,t),n.apply(this,arguments)}return s(t,[{key:"whisper",value:function(e,n){return this.pusher.channels.channels[this.name].trigger("client-".concat(e),n),this}}]),t}(y),d=function(e){u(t,e);var n=l(t);function t(){return i(this,t),n.apply(this,arguments)}return s(t,[{key:"whisper",value:function(e,n){return this.pusher.channels.channels[this.name].trigger("client-".concat(e),n),this}}]),t}(y),b=function(e){u(t,e);var n=l(t);function t(){return i(this,t),n.apply(this,arguments)}return s(t,[{key:"here",value:function(e){return this.on("pusher:subscription_succeeded",(function(n){e(Object.keys(n.members).map((function(e){return n.members[e]})))})),this}},{key:"joining",value:function(e){return this.on("pusher:member_added",(function(n){e(n.info)})),this}},{key:"leaving",value:function(e){return this.on("pusher:member_removed",(function(n){e(n.info)})),this}},{key:"whisper",value:function(e,n){return this.pusher.channels.channels[this.name].trigger("client-".concat(e),n),this}}]),t}(y),m=function(e){u(t,e);var n=l(t);function t(e,r,s){var o;return i(this,t),(o=n.call(this)).events={},o.name=r,o.socket=e,o.options=s,o.eventFormatter=new v(o.options.namespace),o.subscribe(),o.configureReconnector(),o}return s(t,[{key:"subscribe",value:function(){this.socket.emit("subscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"unsubscribe",value:function(){this.unbind(),this.socket.emit("unsubscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"listen",value:function(e,n){return this.on(this.eventFormatter.format(e),n),this}},{key:"stopListening",value:function(e){var n=this.eventFormatter.format(e);return this.socket.removeListener(n),delete this.events[n],this}},{key:"subscribed",value:function(e){return this.on("connect",(function(n){e(n)})),this}},{key:"error",value:function(e){return this}},{key:"on",value:function(e,n){var t=this,i=function(e,i){t.name==e&&n(i)};this.socket.on(e,i),this.bind(e,i)}},{key:"configureReconnector",value:function(){var e=this,n=function(){e.subscribe()};this.socket.on("reconnect",n),this.bind("reconnect",n)}},{key:"bind",value:function(e,n){this.events[e]=this.events[e]||[],this.events[e].push(n)}},{key:"unbind",value:function(){var e=this;Object.keys(this.events).forEach((function(n){e.events[n].forEach((function(t){e.socket.removeListener(n,t)})),delete e.events[n]}))}}]),t}(p),w=function(e){u(t,e);var n=l(t);function t(){return i(this,t),n.apply(this,arguments)}return s(t,[{key:"whisper",value:function(e,n){return this.socket.emit("client event",{channel:this.name,event:"client-".concat(e),data:n}),this}}]),t}(m),g=function(e){u(t,e);var n=l(t);function t(){return i(this,t),n.apply(this,arguments)}return s(t,[{key:"here",value:function(e){return this.on("presence:subscribed",(function(n){e(n.map((function(e){return e.user_info})))})),this}},{key:"joining",value:function(e){return this.on("presence:joining",(function(n){return e(n.user_info)})),this}},{key:"leaving",value:function(e){return this.on("presence:leaving",(function(n){return e(n.user_info)})),this}}]),t}(w),j=function(e){u(t,e);var n=l(t);function t(){return i(this,t),n.apply(this,arguments)}return s(t,[{key:"subscribe",value:function(){}},{key:"unsubscribe",value:function(){}},{key:"listen",value:function(e,n){return this}},{key:"stopListening",value:function(e){return this}},{key:"subscribed",value:function(e){return this}},{key:"error",value:function(e){return this}},{key:"on",value:function(e,n){return this}}]),t}(p),I=function(e){u(t,e);var n=l(t);function t(){return i(this,t),n.apply(this,arguments)}return s(t,[{key:"whisper",value:function(e,n){return this}}]),t}(j),O=function(e){u(t,e);var n=l(t);function t(){return i(this,t),n.apply(this,arguments)}return s(t,[{key:"here",value:function(e){return this}},{key:"joining",value:function(e){return this}},{key:"leaving",value:function(e){return this}},{key:"whisper",value:function(e,n){return this}}]),t}(j),_=function(e){u(t,e);var n=l(t);function t(){var e;return i(this,t),(e=n.apply(this,arguments)).channels={},e}return s(t,[{key:"connect",value:function(){void 0!==this.options.client?this.pusher=this.options.client:this.pusher=new Pusher(this.options.key,this.options)}},{key:"listen",value:function(e,n,t){return this.channel(e).listen(n,t)}},{key:"channel",value:function(e){return this.channels[e]||(this.channels[e]=new y(this.pusher,e,this.options)),this.channels[e]}},{key:"privateChannel",value:function(e){return this.channels["private-"+e]||(this.channels["private-"+e]=new k(this.pusher,"private-"+e,this.options)),this.channels["private-"+e]}},{key:"encryptedPrivateChannel",value:function(e){return this.channels["private-encrypted-"+e]||(this.channels["private-encrypted-"+e]=new d(this.pusher,"private-encrypted-"+e,this.options)),this.channels["private-encrypted-"+e]}},{key:"presenceChannel",value:function(e){return this.channels["presence-"+e]||(this.channels["presence-"+e]=new b(this.pusher,"presence-"+e,this.options)),this.channels["presence-"+e]}},{key:"leave",value:function(e){var n=this;[e,"private-"+e,"presence-"+e].forEach((function(e,t){n.leaveChannel(e)}))}},{key:"leaveChannel",value:function(e){this.channels[e]&&(this.channels[e].unsubscribe(),delete this.channels[e])}},{key:"socketId",value:function(){return this.pusher.connection.socket_id}},{key:"disconnect",value:function(){this.pusher.disconnect()}}]),t}(f),C=function(e){u(t,e);var n=l(t);function t(){var e;return i(this,t),(e=n.apply(this,arguments)).channels={},e}return s(t,[{key:"connect",value:function(){var e=this.getSocketIO();return this.socket=e(this.options.host,this.options),this.socket}},{key:"getSocketIO",value:function(){if(void 0!==this.options.client)return this.options.client;if("undefined"!=typeof io)return io;throw new Error("Socket.io client not found. Should be globally available or passed via options.client")}},{key:"listen",value:function(e,n,t){return this.channel(e).listen(n,t)}},{key:"channel",value:function(e){return this.channels[e]||(this.channels[e]=new m(this.socket,e,this.options)),this.channels[e]}},{key:"privateChannel",value:function(e){return this.channels["private-"+e]||(this.channels["private-"+e]=new w(this.socket,"private-"+e,this.options)),this.channels["private-"+e]}},{key:"presenceChannel",value:function(e){return this.channels["presence-"+e]||(this.channels["presence-"+e]=new g(this.socket,"presence-"+e,this.options)),this.channels["presence-"+e]}},{key:"leave",value:function(e){var n=this;[e,"private-"+e,"presence-"+e].forEach((function(e){n.leaveChannel(e)}))}},{key:"leaveChannel",value:function(e){this.channels[e]&&(this.channels[e].unsubscribe(),delete this.channels[e])}},{key:"socketId",value:function(){return this.socket.id}},{key:"disconnect",value:function(){this.socket.disconnect()}}]),t}(f),R=function(e){u(t,e);var n=l(t);function t(){var e;return i(this,t),(e=n.apply(this,arguments)).channels={},e}return s(t,[{key:"connect",value:function(){}},{key:"listen",value:function(e,n,t){return new j}},{key:"channel",value:function(e){return new j}},{key:"privateChannel",value:function(e){return new I}},{key:"presenceChannel",value:function(e){return new O}},{key:"leave",value:function(e){}},{key:"leaveChannel",value:function(e){}},{key:"socketId",value:function(){return"fake-socket-id"}},{key:"disconnect",value:function(){}}]),t}(f),S=function(){function e(n){i(this,e),this.options=n,this.connect(),this.options.withoutInterceptors||this.registerInterceptors()}return s(e,[{key:"channel",value:function(e){return this.connector.channel(e)}},{key:"connect",value:function(){"pusher"==this.options.broadcaster?this.connector=new _(this.options):"socket.io"==this.options.broadcaster?this.connector=new C(this.options):"null"==this.options.broadcaster?this.connector=new R(this.options):"function"==typeof this.options.broadcaster&&(this.connector=new this.options.broadcaster(this.options))}},{key:"disconnect",value:function(){this.connector.disconnect()}},{key:"join",value:function(e){return this.connector.presenceChannel(e)}},{key:"leave",value:function(e){this.connector.leave(e)}},{key:"leaveChannel",value:function(e){this.connector.leaveChannel(e)}},{key:"listen",value:function(e,n,t){return this.connector.listen(e,n,t)}},{key:"private",value:function(e){return this.connector.privateChannel(e)}},{key:"encryptedPrivate",value:function(e){return this.connector.encryptedPrivateChannel(e)}},{key:"socketId",value:function(){return this.connector.socketId()}},{key:"registerInterceptors",value:function(){"function"==typeof Vue&&Vue.http&&this.registerVueRequestInterceptor(),"function"==typeof axios&&this.registerAxiosRequestInterceptor(),"function"==typeof jQuery&&this.registerjQueryAjaxSetup()}},{key:"registerVueRequestInterceptor",value:function(){var e=this;Vue.http.interceptors.push((function(n,t){e.socketId()&&n.headers.set("X-Socket-ID",e.socketId()),t()}))}},{key:"registerAxiosRequestInterceptor",value:function(){var e=this;axios.interceptors.request.use((function(n){return e.socketId()&&(n.headers["X-Socket-Id"]=e.socketId()),n}))}},{key:"registerjQueryAjaxSetup",value:function(){var e=this;void 0!==jQuery.ajax&&jQuery.ajaxPrefilter((function(n,t,i){e.socketId()&&i.setRequestHeader("X-Socket-Id",e.socketId())}))}}]),e}();window.Echo=new S({broadcaster:"socket.io",host:corals.laravel_echo_domain})}},[[189,0]]]);

Spamworldpro Mini