diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php new file mode 100644 index 0000000..cb060b6 --- /dev/null +++ b/app/Http/Controllers/HomeController.php @@ -0,0 +1,29 @@ +middleware('auth'); + } + + /** + * Show the application dashboard. + * + * @return \Illuminate\Http\Response + */ + public function index() + { + return view('home'); + } +} diff --git a/app/Http/Controllers/PeopleController.php b/app/Http/Controllers/PeopleController.php new file mode 100644 index 0000000..9efd59f --- /dev/null +++ b/app/Http/Controllers/PeopleController.php @@ -0,0 +1,111 @@ +middleware('auth'); + } + + /** + * Display a listing of the resource. + * + * @return \Illuminate\Http\Response + */ + public function index() + { + return view('people.index'); + } + + /** + * Show the form for creating a new resource. + * + * @return \Illuminate\Http\Response + */ + public function create() + { + return view('people.create'); + } + + /** + * Store a newly created resource in storage. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Http\Response + */ + public function store(Request $request) + { + /* + $client = new Client('https://hooks.slack.com/services/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', [ + 'username' => $request->input('name'), + 'channel' => '#general' + ]); + + $client->send('Add Person'); + */ + + return People::create($request->all()); + } + + /** + * Display the specified resource. + * + * @param int $id + * @return \Illuminate\Http\Response + */ + public function show($id) + { + $people = People::find($id); + + return view('people.show') + ->with('people', $people); + } + + /** + * Show the form for editing the specified resource. + * + * @param int $id + * @return \Illuminate\Http\Response + */ + public function edit($id) + { + // + } + + /** + * Update the specified resource in storage. + * + * @param \Illuminate\Http\Request $request + * @param int $id + * @return \Illuminate\Http\Response + */ + public function update(Request $request, $id) + { + // + } + + /** + * Remove the specified resource from storage. + * + * @param int $id + * @return \Illuminate\Http\Response + */ + public function destroy($id) + { + // + } + + public function getPeopleList() + { + return People::all(); + } +} diff --git a/app/Http/routes.php b/app/Http/routes.php index 1ad3549..6a00c42 100644 --- a/app/Http/routes.php +++ b/app/Http/routes.php @@ -14,3 +14,10 @@ Route::get('/', function () { return view('welcome'); }); + +Route::auth(); + +Route::get('/home', 'HomeController@index'); +Route::resource('people', 'PeopleController'); + +Route::get('getPeopleList', 'PeopleController@getPeopleList'); \ No newline at end of file diff --git a/app/People.php b/app/People.php new file mode 100644 index 0000000..c0a7344 --- /dev/null +++ b/app/People.php @@ -0,0 +1,12 @@ +=5.5.9", - "laravel/framework": "5.2.*" + "laravel/framework": "5.2.*", + "maknz/slack": "^1.7" }, "require-dev": { "fzaninotto/faker": "~1.4", diff --git a/composer.lock b/composer.lock index ac83788..f919323 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "c284a9c122da36c99a8b6597bdce7aa6", - "content-hash": "8b1485987e7c5949da82435d403e52e8", + "hash": "cfacaf6437b38f5bc625772251c9e2bd", + "content-hash": "0dbe7b941c7a84225eb1341087463ac0", "packages": [ { "name": "classpreloader/classpreloader", @@ -161,6 +161,177 @@ ], "time": "2015-11-06 14:35:42" }, + { + "name": "guzzlehttp/guzzle", + "version": "6.2.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "d094e337976dff9d8e2424e8485872194e768662" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d094e337976dff9d8e2424e8485872194e768662", + "reference": "d094e337976dff9d8e2424e8485872194e768662", + "shasum": "" + }, + "require": { + "guzzlehttp/promises": "~1.0", + "guzzlehttp/psr7": "~1.1", + "php": ">=5.5.0" + }, + "require-dev": { + "ext-curl": "*", + "phpunit/phpunit": "~4.0", + "psr/log": "~1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "6.2-dev" + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "homepage": "http://guzzlephp.org/", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "rest", + "web service" + ], + "time": "2016-03-21 20:02:09" + }, + { + "name": "guzzlehttp/promises", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "bb9024c526b22f3fe6ae55a561fd70653d470aa8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/bb9024c526b22f3fe6ae55a561fd70653d470aa8", + "reference": "bb9024c526b22f3fe6ae55a561fd70653d470aa8", + "shasum": "" + }, + "require": { + "php": ">=5.5.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ], + "time": "2016-03-08 01:15:46" + }, + { + "name": "guzzlehttp/psr7", + "version": "1.3.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "31382fef2889136415751badebbd1cb022a4ed72" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/31382fef2889136415751badebbd1cb022a4ed72", + "reference": "31382fef2889136415751badebbd1cb022a4ed72", + "shasum": "" + }, + "require": { + "php": ">=5.4.0", + "psr/http-message": "~1.0" + }, + "provide": { + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + } + ], + "description": "PSR-7 message implementation", + "keywords": [ + "http", + "message", + "stream", + "uri" + ], + "time": "2016-04-13 19:56:01" + }, { "name": "jakub-onderka/php-console-color", "version": "0.1", @@ -517,6 +688,55 @@ ], "time": "2016-03-14 21:54:11" }, + { + "name": "maknz/slack", + "version": "1.7.0", + "source": { + "type": "git", + "url": "https://github.com/maknz/slack.git", + "reference": "7f21fefc70c76b304adc1b3a780c8740dfcfb595" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maknz/slack/zipball/7f21fefc70c76b304adc1b3a780c8740dfcfb595", + "reference": "7f21fefc70c76b304adc1b3a780c8740dfcfb595", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "guzzlehttp/guzzle": "~6.0|~5.0|~4.0", + "php": ">=5.4.0" + }, + "require-dev": { + "mockery/mockery": "0.9.*", + "phpunit/phpunit": "4.2.*" + }, + "suggest": { + "illuminate/support": "Required for Laravel support" + }, + "type": "library", + "autoload": { + "psr-4": { + "Maknz\\Slack\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "maknz", + "email": "github@mak.geek.nz" + } + ], + "description": "A simple PHP package for sending messages to Slack, with a focus on ease of use and elegant syntax. Includes Laravel support out of the box.", + "keywords": [ + "laravel", + "slack" + ], + "time": "2015-06-03 03:35:16" + }, { "name": "monolog/monolog", "version": "1.19.0", @@ -785,6 +1005,55 @@ ], "time": "2016-03-18 20:34:03" }, + { + "name": "psr/http-message", + "version": "1.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/85d63699f0dbedb190bbd4b0d2b9dc707ea4c298", + "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "time": "2015-05-04 20:22:00" + }, { "name": "psr/log", "version": "1.0.0", diff --git a/config/app.php b/config/app.php index 4fc7a63..572932b 100644 --- a/config/app.php +++ b/config/app.php @@ -156,6 +156,8 @@ App\Providers\EventServiceProvider::class, App\Providers\RouteServiceProvider::class, + Maknz\Slack\SlackServiceProvider::class, + ], /* @@ -201,6 +203,7 @@ 'URL' => Illuminate\Support\Facades\URL::class, 'Validator' => Illuminate\Support\Facades\Validator::class, 'View' => Illuminate\Support\Facades\View::class, + 'Slack' => Maknz\Slack\Facades\Slack::class, ], diff --git a/config/slack.php b/config/slack.php new file mode 100644 index 0000000..875d4fd --- /dev/null +++ b/config/slack.php @@ -0,0 +1,122 @@ + 'https://hooks.slack.com/services/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', + + /* + |------------------------------------------------------------- + | Default channel + |------------------------------------------------------------- + | + | The default channel we should post to. The channel can either be a + | channel like #general, a private #group, or a @username. Set to + | null to use the default set on the Slack webhook + | + */ + + 'channel' => '#general', + + /* + |------------------------------------------------------------- + | Default username + |------------------------------------------------------------- + | + | The default username we should post as. Set to null to use + | the default set on the Slack webhook + | + */ + + 'username' => 'Robot', + + /* + |------------------------------------------------------------- + | Default icon + |------------------------------------------------------------- + | + | The default icon to use. This can either be a URL to an image or Slack + | emoji like :ghost: or :heart_eyes:. Set to null to use the default + | set on the Slack webhook + | + */ + + 'icon' => null, + + /* + |------------------------------------------------------------- + | Link names + |------------------------------------------------------------- + | + | Whether names like @regan should be converted into links + | by Slack + | + */ + + 'link_names' => false, + + /* + |------------------------------------------------------------- + | Unfurl links + |------------------------------------------------------------- + | + | Whether Slack should unfurl links to text-based content + | + */ + + 'unfurl_links' => false, + + /* + |------------------------------------------------------------- + | Unfurl media + |------------------------------------------------------------- + | + | Whether Slack should unfurl links to media content such + | as images and YouTube videos + | + */ + + 'unfurl_media' => true, + + /* + |------------------------------------------------------------- + | Markdown in message text + |------------------------------------------------------------- + | + | Whether message text should be interpreted in Slack's Markdown-like + | language. For formatting options, see Slack's help article: http://goo.gl/r4fsdO + | + */ + + 'allow_markdown' => true, + + /* + |------------------------------------------------------------- + | Markdown in attachments + |------------------------------------------------------------- + | + | Which attachment fields should be interpreted in Slack's Markdown-like + | language. By default, Slack assumes that no fields in an attachment + | should be formatted as Markdown. + | + */ + + 'markdown_in_attachments' => [], + + // Allow Markdown in just the text and title fields + // 'markdown_in_attachments' => ['text', 'title'] + + // Allow Markdown in all fields + // 'markdown_in_attachments' => ['pretext', 'text', 'title', 'fields', 'fallback'] + +]; diff --git a/database/migrations/2016_04_18_103558_create_people_table.php b/database/migrations/2016_04_18_103558_create_people_table.php new file mode 100644 index 0000000..588da14 --- /dev/null +++ b/database/migrations/2016_04_18_103558_create_people_table.php @@ -0,0 +1,32 @@ +increments('id'); + $table->string('name'); + $table->string('email'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::drop('people'); + } +} diff --git a/gulpfile.js b/gulpfile.js index dc6f1eb..5035491 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -12,5 +12,8 @@ var elixir = require('laravel-elixir'); */ elixir(function(mix) { - mix.sass('app.scss'); -}); + mix.scripts([ + 'vendor/vue.min.js', + 'vendor/vue-resource.min.js' + ], 'public/js/vendor.js') +}); \ No newline at end of file diff --git a/public/js/people.js b/public/js/people.js new file mode 100644 index 0000000..6413f38 --- /dev/null +++ b/public/js/people.js @@ -0,0 +1,43 @@ +Vue.http.headers.common['X-CSRF-TOKEN'] = document.querySelector('#token').getAttribute('value'); + +new Vue({ + el: '#peopleContainer', + + data: { + newPeople: { name: '', email: '' }, + submitted: false + }, + + computed: { + errors: function() { + for (var key in this.newPeople) { + if ( ! this.newPeople[key]) return true; + } + + return false; + } + }, + + ready: function() { + this.fetchPeopleList(); + }, + + methods: { + fetchPeopleList: function() { + this.$http.get('getPeopleList', function(peoplelist) { + this.$set('peoplelist', peoplelist); + }); + }, + + onSubmitForm: function(e) { + e.preventDefault(); + + var people = this.newPeople; + + this.newPeople = { name: '', email: '' }; + this.submitted = true; + + this.$http.post('/people', people); + } + } +}); diff --git a/public/js/tree.js b/public/js/tree.js new file mode 100644 index 0000000..5c2d46f --- /dev/null +++ b/public/js/tree.js @@ -0,0 +1,72 @@ +// demo data +var data = { + name: 'My Tree', + children: [ + { name: 'hello' }, + { name: 'wat' }, + { + name: 'child folder', + children: [ + { + name: 'child folder', + children: [ + { name: 'hello' }, + { name: 'wat' } + ] + }, + { name: 'hello' }, + { name: 'wat' }, + { + name: 'child folder', + children: [ + { name: 'hello' }, + { name: 'wat' } + ] + } + ] + } + ] +} + +// define the item component +Vue.component('item', { + template: '#item-template', + data: function () { + return { + open: false + } + }, + computed: { + isFolder: function () { + return this.model.children && + this.model.children.length + } + }, + methods: { + toggle: function () { + if (this.isFolder) { + this.open = !this.open + } + }, + changeType: function () { + if (!this.isFolder) { + this.model.$add('children', []) + this.addChild() + this.open = true + } + }, + addChild: function () { + this.model.children.push({ + name: 'new stuff' + }) + } + } +}) + +// boot up the demo +var demo = new Vue({ + el: '#demo', + data: { + treeData: data + } +}) \ No newline at end of file diff --git a/public/js/vendor.js b/public/js/vendor.js new file mode 100644 index 0000000..9f8c09f --- /dev/null +++ b/public/js/vendor.js @@ -0,0 +1,1639 @@ +/** + * Vue.js v0.11.10 + * (c) 2015 Evan You + * Released under the MIT License. + */ +!(function (t, e) { + "object" == typeof exports && "object" == typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : "object" == typeof exports ? exports.Vue = e() : t.Vue = e(); +})(this, function () { + return (function (t) { + function e(n) { + if (i[n]) return i[n].exports;var r = i[n] = { exports: {}, id: n, loaded: !1 };return (t[n].call(r.exports, r, r.exports, e), r.loaded = !0, r.exports); + }var i = {};return (e.m = t, e.c = i, e.p = "", e(0)); + })([function (t, e, i) { + function n(t) { + this._init(t); + }var r = i(11), + s = r.extend;s(n, i(1)), n.options = { directives: i(12), filters: i(13), partials: {}, transitions: {}, components: {} };var o = n.prototype;Object.defineProperty(o, "$data", { get: function get() { + return this._data; + }, set: function set(t) { + this._setData(t); + } }), s(o, i(2)), s(o, i(3)), s(o, i(4)), s(o, i(5)), s(o, i(6)), s(o, i(7)), s(o, i(8)), s(o, i(9)), s(o, i(10)), t.exports = r.Vue = n; + }, function (t, e, i) { + function n(t) { + return new Function("return function " + s.classify(t) + " (options) { this._init(options) }")(); + }function r(t) { + c.forEach(function (e) { + t[e] = function (t, i) { + return i ? void (this.options[e + "s"][t] = i) : this.options[e + "s"][t]; + }; + }), t.component = function (t, e) { + return e ? (s.isPlainObject(e) && (e.name = t, e = s.Vue.extend(e)), void (this.options.components[t] = e)) : this.options.components[t]; + }; + }var s = i(11), + o = i(14);e.util = s, e.nextTick = s.nextTick, e.config = i(15), e.compiler = { compile: i(16), transclude: i(17) }, e.parsers = { path: i(18), text: i(19), template: i(20), directive: i(21), expression: i(22) }, e.cid = 0;var a = 1;e.extend = function (t) { + t = t || {};var e = this, + i = n(t.name || e.options.name || "VueComponent");return (i.prototype = Object.create(e.prototype), i.prototype.constructor = i, i.cid = a++, i.options = o(e.options, t), i["super"] = e, i.extend = e.extend, r(i), i); + }, e.use = function (t) { + var e = s.toArray(arguments, 1);return (e.unshift(this), "function" == typeof t.install ? t.install.apply(t, e) : t.apply(null, e), this); + };var c = ["directive", "filter", "partial", "transition"];r(e); + }, function (t, e, i) { + var n = i(14);e._init = function (t) { + t = t || {}, this.$el = null, this.$parent = t._parent, this.$root = t._root || this, this.$ = {}, this.$$ = {}, this._watcherList = [], this._watchers = {}, this._userWatchers = {}, this._directives = [], this._isVue = !0, this._events = {}, this._eventsCount = {}, this._eventCancelled = !1, this._isBlock = !1, this._blockStart = this._blockEnd = null, this._isCompiled = this._isDestroyed = this._isReady = this._isAttached = this._isBeingDestroyed = !1, this._children = [], this._childCtors = {}, this._containerUnlinkFn = this._contentUnlinkFn = null, this._transCpnts = [], this._host = t._host, this.$parent && this.$parent._children.push(this), this._host && this._host._transCpnts.push(this), this._new = !0, this._reused = !1, t = this.$options = n(this.constructor.options, t, this), this._data = t.data || {}, this._initScope(), this._initEvents(), this._callHook("created"), t.el && this.$mount(t.el); + }; + }, function (t, e, i) { + function n(t, e, i) { + if (i) { + var n, s, o, a;for (s in i) if ((n = i[s], h.isArray(n))) for (o = 0, a = n.length; a > o; o++) r(t, e, s, n[o]);else r(t, e, s, n); + } + }function r(t, e, i, n) { + var r = typeof n;if ("function" === r) t[e](i, n);else if ("string" === r) { + var s = t.$options.methods, + o = s && s[n];o && t[e](i, o); + } + }function s() { + this._isAttached = !0, this._children.forEach(o), this._transCpnts.length && this._transCpnts.forEach(o); + }function o(t) { + !t._isAttached && u(t.$el) && t._callHook("attached"); + }function a() { + this._isAttached = !1, this._children.forEach(c), this._transCpnts.length && this._transCpnts.forEach(c); + }function c(t) { + t._isAttached && !u(t.$el) && t._callHook("detached"); + }var h = i(11), + u = h.inDoc;e._initEvents = function () { + var t = this.$options;n(this, "$on", t.events), n(this, "$watch", t.watch); + }, e._initDOMHooks = function () { + this.$on("hook:attached", s), this.$on("hook:detached", a); + }, e._callHook = function (t) { + var e = this.$options[t];if (e) for (var i = 0, n = e.length; n > i; i++) e[i].call(this);this.$emit("hook:" + t); + }; + }, function (t, e, i) { + function n() {}var r = i(11), + s = i(49), + o = i(23);e._initScope = function () { + this._initData(), this._initComputed(), this._initMethods(), this._initMeta(); + }, e._initData = function () { + for (var t, e = this._data, i = Object.keys(e), n = i.length; n--;) t = i[n], r.isReserved(t) || this._proxy(t);s.create(e).addVm(this); + }, e._setData = function (t) { + t = t || {};var e = this._data;this._data = t;var i, n, o;for (i = Object.keys(e), o = i.length; o--;) n = i[o], r.isReserved(n) || n in t || this._unproxy(n);for (i = Object.keys(t), o = i.length; o--;) n = i[o], this.hasOwnProperty(n) || r.isReserved(n) || this._proxy(n);e.__ob__.removeVm(this), s.create(t).addVm(this), this._digest(); + }, e._proxy = function (t) { + var e = this;Object.defineProperty(e, t, { configurable: !0, enumerable: !0, get: function get() { + return e._data[t]; + }, set: function set(i) { + e._data[t] = i; + } }); + }, e._unproxy = function (t) { + delete this[t]; + }, e._digest = function () { + for (var t = this._watcherList.length; t--;) this._watcherList[t].update();var e = this._children;for (t = e.length; t--;) { + var i = e[t];i.$options.inherit && i._digest(); + } + }, e._initComputed = function () { + var t = this.$options.computed;if (t) for (var e in t) { + var i = t[e], + s = { enumerable: !0, configurable: !0 };"function" == typeof i ? (s.get = r.bind(i, this), s.set = n) : (s.get = i.get ? r.bind(i.get, this) : n, s.set = i.set ? r.bind(i.set, this) : n), Object.defineProperty(this, e, s); + } + }, e._initMethods = function () { + var t = this.$options.methods;if (t) for (var e in t) this[e] = r.bind(t[e], this); + }, e._initMeta = function () { + var t = this.$options._meta;if (t) for (var e in t) this._defineMeta(e, t[e]); + }, e._defineMeta = function (t, e) { + var i = new o();Object.defineProperty(this, t, { enumerable: !0, configurable: !0, get: function get() { + return (s.target && s.target.addDep(i), e); + }, set: function set(t) { + t !== e && (e = t, i.notify()); + } }); + }; + }, function (t, e, i) { + var n = i(11), + r = i(24), + s = i(16), + o = i(17);e._compile = function (t) { + var e = this.$options;if (e._linkFn) this._initElement(t), e._linkFn(this, t);else { + var i = t;t = o(t, e), this._initElement(t), s(t, e)(this, t), e.replace && n.replace(i, t); + }return t; + }, e._initElement = function (t) { + t instanceof DocumentFragment ? (this._isBlock = !0, this.$el = this._blockStart = t.firstChild, this._blockEnd = t.lastChild, this._blockFragment = t) : this.$el = t, this.$el.__vue__ = this, this._callHook("beforeCompile"); + }, e._bindDir = function (t, e, i, n, s) { + this._directives.push(new r(t, e, this, i, n, s)); + }, e._destroy = function (t, e) { + if (!this._isBeingDestroyed) { + this._callHook("beforeDestroy"), this._isBeingDestroyed = !0;var i, + n = this.$parent;n && !n._isBeingDestroyed && (i = n._children.indexOf(this), n._children.splice(i, 1));var r = this._host;for (r && !r._isBeingDestroyed && (i = r._transCpnts.indexOf(this), r._transCpnts.splice(i, 1)), i = this._children.length; i--;) this._children[i].$destroy();for (i = 0; i < this._directives.length; i++) this._directives[i]._teardown();var s;for (i in this._userWatchers) s = this._userWatchers[i], s && s.teardown();this.$el && (this.$el.__vue__ = null);var o = this;t && this.$el ? this.$remove(function () { + o._cleanup(); + }) : e || this._cleanup(); + } + }, e._cleanup = function () { + this._data.__ob__.removeVm(this), this._data = this._watchers = this._userWatchers = this._watcherList = this.$el = this.$parent = this.$root = this._children = this._transCpnts = this._directives = null, this._isDestroyed = !0, this._callHook("destroyed"), this.$off(); + }; + }, function (t, e, i) { + var n = i(11), + r = i(25), + s = i(18), + o = i(19), + a = i(21), + c = i(22), + h = /[^|]\|[^|]/;e.$get = function (t) { + var e = c.parse(t);if (e) try { + return e.get.call(this, this); + } catch (i) {} + }, e.$set = function (t, e) { + var i = c.parse(t, !0);i && i.set && i.set.call(this, this, e); + }, e.$add = function (t, e) { + this._data.$add(t, e); + }, e.$delete = function (t) { + this._data.$delete(t); + }, e.$watch = function (t, e, i, n) { + var s = this, + o = i ? t + "**deep**" : t, + a = s._userWatchers[o], + c = function c(t, i) { + e.call(s, t, i); + };return (a ? a.addCb(c) : a = s._userWatchers[o] = new r(s, t, c, { deep: i, user: !0 }), n && c(a.value), function () { + a.removeCb(c), a.active || (s._userWatchers[o] = null); + }); + }, e.$eval = function (t) { + if (h.test(t)) { + var e = a.parse(t)[0];return e.filters ? n.applyFilters(this.$get(e.expression), n.resolveFilters(this, e.filters).read, this) : this.$get(e.expression); + }return this.$get(t); + }, e.$interpolate = function (t) { + var e = o.parse(t), + i = this;return e ? 1 === e.length ? i.$eval(e[0].value) : e.map(function (t) { + return t.tag ? i.$eval(t.value) : t.value; + }).join("") : t; + }, e.$log = function (t) { + var e = t ? s.get(this._data, t) : this._data;e && (e = JSON.parse(JSON.stringify(e))), console.log(e); + }; + }, function (t, e, i) { + function n(t, e, i, n, o, a) { + e = s(e);var c = !h.inDoc(e), + u = n === !1 || c ? o : a, + l = !c && !t._isAttached && !h.inDoc(t.$el);return (t._isBlock ? r(t, e, u, i) : u(t.$el, e, t, i), l && t._callHook("attached"), t); + }function r(t, e, i, n) { + for (var r, s = t._blockStart, o = t._blockEnd; r !== o;) r = s.nextSibling, i(s, e, t), s = r;i(o, e, t, n); + }function s(t) { + return "string" == typeof t ? document.querySelector(t) : t; + }function o(t, e, i, n) { + e.appendChild(t), n && n(); + }function a(t, e, i, n) { + h.before(t, e), n && n(); + }function c(t, e, i) { + h.remove(t), i && i(); + }var h = i(11), + u = i(50);e.$appendTo = function (t, e, i) { + return n(this, t, e, i, o, u.append); + }, e.$prependTo = function (t, e, i) { + return (t = s(t), t.hasChildNodes() ? this.$before(t.firstChild, e, i) : this.$appendTo(t, e, i), this); + }, e.$before = function (t, e, i) { + return n(this, t, e, i, a, u.before); + }, e.$after = function (t, e, i) { + return (t = s(t), t.nextSibling ? this.$before(t.nextSibling, e, i) : this.$appendTo(t.parentNode, e, i), this); + }, e.$remove = function (t, e) { + var i = this._isAttached && h.inDoc(this.$el);i || (e = !1);var n, + s = this, + a = function a() { + i && s._callHook("detached"), t && t(); + };return (this._isBlock && !this._blockFragment.hasChildNodes() ? (n = e === !1 ? o : u.removeThenAppend, r(this, this._blockFragment, n, a)) : (n = e === !1 ? c : u.remove)(this.$el, this, a), this); + }; + }, function (t, e, i) { + function n(t, e, i) { + var n = t.$parent;if (n && i && !s.test(e)) for (; n;) n._eventsCount[e] = (n._eventsCount[e] || 0) + i, n = n.$parent; + }var r = i(11);e.$on = function (t, e) { + return ((this._events[t] || (this._events[t] = [])).push(e), n(this, t, 1), this); + }, e.$once = function (t, e) { + function i() { + n.$off(t, i), e.apply(this, arguments); + }var n = this;return (i.fn = e, this.$on(t, i), this); + }, e.$off = function (t, e) { + var i;if (!arguments.length) { + if (this.$parent) for (t in this._events) i = this._events[t], i && n(this, t, -i.length);return (this._events = {}, this); + }if ((i = this._events[t], !i)) return this;if (1 === arguments.length) return (n(this, t, -i.length), this._events[t] = null, this);for (var r, s = i.length; s--;) if ((r = i[s], r === e || r.fn === e)) { + n(this, t, -1), i.splice(s, 1);break; + }return this; + }, e.$emit = function (t) { + this._eventCancelled = !1;var e = this._events[t];if (e) { + for (var i = arguments.length - 1, n = new Array(i); i--;) n[i] = arguments[i + 1];i = 0, e = e.length > 1 ? r.toArray(e) : e;for (var s = e.length; s > i; i++) e[i].apply(this, n) === !1 && (this._eventCancelled = !0); + }return this; + }, e.$broadcast = function (t) { + if (this._eventsCount[t]) { + for (var e = this._children, i = 0, n = e.length; n > i; i++) { + var r = e[i];r.$emit.apply(r, arguments), r._eventCancelled || r.$broadcast.apply(r, arguments); + }return this; + } + }, e.$dispatch = function () { + for (var t = this.$parent; t;) t.$emit.apply(t, arguments), t = t._eventCancelled ? null : t.$parent;return this; + };var s = /^hook:/; + }, function (t, e, i) { + var n = i(11);e.$addChild = function (t, e) { + e = e || n.Vue, t = t || {};var i, + r = this, + s = void 0 !== t.inherit ? t.inherit : e.options.inherit;if (s) { + var o = r._childCtors;if ((i = o[e.cid], !i)) { + var a = e.options.name, + c = a ? n.classify(a) : "VueComponent";i = new Function("return function " + c + " (options) {this.constructor = " + c + ";this._init(options) }")(), i.options = e.options, i.prototype = this, o[e.cid] = i; + } + } else i = e;t._parent = r, t._root = r.$root;var h = new i(t);return h; + }; + }, function (t, e, i) { + function n() { + this._isAttached = !0, this._isReady = !0, this._callHook("ready"); + }var r = i(11), + s = i(16);e.$mount = function (t) { + if (!this._isCompiled) { + if (t) { + if ("string" == typeof t) { + if ((t = document.querySelector(t), !t)) return; + } + } else t = document.createElement("div");return (this._compile(t), this._isCompiled = !0, this._callHook("compiled"), r.inDoc(this.$el) ? (this._callHook("attached"), this._initDOMHooks(), n.call(this)) : (this._initDOMHooks(), this.$once("hook:attached", n)), this); + } + }, e.$destroy = function (t, e) { + this._destroy(t, e); + }, e.$compile = function (t) { + return s(t, this.$options, !0)(this, t); + }; + }, function (t, e, i) { + var n = i(26), + r = n.extend;r(e, n), r(e, i(27)), r(e, i(28)), r(e, i(29)), r(e, i(30)); + }, function (t, e, i) { + e.text = i(31), e.html = i(32), e.attr = i(33), e.show = i(34), e["class"] = i(35), e.el = i(36), e.ref = i(37), e.cloak = i(38), e.style = i(39), e.partial = i(40), e.transition = i(41), e.on = i(42), e.model = i(51), e.component = i(43), e.repeat = i(44), e["if"] = i(45), e["with"] = i(46), e.events = i(47); + }, function (t, e, i) { + var n = i(11);e.json = { read: function read(t, e) { + return "string" == typeof t ? t : JSON.stringify(t, null, Number(e) || 2); + }, write: function write(t) { + try { + return JSON.parse(t); + } catch (e) { + return t; + } + } }, e.capitalize = function (t) { + return t || 0 === t ? (t = t.toString(), t.charAt(0).toUpperCase() + t.slice(1)) : ""; + }, e.uppercase = function (t) { + return t || 0 === t ? t.toString().toUpperCase() : ""; + }, e.lowercase = function (t) { + return t || 0 === t ? t.toString().toLowerCase() : ""; + };var r = /(\d{3})(?=\d)/g;e.currency = function (t, e) { + if ((t = parseFloat(t), !isFinite(t) || !t && 0 !== t)) return "";e = e || "$";var i = Math.floor(Math.abs(t)).toString(), + n = i.length % 3, + s = n > 0 ? i.slice(0, n) + (i.length > 3 ? "," : "") : "", + o = Math.abs(parseInt(100 * t % 100, 10)), + a = "." + (10 > o ? "0" + o : o);return (0 > t ? "-" : "") + e + s + i.slice(n).replace(r, "$1,") + a; + }, e.pluralize = function (t) { + var e = n.toArray(arguments, 1);return e.length > 1 ? e[t % 10 - 1] || e[e.length - 1] : e[0] + (1 === t ? "" : "s"); + };var s = { enter: 13, tab: 9, "delete": 46, up: 38, left: 37, right: 39, down: 40, esc: 27 };e.key = function (t, e) { + if (t) { + var i = s[e];return (i || (i = parseInt(e, 10)), function (e) { + return e.keyCode === i ? t.call(this, e) : void 0; + }); + } + }, e.key.keyCodes = s, n.extend(e, i(48)); + }, function (t, e, i) { + function n(t, e) { + var i, r, o;for (i in e) r = t[i], o = e[i], t.hasOwnProperty(i) ? s.isObject(r) && s.isObject(o) && n(r, o) : t.$add(i, o);return t; + }function r(t) { + if (t) { + var e;for (var i in t) e = t[i], s.isPlainObject(e) && (e.name = i, t[i] = s.Vue.extend(e)); + } + }var s = i(11), + o = s.extend, + a = Object.create(null);a.data = function (t, e, i) { + if (i) { + var r = "function" == typeof e ? e.call(i) : e, + s = "function" == typeof t ? t.call(i) : void 0;return r ? n(r, s) : s; + }return e ? "function" != typeof e ? t : t ? function () { + return n(e.call(this), t.call(this)); + } : e : t; + }, a.el = function (t, e, i) { + if (i || !e || "function" == typeof e) { + var n = e || t;return i && "function" == typeof n ? n.call(i) : n; + } + }, a.created = a.ready = a.attached = a.detached = a.beforeCompile = a.compiled = a.beforeDestroy = a.destroyed = a.paramAttributes = function (t, e) { + return e ? t ? t.concat(e) : s.isArray(e) ? e : [e] : t; + }, a.directives = a.filters = a.partials = a.transitions = a.components = function (t, e, i, n) { + var r = Object.create(i && i.$parent ? i.$parent.$options[n] : s.Vue.options[n]);if (t) for (var a, c = Object.keys(t), h = c.length; h--;) a = c[h], r[a] = t[a];return (e && o(r, e), r); + }, a.watch = a.events = function (t, e) { + if (!e) return t;if (!t) return e;var i = {};o(i, t);for (var n in e) { + var r = i[n], + a = e[n];r && !s.isArray(r) && (r = [r]), i[n] = r ? r.concat(a) : [a]; + }return i; + }, a.methods = a.computed = function (t, e) { + if (!e) return t;if (!t) return e;var i = Object.create(t);return (o(i, e), i); + };var c = function c(t, e) { + return void 0 === e ? t : e; + };t.exports = function h(t, e, i) { + function n(n) { + var r = a[n] || c;o[n] = r(t[n], e[n], i, n); + }r(e.components);var s, + o = {};if (e.mixins) for (var u = 0, l = e.mixins.length; l > u; u++) t = h(t, e.mixins[u], i);for (s in t) n(s);for (s in e) t.hasOwnProperty(s) || n(s);return o; + }; + }, function (t, e, i) { + t.exports = { prefix: "v-", debug: !1, silent: !1, proto: !0, interpolate: !0, async: !0, warnExpressionErrors: !0, _delimitersChanged: !0 };var n = ["{{", "}}"];Object.defineProperty(t.exports, "delimiters", { get: function get() { + return n; + }, set: function set(t) { + n = t, this._delimitersChanged = !0; + } }); + }, function (t, e, i) { + function n(t, e, i, n) { + function o(t, e) { + var r = t._directives.length, + s = t.$parent && t.$parent._directives.length;h && h(t, e);var o = $.toArray(e.childNodes), + a = n ? t.$parent : t, + c = n ? t : void 0;if ((u && u(a, e, c), f && f(a, o, c), i && !n)) { + var l = t._directives.slice(r), + d = t.$parent && t.$parent._directives.slice(s), + p = function p(t, e) { + for (var i = e.length; i--;) e[i]._teardown();i = t._directives.indexOf(e[0]), t._directives.splice(i, e.length); + };return function () { + p(t, l), d && p(t.$parent, d); + }; + } + }var a = 11 === t.nodeType, + c = e.paramAttributes, + h = !c || i || n || a ? null : d(t, c, e), + u = a ? r(e._containerAttrs, c, e) : s(t, e), + f = u && u.terminal || "SCRIPT" === t.tagName || !t.hasChildNodes() ? null : l(t.childNodes, e);return (n && (o.terminal = !0), o); + }function r(t, e, i) { + if (!t) return null;var n = e ? d(t, e, i) : null, + r = t[x.prefix + "with"], + s = null;if (r) { + var o = C.parse(r)[0], + a = i.directives["with"];s = function (t, e) { + t._bindDir("with", e, o, a); + }; + }return function (t) { + n && n(t, null), s && s(t, null); + }; + }function s(t, e) { + var i = t.nodeType;return 1 === i && "SCRIPT" !== t.tagName ? o(t, e) : 3 === i && x.interpolate && t.data.trim() ? c(t, e) : null; + }function o(t, e) { + if (w(t)) return (t.hasAttribute("__vue__wrap") && (t = t.firstChild), n(t, e._parent.$options, !0, !0));var i, r, s;if ((t.__vue__ || (r = t.tagName.toLowerCase(), s = r.indexOf("-") > 0 && e.components[r], s && t.setAttribute(x.prefix + "component", r)), (s || t.hasAttributes()) && (i = m(t, e), !i))) { + var o = b(t, e);i = o.length ? a(o) : null; + }if ("TEXTAREA" === t.tagName) { + var c = i;i = function (t, e) { + e.value = t.$interpolate(e.value), c && c(t, e); + }, i.terminal = !0; + }return i; + }function a(t) { + return function (e, i, n) { + for (var r, s, o, a, c = t.length; c--;) if ((r = t[c], a = r.transcluded ? e.$parent : e, r._link)) r._link(a, i);else for (o = r.descriptors.length, s = 0; o > s; s++) a._bindDir(r.name, i, r.descriptors[s], r.def, n); + }; + }function c(t, e) { + var i = k.parse(t.data);if (!i) return null;for (var n, r, s = document.createDocumentFragment(), o = 0, a = i.length; a > o; o++) r = i[o], n = r.tag ? h(r, e) : document.createTextNode(r.value), s.appendChild(n);return u(i, s, e); + }function h(t, e) { + function i(i) { + t.type = i, t.def = e.directives[i], t.descriptor = C.parse(t.value)[0]; + }var n;return (t.oneTime ? n = document.createTextNode(t.value) : t.html ? (n = document.createComment("v-html"), i("html")) : t.partial ? (n = document.createComment("v-partial"), i("partial")) : (n = document.createTextNode(" "), i("text")), n); + }function u(t, e) { + return function (i, n) { + for (var r, s, o, a = e.cloneNode(!0), c = $.toArray(a.childNodes), h = 0, u = t.length; u > h; h++) r = t[h], s = r.value, r.tag && (o = c[h], r.oneTime ? (s = i.$eval(s), r.html ? $.replace(o, A.parse(s, !0)) : o.data = s) : i._bindDir(r.type, o, r.descriptor, r.def));$.replace(n, a); + }; + }function l(t, e) { + for (var i, n, r, o = [], a = 0, c = t.length; c > a; a++) r = t[a], i = s(r, e), n = i && i.terminal || "SCRIPT" === r.tagName || !r.hasChildNodes() ? null : l(r.childNodes, e), o.push(i, n);return o.length ? f(o) : null; + }function f(t) { + return function (e, i, n) { + for (var r, s, o, a = 0, c = 0, h = t.length; h > a; c++) { + r = i[c], s = t[a++], o = t[a++];var u = $.toArray(r.childNodes);s && s(e, r, n), o && o(e, u, n); + } + }; + }function d(t, e, i) { + for (var n, r, s, o = [], a = t.nodeType, c = e.length; c--;) if ((n = e[c], /[A-Z]/.test(n), r = a ? t.getAttribute(n) : t[n], null !== r)) { + s = { name: n, value: r };var h = k.parse(r);if (h) { + if ((a && t.removeAttribute(n), h.length > 1)) continue;s.dynamic = !0, s.value = h[0].value; + }o.push(s); + }return p(o, i); + }function p(t, e) { + var i = e.directives["with"];return function (e, n) { + for (var r, s, o = t.length; o--;) r = t[o], s = $.camelize(r.name.replace(E, "")), r.dynamic ? e._bindDir("with", n, { arg: s, expression: r.value }, i) : e.$set(s, r.value); + }; + }function v() {}function m(t, e) { + if (null !== $.attr(t, "pre")) return v;for (var i, n, r = 0; 3 > r; r++) if ((n = T[r], i = $.attr(t, n))) return _(t, n, i, e); + }function _(t, e, i, n) { + var r = C.parse(i)[0], + s = n.directives[e], + o = function o(t, i, n) { + t._bindDir(e, i, r, s, n); + };return (o.terminal = !0, o); + }function b(t, e) { + for (var i, n, r, s, o, a, c = $.toArray(t.attributes), h = c.length, u = []; h--;) i = c[h], n = i.name, a = e._transcludedAttrs && e._transcludedAttrs[n], 0 === n.indexOf(x.prefix) ? (s = n.slice(x.prefix.length), o = e.directives[s], o && u.push({ name: s, descriptors: C.parse(i.value), def: o, transcluded: a })) : x.interpolate && (r = g(t, n, i.value, e), r && (r.transcluded = a, u.push(r)));return (u.sort(y), u); + }function g(t, e, i, n) { + var r = k.parse(i);if (r) { + for (var s = n.directives.attr, o = r.length, a = !0; o--;) { + var c = r[o];c.tag && !c.oneTime && (a = !1); + }return { def: s, _link: a ? function (t, n) { + n.setAttribute(e, t.$interpolate(i)); + } : function (t, i) { + var n = k.tokensToExp(r, t), + o = C.parse(e + ":" + n)[0];t._bindDir("attr", i, o, s); + } }; + } + }function y(t, e) { + return (t = t.def.priority || 0, e = e.def.priority || 0, t > e ? 1 : -1); + }function w(t) { + return 1 === t.nodeType && t.hasAttribute(D) ? (t.removeAttribute(D), !0) : void 0; + }var $ = i(11), + x = i(15), + k = i(19), + C = i(21), + A = i(20);t.exports = n;var E = /^data-/, + T = ["repeat", "if", "component"];v.terminal = !0;var D = "__vue__transcluded"; + }, function (t, e, i) { + function n(t, e) { + var i = e.template, + n = u.parse(i, !0);if (n) { + var s = e._content || c.extractContent(t);if (e.replace) { + if (n.childNodes.length > 1) { + for (var o = e._containerAttrs = {}, a = t.attributes.length; a--;) { + var h = t.attributes[a];o[h.name] = h.value; + }return (r(n, s), n); + }var l = n.firstChild;return (c.copyAttributes(t, l), r(l, s), l); + }return (t.appendChild(n), r(t, s), t); + } + }function r(t, e) { + function i(t) { + return t.parentNode === e; + }var n = s(t), + r = n.length;if (r) { + for (var a, h, u, l, f; r--;) a = n[r], e ? (h = a.getAttribute("select"), h ? (u = e.querySelectorAll(h), u.length && (u = [].filter.call(u, i)), a.content = u.length ? u : c.toArray(a.childNodes)) : f = a) : a.content = c.toArray(a.childNodes);for (r = 0, l = n.length; l > r; r++) a = n[r], a !== f && o(a, a.content);f && o(f, c.toArray(e.childNodes)); + } + }function s(t) { + return c.isArray(t) ? f.apply([], t.map(s)) : t.querySelectorAll ? c.toArray(t.querySelectorAll("content")) : []; + }function o(t, e) { + for (var i = t.parentNode, n = 0, r = e.length; r > n; n++) i.insertBefore(e[n], t);i.removeChild(t); + }function a(t) { + if (!t) return null;for (var e = {}, i = h.prefix + "with", n = t.length; n--;) { + var r = t[n].name;r !== i && (e[r] = !0); + }return e; + }var c = i(11), + h = i(15), + u = i(20), + l = "__vue__transcluded";t.exports = function (t, e) { + if (e && e._asComponent) { + e._transcludedAttrs = a(t.attributes);for (var i = t.childNodes.length; i--;) { + var r = t.childNodes[i];if (1 === r.nodeType) r.setAttribute(l, "");else if (3 === r.nodeType && r.data.trim()) { + var s = document.createElement("span");s.textContent = r.data, s.setAttribute("__vue__wrap", ""), s.setAttribute(l, ""), t.replaceChild(s, r); + } + } + }return ("TEMPLATE" === t.tagName && (t = u.parse(t)), e && e.template && (t = n(t, e)), t instanceof DocumentFragment && (c.prepend(document.createComment("v-start"), t), t.appendChild(document.createComment("v-end"))), t); + };var f = [].concat; + }, function (t, e, i) { + function n() {}function r(t) { + if (void 0 === t) return "eof";var e = t.charCodeAt(0);switch (e) {case 91:case 93:case 46:case 34:case 39:case 48: + return t;case 95:case 36: + return "ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233: + return "ws";}return e >= 97 && 122 >= e || e >= 65 && 90 >= e ? "ident" : e >= 49 && 57 >= e ? "number" : "else"; + }function s(t) { + function e() { + var e = t[d + 1];return "inSingleQuote" === p && "'" === e || "inDoubleQuote" === p && "\"" === e ? (d++, s = e, v.append(), !0) : void 0; + }for (var i, s, o, a, c, h, u, f = [], d = -1, p = "beforePath", v = { push: function push() { + void 0 !== o && (f.push(o), o = void 0); + }, append: function append() { + void 0 === o ? o = s : o += s; + } }; p;) if ((d++, i = t[d], "\\" !== i || !e())) { + if ((a = r(i), u = l[p], c = u[a] || u["else"] || "error", "error" === c)) return;if ((p = c[0], h = v[c[1]] || n, s = void 0 === c[2] ? i : c[2], h(), "afterPath" === p)) return f; + } + }function o(t) { + return u.test(t) ? "." + t : +t === t >>> 0 ? "[" + t + "]" : "[\"" + t.replace(/"/g, "\\\"") + "\"]"; + }var a = i(11), + c = i(52), + h = new c(1000), + u = /^[$_a-zA-Z]+[\w$]*$/, + l = { beforePath: { ws: ["beforePath"], ident: ["inIdent", "append"], "[": ["beforeElement"], eof: ["afterPath"] }, inPath: { ws: ["inPath"], ".": ["beforeIdent"], "[": ["beforeElement"], eof: ["afterPath"] }, beforeIdent: { ws: ["beforeIdent"], ident: ["inIdent", "append"] }, inIdent: { ident: ["inIdent", "append"], 0: ["inIdent", "append"], number: ["inIdent", "append"], ws: ["inPath", "push"], ".": ["beforeIdent", "push"], "[": ["beforeElement", "push"], eof: ["afterPath", "push"] }, beforeElement: { ws: ["beforeElement"], 0: ["afterZero", "append"], number: ["inIndex", "append"], "'": ["inSingleQuote", "append", ""], "\"": ["inDoubleQuote", "append", ""] }, afterZero: { ws: ["afterElement", "push"], "]": ["inPath", "push"] }, inIndex: { 0: ["inIndex", "append"], number: ["inIndex", "append"], ws: ["afterElement"], "]": ["inPath", "push"] }, inSingleQuote: { "'": ["afterElement"], eof: "error", "else": ["inSingleQuote", "append"] }, inDoubleQuote: { "\"": ["afterElement"], eof: "error", "else": ["inDoubleQuote", "append"] }, afterElement: { ws: ["afterElement"], "]": ["inPath", "push"] } };e.compileGetter = function (t) { + var e = "return o" + t.map(o).join("");return new Function("o", e); + }, e.parse = function (t) { + var i = h.get(t);return (i || (i = s(t), i && (i.get = e.compileGetter(i), h.put(t, i))), i); + }, e.get = function (t, i) { + return (i = e.parse(i), i ? i.get(t) : void 0); + }, e.set = function (t, i, n) { + if (("string" == typeof i && (i = e.parse(i)), !i || !a.isObject(t))) return !1;for (var r, s, o = 0, c = i.length - 1; c > o; o++) r = t, s = i[o], t = t[s], a.isObject(t) || (t = {}, r.$add(s, t));return (s = i[o], s in t ? t[s] = n : t.$add(s, n), !0); + }; + }, function (t, e, i) { + function n(t) { + return t.replace(v, "\\$&"); + }function r() { + d._delimitersChanged = !1;var t = d.delimiters[0], + e = d.delimiters[1];u = t.charAt(0), l = e.charAt(e.length - 1);var i = n(u), + r = n(l), + s = n(t), + o = n(e);c = new RegExp(i + "?" + s + "(.+?)" + o + r + "?", "g"), h = new RegExp("^" + i + s + ".*" + o + r + "$"), a = new f(1000); + }function s(t, e, i) { + return t.tag ? e && t.oneTime ? "\"" + e.$eval(t.value) + "\"" : i ? t.value : o(t.value) : "\"" + t.value + "\""; + }function o(t) { + if (m.test(t)) { + var e = p.parse(t)[0];if (e.filters) { + t = e.expression;for (var i = 0, n = e.filters.length; n > i; i++) { + var r = e.filters[i], + s = r.args ? ",\"" + r.args.join("\",\"") + "\"" : "";r = "this.$options.filters[\"" + r.name + "\"]", t = "(" + r + ".read||" + r + ").apply(this,[" + t + s + "])"; + }return t; + }return "(" + t + ")"; + }return "(" + t + ")"; + }var a, + c, + h, + u, + l, + f = i(52), + d = i(15), + p = i(21), + v = /[-.*+?^${}()|[\]\/\\]/g;e.parse = function (t) { + d._delimitersChanged && r();var e = a.get(t);if (e) return e;if (!c.test(t)) return null;for (var i, n, s, o, u, l, f = [], p = c.lastIndex = 0; i = c.exec(t);) n = i.index, n > p && f.push({ value: t.slice(p, n) }), o = i[1].charCodeAt(0), u = 42 === o, l = 62 === o, s = u || l ? i[1].slice(1) : i[1], f.push({ tag: !0, value: s.trim(), html: h.test(i[0]), oneTime: u, partial: l }), p = n + i[0].length;return (p < t.length && f.push({ value: t.slice(p) }), a.put(t, f), f); + }, e.tokensToExp = function (t, e) { + return t.length > 1 ? t.map(function (t) { + return s(t, e); + }).join("+") : s(t[0], e, !0); + };var m = /[^|]\|[^|]/; + }, function (t, e, i) { + function n(t) { + var e = a.get(t);if (e) return e;var i = document.createDocumentFragment(), + n = t.match(u), + r = l.test(t);if (n || r) { + var s = n && n[1], + o = h[s] || h._default, + c = o[0], + f = o[1], + d = o[2], + p = document.createElement("div");for (p.innerHTML = f + t.trim() + d; c--;) p = p.lastChild;for (var v; v = p.firstChild;) i.appendChild(v); + } else i.appendChild(document.createTextNode(t));return (a.put(t, i), i); + }function r(t) { + var i = t.tagName;if ("TEMPLATE" === i && t.content instanceof DocumentFragment) return t.content;if ("SCRIPT" === i) return n(t.textContent);for (var r, s = e.clone(t), o = document.createDocumentFragment(); r = s.firstChild;) o.appendChild(r);return o; + }var s = i(11), + o = i(52), + a = new o(1000), + c = new o(1000), + h = { _default: [0, "", ""], legend: [1, "
", "
"], tr: [2, "", "
"], col: [2, "", "
"] };h.td = h.th = [3, "", "
"], h.option = h.optgroup = [1, ""], h.thead = h.tbody = h.colgroup = h.caption = h.tfoot = [1, "", "
"], h.g = h.defs = h.symbol = h.use = h.image = h.text = h.circle = h.ellipse = h.line = h.path = h.polygon = h.polyline = h.rect = [1, "", ""];var u = /<([\w:]+)/, + l = /&\w+;/, + f = s.inBrowser ? (function () { + var t = document.createElement("div");return (t.innerHTML = "", !t.cloneNode(!0).firstChild.innerHTML); + })() : !1, + d = s.inBrowser ? (function () { + var t = document.createElement("textarea");return (t.placeholder = "t", "t" === t.cloneNode(!0).value); + })() : !1;e.clone = function (t) { + var e, + i, + n, + r = t.cloneNode(!0);if (f && (i = t.querySelectorAll("template"), i.length)) for (n = r.querySelectorAll("template"), e = n.length; e--;) n[e].parentNode.replaceChild(i[e].cloneNode(!0), n[e]);if (d) if ("TEXTAREA" === t.tagName) r.value = t.value;else if ((i = t.querySelectorAll("textarea"), i.length)) for (n = r.querySelectorAll("textarea"), e = n.length; e--;) n[e].value = i[e].value;return r; + }, e.parse = function (t, i, s) { + var o, a;return t instanceof DocumentFragment ? i ? t.cloneNode(!0) : t : ("string" == typeof t ? s || "#" !== t.charAt(0) ? a = n(t) : (a = c.get(t), a || (o = document.getElementById(t.slice(1)), o && (a = r(o), c.put(t, a)))) : t.nodeType && (a = r(t)), a && i ? e.clone(a) : a); + }; + }, function (t, e, i) { + function n() { + _.raw = s.slice(p, a).trim(), void 0 === _.expression ? _.expression = s.slice(v, a).trim() : b !== p && r(), (0 === a || _.expression) && m.push(_); + }function r() { + var t, + e = s.slice(b, a).trim();if (e) { + t = {};var i = e.match(k);t.name = i[0], t.args = i.length > 1 ? i.slice(1) : null; + }t && (_.filters = _.filters || []).push(t), b = a + 1; + }var s, + o, + a, + c, + h, + u, + l, + f, + d, + p, + v, + m, + _, + b, + g, + y = i(11), + w = i(52), + $ = new w(1000), + x = /^[^\{\?]+$|^'[^']*'$|^"[^"]*"$/, + k = /[^\s'"]+|'[^']+'|"[^"]+"/g;e.parse = function (t) { + var e = $.get(t);if (e) return e;for (s = t, h = u = !1, l = f = d = p = v = 0, b = 0, m = [], _ = {}, g = null, a = 0, c = s.length; c > a; a++) if ((o = s.charCodeAt(a), h)) 39 === o && (h = !h);else if (u) 34 === o && (u = !u);else if (44 !== o || d || l || f) if (58 !== o || _.expression || _.arg) if (124 === o && 124 !== s.charCodeAt(a + 1) && 124 !== s.charCodeAt(a - 1)) void 0 === _.expression ? (b = a + 1, _.expression = s.slice(v, a).trim()) : r();else switch (o) {case 34: + u = !0;break;case 39: + h = !0;break;case 40: + d++;break;case 41: + d--;break;case 91: + f++;break;case 93: + f--;break;case 123: + l++;break;case 125: + l--;} else g = s.slice(p, a).trim(), x.test(g) && (v = a + 1, _.arg = y.stripQuotes(g) || g);else n(), _ = {}, p = v = b = a + 1;return ((0 === a || p !== a) && n(), $.put(t, m), m); + }; + }, function (t, e, i) { + function n(t, e) { + var i = C.length;return (C[i] = e ? t.replace(g, "\\n") : t, "\"" + i + "\""); + }function r(t) { + var e = t.charAt(0), + i = t.slice(1);return v.test(i) ? t : (i = i.indexOf("\"") > -1 ? i.replace(w, s) : i, e + "scope." + i); + }function s(t, e) { + return C[e]; + }function o(t, e) { + _.test(t), C.length = 0;var i = t.replace(y, n).replace(b, "");i = (" " + i).replace(x, r).replace(w, s);var o = c(i);return o ? { get: o, body: i, set: e ? h(i) : null } : void 0; + }function a(t) { + var e, i;return (t.indexOf("[") < 0 ? (i = t.split("."), e = l.compileGetter(i)) : (i = l.parse(t), e = i.get), { get: e, set: function set(t, e) { + l.set(t, i, e); + } }); + }function c(t) { + try { + return new Function("scope", "return " + t + ";"); + } catch (e) {} + }function h(t) { + try { + return new Function("scope", "value", t + "=value;"); + } catch (e) {} + }function u(t) { + t.set || (t.set = h(t.body)); + }var l = (i(11), i(18)), + f = i(52), + d = new f(1000), + p = "Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat", + v = new RegExp("^(" + p.replace(/,/g, "\\b|") + "\\b)"), + m = "break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,proctected,static,interface,private,public", + _ = new RegExp("^(" + m.replace(/,/g, "\\b|") + "\\b)"), + b = /\s/g, + g = /\n/g, + y = /[\{,]\s*[\w\$_]+\s*:|('[^']*'|"[^"]*")|new |typeof |void /g, + w = /"(\d+)"/g, + $ = /^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\])*$/, + x = /[^\w$\.]([A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\])*)/g, + k = /^(true|false)$/, + C = [];e.parse = function (t, e) { + t = t.trim();var i = d.get(t);if (i) return (e && u(i), i);var n = $.test(t) && !k.test(t) && "Math." !== t.slice(0, 5) ? a(t) : o(t, e);return (d.put(t, n), n); + }, e.pathTestRE = $; + }, function (t, e, i) { + function n() { + this.id = ++r, this.subs = []; + }var r = 0, + s = i(11), + o = n.prototype;o.addSub = function (t) { + this.subs.push(t); + }, o.removeSub = function (t) { + if (this.subs.length) { + var e = this.subs.indexOf(t);e > -1 && this.subs.splice(e, 1); + } + }, o.notify = function () { + for (var t = s.toArray(this.subs), e = 0, i = t.length; i > e; e++) t[e].update(); + }, t.exports = n; + }, function (t, e, i) { + function n(t, e, i, n, s, o) { + this.name = t, this.el = e, this.vm = i, this.raw = n.raw, this.expression = n.expression, this.arg = n.arg, this.filters = r.resolveFilters(i, n.filters), this._host = o, this._locked = !1, this._bound = !1, this._bind(s); + }var r = i(11), + s = i(15), + o = i(25), + a = i(19), + c = i(22), + h = n.prototype;h._bind = function (t) { + if (("cloak" !== this.name && this.el && this.el.removeAttribute && this.el.removeAttribute(s.prefix + this.name), "function" == typeof t ? this.update = t : r.extend(this, t), this._watcherExp = this.expression, this._checkDynamicLiteral(), this.bind && this.bind(), this._watcherExp && (this.update || this.twoWay) && (!this.isLiteral || this._isDynamicLiteral) && !this._checkStatement())) { + var e = this, + i = this._update = this.update ? function (t, i) { + e._locked || e.update(t, i); + } : function () {}, + n = this.vm._watchers[this.raw];n && "repeat" !== this.name ? n.addCb(i) : n = this.vm._watchers[this.raw] = new o(this.vm, this._watcherExp, i, { filters: this.filters, twoWay: this.twoWay, deep: this.deep }), this._watcher = n, null != this._initValue ? n.set(this._initValue) : this.update && this.update(n.value); + }this._bound = !0; + }, h._checkDynamicLiteral = function () { + var t = this.expression;if (t && this.isLiteral) { + var e = a.parse(t);if (e) { + var i = a.tokensToExp(e);this.expression = this.vm.$get(i), this._watcherExp = i, this._isDynamicLiteral = !0; + } + } + }, h._checkStatement = function () { + var t = this.expression;if (t && this.acceptStatement && !c.pathTestRE.test(t)) { + var e = c.parse(t).get, + i = this.vm, + n = function n() { + e.call(i, i); + };return (this.filters && (n = r.applyFilters(n, this.filters.read, i)), this.update(n), !0); + } + }, h._checkParam = function (t) { + var e = this.el.getAttribute(t);return (null !== e && this.el.removeAttribute(t), e); + }, h._teardown = function () { + if (this._bound) { + this.unbind && this.unbind();var t = this._watcher;t && t.active && (t.removeCb(this._update), t.active || (this.vm._watchers[this.raw] = null)), this._bound = !1, this.vm = this.el = this._watcher = null; + } + }, h.set = function (t, e) { + if (this.twoWay && (e && (this._locked = !0), this._watcher.set(t), e)) { + var i = this;r.nextTick(function () { + i._locked = !1; + }); + } + }, t.exports = n; + }, function (t, e, i) { + function n(t, e, i, n) { + this.vm = t, t._watcherList.push(this), this.expression = e, this.cbs = [i], this.id = ++u, this.active = !0, n = n || {}, this.deep = !!n.deep, this.user = !!n.user, this.deps = Object.create(null), n.filters && (this.readFilters = n.filters.read, this.writeFilters = n.filters.write);var r = c.parse(e, n.twoWay);this.getter = r.get, this.setter = r.set, this.value = this.get(); + }function r(t) { + var e, i, n;for (e in t) if ((i = t[e], s.isArray(i))) for (n = i.length; n--;) r(i[n]);else s.isObject(i) && r(i); + }var s = i(11), + o = i(15), + a = i(49), + c = i(22), + h = i(53), + u = 0, + l = n.prototype;l.addDep = function (t) { + var e = t.id;this.newDeps[e] || (this.newDeps[e] = t, this.deps[e] || (this.deps[e] = t, t.addSub(this))); + }, l.get = function () { + this.beforeGet();var t, + e = this.vm;try { + t = this.getter.call(e, e); + } catch (i) { + o.warnExpressionErrors; + }return (this.deep && r(t), t = s.applyFilters(t, this.readFilters, e), this.afterGet(), t); + }, l.set = function (t) { + var e = this.vm;t = s.applyFilters(t, this.writeFilters, e, this.value);try { + this.setter.call(e, e, t); + } catch (i) { + o.warnExpressionErrors; + } + }, l.beforeGet = function () { + a.target = this, this.newDeps = {}; + }, l.afterGet = function () { + a.target = null;for (var t in this.deps) this.newDeps[t] || this.deps[t].removeSub(this);this.deps = this.newDeps; + }, l.update = function () { + !o.async || o.debug ? this.run() : h.push(this); + }, l.run = function () { + if (this.active) { + var t = this.get();if (t !== this.value || Array.isArray(t) || this.deep) { + var e = this.value;this.value = t;for (var i = this.cbs, n = 0, r = i.length; r > n; n++) { + i[n](t, e);var s = r - i.length;s && (n -= s, r -= s); + } + } + } + }, l.addCb = function (t) { + this.cbs.push(t); + }, l.removeCb = function (t) { + var e = this.cbs;if (e.length > 1) { + var i = e.indexOf(t);i > -1 && e.splice(i, 1); + } else t === e[0] && this.teardown(); + }, l.teardown = function () { + if (this.active) { + if (!this.vm._isBeingDestroyed) { + var t = this.vm._watcherList, + e = t.indexOf(this);e > -1 && t.splice(e, 1); + }for (var i in this.deps) this.deps[i].removeSub(this);this.active = !1, this.vm = this.cbs = this.value = null; + } + }, t.exports = n; + }, function (t, e, i) { + function n(t, e) { + return e ? e.toUpperCase() : ""; + }e.isReserved = function (t) { + var e = (t + "").charCodeAt(0);return 36 === e || 95 === e; + }, e.toString = function (t) { + return null == t ? "" : t.toString(); + }, e.toNumber = function (t) { + return isNaN(t) || null === t || "boolean" == typeof t ? t : Number(t); + }, e.stripQuotes = function (t) { + var e = t.charCodeAt(0), + i = t.charCodeAt(t.length - 1);return e !== i || 34 !== e && 39 !== e ? !1 : t.slice(1, -1); + };var r = /-(\w)/g;e.camelize = function (t) { + return t.replace(r, n); + };var s = /(?:^|[-_\/])(\w)/g;e.classify = function (t) { + return t.replace(s, n); + }, e.bind = function (t, e) { + return function () { + return t.apply(e, arguments); + }; + }, e.toArray = function (t, e) { + e = e || 0;for (var i = t.length - e, n = new Array(i); i--;) n[i] = t[i + e];return n; + }, e.extend = function (t, e) { + for (var i in e) t[i] = e[i];return t; + }, e.isObject = function (t) { + return t && "object" == typeof t; + };var o = Object.prototype.toString;e.isPlainObject = function (t) { + return "[object Object]" === o.call(t); + }, e.isArray = function (t) { + return Array.isArray(t); + }, e.define = function (t, e, i, n) { + Object.defineProperty(t, e, { value: i, enumerable: !!n, writable: !0, configurable: !0 }); + }, e.debounce = function (t, e) { + var i, + n, + r, + s, + o, + a = function a() { + var c = Date.now() - s;e > c && c >= 0 ? i = setTimeout(a, e - c) : (i = null, o = t.apply(r, n), i || (r = n = null)); + };return function () { + return (r = this, n = arguments, s = Date.now(), i || (i = setTimeout(a, e)), o); + }; + }; + }, function (t, e, i) { + e.hasProto = "__proto__" in {};var n = Object.prototype.toString, + r = e.inBrowser = "undefined" != typeof window && "[object Object]" !== n.call(window);if ((e.nextTick = (function () { + function t() { + n = !1;var t = i.slice(0);i = [];for (var e = 0; e < t.length; e++) t[e](); + }var e, + i = [], + n = !1;if ("undefined" != typeof MutationObserver) { + var r = 1, + s = new MutationObserver(t), + o = document.createTextNode(r);s.observe(o, { characterData: !0 }), e = function () { + r = (r + 1) % 2, o.data = r; + }; + } else e = setTimeout;return function (r, s) { + var o = s ? function () { + r.call(s); + } : r;i.push(o), n || (n = !0, e(t, 0)); + }; + })(), e.isIE9 = r && navigator.userAgent.indexOf("MSIE 9.0") > 0, r && !e.isIE9)) { + var s = void 0 === window.ontransitionend && void 0 !== window.onwebkittransitionend, + o = void 0 === window.onanimationend && void 0 !== window.onwebkitanimationend;e.transitionProp = s ? "WebkitTransition" : "transition", e.transitionEndEvent = s ? "webkitTransitionEnd" : "transitionend", e.animationProp = o ? "WebkitAnimation" : "animation", e.animationEndEvent = o ? "webkitAnimationEnd" : "animationend"; + } + }, function (t, e, i) { + var n = i(15), + r = "undefined" != typeof document && document.documentElement;e.inDoc = function (t) { + var e = t && t.parentNode;return r === t || r === e || !(!e || 1 !== e.nodeType || !r.contains(e)); + }, e.attr = function (t, e) { + e = n.prefix + e;var i = t.getAttribute(e);return (null !== i && t.removeAttribute(e), i); + }, e.before = function (t, e) { + e.parentNode.insertBefore(t, e); + }, e.after = function (t, i) { + i.nextSibling ? e.before(t, i.nextSibling) : i.parentNode.appendChild(t); + }, e.remove = function (t) { + t.parentNode.removeChild(t); + }, e.prepend = function (t, i) { + i.firstChild ? e.before(t, i.firstChild) : i.appendChild(t); + }, e.replace = function (t, e) { + var i = t.parentNode;i && i.replaceChild(e, t); + }, e.copyAttributes = function (t, e) { + if (t.hasAttributes()) for (var i = t.attributes, n = 0, r = i.length; r > n; n++) { + var s = i[n];e.setAttribute(s.name, s.value); + } + }, e.on = function (t, e, i) { + t.addEventListener(e, i); + }, e.off = function (t, e, i) { + t.removeEventListener(e, i); + }, e.addClass = function (t, e) { + if (t.classList) t.classList.add(e);else { + var i = " " + (t.getAttribute("class") || "") + " ";i.indexOf(" " + e + " ") < 0 && t.setAttribute("class", (i + e).trim()); + } + }, e.removeClass = function (t, e) { + if (t.classList) t.classList.remove(e);else { + for (var i = " " + (t.getAttribute("class") || "") + " ", n = " " + e + " "; i.indexOf(n) >= 0;) i = i.replace(n, " ");t.setAttribute("class", i.trim()); + } + }, e.extractContent = function (t, e) { + var i, n;if (t.hasChildNodes()) for (n = e ? document.createDocumentFragment() : document.createElement("div"); i = t.firstChild;) n.appendChild(i);return n; + }; + }, function (t, e, i) { + i(30);e.resolveFilters = function (t, e, i) { + if (e) { + var n = i || {};return (e.forEach(function (e) { + var i = t.$options.filters[e.name];if (i) { + var r, + s, + o = e.args;"function" == typeof i ? r = i : (r = i.read, s = i.write), r && (n.read || (n.read = []), n.read.push(function (e) { + return o ? r.apply(t, [e].concat(o)) : r.call(t, e); + })), s && (n.write || (n.write = []), n.write.push(function (e, i) { + return o ? s.apply(t, [e, i].concat(o)) : s.call(t, e, i); + })); + } + }), n); + } + }, e.applyFilters = function (t, e, i, n) { + if (!e) return t;for (var r = 0, s = e.length; s > r; r++) t = e[r].call(i, t, n);return t; + }; + }, function (t, e, i) { + i(15); + }, function (t, e, i) { + var n = i(11);t.exports = { bind: function bind() { + this.attr = 3 === this.el.nodeType ? "nodeValue" : "textContent"; + }, update: function update(t) { + this.el[this.attr] = n.toString(t); + } }; + }, function (t, e, i) { + var n = i(11), + r = i(20);t.exports = { bind: function bind() { + 8 === this.el.nodeType && (this.nodes = []); + }, update: function update(t) { + t = n.toString(t), this.nodes ? this.swap(t) : this.el.innerHTML = t; + }, swap: function swap(t) { + for (var e = this.nodes.length; e--;) n.remove(this.nodes[e]);var i = r.parse(t, !0, !0);this.nodes = n.toArray(i.childNodes), n.before(i, this.el); + } }; + }, function (t, e, i) { + function n(t) { + t || 0 === t ? this.el.setAttribute(this.arg, t) : this.el.removeAttribute(this.arg); + }function r(t) { + null != t ? this.el.setAttributeNS(s, this.arg, t) : this.el.removeAttributeNS(s, "href"); + }var s = "http://www.w3.org/1999/xlink", + o = /^xlink:/;t.exports = { priority: 850, bind: function bind() { + var t = this.arg;this.update = o.test(t) ? r : n; + } }; + }, function (t, e, i) { + var n = i(50);t.exports = function (t) { + var e = this.el;n.apply(e, t ? 1 : -1, function () { + e.style.display = t ? "" : "none"; + }, this.vm); + }; + }, function (t, e, i) { + var n = i(11), + r = n.addClass, + s = n.removeClass;t.exports = function (t) { + if (this.arg) { + var e = t ? r : s;e(this.el, this.arg); + } else this.lastVal && s(this.el, this.lastVal), t && (r(this.el, t), this.lastVal = t); + }; + }, function (t, e, i) { + t.exports = { isLiteral: !0, bind: function bind() { + this.vm.$$[this.expression] = this.el; + }, unbind: function unbind() { + delete this.vm.$$[this.expression]; + } }; + }, function (t, e, i) { + i(11);t.exports = { isLiteral: !0, bind: function bind() { + var t = this.el.__vue__;t && (t._refID = this.expression); + } }; + }, function (t, e, i) { + var n = i(15);t.exports = { bind: function bind() { + var t = this.el;this.vm.$once("hook:compiled", function () { + t.removeAttribute(n.prefix + "cloak"); + }); + } }; + }, function (t, e, i) { + function n(t) { + if (l[t]) return l[t];var e = r(t);return (l[t] = l[e] = e, e); + }function r(t) { + t = t.replace(h, "$1-$2").toLowerCase();var e = s.camelize(t), + i = e.charAt(0).toUpperCase() + e.slice(1);if ((u || (u = document.createElement("div")), e in u.style)) return t;for (var n, r = o.length; r--;) if ((n = a[r] + i, n in u.style)) return o[r] + t; + }var s = i(11), + o = ["-webkit-", "-moz-", "-ms-"], + a = ["Webkit", "Moz", "ms"], + c = /!important;?$/, + h = /([a-z])([A-Z])/g, + u = null, + l = {};t.exports = { deep: !0, update: function update(t) { + if (this.arg) this.setProp(this.arg, t);else if ("object" == typeof t) { + this.cache || (this.cache = {});for (var e in t) this.setProp(e, t[e]), t[e] != this.cache[e] && (this.cache[e] = t[e], this.setProp(e, t[e])); + } else this.el.style.cssText = t; + }, setProp: function setProp(t, e) { + if (t = n(t)) if ((null != e && (e += ""), e)) { + var i = c.test(e) ? "important" : "";i && (e = e.replace(c, "").trim()), this.el.style.setProperty(t, e, i); + } else this.el.style.removeProperty(t); + } }; + }, function (t, e, i) { + var n = i(11), + r = i(20), + s = i(45);t.exports = { isLiteral: !0, compile: s.compile, teardown: s.teardown, getContainedComponents: s.getContainedComponents, unbind: s.unbind, bind: function bind() { + var t = this.el;this.start = document.createComment("v-partial-start"), this.end = document.createComment("v-partial-end"), 8 !== t.nodeType && (t.innerHTML = ""), "TEMPLATE" === t.tagName || 8 === t.nodeType ? n.replace(t, this.end) : t.appendChild(this.end), n.before(this.start, this.end), this._isDynamicLiteral || this.insert(this.expression); + }, update: function update(t) { + this.teardown(), this.insert(t); + }, insert: function insert(t) { + var e = this.vm.$options.partials[t];if (e) { + var i = this.filters && this.filters.read;i && (e = n.applyFilters(e, i, this.vm)), this.compile(r.parse(e, !0)); + } + } }; + }, function (t, e, i) { + t.exports = { priority: 1000, isLiteral: !0, bind: function bind() { + this._isDynamicLiteral || this.update(this.expression); + }, update: function update(t) { + var e = this.el.__vue__ || this.vm;this.el.__v_trans = { id: t, fns: e.$options.transitions[t] }; + } }; + }, function (t, e, i) { + var n = i(11);t.exports = { acceptStatement: !0, priority: 700, bind: function bind() { + if ("IFRAME" === this.el.tagName && "load" !== this.arg) { + var t = this;this.iframeBind = function () { + n.on(t.el.contentWindow, t.arg, t.handler); + }, n.on(this.el, "load", this.iframeBind); + } + }, update: function update(t) { + if ("function" == typeof t) { + this.reset();var e = this.vm;this.handler = function (i) { + i.targetVM = e, e.$event = i;var n = t(i);return (e.$event = null, n); + }, this.iframeBind ? this.iframeBind() : n.on(this.el, this.arg, this.handler); + } + }, reset: function reset() { + var t = this.iframeBind ? this.el.contentWindow : this.el;this.handler && n.off(t, this.arg, this.handler); + }, unbind: function unbind() { + this.reset(), n.off(this.el, "load", this.iframeBind); + } }; + }, function (t, e, i) { + var n = i(11), + r = i(20);t.exports = { isLiteral: !0, bind: function bind() { + if (!this.el.__vue__) if ((this.ref = document.createComment("v-component"), n.replace(this.el, this.ref), this.keepAlive = null != this._checkParam("keep-alive"), this.refID = n.attr(this.el, "ref"), this.keepAlive && (this.cache = {}), null !== this._checkParam("inline-template") && (this.template = n.extractContent(this.el, !0)), this._isDynamicLiteral)) this.readyEvent = this._checkParam("wait-for"), this.transMode = this._checkParam("transition-mode");else { + this.resolveCtor(this.expression);var t = this.build();t.$before(this.ref), this.setCurrent(t); + } + }, resolveCtor: function resolveCtor(t) { + this.ctorId = t, this.Ctor = this.vm.$options.components[t]; + }, build: function build() { + if (this.keepAlive) { + var t = this.cache[this.ctorId];if (t) return t; + }var e = this.vm, + i = r.clone(this.el);if (this.Ctor) { + var n = e.$addChild({ el: i, template: this.template, _asComponent: !0, _host: this._host }, this.Ctor);return (this.keepAlive && (this.cache[this.ctorId] = n), n); + } + }, unbuild: function unbuild() { + var t = this.childVM;t && !this.keepAlive && t.$destroy(!1, !0); + }, remove: function remove(t, e) { + var i = this.keepAlive;t ? t.$remove(function () { + i || t._cleanup(), e && e(); + }) : e && e(); + }, update: function update(t) { + if (t) { + this.resolveCtor(t), this.unbuild();var e = this.build(), + i = this;this.readyEvent ? e.$once(this.readyEvent, function () { + i.swapTo(e); + }) : this.swapTo(e); + } else this.unbuild(), this.remove(this.childVM), this.unsetCurrent(); + }, swapTo: function swapTo(t) { + var e = this, + i = this.childVM;switch ((this.unsetCurrent(), this.setCurrent(t), e.transMode)) {case "in-out": + t.$before(e.ref, function () { + e.remove(i); + });break;case "out-in": + e.remove(i, function () { + t.$before(e.ref); + });break;default: + e.remove(i), t.$before(e.ref);} + }, setCurrent: function setCurrent(t) { + this.childVM = t;var e = t._refID || this.refID;e && (this.vm.$[e] = t); + }, unsetCurrent: function unsetCurrent() { + var t = this.childVM;this.childVM = null;var e = t && t._refID || this.refID;e && (this.vm.$[e] = null); + }, unbind: function unbind() { + if ((this.unbuild(), this.cache)) { + for (var t in this.cache) this.cache[t].$destroy();this.cache = null; + } + } }; + }, function (t, e, i) { + function n(t, e) { + for (var i = (t._blockEnd || t.$el).nextSibling; !i.__vue__ && i !== e;) i = i.nextSibling;return i.__vue__; + }function r(t) { + if ((this.rawValue = t, !c(t))) return t;for (var e, i = Object.keys(t), n = i.length, r = new Array(n); n--;) e = i[n], r[n] = { $key: e, $value: t[e] };return (this.converted = !0, r); + }function s(t) { + for (var e = -1, i = new Array(t); ++e < t;) i[e] = e;return i; + }var o = i(11), + a = o.isObject, + c = o.isPlainObject, + h = i(19), + u = i(22), + l = i(20), + f = i(16), + d = i(17), + p = i(14), + v = 0;t.exports = { bind: function bind() { + this.id = "__v_repeat_" + ++v, this.filters || (this.filters = {});var t = o.bind(r, this);this.filters.read ? this.filters.read.unshift(t) : this.filters.read = [t], this.ref = document.createComment("v-repeat"), o.replace(this.el, this.ref), this.template = "TEMPLATE" === this.el.tagName ? l.parse(this.el, !0) : this.el, this.checkIf(), this.checkRef(), this.checkComponent(), this.idKey = this._checkParam("track-by") || this._checkParam("trackby"), this.cache = Object.create(null); + }, checkIf: function checkIf() { + null !== o.attr(this.el, "if"); + }, checkRef: function checkRef() { + var t = o.attr(this.el, "ref");this.refID = t ? this.vm.$interpolate(t) : null;var e = o.attr(this.el, "el");this.elId = e ? this.vm.$interpolate(e) : null; + }, checkComponent: function checkComponent() { + var t = o.attr(this.el, "component"), + e = this.vm.$options;if (t) { + this.asComponent = !0, null !== this._checkParam("inline-template") && (this.inlineTempalte = o.extractContent(this.el, !0));var i = h.parse(t);if (i) { + var n = h.tokensToExp(i);this.ctorGetter = u.parse(n).get; + } else { + var r = this.Ctor = e.components[t], + s = p(r.options, {}, { $parent: this.vm });s.template = this.inlineTempalte || s.template, s._asComponent = !0, s._parent = this.vm, this.template = d(this.template, s), this.template.__vue__ = !0, this._linkFn = f(this.template, s); + } + } else this.Ctor = o.Vue, this.inherit = !0, this.template = d(this.template), this._linkFn = f(this.template, e); + }, update: function update(t) { + t = t || [];var e = typeof t;"number" === e ? t = s(t) : "string" === e && (t = o.toArray(t)), this.vms = this.diff(t, this.vms), this.refID && (this.vm.$[this.refID] = this.vms), this.elId && (this.vm.$$[this.elId] = this.vms.map(function (t) { + return t.$el; + })); + }, diff: function diff(t, e) { + var i, + r, + s, + o, + a, + c = this.idKey, + h = this.converted, + u = this.ref, + l = this.arg, + f = !e, + d = new Array(t.length);for (o = 0, a = t.length; a > o; o++) i = t[o], r = h ? i.$value : i, s = !f && this.getVm(r), s ? (s._reused = !0, s.$index = o, h && (s.$key = i.$key), c && (l ? s[l] = r : s._setData(r))) : (s = this.build(i, o, !0), s._new = !0, s._reused = !1), d[o] = s, f && s.$before(u);if (f) return d;for (o = 0, a = e.length; a > o; o++) s = e[o], s._reused || (this.uncacheVm(s), s.$destroy(!0));var p, v;for (o = d.length; o--;) { + if ((s = d[o], p = d[o + 1])) { + var m = p.$el;s._reused ? (v = n(s, u), v !== p && s.$before(m, null, !1)) : s.$before(m); + } else s._reused || s.$before(u);s._new = !1, s._reused = !1; + }return d; + }, build: function build(t, e, i) { + var n = { $index: e };this.converted && (n.$key = t.$key);var r = this.converted ? t.$value : t, + s = this.arg;s ? (t = {}, t[s] = r) : c(r) ? t = r : (t = {}, n.$value = r);var o = this.Ctor || this.resolveCtor(t, n), + a = this.vm.$addChild({ el: l.clone(this.template), _asComponent: this.asComponent, _host: this._host, _linkFn: this._linkFn, _meta: n, data: t, inherit: this.inherit, template: this.inlineTempalte }, o);a._repeat = !0, i && this.cacheVm(r, a);var h = this;return (a.$watch("$value", function (t) { + h.converted ? h.rawValue[a.$key] = t : h.rawValue.$set(a.$index, t); + }), a); + }, resolveCtor: function resolveCtor(t, e) { + var i, + n = Object.create(this.vm);for (i in t) o.define(n, i, t[i]);for (i in e) o.define(n, i, e[i]);var r = this.ctorGetter.call(n, n), + s = this.vm.$options.components[r];return s; + }, unbind: function unbind() { + if ((this.refID && (this.vm.$[this.refID] = null), this.vms)) for (var t, e = this.vms.length; e--;) t = this.vms[e], this.uncacheVm(t), t.$destroy(); + }, cacheVm: function cacheVm(t, e) { + var i, + n = this.idKey, + r = this.cache;n ? (i = t[n], r[i] || (r[i] = e)) : a(t) ? (i = this.id, t.hasOwnProperty(i) ? null === t[i] && (t[i] = e) : o.define(t, this.id, e)) : r[t] ? r[t].push(e) : r[t] = [e], e._raw = t; + }, getVm: function getVm(t) { + if (this.idKey) return this.cache[t[this.idKey]];if (a(t)) return t[this.id];var e = this.cache[t];if (e) { + for (var i = 0, n = e[i]; n && (n._reused || n._new);) n = e[++i];return n; + } + }, uncacheVm: function uncacheVm(t) { + var e = t._raw;this.idKey ? this.cache[e[this.idKey]] = null : a(e) ? (e[this.id] = null, t._raw = null) : this.cache[e].pop(); + } }; + }, function (t, e, i) { + function n(t) { + t._isAttached || t._callHook("attached"); + }function r(t) { + t._isAttached && t._callHook("detached"); + }var s = i(11), + o = i(16), + a = i(20), + c = i(50);t.exports = { bind: function bind() { + var t = this.el;t.__vue__ ? this.invalid = !0 : (this.start = document.createComment("v-if-start"), this.end = document.createComment("v-if-end"), s.replace(t, this.end), s.before(this.start, this.end), "TEMPLATE" === t.tagName ? this.template = a.parse(t, !0) : (this.template = document.createDocumentFragment(), this.template.appendChild(a.clone(t))), this.linker = o(this.template, this.vm.$options, !0)); + }, update: function update(t) { + if (!this.invalid) if (t) { + if (!this.unlink) { + var e = a.clone(this.template);this.compile(e); + } + } else this.teardown(); + }, compile: function compile(t) { + var e = this.vm;if ((this.unlink = this.linker ? this.linker(e, t) : e.$compile(t), c.blockAppend(t, this.end, e), s.inDoc(e.$el))) { + var i = this.getContainedComponents();i && i.forEach(n); + } + }, teardown: function teardown() { + if (this.unlink) { + var t;s.inDoc(this.vm.$el) && (t = this.getContainedComponents()), c.blockRemove(this.start, this.end, this.vm), t && t.forEach(r), this.unlink(), this.unlink = null; + } + }, getContainedComponents: function getContainedComponents() { + function t(t) { + for (var e, r = i; e !== n;) { + if ((e = r.nextSibling, r.contains(t.$el))) return !0;r = e; + }return !1; + }var e = this.vm, + i = this.start.nextSibling, + n = this.end, + r = e._children.length && e._children.filter(t), + s = e._transCpnts && e._transCpnts.filter(t);return r ? s ? r.concat(s) : r : s; + }, unbind: function unbind() { + this.unlink && this.unlink(); + } }; + }, function (t, e, i) { + var n = i(11), + r = i(25), + s = i(22), + o = /^(true|false|\s?('[^']*'|"[^"]")\s?)$/;t.exports = { priority: 900, bind: function bind() { + var t = this.vm, + e = t.$parent, + i = this.arg || "$data", + a = this.expression;if (this.el && this.el !== t.$el) ;else if (e) if (o.test(a)) if (this.arg) { + var c = s.parse(a).get();t.$set(i, c); + } else ;else { + var h = !1, + u = function u() { + h = !0, n.nextTick(l); + }, + l = function l() { + h = !1; + };this.parentWatcher = new r(e, a, function (e) { + h || (u(), t.$set(i, e)); + }), t.$set(i, this.parentWatcher.value), this.childWatcher = new r(t, i, function (t) { + h || (u(), e.$set(a, t)); + }); + } else ; + }, unbind: function unbind() { + this.parentWatcher && (this.parentWatcher.teardown(), this.childWatcher.teardown()); + } }; + }, function (t, e, i) { + i(11);t.exports = { acceptStatement: !0, bind: function bind() { + var t = this.el.__vue__;!t || this.vm !== t.$parent; + }, update: function update(t, e) { + if ("function" == typeof t) { + var i = this.el.__vue__;e && i.$off(this.arg, e), i.$on(this.arg, t); + } + } }; + }, function (t, e, i) { + function n(t, e) { + if (r.isObject(t)) { + for (var i in t) if (n(t[i], e)) return !0; + } else if (null != t) return t.toString().toLowerCase().indexOf(e) > -1; + }var r = i(11), + s = i(18);e.filterBy = function (t, e, i, o) { + i && "in" !== i && (o = i);var a = r.stripQuotes(e) || this.$get(e);return a ? (a = ("" + a).toLowerCase(), o = o && (r.stripQuotes(o) || this.$get(o)), t.filter(function (t) { + return o ? n(s.get(t, o), a) : n(t, a); + })) : t; + }, e.orderBy = function (t, e, i) { + var n = r.stripQuotes(e) || this.$get(e);if (!n) return t;var o = 1;return (i && ("-1" === i ? o = -1 : 33 === i.charCodeAt(0) ? (i = i.slice(1), o = this.$get(i) ? 1 : -1) : o = this.$get(i) ? -1 : 1), t.slice().sort(function (t, e) { + return (t = r.isObject(t) ? s.get(t, n) : t, e = r.isObject(e) ? s.get(e, n) : e, t === e ? 0 : t > e ? o : -o); + })); + }; + }, function (t, e, i) { + function n(t, e) { + t.__proto__ = e; + }function r(t, e, i) { + for (var n, r = i.length; r--;) n = i[r], o.define(t, n, e[n]); + }function s(t, e) { + if ((this.id = ++l, this.value = t, this.active = !0, this.deps = [], o.define(t, "__ob__", this), e === f)) { + var i = a.proto && o.hasProto ? n : r;i(t, h, u), this.observeArray(t); + } else e === d && this.walk(t); + }var o = i(11), + a = i(15), + c = i(23), + h = i(54), + u = Object.getOwnPropertyNames(h);i(55);var l = 0, + f = 0, + d = 1;s.target = null;var p = s.prototype;s.create = function (t) { + return t && t.hasOwnProperty("__ob__") && t.__ob__ instanceof s ? t.__ob__ : o.isArray(t) ? new s(t, f) : o.isPlainObject(t) && !t._isVue ? new s(t, d) : void 0; + }, p.walk = function (t) { + for (var e, i, n = Object.keys(t), r = n.length; r--;) e = n[r], i = e.charCodeAt(0), 36 !== i && 95 !== i && this.convert(e, t[e]); + }, p.observe = function (t) { + return s.create(t); + }, p.observeArray = function (t) { + for (var e = t.length; e--;) this.observe(t[e]); + }, p.convert = function (t, e) { + var i = this, + n = i.observe(e), + r = new c();n && n.deps.push(r), Object.defineProperty(i.value, t, { enumerable: !0, configurable: !0, get: function get() { + return (i.active && s.target && s.target.addDep(r), e); + }, set: function set(t) { + if (t !== e) { + var n = e && e.__ob__;if (n) { + var s = n.deps;s.splice(s.indexOf(r), 1); + }e = t;var o = i.observe(t);o && o.deps.push(r), r.notify(); + } + } }); + }, p.notify = function () { + for (var t = this.deps, e = 0, i = t.length; i > e; e++) t[e].notify(); + }, p.addVm = function (t) { + (this.vms = this.vms || []).push(t); + }, p.removeVm = function (t) { + this.vms.splice(this.vms.indexOf(t), 1); + }, t.exports = s; + }, function (t, e, i) { + var n = i(11), + r = i(56), + s = i(57), + o = "undefined" == typeof document ? null : document;e.append = function (t, e, i, n) { + a(t, 1, function () { + e.appendChild(t); + }, i, n); + }, e.before = function (t, e, i, r) { + a(t, 1, function () { + n.before(t, e); + }, i, r); + }, e.remove = function (t, e, i) { + a(t, -1, function () { + n.remove(t); + }, e, i); + }, e.removeThenAppend = function (t, e, i, n) { + a(t, -1, function () { + e.appendChild(t); + }, i, n); + }, e.blockAppend = function (t, i, r) { + for (var s = n.toArray(t.childNodes), o = 0, a = s.length; a > o; o++) e.before(s[o], i, r); + }, e.blockRemove = function (t, i, n) { + for (var r, s = t.nextSibling; s !== i;) r = s.nextSibling, e.remove(s, n), s = r; + };var a = e.apply = function (t, e, i, a, c) { + var h = t.__v_trans;if (!h || !a._isCompiled || a.$parent && !a.$parent._isCompiled) return (i(), void (c && c()));var u = h.fns;u ? s(t, e, i, h, u, a, c) : !n.transitionEndEvent || o && o.hidden ? (i(), c && c()) : r(t, e, i, h, c); + }; + }, function (t, e, i) { + var n = (i(11), { _default: i(58), radio: i(59), select: i(60), checkbox: i(61) });t.exports = { priority: 800, twoWay: !0, handlers: n, bind: function bind() { + var t = this.filters;t && t.read && !t.write;var e, + i = this.el, + r = i.tagName;if ("INPUT" === r) e = n[i.type] || n._default;else if ("SELECT" === r) e = n.select;else { + if ("TEXTAREA" !== r) return;e = n._default; + }e.bind.call(this), this.update = e.update, this.unbind = e.unbind; + } }; + }, function (t, e, i) { + function n(t) { + this.size = 0, this.limit = t, this.head = this.tail = void 0, this._keymap = {}; + }var r = n.prototype;r.put = function (t, e) { + var i = { key: t, value: e };return (this._keymap[t] = i, this.tail ? (this.tail.newer = i, i.older = this.tail) : this.head = i, this.tail = i, this.size === this.limit ? this.shift() : void this.size++); + }, r.shift = function () { + var t = this.head;return (t && (this.head = this.head.newer, this.head.older = void 0, t.newer = t.older = void 0, this._keymap[t.key] = void 0), t); + }, r.get = function (t, e) { + var i = this._keymap[t];if (void 0 !== i) return i === this.tail ? e ? i : i.value : (i.newer && (i === this.head && (this.head = i.newer), i.newer.older = i.older), i.older && (i.older.newer = i.newer), i.newer = void 0, i.older = this.tail, this.tail && (this.tail.newer = i), this.tail = i, e ? i : i.value); + }, t.exports = n; + }, function (t, e, i) { + function n() { + c = [], h = [], u = {}, l = !1, f = !1; + }function r() { + f = !0, s(c), s(h), n(); + }function s(t) { + for (var e = 0; e < t.length; e++) t[e].run(); + }var o = i(11), + a = 10, + c = [], + h = [], + u = {}, + l = !1, + f = !1;e.push = function (t) { + var e = t.id;if (!e || !u[e] || f) { + if (u[e]) { + if ((u[e]++, u[e] > a)) return; + } else u[e] = 1;if (f && !t.user) return void t.run();(t.user ? h : c).push(t), l || (l = !0, o.nextTick(r)); + } + }; + }, function (t, e, i) { + var n = i(11), + r = Array.prototype, + s = Object.create(r);["push", "pop", "shift", "unshift", "splice", "sort", "reverse"].forEach(function (t) { + var e = r[t];n.define(s, t, function () { + for (var i = arguments.length, n = new Array(i); i--;) n[i] = arguments[i];var r, + s = e.apply(this, n), + o = this.__ob__;switch (t) {case "push": + r = n;break;case "unshift": + r = n;break;case "splice": + r = n.slice(2);}return (r && o.observeArray(r), o.notify(), s); + }); + }), n.define(r, "$set", function (t, e) { + return (t >= this.length && (this.length = t + 1), this.splice(t, 1, e)[0]); + }), n.define(r, "$remove", function (t) { + return ("number" != typeof t && (t = this.indexOf(t)), t > -1 ? this.splice(t, 1)[0] : void 0); + }), t.exports = s; + }, function (t, e, i) { + var n = i(11), + r = Object.prototype;n.define(r, "$add", function (t, e) { + if (!this.hasOwnProperty(t)) { + var i = this.__ob__;if (!i || n.isReserved(t)) return void (this[t] = e);if ((i.convert(t, e), i.vms)) for (var r = i.vms.length; r--;) { + var s = i.vms[r];s._proxy(t), s._digest(); + } else i.notify(); + } + }), n.define(r, "$set", function (t, e) { + this.$add(t, e), this[t] = e; + }), n.define(r, "$delete", function (t) { + if (this.hasOwnProperty(t)) { + delete this[t];var e = this.__ob__;if (e && !n.isReserved(t)) if (e.vms) for (var i = e.vms.length; i--;) { + var r = e.vms[i];r._unproxy(t), r._digest(); + } else e.notify(); + } + }); + }, function (t, e, i) { + function n(t, e, i, n, s) { + f.push({ el: t, dir: e, cb: s, cls: n, op: i }), d || (d = !0, a.nextTick(r)); + }function r() { + document.documentElement.offsetHeight;f.forEach(s), f = [], d = !1; + }function s(t) { + function e(t, e) { + n.event = t;var r = n.callback = function (o) { + o.target === i && (a.off(i, t, r), n.event = n.callback = null, e && e(), s && s()); + };a.on(i, t, r); + }var i = t.el, + n = i.__v_trans, + r = t.cls, + s = t.cb, + c = t.op, + u = o(i, n, r);if (t.dir > 0) 1 === u ? (h(i, r), s && e(a.transitionEndEvent)) : 2 === u ? e(a.animationEndEvent, function () { + h(i, r); + }) : (h(i, r), s && s());else if (u) { + var l = 1 === u ? a.transitionEndEvent : a.animationEndEvent;e(l, function () { + c(), h(i, r); + }); + } else c(), h(i, r), s && s(); + }function o(t, e, i) { + var n = e.cache && e.cache[i];if (n) return n;var r = t.style, + s = window.getComputedStyle(t), + o = r[u] || s[u];if (o && "0s" !== o) n = 1;else { + var a = r[l] || s[l];a && "0s" !== a && (n = 2); + }return (n && (e.cache || (e.cache = {}), e.cache[i] = n), n); + }var a = i(11), + c = a.addClass, + h = a.removeClass, + u = a.transitionProp + "Duration", + l = a.animationProp + "Duration", + f = [], + d = !1;t.exports = function (t, e, i, r, s) { + var o = r.id || "v", + u = o + "-enter", + l = o + "-leave";r.callback && (a.off(t, r.event, r.callback), h(t, u), h(t, l), r.event = r.callback = null), e > 0 ? (c(t, u), i(), n(t, e, null, u, s)) : (c(t, l), n(t, e, i, l, s)); + }; + }, function (t, e, i) { + t.exports = function (t, e, i, n, r, s, o) { + s = t.__vue__ || s, n.cancel && (n.cancel(), n.cancel = null), e > 0 ? (r.beforeEnter && r.beforeEnter.call(s, t), i(), r.enter ? n.cancel = r.enter.call(s, t, function () { + n.cancel = null, o && o(); + }) : o && o()) : r.leave ? n.cancel = r.leave.call(s, t, function () { + n.cancel = null, i(), o && o(); + }) : (i(), o && o()); + }; + }, function (t, e, i) { + var n = i(11);t.exports = { bind: function bind() { + function t() { + e.set(s ? n.toNumber(i.value) : i.value, !0); + }var e = this, + i = this.el, + r = null != this._checkParam("lazy"), + s = null != this._checkParam("number"), + o = parseInt(this._checkParam("debounce"), 10), + a = !1;this.cpLock = function () { + a = !0; + }, this.cpUnlock = function () { + a = !1, t(); + }, n.on(i, "compositionstart", this.cpLock), n.on(i, "compositionend", this.cpUnlock);var c = this.filters && this.filters.read;this.listener = c || "range" === i.type ? function () { + if (!a) { + var r;try { + r = i.value.length - i.selectionStart; + } catch (s) {}0 > r || (t(), n.nextTick(function () { + var t = e._watcher.value;if ((e.update(t), null != r)) { + var s = n.toString(t).length - r;i.setSelectionRange(s, s); + } + })); + } + } : function () { + a || t(); + }, o && (this.listener = n.debounce(this.listener, o)), this.event = r ? "change" : "input", this.hasjQuery = "function" == typeof jQuery, this.hasjQuery ? jQuery(i).on(this.event, this.listener) : n.on(i, this.event, this.listener), !r && n.isIE9 && (this.onCut = function () { + n.nextTick(e.listener); + }, this.onDel = function (t) { + (46 === t.keyCode || 8 === t.keyCode) && e.listener(); + }, n.on(i, "cut", this.onCut), n.on(i, "keyup", this.onDel)), (i.hasAttribute("value") || "TEXTAREA" === i.tagName && i.value.trim()) && (this._initValue = s ? n.toNumber(i.value) : i.value); + }, update: function update(t) { + this.el.value = n.toString(t); + }, unbind: function unbind() { + var t = this.el;this.hasjQuery ? jQuery(t).off(this.event, this.listener) : n.off(t, this.event, this.listener), n.off(t, "compositionstart", this.cpLock), n.off(t, "compositionend", this.cpUnlock), this.onCut && (n.off(t, "cut", this.onCut), n.off(t, "keyup", this.onDel)); + } }; + }, function (t, e, i) { + var n = i(11);t.exports = { bind: function bind() { + var t = this, + e = this.el;this.listener = function () { + t.set(e.value, !0); + }, n.on(e, "change", this.listener), e.checked && (this._initValue = e.value); + }, update: function update(t) { + this.el.checked = t == this.el.value; + }, unbind: function unbind() { + n.off(this.el, "change", this.listener); + } }; + }, function (t, e, i) { + function n(t) { + function e(t) { + u.isArray(t) && (i.el.innerHTML = "", r(i.el, t), i._watcher && i.update(i._watcher.value)); + }var i = this, + n = f.parse(t)[0];this.optionWatcher = new l(this.vm, n.expression, e, { deep: !0, filters: u.resolveFilters(this.vm, n.filters) }), e(this.optionWatcher.value); + }function r(t, e) { + for (var i, n, s = 0, o = e.length; o > s; s++) i = e[s], i.options ? (n = document.createElement("optgroup"), n.label = i.label, r(n, i.options)) : (n = document.createElement("option"), "string" == typeof i ? n.text = n.value = i : (n.text = i.text, n.value = i.value)), t.appendChild(n); + }function s() { + for (var t, e = this.el.options, i = 0, n = e.length; n > i; i++) e[i].hasAttribute("selected") && (this.multiple ? (t || (t = [])).push(e[i].value) : t = e[i].value);"undefined" != typeof t && (this._initValue = this.number ? u.toNumber(t) : t); + }function o(t) { + return Array.prototype.filter.call(t.options, a).map(c); + }function a(t) { + return t.selected; + }function c(t) { + return t.value || t.text; + }function h(t, e) { + for (var i = t.length; i--;) if (t[i] == e) return i;return -1; + }var u = i(11), + l = i(25), + f = i(21);t.exports = { bind: function bind() { + var t = this, + e = this.el, + i = this._checkParam("options");i && n.call(this, i), this.number = null != this._checkParam("number"), this.multiple = e.hasAttribute("multiple"), this.listener = function () { + var i = t.multiple ? o(e) : e.value;i = t.number ? u.isArray(i) ? i.map(u.toNumber) : u.toNumber(i) : i, t.set(i, !0); + }, u.on(e, "change", this.listener), s.call(this); + }, update: function update(t) { + var e = this.el;e.selectedIndex = -1;for (var i, n = this.multiple && u.isArray(t), r = e.options, s = r.length; s--;) i = r[s], i.selected = n ? h(t, i.value) > -1 : t == i.value; + }, unbind: function unbind() { + u.off(this.el, "change", this.listener), this.optionWatcher && this.optionWatcher.teardown(); + } }; + }, function (t, e, i) { + var n = i(11);t.exports = { bind: function bind() { + var t = this, + e = this.el;this.listener = function () { + t.set(e.checked, !0); + }, n.on(e, "change", this.listener), e.checked && (this._initValue = e.checked); + }, update: function update(t) { + this.el.checked = !!t; + }, unbind: function unbind() { + n.off(this.el, "change", this.listener); + } }; + }]); +}); +!(function (e) { + function t(r) { + if (n[r]) return n[r].exports;var o = n[r] = { exports: {}, id: r, loaded: !1 };return (e[r].call(o.exports, o, o.exports, t), o.loaded = !0, o.exports); + }var n = {};return (t.m = e, t.c = n, t.p = "", t(0)); +})([function (e, t, n) { + function r(e) { + e.url = n(4)(e), e.http = n(2)(e), e.resource = n(3)(e); + }window.Vue && Vue.use(r), e.exports = r; +}, function (e, t, n) { + e.exports = function (e) { + function t(e, r, o) { + for (var s in r) o && (n.isPlainObject(r[s]) || n.isArray(r[s])) ? (n.isPlainObject(r[s]) && !n.isPlainObject(e[s]) && (e[s] = {}), n.isArray(r[s]) && !n.isArray(e[s]) && (e[s] = []), t(e[s], r[s], o)) : void 0 !== r[s] && (e[s] = r[s]); + }var n = e.util.extend({}, e.util);return (n.options = function (e, t, r) { + var o = t.$options || {};return n.extend({}, o[e], r); + }, n.each = function (e, t) { + var r, o;if ("number" == typeof e.length) for (r = 0; r < e.length; r++) t.call(e[r], e[r], r);else if (n.isObject(e)) for (o in e) e.hasOwnProperty(o) && t.call(e[o], e[o], o);return e; + }, n.extend = function (e) { + var n, + r = [], + o = r.slice.call(arguments, 1);return ("boolean" == typeof e && (n = e, e = o.shift()), o.forEach(function (r) { + t(e, r, n); + }), e); + }, n.isFunction = function (e) { + return e && "function" == typeof e; + }, n.Promise = window.Promise, n.Promise || (n.Promise = function (e) { + e(this.resolve.bind(this), this.reject.bind(this)), this._thens = []; + }, n.Promise.prototype = { then: function then(e, t, n) { + this._thens.push({ resolve: e, reject: t, progress: n }); + }, "catch": function _catch(e) { + this._thens.push({ reject: e }); + }, resolve: function resolve(e) { + this._complete("resolve", e); + }, reject: function reject(e) { + this._complete("reject", e); + }, progress: function progress(e) { + for (var t, n = 0; t = this._thens[n++];) t.progress && t.progress(e); + }, _complete: function _complete(e, t) { + this.then = "resolve" === e ? function (e, n) { + e && e(t); + } : function (e, n) { + n && n(t); + }, this.resolve = this.reject = this.progress = function () { + throw new Error("Promise already completed."); + };for (var n, r = 0; n = this._thens[r++];) n[e] && n[e](t);delete this._thens; + } }), n); + }; +}, function (e, t, n) { + e.exports = function (e) { + function t(n, a) { + var c, + u, + p = this;return (a = a || {}, i.isPlainObject(n) && (a = n, n = ""), c = i.extend({}, t.headers.common, t.headers[a.method.toLowerCase()]), a = i.extend(!0, { url: n, headers: c }, t.options, i.options("http", this, a)), i.isObject(a.data) && /FormData/i.test(a.data.toString()) && delete a.headers["Content-Type"], u = new i.Promise(("jsonp" == a.method.toLowerCase() ? o : r).bind(this, this.$url || e.url, a)), i.extend(u, { success: function success(e) { + return (this.then(function (t) { + e.apply(p, s(t)); + }, function () {}), this); + }, error: function error(e) { + return (this["catch"](function (t) { + e.apply(p, s(t)); + }), this); + }, always: function always(e) { + var t = function t(_t) { + e.apply(p, s(_t)); + };return (this.then(t, t), this); + } }), a.success && u.success(a.success), a.error && u.error(a.error), u); + }function r(t, n, r, o) { + var s = new XMLHttpRequest();i.isFunction(n.beforeSend) && n.beforeSend(s, n), n.emulateHTTP && /^(PUT|PATCH|DELETE)$/i.test(n.method) && (n.headers["X-HTTP-Method-Override"] = n.method, n.method = "POST"), n.emulateJSON && i.isPlainObject(n.data) && (n.headers["Content-Type"] = "application/x-www-form-urlencoded", n.data = e.url.params(n.data)), i.isPlainObject(n.data) && (n.data = JSON.stringify(n.data)), s.open(n.method, t(n), !0), i.each(n.headers, function (e, t) { + s.setRequestHeader(t, e); + }), s.onreadystatechange = function () { + 4 === this.readyState && (this.status >= 200 && this.status < 300 ? r(this) : o(this)); + }, s.send(n.data); + }function o(e, t, n, r) { + var o, + s, + a = "_jsonp" + Math.random().toString(36).substr(2);i.extend(t.params, t.data), t.params[t.jsonp] = a, i.isFunction(t.beforeSend) && t.beforeSend({}, t), o = document.createElement("script"), o.src = e(t.url, t.params), o.type = "text/javascript", o.async = !0, window[a] = function (e) { + s = e; + };var c = function c(e) { + delete window[a], document.body.removeChild(o), "load" !== e.type || s || (e.type = "error");var t = s ? s : e.type, + i = "error" === e.type ? 404 : 200;(200 === i ? n : r)({ responseText: t, status: i }); + };o.onload = c, o.onerror = c, document.body.appendChild(o); + }function s(e) { + var t;try { + t = JSON.parse(e.responseText); + } catch (n) { + t = e.responseText; + }return [t, e.status, e]; + }var i = n(1)(e), + a = { "Content-Type": "application/json;charset=utf-8" };return (t.options = { method: "GET", params: {}, data: "", jsonp: "callback", beforeSend: null, emulateHTTP: !1, emulateJSON: !1 }, t.headers = { put: a, post: a, patch: a, "delete": a, common: { Accept: "application/json, text/plain, */*" } }, ["get", "put", "post", "patch", "delete", "jsonp"].forEach(function (e) { + t[e] = function (t, n, r, o) { + return (i.isFunction(n) && (o = r, r = n, n = void 0), this(t, i.extend({ method: e, data: n, success: r }, o))); + }; + }), Object.defineProperty(e.prototype, "$http", { get: function get() { + return i.extend(t.bind(this), t); + } }), t); + }; +}, function (e, t, n) { + e.exports = function (e) { + function t(n, s, i) { + var a = this, + c = {};return (i = o.extend({}, t.actions, i), o.each(i, function (t, i) { + t = o.extend(!0, { url: n, params: s || {} }, t), c[i] = function () { + return (a.$http || e.http)(r(t, arguments)); + }; + }), c); + }function r(e, t) { + var n, + r, + s, + i = o.extend({}, e), + a = {};switch (t.length) {case 4: + s = t[3], r = t[2];case 3:case 2: + if (!o.isFunction(t[1])) { + a = t[0], n = t[1], r = t[2];break; + }if (o.isFunction(t[0])) { + r = t[0], s = t[1];break; + }r = t[1], s = t[2];case 1: + o.isFunction(t[0]) ? r = t[0] : /^(POST|PUT|PATCH)$/i.test(i.method) ? n = t[0] : a = t[0];break;case 0: + break;default: + throw "Expected up to 4 arguments [params, data, success, error], got " + t.length + " arguments";}return (i.url = e.url, i.data = n, i.params = o.extend({}, e.params, a), r && (i.success = r), s && (i.error = s), i); + }var o = n(1)(e);return (t.actions = { get: { method: "GET" }, save: { method: "POST" }, query: { method: "GET" }, remove: { method: "DELETE" }, "delete": { method: "DELETE" } }, Object.defineProperty(e.prototype, "$resource", { get: function get() { + return t.bind(this); + } }), t); + }; +}, function (e, t, n) { + e.exports = function (e) { + function t(e, n) { + var r, + s = {}, + a = {}, + c = e;return (i.isPlainObject(c) || (c = { url: e, params: n }), c = i.extend({}, t.options, i.options("url", this, c)), e = c.url.replace(/:([a-z]\w*)/gi, function (e, t) { + return c.params[t] ? (s[t] = !0, o(c.params[t])) : ""; + }), !e.match(/^(https?:)?\//) && c.root && (e = c.root + "/" + e), e = e.replace(/([^:])[\/]{2,}/g, "$1/"), e = e.replace(/(\w+)\/+$/, "$1"), i.each(c.params, function (e, t) { + s[t] || (a[t] = e); + }), r = t.params(a), r && (e += (-1 == e.indexOf("?") ? "?" : "&") + r), e); + }function r(e, t, n) { + var o, + s = i.isArray(t), + a = i.isPlainObject(t);i.each(t, function (t, c) { + o = i.isObject(t) || i.isArray(t), n && (c = n + "[" + (a || o ? c : "") + "]"), !n && s ? e.add(t.name, t.value) : o ? r(e, t, c) : e.add(c, t); + }); + }function o(e) { + return s(e, !0).replace(/%26/gi, "&").replace(/%3D/gi, "=").replace(/%2B/gi, "+"); + }function s(e, t) { + return encodeURIComponent(e).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, t ? "%20" : "+"); + }var i = n(1)(e);return (t.options = { url: "", root: "", params: {} }, t.params = function (e) { + var t = [];return (t.add = function (e, t) { + i.isFunction(t) && (t = t()), null === t && (t = ""), this.push(o(e) + "=" + o(t)); + }, r(t, e), t.join("&")); + }, t.parse = function (e) { + var t = new RegExp("^(?:([^:/?#]+):)?(?://([^/?#]*))?([^?#]*)(?:\\?([^#]*))?(?:#(.*))?"), + n = e.match(t);return { url: e, scheme: n[1] || "", host: n[2] || "", path: n[3] || "", query: n[4] || "", fragment: n[5] || "" }; + }, Object.defineProperty(e.prototype, "$url", { get: function get() { + return i.extend(t.bind(this), t); + } }), t); + }; +}]); +//# sourceMappingURL=vendor.js.map \ No newline at end of file diff --git a/resources/views/auth/emails/password.blade.php b/resources/views/auth/emails/password.blade.php new file mode 100644 index 0000000..1b53830 --- /dev/null +++ b/resources/views/auth/emails/password.blade.php @@ -0,0 +1 @@ +Click here to reset your password: {{ $link }} diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php new file mode 100644 index 0000000..bfaf375 --- /dev/null +++ b/resources/views/auth/login.blade.php @@ -0,0 +1,66 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+
Login
+
+
+ {!! csrf_field() !!} + +
+ + +
+ + + @if ($errors->has('email')) + + {{ $errors->first('email') }} + + @endif +
+
+ +
+ + +
+ + + @if ($errors->has('password')) + + {{ $errors->first('password') }} + + @endif +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + Forgot Your Password? +
+
+
+
+
+
+
+
+@endsection diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php new file mode 100644 index 0000000..9833600 --- /dev/null +++ b/resources/views/auth/passwords/email.blade.php @@ -0,0 +1,47 @@ +@extends('layouts.app') + + +@section('content') +
+
+
+
+
Reset Password
+
+ @if (session('status')) +
+ {{ session('status') }} +
+ @endif + +
+ {!! csrf_field() !!} + +
+ + +
+ + + @if ($errors->has('email')) + + {{ $errors->first('email') }} + + @endif +
+
+ +
+
+ +
+
+
+
+
+
+
+
+@endsection diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php new file mode 100644 index 0000000..3e7d960 --- /dev/null +++ b/resources/views/auth/passwords/reset.blade.php @@ -0,0 +1,70 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+
Reset Password
+ +
+
+ {!! csrf_field() !!} + + + +
+ + +
+ + + @if ($errors->has('email')) + + {{ $errors->first('email') }} + + @endif +
+
+ +
+ + +
+ + + @if ($errors->has('password')) + + {{ $errors->first('password') }} + + @endif +
+
+ +
+ +
+ + + @if ($errors->has('password_confirmation')) + + {{ $errors->first('password_confirmation') }} + + @endif +
+
+ +
+
+ +
+
+
+
+
+
+
+
+@endsection diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php new file mode 100644 index 0000000..d7015e7 --- /dev/null +++ b/resources/views/auth/register.blade.php @@ -0,0 +1,82 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+
Register
+
+
+ {!! csrf_field() !!} + +
+ + +
+ + + @if ($errors->has('name')) + + {{ $errors->first('name') }} + + @endif +
+
+ +
+ + +
+ + + @if ($errors->has('email')) + + {{ $errors->first('email') }} + + @endif +
+
+ +
+ + +
+ + + @if ($errors->has('password')) + + {{ $errors->first('password') }} + + @endif +
+
+ +
+ + +
+ + + @if ($errors->has('password_confirmation')) + + {{ $errors->first('password_confirmation') }} + + @endif +
+
+ +
+
+ +
+
+
+
+
+
+
+
+@endsection diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php new file mode 100644 index 0000000..7adf5c2 --- /dev/null +++ b/resources/views/home.blade.php @@ -0,0 +1,17 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+
Dashboard
+ +
+ You are logged in! +
+
+
+
+
+@endsection diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php new file mode 100644 index 0000000..e3a9c60 --- /dev/null +++ b/resources/views/layouts/app.blade.php @@ -0,0 +1,88 @@ + + + + + + + + + Laravel + + + + + + + + {{-- --}} + + + + + + + @yield('content') + + + + + + {{-- --}} + {{-- --}} + + @yield('script') + + diff --git a/resources/views/people/create.blade.php b/resources/views/people/create.blade.php new file mode 100644 index 0000000..9c27520 --- /dev/null +++ b/resources/views/people/create.blade.php @@ -0,0 +1,47 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+
Add People
+ +
+
+
+
+ + +
+ +
+ + +
+ +
+ +
+ +
Added Successfully!
+
+
+
+
+
+
+
+@endsection + +@section('script') + +@endsection \ No newline at end of file diff --git a/resources/views/people/index.blade.php b/resources/views/people/index.blade.php new file mode 100644 index 0000000..42a5cb7 --- /dev/null +++ b/resources/views/people/index.blade.php @@ -0,0 +1,46 @@ +@extends('layouts.app') + +@section('content') +
+
+
+ Add +
+
+
+
+
+
+
People List
+ +
+
+ + + + + + + + + + + + + + + +
NameEmail
@{{ name }}@{{ email }} + +
+
+
+
+
+
+
+@endsection + +@section('script') + +@endsection \ No newline at end of file diff --git a/resources/views/people/show.blade.php b/resources/views/people/show.blade.php new file mode 100644 index 0000000..c029305 --- /dev/null +++ b/resources/views/people/show.blade.php @@ -0,0 +1,42 @@ +@extends('layouts.app') + +@section('content') + + + +
+
+
+
+
People Family
+ +
+
    +
  • +
  • +
+
+
+
+
+
+@endsection + +@section('script') + +@endsection \ No newline at end of file diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index 87710ac..06e2217 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -1,45 +1,17 @@ - - - - Laravel +@extends('layouts.app') - +@section('content') +
+
+
+
+
Welcome
- - - -
-
-
Laravel 5
+
+ Your Application's Landing Page. +
- - +
+
+@endsection