diff --git a/.env.example b/.env.example index 4c8e1fd9fe..e000111fce 100644 --- a/.env.example +++ b/.env.example @@ -28,4 +28,6 @@ MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null -MAIL_ENCRYPTION=null \ No newline at end of file +MAIL_ENCRYPTION=null + +POSTMARK_API_TOKEN= \ No newline at end of file diff --git a/app/Constants.php b/app/Constants.php index 29a7a3d053..a597eb3288 100644 --- a/app/Constants.php +++ b/app/Constants.php @@ -25,7 +25,7 @@ if (! defined('APP_NAME')) { define('TEST_PASSWORD', 'password'); define('BANK_LIBRARY_OFX', 1); - define('MULTI_DBS', serialize(['db-ninja-1', 'db-ninja-2'])); + //define('MULTI_DBS', serialize(['db-ninja-1', 'db-ninja-2'])); define('RANDOM_KEY_LENGTH', 32); //63340286662973277706162286946811886609896461828096 combinations define('SOCIAL_GOOGLE', 'Google'); diff --git a/app/Events/UserSignedUp.php b/app/Events/UserSignedUp.php new file mode 100644 index 0000000000..6ded1d818b --- /dev/null +++ b/app/Events/UserSignedUp.php @@ -0,0 +1,38 @@ +user = $user; + } + + /** + * Get the channels the event should broadcast on. + * + * @return \Illuminate\Broadcasting\Channel|array + */ + public function broadcastOn() + { + return new PrivateChannel('channel-name'); + } +} diff --git a/app/Http/Controllers/SignupController.php b/app/Http/Controllers/SignupController.php index 3ae50fb2a6..cfafbb2a59 100644 --- a/app/Http/Controllers/SignupController.php +++ b/app/Http/Controllers/SignupController.php @@ -2,10 +2,14 @@ namespace App\Http\Controllers; +use App\Events\UserSignedUp; use App\Http\Requests\SignupRequest; +use App\Jobs\Account\AccountCreated; use App\Models\Account; use App\Models\User; use App\Models\UserAccount; +use Illuminate\Foundation\Bus\DispatchesJobs; +use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Hash; /** @@ -15,6 +19,9 @@ use Illuminate\Support\Facades\Hash; class SignupController extends Controller { + use DispatchesJobs; + + /** * SignupController constructor. */ @@ -39,7 +46,6 @@ class SignupController extends Controller //dd($request->validated()); //created new account - $ac = new Account(); $ac->name = $request->first_name. ' ' .$request->last_name; $ac->account_key = strtolower(str_random(RANDOM_KEY_LENGTH)); @@ -49,6 +55,7 @@ class SignupController extends Controller $user = new User(); $user->password = Hash::make($request->input('password')); $user->accepted_terms_version = NINJA_TERMS_VERSION; + $user->confirmation_code = strtolower(str_random(RANDOM_KEY_LENGTH)); $user->db = config('database.default'); $user->fill($request->all()); $user->save(); @@ -63,12 +70,15 @@ class SignupController extends Controller $user_account->permissions = ''; $user_account->save(); - dd($user); //log user in + Auth::guard('user')->login($user, true); //fire account created job + event(new UserSignedUp($user)); //redirect to localization setup workflow + return redirect()->route('user.dashboard'); + } } \ No newline at end of file diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php new file mode 100644 index 0000000000..c00bb1157d --- /dev/null +++ b/app/Http/Controllers/UserController.php @@ -0,0 +1,30 @@ +get()->first(); + + if ($user) { + + $user->email_verified_at = now(); + $user->confirmation_code = null; + $user->save(); + + redirect('user.dashboard')->with('message', trans('texts.security_confirmation')); + + } else { + + return Redirect::to('/login')->with('error', trans('texts.wrong_confirmation')); + } + } +} diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php index 9a7a387213..eaee61bf41 100644 --- a/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -25,7 +25,7 @@ class RedirectIfAuthenticated break; case 'user': if (Auth::guard($guard)->check()) { - return redirect('user.dashboard'); + return redirect()->route('user.dashboard'); } break; default: diff --git a/app/Http/Middleware/setDb.php b/app/Http/Middleware/setDb.php index 09b6a03fa7..306a310ede 100644 --- a/app/Http/Middleware/setDb.php +++ b/app/Http/Middleware/setDb.php @@ -16,9 +16,11 @@ class SetDb */ public function handle($request, Closure $next) { - if (! config('auth.providers.users.driver') == 'eloquent') + if (config('ninja.db.multi_db_enabled')) { + MultiDB::setDB(auth()->user()->db); + } return $next($request); diff --git a/app/Libraries/MultiDB.php b/app/Libraries/MultiDB.php index 98f4ccbacc..a541bec4d0 100644 --- a/app/Libraries/MultiDB.php +++ b/app/Libraries/MultiDB.php @@ -11,19 +11,32 @@ use App\Models\User; class MultiDB { + const DB_NINJA_1 = 1; + const DB_NINJA_2 = 2; + + public static $dbs = ['db-ninja-1', 'db-ninja-2']; + /** * @param $email * @return bool */ + + public static function getDbs() + { + + return self::$dbs; + + } + public static function checkUserEmailExists($email) : bool { - if (config('auth.providers.users.driver') == 'eloquent') //default eloquent = single DB + if (! config('ninja.db.multi_db_enabled')) { return User::where(['email' => $email])->get()->count() >= 1 ?? false; // true >= 1 emails found / false -> == emails found } //multi-db active - foreach (unserialize(MULTI_DBS) as $db) + foreach (self::$dbs as $db) { if(User::on($db)->where(['email' => $email])->get()->count() >=1) // if user already exists, validation will fail return true; @@ -39,19 +52,23 @@ class MultiDB */ public static function hasUser(array $data) { - if (config('auth.providers.users.driver') == 'eloquent') //default eloquent = single DB + if (! config('ninja.db.multi_db_enabled')) { return User::where($data)->first(); } - foreach (unserialize(MULTI_DBS) as $db) + foreach (self::$dbs as $db) { self::setDB($db); $user = User::where($data)->first(); - if($user) + if($user) { + return $user; + + } + } return false; diff --git a/app/Listeners/SendConfirmationNotification.php b/app/Listeners/SendConfirmationNotification.php new file mode 100644 index 0000000000..e6f4ba5284 --- /dev/null +++ b/app/Listeners/SendConfirmationNotification.php @@ -0,0 +1,30 @@ +user + } +} diff --git a/app/Models/User.php b/app/Models/User.php index d91261fae2..973ba05f94 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -2,6 +2,7 @@ namespace App\Models; +use App\Models\Traits\UserTrait; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; @@ -11,6 +12,7 @@ class User extends Authenticatable { use Notifiable; use SoftDeletes; + use UserTrait; protected $guard = 'user'; diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php index 6c64e52bef..4783e48985 100644 --- a/app/Providers/EventServiceProvider.php +++ b/app/Providers/EventServiceProvider.php @@ -2,10 +2,11 @@ namespace App\Providers; -use Illuminate\Support\Facades\Event; +use App\Listeners\SendConfirmationNotification; use Illuminate\Auth\Events\Registered; use Illuminate\Auth\Listeners\SendEmailVerificationNotification; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; +use App\Events\UserSignedUp; class EventServiceProvider extends ServiceProvider { @@ -18,6 +19,18 @@ class EventServiceProvider extends ServiceProvider Registered::class => [ SendEmailVerificationNotification::class, ], + UserSignedUp::class => [ + SendConfirmationNotification::class, + ] + ]; + + /** + * The subscriber classes to register. + * + * @var array + */ + protected $subscribe = [ + ]; /** diff --git a/app/Providers/MultiDatabaseUserProvider.php b/app/Providers/MultiDatabaseUserProvider.php index 7a45fa0b8a..15676e1186 100644 --- a/app/Providers/MultiDatabaseUserProvider.php +++ b/app/Providers/MultiDatabaseUserProvider.php @@ -2,11 +2,13 @@ namespace App\Providers; +use App\Libraries\MultiDB; use Illuminate\Support\Str; use Illuminate\Contracts\Auth\UserProvider; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Contracts\Hashing\Hasher as HasherContract; use Illuminate\Contracts\Auth\Authenticatable as UserContract; +use PhpParser\Node\Expr\BinaryOp\Mul; class MultiDatabaseUserProvider implements UserProvider { @@ -208,9 +210,8 @@ class MultiDatabaseUserProvider implements UserProvider private function setDefaultDatabase($id = false, $email = false, $token = false) : void { - $databases = unserialize(MULTI_DBS); - foreach ($databases as $database) { + foreach (MultiDB::getDbs() as $database) { $this->setDB($database); $query = $this->conn->table('users'); diff --git a/app/Providers/SendConfirmationNotification.php b/app/Providers/SendConfirmationNotification.php new file mode 100644 index 0000000000..171e0ad9ee --- /dev/null +++ b/app/Providers/SendConfirmationNotification.php @@ -0,0 +1,31 @@ +=5.5.0" + }, + "require-dev": { + "phpunit/phpunit": "4.4.0" + }, + "type": "library", + "autoload": { + "psr-0": { + "Postmark\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "The officially supported client for Postmark (http://postmarkapp.com)", + "time": "2018-07-24T22:40:23+00:00" } ], "packages-dev": [ diff --git a/config/ninja.php b/config/ninja.php index d2028d5055..a5420ca0ad 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -18,4 +18,9 @@ return [ 'hosted' => env('PRIVACY_POLICY_URL', 'https://www.invoiceninja.com/privacy-policy/'), 'selfhost' => env('PRIVACY_POLICY_URL', 'https://www.invoiceninja.com/self-hosting-privacy-data-control/'), ], + + 'db' => [ + 'multi_db_enabled' => env('MULTI_DB_ENABLED', false), + 'default' => env('DB_CONNECTION', 'mysql'), + ] ]; diff --git a/config/services.php b/config/services.php index 2a985b84f6..284df60d78 100644 --- a/config/services.php +++ b/config/services.php @@ -34,40 +34,46 @@ return [ 'secret' => env('SPARKPOST_SECRET'), ], + 'postmark' => env('POSTMARK_API_TOKEN', ''), + 'postmark_ticket' => env('POSTMARK_API_TICKET_TOKEN'), + 'postmark_ticket_2' => env('POSTMARK_API_TICKET_TOKEN_2'), + 'stripe' => [ 'model' => App\Models\User::class, 'key' => env('STRIPE_KEY'), 'secret' => env('STRIPE_SECRET'), ], - 'stripe' => [ - 'model' => 'User', - 'secret' => '', - ], + 'github' => [ 'client_id' => env('GITHUB_CLIENT_ID'), 'client_secret' => env('GITHUB_CLIENT_SECRET'), 'redirect' => env('GITHUB_OAUTH_REDIRECT'), ], + 'google' => [ 'client_id' => env('GOOGLE_CLIENT_ID'), 'client_secret' => env('GOOGLE_CLIENT_SECRET'), 'redirect' => env('GOOGLE_OAUTH_REDIRECT'), ], + 'facebook' => [ 'client_id' => env('FACEBOOK_CLIENT_ID'), 'client_secret' => env('FACEBOOK_CLIENT_SECRET'), 'redirect' => env('FACEBOOK_OAUTH_REDIRECT'), ], + 'linkedin' => [ 'client_id' => env('LINKEDIN_CLIENT_ID'), 'client_secret' => env('LINKEDIN_CLIENT_SECRET'), 'redirect' => env('LINKEDIN_OAUTH_REDIRECT'), ], + 'twitter' => [ 'client_id' => env('TWITTER_CLIENT_ID'), 'client_secret' => env('TWITTER_CLIENT_SECRET'), 'redirect' => env('TWITTER_OAUTH_REDIRECT'), ], + 'bitbucket' => [ 'client_id' => env('BITBUCKET_CLIENT_ID'), 'client_secret' => env('BITBUCKET_CLIENT_SECRET'), diff --git a/database/seeds/UsersTableSeeder.php b/database/seeds/UsersTableSeeder.php index 58dd060c86..da8ebe014c 100644 --- a/database/seeds/UsersTableSeeder.php +++ b/database/seeds/UsersTableSeeder.php @@ -27,6 +27,7 @@ class UsersTableSeeder extends Seeder $account = Account::create([ 'name' => $faker->name(), + 'account_key' => strtolower(str_random(RANDOM_KEY_LENGTH)), ]); $user = User::create([ @@ -34,8 +35,7 @@ class UsersTableSeeder extends Seeder 'last_name' => $faker->lastName, 'email' => TEST_USERNAME, 'password' => Hash::make(TEST_PASSWORD), - 'registered' => true, - 'confirmed' => true, + 'email_verified_at' => now(), ]); $client = Client::create([ @@ -49,8 +49,7 @@ class UsersTableSeeder extends Seeder 'email' => TEST_CLIENTNAME, 'account_id' => $account->id, 'password' => Hash::make(TEST_PASSWORD), - 'registered' => true, - 'confirmed' => true, + 'email_verified_at' => now(), 'client_id' =>$client->id, ]); diff --git a/package.json b/package.json index 08db0dc204..349299278f 100644 --- a/package.json +++ b/package.json @@ -28,5 +28,8 @@ "simple-line-icons": "2.4.1", "vue": "^2.5.17" }, - "dependencies": {} + "dependencies": { + "laravel-echo": "^1.4.0", + "socket.io-client": "^2.1.1" + } } diff --git a/public/js/ninja.js b/public/js/ninja.js index 1a06ed4e05..daf3348068 100644 --- a/public/js/ninja.js +++ b/public/js/ninja.js @@ -1,4 +1,4 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("perfect-scrollbar")):"function"==typeof define&&define.amd?define(["exports","jquery","perfect-scrollbar"],t):t(e.coreui={},e.jQuery,e.PerfectScrollbar)}(this,function(e,t,n){"use strict";function r(e,t){for(var n=0;nn+1&&e(t,n+1)},document.getElementsByTagName("body")[0].appendChild(o)};e.ajax({type:"GET",url:o.subpagesDirectory+t,dataType:"html",beforeSend:function(){e(a.VIEW_SCRIPT).remove()},success:function(r){var o=document.createElement("div");o.innerHTML=r;var a=Array.from(o.querySelectorAll("script")).map(function(e){return e.attributes.getNamedItem("src").nodeValue});o.querySelectorAll("script").forEach(function(e){return e.parentNode.removeChild(e)}),e("body").animate({scrollTop:0},0),e(n).html(o),a.length&&i(a),window.location.hash=t},error:function(){window.location.href=o.errorPage}})},n.setUpUrl=function(t){e(a.NAV_LINK).removeClass(r.ACTIVE),e(a.NAV_DROPDOWN).removeClass(r.OPEN),e(a.NAV_DROPDOWN+':has(a[href="'+t.replace(/^\//,"").split("?")[0]+'"])').addClass(r.OPEN),e(a.NAV_ITEM+' a[href="'+t.replace(/^\//,"").split("?")[0]+'"]').addClass(r.ACTIVE),this.loadPage(t)},n.loadBlank=function(e){window.open(e)},n.loadTop=function(e){window.location=e},n._getConfig=function(e){return e=Object.assign({},s,e)},n._addEventListeners=function(){var t=this;e(document).on(i.CLICK,a.NAV_LINK+'[href!="#"]',function(e){e.preventDefault(),e.stopPropagation(),"_top"===e.currentTarget.target?t.loadTop(e.currentTarget.href):"_blank"===e.currentTarget.target?t.loadBlank(e.currentTarget.href):t.setUpUrl(e.currentTarget.getAttribute("href"))})},t._jQueryInterface=function(n){return this.each(function(){var r=e(this).data("coreui.ajaxLoad"),o="object"==typeof n&&n;r||(r=new t(this,o),e(this).data("coreui.ajaxLoad",r))})},o(t,null,[{key:"VERSION",get:function(){return"2.0.18"}},{key:"Default",get:function(){return s}}]),t}();return e.fn[t]=c._jQueryInterface,e.fn[t].Constructor=c,e.fn[t].noConflict=function(){return e.fn[t]=n,c._jQueryInterface},c}(t),a=function(e){return-1!==e.map(function(e){return document.body.classList.contains(e)}).indexOf(!0)},s=function(e,t){var n=t.indexOf(e),r=t.slice(0,n+1);a(r)?r.map(function(e){return document.body.classList.remove(e)}):document.body.classList.add(e)},c=function(e){var t="aside-menu",n="coreui.aside-menu",r=e.fn[t],i={CLICK:"click",LOAD_DATA_API:"load.coreui.aside-menu.data-api",TOGGLE:"toggle"},a={BODY:"body",ASIDE_MENU:".aside-menu",ASIDE_MENU_TOGGLER:".aside-menu-toggler"},c=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],u=function(){function t(e){this._element=e,this._addEventListeners()}return t.prototype._addEventListeners=function(){e(a.ASIDE_MENU_TOGGLER).on(i.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;s(t,c)})},t._jQueryInterface=function(){return this.each(function(){var r=e(this),o=r.data(n);o||(o=new t(this),r.data(n,o))})},o(t,null,[{key:"VERSION",get:function(){return"2.0.18"}}]),t}();return e(window).on(i.LOAD_DATA_API,function(){var t=e(a.ASIDE_MENU);u._jQueryInterface.call(t)}),e.fn[t]=u._jQueryInterface,e.fn[t].Constructor=u,e.fn[t].noConflict=function(){return e.fn[t]=r,u._jQueryInterface},u}(t),u=function(e){var t="sidebar",r=e.fn[t],i={transition:400},a={ACTIVE:"active",BRAND_MINIMIZED:"brand-minimized",NAV_DROPDOWN_TOGGLE:"nav-dropdown-toggle",OPEN:"open",SIDEBAR_FIXED:"sidebar-fixed",SIDEBAR_MINIMIZED:"sidebar-minimized",SIDEBAR_OFF_CANVAS:"sidebar-off-canvas"},c={CLICK:"click",DESTROY:"destroy",INIT:"init",LOAD_DATA_API:"load.coreui.sidebar.data-api",TOGGLE:"toggle",UPDATE:"update"},u={BODY:"body",BRAND_MINIMIZER:".brand-minimizer",NAV_DROPDOWN_TOGGLE:".nav-dropdown-toggle",NAV_DROPDOWN_ITEMS:".nav-dropdown-items",NAV_ITEM:".nav-item",NAV_LINK:".nav-link",NAVIGATION_CONTAINER:".sidebar-nav",NAVIGATION:".sidebar-nav > .nav",SIDEBAR:".sidebar",SIDEBAR_MINIMIZER:".sidebar-minimizer",SIDEBAR_TOGGLER:".sidebar-toggler"},l=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],f=function(){function t(e){this._element=e,this.ps=null,this.perfectScrollbar(c.INIT),this.setActiveLink(),this._addEventListeners()}var r=t.prototype;return r.perfectScrollbar=function(e){var t=this;void 0!==n&&(e!==c.INIT||document.body.classList.contains(a.SIDEBAR_MINIMIZED)||(this.ps=this.makeScrollbar()),e===c.DESTROY&&this.destroyScrollbar(),e===c.TOGGLE&&(document.body.classList.contains(a.SIDEBAR_MINIMIZED)?this.destroyScrollbar():this.ps=this.makeScrollbar()),e!==c.UPDATE||document.body.classList.contains(a.SIDEBAR_MINIMIZED)||setTimeout(function(){t.destroyScrollbar(),t.ps=t.makeScrollbar()},i.transition))},r.makeScrollbar=function(e){void 0===e&&(e=u.NAVIGATION_CONTAINER);var t=new n(document.querySelector(e),{suppressScrollX:!0});return t.isRtl=!1,t},r.destroyScrollbar=function(){this.ps&&(this.ps.destroy(),this.ps=null)},r.setActiveLink=function(){e(u.NAVIGATION).find(u.NAV_LINK).each(function(t,n){var r=n,o=String(window.location).split("?")[0];"#"===o.substr(o.length-1)&&(o=o.slice(0,-1)),e(e(r))[0].href===o&&e(r).addClass(a.ACTIVE).parents(u.NAV_DROPDOWN_ITEMS).add(r).each(function(t,n){r=n,e(r).parent().addClass(a.OPEN)})})},r._addEventListeners=function(){var t=this;e(u.BRAND_MINIMIZER).on(c.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e(u.BODY).toggleClass(a.BRAND_MINIMIZED)}),e(u.NAV_DROPDOWN_TOGGLE).on(c.CLICK,function(n){n.preventDefault(),n.stopPropagation();var r=n.target;e(r).parent().toggleClass(a.OPEN),t.perfectScrollbar(c.UPDATE)}),e(u.SIDEBAR_MINIMIZER).on(c.CLICK,function(n){n.preventDefault(),n.stopPropagation(),e(u.BODY).toggleClass(a.SIDEBAR_MINIMIZED),t.perfectScrollbar(c.TOGGLE)}),e(u.SIDEBAR_TOGGLER).on(c.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;s(t,l)}),e(u.NAVIGATION+" > "+u.NAV_ITEM+" "+u.NAV_LINK+":not("+u.NAV_DROPDOWN_TOGGLE+")").on(c.CLICK,function(){document.body.classList.remove("sidebar-show")})},t._jQueryInterface=function(){return this.each(function(){var n=e(this),r=n.data("coreui.sidebar");r||(r=new t(this),n.data("coreui.sidebar",r))})},o(t,null,[{key:"VERSION",get:function(){return"2.0.18"}}]),t}();return e(window).on(c.LOAD_DATA_API,function(){var t=e(u.SIDEBAR);f._jQueryInterface.call(t)}),e.fn[t]=f._jQueryInterface,e.fn[t].Constructor=f,e.fn[t].noConflict=function(){return e.fn[t]=r,f._jQueryInterface},f}(t),l=function(){for(var e={},t=document.styleSheets,n="",r=t.length-1;r>-1;r--){for(var o=t[r].cssRules,i=o.length-1;i>-1;i--)if(".ie-custom-properties"===o[i].selectorText){n=o[i].cssText;break}if(n)break}return n=n.substring(n.lastIndexOf("{")+1,n.lastIndexOf("}")),n.split(";").forEach(function(t){if(t){var n=t.split(": ")[0],r=t.split(": ")[1];n&&r&&(e["--"+n.trim()]=r.trim())}}),e},f=function(){return Boolean(document.documentMode)&&document.documentMode>=10},d=function(e){return e.match(/^--.*/i)},p=function(e,t){void 0===t&&(t=document.body);var n;if(d(e)&&f()){n=l()[e]}else n=window.getComputedStyle(t,null).getPropertyValue(e).replace(/^\s/,"");return n},v=function(e){if(void 0===e)throw new Error("Hex color is not defined");if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");var t,n,r;return 7===e.length?(t=parseInt(e.substring(1,3),16),n=parseInt(e.substring(3,5),16),r=parseInt(e.substring(5,7),16)):(t=parseInt(e.substring(1,2),16),n=parseInt(e.substring(2,3),16),r=parseInt(e.substring(3,5),16)),"rgba("+t+", "+n+", "+r+")"},h=function(e,t){if(void 0===t&&(t=100),void 0===e)throw new Error("Hex color is not defined");if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");var n,r,o;return 7===e.length?(n=parseInt(e.substring(1,3),16),r=parseInt(e.substring(3,5),16),o=parseInt(e.substring(5,7),16)):(n=parseInt(e.substring(1,2),16),r=parseInt(e.substring(2,3),16),o=parseInt(e.substring(3,5),16)),"rgba("+n+", "+r+", "+o+", "+t/100+")"},m=function(e){if(void 0===e)throw new Error("Hex color is not defined");if("transparent"===e)return"#00000000";var t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);if(!t)throw new Error(e+" is not a valid rgb color");var n="0"+parseInt(t[1],10).toString(16),r="0"+parseInt(t[2],10).toString(16),o="0"+parseInt(t[3],10).toString(16);return"#"+n.slice(-2)+r.slice(-2)+o.slice(-2)};!function(e){if(void 0===e)throw new TypeError("CoreUI's JavaScript requires jQuery. jQuery must be included before CoreUI's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("CoreUI's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(t),window.getStyle=p,window.hexToRgb=v,window.hexToRgba=h,window.rgbToHex=m,e.AjaxLoad=i,e.AsideMenu=c,e.Sidebar=u,Object.defineProperty(e,"__esModule",{value:!0})}),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=0)}({0:function(e,t,n){e.exports=n("F1kH")},"162o":function(e,t,n){(function(e){function r(e,t){this._id=e,this._clearFn=t}var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;t.setTimeout=function(){return new r(i.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new r(i.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n("mypn"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n("DuR2"))},"21It":function(e,t,n){"use strict";var r=n("FtD3");e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},"5VQ+":function(e,t,n){"use strict";var r=n("cGG2");e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},"7GwW":function(e,t,n){"use strict";var r=n("cGG2"),o=n("21It"),i=n("DQCr"),a=n("oJlt"),s=n("GHBc"),c=n("FtD3"),u="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n("thJu");e.exports=function(e){return new Promise(function(t,l){var f=e.data,d=e.headers;r.isFormData(f)&&delete d["Content-Type"];var p=new XMLHttpRequest,v="onreadystatechange",h=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in p||s(e.url)||(p=new window.XDomainRequest,v="onload",h=!0,p.onprogress=function(){},p.ontimeout=function(){}),e.auth){var m=e.auth.username||"",g=e.auth.password||"";d.Authorization="Basic "+u(m+":"+g)}if(p.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p[v]=function(){if(p&&(4===p.readyState||h)&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:1223===p.status?204:p.status,statusText:1223===p.status?"No Content":p.statusText,headers:n,config:e,request:p};o(t,l,r),p=null}},p.onerror=function(){l(c("Network Error",e,null,p)),p=null},p.ontimeout=function(){l(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var y=n("p1b6"),_=(e.withCredentials||s(e.url))&&e.xsrfCookieName?y.read(e.xsrfCookieName):void 0;_&&(d[e.xsrfHeaderName]=_)}if("setRequestHeader"in p&&r.forEach(d,function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)}),e.withCredentials&&(p.withCredentials=!0),e.responseType)try{p.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){p&&(p.abort(),l(e),p=null)}),void 0===f&&(f=null),p.send(f)})}},A6UI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={mounted:function(){console.log("Component mounted.")}}},DQCr:function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n("cGG2");e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(o.isURLSearchParams(t))i=t.toString();else{var a=[];o.forEach(t,function(e,t){null!==e&&void 0!==e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),i=a.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},"Dlg+":function(e,t,n){window.axios=n("mtWM"),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},DuR2:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},F1kH:function(e,t,n){n("Dlg+"),window.Vue=n("I3G/"),Vue.component("example-component",n("x8/H")),Vue.config.devtools=!0,new Vue({el:"#app"})},FtD3:function(e,t,n){"use strict";var r=n("t8qj");e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},GHBc:function(e,t,n){"use strict";var r=n("cGG2");e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return t=e(window.location.href),function(n){var o=r.isString(n)?e(n):n;return o.protocol===t.protocol&&o.host===t.host}}():function(){return!0}},"I3G/":function(e,t,n){"use strict";(function(t,n){function r(e){return void 0===e||null===e}function o(e){return void 0!==e&&null!==e}function i(e){return!0===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Object]"===Hn.call(e)}function u(e){return"[object RegExp]"===Hn.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function d(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o-1)return e.splice(n,1)}}function h(e,t){return Wn.call(e,t)}function m(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function g(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function y(e,t){for(var n in t)e[n]=t[n];return e}function _(e){for(var t={},n=0;n-1)if(i&&!h(o,"default"))a=!1;else if(""===a||a===Zn(e)){var c=W(String,o.type);(c<0||s0&&(ie((c=e(c,(n||"")+"_"+s))[0])&&ie(l)&&(f[u]=E(l.text+c[0].text),c.shift()),f.push.apply(f,c)):a(c)?ie(l)?f[u]=E(l.text+c):""!==c&&f.push(E(c)):ie(c)&&ie(l)?f[u]=E(l.text+c.text):(i(t._isVList)&&o(c.tag)&&r(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+s+"__"),f.push(c)));return f}(e):void 0}function ie(e){return o(e)&&o(e.text)&&!1===e.isComment}function ae(e,t){return(e.__esModule||Cr&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function se(e){return e.isComment&&e.asyncFactory}function ce(e){if(Array.isArray(e))for(var t=0;tn+1&&e(t,n+1)},document.getElementsByTagName("body")[0].appendChild(o)};e.ajax({type:"GET",url:o.subpagesDirectory+t,dataType:"html",beforeSend:function(){e(a.VIEW_SCRIPT).remove()},success:function(r){var o=document.createElement("div");o.innerHTML=r;var a=Array.from(o.querySelectorAll("script")).map(function(e){return e.attributes.getNamedItem("src").nodeValue});o.querySelectorAll("script").forEach(function(e){return e.parentNode.removeChild(e)}),e("body").animate({scrollTop:0},0),e(n).html(o),a.length&&i(a),window.location.hash=t},error:function(){window.location.href=o.errorPage}})},n.setUpUrl=function(t){e(a.NAV_LINK).removeClass(r.ACTIVE),e(a.NAV_DROPDOWN).removeClass(r.OPEN),e(a.NAV_DROPDOWN+':has(a[href="'+t.replace(/^\//,"").split("?")[0]+'"])').addClass(r.OPEN),e(a.NAV_ITEM+' a[href="'+t.replace(/^\//,"").split("?")[0]+'"]').addClass(r.ACTIVE),this.loadPage(t)},n.loadBlank=function(e){window.open(e)},n.loadTop=function(e){window.location=e},n._getConfig=function(e){return e=Object.assign({},s,e)},n._addEventListeners=function(){var t=this;e(document).on(i.CLICK,a.NAV_LINK+'[href!="#"]',function(e){e.preventDefault(),e.stopPropagation(),"_top"===e.currentTarget.target?t.loadTop(e.currentTarget.href):"_blank"===e.currentTarget.target?t.loadBlank(e.currentTarget.href):t.setUpUrl(e.currentTarget.getAttribute("href"))})},t._jQueryInterface=function(n){return this.each(function(){var r=e(this).data("coreui.ajaxLoad"),o="object"==typeof n&&n;r||(r=new t(this,o),e(this).data("coreui.ajaxLoad",r))})},o(t,null,[{key:"VERSION",get:function(){return"2.0.18"}},{key:"Default",get:function(){return s}}]),t}();return e.fn[t]=c._jQueryInterface,e.fn[t].Constructor=c,e.fn[t].noConflict=function(){return e.fn[t]=n,c._jQueryInterface},c}(t),a=function(e){return-1!==e.map(function(e){return document.body.classList.contains(e)}).indexOf(!0)},s=function(e,t){var n=t.indexOf(e),r=t.slice(0,n+1);a(r)?r.map(function(e){return document.body.classList.remove(e)}):document.body.classList.add(e)},c=function(e){var t="aside-menu",n="coreui.aside-menu",r=e.fn[t],i={CLICK:"click",LOAD_DATA_API:"load.coreui.aside-menu.data-api",TOGGLE:"toggle"},a={BODY:"body",ASIDE_MENU:".aside-menu",ASIDE_MENU_TOGGLER:".aside-menu-toggler"},c=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],u=function(){function t(e){this._element=e,this._addEventListeners()}return t.prototype._addEventListeners=function(){e(a.ASIDE_MENU_TOGGLER).on(i.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;s(t,c)})},t._jQueryInterface=function(){return this.each(function(){var r=e(this),o=r.data(n);o||(o=new t(this),r.data(n,o))})},o(t,null,[{key:"VERSION",get:function(){return"2.0.18"}}]),t}();return e(window).on(i.LOAD_DATA_API,function(){var t=e(a.ASIDE_MENU);u._jQueryInterface.call(t)}),e.fn[t]=u._jQueryInterface,e.fn[t].Constructor=u,e.fn[t].noConflict=function(){return e.fn[t]=r,u._jQueryInterface},u}(t),u=function(e){var t="sidebar",r=e.fn[t],i={transition:400},a={ACTIVE:"active",BRAND_MINIMIZED:"brand-minimized",NAV_DROPDOWN_TOGGLE:"nav-dropdown-toggle",OPEN:"open",SIDEBAR_FIXED:"sidebar-fixed",SIDEBAR_MINIMIZED:"sidebar-minimized",SIDEBAR_OFF_CANVAS:"sidebar-off-canvas"},c={CLICK:"click",DESTROY:"destroy",INIT:"init",LOAD_DATA_API:"load.coreui.sidebar.data-api",TOGGLE:"toggle",UPDATE:"update"},u={BODY:"body",BRAND_MINIMIZER:".brand-minimizer",NAV_DROPDOWN_TOGGLE:".nav-dropdown-toggle",NAV_DROPDOWN_ITEMS:".nav-dropdown-items",NAV_ITEM:".nav-item",NAV_LINK:".nav-link",NAVIGATION_CONTAINER:".sidebar-nav",NAVIGATION:".sidebar-nav > .nav",SIDEBAR:".sidebar",SIDEBAR_MINIMIZER:".sidebar-minimizer",SIDEBAR_TOGGLER:".sidebar-toggler"},l=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],f=function(){function t(e){this._element=e,this.ps=null,this.perfectScrollbar(c.INIT),this.setActiveLink(),this._addEventListeners()}var r=t.prototype;return r.perfectScrollbar=function(e){var t=this;void 0!==n&&(e!==c.INIT||document.body.classList.contains(a.SIDEBAR_MINIMIZED)||(this.ps=this.makeScrollbar()),e===c.DESTROY&&this.destroyScrollbar(),e===c.TOGGLE&&(document.body.classList.contains(a.SIDEBAR_MINIMIZED)?this.destroyScrollbar():this.ps=this.makeScrollbar()),e!==c.UPDATE||document.body.classList.contains(a.SIDEBAR_MINIMIZED)||setTimeout(function(){t.destroyScrollbar(),t.ps=t.makeScrollbar()},i.transition))},r.makeScrollbar=function(e){void 0===e&&(e=u.NAVIGATION_CONTAINER);var t=new n(document.querySelector(e),{suppressScrollX:!0});return t.isRtl=!1,t},r.destroyScrollbar=function(){this.ps&&(this.ps.destroy(),this.ps=null)},r.setActiveLink=function(){e(u.NAVIGATION).find(u.NAV_LINK).each(function(t,n){var r=n,o=String(window.location).split("?")[0];"#"===o.substr(o.length-1)&&(o=o.slice(0,-1)),e(e(r))[0].href===o&&e(r).addClass(a.ACTIVE).parents(u.NAV_DROPDOWN_ITEMS).add(r).each(function(t,n){r=n,e(r).parent().addClass(a.OPEN)})})},r._addEventListeners=function(){var t=this;e(u.BRAND_MINIMIZER).on(c.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e(u.BODY).toggleClass(a.BRAND_MINIMIZED)}),e(u.NAV_DROPDOWN_TOGGLE).on(c.CLICK,function(n){n.preventDefault(),n.stopPropagation();var r=n.target;e(r).parent().toggleClass(a.OPEN),t.perfectScrollbar(c.UPDATE)}),e(u.SIDEBAR_MINIMIZER).on(c.CLICK,function(n){n.preventDefault(),n.stopPropagation(),e(u.BODY).toggleClass(a.SIDEBAR_MINIMIZED),t.perfectScrollbar(c.TOGGLE)}),e(u.SIDEBAR_TOGGLER).on(c.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;s(t,l)}),e(u.NAVIGATION+" > "+u.NAV_ITEM+" "+u.NAV_LINK+":not("+u.NAV_DROPDOWN_TOGGLE+")").on(c.CLICK,function(){document.body.classList.remove("sidebar-show")})},t._jQueryInterface=function(){return this.each(function(){var n=e(this),r=n.data("coreui.sidebar");r||(r=new t(this),n.data("coreui.sidebar",r))})},o(t,null,[{key:"VERSION",get:function(){return"2.0.18"}}]),t}();return e(window).on(c.LOAD_DATA_API,function(){var t=e(u.SIDEBAR);f._jQueryInterface.call(t)}),e.fn[t]=f._jQueryInterface,e.fn[t].Constructor=f,e.fn[t].noConflict=function(){return e.fn[t]=r,f._jQueryInterface},f}(t),l=function(){for(var e={},t=document.styleSheets,n="",r=t.length-1;r>-1;r--){for(var o=t[r].cssRules,i=o.length-1;i>-1;i--)if(".ie-custom-properties"===o[i].selectorText){n=o[i].cssText;break}if(n)break}return n=n.substring(n.lastIndexOf("{")+1,n.lastIndexOf("}")),n.split(";").forEach(function(t){if(t){var n=t.split(": ")[0],r=t.split(": ")[1];n&&r&&(e["--"+n.trim()]=r.trim())}}),e},f=function(){return Boolean(document.documentMode)&&document.documentMode>=10},d=function(e){return e.match(/^--.*/i)},p=function(e,t){void 0===t&&(t=document.body);var n;if(d(e)&&f()){n=l()[e]}else n=window.getComputedStyle(t,null).getPropertyValue(e).replace(/^\s/,"");return n},v=function(e){if(void 0===e)throw new Error("Hex color is not defined");if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");var t,n,r;return 7===e.length?(t=parseInt(e.substring(1,3),16),n=parseInt(e.substring(3,5),16),r=parseInt(e.substring(5,7),16)):(t=parseInt(e.substring(1,2),16),n=parseInt(e.substring(2,3),16),r=parseInt(e.substring(3,5),16)),"rgba("+t+", "+n+", "+r+")"},h=function(e,t){if(void 0===t&&(t=100),void 0===e)throw new Error("Hex color is not defined");if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");var n,r,o;return 7===e.length?(n=parseInt(e.substring(1,3),16),r=parseInt(e.substring(3,5),16),o=parseInt(e.substring(5,7),16)):(n=parseInt(e.substring(1,2),16),r=parseInt(e.substring(2,3),16),o=parseInt(e.substring(3,5),16)),"rgba("+n+", "+r+", "+o+", "+t/100+")"},m=function(e){if(void 0===e)throw new Error("Hex color is not defined");if("transparent"===e)return"#00000000";var t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);if(!t)throw new Error(e+" is not a valid rgb color");var n="0"+parseInt(t[1],10).toString(16),r="0"+parseInt(t[2],10).toString(16),o="0"+parseInt(t[3],10).toString(16);return"#"+n.slice(-2)+r.slice(-2)+o.slice(-2)};!function(e){if(void 0===e)throw new TypeError("CoreUI's JavaScript requires jQuery. jQuery must be included before CoreUI's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("CoreUI's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(t),window.getStyle=p,window.hexToRgb=v,window.hexToRgba=h,window.rgbToHex=m,e.AjaxLoad=i,e.AsideMenu=c,e.Sidebar=u,Object.defineProperty(e,"__esModule",{value:!0})}),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=0)}({0:function(e,t,n){e.exports=n("F1kH")},"162o":function(e,t,n){(function(e){function r(e,t){this._id=e,this._clearFn=t}var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;t.setTimeout=function(){return new r(i.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new r(i.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n("mypn"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n("DuR2"))},"21It":function(e,t,n){"use strict";var r=n("FtD3");e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},"5VQ+":function(e,t,n){"use strict";var r=n("cGG2");e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},"7GwW":function(e,t,n){"use strict";var r=n("cGG2"),o=n("21It"),i=n("DQCr"),a=n("oJlt"),s=n("GHBc"),c=n("FtD3"),u="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n("thJu");e.exports=function(e){return new Promise(function(t,l){var f=e.data,d=e.headers;r.isFormData(f)&&delete d["Content-Type"];var p=new XMLHttpRequest,v="onreadystatechange",h=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in p||s(e.url)||(p=new window.XDomainRequest,v="onload",h=!0,p.onprogress=function(){},p.ontimeout=function(){}),e.auth){var m=e.auth.username||"",g=e.auth.password||"";d.Authorization="Basic "+u(m+":"+g)}if(p.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p[v]=function(){if(p&&(4===p.readyState||h)&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:1223===p.status?204:p.status,statusText:1223===p.status?"No Content":p.statusText,headers:n,config:e,request:p};o(t,l,r),p=null}},p.onerror=function(){l(c("Network Error",e,null,p)),p=null},p.ontimeout=function(){l(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var y=n("p1b6"),_=(e.withCredentials||s(e.url))&&e.xsrfCookieName?y.read(e.xsrfCookieName):void 0;_&&(d[e.xsrfHeaderName]=_)}if("setRequestHeader"in p&&r.forEach(d,function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)}),e.withCredentials&&(p.withCredentials=!0),e.responseType)try{p.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){p&&(p.abort(),l(e),p=null)}),void 0===f&&(f=null),p.send(f)})}},A6UI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={mounted:function(){console.log("Component mounted.")}}},DQCr:function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n("cGG2");e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(o.isURLSearchParams(t))i=t.toString();else{var a=[];o.forEach(t,function(e,t){null!==e&&void 0!==e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),i=a.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},"Dlg+":function(e,t,n){window.axios=n("mtWM"),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},DuR2:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},F1kH:function(e,t,n){n("Dlg+"),window.Vue=n("I3G/"),Vue.component("example-component",n("x8/H")),new Vue({el:"#app"})},FtD3:function(e,t,n){"use strict";var r=n("t8qj");e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},GHBc:function(e,t,n){"use strict";var r=n("cGG2");e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return t=e(window.location.href),function(n){var o=r.isString(n)?e(n):n;return o.protocol===t.protocol&&o.host===t.host}}():function(){return!0}},"I3G/":function(e,t,n){"use strict";(function(t,n){function r(e){return void 0===e||null===e}function o(e){return void 0!==e&&null!==e}function i(e){return!0===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Object]"===Hn.call(e)}function u(e){return"[object RegExp]"===Hn.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function d(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o-1)return e.splice(n,1)}}function h(e,t){return Wn.call(e,t)}function m(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function g(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function y(e,t){for(var n in t)e[n]=t[n];return e}function _(e){for(var t={},n=0;n-1)if(i&&!h(o,"default"))a=!1;else if(""===a||a===Zn(e)){var c=W(String,o.type);(c<0||s0&&(ie((c=e(c,(n||"")+"_"+s))[0])&&ie(l)&&(f[u]=E(l.text+c[0].text),c.shift()),f.push.apply(f,c)):a(c)?ie(l)?f[u]=E(l.text+c):""!==c&&f.push(E(c)):ie(c)&&ie(l)?f[u]=E(l.text+c.text):(i(t._isVList)&&o(c.tag)&&r(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+s+"__"),f.push(c)));return f}(e):void 0}function ie(e){return o(e)&&o(e.text)&&!1===e.isComment}function ae(e,t){return(e.__esModule||Cr&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function se(e){return e.isComment&&e.asyncFactory}function ce(e){if(Array.isArray(e))for(var t=0;t=0||n.indexOf(e[o])<0)&&r.push(e[o]);return r}return e}function He(e){this._init(e)}function qe(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=e.name||n.options.name,a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=U(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)_e(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)we(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,rr.forEach(function(e){a[e]=n[e]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=y({},a.options),o[r]=a,a}}function Ke(e){return e&&(e.Ctor.options.name||e.tag)}function We(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function ze(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=Ke(a.componentOptions);s&&!t(s)&&Je(n,i,r,o)}}}function Je(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,v(n,t)}function Xe(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Qe(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=Qe(t,n.data));return function(e,t){return o(e)||o(t)?Ze(e,Ye(t)):""}(t.staticClass,t.class)}function Qe(e,t){return{staticClass:Ze(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function Ze(e,t){return e?t?e+" "+t:e:t||""}function Ye(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r-1?ft(e,t,n):$o(t)?Eo(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Ao(t)?e.setAttribute(t,Eo(n)||"false"===n?"false":"true"):Oo(t)?Eo(n)?e.removeAttributeNS(Io,To(t)):e.setAttributeNS(Io,t,n):ft(e,t,n)}function ft(e,t,n){if(Eo(n))e.removeAttribute(t);else{if(dr&&!pr&&"TEXTAREA"===e.tagName&&"placeholder"===t&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}function dt(e,t){var n=t.elm,i=t.data,a=e.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Xe(t),c=n._transitionClasses;o(c)&&(s=Ze(s,Ye(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}function pt(e){function t(){(a||(a=[])).push(e.slice(v,o).trim()),v=o+1}var n,r,o,i,a,s=!1,c=!1,u=!1,l=!1,f=0,d=0,p=0,v=0;for(o=0;o=0&&" "===(m=e.charAt(h));h--);m&&qo.test(m)||(l=!0)}}else void 0===i?(v=o+1,i=e.slice(0,o).trim()):t();if(void 0===i?i=e.slice(0,o).trim():0!==v&&t(),a)for(o=0;o-1?{exp:e.slice(0,mo),key:'"'+e.slice(mo+1)+'"'}:{exp:e,key:null};for(vo=e,mo=go=yo=0;!Ot();)Tt(ho=It())?kt(ho):91===ho&&Et(ho);return{exp:e.slice(0,go),key:e.slice(go+1,yo)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function It(){return vo.charCodeAt(++mo)}function Ot(){return mo>=po}function Tt(e){return 34===e||39===e}function Et(e){var t=1;for(go=mo;!Ot();)if(Tt(e=It()))kt(e);else if(91===e&&t++,93===e&&t--,0===t){yo=mo;break}}function kt(e){for(var t=e;!Ot()&&(e=It())!==t;);}function St(e,t,n,r,o){var i;t=(i=t)._withTask||(i._withTask=function(){Vr=!0;var e=i.apply(null,arguments);return Vr=!1,e}),n&&(t=function(e,t,n){var r=_o;return function o(){null!==e.apply(null,arguments)&&Nt(t,o,n,r)}}(t,e,r)),_o.addEventListener(e,t,gr?{capture:r,passive:o}:r)}function Nt(e,t,n,r){(r||_o).removeEventListener(e,t._withTask||t,n)}function Lt(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};_o=t.elm,function(e){if(o(e[Ko])){var t=dr?"change":"input";e[t]=[].concat(e[Ko],e[t]||[]),delete e[Ko]}o(e[Wo])&&(e.change=[].concat(e[Wo],e.change||[]),delete e[Wo])}(n),te(n,i,St,Nt,t.context),_o=void 0}}function Dt(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,i,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in o(c.__ob__)&&(c=t.data.domProps=y({},c)),s)r(c[n])&&(a[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=i;var u=r(i)?"":String(i);jt(a,u)&&(a.value=u)}else a[n]=i}}}function jt(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(o(r)){if(r.lazy)return!1;if(r.number)return d(n)!==d(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}function Rt(e){var t=Pt(e.style);return e.staticStyle?y(e.staticStyle,t):t}function Pt(e){return Array.isArray(e)?_(e):"string"==typeof e?Xo(e):e}function Mt(e,t){var n=t.data,i=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var a,s,c=t.elm,u=i.staticStyle,l=i.normalizedStyle||i.style||{},f=u||l,d=Pt(t.data.style)||{};t.data.normalizedStyle=o(d.__ob__)?y({},d):d;var p=function(e,t){for(var n,r={},o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=Rt(o.data))&&y(r,n);(n=Rt(e.data))&&y(r,n);for(var i=e;i=i.parent;)i.data&&(n=Rt(i.data))&&y(r,n);return r}(t);for(s in f)r(p[s])&&Yo(c,s,"");for(s in p)(a=p[s])!==f[s]&&Yo(c,s,null==a?"":a)}}function Bt(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ft(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Vt(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&y(t,ri(e.name||"v")),y(t,e),t}return"string"==typeof e?ri(e):void 0}}function Ut(e){fi(function(){fi(e)})}function Gt(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Bt(e,t))}function Ht(e,t){e._transitionClasses&&v(e._transitionClasses,t),Ft(e,t)}function qt(e,t,n){var r=Kt(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===ii?ci:li,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=ii,l=a,f=i.length):t===ai?u>0&&(n=ai,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?ii:ai:null)?n===ii?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===ii&&di.test(r[si+"Property"])}}function Wt(e,t){for(;e.length1}function Yt(e,t){!0!==t.data.show&&Jt(t)}function en(e,t,n){tn(e,t,n),(dr||vr)&&setTimeout(function(){tn(e,t,n)},0)}function tn(e,t,n){var r=t.value,o=e.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=e.options.length;s-1,a.selected!==i&&(a.selected=i);else if(w(rn(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function nn(e,t){return t.every(function(t){return!w(t,e)})}function rn(e){return"_value"in e?e._value:e.value}function on(e){e.target.composing=!0}function an(e){e.target.composing&&(e.target.composing=!1,sn(e.target,"input"))}function sn(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function cn(e){return!e.componentInstance||e.data&&e.data.transition?e:cn(e.componentInstance._vnode)}function un(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?un(ce(t.children)):e}function ln(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var i in o)t[Jn(i)]=o[i];return t}function fn(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function dn(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function pn(e){e.data.newPos=e.elm.getBoundingClientRect()}function vn(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}function hn(e,t){var n=t?xi(t):wi;if(n.test(e)){for(var r,o,i,a=[],s=[],c=n.lastIndex=0;r=n.exec(e);){(o=r.index)>c&&(s.push(i=e.slice(c,o)),a.push(JSON.stringify(i)));var u=pt(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=o+r[0].length}return c=0&&a[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(var c=a.length-1;c>=o;c--)t.end&&t.end(a[c].tag,n,r);a.length=o,i=o&&a[o-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var o,i,a=[],s=t.expectHTML,c=t.isUnaryTag||er,u=t.canBeLeftOpenTag||er,l=0;e;){if(o=e,i&&Xi(i)){var f=0,d=i.toLowerCase(),p=Qi[d]||(Qi[d]=new RegExp("([\\s\\S]*?)(]*>)","i")),v=e.replace(p,function(e,n,r){return f=r.length,Xi(d)||"noscript"===d||(n=n.replace(//g,"$1").replace(//g,"$1")),na(d,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});l+=e.length-v.length,e=v,r(d,l-f,l)}else{var h=e.indexOf("<");if(0===h){if(Pi.test(e)){var m=e.indexOf("--\x3e");if(m>=0){t.shouldKeepComment&&t.comment(e.substring(4,m)),n(m+3);continue}}if(Mi.test(e)){var g=e.indexOf("]>");if(g>=0){n(g+2);continue}}var y=e.match(Ri);if(y){n(y[0].length);continue}var _=e.match(ji);if(_){var b=l;n(_[0].length),r(_[1],b,l);continue}var w=function(){var t=e.match(Li);if(t){var r,o,i={tagName:t[1],attrs:[],start:l};for(n(t[0].length);!(r=e.match(Di))&&(o=e.match(ki));)n(o[0].length),i.attrs.push(o);if(r)return i.unarySlash=r[1],n(r[0].length),i.end=l,i}}();if(w){(function(e){var n=e.tagName,o=e.unarySlash;s&&("p"===i&&Ei(n)&&r(i),u(n)&&i===n&&r(n));for(var l=c(n)||!!o,f=e.attrs.length,d=new Array(f),p=0;p=0){for(x=e.slice(h);!(ji.test(x)||Li.test(x)||Pi.test(x)||Mi.test(x)||(A=x.indexOf("<",1))<0);)h+=A,x=e.slice(h);C=e.substring(0,h),n(h)}h<0&&(C=e,e=""),t.chars&&C&&t.chars(C)}if(e===o){t.chars&&t.chars(e);break}}r()}(e,{warn:Fi,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,start:function(e,a,u){var l=o&&o.ns||Wi(e);dr&&"svg"===l&&(a=function(e){for(var t=[],n=0;n':'
',Ia.innerHTML.indexOf(" ")>0}var Un,Gn=Object.freeze({}),Hn=Object.prototype.toString,qn=p("slot,component",!0),Kn=p("key,ref,slot,slot-scope,is"),Wn=Object.prototype.hasOwnProperty,zn=/-(\w)/g,Jn=m(function(e){return e.replace(zn,function(e,t){return t?t.toUpperCase():""})}),Xn=m(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Qn=/\B([A-Z])/g,Zn=m(function(e){return e.replace(Qn,"-$1").toLowerCase()}),Yn=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n},er=function(e,t,n){return!1},tr=function(e){return e},nr="data-server-rendered",rr=["component","directive","filter"],or=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],ir={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:er,isReservedAttr:er,isUnknownElement:er,getTagNamespace:b,parsePlatformTagName:tr,mustUseProp:er,_lifecycleHooks:or},ar=/[^\w.$]/,sr="__proto__"in{},cr="undefined"!=typeof window,ur="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,lr=ur&&WXEnvironment.platform.toLowerCase(),fr=cr&&window.navigator.userAgent.toLowerCase(),dr=fr&&/msie|trident/.test(fr),pr=fr&&fr.indexOf("msie 9.0")>0,vr=fr&&fr.indexOf("edge/")>0,hr=(fr&&fr.indexOf("android"),fr&&/iphone|ipad|ipod|ios/.test(fr)||"ios"===lr),mr=(fr&&/chrome\/\d+/.test(fr),{}.watch),gr=!1;if(cr)try{var yr={};Object.defineProperty(yr,"passive",{get:function(){gr=!0}}),window.addEventListener("test-passive",null,yr)}catch(e){}var _r,br=function(){return void 0===Un&&(Un=!cr&&!ur&&void 0!==t&&"server"===t.process.env.VUE_ENV),Un},wr=cr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Cr="undefined"!=typeof Symbol&&I(Symbol)&&"undefined"!=typeof Reflect&&I(Reflect.ownKeys);_r="undefined"!=typeof Set&&I(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var xr=b,Ar=0,$r=function(){this.id=Ar++,this.subs=[]};$r.prototype.addSub=function(e){this.subs.push(e)},$r.prototype.removeSub=function(e){v(this.subs,e)},$r.prototype.depend=function(){$r.target&&$r.target.addDep(this)},$r.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;teo&&Jr[n].id>e.id;)n--;Jr.splice(n+1,0,e)}else Jr.push(e);Zr||(Zr=!0,Z(ye))}}(this)},no.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){z(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},no.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},no.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},no.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var ro={enumerable:!0,configurable:!0,get:b,set:b},oo={lazy:!0};Re(Pe.prototype);var io={init:function(e,t,n,r){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var i=e;io.prepatch(i,i)}else(e.componentInstance=function(e,t,n,r){var i={_isComponent:!0,parent:t,_parentVnode:e,_parentElm:n||null,_refElm:r||null},a=e.data.inlineTemplate;return o(a)&&(i.render=a.render,i.staticRenderFns=a.staticRenderFns),new e.componentOptions.Ctor(i)}(e,zr,n,r)).$mount(t?e.elm:void 0,t)},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,o){var i=!!(o||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==Gn);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o,e.$attrs=r.data.attrs||Gn,e.$listeners=n||Gn,t&&e.$options.props){S(!1);for(var a=e._props,s=e.$options._propKeys||[],c=0;c1?g(n):n;for(var r=g(arguments,1),o=0,i=n.length;oparseInt(this.max)&&Je(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return ir}};Object.defineProperty(e,"config",t),e.util={warn:xr,extend:y,mergeOptions:U,defineReactive:j},e.set=R,e.delete=P,e.nextTick=Z,e.options=Object.create(null),rr.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,y(e.options.components,fo),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=g(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=U(this.options,e),this}}(e),qe(e),function(e){rr.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(He),Object.defineProperty(He.prototype,"$isServer",{get:br}),Object.defineProperty(He.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(He,"FunctionalRenderContext",{value:Pe}),He.version="2.5.17";var po,vo,ho,mo,go,yo,_o,bo,wo=p("style,class"),Co=p("input,textarea,option,select,progress"),xo=function(e,t,n){return"value"===n&&Co(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Ao=p("contenteditable,draggable,spellcheck"),$o=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Io="http://www.w3.org/1999/xlink",Oo=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},To=function(e){return Oo(e)?e.slice(6,e.length):""},Eo=function(e){return null==e||!1===e},ko={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},So=p("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),No=p("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Lo=function(e){return So(e)||No(e)},Do=Object.create(null),jo=p("text,number,password,search,email,tel,url"),Ro=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(ko[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Po={create:function(e,t){nt(t)},update:function(e,t){e.data.ref!==t.data.ref&&(nt(e,!0),nt(t))},destroy:function(e){nt(e,!0)}},Mo=new Or("",{},[]),Bo=["create","activate","update","remove","destroy"],Fo={create:it,update:it,destroy:function(e){it(e,Mo)}},Vo=Object.create(null),Uo=[Po,Fo],Go={create:ut,update:ut},Ho={create:dt,update:dt},qo=/[\w).+\-_$\]]/,Ko="__r",Wo="__c",zo={create:Lt,update:Lt},Jo={create:Dt,update:Dt},Xo=m(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}),Qo=/^--/,Zo=/\s*!important$/,Yo=function(e,t,n){if(Qo.test(t))e.style.setProperty(t,n);else if(Zo.test(n))e.style.setProperty(t,n.replace(Zo,""),"important");else{var r=ti(t);if(Array.isArray(n))for(var o=0,i=n.length;op?v(e,r(i[b+1])?null:i[b+1].elm,i,d,b,a):d>b&&m(0,t,f,p)}(c,d,p,a,s):o(p)?(o(e.text)&&I.setTextContent(c,""),v(c,null,p,0,p.length-1,a)):o(d)?m(0,d,0,d.length-1):o(e.text)&&I.setTextContent(c,""):e.text!==t.text&&I.setTextContent(c,t.text),o(f)&&o(u=f.hook)&&o(u=u.postpatch)&&u(e,t)}}}function b(e,t,n){if(i(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1?Do[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Do[e]=/HTMLUnknownElement/.test(t.toString())},y(He.options.directives,hi),y(He.options.components,_i),He.prototype.__patch__=cr?pi:b,He.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=Er),ge(e,"beforeMount"),new no(e,function(){e._update(e._render(),n)},b,null,!0),n=!1,null==e.$vnode&&(e._isMounted=!0,ge(e,"mounted")),e}(this,e=e&&cr?tt(e):void 0,t)},cr&&setTimeout(function(){ir.devtools&&wr&&wr.emit("init",He)},0);var bi,wi=/\{\{((?:.|\n)+?)\}\}/g,Ci=/[-.*+?^${}()|[\]\/\\]/g,xi=m(function(e){var t=e[0].replace(Ci,"\\$&"),n=e[1].replace(Ci,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),Ai={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=xt(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Ct(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},$i={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=xt(e,"style");n&&(e.staticStyle=JSON.stringify(Xo(n)));var r=Ct(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},Ii=function(e){return(bi=bi||document.createElement("div")).innerHTML=e,bi.textContent },Oi=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ti=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Ei=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ki=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Si="[a-zA-Z_][\\w\\-\\.]*",Ni="((?:"+Si+"\\:)?"+Si+")",Li=new RegExp("^<"+Ni),Di=/^\s*(\/?)>/,ji=new RegExp("^<\\/"+Ni+"[^>]*>"),Ri=/^]+>/i,Pi=/^",""":'"',"&":"&"," ":"\n"," ":"\t"},Yi=/&(?:lt|gt|quot|amp);/g,ea=/&(?:lt|gt|quot|amp|#10|#9);/g,ta=p("pre,textarea",!0),na=function(e,t){return e&&ta(e)&&"\n"===t[0]},ra=/^@|^v-on:/,oa=/^v-|^@|^:/,ia=/([^]*?)\s+(?:in|of)\s+([^]*)/,aa=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,sa=/^\(|\)$/g,ca=/:(.*)$/,ua=/^:|^v-bind:/,la=/\.[^.]+/g,fa=m(Ii),da=/^xmlns:NS\d+/,pa=/^NS\d+:/,va=[Ai,$i,{preTransformNode:function(e,t){if("input"===e.tag){var n,r=e.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=Ct(e,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var o=xt(e,"v-if",!0),i=o?"&&("+o+")":"",a=null!=xt(e,"v-else",!0),s=xt(e,"v-else-if",!0),c=xn(e);bn(c),_t(c,"type","checkbox"),_n(c,t),c.processed=!0,c.if="("+n+")==='checkbox'"+i,wn(c,{exp:c.if,block:c});var u=xn(e);xt(u,"v-for",!0),_t(u,"type","radio"),_n(u,t),wn(c,{exp:"("+n+")==='radio'"+i,block:u});var l=xn(e);return xt(l,"v-for",!0),_t(l,":type",n),_n(l,t),wn(c,{exp:o,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}}],ha={expectHTML:!0,modules:va,directives:{model:function(e,t,n){var r=t.value,o=t.modifiers,i=e.tag,a=e.attrsMap.type;if(e.component)return At(e,r,o),!1;if("select"===i)!function(e,t,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";r=r+" "+$t(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),wt(e,"change",r,null,!0)}(e,r,o);else if("input"===i&&"checkbox"===a)!function(e,t,n){var r=n&&n.number,o=Ct(e,"value")||"null",i=Ct(e,"true-value")||"true",a=Ct(e,"false-value")||"false";gt(e,"checked","Array.isArray("+t+")?_i("+t+","+o+")>-1"+("true"===i?":("+t+")":":_q("+t+","+i+")")),wt(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+$t(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+$t(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+$t(t,"$$c")+"}",null,!0)}(e,r,o);else if("input"===i&&"radio"===a)!function(e,t,n){var r=n&&n.number,o=Ct(e,"value")||"null";gt(e,"checked","_q("+t+","+(o=r?"_n("+o+")":o)+")"),wt(e,"change",$t(t,o),null,!0)}(e,r,o);else if("input"===i||"textarea"===i)!function(e,t,n){var r=e.attrsMap.type,o=n||{},i=o.lazy,a=o.number,s=o.trim,c=!i&&"range"!==r,u=i?"change":"range"===r?Ko:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=$t(t,l);c&&(f="if($event.target.composing)return;"+f),gt(e,"value","("+t+")"),wt(e,u,f,null,!0),(s||a)&&wt(e,"blur","$forceUpdate()")}(e,r,o);else if(!ir.isReservedTag(i))return At(e,r,o),!1;return!0},text:function(e,t){t.value&>(e,"textContent","_s("+t.value+")")},html:function(e,t){t.value&>(e,"innerHTML","_s("+t.value+")")}},isPreTag:function(e){return"pre"===e},isUnaryTag:Oi,mustUseProp:xo,canBeLeftOpenTag:Ti,isReservedTag:Lo,getTagNamespace:et,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(va)},ma=m(function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))}),ga=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,ya=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,_a={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ba={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete"]},wa=function(e){return"if("+e+")return null;"},Ca={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:wa("$event.target !== $event.currentTarget"),ctrl:wa("!$event.ctrlKey"),shift:wa("!$event.shiftKey"),alt:wa("!$event.altKey"),meta:wa("!$event.metaKey"),left:wa("'button' in $event && $event.button !== 0"),middle:wa("'button' in $event && $event.button !== 1"),right:wa("'button' in $event && $event.button !== 2")},xa={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:b},Aa=function(e){this.options=e,this.warn=e.warn||ht,this.transforms=mt(e.modules,"transformCode"),this.dataGenFns=mt(e.modules,"genData"),this.directives=y(y({},xa),e.directives);var t=e.isReservedTag||er;this.maybeComponent=function(e){return!t(e.tag)},this.onceId=0,this.staticRenderFns=[]};new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");var $a,Ia,Oa=($a=function(e,t){var n=yn(e.trim(),t);!1!==t.optimize&&An(n,t);var r=Tn(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(e){function t(t,n){var r=Object.create(e),o=[],i=[];if(r.warn=function(e,t){(t?i:o).push(e)},n)for(var a in n.modules&&(r.modules=(e.modules||[]).concat(n.modules)),n.directives&&(r.directives=y(Object.create(e.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(r[a]=n[a]);var s=$a(t,r);return s.errors=o,s.tips=i,s}return{compile:t,compileToFunctions:function(e){var t=Object.create(null);return function(n,r,o){(r=y({},r)).warn,delete r.warn;var i=r.delimiters?String(r.delimiters)+n:n;if(t[i])return t[i];var a=e(n,r),s={},c=[];return s.render=Fn(a.render,c),s.staticRenderFns=a.staticRenderFns.map(function(e){return Fn(e,c)}),t[i]=s}}(t)}})(ha).compileToFunctions,Ta=!!cr&&Vn(!1),Ea=!!cr&&Vn(!0),ka=m(function(e){var t=tt(e);return t&&t.innerHTML}),Sa=He.prototype.$mount;He.prototype.$mount=function(e,t){if((e=e&&tt(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ka(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var o=Oa(r,{shouldDecodeNewlines:Ta,shouldDecodeNewlinesForHref:Ea,delimiters:n.delimiters,comments:n.comments},this),i=o.render,a=o.staticRenderFns;n.render=i,n.staticRenderFns=a}}return Sa.call(this,e,t)},He.compile=Oa,e.exports=He}).call(t,n("DuR2"),n("162o").setImmediate)},"JP+z":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(e){c.headers[e]={}}),i.forEach(["post","put","patch"],function(e){c.headers[e]=i.merge(s)}),e.exports=c}).call(t,n("W2nU"))},MxN9:function(e,t){e.exports={render:function(){return this.$createElement,this._self._c,this._m(0)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"container"},[t("div",{staticClass:"row justify-content-center"},[t("div",{staticClass:"col-md-8"},[t("div",{staticClass:"card card-default"},[t("div",{staticClass:"card-header"},[this._v("Example Component")]),this._v(" "),t("div",{staticClass:"card-body"},[this._v("\n I'm an example component.\n ")])])])])])}]}},Re3r:function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},TNV1:function(e,t,n){"use strict";var r=n("cGG2");e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},"VU/8":function(e,t){e.exports=function(e,t,n,r,o,i){var a,s=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(a=e,s=e.default);var u,l="function"==typeof s?s.options:s;if(t&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId=o),i?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=u):r&&(u=r),u){var f=l.functional,d=f?l.render:l.beforeCreate;f?(l._injectStyles=u,l.render=function(e,t){return u.call(t),d(e,t)}):l.beforeCreate=d?[].concat(d,u):[u]}return{esModule:a,exports:s,options:l}}},W2nU:function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function i(){v&&d&&(v=!1,d.length?p=d.concat(p):h=-1,p.length&&a())}function a(){if(!v){var e=o(i);v=!0;for(var t=p.length;t;){for(d=p,p=[];++h1)for(var n=1;n=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},p1b6:function(e,t,n){"use strict";var r=n("cGG2");e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},pBtG:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},pxG4:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},qRfI:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},t8qj:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},tIFN:function(e,t,n){"use strict";function r(e){var t=new a(e),n=i(a.prototype.request,t);return o.extend(n,a.prototype,t),o.extend(n,t),n}var o=n("cGG2"),i=n("JP+z"),a=n("XmWM"),s=n("KCLY"),c=r(s);c.Axios=a,c.create=function(e){return r(o.merge(s,e))},c.Cancel=n("dVOP"),c.CancelToken=n("cWxy"),c.isCancel=n("pBtG"),c.all=function(e){return Promise.all(e)},c.spread=n("pxG4"),e.exports=c,e.exports.default=c},thJu:function(e,t,n){"use strict";function r(){this.message="String contains an invalid character"}r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",e.exports=function(e){for(var t,n,o=String(e),i="",a=0,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";o.charAt(0|a)||(s="=",a%1);i+=s.charAt(63&t>>8-a%1*8)){if((n=o.charCodeAt(a+=.75))>255)throw new r;t=t<<8|n}return i}},"x8/H":function(e,t,n){var r=n("VU/8")(n("A6UI"),n("MxN9"),!1,null,null,null);e.exports=r.exports},xLtR:function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var o=n("cGG2"),i=n("TNV1"),a=n("pBtG"),s=n("KCLY"),c=n("dIwP"),u=n("qRfI");e.exports=function(e){return r(e),e.baseURL&&!c(e.url)&&(e.url=u(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return r(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(r(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}}}); diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php index df09b6fd04..1d717e35d7 100644 --- a/resources/views/header.blade.php +++ b/resources/views/header.blade.php @@ -79,7 +79,7 @@